[2026-09-04 00:00:05] local.INFO: TCP Data received {"connection_id":171659,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:00:05] local.INFO: Processing buffer {"connection_id":171659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:00:05] local.INFO: IMEI packet received {"connection_id":171659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":171659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:00:06] local.INFO: TCP Data received {"connection_id":171659,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:00:06] local.INFO: Processing buffer {"connection_id":171659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:00:06] local.INFO: IMEI packet received {"connection_id":171659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":171659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:00:11] local.INFO: TCP Data received {"connection_id":171659,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:00:11] local.INFO: Processing buffer {"connection_id":171659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:00:11] local.INFO: IMEI packet received {"connection_id":171659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":171659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:00:13] local.INFO: TCP Data received {"connection_id":171659,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0688834c0012d13cec006d9e298000a01642b..."} 
[2026-09-04 00:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0688834c0012d13cec006d9e298000a01642b..."} 
[2026-09-04 00:00:13] local.INFO: Processing buffer {"connection_id":171659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0688834c0012d13cec006d9e298000a01642b..."} 
[2026-09-04 00:00:13] local.INFO: Packet analysis {"connection_id":171659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06888"} 
[2026-09-04 00:00:13] local.INFO: Extracted packet for processing {"connection_id":171659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06888"} 
[2026-09-04 00:00:13] local.INFO: GPS Element Parsed {"raw_longitude":756272832,"raw_latitude":114942616,"longitude_deg":75.6272832,"latitude_deg":11.4942616,"altitude":10,"angle":356,"satellites":43,"speed":57,"hex_longitude":"2d13cec0","hex_latitude":"06d9e298","is_valid_coordinates":true} 
[2026-09-04 00:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845797376001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397279376753819648,"note":"Value kept but may cause issues"} 
[2026-09-04 00:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1427500373811128320,"note":"Value kept but may cause issues"} 
[2026-09-04 00:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788460152000,"timestamp_ms":1788460152000,"timestamp_seconds":1788460152,"priority":1,"record_length":96,"hex_timestamp":"000001a0688834c0"} 
[2026-09-04 00:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 00:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845797376001,"66":27267,"127":206,"2":56576,"24":57,"16":397279376753819648,"45":1427500373811128320},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-09-04 00:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845797376001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:00:13] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-04 00:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397279376753819648,"km_value":397279376753819.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1427500373811128320,"description":"Unknown IO ID 45"} 
[2026-09-04 00:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845797376001,"power":27267,"unknown_127":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":1427500373811128320}} 
[2026-09-04 00:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":171659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:00:13] local.INFO: GPS data processed {"connection_id":171659,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:00:13] local.INFO: Acknowledgment sent {"connection_id":171659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:00:45] local.INFO: TCP Data received {"connection_id":171659,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068885018012d13cbc006da0828000d01642c..."} 
[2026-09-04 00:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068885018012d13cbc006da0828000d01642c..."} 
[2026-09-04 00:00:45] local.INFO: Processing buffer {"connection_id":171659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068885018012d13cbc006da0828000d01642c..."} 
[2026-09-04 00:00:45] local.INFO: Packet analysis {"connection_id":171659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06888"} 
[2026-09-04 00:00:45] local.INFO: Extracted packet for processing {"connection_id":171659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06888"} 
[2026-09-04 00:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756272064,"raw_latitude":114952232,"longitude_deg":75.6272064,"latitude_deg":11.4952232,"altitude":13,"angle":356,"satellites":44,"speed":51,"hex_longitude":"2d13cbc0","hex_latitude":"06da0828","is_valid_coordinates":true} 
[2026-09-04 00:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845798912001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397279844905254912,"note":"Value kept but may cause issues"} 
[2026-09-04 00:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1427289267580868608,"note":"Value kept but may cause issues"} 
[2026-09-04 00:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788460159000,"timestamp_ms":1788460159000,"timestamp_seconds":1788460159,"priority":1,"record_length":96,"hex_timestamp":"000001a068885018"} 
[2026-09-04 00:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 00:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":171659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":171659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":171659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845798912001,"66":27267,"127":206,"2":56576,"24":51,"16":397279844905254912,"45":1427289267580868608},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-09-04 00:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845798912001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:00:45] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-04 00:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397279844905254912,"km_value":397279844905254.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1427289267580868608,"description":"Unknown IO ID 45"} 
[2026-09-04 00:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845798912001,"power":27267,"unknown_127":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":1427289267580868608}} 
[2026-09-04 00:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":171659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:00:45] local.INFO: GPS data processed {"connection_id":171659,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:00:45] local.INFO: Acknowledgment sent {"connection_id":171659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:01:00] local.INFO: TCP Data received {"connection_id":172960,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:01:00] local.INFO: Processing buffer {"connection_id":172960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:01:00] local.INFO: IMEI packet received {"connection_id":172960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":172960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:01:01] local.INFO: TCP Data received {"connection_id":172960,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:01:01] local.INFO: Processing buffer {"connection_id":172960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:01:01] local.INFO: IMEI packet received {"connection_id":172960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":172960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:01:06] local.INFO: TCP Data received {"connection_id":172960,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:01:06] local.INFO: Processing buffer {"connection_id":172960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:01:06] local.INFO: IMEI packet received {"connection_id":172960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":172960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:01:08] local.INFO: TCP Data received {"connection_id":172960,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068886f58012d13cac006da2f88000d01672d..."} 
[2026-09-04 00:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068886f58012d13cac006da2f88000d01672d..."} 
[2026-09-04 00:01:08] local.INFO: Processing buffer {"connection_id":172960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068886f58012d13cac006da2f88000d01672d..."} 
[2026-09-04 00:01:08] local.INFO: Packet analysis {"connection_id":172960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06888"} 
[2026-09-04 00:01:08] local.INFO: Extracted packet for processing {"connection_id":172960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06888"} 
[2026-09-04 00:01:08] local.INFO: GPS Element Parsed {"raw_longitude":756271808,"raw_latitude":114962312,"longitude_deg":75.6271808,"latitude_deg":11.4962312,"altitude":13,"angle":359,"satellites":45,"speed":51,"hex_longitude":"2d13cac0","hex_latitude":"06da2f88","is_valid_coordinates":true} 
[2026-09-04 00:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845800704001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397280334531526656,"note":"Value kept but may cause issues"} 
[2026-09-04 00:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426444842653198336,"note":"Value kept but may cause issues"} 
[2026-09-04 00:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788460167000,"timestamp_ms":1788460167000,"timestamp_seconds":1788460167,"priority":1,"record_length":96,"hex_timestamp":"000001a068886f58"} 
[2026-09-04 00:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 00:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845800704001,"66":27321,"127":206,"2":56576,"24":51,"16":397280334531526656,"45":1426444842653198336},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-09-04 00:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845800704001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:01:08] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-04 00:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397280334531526656,"km_value":397280334531526.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426444842653198336,"description":"Unknown IO ID 45"} 
[2026-09-04 00:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845800704001,"power":27321,"unknown_127":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":1426444842653198336}} 
[2026-09-04 00:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":172960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:01:08] local.INFO: GPS data processed {"connection_id":172960,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:01:08] local.INFO: Acknowledgment sent {"connection_id":172960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:01:40] local.INFO: TCP Data received {"connection_id":172960,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0688980c8012d137c0006db8670000601532c..."} 
[2026-09-04 00:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0688980c8012d137c0006db8670000601532c..."} 
[2026-09-04 00:01:40] local.INFO: Processing buffer {"connection_id":172960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0688980c8012d137c0006db8670000601532c..."} 
[2026-09-04 00:01:40] local.INFO: Packet analysis {"connection_id":172960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06889"} 
[2026-09-04 00:01:40] local.INFO: Extracted packet for processing {"connection_id":172960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06889"} 
[2026-09-04 00:01:40] local.INFO: GPS Element Parsed {"raw_longitude":756251648,"raw_latitude":115050096,"longitude_deg":75.6251648,"latitude_deg":11.5050096,"altitude":6,"angle":339,"satellites":44,"speed":51,"hex_longitude":"2d137c00","hex_latitude":"06db8670","is_valid_coordinates":true} 
[2026-09-04 00:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845818880001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397284745462939648,"note":"Value kept but may cause issues"} 
[2026-09-04 00:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1407797125469065216,"note":"Value kept but may cause issues"} 
[2026-09-04 00:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788460237000,"timestamp_ms":1788460237000,"timestamp_seconds":1788460237,"priority":1,"record_length":96,"hex_timestamp":"000001a0688980c8"} 
[2026-09-04 00:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 00:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845818880001,"66":27310,"127":206,"2":56576,"24":51,"16":397284745462939648,"45":1407797125469065216},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-09-04 00:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845818880001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:01:40] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-04 00:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397284745462939648,"km_value":397284745462939.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1407797125469065216,"description":"Unknown IO ID 45"} 
[2026-09-04 00:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845818880001,"power":27310,"unknown_127":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":1407797125469065216}} 
[2026-09-04 00:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":172960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:01:40] local.INFO: GPS data processed {"connection_id":172960,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:01:40] local.INFO: Acknowledgment sent {"connection_id":172960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:01:59] local.INFO: TCP Data received {"connection_id":171660,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:01:59] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:01:59] local.INFO: IMEI packet received {"connection_id":171660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":171660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:02:01] local.INFO: TCP Data received {"connection_id":171660,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:02:01] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:02:01] local.INFO: IMEI packet received {"connection_id":171660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":171660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:02:06] local.INFO: TCP Data received {"connection_id":171660,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:02:06] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:02:06] local.INFO: IMEI packet received {"connection_id":171660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":171660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:02:08] local.INFO: TCP Data received {"connection_id":171660,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06889a008012d1370c006dba7f0000801562d..."} 
[2026-09-04 00:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06889a008012d1370c006dba7f0000801562d..."} 
[2026-09-04 00:02:08] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06889a008012d1370c006dba7f0000801562d..."} 
[2026-09-04 00:02:08] local.INFO: Packet analysis {"connection_id":171660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06889"} 
[2026-09-04 00:02:08] local.INFO: Extracted packet for processing {"connection_id":171660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06889"} 
[2026-09-04 00:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756248768,"raw_latitude":115058672,"longitude_deg":75.6248768,"latitude_deg":11.5058672,"altitude":8,"angle":342,"satellites":45,"speed":36,"hex_longitude":"2d1370c0","hex_latitude":"06dba7f0","is_valid_coordinates":true} 
[2026-09-04 00:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845820672001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397285183549603840,"note":"Value kept but may cause issues"} 
[2026-09-04 00:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1403997213285576704,"note":"Value kept but may cause issues"} 
[2026-09-04 00:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788460245000,"timestamp_ms":1788460245000,"timestamp_seconds":1788460245,"priority":1,"record_length":96,"hex_timestamp":"000001a06889a008"} 
[2026-09-04 00:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 00:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845820672001,"66":27332,"127":206,"2":56576,"24":36,"16":397285183549603840,"45":1403997213285576704},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-09-04 00:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845820672001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:02:08] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-04 00:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397285183549603840,"km_value":397285183549603.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1403997213285576704,"description":"Unknown IO ID 45"} 
[2026-09-04 00:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845820672001,"power":27332,"unknown_127":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":1403997213285576704}} 
[2026-09-04 00:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":171660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:02:08] local.INFO: GPS data processed {"connection_id":171660,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:02:08] local.INFO: Acknowledgment sent {"connection_id":171660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:02:39] local.INFO: TCP Data received {"connection_id":171660,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06889cb00012d13660006dbcbe8000b01552c..."} 
[2026-09-04 00:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06889cb00012d13660006dbcbe8000b01552c..."} 
[2026-09-04 00:02:39] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06889cb00012d13660006dbcbe8000b01552c..."} 
[2026-09-04 00:02:39] local.INFO: Packet analysis {"connection_id":171660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06889"} 
[2026-09-04 00:02:39] local.INFO: Extracted packet for processing {"connection_id":171660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06889"} 
[2026-09-04 00:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756246016,"raw_latitude":115067880,"longitude_deg":75.6246016,"latitude_deg":11.506788,"altitude":11,"angle":341,"satellites":44,"speed":36,"hex_longitude":"2d136600","hex_latitude":"06dbcbe8","is_valid_coordinates":true} 
[2026-09-04 00:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845822720001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397285651701039104,"note":"Value kept but may cause issues"} 
[2026-09-04 00:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1400830619799777280,"note":"Value kept but may cause issues"} 
[2026-09-04 00:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788460256000,"timestamp_ms":1788460256000,"timestamp_seconds":1788460256,"priority":1,"record_length":96,"hex_timestamp":"000001a06889cb00"} 
[2026-09-04 00:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 00:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845822720001,"66":27321,"127":206,"2":56576,"24":36,"16":397285651701039104,"45":1400830619799777280},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-09-04 00:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845822720001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:02:39] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-04 00:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397285651701039104,"km_value":397285651701039.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1400830619799777280,"description":"Unknown IO ID 45"} 
[2026-09-04 00:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845822720001,"power":27321,"unknown_127":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":1400830619799777280}} 
[2026-09-04 00:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":171660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:02:39] local.INFO: GPS data processed {"connection_id":171660,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:02:39] local.INFO: Acknowledgment sent {"connection_id":171660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:03:01] local.INFO: TCP Data received {"connection_id":170256,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:03:01] local.INFO: Processing buffer {"connection_id":170256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:03:01] local.INFO: IMEI packet received {"connection_id":170256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":170256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:03:05] local.INFO: TCP Data received {"connection_id":170256,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:03:05] local.INFO: Processing buffer {"connection_id":170256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:03:05] local.INFO: IMEI packet received {"connection_id":170256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":170256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:03:07] local.INFO: TCP Data received {"connection_id":170256,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06889ee28012d13594006dbeeb8000801522b..."} 
[2026-09-04 00:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06889ee28012d13594006dbeeb8000801522b..."} 
[2026-09-04 00:03:07] local.INFO: Processing buffer {"connection_id":170256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06889ee28012d13594006dbeeb8000801522b..."} 
[2026-09-04 00:03:07] local.INFO: Packet analysis {"connection_id":170256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06889"} 
[2026-09-04 00:03:07] local.INFO: Extracted packet for processing {"connection_id":170256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06889"} 
[2026-09-04 00:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756242752,"raw_latitude":115076792,"longitude_deg":75.6242752,"latitude_deg":11.5076792,"altitude":8,"angle":338,"satellites":43,"speed":47,"hex_longitude":"2d135940","hex_latitude":"06dbeeb8","is_valid_coordinates":true} 
[2026-09-04 00:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845825536001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397286111262539776,"note":"Value kept but may cause issues"} 
[2026-09-04 00:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1397804763802494976,"note":"Value kept but may cause issues"} 
[2026-09-04 00:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788460265000,"timestamp_ms":1788460265000,"timestamp_seconds":1788460265,"priority":1,"record_length":96,"hex_timestamp":"000001a06889ee28"} 
[2026-09-04 00:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 00:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845825536001,"66":27267,"127":206,"2":56576,"24":47,"16":397286111262539776,"45":1397804763802494976},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-09-04 00:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845825536001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:03:07] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-04 00:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397286111262539776,"km_value":397286111262539.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1397804763802494976,"description":"Unknown IO ID 45"} 
[2026-09-04 00:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845825536001,"power":27267,"unknown_127":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":1397804763802494976}} 
[2026-09-04 00:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":170256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:03:07] local.INFO: GPS data processed {"connection_id":170256,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:03:07] local.INFO: Acknowledgment sent {"connection_id":170256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:03:14] local.INFO: TCP Data received {"connection_id":170255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:03:14] local.INFO: Processing buffer {"connection_id":170255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:03:14] local.INFO: IMEI packet received {"connection_id":170255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":170255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:03:38] local.INFO: TCP Data received {"connection_id":170256,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0688b70e0012d1297c006dd6e28000b014b2c..."} 
[2026-09-04 00:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0688b70e0012d1297c006dd6e28000b014b2c..."} 
[2026-09-04 00:03:38] local.INFO: Processing buffer {"connection_id":170256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0688b70e0012d1297c006dd6e28000b014b2c..."} 
[2026-09-04 00:03:38] local.INFO: Packet analysis {"connection_id":170256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0688b"} 
[2026-09-04 00:03:38] local.INFO: Extracted packet for processing {"connection_id":170256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0688b"} 
[2026-09-04 00:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756193216,"raw_latitude":115174952,"longitude_deg":75.6193216,"latitude_deg":11.5174952,"altitude":11,"angle":331,"satellites":44,"speed":51,"hex_longitude":"2d1297c0","hex_latitude":"06dd6e28","is_valid_coordinates":true} 
[2026-09-04 00:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845851136001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397291441316954112,"note":"Value kept but may cause issues"} 
[2026-09-04 00:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1344887468206149632,"note":"Value kept but may cause issues"} 
[2026-09-04 00:03:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 00:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788460364000,"timestamp_ms":1788460364000,"timestamp_seconds":1788460364,"priority":1,"record_length":96,"hex_timestamp":"000001a0688b70e0"} 
[2026-09-04 00:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 00:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845851136001,"66":27234,"2":56576,"24":51,"16":397291441316954112,"45":1344887468206149632},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-09-04 00:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845851136001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397291441316954112,"km_value":397291441316954.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1344887468206149632,"description":"Unknown IO ID 45"} 
[2026-09-04 00:03:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457845851136001,"power":27234,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":1344887468206149632}} 
[2026-09-04 00:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":170256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:03:38] local.INFO: GPS data processed {"connection_id":170256,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:03:38] local.INFO: Acknowledgment sent {"connection_id":170256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:03:39] local.INFO: TCP Data received {"connection_id":172961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:03:39] local.INFO: Processing buffer {"connection_id":172961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:03:39] local.INFO: IMEI packet received {"connection_id":172961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":172961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:04:01] local.INFO: TCP Data received {"connection_id":170257,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:04:01] local.INFO: Processing buffer {"connection_id":170257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:04:01] local.INFO: IMEI packet received {"connection_id":170257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":170257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:04:01] local.INFO: TCP Data received {"connection_id":170257,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:04:01] local.INFO: Processing buffer {"connection_id":170257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:04:01] local.INFO: IMEI packet received {"connection_id":170257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":170257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:04:07] local.INFO: TCP Data received {"connection_id":170257,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:04:07] local.INFO: Processing buffer {"connection_id":170257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:04:07] local.INFO: IMEI packet received {"connection_id":170257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":170257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:04:08] local.INFO: TCP Data received {"connection_id":170257,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0688b8c38012d12860006dd8fd80009014e2c..."} 
[2026-09-04 00:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0688b8c38012d12860006dd8fd80009014e2c..."} 
[2026-09-04 00:04:08] local.INFO: Processing buffer {"connection_id":170257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0688b8c38012d12860006dd8fd80009014e2c..."} 
[2026-09-04 00:04:08] local.INFO: Packet analysis {"connection_id":170257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0688b"} 
[2026-09-04 00:04:08] local.INFO: Extracted packet for processing {"connection_id":170257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0688b"} 
[2026-09-04 00:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756188672,"raw_latitude":115183576,"longitude_deg":75.6188672,"latitude_deg":11.5183576,"altitude":9,"angle":334,"satellites":44,"speed":59,"hex_longitude":"2d128600","hex_latitude":"06dd8fd8","is_valid_coordinates":true} 
[2026-09-04 00:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845853184001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397291913763356672,"note":"Value kept but may cause issues"} 
[2026-09-04 00:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1339750549883332608,"note":"Value kept but may cause issues"} 
[2026-09-04 00:04:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 00:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788460371000,"timestamp_ms":1788460371000,"timestamp_seconds":1788460371,"priority":1,"record_length":96,"hex_timestamp":"000001a0688b8c38"} 
[2026-09-04 00:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 00:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845853184001,"66":27332,"2":56576,"24":59,"16":397291913763356672,"45":1339750549883332608},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-09-04 00:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845853184001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397291913763356672,"km_value":397291913763356.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1339750549883332608,"description":"Unknown IO ID 45"} 
[2026-09-04 00:04:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457845853184001,"power":27332,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1339750549883332608}} 
[2026-09-04 00:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":170257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:04:08] local.INFO: GPS data processed {"connection_id":170257,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:04:08] local.INFO: Acknowledgment sent {"connection_id":170257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:04:40] local.INFO: TCP Data received {"connection_id":170257,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0688ba3a8012d12764006ddb070000701542c..."} 
[2026-09-04 00:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0688ba3a8012d12764006ddb070000701542c..."} 
[2026-09-04 00:04:40] local.INFO: Processing buffer {"connection_id":170257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0688ba3a8012d12764006ddb070000701542c..."} 
[2026-09-04 00:04:40] local.INFO: Packet analysis {"connection_id":170257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0688b"} 
[2026-09-04 00:04:40] local.INFO: Extracted packet for processing {"connection_id":170257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0688b"} 
[2026-09-04 00:04:40] local.INFO: GPS Element Parsed {"raw_longitude":756184640,"raw_latitude":115191920,"longitude_deg":75.618464,"latitude_deg":11.519192,"altitude":7,"angle":340,"satellites":44,"speed":62,"hex_longitude":"2d127640","hex_latitude":"06ddb070","is_valid_coordinates":true} 
[2026-09-04 00:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845854976001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397292364734922752,"note":"Value kept but may cause issues"} 
[2026-09-04 00:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1334754369048926208,"note":"Value kept but may cause issues"} 
[2026-09-04 00:04:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 00:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788460377000,"timestamp_ms":1788460377000,"timestamp_seconds":1788460377,"priority":1,"record_length":96,"hex_timestamp":"000001a0688ba3a8"} 
[2026-09-04 00:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 00:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845854976001,"66":27071,"2":56576,"24":62,"16":397292364734922752,"45":1334754369048926208},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-09-04 00:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845854976001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397292364734922752,"km_value":397292364734922.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1334754369048926208,"description":"Unknown IO ID 45"} 
[2026-09-04 00:04:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457845854976001,"power":27071,"power_alt":56576,"ignition":62,"odometer":null,"unknown_45":1334754369048926208}} 
[2026-09-04 00:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":170257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:04:40] local.INFO: GPS data processed {"connection_id":170257,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:04:40] local.INFO: Acknowledgment sent {"connection_id":170257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:05:01] local.INFO: TCP Data received {"connection_id":171661,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:05:01] local.INFO: Processing buffer {"connection_id":171661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:05:01] local.INFO: IMEI packet received {"connection_id":171661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":171661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:05:01] local.INFO: TCP Data received {"connection_id":171661,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:05:01] local.INFO: Processing buffer {"connection_id":171661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:05:01] local.INFO: IMEI packet received {"connection_id":171661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":171661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:05:06] local.INFO: TCP Data received {"connection_id":171661,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:05:06] local.INFO: Processing buffer {"connection_id":171661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:05:06] local.INFO: IMEI packet received {"connection_id":171661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":171661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:05:07] local.INFO: TCP Data received {"connection_id":171661,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0688bb348012d12708006ddc708000701612b..."} 
[2026-09-04 00:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0688bb348012d12708006ddc708000701612b..."} 
[2026-09-04 00:05:07] local.INFO: Processing buffer {"connection_id":171661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0688bb348012d12708006ddc708000701612b..."} 
[2026-09-04 00:05:07] local.INFO: Packet analysis {"connection_id":171661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0688b"} 
[2026-09-04 00:05:07] local.INFO: Extracted packet for processing {"connection_id":171661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0688b"} 
[2026-09-04 00:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756183168,"raw_latitude":115197704,"longitude_deg":75.6183168,"latitude_deg":11.5197704,"altitude":7,"angle":353,"satellites":43,"speed":57,"hex_longitude":"2d127080","hex_latitude":"06ddc708","is_valid_coordinates":true} 
[2026-09-04 00:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845856512001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397292652497731584,"note":"Value kept but may cause issues"} 
[2026-09-04 00:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1330321138167869440,"note":"Value kept but may cause issues"} 
[2026-09-04 00:05:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 00:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788460381000,"timestamp_ms":1788460381000,"timestamp_seconds":1788460381,"priority":1,"record_length":96,"hex_timestamp":"000001a0688bb348"} 
[2026-09-04 00:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-04 00:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845856512001,"66":27234,"2":56576,"24":57,"16":397292652497731584,"45":1330321138167869440},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-09-04 00:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845856512001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397292652497731584,"km_value":397292652497731.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1330321138167869440,"description":"Unknown IO ID 45"} 
[2026-09-04 00:05:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457845856512001,"power":27234,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":1330321138167869440}} 
[2026-09-04 00:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":171661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:05:07] local.INFO: GPS data processed {"connection_id":171661,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:05:07] local.INFO: Acknowledgment sent {"connection_id":171661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:05:39] local.INFO: TCP Data received {"connection_id":171661,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0688d4988012d1217c006df54d0000a015b2a..."} 
[2026-09-04 00:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0688d4988012d1217c006df54d0000a015b2a..."} 
[2026-09-04 00:05:39] local.INFO: Processing buffer {"connection_id":171661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0688d4988012d1217c006df54d0000a015b2a..."} 
[2026-09-04 00:05:39] local.INFO: Packet analysis {"connection_id":171661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0688d"} 
[2026-09-04 00:05:39] local.INFO: Extracted packet for processing {"connection_id":171661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0688d"} 
[2026-09-04 00:05:39] local.INFO: GPS Element Parsed {"raw_longitude":756160448,"raw_latitude":115299536,"longitude_deg":75.6160448,"latitude_deg":11.5299536,"altitude":10,"angle":347,"satellites":42,"speed":55,"hex_longitude":"2d1217c0","hex_latitude":"06df54d0","is_valid_coordinates":true} 
[2026-09-04 00:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845882368001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397297733444042752,"note":"Value kept but may cause issues"} 
[2026-09-04 00:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1305903183963377664,"note":"Value kept but may cause issues"} 
[2026-09-04 00:05:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 00:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788460485000,"timestamp_ms":1788460485000,"timestamp_seconds":1788460485,"priority":1,"record_length":96,"hex_timestamp":"000001a0688d4988"} 
[2026-09-04 00:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 00:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845882368001,"66":27300,"2":56576,"24":55,"16":397297733444042752,"45":1305903183963377664},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-09-04 00:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845882368001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397297733444042752,"km_value":397297733444042.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1305903183963377664,"description":"Unknown IO ID 45"} 
[2026-09-04 00:05:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457845882368001,"power":27300,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1305903183963377664}} 
[2026-09-04 00:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":171661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:05:39] local.INFO: GPS data processed {"connection_id":171661,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:05:39] local.INFO: Acknowledgment sent {"connection_id":171661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:06:05] local.INFO: TCP Data received {"connection_id":172963,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:06:05] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:06:05] local.INFO: IMEI packet received {"connection_id":172963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":172963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:06:06] local.INFO: TCP Data received {"connection_id":172963,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:06:06] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:06:06] local.INFO: IMEI packet received {"connection_id":172963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":172963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:06:11] local.INFO: TCP Data received {"connection_id":172963,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:06:11] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:06:11] local.INFO: IMEI packet received {"connection_id":172963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":172963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:06:14] local.INFO: TCP Data received {"connection_id":172963,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0688d64e0012d12100006df7a70000b015c29..."} 
[2026-09-04 00:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0688d64e0012d12100006df7a70000b015c29..."} 
[2026-09-04 00:06:14] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0688d64e0012d12100006df7a70000b015c29..."} 
[2026-09-04 00:06:14] local.INFO: Packet analysis {"connection_id":172963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0688d"} 
[2026-09-04 00:06:14] local.INFO: Extracted packet for processing {"connection_id":172963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0688d"} 
[2026-09-04 00:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756158464,"raw_latitude":115309168,"longitude_deg":75.6158464,"latitude_deg":11.5309168,"altitude":11,"angle":348,"satellites":41,"speed":56,"hex_longitude":"2d121000","hex_latitude":"06df7a70","is_valid_coordinates":true} 
[2026-09-04 00:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845884160001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397298205890445312,"note":"Value kept but may cause issues"} 
[2026-09-04 00:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1303721752896262144,"note":"Value kept but may cause issues"} 
[2026-09-04 00:06:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 00:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788460492000,"timestamp_ms":1788460492000,"timestamp_seconds":1788460492,"priority":1,"record_length":96,"hex_timestamp":"000001a0688d64e0"} 
[2026-09-04 00:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 00:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845884160001,"66":27245,"2":56576,"24":56,"16":397298205890445312,"45":1303721752896262144},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-09-04 00:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845884160001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397298205890445312,"km_value":397298205890445.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1303721752896262144,"description":"Unknown IO ID 45"} 
[2026-09-04 00:06:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457845884160001,"power":27245,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":1303721752896262144}} 
[2026-09-04 00:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":172963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:06:14] local.INFO: GPS data processed {"connection_id":172963,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:06:14] local.INFO: Acknowledgment sent {"connection_id":172963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:06:17] local.INFO: TCP Data received {"connection_id":172963,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0688d8038012d1208c006dfa098000b015f29..."} 
[2026-09-04 00:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0688d8038012d1208c006dfa098000b015f29..."} 
[2026-09-04 00:06:17] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0688d8038012d1208c006dfa098000b015f29..."} 
[2026-09-04 00:06:17] local.INFO: Packet analysis {"connection_id":172963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0688d"} 
[2026-09-04 00:06:17] local.INFO: Extracted packet for processing {"connection_id":172963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0688d"} 
[2026-09-04 00:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756156608,"raw_latitude":115318936,"longitude_deg":75.6156608,"latitude_deg":11.5318936,"altitude":11,"angle":351,"satellites":41,"speed":56,"hex_longitude":"2d1208c0","hex_latitude":"06dfa098","is_valid_coordinates":true} 
[2026-09-04 00:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845885952001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397298691221749760,"note":"Value kept but may cause issues"} 
[2026-09-04 00:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1301540321829220352,"note":"Value kept but may cause issues"} 
[2026-09-04 00:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788460499000,"timestamp_ms":1788460499000,"timestamp_seconds":1788460499,"priority":1,"record_length":96,"hex_timestamp":"000001a0688d8038"} 
[2026-09-04 00:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 00:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":172963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":172963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":172963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845885952001,"66":27267,"1":206,"2":56576,"24":56,"16":397298691221749760,"45":1301540321829220352},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-09-04 00:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845885952001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397298691221749760,"km_value":397298691221749.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1301540321829220352,"description":"Unknown IO ID 45"} 
[2026-09-04 00:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845885952001,"power":27267,"imei":206,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":1301540321829220352}} 
[2026-09-04 00:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":172963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:06:17] local.INFO: GPS data processed {"connection_id":172963,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:06:17] local.INFO: Acknowledgment sent {"connection_id":172963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:07:01] local.INFO: TCP Data received {"connection_id":171662,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:07:01] local.INFO: Processing buffer {"connection_id":171662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:07:01] local.INFO: IMEI packet received {"connection_id":171662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":171662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:07:03] local.INFO: TCP Data received {"connection_id":171662,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:07:03] local.INFO: Processing buffer {"connection_id":171662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:07:03] local.INFO: IMEI packet received {"connection_id":171662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":171662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:07:04] local.INFO: TCP Data received {"connection_id":171662,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0688d9b90012d12038006dfc6a8000b015f29..."} 
[2026-09-04 00:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0688d9b90012d12038006dfc6a8000b015f29..."} 
[2026-09-04 00:07:04] local.INFO: Processing buffer {"connection_id":171662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0688d9b90012d12038006dfc6a8000b015f29..."} 
[2026-09-04 00:07:04] local.INFO: Packet analysis {"connection_id":171662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0688d"} 
[2026-09-04 00:07:04] local.INFO: Extracted packet for processing {"connection_id":171662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0688d"} 
[2026-09-04 00:07:04] local.INFO: GPS Element Parsed {"raw_longitude":756155264,"raw_latitude":115328680,"longitude_deg":75.6155264,"latitude_deg":11.532868,"altitude":11,"angle":351,"satellites":41,"speed":55,"hex_longitude":"2d120380","hex_latitude":"06dfc6a8","is_valid_coordinates":true} 
[2026-09-04 00:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845887744001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397299167963119616,"note":"Value kept but may cause issues"} 
[2026-09-04 00:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1299499628250568704,"note":"Value kept but may cause issues"} 
[2026-09-04 00:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788460506000,"timestamp_ms":1788460506000,"timestamp_seconds":1788460506,"priority":1,"record_length":96,"hex_timestamp":"000001a0688d9b90"} 
[2026-09-04 00:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 00:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845887744001,"66":27397,"1":206,"2":56576,"24":55,"16":397299167963119616,"45":1299499628250568704},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-09-04 00:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845887744001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397299167963119616,"km_value":397299167963119.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1299499628250568704,"description":"Unknown IO ID 45"} 
[2026-09-04 00:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845887744001,"power":27397,"imei":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1299499628250568704}} 
[2026-09-04 00:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":171662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:07:04] local.INFO: GPS data processed {"connection_id":171662,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:07:04] local.INFO: Acknowledgment sent {"connection_id":171662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:07:36] local.INFO: TCP Data received {"connection_id":171662,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0688f0ac0012d1189c006e1a7300009016029..."} 
[2026-09-04 00:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0688f0ac0012d1189c006e1a7300009016029..."} 
[2026-09-04 00:07:36] local.INFO: Processing buffer {"connection_id":171662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0688f0ac0012d1189c006e1a7300009016029..."} 
[2026-09-04 00:07:36] local.INFO: Packet analysis {"connection_id":171662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0688f"} 
[2026-09-04 00:07:36] local.INFO: Extracted packet for processing {"connection_id":171662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0688f"} 
[2026-09-04 00:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756124096,"raw_latitude":115451696,"longitude_deg":75.6124096,"latitude_deg":11.5451696,"altitude":9,"angle":352,"satellites":41,"speed":50,"hex_longitude":"2d1189c0","hex_latitude":"06e1a730","is_valid_coordinates":true} 
[2026-09-04 00:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845911808001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397305335536156672,"note":"Value kept but may cause issues"} 
[2026-09-04 00:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1265652262332856320,"note":"Value kept but may cause issues"} 
[2026-09-04 00:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788460600000,"timestamp_ms":1788460600000,"timestamp_seconds":1788460600,"priority":1,"record_length":96,"hex_timestamp":"000001a0688f0ac0"} 
[2026-09-04 00:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 00:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845911808001,"66":27343,"102":206,"2":56576,"24":50,"16":397305335536156672,"45":1265652262332856320},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-09-04 00:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845911808001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:07:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 00:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397305335536156672,"km_value":397305335536156.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1265652262332856320,"description":"Unknown IO ID 45"} 
[2026-09-04 00:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845911808001,"power":27343,"unknown_102":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":1265652262332856320}} 
[2026-09-04 00:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":171662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:07:36] local.INFO: GPS data processed {"connection_id":171662,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:07:36] local.INFO: Acknowledgment sent {"connection_id":171662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:08:01] local.INFO: TCP Data received {"connection_id":171663,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:08:01] local.INFO: Processing buffer {"connection_id":171663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:08:01] local.INFO: IMEI packet received {"connection_id":171663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":171663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:08:04] local.INFO: TCP Data received {"connection_id":171663,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:08:04] local.INFO: Processing buffer {"connection_id":171663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:08:04] local.INFO: IMEI packet received {"connection_id":171663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":171663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:08:05] local.INFO: TCP Data received {"connection_id":171663,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0688f2618012d11850006e1ca100009015f2a..."} 
[2026-09-04 00:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0688f2618012d11850006e1ca100009015f2a..."} 
[2026-09-04 00:08:05] local.INFO: Processing buffer {"connection_id":171663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0688f2618012d11850006e1ca100009015f2a..."} 
[2026-09-04 00:08:05] local.INFO: Packet analysis {"connection_id":171663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0688f"} 
[2026-09-04 00:08:05] local.INFO: Extracted packet for processing {"connection_id":171663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0688f"} 
[2026-09-04 00:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756122880,"raw_latitude":115460624,"longitude_deg":75.612288,"latitude_deg":11.5460624,"altitude":9,"angle":351,"satellites":42,"speed":50,"hex_longitude":"2d118500","hex_latitude":"06e1ca10","is_valid_coordinates":true} 
[2026-09-04 00:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845913600001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397305769327853568,"note":"Value kept but may cause issues"} 
[2026-09-04 00:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263752306242301952,"note":"Value kept but may cause issues"} 
[2026-09-04 00:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788460607000,"timestamp_ms":1788460607000,"timestamp_seconds":1788460607,"priority":1,"record_length":96,"hex_timestamp":"000001a0688f2618"} 
[2026-09-04 00:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 00:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845913600001,"66":27343,"102":206,"2":56576,"24":50,"16":397305769327853568,"45":1263752306242301952},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-09-04 00:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845913600001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:08:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 00:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397305769327853568,"km_value":397305769327853.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263752306242301952,"description":"Unknown IO ID 45"} 
[2026-09-04 00:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845913600001,"power":27343,"unknown_102":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":1263752306242301952}} 
[2026-09-04 00:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":171663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:08:05] local.INFO: GPS data processed {"connection_id":171663,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:08:05] local.INFO: Acknowledgment sent {"connection_id":171663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:08:39] local.INFO: TCP Data received {"connection_id":171663,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0688f4558012d11800006e1efc0000a01612a..."} 
[2026-09-04 00:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0688f4558012d11800006e1efc0000a01612a..."} 
[2026-09-04 00:08:39] local.INFO: Processing buffer {"connection_id":171663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0688f4558012d11800006e1efc0000a01612a..."} 
[2026-09-04 00:08:39] local.INFO: Packet analysis {"connection_id":171663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0688f"} 
[2026-09-04 00:08:39] local.INFO: Extracted packet for processing {"connection_id":171663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0688f"} 
[2026-09-04 00:08:39] local.INFO: GPS Element Parsed {"raw_longitude":756121600,"raw_latitude":115470272,"longitude_deg":75.61216,"latitude_deg":11.5470272,"altitude":10,"angle":353,"satellites":42,"speed":48,"hex_longitude":"2d118000","hex_latitude":"06e1efc0","is_valid_coordinates":true} 
[2026-09-04 00:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845915392001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397306241774256128,"note":"Value kept but may cause issues"} 
[2026-09-04 00:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1262415300105211904,"note":"Value kept but may cause issues"} 
[2026-09-04 00:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788460615000,"timestamp_ms":1788460615000,"timestamp_seconds":1788460615,"priority":1,"record_length":96,"hex_timestamp":"000001a0688f4558"} 
[2026-09-04 00:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 00:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845915392001,"66":27332,"102":206,"2":56576,"24":48,"16":397306241774256128,"45":1262415300105211904},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-09-04 00:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845915392001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:08:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 00:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397306241774256128,"km_value":397306241774256.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1262415300105211904,"description":"Unknown IO ID 45"} 
[2026-09-04 00:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845915392001,"power":27332,"unknown_102":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":1262415300105211904}} 
[2026-09-04 00:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":171663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:08:39] local.INFO: GPS data processed {"connection_id":171663,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:08:39] local.INFO: Acknowledgment sent {"connection_id":171663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:08:59] local.INFO: TCP Data received {"connection_id":170554,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:08:59] local.INFO: Processing buffer {"connection_id":170554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:08:59] local.INFO: IMEI packet received {"connection_id":170554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":170554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:09:01] local.INFO: TCP Data received {"connection_id":170554,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:09:01] local.INFO: Processing buffer {"connection_id":170554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:09:01] local.INFO: IMEI packet received {"connection_id":170554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":170554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:09:04] local.INFO: TCP Data received {"connection_id":170259,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:09:04] local.INFO: Processing buffer {"connection_id":170259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:09:04] local.INFO: IMEI packet received {"connection_id":170259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":170259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:09:06] local.INFO: TCP Data received {"connection_id":170554,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:09:06] local.INFO: Processing buffer {"connection_id":170554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:09:06] local.INFO: IMEI packet received {"connection_id":170554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":170554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:09:07] local.INFO: TCP Data received {"connection_id":170554,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0688f6498012d117cc006e215e0000b01652c..."} 
[2026-09-04 00:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0688f6498012d117cc006e215e0000b01652c..."} 
[2026-09-04 00:09:07] local.INFO: Processing buffer {"connection_id":170554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0688f6498012d117cc006e215e0000b01652c..."} 
[2026-09-04 00:09:07] local.INFO: Packet analysis {"connection_id":170554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0688f"} 
[2026-09-04 00:09:07] local.INFO: Extracted packet for processing {"connection_id":170554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0688f"} 
[2026-09-04 00:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756120768,"raw_latitude":115480032,"longitude_deg":75.6120768,"latitude_deg":11.5480032,"altitude":11,"angle":357,"satellites":44,"speed":48,"hex_longitude":"2d117cc0","hex_latitude":"06e215e0","is_valid_coordinates":true} 
[2026-09-04 00:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845917440001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397306718515625984,"note":"Value kept but may cause issues"} 
[2026-09-04 00:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261007925224128512,"note":"Value kept but may cause issues"} 
[2026-09-04 00:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788460623000,"timestamp_ms":1788460623000,"timestamp_seconds":1788460623,"priority":1,"record_length":96,"hex_timestamp":"000001a0688f6498"} 
[2026-09-04 00:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 00:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845917440001,"66":27245,"102":206,"2":56576,"24":48,"16":397306718515625984,"45":1261007925224128512},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-09-04 00:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845917440001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:09:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 00:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397306718515625984,"km_value":397306718515626.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261007925224128512,"description":"Unknown IO ID 45"} 
[2026-09-04 00:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845917440001,"power":27245,"unknown_102":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":1261007925224128512}} 
[2026-09-04 00:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":170554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:09:07] local.INFO: GPS data processed {"connection_id":170554,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:09:07] local.INFO: Acknowledgment sent {"connection_id":170554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:09:38] local.INFO: TCP Data received {"connection_id":170554,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06890d7b0012d1157c006e3ab40000a01632b..."} 
[2026-09-04 00:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06890d7b0012d1157c006e3ab40000a01632b..."} 
[2026-09-04 00:09:38] local.INFO: Processing buffer {"connection_id":170554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06890d7b0012d1157c006e3ab40000a01632b..."} 
[2026-09-04 00:09:38] local.INFO: Packet analysis {"connection_id":170554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06890"} 
[2026-09-04 00:09:38] local.INFO: Extracted packet for processing {"connection_id":170554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06890"} 
[2026-09-04 00:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756111296,"raw_latitude":115583808,"longitude_deg":75.6111296,"latitude_deg":11.5583808,"altitude":10,"angle":355,"satellites":43,"speed":51,"hex_longitude":"2d1157c0","hex_latitude":"06e3ab40","is_valid_coordinates":true} 
[2026-09-04 00:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845941760001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397311825231740928,"note":"Value kept but may cause issues"} 
[2026-09-04 00:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1250522982368260096,"note":"Value kept but may cause issues"} 
[2026-09-04 00:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788460718000,"timestamp_ms":1788460718000,"timestamp_seconds":1788460718,"priority":1,"record_length":96,"hex_timestamp":"000001a06890d7b0"} 
[2026-09-04 00:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 00:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845941760001,"66":27234,"136":206,"2":56576,"24":51,"16":397311825231740928,"45":1250522982368260096},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,2,24,16,45]} 
[2026-09-04 00:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845941760001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:09:38] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 00:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397311825231740928,"km_value":397311825231740.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1250522982368260096,"description":"Unknown IO ID 45"} 
[2026-09-04 00:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845941760001,"power":27234,"unknown_136":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":1250522982368260096}} 
[2026-09-04 00:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":170554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:09:38] local.INFO: GPS data processed {"connection_id":170554,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:09:38] local.INFO: Acknowledgment sent {"connection_id":170554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:09:39] local.INFO: TCP Data received {"connection_id":172964,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:09:39] local.INFO: Processing buffer {"connection_id":172964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:09:39] local.INFO: IMEI packet received {"connection_id":172964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":172964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:10:01] local.INFO: TCP Data received {"connection_id":171664,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:10:01] local.INFO: Processing buffer {"connection_id":171664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:10:01] local.INFO: IMEI packet received {"connection_id":171664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":171664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:10:06] local.INFO: TCP Data received {"connection_id":171664,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:10:06] local.INFO: Processing buffer {"connection_id":171664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:10:06] local.INFO: IMEI packet received {"connection_id":171664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":171664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:10:08] local.INFO: TCP Data received {"connection_id":171664,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06890f308012d11548006e3cfa0000701622a..."} 
[2026-09-04 00:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06890f308012d11548006e3cfa0000701622a..."} 
[2026-09-04 00:10:08] local.INFO: Processing buffer {"connection_id":171664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06890f308012d11548006e3cfa0000701622a..."} 
[2026-09-04 00:10:08] local.INFO: Packet analysis {"connection_id":171664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06890"} 
[2026-09-04 00:10:08] local.INFO: Extracted packet for processing {"connection_id":171664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06890"} 
[2026-09-04 00:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756110464,"raw_latitude":115593120,"longitude_deg":75.6110464,"latitude_deg":11.559312,"altitude":7,"angle":354,"satellites":42,"speed":49,"hex_longitude":"2d115480","hex_latitude":"06e3cfa0","is_valid_coordinates":true} 
[2026-09-04 00:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845943808001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397312280498274304,"note":"Value kept but may cause issues"} 
[2026-09-04 00:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1249678557440589824,"note":"Value kept but may cause issues"} 
[2026-09-04 00:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788460725000,"timestamp_ms":1788460725000,"timestamp_seconds":1788460725,"priority":1,"record_length":96,"hex_timestamp":"000001a06890f308"} 
[2026-09-04 00:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 00:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845943808001,"66":27267,"138":206,"2":56576,"24":49,"16":397312280498274304,"45":1249678557440589824},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845943808001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:10:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397312280498274304,"km_value":397312280498274.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1249678557440589824,"description":"Unknown IO ID 45"} 
[2026-09-04 00:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845943808001,"power":27267,"unknown_138":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":1249678557440589824}} 
[2026-09-04 00:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":171664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:10:08] local.INFO: GPS data processed {"connection_id":171664,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:10:08] local.INFO: Acknowledgment sent {"connection_id":171664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:10:39] local.INFO: TCP Data received {"connection_id":171664,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068911248012d11510006e3f4f0000501622c..."} 
[2026-09-04 00:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068911248012d11510006e3f4f0000501622c..."} 
[2026-09-04 00:10:39] local.INFO: Processing buffer {"connection_id":171664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068911248012d11510006e3f4f0000501622c..."} 
[2026-09-04 00:10:39] local.INFO: Packet analysis {"connection_id":171664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:10:39] local.INFO: Extracted packet for processing {"connection_id":171664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:10:39] local.INFO: GPS Element Parsed {"raw_longitude":756109568,"raw_latitude":115602672,"longitude_deg":75.6109568,"latitude_deg":11.5602672,"altitude":5,"angle":354,"satellites":44,"speed":45,"hex_longitude":"2d115100","hex_latitude":"06e3f4f0","is_valid_coordinates":true} 
[2026-09-04 00:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845945600001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397312744354742272,"note":"Value kept but may cause issues"} 
[2026-09-04 00:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1248763763768664064,"note":"Value kept but may cause issues"} 
[2026-09-04 00:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788460733000,"timestamp_ms":1788460733000,"timestamp_seconds":1788460733,"priority":1,"record_length":96,"hex_timestamp":"000001a068911248"} 
[2026-09-04 00:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 00:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845945600001,"66":27300,"138":206,"2":56576,"24":45,"16":397312744354742272,"45":1248763763768664064},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845945600001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:10:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397312744354742272,"km_value":397312744354742.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1248763763768664064,"description":"Unknown IO ID 45"} 
[2026-09-04 00:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845945600001,"power":27300,"unknown_138":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":1248763763768664064}} 
[2026-09-04 00:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":171664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:10:39] local.INFO: GPS data processed {"connection_id":171664,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:10:39] local.INFO: Acknowledgment sent {"connection_id":171664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:11:01] local.INFO: TCP Data received {"connection_id":170260,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:11:01] local.INFO: Processing buffer {"connection_id":170260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:11:01] local.INFO: IMEI packet received {"connection_id":170260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":170260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:11:06] local.INFO: TCP Data received {"connection_id":170260,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:11:06] local.INFO: Processing buffer {"connection_id":170260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:11:06] local.INFO: IMEI packet received {"connection_id":170260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":170260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:11:07] local.INFO: TCP Data received {"connection_id":170260,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068913188012d114ac006e417d8000401552b..."} 
[2026-09-04 00:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068913188012d114ac006e417d8000401552b..."} 
[2026-09-04 00:11:07] local.INFO: Processing buffer {"connection_id":170260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068913188012d114ac006e417d8000401552b..."} 
[2026-09-04 00:11:07] local.INFO: Packet analysis {"connection_id":170260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:11:07] local.INFO: Extracted packet for processing {"connection_id":170260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756107968,"raw_latitude":115611608,"longitude_deg":75.6107968,"latitude_deg":11.5611608,"altitude":4,"angle":341,"satellites":43,"speed":44,"hex_longitude":"2d114ac0","hex_latitude":"06e417d8","is_valid_coordinates":true} 
[2026-09-04 00:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845947648001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397313186736373760,"note":"Value kept but may cause issues"} 
[2026-09-04 00:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1247778601352622080,"note":"Value kept but may cause issues"} 
[2026-09-04 00:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788460741000,"timestamp_ms":1788460741000,"timestamp_seconds":1788460741,"priority":1,"record_length":96,"hex_timestamp":"000001a068913188"} 
[2026-09-04 00:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 00:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845947648001,"66":27213,"138":206,"2":56576,"24":44,"16":397313186736373760,"45":1247778601352622080},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845947648001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:11:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397313186736373760,"km_value":397313186736373.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1247778601352622080,"description":"Unknown IO ID 45"} 
[2026-09-04 00:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845947648001,"power":27213,"unknown_138":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":1247778601352622080}} 
[2026-09-04 00:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":170260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:11:07] local.INFO: GPS data processed {"connection_id":170260,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:11:07] local.INFO: Acknowledgment sent {"connection_id":170260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:11:39] local.INFO: TCP Data received {"connection_id":170260,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068913188012d114ac006e417d8000401552b..."} 
[2026-09-04 00:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068913188012d114ac006e417d8000401552b..."} 
[2026-09-04 00:11:39] local.INFO: Processing buffer {"connection_id":170260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068913188012d114ac006e417d8000401552b..."} 
[2026-09-04 00:11:39] local.INFO: Packet analysis {"connection_id":170260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:11:39] local.INFO: Extracted packet for processing {"connection_id":170260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756107968,"raw_latitude":115611608,"longitude_deg":75.6107968,"latitude_deg":11.5611608,"altitude":4,"angle":341,"satellites":43,"speed":44,"hex_longitude":"2d114ac0","hex_latitude":"06e417d8","is_valid_coordinates":true} 
[2026-09-04 00:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845949696001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397313186736373760,"note":"Value kept but may cause issues"} 
[2026-09-04 00:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1246019382750468096,"note":"Value kept but may cause issues"} 
[2026-09-04 00:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788460741000,"timestamp_ms":1788460741000,"timestamp_seconds":1788460741,"priority":1,"record_length":96,"hex_timestamp":"000001a068913188"} 
[2026-09-04 00:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 00:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845949696001,"66":27213,"138":206,"2":56576,"24":44,"16":397313186736373760,"45":1246019382750468096},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845949696001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:11:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397313186736373760,"km_value":397313186736373.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1246019382750468096,"description":"Unknown IO ID 45"} 
[2026-09-04 00:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845949696001,"power":27213,"unknown_138":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":1246019382750468096}} 
[2026-09-04 00:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":170260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:11:39] local.INFO: GPS data processed {"connection_id":170260,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:11:39] local.INFO: Acknowledgment sent {"connection_id":170260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:12:01] local.INFO: TCP Data received {"connection_id":172966,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:12:01] local.INFO: Processing buffer {"connection_id":172966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:12:01] local.INFO: IMEI packet received {"connection_id":172966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":172966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:12:06] local.INFO: TCP Data received {"connection_id":172966,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:12:06] local.INFO: Processing buffer {"connection_id":172966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:12:06] local.INFO: IMEI packet received {"connection_id":172966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":172966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:12:08] local.INFO: TCP Data received {"connection_id":172966,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689150c8012d113b4006e437a80005014a2b..."} 
[2026-09-04 00:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689150c8012d113b4006e437a80005014a2b..."} 
[2026-09-04 00:12:08] local.INFO: Processing buffer {"connection_id":172966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689150c8012d113b4006e437a80005014a2b..."} 
[2026-09-04 00:12:08] local.INFO: Packet analysis {"connection_id":172966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:12:08] local.INFO: Extracted packet for processing {"connection_id":172966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:12:08] local.INFO: GPS Element Parsed {"raw_longitude":756104000,"raw_latitude":115619752,"longitude_deg":75.6104,"latitude_deg":11.5619752,"altitude":5,"angle":330,"satellites":43,"speed":44,"hex_longitude":"2d113b40","hex_latitude":"06e437a8","is_valid_coordinates":true} 
[2026-09-04 00:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845949696001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397313624823037952,"note":"Value kept but may cause issues"} 
[2026-09-04 00:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1246019382750468096,"note":"Value kept but may cause issues"} 
[2026-09-04 00:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788460749000,"timestamp_ms":1788460749000,"timestamp_seconds":1788460749,"priority":1,"record_length":96,"hex_timestamp":"000001a0689150c8"} 
[2026-09-04 00:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 00:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845949696001,"66":26941,"138":206,"2":56576,"24":44,"16":397313624823037952,"45":1246019382750468096},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845949696001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:12:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397313624823037952,"km_value":397313624823037.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1246019382750468096,"description":"Unknown IO ID 45"} 
[2026-09-04 00:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845949696001,"power":26941,"unknown_138":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":1246019382750468096}} 
[2026-09-04 00:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":172966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:12:08] local.INFO: GPS data processed {"connection_id":172966,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:12:08] local.INFO: Acknowledgment sent {"connection_id":172966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:12:39] local.INFO: TCP Data received {"connection_id":172966,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689150c8012d113b4006e437a80005014a2b..."} 
[2026-09-04 00:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689150c8012d113b4006e437a80005014a2b..."} 
[2026-09-04 00:12:39] local.INFO: Processing buffer {"connection_id":172966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689150c8012d113b4006e437a80005014a2b..."} 
[2026-09-04 00:12:39] local.INFO: Packet analysis {"connection_id":172966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:12:39] local.INFO: Extracted packet for processing {"connection_id":172966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756104000,"raw_latitude":115619752,"longitude_deg":75.6104,"latitude_deg":11.5619752,"altitude":5,"angle":330,"satellites":43,"speed":44,"hex_longitude":"2d113b40","hex_latitude":"06e437a8","is_valid_coordinates":true} 
[2026-09-04 00:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845951744001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397313624823037952,"note":"Value kept but may cause issues"} 
[2026-09-04 00:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1241656520613537792,"note":"Value kept but may cause issues"} 
[2026-09-04 00:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788460749000,"timestamp_ms":1788460749000,"timestamp_seconds":1788460749,"priority":1,"record_length":96,"hex_timestamp":"000001a0689150c8"} 
[2026-09-04 00:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-09-04 00:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845951744001,"66":26941,"138":206,"2":56576,"24":44,"16":397313624823037952,"45":1241656520613537792},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845951744001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:12:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397313624823037952,"km_value":397313624823037.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1241656520613537792,"description":"Unknown IO ID 45"} 
[2026-09-04 00:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845951744001,"power":26941,"unknown_138":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":1241656520613537792}} 
[2026-09-04 00:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":172966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:12:39] local.INFO: GPS data processed {"connection_id":172966,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:12:39] local.INFO: Acknowledgment sent {"connection_id":172966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:13:06] local.INFO: TCP Data received {"connection_id":172967,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:13:06] local.INFO: Processing buffer {"connection_id":172967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:13:06] local.INFO: IMEI packet received {"connection_id":172967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":172967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:13:11] local.INFO: TCP Data received {"connection_id":172967,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:13:11] local.INFO: Processing buffer {"connection_id":172967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:13:11] local.INFO: IMEI packet received {"connection_id":172967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":172967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:13:13] local.INFO: TCP Data received {"connection_id":172967,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689173f0012d1127c006e455f80008014f2b..."} 
[2026-09-04 00:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689173f0012d1127c006e455f80008014f2b..."} 
[2026-09-04 00:13:13] local.INFO: Processing buffer {"connection_id":172967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689173f0012d1127c006e455f80008014f2b..."} 
[2026-09-04 00:13:13] local.INFO: Packet analysis {"connection_id":172967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:13:13] local.INFO: Extracted packet for processing {"connection_id":172967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:13:13] local.INFO: GPS Element Parsed {"raw_longitude":756099008,"raw_latitude":115627512,"longitude_deg":75.6099008,"latitude_deg":11.5627512,"altitude":8,"angle":335,"satellites":43,"speed":36,"hex_longitude":"2d1127c0","hex_latitude":"06e455f8","is_valid_coordinates":true} 
[2026-09-04 00:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845951744001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397314067204669440,"note":"Value kept but may cause issues"} 
[2026-09-04 00:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1241656520613537792,"note":"Value kept but may cause issues"} 
[2026-09-04 00:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788460758000,"timestamp_ms":1788460758000,"timestamp_seconds":1788460758,"priority":1,"record_length":96,"hex_timestamp":"000001a0689173f0"} 
[2026-09-04 00:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-09-04 00:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845951744001,"66":27365,"138":206,"2":56576,"24":36,"16":397314067204669440,"45":1241656520613537792},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845951744001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:13:13] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397314067204669440,"km_value":397314067204669.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1241656520613537792,"description":"Unknown IO ID 45"} 
[2026-09-04 00:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845951744001,"power":27365,"unknown_138":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":1241656520613537792}} 
[2026-09-04 00:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":172967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:13:13] local.INFO: GPS data processed {"connection_id":172967,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:13:13] local.INFO: Acknowledgment sent {"connection_id":172967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:13:17] local.INFO: TCP Data received {"connection_id":172967,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068919b00012d111ac006e477a0000901552b..."} 
[2026-09-04 00:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068919b00012d111ac006e477a0000901552b..."} 
[2026-09-04 00:13:17] local.INFO: Processing buffer {"connection_id":172967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068919b00012d111ac006e477a0000901552b..."} 
[2026-09-04 00:13:17] local.INFO: Packet analysis {"connection_id":172967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:13:17] local.INFO: Extracted packet for processing {"connection_id":172967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756095680,"raw_latitude":115636128,"longitude_deg":75.609568,"latitude_deg":11.5636128,"altitude":9,"angle":341,"satellites":43,"speed":37,"hex_longitude":"2d111ac0","hex_latitude":"06e477a0","is_valid_coordinates":true} 
[2026-09-04 00:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845954048001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397314513881268224,"note":"Value kept but may cause issues"} 
[2026-09-04 00:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1236167758569666560,"note":"Value kept but may cause issues"} 
[2026-09-04 00:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788460768000,"timestamp_ms":1788460768000,"timestamp_seconds":1788460768,"priority":1,"record_length":96,"hex_timestamp":"000001a068919b00"} 
[2026-09-04 00:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 00:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":172967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":172967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":172967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845954048001,"66":27213,"138":206,"2":56576,"24":37,"16":397314513881268224,"45":1236167758569666560},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845954048001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:13:17] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397314513881268224,"km_value":397314513881268.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1236167758569666560,"description":"Unknown IO ID 45"} 
[2026-09-04 00:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845954048001,"power":27213,"unknown_138":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":1236167758569666560}} 
[2026-09-04 00:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":172967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:13:17] local.INFO: GPS data processed {"connection_id":172967,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:13:17] local.INFO: Acknowledgment sent {"connection_id":172967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:14:01] local.INFO: TCP Data received {"connection_id":170557,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:14:01] local.INFO: Processing buffer {"connection_id":170557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:14:01] local.INFO: IMEI packet received {"connection_id":170557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":170557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:14:06] local.INFO: TCP Data received {"connection_id":170557,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:14:06] local.INFO: Processing buffer {"connection_id":170557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:14:06] local.INFO: IMEI packet received {"connection_id":170557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":170557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:14:07] local.INFO: TCP Data received {"connection_id":170557,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06891be28012d110fc006e498c8000a01552b..."} 
[2026-09-04 00:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06891be28012d110fc006e498c8000a01552b..."} 
[2026-09-04 00:14:07] local.INFO: Processing buffer {"connection_id":170557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06891be28012d110fc006e498c8000a01552b..."} 
[2026-09-04 00:14:07] local.INFO: Packet analysis {"connection_id":170557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:14:07] local.INFO: Extracted packet for processing {"connection_id":170557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756092864,"raw_latitude":115644616,"longitude_deg":75.6092864,"latitude_deg":11.5644616,"altitude":10,"angle":341,"satellites":43,"speed":41,"hex_longitude":"2d110fc0","hex_latitude":"06e498c8","is_valid_coordinates":true} 
[2026-09-04 00:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845956608001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397314947672965120,"note":"Value kept but may cause issues"} 
[2026-09-04 00:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1232508583874633728,"note":"Value kept but may cause issues"} 
[2026-09-04 00:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788460777000,"timestamp_ms":1788460777000,"timestamp_seconds":1788460777,"priority":1,"record_length":96,"hex_timestamp":"000001a06891be28"} 
[2026-09-04 00:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 00:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845956608001,"66":27767,"138":206,"2":56576,"24":41,"16":397314947672965120,"45":1232508583874633728},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845956608001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:14:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397314947672965120,"km_value":397314947672965.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1232508583874633728,"description":"Unknown IO ID 45"} 
[2026-09-04 00:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845956608001,"power":27767,"unknown_138":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":1232508583874633728}} 
[2026-09-04 00:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":170557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:14:08] local.INFO: GPS data processed {"connection_id":170557,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:14:08] local.INFO: Acknowledgment sent {"connection_id":170557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:14:39] local.INFO: TCP Data received {"connection_id":170557,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06891e150012d11030006e4bbe8000901502b..."} 
[2026-09-04 00:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06891e150012d11030006e4bbe8000901502b..."} 
[2026-09-04 00:14:39] local.INFO: Processing buffer {"connection_id":170557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06891e150012d11030006e4bbe8000901502b..."} 
[2026-09-04 00:14:39] local.INFO: Packet analysis {"connection_id":170557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:14:39] local.INFO: Extracted packet for processing {"connection_id":170557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06891"} 
[2026-09-04 00:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756089600,"raw_latitude":115653608,"longitude_deg":75.60896,"latitude_deg":11.5653608,"altitude":9,"angle":336,"satellites":43,"speed":41,"hex_longitude":"2d110300","hex_latitude":"06e4bbe8","is_valid_coordinates":true} 
[2026-09-04 00:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845958912001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315411529433088,"note":"Value kept but may cause issues"} 
[2026-09-04 00:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1229412359132989440,"note":"Value kept but may cause issues"} 
[2026-09-04 00:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788460786000,"timestamp_ms":1788460786000,"timestamp_seconds":1788460786,"priority":1,"record_length":96,"hex_timestamp":"000001a06891e150"} 
[2026-09-04 00:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 00:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845958912001,"66":27745,"138":206,"2":56576,"24":41,"16":397315411529433088,"45":1229412359132989440},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845958912001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:14:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315411529433088,"km_value":397315411529433.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1229412359132989440,"description":"Unknown IO ID 45"} 
[2026-09-04 00:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845958912001,"power":27745,"unknown_138":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":1229412359132989440}} 
[2026-09-04 00:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":170557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:14:39] local.INFO: GPS data processed {"connection_id":170557,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:14:39] local.INFO: Acknowledgment sent {"connection_id":170557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:15:01] local.INFO: TCP Data received {"connection_id":170261,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:15:01] local.INFO: Processing buffer {"connection_id":170261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:15:01] local.INFO: IMEI packet received {"connection_id":170261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":170261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:15:06] local.INFO: TCP Data received {"connection_id":170261,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:15:06] local.INFO: Processing buffer {"connection_id":170261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:15:06] local.INFO: IMEI packet received {"connection_id":170261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":170261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:15:08] local.INFO: TCP Data received {"connection_id":170261,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068920860012d10f28006e4d938000901462c..."} 
[2026-09-04 00:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068920860012d10f28006e4d938000901462c..."} 
[2026-09-04 00:15:08] local.INFO: Processing buffer {"connection_id":170261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068920860012d10f28006e4d938000901462c..."} 
[2026-09-04 00:15:08] local.INFO: Packet analysis {"connection_id":170261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06892"} 
[2026-09-04 00:15:08] local.INFO: Extracted packet for processing {"connection_id":170261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06892"} 
[2026-09-04 00:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756085376,"raw_latitude":115661112,"longitude_deg":75.6085376,"latitude_deg":11.5661112,"altitude":9,"angle":326,"satellites":44,"speed":25,"hex_longitude":"2d10f280","hex_latitude":"06e4d938","is_valid_coordinates":true} 
[2026-09-04 00:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845961216001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225823553182230528,"note":"Value kept but may cause issues"} 
[2026-09-04 00:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788460796000,"timestamp_ms":1788460796000,"timestamp_seconds":1788460796,"priority":1,"record_length":96,"hex_timestamp":"000001a068920860"} 
[2026-09-04 00:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 00:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845961216001,"66":27745,"138":206,"2":56576,"24":25,"16":397315828141260800,"45":1225823553182230528},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845961216001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:15:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225823553182230528,"description":"Unknown IO ID 45"} 
[2026-09-04 00:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845961216001,"power":27745,"unknown_138":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":1225823553182230528}} 
[2026-09-04 00:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":170261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:15:08] local.INFO: GPS data processed {"connection_id":170261,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:15:08] local.INFO: Acknowledgment sent {"connection_id":170261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:15:09] local.INFO: TCP Data received {"connection_id":172968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:15:09] local.INFO: Processing buffer {"connection_id":172968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:15:09] local.INFO: IMEI packet received {"connection_id":172968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":172968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:15:39] local.INFO: TCP Data received {"connection_id":170558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:15:39] local.INFO: Processing buffer {"connection_id":170558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:15:39] local.INFO: IMEI packet received {"connection_id":170558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":170558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:15:39] local.INFO: TCP Data received {"connection_id":170261,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068921418012d10ee4006e4de90000a013b2a..."} 
[2026-09-04 00:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068921418012d10ee4006e4de90000a013b2a..."} 
[2026-09-04 00:15:39] local.INFO: Processing buffer {"connection_id":170261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068921418012d10ee4006e4de90000a013b2a..."} 
[2026-09-04 00:15:39] local.INFO: Packet analysis {"connection_id":170261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06892"} 
[2026-09-04 00:15:39] local.INFO: Extracted packet for processing {"connection_id":170261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06892"} 
[2026-09-04 00:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756084288,"raw_latitude":115662480,"longitude_deg":75.6084288,"latitude_deg":11.566248,"altitude":10,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d10ee40","hex_latitude":"06e4de90","is_valid_coordinates":true} 
[2026-09-04 00:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845963776001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221179216068425728,"note":"Value kept but may cause issues"} 
[2026-09-04 00:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788460799000,"timestamp_ms":1788460799000,"timestamp_seconds":1788460799,"priority":1,"record_length":96,"hex_timestamp":"000001a068921418"} 
[2026-09-04 00:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 00:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845963776001,"66":27767,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1221179216068425728},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845963776001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:15:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221179216068425728,"description":"Unknown IO ID 45"} 
[2026-09-04 00:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845963776001,"power":27767,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1221179216068425728}} 
[2026-09-04 00:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":170261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:15:39] local.INFO: GPS data processed {"connection_id":170261,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:15:39] local.INFO: Acknowledgment sent {"connection_id":170261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:16:06] local.INFO: TCP Data received {"connection_id":171666,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:16:06] local.INFO: Processing buffer {"connection_id":171666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:16:06] local.INFO: IMEI packet received {"connection_id":171666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":171666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:16:11] local.INFO: TCP Data received {"connection_id":171666,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:16:11] local.INFO: Processing buffer {"connection_id":171666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:16:11] local.INFO: IMEI packet received {"connection_id":171666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":171666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:16:12] local.INFO: TCP Data received {"connection_id":171666,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:16:12] local.INFO: Processing buffer {"connection_id":171666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:16:12] local.INFO: Packet analysis {"connection_id":171666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:16:12] local.INFO: Extracted packet for processing {"connection_id":171666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:16:12] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845964544001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219982947417755648,"note":"Value kept but may cause issues"} 
[2026-09-04 00:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788461100000,"timestamp_ms":1788461100000,"timestamp_seconds":1788461100,"priority":1,"record_length":96,"hex_timestamp":"000001a06896abe0"} 
[2026-09-04 00:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 00:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845964544001,"66":25832,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219982947417755648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845964544001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:16:12] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219982947417755648,"description":"Unknown IO ID 45"} 
[2026-09-04 00:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845964544001,"power":25832,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219982947417755648}} 
[2026-09-04 00:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":171666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:16:12] local.INFO: GPS data processed {"connection_id":171666,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:16:12] local.INFO: Acknowledgment sent {"connection_id":171666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:16:17] local.INFO: TCP Data received {"connection_id":171666,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:16:17] local.INFO: Processing buffer {"connection_id":171666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:16:17] local.INFO: Packet analysis {"connection_id":171666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:16:17] local.INFO: Extracted packet for processing {"connection_id":171666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845964544001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219982947417755648,"note":"Value kept but may cause issues"} 
[2026-09-04 00:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788461100000,"timestamp_ms":1788461100000,"timestamp_seconds":1788461100,"priority":1,"record_length":96,"hex_timestamp":"000001a06896abe0"} 
[2026-09-04 00:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 00:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845964544001,"66":25832,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219982947417755648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845964544001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:16:17] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219982947417755648,"description":"Unknown IO ID 45"} 
[2026-09-04 00:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845964544001,"power":25832,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219982947417755648}} 
[2026-09-04 00:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":171666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:16:17] local.INFO: GPS data processed {"connection_id":171666,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:16:17] local.INFO: Acknowledgment sent {"connection_id":171666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:17:01] local.INFO: TCP Data received {"connection_id":170560,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:17:01] local.INFO: Processing buffer {"connection_id":170560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:17:01] local.INFO: IMEI packet received {"connection_id":170560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":170560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:17:06] local.INFO: TCP Data received {"connection_id":170560,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:17:06] local.INFO: Processing buffer {"connection_id":170560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:17:06] local.INFO: IMEI packet received {"connection_id":170560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":170560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:17:08] local.INFO: TCP Data received {"connection_id":170560,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:17:08] local.INFO: Processing buffer {"connection_id":170560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:17:08] local.INFO: Packet analysis {"connection_id":170560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:17:08] local.INFO: Extracted packet for processing {"connection_id":170560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845964544001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219982947417755648,"note":"Value kept but may cause issues"} 
[2026-09-04 00:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788461100000,"timestamp_ms":1788461100000,"timestamp_seconds":1788461100,"priority":1,"record_length":96,"hex_timestamp":"000001a06896abe0"} 
[2026-09-04 00:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 00:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845964544001,"66":25832,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219982947417755648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845964544001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:17:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219982947417755648,"description":"Unknown IO ID 45"} 
[2026-09-04 00:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845964544001,"power":25832,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219982947417755648}} 
[2026-09-04 00:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":170560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:17:08] local.INFO: GPS data processed {"connection_id":170560,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:17:08] local.INFO: Acknowledgment sent {"connection_id":170560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:17:39] local.INFO: TCP Data received {"connection_id":170560,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:17:39] local.INFO: Processing buffer {"connection_id":170560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:17:39] local.INFO: Packet analysis {"connection_id":170560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:17:39] local.INFO: Extracted packet for processing {"connection_id":170560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:17:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845964544001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219982947417755648,"note":"Value kept but may cause issues"} 
[2026-09-04 00:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788461100000,"timestamp_ms":1788461100000,"timestamp_seconds":1788461100,"priority":1,"record_length":96,"hex_timestamp":"000001a06896abe0"} 
[2026-09-04 00:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 00:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845964544001,"66":25832,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219982947417755648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845964544001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:17:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219982947417755648,"description":"Unknown IO ID 45"} 
[2026-09-04 00:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845964544001,"power":25832,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219982947417755648}} 
[2026-09-04 00:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":170560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:17:39] local.INFO: GPS data processed {"connection_id":170560,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:17:39] local.INFO: Acknowledgment sent {"connection_id":170560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:18:01] local.INFO: TCP Data received {"connection_id":171667,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:18:01] local.INFO: Processing buffer {"connection_id":171667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:18:01] local.INFO: IMEI packet received {"connection_id":171667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":171667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:18:06] local.INFO: TCP Data received {"connection_id":171667,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:18:06] local.INFO: Processing buffer {"connection_id":171667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:18:06] local.INFO: IMEI packet received {"connection_id":171667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":171667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:18:08] local.INFO: TCP Data received {"connection_id":171667,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:18:08] local.INFO: Processing buffer {"connection_id":171667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:18:08] local.INFO: Packet analysis {"connection_id":171667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:18:08] local.INFO: Extracted packet for processing {"connection_id":171667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:18:08] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845964544001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219982947417755648,"note":"Value kept but may cause issues"} 
[2026-09-04 00:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788461100000,"timestamp_ms":1788461100000,"timestamp_seconds":1788461100,"priority":1,"record_length":96,"hex_timestamp":"000001a06896abe0"} 
[2026-09-04 00:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 00:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845964544001,"66":25832,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219982947417755648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845964544001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:18:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219982947417755648,"description":"Unknown IO ID 45"} 
[2026-09-04 00:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845964544001,"power":25832,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219982947417755648}} 
[2026-09-04 00:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":171667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:18:08] local.INFO: GPS data processed {"connection_id":171667,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:18:08] local.INFO: Acknowledgment sent {"connection_id":171667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:18:39] local.INFO: TCP Data received {"connection_id":171667,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:18:39] local.INFO: Processing buffer {"connection_id":171667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:18:39] local.INFO: Packet analysis {"connection_id":171667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:18:39] local.INFO: Extracted packet for processing {"connection_id":171667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:18:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845964544001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219982947417755648,"note":"Value kept but may cause issues"} 
[2026-09-04 00:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788461100000,"timestamp_ms":1788461100000,"timestamp_seconds":1788461100,"priority":1,"record_length":96,"hex_timestamp":"000001a06896abe0"} 
[2026-09-04 00:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 00:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845964544001,"66":25832,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219982947417755648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845964544001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:18:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219982947417755648,"description":"Unknown IO ID 45"} 
[2026-09-04 00:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845964544001,"power":25832,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219982947417755648}} 
[2026-09-04 00:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":171667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:18:39] local.INFO: GPS data processed {"connection_id":171667,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:18:39] local.INFO: Acknowledgment sent {"connection_id":171667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:19:01] local.INFO: TCP Data received {"connection_id":172969,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:19:01] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:19:01] local.INFO: IMEI packet received {"connection_id":172969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":172969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:19:06] local.INFO: TCP Data received {"connection_id":172969,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:19:06] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:19:06] local.INFO: IMEI packet received {"connection_id":172969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":172969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:19:08] local.INFO: TCP Data received {"connection_id":172969,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:19:08] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:19:08] local.INFO: Packet analysis {"connection_id":172969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:19:08] local.INFO: Extracted packet for processing {"connection_id":172969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845964544001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219982947417755648,"note":"Value kept but may cause issues"} 
[2026-09-04 00:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788461100000,"timestamp_ms":1788461100000,"timestamp_seconds":1788461100,"priority":1,"record_length":96,"hex_timestamp":"000001a06896abe0"} 
[2026-09-04 00:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 00:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845964544001,"66":25832,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219982947417755648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845964544001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:19:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219982947417755648,"description":"Unknown IO ID 45"} 
[2026-09-04 00:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845964544001,"power":25832,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219982947417755648}} 
[2026-09-04 00:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":172969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:19:08] local.INFO: GPS data processed {"connection_id":172969,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:19:08] local.INFO: Acknowledgment sent {"connection_id":172969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:19:40] local.INFO: TCP Data received {"connection_id":172969,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:19:40] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:19:40] local.INFO: Packet analysis {"connection_id":172969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:19:40] local.INFO: Extracted packet for processing {"connection_id":172969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:19:40] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845964544001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219982947417755648,"note":"Value kept but may cause issues"} 
[2026-09-04 00:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788461100000,"timestamp_ms":1788461100000,"timestamp_seconds":1788461100,"priority":1,"record_length":96,"hex_timestamp":"000001a06896abe0"} 
[2026-09-04 00:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 00:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845964544001,"66":25832,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219982947417755648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845964544001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:19:40] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219982947417755648,"description":"Unknown IO ID 45"} 
[2026-09-04 00:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845964544001,"power":25832,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219982947417755648}} 
[2026-09-04 00:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":172969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:19:40] local.INFO: GPS data processed {"connection_id":172969,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:19:40] local.INFO: Acknowledgment sent {"connection_id":172969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:20:01] local.INFO: TCP Data received {"connection_id":170563,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:20:01] local.INFO: Processing buffer {"connection_id":170563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:20:01] local.INFO: IMEI packet received {"connection_id":170563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":170563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:20:06] local.INFO: TCP Data received {"connection_id":170563,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:20:06] local.INFO: Processing buffer {"connection_id":170563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:20:06] local.INFO: IMEI packet received {"connection_id":170563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":170563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:20:08] local.INFO: TCP Data received {"connection_id":170563,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:20:08] local.INFO: Processing buffer {"connection_id":170563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:20:08] local.INFO: Packet analysis {"connection_id":170563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:20:08] local.INFO: Extracted packet for processing {"connection_id":170563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:20:08] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845964544001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219982947417755648,"note":"Value kept but may cause issues"} 
[2026-09-04 00:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788461100000,"timestamp_ms":1788461100000,"timestamp_seconds":1788461100,"priority":1,"record_length":96,"hex_timestamp":"000001a06896abe0"} 
[2026-09-04 00:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 00:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845964544001,"66":25832,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219982947417755648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845964544001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:20:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219982947417755648,"description":"Unknown IO ID 45"} 
[2026-09-04 00:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845964544001,"power":25832,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219982947417755648}} 
[2026-09-04 00:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":170563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:20:08] local.INFO: GPS data processed {"connection_id":170563,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:20:08] local.INFO: Acknowledgment sent {"connection_id":170563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:20:40] local.INFO: TCP Data received {"connection_id":170563,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:20:40] local.INFO: Processing buffer {"connection_id":170563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06896abe0012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:20:40] local.INFO: Packet analysis {"connection_id":170563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:20:40] local.INFO: Extracted packet for processing {"connection_id":170563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06896"} 
[2026-09-04 00:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457845964544001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219982947417755648,"note":"Value kept but may cause issues"} 
[2026-09-04 00:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788461100000,"timestamp_ms":1788461100000,"timestamp_seconds":1788461100,"priority":1,"record_length":96,"hex_timestamp":"000001a06896abe0"} 
[2026-09-04 00:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 00:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457845964544001,"66":25832,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219982947417755648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457845964544001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:20:40] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219982947417755648,"description":"Unknown IO ID 45"} 
[2026-09-04 00:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457845964544001,"power":25832,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219982947417755648}} 
[2026-09-04 00:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":170563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:20:40] local.INFO: GPS data processed {"connection_id":170563,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:20:40] local.INFO: Acknowledgment sent {"connection_id":170563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:21:06] local.INFO: TCP Data received {"connection_id":170263,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:21:06] local.INFO: Processing buffer {"connection_id":170263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:21:06] local.INFO: IMEI packet received {"connection_id":170263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":170263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:21:11] local.INFO: TCP Data received {"connection_id":170263,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:21:11] local.INFO: Processing buffer {"connection_id":170263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:21:11] local.INFO: IMEI packet received {"connection_id":170263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":170263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:21:12] local.INFO: TCP Data received {"connection_id":170263,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:21:12] local.INFO: Processing buffer {"connection_id":170263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:21:12] local.INFO: Packet analysis {"connection_id":170263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:21:12] local.INFO: Extracted packet for processing {"connection_id":170263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846041600001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788461401000,"timestamp_ms":1788461401000,"timestamp_seconds":1788461401,"priority":1,"record_length":96,"hex_timestamp":"000001a0689b43a8"} 
[2026-09-04 00:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 00:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":170263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":170263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":170263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846041600001,"66":25647,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846041600001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:21:12] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846041600001,"power":25647,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":170263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:21:13] local.INFO: GPS data processed {"connection_id":170263,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:21:13] local.INFO: Acknowledgment sent {"connection_id":170263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:21:42] local.INFO: TCP Data received {"connection_id":172970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:21:42] local.INFO: Processing buffer {"connection_id":172970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:21:42] local.INFO: IMEI packet received {"connection_id":172970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":172970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:21:44] local.INFO: TCP Data received {"connection_id":170263,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:21:44] local.INFO: Processing buffer {"connection_id":170263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:21:44] local.INFO: Packet analysis {"connection_id":170263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:21:44] local.INFO: Extracted packet for processing {"connection_id":170263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846041600001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788461401000,"timestamp_ms":1788461401000,"timestamp_seconds":1788461401,"priority":1,"record_length":96,"hex_timestamp":"000001a0689b43a8"} 
[2026-09-04 00:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 00:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846041600001,"66":25647,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846041600001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:21:44] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846041600001,"power":25647,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":170263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:21:44] local.INFO: GPS data processed {"connection_id":170263,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:21:44] local.INFO: Acknowledgment sent {"connection_id":170263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:22:01] local.INFO: TCP Data received {"connection_id":171668,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:22:01] local.INFO: Processing buffer {"connection_id":171668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:22:01] local.INFO: IMEI packet received {"connection_id":171668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":171668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:22:06] local.INFO: TCP Data received {"connection_id":171668,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:22:06] local.INFO: Processing buffer {"connection_id":171668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:22:06] local.INFO: IMEI packet received {"connection_id":171668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":171668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:22:07] local.INFO: TCP Data received {"connection_id":171668,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:22:07] local.INFO: Processing buffer {"connection_id":171668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:22:07] local.INFO: Packet analysis {"connection_id":171668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:22:07] local.INFO: Extracted packet for processing {"connection_id":171668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846041600001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788461401000,"timestamp_ms":1788461401000,"timestamp_seconds":1788461401,"priority":1,"record_length":96,"hex_timestamp":"000001a0689b43a8"} 
[2026-09-04 00:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 00:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846041600001,"66":25647,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846041600001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:22:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846041600001,"power":25647,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":171668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:22:07] local.INFO: GPS data processed {"connection_id":171668,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:22:07] local.INFO: Acknowledgment sent {"connection_id":171668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:22:39] local.INFO: TCP Data received {"connection_id":171668,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:22:39] local.INFO: Processing buffer {"connection_id":171668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:22:39] local.INFO: Packet analysis {"connection_id":171668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:22:39] local.INFO: Extracted packet for processing {"connection_id":171668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:22:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846041600001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788461401000,"timestamp_ms":1788461401000,"timestamp_seconds":1788461401,"priority":1,"record_length":96,"hex_timestamp":"000001a0689b43a8"} 
[2026-09-04 00:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 00:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846041600001,"66":25647,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846041600001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:22:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846041600001,"power":25647,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":171668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:22:39] local.INFO: GPS data processed {"connection_id":171668,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:22:39] local.INFO: Acknowledgment sent {"connection_id":171668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:23:01] local.INFO: TCP Data received {"connection_id":170566,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:23:01] local.INFO: Processing buffer {"connection_id":170566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:23:01] local.INFO: IMEI packet received {"connection_id":170566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":170566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:23:06] local.INFO: TCP Data received {"connection_id":170566,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:23:06] local.INFO: Processing buffer {"connection_id":170566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:23:06] local.INFO: IMEI packet received {"connection_id":170566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":170566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:23:07] local.INFO: TCP Data received {"connection_id":170566,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:23:07] local.INFO: Processing buffer {"connection_id":170566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:23:07] local.INFO: Packet analysis {"connection_id":170566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:23:07] local.INFO: Extracted packet for processing {"connection_id":170566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846041600001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788461401000,"timestamp_ms":1788461401000,"timestamp_seconds":1788461401,"priority":1,"record_length":96,"hex_timestamp":"000001a0689b43a8"} 
[2026-09-04 00:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 00:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846041600001,"66":25647,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846041600001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:23:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846041600001,"power":25647,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":170566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:23:08] local.INFO: GPS data processed {"connection_id":170566,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:23:08] local.INFO: Acknowledgment sent {"connection_id":170566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:23:39] local.INFO: TCP Data received {"connection_id":170566,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:23:39] local.INFO: Processing buffer {"connection_id":170566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:23:39] local.INFO: Packet analysis {"connection_id":170566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:23:39] local.INFO: Extracted packet for processing {"connection_id":170566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:23:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846041600001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788461401000,"timestamp_ms":1788461401000,"timestamp_seconds":1788461401,"priority":1,"record_length":96,"hex_timestamp":"000001a0689b43a8"} 
[2026-09-04 00:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 00:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846041600001,"66":25647,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846041600001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:23:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846041600001,"power":25647,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":170566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:23:39] local.INFO: GPS data processed {"connection_id":170566,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:23:39] local.INFO: Acknowledgment sent {"connection_id":170566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:24:06] local.INFO: TCP Data received {"connection_id":172971,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:24:06] local.INFO: Processing buffer {"connection_id":172971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:24:06] local.INFO: IMEI packet received {"connection_id":172971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":172971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:24:11] local.INFO: TCP Data received {"connection_id":172971,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:24:11] local.INFO: Processing buffer {"connection_id":172971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:24:11] local.INFO: IMEI packet received {"connection_id":172971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":172971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:24:12] local.INFO: TCP Data received {"connection_id":172971,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:24:12] local.INFO: Processing buffer {"connection_id":172971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:24:12] local.INFO: Packet analysis {"connection_id":172971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:24:12] local.INFO: Extracted packet for processing {"connection_id":172971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:24:12] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846041600001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788461401000,"timestamp_ms":1788461401000,"timestamp_seconds":1788461401,"priority":1,"record_length":96,"hex_timestamp":"000001a0689b43a8"} 
[2026-09-04 00:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 00:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846041600001,"66":25647,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846041600001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:24:12] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846041600001,"power":25647,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":172971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:24:12] local.INFO: GPS data processed {"connection_id":172971,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:24:12] local.INFO: Acknowledgment sent {"connection_id":172971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:24:17] local.INFO: TCP Data received {"connection_id":172971,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:24:17] local.INFO: Processing buffer {"connection_id":172971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:24:17] local.INFO: Packet analysis {"connection_id":172971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:24:17] local.INFO: Extracted packet for processing {"connection_id":172971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846041600001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788461401000,"timestamp_ms":1788461401000,"timestamp_seconds":1788461401,"priority":1,"record_length":96,"hex_timestamp":"000001a0689b43a8"} 
[2026-09-04 00:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 00:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":172971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":172971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":172971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846041600001,"66":25647,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846041600001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:24:17] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846041600001,"power":25647,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":172971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:24:18] local.INFO: GPS data processed {"connection_id":172971,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:24:18] local.INFO: Acknowledgment sent {"connection_id":172971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:25:01] local.INFO: TCP Data received {"connection_id":172972,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:25:01] local.INFO: Processing buffer {"connection_id":172972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:25:01] local.INFO: IMEI packet received {"connection_id":172972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":172972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:25:06] local.INFO: TCP Data received {"connection_id":172972,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:25:06] local.INFO: Processing buffer {"connection_id":172972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:25:06] local.INFO: IMEI packet received {"connection_id":172972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":172972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:25:08] local.INFO: TCP Data received {"connection_id":172972,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:25:08] local.INFO: Processing buffer {"connection_id":172972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:25:08] local.INFO: Packet analysis {"connection_id":172972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:25:08] local.INFO: Extracted packet for processing {"connection_id":172972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:25:08] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846041600001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788461401000,"timestamp_ms":1788461401000,"timestamp_seconds":1788461401,"priority":1,"record_length":96,"hex_timestamp":"000001a0689b43a8"} 
[2026-09-04 00:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 00:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846041600001,"66":25647,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846041600001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:25:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846041600001,"power":25647,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":172972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:25:08] local.INFO: GPS data processed {"connection_id":172972,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:25:08] local.INFO: Acknowledgment sent {"connection_id":172972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:25:40] local.INFO: TCP Data received {"connection_id":172972,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:25:40] local.INFO: Processing buffer {"connection_id":172972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689b43a8012d10eb8006e4e310000b013b2b..."} 
[2026-09-04 00:25:40] local.INFO: Packet analysis {"connection_id":172972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:25:40] local.INFO: Extracted packet for processing {"connection_id":172972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689b"} 
[2026-09-04 00:25:40] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846041600001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788461401000,"timestamp_ms":1788461401000,"timestamp_seconds":1788461401,"priority":1,"record_length":96,"hex_timestamp":"000001a0689b43a8"} 
[2026-09-04 00:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 00:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846041600001,"66":25647,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846041600001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:25:40] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846041600001,"power":25647,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":172972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:25:40] local.INFO: GPS data processed {"connection_id":172972,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:25:40] local.INFO: Acknowledgment sent {"connection_id":172972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:26:01] local.INFO: TCP Data received {"connection_id":170267,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:26:01] local.INFO: Processing buffer {"connection_id":170267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:26:01] local.INFO: IMEI packet received {"connection_id":170267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":170267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:26:06] local.INFO: TCP Data received {"connection_id":170267,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:26:06] local.INFO: Processing buffer {"connection_id":170267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:26:06] local.INFO: IMEI packet received {"connection_id":170267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":170267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:26:07] local.INFO: TCP Data received {"connection_id":170267,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:26:08] local.INFO: Processing buffer {"connection_id":170267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:26:08] local.INFO: Packet analysis {"connection_id":170267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:26:08] local.INFO: Extracted packet for processing {"connection_id":170267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846118656001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788461702000,"timestamp_ms":1788461702000,"timestamp_seconds":1788461702,"priority":1,"record_length":96,"hex_timestamp":"000001a0689fdb70"} 
[2026-09-04 00:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 00:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846118656001,"66":25288,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846118656001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:26:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846118656001,"power":25288,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":170267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:26:08] local.INFO: GPS data processed {"connection_id":170267,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:26:08] local.INFO: Acknowledgment sent {"connection_id":170267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:26:39] local.INFO: TCP Data received {"connection_id":170267,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:26:39] local.INFO: Processing buffer {"connection_id":170267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:26:39] local.INFO: Packet analysis {"connection_id":170267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:26:39] local.INFO: Extracted packet for processing {"connection_id":170267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846118656001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788461702000,"timestamp_ms":1788461702000,"timestamp_seconds":1788461702,"priority":1,"record_length":96,"hex_timestamp":"000001a0689fdb70"} 
[2026-09-04 00:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 00:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846118656001,"66":25288,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846118656001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:26:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846118656001,"power":25288,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":170267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:26:39] local.INFO: GPS data processed {"connection_id":170267,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:26:39] local.INFO: Acknowledgment sent {"connection_id":170267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:27:01] local.INFO: TCP Data received {"connection_id":172973,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:27:01] local.INFO: Processing buffer {"connection_id":172973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:27:01] local.INFO: IMEI packet received {"connection_id":172973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":172973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:27:06] local.INFO: TCP Data received {"connection_id":171669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:27:06] local.INFO: Processing buffer {"connection_id":171669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:27:06] local.INFO: IMEI packet received {"connection_id":171669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":171669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:27:06] local.INFO: TCP Data received {"connection_id":172973,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:27:06] local.INFO: Processing buffer {"connection_id":172973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:27:06] local.INFO: IMEI packet received {"connection_id":172973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":172973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:27:08] local.INFO: TCP Data received {"connection_id":172973,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:27:08] local.INFO: Processing buffer {"connection_id":172973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:27:08] local.INFO: Packet analysis {"connection_id":172973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:27:08] local.INFO: Extracted packet for processing {"connection_id":172973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:27:08] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846118656001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788461702000,"timestamp_ms":1788461702000,"timestamp_seconds":1788461702,"priority":1,"record_length":96,"hex_timestamp":"000001a0689fdb70"} 
[2026-09-04 00:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 00:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846118656001,"66":25288,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846118656001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:27:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846118656001,"power":25288,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":172973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:27:08] local.INFO: GPS data processed {"connection_id":172973,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:27:08] local.INFO: Acknowledgment sent {"connection_id":172973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:27:39] local.INFO: TCP Data received {"connection_id":171670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:27:39] local.INFO: Processing buffer {"connection_id":171670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:27:39] local.INFO: IMEI packet received {"connection_id":171670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":171670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:27:40] local.INFO: TCP Data received {"connection_id":172973,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:27:40] local.INFO: Processing buffer {"connection_id":172973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:27:40] local.INFO: Packet analysis {"connection_id":172973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:27:40] local.INFO: Extracted packet for processing {"connection_id":172973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:27:40] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846118656001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788461702000,"timestamp_ms":1788461702000,"timestamp_seconds":1788461702,"priority":1,"record_length":96,"hex_timestamp":"000001a0689fdb70"} 
[2026-09-04 00:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 00:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846118656001,"66":25288,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846118656001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:27:40] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846118656001,"power":25288,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":172973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:27:40] local.INFO: GPS data processed {"connection_id":172973,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:27:40] local.INFO: Acknowledgment sent {"connection_id":172973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:28:06] local.INFO: TCP Data received {"connection_id":171671,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:28:06] local.INFO: Processing buffer {"connection_id":171671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:28:06] local.INFO: IMEI packet received {"connection_id":171671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":171671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:28:11] local.INFO: TCP Data received {"connection_id":171671,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:28:11] local.INFO: Processing buffer {"connection_id":171671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:28:11] local.INFO: IMEI packet received {"connection_id":171671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":171671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:28:12] local.INFO: TCP Data received {"connection_id":171671,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:28:12] local.INFO: Processing buffer {"connection_id":171671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:28:12] local.INFO: Packet analysis {"connection_id":171671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:28:12] local.INFO: Extracted packet for processing {"connection_id":171671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846118656001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788461702000,"timestamp_ms":1788461702000,"timestamp_seconds":1788461702,"priority":1,"record_length":96,"hex_timestamp":"000001a0689fdb70"} 
[2026-09-04 00:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 00:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846118656001,"66":25288,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846118656001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:28:12] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846118656001,"power":25288,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":171671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:28:12] local.INFO: GPS data processed {"connection_id":171671,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:28:12] local.INFO: Acknowledgment sent {"connection_id":171671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:28:17] local.INFO: TCP Data received {"connection_id":171671,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:28:17] local.INFO: Processing buffer {"connection_id":171671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:28:17] local.INFO: Packet analysis {"connection_id":171671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:28:17] local.INFO: Extracted packet for processing {"connection_id":171671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846118656001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788461702000,"timestamp_ms":1788461702000,"timestamp_seconds":1788461702,"priority":1,"record_length":96,"hex_timestamp":"000001a0689fdb70"} 
[2026-09-04 00:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 00:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846118656001,"66":25288,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846118656001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:28:17] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846118656001,"power":25288,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":171671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:28:17] local.INFO: GPS data processed {"connection_id":171671,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:28:17] local.INFO: Acknowledgment sent {"connection_id":171671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:29:01] local.INFO: TCP Data received {"connection_id":172974,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:29:01] local.INFO: Processing buffer {"connection_id":172974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:29:01] local.INFO: IMEI packet received {"connection_id":172974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":172974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:29:06] local.INFO: TCP Data received {"connection_id":172974,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:29:06] local.INFO: Processing buffer {"connection_id":172974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:29:06] local.INFO: IMEI packet received {"connection_id":172974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":172974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:29:13] local.INFO: TCP Data received {"connection_id":172974,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:29:13] local.INFO: Processing buffer {"connection_id":172974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:29:13] local.INFO: Packet analysis {"connection_id":172974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:29:13] local.INFO: Extracted packet for processing {"connection_id":172974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:29:13] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846118656001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788461702000,"timestamp_ms":1788461702000,"timestamp_seconds":1788461702,"priority":1,"record_length":96,"hex_timestamp":"000001a0689fdb70"} 
[2026-09-04 00:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 00:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846118656001,"66":25288,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846118656001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:29:13] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846118656001,"power":25288,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":172974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:29:13] local.INFO: GPS data processed {"connection_id":172974,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:29:13] local.INFO: Acknowledgment sent {"connection_id":172974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:29:45] local.INFO: TCP Data received {"connection_id":172974,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:29:45] local.INFO: Processing buffer {"connection_id":172974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:29:45] local.INFO: Packet analysis {"connection_id":172974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:29:45] local.INFO: Extracted packet for processing {"connection_id":172974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846118656001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788461702000,"timestamp_ms":1788461702000,"timestamp_seconds":1788461702,"priority":1,"record_length":96,"hex_timestamp":"000001a0689fdb70"} 
[2026-09-04 00:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 00:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846118656001,"66":25288,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846118656001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:29:45] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846118656001,"power":25288,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":172974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:29:45] local.INFO: GPS data processed {"connection_id":172974,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:29:45] local.INFO: Acknowledgment sent {"connection_id":172974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:30:01] local.INFO: TCP Data received {"connection_id":171672,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:30:01] local.INFO: Processing buffer {"connection_id":171672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:30:01] local.INFO: IMEI packet received {"connection_id":171672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":171672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:30:06] local.INFO: TCP Data received {"connection_id":171672,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:30:06] local.INFO: Processing buffer {"connection_id":171672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:30:06] local.INFO: IMEI packet received {"connection_id":171672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":171672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:30:07] local.INFO: TCP Data received {"connection_id":171672,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:30:07] local.INFO: Processing buffer {"connection_id":171672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:30:07] local.INFO: Packet analysis {"connection_id":171672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:30:07] local.INFO: Extracted packet for processing {"connection_id":171672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846118656001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788461702000,"timestamp_ms":1788461702000,"timestamp_seconds":1788461702,"priority":1,"record_length":96,"hex_timestamp":"000001a0689fdb70"} 
[2026-09-04 00:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 00:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846118656001,"66":25288,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846118656001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:30:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846118656001,"power":25288,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":171672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:30:07] local.INFO: GPS data processed {"connection_id":171672,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:30:07] local.INFO: Acknowledgment sent {"connection_id":171672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:30:39] local.INFO: TCP Data received {"connection_id":171672,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:30:39] local.INFO: Processing buffer {"connection_id":171672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0689fdb70012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:30:39] local.INFO: Packet analysis {"connection_id":171672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:30:39] local.INFO: Extracted packet for processing {"connection_id":171672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0689f"} 
[2026-09-04 00:30:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846118656001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788461702000,"timestamp_ms":1788461702000,"timestamp_seconds":1788461702,"priority":1,"record_length":96,"hex_timestamp":"000001a0689fdb70"} 
[2026-09-04 00:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 00:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846118656001,"66":25288,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846118656001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:30:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846118656001,"power":25288,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":171672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:30:39] local.INFO: GPS data processed {"connection_id":171672,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:30:39] local.INFO: Acknowledgment sent {"connection_id":171672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:31:06] local.INFO: TCP Data received {"connection_id":171674,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:31:06] local.INFO: Processing buffer {"connection_id":171674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:31:06] local.INFO: IMEI packet received {"connection_id":171674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":171674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:31:11] local.INFO: TCP Data received {"connection_id":171674,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:31:11] local.INFO: Processing buffer {"connection_id":171674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:31:11] local.INFO: IMEI packet received {"connection_id":171674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":171674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:31:12] local.INFO: TCP Data received {"connection_id":171674,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:31:12] local.INFO: Processing buffer {"connection_id":171674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:31:12] local.INFO: Packet analysis {"connection_id":171674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:31:12] local.INFO: Extracted packet for processing {"connection_id":171674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:31:12] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846195712001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788462003000,"timestamp_ms":1788462003000,"timestamp_seconds":1788462003,"priority":1,"record_length":96,"hex_timestamp":"000001a068a47338"} 
[2026-09-04 00:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 00:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846195712001,"66":25028,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846195712001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:31:12] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846195712001,"power":25028,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":171674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:31:12] local.INFO: GPS data processed {"connection_id":171674,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:31:12] local.INFO: Acknowledgment sent {"connection_id":171674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:31:17] local.INFO: TCP Data received {"connection_id":171674,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:31:17] local.INFO: Processing buffer {"connection_id":171674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:31:17] local.INFO: Packet analysis {"connection_id":171674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:31:17] local.INFO: Extracted packet for processing {"connection_id":171674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846195712001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788462003000,"timestamp_ms":1788462003000,"timestamp_seconds":1788462003,"priority":1,"record_length":96,"hex_timestamp":"000001a068a47338"} 
[2026-09-04 00:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 00:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846195712001,"66":25028,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846195712001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:31:17] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846195712001,"power":25028,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":171674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:31:17] local.INFO: GPS data processed {"connection_id":171674,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:31:17] local.INFO: Acknowledgment sent {"connection_id":171674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:32:01] local.INFO: TCP Data received {"connection_id":170269,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:32:01] local.INFO: Processing buffer {"connection_id":170269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:32:01] local.INFO: IMEI packet received {"connection_id":170269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":170269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:32:06] local.INFO: TCP Data received {"connection_id":170269,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:32:06] local.INFO: Processing buffer {"connection_id":170269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:32:06] local.INFO: IMEI packet received {"connection_id":170269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":170269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:32:08] local.INFO: TCP Data received {"connection_id":170269,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:32:08] local.INFO: Processing buffer {"connection_id":170269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:32:08] local.INFO: Packet analysis {"connection_id":170269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:32:08] local.INFO: Extracted packet for processing {"connection_id":170269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:32:08] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846195712001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788462003000,"timestamp_ms":1788462003000,"timestamp_seconds":1788462003,"priority":1,"record_length":96,"hex_timestamp":"000001a068a47338"} 
[2026-09-04 00:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 00:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846195712001,"66":25028,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846195712001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:32:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846195712001,"power":25028,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":170269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:32:08] local.INFO: GPS data processed {"connection_id":170269,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:32:08] local.INFO: Acknowledgment sent {"connection_id":170269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:32:40] local.INFO: TCP Data received {"connection_id":170269,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:32:40] local.INFO: Processing buffer {"connection_id":170269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:32:40] local.INFO: Packet analysis {"connection_id":170269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:32:40] local.INFO: Extracted packet for processing {"connection_id":170269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:32:40] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846195712001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788462003000,"timestamp_ms":1788462003000,"timestamp_seconds":1788462003,"priority":1,"record_length":96,"hex_timestamp":"000001a068a47338"} 
[2026-09-04 00:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 00:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846195712001,"66":25028,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846195712001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:32:40] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846195712001,"power":25028,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":170269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:32:40] local.INFO: GPS data processed {"connection_id":170269,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:32:40] local.INFO: Acknowledgment sent {"connection_id":170269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:33:01] local.INFO: TCP Data received {"connection_id":172975,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:33:01] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:33:01] local.INFO: IMEI packet received {"connection_id":172975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":172975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:33:04] local.INFO: TCP Data received {"connection_id":170270,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:33:04] local.INFO: Processing buffer {"connection_id":170270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:33:04] local.INFO: IMEI packet received {"connection_id":170270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":170270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:33:06] local.INFO: TCP Data received {"connection_id":172975,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:33:06] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:33:06] local.INFO: IMEI packet received {"connection_id":172975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":172975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:33:07] local.INFO: TCP Data received {"connection_id":172975,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:33:07] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:33:07] local.INFO: Packet analysis {"connection_id":172975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:33:07] local.INFO: Extracted packet for processing {"connection_id":172975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846195712001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788462003000,"timestamp_ms":1788462003000,"timestamp_seconds":1788462003,"priority":1,"record_length":96,"hex_timestamp":"000001a068a47338"} 
[2026-09-04 00:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 00:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846195712001,"66":25028,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846195712001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:33:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846195712001,"power":25028,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":172975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:33:07] local.INFO: GPS data processed {"connection_id":172975,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:33:07] local.INFO: Acknowledgment sent {"connection_id":172975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:33:39] local.INFO: TCP Data received {"connection_id":170271,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:33:39] local.INFO: Processing buffer {"connection_id":170271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:33:39] local.INFO: IMEI packet received {"connection_id":170271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":170271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:33:39] local.INFO: TCP Data received {"connection_id":172975,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:33:39] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:33:39] local.INFO: Packet analysis {"connection_id":172975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:33:39] local.INFO: Extracted packet for processing {"connection_id":172975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:33:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846195712001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788462003000,"timestamp_ms":1788462003000,"timestamp_seconds":1788462003,"priority":1,"record_length":96,"hex_timestamp":"000001a068a47338"} 
[2026-09-04 00:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 00:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846195712001,"66":25028,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846195712001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:33:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846195712001,"power":25028,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":172975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:33:39] local.INFO: GPS data processed {"connection_id":172975,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:33:39] local.INFO: Acknowledgment sent {"connection_id":172975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:34:01] local.INFO: TCP Data received {"connection_id":170569,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:34:01] local.INFO: Processing buffer {"connection_id":170569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:34:01] local.INFO: IMEI packet received {"connection_id":170569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":170569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:34:06] local.INFO: TCP Data received {"connection_id":170569,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:34:06] local.INFO: Processing buffer {"connection_id":170569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:34:06] local.INFO: IMEI packet received {"connection_id":170569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":170569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:34:07] local.INFO: TCP Data received {"connection_id":170569,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:34:07] local.INFO: Processing buffer {"connection_id":170569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:34:07] local.INFO: Packet analysis {"connection_id":170569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:34:07] local.INFO: Extracted packet for processing {"connection_id":170569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846195712001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788462003000,"timestamp_ms":1788462003000,"timestamp_seconds":1788462003,"priority":1,"record_length":96,"hex_timestamp":"000001a068a47338"} 
[2026-09-04 00:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 00:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846195712001,"66":25028,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846195712001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:34:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846195712001,"power":25028,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":170569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:34:07] local.INFO: GPS data processed {"connection_id":170569,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:34:07] local.INFO: Acknowledgment sent {"connection_id":170569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:34:39] local.INFO: TCP Data received {"connection_id":170569,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:34:39] local.INFO: Processing buffer {"connection_id":170569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:34:39] local.INFO: Packet analysis {"connection_id":170569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:34:39] local.INFO: Extracted packet for processing {"connection_id":170569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:34:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846195712001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788462003000,"timestamp_ms":1788462003000,"timestamp_seconds":1788462003,"priority":1,"record_length":96,"hex_timestamp":"000001a068a47338"} 
[2026-09-04 00:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 00:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846195712001,"66":25028,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846195712001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:34:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846195712001,"power":25028,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":170569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:34:39] local.INFO: GPS data processed {"connection_id":170569,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:34:39] local.INFO: Acknowledgment sent {"connection_id":170569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:35:06] local.INFO: TCP Data received {"connection_id":171675,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:35:06] local.INFO: Processing buffer {"connection_id":171675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:35:06] local.INFO: IMEI packet received {"connection_id":171675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":171675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:35:11] local.INFO: TCP Data received {"connection_id":171675,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:35:11] local.INFO: Processing buffer {"connection_id":171675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:35:11] local.INFO: IMEI packet received {"connection_id":171675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":171675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:35:12] local.INFO: TCP Data received {"connection_id":171675,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:35:12] local.INFO: Processing buffer {"connection_id":171675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:35:12] local.INFO: Packet analysis {"connection_id":171675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:35:12] local.INFO: Extracted packet for processing {"connection_id":171675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846195712001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788462003000,"timestamp_ms":1788462003000,"timestamp_seconds":1788462003,"priority":1,"record_length":96,"hex_timestamp":"000001a068a47338"} 
[2026-09-04 00:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 00:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846195712001,"66":25028,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846195712001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:35:12] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846195712001,"power":25028,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":171675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:35:12] local.INFO: GPS data processed {"connection_id":171675,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:35:12] local.INFO: Acknowledgment sent {"connection_id":171675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:35:17] local.INFO: TCP Data received {"connection_id":171675,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:35:17] local.INFO: Processing buffer {"connection_id":171675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a47338012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:35:17] local.INFO: Packet analysis {"connection_id":171675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:35:17] local.INFO: Extracted packet for processing {"connection_id":171675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a4"} 
[2026-09-04 00:35:17] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846195712001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788462003000,"timestamp_ms":1788462003000,"timestamp_seconds":1788462003,"priority":1,"record_length":96,"hex_timestamp":"000001a068a47338"} 
[2026-09-04 00:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 00:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846195712001,"66":25028,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846195712001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:35:17] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846195712001,"power":25028,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":171675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:35:17] local.INFO: GPS data processed {"connection_id":171675,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:35:17] local.INFO: Acknowledgment sent {"connection_id":171675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:36:01] local.INFO: TCP Data received {"connection_id":170273,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:36:01] local.INFO: Processing buffer {"connection_id":170273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:36:01] local.INFO: IMEI packet received {"connection_id":170273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":170273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:36:06] local.INFO: TCP Data received {"connection_id":170273,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:36:06] local.INFO: Processing buffer {"connection_id":170273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:36:06] local.INFO: IMEI packet received {"connection_id":170273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":170273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:36:07] local.INFO: TCP Data received {"connection_id":170273,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:36:07] local.INFO: Processing buffer {"connection_id":170273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:36:07] local.INFO: Packet analysis {"connection_id":170273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:36:07] local.INFO: Extracted packet for processing {"connection_id":170273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846272768001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788462304000,"timestamp_ms":1788462304000,"timestamp_seconds":1788462304,"priority":1,"record_length":96,"hex_timestamp":"000001a068a90b00"} 
[2026-09-04 00:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 00:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846272768001,"66":25462,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846272768001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:36:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846272768001,"power":25462,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":170273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:36:07] local.INFO: GPS data processed {"connection_id":170273,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:36:07] local.INFO: Acknowledgment sent {"connection_id":170273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:36:39] local.INFO: TCP Data received {"connection_id":170273,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:36:39] local.INFO: Processing buffer {"connection_id":170273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:36:39] local.INFO: Packet analysis {"connection_id":170273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:36:39] local.INFO: Extracted packet for processing {"connection_id":170273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:36:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846272768001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788462304000,"timestamp_ms":1788462304000,"timestamp_seconds":1788462304,"priority":1,"record_length":96,"hex_timestamp":"000001a068a90b00"} 
[2026-09-04 00:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 00:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846272768001,"66":25462,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846272768001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:36:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846272768001,"power":25462,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":170273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:36:39] local.INFO: GPS data processed {"connection_id":170273,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:36:39] local.INFO: Acknowledgment sent {"connection_id":170273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:37:01] local.INFO: TCP Data received {"connection_id":170274,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:37:01] local.INFO: Processing buffer {"connection_id":170274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:37:01] local.INFO: IMEI packet received {"connection_id":170274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":170274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:37:06] local.INFO: TCP Data received {"connection_id":170274,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:37:06] local.INFO: Processing buffer {"connection_id":170274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:37:06] local.INFO: IMEI packet received {"connection_id":170274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":170274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:37:07] local.INFO: TCP Data received {"connection_id":170274,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:37:07] local.INFO: Processing buffer {"connection_id":170274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:37:07] local.INFO: Packet analysis {"connection_id":170274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:37:07] local.INFO: Extracted packet for processing {"connection_id":170274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846272768001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788462304000,"timestamp_ms":1788462304000,"timestamp_seconds":1788462304,"priority":1,"record_length":96,"hex_timestamp":"000001a068a90b00"} 
[2026-09-04 00:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 00:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846272768001,"66":25462,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846272768001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:37:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846272768001,"power":25462,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":170274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:37:07] local.INFO: GPS data processed {"connection_id":170274,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:37:07] local.INFO: Acknowledgment sent {"connection_id":170274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:37:39] local.INFO: TCP Data received {"connection_id":170274,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:37:39] local.INFO: Processing buffer {"connection_id":170274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:37:39] local.INFO: Packet analysis {"connection_id":170274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:37:39] local.INFO: Extracted packet for processing {"connection_id":170274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:37:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846272768001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788462304000,"timestamp_ms":1788462304000,"timestamp_seconds":1788462304,"priority":1,"record_length":96,"hex_timestamp":"000001a068a90b00"} 
[2026-09-04 00:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 00:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846272768001,"66":25462,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846272768001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:37:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846272768001,"power":25462,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":170274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:37:39] local.INFO: GPS data processed {"connection_id":170274,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:37:39] local.INFO: Acknowledgment sent {"connection_id":170274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:38:06] local.INFO: TCP Data received {"connection_id":170275,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:38:06] local.INFO: Processing buffer {"connection_id":170275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:38:06] local.INFO: IMEI packet received {"connection_id":170275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":170275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:38:11] local.INFO: TCP Data received {"connection_id":170275,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:38:11] local.INFO: Processing buffer {"connection_id":170275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:38:11] local.INFO: IMEI packet received {"connection_id":170275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":170275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:38:12] local.INFO: TCP Data received {"connection_id":170275,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:38:12] local.INFO: Processing buffer {"connection_id":170275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:38:12] local.INFO: Packet analysis {"connection_id":170275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:38:12] local.INFO: Extracted packet for processing {"connection_id":170275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846272768001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788462304000,"timestamp_ms":1788462304000,"timestamp_seconds":1788462304,"priority":1,"record_length":96,"hex_timestamp":"000001a068a90b00"} 
[2026-09-04 00:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 00:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":170275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":170275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":170275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846272768001,"66":25462,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846272768001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:38:12] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846272768001,"power":25462,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":170275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:38:12] local.INFO: GPS data processed {"connection_id":170275,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:38:12] local.INFO: Acknowledgment sent {"connection_id":170275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:38:17] local.INFO: TCP Data received {"connection_id":170275,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:38:17] local.INFO: Processing buffer {"connection_id":170275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:38:17] local.INFO: Packet analysis {"connection_id":170275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:38:17] local.INFO: Extracted packet for processing {"connection_id":170275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846272768001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788462304000,"timestamp_ms":1788462304000,"timestamp_seconds":1788462304,"priority":1,"record_length":96,"hex_timestamp":"000001a068a90b00"} 
[2026-09-04 00:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 00:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":170275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":170275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":170275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846272768001,"66":25462,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846272768001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:38:17] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846272768001,"power":25462,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":170275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:38:17] local.INFO: GPS data processed {"connection_id":170275,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:38:17] local.INFO: Acknowledgment sent {"connection_id":170275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:39:01] local.INFO: TCP Data received {"connection_id":170572,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:39:01] local.INFO: Processing buffer {"connection_id":170572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:39:01] local.INFO: IMEI packet received {"connection_id":170572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":170572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:39:06] local.INFO: TCP Data received {"connection_id":170572,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:39:06] local.INFO: Processing buffer {"connection_id":170572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:39:06] local.INFO: IMEI packet received {"connection_id":170572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":170572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:39:07] local.INFO: TCP Data received {"connection_id":170572,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:39:07] local.INFO: Processing buffer {"connection_id":170572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:39:07] local.INFO: Packet analysis {"connection_id":170572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:39:07] local.INFO: Extracted packet for processing {"connection_id":170572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846272768001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788462304000,"timestamp_ms":1788462304000,"timestamp_seconds":1788462304,"priority":1,"record_length":96,"hex_timestamp":"000001a068a90b00"} 
[2026-09-04 00:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 00:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846272768001,"66":25462,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846272768001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:39:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846272768001,"power":25462,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":170572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:39:07] local.INFO: GPS data processed {"connection_id":170572,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:39:07] local.INFO: Acknowledgment sent {"connection_id":170572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:39:08] local.INFO: TCP Data received {"connection_id":170571,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:39:08] local.INFO: Processing buffer {"connection_id":170571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:39:08] local.INFO: IMEI packet received {"connection_id":170571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":170571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:39:39] local.INFO: TCP Data received {"connection_id":170573,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:39:39] local.INFO: Processing buffer {"connection_id":170573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:39:39] local.INFO: IMEI packet received {"connection_id":170573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":170573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:39:39] local.INFO: TCP Data received {"connection_id":170572,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:39:39] local.INFO: Processing buffer {"connection_id":170572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:39:39] local.INFO: Packet analysis {"connection_id":170572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:39:39] local.INFO: Extracted packet for processing {"connection_id":170572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:39:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846272768001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788462304000,"timestamp_ms":1788462304000,"timestamp_seconds":1788462304,"priority":1,"record_length":96,"hex_timestamp":"000001a068a90b00"} 
[2026-09-04 00:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 00:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846272768001,"66":25462,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846272768001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:39:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846272768001,"power":25462,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":170572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:39:39] local.INFO: GPS data processed {"connection_id":170572,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:39:39] local.INFO: Acknowledgment sent {"connection_id":170572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:40:01] local.INFO: TCP Data received {"connection_id":170276,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:40:01] local.INFO: Processing buffer {"connection_id":170276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:40:01] local.INFO: IMEI packet received {"connection_id":170276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":170276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:40:06] local.INFO: TCP Data received {"connection_id":170276,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:40:06] local.INFO: Processing buffer {"connection_id":170276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:40:06] local.INFO: IMEI packet received {"connection_id":170276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":170276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:40:07] local.INFO: TCP Data received {"connection_id":170276,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:40:07] local.INFO: Processing buffer {"connection_id":170276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:40:07] local.INFO: Packet analysis {"connection_id":170276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:40:07] local.INFO: Extracted packet for processing {"connection_id":170276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846272768001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788462304000,"timestamp_ms":1788462304000,"timestamp_seconds":1788462304,"priority":1,"record_length":96,"hex_timestamp":"000001a068a90b00"} 
[2026-09-04 00:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 00:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846272768001,"66":25462,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846272768001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:40:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846272768001,"power":25462,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":170276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:40:07] local.INFO: GPS data processed {"connection_id":170276,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:40:07] local.INFO: Acknowledgment sent {"connection_id":170276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:40:40] local.INFO: TCP Data received {"connection_id":170276,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:40:40] local.INFO: Processing buffer {"connection_id":170276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068a90b00012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:40:40] local.INFO: Packet analysis {"connection_id":170276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:40:40] local.INFO: Extracted packet for processing {"connection_id":170276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068a9"} 
[2026-09-04 00:40:40] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846272768001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788462304000,"timestamp_ms":1788462304000,"timestamp_seconds":1788462304,"priority":1,"record_length":96,"hex_timestamp":"000001a068a90b00"} 
[2026-09-04 00:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 00:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846272768001,"66":25462,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846272768001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:40:40] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846272768001,"power":25462,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":170276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:40:40] local.INFO: GPS data processed {"connection_id":170276,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:40:40] local.INFO: Acknowledgment sent {"connection_id":170276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:41:01] local.INFO: TCP Data received {"connection_id":172978,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:41:01] local.INFO: Processing buffer {"connection_id":172978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:41:01] local.INFO: IMEI packet received {"connection_id":172978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":172978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:41:06] local.INFO: TCP Data received {"connection_id":172978,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:41:06] local.INFO: Processing buffer {"connection_id":172978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:41:06] local.INFO: IMEI packet received {"connection_id":172978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":172978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:41:07] local.INFO: TCP Data received {"connection_id":172978,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:41:07] local.INFO: Processing buffer {"connection_id":172978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:41:07] local.INFO: Packet analysis {"connection_id":172978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:41:07] local.INFO: Extracted packet for processing {"connection_id":172978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846349824001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788462605000,"timestamp_ms":1788462605000,"timestamp_seconds":1788462605,"priority":1,"record_length":96,"hex_timestamp":"000001a068ada2c8"} 
[2026-09-04 00:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 00:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846349824001,"66":25299,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846349824001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:41:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846349824001,"power":25299,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":172978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:41:07] local.INFO: GPS data processed {"connection_id":172978,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:41:07] local.INFO: Acknowledgment sent {"connection_id":172978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:41:39] local.INFO: TCP Data received {"connection_id":172978,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:41:39] local.INFO: Processing buffer {"connection_id":172978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:41:39] local.INFO: Packet analysis {"connection_id":172978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:41:39] local.INFO: Extracted packet for processing {"connection_id":172978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:41:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846349824001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788462605000,"timestamp_ms":1788462605000,"timestamp_seconds":1788462605,"priority":1,"record_length":96,"hex_timestamp":"000001a068ada2c8"} 
[2026-09-04 00:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 00:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846349824001,"66":25299,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846349824001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:41:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846349824001,"power":25299,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":172978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:41:39] local.INFO: GPS data processed {"connection_id":172978,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:41:39] local.INFO: Acknowledgment sent {"connection_id":172978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:42:01] local.INFO: TCP Data received {"connection_id":171677,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:42:01] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:42:01] local.INFO: IMEI packet received {"connection_id":171677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":171677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:42:06] local.INFO: TCP Data received {"connection_id":171677,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:42:06] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:42:06] local.INFO: IMEI packet received {"connection_id":171677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":171677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:42:08] local.INFO: TCP Data received {"connection_id":171677,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:42:08] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:42:08] local.INFO: Packet analysis {"connection_id":171677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:42:08] local.INFO: Extracted packet for processing {"connection_id":171677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846349824001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788462605000,"timestamp_ms":1788462605000,"timestamp_seconds":1788462605,"priority":1,"record_length":96,"hex_timestamp":"000001a068ada2c8"} 
[2026-09-04 00:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 00:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846349824001,"66":25299,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846349824001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:42:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846349824001,"power":25299,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":171677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:42:08] local.INFO: GPS data processed {"connection_id":171677,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:42:08] local.INFO: Acknowledgment sent {"connection_id":171677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:42:39] local.INFO: TCP Data received {"connection_id":171677,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:42:39] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:42:39] local.INFO: Packet analysis {"connection_id":171677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:42:39] local.INFO: Extracted packet for processing {"connection_id":171677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:42:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846349824001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788462605000,"timestamp_ms":1788462605000,"timestamp_seconds":1788462605,"priority":1,"record_length":96,"hex_timestamp":"000001a068ada2c8"} 
[2026-09-04 00:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 00:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846349824001,"66":25299,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846349824001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:42:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846349824001,"power":25299,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":171677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:42:39] local.INFO: GPS data processed {"connection_id":171677,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:42:39] local.INFO: Acknowledgment sent {"connection_id":171677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:43:06] local.INFO: TCP Data received {"connection_id":171679,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:43:06] local.INFO: Processing buffer {"connection_id":171679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:43:06] local.INFO: IMEI packet received {"connection_id":171679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":171679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:43:11] local.INFO: TCP Data received {"connection_id":171679,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:43:11] local.INFO: Processing buffer {"connection_id":171679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:43:11] local.INFO: IMEI packet received {"connection_id":171679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":171679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:43:12] local.INFO: TCP Data received {"connection_id":171679,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:43:12] local.INFO: Processing buffer {"connection_id":171679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:43:12] local.INFO: Packet analysis {"connection_id":171679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:43:12] local.INFO: Extracted packet for processing {"connection_id":171679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:43:12] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846349824001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788462605000,"timestamp_ms":1788462605000,"timestamp_seconds":1788462605,"priority":1,"record_length":96,"hex_timestamp":"000001a068ada2c8"} 
[2026-09-04 00:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 00:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846349824001,"66":25299,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846349824001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:43:12] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846349824001,"power":25299,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":171679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:43:12] local.INFO: GPS data processed {"connection_id":171679,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:43:12] local.INFO: Acknowledgment sent {"connection_id":171679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:43:17] local.INFO: TCP Data received {"connection_id":171679,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:43:17] local.INFO: Processing buffer {"connection_id":171679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:43:17] local.INFO: Packet analysis {"connection_id":171679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:43:17] local.INFO: Extracted packet for processing {"connection_id":171679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846349824001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788462605000,"timestamp_ms":1788462605000,"timestamp_seconds":1788462605,"priority":1,"record_length":96,"hex_timestamp":"000001a068ada2c8"} 
[2026-09-04 00:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 00:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846349824001,"66":25299,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846349824001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:43:17] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846349824001,"power":25299,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":171679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:43:17] local.INFO: GPS data processed {"connection_id":171679,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:43:17] local.INFO: Acknowledgment sent {"connection_id":171679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:44:01] local.INFO: TCP Data received {"connection_id":172979,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:44:01] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:44:01] local.INFO: IMEI packet received {"connection_id":172979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":172979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:44:06] local.INFO: TCP Data received {"connection_id":172979,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:44:06] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:44:06] local.INFO: IMEI packet received {"connection_id":172979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":172979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:44:07] local.INFO: TCP Data received {"connection_id":172979,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:44:07] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:44:07] local.INFO: Packet analysis {"connection_id":172979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:44:07] local.INFO: Extracted packet for processing {"connection_id":172979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846349824001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788462605000,"timestamp_ms":1788462605000,"timestamp_seconds":1788462605,"priority":1,"record_length":96,"hex_timestamp":"000001a068ada2c8"} 
[2026-09-04 00:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 00:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846349824001,"66":25299,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846349824001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:44:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846349824001,"power":25299,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":172979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:44:07] local.INFO: GPS data processed {"connection_id":172979,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:44:07] local.INFO: Acknowledgment sent {"connection_id":172979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:44:39] local.INFO: TCP Data received {"connection_id":172979,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:44:39] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:44:39] local.INFO: Packet analysis {"connection_id":172979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:44:39] local.INFO: Extracted packet for processing {"connection_id":172979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:44:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846349824001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788462605000,"timestamp_ms":1788462605000,"timestamp_seconds":1788462605,"priority":1,"record_length":96,"hex_timestamp":"000001a068ada2c8"} 
[2026-09-04 00:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 00:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846349824001,"66":25299,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846349824001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:44:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846349824001,"power":25299,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":172979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:44:39] local.INFO: GPS data processed {"connection_id":172979,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:44:39] local.INFO: Acknowledgment sent {"connection_id":172979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:45:01] local.INFO: TCP Data received {"connection_id":170577,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:45:01] local.INFO: Processing buffer {"connection_id":170577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:45:01] local.INFO: IMEI packet received {"connection_id":170577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":170577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:45:06] local.INFO: TCP Data received {"connection_id":170577,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:45:06] local.INFO: Processing buffer {"connection_id":170577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:45:06] local.INFO: IMEI packet received {"connection_id":170577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":170577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:45:07] local.INFO: TCP Data received {"connection_id":170577,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:45:07] local.INFO: Processing buffer {"connection_id":170577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:45:07] local.INFO: Packet analysis {"connection_id":170577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:45:07] local.INFO: Extracted packet for processing {"connection_id":170577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846349824001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788462605000,"timestamp_ms":1788462605000,"timestamp_seconds":1788462605,"priority":1,"record_length":96,"hex_timestamp":"000001a068ada2c8"} 
[2026-09-04 00:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 00:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846349824001,"66":25299,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846349824001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:45:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846349824001,"power":25299,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":170577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:45:07] local.INFO: GPS data processed {"connection_id":170577,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:45:07] local.INFO: Acknowledgment sent {"connection_id":170577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:45:09] local.INFO: TCP Data received {"connection_id":170576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:45:09] local.INFO: Processing buffer {"connection_id":170576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:45:09] local.INFO: IMEI packet received {"connection_id":170576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":170576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:45:39] local.INFO: TCP Data received {"connection_id":170577,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:45:39] local.INFO: Processing buffer {"connection_id":170577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ada2c8012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:45:39] local.INFO: Packet analysis {"connection_id":170577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:45:39] local.INFO: Extracted packet for processing {"connection_id":170577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ad"} 
[2026-09-04 00:45:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846349824001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788462605000,"timestamp_ms":1788462605000,"timestamp_seconds":1788462605,"priority":1,"record_length":96,"hex_timestamp":"000001a068ada2c8"} 
[2026-09-04 00:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 00:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846349824001,"66":25299,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846349824001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:45:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846349824001,"power":25299,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":170577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:45:39] local.INFO: GPS data processed {"connection_id":170577,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:45:39] local.INFO: Acknowledgment sent {"connection_id":170577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:45:44] local.INFO: TCP Data received {"connection_id":172980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:45:44] local.INFO: Processing buffer {"connection_id":172980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:45:44] local.INFO: IMEI packet received {"connection_id":172980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":172980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:46:01] local.INFO: TCP Data received {"connection_id":170578,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:46:01] local.INFO: Processing buffer {"connection_id":170578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:46:01] local.INFO: IMEI packet received {"connection_id":170578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":170578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:46:06] local.INFO: TCP Data received {"connection_id":170578,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:46:06] local.INFO: Processing buffer {"connection_id":170578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:46:06] local.INFO: IMEI packet received {"connection_id":170578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":170578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:46:07] local.INFO: TCP Data received {"connection_id":170578,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:46:07] local.INFO: Processing buffer {"connection_id":170578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:46:07] local.INFO: Packet analysis {"connection_id":170578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:46:07] local.INFO: Extracted packet for processing {"connection_id":170578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846426880001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788462906000,"timestamp_ms":1788462906000,"timestamp_seconds":1788462906,"priority":1,"record_length":96,"hex_timestamp":"000001a068b23a90"} 
[2026-09-04 00:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 00:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846426880001,"66":25538,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846426880001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:46:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846426880001,"power":25538,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":170578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:46:07] local.INFO: GPS data processed {"connection_id":170578,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:46:07] local.INFO: Acknowledgment sent {"connection_id":170578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:46:39] local.INFO: TCP Data received {"connection_id":170578,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:46:39] local.INFO: Processing buffer {"connection_id":170578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:46:39] local.INFO: Packet analysis {"connection_id":170578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:46:39] local.INFO: Extracted packet for processing {"connection_id":170578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846426880001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788462906000,"timestamp_ms":1788462906000,"timestamp_seconds":1788462906,"priority":1,"record_length":96,"hex_timestamp":"000001a068b23a90"} 
[2026-09-04 00:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 00:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846426880001,"66":25538,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846426880001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:46:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846426880001,"power":25538,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":170578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:46:39] local.INFO: GPS data processed {"connection_id":170578,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:46:39] local.INFO: Acknowledgment sent {"connection_id":170578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:47:02] local.INFO: TCP Data received {"connection_id":172981,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:47:02] local.INFO: Processing buffer {"connection_id":172981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:47:02] local.INFO: IMEI packet received {"connection_id":172981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":172981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:47:06] local.INFO: TCP Data received {"connection_id":172981,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:47:06] local.INFO: Processing buffer {"connection_id":172981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:47:06] local.INFO: IMEI packet received {"connection_id":172981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":172981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:47:08] local.INFO: TCP Data received {"connection_id":172981,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:47:08] local.INFO: Processing buffer {"connection_id":172981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:47:08] local.INFO: Packet analysis {"connection_id":172981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:47:08] local.INFO: Extracted packet for processing {"connection_id":172981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:47:08] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846426880001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788462906000,"timestamp_ms":1788462906000,"timestamp_seconds":1788462906,"priority":1,"record_length":96,"hex_timestamp":"000001a068b23a90"} 
[2026-09-04 00:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 00:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846426880001,"66":25538,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846426880001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:47:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846426880001,"power":25538,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":172981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:47:08] local.INFO: GPS data processed {"connection_id":172981,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:47:08] local.INFO: Acknowledgment sent {"connection_id":172981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:47:40] local.INFO: TCP Data received {"connection_id":172981,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:47:40] local.INFO: Processing buffer {"connection_id":172981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:47:40] local.INFO: Packet analysis {"connection_id":172981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:47:40] local.INFO: Extracted packet for processing {"connection_id":172981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:47:40] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846426880001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788462906000,"timestamp_ms":1788462906000,"timestamp_seconds":1788462906,"priority":1,"record_length":96,"hex_timestamp":"000001a068b23a90"} 
[2026-09-04 00:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 00:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846426880001,"66":25538,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846426880001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:47:40] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846426880001,"power":25538,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":172981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:47:40] local.INFO: GPS data processed {"connection_id":172981,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:47:40] local.INFO: Acknowledgment sent {"connection_id":172981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:48:01] local.INFO: TCP Data received {"connection_id":170277,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:48:01] local.INFO: Processing buffer {"connection_id":170277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:48:01] local.INFO: IMEI packet received {"connection_id":170277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":170277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:48:06] local.INFO: TCP Data received {"connection_id":170277,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:48:06] local.INFO: Processing buffer {"connection_id":170277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:48:06] local.INFO: IMEI packet received {"connection_id":170277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":170277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:48:07] local.INFO: TCP Data received {"connection_id":170277,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:48:07] local.INFO: Processing buffer {"connection_id":170277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:48:07] local.INFO: Packet analysis {"connection_id":170277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:48:07] local.INFO: Extracted packet for processing {"connection_id":170277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846426880001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788462906000,"timestamp_ms":1788462906000,"timestamp_seconds":1788462906,"priority":1,"record_length":96,"hex_timestamp":"000001a068b23a90"} 
[2026-09-04 00:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 00:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846426880001,"66":25538,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846426880001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:48:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846426880001,"power":25538,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":170277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:48:07] local.INFO: GPS data processed {"connection_id":170277,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:48:07] local.INFO: Acknowledgment sent {"connection_id":170277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:48:39] local.INFO: TCP Data received {"connection_id":170277,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:48:39] local.INFO: Processing buffer {"connection_id":170277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:48:39] local.INFO: Packet analysis {"connection_id":170277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:48:39] local.INFO: Extracted packet for processing {"connection_id":170277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:48:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846426880001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788462906000,"timestamp_ms":1788462906000,"timestamp_seconds":1788462906,"priority":1,"record_length":96,"hex_timestamp":"000001a068b23a90"} 
[2026-09-04 00:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 00:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846426880001,"66":25538,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846426880001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:48:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846426880001,"power":25538,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":170277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:48:39] local.INFO: GPS data processed {"connection_id":170277,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:48:39] local.INFO: Acknowledgment sent {"connection_id":170277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:49:01] local.INFO: TCP Data received {"connection_id":172983,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:49:01] local.INFO: Processing buffer {"connection_id":172983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:49:01] local.INFO: IMEI packet received {"connection_id":172983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":172983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:49:06] local.INFO: TCP Data received {"connection_id":172983,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:49:06] local.INFO: Processing buffer {"connection_id":172983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:49:06] local.INFO: IMEI packet received {"connection_id":172983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":172983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:49:07] local.INFO: TCP Data received {"connection_id":172983,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:49:07] local.INFO: Processing buffer {"connection_id":172983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:49:07] local.INFO: Packet analysis {"connection_id":172983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:49:07] local.INFO: Extracted packet for processing {"connection_id":172983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846426880001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788462906000,"timestamp_ms":1788462906000,"timestamp_seconds":1788462906,"priority":1,"record_length":96,"hex_timestamp":"000001a068b23a90"} 
[2026-09-04 00:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 00:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846426880001,"66":25538,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846426880001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:49:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846426880001,"power":25538,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":172983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:49:08] local.INFO: GPS data processed {"connection_id":172983,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:49:08] local.INFO: Acknowledgment sent {"connection_id":172983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:49:39] local.INFO: TCP Data received {"connection_id":172983,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:49:39] local.INFO: Processing buffer {"connection_id":172983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:49:39] local.INFO: Packet analysis {"connection_id":172983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:49:39] local.INFO: Extracted packet for processing {"connection_id":172983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:49:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846426880001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788462906000,"timestamp_ms":1788462906000,"timestamp_seconds":1788462906,"priority":1,"record_length":96,"hex_timestamp":"000001a068b23a90"} 
[2026-09-04 00:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 00:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846426880001,"66":25538,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846426880001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:49:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846426880001,"power":25538,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":172983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:49:39] local.INFO: GPS data processed {"connection_id":172983,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:49:39] local.INFO: Acknowledgment sent {"connection_id":172983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:50:06] local.INFO: TCP Data received {"connection_id":172985,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:50:06] local.INFO: Processing buffer {"connection_id":172985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:50:06] local.INFO: IMEI packet received {"connection_id":172985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":172985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:50:11] local.INFO: TCP Data received {"connection_id":172985,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:50:11] local.INFO: Processing buffer {"connection_id":172985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:50:11] local.INFO: IMEI packet received {"connection_id":172985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":172985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:50:12] local.INFO: TCP Data received {"connection_id":172985,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:50:12] local.INFO: Processing buffer {"connection_id":172985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:50:12] local.INFO: Packet analysis {"connection_id":172985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:50:12] local.INFO: Extracted packet for processing {"connection_id":172985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846426880001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788462906000,"timestamp_ms":1788462906000,"timestamp_seconds":1788462906,"priority":1,"record_length":96,"hex_timestamp":"000001a068b23a90"} 
[2026-09-04 00:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 00:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846426880001,"66":25538,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846426880001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:50:12] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846426880001,"power":25538,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":172985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:50:12] local.INFO: GPS data processed {"connection_id":172985,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:50:12] local.INFO: Acknowledgment sent {"connection_id":172985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:50:17] local.INFO: TCP Data received {"connection_id":172985,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:50:17] local.INFO: Processing buffer {"connection_id":172985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b23a90012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:50:17] local.INFO: Packet analysis {"connection_id":172985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:50:17] local.INFO: Extracted packet for processing {"connection_id":172985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b2"} 
[2026-09-04 00:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846426880001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788462906000,"timestamp_ms":1788462906000,"timestamp_seconds":1788462906,"priority":1,"record_length":96,"hex_timestamp":"000001a068b23a90"} 
[2026-09-04 00:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 00:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":172985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":172985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":172985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846426880001,"66":25538,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846426880001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:50:17] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846426880001,"power":25538,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":172985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:50:17] local.INFO: GPS data processed {"connection_id":172985,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:50:17] local.INFO: Acknowledgment sent {"connection_id":172985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:51:01] local.INFO: TCP Data received {"connection_id":170279,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:51:01] local.INFO: Processing buffer {"connection_id":170279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:51:01] local.INFO: IMEI packet received {"connection_id":170279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":170279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:51:06] local.INFO: TCP Data received {"connection_id":170279,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:51:06] local.INFO: Processing buffer {"connection_id":170279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:51:06] local.INFO: IMEI packet received {"connection_id":170279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":170279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:51:07] local.INFO: TCP Data received {"connection_id":170279,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b6d258012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b6d258012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:51:07] local.INFO: Processing buffer {"connection_id":170279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b6d258012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:51:07] local.INFO: Packet analysis {"connection_id":170279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b6"} 
[2026-09-04 00:51:07] local.INFO: Extracted packet for processing {"connection_id":170279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b6"} 
[2026-09-04 00:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846503936001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788463207000,"timestamp_ms":1788463207000,"timestamp_seconds":1788463207,"priority":1,"record_length":96,"hex_timestamp":"000001a068b6d258"} 
[2026-09-04 00:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 00:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846503936001,"66":25538,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846503936001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:51:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846503936001,"power":25538,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":170279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:51:07] local.INFO: GPS data processed {"connection_id":170279,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:51:07] local.INFO: Acknowledgment sent {"connection_id":170279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:51:09] local.INFO: TCP Data received {"connection_id":171680,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:51:09] local.INFO: Processing buffer {"connection_id":171680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:51:09] local.INFO: IMEI packet received {"connection_id":171680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":171680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:51:39] local.INFO: TCP Data received {"connection_id":170580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:51:39] local.INFO: Processing buffer {"connection_id":170580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:51:39] local.INFO: IMEI packet received {"connection_id":170580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":170580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:51:39] local.INFO: TCP Data received {"connection_id":170279,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b6d258012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b6d258012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:51:39] local.INFO: Processing buffer {"connection_id":170279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b6d258012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:51:39] local.INFO: Packet analysis {"connection_id":170279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b6"} 
[2026-09-04 00:51:39] local.INFO: Extracted packet for processing {"connection_id":170279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b6"} 
[2026-09-04 00:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846503936001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788463207000,"timestamp_ms":1788463207000,"timestamp_seconds":1788463207,"priority":1,"record_length":96,"hex_timestamp":"000001a068b6d258"} 
[2026-09-04 00:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 00:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846503936001,"66":25538,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846503936001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:51:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846503936001,"power":25538,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":170279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:51:39] local.INFO: GPS data processed {"connection_id":170279,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:51:39] local.INFO: Acknowledgment sent {"connection_id":170279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:52:01] local.INFO: TCP Data received {"connection_id":172986,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:52:01] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:52:01] local.INFO: IMEI packet received {"connection_id":172986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":172986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:52:06] local.INFO: TCP Data received {"connection_id":172986,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:52:06] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:52:06] local.INFO: IMEI packet received {"connection_id":172986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":172986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:52:07] local.INFO: TCP Data received {"connection_id":172986,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b6d258012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b6d258012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:52:07] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b6d258012d10eb8006e4e310000b013b2d..."} 
[2026-09-04 00:52:07] local.INFO: Packet analysis {"connection_id":172986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b6"} 
[2026-09-04 00:52:07] local.INFO: Extracted packet for processing {"connection_id":172986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b6"} 
[2026-09-04 00:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846503936001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788463207000,"timestamp_ms":1788463207000,"timestamp_seconds":1788463207,"priority":1,"record_length":96,"hex_timestamp":"000001a068b6d258"} 
[2026-09-04 00:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 00:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846503936001,"66":25538,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846503936001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:52:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846503936001,"power":25538,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":172986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:52:07] local.INFO: GPS data processed {"connection_id":172986,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:52:07] local.INFO: Acknowledgment sent {"connection_id":172986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:52:39] local.INFO: TCP Data received {"connection_id":172986,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b87068012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b87068012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:52:39] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b87068012d10eb8006e4e310000b013b2c..."} 
[2026-09-04 00:52:39] local.INFO: Packet analysis {"connection_id":172986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:52:39] local.INFO: Extracted packet for processing {"connection_id":172986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756083584,"raw_latitude":115663632,"longitude_deg":75.6083584,"latitude_deg":11.5663632,"altitude":11,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d10eb80","hex_latitude":"06e4e310","is_valid_coordinates":true} 
[2026-09-04 00:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846580992001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788463313000,"timestamp_ms":1788463313000,"timestamp_seconds":1788463313,"priority":1,"record_length":96,"hex_timestamp":"000001a068b87068"} 
[2026-09-04 00:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 00:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846580992001,"66":25538,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846580992001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:52:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846580992001,"power":25538,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":172986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:52:39] local.INFO: GPS data processed {"connection_id":172986,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:52:39] local.INFO: Acknowledgment sent {"connection_id":172986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:53:01] local.INFO: TCP Data received {"connection_id":170582,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:53:01] local.INFO: Processing buffer {"connection_id":170582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:53:01] local.INFO: IMEI packet received {"connection_id":170582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":170582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:53:01] local.INFO: TCP Data received {"connection_id":170582,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:53:01] local.INFO: Processing buffer {"connection_id":170582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:53:01] local.INFO: IMEI packet received {"connection_id":170582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":170582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:53:06] local.INFO: TCP Data received {"connection_id":170582,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:53:06] local.INFO: Processing buffer {"connection_id":170582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:53:06] local.INFO: IMEI packet received {"connection_id":170582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":170582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:53:08] local.INFO: TCP Data received {"connection_id":170582,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b887d8012d10ea8006e4e370000b014d2c..."} 
[2026-09-04 00:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b887d8012d10ea8006e4e370000b014d2c..."} 
[2026-09-04 00:53:08] local.INFO: Processing buffer {"connection_id":170582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b887d8012d10ea8006e4e370000b014d2c..."} 
[2026-09-04 00:53:08] local.INFO: Packet analysis {"connection_id":170582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:53:08] local.INFO: Extracted packet for processing {"connection_id":170582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:53:08] local.INFO: GPS Element Parsed {"raw_longitude":756083328,"raw_latitude":115663728,"longitude_deg":75.6083328,"latitude_deg":11.5663728,"altitude":11,"angle":333,"satellites":44,"speed":0,"hex_longitude":"2d10ea80","hex_latitude":"06e4e370","is_valid_coordinates":true} 
[2026-09-04 00:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846608128001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219208891232096256,"note":"Value kept but may cause issues"} 
[2026-09-04 00:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788463319000,"timestamp_ms":1788463319000,"timestamp_seconds":1788463319,"priority":1,"record_length":96,"hex_timestamp":"000001a068b887d8"} 
[2026-09-04 00:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 00:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846608128001,"66":20668,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1219208891232096256},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846608128001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:53:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219208891232096256,"description":"Unknown IO ID 45"} 
[2026-09-04 00:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846608128001,"power":20668,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1219208891232096256}} 
[2026-09-04 00:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":170582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:53:08] local.INFO: GPS data processed {"connection_id":170582,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:53:08] local.INFO: Acknowledgment sent {"connection_id":170582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:53:39] local.INFO: TCP Data received {"connection_id":170582,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b8d9e0012d10ea8006e4e370000b014d2c..."} 
[2026-09-04 00:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b8d9e0012d10ea8006e4e370000b014d2c..."} 
[2026-09-04 00:53:39] local.INFO: Processing buffer {"connection_id":170582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b8d9e0012d10ea8006e4e370000b014d2c..."} 
[2026-09-04 00:53:39] local.INFO: Packet analysis {"connection_id":170582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:53:39] local.INFO: Extracted packet for processing {"connection_id":170582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:53:39] local.INFO: GPS Element Parsed {"raw_longitude":756083328,"raw_latitude":115663728,"longitude_deg":75.6083328,"latitude_deg":11.5663728,"altitude":11,"angle":333,"satellites":44,"speed":0,"hex_longitude":"2d10ea80","hex_latitude":"06e4e370","is_valid_coordinates":true} 
[2026-09-04 00:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846609664001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218927416255410176,"note":"Value kept but may cause issues"} 
[2026-09-04 00:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788463340000,"timestamp_ms":1788463340000,"timestamp_seconds":1788463340,"priority":1,"record_length":96,"hex_timestamp":"000001a068b8d9e0"} 
[2026-09-04 00:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":80,"n8_eight_byte":188,"data_length":795,"current_offset":136} 
[2026-09-04 00:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2290,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846609664001,"66":27571,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1218927416255410176},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846609664001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:53:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218927416255410176,"description":"Unknown IO ID 45"} 
[2026-09-04 00:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846609664001,"power":27571,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1218927416255410176}} 
[2026-09-04 00:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":170582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:53:39] local.INFO: GPS data processed {"connection_id":170582,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:53:39] local.INFO: Acknowledgment sent {"connection_id":170582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:54:01] local.INFO: TCP Data received {"connection_id":172987,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:54:01] local.INFO: Processing buffer {"connection_id":172987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:54:01] local.INFO: IMEI packet received {"connection_id":172987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":172987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:54:06] local.INFO: TCP Data received {"connection_id":172987,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:54:06] local.INFO: Processing buffer {"connection_id":172987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:54:06] local.INFO: IMEI packet received {"connection_id":172987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":172987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:54:07] local.INFO: TCP Data received {"connection_id":172987,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:54:07] local.INFO: Processing buffer {"connection_id":172987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:54:07] local.INFO: Packet analysis {"connection_id":172987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:54:07] local.INFO: Extracted packet for processing {"connection_id":172987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756083328,"raw_latitude":115663728,"longitude_deg":75.6083328,"latitude_deg":11.5663728,"altitude":11,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d10ea80","hex_latitude":"06e4e370","is_valid_coordinates":true} 
[2026-09-04 00:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846615040001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218927416255410176,"note":"Value kept but may cause issues"} 
[2026-09-04 00:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788463343000,"timestamp_ms":1788463343000,"timestamp_seconds":1788463343,"priority":1,"record_length":96,"hex_timestamp":"000001a068b8e598"} 
[2026-09-04 00:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 00:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846615040001,"66":27267,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1218927416255410176},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846615040001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:54:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218927416255410176,"description":"Unknown IO ID 45"} 
[2026-09-04 00:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846615040001,"power":27267,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1218927416255410176}} 
[2026-09-04 00:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":172987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:54:07] local.INFO: GPS data processed {"connection_id":172987,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:54:07] local.INFO: Acknowledgment sent {"connection_id":172987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:54:39] local.INFO: TCP Data received {"connection_id":172987,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:54:39] local.INFO: Processing buffer {"connection_id":172987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:54:39] local.INFO: Packet analysis {"connection_id":172987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:54:39] local.INFO: Extracted packet for processing {"connection_id":172987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:54:39] local.INFO: GPS Element Parsed {"raw_longitude":756083328,"raw_latitude":115663728,"longitude_deg":75.6083328,"latitude_deg":11.5663728,"altitude":11,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d10ea80","hex_latitude":"06e4e370","is_valid_coordinates":true} 
[2026-09-04 00:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846615040001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218927416255410176,"note":"Value kept but may cause issues"} 
[2026-09-04 00:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788463343000,"timestamp_ms":1788463343000,"timestamp_seconds":1788463343,"priority":1,"record_length":96,"hex_timestamp":"000001a068b8e598"} 
[2026-09-04 00:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 00:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846615040001,"66":27267,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1218927416255410176},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846615040001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:54:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218927416255410176,"description":"Unknown IO ID 45"} 
[2026-09-04 00:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846615040001,"power":27267,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1218927416255410176}} 
[2026-09-04 00:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":172987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:54:39] local.INFO: GPS data processed {"connection_id":172987,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:54:39] local.INFO: Acknowledgment sent {"connection_id":172987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:55:06] local.INFO: TCP Data received {"connection_id":170583,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:55:06] local.INFO: Processing buffer {"connection_id":170583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:55:06] local.INFO: IMEI packet received {"connection_id":170583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":170583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:55:11] local.INFO: TCP Data received {"connection_id":170583,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:55:11] local.INFO: Processing buffer {"connection_id":170583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:55:11] local.INFO: IMEI packet received {"connection_id":170583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":170583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:55:13] local.INFO: TCP Data received {"connection_id":170583,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:55:13] local.INFO: Processing buffer {"connection_id":170583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:55:13] local.INFO: Packet analysis {"connection_id":170583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:55:13] local.INFO: Extracted packet for processing {"connection_id":170583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:55:13] local.INFO: GPS Element Parsed {"raw_longitude":756083328,"raw_latitude":115663728,"longitude_deg":75.6083328,"latitude_deg":11.5663728,"altitude":11,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d10ea80","hex_latitude":"06e4e370","is_valid_coordinates":true} 
[2026-09-04 00:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846615040001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218927416255410176,"note":"Value kept but may cause issues"} 
[2026-09-04 00:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788463343000,"timestamp_ms":1788463343000,"timestamp_seconds":1788463343,"priority":1,"record_length":96,"hex_timestamp":"000001a068b8e598"} 
[2026-09-04 00:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 00:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":170583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":170583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":170583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846615040001,"66":27267,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1218927416255410176},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846615040001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:55:13] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218927416255410176,"description":"Unknown IO ID 45"} 
[2026-09-04 00:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846615040001,"power":27267,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1218927416255410176}} 
[2026-09-04 00:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":170583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:55:13] local.INFO: GPS data processed {"connection_id":170583,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:55:13] local.INFO: Acknowledgment sent {"connection_id":170583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:55:16] local.INFO: TCP Data received {"connection_id":170583,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:55:16] local.INFO: Processing buffer {"connection_id":170583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:55:16] local.INFO: Packet analysis {"connection_id":170583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:55:16] local.INFO: Extracted packet for processing {"connection_id":170583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756083328,"raw_latitude":115663728,"longitude_deg":75.6083328,"latitude_deg":11.5663728,"altitude":11,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d10ea80","hex_latitude":"06e4e370","is_valid_coordinates":true} 
[2026-09-04 00:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846615040001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218927416255410176,"note":"Value kept but may cause issues"} 
[2026-09-04 00:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788463343000,"timestamp_ms":1788463343000,"timestamp_seconds":1788463343,"priority":1,"record_length":96,"hex_timestamp":"000001a068b8e598"} 
[2026-09-04 00:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 00:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846615040001,"66":27267,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1218927416255410176},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846615040001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:55:16] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218927416255410176,"description":"Unknown IO ID 45"} 
[2026-09-04 00:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846615040001,"power":27267,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1218927416255410176}} 
[2026-09-04 00:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":170583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:55:16] local.INFO: GPS data processed {"connection_id":170583,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:55:16] local.INFO: Acknowledgment sent {"connection_id":170583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:56:01] local.INFO: TCP Data received {"connection_id":170282,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:56:01] local.INFO: Processing buffer {"connection_id":170282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:56:01] local.INFO: IMEI packet received {"connection_id":170282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":170282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:56:06] local.INFO: TCP Data received {"connection_id":170282,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:56:06] local.INFO: Processing buffer {"connection_id":170282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:56:06] local.INFO: IMEI packet received {"connection_id":170282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":170282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:56:07] local.INFO: TCP Data received {"connection_id":170282,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:56:07] local.INFO: Processing buffer {"connection_id":170282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:56:07] local.INFO: Packet analysis {"connection_id":170282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:56:07] local.INFO: Extracted packet for processing {"connection_id":170282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756083328,"raw_latitude":115663728,"longitude_deg":75.6083328,"latitude_deg":11.5663728,"altitude":11,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d10ea80","hex_latitude":"06e4e370","is_valid_coordinates":true} 
[2026-09-04 00:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846615040001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218927416255410176,"note":"Value kept but may cause issues"} 
[2026-09-04 00:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788463343000,"timestamp_ms":1788463343000,"timestamp_seconds":1788463343,"priority":1,"record_length":96,"hex_timestamp":"000001a068b8e598"} 
[2026-09-04 00:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 00:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846615040001,"66":27267,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1218927416255410176},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846615040001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:56:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218927416255410176,"description":"Unknown IO ID 45"} 
[2026-09-04 00:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846615040001,"power":27267,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1218927416255410176}} 
[2026-09-04 00:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":170282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:56:07] local.INFO: GPS data processed {"connection_id":170282,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:56:07] local.INFO: Acknowledgment sent {"connection_id":170282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:56:39] local.INFO: TCP Data received {"connection_id":170282,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:56:39] local.INFO: Processing buffer {"connection_id":170282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:56:39] local.INFO: Packet analysis {"connection_id":170282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:56:39] local.INFO: Extracted packet for processing {"connection_id":170282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:56:39] local.INFO: GPS Element Parsed {"raw_longitude":756083328,"raw_latitude":115663728,"longitude_deg":75.6083328,"latitude_deg":11.5663728,"altitude":11,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d10ea80","hex_latitude":"06e4e370","is_valid_coordinates":true} 
[2026-09-04 00:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846615040001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218927416255410176,"note":"Value kept but may cause issues"} 
[2026-09-04 00:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788463343000,"timestamp_ms":1788463343000,"timestamp_seconds":1788463343,"priority":1,"record_length":96,"hex_timestamp":"000001a068b8e598"} 
[2026-09-04 00:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 00:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846615040001,"66":27267,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1218927416255410176},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846615040001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:56:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218927416255410176,"description":"Unknown IO ID 45"} 
[2026-09-04 00:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846615040001,"power":27267,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1218927416255410176}} 
[2026-09-04 00:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":170282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:56:39] local.INFO: GPS data processed {"connection_id":170282,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:56:39] local.INFO: Acknowledgment sent {"connection_id":170282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:57:01] local.INFO: TCP Data received {"connection_id":170283,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:57:01] local.INFO: Processing buffer {"connection_id":170283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:57:01] local.INFO: IMEI packet received {"connection_id":170283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":170283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:57:06] local.INFO: TCP Data received {"connection_id":170283,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:57:06] local.INFO: Processing buffer {"connection_id":170283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:57:06] local.INFO: IMEI packet received {"connection_id":170283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":170283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:57:07] local.INFO: TCP Data received {"connection_id":170283,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:57:07] local.INFO: Processing buffer {"connection_id":170283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:57:07] local.INFO: Packet analysis {"connection_id":170283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:57:07] local.INFO: Extracted packet for processing {"connection_id":170283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756083328,"raw_latitude":115663728,"longitude_deg":75.6083328,"latitude_deg":11.5663728,"altitude":11,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d10ea80","hex_latitude":"06e4e370","is_valid_coordinates":true} 
[2026-09-04 00:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846615040001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218927416255410176,"note":"Value kept but may cause issues"} 
[2026-09-04 00:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788463343000,"timestamp_ms":1788463343000,"timestamp_seconds":1788463343,"priority":1,"record_length":96,"hex_timestamp":"000001a068b8e598"} 
[2026-09-04 00:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 00:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846615040001,"66":27267,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1218927416255410176},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846615040001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:57:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218927416255410176,"description":"Unknown IO ID 45"} 
[2026-09-04 00:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846615040001,"power":27267,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1218927416255410176}} 
[2026-09-04 00:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":170283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:57:07] local.INFO: GPS data processed {"connection_id":170283,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:57:07] local.INFO: Acknowledgment sent {"connection_id":170283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:57:39] local.INFO: TCP Data received {"connection_id":170283,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:57:39] local.INFO: Processing buffer {"connection_id":170283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b8e598012d10ea8006e4e370000b014d2b..."} 
[2026-09-04 00:57:39] local.INFO: Packet analysis {"connection_id":170283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:57:39] local.INFO: Extracted packet for processing {"connection_id":170283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 00:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756083328,"raw_latitude":115663728,"longitude_deg":75.6083328,"latitude_deg":11.5663728,"altitude":11,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d10ea80","hex_latitude":"06e4e370","is_valid_coordinates":true} 
[2026-09-04 00:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846615040001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218927416255410176,"note":"Value kept but may cause issues"} 
[2026-09-04 00:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788463343000,"timestamp_ms":1788463343000,"timestamp_seconds":1788463343,"priority":1,"record_length":96,"hex_timestamp":"000001a068b8e598"} 
[2026-09-04 00:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 00:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846615040001,"66":27267,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1218927416255410176},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846615040001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:57:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218927416255410176,"description":"Unknown IO ID 45"} 
[2026-09-04 00:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846615040001,"power":27267,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1218927416255410176}} 
[2026-09-04 00:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":170283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:57:39] local.INFO: GPS data processed {"connection_id":170283,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:57:39] local.INFO: Acknowledgment sent {"connection_id":170283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:57:44] local.INFO: TCP Data received {"connection_id":172989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:57:44] local.INFO: Processing buffer {"connection_id":172989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 00:57:44] local.INFO: IMEI packet received {"connection_id":172989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 00:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":172989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:58:06] local.INFO: TCP Data received {"connection_id":172990,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:58:06] local.INFO: Processing buffer {"connection_id":172990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:58:06] local.INFO: IMEI packet received {"connection_id":172990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":172990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:58:07] local.INFO: TCP Data received {"connection_id":172990,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:58:07] local.INFO: Processing buffer {"connection_id":172990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:58:07] local.INFO: IMEI packet received {"connection_id":172990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":172990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:58:08] local.INFO: TCP Data received {"connection_id":172990,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068bd90e8012d10e70006e4e600000d014d2c..."} 
[2026-09-04 00:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068bd90e8012d10e70006e4e600000d014d2c..."} 
[2026-09-04 00:58:08] local.INFO: Processing buffer {"connection_id":172990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068bd90e8012d10e70006e4e600000d014d2c..."} 
[2026-09-04 00:58:08] local.INFO: Packet analysis {"connection_id":172990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068bd"} 
[2026-09-04 00:58:08] local.INFO: Extracted packet for processing {"connection_id":172990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068bd"} 
[2026-09-04 00:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756082432,"raw_latitude":115664384,"longitude_deg":75.6082432,"latitude_deg":11.5664384,"altitude":13,"angle":333,"satellites":44,"speed":0,"hex_longitude":"2d10e700","hex_latitude":"06e4e600","is_valid_coordinates":true} 
[2026-09-04 00:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846615808001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218927416255410176,"note":"Value kept but may cause issues"} 
[2026-09-04 00:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788463649000,"timestamp_ms":1788463649000,"timestamp_seconds":1788463649,"priority":1,"record_length":96,"hex_timestamp":"000001a068bd90e8"} 
[2026-09-04 00:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 00:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846615808001,"66":25495,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1218927416255410176},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846615808001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:58:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218927416255410176,"description":"Unknown IO ID 45"} 
[2026-09-04 00:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846615808001,"power":25495,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1218927416255410176}} 
[2026-09-04 00:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":172990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:58:08] local.INFO: GPS data processed {"connection_id":172990,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:58:08] local.INFO: Acknowledgment sent {"connection_id":172990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:58:10] local.INFO: TCP Data received {"connection_id":172990,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068bd9ca0012d10e70006e4e600000d014d2b..."} 
[2026-09-04 00:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068bd9ca0012d10e70006e4e600000d014d2b..."} 
[2026-09-04 00:58:10] local.INFO: Processing buffer {"connection_id":172990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068bd9ca0012d10e70006e4e600000d014d2b..."} 
[2026-09-04 00:58:10] local.INFO: Packet analysis {"connection_id":172990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068bd"} 
[2026-09-04 00:58:10] local.INFO: Extracted packet for processing {"connection_id":172990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068bd"} 
[2026-09-04 00:58:10] local.INFO: GPS Element Parsed {"raw_longitude":756082432,"raw_latitude":115664384,"longitude_deg":75.6082432,"latitude_deg":11.5664384,"altitude":13,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d10e700","hex_latitude":"06e4e600","is_valid_coordinates":true} 
[2026-09-04 00:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846694144001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1217942253837090816,"note":"Value kept but may cause issues"} 
[2026-09-04 00:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788463652000,"timestamp_ms":1788463652000,"timestamp_seconds":1788463652,"priority":1,"record_length":96,"hex_timestamp":"000001a068bd9ca0"} 
[2026-09-04 00:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 00:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 00:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846694144001,"66":25430,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1217942253837090816},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846694144001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:58:10] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1217942253837090816,"description":"Unknown IO ID 45"} 
[2026-09-04 00:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846694144001,"power":25430,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1217942253837090816}} 
[2026-09-04 00:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":172990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:58:10] local.INFO: GPS data processed {"connection_id":172990,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:58:10] local.INFO: Acknowledgment sent {"connection_id":172990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:58:42] local.INFO: TCP Data received {"connection_id":172990,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068bdf290012d10e78006e4e7a8000d014b2c..."} 
[2026-09-04 00:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068bdf290012d10e78006e4e7a8000d014b2c..."} 
[2026-09-04 00:58:42] local.INFO: Processing buffer {"connection_id":172990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068bdf290012d10e78006e4e7a8000d014b2c..."} 
[2026-09-04 00:58:42] local.INFO: Packet analysis {"connection_id":172990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068bd"} 
[2026-09-04 00:58:42] local.INFO: Extracted packet for processing {"connection_id":172990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068bd"} 
[2026-09-04 00:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756082560,"raw_latitude":115664808,"longitude_deg":75.608256,"latitude_deg":11.5664808,"altitude":13,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d10e780","hex_latitude":"06e4e7a8","is_valid_coordinates":true} 
[2026-09-04 00:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846694912001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1217942253837090816,"note":"Value kept but may cause issues"} 
[2026-09-04 00:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788463674000,"timestamp_ms":1788463674000,"timestamp_seconds":1788463674,"priority":1,"record_length":96,"hex_timestamp":"000001a068bdf290"} 
[2026-09-04 00:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 00:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":172990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":172990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":172990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846694912001,"66":27300,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1217942253837090816},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846694912001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:58:42] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1217942253837090816,"description":"Unknown IO ID 45"} 
[2026-09-04 00:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846694912001,"power":27300,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1217942253837090816}} 
[2026-09-04 00:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":172990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:58:42] local.INFO: GPS data processed {"connection_id":172990,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:58:42] local.INFO: Acknowledgment sent {"connection_id":172990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:59:01] local.INFO: TCP Data received {"connection_id":171681,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:59:01] local.INFO: Processing buffer {"connection_id":171681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:59:01] local.INFO: IMEI packet received {"connection_id":171681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 00:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":171681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 00:59:02] local.INFO: TCP Data received {"connection_id":171681,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:59:02] local.INFO: Processing buffer {"connection_id":171681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:59:02] local.INFO: IMEI packet received {"connection_id":171681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":171681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:59:04] local.INFO: TCP Data received {"connection_id":171681,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:59:04] local.INFO: Processing buffer {"connection_id":171681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 00:59:04] local.INFO: IMEI packet received {"connection_id":171681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 00:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":171681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 00:59:05] local.INFO: TCP Data received {"connection_id":171681,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068be4498012d10e78006e4e7a8000d014b2c..."} 
[2026-09-04 00:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068be4498012d10e78006e4e7a8000d014b2c..."} 
[2026-09-04 00:59:05] local.INFO: Processing buffer {"connection_id":171681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068be4498012d10e78006e4e7a8000d014b2c..."} 
[2026-09-04 00:59:05] local.INFO: Packet analysis {"connection_id":171681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068be"} 
[2026-09-04 00:59:05] local.INFO: Extracted packet for processing {"connection_id":171681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068be"} 
[2026-09-04 00:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756082560,"raw_latitude":115664808,"longitude_deg":75.608256,"latitude_deg":11.5664808,"altitude":13,"angle":331,"satellites":44,"speed":0,"hex_longitude":"2d10e780","hex_latitude":"06e4e7a8","is_valid_coordinates":true} 
[2026-09-04 00:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846700544001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315828141260800,"note":"Value kept but may cause issues"} 
[2026-09-04 00:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218082991325554688,"note":"Value kept but may cause issues"} 
[2026-09-04 00:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788463695000,"timestamp_ms":1788463695000,"timestamp_seconds":1788463695,"priority":1,"record_length":96,"hex_timestamp":"000001a068be4498"} 
[2026-09-04 00:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 00:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846700544001,"66":27267,"138":206,"2":56576,"24":0,"16":397315828141260800,"45":1218082991325554688},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846700544001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:59:05] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315828141260800,"km_value":397315828141260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218082991325554688,"description":"Unknown IO ID 45"} 
[2026-09-04 00:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846700544001,"power":27267,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1218082991325554688}} 
[2026-09-04 00:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":171681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:59:05] local.INFO: GPS data processed {"connection_id":171681,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:59:05] local.INFO: Acknowledgment sent {"connection_id":171681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:59:06] local.INFO: TCP Data received {"connection_id":171681,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068be63d8012d10e68006e4ea08000b01652d..."} 
[2026-09-04 00:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068be63d8012d10e68006e4ea08000b01652d..."} 
[2026-09-04 00:59:06] local.INFO: Processing buffer {"connection_id":171681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068be63d8012d10e68006e4ea08000b01652d..."} 
[2026-09-04 00:59:06] local.INFO: Packet analysis {"connection_id":171681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068be"} 
[2026-09-04 00:59:06] local.INFO: Extracted packet for processing {"connection_id":171681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068be"} 
[2026-09-04 00:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756082304,"raw_latitude":115665416,"longitude_deg":75.6082304,"latitude_deg":11.5665416,"altitude":11,"angle":357,"satellites":45,"speed":8,"hex_longitude":"2d10e680","hex_latitude":"06e4ea08","is_valid_coordinates":true} 
[2026-09-04 00:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846705920001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315858206031872,"note":"Value kept but may cause issues"} 
[2026-09-04 00:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218082991325554688,"note":"Value kept but may cause issues"} 
[2026-09-04 00:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788463703000,"timestamp_ms":1788463703000,"timestamp_seconds":1788463703,"priority":1,"record_length":96,"hex_timestamp":"000001a068be63d8"} 
[2026-09-04 00:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 00:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846705920001,"66":27321,"138":206,"2":56576,"24":8,"16":397315858206031872,"45":1218082991325554688},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846705920001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:59:06] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315858206031872,"km_value":397315858206031.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218082991325554688,"description":"Unknown IO ID 45"} 
[2026-09-04 00:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846705920001,"power":27321,"unknown_138":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":1218082991325554688}} 
[2026-09-04 00:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":171681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:59:06] local.INFO: GPS data processed {"connection_id":171681,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:59:06] local.INFO: Acknowledgment sent {"connection_id":171681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 00:59:38] local.INFO: TCP Data received {"connection_id":171681,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068be6f90012d10e64006e4ecf8000b01502a..."} 
[2026-09-04 00:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068be6f90012d10e64006e4ecf8000b01502a..."} 
[2026-09-04 00:59:38] local.INFO: Processing buffer {"connection_id":171681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068be6f90012d10e64006e4ecf8000b01502a..."} 
[2026-09-04 00:59:38] local.INFO: Packet analysis {"connection_id":171681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068be"} 
[2026-09-04 00:59:38] local.INFO: Extracted packet for processing {"connection_id":171681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068be"} 
[2026-09-04 00:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756082240,"raw_latitude":115666168,"longitude_deg":75.608224,"latitude_deg":11.5666168,"altitude":11,"angle":336,"satellites":42,"speed":12,"hex_longitude":"2d10e640","hex_latitude":"06e4ecf8","is_valid_coordinates":true} 
[2026-09-04 00:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 00:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846707968001,"note":"Value kept but may cause issues"} 
[2026-09-04 00:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315896860737536,"note":"Value kept but may cause issues"} 
[2026-09-04 00:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1217801516348999680,"note":"Value kept but may cause issues"} 
[2026-09-04 00:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 00:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788463706000,"timestamp_ms":1788463706000,"timestamp_seconds":1788463706,"priority":1,"record_length":96,"hex_timestamp":"000001a068be6f90"} 
[2026-09-04 00:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 00:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 00:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 00:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 00:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 00:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 00:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 00:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 00:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 00:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 00:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 00:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 00:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846707968001,"66":26767,"138":206,"2":56576,"24":12,"16":397315896860737536,"45":1217801516348999680},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 00:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 00:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 00:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846707968001,"description":"Unknown IO ID 0"} 
[2026-09-04 00:59:38] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 00:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315896860737536,"km_value":397315896860737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 00:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1217801516348999680,"description":"Unknown IO ID 45"} 
[2026-09-04 00:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846707968001,"power":26767,"unknown_138":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":1217801516348999680}} 
[2026-09-04 00:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":171681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 00:59:38] local.INFO: GPS data processed {"connection_id":171681,"processed":1,"errors":0,"total":1} 
[2026-09-04 00:59:38] local.INFO: Acknowledgment sent {"connection_id":171681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:00:01] local.INFO: TCP Data received {"connection_id":170285,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:00:01] local.INFO: Processing buffer {"connection_id":170285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:00:01] local.INFO: IMEI packet received {"connection_id":170285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":170285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:00:01] local.INFO: TCP Data received {"connection_id":170285,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:00:01] local.INFO: Processing buffer {"connection_id":170285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:00:01] local.INFO: IMEI packet received {"connection_id":170285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":170285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:00:06] local.INFO: TCP Data received {"connection_id":170285,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:00:06] local.INFO: Processing buffer {"connection_id":170285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:00:06] local.INFO: IMEI packet received {"connection_id":170285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":170285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:00:07] local.INFO: TCP Data received {"connection_id":170285,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068be7760012d10e4c006e4ef30000c01442b..."} 
[2026-09-04 01:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068be7760012d10e4c006e4ef30000c01442b..."} 
[2026-09-04 01:00:07] local.INFO: Processing buffer {"connection_id":170285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068be7760012d10e4c006e4ef30000c01442b..."} 
[2026-09-04 01:00:07] local.INFO: Packet analysis {"connection_id":170285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068be"} 
[2026-09-04 01:00:07] local.INFO: Extracted packet for processing {"connection_id":170285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068be"} 
[2026-09-04 01:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756081856,"raw_latitude":115666736,"longitude_deg":75.6081856,"latitude_deg":11.5666736,"altitude":12,"angle":324,"satellites":43,"speed":14,"hex_longitude":"2d10e4c0","hex_latitude":"06e4ef30","is_valid_coordinates":true} 
[2026-09-04 01:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846708736001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397315931220475904,"note":"Value kept but may cause issues"} 
[2026-09-04 01:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1217731147605014528,"note":"Value kept but may cause issues"} 
[2026-09-04 01:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788463708000,"timestamp_ms":1788463708000,"timestamp_seconds":1788463708,"priority":1,"record_length":96,"hex_timestamp":"000001a068be7760"} 
[2026-09-04 01:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-09-04 01:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846708736001,"66":27343,"138":206,"2":56576,"24":14,"16":397315931220475904,"45":1217731147605014528},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 01:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846708736001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:00:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 01:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397315931220475904,"km_value":397315931220475.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1217731147605014528,"description":"Unknown IO ID 45"} 
[2026-09-04 01:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846708736001,"power":27343,"unknown_138":206,"power_alt":56576,"ignition":14,"odometer":null,"unknown_45":1217731147605014528}} 
[2026-09-04 01:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":170285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:00:07] local.INFO: GPS data processed {"connection_id":170285,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:00:07] local.INFO: Acknowledgment sent {"connection_id":170285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:00:39] local.INFO: TCP Data received {"connection_id":170285,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068beb1f8012d10d84006e50558000e01512b..."} 
[2026-09-04 01:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068beb1f8012d10d84006e50558000e01512b..."} 
[2026-09-04 01:00:39] local.INFO: Processing buffer {"connection_id":170285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068beb1f8012d10d84006e50558000e01512b..."} 
[2026-09-04 01:00:39] local.INFO: Packet analysis {"connection_id":170285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068be"} 
[2026-09-04 01:00:39] local.INFO: Extracted packet for processing {"connection_id":170285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068be"} 
[2026-09-04 01:00:39] local.INFO: GPS Element Parsed {"raw_longitude":756078656,"raw_latitude":115672408,"longitude_deg":75.6078656,"latitude_deg":11.5672408,"altitude":14,"angle":337,"satellites":43,"speed":21,"hex_longitude":"2d10d840","hex_latitude":"06e50558","is_valid_coordinates":true} 
[2026-09-04 01:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846709248001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397316244753088512,"note":"Value kept but may cause issues"} 
[2026-09-04 01:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1217308935140093952,"note":"Value kept but may cause issues"} 
[2026-09-04 01:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788463723000,"timestamp_ms":1788463723000,"timestamp_seconds":1788463723,"priority":1,"record_length":96,"hex_timestamp":"000001a068beb1f8"} 
[2026-09-04 01:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 01:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846709248001,"66":27343,"138":206,"2":56576,"24":21,"16":397316244753088512,"45":1217308935140093952},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 01:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846709248001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:00:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 01:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397316244753088512,"km_value":397316244753088.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1217308935140093952,"description":"Unknown IO ID 45"} 
[2026-09-04 01:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846709248001,"power":27343,"unknown_138":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":1217308935140093952}} 
[2026-09-04 01:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":170285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:00:39] local.INFO: GPS data processed {"connection_id":170285,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:00:39] local.INFO: Acknowledgment sent {"connection_id":170285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:01:01] local.INFO: TCP Data received {"connection_id":170585,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:01:01] local.INFO: Processing buffer {"connection_id":170585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:01:01] local.INFO: IMEI packet received {"connection_id":170585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":170585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:01:04] local.INFO: TCP Data received {"connection_id":170585,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:01:04] local.INFO: Processing buffer {"connection_id":170585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:01:04] local.INFO: IMEI packet received {"connection_id":170585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":170585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:01:06] local.INFO: TCP Data received {"connection_id":170585,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:01:06] local.INFO: Processing buffer {"connection_id":170585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:01:06] local.INFO: IMEI packet received {"connection_id":170585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":170585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:01:08] local.INFO: TCP Data received {"connection_id":170585,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068bee8a8012d10ce0006e526b0000e015b2e..."} 
[2026-09-04 01:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068bee8a8012d10ce0006e526b0000e015b2e..."} 
[2026-09-04 01:01:08] local.INFO: Processing buffer {"connection_id":170585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068bee8a8012d10ce0006e526b0000e015b2e..."} 
[2026-09-04 01:01:08] local.INFO: Packet analysis {"connection_id":170585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068be"} 
[2026-09-04 01:01:08] local.INFO: Extracted packet for processing {"connection_id":170585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068be"} 
[2026-09-04 01:01:08] local.INFO: GPS Element Parsed {"raw_longitude":756076032,"raw_latitude":115680944,"longitude_deg":75.6076032,"latitude_deg":11.5680944,"altitude":14,"angle":347,"satellites":46,"speed":28,"hex_longitude":"2d10ce00","hex_latitude":"06e526b0","is_valid_coordinates":true} 
[2026-09-04 01:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846713088001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397316678544785408,"note":"Value kept but may cause issues"} 
[2026-09-04 01:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1213790497932662784,"note":"Value kept but may cause issues"} 
[2026-09-04 01:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788463737000,"timestamp_ms":1788463737000,"timestamp_seconds":1788463737,"priority":1,"record_length":96,"hex_timestamp":"000001a068bee8a8"} 
[2026-09-04 01:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 01:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846713088001,"66":27343,"138":206,"2":56576,"24":28,"16":397316678544785408,"45":1213790497932662784},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-04 01:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846713088001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:01:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 01:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397316678544785408,"km_value":397316678544785.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1213790497932662784,"description":"Unknown IO ID 45"} 
[2026-09-04 01:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846713088001,"power":27343,"unknown_138":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":1213790497932662784}} 
[2026-09-04 01:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":170585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:01:08] local.INFO: GPS data processed {"connection_id":170585,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:01:08] local.INFO: Acknowledgment sent {"connection_id":170585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:01:40] local.INFO: TCP Data received {"connection_id":170585,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c082d0012d1000c006e68978000701302b..."} 
[2026-09-04 01:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c082d0012d1000c006e68978000701302b..."} 
[2026-09-04 01:01:40] local.INFO: Processing buffer {"connection_id":170585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c082d0012d1000c006e68978000701302b..."} 
[2026-09-04 01:01:40] local.INFO: Packet analysis {"connection_id":170585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c0"} 
[2026-09-04 01:01:40] local.INFO: Extracted packet for processing {"connection_id":170585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c0"} 
[2026-09-04 01:01:40] local.INFO: GPS Element Parsed {"raw_longitude":756023488,"raw_latitude":115771768,"longitude_deg":75.6023488,"latitude_deg":11.5771768,"altitude":7,"angle":304,"satellites":43,"speed":45,"hex_longitude":"2d1000c0","hex_latitude":"06e68978","is_valid_coordinates":true} 
[2026-09-04 01:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846741504001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397322021484101632,"note":"Value kept but may cause issues"} 
[2026-09-04 01:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1161295414800148480,"note":"Value kept but may cause issues"} 
[2026-09-04 01:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788463842000,"timestamp_ms":1788463842000,"timestamp_seconds":1788463842,"priority":1,"record_length":96,"hex_timestamp":"000001a068c082d0"} 
[2026-09-04 01:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 01:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846741504001,"66":27300,"150":206,"2":56576,"24":45,"16":397322021484101632,"45":1161295414800148480},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,45]} 
[2026-09-04 01:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846741504001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:01:40] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-04 01:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397322021484101632,"km_value":397322021484101.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1161295414800148480,"description":"Unknown IO ID 45"} 
[2026-09-04 01:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846741504001,"power":27300,"unknown_150":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":1161295414800148480}} 
[2026-09-04 01:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":170585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:01:40] local.INFO: GPS data processed {"connection_id":170585,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:01:40] local.INFO: Acknowledgment sent {"connection_id":170585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:02:01] local.INFO: TCP Data received {"connection_id":170586,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:02:01] local.INFO: Processing buffer {"connection_id":170586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:02:01] local.INFO: IMEI packet received {"connection_id":170586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":170586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:02:02] local.INFO: TCP Data received {"connection_id":170586,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:02:02] local.INFO: Processing buffer {"connection_id":170586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:02:02] local.INFO: IMEI packet received {"connection_id":170586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":170586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:02:06] local.INFO: TCP Data received {"connection_id":170586,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:02:06] local.INFO: Processing buffer {"connection_id":170586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:02:06] local.INFO: IMEI packet received {"connection_id":170586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":170586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:02:07] local.INFO: TCP Data received {"connection_id":170586,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c0a210012d0fe14006e69b60000701282b..."} 
[2026-09-04 01:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c0a210012d0fe14006e69b60000701282b..."} 
[2026-09-04 01:02:07] local.INFO: Processing buffer {"connection_id":170586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c0a210012d0fe14006e69b60000701282b..."} 
[2026-09-04 01:02:07] local.INFO: Packet analysis {"connection_id":170586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c0"} 
[2026-09-04 01:02:07] local.INFO: Extracted packet for processing {"connection_id":170586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c0"} 
[2026-09-04 01:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756015424,"raw_latitude":115776352,"longitude_deg":75.6015424,"latitude_deg":11.5776352,"altitude":7,"angle":296,"satellites":43,"speed":45,"hex_longitude":"2d0fe140","hex_latitude":"06e69b60","is_valid_coordinates":true} 
[2026-09-04 01:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846743552001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397322463865733120,"note":"Value kept but may cause issues"} 
[2026-09-04 01:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1153132640476952576,"note":"Value kept but may cause issues"} 
[2026-09-04 01:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788463850000,"timestamp_ms":1788463850000,"timestamp_seconds":1788463850,"priority":1,"record_length":96,"hex_timestamp":"000001a068c0a210"} 
[2026-09-04 01:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 01:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846743552001,"66":27321,"150":206,"2":56576,"24":45,"16":397322463865733120,"45":1153132640476952576},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,45]} 
[2026-09-04 01:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846743552001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:02:07] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-04 01:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397322463865733120,"km_value":397322463865733.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1153132640476952576,"description":"Unknown IO ID 45"} 
[2026-09-04 01:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846743552001,"power":27321,"unknown_150":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":1153132640476952576}} 
[2026-09-04 01:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":170586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:02:07] local.INFO: GPS data processed {"connection_id":170586,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:02:07] local.INFO: Acknowledgment sent {"connection_id":170586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:02:39] local.INFO: TCP Data received {"connection_id":170586,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c0c150012d0fbf4006e6aa58000701242b..."} 
[2026-09-04 01:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c0c150012d0fbf4006e6aa58000701242b..."} 
[2026-09-04 01:02:39] local.INFO: Processing buffer {"connection_id":170586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c0c150012d0fbf4006e6aa58000701242b..."} 
[2026-09-04 01:02:39] local.INFO: Packet analysis {"connection_id":170586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c0"} 
[2026-09-04 01:02:39] local.INFO: Extracted packet for processing {"connection_id":170586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c0"} 
[2026-09-04 01:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756006720,"raw_latitude":115780184,"longitude_deg":75.600672,"latitude_deg":11.5780184,"altitude":7,"angle":292,"satellites":43,"speed":46,"hex_longitude":"2d0fbf40","hex_latitude":"06e6aa58","is_valid_coordinates":true} 
[2026-09-04 01:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846745600001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397322919132266496,"note":"Value kept but may cause issues"} 
[2026-09-04 01:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1144266178711740416,"note":"Value kept but may cause issues"} 
[2026-09-04 01:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788463858000,"timestamp_ms":1788463858000,"timestamp_seconds":1788463858,"priority":1,"record_length":96,"hex_timestamp":"000001a068c0c150"} 
[2026-09-04 01:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 01:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846745600001,"66":27300,"150":206,"2":56576,"24":46,"16":397322919132266496,"45":1144266178711740416},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,45]} 
[2026-09-04 01:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846745600001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:02:39] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-04 01:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397322919132266496,"km_value":397322919132266.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1144266178711740416,"description":"Unknown IO ID 45"} 
[2026-09-04 01:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846745600001,"power":27300,"unknown_150":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":1144266178711740416}} 
[2026-09-04 01:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":170586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:02:39] local.INFO: GPS data processed {"connection_id":170586,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:02:39] local.INFO: Acknowledgment sent {"connection_id":170586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:03:01] local.INFO: TCP Data received {"connection_id":170287,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:03:01] local.INFO: Processing buffer {"connection_id":170287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:03:01] local.INFO: IMEI packet received {"connection_id":170287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":170287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:03:06] local.INFO: TCP Data received {"connection_id":170287,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:03:06] local.INFO: Processing buffer {"connection_id":170287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:03:06] local.INFO: IMEI packet received {"connection_id":170287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":170287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:03:07] local.INFO: TCP Data received {"connection_id":170287,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c0e090012d0f9d8006e6b9100008012529..."} 
[2026-09-04 01:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c0e090012d0f9d8006e6b9100008012529..."} 
[2026-09-04 01:03:07] local.INFO: Processing buffer {"connection_id":170287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c0e090012d0f9d8006e6b9100008012529..."} 
[2026-09-04 01:03:07] local.INFO: Packet analysis {"connection_id":170287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c0"} 
[2026-09-04 01:03:07] local.INFO: Extracted packet for processing {"connection_id":170287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c0"} 
[2026-09-04 01:03:07] local.INFO: GPS Element Parsed {"raw_longitude":755998080,"raw_latitude":115783952,"longitude_deg":75.599808,"latitude_deg":11.5783952,"altitude":8,"angle":293,"satellites":41,"speed":45,"hex_longitude":"2d0f9d80","hex_latitude":"06e6b910","is_valid_coordinates":true} 
[2026-09-04 01:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846747648001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397323365808865280,"note":"Value kept but may cause issues"} 
[2026-09-04 01:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1134696029504559104,"note":"Value kept but may cause issues"} 
[2026-09-04 01:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788463866000,"timestamp_ms":1788463866000,"timestamp_seconds":1788463866,"priority":1,"record_length":96,"hex_timestamp":"000001a068c0e090"} 
[2026-09-04 01:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 01:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846747648001,"66":27332,"150":206,"2":56576,"24":45,"16":397323365808865280,"45":1134696029504559104},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,45]} 
[2026-09-04 01:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846747648001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:03:07] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-04 01:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397323365808865280,"km_value":397323365808865.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1134696029504559104,"description":"Unknown IO ID 45"} 
[2026-09-04 01:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846747648001,"power":27332,"unknown_150":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":1134696029504559104}} 
[2026-09-04 01:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":170287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:03:07] local.INFO: GPS data processed {"connection_id":170287,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:03:07] local.INFO: Acknowledgment sent {"connection_id":170287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:03:09] local.INFO: TCP Data received {"connection_id":170286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:03:09] local.INFO: Processing buffer {"connection_id":170286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:03:09] local.INFO: IMEI packet received {"connection_id":170286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":170286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:03:38] local.INFO: TCP Data received {"connection_id":170287,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c26f00012d0e94c006e79e900006013e2d..."} 
[2026-09-04 01:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c26f00012d0e94c006e79e900006013e2d..."} 
[2026-09-04 01:03:38] local.INFO: Processing buffer {"connection_id":170287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c26f00012d0e94c006e79e900006013e2d..."} 
[2026-09-04 01:03:38] local.INFO: Packet analysis {"connection_id":170287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c2"} 
[2026-09-04 01:03:38] local.INFO: Extracted packet for processing {"connection_id":170287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c2"} 
[2026-09-04 01:03:38] local.INFO: GPS Element Parsed {"raw_longitude":755930304,"raw_latitude":115842704,"longitude_deg":75.5930304,"latitude_deg":11.5842704,"altitude":6,"angle":318,"satellites":45,"speed":37,"hex_longitude":"2d0e94c0","hex_latitude":"06e79e90","is_valid_coordinates":true} 
[2026-09-04 01:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846773248001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397327708020801536,"note":"Value kept but may cause issues"} 
[2026-09-04 01:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1057994098365425664,"note":"Value kept but may cause issues"} 
[2026-09-04 01:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788463968000,"timestamp_ms":1788463968000,"timestamp_seconds":1788463968,"priority":1,"record_length":96,"hex_timestamp":"000001a068c26f00"} 
[2026-09-04 01:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 01:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846773248001,"66":27300,"217":206,"2":56576,"24":37,"16":397327708020801536,"45":1057994098365425664},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-09-04 01:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846773248001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:03:38] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-04 01:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397327708020801536,"km_value":397327708020801.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1057994098365425664,"description":"Unknown IO ID 45"} 
[2026-09-04 01:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846773248001,"power":27300,"unknown_217":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":1057994098365425664}} 
[2026-09-04 01:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":170287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:03:38] local.INFO: GPS data processed {"connection_id":170287,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:03:38] local.INFO: Acknowledgment sent {"connection_id":170287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:03:39] local.INFO: TCP Data received {"connection_id":172994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:03:39] local.INFO: Processing buffer {"connection_id":172994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:03:39] local.INFO: IMEI packet received {"connection_id":172994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":172994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:04:01] local.INFO: TCP Data received {"connection_id":170587,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:04:01] local.INFO: Processing buffer {"connection_id":170587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:04:01] local.INFO: IMEI packet received {"connection_id":170587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":170587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:04:06] local.INFO: TCP Data received {"connection_id":170587,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:04:06] local.INFO: Processing buffer {"connection_id":170587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:04:06] local.INFO: IMEI packet received {"connection_id":170587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":170587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:04:08] local.INFO: TCP Data received {"connection_id":170587,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c27ea0012d0e8c0006e7aac80005014b2b..."} 
[2026-09-04 01:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c27ea0012d0e8c0006e7aac80005014b2b..."} 
[2026-09-04 01:04:08] local.INFO: Processing buffer {"connection_id":170587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c27ea0012d0e8c0006e7aac80005014b2b..."} 
[2026-09-04 01:04:08] local.INFO: Packet analysis {"connection_id":170587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c2"} 
[2026-09-04 01:04:08] local.INFO: Extracted packet for processing {"connection_id":170587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c2"} 
[2026-09-04 01:04:08] local.INFO: GPS Element Parsed {"raw_longitude":755928064,"raw_latitude":115845832,"longitude_deg":75.5928064,"latitude_deg":11.5845832,"altitude":5,"angle":331,"satellites":43,"speed":38,"hex_longitude":"2d0e8c00","hex_latitude":"06e7aac8","is_valid_coordinates":true} 
[2026-09-04 01:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846775808001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397327896999362560,"note":"Value kept but may cause issues"} 
[2026-09-04 01:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050675748972433408,"note":"Value kept but may cause issues"} 
[2026-09-04 01:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788463972000,"timestamp_ms":1788463972000,"timestamp_seconds":1788463972,"priority":1,"record_length":96,"hex_timestamp":"000001a068c27ea0"} 
[2026-09-04 01:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 01:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846775808001,"66":27332,"217":206,"2":56576,"24":38,"16":397327896999362560,"45":1050675748972433408},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-09-04 01:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846775808001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:04:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-04 01:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397327896999362560,"km_value":397327896999362.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050675748972433408,"description":"Unknown IO ID 45"} 
[2026-09-04 01:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846775808001,"power":27332,"unknown_217":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":1050675748972433408}} 
[2026-09-04 01:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":170587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:04:08] local.INFO: GPS data processed {"connection_id":170587,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:04:08] local.INFO: Acknowledgment sent {"connection_id":170587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:04:39] local.INFO: TCP Data received {"connection_id":170587,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c28e40012d0e864006e7b8c0000501592b..."} 
[2026-09-04 01:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c28e40012d0e864006e7b8c0000501592b..."} 
[2026-09-04 01:04:39] local.INFO: Processing buffer {"connection_id":170587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c28e40012d0e864006e7b8c0000501592b..."} 
[2026-09-04 01:04:39] local.INFO: Packet analysis {"connection_id":170587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c2"} 
[2026-09-04 01:04:39] local.INFO: Extracted packet for processing {"connection_id":170587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c2"} 
[2026-09-04 01:04:39] local.INFO: GPS Element Parsed {"raw_longitude":755926592,"raw_latitude":115849408,"longitude_deg":75.5926592,"latitude_deg":11.5849408,"altitude":5,"angle":345,"satellites":43,"speed":37,"hex_longitude":"2d0e8640","hex_latitude":"06e7b8c0","is_valid_coordinates":true} 
[2026-09-04 01:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846776832001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397328085977923584,"note":"Value kept but may cause issues"} 
[2026-09-04 01:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1048212842927015936,"note":"Value kept but may cause issues"} 
[2026-09-04 01:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788463976000,"timestamp_ms":1788463976000,"timestamp_seconds":1788463976,"priority":1,"record_length":96,"hex_timestamp":"000001a068c28e40"} 
[2026-09-04 01:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 01:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846776832001,"66":27332,"217":206,"2":56576,"24":37,"16":397328085977923584,"45":1048212842927015936},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-09-04 01:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846776832001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:04:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-04 01:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397328085977923584,"km_value":397328085977923.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1048212842927015936,"description":"Unknown IO ID 45"} 
[2026-09-04 01:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846776832001,"power":27332,"unknown_217":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":1048212842927015936}} 
[2026-09-04 01:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":170587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:04:39] local.INFO: GPS data processed {"connection_id":170587,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:04:39] local.INFO: Acknowledgment sent {"connection_id":170587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:05:32] local.INFO: TCP Data received {"connection_id":172995,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:05:32] local.INFO: Processing buffer {"connection_id":172995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:05:32] local.INFO: IMEI packet received {"connection_id":172995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":172995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:05:36] local.INFO: TCP Data received {"connection_id":172995,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:05:36] local.INFO: Processing buffer {"connection_id":172995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:05:36] local.INFO: IMEI packet received {"connection_id":172995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":172995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:05:41] local.INFO: TCP Data received {"connection_id":172995,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c2b550012d0e7e0006e7dbb0000601592b..."} 
[2026-09-04 01:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c2b550012d0e7e0006e7dbb0000601592b..."} 
[2026-09-04 01:05:41] local.INFO: Processing buffer {"connection_id":172995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c2b550012d0e7e0006e7dbb0000601592b..."} 
[2026-09-04 01:05:41] local.INFO: Packet analysis {"connection_id":172995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c2"} 
[2026-09-04 01:05:41] local.INFO: Extracted packet for processing {"connection_id":172995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c2"} 
[2026-09-04 01:05:41] local.INFO: GPS Element Parsed {"raw_longitude":755924480,"raw_latitude":115858352,"longitude_deg":75.592448,"latitude_deg":11.5858352,"altitude":6,"angle":345,"satellites":43,"speed":31,"hex_longitude":"2d0e7e00","hex_latitude":"06e7dbb0","is_valid_coordinates":true} 
[2026-09-04 01:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846777856001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397328528359555072,"note":"Value kept but may cause issues"} 
[2026-09-04 01:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046594361811845120,"note":"Value kept but may cause issues"} 
[2026-09-04 01:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788463986000,"timestamp_ms":1788463986000,"timestamp_seconds":1788463986,"priority":1,"record_length":96,"hex_timestamp":"000001a068c2b550"} 
[2026-09-04 01:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 01:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846777856001,"66":27321,"216":206,"2":56576,"24":31,"16":397328528359555072,"45":1046594361811845120},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,2,24,16,45]} 
[2026-09-04 01:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846777856001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:05:41] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-04 01:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397328528359555072,"km_value":397328528359555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046594361811845120,"description":"Unknown IO ID 45"} 
[2026-09-04 01:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846777856001,"power":27321,"unknown_216":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":1046594361811845120}} 
[2026-09-04 01:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":172995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:05:41] local.INFO: GPS data processed {"connection_id":172995,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:05:41] local.INFO: Acknowledgment sent {"connection_id":172995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:05:44] local.INFO: TCP Data received {"connection_id":172995,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c2efe8012d0e768006e7ffb00005015f29..."} 
[2026-09-04 01:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c2efe8012d0e768006e7ffb00005015f29..."} 
[2026-09-04 01:05:44] local.INFO: Processing buffer {"connection_id":172995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c2efe8012d0e768006e7ffb00005015f29..."} 
[2026-09-04 01:05:44] local.INFO: Packet analysis {"connection_id":172995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c2"} 
[2026-09-04 01:05:44] local.INFO: Extracted packet for processing {"connection_id":172995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c2"} 
[2026-09-04 01:05:44] local.INFO: GPS Element Parsed {"raw_longitude":755922560,"raw_latitude":115867568,"longitude_deg":75.592256,"latitude_deg":11.5867568,"altitude":5,"angle":351,"satellites":41,"speed":28,"hex_longitude":"2d0e7680","hex_latitude":"06e7ffb0","is_valid_coordinates":true} 
[2026-09-04 01:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846780416001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397328987921055744,"note":"Value kept but may cause issues"} 
[2026-09-04 01:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044272193256271872,"note":"Value kept but may cause issues"} 
[2026-09-04 01:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788464001000,"timestamp_ms":1788464001000,"timestamp_seconds":1788464001,"priority":1,"record_length":96,"hex_timestamp":"000001a068c2efe8"} 
[2026-09-04 01:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 01:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":172995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":172995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":172995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846780416001,"66":26908,"216":206,"2":56576,"24":28,"16":397328987921055744,"45":1044272193256271872},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,2,24,16,45]} 
[2026-09-04 01:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846780416001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:05:44] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-04 01:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397328987921055744,"km_value":397328987921055.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044272193256271872,"description":"Unknown IO ID 45"} 
[2026-09-04 01:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846780416001,"power":26908,"unknown_216":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":1044272193256271872}} 
[2026-09-04 01:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":172995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:05:44] local.INFO: GPS data processed {"connection_id":172995,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:05:44] local.INFO: Acknowledgment sent {"connection_id":172995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:06:01] local.INFO: TCP Data received {"connection_id":171684,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:06:01] local.INFO: Processing buffer {"connection_id":171684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:06:01] local.INFO: IMEI packet received {"connection_id":171684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":171684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:06:02] local.INFO: TCP Data received {"connection_id":171684,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:06:02] local.INFO: Processing buffer {"connection_id":171684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:06:02] local.INFO: IMEI packet received {"connection_id":171684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":171684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:06:05] local.INFO: TCP Data received {"connection_id":171684,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:06:05] local.INFO: Processing buffer {"connection_id":171684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:06:05] local.INFO: IMEI packet received {"connection_id":171684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":171684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:06:21] local.INFO: TCP Data received {"connection_id":171684,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c31ec8012d0e6e8006e822a80006015c29..."} 
[2026-09-04 01:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c31ec8012d0e6e8006e822a80006015c29..."} 
[2026-09-04 01:06:21] local.INFO: Processing buffer {"connection_id":171684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c31ec8012d0e6e8006e822a80006015c29..."} 
[2026-09-04 01:06:21] local.INFO: Packet analysis {"connection_id":171684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c3"} 
[2026-09-04 01:06:21] local.INFO: Extracted packet for processing {"connection_id":171684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c3"} 
[2026-09-04 01:06:21] local.INFO: GPS Element Parsed {"raw_longitude":755920512,"raw_latitude":115876520,"longitude_deg":75.5920512,"latitude_deg":11.587652,"altitude":6,"angle":348,"satellites":41,"speed":33,"hex_longitude":"2d0e6e80","hex_latitude":"06e822a8","is_valid_coordinates":true} 
[2026-09-04 01:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846784256001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397329430302687232,"note":"Value kept but may cause issues"} 
[2026-09-04 01:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1042161130933301248,"note":"Value kept but may cause issues"} 
[2026-09-04 01:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788464013000,"timestamp_ms":1788464013000,"timestamp_seconds":1788464013,"priority":1,"record_length":96,"hex_timestamp":"000001a068c31ec8"} 
[2026-09-04 01:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-04 01:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846784256001,"66":27365,"130":206,"2":56576,"24":33,"16":397329430302687232,"45":1042161130933301248},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,2,24,16,45]} 
[2026-09-04 01:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846784256001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:06:21] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-04 01:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397329430302687232,"km_value":397329430302687.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1042161130933301248,"description":"Unknown IO ID 45"} 
[2026-09-04 01:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846784256001,"power":27365,"unknown_130":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":1042161130933301248}} 
[2026-09-04 01:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":171684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:06:21] local.INFO: GPS data processed {"connection_id":171684,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:06:21] local.INFO: Acknowledgment sent {"connection_id":171684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:06:49] local.INFO: TCP Data received {"connection_id":171684,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c345d8012d0e694006e846e00006015f2c..."} 
[2026-09-04 01:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c345d8012d0e694006e846e00006015f2c..."} 
[2026-09-04 01:06:49] local.INFO: Processing buffer {"connection_id":171684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c345d8012d0e694006e846e00006015f2c..."} 
[2026-09-04 01:06:49] local.INFO: Packet analysis {"connection_id":171684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c3"} 
[2026-09-04 01:06:49] local.INFO: Extracted packet for processing {"connection_id":171684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c3"} 
[2026-09-04 01:06:49] local.INFO: GPS Element Parsed {"raw_longitude":755919168,"raw_latitude":115885792,"longitude_deg":75.5919168,"latitude_deg":11.5885792,"altitude":6,"angle":351,"satellites":44,"speed":39,"hex_longitude":"2d0e6940","hex_latitude":"06e846e0","is_valid_coordinates":true} 
[2026-09-04 01:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846787328001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397329885569220608,"note":"Value kept but may cause issues"} 
[2026-09-04 01:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1039909331121907712,"note":"Value kept but may cause issues"} 
[2026-09-04 01:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788464023000,"timestamp_ms":1788464023000,"timestamp_seconds":1788464023,"priority":1,"record_length":96,"hex_timestamp":"000001a068c345d8"} 
[2026-09-04 01:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 01:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846787328001,"66":27365,"130":206,"2":56576,"24":39,"16":397329885569220608,"45":1039909331121907712},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,2,24,16,45]} 
[2026-09-04 01:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846787328001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:06:49] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-04 01:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397329885569220608,"km_value":397329885569220.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1039909331121907712,"description":"Unknown IO ID 45"} 
[2026-09-04 01:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846787328001,"power":27365,"unknown_130":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":1039909331121907712}} 
[2026-09-04 01:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":171684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:06:49] local.INFO: GPS data processed {"connection_id":171684,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:06:49] local.INFO: Acknowledgment sent {"connection_id":171684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:07:13] local.INFO: TCP Data received {"connection_id":172997,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:07:13] local.INFO: Processing buffer {"connection_id":172997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:07:13] local.INFO: IMEI packet received {"connection_id":172997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":172997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:07:16] local.INFO: TCP Data received {"connection_id":172997,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:07:16] local.INFO: Processing buffer {"connection_id":172997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:07:16] local.INFO: IMEI packet received {"connection_id":172997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":172997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:07:17] local.INFO: TCP Data received {"connection_id":172997,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:07:17] local.INFO: Processing buffer {"connection_id":172997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:07:17] local.INFO: IMEI packet received {"connection_id":172997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":172997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:07:17] local.INFO: TCP Data received {"connection_id":172997,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c54590012d0df18006e98968001d013929..."} 
[2026-09-04 01:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c54590012d0df18006e98968001d013929..."} 
[2026-09-04 01:07:17] local.INFO: Processing buffer {"connection_id":172997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c54590012d0df18006e98968001d013929..."} 
[2026-09-04 01:07:17] local.INFO: Packet analysis {"connection_id":172997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c5"} 
[2026-09-04 01:07:17] local.INFO: Extracted packet for processing {"connection_id":172997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c5"} 
[2026-09-04 01:07:17] local.INFO: GPS Element Parsed {"raw_longitude":755888512,"raw_latitude":115968360,"longitude_deg":75.5888512,"latitude_deg":11.596836,"altitude":29,"angle":313,"satellites":41,"speed":21,"hex_longitude":"2d0df180","hex_latitude":"06e98968","is_valid_coordinates":true} 
[2026-09-04 01:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846819584001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397334292205666304,"note":"Value kept but may cause issues"} 
[2026-09-04 01:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012113677193611264,"note":"Value kept but may cause issues"} 
[2026-09-04 01:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788464154000,"timestamp_ms":1788464154000,"timestamp_seconds":1788464154,"priority":1,"record_length":96,"hex_timestamp":"000001a068c54590"} 
[2026-09-04 01:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 01:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":172997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":172997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":172997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846819584001,"66":27321,"132":206,"2":56576,"24":21,"16":397334292205666304,"45":1012113677193611264},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,2,24,16,45]} 
[2026-09-04 01:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846819584001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:07:17] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-04 01:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397334292205666304,"km_value":397334292205666.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012113677193611264,"description":"Unknown IO ID 45"} 
[2026-09-04 01:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846819584001,"power":27321,"unknown_132":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":1012113677193611264}} 
[2026-09-04 01:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":172997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:07:17] local.INFO: GPS data processed {"connection_id":172997,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:07:17] local.INFO: Acknowledgment sent {"connection_id":172997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:08:01] local.INFO: TCP Data received {"connection_id":170288,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:08:01] local.INFO: Processing buffer {"connection_id":170288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:08:01] local.INFO: IMEI packet received {"connection_id":170288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":170288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:08:02] local.INFO: TCP Data received {"connection_id":170288,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:08:02] local.INFO: Processing buffer {"connection_id":170288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:08:02] local.INFO: IMEI packet received {"connection_id":170288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":170288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:08:06] local.INFO: TCP Data received {"connection_id":170288,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:08:06] local.INFO: Processing buffer {"connection_id":170288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:08:06] local.INFO: IMEI packet received {"connection_id":170288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":170288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:08:07] local.INFO: TCP Data received {"connection_id":170288,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c65ed0012d0d60c006ea02380015016522..."} 
[2026-09-04 01:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c65ed0012d0d60c006ea02380015016522..."} 
[2026-09-04 01:08:07] local.INFO: Processing buffer {"connection_id":170288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c65ed0012d0d60c006ea02380015016522..."} 
[2026-09-04 01:08:07] local.INFO: Packet analysis {"connection_id":170288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c6"} 
[2026-09-04 01:08:07] local.INFO: Extracted packet for processing {"connection_id":170288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c6"} 
[2026-09-04 01:08:07] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":115999288,"longitude_deg":75.5851456,"latitude_deg":11.5999288,"altitude":21,"angle":357,"satellites":34,"speed":21,"hex_longitude":"2d0d60c0","hex_latitude":"06ea0238","is_valid_coordinates":true} 
[2026-09-04 01:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846841600001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397336650142711808,"note":"Value kept but may cause issues"} 
[2026-09-04 01:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964051824929691648,"note":"Value kept but may cause issues"} 
[2026-09-04 01:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788464226000,"timestamp_ms":1788464226000,"timestamp_seconds":1788464226,"priority":1,"record_length":96,"hex_timestamp":"000001a068c65ed0"} 
[2026-09-04 01:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 01:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846841600001,"66":27300,"41":206,"2":56576,"24":21,"16":397336650142711808,"45":964051824929691648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-09-04 01:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846841600001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:08:07] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-04 01:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397336650142711808,"km_value":397336650142711.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":964051824929691648,"description":"Unknown IO ID 45"} 
[2026-09-04 01:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846841600001,"power":27300,"unknown_41":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":964051824929691648}} 
[2026-09-04 01:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":170288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:08:07] local.INFO: GPS data processed {"connection_id":170288,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:08:07] local.INFO: Acknowledgment sent {"connection_id":170288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:08:39] local.INFO: TCP Data received {"connection_id":170288,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c666a0012d0d618006ea06780014000b26..."} 
[2026-09-04 01:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c666a0012d0d618006ea06780014000b26..."} 
[2026-09-04 01:08:39] local.INFO: Processing buffer {"connection_id":170288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c666a0012d0d618006ea06780014000b26..."} 
[2026-09-04 01:08:39] local.INFO: Packet analysis {"connection_id":170288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c6"} 
[2026-09-04 01:08:39] local.INFO: Extracted packet for processing {"connection_id":170288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c6"} 
[2026-09-04 01:08:39] local.INFO: GPS Element Parsed {"raw_longitude":755851648,"raw_latitude":116000376,"longitude_deg":75.5851648,"latitude_deg":11.6000376,"altitude":20,"angle":11,"satellites":38,"speed":24,"hex_longitude":"2d0d6180","hex_latitude":"06ea0678","is_valid_coordinates":true} 
[2026-09-04 01:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846841856001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397336701682319360,"note":"Value kept but may cause issues"} 
[2026-09-04 01:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456185636864,"note":"Value kept but may cause issues"} 
[2026-09-04 01:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788464228000,"timestamp_ms":1788464228000,"timestamp_seconds":1788464228,"priority":1,"record_length":96,"hex_timestamp":"000001a068c666a0"} 
[2026-09-04 01:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 01:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846841856001,"66":26832,"41":206,"2":56576,"24":24,"16":397336701682319360,"45":963981456185636864},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-09-04 01:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846841856001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:08:39] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-04 01:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397336701682319360,"km_value":397336701682319.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456185636864,"description":"Unknown IO ID 45"} 
[2026-09-04 01:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846841856001,"power":26832,"unknown_41":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":963981456185636864}} 
[2026-09-04 01:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":170288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:08:39] local.INFO: GPS data processed {"connection_id":170288,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:08:39] local.INFO: Acknowledgment sent {"connection_id":170288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:09:01] local.INFO: TCP Data received {"connection_id":170589,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:09:01] local.INFO: Processing buffer {"connection_id":170589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:09:01] local.INFO: IMEI packet received {"connection_id":170589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":170589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:09:09] local.INFO: TCP Data received {"connection_id":170289,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:09:09] local.INFO: Processing buffer {"connection_id":170289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:09:09] local.INFO: IMEI packet received {"connection_id":170289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":170289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:09:19] local.INFO: TCP Data received {"connection_id":170589,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:09:19] local.INFO: Processing buffer {"connection_id":170589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:09:19] local.INFO: IMEI packet received {"connection_id":170589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":170589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:09:22] local.INFO: TCP Data received {"connection_id":170589,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c67a28012d0d630006ea13d00011016427..."} 
[2026-09-04 01:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c67a28012d0d630006ea13d00011016427..."} 
[2026-09-04 01:09:22] local.INFO: Processing buffer {"connection_id":170589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c67a28012d0d630006ea13d00011016427..."} 
[2026-09-04 01:09:22] local.INFO: Packet analysis {"connection_id":170589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c6"} 
[2026-09-04 01:09:22] local.INFO: Extracted packet for processing {"connection_id":170589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c6"} 
[2026-09-04 01:09:22] local.INFO: GPS Element Parsed {"raw_longitude":755852032,"raw_latitude":116003792,"longitude_deg":75.5852032,"latitude_deg":11.6003792,"altitude":17,"angle":356,"satellites":39,"speed":31,"hex_longitude":"2d0d6300","hex_latitude":"06ea13d0","is_valid_coordinates":true} 
[2026-09-04 01:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846842368001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397336869186043904,"note":"Value kept but may cause issues"} 
[2026-09-04 01:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964192562418448384,"note":"Value kept but may cause issues"} 
[2026-09-04 01:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788464233000,"timestamp_ms":1788464233000,"timestamp_seconds":1788464233,"priority":1,"record_length":96,"hex_timestamp":"000001a068c67a28"} 
[2026-09-04 01:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-09-04 01:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":170589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":170589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":170589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846842368001,"66":27321,"41":206,"2":56576,"24":31,"16":397336869186043904,"45":964192562418448384},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-09-04 01:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846842368001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:09:22] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-04 01:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397336869186043904,"km_value":397336869186043.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964192562418448384,"description":"Unknown IO ID 45"} 
[2026-09-04 01:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846842368001,"power":27321,"unknown_41":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":964192562418448384}} 
[2026-09-04 01:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":170589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:09:22] local.INFO: GPS data processed {"connection_id":170589,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:09:22] local.INFO: Acknowledgment sent {"connection_id":170589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:09:39] local.INFO: TCP Data received {"connection_id":172998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:09:39] local.INFO: Processing buffer {"connection_id":172998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:09:39] local.INFO: IMEI packet received {"connection_id":172998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":172998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:10:00] local.INFO: TCP Data received {"connection_id":172999,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:10:00] local.INFO: Processing buffer {"connection_id":172999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:10:00] local.INFO: IMEI packet received {"connection_id":172999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":172999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:10:05] local.INFO: TCP Data received {"connection_id":172999,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:10:05] local.INFO: Processing buffer {"connection_id":172999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:10:05] local.INFO: IMEI packet received {"connection_id":172999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":172999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:10:07] local.INFO: TCP Data received {"connection_id":172999,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c7f510012d0ce40006eafd600011014326..."} 
[2026-09-04 01:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c7f510012d0ce40006eafd600011014326..."} 
[2026-09-04 01:10:07] local.INFO: Processing buffer {"connection_id":172999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c7f510012d0ce40006eafd600011014326..."} 
[2026-09-04 01:10:07] local.INFO: Packet analysis {"connection_id":172999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c7"} 
[2026-09-04 01:10:07] local.INFO: Extracted packet for processing {"connection_id":172999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c7"} 
[2026-09-04 01:10:07] local.INFO: GPS Element Parsed {"raw_longitude":755819520,"raw_latitude":116063584,"longitude_deg":75.581952,"latitude_deg":11.6063584,"altitude":17,"angle":323,"satellites":38,"speed":47,"hex_longitude":"2d0ce400","hex_latitude":"06eafd60","is_valid_coordinates":true} 
[2026-09-04 01:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846866176001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397340395354193920,"note":"Value kept but may cause issues"} 
[2026-09-04 01:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":935411746064144384,"note":"Value kept but may cause issues"} 
[2026-09-04 01:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788464330000,"timestamp_ms":1788464330000,"timestamp_seconds":1788464330,"priority":1,"record_length":96,"hex_timestamp":"000001a068c7f510"} 
[2026-09-04 01:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 01:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846866176001,"66":27213,"41":206,"2":56576,"24":47,"16":397340395354193920,"45":935411746064144384},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-09-04 01:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846866176001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:10:07] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-04 01:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397340395354193920,"km_value":397340395354193.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":935411746064144384,"description":"Unknown IO ID 45"} 
[2026-09-04 01:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846866176001,"power":27213,"unknown_41":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":935411746064144384}} 
[2026-09-04 01:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":172999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:10:07] local.INFO: GPS data processed {"connection_id":172999,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:10:07] local.INFO: Acknowledgment sent {"connection_id":172999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:10:39] local.INFO: TCP Data received {"connection_id":172999,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c81068012d0ccec006eb1ae0000b014422..."} 
[2026-09-04 01:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c81068012d0ccec006eb1ae0000b014422..."} 
[2026-09-04 01:10:39] local.INFO: Processing buffer {"connection_id":172999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c81068012d0ccec006eb1ae0000b014422..."} 
[2026-09-04 01:10:39] local.INFO: Packet analysis {"connection_id":172999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c8"} 
[2026-09-04 01:10:39] local.INFO: Extracted packet for processing {"connection_id":172999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c8"} 
[2026-09-04 01:10:39] local.INFO: GPS Element Parsed {"raw_longitude":755814080,"raw_latitude":116071136,"longitude_deg":75.581408,"latitude_deg":11.6071136,"altitude":11,"angle":324,"satellites":34,"speed":54,"hex_longitude":"2d0ccec0","hex_latitude":"06eb1ae0","is_valid_coordinates":true} 
[2026-09-04 01:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846868480001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397340842030792704,"note":"Value kept but may cause issues"} 
[2026-09-04 01:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928867452857442304,"note":"Value kept but may cause issues"} 
[2026-09-04 01:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788464337000,"timestamp_ms":1788464337000,"timestamp_seconds":1788464337,"priority":1,"record_length":96,"hex_timestamp":"000001a068c81068"} 
[2026-09-04 01:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 01:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846868480001,"66":27365,"42":206,"2":56576,"24":54,"16":397340842030792704,"45":928867452857442304},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-09-04 01:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846868480001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:10:39] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-04 01:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397340842030792704,"km_value":397340842030792.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":928867452857442304,"description":"Unknown IO ID 45"} 
[2026-09-04 01:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846868480001,"power":27365,"unknown_42":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":928867452857442304}} 
[2026-09-04 01:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":172999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:10:39] local.INFO: GPS data processed {"connection_id":172999,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:10:39] local.INFO: Acknowledgment sent {"connection_id":172999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:11:01] local.INFO: TCP Data received {"connection_id":170291,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:11:01] local.INFO: Processing buffer {"connection_id":170291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:11:01] local.INFO: IMEI packet received {"connection_id":170291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":170291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:11:11] local.INFO: TCP Data received {"connection_id":170291,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:11:11] local.INFO: Processing buffer {"connection_id":170291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:11:11] local.INFO: IMEI packet received {"connection_id":170291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":170291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:11:13] local.INFO: TCP Data received {"connection_id":170291,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c82bc0012d0cb80006eb3810000b014225..."} 
[2026-09-04 01:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c82bc0012d0cb80006eb3810000b014225..."} 
[2026-09-04 01:11:13] local.INFO: Processing buffer {"connection_id":170291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c82bc0012d0cb80006eb3810000b014225..."} 
[2026-09-04 01:11:13] local.INFO: Packet analysis {"connection_id":170291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c8"} 
[2026-09-04 01:11:13] local.INFO: Extracted packet for processing {"connection_id":170291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c8"} 
[2026-09-04 01:11:13] local.INFO: GPS Element Parsed {"raw_longitude":755808256,"raw_latitude":116078608,"longitude_deg":75.5808256,"latitude_deg":11.6078608,"altitude":11,"angle":322,"satellites":37,"speed":52,"hex_longitude":"2d0cb800","hex_latitude":"06eb3810","is_valid_coordinates":true} 
[2026-09-04 01:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846870272001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397341297297326080,"note":"Value kept but may cause issues"} 
[2026-09-04 01:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":922886109604274176,"note":"Value kept but may cause issues"} 
[2026-09-04 01:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788464344000,"timestamp_ms":1788464344000,"timestamp_seconds":1788464344,"priority":1,"record_length":96,"hex_timestamp":"000001a068c82bc0"} 
[2026-09-04 01:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 01:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":170291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":170291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":170291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846870272001,"66":27267,"42":206,"2":56576,"24":52,"16":397341297297326080,"45":922886109604274176},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-09-04 01:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846870272001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:11:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-04 01:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397341297297326080,"km_value":397341297297326.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":922886109604274176,"description":"Unknown IO ID 45"} 
[2026-09-04 01:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846870272001,"power":27267,"unknown_42":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":922886109604274176}} 
[2026-09-04 01:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":170291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:11:13] local.INFO: GPS data processed {"connection_id":170291,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:11:13] local.INFO: Acknowledgment sent {"connection_id":170291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:11:53] local.INFO: TCP Data received {"connection_id":170291,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c9d588012d0c45c006ec64000013015c2a..."} 
[2026-09-04 01:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c9d588012d0c45c006ec64000013015c2a..."} 
[2026-09-04 01:11:53] local.INFO: Processing buffer {"connection_id":170291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c9d588012d0c45c006ec64000013015c2a..."} 
[2026-09-04 01:11:53] local.INFO: Packet analysis {"connection_id":170291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c9"} 
[2026-09-04 01:11:53] local.INFO: Extracted packet for processing {"connection_id":170291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c9"} 
[2026-09-04 01:11:53] local.INFO: GPS Element Parsed {"raw_longitude":755779008,"raw_latitude":116155392,"longitude_deg":75.5779008,"latitude_deg":11.6155392,"altitude":19,"angle":348,"satellites":42,"speed":30,"hex_longitude":"2d0c45c0","hex_latitude":"06ec6400","is_valid_coordinates":true} 
[2026-09-04 01:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846897408001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397345347451486208,"note":"Value kept but may cause issues"} 
[2026-09-04 01:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887279525070075904,"note":"Value kept but may cause issues"} 
[2026-09-04 01:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788464453000,"timestamp_ms":1788464453000,"timestamp_seconds":1788464453,"priority":1,"record_length":96,"hex_timestamp":"000001a068c9d588"} 
[2026-09-04 01:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 01:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846897408001,"66":27321,"42":206,"2":56576,"24":30,"16":397345347451486208,"45":887279525070075904},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-09-04 01:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846897408001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:11:53] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-04 01:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397345347451486208,"km_value":397345347451486.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":887279525070075904,"description":"Unknown IO ID 45"} 
[2026-09-04 01:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846897408001,"power":27321,"unknown_42":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":887279525070075904}} 
[2026-09-04 01:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":170291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:11:53] local.INFO: GPS data processed {"connection_id":170291,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:11:53] local.INFO: Acknowledgment sent {"connection_id":170291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:12:02] local.INFO: TCP Data received {"connection_id":173000,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:12:02] local.INFO: Processing buffer {"connection_id":173000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:12:02] local.INFO: IMEI packet received {"connection_id":173000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":173000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:12:06] local.INFO: TCP Data received {"connection_id":173000,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:12:06] local.INFO: Processing buffer {"connection_id":173000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:12:06] local.INFO: IMEI packet received {"connection_id":173000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":173000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:12:11] local.INFO: TCP Data received {"connection_id":173000,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:12:11] local.INFO: Processing buffer {"connection_id":173000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:12:11] local.INFO: IMEI packet received {"connection_id":173000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":173000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:12:12] local.INFO: TCP Data received {"connection_id":173000,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c9dd58012d0c454006ec69a00013016729..."} 
[2026-09-04 01:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c9dd58012d0c454006ec69a00013016729..."} 
[2026-09-04 01:12:12] local.INFO: Processing buffer {"connection_id":173000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c9dd58012d0c454006ec69a00013016729..."} 
[2026-09-04 01:12:12] local.INFO: Packet analysis {"connection_id":173000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c9"} 
[2026-09-04 01:12:12] local.INFO: Extracted packet for processing {"connection_id":173000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c9"} 
[2026-09-04 01:12:12] local.INFO: GPS Element Parsed {"raw_longitude":755778880,"raw_latitude":116156832,"longitude_deg":75.577888,"latitude_deg":11.6156832,"altitude":19,"angle":359,"satellites":41,"speed":27,"hex_longitude":"2d0c4540","hex_latitude":"06ec69a0","is_valid_coordinates":true} 
[2026-09-04 01:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846899968001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397345416170962944,"note":"Value kept but may cause issues"} 
[2026-09-04 01:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884324037816483840,"note":"Value kept but may cause issues"} 
[2026-09-04 01:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788464455000,"timestamp_ms":1788464455000,"timestamp_seconds":1788464455,"priority":1,"record_length":96,"hex_timestamp":"000001a068c9dd58"} 
[2026-09-04 01:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 01:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846899968001,"66":27343,"42":206,"2":56576,"24":27,"16":397345416170962944,"45":884324037816483840},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-09-04 01:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846899968001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:12:12] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-04 01:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397345416170962944,"km_value":397345416170962.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":884324037816483840,"description":"Unknown IO ID 45"} 
[2026-09-04 01:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846899968001,"power":27343,"unknown_42":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":884324037816483840}} 
[2026-09-04 01:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":173000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:12:12] local.INFO: GPS data processed {"connection_id":173000,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:12:12] local.INFO: Acknowledgment sent {"connection_id":173000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:12:14] local.INFO: TCP Data received {"connection_id":173000,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068c9e910012d0c45c006ec70780011000a29..."} 
[2026-09-04 01:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068c9e910012d0c45c006ec70780011000a29..."} 
[2026-09-04 01:12:14] local.INFO: Processing buffer {"connection_id":173000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068c9e910012d0c45c006ec70780011000a29..."} 
[2026-09-04 01:12:14] local.INFO: Packet analysis {"connection_id":173000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068c9"} 
[2026-09-04 01:12:14] local.INFO: Extracted packet for processing {"connection_id":173000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068c9"} 
[2026-09-04 01:12:14] local.INFO: GPS Element Parsed {"raw_longitude":755779008,"raw_latitude":116158584,"longitude_deg":75.5779008,"latitude_deg":11.6158584,"altitude":17,"angle":10,"satellites":41,"speed":17,"hex_longitude":"2d0c45c0","hex_latitude":"06ec7078","is_valid_coordinates":true} 
[2026-09-04 01:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846900480001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397345502070308864,"note":"Value kept but may cause issues"} 
[2026-09-04 01:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884183300328497152,"note":"Value kept but may cause issues"} 
[2026-09-04 01:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788464458000,"timestamp_ms":1788464458000,"timestamp_seconds":1788464458,"priority":1,"record_length":96,"hex_timestamp":"000001a068c9e910"} 
[2026-09-04 01:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 01:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846900480001,"66":27300,"42":206,"2":56576,"24":17,"16":397345502070308864,"45":884183300328497152},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-09-04 01:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846900480001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:12:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-04 01:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397345502070308864,"km_value":397345502070308.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":884183300328497152,"description":"Unknown IO ID 45"} 
[2026-09-04 01:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846900480001,"power":27300,"unknown_42":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":884183300328497152}} 
[2026-09-04 01:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":173000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:12:14] local.INFO: GPS data processed {"connection_id":173000,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:12:14] local.INFO: Acknowledgment sent {"connection_id":173000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:12:46] local.INFO: TCP Data received {"connection_id":173000,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ca3b18012d0c480006ec85e8000d00042b..."} 
[2026-09-04 01:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ca3b18012d0c480006ec85e8000d00042b..."} 
[2026-09-04 01:12:46] local.INFO: Processing buffer {"connection_id":173000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ca3b18012d0c480006ec85e8000d00042b..."} 
[2026-09-04 01:12:46] local.INFO: Packet analysis {"connection_id":173000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ca"} 
[2026-09-04 01:12:46] local.INFO: Extracted packet for processing {"connection_id":173000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ca"} 
[2026-09-04 01:12:46] local.INFO: GPS Element Parsed {"raw_longitude":755779584,"raw_latitude":116164072,"longitude_deg":75.5779584,"latitude_deg":11.6164072,"altitude":13,"angle":4,"satellites":43,"speed":10,"hex_longitude":"2d0c4800","hex_latitude":"06ec85e8","is_valid_coordinates":true} 
[2026-09-04 01:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846901248001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397345772653248512,"note":"Value kept but may cause issues"} 
[2026-09-04 01:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884324037817300992,"note":"Value kept but may cause issues"} 
[2026-09-04 01:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788464479000,"timestamp_ms":1788464479000,"timestamp_seconds":1788464479,"priority":1,"record_length":96,"hex_timestamp":"000001a068ca3b18"} 
[2026-09-04 01:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 01:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846901248001,"66":27213,"42":206,"2":56576,"24":10,"16":397345772653248512,"45":884324037817300992},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-09-04 01:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846901248001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:12:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-04 01:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397345772653248512,"km_value":397345772653248.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":884324037817300992,"description":"Unknown IO ID 45"} 
[2026-09-04 01:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846901248001,"power":27213,"unknown_42":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":884324037817300992}} 
[2026-09-04 01:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":173000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:12:46] local.INFO: GPS data processed {"connection_id":173000,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:12:46] local.INFO: Acknowledgment sent {"connection_id":173000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:13:00] local.INFO: TCP Data received {"connection_id":170592,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:13:00] local.INFO: Processing buffer {"connection_id":170592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:13:00] local.INFO: IMEI packet received {"connection_id":170592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":170592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:13:01] local.INFO: TCP Data received {"connection_id":170592,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:13:01] local.INFO: Processing buffer {"connection_id":170592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:13:01] local.INFO: IMEI packet received {"connection_id":170592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":170592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:13:06] local.INFO: TCP Data received {"connection_id":170592,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:13:06] local.INFO: Processing buffer {"connection_id":170592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:13:06] local.INFO: IMEI packet received {"connection_id":170592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":170592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:13:07] local.INFO: TCP Data received {"connection_id":170592,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ca4ea0012d0c488006ec8ab8000e015e2c..."} 
[2026-09-04 01:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ca4ea0012d0c488006ec8ab8000e015e2c..."} 
[2026-09-04 01:13:07] local.INFO: Processing buffer {"connection_id":170592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ca4ea0012d0c488006ec8ab8000e015e2c..."} 
[2026-09-04 01:13:07] local.INFO: Packet analysis {"connection_id":170592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ca"} 
[2026-09-04 01:13:07] local.INFO: Extracted packet for processing {"connection_id":170592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ca"} 
[2026-09-04 01:13:07] local.INFO: GPS Element Parsed {"raw_longitude":755779712,"raw_latitude":116165304,"longitude_deg":75.5779712,"latitude_deg":11.6165304,"altitude":14,"angle":350,"satellites":44,"speed":10,"hex_longitude":"2d0c4880","hex_latitude":"06ec8ab8","is_valid_coordinates":true} 
[2026-09-04 01:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846906624001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397345832782790656,"note":"Value kept but may cause issues"} 
[2026-09-04 01:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884957356516304896,"note":"Value kept but may cause issues"} 
[2026-09-04 01:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788464484000,"timestamp_ms":1788464484000,"timestamp_seconds":1788464484,"priority":1,"record_length":96,"hex_timestamp":"000001a068ca4ea0"} 
[2026-09-04 01:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 01:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846906624001,"66":26560,"42":206,"2":56576,"24":10,"16":397345832782790656,"45":884957356516304896},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-09-04 01:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846906624001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:13:07] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-04 01:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397345832782790656,"km_value":397345832782790.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":884957356516304896,"description":"Unknown IO ID 45"} 
[2026-09-04 01:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846906624001,"power":26560,"unknown_42":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":884957356516304896}} 
[2026-09-04 01:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":170592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:13:07] local.INFO: GPS data processed {"connection_id":170592,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:13:07] local.INFO: Acknowledgment sent {"connection_id":170592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:13:39] local.INFO: TCP Data received {"connection_id":170592,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ca7d80012d0c45c006ec9e40001100002a..."} 
[2026-09-04 01:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ca7d80012d0c45c006ec9e40001100002a..."} 
[2026-09-04 01:13:39] local.INFO: Processing buffer {"connection_id":170592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ca7d80012d0c45c006ec9e40001100002a..."} 
[2026-09-04 01:13:39] local.INFO: Packet analysis {"connection_id":170592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ca"} 
[2026-09-04 01:13:39] local.INFO: Extracted packet for processing {"connection_id":170592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ca"} 
[2026-09-04 01:13:39] local.INFO: GPS Element Parsed {"raw_longitude":755779008,"raw_latitude":116170304,"longitude_deg":75.5779008,"latitude_deg":11.6170304,"altitude":17,"angle":0,"satellites":42,"speed":21,"hex_longitude":"2d0c45c0","hex_latitude":"06ec9e40","is_valid_coordinates":true} 
[2026-09-04 01:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846907904001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397346077595926528,"note":"Value kept but may cause issues"} 
[2026-09-04 01:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885098094004975616,"note":"Value kept but may cause issues"} 
[2026-09-04 01:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788464496000,"timestamp_ms":1788464496000,"timestamp_seconds":1788464496,"priority":1,"record_length":96,"hex_timestamp":"000001a068ca7d80"} 
[2026-09-04 01:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-04 01:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846907904001,"66":27300,"158":206,"2":56576,"24":21,"16":397346077595926528,"45":885098094004975616},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-04 01:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846907904001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:13:39] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-04 01:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397346077595926528,"km_value":397346077595926.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":885098094004975616,"description":"Unknown IO ID 45"} 
[2026-09-04 01:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846907904001,"power":27300,"unknown_158":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":885098094004975616}} 
[2026-09-04 01:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":170592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:13:39] local.INFO: GPS data processed {"connection_id":170592,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:13:39] local.INFO: Acknowledgment sent {"connection_id":170592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:14:01] local.INFO: TCP Data received {"connection_id":170292,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:14:01] local.INFO: Processing buffer {"connection_id":170292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:14:01] local.INFO: IMEI packet received {"connection_id":170292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":170292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:14:03] local.INFO: TCP Data received {"connection_id":170292,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:14:03] local.INFO: Processing buffer {"connection_id":170292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:14:03] local.INFO: IMEI packet received {"connection_id":170292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":170292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:14:06] local.INFO: TCP Data received {"connection_id":170292,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:14:06] local.INFO: Processing buffer {"connection_id":170292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:14:06] local.INFO: IMEI packet received {"connection_id":170292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":170292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:14:07] local.INFO: TCP Data received {"connection_id":170292,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068cabfe8012d0c470006ecc3b8000f00092d..."} 
[2026-09-04 01:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068cabfe8012d0c470006ecc3b8000f00092d..."} 
[2026-09-04 01:14:07] local.INFO: Processing buffer {"connection_id":170292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068cabfe8012d0c470006ecc3b8000f00092d..."} 
[2026-09-04 01:14:07] local.INFO: Packet analysis {"connection_id":170292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ca"} 
[2026-09-04 01:14:07] local.INFO: Extracted packet for processing {"connection_id":170292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ca"} 
[2026-09-04 01:14:07] local.INFO: GPS Element Parsed {"raw_longitude":755779328,"raw_latitude":116179896,"longitude_deg":75.5779328,"latitude_deg":11.6179896,"altitude":15,"angle":9,"satellites":45,"speed":34,"hex_longitude":"2d0c4700","hex_latitude":"06ecc3b8","is_valid_coordinates":true} 
[2026-09-04 01:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846910976001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397346545747361792,"note":"Value kept but may cause issues"} 
[2026-09-04 01:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884324037820301312,"note":"Value kept but may cause issues"} 
[2026-09-04 01:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788464513000,"timestamp_ms":1788464513000,"timestamp_seconds":1788464513,"priority":1,"record_length":96,"hex_timestamp":"000001a068cabfe8"} 
[2026-09-04 01:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 01:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846910976001,"66":27343,"158":206,"2":56576,"24":34,"16":397346545747361792,"45":884324037820301312},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-04 01:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846910976001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:14:07] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-04 01:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397346545747361792,"km_value":397346545747361.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":884324037820301312,"description":"Unknown IO ID 45"} 
[2026-09-04 01:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846910976001,"power":27343,"unknown_158":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":884324037820301312}} 
[2026-09-04 01:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":170292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:14:07] local.INFO: GPS data processed {"connection_id":170292,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:14:07] local.INFO: Acknowledgment sent {"connection_id":170292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:14:11] local.INFO: TCP Data received {"connection_id":170292,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068cae6f8012d0c4b8006ece348000c01652d..."} 
[2026-09-04 01:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068cae6f8012d0c4b8006ece348000c01652d..."} 
[2026-09-04 01:14:11] local.INFO: Processing buffer {"connection_id":170292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068cae6f8012d0c4b8006ece348000c01652d..."} 
[2026-09-04 01:14:11] local.INFO: Packet analysis {"connection_id":170292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ca"} 
[2026-09-04 01:14:11] local.INFO: Extracted packet for processing {"connection_id":170292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ca"} 
[2026-09-04 01:14:11] local.INFO: GPS Element Parsed {"raw_longitude":755780480,"raw_latitude":116187976,"longitude_deg":75.578048,"latitude_deg":11.6187976,"altitude":12,"angle":357,"satellites":45,"speed":22,"hex_longitude":"2d0c4b80","hex_latitude":"06ece348","is_valid_coordinates":true} 
[2026-09-04 01:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846915328001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397346940884353024,"note":"Value kept but may cause issues"} 
[2026-09-04 01:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884675881543645184,"note":"Value kept but may cause issues"} 
[2026-09-04 01:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788464523000,"timestamp_ms":1788464523000,"timestamp_seconds":1788464523,"priority":1,"record_length":96,"hex_timestamp":"000001a068cae6f8"} 
[2026-09-04 01:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 01:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846915328001,"66":27213,"158":206,"2":56576,"24":22,"16":397346940884353024,"45":884675881543645184},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-04 01:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846915328001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:14:11] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-04 01:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397346940884353024,"km_value":397346940884353.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":884675881543645184,"description":"Unknown IO ID 45"} 
[2026-09-04 01:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846915328001,"power":27213,"unknown_158":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":884675881543645184}} 
[2026-09-04 01:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":170292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:14:11] local.INFO: GPS data processed {"connection_id":170292,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:14:11] local.INFO: Acknowledgment sent {"connection_id":170292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:14:43] local.INFO: TCP Data received {"connection_id":170292,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068cafe68012d0c4b0006ecf060000b00072c..."} 
[2026-09-04 01:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068cafe68012d0c4b0006ecf060000b00072c..."} 
[2026-09-04 01:14:43] local.INFO: Processing buffer {"connection_id":170292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068cafe68012d0c4b0006ecf060000b00072c..."} 
[2026-09-04 01:14:43] local.INFO: Packet analysis {"connection_id":170292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ca"} 
[2026-09-04 01:14:43] local.INFO: Extracted packet for processing {"connection_id":170292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ca"} 
[2026-09-04 01:14:43] local.INFO: GPS Element Parsed {"raw_longitude":755780352,"raw_latitude":116191328,"longitude_deg":75.5780352,"latitude_deg":11.6191328,"altitude":11,"angle":7,"satellites":44,"speed":24,"hex_longitude":"2d0c4b00","hex_latitude":"06ecf060","is_valid_coordinates":true} 
[2026-09-04 01:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846917888001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397347108388077568,"note":"Value kept but may cause issues"} 
[2026-09-04 01:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885942518940911616,"note":"Value kept but may cause issues"} 
[2026-09-04 01:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788464529000,"timestamp_ms":1788464529000,"timestamp_seconds":1788464529,"priority":1,"record_length":96,"hex_timestamp":"000001a068cafe68"} 
[2026-09-04 01:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 01:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":170292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":170292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":170292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846917888001,"66":27180,"158":206,"2":56576,"24":24,"16":397347108388077568,"45":885942518940911616},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-04 01:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846917888001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:14:43] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-04 01:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397347108388077568,"km_value":397347108388077.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":885942518940911616,"description":"Unknown IO ID 45"} 
[2026-09-04 01:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846917888001,"power":27180,"unknown_158":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":885942518940911616}} 
[2026-09-04 01:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":170292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:14:43] local.INFO: GPS data processed {"connection_id":170292,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:14:43] local.INFO: Acknowledgment sent {"connection_id":170292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:15:01] local.INFO: TCP Data received {"connection_id":171686,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:15:01] local.INFO: Processing buffer {"connection_id":171686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:15:01] local.INFO: IMEI packet received {"connection_id":171686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":171686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:15:04] local.INFO: TCP Data received {"connection_id":173001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:15:04] local.INFO: Processing buffer {"connection_id":173001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:15:04] local.INFO: IMEI packet received {"connection_id":173001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":173001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:15:06] local.INFO: TCP Data received {"connection_id":171686,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:15:06] local.INFO: Processing buffer {"connection_id":171686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:15:06] local.INFO: IMEI packet received {"connection_id":171686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":171686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:15:08] local.INFO: TCP Data received {"connection_id":171686,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068cb3130012d0c500006ed14d0000a00082b..."} 
[2026-09-04 01:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068cb3130012d0c500006ed14d0000a00082b..."} 
[2026-09-04 01:15:08] local.INFO: Processing buffer {"connection_id":171686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068cb3130012d0c500006ed14d0000a00082b..."} 
[2026-09-04 01:15:08] local.INFO: Packet analysis {"connection_id":171686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068cb"} 
[2026-09-04 01:15:08] local.INFO: Extracted packet for processing {"connection_id":171686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068cb"} 
[2026-09-04 01:15:08] local.INFO: GPS Element Parsed {"raw_longitude":755781632,"raw_latitude":116200656,"longitude_deg":75.5781632,"latitude_deg":11.6200656,"altitude":10,"angle":8,"satellites":43,"speed":31,"hex_longitude":"2d0c5000","hex_latitude":"06ed14d0","is_valid_coordinates":true} 
[2026-09-04 01:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846919424001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397347563654610944,"note":"Value kept but may cause issues"} 
[2026-09-04 01:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885801781453414400,"note":"Value kept but may cause issues"} 
[2026-09-04 01:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788464542000,"timestamp_ms":1788464542000,"timestamp_seconds":1788464542,"priority":1,"record_length":96,"hex_timestamp":"000001a068cb3130"} 
[2026-09-04 01:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 01:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846919424001,"66":27321,"158":206,"2":56576,"24":31,"16":397347563654610944,"45":885801781453414400},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-04 01:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846919424001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:15:08] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-04 01:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397347563654610944,"km_value":397347563654610.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":885801781453414400,"description":"Unknown IO ID 45"} 
[2026-09-04 01:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846919424001,"power":27321,"unknown_158":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":885801781453414400}} 
[2026-09-04 01:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":171686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:15:08] local.INFO: GPS data processed {"connection_id":171686,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:15:08] local.INFO: Acknowledgment sent {"connection_id":171686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:15:39] local.INFO: TCP Data received {"connection_id":173002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:15:39] local.INFO: Processing buffer {"connection_id":173002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:15:39] local.INFO: IMEI packet received {"connection_id":173002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":173002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:15:39] local.INFO: TCP Data received {"connection_id":171686,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068cb5c28012d0c55c006ed38d0000900092c..."} 
[2026-09-04 01:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068cb5c28012d0c55c006ed38d0000900092c..."} 
[2026-09-04 01:15:39] local.INFO: Processing buffer {"connection_id":171686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068cb5c28012d0c55c006ed38d0000900092c..."} 
[2026-09-04 01:15:39] local.INFO: Packet analysis {"connection_id":171686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068cb"} 
[2026-09-04 01:15:39] local.INFO: Extracted packet for processing {"connection_id":171686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068cb"} 
[2026-09-04 01:15:39] local.INFO: GPS Element Parsed {"raw_longitude":755783104,"raw_latitude":116209872,"longitude_deg":75.5783104,"latitude_deg":11.6209872,"altitude":9,"angle":9,"satellites":44,"speed":35,"hex_longitude":"2d0c55c0","hex_latitude":"06ed38d0","is_valid_coordinates":true} 
[2026-09-04 01:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846922752001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397348014626177024,"note":"Value kept but may cause issues"} 
[2026-09-04 01:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887209156339355648,"note":"Value kept but may cause issues"} 
[2026-09-04 01:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788464553000,"timestamp_ms":1788464553000,"timestamp_seconds":1788464553,"priority":1,"record_length":96,"hex_timestamp":"000001a068cb5c28"} 
[2026-09-04 01:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 01:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846922752001,"66":27180,"158":206,"2":56576,"24":35,"16":397348014626177024,"45":887209156339355648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-04 01:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846922752001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:15:39] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-04 01:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397348014626177024,"km_value":397348014626177.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":887209156339355648,"description":"Unknown IO ID 45"} 
[2026-09-04 01:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846922752001,"power":27180,"unknown_158":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":887209156339355648}} 
[2026-09-04 01:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":171686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:15:39] local.INFO: GPS data processed {"connection_id":171686,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:15:39] local.INFO: Acknowledgment sent {"connection_id":171686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:16:01] local.INFO: TCP Data received {"connection_id":170593,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:16:01] local.INFO: Processing buffer {"connection_id":170593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:16:01] local.INFO: IMEI packet received {"connection_id":170593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":170593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:16:06] local.INFO: TCP Data received {"connection_id":170593,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:16:06] local.INFO: Processing buffer {"connection_id":170593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:16:06] local.INFO: IMEI packet received {"connection_id":170593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":170593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:16:07] local.INFO: TCP Data received {"connection_id":170593,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068cda230012d0bf28006ee7478001401572a..."} 
[2026-09-04 01:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068cda230012d0bf28006ee7478001401572a..."} 
[2026-09-04 01:16:07] local.INFO: Processing buffer {"connection_id":170593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068cda230012d0bf28006ee7478001401572a..."} 
[2026-09-04 01:16:07] local.INFO: Packet analysis {"connection_id":170593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068cd"} 
[2026-09-04 01:16:07] local.INFO: Extracted packet for processing {"connection_id":170593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068cd"} 
[2026-09-04 01:16:07] local.INFO: GPS Element Parsed {"raw_longitude":755757696,"raw_latitude":116290680,"longitude_deg":75.5757696,"latitude_deg":11.629068,"altitude":20,"angle":343,"satellites":42,"speed":11,"hex_longitude":"2d0bf280","hex_latitude":"06ee7478","is_valid_coordinates":true} 
[2026-09-04 01:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846962944001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397352275233734656,"note":"Value kept but may cause issues"} 
[2026-09-04 01:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861313458504847360,"note":"Value kept but may cause issues"} 
[2026-09-04 01:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788464702000,"timestamp_ms":1788464702000,"timestamp_seconds":1788464702,"priority":1,"record_length":96,"hex_timestamp":"000001a068cda230"} 
[2026-09-04 01:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 01:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846962944001,"66":27321,"118":206,"2":56576,"24":11,"16":397352275233734656,"45":861313458504847360},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-04 01:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846962944001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:16:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 01:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397352275233734656,"km_value":397352275233734.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":861313458504847360,"description":"Unknown IO ID 45"} 
[2026-09-04 01:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846962944001,"power":27321,"unknown_118":206,"power_alt":56576,"ignition":11,"odometer":null,"unknown_45":861313458504847360}} 
[2026-09-04 01:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":170593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:16:07] local.INFO: GPS data processed {"connection_id":170593,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:16:07] local.INFO: Acknowledgment sent {"connection_id":170593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:16:39] local.INFO: TCP Data received {"connection_id":170593,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068cdd110012d0bee8006ee81f80014014b2b..."} 
[2026-09-04 01:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068cdd110012d0bee8006ee81f80014014b2b..."} 
[2026-09-04 01:16:39] local.INFO: Processing buffer {"connection_id":170593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068cdd110012d0bee8006ee81f80014014b2b..."} 
[2026-09-04 01:16:39] local.INFO: Packet analysis {"connection_id":170593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068cd"} 
[2026-09-04 01:16:39] local.INFO: Extracted packet for processing {"connection_id":170593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068cd"} 
[2026-09-04 01:16:39] local.INFO: GPS Element Parsed {"raw_longitude":755756672,"raw_latitude":116294136,"longitude_deg":75.5756672,"latitude_deg":11.6294136,"altitude":20,"angle":331,"satellites":43,"speed":17,"hex_longitude":"2d0bee80","hex_latitude":"06ee81f8","is_valid_coordinates":true} 
[2026-09-04 01:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846963712001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397352451327393792,"note":"Value kept but may cause issues"} 
[2026-09-04 01:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860891246039955456,"note":"Value kept but may cause issues"} 
[2026-09-04 01:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788464714000,"timestamp_ms":1788464714000,"timestamp_seconds":1788464714,"priority":1,"record_length":96,"hex_timestamp":"000001a068cdd110"} 
[2026-09-04 01:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 01:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846963712001,"66":27463,"118":206,"2":56576,"24":17,"16":397352451327393792,"45":860891246039955456},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-04 01:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846963712001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:16:39] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 01:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397352451327393792,"km_value":397352451327393.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":860891246039955456,"description":"Unknown IO ID 45"} 
[2026-09-04 01:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846963712001,"power":27463,"unknown_118":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":860891246039955456}} 
[2026-09-04 01:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":170593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:16:39] local.INFO: GPS data processed {"connection_id":170593,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:16:39] local.INFO: Acknowledgment sent {"connection_id":170593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:17:06] local.INFO: TCP Data received {"connection_id":171687,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:17:06] local.INFO: Processing buffer {"connection_id":171687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:17:06] local.INFO: IMEI packet received {"connection_id":171687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":171687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:17:08] local.INFO: TCP Data received {"connection_id":171687,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:17:08] local.INFO: Processing buffer {"connection_id":171687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:17:08] local.INFO: IMEI packet received {"connection_id":171687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":171687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:17:10] local.INFO: TCP Data received {"connection_id":171687,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068cde0b0012d0bebc006ee8930001401572c..."} 
[2026-09-04 01:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068cde0b0012d0bebc006ee8930001401572c..."} 
[2026-09-04 01:17:10] local.INFO: Processing buffer {"connection_id":171687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068cde0b0012d0bebc006ee8930001401572c..."} 
[2026-09-04 01:17:10] local.INFO: Packet analysis {"connection_id":171687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068cd"} 
[2026-09-04 01:17:10] local.INFO: Extracted packet for processing {"connection_id":171687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068cd"} 
[2026-09-04 01:17:10] local.INFO: GPS Element Parsed {"raw_longitude":755755968,"raw_latitude":116295984,"longitude_deg":75.5755968,"latitude_deg":11.6295984,"altitude":20,"angle":343,"satellites":44,"speed":21,"hex_longitude":"2d0bebc0","hex_latitude":"06ee8930","is_valid_coordinates":true} 
[2026-09-04 01:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846966784001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397352545816674304,"note":"Value kept but may cause issues"} 
[2026-09-04 01:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":859765346133997568,"note":"Value kept but may cause issues"} 
[2026-09-04 01:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788464718000,"timestamp_ms":1788464718000,"timestamp_seconds":1788464718,"priority":1,"record_length":96,"hex_timestamp":"000001a068cde0b0"} 
[2026-09-04 01:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 01:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846966784001,"66":27343,"118":206,"2":56576,"24":21,"16":397352545816674304,"45":859765346133997568},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-04 01:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846966784001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:17:10] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 01:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397352545816674304,"km_value":397352545816674.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":859765346133997568,"description":"Unknown IO ID 45"} 
[2026-09-04 01:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846966784001,"power":27343,"unknown_118":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":859765346133997568}} 
[2026-09-04 01:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":171687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:17:10] local.INFO: GPS data processed {"connection_id":171687,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:17:10] local.INFO: Acknowledgment sent {"connection_id":171687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:17:11] local.INFO: TCP Data received {"connection_id":171687,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ce1b48012d0bdec006eeaab80013014e2b..."} 
[2026-09-04 01:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ce1b48012d0bdec006eeaab80013014e2b..."} 
[2026-09-04 01:17:11] local.INFO: Processing buffer {"connection_id":171687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ce1b48012d0bdec006eeaab80013014e2b..."} 
[2026-09-04 01:17:11] local.INFO: Packet analysis {"connection_id":171687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ce"} 
[2026-09-04 01:17:11] local.INFO: Extracted packet for processing {"connection_id":171687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ce"} 
[2026-09-04 01:17:11] local.INFO: GPS Element Parsed {"raw_longitude":755752640,"raw_latitude":116304568,"longitude_deg":75.575264,"latitude_deg":11.6304568,"altitude":19,"angle":334,"satellites":43,"speed":32,"hex_longitude":"2d0bdec0","hex_latitude":"06eeaab8","is_valid_coordinates":true} 
[2026-09-04 01:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846967808001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397352996788240384,"note":"Value kept but may cause issues"} 
[2026-09-04 01:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":858991289948516352,"note":"Value kept but may cause issues"} 
[2026-09-04 01:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788464733000,"timestamp_ms":1788464733000,"timestamp_seconds":1788464733,"priority":1,"record_length":96,"hex_timestamp":"000001a068ce1b48"} 
[2026-09-04 01:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 01:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846967808001,"66":27343,"118":206,"2":56576,"24":32,"16":397352996788240384,"45":858991289948516352},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-04 01:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846967808001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:17:11] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 01:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397352996788240384,"km_value":397352996788240.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":858991289948516352,"description":"Unknown IO ID 45"} 
[2026-09-04 01:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846967808001,"power":27343,"unknown_118":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":858991289948516352}} 
[2026-09-04 01:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":171687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:17:11] local.INFO: GPS data processed {"connection_id":171687,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:17:11] local.INFO: Acknowledgment sent {"connection_id":171687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:17:43] local.INFO: TCP Data received {"connection_id":171687,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ce4258012d0bcfc006eecaa0001101512b..."} 
[2026-09-04 01:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ce4258012d0bcfc006eecaa0001101512b..."} 
[2026-09-04 01:17:43] local.INFO: Processing buffer {"connection_id":171687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ce4258012d0bcfc006eecaa0001101512b..."} 
[2026-09-04 01:17:43] local.INFO: Packet analysis {"connection_id":171687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ce"} 
[2026-09-04 01:17:43] local.INFO: Extracted packet for processing {"connection_id":171687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ce"} 
[2026-09-04 01:17:43] local.INFO: GPS Element Parsed {"raw_longitude":755748800,"raw_latitude":116312736,"longitude_deg":75.57488,"latitude_deg":11.6312736,"altitude":17,"angle":337,"satellites":43,"speed":36,"hex_longitude":"2d0bcfc0","hex_latitude":"06eecaa0","is_valid_coordinates":true} 
[2026-09-04 01:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846971648001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397353430579937280,"note":"Value kept but may cause issues"} 
[2026-09-04 01:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855332115253475328,"note":"Value kept but may cause issues"} 
[2026-09-04 01:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788464743000,"timestamp_ms":1788464743000,"timestamp_seconds":1788464743,"priority":1,"record_length":96,"hex_timestamp":"000001a068ce4258"} 
[2026-09-04 01:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 01:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846971648001,"66":27343,"118":206,"2":56576,"24":36,"16":397353430579937280,"45":855332115253475328},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-04 01:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846971648001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:17:43] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 01:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397353430579937280,"km_value":397353430579937.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":855332115253475328,"description":"Unknown IO ID 45"} 
[2026-09-04 01:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846971648001,"power":27343,"unknown_118":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":855332115253475328}} 
[2026-09-04 01:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":171687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:17:43] local.INFO: GPS data processed {"connection_id":171687,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:17:43] local.INFO: Acknowledgment sent {"connection_id":171687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:18:00] local.INFO: TCP Data received {"connection_id":171688,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:18:00] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:18:00] local.INFO: IMEI packet received {"connection_id":171688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":171688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:18:01] local.INFO: TCP Data received {"connection_id":171688,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:18:01] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:18:01] local.INFO: IMEI packet received {"connection_id":171688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":171688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:18:06] local.INFO: TCP Data received {"connection_id":171688,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:18:06] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:18:06] local.INFO: IMEI packet received {"connection_id":171688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":171688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:18:07] local.INFO: TCP Data received {"connection_id":171688,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ce6580012d0bc2c006eeeaf0001001512c..."} 
[2026-09-04 01:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ce6580012d0bc2c006eeeaf0001001512c..."} 
[2026-09-04 01:18:07] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ce6580012d0bc2c006eeeaf0001001512c..."} 
[2026-09-04 01:18:07] local.INFO: Packet analysis {"connection_id":171688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ce"} 
[2026-09-04 01:18:07] local.INFO: Extracted packet for processing {"connection_id":171688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ce"} 
[2026-09-04 01:18:07] local.INFO: GPS Element Parsed {"raw_longitude":755745472,"raw_latitude":116321008,"longitude_deg":75.5745472,"latitude_deg":11.6321008,"altitude":16,"angle":337,"satellites":44,"speed":39,"hex_longitude":"2d0bc2c0","hex_latitude":"06eeeaf0","is_valid_coordinates":true} 
[2026-09-04 01:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846974208001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397353864371634176,"note":"Value kept but may cause issues"} 
[2026-09-04 01:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851109990604906496,"note":"Value kept but may cause issues"} 
[2026-09-04 01:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788464752000,"timestamp_ms":1788464752000,"timestamp_seconds":1788464752,"priority":1,"record_length":96,"hex_timestamp":"000001a068ce6580"} 
[2026-09-04 01:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 01:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846974208001,"66":27365,"118":206,"2":56576,"24":39,"16":397353864371634176,"45":851109990604906496},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-04 01:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846974208001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:18:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 01:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397353864371634176,"km_value":397353864371634.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":851109990604906496,"description":"Unknown IO ID 45"} 
[2026-09-04 01:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846974208001,"power":27365,"unknown_118":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":851109990604906496}} 
[2026-09-04 01:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":171688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:18:07] local.INFO: GPS data processed {"connection_id":171688,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:18:07] local.INFO: Acknowledgment sent {"connection_id":171688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:18:39] local.INFO: TCP Data received {"connection_id":171688,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068ce88a8012d0bb58006ef0ba8001001532d..."} 
[2026-09-04 01:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068ce88a8012d0bb58006ef0ba8001001532d..."} 
[2026-09-04 01:18:39] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068ce88a8012d0bb58006ef0ba8001001532d..."} 
[2026-09-04 01:18:39] local.INFO: Packet analysis {"connection_id":171688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ce"} 
[2026-09-04 01:18:39] local.INFO: Extracted packet for processing {"connection_id":171688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ce"} 
[2026-09-04 01:18:39] local.INFO: GPS Element Parsed {"raw_longitude":755742080,"raw_latitude":116329384,"longitude_deg":75.574208,"latitude_deg":11.6329384,"altitude":16,"angle":339,"satellites":45,"speed":39,"hex_longitude":"2d0bb580","hex_latitude":"06ef0ba8","is_valid_coordinates":true} 
[2026-09-04 01:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846976512001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397354298163331072,"note":"Value kept but may cause issues"} 
[2026-09-04 01:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":847450815909785600,"note":"Value kept but may cause issues"} 
[2026-09-04 01:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788464761000,"timestamp_ms":1788464761000,"timestamp_seconds":1788464761,"priority":1,"record_length":96,"hex_timestamp":"000001a068ce88a8"} 
[2026-09-04 01:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 01:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846976512001,"66":27365,"118":206,"2":56576,"24":39,"16":397354298163331072,"45":847450815909785600},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-04 01:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846976512001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:18:39] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 01:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397354298163331072,"km_value":397354298163331.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":847450815909785600,"description":"Unknown IO ID 45"} 
[2026-09-04 01:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846976512001,"power":27365,"unknown_118":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":847450815909785600}} 
[2026-09-04 01:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":171688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:18:39] local.INFO: GPS data processed {"connection_id":171688,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:18:39] local.INFO: Acknowledgment sent {"connection_id":171688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:19:01] local.INFO: TCP Data received {"connection_id":173004,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:19:01] local.INFO: Processing buffer {"connection_id":173004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:19:01] local.INFO: IMEI packet received {"connection_id":173004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":173004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:19:06] local.INFO: TCP Data received {"connection_id":173004,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:19:06] local.INFO: Processing buffer {"connection_id":173004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:19:06] local.INFO: IMEI packet received {"connection_id":173004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":173004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:19:08] local.INFO: TCP Data received {"connection_id":173004,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d03658012d0b48c006f09240000f014f2a..."} 
[2026-09-04 01:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d03658012d0b48c006f09240000f014f2a..."} 
[2026-09-04 01:19:08] local.INFO: Processing buffer {"connection_id":173004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d03658012d0b48c006f09240000f014f2a..."} 
[2026-09-04 01:19:08] local.INFO: Packet analysis {"connection_id":173004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d0"} 
[2026-09-04 01:19:08] local.INFO: Extracted packet for processing {"connection_id":173004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d0"} 
[2026-09-04 01:19:08] local.INFO: GPS Element Parsed {"raw_longitude":755714240,"raw_latitude":116429376,"longitude_deg":75.571424,"latitude_deg":11.6429376,"altitude":15,"angle":335,"satellites":42,"speed":34,"hex_longitude":"2d0b48c0","hex_latitude":"06f09240","is_valid_coordinates":true} 
[2026-09-04 01:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847004160001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397359336159969280,"note":"Value kept but may cause issues"} 
[2026-09-04 01:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816840412217960448,"note":"Value kept but may cause issues"} 
[2026-09-04 01:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788464871000,"timestamp_ms":1788464871000,"timestamp_seconds":1788464871,"priority":1,"record_length":96,"hex_timestamp":"000001a068d03658"} 
[2026-09-04 01:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 01:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847004160001,"66":27365,"118":206,"2":56576,"24":34,"16":397359336159969280,"45":816840412217960448},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-04 01:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847004160001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:19:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 01:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397359336159969280,"km_value":397359336159969.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":816840412217960448,"description":"Unknown IO ID 45"} 
[2026-09-04 01:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847004160001,"power":27365,"unknown_118":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":816840412217960448}} 
[2026-09-04 01:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":173004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:19:08] local.INFO: GPS data processed {"connection_id":173004,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:19:08] local.INFO: Acknowledgment sent {"connection_id":173004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:19:39] local.INFO: TCP Data received {"connection_id":173004,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d06920012d0b384006f0b3f00010014d2c..."} 
[2026-09-04 01:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d06920012d0b384006f0b3f00010014d2c..."} 
[2026-09-04 01:19:39] local.INFO: Processing buffer {"connection_id":173004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d06920012d0b384006f0b3f00010014d2c..."} 
[2026-09-04 01:19:39] local.INFO: Packet analysis {"connection_id":173004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d0"} 
[2026-09-04 01:19:39] local.INFO: Extracted packet for processing {"connection_id":173004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d0"} 
[2026-09-04 01:19:39] local.INFO: GPS Element Parsed {"raw_longitude":755710016,"raw_latitude":116438000,"longitude_deg":75.5710016,"latitude_deg":11.6438,"altitude":16,"angle":333,"satellites":44,"speed":31,"hex_longitude":"2d0b3840","hex_latitude":"06f0b3f0","is_valid_coordinates":true} 
[2026-09-04 01:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847006976001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397359800016437248,"note":"Value kept but may cause issues"} 
[2026-09-04 01:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813110868778827776,"note":"Value kept but may cause issues"} 
[2026-09-04 01:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788464884000,"timestamp_ms":1788464884000,"timestamp_seconds":1788464884,"priority":1,"record_length":96,"hex_timestamp":"000001a068d06920"} 
[2026-09-04 01:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 01:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847006976001,"66":27245,"118":206,"2":56576,"24":31,"16":397359800016437248,"45":813110868778827776},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-04 01:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847006976001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:19:39] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 01:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397359800016437248,"km_value":397359800016437.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":813110868778827776,"description":"Unknown IO ID 45"} 
[2026-09-04 01:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847006976001,"power":27245,"unknown_118":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":813110868778827776}} 
[2026-09-04 01:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":173004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:19:39] local.INFO: GPS data processed {"connection_id":173004,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:19:39] local.INFO: Acknowledgment sent {"connection_id":173004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:20:05] local.INFO: TCP Data received {"connection_id":170596,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:20:05] local.INFO: Processing buffer {"connection_id":170596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:20:05] local.INFO: IMEI packet received {"connection_id":170596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":170596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:20:11] local.INFO: TCP Data received {"connection_id":170596,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:20:11] local.INFO: Processing buffer {"connection_id":170596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:20:11] local.INFO: IMEI packet received {"connection_id":170596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":170596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:20:12] local.INFO: TCP Data received {"connection_id":170596,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d09be8012d0b244006f0d370001101442a..."} 
[2026-09-04 01:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d09be8012d0b244006f0d370001101442a..."} 
[2026-09-04 01:20:12] local.INFO: Processing buffer {"connection_id":170596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d09be8012d0b244006f0d370001101442a..."} 
[2026-09-04 01:20:12] local.INFO: Packet analysis {"connection_id":170596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d0"} 
[2026-09-04 01:20:12] local.INFO: Extracted packet for processing {"connection_id":170596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d0"} 
[2026-09-04 01:20:12] local.INFO: GPS Element Parsed {"raw_longitude":755704896,"raw_latitude":116446064,"longitude_deg":75.5704896,"latitude_deg":11.6446064,"altitude":17,"angle":324,"satellites":42,"speed":26,"hex_longitude":"2d0b2440","hex_latitude":"06f0d370","is_valid_coordinates":true} 
[2026-09-04 01:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847010304001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397360263872905216,"note":"Value kept but may cause issues"} 
[2026-09-04 01:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808466531665309696,"note":"Value kept but may cause issues"} 
[2026-09-04 01:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788464897000,"timestamp_ms":1788464897000,"timestamp_seconds":1788464897,"priority":1,"record_length":96,"hex_timestamp":"000001a068d09be8"} 
[2026-09-04 01:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 01:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":170596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":170596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":170596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847010304001,"66":27332,"118":206,"2":56576,"24":26,"16":397360263872905216,"45":808466531665309696},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-04 01:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847010304001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:20:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 01:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397360263872905216,"km_value":397360263872905.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":808466531665309696,"description":"Unknown IO ID 45"} 
[2026-09-04 01:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847010304001,"power":27332,"unknown_118":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":808466531665309696}} 
[2026-09-04 01:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":170596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:20:12] local.INFO: GPS data processed {"connection_id":170596,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:20:12] local.INFO: Acknowledgment sent {"connection_id":170596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:20:44] local.INFO: TCP Data received {"connection_id":170596,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d0da68012d0b150006f0e6b8001001392c..."} 
[2026-09-04 01:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d0da68012d0b150006f0e6b8001001392c..."} 
[2026-09-04 01:20:44] local.INFO: Processing buffer {"connection_id":170596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d0da68012d0b150006f0e6b8001001392c..."} 
[2026-09-04 01:20:44] local.INFO: Packet analysis {"connection_id":170596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d0"} 
[2026-09-04 01:20:44] local.INFO: Extracted packet for processing {"connection_id":170596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d0"} 
[2026-09-04 01:20:44] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":116451000,"longitude_deg":75.5700992,"latitude_deg":11.6451,"altitude":16,"angle":313,"satellites":44,"speed":19,"hex_longitude":"2d0b1500","hex_latitude":"06f0e6b8","is_valid_coordinates":true} 
[2026-09-04 01:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847013632001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397360564520615936,"note":"Value kept but may cause issues"} 
[2026-09-04 01:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802837032133160960,"note":"Value kept but may cause issues"} 
[2026-09-04 01:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788464913000,"timestamp_ms":1788464913000,"timestamp_seconds":1788464913,"priority":1,"record_length":96,"hex_timestamp":"000001a068d0da68"} 
[2026-09-04 01:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 01:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847013632001,"66":27365,"118":206,"2":56576,"24":19,"16":397360564520615936,"45":802837032133160960},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-04 01:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847013632001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:20:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 01:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397360564520615936,"km_value":397360564520615.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":802837032133160960,"description":"Unknown IO ID 45"} 
[2026-09-04 01:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847013632001,"power":27365,"unknown_118":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":802837032133160960}} 
[2026-09-04 01:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":170596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:20:44] local.INFO: GPS data processed {"connection_id":170596,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:20:44] local.INFO: Acknowledgment sent {"connection_id":170596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:21:01] local.INFO: TCP Data received {"connection_id":171690,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:21:01] local.INFO: Processing buffer {"connection_id":171690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:21:01] local.INFO: IMEI packet received {"connection_id":171690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":171690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:21:05] local.INFO: TCP Data received {"connection_id":171690,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:21:05] local.INFO: Processing buffer {"connection_id":171690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:21:05] local.INFO: IMEI packet received {"connection_id":171690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":171690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:21:06] local.INFO: TCP Data received {"connection_id":171690,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d11cd0012d0af94006f0fee8000e013a2c..."} 
[2026-09-04 01:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d11cd0012d0af94006f0fee8000e013a2c..."} 
[2026-09-04 01:21:06] local.INFO: Processing buffer {"connection_id":171690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d11cd0012d0af94006f0fee8000e013a2c..."} 
[2026-09-04 01:21:06] local.INFO: Packet analysis {"connection_id":171690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d1"} 
[2026-09-04 01:21:06] local.INFO: Extracted packet for processing {"connection_id":171690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d1"} 
[2026-09-04 01:21:06] local.INFO: GPS Element Parsed {"raw_longitude":755693888,"raw_latitude":116457192,"longitude_deg":75.5693888,"latitude_deg":11.6457192,"altitude":14,"angle":314,"satellites":44,"speed":24,"hex_longitude":"2d0af940","hex_latitude":"06f0fee8","is_valid_coordinates":true} 
[2026-09-04 01:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847017728001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397361015492182016,"note":"Value kept but may cause issues"} 
[2026-09-04 01:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544538739587072,"note":"Value kept but may cause issues"} 
[2026-09-04 01:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788464930000,"timestamp_ms":1788464930000,"timestamp_seconds":1788464930,"priority":1,"record_length":96,"hex_timestamp":"000001a068d11cd0"} 
[2026-09-04 01:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 01:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847017728001,"66":27376,"118":206,"2":56576,"24":24,"16":397361015492182016,"45":798544538739587072},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-04 01:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847017728001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:21:06] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 01:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397361015492182016,"km_value":397361015492182.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544538739587072,"description":"Unknown IO ID 45"} 
[2026-09-04 01:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847017728001,"power":27376,"unknown_118":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":798544538739587072}} 
[2026-09-04 01:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":171690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:21:06] local.INFO: GPS data processed {"connection_id":171690,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:21:06] local.INFO: Acknowledgment sent {"connection_id":171690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:21:19] local.INFO: TCP Data received {"connection_id":171689,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:21:19] local.INFO: Processing buffer {"connection_id":171689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:21:19] local.INFO: IMEI packet received {"connection_id":171689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":171689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:21:38] local.INFO: TCP Data received {"connection_id":171690,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d15380012d0add8006f117a00010013d2a..."} 
[2026-09-04 01:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d15380012d0add8006f117a00010013d2a..."} 
[2026-09-04 01:21:38] local.INFO: Processing buffer {"connection_id":171690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d15380012d0add8006f117a00010013d2a..."} 
[2026-09-04 01:21:38] local.INFO: Packet analysis {"connection_id":171690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d1"} 
[2026-09-04 01:21:38] local.INFO: Extracted packet for processing {"connection_id":171690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d1"} 
[2026-09-04 01:21:38] local.INFO: GPS Element Parsed {"raw_longitude":755686784,"raw_latitude":116463520,"longitude_deg":75.5686784,"latitude_deg":11.646352,"altitude":16,"angle":317,"satellites":42,"speed":26,"hex_longitude":"2d0add80","hex_latitude":"06f117a0","is_valid_coordinates":true} 
[2026-09-04 01:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847022080001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397361475053682688,"note":"Value kept but may cause issues"} 
[2026-09-04 01:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790733608137451520,"note":"Value kept but may cause issues"} 
[2026-09-04 01:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788464944000,"timestamp_ms":1788464944000,"timestamp_seconds":1788464944,"priority":1,"record_length":96,"hex_timestamp":"000001a068d15380"} 
[2026-09-04 01:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 01:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847022080001,"66":27332,"118":206,"2":56576,"24":26,"16":397361475053682688,"45":790733608137451520},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-04 01:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847022080001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:21:38] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 01:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397361475053682688,"km_value":397361475053682.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":790733608137451520,"description":"Unknown IO ID 45"} 
[2026-09-04 01:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847022080001,"power":27332,"unknown_118":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":790733608137451520}} 
[2026-09-04 01:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":171690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:21:38] local.INFO: GPS data processed {"connection_id":171690,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:21:38] local.INFO: Acknowledgment sent {"connection_id":171690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:21:39] local.INFO: TCP Data received {"connection_id":173005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:21:39] local.INFO: Processing buffer {"connection_id":173005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:21:39] local.INFO: IMEI packet received {"connection_id":173005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":173005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:22:01] local.INFO: TCP Data received {"connection_id":170597,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:22:01] local.INFO: Processing buffer {"connection_id":170597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:22:01] local.INFO: IMEI packet received {"connection_id":170597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":170597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:22:06] local.INFO: TCP Data received {"connection_id":170597,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:22:06] local.INFO: Processing buffer {"connection_id":170597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:22:06] local.INFO: IMEI packet received {"connection_id":170597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":170597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:22:07] local.INFO: TCP Data received {"connection_id":170597,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d172c0012d0acf8006f12510001101312c..."} 
[2026-09-04 01:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d172c0012d0acf8006f12510001101312c..."} 
[2026-09-04 01:22:07] local.INFO: Processing buffer {"connection_id":170597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d172c0012d0acf8006f12510001101312c..."} 
[2026-09-04 01:22:07] local.INFO: Packet analysis {"connection_id":170597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d1"} 
[2026-09-04 01:22:07] local.INFO: Extracted packet for processing {"connection_id":170597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d1"} 
[2026-09-04 01:22:07] local.INFO: GPS Element Parsed {"raw_longitude":755683200,"raw_latitude":116466960,"longitude_deg":75.56832,"latitude_deg":11.646696,"altitude":17,"angle":305,"satellites":44,"speed":25,"hex_longitude":"2d0acf80","hex_latitude":"06f12510","is_valid_coordinates":true} 
[2026-09-04 01:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847025664001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397361711276883968,"note":"Value kept but may cause issues"} 
[2026-09-04 01:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":782922677535350784,"note":"Value kept but may cause issues"} 
[2026-09-04 01:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788464952000,"timestamp_ms":1788464952000,"timestamp_seconds":1788464952,"priority":1,"record_length":96,"hex_timestamp":"000001a068d172c0"} 
[2026-09-04 01:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 01:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847025664001,"66":27300,"118":206,"2":56576,"24":25,"16":397361711276883968,"45":782922677535350784},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-04 01:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847025664001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:22:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 01:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397361711276883968,"km_value":397361711276883.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":782922677535350784,"description":"Unknown IO ID 45"} 
[2026-09-04 01:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847025664001,"power":27300,"unknown_118":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":782922677535350784}} 
[2026-09-04 01:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":170597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:22:07] local.INFO: GPS data processed {"connection_id":170597,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:22:07] local.INFO: Acknowledgment sent {"connection_id":170597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:22:39] local.INFO: TCP Data received {"connection_id":170597,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d34b68012d09d58006f20060000601562a..."} 
[2026-09-04 01:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d34b68012d09d58006f20060000601562a..."} 
[2026-09-04 01:22:39] local.INFO: Processing buffer {"connection_id":170597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d34b68012d09d58006f20060000601562a..."} 
[2026-09-04 01:22:39] local.INFO: Packet analysis {"connection_id":170597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d3"} 
[2026-09-04 01:22:39] local.INFO: Extracted packet for processing {"connection_id":170597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d3"} 
[2026-09-04 01:22:39] local.INFO: GPS Element Parsed {"raw_longitude":755619200,"raw_latitude":116523104,"longitude_deg":75.56192,"latitude_deg":11.6523104,"altitude":6,"angle":342,"satellites":42,"speed":27,"hex_longitude":"2d09d580","hex_latitude":"06f20060","is_valid_coordinates":true} 
[2026-09-04 01:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847055360001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397365933229735936,"note":"Value kept but may cause issues"} 
[2026-09-04 01:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":711357664719669248,"note":"Value kept but may cause issues"} 
[2026-09-04 01:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788465073000,"timestamp_ms":1788465073000,"timestamp_seconds":1788465073,"priority":1,"record_length":96,"hex_timestamp":"000001a068d34b68"} 
[2026-09-04 01:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 01:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847055360001,"66":27267,"119":206,"2":56576,"24":27,"16":397365933229735936,"45":711357664719669248},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-09-04 01:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847055360001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:22:39] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 01:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397365933229735936,"km_value":397365933229735.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":711357664719669248,"description":"Unknown IO ID 45"} 
[2026-09-04 01:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847055360001,"power":27267,"unknown_119":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":711357664719669248}} 
[2026-09-04 01:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":170597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:22:39] local.INFO: GPS data processed {"connection_id":170597,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:22:39] local.INFO: Acknowledgment sent {"connection_id":170597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:23:00] local.INFO: TCP Data received {"connection_id":170598,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:23:00] local.INFO: Processing buffer {"connection_id":170598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:23:00] local.INFO: IMEI packet received {"connection_id":170598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":170598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:23:05] local.INFO: TCP Data received {"connection_id":170598,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:23:05] local.INFO: Processing buffer {"connection_id":170598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:23:05] local.INFO: IMEI packet received {"connection_id":170598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":170598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:23:07] local.INFO: TCP Data received {"connection_id":170598,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d38600012d09cbc006f223480005015929..."} 
[2026-09-04 01:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d38600012d09cbc006f223480005015929..."} 
[2026-09-04 01:23:07] local.INFO: Processing buffer {"connection_id":170598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d38600012d09cbc006f223480005015929..."} 
[2026-09-04 01:23:07] local.INFO: Packet analysis {"connection_id":170598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d3"} 
[2026-09-04 01:23:07] local.INFO: Extracted packet for processing {"connection_id":170598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d3"} 
[2026-09-04 01:23:07] local.INFO: GPS Element Parsed {"raw_longitude":755616704,"raw_latitude":116532040,"longitude_deg":75.5616704,"latitude_deg":11.653204,"altitude":5,"angle":345,"satellites":41,"speed":23,"hex_longitude":"2d09cbc0","hex_latitude":"06f22348","is_valid_coordinates":true} 
[2026-09-04 01:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847058688001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397366384201302016,"note":"Value kept but may cause issues"} 
[2026-09-04 01:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708613283698991104,"note":"Value kept but may cause issues"} 
[2026-09-04 01:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788465088000,"timestamp_ms":1788465088000,"timestamp_seconds":1788465088,"priority":1,"record_length":96,"hex_timestamp":"000001a068d38600"} 
[2026-09-04 01:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 01:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847058688001,"66":27365,"119":206,"2":56576,"24":23,"16":397366384201302016,"45":708613283698991104},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-09-04 01:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847058688001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:23:07] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 01:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397366384201302016,"km_value":397366384201302.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":708613283698991104,"description":"Unknown IO ID 45"} 
[2026-09-04 01:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847058688001,"power":27365,"unknown_119":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":708613283698991104}} 
[2026-09-04 01:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":170598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:23:07] local.INFO: GPS data processed {"connection_id":170598,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:23:07] local.INFO: Acknowledgment sent {"connection_id":170598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:23:39] local.INFO: TCP Data received {"connection_id":170598,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d3c868012d09c24006f246980007015a2a..."} 
[2026-09-04 01:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d3c868012d09c24006f246980007015a2a..."} 
[2026-09-04 01:23:39] local.INFO: Processing buffer {"connection_id":170598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d3c868012d09c24006f246980007015a2a..."} 
[2026-09-04 01:23:39] local.INFO: Packet analysis {"connection_id":170598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d3"} 
[2026-09-04 01:23:39] local.INFO: Extracted packet for processing {"connection_id":170598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d3"} 
[2026-09-04 01:23:39] local.INFO: GPS Element Parsed {"raw_longitude":755614272,"raw_latitude":116541080,"longitude_deg":75.5614272,"latitude_deg":11.654108,"altitude":7,"angle":346,"satellites":42,"speed":20,"hex_longitude":"2d09c240","hex_latitude":"06f24698","is_valid_coordinates":true} 
[2026-09-04 01:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847062528001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397366839467835392,"note":"Value kept but may cause issues"} 
[2026-09-04 01:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705868902678349824,"note":"Value kept but may cause issues"} 
[2026-09-04 01:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788465105000,"timestamp_ms":1788465105000,"timestamp_seconds":1788465105,"priority":1,"record_length":96,"hex_timestamp":"000001a068d3c868"} 
[2026-09-04 01:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 01:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847062528001,"66":27213,"119":206,"2":56576,"24":20,"16":397366839467835392,"45":705868902678349824},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-09-04 01:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847062528001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:23:39] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 01:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397366839467835392,"km_value":397366839467835.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":705868902678349824,"description":"Unknown IO ID 45"} 
[2026-09-04 01:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847062528001,"power":27213,"unknown_119":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":705868902678349824}} 
[2026-09-04 01:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":170598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:23:39] local.INFO: GPS data processed {"connection_id":170598,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:23:39] local.INFO: Acknowledgment sent {"connection_id":170598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:24:06] local.INFO: TCP Data received {"connection_id":173007,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:24:06] local.INFO: Processing buffer {"connection_id":173007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:24:06] local.INFO: IMEI packet received {"connection_id":173007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":173007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:24:10] local.INFO: TCP Data received {"connection_id":173007,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:24:10] local.INFO: Processing buffer {"connection_id":173007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:24:10] local.INFO: IMEI packet received {"connection_id":173007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":173007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:24:12] local.INFO: TCP Data received {"connection_id":173007,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d40ad0012d09b90006f269880007015b29..."} 
[2026-09-04 01:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d40ad0012d09b90006f269880007015b29..."} 
[2026-09-04 01:24:12] local.INFO: Processing buffer {"connection_id":173007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d40ad0012d09b90006f269880007015b29..."} 
[2026-09-04 01:24:12] local.INFO: Packet analysis {"connection_id":173007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d4"} 
[2026-09-04 01:24:12] local.INFO: Extracted packet for processing {"connection_id":173007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d4"} 
[2026-09-04 01:24:12] local.INFO: GPS Element Parsed {"raw_longitude":755611904,"raw_latitude":116550024,"longitude_deg":75.5611904,"latitude_deg":11.6550024,"altitude":7,"angle":347,"satellites":41,"speed":20,"hex_longitude":"2d09b900","hex_latitude":"06f26988","is_valid_coordinates":true} 
[2026-09-04 01:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847066880001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397367290439401472,"note":"Value kept but may cause issues"} 
[2026-09-04 01:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703194890401912832,"note":"Value kept but may cause issues"} 
[2026-09-04 01:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788465122000,"timestamp_ms":1788465122000,"timestamp_seconds":1788465122,"priority":1,"record_length":96,"hex_timestamp":"000001a068d40ad0"} 
[2026-09-04 01:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 01:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847066880001,"66":27234,"119":206,"2":56576,"24":20,"16":397367290439401472,"45":703194890401912832},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-09-04 01:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847066880001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:24:12] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 01:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397367290439401472,"km_value":397367290439401.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":703194890401912832,"description":"Unknown IO ID 45"} 
[2026-09-04 01:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847066880001,"power":27234,"unknown_119":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":703194890401912832}} 
[2026-09-04 01:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":173007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:24:12] local.INFO: GPS data processed {"connection_id":173007,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:24:12] local.INFO: Acknowledgment sent {"connection_id":173007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:24:44] local.INFO: TCP Data received {"connection_id":173007,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d45508012d09b00006f28ca0000a015826..."} 
[2026-09-04 01:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d45508012d09b00006f28ca0000a015826..."} 
[2026-09-04 01:24:44] local.INFO: Processing buffer {"connection_id":173007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d45508012d09b00006f28ca0000a015826..."} 
[2026-09-04 01:24:44] local.INFO: Packet analysis {"connection_id":173007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d4"} 
[2026-09-04 01:24:44] local.INFO: Extracted packet for processing {"connection_id":173007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d4"} 
[2026-09-04 01:24:44] local.INFO: GPS Element Parsed {"raw_longitude":755609600,"raw_latitude":116559008,"longitude_deg":75.56096,"latitude_deg":11.6559008,"altitude":10,"angle":344,"satellites":38,"speed":20,"hex_longitude":"2d09b000","hex_latitude":"06f28ca0","is_valid_coordinates":true} 
[2026-09-04 01:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847071232001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397367737116000256,"note":"Value kept but may cause issues"} 
[2026-09-04 01:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":700591246869628928,"note":"Value kept but may cause issues"} 
[2026-09-04 01:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788465141000,"timestamp_ms":1788465141000,"timestamp_seconds":1788465141,"priority":1,"record_length":96,"hex_timestamp":"000001a068d45508"} 
[2026-09-04 01:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 01:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847071232001,"66":27463,"119":206,"2":56576,"24":20,"16":397367737116000256,"45":700591246869628928},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-09-04 01:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847071232001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:24:44] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 01:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397367737116000256,"km_value":397367737116000.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":700591246869628928,"description":"Unknown IO ID 45"} 
[2026-09-04 01:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847071232001,"power":27463,"unknown_119":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":700591246869628928}} 
[2026-09-04 01:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":173007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:24:44] local.INFO: GPS data processed {"connection_id":173007,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:24:44] local.INFO: Acknowledgment sent {"connection_id":173007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:25:06] local.INFO: TCP Data received {"connection_id":170599,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:25:06] local.INFO: Processing buffer {"connection_id":170599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:25:06] local.INFO: IMEI packet received {"connection_id":170599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":170599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:25:07] local.INFO: TCP Data received {"connection_id":170599,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:25:07] local.INFO: Processing buffer {"connection_id":170599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:25:07] local.INFO: IMEI packet received {"connection_id":170599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":170599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:25:11] local.INFO: TCP Data received {"connection_id":170599,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:25:11] local.INFO: Processing buffer {"connection_id":170599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:25:11] local.INFO: IMEI packet received {"connection_id":170599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":170599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:25:13] local.INFO: TCP Data received {"connection_id":170599,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d47060012d09ad0006f29a80000c016428..."} 
[2026-09-04 01:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d47060012d09ad0006f29a80000c016428..."} 
[2026-09-04 01:25:13] local.INFO: Processing buffer {"connection_id":170599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d47060012d09ad0006f29a80000c016428..."} 
[2026-09-04 01:25:13] local.INFO: Packet analysis {"connection_id":170599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d4"} 
[2026-09-04 01:25:13] local.INFO: Extracted packet for processing {"connection_id":170599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d4"} 
[2026-09-04 01:25:13] local.INFO: GPS Element Parsed {"raw_longitude":755608832,"raw_latitude":116562560,"longitude_deg":75.5608832,"latitude_deg":11.656256,"altitude":12,"angle":356,"satellites":40,"speed":20,"hex_longitude":"2d09ad00","hex_latitude":"06f29a80","is_valid_coordinates":true} 
[2026-09-04 01:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847076096001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397367913209659392,"note":"Value kept but may cause issues"} 
[2026-09-04 01:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":698057972081532928,"note":"Value kept but may cause issues"} 
[2026-09-04 01:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788465148000,"timestamp_ms":1788465148000,"timestamp_seconds":1788465148,"priority":1,"record_length":96,"hex_timestamp":"000001a068d47060"} 
[2026-09-04 01:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 01:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":170599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":170599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":170599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847076096001,"66":26789,"119":206,"2":56576,"24":20,"16":397367913209659392,"45":698057972081532928},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-09-04 01:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847076096001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:25:13] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 01:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397367913209659392,"km_value":397367913209659.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":698057972081532928,"description":"Unknown IO ID 45"} 
[2026-09-04 01:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847076096001,"power":26789,"unknown_119":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":698057972081532928}} 
[2026-09-04 01:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":170599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:25:13] local.INFO: GPS data processed {"connection_id":170599,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:25:13] local.INFO: Acknowledgment sent {"connection_id":170599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:25:16] local.INFO: TCP Data received {"connection_id":170599,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d47830012d09ad4006f29e68000c00082b..."} 
[2026-09-04 01:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d47830012d09ad4006f29e68000c00082b..."} 
[2026-09-04 01:25:16] local.INFO: Processing buffer {"connection_id":170599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d47830012d09ad4006f29e68000c00082b..."} 
[2026-09-04 01:25:16] local.INFO: Packet analysis {"connection_id":170599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d4"} 
[2026-09-04 01:25:16] local.INFO: Extracted packet for processing {"connection_id":170599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d4"} 
[2026-09-04 01:25:16] local.INFO: GPS Element Parsed {"raw_longitude":755608896,"raw_latitude":116563560,"longitude_deg":75.5608896,"latitude_deg":11.656356,"altitude":12,"angle":8,"satellites":43,"speed":19,"hex_longitude":"2d09ad40","hex_latitude":"06f29e68","is_valid_coordinates":true} 
[2026-09-04 01:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847077888001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397367964749266944,"note":"Value kept but may cause issues"} 
[2026-09-04 01:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697213547152310272,"note":"Value kept but may cause issues"} 
[2026-09-04 01:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788465150000,"timestamp_ms":1788465150000,"timestamp_seconds":1788465150,"priority":1,"record_length":96,"hex_timestamp":"000001a068d47830"} 
[2026-09-04 01:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-04 01:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847077888001,"66":27310,"119":206,"2":56576,"24":19,"16":397367964749266944,"45":697213547152310272},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-09-04 01:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847077888001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:25:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 01:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397367964749266944,"km_value":397367964749266.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":697213547152310272,"description":"Unknown IO ID 45"} 
[2026-09-04 01:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847077888001,"power":27310,"unknown_119":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":697213547152310272}} 
[2026-09-04 01:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":170599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:25:16] local.INFO: GPS data processed {"connection_id":170599,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:25:16] local.INFO: Acknowledgment sent {"connection_id":170599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:26:01] local.INFO: TCP Data received {"connection_id":171692,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:26:01] local.INFO: Processing buffer {"connection_id":171692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:26:01] local.INFO: IMEI packet received {"connection_id":171692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":171692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:26:03] local.INFO: TCP Data received {"connection_id":171692,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:26:03] local.INFO: Processing buffer {"connection_id":171692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:26:03] local.INFO: IMEI packet received {"connection_id":171692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":171692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:26:05] local.INFO: TCP Data received {"connection_id":171692,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d6aab0012d09808006f3e928000d01452c..."} 
[2026-09-04 01:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d6aab0012d09808006f3e928000d01452c..."} 
[2026-09-04 01:26:05] local.INFO: Processing buffer {"connection_id":171692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d6aab0012d09808006f3e928000d01452c..."} 
[2026-09-04 01:26:05] local.INFO: Packet analysis {"connection_id":171692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d6"} 
[2026-09-04 01:26:05] local.INFO: Extracted packet for processing {"connection_id":171692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d6"} 
[2026-09-04 01:26:05] local.INFO: GPS Element Parsed {"raw_longitude":755597440,"raw_latitude":116648232,"longitude_deg":75.559744,"latitude_deg":11.6648232,"altitude":13,"angle":325,"satellites":44,"speed":16,"hex_longitude":"2d098080","hex_latitude":"06f3e928","is_valid_coordinates":true} 
[2026-09-04 01:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847111680001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397372139457478656,"note":"Value kept but may cause issues"} 
[2026-09-04 01:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":687573029219801088,"note":"Value kept but may cause issues"} 
[2026-09-04 01:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788465294000,"timestamp_ms":1788465294000,"timestamp_seconds":1788465294,"priority":1,"record_length":96,"hex_timestamp":"000001a068d6aab0"} 
[2026-09-04 01:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 01:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847111680001,"66":27234,"67":206,"2":56576,"24":16,"16":397372139457478656,"45":687573029219801088},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-09-04 01:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847111680001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:26:05] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-04 01:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397372139457478656,"km_value":397372139457478.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":687573029219801088,"description":"Unknown IO ID 45"} 
[2026-09-04 01:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847111680001,"power":27234,"unknown_67":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":687573029219801088}} 
[2026-09-04 01:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":171692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:26:05] local.INFO: GPS data processed {"connection_id":171692,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:26:05] local.INFO: Acknowledgment sent {"connection_id":171692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:26:36] local.INFO: TCP Data received {"connection_id":171692,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d6c608012d0979c006f3f3b8000d01532c..."} 
[2026-09-04 01:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d6c608012d0979c006f3f3b8000d01532c..."} 
[2026-09-04 01:26:36] local.INFO: Processing buffer {"connection_id":171692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d6c608012d0979c006f3f3b8000d01532c..."} 
[2026-09-04 01:26:36] local.INFO: Packet analysis {"connection_id":171692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d6"} 
[2026-09-04 01:26:36] local.INFO: Extracted packet for processing {"connection_id":171692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d6"} 
[2026-09-04 01:26:36] local.INFO: GPS Element Parsed {"raw_longitude":755595712,"raw_latitude":116650936,"longitude_deg":75.5595712,"latitude_deg":11.6650936,"altitude":13,"angle":339,"satellites":44,"speed":22,"hex_longitude":"2d0979c0","hex_latitude":"06f3f3b8","is_valid_coordinates":true} 
[2026-09-04 01:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847115264001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397372294076301312,"note":"Value kept but may cause issues"} 
[2026-09-04 01:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":684687910710618112,"note":"Value kept but may cause issues"} 
[2026-09-04 01:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788465301000,"timestamp_ms":1788465301000,"timestamp_seconds":1788465301,"priority":1,"record_length":96,"hex_timestamp":"000001a068d6c608"} 
[2026-09-04 01:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 01:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847115264001,"66":27234,"67":206,"2":56576,"24":22,"16":397372294076301312,"45":684687910710618112},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-09-04 01:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847115264001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:26:36] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-04 01:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397372294076301312,"km_value":397372294076301.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":684687910710618112,"description":"Unknown IO ID 45"} 
[2026-09-04 01:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847115264001,"power":27234,"unknown_67":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":684687910710618112}} 
[2026-09-04 01:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":171692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:26:36] local.INFO: GPS data processed {"connection_id":171692,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:26:36] local.INFO: Acknowledgment sent {"connection_id":171692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:27:01] local.INFO: TCP Data received {"connection_id":170297,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:27:01] local.INFO: Processing buffer {"connection_id":170297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:27:01] local.INFO: IMEI packet received {"connection_id":170297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":170297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:27:02] local.INFO: TCP Data received {"connection_id":170297,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:27:02] local.INFO: Processing buffer {"connection_id":170297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:27:02] local.INFO: IMEI packet received {"connection_id":170297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":170297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:27:06] local.INFO: TCP Data received {"connection_id":170297,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:27:06] local.INFO: Processing buffer {"connection_id":170297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:27:06] local.INFO: IMEI packet received {"connection_id":170297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":170297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:27:07] local.INFO: TCP Data received {"connection_id":170297,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d6fcb8012d096ec006f416b8000a015628..."} 
[2026-09-04 01:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d6fcb8012d096ec006f416b8000a015628..."} 
[2026-09-04 01:27:07] local.INFO: Processing buffer {"connection_id":170297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d6fcb8012d096ec006f416b8000a015628..."} 
[2026-09-04 01:27:07] local.INFO: Packet analysis {"connection_id":170297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d6"} 
[2026-09-04 01:27:07] local.INFO: Extracted packet for processing {"connection_id":170297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d6"} 
[2026-09-04 01:27:07] local.INFO: GPS Element Parsed {"raw_longitude":755592896,"raw_latitude":116659896,"longitude_deg":75.5592896,"latitude_deg":11.6659896,"altitude":10,"angle":342,"satellites":40,"speed":31,"hex_longitude":"2d096ec0","hex_latitude":"06f416b8","is_valid_coordinates":true} 
[2026-09-04 01:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847117056001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397372749342834688,"note":"Value kept but may cause issues"} 
[2026-09-04 01:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":682787954618513408,"note":"Value kept but may cause issues"} 
[2026-09-04 01:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788465315000,"timestamp_ms":1788465315000,"timestamp_seconds":1788465315,"priority":1,"record_length":96,"hex_timestamp":"000001a068d6fcb8"} 
[2026-09-04 01:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 01:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847117056001,"66":27213,"67":206,"2":56576,"24":31,"16":397372749342834688,"45":682787954618513408},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-09-04 01:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847117056001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:27:07] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-04 01:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397372749342834688,"km_value":397372749342834.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":682787954618513408,"description":"Unknown IO ID 45"} 
[2026-09-04 01:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847117056001,"power":27213,"unknown_67":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":682787954618513408}} 
[2026-09-04 01:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":170297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:27:07] local.INFO: GPS data processed {"connection_id":170297,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:27:07] local.INFO: Acknowledgment sent {"connection_id":170297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:27:11] local.INFO: TCP Data received {"connection_id":170297,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d723c8012d09644006f439000009015629..."} 
[2026-09-04 01:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d723c8012d09644006f439000009015629..."} 
[2026-09-04 01:27:11] local.INFO: Processing buffer {"connection_id":170297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d723c8012d09644006f439000009015629..."} 
[2026-09-04 01:27:11] local.INFO: Packet analysis {"connection_id":170297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d7"} 
[2026-09-04 01:27:11] local.INFO: Extracted packet for processing {"connection_id":170297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d7"} 
[2026-09-04 01:27:11] local.INFO: GPS Element Parsed {"raw_longitude":755590208,"raw_latitude":116668672,"longitude_deg":75.5590208,"latitude_deg":11.6668672,"altitude":9,"angle":342,"satellites":41,"speed":39,"hex_longitude":"2d096440","hex_latitude":"06f43900","is_valid_coordinates":true} 
[2026-09-04 01:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847120640001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397373191724466176,"note":"Value kept but may cause issues"} 
[2026-09-04 01:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":679691729876989952,"note":"Value kept but may cause issues"} 
[2026-09-04 01:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788465325000,"timestamp_ms":1788465325000,"timestamp_seconds":1788465325,"priority":1,"record_length":96,"hex_timestamp":"000001a068d723c8"} 
[2026-09-04 01:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 01:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847120640001,"66":27039,"67":206,"2":56576,"24":39,"16":397373191724466176,"45":679691729876989952},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-09-04 01:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847120640001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:27:11] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-04 01:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397373191724466176,"km_value":397373191724466.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":679691729876989952,"description":"Unknown IO ID 45"} 
[2026-09-04 01:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847120640001,"power":27039,"unknown_67":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":679691729876989952}} 
[2026-09-04 01:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":170297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:27:11] local.INFO: GPS data processed {"connection_id":170297,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:27:11] local.INFO: Acknowledgment sent {"connection_id":170297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:27:18] local.INFO: TCP Data received {"connection_id":170296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:27:18] local.INFO: Processing buffer {"connection_id":170296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:27:18] local.INFO: IMEI packet received {"connection_id":170296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":170296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:27:43] local.INFO: TCP Data received {"connection_id":170297,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d746f0012d095a0006f45ac0000901562b..."} 
[2026-09-04 01:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d746f0012d095a0006f45ac0000901562b..."} 
[2026-09-04 01:27:43] local.INFO: Processing buffer {"connection_id":170297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d746f0012d095a0006f45ac0000901562b..."} 
[2026-09-04 01:27:43] local.INFO: Packet analysis {"connection_id":170297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d7"} 
[2026-09-04 01:27:43] local.INFO: Extracted packet for processing {"connection_id":170297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d7"} 
[2026-09-04 01:27:43] local.INFO: GPS Element Parsed {"raw_longitude":755587584,"raw_latitude":116677312,"longitude_deg":75.5587584,"latitude_deg":11.6677312,"altitude":9,"angle":342,"satellites":43,"speed":38,"hex_longitude":"2d095a00","hex_latitude":"06f45ac0","is_valid_coordinates":true} 
[2026-09-04 01:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847123200001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397373629811130368,"note":"Value kept but may cause issues"} 
[2026-09-04 01:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":676736242623774720,"note":"Value kept but may cause issues"} 
[2026-09-04 01:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788465334000,"timestamp_ms":1788465334000,"timestamp_seconds":1788465334,"priority":1,"record_length":96,"hex_timestamp":"000001a068d746f0"} 
[2026-09-04 01:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-09-04 01:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":170297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":170297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":170297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847123200001,"66":27365,"67":206,"2":56576,"24":38,"16":397373629811130368,"45":676736242623774720},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-09-04 01:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847123200001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:27:43] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-04 01:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397373629811130368,"km_value":397373629811130.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":676736242623774720,"description":"Unknown IO ID 45"} 
[2026-09-04 01:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847123200001,"power":27365,"unknown_67":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":676736242623774720}} 
[2026-09-04 01:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":170297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:27:43] local.INFO: GPS data processed {"connection_id":170297,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:27:43] local.INFO: Acknowledgment sent {"connection_id":170297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:27:44] local.INFO: TCP Data received {"connection_id":173009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:27:44] local.INFO: Processing buffer {"connection_id":173009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:27:44] local.INFO: IMEI packet received {"connection_id":173009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":173009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:28:00] local.INFO: TCP Data received {"connection_id":170298,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:28:00] local.INFO: Processing buffer {"connection_id":170298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:28:00] local.INFO: IMEI packet received {"connection_id":170298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":170298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:28:02] local.INFO: TCP Data received {"connection_id":170298,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:28:02] local.INFO: Processing buffer {"connection_id":170298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:28:02] local.INFO: IMEI packet received {"connection_id":170298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":170298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:28:05] local.INFO: TCP Data received {"connection_id":170298,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:28:05] local.INFO: Processing buffer {"connection_id":170298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:28:05] local.INFO: IMEI packet received {"connection_id":170298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":170298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:28:06] local.INFO: TCP Data received {"connection_id":170298,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d76e00012d094cc006f47e780009015128..."} 
[2026-09-04 01:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d76e00012d094cc006f47e780009015128..."} 
[2026-09-04 01:28:06] local.INFO: Processing buffer {"connection_id":170298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d76e00012d094cc006f47e780009015128..."} 
[2026-09-04 01:28:06] local.INFO: Packet analysis {"connection_id":170298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d7"} 
[2026-09-04 01:28:06] local.INFO: Extracted packet for processing {"connection_id":170298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d7"} 
[2026-09-04 01:28:06] local.INFO: GPS Element Parsed {"raw_longitude":755584192,"raw_latitude":116686456,"longitude_deg":75.5584192,"latitude_deg":11.6686456,"altitude":9,"angle":337,"satellites":40,"speed":39,"hex_longitude":"2d094cc0","hex_latitude":"06f47e78","is_valid_coordinates":true} 
[2026-09-04 01:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847125504001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397374102257532928,"note":"Value kept but may cause issues"} 
[2026-09-04 01:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":673851124114702336,"note":"Value kept but may cause issues"} 
[2026-09-04 01:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788465344000,"timestamp_ms":1788465344000,"timestamp_seconds":1788465344,"priority":1,"record_length":96,"hex_timestamp":"000001a068d76e00"} 
[2026-09-04 01:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 01:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847125504001,"66":26452,"69":206,"2":56576,"24":39,"16":397374102257532928,"45":673851124114702336},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-09-04 01:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847125504001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:28:06] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-04 01:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397374102257532928,"km_value":397374102257532.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":673851124114702336,"description":"Unknown IO ID 45"} 
[2026-09-04 01:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847125504001,"power":26452,"unknown_69":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":673851124114702336}} 
[2026-09-04 01:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":170298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:28:06] local.INFO: GPS data processed {"connection_id":170298,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:28:06] local.INFO: Acknowledgment sent {"connection_id":170298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:28:38] local.INFO: TCP Data received {"connection_id":170298,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d917c8012d085cc006f5be68001001422d..."} 
[2026-09-04 01:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d917c8012d085cc006f5be68001001422d..."} 
[2026-09-04 01:28:38] local.INFO: Processing buffer {"connection_id":170298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d917c8012d085cc006f5be68001001422d..."} 
[2026-09-04 01:28:38] local.INFO: Packet analysis {"connection_id":170298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d9"} 
[2026-09-04 01:28:38] local.INFO: Extracted packet for processing {"connection_id":170298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d9"} 
[2026-09-04 01:28:38] local.INFO: GPS Element Parsed {"raw_longitude":755522752,"raw_latitude":116768360,"longitude_deg":75.5522752,"latitude_deg":11.676836,"altitude":16,"angle":322,"satellites":45,"speed":42,"hex_longitude":"2d085cc0","hex_latitude":"06f5be68","is_valid_coordinates":true} 
[2026-09-04 01:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847153664001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397379041469923328,"note":"Value kept but may cause issues"} 
[2026-09-04 01:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":608900773260036096,"note":"Value kept but may cause issues"} 
[2026-09-04 01:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788465453000,"timestamp_ms":1788465453000,"timestamp_seconds":1788465453,"priority":1,"record_length":96,"hex_timestamp":"000001a068d917c8"} 
[2026-09-04 01:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 01:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847153664001,"66":27245,"69":206,"2":56576,"24":42,"16":397379041469923328,"45":608900773260036096},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-09-04 01:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847153664001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:28:38] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-04 01:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397379041469923328,"km_value":397379041469923.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":608900773260036096,"description":"Unknown IO ID 45"} 
[2026-09-04 01:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847153664001,"power":27245,"unknown_69":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":608900773260036096}} 
[2026-09-04 01:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":170298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:28:38] local.INFO: GPS data processed {"connection_id":170298,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:28:38] local.INFO: Acknowledgment sent {"connection_id":170298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:29:01] local.INFO: TCP Data received {"connection_id":173010,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:29:01] local.INFO: Processing buffer {"connection_id":173010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:29:01] local.INFO: IMEI packet received {"connection_id":173010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":173010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:29:05] local.INFO: TCP Data received {"connection_id":173010,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:29:06] local.INFO: Processing buffer {"connection_id":173010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:29:06] local.INFO: IMEI packet received {"connection_id":173010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":173010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:29:07] local.INFO: TCP Data received {"connection_id":173010,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d93af0012d0845c006f5dbe0000f01402c..."} 
[2026-09-04 01:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d93af0012d0845c006f5dbe0000f01402c..."} 
[2026-09-04 01:29:07] local.INFO: Processing buffer {"connection_id":173010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d93af0012d0845c006f5dbe0000f01402c..."} 
[2026-09-04 01:29:07] local.INFO: Packet analysis {"connection_id":173010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d9"} 
[2026-09-04 01:29:07] local.INFO: Extracted packet for processing {"connection_id":173010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d9"} 
[2026-09-04 01:29:07] local.INFO: GPS Element Parsed {"raw_longitude":755516864,"raw_latitude":116775904,"longitude_deg":75.5516864,"latitude_deg":11.6775904,"altitude":15,"angle":320,"satellites":44,"speed":42,"hex_longitude":"2d0845c0","hex_latitude":"06f5dbe0","is_valid_coordinates":true} 
[2026-09-04 01:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847155968001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397379501031424000,"note":"Value kept but may cause issues"} 
[2026-09-04 01:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":602567586286036992,"note":"Value kept but may cause issues"} 
[2026-09-04 01:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788465462000,"timestamp_ms":1788465462000,"timestamp_seconds":1788465462,"priority":1,"record_length":96,"hex_timestamp":"000001a068d93af0"} 
[2026-09-04 01:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 01:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847155968001,"66":27071,"69":206,"2":56576,"24":42,"16":397379501031424000,"45":602567586286036992},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-09-04 01:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847155968001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:29:07] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-04 01:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397379501031424000,"km_value":397379501031424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":602567586286036992,"description":"Unknown IO ID 45"} 
[2026-09-04 01:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847155968001,"power":27071,"unknown_69":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":602567586286036992}} 
[2026-09-04 01:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":173010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:29:07] local.INFO: GPS data processed {"connection_id":173010,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:29:07] local.INFO: Acknowledgment sent {"connection_id":173010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:29:38] local.INFO: TCP Data received {"connection_id":173010,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d95e18012d082bc006f5f838000d013b2b..."} 
[2026-09-04 01:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d95e18012d082bc006f5f838000d013b2b..."} 
[2026-09-04 01:29:38] local.INFO: Processing buffer {"connection_id":173010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d95e18012d082bc006f5f838000d013b2b..."} 
[2026-09-04 01:29:38] local.INFO: Packet analysis {"connection_id":173010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d9"} 
[2026-09-04 01:29:38] local.INFO: Extracted packet for processing {"connection_id":173010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d9"} 
[2026-09-04 01:29:38] local.INFO: GPS Element Parsed {"raw_longitude":755510208,"raw_latitude":116783160,"longitude_deg":75.5510208,"latitude_deg":11.678316,"altitude":13,"angle":315,"satellites":43,"speed":40,"hex_longitude":"2d082bc0","hex_latitude":"06f5f838","is_valid_coordinates":true} 
[2026-09-04 01:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847158272001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397379977772793856,"note":"Value kept but may cause issues"} 
[2026-09-04 01:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":596093661823623168,"note":"Value kept but may cause issues"} 
[2026-09-04 01:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788465471000,"timestamp_ms":1788465471000,"timestamp_seconds":1788465471,"priority":1,"record_length":96,"hex_timestamp":"000001a068d95e18"} 
[2026-09-04 01:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-04 01:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847158272001,"66":27234,"69":206,"2":56576,"24":40,"16":397379977772793856,"45":596093661823623168},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-09-04 01:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847158272001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:29:38] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-04 01:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397379977772793856,"km_value":397379977772793.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":596093661823623168,"description":"Unknown IO ID 45"} 
[2026-09-04 01:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847158272001,"power":27234,"unknown_69":206,"power_alt":56576,"ignition":40,"odometer":null,"unknown_45":596093661823623168}} 
[2026-09-04 01:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":173010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:29:38] local.INFO: GPS data processed {"connection_id":173010,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:29:38] local.INFO: Acknowledgment sent {"connection_id":173010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:30:06] local.INFO: TCP Data received {"connection_id":171694,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:30:06] local.INFO: Processing buffer {"connection_id":171694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:30:06] local.INFO: IMEI packet received {"connection_id":171694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":171694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:30:10] local.INFO: TCP Data received {"connection_id":171694,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:30:10] local.INFO: Processing buffer {"connection_id":171694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:30:10] local.INFO: IMEI packet received {"connection_id":171694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":171694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:30:12] local.INFO: TCP Data received {"connection_id":171694,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d98910012d0811c006f610c0000d012f2b..."} 
[2026-09-04 01:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d98910012d0811c006f610c0000d012f2b..."} 
[2026-09-04 01:30:12] local.INFO: Processing buffer {"connection_id":171694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d98910012d0811c006f610c0000d012f2b..."} 
[2026-09-04 01:30:12] local.INFO: Packet analysis {"connection_id":171694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d9"} 
[2026-09-04 01:30:12] local.INFO: Extracted packet for processing {"connection_id":171694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d9"} 
[2026-09-04 01:30:12] local.INFO: GPS Element Parsed {"raw_longitude":755503552,"raw_latitude":116789440,"longitude_deg":75.5503552,"latitude_deg":11.678944,"altitude":13,"angle":303,"satellites":43,"speed":25,"hex_longitude":"2d0811c0","hex_latitude":"06f610c0","is_valid_coordinates":true} 
[2026-09-04 01:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847160576001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397380415859458048,"note":"Value kept but may cause issues"} 
[2026-09-04 01:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":588775312431003648,"note":"Value kept but may cause issues"} 
[2026-09-04 01:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788465482000,"timestamp_ms":1788465482000,"timestamp_seconds":1788465482,"priority":1,"record_length":96,"hex_timestamp":"000001a068d98910"} 
[2026-09-04 01:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 01:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847160576001,"66":27310,"69":206,"2":56576,"24":25,"16":397380415859458048,"45":588775312431003648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-09-04 01:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847160576001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:30:12] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-04 01:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397380415859458048,"km_value":397380415859458.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":588775312431003648,"description":"Unknown IO ID 45"} 
[2026-09-04 01:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847160576001,"power":27310,"unknown_69":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":588775312431003648}} 
[2026-09-04 01:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":171694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:30:12] local.INFO: GPS data processed {"connection_id":171694,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:30:12] local.INFO: Acknowledgment sent {"connection_id":171694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:30:44] local.INFO: TCP Data received {"connection_id":171694,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068d98910012d0811c006f610c0000d012f2b..."} 
[2026-09-04 01:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068d98910012d0811c006f610c0000d012f2b..."} 
[2026-09-04 01:30:44] local.INFO: Processing buffer {"connection_id":171694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068d98910012d0811c006f610c0000d012f2b..."} 
[2026-09-04 01:30:44] local.INFO: Packet analysis {"connection_id":171694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068d9"} 
[2026-09-04 01:30:44] local.INFO: Extracted packet for processing {"connection_id":171694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068d9"} 
[2026-09-04 01:30:44] local.INFO: GPS Element Parsed {"raw_longitude":755503552,"raw_latitude":116789440,"longitude_deg":75.5503552,"latitude_deg":11.678944,"altitude":13,"angle":303,"satellites":43,"speed":25,"hex_longitude":"2d0811c0","hex_latitude":"06f610c0","is_valid_coordinates":true} 
[2026-09-04 01:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847163392001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397380415859458048,"note":"Value kept but may cause issues"} 
[2026-09-04 01:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":581456963038134272,"note":"Value kept but may cause issues"} 
[2026-09-04 01:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788465482000,"timestamp_ms":1788465482000,"timestamp_seconds":1788465482,"priority":1,"record_length":96,"hex_timestamp":"000001a068d98910"} 
[2026-09-04 01:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 01:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":171694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":171694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":171694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847163392001,"66":27310,"69":206,"2":56576,"24":25,"16":397380415859458048,"45":581456963038134272},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-09-04 01:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847163392001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:30:44] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-04 01:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397380415859458048,"km_value":397380415859458.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":581456963038134272,"description":"Unknown IO ID 45"} 
[2026-09-04 01:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847163392001,"power":27310,"unknown_69":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":581456963038134272}} 
[2026-09-04 01:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":171694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:30:44] local.INFO: GPS data processed {"connection_id":171694,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:30:44] local.INFO: Acknowledgment sent {"connection_id":171694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:31:00] local.INFO: TCP Data received {"connection_id":170602,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:31:00] local.INFO: Processing buffer {"connection_id":170602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:31:00] local.INFO: IMEI packet received {"connection_id":170602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":170602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:31:08] local.INFO: TCP Data received {"connection_id":170602,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:31:08] local.INFO: Processing buffer {"connection_id":170602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:31:08] local.INFO: IMEI packet received {"connection_id":170602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":170602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:31:09] local.INFO: TCP Data received {"connection_id":170602,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068db65a0012d0725c006f72d180011014125..."} 
[2026-09-04 01:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068db65a0012d0725c006f72d180011014125..."} 
[2026-09-04 01:31:09] local.INFO: Processing buffer {"connection_id":170602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068db65a0012d0725c006f72d180011014125..."} 
[2026-09-04 01:31:09] local.INFO: Packet analysis {"connection_id":170602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068db"} 
[2026-09-04 01:31:09] local.INFO: Extracted packet for processing {"connection_id":170602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068db"} 
[2026-09-04 01:31:09] local.INFO: GPS Element Parsed {"raw_longitude":755443136,"raw_latitude":116862232,"longitude_deg":75.5443136,"latitude_deg":11.6862232,"altitude":17,"angle":321,"satellites":37,"speed":38,"hex_longitude":"2d0725c0","hex_latitude":"06f72d18","is_valid_coordinates":true} 
[2026-09-04 01:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847192064001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397384972819759104,"note":"Value kept but may cause issues"} 
[2026-09-04 01:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":521150949294700544,"note":"Value kept but may cause issues"} 
[2026-09-04 01:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788465604000,"timestamp_ms":1788465604000,"timestamp_seconds":1788465604,"priority":1,"record_length":96,"hex_timestamp":"000001a068db65a0"} 
[2026-09-04 01:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 01:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847192064001,"66":27376,"155":206,"28":32256,"24":38,"16":397384972819759104,"45":521150949294700544},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-09-04 01:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847192064001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:31:09] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-04 01:31:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397384972819759104,"km_value":397384972819759.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":521150949294700544,"description":"Unknown IO ID 45"} 
[2026-09-04 01:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847192064001,"power":27376,"unknown_155":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_45":521150949294700544}} 
[2026-09-04 01:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":170602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:31:09] local.INFO: GPS data processed {"connection_id":170602,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:31:09] local.INFO: Acknowledgment sent {"connection_id":170602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:31:41] local.INFO: TCP Data received {"connection_id":170602,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068db88c8012d070e8006f749c0000f014024..."} 
[2026-09-04 01:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068db88c8012d070e8006f749c0000f014024..."} 
[2026-09-04 01:31:41] local.INFO: Processing buffer {"connection_id":170602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068db88c8012d070e8006f749c0000f014024..."} 
[2026-09-04 01:31:41] local.INFO: Packet analysis {"connection_id":170602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068db"} 
[2026-09-04 01:31:41] local.INFO: Extracted packet for processing {"connection_id":170602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068db"} 
[2026-09-04 01:31:41] local.INFO: GPS Element Parsed {"raw_longitude":755437184,"raw_latitude":116869568,"longitude_deg":75.5437184,"latitude_deg":11.6869568,"altitude":15,"angle":320,"satellites":36,"speed":44,"hex_longitude":"2d070e80","hex_latitude":"06f749c0","is_valid_coordinates":true} 
[2026-09-04 01:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847194624001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397385428086292480,"note":"Value kept but may cause issues"} 
[2026-09-04 01:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":515028868553054208,"note":"Value kept but may cause issues"} 
[2026-09-04 01:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788465613000,"timestamp_ms":1788465613000,"timestamp_seconds":1788465613,"priority":1,"record_length":96,"hex_timestamp":"000001a068db88c8"} 
[2026-09-04 01:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 01:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847194624001,"66":26289,"155":206,"28":32256,"24":44,"16":397385428086292480,"45":515028868553054208},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-09-04 01:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847194624001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:31:41] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-04 01:31:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397385428086292480,"km_value":397385428086292.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":515028868553054208,"description":"Unknown IO ID 45"} 
[2026-09-04 01:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847194624001,"power":26289,"unknown_155":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":515028868553054208}} 
[2026-09-04 01:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":170602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:31:41] local.INFO: GPS data processed {"connection_id":170602,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:31:41] local.INFO: Acknowledgment sent {"connection_id":170602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:32:00] local.INFO: TCP Data received {"connection_id":173012,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:32:00] local.INFO: Processing buffer {"connection_id":173012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:32:00] local.INFO: IMEI packet received {"connection_id":173012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":173012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:32:05] local.INFO: TCP Data received {"connection_id":173012,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:32:05] local.INFO: Processing buffer {"connection_id":173012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:32:05] local.INFO: IMEI packet received {"connection_id":173012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":173012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:32:05] local.INFO: TCP Data received {"connection_id":173012,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:32:05] local.INFO: Processing buffer {"connection_id":173012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:32:05] local.INFO: IMEI packet received {"connection_id":173012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":173012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:32:07] local.INFO: TCP Data received {"connection_id":173012,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068dba808012d06f64006f766b0000e014228..."} 
[2026-09-04 01:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068dba808012d06f64006f766b0000e014228..."} 
[2026-09-04 01:32:07] local.INFO: Processing buffer {"connection_id":173012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068dba808012d06f64006f766b0000e014228..."} 
[2026-09-04 01:32:07] local.INFO: Packet analysis {"connection_id":173012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068db"} 
[2026-09-04 01:32:07] local.INFO: Extracted packet for processing {"connection_id":173012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068db"} 
[2026-09-04 01:32:07] local.INFO: GPS Element Parsed {"raw_longitude":755430976,"raw_latitude":116876976,"longitude_deg":75.5430976,"latitude_deg":11.6876976,"altitude":14,"angle":322,"satellites":40,"speed":49,"hex_longitude":"2d06f640","hex_latitude":"06f766b0","is_valid_coordinates":true} 
[2026-09-04 01:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847196928001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397385891942760448,"note":"Value kept but may cause issues"} 
[2026-09-04 01:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":508484575346409472,"note":"Value kept but may cause issues"} 
[2026-09-04 01:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788465621000,"timestamp_ms":1788465621000,"timestamp_seconds":1788465621,"priority":1,"record_length":96,"hex_timestamp":"000001a068dba808"} 
[2026-09-04 01:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-04 01:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847196928001,"66":27365,"155":206,"28":32256,"24":49,"16":397385891942760448,"45":508484575346409472},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-09-04 01:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847196928001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:32:07] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-04 01:32:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397385891942760448,"km_value":397385891942760.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":508484575346409472,"description":"Unknown IO ID 45"} 
[2026-09-04 01:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847196928001,"power":27365,"unknown_155":206,"unknown_28":32256,"ignition":49,"odometer":null,"unknown_45":508484575346409472}} 
[2026-09-04 01:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":173012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:32:07] local.INFO: GPS data processed {"connection_id":173012,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:32:07] local.INFO: Acknowledgment sent {"connection_id":173012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:32:11] local.INFO: TCP Data received {"connection_id":173012,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068dbc748012d06dc4006f78498000f014026..."} 
[2026-09-04 01:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068dbc748012d06dc4006f78498000f014026..."} 
[2026-09-04 01:32:11] local.INFO: Processing buffer {"connection_id":173012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068dbc748012d06dc4006f78498000f014026..."} 
[2026-09-04 01:32:11] local.INFO: Packet analysis {"connection_id":173012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068db"} 
[2026-09-04 01:32:11] local.INFO: Extracted packet for processing {"connection_id":173012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068db"} 
[2026-09-04 01:32:11] local.INFO: GPS Element Parsed {"raw_longitude":755424320,"raw_latitude":116884632,"longitude_deg":75.542432,"latitude_deg":11.6884632,"altitude":15,"angle":320,"satellites":38,"speed":51,"hex_longitude":"2d06dc40","hex_latitude":"06f78498","is_valid_coordinates":true} 
[2026-09-04 01:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847198976001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397386377274064896,"note":"Value kept but may cause issues"} 
[2026-09-04 01:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":501658807163072512,"note":"Value kept but may cause issues"} 
[2026-09-04 01:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788465629000,"timestamp_ms":1788465629000,"timestamp_seconds":1788465629,"priority":1,"record_length":96,"hex_timestamp":"000001a068dbc748"} 
[2026-09-04 01:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 01:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847198976001,"66":27245,"155":206,"28":32256,"24":51,"16":397386377274064896,"45":501658807163072512},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-09-04 01:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847198976001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:32:11] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-04 01:32:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397386377274064896,"km_value":397386377274064.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":501658807163072512,"description":"Unknown IO ID 45"} 
[2026-09-04 01:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847198976001,"power":27245,"unknown_155":206,"unknown_28":32256,"ignition":51,"odometer":null,"unknown_45":501658807163072512}} 
[2026-09-04 01:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":173012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:32:11] local.INFO: GPS data processed {"connection_id":173012,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:32:11] local.INFO: Acknowledgment sent {"connection_id":173012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:32:42] local.INFO: TCP Data received {"connection_id":173012,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068dbe2a0012d06c4c006f79fe0000d013e29..."} 
[2026-09-04 01:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068dbe2a0012d06c4c006f79fe0000d013e29..."} 
[2026-09-04 01:32:42] local.INFO: Processing buffer {"connection_id":173012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068dbe2a0012d06c4c006f79fe0000d013e29..."} 
[2026-09-04 01:32:42] local.INFO: Packet analysis {"connection_id":173012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068db"} 
[2026-09-04 01:32:42] local.INFO: Extracted packet for processing {"connection_id":173012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068db"} 
[2026-09-04 01:32:42] local.INFO: GPS Element Parsed {"raw_longitude":755418304,"raw_latitude":116891616,"longitude_deg":75.5418304,"latitude_deg":11.6891616,"altitude":13,"angle":318,"satellites":41,"speed":53,"hex_longitude":"2d06c4c0","hex_latitude":"06f79fe0","is_valid_coordinates":true} 
[2026-09-04 01:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847201024001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397386819655696384,"note":"Value kept but may cause issues"} 
[2026-09-04 01:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":494340457770555392,"note":"Value kept but may cause issues"} 
[2026-09-04 01:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788465636000,"timestamp_ms":1788465636000,"timestamp_seconds":1788465636,"priority":1,"record_length":96,"hex_timestamp":"000001a068dbe2a0"} 
[2026-09-04 01:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 01:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847201024001,"66":26408,"155":206,"28":32256,"24":53,"16":397386819655696384,"45":494340457770555392},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-09-04 01:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847201024001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:32:42] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-04 01:32:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397386819655696384,"km_value":397386819655696.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":494340457770555392,"description":"Unknown IO ID 45"} 
[2026-09-04 01:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847201024001,"power":26408,"unknown_155":206,"unknown_28":32256,"ignition":53,"odometer":null,"unknown_45":494340457770555392}} 
[2026-09-04 01:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":173012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:32:42] local.INFO: GPS data processed {"connection_id":173012,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:32:42] local.INFO: Acknowledgment sent {"connection_id":173012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:33:00] local.INFO: TCP Data received {"connection_id":170604,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:33:00] local.INFO: Processing buffer {"connection_id":170604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:33:00] local.INFO: IMEI packet received {"connection_id":170604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":170604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:33:09] local.INFO: TCP Data received {"connection_id":170604,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:33:09] local.INFO: Processing buffer {"connection_id":170604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:33:09] local.INFO: IMEI packet received {"connection_id":170604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":170604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:33:09] local.INFO: TCP Data received {"connection_id":170603,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:33:09] local.INFO: Processing buffer {"connection_id":170603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:33:09] local.INFO: IMEI packet received {"connection_id":170603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":170603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:33:10] local.INFO: TCP Data received {"connection_id":170604,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068dd2ac0012d05cec006f8bae0000a015625..."} 
[2026-09-04 01:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068dd2ac0012d05cec006f8bae0000a015625..."} 
[2026-09-04 01:33:10] local.INFO: Processing buffer {"connection_id":170604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068dd2ac0012d05cec006f8bae0000a015625..."} 
[2026-09-04 01:33:10] local.INFO: Packet analysis {"connection_id":170604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068dd"} 
[2026-09-04 01:33:10] local.INFO: Extracted packet for processing {"connection_id":170604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068dd"} 
[2026-09-04 01:33:10] local.INFO: GPS Element Parsed {"raw_longitude":755355328,"raw_latitude":116964064,"longitude_deg":75.5355328,"latitude_deg":11.6964064,"altitude":10,"angle":342,"satellites":37,"speed":37,"hex_longitude":"2d05cec0","hex_latitude":"06f8bae0","is_valid_coordinates":true} 
[2026-09-04 01:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847221760001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397391475400245248,"note":"Value kept but may cause issues"} 
[2026-09-04 01:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":422001388774076416,"note":"Value kept but may cause issues"} 
[2026-09-04 01:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788465720000,"timestamp_ms":1788465720000,"timestamp_seconds":1788465720,"priority":1,"record_length":96,"hex_timestamp":"000001a068dd2ac0"} 
[2026-09-04 01:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-04 01:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847221760001,"66":27300,"73":206,"28":32256,"24":37,"16":397391475400245248,"45":422001388774076416},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-09-04 01:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847221760001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:33:10] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-04 01:33:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397391475400245248,"km_value":397391475400245.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":422001388774076416,"description":"Unknown IO ID 45"} 
[2026-09-04 01:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847221760001,"power":27300,"unknown_73":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":422001388774076416}} 
[2026-09-04 01:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":170604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:33:10] local.INFO: GPS data processed {"connection_id":170604,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:33:10] local.INFO: Acknowledgment sent {"connection_id":170604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:33:39] local.INFO: TCP Data received {"connection_id":170605,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:33:39] local.INFO: Processing buffer {"connection_id":170605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:33:39] local.INFO: IMEI packet received {"connection_id":170605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":170605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:33:41] local.INFO: TCP Data received {"connection_id":170604,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068dd4de8012d05c40006f8dc700009015624..."} 
[2026-09-04 01:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068dd4de8012d05c40006f8dc700009015624..."} 
[2026-09-04 01:33:41] local.INFO: Processing buffer {"connection_id":170604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068dd4de8012d05c40006f8dc700009015624..."} 
[2026-09-04 01:33:41] local.INFO: Packet analysis {"connection_id":170604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068dd"} 
[2026-09-04 01:33:41] local.INFO: Extracted packet for processing {"connection_id":170604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068dd"} 
[2026-09-04 01:33:41] local.INFO: GPS Element Parsed {"raw_longitude":755352576,"raw_latitude":116972656,"longitude_deg":75.5352576,"latitude_deg":11.6972656,"altitude":9,"angle":342,"satellites":36,"speed":41,"hex_longitude":"2d05c400","hex_latitude":"06f8dc70","is_valid_coordinates":true} 
[2026-09-04 01:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847224320001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397391909191942144,"note":"Value kept but may cause issues"} 
[2026-09-04 01:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":418482951567368192,"note":"Value kept but may cause issues"} 
[2026-09-04 01:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788465729000,"timestamp_ms":1788465729000,"timestamp_seconds":1788465729,"priority":1,"record_length":96,"hex_timestamp":"000001a068dd4de8"} 
[2026-09-04 01:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 01:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847224320001,"66":27332,"73":206,"28":32256,"24":41,"16":397391909191942144,"45":418482951567368192},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-09-04 01:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847224320001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:33:41] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-04 01:33:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397391909191942144,"km_value":397391909191942.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":418482951567368192,"description":"Unknown IO ID 45"} 
[2026-09-04 01:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847224320001,"power":27332,"unknown_73":206,"unknown_28":32256,"ignition":41,"odometer":null,"unknown_45":418482951567368192}} 
[2026-09-04 01:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":170604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:33:42] local.INFO: GPS data processed {"connection_id":170604,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:33:42] local.INFO: Acknowledgment sent {"connection_id":170604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:34:05] local.INFO: TCP Data received {"connection_id":170606,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:34:05] local.INFO: Processing buffer {"connection_id":170606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:34:05] local.INFO: IMEI packet received {"connection_id":170606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":170606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:34:06] local.INFO: TCP Data received {"connection_id":170606,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:34:06] local.INFO: Processing buffer {"connection_id":170606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:34:06] local.INFO: IMEI packet received {"connection_id":170606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":170606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:34:11] local.INFO: TCP Data received {"connection_id":170606,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:34:11] local.INFO: Processing buffer {"connection_id":170606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:34:11] local.INFO: IMEI packet received {"connection_id":170606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":170606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:34:12] local.INFO: TCP Data received {"connection_id":170606,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068dd74f8012d05b94006f8fd78000f015424..."} 
[2026-09-04 01:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068dd74f8012d05b94006f8fd78000f015424..."} 
[2026-09-04 01:34:12] local.INFO: Processing buffer {"connection_id":170606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068dd74f8012d05b94006f8fd78000f015424..."} 
[2026-09-04 01:34:12] local.INFO: Packet analysis {"connection_id":170606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068dd"} 
[2026-09-04 01:34:12] local.INFO: Extracted packet for processing {"connection_id":170606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068dd"} 
[2026-09-04 01:34:12] local.INFO: GPS Element Parsed {"raw_longitude":755349824,"raw_latitude":116981112,"longitude_deg":75.5349824,"latitude_deg":11.6981112,"altitude":15,"angle":340,"satellites":36,"speed":30,"hex_longitude":"2d05b940","hex_latitude":"06f8fd78","is_valid_coordinates":true} 
[2026-09-04 01:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847226624001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397392342983639040,"note":"Value kept but may cause issues"} 
[2026-09-04 01:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415457095569928192,"note":"Value kept but may cause issues"} 
[2026-09-04 01:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788465739000,"timestamp_ms":1788465739000,"timestamp_seconds":1788465739,"priority":1,"record_length":96,"hex_timestamp":"000001a068dd74f8"} 
[2026-09-04 01:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 01:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":170606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":170606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":170606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847226624001,"66":26539,"73":206,"28":32256,"24":30,"16":397392342983639040,"45":415457095569928192},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-09-04 01:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847226624001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:34:12] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-04 01:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397392342983639040,"km_value":397392342983639.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":415457095569928192,"description":"Unknown IO ID 45"} 
[2026-09-04 01:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847226624001,"power":26539,"unknown_73":206,"unknown_28":32256,"ignition":30,"odometer":null,"unknown_45":415457095569928192}} 
[2026-09-04 01:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":170606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:34:12] local.INFO: GPS data processed {"connection_id":170606,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:34:12] local.INFO: Acknowledgment sent {"connection_id":170606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:34:16] local.INFO: TCP Data received {"connection_id":170606,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068dda7c0012d05ad8006f91e580012015728..."} 
[2026-09-04 01:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068dda7c0012d05ad8006f91e580012015728..."} 
[2026-09-04 01:34:16] local.INFO: Processing buffer {"connection_id":170606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068dda7c0012d05ad8006f91e580012015728..."} 
[2026-09-04 01:34:16] local.INFO: Packet analysis {"connection_id":170606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068dd"} 
[2026-09-04 01:34:16] local.INFO: Extracted packet for processing {"connection_id":170606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068dd"} 
[2026-09-04 01:34:16] local.INFO: GPS Element Parsed {"raw_longitude":755346816,"raw_latitude":116989528,"longitude_deg":75.5346816,"latitude_deg":11.6989528,"altitude":18,"angle":343,"satellites":40,"speed":22,"hex_longitude":"2d05ad80","hex_latitude":"06f91e58","is_valid_coordinates":true} 
[2026-09-04 01:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847229184001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397392772480368640,"note":"Value kept but may cause issues"} 
[2026-09-04 01:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":412431239572453376,"note":"Value kept but may cause issues"} 
[2026-09-04 01:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788465752000,"timestamp_ms":1788465752000,"timestamp_seconds":1788465752,"priority":1,"record_length":96,"hex_timestamp":"000001a068dda7c0"} 
[2026-09-04 01:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-04 01:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847229184001,"66":27321,"73":206,"28":32256,"24":22,"16":397392772480368640,"45":412431239572453376},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-09-04 01:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847229184001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:34:16] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-04 01:34:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397392772480368640,"km_value":397392772480368.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":412431239572453376,"description":"Unknown IO ID 45"} 
[2026-09-04 01:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847229184001,"power":27321,"unknown_73":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":412431239572453376}} 
[2026-09-04 01:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":170606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:34:16] local.INFO: GPS data processed {"connection_id":170606,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:34:16] local.INFO: Acknowledgment sent {"connection_id":170606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:35:01] local.INFO: TCP Data received {"connection_id":171696,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:35:01] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:35:01] local.INFO: IMEI packet received {"connection_id":171696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":171696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:35:02] local.INFO: TCP Data received {"connection_id":171696,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:35:02] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:35:02] local.INFO: IMEI packet received {"connection_id":171696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":171696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:35:06] local.INFO: TCP Data received {"connection_id":171696,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:35:06] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:35:06] local.INFO: IMEI packet received {"connection_id":171696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":171696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:35:07] local.INFO: TCP Data received {"connection_id":171696,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068df0750012d05708006f9d1c80008015f25..."} 
[2026-09-04 01:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068df0750012d05708006f9d1c80008015f25..."} 
[2026-09-04 01:35:07] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068df0750012d05708006f9d1c80008015f25..."} 
[2026-09-04 01:35:07] local.INFO: Packet analysis {"connection_id":171696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068df"} 
[2026-09-04 01:35:07] local.INFO: Extracted packet for processing {"connection_id":171696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068df"} 
[2026-09-04 01:35:07] local.INFO: GPS Element Parsed {"raw_longitude":755331200,"raw_latitude":117035464,"longitude_deg":75.53312,"latitude_deg":11.7035464,"altitude":8,"angle":351,"satellites":37,"speed":16,"hex_longitude":"2d057080","hex_latitude":"06f9d1c8","is_valid_coordinates":true} 
[2026-09-04 01:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847255296001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397395568504078336,"note":"Value kept but may cause issues"} 
[2026-09-04 01:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":392094672518920192,"note":"Value kept but may cause issues"} 
[2026-09-04 01:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788465842000,"timestamp_ms":1788465842000,"timestamp_seconds":1788465842,"priority":1,"record_length":96,"hex_timestamp":"000001a068df0750"} 
[2026-09-04 01:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 01:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847255296001,"66":26930,"74":206,"28":32256,"24":16,"16":397395568504078336,"45":392094672518920192},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-09-04 01:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847255296001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:35:07] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 01:35:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397395568504078336,"km_value":397395568504078.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":392094672518920192,"description":"Unknown IO ID 45"} 
[2026-09-04 01:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847255296001,"power":26930,"unknown_74":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":392094672518920192}} 
[2026-09-04 01:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":171696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:35:07] local.INFO: GPS data processed {"connection_id":171696,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:35:07] local.INFO: Acknowledgment sent {"connection_id":171696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:35:09] local.INFO: TCP Data received {"connection_id":171696,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068df0b38012d0570c006f9d3580007000925..."} 
[2026-09-04 01:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068df0b38012d0570c006f9d3580007000925..."} 
[2026-09-04 01:35:09] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068df0b38012d0570c006f9d3580007000925..."} 
[2026-09-04 01:35:09] local.INFO: Packet analysis {"connection_id":171696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068df"} 
[2026-09-04 01:35:09] local.INFO: Extracted packet for processing {"connection_id":171696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068df"} 
[2026-09-04 01:35:09] local.INFO: GPS Element Parsed {"raw_longitude":755331264,"raw_latitude":117035864,"longitude_deg":75.5331264,"latitude_deg":11.7035864,"altitude":7,"angle":9,"satellites":37,"speed":16,"hex_longitude":"2d0570c0","hex_latitude":"06f9d358","is_valid_coordinates":true} 
[2026-09-04 01:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847255552001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397395589978914816,"note":"Value kept but may cause issues"} 
[2026-09-04 01:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":391953935030667264,"note":"Value kept but may cause issues"} 
[2026-09-04 01:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788465843000,"timestamp_ms":1788465843000,"timestamp_seconds":1788465843,"priority":1,"record_length":96,"hex_timestamp":"000001a068df0b38"} 
[2026-09-04 01:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-09-04 01:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847255552001,"66":26930,"74":206,"28":32256,"24":16,"16":397395589978914816,"45":391953935030667264},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-09-04 01:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847255552001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:35:09] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 01:35:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397395589978914816,"km_value":397395589978914.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":391953935030667264,"description":"Unknown IO ID 45"} 
[2026-09-04 01:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847255552001,"power":26930,"unknown_74":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":391953935030667264}} 
[2026-09-04 01:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":171696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:35:09] local.INFO: GPS data processed {"connection_id":171696,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:35:09] local.INFO: Acknowledgment sent {"connection_id":171696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:35:41] local.INFO: TCP Data received {"connection_id":171696,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068df0f20012d05714006f9d4e80007001925..."} 
[2026-09-04 01:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068df0f20012d05714006f9d4e80007001925..."} 
[2026-09-04 01:35:41] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068df0f20012d05714006f9d4e80007001925..."} 
[2026-09-04 01:35:41] local.INFO: Packet analysis {"connection_id":171696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068df"} 
[2026-09-04 01:35:41] local.INFO: Extracted packet for processing {"connection_id":171696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068df"} 
[2026-09-04 01:35:41] local.INFO: GPS Element Parsed {"raw_longitude":755331392,"raw_latitude":117036264,"longitude_deg":75.5331392,"latitude_deg":11.7036264,"altitude":7,"angle":25,"satellites":37,"speed":17,"hex_longitude":"2d057140","hex_latitude":"06f9d4e8","is_valid_coordinates":true} 
[2026-09-04 01:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847255808001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397395611453751296,"note":"Value kept but may cause issues"} 
[2026-09-04 01:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":392024303774947328,"note":"Value kept but may cause issues"} 
[2026-09-04 01:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788465844000,"timestamp_ms":1788465844000,"timestamp_seconds":1788465844,"priority":1,"record_length":96,"hex_timestamp":"000001a068df0f20"} 
[2026-09-04 01:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-09-04 01:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847255808001,"66":27463,"74":206,"28":32256,"24":17,"16":397395611453751296,"45":392024303774947328},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-09-04 01:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847255808001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:35:41] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 01:35:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397395611453751296,"km_value":397395611453751.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":392024303774947328,"description":"Unknown IO ID 45"} 
[2026-09-04 01:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847255808001,"power":27463,"unknown_74":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":392024303774947328}} 
[2026-09-04 01:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":171696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:35:41] local.INFO: GPS data processed {"connection_id":171696,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:35:41] local.INFO: Acknowledgment sent {"connection_id":171696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:36:00] local.INFO: TCP Data received {"connection_id":171697,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:36:00] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:36:00] local.INFO: IMEI packet received {"connection_id":171697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":171697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:36:02] local.INFO: TCP Data received {"connection_id":171697,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:36:02] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:36:02] local.INFO: IMEI packet received {"connection_id":171697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":171697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:36:05] local.INFO: TCP Data received {"connection_id":171697,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:36:05] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:36:05] local.INFO: IMEI packet received {"connection_id":171697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":171697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:36:05] local.INFO: TCP Data received {"connection_id":171697,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:36:05] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:36:05] local.INFO: IMEI packet received {"connection_id":171697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":171697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:36:07] local.INFO: TCP Data received {"connection_id":171697,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e010f0012d056a0006fa4ea80007011c28..."} 
[2026-09-04 01:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e010f0012d056a0006fa4ea80007011c28..."} 
[2026-09-04 01:36:07] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e010f0012d056a0006fa4ea80007011c28..."} 
[2026-09-04 01:36:07] local.INFO: Packet analysis {"connection_id":171697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e0"} 
[2026-09-04 01:36:07] local.INFO: Extracted packet for processing {"connection_id":171697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e0"} 
[2026-09-04 01:36:07] local.INFO: GPS Element Parsed {"raw_longitude":755329536,"raw_latitude":117067432,"longitude_deg":75.5329536,"latitude_deg":11.7067432,"altitude":7,"angle":284,"satellites":40,"speed":36,"hex_longitude":"2d056a00","hex_latitude":"06fa4ea8","is_valid_coordinates":true} 
[2026-09-04 01:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847272192001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397397703102824448,"note":"Value kept but may cause issues"} 
[2026-09-04 01:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":392868728712939520,"note":"Value kept but may cause issues"} 
[2026-09-04 01:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788465910000,"timestamp_ms":1788465910000,"timestamp_seconds":1788465910,"priority":1,"record_length":96,"hex_timestamp":"000001a068e010f0"} 
[2026-09-04 01:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 01:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847272192001,"66":27267,"188":206,"28":32256,"24":36,"16":397397703102824448,"45":392868728712939520},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,28,24,16,45]} 
[2026-09-04 01:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847272192001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:36:07] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-04 01:36:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397397703102824448,"km_value":397397703102824.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":392868728712939520,"description":"Unknown IO ID 45"} 
[2026-09-04 01:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847272192001,"power":27267,"unknown_188":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":392868728712939520}} 
[2026-09-04 01:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":171697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:36:07] local.INFO: GPS data processed {"connection_id":171697,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:36:07] local.INFO: Acknowledgment sent {"connection_id":171697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:36:08] local.INFO: TCP Data received {"connection_id":171697,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e01ca8012d055f0006fa50200009010f25..."} 
[2026-09-04 01:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e01ca8012d055f0006fa50200009010f25..."} 
[2026-09-04 01:36:08] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e01ca8012d055f0006fa50200009010f25..."} 
[2026-09-04 01:36:08] local.INFO: Packet analysis {"connection_id":171697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e0"} 
[2026-09-04 01:36:08] local.INFO: Extracted packet for processing {"connection_id":171697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e0"} 
[2026-09-04 01:36:08] local.INFO: GPS Element Parsed {"raw_longitude":755326720,"raw_latitude":117067808,"longitude_deg":75.532672,"latitude_deg":11.7067808,"altitude":9,"angle":271,"satellites":37,"speed":35,"hex_longitude":"2d055f00","hex_latitude":"06fa5020","is_valid_coordinates":true} 
[2026-09-04 01:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847272960001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397397836246810624,"note":"Value kept but may cause issues"} 
[2026-09-04 01:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":390124347690231808,"note":"Value kept but may cause issues"} 
[2026-09-04 01:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788465913000,"timestamp_ms":1788465913000,"timestamp_seconds":1788465913,"priority":1,"record_length":96,"hex_timestamp":"000001a068e01ca8"} 
[2026-09-04 01:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 01:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847272960001,"66":27376,"188":206,"28":32256,"24":35,"16":397397836246810624,"45":390124347690231808},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,28,24,16,45]} 
[2026-09-04 01:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847272960001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:36:08] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-04 01:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397397836246810624,"km_value":397397836246810.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":390124347690231808,"description":"Unknown IO ID 45"} 
[2026-09-04 01:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847272960001,"power":27376,"unknown_188":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_45":390124347690231808}} 
[2026-09-04 01:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":171697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:36:08] local.INFO: GPS data processed {"connection_id":171697,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:36:08] local.INFO: Acknowledgment sent {"connection_id":171697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:36:39] local.INFO: TCP Data received {"connection_id":171697,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e047a0012d053c0006fa54b8000c011c28..."} 
[2026-09-04 01:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e047a0012d053c0006fa54b8000c011c28..."} 
[2026-09-04 01:36:39] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e047a0012d053c0006fa54b8000c011c28..."} 
[2026-09-04 01:36:39] local.INFO: Packet analysis {"connection_id":171697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e0"} 
[2026-09-04 01:36:39] local.INFO: Extracted packet for processing {"connection_id":171697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e0"} 
[2026-09-04 01:36:39] local.INFO: GPS Element Parsed {"raw_longitude":755317760,"raw_latitude":117068984,"longitude_deg":75.531776,"latitude_deg":11.7068984,"altitude":12,"angle":284,"satellites":40,"speed":30,"hex_longitude":"2d053c00","hex_latitude":"06fa54b8","is_valid_coordinates":true} 
[2026-09-04 01:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847273728001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397398265743540224,"note":"Value kept but may cause issues"} 
[2026-09-04 01:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":387028122946510848,"note":"Value kept but may cause issues"} 
[2026-09-04 01:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788465924000,"timestamp_ms":1788465924000,"timestamp_seconds":1788465924,"priority":1,"record_length":96,"hex_timestamp":"000001a068e047a0"} 
[2026-09-04 01:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 01:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847273728001,"66":26560,"188":206,"28":32256,"24":30,"16":397398265743540224,"45":387028122946510848},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,28,24,16,45]} 
[2026-09-04 01:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847273728001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:36:39] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-04 01:36:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397398265743540224,"km_value":397398265743540.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":387028122946510848,"description":"Unknown IO ID 45"} 
[2026-09-04 01:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847273728001,"power":26560,"unknown_188":206,"unknown_28":32256,"ignition":30,"odometer":null,"unknown_45":387028122946510848}} 
[2026-09-04 01:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":171697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:36:39] local.INFO: GPS data processed {"connection_id":171697,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:36:39] local.INFO: Acknowledgment sent {"connection_id":171697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:37:04] local.INFO: TCP Data received {"connection_id":170607,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:37:04] local.INFO: Processing buffer {"connection_id":170607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:37:04] local.INFO: IMEI packet received {"connection_id":170607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":170607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:37:05] local.INFO: TCP Data received {"connection_id":170607,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:37:05] local.INFO: Processing buffer {"connection_id":170607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:37:05] local.INFO: IMEI packet received {"connection_id":170607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":170607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:37:10] local.INFO: TCP Data received {"connection_id":170607,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:37:10] local.INFO: Processing buffer {"connection_id":170607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:37:10] local.INFO: IMEI packet received {"connection_id":170607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":170607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:37:12] local.INFO: TCP Data received {"connection_id":170607,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e0d440012d04e7c006fa8c800015012a29..."} 
[2026-09-04 01:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e0d440012d04e7c006fa8c800015012a29..."} 
[2026-09-04 01:37:12] local.INFO: Processing buffer {"connection_id":170607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e0d440012d04e7c006fa8c800015012a29..."} 
[2026-09-04 01:37:12] local.INFO: Packet analysis {"connection_id":170607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e0"} 
[2026-09-04 01:37:12] local.INFO: Extracted packet for processing {"connection_id":170607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e0"} 
[2026-09-04 01:37:12] local.INFO: GPS Element Parsed {"raw_longitude":755296192,"raw_latitude":117083264,"longitude_deg":75.5296192,"latitude_deg":11.7083264,"altitude":21,"angle":298,"satellites":41,"speed":34,"hex_longitude":"2d04e7c0","hex_latitude":"06fa8c80","is_valid_coordinates":true} 
[2026-09-04 01:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847284736001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397399571413598208,"note":"Value kept but may cause issues"} 
[2026-09-04 01:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":356628825465243648,"note":"Value kept but may cause issues"} 
[2026-09-04 01:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788465960000,"timestamp_ms":1788465960000,"timestamp_seconds":1788465960,"priority":1,"record_length":96,"hex_timestamp":"000001a068e0d440"} 
[2026-09-04 01:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 01:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":170607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":170607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":170607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847284736001,"66":27213,"189":206,"28":32256,"24":34,"16":397399571413598208,"45":356628825465243648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,28,24,16,45]} 
[2026-09-04 01:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847284736001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:37:12] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-04 01:37:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397399571413598208,"km_value":397399571413598.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":356628825465243648,"description":"Unknown IO ID 45"} 
[2026-09-04 01:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847284736001,"power":27213,"unknown_189":206,"unknown_28":32256,"ignition":34,"odometer":null,"unknown_45":356628825465243648}} 
[2026-09-04 01:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":170607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:37:12] local.INFO: GPS data processed {"connection_id":170607,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:37:12] local.INFO: Acknowledgment sent {"connection_id":170607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:37:13] local.INFO: TCP Data received {"connection_id":170607,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e0fb50012d04c68006fa99880016012328..."} 
[2026-09-04 01:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e0fb50012d04c68006fa99880016012328..."} 
[2026-09-04 01:37:13] local.INFO: Processing buffer {"connection_id":170607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e0fb50012d04c68006fa99880016012328..."} 
[2026-09-04 01:37:13] local.INFO: Packet analysis {"connection_id":170607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e0"} 
[2026-09-04 01:37:13] local.INFO: Extracted packet for processing {"connection_id":170607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e0"} 
[2026-09-04 01:37:13] local.INFO: GPS Element Parsed {"raw_longitude":755287680,"raw_latitude":117086600,"longitude_deg":75.528768,"latitude_deg":11.70866,"altitude":22,"angle":291,"satellites":40,"speed":37,"hex_longitude":"2d04c680","hex_latitude":"06fa9988","is_valid_coordinates":true} 
[2026-09-04 01:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847285760001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397400005205295104,"note":"Value kept but may cause issues"} 
[2026-09-04 01:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":353462231977721856,"note":"Value kept but may cause issues"} 
[2026-09-04 01:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788465970000,"timestamp_ms":1788465970000,"timestamp_seconds":1788465970,"priority":1,"record_length":96,"hex_timestamp":"000001a068e0fb50"} 
[2026-09-04 01:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 01:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":170607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":170607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":170607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847285760001,"66":27365,"189":206,"28":32256,"24":37,"16":397400005205295104,"45":353462231977721856},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,28,24,16,45]} 
[2026-09-04 01:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847285760001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:37:13] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-04 01:37:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397400005205295104,"km_value":397400005205295.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":353462231977721856,"description":"Unknown IO ID 45"} 
[2026-09-04 01:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847285760001,"power":27365,"unknown_189":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":353462231977721856}} 
[2026-09-04 01:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":170607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:37:13] local.INFO: GPS data processed {"connection_id":170607,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:37:13] local.INFO: Acknowledgment sent {"connection_id":170607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:37:44] local.INFO: TCP Data received {"connection_id":170607,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e1a730012d045cc006fb3ba00018012528..."} 
[2026-09-04 01:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e1a730012d045cc006fb3ba00018012528..."} 
[2026-09-04 01:37:44] local.INFO: Processing buffer {"connection_id":170607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e1a730012d045cc006fb3ba00018012528..."} 
[2026-09-04 01:37:44] local.INFO: Packet analysis {"connection_id":170607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e1"} 
[2026-09-04 01:37:44] local.INFO: Extracted packet for processing {"connection_id":170607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e1"} 
[2026-09-04 01:37:44] local.INFO: GPS Element Parsed {"raw_longitude":755260608,"raw_latitude":117128096,"longitude_deg":75.5260608,"latitude_deg":11.7128096,"altitude":24,"angle":293,"satellites":40,"speed":41,"hex_longitude":"2d045cc0","hex_latitude":"06fb3ba0","is_valid_coordinates":true} 
[2026-09-04 01:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847298560001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397402547825934336,"note":"Value kept but may cause issues"} 
[2026-09-04 01:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":318911178597662720,"note":"Value kept but may cause issues"} 
[2026-09-04 01:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788466014000,"timestamp_ms":1788466014000,"timestamp_seconds":1788466014,"priority":1,"record_length":96,"hex_timestamp":"000001a068e1a730"} 
[2026-09-04 01:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 01:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847298560001,"66":27300,"189":206,"28":32256,"24":41,"16":397402547825934336,"45":318911178597662720},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,28,24,16,45]} 
[2026-09-04 01:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847298560001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:37:44] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-04 01:37:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397402547825934336,"km_value":397402547825934.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":318911178597662720,"description":"Unknown IO ID 45"} 
[2026-09-04 01:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847298560001,"power":27300,"unknown_189":206,"unknown_28":32256,"ignition":41,"odometer":null,"unknown_45":318911178597662720}} 
[2026-09-04 01:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":170607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:37:44] local.INFO: GPS data processed {"connection_id":170607,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:37:44] local.INFO: Acknowledgment sent {"connection_id":170607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:37:59] local.INFO: TCP Data received {"connection_id":170302,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:37:59] local.INFO: Processing buffer {"connection_id":170302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:37:59] local.INFO: IMEI packet received {"connection_id":170302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":170302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:38:00] local.INFO: TCP Data received {"connection_id":170302,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:38:00] local.INFO: Processing buffer {"connection_id":170302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:38:00] local.INFO: IMEI packet received {"connection_id":170302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":170302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:38:02] local.INFO: TCP Data received {"connection_id":170302,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:38:02] local.INFO: Processing buffer {"connection_id":170302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:38:02] local.INFO: IMEI packet received {"connection_id":170302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":170302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:38:05] local.INFO: TCP Data received {"connection_id":170302,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:38:05] local.INFO: Processing buffer {"connection_id":170302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:38:05] local.INFO: IMEI packet received {"connection_id":170302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":170302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:38:05] local.INFO: TCP Data received {"connection_id":170302,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e1b6d0012d044e0006fb43e80019013028..."} 
[2026-09-04 01:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e1b6d0012d044e0006fb43e80019013028..."} 
[2026-09-04 01:38:05] local.INFO: Processing buffer {"connection_id":170302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e1b6d0012d044e0006fb43e80019013028..."} 
[2026-09-04 01:38:05] local.INFO: Packet analysis {"connection_id":170302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e1"} 
[2026-09-04 01:38:05] local.INFO: Extracted packet for processing {"connection_id":170302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e1"} 
[2026-09-04 01:38:05] local.INFO: GPS Element Parsed {"raw_longitude":755256832,"raw_latitude":117130216,"longitude_deg":75.5256832,"latitude_deg":11.7130216,"altitude":25,"angle":304,"satellites":40,"speed":42,"hex_longitude":"2d044e00","hex_latitude":"06fb43e8","is_valid_coordinates":true} 
[2026-09-04 01:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847299584001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397402758279331840,"note":"Value kept but may cause issues"} 
[2026-09-04 01:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":314337210226417664,"note":"Value kept but may cause issues"} 
[2026-09-04 01:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788466018000,"timestamp_ms":1788466018000,"timestamp_seconds":1788466018,"priority":1,"record_length":96,"hex_timestamp":"000001a068e1b6d0"} 
[2026-09-04 01:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 01:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847299584001,"66":27343,"109":206,"28":32256,"24":42,"16":397402758279331840,"45":314337210226417664},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-09-04 01:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847299584001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:38:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-04 01:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397402758279331840,"km_value":397402758279331.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":314337210226417664,"description":"Unknown IO ID 45"} 
[2026-09-04 01:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847299584001,"power":27343,"unknown_109":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":314337210226417664}} 
[2026-09-04 01:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":170302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:38:05] local.INFO: GPS data processed {"connection_id":170302,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:38:05] local.INFO: Acknowledgment sent {"connection_id":170302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:38:36] local.INFO: TCP Data received {"connection_id":170302,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e289c0012d037c8006fbd8780007014825..."} 
[2026-09-04 01:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e289c0012d037c8006fbd8780007014825..."} 
[2026-09-04 01:38:36] local.INFO: Processing buffer {"connection_id":170302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e289c0012d037c8006fbd8780007014825..."} 
[2026-09-04 01:38:36] local.INFO: Packet analysis {"connection_id":170302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e2"} 
[2026-09-04 01:38:36] local.INFO: Extracted packet for processing {"connection_id":170302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e2"} 
[2026-09-04 01:38:36] local.INFO: GPS Element Parsed {"raw_longitude":755203200,"raw_latitude":117168248,"longitude_deg":75.52032,"latitude_deg":11.7168248,"altitude":7,"angle":328,"satellites":37,"speed":44,"hex_longitude":"2d037c80","hex_latitude":"06fbd878","is_valid_coordinates":true} 
[2026-09-04 01:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847314432001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397405962324934656,"note":"Value kept but may cause issues"} 
[2026-09-04 01:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":251216446709331968,"note":"Value kept but may cause issues"} 
[2026-09-04 01:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788466072000,"timestamp_ms":1788466072000,"timestamp_seconds":1788466072,"priority":1,"record_length":96,"hex_timestamp":"000001a068e289c0"} 
[2026-09-04 01:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 01:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847314432001,"66":27321,"109":206,"28":32256,"24":44,"16":397405962324934656,"45":251216446709331968},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-09-04 01:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847314432001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:38:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-04 01:38:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397405962324934656,"km_value":397405962324934.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":251216446709331968,"description":"Unknown IO ID 45"} 
[2026-09-04 01:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847314432001,"power":27321,"unknown_109":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":251216446709331968}} 
[2026-09-04 01:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":170302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:38:36] local.INFO: GPS data processed {"connection_id":170302,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:38:36] local.INFO: Acknowledgment sent {"connection_id":170302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:39:00] local.INFO: TCP Data received {"connection_id":170609,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:39:00] local.INFO: Processing buffer {"connection_id":170609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:39:00] local.INFO: IMEI packet received {"connection_id":170609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":170609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:39:00] local.INFO: TCP Data received {"connection_id":170609,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:39:00] local.INFO: Processing buffer {"connection_id":170609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:39:00] local.INFO: IMEI packet received {"connection_id":170609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":170609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:39:05] local.INFO: TCP Data received {"connection_id":170609,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:39:05] local.INFO: Processing buffer {"connection_id":170609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:39:05] local.INFO: IMEI packet received {"connection_id":170609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":170609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:39:07] local.INFO: TCP Data received {"connection_id":170609,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e29190012d0378c006fbe0c80005015926..."} 
[2026-09-04 01:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e29190012d0378c006fbe0c80005015926..."} 
[2026-09-04 01:39:07] local.INFO: Processing buffer {"connection_id":170609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e29190012d0378c006fbe0c80005015926..."} 
[2026-09-04 01:39:07] local.INFO: Packet analysis {"connection_id":170609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e2"} 
[2026-09-04 01:39:07] local.INFO: Extracted packet for processing {"connection_id":170609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e2"} 
[2026-09-04 01:39:07] local.INFO: GPS Element Parsed {"raw_longitude":755202240,"raw_latitude":117170376,"longitude_deg":75.520224,"latitude_deg":11.7170376,"altitude":5,"angle":345,"satellites":38,"speed":47,"hex_longitude":"2d0378c0","hex_latitude":"06fbe0c8","is_valid_coordinates":true} 
[2026-09-04 01:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847314432001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397406073994084352,"note":"Value kept but may cause issues"} 
[2026-09-04 01:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":251216446709331968,"note":"Value kept but may cause issues"} 
[2026-09-04 01:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466074000,"timestamp_ms":1788466074000,"timestamp_seconds":1788466074,"priority":1,"record_length":96,"hex_timestamp":"000001a068e29190"} 
[2026-09-04 01:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 01:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847314432001,"66":27321,"109":206,"28":32256,"24":47,"16":397406073994084352,"45":251216446709331968},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-09-04 01:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847314432001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:39:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-04 01:39:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397406073994084352,"km_value":397406073994084.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":251216446709331968,"description":"Unknown IO ID 45"} 
[2026-09-04 01:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847314432001,"power":27321,"unknown_109":206,"unknown_28":32256,"ignition":47,"odometer":null,"unknown_45":251216446709331968}} 
[2026-09-04 01:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":170609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:39:07] local.INFO: GPS data processed {"connection_id":170609,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:39:07] local.INFO: Acknowledgment sent {"connection_id":170609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:39:38] local.INFO: TCP Data received {"connection_id":170609,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e29960012d03780006fbea580005000025..."} 
[2026-09-04 01:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e29960012d03780006fbea580005000025..."} 
[2026-09-04 01:39:38] local.INFO: Processing buffer {"connection_id":170609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e29960012d03780006fbea580005000025..."} 
[2026-09-04 01:39:38] local.INFO: Packet analysis {"connection_id":170609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e2"} 
[2026-09-04 01:39:38] local.INFO: Extracted packet for processing {"connection_id":170609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e2"} 
[2026-09-04 01:39:38] local.INFO: GPS Element Parsed {"raw_longitude":755202048,"raw_latitude":117172824,"longitude_deg":75.5202048,"latitude_deg":11.7172824,"altitude":5,"angle":0,"satellites":37,"speed":49,"hex_longitude":"2d037800","hex_latitude":"06fbea58","is_valid_coordinates":true} 
[2026-09-04 01:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847314944001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397406189958201344,"note":"Value kept but may cause issues"} 
[2026-09-04 01:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":250160915547211776,"note":"Value kept but may cause issues"} 
[2026-09-04 01:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788466076000,"timestamp_ms":1788466076000,"timestamp_seconds":1788466076,"priority":1,"record_length":96,"hex_timestamp":"000001a068e29960"} 
[2026-09-04 01:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 01:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847314944001,"66":27289,"109":206,"28":32256,"24":49,"16":397406189958201344,"45":250160915547211776},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-09-04 01:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847314944001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:39:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-04 01:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397406189958201344,"km_value":397406189958201.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":250160915547211776,"description":"Unknown IO ID 45"} 
[2026-09-04 01:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847314944001,"power":27289,"unknown_109":206,"unknown_28":32256,"ignition":49,"odometer":null,"unknown_45":250160915547211776}} 
[2026-09-04 01:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":170609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:39:38] local.INFO: GPS data processed {"connection_id":170609,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:39:38] local.INFO: Acknowledgment sent {"connection_id":170609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:39:39] local.INFO: TCP Data received {"connection_id":170610,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:39:39] local.INFO: Processing buffer {"connection_id":170610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:39:39] local.INFO: IMEI packet received {"connection_id":170610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":170610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:40:00] local.INFO: TCP Data received {"connection_id":170303,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:40:00] local.INFO: Processing buffer {"connection_id":170303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:40:00] local.INFO: IMEI packet received {"connection_id":170303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":170303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:40:03] local.INFO: TCP Data received {"connection_id":170303,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:40:03] local.INFO: Processing buffer {"connection_id":170303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:40:03] local.INFO: IMEI packet received {"connection_id":170303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":170303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:40:06] local.INFO: TCP Data received {"connection_id":170303,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:40:06] local.INFO: Processing buffer {"connection_id":170303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:40:06] local.INFO: IMEI packet received {"connection_id":170303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":170303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:40:07] local.INFO: TCP Data received {"connection_id":170303,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e38f78012d02a98006fcad780006013128..."} 
[2026-09-04 01:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e38f78012d02a98006fcad780006013128..."} 
[2026-09-04 01:40:07] local.INFO: Processing buffer {"connection_id":170303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e38f78012d02a98006fcad780006013128..."} 
[2026-09-04 01:40:07] local.INFO: Packet analysis {"connection_id":170303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e3"} 
[2026-09-04 01:40:07] local.INFO: Extracted packet for processing {"connection_id":170303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e3"} 
[2026-09-04 01:40:07] local.INFO: GPS Element Parsed {"raw_longitude":755149184,"raw_latitude":117222776,"longitude_deg":75.5149184,"latitude_deg":11.7222776,"altitude":6,"angle":305,"satellites":40,"speed":50,"hex_longitude":"2d02a980","hex_latitude":"06fcad78","is_valid_coordinates":true} 
[2026-09-04 01:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847329792001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397409948054585344,"note":"Value kept but may cause issues"} 
[2026-09-04 01:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":200269475937421312,"note":"Value kept but may cause issues"} 
[2026-09-04 01:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466139000,"timestamp_ms":1788466139000,"timestamp_seconds":1788466139,"priority":1,"record_length":96,"hex_timestamp":"000001a068e38f78"} 
[2026-09-04 01:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-04 01:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847329792001,"66":27169,"110":206,"28":32256,"24":50,"16":397409948054585344,"45":200269475937421312},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-09-04 01:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847329792001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:40:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 01:40:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397409948054585344,"km_value":397409948054585.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":200269475937421312,"description":"Unknown IO ID 45"} 
[2026-09-04 01:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847329792001,"power":27169,"unknown_110":206,"unknown_28":32256,"ignition":50,"odometer":null,"unknown_45":200269475937421312}} 
[2026-09-04 01:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":170303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:40:07] local.INFO: GPS data processed {"connection_id":170303,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:40:07] local.INFO: Acknowledgment sent {"connection_id":170303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:40:38] local.INFO: TCP Data received {"connection_id":170303,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e3a300012d02968006fcbcb80006014228..."} 
[2026-09-04 01:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e3a300012d02968006fcbcb80006014228..."} 
[2026-09-04 01:40:38] local.INFO: Processing buffer {"connection_id":170303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e3a300012d02968006fcbcb80006014228..."} 
[2026-09-04 01:40:38] local.INFO: Packet analysis {"connection_id":170303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e3"} 
[2026-09-04 01:40:38] local.INFO: Extracted packet for processing {"connection_id":170303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e3"} 
[2026-09-04 01:40:38] local.INFO: GPS Element Parsed {"raw_longitude":755144320,"raw_latitude":117226680,"longitude_deg":75.514432,"latitude_deg":11.722668,"altitude":6,"angle":322,"satellites":40,"speed":49,"hex_longitude":"2d029680","hex_latitude":"06fcbcb8","is_valid_coordinates":true} 
[2026-09-04 01:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847331584001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397410244407328768,"note":"Value kept but may cause issues"} 
[2026-09-04 01:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":191825226637342720,"note":"Value kept but may cause issues"} 
[2026-09-04 01:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788466144000,"timestamp_ms":1788466144000,"timestamp_seconds":1788466144,"priority":1,"record_length":96,"hex_timestamp":"000001a068e3a300"} 
[2026-09-04 01:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-04 01:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847331584001,"66":27321,"110":206,"28":32256,"24":49,"16":397410244407328768,"45":191825226637342720},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-09-04 01:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847331584001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:40:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 01:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397410244407328768,"km_value":397410244407328.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":191825226637342720,"description":"Unknown IO ID 45"} 
[2026-09-04 01:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847331584001,"power":27321,"unknown_110":206,"unknown_28":32256,"ignition":49,"odometer":null,"unknown_45":191825226637342720}} 
[2026-09-04 01:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":170303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:40:38] local.INFO: GPS data processed {"connection_id":170303,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:40:38] local.INFO: Acknowledgment sent {"connection_id":170303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:41:01] local.INFO: TCP Data received {"connection_id":171698,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:41:01] local.INFO: Processing buffer {"connection_id":171698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:41:01] local.INFO: IMEI packet received {"connection_id":171698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":171698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:41:01] local.INFO: TCP Data received {"connection_id":171698,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:41:01] local.INFO: Processing buffer {"connection_id":171698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:41:01] local.INFO: IMEI packet received {"connection_id":171698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":171698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:41:06] local.INFO: TCP Data received {"connection_id":171698,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:41:06] local.INFO: Processing buffer {"connection_id":171698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:41:06] local.INFO: IMEI packet received {"connection_id":171698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":171698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:41:07] local.INFO: TCP Data received {"connection_id":171698,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e3be58012d0283c006fcdae00005014328..."} 
[2026-09-04 01:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e3be58012d0283c006fcdae00005014328..."} 
[2026-09-04 01:41:07] local.INFO: Processing buffer {"connection_id":171698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e3be58012d0283c006fcdae00005014328..."} 
[2026-09-04 01:41:07] local.INFO: Packet analysis {"connection_id":171698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e3"} 
[2026-09-04 01:41:07] local.INFO: Extracted packet for processing {"connection_id":171698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e3"} 
[2026-09-04 01:41:07] local.INFO: GPS Element Parsed {"raw_longitude":755139520,"raw_latitude":117234400,"longitude_deg":75.513952,"latitude_deg":11.72344,"altitude":5,"angle":323,"satellites":40,"speed":53,"hex_longitude":"2d0283c0","hex_latitude":"06fcdae0","is_valid_coordinates":true} 
[2026-09-04 01:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847332864001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397410682493992960,"note":"Value kept but may cause issues"} 
[2026-09-04 01:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":186477202080839680,"note":"Value kept but may cause issues"} 
[2026-09-04 01:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466151000,"timestamp_ms":1788466151000,"timestamp_seconds":1788466151,"priority":1,"record_length":96,"hex_timestamp":"000001a068e3be58"} 
[2026-09-04 01:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 01:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847332864001,"66":27137,"110":206,"28":32256,"24":53,"16":397410682493992960,"45":186477202080839680},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-09-04 01:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847332864001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:41:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 01:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397410682493992960,"km_value":397410682493992.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":186477202080839680,"description":"Unknown IO ID 45"} 
[2026-09-04 01:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847332864001,"power":27137,"unknown_110":206,"unknown_28":32256,"ignition":53,"odometer":null,"unknown_45":186477202080839680}} 
[2026-09-04 01:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":171698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:41:07] local.INFO: GPS data processed {"connection_id":171698,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:41:07] local.INFO: Acknowledgment sent {"connection_id":171698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:41:38] local.INFO: TCP Data received {"connection_id":171698,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e53940012d01544006fe63f80005013127..."} 
[2026-09-04 01:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e53940012d01544006fe63f80005013127..."} 
[2026-09-04 01:41:38] local.INFO: Processing buffer {"connection_id":171698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e53940012d01544006fe63f80005013127..."} 
[2026-09-04 01:41:38] local.INFO: Packet analysis {"connection_id":171698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e5"} 
[2026-09-04 01:41:38] local.INFO: Extracted packet for processing {"connection_id":171698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e5"} 
[2026-09-04 01:41:38] local.INFO: GPS Element Parsed {"raw_longitude":755061824,"raw_latitude":117335032,"longitude_deg":75.5061824,"latitude_deg":11.7335032,"altitude":5,"angle":305,"satellites":39,"speed":46,"hex_longitude":"2d015440","hex_latitude":"06fe63f8","is_valid_coordinates":true} 
[2026-09-04 01:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847357440001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397416987505983488,"note":"Value kept but may cause issues"} 
[2026-09-04 01:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":105975358768349184,"note":"Value kept but may cause issues"} 
[2026-09-04 01:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788466248000,"timestamp_ms":1788466248000,"timestamp_seconds":1788466248,"priority":1,"record_length":96,"hex_timestamp":"000001a068e53940"} 
[2026-09-04 01:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 01:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847357440001,"66":27180,"15":206,"28":32256,"24":46,"16":397416987505983488,"45":105975358768349184},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-09-04 01:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847357440001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:41:38] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-04 01:41:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397416987505983488,"km_value":397416987505983.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":105975358768349184,"description":"Unknown IO ID 45"} 
[2026-09-04 01:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847357440001,"power":27180,"unknown_15":206,"unknown_28":32256,"ignition":46,"odometer":null,"unknown_45":105975358768349184}} 
[2026-09-04 01:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":171698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:41:38] local.INFO: GPS data processed {"connection_id":171698,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:41:38] local.INFO: Acknowledgment sent {"connection_id":171698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:42:00] local.INFO: TCP Data received {"connection_id":171699,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:42:00] local.INFO: Processing buffer {"connection_id":171699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:42:00] local.INFO: IMEI packet received {"connection_id":171699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":171699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:42:04] local.INFO: TCP Data received {"connection_id":171699,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:42:04] local.INFO: Processing buffer {"connection_id":171699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:42:04] local.INFO: IMEI packet received {"connection_id":171699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":171699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:42:05] local.INFO: TCP Data received {"connection_id":171699,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:42:05] local.INFO: Processing buffer {"connection_id":171699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:42:05] local.INFO: IMEI packet received {"connection_id":171699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":171699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:42:07] local.INFO: TCP Data received {"connection_id":171699,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e53940012d01544006fe63f80005013127..."} 
[2026-09-04 01:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e53940012d01544006fe63f80005013127..."} 
[2026-09-04 01:42:07] local.INFO: Processing buffer {"connection_id":171699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e53940012d01544006fe63f80005013127..."} 
[2026-09-04 01:42:07] local.INFO: Packet analysis {"connection_id":171699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e5"} 
[2026-09-04 01:42:07] local.INFO: Extracted packet for processing {"connection_id":171699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e5"} 
[2026-09-04 01:42:07] local.INFO: GPS Element Parsed {"raw_longitude":755061824,"raw_latitude":117335032,"longitude_deg":75.5061824,"latitude_deg":11.7335032,"altitude":5,"angle":305,"satellites":39,"speed":46,"hex_longitude":"2d015440","hex_latitude":"06fe63f8","is_valid_coordinates":true} 
[2026-09-04 01:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847359488001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397416987505983488,"note":"Value kept but may cause issues"} 
[2026-09-04 01:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":95771890863568896,"note":"Value kept but may cause issues"} 
[2026-09-04 01:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466248000,"timestamp_ms":1788466248000,"timestamp_seconds":1788466248,"priority":1,"record_length":96,"hex_timestamp":"000001a068e53940"} 
[2026-09-04 01:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 01:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847359488001,"66":27180,"15":206,"28":32256,"24":46,"16":397416987505983488,"45":95771890863568896},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-09-04 01:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847359488001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:42:07] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-04 01:42:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397416987505983488,"km_value":397416987505983.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":95771890863568896,"description":"Unknown IO ID 45"} 
[2026-09-04 01:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847359488001,"power":27180,"unknown_15":206,"unknown_28":32256,"ignition":46,"odometer":null,"unknown_45":95771890863568896}} 
[2026-09-04 01:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":171699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:42:07] local.INFO: GPS data processed {"connection_id":171699,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:42:07] local.INFO: Acknowledgment sent {"connection_id":171699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:42:11] local.INFO: TCP Data received {"connection_id":171699,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e55880012d01360006fe77c00005012e25..."} 
[2026-09-04 01:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e55880012d01360006fe77c00005012e25..."} 
[2026-09-04 01:42:11] local.INFO: Processing buffer {"connection_id":171699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e55880012d01360006fe77c00005012e25..."} 
[2026-09-04 01:42:11] local.INFO: Packet analysis {"connection_id":171699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e5"} 
[2026-09-04 01:42:11] local.INFO: Extracted packet for processing {"connection_id":171699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e5"} 
[2026-09-04 01:42:11] local.INFO: GPS Element Parsed {"raw_longitude":755054080,"raw_latitude":117340096,"longitude_deg":75.505408,"latitude_deg":11.7340096,"altitude":5,"angle":302,"satellites":37,"speed":39,"hex_longitude":"2d013600","hex_latitude":"06fe77c0","is_valid_coordinates":true} 
[2026-09-04 01:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847359488001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397417429887614976,"note":"Value kept but may cause issues"} 
[2026-09-04 01:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":95771890863568896,"note":"Value kept but may cause issues"} 
[2026-09-04 01:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788466256000,"timestamp_ms":1788466256000,"timestamp_seconds":1788466256,"priority":1,"record_length":96,"hex_timestamp":"000001a068e55880"} 
[2026-09-04 01:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 01:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847359488001,"66":27397,"15":206,"28":32256,"24":39,"16":397417429887614976,"45":95771890863568896},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-09-04 01:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847359488001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:42:11] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-04 01:42:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397417429887614976,"km_value":397417429887615.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":95771890863568896,"description":"Unknown IO ID 45"} 
[2026-09-04 01:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847359488001,"power":27397,"unknown_15":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_45":95771890863568896}} 
[2026-09-04 01:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":171699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:42:11] local.INFO: GPS data processed {"connection_id":171699,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:42:11] local.INFO: Acknowledgment sent {"connection_id":171699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:42:43] local.INFO: TCP Data received {"connection_id":171699,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e57ba8012d01198006fe8c380005013c27..."} 
[2026-09-04 01:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e57ba8012d01198006fe8c380005013c27..."} 
[2026-09-04 01:42:43] local.INFO: Processing buffer {"connection_id":171699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e57ba8012d01198006fe8c380005013c27..."} 
[2026-09-04 01:42:43] local.INFO: Packet analysis {"connection_id":171699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e5"} 
[2026-09-04 01:42:43] local.INFO: Extracted packet for processing {"connection_id":171699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e5"} 
[2026-09-04 01:42:43] local.INFO: GPS Element Parsed {"raw_longitude":755046784,"raw_latitude":117345336,"longitude_deg":75.5046784,"latitude_deg":11.7345336,"altitude":5,"angle":316,"satellites":39,"speed":36,"hex_longitude":"2d011980","hex_latitude":"06fe8c38","is_valid_coordinates":true} 
[2026-09-04 01:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847361536001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397417859384344576,"note":"Value kept but may cause issues"} 
[2026-09-04 01:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":87257272819367936,"note":"Value kept but may cause issues"} 
[2026-09-04 01:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788466265000,"timestamp_ms":1788466265000,"timestamp_seconds":1788466265,"priority":1,"record_length":96,"hex_timestamp":"000001a068e57ba8"} 
[2026-09-04 01:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 01:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847361536001,"66":27397,"15":206,"28":32256,"24":36,"16":397417859384344576,"45":87257272819367936},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-09-04 01:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847361536001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:42:43] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-04 01:42:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397417859384344576,"km_value":397417859384344.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":87257272819367936,"description":"Unknown IO ID 45"} 
[2026-09-04 01:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847361536001,"power":27397,"unknown_15":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":87257272819367936}} 
[2026-09-04 01:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":171699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:42:43] local.INFO: GPS data processed {"connection_id":171699,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:42:43] local.INFO: Acknowledgment sent {"connection_id":171699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:43:00] local.INFO: TCP Data received {"connection_id":170613,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:43:00] local.INFO: Processing buffer {"connection_id":170613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:43:00] local.INFO: IMEI packet received {"connection_id":170613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":170613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:43:03] local.INFO: TCP Data received {"connection_id":170613,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:43:03] local.INFO: Processing buffer {"connection_id":170613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:43:03] local.INFO: IMEI packet received {"connection_id":170613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":170613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:43:06] local.INFO: TCP Data received {"connection_id":170613,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:43:06] local.INFO: Processing buffer {"connection_id":170613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:43:06] local.INFO: IMEI packet received {"connection_id":170613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":170613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:43:07] local.INFO: TCP Data received {"connection_id":170613,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e669f0012d00754006fef7c8000a015b26..."} 
[2026-09-04 01:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e669f0012d00754006fef7c8000a015b26..."} 
[2026-09-04 01:43:07] local.INFO: Processing buffer {"connection_id":170613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e669f0012d00754006fef7c8000a015b26..."} 
[2026-09-04 01:43:07] local.INFO: Packet analysis {"connection_id":170613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e6"} 
[2026-09-04 01:43:07] local.INFO: Extracted packet for processing {"connection_id":170613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e6"} 
[2026-09-04 01:43:07] local.INFO: GPS Element Parsed {"raw_longitude":755004736,"raw_latitude":117372872,"longitude_deg":75.5004736,"latitude_deg":11.7372872,"altitude":10,"angle":347,"satellites":38,"speed":36,"hex_longitude":"2d007540","hex_latitude":"06fef7c8","is_valid_coordinates":true} 
[2026-09-04 01:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847376640001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397420552328839168,"note":"Value kept but may cause issues"} 
[2026-09-04 01:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":34621452180408320,"note":"Value kept but may cause issues"} 
[2026-09-04 01:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466326000,"timestamp_ms":1788466326000,"timestamp_seconds":1788466326,"priority":1,"record_length":96,"hex_timestamp":"000001a068e669f0"} 
[2026-09-04 01:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 01:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847376640001,"66":27365,"195":206,"28":32256,"24":36,"16":397420552328839168,"45":34621452180408320},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-09-04 01:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847376640001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:43:07] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-04 01:43:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397420552328839168,"km_value":397420552328839.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":34621452180408320,"description":"Unknown IO ID 45"} 
[2026-09-04 01:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847376640001,"power":27365,"unknown_195":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":34621452180408320}} 
[2026-09-04 01:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":170613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:43:07] local.INFO: GPS data processed {"connection_id":170613,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:43:07] local.INFO: Acknowledgment sent {"connection_id":170613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:43:39] local.INFO: TCP Data received {"connection_id":170613,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e69100012d006fc006ff1c80000b016022..."} 
[2026-09-04 01:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e69100012d006fc006ff1c80000b016022..."} 
[2026-09-04 01:43:39] local.INFO: Processing buffer {"connection_id":170613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e69100012d006fc006ff1c80000b016022..."} 
[2026-09-04 01:43:39] local.INFO: Packet analysis {"connection_id":170613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e6"} 
[2026-09-04 01:43:39] local.INFO: Extracted packet for processing {"connection_id":170613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e6"} 
[2026-09-04 01:43:39] local.INFO: GPS Element Parsed {"raw_longitude":755003328,"raw_latitude":117382272,"longitude_deg":75.5003328,"latitude_deg":11.7382272,"altitude":11,"angle":352,"satellites":34,"speed":37,"hex_longitude":"2d006fc0","hex_latitude":"06ff1c80","is_valid_coordinates":true} 
[2026-09-04 01:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847379456001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397421011890339840,"note":"Value kept but may cause issues"} 
[2026-09-04 01:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":33002971066779648,"note":"Value kept but may cause issues"} 
[2026-09-04 01:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788466336000,"timestamp_ms":1788466336000,"timestamp_seconds":1788466336,"priority":1,"record_length":96,"hex_timestamp":"000001a068e69100"} 
[2026-09-04 01:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 01:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847379456001,"66":27321,"195":206,"28":32256,"24":37,"16":397421011890339840,"45":33002971066779648},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-09-04 01:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847379456001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:43:39] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-04 01:43:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397421011890339840,"km_value":397421011890339.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":33002971066779648,"description":"Unknown IO ID 45"} 
[2026-09-04 01:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847379456001,"power":27321,"unknown_195":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":33002971066779648}} 
[2026-09-04 01:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":170613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:43:39] local.INFO: GPS data processed {"connection_id":170613,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:43:39] local.INFO: Acknowledgment sent {"connection_id":170613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:44:05] local.INFO: TCP Data received {"connection_id":171700,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:44:05] local.INFO: Processing buffer {"connection_id":171700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:44:05] local.INFO: IMEI packet received {"connection_id":171700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":171700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:44:06] local.INFO: TCP Data received {"connection_id":171700,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:44:06] local.INFO: Processing buffer {"connection_id":171700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:44:06] local.INFO: IMEI packet received {"connection_id":171700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":171700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:44:10] local.INFO: TCP Data received {"connection_id":171700,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:44:10] local.INFO: Processing buffer {"connection_id":171700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:44:10] local.INFO: IMEI packet received {"connection_id":171700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":171700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:44:12] local.INFO: TCP Data received {"connection_id":171700,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e6b428012d00698006ff3f28000d015e27..."} 
[2026-09-04 01:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e6b428012d00698006ff3f28000d015e27..."} 
[2026-09-04 01:44:12] local.INFO: Processing buffer {"connection_id":171700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e6b428012d00698006ff3f28000d015e27..."} 
[2026-09-04 01:44:12] local.INFO: Packet analysis {"connection_id":171700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e6"} 
[2026-09-04 01:44:12] local.INFO: Extracted packet for processing {"connection_id":171700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e6"} 
[2026-09-04 01:44:12] local.INFO: GPS Element Parsed {"raw_longitude":755001728,"raw_latitude":117391144,"longitude_deg":75.5001728,"latitude_deg":11.7391144,"altitude":13,"angle":350,"satellites":39,"speed":41,"hex_longitude":"2d006980","hex_latitude":"06ff3f28","is_valid_coordinates":true} 
[2026-09-04 01:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847382016001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397421449977004032,"note":"Value kept but may cause issues"} 
[2026-09-04 01:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":31454858697277440,"note":"Value kept but may cause issues"} 
[2026-09-04 01:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788466345000,"timestamp_ms":1788466345000,"timestamp_seconds":1788466345,"priority":1,"record_length":96,"hex_timestamp":"000001a068e6b428"} 
[2026-09-04 01:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 01:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847382016001,"66":27321,"195":206,"28":32256,"24":41,"16":397421449977004032,"45":31454858697277440},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-09-04 01:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847382016001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:44:12] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-04 01:44:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397421449977004032,"km_value":397421449977004.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":31454858697277440,"description":"Unknown IO ID 45"} 
[2026-09-04 01:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847382016001,"power":27321,"unknown_195":206,"unknown_28":32256,"ignition":41,"odometer":null,"unknown_45":31454858697277440}} 
[2026-09-04 01:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":171700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:44:12] local.INFO: GPS data processed {"connection_id":171700,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:44:12] local.INFO: Acknowledgment sent {"connection_id":171700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:44:13] local.INFO: TCP Data received {"connection_id":171700,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e6cf80012d00648006ff5980000e015227..."} 
[2026-09-04 01:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e6cf80012d00648006ff5980000e015227..."} 
[2026-09-04 01:44:13] local.INFO: Processing buffer {"connection_id":171700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e6cf80012d00648006ff5980000e015227..."} 
[2026-09-04 01:44:13] local.INFO: Packet analysis {"connection_id":171700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e6"} 
[2026-09-04 01:44:13] local.INFO: Extracted packet for processing {"connection_id":171700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e6"} 
[2026-09-04 01:44:13] local.INFO: GPS Element Parsed {"raw_longitude":755000448,"raw_latitude":117397888,"longitude_deg":75.5000448,"latitude_deg":11.7397888,"altitude":14,"angle":338,"satellites":39,"speed":35,"hex_longitude":"2d006480","hex_latitude":"06ff5980","is_valid_coordinates":true} 
[2026-09-04 01:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847384320001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397421780689485824,"note":"Value kept but may cause issues"} 
[2026-09-04 01:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":29695640095107072,"note":"Value kept but may cause issues"} 
[2026-09-04 01:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788466352000,"timestamp_ms":1788466352000,"timestamp_seconds":1788466352,"priority":1,"record_length":96,"hex_timestamp":"000001a068e6cf80"} 
[2026-09-04 01:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 01:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847384320001,"66":27365,"195":206,"28":32256,"24":35,"16":397421780689485824,"45":29695640095107072},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-09-04 01:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847384320001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:44:13] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-04 01:44:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397421780689485824,"km_value":397421780689485.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":29695640095107072,"description":"Unknown IO ID 45"} 
[2026-09-04 01:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847384320001,"power":27365,"unknown_195":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_45":29695640095107072}} 
[2026-09-04 01:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":171700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:44:13] local.INFO: GPS data processed {"connection_id":171700,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:44:13] local.INFO: Acknowledgment sent {"connection_id":171700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:44:45] local.INFO: TCP Data received {"connection_id":171700,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e7e4d8012cff62c006ffed700008013224..."} 
[2026-09-04 01:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e7e4d8012cff62c006ffed700008013224..."} 
[2026-09-04 01:44:45] local.INFO: Processing buffer {"connection_id":171700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e7e4d8012cff62c006ffed700008013224..."} 
[2026-09-04 01:44:45] local.INFO: Packet analysis {"connection_id":171700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e7"} 
[2026-09-04 01:44:45] local.INFO: Extracted packet for processing {"connection_id":171700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e7"} 
[2026-09-04 01:44:45] local.INFO: GPS Element Parsed {"raw_longitude":754934464,"raw_latitude":117435760,"longitude_deg":75.4934464,"latitude_deg":11.743576,"altitude":8,"angle":306,"satellites":36,"speed":44,"hex_longitude":"2cff62c0","hex_latitude":"06ffed70","is_valid_coordinates":true} 
[2026-09-04 01:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847404288001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397425478656327680,"note":"Value kept but may cause issues"} 
[2026-09-04 01:44:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-44261910024196096,"note":"Value kept but may cause issues"} 
[2026-09-04 01:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788466423000,"timestamp_ms":1788466423000,"timestamp_seconds":1788466423,"priority":1,"record_length":96,"hex_timestamp":"000001a068e7e4d8"} 
[2026-09-04 01:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 01:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":171700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":171700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":171700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847404288001,"66":27397,"33":206,"28":32256,"24":44,"16":397425478656327680,"44":-44261910024196096},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847404288001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:44:45] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:44:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397425478656327680,"km_value":397425478656327.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:44:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-44261910024196096,"description":"Unknown IO ID 44"} 
[2026-09-04 01:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847404288001,"power":27397,"unknown_33":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_44":-44261910024196096}} 
[2026-09-04 01:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":171700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:44:45] local.INFO: GPS data processed {"connection_id":171700,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:44:45] local.INFO: Acknowledgment sent {"connection_id":171700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:44:59] local.INFO: TCP Data received {"connection_id":170306,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:44:59] local.INFO: Processing buffer {"connection_id":170306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:44:59] local.INFO: IMEI packet received {"connection_id":170306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":170306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:45:00] local.INFO: TCP Data received {"connection_id":170306,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:45:00] local.INFO: Processing buffer {"connection_id":170306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:45:00] local.INFO: IMEI packet received {"connection_id":170306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":170306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:45:05] local.INFO: TCP Data received {"connection_id":170306,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:45:05] local.INFO: Processing buffer {"connection_id":170306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:45:05] local.INFO: IMEI packet received {"connection_id":170306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":170306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:45:07] local.INFO: TCP Data received {"connection_id":170306,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e80418012cff48c0070003d80009013d24..."} 
[2026-09-04 01:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e80418012cff48c0070003d80009013d24..."} 
[2026-09-04 01:45:07] local.INFO: Processing buffer {"connection_id":170306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e80418012cff48c0070003d80009013d24..."} 
[2026-09-04 01:45:07] local.INFO: Packet analysis {"connection_id":170306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e8"} 
[2026-09-04 01:45:07] local.INFO: Extracted packet for processing {"connection_id":170306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e8"} 
[2026-09-04 01:45:07] local.INFO: GPS Element Parsed {"raw_longitude":754927808,"raw_latitude":117441496,"longitude_deg":75.4927808,"latitude_deg":11.7441496,"altitude":9,"angle":317,"satellites":36,"speed":43,"hex_longitude":"2cff48c0","hex_latitude":"070003d8","is_valid_coordinates":true} 
[2026-09-04 01:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847404288001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397425899563122688,"note":"Value kept but may cause issues"} 
[2026-09-04 01:45:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-44261910024196096,"note":"Value kept but may cause issues"} 
[2026-09-04 01:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466431000,"timestamp_ms":1788466431000,"timestamp_seconds":1788466431,"priority":1,"record_length":96,"hex_timestamp":"000001a068e80418"} 
[2026-09-04 01:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 01:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847404288001,"66":27071,"33":206,"28":32256,"24":43,"16":397425899563122688,"44":-44261910024196096},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847404288001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:45:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:45:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397425899563122688,"km_value":397425899563122.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:45:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-44261910024196096,"description":"Unknown IO ID 44"} 
[2026-09-04 01:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847404288001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_44":-44261910024196096}} 
[2026-09-04 01:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":170306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:45:07] local.INFO: GPS data processed {"connection_id":170306,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:45:07] local.INFO: Acknowledgment sent {"connection_id":170306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:45:09] local.INFO: TCP Data received {"connection_id":170305,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:45:09] local.INFO: Processing buffer {"connection_id":170305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:45:09] local.INFO: IMEI packet received {"connection_id":170305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":170305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:45:38] local.INFO: TCP Data received {"connection_id":170306,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e82740012cff2f0007002140000a013f24..."} 
[2026-09-04 01:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e82740012cff2f0007002140000a013f24..."} 
[2026-09-04 01:45:38] local.INFO: Processing buffer {"connection_id":170306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e82740012cff2f0007002140000a013f24..."} 
[2026-09-04 01:45:38] local.INFO: Packet analysis {"connection_id":170306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e8"} 
[2026-09-04 01:45:38] local.INFO: Extracted packet for processing {"connection_id":170306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e8"} 
[2026-09-04 01:45:38] local.INFO: GPS Element Parsed {"raw_longitude":754921216,"raw_latitude":117449024,"longitude_deg":75.4921216,"latitude_deg":11.7449024,"altitude":10,"angle":319,"satellites":36,"speed":45,"hex_longitude":"2cff2f00","hex_latitude":"07002140","is_valid_coordinates":true} 
[2026-09-04 01:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847406336001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397426384894427136,"note":"Value kept but may cause issues"} 
[2026-09-04 01:45:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-51580259417204736,"note":"Value kept but may cause issues"} 
[2026-09-04 01:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788466440000,"timestamp_ms":1788466440000,"timestamp_seconds":1788466440,"priority":1,"record_length":96,"hex_timestamp":"000001a068e82740"} 
[2026-09-04 01:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-04 01:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847406336001,"66":26658,"33":206,"28":32256,"24":45,"16":397426384894427136,"44":-51580259417204736},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847406336001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:45:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397426384894427136,"km_value":397426384894427.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:45:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-51580259417204736,"description":"Unknown IO ID 44"} 
[2026-09-04 01:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847406336001,"power":26658,"unknown_33":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_44":-51580259417204736}} 
[2026-09-04 01:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":170306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:45:38] local.INFO: GPS data processed {"connection_id":170306,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:45:38] local.INFO: Acknowledgment sent {"connection_id":170306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:45:39] local.INFO: TCP Data received {"connection_id":171701,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:45:39] local.INFO: Processing buffer {"connection_id":171701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:45:39] local.INFO: IMEI packet received {"connection_id":171701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":171701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:46:01] local.INFO: TCP Data received {"connection_id":171702,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:46:01] local.INFO: Processing buffer {"connection_id":171702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:46:01] local.INFO: IMEI packet received {"connection_id":171702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":171702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:46:06] local.INFO: TCP Data received {"connection_id":171702,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:46:06] local.INFO: Processing buffer {"connection_id":171702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:46:06] local.INFO: IMEI packet received {"connection_id":171702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":171702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:46:07] local.INFO: TCP Data received {"connection_id":171702,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e911a0012cfe86000700a140000b003427..."} 
[2026-09-04 01:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e911a0012cfe86000700a140000b003427..."} 
[2026-09-04 01:46:07] local.INFO: Processing buffer {"connection_id":171702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e911a0012cfe86000700a140000b003427..."} 
[2026-09-04 01:46:07] local.INFO: Packet analysis {"connection_id":171702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:46:07] local.INFO: Extracted packet for processing {"connection_id":171702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:46:07] local.INFO: GPS Element Parsed {"raw_longitude":754877952,"raw_latitude":117481792,"longitude_deg":75.4877952,"latitude_deg":11.7481792,"altitude":11,"angle":52,"satellites":39,"speed":9,"hex_longitude":"2cfe8600","hex_latitude":"0700a140","is_valid_coordinates":true} 
[2026-09-04 01:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847423744001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429064954019840,"note":"Value kept but may cause issues"} 
[2026-09-04 01:46:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-106608617353867264,"note":"Value kept but may cause issues"} 
[2026-09-04 01:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466500000,"timestamp_ms":1788466500000,"timestamp_seconds":1788466500,"priority":1,"record_length":96,"hex_timestamp":"000001a068e911a0"} 
[2026-09-04 01:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-04 01:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847423744001,"66":27800,"33":206,"28":32256,"24":9,"16":397429064954019840,"44":-106608617353867264},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847423744001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:46:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:46:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429064954019840,"km_value":397429064954019.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:46:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-106608617353867264,"description":"Unknown IO ID 44"} 
[2026-09-04 01:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847423744001,"power":27800,"unknown_33":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_44":-106608617353867264}} 
[2026-09-04 01:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":171702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:46:07] local.INFO: GPS data processed {"connection_id":171702,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:46:07] local.INFO: Acknowledgment sent {"connection_id":171702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:46:38] local.INFO: TCP Data received {"connection_id":171702,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e92140012cfe88800700a420000b002928..."} 
[2026-09-04 01:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e92140012cfe88800700a420000b002928..."} 
[2026-09-04 01:46:38] local.INFO: Processing buffer {"connection_id":171702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e92140012cfe88800700a420000b002928..."} 
[2026-09-04 01:46:38] local.INFO: Packet analysis {"connection_id":171702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:46:38] local.INFO: Extracted packet for processing {"connection_id":171702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:46:38] local.INFO: GPS Element Parsed {"raw_longitude":754878592,"raw_latitude":117482528,"longitude_deg":75.4878592,"latitude_deg":11.7482528,"altitude":11,"angle":41,"satellites":40,"speed":11,"hex_longitude":"2cfe8880","hex_latitude":"0700a420","is_valid_coordinates":true} 
[2026-09-04 01:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847424000001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429116493627392,"note":"Value kept but may cause issues"} 
[2026-09-04 01:46:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-106397511121289216,"note":"Value kept but may cause issues"} 
[2026-09-04 01:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788466504000,"timestamp_ms":1788466504000,"timestamp_seconds":1788466504,"priority":1,"record_length":96,"hex_timestamp":"000001a068e92140"} 
[2026-09-04 01:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 01:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847424000001,"66":27908,"33":206,"28":32256,"24":11,"16":397429116493627392,"44":-106397511121289216},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847424000001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:46:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:46:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429116493627392,"km_value":397429116493627.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:46:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-106397511121289216,"description":"Unknown IO ID 44"} 
[2026-09-04 01:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847424000001,"power":27908,"unknown_33":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_44":-106397511121289216}} 
[2026-09-04 01:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":171702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:46:38] local.INFO: GPS data processed {"connection_id":171702,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:46:38] local.INFO: Acknowledgment sent {"connection_id":171702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:47:00] local.INFO: TCP Data received {"connection_id":170614,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:47:00] local.INFO: Processing buffer {"connection_id":170614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:47:00] local.INFO: IMEI packet received {"connection_id":170614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":170614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:47:05] local.INFO: TCP Data received {"connection_id":170614,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:47:05] local.INFO: Processing buffer {"connection_id":170614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:47:05] local.INFO: IMEI packet received {"connection_id":170614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":170614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:47:07] local.INFO: TCP Data received {"connection_id":170614,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:47:07] local.INFO: Processing buffer {"connection_id":170614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:47:07] local.INFO: Packet analysis {"connection_id":170614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:47:07] local.INFO: Extracted packet for processing {"connection_id":170614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:47:07] local.INFO: GPS Element Parsed {"raw_longitude":754879168,"raw_latitude":117483032,"longitude_deg":75.4879168,"latitude_deg":11.7483032,"altitude":13,"angle":47,"satellites":40,"speed":12,"hex_longitude":"2cfe8ac0","hex_latitude":"0700a618","is_valid_coordinates":true} 
[2026-09-04 01:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425024001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:47:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105693823679324160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466506000,"timestamp_ms":1788466506000,"timestamp_seconds":1788466506,"priority":1,"record_length":96,"hex_timestamp":"000001a068e92910"} 
[2026-09-04 01:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 01:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425024001,"66":27876,"33":206,"28":32256,"24":12,"16":397429150853365760,"44":-105693823679324160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425024001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:47:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:47:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:47:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105693823679324160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425024001,"power":27876,"unknown_33":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_44":-105693823679324160}} 
[2026-09-04 01:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":170614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:47:07] local.INFO: GPS data processed {"connection_id":170614,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:47:07] local.INFO: Acknowledgment sent {"connection_id":170614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:47:42] local.INFO: TCP Data received {"connection_id":170614,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:47:42] local.INFO: Processing buffer {"connection_id":170614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:47:42] local.INFO: Packet analysis {"connection_id":170614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:47:42] local.INFO: Extracted packet for processing {"connection_id":170614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:47:42] local.INFO: GPS Element Parsed {"raw_longitude":754879168,"raw_latitude":117483032,"longitude_deg":75.4879168,"latitude_deg":11.7483032,"altitude":13,"angle":47,"satellites":40,"speed":12,"hex_longitude":"2cfe8ac0","hex_latitude":"0700a618","is_valid_coordinates":true} 
[2026-09-04 01:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425024001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105693823679324160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788466506000,"timestamp_ms":1788466506000,"timestamp_seconds":1788466506,"priority":1,"record_length":96,"hex_timestamp":"000001a068e92910"} 
[2026-09-04 01:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 01:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425024001,"66":27876,"33":206,"28":32256,"24":12,"16":397429150853365760,"44":-105693823679324160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425024001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:47:42] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:47:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105693823679324160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425024001,"power":27876,"unknown_33":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_44":-105693823679324160}} 
[2026-09-04 01:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":170614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:47:42] local.INFO: GPS data processed {"connection_id":170614,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:47:42] local.INFO: Acknowledgment sent {"connection_id":170614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:48:00] local.INFO: TCP Data received {"connection_id":173017,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:48:00] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:48:00] local.INFO: IMEI packet received {"connection_id":173017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":173017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:48:06] local.INFO: TCP Data received {"connection_id":173017,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:48:06] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:48:06] local.INFO: IMEI packet received {"connection_id":173017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":173017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:48:07] local.INFO: TCP Data received {"connection_id":173017,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:48:07] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:48:07] local.INFO: Packet analysis {"connection_id":173017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:48:07] local.INFO: Extracted packet for processing {"connection_id":173017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:48:07] local.INFO: GPS Element Parsed {"raw_longitude":754879168,"raw_latitude":117483032,"longitude_deg":75.4879168,"latitude_deg":11.7483032,"altitude":13,"angle":47,"satellites":40,"speed":12,"hex_longitude":"2cfe8ac0","hex_latitude":"0700a618","is_valid_coordinates":true} 
[2026-09-04 01:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425024001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:48:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105693823679324160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466506000,"timestamp_ms":1788466506000,"timestamp_seconds":1788466506,"priority":1,"record_length":96,"hex_timestamp":"000001a068e92910"} 
[2026-09-04 01:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 01:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425024001,"66":27876,"33":206,"28":32256,"24":12,"16":397429150853365760,"44":-105693823679324160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425024001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:48:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:48:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:48:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105693823679324160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425024001,"power":27876,"unknown_33":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_44":-105693823679324160}} 
[2026-09-04 01:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":173017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:48:07] local.INFO: GPS data processed {"connection_id":173017,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:48:07] local.INFO: Acknowledgment sent {"connection_id":173017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:48:39] local.INFO: TCP Data received {"connection_id":173017,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:48:39] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:48:39] local.INFO: Packet analysis {"connection_id":173017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:48:39] local.INFO: Extracted packet for processing {"connection_id":173017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:48:39] local.INFO: GPS Element Parsed {"raw_longitude":754879168,"raw_latitude":117483032,"longitude_deg":75.4879168,"latitude_deg":11.7483032,"altitude":13,"angle":47,"satellites":40,"speed":12,"hex_longitude":"2cfe8ac0","hex_latitude":"0700a618","is_valid_coordinates":true} 
[2026-09-04 01:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425024001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:48:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105693823679324160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788466506000,"timestamp_ms":1788466506000,"timestamp_seconds":1788466506,"priority":1,"record_length":96,"hex_timestamp":"000001a068e92910"} 
[2026-09-04 01:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 01:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425024001,"66":27876,"33":206,"28":32256,"24":12,"16":397429150853365760,"44":-105693823679324160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425024001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:48:39] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:48:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:48:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105693823679324160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425024001,"power":27876,"unknown_33":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_44":-105693823679324160}} 
[2026-09-04 01:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":173017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:48:39] local.INFO: GPS data processed {"connection_id":173017,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:48:39] local.INFO: Acknowledgment sent {"connection_id":173017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:49:00] local.INFO: TCP Data received {"connection_id":170307,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:49:00] local.INFO: Processing buffer {"connection_id":170307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:49:00] local.INFO: IMEI packet received {"connection_id":170307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":170307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:49:05] local.INFO: TCP Data received {"connection_id":170307,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:49:05] local.INFO: Processing buffer {"connection_id":170307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:49:05] local.INFO: IMEI packet received {"connection_id":170307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":170307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:49:07] local.INFO: TCP Data received {"connection_id":170307,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:49:07] local.INFO: Processing buffer {"connection_id":170307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:49:07] local.INFO: Packet analysis {"connection_id":170307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:49:07] local.INFO: Extracted packet for processing {"connection_id":170307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:49:07] local.INFO: GPS Element Parsed {"raw_longitude":754879168,"raw_latitude":117483032,"longitude_deg":75.4879168,"latitude_deg":11.7483032,"altitude":13,"angle":47,"satellites":40,"speed":12,"hex_longitude":"2cfe8ac0","hex_latitude":"0700a618","is_valid_coordinates":true} 
[2026-09-04 01:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425024001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:49:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105693823679324160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466506000,"timestamp_ms":1788466506000,"timestamp_seconds":1788466506,"priority":1,"record_length":96,"hex_timestamp":"000001a068e92910"} 
[2026-09-04 01:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 01:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425024001,"66":27876,"33":206,"28":32256,"24":12,"16":397429150853365760,"44":-105693823679324160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425024001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:49:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:49:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105693823679324160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425024001,"power":27876,"unknown_33":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_44":-105693823679324160}} 
[2026-09-04 01:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":170307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:49:07] local.INFO: GPS data processed {"connection_id":170307,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:49:07] local.INFO: Acknowledgment sent {"connection_id":170307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:49:38] local.INFO: TCP Data received {"connection_id":170307,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:49:38] local.INFO: Processing buffer {"connection_id":170307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:49:38] local.INFO: Packet analysis {"connection_id":170307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:49:38] local.INFO: Extracted packet for processing {"connection_id":170307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:49:38] local.INFO: GPS Element Parsed {"raw_longitude":754879168,"raw_latitude":117483032,"longitude_deg":75.4879168,"latitude_deg":11.7483032,"altitude":13,"angle":47,"satellites":40,"speed":12,"hex_longitude":"2cfe8ac0","hex_latitude":"0700a618","is_valid_coordinates":true} 
[2026-09-04 01:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425024001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:49:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105693823679324160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788466506000,"timestamp_ms":1788466506000,"timestamp_seconds":1788466506,"priority":1,"record_length":96,"hex_timestamp":"000001a068e92910"} 
[2026-09-04 01:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 01:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425024001,"66":27876,"33":206,"28":32256,"24":12,"16":397429150853365760,"44":-105693823679324160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425024001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:49:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:49:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105693823679324160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425024001,"power":27876,"unknown_33":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_44":-105693823679324160}} 
[2026-09-04 01:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":170307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:49:38] local.INFO: GPS data processed {"connection_id":170307,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:49:38] local.INFO: Acknowledgment sent {"connection_id":170307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:50:00] local.INFO: TCP Data received {"connection_id":170615,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:50:00] local.INFO: Processing buffer {"connection_id":170615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:50:00] local.INFO: IMEI packet received {"connection_id":170615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":170615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:50:05] local.INFO: TCP Data received {"connection_id":170615,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:50:05] local.INFO: Processing buffer {"connection_id":170615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:50:05] local.INFO: IMEI packet received {"connection_id":170615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":170615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:50:07] local.INFO: TCP Data received {"connection_id":170615,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:50:07] local.INFO: Processing buffer {"connection_id":170615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:50:07] local.INFO: Packet analysis {"connection_id":170615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:50:07] local.INFO: Extracted packet for processing {"connection_id":170615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:50:07] local.INFO: GPS Element Parsed {"raw_longitude":754879168,"raw_latitude":117483032,"longitude_deg":75.4879168,"latitude_deg":11.7483032,"altitude":13,"angle":47,"satellites":40,"speed":12,"hex_longitude":"2cfe8ac0","hex_latitude":"0700a618","is_valid_coordinates":true} 
[2026-09-04 01:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425024001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:50:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105693823679324160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466506000,"timestamp_ms":1788466506000,"timestamp_seconds":1788466506,"priority":1,"record_length":96,"hex_timestamp":"000001a068e92910"} 
[2026-09-04 01:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 01:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425024001,"66":27876,"33":206,"28":32256,"24":12,"16":397429150853365760,"44":-105693823679324160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425024001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:50:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:50:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:50:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105693823679324160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425024001,"power":27876,"unknown_33":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_44":-105693823679324160}} 
[2026-09-04 01:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":170615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:50:07] local.INFO: GPS data processed {"connection_id":170615,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:50:07] local.INFO: Acknowledgment sent {"connection_id":170615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:50:38] local.INFO: TCP Data received {"connection_id":170615,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:50:38] local.INFO: Processing buffer {"connection_id":170615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068e92910012cfe8ac00700a618000d002f28..."} 
[2026-09-04 01:50:38] local.INFO: Packet analysis {"connection_id":170615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:50:38] local.INFO: Extracted packet for processing {"connection_id":170615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068e9"} 
[2026-09-04 01:50:38] local.INFO: GPS Element Parsed {"raw_longitude":754879168,"raw_latitude":117483032,"longitude_deg":75.4879168,"latitude_deg":11.7483032,"altitude":13,"angle":47,"satellites":40,"speed":12,"hex_longitude":"2cfe8ac0","hex_latitude":"0700a618","is_valid_coordinates":true} 
[2026-09-04 01:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425024001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:50:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105693823679324160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788466506000,"timestamp_ms":1788466506000,"timestamp_seconds":1788466506,"priority":1,"record_length":96,"hex_timestamp":"000001a068e92910"} 
[2026-09-04 01:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 01:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425024001,"66":27876,"33":206,"28":32256,"24":12,"16":397429150853365760,"44":-105693823679324160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425024001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:50:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:50:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:50:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105693823679324160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425024001,"power":27876,"unknown_33":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_44":-105693823679324160}} 
[2026-09-04 01:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":170615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:50:38] local.INFO: GPS data processed {"connection_id":170615,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:50:38] local.INFO: Acknowledgment sent {"connection_id":170615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:51:00] local.INFO: TCP Data received {"connection_id":170309,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:51:00] local.INFO: Processing buffer {"connection_id":170309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:51:00] local.INFO: IMEI packet received {"connection_id":170309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":170309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:51:04] local.INFO: TCP Data received {"connection_id":170308,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:51:04] local.INFO: Processing buffer {"connection_id":170308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:51:04] local.INFO: IMEI packet received {"connection_id":170308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":170308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:51:05] local.INFO: TCP Data received {"connection_id":170309,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:51:05] local.INFO: Processing buffer {"connection_id":170309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:51:05] local.INFO: IMEI packet received {"connection_id":170309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":170309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:51:07] local.INFO: TCP Data received {"connection_id":170309,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:51:07] local.INFO: Processing buffer {"connection_id":170309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:51:07] local.INFO: Packet analysis {"connection_id":170309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:51:07] local.INFO: Extracted packet for processing {"connection_id":170309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:51:07] local.INFO: GPS Element Parsed {"raw_longitude":754882048,"raw_latitude":117486096,"longitude_deg":75.4882048,"latitude_deg":11.7486096,"altitude":33,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2cfe9600","hex_latitude":"0700b210","is_valid_coordinates":true} 
[2026-09-04 01:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425536001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:51:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105060504981596160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466809000,"timestamp_ms":1788466809000,"timestamp_seconds":1788466809,"priority":1,"record_length":96,"hex_timestamp":"000001a068edc8a8"} 
[2026-09-04 01:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 01:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 01:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425536001,"66":25832,"33":206,"28":32256,"24":0,"16":397429150853365760,"44":-105060504981596160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425536001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:51:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:51:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:51:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105060504981596160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425536001,"power":25832,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-105060504981596160}} 
[2026-09-04 01:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":170309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:51:07] local.INFO: GPS data processed {"connection_id":170309,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:51:07] local.INFO: Acknowledgment sent {"connection_id":170309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:51:38] local.INFO: TCP Data received {"connection_id":170309,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:51:38] local.INFO: Processing buffer {"connection_id":170309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:51:38] local.INFO: Packet analysis {"connection_id":170309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:51:38] local.INFO: Extracted packet for processing {"connection_id":170309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:51:38] local.INFO: GPS Element Parsed {"raw_longitude":754882048,"raw_latitude":117486096,"longitude_deg":75.4882048,"latitude_deg":11.7486096,"altitude":33,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2cfe9600","hex_latitude":"0700b210","is_valid_coordinates":true} 
[2026-09-04 01:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425536001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:51:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105060504981596160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788466809000,"timestamp_ms":1788466809000,"timestamp_seconds":1788466809,"priority":1,"record_length":96,"hex_timestamp":"000001a068edc8a8"} 
[2026-09-04 01:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 01:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 01:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425536001,"66":25832,"33":206,"28":32256,"24":0,"16":397429150853365760,"44":-105060504981596160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425536001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:51:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:51:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105060504981596160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425536001,"power":25832,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-105060504981596160}} 
[2026-09-04 01:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":170309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:51:38] local.INFO: GPS data processed {"connection_id":170309,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:51:38] local.INFO: Acknowledgment sent {"connection_id":170309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:51:39] local.INFO: TCP Data received {"connection_id":170310,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:51:39] local.INFO: Processing buffer {"connection_id":170310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:51:39] local.INFO: IMEI packet received {"connection_id":170310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":170310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:51:44] local.INFO: TCP Data received {"connection_id":170310,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:51:44] local.INFO: Processing buffer {"connection_id":170310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:51:44] local.INFO: IMEI packet received {"connection_id":170310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 01:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":170310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:51:45] local.INFO: TCP Data received {"connection_id":170310,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a068b82248012d34c54006aa47880010005c26..."} 
[2026-09-04 01:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068b82248012d34c54006aa47880010005c26..."} 
[2026-09-04 01:51:45] local.INFO: Processing buffer {"connection_id":170310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068b82248012d34c54006aa47880010005c26..."} 
[2026-09-04 01:51:45] local.INFO: Packet analysis {"connection_id":170310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 01:51:45] local.INFO: Extracted packet for processing {"connection_id":170310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068b8"} 
[2026-09-04 01:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822728,"longitude_deg":75.8433088,"latitude_deg":11.1822728,"altitude":16,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4788","is_valid_coordinates":true} 
[2026-09-04 01:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457846525952001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":460948775108608,"note":"Value kept but may cause issues"} 
[2026-09-04 01:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755047936,"note":"Value kept but may cause issues"} 
[2026-09-04 01:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788463293000,"timestamp_ms":1788463293000,"timestamp_seconds":1788463293,"priority":1,"record_length":96,"hex_timestamp":"000001a068b82248"} 
[2026-09-04 01:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 01:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 01:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":170310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":170310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 01:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":170310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 01:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 01:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 01:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457846525952001,"66":25473,"97":206,"81":23296,"24":0,"16":460948775108608,"45":3802515857755047936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 01:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 01:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 01:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457846525952001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:51:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 01:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 01:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":460948775108608,"km_value":460948775108.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755047936,"description":"Unknown IO ID 45"} 
[2026-09-04 01:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457846525952001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857755047936}} 
[2026-09-04 01:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":170310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760400,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:51:45] local.INFO: GPS data processed {"connection_id":170310,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:51:45] local.INFO: Acknowledgment sent {"connection_id":170310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:52:00] local.INFO: TCP Data received {"connection_id":173019,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:52:00] local.INFO: Processing buffer {"connection_id":173019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:52:00] local.INFO: IMEI packet received {"connection_id":173019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":173019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:52:05] local.INFO: TCP Data received {"connection_id":173019,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:52:05] local.INFO: Processing buffer {"connection_id":173019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:52:05] local.INFO: IMEI packet received {"connection_id":173019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":173019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:52:07] local.INFO: TCP Data received {"connection_id":173019,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:52:07] local.INFO: Processing buffer {"connection_id":173019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:52:07] local.INFO: Packet analysis {"connection_id":173019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:52:07] local.INFO: Extracted packet for processing {"connection_id":173019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:52:07] local.INFO: GPS Element Parsed {"raw_longitude":754882048,"raw_latitude":117486096,"longitude_deg":75.4882048,"latitude_deg":11.7486096,"altitude":33,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2cfe9600","hex_latitude":"0700b210","is_valid_coordinates":true} 
[2026-09-04 01:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425536001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:52:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105060504981596160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466809000,"timestamp_ms":1788466809000,"timestamp_seconds":1788466809,"priority":1,"record_length":96,"hex_timestamp":"000001a068edc8a8"} 
[2026-09-04 01:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 01:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 01:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425536001,"66":25832,"33":206,"28":32256,"24":0,"16":397429150853365760,"44":-105060504981596160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425536001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:52:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:52:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:52:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105060504981596160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425536001,"power":25832,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-105060504981596160}} 
[2026-09-04 01:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":173019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:52:07] local.INFO: GPS data processed {"connection_id":173019,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:52:07] local.INFO: Acknowledgment sent {"connection_id":173019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:52:29] local.INFO: TCP Data received {"connection_id":170311,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:52:29] local.INFO: Processing buffer {"connection_id":170311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:52:29] local.INFO: IMEI packet received {"connection_id":170311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":170311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:52:38] local.INFO: TCP Data received {"connection_id":173019,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:52:38] local.INFO: Processing buffer {"connection_id":173019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:52:38] local.INFO: Packet analysis {"connection_id":173019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:52:38] local.INFO: Extracted packet for processing {"connection_id":173019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:52:38] local.INFO: GPS Element Parsed {"raw_longitude":754882048,"raw_latitude":117486096,"longitude_deg":75.4882048,"latitude_deg":11.7486096,"altitude":33,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2cfe9600","hex_latitude":"0700b210","is_valid_coordinates":true} 
[2026-09-04 01:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425536001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:52:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105060504981596160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788466809000,"timestamp_ms":1788466809000,"timestamp_seconds":1788466809,"priority":1,"record_length":96,"hex_timestamp":"000001a068edc8a8"} 
[2026-09-04 01:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 01:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 01:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425536001,"66":25832,"33":206,"28":32256,"24":0,"16":397429150853365760,"44":-105060504981596160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425536001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:52:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:52:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105060504981596160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425536001,"power":25832,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-105060504981596160}} 
[2026-09-04 01:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":173019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:52:38] local.INFO: GPS data processed {"connection_id":173019,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:52:38] local.INFO: Acknowledgment sent {"connection_id":173019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:52:40] local.INFO: TCP Data received {"connection_id":171704,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:52:40] local.INFO: Processing buffer {"connection_id":171704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:52:40] local.INFO: IMEI packet received {"connection_id":171704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":171704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:53:00] local.INFO: TCP Data received {"connection_id":170616,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:53:00] local.INFO: Processing buffer {"connection_id":170616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:53:00] local.INFO: IMEI packet received {"connection_id":170616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":170616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:53:05] local.INFO: TCP Data received {"connection_id":170616,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:53:05] local.INFO: Processing buffer {"connection_id":170616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:53:05] local.INFO: IMEI packet received {"connection_id":170616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":170616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:53:07] local.INFO: TCP Data received {"connection_id":170616,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:53:07] local.INFO: Processing buffer {"connection_id":170616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:53:07] local.INFO: Packet analysis {"connection_id":170616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:53:07] local.INFO: Extracted packet for processing {"connection_id":170616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:53:07] local.INFO: GPS Element Parsed {"raw_longitude":754882048,"raw_latitude":117486096,"longitude_deg":75.4882048,"latitude_deg":11.7486096,"altitude":33,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2cfe9600","hex_latitude":"0700b210","is_valid_coordinates":true} 
[2026-09-04 01:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425536001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:53:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105060504981596160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466809000,"timestamp_ms":1788466809000,"timestamp_seconds":1788466809,"priority":1,"record_length":96,"hex_timestamp":"000001a068edc8a8"} 
[2026-09-04 01:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 01:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 01:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425536001,"66":25832,"33":206,"28":32256,"24":0,"16":397429150853365760,"44":-105060504981596160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425536001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:53:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:53:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105060504981596160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425536001,"power":25832,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-105060504981596160}} 
[2026-09-04 01:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":170616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:53:07] local.INFO: GPS data processed {"connection_id":170616,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:53:07] local.INFO: Acknowledgment sent {"connection_id":170616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:53:38] local.INFO: TCP Data received {"connection_id":170616,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:53:38] local.INFO: Processing buffer {"connection_id":170616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:53:38] local.INFO: Packet analysis {"connection_id":170616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:53:38] local.INFO: Extracted packet for processing {"connection_id":170616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:53:38] local.INFO: GPS Element Parsed {"raw_longitude":754882048,"raw_latitude":117486096,"longitude_deg":75.4882048,"latitude_deg":11.7486096,"altitude":33,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2cfe9600","hex_latitude":"0700b210","is_valid_coordinates":true} 
[2026-09-04 01:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425536001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:53:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105060504981596160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788466809000,"timestamp_ms":1788466809000,"timestamp_seconds":1788466809,"priority":1,"record_length":96,"hex_timestamp":"000001a068edc8a8"} 
[2026-09-04 01:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 01:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 01:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425536001,"66":25832,"33":206,"28":32256,"24":0,"16":397429150853365760,"44":-105060504981596160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425536001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:53:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:53:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105060504981596160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425536001,"power":25832,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-105060504981596160}} 
[2026-09-04 01:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":170616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:53:38] local.INFO: GPS data processed {"connection_id":170616,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:53:38] local.INFO: Acknowledgment sent {"connection_id":170616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:54:00] local.INFO: TCP Data received {"connection_id":173020,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:54:00] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:54:00] local.INFO: IMEI packet received {"connection_id":173020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":173020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:54:06] local.INFO: TCP Data received {"connection_id":173020,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:54:06] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:54:06] local.INFO: IMEI packet received {"connection_id":173020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":173020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:54:07] local.INFO: TCP Data received {"connection_id":173020,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:54:07] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:54:07] local.INFO: Packet analysis {"connection_id":173020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:54:07] local.INFO: Extracted packet for processing {"connection_id":173020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:54:07] local.INFO: GPS Element Parsed {"raw_longitude":754882048,"raw_latitude":117486096,"longitude_deg":75.4882048,"latitude_deg":11.7486096,"altitude":33,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2cfe9600","hex_latitude":"0700b210","is_valid_coordinates":true} 
[2026-09-04 01:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425536001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:54:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105060504981596160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466809000,"timestamp_ms":1788466809000,"timestamp_seconds":1788466809,"priority":1,"record_length":96,"hex_timestamp":"000001a068edc8a8"} 
[2026-09-04 01:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 01:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 01:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425536001,"66":25832,"33":206,"28":32256,"24":0,"16":397429150853365760,"44":-105060504981596160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425536001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:54:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:54:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:54:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105060504981596160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425536001,"power":25832,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-105060504981596160}} 
[2026-09-04 01:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":173020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:54:07] local.INFO: GPS data processed {"connection_id":173020,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:54:07] local.INFO: Acknowledgment sent {"connection_id":173020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:54:39] local.INFO: TCP Data received {"connection_id":173020,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:54:39] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:54:39] local.INFO: Packet analysis {"connection_id":173020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:54:39] local.INFO: Extracted packet for processing {"connection_id":173020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:54:39] local.INFO: GPS Element Parsed {"raw_longitude":754882048,"raw_latitude":117486096,"longitude_deg":75.4882048,"latitude_deg":11.7486096,"altitude":33,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2cfe9600","hex_latitude":"0700b210","is_valid_coordinates":true} 
[2026-09-04 01:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425536001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:54:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105060504981596160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788466809000,"timestamp_ms":1788466809000,"timestamp_seconds":1788466809,"priority":1,"record_length":96,"hex_timestamp":"000001a068edc8a8"} 
[2026-09-04 01:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 01:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 01:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425536001,"66":25832,"33":206,"28":32256,"24":0,"16":397429150853365760,"44":-105060504981596160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425536001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:54:39] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:54:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:54:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105060504981596160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425536001,"power":25832,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-105060504981596160}} 
[2026-09-04 01:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":173020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:54:39] local.INFO: GPS data processed {"connection_id":173020,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:54:39] local.INFO: Acknowledgment sent {"connection_id":173020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:55:00] local.INFO: TCP Data received {"connection_id":173021,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:55:00] local.INFO: Processing buffer {"connection_id":173021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:55:00] local.INFO: IMEI packet received {"connection_id":173021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":173021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:55:06] local.INFO: TCP Data received {"connection_id":173021,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:55:06] local.INFO: Processing buffer {"connection_id":173021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:55:06] local.INFO: IMEI packet received {"connection_id":173021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":173021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:55:07] local.INFO: TCP Data received {"connection_id":173021,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:55:07] local.INFO: Processing buffer {"connection_id":173021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:55:07] local.INFO: Packet analysis {"connection_id":173021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:55:07] local.INFO: Extracted packet for processing {"connection_id":173021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:55:07] local.INFO: GPS Element Parsed {"raw_longitude":754882048,"raw_latitude":117486096,"longitude_deg":75.4882048,"latitude_deg":11.7486096,"altitude":33,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2cfe9600","hex_latitude":"0700b210","is_valid_coordinates":true} 
[2026-09-04 01:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425536001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:55:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105060504981596160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788466809000,"timestamp_ms":1788466809000,"timestamp_seconds":1788466809,"priority":1,"record_length":96,"hex_timestamp":"000001a068edc8a8"} 
[2026-09-04 01:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 01:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 01:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425536001,"66":25832,"33":206,"28":32256,"24":0,"16":397429150853365760,"44":-105060504981596160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425536001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:55:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:55:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105060504981596160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425536001,"power":25832,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-105060504981596160}} 
[2026-09-04 01:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":173021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:55:07] local.INFO: GPS data processed {"connection_id":173021,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:55:07] local.INFO: Acknowledgment sent {"connection_id":173021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:55:39] local.INFO: TCP Data received {"connection_id":173021,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:55:39] local.INFO: Processing buffer {"connection_id":173021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068edc8a8012cfe96000700b2100021002e29..."} 
[2026-09-04 01:55:39] local.INFO: Packet analysis {"connection_id":173021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:55:39] local.INFO: Extracted packet for processing {"connection_id":173021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068ed"} 
[2026-09-04 01:55:39] local.INFO: GPS Element Parsed {"raw_longitude":754882048,"raw_latitude":117486096,"longitude_deg":75.4882048,"latitude_deg":11.7486096,"altitude":33,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2cfe9600","hex_latitude":"0700b210","is_valid_coordinates":true} 
[2026-09-04 01:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847425536001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:55:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105060504981596160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788466809000,"timestamp_ms":1788466809000,"timestamp_seconds":1788466809,"priority":1,"record_length":96,"hex_timestamp":"000001a068edc8a8"} 
[2026-09-04 01:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 01:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 01:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847425536001,"66":25832,"33":206,"28":32256,"24":0,"16":397429150853365760,"44":-105060504981596160},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847425536001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:55:39] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:55:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:55:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105060504981596160,"description":"Unknown IO ID 44"} 
[2026-09-04 01:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847425536001,"power":25832,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-105060504981596160}} 
[2026-09-04 01:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":173021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:55:39] local.INFO: GPS data processed {"connection_id":173021,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:55:39] local.INFO: Acknowledgment sent {"connection_id":173021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:56:06] local.INFO: TCP Data received {"connection_id":171707,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:56:06] local.INFO: Processing buffer {"connection_id":171707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:56:06] local.INFO: IMEI packet received {"connection_id":171707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":171707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:56:11] local.INFO: TCP Data received {"connection_id":171707,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:56:11] local.INFO: Processing buffer {"connection_id":171707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:56:11] local.INFO: IMEI packet received {"connection_id":171707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":171707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:56:12] local.INFO: TCP Data received {"connection_id":171707,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068f26070012cfe96000700b2100021002e2b..."} 
[2026-09-04 01:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068f26070012cfe96000700b2100021002e2b..."} 
[2026-09-04 01:56:12] local.INFO: Processing buffer {"connection_id":171707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068f26070012cfe96000700b2100021002e2b..."} 
[2026-09-04 01:56:12] local.INFO: Packet analysis {"connection_id":171707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068f2"} 
[2026-09-04 01:56:12] local.INFO: Extracted packet for processing {"connection_id":171707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068f2"} 
[2026-09-04 01:56:12] local.INFO: GPS Element Parsed {"raw_longitude":754882048,"raw_latitude":117486096,"longitude_deg":75.4882048,"latitude_deg":11.7486096,"altitude":33,"angle":46,"satellites":43,"speed":0,"hex_longitude":"2cfe9600","hex_latitude":"0700b210","is_valid_coordinates":true} 
[2026-09-04 01:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847503104001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-101893911492816896,"note":"Value kept but may cause issues"} 
[2026-09-04 01:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788467110000,"timestamp_ms":1788467110000,"timestamp_seconds":1788467110,"priority":1,"record_length":96,"hex_timestamp":"000001a068f26070"} 
[2026-09-04 01:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 01:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 01:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847503104001,"66":25582,"33":206,"28":32256,"24":0,"16":397429150853365760,"44":-101893911492816896},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847503104001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:56:12] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:56:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-101893911492816896,"description":"Unknown IO ID 44"} 
[2026-09-04 01:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847503104001,"power":25582,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-101893911492816896}} 
[2026-09-04 01:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":171707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:56:12] local.INFO: GPS data processed {"connection_id":171707,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:56:12] local.INFO: Acknowledgment sent {"connection_id":171707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:56:17] local.INFO: TCP Data received {"connection_id":171707,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068f26070012cfe96000700b2100021002e2b..."} 
[2026-09-04 01:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068f26070012cfe96000700b2100021002e2b..."} 
[2026-09-04 01:56:17] local.INFO: Processing buffer {"connection_id":171707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068f26070012cfe96000700b2100021002e2b..."} 
[2026-09-04 01:56:17] local.INFO: Packet analysis {"connection_id":171707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068f2"} 
[2026-09-04 01:56:17] local.INFO: Extracted packet for processing {"connection_id":171707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068f2"} 
[2026-09-04 01:56:17] local.INFO: GPS Element Parsed {"raw_longitude":754882048,"raw_latitude":117486096,"longitude_deg":75.4882048,"latitude_deg":11.7486096,"altitude":33,"angle":46,"satellites":43,"speed":0,"hex_longitude":"2cfe9600","hex_latitude":"0700b210","is_valid_coordinates":true} 
[2026-09-04 01:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847503104001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:56:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-101893911492816896,"note":"Value kept but may cause issues"} 
[2026-09-04 01:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788467110000,"timestamp_ms":1788467110000,"timestamp_seconds":1788467110,"priority":1,"record_length":96,"hex_timestamp":"000001a068f26070"} 
[2026-09-04 01:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 01:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 01:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847503104001,"66":25582,"33":206,"28":32256,"24":0,"16":397429150853365760,"44":-101893911492816896},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847503104001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:56:17] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:56:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:56:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-101893911492816896,"description":"Unknown IO ID 44"} 
[2026-09-04 01:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847503104001,"power":25582,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-101893911492816896}} 
[2026-09-04 01:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":171707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:56:17] local.INFO: GPS data processed {"connection_id":171707,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:56:17] local.INFO: Acknowledgment sent {"connection_id":171707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:57:00] local.INFO: TCP Data received {"connection_id":170619,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:57:00] local.INFO: Processing buffer {"connection_id":170619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:57:00] local.INFO: IMEI packet received {"connection_id":170619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":170619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:57:03] local.INFO: TCP Data received {"connection_id":170619,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:57:03] local.INFO: Processing buffer {"connection_id":170619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:57:03] local.INFO: IMEI packet received {"connection_id":170619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":170619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:57:04] local.INFO: TCP Data received {"connection_id":170619,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:57:04] local.INFO: Processing buffer {"connection_id":170619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:57:04] local.INFO: IMEI packet received {"connection_id":170619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":170619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:57:05] local.INFO: TCP Data received {"connection_id":170619,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:57:05] local.INFO: Processing buffer {"connection_id":170619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:57:05] local.INFO: IMEI packet received {"connection_id":170619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":170619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:57:07] local.INFO: TCP Data received {"connection_id":170619,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068f2cdd0012cfe96000700b2100021002e2b..."} 
[2026-09-04 01:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068f2cdd0012cfe96000700b2100021002e2b..."} 
[2026-09-04 01:57:07] local.INFO: Processing buffer {"connection_id":170619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068f2cdd0012cfe96000700b2100021002e2b..."} 
[2026-09-04 01:57:07] local.INFO: Packet analysis {"connection_id":170619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068f2"} 
[2026-09-04 01:57:07] local.INFO: Extracted packet for processing {"connection_id":170619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068f2"} 
[2026-09-04 01:57:07] local.INFO: GPS Element Parsed {"raw_longitude":754882048,"raw_latitude":117486096,"longitude_deg":75.4882048,"latitude_deg":11.7486096,"altitude":33,"angle":46,"satellites":43,"speed":0,"hex_longitude":"2cfe9600","hex_latitude":"0700b210","is_valid_coordinates":true} 
[2026-09-04 01:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847580160001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:57:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-101893911492816896,"note":"Value kept but may cause issues"} 
[2026-09-04 01:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788467138000,"timestamp_ms":1788467138000,"timestamp_seconds":1788467138,"priority":1,"record_length":96,"hex_timestamp":"000001a068f2cdd0"} 
[2026-09-04 01:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 01:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 01:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847580160001,"66":25604,"33":206,"28":32256,"24":0,"16":397429150853365760,"44":-101893911492816896},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847580160001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:57:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:57:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:57:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-101893911492816896,"description":"Unknown IO ID 44"} 
[2026-09-04 01:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847580160001,"power":25604,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-101893911492816896}} 
[2026-09-04 01:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":170619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:57:07] local.INFO: GPS data processed {"connection_id":170619,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:57:07] local.INFO: Acknowledgment sent {"connection_id":170619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:57:11] local.INFO: TCP Data received {"connection_id":170619,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068f33360012cfe99400700b3380021002a2a..."} 
[2026-09-04 01:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068f33360012cfe99400700b3380021002a2a..."} 
[2026-09-04 01:57:11] local.INFO: Processing buffer {"connection_id":170619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068f33360012cfe99400700b3380021002a2a..."} 
[2026-09-04 01:57:11] local.INFO: Packet analysis {"connection_id":170619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068f3"} 
[2026-09-04 01:57:11] local.INFO: Extracted packet for processing {"connection_id":170619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068f3"} 
[2026-09-04 01:57:11] local.INFO: GPS Element Parsed {"raw_longitude":754882880,"raw_latitude":117486392,"longitude_deg":75.488288,"latitude_deg":11.7486392,"altitude":33,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2cfe9940","hex_latitude":"0700b338","is_valid_coordinates":true} 
[2026-09-04 01:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847587328001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429150853365760,"note":"Value kept but may cause issues"} 
[2026-09-04 01:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-101893911492816896,"note":"Value kept but may cause issues"} 
[2026-09-04 01:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788467164000,"timestamp_ms":1788467164000,"timestamp_seconds":1788467164,"priority":1,"record_length":96,"hex_timestamp":"000001a068f33360"} 
[2026-09-04 01:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 01:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847587328001,"66":27071,"33":206,"28":32256,"24":0,"16":397429150853365760,"44":-101893911492816896},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-09-04 01:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847587328001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:57:11] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 01:57:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429150853365760,"km_value":397429150853365.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-101893911492816896,"description":"Unknown IO ID 44"} 
[2026-09-04 01:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847587328001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-101893911492816896}} 
[2026-09-04 01:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":170619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:57:11] local.INFO: GPS data processed {"connection_id":170619,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:57:11] local.INFO: Acknowledgment sent {"connection_id":170619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:57:42] local.INFO: TCP Data received {"connection_id":170619,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068f3eaf8012cfeabc00700ce000019013a2c..."} 
[2026-09-04 01:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068f3eaf8012cfeabc00700ce000019013a2c..."} 
[2026-09-04 01:57:42] local.INFO: Processing buffer {"connection_id":170619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068f3eaf8012cfeabc00700ce000019013a2c..."} 
[2026-09-04 01:57:42] local.INFO: Packet analysis {"connection_id":170619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068f3"} 
[2026-09-04 01:57:42] local.INFO: Extracted packet for processing {"connection_id":170619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068f3"} 
[2026-09-04 01:57:42] local.INFO: GPS Element Parsed {"raw_longitude":754887616,"raw_latitude":117493248,"longitude_deg":75.4887616,"latitude_deg":11.7493248,"altitude":25,"angle":314,"satellites":44,"speed":14,"hex_longitude":"2cfeabc0","hex_latitude":"0700ce00","is_valid_coordinates":true} 
[2026-09-04 01:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847605760001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429606119899136,"note":"Value kept but may cause issues"} 
[2026-09-04 01:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-95490355770886144,"note":"Value kept but may cause issues"} 
[2026-09-04 01:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788467211000,"timestamp_ms":1788467211000,"timestamp_seconds":1788467211,"priority":1,"record_length":96,"hex_timestamp":"000001a068f3eaf8"} 
[2026-09-04 01:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 01:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847605760001,"66":27300,"31":206,"28":32256,"24":14,"16":397429606119899136,"44":-95490355770886144},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,44]} 
[2026-09-04 01:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847605760001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:57:42] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 01:57:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429606119899136,"km_value":397429606119899.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-95490355770886144,"description":"Unknown IO ID 44"} 
[2026-09-04 01:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847605760001,"power":27300,"unknown_31":206,"unknown_28":32256,"ignition":14,"odometer":null,"unknown_44":-95490355770886144}} 
[2026-09-04 01:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":170619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:57:42] local.INFO: GPS data processed {"connection_id":170619,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:57:42] local.INFO: Acknowledgment sent {"connection_id":170619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:58:00] local.INFO: TCP Data received {"connection_id":170621,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:58:00] local.INFO: Processing buffer {"connection_id":170621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:58:00] local.INFO: IMEI packet received {"connection_id":170621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":170621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:58:06] local.INFO: TCP Data received {"connection_id":170621,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:58:06] local.INFO: Processing buffer {"connection_id":170621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:58:06] local.INFO: IMEI packet received {"connection_id":170621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":170621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:58:07] local.INFO: TCP Data received {"connection_id":170621,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068f3eee0012cfeaa800700ced80019012d2b..."} 
[2026-09-04 01:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068f3eee0012cfeaa800700ced80019012d2b..."} 
[2026-09-04 01:58:07] local.INFO: Processing buffer {"connection_id":170621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068f3eee0012cfeaa800700ced80019012d2b..."} 
[2026-09-04 01:58:07] local.INFO: Packet analysis {"connection_id":170621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068f3"} 
[2026-09-04 01:58:07] local.INFO: Extracted packet for processing {"connection_id":170621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068f3"} 
[2026-09-04 01:58:07] local.INFO: GPS Element Parsed {"raw_longitude":754887296,"raw_latitude":117493464,"longitude_deg":75.4887296,"latitude_deg":11.7493464,"altitude":25,"angle":301,"satellites":43,"speed":15,"hex_longitude":"2cfeaa80","hex_latitude":"0700ced8","is_valid_coordinates":true} 
[2026-09-04 01:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847606016001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429623299768320,"note":"Value kept but may cause issues"} 
[2026-09-04 01:58:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-95771830747529216,"note":"Value kept but may cause issues"} 
[2026-09-04 01:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788467212000,"timestamp_ms":1788467212000,"timestamp_seconds":1788467212,"priority":1,"record_length":96,"hex_timestamp":"000001a068f3eee0"} 
[2026-09-04 01:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 01:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847606016001,"66":27310,"31":206,"28":32256,"24":15,"16":397429623299768320,"44":-95771830747529216},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,44]} 
[2026-09-04 01:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847606016001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:58:07] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 01:58:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429623299768320,"km_value":397429623299768.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:58:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-95771830747529216,"description":"Unknown IO ID 44"} 
[2026-09-04 01:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847606016001,"power":27310,"unknown_31":206,"unknown_28":32256,"ignition":15,"odometer":null,"unknown_44":-95771830747529216}} 
[2026-09-04 01:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":170621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:58:07] local.INFO: GPS data processed {"connection_id":170621,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:58:07] local.INFO: Acknowledgment sent {"connection_id":170621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:58:14] local.INFO: TCP Data received {"connection_id":170620,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:58:14] local.INFO: Processing buffer {"connection_id":170620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:58:14] local.INFO: IMEI packet received {"connection_id":170620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":170620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:58:38] local.INFO: TCP Data received {"connection_id":170621,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068f40650012cfea2c00700d4200015013a29..."} 
[2026-09-04 01:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068f40650012cfea2c00700d4200015013a29..."} 
[2026-09-04 01:58:38] local.INFO: Processing buffer {"connection_id":170621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068f40650012cfea2c00700d4200015013a29..."} 
[2026-09-04 01:58:38] local.INFO: Packet analysis {"connection_id":170621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068f4"} 
[2026-09-04 01:58:38] local.INFO: Extracted packet for processing {"connection_id":170621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068f4"} 
[2026-09-04 01:58:38] local.INFO: GPS Element Parsed {"raw_longitude":754885312,"raw_latitude":117494816,"longitude_deg":75.4885312,"latitude_deg":11.7494816,"altitude":21,"angle":314,"satellites":41,"speed":18,"hex_longitude":"2cfea2c0","hex_latitude":"0700d420","is_valid_coordinates":true} 
[2026-09-04 01:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847606272001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397429739263885312,"note":"Value kept but may cause issues"} 
[2026-09-04 01:58:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-96123674468362240,"note":"Value kept but may cause issues"} 
[2026-09-04 01:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788467218000,"timestamp_ms":1788467218000,"timestamp_seconds":1788467218,"priority":1,"record_length":96,"hex_timestamp":"000001a068f40650"} 
[2026-09-04 01:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 01:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847606272001,"66":27397,"31":206,"28":32256,"24":18,"16":397429739263885312,"44":-96123674468362240},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,44]} 
[2026-09-04 01:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847606272001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:58:38] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 01:58:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397429739263885312,"km_value":397429739263885.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:58:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-96123674468362240,"description":"Unknown IO ID 44"} 
[2026-09-04 01:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847606272001,"power":27397,"unknown_31":206,"unknown_28":32256,"ignition":18,"odometer":null,"unknown_44":-96123674468362240}} 
[2026-09-04 01:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":170621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:58:38] local.INFO: GPS data processed {"connection_id":170621,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:58:38] local.INFO: Acknowledgment sent {"connection_id":170621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:58:39] local.INFO: TCP Data received {"connection_id":170622,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:58:39] local.INFO: Processing buffer {"connection_id":170622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 01:58:39] local.INFO: IMEI packet received {"connection_id":170622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 01:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":170622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:59:04] local.INFO: TCP Data received {"connection_id":170312,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:59:04] local.INFO: Processing buffer {"connection_id":170312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:59:04] local.INFO: IMEI packet received {"connection_id":170312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":170312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:59:21] local.INFO: TCP Data received {"connection_id":170312,"ip":"117.224.180.8","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 01:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170312,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 01:59:21] local.INFO: Processing buffer {"connection_id":170312,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 01:59:21] local.INFO: IMEI packet received {"connection_id":170312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":170312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:59:22] local.INFO: TCP Data received {"connection_id":170312,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068f448b8012cfe89000700ec98000f013828..."} 
[2026-09-04 01:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068f448b8012cfe89000700ec98000f013828..."} 
[2026-09-04 01:59:22] local.INFO: Processing buffer {"connection_id":170312,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 01:59:22] local.INFO: IMEI packet received {"connection_id":170312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":170312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:59:23] local.INFO: TCP Data received {"connection_id":170312,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068f492f0012cfe6d80070105500009013727..."} 
[2026-09-04 01:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068f492f0012cfe6d80070105500009013727..."} 
[2026-09-04 01:59:23] local.INFO: Processing buffer {"connection_id":170312,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a068..."} 
[2026-09-04 01:59:23] local.INFO: IMEI packet received {"connection_id":170312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":170312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 01:59:24] local.INFO: TCP Data received {"connection_id":170312,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068f4c1d0012cfe5940070117100009014428..."} 
[2026-09-04 01:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068f4c1d0012cfe5940070117100009014428..."} 
[2026-09-04 01:59:24] local.INFO: Processing buffer {"connection_id":170312,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a068f448b8012cfe89000700ec98000f013828..."} 
[2026-09-04 01:59:24] local.INFO: Packet analysis {"connection_id":170312,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a068f4"} 
[2026-09-04 01:59:24] local.INFO: Extracted packet for processing {"connection_id":170312,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a068f4"} 
[2026-09-04 01:59:24] local.INFO: GPS Element Parsed {"raw_longitude":754878720,"raw_latitude":117501080,"longitude_deg":75.487872,"latitude_deg":11.750108,"altitude":15,"angle":312,"satellites":40,"speed":17,"hex_longitude":"2cfe8900","hex_latitude":"0700ec98","is_valid_coordinates":true} 
[2026-09-04 01:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847607808001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397430177350549504,"note":"Value kept but may cause issues"} 
[2026-09-04 01:59:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-98305105537523712,"note":"Value kept but may cause issues"} 
[2026-09-04 01:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788467235000,"timestamp_ms":1788467235000,"timestamp_seconds":1788467235,"priority":1,"record_length":96,"hex_timestamp":"000001a068f448b8"} 
[2026-09-04 01:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 01:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847607808001,"66":27397,"31":206,"28":32256,"24":17,"16":397430177350549504,"44":-98305105537523712},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,44]} 
[2026-09-04 01:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847607808001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:59:24] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 01:59:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397430177350549504,"km_value":397430177350549.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:59:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-98305105537523712,"description":"Unknown IO ID 44"} 
[2026-09-04 01:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847607808001,"power":27397,"unknown_31":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_44":-98305105537523712}} 
[2026-09-04 01:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":170312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:59:24] local.INFO: GPS data processed {"connection_id":170312,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:59:24] local.INFO: Acknowledgment sent {"connection_id":170312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:59:24] local.INFO: Packet analysis {"connection_id":170312,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a068f4"} 
[2026-09-04 01:59:24] local.INFO: Extracted packet for processing {"connection_id":170312,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068f4"} 
[2026-09-04 01:59:24] local.INFO: GPS Element Parsed {"raw_longitude":754871680,"raw_latitude":117507408,"longitude_deg":75.487168,"latitude_deg":11.7507408,"altitude":9,"angle":311,"satellites":39,"speed":24,"hex_longitude":"2cfe6d80","hex_latitude":"07010550","is_valid_coordinates":true} 
[2026-09-04 01:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847612160001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397430628322115584,"note":"Value kept but may cause issues"} 
[2026-09-04 01:59:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105553086186219520,"note":"Value kept but may cause issues"} 
[2026-09-04 01:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788467254000,"timestamp_ms":1788467254000,"timestamp_seconds":1788467254,"priority":1,"record_length":96,"hex_timestamp":"000001a068f492f0"} 
[2026-09-04 01:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 01:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847612160001,"66":27376,"35":206,"28":32256,"24":24,"16":397430628322115584,"44":-105553086186219520},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,44]} 
[2026-09-04 01:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847612160001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:59:24] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-04 01:59:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397430628322115584,"km_value":397430628322115.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:59:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105553086186219520,"description":"Unknown IO ID 44"} 
[2026-09-04 01:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847612160001,"power":27376,"unknown_35":206,"unknown_28":32256,"ignition":24,"odometer":null,"unknown_44":-105553086186219520}} 
[2026-09-04 01:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":170312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:59:24] local.INFO: GPS data processed {"connection_id":170312,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:59:24] local.INFO: Acknowledgment sent {"connection_id":170312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:59:24] local.INFO: Packet analysis {"connection_id":170312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068f4"} 
[2026-09-04 01:59:24] local.INFO: Extracted packet for processing {"connection_id":170312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068f4"} 
[2026-09-04 01:59:24] local.INFO: GPS Element Parsed {"raw_longitude":754866496,"raw_latitude":117511952,"longitude_deg":75.4866496,"latitude_deg":11.7511952,"altitude":9,"angle":324,"satellites":40,"speed":22,"hex_longitude":"2cfe5940","hex_latitude":"07011710","is_valid_coordinates":true} 
[2026-09-04 01:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847617024001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397430959034597376,"note":"Value kept but may cause issues"} 
[2026-09-04 01:59:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-113293648044142592,"note":"Value kept but may cause issues"} 
[2026-09-04 01:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788467266000,"timestamp_ms":1788467266000,"timestamp_seconds":1788467266,"priority":1,"record_length":96,"hex_timestamp":"000001a068f4c1d0"} 
[2026-09-04 01:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 01:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847617024001,"66":27376,"35":206,"28":32256,"24":22,"16":397430959034597376,"44":-113293648044142592},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,44]} 
[2026-09-04 01:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847617024001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:59:24] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-04 01:59:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397430959034597376,"km_value":397430959034597.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:59:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-113293648044142592,"description":"Unknown IO ID 44"} 
[2026-09-04 01:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847617024001,"power":27376,"unknown_35":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_44":-113293648044142592}} 
[2026-09-04 01:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":170312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:59:24] local.INFO: GPS data processed {"connection_id":170312,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:59:24] local.INFO: Acknowledgment sent {"connection_id":170312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:59:25] local.INFO: TCP Data received {"connection_id":170312,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068f4f498012cfe4140070132300009013c2a..."} 
[2026-09-04 01:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068f4f498012cfe4140070132300009013c2a..."} 
[2026-09-04 01:59:25] local.INFO: Processing buffer {"connection_id":170312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068f4f498012cfe4140070132300009013c2a..."} 
[2026-09-04 01:59:25] local.INFO: Packet analysis {"connection_id":170312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068f4"} 
[2026-09-04 01:59:25] local.INFO: Extracted packet for processing {"connection_id":170312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068f4"} 
[2026-09-04 01:59:25] local.INFO: GPS Element Parsed {"raw_longitude":754860352,"raw_latitude":117518896,"longitude_deg":75.4860352,"latitude_deg":11.7518896,"altitude":9,"angle":316,"satellites":42,"speed":31,"hex_longitude":"2cfe4140","hex_latitude":"07013230","is_valid_coordinates":true} 
[2026-09-04 01:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 01:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847620096001,"note":"Value kept but may cause issues"} 
[2026-09-04 01:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397431405711196160,"note":"Value kept but may cause issues"} 
[2026-09-04 01:59:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-118993516321370112,"note":"Value kept but may cause issues"} 
[2026-09-04 01:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 01:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788467279000,"timestamp_ms":1788467279000,"timestamp_seconds":1788467279,"priority":1,"record_length":96,"hex_timestamp":"000001a068f4f498"} 
[2026-09-04 01:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 01:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 01:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 01:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 01:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 01:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 01:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 01:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 01:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 01:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 01:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 01:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 01:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847620096001,"66":27343,"35":206,"28":32256,"24":31,"16":397431405711196160,"44":-118993516321370112},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,44]} 
[2026-09-04 01:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 01:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 01:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847620096001,"description":"Unknown IO ID 0"} 
[2026-09-04 01:59:25] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-04 01:59:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 01:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397431405711196160,"km_value":397431405711196.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 01:59:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-118993516321370112,"description":"Unknown IO ID 44"} 
[2026-09-04 01:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847620096001,"power":27343,"unknown_35":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_44":-118993516321370112}} 
[2026-09-04 01:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":170312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 01:59:25] local.INFO: GPS data processed {"connection_id":170312,"processed":1,"errors":0,"total":1} 
[2026-09-04 01:59:25] local.INFO: Acknowledgment sent {"connection_id":170312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 01:59:58] local.INFO: TCP Data received {"connection_id":171708,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:59:58] local.INFO: Processing buffer {"connection_id":171708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:59:58] local.INFO: IMEI packet received {"connection_id":171708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 01:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":171708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 01:59:59] local.INFO: TCP Data received {"connection_id":171708,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:59:59] local.INFO: Processing buffer {"connection_id":171708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 01:59:59] local.INFO: IMEI packet received {"connection_id":171708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 01:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":171708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:00:00] local.INFO: TCP Data received {"connection_id":171708,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:00:00] local.INFO: Processing buffer {"connection_id":171708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:00:00] local.INFO: IMEI packet received {"connection_id":171708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":171708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:00:00] local.INFO: TCP Data received {"connection_id":171708,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:00:00] local.INFO: Processing buffer {"connection_id":171708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:00:00] local.INFO: IMEI packet received {"connection_id":171708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":171708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:04:05] local.INFO: TCP Data received {"connection_id":171709,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:04:05] local.INFO: Processing buffer {"connection_id":171709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:04:05] local.INFO: IMEI packet received {"connection_id":171709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":171709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:04:39] local.INFO: TCP Data received {"connection_id":173026,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:04:39] local.INFO: Processing buffer {"connection_id":173026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:04:39] local.INFO: IMEI packet received {"connection_id":173026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":173026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:05:05] local.INFO: TCP Data received {"connection_id":170624,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:05:05] local.INFO: Processing buffer {"connection_id":170624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:05:05] local.INFO: IMEI packet received {"connection_id":170624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":170624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:05:08] local.INFO: TCP Data received {"connection_id":170624,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:05:08] local.INFO: Processing buffer {"connection_id":170624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:05:08] local.INFO: IMEI packet received {"connection_id":170624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":170624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:05:09] local.INFO: TCP Data received {"connection_id":170624,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068fa6720012cf9d8400705e2180006014d29..."} 
[2026-09-04 02:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068fa6720012cf9d8400705e2180006014d29..."} 
[2026-09-04 02:05:09] local.INFO: Processing buffer {"connection_id":170624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068fa6720012cf9d8400705e2180006014d29..."} 
[2026-09-04 02:05:09] local.INFO: Packet analysis {"connection_id":170624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068fa"} 
[2026-09-04 02:05:09] local.INFO: Extracted packet for processing {"connection_id":170624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068fa"} 
[2026-09-04 02:05:09] local.INFO: GPS Element Parsed {"raw_longitude":754571328,"raw_latitude":117826072,"longitude_deg":75.4571328,"latitude_deg":11.7826072,"altitude":6,"angle":333,"satellites":41,"speed":58,"hex_longitude":"2cf9d840","hex_latitude":"0705e218","is_valid_coordinates":true} 
[2026-09-04 02:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847713024001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397453786785775616,"note":"Value kept but may cause issues"} 
[2026-09-04 02:05:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-438326877321539584,"note":"Value kept but may cause issues"} 
[2026-09-04 02:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788467636000,"timestamp_ms":1788467636000,"timestamp_seconds":1788467636,"priority":1,"record_length":96,"hex_timestamp":"000001a068fa6720"} 
[2026-09-04 02:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 02:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847713024001,"66":27365,"11":206,"28":32256,"24":58,"16":397453786785775616,"44":-438326877321539584},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-09-04 02:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847713024001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:05:09] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-04 02:05:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 02:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397453786785775616,"km_value":397453786785775.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:05:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-438326877321539584,"description":"Unknown IO ID 44"} 
[2026-09-04 02:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847713024001,"power":27365,"unknown_11":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_44":-438326877321539584}} 
[2026-09-04 02:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":170624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:05:09] local.INFO: GPS data processed {"connection_id":170624,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:05:09] local.INFO: Acknowledgment sent {"connection_id":170624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:05:41] local.INFO: TCP Data received {"connection_id":170624,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068fa8278012cf9c680070605e00007014d27..."} 
[2026-09-04 02:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068fa8278012cf9c680070605e00007014d27..."} 
[2026-09-04 02:05:41] local.INFO: Processing buffer {"connection_id":170624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068fa8278012cf9c680070605e00007014d27..."} 
[2026-09-04 02:05:41] local.INFO: Packet analysis {"connection_id":170624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068fa"} 
[2026-09-04 02:05:41] local.INFO: Extracted packet for processing {"connection_id":170624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068fa"} 
[2026-09-04 02:05:41] local.INFO: GPS Element Parsed {"raw_longitude":754566784,"raw_latitude":117835232,"longitude_deg":75.4566784,"latitude_deg":11.7835232,"altitude":7,"angle":333,"satellites":39,"speed":55,"hex_longitude":"2cf9c680","hex_latitude":"070605e0","is_valid_coordinates":true} 
[2026-09-04 02:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847714816001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397454280707014656,"note":"Value kept but may cause issues"} 
[2026-09-04 02:05:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-443534164388341760,"note":"Value kept but may cause issues"} 
[2026-09-04 02:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788467643000,"timestamp_ms":1788467643000,"timestamp_seconds":1788467643,"priority":1,"record_length":96,"hex_timestamp":"000001a068fa8278"} 
[2026-09-04 02:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 02:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847714816001,"66":27267,"11":206,"28":32256,"24":55,"16":397454280707014656,"44":-443534164388341760},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-09-04 02:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847714816001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:05:41] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-04 02:05:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 02:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397454280707014656,"km_value":397454280707014.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:05:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-443534164388341760,"description":"Unknown IO ID 44"} 
[2026-09-04 02:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847714816001,"power":27267,"unknown_11":206,"unknown_28":32256,"ignition":55,"odometer":null,"unknown_44":-443534164388341760}} 
[2026-09-04 02:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":170624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:05:41] local.INFO: GPS data processed {"connection_id":170624,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:05:41] local.INFO: Acknowledgment sent {"connection_id":170624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:05:58] local.INFO: TCP Data received {"connection_id":171710,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:05:58] local.INFO: Processing buffer {"connection_id":171710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:05:58] local.INFO: IMEI packet received {"connection_id":171710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":171710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:06:01] local.INFO: TCP Data received {"connection_id":171710,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:06:01] local.INFO: Processing buffer {"connection_id":171710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:06:01] local.INFO: IMEI packet received {"connection_id":171710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":171710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:06:02] local.INFO: TCP Data received {"connection_id":171710,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:06:02] local.INFO: Processing buffer {"connection_id":171710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:06:02] local.INFO: IMEI packet received {"connection_id":171710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":171710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:06:06] local.INFO: TCP Data received {"connection_id":171710,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:06:06] local.INFO: Processing buffer {"connection_id":171710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:06:06] local.INFO: IMEI packet received {"connection_id":171710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":171710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:06:07] local.INFO: TCP Data received {"connection_id":171710,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068fb8c18012cf95e00070753b0000501572c..."} 
[2026-09-04 02:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068fb8c18012cf95e00070753b0000501572c..."} 
[2026-09-04 02:06:07] local.INFO: Processing buffer {"connection_id":171710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068fb8c18012cf95e00070753b0000501572c..."} 
[2026-09-04 02:06:07] local.INFO: Packet analysis {"connection_id":171710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068fb"} 
[2026-09-04 02:06:07] local.INFO: Extracted packet for processing {"connection_id":171710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068fb"} 
[2026-09-04 02:06:07] local.INFO: GPS Element Parsed {"raw_longitude":754540032,"raw_latitude":117920688,"longitude_deg":75.4540032,"latitude_deg":11.7920688,"altitude":5,"angle":343,"satellites":44,"speed":44,"hex_longitude":"2cf95e00","hex_latitude":"070753b0","is_valid_coordinates":true} 
[2026-09-04 02:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847731968001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397458652983721984,"note":"Value kept but may cause issues"} 
[2026-09-04 02:06:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-474707518037245952,"note":"Value kept but may cause issues"} 
[2026-09-04 02:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788467711000,"timestamp_ms":1788467711000,"timestamp_seconds":1788467711,"priority":1,"record_length":96,"hex_timestamp":"000001a068fb8c18"} 
[2026-09-04 02:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 02:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847731968001,"66":27213,"165":206,"28":32256,"24":44,"16":397458652983721984,"44":-474707518037245952},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-09-04 02:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847731968001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:06:07] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 02:06:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 02:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397458652983721984,"km_value":397458652983722.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:06:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-474707518037245952,"description":"Unknown IO ID 44"} 
[2026-09-04 02:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847731968001,"power":27213,"unknown_165":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_44":-474707518037245952}} 
[2026-09-04 02:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":171710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:06:07] local.INFO: GPS data processed {"connection_id":171710,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:06:07] local.INFO: Acknowledgment sent {"connection_id":171710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:06:11] local.INFO: TCP Data received {"connection_id":171710,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068fbaf40012cf9520007077438000501572b..."} 
[2026-09-04 02:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068fbaf40012cf9520007077438000501572b..."} 
[2026-09-04 02:06:11] local.INFO: Processing buffer {"connection_id":171710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068fbaf40012cf9520007077438000501572b..."} 
[2026-09-04 02:06:11] local.INFO: Packet analysis {"connection_id":171710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068fb"} 
[2026-09-04 02:06:11] local.INFO: Extracted packet for processing {"connection_id":171710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068fb"} 
[2026-09-04 02:06:11] local.INFO: GPS Element Parsed {"raw_longitude":754536960,"raw_latitude":117929016,"longitude_deg":75.453696,"latitude_deg":11.7929016,"altitude":5,"angle":343,"satellites":43,"speed":37,"hex_longitude":"2cf95200","hex_latitude":"07077438","is_valid_coordinates":true} 
[2026-09-04 02:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847734016001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397459082480451584,"note":"Value kept but may cause issues"} 
[2026-09-04 02:06:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-477944480266997760,"note":"Value kept but may cause issues"} 
[2026-09-04 02:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788467720000,"timestamp_ms":1788467720000,"timestamp_seconds":1788467720,"priority":1,"record_length":96,"hex_timestamp":"000001a068fbaf40"} 
[2026-09-04 02:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 02:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847734016001,"66":27365,"165":206,"28":32256,"24":37,"16":397459082480451584,"44":-477944480266997760},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-09-04 02:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847734016001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:06:11] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 02:06:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 02:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397459082480451584,"km_value":397459082480451.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:06:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-477944480266997760,"description":"Unknown IO ID 44"} 
[2026-09-04 02:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847734016001,"power":27365,"unknown_165":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_44":-477944480266997760}} 
[2026-09-04 02:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":171710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:06:11] local.INFO: GPS data processed {"connection_id":171710,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:06:11] local.INFO: Acknowledgment sent {"connection_id":171710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:06:43] local.INFO: TCP Data received {"connection_id":171710,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068fbbaf8012cf94dc007077e48000601482a..."} 
[2026-09-04 02:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068fbbaf8012cf94dc007077e48000601482a..."} 
[2026-09-04 02:06:43] local.INFO: Processing buffer {"connection_id":171710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068fbbaf8012cf94dc007077e48000601482a..."} 
[2026-09-04 02:06:43] local.INFO: Packet analysis {"connection_id":171710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068fb"} 
[2026-09-04 02:06:43] local.INFO: Extracted packet for processing {"connection_id":171710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068fb"} 
[2026-09-04 02:06:43] local.INFO: GPS Element Parsed {"raw_longitude":754535872,"raw_latitude":117931592,"longitude_deg":75.4535872,"latitude_deg":11.7931592,"altitude":6,"angle":328,"satellites":42,"speed":37,"hex_longitude":"2cf94dc0","hex_latitude":"07077e48","is_valid_coordinates":true} 
[2026-09-04 02:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847736320001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397459215624437760,"note":"Value kept but may cause issues"} 
[2026-09-04 02:06:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-481322179985393664,"note":"Value kept but may cause issues"} 
[2026-09-04 02:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788467723000,"timestamp_ms":1788467723000,"timestamp_seconds":1788467723,"priority":1,"record_length":96,"hex_timestamp":"000001a068fbbaf8"} 
[2026-09-04 02:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 02:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847736320001,"66":26582,"165":206,"28":32256,"24":37,"16":397459215624437760,"44":-481322179985393664},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-09-04 02:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847736320001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:06:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 02:06:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 02:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397459215624437760,"km_value":397459215624437.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:06:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-481322179985393664,"description":"Unknown IO ID 44"} 
[2026-09-04 02:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847736320001,"power":26582,"unknown_165":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_44":-481322179985393664}} 
[2026-09-04 02:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":171710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:06:43] local.INFO: GPS data processed {"connection_id":171710,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:06:43] local.INFO: Acknowledgment sent {"connection_id":171710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:06:59] local.INFO: TCP Data received {"connection_id":170625,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:06:59] local.INFO: Processing buffer {"connection_id":170625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:06:59] local.INFO: IMEI packet received {"connection_id":170625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":170625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:07:00] local.INFO: TCP Data received {"connection_id":170625,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:07:00] local.INFO: Processing buffer {"connection_id":170625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:07:00] local.INFO: IMEI packet received {"connection_id":170625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":170625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:07:05] local.INFO: TCP Data received {"connection_id":170625,"ip":"117.224.180.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:07:05] local.INFO: Processing buffer {"connection_id":170625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:07:05] local.INFO: IMEI packet received {"connection_id":170625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":170625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:07:07] local.INFO: TCP Data received {"connection_id":170625,"ip":"117.224.180.8","data_length":795,"data_hex":"000000000000030f8e0a000001a068fbe208012cf9378007079d00000801452b..."} 
[2026-09-04 02:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a068fbe208012cf9378007079d00000801452b..."} 
[2026-09-04 02:07:07] local.INFO: Processing buffer {"connection_id":170625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a068fbe208012cf9378007079d00000801452b..."} 
[2026-09-04 02:07:07] local.INFO: Packet analysis {"connection_id":170625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a068fb"} 
[2026-09-04 02:07:07] local.INFO: Extracted packet for processing {"connection_id":170625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a068fb"} 
[2026-09-04 02:07:07] local.INFO: GPS Element Parsed {"raw_longitude":754530176,"raw_latitude":117939456,"longitude_deg":75.4530176,"latitude_deg":11.7939456,"altitude":8,"angle":325,"satellites":43,"speed":40,"hex_longitude":"2cf93780","hex_latitude":"07079d00","is_valid_coordinates":true} 
[2026-09-04 02:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847737088001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397459683775873024,"note":"Value kept but may cause issues"} 
[2026-09-04 02:07:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-482518448635754496,"note":"Value kept but may cause issues"} 
[2026-09-04 02:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788467733000,"timestamp_ms":1788467733000,"timestamp_seconds":1788467733,"priority":1,"record_length":96,"hex_timestamp":"000001a068fbe208"} 
[2026-09-04 02:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 02:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.180.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847737088001,"66":27300,"165":206,"28":32256,"24":40,"16":397459683775873024,"44":-482518448635754496},"client_ip":"117.224.180.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-09-04 02:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847737088001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:07:07] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 02:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-04 02:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397459683775873024,"km_value":397459683775873.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:07:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-482518448635754496,"description":"Unknown IO ID 44"} 
[2026-09-04 02:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847737088001,"power":27300,"unknown_165":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_44":-482518448635754496}} 
[2026-09-04 02:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":170625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:07:07] local.INFO: GPS data processed {"connection_id":170625,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:07:07] local.INFO: Acknowledgment sent {"connection_id":170625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:10:04] local.INFO: TCP Data received {"connection_id":170317,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:10:04] local.INFO: Processing buffer {"connection_id":170317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:10:04] local.INFO: IMEI packet received {"connection_id":170317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":170317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:10:39] local.INFO: TCP Data received {"connection_id":171711,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:10:39] local.INFO: Processing buffer {"connection_id":171711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:10:39] local.INFO: IMEI packet received {"connection_id":171711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":171711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:11:30] local.INFO: TCP Data received {"connection_id":170626,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:11:30] local.INFO: Processing buffer {"connection_id":170626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:11:30] local.INFO: IMEI packet received {"connection_id":170626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":170626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:11:34] local.INFO: TCP Data received {"connection_id":170626,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:11:34] local.INFO: Processing buffer {"connection_id":170626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:11:34] local.INFO: IMEI packet received {"connection_id":170626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":170626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:11:35] local.INFO: TCP Data received {"connection_id":170626,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:11:35] local.INFO: Processing buffer {"connection_id":170626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:11:35] local.INFO: IMEI packet received {"connection_id":170626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":170626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:11:36] local.INFO: TCP Data received {"connection_id":170626,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a069008970012cf61b00070c8250000301672c..."} 
[2026-09-04 02:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069008970012cf61b00070c8250000301672c..."} 
[2026-09-04 02:11:36] local.INFO: Processing buffer {"connection_id":170626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069008970012cf61b00070c8250000301672c..."} 
[2026-09-04 02:11:36] local.INFO: Packet analysis {"connection_id":170626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06900"} 
[2026-09-04 02:11:36] local.INFO: Extracted packet for processing {"connection_id":170626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06900"} 
[2026-09-04 02:11:36] local.INFO: GPS Element Parsed {"raw_longitude":754326272,"raw_latitude":118260304,"longitude_deg":75.4326272,"latitude_deg":11.8260304,"altitude":3,"angle":359,"satellites":44,"speed":59,"hex_longitude":"2cf61b00","hex_latitude":"070c8250","is_valid_coordinates":true} 
[2026-09-04 02:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847816192001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397478246624526336,"note":"Value kept but may cause issues"} 
[2026-09-04 02:11:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-712835348247418880,"note":"Value kept but may cause issues"} 
[2026-09-04 02:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788468038000,"timestamp_ms":1788468038000,"timestamp_seconds":1788468038,"priority":1,"record_length":96,"hex_timestamp":"000001a069008970"} 
[2026-09-04 02:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 02:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847816192001,"66":27343,"38":206,"83":41728,"24":59,"16":397478246624526336,"44":-712835348247418880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-04 02:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847816192001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:11:36] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-04 02:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 02:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397478246624526336,"km_value":397478246624526.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:11:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-712835348247418880,"description":"Unknown IO ID 44"} 
[2026-09-04 02:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847816192001,"power":27343,"unknown_38":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-712835348247418880}} 
[2026-09-04 02:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":170626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:11:36] local.INFO: GPS data processed {"connection_id":170626,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:11:36] local.INFO: Acknowledgment sent {"connection_id":170626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:12:06] local.INFO: TCP Data received {"connection_id":173030,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:12:06] local.INFO: Processing buffer {"connection_id":173030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:12:06] local.INFO: IMEI packet received {"connection_id":173030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":173030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:12:06] local.INFO: TCP Data received {"connection_id":173030,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:12:06] local.INFO: Processing buffer {"connection_id":173030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:12:06] local.INFO: IMEI packet received {"connection_id":173030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":173030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:12:07] local.INFO: TCP Data received {"connection_id":173030,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06900a0e0012cf61a80070ca500000300022c..."} 
[2026-09-04 02:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06900a0e0012cf61a80070ca500000300022c..."} 
[2026-09-04 02:12:07] local.INFO: Processing buffer {"connection_id":173030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06900a0e0012cf61a80070ca500000300022c..."} 
[2026-09-04 02:12:07] local.INFO: Packet analysis {"connection_id":173030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06900"} 
[2026-09-04 02:12:07] local.INFO: Extracted packet for processing {"connection_id":173030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06900"} 
[2026-09-04 02:12:07] local.INFO: GPS Element Parsed {"raw_longitude":754326144,"raw_latitude":118269184,"longitude_deg":75.4326144,"latitude_deg":11.8269184,"altitude":3,"angle":2,"satellites":44,"speed":58,"hex_longitude":"2cf61a80","hex_latitude":"070ca500","is_valid_coordinates":true} 
[2026-09-04 02:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847817728001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397478676121255936,"note":"Value kept but may cause issues"} 
[2026-09-04 02:12:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-712976085733453824,"note":"Value kept but may cause issues"} 
[2026-09-04 02:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788468044000,"timestamp_ms":1788468044000,"timestamp_seconds":1788468044,"priority":1,"record_length":96,"hex_timestamp":"000001a06900a0e0"} 
[2026-09-04 02:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 02:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847817728001,"66":27245,"38":206,"83":41728,"24":58,"16":397478676121255936,"44":-712976085733453824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-04 02:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847817728001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:12:07] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-04 02:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 02:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397478676121255936,"km_value":397478676121255.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:12:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-712976085733453824,"description":"Unknown IO ID 44"} 
[2026-09-04 02:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847817728001,"power":27245,"unknown_38":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-712976085733453824}} 
[2026-09-04 02:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":173030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:12:07] local.INFO: GPS data processed {"connection_id":173030,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:12:07] local.INFO: Acknowledgment sent {"connection_id":173030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:12:11] local.INFO: TCP Data received {"connection_id":173030,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06900b850012cf61b80070cc7d0000400002b..."} 
[2026-09-04 02:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06900b850012cf61b80070cc7d0000400002b..."} 
[2026-09-04 02:12:11] local.INFO: Processing buffer {"connection_id":173030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06900b850012cf61b80070cc7d0000400002b..."} 
[2026-09-04 02:12:11] local.INFO: Packet analysis {"connection_id":173030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06900"} 
[2026-09-04 02:12:11] local.INFO: Extracted packet for processing {"connection_id":173030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06900"} 
[2026-09-04 02:12:11] local.INFO: GPS Element Parsed {"raw_longitude":754326400,"raw_latitude":118278096,"longitude_deg":75.43264,"latitude_deg":11.8278096,"altitude":4,"angle":0,"satellites":43,"speed":59,"hex_longitude":"2cf61b80","hex_latitude":"070cc7d0","is_valid_coordinates":true} 
[2026-09-04 02:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847819264001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397479109912952832,"note":"Value kept but may cause issues"} 
[2026-09-04 02:12:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713116823219535872,"note":"Value kept but may cause issues"} 
[2026-09-04 02:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788468050000,"timestamp_ms":1788468050000,"timestamp_seconds":1788468050,"priority":1,"record_length":96,"hex_timestamp":"000001a06900b850"} 
[2026-09-04 02:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 02:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847819264001,"66":27343,"39":206,"83":41728,"24":59,"16":397479109912952832,"44":-713116823219535872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-04 02:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847819264001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:12:11] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-04 02:12:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 02:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397479109912952832,"km_value":397479109912952.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:12:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713116823219535872,"description":"Unknown IO ID 44"} 
[2026-09-04 02:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847819264001,"power":27343,"unknown_39":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-713116823219535872}} 
[2026-09-04 02:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":173030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:12:11] local.INFO: GPS data processed {"connection_id":173030,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:12:11] local.INFO: Acknowledgment sent {"connection_id":173030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:15:56] local.INFO: TCP Data received {"connection_id":170321,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:15:56] local.INFO: Processing buffer {"connection_id":170321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:15:56] local.INFO: IMEI packet received {"connection_id":170321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":170321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:16:01] local.INFO: TCP Data received {"connection_id":170321,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:16:01] local.INFO: Processing buffer {"connection_id":170321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:16:01] local.INFO: IMEI packet received {"connection_id":170321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":170321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:16:01] local.INFO: TCP Data received {"connection_id":170321,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06903d148012cf53ec007100de0001201282c..."} 
[2026-09-04 02:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06903d148012cf53ec007100de0001201282c..."} 
[2026-09-04 02:16:01] local.INFO: Processing buffer {"connection_id":170321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06903d148012cf53ec007100de0001201282c..."} 
[2026-09-04 02:16:01] local.INFO: Packet analysis {"connection_id":170321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06903"} 
[2026-09-04 02:16:01] local.INFO: Extracted packet for processing {"connection_id":170321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06903"} 
[2026-09-04 02:16:01] local.INFO: GPS Element Parsed {"raw_longitude":754269888,"raw_latitude":118492640,"longitude_deg":75.4269888,"latitude_deg":11.849264,"altitude":18,"angle":296,"satellites":44,"speed":44,"hex_longitude":"2cf53ec0","hex_latitude":"07100de0","is_valid_coordinates":true} 
[2026-09-04 02:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847872768001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397490263943020544,"note":"Value kept but may cause issues"} 
[2026-09-04 02:16:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-774970949294497792,"note":"Value kept but may cause issues"} 
[2026-09-04 02:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788468253000,"timestamp_ms":1788468253000,"timestamp_seconds":1788468253,"priority":1,"record_length":96,"hex_timestamp":"000001a06903d148"} 
[2026-09-04 02:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 02:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847872768001,"66":27343,"215":206,"83":41472,"24":44,"16":397490263943020544,"44":-774970949294497792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-09-04 02:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847872768001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:16:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 02:16:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397490263943020544,"km_value":397490263943020.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:16:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-774970949294497792,"description":"Unknown IO ID 44"} 
[2026-09-04 02:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847872768001,"power":27343,"unknown_215":206,"unknown_83":41472,"ignition":44,"odometer":null,"unknown_44":-774970949294497792}} 
[2026-09-04 02:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":170321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:16:01] local.INFO: GPS data processed {"connection_id":170321,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:16:01] local.INFO: Acknowledgment sent {"connection_id":170321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:16:09] local.INFO: TCP Data received {"connection_id":171712,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:16:09] local.INFO: Processing buffer {"connection_id":171712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:16:09] local.INFO: IMEI packet received {"connection_id":171712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":171712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:16:32] local.INFO: TCP Data received {"connection_id":170321,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06903f088012cf51e4007101e58001101292a..."} 
[2026-09-04 02:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06903f088012cf51e4007101e58001101292a..."} 
[2026-09-04 02:16:32] local.INFO: Processing buffer {"connection_id":170321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06903f088012cf51e4007101e58001101292a..."} 
[2026-09-04 02:16:32] local.INFO: Packet analysis {"connection_id":170321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06903"} 
[2026-09-04 02:16:32] local.INFO: Extracted packet for processing {"connection_id":170321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06903"} 
[2026-09-04 02:16:32] local.INFO: GPS Element Parsed {"raw_longitude":754261568,"raw_latitude":118496856,"longitude_deg":75.4261568,"latitude_deg":11.8496856,"altitude":17,"angle":297,"satellites":42,"speed":45,"hex_longitude":"2cf51e40","hex_latitude":"07101e58","is_valid_coordinates":true} 
[2026-09-04 02:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847872768001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397490710619619328,"note":"Value kept but may cause issues"} 
[2026-09-04 02:16:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-774970949294497792,"note":"Value kept but may cause issues"} 
[2026-09-04 02:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788468261000,"timestamp_ms":1788468261000,"timestamp_seconds":1788468261,"priority":1,"record_length":96,"hex_timestamp":"000001a06903f088"} 
[2026-09-04 02:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 02:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847872768001,"66":27343,"215":206,"83":41472,"24":45,"16":397490710619619328,"44":-774970949294497792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-09-04 02:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847872768001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:16:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 02:16:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397490710619619328,"km_value":397490710619619.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:16:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-774970949294497792,"description":"Unknown IO ID 44"} 
[2026-09-04 02:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847872768001,"power":27343,"unknown_215":206,"unknown_83":41472,"ignition":45,"odometer":null,"unknown_44":-774970949294497792}} 
[2026-09-04 02:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":170321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:16:32] local.INFO: GPS data processed {"connection_id":170321,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:16:32] local.INFO: Acknowledgment sent {"connection_id":170321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:16:39] local.INFO: TCP Data received {"connection_id":173031,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:16:39] local.INFO: Processing buffer {"connection_id":173031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:16:39] local.INFO: IMEI packet received {"connection_id":173031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":173031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:17:05] local.INFO: TCP Data received {"connection_id":170322,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:17:05] local.INFO: Processing buffer {"connection_id":170322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:17:05] local.INFO: IMEI packet received {"connection_id":170322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":170322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:17:08] local.INFO: TCP Data received {"connection_id":170322,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:17:08] local.INFO: Processing buffer {"connection_id":170322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:17:08] local.INFO: IMEI packet received {"connection_id":170322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":170322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:17:09] local.INFO: TCP Data received {"connection_id":170322,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069057728012cf458400710ada8001c01142d..."} 
[2026-09-04 02:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069057728012cf458400710ada8001c01142d..."} 
[2026-09-04 02:17:09] local.INFO: Processing buffer {"connection_id":170322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069057728012cf458400710ada8001c01142d..."} 
[2026-09-04 02:17:09] local.INFO: Packet analysis {"connection_id":170322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06905"} 
[2026-09-04 02:17:09] local.INFO: Extracted packet for processing {"connection_id":170322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06905"} 
[2026-09-04 02:17:09] local.INFO: GPS Element Parsed {"raw_longitude":754210880,"raw_latitude":118533544,"longitude_deg":75.421088,"latitude_deg":11.8533544,"altitude":28,"angle":276,"satellites":45,"speed":7,"hex_longitude":"2cf45840","hex_latitude":"0710ada8","is_valid_coordinates":true} 
[2026-09-04 02:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847899904001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397493738571563008,"note":"Value kept but may cause issues"} 
[2026-09-04 02:17:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-839428718950801408,"note":"Value kept but may cause issues"} 
[2026-09-04 02:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788468361000,"timestamp_ms":1788468361000,"timestamp_seconds":1788468361,"priority":1,"record_length":96,"hex_timestamp":"000001a069057728"} 
[2026-09-04 02:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 02:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847899904001,"66":27332,"215":206,"83":41472,"24":7,"16":397493738571563008,"44":-839428718950801408},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-09-04 02:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847899904001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:17:09] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 02:17:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397493738571563008,"km_value":397493738571563.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:17:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-839428718950801408,"description":"Unknown IO ID 44"} 
[2026-09-04 02:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847899904001,"power":27332,"unknown_215":206,"unknown_83":41472,"ignition":7,"odometer":null,"unknown_44":-839428718950801408}} 
[2026-09-04 02:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":170322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:17:09] local.INFO: GPS data processed {"connection_id":170322,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:17:09] local.INFO: Acknowledgment sent {"connection_id":170322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:17:42] local.INFO: TCP Data received {"connection_id":170322,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069057ef8012cf456c00710ada8001c01072d..."} 
[2026-09-04 02:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069057ef8012cf456c00710ada8001c01072d..."} 
[2026-09-04 02:17:42] local.INFO: Processing buffer {"connection_id":170322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069057ef8012cf456c00710ada8001c01072d..."} 
[2026-09-04 02:17:42] local.INFO: Packet analysis {"connection_id":170322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06905"} 
[2026-09-04 02:17:42] local.INFO: Extracted packet for processing {"connection_id":170322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06905"} 
[2026-09-04 02:17:42] local.INFO: GPS Element Parsed {"raw_longitude":754210496,"raw_latitude":118533544,"longitude_deg":75.4210496,"latitude_deg":11.8533544,"altitude":28,"angle":263,"satellites":45,"speed":9,"hex_longitude":"2cf456c0","hex_latitude":"0710ada8","is_valid_coordinates":true} 
[2026-09-04 02:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847900416001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397493755751432192,"note":"Value kept but may cause issues"} 
[2026-09-04 02:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-839850931415832576,"note":"Value kept but may cause issues"} 
[2026-09-04 02:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788468363000,"timestamp_ms":1788468363000,"timestamp_seconds":1788468363,"priority":1,"record_length":96,"hex_timestamp":"000001a069057ef8"} 
[2026-09-04 02:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 02:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847900416001,"66":26941,"215":206,"83":41472,"24":9,"16":397493755751432192,"44":-839850931415832576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-09-04 02:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847900416001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:17:42] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 02:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397493755751432192,"km_value":397493755751432.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-839850931415832576,"description":"Unknown IO ID 44"} 
[2026-09-04 02:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847900416001,"power":26941,"unknown_215":206,"unknown_83":41472,"ignition":9,"odometer":null,"unknown_44":-839850931415832576}} 
[2026-09-04 02:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":170322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:17:42] local.INFO: GPS data processed {"connection_id":170322,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:17:42] local.INFO: Acknowledgment sent {"connection_id":170322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:18:01] local.INFO: TCP Data received {"connection_id":171713,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:18:01] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:18:01] local.INFO: IMEI packet received {"connection_id":171713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":171713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:18:06] local.INFO: TCP Data received {"connection_id":171713,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:18:06] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:18:06] local.INFO: IMEI packet received {"connection_id":171713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":171713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:18:07] local.INFO: TCP Data received {"connection_id":171713,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069059280012cf451800710ad40001a01142b..."} 
[2026-09-04 02:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069059280012cf451800710ad40001a01142b..."} 
[2026-09-04 02:18:07] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069059280012cf451800710ad40001a01142b..."} 
[2026-09-04 02:18:07] local.INFO: Packet analysis {"connection_id":171713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06905"} 
[2026-09-04 02:18:07] local.INFO: Extracted packet for processing {"connection_id":171713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06905"} 
[2026-09-04 02:18:07] local.INFO: GPS Element Parsed {"raw_longitude":754209152,"raw_latitude":118533440,"longitude_deg":75.4209152,"latitude_deg":11.853344,"altitude":26,"angle":276,"satellites":43,"speed":10,"hex_longitude":"2cf45180","hex_latitude":"0710ad40","is_valid_coordinates":true} 
[2026-09-04 02:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847900928001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397493820175941632,"note":"Value kept but may cause issues"} 
[2026-09-04 02:18:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-840273143880898560,"note":"Value kept but may cause issues"} 
[2026-09-04 02:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788468368000,"timestamp_ms":1788468368000,"timestamp_seconds":1788468368,"priority":1,"record_length":96,"hex_timestamp":"000001a069059280"} 
[2026-09-04 02:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-09-04 02:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847900928001,"66":27376,"215":206,"83":41472,"24":10,"16":397493820175941632,"44":-840273143880898560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-09-04 02:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847900928001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:18:07] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 02:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397493820175941632,"km_value":397493820175941.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:18:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-840273143880898560,"description":"Unknown IO ID 44"} 
[2026-09-04 02:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847900928001,"power":27376,"unknown_215":206,"unknown_83":41472,"ignition":10,"odometer":null,"unknown_44":-840273143880898560}} 
[2026-09-04 02:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":171713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:18:07] local.INFO: GPS data processed {"connection_id":171713,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:18:07] local.INFO: Acknowledgment sent {"connection_id":171713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:18:38] local.INFO: TCP Data received {"connection_id":171713,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069059e38012cf44dc00710ae30001901232a..."} 
[2026-09-04 02:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069059e38012cf44dc00710ae30001901232a..."} 
[2026-09-04 02:18:38] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069059e38012cf44dc00710ae30001901232a..."} 
[2026-09-04 02:18:38] local.INFO: Packet analysis {"connection_id":171713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06905"} 
[2026-09-04 02:18:38] local.INFO: Extracted packet for processing {"connection_id":171713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06905"} 
[2026-09-04 02:18:38] local.INFO: GPS Element Parsed {"raw_longitude":754208192,"raw_latitude":118533680,"longitude_deg":75.4208192,"latitude_deg":11.853368,"altitude":25,"angle":291,"satellites":42,"speed":13,"hex_longitude":"2cf44dc0","hex_latitude":"0710ae30","is_valid_coordinates":true} 
[2026-09-04 02:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847902208001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397493867420581888,"note":"Value kept but may cause issues"} 
[2026-09-04 02:18:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-841750887508656128,"note":"Value kept but may cause issues"} 
[2026-09-04 02:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788468371000,"timestamp_ms":1788468371000,"timestamp_seconds":1788468371,"priority":1,"record_length":96,"hex_timestamp":"000001a069059e38"} 
[2026-09-04 02:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 02:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847902208001,"66":27321,"215":206,"83":41472,"24":13,"16":397493867420581888,"44":-841750887508656128},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-09-04 02:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847902208001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:18:38] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 02:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397493867420581888,"km_value":397493867420581.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:18:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-841750887508656128,"description":"Unknown IO ID 44"} 
[2026-09-04 02:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847902208001,"power":27321,"unknown_215":206,"unknown_83":41472,"ignition":13,"odometer":null,"unknown_44":-841750887508656128}} 
[2026-09-04 02:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":171713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:18:38] local.INFO: GPS data processed {"connection_id":171713,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:18:38] local.INFO: Acknowledgment sent {"connection_id":171713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:19:02] local.INFO: TCP Data received {"connection_id":173032,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:19:02] local.INFO: Processing buffer {"connection_id":173032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:19:02] local.INFO: IMEI packet received {"connection_id":173032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":173032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:19:05] local.INFO: TCP Data received {"connection_id":173032,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:19:05] local.INFO: Processing buffer {"connection_id":173032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:19:05] local.INFO: IMEI packet received {"connection_id":173032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":173032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:19:06] local.INFO: TCP Data received {"connection_id":173032,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069074030012cf3630007119e58000a01392a..."} 
[2026-09-04 02:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069074030012cf3630007119e58000a01392a..."} 
[2026-09-04 02:19:06] local.INFO: Processing buffer {"connection_id":173032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069074030012cf3630007119e58000a01392a..."} 
[2026-09-04 02:19:06] local.INFO: Packet analysis {"connection_id":173032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06907"} 
[2026-09-04 02:19:06] local.INFO: Extracted packet for processing {"connection_id":173032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06907"} 
[2026-09-04 02:19:06] local.INFO: GPS Element Parsed {"raw_longitude":754148096,"raw_latitude":118595160,"longitude_deg":75.4148096,"latitude_deg":11.859516,"altitude":10,"angle":313,"satellites":42,"speed":49,"hex_longitude":"2cf36300","hex_latitude":"07119e58","is_valid_coordinates":true} 
[2026-09-04 02:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847928320001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397498029243891712,"note":"Value kept but may cause issues"} 
[2026-09-04 02:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-901423582557186048,"note":"Value kept but may cause issues"} 
[2026-09-04 02:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788468478000,"timestamp_ms":1788468478000,"timestamp_seconds":1788468478,"priority":1,"record_length":96,"hex_timestamp":"000001a069074030"} 
[2026-09-04 02:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 02:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847928320001,"66":27017,"21":206,"83":41472,"24":49,"16":397498029243891712,"44":-901423582557186048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,44]} 
[2026-09-04 02:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847928320001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:19:06] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-04 02:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397498029243891712,"km_value":397498029243891.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-901423582557186048,"description":"Unknown IO ID 44"} 
[2026-09-04 02:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847928320001,"power":27017,"unknown_21":206,"unknown_83":41472,"ignition":49,"odometer":null,"unknown_44":-901423582557186048}} 
[2026-09-04 02:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":173032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:19:06] local.INFO: GPS data processed {"connection_id":173032,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:19:06] local.INFO: Acknowledgment sent {"connection_id":173032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:19:37] local.INFO: TCP Data received {"connection_id":173032,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069075f70012cf346800711ba50000b01392c..."} 
[2026-09-04 02:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069075f70012cf346800711ba50000b01392c..."} 
[2026-09-04 02:19:37] local.INFO: Processing buffer {"connection_id":173032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069075f70012cf346800711ba50000b01392c..."} 
[2026-09-04 02:19:37] local.INFO: Packet analysis {"connection_id":173032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06907"} 
[2026-09-04 02:19:37] local.INFO: Extracted packet for processing {"connection_id":173032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06907"} 
[2026-09-04 02:19:37] local.INFO: GPS Element Parsed {"raw_longitude":754140800,"raw_latitude":118602320,"longitude_deg":75.41408,"latitude_deg":11.860232,"altitude":11,"angle":313,"satellites":44,"speed":51,"hex_longitude":"2cf34680","hex_latitude":"0711ba50","is_valid_coordinates":true} 
[2026-09-04 02:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847930368001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397498518870163456,"note":"Value kept but may cause issues"} 
[2026-09-04 02:19:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-908882669438347264,"note":"Value kept but may cause issues"} 
[2026-09-04 02:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788468486000,"timestamp_ms":1788468486000,"timestamp_seconds":1788468486,"priority":1,"record_length":96,"hex_timestamp":"000001a069075f70"} 
[2026-09-04 02:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-04 02:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847930368001,"66":27300,"21":206,"83":41472,"24":51,"16":397498518870163456,"44":-908882669438347264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,44]} 
[2026-09-04 02:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847930368001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:19:37] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-04 02:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397498518870163456,"km_value":397498518870163.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:19:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-908882669438347264,"description":"Unknown IO ID 44"} 
[2026-09-04 02:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847930368001,"power":27300,"unknown_21":206,"unknown_83":41472,"ignition":51,"odometer":null,"unknown_44":-908882669438347264}} 
[2026-09-04 02:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":173032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:19:37] local.INFO: GPS data processed {"connection_id":173032,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:19:37] local.INFO: Acknowledgment sent {"connection_id":173032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:20:00] local.INFO: TCP Data received {"connection_id":170323,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:20:00] local.INFO: Processing buffer {"connection_id":170323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:20:00] local.INFO: IMEI packet received {"connection_id":170323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":170323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:20:02] local.INFO: TCP Data received {"connection_id":170323,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:20:02] local.INFO: Processing buffer {"connection_id":170323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:20:02] local.INFO: IMEI packet received {"connection_id":170323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":170323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:20:05] local.INFO: TCP Data received {"connection_id":170323,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:20:05] local.INFO: Processing buffer {"connection_id":170323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:20:05] local.INFO: IMEI packet received {"connection_id":170323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":170323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:20:07] local.INFO: TCP Data received {"connection_id":170323,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069088468012cf21f400712b4000008013928..."} 
[2026-09-04 02:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069088468012cf21f400712b4000008013928..."} 
[2026-09-04 02:20:07] local.INFO: Processing buffer {"connection_id":170323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069088468012cf21f400712b4000008013928..."} 
[2026-09-04 02:20:07] local.INFO: Packet analysis {"connection_id":170323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06908"} 
[2026-09-04 02:20:07] local.INFO: Extracted packet for processing {"connection_id":170323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06908"} 
[2026-09-04 02:20:07] local.INFO: GPS Element Parsed {"raw_longitude":754065216,"raw_latitude":118666240,"longitude_deg":75.4065216,"latitude_deg":11.866624,"altitude":8,"angle":313,"satellites":40,"speed":47,"hex_longitude":"2cf21f40","hex_latitude":"0712b400","is_valid_coordinates":true} 
[2026-09-04 02:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847949312001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397503307758698496,"note":"Value kept but may cause issues"} 
[2026-09-04 02:20:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-993184424946995200,"note":"Value kept but may cause issues"} 
[2026-09-04 02:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788468561000,"timestamp_ms":1788468561000,"timestamp_seconds":1788468561,"priority":1,"record_length":96,"hex_timestamp":"000001a069088468"} 
[2026-09-04 02:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 02:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847949312001,"66":27300,"197":206,"83":41472,"24":47,"16":397503307758698496,"44":-993184424946995200},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-09-04 02:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847949312001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:20:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 02:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397503307758698496,"km_value":397503307758698.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:20:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-993184424946995200,"description":"Unknown IO ID 44"} 
[2026-09-04 02:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847949312001,"power":27300,"unknown_197":206,"unknown_83":41472,"ignition":47,"odometer":null,"unknown_44":-993184424946995200}} 
[2026-09-04 02:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":170323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:20:07] local.INFO: GPS data processed {"connection_id":170323,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:20:07] local.INFO: Acknowledgment sent {"connection_id":170323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:20:10] local.INFO: TCP Data received {"connection_id":170323,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069088468012cf21f400712b4000008013928..."} 
[2026-09-04 02:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069088468012cf21f400712b4000008013928..."} 
[2026-09-04 02:20:10] local.INFO: Processing buffer {"connection_id":170323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069088468012cf21f400712b4000008013928..."} 
[2026-09-04 02:20:10] local.INFO: Packet analysis {"connection_id":170323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06908"} 
[2026-09-04 02:20:10] local.INFO: Extracted packet for processing {"connection_id":170323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06908"} 
[2026-09-04 02:20:10] local.INFO: GPS Element Parsed {"raw_longitude":754065216,"raw_latitude":118666240,"longitude_deg":75.4065216,"latitude_deg":11.866624,"altitude":8,"angle":313,"satellites":40,"speed":47,"hex_longitude":"2cf21f40","hex_latitude":"0712b400","is_valid_coordinates":true} 
[2026-09-04 02:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847951616001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397503307758698496,"note":"Value kept but may cause issues"} 
[2026-09-04 02:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1000010193130225664,"note":"Value kept but may cause issues"} 
[2026-09-04 02:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788468561000,"timestamp_ms":1788468561000,"timestamp_seconds":1788468561,"priority":1,"record_length":96,"hex_timestamp":"000001a069088468"} 
[2026-09-04 02:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 02:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847951616001,"66":27300,"197":206,"83":41472,"24":47,"16":397503307758698496,"44":-1000010193130225664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-09-04 02:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847951616001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:20:10] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 02:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397503307758698496,"km_value":397503307758698.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1000010193130225664,"description":"Unknown IO ID 44"} 
[2026-09-04 02:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847951616001,"power":27300,"unknown_197":206,"unknown_83":41472,"ignition":47,"odometer":null,"unknown_44":-1000010193130225664}} 
[2026-09-04 02:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":170323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:20:10] local.INFO: GPS data processed {"connection_id":170323,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:20:10] local.INFO: Acknowledgment sent {"connection_id":170323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:20:41] local.INFO: TCP Data received {"connection_id":170323,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069089020012cf213c00712bc380009012a27..."} 
[2026-09-04 02:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069089020012cf213c00712bc380009012a27..."} 
[2026-09-04 02:20:41] local.INFO: Processing buffer {"connection_id":170323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069089020012cf213c00712bc380009012a27..."} 
[2026-09-04 02:20:41] local.INFO: Packet analysis {"connection_id":170323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06908"} 
[2026-09-04 02:20:41] local.INFO: Extracted packet for processing {"connection_id":170323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06908"} 
[2026-09-04 02:20:41] local.INFO: GPS Element Parsed {"raw_longitude":754062272,"raw_latitude":118668344,"longitude_deg":75.4062272,"latitude_deg":11.8668344,"altitude":9,"angle":298,"satellites":39,"speed":47,"hex_longitude":"2cf213c0","hex_latitude":"0712bc38","is_valid_coordinates":true} 
[2026-09-04 02:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847951616001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397503479557390336,"note":"Value kept but may cause issues"} 
[2026-09-04 02:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1000010193130225664,"note":"Value kept but may cause issues"} 
[2026-09-04 02:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788468564000,"timestamp_ms":1788468564000,"timestamp_seconds":1788468564,"priority":1,"record_length":96,"hex_timestamp":"000001a069089020"} 
[2026-09-04 02:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 02:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847951616001,"66":27310,"197":206,"83":41472,"24":47,"16":397503479557390336,"44":-1000010193130225664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-09-04 02:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847951616001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:20:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 02:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397503479557390336,"km_value":397503479557390.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1000010193130225664,"description":"Unknown IO ID 44"} 
[2026-09-04 02:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847951616001,"power":27310,"unknown_197":206,"unknown_83":41472,"ignition":47,"odometer":null,"unknown_44":-1000010193130225664}} 
[2026-09-04 02:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":170323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:20:41] local.INFO: GPS data processed {"connection_id":170323,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:20:41] local.INFO: Acknowledgment sent {"connection_id":170323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:21:05] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:21:05] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:21:05] local.INFO: IMEI packet received {"connection_id":173033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":173033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:21:05] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:21:05] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:21:05] local.INFO: IMEI packet received {"connection_id":173033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":173033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:21:10] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:21:10] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:21:10] local.INFO: IMEI packet received {"connection_id":173033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":173033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:21:11] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06908af60012cf1f2000712cda00009012925..."} 
[2026-09-04 02:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06908af60012cf1f2000712cda00009012925..."} 
[2026-09-04 02:21:11] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06908af60012cf1f2000712cda00009012925..."} 
[2026-09-04 02:21:11] local.INFO: Packet analysis {"connection_id":173033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06908"} 
[2026-09-04 02:21:11] local.INFO: Extracted packet for processing {"connection_id":173033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06908"} 
[2026-09-04 02:21:11] local.INFO: GPS Element Parsed {"raw_longitude":754053632,"raw_latitude":118672800,"longitude_deg":75.4053632,"latitude_deg":11.86728,"altitude":9,"angle":297,"satellites":37,"speed":49,"hex_longitude":"2cf1f200","hex_latitude":"0712cda0","is_valid_coordinates":true} 
[2026-09-04 02:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847952384001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397503943413858304,"note":"Value kept but may cause issues"} 
[2026-09-04 02:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1003247155361859584,"note":"Value kept but may cause issues"} 
[2026-09-04 02:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788468572000,"timestamp_ms":1788468572000,"timestamp_seconds":1788468572,"priority":1,"record_length":96,"hex_timestamp":"000001a06908af60"} 
[2026-09-04 02:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 02:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847952384001,"66":27245,"219":206,"83":41472,"24":49,"16":397503943413858304,"44":-1003247155361859584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 02:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847952384001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:21:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 02:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397503943413858304,"km_value":397503943413858.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1003247155361859584,"description":"Unknown IO ID 44"} 
[2026-09-04 02:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847952384001,"power":27245,"unknown_219":206,"unknown_83":41472,"ignition":49,"odometer":null,"unknown_44":-1003247155361859584}} 
[2026-09-04 02:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":173033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:21:11] local.INFO: GPS data processed {"connection_id":173033,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:21:11] local.INFO: Acknowledgment sent {"connection_id":173033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:21:16] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06908cab8012cf1d1800712dee8000801302a..."} 
[2026-09-04 02:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06908cab8012cf1d1800712dee8000801302a..."} 
[2026-09-04 02:21:16] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06908cab8012cf1d1800712dee8000801302a..."} 
[2026-09-04 02:21:16] local.INFO: Packet analysis {"connection_id":173033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06908"} 
[2026-09-04 02:21:16] local.INFO: Extracted packet for processing {"connection_id":173033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06908"} 
[2026-09-04 02:21:16] local.INFO: GPS Element Parsed {"raw_longitude":754045312,"raw_latitude":118677224,"longitude_deg":75.4045312,"latitude_deg":11.8677224,"altitude":8,"angle":304,"satellites":42,"speed":55,"hex_longitude":"2cf1d180","hex_latitude":"0712dee8","is_valid_coordinates":true} 
[2026-09-04 02:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847954432001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397504394385424384,"note":"Value kept but may cause issues"} 
[2026-09-04 02:21:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1012746935824703488,"note":"Value kept but may cause issues"} 
[2026-09-04 02:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788468579000,"timestamp_ms":1788468579000,"timestamp_seconds":1788468579,"priority":1,"record_length":96,"hex_timestamp":"000001a06908cab8"} 
[2026-09-04 02:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 02:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847954432001,"66":27343,"219":206,"83":41472,"24":55,"16":397504394385424384,"44":-1012746935824703488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 02:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847954432001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:21:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 02:21:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397504394385424384,"km_value":397504394385424.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:21:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1012746935824703488,"description":"Unknown IO ID 44"} 
[2026-09-04 02:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847954432001,"power":27343,"unknown_219":206,"unknown_83":41472,"ignition":55,"odometer":null,"unknown_44":-1012746935824703488}} 
[2026-09-04 02:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":173033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:21:16] local.INFO: GPS data processed {"connection_id":173033,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:21:16] local.INFO: Acknowledgment sent {"connection_id":173033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:22:00] local.INFO: TCP Data received {"connection_id":171716,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:22:00] local.INFO: Processing buffer {"connection_id":171716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:22:00] local.INFO: IMEI packet received {"connection_id":171716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":171716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:22:06] local.INFO: TCP Data received {"connection_id":171716,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:22:06] local.INFO: Processing buffer {"connection_id":171716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:22:06] local.INFO: IMEI packet received {"connection_id":171716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":171716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:22:07] local.INFO: TCP Data received {"connection_id":171716,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06908e610012cf1b5400712f7b8000901382a..."} 
[2026-09-04 02:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06908e610012cf1b5400712f7b8000901382a..."} 
[2026-09-04 02:22:07] local.INFO: Processing buffer {"connection_id":171716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06908e610012cf1b5400712f7b8000901382a..."} 
[2026-09-04 02:22:07] local.INFO: Packet analysis {"connection_id":171716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06908"} 
[2026-09-04 02:22:07] local.INFO: Extracted packet for processing {"connection_id":171716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06908"} 
[2026-09-04 02:22:07] local.INFO: GPS Element Parsed {"raw_longitude":754038080,"raw_latitude":118683576,"longitude_deg":75.403808,"latitude_deg":11.8683576,"altitude":9,"angle":312,"satellites":42,"speed":54,"hex_longitude":"2cf1b540","hex_latitude":"0712f7b8","is_valid_coordinates":true} 
[2026-09-04 02:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847956224001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397504853946925056,"note":"Value kept but may cause issues"} 
[2026-09-04 02:22:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1021894872566667264,"note":"Value kept but may cause issues"} 
[2026-09-04 02:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788468586000,"timestamp_ms":1788468586000,"timestamp_seconds":1788468586,"priority":1,"record_length":96,"hex_timestamp":"000001a06908e610"} 
[2026-09-04 02:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 02:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847956224001,"66":27332,"219":206,"83":41472,"24":54,"16":397504853946925056,"44":-1021894872566667264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 02:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847956224001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:22:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 02:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397504853946925056,"km_value":397504853946925.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:22:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1021894872566667264,"description":"Unknown IO ID 44"} 
[2026-09-04 02:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847956224001,"power":27332,"unknown_219":206,"unknown_83":41472,"ignition":54,"odometer":null,"unknown_44":-1021894872566667264}} 
[2026-09-04 02:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":171716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:22:07] local.INFO: GPS data processed {"connection_id":171716,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:22:07] local.INFO: Acknowledgment sent {"connection_id":171716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:22:38] local.INFO: TCP Data received {"connection_id":173034,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:22:38] local.INFO: Processing buffer {"connection_id":173034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:22:38] local.INFO: IMEI packet received {"connection_id":173034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":173034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:22:39] local.INFO: TCP Data received {"connection_id":171716,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069090168012cf198c007131170000a01392b..."} 
[2026-09-04 02:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069090168012cf198c007131170000a01392b..."} 
[2026-09-04 02:22:39] local.INFO: Processing buffer {"connection_id":171716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069090168012cf198c007131170000a01392b..."} 
[2026-09-04 02:22:39] local.INFO: Packet analysis {"connection_id":171716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06909"} 
[2026-09-04 02:22:39] local.INFO: Extracted packet for processing {"connection_id":171716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06909"} 
[2026-09-04 02:22:39] local.INFO: GPS Element Parsed {"raw_longitude":754030784,"raw_latitude":118690160,"longitude_deg":75.4030784,"latitude_deg":11.869016,"altitude":10,"angle":313,"satellites":43,"speed":54,"hex_longitude":"2cf198c0","hex_latitude":"07131170","is_valid_coordinates":true} 
[2026-09-04 02:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847958016001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397505326393327616,"note":"Value kept but may cause issues"} 
[2026-09-04 02:22:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1029846540657117184,"note":"Value kept but may cause issues"} 
[2026-09-04 02:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788468593000,"timestamp_ms":1788468593000,"timestamp_seconds":1788468593,"priority":1,"record_length":96,"hex_timestamp":"000001a069090168"} 
[2026-09-04 02:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 02:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847958016001,"66":27267,"219":206,"83":41472,"24":54,"16":397505326393327616,"44":-1029846540657117184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 02:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847958016001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:22:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 02:22:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397505326393327616,"km_value":397505326393327.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:22:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1029846540657117184,"description":"Unknown IO ID 44"} 
[2026-09-04 02:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457847958016001,"power":27267,"unknown_219":206,"unknown_83":41472,"ignition":54,"odometer":null,"unknown_44":-1029846540657117184}} 
[2026-09-04 02:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":171716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:22:39] local.INFO: GPS data processed {"connection_id":171716,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:22:39] local.INFO: Acknowledgment sent {"connection_id":171716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:23:03] local.INFO: TCP Data received {"connection_id":170325,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:23:03] local.INFO: Processing buffer {"connection_id":170325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:23:03] local.INFO: IMEI packet received {"connection_id":170325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":170325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:23:06] local.INFO: TCP Data received {"connection_id":170325,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:23:06] local.INFO: Processing buffer {"connection_id":170325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:23:06] local.INFO: IMEI packet received {"connection_id":170325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":170325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:23:11] local.INFO: TCP Data received {"connection_id":170325,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:23:11] local.INFO: Processing buffer {"connection_id":170325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:23:11] local.INFO: IMEI packet received {"connection_id":170325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":170325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:23:12] local.INFO: TCP Data received {"connection_id":170325,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0690ad240012cf096c007137370002601032c..."} 
[2026-09-04 02:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0690ad240012cf096c007137370002601032c..."} 
[2026-09-04 02:23:12] local.INFO: Processing buffer {"connection_id":170325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0690ad240012cf096c007137370002601032c..."} 
[2026-09-04 02:23:12] local.INFO: Packet analysis {"connection_id":170325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0690a"} 
[2026-09-04 02:23:12] local.INFO: Extracted packet for processing {"connection_id":170325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0690a"} 
[2026-09-04 02:23:12] local.INFO: GPS Element Parsed {"raw_longitude":753964736,"raw_latitude":118715248,"longitude_deg":75.3964736,"latitude_deg":11.8715248,"altitude":38,"angle":259,"satellites":44,"speed":22,"hex_longitude":"2cf096c0","hex_latitude":"07137370","is_valid_coordinates":true} 
[2026-09-04 02:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847986176001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397508908396052480,"note":"Value kept but may cause issues"} 
[2026-09-04 02:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1100567128547231744,"note":"Value kept but may cause issues"} 
[2026-09-04 02:23:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 02:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788468712000,"timestamp_ms":1788468712000,"timestamp_seconds":1788468712,"priority":1,"record_length":96,"hex_timestamp":"000001a0690ad240"} 
[2026-09-04 02:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 02:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":170325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":170325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":170325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847986176001,"66":27300,"16":397508908396052480,"83":41472,"24":22,"44":-1100567128547231744},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-09-04 02:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847986176001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397508908396052480,"km_value":397508908396052.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1100567128547231744,"description":"Unknown IO ID 44"} 
[2026-09-04 02:23:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457847986176001,"power":27300,"odometer":null,"unknown_83":41472,"ignition":22,"unknown_44":-1100567128547231744}} 
[2026-09-04 02:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":170325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:23:12] local.INFO: GPS data processed {"connection_id":170325,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:23:12] local.INFO: Acknowledgment sent {"connection_id":170325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:23:43] local.INFO: TCP Data received {"connection_id":170325,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0690b08f0012cf0738007136a90002401012d..."} 
[2026-09-04 02:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0690b08f0012cf0738007136a90002401012d..."} 
[2026-09-04 02:23:43] local.INFO: Processing buffer {"connection_id":170325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0690b08f0012cf0738007136a90002401012d..."} 
[2026-09-04 02:23:43] local.INFO: Packet analysis {"connection_id":170325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0690b"} 
[2026-09-04 02:23:43] local.INFO: Extracted packet for processing {"connection_id":170325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0690b"} 
[2026-09-04 02:23:43] local.INFO: GPS Element Parsed {"raw_longitude":753955712,"raw_latitude":118712976,"longitude_deg":75.3955712,"latitude_deg":11.8712976,"altitude":36,"angle":257,"satellites":45,"speed":33,"hex_longitude":"2cf07380","hex_latitude":"07136a90","is_valid_coordinates":true} 
[2026-09-04 02:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457847990272001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397509350777683968,"note":"Value kept but may cause issues"} 
[2026-09-04 02:23:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1110489121476612096,"note":"Value kept but may cause issues"} 
[2026-09-04 02:23:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 02:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788468726000,"timestamp_ms":1788468726000,"timestamp_seconds":1788468726,"priority":1,"record_length":96,"hex_timestamp":"000001a0690b08f0"} 
[2026-09-04 02:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 02:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":170325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":170325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":170325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457847990272001,"66":27376,"16":397509350777683968,"83":41472,"24":33,"44":-1110489121476612096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-09-04 02:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457847990272001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397509350777683968,"km_value":397509350777683.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:23:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 02:23:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1110489121476612096,"description":"Unknown IO ID 44"} 
[2026-09-04 02:23:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457847990272001,"power":27376,"odometer":null,"unknown_83":41472,"ignition":33,"unknown_44":-1110489121476612096}} 
[2026-09-04 02:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":170325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:23:43] local.INFO: GPS data processed {"connection_id":170325,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:23:43] local.INFO: Acknowledgment sent {"connection_id":170325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:23:58] local.INFO: TCP Data received {"connection_id":170630,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:23:58] local.INFO: Processing buffer {"connection_id":170630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:23:58] local.INFO: IMEI packet received {"connection_id":170630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":170630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:24:00] local.INFO: TCP Data received {"connection_id":170630,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:24:00] local.INFO: Processing buffer {"connection_id":170630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:24:00] local.INFO: IMEI packet received {"connection_id":170630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":170630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:24:06] local.INFO: TCP Data received {"connection_id":170630,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:24:06] local.INFO: Processing buffer {"connection_id":170630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:24:06] local.INFO: IMEI packet received {"connection_id":170630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":170630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:24:08] local.INFO: TCP Data received {"connection_id":170630,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0690c1290012cef83400713c600001e013624..."} 
[2026-09-04 02:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0690c1290012cef83400713c600001e013624..."} 
[2026-09-04 02:24:08] local.INFO: Processing buffer {"connection_id":170630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0690c1290012cef83400713c600001e013624..."} 
[2026-09-04 02:24:08] local.INFO: Packet analysis {"connection_id":170630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0690c"} 
[2026-09-04 02:24:08] local.INFO: Extracted packet for processing {"connection_id":170630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0690c"} 
[2026-09-04 02:24:08] local.INFO: GPS Element Parsed {"raw_longitude":753894208,"raw_latitude":118736384,"longitude_deg":75.3894208,"latitude_deg":11.8736384,"altitude":30,"angle":310,"satellites":36,"speed":29,"hex_longitude":"2cef8340","hex_latitude":"0713c600","is_valid_coordinates":true} 
[2026-09-04 02:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848008960001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397512580593090560,"note":"Value kept but may cause issues"} 
[2026-09-04 02:24:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1184165196626204672,"note":"Value kept but may cause issues"} 
[2026-09-04 02:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788468794000,"timestamp_ms":1788468794000,"timestamp_seconds":1788468794,"priority":1,"record_length":96,"hex_timestamp":"000001a0690c1290"} 
[2026-09-04 02:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-04 02:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848008960001,"66":27213,"37":206,"83":41216,"24":29,"16":397512580593090560,"44":-1184165196626204672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-09-04 02:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848008960001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:24:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-04 02:24:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397512580593090560,"km_value":397512580593090.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:24:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1184165196626204672,"description":"Unknown IO ID 44"} 
[2026-09-04 02:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848008960001,"power":27213,"unknown_37":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1184165196626204672}} 
[2026-09-04 02:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":170630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:24:08] local.INFO: GPS data processed {"connection_id":170630,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:24:08] local.INFO: Acknowledgment sent {"connection_id":170630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:24:38] local.INFO: TCP Data received {"connection_id":170630,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0690c2230012cef78400713cd30001e012929..."} 
[2026-09-04 02:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0690c2230012cef78400713cd30001e012929..."} 
[2026-09-04 02:24:38] local.INFO: Processing buffer {"connection_id":170630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0690c2230012cef78400713cd30001e012929..."} 
[2026-09-04 02:24:38] local.INFO: Packet analysis {"connection_id":170630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0690c"} 
[2026-09-04 02:24:38] local.INFO: Extracted packet for processing {"connection_id":170630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0690c"} 
[2026-09-04 02:24:38] local.INFO: GPS Element Parsed {"raw_longitude":753891392,"raw_latitude":118738224,"longitude_deg":75.3891392,"latitude_deg":11.8738224,"altitude":30,"angle":297,"satellites":41,"speed":36,"hex_longitude":"2cef7840","hex_latitude":"0713cd30","is_valid_coordinates":true} 
[2026-09-04 02:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848011264001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397512739506880512,"note":"Value kept but may cause issues"} 
[2026-09-04 02:24:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1188035477554987008,"note":"Value kept but may cause issues"} 
[2026-09-04 02:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788468798000,"timestamp_ms":1788468798000,"timestamp_seconds":1788468798,"priority":1,"record_length":96,"hex_timestamp":"000001a0690c2230"} 
[2026-09-04 02:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 02:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848011264001,"66":27267,"37":206,"83":41216,"24":36,"16":397512739506880512,"44":-1188035477554987008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-09-04 02:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848011264001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:24:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-04 02:24:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397512739506880512,"km_value":397512739506880.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:24:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1188035477554987008,"description":"Unknown IO ID 44"} 
[2026-09-04 02:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848011264001,"power":27267,"unknown_37":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1188035477554987008}} 
[2026-09-04 02:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":170630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:24:38] local.INFO: GPS data processed {"connection_id":170630,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:24:38] local.INFO: Acknowledgment sent {"connection_id":170630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:25:01] local.INFO: TCP Data received {"connection_id":170326,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:25:01] local.INFO: Processing buffer {"connection_id":170326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:25:01] local.INFO: IMEI packet received {"connection_id":170326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":170326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:25:02] local.INFO: TCP Data received {"connection_id":170326,"ip":"42.106.6.22","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 02:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170326,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 02:25:02] local.INFO: Processing buffer {"connection_id":170326,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 02:25:02] local.INFO: IMEI packet received {"connection_id":170326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":170326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:25:06] local.INFO: TCP Data received {"connection_id":170326,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:25:06] local.INFO: Processing buffer {"connection_id":170326,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 02:25:06] local.INFO: IMEI packet received {"connection_id":170326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":170326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:25:07] local.INFO: TCP Data received {"connection_id":170326,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0690c2de8012cef6d400713d140001d011c2a..."} 
[2026-09-04 02:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0690c2de8012cef6d400713d140001d011c2a..."} 
[2026-09-04 02:25:07] local.INFO: Processing buffer {"connection_id":170326,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a069..."} 
[2026-09-04 02:25:07] local.INFO: IMEI packet received {"connection_id":170326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":170326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:25:10] local.INFO: TCP Data received {"connection_id":170326,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0690c4940012cef4d800713d460001d011027..."} 
[2026-09-04 02:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0690c4940012cef4d800713d460001d011027..."} 
[2026-09-04 02:25:10] local.INFO: Processing buffer {"connection_id":170326,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0690c2de8012cef6d400713d140001d011c2a..."} 
[2026-09-04 02:25:10] local.INFO: Packet analysis {"connection_id":170326,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0690c"} 
[2026-09-04 02:25:10] local.INFO: Extracted packet for processing {"connection_id":170326,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0690c"} 
[2026-09-04 02:25:10] local.INFO: GPS Element Parsed {"raw_longitude":753888576,"raw_latitude":118739264,"longitude_deg":75.3888576,"latitude_deg":11.8739264,"altitude":29,"angle":284,"satellites":42,"speed":42,"hex_longitude":"2cef6d40","hex_latitude":"0713d140","is_valid_coordinates":true} 
[2026-09-04 02:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848012288001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397512885535768576,"note":"Value kept but may cause issues"} 
[2026-09-04 02:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1191131702298333184,"note":"Value kept but may cause issues"} 
[2026-09-04 02:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788468801000,"timestamp_ms":1788468801000,"timestamp_seconds":1788468801,"priority":1,"record_length":96,"hex_timestamp":"000001a0690c2de8"} 
[2026-09-04 02:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 02:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848012288001,"66":27321,"37":206,"83":41216,"24":42,"16":397512885535768576,"44":-1191131702298333184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-09-04 02:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848012288001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:25:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-04 02:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397512885535768576,"km_value":397512885535768.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1191131702298333184,"description":"Unknown IO ID 44"} 
[2026-09-04 02:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848012288001,"power":27321,"unknown_37":206,"unknown_83":41216,"ignition":42,"odometer":null,"unknown_44":-1191131702298333184}} 
[2026-09-04 02:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":170326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:25:10] local.INFO: GPS data processed {"connection_id":170326,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:25:10] local.INFO: Acknowledgment sent {"connection_id":170326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:25:10] local.INFO: Packet analysis {"connection_id":170326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0690c"} 
[2026-09-04 02:25:10] local.INFO: Extracted packet for processing {"connection_id":170326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0690c"} 
[2026-09-04 02:25:10] local.INFO: GPS Element Parsed {"raw_longitude":753880448,"raw_latitude":118740064,"longitude_deg":75.3880448,"latitude_deg":11.8740064,"altitude":29,"angle":272,"satellites":39,"speed":50,"hex_longitude":"2cef4d80","hex_latitude":"0713d460","is_valid_coordinates":true} 
[2026-09-04 02:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848013056001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397513272082825216,"note":"Value kept but may cause issues"} 
[2026-09-04 02:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1194227927041884160,"note":"Value kept but may cause issues"} 
[2026-09-04 02:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788468808000,"timestamp_ms":1788468808000,"timestamp_seconds":1788468808,"priority":1,"record_length":96,"hex_timestamp":"000001a0690c4940"} 
[2026-09-04 02:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 02:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848013056001,"66":27180,"37":206,"83":41216,"24":50,"16":397513272082825216,"44":-1194227927041884160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-09-04 02:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848013056001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:25:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-04 02:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397513272082825216,"km_value":397513272082825.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1194227927041884160,"description":"Unknown IO ID 44"} 
[2026-09-04 02:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848013056001,"power":27180,"unknown_37":206,"unknown_83":41216,"ignition":50,"odometer":null,"unknown_44":-1194227927041884160}} 
[2026-09-04 02:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":170326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:25:10] local.INFO: GPS data processed {"connection_id":170326,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:25:10] local.INFO: Acknowledgment sent {"connection_id":170326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:25:42] local.INFO: TCP Data received {"connection_id":170326,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0690c6498012cef28800713d690001e01122b..."} 
[2026-09-04 02:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0690c6498012cef28800713d690001e01122b..."} 
[2026-09-04 02:25:42] local.INFO: Processing buffer {"connection_id":170326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0690c6498012cef28800713d690001e01122b..."} 
[2026-09-04 02:25:42] local.INFO: Packet analysis {"connection_id":170326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0690c"} 
[2026-09-04 02:25:42] local.INFO: Extracted packet for processing {"connection_id":170326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0690c"} 
[2026-09-04 02:25:42] local.INFO: GPS Element Parsed {"raw_longitude":753870976,"raw_latitude":118740624,"longitude_deg":75.3870976,"latitude_deg":11.8740624,"altitude":30,"angle":274,"satellites":43,"speed":54,"hex_longitude":"2cef2880","hex_latitude":"0713d690","is_valid_coordinates":true} 
[2026-09-04 02:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848014848001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397513718759424000,"note":"Value kept but may cause issues"} 
[2026-09-04 02:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1203164757552242688,"note":"Value kept but may cause issues"} 
[2026-09-04 02:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788468815000,"timestamp_ms":1788468815000,"timestamp_seconds":1788468815,"priority":1,"record_length":96,"hex_timestamp":"000001a0690c6498"} 
[2026-09-04 02:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 02:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848014848001,"66":27321,"38":206,"83":41216,"24":54,"16":397513718759424000,"44":-1203164757552242688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-04 02:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848014848001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:25:42] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-04 02:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397513718759424000,"km_value":397513718759424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1203164757552242688,"description":"Unknown IO ID 44"} 
[2026-09-04 02:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848014848001,"power":27321,"unknown_38":206,"unknown_83":41216,"ignition":54,"odometer":null,"unknown_44":-1203164757552242688}} 
[2026-09-04 02:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":170326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:25:42] local.INFO: GPS data processed {"connection_id":170326,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:25:42] local.INFO: Acknowledgment sent {"connection_id":170326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:26:00] local.INFO: TCP Data received {"connection_id":173036,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:26:00] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:26:00] local.INFO: IMEI packet received {"connection_id":173036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":173036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:26:01] local.INFO: TCP Data received {"connection_id":173036,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:26:01] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:26:01] local.INFO: IMEI packet received {"connection_id":173036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":173036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:26:06] local.INFO: TCP Data received {"connection_id":173036,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:26:06] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:26:06] local.INFO: IMEI packet received {"connection_id":173036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":173036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:26:06] local.INFO: TCP Data received {"connection_id":173036,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0690db488012cedb8c00713e7080023010e21..."} 
[2026-09-04 02:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0690db488012cedb8c00713e7080023010e21..."} 
[2026-09-04 02:26:06] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0690db488012cedb8c00713e7080023010e21..."} 
[2026-09-04 02:26:06] local.INFO: Packet analysis {"connection_id":173036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0690d"} 
[2026-09-04 02:26:06] local.INFO: Extracted packet for processing {"connection_id":173036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0690d"} 
[2026-09-04 02:26:06] local.INFO: GPS Element Parsed {"raw_longitude":753776832,"raw_latitude":118744840,"longitude_deg":75.3776832,"latitude_deg":11.874484,"altitude":35,"angle":270,"satellites":33,"speed":54,"hex_longitude":"2cedb8c0","hex_latitude":"0713e708","is_valid_coordinates":true} 
[2026-09-04 02:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848036864001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397518211295215616,"note":"Value kept but may cause issues"} 
[2026-09-04 02:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1306817917724821504,"note":"Value kept but may cause issues"} 
[2026-09-04 02:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788468901000,"timestamp_ms":1788468901000,"timestamp_seconds":1788468901,"priority":1,"record_length":96,"hex_timestamp":"000001a0690db488"} 
[2026-09-04 02:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 02:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848036864001,"66":27213,"26":206,"83":41216,"24":54,"16":397518211295215616,"44":-1306817917724821504},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-09-04 02:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848036864001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:26:06] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-04 02:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397518211295215616,"km_value":397518211295215.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1306817917724821504,"description":"Unknown IO ID 44"} 
[2026-09-04 02:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848036864001,"power":27213,"unknown_26":206,"unknown_83":41216,"ignition":54,"odometer":null,"unknown_44":-1306817917724821504}} 
[2026-09-04 02:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":173036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:26:06] local.INFO: GPS data processed {"connection_id":173036,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:26:06] local.INFO: Acknowledgment sent {"connection_id":173036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:26:38] local.INFO: TCP Data received {"connection_id":173036,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0690e8b60012ced1340071427d8001500042e..."} 
[2026-09-04 02:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0690e8b60012ced1340071427d8001500042e..."} 
[2026-09-04 02:26:38] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0690e8b60012ced1340071427d8001500042e..."} 
[2026-09-04 02:26:38] local.INFO: Packet analysis {"connection_id":173036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0690e"} 
[2026-09-04 02:26:38] local.INFO: Extracted packet for processing {"connection_id":173036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0690e"} 
[2026-09-04 02:26:38] local.INFO: GPS Element Parsed {"raw_longitude":753734464,"raw_latitude":118761432,"longitude_deg":75.3734464,"latitude_deg":11.8761432,"altitude":21,"angle":4,"satellites":46,"speed":12,"hex_longitude":"2ced1340","hex_latitude":"071427d8","is_valid_coordinates":true} 
[2026-09-04 02:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848052480001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397520577822195712,"note":"Value kept but may cause issues"} 
[2026-09-04 02:26:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363675863016112128,"note":"Value kept but may cause issues"} 
[2026-09-04 02:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788468956000,"timestamp_ms":1788468956000,"timestamp_seconds":1788468956,"priority":1,"record_length":96,"hex_timestamp":"000001a0690e8b60"} 
[2026-09-04 02:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 02:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848052480001,"66":27234,"27":206,"83":41216,"24":12,"16":397520577822195712,"44":-1363675863016112128},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 02:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848052480001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:26:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 02:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397520577822195712,"km_value":397520577822195.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:26:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363675863016112128,"description":"Unknown IO ID 44"} 
[2026-09-04 02:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848052480001,"power":27234,"unknown_27":206,"unknown_83":41216,"ignition":12,"odometer":null,"unknown_44":-1363675863016112128}} 
[2026-09-04 02:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":173036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:26:38] local.INFO: GPS data processed {"connection_id":173036,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:26:38] local.INFO: Acknowledgment sent {"connection_id":173036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:27:00] local.INFO: TCP Data received {"connection_id":171720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:27:00] local.INFO: Processing buffer {"connection_id":171720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:27:00] local.INFO: IMEI packet received {"connection_id":171720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":171720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:27:03] local.INFO: TCP Data received {"connection_id":171720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:27:03] local.INFO: Processing buffer {"connection_id":171720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:27:03] local.INFO: IMEI packet received {"connection_id":171720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":171720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:27:05] local.INFO: TCP Data received {"connection_id":171720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:27:05] local.INFO: Processing buffer {"connection_id":171720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:27:05] local.INFO: IMEI packet received {"connection_id":171720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":171720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:27:07] local.INFO: TCP Data received {"connection_id":171720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0690e8f48012ced138007142928001500172f..."} 
[2026-09-04 02:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0690e8f48012ced138007142928001500172f..."} 
[2026-09-04 02:27:07] local.INFO: Processing buffer {"connection_id":171720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0690e8f48012ced138007142928001500172f..."} 
[2026-09-04 02:27:07] local.INFO: Packet analysis {"connection_id":171720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0690e"} 
[2026-09-04 02:27:07] local.INFO: Extracted packet for processing {"connection_id":171720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0690e"} 
[2026-09-04 02:27:07] local.INFO: GPS Element Parsed {"raw_longitude":753734528,"raw_latitude":118761768,"longitude_deg":75.3734528,"latitude_deg":11.8761768,"altitude":21,"angle":23,"satellites":47,"speed":14,"hex_longitude":"2ced1380","hex_latitude":"07142928","is_valid_coordinates":true} 
[2026-09-04 02:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848052736001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397520595002064896,"note":"Value kept but may cause issues"} 
[2026-09-04 02:27:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363675863016024064,"note":"Value kept but may cause issues"} 
[2026-09-04 02:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788468957000,"timestamp_ms":1788468957000,"timestamp_seconds":1788468957,"priority":1,"record_length":96,"hex_timestamp":"000001a0690e8f48"} 
[2026-09-04 02:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 02:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848052736001,"66":27234,"27":206,"83":41216,"24":14,"16":397520595002064896,"44":-1363675863016024064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 02:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848052736001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:27:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 02:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397520595002064896,"km_value":397520595002064.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:27:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363675863016024064,"description":"Unknown IO ID 44"} 
[2026-09-04 02:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848052736001,"power":27234,"unknown_27":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1363675863016024064}} 
[2026-09-04 02:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":171720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:27:07] local.INFO: GPS data processed {"connection_id":171720,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:27:07] local.INFO: Acknowledgment sent {"connection_id":171720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:27:31] local.INFO: TCP Data received {"connection_id":173037,"ip":"85.217.149.38","data_length":8,"data_hex":"3030303030303030..."} 
[2026-09-04 02:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173037,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-09-04 02:27:31] local.INFO: Processing buffer {"connection_id":173037,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-09-04 02:27:37] local.INFO: TCP Data received {"connection_id":171720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0690e9330012ced140007142a58001400232f..."} 
[2026-09-04 02:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0690e9330012ced140007142a58001400232f..."} 
[2026-09-04 02:27:37] local.INFO: Processing buffer {"connection_id":171720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0690e9330012ced140007142a58001400232f..."} 
[2026-09-04 02:27:37] local.INFO: Packet analysis {"connection_id":171720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0690e"} 
[2026-09-04 02:27:37] local.INFO: Extracted packet for processing {"connection_id":171720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0690e"} 
[2026-09-04 02:27:37] local.INFO: GPS Element Parsed {"raw_longitude":753734656,"raw_latitude":118762072,"longitude_deg":75.3734656,"latitude_deg":11.8762072,"altitude":20,"angle":35,"satellites":47,"speed":12,"hex_longitude":"2ced1400","hex_latitude":"07142a58","is_valid_coordinates":true} 
[2026-09-04 02:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848052992001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397520612181934080,"note":"Value kept but may cause issues"} 
[2026-09-04 02:27:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363605494271760384,"note":"Value kept but may cause issues"} 
[2026-09-04 02:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788468958000,"timestamp_ms":1788468958000,"timestamp_seconds":1788468958,"priority":1,"record_length":96,"hex_timestamp":"000001a0690e9330"} 
[2026-09-04 02:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 02:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848052992001,"66":27234,"27":206,"83":41216,"24":12,"16":397520612181934080,"44":-1363605494271760384},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 02:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848052992001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:27:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 02:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397520612181934080,"km_value":397520612181934.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:27:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363605494271760384,"description":"Unknown IO ID 44"} 
[2026-09-04 02:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848052992001,"power":27234,"unknown_27":206,"unknown_83":41216,"ignition":12,"odometer":null,"unknown_44":-1363605494271760384}} 
[2026-09-04 02:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":171720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:27:37] local.INFO: GPS data processed {"connection_id":171720,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:27:37] local.INFO: Acknowledgment sent {"connection_id":171720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:28:00] local.INFO: TCP Data received {"connection_id":170632,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:28:00] local.INFO: Processing buffer {"connection_id":170632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:28:00] local.INFO: IMEI packet received {"connection_id":170632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":170632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:28:05] local.INFO: TCP Data received {"connection_id":170632,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:28:05] local.INFO: Processing buffer {"connection_id":170632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:28:05] local.INFO: IMEI packet received {"connection_id":170632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":170632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:28:11] local.INFO: TCP Data received {"connection_id":170632,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0690ea6b8012ced184007142e900014002f2f..."} 
[2026-09-04 02:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0690ea6b8012ced184007142e900014002f2f..."} 
[2026-09-04 02:28:11] local.INFO: Processing buffer {"connection_id":170632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0690ea6b8012ced184007142e900014002f2f..."} 
[2026-09-04 02:28:11] local.INFO: Packet analysis {"connection_id":170632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0690e"} 
[2026-09-04 02:28:11] local.INFO: Extracted packet for processing {"connection_id":170632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0690e"} 
[2026-09-04 02:28:11] local.INFO: GPS Element Parsed {"raw_longitude":753735744,"raw_latitude":118763152,"longitude_deg":75.3735744,"latitude_deg":11.8763152,"altitude":20,"angle":47,"satellites":47,"speed":10,"hex_longitude":"2ced1840","hex_latitude":"07142e90","is_valid_coordinates":true} 
[2026-09-04 02:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848053248001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397520685196378112,"note":"Value kept but may cause issues"} 
[2026-09-04 02:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363464756783327232,"note":"Value kept but may cause issues"} 
[2026-09-04 02:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788468963000,"timestamp_ms":1788468963000,"timestamp_seconds":1788468963,"priority":1,"record_length":96,"hex_timestamp":"000001a0690ea6b8"} 
[2026-09-04 02:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 02:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848053248001,"66":27234,"27":206,"83":41216,"24":10,"16":397520685196378112,"44":-1363464756783327232},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 02:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848053248001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:28:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 02:28:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397520685196378112,"km_value":397520685196378.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363464756783327232,"description":"Unknown IO ID 44"} 
[2026-09-04 02:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848053248001,"power":27234,"unknown_27":206,"unknown_83":41216,"ignition":10,"odometer":null,"unknown_44":-1363464756783327232}} 
[2026-09-04 02:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":170632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:28:11] local.INFO: GPS data processed {"connection_id":170632,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:28:11] local.INFO: Acknowledgment sent {"connection_id":170632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:28:39] local.INFO: TCP Data received {"connection_id":173038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:28:39] local.INFO: Processing buffer {"connection_id":173038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:28:39] local.INFO: IMEI packet received {"connection_id":173038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":173038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:28:42] local.INFO: TCP Data received {"connection_id":170632,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691019d0012cecf98007157d30001301472a..."} 
[2026-09-04 02:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691019d0012cecf98007157d30001301472a..."} 
[2026-09-04 02:28:42] local.INFO: Processing buffer {"connection_id":170632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691019d0012cecf98007157d30001301472a..."} 
[2026-09-04 02:28:42] local.INFO: Packet analysis {"connection_id":170632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06910"} 
[2026-09-04 02:28:42] local.INFO: Extracted packet for processing {"connection_id":170632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06910"} 
[2026-09-04 02:28:42] local.INFO: GPS Element Parsed {"raw_longitude":753727872,"raw_latitude":118848816,"longitude_deg":75.3727872,"latitude_deg":11.8848816,"altitude":19,"angle":327,"satellites":42,"speed":39,"hex_longitude":"2cecf980","hex_latitude":"07157d30","is_valid_coordinates":true} 
[2026-09-04 02:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848076800001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397525083242889216,"note":"Value kept but may cause issues"} 
[2026-09-04 02:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1366983193971843072,"note":"Value kept but may cause issues"} 
[2026-09-04 02:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788469058000,"timestamp_ms":1788469058000,"timestamp_seconds":1788469058,"priority":1,"record_length":96,"hex_timestamp":"000001a0691019d0"} 
[2026-09-04 02:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 02:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848076800001,"66":27343,"192":206,"83":41216,"24":39,"16":397525083242889216,"44":-1366983193971843072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-04 02:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848076800001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:28:42] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-04 02:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397525083242889216,"km_value":397525083242889.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1366983193971843072,"description":"Unknown IO ID 44"} 
[2026-09-04 02:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848076800001,"power":27343,"unknown_192":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1366983193971843072}} 
[2026-09-04 02:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":170632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:28:42] local.INFO: GPS data processed {"connection_id":170632,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:28:42] local.INFO: Acknowledgment sent {"connection_id":170632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:29:06] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:29:06] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:29:06] local.INFO: IMEI packet received {"connection_id":171721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":171721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:29:06] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:29:06] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:29:06] local.INFO: IMEI packet received {"connection_id":171721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":171721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:29:07] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069103cf8012cece7c007159bd00013014e29..."} 
[2026-09-04 02:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069103cf8012cece7c007159bd00013014e29..."} 
[2026-09-04 02:29:07] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069103cf8012cece7c007159bd00013014e29..."} 
[2026-09-04 02:29:07] local.INFO: Packet analysis {"connection_id":171721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06910"} 
[2026-09-04 02:29:07] local.INFO: Extracted packet for processing {"connection_id":171721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06910"} 
[2026-09-04 02:29:07] local.INFO: GPS Element Parsed {"raw_longitude":753723328,"raw_latitude":118856656,"longitude_deg":75.3723328,"latitude_deg":11.8856656,"altitude":19,"angle":334,"satellites":41,"speed":39,"hex_longitude":"2cece7c0","hex_latitude":"07159bd0","is_valid_coordinates":true} 
[2026-09-04 02:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848078848001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397525521329553408,"note":"Value kept but may cause issues"} 
[2026-09-04 02:29:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1370923843643953152,"note":"Value kept but may cause issues"} 
[2026-09-04 02:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788469067000,"timestamp_ms":1788469067000,"timestamp_seconds":1788469067,"priority":1,"record_length":96,"hex_timestamp":"000001a069103cf8"} 
[2026-09-04 02:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 02:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848078848001,"66":27332,"192":206,"83":41216,"24":39,"16":397525521329553408,"44":-1370923843643953152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-04 02:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848078848001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:29:07] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-04 02:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397525521329553408,"km_value":397525521329553.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:29:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1370923843643953152,"description":"Unknown IO ID 44"} 
[2026-09-04 02:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848078848001,"power":27332,"unknown_192":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1370923843643953152}} 
[2026-09-04 02:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":171721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:29:07] local.INFO: GPS data processed {"connection_id":171721,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:29:07] local.INFO: Acknowledgment sent {"connection_id":171721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:29:11] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069106408012cecd8800715be180017015226..."} 
[2026-09-04 02:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069106408012cecd8800715be180017015226..."} 
[2026-09-04 02:29:11] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069106408012cecd8800715be180017015226..."} 
[2026-09-04 02:29:11] local.INFO: Packet analysis {"connection_id":171721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06910"} 
[2026-09-04 02:29:11] local.INFO: Extracted packet for processing {"connection_id":171721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06910"} 
[2026-09-04 02:29:11] local.INFO: GPS Element Parsed {"raw_longitude":753719424,"raw_latitude":118865432,"longitude_deg":75.3719424,"latitude_deg":11.8865432,"altitude":23,"angle":338,"satellites":38,"speed":32,"hex_longitude":"2cecd880","hex_latitude":"0715be18","is_valid_coordinates":true} 
[2026-09-04 02:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848081152001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397525985186021376,"note":"Value kept but may cause issues"} 
[2026-09-04 02:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1375920024478560256,"note":"Value kept but may cause issues"} 
[2026-09-04 02:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788469077000,"timestamp_ms":1788469077000,"timestamp_seconds":1788469077,"priority":1,"record_length":96,"hex_timestamp":"000001a069106408"} 
[2026-09-04 02:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 02:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848081152001,"66":27365,"192":206,"83":41216,"24":32,"16":397525985186021376,"44":-1375920024478560256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-04 02:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848081152001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:29:11] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-04 02:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397525985186021376,"km_value":397525985186021.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1375920024478560256,"description":"Unknown IO ID 44"} 
[2026-09-04 02:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848081152001,"power":27365,"unknown_192":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1375920024478560256}} 
[2026-09-04 02:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":171721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:29:11] local.INFO: GPS data processed {"connection_id":171721,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:29:11] local.INFO: Acknowledgment sent {"connection_id":171721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:29:42] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069108f00012cecc9800715df50001b014e2b..."} 
[2026-09-04 02:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069108f00012cecc9800715df50001b014e2b..."} 
[2026-09-04 02:29:42] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069108f00012cecc9800715df50001b014e2b..."} 
[2026-09-04 02:29:42] local.INFO: Packet analysis {"connection_id":171721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06910"} 
[2026-09-04 02:29:42] local.INFO: Extracted packet for processing {"connection_id":171721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06910"} 
[2026-09-04 02:29:42] local.INFO: GPS Element Parsed {"raw_longitude":753715584,"raw_latitude":118873936,"longitude_deg":75.3715584,"latitude_deg":11.8873936,"altitude":27,"angle":334,"satellites":43,"speed":37,"hex_longitude":"2cecc980","hex_latitude":"0715df50","is_valid_coordinates":true} 
[2026-09-04 02:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848083712001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397526436157587456,"note":"Value kept but may cause issues"} 
[2026-09-04 02:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1380212517871151104,"note":"Value kept but may cause issues"} 
[2026-09-04 02:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788469088000,"timestamp_ms":1788469088000,"timestamp_seconds":1788469088,"priority":1,"record_length":96,"hex_timestamp":"000001a069108f00"} 
[2026-09-04 02:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 02:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848083712001,"66":27343,"192":206,"83":41216,"24":37,"16":397526436157587456,"44":-1380212517871151104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-04 02:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848083712001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:29:42] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-04 02:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397526436157587456,"km_value":397526436157587.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1380212517871151104,"description":"Unknown IO ID 44"} 
[2026-09-04 02:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848083712001,"power":27343,"unknown_192":206,"unknown_83":41216,"ignition":37,"odometer":null,"unknown_44":-1380212517871151104}} 
[2026-09-04 02:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":171721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:29:42] local.INFO: GPS data processed {"connection_id":171721,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:29:42] local.INFO: Acknowledgment sent {"connection_id":171721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:30:02] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:30:02] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:30:02] local.INFO: IMEI packet received {"connection_id":171722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":171722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:30:06] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:30:06] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:30:06] local.INFO: IMEI packet received {"connection_id":171722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":171722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:30:07] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06910b9f8012cecb40007160390001c01432d..."} 
[2026-09-04 02:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06910b9f8012cecb40007160390001c01432d..."} 
[2026-09-04 02:30:07] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06910b9f8012cecb40007160390001c01432d..."} 
[2026-09-04 02:30:07] local.INFO: Packet analysis {"connection_id":171722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06910"} 
[2026-09-04 02:30:07] local.INFO: Extracted packet for processing {"connection_id":171722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06910"} 
[2026-09-04 02:30:07] local.INFO: GPS Element Parsed {"raw_longitude":753710080,"raw_latitude":118883216,"longitude_deg":75.371008,"latitude_deg":11.8883216,"altitude":28,"angle":323,"satellites":45,"speed":40,"hex_longitude":"2cecb400","hex_latitude":"07160390","is_valid_coordinates":true} 
[2026-09-04 02:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848086528001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397526955848630272,"note":"Value kept but may cause issues"} 
[2026-09-04 02:30:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1384434642519633920,"note":"Value kept but may cause issues"} 
[2026-09-04 02:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788469099000,"timestamp_ms":1788469099000,"timestamp_seconds":1788469099,"priority":1,"record_length":96,"hex_timestamp":"000001a06910b9f8"} 
[2026-09-04 02:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 02:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848086528001,"66":27245,"192":206,"83":41216,"24":40,"16":397526955848630272,"44":-1384434642519633920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-04 02:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848086528001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:30:07] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-04 02:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397526955848630272,"km_value":397526955848630.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:30:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1384434642519633920,"description":"Unknown IO ID 44"} 
[2026-09-04 02:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848086528001,"power":27245,"unknown_192":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1384434642519633920}} 
[2026-09-04 02:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":171722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:30:07] local.INFO: GPS data processed {"connection_id":171722,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:30:07] local.INFO: Acknowledgment sent {"connection_id":171722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:30:09] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06910b9f8012cecb40007160390001c01432d..."} 
[2026-09-04 02:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06910b9f8012cecb40007160390001c01432d..."} 
[2026-09-04 02:30:09] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06910b9f8012cecb40007160390001c01432d..."} 
[2026-09-04 02:30:09] local.INFO: Packet analysis {"connection_id":171722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06910"} 
[2026-09-04 02:30:09] local.INFO: Extracted packet for processing {"connection_id":171722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06910"} 
[2026-09-04 02:30:09] local.INFO: GPS Element Parsed {"raw_longitude":753710080,"raw_latitude":118883216,"longitude_deg":75.371008,"latitude_deg":11.8883216,"altitude":28,"angle":323,"satellites":45,"speed":40,"hex_longitude":"2cecb400","hex_latitude":"07160390","is_valid_coordinates":true} 
[2026-09-04 02:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848089344001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397526955848630272,"note":"Value kept but may cause issues"} 
[2026-09-04 02:30:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1390486354516537344,"note":"Value kept but may cause issues"} 
[2026-09-04 02:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788469099000,"timestamp_ms":1788469099000,"timestamp_seconds":1788469099,"priority":1,"record_length":96,"hex_timestamp":"000001a06910b9f8"} 
[2026-09-04 02:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 02:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848089344001,"66":27245,"192":206,"83":41216,"24":40,"16":397526955848630272,"44":-1390486354516537344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-04 02:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848089344001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:30:09] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-04 02:30:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397526955848630272,"km_value":397526955848630.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:30:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1390486354516537344,"description":"Unknown IO ID 44"} 
[2026-09-04 02:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848089344001,"power":27245,"unknown_192":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1390486354516537344}} 
[2026-09-04 02:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":171722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:30:09] local.INFO: GPS data processed {"connection_id":171722,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:30:09] local.INFO: Acknowledgment sent {"connection_id":171722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:30:45] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06910e108012cec9d0007162140001c01412a..."} 
[2026-09-04 02:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06910e108012cec9d0007162140001c01412a..."} 
[2026-09-04 02:30:45] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06910e108012cec9d0007162140001c01412a..."} 
[2026-09-04 02:30:45] local.INFO: Packet analysis {"connection_id":171722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06910"} 
[2026-09-04 02:30:45] local.INFO: Extracted packet for processing {"connection_id":171722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06910"} 
[2026-09-04 02:30:45] local.INFO: GPS Element Parsed {"raw_longitude":753704192,"raw_latitude":118890816,"longitude_deg":75.3704192,"latitude_deg":11.8890816,"altitude":28,"angle":321,"satellites":42,"speed":38,"hex_longitude":"2cec9d00","hex_latitude":"07162140","is_valid_coordinates":true} 
[2026-09-04 02:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848089344001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397527419705098240,"note":"Value kept but may cause issues"} 
[2026-09-04 02:30:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1390486354516537344,"note":"Value kept but may cause issues"} 
[2026-09-04 02:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788469109000,"timestamp_ms":1788469109000,"timestamp_seconds":1788469109,"priority":1,"record_length":96,"hex_timestamp":"000001a06910e108"} 
[2026-09-04 02:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 02:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":171722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":171722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":171722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848089344001,"66":27397,"193":206,"83":41216,"24":38,"16":397527419705098240,"44":-1390486354516537344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-09-04 02:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848089344001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:30:45] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-04 02:30:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397527419705098240,"km_value":397527419705098.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:30:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1390486354516537344,"description":"Unknown IO ID 44"} 
[2026-09-04 02:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848089344001,"power":27397,"unknown_193":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1390486354516537344}} 
[2026-09-04 02:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":171722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:30:45] local.INFO: GPS data processed {"connection_id":171722,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:30:45] local.INFO: Acknowledgment sent {"connection_id":171722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:31:00] local.INFO: TCP Data received {"connection_id":170327,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:31:00] local.INFO: Processing buffer {"connection_id":170327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:31:00] local.INFO: IMEI packet received {"connection_id":170327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":170327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:31:00] local.INFO: TCP Data received {"connection_id":170327,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:31:00] local.INFO: Processing buffer {"connection_id":170327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:31:00] local.INFO: IMEI packet received {"connection_id":170327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":170327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:31:06] local.INFO: TCP Data received {"connection_id":170327,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:31:06] local.INFO: Processing buffer {"connection_id":170327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:31:06] local.INFO: IMEI packet received {"connection_id":170327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":170327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:31:06] local.INFO: TCP Data received {"connection_id":170327,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069110048012cec89c007163a300019014d28..."} 
[2026-09-04 02:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069110048012cec89c007163a300019014d28..."} 
[2026-09-04 02:31:06] local.INFO: Processing buffer {"connection_id":170327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069110048012cec89c007163a300019014d28..."} 
[2026-09-04 02:31:06] local.INFO: Packet analysis {"connection_id":170327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06911"} 
[2026-09-04 02:31:06] local.INFO: Extracted packet for processing {"connection_id":170327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06911"} 
[2026-09-04 02:31:06] local.INFO: GPS Element Parsed {"raw_longitude":753699264,"raw_latitude":118897200,"longitude_deg":75.3699264,"latitude_deg":11.88972,"altitude":25,"angle":333,"satellites":40,"speed":41,"hex_longitude":"2cec89c0","hex_latitude":"07163a30","is_valid_coordinates":true} 
[2026-09-04 02:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848091904001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397527810547122176,"note":"Value kept but may cause issues"} 
[2026-09-04 02:31:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1396960278978936832,"note":"Value kept but may cause issues"} 
[2026-09-04 02:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788469117000,"timestamp_ms":1788469117000,"timestamp_seconds":1788469117,"priority":1,"record_length":96,"hex_timestamp":"000001a069110048"} 
[2026-09-04 02:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 02:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848091904001,"66":27343,"193":206,"83":41216,"24":41,"16":397527810547122176,"44":-1396960278978936832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-09-04 02:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848091904001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:31:06] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-04 02:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397527810547122176,"km_value":397527810547122.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:31:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1396960278978936832,"description":"Unknown IO ID 44"} 
[2026-09-04 02:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848091904001,"power":27343,"unknown_193":206,"unknown_83":41216,"ignition":41,"odometer":null,"unknown_44":-1396960278978936832}} 
[2026-09-04 02:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":170327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:31:06] local.INFO: GPS data processed {"connection_id":170327,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:31:06] local.INFO: Acknowledgment sent {"connection_id":170327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:31:37] local.INFO: TCP Data received {"connection_id":170327,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06912e4a8012cec51400717bef8001f00032b..."} 
[2026-09-04 02:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06912e4a8012cec51400717bef8001f00032b..."} 
[2026-09-04 02:31:37] local.INFO: Processing buffer {"connection_id":170327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06912e4a8012cec51400717bef8001f00032b..."} 
[2026-09-04 02:31:37] local.INFO: Packet analysis {"connection_id":170327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06912"} 
[2026-09-04 02:31:37] local.INFO: Extracted packet for processing {"connection_id":170327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06912"} 
[2026-09-04 02:31:37] local.INFO: GPS Element Parsed {"raw_longitude":753684800,"raw_latitude":118996728,"longitude_deg":75.36848,"latitude_deg":11.8996728,"altitude":31,"angle":3,"satellites":43,"speed":41,"hex_longitude":"2cec5140","hex_latitude":"0717bef8","is_valid_coordinates":true} 
[2026-09-04 02:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848123392001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397532784119250944,"note":"Value kept but may cause issues"} 
[2026-09-04 02:31:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418844958393427968,"note":"Value kept but may cause issues"} 
[2026-09-04 02:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788469241000,"timestamp_ms":1788469241000,"timestamp_seconds":1788469241,"priority":1,"record_length":96,"hex_timestamp":"000001a06912e4a8"} 
[2026-09-04 02:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 02:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848123392001,"66":27267,"116":206,"83":41216,"24":41,"16":397532784119250944,"44":-1418844958393427968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-04 02:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848123392001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:31:37] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-04 02:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397532784119250944,"km_value":397532784119250.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:31:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418844958393427968,"description":"Unknown IO ID 44"} 
[2026-09-04 02:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848123392001,"power":27267,"unknown_116":206,"unknown_83":41216,"ignition":41,"odometer":null,"unknown_44":-1418844958393427968}} 
[2026-09-04 02:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":170327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:31:37] local.INFO: GPS data processed {"connection_id":170327,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:31:37] local.INFO: Acknowledgment sent {"connection_id":170327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:32:06] local.INFO: TCP Data received {"connection_id":171724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:32:06] local.INFO: Processing buffer {"connection_id":171724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:32:06] local.INFO: IMEI packet received {"connection_id":171724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":171724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:32:06] local.INFO: TCP Data received {"connection_id":171724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:32:06] local.INFO: Processing buffer {"connection_id":171724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:32:06] local.INFO: IMEI packet received {"connection_id":171724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":171724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:32:11] local.INFO: TCP Data received {"connection_id":171724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:32:11] local.INFO: Processing buffer {"connection_id":171724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:32:11] local.INFO: IMEI packet received {"connection_id":171724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":171724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:32:11] local.INFO: TCP Data received {"connection_id":171724,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691303e8012cec55000717e168001d00082d..."} 
[2026-09-04 02:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691303e8012cec55000717e168001d00082d..."} 
[2026-09-04 02:32:11] local.INFO: Processing buffer {"connection_id":171724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691303e8012cec55000717e168001d00082d..."} 
[2026-09-04 02:32:11] local.INFO: Packet analysis {"connection_id":171724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06913"} 
[2026-09-04 02:32:11] local.INFO: Extracted packet for processing {"connection_id":171724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06913"} 
[2026-09-04 02:32:11] local.INFO: GPS Element Parsed {"raw_longitude":753685760,"raw_latitude":119005544,"longitude_deg":75.368576,"latitude_deg":11.9005544,"altitude":29,"angle":8,"satellites":45,"speed":43,"hex_longitude":"2cec5500","hex_latitude":"0717e168","is_valid_coordinates":true} 
[2026-09-04 02:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848125696001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397533213615980544,"note":"Value kept but may cause issues"} 
[2026-09-04 02:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418282008437655552,"note":"Value kept but may cause issues"} 
[2026-09-04 02:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788469249000,"timestamp_ms":1788469249000,"timestamp_seconds":1788469249,"priority":1,"record_length":96,"hex_timestamp":"000001a0691303e8"} 
[2026-09-04 02:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 02:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848125696001,"66":27245,"116":206,"83":41216,"24":43,"16":397533213615980544,"44":-1418282008437655552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-04 02:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848125696001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:32:11] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-04 02:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397533213615980544,"km_value":397533213615980.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418282008437655552,"description":"Unknown IO ID 44"} 
[2026-09-04 02:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848125696001,"power":27245,"unknown_116":206,"unknown_83":41216,"ignition":43,"odometer":null,"unknown_44":-1418282008437655552}} 
[2026-09-04 02:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":171724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:32:11] local.INFO: GPS data processed {"connection_id":171724,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:32:11] local.INFO: Acknowledgment sent {"connection_id":171724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:32:42] local.INFO: TCP Data received {"connection_id":171724,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069132710012cec5ac007180668001e00092b..."} 
[2026-09-04 02:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069132710012cec5ac007180668001e00092b..."} 
[2026-09-04 02:32:42] local.INFO: Processing buffer {"connection_id":171724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069132710012cec5ac007180668001e00092b..."} 
[2026-09-04 02:32:42] local.INFO: Packet analysis {"connection_id":171724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06913"} 
[2026-09-04 02:32:42] local.INFO: Extracted packet for processing {"connection_id":171724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06913"} 
[2026-09-04 02:32:42] local.INFO: GPS Element Parsed {"raw_longitude":753687232,"raw_latitude":119015016,"longitude_deg":75.3687232,"latitude_deg":11.9015016,"altitude":30,"angle":9,"satellites":43,"speed":38,"hex_longitude":"2cec5ac0","hex_latitude":"07180668","is_valid_coordinates":true} 
[2026-09-04 02:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848127744001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397533677472448512,"note":"Value kept but may cause issues"} 
[2026-09-04 02:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1417226477272733696,"note":"Value kept but may cause issues"} 
[2026-09-04 02:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788469258000,"timestamp_ms":1788469258000,"timestamp_seconds":1788469258,"priority":1,"record_length":96,"hex_timestamp":"000001a069132710"} 
[2026-09-04 02:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 02:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848127744001,"66":27332,"115":206,"83":41216,"24":38,"16":397533677472448512,"44":-1417226477272733696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-09-04 02:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848127744001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:32:42] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-04 02:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397533677472448512,"km_value":397533677472448.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1417226477272733696,"description":"Unknown IO ID 44"} 
[2026-09-04 02:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848127744001,"power":27332,"unknown_115":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1417226477272733696}} 
[2026-09-04 02:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":171724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:32:42] local.INFO: GPS data processed {"connection_id":171724,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:32:42] local.INFO: Acknowledgment sent {"connection_id":171724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:33:00] local.INFO: TCP Data received {"connection_id":170634,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:33:00] local.INFO: Processing buffer {"connection_id":170634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:33:00] local.INFO: IMEI packet received {"connection_id":170634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":170634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:33:01] local.INFO: TCP Data received {"connection_id":170634,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:33:01] local.INFO: Processing buffer {"connection_id":170634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:33:01] local.INFO: IMEI packet received {"connection_id":170634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":170634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:33:04] local.INFO: TCP Data received {"connection_id":170634,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:33:04] local.INFO: Processing buffer {"connection_id":170634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:33:04] local.INFO: IMEI packet received {"connection_id":170634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":170634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:33:05] local.INFO: TCP Data received {"connection_id":170634,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:33:05] local.INFO: Processing buffer {"connection_id":170634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:33:05] local.INFO: IMEI packet received {"connection_id":170634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":170634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:33:06] local.INFO: TCP Data received {"connection_id":170634,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069143880012cec1a80071912c0001f013e29..."} 
[2026-09-04 02:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069143880012cec1a80071912c0001f013e29..."} 
[2026-09-04 02:33:06] local.INFO: Processing buffer {"connection_id":170634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069143880012cec1a80071912c0001f013e29..."} 
[2026-09-04 02:33:06] local.INFO: Packet analysis {"connection_id":170634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06914"} 
[2026-09-04 02:33:06] local.INFO: Extracted packet for processing {"connection_id":170634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06914"} 
[2026-09-04 02:33:06] local.INFO: GPS Element Parsed {"raw_longitude":753670784,"raw_latitude":119083712,"longitude_deg":75.3670784,"latitude_deg":11.9083712,"altitude":31,"angle":318,"satellites":41,"speed":48,"hex_longitude":"2cec1a80","hex_latitude":"071912c0","is_valid_coordinates":true} 
[2026-09-04 02:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848146176001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397537328194650112,"note":"Value kept but may cause issues"} 
[2026-09-04 02:33:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1426726257718521856,"note":"Value kept but may cause issues"} 
[2026-09-04 02:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788469328000,"timestamp_ms":1788469328000,"timestamp_seconds":1788469328,"priority":1,"record_length":96,"hex_timestamp":"000001a069143880"} 
[2026-09-04 02:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 02:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848146176001,"66":27213,"138":206,"83":41216,"24":48,"16":397537328194650112,"44":-1426726257718521856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-09-04 02:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848146176001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:33:06] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 02:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397537328194650112,"km_value":397537328194650.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:33:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1426726257718521856,"description":"Unknown IO ID 44"} 
[2026-09-04 02:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848146176001,"power":27213,"unknown_138":206,"unknown_83":41216,"ignition":48,"odometer":null,"unknown_44":-1426726257718521856}} 
[2026-09-04 02:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":170634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:33:06] local.INFO: GPS data processed {"connection_id":170634,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:33:06] local.INFO: Acknowledgment sent {"connection_id":170634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:33:19] local.INFO: TCP Data received {"connection_id":170634,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691453d8012cec0600071928a8001d013026..."} 
[2026-09-04 02:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691453d8012cec0600071928a8001d013026..."} 
[2026-09-04 02:33:19] local.INFO: Processing buffer {"connection_id":170634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691453d8012cec0600071928a8001d013026..."} 
[2026-09-04 02:33:19] local.INFO: Packet analysis {"connection_id":170634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06914"} 
[2026-09-04 02:33:19] local.INFO: Extracted packet for processing {"connection_id":170634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06914"} 
[2026-09-04 02:33:19] local.INFO: GPS Element Parsed {"raw_longitude":753665536,"raw_latitude":119089320,"longitude_deg":75.3665536,"latitude_deg":11.908932,"altitude":29,"angle":304,"satellites":38,"speed":39,"hex_longitude":"2cec0600","hex_latitude":"071928a8","is_valid_coordinates":true} 
[2026-09-04 02:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848147968001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397537697561837568,"note":"Value kept but may cause issues"} 
[2026-09-04 02:33:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1433692763390296064,"note":"Value kept but may cause issues"} 
[2026-09-04 02:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788469335000,"timestamp_ms":1788469335000,"timestamp_seconds":1788469335,"priority":1,"record_length":96,"hex_timestamp":"000001a0691453d8"} 
[2026-09-04 02:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 02:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":170634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":170634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":170634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848147968001,"66":27300,"136":206,"83":41216,"24":39,"16":397537697561837568,"44":-1433692763390296064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-09-04 02:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848147968001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:33:19] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 02:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397537697561837568,"km_value":397537697561837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:33:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1433692763390296064,"description":"Unknown IO ID 44"} 
[2026-09-04 02:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848147968001,"power":27300,"unknown_136":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1433692763390296064}} 
[2026-09-04 02:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":170634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:33:19] local.INFO: GPS data processed {"connection_id":170634,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:33:19] local.INFO: Acknowledgment sent {"connection_id":170634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:34:00] local.INFO: TCP Data received {"connection_id":171726,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:34:00] local.INFO: Processing buffer {"connection_id":171726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:34:00] local.INFO: IMEI packet received {"connection_id":171726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":171726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:34:04] local.INFO: TCP Data received {"connection_id":171726,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:34:04] local.INFO: Processing buffer {"connection_id":171726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:34:04] local.INFO: IMEI packet received {"connection_id":171726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":171726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:34:05] local.INFO: TCP Data received {"connection_id":171726,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:34:05] local.INFO: Processing buffer {"connection_id":171726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:34:05] local.INFO: IMEI packet received {"connection_id":171726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":171726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:34:06] local.INFO: TCP Data received {"connection_id":171726,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069145ba8012cebfec007192c88001c012522..."} 
[2026-09-04 02:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069145ba8012cebfec007192c88001c012522..."} 
[2026-09-04 02:34:06] local.INFO: Processing buffer {"connection_id":171726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069145ba8012cebfec007192c88001c012522..."} 
[2026-09-04 02:34:06] local.INFO: Packet analysis {"connection_id":171726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06914"} 
[2026-09-04 02:34:06] local.INFO: Extracted packet for processing {"connection_id":171726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06914"} 
[2026-09-04 02:34:06] local.INFO: GPS Element Parsed {"raw_longitude":753663680,"raw_latitude":119090312,"longitude_deg":75.366368,"latitude_deg":11.9090312,"altitude":28,"angle":293,"satellites":34,"speed":40,"hex_longitude":"2cebfec0","hex_latitude":"07192c88","is_valid_coordinates":true} 
[2026-09-04 02:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848149760001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397537796346085376,"note":"Value kept but may cause issues"} 
[2026-09-04 02:34:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1439463000411428864,"note":"Value kept but may cause issues"} 
[2026-09-04 02:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788469337000,"timestamp_ms":1788469337000,"timestamp_seconds":1788469337,"priority":1,"record_length":96,"hex_timestamp":"000001a069145ba8"} 
[2026-09-04 02:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 02:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848149760001,"66":27245,"136":206,"83":41216,"24":40,"16":397537796346085376,"44":-1439463000411428864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-09-04 02:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848149760001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:34:06] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 02:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397537796346085376,"km_value":397537796346085.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:34:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1439463000411428864,"description":"Unknown IO ID 44"} 
[2026-09-04 02:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848149760001,"power":27245,"unknown_136":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1439463000411428864}} 
[2026-09-04 02:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":171726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:34:06] local.INFO: GPS data processed {"connection_id":171726,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:34:06] local.INFO: Acknowledgment sent {"connection_id":171726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:34:07] local.INFO: TCP Data received {"connection_id":171726,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069147318012cebeb8007193460001b013024..."} 
[2026-09-04 02:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069147318012cebeb8007193460001b013024..."} 
[2026-09-04 02:34:07] local.INFO: Processing buffer {"connection_id":171726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069147318012cebeb8007193460001b013024..."} 
[2026-09-04 02:34:07] local.INFO: Packet analysis {"connection_id":171726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06914"} 
[2026-09-04 02:34:07] local.INFO: Extracted packet for processing {"connection_id":171726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06914"} 
[2026-09-04 02:34:07] local.INFO: GPS Element Parsed {"raw_longitude":753658752,"raw_latitude":119092320,"longitude_deg":75.3658752,"latitude_deg":11.909232,"altitude":27,"angle":304,"satellites":36,"speed":30,"hex_longitude":"2cebeb80","hex_latitude":"07193460","is_valid_coordinates":true} 
[2026-09-04 02:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848150272001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397538054044123136,"note":"Value kept but may cause issues"} 
[2026-09-04 02:34:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1441503693992327168,"note":"Value kept but may cause issues"} 
[2026-09-04 02:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788469343000,"timestamp_ms":1788469343000,"timestamp_seconds":1788469343,"priority":1,"record_length":96,"hex_timestamp":"000001a069147318"} 
[2026-09-04 02:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 02:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848150272001,"66":27321,"136":206,"83":41216,"24":30,"16":397538054044123136,"44":-1441503693992327168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-09-04 02:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848150272001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:34:07] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 02:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397538054044123136,"km_value":397538054044123.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:34:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1441503693992327168,"description":"Unknown IO ID 44"} 
[2026-09-04 02:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848150272001,"power":27321,"unknown_136":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1441503693992327168}} 
[2026-09-04 02:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":171726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:34:07] local.INFO: GPS data processed {"connection_id":171726,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:34:07] local.INFO: Acknowledgment sent {"connection_id":171726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:34:38] local.INFO: TCP Data received {"connection_id":171726,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069147ed0012cebe44007193a68001b013f28..."} 
[2026-09-04 02:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069147ed0012cebe44007193a68001b013f28..."} 
[2026-09-04 02:34:38] local.INFO: Processing buffer {"connection_id":171726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069147ed0012cebe44007193a68001b013f28..."} 
[2026-09-04 02:34:38] local.INFO: Packet analysis {"connection_id":171726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06914"} 
[2026-09-04 02:34:38] local.INFO: Extracted packet for processing {"connection_id":171726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06914"} 
[2026-09-04 02:34:38] local.INFO: GPS Element Parsed {"raw_longitude":753656896,"raw_latitude":119093864,"longitude_deg":75.3656896,"latitude_deg":11.9093864,"altitude":27,"angle":319,"satellites":40,"speed":31,"hex_longitude":"2cebe440","hex_latitude":"07193a68","is_valid_coordinates":true} 
[2026-09-04 02:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848151808001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397538170008240128,"note":"Value kept but may cause issues"} 
[2026-09-04 02:34:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1446922087293493248,"note":"Value kept but may cause issues"} 
[2026-09-04 02:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788469346000,"timestamp_ms":1788469346000,"timestamp_seconds":1788469346,"priority":1,"record_length":96,"hex_timestamp":"000001a069147ed0"} 
[2026-09-04 02:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 02:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848151808001,"66":27332,"136":206,"83":41216,"24":31,"16":397538170008240128,"44":-1446922087293493248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-09-04 02:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848151808001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:34:38] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 02:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397538170008240128,"km_value":397538170008240.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:34:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1446922087293493248,"description":"Unknown IO ID 44"} 
[2026-09-04 02:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848151808001,"power":27332,"unknown_136":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1446922087293493248}} 
[2026-09-04 02:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":171726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:34:38] local.INFO: GPS data processed {"connection_id":171726,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:34:38] local.INFO: Acknowledgment sent {"connection_id":171726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:34:38] local.INFO: TCP Data received {"connection_id":173040,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:34:38] local.INFO: Processing buffer {"connection_id":173040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:34:38] local.INFO: IMEI packet received {"connection_id":173040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":173040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:35:00] local.INFO: TCP Data received {"connection_id":170329,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:35:00] local.INFO: Processing buffer {"connection_id":170329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:35:00] local.INFO: IMEI packet received {"connection_id":170329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":170329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:35:03] local.INFO: TCP Data received {"connection_id":170329,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:35:03] local.INFO: Processing buffer {"connection_id":170329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:35:03] local.INFO: IMEI packet received {"connection_id":170329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":170329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:35:06] local.INFO: TCP Data received {"connection_id":170329,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:35:06] local.INFO: Processing buffer {"connection_id":170329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:35:06] local.INFO: IMEI packet received {"connection_id":170329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":170329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:35:07] local.INFO: TCP Data received {"connection_id":170329,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06915d2a8012ceb1fc0071a33d00019012428..."} 
[2026-09-04 02:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06915d2a8012ceb1fc0071a33d00019012428..."} 
[2026-09-04 02:35:07] local.INFO: Processing buffer {"connection_id":170329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06915d2a8012ceb1fc0071a33d00019012428..."} 
[2026-09-04 02:35:07] local.INFO: Packet analysis {"connection_id":170329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06915"} 
[2026-09-04 02:35:07] local.INFO: Extracted packet for processing {"connection_id":170329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06915"} 
[2026-09-04 02:35:07] local.INFO: GPS Element Parsed {"raw_longitude":753606592,"raw_latitude":119157712,"longitude_deg":75.3606592,"latitude_deg":11.9157712,"altitude":25,"angle":292,"satellites":40,"speed":33,"hex_longitude":"2ceb1fc0","hex_latitude":"071a33d0","is_valid_coordinates":true} 
[2026-09-04 02:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848172032001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397542228752334848,"note":"Value kept but may cause issues"} 
[2026-09-04 02:35:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1494702464574355456,"note":"Value kept but may cause issues"} 
[2026-09-04 02:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788469433000,"timestamp_ms":1788469433000,"timestamp_seconds":1788469433,"priority":1,"record_length":96,"hex_timestamp":"000001a06915d2a8"} 
[2026-09-04 02:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 02:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848172032001,"66":27180,"104":206,"83":41216,"24":33,"16":397542228752334848,"44":-1494702464574355456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 02:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848172032001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:35:07] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 02:35:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397542228752334848,"km_value":397542228752334.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:35:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1494702464574355456,"description":"Unknown IO ID 44"} 
[2026-09-04 02:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848172032001,"power":27180,"unknown_104":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1494702464574355456}} 
[2026-09-04 02:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":170329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:35:07] local.INFO: GPS data processed {"connection_id":170329,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:35:07] local.INFO: Acknowledgment sent {"connection_id":170329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:35:38] local.INFO: TCP Data received {"connection_id":170329,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06915fda0012ceafd00071a42a8001a012726..."} 
[2026-09-04 02:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06915fda0012ceafd00071a42a8001a012726..."} 
[2026-09-04 02:35:38] local.INFO: Processing buffer {"connection_id":170329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06915fda0012ceafd00071a42a8001a012726..."} 
[2026-09-04 02:35:38] local.INFO: Packet analysis {"connection_id":170329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06915"} 
[2026-09-04 02:35:38] local.INFO: Extracted packet for processing {"connection_id":170329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06915"} 
[2026-09-04 02:35:38] local.INFO: GPS Element Parsed {"raw_longitude":753597696,"raw_latitude":119161512,"longitude_deg":75.3597696,"latitude_deg":11.9161512,"altitude":26,"angle":295,"satellites":38,"speed":35,"hex_longitude":"2ceafd00","hex_latitude":"071a42a8","is_valid_coordinates":true} 
[2026-09-04 02:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848174848001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397542684018868224,"note":"Value kept but may cause issues"} 
[2026-09-04 02:35:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1504272613781549056,"note":"Value kept but may cause issues"} 
[2026-09-04 02:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788469444000,"timestamp_ms":1788469444000,"timestamp_seconds":1788469444,"priority":1,"record_length":96,"hex_timestamp":"000001a06915fda0"} 
[2026-09-04 02:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 02:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848174848001,"66":27343,"103":206,"83":41216,"24":35,"16":397542684018868224,"44":-1504272613781549056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-04 02:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848174848001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:35:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 02:35:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397542684018868224,"km_value":397542684018868.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:35:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1504272613781549056,"description":"Unknown IO ID 44"} 
[2026-09-04 02:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848174848001,"power":27343,"unknown_103":206,"unknown_83":41216,"ignition":35,"odometer":null,"unknown_44":-1504272613781549056}} 
[2026-09-04 02:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":170329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:35:38] local.INFO: GPS data processed {"connection_id":170329,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:35:38] local.INFO: Acknowledgment sent {"connection_id":170329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:36:07] local.INFO: TCP Data received {"connection_id":170330,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:36:07] local.INFO: Processing buffer {"connection_id":170330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:36:07] local.INFO: IMEI packet received {"connection_id":170330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":170330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:36:19] local.INFO: TCP Data received {"connection_id":170330,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:36:19] local.INFO: Processing buffer {"connection_id":170330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:36:19] local.INFO: IMEI packet received {"connection_id":170330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":170330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:36:21] local.INFO: TCP Data received {"connection_id":170330,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069162898012ceada80071a51c8001b012329..."} 
[2026-09-04 02:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069162898012ceada80071a51c8001b012329..."} 
[2026-09-04 02:36:21] local.INFO: Processing buffer {"connection_id":170330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069162898012ceada80071a51c8001b012329..."} 
[2026-09-04 02:36:21] local.INFO: Packet analysis {"connection_id":170330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06916"} 
[2026-09-04 02:36:21] local.INFO: Extracted packet for processing {"connection_id":170330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06916"} 
[2026-09-04 02:36:21] local.INFO: GPS Element Parsed {"raw_longitude":753588864,"raw_latitude":119165384,"longitude_deg":75.3588864,"latitude_deg":11.9165384,"altitude":27,"angle":291,"satellites":41,"speed":34,"hex_longitude":"2ceada80","hex_latitude":"071a51c8","is_valid_coordinates":true} 
[2026-09-04 02:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848177664001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397543143580368896,"note":"Value kept but may cause issues"} 
[2026-09-04 02:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1514053869221271552,"note":"Value kept but may cause issues"} 
[2026-09-04 02:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788469455000,"timestamp_ms":1788469455000,"timestamp_seconds":1788469455,"priority":1,"record_length":96,"hex_timestamp":"000001a069162898"} 
[2026-09-04 02:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 02:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":170330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":170330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":170330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848177664001,"66":27300,"103":206,"83":41216,"24":34,"16":397543143580368896,"44":-1514053869221271552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-04 02:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848177664001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:36:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 02:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397543143580368896,"km_value":397543143580368.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1514053869221271552,"description":"Unknown IO ID 44"} 
[2026-09-04 02:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848177664001,"power":27300,"unknown_103":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1514053869221271552}} 
[2026-09-04 02:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":170330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:36:21] local.INFO: GPS data processed {"connection_id":170330,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:36:21] local.INFO: Acknowledgment sent {"connection_id":170330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:36:22] local.INFO: TCP Data received {"connection_id":170330,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069164fa8012ceab880071a5ed8001b01242c..."} 
[2026-09-04 02:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069164fa8012ceab880071a5ed8001b01242c..."} 
[2026-09-04 02:36:22] local.INFO: Processing buffer {"connection_id":170330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069164fa8012ceab880071a5ed8001b01242c..."} 
[2026-09-04 02:36:22] local.INFO: Packet analysis {"connection_id":170330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06916"} 
[2026-09-04 02:36:22] local.INFO: Extracted packet for processing {"connection_id":170330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06916"} 
[2026-09-04 02:36:22] local.INFO: GPS Element Parsed {"raw_longitude":753580160,"raw_latitude":119168728,"longitude_deg":75.358016,"latitude_deg":11.9168728,"altitude":27,"angle":292,"satellites":44,"speed":35,"hex_longitude":"2ceab880","hex_latitude":"071a5ed8","is_valid_coordinates":true} 
[2026-09-04 02:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848180480001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397543590256967680,"note":"Value kept but may cause issues"} 
[2026-09-04 02:36:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1523764755916797952,"note":"Value kept but may cause issues"} 
[2026-09-04 02:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788469465000,"timestamp_ms":1788469465000,"timestamp_seconds":1788469465,"priority":1,"record_length":96,"hex_timestamp":"000001a069164fa8"} 
[2026-09-04 02:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 02:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":170330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":170330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":170330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848180480001,"66":27267,"105":206,"83":41216,"24":35,"16":397543590256967680,"44":-1523764755916797952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 02:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848180480001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:36:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 02:36:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397543590256967680,"km_value":397543590256967.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:36:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1523764755916797952,"description":"Unknown IO ID 44"} 
[2026-09-04 02:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848180480001,"power":27267,"unknown_105":206,"unknown_83":41216,"ignition":35,"odometer":null,"unknown_44":-1523764755916797952}} 
[2026-09-04 02:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":170330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:36:22] local.INFO: GPS data processed {"connection_id":170330,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:36:22] local.INFO: Acknowledgment sent {"connection_id":170330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:36:57] local.INFO: TCP Data received {"connection_id":170635,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:36:57] local.INFO: Processing buffer {"connection_id":170635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:36:57] local.INFO: IMEI packet received {"connection_id":170635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":170635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:37:00] local.INFO: TCP Data received {"connection_id":170635,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:37:00] local.INFO: Processing buffer {"connection_id":170635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:37:00] local.INFO: IMEI packet received {"connection_id":170635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":170635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:37:06] local.INFO: TCP Data received {"connection_id":170635,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:37:06] local.INFO: Processing buffer {"connection_id":170635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:37:06] local.INFO: IMEI packet received {"connection_id":170635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":170635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:37:06] local.INFO: TCP Data received {"connection_id":170635,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069178440012cea3340071b6ee8000d015327..."} 
[2026-09-04 02:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069178440012cea3340071b6ee8000d015327..."} 
[2026-09-04 02:37:06] local.INFO: Processing buffer {"connection_id":170635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069178440012cea3340071b6ee8000d015327..."} 
[2026-09-04 02:37:06] local.INFO: Packet analysis {"connection_id":170635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06917"} 
[2026-09-04 02:37:06] local.INFO: Extracted packet for processing {"connection_id":170635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06917"} 
[2026-09-04 02:37:06] local.INFO: GPS Element Parsed {"raw_longitude":753546048,"raw_latitude":119238376,"longitude_deg":75.3546048,"latitude_deg":11.9238376,"altitude":13,"angle":339,"satellites":39,"speed":56,"hex_longitude":"2cea3340","hex_latitude":"071b6ee8","is_valid_coordinates":true} 
[2026-09-04 02:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848201472001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397547490087272448,"note":"Value kept but may cause issues"} 
[2026-09-04 02:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1567604483523211264,"note":"Value kept but may cause issues"} 
[2026-09-04 02:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788469544000,"timestamp_ms":1788469544000,"timestamp_seconds":1788469544,"priority":1,"record_length":96,"hex_timestamp":"000001a069178440"} 
[2026-09-04 02:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 02:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848201472001,"66":26963,"245":206,"83":41216,"24":56,"16":397547490087272448,"44":-1567604483523211264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 02:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848201472001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397547490087272448,"km_value":397547490087272.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1567604483523211264,"description":"Unknown IO ID 44"} 
[2026-09-04 02:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848201472001,"power":26963,"geofence_id":206,"unknown_83":41216,"ignition":56,"odometer":null,"unknown_44":-1567604483523211264}} 
[2026-09-04 02:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":170635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:37:06] local.INFO: GPS data processed {"connection_id":170635,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:37:06] local.INFO: Acknowledgment sent {"connection_id":170635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:37:37] local.INFO: TCP Data received {"connection_id":170635,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06917a380012cea2640071b9210000e015425..."} 
[2026-09-04 02:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06917a380012cea2640071b9210000e015425..."} 
[2026-09-04 02:37:37] local.INFO: Processing buffer {"connection_id":170635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06917a380012cea2640071b9210000e015425..."} 
[2026-09-04 02:37:37] local.INFO: Packet analysis {"connection_id":170635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06917"} 
[2026-09-04 02:37:37] local.INFO: Extracted packet for processing {"connection_id":170635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06917"} 
[2026-09-04 02:37:37] local.INFO: GPS Element Parsed {"raw_longitude":753542720,"raw_latitude":119247376,"longitude_deg":75.354272,"latitude_deg":11.9247376,"altitude":14,"angle":340,"satellites":37,"speed":34,"hex_longitude":"2cea2640","hex_latitude":"071b9210","is_valid_coordinates":true} 
[2026-09-04 02:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848203264001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397547953943740416,"note":"Value kept but may cause issues"} 
[2026-09-04 02:37:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1570841445752969216,"note":"Value kept but may cause issues"} 
[2026-09-04 02:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788469552000,"timestamp_ms":1788469552000,"timestamp_seconds":1788469552,"priority":1,"record_length":96,"hex_timestamp":"000001a06917a380"} 
[2026-09-04 02:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-04 02:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848203264001,"66":27245,"209":206,"83":41216,"24":34,"16":397547953943740416,"44":-1570841445752969216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-04 02:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848203264001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:37:37] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-04 02:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397547953943740416,"km_value":397547953943740.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:37:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1570841445752969216,"description":"Unknown IO ID 44"} 
[2026-09-04 02:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848203264001,"power":27245,"unknown_209":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1570841445752969216}} 
[2026-09-04 02:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":170635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:37:37] local.INFO: GPS data processed {"connection_id":170635,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:37:37] local.INFO: Acknowledgment sent {"connection_id":170635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:38:01] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:38:01] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:38:01] local.INFO: IMEI packet received {"connection_id":173043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":173043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:38:05] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:38:05] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:38:05] local.INFO: IMEI packet received {"connection_id":173043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":173043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:38:07] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06917d648012cea1a00071bb3800010015129..."} 
[2026-09-04 02:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06917d648012cea1a00071bb3800010015129..."} 
[2026-09-04 02:38:07] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06917d648012cea1a00071bb3800010015129..."} 
[2026-09-04 02:38:07] local.INFO: Packet analysis {"connection_id":173043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06917"} 
[2026-09-04 02:38:07] local.INFO: Extracted packet for processing {"connection_id":173043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06917"} 
[2026-09-04 02:38:07] local.INFO: GPS Element Parsed {"raw_longitude":753539584,"raw_latitude":119255936,"longitude_deg":75.3539584,"latitude_deg":11.9255936,"altitude":16,"angle":337,"satellites":41,"speed":25,"hex_longitude":"2cea1a00","hex_latitude":"071bb380","is_valid_coordinates":true} 
[2026-09-04 02:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848205312001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397548396325371904,"note":"Value kept but may cause issues"} 
[2026-09-04 02:38:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1574500620447903744,"note":"Value kept but may cause issues"} 
[2026-09-04 02:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788469565000,"timestamp_ms":1788469565000,"timestamp_seconds":1788469565,"priority":1,"record_length":96,"hex_timestamp":"000001a06917d648"} 
[2026-09-04 02:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 02:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848205312001,"66":27343,"209":206,"83":41216,"24":25,"16":397548396325371904,"44":-1574500620447903744},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-04 02:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848205312001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:38:07] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-04 02:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397548396325371904,"km_value":397548396325371.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:38:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1574500620447903744,"description":"Unknown IO ID 44"} 
[2026-09-04 02:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848205312001,"power":27343,"unknown_209":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1574500620447903744}} 
[2026-09-04 02:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":173043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:38:07] local.INFO: GPS data processed {"connection_id":173043,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:38:07] local.INFO: Acknowledgment sent {"connection_id":173043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:38:08] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691810e0012cea0d80071bd4800013015428..."} 
[2026-09-04 02:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691810e0012cea0d80071bd4800013015428..."} 
[2026-09-04 02:38:08] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691810e0012cea0d80071bd4800013015428..."} 
[2026-09-04 02:38:08] local.INFO: Packet analysis {"connection_id":173043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06918"} 
[2026-09-04 02:38:08] local.INFO: Extracted packet for processing {"connection_id":173043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06918"} 
[2026-09-04 02:38:08] local.INFO: GPS Element Parsed {"raw_longitude":753536384,"raw_latitude":119264384,"longitude_deg":75.3536384,"latitude_deg":11.9264384,"altitude":19,"angle":340,"satellites":40,"speed":25,"hex_longitude":"2cea0d80","hex_latitude":"071bd480","is_valid_coordinates":true} 
[2026-09-04 02:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848208640001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397548834412036096,"note":"Value kept but may cause issues"} 
[2026-09-04 02:38:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1577948688910417920,"note":"Value kept but may cause issues"} 
[2026-09-04 02:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788469580000,"timestamp_ms":1788469580000,"timestamp_seconds":1788469580,"priority":1,"record_length":96,"hex_timestamp":"000001a0691810e0"} 
[2026-09-04 02:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 02:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848208640001,"66":27332,"209":206,"83":41216,"24":25,"16":397548834412036096,"44":-1577948688910417920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-04 02:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848208640001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:38:08] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-04 02:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397548834412036096,"km_value":397548834412036.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:38:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1577948688910417920,"description":"Unknown IO ID 44"} 
[2026-09-04 02:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848208640001,"power":27332,"unknown_209":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1577948688910417920}} 
[2026-09-04 02:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":173043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:38:08] local.INFO: GPS data processed {"connection_id":173043,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:38:08] local.INFO: Acknowledgment sent {"connection_id":173043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:38:41] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069184790012cea0100071bf778001301532b..."} 
[2026-09-04 02:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069184790012cea0100071bf778001301532b..."} 
[2026-09-04 02:38:41] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069184790012cea0100071bf778001301532b..."} 
[2026-09-04 02:38:41] local.INFO: Packet analysis {"connection_id":173043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06918"} 
[2026-09-04 02:38:41] local.INFO: Extracted packet for processing {"connection_id":173043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06918"} 
[2026-09-04 02:38:41] local.INFO: GPS Element Parsed {"raw_longitude":753533184,"raw_latitude":119273336,"longitude_deg":75.3533184,"latitude_deg":11.9273336,"altitude":19,"angle":339,"satellites":43,"speed":30,"hex_longitude":"2cea0100","hex_latitude":"071bf778","is_valid_coordinates":true} 
[2026-09-04 02:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848212480001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397549293973536768,"note":"Value kept but may cause issues"} 
[2026-09-04 02:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581467126117138432,"note":"Value kept but may cause issues"} 
[2026-09-04 02:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788469594000,"timestamp_ms":1788469594000,"timestamp_seconds":1788469594,"priority":1,"record_length":96,"hex_timestamp":"000001a069184790"} 
[2026-09-04 02:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 02:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848212480001,"66":27376,"209":206,"83":41216,"24":30,"16":397549293973536768,"44":-1581467126117138432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-04 02:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848212480001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:38:41] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-04 02:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397549293973536768,"km_value":397549293973536.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581467126117138432,"description":"Unknown IO ID 44"} 
[2026-09-04 02:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848212480001,"power":27376,"unknown_209":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1581467126117138432}} 
[2026-09-04 02:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":173043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:38:41] local.INFO: GPS data processed {"connection_id":173043,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:38:41] local.INFO: Acknowledgment sent {"connection_id":173043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:39:01] local.INFO: TCP Data received {"connection_id":170636,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:39:01] local.INFO: Processing buffer {"connection_id":170636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:39:01] local.INFO: IMEI packet received {"connection_id":170636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":170636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:39:08] local.INFO: TCP Data received {"connection_id":170636,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:39:08] local.INFO: Processing buffer {"connection_id":170636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:39:08] local.INFO: IMEI packet received {"connection_id":170636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":170636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:39:09] local.INFO: TCP Data received {"connection_id":170636,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069187288012ce9f780071c1a400010015f2b..."} 
[2026-09-04 02:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069187288012ce9f780071c1a400010015f2b..."} 
[2026-09-04 02:39:09] local.INFO: Processing buffer {"connection_id":170636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069187288012ce9f780071c1a400010015f2b..."} 
[2026-09-04 02:39:09] local.INFO: Packet analysis {"connection_id":170636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06918"} 
[2026-09-04 02:39:09] local.INFO: Extracted packet for processing {"connection_id":170636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06918"} 
[2026-09-04 02:39:09] local.INFO: GPS Element Parsed {"raw_longitude":753530752,"raw_latitude":119282240,"longitude_deg":75.3530752,"latitude_deg":11.928224,"altitude":16,"angle":351,"satellites":43,"speed":36,"hex_longitude":"2ce9f780","hex_latitude":"071c1a40","is_valid_coordinates":true} 
[2026-09-04 02:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848216064001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397549740650135552,"note":"Value kept but may cause issues"} 
[2026-09-04 02:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584985563323729920,"note":"Value kept but may cause issues"} 
[2026-09-04 02:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788469605000,"timestamp_ms":1788469605000,"timestamp_seconds":1788469605,"priority":1,"record_length":96,"hex_timestamp":"000001a069187288"} 
[2026-09-04 02:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 02:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848216064001,"66":27310,"209":206,"83":41216,"24":36,"16":397549740650135552,"44":-1584985563323729920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-04 02:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848216064001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:39:09] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-04 02:39:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 02:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397549740650135552,"km_value":397549740650135.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584985563323729920,"description":"Unknown IO ID 44"} 
[2026-09-04 02:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848216064001,"power":27310,"unknown_209":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1584985563323729920}} 
[2026-09-04 02:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":170636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:39:09] local.INFO: GPS data processed {"connection_id":170636,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:39:09] local.INFO: Acknowledgment sent {"connection_id":170636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:39:40] local.INFO: TCP Data received {"connection_id":170636,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691a6a70012ce9cd00071d3b58000300e22a..."} 
[2026-09-04 02:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691a6a70012ce9cd00071d3b58000300e22a..."} 
[2026-09-04 02:39:40] local.INFO: Processing buffer {"connection_id":170636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691a6a70012ce9cd00071d3b58000300e22a..."} 
[2026-09-04 02:39:40] local.INFO: Packet analysis {"connection_id":170636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691a"} 
[2026-09-04 02:39:40] local.INFO: Extracted packet for processing {"connection_id":170636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691a"} 
[2026-09-04 02:39:40] local.INFO: GPS Element Parsed {"raw_longitude":753519872,"raw_latitude":119356248,"longitude_deg":75.3519872,"latitude_deg":11.9356248,"altitude":3,"angle":226,"satellites":42,"speed":39,"hex_longitude":"2ce9cd00","hex_latitude":"071d3b58","is_valid_coordinates":true} 
[2026-09-04 02:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848251392001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397554108631875584,"note":"Value kept but may cause issues"} 
[2026-09-04 02:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1597722305998350336,"note":"Value kept but may cause issues"} 
[2026-09-04 02:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788469734000,"timestamp_ms":1788469734000,"timestamp_seconds":1788469734,"priority":1,"record_length":96,"hex_timestamp":"000001a0691a6a70"} 
[2026-09-04 02:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 02:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848251392001,"66":27300,"110":206,"83":43008,"24":39,"16":397554108631875584,"44":-1597722305998350336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-04 02:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848251392001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:39:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 02:39:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397554108631875584,"km_value":397554108631875.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1597722305998350336,"description":"Unknown IO ID 44"} 
[2026-09-04 02:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848251392001,"power":27300,"unknown_110":206,"unknown_83":43008,"ignition":39,"odometer":null,"unknown_44":-1597722305998350336}} 
[2026-09-04 02:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":170636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:39:40] local.INFO: GPS data processed {"connection_id":170636,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:39:40] local.INFO: Acknowledgment sent {"connection_id":170636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:39:59] local.INFO: TCP Data received {"connection_id":170331,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:39:59] local.INFO: Processing buffer {"connection_id":170331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:39:59] local.INFO: IMEI packet received {"connection_id":170331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":170331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:40:00] local.INFO: TCP Data received {"connection_id":171729,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:40:00] local.INFO: Processing buffer {"connection_id":171729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:40:00] local.INFO: IMEI packet received {"connection_id":171729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":171729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:40:03] local.INFO: TCP Data received {"connection_id":171729,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:40:03] local.INFO: Processing buffer {"connection_id":171729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:40:03] local.INFO: IMEI packet received {"connection_id":171729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":171729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:40:05] local.INFO: TCP Data received {"connection_id":171729,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:40:05] local.INFO: Processing buffer {"connection_id":171729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:40:05] local.INFO: IMEI packet received {"connection_id":171729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":171729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:40:06] local.INFO: TCP Data received {"connection_id":171729,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691a7a10012ce9c140071d3208000200f02b..."} 
[2026-09-04 02:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691a7a10012ce9c140071d3208000200f02b..."} 
[2026-09-04 02:40:06] local.INFO: Processing buffer {"connection_id":171729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691a7a10012ce9c140071d3208000200f02b..."} 
[2026-09-04 02:40:06] local.INFO: Packet analysis {"connection_id":171729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691a"} 
[2026-09-04 02:40:06] local.INFO: Extracted packet for processing {"connection_id":171729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691a"} 
[2026-09-04 02:40:06] local.INFO: GPS Element Parsed {"raw_longitude":753516864,"raw_latitude":119353864,"longitude_deg":75.3516864,"latitude_deg":11.9353864,"altitude":2,"angle":240,"satellites":43,"speed":36,"hex_longitude":"2ce9c140","hex_latitude":"071d3208","is_valid_coordinates":true} 
[2026-09-04 02:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848251904001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397554293315469312,"note":"Value kept but may cause issues"} 
[2026-09-04 02:40:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1599622262091458560,"note":"Value kept but may cause issues"} 
[2026-09-04 02:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788469738000,"timestamp_ms":1788469738000,"timestamp_seconds":1788469738,"priority":1,"record_length":96,"hex_timestamp":"000001a0691a7a10"} 
[2026-09-04 02:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 02:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848251904001,"66":27267,"110":206,"83":43008,"24":36,"16":397554293315469312,"44":-1599622262091458560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-04 02:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848251904001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:40:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 02:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397554293315469312,"km_value":397554293315469.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:40:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1599622262091458560,"description":"Unknown IO ID 44"} 
[2026-09-04 02:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848251904001,"power":27267,"unknown_110":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-1599622262091458560}} 
[2026-09-04 02:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":171729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:40:06] local.INFO: GPS data processed {"connection_id":171729,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:40:06] local.INFO: Acknowledgment sent {"connection_id":171729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:40:06] local.INFO: TCP Data received {"connection_id":171729,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691a81e0012ce9ba80071d2ff8000301052a..."} 
[2026-09-04 02:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691a81e0012ce9ba80071d2ff8000301052a..."} 
[2026-09-04 02:40:06] local.INFO: Processing buffer {"connection_id":171729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691a81e0012ce9ba80071d2ff8000301052a..."} 
[2026-09-04 02:40:06] local.INFO: Packet analysis {"connection_id":171729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691a"} 
[2026-09-04 02:40:06] local.INFO: Extracted packet for processing {"connection_id":171729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691a"} 
[2026-09-04 02:40:06] local.INFO: GPS Element Parsed {"raw_longitude":753515136,"raw_latitude":119353336,"longitude_deg":75.3515136,"latitude_deg":11.9353336,"altitude":3,"angle":261,"satellites":42,"speed":34,"hex_longitude":"2ce9ba80","hex_latitude":"071d2ff8","is_valid_coordinates":true} 
[2026-09-04 02:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848252928001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397554374919847936,"note":"Value kept but may cause issues"} 
[2026-09-04 02:40:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1602929593068419072,"note":"Value kept but may cause issues"} 
[2026-09-04 02:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788469740000,"timestamp_ms":1788469740000,"timestamp_seconds":1788469740,"priority":1,"record_length":96,"hex_timestamp":"000001a0691a81e0"} 
[2026-09-04 02:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 02:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848252928001,"66":27310,"110":206,"83":43008,"24":34,"16":397554374919847936,"44":-1602929593068419072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-04 02:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848252928001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:40:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 02:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397554374919847936,"km_value":397554374919847.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:40:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1602929593068419072,"description":"Unknown IO ID 44"} 
[2026-09-04 02:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848252928001,"power":27310,"unknown_110":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1602929593068419072}} 
[2026-09-04 02:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":171729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:40:07] local.INFO: GPS data processed {"connection_id":171729,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:40:07] local.INFO: Acknowledgment sent {"connection_id":171729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:40:37] local.INFO: TCP Data received {"connection_id":171729,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691a89b0012ce9b3c0071d3008000301152a..."} 
[2026-09-04 02:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691a89b0012ce9b3c0071d3008000301152a..."} 
[2026-09-04 02:40:37] local.INFO: Processing buffer {"connection_id":171729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691a89b0012ce9b3c0071d3008000301152a..."} 
[2026-09-04 02:40:37] local.INFO: Packet analysis {"connection_id":171729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691a"} 
[2026-09-04 02:40:37] local.INFO: Extracted packet for processing {"connection_id":171729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691a"} 
[2026-09-04 02:40:37] local.INFO: GPS Element Parsed {"raw_longitude":753513408,"raw_latitude":119353352,"longitude_deg":75.3513408,"latitude_deg":11.9353352,"altitude":3,"angle":277,"satellites":42,"speed":31,"hex_longitude":"2ce9b3c0","hex_latitude":"071d3008","is_valid_coordinates":true} 
[2026-09-04 02:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848253440001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397554460819193856,"note":"Value kept but may cause issues"} 
[2026-09-04 02:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1604829549161351168,"note":"Value kept but may cause issues"} 
[2026-09-04 02:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788469742000,"timestamp_ms":1788469742000,"timestamp_seconds":1788469742,"priority":1,"record_length":96,"hex_timestamp":"000001a0691a89b0"} 
[2026-09-04 02:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 02:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848253440001,"66":27245,"110":206,"83":43008,"24":31,"16":397554460819193856,"44":-1604829549161351168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-04 02:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848253440001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:40:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 02:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397554460819193856,"km_value":397554460819193.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1604829549161351168,"description":"Unknown IO ID 44"} 
[2026-09-04 02:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848253440001,"power":27245,"unknown_110":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1604829549161351168}} 
[2026-09-04 02:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":171729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:40:37] local.INFO: GPS data processed {"connection_id":171729,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:40:37] local.INFO: Acknowledgment sent {"connection_id":171729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:40:44] local.INFO: TCP Data received {"connection_id":170637,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:40:44] local.INFO: Processing buffer {"connection_id":170637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:40:44] local.INFO: IMEI packet received {"connection_id":170637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":170637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:41:01] local.INFO: TCP Data received {"connection_id":173044,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:41:01] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:41:01] local.INFO: IMEI packet received {"connection_id":173044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":173044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:41:02] local.INFO: TCP Data received {"connection_id":173044,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:41:02] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:41:02] local.INFO: IMEI packet received {"connection_id":173044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":173044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:41:06] local.INFO: TCP Data received {"connection_id":173044,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:41:06] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:41:06] local.INFO: IMEI packet received {"connection_id":173044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":173044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:41:07] local.INFO: TCP Data received {"connection_id":173044,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691b6858012ce9dfc0071e0230000800122c..."} 
[2026-09-04 02:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691b6858012ce9dfc0071e0230000800122c..."} 
[2026-09-04 02:41:07] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691b6858012ce9dfc0071e0230000800122c..."} 
[2026-09-04 02:41:07] local.INFO: Packet analysis {"connection_id":173044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691b"} 
[2026-09-04 02:41:07] local.INFO: Extracted packet for processing {"connection_id":173044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691b"} 
[2026-09-04 02:41:07] local.INFO: GPS Element Parsed {"raw_longitude":753524672,"raw_latitude":119407152,"longitude_deg":75.3524672,"latitude_deg":11.9407152,"altitude":8,"angle":18,"satellites":44,"speed":55,"hex_longitude":"2ce9dfc0","hex_latitude":"071e0230","is_valid_coordinates":true} 
[2026-09-04 02:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848266752001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397557291202641920,"note":"Value kept but may cause issues"} 
[2026-09-04 02:41:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1597511199755407360,"note":"Value kept but may cause issues"} 
[2026-09-04 02:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788469799000,"timestamp_ms":1788469799000,"timestamp_seconds":1788469799,"priority":1,"record_length":96,"hex_timestamp":"000001a0691b6858"} 
[2026-09-04 02:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 02:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848266752001,"66":27300,"68":206,"83":43008,"24":55,"16":397557291202641920,"44":-1597511199755407360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-04 02:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848266752001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:41:07] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-04 02:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397557291202641920,"km_value":397557291202641.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:41:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1597511199755407360,"description":"Unknown IO ID 44"} 
[2026-09-04 02:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848266752001,"power":27300,"unknown_68":206,"unknown_83":43008,"ignition":55,"odometer":null,"unknown_44":-1597511199755407360}} 
[2026-09-04 02:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":173044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:41:07] local.INFO: GPS data processed {"connection_id":173044,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:41:07] local.INFO: Acknowledgment sent {"connection_id":173044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:41:08] local.INFO: TCP Data received {"connection_id":173044,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691b83b0012ce9ec00071e27a8000900122c..."} 
[2026-09-04 02:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691b83b0012ce9ec00071e27a8000900122c..."} 
[2026-09-04 02:41:08] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691b83b0012ce9ec00071e27a8000900122c..."} 
[2026-09-04 02:41:08] local.INFO: Packet analysis {"connection_id":173044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691b"} 
[2026-09-04 02:41:08] local.INFO: Extracted packet for processing {"connection_id":173044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691b"} 
[2026-09-04 02:41:08] local.INFO: GPS Element Parsed {"raw_longitude":753527808,"raw_latitude":119416744,"longitude_deg":75.3527808,"latitude_deg":11.9416744,"altitude":9,"angle":18,"satellites":44,"speed":58,"hex_longitude":"2ce9ec00","hex_latitude":"071e27a8","is_valid_coordinates":true} 
[2026-09-04 02:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848268544001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397557776533946368,"note":"Value kept but may cause issues"} 
[2026-09-04 02:41:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1594344606265102336,"note":"Value kept but may cause issues"} 
[2026-09-04 02:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788469806000,"timestamp_ms":1788469806000,"timestamp_seconds":1788469806,"priority":1,"record_length":96,"hex_timestamp":"000001a0691b83b0"} 
[2026-09-04 02:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 02:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848268544001,"66":27321,"68":206,"83":43008,"24":58,"16":397557776533946368,"44":-1594344606265102336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-04 02:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848268544001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:41:08] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-04 02:41:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397557776533946368,"km_value":397557776533946.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:41:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1594344606265102336,"description":"Unknown IO ID 44"} 
[2026-09-04 02:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848268544001,"power":27321,"unknown_68":206,"unknown_83":43008,"ignition":58,"odometer":null,"unknown_44":-1594344606265102336}} 
[2026-09-04 02:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":173044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:41:08] local.INFO: GPS data processed {"connection_id":173044,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:41:08] local.INFO: Acknowledgment sent {"connection_id":173044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:41:39] local.INFO: TCP Data received {"connection_id":173044,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691b9b20012ce9f6c0071e48e00009000f2c..."} 
[2026-09-04 02:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691b9b20012ce9f6c0071e48e00009000f2c..."} 
[2026-09-04 02:41:39] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691b9b20012ce9f6c0071e48e00009000f2c..."} 
[2026-09-04 02:41:39] local.INFO: Packet analysis {"connection_id":173044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691b"} 
[2026-09-04 02:41:39] local.INFO: Extracted packet for processing {"connection_id":173044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691b"} 
[2026-09-04 02:41:39] local.INFO: GPS Element Parsed {"raw_longitude":753530560,"raw_latitude":119425248,"longitude_deg":75.353056,"latitude_deg":11.9425248,"altitude":9,"angle":15,"satellites":44,"speed":60,"hex_longitude":"2ce9f6c0","hex_latitude":"071e48e0","is_valid_coordinates":true} 
[2026-09-04 02:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848270336001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397558210325643264,"note":"Value kept but may cause issues"} 
[2026-09-04 02:41:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1590896537797941248,"note":"Value kept but may cause issues"} 
[2026-09-04 02:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788469812000,"timestamp_ms":1788469812000,"timestamp_seconds":1788469812,"priority":1,"record_length":96,"hex_timestamp":"000001a0691b9b20"} 
[2026-09-04 02:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 02:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848270336001,"66":27343,"68":206,"83":43008,"24":60,"16":397558210325643264,"44":-1590896537797941248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-04 02:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848270336001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:41:39] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-04 02:41:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397558210325643264,"km_value":397558210325643.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:41:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1590896537797941248,"description":"Unknown IO ID 44"} 
[2026-09-04 02:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848270336001,"power":27343,"unknown_68":206,"unknown_83":43008,"ignition":60,"odometer":null,"unknown_44":-1590896537797941248}} 
[2026-09-04 02:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":173044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:41:39] local.INFO: GPS data processed {"connection_id":173044,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:41:39] local.INFO: Acknowledgment sent {"connection_id":173044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:42:00] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:42:00] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:42:00] local.INFO: IMEI packet received {"connection_id":171730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":171730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:42:04] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:42:04] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:42:04] local.INFO: IMEI packet received {"connection_id":171730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":171730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:42:05] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:42:05] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:42:05] local.INFO: IMEI packet received {"connection_id":171730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":171730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:42:05] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:42:05] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:42:05] local.INFO: IMEI packet received {"connection_id":171730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":171730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:42:06] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691bb290012cea00c0071e6ad8000900102a..."} 
[2026-09-04 02:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691bb290012cea00c0071e6ad8000900102a..."} 
[2026-09-04 02:42:06] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691bb290012cea00c0071e6ad8000900102a..."} 
[2026-09-04 02:42:06] local.INFO: Packet analysis {"connection_id":171730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691b"} 
[2026-09-04 02:42:06] local.INFO: Extracted packet for processing {"connection_id":171730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691b"} 
[2026-09-04 02:42:06] local.INFO: GPS Element Parsed {"raw_longitude":753533120,"raw_latitude":119433944,"longitude_deg":75.353312,"latitude_deg":11.9433944,"altitude":9,"angle":16,"satellites":42,"speed":59,"hex_longitude":"2cea00c0","hex_latitude":"071e6ad8","is_valid_coordinates":true} 
[2026-09-04 02:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848271872001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397558648412307456,"note":"Value kept but may cause issues"} 
[2026-09-04 02:42:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587870681796124672,"note":"Value kept but may cause issues"} 
[2026-09-04 02:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788469818000,"timestamp_ms":1788469818000,"timestamp_seconds":1788469818,"priority":1,"record_length":96,"hex_timestamp":"000001a0691bb290"} 
[2026-09-04 02:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 02:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848271872001,"66":27332,"76":206,"83":43008,"24":59,"16":397558648412307456,"44":-1587870681796124672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-04 02:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848271872001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:42:06] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-04 02:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397558648412307456,"km_value":397558648412307.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:42:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587870681796124672,"description":"Unknown IO ID 44"} 
[2026-09-04 02:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848271872001,"power":27332,"unknown_76":206,"unknown_83":43008,"ignition":59,"odometer":null,"unknown_44":-1587870681796124672}} 
[2026-09-04 02:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":171730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:42:06] local.INFO: GPS data processed {"connection_id":171730,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:42:06] local.INFO: Acknowledgment sent {"connection_id":171730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:42:11] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691bca00012cea0d40071e8b700008001a2a..."} 
[2026-09-04 02:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691bca00012cea0d40071e8b700008001a2a..."} 
[2026-09-04 02:42:11] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691bca00012cea0d40071e8b700008001a2a..."} 
[2026-09-04 02:42:11] local.INFO: Packet analysis {"connection_id":171730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691b"} 
[2026-09-04 02:42:11] local.INFO: Extracted packet for processing {"connection_id":171730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691b"} 
[2026-09-04 02:42:11] local.INFO: GPS Element Parsed {"raw_longitude":753536320,"raw_latitude":119442288,"longitude_deg":75.353632,"latitude_deg":11.9442288,"altitude":8,"angle":26,"satellites":42,"speed":56,"hex_longitude":"2cea0d40","hex_latitude":"071e8b70","is_valid_coordinates":true} 
[2026-09-04 02:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848273408001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397559082204004352,"note":"Value kept but may cause issues"} 
[2026-09-04 02:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585055932026791936,"note":"Value kept but may cause issues"} 
[2026-09-04 02:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788469824000,"timestamp_ms":1788469824000,"timestamp_seconds":1788469824,"priority":1,"record_length":96,"hex_timestamp":"000001a0691bca00"} 
[2026-09-04 02:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 02:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848273408001,"66":27300,"76":206,"83":43008,"24":56,"16":397559082204004352,"44":-1585055932026791936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-04 02:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848273408001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:42:11] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-04 02:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397559082204004352,"km_value":397559082204004.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1585055932026791936,"description":"Unknown IO ID 44"} 
[2026-09-04 02:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848273408001,"power":27300,"unknown_76":206,"unknown_83":43008,"ignition":56,"odometer":null,"unknown_44":-1585055932026791936}} 
[2026-09-04 02:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":171730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:42:11] local.INFO: GPS data processed {"connection_id":171730,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:42:11] local.INFO: Acknowledgment sent {"connection_id":171730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:42:43] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691cfab0012cea4f00071fe9980008000529..."} 
[2026-09-04 02:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691cfab0012cea4f00071fe9980008000529..."} 
[2026-09-04 02:42:43] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691cfab0012cea4f00071fe9980008000529..."} 
[2026-09-04 02:42:43] local.INFO: Packet analysis {"connection_id":171730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691c"} 
[2026-09-04 02:42:43] local.INFO: Extracted packet for processing {"connection_id":171730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691c"} 
[2026-09-04 02:42:43] local.INFO: GPS Element Parsed {"raw_longitude":753553152,"raw_latitude":119531928,"longitude_deg":75.3553152,"latitude_deg":11.9531928,"altitude":8,"angle":5,"satellites":41,"speed":46,"hex_longitude":"2cea4f00","hex_latitude":"071fe998","is_valid_coordinates":true} 
[2026-09-04 02:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848292864001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397563604804567040,"note":"Value kept but may cause issues"} 
[2026-09-04 02:42:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1563874940006535168,"note":"Value kept but may cause issues"} 
[2026-09-04 02:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788469902000,"timestamp_ms":1788469902000,"timestamp_seconds":1788469902,"priority":1,"record_length":96,"hex_timestamp":"000001a0691cfab0"} 
[2026-09-04 02:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 02:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848292864001,"66":27234,"184":206,"83":43008,"24":46,"16":397563604804567040,"44":-1563874940006535168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-04 02:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848292864001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:42:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-04 02:42:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397563604804567040,"km_value":397563604804567.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:42:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1563874940006535168,"description":"Unknown IO ID 44"} 
[2026-09-04 02:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848292864001,"power":27234,"unknown_184":206,"unknown_83":43008,"ignition":46,"odometer":null,"unknown_44":-1563874940006535168}} 
[2026-09-04 02:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":171730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:42:43] local.INFO: GPS data processed {"connection_id":171730,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:42:43] local.INFO: Acknowledgment sent {"connection_id":171730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:43:10] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:43:10] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:43:10] local.INFO: IMEI packet received {"connection_id":173045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":173045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:43:10] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:43:10] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:43:10] local.INFO: IMEI packet received {"connection_id":173045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":173045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:43:12] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.106.6.22","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a069..."} 
[2026-09-04 02:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a069..."} 
[2026-09-04 02:43:12] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a069..."} 
[2026-09-04 02:43:12] local.INFO: IMEI packet received {"connection_id":173045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":173045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:43:13] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691d3d18012cea5800072037e8000900062c..."} 
[2026-09-04 02:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691d3d18012cea5800072037e8000900062c..."} 
[2026-09-04 02:43:13] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0691d1dd8012cea53c007201278000900062a..."} 
[2026-09-04 02:43:13] local.INFO: Packet analysis {"connection_id":173045,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0691d"} 
[2026-09-04 02:43:13] local.INFO: Extracted packet for processing {"connection_id":173045,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691d"} 
[2026-09-04 02:43:13] local.INFO: GPS Element Parsed {"raw_longitude":753554368,"raw_latitude":119542392,"longitude_deg":75.3554368,"latitude_deg":11.9542392,"altitude":9,"angle":6,"satellites":42,"speed":46,"hex_longitude":"2cea53c0","hex_latitude":"07201278","is_valid_coordinates":true} 
[2026-09-04 02:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848294912001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397564115905675264,"note":"Value kept but may cause issues"} 
[2026-09-04 02:43:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1563030515074099200,"note":"Value kept but may cause issues"} 
[2026-09-04 02:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788469911000,"timestamp_ms":1788469911000,"timestamp_seconds":1788469911,"priority":1,"record_length":96,"hex_timestamp":"000001a0691d1dd8"} 
[2026-09-04 02:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 02:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848294912001,"66":27332,"184":206,"83":43008,"24":46,"16":397564115905675264,"44":-1563030515074099200},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-04 02:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848294912001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:43:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-04 02:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397564115905675264,"km_value":397564115905675.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:43:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1563030515074099200,"description":"Unknown IO ID 44"} 
[2026-09-04 02:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848294912001,"power":27332,"unknown_184":206,"unknown_83":43008,"ignition":46,"odometer":null,"unknown_44":-1563030515074099200}} 
[2026-09-04 02:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":173045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:43:13] local.INFO: GPS data processed {"connection_id":173045,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:43:13] local.INFO: Acknowledgment sent {"connection_id":173045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:43:13] local.INFO: Packet analysis {"connection_id":173045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691d"} 
[2026-09-04 02:43:13] local.INFO: Extracted packet for processing {"connection_id":173045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691d"} 
[2026-09-04 02:43:13] local.INFO: GPS Element Parsed {"raw_longitude":753555456,"raw_latitude":119551976,"longitude_deg":75.3555456,"latitude_deg":11.9551976,"altitude":9,"angle":6,"satellites":44,"speed":49,"hex_longitude":"2cea5800","hex_latitude":"072037e8","is_valid_coordinates":true} 
[2026-09-04 02:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848297216001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397564584057110528,"note":"Value kept but may cause issues"} 
[2026-09-04 02:43:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1561693508932044800,"note":"Value kept but may cause issues"} 
[2026-09-04 02:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788469919000,"timestamp_ms":1788469919000,"timestamp_seconds":1788469919,"priority":1,"record_length":96,"hex_timestamp":"000001a0691d3d18"} 
[2026-09-04 02:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 02:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848297216001,"66":27321,"184":206,"83":43008,"24":49,"16":397564584057110528,"44":-1561693508932044800},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-04 02:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848297216001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:43:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-04 02:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397564584057110528,"km_value":397564584057110.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:43:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1561693508932044800,"description":"Unknown IO ID 44"} 
[2026-09-04 02:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848297216001,"power":27321,"unknown_184":206,"unknown_83":43008,"ignition":49,"odometer":null,"unknown_44":-1561693508932044800}} 
[2026-09-04 02:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":173045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:43:13] local.INFO: GPS data processed {"connection_id":173045,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:43:13] local.INFO: Acknowledgment sent {"connection_id":173045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:43:16] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691d6040012cea5d0007206438000800072d..."} 
[2026-09-04 02:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691d6040012cea5d0007206438000800072d..."} 
[2026-09-04 02:43:16] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691d6040012cea5d0007206438000800072d..."} 
[2026-09-04 02:43:16] local.INFO: Packet analysis {"connection_id":173045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691d"} 
[2026-09-04 02:43:16] local.INFO: Extracted packet for processing {"connection_id":173045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691d"} 
[2026-09-04 02:43:16] local.INFO: GPS Element Parsed {"raw_longitude":753556736,"raw_latitude":119563320,"longitude_deg":75.3556736,"latitude_deg":11.956332,"altitude":8,"angle":7,"satellites":45,"speed":51,"hex_longitude":"2cea5d00","hex_latitude":"07206438","is_valid_coordinates":true} 
[2026-09-04 02:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848299264001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397565138107891712,"note":"Value kept but may cause issues"} 
[2026-09-04 02:43:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1560497240278571008,"note":"Value kept but may cause issues"} 
[2026-09-04 02:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788469928000,"timestamp_ms":1788469928000,"timestamp_seconds":1788469928,"priority":1,"record_length":96,"hex_timestamp":"000001a0691d6040"} 
[2026-09-04 02:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 02:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848299264001,"66":27321,"184":206,"83":43008,"24":51,"16":397565138107891712,"44":-1560497240278571008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-04 02:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848299264001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:43:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-04 02:43:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397565138107891712,"km_value":397565138107891.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:43:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1560497240278571008,"description":"Unknown IO ID 44"} 
[2026-09-04 02:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848299264001,"power":27321,"unknown_184":206,"unknown_83":43008,"ignition":51,"odometer":null,"unknown_44":-1560497240278571008}} 
[2026-09-04 02:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":173045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:43:16] local.INFO: GPS data processed {"connection_id":173045,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:43:16] local.INFO: Acknowledgment sent {"connection_id":173045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:44:03] local.INFO: TCP Data received {"connection_id":171733,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:44:03] local.INFO: Processing buffer {"connection_id":171733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:44:03] local.INFO: IMEI packet received {"connection_id":171733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":171733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:44:04] local.INFO: TCP Data received {"connection_id":171733,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:44:04] local.INFO: Processing buffer {"connection_id":171733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:44:04] local.INFO: IMEI packet received {"connection_id":171733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":171733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:44:06] local.INFO: TCP Data received {"connection_id":171733,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:44:06] local.INFO: Processing buffer {"connection_id":171733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:44:06] local.INFO: IMEI packet received {"connection_id":171733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":171733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:44:06] local.INFO: TCP Data received {"connection_id":171733,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691d8368012cea618007208ea8000800082c..."} 
[2026-09-04 02:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691d8368012cea618007208ea8000800082c..."} 
[2026-09-04 02:44:06] local.INFO: Processing buffer {"connection_id":171733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691d8368012cea618007208ea8000800082c..."} 
[2026-09-04 02:44:06] local.INFO: Packet analysis {"connection_id":171733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691d"} 
[2026-09-04 02:44:06] local.INFO: Extracted packet for processing {"connection_id":171733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691d"} 
[2026-09-04 02:44:06] local.INFO: GPS Element Parsed {"raw_longitude":753557888,"raw_latitude":119574184,"longitude_deg":75.3557888,"latitude_deg":11.9574184,"altitude":8,"angle":8,"satellites":44,"speed":45,"hex_longitude":"2cea6180","hex_latitude":"07208ea8","is_valid_coordinates":true} 
[2026-09-04 02:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848301568001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397565666388869120,"note":"Value kept but may cause issues"} 
[2026-09-04 02:44:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1559089865392113664,"note":"Value kept but may cause issues"} 
[2026-09-04 02:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788469937000,"timestamp_ms":1788469937000,"timestamp_seconds":1788469937,"priority":1,"record_length":96,"hex_timestamp":"000001a0691d8368"} 
[2026-09-04 02:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 02:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848301568001,"66":27267,"184":206,"83":43008,"24":45,"16":397565666388869120,"44":-1559089865392113664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-04 02:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848301568001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:44:06] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-04 02:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397565666388869120,"km_value":397565666388869.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:44:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1559089865392113664,"description":"Unknown IO ID 44"} 
[2026-09-04 02:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848301568001,"power":27267,"unknown_184":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1559089865392113664}} 
[2026-09-04 02:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":171733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:44:06] local.INFO: GPS data processed {"connection_id":171733,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:44:06] local.INFO: Acknowledgment sent {"connection_id":171733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:44:10] local.INFO: TCP Data received {"connection_id":171733,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691da2a8012cea66000720b1f80009000625..."} 
[2026-09-04 02:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691da2a8012cea66000720b1f80009000625..."} 
[2026-09-04 02:44:10] local.INFO: Processing buffer {"connection_id":171733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691da2a8012cea66000720b1f80009000625..."} 
[2026-09-04 02:44:10] local.INFO: Packet analysis {"connection_id":171733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691d"} 
[2026-09-04 02:44:10] local.INFO: Extracted packet for processing {"connection_id":171733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691d"} 
[2026-09-04 02:44:10] local.INFO: GPS Element Parsed {"raw_longitude":753559040,"raw_latitude":119583224,"longitude_deg":75.355904,"latitude_deg":11.9583224,"altitude":9,"angle":6,"satellites":37,"speed":44,"hex_longitude":"2cea6600","hex_latitude":"0720b1f8","is_valid_coordinates":true} 
[2026-09-04 02:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848303872001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397566108770500608,"note":"Value kept but may cause issues"} 
[2026-09-04 02:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1557823227994134528,"note":"Value kept but may cause issues"} 
[2026-09-04 02:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788469945000,"timestamp_ms":1788469945000,"timestamp_seconds":1788469945,"priority":1,"record_length":96,"hex_timestamp":"000001a0691da2a8"} 
[2026-09-04 02:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 02:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848303872001,"66":27213,"184":206,"83":43008,"24":44,"16":397566108770500608,"44":-1557823227994134528},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-04 02:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848303872001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:44:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-04 02:44:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397566108770500608,"km_value":397566108770500.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1557823227994134528,"description":"Unknown IO ID 44"} 
[2026-09-04 02:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848303872001,"power":27213,"unknown_184":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1557823227994134528}} 
[2026-09-04 02:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":171733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:44:10] local.INFO: GPS data processed {"connection_id":171733,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:44:10] local.INFO: Acknowledgment sent {"connection_id":171733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:44:41] local.INFO: TCP Data received {"connection_id":171733,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691dc1e8012cea6b000720d5500009000920..."} 
[2026-09-04 02:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691dc1e8012cea6b000720d5500009000920..."} 
[2026-09-04 02:44:41] local.INFO: Processing buffer {"connection_id":171733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691dc1e8012cea6b000720d5500009000920..."} 
[2026-09-04 02:44:41] local.INFO: Packet analysis {"connection_id":171733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691d"} 
[2026-09-04 02:44:41] local.INFO: Extracted packet for processing {"connection_id":171733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691d"} 
[2026-09-04 02:44:41] local.INFO: GPS Element Parsed {"raw_longitude":753560320,"raw_latitude":119592272,"longitude_deg":75.356032,"latitude_deg":11.9592272,"altitude":9,"angle":9,"satellites":32,"speed":45,"hex_longitude":"2cea6b00","hex_latitude":"0720d550","is_valid_coordinates":true} 
[2026-09-04 02:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848305920001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397566551152132096,"note":"Value kept but may cause issues"} 
[2026-09-04 02:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1556556590596622336,"note":"Value kept but may cause issues"} 
[2026-09-04 02:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788469953000,"timestamp_ms":1788469953000,"timestamp_seconds":1788469953,"priority":1,"record_length":96,"hex_timestamp":"000001a0691dc1e8"} 
[2026-09-04 02:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 02:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848305920001,"66":27223,"75":206,"83":43008,"24":45,"16":397566551152132096,"44":-1556556590596622336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-09-04 02:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848305920001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:44:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-04 02:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397566551152132096,"km_value":397566551152132.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1556556590596622336,"description":"Unknown IO ID 44"} 
[2026-09-04 02:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848305920001,"power":27223,"unknown_75":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1556556590596622336}} 
[2026-09-04 02:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":171733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:44:41] local.INFO: GPS data processed {"connection_id":171733,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:44:41] local.INFO: Acknowledgment sent {"connection_id":171733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:45:01] local.INFO: TCP Data received {"connection_id":170638,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:45:01] local.INFO: Processing buffer {"connection_id":170638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:45:01] local.INFO: IMEI packet received {"connection_id":170638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":170638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:45:06] local.INFO: TCP Data received {"connection_id":170638,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:45:06] local.INFO: Processing buffer {"connection_id":170638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:45:06] local.INFO: IMEI packet received {"connection_id":170638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":170638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:45:07] local.INFO: TCP Data received {"connection_id":170638,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691f2178012ceb0f4007224a90000c001e2e..."} 
[2026-09-04 02:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691f2178012ceb0f4007224a90000c001e2e..."} 
[2026-09-04 02:45:07] local.INFO: Processing buffer {"connection_id":170638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691f2178012ceb0f4007224a90000c001e2e..."} 
[2026-09-04 02:45:07] local.INFO: Packet analysis {"connection_id":170638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691f"} 
[2026-09-04 02:45:07] local.INFO: Extracted packet for processing {"connection_id":170638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691f"} 
[2026-09-04 02:45:07] local.INFO: GPS Element Parsed {"raw_longitude":753602368,"raw_latitude":119687824,"longitude_deg":75.3602368,"latitude_deg":11.9687824,"altitude":12,"angle":30,"satellites":46,"speed":46,"hex_longitude":"2ceb0f40","hex_latitude":"07224a90","is_valid_coordinates":true} 
[2026-09-04 02:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848328960001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397571653573279744,"note":"Value kept but may cause issues"} 
[2026-09-04 02:45:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1514124237832722432,"note":"Value kept but may cause issues"} 
[2026-09-04 02:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788470043000,"timestamp_ms":1788470043000,"timestamp_seconds":1788470043,"priority":1,"record_length":96,"hex_timestamp":"000001a0691f2178"} 
[2026-09-04 02:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 02:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848328960001,"66":27463,"29":206,"83":43008,"24":46,"16":397571653573279744,"44":-1514124237832722432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-09-04 02:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848328960001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:45:07] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-04 02:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397571653573279744,"km_value":397571653573279.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:45:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1514124237832722432,"description":"Unknown IO ID 44"} 
[2026-09-04 02:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848328960001,"power":27463,"unknown_29":206,"unknown_83":43008,"ignition":46,"odometer":null,"unknown_44":-1514124237832722432}} 
[2026-09-04 02:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":170638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:45:07] local.INFO: GPS data processed {"connection_id":170638,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:45:07] local.INFO: Acknowledgment sent {"connection_id":170638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:45:38] local.INFO: TCP Data received {"connection_id":170638,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691f40b8012ceb230007226b18000c001e2e..."} 
[2026-09-04 02:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691f40b8012ceb230007226b18000c001e2e..."} 
[2026-09-04 02:45:38] local.INFO: Processing buffer {"connection_id":170638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691f40b8012ceb230007226b18000c001e2e..."} 
[2026-09-04 02:45:38] local.INFO: Packet analysis {"connection_id":170638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691f"} 
[2026-09-04 02:45:38] local.INFO: Extracted packet for processing {"connection_id":170638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691f"} 
[2026-09-04 02:45:38] local.INFO: GPS Element Parsed {"raw_longitude":753607424,"raw_latitude":119696152,"longitude_deg":75.3607424,"latitude_deg":11.9696152,"altitude":12,"angle":30,"satellites":46,"speed":47,"hex_longitude":"2ceb2300","hex_latitude":"07226b18","is_valid_coordinates":true} 
[2026-09-04 02:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848331008001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397572121724715008,"note":"Value kept but may cause issues"} 
[2026-09-04 02:45:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1508916950761566208,"note":"Value kept but may cause issues"} 
[2026-09-04 02:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788470051000,"timestamp_ms":1788470051000,"timestamp_seconds":1788470051,"priority":1,"record_length":96,"hex_timestamp":"000001a0691f40b8"} 
[2026-09-04 02:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 02:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848331008001,"66":27300,"29":206,"83":43008,"24":47,"16":397572121724715008,"44":-1508916950761566208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-09-04 02:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848331008001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:45:38] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-04 02:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397572121724715008,"km_value":397572121724715.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:45:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1508916950761566208,"description":"Unknown IO ID 44"} 
[2026-09-04 02:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848331008001,"power":27300,"unknown_29":206,"unknown_83":43008,"ignition":47,"odometer":null,"unknown_44":-1508916950761566208}} 
[2026-09-04 02:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":170638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:45:38] local.INFO: GPS data processed {"connection_id":170638,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:45:38] local.INFO: Acknowledgment sent {"connection_id":170638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:45:58] local.INFO: TCP Data received {"connection_id":170639,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:45:58] local.INFO: Processing buffer {"connection_id":170639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:45:58] local.INFO: IMEI packet received {"connection_id":170639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":170639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:46:01] local.INFO: TCP Data received {"connection_id":170639,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:46:01] local.INFO: Processing buffer {"connection_id":170639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:46:01] local.INFO: IMEI packet received {"connection_id":170639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":170639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:46:05] local.INFO: TCP Data received {"connection_id":170639,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:46:05] local.INFO: Processing buffer {"connection_id":170639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:46:05] local.INFO: IMEI packet received {"connection_id":170639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":170639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:46:06] local.INFO: TCP Data received {"connection_id":170639,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691f5ff8012ceb380007228930000e00282d..."} 
[2026-09-04 02:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691f5ff8012ceb380007228930000e00282d..."} 
[2026-09-04 02:46:06] local.INFO: Processing buffer {"connection_id":170639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691f5ff8012ceb380007228930000e00282d..."} 
[2026-09-04 02:46:06] local.INFO: Packet analysis {"connection_id":170639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691f"} 
[2026-09-04 02:46:06] local.INFO: Extracted packet for processing {"connection_id":170639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691f"} 
[2026-09-04 02:46:06] local.INFO: GPS Element Parsed {"raw_longitude":753612800,"raw_latitude":119703856,"longitude_deg":75.36128,"latitude_deg":11.9703856,"altitude":14,"angle":40,"satellites":45,"speed":46,"hex_longitude":"2ceb3800","hex_latitude":"07228930","is_valid_coordinates":true} 
[2026-09-04 02:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848333056001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397572576991248384,"note":"Value kept but may cause issues"} 
[2026-09-04 02:46:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1503357819969398784,"note":"Value kept but may cause issues"} 
[2026-09-04 02:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788470059000,"timestamp_ms":1788470059000,"timestamp_seconds":1788470059,"priority":1,"record_length":96,"hex_timestamp":"000001a0691f5ff8"} 
[2026-09-04 02:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 02:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848333056001,"66":27234,"29":206,"83":43008,"24":46,"16":397572576991248384,"44":-1503357819969398784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-09-04 02:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848333056001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:46:06] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-04 02:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397572576991248384,"km_value":397572576991248.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:46:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1503357819969398784,"description":"Unknown IO ID 44"} 
[2026-09-04 02:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848333056001,"power":27234,"unknown_29":206,"unknown_83":43008,"ignition":46,"odometer":null,"unknown_44":-1503357819969398784}} 
[2026-09-04 02:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":170639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:46:06] local.INFO: GPS data processed {"connection_id":170639,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:46:06] local.INFO: Acknowledgment sent {"connection_id":170639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:46:09] local.INFO: TCP Data received {"connection_id":171735,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:46:09] local.INFO: Processing buffer {"connection_id":171735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:46:09] local.INFO: IMEI packet received {"connection_id":171735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":171735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:46:38] local.INFO: TCP Data received {"connection_id":170639,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0691f8320012ceb53800722a338001200332b..."} 
[2026-09-04 02:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0691f8320012ceb53800722a338001200332b..."} 
[2026-09-04 02:46:38] local.INFO: Processing buffer {"connection_id":170639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0691f8320012ceb53800722a338001200332b..."} 
[2026-09-04 02:46:38] local.INFO: Packet analysis {"connection_id":170639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0691f"} 
[2026-09-04 02:46:38] local.INFO: Extracted packet for processing {"connection_id":170639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0691f"} 
[2026-09-04 02:46:38] local.INFO: GPS Element Parsed {"raw_longitude":753619840,"raw_latitude":119710520,"longitude_deg":75.361984,"latitude_deg":11.971052,"altitude":18,"angle":51,"satellites":43,"speed":36,"hex_longitude":"2ceb5380","hex_latitude":"0722a338","is_valid_coordinates":true} 
[2026-09-04 02:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848335104001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397573040847716352,"note":"Value kept but may cause issues"} 
[2026-09-04 02:46:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1497446845456502784,"note":"Value kept but may cause issues"} 
[2026-09-04 02:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788470068000,"timestamp_ms":1788470068000,"timestamp_seconds":1788470068,"priority":1,"record_length":96,"hex_timestamp":"000001a0691f8320"} 
[2026-09-04 02:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 02:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848335104001,"66":27234,"29":206,"83":43008,"24":36,"16":397573040847716352,"44":-1497446845456502784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-09-04 02:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848335104001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:46:38] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-04 02:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397573040847716352,"km_value":397573040847716.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:46:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1497446845456502784,"description":"Unknown IO ID 44"} 
[2026-09-04 02:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848335104001,"power":27234,"unknown_29":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-1497446845456502784}} 
[2026-09-04 02:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":170639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:46:38] local.INFO: GPS data processed {"connection_id":170639,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:46:38] local.INFO: Acknowledgment sent {"connection_id":170639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:46:39] local.INFO: TCP Data received {"connection_id":171736,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:46:39] local.INFO: Processing buffer {"connection_id":171736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:46:39] local.INFO: IMEI packet received {"connection_id":171736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":171736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:47:01] local.INFO: TCP Data received {"connection_id":173046,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:47:01] local.INFO: Processing buffer {"connection_id":173046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:47:01] local.INFO: IMEI packet received {"connection_id":173046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":173046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:47:05] local.INFO: TCP Data received {"connection_id":173046,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:47:05] local.INFO: Processing buffer {"connection_id":173046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:47:05] local.INFO: IMEI packet received {"connection_id":173046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":173046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:47:06] local.INFO: TCP Data received {"connection_id":173046,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692138a0012cecad8007235308002000452e..."} 
[2026-09-04 02:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692138a0012cecad8007235308002000452e..."} 
[2026-09-04 02:47:06] local.INFO: Processing buffer {"connection_id":173046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692138a0012cecad8007235308002000452e..."} 
[2026-09-04 02:47:06] local.INFO: Packet analysis {"connection_id":173046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06921"} 
[2026-09-04 02:47:06] local.INFO: Extracted packet for processing {"connection_id":173046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06921"} 
[2026-09-04 02:47:06] local.INFO: GPS Element Parsed {"raw_longitude":753708416,"raw_latitude":119755528,"longitude_deg":75.3708416,"latitude_deg":11.9755528,"altitude":32,"angle":69,"satellites":46,"speed":45,"hex_longitude":"2cecad80","hex_latitude":"07235308","is_valid_coordinates":true} 
[2026-09-04 02:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848363776001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397577855506055168,"note":"Value kept but may cause issues"} 
[2026-09-04 02:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1403082359501656064,"note":"Value kept but may cause issues"} 
[2026-09-04 02:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788470180000,"timestamp_ms":1788470180000,"timestamp_seconds":1788470180,"priority":1,"record_length":96,"hex_timestamp":"000001a0692138a0"} 
[2026-09-04 02:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 02:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848363776001,"66":27332,"58":206,"83":43008,"24":45,"16":397577855506055168,"44":-1403082359501656064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-04 02:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848363776001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:47:06] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-04 02:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397577855506055168,"km_value":397577855506055.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1403082359501656064,"description":"Unknown IO ID 44"} 
[2026-09-04 02:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848363776001,"power":27332,"unknown_58":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1403082359501656064}} 
[2026-09-04 02:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":173046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:47:06] local.INFO: GPS data processed {"connection_id":173046,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:47:06] local.INFO: Acknowledgment sent {"connection_id":173046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:47:37] local.INFO: TCP Data received {"connection_id":173046,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692138a0012cecad8007235308002000452e..."} 
[2026-09-04 02:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692138a0012cecad8007235308002000452e..."} 
[2026-09-04 02:47:37] local.INFO: Processing buffer {"connection_id":173046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692138a0012cecad8007235308002000452e..."} 
[2026-09-04 02:47:37] local.INFO: Packet analysis {"connection_id":173046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06921"} 
[2026-09-04 02:47:37] local.INFO: Extracted packet for processing {"connection_id":173046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06921"} 
[2026-09-04 02:47:37] local.INFO: GPS Element Parsed {"raw_longitude":753708416,"raw_latitude":119755528,"longitude_deg":75.3708416,"latitude_deg":11.9755528,"altitude":32,"angle":69,"satellites":46,"speed":45,"hex_longitude":"2cecad80","hex_latitude":"07235308","is_valid_coordinates":true} 
[2026-09-04 02:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848366080001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397577855506055168,"note":"Value kept but may cause issues"} 
[2026-09-04 02:47:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1392315941641844736,"note":"Value kept but may cause issues"} 
[2026-09-04 02:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788470180000,"timestamp_ms":1788470180000,"timestamp_seconds":1788470180,"priority":1,"record_length":96,"hex_timestamp":"000001a0692138a0"} 
[2026-09-04 02:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 02:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848366080001,"66":27332,"58":206,"83":43008,"24":45,"16":397577855506055168,"44":-1392315941641844736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-04 02:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848366080001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:47:37] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-04 02:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397577855506055168,"km_value":397577855506055.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:47:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1392315941641844736,"description":"Unknown IO ID 44"} 
[2026-09-04 02:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848366080001,"power":27332,"unknown_58":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1392315941641844736}} 
[2026-09-04 02:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":173046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:47:37] local.INFO: GPS data processed {"connection_id":173046,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:47:37] local.INFO: Acknowledgment sent {"connection_id":173046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:47:59] local.INFO: TCP Data received {"connection_id":170640,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:47:59] local.INFO: Processing buffer {"connection_id":170640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:47:59] local.INFO: IMEI packet received {"connection_id":170640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":170640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:48:00] local.INFO: TCP Data received {"connection_id":170640,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:48:00] local.INFO: Processing buffer {"connection_id":170640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:48:00] local.INFO: IMEI packet received {"connection_id":170640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":170640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:48:06] local.INFO: TCP Data received {"connection_id":170640,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:48:06] local.INFO: Processing buffer {"connection_id":170640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:48:06] local.INFO: IMEI packet received {"connection_id":170640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":170640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:48:07] local.INFO: TCP Data received {"connection_id":170640,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692153f8012cecca8007236160002000392d..."} 
[2026-09-04 02:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692153f8012cecca8007236160002000392d..."} 
[2026-09-04 02:48:07] local.INFO: Processing buffer {"connection_id":170640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692153f8012cecca8007236160002000392d..."} 
[2026-09-04 02:48:07] local.INFO: Packet analysis {"connection_id":170640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06921"} 
[2026-09-04 02:48:07] local.INFO: Extracted packet for processing {"connection_id":170640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06921"} 
[2026-09-04 02:48:07] local.INFO: GPS Element Parsed {"raw_longitude":753715840,"raw_latitude":119759200,"longitude_deg":75.371584,"latitude_deg":11.97592,"altitude":32,"angle":57,"satellites":45,"speed":47,"hex_longitude":"2cecca80","hex_latitude":"07236160","is_valid_coordinates":true} 
[2026-09-04 02:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848366080001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397578250643046400,"note":"Value kept but may cause issues"} 
[2026-09-04 02:48:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1392315941641844736,"note":"Value kept but may cause issues"} 
[2026-09-04 02:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788470187000,"timestamp_ms":1788470187000,"timestamp_seconds":1788470187,"priority":1,"record_length":96,"hex_timestamp":"000001a0692153f8"} 
[2026-09-04 02:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 02:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848366080001,"66":27332,"58":206,"83":43008,"24":47,"16":397578250643046400,"44":-1392315941641844736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-04 02:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848366080001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:48:07] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-04 02:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397578250643046400,"km_value":397578250643046.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:48:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1392315941641844736,"description":"Unknown IO ID 44"} 
[2026-09-04 02:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848366080001,"power":27332,"unknown_58":206,"unknown_83":43008,"ignition":47,"odometer":null,"unknown_44":-1392315941641844736}} 
[2026-09-04 02:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":170640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:48:07] local.INFO: GPS data processed {"connection_id":170640,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:48:07] local.INFO: Acknowledgment sent {"connection_id":170640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:48:49] local.INFO: TCP Data received {"connection_id":170640,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069227120012ced7b40072498d0002a000b2f..."} 
[2026-09-04 02:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069227120012ced7b40072498d0002a000b2f..."} 
[2026-09-04 02:48:49] local.INFO: Processing buffer {"connection_id":170640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069227120012ced7b40072498d0002a000b2f..."} 
[2026-09-04 02:48:49] local.INFO: Packet analysis {"connection_id":170640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06922"} 
[2026-09-04 02:48:49] local.INFO: Extracted packet for processing {"connection_id":170640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06922"} 
[2026-09-04 02:48:49] local.INFO: GPS Element Parsed {"raw_longitude":753761088,"raw_latitude":119838928,"longitude_deg":75.3761088,"latitude_deg":11.9838928,"altitude":42,"angle":11,"satellites":47,"speed":37,"hex_longitude":"2ced7b40","hex_latitude":"072498d0","is_valid_coordinates":true} 
[2026-09-04 02:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848384000001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397582799013412864,"note":"Value kept but may cause issues"} 
[2026-09-04 02:48:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1336865371210907648,"note":"Value kept but may cause issues"} 
[2026-09-04 02:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788470260000,"timestamp_ms":1788470260000,"timestamp_seconds":1788470260,"priority":1,"record_length":96,"hex_timestamp":"000001a069227120"} 
[2026-09-04 02:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 02:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":170640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":170640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":170640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848384000001,"66":27332,"58":206,"83":43008,"24":37,"16":397582799013412864,"44":-1336865371210907648},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-04 02:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848384000001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:48:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-04 02:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397582799013412864,"km_value":397582799013412.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:48:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1336865371210907648,"description":"Unknown IO ID 44"} 
[2026-09-04 02:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848384000001,"power":27332,"unknown_58":206,"unknown_83":43008,"ignition":37,"odometer":null,"unknown_44":-1336865371210907648}} 
[2026-09-04 02:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":170640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:48:49] local.INFO: GPS data processed {"connection_id":170640,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:48:49] local.INFO: Acknowledgment sent {"connection_id":170640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:48:54] local.INFO: TCP Data received {"connection_id":170335,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-04 02:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170335,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-04 02:48:54] local.INFO: Processing buffer {"connection_id":170335,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-04 02:48:54] local.INFO: Packet analysis {"connection_id":170335,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-04 02:48:54] local.INFO: Extracted packet for processing {"connection_id":170335,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-04 02:48:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 02:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-04 02:48:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-04 02:48:54] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-04 02:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-04 02:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-04 02:48:54] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170335,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 02:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170335,"device_imei":null,"avl_records_count":1} 
[2026-09-04 02:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170335,"device_imei":null,"avl_records_count":1} 
[2026-09-04 02:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":170335,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-04 02:48:54] local.INFO: GPS data processed {"connection_id":170335,"processed":0,"errors":0,"total":1} 
[2026-09-04 02:48:54] local.INFO: Acknowledgment sent {"connection_id":170335,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:49:00] local.INFO: TCP Data received {"connection_id":173047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:49:00] local.INFO: Processing buffer {"connection_id":173047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:49:00] local.INFO: IMEI packet received {"connection_id":173047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":173047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:49:05] local.INFO: TCP Data received {"connection_id":173047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:49:05] local.INFO: Processing buffer {"connection_id":173047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:49:05] local.INFO: IMEI packet received {"connection_id":173047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":173047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:49:16] local.INFO: TCP Data received {"connection_id":173047,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069229830012ced81000724be00002c00032f..."} 
[2026-09-04 02:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069229830012ced81000724be00002c00032f..."} 
[2026-09-04 02:49:16] local.INFO: Processing buffer {"connection_id":173047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069229830012ced81000724be00002c00032f..."} 
[2026-09-04 02:49:16] local.INFO: Packet analysis {"connection_id":173047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06922"} 
[2026-09-04 02:49:16] local.INFO: Extracted packet for processing {"connection_id":173047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06922"} 
[2026-09-04 02:49:16] local.INFO: GPS Element Parsed {"raw_longitude":753762560,"raw_latitude":119848448,"longitude_deg":75.376256,"latitude_deg":11.9848448,"altitude":44,"angle":3,"satellites":47,"speed":40,"hex_longitude":"2ced8100","hex_latitude":"0724be00","is_valid_coordinates":true} 
[2026-09-04 02:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848386560001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397583267164848128,"note":"Value kept but may cause issues"} 
[2026-09-04 02:49:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1334402465162276864,"note":"Value kept but may cause issues"} 
[2026-09-04 02:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788470270000,"timestamp_ms":1788470270000,"timestamp_seconds":1788470270,"priority":1,"record_length":96,"hex_timestamp":"000001a069229830"} 
[2026-09-04 02:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 02:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848386560001,"66":27332,"58":206,"83":43008,"24":40,"16":397583267164848128,"44":-1334402465162276864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-04 02:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848386560001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:49:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-04 02:49:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 02:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397583267164848128,"km_value":397583267164848.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:49:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1334402465162276864,"description":"Unknown IO ID 44"} 
[2026-09-04 02:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848386560001,"power":27332,"unknown_58":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-1334402465162276864}} 
[2026-09-04 02:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":173047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:49:16] local.INFO: GPS data processed {"connection_id":173047,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:49:16] local.INFO: Acknowledgment sent {"connection_id":173047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:50:08] local.INFO: TCP Data received {"connection_id":170641,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:50:08] local.INFO: Processing buffer {"connection_id":170641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:50:08] local.INFO: IMEI packet received {"connection_id":170641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":170641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:50:10] local.INFO: TCP Data received {"connection_id":170641,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:50:10] local.INFO: Processing buffer {"connection_id":170641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:50:10] local.INFO: IMEI packet received {"connection_id":170641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":170641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:50:14] local.INFO: TCP Data received {"connection_id":170641,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:50:14] local.INFO: Processing buffer {"connection_id":170641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:50:14] local.INFO: IMEI packet received {"connection_id":170641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":170641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:50:15] local.INFO: TCP Data received {"connection_id":170641,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06923e820012cecbec007260ae80021013f2e..."} 
[2026-09-04 02:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06923e820012cecbec007260ae80021013f2e..."} 
[2026-09-04 02:50:15] local.INFO: Processing buffer {"connection_id":170641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06923e820012cecbec007260ae80021013f2e..."} 
[2026-09-04 02:50:15] local.INFO: Packet analysis {"connection_id":170641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06923"} 
[2026-09-04 02:50:15] local.INFO: Extracted packet for processing {"connection_id":170641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06923"} 
[2026-09-04 02:50:15] local.INFO: GPS Element Parsed {"raw_longitude":753712832,"raw_latitude":119933672,"longitude_deg":75.3712832,"latitude_deg":11.9933672,"altitude":33,"angle":319,"satellites":46,"speed":57,"hex_longitude":"2cecbec0","hex_latitude":"07260ae8","is_valid_coordinates":true} 
[2026-09-04 02:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848409344001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397588146247696384,"note":"Value kept but may cause issues"} 
[2026-09-04 02:50:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1380071780111294464,"note":"Value kept but may cause issues"} 
[2026-09-04 02:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788470356000,"timestamp_ms":1788470356000,"timestamp_seconds":1788470356,"priority":1,"record_length":96,"hex_timestamp":"000001a06923e820"} 
[2026-09-04 02:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 02:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848409344001,"66":27343,"62":206,"83":44032,"24":57,"16":397588146247696384,"44":-1380071780111294464},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-09-04 02:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848409344001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:50:15] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-04 02:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397588146247696384,"km_value":397588146247696.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:50:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1380071780111294464,"description":"Unknown IO ID 44"} 
[2026-09-04 02:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848409344001,"power":27343,"unknown_62":206,"unknown_83":44032,"ignition":57,"odometer":null,"unknown_44":-1380071780111294464}} 
[2026-09-04 02:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":170641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:50:15] local.INFO: GPS data processed {"connection_id":170641,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:50:15] local.INFO: Acknowledgment sent {"connection_id":170641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:51:01] local.INFO: TCP Data received {"connection_id":170336,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:51:01] local.INFO: Processing buffer {"connection_id":170336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:51:01] local.INFO: IMEI packet received {"connection_id":170336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":170336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:51:01] local.INFO: TCP Data received {"connection_id":170336,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:51:01] local.INFO: Processing buffer {"connection_id":170336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:51:01] local.INFO: IMEI packet received {"connection_id":170336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":170336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:51:06] local.INFO: TCP Data received {"connection_id":170336,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:51:06] local.INFO: Processing buffer {"connection_id":170336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:51:06] local.INFO: IMEI packet received {"connection_id":170336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":170336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:51:08] local.INFO: TCP Data received {"connection_id":170336,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069240378012ceca70007262810002501442e..."} 
[2026-09-04 02:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069240378012ceca70007262810002501442e..."} 
[2026-09-04 02:51:08] local.INFO: Processing buffer {"connection_id":170336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069240378012ceca70007262810002501442e..."} 
[2026-09-04 02:51:08] local.INFO: Packet analysis {"connection_id":170336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06924"} 
[2026-09-04 02:51:08] local.INFO: Extracted packet for processing {"connection_id":170336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06924"} 
[2026-09-04 02:51:08] local.INFO: GPS Element Parsed {"raw_longitude":753706752,"raw_latitude":119941136,"longitude_deg":75.3706752,"latitude_deg":11.9941136,"altitude":37,"angle":324,"satellites":46,"speed":51,"hex_longitude":"2ceca700","hex_latitude":"07262810","is_valid_coordinates":true} 
[2026-09-04 02:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848411136001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397588610104164352,"note":"Value kept but may cause issues"} 
[2026-09-04 02:51:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1387460498247981056,"note":"Value kept but may cause issues"} 
[2026-09-04 02:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788470363000,"timestamp_ms":1788470363000,"timestamp_seconds":1788470363,"priority":1,"record_length":96,"hex_timestamp":"000001a069240378"} 
[2026-09-04 02:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 02:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848411136001,"66":27397,"62":206,"83":44032,"24":51,"16":397588610104164352,"44":-1387460498247981056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-09-04 02:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848411136001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:51:08] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-04 02:51:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397588610104164352,"km_value":397588610104164.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:51:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1387460498247981056,"description":"Unknown IO ID 44"} 
[2026-09-04 02:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848411136001,"power":27397,"unknown_62":206,"unknown_83":44032,"ignition":51,"odometer":null,"unknown_44":-1387460498247981056}} 
[2026-09-04 02:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":170336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:51:08] local.INFO: GPS data processed {"connection_id":170336,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:51:08] local.INFO: Acknowledgment sent {"connection_id":170336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:51:40] local.INFO: TCP Data received {"connection_id":170336,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069253bf8012cec79c00727ae00000e01672f..."} 
[2026-09-04 02:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069253bf8012cec79c00727ae00000e01672f..."} 
[2026-09-04 02:51:40] local.INFO: Processing buffer {"connection_id":170336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069253bf8012cec79c00727ae00000e01672f..."} 
[2026-09-04 02:51:40] local.INFO: Packet analysis {"connection_id":170336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06925"} 
[2026-09-04 02:51:40] local.INFO: Extracted packet for processing {"connection_id":170336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06925"} 
[2026-09-04 02:51:40] local.INFO: GPS Element Parsed {"raw_longitude":753695168,"raw_latitude":120040960,"longitude_deg":75.3695168,"latitude_deg":12.004096,"altitude":14,"angle":359,"satellites":47,"speed":53,"hex_longitude":"2cec79c0","hex_latitude":"0727ae00","is_valid_coordinates":true} 
[2026-09-04 02:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848431616001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397593609446096896,"note":"Value kept but may cause issues"} 
[2026-09-04 02:51:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407445221569429504,"note":"Value kept but may cause issues"} 
[2026-09-04 02:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788470443000,"timestamp_ms":1788470443000,"timestamp_seconds":1788470443,"priority":1,"record_length":96,"hex_timestamp":"000001a069253bf8"} 
[2026-09-04 02:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 02:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848431616001,"66":27332,"188":206,"83":44032,"24":53,"16":397593609446096896,"44":-1407445221569429504},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-04 02:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848431616001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:51:40] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-04 02:51:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397593609446096896,"km_value":397593609446096.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:51:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407445221569429504,"description":"Unknown IO ID 44"} 
[2026-09-04 02:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848431616001,"power":27332,"unknown_188":206,"unknown_83":44032,"ignition":53,"odometer":null,"unknown_44":-1407445221569429504}} 
[2026-09-04 02:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":170336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:51:40] local.INFO: GPS data processed {"connection_id":170336,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:51:40] local.INFO: Acknowledgment sent {"connection_id":170336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:52:01] local.INFO: TCP Data received {"connection_id":170643,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:52:01] local.INFO: Processing buffer {"connection_id":170643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:52:01] local.INFO: IMEI packet received {"connection_id":170643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":170643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:52:06] local.INFO: TCP Data received {"connection_id":170643,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:52:06] local.INFO: Processing buffer {"connection_id":170643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:52:06] local.INFO: IMEI packet received {"connection_id":170643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":170643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:52:07] local.INFO: TCP Data received {"connection_id":170643,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069255750012cec77400727d260000a01602f..."} 
[2026-09-04 02:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069255750012cec77400727d260000a01602f..."} 
[2026-09-04 02:52:07] local.INFO: Processing buffer {"connection_id":170643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069255750012cec77400727d260000a01602f..."} 
[2026-09-04 02:52:07] local.INFO: Packet analysis {"connection_id":170643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06925"} 
[2026-09-04 02:52:07] local.INFO: Extracted packet for processing {"connection_id":170643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06925"} 
[2026-09-04 02:52:07] local.INFO: GPS Element Parsed {"raw_longitude":753694528,"raw_latitude":120050272,"longitude_deg":75.3694528,"latitude_deg":12.0050272,"altitude":10,"angle":352,"satellites":47,"speed":52,"hex_longitude":"2cec7740","hex_latitude":"0727d260","is_valid_coordinates":true} 
[2026-09-04 02:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848433408001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397594064712630272,"note":"Value kept but may cause issues"} 
[2026-09-04 02:52:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1406882271613550592,"note":"Value kept but may cause issues"} 
[2026-09-04 02:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788470450000,"timestamp_ms":1788470450000,"timestamp_seconds":1788470450,"priority":1,"record_length":96,"hex_timestamp":"000001a069255750"} 
[2026-09-04 02:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 02:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848433408001,"66":27267,"188":206,"83":44032,"24":52,"16":397594064712630272,"44":-1406882271613550592},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-04 02:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848433408001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:52:07] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-04 02:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397594064712630272,"km_value":397594064712630.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:52:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1406882271613550592,"description":"Unknown IO ID 44"} 
[2026-09-04 02:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848433408001,"power":27267,"unknown_188":206,"unknown_83":44032,"ignition":52,"odometer":null,"unknown_44":-1406882271613550592}} 
[2026-09-04 02:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":170643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:52:07] local.INFO: GPS data processed {"connection_id":170643,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:52:07] local.INFO: Acknowledgment sent {"connection_id":170643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:52:37] local.INFO: TCP Data received {"connection_id":170643,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069257a78012cec73800727f7d00007016230..."} 
[2026-09-04 02:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069257a78012cec73800727f7d00007016230..."} 
[2026-09-04 02:52:37] local.INFO: Processing buffer {"connection_id":170643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069257a78012cec73800727f7d00007016230..."} 
[2026-09-04 02:52:37] local.INFO: Packet analysis {"connection_id":170643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06925"} 
[2026-09-04 02:52:37] local.INFO: Extracted packet for processing {"connection_id":170643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06925"} 
[2026-09-04 02:52:37] local.INFO: GPS Element Parsed {"raw_longitude":753693568,"raw_latitude":120059856,"longitude_deg":75.3693568,"latitude_deg":12.0059856,"altitude":7,"angle":354,"satellites":48,"speed":33,"hex_longitude":"2cec7380","hex_latitude":"0727f7d0","is_valid_coordinates":true} 
[2026-09-04 02:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848435200001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397594528569098240,"note":"Value kept but may cause issues"} 
[2026-09-04 02:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407585959052943360,"note":"Value kept but may cause issues"} 
[2026-09-04 02:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788470459000,"timestamp_ms":1788470459000,"timestamp_seconds":1788470459,"priority":1,"record_length":96,"hex_timestamp":"000001a069257a78"} 
[2026-09-04 02:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 02:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848435200001,"66":27245,"167":206,"83":44032,"24":33,"16":397594528569098240,"44":-1407585959052943360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,44]} 
[2026-09-04 02:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848435200001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:52:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-04 02:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397594528569098240,"km_value":397594528569098.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407585959052943360,"description":"Unknown IO ID 44"} 
[2026-09-04 02:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848435200001,"power":27245,"unknown_167":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1407585959052943360}} 
[2026-09-04 02:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":170643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:52:37] local.INFO: GPS data processed {"connection_id":170643,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:52:37] local.INFO: Acknowledgment sent {"connection_id":170643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:52:38] local.INFO: TCP Data received {"connection_id":170337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:52:38] local.INFO: Processing buffer {"connection_id":170337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:52:38] local.INFO: IMEI packet received {"connection_id":170337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":170337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:53:00] local.INFO: TCP Data received {"connection_id":171739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:53:00] local.INFO: Processing buffer {"connection_id":171739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:53:00] local.INFO: IMEI packet received {"connection_id":171739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":171739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:53:05] local.INFO: TCP Data received {"connection_id":171739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:53:05] local.INFO: Processing buffer {"connection_id":171739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:53:05] local.INFO: IMEI packet received {"connection_id":171739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":171739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:53:05] local.INFO: TCP Data received {"connection_id":171739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06925a570012cec6fc007281c20000701602d..."} 
[2026-09-04 02:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06925a570012cec6fc007281c20000701602d..."} 
[2026-09-04 02:53:05] local.INFO: Processing buffer {"connection_id":171739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06925a570012cec6fc007281c20000701602d..."} 
[2026-09-04 02:53:05] local.INFO: Packet analysis {"connection_id":171739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06925"} 
[2026-09-04 02:53:05] local.INFO: Extracted packet for processing {"connection_id":171739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06925"} 
[2026-09-04 02:53:05] local.INFO: GPS Element Parsed {"raw_longitude":753692608,"raw_latitude":120069152,"longitude_deg":75.3692608,"latitude_deg":12.0069152,"altitude":7,"angle":352,"satellites":45,"speed":36,"hex_longitude":"2cec6fc0","hex_latitude":"07281c20","is_valid_coordinates":true} 
[2026-09-04 02:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848437504001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397594983835631616,"note":"Value kept but may cause issues"} 
[2026-09-04 02:53:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408641490213154816,"note":"Value kept but may cause issues"} 
[2026-09-04 02:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788470470000,"timestamp_ms":1788470470000,"timestamp_seconds":1788470470,"priority":1,"record_length":96,"hex_timestamp":"000001a06925a570"} 
[2026-09-04 02:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 02:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848437504001,"66":27180,"61":206,"83":44032,"24":36,"16":397594983835631616,"44":-1408641490213154816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-09-04 02:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848437504001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:53:05] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-04 02:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397594983835631616,"km_value":397594983835631.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:53:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408641490213154816,"description":"Unknown IO ID 44"} 
[2026-09-04 02:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848437504001,"power":27180,"unknown_61":206,"unknown_83":44032,"ignition":36,"odometer":null,"unknown_44":-1408641490213154816}} 
[2026-09-04 02:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":171739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:53:05] local.INFO: GPS data processed {"connection_id":171739,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:53:05] local.INFO: Acknowledgment sent {"connection_id":171739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:53:36] local.INFO: TCP Data received {"connection_id":171739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06925c898012cec6bc007283ea0000701602f..."} 
[2026-09-04 02:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06925c898012cec6bc007283ea0000701602f..."} 
[2026-09-04 02:53:36] local.INFO: Processing buffer {"connection_id":171739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06925c898012cec6bc007283ea0000701602f..."} 
[2026-09-04 02:53:36] local.INFO: Packet analysis {"connection_id":171739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06925"} 
[2026-09-04 02:53:36] local.INFO: Extracted packet for processing {"connection_id":171739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06925"} 
[2026-09-04 02:53:36] local.INFO: GPS Element Parsed {"raw_longitude":753691584,"raw_latitude":120077984,"longitude_deg":75.3691584,"latitude_deg":12.0077984,"altitude":7,"angle":352,"satellites":47,"speed":42,"hex_longitude":"2cec6bc0","hex_latitude":"07283ea0","is_valid_coordinates":true} 
[2026-09-04 02:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848440320001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397595413332361216,"note":"Value kept but may cause issues"} 
[2026-09-04 02:53:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409697021373440000,"note":"Value kept but may cause issues"} 
[2026-09-04 02:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788470479000,"timestamp_ms":1788470479000,"timestamp_seconds":1788470479,"priority":1,"record_length":96,"hex_timestamp":"000001a06925c898"} 
[2026-09-04 02:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 02:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848440320001,"66":27321,"61":206,"83":44032,"24":42,"16":397595413332361216,"44":-1409697021373440000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-09-04 02:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848440320001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:53:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-04 02:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397595413332361216,"km_value":397595413332361.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:53:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409697021373440000,"description":"Unknown IO ID 44"} 
[2026-09-04 02:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848440320001,"power":27321,"unknown_61":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1409697021373440000}} 
[2026-09-04 02:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":171739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:53:36] local.INFO: GPS data processed {"connection_id":171739,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:53:36] local.INFO: Acknowledgment sent {"connection_id":171739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:54:00] local.INFO: TCP Data received {"connection_id":171740,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:54:00] local.INFO: Processing buffer {"connection_id":171740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:54:00] local.INFO: IMEI packet received {"connection_id":171740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":171740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:54:01] local.INFO: TCP Data received {"connection_id":171740,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:54:01] local.INFO: Processing buffer {"connection_id":171740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:54:01] local.INFO: IMEI packet received {"connection_id":171740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":171740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:54:04] local.INFO: TCP Data received {"connection_id":171740,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:54:04] local.INFO: Processing buffer {"connection_id":171740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:54:04] local.INFO: IMEI packet received {"connection_id":171740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":171740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:54:05] local.INFO: TCP Data received {"connection_id":171740,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:54:05] local.INFO: Processing buffer {"connection_id":171740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:54:05] local.INFO: IMEI packet received {"connection_id":171740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":171740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:54:06] local.INFO: TCP Data received {"connection_id":171740,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069278db8012cec78800729b9080022000330..."} 
[2026-09-04 02:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069278db8012cec78800729b9080022000330..."} 
[2026-09-04 02:54:06] local.INFO: Processing buffer {"connection_id":171740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069278db8012cec78800729b9080022000330..."} 
[2026-09-04 02:54:06] local.INFO: Packet analysis {"connection_id":171740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06927"} 
[2026-09-04 02:54:06] local.INFO: Extracted packet for processing {"connection_id":171740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06927"} 
[2026-09-04 02:54:06] local.INFO: GPS Element Parsed {"raw_longitude":753694848,"raw_latitude":120174856,"longitude_deg":75.3694848,"latitude_deg":12.0174856,"altitude":34,"angle":3,"satellites":48,"speed":37,"hex_longitude":"2cec7880","hex_latitude":"0729b908","is_valid_coordinates":true} 
[2026-09-04 02:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848470784001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397600176451092480,"note":"Value kept but may cause issues"} 
[2026-09-04 02:54:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408430383952543744,"note":"Value kept but may cause issues"} 
[2026-09-04 02:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788470595000,"timestamp_ms":1788470595000,"timestamp_seconds":1788470595,"priority":1,"record_length":96,"hex_timestamp":"000001a069278db8"} 
[2026-09-04 02:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 02:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848470784001,"66":27234,"61":206,"83":44032,"24":37,"16":397600176451092480,"44":-1408430383952543744},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-09-04 02:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848470784001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:54:06] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-04 02:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397600176451092480,"km_value":397600176451092.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:54:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408430383952543744,"description":"Unknown IO ID 44"} 
[2026-09-04 02:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848470784001,"power":27234,"unknown_61":206,"unknown_83":44032,"ignition":37,"odometer":null,"unknown_44":-1408430383952543744}} 
[2026-09-04 02:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":171740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:54:06] local.INFO: GPS data processed {"connection_id":171740,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:54:06] local.INFO: Acknowledgment sent {"connection_id":171740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:54:12] local.INFO: TCP Data received {"connection_id":171740,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06927a140012cec77c00729cba0002301602e..."} 
[2026-09-04 02:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06927a140012cec77c00729cba0002301602e..."} 
[2026-09-04 02:54:12] local.INFO: Processing buffer {"connection_id":171740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06927a140012cec77c00729cba0002301602e..."} 
[2026-09-04 02:54:12] local.INFO: Packet analysis {"connection_id":171740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06927"} 
[2026-09-04 02:54:12] local.INFO: Extracted packet for processing {"connection_id":171740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06927"} 
[2026-09-04 02:54:12] local.INFO: GPS Element Parsed {"raw_longitude":753694656,"raw_latitude":120179616,"longitude_deg":75.3694656,"latitude_deg":12.0179616,"altitude":35,"angle":352,"satellites":46,"speed":37,"hex_longitude":"2cec77c0","hex_latitude":"0729cba0","is_valid_coordinates":true} 
[2026-09-04 02:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848472320001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397600408379326464,"note":"Value kept but may cause issues"} 
[2026-09-04 02:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407234115300161536,"note":"Value kept but may cause issues"} 
[2026-09-04 02:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788470600000,"timestamp_ms":1788470600000,"timestamp_seconds":1788470600,"priority":1,"record_length":96,"hex_timestamp":"000001a06927a140"} 
[2026-09-04 02:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 02:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848472320001,"66":27169,"171":206,"83":44032,"24":37,"16":397600408379326464,"44":-1407234115300161536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-09-04 02:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848472320001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:54:12] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 02:54:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397600408379326464,"km_value":397600408379326.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407234115300161536,"description":"Unknown IO ID 44"} 
[2026-09-04 02:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848472320001,"power":27169,"unknown_171":206,"unknown_83":44032,"ignition":37,"odometer":null,"unknown_44":-1407234115300161536}} 
[2026-09-04 02:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":171740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:54:12] local.INFO: GPS data processed {"connection_id":171740,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:54:12] local.INFO: Acknowledgment sent {"connection_id":171740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:54:43] local.INFO: TCP Data received {"connection_id":171740,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06927acf8012cec75400729d618002301532e..."} 
[2026-09-04 02:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06927acf8012cec75400729d618002301532e..."} 
[2026-09-04 02:54:43] local.INFO: Processing buffer {"connection_id":171740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06927acf8012cec75400729d618002301532e..."} 
[2026-09-04 02:54:43] local.INFO: Packet analysis {"connection_id":171740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06927"} 
[2026-09-04 02:54:43] local.INFO: Extracted packet for processing {"connection_id":171740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06927"} 
[2026-09-04 02:54:43] local.INFO: GPS Element Parsed {"raw_longitude":753694016,"raw_latitude":120182296,"longitude_deg":75.3694016,"latitude_deg":12.0182296,"altitude":35,"angle":339,"satellites":46,"speed":35,"hex_longitude":"2cec7540","hex_latitude":"0729d618","is_valid_coordinates":true} 
[2026-09-04 02:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848473600001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397600541523312640,"note":"Value kept but may cause issues"} 
[2026-09-04 02:54:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407445221531475968,"note":"Value kept but may cause issues"} 
[2026-09-04 02:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788470603000,"timestamp_ms":1788470603000,"timestamp_seconds":1788470603,"priority":1,"record_length":96,"hex_timestamp":"000001a06927acf8"} 
[2026-09-04 02:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-04 02:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848473600001,"66":27267,"171":206,"83":44032,"24":35,"16":397600541523312640,"44":-1407445221531475968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-09-04 02:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848473600001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:54:43] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 02:54:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397600541523312640,"km_value":397600541523312.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:54:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407445221531475968,"description":"Unknown IO ID 44"} 
[2026-09-04 02:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848473600001,"power":27267,"unknown_171":206,"unknown_83":44032,"ignition":35,"odometer":null,"unknown_44":-1407445221531475968}} 
[2026-09-04 02:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":171740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:54:43] local.INFO: GPS data processed {"connection_id":171740,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:54:43] local.INFO: Acknowledgment sent {"connection_id":171740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:55:00] local.INFO: TCP Data received {"connection_id":171741,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:55:00] local.INFO: Processing buffer {"connection_id":171741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:55:00] local.INFO: IMEI packet received {"connection_id":171741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":171741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:55:01] local.INFO: TCP Data received {"connection_id":171741,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:55:01] local.INFO: Processing buffer {"connection_id":171741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:55:01] local.INFO: IMEI packet received {"connection_id":171741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":171741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:55:06] local.INFO: TCP Data received {"connection_id":171741,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:55:06] local.INFO: Processing buffer {"connection_id":171741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:55:06] local.INFO: IMEI packet received {"connection_id":171741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":171741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:55:06] local.INFO: TCP Data received {"connection_id":171741,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06927b8b0012cec70800729df68002401452b..."} 
[2026-09-04 02:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06927b8b0012cec70800729df68002401452b..."} 
[2026-09-04 02:55:06] local.INFO: Processing buffer {"connection_id":171741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06927b8b0012cec70800729df68002401452b..."} 
[2026-09-04 02:55:06] local.INFO: Packet analysis {"connection_id":171741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06927"} 
[2026-09-04 02:55:06] local.INFO: Extracted packet for processing {"connection_id":171741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06927"} 
[2026-09-04 02:55:06] local.INFO: GPS Element Parsed {"raw_longitude":753692800,"raw_latitude":120184680,"longitude_deg":75.36928,"latitude_deg":12.018468,"altitude":36,"angle":325,"satellites":43,"speed":35,"hex_longitude":"2cec7080","hex_latitude":"0729df68","is_valid_coordinates":true} 
[2026-09-04 02:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848474368001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397600670372331520,"note":"Value kept but may cause issues"} 
[2026-09-04 02:55:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408148908972566528,"note":"Value kept but may cause issues"} 
[2026-09-04 02:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788470606000,"timestamp_ms":1788470606000,"timestamp_seconds":1788470606,"priority":1,"record_length":96,"hex_timestamp":"000001a06927b8b0"} 
[2026-09-04 02:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 02:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848474368001,"66":27234,"171":206,"83":44032,"24":35,"16":397600670372331520,"44":-1408148908972566528},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-09-04 02:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848474368001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:55:06] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 02:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397600670372331520,"km_value":397600670372331.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:55:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408148908972566528,"description":"Unknown IO ID 44"} 
[2026-09-04 02:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848474368001,"power":27234,"unknown_171":206,"unknown_83":44032,"ignition":35,"odometer":null,"unknown_44":-1408148908972566528}} 
[2026-09-04 02:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":171741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:55:06] local.INFO: GPS data processed {"connection_id":171741,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:55:06] local.INFO: Acknowledgment sent {"connection_id":171741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:55:38] local.INFO: TCP Data received {"connection_id":171741,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06928f900012cebfc00072b3430002a013e2c..."} 
[2026-09-04 02:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06928f900012cebfc00072b3430002a013e2c..."} 
[2026-09-04 02:55:38] local.INFO: Processing buffer {"connection_id":171741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06928f900012cebfc00072b3430002a013e2c..."} 
[2026-09-04 02:55:38] local.INFO: Packet analysis {"connection_id":171741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06928"} 
[2026-09-04 02:55:38] local.INFO: Extracted packet for processing {"connection_id":171741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06928"} 
[2026-09-04 02:55:38] local.INFO: GPS Element Parsed {"raw_longitude":753662976,"raw_latitude":120271920,"longitude_deg":75.3662976,"latitude_deg":12.027192,"altitude":42,"angle":318,"satellites":44,"speed":52,"hex_longitude":"2cebfc00","hex_latitude":"072b3430","is_valid_coordinates":true} 
[2026-09-04 02:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848494336001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397605205857796096,"note":"Value kept but may cause issues"} 
[2026-09-04 02:55:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1436507512855087104,"note":"Value kept but may cause issues"} 
[2026-09-04 02:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788470688000,"timestamp_ms":1788470688000,"timestamp_seconds":1788470688,"priority":1,"record_length":96,"hex_timestamp":"000001a06928f900"} 
[2026-09-04 02:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 02:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848494336001,"66":27267,"225":206,"83":44032,"24":52,"16":397605205857796096,"44":-1436507512855087104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-04 02:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848494336001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:55:38] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-04 02:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397605205857796096,"km_value":397605205857796.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:55:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1436507512855087104,"description":"Unknown IO ID 44"} 
[2026-09-04 02:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848494336001,"power":27267,"unknown_225":206,"unknown_83":44032,"ignition":52,"odometer":null,"unknown_44":-1436507512855087104}} 
[2026-09-04 02:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":171741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:55:38] local.INFO: GPS data processed {"connection_id":171741,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:55:38] local.INFO: Acknowledgment sent {"connection_id":171741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:56:05] local.INFO: TCP Data received {"connection_id":170339,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:56:05] local.INFO: Processing buffer {"connection_id":170339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:56:05] local.INFO: IMEI packet received {"connection_id":170339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":170339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:56:11] local.INFO: TCP Data received {"connection_id":170339,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:56:11] local.INFO: Processing buffer {"connection_id":170339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:56:11] local.INFO: IMEI packet received {"connection_id":170339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":170339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:56:11] local.INFO: TCP Data received {"connection_id":170339,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06928f900012cebfc00072b3430002a013e2c..."} 
[2026-09-04 02:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06928f900012cebfc00072b3430002a013e2c..."} 
[2026-09-04 02:56:11] local.INFO: Processing buffer {"connection_id":170339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06928f900012cebfc00072b3430002a013e2c..."} 
[2026-09-04 02:56:11] local.INFO: Packet analysis {"connection_id":170339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06928"} 
[2026-09-04 02:56:11] local.INFO: Extracted packet for processing {"connection_id":170339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06928"} 
[2026-09-04 02:56:11] local.INFO: GPS Element Parsed {"raw_longitude":753662976,"raw_latitude":120271920,"longitude_deg":75.3662976,"latitude_deg":12.027192,"altitude":42,"angle":318,"satellites":44,"speed":52,"hex_longitude":"2cebfc00","hex_latitude":"072b3430","is_valid_coordinates":true} 
[2026-09-04 02:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848496128001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397605205857796096,"note":"Value kept but may cause issues"} 
[2026-09-04 02:56:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1442277749875789824,"note":"Value kept but may cause issues"} 
[2026-09-04 02:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788470688000,"timestamp_ms":1788470688000,"timestamp_seconds":1788470688,"priority":1,"record_length":96,"hex_timestamp":"000001a06928f900"} 
[2026-09-04 02:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 02:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848496128001,"66":27267,"225":206,"83":44032,"24":52,"16":397605205857796096,"44":-1442277749875789824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-04 02:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848496128001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:56:11] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-04 02:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397605205857796096,"km_value":397605205857796.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:56:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1442277749875789824,"description":"Unknown IO ID 44"} 
[2026-09-04 02:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848496128001,"power":27267,"unknown_225":206,"unknown_83":44032,"ignition":52,"odometer":null,"unknown_44":-1442277749875789824}} 
[2026-09-04 02:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":170339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:56:11] local.INFO: GPS data processed {"connection_id":170339,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:56:11] local.INFO: Acknowledgment sent {"connection_id":170339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:56:43] local.INFO: TCP Data received {"connection_id":170339,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069291458012cebe240072b4e58002701382b..."} 
[2026-09-04 02:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069291458012cebe240072b4e58002701382b..."} 
[2026-09-04 02:56:43] local.INFO: Processing buffer {"connection_id":170339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069291458012cebe240072b4e58002701382b..."} 
[2026-09-04 02:56:43] local.INFO: Packet analysis {"connection_id":170339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06929"} 
[2026-09-04 02:56:43] local.INFO: Extracted packet for processing {"connection_id":170339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06929"} 
[2026-09-04 02:56:43] local.INFO: GPS Element Parsed {"raw_longitude":753656384,"raw_latitude":120278616,"longitude_deg":75.3656384,"latitude_deg":12.0278616,"altitude":39,"angle":312,"satellites":43,"speed":52,"hex_longitude":"2cebe240","hex_latitude":"072b4e58","is_valid_coordinates":true} 
[2026-09-04 02:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848496128001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397605656829362176,"note":"Value kept but may cause issues"} 
[2026-09-04 02:56:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1442277749875789824,"note":"Value kept but may cause issues"} 
[2026-09-04 02:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788470695000,"timestamp_ms":1788470695000,"timestamp_seconds":1788470695,"priority":1,"record_length":96,"hex_timestamp":"000001a069291458"} 
[2026-09-04 02:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 02:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":170339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":170339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":170339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848496128001,"66":27213,"225":206,"83":44032,"24":52,"16":397605656829362176,"44":-1442277749875789824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-04 02:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848496128001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:56:43] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-04 02:56:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397605656829362176,"km_value":397605656829362.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:56:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1442277749875789824,"description":"Unknown IO ID 44"} 
[2026-09-04 02:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848496128001,"power":27213,"unknown_225":206,"unknown_83":44032,"ignition":52,"odometer":null,"unknown_44":-1442277749875789824}} 
[2026-09-04 02:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":170339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:56:43] local.INFO: GPS data processed {"connection_id":170339,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:56:43] local.INFO: Acknowledgment sent {"connection_id":170339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:57:06] local.INFO: TCP Data received {"connection_id":173049,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:57:06] local.INFO: Processing buffer {"connection_id":173049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:57:06] local.INFO: IMEI packet received {"connection_id":173049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":173049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:57:09] local.INFO: TCP Data received {"connection_id":173049,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:57:09] local.INFO: Processing buffer {"connection_id":173049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:57:09] local.INFO: IMEI packet received {"connection_id":173049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":173049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:57:10] local.INFO: TCP Data received {"connection_id":173049,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692a3568012ceb31c0072c6408003101452b..."} 
[2026-09-04 02:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692a3568012ceb31c0072c6408003101452b..."} 
[2026-09-04 02:57:10] local.INFO: Processing buffer {"connection_id":173049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692a3568012ceb31c0072c6408003101452b..."} 
[2026-09-04 02:57:10] local.INFO: Packet analysis {"connection_id":173049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692a"} 
[2026-09-04 02:57:10] local.INFO: Extracted packet for processing {"connection_id":173049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692a"} 
[2026-09-04 02:57:10] local.INFO: GPS Element Parsed {"raw_longitude":753611200,"raw_latitude":120349704,"longitude_deg":75.36112,"latitude_deg":12.0349704,"altitude":49,"angle":325,"satellites":43,"speed":24,"hex_longitude":"2ceb31c0","hex_latitude":"072c6408","is_valid_coordinates":true} 
[2026-09-04 02:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848513536001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397609822947639296,"note":"Value kept but may cause issues"} 
[2026-09-04 02:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492943245665816576,"note":"Value kept but may cause issues"} 
[2026-09-04 02:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788470769000,"timestamp_ms":1788470769000,"timestamp_seconds":1788470769,"priority":1,"record_length":96,"hex_timestamp":"000001a0692a3568"} 
[2026-09-04 02:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 02:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848513536001,"66":27343,"101":206,"83":44032,"24":24,"16":397609822947639296,"44":-1492943245665816576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-09-04 02:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848513536001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:57:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 02:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397609822947639296,"km_value":397609822947639.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492943245665816576,"description":"Unknown IO ID 44"} 
[2026-09-04 02:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848513536001,"power":27343,"unknown_101":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1492943245665816576}} 
[2026-09-04 02:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":173049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:57:10] local.INFO: GPS data processed {"connection_id":173049,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:57:10] local.INFO: Acknowledgment sent {"connection_id":173049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:57:11] local.INFO: TCP Data received {"connection_id":173049,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692a6448012ceb1a00072c7e28002e013f28..."} 
[2026-09-04 02:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692a6448012ceb1a00072c7e28002e013f28..."} 
[2026-09-04 02:57:11] local.INFO: Processing buffer {"connection_id":173049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692a6448012ceb1a00072c7e28002e013f28..."} 
[2026-09-04 02:57:11] local.INFO: Packet analysis {"connection_id":173049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692a"} 
[2026-09-04 02:57:11] local.INFO: Extracted packet for processing {"connection_id":173049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692a"} 
[2026-09-04 02:57:11] local.INFO: GPS Element Parsed {"raw_longitude":753605120,"raw_latitude":120356392,"longitude_deg":75.360512,"latitude_deg":12.0356392,"altitude":46,"angle":319,"satellites":40,"speed":38,"hex_longitude":"2ceb1a00","hex_latitude":"072c7e28","is_valid_coordinates":true} 
[2026-09-04 02:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848516864001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397610256739336192,"note":"Value kept but may cause issues"} 
[2026-09-04 02:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1499206063895607296,"note":"Value kept but may cause issues"} 
[2026-09-04 02:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788470781000,"timestamp_ms":1788470781000,"timestamp_seconds":1788470781,"priority":1,"record_length":96,"hex_timestamp":"000001a0692a6448"} 
[2026-09-04 02:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 02:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848516864001,"66":27267,"201":206,"83":44032,"24":38,"16":397610256739336192,"44":-1499206063895607296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-04 02:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848516864001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:57:11] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-04 02:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397610256739336192,"km_value":397610256739336.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1499206063895607296,"description":"Unknown IO ID 44"} 
[2026-09-04 02:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848516864001,"power":27267,"unknown_201":206,"unknown_83":44032,"ignition":38,"odometer":null,"unknown_44":-1499206063895607296}} 
[2026-09-04 02:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":173049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:57:11] local.INFO: GPS data processed {"connection_id":173049,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:57:11] local.INFO: Acknowledgment sent {"connection_id":173049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:57:41] local.INFO: TCP Data received {"connection_id":173049,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692a8770012ceb02c0072c9970002d014129..."} 
[2026-09-04 02:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692a8770012ceb02c0072c9970002d014129..."} 
[2026-09-04 02:57:41] local.INFO: Processing buffer {"connection_id":173049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692a8770012ceb02c0072c9970002d014129..."} 
[2026-09-04 02:57:41] local.INFO: Packet analysis {"connection_id":173049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692a"} 
[2026-09-04 02:57:41] local.INFO: Extracted packet for processing {"connection_id":173049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692a"} 
[2026-09-04 02:57:41] local.INFO: GPS Element Parsed {"raw_longitude":753599168,"raw_latitude":120363376,"longitude_deg":75.3599168,"latitude_deg":12.0363376,"altitude":45,"angle":321,"satellites":41,"speed":41,"hex_longitude":"2ceb02c0","hex_latitude":"072c9970","is_valid_coordinates":true} 
[2026-09-04 02:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848519936001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397610699120967680,"note":"Value kept but may cause issues"} 
[2026-09-04 02:57:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1505891094590773248,"note":"Value kept but may cause issues"} 
[2026-09-04 02:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788470790000,"timestamp_ms":1788470790000,"timestamp_seconds":1788470790,"priority":1,"record_length":96,"hex_timestamp":"000001a0692a8770"} 
[2026-09-04 02:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 02:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848519936001,"66":27234,"201":206,"83":44032,"24":41,"16":397610699120967680,"44":-1505891094590773248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-04 02:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848519936001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:57:41] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-04 02:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397610699120967680,"km_value":397610699120967.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:57:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1505891094590773248,"description":"Unknown IO ID 44"} 
[2026-09-04 02:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848519936001,"power":27234,"unknown_201":206,"unknown_83":44032,"ignition":41,"odometer":null,"unknown_44":-1505891094590773248}} 
[2026-09-04 02:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":173049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:57:41] local.INFO: GPS data processed {"connection_id":173049,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:57:41] local.INFO: Acknowledgment sent {"connection_id":173049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:58:01] local.INFO: TCP Data received {"connection_id":171742,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:58:01] local.INFO: Processing buffer {"connection_id":171742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:58:01] local.INFO: IMEI packet received {"connection_id":171742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":171742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:58:01] local.INFO: TCP Data received {"connection_id":171742,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:58:01] local.INFO: Processing buffer {"connection_id":171742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:58:01] local.INFO: IMEI packet received {"connection_id":171742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":171742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:58:02] local.INFO: TCP Data received {"connection_id":171742,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692aa6b0012ceaec80072cb468002d013f28..."} 
[2026-09-04 02:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692aa6b0012ceaec80072cb468002d013f28..."} 
[2026-09-04 02:58:02] local.INFO: Processing buffer {"connection_id":171742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692aa6b0012ceaec80072cb468002d013f28..."} 
[2026-09-04 02:58:02] local.INFO: Packet analysis {"connection_id":171742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692a"} 
[2026-09-04 02:58:02] local.INFO: Extracted packet for processing {"connection_id":171742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692a"} 
[2026-09-04 02:58:02] local.INFO: GPS Element Parsed {"raw_longitude":753593472,"raw_latitude":120370280,"longitude_deg":75.3593472,"latitude_deg":12.037028,"altitude":45,"angle":319,"satellites":40,"speed":46,"hex_longitude":"2ceaec80","hex_latitude":"072cb468","is_valid_coordinates":true} 
[2026-09-04 02:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848522240001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397611128617697280,"note":"Value kept but may cause issues"} 
[2026-09-04 02:58:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512435387797508096,"note":"Value kept but may cause issues"} 
[2026-09-04 02:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788470798000,"timestamp_ms":1788470798000,"timestamp_seconds":1788470798,"priority":1,"record_length":96,"hex_timestamp":"000001a0692aa6b0"} 
[2026-09-04 02:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 02:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848522240001,"66":27234,"201":206,"83":44032,"24":46,"16":397611128617697280,"44":-1512435387797508096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-04 02:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848522240001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:58:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-04 02:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397611128617697280,"km_value":397611128617697.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:58:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512435387797508096,"description":"Unknown IO ID 44"} 
[2026-09-04 02:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848522240001,"power":27234,"unknown_201":206,"unknown_83":44032,"ignition":46,"odometer":null,"unknown_44":-1512435387797508096}} 
[2026-09-04 02:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":171742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:58:02] local.INFO: GPS data processed {"connection_id":171742,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:58:02] local.INFO: Acknowledgment sent {"connection_id":171742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:58:04] local.INFO: TCP Data received {"connection_id":170340,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:58:04] local.INFO: Processing buffer {"connection_id":170340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:58:04] local.INFO: IMEI packet received {"connection_id":170340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":170340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:58:05] local.INFO: TCP Data received {"connection_id":171742,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692ac5f0012cead300072cd208002b01402b..."} 
[2026-09-04 02:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692ac5f0012cead300072cd208002b01402b..."} 
[2026-09-04 02:58:05] local.INFO: Processing buffer {"connection_id":171742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692ac5f0012cead300072cd208002b01402b..."} 
[2026-09-04 02:58:05] local.INFO: Packet analysis {"connection_id":171742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692a"} 
[2026-09-04 02:58:05] local.INFO: Extracted packet for processing {"connection_id":171742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692a"} 
[2026-09-04 02:58:05] local.INFO: GPS Element Parsed {"raw_longitude":753586944,"raw_latitude":120377864,"longitude_deg":75.3586944,"latitude_deg":12.0377864,"altitude":43,"angle":320,"satellites":43,"speed":50,"hex_longitude":"2cead300","hex_latitude":"072cd208","is_valid_coordinates":true} 
[2026-09-04 02:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848524288001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397611609654034432,"note":"Value kept but may cause issues"} 
[2026-09-04 02:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1518698206027552768,"note":"Value kept but may cause issues"} 
[2026-09-04 02:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788470806000,"timestamp_ms":1788470806000,"timestamp_seconds":1788470806,"priority":1,"record_length":96,"hex_timestamp":"000001a0692ac5f0"} 
[2026-09-04 02:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 02:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848524288001,"66":27180,"201":206,"83":44032,"24":50,"16":397611609654034432,"44":-1518698206027552768},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-04 02:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848524288001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:58:05] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-04 02:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397611609654034432,"km_value":397611609654034.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1518698206027552768,"description":"Unknown IO ID 44"} 
[2026-09-04 02:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848524288001,"power":27180,"unknown_201":206,"unknown_83":44032,"ignition":50,"odometer":null,"unknown_44":-1518698206027552768}} 
[2026-09-04 02:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":171742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:58:05] local.INFO: GPS data processed {"connection_id":171742,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:58:05] local.INFO: Acknowledgment sent {"connection_id":171742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:58:36] local.INFO: TCP Data received {"connection_id":171742,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692bbc08012cea64c0072dac98002e003a30..."} 
[2026-09-04 02:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692bbc08012cea64c0072dac98002e003a30..."} 
[2026-09-04 02:58:36] local.INFO: Processing buffer {"connection_id":171742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692bbc08012cea64c0072dac98002e003a30..."} 
[2026-09-04 02:58:36] local.INFO: Packet analysis {"connection_id":171742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692b"} 
[2026-09-04 02:58:36] local.INFO: Extracted packet for processing {"connection_id":171742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692b"} 
[2026-09-04 02:58:36] local.INFO: GPS Element Parsed {"raw_longitude":753558720,"raw_latitude":120433816,"longitude_deg":75.355872,"latitude_deg":12.0433816,"altitude":46,"angle":58,"satellites":48,"speed":14,"hex_longitude":"2cea64c0","hex_latitude":"072dac98","is_valid_coordinates":true} 
[2026-09-04 02:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848542208001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397614783634866176,"note":"Value kept but may cause issues"} 
[2026-09-04 02:58:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1557260277820702720,"note":"Value kept but may cause issues"} 
[2026-09-04 02:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788470869000,"timestamp_ms":1788470869000,"timestamp_seconds":1788470869,"priority":1,"record_length":96,"hex_timestamp":"000001a0692bbc08"} 
[2026-09-04 02:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 02:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848542208001,"66":27234,"201":206,"83":44032,"24":14,"16":397614783634866176,"44":-1557260277820702720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-04 02:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848542208001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:58:36] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-04 02:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397614783634866176,"km_value":397614783634866.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:58:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1557260277820702720,"description":"Unknown IO ID 44"} 
[2026-09-04 02:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848542208001,"power":27234,"unknown_201":206,"unknown_83":44032,"ignition":14,"odometer":null,"unknown_44":-1557260277820702720}} 
[2026-09-04 02:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":171742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:58:36] local.INFO: GPS data processed {"connection_id":171742,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:58:36] local.INFO: Acknowledgment sent {"connection_id":171742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:58:39] local.INFO: TCP Data received {"connection_id":170341,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:58:39] local.INFO: Processing buffer {"connection_id":170341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 02:58:39] local.INFO: IMEI packet received {"connection_id":170341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 02:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":170341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:59:00] local.INFO: TCP Data received {"connection_id":170646,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:59:00] local.INFO: Processing buffer {"connection_id":170646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:59:00] local.INFO: IMEI packet received {"connection_id":170646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 02:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":170646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 02:59:01] local.INFO: TCP Data received {"connection_id":170646,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:59:01] local.INFO: Processing buffer {"connection_id":170646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:59:01] local.INFO: IMEI packet received {"connection_id":170646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":170646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:59:06] local.INFO: TCP Data received {"connection_id":170646,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:59:06] local.INFO: Processing buffer {"connection_id":170646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 02:59:06] local.INFO: IMEI packet received {"connection_id":170646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 02:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":170646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 02:59:06] local.INFO: TCP Data received {"connection_id":170646,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692bbff0012cea6640072dacf8002d005430..."} 
[2026-09-04 02:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692bbff0012cea6640072dacf8002d005430..."} 
[2026-09-04 02:59:06] local.INFO: Processing buffer {"connection_id":170646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692bbff0012cea6640072dacf8002d005430..."} 
[2026-09-04 02:59:06] local.INFO: Packet analysis {"connection_id":170646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692b"} 
[2026-09-04 02:59:06] local.INFO: Extracted packet for processing {"connection_id":170646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692b"} 
[2026-09-04 02:59:06] local.INFO: GPS Element Parsed {"raw_longitude":753559104,"raw_latitude":120433912,"longitude_deg":75.3559104,"latitude_deg":12.0433912,"altitude":45,"angle":84,"satellites":48,"speed":15,"hex_longitude":"2cea6640","hex_latitude":"072dacf8","is_valid_coordinates":true} 
[2026-09-04 02:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848542464001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397614800814735360,"note":"Value kept but may cause issues"} 
[2026-09-04 02:59:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1556908434099759104,"note":"Value kept but may cause issues"} 
[2026-09-04 02:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788470870000,"timestamp_ms":1788470870000,"timestamp_seconds":1788470870,"priority":1,"record_length":96,"hex_timestamp":"000001a0692bbff0"} 
[2026-09-04 02:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 02:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848542464001,"66":27234,"201":206,"83":44032,"24":15,"16":397614800814735360,"44":-1556908434099759104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-04 02:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848542464001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:59:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-04 02:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397614800814735360,"km_value":397614800814735.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:59:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1556908434099759104,"description":"Unknown IO ID 44"} 
[2026-09-04 02:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848542464001,"power":27234,"unknown_201":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1556908434099759104}} 
[2026-09-04 02:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":170646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:59:06] local.INFO: GPS data processed {"connection_id":170646,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:59:06] local.INFO: Acknowledgment sent {"connection_id":170646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 02:59:37] local.INFO: TCP Data received {"connection_id":170646,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692bc3d8012cea6800072dacf0002d00602e..."} 
[2026-09-04 02:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692bc3d8012cea6800072dacf0002d00602e..."} 
[2026-09-04 02:59:37] local.INFO: Processing buffer {"connection_id":170646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692bc3d8012cea6800072dacf0002d00602e..."} 
[2026-09-04 02:59:37] local.INFO: Packet analysis {"connection_id":170646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692b"} 
[2026-09-04 02:59:37] local.INFO: Extracted packet for processing {"connection_id":170646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692b"} 
[2026-09-04 02:59:37] local.INFO: GPS Element Parsed {"raw_longitude":753559552,"raw_latitude":120433904,"longitude_deg":75.3559552,"latitude_deg":12.0433904,"altitude":45,"angle":96,"satellites":46,"speed":15,"hex_longitude":"2cea6800","hex_latitude":"072dacf0","is_valid_coordinates":true} 
[2026-09-04 02:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 02:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848542720001,"note":"Value kept but may cause issues"} 
[2026-09-04 02:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397614822289571840,"note":"Value kept but may cause issues"} 
[2026-09-04 02:59:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1556486221634668544,"note":"Value kept but may cause issues"} 
[2026-09-04 02:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 02:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788470871000,"timestamp_ms":1788470871000,"timestamp_seconds":1788470871,"priority":1,"record_length":96,"hex_timestamp":"000001a0692bc3d8"} 
[2026-09-04 02:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 02:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 02:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 02:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 02:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 02:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 02:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 02:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 02:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 02:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 02:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 02:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 02:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848542720001,"66":27180,"201":206,"83":44032,"24":15,"16":397614822289571840,"44":-1556486221634668544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-04 02:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 02:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 02:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848542720001,"description":"Unknown IO ID 0"} 
[2026-09-04 02:59:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-04 02:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 02:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397614822289571840,"km_value":397614822289571.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 02:59:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1556486221634668544,"description":"Unknown IO ID 44"} 
[2026-09-04 02:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848542720001,"power":27180,"unknown_201":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1556486221634668544}} 
[2026-09-04 02:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":170646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 02:59:37] local.INFO: GPS data processed {"connection_id":170646,"processed":1,"errors":0,"total":1} 
[2026-09-04 02:59:37] local.INFO: Acknowledgment sent {"connection_id":170646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:00:01] local.INFO: TCP Data received {"connection_id":173050,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:00:01] local.INFO: Processing buffer {"connection_id":173050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:00:01] local.INFO: IMEI packet received {"connection_id":173050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":173050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:00:06] local.INFO: TCP Data received {"connection_id":173050,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:00:06] local.INFO: Processing buffer {"connection_id":173050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:00:06] local.INFO: IMEI packet received {"connection_id":173050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":173050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:00:06] local.INFO: TCP Data received {"connection_id":173050,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692c0258012cea8e80072daaf8002c005d2e..."} 
[2026-09-04 03:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692c0258012cea8e80072daaf8002c005d2e..."} 
[2026-09-04 03:00:06] local.INFO: Processing buffer {"connection_id":173050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692c0258012cea8e80072daaf8002c005d2e..."} 
[2026-09-04 03:00:06] local.INFO: Packet analysis {"connection_id":173050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692c"} 
[2026-09-04 03:00:06] local.INFO: Extracted packet for processing {"connection_id":173050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692c"} 
[2026-09-04 03:00:06] local.INFO: GPS Element Parsed {"raw_longitude":753569408,"raw_latitude":120433400,"longitude_deg":75.3569408,"latitude_deg":12.04334,"altitude":44,"angle":93,"satellites":46,"speed":34,"hex_longitude":"2cea8e80","hex_latitude":"072daaf8","is_valid_coordinates":true} 
[2026-09-04 03:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848542976001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397615290441007104,"note":"Value kept but may cause issues"} 
[2026-09-04 03:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1555993640425426944,"note":"Value kept but may cause issues"} 
[2026-09-04 03:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788470887000,"timestamp_ms":1788470887000,"timestamp_seconds":1788470887,"priority":1,"record_length":96,"hex_timestamp":"000001a0692c0258"} 
[2026-09-04 03:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 03:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848542976001,"66":27180,"201":206,"83":44032,"24":34,"16":397615290441007104,"44":-1555993640425426944},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-04 03:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848542976001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:00:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-04 03:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397615290441007104,"km_value":397615290441007.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1555993640425426944,"description":"Unknown IO ID 44"} 
[2026-09-04 03:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848542976001,"power":27180,"unknown_201":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1555993640425426944}} 
[2026-09-04 03:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":173050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:00:06] local.INFO: GPS data processed {"connection_id":173050,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:00:06] local.INFO: Acknowledgment sent {"connection_id":173050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:00:37] local.INFO: TCP Data received {"connection_id":173050,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692c0e10012cea9940072da938002c00682e..."} 
[2026-09-04 03:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692c0e10012cea9940072da938002c00682e..."} 
[2026-09-04 03:00:37] local.INFO: Processing buffer {"connection_id":173050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692c0e10012cea9940072da938002c00682e..."} 
[2026-09-04 03:00:37] local.INFO: Packet analysis {"connection_id":173050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692c"} 
[2026-09-04 03:00:37] local.INFO: Extracted packet for processing {"connection_id":173050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692c"} 
[2026-09-04 03:00:37] local.INFO: GPS Element Parsed {"raw_longitude":753572160,"raw_latitude":120432952,"longitude_deg":75.357216,"latitude_deg":12.0432952,"altitude":44,"angle":104,"satellites":46,"speed":38,"hex_longitude":"2cea9940","hex_latitude":"072da938","is_valid_coordinates":true} 
[2026-09-04 03:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848547072001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397615423584993280,"note":"Value kept but may cause issues"} 
[2026-09-04 03:00:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1545156853822195712,"note":"Value kept but may cause issues"} 
[2026-09-04 03:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788470890000,"timestamp_ms":1788470890000,"timestamp_seconds":1788470890,"priority":1,"record_length":96,"hex_timestamp":"000001a0692c0e10"} 
[2026-09-04 03:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 03:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848547072001,"66":27321,"201":206,"83":44032,"24":38,"16":397615423584993280,"44":-1545156853822195712},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-04 03:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848547072001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:00:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-04 03:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397615423584993280,"km_value":397615423584993.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:00:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1545156853822195712,"description":"Unknown IO ID 44"} 
[2026-09-04 03:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848547072001,"power":27321,"unknown_201":206,"unknown_83":44032,"ignition":38,"odometer":null,"unknown_44":-1545156853822195712}} 
[2026-09-04 03:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":173050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:00:37] local.INFO: GPS data processed {"connection_id":173050,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:00:37] local.INFO: Acknowledgment sent {"connection_id":173050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:01:01] local.INFO: TCP Data received {"connection_id":170647,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:01:01] local.INFO: Processing buffer {"connection_id":170647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:01:01] local.INFO: IMEI packet received {"connection_id":170647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":170647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:01:05] local.INFO: TCP Data received {"connection_id":170647,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:01:05] local.INFO: Processing buffer {"connection_id":170647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:01:05] local.INFO: IMEI packet received {"connection_id":170647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":170647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:01:05] local.INFO: TCP Data received {"connection_id":170647,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692da838012cec05c0072d68f80032005c2e..."} 
[2026-09-04 03:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692da838012cec05c0072d68f80032005c2e..."} 
[2026-09-04 03:01:05] local.INFO: Processing buffer {"connection_id":170647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692da838012cec05c0072d68f80032005c2e..."} 
[2026-09-04 03:01:05] local.INFO: Packet analysis {"connection_id":170647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692d"} 
[2026-09-04 03:01:05] local.INFO: Extracted packet for processing {"connection_id":170647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692d"} 
[2026-09-04 03:01:05] local.INFO: GPS Element Parsed {"raw_longitude":753665472,"raw_latitude":120416504,"longitude_deg":75.3665472,"latitude_deg":12.0416504,"altitude":50,"angle":92,"satellites":46,"speed":33,"hex_longitude":"2cec05c0","hex_latitude":"072d68f8","is_valid_coordinates":true} 
[2026-09-04 03:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848571904001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397619959070457856,"note":"Value kept but may cause issues"} 
[2026-09-04 03:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1449807205465589760,"note":"Value kept but may cause issues"} 
[2026-09-04 03:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788470995000,"timestamp_ms":1788470995000,"timestamp_seconds":1788470995,"priority":1,"record_length":96,"hex_timestamp":"000001a0692da838"} 
[2026-09-04 03:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 03:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848571904001,"66":27267,"112":206,"83":44032,"24":33,"16":397619959070457856,"44":-1449807205465589760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-04 03:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848571904001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:01:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 03:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397619959070457856,"km_value":397619959070457.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1449807205465589760,"description":"Unknown IO ID 44"} 
[2026-09-04 03:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848571904001,"power":27267,"unknown_112":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1449807205465589760}} 
[2026-09-04 03:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":170647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:01:05] local.INFO: GPS data processed {"connection_id":170647,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:01:05] local.INFO: Acknowledgment sent {"connection_id":170647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:01:39] local.INFO: TCP Data received {"connection_id":170647,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692dd330012cec2b80072d6ac80033005429..."} 
[2026-09-04 03:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692dd330012cec2b80072d6ac80033005429..."} 
[2026-09-04 03:01:39] local.INFO: Processing buffer {"connection_id":170647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692dd330012cec2b80072d6ac80033005429..."} 
[2026-09-04 03:01:39] local.INFO: Packet analysis {"connection_id":170647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692d"} 
[2026-09-04 03:01:39] local.INFO: Extracted packet for processing {"connection_id":170647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692d"} 
[2026-09-04 03:01:39] local.INFO: GPS Element Parsed {"raw_longitude":753675136,"raw_latitude":120416968,"longitude_deg":75.3675136,"latitude_deg":12.0416968,"altitude":51,"angle":84,"satellites":41,"speed":37,"hex_longitude":"2cec2b80","hex_latitude":"072d6ac8","is_valid_coordinates":true} 
[2026-09-04 03:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848574720001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397620422926925824,"note":"Value kept but may cause issues"} 
[2026-09-04 03:01:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1439533368815847424,"note":"Value kept but may cause issues"} 
[2026-09-04 03:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788471006000,"timestamp_ms":1788471006000,"timestamp_seconds":1788471006,"priority":1,"record_length":96,"hex_timestamp":"000001a0692dd330"} 
[2026-09-04 03:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 03:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848574720001,"66":27300,"112":206,"83":44032,"24":37,"16":397620422926925824,"44":-1439533368815847424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-04 03:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848574720001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:01:39] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 03:01:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397620422926925824,"km_value":397620422926925.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:01:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1439533368815847424,"description":"Unknown IO ID 44"} 
[2026-09-04 03:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848574720001,"power":27300,"unknown_112":206,"unknown_83":44032,"ignition":37,"odometer":null,"unknown_44":-1439533368815847424}} 
[2026-09-04 03:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":170647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:01:39] local.INFO: GPS data processed {"connection_id":170647,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:01:39] local.INFO: Acknowledgment sent {"connection_id":170647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:02:06] local.INFO: TCP Data received {"connection_id":170649,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:02:06] local.INFO: Processing buffer {"connection_id":170649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:02:06] local.INFO: IMEI packet received {"connection_id":170649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":170649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:02:09] local.INFO: TCP Data received {"connection_id":170649,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:02:10] local.INFO: Processing buffer {"connection_id":170649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:02:10] local.INFO: IMEI packet received {"connection_id":170649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":170649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:02:10] local.INFO: TCP Data received {"connection_id":170649,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692dfa40012cec4f00072d6e88003700542d..."} 
[2026-09-04 03:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692dfa40012cec4f00072d6e88003700542d..."} 
[2026-09-04 03:02:10] local.INFO: Processing buffer {"connection_id":170649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692dfa40012cec4f00072d6e88003700542d..."} 
[2026-09-04 03:02:10] local.INFO: Packet analysis {"connection_id":170649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692d"} 
[2026-09-04 03:02:10] local.INFO: Extracted packet for processing {"connection_id":170649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692d"} 
[2026-09-04 03:02:10] local.INFO: GPS Element Parsed {"raw_longitude":753684224,"raw_latitude":120417928,"longitude_deg":75.3684224,"latitude_deg":12.0417928,"altitude":55,"angle":84,"satellites":45,"speed":33,"hex_longitude":"2cec4f00","hex_latitude":"072d6e88","is_valid_coordinates":true} 
[2026-09-04 03:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848577536001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397620852423655424,"note":"Value kept but may cause issues"} 
[2026-09-04 03:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1428907688444901376,"note":"Value kept but may cause issues"} 
[2026-09-04 03:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788471016000,"timestamp_ms":1788471016000,"timestamp_seconds":1788471016,"priority":1,"record_length":96,"hex_timestamp":"000001a0692dfa40"} 
[2026-09-04 03:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 03:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848577536001,"66":27300,"112":206,"83":44032,"24":33,"16":397620852423655424,"44":-1428907688444901376},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-04 03:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848577536001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:02:10] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 03:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397620852423655424,"km_value":397620852423655.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1428907688444901376,"description":"Unknown IO ID 44"} 
[2026-09-04 03:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848577536001,"power":27300,"unknown_112":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1428907688444901376}} 
[2026-09-04 03:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":170649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:02:10] local.INFO: GPS data processed {"connection_id":170649,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:02:10] local.INFO: Acknowledgment sent {"connection_id":170649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:02:42] local.INFO: TCP Data received {"connection_id":170649,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692e2538012cec7280072d72b8003800502b..."} 
[2026-09-04 03:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692e2538012cec7280072d72b8003800502b..."} 
[2026-09-04 03:02:42] local.INFO: Processing buffer {"connection_id":170649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692e2538012cec7280072d72b8003800502b..."} 
[2026-09-04 03:02:42] local.INFO: Packet analysis {"connection_id":170649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692e"} 
[2026-09-04 03:02:42] local.INFO: Extracted packet for processing {"connection_id":170649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692e"} 
[2026-09-04 03:02:42] local.INFO: GPS Element Parsed {"raw_longitude":753693312,"raw_latitude":120419000,"longitude_deg":75.3693312,"latitude_deg":12.0419,"altitude":56,"angle":80,"satellites":43,"speed":29,"hex_longitude":"2cec7280","hex_latitude":"072d72b8","is_valid_coordinates":true} 
[2026-09-04 03:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848580096001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397621286215352320,"note":"Value kept but may cause issues"} 
[2026-09-04 03:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418915326771427328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788471027000,"timestamp_ms":1788471027000,"timestamp_seconds":1788471027,"priority":1,"record_length":96,"hex_timestamp":"000001a0692e2538"} 
[2026-09-04 03:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 03:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848580096001,"66":27365,"112":206,"83":44032,"24":29,"16":397621286215352320,"44":-1418915326771427328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-04 03:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848580096001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:02:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 03:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397621286215352320,"km_value":397621286215352.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418915326771427328,"description":"Unknown IO ID 44"} 
[2026-09-04 03:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848580096001,"power":27365,"unknown_112":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1418915326771427328}} 
[2026-09-04 03:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":170649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:02:42] local.INFO: GPS data processed {"connection_id":170649,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:02:42] local.INFO: Acknowledgment sent {"connection_id":170649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:03:00] local.INFO: TCP Data received {"connection_id":170342,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:03:00] local.INFO: Processing buffer {"connection_id":170342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:03:00] local.INFO: IMEI packet received {"connection_id":170342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":170342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:03:05] local.INFO: TCP Data received {"connection_id":170342,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:03:05] local.INFO: Processing buffer {"connection_id":170342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:03:05] local.INFO: IMEI packet received {"connection_id":170342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":170342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:03:09] local.INFO: TCP Data received {"connection_id":170342,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0692e5be8012cec9ac0072d7928003b004c2f..."} 
[2026-09-04 03:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0692e5be8012cec9ac0072d7928003b004c2f..."} 
[2026-09-04 03:03:09] local.INFO: Processing buffer {"connection_id":170342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0692e5be8012cec9ac0072d7928003b004c2f..."} 
[2026-09-04 03:03:09] local.INFO: Packet analysis {"connection_id":170342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0692e"} 
[2026-09-04 03:03:09] local.INFO: Extracted packet for processing {"connection_id":170342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0692e"} 
[2026-09-04 03:03:09] local.INFO: GPS Element Parsed {"raw_longitude":753703616,"raw_latitude":120420648,"longitude_deg":75.3703616,"latitude_deg":12.0420648,"altitude":59,"angle":76,"satellites":47,"speed":28,"hex_longitude":"2cec9ac0","hex_latitude":"072d7928","is_valid_coordinates":true} 
[2026-09-04 03:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848582912001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397621784431558656,"note":"Value kept but may cause issues"} 
[2026-09-04 03:03:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408922965097924608,"note":"Value kept but may cause issues"} 
[2026-09-04 03:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788471041000,"timestamp_ms":1788471041000,"timestamp_seconds":1788471041,"priority":1,"record_length":96,"hex_timestamp":"000001a0692e5be8"} 
[2026-09-04 03:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 03:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848582912001,"66":27365,"112":206,"83":44032,"24":28,"16":397621784431558656,"44":-1408922965097924608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-04 03:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848582912001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:03:09] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 03:03:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397621784431558656,"km_value":397621784431558.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:03:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408922965097924608,"description":"Unknown IO ID 44"} 
[2026-09-04 03:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848582912001,"power":27365,"unknown_112":206,"unknown_83":44032,"ignition":28,"odometer":null,"unknown_44":-1408922965097924608}} 
[2026-09-04 03:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":170342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:03:09] local.INFO: GPS data processed {"connection_id":170342,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:03:09] local.INFO: Acknowledgment sent {"connection_id":170342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:04:01] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:04:01] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:04:01] local.INFO: IMEI packet received {"connection_id":171745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":171745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:04:01] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:04:01] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:04:01] local.INFO: IMEI packet received {"connection_id":171745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":171745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:04:02] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:04:02] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:04:02] local.INFO: IMEI packet received {"connection_id":171745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":171745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:04:05] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:04:05] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:04:05] local.INFO: IMEI packet received {"connection_id":171745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":171745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:04:06] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069306758012cee2500072e2360003f00442e..."} 
[2026-09-04 03:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069306758012cee2500072e2360003f00442e..."} 
[2026-09-04 03:04:06] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069306758012cee2500072e2360003f00442e..."} 
[2026-09-04 03:04:06] local.INFO: Packet analysis {"connection_id":171745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:04:06] local.INFO: Extracted packet for processing {"connection_id":171745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:04:06] local.INFO: GPS Element Parsed {"raw_longitude":753804544,"raw_latitude":120464224,"longitude_deg":75.3804544,"latitude_deg":12.0464224,"altitude":63,"angle":68,"satellites":46,"speed":37,"hex_longitude":"2cee2500","hex_latitude":"072e2360","is_valid_coordinates":true} 
[2026-09-04 03:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848618752001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397627045766496256,"note":"Value kept but may cause issues"} 
[2026-09-04 03:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1295910761937840128,"note":"Value kept but may cause issues"} 
[2026-09-04 03:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788471175000,"timestamp_ms":1788471175000,"timestamp_seconds":1788471175,"priority":1,"record_length":96,"hex_timestamp":"000001a069306758"} 
[2026-09-04 03:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-04 03:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848618752001,"66":27169,"219":206,"83":44032,"24":37,"16":397627045766496256,"44":-1295910761937840128},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848618752001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:04:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397627045766496256,"km_value":397627045766496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1295910761937840128,"description":"Unknown IO ID 44"} 
[2026-09-04 03:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848618752001,"power":27169,"unknown_219":206,"unknown_83":44032,"ignition":37,"odometer":null,"unknown_44":-1295910761937840128}} 
[2026-09-04 03:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":171745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:04:06] local.INFO: GPS data processed {"connection_id":171745,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:04:06] local.INFO: Acknowledgment sent {"connection_id":171745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:04:38] local.INFO: TCP Data received {"connection_id":173053,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173053,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:04:38] local.INFO: Processing buffer {"connection_id":173053,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:04:38] local.INFO: IMEI packet received {"connection_id":173053,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":173053,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:05:23] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069307ec8012cee37c0072e28d8003d00512e..."} 
[2026-09-04 03:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069307ec8012cee37c0072e28d8003d00512e..."} 
[2026-09-04 03:05:23] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069307ec8012cee37c0072e28d8003d00512e..."} 
[2026-09-04 03:05:23] local.INFO: Packet analysis {"connection_id":171745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:05:23] local.INFO: Extracted packet for processing {"connection_id":171745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:05:23] local.INFO: GPS Element Parsed {"raw_longitude":753809344,"raw_latitude":120465624,"longitude_deg":75.3809344,"latitude_deg":12.0465624,"altitude":61,"angle":81,"satellites":46,"speed":30,"hex_longitude":"2cee37c0","hex_latitude":"072e28d8","is_valid_coordinates":true} 
[2026-09-04 03:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848620800001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397627281989697536,"note":"Value kept but may cause issues"} 
[2026-09-04 03:05:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1286622087705567232,"note":"Value kept but may cause issues"} 
[2026-09-04 03:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788471181000,"timestamp_ms":1788471181000,"timestamp_seconds":1788471181,"priority":1,"record_length":96,"hex_timestamp":"000001a069307ec8"} 
[2026-09-04 03:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-04 03:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848620800001,"66":27691,"219":206,"83":44032,"24":30,"16":397627281989697536,"44":-1286622087705567232},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848620800001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:05:23] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:05:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397627281989697536,"km_value":397627281989697.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:05:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1286622087705567232,"description":"Unknown IO ID 44"} 
[2026-09-04 03:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848620800001,"power":27691,"unknown_219":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1286622087705567232}} 
[2026-09-04 03:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":171745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:05:23] local.INFO: GPS data processed {"connection_id":171745,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:05:23] local.INFO: Acknowledgment sent {"connection_id":171745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:05:37] local.INFO: TCP Data received {"connection_id":170650,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:05:37] local.INFO: Processing buffer {"connection_id":170650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:05:37] local.INFO: IMEI packet received {"connection_id":170650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":170650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:05:41] local.INFO: TCP Data received {"connection_id":170650,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:05:41] local.INFO: Processing buffer {"connection_id":170650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:05:41] local.INFO: IMEI packet received {"connection_id":170650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":170650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:05:42] local.INFO: TCP Data received {"connection_id":170650,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069309638012cee48c0072e2cd8003b00442c..."} 
[2026-09-04 03:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069309638012cee48c0072e2cd8003b00442c..."} 
[2026-09-04 03:05:42] local.INFO: Processing buffer {"connection_id":170650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069309638012cee48c0072e2cd8003b00442c..."} 
[2026-09-04 03:05:42] local.INFO: Packet analysis {"connection_id":170650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:05:42] local.INFO: Extracted packet for processing {"connection_id":170650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:05:42] local.INFO: GPS Element Parsed {"raw_longitude":753813696,"raw_latitude":120466648,"longitude_deg":75.3813696,"latitude_deg":12.0466648,"altitude":59,"angle":68,"satellites":44,"speed":27,"hex_longitude":"2cee48c0","hex_latitude":"072e2cd8","is_valid_coordinates":true} 
[2026-09-04 03:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848622336001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397627496738062336,"note":"Value kept but may cause issues"} 
[2026-09-04 03:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1281344431891884032,"note":"Value kept but may cause issues"} 
[2026-09-04 03:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788471187000,"timestamp_ms":1788471187000,"timestamp_seconds":1788471187,"priority":1,"record_length":96,"hex_timestamp":"000001a069309638"} 
[2026-09-04 03:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-04 03:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848622336001,"66":27604,"219":206,"83":44032,"24":27,"16":397627496738062336,"44":-1281344431891884032},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848622336001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:05:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397627496738062336,"km_value":397627496738062.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1281344431891884032,"description":"Unknown IO ID 44"} 
[2026-09-04 03:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848622336001,"power":27604,"unknown_219":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1281344431891884032}} 
[2026-09-04 03:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":170650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:05:42] local.INFO: GPS data processed {"connection_id":170650,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:05:42] local.INFO: Acknowledgment sent {"connection_id":170650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:06:00] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:06:00] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:06:00] local.INFO: IMEI packet received {"connection_id":173054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":173054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:06:05] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:06:05] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:06:05] local.INFO: IMEI packet received {"connection_id":173054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":173054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:06:06] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06930b578012cee5a00072e34b80038005226..."} 
[2026-09-04 03:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06930b578012cee5a00072e34b80038005226..."} 
[2026-09-04 03:06:06] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06930b578012cee5a00072e34b80038005226..."} 
[2026-09-04 03:06:06] local.INFO: Packet analysis {"connection_id":173054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:06:06] local.INFO: Extracted packet for processing {"connection_id":173054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:06:06] local.INFO: GPS Element Parsed {"raw_longitude":753818112,"raw_latitude":120468664,"longitude_deg":75.3818112,"latitude_deg":12.0468664,"altitude":56,"angle":82,"satellites":38,"speed":21,"hex_longitude":"2cee5a00","hex_latitude":"072e34b8","is_valid_coordinates":true} 
[2026-09-04 03:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848623872001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397627728666296320,"note":"Value kept but may cause issues"} 
[2026-09-04 03:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1276559357287540736,"note":"Value kept but may cause issues"} 
[2026-09-04 03:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788471195000,"timestamp_ms":1788471195000,"timestamp_seconds":1788471195,"priority":1,"record_length":96,"hex_timestamp":"000001a06930b578"} 
[2026-09-04 03:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-04 03:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848623872001,"66":27843,"219":206,"83":44032,"24":21,"16":397627728666296320,"44":-1276559357287540736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848623872001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:06:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397627728666296320,"km_value":397627728666296.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1276559357287540736,"description":"Unknown IO ID 44"} 
[2026-09-04 03:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848623872001,"power":27843,"unknown_219":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1276559357287540736}} 
[2026-09-04 03:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":173054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:06:06] local.INFO: GPS data processed {"connection_id":173054,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:06:06] local.INFO: Acknowledgment sent {"connection_id":173054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:06:37] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06930bd48012cee5e80072e34c00037005e25..."} 
[2026-09-04 03:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06930bd48012cee5e80072e34c00037005e25..."} 
[2026-09-04 03:06:37] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06930bd48012cee5e80072e34c00037005e25..."} 
[2026-09-04 03:06:37] local.INFO: Packet analysis {"connection_id":173054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:06:37] local.INFO: Extracted packet for processing {"connection_id":173054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:06:37] local.INFO: GPS Element Parsed {"raw_longitude":753819264,"raw_latitude":120468672,"longitude_deg":75.3819264,"latitude_deg":12.0468672,"altitude":55,"angle":94,"satellites":37,"speed":21,"hex_longitude":"2cee5e80","hex_latitude":"072e34c0","is_valid_coordinates":true} 
[2026-09-04 03:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848625920001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397627784500871168,"note":"Value kept but may cause issues"} 
[2026-09-04 03:06:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271703913938765824,"note":"Value kept but may cause issues"} 
[2026-09-04 03:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788471197000,"timestamp_ms":1788471197000,"timestamp_seconds":1788471197,"priority":1,"record_length":96,"hex_timestamp":"000001a06930bd48"} 
[2026-09-04 03:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 03:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848625920001,"66":27604,"219":206,"83":44032,"24":21,"16":397627784500871168,"44":-1271703913938765824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848625920001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:06:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397627784500871168,"km_value":397627784500871.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:06:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271703913938765824,"description":"Unknown IO ID 44"} 
[2026-09-04 03:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848625920001,"power":27604,"unknown_219":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1271703913938765824}} 
[2026-09-04 03:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":173054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:06:37] local.INFO: GPS data processed {"connection_id":173054,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:06:37] local.INFO: Acknowledgment sent {"connection_id":173054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:07:00] local.INFO: TCP Data received {"connection_id":173055,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:07:00] local.INFO: Processing buffer {"connection_id":173055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:07:00] local.INFO: IMEI packet received {"connection_id":173055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":173055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:07:06] local.INFO: TCP Data received {"connection_id":173055,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:07:06] local.INFO: Processing buffer {"connection_id":173055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:07:06] local.INFO: IMEI packet received {"connection_id":173055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":173055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:07:06] local.INFO: TCP Data received {"connection_id":173055,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06930c900012cee6500072e33700036006a2a..."} 
[2026-09-04 03:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06930c900012cee6500072e33700036006a2a..."} 
[2026-09-04 03:07:06] local.INFO: Processing buffer {"connection_id":173055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06930c900012cee6500072e33700036006a2a..."} 
[2026-09-04 03:07:06] local.INFO: Packet analysis {"connection_id":173055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:07:06] local.INFO: Extracted packet for processing {"connection_id":173055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:07:06] local.INFO: GPS Element Parsed {"raw_longitude":753820928,"raw_latitude":120468336,"longitude_deg":75.3820928,"latitude_deg":12.0468336,"altitude":54,"angle":106,"satellites":42,"speed":23,"hex_longitude":"2cee6500","hex_latitude":"072e3370","is_valid_coordinates":true} 
[2026-09-04 03:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848626432001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397627866105249792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:07:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1270437276543565824,"note":"Value kept but may cause issues"} 
[2026-09-04 03:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788471200000,"timestamp_ms":1788471200000,"timestamp_seconds":1788471200,"priority":1,"record_length":96,"hex_timestamp":"000001a06930c900"} 
[2026-09-04 03:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-04 03:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848626432001,"66":27571,"219":206,"83":44032,"24":23,"16":397627866105249792,"44":-1270437276543565824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848626432001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:07:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397627866105249792,"km_value":397627866105249.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:07:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1270437276543565824,"description":"Unknown IO ID 44"} 
[2026-09-04 03:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848626432001,"power":27571,"unknown_219":206,"unknown_83":44032,"ignition":23,"odometer":null,"unknown_44":-1270437276543565824}} 
[2026-09-04 03:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":173055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:07:06] local.INFO: GPS data processed {"connection_id":173055,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:07:06] local.INFO: Acknowledgment sent {"connection_id":173055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:07:37] local.INFO: TCP Data received {"connection_id":173055,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06930d4b8012cee6b00072e3130003400762c..."} 
[2026-09-04 03:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06930d4b8012cee6b00072e3130003400762c..."} 
[2026-09-04 03:07:37] local.INFO: Processing buffer {"connection_id":173055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06930d4b8012cee6b00072e3130003400762c..."} 
[2026-09-04 03:07:37] local.INFO: Packet analysis {"connection_id":173055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:07:37] local.INFO: Extracted packet for processing {"connection_id":173055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:07:37] local.INFO: GPS Element Parsed {"raw_longitude":753822464,"raw_latitude":120467760,"longitude_deg":75.3822464,"latitude_deg":12.046776,"altitude":52,"angle":118,"satellites":44,"speed":18,"hex_longitude":"2cee6b00","hex_latitude":"072e3130","is_valid_coordinates":true} 
[2026-09-04 03:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848627200001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397627943414661120,"note":"Value kept but may cause issues"} 
[2026-09-04 03:07:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1268607689195032576,"note":"Value kept but may cause issues"} 
[2026-09-04 03:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788471203000,"timestamp_ms":1788471203000,"timestamp_seconds":1788471203,"priority":1,"record_length":96,"hex_timestamp":"000001a06930d4b8"} 
[2026-09-04 03:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 03:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848627200001,"66":27691,"219":206,"83":44032,"24":18,"16":397627943414661120,"44":-1268607689195032576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848627200001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:07:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397627943414661120,"km_value":397627943414661.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:07:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1268607689195032576,"description":"Unknown IO ID 44"} 
[2026-09-04 03:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848627200001,"power":27691,"unknown_219":206,"unknown_83":44032,"ignition":18,"odometer":null,"unknown_44":-1268607689195032576}} 
[2026-09-04 03:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":173055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:07:37] local.INFO: GPS data processed {"connection_id":173055,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:07:37] local.INFO: Acknowledgment sent {"connection_id":173055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:08:00] local.INFO: TCP Data received {"connection_id":171747,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:08:00] local.INFO: Processing buffer {"connection_id":171747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:08:00] local.INFO: IMEI packet received {"connection_id":171747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":171747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:08:05] local.INFO: TCP Data received {"connection_id":171747,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:08:05] local.INFO: Processing buffer {"connection_id":171747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:08:05] local.INFO: IMEI packet received {"connection_id":171747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":171747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:08:06] local.INFO: TCP Data received {"connection_id":171747,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06930dc88012cee6d80072e2f50003400902d..."} 
[2026-09-04 03:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06930dc88012cee6d80072e2f50003400902d..."} 
[2026-09-04 03:08:06] local.INFO: Processing buffer {"connection_id":171747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06930dc88012cee6d80072e2f50003400902d..."} 
[2026-09-04 03:08:06] local.INFO: Packet analysis {"connection_id":171747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:08:06] local.INFO: Extracted packet for processing {"connection_id":171747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:08:06] local.INFO: GPS Element Parsed {"raw_longitude":753823104,"raw_latitude":120467280,"longitude_deg":75.3823104,"latitude_deg":12.046728,"altitude":52,"angle":144,"satellites":45,"speed":11,"hex_longitude":"2cee6d80","hex_latitude":"072e2f50","is_valid_coordinates":true} 
[2026-09-04 03:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848627968001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397627977774399488,"note":"Value kept but may cause issues"} 
[2026-09-04 03:08:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266918839334916096,"note":"Value kept but may cause issues"} 
[2026-09-04 03:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788471205000,"timestamp_ms":1788471205000,"timestamp_seconds":1788471205,"priority":1,"record_length":96,"hex_timestamp":"000001a06930dc88"} 
[2026-09-04 03:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-04 03:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848627968001,"66":27745,"219":206,"83":44032,"24":11,"16":397627977774399488,"44":-1266918839334916096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848627968001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:08:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397627977774399488,"km_value":397627977774399.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:08:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266918839334916096,"description":"Unknown IO ID 44"} 
[2026-09-04 03:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848627968001,"power":27745,"unknown_219":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1266918839334916096}} 
[2026-09-04 03:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":171747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:08:06] local.INFO: GPS data processed {"connection_id":171747,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:08:06] local.INFO: Acknowledgment sent {"connection_id":171747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:08:37] local.INFO: TCP Data received {"connection_id":171747,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06930f010012cee6fc0072e2c60003300772a..."} 
[2026-09-04 03:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06930f010012cee6fc0072e2c60003300772a..."} 
[2026-09-04 03:08:37] local.INFO: Processing buffer {"connection_id":171747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06930f010012cee6fc0072e2c60003300772a..."} 
[2026-09-04 03:08:37] local.INFO: Packet analysis {"connection_id":171747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:08:37] local.INFO: Extracted packet for processing {"connection_id":171747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:08:37] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466528,"longitude_deg":75.382368,"latitude_deg":12.0466528,"altitude":51,"angle":119,"satellites":42,"speed":5,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c60","is_valid_coordinates":true} 
[2026-09-04 03:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848628480001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628029314007040,"note":"Value kept but may cause issues"} 
[2026-09-04 03:08:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266215151893262336,"note":"Value kept but may cause issues"} 
[2026-09-04 03:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788471210000,"timestamp_ms":1788471210000,"timestamp_seconds":1788471210,"priority":1,"record_length":96,"hex_timestamp":"000001a06930f010"} 
[2026-09-04 03:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 03:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848628480001,"66":27767,"219":206,"83":44032,"24":5,"16":397628029314007040,"44":-1266215151893262336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848628480001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:08:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628029314007040,"km_value":397628029314007.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:08:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266215151893262336,"description":"Unknown IO ID 44"} 
[2026-09-04 03:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848628480001,"power":27767,"unknown_219":206,"unknown_83":44032,"ignition":5,"odometer":null,"unknown_44":-1266215151893262336}} 
[2026-09-04 03:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":171747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:08:37] local.INFO: GPS data processed {"connection_id":171747,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:08:37] local.INFO: Acknowledgment sent {"connection_id":171747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:09:00] local.INFO: TCP Data received {"connection_id":173057,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:09:00] local.INFO: Processing buffer {"connection_id":173057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:09:00] local.INFO: IMEI packet received {"connection_id":173057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":173057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:09:06] local.INFO: TCP Data received {"connection_id":173057,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:09:06] local.INFO: Processing buffer {"connection_id":173057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:09:06] local.INFO: IMEI packet received {"connection_id":173057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":173057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:09:06] local.INFO: TCP Data received {"connection_id":173057,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06930f7e0012cee7140072e2be00033005d29..."} 
[2026-09-04 03:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06930f7e0012cee7140072e2be00033005d29..."} 
[2026-09-04 03:09:06] local.INFO: Processing buffer {"connection_id":173057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06930f7e0012cee7140072e2be00033005d29..."} 
[2026-09-04 03:09:06] local.INFO: Packet analysis {"connection_id":173057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:09:06] local.INFO: Extracted packet for processing {"connection_id":173057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06930"} 
[2026-09-04 03:09:06] local.INFO: GPS Element Parsed {"raw_longitude":753824064,"raw_latitude":120466400,"longitude_deg":75.3824064,"latitude_deg":12.04664,"altitude":51,"angle":93,"satellites":41,"speed":7,"hex_longitude":"2cee7140","hex_latitude":"072e2be0","is_valid_coordinates":true} 
[2026-09-04 03:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848629760001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628046493876224,"note":"Value kept but may cause issues"} 
[2026-09-04 03:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195855872,"note":"Value kept but may cause issues"} 
[2026-09-04 03:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788471212000,"timestamp_ms":1788471212000,"timestamp_seconds":1788471212,"priority":1,"record_length":96,"hex_timestamp":"000001a06930f7e0"} 
[2026-09-04 03:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 03:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848629760001,"66":27658,"219":206,"83":44032,"24":7,"16":397628046493876224,"44":-1265581833195855872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848629760001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:09:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628046493876224,"km_value":397628046493876.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195855872,"description":"Unknown IO ID 44"} 
[2026-09-04 03:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848629760001,"power":27658,"unknown_219":206,"unknown_83":44032,"ignition":7,"odometer":null,"unknown_44":-1265581833195855872}} 
[2026-09-04 03:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":173057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:09:06] local.INFO: GPS data processed {"connection_id":173057,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:09:06] local.INFO: Acknowledgment sent {"connection_id":173057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:09:38] local.INFO: TCP Data received {"connection_id":173057,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693149e8012cee7240072e2b88003500622c..."} 
[2026-09-04 03:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693149e8012cee7240072e2b88003500622c..."} 
[2026-09-04 03:09:38] local.INFO: Processing buffer {"connection_id":173057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693149e8012cee7240072e2b88003500622c..."} 
[2026-09-04 03:09:38] local.INFO: Packet analysis {"connection_id":173057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06931"} 
[2026-09-04 03:09:38] local.INFO: Extracted packet for processing {"connection_id":173057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06931"} 
[2026-09-04 03:09:38] local.INFO: GPS Element Parsed {"raw_longitude":753824320,"raw_latitude":120466312,"longitude_deg":75.382432,"latitude_deg":12.0466312,"altitude":53,"angle":98,"satellites":44,"speed":4,"hex_longitude":"2cee7240","hex_latitude":"072e2b88","is_valid_coordinates":true} 
[2026-09-04 03:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848630272001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628145278124032,"note":"Value kept but may cause issues"} 
[2026-09-04 03:09:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265159620730822656,"note":"Value kept but may cause issues"} 
[2026-09-04 03:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788471233000,"timestamp_ms":1788471233000,"timestamp_seconds":1788471233,"priority":1,"record_length":96,"hex_timestamp":"000001a0693149e8"} 
[2026-09-04 03:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 03:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848630272001,"66":27974,"219":206,"83":44032,"24":4,"16":397628145278124032,"44":-1265159620730822656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848630272001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:09:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628145278124032,"km_value":397628145278124.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:09:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265159620730822656,"description":"Unknown IO ID 44"} 
[2026-09-04 03:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848630272001,"power":27974,"unknown_219":206,"unknown_83":44032,"ignition":4,"odometer":null,"unknown_44":-1265159620730822656}} 
[2026-09-04 03:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":173057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:09:38] local.INFO: GPS data processed {"connection_id":173057,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:09:38] local.INFO: Acknowledgment sent {"connection_id":173057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:10:04] local.INFO: TCP Data received {"connection_id":170651,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:10:04] local.INFO: Processing buffer {"connection_id":170651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:10:04] local.INFO: IMEI packet received {"connection_id":170651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":170651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:10:06] local.INFO: TCP Data received {"connection_id":170652,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:10:06] local.INFO: Processing buffer {"connection_id":170652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:10:06] local.INFO: IMEI packet received {"connection_id":170652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":170652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:10:11] local.INFO: TCP Data received {"connection_id":170652,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:10:11] local.INFO: Processing buffer {"connection_id":170652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:10:11] local.INFO: IMEI packet received {"connection_id":170652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":170652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:10:11] local.INFO: TCP Data received {"connection_id":170652,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069319bf0012cee7200072e2b90003500622a..."} 
[2026-09-04 03:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069319bf0012cee7200072e2b90003500622a..."} 
[2026-09-04 03:10:11] local.INFO: Processing buffer {"connection_id":170652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069319bf0012cee7200072e2b90003500622a..."} 
[2026-09-04 03:10:11] local.INFO: Packet analysis {"connection_id":170652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06931"} 
[2026-09-04 03:10:11] local.INFO: Extracted packet for processing {"connection_id":170652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06931"} 
[2026-09-04 03:10:11] local.INFO: GPS Element Parsed {"raw_longitude":753824256,"raw_latitude":120466320,"longitude_deg":75.3824256,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7200","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848635648001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264878145754134528,"note":"Value kept but may cause issues"} 
[2026-09-04 03:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788471254000,"timestamp_ms":1788471254000,"timestamp_seconds":1788471254,"priority":1,"record_length":96,"hex_timestamp":"000001a069319bf0"} 
[2026-09-04 03:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 03:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848635648001,"66":27800,"217":206,"83":44032,"24":0,"16":397628149573091328,"44":-1264878145754134528},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-09-04 03:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848635648001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:10:11] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-04 03:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264878145754134528,"description":"Unknown IO ID 44"} 
[2026-09-04 03:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848635648001,"power":27800,"unknown_217":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1264878145754134528}} 
[2026-09-04 03:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":170652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:10:11] local.INFO: GPS data processed {"connection_id":170652,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:10:11] local.INFO: Acknowledgment sent {"connection_id":170652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:10:12] local.INFO: TCP Data received {"connection_id":170652,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06931de58012cee7200072e2b90003500622a..."} 
[2026-09-04 03:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06931de58012cee7200072e2b90003500622a..."} 
[2026-09-04 03:10:12] local.INFO: Processing buffer {"connection_id":170652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06931de58012cee7200072e2b90003500622a..."} 
[2026-09-04 03:10:12] local.INFO: Packet analysis {"connection_id":170652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06931"} 
[2026-09-04 03:10:12] local.INFO: Extracted packet for processing {"connection_id":170652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06931"} 
[2026-09-04 03:10:12] local.INFO: GPS Element Parsed {"raw_longitude":753824256,"raw_latitude":120466320,"longitude_deg":75.3824256,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7200","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848641024001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:10:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264948514498310144,"note":"Value kept but may cause issues"} 
[2026-09-04 03:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788471271000,"timestamp_ms":1788471271000,"timestamp_seconds":1788471271,"priority":1,"record_length":96,"hex_timestamp":"000001a06931de58"} 
[2026-09-04 03:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 03:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 03:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":170652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":170652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":170652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848641024001,"66":27713,"217":206,"83":44032,"24":0,"16":397628149573091328,"44":-1264948514498310144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-09-04 03:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848641024001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:10:12] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-04 03:10:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:10:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264948514498310144,"description":"Unknown IO ID 44"} 
[2026-09-04 03:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848641024001,"power":27713,"unknown_217":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1264948514498310144}} 
[2026-09-04 03:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":170652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:10:12] local.INFO: GPS data processed {"connection_id":170652,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:10:12] local.INFO: Acknowledgment sent {"connection_id":170652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:10:43] local.INFO: TCP Data received {"connection_id":170652,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:10:43] local.INFO: Processing buffer {"connection_id":170652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:10:43] local.INFO: Packet analysis {"connection_id":170652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:10:43] local.INFO: Extracted packet for processing {"connection_id":170652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:10:43] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848645376001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:10:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264948514498310144,"note":"Value kept but may cause issues"} 
[2026-09-04 03:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788471573000,"timestamp_ms":1788471573000,"timestamp_seconds":1788471573,"priority":1,"record_length":96,"hex_timestamp":"000001a069367a08"} 
[2026-09-04 03:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 03:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":170652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":170652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":170652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848645376001,"66":25201,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1264948514498310144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848645376001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:10:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:10:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264948514498310144,"description":"Unknown IO ID 44"} 
[2026-09-04 03:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848645376001,"power":25201,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1264948514498310144}} 
[2026-09-04 03:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":170652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:10:43] local.INFO: GPS data processed {"connection_id":170652,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:10:43] local.INFO: Acknowledgment sent {"connection_id":170652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:10:44] local.INFO: TCP Data received {"connection_id":170653,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:10:44] local.INFO: Processing buffer {"connection_id":170653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:10:44] local.INFO: IMEI packet received {"connection_id":170653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":170653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:11:10] local.INFO: TCP Data received {"connection_id":170345,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:11:10] local.INFO: Processing buffer {"connection_id":170345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:11:10] local.INFO: IMEI packet received {"connection_id":170345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":170345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:11:16] local.INFO: TCP Data received {"connection_id":170345,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:11:16] local.INFO: Processing buffer {"connection_id":170345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:11:16] local.INFO: IMEI packet received {"connection_id":170345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":170345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:11:16] local.INFO: TCP Data received {"connection_id":170345,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:11:16] local.INFO: Processing buffer {"connection_id":170345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:11:16] local.INFO: Packet analysis {"connection_id":170345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:11:16] local.INFO: Extracted packet for processing {"connection_id":170345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:11:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848645376001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:11:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264948514498310144,"note":"Value kept but may cause issues"} 
[2026-09-04 03:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788471573000,"timestamp_ms":1788471573000,"timestamp_seconds":1788471573,"priority":1,"record_length":96,"hex_timestamp":"000001a069367a08"} 
[2026-09-04 03:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 03:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848645376001,"66":25201,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1264948514498310144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848645376001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:11:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:11:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:11:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264948514498310144,"description":"Unknown IO ID 44"} 
[2026-09-04 03:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848645376001,"power":25201,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1264948514498310144}} 
[2026-09-04 03:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":170345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:11:16] local.INFO: GPS data processed {"connection_id":170345,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:11:16] local.INFO: Acknowledgment sent {"connection_id":170345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:12:01] local.INFO: TCP Data received {"connection_id":170654,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:12:01] local.INFO: Processing buffer {"connection_id":170654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:12:01] local.INFO: IMEI packet received {"connection_id":170654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":170654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:12:06] local.INFO: TCP Data received {"connection_id":170654,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:12:06] local.INFO: Processing buffer {"connection_id":170654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:12:06] local.INFO: IMEI packet received {"connection_id":170654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":170654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:12:06] local.INFO: TCP Data received {"connection_id":170654,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:12:06] local.INFO: Processing buffer {"connection_id":170654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:12:06] local.INFO: Packet analysis {"connection_id":170654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:12:06] local.INFO: Extracted packet for processing {"connection_id":170654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:12:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848645376001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:12:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264948514498310144,"note":"Value kept but may cause issues"} 
[2026-09-04 03:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788471573000,"timestamp_ms":1788471573000,"timestamp_seconds":1788471573,"priority":1,"record_length":96,"hex_timestamp":"000001a069367a08"} 
[2026-09-04 03:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 03:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848645376001,"66":25201,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1264948514498310144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848645376001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:12:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:12:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264948514498310144,"description":"Unknown IO ID 44"} 
[2026-09-04 03:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848645376001,"power":25201,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1264948514498310144}} 
[2026-09-04 03:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":170654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:12:06] local.INFO: GPS data processed {"connection_id":170654,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:12:06] local.INFO: Acknowledgment sent {"connection_id":170654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:12:37] local.INFO: TCP Data received {"connection_id":170654,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:12:37] local.INFO: Processing buffer {"connection_id":170654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:12:37] local.INFO: Packet analysis {"connection_id":170654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:12:37] local.INFO: Extracted packet for processing {"connection_id":170654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:12:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848645376001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:12:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264948514498310144,"note":"Value kept but may cause issues"} 
[2026-09-04 03:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788471573000,"timestamp_ms":1788471573000,"timestamp_seconds":1788471573,"priority":1,"record_length":96,"hex_timestamp":"000001a069367a08"} 
[2026-09-04 03:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 03:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848645376001,"66":25201,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1264948514498310144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848645376001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:12:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:12:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264948514498310144,"description":"Unknown IO ID 44"} 
[2026-09-04 03:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848645376001,"power":25201,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1264948514498310144}} 
[2026-09-04 03:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":170654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:12:37] local.INFO: GPS data processed {"connection_id":170654,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:12:37] local.INFO: Acknowledgment sent {"connection_id":170654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:13:00] local.INFO: TCP Data received {"connection_id":170655,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:13:00] local.INFO: Processing buffer {"connection_id":170655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:13:00] local.INFO: IMEI packet received {"connection_id":170655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":170655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:13:06] local.INFO: TCP Data received {"connection_id":170655,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:13:06] local.INFO: Processing buffer {"connection_id":170655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:13:06] local.INFO: IMEI packet received {"connection_id":170655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":170655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:13:06] local.INFO: TCP Data received {"connection_id":170655,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:13:06] local.INFO: Processing buffer {"connection_id":170655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:13:06] local.INFO: Packet analysis {"connection_id":170655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:13:06] local.INFO: Extracted packet for processing {"connection_id":170655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:13:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848645376001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:13:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264948514498310144,"note":"Value kept but may cause issues"} 
[2026-09-04 03:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788471573000,"timestamp_ms":1788471573000,"timestamp_seconds":1788471573,"priority":1,"record_length":96,"hex_timestamp":"000001a069367a08"} 
[2026-09-04 03:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 03:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848645376001,"66":25201,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1264948514498310144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848645376001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:13:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:13:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264948514498310144,"description":"Unknown IO ID 44"} 
[2026-09-04 03:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848645376001,"power":25201,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1264948514498310144}} 
[2026-09-04 03:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":170655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:13:06] local.INFO: GPS data processed {"connection_id":170655,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:13:06] local.INFO: Acknowledgment sent {"connection_id":170655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:13:39] local.INFO: TCP Data received {"connection_id":170655,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:13:39] local.INFO: Processing buffer {"connection_id":170655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:13:39] local.INFO: Packet analysis {"connection_id":170655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:13:39] local.INFO: Extracted packet for processing {"connection_id":170655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:13:39] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848645376001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:13:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264948514498310144,"note":"Value kept but may cause issues"} 
[2026-09-04 03:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788471573000,"timestamp_ms":1788471573000,"timestamp_seconds":1788471573,"priority":1,"record_length":96,"hex_timestamp":"000001a069367a08"} 
[2026-09-04 03:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 03:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848645376001,"66":25201,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1264948514498310144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848645376001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:13:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:13:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:13:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264948514498310144,"description":"Unknown IO ID 44"} 
[2026-09-04 03:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848645376001,"power":25201,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1264948514498310144}} 
[2026-09-04 03:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":170655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:13:39] local.INFO: GPS data processed {"connection_id":170655,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:13:39] local.INFO: Acknowledgment sent {"connection_id":170655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:14:00] local.INFO: TCP Data received {"connection_id":170347,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:14:00] local.INFO: Processing buffer {"connection_id":170347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:14:00] local.INFO: IMEI packet received {"connection_id":170347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":170347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:14:06] local.INFO: TCP Data received {"connection_id":170347,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:14:06] local.INFO: Processing buffer {"connection_id":170347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:14:06] local.INFO: IMEI packet received {"connection_id":170347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":170347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:14:06] local.INFO: TCP Data received {"connection_id":170347,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:14:06] local.INFO: Processing buffer {"connection_id":170347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:14:06] local.INFO: Packet analysis {"connection_id":170347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:14:06] local.INFO: Extracted packet for processing {"connection_id":170347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:14:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848645376001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264948514498310144,"note":"Value kept but may cause issues"} 
[2026-09-04 03:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788471573000,"timestamp_ms":1788471573000,"timestamp_seconds":1788471573,"priority":1,"record_length":96,"hex_timestamp":"000001a069367a08"} 
[2026-09-04 03:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 03:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848645376001,"66":25201,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1264948514498310144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848645376001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:14:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264948514498310144,"description":"Unknown IO ID 44"} 
[2026-09-04 03:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848645376001,"power":25201,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1264948514498310144}} 
[2026-09-04 03:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":170347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:14:06] local.INFO: GPS data processed {"connection_id":170347,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:14:06] local.INFO: Acknowledgment sent {"connection_id":170347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:14:37] local.INFO: TCP Data received {"connection_id":170347,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:14:37] local.INFO: Processing buffer {"connection_id":170347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:14:37] local.INFO: Packet analysis {"connection_id":170347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:14:37] local.INFO: Extracted packet for processing {"connection_id":170347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:14:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848645376001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:14:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264948514498310144,"note":"Value kept but may cause issues"} 
[2026-09-04 03:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788471573000,"timestamp_ms":1788471573000,"timestamp_seconds":1788471573,"priority":1,"record_length":96,"hex_timestamp":"000001a069367a08"} 
[2026-09-04 03:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 03:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848645376001,"66":25201,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1264948514498310144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848645376001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:14:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:14:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264948514498310144,"description":"Unknown IO ID 44"} 
[2026-09-04 03:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848645376001,"power":25201,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1264948514498310144}} 
[2026-09-04 03:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":170347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:14:37] local.INFO: GPS data processed {"connection_id":170347,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:14:37] local.INFO: Acknowledgment sent {"connection_id":170347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:15:06] local.INFO: TCP Data received {"connection_id":173059,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:15:06] local.INFO: Processing buffer {"connection_id":173059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:15:06] local.INFO: IMEI packet received {"connection_id":173059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":173059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:15:11] local.INFO: TCP Data received {"connection_id":173059,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:15:11] local.INFO: Processing buffer {"connection_id":173059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:15:11] local.INFO: IMEI packet received {"connection_id":173059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":173059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:15:11] local.INFO: TCP Data received {"connection_id":173059,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:15:11] local.INFO: Processing buffer {"connection_id":173059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069367a08012cee7040072e2b90003500622b..."} 
[2026-09-04 03:15:11] local.INFO: Packet analysis {"connection_id":173059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:15:11] local.INFO: Extracted packet for processing {"connection_id":173059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06936"} 
[2026-09-04 03:15:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848645376001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:15:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264948514498310144,"note":"Value kept but may cause issues"} 
[2026-09-04 03:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788471573000,"timestamp_ms":1788471573000,"timestamp_seconds":1788471573,"priority":1,"record_length":96,"hex_timestamp":"000001a069367a08"} 
[2026-09-04 03:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 03:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848645376001,"66":25201,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1264948514498310144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848645376001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:15:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:15:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264948514498310144,"description":"Unknown IO ID 44"} 
[2026-09-04 03:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848645376001,"power":25201,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1264948514498310144}} 
[2026-09-04 03:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":173059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:15:11] local.INFO: GPS data processed {"connection_id":173059,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:15:11] local.INFO: Acknowledgment sent {"connection_id":173059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:15:12] local.INFO: TCP Data received {"connection_id":173059,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:15:12] local.INFO: Processing buffer {"connection_id":173059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:15:12] local.INFO: Packet analysis {"connection_id":173059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:15:12] local.INFO: Extracted packet for processing {"connection_id":173059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:15:12] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848722688001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788471874000,"timestamp_ms":1788471874000,"timestamp_seconds":1788471874,"priority":1,"record_length":96,"hex_timestamp":"000001a0693b11d0"} 
[2026-09-04 03:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 03:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848722688001,"66":25473,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848722688001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:15:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848722688001,"power":25473,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":173059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:15:12] local.INFO: GPS data processed {"connection_id":173059,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:15:12] local.INFO: Acknowledgment sent {"connection_id":173059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:15:43] local.INFO: TCP Data received {"connection_id":173059,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:15:43] local.INFO: Processing buffer {"connection_id":173059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:15:43] local.INFO: Packet analysis {"connection_id":173059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:15:43] local.INFO: Extracted packet for processing {"connection_id":173059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:15:43] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848722688001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:15:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788471874000,"timestamp_ms":1788471874000,"timestamp_seconds":1788471874,"priority":1,"record_length":96,"hex_timestamp":"000001a0693b11d0"} 
[2026-09-04 03:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 03:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848722688001,"66":25473,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848722688001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:15:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:15:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:15:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848722688001,"power":25473,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":173059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:15:43] local.INFO: GPS data processed {"connection_id":173059,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:15:43] local.INFO: Acknowledgment sent {"connection_id":173059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:16:01] local.INFO: TCP Data received {"connection_id":170348,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:16:01] local.INFO: Processing buffer {"connection_id":170348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:16:01] local.INFO: IMEI packet received {"connection_id":170348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":170348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:16:06] local.INFO: TCP Data received {"connection_id":170348,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:16:06] local.INFO: Processing buffer {"connection_id":170348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:16:06] local.INFO: IMEI packet received {"connection_id":170348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":170348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:16:06] local.INFO: TCP Data received {"connection_id":170348,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:16:06] local.INFO: Processing buffer {"connection_id":170348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:16:06] local.INFO: Packet analysis {"connection_id":170348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:16:06] local.INFO: Extracted packet for processing {"connection_id":170348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:16:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848722688001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:16:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788471874000,"timestamp_ms":1788471874000,"timestamp_seconds":1788471874,"priority":1,"record_length":96,"hex_timestamp":"000001a0693b11d0"} 
[2026-09-04 03:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 03:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848722688001,"66":25473,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848722688001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:16:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:16:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848722688001,"power":25473,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":170348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:16:06] local.INFO: GPS data processed {"connection_id":170348,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:16:06] local.INFO: Acknowledgment sent {"connection_id":170348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:16:37] local.INFO: TCP Data received {"connection_id":170348,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:16:37] local.INFO: Processing buffer {"connection_id":170348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:16:37] local.INFO: Packet analysis {"connection_id":170348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:16:37] local.INFO: Extracted packet for processing {"connection_id":170348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:16:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848722688001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:16:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788471874000,"timestamp_ms":1788471874000,"timestamp_seconds":1788471874,"priority":1,"record_length":96,"hex_timestamp":"000001a0693b11d0"} 
[2026-09-04 03:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 03:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848722688001,"66":25473,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848722688001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:16:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:16:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848722688001,"power":25473,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":170348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:16:37] local.INFO: GPS data processed {"connection_id":170348,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:16:37] local.INFO: Acknowledgment sent {"connection_id":170348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:16:39] local.INFO: TCP Data received {"connection_id":171750,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:16:39] local.INFO: Processing buffer {"connection_id":171750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:16:39] local.INFO: IMEI packet received {"connection_id":171750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":171750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:17:01] local.INFO: TCP Data received {"connection_id":170349,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:17:01] local.INFO: Processing buffer {"connection_id":170349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:17:01] local.INFO: IMEI packet received {"connection_id":170349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":170349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:17:06] local.INFO: TCP Data received {"connection_id":170349,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:17:06] local.INFO: Processing buffer {"connection_id":170349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:17:06] local.INFO: IMEI packet received {"connection_id":170349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":170349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:17:06] local.INFO: TCP Data received {"connection_id":170349,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:17:06] local.INFO: Processing buffer {"connection_id":170349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:17:06] local.INFO: Packet analysis {"connection_id":170349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:17:06] local.INFO: Extracted packet for processing {"connection_id":170349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:17:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848722688001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:17:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788471874000,"timestamp_ms":1788471874000,"timestamp_seconds":1788471874,"priority":1,"record_length":96,"hex_timestamp":"000001a0693b11d0"} 
[2026-09-04 03:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 03:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848722688001,"66":25473,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848722688001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:17:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848722688001,"power":25473,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":170349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:17:06] local.INFO: GPS data processed {"connection_id":170349,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:17:06] local.INFO: Acknowledgment sent {"connection_id":170349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:17:38] local.INFO: TCP Data received {"connection_id":170349,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:17:38] local.INFO: Processing buffer {"connection_id":170349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:17:38] local.INFO: Packet analysis {"connection_id":170349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:17:38] local.INFO: Extracted packet for processing {"connection_id":170349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:17:38] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848722688001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:17:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788471874000,"timestamp_ms":1788471874000,"timestamp_seconds":1788471874,"priority":1,"record_length":96,"hex_timestamp":"000001a0693b11d0"} 
[2026-09-04 03:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 03:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848722688001,"66":25473,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848722688001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:17:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:17:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848722688001,"power":25473,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":170349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:17:38] local.INFO: GPS data processed {"connection_id":170349,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:17:38] local.INFO: Acknowledgment sent {"connection_id":170349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:17:39] local.INFO: TCP Data received {"connection_id":170658,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:17:39] local.INFO: Processing buffer {"connection_id":170658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:17:39] local.INFO: IMEI packet received {"connection_id":170658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":170658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:18:01] local.INFO: TCP Data received {"connection_id":170659,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:18:01] local.INFO: Processing buffer {"connection_id":170659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:18:01] local.INFO: IMEI packet received {"connection_id":170659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":170659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:18:06] local.INFO: TCP Data received {"connection_id":170659,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:18:06] local.INFO: Processing buffer {"connection_id":170659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:18:06] local.INFO: IMEI packet received {"connection_id":170659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":170659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:18:06] local.INFO: TCP Data received {"connection_id":170659,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:18:06] local.INFO: Processing buffer {"connection_id":170659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:18:06] local.INFO: Packet analysis {"connection_id":170659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:18:06] local.INFO: Extracted packet for processing {"connection_id":170659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:18:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848722688001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:18:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788471874000,"timestamp_ms":1788471874000,"timestamp_seconds":1788471874,"priority":1,"record_length":96,"hex_timestamp":"000001a0693b11d0"} 
[2026-09-04 03:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 03:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848722688001,"66":25473,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848722688001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:18:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:18:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848722688001,"power":25473,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":170659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:18:06] local.INFO: GPS data processed {"connection_id":170659,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:18:06] local.INFO: Acknowledgment sent {"connection_id":170659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:18:37] local.INFO: TCP Data received {"connection_id":170659,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:18:37] local.INFO: Processing buffer {"connection_id":170659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:18:37] local.INFO: Packet analysis {"connection_id":170659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:18:37] local.INFO: Extracted packet for processing {"connection_id":170659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:18:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848722688001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:18:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788471874000,"timestamp_ms":1788471874000,"timestamp_seconds":1788471874,"priority":1,"record_length":96,"hex_timestamp":"000001a0693b11d0"} 
[2026-09-04 03:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 03:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848722688001,"66":25473,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848722688001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:18:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:18:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848722688001,"power":25473,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":170659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:18:37] local.INFO: GPS data processed {"connection_id":170659,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:18:37] local.INFO: Acknowledgment sent {"connection_id":170659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:19:00] local.INFO: TCP Data received {"connection_id":173060,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:19:00] local.INFO: Processing buffer {"connection_id":173060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:19:00] local.INFO: IMEI packet received {"connection_id":173060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":173060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:19:06] local.INFO: TCP Data received {"connection_id":173060,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:19:06] local.INFO: Processing buffer {"connection_id":173060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:19:06] local.INFO: IMEI packet received {"connection_id":173060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":173060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:19:06] local.INFO: TCP Data received {"connection_id":173060,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:19:06] local.INFO: Processing buffer {"connection_id":173060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:19:06] local.INFO: Packet analysis {"connection_id":173060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:19:06] local.INFO: Extracted packet for processing {"connection_id":173060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:19:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848722688001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788471874000,"timestamp_ms":1788471874000,"timestamp_seconds":1788471874,"priority":1,"record_length":96,"hex_timestamp":"000001a0693b11d0"} 
[2026-09-04 03:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 03:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848722688001,"66":25473,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848722688001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:19:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848722688001,"power":25473,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":173060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:19:06] local.INFO: GPS data processed {"connection_id":173060,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:19:06] local.INFO: Acknowledgment sent {"connection_id":173060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:19:40] local.INFO: TCP Data received {"connection_id":173060,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:19:40] local.INFO: Processing buffer {"connection_id":173060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:19:40] local.INFO: Packet analysis {"connection_id":173060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:19:40] local.INFO: Extracted packet for processing {"connection_id":173060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:19:40] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848722688001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788471874000,"timestamp_ms":1788471874000,"timestamp_seconds":1788471874,"priority":1,"record_length":96,"hex_timestamp":"000001a0693b11d0"} 
[2026-09-04 03:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 03:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848722688001,"66":25473,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848722688001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:19:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:19:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848722688001,"power":25473,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":173060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:19:40] local.INFO: GPS data processed {"connection_id":173060,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:19:40] local.INFO: Acknowledgment sent {"connection_id":173060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:20:00] local.INFO: TCP Data received {"connection_id":171754,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:20:00] local.INFO: Processing buffer {"connection_id":171754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:20:00] local.INFO: IMEI packet received {"connection_id":171754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":171754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:20:06] local.INFO: TCP Data received {"connection_id":171754,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:20:06] local.INFO: Processing buffer {"connection_id":171754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:20:06] local.INFO: IMEI packet received {"connection_id":171754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":171754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:20:06] local.INFO: TCP Data received {"connection_id":171754,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:20:06] local.INFO: Processing buffer {"connection_id":171754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693b11d0012cee7040072e2b900035006228..."} 
[2026-09-04 03:20:06] local.INFO: Packet analysis {"connection_id":171754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:20:06] local.INFO: Extracted packet for processing {"connection_id":171754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693b"} 
[2026-09-04 03:20:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848722688001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788471874000,"timestamp_ms":1788471874000,"timestamp_seconds":1788471874,"priority":1,"record_length":96,"hex_timestamp":"000001a0693b11d0"} 
[2026-09-04 03:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 03:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848722688001,"66":25473,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848722688001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:20:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848722688001,"power":25473,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":171754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:20:06] local.INFO: GPS data processed {"connection_id":171754,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:20:06] local.INFO: Acknowledgment sent {"connection_id":171754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:20:37] local.INFO: TCP Data received {"connection_id":171754,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:20:37] local.INFO: Processing buffer {"connection_id":171754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:20:37] local.INFO: Packet analysis {"connection_id":171754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:20:37] local.INFO: Extracted packet for processing {"connection_id":171754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:20:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848799744001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788472175000,"timestamp_ms":1788472175000,"timestamp_seconds":1788472175,"priority":1,"record_length":96,"hex_timestamp":"000001a0693fa998"} 
[2026-09-04 03:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-04 03:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848799744001,"66":26060,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848799744001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:20:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848799744001,"power":26060,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":171754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:20:37] local.INFO: GPS data processed {"connection_id":171754,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:20:37] local.INFO: Acknowledgment sent {"connection_id":171754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:21:01] local.INFO: TCP Data received {"connection_id":170660,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:21:01] local.INFO: Processing buffer {"connection_id":170660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:21:01] local.INFO: IMEI packet received {"connection_id":170660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":170660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:21:06] local.INFO: TCP Data received {"connection_id":170660,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:21:06] local.INFO: Processing buffer {"connection_id":170660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:21:06] local.INFO: IMEI packet received {"connection_id":170660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":170660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:21:06] local.INFO: TCP Data received {"connection_id":170660,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:21:06] local.INFO: Processing buffer {"connection_id":170660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:21:06] local.INFO: Packet analysis {"connection_id":170660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:21:06] local.INFO: Extracted packet for processing {"connection_id":170660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:21:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848799744001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:21:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788472175000,"timestamp_ms":1788472175000,"timestamp_seconds":1788472175,"priority":1,"record_length":96,"hex_timestamp":"000001a0693fa998"} 
[2026-09-04 03:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-04 03:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848799744001,"66":26060,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848799744001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:21:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:21:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848799744001,"power":26060,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":170660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:21:06] local.INFO: GPS data processed {"connection_id":170660,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:21:06] local.INFO: Acknowledgment sent {"connection_id":170660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:21:37] local.INFO: TCP Data received {"connection_id":170660,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:21:37] local.INFO: Processing buffer {"connection_id":170660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:21:37] local.INFO: Packet analysis {"connection_id":170660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:21:37] local.INFO: Extracted packet for processing {"connection_id":170660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:21:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848799744001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788472175000,"timestamp_ms":1788472175000,"timestamp_seconds":1788472175,"priority":1,"record_length":96,"hex_timestamp":"000001a0693fa998"} 
[2026-09-04 03:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-04 03:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848799744001,"66":26060,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848799744001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:21:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848799744001,"power":26060,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":170660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:21:37] local.INFO: GPS data processed {"connection_id":170660,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:21:37] local.INFO: Acknowledgment sent {"connection_id":170660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:22:01] local.INFO: TCP Data received {"connection_id":173061,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:22:01] local.INFO: Processing buffer {"connection_id":173061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:22:01] local.INFO: IMEI packet received {"connection_id":173061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":173061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:22:06] local.INFO: TCP Data received {"connection_id":173061,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:22:06] local.INFO: Processing buffer {"connection_id":173061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:22:06] local.INFO: IMEI packet received {"connection_id":173061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":173061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:22:06] local.INFO: TCP Data received {"connection_id":173061,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:22:06] local.INFO: Processing buffer {"connection_id":173061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:22:06] local.INFO: Packet analysis {"connection_id":173061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:22:06] local.INFO: Extracted packet for processing {"connection_id":173061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:22:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848799744001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:22:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788472175000,"timestamp_ms":1788472175000,"timestamp_seconds":1788472175,"priority":1,"record_length":96,"hex_timestamp":"000001a0693fa998"} 
[2026-09-04 03:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-04 03:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848799744001,"66":26060,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848799744001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:22:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:22:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848799744001,"power":26060,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":173061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:22:06] local.INFO: GPS data processed {"connection_id":173061,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:22:06] local.INFO: Acknowledgment sent {"connection_id":173061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:22:38] local.INFO: TCP Data received {"connection_id":173061,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:22:38] local.INFO: Processing buffer {"connection_id":173061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:22:38] local.INFO: Packet analysis {"connection_id":173061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:22:38] local.INFO: Extracted packet for processing {"connection_id":173061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:22:38] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848799744001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:22:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788472175000,"timestamp_ms":1788472175000,"timestamp_seconds":1788472175,"priority":1,"record_length":96,"hex_timestamp":"000001a0693fa998"} 
[2026-09-04 03:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-04 03:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848799744001,"66":26060,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848799744001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:22:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:22:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848799744001,"power":26060,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":173061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:22:38] local.INFO: GPS data processed {"connection_id":173061,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:22:38] local.INFO: Acknowledgment sent {"connection_id":173061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:22:42] local.INFO: TCP Data received {"connection_id":171756,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:22:42] local.INFO: Processing buffer {"connection_id":171756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:22:42] local.INFO: IMEI packet received {"connection_id":171756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":171756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:23:00] local.INFO: TCP Data received {"connection_id":171757,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:23:00] local.INFO: Processing buffer {"connection_id":171757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:23:00] local.INFO: IMEI packet received {"connection_id":171757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":171757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:23:06] local.INFO: TCP Data received {"connection_id":171757,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:23:06] local.INFO: Processing buffer {"connection_id":171757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:23:06] local.INFO: IMEI packet received {"connection_id":171757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":171757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:23:06] local.INFO: TCP Data received {"connection_id":171757,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:23:06] local.INFO: Processing buffer {"connection_id":171757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:23:06] local.INFO: Packet analysis {"connection_id":171757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:23:06] local.INFO: Extracted packet for processing {"connection_id":171757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:23:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848799744001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:23:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788472175000,"timestamp_ms":1788472175000,"timestamp_seconds":1788472175,"priority":1,"record_length":96,"hex_timestamp":"000001a0693fa998"} 
[2026-09-04 03:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-04 03:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848799744001,"66":26060,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848799744001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:23:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:23:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848799744001,"power":26060,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":171757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:23:06] local.INFO: GPS data processed {"connection_id":171757,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:23:06] local.INFO: Acknowledgment sent {"connection_id":171757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:23:38] local.INFO: TCP Data received {"connection_id":171757,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:23:38] local.INFO: Processing buffer {"connection_id":171757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:23:38] local.INFO: Packet analysis {"connection_id":171757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:23:38] local.INFO: Extracted packet for processing {"connection_id":171757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:23:38] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848799744001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:23:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788472175000,"timestamp_ms":1788472175000,"timestamp_seconds":1788472175,"priority":1,"record_length":96,"hex_timestamp":"000001a0693fa998"} 
[2026-09-04 03:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-04 03:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848799744001,"66":26060,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848799744001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:23:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:23:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848799744001,"power":26060,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":171757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:23:38] local.INFO: GPS data processed {"connection_id":171757,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:23:38] local.INFO: Acknowledgment sent {"connection_id":171757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:24:00] local.INFO: TCP Data received {"connection_id":170353,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:24:00] local.INFO: Processing buffer {"connection_id":170353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:24:00] local.INFO: IMEI packet received {"connection_id":170353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":170353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:24:06] local.INFO: TCP Data received {"connection_id":170353,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:24:06] local.INFO: Processing buffer {"connection_id":170353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:24:06] local.INFO: IMEI packet received {"connection_id":170353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":170353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:24:06] local.INFO: TCP Data received {"connection_id":170353,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:24:06] local.INFO: Processing buffer {"connection_id":170353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:24:06] local.INFO: Packet analysis {"connection_id":170353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:24:06] local.INFO: Extracted packet for processing {"connection_id":170353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:24:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848799744001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:24:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788472175000,"timestamp_ms":1788472175000,"timestamp_seconds":1788472175,"priority":1,"record_length":96,"hex_timestamp":"000001a0693fa998"} 
[2026-09-04 03:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-04 03:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848799744001,"66":26060,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848799744001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:24:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:24:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848799744001,"power":26060,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":170353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:24:06] local.INFO: GPS data processed {"connection_id":170353,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:24:06] local.INFO: Acknowledgment sent {"connection_id":170353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:24:37] local.INFO: TCP Data received {"connection_id":170353,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:24:37] local.INFO: Processing buffer {"connection_id":170353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:24:37] local.INFO: Packet analysis {"connection_id":170353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:24:37] local.INFO: Extracted packet for processing {"connection_id":170353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:24:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848799744001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:24:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788472175000,"timestamp_ms":1788472175000,"timestamp_seconds":1788472175,"priority":1,"record_length":96,"hex_timestamp":"000001a0693fa998"} 
[2026-09-04 03:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-04 03:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848799744001,"66":26060,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848799744001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:24:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:24:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848799744001,"power":26060,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":170353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:24:37] local.INFO: GPS data processed {"connection_id":170353,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:24:37] local.INFO: Acknowledgment sent {"connection_id":170353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:25:00] local.INFO: TCP Data received {"connection_id":171758,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:25:00] local.INFO: Processing buffer {"connection_id":171758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:25:00] local.INFO: IMEI packet received {"connection_id":171758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":171758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:25:06] local.INFO: TCP Data received {"connection_id":171758,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:25:06] local.INFO: Processing buffer {"connection_id":171758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:25:06] local.INFO: IMEI packet received {"connection_id":171758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":171758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:25:06] local.INFO: TCP Data received {"connection_id":171758,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:25:06] local.INFO: Processing buffer {"connection_id":171758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0693fa998012cee7040072e2b90003500622b..."} 
[2026-09-04 03:25:06] local.INFO: Packet analysis {"connection_id":171758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:25:06] local.INFO: Extracted packet for processing {"connection_id":171758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0693f"} 
[2026-09-04 03:25:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848799744001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:25:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788472175000,"timestamp_ms":1788472175000,"timestamp_seconds":1788472175,"priority":1,"record_length":96,"hex_timestamp":"000001a0693fa998"} 
[2026-09-04 03:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-04 03:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848799744001,"66":26060,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848799744001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:25:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:25:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848799744001,"power":26060,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":171758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:25:06] local.INFO: GPS data processed {"connection_id":171758,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:25:06] local.INFO: Acknowledgment sent {"connection_id":171758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:25:37] local.INFO: TCP Data received {"connection_id":171758,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:25:37] local.INFO: Processing buffer {"connection_id":171758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:25:37] local.INFO: Packet analysis {"connection_id":171758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:25:37] local.INFO: Extracted packet for processing {"connection_id":171758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:25:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848876800001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:25:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788472476000,"timestamp_ms":1788472476000,"timestamp_seconds":1788472476,"priority":1,"record_length":96,"hex_timestamp":"000001a069444160"} 
[2026-09-04 03:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 03:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848876800001,"66":26039,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848876800001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:25:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:25:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848876800001,"power":26039,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":171758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:25:37] local.INFO: GPS data processed {"connection_id":171758,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:25:37] local.INFO: Acknowledgment sent {"connection_id":171758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:26:06] local.INFO: TCP Data received {"connection_id":170663,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:26:06] local.INFO: Processing buffer {"connection_id":170663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:26:06] local.INFO: IMEI packet received {"connection_id":170663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":170663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:26:11] local.INFO: TCP Data received {"connection_id":170663,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:26:11] local.INFO: Processing buffer {"connection_id":170663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:26:11] local.INFO: IMEI packet received {"connection_id":170663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":170663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:26:11] local.INFO: TCP Data received {"connection_id":170663,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:26:11] local.INFO: Processing buffer {"connection_id":170663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:26:11] local.INFO: Packet analysis {"connection_id":170663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:26:11] local.INFO: Extracted packet for processing {"connection_id":170663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:26:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848876800001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:26:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788472476000,"timestamp_ms":1788472476000,"timestamp_seconds":1788472476,"priority":1,"record_length":96,"hex_timestamp":"000001a069444160"} 
[2026-09-04 03:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 03:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848876800001,"66":26039,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848876800001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:26:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:26:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848876800001,"power":26039,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":170663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:26:11] local.INFO: GPS data processed {"connection_id":170663,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:26:11] local.INFO: Acknowledgment sent {"connection_id":170663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:26:16] local.INFO: TCP Data received {"connection_id":170663,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:26:16] local.INFO: Processing buffer {"connection_id":170663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:26:16] local.INFO: Packet analysis {"connection_id":170663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:26:16] local.INFO: Extracted packet for processing {"connection_id":170663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:26:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848876800001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:26:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788472476000,"timestamp_ms":1788472476000,"timestamp_seconds":1788472476,"priority":1,"record_length":96,"hex_timestamp":"000001a069444160"} 
[2026-09-04 03:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 03:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848876800001,"66":26039,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848876800001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:26:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:26:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:26:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848876800001,"power":26039,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":170663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:26:16] local.INFO: GPS data processed {"connection_id":170663,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:26:16] local.INFO: Acknowledgment sent {"connection_id":170663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:27:01] local.INFO: TCP Data received {"connection_id":173063,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:27:01] local.INFO: Processing buffer {"connection_id":173063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:27:01] local.INFO: IMEI packet received {"connection_id":173063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":173063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:27:06] local.INFO: TCP Data received {"connection_id":173063,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:27:06] local.INFO: Processing buffer {"connection_id":173063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:27:06] local.INFO: IMEI packet received {"connection_id":173063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":173063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:27:06] local.INFO: TCP Data received {"connection_id":173063,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:27:06] local.INFO: Processing buffer {"connection_id":173063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:27:06] local.INFO: Packet analysis {"connection_id":173063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:27:06] local.INFO: Extracted packet for processing {"connection_id":173063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:27:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848876800001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:27:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788472476000,"timestamp_ms":1788472476000,"timestamp_seconds":1788472476,"priority":1,"record_length":96,"hex_timestamp":"000001a069444160"} 
[2026-09-04 03:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 03:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848876800001,"66":26039,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848876800001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:27:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:27:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848876800001,"power":26039,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":173063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:27:06] local.INFO: GPS data processed {"connection_id":173063,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:27:06] local.INFO: Acknowledgment sent {"connection_id":173063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:27:37] local.INFO: TCP Data received {"connection_id":173063,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:27:37] local.INFO: Processing buffer {"connection_id":173063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:27:37] local.INFO: Packet analysis {"connection_id":173063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:27:37] local.INFO: Extracted packet for processing {"connection_id":173063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:27:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848876800001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:27:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788472476000,"timestamp_ms":1788472476000,"timestamp_seconds":1788472476,"priority":1,"record_length":96,"hex_timestamp":"000001a069444160"} 
[2026-09-04 03:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 03:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848876800001,"66":26039,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848876800001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:27:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:27:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848876800001,"power":26039,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":173063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:27:37] local.INFO: GPS data processed {"connection_id":173063,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:27:37] local.INFO: Acknowledgment sent {"connection_id":173063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:28:00] local.INFO: TCP Data received {"connection_id":170665,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:28:00] local.INFO: Processing buffer {"connection_id":170665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:28:00] local.INFO: IMEI packet received {"connection_id":170665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":170665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:28:06] local.INFO: TCP Data received {"connection_id":170665,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:28:06] local.INFO: Processing buffer {"connection_id":170665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:28:06] local.INFO: IMEI packet received {"connection_id":170665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":170665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:28:06] local.INFO: TCP Data received {"connection_id":170665,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:28:06] local.INFO: Processing buffer {"connection_id":170665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:28:06] local.INFO: Packet analysis {"connection_id":170665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:28:06] local.INFO: Extracted packet for processing {"connection_id":170665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:28:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848876800001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:28:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788472476000,"timestamp_ms":1788472476000,"timestamp_seconds":1788472476,"priority":1,"record_length":96,"hex_timestamp":"000001a069444160"} 
[2026-09-04 03:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 03:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848876800001,"66":26039,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848876800001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:28:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:28:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848876800001,"power":26039,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":170665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:28:06] local.INFO: GPS data processed {"connection_id":170665,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:28:06] local.INFO: Acknowledgment sent {"connection_id":170665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:28:14] local.INFO: TCP Data received {"connection_id":170664,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:28:14] local.INFO: Processing buffer {"connection_id":170664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:28:14] local.INFO: IMEI packet received {"connection_id":170664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":170664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:28:37] local.INFO: TCP Data received {"connection_id":170665,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:28:37] local.INFO: Processing buffer {"connection_id":170665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:28:37] local.INFO: Packet analysis {"connection_id":170665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:28:37] local.INFO: Extracted packet for processing {"connection_id":170665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:28:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848876800001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:28:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788472476000,"timestamp_ms":1788472476000,"timestamp_seconds":1788472476,"priority":1,"record_length":96,"hex_timestamp":"000001a069444160"} 
[2026-09-04 03:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 03:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848876800001,"66":26039,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848876800001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:28:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:28:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:28:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848876800001,"power":26039,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":170665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:28:37] local.INFO: GPS data processed {"connection_id":170665,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:28:37] local.INFO: Acknowledgment sent {"connection_id":170665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:28:44] local.INFO: TCP Data received {"connection_id":173064,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:28:44] local.INFO: Processing buffer {"connection_id":173064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:28:44] local.INFO: IMEI packet received {"connection_id":173064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":173064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:29:00] local.INFO: TCP Data received {"connection_id":173065,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:29:00] local.INFO: Processing buffer {"connection_id":173065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:29:00] local.INFO: IMEI packet received {"connection_id":173065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":173065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:29:06] local.INFO: TCP Data received {"connection_id":173065,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:29:06] local.INFO: Processing buffer {"connection_id":173065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:29:06] local.INFO: IMEI packet received {"connection_id":173065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":173065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:29:06] local.INFO: TCP Data received {"connection_id":173065,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:29:06] local.INFO: Processing buffer {"connection_id":173065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:29:06] local.INFO: Packet analysis {"connection_id":173065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:29:06] local.INFO: Extracted packet for processing {"connection_id":173065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:29:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848876800001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788472476000,"timestamp_ms":1788472476000,"timestamp_seconds":1788472476,"priority":1,"record_length":96,"hex_timestamp":"000001a069444160"} 
[2026-09-04 03:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 03:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848876800001,"66":26039,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848876800001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:29:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848876800001,"power":26039,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":173065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:29:06] local.INFO: GPS data processed {"connection_id":173065,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:29:06] local.INFO: Acknowledgment sent {"connection_id":173065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:29:37] local.INFO: TCP Data received {"connection_id":173065,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:29:37] local.INFO: Processing buffer {"connection_id":173065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:29:37] local.INFO: Packet analysis {"connection_id":173065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:29:37] local.INFO: Extracted packet for processing {"connection_id":173065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:29:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848876800001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:29:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788472476000,"timestamp_ms":1788472476000,"timestamp_seconds":1788472476,"priority":1,"record_length":96,"hex_timestamp":"000001a069444160"} 
[2026-09-04 03:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 03:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848876800001,"66":26039,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848876800001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:29:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:29:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848876800001,"power":26039,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":173065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:29:37] local.INFO: GPS data processed {"connection_id":173065,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:29:37] local.INFO: Acknowledgment sent {"connection_id":173065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:30:00] local.INFO: TCP Data received {"connection_id":170667,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:30:00] local.INFO: Processing buffer {"connection_id":170667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:30:00] local.INFO: IMEI packet received {"connection_id":170667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":170667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:30:06] local.INFO: TCP Data received {"connection_id":170667,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:30:06] local.INFO: Processing buffer {"connection_id":170667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:30:06] local.INFO: IMEI packet received {"connection_id":170667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":170667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:30:06] local.INFO: TCP Data received {"connection_id":170667,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:30:06] local.INFO: Processing buffer {"connection_id":170667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069444160012cee7040072e2b90003500622c..."} 
[2026-09-04 03:30:06] local.INFO: Packet analysis {"connection_id":170667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:30:06] local.INFO: Extracted packet for processing {"connection_id":170667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06944"} 
[2026-09-04 03:30:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848876800001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:30:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788472476000,"timestamp_ms":1788472476000,"timestamp_seconds":1788472476,"priority":1,"record_length":96,"hex_timestamp":"000001a069444160"} 
[2026-09-04 03:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 03:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848876800001,"66":26039,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848876800001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:30:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:30:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848876800001,"power":26039,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":170667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:30:06] local.INFO: GPS data processed {"connection_id":170667,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:30:06] local.INFO: Acknowledgment sent {"connection_id":170667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:30:37] local.INFO: TCP Data received {"connection_id":170667,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:30:37] local.INFO: Processing buffer {"connection_id":170667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:30:37] local.INFO: Packet analysis {"connection_id":170667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:30:37] local.INFO: Extracted packet for processing {"connection_id":170667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:30:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848953856001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:30:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788472777000,"timestamp_ms":1788472777000,"timestamp_seconds":1788472777,"priority":1,"record_length":96,"hex_timestamp":"000001a06948d928"} 
[2026-09-04 03:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 03:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848953856001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848953856001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:30:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:30:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848953856001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":170667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:30:37] local.INFO: GPS data processed {"connection_id":170667,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:30:37] local.INFO: Acknowledgment sent {"connection_id":170667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:31:01] local.INFO: TCP Data received {"connection_id":170356,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:31:01] local.INFO: Processing buffer {"connection_id":170356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:31:01] local.INFO: IMEI packet received {"connection_id":170356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":170356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:31:06] local.INFO: TCP Data received {"connection_id":170356,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:31:06] local.INFO: Processing buffer {"connection_id":170356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:31:06] local.INFO: IMEI packet received {"connection_id":170356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":170356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:31:06] local.INFO: TCP Data received {"connection_id":170356,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:31:06] local.INFO: Processing buffer {"connection_id":170356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:31:06] local.INFO: Packet analysis {"connection_id":170356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:31:06] local.INFO: Extracted packet for processing {"connection_id":170356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:31:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848953856001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:31:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788472777000,"timestamp_ms":1788472777000,"timestamp_seconds":1788472777,"priority":1,"record_length":96,"hex_timestamp":"000001a06948d928"} 
[2026-09-04 03:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 03:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848953856001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848953856001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:31:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:31:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848953856001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":170356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:31:06] local.INFO: GPS data processed {"connection_id":170356,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:31:06] local.INFO: Acknowledgment sent {"connection_id":170356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:31:38] local.INFO: TCP Data received {"connection_id":170356,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:31:38] local.INFO: Processing buffer {"connection_id":170356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:31:38] local.INFO: Packet analysis {"connection_id":170356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:31:38] local.INFO: Extracted packet for processing {"connection_id":170356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:31:38] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848953856001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:31:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788472777000,"timestamp_ms":1788472777000,"timestamp_seconds":1788472777,"priority":1,"record_length":96,"hex_timestamp":"000001a06948d928"} 
[2026-09-04 03:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 03:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848953856001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848953856001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:31:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:31:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848953856001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":170356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:31:38] local.INFO: GPS data processed {"connection_id":170356,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:31:38] local.INFO: Acknowledgment sent {"connection_id":170356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:32:01] local.INFO: TCP Data received {"connection_id":171759,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:32:01] local.INFO: Processing buffer {"connection_id":171759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:32:01] local.INFO: IMEI packet received {"connection_id":171759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":171759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:32:06] local.INFO: TCP Data received {"connection_id":171759,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:32:06] local.INFO: Processing buffer {"connection_id":171759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:32:06] local.INFO: IMEI packet received {"connection_id":171759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":171759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:32:06] local.INFO: TCP Data received {"connection_id":171759,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:32:06] local.INFO: Processing buffer {"connection_id":171759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:32:06] local.INFO: Packet analysis {"connection_id":171759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:32:06] local.INFO: Extracted packet for processing {"connection_id":171759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:32:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848953856001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:32:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788472777000,"timestamp_ms":1788472777000,"timestamp_seconds":1788472777,"priority":1,"record_length":96,"hex_timestamp":"000001a06948d928"} 
[2026-09-04 03:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 03:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848953856001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848953856001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:32:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:32:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848953856001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":171759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:32:06] local.INFO: GPS data processed {"connection_id":171759,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:32:06] local.INFO: Acknowledgment sent {"connection_id":171759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:32:37] local.INFO: TCP Data received {"connection_id":171759,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:32:37] local.INFO: Processing buffer {"connection_id":171759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:32:37] local.INFO: Packet analysis {"connection_id":171759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:32:37] local.INFO: Extracted packet for processing {"connection_id":171759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:32:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848953856001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:32:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788472777000,"timestamp_ms":1788472777000,"timestamp_seconds":1788472777,"priority":1,"record_length":96,"hex_timestamp":"000001a06948d928"} 
[2026-09-04 03:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 03:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848953856001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848953856001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:32:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:32:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848953856001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":171759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:32:37] local.INFO: GPS data processed {"connection_id":171759,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:32:37] local.INFO: Acknowledgment sent {"connection_id":171759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:33:01] local.INFO: TCP Data received {"connection_id":170669,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:33:01] local.INFO: Processing buffer {"connection_id":170669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:33:01] local.INFO: IMEI packet received {"connection_id":170669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":170669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:33:05] local.INFO: TCP Data received {"connection_id":170669,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:33:05] local.INFO: Processing buffer {"connection_id":170669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:33:05] local.INFO: IMEI packet received {"connection_id":170669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":170669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:33:06] local.INFO: TCP Data received {"connection_id":170669,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:33:06] local.INFO: Processing buffer {"connection_id":170669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:33:06] local.INFO: Packet analysis {"connection_id":170669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:33:06] local.INFO: Extracted packet for processing {"connection_id":170669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:33:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848953856001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:33:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788472777000,"timestamp_ms":1788472777000,"timestamp_seconds":1788472777,"priority":1,"record_length":96,"hex_timestamp":"000001a06948d928"} 
[2026-09-04 03:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 03:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848953856001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848953856001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:33:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:33:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848953856001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":170669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:33:06] local.INFO: GPS data processed {"connection_id":170669,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:33:06] local.INFO: Acknowledgment sent {"connection_id":170669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:33:37] local.INFO: TCP Data received {"connection_id":170669,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:33:37] local.INFO: Processing buffer {"connection_id":170669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:33:37] local.INFO: Packet analysis {"connection_id":170669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:33:37] local.INFO: Extracted packet for processing {"connection_id":170669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:33:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848953856001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788472777000,"timestamp_ms":1788472777000,"timestamp_seconds":1788472777,"priority":1,"record_length":96,"hex_timestamp":"000001a06948d928"} 
[2026-09-04 03:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 03:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848953856001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848953856001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:33:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848953856001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":170669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:33:37] local.INFO: GPS data processed {"connection_id":170669,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:33:37] local.INFO: Acknowledgment sent {"connection_id":170669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:34:00] local.INFO: TCP Data received {"connection_id":170670,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:34:00] local.INFO: Processing buffer {"connection_id":170670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:34:00] local.INFO: IMEI packet received {"connection_id":170670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":170670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:34:05] local.INFO: TCP Data received {"connection_id":170670,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:34:05] local.INFO: Processing buffer {"connection_id":170670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:34:05] local.INFO: IMEI packet received {"connection_id":170670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":170670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:34:06] local.INFO: TCP Data received {"connection_id":170670,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:34:06] local.INFO: Processing buffer {"connection_id":170670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:34:06] local.INFO: Packet analysis {"connection_id":170670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:34:06] local.INFO: Extracted packet for processing {"connection_id":170670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:34:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848953856001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:34:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788472777000,"timestamp_ms":1788472777000,"timestamp_seconds":1788472777,"priority":1,"record_length":96,"hex_timestamp":"000001a06948d928"} 
[2026-09-04 03:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 03:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848953856001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848953856001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:34:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:34:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848953856001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":170670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:34:06] local.INFO: GPS data processed {"connection_id":170670,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:34:06] local.INFO: Acknowledgment sent {"connection_id":170670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:34:14] local.INFO: TCP Data received {"connection_id":171760,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:34:14] local.INFO: Processing buffer {"connection_id":171760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:34:14] local.INFO: IMEI packet received {"connection_id":171760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":171760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:34:39] local.INFO: TCP Data received {"connection_id":171761,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:34:39] local.INFO: Processing buffer {"connection_id":171761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:34:39] local.INFO: IMEI packet received {"connection_id":171761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":171761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:34:42] local.INFO: TCP Data received {"connection_id":170670,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:34:42] local.INFO: Processing buffer {"connection_id":170670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:34:42] local.INFO: Packet analysis {"connection_id":170670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:34:42] local.INFO: Extracted packet for processing {"connection_id":170670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:34:42] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848953856001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788472777000,"timestamp_ms":1788472777000,"timestamp_seconds":1788472777,"priority":1,"record_length":96,"hex_timestamp":"000001a06948d928"} 
[2026-09-04 03:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 03:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848953856001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848953856001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:34:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848953856001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":170670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:34:42] local.INFO: GPS data processed {"connection_id":170670,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:34:42] local.INFO: Acknowledgment sent {"connection_id":170670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:35:00] local.INFO: TCP Data received {"connection_id":171762,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:35:00] local.INFO: Processing buffer {"connection_id":171762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:35:00] local.INFO: IMEI packet received {"connection_id":171762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":171762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:35:05] local.INFO: TCP Data received {"connection_id":171762,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:35:05] local.INFO: Processing buffer {"connection_id":171762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:35:05] local.INFO: IMEI packet received {"connection_id":171762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":171762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:35:06] local.INFO: TCP Data received {"connection_id":171762,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:35:06] local.INFO: Processing buffer {"connection_id":171762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06948d928012cee7040072e2b90003500622b..."} 
[2026-09-04 03:35:06] local.INFO: Packet analysis {"connection_id":171762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:35:06] local.INFO: Extracted packet for processing {"connection_id":171762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06948"} 
[2026-09-04 03:35:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457848953856001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:35:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788472777000,"timestamp_ms":1788472777000,"timestamp_seconds":1788472777,"priority":1,"record_length":96,"hex_timestamp":"000001a06948d928"} 
[2026-09-04 03:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 03:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457848953856001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457848953856001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:35:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:35:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457848953856001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":171762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:35:06] local.INFO: GPS data processed {"connection_id":171762,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:35:06] local.INFO: Acknowledgment sent {"connection_id":171762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:35:38] local.INFO: TCP Data received {"connection_id":171762,"ip":"42.106.6.22","data_length":93,"data_hex":"00000000000000518e01000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171762,"packet_length":93,"packet_hex":"00000000000000518e01000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:35:38] local.INFO: Processing buffer {"connection_id":171762,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:35:38] local.INFO: Packet analysis {"connection_id":171762,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0694d"} 
[2026-09-04 03:35:38] local.INFO: Extracted packet for processing {"connection_id":171762,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0694d"} 
[2026-09-04 03:35:38] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 03:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:35:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:35:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 03:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171762,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 03:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171762,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-04 03:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171762,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-04 03:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 03:35:38] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 03:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":171762,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 03:35:38] local.ERROR: GPS data processing failed {"connection_id":171762,"error":"No valid data to process"} 
[2026-09-04 03:35:38] local.INFO: Acknowledgment sent {"connection_id":171762,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 03:36:00] local.INFO: TCP Data received {"connection_id":170358,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:36:00] local.INFO: Processing buffer {"connection_id":170358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:36:00] local.INFO: IMEI packet received {"connection_id":170358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":170358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:36:05] local.INFO: TCP Data received {"connection_id":170358,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:36:05] local.INFO: Processing buffer {"connection_id":170358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:36:05] local.INFO: IMEI packet received {"connection_id":170358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":170358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:36:06] local.INFO: TCP Data received {"connection_id":170358,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:36:06] local.INFO: Processing buffer {"connection_id":170358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:36:06] local.INFO: Packet analysis {"connection_id":170358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:36:06] local.INFO: Extracted packet for processing {"connection_id":170358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:36:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849030912001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:36:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473078000,"timestamp_ms":1788473078000,"timestamp_seconds":1788473078,"priority":1,"record_length":96,"hex_timestamp":"000001a0694d70f0"} 
[2026-09-04 03:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 03:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849030912001,"66":25919,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849030912001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:36:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:36:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849030912001,"power":25919,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":170358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:36:06] local.INFO: GPS data processed {"connection_id":170358,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:36:06] local.INFO: Acknowledgment sent {"connection_id":170358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:36:37] local.INFO: TCP Data received {"connection_id":170358,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:36:37] local.INFO: Processing buffer {"connection_id":170358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:36:37] local.INFO: Packet analysis {"connection_id":170358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:36:37] local.INFO: Extracted packet for processing {"connection_id":170358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:36:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849030912001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473078000,"timestamp_ms":1788473078000,"timestamp_seconds":1788473078,"priority":1,"record_length":96,"hex_timestamp":"000001a0694d70f0"} 
[2026-09-04 03:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 03:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849030912001,"66":25919,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849030912001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:36:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849030912001,"power":25919,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":170358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:36:37] local.INFO: GPS data processed {"connection_id":170358,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:36:37] local.INFO: Acknowledgment sent {"connection_id":170358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:37:00] local.INFO: TCP Data received {"connection_id":171765,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:37:00] local.INFO: Processing buffer {"connection_id":171765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:37:00] local.INFO: IMEI packet received {"connection_id":171765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":171765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:37:05] local.INFO: TCP Data received {"connection_id":171765,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:37:05] local.INFO: Processing buffer {"connection_id":171765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:37:05] local.INFO: IMEI packet received {"connection_id":171765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":171765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:37:06] local.INFO: TCP Data received {"connection_id":171765,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:37:06] local.INFO: Processing buffer {"connection_id":171765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:37:06] local.INFO: Packet analysis {"connection_id":171765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:37:06] local.INFO: Extracted packet for processing {"connection_id":171765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:37:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849030912001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473078000,"timestamp_ms":1788473078000,"timestamp_seconds":1788473078,"priority":1,"record_length":96,"hex_timestamp":"000001a0694d70f0"} 
[2026-09-04 03:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 03:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849030912001,"66":25919,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849030912001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:37:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849030912001,"power":25919,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":171765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:37:06] local.INFO: GPS data processed {"connection_id":171765,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:37:06] local.INFO: Acknowledgment sent {"connection_id":171765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:37:37] local.INFO: TCP Data received {"connection_id":171765,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:37:37] local.INFO: Processing buffer {"connection_id":171765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:37:37] local.INFO: Packet analysis {"connection_id":171765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:37:37] local.INFO: Extracted packet for processing {"connection_id":171765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:37:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849030912001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:37:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473078000,"timestamp_ms":1788473078000,"timestamp_seconds":1788473078,"priority":1,"record_length":96,"hex_timestamp":"000001a0694d70f0"} 
[2026-09-04 03:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 03:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849030912001,"66":25919,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849030912001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:37:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:37:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849030912001,"power":25919,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":171765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:37:37] local.INFO: GPS data processed {"connection_id":171765,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:37:37] local.INFO: Acknowledgment sent {"connection_id":171765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:38:00] local.INFO: TCP Data received {"connection_id":170672,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:38:00] local.INFO: Processing buffer {"connection_id":170672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:38:00] local.INFO: IMEI packet received {"connection_id":170672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":170672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:38:05] local.INFO: TCP Data received {"connection_id":170672,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:38:05] local.INFO: Processing buffer {"connection_id":170672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:38:05] local.INFO: IMEI packet received {"connection_id":170672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":170672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:38:06] local.INFO: TCP Data received {"connection_id":170672,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:38:06] local.INFO: Processing buffer {"connection_id":170672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:38:06] local.INFO: Packet analysis {"connection_id":170672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:38:06] local.INFO: Extracted packet for processing {"connection_id":170672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:38:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849030912001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:38:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473078000,"timestamp_ms":1788473078000,"timestamp_seconds":1788473078,"priority":1,"record_length":96,"hex_timestamp":"000001a0694d70f0"} 
[2026-09-04 03:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 03:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849030912001,"66":25919,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849030912001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:38:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:38:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849030912001,"power":25919,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":170672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:38:06] local.INFO: GPS data processed {"connection_id":170672,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:38:06] local.INFO: Acknowledgment sent {"connection_id":170672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:38:37] local.INFO: TCP Data received {"connection_id":170672,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:38:37] local.INFO: Processing buffer {"connection_id":170672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:38:37] local.INFO: Packet analysis {"connection_id":170672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:38:37] local.INFO: Extracted packet for processing {"connection_id":170672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:38:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849030912001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473078000,"timestamp_ms":1788473078000,"timestamp_seconds":1788473078,"priority":1,"record_length":96,"hex_timestamp":"000001a0694d70f0"} 
[2026-09-04 03:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 03:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849030912001,"66":25919,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849030912001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:38:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849030912001,"power":25919,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":170672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:38:37] local.INFO: GPS data processed {"connection_id":170672,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:38:37] local.INFO: Acknowledgment sent {"connection_id":170672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:39:00] local.INFO: TCP Data received {"connection_id":170673,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:39:00] local.INFO: Processing buffer {"connection_id":170673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:39:00] local.INFO: IMEI packet received {"connection_id":170673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":170673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:39:05] local.INFO: TCP Data received {"connection_id":170673,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:39:05] local.INFO: Processing buffer {"connection_id":170673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:39:05] local.INFO: IMEI packet received {"connection_id":170673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":170673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:39:06] local.INFO: TCP Data received {"connection_id":170673,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:39:06] local.INFO: Processing buffer {"connection_id":170673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:39:06] local.INFO: Packet analysis {"connection_id":170673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:39:06] local.INFO: Extracted packet for processing {"connection_id":170673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:39:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849030912001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:39:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473078000,"timestamp_ms":1788473078000,"timestamp_seconds":1788473078,"priority":1,"record_length":96,"hex_timestamp":"000001a0694d70f0"} 
[2026-09-04 03:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 03:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849030912001,"66":25919,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849030912001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:39:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:39:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849030912001,"power":25919,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":170673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:39:06] local.INFO: GPS data processed {"connection_id":170673,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:39:06] local.INFO: Acknowledgment sent {"connection_id":170673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:39:37] local.INFO: TCP Data received {"connection_id":170673,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:39:37] local.INFO: Processing buffer {"connection_id":170673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:39:37] local.INFO: Packet analysis {"connection_id":170673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:39:37] local.INFO: Extracted packet for processing {"connection_id":170673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:39:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849030912001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:39:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473078000,"timestamp_ms":1788473078000,"timestamp_seconds":1788473078,"priority":1,"record_length":96,"hex_timestamp":"000001a0694d70f0"} 
[2026-09-04 03:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 03:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849030912001,"66":25919,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849030912001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:39:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:39:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849030912001,"power":25919,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":170673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:39:37] local.INFO: GPS data processed {"connection_id":170673,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:39:37] local.INFO: Acknowledgment sent {"connection_id":170673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:40:00] local.INFO: TCP Data received {"connection_id":173067,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:40:00] local.INFO: Processing buffer {"connection_id":173067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:40:00] local.INFO: IMEI packet received {"connection_id":173067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":173067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:40:05] local.INFO: TCP Data received {"connection_id":173067,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:40:05] local.INFO: Processing buffer {"connection_id":173067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:40:05] local.INFO: IMEI packet received {"connection_id":173067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":173067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:40:06] local.INFO: TCP Data received {"connection_id":173067,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:40:06] local.INFO: Processing buffer {"connection_id":173067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0694d70f0012cee7040072e2b90003500622a..."} 
[2026-09-04 03:40:06] local.INFO: Packet analysis {"connection_id":173067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:40:06] local.INFO: Extracted packet for processing {"connection_id":173067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0694d"} 
[2026-09-04 03:40:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849030912001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:40:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473078000,"timestamp_ms":1788473078000,"timestamp_seconds":1788473078,"priority":1,"record_length":96,"hex_timestamp":"000001a0694d70f0"} 
[2026-09-04 03:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 03:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849030912001,"66":25919,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849030912001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:40:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:40:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849030912001,"power":25919,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":173067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:40:06] local.INFO: GPS data processed {"connection_id":173067,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:40:06] local.INFO: Acknowledgment sent {"connection_id":173067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:40:09] local.INFO: TCP Data received {"connection_id":173066,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:40:09] local.INFO: Processing buffer {"connection_id":173066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:40:09] local.INFO: IMEI packet received {"connection_id":173066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":173066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:40:37] local.INFO: TCP Data received {"connection_id":173067,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:40:37] local.INFO: Processing buffer {"connection_id":173067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:40:37] local.INFO: Packet analysis {"connection_id":173067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:40:37] local.INFO: Extracted packet for processing {"connection_id":173067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:40:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849107968001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473379000,"timestamp_ms":1788473379000,"timestamp_seconds":1788473379,"priority":1,"record_length":96,"hex_timestamp":"000001a0695208b8"} 
[2026-09-04 03:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 03:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849107968001,"66":25952,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849107968001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:40:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849107968001,"power":25952,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":173067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:40:37] local.INFO: GPS data processed {"connection_id":173067,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:40:37] local.INFO: Acknowledgment sent {"connection_id":173067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:40:39] local.INFO: TCP Data received {"connection_id":170360,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:40:39] local.INFO: Processing buffer {"connection_id":170360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:40:39] local.INFO: IMEI packet received {"connection_id":170360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":170360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:41:01] local.INFO: TCP Data received {"connection_id":171766,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:41:01] local.INFO: Processing buffer {"connection_id":171766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:41:01] local.INFO: IMEI packet received {"connection_id":171766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":171766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:41:05] local.INFO: TCP Data received {"connection_id":171766,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:41:05] local.INFO: Processing buffer {"connection_id":171766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:41:05] local.INFO: IMEI packet received {"connection_id":171766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":171766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:41:06] local.INFO: TCP Data received {"connection_id":171766,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:41:06] local.INFO: Processing buffer {"connection_id":171766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:41:06] local.INFO: Packet analysis {"connection_id":171766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:41:06] local.INFO: Extracted packet for processing {"connection_id":171766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:41:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849107968001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:41:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473379000,"timestamp_ms":1788473379000,"timestamp_seconds":1788473379,"priority":1,"record_length":96,"hex_timestamp":"000001a0695208b8"} 
[2026-09-04 03:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 03:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849107968001,"66":25952,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849107968001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:41:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:41:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849107968001,"power":25952,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":171766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:41:06] local.INFO: GPS data processed {"connection_id":171766,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:41:06] local.INFO: Acknowledgment sent {"connection_id":171766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:41:37] local.INFO: TCP Data received {"connection_id":171766,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:41:37] local.INFO: Processing buffer {"connection_id":171766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:41:37] local.INFO: Packet analysis {"connection_id":171766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:41:37] local.INFO: Extracted packet for processing {"connection_id":171766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:41:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849107968001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:41:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473379000,"timestamp_ms":1788473379000,"timestamp_seconds":1788473379,"priority":1,"record_length":96,"hex_timestamp":"000001a0695208b8"} 
[2026-09-04 03:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 03:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849107968001,"66":25952,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849107968001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:41:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:41:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849107968001,"power":25952,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":171766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:41:37] local.INFO: GPS data processed {"connection_id":171766,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:41:37] local.INFO: Acknowledgment sent {"connection_id":171766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:42:00] local.INFO: TCP Data received {"connection_id":170361,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:42:00] local.INFO: Processing buffer {"connection_id":170361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:42:00] local.INFO: IMEI packet received {"connection_id":170361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":170361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:42:05] local.INFO: TCP Data received {"connection_id":170361,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:42:05] local.INFO: Processing buffer {"connection_id":170361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:42:05] local.INFO: IMEI packet received {"connection_id":170361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":170361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:42:06] local.INFO: TCP Data received {"connection_id":170361,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:42:06] local.INFO: Processing buffer {"connection_id":170361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:42:06] local.INFO: Packet analysis {"connection_id":170361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:42:06] local.INFO: Extracted packet for processing {"connection_id":170361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:42:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849107968001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:42:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473379000,"timestamp_ms":1788473379000,"timestamp_seconds":1788473379,"priority":1,"record_length":96,"hex_timestamp":"000001a0695208b8"} 
[2026-09-04 03:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 03:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849107968001,"66":25952,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849107968001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:42:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:42:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849107968001,"power":25952,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":170361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:42:06] local.INFO: GPS data processed {"connection_id":170361,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:42:06] local.INFO: Acknowledgment sent {"connection_id":170361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:42:37] local.INFO: TCP Data received {"connection_id":170361,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:42:37] local.INFO: Processing buffer {"connection_id":170361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:42:37] local.INFO: Packet analysis {"connection_id":170361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:42:37] local.INFO: Extracted packet for processing {"connection_id":170361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:42:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849107968001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:42:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473379000,"timestamp_ms":1788473379000,"timestamp_seconds":1788473379,"priority":1,"record_length":96,"hex_timestamp":"000001a0695208b8"} 
[2026-09-04 03:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 03:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849107968001,"66":25952,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849107968001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:42:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:42:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849107968001,"power":25952,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":170361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:42:37] local.INFO: GPS data processed {"connection_id":170361,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:42:37] local.INFO: Acknowledgment sent {"connection_id":170361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:43:00] local.INFO: TCP Data received {"connection_id":171767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:43:00] local.INFO: Processing buffer {"connection_id":171767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:43:00] local.INFO: IMEI packet received {"connection_id":171767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":171767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:43:05] local.INFO: TCP Data received {"connection_id":171767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:43:05] local.INFO: Processing buffer {"connection_id":171767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:43:05] local.INFO: IMEI packet received {"connection_id":171767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":171767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:43:06] local.INFO: TCP Data received {"connection_id":171767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:43:06] local.INFO: Processing buffer {"connection_id":171767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:43:06] local.INFO: Packet analysis {"connection_id":171767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:43:06] local.INFO: Extracted packet for processing {"connection_id":171767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:43:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849107968001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:43:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473379000,"timestamp_ms":1788473379000,"timestamp_seconds":1788473379,"priority":1,"record_length":96,"hex_timestamp":"000001a0695208b8"} 
[2026-09-04 03:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 03:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849107968001,"66":25952,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849107968001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:43:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:43:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849107968001,"power":25952,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":171767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:43:06] local.INFO: GPS data processed {"connection_id":171767,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:43:06] local.INFO: Acknowledgment sent {"connection_id":171767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:43:37] local.INFO: TCP Data received {"connection_id":171767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:43:37] local.INFO: Processing buffer {"connection_id":171767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:43:37] local.INFO: Packet analysis {"connection_id":171767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:43:37] local.INFO: Extracted packet for processing {"connection_id":171767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:43:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849107968001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:43:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473379000,"timestamp_ms":1788473379000,"timestamp_seconds":1788473379,"priority":1,"record_length":96,"hex_timestamp":"000001a0695208b8"} 
[2026-09-04 03:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 03:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849107968001,"66":25952,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849107968001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:43:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:43:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849107968001,"power":25952,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":171767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:43:37] local.INFO: GPS data processed {"connection_id":171767,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:43:37] local.INFO: Acknowledgment sent {"connection_id":171767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:44:00] local.INFO: TCP Data received {"connection_id":170362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:44:00] local.INFO: Processing buffer {"connection_id":170362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:44:00] local.INFO: IMEI packet received {"connection_id":170362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":170362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:44:05] local.INFO: TCP Data received {"connection_id":170362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:44:05] local.INFO: Processing buffer {"connection_id":170362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:44:05] local.INFO: IMEI packet received {"connection_id":170362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":170362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:44:06] local.INFO: TCP Data received {"connection_id":170362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:44:06] local.INFO: Processing buffer {"connection_id":170362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:44:06] local.INFO: Packet analysis {"connection_id":170362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:44:06] local.INFO: Extracted packet for processing {"connection_id":170362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:44:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849107968001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:44:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473379000,"timestamp_ms":1788473379000,"timestamp_seconds":1788473379,"priority":1,"record_length":96,"hex_timestamp":"000001a0695208b8"} 
[2026-09-04 03:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 03:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849107968001,"66":25952,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849107968001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:44:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:44:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849107968001,"power":25952,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":170362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:44:06] local.INFO: GPS data processed {"connection_id":170362,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:44:06] local.INFO: Acknowledgment sent {"connection_id":170362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:44:37] local.INFO: TCP Data received {"connection_id":170362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:44:37] local.INFO: Processing buffer {"connection_id":170362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:44:37] local.INFO: Packet analysis {"connection_id":170362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:44:37] local.INFO: Extracted packet for processing {"connection_id":170362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:44:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849107968001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:44:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473379000,"timestamp_ms":1788473379000,"timestamp_seconds":1788473379,"priority":1,"record_length":96,"hex_timestamp":"000001a0695208b8"} 
[2026-09-04 03:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 03:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849107968001,"66":25952,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849107968001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:44:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:44:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849107968001,"power":25952,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":170362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:44:37] local.INFO: GPS data processed {"connection_id":170362,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:44:37] local.INFO: Acknowledgment sent {"connection_id":170362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:45:00] local.INFO: TCP Data received {"connection_id":170363,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:45:00] local.INFO: Processing buffer {"connection_id":170363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:45:00] local.INFO: IMEI packet received {"connection_id":170363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":170363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:45:07] local.INFO: TCP Data received {"connection_id":170363,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:45:07] local.INFO: Processing buffer {"connection_id":170363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:45:07] local.INFO: IMEI packet received {"connection_id":170363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":170363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:45:08] local.INFO: TCP Data received {"connection_id":170363,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:45:08] local.INFO: Processing buffer {"connection_id":170363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695208b8012cee7040072e2b90003500622c..."} 
[2026-09-04 03:45:08] local.INFO: Packet analysis {"connection_id":170363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:45:08] local.INFO: Extracted packet for processing {"connection_id":170363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06952"} 
[2026-09-04 03:45:08] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849107968001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:45:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788473379000,"timestamp_ms":1788473379000,"timestamp_seconds":1788473379,"priority":1,"record_length":96,"hex_timestamp":"000001a0695208b8"} 
[2026-09-04 03:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 03:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849107968001,"66":25952,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849107968001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:45:08] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:45:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849107968001,"power":25952,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":170363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:45:08] local.INFO: GPS data processed {"connection_id":170363,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:45:08] local.INFO: Acknowledgment sent {"connection_id":170363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:45:40] local.INFO: TCP Data received {"connection_id":170363,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:45:40] local.INFO: Processing buffer {"connection_id":170363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:45:40] local.INFO: Packet analysis {"connection_id":170363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:45:40] local.INFO: Extracted packet for processing {"connection_id":170363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:45:40] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849185024001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:45:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788473680000,"timestamp_ms":1788473680000,"timestamp_seconds":1788473680,"priority":1,"record_length":96,"hex_timestamp":"000001a06956a080"} 
[2026-09-04 03:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 03:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849185024001,"66":25941,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849185024001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:45:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:45:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:45:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849185024001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":170363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:45:41] local.INFO: GPS data processed {"connection_id":170363,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:45:41] local.INFO: Acknowledgment sent {"connection_id":170363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:46:00] local.INFO: TCP Data received {"connection_id":173072,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:46:00] local.INFO: Processing buffer {"connection_id":173072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:46:00] local.INFO: IMEI packet received {"connection_id":173072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":173072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:46:05] local.INFO: TCP Data received {"connection_id":173072,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:46:05] local.INFO: Processing buffer {"connection_id":173072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:46:05] local.INFO: IMEI packet received {"connection_id":173072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":173072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:46:06] local.INFO: TCP Data received {"connection_id":173072,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:46:06] local.INFO: Processing buffer {"connection_id":173072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:46:06] local.INFO: Packet analysis {"connection_id":173072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:46:06] local.INFO: Extracted packet for processing {"connection_id":173072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:46:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849185024001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:46:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473680000,"timestamp_ms":1788473680000,"timestamp_seconds":1788473680,"priority":1,"record_length":96,"hex_timestamp":"000001a06956a080"} 
[2026-09-04 03:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 03:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849185024001,"66":25941,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849185024001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:46:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:46:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849185024001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":173072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:46:06] local.INFO: GPS data processed {"connection_id":173072,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:46:06] local.INFO: Acknowledgment sent {"connection_id":173072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:46:09] local.INFO: TCP Data received {"connection_id":170674,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:46:09] local.INFO: Processing buffer {"connection_id":170674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:46:09] local.INFO: IMEI packet received {"connection_id":170674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":170674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:46:37] local.INFO: TCP Data received {"connection_id":173072,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:46:37] local.INFO: Processing buffer {"connection_id":173072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:46:37] local.INFO: Packet analysis {"connection_id":173072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:46:37] local.INFO: Extracted packet for processing {"connection_id":173072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:46:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849185024001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:46:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473680000,"timestamp_ms":1788473680000,"timestamp_seconds":1788473680,"priority":1,"record_length":96,"hex_timestamp":"000001a06956a080"} 
[2026-09-04 03:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 03:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849185024001,"66":25941,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849185024001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:46:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:46:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849185024001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":173072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:46:37] local.INFO: GPS data processed {"connection_id":173072,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:46:37] local.INFO: Acknowledgment sent {"connection_id":173072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:46:40] local.INFO: TCP Data received {"connection_id":173073,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:46:40] local.INFO: Processing buffer {"connection_id":173073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:46:40] local.INFO: IMEI packet received {"connection_id":173073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":173073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:47:03] local.INFO: TCP Data received {"connection_id":170675,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:47:03] local.INFO: Processing buffer {"connection_id":170675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:47:03] local.INFO: IMEI packet received {"connection_id":170675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":170675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:47:05] local.INFO: TCP Data received {"connection_id":170675,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:47:05] local.INFO: Processing buffer {"connection_id":170675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:47:05] local.INFO: IMEI packet received {"connection_id":170675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":170675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:47:06] local.INFO: TCP Data received {"connection_id":170675,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:47:06] local.INFO: Processing buffer {"connection_id":170675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:47:06] local.INFO: Packet analysis {"connection_id":170675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:47:06] local.INFO: Extracted packet for processing {"connection_id":170675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:47:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849185024001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473680000,"timestamp_ms":1788473680000,"timestamp_seconds":1788473680,"priority":1,"record_length":96,"hex_timestamp":"000001a06956a080"} 
[2026-09-04 03:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 03:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849185024001,"66":25941,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849185024001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:47:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849185024001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":170675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:47:06] local.INFO: GPS data processed {"connection_id":170675,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:47:06] local.INFO: Acknowledgment sent {"connection_id":170675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:47:11] local.INFO: TCP Data received {"connection_id":170675,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:47:11] local.INFO: Processing buffer {"connection_id":170675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:47:11] local.INFO: Packet analysis {"connection_id":170675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:47:11] local.INFO: Extracted packet for processing {"connection_id":170675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:47:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849185024001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788473680000,"timestamp_ms":1788473680000,"timestamp_seconds":1788473680,"priority":1,"record_length":96,"hex_timestamp":"000001a06956a080"} 
[2026-09-04 03:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 03:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849185024001,"66":25941,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849185024001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:47:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849185024001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":170675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:47:11] local.INFO: GPS data processed {"connection_id":170675,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:47:11] local.INFO: Acknowledgment sent {"connection_id":170675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:47:42] local.INFO: TCP Data received {"connection_id":170675,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:47:42] local.INFO: Processing buffer {"connection_id":170675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:47:42] local.INFO: Packet analysis {"connection_id":170675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:47:42] local.INFO: Extracted packet for processing {"connection_id":170675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:47:42] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849185024001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788473680000,"timestamp_ms":1788473680000,"timestamp_seconds":1788473680,"priority":1,"record_length":96,"hex_timestamp":"000001a06956a080"} 
[2026-09-04 03:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 03:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849185024001,"66":25941,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849185024001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:47:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849185024001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":170675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:47:42] local.INFO: GPS data processed {"connection_id":170675,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:47:42] local.INFO: Acknowledgment sent {"connection_id":170675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:48:00] local.INFO: TCP Data received {"connection_id":170676,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:48:00] local.INFO: Processing buffer {"connection_id":170676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:48:00] local.INFO: IMEI packet received {"connection_id":170676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":170676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:48:05] local.INFO: TCP Data received {"connection_id":170676,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:48:05] local.INFO: Processing buffer {"connection_id":170676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:48:05] local.INFO: IMEI packet received {"connection_id":170676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":170676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:48:06] local.INFO: TCP Data received {"connection_id":170676,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:48:06] local.INFO: Processing buffer {"connection_id":170676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:48:06] local.INFO: Packet analysis {"connection_id":170676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:48:06] local.INFO: Extracted packet for processing {"connection_id":170676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:48:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849185024001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:48:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473680000,"timestamp_ms":1788473680000,"timestamp_seconds":1788473680,"priority":1,"record_length":96,"hex_timestamp":"000001a06956a080"} 
[2026-09-04 03:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 03:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849185024001,"66":25941,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849185024001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:48:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:48:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849185024001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":170676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:48:06] local.INFO: GPS data processed {"connection_id":170676,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:48:06] local.INFO: Acknowledgment sent {"connection_id":170676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:48:37] local.INFO: TCP Data received {"connection_id":170676,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:48:37] local.INFO: Processing buffer {"connection_id":170676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:48:37] local.INFO: Packet analysis {"connection_id":170676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:48:37] local.INFO: Extracted packet for processing {"connection_id":170676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:48:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849185024001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:48:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473680000,"timestamp_ms":1788473680000,"timestamp_seconds":1788473680,"priority":1,"record_length":96,"hex_timestamp":"000001a06956a080"} 
[2026-09-04 03:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 03:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849185024001,"66":25941,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849185024001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:48:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:48:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849185024001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":170676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:48:37] local.INFO: GPS data processed {"connection_id":170676,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:48:37] local.INFO: Acknowledgment sent {"connection_id":170676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:49:00] local.INFO: TCP Data received {"connection_id":170364,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:49:00] local.INFO: Processing buffer {"connection_id":170364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:49:00] local.INFO: IMEI packet received {"connection_id":170364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":170364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:49:05] local.INFO: TCP Data received {"connection_id":170364,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:49:05] local.INFO: Processing buffer {"connection_id":170364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:49:05] local.INFO: IMEI packet received {"connection_id":170364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":170364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:49:06] local.INFO: TCP Data received {"connection_id":170364,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:49:06] local.INFO: Processing buffer {"connection_id":170364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:49:06] local.INFO: Packet analysis {"connection_id":170364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:49:06] local.INFO: Extracted packet for processing {"connection_id":170364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:49:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849185024001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:49:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473680000,"timestamp_ms":1788473680000,"timestamp_seconds":1788473680,"priority":1,"record_length":96,"hex_timestamp":"000001a06956a080"} 
[2026-09-04 03:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 03:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849185024001,"66":25941,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849185024001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:49:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:49:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849185024001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":170364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:49:06] local.INFO: GPS data processed {"connection_id":170364,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:49:06] local.INFO: Acknowledgment sent {"connection_id":170364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:49:39] local.INFO: TCP Data received {"connection_id":170364,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:49:39] local.INFO: Processing buffer {"connection_id":170364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:49:39] local.INFO: Packet analysis {"connection_id":170364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:49:39] local.INFO: Extracted packet for processing {"connection_id":170364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:49:39] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849185024001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:49:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788473680000,"timestamp_ms":1788473680000,"timestamp_seconds":1788473680,"priority":1,"record_length":96,"hex_timestamp":"000001a06956a080"} 
[2026-09-04 03:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 03:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849185024001,"66":25941,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849185024001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:49:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:49:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:49:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849185024001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":170364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:49:40] local.INFO: GPS data processed {"connection_id":170364,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:49:40] local.INFO: Acknowledgment sent {"connection_id":170364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:50:00] local.INFO: TCP Data received {"connection_id":170365,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:50:00] local.INFO: Processing buffer {"connection_id":170365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:50:00] local.INFO: IMEI packet received {"connection_id":170365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":170365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:50:05] local.INFO: TCP Data received {"connection_id":170365,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:50:05] local.INFO: Processing buffer {"connection_id":170365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:50:05] local.INFO: IMEI packet received {"connection_id":170365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":170365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:50:06] local.INFO: TCP Data received {"connection_id":170365,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:50:06] local.INFO: Processing buffer {"connection_id":170365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06956a080012cee7040072e2b90003500622d..."} 
[2026-09-04 03:50:06] local.INFO: Packet analysis {"connection_id":170365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:50:06] local.INFO: Extracted packet for processing {"connection_id":170365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06956"} 
[2026-09-04 03:50:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849185024001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473680000,"timestamp_ms":1788473680000,"timestamp_seconds":1788473680,"priority":1,"record_length":96,"hex_timestamp":"000001a06956a080"} 
[2026-09-04 03:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 03:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849185024001,"66":25941,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849185024001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:50:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849185024001,"power":25941,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":170365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:50:06] local.INFO: GPS data processed {"connection_id":170365,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:50:06] local.INFO: Acknowledgment sent {"connection_id":170365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:50:38] local.INFO: TCP Data received {"connection_id":170365,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:50:38] local.INFO: Processing buffer {"connection_id":170365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:50:38] local.INFO: Packet analysis {"connection_id":170365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:50:38] local.INFO: Extracted packet for processing {"connection_id":170365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:50:38] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849262080001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:50:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788473981000,"timestamp_ms":1788473981000,"timestamp_seconds":1788473981,"priority":1,"record_length":96,"hex_timestamp":"000001a0695b3848"} 
[2026-09-04 03:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 03:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849262080001,"66":25897,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849262080001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:50:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:50:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849262080001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":170365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:50:38] local.INFO: GPS data processed {"connection_id":170365,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:50:38] local.INFO: Acknowledgment sent {"connection_id":170365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:51:00] local.INFO: TCP Data received {"connection_id":171770,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:51:00] local.INFO: Processing buffer {"connection_id":171770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:51:00] local.INFO: IMEI packet received {"connection_id":171770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":171770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:51:05] local.INFO: TCP Data received {"connection_id":171770,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:51:05] local.INFO: Processing buffer {"connection_id":171770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:51:05] local.INFO: IMEI packet received {"connection_id":171770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":171770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:51:06] local.INFO: TCP Data received {"connection_id":171770,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:51:06] local.INFO: Processing buffer {"connection_id":171770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:51:06] local.INFO: Packet analysis {"connection_id":171770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:51:06] local.INFO: Extracted packet for processing {"connection_id":171770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:51:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849262080001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:51:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473981000,"timestamp_ms":1788473981000,"timestamp_seconds":1788473981,"priority":1,"record_length":96,"hex_timestamp":"000001a0695b3848"} 
[2026-09-04 03:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 03:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849262080001,"66":25897,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849262080001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:51:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:51:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849262080001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":171770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:51:06] local.INFO: GPS data processed {"connection_id":171770,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:51:06] local.INFO: Acknowledgment sent {"connection_id":171770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:51:37] local.INFO: TCP Data received {"connection_id":171770,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:51:37] local.INFO: Processing buffer {"connection_id":171770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:51:37] local.INFO: Packet analysis {"connection_id":171770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:51:37] local.INFO: Extracted packet for processing {"connection_id":171770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:51:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849262080001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:51:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473981000,"timestamp_ms":1788473981000,"timestamp_seconds":1788473981,"priority":1,"record_length":96,"hex_timestamp":"000001a0695b3848"} 
[2026-09-04 03:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 03:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849262080001,"66":25897,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849262080001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:51:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:51:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849262080001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":171770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:51:37] local.INFO: GPS data processed {"connection_id":171770,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:51:37] local.INFO: Acknowledgment sent {"connection_id":171770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:52:00] local.INFO: TCP Data received {"connection_id":170679,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:52:00] local.INFO: Processing buffer {"connection_id":170679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:52:00] local.INFO: IMEI packet received {"connection_id":170679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":170679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:52:05] local.INFO: TCP Data received {"connection_id":170679,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:52:05] local.INFO: Processing buffer {"connection_id":170679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:52:05] local.INFO: IMEI packet received {"connection_id":170679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":170679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:52:06] local.INFO: TCP Data received {"connection_id":170679,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:52:06] local.INFO: Processing buffer {"connection_id":170679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:52:06] local.INFO: Packet analysis {"connection_id":170679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:52:06] local.INFO: Extracted packet for processing {"connection_id":170679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:52:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849262080001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:52:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473981000,"timestamp_ms":1788473981000,"timestamp_seconds":1788473981,"priority":1,"record_length":96,"hex_timestamp":"000001a0695b3848"} 
[2026-09-04 03:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 03:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849262080001,"66":25897,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849262080001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:52:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:52:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849262080001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":170679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:52:06] local.INFO: GPS data processed {"connection_id":170679,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:52:06] local.INFO: Acknowledgment sent {"connection_id":170679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:52:14] local.INFO: TCP Data received {"connection_id":170678,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:52:14] local.INFO: Processing buffer {"connection_id":170678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:52:14] local.INFO: IMEI packet received {"connection_id":170678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":170678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:52:37] local.INFO: TCP Data received {"connection_id":170679,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:52:37] local.INFO: Processing buffer {"connection_id":170679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:52:37] local.INFO: Packet analysis {"connection_id":170679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:52:37] local.INFO: Extracted packet for processing {"connection_id":170679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:52:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849262080001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473981000,"timestamp_ms":1788473981000,"timestamp_seconds":1788473981,"priority":1,"record_length":96,"hex_timestamp":"000001a0695b3848"} 
[2026-09-04 03:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 03:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849262080001,"66":25897,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849262080001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:52:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849262080001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":170679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:52:37] local.INFO: GPS data processed {"connection_id":170679,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:52:37] local.INFO: Acknowledgment sent {"connection_id":170679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:52:38] local.INFO: TCP Data received {"connection_id":170366,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:52:38] local.INFO: Processing buffer {"connection_id":170366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:52:38] local.INFO: IMEI packet received {"connection_id":170366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":170366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:53:01] local.INFO: TCP Data received {"connection_id":170367,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:53:01] local.INFO: Processing buffer {"connection_id":170367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:53:01] local.INFO: IMEI packet received {"connection_id":170367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":170367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:53:05] local.INFO: TCP Data received {"connection_id":170367,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:53:05] local.INFO: Processing buffer {"connection_id":170367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:53:05] local.INFO: IMEI packet received {"connection_id":170367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":170367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:53:06] local.INFO: TCP Data received {"connection_id":170367,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:53:06] local.INFO: Processing buffer {"connection_id":170367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:53:06] local.INFO: Packet analysis {"connection_id":170367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:53:06] local.INFO: Extracted packet for processing {"connection_id":170367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:53:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849262080001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:53:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473981000,"timestamp_ms":1788473981000,"timestamp_seconds":1788473981,"priority":1,"record_length":96,"hex_timestamp":"000001a0695b3848"} 
[2026-09-04 03:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 03:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849262080001,"66":25897,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849262080001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:53:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:53:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849262080001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":170367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:53:06] local.INFO: GPS data processed {"connection_id":170367,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:53:06] local.INFO: Acknowledgment sent {"connection_id":170367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:53:37] local.INFO: TCP Data received {"connection_id":170367,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:53:37] local.INFO: Processing buffer {"connection_id":170367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:53:37] local.INFO: Packet analysis {"connection_id":170367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:53:37] local.INFO: Extracted packet for processing {"connection_id":170367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:53:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849262080001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:53:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473981000,"timestamp_ms":1788473981000,"timestamp_seconds":1788473981,"priority":1,"record_length":96,"hex_timestamp":"000001a0695b3848"} 
[2026-09-04 03:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 03:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849262080001,"66":25897,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849262080001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:53:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:53:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849262080001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":170367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:53:37] local.INFO: GPS data processed {"connection_id":170367,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:53:37] local.INFO: Acknowledgment sent {"connection_id":170367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:54:00] local.INFO: TCP Data received {"connection_id":171771,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:54:00] local.INFO: Processing buffer {"connection_id":171771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:54:00] local.INFO: IMEI packet received {"connection_id":171771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":171771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:54:05] local.INFO: TCP Data received {"connection_id":171771,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:54:05] local.INFO: Processing buffer {"connection_id":171771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:54:05] local.INFO: IMEI packet received {"connection_id":171771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":171771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:54:06] local.INFO: TCP Data received {"connection_id":171771,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:54:06] local.INFO: Processing buffer {"connection_id":171771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:54:06] local.INFO: Packet analysis {"connection_id":171771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:54:06] local.INFO: Extracted packet for processing {"connection_id":171771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:54:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849262080001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:54:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473981000,"timestamp_ms":1788473981000,"timestamp_seconds":1788473981,"priority":1,"record_length":96,"hex_timestamp":"000001a0695b3848"} 
[2026-09-04 03:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 03:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849262080001,"66":25897,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849262080001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:54:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:54:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849262080001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":171771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:54:06] local.INFO: GPS data processed {"connection_id":171771,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:54:06] local.INFO: Acknowledgment sent {"connection_id":171771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:54:37] local.INFO: TCP Data received {"connection_id":171771,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:54:37] local.INFO: Processing buffer {"connection_id":171771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:54:37] local.INFO: Packet analysis {"connection_id":171771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:54:37] local.INFO: Extracted packet for processing {"connection_id":171771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:54:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849262080001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:54:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788473981000,"timestamp_ms":1788473981000,"timestamp_seconds":1788473981,"priority":1,"record_length":96,"hex_timestamp":"000001a0695b3848"} 
[2026-09-04 03:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 03:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849262080001,"66":25897,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849262080001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:54:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:54:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849262080001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":171771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:54:37] local.INFO: GPS data processed {"connection_id":171771,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:54:37] local.INFO: Acknowledgment sent {"connection_id":171771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:55:00] local.INFO: TCP Data received {"connection_id":170368,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:55:00] local.INFO: Processing buffer {"connection_id":170368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:55:00] local.INFO: IMEI packet received {"connection_id":170368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":170368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:55:05] local.INFO: TCP Data received {"connection_id":170368,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:55:05] local.INFO: Processing buffer {"connection_id":170368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:55:05] local.INFO: IMEI packet received {"connection_id":170368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":170368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:55:06] local.INFO: TCP Data received {"connection_id":170368,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:55:06] local.INFO: Processing buffer {"connection_id":170368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695b3848012cee7040072e2b900035006229..."} 
[2026-09-04 03:55:06] local.INFO: Packet analysis {"connection_id":170368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:55:06] local.INFO: Extracted packet for processing {"connection_id":170368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695b"} 
[2026-09-04 03:55:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849262080001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:55:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788473981000,"timestamp_ms":1788473981000,"timestamp_seconds":1788473981,"priority":1,"record_length":96,"hex_timestamp":"000001a0695b3848"} 
[2026-09-04 03:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 03:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849262080001,"66":25897,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849262080001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:55:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:55:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849262080001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":170368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:55:06] local.INFO: GPS data processed {"connection_id":170368,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:55:06] local.INFO: Acknowledgment sent {"connection_id":170368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:55:37] local.INFO: TCP Data received {"connection_id":170368,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:55:37] local.INFO: Processing buffer {"connection_id":170368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:55:37] local.INFO: Packet analysis {"connection_id":170368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:55:37] local.INFO: Extracted packet for processing {"connection_id":170368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:55:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849339136001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:55:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788474282000,"timestamp_ms":1788474282000,"timestamp_seconds":1788474282,"priority":1,"record_length":96,"hex_timestamp":"000001a0695fd010"} 
[2026-09-04 03:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 03:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849339136001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849339136001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:55:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:55:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849339136001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":170368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:55:37] local.INFO: GPS data processed {"connection_id":170368,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:55:37] local.INFO: Acknowledgment sent {"connection_id":170368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:56:00] local.INFO: TCP Data received {"connection_id":173077,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:56:00] local.INFO: Processing buffer {"connection_id":173077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:56:00] local.INFO: IMEI packet received {"connection_id":173077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":173077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:56:05] local.INFO: TCP Data received {"connection_id":173077,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:56:05] local.INFO: Processing buffer {"connection_id":173077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:56:05] local.INFO: IMEI packet received {"connection_id":173077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":173077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:56:06] local.INFO: TCP Data received {"connection_id":173077,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:56:06] local.INFO: Processing buffer {"connection_id":173077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:56:06] local.INFO: Packet analysis {"connection_id":173077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:56:06] local.INFO: Extracted packet for processing {"connection_id":173077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:56:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849339136001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788474282000,"timestamp_ms":1788474282000,"timestamp_seconds":1788474282,"priority":1,"record_length":96,"hex_timestamp":"000001a0695fd010"} 
[2026-09-04 03:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 03:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849339136001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849339136001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:56:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849339136001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":173077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:56:06] local.INFO: GPS data processed {"connection_id":173077,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:56:06] local.INFO: Acknowledgment sent {"connection_id":173077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:56:37] local.INFO: TCP Data received {"connection_id":173077,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:56:37] local.INFO: Processing buffer {"connection_id":173077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:56:37] local.INFO: Packet analysis {"connection_id":173077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:56:37] local.INFO: Extracted packet for processing {"connection_id":173077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:56:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849339136001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:56:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788474282000,"timestamp_ms":1788474282000,"timestamp_seconds":1788474282,"priority":1,"record_length":96,"hex_timestamp":"000001a0695fd010"} 
[2026-09-04 03:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 03:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849339136001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849339136001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:56:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:56:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849339136001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":173077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:56:37] local.INFO: GPS data processed {"connection_id":173077,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:56:37] local.INFO: Acknowledgment sent {"connection_id":173077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:57:00] local.INFO: TCP Data received {"connection_id":170370,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:57:00] local.INFO: Processing buffer {"connection_id":170370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:57:00] local.INFO: IMEI packet received {"connection_id":170370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":170370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:57:05] local.INFO: TCP Data received {"connection_id":170370,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:57:05] local.INFO: Processing buffer {"connection_id":170370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:57:05] local.INFO: IMEI packet received {"connection_id":170370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":170370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:57:06] local.INFO: TCP Data received {"connection_id":170370,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:57:06] local.INFO: Processing buffer {"connection_id":170370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:57:06] local.INFO: Packet analysis {"connection_id":170370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:57:06] local.INFO: Extracted packet for processing {"connection_id":170370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:57:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849339136001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:57:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788474282000,"timestamp_ms":1788474282000,"timestamp_seconds":1788474282,"priority":1,"record_length":96,"hex_timestamp":"000001a0695fd010"} 
[2026-09-04 03:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 03:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849339136001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849339136001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:57:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:57:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849339136001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":170370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:57:06] local.INFO: GPS data processed {"connection_id":170370,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:57:06] local.INFO: Acknowledgment sent {"connection_id":170370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:57:37] local.INFO: TCP Data received {"connection_id":170370,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:57:37] local.INFO: Processing buffer {"connection_id":170370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:57:37] local.INFO: Packet analysis {"connection_id":170370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:57:37] local.INFO: Extracted packet for processing {"connection_id":170370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:57:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849339136001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:57:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788474282000,"timestamp_ms":1788474282000,"timestamp_seconds":1788474282,"priority":1,"record_length":96,"hex_timestamp":"000001a0695fd010"} 
[2026-09-04 03:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 03:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849339136001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849339136001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:57:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:57:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849339136001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":170370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:57:37] local.INFO: GPS data processed {"connection_id":170370,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:57:37] local.INFO: Acknowledgment sent {"connection_id":170370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:58:01] local.INFO: TCP Data received {"connection_id":170682,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:58:01] local.INFO: Processing buffer {"connection_id":170682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:58:01] local.INFO: IMEI packet received {"connection_id":170682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":170682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:58:04] local.INFO: TCP Data received {"connection_id":171772,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:58:04] local.INFO: Processing buffer {"connection_id":171772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:58:04] local.INFO: IMEI packet received {"connection_id":171772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":171772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:58:05] local.INFO: TCP Data received {"connection_id":170682,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:58:05] local.INFO: Processing buffer {"connection_id":170682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:58:05] local.INFO: IMEI packet received {"connection_id":170682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":170682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:58:06] local.INFO: TCP Data received {"connection_id":170682,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:58:06] local.INFO: Processing buffer {"connection_id":170682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:58:06] local.INFO: Packet analysis {"connection_id":170682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:58:06] local.INFO: Extracted packet for processing {"connection_id":170682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:58:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849339136001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:58:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788474282000,"timestamp_ms":1788474282000,"timestamp_seconds":1788474282,"priority":1,"record_length":96,"hex_timestamp":"000001a0695fd010"} 
[2026-09-04 03:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 03:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849339136001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849339136001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:58:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:58:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849339136001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":170682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:58:06] local.INFO: GPS data processed {"connection_id":170682,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:58:06] local.INFO: Acknowledgment sent {"connection_id":170682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:58:37] local.INFO: TCP Data received {"connection_id":170682,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:58:37] local.INFO: Processing buffer {"connection_id":170682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:58:37] local.INFO: Packet analysis {"connection_id":170682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:58:37] local.INFO: Extracted packet for processing {"connection_id":170682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:58:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849339136001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:58:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788474282000,"timestamp_ms":1788474282000,"timestamp_seconds":1788474282,"priority":1,"record_length":96,"hex_timestamp":"000001a0695fd010"} 
[2026-09-04 03:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 03:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849339136001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849339136001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:58:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:58:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849339136001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":170682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:58:37] local.INFO: GPS data processed {"connection_id":170682,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:58:37] local.INFO: Acknowledgment sent {"connection_id":170682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:58:49] local.INFO: TCP Data received {"connection_id":171773,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:58:49] local.INFO: Processing buffer {"connection_id":171773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 03:58:49] local.INFO: IMEI packet received {"connection_id":171773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 03:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":171773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:59:00] local.INFO: TCP Data received {"connection_id":171774,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:59:00] local.INFO: Processing buffer {"connection_id":171774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:59:00] local.INFO: IMEI packet received {"connection_id":171774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 03:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":171774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 03:59:05] local.INFO: TCP Data received {"connection_id":171774,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:59:05] local.INFO: Processing buffer {"connection_id":171774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 03:59:05] local.INFO: IMEI packet received {"connection_id":171774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 03:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":171774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 03:59:06] local.INFO: TCP Data received {"connection_id":171774,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:59:06] local.INFO: Processing buffer {"connection_id":171774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:59:06] local.INFO: Packet analysis {"connection_id":171774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:59:06] local.INFO: Extracted packet for processing {"connection_id":171774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:59:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849339136001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:59:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788474282000,"timestamp_ms":1788474282000,"timestamp_seconds":1788474282,"priority":1,"record_length":96,"hex_timestamp":"000001a0695fd010"} 
[2026-09-04 03:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 03:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849339136001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849339136001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:59:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:59:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849339136001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":171774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:59:06] local.INFO: GPS data processed {"connection_id":171774,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:59:06] local.INFO: Acknowledgment sent {"connection_id":171774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 03:59:37] local.INFO: TCP Data received {"connection_id":171774,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:59:37] local.INFO: Processing buffer {"connection_id":171774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 03:59:37] local.INFO: Packet analysis {"connection_id":171774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:59:37] local.INFO: Extracted packet for processing {"connection_id":171774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 03:59:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 03:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 03:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849339136001,"note":"Value kept but may cause issues"} 
[2026-09-04 03:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 03:59:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 03:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 03:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788474282000,"timestamp_ms":1788474282000,"timestamp_seconds":1788474282,"priority":1,"record_length":96,"hex_timestamp":"000001a0695fd010"} 
[2026-09-04 03:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 03:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 03:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 03:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 03:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 03:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 03:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 03:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 03:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 03:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 03:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 03:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 03:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849339136001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 03:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 03:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 03:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849339136001,"description":"Unknown IO ID 0"} 
[2026-09-04 03:59:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 03:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 03:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 03:59:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 03:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849339136001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 03:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":171774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 03:59:37] local.INFO: GPS data processed {"connection_id":171774,"processed":1,"errors":0,"total":1} 
[2026-09-04 03:59:37] local.INFO: Acknowledgment sent {"connection_id":171774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:00:00] local.INFO: TCP Data received {"connection_id":170683,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:00:00] local.INFO: Processing buffer {"connection_id":170683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:00:00] local.INFO: IMEI packet received {"connection_id":170683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":170683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:00:05] local.INFO: TCP Data received {"connection_id":170683,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:00:05] local.INFO: Processing buffer {"connection_id":170683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:00:05] local.INFO: IMEI packet received {"connection_id":170683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":170683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:00:06] local.INFO: TCP Data received {"connection_id":170683,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 04:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 04:00:06] local.INFO: Processing buffer {"connection_id":170683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0695fd010012cee7040072e2b90003500622b..."} 
[2026-09-04 04:00:06] local.INFO: Packet analysis {"connection_id":170683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 04:00:06] local.INFO: Extracted packet for processing {"connection_id":170683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0695f"} 
[2026-09-04 04:00:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849339136001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788474282000,"timestamp_ms":1788474282000,"timestamp_seconds":1788474282,"priority":1,"record_length":96,"hex_timestamp":"000001a0695fd010"} 
[2026-09-04 04:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 04:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849339136001,"66":25908,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849339136001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:00:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849339136001,"power":25908,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":170683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:00:06] local.INFO: GPS data processed {"connection_id":170683,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:00:06] local.INFO: Acknowledgment sent {"connection_id":170683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:00:37] local.INFO: TCP Data received {"connection_id":170683,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:00:37] local.INFO: Processing buffer {"connection_id":170683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:00:37] local.INFO: Packet analysis {"connection_id":170683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:00:37] local.INFO: Extracted packet for processing {"connection_id":170683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:00:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849416192001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:00:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788474583000,"timestamp_ms":1788474583000,"timestamp_seconds":1788474583,"priority":1,"record_length":96,"hex_timestamp":"000001a0696467d8"} 
[2026-09-04 04:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 04:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849416192001,"66":25875,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849416192001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:00:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:00:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849416192001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":170683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:00:37] local.INFO: GPS data processed {"connection_id":170683,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:00:37] local.INFO: Acknowledgment sent {"connection_id":170683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:01:00] local.INFO: TCP Data received {"connection_id":170684,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:01:00] local.INFO: Processing buffer {"connection_id":170684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:01:00] local.INFO: IMEI packet received {"connection_id":170684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":170684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:01:05] local.INFO: TCP Data received {"connection_id":170684,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:01:05] local.INFO: Processing buffer {"connection_id":170684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:01:05] local.INFO: IMEI packet received {"connection_id":170684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":170684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:01:06] local.INFO: TCP Data received {"connection_id":170684,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:01:06] local.INFO: Processing buffer {"connection_id":170684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:01:06] local.INFO: Packet analysis {"connection_id":170684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:01:06] local.INFO: Extracted packet for processing {"connection_id":170684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:01:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849416192001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788474583000,"timestamp_ms":1788474583000,"timestamp_seconds":1788474583,"priority":1,"record_length":96,"hex_timestamp":"000001a0696467d8"} 
[2026-09-04 04:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 04:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849416192001,"66":25875,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849416192001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:01:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849416192001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":170684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:01:06] local.INFO: GPS data processed {"connection_id":170684,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:01:06] local.INFO: Acknowledgment sent {"connection_id":170684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:01:37] local.INFO: TCP Data received {"connection_id":170684,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:01:37] local.INFO: Processing buffer {"connection_id":170684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:01:37] local.INFO: Packet analysis {"connection_id":170684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:01:37] local.INFO: Extracted packet for processing {"connection_id":170684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:01:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849416192001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788474583000,"timestamp_ms":1788474583000,"timestamp_seconds":1788474583,"priority":1,"record_length":96,"hex_timestamp":"000001a0696467d8"} 
[2026-09-04 04:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 04:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849416192001,"66":25875,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849416192001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:01:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849416192001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":170684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:01:37] local.INFO: GPS data processed {"connection_id":170684,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:01:37] local.INFO: Acknowledgment sent {"connection_id":170684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:02:00] local.INFO: TCP Data received {"connection_id":173079,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:02:00] local.INFO: Processing buffer {"connection_id":173079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:02:00] local.INFO: IMEI packet received {"connection_id":173079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":173079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:02:05] local.INFO: TCP Data received {"connection_id":173079,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:02:05] local.INFO: Processing buffer {"connection_id":173079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:02:05] local.INFO: IMEI packet received {"connection_id":173079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":173079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:02:06] local.INFO: TCP Data received {"connection_id":173079,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:02:06] local.INFO: Processing buffer {"connection_id":173079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:02:06] local.INFO: Packet analysis {"connection_id":173079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:02:06] local.INFO: Extracted packet for processing {"connection_id":173079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:02:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849416192001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788474583000,"timestamp_ms":1788474583000,"timestamp_seconds":1788474583,"priority":1,"record_length":96,"hex_timestamp":"000001a0696467d8"} 
[2026-09-04 04:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 04:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849416192001,"66":25875,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849416192001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:02:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849416192001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":173079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:02:06] local.INFO: GPS data processed {"connection_id":173079,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:02:06] local.INFO: Acknowledgment sent {"connection_id":173079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:02:37] local.INFO: TCP Data received {"connection_id":173079,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:02:37] local.INFO: Processing buffer {"connection_id":173079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:02:37] local.INFO: Packet analysis {"connection_id":173079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:02:37] local.INFO: Extracted packet for processing {"connection_id":173079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:02:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849416192001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:02:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788474583000,"timestamp_ms":1788474583000,"timestamp_seconds":1788474583,"priority":1,"record_length":96,"hex_timestamp":"000001a0696467d8"} 
[2026-09-04 04:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 04:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849416192001,"66":25875,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849416192001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:02:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:02:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849416192001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":173079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:02:37] local.INFO: GPS data processed {"connection_id":173079,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:02:37] local.INFO: Acknowledgment sent {"connection_id":173079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:03:00] local.INFO: TCP Data received {"connection_id":171776,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:03:00] local.INFO: Processing buffer {"connection_id":171776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:03:00] local.INFO: IMEI packet received {"connection_id":171776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":171776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:03:05] local.INFO: TCP Data received {"connection_id":171776,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:03:05] local.INFO: Processing buffer {"connection_id":171776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:03:05] local.INFO: IMEI packet received {"connection_id":171776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":171776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:03:06] local.INFO: TCP Data received {"connection_id":171776,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:03:06] local.INFO: Processing buffer {"connection_id":171776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:03:06] local.INFO: Packet analysis {"connection_id":171776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:03:06] local.INFO: Extracted packet for processing {"connection_id":171776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:03:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849416192001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:03:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788474583000,"timestamp_ms":1788474583000,"timestamp_seconds":1788474583,"priority":1,"record_length":96,"hex_timestamp":"000001a0696467d8"} 
[2026-09-04 04:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 04:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849416192001,"66":25875,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849416192001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:03:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:03:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849416192001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":171776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:03:06] local.INFO: GPS data processed {"connection_id":171776,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:03:06] local.INFO: Acknowledgment sent {"connection_id":171776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:03:37] local.INFO: TCP Data received {"connection_id":171776,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:03:37] local.INFO: Processing buffer {"connection_id":171776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:03:37] local.INFO: Packet analysis {"connection_id":171776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:03:37] local.INFO: Extracted packet for processing {"connection_id":171776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:03:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849416192001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:03:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788474583000,"timestamp_ms":1788474583000,"timestamp_seconds":1788474583,"priority":1,"record_length":96,"hex_timestamp":"000001a0696467d8"} 
[2026-09-04 04:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 04:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849416192001,"66":25875,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849416192001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:03:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:03:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849416192001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":171776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:03:37] local.INFO: GPS data processed {"connection_id":171776,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:03:37] local.INFO: Acknowledgment sent {"connection_id":171776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:04:00] local.INFO: TCP Data received {"connection_id":170373,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:04:00] local.INFO: Processing buffer {"connection_id":170373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:04:00] local.INFO: IMEI packet received {"connection_id":170373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":170373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:04:05] local.INFO: TCP Data received {"connection_id":170373,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:04:05] local.INFO: Processing buffer {"connection_id":170373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:04:05] local.INFO: IMEI packet received {"connection_id":170373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":170373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:04:06] local.INFO: TCP Data received {"connection_id":170373,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:04:06] local.INFO: Processing buffer {"connection_id":170373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:04:06] local.INFO: Packet analysis {"connection_id":170373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:04:06] local.INFO: Extracted packet for processing {"connection_id":170373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:04:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849416192001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788474583000,"timestamp_ms":1788474583000,"timestamp_seconds":1788474583,"priority":1,"record_length":96,"hex_timestamp":"000001a0696467d8"} 
[2026-09-04 04:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 04:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849416192001,"66":25875,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849416192001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:04:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849416192001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":170373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:04:06] local.INFO: GPS data processed {"connection_id":170373,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:04:06] local.INFO: Acknowledgment sent {"connection_id":170373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:04:37] local.INFO: TCP Data received {"connection_id":170373,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:04:37] local.INFO: Processing buffer {"connection_id":170373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:04:37] local.INFO: Packet analysis {"connection_id":170373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:04:37] local.INFO: Extracted packet for processing {"connection_id":170373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:04:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849416192001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:04:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788474583000,"timestamp_ms":1788474583000,"timestamp_seconds":1788474583,"priority":1,"record_length":96,"hex_timestamp":"000001a0696467d8"} 
[2026-09-04 04:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 04:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849416192001,"66":25875,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849416192001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:04:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:04:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849416192001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":170373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:04:37] local.INFO: GPS data processed {"connection_id":170373,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:04:37] local.INFO: Acknowledgment sent {"connection_id":170373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:04:38] local.INFO: TCP Data received {"connection_id":171777,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:04:38] local.INFO: Processing buffer {"connection_id":171777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:04:38] local.INFO: IMEI packet received {"connection_id":171777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":171777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:05:00] local.INFO: TCP Data received {"connection_id":171778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:05:00] local.INFO: Processing buffer {"connection_id":171778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:05:00] local.INFO: IMEI packet received {"connection_id":171778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":171778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:05:05] local.INFO: TCP Data received {"connection_id":171778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:05:05] local.INFO: Processing buffer {"connection_id":171778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:05:05] local.INFO: IMEI packet received {"connection_id":171778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":171778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:05:06] local.INFO: TCP Data received {"connection_id":171778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:05:06] local.INFO: Processing buffer {"connection_id":171778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696467d8012cee7040072e2b90003500622a..."} 
[2026-09-04 04:05:06] local.INFO: Packet analysis {"connection_id":171778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:05:06] local.INFO: Extracted packet for processing {"connection_id":171778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06964"} 
[2026-09-04 04:05:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849416192001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:05:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788474583000,"timestamp_ms":1788474583000,"timestamp_seconds":1788474583,"priority":1,"record_length":96,"hex_timestamp":"000001a0696467d8"} 
[2026-09-04 04:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 04:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849416192001,"66":25875,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849416192001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:05:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:05:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849416192001,"power":25875,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":171778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:05:06] local.INFO: GPS data processed {"connection_id":171778,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:05:06] local.INFO: Acknowledgment sent {"connection_id":171778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:05:37] local.INFO: TCP Data received {"connection_id":171778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:05:37] local.INFO: Processing buffer {"connection_id":171778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:05:37] local.INFO: Packet analysis {"connection_id":171778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:05:37] local.INFO: Extracted packet for processing {"connection_id":171778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:05:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849493248001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:05:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788474884000,"timestamp_ms":1788474884000,"timestamp_seconds":1788474884,"priority":1,"record_length":96,"hex_timestamp":"000001a06968ffa0"} 
[2026-09-04 04:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 04:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849493248001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849493248001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:05:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:05:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849493248001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":171778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:05:37] local.INFO: GPS data processed {"connection_id":171778,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:05:37] local.INFO: Acknowledgment sent {"connection_id":171778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:06:00] local.INFO: TCP Data received {"connection_id":173081,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:06:00] local.INFO: Processing buffer {"connection_id":173081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:06:00] local.INFO: IMEI packet received {"connection_id":173081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":173081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:06:05] local.INFO: TCP Data received {"connection_id":173081,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:06:05] local.INFO: Processing buffer {"connection_id":173081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:06:05] local.INFO: IMEI packet received {"connection_id":173081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":173081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:06:06] local.INFO: TCP Data received {"connection_id":173081,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:06:06] local.INFO: Processing buffer {"connection_id":173081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:06:06] local.INFO: Packet analysis {"connection_id":173081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:06:06] local.INFO: Extracted packet for processing {"connection_id":173081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:06:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849493248001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788474884000,"timestamp_ms":1788474884000,"timestamp_seconds":1788474884,"priority":1,"record_length":96,"hex_timestamp":"000001a06968ffa0"} 
[2026-09-04 04:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 04:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849493248001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849493248001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:06:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849493248001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":173081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:06:06] local.INFO: GPS data processed {"connection_id":173081,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:06:06] local.INFO: Acknowledgment sent {"connection_id":173081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:06:36] local.INFO: TCP Data received {"connection_id":173081,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:06:36] local.INFO: Processing buffer {"connection_id":173081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:06:36] local.INFO: Packet analysis {"connection_id":173081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:06:36] local.INFO: Extracted packet for processing {"connection_id":173081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:06:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849493248001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:06:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788474884000,"timestamp_ms":1788474884000,"timestamp_seconds":1788474884,"priority":1,"record_length":96,"hex_timestamp":"000001a06968ffa0"} 
[2026-09-04 04:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 04:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849493248001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849493248001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:06:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:06:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849493248001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":173081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:06:36] local.INFO: GPS data processed {"connection_id":173081,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:06:36] local.INFO: Acknowledgment sent {"connection_id":173081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:07:00] local.INFO: TCP Data received {"connection_id":173082,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:07:00] local.INFO: Processing buffer {"connection_id":173082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:07:00] local.INFO: IMEI packet received {"connection_id":173082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":173082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:07:05] local.INFO: TCP Data received {"connection_id":173082,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:07:05] local.INFO: Processing buffer {"connection_id":173082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:07:05] local.INFO: IMEI packet received {"connection_id":173082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":173082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:07:06] local.INFO: TCP Data received {"connection_id":173082,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:07:06] local.INFO: Processing buffer {"connection_id":173082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:07:06] local.INFO: Packet analysis {"connection_id":173082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:07:06] local.INFO: Extracted packet for processing {"connection_id":173082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:07:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849493248001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:07:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788474884000,"timestamp_ms":1788474884000,"timestamp_seconds":1788474884,"priority":1,"record_length":96,"hex_timestamp":"000001a06968ffa0"} 
[2026-09-04 04:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 04:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849493248001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849493248001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:07:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:07:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849493248001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":173082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:07:06] local.INFO: GPS data processed {"connection_id":173082,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:07:06] local.INFO: Acknowledgment sent {"connection_id":173082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:07:37] local.INFO: TCP Data received {"connection_id":173082,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:07:37] local.INFO: Processing buffer {"connection_id":173082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:07:37] local.INFO: Packet analysis {"connection_id":173082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:07:37] local.INFO: Extracted packet for processing {"connection_id":173082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:07:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849493248001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:07:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788474884000,"timestamp_ms":1788474884000,"timestamp_seconds":1788474884,"priority":1,"record_length":96,"hex_timestamp":"000001a06968ffa0"} 
[2026-09-04 04:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 04:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849493248001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849493248001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:07:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:07:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849493248001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":173082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:07:37] local.INFO: GPS data processed {"connection_id":173082,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:07:37] local.INFO: Acknowledgment sent {"connection_id":173082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:08:00] local.INFO: TCP Data received {"connection_id":171779,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:08:00] local.INFO: Processing buffer {"connection_id":171779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:08:00] local.INFO: IMEI packet received {"connection_id":171779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":171779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:08:05] local.INFO: TCP Data received {"connection_id":171779,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:08:05] local.INFO: Processing buffer {"connection_id":171779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:08:05] local.INFO: IMEI packet received {"connection_id":171779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":171779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:08:06] local.INFO: TCP Data received {"connection_id":171779,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:08:06] local.INFO: Processing buffer {"connection_id":171779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:08:06] local.INFO: Packet analysis {"connection_id":171779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:08:06] local.INFO: Extracted packet for processing {"connection_id":171779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:08:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849493248001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:08:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788474884000,"timestamp_ms":1788474884000,"timestamp_seconds":1788474884,"priority":1,"record_length":96,"hex_timestamp":"000001a06968ffa0"} 
[2026-09-04 04:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 04:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849493248001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849493248001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:08:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:08:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849493248001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":171779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:08:06] local.INFO: GPS data processed {"connection_id":171779,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:08:06] local.INFO: Acknowledgment sent {"connection_id":171779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:08:40] local.INFO: TCP Data received {"connection_id":171779,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:08:40] local.INFO: Processing buffer {"connection_id":171779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:08:40] local.INFO: Packet analysis {"connection_id":171779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:08:40] local.INFO: Extracted packet for processing {"connection_id":171779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:08:40] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849493248001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:08:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788474884000,"timestamp_ms":1788474884000,"timestamp_seconds":1788474884,"priority":1,"record_length":96,"hex_timestamp":"000001a06968ffa0"} 
[2026-09-04 04:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 04:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849493248001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849493248001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:08:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:08:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:08:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849493248001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":171779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:08:40] local.INFO: GPS data processed {"connection_id":171779,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:08:40] local.INFO: Acknowledgment sent {"connection_id":171779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:09:00] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:09:00] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:09:00] local.INFO: IMEI packet received {"connection_id":173083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":173083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:09:05] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:09:05] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:09:05] local.INFO: IMEI packet received {"connection_id":173083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":173083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:09:06] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:09:06] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:09:06] local.INFO: Packet analysis {"connection_id":173083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:09:06] local.INFO: Extracted packet for processing {"connection_id":173083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:09:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849493248001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788474884000,"timestamp_ms":1788474884000,"timestamp_seconds":1788474884,"priority":1,"record_length":96,"hex_timestamp":"000001a06968ffa0"} 
[2026-09-04 04:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 04:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849493248001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849493248001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:09:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849493248001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":173083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:09:06] local.INFO: GPS data processed {"connection_id":173083,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:09:06] local.INFO: Acknowledgment sent {"connection_id":173083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:09:37] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:09:37] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:09:37] local.INFO: Packet analysis {"connection_id":173083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:09:37] local.INFO: Extracted packet for processing {"connection_id":173083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:09:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849493248001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:09:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788474884000,"timestamp_ms":1788474884000,"timestamp_seconds":1788474884,"priority":1,"record_length":96,"hex_timestamp":"000001a06968ffa0"} 
[2026-09-04 04:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 04:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849493248001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849493248001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:09:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:09:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849493248001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":173083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:09:37] local.INFO: GPS data processed {"connection_id":173083,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:09:37] local.INFO: Acknowledgment sent {"connection_id":173083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:10:05] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:10:05] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:10:05] local.INFO: IMEI packet received {"connection_id":173084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":173084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:10:08] local.INFO: TCP Data received {"connection_id":171780,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:10:08] local.INFO: Processing buffer {"connection_id":171780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:10:08] local.INFO: IMEI packet received {"connection_id":171780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":171780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:10:10] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:10:10] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:10:10] local.INFO: IMEI packet received {"connection_id":173084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":173084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:10:11] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:10:11] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:10:11] local.INFO: Packet analysis {"connection_id":173084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:10:11] local.INFO: Extracted packet for processing {"connection_id":173084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:10:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849493248001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788474884000,"timestamp_ms":1788474884000,"timestamp_seconds":1788474884,"priority":1,"record_length":96,"hex_timestamp":"000001a06968ffa0"} 
[2026-09-04 04:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 04:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849493248001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849493248001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:10:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849493248001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":173084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:10:11] local.INFO: GPS data processed {"connection_id":173084,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:10:11] local.INFO: Acknowledgment sent {"connection_id":173084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:10:16] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:10:16] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06968ffa0012cee7040072e2b900035006229..."} 
[2026-09-04 04:10:16] local.INFO: Packet analysis {"connection_id":173084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:10:16] local.INFO: Extracted packet for processing {"connection_id":173084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06968"} 
[2026-09-04 04:10:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849493248001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:10:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788474884000,"timestamp_ms":1788474884000,"timestamp_seconds":1788474884,"priority":1,"record_length":96,"hex_timestamp":"000001a06968ffa0"} 
[2026-09-04 04:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 04:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849493248001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849493248001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:10:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:10:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:10:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849493248001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":173084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:10:16] local.INFO: GPS data processed {"connection_id":173084,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:10:16] local.INFO: Acknowledgment sent {"connection_id":173084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:10:39] local.INFO: TCP Data received {"connection_id":173085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:10:39] local.INFO: Processing buffer {"connection_id":173085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:10:39] local.INFO: IMEI packet received {"connection_id":173085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":173085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:11:00] local.INFO: TCP Data received {"connection_id":171781,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:11:00] local.INFO: Processing buffer {"connection_id":171781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:11:00] local.INFO: IMEI packet received {"connection_id":171781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":171781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:11:05] local.INFO: TCP Data received {"connection_id":171781,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:11:05] local.INFO: Processing buffer {"connection_id":171781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:11:05] local.INFO: IMEI packet received {"connection_id":171781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":171781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:11:06] local.INFO: TCP Data received {"connection_id":171781,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:11:06] local.INFO: Processing buffer {"connection_id":171781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:11:06] local.INFO: Packet analysis {"connection_id":171781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:11:06] local.INFO: Extracted packet for processing {"connection_id":171781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:11:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849570304001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788475185000,"timestamp_ms":1788475185000,"timestamp_seconds":1788475185,"priority":1,"record_length":96,"hex_timestamp":"000001a0696d9768"} 
[2026-09-04 04:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849570304001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849570304001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:11:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849570304001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":171781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:11:06] local.INFO: GPS data processed {"connection_id":171781,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:11:06] local.INFO: Acknowledgment sent {"connection_id":171781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:11:37] local.INFO: TCP Data received {"connection_id":171781,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:11:37] local.INFO: Processing buffer {"connection_id":171781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:11:37] local.INFO: Packet analysis {"connection_id":171781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:11:37] local.INFO: Extracted packet for processing {"connection_id":171781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:11:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849570304001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788475185000,"timestamp_ms":1788475185000,"timestamp_seconds":1788475185,"priority":1,"record_length":96,"hex_timestamp":"000001a0696d9768"} 
[2026-09-04 04:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849570304001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849570304001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:11:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849570304001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":171781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:11:37] local.INFO: GPS data processed {"connection_id":171781,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:11:37] local.INFO: Acknowledgment sent {"connection_id":171781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:12:00] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:12:00] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:12:00] local.INFO: IMEI packet received {"connection_id":171782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":171782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:12:05] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:12:05] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:12:05] local.INFO: IMEI packet received {"connection_id":171782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":171782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:12:06] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:12:06] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:12:06] local.INFO: Packet analysis {"connection_id":171782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:12:06] local.INFO: Extracted packet for processing {"connection_id":171782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:12:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849570304001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:12:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788475185000,"timestamp_ms":1788475185000,"timestamp_seconds":1788475185,"priority":1,"record_length":96,"hex_timestamp":"000001a0696d9768"} 
[2026-09-04 04:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849570304001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849570304001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:12:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:12:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849570304001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":171782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:12:06] local.INFO: GPS data processed {"connection_id":171782,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:12:06] local.INFO: Acknowledgment sent {"connection_id":171782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:12:37] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:12:37] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:12:37] local.INFO: Packet analysis {"connection_id":171782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:12:37] local.INFO: Extracted packet for processing {"connection_id":171782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:12:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849570304001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:12:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788475185000,"timestamp_ms":1788475185000,"timestamp_seconds":1788475185,"priority":1,"record_length":96,"hex_timestamp":"000001a0696d9768"} 
[2026-09-04 04:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849570304001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849570304001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:12:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:12:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849570304001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":171782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:12:37] local.INFO: GPS data processed {"connection_id":171782,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:12:37] local.INFO: Acknowledgment sent {"connection_id":171782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:13:00] local.INFO: TCP Data received {"connection_id":171783,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:13:00] local.INFO: Processing buffer {"connection_id":171783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:13:00] local.INFO: IMEI packet received {"connection_id":171783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":171783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:13:05] local.INFO: TCP Data received {"connection_id":171783,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:13:05] local.INFO: Processing buffer {"connection_id":171783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:13:05] local.INFO: IMEI packet received {"connection_id":171783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":171783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:13:06] local.INFO: TCP Data received {"connection_id":171783,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:13:06] local.INFO: Processing buffer {"connection_id":171783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:13:06] local.INFO: Packet analysis {"connection_id":171783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:13:06] local.INFO: Extracted packet for processing {"connection_id":171783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:13:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849570304001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:13:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788475185000,"timestamp_ms":1788475185000,"timestamp_seconds":1788475185,"priority":1,"record_length":96,"hex_timestamp":"000001a0696d9768"} 
[2026-09-04 04:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849570304001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849570304001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:13:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:13:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849570304001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":171783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:13:06] local.INFO: GPS data processed {"connection_id":171783,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:13:06] local.INFO: Acknowledgment sent {"connection_id":171783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:13:37] local.INFO: TCP Data received {"connection_id":171783,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:13:37] local.INFO: Processing buffer {"connection_id":171783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:13:37] local.INFO: Packet analysis {"connection_id":171783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:13:37] local.INFO: Extracted packet for processing {"connection_id":171783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:13:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849570304001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:13:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788475185000,"timestamp_ms":1788475185000,"timestamp_seconds":1788475185,"priority":1,"record_length":96,"hex_timestamp":"000001a0696d9768"} 
[2026-09-04 04:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849570304001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849570304001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:13:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:13:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849570304001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":171783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:13:37] local.INFO: GPS data processed {"connection_id":171783,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:13:37] local.INFO: Acknowledgment sent {"connection_id":171783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:14:05] local.INFO: TCP Data received {"connection_id":173087,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:14:05] local.INFO: Processing buffer {"connection_id":173087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:14:05] local.INFO: IMEI packet received {"connection_id":173087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":173087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:14:10] local.INFO: TCP Data received {"connection_id":173087,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:14:10] local.INFO: Processing buffer {"connection_id":173087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:14:10] local.INFO: IMEI packet received {"connection_id":173087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":173087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:14:11] local.INFO: TCP Data received {"connection_id":173087,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:14:11] local.INFO: Processing buffer {"connection_id":173087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:14:11] local.INFO: Packet analysis {"connection_id":173087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:14:11] local.INFO: Extracted packet for processing {"connection_id":173087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:14:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849570304001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788475185000,"timestamp_ms":1788475185000,"timestamp_seconds":1788475185,"priority":1,"record_length":96,"hex_timestamp":"000001a0696d9768"} 
[2026-09-04 04:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849570304001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849570304001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:14:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849570304001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":173087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:14:11] local.INFO: GPS data processed {"connection_id":173087,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:14:11] local.INFO: Acknowledgment sent {"connection_id":173087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:14:16] local.INFO: TCP Data received {"connection_id":173087,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:14:16] local.INFO: Processing buffer {"connection_id":173087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:14:16] local.INFO: Packet analysis {"connection_id":173087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:14:16] local.INFO: Extracted packet for processing {"connection_id":173087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:14:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849570304001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:14:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788475185000,"timestamp_ms":1788475185000,"timestamp_seconds":1788475185,"priority":1,"record_length":96,"hex_timestamp":"000001a0696d9768"} 
[2026-09-04 04:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849570304001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849570304001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:14:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:14:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:14:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849570304001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":173087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:14:16] local.INFO: GPS data processed {"connection_id":173087,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:14:16] local.INFO: Acknowledgment sent {"connection_id":173087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:15:00] local.INFO: TCP Data received {"connection_id":173088,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:15:00] local.INFO: Processing buffer {"connection_id":173088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:15:00] local.INFO: IMEI packet received {"connection_id":173088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":173088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:15:05] local.INFO: TCP Data received {"connection_id":173088,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:15:05] local.INFO: Processing buffer {"connection_id":173088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:15:05] local.INFO: IMEI packet received {"connection_id":173088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":173088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:15:06] local.INFO: TCP Data received {"connection_id":173088,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:15:06] local.INFO: Processing buffer {"connection_id":173088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0696d9768012cee7040072e2b90003500622a..."} 
[2026-09-04 04:15:06] local.INFO: Packet analysis {"connection_id":173088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:15:06] local.INFO: Extracted packet for processing {"connection_id":173088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0696d"} 
[2026-09-04 04:15:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849570304001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:15:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788475185000,"timestamp_ms":1788475185000,"timestamp_seconds":1788475185,"priority":1,"record_length":96,"hex_timestamp":"000001a0696d9768"} 
[2026-09-04 04:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849570304001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849570304001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:15:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:15:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849570304001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":173088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:15:06] local.INFO: GPS data processed {"connection_id":173088,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:15:06] local.INFO: Acknowledgment sent {"connection_id":173088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:15:37] local.INFO: TCP Data received {"connection_id":173088,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:15:37] local.INFO: Processing buffer {"connection_id":173088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:15:37] local.INFO: Packet analysis {"connection_id":173088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:15:37] local.INFO: Extracted packet for processing {"connection_id":173088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:15:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849647360001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788475486000,"timestamp_ms":1788475486000,"timestamp_seconds":1788475486,"priority":1,"record_length":96,"hex_timestamp":"000001a069722f30"} 
[2026-09-04 04:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849647360001,"66":25854,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849647360001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:15:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849647360001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":173088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:15:37] local.INFO: GPS data processed {"connection_id":173088,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:15:37] local.INFO: Acknowledgment sent {"connection_id":173088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:16:00] local.INFO: TCP Data received {"connection_id":173090,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:16:00] local.INFO: Processing buffer {"connection_id":173090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:16:00] local.INFO: IMEI packet received {"connection_id":173090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":173090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:16:04] local.INFO: TCP Data received {"connection_id":173089,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:16:04] local.INFO: Processing buffer {"connection_id":173089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:16:04] local.INFO: IMEI packet received {"connection_id":173089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":173089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:16:05] local.INFO: TCP Data received {"connection_id":173090,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:16:05] local.INFO: Processing buffer {"connection_id":173090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:16:05] local.INFO: IMEI packet received {"connection_id":173090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":173090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:16:06] local.INFO: TCP Data received {"connection_id":173090,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:16:06] local.INFO: Processing buffer {"connection_id":173090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:16:06] local.INFO: Packet analysis {"connection_id":173090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:16:06] local.INFO: Extracted packet for processing {"connection_id":173090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:16:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849647360001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:16:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788475486000,"timestamp_ms":1788475486000,"timestamp_seconds":1788475486,"priority":1,"record_length":96,"hex_timestamp":"000001a069722f30"} 
[2026-09-04 04:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849647360001,"66":25854,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849647360001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:16:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:16:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849647360001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":173090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:16:06] local.INFO: GPS data processed {"connection_id":173090,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:16:06] local.INFO: Acknowledgment sent {"connection_id":173090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:16:37] local.INFO: TCP Data received {"connection_id":173090,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:16:37] local.INFO: Processing buffer {"connection_id":173090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:16:37] local.INFO: Packet analysis {"connection_id":173090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:16:37] local.INFO: Extracted packet for processing {"connection_id":173090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:16:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849647360001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:16:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788475486000,"timestamp_ms":1788475486000,"timestamp_seconds":1788475486,"priority":1,"record_length":96,"hex_timestamp":"000001a069722f30"} 
[2026-09-04 04:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849647360001,"66":25854,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849647360001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:16:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:16:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849647360001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":173090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:16:37] local.INFO: GPS data processed {"connection_id":173090,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:16:37] local.INFO: Acknowledgment sent {"connection_id":173090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:16:38] local.INFO: TCP Data received {"connection_id":170379,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:16:38] local.INFO: Processing buffer {"connection_id":170379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:16:38] local.INFO: IMEI packet received {"connection_id":170379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":170379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:17:00] local.INFO: TCP Data received {"connection_id":170380,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:17:00] local.INFO: Processing buffer {"connection_id":170380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:17:00] local.INFO: IMEI packet received {"connection_id":170380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":170380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:17:05] local.INFO: TCP Data received {"connection_id":170380,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:17:05] local.INFO: Processing buffer {"connection_id":170380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:17:05] local.INFO: IMEI packet received {"connection_id":170380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":170380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:17:06] local.INFO: TCP Data received {"connection_id":170380,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:17:06] local.INFO: Processing buffer {"connection_id":170380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:17:06] local.INFO: Packet analysis {"connection_id":170380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:17:06] local.INFO: Extracted packet for processing {"connection_id":170380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:17:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849647360001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:17:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788475486000,"timestamp_ms":1788475486000,"timestamp_seconds":1788475486,"priority":1,"record_length":96,"hex_timestamp":"000001a069722f30"} 
[2026-09-04 04:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849647360001,"66":25854,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849647360001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:17:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849647360001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":170380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:17:06] local.INFO: GPS data processed {"connection_id":170380,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:17:06] local.INFO: Acknowledgment sent {"connection_id":170380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:17:37] local.INFO: TCP Data received {"connection_id":170380,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:17:37] local.INFO: Processing buffer {"connection_id":170380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:17:37] local.INFO: Packet analysis {"connection_id":170380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:17:37] local.INFO: Extracted packet for processing {"connection_id":170380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:17:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849647360001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:17:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788475486000,"timestamp_ms":1788475486000,"timestamp_seconds":1788475486,"priority":1,"record_length":96,"hex_timestamp":"000001a069722f30"} 
[2026-09-04 04:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849647360001,"66":25854,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849647360001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:17:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:17:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849647360001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":170380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:17:37] local.INFO: GPS data processed {"connection_id":170380,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:17:37] local.INFO: Acknowledgment sent {"connection_id":170380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:18:00] local.INFO: TCP Data received {"connection_id":173091,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:18:00] local.INFO: Processing buffer {"connection_id":173091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:18:00] local.INFO: IMEI packet received {"connection_id":173091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":173091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:18:05] local.INFO: TCP Data received {"connection_id":173091,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:18:05] local.INFO: Processing buffer {"connection_id":173091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:18:05] local.INFO: IMEI packet received {"connection_id":173091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":173091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:18:06] local.INFO: TCP Data received {"connection_id":173091,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:18:06] local.INFO: Processing buffer {"connection_id":173091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:18:06] local.INFO: Packet analysis {"connection_id":173091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:18:06] local.INFO: Extracted packet for processing {"connection_id":173091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:18:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849647360001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:18:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788475486000,"timestamp_ms":1788475486000,"timestamp_seconds":1788475486,"priority":1,"record_length":96,"hex_timestamp":"000001a069722f30"} 
[2026-09-04 04:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849647360001,"66":25854,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849647360001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:18:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:18:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849647360001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":173091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:18:06] local.INFO: GPS data processed {"connection_id":173091,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:18:06] local.INFO: Acknowledgment sent {"connection_id":173091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:18:37] local.INFO: TCP Data received {"connection_id":173091,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:18:37] local.INFO: Processing buffer {"connection_id":173091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:18:37] local.INFO: Packet analysis {"connection_id":173091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:18:37] local.INFO: Extracted packet for processing {"connection_id":173091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:18:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849647360001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:18:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788475486000,"timestamp_ms":1788475486000,"timestamp_seconds":1788475486,"priority":1,"record_length":96,"hex_timestamp":"000001a069722f30"} 
[2026-09-04 04:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849647360001,"66":25854,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849647360001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:18:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:18:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849647360001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":173091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:18:37] local.INFO: GPS data processed {"connection_id":173091,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:18:37] local.INFO: Acknowledgment sent {"connection_id":173091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:19:05] local.INFO: TCP Data received {"connection_id":171785,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:19:05] local.INFO: Processing buffer {"connection_id":171785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:19:05] local.INFO: IMEI packet received {"connection_id":171785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":171785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:19:10] local.INFO: TCP Data received {"connection_id":171785,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:19:10] local.INFO: Processing buffer {"connection_id":171785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:19:10] local.INFO: IMEI packet received {"connection_id":171785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":171785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:19:11] local.INFO: TCP Data received {"connection_id":171785,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:19:11] local.INFO: Processing buffer {"connection_id":171785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:19:11] local.INFO: Packet analysis {"connection_id":171785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:19:11] local.INFO: Extracted packet for processing {"connection_id":171785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:19:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849647360001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788475486000,"timestamp_ms":1788475486000,"timestamp_seconds":1788475486,"priority":1,"record_length":96,"hex_timestamp":"000001a069722f30"} 
[2026-09-04 04:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849647360001,"66":25854,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849647360001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:19:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849647360001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":171785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:19:11] local.INFO: GPS data processed {"connection_id":171785,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:19:11] local.INFO: Acknowledgment sent {"connection_id":171785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:19:16] local.INFO: TCP Data received {"connection_id":171785,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:19:16] local.INFO: Processing buffer {"connection_id":171785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:19:16] local.INFO: Packet analysis {"connection_id":171785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:19:16] local.INFO: Extracted packet for processing {"connection_id":171785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:19:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849647360001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:19:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788475486000,"timestamp_ms":1788475486000,"timestamp_seconds":1788475486,"priority":1,"record_length":96,"hex_timestamp":"000001a069722f30"} 
[2026-09-04 04:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849647360001,"66":25854,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849647360001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:19:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:19:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:19:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849647360001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":171785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:19:16] local.INFO: GPS data processed {"connection_id":171785,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:19:16] local.INFO: Acknowledgment sent {"connection_id":171785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:20:00] local.INFO: TCP Data received {"connection_id":170688,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:20:00] local.INFO: Processing buffer {"connection_id":170688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:20:00] local.INFO: IMEI packet received {"connection_id":170688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":170688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:20:05] local.INFO: TCP Data received {"connection_id":170688,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:20:05] local.INFO: Processing buffer {"connection_id":170688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:20:05] local.INFO: IMEI packet received {"connection_id":170688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":170688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:20:06] local.INFO: TCP Data received {"connection_id":170688,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:20:06] local.INFO: Processing buffer {"connection_id":170688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069722f30012cee7040072e2b90003500622a..."} 
[2026-09-04 04:20:06] local.INFO: Packet analysis {"connection_id":170688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:20:06] local.INFO: Extracted packet for processing {"connection_id":170688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06972"} 
[2026-09-04 04:20:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849647360001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788475486000,"timestamp_ms":1788475486000,"timestamp_seconds":1788475486,"priority":1,"record_length":96,"hex_timestamp":"000001a069722f30"} 
[2026-09-04 04:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849647360001,"66":25854,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849647360001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:20:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849647360001,"power":25854,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":170688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:20:06] local.INFO: GPS data processed {"connection_id":170688,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:20:06] local.INFO: Acknowledgment sent {"connection_id":170688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:20:37] local.INFO: TCP Data received {"connection_id":170688,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:20:37] local.INFO: Processing buffer {"connection_id":170688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:20:37] local.INFO: Packet analysis {"connection_id":170688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:20:37] local.INFO: Extracted packet for processing {"connection_id":170688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:20:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849724416001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788475787000,"timestamp_ms":1788475787000,"timestamp_seconds":1788475787,"priority":1,"record_length":96,"hex_timestamp":"000001a06976c6f8"} 
[2026-09-04 04:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 04:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849724416001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849724416001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:20:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849724416001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":170688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:20:37] local.INFO: GPS data processed {"connection_id":170688,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:20:37] local.INFO: Acknowledgment sent {"connection_id":170688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:21:00] local.INFO: TCP Data received {"connection_id":171787,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:21:00] local.INFO: Processing buffer {"connection_id":171787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:21:00] local.INFO: IMEI packet received {"connection_id":171787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":171787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:21:05] local.INFO: TCP Data received {"connection_id":171787,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:21:05] local.INFO: Processing buffer {"connection_id":171787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:21:05] local.INFO: IMEI packet received {"connection_id":171787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":171787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:21:06] local.INFO: TCP Data received {"connection_id":171787,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:21:06] local.INFO: Processing buffer {"connection_id":171787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:21:06] local.INFO: Packet analysis {"connection_id":171787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:21:06] local.INFO: Extracted packet for processing {"connection_id":171787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:21:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849724416001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:21:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788475787000,"timestamp_ms":1788475787000,"timestamp_seconds":1788475787,"priority":1,"record_length":96,"hex_timestamp":"000001a06976c6f8"} 
[2026-09-04 04:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 04:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849724416001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849724416001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:21:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:21:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849724416001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":171787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:21:06] local.INFO: GPS data processed {"connection_id":171787,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:21:06] local.INFO: Acknowledgment sent {"connection_id":171787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:21:37] local.INFO: TCP Data received {"connection_id":171787,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:21:37] local.INFO: Processing buffer {"connection_id":171787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:21:37] local.INFO: Packet analysis {"connection_id":171787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:21:37] local.INFO: Extracted packet for processing {"connection_id":171787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:21:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849724416001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788475787000,"timestamp_ms":1788475787000,"timestamp_seconds":1788475787,"priority":1,"record_length":96,"hex_timestamp":"000001a06976c6f8"} 
[2026-09-04 04:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 04:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849724416001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849724416001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:21:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849724416001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":171787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:21:37] local.INFO: GPS data processed {"connection_id":171787,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:21:37] local.INFO: Acknowledgment sent {"connection_id":171787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:22:00] local.INFO: TCP Data received {"connection_id":170689,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:22:00] local.INFO: Processing buffer {"connection_id":170689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:22:00] local.INFO: IMEI packet received {"connection_id":170689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":170689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:22:03] local.INFO: TCP Data received {"connection_id":171788,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:22:03] local.INFO: Processing buffer {"connection_id":171788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:22:03] local.INFO: IMEI packet received {"connection_id":171788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":171788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:22:05] local.INFO: TCP Data received {"connection_id":170689,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:22:05] local.INFO: Processing buffer {"connection_id":170689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:22:05] local.INFO: IMEI packet received {"connection_id":170689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":170689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:22:06] local.INFO: TCP Data received {"connection_id":170689,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:22:06] local.INFO: Processing buffer {"connection_id":170689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:22:06] local.INFO: Packet analysis {"connection_id":170689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:22:06] local.INFO: Extracted packet for processing {"connection_id":170689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:22:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849724416001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:22:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788475787000,"timestamp_ms":1788475787000,"timestamp_seconds":1788475787,"priority":1,"record_length":96,"hex_timestamp":"000001a06976c6f8"} 
[2026-09-04 04:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 04:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849724416001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849724416001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:22:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:22:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849724416001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":170689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:22:06] local.INFO: GPS data processed {"connection_id":170689,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:22:06] local.INFO: Acknowledgment sent {"connection_id":170689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:22:38] local.INFO: TCP Data received {"connection_id":171789,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:22:38] local.INFO: Processing buffer {"connection_id":171789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:22:38] local.INFO: IMEI packet received {"connection_id":171789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":171789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:22:39] local.INFO: TCP Data received {"connection_id":170689,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:22:39] local.INFO: Processing buffer {"connection_id":170689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:22:39] local.INFO: Packet analysis {"connection_id":170689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:22:39] local.INFO: Extracted packet for processing {"connection_id":170689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:22:39] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849724416001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:22:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788475787000,"timestamp_ms":1788475787000,"timestamp_seconds":1788475787,"priority":1,"record_length":96,"hex_timestamp":"000001a06976c6f8"} 
[2026-09-04 04:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 04:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849724416001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849724416001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:22:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:22:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:22:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849724416001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":170689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:22:39] local.INFO: GPS data processed {"connection_id":170689,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:22:39] local.INFO: Acknowledgment sent {"connection_id":170689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:23:00] local.INFO: TCP Data received {"connection_id":171790,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:23:00] local.INFO: Processing buffer {"connection_id":171790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:23:00] local.INFO: IMEI packet received {"connection_id":171790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":171790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:23:05] local.INFO: TCP Data received {"connection_id":171790,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:23:05] local.INFO: Processing buffer {"connection_id":171790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:23:05] local.INFO: IMEI packet received {"connection_id":171790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":171790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:23:06] local.INFO: TCP Data received {"connection_id":171790,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:23:06] local.INFO: Processing buffer {"connection_id":171790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:23:06] local.INFO: Packet analysis {"connection_id":171790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:23:06] local.INFO: Extracted packet for processing {"connection_id":171790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:23:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849724416001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:23:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788475787000,"timestamp_ms":1788475787000,"timestamp_seconds":1788475787,"priority":1,"record_length":96,"hex_timestamp":"000001a06976c6f8"} 
[2026-09-04 04:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 04:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849724416001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849724416001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:23:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:23:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849724416001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":171790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:23:06] local.INFO: GPS data processed {"connection_id":171790,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:23:06] local.INFO: Acknowledgment sent {"connection_id":171790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:23:40] local.INFO: TCP Data received {"connection_id":171790,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:23:40] local.INFO: Processing buffer {"connection_id":171790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:23:40] local.INFO: Packet analysis {"connection_id":171790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:23:40] local.INFO: Extracted packet for processing {"connection_id":171790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:23:40] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849724416001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:23:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788475787000,"timestamp_ms":1788475787000,"timestamp_seconds":1788475787,"priority":1,"record_length":96,"hex_timestamp":"000001a06976c6f8"} 
[2026-09-04 04:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 04:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849724416001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849724416001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:23:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:23:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849724416001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":171790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:23:40] local.INFO: GPS data processed {"connection_id":171790,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:23:40] local.INFO: Acknowledgment sent {"connection_id":171790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:24:05] local.INFO: TCP Data received {"connection_id":171791,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:24:05] local.INFO: Processing buffer {"connection_id":171791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:24:05] local.INFO: IMEI packet received {"connection_id":171791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":171791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:24:10] local.INFO: TCP Data received {"connection_id":171791,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:24:10] local.INFO: Processing buffer {"connection_id":171791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:24:10] local.INFO: IMEI packet received {"connection_id":171791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":171791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:24:11] local.INFO: TCP Data received {"connection_id":171791,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:24:11] local.INFO: Processing buffer {"connection_id":171791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:24:11] local.INFO: Packet analysis {"connection_id":171791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:24:11] local.INFO: Extracted packet for processing {"connection_id":171791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:24:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849724416001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788475787000,"timestamp_ms":1788475787000,"timestamp_seconds":1788475787,"priority":1,"record_length":96,"hex_timestamp":"000001a06976c6f8"} 
[2026-09-04 04:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 04:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849724416001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849724416001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:24:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849724416001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":171791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:24:11] local.INFO: GPS data processed {"connection_id":171791,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:24:11] local.INFO: Acknowledgment sent {"connection_id":171791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:24:16] local.INFO: TCP Data received {"connection_id":171791,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:24:16] local.INFO: Processing buffer {"connection_id":171791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:24:16] local.INFO: Packet analysis {"connection_id":171791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:24:16] local.INFO: Extracted packet for processing {"connection_id":171791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:24:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849724416001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:24:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788475787000,"timestamp_ms":1788475787000,"timestamp_seconds":1788475787,"priority":1,"record_length":96,"hex_timestamp":"000001a06976c6f8"} 
[2026-09-04 04:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 04:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849724416001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849724416001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:24:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:24:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:24:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849724416001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":171791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:24:16] local.INFO: GPS data processed {"connection_id":171791,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:24:16] local.INFO: Acknowledgment sent {"connection_id":171791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:25:00] local.INFO: TCP Data received {"connection_id":173093,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:25:00] local.INFO: Processing buffer {"connection_id":173093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:25:00] local.INFO: IMEI packet received {"connection_id":173093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":173093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:25:05] local.INFO: TCP Data received {"connection_id":173093,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:25:05] local.INFO: Processing buffer {"connection_id":173093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:25:05] local.INFO: IMEI packet received {"connection_id":173093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":173093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:25:06] local.INFO: TCP Data received {"connection_id":173093,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:25:06] local.INFO: Processing buffer {"connection_id":173093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06976c6f8012cee7040072e2b900035006227..."} 
[2026-09-04 04:25:06] local.INFO: Packet analysis {"connection_id":173093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:25:06] local.INFO: Extracted packet for processing {"connection_id":173093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06976"} 
[2026-09-04 04:25:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849724416001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:25:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788475787000,"timestamp_ms":1788475787000,"timestamp_seconds":1788475787,"priority":1,"record_length":96,"hex_timestamp":"000001a06976c6f8"} 
[2026-09-04 04:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 04:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849724416001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849724416001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:25:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:25:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849724416001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":173093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:25:06] local.INFO: GPS data processed {"connection_id":173093,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:25:06] local.INFO: Acknowledgment sent {"connection_id":173093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:25:39] local.INFO: TCP Data received {"connection_id":173093,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:25:39] local.INFO: Processing buffer {"connection_id":173093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:25:39] local.INFO: Packet analysis {"connection_id":173093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:25:39] local.INFO: Extracted packet for processing {"connection_id":173093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:25:39] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849801472001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:25:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788476088000,"timestamp_ms":1788476088000,"timestamp_seconds":1788476088,"priority":1,"record_length":96,"hex_timestamp":"000001a0697b5ec0"} 
[2026-09-04 04:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849801472001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849801472001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:25:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:25:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849801472001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":173093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:25:39] local.INFO: GPS data processed {"connection_id":173093,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:25:39] local.INFO: Acknowledgment sent {"connection_id":173093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:26:00] local.INFO: TCP Data received {"connection_id":170381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:26:00] local.INFO: Processing buffer {"connection_id":170381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:26:00] local.INFO: IMEI packet received {"connection_id":170381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":170381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:26:05] local.INFO: TCP Data received {"connection_id":170381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:26:05] local.INFO: Processing buffer {"connection_id":170381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:26:05] local.INFO: IMEI packet received {"connection_id":170381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":170381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:26:06] local.INFO: TCP Data received {"connection_id":170381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:26:06] local.INFO: Processing buffer {"connection_id":170381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:26:06] local.INFO: Packet analysis {"connection_id":170381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:26:06] local.INFO: Extracted packet for processing {"connection_id":170381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:26:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849801472001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476088000,"timestamp_ms":1788476088000,"timestamp_seconds":1788476088,"priority":1,"record_length":96,"hex_timestamp":"000001a0697b5ec0"} 
[2026-09-04 04:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849801472001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849801472001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:26:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849801472001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":170381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:26:06] local.INFO: GPS data processed {"connection_id":170381,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:26:06] local.INFO: Acknowledgment sent {"connection_id":170381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:26:40] local.INFO: TCP Data received {"connection_id":170381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:26:40] local.INFO: Processing buffer {"connection_id":170381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:26:40] local.INFO: Packet analysis {"connection_id":170381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:26:40] local.INFO: Extracted packet for processing {"connection_id":170381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:26:40] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849801472001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:26:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788476088000,"timestamp_ms":1788476088000,"timestamp_seconds":1788476088,"priority":1,"record_length":96,"hex_timestamp":"000001a0697b5ec0"} 
[2026-09-04 04:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849801472001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849801472001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:26:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:26:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:26:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849801472001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":170381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:26:40] local.INFO: GPS data processed {"connection_id":170381,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:26:40] local.INFO: Acknowledgment sent {"connection_id":170381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:27:00] local.INFO: TCP Data received {"connection_id":170693,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:27:00] local.INFO: Processing buffer {"connection_id":170693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:27:00] local.INFO: IMEI packet received {"connection_id":170693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":170693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:27:05] local.INFO: TCP Data received {"connection_id":170693,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:27:05] local.INFO: Processing buffer {"connection_id":170693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:27:05] local.INFO: IMEI packet received {"connection_id":170693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":170693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:27:06] local.INFO: TCP Data received {"connection_id":170693,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:27:06] local.INFO: Processing buffer {"connection_id":170693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:27:06] local.INFO: Packet analysis {"connection_id":170693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:27:06] local.INFO: Extracted packet for processing {"connection_id":170693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:27:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849801472001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:27:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476088000,"timestamp_ms":1788476088000,"timestamp_seconds":1788476088,"priority":1,"record_length":96,"hex_timestamp":"000001a0697b5ec0"} 
[2026-09-04 04:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849801472001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849801472001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:27:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:27:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849801472001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":170693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:27:06] local.INFO: GPS data processed {"connection_id":170693,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:27:06] local.INFO: Acknowledgment sent {"connection_id":170693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:27:37] local.INFO: TCP Data received {"connection_id":170693,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:27:37] local.INFO: Processing buffer {"connection_id":170693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:27:37] local.INFO: Packet analysis {"connection_id":170693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:27:37] local.INFO: Extracted packet for processing {"connection_id":170693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:27:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849801472001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:27:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788476088000,"timestamp_ms":1788476088000,"timestamp_seconds":1788476088,"priority":1,"record_length":96,"hex_timestamp":"000001a0697b5ec0"} 
[2026-09-04 04:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849801472001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849801472001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:27:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:27:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849801472001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":170693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:27:37] local.INFO: GPS data processed {"connection_id":170693,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:27:37] local.INFO: Acknowledgment sent {"connection_id":170693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:28:00] local.INFO: TCP Data received {"connection_id":171792,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:28:00] local.INFO: Processing buffer {"connection_id":171792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:28:00] local.INFO: IMEI packet received {"connection_id":171792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":171792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:28:05] local.INFO: TCP Data received {"connection_id":171792,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:28:05] local.INFO: Processing buffer {"connection_id":171792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:28:05] local.INFO: IMEI packet received {"connection_id":171792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":171792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:28:06] local.INFO: TCP Data received {"connection_id":171792,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:28:06] local.INFO: Processing buffer {"connection_id":171792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:28:06] local.INFO: Packet analysis {"connection_id":171792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:28:06] local.INFO: Extracted packet for processing {"connection_id":171792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:28:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849801472001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:28:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476088000,"timestamp_ms":1788476088000,"timestamp_seconds":1788476088,"priority":1,"record_length":96,"hex_timestamp":"000001a0697b5ec0"} 
[2026-09-04 04:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849801472001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849801472001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:28:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:28:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849801472001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":171792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:28:06] local.INFO: GPS data processed {"connection_id":171792,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:28:06] local.INFO: Acknowledgment sent {"connection_id":171792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:28:37] local.INFO: TCP Data received {"connection_id":171792,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:28:37] local.INFO: Processing buffer {"connection_id":171792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:28:37] local.INFO: Packet analysis {"connection_id":171792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:28:37] local.INFO: Extracted packet for processing {"connection_id":171792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:28:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849801472001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:28:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788476088000,"timestamp_ms":1788476088000,"timestamp_seconds":1788476088,"priority":1,"record_length":96,"hex_timestamp":"000001a0697b5ec0"} 
[2026-09-04 04:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849801472001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849801472001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:28:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:28:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:28:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849801472001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":171792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:28:37] local.INFO: GPS data processed {"connection_id":171792,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:28:37] local.INFO: Acknowledgment sent {"connection_id":171792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:28:41] local.INFO: TCP Data received {"connection_id":170694,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:28:41] local.INFO: Processing buffer {"connection_id":170694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:28:41] local.INFO: IMEI packet received {"connection_id":170694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":170694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:29:05] local.INFO: TCP Data received {"connection_id":170383,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:29:05] local.INFO: Processing buffer {"connection_id":170383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:29:05] local.INFO: IMEI packet received {"connection_id":170383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":170383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:29:10] local.INFO: TCP Data received {"connection_id":170383,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:29:10] local.INFO: Processing buffer {"connection_id":170383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:29:10] local.INFO: IMEI packet received {"connection_id":170383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":170383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:29:11] local.INFO: TCP Data received {"connection_id":170383,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:29:11] local.INFO: Processing buffer {"connection_id":170383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:29:11] local.INFO: Packet analysis {"connection_id":170383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:29:11] local.INFO: Extracted packet for processing {"connection_id":170383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:29:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849801472001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788476088000,"timestamp_ms":1788476088000,"timestamp_seconds":1788476088,"priority":1,"record_length":96,"hex_timestamp":"000001a0697b5ec0"} 
[2026-09-04 04:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849801472001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849801472001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:29:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849801472001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":170383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:29:11] local.INFO: GPS data processed {"connection_id":170383,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:29:11] local.INFO: Acknowledgment sent {"connection_id":170383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:29:16] local.INFO: TCP Data received {"connection_id":170383,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:29:16] local.INFO: Processing buffer {"connection_id":170383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:29:16] local.INFO: Packet analysis {"connection_id":170383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:29:16] local.INFO: Extracted packet for processing {"connection_id":170383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:29:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849801472001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:29:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788476088000,"timestamp_ms":1788476088000,"timestamp_seconds":1788476088,"priority":1,"record_length":96,"hex_timestamp":"000001a0697b5ec0"} 
[2026-09-04 04:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849801472001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849801472001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:29:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:29:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:29:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849801472001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":170383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:29:16] local.INFO: GPS data processed {"connection_id":170383,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:29:16] local.INFO: Acknowledgment sent {"connection_id":170383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:30:00] local.INFO: TCP Data received {"connection_id":173095,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:30:00] local.INFO: Processing buffer {"connection_id":173095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:30:00] local.INFO: IMEI packet received {"connection_id":173095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":173095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:30:05] local.INFO: TCP Data received {"connection_id":173095,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:30:05] local.INFO: Processing buffer {"connection_id":173095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:30:05] local.INFO: IMEI packet received {"connection_id":173095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":173095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:30:06] local.INFO: TCP Data received {"connection_id":173095,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:30:06] local.INFO: Processing buffer {"connection_id":173095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697b5ec0012cee7040072e2b900035006228..."} 
[2026-09-04 04:30:06] local.INFO: Packet analysis {"connection_id":173095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:30:06] local.INFO: Extracted packet for processing {"connection_id":173095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697b"} 
[2026-09-04 04:30:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849801472001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:30:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476088000,"timestamp_ms":1788476088000,"timestamp_seconds":1788476088,"priority":1,"record_length":96,"hex_timestamp":"000001a0697b5ec0"} 
[2026-09-04 04:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849801472001,"66":25832,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849801472001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:30:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:30:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849801472001,"power":25832,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":173095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:30:06] local.INFO: GPS data processed {"connection_id":173095,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:30:06] local.INFO: Acknowledgment sent {"connection_id":173095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:30:37] local.INFO: TCP Data received {"connection_id":173095,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:30:37] local.INFO: Processing buffer {"connection_id":173095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:30:37] local.INFO: Packet analysis {"connection_id":173095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:30:37] local.INFO: Extracted packet for processing {"connection_id":173095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:30:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849878528001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:30:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788476389000,"timestamp_ms":1788476389000,"timestamp_seconds":1788476389,"priority":1,"record_length":96,"hex_timestamp":"000001a0697ff688"} 
[2026-09-04 04:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849878528001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849878528001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:30:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:30:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849878528001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":173095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:30:37] local.INFO: GPS data processed {"connection_id":173095,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:30:37] local.INFO: Acknowledgment sent {"connection_id":173095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:31:00] local.INFO: TCP Data received {"connection_id":170385,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:31:00] local.INFO: Processing buffer {"connection_id":170385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:31:00] local.INFO: IMEI packet received {"connection_id":170385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":170385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:31:05] local.INFO: TCP Data received {"connection_id":170385,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:31:05] local.INFO: Processing buffer {"connection_id":170385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:31:05] local.INFO: IMEI packet received {"connection_id":170385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":170385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:31:06] local.INFO: TCP Data received {"connection_id":170385,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:31:06] local.INFO: Processing buffer {"connection_id":170385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:31:06] local.INFO: Packet analysis {"connection_id":170385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:31:06] local.INFO: Extracted packet for processing {"connection_id":170385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:31:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849878528001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:31:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476389000,"timestamp_ms":1788476389000,"timestamp_seconds":1788476389,"priority":1,"record_length":96,"hex_timestamp":"000001a0697ff688"} 
[2026-09-04 04:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849878528001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849878528001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:31:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:31:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849878528001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":170385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:31:06] local.INFO: GPS data processed {"connection_id":170385,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:31:06] local.INFO: Acknowledgment sent {"connection_id":170385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:31:37] local.INFO: TCP Data received {"connection_id":170385,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:31:37] local.INFO: Processing buffer {"connection_id":170385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:31:37] local.INFO: Packet analysis {"connection_id":170385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:31:37] local.INFO: Extracted packet for processing {"connection_id":170385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:31:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849878528001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:31:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788476389000,"timestamp_ms":1788476389000,"timestamp_seconds":1788476389,"priority":1,"record_length":96,"hex_timestamp":"000001a0697ff688"} 
[2026-09-04 04:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849878528001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849878528001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:31:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:31:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849878528001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":170385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:31:37] local.INFO: GPS data processed {"connection_id":170385,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:31:37] local.INFO: Acknowledgment sent {"connection_id":170385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:32:00] local.INFO: TCP Data received {"connection_id":170696,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:32:00] local.INFO: Processing buffer {"connection_id":170696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:32:00] local.INFO: IMEI packet received {"connection_id":170696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":170696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:32:05] local.INFO: TCP Data received {"connection_id":170696,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:32:05] local.INFO: Processing buffer {"connection_id":170696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:32:05] local.INFO: IMEI packet received {"connection_id":170696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":170696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:32:06] local.INFO: TCP Data received {"connection_id":170696,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:32:06] local.INFO: Processing buffer {"connection_id":170696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:32:06] local.INFO: Packet analysis {"connection_id":170696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:32:06] local.INFO: Extracted packet for processing {"connection_id":170696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:32:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849878528001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:32:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476389000,"timestamp_ms":1788476389000,"timestamp_seconds":1788476389,"priority":1,"record_length":96,"hex_timestamp":"000001a0697ff688"} 
[2026-09-04 04:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849878528001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849878528001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:32:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:32:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849878528001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":170696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:32:06] local.INFO: GPS data processed {"connection_id":170696,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:32:06] local.INFO: Acknowledgment sent {"connection_id":170696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:32:37] local.INFO: TCP Data received {"connection_id":170696,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:32:37] local.INFO: Processing buffer {"connection_id":170696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:32:37] local.INFO: Packet analysis {"connection_id":170696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:32:37] local.INFO: Extracted packet for processing {"connection_id":170696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:32:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849878528001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:32:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788476389000,"timestamp_ms":1788476389000,"timestamp_seconds":1788476389,"priority":1,"record_length":96,"hex_timestamp":"000001a0697ff688"} 
[2026-09-04 04:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849878528001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849878528001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:32:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:32:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849878528001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":170696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:32:37] local.INFO: GPS data processed {"connection_id":170696,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:32:37] local.INFO: Acknowledgment sent {"connection_id":170696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:33:05] local.INFO: TCP Data received {"connection_id":170386,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:33:05] local.INFO: Processing buffer {"connection_id":170386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:33:05] local.INFO: IMEI packet received {"connection_id":170386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":170386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:33:10] local.INFO: TCP Data received {"connection_id":170386,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:33:10] local.INFO: Processing buffer {"connection_id":170386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:33:10] local.INFO: IMEI packet received {"connection_id":170386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":170386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:33:11] local.INFO: TCP Data received {"connection_id":170386,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:33:11] local.INFO: Processing buffer {"connection_id":170386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:33:11] local.INFO: Packet analysis {"connection_id":170386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:33:11] local.INFO: Extracted packet for processing {"connection_id":170386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:33:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849878528001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788476389000,"timestamp_ms":1788476389000,"timestamp_seconds":1788476389,"priority":1,"record_length":96,"hex_timestamp":"000001a0697ff688"} 
[2026-09-04 04:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849878528001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849878528001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:33:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849878528001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":170386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:33:11] local.INFO: GPS data processed {"connection_id":170386,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:33:11] local.INFO: Acknowledgment sent {"connection_id":170386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:33:16] local.INFO: TCP Data received {"connection_id":170386,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:33:16] local.INFO: Processing buffer {"connection_id":170386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:33:16] local.INFO: Packet analysis {"connection_id":170386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:33:16] local.INFO: Extracted packet for processing {"connection_id":170386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:33:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849878528001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:33:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788476389000,"timestamp_ms":1788476389000,"timestamp_seconds":1788476389,"priority":1,"record_length":96,"hex_timestamp":"000001a0697ff688"} 
[2026-09-04 04:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849878528001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849878528001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:33:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:33:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:33:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849878528001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":170386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:33:16] local.INFO: GPS data processed {"connection_id":170386,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:33:16] local.INFO: Acknowledgment sent {"connection_id":170386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:34:00] local.INFO: TCP Data received {"connection_id":170388,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:34:00] local.INFO: Processing buffer {"connection_id":170388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:34:00] local.INFO: IMEI packet received {"connection_id":170388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":170388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:34:05] local.INFO: TCP Data received {"connection_id":170388,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:34:05] local.INFO: Processing buffer {"connection_id":170388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:34:05] local.INFO: IMEI packet received {"connection_id":170388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":170388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:34:06] local.INFO: TCP Data received {"connection_id":170388,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:34:06] local.INFO: Processing buffer {"connection_id":170388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:34:06] local.INFO: Packet analysis {"connection_id":170388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:34:06] local.INFO: Extracted packet for processing {"connection_id":170388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:34:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849878528001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:34:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476389000,"timestamp_ms":1788476389000,"timestamp_seconds":1788476389,"priority":1,"record_length":96,"hex_timestamp":"000001a0697ff688"} 
[2026-09-04 04:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849878528001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849878528001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:34:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:34:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849878528001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":170388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:34:06] local.INFO: GPS data processed {"connection_id":170388,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:34:06] local.INFO: Acknowledgment sent {"connection_id":170388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:34:09] local.INFO: TCP Data received {"connection_id":170387,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:34:09] local.INFO: Processing buffer {"connection_id":170387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:34:09] local.INFO: IMEI packet received {"connection_id":170387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":170387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:34:38] local.INFO: TCP Data received {"connection_id":171795,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:34:38] local.INFO: Processing buffer {"connection_id":171795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:34:38] local.INFO: IMEI packet received {"connection_id":171795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":171795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:34:39] local.INFO: TCP Data received {"connection_id":170388,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:34:39] local.INFO: Processing buffer {"connection_id":170388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:34:39] local.INFO: Packet analysis {"connection_id":170388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:34:39] local.INFO: Extracted packet for processing {"connection_id":170388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:34:39] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849878528001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:34:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788476389000,"timestamp_ms":1788476389000,"timestamp_seconds":1788476389,"priority":1,"record_length":96,"hex_timestamp":"000001a0697ff688"} 
[2026-09-04 04:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849878528001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849878528001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:34:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:34:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:34:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849878528001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":170388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:34:39] local.INFO: GPS data processed {"connection_id":170388,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:34:39] local.INFO: Acknowledgment sent {"connection_id":170388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:35:00] local.INFO: TCP Data received {"connection_id":170697,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:35:00] local.INFO: Processing buffer {"connection_id":170697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:35:00] local.INFO: IMEI packet received {"connection_id":170697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":170697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:35:05] local.INFO: TCP Data received {"connection_id":170697,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:35:05] local.INFO: Processing buffer {"connection_id":170697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:35:05] local.INFO: IMEI packet received {"connection_id":170697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":170697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:35:06] local.INFO: TCP Data received {"connection_id":170697,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:35:06] local.INFO: Processing buffer {"connection_id":170697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0697ff688012cee7040072e2b900035006229..."} 
[2026-09-04 04:35:06] local.INFO: Packet analysis {"connection_id":170697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:35:06] local.INFO: Extracted packet for processing {"connection_id":170697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0697f"} 
[2026-09-04 04:35:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849878528001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:35:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476389000,"timestamp_ms":1788476389000,"timestamp_seconds":1788476389,"priority":1,"record_length":96,"hex_timestamp":"000001a0697ff688"} 
[2026-09-04 04:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 04:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849878528001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849878528001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:35:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:35:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849878528001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":170697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:35:06] local.INFO: GPS data processed {"connection_id":170697,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:35:06] local.INFO: Acknowledgment sent {"connection_id":170697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:35:37] local.INFO: TCP Data received {"connection_id":170697,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:35:37] local.INFO: Processing buffer {"connection_id":170697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:35:37] local.INFO: Packet analysis {"connection_id":170697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:35:37] local.INFO: Extracted packet for processing {"connection_id":170697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:35:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849955584001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:35:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788476690000,"timestamp_ms":1788476690000,"timestamp_seconds":1788476690,"priority":1,"record_length":96,"hex_timestamp":"000001a069848e50"} 
[2026-09-04 04:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849955584001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849955584001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:35:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:35:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849955584001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":170697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:35:37] local.INFO: GPS data processed {"connection_id":170697,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:35:37] local.INFO: Acknowledgment sent {"connection_id":170697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:36:00] local.INFO: TCP Data received {"connection_id":173097,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:36:00] local.INFO: Processing buffer {"connection_id":173097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:36:00] local.INFO: IMEI packet received {"connection_id":173097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":173097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:36:05] local.INFO: TCP Data received {"connection_id":173097,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:36:05] local.INFO: Processing buffer {"connection_id":173097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:36:05] local.INFO: IMEI packet received {"connection_id":173097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":173097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:36:06] local.INFO: TCP Data received {"connection_id":173097,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:36:06] local.INFO: Processing buffer {"connection_id":173097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:36:06] local.INFO: Packet analysis {"connection_id":173097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:36:06] local.INFO: Extracted packet for processing {"connection_id":173097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:36:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849955584001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:36:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476690000,"timestamp_ms":1788476690000,"timestamp_seconds":1788476690,"priority":1,"record_length":96,"hex_timestamp":"000001a069848e50"} 
[2026-09-04 04:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849955584001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849955584001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:36:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:36:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849955584001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":173097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:36:06] local.INFO: GPS data processed {"connection_id":173097,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:36:06] local.INFO: Acknowledgment sent {"connection_id":173097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:36:37] local.INFO: TCP Data received {"connection_id":173097,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:36:37] local.INFO: Processing buffer {"connection_id":173097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:36:37] local.INFO: Packet analysis {"connection_id":173097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:36:37] local.INFO: Extracted packet for processing {"connection_id":173097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:36:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849955584001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788476690000,"timestamp_ms":1788476690000,"timestamp_seconds":1788476690,"priority":1,"record_length":96,"hex_timestamp":"000001a069848e50"} 
[2026-09-04 04:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849955584001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849955584001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:36:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849955584001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":173097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:36:37] local.INFO: GPS data processed {"connection_id":173097,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:36:37] local.INFO: Acknowledgment sent {"connection_id":173097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:37:00] local.INFO: TCP Data received {"connection_id":170389,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:37:00] local.INFO: Processing buffer {"connection_id":170389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:37:00] local.INFO: IMEI packet received {"connection_id":170389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":170389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:37:05] local.INFO: TCP Data received {"connection_id":170389,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:37:05] local.INFO: Processing buffer {"connection_id":170389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:37:05] local.INFO: IMEI packet received {"connection_id":170389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":170389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:37:06] local.INFO: TCP Data received {"connection_id":170389,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:37:06] local.INFO: Processing buffer {"connection_id":170389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:37:06] local.INFO: Packet analysis {"connection_id":170389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:37:06] local.INFO: Extracted packet for processing {"connection_id":170389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:37:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849955584001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476690000,"timestamp_ms":1788476690000,"timestamp_seconds":1788476690,"priority":1,"record_length":96,"hex_timestamp":"000001a069848e50"} 
[2026-09-04 04:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849955584001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849955584001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:37:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849955584001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":170389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:37:06] local.INFO: GPS data processed {"connection_id":170389,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:37:06] local.INFO: Acknowledgment sent {"connection_id":170389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:37:37] local.INFO: TCP Data received {"connection_id":170389,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:37:37] local.INFO: Processing buffer {"connection_id":170389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:37:37] local.INFO: Packet analysis {"connection_id":170389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:37:37] local.INFO: Extracted packet for processing {"connection_id":170389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:37:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849955584001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:37:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788476690000,"timestamp_ms":1788476690000,"timestamp_seconds":1788476690,"priority":1,"record_length":96,"hex_timestamp":"000001a069848e50"} 
[2026-09-04 04:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849955584001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849955584001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:37:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:37:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849955584001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":170389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:37:37] local.INFO: GPS data processed {"connection_id":170389,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:37:37] local.INFO: Acknowledgment sent {"connection_id":170389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:38:05] local.INFO: TCP Data received {"connection_id":173098,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:38:05] local.INFO: Processing buffer {"connection_id":173098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:38:05] local.INFO: IMEI packet received {"connection_id":173098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":173098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:38:10] local.INFO: TCP Data received {"connection_id":173098,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:38:10] local.INFO: Processing buffer {"connection_id":173098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:38:10] local.INFO: IMEI packet received {"connection_id":173098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":173098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:38:11] local.INFO: TCP Data received {"connection_id":173098,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:38:11] local.INFO: Processing buffer {"connection_id":173098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:38:11] local.INFO: Packet analysis {"connection_id":173098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:38:11] local.INFO: Extracted packet for processing {"connection_id":173098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:38:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849955584001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:38:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788476690000,"timestamp_ms":1788476690000,"timestamp_seconds":1788476690,"priority":1,"record_length":96,"hex_timestamp":"000001a069848e50"} 
[2026-09-04 04:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849955584001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849955584001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:38:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:38:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:38:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849955584001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":173098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:38:11] local.INFO: GPS data processed {"connection_id":173098,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:38:11] local.INFO: Acknowledgment sent {"connection_id":173098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:38:16] local.INFO: TCP Data received {"connection_id":173098,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:38:16] local.INFO: Processing buffer {"connection_id":173098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:38:16] local.INFO: Packet analysis {"connection_id":173098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:38:16] local.INFO: Extracted packet for processing {"connection_id":173098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:38:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849955584001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:38:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788476690000,"timestamp_ms":1788476690000,"timestamp_seconds":1788476690,"priority":1,"record_length":96,"hex_timestamp":"000001a069848e50"} 
[2026-09-04 04:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849955584001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849955584001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:38:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:38:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:38:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849955584001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":173098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:38:16] local.INFO: GPS data processed {"connection_id":173098,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:38:16] local.INFO: Acknowledgment sent {"connection_id":173098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:39:00] local.INFO: TCP Data received {"connection_id":170390,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:39:00] local.INFO: Processing buffer {"connection_id":170390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:39:00] local.INFO: IMEI packet received {"connection_id":170390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":170390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:39:05] local.INFO: TCP Data received {"connection_id":170390,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:39:05] local.INFO: Processing buffer {"connection_id":170390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:39:05] local.INFO: IMEI packet received {"connection_id":170390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":170390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:39:06] local.INFO: TCP Data received {"connection_id":170390,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:39:06] local.INFO: Processing buffer {"connection_id":170390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:39:06] local.INFO: Packet analysis {"connection_id":170390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:39:06] local.INFO: Extracted packet for processing {"connection_id":170390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:39:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849955584001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:39:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476690000,"timestamp_ms":1788476690000,"timestamp_seconds":1788476690,"priority":1,"record_length":96,"hex_timestamp":"000001a069848e50"} 
[2026-09-04 04:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849955584001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849955584001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:39:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:39:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849955584001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":170390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:39:06] local.INFO: GPS data processed {"connection_id":170390,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:39:06] local.INFO: Acknowledgment sent {"connection_id":170390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:39:37] local.INFO: TCP Data received {"connection_id":170390,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:39:37] local.INFO: Processing buffer {"connection_id":170390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:39:37] local.INFO: Packet analysis {"connection_id":170390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:39:37] local.INFO: Extracted packet for processing {"connection_id":170390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:39:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849955584001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:39:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788476690000,"timestamp_ms":1788476690000,"timestamp_seconds":1788476690,"priority":1,"record_length":96,"hex_timestamp":"000001a069848e50"} 
[2026-09-04 04:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849955584001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849955584001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:39:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:39:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849955584001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":170390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:39:37] local.INFO: GPS data processed {"connection_id":170390,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:39:37] local.INFO: Acknowledgment sent {"connection_id":170390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:40:01] local.INFO: TCP Data received {"connection_id":171797,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:40:01] local.INFO: Processing buffer {"connection_id":171797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:40:01] local.INFO: IMEI packet received {"connection_id":171797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":171797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:40:05] local.INFO: TCP Data received {"connection_id":171797,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:40:05] local.INFO: Processing buffer {"connection_id":171797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:40:05] local.INFO: IMEI packet received {"connection_id":171797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":171797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:40:06] local.INFO: TCP Data received {"connection_id":171797,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:40:06] local.INFO: Processing buffer {"connection_id":171797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069848e50012cee7040072e2b900035006226..."} 
[2026-09-04 04:40:06] local.INFO: Packet analysis {"connection_id":171797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:40:06] local.INFO: Extracted packet for processing {"connection_id":171797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06984"} 
[2026-09-04 04:40:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457849955584001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:40:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476690000,"timestamp_ms":1788476690000,"timestamp_seconds":1788476690,"priority":1,"record_length":96,"hex_timestamp":"000001a069848e50"} 
[2026-09-04 04:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457849955584001,"66":25843,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457849955584001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:40:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:40:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457849955584001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":171797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:40:06] local.INFO: GPS data processed {"connection_id":171797,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:40:06] local.INFO: Acknowledgment sent {"connection_id":171797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:40:37] local.INFO: TCP Data received {"connection_id":171797,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:40:37] local.INFO: Processing buffer {"connection_id":171797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:40:37] local.INFO: Packet analysis {"connection_id":171797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:40:37] local.INFO: Extracted packet for processing {"connection_id":171797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:40:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850032640001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788476991000,"timestamp_ms":1788476991000,"timestamp_seconds":1788476991,"priority":1,"record_length":96,"hex_timestamp":"000001a069892618"} 
[2026-09-04 04:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850032640001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850032640001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:40:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850032640001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":171797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:40:37] local.INFO: GPS data processed {"connection_id":171797,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:40:37] local.INFO: Acknowledgment sent {"connection_id":171797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:40:44] local.INFO: TCP Data received {"connection_id":173100,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:40:44] local.INFO: Processing buffer {"connection_id":173100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:40:44] local.INFO: IMEI packet received {"connection_id":173100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":173100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:41:00] local.INFO: TCP Data received {"connection_id":170391,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:41:00] local.INFO: Processing buffer {"connection_id":170391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:41:00] local.INFO: IMEI packet received {"connection_id":170391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":170391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:41:05] local.INFO: TCP Data received {"connection_id":170391,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:41:05] local.INFO: Processing buffer {"connection_id":170391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:41:05] local.INFO: IMEI packet received {"connection_id":170391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":170391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:41:06] local.INFO: TCP Data received {"connection_id":170391,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:41:06] local.INFO: Processing buffer {"connection_id":170391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:41:06] local.INFO: Packet analysis {"connection_id":170391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:41:06] local.INFO: Extracted packet for processing {"connection_id":170391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:41:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850032640001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:41:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476991000,"timestamp_ms":1788476991000,"timestamp_seconds":1788476991,"priority":1,"record_length":96,"hex_timestamp":"000001a069892618"} 
[2026-09-04 04:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850032640001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850032640001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:41:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:41:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850032640001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":170391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:41:06] local.INFO: GPS data processed {"connection_id":170391,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:41:06] local.INFO: Acknowledgment sent {"connection_id":170391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:41:37] local.INFO: TCP Data received {"connection_id":170391,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:41:37] local.INFO: Processing buffer {"connection_id":170391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:41:37] local.INFO: Packet analysis {"connection_id":170391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:41:37] local.INFO: Extracted packet for processing {"connection_id":170391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:41:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850032640001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:41:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788476991000,"timestamp_ms":1788476991000,"timestamp_seconds":1788476991,"priority":1,"record_length":96,"hex_timestamp":"000001a069892618"} 
[2026-09-04 04:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850032640001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850032640001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:41:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:41:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850032640001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":170391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:41:37] local.INFO: GPS data processed {"connection_id":170391,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:41:37] local.INFO: Acknowledgment sent {"connection_id":170391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:41:39] local.INFO: TCP Data received {"connection_id":170700,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:41:39] local.INFO: Processing buffer {"connection_id":170700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:41:39] local.INFO: IMEI packet received {"connection_id":170700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":170700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:42:00] local.INFO: TCP Data received {"connection_id":170701,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:42:00] local.INFO: Processing buffer {"connection_id":170701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:42:00] local.INFO: IMEI packet received {"connection_id":170701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":170701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:42:05] local.INFO: TCP Data received {"connection_id":170701,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:42:05] local.INFO: Processing buffer {"connection_id":170701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:42:05] local.INFO: IMEI packet received {"connection_id":170701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":170701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:42:06] local.INFO: TCP Data received {"connection_id":170701,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:42:06] local.INFO: Processing buffer {"connection_id":170701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:42:06] local.INFO: Packet analysis {"connection_id":170701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:42:06] local.INFO: Extracted packet for processing {"connection_id":170701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:42:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850032640001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:42:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476991000,"timestamp_ms":1788476991000,"timestamp_seconds":1788476991,"priority":1,"record_length":96,"hex_timestamp":"000001a069892618"} 
[2026-09-04 04:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850032640001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850032640001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:42:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:42:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850032640001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":170701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:42:06] local.INFO: GPS data processed {"connection_id":170701,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:42:06] local.INFO: Acknowledgment sent {"connection_id":170701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:42:37] local.INFO: TCP Data received {"connection_id":170701,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:42:37] local.INFO: Processing buffer {"connection_id":170701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:42:37] local.INFO: Packet analysis {"connection_id":170701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:42:37] local.INFO: Extracted packet for processing {"connection_id":170701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:42:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850032640001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:42:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788476991000,"timestamp_ms":1788476991000,"timestamp_seconds":1788476991,"priority":1,"record_length":96,"hex_timestamp":"000001a069892618"} 
[2026-09-04 04:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850032640001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850032640001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:42:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:42:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850032640001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":170701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:42:37] local.INFO: GPS data processed {"connection_id":170701,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:42:37] local.INFO: Acknowledgment sent {"connection_id":170701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:43:05] local.INFO: TCP Data received {"connection_id":170392,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:43:05] local.INFO: Processing buffer {"connection_id":170392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:43:05] local.INFO: IMEI packet received {"connection_id":170392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":170392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:43:10] local.INFO: TCP Data received {"connection_id":170392,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:43:10] local.INFO: Processing buffer {"connection_id":170392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:43:10] local.INFO: IMEI packet received {"connection_id":170392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":170392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:43:11] local.INFO: TCP Data received {"connection_id":170392,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:43:11] local.INFO: Processing buffer {"connection_id":170392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:43:11] local.INFO: Packet analysis {"connection_id":170392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:43:11] local.INFO: Extracted packet for processing {"connection_id":170392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:43:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850032640001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788476991000,"timestamp_ms":1788476991000,"timestamp_seconds":1788476991,"priority":1,"record_length":96,"hex_timestamp":"000001a069892618"} 
[2026-09-04 04:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850032640001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850032640001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:43:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850032640001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":170392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:43:11] local.INFO: GPS data processed {"connection_id":170392,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:43:11] local.INFO: Acknowledgment sent {"connection_id":170392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:43:16] local.INFO: TCP Data received {"connection_id":170392,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:43:16] local.INFO: Processing buffer {"connection_id":170392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:43:16] local.INFO: Packet analysis {"connection_id":170392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:43:16] local.INFO: Extracted packet for processing {"connection_id":170392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:43:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850032640001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:43:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788476991000,"timestamp_ms":1788476991000,"timestamp_seconds":1788476991,"priority":1,"record_length":96,"hex_timestamp":"000001a069892618"} 
[2026-09-04 04:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850032640001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850032640001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:43:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:43:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:43:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850032640001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":170392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:43:16] local.INFO: GPS data processed {"connection_id":170392,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:43:16] local.INFO: Acknowledgment sent {"connection_id":170392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:44:00] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:44:00] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:44:00] local.INFO: IMEI packet received {"connection_id":171798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":171798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:44:05] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:44:05] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:44:05] local.INFO: IMEI packet received {"connection_id":171798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":171798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:44:06] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:44:06] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:44:06] local.INFO: Packet analysis {"connection_id":171798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:44:06] local.INFO: Extracted packet for processing {"connection_id":171798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:44:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850032640001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:44:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476991000,"timestamp_ms":1788476991000,"timestamp_seconds":1788476991,"priority":1,"record_length":96,"hex_timestamp":"000001a069892618"} 
[2026-09-04 04:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850032640001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850032640001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:44:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:44:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850032640001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":171798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:44:06] local.INFO: GPS data processed {"connection_id":171798,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:44:06] local.INFO: Acknowledgment sent {"connection_id":171798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:44:40] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:44:40] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:44:40] local.INFO: Packet analysis {"connection_id":171798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:44:40] local.INFO: Extracted packet for processing {"connection_id":171798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:44:40] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850032640001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:44:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788476991000,"timestamp_ms":1788476991000,"timestamp_seconds":1788476991,"priority":1,"record_length":96,"hex_timestamp":"000001a069892618"} 
[2026-09-04 04:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850032640001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850032640001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:44:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:44:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:44:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850032640001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":171798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:44:40] local.INFO: GPS data processed {"connection_id":171798,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:44:40] local.INFO: Acknowledgment sent {"connection_id":171798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:45:00] local.INFO: TCP Data received {"connection_id":170702,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:45:00] local.INFO: Processing buffer {"connection_id":170702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:45:00] local.INFO: IMEI packet received {"connection_id":170702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":170702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:45:05] local.INFO: TCP Data received {"connection_id":170702,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:45:05] local.INFO: Processing buffer {"connection_id":170702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:45:05] local.INFO: IMEI packet received {"connection_id":170702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":170702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:45:06] local.INFO: TCP Data received {"connection_id":170702,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:45:06] local.INFO: Processing buffer {"connection_id":170702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069892618012cee7040072e2b900035006227..."} 
[2026-09-04 04:45:06] local.INFO: Packet analysis {"connection_id":170702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:45:06] local.INFO: Extracted packet for processing {"connection_id":170702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06989"} 
[2026-09-04 04:45:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850032640001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:45:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788476991000,"timestamp_ms":1788476991000,"timestamp_seconds":1788476991,"priority":1,"record_length":96,"hex_timestamp":"000001a069892618"} 
[2026-09-04 04:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 04:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850032640001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850032640001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:45:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:45:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850032640001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":170702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:45:06] local.INFO: GPS data processed {"connection_id":170702,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:45:06] local.INFO: Acknowledgment sent {"connection_id":170702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:45:37] local.INFO: TCP Data received {"connection_id":170702,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:45:37] local.INFO: Processing buffer {"connection_id":170702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:45:37] local.INFO: Packet analysis {"connection_id":170702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:45:37] local.INFO: Extracted packet for processing {"connection_id":170702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:45:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850109696001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:45:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788477292000,"timestamp_ms":1788477292000,"timestamp_seconds":1788477292,"priority":1,"record_length":96,"hex_timestamp":"000001a0698dbde0"} 
[2026-09-04 04:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850109696001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850109696001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:45:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:45:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850109696001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":170702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:45:37] local.INFO: GPS data processed {"connection_id":170702,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:45:37] local.INFO: Acknowledgment sent {"connection_id":170702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:46:00] local.INFO: TCP Data received {"connection_id":170703,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:46:00] local.INFO: Processing buffer {"connection_id":170703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:46:00] local.INFO: IMEI packet received {"connection_id":170703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":170703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:46:05] local.INFO: TCP Data received {"connection_id":170703,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:46:05] local.INFO: Processing buffer {"connection_id":170703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:46:05] local.INFO: IMEI packet received {"connection_id":170703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":170703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:46:06] local.INFO: TCP Data received {"connection_id":170703,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:46:06] local.INFO: Processing buffer {"connection_id":170703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:46:06] local.INFO: Packet analysis {"connection_id":170703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:46:06] local.INFO: Extracted packet for processing {"connection_id":170703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:46:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850109696001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:46:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788477292000,"timestamp_ms":1788477292000,"timestamp_seconds":1788477292,"priority":1,"record_length":96,"hex_timestamp":"000001a0698dbde0"} 
[2026-09-04 04:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850109696001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850109696001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:46:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:46:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850109696001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":170703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:46:06] local.INFO: GPS data processed {"connection_id":170703,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:46:06] local.INFO: Acknowledgment sent {"connection_id":170703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:46:37] local.INFO: TCP Data received {"connection_id":170703,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:46:37] local.INFO: Processing buffer {"connection_id":170703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:46:37] local.INFO: Packet analysis {"connection_id":170703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:46:37] local.INFO: Extracted packet for processing {"connection_id":170703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:46:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850109696001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:46:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788477292000,"timestamp_ms":1788477292000,"timestamp_seconds":1788477292,"priority":1,"record_length":96,"hex_timestamp":"000001a0698dbde0"} 
[2026-09-04 04:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850109696001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850109696001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:46:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:46:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850109696001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":170703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:46:37] local.INFO: GPS data processed {"connection_id":170703,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:46:37] local.INFO: Acknowledgment sent {"connection_id":170703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:46:44] local.INFO: TCP Data received {"connection_id":171799,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:46:44] local.INFO: Processing buffer {"connection_id":171799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:46:44] local.INFO: IMEI packet received {"connection_id":171799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":171799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:47:00] local.INFO: TCP Data received {"connection_id":173104,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:47:00] local.INFO: Processing buffer {"connection_id":173104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:47:00] local.INFO: IMEI packet received {"connection_id":173104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":173104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:47:05] local.INFO: TCP Data received {"connection_id":173104,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:47:05] local.INFO: Processing buffer {"connection_id":173104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:47:05] local.INFO: IMEI packet received {"connection_id":173104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":173104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:47:06] local.INFO: TCP Data received {"connection_id":173104,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:47:06] local.INFO: Processing buffer {"connection_id":173104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:47:06] local.INFO: Packet analysis {"connection_id":173104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:47:06] local.INFO: Extracted packet for processing {"connection_id":173104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:47:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850109696001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788477292000,"timestamp_ms":1788477292000,"timestamp_seconds":1788477292,"priority":1,"record_length":96,"hex_timestamp":"000001a0698dbde0"} 
[2026-09-04 04:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850109696001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850109696001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:47:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850109696001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":173104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:47:06] local.INFO: GPS data processed {"connection_id":173104,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:47:06] local.INFO: Acknowledgment sent {"connection_id":173104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:47:37] local.INFO: TCP Data received {"connection_id":173104,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:47:37] local.INFO: Processing buffer {"connection_id":173104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:47:37] local.INFO: Packet analysis {"connection_id":173104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:47:37] local.INFO: Extracted packet for processing {"connection_id":173104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:47:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850109696001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:47:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788477292000,"timestamp_ms":1788477292000,"timestamp_seconds":1788477292,"priority":1,"record_length":96,"hex_timestamp":"000001a0698dbde0"} 
[2026-09-04 04:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850109696001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850109696001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:47:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:47:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850109696001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":173104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:47:37] local.INFO: GPS data processed {"connection_id":173104,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:47:37] local.INFO: Acknowledgment sent {"connection_id":173104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:48:05] local.INFO: TCP Data received {"connection_id":170394,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:48:05] local.INFO: Processing buffer {"connection_id":170394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:48:05] local.INFO: IMEI packet received {"connection_id":170394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":170394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:48:10] local.INFO: TCP Data received {"connection_id":170394,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:48:10] local.INFO: Processing buffer {"connection_id":170394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:48:10] local.INFO: IMEI packet received {"connection_id":170394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":170394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:48:11] local.INFO: TCP Data received {"connection_id":170394,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:48:11] local.INFO: Processing buffer {"connection_id":170394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:48:11] local.INFO: Packet analysis {"connection_id":170394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:48:11] local.INFO: Extracted packet for processing {"connection_id":170394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:48:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850109696001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:48:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788477292000,"timestamp_ms":1788477292000,"timestamp_seconds":1788477292,"priority":1,"record_length":96,"hex_timestamp":"000001a0698dbde0"} 
[2026-09-04 04:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850109696001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850109696001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:48:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:48:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:48:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850109696001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":170394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:48:11] local.INFO: GPS data processed {"connection_id":170394,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:48:11] local.INFO: Acknowledgment sent {"connection_id":170394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:48:16] local.INFO: TCP Data received {"connection_id":170394,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:48:16] local.INFO: Processing buffer {"connection_id":170394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:48:16] local.INFO: Packet analysis {"connection_id":170394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:48:16] local.INFO: Extracted packet for processing {"connection_id":170394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:48:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850109696001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:48:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788477292000,"timestamp_ms":1788477292000,"timestamp_seconds":1788477292,"priority":1,"record_length":96,"hex_timestamp":"000001a0698dbde0"} 
[2026-09-04 04:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850109696001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850109696001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:48:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:48:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850109696001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":170394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:48:16] local.INFO: GPS data processed {"connection_id":170394,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:48:16] local.INFO: Acknowledgment sent {"connection_id":170394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:49:00] local.INFO: TCP Data received {"connection_id":170395,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:49:00] local.INFO: Processing buffer {"connection_id":170395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:49:00] local.INFO: IMEI packet received {"connection_id":170395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":170395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:49:05] local.INFO: TCP Data received {"connection_id":170395,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:49:05] local.INFO: Processing buffer {"connection_id":170395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:49:05] local.INFO: IMEI packet received {"connection_id":170395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":170395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:49:06] local.INFO: TCP Data received {"connection_id":170395,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:49:06] local.INFO: Processing buffer {"connection_id":170395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:49:06] local.INFO: Packet analysis {"connection_id":170395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:49:06] local.INFO: Extracted packet for processing {"connection_id":170395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:49:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850109696001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:49:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788477292000,"timestamp_ms":1788477292000,"timestamp_seconds":1788477292,"priority":1,"record_length":96,"hex_timestamp":"000001a0698dbde0"} 
[2026-09-04 04:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850109696001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850109696001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:49:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:49:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850109696001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":170395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:49:06] local.INFO: GPS data processed {"connection_id":170395,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:49:06] local.INFO: Acknowledgment sent {"connection_id":170395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:49:39] local.INFO: TCP Data received {"connection_id":170395,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:49:39] local.INFO: Processing buffer {"connection_id":170395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:49:39] local.INFO: Packet analysis {"connection_id":170395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:49:39] local.INFO: Extracted packet for processing {"connection_id":170395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:49:39] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850109696001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:49:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788477292000,"timestamp_ms":1788477292000,"timestamp_seconds":1788477292,"priority":1,"record_length":96,"hex_timestamp":"000001a0698dbde0"} 
[2026-09-04 04:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850109696001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850109696001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:49:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:49:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:49:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850109696001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":170395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:49:39] local.INFO: GPS data processed {"connection_id":170395,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:49:39] local.INFO: Acknowledgment sent {"connection_id":170395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:50:01] local.INFO: TCP Data received {"connection_id":171801,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:50:01] local.INFO: Processing buffer {"connection_id":171801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:50:01] local.INFO: IMEI packet received {"connection_id":171801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":171801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:50:05] local.INFO: TCP Data received {"connection_id":171801,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:50:05] local.INFO: Processing buffer {"connection_id":171801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:50:05] local.INFO: IMEI packet received {"connection_id":171801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":171801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:50:06] local.INFO: TCP Data received {"connection_id":171801,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:50:06] local.INFO: Processing buffer {"connection_id":171801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0698dbde0012cee7040072e2b900035006228..."} 
[2026-09-04 04:50:06] local.INFO: Packet analysis {"connection_id":171801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:50:06] local.INFO: Extracted packet for processing {"connection_id":171801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0698d"} 
[2026-09-04 04:50:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850109696001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788477292000,"timestamp_ms":1788477292000,"timestamp_seconds":1788477292,"priority":1,"record_length":96,"hex_timestamp":"000001a0698dbde0"} 
[2026-09-04 04:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850109696001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850109696001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:50:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850109696001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":171801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:50:06] local.INFO: GPS data processed {"connection_id":171801,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:50:06] local.INFO: Acknowledgment sent {"connection_id":171801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:50:40] local.INFO: TCP Data received {"connection_id":171801,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:50:40] local.INFO: Processing buffer {"connection_id":171801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:50:40] local.INFO: Packet analysis {"connection_id":171801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:50:40] local.INFO: Extracted packet for processing {"connection_id":171801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:50:40] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850186752001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:50:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788477593000,"timestamp_ms":1788477593000,"timestamp_seconds":1788477593,"priority":1,"record_length":96,"hex_timestamp":"000001a0699255a8"} 
[2026-09-04 04:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850186752001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850186752001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:50:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:50:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:50:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850186752001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":171801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:50:40] local.INFO: GPS data processed {"connection_id":171801,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:50:40] local.INFO: Acknowledgment sent {"connection_id":171801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:51:00] local.INFO: TCP Data received {"connection_id":170704,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:51:00] local.INFO: Processing buffer {"connection_id":170704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:51:00] local.INFO: IMEI packet received {"connection_id":170704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":170704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:51:05] local.INFO: TCP Data received {"connection_id":170704,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:51:05] local.INFO: Processing buffer {"connection_id":170704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:51:05] local.INFO: IMEI packet received {"connection_id":170704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":170704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:51:06] local.INFO: TCP Data received {"connection_id":170704,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:51:06] local.INFO: Processing buffer {"connection_id":170704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:51:06] local.INFO: Packet analysis {"connection_id":170704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:51:06] local.INFO: Extracted packet for processing {"connection_id":170704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:51:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850186752001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:51:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788477593000,"timestamp_ms":1788477593000,"timestamp_seconds":1788477593,"priority":1,"record_length":96,"hex_timestamp":"000001a0699255a8"} 
[2026-09-04 04:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850186752001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850186752001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:51:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:51:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850186752001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":170704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:51:06] local.INFO: GPS data processed {"connection_id":170704,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:51:06] local.INFO: Acknowledgment sent {"connection_id":170704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:51:37] local.INFO: TCP Data received {"connection_id":170704,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:51:37] local.INFO: Processing buffer {"connection_id":170704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:51:37] local.INFO: Packet analysis {"connection_id":170704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:51:37] local.INFO: Extracted packet for processing {"connection_id":170704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:51:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850186752001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:51:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788477593000,"timestamp_ms":1788477593000,"timestamp_seconds":1788477593,"priority":1,"record_length":96,"hex_timestamp":"000001a0699255a8"} 
[2026-09-04 04:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850186752001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850186752001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:51:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:51:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850186752001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":170704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:51:37] local.INFO: GPS data processed {"connection_id":170704,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:51:37] local.INFO: Acknowledgment sent {"connection_id":170704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:52:00] local.INFO: TCP Data received {"connection_id":173107,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:52:00] local.INFO: Processing buffer {"connection_id":173107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:52:00] local.INFO: IMEI packet received {"connection_id":173107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":173107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:52:05] local.INFO: TCP Data received {"connection_id":173107,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:52:05] local.INFO: Processing buffer {"connection_id":173107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:52:05] local.INFO: IMEI packet received {"connection_id":173107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":173107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:52:06] local.INFO: TCP Data received {"connection_id":173107,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:52:06] local.INFO: Processing buffer {"connection_id":173107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:52:06] local.INFO: Packet analysis {"connection_id":173107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:52:06] local.INFO: Extracted packet for processing {"connection_id":173107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:52:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850186752001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:52:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788477593000,"timestamp_ms":1788477593000,"timestamp_seconds":1788477593,"priority":1,"record_length":96,"hex_timestamp":"000001a0699255a8"} 
[2026-09-04 04:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850186752001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850186752001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:52:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:52:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850186752001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":173107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:52:06] local.INFO: GPS data processed {"connection_id":173107,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:52:06] local.INFO: Acknowledgment sent {"connection_id":173107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:52:18] local.INFO: TCP Data received {"connection_id":170396,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:52:18] local.INFO: Processing buffer {"connection_id":170396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:52:18] local.INFO: IMEI packet received {"connection_id":170396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":170396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:52:37] local.INFO: TCP Data received {"connection_id":173107,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:52:37] local.INFO: Processing buffer {"connection_id":173107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:52:37] local.INFO: Packet analysis {"connection_id":173107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:52:37] local.INFO: Extracted packet for processing {"connection_id":173107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:52:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850186752001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788477593000,"timestamp_ms":1788477593000,"timestamp_seconds":1788477593,"priority":1,"record_length":96,"hex_timestamp":"000001a0699255a8"} 
[2026-09-04 04:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850186752001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850186752001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:52:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850186752001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":173107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:52:37] local.INFO: GPS data processed {"connection_id":173107,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:52:37] local.INFO: Acknowledgment sent {"connection_id":173107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:52:38] local.INFO: TCP Data received {"connection_id":171803,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:52:38] local.INFO: Processing buffer {"connection_id":171803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:52:38] local.INFO: IMEI packet received {"connection_id":171803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":171803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:53:00] local.INFO: TCP Data received {"connection_id":170397,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:53:00] local.INFO: Processing buffer {"connection_id":170397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:53:00] local.INFO: IMEI packet received {"connection_id":170397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":170397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:53:05] local.INFO: TCP Data received {"connection_id":170397,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:53:05] local.INFO: Processing buffer {"connection_id":170397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:53:05] local.INFO: IMEI packet received {"connection_id":170397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":170397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:53:06] local.INFO: TCP Data received {"connection_id":170397,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:53:06] local.INFO: Processing buffer {"connection_id":170397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:53:06] local.INFO: Packet analysis {"connection_id":170397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:53:06] local.INFO: Extracted packet for processing {"connection_id":170397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:53:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850186752001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:53:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788477593000,"timestamp_ms":1788477593000,"timestamp_seconds":1788477593,"priority":1,"record_length":96,"hex_timestamp":"000001a0699255a8"} 
[2026-09-04 04:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850186752001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850186752001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:53:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:53:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850186752001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":170397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:53:06] local.INFO: GPS data processed {"connection_id":170397,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:53:06] local.INFO: Acknowledgment sent {"connection_id":170397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:53:37] local.INFO: TCP Data received {"connection_id":170397,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:53:37] local.INFO: Processing buffer {"connection_id":170397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:53:37] local.INFO: Packet analysis {"connection_id":170397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:53:37] local.INFO: Extracted packet for processing {"connection_id":170397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:53:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850186752001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:53:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788477593000,"timestamp_ms":1788477593000,"timestamp_seconds":1788477593,"priority":1,"record_length":96,"hex_timestamp":"000001a0699255a8"} 
[2026-09-04 04:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850186752001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850186752001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:53:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:53:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850186752001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":170397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:53:37] local.INFO: GPS data processed {"connection_id":170397,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:53:37] local.INFO: Acknowledgment sent {"connection_id":170397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:54:05] local.INFO: TCP Data received {"connection_id":171804,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:54:05] local.INFO: Processing buffer {"connection_id":171804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:54:05] local.INFO: IMEI packet received {"connection_id":171804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":171804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:54:10] local.INFO: TCP Data received {"connection_id":171804,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:54:10] local.INFO: Processing buffer {"connection_id":171804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:54:10] local.INFO: IMEI packet received {"connection_id":171804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":171804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:54:11] local.INFO: TCP Data received {"connection_id":171804,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:54:11] local.INFO: Processing buffer {"connection_id":171804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:54:11] local.INFO: Packet analysis {"connection_id":171804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:54:11] local.INFO: Extracted packet for processing {"connection_id":171804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:54:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850186752001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:54:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788477593000,"timestamp_ms":1788477593000,"timestamp_seconds":1788477593,"priority":1,"record_length":96,"hex_timestamp":"000001a0699255a8"} 
[2026-09-04 04:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850186752001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850186752001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:54:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:54:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850186752001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":171804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:54:11] local.INFO: GPS data processed {"connection_id":171804,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:54:11] local.INFO: Acknowledgment sent {"connection_id":171804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:54:16] local.INFO: TCP Data received {"connection_id":171804,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:54:16] local.INFO: Processing buffer {"connection_id":171804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:54:16] local.INFO: Packet analysis {"connection_id":171804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:54:16] local.INFO: Extracted packet for processing {"connection_id":171804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:54:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850186752001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:54:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788477593000,"timestamp_ms":1788477593000,"timestamp_seconds":1788477593,"priority":1,"record_length":96,"hex_timestamp":"000001a0699255a8"} 
[2026-09-04 04:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850186752001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850186752001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:54:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:54:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:54:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850186752001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":171804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:54:16] local.INFO: GPS data processed {"connection_id":171804,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:54:16] local.INFO: Acknowledgment sent {"connection_id":171804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:55:00] local.INFO: TCP Data received {"connection_id":173110,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:55:00] local.INFO: Processing buffer {"connection_id":173110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:55:00] local.INFO: IMEI packet received {"connection_id":173110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":173110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:55:05] local.INFO: TCP Data received {"connection_id":173110,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:55:05] local.INFO: Processing buffer {"connection_id":173110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:55:05] local.INFO: IMEI packet received {"connection_id":173110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":173110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:55:06] local.INFO: TCP Data received {"connection_id":173110,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:55:06] local.INFO: Processing buffer {"connection_id":173110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699255a8012cee7040072e2b900035006224..."} 
[2026-09-04 04:55:06] local.INFO: Packet analysis {"connection_id":173110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:55:06] local.INFO: Extracted packet for processing {"connection_id":173110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06992"} 
[2026-09-04 04:55:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850186752001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:55:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788477593000,"timestamp_ms":1788477593000,"timestamp_seconds":1788477593,"priority":1,"record_length":96,"hex_timestamp":"000001a0699255a8"} 
[2026-09-04 04:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850186752001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850186752001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:55:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:55:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850186752001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":173110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:55:06] local.INFO: GPS data processed {"connection_id":173110,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:55:06] local.INFO: Acknowledgment sent {"connection_id":173110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:55:37] local.INFO: TCP Data received {"connection_id":173110,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:55:37] local.INFO: Processing buffer {"connection_id":173110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:55:37] local.INFO: Packet analysis {"connection_id":173110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:55:37] local.INFO: Extracted packet for processing {"connection_id":173110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:55:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850263808001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:55:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788477894000,"timestamp_ms":1788477894000,"timestamp_seconds":1788477894,"priority":1,"record_length":96,"hex_timestamp":"000001a06996ed70"} 
[2026-09-04 04:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850263808001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850263808001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:55:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:55:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850263808001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":173110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:55:37] local.INFO: GPS data processed {"connection_id":173110,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:55:37] local.INFO: Acknowledgment sent {"connection_id":173110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:56:01] local.INFO: TCP Data received {"connection_id":171805,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:56:01] local.INFO: Processing buffer {"connection_id":171805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:56:01] local.INFO: IMEI packet received {"connection_id":171805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":171805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:56:05] local.INFO: TCP Data received {"connection_id":171805,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:56:05] local.INFO: Processing buffer {"connection_id":171805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:56:05] local.INFO: IMEI packet received {"connection_id":171805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":171805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:56:06] local.INFO: TCP Data received {"connection_id":171805,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:56:06] local.INFO: Processing buffer {"connection_id":171805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:56:06] local.INFO: Packet analysis {"connection_id":171805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:56:06] local.INFO: Extracted packet for processing {"connection_id":171805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:56:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850263808001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788477894000,"timestamp_ms":1788477894000,"timestamp_seconds":1788477894,"priority":1,"record_length":96,"hex_timestamp":"000001a06996ed70"} 
[2026-09-04 04:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850263808001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850263808001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:56:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850263808001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":171805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:56:06] local.INFO: GPS data processed {"connection_id":171805,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:56:06] local.INFO: Acknowledgment sent {"connection_id":171805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:56:37] local.INFO: TCP Data received {"connection_id":171805,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:56:37] local.INFO: Processing buffer {"connection_id":171805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:56:37] local.INFO: Packet analysis {"connection_id":171805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:56:37] local.INFO: Extracted packet for processing {"connection_id":171805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:56:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850263808001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:56:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788477894000,"timestamp_ms":1788477894000,"timestamp_seconds":1788477894,"priority":1,"record_length":96,"hex_timestamp":"000001a06996ed70"} 
[2026-09-04 04:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850263808001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850263808001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:56:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:56:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850263808001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":171805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:56:37] local.INFO: GPS data processed {"connection_id":171805,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:56:37] local.INFO: Acknowledgment sent {"connection_id":171805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:57:00] local.INFO: TCP Data received {"connection_id":170399,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:57:00] local.INFO: Processing buffer {"connection_id":170399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:57:00] local.INFO: IMEI packet received {"connection_id":170399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":170399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:57:05] local.INFO: TCP Data received {"connection_id":170399,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:57:05] local.INFO: Processing buffer {"connection_id":170399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:57:05] local.INFO: IMEI packet received {"connection_id":170399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":170399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:57:06] local.INFO: TCP Data received {"connection_id":170399,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:57:06] local.INFO: Processing buffer {"connection_id":170399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:57:06] local.INFO: Packet analysis {"connection_id":170399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:57:06] local.INFO: Extracted packet for processing {"connection_id":170399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:57:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850263808001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:57:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788477894000,"timestamp_ms":1788477894000,"timestamp_seconds":1788477894,"priority":1,"record_length":96,"hex_timestamp":"000001a06996ed70"} 
[2026-09-04 04:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850263808001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850263808001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:57:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:57:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850263808001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":170399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:57:06] local.INFO: GPS data processed {"connection_id":170399,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:57:06] local.INFO: Acknowledgment sent {"connection_id":170399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:57:37] local.INFO: TCP Data received {"connection_id":170399,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:57:37] local.INFO: Processing buffer {"connection_id":170399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:57:37] local.INFO: Packet analysis {"connection_id":170399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:57:37] local.INFO: Extracted packet for processing {"connection_id":170399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:57:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850263808001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:57:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788477894000,"timestamp_ms":1788477894000,"timestamp_seconds":1788477894,"priority":1,"record_length":96,"hex_timestamp":"000001a06996ed70"} 
[2026-09-04 04:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850263808001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850263808001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:57:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:57:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850263808001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":170399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:57:37] local.INFO: GPS data processed {"connection_id":170399,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:57:37] local.INFO: Acknowledgment sent {"connection_id":170399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:58:00] local.INFO: TCP Data received {"connection_id":170400,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:58:00] local.INFO: Processing buffer {"connection_id":170400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:58:00] local.INFO: IMEI packet received {"connection_id":170400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":170400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:58:04] local.INFO: TCP Data received {"connection_id":171806,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:58:04] local.INFO: Processing buffer {"connection_id":171806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:58:04] local.INFO: IMEI packet received {"connection_id":171806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":171806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:58:05] local.INFO: TCP Data received {"connection_id":170400,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:58:05] local.INFO: Processing buffer {"connection_id":170400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:58:05] local.INFO: IMEI packet received {"connection_id":170400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 04:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":170400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 04:58:06] local.INFO: TCP Data received {"connection_id":170400,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:58:06] local.INFO: Processing buffer {"connection_id":170400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:58:06] local.INFO: Packet analysis {"connection_id":170400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:58:06] local.INFO: Extracted packet for processing {"connection_id":170400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:58:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850263808001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:58:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788477894000,"timestamp_ms":1788477894000,"timestamp_seconds":1788477894,"priority":1,"record_length":96,"hex_timestamp":"000001a06996ed70"} 
[2026-09-04 04:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850263808001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850263808001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:58:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:58:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850263808001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":170400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:58:06] local.INFO: GPS data processed {"connection_id":170400,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:58:06] local.INFO: Acknowledgment sent {"connection_id":170400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:58:37] local.INFO: TCP Data received {"connection_id":170400,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:58:37] local.INFO: Processing buffer {"connection_id":170400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:58:37] local.INFO: Packet analysis {"connection_id":170400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:58:37] local.INFO: Extracted packet for processing {"connection_id":170400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:58:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850263808001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:58:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788477894000,"timestamp_ms":1788477894000,"timestamp_seconds":1788477894,"priority":1,"record_length":96,"hex_timestamp":"000001a06996ed70"} 
[2026-09-04 04:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850263808001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850263808001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:58:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:58:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850263808001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":170400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:58:37] local.INFO: GPS data processed {"connection_id":170400,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:58:37] local.INFO: Acknowledgment sent {"connection_id":170400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:58:38] local.INFO: TCP Data received {"connection_id":171807,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:58:38] local.INFO: Processing buffer {"connection_id":171807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 04:58:38] local.INFO: IMEI packet received {"connection_id":171807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 04:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":171807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:59:05] local.INFO: TCP Data received {"connection_id":170706,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:59:05] local.INFO: Processing buffer {"connection_id":170706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 04:59:05] local.INFO: IMEI packet received {"connection_id":170706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 04:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":170706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 04:59:06] local.INFO: TCP Data received {"connection_id":170706,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:59:06] local.INFO: Processing buffer {"connection_id":170706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:59:06] local.INFO: Packet analysis {"connection_id":170706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:59:06] local.INFO: Extracted packet for processing {"connection_id":170706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:59:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850263808001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:59:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788477894000,"timestamp_ms":1788477894000,"timestamp_seconds":1788477894,"priority":1,"record_length":96,"hex_timestamp":"000001a06996ed70"} 
[2026-09-04 04:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850263808001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850263808001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:59:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:59:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850263808001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":170706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:59:06] local.INFO: GPS data processed {"connection_id":170706,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:59:06] local.INFO: Acknowledgment sent {"connection_id":170706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 04:59:37] local.INFO: TCP Data received {"connection_id":170706,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:59:37] local.INFO: Processing buffer {"connection_id":170706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 04:59:37] local.INFO: Packet analysis {"connection_id":170706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:59:37] local.INFO: Extracted packet for processing {"connection_id":170706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 04:59:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 04:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 04:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850263808001,"note":"Value kept but may cause issues"} 
[2026-09-04 04:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 04:59:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 04:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 04:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788477894000,"timestamp_ms":1788477894000,"timestamp_seconds":1788477894,"priority":1,"record_length":96,"hex_timestamp":"000001a06996ed70"} 
[2026-09-04 04:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 04:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 04:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 04:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 04:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 04:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 04:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 04:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 04:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 04:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 04:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 04:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 04:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850263808001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 04:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 04:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 04:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850263808001,"description":"Unknown IO ID 0"} 
[2026-09-04 04:59:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 04:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 04:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 04:59:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 04:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850263808001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 04:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":170706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 04:59:37] local.INFO: GPS data processed {"connection_id":170706,"processed":1,"errors":0,"total":1} 
[2026-09-04 04:59:37] local.INFO: Acknowledgment sent {"connection_id":170706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:00:05] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:00:05] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:00:05] local.INFO: IMEI packet received {"connection_id":173112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":173112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:00:10] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:00:10] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:00:10] local.INFO: IMEI packet received {"connection_id":173112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":173112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:00:11] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 05:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 05:00:11] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 05:00:11] local.INFO: Packet analysis {"connection_id":173112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 05:00:11] local.INFO: Extracted packet for processing {"connection_id":173112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 05:00:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850263808001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:00:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788477894000,"timestamp_ms":1788477894000,"timestamp_seconds":1788477894,"priority":1,"record_length":96,"hex_timestamp":"000001a06996ed70"} 
[2026-09-04 05:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850263808001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850263808001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:00:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:00:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850263808001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":173112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:00:11] local.INFO: GPS data processed {"connection_id":173112,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:00:11] local.INFO: Acknowledgment sent {"connection_id":173112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:00:16] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 05:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 05:00:16] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06996ed70012cee7040072e2b900035006228..."} 
[2026-09-04 05:00:16] local.INFO: Packet analysis {"connection_id":173112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 05:00:16] local.INFO: Extracted packet for processing {"connection_id":173112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06996"} 
[2026-09-04 05:00:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850263808001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:00:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788477894000,"timestamp_ms":1788477894000,"timestamp_seconds":1788477894,"priority":1,"record_length":96,"hex_timestamp":"000001a06996ed70"} 
[2026-09-04 05:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850263808001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850263808001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:00:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:00:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:00:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850263808001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":173112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:00:16] local.INFO: GPS data processed {"connection_id":173112,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:00:16] local.INFO: Acknowledgment sent {"connection_id":173112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:01:00] local.INFO: TCP Data received {"connection_id":173113,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:01:00] local.INFO: Processing buffer {"connection_id":173113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:01:00] local.INFO: IMEI packet received {"connection_id":173113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":173113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:01:05] local.INFO: TCP Data received {"connection_id":173113,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:01:05] local.INFO: Processing buffer {"connection_id":173113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:01:05] local.INFO: IMEI packet received {"connection_id":173113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":173113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:01:06] local.INFO: TCP Data received {"connection_id":173113,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:01:06] local.INFO: Processing buffer {"connection_id":173113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:01:06] local.INFO: Packet analysis {"connection_id":173113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:01:06] local.INFO: Extracted packet for processing {"connection_id":173113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:01:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850340864001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788478195000,"timestamp_ms":1788478195000,"timestamp_seconds":1788478195,"priority":1,"record_length":96,"hex_timestamp":"000001a0699b8538"} 
[2026-09-04 05:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850340864001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850340864001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:01:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850340864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":173113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:01:06] local.INFO: GPS data processed {"connection_id":173113,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:01:06] local.INFO: Acknowledgment sent {"connection_id":173113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:01:37] local.INFO: TCP Data received {"connection_id":173113,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:01:37] local.INFO: Processing buffer {"connection_id":173113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:01:37] local.INFO: Packet analysis {"connection_id":173113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:01:37] local.INFO: Extracted packet for processing {"connection_id":173113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:01:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850340864001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788478195000,"timestamp_ms":1788478195000,"timestamp_seconds":1788478195,"priority":1,"record_length":96,"hex_timestamp":"000001a0699b8538"} 
[2026-09-04 05:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850340864001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850340864001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:01:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850340864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":173113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:01:37] local.INFO: GPS data processed {"connection_id":173113,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:01:37] local.INFO: Acknowledgment sent {"connection_id":173113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:02:00] local.INFO: TCP Data received {"connection_id":170402,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:02:00] local.INFO: Processing buffer {"connection_id":170402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:02:00] local.INFO: IMEI packet received {"connection_id":170402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":170402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:02:05] local.INFO: TCP Data received {"connection_id":170402,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:02:05] local.INFO: Processing buffer {"connection_id":170402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:02:05] local.INFO: IMEI packet received {"connection_id":170402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":170402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:02:06] local.INFO: TCP Data received {"connection_id":170402,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:02:06] local.INFO: Processing buffer {"connection_id":170402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:02:06] local.INFO: Packet analysis {"connection_id":170402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:02:06] local.INFO: Extracted packet for processing {"connection_id":170402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:02:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850340864001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788478195000,"timestamp_ms":1788478195000,"timestamp_seconds":1788478195,"priority":1,"record_length":96,"hex_timestamp":"000001a0699b8538"} 
[2026-09-04 05:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850340864001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850340864001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:02:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850340864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":170402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:02:06] local.INFO: GPS data processed {"connection_id":170402,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:02:06] local.INFO: Acknowledgment sent {"connection_id":170402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:02:37] local.INFO: TCP Data received {"connection_id":170402,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:02:37] local.INFO: Processing buffer {"connection_id":170402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:02:37] local.INFO: Packet analysis {"connection_id":170402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:02:37] local.INFO: Extracted packet for processing {"connection_id":170402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:02:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850340864001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:02:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788478195000,"timestamp_ms":1788478195000,"timestamp_seconds":1788478195,"priority":1,"record_length":96,"hex_timestamp":"000001a0699b8538"} 
[2026-09-04 05:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850340864001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850340864001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:02:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:02:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850340864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":170402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:02:37] local.INFO: GPS data processed {"connection_id":170402,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:02:37] local.INFO: Acknowledgment sent {"connection_id":170402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:03:00] local.INFO: TCP Data received {"connection_id":170403,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:03:00] local.INFO: Processing buffer {"connection_id":170403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:03:00] local.INFO: IMEI packet received {"connection_id":170403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":170403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:03:05] local.INFO: TCP Data received {"connection_id":170403,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:03:05] local.INFO: Processing buffer {"connection_id":170403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:03:05] local.INFO: IMEI packet received {"connection_id":170403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":170403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:03:06] local.INFO: TCP Data received {"connection_id":170403,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:03:06] local.INFO: Processing buffer {"connection_id":170403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:03:06] local.INFO: Packet analysis {"connection_id":170403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:03:06] local.INFO: Extracted packet for processing {"connection_id":170403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:03:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850340864001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:03:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788478195000,"timestamp_ms":1788478195000,"timestamp_seconds":1788478195,"priority":1,"record_length":96,"hex_timestamp":"000001a0699b8538"} 
[2026-09-04 05:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850340864001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850340864001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:03:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:03:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850340864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":170403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:03:06] local.INFO: GPS data processed {"connection_id":170403,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:03:06] local.INFO: Acknowledgment sent {"connection_id":170403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:03:37] local.INFO: TCP Data received {"connection_id":170403,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:03:37] local.INFO: Processing buffer {"connection_id":170403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:03:37] local.INFO: Packet analysis {"connection_id":170403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:03:37] local.INFO: Extracted packet for processing {"connection_id":170403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:03:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850340864001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:03:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788478195000,"timestamp_ms":1788478195000,"timestamp_seconds":1788478195,"priority":1,"record_length":96,"hex_timestamp":"000001a0699b8538"} 
[2026-09-04 05:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850340864001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850340864001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:03:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:03:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850340864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":170403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:03:37] local.INFO: GPS data processed {"connection_id":170403,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:03:37] local.INFO: Acknowledgment sent {"connection_id":170403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:04:00] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:04:00] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:04:00] local.INFO: IMEI packet received {"connection_id":173114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":173114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:04:03] local.INFO: TCP Data received {"connection_id":170709,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:04:03] local.INFO: Processing buffer {"connection_id":170709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:04:03] local.INFO: IMEI packet received {"connection_id":170709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 05:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":170709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:04:05] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:04:05] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:04:05] local.INFO: IMEI packet received {"connection_id":173114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":173114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:04:06] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:04:06] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:04:06] local.INFO: Packet analysis {"connection_id":173114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:04:06] local.INFO: Extracted packet for processing {"connection_id":173114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:04:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850340864001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788478195000,"timestamp_ms":1788478195000,"timestamp_seconds":1788478195,"priority":1,"record_length":96,"hex_timestamp":"000001a0699b8538"} 
[2026-09-04 05:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850340864001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850340864001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:04:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850340864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":173114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:04:06] local.INFO: GPS data processed {"connection_id":173114,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:04:06] local.INFO: Acknowledgment sent {"connection_id":173114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:04:40] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:04:40] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:04:40] local.INFO: Packet analysis {"connection_id":173114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:04:40] local.INFO: Extracted packet for processing {"connection_id":173114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:04:40] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850340864001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788478195000,"timestamp_ms":1788478195000,"timestamp_seconds":1788478195,"priority":1,"record_length":96,"hex_timestamp":"000001a0699b8538"} 
[2026-09-04 05:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850340864001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850340864001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:04:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:04:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850340864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":173114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:04:40] local.INFO: GPS data processed {"connection_id":173114,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:04:40] local.INFO: Acknowledgment sent {"connection_id":173114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:04:43] local.INFO: TCP Data received {"connection_id":173115,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:04:43] local.INFO: Processing buffer {"connection_id":173115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:04:43] local.INFO: IMEI packet received {"connection_id":173115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 05:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":173115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:05:05] local.INFO: TCP Data received {"connection_id":170710,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:05:05] local.INFO: Processing buffer {"connection_id":170710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:05:05] local.INFO: IMEI packet received {"connection_id":170710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":170710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:05:10] local.INFO: TCP Data received {"connection_id":170710,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:05:10] local.INFO: Processing buffer {"connection_id":170710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:05:10] local.INFO: IMEI packet received {"connection_id":170710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":170710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:05:11] local.INFO: TCP Data received {"connection_id":170710,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:05:11] local.INFO: Processing buffer {"connection_id":170710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:05:11] local.INFO: Packet analysis {"connection_id":170710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:05:11] local.INFO: Extracted packet for processing {"connection_id":170710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:05:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850340864001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788478195000,"timestamp_ms":1788478195000,"timestamp_seconds":1788478195,"priority":1,"record_length":96,"hex_timestamp":"000001a0699b8538"} 
[2026-09-04 05:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850340864001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850340864001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:05:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850340864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":170710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:05:11] local.INFO: GPS data processed {"connection_id":170710,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:05:11] local.INFO: Acknowledgment sent {"connection_id":170710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:05:16] local.INFO: TCP Data received {"connection_id":170710,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:05:16] local.INFO: Processing buffer {"connection_id":170710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0699b8538012cee7040072e2b900035006227..."} 
[2026-09-04 05:05:16] local.INFO: Packet analysis {"connection_id":170710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:05:16] local.INFO: Extracted packet for processing {"connection_id":170710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0699b"} 
[2026-09-04 05:05:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850340864001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:05:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788478195000,"timestamp_ms":1788478195000,"timestamp_seconds":1788478195,"priority":1,"record_length":96,"hex_timestamp":"000001a0699b8538"} 
[2026-09-04 05:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850340864001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850340864001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:05:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:05:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:05:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850340864001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":170710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:05:16] local.INFO: GPS data processed {"connection_id":170710,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:05:16] local.INFO: Acknowledgment sent {"connection_id":170710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:06:00] local.INFO: TCP Data received {"connection_id":173116,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:06:00] local.INFO: Processing buffer {"connection_id":173116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:06:00] local.INFO: IMEI packet received {"connection_id":173116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":173116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:06:05] local.INFO: TCP Data received {"connection_id":173116,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:06:05] local.INFO: Processing buffer {"connection_id":173116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:06:05] local.INFO: IMEI packet received {"connection_id":173116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":173116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:06:06] local.INFO: TCP Data received {"connection_id":173116,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:06:06] local.INFO: Processing buffer {"connection_id":173116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:06:06] local.INFO: Packet analysis {"connection_id":173116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:06:06] local.INFO: Extracted packet for processing {"connection_id":173116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:06:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850417920001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788478496000,"timestamp_ms":1788478496000,"timestamp_seconds":1788478496,"priority":1,"record_length":96,"hex_timestamp":"000001a069a01d00"} 
[2026-09-04 05:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850417920001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850417920001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:06:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850417920001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":173116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:06:06] local.INFO: GPS data processed {"connection_id":173116,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:06:06] local.INFO: Acknowledgment sent {"connection_id":173116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:06:37] local.INFO: TCP Data received {"connection_id":173116,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:06:37] local.INFO: Processing buffer {"connection_id":173116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:06:37] local.INFO: Packet analysis {"connection_id":173116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:06:37] local.INFO: Extracted packet for processing {"connection_id":173116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:06:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850417920001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:06:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788478496000,"timestamp_ms":1788478496000,"timestamp_seconds":1788478496,"priority":1,"record_length":96,"hex_timestamp":"000001a069a01d00"} 
[2026-09-04 05:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850417920001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850417920001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:06:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:06:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850417920001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":173116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:06:37] local.INFO: GPS data processed {"connection_id":173116,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:06:37] local.INFO: Acknowledgment sent {"connection_id":173116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:07:00] local.INFO: TCP Data received {"connection_id":171809,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:07:00] local.INFO: Processing buffer {"connection_id":171809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:07:00] local.INFO: IMEI packet received {"connection_id":171809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":171809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:07:05] local.INFO: TCP Data received {"connection_id":171809,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:07:05] local.INFO: Processing buffer {"connection_id":171809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:07:05] local.INFO: IMEI packet received {"connection_id":171809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":171809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:07:06] local.INFO: TCP Data received {"connection_id":171809,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:07:06] local.INFO: Processing buffer {"connection_id":171809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:07:06] local.INFO: Packet analysis {"connection_id":171809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:07:06] local.INFO: Extracted packet for processing {"connection_id":171809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:07:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850417920001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:07:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788478496000,"timestamp_ms":1788478496000,"timestamp_seconds":1788478496,"priority":1,"record_length":96,"hex_timestamp":"000001a069a01d00"} 
[2026-09-04 05:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850417920001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850417920001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:07:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:07:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850417920001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":171809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:07:06] local.INFO: GPS data processed {"connection_id":171809,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:07:06] local.INFO: Acknowledgment sent {"connection_id":171809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:07:39] local.INFO: TCP Data received {"connection_id":171809,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:07:39] local.INFO: Processing buffer {"connection_id":171809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:07:39] local.INFO: Packet analysis {"connection_id":171809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:07:39] local.INFO: Extracted packet for processing {"connection_id":171809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:07:39] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850417920001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:07:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788478496000,"timestamp_ms":1788478496000,"timestamp_seconds":1788478496,"priority":1,"record_length":96,"hex_timestamp":"000001a069a01d00"} 
[2026-09-04 05:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850417920001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850417920001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:07:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:07:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:07:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850417920001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":171809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:07:39] local.INFO: GPS data processed {"connection_id":171809,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:07:39] local.INFO: Acknowledgment sent {"connection_id":171809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:08:05] local.INFO: TCP Data received {"connection_id":171810,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:08:05] local.INFO: Processing buffer {"connection_id":171810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:08:05] local.INFO: IMEI packet received {"connection_id":171810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":171810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:08:10] local.INFO: TCP Data received {"connection_id":171810,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:08:10] local.INFO: Processing buffer {"connection_id":171810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:08:10] local.INFO: IMEI packet received {"connection_id":171810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":171810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:08:11] local.INFO: TCP Data received {"connection_id":171810,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:08:11] local.INFO: Processing buffer {"connection_id":171810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:08:11] local.INFO: Packet analysis {"connection_id":171810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:08:11] local.INFO: Extracted packet for processing {"connection_id":171810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:08:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850417920001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:08:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788478496000,"timestamp_ms":1788478496000,"timestamp_seconds":1788478496,"priority":1,"record_length":96,"hex_timestamp":"000001a069a01d00"} 
[2026-09-04 05:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850417920001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850417920001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:08:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:08:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850417920001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":171810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:08:11] local.INFO: GPS data processed {"connection_id":171810,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:08:11] local.INFO: Acknowledgment sent {"connection_id":171810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:08:16] local.INFO: TCP Data received {"connection_id":171810,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:08:16] local.INFO: Processing buffer {"connection_id":171810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:08:16] local.INFO: Packet analysis {"connection_id":171810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:08:16] local.INFO: Extracted packet for processing {"connection_id":171810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:08:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850417920001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:08:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788478496000,"timestamp_ms":1788478496000,"timestamp_seconds":1788478496,"priority":1,"record_length":96,"hex_timestamp":"000001a069a01d00"} 
[2026-09-04 05:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850417920001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850417920001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:08:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:08:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850417920001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":171810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:08:16] local.INFO: GPS data processed {"connection_id":171810,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:08:16] local.INFO: Acknowledgment sent {"connection_id":171810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:09:00] local.INFO: TCP Data received {"connection_id":173117,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:09:00] local.INFO: Processing buffer {"connection_id":173117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:09:00] local.INFO: IMEI packet received {"connection_id":173117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":173117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:09:05] local.INFO: TCP Data received {"connection_id":173117,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:09:05] local.INFO: Processing buffer {"connection_id":173117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:09:05] local.INFO: IMEI packet received {"connection_id":173117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":173117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:09:06] local.INFO: TCP Data received {"connection_id":173117,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:09:06] local.INFO: Processing buffer {"connection_id":173117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:09:06] local.INFO: Packet analysis {"connection_id":173117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:09:06] local.INFO: Extracted packet for processing {"connection_id":173117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:09:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850417920001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788478496000,"timestamp_ms":1788478496000,"timestamp_seconds":1788478496,"priority":1,"record_length":96,"hex_timestamp":"000001a069a01d00"} 
[2026-09-04 05:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850417920001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850417920001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:09:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850417920001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":173117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:09:06] local.INFO: GPS data processed {"connection_id":173117,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:09:06] local.INFO: Acknowledgment sent {"connection_id":173117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:09:37] local.INFO: TCP Data received {"connection_id":173117,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:09:37] local.INFO: Processing buffer {"connection_id":173117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:09:37] local.INFO: Packet analysis {"connection_id":173117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:09:37] local.INFO: Extracted packet for processing {"connection_id":173117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:09:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850417920001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:09:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788478496000,"timestamp_ms":1788478496000,"timestamp_seconds":1788478496,"priority":1,"record_length":96,"hex_timestamp":"000001a069a01d00"} 
[2026-09-04 05:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850417920001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850417920001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:09:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:09:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850417920001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":173117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:09:37] local.INFO: GPS data processed {"connection_id":173117,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:09:37] local.INFO: Acknowledgment sent {"connection_id":173117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:10:01] local.INFO: TCP Data received {"connection_id":170405,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:10:01] local.INFO: Processing buffer {"connection_id":170405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:10:01] local.INFO: IMEI packet received {"connection_id":170405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":170405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:10:05] local.INFO: TCP Data received {"connection_id":170405,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:10:05] local.INFO: Processing buffer {"connection_id":170405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:10:05] local.INFO: IMEI packet received {"connection_id":170405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":170405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:10:06] local.INFO: TCP Data received {"connection_id":170405,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:10:06] local.INFO: Processing buffer {"connection_id":170405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a01d00012cee7040072e2b900035006227..."} 
[2026-09-04 05:10:06] local.INFO: Packet analysis {"connection_id":170405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:10:06] local.INFO: Extracted packet for processing {"connection_id":170405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a0"} 
[2026-09-04 05:10:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850417920001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:10:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788478496000,"timestamp_ms":1788478496000,"timestamp_seconds":1788478496,"priority":1,"record_length":96,"hex_timestamp":"000001a069a01d00"} 
[2026-09-04 05:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850417920001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850417920001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:10:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:10:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850417920001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":170405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:10:06] local.INFO: GPS data processed {"connection_id":170405,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:10:06] local.INFO: Acknowledgment sent {"connection_id":170405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:10:08] local.INFO: TCP Data received {"connection_id":170404,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:10:08] local.INFO: Processing buffer {"connection_id":170404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:10:08] local.INFO: IMEI packet received {"connection_id":170404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 05:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":170404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:10:37] local.INFO: TCP Data received {"connection_id":170405,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:10:37] local.INFO: Processing buffer {"connection_id":170405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:10:37] local.INFO: Packet analysis {"connection_id":170405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:10:37] local.INFO: Extracted packet for processing {"connection_id":170405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:10:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850494976001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:10:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788478797000,"timestamp_ms":1788478797000,"timestamp_seconds":1788478797,"priority":1,"record_length":96,"hex_timestamp":"000001a069a4b4c8"} 
[2026-09-04 05:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850494976001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850494976001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:10:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:10:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850494976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":170405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:10:37] local.INFO: GPS data processed {"connection_id":170405,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:10:37] local.INFO: Acknowledgment sent {"connection_id":170405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:10:41] local.INFO: TCP Data received {"connection_id":170406,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:10:41] local.INFO: Processing buffer {"connection_id":170406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:10:41] local.INFO: IMEI packet received {"connection_id":170406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 05:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":170406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:11:00] local.INFO: TCP Data received {"connection_id":170713,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:11:00] local.INFO: Processing buffer {"connection_id":170713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:11:00] local.INFO: IMEI packet received {"connection_id":170713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":170713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:11:05] local.INFO: TCP Data received {"connection_id":170713,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:11:05] local.INFO: Processing buffer {"connection_id":170713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:11:05] local.INFO: IMEI packet received {"connection_id":170713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":170713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:11:06] local.INFO: TCP Data received {"connection_id":170713,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:11:06] local.INFO: Processing buffer {"connection_id":170713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:11:06] local.INFO: Packet analysis {"connection_id":170713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:11:06] local.INFO: Extracted packet for processing {"connection_id":170713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:11:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850494976001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788478797000,"timestamp_ms":1788478797000,"timestamp_seconds":1788478797,"priority":1,"record_length":96,"hex_timestamp":"000001a069a4b4c8"} 
[2026-09-04 05:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850494976001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850494976001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:11:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850494976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":170713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:11:06] local.INFO: GPS data processed {"connection_id":170713,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:11:06] local.INFO: Acknowledgment sent {"connection_id":170713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:11:37] local.INFO: TCP Data received {"connection_id":170713,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:11:37] local.INFO: Processing buffer {"connection_id":170713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:11:37] local.INFO: Packet analysis {"connection_id":170713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:11:37] local.INFO: Extracted packet for processing {"connection_id":170713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:11:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850494976001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788478797000,"timestamp_ms":1788478797000,"timestamp_seconds":1788478797,"priority":1,"record_length":96,"hex_timestamp":"000001a069a4b4c8"} 
[2026-09-04 05:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850494976001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850494976001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:11:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850494976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":170713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:11:37] local.INFO: GPS data processed {"connection_id":170713,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:11:37] local.INFO: Acknowledgment sent {"connection_id":170713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:12:00] local.INFO: TCP Data received {"connection_id":170714,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:12:00] local.INFO: Processing buffer {"connection_id":170714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:12:00] local.INFO: IMEI packet received {"connection_id":170714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":170714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:12:05] local.INFO: TCP Data received {"connection_id":170714,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:12:05] local.INFO: Processing buffer {"connection_id":170714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:12:05] local.INFO: IMEI packet received {"connection_id":170714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":170714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:12:06] local.INFO: TCP Data received {"connection_id":170714,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:12:06] local.INFO: Processing buffer {"connection_id":170714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:12:06] local.INFO: Packet analysis {"connection_id":170714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:12:06] local.INFO: Extracted packet for processing {"connection_id":170714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:12:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850494976001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:12:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788478797000,"timestamp_ms":1788478797000,"timestamp_seconds":1788478797,"priority":1,"record_length":96,"hex_timestamp":"000001a069a4b4c8"} 
[2026-09-04 05:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850494976001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850494976001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:12:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:12:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850494976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":170714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:12:06] local.INFO: GPS data processed {"connection_id":170714,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:12:06] local.INFO: Acknowledgment sent {"connection_id":170714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:12:37] local.INFO: TCP Data received {"connection_id":170714,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:12:37] local.INFO: Processing buffer {"connection_id":170714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:12:37] local.INFO: Packet analysis {"connection_id":170714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:12:37] local.INFO: Extracted packet for processing {"connection_id":170714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:12:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850494976001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:12:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788478797000,"timestamp_ms":1788478797000,"timestamp_seconds":1788478797,"priority":1,"record_length":96,"hex_timestamp":"000001a069a4b4c8"} 
[2026-09-04 05:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850494976001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850494976001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:12:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:12:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850494976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":170714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:12:37] local.INFO: GPS data processed {"connection_id":170714,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:12:37] local.INFO: Acknowledgment sent {"connection_id":170714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:13:05] local.INFO: TCP Data received {"connection_id":170715,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:13:05] local.INFO: Processing buffer {"connection_id":170715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:13:05] local.INFO: IMEI packet received {"connection_id":170715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":170715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:13:10] local.INFO: TCP Data received {"connection_id":170715,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:13:10] local.INFO: Processing buffer {"connection_id":170715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:13:10] local.INFO: IMEI packet received {"connection_id":170715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":170715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:13:11] local.INFO: TCP Data received {"connection_id":170715,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:13:11] local.INFO: Processing buffer {"connection_id":170715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:13:11] local.INFO: Packet analysis {"connection_id":170715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:13:11] local.INFO: Extracted packet for processing {"connection_id":170715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:13:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850494976001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788478797000,"timestamp_ms":1788478797000,"timestamp_seconds":1788478797,"priority":1,"record_length":96,"hex_timestamp":"000001a069a4b4c8"} 
[2026-09-04 05:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850494976001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850494976001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:13:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850494976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":170715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:13:11] local.INFO: GPS data processed {"connection_id":170715,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:13:11] local.INFO: Acknowledgment sent {"connection_id":170715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:13:16] local.INFO: TCP Data received {"connection_id":170715,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:13:16] local.INFO: Processing buffer {"connection_id":170715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:13:16] local.INFO: Packet analysis {"connection_id":170715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:13:16] local.INFO: Extracted packet for processing {"connection_id":170715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:13:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850494976001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:13:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788478797000,"timestamp_ms":1788478797000,"timestamp_seconds":1788478797,"priority":1,"record_length":96,"hex_timestamp":"000001a069a4b4c8"} 
[2026-09-04 05:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850494976001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850494976001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:13:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:13:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:13:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850494976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":170715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:13:16] local.INFO: GPS data processed {"connection_id":170715,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:13:16] local.INFO: Acknowledgment sent {"connection_id":170715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:14:00] local.INFO: TCP Data received {"connection_id":170409,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:14:00] local.INFO: Processing buffer {"connection_id":170409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:14:00] local.INFO: IMEI packet received {"connection_id":170409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":170409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:14:05] local.INFO: TCP Data received {"connection_id":170409,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:14:05] local.INFO: Processing buffer {"connection_id":170409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:14:05] local.INFO: IMEI packet received {"connection_id":170409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":170409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:14:06] local.INFO: TCP Data received {"connection_id":170409,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:14:06] local.INFO: Processing buffer {"connection_id":170409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:14:06] local.INFO: Packet analysis {"connection_id":170409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:14:06] local.INFO: Extracted packet for processing {"connection_id":170409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:14:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850494976001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788478797000,"timestamp_ms":1788478797000,"timestamp_seconds":1788478797,"priority":1,"record_length":96,"hex_timestamp":"000001a069a4b4c8"} 
[2026-09-04 05:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850494976001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850494976001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:14:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850494976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":170409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:14:06] local.INFO: GPS data processed {"connection_id":170409,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:14:06] local.INFO: Acknowledgment sent {"connection_id":170409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:14:37] local.INFO: TCP Data received {"connection_id":170409,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:14:37] local.INFO: Processing buffer {"connection_id":170409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:14:37] local.INFO: Packet analysis {"connection_id":170409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:14:37] local.INFO: Extracted packet for processing {"connection_id":170409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:14:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850494976001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:14:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788478797000,"timestamp_ms":1788478797000,"timestamp_seconds":1788478797,"priority":1,"record_length":96,"hex_timestamp":"000001a069a4b4c8"} 
[2026-09-04 05:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850494976001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850494976001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:14:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:14:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850494976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":170409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:14:37] local.INFO: GPS data processed {"connection_id":170409,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:14:37] local.INFO: Acknowledgment sent {"connection_id":170409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:15:00] local.INFO: TCP Data received {"connection_id":170716,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:15:00] local.INFO: Processing buffer {"connection_id":170716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:15:00] local.INFO: IMEI packet received {"connection_id":170716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":170716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:15:05] local.INFO: TCP Data received {"connection_id":170716,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:15:05] local.INFO: Processing buffer {"connection_id":170716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:15:05] local.INFO: IMEI packet received {"connection_id":170716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":170716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:15:06] local.INFO: TCP Data received {"connection_id":170716,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:15:06] local.INFO: Processing buffer {"connection_id":170716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a4b4c8012cee7040072e2b900035006228..."} 
[2026-09-04 05:15:06] local.INFO: Packet analysis {"connection_id":170716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:15:06] local.INFO: Extracted packet for processing {"connection_id":170716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a4"} 
[2026-09-04 05:15:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850494976001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:15:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788478797000,"timestamp_ms":1788478797000,"timestamp_seconds":1788478797,"priority":1,"record_length":96,"hex_timestamp":"000001a069a4b4c8"} 
[2026-09-04 05:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850494976001,"66":25778,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850494976001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:15:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:15:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850494976001,"power":25778,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":170716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:15:06] local.INFO: GPS data processed {"connection_id":170716,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:15:06] local.INFO: Acknowledgment sent {"connection_id":170716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:15:37] local.INFO: TCP Data received {"connection_id":170716,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:15:37] local.INFO: Processing buffer {"connection_id":170716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:15:37] local.INFO: Packet analysis {"connection_id":170716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:15:37] local.INFO: Extracted packet for processing {"connection_id":170716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:15:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850572032001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788479098000,"timestamp_ms":1788479098000,"timestamp_seconds":1788479098,"priority":1,"record_length":96,"hex_timestamp":"000001a069a94c90"} 
[2026-09-04 05:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850572032001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850572032001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:15:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850572032001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":170716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:15:37] local.INFO: GPS data processed {"connection_id":170716,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:15:37] local.INFO: Acknowledgment sent {"connection_id":170716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:16:00] local.INFO: TCP Data received {"connection_id":171815,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:16:00] local.INFO: Processing buffer {"connection_id":171815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:16:00] local.INFO: IMEI packet received {"connection_id":171815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":171815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:16:03] local.INFO: TCP Data received {"connection_id":171814,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:16:03] local.INFO: Processing buffer {"connection_id":171814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:16:03] local.INFO: IMEI packet received {"connection_id":171814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 05:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":171814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:16:05] local.INFO: TCP Data received {"connection_id":171815,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:16:05] local.INFO: Processing buffer {"connection_id":171815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:16:05] local.INFO: IMEI packet received {"connection_id":171815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":171815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:16:06] local.INFO: TCP Data received {"connection_id":171815,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:16:06] local.INFO: Processing buffer {"connection_id":171815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:16:06] local.INFO: Packet analysis {"connection_id":171815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:16:06] local.INFO: Extracted packet for processing {"connection_id":171815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:16:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850572032001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:16:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788479098000,"timestamp_ms":1788479098000,"timestamp_seconds":1788479098,"priority":1,"record_length":96,"hex_timestamp":"000001a069a94c90"} 
[2026-09-04 05:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850572032001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850572032001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:16:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:16:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850572032001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":171815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:16:06] local.INFO: GPS data processed {"connection_id":171815,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:16:06] local.INFO: Acknowledgment sent {"connection_id":171815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:16:37] local.INFO: TCP Data received {"connection_id":171815,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:16:37] local.INFO: Processing buffer {"connection_id":171815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:16:37] local.INFO: Packet analysis {"connection_id":171815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:16:37] local.INFO: Extracted packet for processing {"connection_id":171815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:16:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850572032001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:16:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788479098000,"timestamp_ms":1788479098000,"timestamp_seconds":1788479098,"priority":1,"record_length":96,"hex_timestamp":"000001a069a94c90"} 
[2026-09-04 05:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850572032001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850572032001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:16:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:16:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850572032001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":171815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:16:37] local.INFO: GPS data processed {"connection_id":171815,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:16:37] local.INFO: Acknowledgment sent {"connection_id":171815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:16:38] local.INFO: TCP Data received {"connection_id":170410,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:16:38] local.INFO: Processing buffer {"connection_id":170410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:16:38] local.INFO: IMEI packet received {"connection_id":170410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 05:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":170410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:17:00] local.INFO: TCP Data received {"connection_id":170411,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:17:00] local.INFO: Processing buffer {"connection_id":170411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:17:00] local.INFO: IMEI packet received {"connection_id":170411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":170411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:17:05] local.INFO: TCP Data received {"connection_id":170411,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:17:05] local.INFO: Processing buffer {"connection_id":170411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:17:05] local.INFO: IMEI packet received {"connection_id":170411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":170411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:17:06] local.INFO: TCP Data received {"connection_id":170411,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:17:06] local.INFO: Processing buffer {"connection_id":170411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:17:06] local.INFO: Packet analysis {"connection_id":170411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:17:06] local.INFO: Extracted packet for processing {"connection_id":170411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:17:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850572032001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:17:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788479098000,"timestamp_ms":1788479098000,"timestamp_seconds":1788479098,"priority":1,"record_length":96,"hex_timestamp":"000001a069a94c90"} 
[2026-09-04 05:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850572032001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850572032001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:17:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850572032001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":170411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:17:06] local.INFO: GPS data processed {"connection_id":170411,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:17:06] local.INFO: Acknowledgment sent {"connection_id":170411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:17:37] local.INFO: TCP Data received {"connection_id":170411,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:17:37] local.INFO: Processing buffer {"connection_id":170411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:17:37] local.INFO: Packet analysis {"connection_id":170411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:17:37] local.INFO: Extracted packet for processing {"connection_id":170411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:17:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850572032001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:17:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788479098000,"timestamp_ms":1788479098000,"timestamp_seconds":1788479098,"priority":1,"record_length":96,"hex_timestamp":"000001a069a94c90"} 
[2026-09-04 05:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850572032001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850572032001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:17:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:17:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850572032001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":170411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:17:37] local.INFO: GPS data processed {"connection_id":170411,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:17:37] local.INFO: Acknowledgment sent {"connection_id":170411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:18:05] local.INFO: TCP Data received {"connection_id":173119,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:18:05] local.INFO: Processing buffer {"connection_id":173119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:18:05] local.INFO: IMEI packet received {"connection_id":173119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":173119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:18:10] local.INFO: TCP Data received {"connection_id":173119,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:18:10] local.INFO: Processing buffer {"connection_id":173119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:18:10] local.INFO: IMEI packet received {"connection_id":173119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":173119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:18:11] local.INFO: TCP Data received {"connection_id":173119,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:18:11] local.INFO: Processing buffer {"connection_id":173119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:18:11] local.INFO: Packet analysis {"connection_id":173119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:18:11] local.INFO: Extracted packet for processing {"connection_id":173119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:18:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850572032001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788479098000,"timestamp_ms":1788479098000,"timestamp_seconds":1788479098,"priority":1,"record_length":96,"hex_timestamp":"000001a069a94c90"} 
[2026-09-04 05:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850572032001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850572032001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:18:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850572032001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":173119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:18:11] local.INFO: GPS data processed {"connection_id":173119,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:18:11] local.INFO: Acknowledgment sent {"connection_id":173119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:18:16] local.INFO: TCP Data received {"connection_id":173119,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:18:16] local.INFO: Processing buffer {"connection_id":173119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:18:16] local.INFO: Packet analysis {"connection_id":173119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:18:16] local.INFO: Extracted packet for processing {"connection_id":173119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:18:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850572032001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:18:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788479098000,"timestamp_ms":1788479098000,"timestamp_seconds":1788479098,"priority":1,"record_length":96,"hex_timestamp":"000001a069a94c90"} 
[2026-09-04 05:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850572032001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850572032001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:18:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:18:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850572032001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":173119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:18:16] local.INFO: GPS data processed {"connection_id":173119,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:18:16] local.INFO: Acknowledgment sent {"connection_id":173119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:19:00] local.INFO: TCP Data received {"connection_id":171816,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:19:00] local.INFO: Processing buffer {"connection_id":171816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:19:00] local.INFO: IMEI packet received {"connection_id":171816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":171816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:19:05] local.INFO: TCP Data received {"connection_id":171816,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:19:05] local.INFO: Processing buffer {"connection_id":171816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:19:05] local.INFO: IMEI packet received {"connection_id":171816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":171816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:19:06] local.INFO: TCP Data received {"connection_id":171816,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:19:06] local.INFO: Processing buffer {"connection_id":171816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:19:06] local.INFO: Packet analysis {"connection_id":171816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:19:06] local.INFO: Extracted packet for processing {"connection_id":171816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:19:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850572032001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788479098000,"timestamp_ms":1788479098000,"timestamp_seconds":1788479098,"priority":1,"record_length":96,"hex_timestamp":"000001a069a94c90"} 
[2026-09-04 05:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850572032001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850572032001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:19:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850572032001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":171816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:19:06] local.INFO: GPS data processed {"connection_id":171816,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:19:06] local.INFO: Acknowledgment sent {"connection_id":171816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:19:37] local.INFO: TCP Data received {"connection_id":171816,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:19:37] local.INFO: Processing buffer {"connection_id":171816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:19:37] local.INFO: Packet analysis {"connection_id":171816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:19:37] local.INFO: Extracted packet for processing {"connection_id":171816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:19:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850572032001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:19:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788479098000,"timestamp_ms":1788479098000,"timestamp_seconds":1788479098,"priority":1,"record_length":96,"hex_timestamp":"000001a069a94c90"} 
[2026-09-04 05:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850572032001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850572032001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:19:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:19:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850572032001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":171816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:19:37] local.INFO: GPS data processed {"connection_id":171816,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:19:37] local.INFO: Acknowledgment sent {"connection_id":171816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:20:00] local.INFO: TCP Data received {"connection_id":173120,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:20:00] local.INFO: Processing buffer {"connection_id":173120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:20:00] local.INFO: IMEI packet received {"connection_id":173120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":173120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:20:05] local.INFO: TCP Data received {"connection_id":173120,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:20:05] local.INFO: Processing buffer {"connection_id":173120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:20:05] local.INFO: IMEI packet received {"connection_id":173120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":173120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:20:06] local.INFO: TCP Data received {"connection_id":173120,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:20:06] local.INFO: Processing buffer {"connection_id":173120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:20:06] local.INFO: Packet analysis {"connection_id":173120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:20:06] local.INFO: Extracted packet for processing {"connection_id":173120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:20:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850572032001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788479098000,"timestamp_ms":1788479098000,"timestamp_seconds":1788479098,"priority":1,"record_length":96,"hex_timestamp":"000001a069a94c90"} 
[2026-09-04 05:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850572032001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850572032001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:20:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850572032001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":173120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:20:06] local.INFO: GPS data processed {"connection_id":173120,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:20:06] local.INFO: Acknowledgment sent {"connection_id":173120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:20:37] local.INFO: TCP Data received {"connection_id":173120,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:20:37] local.INFO: Processing buffer {"connection_id":173120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069a94c90012cee7040072e2b90003500622a..."} 
[2026-09-04 05:20:37] local.INFO: Packet analysis {"connection_id":173120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:20:37] local.INFO: Extracted packet for processing {"connection_id":173120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069a9"} 
[2026-09-04 05:20:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850572032001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788479098000,"timestamp_ms":1788479098000,"timestamp_seconds":1788479098,"priority":1,"record_length":96,"hex_timestamp":"000001a069a94c90"} 
[2026-09-04 05:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 05:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850572032001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850572032001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:20:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850572032001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":173120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:20:37] local.INFO: GPS data processed {"connection_id":173120,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:20:37] local.INFO: Acknowledgment sent {"connection_id":173120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:21:00] local.INFO: TCP Data received {"connection_id":171818,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:21:00] local.INFO: Processing buffer {"connection_id":171818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:21:00] local.INFO: IMEI packet received {"connection_id":171818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":171818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:21:05] local.INFO: TCP Data received {"connection_id":171818,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:21:05] local.INFO: Processing buffer {"connection_id":171818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:21:05] local.INFO: IMEI packet received {"connection_id":171818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":171818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:21:06] local.INFO: TCP Data received {"connection_id":171818,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:21:06] local.INFO: Processing buffer {"connection_id":171818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:21:06] local.INFO: Packet analysis {"connection_id":171818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:21:06] local.INFO: Extracted packet for processing {"connection_id":171818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:21:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850649088001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:21:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788479399000,"timestamp_ms":1788479399000,"timestamp_seconds":1788479399,"priority":1,"record_length":96,"hex_timestamp":"000001a069ade458"} 
[2026-09-04 05:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850649088001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850649088001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:21:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:21:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850649088001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":171818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:21:06] local.INFO: GPS data processed {"connection_id":171818,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:21:06] local.INFO: Acknowledgment sent {"connection_id":171818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:21:37] local.INFO: TCP Data received {"connection_id":171818,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:21:37] local.INFO: Processing buffer {"connection_id":171818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:21:37] local.INFO: Packet analysis {"connection_id":171818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:21:37] local.INFO: Extracted packet for processing {"connection_id":171818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:21:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850649088001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788479399000,"timestamp_ms":1788479399000,"timestamp_seconds":1788479399,"priority":1,"record_length":96,"hex_timestamp":"000001a069ade458"} 
[2026-09-04 05:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850649088001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850649088001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:21:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850649088001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":171818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:21:37] local.INFO: GPS data processed {"connection_id":171818,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:21:37] local.INFO: Acknowledgment sent {"connection_id":171818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:21:53] local.INFO: TCP Data received {"connection_id":173121,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:21:53] local.INFO: Processing buffer {"connection_id":173121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:21:53] local.INFO: IMEI packet received {"connection_id":173121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 05:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":173121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:22:00] local.INFO: TCP Data received {"connection_id":170414,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:22:00] local.INFO: Processing buffer {"connection_id":170414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:22:00] local.INFO: IMEI packet received {"connection_id":170414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":170414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:22:05] local.INFO: TCP Data received {"connection_id":170414,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:22:05] local.INFO: Processing buffer {"connection_id":170414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:22:05] local.INFO: IMEI packet received {"connection_id":170414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":170414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:22:06] local.INFO: TCP Data received {"connection_id":170414,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:22:06] local.INFO: Processing buffer {"connection_id":170414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:22:06] local.INFO: Packet analysis {"connection_id":170414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:22:06] local.INFO: Extracted packet for processing {"connection_id":170414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:22:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850649088001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:22:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788479399000,"timestamp_ms":1788479399000,"timestamp_seconds":1788479399,"priority":1,"record_length":96,"hex_timestamp":"000001a069ade458"} 
[2026-09-04 05:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850649088001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850649088001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:22:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:22:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850649088001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":170414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:22:06] local.INFO: GPS data processed {"connection_id":170414,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:22:06] local.INFO: Acknowledgment sent {"connection_id":170414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:22:36] local.INFO: TCP Data received {"connection_id":170414,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:22:36] local.INFO: Processing buffer {"connection_id":170414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:22:36] local.INFO: Packet analysis {"connection_id":170414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:22:36] local.INFO: Extracted packet for processing {"connection_id":170414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:22:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850649088001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:22:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788479399000,"timestamp_ms":1788479399000,"timestamp_seconds":1788479399,"priority":1,"record_length":96,"hex_timestamp":"000001a069ade458"} 
[2026-09-04 05:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850649088001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850649088001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:22:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:22:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850649088001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":170414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:22:36] local.INFO: GPS data processed {"connection_id":170414,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:22:36] local.INFO: Acknowledgment sent {"connection_id":170414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:22:43] local.INFO: TCP Data received {"connection_id":170415,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:22:43] local.INFO: Processing buffer {"connection_id":170415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:22:43] local.INFO: IMEI packet received {"connection_id":170415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 05:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":170415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:23:05] local.INFO: TCP Data received {"connection_id":171819,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:23:05] local.INFO: Processing buffer {"connection_id":171819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:23:05] local.INFO: IMEI packet received {"connection_id":171819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":171819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:23:10] local.INFO: TCP Data received {"connection_id":171819,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:23:10] local.INFO: Processing buffer {"connection_id":171819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:23:10] local.INFO: IMEI packet received {"connection_id":171819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":171819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:23:11] local.INFO: TCP Data received {"connection_id":171819,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:23:11] local.INFO: Processing buffer {"connection_id":171819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:23:11] local.INFO: Packet analysis {"connection_id":171819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:23:11] local.INFO: Extracted packet for processing {"connection_id":171819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:23:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850649088001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788479399000,"timestamp_ms":1788479399000,"timestamp_seconds":1788479399,"priority":1,"record_length":96,"hex_timestamp":"000001a069ade458"} 
[2026-09-04 05:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850649088001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850649088001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:23:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850649088001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":171819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:23:11] local.INFO: GPS data processed {"connection_id":171819,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:23:11] local.INFO: Acknowledgment sent {"connection_id":171819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:23:16] local.INFO: TCP Data received {"connection_id":171819,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:23:16] local.INFO: Processing buffer {"connection_id":171819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:23:16] local.INFO: Packet analysis {"connection_id":171819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:23:16] local.INFO: Extracted packet for processing {"connection_id":171819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:23:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850649088001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:23:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788479399000,"timestamp_ms":1788479399000,"timestamp_seconds":1788479399,"priority":1,"record_length":96,"hex_timestamp":"000001a069ade458"} 
[2026-09-04 05:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850649088001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850649088001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:23:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:23:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850649088001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":171819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:23:16] local.INFO: GPS data processed {"connection_id":171819,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:23:16] local.INFO: Acknowledgment sent {"connection_id":171819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:24:00] local.INFO: TCP Data received {"connection_id":173123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:24:00] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:24:00] local.INFO: IMEI packet received {"connection_id":173123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":173123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:24:05] local.INFO: TCP Data received {"connection_id":173123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:24:05] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:24:05] local.INFO: IMEI packet received {"connection_id":173123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":173123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:24:06] local.INFO: TCP Data received {"connection_id":173123,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:24:06] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:24:06] local.INFO: Packet analysis {"connection_id":173123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:24:06] local.INFO: Extracted packet for processing {"connection_id":173123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:24:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850649088001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:24:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788479399000,"timestamp_ms":1788479399000,"timestamp_seconds":1788479399,"priority":1,"record_length":96,"hex_timestamp":"000001a069ade458"} 
[2026-09-04 05:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850649088001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850649088001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:24:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:24:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850649088001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":173123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:24:06] local.INFO: GPS data processed {"connection_id":173123,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:24:06] local.INFO: Acknowledgment sent {"connection_id":173123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:24:37] local.INFO: TCP Data received {"connection_id":173123,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:24:37] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:24:37] local.INFO: Packet analysis {"connection_id":173123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:24:37] local.INFO: Extracted packet for processing {"connection_id":173123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:24:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850649088001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:24:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788479399000,"timestamp_ms":1788479399000,"timestamp_seconds":1788479399,"priority":1,"record_length":96,"hex_timestamp":"000001a069ade458"} 
[2026-09-04 05:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850649088001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850649088001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:24:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:24:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850649088001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":173123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:24:37] local.INFO: GPS data processed {"connection_id":173123,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:24:37] local.INFO: Acknowledgment sent {"connection_id":173123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:25:01] local.INFO: TCP Data received {"connection_id":171821,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:25:01] local.INFO: Processing buffer {"connection_id":171821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:25:01] local.INFO: IMEI packet received {"connection_id":171821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":171821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:25:05] local.INFO: TCP Data received {"connection_id":171821,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:25:05] local.INFO: Processing buffer {"connection_id":171821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:25:05] local.INFO: IMEI packet received {"connection_id":171821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":171821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:25:06] local.INFO: TCP Data received {"connection_id":171821,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:25:06] local.INFO: Processing buffer {"connection_id":171821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:25:06] local.INFO: Packet analysis {"connection_id":171821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:25:06] local.INFO: Extracted packet for processing {"connection_id":171821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:25:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850649088001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:25:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788479399000,"timestamp_ms":1788479399000,"timestamp_seconds":1788479399,"priority":1,"record_length":96,"hex_timestamp":"000001a069ade458"} 
[2026-09-04 05:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850649088001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850649088001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:25:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:25:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850649088001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":171821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:25:06] local.INFO: GPS data processed {"connection_id":171821,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:25:06] local.INFO: Acknowledgment sent {"connection_id":171821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:25:37] local.INFO: TCP Data received {"connection_id":171821,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:25:37] local.INFO: Processing buffer {"connection_id":171821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ade458012cee7040072e2b900035006226..."} 
[2026-09-04 05:25:37] local.INFO: Packet analysis {"connection_id":171821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:25:37] local.INFO: Extracted packet for processing {"connection_id":171821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ad"} 
[2026-09-04 05:25:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850649088001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:25:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788479399000,"timestamp_ms":1788479399000,"timestamp_seconds":1788479399,"priority":1,"record_length":96,"hex_timestamp":"000001a069ade458"} 
[2026-09-04 05:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850649088001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850649088001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:25:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:25:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850649088001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":171821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:25:37] local.INFO: GPS data processed {"connection_id":171821,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:25:37] local.INFO: Acknowledgment sent {"connection_id":171821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:26:00] local.INFO: TCP Data received {"connection_id":170417,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:26:00] local.INFO: Processing buffer {"connection_id":170417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:26:00] local.INFO: IMEI packet received {"connection_id":170417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":170417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:26:05] local.INFO: TCP Data received {"connection_id":170417,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:26:05] local.INFO: Processing buffer {"connection_id":170417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:26:05] local.INFO: IMEI packet received {"connection_id":170417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":170417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:26:06] local.INFO: TCP Data received {"connection_id":170417,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:26:06] local.INFO: Processing buffer {"connection_id":170417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:26:06] local.INFO: Packet analysis {"connection_id":170417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:26:06] local.INFO: Extracted packet for processing {"connection_id":170417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:26:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850726144001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788479700000,"timestamp_ms":1788479700000,"timestamp_seconds":1788479700,"priority":1,"record_length":96,"hex_timestamp":"000001a069b27c20"} 
[2026-09-04 05:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850726144001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850726144001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:26:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850726144001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":170417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:26:06] local.INFO: GPS data processed {"connection_id":170417,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:26:06] local.INFO: Acknowledgment sent {"connection_id":170417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:26:37] local.INFO: TCP Data received {"connection_id":170417,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:26:37] local.INFO: Processing buffer {"connection_id":170417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:26:37] local.INFO: Packet analysis {"connection_id":170417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:26:37] local.INFO: Extracted packet for processing {"connection_id":170417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:26:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850726144001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788479700000,"timestamp_ms":1788479700000,"timestamp_seconds":1788479700,"priority":1,"record_length":96,"hex_timestamp":"000001a069b27c20"} 
[2026-09-04 05:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850726144001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850726144001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:26:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850726144001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":170417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:26:37] local.INFO: GPS data processed {"connection_id":170417,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:26:37] local.INFO: Acknowledgment sent {"connection_id":170417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:27:00] local.INFO: TCP Data received {"connection_id":171822,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:27:00] local.INFO: Processing buffer {"connection_id":171822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:27:00] local.INFO: IMEI packet received {"connection_id":171822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":171822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:27:05] local.INFO: TCP Data received {"connection_id":171822,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:27:05] local.INFO: Processing buffer {"connection_id":171822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:27:05] local.INFO: IMEI packet received {"connection_id":171822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":171822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:27:06] local.INFO: TCP Data received {"connection_id":171822,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:27:06] local.INFO: Processing buffer {"connection_id":171822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:27:06] local.INFO: Packet analysis {"connection_id":171822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:27:06] local.INFO: Extracted packet for processing {"connection_id":171822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:27:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850726144001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:27:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788479700000,"timestamp_ms":1788479700000,"timestamp_seconds":1788479700,"priority":1,"record_length":96,"hex_timestamp":"000001a069b27c20"} 
[2026-09-04 05:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850726144001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850726144001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:27:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:27:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850726144001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":171822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:27:06] local.INFO: GPS data processed {"connection_id":171822,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:27:06] local.INFO: Acknowledgment sent {"connection_id":171822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:27:37] local.INFO: TCP Data received {"connection_id":171822,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:27:37] local.INFO: Processing buffer {"connection_id":171822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:27:37] local.INFO: Packet analysis {"connection_id":171822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:27:37] local.INFO: Extracted packet for processing {"connection_id":171822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:27:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850726144001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:27:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788479700000,"timestamp_ms":1788479700000,"timestamp_seconds":1788479700,"priority":1,"record_length":96,"hex_timestamp":"000001a069b27c20"} 
[2026-09-04 05:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850726144001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850726144001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:27:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:27:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850726144001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":171822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:27:37] local.INFO: GPS data processed {"connection_id":171822,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:27:37] local.INFO: Acknowledgment sent {"connection_id":171822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:28:05] local.INFO: TCP Data received {"connection_id":173125,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:28:05] local.INFO: Processing buffer {"connection_id":173125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:28:05] local.INFO: IMEI packet received {"connection_id":173125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":173125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:28:10] local.INFO: TCP Data received {"connection_id":173125,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:28:10] local.INFO: Processing buffer {"connection_id":173125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:28:10] local.INFO: IMEI packet received {"connection_id":173125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":173125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:28:11] local.INFO: TCP Data received {"connection_id":173125,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:28:11] local.INFO: Processing buffer {"connection_id":173125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:28:11] local.INFO: Packet analysis {"connection_id":173125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:28:11] local.INFO: Extracted packet for processing {"connection_id":173125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:28:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850726144001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788479700000,"timestamp_ms":1788479700000,"timestamp_seconds":1788479700,"priority":1,"record_length":96,"hex_timestamp":"000001a069b27c20"} 
[2026-09-04 05:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850726144001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850726144001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:28:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:28:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850726144001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":173125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:28:11] local.INFO: GPS data processed {"connection_id":173125,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:28:11] local.INFO: Acknowledgment sent {"connection_id":173125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:28:14] local.INFO: TCP Data received {"connection_id":170717,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:28:14] local.INFO: Processing buffer {"connection_id":170717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:28:14] local.INFO: IMEI packet received {"connection_id":170717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 05:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":170717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:28:16] local.INFO: TCP Data received {"connection_id":173125,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:28:16] local.INFO: Processing buffer {"connection_id":173125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:28:16] local.INFO: Packet analysis {"connection_id":173125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:28:16] local.INFO: Extracted packet for processing {"connection_id":173125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:28:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850726144001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:28:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788479700000,"timestamp_ms":1788479700000,"timestamp_seconds":1788479700,"priority":1,"record_length":96,"hex_timestamp":"000001a069b27c20"} 
[2026-09-04 05:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850726144001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850726144001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:28:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:28:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:28:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850726144001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":173125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:28:16] local.INFO: GPS data processed {"connection_id":173125,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:28:16] local.INFO: Acknowledgment sent {"connection_id":173125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:28:38] local.INFO: TCP Data received {"connection_id":171823,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:28:38] local.INFO: Processing buffer {"connection_id":171823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 05:28:38] local.INFO: IMEI packet received {"connection_id":171823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 05:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":171823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:29:00] local.INFO: TCP Data received {"connection_id":170419,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:29:00] local.INFO: Processing buffer {"connection_id":170419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:29:00] local.INFO: IMEI packet received {"connection_id":170419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":170419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:29:05] local.INFO: TCP Data received {"connection_id":170419,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:29:05] local.INFO: Processing buffer {"connection_id":170419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:29:05] local.INFO: IMEI packet received {"connection_id":170419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":170419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:29:06] local.INFO: TCP Data received {"connection_id":170419,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:29:06] local.INFO: Processing buffer {"connection_id":170419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:29:06] local.INFO: Packet analysis {"connection_id":170419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:29:06] local.INFO: Extracted packet for processing {"connection_id":170419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:29:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850726144001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788479700000,"timestamp_ms":1788479700000,"timestamp_seconds":1788479700,"priority":1,"record_length":96,"hex_timestamp":"000001a069b27c20"} 
[2026-09-04 05:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850726144001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850726144001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:29:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850726144001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":170419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:29:06] local.INFO: GPS data processed {"connection_id":170419,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:29:06] local.INFO: Acknowledgment sent {"connection_id":170419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:29:37] local.INFO: TCP Data received {"connection_id":170419,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:29:37] local.INFO: Processing buffer {"connection_id":170419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:29:37] local.INFO: Packet analysis {"connection_id":170419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:29:37] local.INFO: Extracted packet for processing {"connection_id":170419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:29:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850726144001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:29:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788479700000,"timestamp_ms":1788479700000,"timestamp_seconds":1788479700,"priority":1,"record_length":96,"hex_timestamp":"000001a069b27c20"} 
[2026-09-04 05:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850726144001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850726144001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:29:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:29:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850726144001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":170419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:29:37] local.INFO: GPS data processed {"connection_id":170419,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:29:37] local.INFO: Acknowledgment sent {"connection_id":170419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:30:00] local.INFO: TCP Data received {"connection_id":170719,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:30:00] local.INFO: Processing buffer {"connection_id":170719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:30:00] local.INFO: IMEI packet received {"connection_id":170719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":170719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:30:06] local.INFO: TCP Data received {"connection_id":170719,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:30:06] local.INFO: Processing buffer {"connection_id":170719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:30:06] local.INFO: IMEI packet received {"connection_id":170719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":170719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:30:06] local.INFO: TCP Data received {"connection_id":170719,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:30:06] local.INFO: Processing buffer {"connection_id":170719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:30:06] local.INFO: Packet analysis {"connection_id":170719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:30:06] local.INFO: Extracted packet for processing {"connection_id":170719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:30:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850726144001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:30:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788479700000,"timestamp_ms":1788479700000,"timestamp_seconds":1788479700,"priority":1,"record_length":96,"hex_timestamp":"000001a069b27c20"} 
[2026-09-04 05:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850726144001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850726144001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:30:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:30:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850726144001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":170719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:30:06] local.INFO: GPS data processed {"connection_id":170719,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:30:06] local.INFO: Acknowledgment sent {"connection_id":170719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:30:37] local.INFO: TCP Data received {"connection_id":170719,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:30:37] local.INFO: Processing buffer {"connection_id":170719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b27c20012cee7040072e2b900035006229..."} 
[2026-09-04 05:30:37] local.INFO: Packet analysis {"connection_id":170719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:30:37] local.INFO: Extracted packet for processing {"connection_id":170719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b2"} 
[2026-09-04 05:30:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850726144001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:30:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788479700000,"timestamp_ms":1788479700000,"timestamp_seconds":1788479700,"priority":1,"record_length":96,"hex_timestamp":"000001a069b27c20"} 
[2026-09-04 05:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850726144001,"66":25756,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850726144001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:30:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:30:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850726144001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":170719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:30:37] local.INFO: GPS data processed {"connection_id":170719,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:30:37] local.INFO: Acknowledgment sent {"connection_id":170719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:31:00] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:31:00] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:31:00] local.INFO: IMEI packet received {"connection_id":173126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":173126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:31:05] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:31:05] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:31:05] local.INFO: IMEI packet received {"connection_id":173126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":173126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:31:06] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:31:06] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:31:06] local.INFO: Packet analysis {"connection_id":173126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:31:06] local.INFO: Extracted packet for processing {"connection_id":173126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:31:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850803200001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:31:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480001000,"timestamp_ms":1788480001000,"timestamp_seconds":1788480001,"priority":1,"record_length":96,"hex_timestamp":"000001a069b713e8"} 
[2026-09-04 05:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850803200001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850803200001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:31:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:31:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850803200001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":173126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:31:06] local.INFO: GPS data processed {"connection_id":173126,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:31:06] local.INFO: Acknowledgment sent {"connection_id":173126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:31:37] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:31:37] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:31:37] local.INFO: Packet analysis {"connection_id":173126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:31:37] local.INFO: Extracted packet for processing {"connection_id":173126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:31:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850803200001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:31:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480001000,"timestamp_ms":1788480001000,"timestamp_seconds":1788480001,"priority":1,"record_length":96,"hex_timestamp":"000001a069b713e8"} 
[2026-09-04 05:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850803200001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850803200001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:31:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:31:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850803200001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":173126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:31:37] local.INFO: GPS data processed {"connection_id":173126,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:31:37] local.INFO: Acknowledgment sent {"connection_id":173126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:32:00] local.INFO: TCP Data received {"connection_id":170720,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:32:00] local.INFO: Processing buffer {"connection_id":170720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:32:00] local.INFO: IMEI packet received {"connection_id":170720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":170720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:32:05] local.INFO: TCP Data received {"connection_id":170720,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:32:05] local.INFO: Processing buffer {"connection_id":170720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:32:05] local.INFO: IMEI packet received {"connection_id":170720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":170720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:32:06] local.INFO: TCP Data received {"connection_id":170720,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:32:06] local.INFO: Processing buffer {"connection_id":170720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:32:06] local.INFO: Packet analysis {"connection_id":170720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:32:06] local.INFO: Extracted packet for processing {"connection_id":170720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:32:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850803200001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:32:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480001000,"timestamp_ms":1788480001000,"timestamp_seconds":1788480001,"priority":1,"record_length":96,"hex_timestamp":"000001a069b713e8"} 
[2026-09-04 05:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850803200001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850803200001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:32:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:32:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850803200001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":170720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:32:06] local.INFO: GPS data processed {"connection_id":170720,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:32:06] local.INFO: Acknowledgment sent {"connection_id":170720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:32:37] local.INFO: TCP Data received {"connection_id":170720,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:32:37] local.INFO: Processing buffer {"connection_id":170720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:32:37] local.INFO: Packet analysis {"connection_id":170720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:32:37] local.INFO: Extracted packet for processing {"connection_id":170720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:32:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850803200001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:32:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480001000,"timestamp_ms":1788480001000,"timestamp_seconds":1788480001,"priority":1,"record_length":96,"hex_timestamp":"000001a069b713e8"} 
[2026-09-04 05:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850803200001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850803200001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:32:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:32:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850803200001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":170720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:32:37] local.INFO: GPS data processed {"connection_id":170720,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:32:37] local.INFO: Acknowledgment sent {"connection_id":170720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:33:05] local.INFO: TCP Data received {"connection_id":170421,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:33:05] local.INFO: Processing buffer {"connection_id":170421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:33:05] local.INFO: IMEI packet received {"connection_id":170421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":170421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:33:10] local.INFO: TCP Data received {"connection_id":170421,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:33:10] local.INFO: Processing buffer {"connection_id":170421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:33:10] local.INFO: IMEI packet received {"connection_id":170421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":170421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:33:11] local.INFO: TCP Data received {"connection_id":170421,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:33:11] local.INFO: Processing buffer {"connection_id":170421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:33:11] local.INFO: Packet analysis {"connection_id":170421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:33:11] local.INFO: Extracted packet for processing {"connection_id":170421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:33:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850803200001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788480001000,"timestamp_ms":1788480001000,"timestamp_seconds":1788480001,"priority":1,"record_length":96,"hex_timestamp":"000001a069b713e8"} 
[2026-09-04 05:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850803200001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850803200001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:33:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850803200001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":170421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:33:11] local.INFO: GPS data processed {"connection_id":170421,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:33:11] local.INFO: Acknowledgment sent {"connection_id":170421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:33:15] local.INFO: TCP Data received {"connection_id":170421,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:33:15] local.INFO: Processing buffer {"connection_id":170421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:33:15] local.INFO: Packet analysis {"connection_id":170421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:33:15] local.INFO: Extracted packet for processing {"connection_id":170421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:33:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850803200001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:33:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788480001000,"timestamp_ms":1788480001000,"timestamp_seconds":1788480001,"priority":1,"record_length":96,"hex_timestamp":"000001a069b713e8"} 
[2026-09-04 05:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850803200001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850803200001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:33:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:33:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850803200001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":170421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:33:16] local.INFO: GPS data processed {"connection_id":170421,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:33:16] local.INFO: Acknowledgment sent {"connection_id":170421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:34:00] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:34:00] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:34:00] local.INFO: IMEI packet received {"connection_id":173127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":173127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:34:05] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:34:05] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:34:05] local.INFO: IMEI packet received {"connection_id":173127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":173127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:34:06] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:34:06] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:34:06] local.INFO: Packet analysis {"connection_id":173127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:34:06] local.INFO: Extracted packet for processing {"connection_id":173127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:34:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850803200001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:34:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480001000,"timestamp_ms":1788480001000,"timestamp_seconds":1788480001,"priority":1,"record_length":96,"hex_timestamp":"000001a069b713e8"} 
[2026-09-04 05:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850803200001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850803200001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:34:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:34:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850803200001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":173127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:34:06] local.INFO: GPS data processed {"connection_id":173127,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:34:06] local.INFO: Acknowledgment sent {"connection_id":173127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:34:37] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:34:37] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:34:37] local.INFO: Packet analysis {"connection_id":173127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:34:37] local.INFO: Extracted packet for processing {"connection_id":173127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:34:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850803200001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:34:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480001000,"timestamp_ms":1788480001000,"timestamp_seconds":1788480001,"priority":1,"record_length":96,"hex_timestamp":"000001a069b713e8"} 
[2026-09-04 05:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850803200001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850803200001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:34:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:34:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850803200001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":173127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:34:37] local.INFO: GPS data processed {"connection_id":173127,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:34:37] local.INFO: Acknowledgment sent {"connection_id":173127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:35:00] local.INFO: TCP Data received {"connection_id":173128,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:35:00] local.INFO: Processing buffer {"connection_id":173128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:35:00] local.INFO: IMEI packet received {"connection_id":173128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":173128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:35:05] local.INFO: TCP Data received {"connection_id":173128,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:35:05] local.INFO: Processing buffer {"connection_id":173128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:35:05] local.INFO: IMEI packet received {"connection_id":173128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":173128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:35:06] local.INFO: TCP Data received {"connection_id":173128,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:35:06] local.INFO: Processing buffer {"connection_id":173128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:35:06] local.INFO: Packet analysis {"connection_id":173128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:35:06] local.INFO: Extracted packet for processing {"connection_id":173128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:35:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850803200001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:35:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480001000,"timestamp_ms":1788480001000,"timestamp_seconds":1788480001,"priority":1,"record_length":96,"hex_timestamp":"000001a069b713e8"} 
[2026-09-04 05:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850803200001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850803200001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:35:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:35:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850803200001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":173128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:35:06] local.INFO: GPS data processed {"connection_id":173128,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:35:06] local.INFO: Acknowledgment sent {"connection_id":173128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:35:37] local.INFO: TCP Data received {"connection_id":173128,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:35:37] local.INFO: Processing buffer {"connection_id":173128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069b713e8012cee7040072e2b900035006228..."} 
[2026-09-04 05:35:37] local.INFO: Packet analysis {"connection_id":173128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:35:37] local.INFO: Extracted packet for processing {"connection_id":173128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069b7"} 
[2026-09-04 05:35:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850803200001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:35:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480001000,"timestamp_ms":1788480001000,"timestamp_seconds":1788480001,"priority":1,"record_length":96,"hex_timestamp":"000001a069b713e8"} 
[2026-09-04 05:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 05:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850803200001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850803200001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:35:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:35:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850803200001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":173128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:35:37] local.INFO: GPS data processed {"connection_id":173128,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:35:37] local.INFO: Acknowledgment sent {"connection_id":173128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:36:00] local.INFO: TCP Data received {"connection_id":170422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:36:00] local.INFO: Processing buffer {"connection_id":170422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:36:00] local.INFO: IMEI packet received {"connection_id":170422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":170422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:36:05] local.INFO: TCP Data received {"connection_id":170422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:36:05] local.INFO: Processing buffer {"connection_id":170422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:36:05] local.INFO: IMEI packet received {"connection_id":170422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":170422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:36:06] local.INFO: TCP Data received {"connection_id":170422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:36:06] local.INFO: Processing buffer {"connection_id":170422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:36:06] local.INFO: Packet analysis {"connection_id":170422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:36:06] local.INFO: Extracted packet for processing {"connection_id":170422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:36:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850880256001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:36:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480302000,"timestamp_ms":1788480302000,"timestamp_seconds":1788480302,"priority":1,"record_length":96,"hex_timestamp":"000001a069bbabb0"} 
[2026-09-04 05:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 05:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850880256001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850880256001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:36:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:36:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850880256001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":170422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:36:06] local.INFO: GPS data processed {"connection_id":170422,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:36:06] local.INFO: Acknowledgment sent {"connection_id":170422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:36:37] local.INFO: TCP Data received {"connection_id":170422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:36:37] local.INFO: Processing buffer {"connection_id":170422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:36:37] local.INFO: Packet analysis {"connection_id":170422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:36:37] local.INFO: Extracted packet for processing {"connection_id":170422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:36:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850880256001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480302000,"timestamp_ms":1788480302000,"timestamp_seconds":1788480302,"priority":1,"record_length":96,"hex_timestamp":"000001a069bbabb0"} 
[2026-09-04 05:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 05:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850880256001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850880256001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:36:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850880256001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":170422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:36:37] local.INFO: GPS data processed {"connection_id":170422,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:36:37] local.INFO: Acknowledgment sent {"connection_id":170422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:37:00] local.INFO: TCP Data received {"connection_id":170722,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:37:00] local.INFO: Processing buffer {"connection_id":170722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:37:00] local.INFO: IMEI packet received {"connection_id":170722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":170722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:37:05] local.INFO: TCP Data received {"connection_id":170722,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:37:05] local.INFO: Processing buffer {"connection_id":170722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:37:05] local.INFO: IMEI packet received {"connection_id":170722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":170722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:37:06] local.INFO: TCP Data received {"connection_id":170722,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:37:06] local.INFO: Processing buffer {"connection_id":170722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:37:06] local.INFO: Packet analysis {"connection_id":170722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:37:06] local.INFO: Extracted packet for processing {"connection_id":170722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:37:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850880256001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480302000,"timestamp_ms":1788480302000,"timestamp_seconds":1788480302,"priority":1,"record_length":96,"hex_timestamp":"000001a069bbabb0"} 
[2026-09-04 05:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 05:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850880256001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850880256001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:37:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850880256001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":170722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:37:06] local.INFO: GPS data processed {"connection_id":170722,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:37:06] local.INFO: Acknowledgment sent {"connection_id":170722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:37:37] local.INFO: TCP Data received {"connection_id":170722,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:37:37] local.INFO: Processing buffer {"connection_id":170722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:37:37] local.INFO: Packet analysis {"connection_id":170722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:37:37] local.INFO: Extracted packet for processing {"connection_id":170722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:37:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850880256001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:37:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480302000,"timestamp_ms":1788480302000,"timestamp_seconds":1788480302,"priority":1,"record_length":96,"hex_timestamp":"000001a069bbabb0"} 
[2026-09-04 05:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 05:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850880256001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850880256001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:37:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:37:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850880256001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":170722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:37:37] local.INFO: GPS data processed {"connection_id":170722,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:37:37] local.INFO: Acknowledgment sent {"connection_id":170722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:38:05] local.INFO: TCP Data received {"connection_id":171827,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:38:05] local.INFO: Processing buffer {"connection_id":171827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:38:05] local.INFO: IMEI packet received {"connection_id":171827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":171827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:38:10] local.INFO: TCP Data received {"connection_id":171827,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:38:10] local.INFO: Processing buffer {"connection_id":171827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:38:10] local.INFO: IMEI packet received {"connection_id":171827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":171827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:38:11] local.INFO: TCP Data received {"connection_id":171827,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:38:11] local.INFO: Processing buffer {"connection_id":171827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:38:11] local.INFO: Packet analysis {"connection_id":171827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:38:11] local.INFO: Extracted packet for processing {"connection_id":171827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:38:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850880256001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:38:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788480302000,"timestamp_ms":1788480302000,"timestamp_seconds":1788480302,"priority":1,"record_length":96,"hex_timestamp":"000001a069bbabb0"} 
[2026-09-04 05:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 05:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850880256001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850880256001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:38:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:38:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:38:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850880256001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":171827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:38:11] local.INFO: GPS data processed {"connection_id":171827,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:38:11] local.INFO: Acknowledgment sent {"connection_id":171827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:38:42] local.INFO: TCP Data received {"connection_id":171827,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:38:42] local.INFO: Processing buffer {"connection_id":171827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:38:42] local.INFO: Packet analysis {"connection_id":171827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:38:42] local.INFO: Extracted packet for processing {"connection_id":171827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:38:42] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850880256001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788480302000,"timestamp_ms":1788480302000,"timestamp_seconds":1788480302,"priority":1,"record_length":96,"hex_timestamp":"000001a069bbabb0"} 
[2026-09-04 05:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 05:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850880256001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850880256001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:38:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850880256001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":171827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:38:42] local.INFO: GPS data processed {"connection_id":171827,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:38:42] local.INFO: Acknowledgment sent {"connection_id":171827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:39:00] local.INFO: TCP Data received {"connection_id":173129,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:39:00] local.INFO: Processing buffer {"connection_id":173129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:39:00] local.INFO: IMEI packet received {"connection_id":173129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":173129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:39:05] local.INFO: TCP Data received {"connection_id":173129,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:39:05] local.INFO: Processing buffer {"connection_id":173129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:39:05] local.INFO: IMEI packet received {"connection_id":173129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":173129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:39:06] local.INFO: TCP Data received {"connection_id":173129,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:39:06] local.INFO: Processing buffer {"connection_id":173129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:39:06] local.INFO: Packet analysis {"connection_id":173129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:39:06] local.INFO: Extracted packet for processing {"connection_id":173129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:39:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850880256001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:39:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480302000,"timestamp_ms":1788480302000,"timestamp_seconds":1788480302,"priority":1,"record_length":96,"hex_timestamp":"000001a069bbabb0"} 
[2026-09-04 05:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 05:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850880256001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850880256001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:39:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:39:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850880256001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":173129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:39:06] local.INFO: GPS data processed {"connection_id":173129,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:39:06] local.INFO: Acknowledgment sent {"connection_id":173129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:39:37] local.INFO: TCP Data received {"connection_id":173129,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:39:37] local.INFO: Processing buffer {"connection_id":173129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:39:37] local.INFO: Packet analysis {"connection_id":173129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:39:37] local.INFO: Extracted packet for processing {"connection_id":173129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:39:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850880256001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:39:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480302000,"timestamp_ms":1788480302000,"timestamp_seconds":1788480302,"priority":1,"record_length":96,"hex_timestamp":"000001a069bbabb0"} 
[2026-09-04 05:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 05:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850880256001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850880256001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:39:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:39:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850880256001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":173129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:39:37] local.INFO: GPS data processed {"connection_id":173129,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:39:37] local.INFO: Acknowledgment sent {"connection_id":173129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:40:00] local.INFO: TCP Data received {"connection_id":170423,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:40:00] local.INFO: Processing buffer {"connection_id":170423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:40:00] local.INFO: IMEI packet received {"connection_id":170423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":170423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:40:05] local.INFO: TCP Data received {"connection_id":170423,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:40:05] local.INFO: Processing buffer {"connection_id":170423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:40:05] local.INFO: IMEI packet received {"connection_id":170423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":170423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:40:06] local.INFO: TCP Data received {"connection_id":170423,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:40:06] local.INFO: Processing buffer {"connection_id":170423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:40:06] local.INFO: Packet analysis {"connection_id":170423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:40:06] local.INFO: Extracted packet for processing {"connection_id":170423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:40:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850880256001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:40:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480302000,"timestamp_ms":1788480302000,"timestamp_seconds":1788480302,"priority":1,"record_length":96,"hex_timestamp":"000001a069bbabb0"} 
[2026-09-04 05:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 05:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850880256001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850880256001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:40:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:40:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850880256001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":170423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:40:06] local.INFO: GPS data processed {"connection_id":170423,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:40:06] local.INFO: Acknowledgment sent {"connection_id":170423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:40:37] local.INFO: TCP Data received {"connection_id":170423,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:40:37] local.INFO: Processing buffer {"connection_id":170423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069bbabb0012cee7040072e2b900035006224..."} 
[2026-09-04 05:40:37] local.INFO: Packet analysis {"connection_id":170423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:40:37] local.INFO: Extracted packet for processing {"connection_id":170423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069bb"} 
[2026-09-04 05:40:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850880256001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480302000,"timestamp_ms":1788480302000,"timestamp_seconds":1788480302,"priority":1,"record_length":96,"hex_timestamp":"000001a069bbabb0"} 
[2026-09-04 05:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 05:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850880256001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850880256001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:40:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850880256001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":170423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:40:37] local.INFO: GPS data processed {"connection_id":170423,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:40:37] local.INFO: Acknowledgment sent {"connection_id":170423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:41:05] local.INFO: TCP Data received {"connection_id":171828,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:41:05] local.INFO: Processing buffer {"connection_id":171828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:41:05] local.INFO: IMEI packet received {"connection_id":171828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":171828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:41:10] local.INFO: TCP Data received {"connection_id":171828,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:41:10] local.INFO: Processing buffer {"connection_id":171828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:41:10] local.INFO: IMEI packet received {"connection_id":171828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":171828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:41:11] local.INFO: TCP Data received {"connection_id":171828,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:41:11] local.INFO: Processing buffer {"connection_id":171828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:41:11] local.INFO: Packet analysis {"connection_id":171828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:41:11] local.INFO: Extracted packet for processing {"connection_id":171828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:41:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850957312001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788480603000,"timestamp_ms":1788480603000,"timestamp_seconds":1788480603,"priority":1,"record_length":96,"hex_timestamp":"000001a069c04378"} 
[2026-09-04 05:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 05:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850957312001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850957312001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:41:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:41:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850957312001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":171828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:41:11] local.INFO: GPS data processed {"connection_id":171828,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:41:11] local.INFO: Acknowledgment sent {"connection_id":171828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:41:15] local.INFO: TCP Data received {"connection_id":171828,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:41:15] local.INFO: Processing buffer {"connection_id":171828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:41:15] local.INFO: Packet analysis {"connection_id":171828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:41:15] local.INFO: Extracted packet for processing {"connection_id":171828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:41:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850957312001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788480603000,"timestamp_ms":1788480603000,"timestamp_seconds":1788480603,"priority":1,"record_length":96,"hex_timestamp":"000001a069c04378"} 
[2026-09-04 05:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 05:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850957312001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850957312001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:41:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:41:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:41:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850957312001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":171828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:41:16] local.INFO: GPS data processed {"connection_id":171828,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:41:16] local.INFO: Acknowledgment sent {"connection_id":171828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:42:00] local.INFO: TCP Data received {"connection_id":173130,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:42:00] local.INFO: Processing buffer {"connection_id":173130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:42:00] local.INFO: IMEI packet received {"connection_id":173130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":173130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:42:05] local.INFO: TCP Data received {"connection_id":173130,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:42:05] local.INFO: Processing buffer {"connection_id":173130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:42:05] local.INFO: IMEI packet received {"connection_id":173130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":173130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:42:06] local.INFO: TCP Data received {"connection_id":173130,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:42:06] local.INFO: Processing buffer {"connection_id":173130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:42:06] local.INFO: Packet analysis {"connection_id":173130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:42:06] local.INFO: Extracted packet for processing {"connection_id":173130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:42:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850957312001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:42:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480603000,"timestamp_ms":1788480603000,"timestamp_seconds":1788480603,"priority":1,"record_length":96,"hex_timestamp":"000001a069c04378"} 
[2026-09-04 05:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 05:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850957312001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850957312001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:42:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:42:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850957312001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":173130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:42:06] local.INFO: GPS data processed {"connection_id":173130,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:42:06] local.INFO: Acknowledgment sent {"connection_id":173130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:42:37] local.INFO: TCP Data received {"connection_id":173130,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:42:37] local.INFO: Processing buffer {"connection_id":173130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:42:37] local.INFO: Packet analysis {"connection_id":173130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:42:37] local.INFO: Extracted packet for processing {"connection_id":173130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:42:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850957312001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:42:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480603000,"timestamp_ms":1788480603000,"timestamp_seconds":1788480603,"priority":1,"record_length":96,"hex_timestamp":"000001a069c04378"} 
[2026-09-04 05:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 05:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850957312001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850957312001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:42:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:42:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850957312001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":173130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:42:37] local.INFO: GPS data processed {"connection_id":173130,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:42:37] local.INFO: Acknowledgment sent {"connection_id":173130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:43:01] local.INFO: TCP Data received {"connection_id":173131,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:43:01] local.INFO: Processing buffer {"connection_id":173131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:43:01] local.INFO: IMEI packet received {"connection_id":173131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":173131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:43:05] local.INFO: TCP Data received {"connection_id":173131,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:43:05] local.INFO: Processing buffer {"connection_id":173131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:43:05] local.INFO: IMEI packet received {"connection_id":173131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":173131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:43:06] local.INFO: TCP Data received {"connection_id":173131,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:43:06] local.INFO: Processing buffer {"connection_id":173131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:43:06] local.INFO: Packet analysis {"connection_id":173131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:43:06] local.INFO: Extracted packet for processing {"connection_id":173131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:43:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850957312001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:43:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480603000,"timestamp_ms":1788480603000,"timestamp_seconds":1788480603,"priority":1,"record_length":96,"hex_timestamp":"000001a069c04378"} 
[2026-09-04 05:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 05:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850957312001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850957312001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:43:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:43:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850957312001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":173131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:43:06] local.INFO: GPS data processed {"connection_id":173131,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:43:06] local.INFO: Acknowledgment sent {"connection_id":173131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:43:37] local.INFO: TCP Data received {"connection_id":173131,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:43:37] local.INFO: Processing buffer {"connection_id":173131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:43:37] local.INFO: Packet analysis {"connection_id":173131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:43:37] local.INFO: Extracted packet for processing {"connection_id":173131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:43:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850957312001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:43:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480603000,"timestamp_ms":1788480603000,"timestamp_seconds":1788480603,"priority":1,"record_length":96,"hex_timestamp":"000001a069c04378"} 
[2026-09-04 05:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 05:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850957312001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850957312001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:43:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:43:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850957312001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":173131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:43:37] local.INFO: GPS data processed {"connection_id":173131,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:43:37] local.INFO: Acknowledgment sent {"connection_id":173131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:44:00] local.INFO: TCP Data received {"connection_id":170425,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:44:00] local.INFO: Processing buffer {"connection_id":170425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:44:00] local.INFO: IMEI packet received {"connection_id":170425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":170425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:44:05] local.INFO: TCP Data received {"connection_id":170425,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:44:05] local.INFO: Processing buffer {"connection_id":170425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:44:05] local.INFO: IMEI packet received {"connection_id":170425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":170425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:44:06] local.INFO: TCP Data received {"connection_id":170425,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:44:06] local.INFO: Processing buffer {"connection_id":170425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:44:06] local.INFO: Packet analysis {"connection_id":170425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:44:06] local.INFO: Extracted packet for processing {"connection_id":170425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:44:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850957312001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:44:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480603000,"timestamp_ms":1788480603000,"timestamp_seconds":1788480603,"priority":1,"record_length":96,"hex_timestamp":"000001a069c04378"} 
[2026-09-04 05:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 05:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850957312001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850957312001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:44:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:44:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850957312001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":170425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:44:06] local.INFO: GPS data processed {"connection_id":170425,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:44:06] local.INFO: Acknowledgment sent {"connection_id":170425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:44:37] local.INFO: TCP Data received {"connection_id":170425,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:44:37] local.INFO: Processing buffer {"connection_id":170425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:44:37] local.INFO: Packet analysis {"connection_id":170425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:44:37] local.INFO: Extracted packet for processing {"connection_id":170425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:44:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850957312001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:44:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480603000,"timestamp_ms":1788480603000,"timestamp_seconds":1788480603,"priority":1,"record_length":96,"hex_timestamp":"000001a069c04378"} 
[2026-09-04 05:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 05:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850957312001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850957312001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:44:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:44:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850957312001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":170425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:44:37] local.INFO: GPS data processed {"connection_id":170425,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:44:37] local.INFO: Acknowledgment sent {"connection_id":170425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:45:00] local.INFO: TCP Data received {"connection_id":171829,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:45:00] local.INFO: Processing buffer {"connection_id":171829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:45:00] local.INFO: IMEI packet received {"connection_id":171829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":171829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:45:05] local.INFO: TCP Data received {"connection_id":171829,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:45:05] local.INFO: Processing buffer {"connection_id":171829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:45:05] local.INFO: IMEI packet received {"connection_id":171829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":171829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:45:06] local.INFO: TCP Data received {"connection_id":171829,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:45:06] local.INFO: Processing buffer {"connection_id":171829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:45:06] local.INFO: Packet analysis {"connection_id":171829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:45:06] local.INFO: Extracted packet for processing {"connection_id":171829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:45:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850957312001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:45:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480603000,"timestamp_ms":1788480603000,"timestamp_seconds":1788480603,"priority":1,"record_length":96,"hex_timestamp":"000001a069c04378"} 
[2026-09-04 05:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 05:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850957312001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850957312001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:45:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:45:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850957312001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":171829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:45:06] local.INFO: GPS data processed {"connection_id":171829,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:45:06] local.INFO: Acknowledgment sent {"connection_id":171829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:45:37] local.INFO: TCP Data received {"connection_id":171829,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:45:37] local.INFO: Processing buffer {"connection_id":171829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c04378012cee7040072e2b900035006227..."} 
[2026-09-04 05:45:37] local.INFO: Packet analysis {"connection_id":171829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:45:37] local.INFO: Extracted packet for processing {"connection_id":171829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c0"} 
[2026-09-04 05:45:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457850957312001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:45:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480603000,"timestamp_ms":1788480603000,"timestamp_seconds":1788480603,"priority":1,"record_length":96,"hex_timestamp":"000001a069c04378"} 
[2026-09-04 05:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 05:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457850957312001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457850957312001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:45:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:45:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457850957312001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":171829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:45:37] local.INFO: GPS data processed {"connection_id":171829,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:45:37] local.INFO: Acknowledgment sent {"connection_id":171829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:46:05] local.INFO: TCP Data received {"connection_id":170723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:46:05] local.INFO: Processing buffer {"connection_id":170723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:46:05] local.INFO: IMEI packet received {"connection_id":170723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":170723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:46:10] local.INFO: TCP Data received {"connection_id":170723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:46:10] local.INFO: Processing buffer {"connection_id":170723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:46:10] local.INFO: IMEI packet received {"connection_id":170723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":170723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:46:11] local.INFO: TCP Data received {"connection_id":170723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:46:11] local.INFO: Processing buffer {"connection_id":170723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:46:11] local.INFO: Packet analysis {"connection_id":170723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:46:11] local.INFO: Extracted packet for processing {"connection_id":170723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:46:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851034368001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:46:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788480904000,"timestamp_ms":1788480904000,"timestamp_seconds":1788480904,"priority":1,"record_length":96,"hex_timestamp":"000001a069c4db40"} 
[2026-09-04 05:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851034368001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851034368001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:46:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:46:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:46:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851034368001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":170723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:46:11] local.INFO: GPS data processed {"connection_id":170723,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:46:11] local.INFO: Acknowledgment sent {"connection_id":170723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:46:16] local.INFO: TCP Data received {"connection_id":170723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:46:16] local.INFO: Processing buffer {"connection_id":170723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:46:16] local.INFO: Packet analysis {"connection_id":170723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:46:16] local.INFO: Extracted packet for processing {"connection_id":170723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:46:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851034368001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:46:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788480904000,"timestamp_ms":1788480904000,"timestamp_seconds":1788480904,"priority":1,"record_length":96,"hex_timestamp":"000001a069c4db40"} 
[2026-09-04 05:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851034368001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851034368001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:46:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:46:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:46:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851034368001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":170723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:46:16] local.INFO: GPS data processed {"connection_id":170723,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:46:16] local.INFO: Acknowledgment sent {"connection_id":170723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:47:00] local.INFO: TCP Data received {"connection_id":170426,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:47:00] local.INFO: Processing buffer {"connection_id":170426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:47:00] local.INFO: IMEI packet received {"connection_id":170426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":170426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:47:05] local.INFO: TCP Data received {"connection_id":170426,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:47:05] local.INFO: Processing buffer {"connection_id":170426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:47:05] local.INFO: IMEI packet received {"connection_id":170426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":170426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:47:06] local.INFO: TCP Data received {"connection_id":170426,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:47:06] local.INFO: Processing buffer {"connection_id":170426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:47:06] local.INFO: Packet analysis {"connection_id":170426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:47:06] local.INFO: Extracted packet for processing {"connection_id":170426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:47:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851034368001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480904000,"timestamp_ms":1788480904000,"timestamp_seconds":1788480904,"priority":1,"record_length":96,"hex_timestamp":"000001a069c4db40"} 
[2026-09-04 05:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851034368001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851034368001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:47:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851034368001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":170426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:47:06] local.INFO: GPS data processed {"connection_id":170426,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:47:06] local.INFO: Acknowledgment sent {"connection_id":170426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:47:37] local.INFO: TCP Data received {"connection_id":170426,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:47:37] local.INFO: Processing buffer {"connection_id":170426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:47:37] local.INFO: Packet analysis {"connection_id":170426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:47:37] local.INFO: Extracted packet for processing {"connection_id":170426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:47:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851034368001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:47:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480904000,"timestamp_ms":1788480904000,"timestamp_seconds":1788480904,"priority":1,"record_length":96,"hex_timestamp":"000001a069c4db40"} 
[2026-09-04 05:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851034368001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851034368001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:47:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:47:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851034368001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":170426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:47:37] local.INFO: GPS data processed {"connection_id":170426,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:47:37] local.INFO: Acknowledgment sent {"connection_id":170426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:48:00] local.INFO: TCP Data received {"connection_id":173133,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:48:00] local.INFO: Processing buffer {"connection_id":173133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:48:00] local.INFO: IMEI packet received {"connection_id":173133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":173133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:48:05] local.INFO: TCP Data received {"connection_id":173133,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:48:05] local.INFO: Processing buffer {"connection_id":173133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:48:05] local.INFO: IMEI packet received {"connection_id":173133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":173133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:48:06] local.INFO: TCP Data received {"connection_id":173133,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:48:06] local.INFO: Processing buffer {"connection_id":173133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:48:06] local.INFO: Packet analysis {"connection_id":173133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:48:06] local.INFO: Extracted packet for processing {"connection_id":173133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:48:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851034368001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:48:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480904000,"timestamp_ms":1788480904000,"timestamp_seconds":1788480904,"priority":1,"record_length":96,"hex_timestamp":"000001a069c4db40"} 
[2026-09-04 05:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851034368001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851034368001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:48:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:48:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851034368001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":173133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:48:06] local.INFO: GPS data processed {"connection_id":173133,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:48:06] local.INFO: Acknowledgment sent {"connection_id":173133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:48:37] local.INFO: TCP Data received {"connection_id":173133,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:48:37] local.INFO: Processing buffer {"connection_id":173133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:48:37] local.INFO: Packet analysis {"connection_id":173133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:48:37] local.INFO: Extracted packet for processing {"connection_id":173133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:48:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851034368001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:48:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480904000,"timestamp_ms":1788480904000,"timestamp_seconds":1788480904,"priority":1,"record_length":96,"hex_timestamp":"000001a069c4db40"} 
[2026-09-04 05:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851034368001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851034368001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:48:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:48:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851034368001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":173133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:48:37] local.INFO: GPS data processed {"connection_id":173133,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:48:37] local.INFO: Acknowledgment sent {"connection_id":173133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:49:00] local.INFO: TCP Data received {"connection_id":170427,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:49:00] local.INFO: Processing buffer {"connection_id":170427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:49:00] local.INFO: IMEI packet received {"connection_id":170427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":170427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:49:05] local.INFO: TCP Data received {"connection_id":170427,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:49:05] local.INFO: Processing buffer {"connection_id":170427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:49:05] local.INFO: IMEI packet received {"connection_id":170427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":170427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:49:06] local.INFO: TCP Data received {"connection_id":170427,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:49:06] local.INFO: Processing buffer {"connection_id":170427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:49:06] local.INFO: Packet analysis {"connection_id":170427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:49:06] local.INFO: Extracted packet for processing {"connection_id":170427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:49:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851034368001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:49:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480904000,"timestamp_ms":1788480904000,"timestamp_seconds":1788480904,"priority":1,"record_length":96,"hex_timestamp":"000001a069c4db40"} 
[2026-09-04 05:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851034368001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851034368001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:49:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:49:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851034368001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":170427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:49:06] local.INFO: GPS data processed {"connection_id":170427,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:49:06] local.INFO: Acknowledgment sent {"connection_id":170427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:49:37] local.INFO: TCP Data received {"connection_id":170427,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:49:37] local.INFO: Processing buffer {"connection_id":170427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:49:37] local.INFO: Packet analysis {"connection_id":170427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:49:37] local.INFO: Extracted packet for processing {"connection_id":170427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:49:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851034368001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:49:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480904000,"timestamp_ms":1788480904000,"timestamp_seconds":1788480904,"priority":1,"record_length":96,"hex_timestamp":"000001a069c4db40"} 
[2026-09-04 05:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851034368001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851034368001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:49:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:49:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851034368001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":170427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:49:37] local.INFO: GPS data processed {"connection_id":170427,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:49:37] local.INFO: Acknowledgment sent {"connection_id":170427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:50:00] local.INFO: TCP Data received {"connection_id":170724,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:50:00] local.INFO: Processing buffer {"connection_id":170724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:50:00] local.INFO: IMEI packet received {"connection_id":170724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":170724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:50:05] local.INFO: TCP Data received {"connection_id":170724,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:50:05] local.INFO: Processing buffer {"connection_id":170724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:50:05] local.INFO: IMEI packet received {"connection_id":170724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":170724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:50:06] local.INFO: TCP Data received {"connection_id":170724,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:50:06] local.INFO: Processing buffer {"connection_id":170724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:50:06] local.INFO: Packet analysis {"connection_id":170724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:50:06] local.INFO: Extracted packet for processing {"connection_id":170724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:50:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851034368001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788480904000,"timestamp_ms":1788480904000,"timestamp_seconds":1788480904,"priority":1,"record_length":96,"hex_timestamp":"000001a069c4db40"} 
[2026-09-04 05:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851034368001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851034368001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:50:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851034368001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":170724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:50:06] local.INFO: GPS data processed {"connection_id":170724,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:50:06] local.INFO: Acknowledgment sent {"connection_id":170724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:50:37] local.INFO: TCP Data received {"connection_id":170724,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:50:37] local.INFO: Processing buffer {"connection_id":170724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c4db40012cee7040072e2b900035006226..."} 
[2026-09-04 05:50:37] local.INFO: Packet analysis {"connection_id":170724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:50:37] local.INFO: Extracted packet for processing {"connection_id":170724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c4"} 
[2026-09-04 05:50:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851034368001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:50:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788480904000,"timestamp_ms":1788480904000,"timestamp_seconds":1788480904,"priority":1,"record_length":96,"hex_timestamp":"000001a069c4db40"} 
[2026-09-04 05:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 05:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851034368001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851034368001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:50:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:50:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851034368001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":170724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:50:37] local.INFO: GPS data processed {"connection_id":170724,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:50:37] local.INFO: Acknowledgment sent {"connection_id":170724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:51:00] local.INFO: TCP Data received {"connection_id":170428,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:51:00] local.INFO: Processing buffer {"connection_id":170428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:51:00] local.INFO: IMEI packet received {"connection_id":170428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":170428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:51:05] local.INFO: TCP Data received {"connection_id":170428,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:51:05] local.INFO: Processing buffer {"connection_id":170428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:51:05] local.INFO: IMEI packet received {"connection_id":170428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":170428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:51:06] local.INFO: TCP Data received {"connection_id":170428,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:51:06] local.INFO: Processing buffer {"connection_id":170428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:51:06] local.INFO: Packet analysis {"connection_id":170428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:51:06] local.INFO: Extracted packet for processing {"connection_id":170428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:51:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851111424001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:51:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788481205000,"timestamp_ms":1788481205000,"timestamp_seconds":1788481205,"priority":1,"record_length":96,"hex_timestamp":"000001a069c97308"} 
[2026-09-04 05:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851111424001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851111424001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:51:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:51:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851111424001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":170428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:51:06] local.INFO: GPS data processed {"connection_id":170428,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:51:06] local.INFO: Acknowledgment sent {"connection_id":170428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:51:37] local.INFO: TCP Data received {"connection_id":170428,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:51:37] local.INFO: Processing buffer {"connection_id":170428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:51:37] local.INFO: Packet analysis {"connection_id":170428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:51:37] local.INFO: Extracted packet for processing {"connection_id":170428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:51:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851111424001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:51:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788481205000,"timestamp_ms":1788481205000,"timestamp_seconds":1788481205,"priority":1,"record_length":96,"hex_timestamp":"000001a069c97308"} 
[2026-09-04 05:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851111424001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851111424001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:51:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:51:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851111424001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":170428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:51:37] local.INFO: GPS data processed {"connection_id":170428,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:51:37] local.INFO: Acknowledgment sent {"connection_id":170428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:52:05] local.INFO: TCP Data received {"connection_id":170725,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:52:05] local.INFO: Processing buffer {"connection_id":170725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:52:05] local.INFO: IMEI packet received {"connection_id":170725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":170725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:52:10] local.INFO: TCP Data received {"connection_id":170725,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:52:10] local.INFO: Processing buffer {"connection_id":170725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:52:10] local.INFO: IMEI packet received {"connection_id":170725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":170725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:52:11] local.INFO: TCP Data received {"connection_id":170725,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:52:11] local.INFO: Processing buffer {"connection_id":170725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:52:11] local.INFO: Packet analysis {"connection_id":170725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:52:11] local.INFO: Extracted packet for processing {"connection_id":170725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:52:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851111424001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788481205000,"timestamp_ms":1788481205000,"timestamp_seconds":1788481205,"priority":1,"record_length":96,"hex_timestamp":"000001a069c97308"} 
[2026-09-04 05:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851111424001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851111424001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:52:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851111424001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":170725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:52:11] local.INFO: GPS data processed {"connection_id":170725,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:52:11] local.INFO: Acknowledgment sent {"connection_id":170725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:52:15] local.INFO: TCP Data received {"connection_id":170725,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:52:15] local.INFO: Processing buffer {"connection_id":170725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:52:15] local.INFO: Packet analysis {"connection_id":170725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:52:15] local.INFO: Extracted packet for processing {"connection_id":170725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:52:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851111424001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:52:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788481205000,"timestamp_ms":1788481205000,"timestamp_seconds":1788481205,"priority":1,"record_length":96,"hex_timestamp":"000001a069c97308"} 
[2026-09-04 05:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851111424001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851111424001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:52:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:52:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851111424001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":170725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:52:15] local.INFO: GPS data processed {"connection_id":170725,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:52:15] local.INFO: Acknowledgment sent {"connection_id":170725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:53:00] local.INFO: TCP Data received {"connection_id":170430,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:53:00] local.INFO: Processing buffer {"connection_id":170430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:53:00] local.INFO: IMEI packet received {"connection_id":170430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":170430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:53:05] local.INFO: TCP Data received {"connection_id":170430,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:53:05] local.INFO: Processing buffer {"connection_id":170430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:53:05] local.INFO: IMEI packet received {"connection_id":170430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":170430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:53:06] local.INFO: TCP Data received {"connection_id":170430,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:53:06] local.INFO: Processing buffer {"connection_id":170430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:53:06] local.INFO: Packet analysis {"connection_id":170430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:53:06] local.INFO: Extracted packet for processing {"connection_id":170430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:53:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851111424001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:53:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788481205000,"timestamp_ms":1788481205000,"timestamp_seconds":1788481205,"priority":1,"record_length":96,"hex_timestamp":"000001a069c97308"} 
[2026-09-04 05:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851111424001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851111424001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:53:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:53:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851111424001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":170430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:53:06] local.INFO: GPS data processed {"connection_id":170430,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:53:06] local.INFO: Acknowledgment sent {"connection_id":170430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:53:37] local.INFO: TCP Data received {"connection_id":170430,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:53:37] local.INFO: Processing buffer {"connection_id":170430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:53:37] local.INFO: Packet analysis {"connection_id":170430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:53:37] local.INFO: Extracted packet for processing {"connection_id":170430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:53:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851111424001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:53:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788481205000,"timestamp_ms":1788481205000,"timestamp_seconds":1788481205,"priority":1,"record_length":96,"hex_timestamp":"000001a069c97308"} 
[2026-09-04 05:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851111424001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851111424001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:53:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:53:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851111424001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":170430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:53:37] local.INFO: GPS data processed {"connection_id":170430,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:53:37] local.INFO: Acknowledgment sent {"connection_id":170430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:54:01] local.INFO: TCP Data received {"connection_id":170431,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:54:01] local.INFO: Processing buffer {"connection_id":170431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:54:01] local.INFO: IMEI packet received {"connection_id":170431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":170431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:54:05] local.INFO: TCP Data received {"connection_id":170431,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:54:05] local.INFO: Processing buffer {"connection_id":170431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:54:05] local.INFO: IMEI packet received {"connection_id":170431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":170431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:54:06] local.INFO: TCP Data received {"connection_id":170431,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:54:06] local.INFO: Processing buffer {"connection_id":170431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:54:06] local.INFO: Packet analysis {"connection_id":170431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:54:06] local.INFO: Extracted packet for processing {"connection_id":170431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:54:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851111424001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:54:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788481205000,"timestamp_ms":1788481205000,"timestamp_seconds":1788481205,"priority":1,"record_length":96,"hex_timestamp":"000001a069c97308"} 
[2026-09-04 05:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851111424001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851111424001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:54:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:54:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851111424001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":170431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:54:06] local.INFO: GPS data processed {"connection_id":170431,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:54:06] local.INFO: Acknowledgment sent {"connection_id":170431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:54:37] local.INFO: TCP Data received {"connection_id":170431,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:54:37] local.INFO: Processing buffer {"connection_id":170431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:54:37] local.INFO: Packet analysis {"connection_id":170431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:54:37] local.INFO: Extracted packet for processing {"connection_id":170431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:54:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851111424001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:54:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788481205000,"timestamp_ms":1788481205000,"timestamp_seconds":1788481205,"priority":1,"record_length":96,"hex_timestamp":"000001a069c97308"} 
[2026-09-04 05:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851111424001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851111424001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:54:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:54:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851111424001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":170431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:54:37] local.INFO: GPS data processed {"connection_id":170431,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:54:37] local.INFO: Acknowledgment sent {"connection_id":170431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:55:00] local.INFO: TCP Data received {"connection_id":170726,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:55:00] local.INFO: Processing buffer {"connection_id":170726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:55:00] local.INFO: IMEI packet received {"connection_id":170726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":170726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:55:05] local.INFO: TCP Data received {"connection_id":170726,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:55:05] local.INFO: Processing buffer {"connection_id":170726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:55:05] local.INFO: IMEI packet received {"connection_id":170726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":170726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:55:06] local.INFO: TCP Data received {"connection_id":170726,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:55:06] local.INFO: Processing buffer {"connection_id":170726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:55:06] local.INFO: Packet analysis {"connection_id":170726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:55:06] local.INFO: Extracted packet for processing {"connection_id":170726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:55:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851111424001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:55:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788481205000,"timestamp_ms":1788481205000,"timestamp_seconds":1788481205,"priority":1,"record_length":96,"hex_timestamp":"000001a069c97308"} 
[2026-09-04 05:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851111424001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851111424001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:55:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:55:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851111424001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":170726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:55:06] local.INFO: GPS data processed {"connection_id":170726,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:55:06] local.INFO: Acknowledgment sent {"connection_id":170726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:55:37] local.INFO: TCP Data received {"connection_id":170726,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:55:37] local.INFO: Processing buffer {"connection_id":170726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069c97308012cee7040072e2b900035006226..."} 
[2026-09-04 05:55:37] local.INFO: Packet analysis {"connection_id":170726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:55:37] local.INFO: Extracted packet for processing {"connection_id":170726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069c9"} 
[2026-09-04 05:55:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851111424001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:55:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788481205000,"timestamp_ms":1788481205000,"timestamp_seconds":1788481205,"priority":1,"record_length":96,"hex_timestamp":"000001a069c97308"} 
[2026-09-04 05:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851111424001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851111424001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:55:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:55:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851111424001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":170726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:55:37] local.INFO: GPS data processed {"connection_id":170726,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:55:37] local.INFO: Acknowledgment sent {"connection_id":170726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:56:00] local.INFO: TCP Data received {"connection_id":171830,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:56:00] local.INFO: Processing buffer {"connection_id":171830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:56:00] local.INFO: IMEI packet received {"connection_id":171830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":171830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:56:05] local.INFO: TCP Data received {"connection_id":171830,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:56:05] local.INFO: Processing buffer {"connection_id":171830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:56:05] local.INFO: IMEI packet received {"connection_id":171830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":171830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:56:06] local.INFO: TCP Data received {"connection_id":171830,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:56:06] local.INFO: Processing buffer {"connection_id":171830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:56:06] local.INFO: Packet analysis {"connection_id":171830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:56:06] local.INFO: Extracted packet for processing {"connection_id":171830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:56:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851188480001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788481506000,"timestamp_ms":1788481506000,"timestamp_seconds":1788481506,"priority":1,"record_length":96,"hex_timestamp":"000001a069ce0ad0"} 
[2026-09-04 05:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851188480001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851188480001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:56:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851188480001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":171830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:56:06] local.INFO: GPS data processed {"connection_id":171830,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:56:06] local.INFO: Acknowledgment sent {"connection_id":171830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:56:37] local.INFO: TCP Data received {"connection_id":171830,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:56:37] local.INFO: Processing buffer {"connection_id":171830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:56:37] local.INFO: Packet analysis {"connection_id":171830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:56:37] local.INFO: Extracted packet for processing {"connection_id":171830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:56:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851188480001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:56:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788481506000,"timestamp_ms":1788481506000,"timestamp_seconds":1788481506,"priority":1,"record_length":96,"hex_timestamp":"000001a069ce0ad0"} 
[2026-09-04 05:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851188480001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851188480001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:56:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:56:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851188480001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":171830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:56:37] local.INFO: GPS data processed {"connection_id":171830,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:56:37] local.INFO: Acknowledgment sent {"connection_id":171830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:57:00] local.INFO: TCP Data received {"connection_id":170432,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:57:00] local.INFO: Processing buffer {"connection_id":170432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:57:00] local.INFO: IMEI packet received {"connection_id":170432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":170432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:57:05] local.INFO: TCP Data received {"connection_id":170432,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:57:05] local.INFO: Processing buffer {"connection_id":170432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:57:05] local.INFO: IMEI packet received {"connection_id":170432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":170432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:57:06] local.INFO: TCP Data received {"connection_id":170432,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:57:06] local.INFO: Processing buffer {"connection_id":170432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:57:06] local.INFO: Packet analysis {"connection_id":170432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:57:06] local.INFO: Extracted packet for processing {"connection_id":170432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:57:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851188480001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:57:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788481506000,"timestamp_ms":1788481506000,"timestamp_seconds":1788481506,"priority":1,"record_length":96,"hex_timestamp":"000001a069ce0ad0"} 
[2026-09-04 05:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851188480001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851188480001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:57:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:57:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851188480001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":170432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:57:06] local.INFO: GPS data processed {"connection_id":170432,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:57:06] local.INFO: Acknowledgment sent {"connection_id":170432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:57:37] local.INFO: TCP Data received {"connection_id":170432,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:57:37] local.INFO: Processing buffer {"connection_id":170432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:57:37] local.INFO: Packet analysis {"connection_id":170432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:57:37] local.INFO: Extracted packet for processing {"connection_id":170432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:57:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851188480001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:57:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788481506000,"timestamp_ms":1788481506000,"timestamp_seconds":1788481506,"priority":1,"record_length":96,"hex_timestamp":"000001a069ce0ad0"} 
[2026-09-04 05:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851188480001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851188480001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:57:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:57:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851188480001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":170432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:57:37] local.INFO: GPS data processed {"connection_id":170432,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:57:37] local.INFO: Acknowledgment sent {"connection_id":170432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:58:05] local.INFO: TCP Data received {"connection_id":171831,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:58:05] local.INFO: Processing buffer {"connection_id":171831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:58:05] local.INFO: IMEI packet received {"connection_id":171831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":171831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:58:10] local.INFO: TCP Data received {"connection_id":171831,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:58:10] local.INFO: Processing buffer {"connection_id":171831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:58:10] local.INFO: IMEI packet received {"connection_id":171831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":171831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:58:11] local.INFO: TCP Data received {"connection_id":171831,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:58:11] local.INFO: Processing buffer {"connection_id":171831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:58:11] local.INFO: Packet analysis {"connection_id":171831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:58:11] local.INFO: Extracted packet for processing {"connection_id":171831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:58:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851188480001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788481506000,"timestamp_ms":1788481506000,"timestamp_seconds":1788481506,"priority":1,"record_length":96,"hex_timestamp":"000001a069ce0ad0"} 
[2026-09-04 05:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851188480001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851188480001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:58:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851188480001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":171831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:58:11] local.INFO: GPS data processed {"connection_id":171831,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:58:11] local.INFO: Acknowledgment sent {"connection_id":171831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:58:42] local.INFO: TCP Data received {"connection_id":171831,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:58:42] local.INFO: Processing buffer {"connection_id":171831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:58:42] local.INFO: Packet analysis {"connection_id":171831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:58:42] local.INFO: Extracted packet for processing {"connection_id":171831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:58:42] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851188480001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788481506000,"timestamp_ms":1788481506000,"timestamp_seconds":1788481506,"priority":1,"record_length":96,"hex_timestamp":"000001a069ce0ad0"} 
[2026-09-04 05:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851188480001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851188480001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:58:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851188480001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":171831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:58:42] local.INFO: GPS data processed {"connection_id":171831,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:58:42] local.INFO: Acknowledgment sent {"connection_id":171831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:59:00] local.INFO: TCP Data received {"connection_id":170434,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:59:00] local.INFO: Processing buffer {"connection_id":170434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:59:00] local.INFO: IMEI packet received {"connection_id":170434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 05:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":170434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 05:59:05] local.INFO: TCP Data received {"connection_id":170434,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:59:05] local.INFO: Processing buffer {"connection_id":170434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 05:59:05] local.INFO: IMEI packet received {"connection_id":170434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 05:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":170434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 05:59:06] local.INFO: TCP Data received {"connection_id":170434,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:59:06] local.INFO: Processing buffer {"connection_id":170434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:59:06] local.INFO: Packet analysis {"connection_id":170434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:59:06] local.INFO: Extracted packet for processing {"connection_id":170434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:59:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851188480001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:59:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788481506000,"timestamp_ms":1788481506000,"timestamp_seconds":1788481506,"priority":1,"record_length":96,"hex_timestamp":"000001a069ce0ad0"} 
[2026-09-04 05:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851188480001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851188480001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:59:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:59:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851188480001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":170434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:59:06] local.INFO: GPS data processed {"connection_id":170434,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:59:06] local.INFO: Acknowledgment sent {"connection_id":170434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 05:59:37] local.INFO: TCP Data received {"connection_id":170434,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:59:37] local.INFO: Processing buffer {"connection_id":170434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 05:59:37] local.INFO: Packet analysis {"connection_id":170434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:59:37] local.INFO: Extracted packet for processing {"connection_id":170434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 05:59:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 05:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 05:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851188480001,"note":"Value kept but may cause issues"} 
[2026-09-04 05:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 05:59:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 05:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 05:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788481506000,"timestamp_ms":1788481506000,"timestamp_seconds":1788481506,"priority":1,"record_length":96,"hex_timestamp":"000001a069ce0ad0"} 
[2026-09-04 05:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 05:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 05:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 05:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 05:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 05:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 05:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 05:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 05:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 05:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 05:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 05:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 05:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851188480001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 05:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 05:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 05:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851188480001,"description":"Unknown IO ID 0"} 
[2026-09-04 05:59:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 05:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 05:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 05:59:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 05:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851188480001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 05:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":170434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 05:59:37] local.INFO: GPS data processed {"connection_id":170434,"processed":1,"errors":0,"total":1} 
[2026-09-04 05:59:37] local.INFO: Acknowledgment sent {"connection_id":170434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:00:00] local.INFO: TCP Data received {"connection_id":170727,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:00:00] local.INFO: Processing buffer {"connection_id":170727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:00:00] local.INFO: IMEI packet received {"connection_id":170727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":170727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:00:05] local.INFO: TCP Data received {"connection_id":170727,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:00:05] local.INFO: Processing buffer {"connection_id":170727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:00:05] local.INFO: IMEI packet received {"connection_id":170727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":170727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:00:06] local.INFO: TCP Data received {"connection_id":170727,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 06:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 06:00:06] local.INFO: Processing buffer {"connection_id":170727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 06:00:06] local.INFO: Packet analysis {"connection_id":170727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 06:00:06] local.INFO: Extracted packet for processing {"connection_id":170727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 06:00:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851188480001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788481506000,"timestamp_ms":1788481506000,"timestamp_seconds":1788481506,"priority":1,"record_length":96,"hex_timestamp":"000001a069ce0ad0"} 
[2026-09-04 06:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 06:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851188480001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851188480001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:00:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851188480001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":170727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:00:06] local.INFO: GPS data processed {"connection_id":170727,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:00:06] local.INFO: Acknowledgment sent {"connection_id":170727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:00:37] local.INFO: TCP Data received {"connection_id":170727,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 06:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 06:00:37] local.INFO: Processing buffer {"connection_id":170727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ce0ad0012cee7040072e2b900035006227..."} 
[2026-09-04 06:00:37] local.INFO: Packet analysis {"connection_id":170727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 06:00:37] local.INFO: Extracted packet for processing {"connection_id":170727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ce"} 
[2026-09-04 06:00:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851188480001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:00:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788481506000,"timestamp_ms":1788481506000,"timestamp_seconds":1788481506,"priority":1,"record_length":96,"hex_timestamp":"000001a069ce0ad0"} 
[2026-09-04 06:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 06:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851188480001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851188480001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:00:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:00:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851188480001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":170727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:00:37] local.INFO: GPS data processed {"connection_id":170727,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:00:37] local.INFO: Acknowledgment sent {"connection_id":170727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:01:00] local.INFO: TCP Data received {"connection_id":170728,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:01:00] local.INFO: Processing buffer {"connection_id":170728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:01:00] local.INFO: IMEI packet received {"connection_id":170728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":170728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:01:05] local.INFO: TCP Data received {"connection_id":170728,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:01:05] local.INFO: Processing buffer {"connection_id":170728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:01:05] local.INFO: IMEI packet received {"connection_id":170728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":170728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:01:05] local.INFO: TCP Data received {"connection_id":170728,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:01:05] local.INFO: Processing buffer {"connection_id":170728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:01:05] local.INFO: Packet analysis {"connection_id":170728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:01:05] local.INFO: Extracted packet for processing {"connection_id":170728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:01:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851265536001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788481807000,"timestamp_ms":1788481807000,"timestamp_seconds":1788481807,"priority":1,"record_length":96,"hex_timestamp":"000001a069d2a298"} 
[2026-09-04 06:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 06:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851265536001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851265536001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:01:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851265536001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":170728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:01:05] local.INFO: GPS data processed {"connection_id":170728,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:01:05] local.INFO: Acknowledgment sent {"connection_id":170728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:01:36] local.INFO: TCP Data received {"connection_id":170728,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:01:36] local.INFO: Processing buffer {"connection_id":170728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:01:36] local.INFO: Packet analysis {"connection_id":170728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:01:36] local.INFO: Extracted packet for processing {"connection_id":170728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:01:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851265536001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:01:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788481807000,"timestamp_ms":1788481807000,"timestamp_seconds":1788481807,"priority":1,"record_length":96,"hex_timestamp":"000001a069d2a298"} 
[2026-09-04 06:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 06:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851265536001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851265536001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:01:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:01:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851265536001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":170728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:01:36] local.INFO: GPS data processed {"connection_id":170728,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:01:36] local.INFO: Acknowledgment sent {"connection_id":170728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:02:00] local.INFO: TCP Data received {"connection_id":171832,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:02:00] local.INFO: Processing buffer {"connection_id":171832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:02:00] local.INFO: IMEI packet received {"connection_id":171832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":171832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:02:05] local.INFO: TCP Data received {"connection_id":171832,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:02:05] local.INFO: Processing buffer {"connection_id":171832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:02:05] local.INFO: IMEI packet received {"connection_id":171832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":171832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:02:06] local.INFO: TCP Data received {"connection_id":171832,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:02:06] local.INFO: Processing buffer {"connection_id":171832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:02:06] local.INFO: Packet analysis {"connection_id":171832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:02:06] local.INFO: Extracted packet for processing {"connection_id":171832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:02:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851265536001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788481807000,"timestamp_ms":1788481807000,"timestamp_seconds":1788481807,"priority":1,"record_length":96,"hex_timestamp":"000001a069d2a298"} 
[2026-09-04 06:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 06:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851265536001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851265536001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:02:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851265536001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":171832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:02:06] local.INFO: GPS data processed {"connection_id":171832,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:02:06] local.INFO: Acknowledgment sent {"connection_id":171832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:02:37] local.INFO: TCP Data received {"connection_id":171832,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:02:37] local.INFO: Processing buffer {"connection_id":171832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:02:37] local.INFO: Packet analysis {"connection_id":171832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:02:37] local.INFO: Extracted packet for processing {"connection_id":171832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:02:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851265536001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:02:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788481807000,"timestamp_ms":1788481807000,"timestamp_seconds":1788481807,"priority":1,"record_length":96,"hex_timestamp":"000001a069d2a298"} 
[2026-09-04 06:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 06:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851265536001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851265536001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:02:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:02:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851265536001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":171832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:02:37] local.INFO: GPS data processed {"connection_id":171832,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:02:37] local.INFO: Acknowledgment sent {"connection_id":171832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:03:00] local.INFO: TCP Data received {"connection_id":171833,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:03:00] local.INFO: Processing buffer {"connection_id":171833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:03:00] local.INFO: IMEI packet received {"connection_id":171833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":171833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:03:05] local.INFO: TCP Data received {"connection_id":171833,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:03:05] local.INFO: Processing buffer {"connection_id":171833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:03:05] local.INFO: IMEI packet received {"connection_id":171833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":171833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:03:06] local.INFO: TCP Data received {"connection_id":171833,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:03:06] local.INFO: Processing buffer {"connection_id":171833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:03:06] local.INFO: Packet analysis {"connection_id":171833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:03:06] local.INFO: Extracted packet for processing {"connection_id":171833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:03:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851265536001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:03:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788481807000,"timestamp_ms":1788481807000,"timestamp_seconds":1788481807,"priority":1,"record_length":96,"hex_timestamp":"000001a069d2a298"} 
[2026-09-04 06:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 06:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851265536001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851265536001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:03:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:03:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851265536001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":171833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:03:06] local.INFO: GPS data processed {"connection_id":171833,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:03:06] local.INFO: Acknowledgment sent {"connection_id":171833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:03:37] local.INFO: TCP Data received {"connection_id":171833,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:03:37] local.INFO: Processing buffer {"connection_id":171833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:03:37] local.INFO: Packet analysis {"connection_id":171833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:03:37] local.INFO: Extracted packet for processing {"connection_id":171833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:03:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851265536001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:03:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788481807000,"timestamp_ms":1788481807000,"timestamp_seconds":1788481807,"priority":1,"record_length":96,"hex_timestamp":"000001a069d2a298"} 
[2026-09-04 06:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 06:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851265536001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851265536001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:03:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:03:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851265536001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":171833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:03:37] local.INFO: GPS data processed {"connection_id":171833,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:03:37] local.INFO: Acknowledgment sent {"connection_id":171833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:04:00] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:04:00] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:04:00] local.INFO: IMEI packet received {"connection_id":173134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":173134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:04:05] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:04:05] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:04:05] local.INFO: IMEI packet received {"connection_id":173134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":173134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:04:06] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:04:06] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:04:06] local.INFO: Packet analysis {"connection_id":173134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:04:06] local.INFO: Extracted packet for processing {"connection_id":173134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:04:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851265536001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788481807000,"timestamp_ms":1788481807000,"timestamp_seconds":1788481807,"priority":1,"record_length":96,"hex_timestamp":"000001a069d2a298"} 
[2026-09-04 06:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 06:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851265536001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851265536001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:04:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851265536001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":173134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:04:06] local.INFO: GPS data processed {"connection_id":173134,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:04:06] local.INFO: Acknowledgment sent {"connection_id":173134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:04:37] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:04:37] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:04:37] local.INFO: Packet analysis {"connection_id":173134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:04:37] local.INFO: Extracted packet for processing {"connection_id":173134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:04:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851265536001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:04:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788481807000,"timestamp_ms":1788481807000,"timestamp_seconds":1788481807,"priority":1,"record_length":96,"hex_timestamp":"000001a069d2a298"} 
[2026-09-04 06:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 06:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851265536001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851265536001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:04:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:04:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851265536001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":173134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:04:37] local.INFO: GPS data processed {"connection_id":173134,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:04:37] local.INFO: Acknowledgment sent {"connection_id":173134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:05:00] local.INFO: TCP Data received {"connection_id":170729,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:05:00] local.INFO: Processing buffer {"connection_id":170729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:05:00] local.INFO: IMEI packet received {"connection_id":170729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":170729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:05:05] local.INFO: TCP Data received {"connection_id":170729,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:05:05] local.INFO: Processing buffer {"connection_id":170729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:05:05] local.INFO: IMEI packet received {"connection_id":170729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":170729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:05:06] local.INFO: TCP Data received {"connection_id":170729,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:05:06] local.INFO: Processing buffer {"connection_id":170729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:05:06] local.INFO: Packet analysis {"connection_id":170729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:05:06] local.INFO: Extracted packet for processing {"connection_id":170729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:05:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851265536001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:05:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788481807000,"timestamp_ms":1788481807000,"timestamp_seconds":1788481807,"priority":1,"record_length":96,"hex_timestamp":"000001a069d2a298"} 
[2026-09-04 06:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 06:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851265536001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851265536001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:05:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:05:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851265536001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":170729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:05:06] local.INFO: GPS data processed {"connection_id":170729,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:05:06] local.INFO: Acknowledgment sent {"connection_id":170729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:05:37] local.INFO: TCP Data received {"connection_id":170729,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:05:37] local.INFO: Processing buffer {"connection_id":170729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d2a298012cee7040072e2b900035006228..."} 
[2026-09-04 06:05:37] local.INFO: Packet analysis {"connection_id":170729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:05:37] local.INFO: Extracted packet for processing {"connection_id":170729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d2"} 
[2026-09-04 06:05:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851265536001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:05:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788481807000,"timestamp_ms":1788481807000,"timestamp_seconds":1788481807,"priority":1,"record_length":96,"hex_timestamp":"000001a069d2a298"} 
[2026-09-04 06:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 06:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851265536001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851265536001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:05:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:05:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851265536001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":170729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:05:37] local.INFO: GPS data processed {"connection_id":170729,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:05:37] local.INFO: Acknowledgment sent {"connection_id":170729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:06:00] local.INFO: TCP Data received {"connection_id":171834,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:06:00] local.INFO: Processing buffer {"connection_id":171834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:06:00] local.INFO: IMEI packet received {"connection_id":171834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":171834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:06:05] local.INFO: TCP Data received {"connection_id":171834,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:06:05] local.INFO: Processing buffer {"connection_id":171834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:06:05] local.INFO: IMEI packet received {"connection_id":171834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":171834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:06:05] local.INFO: TCP Data received {"connection_id":171834,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:06:05] local.INFO: Processing buffer {"connection_id":171834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:06:05] local.INFO: Packet analysis {"connection_id":171834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:06:05] local.INFO: Extracted packet for processing {"connection_id":171834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:06:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851342592001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:06:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788482108000,"timestamp_ms":1788482108000,"timestamp_seconds":1788482108,"priority":1,"record_length":96,"hex_timestamp":"000001a069d73a60"} 
[2026-09-04 06:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851342592001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851342592001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:06:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:06:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851342592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":171834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:06:06] local.INFO: GPS data processed {"connection_id":171834,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:06:06] local.INFO: Acknowledgment sent {"connection_id":171834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:06:36] local.INFO: TCP Data received {"connection_id":171834,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:06:36] local.INFO: Processing buffer {"connection_id":171834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:06:36] local.INFO: Packet analysis {"connection_id":171834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:06:36] local.INFO: Extracted packet for processing {"connection_id":171834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:06:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851342592001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:06:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788482108000,"timestamp_ms":1788482108000,"timestamp_seconds":1788482108,"priority":1,"record_length":96,"hex_timestamp":"000001a069d73a60"} 
[2026-09-04 06:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851342592001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851342592001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:06:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:06:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851342592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":171834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:06:36] local.INFO: GPS data processed {"connection_id":171834,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:06:36] local.INFO: Acknowledgment sent {"connection_id":171834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:07:00] local.INFO: TCP Data received {"connection_id":170730,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:07:00] local.INFO: Processing buffer {"connection_id":170730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:07:00] local.INFO: IMEI packet received {"connection_id":170730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":170730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:07:05] local.INFO: TCP Data received {"connection_id":170730,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:07:05] local.INFO: Processing buffer {"connection_id":170730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:07:05] local.INFO: IMEI packet received {"connection_id":170730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":170730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:07:06] local.INFO: TCP Data received {"connection_id":170730,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:07:06] local.INFO: Processing buffer {"connection_id":170730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:07:06] local.INFO: Packet analysis {"connection_id":170730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:07:06] local.INFO: Extracted packet for processing {"connection_id":170730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:07:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851342592001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:07:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788482108000,"timestamp_ms":1788482108000,"timestamp_seconds":1788482108,"priority":1,"record_length":96,"hex_timestamp":"000001a069d73a60"} 
[2026-09-04 06:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851342592001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851342592001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:07:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:07:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851342592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":170730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:07:06] local.INFO: GPS data processed {"connection_id":170730,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:07:06] local.INFO: Acknowledgment sent {"connection_id":170730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:07:37] local.INFO: TCP Data received {"connection_id":170730,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:07:37] local.INFO: Processing buffer {"connection_id":170730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:07:37] local.INFO: Packet analysis {"connection_id":170730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:07:37] local.INFO: Extracted packet for processing {"connection_id":170730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:07:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851342592001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:07:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788482108000,"timestamp_ms":1788482108000,"timestamp_seconds":1788482108,"priority":1,"record_length":96,"hex_timestamp":"000001a069d73a60"} 
[2026-09-04 06:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851342592001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851342592001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:07:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:07:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851342592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":170730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:07:37] local.INFO: GPS data processed {"connection_id":170730,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:07:37] local.INFO: Acknowledgment sent {"connection_id":170730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:08:00] local.INFO: TCP Data received {"connection_id":171835,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:08:00] local.INFO: Processing buffer {"connection_id":171835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:08:00] local.INFO: IMEI packet received {"connection_id":171835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":171835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:08:05] local.INFO: TCP Data received {"connection_id":171835,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:08:05] local.INFO: Processing buffer {"connection_id":171835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:08:05] local.INFO: IMEI packet received {"connection_id":171835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":171835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:08:06] local.INFO: TCP Data received {"connection_id":171835,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:08:06] local.INFO: Processing buffer {"connection_id":171835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:08:06] local.INFO: Packet analysis {"connection_id":171835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:08:06] local.INFO: Extracted packet for processing {"connection_id":171835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:08:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851342592001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:08:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788482108000,"timestamp_ms":1788482108000,"timestamp_seconds":1788482108,"priority":1,"record_length":96,"hex_timestamp":"000001a069d73a60"} 
[2026-09-04 06:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851342592001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851342592001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:08:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:08:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851342592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":171835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:08:06] local.INFO: GPS data processed {"connection_id":171835,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:08:06] local.INFO: Acknowledgment sent {"connection_id":171835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:08:37] local.INFO: TCP Data received {"connection_id":171835,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:08:37] local.INFO: Processing buffer {"connection_id":171835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:08:37] local.INFO: Packet analysis {"connection_id":171835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:08:37] local.INFO: Extracted packet for processing {"connection_id":171835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:08:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851342592001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:08:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788482108000,"timestamp_ms":1788482108000,"timestamp_seconds":1788482108,"priority":1,"record_length":96,"hex_timestamp":"000001a069d73a60"} 
[2026-09-04 06:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851342592001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851342592001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:08:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:08:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851342592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":171835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:08:37] local.INFO: GPS data processed {"connection_id":171835,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:08:37] local.INFO: Acknowledgment sent {"connection_id":171835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:09:00] local.INFO: TCP Data received {"connection_id":170435,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:09:00] local.INFO: Processing buffer {"connection_id":170435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:09:00] local.INFO: IMEI packet received {"connection_id":170435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":170435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:09:05] local.INFO: TCP Data received {"connection_id":170435,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:09:05] local.INFO: Processing buffer {"connection_id":170435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:09:05] local.INFO: IMEI packet received {"connection_id":170435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":170435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:09:06] local.INFO: TCP Data received {"connection_id":170435,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:09:06] local.INFO: Processing buffer {"connection_id":170435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:09:06] local.INFO: Packet analysis {"connection_id":170435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:09:06] local.INFO: Extracted packet for processing {"connection_id":170435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:09:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851342592001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788482108000,"timestamp_ms":1788482108000,"timestamp_seconds":1788482108,"priority":1,"record_length":96,"hex_timestamp":"000001a069d73a60"} 
[2026-09-04 06:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851342592001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851342592001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:09:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851342592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":170435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:09:06] local.INFO: GPS data processed {"connection_id":170435,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:09:06] local.INFO: Acknowledgment sent {"connection_id":170435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:09:37] local.INFO: TCP Data received {"connection_id":170435,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:09:37] local.INFO: Processing buffer {"connection_id":170435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:09:37] local.INFO: Packet analysis {"connection_id":170435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:09:37] local.INFO: Extracted packet for processing {"connection_id":170435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:09:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851342592001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:09:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788482108000,"timestamp_ms":1788482108000,"timestamp_seconds":1788482108,"priority":1,"record_length":96,"hex_timestamp":"000001a069d73a60"} 
[2026-09-04 06:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851342592001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851342592001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:09:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:09:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851342592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":170435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:09:37] local.INFO: GPS data processed {"connection_id":170435,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:09:37] local.INFO: Acknowledgment sent {"connection_id":170435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:10:00] local.INFO: TCP Data received {"connection_id":170731,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:10:00] local.INFO: Processing buffer {"connection_id":170731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:10:00] local.INFO: IMEI packet received {"connection_id":170731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":170731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:10:05] local.INFO: TCP Data received {"connection_id":170731,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:10:05] local.INFO: Processing buffer {"connection_id":170731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:10:05] local.INFO: IMEI packet received {"connection_id":170731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":170731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:10:06] local.INFO: TCP Data received {"connection_id":170731,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:10:06] local.INFO: Processing buffer {"connection_id":170731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:10:06] local.INFO: Packet analysis {"connection_id":170731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:10:06] local.INFO: Extracted packet for processing {"connection_id":170731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:10:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851342592001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:10:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788482108000,"timestamp_ms":1788482108000,"timestamp_seconds":1788482108,"priority":1,"record_length":96,"hex_timestamp":"000001a069d73a60"} 
[2026-09-04 06:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851342592001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851342592001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:10:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:10:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851342592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":170731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:10:06] local.INFO: GPS data processed {"connection_id":170731,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:10:06] local.INFO: Acknowledgment sent {"connection_id":170731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:10:37] local.INFO: TCP Data received {"connection_id":170731,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:10:37] local.INFO: Processing buffer {"connection_id":170731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069d73a60012cee7040072e2b900035006228..."} 
[2026-09-04 06:10:37] local.INFO: Packet analysis {"connection_id":170731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:10:37] local.INFO: Extracted packet for processing {"connection_id":170731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069d7"} 
[2026-09-04 06:10:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851342592001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:10:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788482108000,"timestamp_ms":1788482108000,"timestamp_seconds":1788482108,"priority":1,"record_length":96,"hex_timestamp":"000001a069d73a60"} 
[2026-09-04 06:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851342592001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851342592001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:10:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:10:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851342592001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":170731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:10:37] local.INFO: GPS data processed {"connection_id":170731,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:10:37] local.INFO: Acknowledgment sent {"connection_id":170731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:11:00] local.INFO: TCP Data received {"connection_id":171836,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:11:00] local.INFO: Processing buffer {"connection_id":171836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:11:00] local.INFO: IMEI packet received {"connection_id":171836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":171836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:11:05] local.INFO: TCP Data received {"connection_id":171836,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:11:05] local.INFO: Processing buffer {"connection_id":171836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:11:05] local.INFO: IMEI packet received {"connection_id":171836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":171836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:11:05] local.INFO: TCP Data received {"connection_id":171836,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:11:05] local.INFO: Processing buffer {"connection_id":171836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:11:05] local.INFO: Packet analysis {"connection_id":171836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:11:05] local.INFO: Extracted packet for processing {"connection_id":171836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:11:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851419648001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:11:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788482409000,"timestamp_ms":1788482409000,"timestamp_seconds":1788482409,"priority":1,"record_length":96,"hex_timestamp":"000001a069dbd228"} 
[2026-09-04 06:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851419648001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851419648001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:11:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:11:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851419648001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":171836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:11:05] local.INFO: GPS data processed {"connection_id":171836,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:11:05] local.INFO: Acknowledgment sent {"connection_id":171836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:11:36] local.INFO: TCP Data received {"connection_id":171836,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:11:36] local.INFO: Processing buffer {"connection_id":171836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:11:36] local.INFO: Packet analysis {"connection_id":171836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:11:36] local.INFO: Extracted packet for processing {"connection_id":171836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:11:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851419648001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:11:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788482409000,"timestamp_ms":1788482409000,"timestamp_seconds":1788482409,"priority":1,"record_length":96,"hex_timestamp":"000001a069dbd228"} 
[2026-09-04 06:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851419648001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851419648001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:11:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:11:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851419648001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":171836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:11:36] local.INFO: GPS data processed {"connection_id":171836,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:11:36] local.INFO: Acknowledgment sent {"connection_id":171836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:12:00] local.INFO: TCP Data received {"connection_id":170733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:12:00] local.INFO: Processing buffer {"connection_id":170733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:12:00] local.INFO: IMEI packet received {"connection_id":170733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":170733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:12:05] local.INFO: TCP Data received {"connection_id":170733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:12:05] local.INFO: Processing buffer {"connection_id":170733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:12:05] local.INFO: IMEI packet received {"connection_id":170733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":170733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:12:06] local.INFO: TCP Data received {"connection_id":170733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:12:06] local.INFO: Processing buffer {"connection_id":170733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:12:06] local.INFO: Packet analysis {"connection_id":170733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:12:06] local.INFO: Extracted packet for processing {"connection_id":170733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:12:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851419648001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:12:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788482409000,"timestamp_ms":1788482409000,"timestamp_seconds":1788482409,"priority":1,"record_length":96,"hex_timestamp":"000001a069dbd228"} 
[2026-09-04 06:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851419648001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851419648001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:12:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:12:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851419648001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":170733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:12:06] local.INFO: GPS data processed {"connection_id":170733,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:12:06] local.INFO: Acknowledgment sent {"connection_id":170733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:12:37] local.INFO: TCP Data received {"connection_id":170733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:12:37] local.INFO: Processing buffer {"connection_id":170733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:12:37] local.INFO: Packet analysis {"connection_id":170733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:12:37] local.INFO: Extracted packet for processing {"connection_id":170733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:12:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851419648001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:12:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788482409000,"timestamp_ms":1788482409000,"timestamp_seconds":1788482409,"priority":1,"record_length":96,"hex_timestamp":"000001a069dbd228"} 
[2026-09-04 06:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851419648001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851419648001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:12:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:12:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851419648001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":170733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:12:37] local.INFO: GPS data processed {"connection_id":170733,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:12:37] local.INFO: Acknowledgment sent {"connection_id":170733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:13:00] local.INFO: TCP Data received {"connection_id":170734,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:13:00] local.INFO: Processing buffer {"connection_id":170734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:13:00] local.INFO: IMEI packet received {"connection_id":170734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":170734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:13:05] local.INFO: TCP Data received {"connection_id":170734,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:13:05] local.INFO: Processing buffer {"connection_id":170734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:13:05] local.INFO: IMEI packet received {"connection_id":170734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":170734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:13:06] local.INFO: TCP Data received {"connection_id":170734,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:13:06] local.INFO: Processing buffer {"connection_id":170734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:13:06] local.INFO: Packet analysis {"connection_id":170734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:13:06] local.INFO: Extracted packet for processing {"connection_id":170734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:13:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851419648001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:13:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788482409000,"timestamp_ms":1788482409000,"timestamp_seconds":1788482409,"priority":1,"record_length":96,"hex_timestamp":"000001a069dbd228"} 
[2026-09-04 06:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851419648001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851419648001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:13:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:13:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851419648001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":170734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:13:06] local.INFO: GPS data processed {"connection_id":170734,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:13:06] local.INFO: Acknowledgment sent {"connection_id":170734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:13:37] local.INFO: TCP Data received {"connection_id":170734,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:13:37] local.INFO: Processing buffer {"connection_id":170734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:13:37] local.INFO: Packet analysis {"connection_id":170734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:13:37] local.INFO: Extracted packet for processing {"connection_id":170734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:13:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851419648001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:13:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788482409000,"timestamp_ms":1788482409000,"timestamp_seconds":1788482409,"priority":1,"record_length":96,"hex_timestamp":"000001a069dbd228"} 
[2026-09-04 06:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851419648001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851419648001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:13:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:13:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851419648001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":170734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:13:37] local.INFO: GPS data processed {"connection_id":170734,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:13:37] local.INFO: Acknowledgment sent {"connection_id":170734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:14:00] local.INFO: TCP Data received {"connection_id":170735,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:14:00] local.INFO: Processing buffer {"connection_id":170735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:14:00] local.INFO: IMEI packet received {"connection_id":170735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":170735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:14:05] local.INFO: TCP Data received {"connection_id":170735,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:14:05] local.INFO: Processing buffer {"connection_id":170735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:14:05] local.INFO: IMEI packet received {"connection_id":170735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":170735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:14:06] local.INFO: TCP Data received {"connection_id":170735,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:14:06] local.INFO: Processing buffer {"connection_id":170735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:14:06] local.INFO: Packet analysis {"connection_id":170735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:14:06] local.INFO: Extracted packet for processing {"connection_id":170735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:14:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851419648001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788482409000,"timestamp_ms":1788482409000,"timestamp_seconds":1788482409,"priority":1,"record_length":96,"hex_timestamp":"000001a069dbd228"} 
[2026-09-04 06:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851419648001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851419648001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:14:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851419648001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":170735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:14:06] local.INFO: GPS data processed {"connection_id":170735,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:14:06] local.INFO: Acknowledgment sent {"connection_id":170735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:14:37] local.INFO: TCP Data received {"connection_id":170735,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:14:37] local.INFO: Processing buffer {"connection_id":170735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:14:37] local.INFO: Packet analysis {"connection_id":170735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:14:37] local.INFO: Extracted packet for processing {"connection_id":170735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:14:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851419648001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:14:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788482409000,"timestamp_ms":1788482409000,"timestamp_seconds":1788482409,"priority":1,"record_length":96,"hex_timestamp":"000001a069dbd228"} 
[2026-09-04 06:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851419648001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851419648001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:14:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:14:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851419648001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":170735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:14:37] local.INFO: GPS data processed {"connection_id":170735,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:14:37] local.INFO: Acknowledgment sent {"connection_id":170735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:15:00] local.INFO: TCP Data received {"connection_id":173136,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:15:00] local.INFO: Processing buffer {"connection_id":173136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:15:00] local.INFO: IMEI packet received {"connection_id":173136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":173136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:15:05] local.INFO: TCP Data received {"connection_id":173136,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:15:05] local.INFO: Processing buffer {"connection_id":173136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:15:05] local.INFO: IMEI packet received {"connection_id":173136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":173136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:15:06] local.INFO: TCP Data received {"connection_id":173136,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:15:06] local.INFO: Processing buffer {"connection_id":173136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:15:06] local.INFO: Packet analysis {"connection_id":173136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:15:06] local.INFO: Extracted packet for processing {"connection_id":173136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:15:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851419648001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:15:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788482409000,"timestamp_ms":1788482409000,"timestamp_seconds":1788482409,"priority":1,"record_length":96,"hex_timestamp":"000001a069dbd228"} 
[2026-09-04 06:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851419648001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851419648001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:15:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:15:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851419648001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":173136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:15:06] local.INFO: GPS data processed {"connection_id":173136,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:15:06] local.INFO: Acknowledgment sent {"connection_id":173136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:15:37] local.INFO: TCP Data received {"connection_id":173136,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:15:37] local.INFO: Processing buffer {"connection_id":173136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069dbd228012cee7040072e2b900035006227..."} 
[2026-09-04 06:15:37] local.INFO: Packet analysis {"connection_id":173136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:15:37] local.INFO: Extracted packet for processing {"connection_id":173136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069db"} 
[2026-09-04 06:15:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851419648001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788482409000,"timestamp_ms":1788482409000,"timestamp_seconds":1788482409,"priority":1,"record_length":96,"hex_timestamp":"000001a069dbd228"} 
[2026-09-04 06:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851419648001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851419648001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:15:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851419648001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":173136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:15:37] local.INFO: GPS data processed {"connection_id":173136,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:15:37] local.INFO: Acknowledgment sent {"connection_id":173136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:16:30] local.INFO: TCP Data received {"connection_id":170736,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:16:30] local.INFO: Processing buffer {"connection_id":170736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:16:30] local.INFO: IMEI packet received {"connection_id":170736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":170736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:16:35] local.INFO: TCP Data received {"connection_id":170736,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:16:35] local.INFO: Processing buffer {"connection_id":170736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:16:35] local.INFO: IMEI packet received {"connection_id":170736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":170736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:16:36] local.INFO: TCP Data received {"connection_id":170736,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:16:36] local.INFO: Processing buffer {"connection_id":170736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:16:36] local.INFO: Packet analysis {"connection_id":170736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:16:36] local.INFO: Extracted packet for processing {"connection_id":170736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:16:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851496704001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:16:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788482710000,"timestamp_ms":1788482710000,"timestamp_seconds":1788482710,"priority":1,"record_length":96,"hex_timestamp":"000001a069e069f0"} 
[2026-09-04 06:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851496704001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851496704001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:16:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:16:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851496704001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":170736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:16:36] local.INFO: GPS data processed {"connection_id":170736,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:16:36] local.INFO: Acknowledgment sent {"connection_id":170736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:17:05] local.INFO: TCP Data received {"connection_id":173138,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:17:05] local.INFO: Processing buffer {"connection_id":173138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:17:05] local.INFO: IMEI packet received {"connection_id":173138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":173138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:17:10] local.INFO: TCP Data received {"connection_id":173138,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:17:10] local.INFO: Processing buffer {"connection_id":173138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:17:10] local.INFO: IMEI packet received {"connection_id":173138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":173138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:17:11] local.INFO: TCP Data received {"connection_id":173138,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:17:11] local.INFO: Processing buffer {"connection_id":173138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:17:11] local.INFO: Packet analysis {"connection_id":173138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:17:11] local.INFO: Extracted packet for processing {"connection_id":173138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:17:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851496704001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788482710000,"timestamp_ms":1788482710000,"timestamp_seconds":1788482710,"priority":1,"record_length":96,"hex_timestamp":"000001a069e069f0"} 
[2026-09-04 06:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851496704001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851496704001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:17:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851496704001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":173138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:17:11] local.INFO: GPS data processed {"connection_id":173138,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:17:11] local.INFO: Acknowledgment sent {"connection_id":173138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:17:42] local.INFO: TCP Data received {"connection_id":173138,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:17:42] local.INFO: Processing buffer {"connection_id":173138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:17:42] local.INFO: Packet analysis {"connection_id":173138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:17:42] local.INFO: Extracted packet for processing {"connection_id":173138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:17:42] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851496704001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788482710000,"timestamp_ms":1788482710000,"timestamp_seconds":1788482710,"priority":1,"record_length":96,"hex_timestamp":"000001a069e069f0"} 
[2026-09-04 06:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851496704001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851496704001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:17:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851496704001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":173138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:17:42] local.INFO: GPS data processed {"connection_id":173138,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:17:42] local.INFO: Acknowledgment sent {"connection_id":173138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:18:00] local.INFO: TCP Data received {"connection_id":170737,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:18:00] local.INFO: Processing buffer {"connection_id":170737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:18:00] local.INFO: IMEI packet received {"connection_id":170737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":170737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:18:05] local.INFO: TCP Data received {"connection_id":170737,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:18:05] local.INFO: Processing buffer {"connection_id":170737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:18:05] local.INFO: IMEI packet received {"connection_id":170737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":170737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:18:06] local.INFO: TCP Data received {"connection_id":170737,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:18:06] local.INFO: Processing buffer {"connection_id":170737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:18:06] local.INFO: Packet analysis {"connection_id":170737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:18:06] local.INFO: Extracted packet for processing {"connection_id":170737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:18:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851496704001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:18:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788482710000,"timestamp_ms":1788482710000,"timestamp_seconds":1788482710,"priority":1,"record_length":96,"hex_timestamp":"000001a069e069f0"} 
[2026-09-04 06:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851496704001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851496704001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:18:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:18:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851496704001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":170737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:18:06] local.INFO: GPS data processed {"connection_id":170737,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:18:06] local.INFO: Acknowledgment sent {"connection_id":170737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:18:37] local.INFO: TCP Data received {"connection_id":170737,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:18:37] local.INFO: Processing buffer {"connection_id":170737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:18:37] local.INFO: Packet analysis {"connection_id":170737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:18:37] local.INFO: Extracted packet for processing {"connection_id":170737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:18:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851496704001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:18:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788482710000,"timestamp_ms":1788482710000,"timestamp_seconds":1788482710,"priority":1,"record_length":96,"hex_timestamp":"000001a069e069f0"} 
[2026-09-04 06:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851496704001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851496704001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:18:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:18:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851496704001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":170737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:18:37] local.INFO: GPS data processed {"connection_id":170737,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:18:37] local.INFO: Acknowledgment sent {"connection_id":170737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:19:00] local.INFO: TCP Data received {"connection_id":173139,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:19:00] local.INFO: Processing buffer {"connection_id":173139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:19:00] local.INFO: IMEI packet received {"connection_id":173139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":173139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:19:05] local.INFO: TCP Data received {"connection_id":173139,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:19:05] local.INFO: Processing buffer {"connection_id":173139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:19:05] local.INFO: IMEI packet received {"connection_id":173139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":173139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:19:06] local.INFO: TCP Data received {"connection_id":173139,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:19:06] local.INFO: Processing buffer {"connection_id":173139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:19:06] local.INFO: Packet analysis {"connection_id":173139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:19:06] local.INFO: Extracted packet for processing {"connection_id":173139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:19:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851496704001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788482710000,"timestamp_ms":1788482710000,"timestamp_seconds":1788482710,"priority":1,"record_length":96,"hex_timestamp":"000001a069e069f0"} 
[2026-09-04 06:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851496704001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851496704001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:19:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851496704001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":173139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:19:06] local.INFO: GPS data processed {"connection_id":173139,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:19:06] local.INFO: Acknowledgment sent {"connection_id":173139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:19:37] local.INFO: TCP Data received {"connection_id":173139,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:19:37] local.INFO: Processing buffer {"connection_id":173139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:19:37] local.INFO: Packet analysis {"connection_id":173139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:19:37] local.INFO: Extracted packet for processing {"connection_id":173139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:19:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851496704001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:19:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788482710000,"timestamp_ms":1788482710000,"timestamp_seconds":1788482710,"priority":1,"record_length":96,"hex_timestamp":"000001a069e069f0"} 
[2026-09-04 06:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851496704001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851496704001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:19:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:19:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851496704001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":173139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:19:37] local.INFO: GPS data processed {"connection_id":173139,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:19:37] local.INFO: Acknowledgment sent {"connection_id":173139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:20:00] local.INFO: TCP Data received {"connection_id":171837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:20:00] local.INFO: Processing buffer {"connection_id":171837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:20:00] local.INFO: IMEI packet received {"connection_id":171837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":171837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:20:05] local.INFO: TCP Data received {"connection_id":171837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:20:05] local.INFO: Processing buffer {"connection_id":171837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:20:05] local.INFO: IMEI packet received {"connection_id":171837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":171837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:20:06] local.INFO: TCP Data received {"connection_id":171837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:20:06] local.INFO: Processing buffer {"connection_id":171837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:20:06] local.INFO: Packet analysis {"connection_id":171837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:20:06] local.INFO: Extracted packet for processing {"connection_id":171837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:20:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851496704001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788482710000,"timestamp_ms":1788482710000,"timestamp_seconds":1788482710,"priority":1,"record_length":96,"hex_timestamp":"000001a069e069f0"} 
[2026-09-04 06:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851496704001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851496704001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:20:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851496704001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":171837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:20:06] local.INFO: GPS data processed {"connection_id":171837,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:20:06] local.INFO: Acknowledgment sent {"connection_id":171837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:20:37] local.INFO: TCP Data received {"connection_id":171837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:20:37] local.INFO: Processing buffer {"connection_id":171837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e069f0012cee7040072e2b900035006228..."} 
[2026-09-04 06:20:37] local.INFO: Packet analysis {"connection_id":171837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:20:37] local.INFO: Extracted packet for processing {"connection_id":171837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e0"} 
[2026-09-04 06:20:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851496704001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788482710000,"timestamp_ms":1788482710000,"timestamp_seconds":1788482710,"priority":1,"record_length":96,"hex_timestamp":"000001a069e069f0"} 
[2026-09-04 06:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851496704001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851496704001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:20:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851496704001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":171837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:20:37] local.INFO: GPS data processed {"connection_id":171837,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:20:37] local.INFO: Acknowledgment sent {"connection_id":171837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:21:05] local.INFO: TCP Data received {"connection_id":171838,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:21:05] local.INFO: Processing buffer {"connection_id":171838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:21:05] local.INFO: IMEI packet received {"connection_id":171838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":171838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:21:10] local.INFO: TCP Data received {"connection_id":171838,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:21:10] local.INFO: Processing buffer {"connection_id":171838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:21:10] local.INFO: IMEI packet received {"connection_id":171838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":171838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:21:11] local.INFO: TCP Data received {"connection_id":171838,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:21:11] local.INFO: Processing buffer {"connection_id":171838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:21:11] local.INFO: Packet analysis {"connection_id":171838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:21:11] local.INFO: Extracted packet for processing {"connection_id":171838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:21:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851573760001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788483011000,"timestamp_ms":1788483011000,"timestamp_seconds":1788483011,"priority":1,"record_length":96,"hex_timestamp":"000001a069e501b8"} 
[2026-09-04 06:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851573760001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851573760001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:21:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851573760001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":171838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:21:11] local.INFO: GPS data processed {"connection_id":171838,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:21:11] local.INFO: Acknowledgment sent {"connection_id":171838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:21:16] local.INFO: TCP Data received {"connection_id":171838,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:21:16] local.INFO: Processing buffer {"connection_id":171838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:21:16] local.INFO: Packet analysis {"connection_id":171838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:21:16] local.INFO: Extracted packet for processing {"connection_id":171838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:21:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851573760001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:21:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788483011000,"timestamp_ms":1788483011000,"timestamp_seconds":1788483011,"priority":1,"record_length":96,"hex_timestamp":"000001a069e501b8"} 
[2026-09-04 06:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851573760001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851573760001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:21:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:21:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:21:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851573760001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":171838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:21:16] local.INFO: GPS data processed {"connection_id":171838,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:21:16] local.INFO: Acknowledgment sent {"connection_id":171838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:22:01] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:22:01] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:22:01] local.INFO: IMEI packet received {"connection_id":173140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":173140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:22:05] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:22:05] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:22:05] local.INFO: IMEI packet received {"connection_id":173140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":173140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:22:06] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:22:06] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:22:06] local.INFO: Packet analysis {"connection_id":173140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:22:06] local.INFO: Extracted packet for processing {"connection_id":173140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851573760001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:22:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483011000,"timestamp_ms":1788483011000,"timestamp_seconds":1788483011,"priority":1,"record_length":96,"hex_timestamp":"000001a069e501b8"} 
[2026-09-04 06:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851573760001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851573760001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:22:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:22:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851573760001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":173140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:22:06] local.INFO: GPS data processed {"connection_id":173140,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:22:06] local.INFO: Acknowledgment sent {"connection_id":173140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:22:37] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:22:37] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:22:37] local.INFO: Packet analysis {"connection_id":173140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:22:37] local.INFO: Extracted packet for processing {"connection_id":173140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:22:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851573760001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:22:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788483011000,"timestamp_ms":1788483011000,"timestamp_seconds":1788483011,"priority":1,"record_length":96,"hex_timestamp":"000001a069e501b8"} 
[2026-09-04 06:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851573760001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851573760001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:22:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:22:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851573760001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":173140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:22:37] local.INFO: GPS data processed {"connection_id":173140,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:22:37] local.INFO: Acknowledgment sent {"connection_id":173140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:23:00] local.INFO: TCP Data received {"connection_id":171840,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:23:00] local.INFO: Processing buffer {"connection_id":171840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:23:00] local.INFO: IMEI packet received {"connection_id":171840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":171840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:23:05] local.INFO: TCP Data received {"connection_id":171840,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:23:05] local.INFO: Processing buffer {"connection_id":171840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:23:05] local.INFO: IMEI packet received {"connection_id":171840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":171840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:23:06] local.INFO: TCP Data received {"connection_id":171840,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:23:06] local.INFO: Processing buffer {"connection_id":171840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:23:06] local.INFO: Packet analysis {"connection_id":171840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:23:06] local.INFO: Extracted packet for processing {"connection_id":171840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:23:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851573760001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:23:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483011000,"timestamp_ms":1788483011000,"timestamp_seconds":1788483011,"priority":1,"record_length":96,"hex_timestamp":"000001a069e501b8"} 
[2026-09-04 06:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851573760001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851573760001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:23:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:23:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851573760001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":171840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:23:06] local.INFO: GPS data processed {"connection_id":171840,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:23:06] local.INFO: Acknowledgment sent {"connection_id":171840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:23:37] local.INFO: TCP Data received {"connection_id":171840,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:23:37] local.INFO: Processing buffer {"connection_id":171840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:23:37] local.INFO: Packet analysis {"connection_id":171840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:23:37] local.INFO: Extracted packet for processing {"connection_id":171840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:23:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851573760001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788483011000,"timestamp_ms":1788483011000,"timestamp_seconds":1788483011,"priority":1,"record_length":96,"hex_timestamp":"000001a069e501b8"} 
[2026-09-04 06:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851573760001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851573760001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:23:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851573760001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":171840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:23:37] local.INFO: GPS data processed {"connection_id":171840,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:23:37] local.INFO: Acknowledgment sent {"connection_id":171840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:24:00] local.INFO: TCP Data received {"connection_id":170738,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:24:00] local.INFO: Processing buffer {"connection_id":170738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:24:00] local.INFO: IMEI packet received {"connection_id":170738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":170738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:24:05] local.INFO: TCP Data received {"connection_id":170738,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:24:05] local.INFO: Processing buffer {"connection_id":170738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:24:05] local.INFO: IMEI packet received {"connection_id":170738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":170738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:24:06] local.INFO: TCP Data received {"connection_id":170738,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:24:06] local.INFO: Processing buffer {"connection_id":170738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:24:06] local.INFO: Packet analysis {"connection_id":170738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:24:06] local.INFO: Extracted packet for processing {"connection_id":170738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:24:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851573760001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:24:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483011000,"timestamp_ms":1788483011000,"timestamp_seconds":1788483011,"priority":1,"record_length":96,"hex_timestamp":"000001a069e501b8"} 
[2026-09-04 06:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851573760001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851573760001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:24:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:24:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851573760001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":170738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:24:06] local.INFO: GPS data processed {"connection_id":170738,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:24:06] local.INFO: Acknowledgment sent {"connection_id":170738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:24:37] local.INFO: TCP Data received {"connection_id":170738,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:24:37] local.INFO: Processing buffer {"connection_id":170738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:24:37] local.INFO: Packet analysis {"connection_id":170738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:24:37] local.INFO: Extracted packet for processing {"connection_id":170738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:24:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851573760001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:24:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788483011000,"timestamp_ms":1788483011000,"timestamp_seconds":1788483011,"priority":1,"record_length":96,"hex_timestamp":"000001a069e501b8"} 
[2026-09-04 06:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851573760001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851573760001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:24:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:24:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851573760001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":170738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:24:37] local.INFO: GPS data processed {"connection_id":170738,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:24:37] local.INFO: Acknowledgment sent {"connection_id":170738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:25:00] local.INFO: TCP Data received {"connection_id":171841,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:25:00] local.INFO: Processing buffer {"connection_id":171841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:25:00] local.INFO: IMEI packet received {"connection_id":171841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":171841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:25:05] local.INFO: TCP Data received {"connection_id":171841,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:25:05] local.INFO: Processing buffer {"connection_id":171841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:25:05] local.INFO: IMEI packet received {"connection_id":171841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":171841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:25:06] local.INFO: TCP Data received {"connection_id":171841,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:25:06] local.INFO: Processing buffer {"connection_id":171841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:25:06] local.INFO: Packet analysis {"connection_id":171841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:25:06] local.INFO: Extracted packet for processing {"connection_id":171841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:25:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851573760001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:25:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483011000,"timestamp_ms":1788483011000,"timestamp_seconds":1788483011,"priority":1,"record_length":96,"hex_timestamp":"000001a069e501b8"} 
[2026-09-04 06:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851573760001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851573760001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:25:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:25:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851573760001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":171841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:25:06] local.INFO: GPS data processed {"connection_id":171841,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:25:06] local.INFO: Acknowledgment sent {"connection_id":171841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:25:37] local.INFO: TCP Data received {"connection_id":171841,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:25:37] local.INFO: Processing buffer {"connection_id":171841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e501b8012cee7040072e2b900035006228..."} 
[2026-09-04 06:25:37] local.INFO: Packet analysis {"connection_id":171841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:25:37] local.INFO: Extracted packet for processing {"connection_id":171841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e5"} 
[2026-09-04 06:25:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851573760001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:25:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788483011000,"timestamp_ms":1788483011000,"timestamp_seconds":1788483011,"priority":1,"record_length":96,"hex_timestamp":"000001a069e501b8"} 
[2026-09-04 06:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 06:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851573760001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851573760001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:25:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:25:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851573760001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":171841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:25:37] local.INFO: GPS data processed {"connection_id":171841,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:25:37] local.INFO: Acknowledgment sent {"connection_id":171841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:26:05] local.INFO: TCP Data received {"connection_id":171842,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:26:05] local.INFO: Processing buffer {"connection_id":171842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:26:05] local.INFO: IMEI packet received {"connection_id":171842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":171842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:26:10] local.INFO: TCP Data received {"connection_id":171842,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:26:10] local.INFO: Processing buffer {"connection_id":171842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:26:10] local.INFO: IMEI packet received {"connection_id":171842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":171842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:26:11] local.INFO: TCP Data received {"connection_id":171842,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:26:11] local.INFO: Processing buffer {"connection_id":171842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:26:11] local.INFO: Packet analysis {"connection_id":171842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:26:11] local.INFO: Extracted packet for processing {"connection_id":171842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:26:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851650816001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:26:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788483312000,"timestamp_ms":1788483312000,"timestamp_seconds":1788483312,"priority":1,"record_length":96,"hex_timestamp":"000001a069e99980"} 
[2026-09-04 06:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851650816001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851650816001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:26:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:26:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851650816001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":171842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:26:11] local.INFO: GPS data processed {"connection_id":171842,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:26:11] local.INFO: Acknowledgment sent {"connection_id":171842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:26:15] local.INFO: TCP Data received {"connection_id":171842,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:26:15] local.INFO: Processing buffer {"connection_id":171842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:26:15] local.INFO: Packet analysis {"connection_id":171842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:26:15] local.INFO: Extracted packet for processing {"connection_id":171842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:26:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851650816001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:26:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788483312000,"timestamp_ms":1788483312000,"timestamp_seconds":1788483312,"priority":1,"record_length":96,"hex_timestamp":"000001a069e99980"} 
[2026-09-04 06:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851650816001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851650816001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:26:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:26:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851650816001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":171842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:26:15] local.INFO: GPS data processed {"connection_id":171842,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:26:15] local.INFO: Acknowledgment sent {"connection_id":171842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:27:01] local.INFO: TCP Data received {"connection_id":173141,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:27:01] local.INFO: Processing buffer {"connection_id":173141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:27:01] local.INFO: IMEI packet received {"connection_id":173141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":173141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:27:05] local.INFO: TCP Data received {"connection_id":173141,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:27:05] local.INFO: Processing buffer {"connection_id":173141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:27:05] local.INFO: IMEI packet received {"connection_id":173141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":173141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:27:06] local.INFO: TCP Data received {"connection_id":173141,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:27:06] local.INFO: Processing buffer {"connection_id":173141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:27:06] local.INFO: Packet analysis {"connection_id":173141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:27:06] local.INFO: Extracted packet for processing {"connection_id":173141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:27:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851650816001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:27:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483312000,"timestamp_ms":1788483312000,"timestamp_seconds":1788483312,"priority":1,"record_length":96,"hex_timestamp":"000001a069e99980"} 
[2026-09-04 06:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851650816001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851650816001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:27:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:27:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851650816001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":173141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:27:06] local.INFO: GPS data processed {"connection_id":173141,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:27:06] local.INFO: Acknowledgment sent {"connection_id":173141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:27:39] local.INFO: TCP Data received {"connection_id":173141,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:27:39] local.INFO: Processing buffer {"connection_id":173141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:27:39] local.INFO: Packet analysis {"connection_id":173141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:27:39] local.INFO: Extracted packet for processing {"connection_id":173141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:27:39] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851650816001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:27:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788483312000,"timestamp_ms":1788483312000,"timestamp_seconds":1788483312,"priority":1,"record_length":96,"hex_timestamp":"000001a069e99980"} 
[2026-09-04 06:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851650816001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851650816001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:27:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:27:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:27:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851650816001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":173141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:27:39] local.INFO: GPS data processed {"connection_id":173141,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:27:39] local.INFO: Acknowledgment sent {"connection_id":173141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:28:00] local.INFO: TCP Data received {"connection_id":170437,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:28:00] local.INFO: Processing buffer {"connection_id":170437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:28:00] local.INFO: IMEI packet received {"connection_id":170437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":170437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:28:05] local.INFO: TCP Data received {"connection_id":170437,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:28:05] local.INFO: Processing buffer {"connection_id":170437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:28:05] local.INFO: IMEI packet received {"connection_id":170437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":170437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:28:06] local.INFO: TCP Data received {"connection_id":170437,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:28:06] local.INFO: Processing buffer {"connection_id":170437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:28:06] local.INFO: Packet analysis {"connection_id":170437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:28:06] local.INFO: Extracted packet for processing {"connection_id":170437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:28:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851650816001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:28:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483312000,"timestamp_ms":1788483312000,"timestamp_seconds":1788483312,"priority":1,"record_length":96,"hex_timestamp":"000001a069e99980"} 
[2026-09-04 06:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851650816001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851650816001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:28:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:28:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851650816001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":170437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:28:06] local.INFO: GPS data processed {"connection_id":170437,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:28:06] local.INFO: Acknowledgment sent {"connection_id":170437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:28:40] local.INFO: TCP Data received {"connection_id":170437,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:28:40] local.INFO: Processing buffer {"connection_id":170437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:28:40] local.INFO: Packet analysis {"connection_id":170437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:28:40] local.INFO: Extracted packet for processing {"connection_id":170437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:28:40] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851650816001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788483312000,"timestamp_ms":1788483312000,"timestamp_seconds":1788483312,"priority":1,"record_length":96,"hex_timestamp":"000001a069e99980"} 
[2026-09-04 06:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851650816001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851650816001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:28:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:28:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851650816001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":170437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:28:40] local.INFO: GPS data processed {"connection_id":170437,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:28:40] local.INFO: Acknowledgment sent {"connection_id":170437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:29:00] local.INFO: TCP Data received {"connection_id":170739,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:29:00] local.INFO: Processing buffer {"connection_id":170739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:29:00] local.INFO: IMEI packet received {"connection_id":170739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":170739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:29:05] local.INFO: TCP Data received {"connection_id":170739,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:29:05] local.INFO: Processing buffer {"connection_id":170739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:29:05] local.INFO: IMEI packet received {"connection_id":170739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":170739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:29:06] local.INFO: TCP Data received {"connection_id":170739,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:29:06] local.INFO: Processing buffer {"connection_id":170739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:29:06] local.INFO: Packet analysis {"connection_id":170739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:29:06] local.INFO: Extracted packet for processing {"connection_id":170739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:29:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851650816001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483312000,"timestamp_ms":1788483312000,"timestamp_seconds":1788483312,"priority":1,"record_length":96,"hex_timestamp":"000001a069e99980"} 
[2026-09-04 06:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851650816001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851650816001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:29:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851650816001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":170739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:29:06] local.INFO: GPS data processed {"connection_id":170739,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:29:06] local.INFO: Acknowledgment sent {"connection_id":170739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:29:37] local.INFO: TCP Data received {"connection_id":170739,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:29:37] local.INFO: Processing buffer {"connection_id":170739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:29:37] local.INFO: Packet analysis {"connection_id":170739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:29:37] local.INFO: Extracted packet for processing {"connection_id":170739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:29:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851650816001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:29:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788483312000,"timestamp_ms":1788483312000,"timestamp_seconds":1788483312,"priority":1,"record_length":96,"hex_timestamp":"000001a069e99980"} 
[2026-09-04 06:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851650816001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851650816001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:29:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:29:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851650816001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":170739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:29:37] local.INFO: GPS data processed {"connection_id":170739,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:29:37] local.INFO: Acknowledgment sent {"connection_id":170739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:30:00] local.INFO: TCP Data received {"connection_id":170438,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:30:00] local.INFO: Processing buffer {"connection_id":170438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:30:00] local.INFO: IMEI packet received {"connection_id":170438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":170438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:30:05] local.INFO: TCP Data received {"connection_id":170438,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:30:05] local.INFO: Processing buffer {"connection_id":170438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:30:05] local.INFO: IMEI packet received {"connection_id":170438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":170438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:30:05] local.INFO: TCP Data received {"connection_id":170438,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:30:05] local.INFO: Processing buffer {"connection_id":170438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:30:05] local.INFO: Packet analysis {"connection_id":170438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:30:05] local.INFO: Extracted packet for processing {"connection_id":170438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:30:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851650816001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788483312000,"timestamp_ms":1788483312000,"timestamp_seconds":1788483312,"priority":1,"record_length":96,"hex_timestamp":"000001a069e99980"} 
[2026-09-04 06:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851650816001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851650816001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:30:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851650816001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":170438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:30:05] local.INFO: GPS data processed {"connection_id":170438,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:30:05] local.INFO: Acknowledgment sent {"connection_id":170438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:30:36] local.INFO: TCP Data received {"connection_id":170438,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:30:36] local.INFO: Processing buffer {"connection_id":170438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069e99980012cee7040072e2b900035006224..."} 
[2026-09-04 06:30:36] local.INFO: Packet analysis {"connection_id":170438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:30:36] local.INFO: Extracted packet for processing {"connection_id":170438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069e9"} 
[2026-09-04 06:30:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851650816001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:30:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788483312000,"timestamp_ms":1788483312000,"timestamp_seconds":1788483312,"priority":1,"record_length":96,"hex_timestamp":"000001a069e99980"} 
[2026-09-04 06:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851650816001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851650816001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:30:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:30:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851650816001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":170438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:30:36] local.INFO: GPS data processed {"connection_id":170438,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:30:36] local.INFO: Acknowledgment sent {"connection_id":170438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:31:00] local.INFO: TCP Data received {"connection_id":170439,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:31:00] local.INFO: Processing buffer {"connection_id":170439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:31:00] local.INFO: IMEI packet received {"connection_id":170439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":170439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:31:05] local.INFO: TCP Data received {"connection_id":170439,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:31:05] local.INFO: Processing buffer {"connection_id":170439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:31:05] local.INFO: IMEI packet received {"connection_id":170439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":170439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:31:06] local.INFO: TCP Data received {"connection_id":170439,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:31:06] local.INFO: Processing buffer {"connection_id":170439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:31:06] local.INFO: Packet analysis {"connection_id":170439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:31:06] local.INFO: Extracted packet for processing {"connection_id":170439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:31:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851727872001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:31:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483613000,"timestamp_ms":1788483613000,"timestamp_seconds":1788483613,"priority":1,"record_length":96,"hex_timestamp":"000001a069ee3148"} 
[2026-09-04 06:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 06:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851727872001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851727872001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:31:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:31:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851727872001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":170439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:31:06] local.INFO: GPS data processed {"connection_id":170439,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:31:06] local.INFO: Acknowledgment sent {"connection_id":170439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:31:37] local.INFO: TCP Data received {"connection_id":170439,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:31:37] local.INFO: Processing buffer {"connection_id":170439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:31:37] local.INFO: Packet analysis {"connection_id":170439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:31:37] local.INFO: Extracted packet for processing {"connection_id":170439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:31:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851727872001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:31:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788483613000,"timestamp_ms":1788483613000,"timestamp_seconds":1788483613,"priority":1,"record_length":96,"hex_timestamp":"000001a069ee3148"} 
[2026-09-04 06:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 06:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851727872001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851727872001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:31:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:31:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851727872001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":170439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:31:37] local.INFO: GPS data processed {"connection_id":170439,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:31:37] local.INFO: Acknowledgment sent {"connection_id":170439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:32:00] local.INFO: TCP Data received {"connection_id":171844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:32:00] local.INFO: Processing buffer {"connection_id":171844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:32:00] local.INFO: IMEI packet received {"connection_id":171844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":171844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:32:05] local.INFO: TCP Data received {"connection_id":171844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:32:05] local.INFO: Processing buffer {"connection_id":171844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:32:05] local.INFO: IMEI packet received {"connection_id":171844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":171844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:32:06] local.INFO: TCP Data received {"connection_id":171844,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:32:06] local.INFO: Processing buffer {"connection_id":171844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:32:06] local.INFO: Packet analysis {"connection_id":171844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:32:06] local.INFO: Extracted packet for processing {"connection_id":171844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:32:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851727872001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:32:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483613000,"timestamp_ms":1788483613000,"timestamp_seconds":1788483613,"priority":1,"record_length":96,"hex_timestamp":"000001a069ee3148"} 
[2026-09-04 06:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 06:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851727872001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851727872001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:32:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:32:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851727872001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":171844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:32:06] local.INFO: GPS data processed {"connection_id":171844,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:32:06] local.INFO: Acknowledgment sent {"connection_id":171844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:32:37] local.INFO: TCP Data received {"connection_id":171844,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:32:37] local.INFO: Processing buffer {"connection_id":171844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:32:37] local.INFO: Packet analysis {"connection_id":171844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:32:37] local.INFO: Extracted packet for processing {"connection_id":171844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:32:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851727872001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:32:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788483613000,"timestamp_ms":1788483613000,"timestamp_seconds":1788483613,"priority":1,"record_length":96,"hex_timestamp":"000001a069ee3148"} 
[2026-09-04 06:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 06:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851727872001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851727872001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:32:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:32:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851727872001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":171844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:32:37] local.INFO: GPS data processed {"connection_id":171844,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:32:37] local.INFO: Acknowledgment sent {"connection_id":171844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:33:00] local.INFO: TCP Data received {"connection_id":170740,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:33:00] local.INFO: Processing buffer {"connection_id":170740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:33:00] local.INFO: IMEI packet received {"connection_id":170740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":170740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:33:05] local.INFO: TCP Data received {"connection_id":170740,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:33:05] local.INFO: Processing buffer {"connection_id":170740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:33:05] local.INFO: IMEI packet received {"connection_id":170740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":170740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:33:06] local.INFO: TCP Data received {"connection_id":170740,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:33:06] local.INFO: Processing buffer {"connection_id":170740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:33:06] local.INFO: Packet analysis {"connection_id":170740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:33:06] local.INFO: Extracted packet for processing {"connection_id":170740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:33:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851727872001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:33:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483613000,"timestamp_ms":1788483613000,"timestamp_seconds":1788483613,"priority":1,"record_length":96,"hex_timestamp":"000001a069ee3148"} 
[2026-09-04 06:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 06:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851727872001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851727872001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:33:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:33:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851727872001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":170740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:33:06] local.INFO: GPS data processed {"connection_id":170740,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:33:06] local.INFO: Acknowledgment sent {"connection_id":170740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:33:37] local.INFO: TCP Data received {"connection_id":170740,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:33:37] local.INFO: Processing buffer {"connection_id":170740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:33:37] local.INFO: Packet analysis {"connection_id":170740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:33:37] local.INFO: Extracted packet for processing {"connection_id":170740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:33:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851727872001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788483613000,"timestamp_ms":1788483613000,"timestamp_seconds":1788483613,"priority":1,"record_length":96,"hex_timestamp":"000001a069ee3148"} 
[2026-09-04 06:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 06:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851727872001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851727872001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:33:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851727872001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":170740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:33:37] local.INFO: GPS data processed {"connection_id":170740,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:33:37] local.INFO: Acknowledgment sent {"connection_id":170740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:34:00] local.INFO: TCP Data received {"connection_id":171845,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:34:00] local.INFO: Processing buffer {"connection_id":171845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:34:00] local.INFO: IMEI packet received {"connection_id":171845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":171845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:34:05] local.INFO: TCP Data received {"connection_id":171845,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:34:05] local.INFO: Processing buffer {"connection_id":171845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:34:05] local.INFO: IMEI packet received {"connection_id":171845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":171845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:34:06] local.INFO: TCP Data received {"connection_id":171845,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:34:06] local.INFO: Processing buffer {"connection_id":171845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:34:06] local.INFO: Packet analysis {"connection_id":171845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:34:06] local.INFO: Extracted packet for processing {"connection_id":171845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:34:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851727872001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:34:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483613000,"timestamp_ms":1788483613000,"timestamp_seconds":1788483613,"priority":1,"record_length":96,"hex_timestamp":"000001a069ee3148"} 
[2026-09-04 06:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 06:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851727872001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851727872001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:34:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:34:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851727872001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":171845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:34:06] local.INFO: GPS data processed {"connection_id":171845,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:34:06] local.INFO: Acknowledgment sent {"connection_id":171845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:34:37] local.INFO: TCP Data received {"connection_id":171845,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:34:37] local.INFO: Processing buffer {"connection_id":171845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:34:37] local.INFO: Packet analysis {"connection_id":171845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:34:37] local.INFO: Extracted packet for processing {"connection_id":171845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:34:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851727872001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:34:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788483613000,"timestamp_ms":1788483613000,"timestamp_seconds":1788483613,"priority":1,"record_length":96,"hex_timestamp":"000001a069ee3148"} 
[2026-09-04 06:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 06:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851727872001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851727872001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:34:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:34:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851727872001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":171845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:34:37] local.INFO: GPS data processed {"connection_id":171845,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:34:37] local.INFO: Acknowledgment sent {"connection_id":171845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:35:05] local.INFO: TCP Data received {"connection_id":171846,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:35:05] local.INFO: Processing buffer {"connection_id":171846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:35:05] local.INFO: IMEI packet received {"connection_id":171846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":171846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:35:10] local.INFO: TCP Data received {"connection_id":171846,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:35:10] local.INFO: Processing buffer {"connection_id":171846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:35:10] local.INFO: IMEI packet received {"connection_id":171846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":171846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:35:11] local.INFO: TCP Data received {"connection_id":171846,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:35:11] local.INFO: Processing buffer {"connection_id":171846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:35:11] local.INFO: Packet analysis {"connection_id":171846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:35:11] local.INFO: Extracted packet for processing {"connection_id":171846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:35:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851727872001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:35:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788483613000,"timestamp_ms":1788483613000,"timestamp_seconds":1788483613,"priority":1,"record_length":96,"hex_timestamp":"000001a069ee3148"} 
[2026-09-04 06:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 06:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851727872001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851727872001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:35:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:35:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:35:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851727872001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":171846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:35:11] local.INFO: GPS data processed {"connection_id":171846,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:35:11] local.INFO: Acknowledgment sent {"connection_id":171846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:35:15] local.INFO: TCP Data received {"connection_id":171846,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:35:15] local.INFO: Processing buffer {"connection_id":171846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069ee3148012cee7040072e2b900035006223..."} 
[2026-09-04 06:35:15] local.INFO: Packet analysis {"connection_id":171846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:35:15] local.INFO: Extracted packet for processing {"connection_id":171846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069ee"} 
[2026-09-04 06:35:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851727872001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:35:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788483613000,"timestamp_ms":1788483613000,"timestamp_seconds":1788483613,"priority":1,"record_length":96,"hex_timestamp":"000001a069ee3148"} 
[2026-09-04 06:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 06:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851727872001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851727872001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:35:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:35:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851727872001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":171846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:35:15] local.INFO: GPS data processed {"connection_id":171846,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:35:15] local.INFO: Acknowledgment sent {"connection_id":171846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:36:00] local.INFO: TCP Data received {"connection_id":170742,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:36:00] local.INFO: Processing buffer {"connection_id":170742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:36:00] local.INFO: IMEI packet received {"connection_id":170742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":170742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:36:05] local.INFO: TCP Data received {"connection_id":170742,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:36:05] local.INFO: Processing buffer {"connection_id":170742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:36:05] local.INFO: IMEI packet received {"connection_id":170742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":170742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:36:06] local.INFO: TCP Data received {"connection_id":170742,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:36:06] local.INFO: Processing buffer {"connection_id":170742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:36:06] local.INFO: Packet analysis {"connection_id":170742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:36:06] local.INFO: Extracted packet for processing {"connection_id":170742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:36:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851804928001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:36:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483914000,"timestamp_ms":1788483914000,"timestamp_seconds":1788483914,"priority":1,"record_length":96,"hex_timestamp":"000001a069f2c910"} 
[2026-09-04 06:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851804928001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851804928001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:36:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:36:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851804928001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":170742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:36:06] local.INFO: GPS data processed {"connection_id":170742,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:36:06] local.INFO: Acknowledgment sent {"connection_id":170742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:36:37] local.INFO: TCP Data received {"connection_id":170742,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:36:37] local.INFO: Processing buffer {"connection_id":170742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:36:37] local.INFO: Packet analysis {"connection_id":170742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:36:37] local.INFO: Extracted packet for processing {"connection_id":170742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851804928001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788483914000,"timestamp_ms":1788483914000,"timestamp_seconds":1788483914,"priority":1,"record_length":96,"hex_timestamp":"000001a069f2c910"} 
[2026-09-04 06:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851804928001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851804928001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:36:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851804928001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":170742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:36:37] local.INFO: GPS data processed {"connection_id":170742,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:36:37] local.INFO: Acknowledgment sent {"connection_id":170742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:37:00] local.INFO: TCP Data received {"connection_id":171847,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:37:00] local.INFO: Processing buffer {"connection_id":171847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:37:00] local.INFO: IMEI packet received {"connection_id":171847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":171847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:37:05] local.INFO: TCP Data received {"connection_id":171847,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:37:05] local.INFO: Processing buffer {"connection_id":171847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:37:05] local.INFO: IMEI packet received {"connection_id":171847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":171847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:37:06] local.INFO: TCP Data received {"connection_id":171847,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:37:06] local.INFO: Processing buffer {"connection_id":171847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:37:06] local.INFO: Packet analysis {"connection_id":171847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:37:06] local.INFO: Extracted packet for processing {"connection_id":171847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:37:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851804928001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483914000,"timestamp_ms":1788483914000,"timestamp_seconds":1788483914,"priority":1,"record_length":96,"hex_timestamp":"000001a069f2c910"} 
[2026-09-04 06:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851804928001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851804928001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:37:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851804928001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":171847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:37:06] local.INFO: GPS data processed {"connection_id":171847,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:37:06] local.INFO: Acknowledgment sent {"connection_id":171847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:37:37] local.INFO: TCP Data received {"connection_id":171847,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:37:37] local.INFO: Processing buffer {"connection_id":171847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:37:37] local.INFO: Packet analysis {"connection_id":171847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:37:37] local.INFO: Extracted packet for processing {"connection_id":171847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:37:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851804928001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:37:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788483914000,"timestamp_ms":1788483914000,"timestamp_seconds":1788483914,"priority":1,"record_length":96,"hex_timestamp":"000001a069f2c910"} 
[2026-09-04 06:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851804928001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851804928001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:37:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:37:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851804928001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":171847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:37:37] local.INFO: GPS data processed {"connection_id":171847,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:37:37] local.INFO: Acknowledgment sent {"connection_id":171847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:38:00] local.INFO: TCP Data received {"connection_id":173143,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:38:00] local.INFO: Processing buffer {"connection_id":173143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:38:00] local.INFO: IMEI packet received {"connection_id":173143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":173143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:38:05] local.INFO: TCP Data received {"connection_id":173143,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:38:05] local.INFO: Processing buffer {"connection_id":173143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:38:05] local.INFO: IMEI packet received {"connection_id":173143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":173143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:38:06] local.INFO: TCP Data received {"connection_id":173143,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:38:06] local.INFO: Processing buffer {"connection_id":173143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:38:06] local.INFO: Packet analysis {"connection_id":173143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:38:06] local.INFO: Extracted packet for processing {"connection_id":173143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:38:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851804928001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:38:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483914000,"timestamp_ms":1788483914000,"timestamp_seconds":1788483914,"priority":1,"record_length":96,"hex_timestamp":"000001a069f2c910"} 
[2026-09-04 06:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851804928001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851804928001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:38:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:38:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851804928001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":173143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:38:06] local.INFO: GPS data processed {"connection_id":173143,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:38:06] local.INFO: Acknowledgment sent {"connection_id":173143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:38:37] local.INFO: TCP Data received {"connection_id":173143,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:38:37] local.INFO: Processing buffer {"connection_id":173143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:38:37] local.INFO: Packet analysis {"connection_id":173143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:38:37] local.INFO: Extracted packet for processing {"connection_id":173143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:38:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851804928001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788483914000,"timestamp_ms":1788483914000,"timestamp_seconds":1788483914,"priority":1,"record_length":96,"hex_timestamp":"000001a069f2c910"} 
[2026-09-04 06:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851804928001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851804928001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:38:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851804928001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":173143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:38:37] local.INFO: GPS data processed {"connection_id":173143,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:38:37] local.INFO: Acknowledgment sent {"connection_id":173143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:39:00] local.INFO: TCP Data received {"connection_id":170743,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:39:00] local.INFO: Processing buffer {"connection_id":170743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:39:00] local.INFO: IMEI packet received {"connection_id":170743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":170743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:39:05] local.INFO: TCP Data received {"connection_id":170743,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:39:05] local.INFO: Processing buffer {"connection_id":170743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:39:05] local.INFO: IMEI packet received {"connection_id":170743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":170743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:39:06] local.INFO: TCP Data received {"connection_id":170743,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:39:06] local.INFO: Processing buffer {"connection_id":170743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:39:06] local.INFO: Packet analysis {"connection_id":170743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:39:06] local.INFO: Extracted packet for processing {"connection_id":170743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:39:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851804928001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:39:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788483914000,"timestamp_ms":1788483914000,"timestamp_seconds":1788483914,"priority":1,"record_length":96,"hex_timestamp":"000001a069f2c910"} 
[2026-09-04 06:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851804928001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851804928001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:39:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:39:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851804928001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":170743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:39:06] local.INFO: GPS data processed {"connection_id":170743,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:39:06] local.INFO: Acknowledgment sent {"connection_id":170743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:39:37] local.INFO: TCP Data received {"connection_id":170743,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:39:37] local.INFO: Processing buffer {"connection_id":170743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:39:37] local.INFO: Packet analysis {"connection_id":170743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:39:37] local.INFO: Extracted packet for processing {"connection_id":170743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:39:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851804928001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:39:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788483914000,"timestamp_ms":1788483914000,"timestamp_seconds":1788483914,"priority":1,"record_length":96,"hex_timestamp":"000001a069f2c910"} 
[2026-09-04 06:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851804928001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851804928001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:39:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:39:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851804928001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":170743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:39:37] local.INFO: GPS data processed {"connection_id":170743,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:39:37] local.INFO: Acknowledgment sent {"connection_id":170743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:40:05] local.INFO: TCP Data received {"connection_id":170440,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:40:05] local.INFO: Processing buffer {"connection_id":170440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:40:05] local.INFO: IMEI packet received {"connection_id":170440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":170440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:40:10] local.INFO: TCP Data received {"connection_id":170440,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:40:10] local.INFO: Processing buffer {"connection_id":170440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:40:10] local.INFO: IMEI packet received {"connection_id":170440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":170440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:40:11] local.INFO: TCP Data received {"connection_id":170440,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:40:11] local.INFO: Processing buffer {"connection_id":170440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:40:11] local.INFO: Packet analysis {"connection_id":170440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:40:11] local.INFO: Extracted packet for processing {"connection_id":170440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:40:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851804928001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:40:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788483914000,"timestamp_ms":1788483914000,"timestamp_seconds":1788483914,"priority":1,"record_length":96,"hex_timestamp":"000001a069f2c910"} 
[2026-09-04 06:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851804928001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851804928001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:40:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:40:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851804928001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":170440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:40:11] local.INFO: GPS data processed {"connection_id":170440,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:40:11] local.INFO: Acknowledgment sent {"connection_id":170440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:40:15] local.INFO: TCP Data received {"connection_id":170440,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:40:15] local.INFO: Processing buffer {"connection_id":170440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f2c910012cee7040072e2b900035006225..."} 
[2026-09-04 06:40:15] local.INFO: Packet analysis {"connection_id":170440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:40:15] local.INFO: Extracted packet for processing {"connection_id":170440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f2"} 
[2026-09-04 06:40:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851804928001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:40:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788483914000,"timestamp_ms":1788483914000,"timestamp_seconds":1788483914,"priority":1,"record_length":96,"hex_timestamp":"000001a069f2c910"} 
[2026-09-04 06:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851804928001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851804928001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:40:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:40:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851804928001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":170440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:40:15] local.INFO: GPS data processed {"connection_id":170440,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:40:15] local.INFO: Acknowledgment sent {"connection_id":170440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:41:00] local.INFO: TCP Data received {"connection_id":173144,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:41:00] local.INFO: Processing buffer {"connection_id":173144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:41:00] local.INFO: IMEI packet received {"connection_id":173144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":173144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:41:05] local.INFO: TCP Data received {"connection_id":173144,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:41:05] local.INFO: Processing buffer {"connection_id":173144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:41:05] local.INFO: IMEI packet received {"connection_id":173144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":173144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:41:06] local.INFO: TCP Data received {"connection_id":173144,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:41:06] local.INFO: Processing buffer {"connection_id":173144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:41:06] local.INFO: Packet analysis {"connection_id":173144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:41:06] local.INFO: Extracted packet for processing {"connection_id":173144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:41:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851881984001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:41:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788484215000,"timestamp_ms":1788484215000,"timestamp_seconds":1788484215,"priority":1,"record_length":96,"hex_timestamp":"000001a069f760d8"} 
[2026-09-04 06:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851881984001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851881984001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:41:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:41:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851881984001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":173144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:41:06] local.INFO: GPS data processed {"connection_id":173144,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:41:06] local.INFO: Acknowledgment sent {"connection_id":173144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:41:37] local.INFO: TCP Data received {"connection_id":173144,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:41:37] local.INFO: Processing buffer {"connection_id":173144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:41:37] local.INFO: Packet analysis {"connection_id":173144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:41:37] local.INFO: Extracted packet for processing {"connection_id":173144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:41:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851881984001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:41:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788484215000,"timestamp_ms":1788484215000,"timestamp_seconds":1788484215,"priority":1,"record_length":96,"hex_timestamp":"000001a069f760d8"} 
[2026-09-04 06:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851881984001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851881984001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:41:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:41:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851881984001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":173144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:41:37] local.INFO: GPS data processed {"connection_id":173144,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:41:37] local.INFO: Acknowledgment sent {"connection_id":173144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:42:00] local.INFO: TCP Data received {"connection_id":170441,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:42:00] local.INFO: Processing buffer {"connection_id":170441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:42:00] local.INFO: IMEI packet received {"connection_id":170441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":170441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:42:05] local.INFO: TCP Data received {"connection_id":170441,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:42:05] local.INFO: Processing buffer {"connection_id":170441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:42:05] local.INFO: IMEI packet received {"connection_id":170441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":170441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:42:06] local.INFO: TCP Data received {"connection_id":170441,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:42:06] local.INFO: Processing buffer {"connection_id":170441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:42:06] local.INFO: Packet analysis {"connection_id":170441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:42:06] local.INFO: Extracted packet for processing {"connection_id":170441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:42:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851881984001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:42:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788484215000,"timestamp_ms":1788484215000,"timestamp_seconds":1788484215,"priority":1,"record_length":96,"hex_timestamp":"000001a069f760d8"} 
[2026-09-04 06:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851881984001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851881984001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:42:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:42:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851881984001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":170441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:42:06] local.INFO: GPS data processed {"connection_id":170441,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:42:06] local.INFO: Acknowledgment sent {"connection_id":170441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:42:37] local.INFO: TCP Data received {"connection_id":170441,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:42:37] local.INFO: Processing buffer {"connection_id":170441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:42:37] local.INFO: Packet analysis {"connection_id":170441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:42:37] local.INFO: Extracted packet for processing {"connection_id":170441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:42:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851881984001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:42:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788484215000,"timestamp_ms":1788484215000,"timestamp_seconds":1788484215,"priority":1,"record_length":96,"hex_timestamp":"000001a069f760d8"} 
[2026-09-04 06:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851881984001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851881984001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:42:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:42:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851881984001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":170441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:42:37] local.INFO: GPS data processed {"connection_id":170441,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:42:37] local.INFO: Acknowledgment sent {"connection_id":170441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:43:00] local.INFO: TCP Data received {"connection_id":171848,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:43:00] local.INFO: Processing buffer {"connection_id":171848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:43:00] local.INFO: IMEI packet received {"connection_id":171848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":171848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:43:05] local.INFO: TCP Data received {"connection_id":171848,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:43:05] local.INFO: Processing buffer {"connection_id":171848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:43:05] local.INFO: IMEI packet received {"connection_id":171848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":171848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:43:06] local.INFO: TCP Data received {"connection_id":171848,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:43:06] local.INFO: Processing buffer {"connection_id":171848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:43:06] local.INFO: Packet analysis {"connection_id":171848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:43:06] local.INFO: Extracted packet for processing {"connection_id":171848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:43:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851881984001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:43:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788484215000,"timestamp_ms":1788484215000,"timestamp_seconds":1788484215,"priority":1,"record_length":96,"hex_timestamp":"000001a069f760d8"} 
[2026-09-04 06:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851881984001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851881984001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:43:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:43:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851881984001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":171848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:43:06] local.INFO: GPS data processed {"connection_id":171848,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:43:06] local.INFO: Acknowledgment sent {"connection_id":171848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:43:37] local.INFO: TCP Data received {"connection_id":171848,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:43:37] local.INFO: Processing buffer {"connection_id":171848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:43:37] local.INFO: Packet analysis {"connection_id":171848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:43:37] local.INFO: Extracted packet for processing {"connection_id":171848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:43:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851881984001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:43:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788484215000,"timestamp_ms":1788484215000,"timestamp_seconds":1788484215,"priority":1,"record_length":96,"hex_timestamp":"000001a069f760d8"} 
[2026-09-04 06:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851881984001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851881984001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:43:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:43:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851881984001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":171848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:43:37] local.INFO: GPS data processed {"connection_id":171848,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:43:37] local.INFO: Acknowledgment sent {"connection_id":171848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:44:00] local.INFO: TCP Data received {"connection_id":170745,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:44:00] local.INFO: Processing buffer {"connection_id":170745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:44:00] local.INFO: IMEI packet received {"connection_id":170745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":170745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:44:05] local.INFO: TCP Data received {"connection_id":170745,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:44:05] local.INFO: Processing buffer {"connection_id":170745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:44:05] local.INFO: IMEI packet received {"connection_id":170745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":170745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:44:06] local.INFO: TCP Data received {"connection_id":170745,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:44:06] local.INFO: Processing buffer {"connection_id":170745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:44:06] local.INFO: Packet analysis {"connection_id":170745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:44:06] local.INFO: Extracted packet for processing {"connection_id":170745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:44:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851881984001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:44:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788484215000,"timestamp_ms":1788484215000,"timestamp_seconds":1788484215,"priority":1,"record_length":96,"hex_timestamp":"000001a069f760d8"} 
[2026-09-04 06:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851881984001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851881984001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:44:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:44:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851881984001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":170745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:44:06] local.INFO: GPS data processed {"connection_id":170745,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:44:06] local.INFO: Acknowledgment sent {"connection_id":170745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:44:37] local.INFO: TCP Data received {"connection_id":170745,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:44:37] local.INFO: Processing buffer {"connection_id":170745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:44:37] local.INFO: Packet analysis {"connection_id":170745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:44:37] local.INFO: Extracted packet for processing {"connection_id":170745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:44:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851881984001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:44:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788484215000,"timestamp_ms":1788484215000,"timestamp_seconds":1788484215,"priority":1,"record_length":96,"hex_timestamp":"000001a069f760d8"} 
[2026-09-04 06:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851881984001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851881984001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:44:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:44:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851881984001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":170745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:44:37] local.INFO: GPS data processed {"connection_id":170745,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:44:37] local.INFO: Acknowledgment sent {"connection_id":170745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:45:05] local.INFO: TCP Data received {"connection_id":170746,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:45:05] local.INFO: Processing buffer {"connection_id":170746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:45:05] local.INFO: IMEI packet received {"connection_id":170746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":170746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:45:10] local.INFO: TCP Data received {"connection_id":170746,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:45:10] local.INFO: Processing buffer {"connection_id":170746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:45:10] local.INFO: IMEI packet received {"connection_id":170746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":170746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:45:11] local.INFO: TCP Data received {"connection_id":170746,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:45:11] local.INFO: Processing buffer {"connection_id":170746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:45:11] local.INFO: Packet analysis {"connection_id":170746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:45:11] local.INFO: Extracted packet for processing {"connection_id":170746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:45:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851881984001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788484215000,"timestamp_ms":1788484215000,"timestamp_seconds":1788484215,"priority":1,"record_length":96,"hex_timestamp":"000001a069f760d8"} 
[2026-09-04 06:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851881984001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851881984001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:45:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851881984001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":170746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:45:11] local.INFO: GPS data processed {"connection_id":170746,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:45:11] local.INFO: Acknowledgment sent {"connection_id":170746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:45:15] local.INFO: TCP Data received {"connection_id":170746,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:45:15] local.INFO: Processing buffer {"connection_id":170746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069f760d8012cee7040072e2b900035006224..."} 
[2026-09-04 06:45:15] local.INFO: Packet analysis {"connection_id":170746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:45:15] local.INFO: Extracted packet for processing {"connection_id":170746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069f7"} 
[2026-09-04 06:45:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851881984001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788484215000,"timestamp_ms":1788484215000,"timestamp_seconds":1788484215,"priority":1,"record_length":96,"hex_timestamp":"000001a069f760d8"} 
[2026-09-04 06:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851881984001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851881984001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:45:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851881984001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":170746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:45:15] local.INFO: GPS data processed {"connection_id":170746,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:45:15] local.INFO: Acknowledgment sent {"connection_id":170746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:46:00] local.INFO: TCP Data received {"connection_id":170442,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:46:00] local.INFO: Processing buffer {"connection_id":170442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:46:00] local.INFO: IMEI packet received {"connection_id":170442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":170442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:46:05] local.INFO: TCP Data received {"connection_id":170442,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:46:05] local.INFO: Processing buffer {"connection_id":170442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:46:05] local.INFO: IMEI packet received {"connection_id":170442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":170442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:46:06] local.INFO: TCP Data received {"connection_id":170442,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:46:06] local.INFO: Processing buffer {"connection_id":170442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:46:06] local.INFO: Packet analysis {"connection_id":170442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:46:06] local.INFO: Extracted packet for processing {"connection_id":170442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:46:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851959040001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:46:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788484516000,"timestamp_ms":1788484516000,"timestamp_seconds":1788484516,"priority":1,"record_length":96,"hex_timestamp":"000001a069fbf8a0"} 
[2026-09-04 06:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851959040001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851959040001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:46:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:46:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851959040001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":170442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:46:06] local.INFO: GPS data processed {"connection_id":170442,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:46:06] local.INFO: Acknowledgment sent {"connection_id":170442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:46:37] local.INFO: TCP Data received {"connection_id":170442,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:46:37] local.INFO: Processing buffer {"connection_id":170442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:46:37] local.INFO: Packet analysis {"connection_id":170442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:46:37] local.INFO: Extracted packet for processing {"connection_id":170442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:46:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851959040001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:46:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788484516000,"timestamp_ms":1788484516000,"timestamp_seconds":1788484516,"priority":1,"record_length":96,"hex_timestamp":"000001a069fbf8a0"} 
[2026-09-04 06:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851959040001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851959040001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:46:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:46:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851959040001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":170442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:46:37] local.INFO: GPS data processed {"connection_id":170442,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:46:37] local.INFO: Acknowledgment sent {"connection_id":170442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:47:00] local.INFO: TCP Data received {"connection_id":173145,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:47:00] local.INFO: Processing buffer {"connection_id":173145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:47:00] local.INFO: IMEI packet received {"connection_id":173145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":173145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:47:05] local.INFO: TCP Data received {"connection_id":173145,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:47:05] local.INFO: Processing buffer {"connection_id":173145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:47:05] local.INFO: IMEI packet received {"connection_id":173145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":173145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:47:06] local.INFO: TCP Data received {"connection_id":173145,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:47:06] local.INFO: Processing buffer {"connection_id":173145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:47:06] local.INFO: Packet analysis {"connection_id":173145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:47:06] local.INFO: Extracted packet for processing {"connection_id":173145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:47:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851959040001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788484516000,"timestamp_ms":1788484516000,"timestamp_seconds":1788484516,"priority":1,"record_length":96,"hex_timestamp":"000001a069fbf8a0"} 
[2026-09-04 06:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851959040001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851959040001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:47:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851959040001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":173145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:47:06] local.INFO: GPS data processed {"connection_id":173145,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:47:06] local.INFO: Acknowledgment sent {"connection_id":173145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:47:37] local.INFO: TCP Data received {"connection_id":173145,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:47:37] local.INFO: Processing buffer {"connection_id":173145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:47:37] local.INFO: Packet analysis {"connection_id":173145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:47:37] local.INFO: Extracted packet for processing {"connection_id":173145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:47:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851959040001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:47:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788484516000,"timestamp_ms":1788484516000,"timestamp_seconds":1788484516,"priority":1,"record_length":96,"hex_timestamp":"000001a069fbf8a0"} 
[2026-09-04 06:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851959040001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851959040001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:47:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:47:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851959040001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":173145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:47:37] local.INFO: GPS data processed {"connection_id":173145,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:47:37] local.INFO: Acknowledgment sent {"connection_id":173145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:48:00] local.INFO: TCP Data received {"connection_id":170748,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:48:00] local.INFO: Processing buffer {"connection_id":170748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:48:00] local.INFO: IMEI packet received {"connection_id":170748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":170748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:48:05] local.INFO: TCP Data received {"connection_id":170748,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:48:05] local.INFO: Processing buffer {"connection_id":170748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:48:05] local.INFO: IMEI packet received {"connection_id":170748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":170748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:48:06] local.INFO: TCP Data received {"connection_id":170748,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:48:06] local.INFO: Processing buffer {"connection_id":170748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:48:06] local.INFO: Packet analysis {"connection_id":170748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:48:06] local.INFO: Extracted packet for processing {"connection_id":170748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:48:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851959040001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:48:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788484516000,"timestamp_ms":1788484516000,"timestamp_seconds":1788484516,"priority":1,"record_length":96,"hex_timestamp":"000001a069fbf8a0"} 
[2026-09-04 06:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851959040001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851959040001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:48:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:48:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851959040001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":170748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:48:06] local.INFO: GPS data processed {"connection_id":170748,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:48:06] local.INFO: Acknowledgment sent {"connection_id":170748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:48:37] local.INFO: TCP Data received {"connection_id":170748,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:48:37] local.INFO: Processing buffer {"connection_id":170748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:48:37] local.INFO: Packet analysis {"connection_id":170748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:48:37] local.INFO: Extracted packet for processing {"connection_id":170748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:48:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851959040001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:48:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788484516000,"timestamp_ms":1788484516000,"timestamp_seconds":1788484516,"priority":1,"record_length":96,"hex_timestamp":"000001a069fbf8a0"} 
[2026-09-04 06:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851959040001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851959040001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:48:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:48:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851959040001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":170748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:48:37] local.INFO: GPS data processed {"connection_id":170748,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:48:37] local.INFO: Acknowledgment sent {"connection_id":170748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:49:00] local.INFO: TCP Data received {"connection_id":171849,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:49:00] local.INFO: Processing buffer {"connection_id":171849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:49:00] local.INFO: IMEI packet received {"connection_id":171849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":171849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:49:05] local.INFO: TCP Data received {"connection_id":171849,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:49:05] local.INFO: Processing buffer {"connection_id":171849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:49:05] local.INFO: IMEI packet received {"connection_id":171849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":171849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:49:06] local.INFO: TCP Data received {"connection_id":171849,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:49:06] local.INFO: Processing buffer {"connection_id":171849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:49:06] local.INFO: Packet analysis {"connection_id":171849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:49:06] local.INFO: Extracted packet for processing {"connection_id":171849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:49:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851959040001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:49:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788484516000,"timestamp_ms":1788484516000,"timestamp_seconds":1788484516,"priority":1,"record_length":96,"hex_timestamp":"000001a069fbf8a0"} 
[2026-09-04 06:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851959040001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851959040001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:49:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:49:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851959040001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":171849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:49:06] local.INFO: GPS data processed {"connection_id":171849,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:49:06] local.INFO: Acknowledgment sent {"connection_id":171849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:49:37] local.INFO: TCP Data received {"connection_id":171849,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:49:37] local.INFO: Processing buffer {"connection_id":171849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:49:37] local.INFO: Packet analysis {"connection_id":171849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:49:37] local.INFO: Extracted packet for processing {"connection_id":171849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:49:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851959040001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:49:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788484516000,"timestamp_ms":1788484516000,"timestamp_seconds":1788484516,"priority":1,"record_length":96,"hex_timestamp":"000001a069fbf8a0"} 
[2026-09-04 06:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851959040001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851959040001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:49:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:49:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851959040001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":171849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:49:37] local.INFO: GPS data processed {"connection_id":171849,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:49:37] local.INFO: Acknowledgment sent {"connection_id":171849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:50:05] local.INFO: TCP Data received {"connection_id":170443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:50:05] local.INFO: Processing buffer {"connection_id":170443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:50:05] local.INFO: IMEI packet received {"connection_id":170443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":170443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:50:10] local.INFO: TCP Data received {"connection_id":170443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:50:10] local.INFO: Processing buffer {"connection_id":170443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:50:10] local.INFO: IMEI packet received {"connection_id":170443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":170443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:50:11] local.INFO: TCP Data received {"connection_id":170443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:50:11] local.INFO: Processing buffer {"connection_id":170443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:50:11] local.INFO: Packet analysis {"connection_id":170443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:50:11] local.INFO: Extracted packet for processing {"connection_id":170443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:50:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851959040001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788484516000,"timestamp_ms":1788484516000,"timestamp_seconds":1788484516,"priority":1,"record_length":96,"hex_timestamp":"000001a069fbf8a0"} 
[2026-09-04 06:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851959040001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851959040001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:50:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:50:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851959040001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":170443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:50:11] local.INFO: GPS data processed {"connection_id":170443,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:50:11] local.INFO: Acknowledgment sent {"connection_id":170443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:50:15] local.INFO: TCP Data received {"connection_id":170443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:50:15] local.INFO: Processing buffer {"connection_id":170443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a069fbf8a0012cee7040072e2b900035006225..."} 
[2026-09-04 06:50:15] local.INFO: Packet analysis {"connection_id":170443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:50:15] local.INFO: Extracted packet for processing {"connection_id":170443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a069fb"} 
[2026-09-04 06:50:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457851959040001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:50:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788484516000,"timestamp_ms":1788484516000,"timestamp_seconds":1788484516,"priority":1,"record_length":96,"hex_timestamp":"000001a069fbf8a0"} 
[2026-09-04 06:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457851959040001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457851959040001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:50:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:50:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457851959040001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":170443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:50:15] local.INFO: GPS data processed {"connection_id":170443,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:50:15] local.INFO: Acknowledgment sent {"connection_id":170443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:50:48] local.INFO: TCP Data received {"connection_id":170444,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:50:48] local.INFO: Processing buffer {"connection_id":170444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:50:48] local.INFO: IMEI packet received {"connection_id":170444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 06:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":170444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:50:49] local.INFO: TCP Data received {"connection_id":170444,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:50:49] local.INFO: Processing buffer {"connection_id":170444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:50:49] local.INFO: IMEI packet received {"connection_id":170444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 06:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":170444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:50:50] local.INFO: TCP Data received {"connection_id":170444,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:50:50] local.INFO: Processing buffer {"connection_id":170444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:50:50] local.INFO: IMEI packet received {"connection_id":170444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 06:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":170444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:50:53] local.INFO: TCP Data received {"connection_id":170444,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:50:53] local.INFO: Processing buffer {"connection_id":170444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:50:53] local.INFO: IMEI packet received {"connection_id":170444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 06:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":170444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:50:54] local.INFO: TCP Data received {"connection_id":170444,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-04 06:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-04 06:50:54] local.INFO: Processing buffer {"connection_id":170444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-04 06:50:54] local.INFO: Packet analysis {"connection_id":170444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 06:50:54] local.INFO: Extracted packet for processing {"connection_id":170444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 06:50:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 06:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127984025351487488,"note":"Value kept but may cause issues"} 
[2026-09-04 06:50:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 06:50:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":28000,"timestamp_seconds":28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 06:50:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 06:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170444,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170444,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 06:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170444,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 06:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 06:50:54] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 06:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":170444,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 06:50:54] local.ERROR: GPS data processing failed {"connection_id":170444,"error":"No valid data to process"} 
[2026-09-04 06:50:54] local.INFO: Acknowledgment sent {"connection_id":170444,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 06:51:00] local.INFO: TCP Data received {"connection_id":170445,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:51:00] local.INFO: Processing buffer {"connection_id":170445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:51:00] local.INFO: IMEI packet received {"connection_id":170445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":170445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:51:05] local.INFO: TCP Data received {"connection_id":170445,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:51:05] local.INFO: Processing buffer {"connection_id":170445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:51:05] local.INFO: IMEI packet received {"connection_id":170445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":170445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:51:06] local.INFO: TCP Data received {"connection_id":170445,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:51:06] local.INFO: Processing buffer {"connection_id":170445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:51:06] local.INFO: Packet analysis {"connection_id":170445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:51:06] local.INFO: Extracted packet for processing {"connection_id":170445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:51:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852036096001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:51:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788484817000,"timestamp_ms":1788484817000,"timestamp_seconds":1788484817,"priority":1,"record_length":96,"hex_timestamp":"000001a06a009068"} 
[2026-09-04 06:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852036096001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852036096001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:51:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:51:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852036096001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":170445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:51:06] local.INFO: GPS data processed {"connection_id":170445,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:51:06] local.INFO: Acknowledgment sent {"connection_id":170445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:51:25] local.INFO: TCP Data received {"connection_id":170444,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-09-04 06:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170444,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-09-04 06:51:25] local.INFO: Processing buffer {"connection_id":170444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-09-04 06:51:25] local.INFO: Packet analysis {"connection_id":170444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 06:51:25] local.INFO: Extracted packet for processing {"connection_id":170444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 06:51:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 06:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127984025351487488,"note":"Value kept but may cause issues"} 
[2026-09-04 06:51:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 06:51:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":49000,"timestamp_seconds":49,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 06:51:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 06:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170444,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170444,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 06:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170444,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 06:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 06:51:25] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 06:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":170444,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 06:51:25] local.ERROR: GPS data processing failed {"connection_id":170444,"error":"No valid data to process"} 
[2026-09-04 06:51:25] local.INFO: Acknowledgment sent {"connection_id":170444,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 06:51:37] local.INFO: TCP Data received {"connection_id":170445,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:51:37] local.INFO: Processing buffer {"connection_id":170445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:51:37] local.INFO: Packet analysis {"connection_id":170445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:51:37] local.INFO: Extracted packet for processing {"connection_id":170445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:51:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852036096001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:51:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788484817000,"timestamp_ms":1788484817000,"timestamp_seconds":1788484817,"priority":1,"record_length":96,"hex_timestamp":"000001a06a009068"} 
[2026-09-04 06:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852036096001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852036096001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:51:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:51:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852036096001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":170445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:51:37] local.INFO: GPS data processed {"connection_id":170445,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:51:37] local.INFO: Acknowledgment sent {"connection_id":170445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:51:56] local.INFO: TCP Data received {"connection_id":170444,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a01e058012d7c110005bd29b8000300e709..."} 
[2026-09-04 06:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a01e058012d7c110005bd29b8000300e709..."} 
[2026-09-04 06:51:56] local.INFO: Processing buffer {"connection_id":170444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a01e058012d7c110005bd29b8000300e709..."} 
[2026-09-04 06:51:56] local.INFO: Packet analysis {"connection_id":170444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a01"} 
[2026-09-04 06:51:56] local.INFO: Extracted packet for processing {"connection_id":170444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a01"} 
[2026-09-04 06:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763105536,"raw_latitude":96283064,"longitude_deg":76.3105536,"latitude_deg":9.6283064,"altitude":3,"angle":231,"satellites":9,"speed":5,"hex_longitude":"2d7c1100","hex_latitude":"05bd29b8","is_valid_coordinates":true} 
[2026-09-04 06:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852134912001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127984454848217088,"note":"Value kept but may cause issues"} 
[2026-09-04 06:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940137866188167168,"note":"Value kept but may cause issues"} 
[2026-09-04 06:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788484903000,"timestamp_ms":1788484903000,"timestamp_seconds":1788484903,"priority":1,"record_length":96,"hex_timestamp":"000001a06a01e058"} 
[2026-09-04 06:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-04 06:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852134912001,"66":13906,"197":206,"85":12544,"24":5,"16":127984454848217088,"45":8940137866188167168},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 06:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852134912001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:51:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 06:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 06:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127984454848217088,"km_value":127984454848217.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940137866188167168,"description":"Unknown IO ID 45"} 
[2026-09-04 06:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852134912001,"power":13906,"unknown_197":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":8940137866188167168}} 
[2026-09-04 06:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":170444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:51:56] local.INFO: GPS data processed {"connection_id":170444,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:51:56] local.INFO: Acknowledgment sent {"connection_id":170444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:52:00] local.INFO: TCP Data received {"connection_id":170749,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:52:00] local.INFO: Processing buffer {"connection_id":170749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:52:00] local.INFO: IMEI packet received {"connection_id":170749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":170749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:52:05] local.INFO: TCP Data received {"connection_id":170749,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:52:05] local.INFO: Processing buffer {"connection_id":170749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:52:05] local.INFO: IMEI packet received {"connection_id":170749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":170749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:52:06] local.INFO: TCP Data received {"connection_id":170749,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:52:06] local.INFO: Processing buffer {"connection_id":170749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:52:06] local.INFO: Packet analysis {"connection_id":170749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:52:06] local.INFO: Extracted packet for processing {"connection_id":170749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:52:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852036096001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:52:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788484817000,"timestamp_ms":1788484817000,"timestamp_seconds":1788484817,"priority":1,"record_length":96,"hex_timestamp":"000001a06a009068"} 
[2026-09-04 06:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852036096001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852036096001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:52:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:52:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852036096001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":170749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:52:06] local.INFO: GPS data processed {"connection_id":170749,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:52:06] local.INFO: Acknowledgment sent {"connection_id":170749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:52:27] local.INFO: TCP Data received {"connection_id":170444,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a01e440012d7c108005bd2938000300f509..."} 
[2026-09-04 06:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a01e440012d7c108005bd2938000300f509..."} 
[2026-09-04 06:52:27] local.INFO: Processing buffer {"connection_id":170444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a01e440012d7c108005bd2938000300f509..."} 
[2026-09-04 06:52:27] local.INFO: Packet analysis {"connection_id":170444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a01"} 
[2026-09-04 06:52:27] local.INFO: Extracted packet for processing {"connection_id":170444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a01"} 
[2026-09-04 06:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763105408,"raw_latitude":96282936,"longitude_deg":76.3105408,"latitude_deg":9.6282936,"altitude":3,"angle":245,"satellites":9,"speed":6,"hex_longitude":"2d7c1080","hex_latitude":"05bd2938","is_valid_coordinates":true} 
[2026-09-04 06:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852135168001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127984463438151680,"note":"Value kept but may cause issues"} 
[2026-09-04 06:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939926759955609600,"note":"Value kept but may cause issues"} 
[2026-09-04 06:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788484904000,"timestamp_ms":1788484904000,"timestamp_seconds":1788484904,"priority":1,"record_length":96,"hex_timestamp":"000001a06a01e440"} 
[2026-09-04 06:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-04 06:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852135168001,"66":13765,"197":206,"85":12544,"24":6,"16":127984463438151680,"45":8939926759955609600},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 06:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852135168001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:52:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 06:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 06:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127984463438151680,"km_value":127984463438151.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939926759955609600,"description":"Unknown IO ID 45"} 
[2026-09-04 06:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852135168001,"power":13765,"unknown_197":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":8939926759955609600}} 
[2026-09-04 06:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":170444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:52:27] local.INFO: GPS data processed {"connection_id":170444,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:52:27] local.INFO: Acknowledgment sent {"connection_id":170444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:52:37] local.INFO: TCP Data received {"connection_id":170749,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:52:37] local.INFO: Processing buffer {"connection_id":170749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:52:37] local.INFO: Packet analysis {"connection_id":170749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:52:37] local.INFO: Extracted packet for processing {"connection_id":170749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:52:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852036096001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788484817000,"timestamp_ms":1788484817000,"timestamp_seconds":1788484817,"priority":1,"record_length":96,"hex_timestamp":"000001a06a009068"} 
[2026-09-04 06:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852036096001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852036096001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:52:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852036096001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":170749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:52:37] local.INFO: GPS data processed {"connection_id":170749,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:52:37] local.INFO: Acknowledgment sent {"connection_id":170749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:52:58] local.INFO: TCP Data received {"connection_id":170444,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a01ec10012d7c0e4005bd27e80003010009..."} 
[2026-09-04 06:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a01ec10012d7c0e4005bd27e80003010009..."} 
[2026-09-04 06:52:58] local.INFO: Processing buffer {"connection_id":170444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a01ec10012d7c0e4005bd27e80003010009..."} 
[2026-09-04 06:52:58] local.INFO: Packet analysis {"connection_id":170444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a01"} 
[2026-09-04 06:52:58] local.INFO: Extracted packet for processing {"connection_id":170444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a01"} 
[2026-09-04 06:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763104832,"raw_latitude":96282600,"longitude_deg":76.3104832,"latitude_deg":9.62826,"altitude":3,"angle":256,"satellites":9,"speed":8,"hex_longitude":"2d7c0e40","hex_latitude":"05bd27e8","is_valid_coordinates":true} 
[2026-09-04 06:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852135424001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127984497797890048,"note":"Value kept but may cause issues"} 
[2026-09-04 06:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939786022467221504,"note":"Value kept but may cause issues"} 
[2026-09-04 06:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788484906000,"timestamp_ms":1788484906000,"timestamp_seconds":1788484906,"priority":1,"record_length":96,"hex_timestamp":"000001a06a01ec10"} 
[2026-09-04 06:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-04 06:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852135424001,"66":13722,"197":206,"85":12544,"24":8,"16":127984497797890048,"45":8939786022467221504},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 06:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852135424001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:52:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 06:52:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 06:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127984497797890048,"km_value":127984497797890.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939786022467221504,"description":"Unknown IO ID 45"} 
[2026-09-04 06:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852135424001,"power":13722,"unknown_197":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8939786022467221504}} 
[2026-09-04 06:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":170444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:52:58] local.INFO: GPS data processed {"connection_id":170444,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:52:58] local.INFO: Acknowledgment sent {"connection_id":170444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:53:00] local.INFO: TCP Data received {"connection_id":171850,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:53:00] local.INFO: Processing buffer {"connection_id":171850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:53:00] local.INFO: IMEI packet received {"connection_id":171850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":171850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:53:05] local.INFO: TCP Data received {"connection_id":171850,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:53:05] local.INFO: Processing buffer {"connection_id":171850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:53:05] local.INFO: IMEI packet received {"connection_id":171850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":171850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:53:06] local.INFO: TCP Data received {"connection_id":171850,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:53:06] local.INFO: Processing buffer {"connection_id":171850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:53:06] local.INFO: Packet analysis {"connection_id":171850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:53:06] local.INFO: Extracted packet for processing {"connection_id":171850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:53:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852036096001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:53:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788484817000,"timestamp_ms":1788484817000,"timestamp_seconds":1788484817,"priority":1,"record_length":96,"hex_timestamp":"000001a06a009068"} 
[2026-09-04 06:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852036096001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852036096001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:53:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:53:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852036096001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":171850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:53:06] local.INFO: GPS data processed {"connection_id":171850,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:53:06] local.INFO: Acknowledgment sent {"connection_id":171850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:53:37] local.INFO: TCP Data received {"connection_id":171850,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:53:37] local.INFO: Processing buffer {"connection_id":171850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:53:37] local.INFO: Packet analysis {"connection_id":171850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:53:37] local.INFO: Extracted packet for processing {"connection_id":171850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:53:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852036096001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:53:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788484817000,"timestamp_ms":1788484817000,"timestamp_seconds":1788484817,"priority":1,"record_length":96,"hex_timestamp":"000001a06a009068"} 
[2026-09-04 06:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852036096001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852036096001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:53:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:53:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852036096001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":171850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:53:37] local.INFO: GPS data processed {"connection_id":171850,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:53:37] local.INFO: Acknowledgment sent {"connection_id":171850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:54:00] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:54:00] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:54:00] local.INFO: IMEI packet received {"connection_id":173147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":173147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:54:05] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:54:05] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:54:05] local.INFO: IMEI packet received {"connection_id":173147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":173147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:54:06] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:54:06] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:54:06] local.INFO: Packet analysis {"connection_id":173147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:54:06] local.INFO: Extracted packet for processing {"connection_id":173147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:54:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852036096001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788484817000,"timestamp_ms":1788484817000,"timestamp_seconds":1788484817,"priority":1,"record_length":96,"hex_timestamp":"000001a06a009068"} 
[2026-09-04 06:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852036096001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852036096001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:54:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:54:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852036096001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":173147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:54:06] local.INFO: GPS data processed {"connection_id":173147,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:54:06] local.INFO: Acknowledgment sent {"connection_id":173147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:54:10] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:54:10] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:54:10] local.INFO: IMEI packet received {"connection_id":171851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 06:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":171851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:54:14] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:54:14] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:54:14] local.INFO: IMEI packet received {"connection_id":171851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 06:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":171851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:54:15] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a03bce8012d7baf4005bd25480005010d11..."} 
[2026-09-04 06:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a03bce8012d7baf4005bd25480005010d11..."} 
[2026-09-04 06:54:15] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a03bce8012d7baf4005bd25480005010d11..."} 
[2026-09-04 06:54:15] local.INFO: Packet analysis {"connection_id":171851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a03"} 
[2026-09-04 06:54:15] local.INFO: Extracted packet for processing {"connection_id":171851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a03"} 
[2026-09-04 06:54:15] local.INFO: GPS Element Parsed {"raw_longitude":763080512,"raw_latitude":96281928,"longitude_deg":76.3080512,"latitude_deg":9.6281928,"altitude":5,"angle":269,"satellites":17,"speed":9,"hex_longitude":"2d7baf40","hex_latitude":"05bd2548","is_valid_coordinates":true} 
[2026-09-04 06:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852165632001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912975530935261184,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127985678913896448,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 06:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788485025000,"timestamp_ms":1788485025000,"timestamp_seconds":1788485025,"priority":1,"record_length":96,"hex_timestamp":"000001a06a03bce8"} 
[2026-09-04 06:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-04 06:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852165632001,"66":13765,"45":8912975530935261184,"85":12288,"24":9,"16":127985678913896448},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-04 06:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852165632001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912975530935261184,"description":"Unknown IO ID 45"} 
[2026-09-04 06:54:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 06:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127985678913896448,"km_value":127985678913896.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:54:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457852165632001,"power":13765,"unknown_45":8912975530935261184,"unknown_85":12288,"ignition":9,"odometer":null}} 
[2026-09-04 06:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":171851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":760999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:54:15] local.INFO: GPS data processed {"connection_id":171851,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:54:15] local.INFO: Acknowledgment sent {"connection_id":171851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:54:16] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a03fb68012d7b8b4005bd24500004010e12..."} 
[2026-09-04 06:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a03fb68012d7b8b4005bd24500004010e12..."} 
[2026-09-04 06:54:16] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a03fb68012d7b8b4005bd24500004010e12..."} 
[2026-09-04 06:54:16] local.INFO: Packet analysis {"connection_id":171851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a03"} 
[2026-09-04 06:54:16] local.INFO: Extracted packet for processing {"connection_id":171851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a03"} 
[2026-09-04 06:54:16] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":96281680,"longitude_deg":76.3071296,"latitude_deg":9.628168,"altitude":4,"angle":270,"satellites":18,"speed":33,"hex_longitude":"2d7b8b40","hex_latitude":"05bd2450","is_valid_coordinates":true} 
[2026-09-04 06:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852166400001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127986117000560640,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912412580981852160,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788485041000,"timestamp_ms":1788485041000,"timestamp_seconds":1788485041,"priority":1,"record_length":96,"hex_timestamp":"000001a06a03fb68"} 
[2026-09-04 06:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-04 06:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852166400001,"66":13656,"197":206,"85":12544,"24":33,"16":127986117000560640,"45":8912412580981852160},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 06:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852166400001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:54:16] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 06:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 06:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127986117000560640,"km_value":127986117000560.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912412580981852160,"description":"Unknown IO ID 45"} 
[2026-09-04 06:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852166400001,"power":13656,"unknown_197":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":8912412580981852160}} 
[2026-09-04 06:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":171851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:54:16] local.INFO: GPS data processed {"connection_id":171851,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:54:16] local.INFO: Acknowledgment sent {"connection_id":171851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:54:37] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:54:37] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:54:37] local.INFO: Packet analysis {"connection_id":173147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:54:37] local.INFO: Extracted packet for processing {"connection_id":173147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:54:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852036096001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788484817000,"timestamp_ms":1788484817000,"timestamp_seconds":1788484817,"priority":1,"record_length":96,"hex_timestamp":"000001a06a009068"} 
[2026-09-04 06:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852036096001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852036096001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:54:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:54:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852036096001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":173147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:54:37] local.INFO: GPS data processed {"connection_id":173147,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:54:37] local.INFO: Acknowledgment sent {"connection_id":173147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:54:47] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a040720012d7b80c005bd2260000400ff12..."} 
[2026-09-04 06:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a040720012d7b80c005bd2260000400ff12..."} 
[2026-09-04 06:54:47] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a040720012d7b80c005bd2260000400ff12..."} 
[2026-09-04 06:54:47] local.INFO: Packet analysis {"connection_id":171851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a04"} 
[2026-09-04 06:54:47] local.INFO: Extracted packet for processing {"connection_id":171851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a04"} 
[2026-09-04 06:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763068608,"raw_latitude":96281184,"longitude_deg":76.3068608,"latitude_deg":9.6281184,"altitude":4,"angle":255,"satellites":18,"speed":34,"hex_longitude":"2d7b80c0","hex_latitude":"05bd2260","is_valid_coordinates":true} 
[2026-09-04 06:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852170496001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127986250144546816,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279481820205056,"note":"Value kept but may cause issues"} 
[2026-09-04 06:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788485044000,"timestamp_ms":1788485044000,"timestamp_seconds":1788485044,"priority":1,"record_length":96,"hex_timestamp":"000001a06a040720"} 
[2026-09-04 06:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-04 06:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":171851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852170496001,"66":13722,"197":206,"85":12544,"24":34,"16":127986250144546816,"45":8902279481820205056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 06:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852170496001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:54:47] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 06:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 06:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127986250144546816,"km_value":127986250144546.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279481820205056,"description":"Unknown IO ID 45"} 
[2026-09-04 06:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852170496001,"power":13722,"unknown_197":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":8902279481820205056}} 
[2026-09-04 06:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":171851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:54:47] local.INFO: GPS data processed {"connection_id":171851,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:54:47] local.INFO: Acknowledgment sent {"connection_id":171851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:55:05] local.INFO: TCP Data received {"connection_id":170446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:55:05] local.INFO: Processing buffer {"connection_id":170446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:55:05] local.INFO: IMEI packet received {"connection_id":170446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":170446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:55:10] local.INFO: TCP Data received {"connection_id":170446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:55:10] local.INFO: Processing buffer {"connection_id":170446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:55:10] local.INFO: IMEI packet received {"connection_id":170446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":170446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:55:11] local.INFO: TCP Data received {"connection_id":170446,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:55:11] local.INFO: Processing buffer {"connection_id":170446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:55:11] local.INFO: Packet analysis {"connection_id":170446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:55:11] local.INFO: Extracted packet for processing {"connection_id":170446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:55:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852036096001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788484817000,"timestamp_ms":1788484817000,"timestamp_seconds":1788484817,"priority":1,"record_length":96,"hex_timestamp":"000001a06a009068"} 
[2026-09-04 06:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852036096001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852036096001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:55:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852036096001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":170446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:55:11] local.INFO: GPS data processed {"connection_id":170446,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:55:11] local.INFO: Acknowledgment sent {"connection_id":170446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:55:15] local.INFO: TCP Data received {"connection_id":170446,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:55:15] local.INFO: Processing buffer {"connection_id":170446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a009068012cee7040072e2b900035006224..."} 
[2026-09-04 06:55:15] local.INFO: Packet analysis {"connection_id":170446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:55:15] local.INFO: Extracted packet for processing {"connection_id":170446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a00"} 
[2026-09-04 06:55:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852036096001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:55:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788484817000,"timestamp_ms":1788484817000,"timestamp_seconds":1788484817,"priority":1,"record_length":96,"hex_timestamp":"000001a06a009068"} 
[2026-09-04 06:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 06:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852036096001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852036096001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:55:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:55:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852036096001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":170446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:55:15] local.INFO: GPS data processed {"connection_id":170446,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:55:15] local.INFO: Acknowledgment sent {"connection_id":170446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:55:18] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a042a48012d7b634005bd18680006010b12..."} 
[2026-09-04 06:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a042a48012d7b634005bd18680006010b12..."} 
[2026-09-04 06:55:18] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a042a48012d7b634005bd18680006010b12..."} 
[2026-09-04 06:55:18] local.INFO: Packet analysis {"connection_id":171851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a04"} 
[2026-09-04 06:55:18] local.INFO: Extracted packet for processing {"connection_id":171851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a04"} 
[2026-09-04 06:55:18] local.INFO: GPS Element Parsed {"raw_longitude":763061056,"raw_latitude":96278632,"longitude_deg":76.3061056,"latitude_deg":9.6278632,"altitude":6,"angle":267,"satellites":18,"speed":33,"hex_longitude":"2d7b6340","hex_latitude":"05bd1868","is_valid_coordinates":true} 
[2026-09-04 06:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852171264001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127986632396636160,"note":"Value kept but may cause issues"} 
[2026-09-04 06:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899323994564616192,"note":"Value kept but may cause issues"} 
[2026-09-04 06:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788485053000,"timestamp_ms":1788485053000,"timestamp_seconds":1788485053,"priority":1,"record_length":96,"hex_timestamp":"000001a06a042a48"} 
[2026-09-04 06:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-04 06:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":171851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852171264001,"66":13624,"197":206,"85":12544,"24":33,"16":127986632396636160,"45":8899323994564616192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 06:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852171264001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:55:18] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 06:55:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 06:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127986632396636160,"km_value":127986632396636.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899323994564616192,"description":"Unknown IO ID 45"} 
[2026-09-04 06:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852171264001,"power":13624,"unknown_197":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":8899323994564616192}} 
[2026-09-04 06:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":171851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:55:18] local.INFO: GPS data processed {"connection_id":171851,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:55:18] local.INFO: Acknowledgment sent {"connection_id":171851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:55:49] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a043600012d7b588005bd19780005011812..."} 
[2026-09-04 06:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a043600012d7b588005bd19780005011812..."} 
[2026-09-04 06:55:49] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a043600012d7b588005bd19780005011812..."} 
[2026-09-04 06:55:49] local.INFO: Packet analysis {"connection_id":171851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a04"} 
[2026-09-04 06:55:49] local.INFO: Extracted packet for processing {"connection_id":171851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a04"} 
[2026-09-04 06:55:49] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":96278904,"longitude_deg":76.3058304,"latitude_deg":9.6278904,"altitude":5,"angle":280,"satellites":18,"speed":38,"hex_longitude":"2d7b5880","hex_latitude":"05bd1978","is_valid_coordinates":true} 
[2026-09-04 06:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852173568001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127986765540622336,"note":"Value kept but may cause issues"} 
[2026-09-04 06:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891020482750998528,"note":"Value kept but may cause issues"} 
[2026-09-04 06:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788485056000,"timestamp_ms":1788485056000,"timestamp_seconds":1788485056,"priority":1,"record_length":96,"hex_timestamp":"000001a06a043600"} 
[2026-09-04 06:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-04 06:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852173568001,"66":13678,"197":206,"85":12544,"24":38,"16":127986765540622336,"45":8891020482750998528},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 06:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852173568001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:55:49] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 06:55:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 06:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127986765540622336,"km_value":127986765540622.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891020482750998528,"description":"Unknown IO ID 45"} 
[2026-09-04 06:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852173568001,"power":13678,"unknown_197":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":8891020482750998528}} 
[2026-09-04 06:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":171851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:55:49] local.INFO: GPS data processed {"connection_id":171851,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:55:49] local.INFO: Acknowledgment sent {"connection_id":171851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:56:00] local.INFO: TCP Data received {"connection_id":170447,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:56:00] local.INFO: Processing buffer {"connection_id":170447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:56:00] local.INFO: IMEI packet received {"connection_id":170447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":170447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:56:05] local.INFO: TCP Data received {"connection_id":170447,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:56:05] local.INFO: Processing buffer {"connection_id":170447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:56:05] local.INFO: IMEI packet received {"connection_id":170447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":170447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:56:06] local.INFO: TCP Data received {"connection_id":170447,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:56:06] local.INFO: Processing buffer {"connection_id":170447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:56:06] local.INFO: Packet analysis {"connection_id":170447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:56:06] local.INFO: Extracted packet for processing {"connection_id":170447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:56:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852113152001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788485118000,"timestamp_ms":1788485118000,"timestamp_seconds":1788485118,"priority":1,"record_length":96,"hex_timestamp":"000001a06a052830"} 
[2026-09-04 06:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852113152001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852113152001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:56:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852113152001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":170447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:56:06] local.INFO: GPS data processed {"connection_id":170447,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:56:06] local.INFO: Acknowledgment sent {"connection_id":170447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:56:20] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0562c8012d7a680005bd14a00003015812..."} 
[2026-09-04 06:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0562c8012d7a680005bd14a00003015812..."} 
[2026-09-04 06:56:20] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0562c8012d7a680005bd14a00003015812..."} 
[2026-09-04 06:56:20] local.INFO: Packet analysis {"connection_id":171851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:56:20] local.INFO: Extracted packet for processing {"connection_id":171851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:56:20] local.INFO: GPS Element Parsed {"raw_longitude":762996736,"raw_latitude":96277664,"longitude_deg":76.2996736,"latitude_deg":9.6277664,"altitude":3,"angle":344,"satellites":18,"speed":0,"hex_longitude":"2d7a6800","hex_latitude":"05bd14a0","is_valid_coordinates":true} 
[2026-09-04 06:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852188928001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127989759132827648,"note":"Value kept but may cause issues"} 
[2026-09-04 06:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820370263596242944,"note":"Value kept but may cause issues"} 
[2026-09-04 06:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788485133000,"timestamp_ms":1788485133000,"timestamp_seconds":1788485133,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0562c8"} 
[2026-09-04 06:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 06:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852188928001,"66":13472,"7":206,"85":12544,"24":0,"16":127989759132827648,"45":8820370263596242944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-04 06:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852188928001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:56:20] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-04 06:56:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 06:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127989759132827648,"km_value":127989759132827.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820370263596242944,"description":"Unknown IO ID 45"} 
[2026-09-04 06:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852188928001,"power":13472,"unknown_7":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8820370263596242944}} 
[2026-09-04 06:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":171851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:56:20] local.INFO: GPS data processed {"connection_id":171851,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:56:20] local.INFO: Acknowledgment sent {"connection_id":171851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:56:37] local.INFO: TCP Data received {"connection_id":170447,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:56:37] local.INFO: Processing buffer {"connection_id":170447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:56:37] local.INFO: Packet analysis {"connection_id":170447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:56:37] local.INFO: Extracted packet for processing {"connection_id":170447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:56:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852113152001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:56:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788485118000,"timestamp_ms":1788485118000,"timestamp_seconds":1788485118,"priority":1,"record_length":96,"hex_timestamp":"000001a06a052830"} 
[2026-09-04 06:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852113152001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852113152001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:56:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:56:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852113152001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":170447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:56:37] local.INFO: GPS data processed {"connection_id":170447,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:56:37] local.INFO: Acknowledgment sent {"connection_id":170447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:56:51] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a05b4d0012d7a680005bd14a00003015814..."} 
[2026-09-04 06:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a05b4d0012d7a680005bd14a00003015814..."} 
[2026-09-04 06:56:51] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a05b4d0012d7a680005bd14a00003015814..."} 
[2026-09-04 06:56:51] local.INFO: Packet analysis {"connection_id":171851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:56:51] local.INFO: Extracted packet for processing {"connection_id":171851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:56:51] local.INFO: GPS Element Parsed {"raw_longitude":762996736,"raw_latitude":96277664,"longitude_deg":76.2996736,"latitude_deg":9.6277664,"altitude":3,"angle":344,"satellites":20,"speed":0,"hex_longitude":"2d7a6800","hex_latitude":"05bd14a0","is_valid_coordinates":true} 
[2026-09-04 06:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852194048001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127989759132827648,"note":"Value kept but may cause issues"} 
[2026-09-04 06:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820299894852198400,"note":"Value kept but may cause issues"} 
[2026-09-04 06:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788485154000,"timestamp_ms":1788485154000,"timestamp_seconds":1788485154,"priority":1,"record_length":96,"hex_timestamp":"000001a06a05b4d0"} 
[2026-09-04 06:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-04 06:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852194048001,"66":13428,"7":206,"85":12544,"24":0,"16":127989759132827648,"45":8820299894852198400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-04 06:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852194048001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:56:51] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-04 06:56:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 06:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127989759132827648,"km_value":127989759132827.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820299894852198400,"description":"Unknown IO ID 45"} 
[2026-09-04 06:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852194048001,"power":13428,"unknown_7":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8820299894852198400}} 
[2026-09-04 06:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":171851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:56:51] local.INFO: GPS data processed {"connection_id":171851,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:56:51] local.INFO: Acknowledgment sent {"connection_id":171851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:57:00] local.INFO: TCP Data received {"connection_id":170750,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:57:00] local.INFO: Processing buffer {"connection_id":170750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:57:00] local.INFO: IMEI packet received {"connection_id":170750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":170750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:57:05] local.INFO: TCP Data received {"connection_id":170750,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:57:05] local.INFO: Processing buffer {"connection_id":170750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:57:05] local.INFO: IMEI packet received {"connection_id":170750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":170750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:57:06] local.INFO: TCP Data received {"connection_id":170750,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:57:06] local.INFO: Processing buffer {"connection_id":170750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:57:06] local.INFO: Packet analysis {"connection_id":170750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:57:06] local.INFO: Extracted packet for processing {"connection_id":170750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:57:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852113152001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:57:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788485118000,"timestamp_ms":1788485118000,"timestamp_seconds":1788485118,"priority":1,"record_length":96,"hex_timestamp":"000001a06a052830"} 
[2026-09-04 06:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852113152001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852113152001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:57:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:57:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852113152001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":170750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:57:06] local.INFO: GPS data processed {"connection_id":170750,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:57:06] local.INFO: Acknowledgment sent {"connection_id":170750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:57:23] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0606d8012d7a680005bd14a00003015817..."} 
[2026-09-04 06:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0606d8012d7a680005bd14a00003015817..."} 
[2026-09-04 06:57:23] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0606d8012d7a680005bd14a00003015817..."} 
[2026-09-04 06:57:23] local.INFO: Packet analysis {"connection_id":171851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a06"} 
[2026-09-04 06:57:23] local.INFO: Extracted packet for processing {"connection_id":171851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a06"} 
[2026-09-04 06:57:23] local.INFO: GPS Element Parsed {"raw_longitude":762996736,"raw_latitude":96277664,"longitude_deg":76.2996736,"latitude_deg":9.6277664,"altitude":3,"angle":344,"satellites":23,"speed":0,"hex_longitude":"2d7a6800","hex_latitude":"05bd14a0","is_valid_coordinates":true} 
[2026-09-04 06:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852199424001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127989759132827648,"note":"Value kept but may cause issues"} 
[2026-09-04 06:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820299894852198400,"note":"Value kept but may cause issues"} 
[2026-09-04 06:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788485175000,"timestamp_ms":1788485175000,"timestamp_seconds":1788485175,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0606d8"} 
[2026-09-04 06:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 06:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852199424001,"66":13189,"7":206,"85":12544,"24":0,"16":127989759132827648,"45":8820299894852198400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-04 06:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852199424001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:57:23] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-04 06:57:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 06:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127989759132827648,"km_value":127989759132827.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820299894852198400,"description":"Unknown IO ID 45"} 
[2026-09-04 06:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852199424001,"power":13189,"unknown_7":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8820299894852198400}} 
[2026-09-04 06:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":171851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:57:23] local.INFO: GPS data processed {"connection_id":171851,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:57:23] local.INFO: Acknowledgment sent {"connection_id":171851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:57:37] local.INFO: TCP Data received {"connection_id":170750,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:57:37] local.INFO: Processing buffer {"connection_id":170750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:57:37] local.INFO: Packet analysis {"connection_id":170750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:57:37] local.INFO: Extracted packet for processing {"connection_id":170750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:57:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852113152001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:57:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788485118000,"timestamp_ms":1788485118000,"timestamp_seconds":1788485118,"priority":1,"record_length":96,"hex_timestamp":"000001a06a052830"} 
[2026-09-04 06:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852113152001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852113152001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:57:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:57:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852113152001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":170750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:57:37] local.INFO: GPS data processed {"connection_id":170750,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:57:37] local.INFO: Acknowledgment sent {"connection_id":170750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:57:54] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0658e0012d7a680005bd14a00003015817..."} 
[2026-09-04 06:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0658e0012d7a680005bd14a00003015817..."} 
[2026-09-04 06:57:54] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0658e0012d7a680005bd14a00003015817..."} 
[2026-09-04 06:57:54] local.INFO: Packet analysis {"connection_id":171851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a06"} 
[2026-09-04 06:57:54] local.INFO: Extracted packet for processing {"connection_id":171851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a06"} 
[2026-09-04 06:57:54] local.INFO: GPS Element Parsed {"raw_longitude":762996736,"raw_latitude":96277664,"longitude_deg":76.2996736,"latitude_deg":9.6277664,"altitude":3,"angle":344,"satellites":23,"speed":0,"hex_longitude":"2d7a6800","hex_latitude":"05bd14a0","is_valid_coordinates":true} 
[2026-09-04 06:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852204800001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127989759132827648,"note":"Value kept but may cause issues"} 
[2026-09-04 06:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820299894852198400,"note":"Value kept but may cause issues"} 
[2026-09-04 06:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788485196000,"timestamp_ms":1788485196000,"timestamp_seconds":1788485196,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0658e0"} 
[2026-09-04 06:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-04 06:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852204800001,"66":13798,"7":206,"85":12544,"24":0,"16":127989759132827648,"45":8820299894852198400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-04 06:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852204800001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:57:54] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-04 06:57:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 06:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127989759132827648,"km_value":127989759132827.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820299894852198400,"description":"Unknown IO ID 45"} 
[2026-09-04 06:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852204800001,"power":13798,"unknown_7":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8820299894852198400}} 
[2026-09-04 06:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":171851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:57:54] local.INFO: GPS data processed {"connection_id":171851,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:57:54] local.INFO: Acknowledgment sent {"connection_id":171851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:58:00] local.INFO: TCP Data received {"connection_id":170751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:58:00] local.INFO: Processing buffer {"connection_id":170751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:58:00] local.INFO: IMEI packet received {"connection_id":170751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":170751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:58:05] local.INFO: TCP Data received {"connection_id":170751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:58:05] local.INFO: Processing buffer {"connection_id":170751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:58:05] local.INFO: IMEI packet received {"connection_id":170751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":170751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:58:06] local.INFO: TCP Data received {"connection_id":170751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:58:06] local.INFO: Processing buffer {"connection_id":170751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:58:06] local.INFO: Packet analysis {"connection_id":170751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:58:06] local.INFO: Extracted packet for processing {"connection_id":170751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:58:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852113152001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:58:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788485118000,"timestamp_ms":1788485118000,"timestamp_seconds":1788485118,"priority":1,"record_length":96,"hex_timestamp":"000001a06a052830"} 
[2026-09-04 06:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852113152001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852113152001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:58:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:58:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852113152001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":170751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:58:06] local.INFO: GPS data processed {"connection_id":170751,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:58:06] local.INFO: Acknowledgment sent {"connection_id":170751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:58:10] local.INFO: TCP Data received {"connection_id":170752,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:58:10] local.INFO: Processing buffer {"connection_id":170752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:58:10] local.INFO: IMEI packet received {"connection_id":170752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 06:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":170752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:58:14] local.INFO: TCP Data received {"connection_id":170752,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:58:14] local.INFO: Processing buffer {"connection_id":170752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:58:14] local.INFO: IMEI packet received {"connection_id":170752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 06:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":170752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:58:17] local.INFO: TCP Data received {"connection_id":170752,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:58:17] local.INFO: Processing buffer {"connection_id":170752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:58:17] local.INFO: IMEI packet received {"connection_id":170752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 06:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":170752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:58:37] local.INFO: TCP Data received {"connection_id":170751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:58:37] local.INFO: Processing buffer {"connection_id":170751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:58:37] local.INFO: Packet analysis {"connection_id":170751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:58:37] local.INFO: Extracted packet for processing {"connection_id":170751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:58:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852113152001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:58:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788485118000,"timestamp_ms":1788485118000,"timestamp_seconds":1788485118,"priority":1,"record_length":96,"hex_timestamp":"000001a06a052830"} 
[2026-09-04 06:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852113152001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852113152001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:58:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:58:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852113152001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":170751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:58:37] local.INFO: GPS data processed {"connection_id":170751,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:58:37] local.INFO: Acknowledgment sent {"connection_id":170751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:58:44] local.INFO: TCP Data received {"connection_id":170752,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a06aae8012d7a690005bd15300001016517..."} 
[2026-09-04 06:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a06aae8012d7a690005bd15300001016517..."} 
[2026-09-04 06:58:44] local.INFO: Processing buffer {"connection_id":170752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a06aae8012d7a690005bd15300001016517..."} 
[2026-09-04 06:58:44] local.INFO: Packet analysis {"connection_id":170752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a06"} 
[2026-09-04 06:58:44] local.INFO: Extracted packet for processing {"connection_id":170752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a06"} 
[2026-09-04 06:58:44] local.INFO: GPS Element Parsed {"raw_longitude":762996992,"raw_latitude":96277808,"longitude_deg":76.2996992,"latitude_deg":9.6277808,"altitude":1,"angle":357,"satellites":23,"speed":5,"hex_longitude":"2d7a6900","hex_latitude":"05bd1530","is_valid_coordinates":true} 
[2026-09-04 06:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852210176001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127989772017729536,"note":"Value kept but may cause issues"} 
[2026-09-04 06:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820299894852198400,"note":"Value kept but may cause issues"} 
[2026-09-04 06:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788485217000,"timestamp_ms":1788485217000,"timestamp_seconds":1788485217,"priority":1,"record_length":96,"hex_timestamp":"000001a06a06aae8"} 
[2026-09-04 06:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 06:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852210176001,"66":13319,"7":206,"85":12544,"24":5,"16":127989772017729536,"45":8820299894852198400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-04 06:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852210176001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:58:44] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-04 06:58:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 06:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127989772017729536,"km_value":127989772017729.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820299894852198400,"description":"Unknown IO ID 45"} 
[2026-09-04 06:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852210176001,"power":13319,"unknown_7":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":8820299894852198400}} 
[2026-09-04 06:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":170752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:58:44] local.INFO: GPS data processed {"connection_id":170752,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:58:44] local.INFO: Acknowledgment sent {"connection_id":170752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:58:45] local.INFO: TCP Data received {"connection_id":170752,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a080e60012d7a414005be8fc00006000a16..."} 
[2026-09-04 06:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a080e60012d7a414005be8fc00006000a16..."} 
[2026-09-04 06:58:45] local.INFO: Processing buffer {"connection_id":170752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a080e60012d7a414005be8fc00006000a16..."} 
[2026-09-04 06:58:45] local.INFO: Packet analysis {"connection_id":170752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a08"} 
[2026-09-04 06:58:45] local.INFO: Extracted packet for processing {"connection_id":170752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a08"} 
[2026-09-04 06:58:45] local.INFO: GPS Element Parsed {"raw_longitude":762986816,"raw_latitude":96374720,"longitude_deg":76.2986816,"latitude_deg":9.637472,"altitude":6,"angle":10,"satellites":22,"speed":55,"hex_longitude":"2d7a4140","hex_latitude":"05be8fc0","is_valid_coordinates":true} 
[2026-09-04 06:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852237824001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127994517956591616,"note":"Value kept but may cause issues"} 
[2026-09-04 06:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808689052086339584,"note":"Value kept but may cause issues"} 
[2026-09-04 06:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788485308000,"timestamp_ms":1788485308000,"timestamp_seconds":1788485308,"priority":1,"record_length":96,"hex_timestamp":"000001a06a080e60"} 
[2026-09-04 06:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-04 06:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":170752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":170752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":170752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852237824001,"66":13417,"7":206,"85":12544,"24":55,"16":127994517956591616,"45":8808689052086339584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-04 06:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852237824001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:58:45] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-04 06:58:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 06:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127994517956591616,"km_value":127994517956591.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808689052086339584,"description":"Unknown IO ID 45"} 
[2026-09-04 06:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852237824001,"power":13417,"unknown_7":206,"unknown_85":12544,"ignition":55,"odometer":null,"unknown_45":8808689052086339584}} 
[2026-09-04 06:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":170752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:58:45] local.INFO: GPS data processed {"connection_id":170752,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:58:45] local.INFO: Acknowledgment sent {"connection_id":170752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:59:05] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:59:05] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:59:05] local.INFO: IMEI packet received {"connection_id":173148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 06:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":173148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:59:10] local.INFO: TCP Data received {"connection_id":173149,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:59:10] local.INFO: Processing buffer {"connection_id":173149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:59:10] local.INFO: IMEI packet received {"connection_id":173149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 06:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":173149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 06:59:10] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:59:10] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 06:59:10] local.INFO: IMEI packet received {"connection_id":173148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 06:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":173148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:59:11] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:59:11] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:59:11] local.INFO: Packet analysis {"connection_id":173148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:59:11] local.INFO: Extracted packet for processing {"connection_id":173148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:59:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852113152001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788485118000,"timestamp_ms":1788485118000,"timestamp_seconds":1788485118,"priority":1,"record_length":96,"hex_timestamp":"000001a06a052830"} 
[2026-09-04 06:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852113152001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852113152001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:59:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852113152001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":173148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:59:11] local.INFO: GPS data processed {"connection_id":173148,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:59:11] local.INFO: Acknowledgment sent {"connection_id":173148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:59:14] local.INFO: TCP Data received {"connection_id":173149,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:59:14] local.INFO: Processing buffer {"connection_id":173149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 06:59:14] local.INFO: IMEI packet received {"connection_id":173149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 06:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":173149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 06:59:15] local.INFO: TCP Data received {"connection_id":173149,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0825d0012d7a448005beaf780006016615..."} 
[2026-09-04 06:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0825d0012d7a448005beaf780006016615..."} 
[2026-09-04 06:59:15] local.INFO: Processing buffer {"connection_id":173149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0825d0012d7a448005beaf780006016615..."} 
[2026-09-04 06:59:15] local.INFO: Packet analysis {"connection_id":173149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a08"} 
[2026-09-04 06:59:15] local.INFO: Extracted packet for processing {"connection_id":173149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a08"} 
[2026-09-04 06:59:15] local.INFO: GPS Element Parsed {"raw_longitude":762987648,"raw_latitude":96382840,"longitude_deg":76.2987648,"latitude_deg":9.638284,"altitude":6,"angle":358,"satellites":21,"speed":52,"hex_longitude":"2d7a4480","hex_latitude":"05beaf78","is_valid_coordinates":true} 
[2026-09-04 06:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852238848001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127994913093582848,"note":"Value kept but may cause issues"} 
[2026-09-04 06:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739529506816,"note":"Value kept but may cause issues"} 
[2026-09-04 06:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788485314000,"timestamp_ms":1788485314000,"timestamp_seconds":1788485314,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0825d0"} 
[2026-09-04 06:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-04 06:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852238848001,"66":13559,"7":206,"85":12544,"24":52,"16":127994913093582848,"45":8809392739529506816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-04 06:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852238848001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:59:15] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-04 06:59:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 06:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127994913093582848,"km_value":127994913093582.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739529506816,"description":"Unknown IO ID 45"} 
[2026-09-04 06:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852238848001,"power":13559,"unknown_7":206,"unknown_85":12544,"ignition":52,"odometer":null,"unknown_45":8809392739529506816}} 
[2026-09-04 06:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":173149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:59:15] local.INFO: GPS data processed {"connection_id":173149,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:59:15] local.INFO: Acknowledgment sent {"connection_id":173149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:59:15] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:59:15] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 06:59:15] local.INFO: Packet analysis {"connection_id":173148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:59:15] local.INFO: Extracted packet for processing {"connection_id":173148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 06:59:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 06:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852113152001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 06:59:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 06:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788485118000,"timestamp_ms":1788485118000,"timestamp_seconds":1788485118,"priority":1,"record_length":96,"hex_timestamp":"000001a06a052830"} 
[2026-09-04 06:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 06:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 06:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 06:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 06:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 06:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852113152001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 06:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 06:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 06:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852113152001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:59:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 06:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 06:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:59:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 06:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852113152001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 06:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":173148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:59:16] local.INFO: GPS data processed {"connection_id":173148,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:59:16] local.INFO: Acknowledgment sent {"connection_id":173148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 06:59:46] local.INFO: TCP Data received {"connection_id":173149,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a084128012d7a400005bed2a80004016116..."} 
[2026-09-04 06:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a084128012d7a400005bed2a80004016116..."} 
[2026-09-04 06:59:46] local.INFO: Processing buffer {"connection_id":173149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a084128012d7a400005bed2a80004016116..."} 
[2026-09-04 06:59:46] local.INFO: Packet analysis {"connection_id":173149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a08"} 
[2026-09-04 06:59:46] local.INFO: Extracted packet for processing {"connection_id":173149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a08"} 
[2026-09-04 06:59:46] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":96391848,"longitude_deg":76.2986496,"latitude_deg":9.6391848,"altitude":4,"angle":353,"satellites":22,"speed":50,"hex_longitude":"2d7a4000","hex_latitude":"05bed2a8","is_valid_coordinates":true} 
[2026-09-04 06:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 06:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852240384001,"note":"Value kept but may cause issues"} 
[2026-09-04 06:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127995355475214336,"note":"Value kept but may cause issues"} 
[2026-09-04 06:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810307533205895168,"note":"Value kept but may cause issues"} 
[2026-09-04 06:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 06:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788485321000,"timestamp_ms":1788485321000,"timestamp_seconds":1788485321,"priority":1,"record_length":96,"hex_timestamp":"000001a06a084128"} 
[2026-09-04 06:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 06:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 06:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-04 06:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 06:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 06:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 06:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 06:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 06:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 06:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 06:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 06:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 06:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852240384001,"66":13580,"109":206,"85":12288,"24":50,"16":127995355475214336,"45":8810307533205895168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-04 06:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 06:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 06:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852240384001,"description":"Unknown IO ID 0"} 
[2026-09-04 06:59:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-04 06:59:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 06:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127995355475214336,"km_value":127995355475214.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 06:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810307533205895168,"description":"Unknown IO ID 45"} 
[2026-09-04 06:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852240384001,"power":13580,"unknown_109":206,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":8810307533205895168}} 
[2026-09-04 06:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":173149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 06:59:46] local.INFO: GPS data processed {"connection_id":173149,"processed":1,"errors":0,"total":1} 
[2026-09-04 06:59:46] local.INFO: Acknowledgment sent {"connection_id":173149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:00:00] local.INFO: TCP Data received {"connection_id":171853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:00:00] local.INFO: Processing buffer {"connection_id":171853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:00:00] local.INFO: IMEI packet received {"connection_id":171853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":171853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:00:05] local.INFO: TCP Data received {"connection_id":171853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:00:05] local.INFO: Processing buffer {"connection_id":171853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:00:05] local.INFO: IMEI packet received {"connection_id":171853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":171853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:00:06] local.INFO: TCP Data received {"connection_id":171853,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 07:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 07:00:06] local.INFO: Processing buffer {"connection_id":171853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 07:00:06] local.INFO: Packet analysis {"connection_id":171853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 07:00:06] local.INFO: Extracted packet for processing {"connection_id":171853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 07:00:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852113152001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788485118000,"timestamp_ms":1788485118000,"timestamp_seconds":1788485118,"priority":1,"record_length":96,"hex_timestamp":"000001a06a052830"} 
[2026-09-04 07:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 07:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852113152001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852113152001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:00:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852113152001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":171853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:00:06] local.INFO: GPS data processed {"connection_id":171853,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:00:06] local.INFO: Acknowledgment sent {"connection_id":171853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:00:10] local.INFO: TCP Data received {"connection_id":170753,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:00:10] local.INFO: Processing buffer {"connection_id":170753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:00:10] local.INFO: IMEI packet received {"connection_id":170753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":170753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:00:13] local.INFO: TCP Data received {"connection_id":170753,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:00:13] local.INFO: Processing buffer {"connection_id":170753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:00:13] local.INFO: IMEI packet received {"connection_id":170753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":170753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:00:15] local.INFO: TCP Data received {"connection_id":170753,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:00:15] local.INFO: Processing buffer {"connection_id":170753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:00:15] local.INFO: IMEI packet received {"connection_id":170753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":170753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:00:16] local.INFO: TCP Data received {"connection_id":170753,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a092b88012d7a8e8005bf42980005005a17..."} 
[2026-09-04 07:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a092b88012d7a8e8005bf42980005005a17..."} 
[2026-09-04 07:00:16] local.INFO: Processing buffer {"connection_id":170753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a092b88012d7a8e8005bf42980005005a17..."} 
[2026-09-04 07:00:16] local.INFO: Packet analysis {"connection_id":170753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:00:16] local.INFO: Extracted packet for processing {"connection_id":170753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:00:16] local.INFO: GPS Element Parsed {"raw_longitude":763006592,"raw_latitude":96420504,"longitude_deg":76.3006592,"latitude_deg":9.6420504,"altitude":5,"angle":90,"satellites":23,"speed":50,"hex_longitude":"2d7a8e80","hex_latitude":"05bf4298","is_valid_coordinates":true} 
[2026-09-04 07:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852255488001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820229526144518144,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127997747771998208,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 07:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788485381000,"timestamp_ms":1788485381000,"timestamp_seconds":1788485381,"priority":1,"record_length":96,"hex_timestamp":"000001a06a092b88"} 
[2026-09-04 07:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-04 07:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852255488001,"66":13319,"45":8820229526144518144,"85":12288,"24":50,"16":127997747771998208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-04 07:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852255488001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820229526144518144,"description":"Unknown IO ID 45"} 
[2026-09-04 07:00:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127997747771998208,"km_value":127997747771998.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:00:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457852255488001,"power":13319,"unknown_45":8820229526144518144,"unknown_85":12288,"ignition":50,"odometer":null}} 
[2026-09-04 07:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":170753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:00:16] local.INFO: GPS data processed {"connection_id":170753,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:00:16] local.INFO: Acknowledgment sent {"connection_id":170753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:00:37] local.INFO: TCP Data received {"connection_id":171853,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 07:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 07:00:37] local.INFO: Processing buffer {"connection_id":171853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a052830012cee7040072e2b900035006222..."} 
[2026-09-04 07:00:37] local.INFO: Packet analysis {"connection_id":171853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 07:00:37] local.INFO: Extracted packet for processing {"connection_id":171853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a05"} 
[2026-09-04 07:00:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852113152001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788485118000,"timestamp_ms":1788485118000,"timestamp_seconds":1788485118,"priority":1,"record_length":96,"hex_timestamp":"000001a06a052830"} 
[2026-09-04 07:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 07:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852113152001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852113152001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:00:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:00:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852113152001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":171853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:00:37] local.INFO: GPS data processed {"connection_id":171853,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:00:37] local.INFO: Acknowledgment sent {"connection_id":171853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:00:47] local.INFO: TCP Data received {"connection_id":170753,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0946e0012d7ab28005bf46b80006005517..."} 
[2026-09-04 07:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0946e0012d7ab28005bf46b80006005517..."} 
[2026-09-04 07:00:47] local.INFO: Processing buffer {"connection_id":170753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0946e0012d7ab28005bf46b80006005517..."} 
[2026-09-04 07:00:47] local.INFO: Packet analysis {"connection_id":170753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:00:47] local.INFO: Extracted packet for processing {"connection_id":170753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":763015808,"raw_latitude":96421560,"longitude_deg":76.3015808,"latitude_deg":9.642156,"altitude":6,"angle":85,"satellites":23,"speed":52,"hex_longitude":"2d7ab280","hex_latitude":"05bf46b8","is_valid_coordinates":true} 
[2026-09-04 07:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852257536001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831136681492125696,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127998190153629696,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 07:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788485388000,"timestamp_ms":1788485388000,"timestamp_seconds":1788485388,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0946e0"} 
[2026-09-04 07:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-04 07:00:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:47] local.WARNING: Large IO value detected {"io_id":191,"raw_value":4125297275874645760,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2821521614,"corrected_to":0} 
[2026-09-04 07:00:47] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040168,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:47] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3159752704,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:47] local.WARNING: Large IO value detected {"io_id":8,"raw_value":-6433390772862959611,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:47] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57887281466201392,"note":"Value kept but may cause issues"} 
[2026-09-04 07:00:47] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,45,85,24,241,157,16,189,160,12,192,65,5,23,10,66,188,221,128,3,213,1,240,29,227,106,191,4,113,205,194,59,216,239,51,2,198,8,220],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2821521614,"validated":0}]} 
[2026-09-04 07:00:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360387025023664128,"timestamp_seconds":360387025023664.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 07:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852257536001,"66":13363,"45":8831136681492125696,"85":12288,"24":52,"16":127998190153629696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-04 07:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852257536001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831136681492125696,"description":"Unknown IO ID 45"} 
[2026-09-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127998190153629696,"km_value":127998190153629.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:00:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457852257536001,"power":13363,"unknown_45":8831136681492125696,"unknown_85":12288,"ignition":52,"odometer":null}} 
[2026-09-04 07:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":170753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:00:47] local.INFO: GPS data processed {"connection_id":170753,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:00:47] local.INFO: Acknowledgment sent {"connection_id":170753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:00:57] local.INFO: TCP Data received {"connection_id":170448,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:00:57] local.INFO: Processing buffer {"connection_id":170448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:00:57] local.INFO: IMEI packet received {"connection_id":170448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":170448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:01:00] local.INFO: TCP Data received {"connection_id":170448,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:01:00] local.INFO: Processing buffer {"connection_id":170448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:01:00] local.INFO: IMEI packet received {"connection_id":170448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":170448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:01:05] local.INFO: TCP Data received {"connection_id":170448,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:01:05] local.INFO: Processing buffer {"connection_id":170448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:01:05] local.INFO: IMEI packet received {"connection_id":170448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":170448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:01:06] local.INFO: TCP Data received {"connection_id":170448,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:01:06] local.INFO: Processing buffer {"connection_id":170448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:01:06] local.INFO: Packet analysis {"connection_id":170448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:01:06] local.INFO: Extracted packet for processing {"connection_id":170448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:01:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852190208001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788485419000,"timestamp_ms":1788485419000,"timestamp_seconds":1788485419,"priority":1,"record_length":96,"hex_timestamp":"000001a06a09bff8"} 
[2026-09-04 07:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852190208001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852190208001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:01:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852190208001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":170448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:01:06] local.INFO: GPS data processed {"connection_id":170448,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:01:06] local.INFO: Acknowledgment sent {"connection_id":170448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:01:15] local.INFO: TCP Data received {"connection_id":173150,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:01:15] local.INFO: Processing buffer {"connection_id":173150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:01:15] local.INFO: IMEI packet received {"connection_id":173150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":173150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:01:20] local.INFO: TCP Data received {"connection_id":173150,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:01:20] local.INFO: Processing buffer {"connection_id":173150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:01:20] local.INFO: IMEI packet received {"connection_id":173150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":173150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:01:21] local.INFO: TCP Data received {"connection_id":173150,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a096620012d7ad94005bf46b80004005a17..."} 
[2026-09-04 07:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a096620012d7ad94005bf46b80004005a17..."} 
[2026-09-04 07:01:21] local.INFO: Processing buffer {"connection_id":173150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a096620012d7ad94005bf46b80004005a17..."} 
[2026-09-04 07:01:21] local.INFO: Packet analysis {"connection_id":173150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:01:21] local.INFO: Extracted packet for processing {"connection_id":173150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763025728,"raw_latitude":96421560,"longitude_deg":76.3025728,"latitude_deg":9.642156,"altitude":4,"angle":90,"satellites":23,"speed":41,"hex_longitude":"2d7ad940","hex_latitude":"05bf46b8","is_valid_coordinates":true} 
[2026-09-04 07:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852259328001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127998666894999552,"note":"Value kept but may cause issues"} 
[2026-09-04 07:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841269780653979648,"note":"Value kept but may cause issues"} 
[2026-09-04 07:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788485396000,"timestamp_ms":1788485396000,"timestamp_seconds":1788485396,"priority":1,"record_length":96,"hex_timestamp":"000001a06a096620"} 
[2026-09-04 07:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-04 07:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852259328001,"66":13396,"44":206,"85":12288,"24":41,"16":127998666894999552,"45":8841269780653979648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-04 07:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852259328001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-04 07:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127998666894999552,"km_value":127998666894999.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841269780653979648,"description":"Unknown IO ID 45"} 
[2026-09-04 07:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852259328001,"power":13396,"unknown_44":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":8841269780653979648}} 
[2026-09-04 07:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":173150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:01:21] local.INFO: GPS data processed {"connection_id":173150,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:01:21] local.INFO: Acknowledgment sent {"connection_id":173150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:01:25] local.INFO: TCP Data received {"connection_id":173150,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a097d90012d7aeec005bf49900004004f17..."} 
[2026-09-04 07:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a097d90012d7aeec005bf49900004004f17..."} 
[2026-09-04 07:01:25] local.INFO: Processing buffer {"connection_id":173150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a097d90012d7aeec005bf49900004004f17..."} 
[2026-09-04 07:01:25] local.INFO: Packet analysis {"connection_id":173150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:01:25] local.INFO: Extracted packet for processing {"connection_id":173150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:01:25] local.INFO: GPS Element Parsed {"raw_longitude":763031232,"raw_latitude":96422288,"longitude_deg":76.3031232,"latitude_deg":9.6422288,"altitude":4,"angle":79,"satellites":23,"speed":31,"hex_longitude":"2d7aeec0","hex_latitude":"05bf4990","is_valid_coordinates":true} 
[2026-09-04 07:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852261376001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127998933182971904,"note":"Value kept but may cause issues"} 
[2026-09-04 07:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852176936001517568,"note":"Value kept but may cause issues"} 
[2026-09-04 07:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788485402000,"timestamp_ms":1788485402000,"timestamp_seconds":1788485402,"priority":1,"record_length":96,"hex_timestamp":"000001a06a097d90"} 
[2026-09-04 07:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 07:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852261376001,"66":13319,"44":206,"85":12288,"24":31,"16":127998933182971904,"45":8852176936001517568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-04 07:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852261376001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:01:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-04 07:01:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127998933182971904,"km_value":127998933182971.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852176936001517568,"description":"Unknown IO ID 45"} 
[2026-09-04 07:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852261376001,"power":13319,"unknown_44":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":8852176936001517568}} 
[2026-09-04 07:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":173150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:01:25] local.INFO: GPS data processed {"connection_id":173150,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:01:25] local.INFO: Acknowledgment sent {"connection_id":173150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:01:37] local.INFO: TCP Data received {"connection_id":170448,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:01:37] local.INFO: Processing buffer {"connection_id":170448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:01:37] local.INFO: Packet analysis {"connection_id":170448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:01:37] local.INFO: Extracted packet for processing {"connection_id":170448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:01:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852190208001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788485419000,"timestamp_ms":1788485419000,"timestamp_seconds":1788485419,"priority":1,"record_length":96,"hex_timestamp":"000001a06a09bff8"} 
[2026-09-04 07:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852190208001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852190208001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:01:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852190208001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":170448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:01:37] local.INFO: GPS data processed {"connection_id":170448,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:01:37] local.INFO: Acknowledgment sent {"connection_id":170448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:02:00] local.INFO: TCP Data received {"connection_id":171854,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:02:00] local.INFO: Processing buffer {"connection_id":171854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:02:00] local.INFO: IMEI packet received {"connection_id":171854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":171854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:02:05] local.INFO: TCP Data received {"connection_id":171854,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:02:05] local.INFO: Processing buffer {"connection_id":171854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:02:05] local.INFO: IMEI packet received {"connection_id":171854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":171854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:02:06] local.INFO: TCP Data received {"connection_id":171854,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:02:06] local.INFO: Processing buffer {"connection_id":171854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:02:06] local.INFO: Packet analysis {"connection_id":171854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:02:06] local.INFO: Extracted packet for processing {"connection_id":171854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:02:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852190208001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788485419000,"timestamp_ms":1788485419000,"timestamp_seconds":1788485419,"priority":1,"record_length":96,"hex_timestamp":"000001a06a09bff8"} 
[2026-09-04 07:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852190208001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852190208001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:02:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852190208001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":171854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:02:06] local.INFO: GPS data processed {"connection_id":171854,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:02:06] local.INFO: Acknowledgment sent {"connection_id":171854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:02:10] local.INFO: TCP Data received {"connection_id":170754,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:02:10] local.INFO: Processing buffer {"connection_id":170754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:02:10] local.INFO: IMEI packet received {"connection_id":170754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":170754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:02:12] local.INFO: TCP Data received {"connection_id":170754,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:02:12] local.INFO: Processing buffer {"connection_id":170754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:02:12] local.INFO: IMEI packet received {"connection_id":170754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":170754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:02:13] local.INFO: TCP Data received {"connection_id":170754,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a09a4a0012d7b11c005bf50880004005217..."} 
[2026-09-04 07:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a09a4a0012d7b11c005bf50880004005217..."} 
[2026-09-04 07:02:13] local.INFO: Processing buffer {"connection_id":170754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a09a4a0012d7b11c005bf50880004005217..."} 
[2026-09-04 07:02:13] local.INFO: Packet analysis {"connection_id":170754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:02:13] local.INFO: Extracted packet for processing {"connection_id":170754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763040192,"raw_latitude":96424072,"longitude_deg":76.3040192,"latitude_deg":9.6424072,"altitude":4,"angle":82,"satellites":23,"speed":38,"hex_longitude":"2d7b11c0","hex_latitude":"05bf5088","is_valid_coordinates":true} 
[2026-09-04 07:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852262912001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127999366974668800,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858228648000983040,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788485412000,"timestamp_ms":1788485412000,"timestamp_seconds":1788485412,"priority":1,"record_length":96,"hex_timestamp":"000001a06a09a4a0"} 
[2026-09-04 07:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-04 07:02:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:13] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147860289,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:13] local.WARNING: Large IO value detected {"io_id":191,"raw_value":4708513427600447232,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2821521614,"corrected_to":0} 
[2026-09-04 07:02:13] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3160866816,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3208753152,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:13] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57887281466201392,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:13] local.WARNING: Large IO value detected {"io_id":8,"raw_value":-3618641005756186619,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:13] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,44,85,24,241,157,16,190,160,102,45,64,70,4,23,10,66,128,6,189,43,1,240,7,227,106,191,113,205,42,221,184,239,52,2,198,5,29,8],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2821521614,"validated":0}]} 
[2026-09-04 07:02:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288317336356585472,"timestamp_seconds":288317336356585.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 07:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":170754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":170754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":170754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852262912001,"66":13580,"44":206,"85":12288,"24":38,"16":127999366974668800,"45":8858228648000983040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-04 07:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852262912001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:02:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-04 07:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127999366974668800,"km_value":127999366974668.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858228648000983040,"description":"Unknown IO ID 45"} 
[2026-09-04 07:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852262912001,"power":13580,"unknown_44":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":8858228648000983040}} 
[2026-09-04 07:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":170754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:02:13] local.INFO: GPS data processed {"connection_id":170754,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:02:13] local.INFO: Acknowledgment sent {"connection_id":170754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:02:16] local.INFO: TCP Data received {"connection_id":170754,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a09c3e0012d7b358005bf53a80002005816..."} 
[2026-09-04 07:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a09c3e0012d7b358005bf53a80002005816..."} 
[2026-09-04 07:02:16] local.INFO: Processing buffer {"connection_id":170754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a09c3e0012d7b358005bf53a80002005816..."} 
[2026-09-04 07:02:16] local.INFO: Packet analysis {"connection_id":170754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:02:16] local.INFO: Extracted packet for processing {"connection_id":170754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:02:16] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":96424872,"longitude_deg":76.3049344,"latitude_deg":9.6424872,"altitude":2,"angle":88,"satellites":22,"speed":45,"hex_longitude":"2d7b3580","hex_latitude":"05bf53a8","is_valid_coordinates":true} 
[2026-09-04 07:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852265472001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127999805061332992,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868080272186312704,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788485420000,"timestamp_ms":1788485420000,"timestamp_seconds":1788485420,"priority":1,"record_length":96,"hex_timestamp":"000001a06a09c3e0"} 
[2026-09-04 07:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630012,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634883858278445,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4126309908880556032,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2821521614,"corrected_to":0} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221602113,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2089896349293137493,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3168206848,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3208755200,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":122,"raw_value":4521620344878923780,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:16] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,44,85,24,241,157,16,190,160,125,45,192,73,4,23,10,66,102,64,70,128,1,240,51,227,189,106,191,113,205,50,12,103,136,239,52,2,198,5,3,14,122,48],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2821521614,"validated":0}]} 
[2026-09-04 07:02:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288320634891927552,"timestamp_seconds":288320634891927.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 07:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852265472001,"66":13504,"44":206,"85":12288,"24":45,"16":127999805061332992,"45":8868080272186312704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-04 07:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852265472001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:02:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-04 07:02:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127999805061332992,"km_value":127999805061332.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868080272186312704,"description":"Unknown IO ID 45"} 
[2026-09-04 07:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852265472001,"power":13504,"unknown_44":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":8868080272186312704}} 
[2026-09-04 07:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":170754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:02:16] local.INFO: GPS data processed {"connection_id":170754,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:02:16] local.INFO: Acknowledgment sent {"connection_id":170754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:02:37] local.INFO: TCP Data received {"connection_id":171854,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:02:37] local.INFO: Processing buffer {"connection_id":171854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:02:37] local.INFO: Packet analysis {"connection_id":171854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:02:37] local.INFO: Extracted packet for processing {"connection_id":171854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:02:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852190208001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788485419000,"timestamp_ms":1788485419000,"timestamp_seconds":1788485419,"priority":1,"record_length":96,"hex_timestamp":"000001a06a09bff8"} 
[2026-09-04 07:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852190208001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852190208001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:02:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:02:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852190208001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":171854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:02:37] local.INFO: GPS data processed {"connection_id":171854,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:02:37] local.INFO: Acknowledgment sent {"connection_id":171854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:02:46] local.INFO: TCP Data received {"connection_id":170754,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a09e320012d7b594005bf55300003005817..."} 
[2026-09-04 07:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a09e320012d7b594005bf55300003005817..."} 
[2026-09-04 07:02:46] local.INFO: Processing buffer {"connection_id":170754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a09e320012d7b594005bf55300003005817..."} 
[2026-09-04 07:02:46] local.INFO: Packet analysis {"connection_id":170754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:02:46] local.INFO: Extracted packet for processing {"connection_id":170754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:02:46] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":96425264,"longitude_deg":76.3058496,"latitude_deg":9.6425264,"altitude":3,"angle":88,"satellites":23,"speed":43,"hex_longitude":"2d7b5940","hex_latitude":"05bf5530","is_valid_coordinates":true} 
[2026-09-04 07:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852267520001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128000243147997184,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878143002603923456,"note":"Value kept but may cause issues"} 
[2026-09-04 07:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788485428000,"timestamp_ms":1788485428000,"timestamp_seconds":1788485428,"priority":1,"record_length":96,"hex_timestamp":"000001a06a09e320"} 
[2026-09-04 07:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-04 07:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":170754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":170754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":170754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852267520001,"66":13656,"44":206,"85":12288,"24":43,"16":128000243147997184,"45":8878143002603923456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-04 07:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852267520001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:02:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-04 07:02:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128000243147997184,"km_value":128000243147997.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878143002603923456,"description":"Unknown IO ID 45"} 
[2026-09-04 07:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852267520001,"power":13656,"unknown_44":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":8878143002603923456}} 
[2026-09-04 07:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":170754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:02:46] local.INFO: GPS data processed {"connection_id":170754,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:02:46] local.INFO: Acknowledgment sent {"connection_id":170754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:03:00] local.INFO: TCP Data received {"connection_id":170449,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:03:00] local.INFO: Processing buffer {"connection_id":170449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:03:00] local.INFO: IMEI packet received {"connection_id":170449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":170449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:03:05] local.INFO: TCP Data received {"connection_id":170449,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:03:05] local.INFO: Processing buffer {"connection_id":170449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:03:05] local.INFO: IMEI packet received {"connection_id":170449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":170449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:03:06] local.INFO: TCP Data received {"connection_id":170449,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:03:06] local.INFO: Processing buffer {"connection_id":170449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:03:06] local.INFO: Packet analysis {"connection_id":170449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:03:06] local.INFO: Extracted packet for processing {"connection_id":170449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:03:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852190208001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:03:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788485419000,"timestamp_ms":1788485419000,"timestamp_seconds":1788485419,"priority":1,"record_length":96,"hex_timestamp":"000001a06a09bff8"} 
[2026-09-04 07:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852190208001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852190208001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:03:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:03:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852190208001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":170449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:03:06] local.INFO: GPS data processed {"connection_id":170449,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:03:06] local.INFO: Acknowledgment sent {"connection_id":170449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:03:10] local.INFO: TCP Data received {"connection_id":171855,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:03:10] local.INFO: Processing buffer {"connection_id":171855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:03:10] local.INFO: IMEI packet received {"connection_id":171855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":171855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:03:16] local.INFO: TCP Data received {"connection_id":171855,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:03:16] local.INFO: Processing buffer {"connection_id":171855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:03:16] local.INFO: IMEI packet received {"connection_id":171855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":171855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:03:22] local.INFO: TCP Data received {"connection_id":171855,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0c3cb0012d7c048005bf76080005004d1b..."} 
[2026-09-04 07:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0c3cb0012d7c048005bf76080005004d1b..."} 
[2026-09-04 07:03:22] local.INFO: Processing buffer {"connection_id":171855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0c3cb0012d7c048005bf76080005004d1b..."} 
[2026-09-04 07:03:22] local.INFO: Packet analysis {"connection_id":171855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a0c"} 
[2026-09-04 07:03:22] local.INFO: Extracted packet for processing {"connection_id":171855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a0c"} 
[2026-09-04 07:03:22] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":96433672,"longitude_deg":76.3102336,"latitude_deg":9.6433672,"altitude":5,"angle":77,"satellites":27,"speed":47,"hex_longitude":"2d7c0480","hex_latitude":"05bf7608","is_valid_coordinates":true} 
[2026-09-04 07:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852306944001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128002394926612480,"note":"Value kept but may cause issues"} 
[2026-09-04 07:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926275223623204864,"note":"Value kept but may cause issues"} 
[2026-09-04 07:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788485582000,"timestamp_ms":1788485582000,"timestamp_seconds":1788485582,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0c3cb0"} 
[2026-09-04 07:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-04 07:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852306944001,"66":13624,"109":206,"85":12288,"24":47,"16":128002394926612480,"45":8926275223623204864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-04 07:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852306944001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:03:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-04 07:03:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128002394926612480,"km_value":128002394926612.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926275223623204864,"description":"Unknown IO ID 45"} 
[2026-09-04 07:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852306944001,"power":13624,"unknown_109":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":8926275223623204864}} 
[2026-09-04 07:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":171855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:03:22] local.INFO: GPS data processed {"connection_id":171855,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:03:22] local.INFO: Acknowledgment sent {"connection_id":171855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:03:37] local.INFO: TCP Data received {"connection_id":170449,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:03:37] local.INFO: Processing buffer {"connection_id":170449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:03:37] local.INFO: Packet analysis {"connection_id":170449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:03:37] local.INFO: Extracted packet for processing {"connection_id":170449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:03:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852190208001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:03:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788485419000,"timestamp_ms":1788485419000,"timestamp_seconds":1788485419,"priority":1,"record_length":96,"hex_timestamp":"000001a06a09bff8"} 
[2026-09-04 07:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852190208001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852190208001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:03:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:03:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852190208001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":170449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:03:37] local.INFO: GPS data processed {"connection_id":170449,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:03:37] local.INFO: Acknowledgment sent {"connection_id":170449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:03:53] local.INFO: TCP Data received {"connection_id":171855,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0c4c50012d7c18c005bf78a00005005a1c..."} 
[2026-09-04 07:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0c4c50012d7c18c005bf78a00005005a1c..."} 
[2026-09-04 07:03:53] local.INFO: Processing buffer {"connection_id":171855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0c4c50012d7c18c005bf78a00005005a1c..."} 
[2026-09-04 07:03:53] local.INFO: Packet analysis {"connection_id":171855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a0c"} 
[2026-09-04 07:03:53] local.INFO: Extracted packet for processing {"connection_id":171855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a0c"} 
[2026-09-04 07:03:53] local.INFO: GPS Element Parsed {"raw_longitude":763107520,"raw_latitude":96434336,"longitude_deg":76.310752,"latitude_deg":9.6434336,"altitude":5,"angle":90,"satellites":28,"speed":50,"hex_longitude":"2d7c18c0","hex_latitude":"05bf78a0","is_valid_coordinates":true} 
[2026-09-04 07:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852308992001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128002644034715648,"note":"Value kept but may cause issues"} 
[2026-09-04 07:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408322785282048,"note":"Value kept but may cause issues"} 
[2026-09-04 07:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788485586000,"timestamp_ms":1788485586000,"timestamp_seconds":1788485586,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0c4c50"} 
[2026-09-04 07:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-04 07:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852308992001,"66":13580,"109":206,"85":12288,"24":50,"16":128002644034715648,"45":8936408322785282048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-04 07:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852308992001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:03:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-04 07:03:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128002644034715648,"km_value":128002644034715.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408322785282048,"description":"Unknown IO ID 45"} 
[2026-09-04 07:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852308992001,"power":13580,"unknown_109":206,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":8936408322785282048}} 
[2026-09-04 07:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":171855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:03:53] local.INFO: GPS data processed {"connection_id":171855,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:03:53] local.INFO: Acknowledgment sent {"connection_id":171855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:04:05] local.INFO: TCP Data received {"connection_id":170450,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:04:05] local.INFO: Processing buffer {"connection_id":170450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:04:05] local.INFO: IMEI packet received {"connection_id":170450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":170450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:04:09] local.INFO: TCP Data received {"connection_id":173151,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:04:09] local.INFO: Processing buffer {"connection_id":173151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:04:09] local.INFO: IMEI packet received {"connection_id":173151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":173151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:04:10] local.INFO: TCP Data received {"connection_id":170450,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:04:10] local.INFO: Processing buffer {"connection_id":170450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:04:10] local.INFO: IMEI packet received {"connection_id":170450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":170450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:04:10] local.INFO: TCP Data received {"connection_id":173151,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:04:10] local.INFO: Processing buffer {"connection_id":173151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:04:10] local.INFO: IMEI packet received {"connection_id":173151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":173151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:04:10] local.INFO: TCP Data received {"connection_id":173151,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:04:10] local.INFO: Processing buffer {"connection_id":173151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:04:10] local.INFO: IMEI packet received {"connection_id":173151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":173151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:04:11] local.INFO: TCP Data received {"connection_id":170450,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:04:11] local.INFO: Processing buffer {"connection_id":170450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:04:11] local.INFO: Packet analysis {"connection_id":170450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:04:11] local.INFO: Extracted packet for processing {"connection_id":170450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:04:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852190208001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788485419000,"timestamp_ms":1788485419000,"timestamp_seconds":1788485419,"priority":1,"record_length":96,"hex_timestamp":"000001a06a09bff8"} 
[2026-09-04 07:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852190208001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852190208001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:04:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:04:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852190208001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":170450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:04:11] local.INFO: GPS data processed {"connection_id":170450,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:04:11] local.INFO: Acknowledgment sent {"connection_id":170450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:04:13] local.INFO: TCP Data received {"connection_id":173151,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:04:13] local.INFO: Processing buffer {"connection_id":173151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:04:13] local.INFO: IMEI packet received {"connection_id":173151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":173151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:04:15] local.INFO: TCP Data received {"connection_id":170450,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:04:15] local.INFO: Processing buffer {"connection_id":170450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:04:15] local.INFO: Packet analysis {"connection_id":170450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:04:15] local.INFO: Extracted packet for processing {"connection_id":170450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:04:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852190208001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:04:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788485419000,"timestamp_ms":1788485419000,"timestamp_seconds":1788485419,"priority":1,"record_length":96,"hex_timestamp":"000001a06a09bff8"} 
[2026-09-04 07:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852190208001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852190208001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:04:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:04:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852190208001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":170450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:04:15] local.INFO: GPS data processed {"connection_id":170450,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:04:15] local.INFO: Acknowledgment sent {"connection_id":170450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:05:00] local.INFO: TCP Data received {"connection_id":171856,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:05:00] local.INFO: Processing buffer {"connection_id":171856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:05:00] local.INFO: IMEI packet received {"connection_id":171856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":171856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:05:05] local.INFO: TCP Data received {"connection_id":171856,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:05:05] local.INFO: Processing buffer {"connection_id":171856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:05:05] local.INFO: IMEI packet received {"connection_id":171856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":171856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:05:06] local.INFO: TCP Data received {"connection_id":171856,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:05:06] local.INFO: Processing buffer {"connection_id":171856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:05:06] local.INFO: Packet analysis {"connection_id":171856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:05:06] local.INFO: Extracted packet for processing {"connection_id":171856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:05:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852190208001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:05:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788485419000,"timestamp_ms":1788485419000,"timestamp_seconds":1788485419,"priority":1,"record_length":96,"hex_timestamp":"000001a06a09bff8"} 
[2026-09-04 07:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852190208001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852190208001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:05:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:05:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852190208001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":171856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:05:06] local.INFO: GPS data processed {"connection_id":171856,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:05:06] local.INFO: Acknowledgment sent {"connection_id":171856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:05:37] local.INFO: TCP Data received {"connection_id":171856,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:05:37] local.INFO: Processing buffer {"connection_id":171856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a09bff8012cee7040072e2b900035006222..."} 
[2026-09-04 07:05:37] local.INFO: Packet analysis {"connection_id":171856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:05:37] local.INFO: Extracted packet for processing {"connection_id":171856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a09"} 
[2026-09-04 07:05:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852190208001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:05:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788485419000,"timestamp_ms":1788485419000,"timestamp_seconds":1788485419,"priority":1,"record_length":96,"hex_timestamp":"000001a06a09bff8"} 
[2026-09-04 07:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852190208001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852190208001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:05:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:05:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852190208001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":171856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:05:37] local.INFO: GPS data processed {"connection_id":171856,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:05:37] local.INFO: Acknowledgment sent {"connection_id":171856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:05:58] local.INFO: TCP Data received {"connection_id":170452,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:05:58] local.INFO: Processing buffer {"connection_id":170452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:05:58] local.INFO: IMEI packet received {"connection_id":170452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":170452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:06:00] local.INFO: TCP Data received {"connection_id":170452,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:06:00] local.INFO: Processing buffer {"connection_id":170452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:06:00] local.INFO: IMEI packet received {"connection_id":170452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":170452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:06:05] local.INFO: TCP Data received {"connection_id":170452,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:06:05] local.INFO: Processing buffer {"connection_id":170452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:06:05] local.INFO: IMEI packet received {"connection_id":170452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":170452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:06:06] local.INFO: TCP Data received {"connection_id":170452,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:06:06] local.INFO: Processing buffer {"connection_id":170452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:06:06] local.INFO: Packet analysis {"connection_id":170452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:06:06] local.INFO: Extracted packet for processing {"connection_id":170452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:06:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852267264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788485720000,"timestamp_ms":1788485720000,"timestamp_seconds":1788485720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0e57c0"} 
[2026-09-04 07:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852267264001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852267264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:06:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852267264001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":170452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:06:06] local.INFO: GPS data processed {"connection_id":170452,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:06:06] local.INFO: Acknowledgment sent {"connection_id":170452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:06:37] local.INFO: TCP Data received {"connection_id":170452,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:06:37] local.INFO: Processing buffer {"connection_id":170452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:06:37] local.INFO: Packet analysis {"connection_id":170452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:06:37] local.INFO: Extracted packet for processing {"connection_id":170452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:06:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852267264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:06:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788485720000,"timestamp_ms":1788485720000,"timestamp_seconds":1788485720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0e57c0"} 
[2026-09-04 07:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852267264001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852267264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:06:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:06:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852267264001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":170452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:06:37] local.INFO: GPS data processed {"connection_id":170452,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:06:37] local.INFO: Acknowledgment sent {"connection_id":170452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:07:00] local.INFO: TCP Data received {"connection_id":171857,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:07:00] local.INFO: Processing buffer {"connection_id":171857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:07:00] local.INFO: IMEI packet received {"connection_id":171857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":171857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:07:05] local.INFO: TCP Data received {"connection_id":171857,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:07:05] local.INFO: Processing buffer {"connection_id":171857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:07:05] local.INFO: IMEI packet received {"connection_id":171857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":171857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:07:06] local.INFO: TCP Data received {"connection_id":171857,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:07:06] local.INFO: Processing buffer {"connection_id":171857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:07:06] local.INFO: Packet analysis {"connection_id":171857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:07:06] local.INFO: Extracted packet for processing {"connection_id":171857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:07:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852267264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:07:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788485720000,"timestamp_ms":1788485720000,"timestamp_seconds":1788485720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0e57c0"} 
[2026-09-04 07:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852267264001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852267264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:07:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:07:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852267264001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":171857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:07:06] local.INFO: GPS data processed {"connection_id":171857,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:07:06] local.INFO: Acknowledgment sent {"connection_id":171857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:07:37] local.INFO: TCP Data received {"connection_id":171857,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:07:37] local.INFO: Processing buffer {"connection_id":171857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:07:37] local.INFO: Packet analysis {"connection_id":171857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:07:37] local.INFO: Extracted packet for processing {"connection_id":171857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:07:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852267264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:07:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788485720000,"timestamp_ms":1788485720000,"timestamp_seconds":1788485720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0e57c0"} 
[2026-09-04 07:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852267264001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852267264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:07:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:07:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852267264001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":171857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:07:37] local.INFO: GPS data processed {"connection_id":171857,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:07:37] local.INFO: Acknowledgment sent {"connection_id":171857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:08:00] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:08:00] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:08:00] local.INFO: IMEI packet received {"connection_id":173153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":173153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:08:05] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:08:05] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:08:05] local.INFO: IMEI packet received {"connection_id":173153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":173153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:08:06] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:08:06] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:08:06] local.INFO: Packet analysis {"connection_id":173153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:08:06] local.INFO: Extracted packet for processing {"connection_id":173153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:08:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852267264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:08:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788485720000,"timestamp_ms":1788485720000,"timestamp_seconds":1788485720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0e57c0"} 
[2026-09-04 07:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852267264001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852267264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:08:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:08:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852267264001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":173153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:08:06] local.INFO: GPS data processed {"connection_id":173153,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:08:06] local.INFO: Acknowledgment sent {"connection_id":173153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:08:37] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:08:37] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:08:37] local.INFO: Packet analysis {"connection_id":173153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:08:37] local.INFO: Extracted packet for processing {"connection_id":173153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:08:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852267264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:08:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788485720000,"timestamp_ms":1788485720000,"timestamp_seconds":1788485720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0e57c0"} 
[2026-09-04 07:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852267264001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852267264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:08:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:08:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852267264001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":173153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:08:37] local.INFO: GPS data processed {"connection_id":173153,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:08:37] local.INFO: Acknowledgment sent {"connection_id":173153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:09:05] local.INFO: TCP Data received {"connection_id":171858,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:09:05] local.INFO: Processing buffer {"connection_id":171858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:09:05] local.INFO: IMEI packet received {"connection_id":171858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":171858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:09:10] local.INFO: TCP Data received {"connection_id":171858,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:09:10] local.INFO: Processing buffer {"connection_id":171858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:09:10] local.INFO: IMEI packet received {"connection_id":171858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":171858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:09:11] local.INFO: TCP Data received {"connection_id":171858,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:09:11] local.INFO: Processing buffer {"connection_id":171858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:09:11] local.INFO: Packet analysis {"connection_id":171858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:09:11] local.INFO: Extracted packet for processing {"connection_id":171858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:09:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852267264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788485720000,"timestamp_ms":1788485720000,"timestamp_seconds":1788485720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0e57c0"} 
[2026-09-04 07:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852267264001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852267264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:09:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:09:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852267264001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":171858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:09:11] local.INFO: GPS data processed {"connection_id":171858,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:09:11] local.INFO: Acknowledgment sent {"connection_id":171858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:09:15] local.INFO: TCP Data received {"connection_id":170756,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:09:15] local.INFO: Processing buffer {"connection_id":170756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:09:15] local.INFO: IMEI packet received {"connection_id":170756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":170756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:09:15] local.INFO: TCP Data received {"connection_id":171858,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:09:15] local.INFO: Processing buffer {"connection_id":171858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:09:15] local.INFO: Packet analysis {"connection_id":171858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:09:15] local.INFO: Extracted packet for processing {"connection_id":171858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:09:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852267264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:09:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788485720000,"timestamp_ms":1788485720000,"timestamp_seconds":1788485720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0e57c0"} 
[2026-09-04 07:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852267264001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852267264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:09:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:09:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852267264001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":171858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:09:15] local.INFO: GPS data processed {"connection_id":171858,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:09:15] local.INFO: Acknowledgment sent {"connection_id":171858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:09:16] local.INFO: TCP Data received {"connection_id":170756,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a119bb0012d7d458005c25968000a00071c..."} 
[2026-09-04 07:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a119bb0012d7d458005c25968000a00071c..."} 
[2026-09-04 07:09:16] local.INFO: Processing buffer {"connection_id":170756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a119bb0012d7d458005c25968000a00071c..."} 
[2026-09-04 07:09:16] local.INFO: Packet analysis {"connection_id":170756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a11"} 
[2026-09-04 07:09:16] local.INFO: Extracted packet for processing {"connection_id":170756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a11"} 
[2026-09-04 07:09:16] local.INFO: GPS Element Parsed {"raw_longitude":763184512,"raw_latitude":96622952,"longitude_deg":76.3184512,"latitude_deg":9.6622952,"altitude":10,"angle":7,"satellites":28,"speed":43,"hex_longitude":"2d7d4580","hex_latitude":"05c25968","is_valid_coordinates":true} 
[2026-09-04 07:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852396032001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128014970590855168,"note":"Value kept but may cause issues"} 
[2026-09-04 07:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495152960137216,"note":"Value kept but may cause issues"} 
[2026-09-04 07:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788485934000,"timestamp_ms":1788485934000,"timestamp_seconds":1788485934,"priority":1,"record_length":96,"hex_timestamp":"000001a06a119bb0"} 
[2026-09-04 07:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 07:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852396032001,"66":13656,"9":206,"85":12288,"24":43,"16":128014970590855168,"45":9025495152960137216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-04 07:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852396032001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:09:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-04 07:09:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128014970590855168,"km_value":128014970590855.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495152960137216,"description":"Unknown IO ID 45"} 
[2026-09-04 07:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852396032001,"power":13656,"unknown_9":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9025495152960137216}} 
[2026-09-04 07:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":170756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:09:16] local.INFO: GPS data processed {"connection_id":170756,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:09:16] local.INFO: Acknowledgment sent {"connection_id":170756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:09:47] local.INFO: TCP Data received {"connection_id":170756,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a11baf0012d7d4bc005c27e28000b00091b..."} 
[2026-09-04 07:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a11baf0012d7d4bc005c27e28000b00091b..."} 
[2026-09-04 07:09:47] local.INFO: Processing buffer {"connection_id":170756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a11baf0012d7d4bc005c27e28000b00091b..."} 
[2026-09-04 07:09:47] local.INFO: Packet analysis {"connection_id":170756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a11"} 
[2026-09-04 07:09:47] local.INFO: Extracted packet for processing {"connection_id":170756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a11"} 
[2026-09-04 07:09:47] local.INFO: GPS Element Parsed {"raw_longitude":763186112,"raw_latitude":96632360,"longitude_deg":76.3186112,"latitude_deg":9.663236,"altitude":11,"angle":9,"satellites":27,"speed":52,"hex_longitude":"2d7d4bc0","hex_latitude":"05c27e28","is_valid_coordinates":true} 
[2026-09-04 07:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852399104001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128015430152355840,"note":"Value kept but may cause issues"} 
[2026-09-04 07:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026761790357858304,"note":"Value kept but may cause issues"} 
[2026-09-04 07:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788485942000,"timestamp_ms":1788485942000,"timestamp_seconds":1788485942,"priority":1,"record_length":96,"hex_timestamp":"000001a06a11baf0"} 
[2026-09-04 07:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-04 07:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852399104001,"66":13656,"9":206,"85":12288,"24":52,"16":128015430152355840,"45":9026761790357858304},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-04 07:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852399104001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:09:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-04 07:09:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128015430152355840,"km_value":128015430152355.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026761790357858304,"description":"Unknown IO ID 45"} 
[2026-09-04 07:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852399104001,"power":13656,"unknown_9":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":9026761790357858304}} 
[2026-09-04 07:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":170756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:09:47] local.INFO: GPS data processed {"connection_id":170756,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:09:47] local.INFO: Acknowledgment sent {"connection_id":170756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:10:00] local.INFO: TCP Data received {"connection_id":170757,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:10:00] local.INFO: Processing buffer {"connection_id":170757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:10:00] local.INFO: IMEI packet received {"connection_id":170757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":170757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:10:05] local.INFO: TCP Data received {"connection_id":170757,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:10:05] local.INFO: Processing buffer {"connection_id":170757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:10:05] local.INFO: IMEI packet received {"connection_id":170757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":170757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:10:06] local.INFO: TCP Data received {"connection_id":170757,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:10:06] local.INFO: Processing buffer {"connection_id":170757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:10:06] local.INFO: Packet analysis {"connection_id":170757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:10:06] local.INFO: Extracted packet for processing {"connection_id":170757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:10:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852267264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:10:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788485720000,"timestamp_ms":1788485720000,"timestamp_seconds":1788485720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0e57c0"} 
[2026-09-04 07:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852267264001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852267264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:10:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:10:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852267264001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":170757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:10:06] local.INFO: GPS data processed {"connection_id":170757,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:10:06] local.INFO: Acknowledgment sent {"connection_id":170757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:10:10] local.INFO: TCP Data received {"connection_id":170455,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:10:10] local.INFO: Processing buffer {"connection_id":170455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:10:10] local.INFO: IMEI packet received {"connection_id":170455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":170455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:10:12] local.INFO: TCP Data received {"connection_id":170455,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:10:12] local.INFO: Processing buffer {"connection_id":170455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:10:12] local.INFO: IMEI packet received {"connection_id":170455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":170455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:10:15] local.INFO: TCP Data received {"connection_id":170455,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:10:15] local.INFO: Processing buffer {"connection_id":170455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:10:15] local.INFO: IMEI packet received {"connection_id":170455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":170455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:10:16] local.INFO: TCP Data received {"connection_id":170455,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a11d648012d7d520005c2a358000e00091c..."} 
[2026-09-04 07:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a11d648012d7d520005c2a358000e00091c..."} 
[2026-09-04 07:10:16] local.INFO: Processing buffer {"connection_id":170455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a11d648012d7d520005c2a358000e00091c..."} 
[2026-09-04 07:10:16] local.INFO: Packet analysis {"connection_id":170455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a11"} 
[2026-09-04 07:10:16] local.INFO: Extracted packet for processing {"connection_id":170455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a11"} 
[2026-09-04 07:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763187712,"raw_latitude":96641880,"longitude_deg":76.3187712,"latitude_deg":9.664188,"altitude":14,"angle":9,"satellites":28,"speed":52,"hex_longitude":"2d7d5200","hex_latitude":"05c2a358","is_valid_coordinates":true} 
[2026-09-04 07:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852401152001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128015898303791104,"note":"Value kept but may cause issues"} 
[2026-09-04 07:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028521008964708352,"note":"Value kept but may cause issues"} 
[2026-09-04 07:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788485949000,"timestamp_ms":1788485949000,"timestamp_seconds":1788485949,"priority":1,"record_length":96,"hex_timestamp":"000001a06a11d648"} 
[2026-09-04 07:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-04 07:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852401152001,"66":13504,"9":206,"85":12288,"24":52,"16":128015898303791104,"45":9028521008964708352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-04 07:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852401152001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:10:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-04 07:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128015898303791104,"km_value":128015898303791.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028521008964708352,"description":"Unknown IO ID 45"} 
[2026-09-04 07:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852401152001,"power":13504,"unknown_9":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":9028521008964708352}} 
[2026-09-04 07:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":170455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:10:16] local.INFO: GPS data processed {"connection_id":170455,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:10:16] local.INFO: Acknowledgment sent {"connection_id":170455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:10:37] local.INFO: TCP Data received {"connection_id":170757,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:10:37] local.INFO: Processing buffer {"connection_id":170757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a0e57c0012cee7040072e2b900035006223..."} 
[2026-09-04 07:10:37] local.INFO: Packet analysis {"connection_id":170757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:10:37] local.INFO: Extracted packet for processing {"connection_id":170757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a0e"} 
[2026-09-04 07:10:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852267264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:10:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788485720000,"timestamp_ms":1788485720000,"timestamp_seconds":1788485720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a0e57c0"} 
[2026-09-04 07:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852267264001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852267264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:10:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:10:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852267264001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":170757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:10:37] local.INFO: GPS data processed {"connection_id":170757,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:10:37] local.INFO: Acknowledgment sent {"connection_id":170757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:10:47] local.INFO: TCP Data received {"connection_id":170455,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a11f1a0012d7d54c005c2c4c8001001651c..."} 
[2026-09-04 07:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a11f1a0012d7d54c005c2c4c8001001651c..."} 
[2026-09-04 07:10:47] local.INFO: Processing buffer {"connection_id":170455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a11f1a0012d7d54c005c2c4c8001001651c..."} 
[2026-09-04 07:10:47] local.INFO: Packet analysis {"connection_id":170455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a11"} 
[2026-09-04 07:10:47] local.INFO: Extracted packet for processing {"connection_id":170455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a11"} 
[2026-09-04 07:10:47] local.INFO: GPS Element Parsed {"raw_longitude":763188416,"raw_latitude":96650440,"longitude_deg":76.3188416,"latitude_deg":9.665044,"altitude":16,"angle":357,"satellites":28,"speed":47,"hex_longitude":"2d7d54c0","hex_latitude":"05c2c4c8","is_valid_coordinates":true} 
[2026-09-04 07:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852402944001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128016314915618816,"note":"Value kept but may cause issues"} 
[2026-09-04 07:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030280227571587072,"note":"Value kept but may cause issues"} 
[2026-09-04 07:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788485956000,"timestamp_ms":1788485956000,"timestamp_seconds":1788485956,"priority":1,"record_length":96,"hex_timestamp":"000001a06a11f1a0"} 
[2026-09-04 07:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-04 07:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852402944001,"66":13526,"9":206,"85":12288,"24":47,"16":128016314915618816,"45":9030280227571587072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-04 07:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852402944001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:10:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-04 07:10:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128016314915618816,"km_value":128016314915618.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030280227571587072,"description":"Unknown IO ID 45"} 
[2026-09-04 07:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852402944001,"power":13526,"unknown_9":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9030280227571587072}} 
[2026-09-04 07:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":170455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:10:48] local.INFO: GPS data processed {"connection_id":170455,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:10:48] local.INFO: Acknowledgment sent {"connection_id":170455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:10:59] local.INFO: TCP Data received {"connection_id":173154,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:10:59] local.INFO: Processing buffer {"connection_id":173154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:10:59] local.INFO: IMEI packet received {"connection_id":173154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":173154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:11:00] local.INFO: TCP Data received {"connection_id":173154,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:11:00] local.INFO: Processing buffer {"connection_id":173154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:11:00] local.INFO: IMEI packet received {"connection_id":173154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":173154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:11:05] local.INFO: TCP Data received {"connection_id":173154,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:11:05] local.INFO: Processing buffer {"connection_id":173154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:11:05] local.INFO: IMEI packet received {"connection_id":173154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":173154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:11:06] local.INFO: TCP Data received {"connection_id":173154,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:11:06] local.INFO: Processing buffer {"connection_id":173154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:11:06] local.INFO: Packet analysis {"connection_id":173154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:11:06] local.INFO: Extracted packet for processing {"connection_id":173154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:11:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":33,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852344320001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486021000,"timestamp_ms":1788486021000,"timestamp_seconds":1788486021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a12ef88"} 
[2026-09-04 07:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 07:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852344320001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852344320001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:11:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852344320001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":173154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:11:06] local.INFO: GPS data processed {"connection_id":173154,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:11:06] local.INFO: Acknowledgment sent {"connection_id":173154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:11:13] local.INFO: TCP Data received {"connection_id":170758,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:11:13] local.INFO: Processing buffer {"connection_id":170758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:11:13] local.INFO: IMEI packet received {"connection_id":170758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":170758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:11:15] local.INFO: TCP Data received {"connection_id":170758,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:11:15] local.INFO: Processing buffer {"connection_id":170758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:11:15] local.INFO: IMEI packet received {"connection_id":170758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":170758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:11:20] local.INFO: TCP Data received {"connection_id":170758,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:11:20] local.INFO: Processing buffer {"connection_id":170758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:11:20] local.INFO: IMEI packet received {"connection_id":170758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":170758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:11:21] local.INFO: TCP Data received {"connection_id":170758,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a139b68012d7d3f0005c3f188000d01671b..."} 
[2026-09-04 07:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a139b68012d7d3f0005c3f188000d01671b..."} 
[2026-09-04 07:11:21] local.INFO: Processing buffer {"connection_id":170758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a139b68012d7d3f0005c3f188000d01671b..."} 
[2026-09-04 07:11:21] local.INFO: Packet analysis {"connection_id":170758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a13"} 
[2026-09-04 07:11:21] local.INFO: Extracted packet for processing {"connection_id":170758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a13"} 
[2026-09-04 07:11:21] local.INFO: GPS Element Parsed {"raw_longitude":763182848,"raw_latitude":96727432,"longitude_deg":76.3182848,"latitude_deg":9.6727432,"altitude":13,"angle":359,"satellites":27,"speed":51,"hex_longitude":"2d7d3f00","hex_latitude":"05c3f188","is_valid_coordinates":true} 
[2026-09-04 07:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852430848001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128020098781806592,"note":"Value kept but may cause issues"} 
[2026-09-04 07:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026761790382168064,"note":"Value kept but may cause issues"} 
[2026-09-04 07:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788486065000,"timestamp_ms":1788486065000,"timestamp_seconds":1788486065,"priority":1,"record_length":96,"hex_timestamp":"000001a06a139b68"} 
[2026-09-04 07:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-04 07:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":170758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":170758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":170758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852430848001,"66":13678,"104":206,"85":12288,"24":51,"16":128020098781806592,"45":9026761790382168064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-04 07:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852430848001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:11:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 07:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128020098781806592,"km_value":128020098781806.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026761790382168064,"description":"Unknown IO ID 45"} 
[2026-09-04 07:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852430848001,"power":13678,"unknown_104":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":9026761790382168064}} 
[2026-09-04 07:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":170758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:11:21] local.INFO: GPS data processed {"connection_id":170758,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:11:21] local.INFO: Acknowledgment sent {"connection_id":170758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:11:37] local.INFO: TCP Data received {"connection_id":173154,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:11:37] local.INFO: Processing buffer {"connection_id":173154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:11:37] local.INFO: Packet analysis {"connection_id":173154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:11:37] local.INFO: Extracted packet for processing {"connection_id":173154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:11:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":33,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852344320001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486021000,"timestamp_ms":1788486021000,"timestamp_seconds":1788486021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a12ef88"} 
[2026-09-04 07:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 07:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852344320001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852344320001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:11:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852344320001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":173154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:11:37] local.INFO: GPS data processed {"connection_id":173154,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:11:37] local.INFO: Acknowledgment sent {"connection_id":173154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:11:52] local.INFO: TCP Data received {"connection_id":170758,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a139b68012d7d3f0005c3f188000d01671b..."} 
[2026-09-04 07:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a139b68012d7d3f0005c3f188000d01671b..."} 
[2026-09-04 07:11:52] local.INFO: Processing buffer {"connection_id":170758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a139b68012d7d3f0005c3f188000d01671b..."} 
[2026-09-04 07:11:52] local.INFO: Packet analysis {"connection_id":170758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a13"} 
[2026-09-04 07:11:52] local.INFO: Extracted packet for processing {"connection_id":170758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a13"} 
[2026-09-04 07:11:52] local.INFO: GPS Element Parsed {"raw_longitude":763182848,"raw_latitude":96727432,"longitude_deg":76.3182848,"latitude_deg":9.6727432,"altitude":13,"angle":359,"satellites":27,"speed":51,"hex_longitude":"2d7d3f00","hex_latitude":"05c3f188","is_valid_coordinates":true} 
[2026-09-04 07:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852432640001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128020098781806592,"note":"Value kept but may cause issues"} 
[2026-09-04 07:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203035985920,"note":"Value kept but may cause issues"} 
[2026-09-04 07:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788486065000,"timestamp_ms":1788486065000,"timestamp_seconds":1788486065,"priority":1,"record_length":96,"hex_timestamp":"000001a06a139b68"} 
[2026-09-04 07:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 07:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":170758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":170758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":170758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852432640001,"66":13678,"104":206,"85":12288,"24":51,"16":128020098781806592,"45":9024932203035985920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-04 07:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852432640001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:11:52] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 07:11:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128020098781806592,"km_value":128020098781806.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203035985920,"description":"Unknown IO ID 45"} 
[2026-09-04 07:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852432640001,"power":13678,"unknown_104":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":9024932203035985920}} 
[2026-09-04 07:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":170758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:11:52] local.INFO: GPS data processed {"connection_id":170758,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:11:52] local.INFO: Acknowledgment sent {"connection_id":170758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:12:00] local.INFO: TCP Data received {"connection_id":170457,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:12:00] local.INFO: Processing buffer {"connection_id":170457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:12:00] local.INFO: IMEI packet received {"connection_id":170457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":170457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:12:05] local.INFO: TCP Data received {"connection_id":170457,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:12:05] local.INFO: Processing buffer {"connection_id":170457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:12:05] local.INFO: IMEI packet received {"connection_id":170457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":170457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:12:06] local.INFO: TCP Data received {"connection_id":170457,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:12:06] local.INFO: Processing buffer {"connection_id":170457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:12:06] local.INFO: Packet analysis {"connection_id":170457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:12:06] local.INFO: Extracted packet for processing {"connection_id":170457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:12:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":33,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852344320001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:12:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486021000,"timestamp_ms":1788486021000,"timestamp_seconds":1788486021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a12ef88"} 
[2026-09-04 07:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 07:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852344320001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852344320001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:12:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:12:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852344320001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":170457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:12:06] local.INFO: GPS data processed {"connection_id":170457,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:12:06] local.INFO: Acknowledgment sent {"connection_id":170457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:12:10] local.INFO: TCP Data received {"connection_id":171859,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:12:10] local.INFO: Processing buffer {"connection_id":171859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:12:10] local.INFO: IMEI packet received {"connection_id":171859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":171859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:12:15] local.INFO: TCP Data received {"connection_id":171859,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:12:15] local.INFO: Processing buffer {"connection_id":171859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:12:15] local.INFO: IMEI packet received {"connection_id":171859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":171859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:12:16] local.INFO: TCP Data received {"connection_id":171859,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a13b6c0012d7d424005c41768000d00051c..."} 
[2026-09-04 07:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a13b6c0012d7d424005c41768000d00051c..."} 
[2026-09-04 07:12:16] local.INFO: Processing buffer {"connection_id":171859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a13b6c0012d7d424005c41768000d00051c..."} 
[2026-09-04 07:12:16] local.INFO: Packet analysis {"connection_id":171859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a13"} 
[2026-09-04 07:12:16] local.INFO: Extracted packet for processing {"connection_id":171859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a13"} 
[2026-09-04 07:12:16] local.INFO: GPS Element Parsed {"raw_longitude":763183680,"raw_latitude":96737128,"longitude_deg":76.318368,"latitude_deg":9.6737128,"altitude":13,"angle":5,"satellites":28,"speed":52,"hex_longitude":"2d7d4240","hex_latitude":"05c41768","is_valid_coordinates":true} 
[2026-09-04 07:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852432640001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128020571228209152,"note":"Value kept but may cause issues"} 
[2026-09-04 07:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203035985920,"note":"Value kept but may cause issues"} 
[2026-09-04 07:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788486072000,"timestamp_ms":1788486072000,"timestamp_seconds":1788486072,"priority":1,"record_length":96,"hex_timestamp":"000001a06a13b6c0"} 
[2026-09-04 07:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 07:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852432640001,"66":13526,"104":206,"85":12288,"24":52,"16":128020571228209152,"45":9024932203035985920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-04 07:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852432640001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:12:16] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 07:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128020571228209152,"km_value":128020571228209.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203035985920,"description":"Unknown IO ID 45"} 
[2026-09-04 07:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852432640001,"power":13526,"unknown_104":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":9024932203035985920}} 
[2026-09-04 07:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":171859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:12:16] local.INFO: GPS data processed {"connection_id":171859,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:12:16] local.INFO: Acknowledgment sent {"connection_id":171859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:12:37] local.INFO: TCP Data received {"connection_id":170457,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:12:37] local.INFO: Processing buffer {"connection_id":170457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:12:37] local.INFO: Packet analysis {"connection_id":170457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:12:37] local.INFO: Extracted packet for processing {"connection_id":170457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:12:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":33,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852344320001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:12:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486021000,"timestamp_ms":1788486021000,"timestamp_seconds":1788486021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a12ef88"} 
[2026-09-04 07:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 07:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852344320001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852344320001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:12:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:12:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852344320001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":170457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:12:37] local.INFO: GPS data processed {"connection_id":170457,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:12:37] local.INFO: Acknowledgment sent {"connection_id":170457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:12:47] local.INFO: TCP Data received {"connection_id":171859,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a13d600012d7d430005c43ca8000e00001c..."} 
[2026-09-04 07:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a13d600012d7d430005c43ca8000e00001c..."} 
[2026-09-04 07:12:47] local.INFO: Processing buffer {"connection_id":171859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a13d600012d7d430005c43ca8000e00001c..."} 
[2026-09-04 07:12:47] local.INFO: Packet analysis {"connection_id":171859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a13"} 
[2026-09-04 07:12:47] local.INFO: Extracted packet for processing {"connection_id":171859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a13"} 
[2026-09-04 07:12:47] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":96746664,"longitude_deg":76.3183872,"latitude_deg":9.6746664,"altitude":14,"angle":0,"satellites":28,"speed":41,"hex_longitude":"2d7d4300","hex_latitude":"05c43ca8","is_valid_coordinates":true} 
[2026-09-04 07:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852434432001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128021035084677120,"note":"Value kept but may cause issues"} 
[2026-09-04 07:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996712777728,"note":"Value kept but may cause issues"} 
[2026-09-04 07:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788486080000,"timestamp_ms":1788486080000,"timestamp_seconds":1788486080,"priority":1,"record_length":96,"hex_timestamp":"000001a06a13d600"} 
[2026-09-04 07:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 07:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":171859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":171859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":171859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852434432001,"66":13515,"135":206,"85":12288,"24":41,"16":128021035084677120,"45":9025846996712777728},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-09-04 07:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852434432001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:12:47] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 07:12:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128021035084677120,"km_value":128021035084677.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996712777728,"description":"Unknown IO ID 45"} 
[2026-09-04 07:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852434432001,"power":13515,"unknown_135":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9025846996712777728}} 
[2026-09-04 07:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":171859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:12:47] local.INFO: GPS data processed {"connection_id":171859,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:12:47] local.INFO: Acknowledgment sent {"connection_id":171859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:13:00] local.INFO: TCP Data received {"connection_id":170759,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:13:00] local.INFO: Processing buffer {"connection_id":170759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:13:00] local.INFO: IMEI packet received {"connection_id":170759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":170759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:13:05] local.INFO: TCP Data received {"connection_id":170759,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:13:05] local.INFO: Processing buffer {"connection_id":170759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:13:05] local.INFO: IMEI packet received {"connection_id":170759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":170759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:13:06] local.INFO: TCP Data received {"connection_id":170759,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:13:06] local.INFO: Processing buffer {"connection_id":170759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:13:06] local.INFO: Packet analysis {"connection_id":170759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:13:06] local.INFO: Extracted packet for processing {"connection_id":170759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:13:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":33,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852344320001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:13:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486021000,"timestamp_ms":1788486021000,"timestamp_seconds":1788486021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a12ef88"} 
[2026-09-04 07:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 07:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852344320001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852344320001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:13:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:13:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852344320001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":170759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:13:06] local.INFO: GPS data processed {"connection_id":170759,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:13:06] local.INFO: Acknowledgment sent {"connection_id":170759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:13:10] local.INFO: TCP Data received {"connection_id":170458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:13:10] local.INFO: Processing buffer {"connection_id":170458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:13:10] local.INFO: IMEI packet received {"connection_id":170458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":170458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:13:11] local.INFO: TCP Data received {"connection_id":170458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:13:11] local.INFO: Processing buffer {"connection_id":170458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:13:11] local.INFO: IMEI packet received {"connection_id":170458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":170458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:13:15] local.INFO: TCP Data received {"connection_id":170458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:13:15] local.INFO: Processing buffer {"connection_id":170458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:13:15] local.INFO: IMEI packet received {"connection_id":170458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":170458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:13:16] local.INFO: TCP Data received {"connection_id":170458,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a142808012d7d438005c44dd8000c01661a..."} 
[2026-09-04 07:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a142808012d7d438005c44dd8000c01661a..."} 
[2026-09-04 07:13:16] local.INFO: Processing buffer {"connection_id":170458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a142808012d7d438005c44dd8000c01661a..."} 
[2026-09-04 07:13:16] local.INFO: Packet analysis {"connection_id":170458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a14"} 
[2026-09-04 07:13:16] local.INFO: Extracted packet for processing {"connection_id":170458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a14"} 
[2026-09-04 07:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":96751064,"longitude_deg":76.3184,"latitude_deg":9.6751064,"altitude":12,"angle":358,"satellites":26,"speed":0,"hex_longitude":"2d7d4380","hex_latitude":"05c44dd8","is_valid_coordinates":true} 
[2026-09-04 07:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852436480001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128021267012911104,"note":"Value kept but may cause issues"} 
[2026-09-04 07:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058102947751936,"note":"Value kept but may cause issues"} 
[2026-09-04 07:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788486101000,"timestamp_ms":1788486101000,"timestamp_seconds":1788486101,"priority":1,"record_length":96,"hex_timestamp":"000001a06a142808"} 
[2026-09-04 07:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-04 07:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852436480001,"66":13450,"135":206,"85":12288,"24":0,"16":128021267012911104,"45":9026058102947751936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-09-04 07:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852436480001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:13:16] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 07:13:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128021267012911104,"km_value":128021267012911.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058102947751936,"description":"Unknown IO ID 45"} 
[2026-09-04 07:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852436480001,"power":13450,"unknown_135":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9026058102947751936}} 
[2026-09-04 07:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":170458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:13:16] local.INFO: GPS data processed {"connection_id":170458,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:13:16] local.INFO: Acknowledgment sent {"connection_id":170458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:13:37] local.INFO: TCP Data received {"connection_id":170759,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:13:37] local.INFO: Processing buffer {"connection_id":170759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:13:37] local.INFO: Packet analysis {"connection_id":170759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:13:37] local.INFO: Extracted packet for processing {"connection_id":170759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:13:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":33,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852344320001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:13:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486021000,"timestamp_ms":1788486021000,"timestamp_seconds":1788486021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a12ef88"} 
[2026-09-04 07:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 07:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852344320001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852344320001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:13:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:13:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852344320001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":170759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:13:37] local.INFO: GPS data processed {"connection_id":170759,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:13:37] local.INFO: Acknowledgment sent {"connection_id":170759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:13:47] local.INFO: TCP Data received {"connection_id":170458,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a147a10012d7d438005c44dd8000c016618..."} 
[2026-09-04 07:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a147a10012d7d438005c44dd8000c016618..."} 
[2026-09-04 07:13:47] local.INFO: Processing buffer {"connection_id":170458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a147a10012d7d438005c44dd8000c016618..."} 
[2026-09-04 07:13:47] local.INFO: Packet analysis {"connection_id":170458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a14"} 
[2026-09-04 07:13:47] local.INFO: Extracted packet for processing {"connection_id":170458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a14"} 
[2026-09-04 07:13:47] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":96751064,"longitude_deg":76.3184,"latitude_deg":9.6751064,"altitude":12,"angle":358,"satellites":24,"speed":0,"hex_longitude":"2d7d4380","hex_latitude":"05c44dd8","is_valid_coordinates":true} 
[2026-09-04 07:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852441856001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128021267012911104,"note":"Value kept but may cause issues"} 
[2026-09-04 07:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840437233664,"note":"Value kept but may cause issues"} 
[2026-09-04 07:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788486122000,"timestamp_ms":1788486122000,"timestamp_seconds":1788486122,"priority":1,"record_length":96,"hex_timestamp":"000001a06a147a10"} 
[2026-09-04 07:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 07:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852441856001,"66":13580,"135":206,"85":12288,"24":0,"16":128021267012911104,"45":9026198840437233664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-09-04 07:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852441856001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:13:47] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 07:13:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128021267012911104,"km_value":128021267012911.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840437233664,"description":"Unknown IO ID 45"} 
[2026-09-04 07:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852441856001,"power":13580,"unknown_135":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9026198840437233664}} 
[2026-09-04 07:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":170458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:13:47] local.INFO: GPS data processed {"connection_id":170458,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:13:47] local.INFO: Acknowledgment sent {"connection_id":170458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:14:05] local.INFO: TCP Data received {"connection_id":170760,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:14:05] local.INFO: Processing buffer {"connection_id":170760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:14:05] local.INFO: IMEI packet received {"connection_id":170760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":170760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:14:10] local.INFO: TCP Data received {"connection_id":170760,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:14:10] local.INFO: Processing buffer {"connection_id":170760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:14:10] local.INFO: IMEI packet received {"connection_id":170760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":170760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:14:10] local.INFO: TCP Data received {"connection_id":173155,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:14:10] local.INFO: Processing buffer {"connection_id":173155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:14:10] local.INFO: IMEI packet received {"connection_id":173155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":173155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:14:10] local.INFO: TCP Data received {"connection_id":173155,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:14:10] local.INFO: Processing buffer {"connection_id":173155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:14:10] local.INFO: IMEI packet received {"connection_id":173155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":173155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:14:11] local.INFO: TCP Data received {"connection_id":170760,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:14:11] local.INFO: Processing buffer {"connection_id":170760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:14:11] local.INFO: Packet analysis {"connection_id":170760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:14:11] local.INFO: Extracted packet for processing {"connection_id":170760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:14:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":33,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852344320001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788486021000,"timestamp_ms":1788486021000,"timestamp_seconds":1788486021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a12ef88"} 
[2026-09-04 07:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 07:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852344320001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852344320001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:14:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852344320001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":170760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:14:11] local.INFO: GPS data processed {"connection_id":170760,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:14:11] local.INFO: Acknowledgment sent {"connection_id":170760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:14:15] local.INFO: TCP Data received {"connection_id":170760,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:14:15] local.INFO: Processing buffer {"connection_id":170760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:14:15] local.INFO: Packet analysis {"connection_id":170760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:14:15] local.INFO: Extracted packet for processing {"connection_id":170760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:14:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":33,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852344320001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788486021000,"timestamp_ms":1788486021000,"timestamp_seconds":1788486021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a12ef88"} 
[2026-09-04 07:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 07:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852344320001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852344320001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:14:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:14:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852344320001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":170760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:14:15] local.INFO: GPS data processed {"connection_id":170760,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:14:15] local.INFO: Acknowledgment sent {"connection_id":170760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:14:15] local.INFO: TCP Data received {"connection_id":173155,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:14:15] local.INFO: Processing buffer {"connection_id":173155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:14:15] local.INFO: IMEI packet received {"connection_id":173155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":173155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:14:16] local.INFO: TCP Data received {"connection_id":173155,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a14cc18012d7d438005c44dd8000c01661c..."} 
[2026-09-04 07:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a14cc18012d7d438005c44dd8000c01661c..."} 
[2026-09-04 07:14:16] local.INFO: Processing buffer {"connection_id":173155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a14cc18012d7d438005c44dd8000c01661c..."} 
[2026-09-04 07:14:16] local.INFO: Packet analysis {"connection_id":173155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a14"} 
[2026-09-04 07:14:16] local.INFO: Extracted packet for processing {"connection_id":173155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a14"} 
[2026-09-04 07:14:16] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":96751064,"longitude_deg":76.3184,"latitude_deg":9.6751064,"altitude":12,"angle":358,"satellites":28,"speed":0,"hex_longitude":"2d7d4380","hex_latitude":"05c44dd8","is_valid_coordinates":true} 
[2026-09-04 07:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852447232001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128021267012911104,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840437233664,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788486143000,"timestamp_ms":1788486143000,"timestamp_seconds":1788486143,"priority":1,"record_length":96,"hex_timestamp":"000001a06a14cc18"} 
[2026-09-04 07:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630032,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7285698524811886602,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":195,"raw_value":4052221965,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632079244616296,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1650983118,"corrected_to":0} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648769333277099,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3516530688,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3284948992,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":125,"raw_value":5332268296661630988,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755627074453745,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:16] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,135,85,24,241,157,16,210,160,40,45,128,77,12,26,10,66,214,60,14,28,182,64,1,240,227,106,195,4,113,205,51,155,63,136,27,239,53,104,2,198,5,56,125,48],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1650983118,"validated":0}]} 
[2026-09-04 07:14:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865084856697094144,"timestamp_seconds":865084856697094.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 07:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852447232001,"66":13678,"135":206,"85":12288,"24":0,"16":128021267012911104,"45":9026198840437233664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-09-04 07:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852447232001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:14:16] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 07:14:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128021267012911104,"km_value":128021267012911.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840437233664,"description":"Unknown IO ID 45"} 
[2026-09-04 07:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852447232001,"power":13678,"unknown_135":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9026198840437233664}} 
[2026-09-04 07:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":173155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:14:16] local.INFO: GPS data processed {"connection_id":173155,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:14:16] local.INFO: Acknowledgment sent {"connection_id":173155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:14:48] local.INFO: TCP Data received {"connection_id":173155,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a169908012d7d364005c5d768000c015f1c..."} 
[2026-09-04 07:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a169908012d7d364005c5d768000c015f1c..."} 
[2026-09-04 07:14:48] local.INFO: Processing buffer {"connection_id":173155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a169908012d7d364005c5d768000c015f1c..."} 
[2026-09-04 07:14:48] local.INFO: Packet analysis {"connection_id":173155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a16"} 
[2026-09-04 07:14:48] local.INFO: Extracted packet for processing {"connection_id":173155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a16"} 
[2026-09-04 07:14:48] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":96851816,"longitude_deg":76.3180608,"latitude_deg":9.6851816,"altitude":12,"angle":351,"satellites":28,"speed":31,"hex_longitude":"2d7d3640","hex_latitude":"05c5d768","is_valid_coordinates":true} 
[2026-09-04 07:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852479744001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128026180455497728,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834321324032,"note":"Value kept but may cause issues"} 
[2026-09-04 07:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788486261000,"timestamp_ms":1788486261000,"timestamp_seconds":1788486261,"priority":1,"record_length":96,"hex_timestamp":"000001a06a169908"} 
[2026-09-04 07:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-04 07:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852479744001,"66":13656,"227":206,"85":12288,"24":31,"16":128026180455497728,"45":9024861834321324032},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-04 07:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852479744001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:14:48] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 07:14:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128026180455497728,"km_value":128026180455497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834321324032,"description":"Unknown IO ID 45"} 
[2026-09-04 07:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852479744001,"power":13656,"unknown_227":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9024861834321324032}} 
[2026-09-04 07:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":173155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:14:48] local.INFO: GPS data processed {"connection_id":173155,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:14:48] local.INFO: Acknowledgment sent {"connection_id":173155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:15:00] local.INFO: TCP Data received {"connection_id":171860,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:15:00] local.INFO: Processing buffer {"connection_id":171860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:15:00] local.INFO: IMEI packet received {"connection_id":171860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":171860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:15:05] local.INFO: TCP Data received {"connection_id":171860,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:15:05] local.INFO: Processing buffer {"connection_id":171860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:15:05] local.INFO: IMEI packet received {"connection_id":171860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":171860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:15:06] local.INFO: TCP Data received {"connection_id":171860,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:15:06] local.INFO: Processing buffer {"connection_id":171860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:15:06] local.INFO: Packet analysis {"connection_id":171860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:15:06] local.INFO: Extracted packet for processing {"connection_id":171860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:15:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":33,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852344320001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:15:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486021000,"timestamp_ms":1788486021000,"timestamp_seconds":1788486021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a12ef88"} 
[2026-09-04 07:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 07:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852344320001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852344320001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:15:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:15:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852344320001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":171860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:15:06] local.INFO: GPS data processed {"connection_id":171860,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:15:06] local.INFO: Acknowledgment sent {"connection_id":171860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:15:15] local.INFO: TCP Data received {"connection_id":173156,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:15:15] local.INFO: Processing buffer {"connection_id":173156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:15:15] local.INFO: IMEI packet received {"connection_id":173156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":173156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:15:19] local.INFO: TCP Data received {"connection_id":173156,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:15:19] local.INFO: Processing buffer {"connection_id":173156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:15:19] local.INFO: IMEI packet received {"connection_id":173156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":173156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:15:20] local.INFO: TCP Data received {"connection_id":173156,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a16c400012d7d314005c5fa40000c01631c..."} 
[2026-09-04 07:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a16c400012d7d314005c5fa40000c01631c..."} 
[2026-09-04 07:15:20] local.INFO: Processing buffer {"connection_id":173156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a16c400012d7d314005c5fa40000c01631c..."} 
[2026-09-04 07:15:20] local.INFO: Packet analysis {"connection_id":173156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a16"} 
[2026-09-04 07:15:20] local.INFO: Extracted packet for processing {"connection_id":173156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a16"} 
[2026-09-04 07:15:20] local.INFO: GPS Element Parsed {"raw_longitude":763179328,"raw_latitude":96860736,"longitude_deg":76.3179328,"latitude_deg":9.6860736,"altitude":12,"angle":355,"satellites":28,"speed":31,"hex_longitude":"2d7d3140","hex_latitude":"05c5fa40","is_valid_coordinates":true} 
[2026-09-04 07:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852482816001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128026618542161920,"note":"Value kept but may cause issues"} 
[2026-09-04 07:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022469297021609984,"note":"Value kept but may cause issues"} 
[2026-09-04 07:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788486272000,"timestamp_ms":1788486272000,"timestamp_seconds":1788486272,"priority":1,"record_length":96,"hex_timestamp":"000001a06a16c400"} 
[2026-09-04 07:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-04 07:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852482816001,"66":13646,"227":206,"85":12288,"24":31,"16":128026618542161920,"45":9022469297021609984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-04 07:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852482816001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:15:20] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 07:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128026618542161920,"km_value":128026618542161.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022469297021609984,"description":"Unknown IO ID 45"} 
[2026-09-04 07:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852482816001,"power":13646,"unknown_227":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9022469297021609984}} 
[2026-09-04 07:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":173156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:15:20] local.INFO: GPS data processed {"connection_id":173156,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:15:20] local.INFO: Acknowledgment sent {"connection_id":173156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:15:37] local.INFO: TCP Data received {"connection_id":171860,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:15:37] local.INFO: Processing buffer {"connection_id":171860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a12ef88012cee7040072e2b900035006221..."} 
[2026-09-04 07:15:37] local.INFO: Packet analysis {"connection_id":171860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:15:37] local.INFO: Extracted packet for processing {"connection_id":171860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a12"} 
[2026-09-04 07:15:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":33,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852344320001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486021000,"timestamp_ms":1788486021000,"timestamp_seconds":1788486021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a12ef88"} 
[2026-09-04 07:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 07:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852344320001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852344320001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:15:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852344320001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":171860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:15:37] local.INFO: GPS data processed {"connection_id":171860,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:15:37] local.INFO: Acknowledgment sent {"connection_id":171860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:15:52] local.INFO: TCP Data received {"connection_id":173156,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a16eef8012d7d31c005c61d88000c00041b..."} 
[2026-09-04 07:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a16eef8012d7d31c005c61d88000c00041b..."} 
[2026-09-04 07:15:52] local.INFO: Processing buffer {"connection_id":173156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a16eef8012d7d31c005c61d88000c00041b..."} 
[2026-09-04 07:15:52] local.INFO: Packet analysis {"connection_id":173156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a16"} 
[2026-09-04 07:15:52] local.INFO: Extracted packet for processing {"connection_id":173156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a16"} 
[2026-09-04 07:15:52] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":96869768,"longitude_deg":76.3179456,"latitude_deg":9.6869768,"altitude":12,"angle":4,"satellites":27,"speed":32,"hex_longitude":"2d7d31c0","hex_latitude":"05c61d88","is_valid_coordinates":true} 
[2026-09-04 07:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852485632001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128027056628826112,"note":"Value kept but may cause issues"} 
[2026-09-04 07:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021061922140340224,"note":"Value kept but may cause issues"} 
[2026-09-04 07:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788486283000,"timestamp_ms":1788486283000,"timestamp_seconds":1788486283,"priority":1,"record_length":96,"hex_timestamp":"000001a06a16eef8"} 
[2026-09-04 07:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-04 07:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852485632001,"66":13450,"227":206,"85":12288,"24":32,"16":128027056628826112,"45":9021061922140340224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-04 07:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852485632001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:15:52] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 07:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128027056628826112,"km_value":128027056628826.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021061922140340224,"description":"Unknown IO ID 45"} 
[2026-09-04 07:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852485632001,"power":13450,"unknown_227":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9021061922140340224}} 
[2026-09-04 07:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":173156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:15:52] local.INFO: GPS data processed {"connection_id":173156,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:15:52] local.INFO: Acknowledgment sent {"connection_id":173156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:16:00] local.INFO: TCP Data received {"connection_id":170459,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:16:00] local.INFO: Processing buffer {"connection_id":170459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:16:00] local.INFO: IMEI packet received {"connection_id":170459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":170459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:16:01] local.INFO: TCP Data received {"connection_id":170459,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:16:01] local.INFO: Processing buffer {"connection_id":170459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:16:01] local.INFO: IMEI packet received {"connection_id":170459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":170459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:16:05] local.INFO: TCP Data received {"connection_id":170459,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:16:05] local.INFO: Processing buffer {"connection_id":170459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:16:05] local.INFO: IMEI packet received {"connection_id":170459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":170459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:16:06] local.INFO: TCP Data received {"connection_id":170459,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:16:06] local.INFO: Processing buffer {"connection_id":170459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:16:06] local.INFO: Packet analysis {"connection_id":170459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:16:06] local.INFO: Extracted packet for processing {"connection_id":170459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:16:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852421376001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486322000,"timestamp_ms":1788486322000,"timestamp_seconds":1788486322,"priority":1,"record_length":96,"hex_timestamp":"000001a06a178750"} 
[2026-09-04 07:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852421376001,"66":25625,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852421376001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:16:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:16:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852421376001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":170459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:16:06] local.INFO: GPS data processed {"connection_id":170459,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:16:06] local.INFO: Acknowledgment sent {"connection_id":170459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:16:10] local.INFO: TCP Data received {"connection_id":170761,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:16:10] local.INFO: Processing buffer {"connection_id":170761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:16:10] local.INFO: IMEI packet received {"connection_id":170761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":170761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:16:14] local.INFO: TCP Data received {"connection_id":170761,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:16:14] local.INFO: Processing buffer {"connection_id":170761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:16:14] local.INFO: IMEI packet received {"connection_id":170761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":170761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:16:15] local.INFO: TCP Data received {"connection_id":170761,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:16:15] local.INFO: Processing buffer {"connection_id":170761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:16:15] local.INFO: IMEI packet received {"connection_id":170761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":170761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:16:16] local.INFO: TCP Data received {"connection_id":170761,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a174100012d7d348005c63908000d00071c..."} 
[2026-09-04 07:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a174100012d7d348005c63908000d00071c..."} 
[2026-09-04 07:16:16] local.INFO: Processing buffer {"connection_id":170761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a174100012d7d348005c63908000d00071c..."} 
[2026-09-04 07:16:16] local.INFO: Packet analysis {"connection_id":170761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:16:16] local.INFO: Extracted packet for processing {"connection_id":170761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:16:16] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":96876808,"longitude_deg":76.318016,"latitude_deg":9.6876808,"altitude":13,"angle":7,"satellites":28,"speed":5,"hex_longitude":"2d7d3480","hex_latitude":"05c63908","is_valid_coordinates":true} 
[2026-09-04 07:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852488448001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128027408816144384,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202659631007744,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788486304000,"timestamp_ms":1788486304000,"timestamp_seconds":1788486304,"priority":1,"record_length":96,"hex_timestamp":"000001a06a174100"} 
[2026-09-04 07:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 07:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852488448001,"66":13319,"229":206,"85":12288,"24":5,"16":128027408816144384,"45":9021202659631007744},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 07:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852488448001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:16:16] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 07:16:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128027408816144384,"km_value":128027408816144.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202659631007744,"description":"Unknown IO ID 45"} 
[2026-09-04 07:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852488448001,"power":13319,"unknown_229":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9021202659631007744}} 
[2026-09-04 07:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":170761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:16:16] local.INFO: GPS data processed {"connection_id":170761,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:16:16] local.INFO: Acknowledgment sent {"connection_id":170761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:16:21] local.INFO: TCP Data received {"connection_id":170761,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1744e8012d7d350005c63960000c00371c..."} 
[2026-09-04 07:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1744e8012d7d350005c63960000c00371c..."} 
[2026-09-04 07:16:21] local.INFO: Processing buffer {"connection_id":170761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1744e8012d7d350005c63960000c00371c..."} 
[2026-09-04 07:16:21] local.INFO: Packet analysis {"connection_id":170761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:16:21] local.INFO: Extracted packet for processing {"connection_id":170761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:16:21] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":96876896,"longitude_deg":76.3180288,"latitude_deg":9.6876896,"altitude":12,"angle":55,"satellites":28,"speed":6,"hex_longitude":"2d7d3500","hex_latitude":"05c63960","is_valid_coordinates":true} 
[2026-09-04 07:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852493824001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128027413111111680,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976715818764288,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788486305000,"timestamp_ms":1788486305000,"timestamp_seconds":1788486305,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1744e8"} 
[2026-09-04 07:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-04 07:16:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:21] local.WARNING: Large IO value detected {"io_id":197,"raw_value":7401666026261584896,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1508049102,"corrected_to":0} 
[2026-09-04 07:16:21] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3221603758,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:21] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802137,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:21] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3601268736,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3314141184,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:21] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57801201731654960,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:21] local.WARNING: Large IO value detected {"io_id":21,"raw_value":-231934085923012603,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:21] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,229,85,24,241,157,16,216,160,238,45,192,29,12,27,10,66,227,215,196,64,250,28,153,1,240,88,106,197,4,113,205,98,63,72,239,50,2,198,5,9,23,214,21],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1508049102,"validated":0}]} 
[2026-09-04 07:16:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936756539333869568,"timestamp_seconds":936756539333869.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 07:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":170761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":170761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":170761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852493824001,"66":13678,"229":206,"85":12288,"24":6,"16":128027413111111680,"45":9021976715818764288},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 07:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852493824001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:16:21] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 07:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128027413111111680,"km_value":128027413111111.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976715818764288,"description":"Unknown IO ID 45"} 
[2026-09-04 07:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852493824001,"power":13678,"unknown_229":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9021976715818764288}} 
[2026-09-04 07:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":170761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:16:21] local.INFO: GPS data processed {"connection_id":170761,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:16:21] local.INFO: Acknowledgment sent {"connection_id":170761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:16:37] local.INFO: TCP Data received {"connection_id":170459,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:16:37] local.INFO: Processing buffer {"connection_id":170459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:16:37] local.INFO: Packet analysis {"connection_id":170459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:16:37] local.INFO: Extracted packet for processing {"connection_id":170459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:16:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852421376001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486322000,"timestamp_ms":1788486322000,"timestamp_seconds":1788486322,"priority":1,"record_length":96,"hex_timestamp":"000001a06a178750"} 
[2026-09-04 07:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852421376001,"66":25625,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852421376001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:16:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:16:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852421376001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":170459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:16:37] local.INFO: GPS data processed {"connection_id":170459,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:16:37] local.INFO: Acknowledgment sent {"connection_id":170459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:16:52] local.INFO: TCP Data received {"connection_id":170761,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1748d0012d7d360005c63980000c00571c..."} 
[2026-09-04 07:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1748d0012d7d360005c63980000c00571c..."} 
[2026-09-04 07:16:52] local.INFO: Processing buffer {"connection_id":170761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1748d0012d7d360005c63980000c00571c..."} 
[2026-09-04 07:16:52] local.INFO: Packet analysis {"connection_id":170761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:16:52] local.INFO: Extracted packet for processing {"connection_id":170761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:16:52] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":96876928,"longitude_deg":76.3180544,"latitude_deg":9.6876928,"altitude":12,"angle":87,"satellites":28,"speed":10,"hex_longitude":"2d7d3600","hex_latitude":"05c63980","is_valid_coordinates":true} 
[2026-09-04 07:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852494080001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128027425996013568,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453307142144,"note":"Value kept but may cause issues"} 
[2026-09-04 07:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788486306000,"timestamp_ms":1788486306000,"timestamp_seconds":1788486306,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1748d0"} 
[2026-09-04 07:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 07:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":170761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":170761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":170761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852494080001,"66":13624,"229":206,"85":12288,"24":10,"16":128027425996013568,"45":9022117453307142144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 07:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852494080001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:16:52] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 07:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128027425996013568,"km_value":128027425996013.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453307142144,"description":"Unknown IO ID 45"} 
[2026-09-04 07:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852494080001,"power":13624,"unknown_229":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9022117453307142144}} 
[2026-09-04 07:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":170761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:16:52] local.INFO: GPS data processed {"connection_id":170761,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:16:52] local.INFO: Acknowledgment sent {"connection_id":170761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:17:00] local.INFO: TCP Data received {"connection_id":171861,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:17:00] local.INFO: Processing buffer {"connection_id":171861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:17:00] local.INFO: IMEI packet received {"connection_id":171861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":171861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:17:05] local.INFO: TCP Data received {"connection_id":171861,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:17:05] local.INFO: Processing buffer {"connection_id":171861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:17:05] local.INFO: IMEI packet received {"connection_id":171861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":171861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:17:06] local.INFO: TCP Data received {"connection_id":171861,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:17:06] local.INFO: Processing buffer {"connection_id":171861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:17:06] local.INFO: Packet analysis {"connection_id":171861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:17:06] local.INFO: Extracted packet for processing {"connection_id":171861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:17:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852421376001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:17:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486322000,"timestamp_ms":1788486322000,"timestamp_seconds":1788486322,"priority":1,"record_length":96,"hex_timestamp":"000001a06a178750"} 
[2026-09-04 07:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852421376001,"66":25625,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852421376001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:17:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852421376001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":171861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:17:06] local.INFO: GPS data processed {"connection_id":171861,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:17:06] local.INFO: Acknowledgment sent {"connection_id":171861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:17:31] local.INFO: TCP Data received {"connection_id":171862,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:17:31] local.INFO: Processing buffer {"connection_id":171862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:17:31] local.INFO: IMEI packet received {"connection_id":171862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":171862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:17:32] local.INFO: TCP Data received {"connection_id":171862,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:17:32] local.INFO: Processing buffer {"connection_id":171862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:17:32] local.INFO: IMEI packet received {"connection_id":171862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":171862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:17:33] local.INFO: TCP Data received {"connection_id":171862,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a18cb88012d7ea54005c639f8000600581c..."} 
[2026-09-04 07:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a18cb88012d7ea54005c639f8000600581c..."} 
[2026-09-04 07:17:33] local.INFO: Processing buffer {"connection_id":171862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a18cb88012d7ea54005c639f8000600581c..."} 
[2026-09-04 07:17:33] local.INFO: Packet analysis {"connection_id":171862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a18"} 
[2026-09-04 07:17:33] local.INFO: Extracted packet for processing {"connection_id":171862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a18"} 
[2026-09-04 07:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":96877048,"longitude_deg":76.327456,"latitude_deg":9.6877048,"altitude":6,"angle":88,"satellites":28,"speed":51,"hex_longitude":"2d7ea540","hex_latitude":"05c639f8","is_valid_coordinates":true} 
[2026-09-04 07:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852517888001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128031935711674368,"note":"Value kept but may cause issues"} 
[2026-09-04 07:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115567145575141376,"note":"Value kept but may cause issues"} 
[2026-09-04 07:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788486405000,"timestamp_ms":1788486405000,"timestamp_seconds":1788486405,"priority":1,"record_length":96,"hex_timestamp":"000001a06a18cb88"} 
[2026-09-04 07:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-04 07:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852517888001,"66":13798,"244":206,"85":12288,"24":51,"16":128031935711674368,"45":9115567145575141376},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-09-04 07:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852517888001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:17:33] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-04 07:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128031935711674368,"km_value":128031935711674.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115567145575141376,"description":"Unknown IO ID 45"} 
[2026-09-04 07:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852517888001,"power":13798,"unknown_244":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":9115567145575141376}} 
[2026-09-04 07:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":171862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:17:33] local.INFO: GPS data processed {"connection_id":171862,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:17:33] local.INFO: Acknowledgment sent {"connection_id":171862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:17:34] local.INFO: TCP Data received {"connection_id":171862,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a18e6e0012d7ecb0005c63860000600611b..."} 
[2026-09-04 07:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a18e6e0012d7ecb0005c63860000600611b..."} 
[2026-09-04 07:17:34] local.INFO: Processing buffer {"connection_id":171862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a18e6e0012d7ecb0005c63860000600611b..."} 
[2026-09-04 07:17:34] local.INFO: Packet analysis {"connection_id":171862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a18"} 
[2026-09-04 07:17:34] local.INFO: Extracted packet for processing {"connection_id":171862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a18"} 
[2026-09-04 07:17:34] local.INFO: GPS Element Parsed {"raw_longitude":763284224,"raw_latitude":96876640,"longitude_deg":76.3284224,"latitude_deg":9.687664,"altitude":6,"angle":97,"satellites":27,"speed":55,"hex_longitude":"2d7ecb00","hex_latitude":"05c63860","is_valid_coordinates":true} 
[2026-09-04 07:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852519680001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128032399568142336,"note":"Value kept but may cause issues"} 
[2026-09-04 07:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613480880128,"note":"Value kept but may cause issues"} 
[2026-09-04 07:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788486412000,"timestamp_ms":1788486412000,"timestamp_seconds":1788486412,"priority":1,"record_length":96,"hex_timestamp":"000001a06a18e6e0"} 
[2026-09-04 07:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 07:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852519680001,"66":13526,"244":206,"85":12288,"24":55,"16":128032399568142336,"45":9125770613480880128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-09-04 07:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852519680001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:17:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-04 07:17:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128032399568142336,"km_value":128032399568142.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613480880128,"description":"Unknown IO ID 45"} 
[2026-09-04 07:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852519680001,"power":13526,"unknown_244":206,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":9125770613480880128}} 
[2026-09-04 07:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":171862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:17:34] local.INFO: GPS data processed {"connection_id":171862,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:17:34] local.INFO: Acknowledgment sent {"connection_id":171862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:17:37] local.INFO: TCP Data received {"connection_id":171861,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:17:37] local.INFO: Processing buffer {"connection_id":171861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:17:37] local.INFO: Packet analysis {"connection_id":171861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:17:37] local.INFO: Extracted packet for processing {"connection_id":171861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:17:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852421376001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:17:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486322000,"timestamp_ms":1788486322000,"timestamp_seconds":1788486322,"priority":1,"record_length":96,"hex_timestamp":"000001a06a178750"} 
[2026-09-04 07:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852421376001,"66":25625,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852421376001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:17:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:17:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852421376001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":171861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:17:37] local.INFO: GPS data processed {"connection_id":171861,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:17:37] local.INFO: Acknowledgment sent {"connection_id":171861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:18:05] local.INFO: TCP Data received {"connection_id":173157,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:18:05] local.INFO: Processing buffer {"connection_id":173157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:18:05] local.INFO: IMEI packet received {"connection_id":173157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":173157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:18:08] local.INFO: TCP Data received {"connection_id":170460,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:18:08] local.INFO: Processing buffer {"connection_id":170460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:18:08] local.INFO: IMEI packet received {"connection_id":170460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":170460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:18:10] local.INFO: TCP Data received {"connection_id":173157,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:18:10] local.INFO: Processing buffer {"connection_id":173157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:18:10] local.INFO: IMEI packet received {"connection_id":173157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":173157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:18:10] local.INFO: TCP Data received {"connection_id":170460,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:18:10] local.INFO: Processing buffer {"connection_id":170460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:18:10] local.INFO: IMEI packet received {"connection_id":170460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":170460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:18:11] local.INFO: TCP Data received {"connection_id":173157,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:18:11] local.INFO: Processing buffer {"connection_id":173157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:18:11] local.INFO: Packet analysis {"connection_id":173157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:18:11] local.INFO: Extracted packet for processing {"connection_id":173157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:18:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852421376001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788486322000,"timestamp_ms":1788486322000,"timestamp_seconds":1788486322,"priority":1,"record_length":96,"hex_timestamp":"000001a06a178750"} 
[2026-09-04 07:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852421376001,"66":25625,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852421376001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:18:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852421376001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":173157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:18:11] local.INFO: GPS data processed {"connection_id":173157,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:18:11] local.INFO: Acknowledgment sent {"connection_id":173157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:18:15] local.INFO: TCP Data received {"connection_id":170460,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:18:15] local.INFO: Processing buffer {"connection_id":170460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:18:15] local.INFO: IMEI packet received {"connection_id":170460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":170460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:18:15] local.INFO: TCP Data received {"connection_id":173157,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:18:15] local.INFO: Processing buffer {"connection_id":173157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:18:15] local.INFO: Packet analysis {"connection_id":173157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:18:15] local.INFO: Extracted packet for processing {"connection_id":173157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:18:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852421376001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788486322000,"timestamp_ms":1788486322000,"timestamp_seconds":1788486322,"priority":1,"record_length":96,"hex_timestamp":"000001a06a178750"} 
[2026-09-04 07:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852421376001,"66":25625,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852421376001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:18:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:18:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852421376001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":173157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:18:15] local.INFO: GPS data processed {"connection_id":173157,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:18:15] local.INFO: Acknowledgment sent {"connection_id":173157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:18:16] local.INFO: TCP Data received {"connection_id":170460,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a19c588012d7f0e4005c649b0000c01451c..."} 
[2026-09-04 07:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a19c588012d7f0e4005c649b0000c01451c..."} 
[2026-09-04 07:18:16] local.INFO: Processing buffer {"connection_id":170460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a19c588012d7f0e4005c649b0000c01451c..."} 
[2026-09-04 07:18:16] local.INFO: Packet analysis {"connection_id":170460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a19"} 
[2026-09-04 07:18:16] local.INFO: Extracted packet for processing {"connection_id":170460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a19"} 
[2026-09-04 07:18:16] local.INFO: GPS Element Parsed {"raw_longitude":763301440,"raw_latitude":96881072,"longitude_deg":76.330144,"latitude_deg":9.6881072,"altitude":12,"angle":325,"satellites":28,"speed":41,"hex_longitude":"2d7f0e40","hex_latitude":"05c649b0","is_valid_coordinates":true} 
[2026-09-04 07:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852533248001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128034035950682112,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161236460545468416,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788486469000,"timestamp_ms":1788486469000,"timestamp_seconds":1788486469,"priority":1,"record_length":96,"hex_timestamp":"000001a06a19c588"} 
[2026-09-04 07:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-04 07:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852533248001,"66":13580,"137":206,"85":12288,"24":41,"16":128034035950682112,"45":9161236460545468416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,85,24,16,45]} 
[2026-09-04 07:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852533248001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:18:16] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 07:18:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128034035950682112,"km_value":128034035950682.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161236460545468416,"description":"Unknown IO ID 45"} 
[2026-09-04 07:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852533248001,"power":13580,"unknown_137":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9161236460545468416}} 
[2026-09-04 07:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":170460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:18:16] local.INFO: GPS data processed {"connection_id":170460,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:18:16] local.INFO: Acknowledgment sent {"connection_id":170460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:18:47] local.INFO: TCP Data received {"connection_id":170460,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a19e4c8012d7f010005c65c90000a01511b..."} 
[2026-09-04 07:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a19e4c8012d7f010005c65c90000a01511b..."} 
[2026-09-04 07:18:47] local.INFO: Processing buffer {"connection_id":170460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a19e4c8012d7f010005c65c90000a01511b..."} 
[2026-09-04 07:18:47] local.INFO: Packet analysis {"connection_id":170460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a19"} 
[2026-09-04 07:18:47] local.INFO: Extracted packet for processing {"connection_id":170460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a19"} 
[2026-09-04 07:18:47] local.INFO: GPS Element Parsed {"raw_longitude":763298048,"raw_latitude":96885904,"longitude_deg":76.3298048,"latitude_deg":9.6885904,"altitude":10,"angle":337,"satellites":27,"speed":15,"hex_longitude":"2d7f0100","hex_latitude":"05c65c90","is_valid_coordinates":true} 
[2026-09-04 07:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852536064001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128034323713490944,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155325486036529152,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788486477000,"timestamp_ms":1788486477000,"timestamp_seconds":1788486477,"priority":1,"record_length":96,"hex_timestamp":"000001a06a19e4c8"} 
[2026-09-04 07:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630045,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4116911283486326784,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3721199616,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275771785,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1435041998,"corrected_to":0} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147862054,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407125,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3324364800,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2431950147369828367,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2450183953454255701,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-09-04 07:18:47] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,137,85,24,241,157,16,222,160,154,45,64,43,15,28,10,66,221,146,128,40,142,1,240,34,227,106,198,4,113,205,8,135,35,72,239,52,2,5,127,53,48],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1435041998,"validated":0}]} 
[2026-09-04 07:18:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865048589995933696,"timestamp_seconds":865048589995933.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 07:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852536064001,"66":13222,"137":206,"85":12288,"24":15,"16":128034323713490944,"45":9155325486036529152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,85,24,16,45]} 
[2026-09-04 07:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852536064001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:18:47] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 07:18:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128034323713490944,"km_value":128034323713490.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155325486036529152,"description":"Unknown IO ID 45"} 
[2026-09-04 07:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852536064001,"power":13222,"unknown_137":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":9155325486036529152}} 
[2026-09-04 07:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":170460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:18:47] local.INFO: GPS data processed {"connection_id":170460,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:18:47] local.INFO: Acknowledgment sent {"connection_id":170460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:19:00] local.INFO: TCP Data received {"connection_id":171863,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:19:00] local.INFO: Processing buffer {"connection_id":171863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:19:00] local.INFO: IMEI packet received {"connection_id":171863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":171863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:19:05] local.INFO: TCP Data received {"connection_id":171863,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:19:05] local.INFO: Processing buffer {"connection_id":171863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:19:05] local.INFO: IMEI packet received {"connection_id":171863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":171863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:19:06] local.INFO: TCP Data received {"connection_id":171863,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:19:06] local.INFO: Processing buffer {"connection_id":171863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:19:06] local.INFO: Packet analysis {"connection_id":171863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:19:06] local.INFO: Extracted packet for processing {"connection_id":171863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:19:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852421376001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486322000,"timestamp_ms":1788486322000,"timestamp_seconds":1788486322,"priority":1,"record_length":96,"hex_timestamp":"000001a06a178750"} 
[2026-09-04 07:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852421376001,"66":25625,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852421376001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:19:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852421376001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":171863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:19:06] local.INFO: GPS data processed {"connection_id":171863,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:19:06] local.INFO: Acknowledgment sent {"connection_id":171863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:19:09] local.INFO: TCP Data received {"connection_id":170763,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:19:09] local.INFO: Processing buffer {"connection_id":170763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:19:09] local.INFO: IMEI packet received {"connection_id":170763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":170763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:19:10] local.INFO: TCP Data received {"connection_id":170763,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:19:10] local.INFO: Processing buffer {"connection_id":170763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:19:10] local.INFO: IMEI packet received {"connection_id":170763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":170763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:19:15] local.INFO: TCP Data received {"connection_id":170763,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:19:15] local.INFO: Processing buffer {"connection_id":170763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:19:15] local.INFO: IMEI packet received {"connection_id":170763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":170763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:19:16] local.INFO: TCP Data received {"connection_id":170763,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1a0408012d7efc0005c66698000b01441b..."} 
[2026-09-04 07:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1a0408012d7efc0005c66698000b01441b..."} 
[2026-09-04 07:19:16] local.INFO: Processing buffer {"connection_id":170763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1a0408012d7efc0005c66698000b01441b..."} 
[2026-09-04 07:19:16] local.INFO: Packet analysis {"connection_id":170763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1a"} 
[2026-09-04 07:19:16] local.INFO: Extracted packet for processing {"connection_id":170763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1a"} 
[2026-09-04 07:19:16] local.INFO: GPS Element Parsed {"raw_longitude":763296768,"raw_latitude":96888472,"longitude_deg":76.3296768,"latitude_deg":9.6888472,"altitude":11,"angle":324,"satellites":27,"speed":18,"hex_longitude":"2d7efc00","hex_latitude":"05c66698","is_valid_coordinates":true} 
[2026-09-04 07:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852538112001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128034465447411712,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151595942596349952,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788486485000,"timestamp_ms":1788486485000,"timestamp_seconds":1788486485,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1a0408"} 
[2026-09-04 07:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 07:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852538112001,"66":13689,"100":206,"85":12288,"24":18,"16":128034465447411712,"45":9151595942596349952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-04 07:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852538112001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:19:16] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-04 07:19:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128034465447411712,"km_value":128034465447411.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151595942596349952,"description":"Unknown IO ID 45"} 
[2026-09-04 07:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852538112001,"power":13689,"unknown_100":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":9151595942596349952}} 
[2026-09-04 07:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":170763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:19:16] local.INFO: GPS data processed {"connection_id":170763,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:19:16] local.INFO: Acknowledgment sent {"connection_id":170763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:19:37] local.INFO: TCP Data received {"connection_id":171863,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:19:37] local.INFO: Processing buffer {"connection_id":171863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:19:37] local.INFO: Packet analysis {"connection_id":171863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:19:37] local.INFO: Extracted packet for processing {"connection_id":171863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:19:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852421376001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486322000,"timestamp_ms":1788486322000,"timestamp_seconds":1788486322,"priority":1,"record_length":96,"hex_timestamp":"000001a06a178750"} 
[2026-09-04 07:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852421376001,"66":25625,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852421376001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:19:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:19:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852421376001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":171863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:19:37] local.INFO: GPS data processed {"connection_id":171863,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:19:37] local.INFO: Acknowledgment sent {"connection_id":171863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:19:47] local.INFO: TCP Data received {"connection_id":170763,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1b5010012d7dc90005c741800008012f1c..."} 
[2026-09-04 07:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1b5010012d7dc90005c741800008012f1c..."} 
[2026-09-04 07:19:47] local.INFO: Processing buffer {"connection_id":170763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1b5010012d7dc90005c741800008012f1c..."} 
[2026-09-04 07:19:47] local.INFO: Packet analysis {"connection_id":170763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1b"} 
[2026-09-04 07:19:47] local.INFO: Extracted packet for processing {"connection_id":170763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1b"} 
[2026-09-04 07:19:47] local.INFO: GPS Element Parsed {"raw_longitude":763218176,"raw_latitude":96944512,"longitude_deg":76.3218176,"latitude_deg":9.6944512,"altitude":8,"angle":303,"satellites":28,"speed":36,"hex_longitude":"2d7dc900","hex_latitude":"05c74180","is_valid_coordinates":true} 
[2026-09-04 07:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852559872001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128039104012091392,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9072149630433394688,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788486570000,"timestamp_ms":1788486570000,"timestamp_seconds":1788486570,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1b5010"} 
[2026-09-04 07:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630047,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3332792320,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3466364544350158858,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3763077120,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635815866158692,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814902478,"corrected_to":0} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755605599617265,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2147862203,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271708417208747,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13522224,"corrected_to":0} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.WARNING: Large IO value detected {"io_id":126,"raw_value":-4629694066513149944,"note":"Value kept but may cause issues"} 
[2026-09-04 07:19:47] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,89,85,24,241,157,16,226,160,21,45,64,6,29,10,66,250,128,254,5,28,225,222,1,240,230,227,106,198,4,113,205,48,156,133,136,239,53,200,2,8,126],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2814902478,"validated":0},{"io_id":200,"original":13522224,"validated":0}]} 
[2026-09-04 07:19:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504739733381251072,"timestamp_seconds":504739733381251.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 07:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852559872001,"66":13526,"89":206,"85":12288,"24":36,"16":128039104012091392,"45":9072149630433394688},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-09-04 07:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852559872001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:19:47] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 07:19:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128039104012091392,"km_value":128039104012091.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9072149630433394688,"description":"Unknown IO ID 45"} 
[2026-09-04 07:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852559872001,"power":13526,"unknown_89":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9072149630433394688}} 
[2026-09-04 07:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":170763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:19:47] local.INFO: GPS data processed {"connection_id":170763,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:19:47] local.INFO: Acknowledgment sent {"connection_id":170763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:20:00] local.INFO: TCP Data received {"connection_id":170461,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:20:00] local.INFO: Processing buffer {"connection_id":170461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:20:00] local.INFO: IMEI packet received {"connection_id":170461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":170461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:20:05] local.INFO: TCP Data received {"connection_id":170461,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:20:05] local.INFO: Processing buffer {"connection_id":170461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:20:05] local.INFO: IMEI packet received {"connection_id":170461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":170461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:20:06] local.INFO: TCP Data received {"connection_id":170461,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:20:06] local.INFO: Processing buffer {"connection_id":170461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:20:06] local.INFO: Packet analysis {"connection_id":170461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:20:06] local.INFO: Extracted packet for processing {"connection_id":170461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:20:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852421376001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486322000,"timestamp_ms":1788486322000,"timestamp_seconds":1788486322,"priority":1,"record_length":96,"hex_timestamp":"000001a06a178750"} 
[2026-09-04 07:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852421376001,"66":25625,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852421376001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:20:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852421376001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":170461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:20:06] local.INFO: GPS data processed {"connection_id":170461,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:20:06] local.INFO: Acknowledgment sent {"connection_id":170461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:20:10] local.INFO: TCP Data received {"connection_id":171864,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:20:10] local.INFO: Processing buffer {"connection_id":171864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:20:10] local.INFO: IMEI packet received {"connection_id":171864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":171864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:20:11] local.INFO: TCP Data received {"connection_id":171864,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:20:11] local.INFO: Processing buffer {"connection_id":171864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:20:11] local.INFO: IMEI packet received {"connection_id":171864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":171864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:20:15] local.INFO: TCP Data received {"connection_id":171864,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:20:15] local.INFO: Processing buffer {"connection_id":171864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:20:15] local.INFO: IMEI packet received {"connection_id":171864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":171864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:20:16] local.INFO: TCP Data received {"connection_id":171864,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1b5fb0012d7dbe8005c746c80007011f1c..."} 
[2026-09-04 07:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1b5fb0012d7dbe8005c746c80007011f1c..."} 
[2026-09-04 07:20:16] local.INFO: Processing buffer {"connection_id":171864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1b5fb0012d7dbe8005c746c80007011f1c..."} 
[2026-09-04 07:20:16] local.INFO: Packet analysis {"connection_id":171864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1b"} 
[2026-09-04 07:20:16] local.INFO: Extracted packet for processing {"connection_id":171864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1b"} 
[2026-09-04 07:20:16] local.INFO: GPS Element Parsed {"raw_longitude":763215488,"raw_latitude":96945864,"longitude_deg":76.3215488,"latitude_deg":9.6945864,"altitude":7,"angle":287,"satellites":28,"speed":28,"hex_longitude":"2d7dbe80","hex_latitude":"05c746c8","is_valid_coordinates":true} 
[2026-09-04 07:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852561920001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:20:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 07:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128039245746012160,"note":"Value kept but may cause issues"} 
[2026-09-04 07:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063775749877628928,"note":"Value kept but may cause issues"} 
[2026-09-04 07:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 07:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788486574000,"timestamp_ms":1788486574000,"timestamp_seconds":1788486574,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1b5fb0"} 
[2026-09-04 07:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 07:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852561920001,"66":13526,"200":0,"85":12288,"24":28,"16":128039245746012160,"45":9063775749877628928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-04 07:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852561920001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:20:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128039245746012160,"km_value":128039245746012.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063775749877628928,"description":"Unknown IO ID 45"} 
[2026-09-04 07:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852561920001,"power":13526,"gsm_signal":0,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9063775749877628928}} 
[2026-09-04 07:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":171864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:20:16] local.INFO: GPS data processed {"connection_id":171864,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:20:16] local.INFO: Acknowledgment sent {"connection_id":171864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:20:37] local.INFO: TCP Data received {"connection_id":170461,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:20:37] local.INFO: Processing buffer {"connection_id":170461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a178750012cee7040072e2b900035006224..."} 
[2026-09-04 07:20:37] local.INFO: Packet analysis {"connection_id":170461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:20:37] local.INFO: Extracted packet for processing {"connection_id":170461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a17"} 
[2026-09-04 07:20:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852421376001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486322000,"timestamp_ms":1788486322000,"timestamp_seconds":1788486322,"priority":1,"record_length":96,"hex_timestamp":"000001a06a178750"} 
[2026-09-04 07:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852421376001,"66":25625,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852421376001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:20:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852421376001,"power":25625,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":170461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:20:37] local.INFO: GPS data processed {"connection_id":170461,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:20:37] local.INFO: Acknowledgment sent {"connection_id":170461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:20:47] local.INFO: TCP Data received {"connection_id":171864,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1b7338012d7dadc005c74cb00008012c1c..."} 
[2026-09-04 07:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1b7338012d7dadc005c74cb00008012c1c..."} 
[2026-09-04 07:20:47] local.INFO: Processing buffer {"connection_id":171864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1b7338012d7dadc005c74cb00008012c1c..."} 
[2026-09-04 07:20:47] local.INFO: Packet analysis {"connection_id":171864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1b"} 
[2026-09-04 07:20:47] local.INFO: Extracted packet for processing {"connection_id":171864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1b"} 
[2026-09-04 07:20:47] local.INFO: GPS Element Parsed {"raw_longitude":763211200,"raw_latitude":96947376,"longitude_deg":76.32112,"latitude_deg":9.6947376,"altitude":8,"angle":300,"satellites":28,"speed":41,"hex_longitude":"2d7dadc0","hex_latitude":"05c74cb0","is_valid_coordinates":true} 
[2026-09-04 07:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852562944001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:20:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 07:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128039464789344256,"note":"Value kept but may cause issues"} 
[2026-09-04 07:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060820262622513152,"note":"Value kept but may cause issues"} 
[2026-09-04 07:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 07:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788486579000,"timestamp_ms":1788486579000,"timestamp_seconds":1788486579,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1b7338"} 
[2026-09-04 07:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 07:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":171864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":171864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":171864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852562944001,"66":13580,"200":0,"85":12288,"24":41,"16":128039464789344256,"45":9060820262622513152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-04 07:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852562944001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:20:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128039464789344256,"km_value":128039464789344.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060820262622513152,"description":"Unknown IO ID 45"} 
[2026-09-04 07:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852562944001,"power":13580,"gsm_signal":0,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9060820262622513152}} 
[2026-09-04 07:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":171864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:20:47] local.INFO: GPS data processed {"connection_id":171864,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:20:47] local.INFO: Acknowledgment sent {"connection_id":171864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:21:00] local.INFO: TCP Data received {"connection_id":170462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:21:00] local.INFO: Processing buffer {"connection_id":170462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:21:00] local.INFO: IMEI packet received {"connection_id":170462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":170462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:21:01] local.INFO: TCP Data received {"connection_id":170462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:21:01] local.INFO: Processing buffer {"connection_id":170462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:21:01] local.INFO: IMEI packet received {"connection_id":170462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":170462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:21:05] local.INFO: TCP Data received {"connection_id":170462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:21:05] local.INFO: Processing buffer {"connection_id":170462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:21:05] local.INFO: IMEI packet received {"connection_id":170462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":170462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:21:06] local.INFO: TCP Data received {"connection_id":170462,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:21:06] local.INFO: Processing buffer {"connection_id":170462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:21:06] local.INFO: Packet analysis {"connection_id":170462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:21:06] local.INFO: Extracted packet for processing {"connection_id":170462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:21:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852498432001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486623000,"timestamp_ms":1788486623000,"timestamp_seconds":1788486623,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1c1f18"} 
[2026-09-04 07:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 07:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852498432001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852498432001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:21:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:21:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852498432001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":170462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:21:06] local.INFO: GPS data processed {"connection_id":170462,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:21:06] local.INFO: Acknowledgment sent {"connection_id":170462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:21:11] local.INFO: TCP Data received {"connection_id":170764,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:21:11] local.INFO: Processing buffer {"connection_id":170764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:21:11] local.INFO: IMEI packet received {"connection_id":170764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":170764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:21:15] local.INFO: TCP Data received {"connection_id":170764,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:21:15] local.INFO: Processing buffer {"connection_id":170764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:21:15] local.INFO: IMEI packet received {"connection_id":170764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":170764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:21:16] local.INFO: TCP Data received {"connection_id":170764,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1b9660012d7d8e0005c76210000801311d..."} 
[2026-09-04 07:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1b9660012d7d8e0005c76210000801311d..."} 
[2026-09-04 07:21:16] local.INFO: Processing buffer {"connection_id":170764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1b9660012d7d8e0005c76210000801311d..."} 
[2026-09-04 07:21:16] local.INFO: Packet analysis {"connection_id":170764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1b"} 
[2026-09-04 07:21:16] local.INFO: Extracted packet for processing {"connection_id":170764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1b"} 
[2026-09-04 07:21:16] local.INFO: GPS Element Parsed {"raw_longitude":763203072,"raw_latitude":96952848,"longitude_deg":76.3203072,"latitude_deg":9.6952848,"altitude":8,"angle":305,"satellites":29,"speed":40,"hex_longitude":"2d7d8e00","hex_latitude":"05c76210","is_valid_coordinates":true} 
[2026-09-04 07:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852564224001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128039937235746816,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9056105556762996736,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 07:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788486588000,"timestamp_ms":1788486588000,"timestamp_seconds":1788486588,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1b9660"} 
[2026-09-04 07:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630048,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755605599617265,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3538422138388086794,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435107161,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1230569678,"corrected_to":0} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2147862270,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341294395836386901,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3784572928,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3337113600,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.WARNING: Large IO value detected {"io_id":126,"raw_value":7277823349328183303,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:16] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,200,85,24,241,157,16,227,160,95,45,128,70,7,28,10,66,80,65,8,89,226,48,192,1,240,12,106,199,4,113,205,60,250,40,239,53,2,198,5,6,50,126],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":200,"original":206,"validated":0},{"io_id":205,"original":1230569678,"validated":0}]} 
[2026-09-04 07:21:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576790726053527552,"timestamp_seconds":576790726053527.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 07:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852564224001,"66":13765,"200":0,"85":12288,"24":40,"16":128039937235746816,"45":9056105556762996736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-04 07:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852564224001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:21:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128039937235746816,"km_value":128039937235746.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9056105556762996736,"description":"Unknown IO ID 45"} 
[2026-09-04 07:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852564224001,"power":13765,"gsm_signal":0,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9056105556762996736}} 
[2026-09-04 07:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":170764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:21:17] local.INFO: GPS data processed {"connection_id":170764,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:21:17] local.INFO: Acknowledgment sent {"connection_id":170764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:21:37] local.INFO: TCP Data received {"connection_id":170462,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:21:37] local.INFO: Processing buffer {"connection_id":170462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:21:37] local.INFO: Packet analysis {"connection_id":170462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:21:37] local.INFO: Extracted packet for processing {"connection_id":170462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:21:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852498432001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486623000,"timestamp_ms":1788486623000,"timestamp_seconds":1788486623,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1c1f18"} 
[2026-09-04 07:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 07:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852498432001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852498432001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:21:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852498432001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":170462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:21:37] local.INFO: GPS data processed {"connection_id":170462,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:21:37] local.INFO: Acknowledgment sent {"connection_id":170462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:21:48] local.INFO: TCP Data received {"connection_id":170764,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1bb988012d7d6fc005c77ba80008013a1d..."} 
[2026-09-04 07:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1bb988012d7d6fc005c77ba80008013a1d..."} 
[2026-09-04 07:21:48] local.INFO: Processing buffer {"connection_id":170764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1bb988012d7d6fc005c77ba80008013a1d..."} 
[2026-09-04 07:21:48] local.INFO: Packet analysis {"connection_id":170764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1b"} 
[2026-09-04 07:21:48] local.INFO: Extracted packet for processing {"connection_id":170764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1b"} 
[2026-09-04 07:21:48] local.INFO: GPS Element Parsed {"raw_longitude":763195328,"raw_latitude":96959400,"longitude_deg":76.3195328,"latitude_deg":9.69594,"altitude":8,"angle":314,"satellites":29,"speed":47,"hex_longitude":"2d7d6fc0","hex_latitude":"05c77ba8","is_valid_coordinates":true} 
[2026-09-04 07:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852566528001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 07:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128040422567051264,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9047168726253834240,"note":"Value kept but may cause issues"} 
[2026-09-04 07:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 07:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788486597000,"timestamp_ms":1788486597000,"timestamp_seconds":1788486597,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1bb988"} 
[2026-09-04 07:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-04 07:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":170764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":170764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":170764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852566528001,"66":13428,"200":0,"85":12288,"24":47,"16":128040422567051264,"45":9047168726253834240},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-04 07:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852566528001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:21:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128040422567051264,"km_value":128040422567051.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9047168726253834240,"description":"Unknown IO ID 45"} 
[2026-09-04 07:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852566528001,"power":13428,"gsm_signal":0,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9047168726253834240}} 
[2026-09-04 07:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":170764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:21:48] local.INFO: GPS data processed {"connection_id":170764,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:21:48] local.INFO: Acknowledgment sent {"connection_id":170764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:22:00] local.INFO: TCP Data received {"connection_id":171865,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:22:00] local.INFO: Processing buffer {"connection_id":171865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:22:00] local.INFO: IMEI packet received {"connection_id":171865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":171865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:22:05] local.INFO: TCP Data received {"connection_id":171865,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:22:05] local.INFO: Processing buffer {"connection_id":171865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:22:05] local.INFO: IMEI packet received {"connection_id":171865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":171865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:22:06] local.INFO: TCP Data received {"connection_id":171865,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:22:06] local.INFO: Processing buffer {"connection_id":171865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:22:06] local.INFO: Packet analysis {"connection_id":171865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:22:06] local.INFO: Extracted packet for processing {"connection_id":171865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:22:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852498432001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:22:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486623000,"timestamp_ms":1788486623000,"timestamp_seconds":1788486623,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1c1f18"} 
[2026-09-04 07:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 07:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852498432001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852498432001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:22:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:22:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852498432001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":171865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:22:06] local.INFO: GPS data processed {"connection_id":171865,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:22:06] local.INFO: Acknowledgment sent {"connection_id":171865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:22:10] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:22:10] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:22:10] local.INFO: IMEI packet received {"connection_id":173158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":173158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:22:10] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:22:10] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:22:10] local.INFO: IMEI packet received {"connection_id":173158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":173158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:22:15] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:22:15] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:22:15] local.INFO: IMEI packet received {"connection_id":173158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":173158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:22:16] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1be868012d7d580005c79608000601431c..."} 
[2026-09-04 07:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1be868012d7d580005c79608000601431c..."} 
[2026-09-04 07:22:16] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1be868012d7d580005c79608000601431c..."} 
[2026-09-04 07:22:16] local.INFO: Packet analysis {"connection_id":173158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1b"} 
[2026-09-04 07:22:16] local.INFO: Extracted packet for processing {"connection_id":173158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1b"} 
[2026-09-04 07:22:16] local.INFO: GPS Element Parsed {"raw_longitude":763189248,"raw_latitude":96966152,"longitude_deg":76.3189248,"latitude_deg":9.6966152,"altitude":6,"angle":323,"satellites":28,"speed":31,"hex_longitude":"2d7d5800","hex_latitude":"05c79608","is_valid_coordinates":true} 
[2026-09-04 07:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852568832001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:22:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 07:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128040860653715456,"note":"Value kept but may cause issues"} 
[2026-09-04 07:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9038654108210014208,"note":"Value kept but may cause issues"} 
[2026-09-04 07:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 07:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788486609000,"timestamp_ms":1788486609000,"timestamp_seconds":1788486609,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1be868"} 
[2026-09-04 07:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 07:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852568832001,"66":13276,"200":0,"85":12288,"24":31,"16":128040860653715456,"45":9038654108210014208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-04 07:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852568832001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:22:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128040860653715456,"km_value":128040860653715.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9038654108210014208,"description":"Unknown IO ID 45"} 
[2026-09-04 07:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852568832001,"power":13276,"gsm_signal":0,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9038654108210014208}} 
[2026-09-04 07:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":173158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:22:16] local.INFO: GPS data processed {"connection_id":173158,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:22:16] local.INFO: Acknowledgment sent {"connection_id":173158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:22:37] local.INFO: TCP Data received {"connection_id":171865,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:22:37] local.INFO: Processing buffer {"connection_id":171865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:22:37] local.INFO: Packet analysis {"connection_id":171865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:22:37] local.INFO: Extracted packet for processing {"connection_id":171865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:22:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852498432001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:22:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486623000,"timestamp_ms":1788486623000,"timestamp_seconds":1788486623,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1c1f18"} 
[2026-09-04 07:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 07:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852498432001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852498432001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:22:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:22:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852498432001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":171865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:22:37] local.INFO: GPS data processed {"connection_id":171865,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:22:37] local.INFO: Acknowledgment sent {"connection_id":171865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:22:47] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1c2eb8012d7d430005c7b4500003014917..."} 
[2026-09-04 07:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1c2eb8012d7d430005c7b4500003014917..."} 
[2026-09-04 07:22:47] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1c2eb8012d7d430005c7b4500003014917..."} 
[2026-09-04 07:22:47] local.INFO: Packet analysis {"connection_id":173158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:22:47] local.INFO: Extracted packet for processing {"connection_id":173158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:22:47] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":96973904,"longitude_deg":76.3183872,"latitude_deg":9.6973904,"altitude":3,"angle":329,"satellites":23,"speed":22,"hex_longitude":"2d7d4300","hex_latitude":"05c7b450","is_valid_coordinates":true} 
[2026-09-04 07:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852571904001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:22:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 07:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128041315920248832,"note":"Value kept but may cause issues"} 
[2026-09-04 07:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031969077514864640,"note":"Value kept but may cause issues"} 
[2026-09-04 07:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 07:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788486627000,"timestamp_ms":1788486627000,"timestamp_seconds":1788486627,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1c2eb8"} 
[2026-09-04 07:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-04 07:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852571904001,"66":13341,"200":0,"85":12288,"24":22,"16":128041315920248832,"45":9031969077514864640},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-04 07:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852571904001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:22:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128041315920248832,"km_value":128041315920248.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031969077514864640,"description":"Unknown IO ID 45"} 
[2026-09-04 07:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852571904001,"power":13341,"gsm_signal":0,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":9031969077514864640}} 
[2026-09-04 07:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":173158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:22:47] local.INFO: GPS data processed {"connection_id":173158,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:22:47] local.INFO: Acknowledgment sent {"connection_id":173158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:23:05] local.INFO: TCP Data received {"connection_id":171866,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:23:05] local.INFO: Processing buffer {"connection_id":171866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:23:05] local.INFO: IMEI packet received {"connection_id":171866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":171866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:23:10] local.INFO: TCP Data received {"connection_id":171866,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:23:10] local.INFO: Processing buffer {"connection_id":171866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:23:10] local.INFO: IMEI packet received {"connection_id":171866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":171866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:23:11] local.INFO: TCP Data received {"connection_id":171866,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:23:11] local.INFO: Processing buffer {"connection_id":171866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:23:11] local.INFO: Packet analysis {"connection_id":171866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:23:11] local.INFO: Extracted packet for processing {"connection_id":171866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:23:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852498432001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788486623000,"timestamp_ms":1788486623000,"timestamp_seconds":1788486623,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1c1f18"} 
[2026-09-04 07:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 07:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852498432001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852498432001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:23:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852498432001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":171866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:23:11] local.INFO: GPS data processed {"connection_id":171866,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:23:11] local.INFO: Acknowledgment sent {"connection_id":171866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:23:11] local.INFO: TCP Data received {"connection_id":171867,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:23:11] local.INFO: Processing buffer {"connection_id":171867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:23:11] local.INFO: IMEI packet received {"connection_id":171867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":171867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:23:15] local.INFO: TCP Data received {"connection_id":171867,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:23:15] local.INFO: Processing buffer {"connection_id":171867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:23:15] local.INFO: IMEI packet received {"connection_id":171867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":171867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:23:16] local.INFO: TCP Data received {"connection_id":171866,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:23:16] local.INFO: Processing buffer {"connection_id":171866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:23:16] local.INFO: Packet analysis {"connection_id":171866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:23:16] local.INFO: Extracted packet for processing {"connection_id":171866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:23:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852498432001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788486623000,"timestamp_ms":1788486623000,"timestamp_seconds":1788486623,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1c1f18"} 
[2026-09-04 07:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 07:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852498432001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852498432001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:23:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:23:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852498432001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":171866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:23:16] local.INFO: GPS data processed {"connection_id":171866,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:23:16] local.INFO: Acknowledgment sent {"connection_id":171866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:23:21] local.INFO: TCP Data received {"connection_id":171867,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:23:21] local.INFO: Processing buffer {"connection_id":171867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:23:21] local.INFO: IMEI packet received {"connection_id":171867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":171867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:23:22] local.INFO: TCP Data received {"connection_id":171867,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1e0f30012d7d070005c90998000d01651d..."} 
[2026-09-04 07:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1e0f30012d7d070005c90998000d01651d..."} 
[2026-09-04 07:23:22] local.INFO: Processing buffer {"connection_id":171867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1e0f30012d7d070005c90998000d01651d..."} 
[2026-09-04 07:23:22] local.INFO: Packet analysis {"connection_id":171867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1e"} 
[2026-09-04 07:23:22] local.INFO: Extracted packet for processing {"connection_id":171867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1e"} 
[2026-09-04 07:23:22] local.INFO: GPS Element Parsed {"raw_longitude":763168512,"raw_latitude":97061272,"longitude_deg":76.3168512,"latitude_deg":9.7061272,"altitude":13,"angle":357,"satellites":29,"speed":3,"hex_longitude":"2d7d0700","hex_latitude":"05c90998","is_valid_coordinates":true} 
[2026-09-04 07:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852602624001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128045658132185088,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009239973169786880,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788486750000,"timestamp_ms":1788486750000,"timestamp_seconds":1788486750,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1e0f30"} 
[2026-09-04 07:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-04 07:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852602624001,"66":13559,"205":206,"85":12288,"24":3,"16":128045658132185088,"45":9009239973169786880},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-04 07:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852602624001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:23:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128045658132185088,"km_value":128045658132185.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009239973169786880,"description":"Unknown IO ID 45"} 
[2026-09-04 07:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852602624001,"power":13559,"cell_id":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":9009239973169786880}} 
[2026-09-04 07:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":171867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:23:22] local.INFO: GPS data processed {"connection_id":171867,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:23:22] local.INFO: Acknowledgment sent {"connection_id":171867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:23:22] local.INFO: TCP Data received {"connection_id":171867,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1e5198012d7d07c005c92d88000e016519..."} 
[2026-09-04 07:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1e5198012d7d07c005c92d88000e016519..."} 
[2026-09-04 07:23:22] local.INFO: Processing buffer {"connection_id":171867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1e5198012d7d07c005c92d88000e016519..."} 
[2026-09-04 07:23:22] local.INFO: Packet analysis {"connection_id":171867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1e"} 
[2026-09-04 07:23:22] local.INFO: Extracted packet for processing {"connection_id":171867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1e"} 
[2026-09-04 07:23:22] local.INFO: GPS Element Parsed {"raw_longitude":763168704,"raw_latitude":97070472,"longitude_deg":76.3168704,"latitude_deg":9.7070472,"altitude":14,"angle":357,"satellites":25,"speed":28,"hex_longitude":"2d7d07c0","hex_latitude":"05c92d88","is_valid_coordinates":true} 
[2026-09-04 07:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852608000001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128046104808783872,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009169604425652224,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788486767000,"timestamp_ms":1788486767000,"timestamp_seconds":1788486767,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1e5198"} 
[2026-09-04 07:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-04 07:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852608000001,"66":13678,"205":206,"85":12288,"24":28,"16":128046104808783872,"45":9009169604425652224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-04 07:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852608000001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:23:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128046104808783872,"km_value":128046104808783.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009169604425652224,"description":"Unknown IO ID 45"} 
[2026-09-04 07:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852608000001,"power":13678,"cell_id":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9009169604425652224}} 
[2026-09-04 07:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":171867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:23:22] local.INFO: GPS data processed {"connection_id":171867,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:23:22] local.INFO: Acknowledgment sent {"connection_id":171867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:23:53] local.INFO: TCP Data received {"connection_id":171867,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1e78a8012d7d060005c95498000e01661c..."} 
[2026-09-04 07:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1e78a8012d7d060005c95498000e01661c..."} 
[2026-09-04 07:23:53] local.INFO: Processing buffer {"connection_id":171867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1e78a8012d7d060005c95498000e01661c..."} 
[2026-09-04 07:23:53] local.INFO: Packet analysis {"connection_id":171867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1e"} 
[2026-09-04 07:23:53] local.INFO: Extracted packet for processing {"connection_id":171867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1e"} 
[2026-09-04 07:23:53] local.INFO: GPS Element Parsed {"raw_longitude":763168256,"raw_latitude":97080472,"longitude_deg":76.3168256,"latitude_deg":9.7080472,"altitude":14,"angle":358,"satellites":28,"speed":46,"hex_longitude":"2d7d0600","hex_latitude":"05c95498","is_valid_coordinates":true} 
[2026-09-04 07:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852612352001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128046590140088320,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009380710660540416,"note":"Value kept but may cause issues"} 
[2026-09-04 07:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788486777000,"timestamp_ms":1788486777000,"timestamp_seconds":1788486777,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1e78a8"} 
[2026-09-04 07:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 07:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852612352001,"66":13472,"205":206,"85":12288,"24":46,"16":128046590140088320,"45":9009380710660540416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-04 07:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852612352001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:23:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128046590140088320,"km_value":128046590140088.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009380710660540416,"description":"Unknown IO ID 45"} 
[2026-09-04 07:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852612352001,"power":13472,"cell_id":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9009380710660540416}} 
[2026-09-04 07:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":171867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:23:54] local.INFO: GPS data processed {"connection_id":171867,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:23:54] local.INFO: Acknowledgment sent {"connection_id":171867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:24:00] local.INFO: TCP Data received {"connection_id":173160,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:24:00] local.INFO: Processing buffer {"connection_id":173160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:24:00] local.INFO: IMEI packet received {"connection_id":173160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":173160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:24:05] local.INFO: TCP Data received {"connection_id":173160,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:24:05] local.INFO: Processing buffer {"connection_id":173160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:24:05] local.INFO: IMEI packet received {"connection_id":173160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":173160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:24:06] local.INFO: TCP Data received {"connection_id":173160,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:24:06] local.INFO: Processing buffer {"connection_id":173160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:24:06] local.INFO: Packet analysis {"connection_id":173160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:24:06] local.INFO: Extracted packet for processing {"connection_id":173160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852498432001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:24:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486623000,"timestamp_ms":1788486623000,"timestamp_seconds":1788486623,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1c1f18"} 
[2026-09-04 07:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 07:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852498432001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852498432001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:24:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:24:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852498432001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":173160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:24:06] local.INFO: GPS data processed {"connection_id":173160,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:24:06] local.INFO: Acknowledgment sent {"connection_id":173160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:24:10] local.INFO: TCP Data received {"connection_id":170765,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:24:10] local.INFO: Processing buffer {"connection_id":170765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:24:10] local.INFO: IMEI packet received {"connection_id":170765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":170765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:24:13] local.INFO: TCP Data received {"connection_id":170765,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:24:13] local.INFO: Processing buffer {"connection_id":170765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:24:13] local.INFO: IMEI packet received {"connection_id":170765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":170765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:24:14] local.INFO: TCP Data received {"connection_id":170765,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1e9400012d7d060005c977c8000c00011a..."} 
[2026-09-04 07:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1e9400012d7d060005c977c8000c00011a..."} 
[2026-09-04 07:24:14] local.INFO: Processing buffer {"connection_id":170765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1e9400012d7d060005c977c8000c00011a..."} 
[2026-09-04 07:24:14] local.INFO: Packet analysis {"connection_id":170765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1e"} 
[2026-09-04 07:24:14] local.INFO: Extracted packet for processing {"connection_id":170765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1e"} 
[2026-09-04 07:24:14] local.INFO: GPS Element Parsed {"raw_longitude":763168256,"raw_latitude":97089480,"longitude_deg":76.3168256,"latitude_deg":9.708948,"altitude":12,"angle":1,"satellites":26,"speed":55,"hex_longitude":"2d7d0600","hex_latitude":"05c977c8","is_valid_coordinates":true} 
[2026-09-04 07:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852614912001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128047028226752512,"note":"Value kept but may cause issues"} 
[2026-09-04 07:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008888129453856768,"note":"Value kept but may cause issues"} 
[2026-09-04 07:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788486784000,"timestamp_ms":1788486784000,"timestamp_seconds":1788486784,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1e9400"} 
[2026-09-04 07:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-04 07:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":170765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":170765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":170765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852614912001,"66":13537,"205":206,"85":12288,"24":55,"16":128047028226752512,"45":9008888129453856768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-04 07:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852614912001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:24:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 07:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128047028226752512,"km_value":128047028226752.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008888129453856768,"description":"Unknown IO ID 45"} 
[2026-09-04 07:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852614912001,"power":13537,"cell_id":206,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":9008888129453856768}} 
[2026-09-04 07:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":170765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:24:14] local.INFO: GPS data processed {"connection_id":170765,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:24:14] local.INFO: Acknowledgment sent {"connection_id":170765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:24:37] local.INFO: TCP Data received {"connection_id":173160,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:24:37] local.INFO: Processing buffer {"connection_id":173160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:24:37] local.INFO: Packet analysis {"connection_id":173160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:24:37] local.INFO: Extracted packet for processing {"connection_id":173160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:24:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852498432001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:24:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486623000,"timestamp_ms":1788486623000,"timestamp_seconds":1788486623,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1c1f18"} 
[2026-09-04 07:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 07:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852498432001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852498432001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:24:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:24:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852498432001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":173160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:24:37] local.INFO: GPS data processed {"connection_id":173160,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:24:37] local.INFO: Acknowledgment sent {"connection_id":173160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:24:45] local.INFO: TCP Data received {"connection_id":170765,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1fcc80012d7d2f8005cb6700000800031d..."} 
[2026-09-04 07:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1fcc80012d7d2f8005cb6700000800031d..."} 
[2026-09-04 07:24:45] local.INFO: Processing buffer {"connection_id":170765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1fcc80012d7d2f8005cb6700000800031d..."} 
[2026-09-04 07:24:45] local.INFO: Packet analysis {"connection_id":170765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1f"} 
[2026-09-04 07:24:45] local.INFO: Extracted packet for processing {"connection_id":170765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1f"} 
[2026-09-04 07:24:45] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":97216256,"longitude_deg":76.317888,"latitude_deg":9.7216256,"altitude":8,"angle":3,"satellites":29,"speed":66,"hex_longitude":"2d7d2f80","hex_latitude":"05cb6700","is_valid_coordinates":true} 
[2026-09-04 07:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852635648001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128053195799789568,"note":"Value kept but may cause issues"} 
[2026-09-04 07:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019865653577848832,"note":"Value kept but may cause issues"} 
[2026-09-04 07:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788486864000,"timestamp_ms":1788486864000,"timestamp_seconds":1788486864,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1fcc80"} 
[2026-09-04 07:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-04 07:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":170765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":170765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":170765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852635648001,"66":13613,"131":206,"85":15104,"24":66,"16":128053195799789568,"45":9019865653577848832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-04 07:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852635648001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:24:45] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 07:24:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128053195799789568,"km_value":128053195799789.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019865653577848832,"description":"Unknown IO ID 45"} 
[2026-09-04 07:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852635648001,"power":13613,"unknown_131":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":9019865653577848832}} 
[2026-09-04 07:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":170765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:24:45] local.INFO: GPS data processed {"connection_id":170765,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:24:45] local.INFO: Acknowledgment sent {"connection_id":170765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:25:01] local.INFO: TCP Data received {"connection_id":170463,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:25:01] local.INFO: Processing buffer {"connection_id":170463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:25:01] local.INFO: IMEI packet received {"connection_id":170463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":170463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:25:05] local.INFO: TCP Data received {"connection_id":170463,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:25:05] local.INFO: Processing buffer {"connection_id":170463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:25:05] local.INFO: IMEI packet received {"connection_id":170463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":170463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:25:06] local.INFO: TCP Data received {"connection_id":170463,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:25:06] local.INFO: Processing buffer {"connection_id":170463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:25:06] local.INFO: Packet analysis {"connection_id":170463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:25:06] local.INFO: Extracted packet for processing {"connection_id":170463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:25:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852498432001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:25:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486623000,"timestamp_ms":1788486623000,"timestamp_seconds":1788486623,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1c1f18"} 
[2026-09-04 07:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 07:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852498432001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852498432001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:25:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:25:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852498432001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":170463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:25:06] local.INFO: GPS data processed {"connection_id":170463,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:25:06] local.INFO: Acknowledgment sent {"connection_id":170463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:25:10] local.INFO: TCP Data received {"connection_id":171868,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:25:10] local.INFO: Processing buffer {"connection_id":171868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:25:10] local.INFO: IMEI packet received {"connection_id":171868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":171868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:25:12] local.INFO: TCP Data received {"connection_id":171868,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:25:12] local.INFO: Processing buffer {"connection_id":171868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:25:12] local.INFO: IMEI packet received {"connection_id":171868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":171868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:25:15] local.INFO: TCP Data received {"connection_id":171868,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:25:15] local.INFO: Processing buffer {"connection_id":171868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:25:15] local.INFO: IMEI packet received {"connection_id":171868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":171868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:25:16] local.INFO: TCP Data received {"connection_id":171868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1fe3f0012d7d320005cb8cc0000a00041e..."} 
[2026-09-04 07:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1fe3f0012d7d320005cb8cc0000a00041e..."} 
[2026-09-04 07:25:16] local.INFO: Processing buffer {"connection_id":171868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1fe3f0012d7d320005cb8cc0000a00041e..."} 
[2026-09-04 07:25:16] local.INFO: Packet analysis {"connection_id":171868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1f"} 
[2026-09-04 07:25:16] local.INFO: Extracted packet for processing {"connection_id":171868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1f"} 
[2026-09-04 07:25:16] local.INFO: GPS Element Parsed {"raw_longitude":763179520,"raw_latitude":97225920,"longitude_deg":76.317952,"latitude_deg":9.722592,"altitude":10,"angle":4,"satellites":30,"speed":59,"hex_longitude":"2d7d3200","hex_latitude":"05cb8cc0","is_valid_coordinates":true} 
[2026-09-04 07:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852637184001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128053663951224832,"note":"Value kept but may cause issues"} 
[2026-09-04 07:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020569341022109696,"note":"Value kept but may cause issues"} 
[2026-09-04 07:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788486870000,"timestamp_ms":1788486870000,"timestamp_seconds":1788486870,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1fe3f0"} 
[2026-09-04 07:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-04 07:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852637184001,"66":13689,"131":206,"85":15104,"24":59,"16":128053663951224832,"45":9020569341022109696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-04 07:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852637184001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:25:16] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 07:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128053663951224832,"km_value":128053663951224.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020569341022109696,"description":"Unknown IO ID 45"} 
[2026-09-04 07:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852637184001,"power":13689,"unknown_131":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9020569341022109696}} 
[2026-09-04 07:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":171868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:25:16] local.INFO: GPS data processed {"connection_id":171868,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:25:16] local.INFO: Acknowledgment sent {"connection_id":171868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:25:37] local.INFO: TCP Data received {"connection_id":170463,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:25:37] local.INFO: Processing buffer {"connection_id":170463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1c1f18012cee7040072e2b900035006226..."} 
[2026-09-04 07:25:37] local.INFO: Packet analysis {"connection_id":170463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:25:37] local.INFO: Extracted packet for processing {"connection_id":170463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1c"} 
[2026-09-04 07:25:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852498432001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:25:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486623000,"timestamp_ms":1788486623000,"timestamp_seconds":1788486623,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1c1f18"} 
[2026-09-04 07:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 07:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852498432001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852498432001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:25:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:25:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852498432001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":170463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:25:37] local.INFO: GPS data processed {"connection_id":170463,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:25:37] local.INFO: Acknowledgment sent {"connection_id":170463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:25:47] local.INFO: TCP Data received {"connection_id":171868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a1fff48012d7d358005cbb1f8000b00061d..."} 
[2026-09-04 07:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a1fff48012d7d358005cbb1f8000b00061d..."} 
[2026-09-04 07:25:47] local.INFO: Processing buffer {"connection_id":171868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a1fff48012d7d358005cbb1f8000b00061d..."} 
[2026-09-04 07:25:47] local.INFO: Packet analysis {"connection_id":171868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a1f"} 
[2026-09-04 07:25:47] local.INFO: Extracted packet for processing {"connection_id":171868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a1f"} 
[2026-09-04 07:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":97235448,"longitude_deg":76.3180416,"latitude_deg":9.7235448,"altitude":11,"angle":6,"satellites":29,"speed":48,"hex_longitude":"2d7d3580","hex_latitude":"05cbb1f8","is_valid_coordinates":true} 
[2026-09-04 07:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852638720001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128054127807692800,"note":"Value kept but may cause issues"} 
[2026-09-04 07:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021273028466360320,"note":"Value kept but may cause issues"} 
[2026-09-04 07:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788486877000,"timestamp_ms":1788486877000,"timestamp_seconds":1788486877,"priority":1,"record_length":96,"hex_timestamp":"000001a06a1fff48"} 
[2026-09-04 07:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-04 07:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":171868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":171868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":171868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852638720001,"66":13493,"131":206,"85":15104,"24":48,"16":128054127807692800,"45":9021273028466360320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-04 07:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852638720001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:25:47] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 07:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128054127807692800,"km_value":128054127807692.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021273028466360320,"description":"Unknown IO ID 45"} 
[2026-09-04 07:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852638720001,"power":13493,"unknown_131":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9021273028466360320}} 
[2026-09-04 07:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":171868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:25:48] local.INFO: GPS data processed {"connection_id":171868,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:25:48] local.INFO: Acknowledgment sent {"connection_id":171868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:26:00] local.INFO: TCP Data received {"connection_id":173161,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:26:00] local.INFO: Processing buffer {"connection_id":173161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:26:00] local.INFO: IMEI packet received {"connection_id":173161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":173161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:26:02] local.INFO: TCP Data received {"connection_id":173161,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:26:02] local.INFO: Processing buffer {"connection_id":173161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:26:02] local.INFO: IMEI packet received {"connection_id":173161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":173161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:26:05] local.INFO: TCP Data received {"connection_id":173161,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:26:05] local.INFO: Processing buffer {"connection_id":173161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:26:05] local.INFO: IMEI packet received {"connection_id":173161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":173161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:26:06] local.INFO: TCP Data received {"connection_id":173161,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:26:06] local.INFO: Processing buffer {"connection_id":173161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:26:06] local.INFO: Packet analysis {"connection_id":173161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:26:06] local.INFO: Extracted packet for processing {"connection_id":173161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:26:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852575488001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486924000,"timestamp_ms":1788486924000,"timestamp_seconds":1788486924,"priority":1,"record_length":96,"hex_timestamp":"000001a06a20b6e0"} 
[2026-09-04 07:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 07:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852575488001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852575488001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:26:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852575488001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":173161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:26:06] local.INFO: GPS data processed {"connection_id":173161,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:26:06] local.INFO: Acknowledgment sent {"connection_id":173161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:26:10] local.INFO: TCP Data received {"connection_id":170464,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:26:10] local.INFO: Processing buffer {"connection_id":170464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:26:10] local.INFO: IMEI packet received {"connection_id":170464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":170464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:26:14] local.INFO: TCP Data received {"connection_id":170464,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:26:14] local.INFO: Processing buffer {"connection_id":170464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:26:14] local.INFO: IMEI packet received {"connection_id":170464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":170464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:26:15] local.INFO: TCP Data received {"connection_id":170464,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a212ff8012d7d4b4005cd43c0000601611d..."} 
[2026-09-04 07:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a212ff8012d7d4b4005cd43c0000601611d..."} 
[2026-09-04 07:26:15] local.INFO: Processing buffer {"connection_id":170464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a212ff8012d7d4b4005cd43c0000601611d..."} 
[2026-09-04 07:26:15] local.INFO: Packet analysis {"connection_id":170464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a21"} 
[2026-09-04 07:26:15] local.INFO: Extracted packet for processing {"connection_id":170464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a21"} 
[2026-09-04 07:26:15] local.INFO: GPS Element Parsed {"raw_longitude":763185984,"raw_latitude":97338304,"longitude_deg":76.3185984,"latitude_deg":9.7338304,"altitude":6,"angle":353,"satellites":29,"speed":63,"hex_longitude":"2d7d4b40","hex_latitude":"05cd43c0","is_valid_coordinates":true} 
[2026-09-04 07:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852658944001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128059152919429120,"note":"Value kept but may cause issues"} 
[2026-09-04 07:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029365434073133056,"note":"Value kept but may cause issues"} 
[2026-09-04 07:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788486955000,"timestamp_ms":1788486955000,"timestamp_seconds":1788486955,"priority":1,"record_length":96,"hex_timestamp":"000001a06a212ff8"} 
[2026-09-04 07:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-04 07:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852658944001,"66":13515,"129":206,"85":15104,"24":63,"16":128059152919429120,"45":9029365434073133056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-04 07:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852658944001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:26:15] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-04 07:26:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128059152919429120,"km_value":128059152919429.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029365434073133056,"description":"Unknown IO ID 45"} 
[2026-09-04 07:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852658944001,"power":13515,"unknown_129":206,"unknown_85":15104,"ignition":63,"odometer":null,"unknown_45":9029365434073133056}} 
[2026-09-04 07:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":170464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:26:15] local.INFO: GPS data processed {"connection_id":170464,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:26:15] local.INFO: Acknowledgment sent {"connection_id":170464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:26:37] local.INFO: TCP Data received {"connection_id":173161,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:26:37] local.INFO: Processing buffer {"connection_id":173161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:26:37] local.INFO: Packet analysis {"connection_id":173161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:26:37] local.INFO: Extracted packet for processing {"connection_id":173161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:26:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852575488001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486924000,"timestamp_ms":1788486924000,"timestamp_seconds":1788486924,"priority":1,"record_length":96,"hex_timestamp":"000001a06a20b6e0"} 
[2026-09-04 07:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 07:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852575488001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852575488001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:26:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852575488001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":173161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:26:37] local.INFO: GPS data processed {"connection_id":173161,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:26:37] local.INFO: Acknowledgment sent {"connection_id":173161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:26:46] local.INFO: TCP Data received {"connection_id":170464,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a214768012d7d470005cd6958000501611e..."} 
[2026-09-04 07:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a214768012d7d470005cd6958000501611e..."} 
[2026-09-04 07:26:46] local.INFO: Processing buffer {"connection_id":170464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a214768012d7d470005cd6958000501611e..."} 
[2026-09-04 07:26:46] local.INFO: Packet analysis {"connection_id":170464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a21"} 
[2026-09-04 07:26:46] local.INFO: Extracted packet for processing {"connection_id":170464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a21"} 
[2026-09-04 07:26:46] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":97347928,"longitude_deg":76.3184896,"latitude_deg":9.7347928,"altitude":5,"angle":353,"satellites":30,"speed":64,"hex_longitude":"2d7d4700","hex_latitude":"05cd6958","is_valid_coordinates":true} 
[2026-09-04 07:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852660480001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128059621070864384,"note":"Value kept but may cause issues"} 
[2026-09-04 07:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028380271657074688,"note":"Value kept but may cause issues"} 
[2026-09-04 07:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788486961000,"timestamp_ms":1788486961000,"timestamp_seconds":1788486961,"priority":1,"record_length":96,"hex_timestamp":"000001a06a214768"} 
[2026-09-04 07:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-04 07:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":170464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":170464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":170464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852660480001,"66":13678,"129":206,"85":15104,"24":64,"16":128059621070864384,"45":9028380271657074688},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-04 07:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852660480001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:26:46] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-04 07:26:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128059621070864384,"km_value":128059621070864.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028380271657074688,"description":"Unknown IO ID 45"} 
[2026-09-04 07:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852660480001,"power":13678,"unknown_129":206,"unknown_85":15104,"ignition":64,"odometer":null,"unknown_45":9028380271657074688}} 
[2026-09-04 07:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":170464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:26:46] local.INFO: GPS data processed {"connection_id":170464,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:26:46] local.INFO: Acknowledgment sent {"connection_id":170464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:27:05] local.INFO: TCP Data received {"connection_id":171869,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:27:05] local.INFO: Processing buffer {"connection_id":171869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:27:05] local.INFO: IMEI packet received {"connection_id":171869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":171869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:27:10] local.INFO: TCP Data received {"connection_id":170766,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:27:10] local.INFO: Processing buffer {"connection_id":170766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:27:10] local.INFO: IMEI packet received {"connection_id":170766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":170766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:27:10] local.INFO: TCP Data received {"connection_id":171869,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:27:10] local.INFO: Processing buffer {"connection_id":171869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:27:10] local.INFO: IMEI packet received {"connection_id":171869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":171869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:27:11] local.INFO: TCP Data received {"connection_id":171869,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:27:11] local.INFO: Processing buffer {"connection_id":171869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:27:11] local.INFO: Packet analysis {"connection_id":171869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:27:11] local.INFO: Extracted packet for processing {"connection_id":171869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:27:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852575488001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788486924000,"timestamp_ms":1788486924000,"timestamp_seconds":1788486924,"priority":1,"record_length":96,"hex_timestamp":"000001a06a20b6e0"} 
[2026-09-04 07:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 07:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852575488001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852575488001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:27:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852575488001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":171869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:27:11] local.INFO: GPS data processed {"connection_id":171869,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:27:11] local.INFO: Acknowledgment sent {"connection_id":171869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:27:12] local.INFO: TCP Data received {"connection_id":170766,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:27:12] local.INFO: Processing buffer {"connection_id":170766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:27:12] local.INFO: IMEI packet received {"connection_id":170766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":170766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:27:15] local.INFO: TCP Data received {"connection_id":170766,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:27:15] local.INFO: Processing buffer {"connection_id":170766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:27:15] local.INFO: IMEI packet received {"connection_id":170766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":170766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:27:15] local.INFO: TCP Data received {"connection_id":171869,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:27:15] local.INFO: Processing buffer {"connection_id":171869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:27:15] local.INFO: Packet analysis {"connection_id":171869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:27:15] local.INFO: Extracted packet for processing {"connection_id":171869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:27:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852575488001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:27:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788486924000,"timestamp_ms":1788486924000,"timestamp_seconds":1788486924,"priority":1,"record_length":96,"hex_timestamp":"000001a06a20b6e0"} 
[2026-09-04 07:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 07:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852575488001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852575488001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:27:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:27:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852575488001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":171869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:27:15] local.INFO: GPS data processed {"connection_id":171869,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:27:15] local.INFO: Acknowledgment sent {"connection_id":171869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:27:16] local.INFO: TCP Data received {"connection_id":170766,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a215ed8012d7d430005cd8f80000501611e..."} 
[2026-09-04 07:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a215ed8012d7d430005cd8f80000501611e..."} 
[2026-09-04 07:27:16] local.INFO: Processing buffer {"connection_id":170766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a215ed8012d7d430005cd8f80000501611e..."} 
[2026-09-04 07:27:16] local.INFO: Packet analysis {"connection_id":170766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a21"} 
[2026-09-04 07:27:16] local.INFO: Extracted packet for processing {"connection_id":170766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a21"} 
[2026-09-04 07:27:16] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97357696,"longitude_deg":76.3183872,"latitude_deg":9.7357696,"altitude":5,"angle":353,"satellites":30,"speed":66,"hex_longitude":"2d7d4300","hex_latitude":"05cd8f80","is_valid_coordinates":true} 
[2026-09-04 07:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852662016001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128060097812234240,"note":"Value kept but may cause issues"} 
[2026-09-04 07:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027184003008518144,"note":"Value kept but may cause issues"} 
[2026-09-04 07:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788486967000,"timestamp_ms":1788486967000,"timestamp_seconds":1788486967,"priority":1,"record_length":96,"hex_timestamp":"000001a06a215ed8"} 
[2026-09-04 07:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 07:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852662016001,"66":13559,"129":206,"85":15104,"24":66,"16":128060097812234240,"45":9027184003008518144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-04 07:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852662016001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:27:16] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-04 07:27:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128060097812234240,"km_value":128060097812234.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027184003008518144,"description":"Unknown IO ID 45"} 
[2026-09-04 07:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852662016001,"power":13559,"unknown_129":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":9027184003008518144}} 
[2026-09-04 07:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":170766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:27:16] local.INFO: GPS data processed {"connection_id":170766,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:27:16] local.INFO: Acknowledgment sent {"connection_id":170766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:27:56] local.INFO: TCP Data received {"connection_id":170766,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a22a6f8012d7d490005cf4980000401671f..."} 
[2026-09-04 07:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a22a6f8012d7d490005cf4980000401671f..."} 
[2026-09-04 07:27:56] local.INFO: Processing buffer {"connection_id":170766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a22a6f8012d7d490005cf4980000401671f..."} 
[2026-09-04 07:27:56] local.INFO: Packet analysis {"connection_id":170766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a22"} 
[2026-09-04 07:27:56] local.INFO: Extracted packet for processing {"connection_id":170766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a22"} 
[2026-09-04 07:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763185408,"raw_latitude":97470848,"longitude_deg":76.3185408,"latitude_deg":9.7470848,"altitude":4,"angle":359,"satellites":31,"speed":54,"hex_longitude":"2d7d4900","hex_latitude":"05cf4980","is_valid_coordinates":true} 
[2026-09-04 07:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852683264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128065591075405824,"note":"Value kept but may cause issues"} 
[2026-09-04 07:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027958059223373824,"note":"Value kept but may cause issues"} 
[2026-09-04 07:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788487051000,"timestamp_ms":1788487051000,"timestamp_seconds":1788487051,"priority":1,"record_length":96,"hex_timestamp":"000001a06a22a6f8"} 
[2026-09-04 07:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 07:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852683264001,"66":13493,"235":206,"85":15104,"24":54,"16":128065591075405824,"45":9027958059223373824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-04 07:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852683264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:27:56] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-04 07:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128065591075405824,"km_value":128065591075405.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027958059223373824,"description":"Unknown IO ID 45"} 
[2026-09-04 07:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852683264001,"power":13493,"unknown_235":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9027958059223373824}} 
[2026-09-04 07:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":170766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:27:56] local.INFO: GPS data processed {"connection_id":170766,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:27:56] local.INFO: Acknowledgment sent {"connection_id":170766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:28:00] local.INFO: TCP Data received {"connection_id":173162,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:28:00] local.INFO: Processing buffer {"connection_id":173162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:28:00] local.INFO: IMEI packet received {"connection_id":173162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":173162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:28:05] local.INFO: TCP Data received {"connection_id":173162,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:28:05] local.INFO: Processing buffer {"connection_id":173162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:28:05] local.INFO: IMEI packet received {"connection_id":173162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":173162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:28:06] local.INFO: TCP Data received {"connection_id":173162,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:28:06] local.INFO: Processing buffer {"connection_id":173162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:28:06] local.INFO: Packet analysis {"connection_id":173162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:28:06] local.INFO: Extracted packet for processing {"connection_id":173162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:28:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852575488001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486924000,"timestamp_ms":1788486924000,"timestamp_seconds":1788486924,"priority":1,"record_length":96,"hex_timestamp":"000001a06a20b6e0"} 
[2026-09-04 07:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 07:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852575488001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852575488001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:28:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:28:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852575488001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":173162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:28:06] local.INFO: GPS data processed {"connection_id":173162,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:28:06] local.INFO: Acknowledgment sent {"connection_id":173162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:28:15] local.INFO: TCP Data received {"connection_id":170465,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:28:15] local.INFO: Processing buffer {"connection_id":170465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:28:15] local.INFO: IMEI packet received {"connection_id":170465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":170465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:28:16] local.INFO: TCP Data received {"connection_id":170465,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:28:16] local.INFO: Processing buffer {"connection_id":170465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:28:16] local.INFO: IMEI packet received {"connection_id":170465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":170465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:28:20] local.INFO: TCP Data received {"connection_id":170465,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:28:20] local.INFO: Processing buffer {"connection_id":170465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:28:20] local.INFO: IMEI packet received {"connection_id":170465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":170465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:28:20] local.INFO: TCP Data received {"connection_id":170465,"ip":"42.109.136.8","data_length":1340,"data_hex":"000000000000030f8e0a000001a06a22c250012d7d490005cf6d900005000020..."} 
[2026-09-04 07:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170465,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a06a22c250012d7d490005cf6d900005000020..."} 
[2026-09-04 07:28:20] local.INFO: Processing buffer {"connection_id":170465,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a06a22c250012d7d490005cf6d900005000020..."} 
[2026-09-04 07:28:20] local.INFO: Packet analysis {"connection_id":170465,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a06a22"} 
[2026-09-04 07:28:20] local.INFO: Extracted packet for processing {"connection_id":170465,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a06a22"} 
[2026-09-04 07:28:20] local.INFO: GPS Element Parsed {"raw_longitude":763185408,"raw_latitude":97480080,"longitude_deg":76.3185408,"latitude_deg":9.748008,"altitude":5,"angle":0,"satellites":32,"speed":51,"hex_longitude":"2d7d4900","hex_latitude":"05cf6d90","is_valid_coordinates":true} 
[2026-09-04 07:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852685056001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128066037752004608,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027746952993406976,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788487058000,"timestamp_ms":1788487058000,"timestamp_seconds":1788487058,"priority":1,"record_length":96,"hex_timestamp":"000001a06a22c250"} 
[2026-09-04 07:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-04 07:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":170465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":170465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":170465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852685056001,"66":13678,"235":206,"85":15104,"24":51,"16":128066037752004608,"45":9027746952993406976},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-04 07:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852685056001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:28:20] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-04 07:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128066037752004608,"km_value":128066037752004.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027746952993406976,"description":"Unknown IO ID 45"} 
[2026-09-04 07:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852685056001,"power":13678,"unknown_235":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9027746952993406976}} 
[2026-09-04 07:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":170465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:28:20] local.INFO: GPS data processed {"connection_id":170465,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:28:20] local.INFO: Acknowledgment sent {"connection_id":170465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:28:20] local.INFO: Packet analysis {"connection_id":170465,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a06a22"} 
[2026-09-04 07:28:20] local.INFO: Incomplete packet, waiting for more data {"connection_id":170465,"needed":795,"available":545} 
[2026-09-04 07:28:21] local.INFO: TCP Data received {"connection_id":170465,"ip":"42.109.136.8","data_length":1045,"data_hex":"e3001001c6f95200000000000001a06a222228012d7d49c005ce9418000d0002..."} 
[2026-09-04 07:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170465,"packet_length":1045,"packet_hex":"e3001001c6f95200000000000001a06a222228012d7d49c005ce9418000d0002..."} 
[2026-09-04 07:28:21] local.INFO: Processing buffer {"connection_id":170465,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06a22dda8012d7d494005cf91480006016720..."} 
[2026-09-04 07:28:21] local.INFO: Packet analysis {"connection_id":170465,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06a22"} 
[2026-09-04 07:28:21] local.INFO: Extracted packet for processing {"connection_id":170465,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a22"} 
[2026-09-04 07:28:21] local.INFO: GPS Element Parsed {"raw_longitude":763185472,"raw_latitude":97489224,"longitude_deg":76.3185472,"latitude_deg":9.7489224,"altitude":6,"angle":359,"satellites":32,"speed":52,"hex_longitude":"2d7d4940","hex_latitude":"05cf9148","is_valid_coordinates":true} 
[2026-09-04 07:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852686848001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128066480133636096,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027746952995770368,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788487065000,"timestamp_ms":1788487065000,"timestamp_seconds":1788487065,"priority":1,"record_length":96,"hex_timestamp":"000001a06a22dda8"} 
[2026-09-04 07:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 07:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":170465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":170465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":170465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852686848001,"66":13580,"235":206,"85":15104,"24":52,"16":128066480133636096,"45":9027746952995770368},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-04 07:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852686848001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:28:21] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-04 07:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128066480133636096,"km_value":128066480133636.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027746952995770368,"description":"Unknown IO ID 45"} 
[2026-09-04 07:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852686848001,"power":13580,"unknown_235":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9027746952995770368}} 
[2026-09-04 07:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":170465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:28:21] local.INFO: GPS data processed {"connection_id":170465,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:28:21] local.INFO: Acknowledgment sent {"connection_id":170465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:28:21] local.INFO: Packet analysis {"connection_id":170465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a22"} 
[2026-09-04 07:28:21] local.INFO: Extracted packet for processing {"connection_id":170465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a22"} 
[2026-09-04 07:28:21] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":97498544,"longitude_deg":76.31856,"latitude_deg":9.7498544,"altitude":5,"angle":0,"satellites":32,"speed":53,"hex_longitude":"2d7d49c0","hex_latitude":"05cfb5b0","is_valid_coordinates":true} 
[2026-09-04 07:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852688640001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128066931105202176,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027817321742288896,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788487072000,"timestamp_ms":1788487072000,"timestamp_seconds":1788487072,"priority":1,"record_length":96,"hex_timestamp":"000001a06a22f900"} 
[2026-09-04 07:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630072,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3468095488,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":73,"raw_value":3221606105,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937947371,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4109163025045389312,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":206,"raw_value":4289724425,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2800419022,"corrected_to":0} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3623955837,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917245246099029,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":198,"raw_value":4189519872,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":125,"raw_value":5314253945103187981,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755635664388337,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:21] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,235,85,24,241,157,16,251,160,194,45,109,5,32,10,66,166,73,4,31,250,139,192,1,240,214,227,106,206,113,205,57,88,208,239,53,2,198,12,49,125,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2800419022,"validated":0}]} 
[2026-09-04 07:28:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432740426344300544,"timestamp_seconds":432740426344300.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 07:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":170465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":170465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":170465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852688640001,"66":13276,"235":206,"85":15104,"24":53,"16":128066931105202176,"45":9027817321742288896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-04 07:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852688640001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:28:21] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-04 07:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128066931105202176,"km_value":128066931105202.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027817321742288896,"description":"Unknown IO ID 45"} 
[2026-09-04 07:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852688640001,"power":13276,"unknown_235":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9027817321742288896}} 
[2026-09-04 07:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":170465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:28:21] local.INFO: GPS data processed {"connection_id":170465,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:28:21] local.INFO: Acknowledgment sent {"connection_id":170465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:28:37] local.INFO: TCP Data received {"connection_id":173162,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:28:37] local.INFO: Processing buffer {"connection_id":173162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:28:37] local.INFO: Packet analysis {"connection_id":173162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:28:37] local.INFO: Extracted packet for processing {"connection_id":173162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:28:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852575488001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486924000,"timestamp_ms":1788486924000,"timestamp_seconds":1788486924,"priority":1,"record_length":96,"hex_timestamp":"000001a06a20b6e0"} 
[2026-09-04 07:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 07:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852575488001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852575488001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:28:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:28:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:28:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852575488001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":173162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:28:37] local.INFO: GPS data processed {"connection_id":173162,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:28:37] local.INFO: Acknowledgment sent {"connection_id":173162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:28:53] local.INFO: TCP Data received {"connection_id":170465,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a231458012d7d4a0005cfdaf00005000021..."} 
[2026-09-04 07:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a231458012d7d4a0005cfdaf00005000021..."} 
[2026-09-04 07:28:53] local.INFO: Processing buffer {"connection_id":170465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a231458012d7d4a0005cfdaf00005000021..."} 
[2026-09-04 07:28:53] local.INFO: Packet analysis {"connection_id":170465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a23"} 
[2026-09-04 07:28:53] local.INFO: Extracted packet for processing {"connection_id":170465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a23"} 
[2026-09-04 07:28:53] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97508080,"longitude_deg":76.3185664,"latitude_deg":9.750808,"altitude":5,"angle":0,"satellites":33,"speed":53,"hex_longitude":"2d7d4a00","hex_latitude":"05cfdaf0","is_valid_coordinates":true} 
[2026-09-04 07:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852690432001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128067394961670144,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027958059233030144,"note":"Value kept but may cause issues"} 
[2026-09-04 07:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788487079000,"timestamp_ms":1788487079000,"timestamp_seconds":1788487079,"priority":1,"record_length":96,"hex_timestamp":"000001a06a231458"} 
[2026-09-04 07:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-04 07:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852690432001,"66":13526,"198":206,"85":15104,"24":53,"16":128067394961670144,"45":9027958059233030144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-04 07:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852690432001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:28:53] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-04 07:28:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128067394961670144,"km_value":128067394961670.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027958059233030144,"description":"Unknown IO ID 45"} 
[2026-09-04 07:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852690432001,"power":13526,"unknown_198":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9027958059233030144}} 
[2026-09-04 07:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":170465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:28:53] local.INFO: GPS data processed {"connection_id":170465,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:28:53] local.INFO: Acknowledgment sent {"connection_id":170465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:29:10] local.INFO: TCP Data received {"connection_id":170767,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:29:10] local.INFO: Processing buffer {"connection_id":170767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:29:10] local.INFO: IMEI packet received {"connection_id":170767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":170767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:29:14] local.INFO: TCP Data received {"connection_id":170767,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:29:14] local.INFO: Processing buffer {"connection_id":170767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:29:14] local.INFO: IMEI packet received {"connection_id":170767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":170767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:29:15] local.INFO: TCP Data received {"connection_id":170767,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a232fb0012d7d488005d000f00004016621..."} 
[2026-09-04 07:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a232fb0012d7d488005d000f00004016621..."} 
[2026-09-04 07:29:15] local.INFO: Processing buffer {"connection_id":170767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a232fb0012d7d488005d000f00004016621..."} 
[2026-09-04 07:29:15] local.INFO: Packet analysis {"connection_id":170767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a23"} 
[2026-09-04 07:29:15] local.INFO: Extracted packet for processing {"connection_id":170767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a23"} 
[2026-09-04 07:29:15] local.INFO: GPS Element Parsed {"raw_longitude":763185280,"raw_latitude":97517808,"longitude_deg":76.318528,"latitude_deg":9.7517808,"altitude":4,"angle":358,"satellites":33,"speed":54,"hex_longitude":"2d7d4880","hex_latitude":"05d000f0","is_valid_coordinates":true} 
[2026-09-04 07:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852692224001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128067867408072704,"note":"Value kept but may cause issues"} 
[2026-09-04 07:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427979649024,"note":"Value kept but may cause issues"} 
[2026-09-04 07:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788487086000,"timestamp_ms":1788487086000,"timestamp_seconds":1788487086,"priority":1,"record_length":96,"hex_timestamp":"000001a06a232fb0"} 
[2026-09-04 07:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 07:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852692224001,"66":13428,"198":206,"85":15104,"24":54,"16":128067867408072704,"45":9028028427979649024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-04 07:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852692224001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:29:15] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-04 07:29:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128067867408072704,"km_value":128067867408072.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427979649024,"description":"Unknown IO ID 45"} 
[2026-09-04 07:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852692224001,"power":13428,"unknown_198":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9028028427979649024}} 
[2026-09-04 07:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":170767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:29:15] local.INFO: GPS data processed {"connection_id":170767,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:29:15] local.INFO: Acknowledgment sent {"connection_id":170767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:29:47] local.INFO: TCP Data received {"connection_id":170767,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a246448012d7d34c005d15b480004016420..."} 
[2026-09-04 07:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a246448012d7d34c005d15b480004016420..."} 
[2026-09-04 07:29:47] local.INFO: Processing buffer {"connection_id":170767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a246448012d7d34c005d15b480004016420..."} 
[2026-09-04 07:29:47] local.INFO: Packet analysis {"connection_id":170767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a24"} 
[2026-09-04 07:29:47] local.INFO: Extracted packet for processing {"connection_id":170767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a24"} 
[2026-09-04 07:29:47] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":97606472,"longitude_deg":76.3180224,"latitude_deg":9.7606472,"altitude":4,"angle":356,"satellites":32,"speed":56,"hex_longitude":"2d7d34c0","hex_latitude":"05d15b48","is_valid_coordinates":true} 
[2026-09-04 07:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852712704001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128072179555237888,"note":"Value kept but may cause issues"} 
[2026-09-04 07:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539665956675584,"note":"Value kept but may cause issues"} 
[2026-09-04 07:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788487165000,"timestamp_ms":1788487165000,"timestamp_seconds":1788487165,"priority":1,"record_length":96,"hex_timestamp":"000001a06a246448"} 
[2026-09-04 07:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-04 07:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852712704001,"66":13722,"197":206,"85":15104,"24":56,"16":128072179555237888,"45":9022539665956675584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 07:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852712704001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:29:47] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 07:29:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128072179555237888,"km_value":128072179555237.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539665956675584,"description":"Unknown IO ID 45"} 
[2026-09-04 07:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852712704001,"power":13722,"unknown_197":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9022539665956675584}} 
[2026-09-04 07:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":170767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:29:47] local.INFO: GPS data processed {"connection_id":170767,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:29:47] local.INFO: Acknowledgment sent {"connection_id":170767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:30:10] local.INFO: TCP Data received {"connection_id":170466,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:30:10] local.INFO: Processing buffer {"connection_id":170466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:30:10] local.INFO: IMEI packet received {"connection_id":170466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":170466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:30:16] local.INFO: TCP Data received {"connection_id":170466,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:30:16] local.INFO: Processing buffer {"connection_id":170466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:30:16] local.INFO: IMEI packet received {"connection_id":170466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":170466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:30:17] local.INFO: TCP Data received {"connection_id":170466,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a247fa0012d7d31c005d181000004016320..."} 
[2026-09-04 07:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a247fa0012d7d31c005d181000004016320..."} 
[2026-09-04 07:30:17] local.INFO: Processing buffer {"connection_id":170466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a247fa0012d7d31c005d181000004016320..."} 
[2026-09-04 07:30:17] local.INFO: Packet analysis {"connection_id":170466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a24"} 
[2026-09-04 07:30:17] local.INFO: Extracted packet for processing {"connection_id":170466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a24"} 
[2026-09-04 07:30:17] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":97616128,"longitude_deg":76.3179456,"latitude_deg":9.7616128,"altitude":4,"angle":355,"satellites":32,"speed":50,"hex_longitude":"2d7d31c0","hex_latitude":"05d18100","is_valid_coordinates":true} 
[2026-09-04 07:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852714240001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128072647706673152,"note":"Value kept but may cause issues"} 
[2026-09-04 07:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047084749735936,"note":"Value kept but may cause issues"} 
[2026-09-04 07:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788487172000,"timestamp_ms":1788487172000,"timestamp_seconds":1788487172,"priority":1,"record_length":96,"hex_timestamp":"000001a06a247fa0"} 
[2026-09-04 07:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-04 07:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":170466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":170466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":170466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852714240001,"66":13450,"197":206,"85":15104,"24":50,"16":128072647706673152,"45":9022047084749735936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 07:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852714240001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:30:17] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 07:30:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128072647706673152,"km_value":128072647706673.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047084749735936,"description":"Unknown IO ID 45"} 
[2026-09-04 07:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852714240001,"power":13450,"unknown_197":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9022047084749735936}} 
[2026-09-04 07:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":170466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:30:17] local.INFO: GPS data processed {"connection_id":170466,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:30:17] local.INFO: Acknowledgment sent {"connection_id":170466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:30:53] local.INFO: TCP Data received {"connection_id":170466,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a249af8012d7d2e0005d19e98000301571f..."} 
[2026-09-04 07:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a249af8012d7d2e0005d19e98000301571f..."} 
[2026-09-04 07:30:53] local.INFO: Processing buffer {"connection_id":170466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a249af8012d7d2e0005d19e98000301571f..."} 
[2026-09-04 07:30:53] local.INFO: Packet analysis {"connection_id":170466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a24"} 
[2026-09-04 07:30:53] local.INFO: Extracted packet for processing {"connection_id":170466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a24"} 
[2026-09-04 07:30:53] local.INFO: GPS Element Parsed {"raw_longitude":763178496,"raw_latitude":97623704,"longitude_deg":76.3178496,"latitude_deg":9.7623704,"altitude":3,"angle":343,"satellites":31,"speed":33,"hex_longitude":"2d7d2e00","hex_latitude":"05d19e98","is_valid_coordinates":true} 
[2026-09-04 07:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852716032001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128073017073860608,"note":"Value kept but may cause issues"} 
[2026-09-04 07:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202659822075904,"note":"Value kept but may cause issues"} 
[2026-09-04 07:30:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 07:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788487179000,"timestamp_ms":1788487179000,"timestamp_seconds":1788487179,"priority":1,"record_length":96,"hex_timestamp":"000001a06a249af8"} 
[2026-09-04 07:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 07:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852716032001,"66":13493,"24":33,"85":15104,"16":128073017073860608,"45":9021202659822075904},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-04 07:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852716032001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:30:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128073017073860608,"km_value":128073017073860.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202659822075904,"description":"Unknown IO ID 45"} 
[2026-09-04 07:30:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457852716032001,"power":13493,"ignition":33,"unknown_85":15104,"odometer":null,"unknown_45":9021202659822075904}} 
[2026-09-04 07:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":170466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:30:53] local.INFO: GPS data processed {"connection_id":170466,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:30:53] local.INFO: Acknowledgment sent {"connection_id":170466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:31:10] local.INFO: TCP Data received {"connection_id":170768,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:31:10] local.INFO: Processing buffer {"connection_id":170768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:31:10] local.INFO: IMEI packet received {"connection_id":170768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":170768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:31:10] local.INFO: TCP Data received {"connection_id":170769,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:31:10] local.INFO: Processing buffer {"connection_id":170769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:31:10] local.INFO: IMEI packet received {"connection_id":170769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":170769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:31:15] local.INFO: TCP Data received {"connection_id":170768,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:31:15] local.INFO: Processing buffer {"connection_id":170768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:31:15] local.INFO: IMEI packet received {"connection_id":170768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":170768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:31:15] local.INFO: TCP Data received {"connection_id":170769,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:31:15] local.INFO: Processing buffer {"connection_id":170769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:31:15] local.INFO: IMEI packet received {"connection_id":170769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":170769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:31:16] local.INFO: TCP Data received {"connection_id":170768,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:31:16] local.INFO: Processing buffer {"connection_id":170768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:31:16] local.INFO: Packet analysis {"connection_id":170768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:31:16] local.INFO: Extracted packet for processing {"connection_id":170768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:31:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852575488001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:31:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788486924000,"timestamp_ms":1788486924000,"timestamp_seconds":1788486924,"priority":1,"record_length":96,"hex_timestamp":"000001a06a20b6e0"} 
[2026-09-04 07:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 07:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852575488001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852575488001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:31:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:31:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:31:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852575488001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":170768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:31:16] local.INFO: GPS data processed {"connection_id":170768,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:31:16] local.INFO: Acknowledgment sent {"connection_id":170768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:31:16] local.INFO: TCP Data received {"connection_id":170769,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a24b650012d7d270005d1b2200002016321..."} 
[2026-09-04 07:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a24b650012d7d270005d1b2200002016321..."} 
[2026-09-04 07:31:16] local.INFO: Processing buffer {"connection_id":170769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a24b650012d7d270005d1b2200002016321..."} 
[2026-09-04 07:31:16] local.INFO: Packet analysis {"connection_id":170769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a24"} 
[2026-09-04 07:31:16] local.INFO: Extracted packet for processing {"connection_id":170769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a24"} 
[2026-09-04 07:31:16] local.INFO: GPS Element Parsed {"raw_longitude":763176704,"raw_latitude":97628704,"longitude_deg":76.3176704,"latitude_deg":9.7628704,"altitude":2,"angle":355,"satellites":33,"speed":29,"hex_longitude":"2d7d2700","hex_latitude":"05d1b220","is_valid_coordinates":true} 
[2026-09-04 07:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852717824001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128073279066865664,"note":"Value kept but may cause issues"} 
[2026-09-04 07:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020147128661350400,"note":"Value kept but may cause issues"} 
[2026-09-04 07:31:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 07:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788487186000,"timestamp_ms":1788487186000,"timestamp_seconds":1788487186,"priority":1,"record_length":96,"hex_timestamp":"000001a06a24b650"} 
[2026-09-04 07:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-04 07:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852717824001,"66":13526,"24":29,"85":15104,"16":128073279066865664,"45":9020147128661350400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-04 07:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852717824001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:31:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128073279066865664,"km_value":128073279066865.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020147128661350400,"description":"Unknown IO ID 45"} 
[2026-09-04 07:31:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457852717824001,"power":13526,"ignition":29,"unknown_85":15104,"odometer":null,"unknown_45":9020147128661350400}} 
[2026-09-04 07:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":170769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:31:16] local.INFO: GPS data processed {"connection_id":170769,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:31:16] local.INFO: Acknowledgment sent {"connection_id":170769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:31:47] local.INFO: TCP Data received {"connection_id":170769,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a24dd60012d7d240005d1d9280005016320..."} 
[2026-09-04 07:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a24dd60012d7d240005d1d9280005016320..."} 
[2026-09-04 07:31:47] local.INFO: Processing buffer {"connection_id":170769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a24dd60012d7d240005d1d9280005016320..."} 
[2026-09-04 07:31:47] local.INFO: Packet analysis {"connection_id":170769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a24"} 
[2026-09-04 07:31:47] local.INFO: Extracted packet for processing {"connection_id":170769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a24"} 
[2026-09-04 07:31:47] local.INFO: GPS Element Parsed {"raw_longitude":763175936,"raw_latitude":97638696,"longitude_deg":76.3175936,"latitude_deg":9.7638696,"altitude":5,"angle":355,"satellites":32,"speed":46,"hex_longitude":"2d7d2400","hex_latitude":"05d1d928","is_valid_coordinates":true} 
[2026-09-04 07:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852719616001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128073764398170112,"note":"Value kept but may cause issues"} 
[2026-09-04 07:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018176803825655808,"note":"Value kept but may cause issues"} 
[2026-09-04 07:31:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 07:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788487196000,"timestamp_ms":1788487196000,"timestamp_seconds":1788487196,"priority":1,"record_length":96,"hex_timestamp":"000001a06a24dd60"} 
[2026-09-04 07:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 07:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852719616001,"66":13428,"24":46,"85":15104,"16":128073764398170112,"45":9018176803825655808},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-04 07:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852719616001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:31:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128073764398170112,"km_value":128073764398170.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018176803825655808,"description":"Unknown IO ID 45"} 
[2026-09-04 07:31:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457852719616001,"power":13428,"ignition":46,"unknown_85":15104,"odometer":null,"unknown_45":9018176803825655808}} 
[2026-09-04 07:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":170769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:31:47] local.INFO: GPS data processed {"connection_id":170769,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:31:47] local.INFO: Acknowledgment sent {"connection_id":170769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:32:00] local.INFO: TCP Data received {"connection_id":171871,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:32:00] local.INFO: Processing buffer {"connection_id":171871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:32:00] local.INFO: IMEI packet received {"connection_id":171871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":171871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:32:05] local.INFO: TCP Data received {"connection_id":171871,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:32:05] local.INFO: Processing buffer {"connection_id":171871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:32:05] local.INFO: IMEI packet received {"connection_id":171871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":171871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:32:06] local.INFO: TCP Data received {"connection_id":171871,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:32:06] local.INFO: Processing buffer {"connection_id":171871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:32:06] local.INFO: Packet analysis {"connection_id":171871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:32:06] local.INFO: Extracted packet for processing {"connection_id":171871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:32:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852575488001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:32:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486924000,"timestamp_ms":1788486924000,"timestamp_seconds":1788486924,"priority":1,"record_length":96,"hex_timestamp":"000001a06a20b6e0"} 
[2026-09-04 07:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 07:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852575488001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852575488001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:32:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:32:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852575488001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":171871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:32:06] local.INFO: GPS data processed {"connection_id":171871,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:32:06] local.INFO: Acknowledgment sent {"connection_id":171871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:32:10] local.INFO: TCP Data received {"connection_id":170770,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:32:10] local.INFO: Processing buffer {"connection_id":170770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:32:10] local.INFO: IMEI packet received {"connection_id":170770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":170770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:32:14] local.INFO: TCP Data received {"connection_id":170770,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:32:14] local.INFO: Processing buffer {"connection_id":170770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:32:14] local.INFO: IMEI packet received {"connection_id":170770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":170770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:32:15] local.INFO: TCP Data received {"connection_id":170770,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:32:15] local.INFO: Processing buffer {"connection_id":170770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:32:15] local.INFO: IMEI packet received {"connection_id":170770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":170770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:32:16] local.INFO: TCP Data received {"connection_id":170770,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a26b9f0012d7d3a4005d2dd880009016215..."} 
[2026-09-04 07:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a26b9f0012d7d3a4005d2dd880009016215..."} 
[2026-09-04 07:32:16] local.INFO: Processing buffer {"connection_id":170770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a26b9f0012d7d3a4005d2dd880009016215..."} 
[2026-09-04 07:32:16] local.INFO: Packet analysis {"connection_id":170770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a26"} 
[2026-09-04 07:32:16] local.INFO: Extracted packet for processing {"connection_id":170770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a26"} 
[2026-09-04 07:32:16] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":97705352,"longitude_deg":76.3181632,"latitude_deg":9.7705352,"altitude":9,"angle":354,"satellites":21,"speed":37,"hex_longitude":"2d7d3a40","hex_latitude":"05d2dd88","is_valid_coordinates":true} 
[2026-09-04 07:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852752384001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128077037163249664,"note":"Value kept but may cause issues"} 
[2026-09-04 07:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665565890254848,"note":"Value kept but may cause issues"} 
[2026-09-04 07:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788487318000,"timestamp_ms":1788487318000,"timestamp_seconds":1788487318,"priority":1,"record_length":96,"hex_timestamp":"000001a06a26b9f0"} 
[2026-09-04 07:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-04 07:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852752384001,"66":13798,"117":206,"85":15104,"24":37,"16":128077037163249664,"45":9023665565890254848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-04 07:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852752384001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:32:16] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-04 07:32:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128077037163249664,"km_value":128077037163249.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665565890254848,"description":"Unknown IO ID 45"} 
[2026-09-04 07:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852752384001,"power":13798,"unknown_117":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9023665565890254848}} 
[2026-09-04 07:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":170770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:32:16] local.INFO: GPS data processed {"connection_id":170770,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:32:16] local.INFO: Acknowledgment sent {"connection_id":170770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:32:37] local.INFO: TCP Data received {"connection_id":171871,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:32:37] local.INFO: Processing buffer {"connection_id":171871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:32:37] local.INFO: Packet analysis {"connection_id":171871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:32:37] local.INFO: Extracted packet for processing {"connection_id":171871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:32:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852575488001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:32:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486924000,"timestamp_ms":1788486924000,"timestamp_seconds":1788486924,"priority":1,"record_length":96,"hex_timestamp":"000001a06a20b6e0"} 
[2026-09-04 07:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 07:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852575488001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852575488001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:32:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:32:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852575488001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":171871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:32:37] local.INFO: GPS data processed {"connection_id":171871,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:32:37] local.INFO: Acknowledgment sent {"connection_id":171871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:32:47] local.INFO: TCP Data received {"connection_id":170770,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a26d930012d7d38c005d301880009016411..."} 
[2026-09-04 07:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a26d930012d7d38c005d301880009016411..."} 
[2026-09-04 07:32:47] local.INFO: Processing buffer {"connection_id":170770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a26d930012d7d38c005d301880009016411..."} 
[2026-09-04 07:32:47] local.INFO: Packet analysis {"connection_id":170770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a26"} 
[2026-09-04 07:32:47] local.INFO: Extracted packet for processing {"connection_id":170770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a26"} 
[2026-09-04 07:32:47] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":97714568,"longitude_deg":76.3181248,"latitude_deg":9.7714568,"altitude":9,"angle":356,"satellites":17,"speed":48,"hex_longitude":"2d7d38c0","hex_latitude":"05d30188","is_valid_coordinates":true} 
[2026-09-04 07:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852753408001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128077483839848448,"note":"Value kept but may cause issues"} 
[2026-09-04 07:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595197146957824,"note":"Value kept but may cause issues"} 
[2026-09-04 07:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788487326000,"timestamp_ms":1788487326000,"timestamp_seconds":1788487326,"priority":1,"record_length":96,"hex_timestamp":"000001a06a26d930"} 
[2026-09-04 07:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 07:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852753408001,"66":13428,"117":206,"85":15104,"24":48,"16":128077483839848448,"45":9023595197146957824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-04 07:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852753408001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:32:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-04 07:32:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128077483839848448,"km_value":128077483839848.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595197146957824,"description":"Unknown IO ID 45"} 
[2026-09-04 07:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852753408001,"power":13428,"unknown_117":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9023595197146957824}} 
[2026-09-04 07:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":170770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:32:47] local.INFO: GPS data processed {"connection_id":170770,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:32:47] local.INFO: Acknowledgment sent {"connection_id":170770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:33:00] local.INFO: TCP Data received {"connection_id":170771,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:33:00] local.INFO: Processing buffer {"connection_id":170771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:33:00] local.INFO: IMEI packet received {"connection_id":170771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":170771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:33:05] local.INFO: TCP Data received {"connection_id":170771,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:33:05] local.INFO: Processing buffer {"connection_id":170771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:33:05] local.INFO: IMEI packet received {"connection_id":170771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":170771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:33:06] local.INFO: TCP Data received {"connection_id":170771,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:33:06] local.INFO: Processing buffer {"connection_id":170771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:33:06] local.INFO: Packet analysis {"connection_id":170771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:33:06] local.INFO: Extracted packet for processing {"connection_id":170771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:33:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852575488001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:33:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486924000,"timestamp_ms":1788486924000,"timestamp_seconds":1788486924,"priority":1,"record_length":96,"hex_timestamp":"000001a06a20b6e0"} 
[2026-09-04 07:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 07:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852575488001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852575488001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:33:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:33:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852575488001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":170771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:33:06] local.INFO: GPS data processed {"connection_id":170771,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:33:06] local.INFO: Acknowledgment sent {"connection_id":170771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:33:14] local.INFO: TCP Data received {"connection_id":173164,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:33:14] local.INFO: Processing buffer {"connection_id":173164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:33:14] local.INFO: IMEI packet received {"connection_id":173164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":173164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:33:15] local.INFO: TCP Data received {"connection_id":173164,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:33:15] local.INFO: Processing buffer {"connection_id":173164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:33:15] local.INFO: IMEI packet received {"connection_id":173164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":173164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:33:26] local.INFO: TCP Data received {"connection_id":173164,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:33:26] local.INFO: Processing buffer {"connection_id":173164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:33:26] local.INFO: IMEI packet received {"connection_id":173164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":173164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:33:27] local.INFO: TCP Data received {"connection_id":173164,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a26f488012d7d370005d32600000a016611..."} 
[2026-09-04 07:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a26f488012d7d370005d32600000a016611..."} 
[2026-09-04 07:33:27] local.INFO: Processing buffer {"connection_id":173164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a26f488012d7d370005d32600000a016611..."} 
[2026-09-04 07:33:27] local.INFO: Packet analysis {"connection_id":173164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a26"} 
[2026-09-04 07:33:27] local.INFO: Extracted packet for processing {"connection_id":173164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a26"} 
[2026-09-04 07:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":97723904,"longitude_deg":76.31808,"latitude_deg":9.7723904,"altitude":10,"angle":358,"satellites":17,"speed":56,"hex_longitude":"2d7d3700","hex_latitude":"05d32600","is_valid_coordinates":true} 
[2026-09-04 07:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852755456001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128077934811414528,"note":"Value kept but may cause issues"} 
[2026-09-04 07:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172984684251136,"note":"Value kept but may cause issues"} 
[2026-09-04 07:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788487333000,"timestamp_ms":1788487333000,"timestamp_seconds":1788487333,"priority":1,"record_length":96,"hex_timestamp":"000001a06a26f488"} 
[2026-09-04 07:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 07:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852755456001,"66":13678,"117":206,"85":15104,"24":56,"16":128077934811414528,"45":9023172984684251136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-04 07:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852755456001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:33:27] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-04 07:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128077934811414528,"km_value":128077934811414.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172984684251136,"description":"Unknown IO ID 45"} 
[2026-09-04 07:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852755456001,"power":13678,"unknown_117":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9023172984684251136}} 
[2026-09-04 07:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":173164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:33:27] local.INFO: GPS data processed {"connection_id":173164,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:33:27] local.INFO: Acknowledgment sent {"connection_id":173164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:33:27] local.INFO: TCP Data received {"connection_id":173164,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a270bf8012d7d360005d34990000b016611..."} 
[2026-09-04 07:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a270bf8012d7d360005d34990000b016611..."} 
[2026-09-04 07:33:27] local.INFO: Processing buffer {"connection_id":173164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a270bf8012d7d360005d34990000b016611..."} 
[2026-09-04 07:33:27] local.INFO: Packet analysis {"connection_id":173164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a27"} 
[2026-09-04 07:33:27] local.INFO: Extracted packet for processing {"connection_id":173164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a27"} 
[2026-09-04 07:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":97733008,"longitude_deg":76.3180544,"latitude_deg":9.7733008,"altitude":11,"angle":358,"satellites":17,"speed":60,"hex_longitude":"2d7d3600","hex_latitude":"05d34990","is_valid_coordinates":true} 
[2026-09-04 07:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852757248001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128078377193046016,"note":"Value kept but may cause issues"} 
[2026-09-04 07:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403477397504,"note":"Value kept but may cause issues"} 
[2026-09-04 07:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788487339000,"timestamp_ms":1788487339000,"timestamp_seconds":1788487339,"priority":1,"record_length":96,"hex_timestamp":"000001a06a270bf8"} 
[2026-09-04 07:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 07:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852757248001,"66":13472,"117":206,"85":15104,"24":60,"16":128078377193046016,"45":9022680403477397504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-04 07:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852757248001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:33:27] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-04 07:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128078377193046016,"km_value":128078377193046.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403477397504,"description":"Unknown IO ID 45"} 
[2026-09-04 07:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852757248001,"power":13472,"unknown_117":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":9022680403477397504}} 
[2026-09-04 07:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":173164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:33:27] local.INFO: GPS data processed {"connection_id":173164,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:33:27] local.INFO: Acknowledgment sent {"connection_id":173164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:33:37] local.INFO: TCP Data received {"connection_id":170771,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:33:37] local.INFO: Processing buffer {"connection_id":170771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:33:37] local.INFO: Packet analysis {"connection_id":170771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:33:37] local.INFO: Extracted packet for processing {"connection_id":170771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:33:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852575488001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486924000,"timestamp_ms":1788486924000,"timestamp_seconds":1788486924,"priority":1,"record_length":96,"hex_timestamp":"000001a06a20b6e0"} 
[2026-09-04 07:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 07:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852575488001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852575488001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:33:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852575488001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":170771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:33:37] local.INFO: GPS data processed {"connection_id":170771,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:33:37] local.INFO: Acknowledgment sent {"connection_id":170771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:34:00] local.INFO: TCP Data received {"connection_id":170772,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:34:00] local.INFO: Processing buffer {"connection_id":170772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:34:00] local.INFO: IMEI packet received {"connection_id":170772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":170772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:34:05] local.INFO: TCP Data received {"connection_id":170772,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:34:05] local.INFO: Processing buffer {"connection_id":170772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:34:05] local.INFO: IMEI packet received {"connection_id":170772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":170772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:34:06] local.INFO: TCP Data received {"connection_id":170772,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:34:06] local.INFO: Processing buffer {"connection_id":170772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:34:06] local.INFO: Packet analysis {"connection_id":170772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:34:06] local.INFO: Extracted packet for processing {"connection_id":170772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:34:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852575488001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:34:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788486924000,"timestamp_ms":1788486924000,"timestamp_seconds":1788486924,"priority":1,"record_length":96,"hex_timestamp":"000001a06a20b6e0"} 
[2026-09-04 07:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 07:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852575488001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852575488001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:34:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:34:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852575488001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":170772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:34:06] local.INFO: GPS data processed {"connection_id":170772,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:34:06] local.INFO: Acknowledgment sent {"connection_id":170772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:34:08] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:34:08] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:34:08] local.INFO: IMEI packet received {"connection_id":173165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":173165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:34:10] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:34:10] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:34:10] local.INFO: IMEI packet received {"connection_id":173165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":173165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:34:16] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:34:16] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:34:16] local.INFO: IMEI packet received {"connection_id":173165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":173165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:34:17] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a283ca8012d7d288005d52788002200000e..."} 
[2026-09-04 07:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a283ca8012d7d288005d52788002200000e..."} 
[2026-09-04 07:34:17] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a283ca8012d7d288005d52788002200000e..."} 
[2026-09-04 07:34:17] local.INFO: Packet analysis {"connection_id":173165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:34:17] local.INFO: Extracted packet for processing {"connection_id":173165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:34:17] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":97855368,"longitude_deg":76.3177088,"latitude_deg":9.7855368,"altitude":34,"angle":0,"satellites":14,"speed":65,"hex_longitude":"2d7d2880","hex_latitude":"05d52788","is_valid_coordinates":true} 
[2026-09-04 07:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852777216001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128084334312685568,"note":"Value kept but may cause issues"} 
[2026-09-04 07:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018739753834620928,"note":"Value kept but may cause issues"} 
[2026-09-04 07:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788487417000,"timestamp_ms":1788487417000,"timestamp_seconds":1788487417,"priority":1,"record_length":96,"hex_timestamp":"000001a06a283ca8"} 
[2026-09-04 07:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-04 07:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852777216001,"66":13428,"254":206,"85":15104,"24":65,"16":128084334312685568,"45":9018739753834620928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-09-04 07:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852777216001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:34:17] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-04 07:34:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128084334312685568,"km_value":128084334312685.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018739753834620928,"description":"Unknown IO ID 45"} 
[2026-09-04 07:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852777216001,"power":13428,"unknown_254":206,"unknown_85":15104,"ignition":65,"odometer":null,"unknown_45":9018739753834620928}} 
[2026-09-04 07:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":173165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:34:17] local.INFO: GPS data processed {"connection_id":173165,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:34:17] local.INFO: Acknowledgment sent {"connection_id":173165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:34:37] local.INFO: TCP Data received {"connection_id":170772,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:34:37] local.INFO: Processing buffer {"connection_id":170772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a20b6e0012cee7040072e2b900035006227..."} 
[2026-09-04 07:34:37] local.INFO: Packet analysis {"connection_id":170772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:34:37] local.INFO: Extracted packet for processing {"connection_id":170772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a20"} 
[2026-09-04 07:34:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852575488001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:34:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788486924000,"timestamp_ms":1788486924000,"timestamp_seconds":1788486924,"priority":1,"record_length":96,"hex_timestamp":"000001a06a20b6e0"} 
[2026-09-04 07:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 07:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852575488001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852575488001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:34:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:34:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852575488001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":170772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:34:37] local.INFO: GPS data processed {"connection_id":170772,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:34:37] local.INFO: Acknowledgment sent {"connection_id":170772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:34:49] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a285418012d7d284005d54f80002401670e..."} 
[2026-09-04 07:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a285418012d7d284005d54f80002401670e..."} 
[2026-09-04 07:34:49] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a285418012d7d284005d54f80002401670e..."} 
[2026-09-04 07:34:49] local.INFO: Packet analysis {"connection_id":173165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:34:49] local.INFO: Extracted packet for processing {"connection_id":173165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:34:49] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":97865600,"longitude_deg":76.3177024,"latitude_deg":9.78656,"altitude":36,"angle":359,"satellites":14,"speed":68,"hex_longitude":"2d7d2840","hex_latitude":"05d54f80","is_valid_coordinates":true} 
[2026-09-04 07:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852778752001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128084828233924608,"note":"Value kept but may cause issues"} 
[2026-09-04 07:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016348747776,"note":"Value kept but may cause issues"} 
[2026-09-04 07:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788487423000,"timestamp_ms":1788487423000,"timestamp_seconds":1788487423,"priority":1,"record_length":96,"hex_timestamp":"000001a06a285418"} 
[2026-09-04 07:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 07:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852778752001,"66":13580,"254":206,"85":15104,"24":68,"16":128084828233924608,"45":9018599016348747776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-09-04 07:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852778752001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:34:49] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-04 07:34:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128084828233924608,"km_value":128084828233924.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016348747776,"description":"Unknown IO ID 45"} 
[2026-09-04 07:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852778752001,"power":13580,"unknown_254":206,"unknown_85":15104,"ignition":68,"odometer":null,"unknown_45":9018599016348747776}} 
[2026-09-04 07:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":173165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:34:49] local.INFO: GPS data processed {"connection_id":173165,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:34:49] local.INFO: Acknowledgment sent {"connection_id":173165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:35:00] local.INFO: TCP Data received {"connection_id":170773,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:35:00] local.INFO: Processing buffer {"connection_id":170773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:35:00] local.INFO: IMEI packet received {"connection_id":170773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":170773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:35:05] local.INFO: TCP Data received {"connection_id":170773,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:35:05] local.INFO: Processing buffer {"connection_id":170773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:35:05] local.INFO: IMEI packet received {"connection_id":170773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":170773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:35:06] local.INFO: TCP Data received {"connection_id":170773,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:35:06] local.INFO: Processing buffer {"connection_id":170773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:35:06] local.INFO: Packet analysis {"connection_id":170773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:35:06] local.INFO: Extracted packet for processing {"connection_id":170773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852652544001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:35:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788487443000,"timestamp_ms":1788487443000,"timestamp_seconds":1788487443,"priority":1,"record_length":96,"hex_timestamp":"000001a06a28a238"} 
[2026-09-04 07:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852652544001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852652544001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:35:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:35:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852652544001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":170773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:35:06] local.INFO: GPS data processed {"connection_id":170773,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:35:06] local.INFO: Acknowledgment sent {"connection_id":170773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:35:10] local.INFO: TCP Data received {"connection_id":171872,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:35:10] local.INFO: Processing buffer {"connection_id":171872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:35:10] local.INFO: IMEI packet received {"connection_id":171872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":171872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:35:10] local.INFO: TCP Data received {"connection_id":171872,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:35:10] local.INFO: Processing buffer {"connection_id":171872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:35:10] local.INFO: IMEI packet received {"connection_id":171872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":171872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:35:16] local.INFO: TCP Data received {"connection_id":171872,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:35:16] local.INFO: Processing buffer {"connection_id":171872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:35:16] local.INFO: IMEI packet received {"connection_id":171872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":171872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:35:17] local.INFO: TCP Data received {"connection_id":171872,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2959d0012d7cd74005d6e608003201560f..."} 
[2026-09-04 07:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2959d0012d7cd74005d6e608003201560f..."} 
[2026-09-04 07:35:17] local.INFO: Processing buffer {"connection_id":171872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2959d0012d7cd74005d6e608003201560f..."} 
[2026-09-04 07:35:17] local.INFO: Packet analysis {"connection_id":171872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a29"} 
[2026-09-04 07:35:17] local.INFO: Extracted packet for processing {"connection_id":171872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a29"} 
[2026-09-04 07:35:17] local.INFO: GPS Element Parsed {"raw_longitude":763156288,"raw_latitude":97969672,"longitude_deg":76.3156288,"latitude_deg":9.7969672,"altitude":50,"angle":342,"satellites":15,"speed":62,"hex_longitude":"2d7cd740","hex_latitude":"05d6e608","is_valid_coordinates":true} 
[2026-09-04 07:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852795904001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128089999374548992,"note":"Value kept but may cause issues"} 
[2026-09-04 07:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998403186796724224,"note":"Value kept but may cause issues"} 
[2026-09-04 07:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788487490000,"timestamp_ms":1788487490000,"timestamp_seconds":1788487490,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2959d0"} 
[2026-09-04 07:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 07:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852795904001,"66":13613,"30":206,"85":15104,"24":62,"16":128089999374548992,"45":8998403186796724224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-04 07:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852795904001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:35:17] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 07:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128089999374548992,"km_value":128089999374548.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998403186796724224,"description":"Unknown IO ID 45"} 
[2026-09-04 07:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852795904001,"power":13613,"unknown_30":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":8998403186796724224}} 
[2026-09-04 07:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":171872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:35:17] local.INFO: GPS data processed {"connection_id":171872,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:35:17] local.INFO: Acknowledgment sent {"connection_id":171872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:35:37] local.INFO: TCP Data received {"connection_id":170773,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:35:37] local.INFO: Processing buffer {"connection_id":170773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:35:37] local.INFO: Packet analysis {"connection_id":170773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:35:37] local.INFO: Extracted packet for processing {"connection_id":170773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852652544001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:35:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788487443000,"timestamp_ms":1788487443000,"timestamp_seconds":1788487443,"priority":1,"record_length":96,"hex_timestamp":"000001a06a28a238"} 
[2026-09-04 07:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852652544001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852652544001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:35:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:35:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852652544001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":170773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:35:37] local.INFO: GPS data processed {"connection_id":170773,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:35:37] local.INFO: Acknowledgment sent {"connection_id":170773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:35:49] local.INFO: TCP Data received {"connection_id":171872,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a297140012d7ccc0005d70968003301540f..."} 
[2026-09-04 07:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a297140012d7ccc0005d70968003301540f..."} 
[2026-09-04 07:35:49] local.INFO: Processing buffer {"connection_id":171872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a297140012d7ccc0005d70968003301540f..."} 
[2026-09-04 07:35:49] local.INFO: Packet analysis {"connection_id":171872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a29"} 
[2026-09-04 07:35:49] local.INFO: Extracted packet for processing {"connection_id":171872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a29"} 
[2026-09-04 07:35:49] local.INFO: GPS Element Parsed {"raw_longitude":763153408,"raw_latitude":97978728,"longitude_deg":76.3153408,"latitude_deg":9.7978728,"altitude":51,"angle":340,"satellites":15,"speed":63,"hex_longitude":"2d7ccc00","hex_latitude":"05d70968","is_valid_coordinates":true} 
[2026-09-04 07:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852797440001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128090458936049664,"note":"Value kept but may cause issues"} 
[2026-09-04 07:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995729174520268800,"note":"Value kept but may cause issues"} 
[2026-09-04 07:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788487496000,"timestamp_ms":1788487496000,"timestamp_seconds":1788487496,"priority":1,"record_length":96,"hex_timestamp":"000001a06a297140"} 
[2026-09-04 07:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-04 07:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852797440001,"66":13515,"30":206,"85":15104,"24":63,"16":128090458936049664,"45":8995729174520268800},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-04 07:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852797440001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:35:49] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 07:35:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128090458936049664,"km_value":128090458936049.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995729174520268800,"description":"Unknown IO ID 45"} 
[2026-09-04 07:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852797440001,"power":13515,"unknown_30":206,"unknown_85":15104,"ignition":63,"odometer":null,"unknown_45":8995729174520268800}} 
[2026-09-04 07:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":171872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:35:49] local.INFO: GPS data processed {"connection_id":171872,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:35:49] local.INFO: Acknowledgment sent {"connection_id":171872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:36:00] local.INFO: TCP Data received {"connection_id":170467,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:36:00] local.INFO: Processing buffer {"connection_id":170467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:36:00] local.INFO: IMEI packet received {"connection_id":170467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":170467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:36:05] local.INFO: TCP Data received {"connection_id":170467,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:36:05] local.INFO: Processing buffer {"connection_id":170467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:36:05] local.INFO: IMEI packet received {"connection_id":170467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":170467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:36:06] local.INFO: TCP Data received {"connection_id":170467,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:36:06] local.INFO: Processing buffer {"connection_id":170467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:36:06] local.INFO: Packet analysis {"connection_id":170467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:36:06] local.INFO: Extracted packet for processing {"connection_id":170467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:36:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852652544001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:36:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788487443000,"timestamp_ms":1788487443000,"timestamp_seconds":1788487443,"priority":1,"record_length":96,"hex_timestamp":"000001a06a28a238"} 
[2026-09-04 07:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852652544001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852652544001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:36:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:36:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852652544001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":170467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:36:06] local.INFO: GPS data processed {"connection_id":170467,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:36:06] local.INFO: Acknowledgment sent {"connection_id":170467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:36:10] local.INFO: TCP Data received {"connection_id":173167,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:36:10] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:36:10] local.INFO: IMEI packet received {"connection_id":173167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":173167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:36:12] local.INFO: TCP Data received {"connection_id":173167,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:36:12] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:36:12] local.INFO: IMEI packet received {"connection_id":173167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":173167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:36:15] local.INFO: TCP Data received {"connection_id":173167,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:36:15] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:36:15] local.INFO: IMEI packet received {"connection_id":173167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":173167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:36:16] local.INFO: TCP Data received {"connection_id":173167,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2988b0012d7cc00005d72c40003401550e..."} 
[2026-09-04 07:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2988b0012d7cc00005d72c40003401550e..."} 
[2026-09-04 07:36:16] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2988b0012d7cc00005d72c40003401550e..."} 
[2026-09-04 07:36:16] local.INFO: Packet analysis {"connection_id":173167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a29"} 
[2026-09-04 07:36:16] local.INFO: Extracted packet for processing {"connection_id":173167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a29"} 
[2026-09-04 07:36:16] local.INFO: GPS Element Parsed {"raw_longitude":763150336,"raw_latitude":97987648,"longitude_deg":76.3150336,"latitude_deg":9.7987648,"altitude":52,"angle":341,"satellites":14,"speed":61,"hex_longitude":"2d7cc000","hex_latitude":"05d72c40","is_valid_coordinates":true} 
[2026-09-04 07:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852798976001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128090914202583040,"note":"Value kept but may cause issues"} 
[2026-09-04 07:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992562581034592256,"note":"Value kept but may cause issues"} 
[2026-09-04 07:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788487502000,"timestamp_ms":1788487502000,"timestamp_seconds":1788487502,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2988b0"} 
[2026-09-04 07:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-04 07:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852798976001,"66":13906,"30":206,"85":15104,"24":61,"16":128090914202583040,"45":8992562581034592256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-04 07:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852798976001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:36:16] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 07:36:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128090914202583040,"km_value":128090914202583.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992562581034592256,"description":"Unknown IO ID 45"} 
[2026-09-04 07:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852798976001,"power":13906,"unknown_30":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":8992562581034592256}} 
[2026-09-04 07:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":173167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:36:16] local.INFO: GPS data processed {"connection_id":173167,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:36:16] local.INFO: Acknowledgment sent {"connection_id":173167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:36:37] local.INFO: TCP Data received {"connection_id":170467,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:36:37] local.INFO: Processing buffer {"connection_id":170467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:36:37] local.INFO: Packet analysis {"connection_id":170467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:36:37] local.INFO: Extracted packet for processing {"connection_id":170467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:36:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852652544001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788487443000,"timestamp_ms":1788487443000,"timestamp_seconds":1788487443,"priority":1,"record_length":96,"hex_timestamp":"000001a06a28a238"} 
[2026-09-04 07:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852652544001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852652544001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:36:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852652544001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":170467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:36:37] local.INFO: GPS data processed {"connection_id":170467,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:36:37] local.INFO: Acknowledgment sent {"connection_id":170467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:36:47] local.INFO: TCP Data received {"connection_id":173167,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a29a020012d7cb58005d74d50003501570e..."} 
[2026-09-04 07:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a29a020012d7cb58005d74d50003501570e..."} 
[2026-09-04 07:36:47] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a29a020012d7cb58005d74d50003501570e..."} 
[2026-09-04 07:36:47] local.INFO: Packet analysis {"connection_id":173167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a29"} 
[2026-09-04 07:36:47] local.INFO: Extracted packet for processing {"connection_id":173167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a29"} 
[2026-09-04 07:36:47] local.INFO: GPS Element Parsed {"raw_longitude":763147648,"raw_latitude":97996112,"longitude_deg":76.3147648,"latitude_deg":9.7996112,"altitude":53,"angle":343,"satellites":14,"speed":59,"hex_longitude":"2d7cb580","hex_latitude":"05d74d50","is_valid_coordinates":true} 
[2026-09-04 07:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852800512001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128091343699312640,"note":"Value kept but may cause issues"} 
[2026-09-04 07:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989184881316347904,"note":"Value kept but may cause issues"} 
[2026-09-04 07:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788487508000,"timestamp_ms":1788487508000,"timestamp_seconds":1788487508,"priority":1,"record_length":96,"hex_timestamp":"000001a06a29a020"} 
[2026-09-04 07:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-04 07:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852800512001,"66":13678,"30":206,"85":15104,"24":59,"16":128091343699312640,"45":8989184881316347904},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-04 07:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852800512001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:36:47] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 07:36:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128091343699312640,"km_value":128091343699312.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989184881316347904,"description":"Unknown IO ID 45"} 
[2026-09-04 07:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852800512001,"power":13678,"unknown_30":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8989184881316347904}} 
[2026-09-04 07:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":173167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:36:47] local.INFO: GPS data processed {"connection_id":173167,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:36:47] local.INFO: Acknowledgment sent {"connection_id":173167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:37:00] local.INFO: TCP Data received {"connection_id":170468,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:37:00] local.INFO: Processing buffer {"connection_id":170468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:37:00] local.INFO: IMEI packet received {"connection_id":170468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":170468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:37:05] local.INFO: TCP Data received {"connection_id":170468,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:37:05] local.INFO: Processing buffer {"connection_id":170468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:37:05] local.INFO: IMEI packet received {"connection_id":170468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":170468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:37:06] local.INFO: TCP Data received {"connection_id":170468,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:37:06] local.INFO: Processing buffer {"connection_id":170468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:37:06] local.INFO: Packet analysis {"connection_id":170468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:37:06] local.INFO: Extracted packet for processing {"connection_id":170468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:37:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852652544001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788487443000,"timestamp_ms":1788487443000,"timestamp_seconds":1788487443,"priority":1,"record_length":96,"hex_timestamp":"000001a06a28a238"} 
[2026-09-04 07:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852652544001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852652544001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:37:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852652544001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":170468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:37:06] local.INFO: GPS data processed {"connection_id":170468,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:37:06] local.INFO: Acknowledgment sent {"connection_id":170468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:37:37] local.INFO: TCP Data received {"connection_id":170468,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:37:37] local.INFO: Processing buffer {"connection_id":170468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:37:37] local.INFO: Packet analysis {"connection_id":170468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:37:37] local.INFO: Extracted packet for processing {"connection_id":170468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:37:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852652544001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:37:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788487443000,"timestamp_ms":1788487443000,"timestamp_seconds":1788487443,"priority":1,"record_length":96,"hex_timestamp":"000001a06a28a238"} 
[2026-09-04 07:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852652544001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852652544001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:37:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:37:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852652544001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":170468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:37:37] local.INFO: GPS data processed {"connection_id":170468,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:37:37] local.INFO: Acknowledgment sent {"connection_id":170468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:37:46] local.INFO: TCP Data received {"connection_id":171873,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:37:47] local.INFO: Processing buffer {"connection_id":171873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:37:47] local.INFO: IMEI packet received {"connection_id":171873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":171873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:37:48] local.INFO: TCP Data received {"connection_id":171873,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:37:48] local.INFO: Processing buffer {"connection_id":171873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:37:48] local.INFO: IMEI packet received {"connection_id":171873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":171873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:37:49] local.INFO: TCP Data received {"connection_id":171873,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2b1ef0012d7c954005d8a360003b016410..."} 
[2026-09-04 07:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2b1ef0012d7c954005d8a360003b016410..."} 
[2026-09-04 07:37:49] local.INFO: Processing buffer {"connection_id":171873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2b1ef0012d7c954005d8a360003b016410..."} 
[2026-09-04 07:37:49] local.INFO: Packet analysis {"connection_id":171873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2b"} 
[2026-09-04 07:37:49] local.INFO: Extracted packet for processing {"connection_id":171873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2b"} 
[2026-09-04 07:37:49] local.INFO: GPS Element Parsed {"raw_longitude":763139392,"raw_latitude":98083680,"longitude_deg":76.3139392,"latitude_deg":9.808368,"altitude":59,"angle":356,"satellites":16,"speed":40,"hex_longitude":"2d7c9540","hex_latitude":"05d8a360","is_valid_coordinates":true} 
[2026-09-04 07:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852824320001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128095625781706752,"note":"Value kept but may cause issues"} 
[2026-09-04 07:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977855513525852160,"note":"Value kept but may cause issues"} 
[2026-09-04 07:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788487606000,"timestamp_ms":1788487606000,"timestamp_seconds":1788487606,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2b1ef0"} 
[2026-09-04 07:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-04 07:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852824320001,"66":13319,"196":206,"85":15104,"24":40,"16":128095625781706752,"45":8977855513525852160},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-04 07:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852824320001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:37:49] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-04 07:37:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128095625781706752,"km_value":128095625781706.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977855513525852160,"description":"Unknown IO ID 45"} 
[2026-09-04 07:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852824320001,"power":13319,"unknown_196":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8977855513525852160}} 
[2026-09-04 07:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":171873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:37:49] local.INFO: GPS data processed {"connection_id":171873,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:37:49] local.INFO: Acknowledgment sent {"connection_id":171873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:38:00] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:38:00] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:38:00] local.INFO: IMEI packet received {"connection_id":173168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":173168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:38:05] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:38:05] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:38:05] local.INFO: IMEI packet received {"connection_id":173168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":173168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:38:06] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:38:06] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:38:06] local.INFO: Packet analysis {"connection_id":173168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:38:06] local.INFO: Extracted packet for processing {"connection_id":173168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:38:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852652544001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788487443000,"timestamp_ms":1788487443000,"timestamp_seconds":1788487443,"priority":1,"record_length":96,"hex_timestamp":"000001a06a28a238"} 
[2026-09-04 07:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852652544001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852652544001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:38:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:38:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852652544001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":173168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:38:06] local.INFO: GPS data processed {"connection_id":173168,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:38:06] local.INFO: Acknowledgment sent {"connection_id":173168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:38:15] local.INFO: TCP Data received {"connection_id":170774,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:38:15] local.INFO: Processing buffer {"connection_id":170774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:38:15] local.INFO: IMEI packet received {"connection_id":170774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":170774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:38:16] local.INFO: TCP Data received {"connection_id":170774,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:38:16] local.INFO: Processing buffer {"connection_id":170774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:38:16] local.INFO: IMEI packet received {"connection_id":170774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":170774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:38:20] local.INFO: TCP Data received {"connection_id":170774,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:38:20] local.INFO: Processing buffer {"connection_id":170774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:38:20] local.INFO: IMEI packet received {"connection_id":170774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":170774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:38:22] local.INFO: TCP Data received {"connection_id":170774,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2b4218012d7c920005d8c7a0003b016012..."} 
[2026-09-04 07:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2b4218012d7c920005d8c7a0003b016012..."} 
[2026-09-04 07:38:22] local.INFO: Processing buffer {"connection_id":170774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2b4218012d7c920005d8c7a0003b016012..."} 
[2026-09-04 07:38:22] local.INFO: Packet analysis {"connection_id":170774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2b"} 
[2026-09-04 07:38:22] local.INFO: Extracted packet for processing {"connection_id":170774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2b"} 
[2026-09-04 07:38:22] local.INFO: GPS Element Parsed {"raw_longitude":763138560,"raw_latitude":98092960,"longitude_deg":76.313856,"latitude_deg":9.809296,"altitude":59,"angle":352,"satellites":18,"speed":46,"hex_longitude":"2d7c9200","hex_latitude":"05d8c7a0","is_valid_coordinates":true} 
[2026-09-04 07:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852827136001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128096076753272832,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977151826086551552,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788487615000,"timestamp_ms":1788487615000,"timestamp_seconds":1788487615,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2b4218"} 
[2026-09-04 07:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-04 07:38:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-09-04 07:38:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3620163584,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:22] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:22] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2380153697941372933,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:22] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-4726527576974683904,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:22] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,196,85,24,241,157,16,22,160,243,45,192,125,59,17,10,66,195,21,208,87,58,12,177,128,1,240,133,227,106,216,4,113,205,44,115,8,19,239,53,2,199,5,54,18,214,42,215],"length":527,"final_offset":657,"validated_count":48,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-09-04 07:38:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251789543099334656,"timestamp_seconds":4251789543099334.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 07:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":170774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":170774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":170774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852827136001,"66":13200,"196":206,"85":15104,"24":46,"16":128096076753272832,"45":8977151826086551552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-04 07:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852827136001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:38:22] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-04 07:38:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128096076753272832,"km_value":128096076753272.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977151826086551552,"description":"Unknown IO ID 45"} 
[2026-09-04 07:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852827136001,"power":13200,"unknown_196":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8977151826086551552}} 
[2026-09-04 07:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":170774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:38:22] local.INFO: GPS data processed {"connection_id":170774,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:38:22] local.INFO: Acknowledgment sent {"connection_id":170774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:38:37] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:38:37] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:38:37] local.INFO: Packet analysis {"connection_id":173168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:38:37] local.INFO: Extracted packet for processing {"connection_id":173168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:38:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852652544001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788487443000,"timestamp_ms":1788487443000,"timestamp_seconds":1788487443,"priority":1,"record_length":96,"hex_timestamp":"000001a06a28a238"} 
[2026-09-04 07:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852652544001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852652544001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:38:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852652544001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":173168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:38:37] local.INFO: GPS data processed {"connection_id":173168,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:38:37] local.INFO: Acknowledgment sent {"connection_id":173168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:38:53] local.INFO: TCP Data received {"connection_id":170774,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2cf798012d7c23c005daf0300037012312..."} 
[2026-09-04 07:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2cf798012d7c23c005daf0300037012312..."} 
[2026-09-04 07:38:53] local.INFO: Processing buffer {"connection_id":170774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2cf798012d7c23c005daf0300037012312..."} 
[2026-09-04 07:38:53] local.INFO: Packet analysis {"connection_id":170774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2c"} 
[2026-09-04 07:38:53] local.INFO: Extracted packet for processing {"connection_id":170774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2c"} 
[2026-09-04 07:38:53] local.INFO: GPS Element Parsed {"raw_longitude":763110336,"raw_latitude":98234416,"longitude_deg":76.3110336,"latitude_deg":9.8234416,"altitude":55,"angle":291,"satellites":18,"speed":13,"hex_longitude":"2d7c23c0","hex_latitude":"05daf030","is_valid_coordinates":true} 
[2026-09-04 07:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852857856001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128103154859376640,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628733548544,"note":"Value kept but may cause issues"} 
[2026-09-04 07:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788487727000,"timestamp_ms":1788487727000,"timestamp_seconds":1788487727,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2cf798"} 
[2026-09-04 07:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-04 07:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852857856001,"66":13646,"187":206,"85":15104,"24":13,"16":128103154859376640,"45":8945626628733548544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-04 07:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852857856001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:38:53] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-04 07:38:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128103154859376640,"km_value":128103154859376.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628733548544,"description":"Unknown IO ID 45"} 
[2026-09-04 07:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852857856001,"power":13646,"unknown_187":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8945626628733548544}} 
[2026-09-04 07:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":170774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:38:54] local.INFO: GPS data processed {"connection_id":170774,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:38:54] local.INFO: Acknowledgment sent {"connection_id":170774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:39:00] local.INFO: TCP Data received {"connection_id":173169,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:39:00] local.INFO: Processing buffer {"connection_id":173169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:39:00] local.INFO: IMEI packet received {"connection_id":173169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":173169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:39:05] local.INFO: TCP Data received {"connection_id":173169,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:39:05] local.INFO: Processing buffer {"connection_id":173169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:39:05] local.INFO: IMEI packet received {"connection_id":173169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":173169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:39:06] local.INFO: TCP Data received {"connection_id":173169,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:39:06] local.INFO: Processing buffer {"connection_id":173169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:39:06] local.INFO: Packet analysis {"connection_id":173169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:39:06] local.INFO: Extracted packet for processing {"connection_id":173169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:39:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852652544001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:39:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788487443000,"timestamp_ms":1788487443000,"timestamp_seconds":1788487443,"priority":1,"record_length":96,"hex_timestamp":"000001a06a28a238"} 
[2026-09-04 07:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852652544001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852652544001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:39:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:39:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852652544001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":173169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:39:06] local.INFO: GPS data processed {"connection_id":173169,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:39:06] local.INFO: Acknowledgment sent {"connection_id":173169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:39:10] local.INFO: TCP Data received {"connection_id":170775,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:39:10] local.INFO: Processing buffer {"connection_id":170775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:39:10] local.INFO: IMEI packet received {"connection_id":170775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":170775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:39:14] local.INFO: TCP Data received {"connection_id":170775,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:39:14] local.INFO: Processing buffer {"connection_id":170775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:39:14] local.INFO: IMEI packet received {"connection_id":170775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":170775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:39:15] local.INFO: TCP Data received {"connection_id":170775,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2cfb80012d7c21c005daf0080036011812..."} 
[2026-09-04 07:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2cfb80012d7c21c005daf0080036011812..."} 
[2026-09-04 07:39:15] local.INFO: Processing buffer {"connection_id":170775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2cfb80012d7c21c005daf0080036011812..."} 
[2026-09-04 07:39:15] local.INFO: Packet analysis {"connection_id":170775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2c"} 
[2026-09-04 07:39:15] local.INFO: Extracted packet for processing {"connection_id":170775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2c"} 
[2026-09-04 07:39:15] local.INFO: GPS Element Parsed {"raw_longitude":763109824,"raw_latitude":98234376,"longitude_deg":76.3109824,"latitude_deg":9.8234376,"altitude":54,"angle":280,"satellites":18,"speed":13,"hex_longitude":"2d7c21c0","hex_latitude":"05daf008","is_valid_coordinates":true} 
[2026-09-04 07:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852858112001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128103180629180416,"note":"Value kept but may cause issues"} 
[2026-09-04 07:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945204416268480512,"note":"Value kept but may cause issues"} 
[2026-09-04 07:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788487728000,"timestamp_ms":1788487728000,"timestamp_seconds":1788487728,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2cfb80"} 
[2026-09-04 07:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-04 07:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852858112001,"66":12058,"187":206,"85":15104,"24":13,"16":128103180629180416,"45":8945204416268480512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-04 07:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852858112001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:39:15] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-04 07:39:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128103180629180416,"km_value":128103180629180.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945204416268480512,"description":"Unknown IO ID 45"} 
[2026-09-04 07:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852858112001,"power":12058,"unknown_187":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8945204416268480512}} 
[2026-09-04 07:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":170775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:39:15] local.INFO: GPS data processed {"connection_id":170775,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:39:15] local.INFO: Acknowledgment sent {"connection_id":170775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:39:37] local.INFO: TCP Data received {"connection_id":173169,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:39:37] local.INFO: Processing buffer {"connection_id":173169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a28a238012cee7040072e2b900035006226..."} 
[2026-09-04 07:39:37] local.INFO: Packet analysis {"connection_id":173169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:39:37] local.INFO: Extracted packet for processing {"connection_id":173169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a28"} 
[2026-09-04 07:39:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852652544001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:39:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788487443000,"timestamp_ms":1788487443000,"timestamp_seconds":1788487443,"priority":1,"record_length":96,"hex_timestamp":"000001a06a28a238"} 
[2026-09-04 07:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 07:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852652544001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852652544001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:39:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:39:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852652544001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":173169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:39:37] local.INFO: GPS data processed {"connection_id":173169,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:39:37] local.INFO: Acknowledgment sent {"connection_id":173169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:39:46] local.INFO: TCP Data received {"connection_id":170775,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2cff68012d7c1fc005daefc00034010c15..."} 
[2026-09-04 07:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2cff68012d7c1fc005daefc00034010c15..."} 
[2026-09-04 07:39:46] local.INFO: Processing buffer {"connection_id":170775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2cff68012d7c1fc005daefc00034010c15..."} 
[2026-09-04 07:39:46] local.INFO: Packet analysis {"connection_id":170775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2c"} 
[2026-09-04 07:39:46] local.INFO: Extracted packet for processing {"connection_id":170775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2c"} 
[2026-09-04 07:39:46] local.INFO: GPS Element Parsed {"raw_longitude":763109312,"raw_latitude":98234304,"longitude_deg":76.3109312,"latitude_deg":9.8234304,"altitude":52,"angle":268,"satellites":21,"speed":16,"hex_longitude":"2d7c1fc0","hex_latitude":"05daefc0","is_valid_coordinates":true} 
[2026-09-04 07:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852858368001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128103206398984192,"note":"Value kept but may cause issues"} 
[2026-09-04 07:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944641466315048960,"note":"Value kept but may cause issues"} 
[2026-09-04 07:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788487729000,"timestamp_ms":1788487729000,"timestamp_seconds":1788487729,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2cff68"} 
[2026-09-04 07:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 07:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":170775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":170775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":170775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852858368001,"66":12058,"187":206,"85":15104,"24":16,"16":128103206398984192,"45":8944641466315048960},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-04 07:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852858368001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:39:46] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-04 07:39:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128103206398984192,"km_value":128103206398984.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944641466315048960,"description":"Unknown IO ID 45"} 
[2026-09-04 07:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852858368001,"power":12058,"unknown_187":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8944641466315048960}} 
[2026-09-04 07:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":170775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:39:47] local.INFO: GPS data processed {"connection_id":170775,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:39:47] local.INFO: Acknowledgment sent {"connection_id":170775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:40:00] local.INFO: TCP Data received {"connection_id":171874,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:40:00] local.INFO: Processing buffer {"connection_id":171874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:40:00] local.INFO: IMEI packet received {"connection_id":171874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":171874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:40:05] local.INFO: TCP Data received {"connection_id":171874,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:40:05] local.INFO: Processing buffer {"connection_id":171874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:40:05] local.INFO: IMEI packet received {"connection_id":171874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":171874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:40:06] local.INFO: TCP Data received {"connection_id":171874,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:40:06] local.INFO: Processing buffer {"connection_id":171874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:40:06] local.INFO: Packet analysis {"connection_id":171874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:40:06] local.INFO: Extracted packet for processing {"connection_id":171874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:40:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852785408001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:40:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788487744000,"timestamp_ms":1788487744000,"timestamp_seconds":1788487744,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2d3a00"} 
[2026-09-04 07:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852785408001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852785408001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:40:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:40:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852785408001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":171874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:40:06] local.INFO: GPS data processed {"connection_id":171874,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:40:06] local.INFO: Acknowledgment sent {"connection_id":171874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:40:10] local.INFO: TCP Data received {"connection_id":170776,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:40:10] local.INFO: Processing buffer {"connection_id":170776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:40:10] local.INFO: IMEI packet received {"connection_id":170776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":170776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:40:12] local.INFO: TCP Data received {"connection_id":170776,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:40:12] local.INFO: Processing buffer {"connection_id":170776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:40:12] local.INFO: IMEI packet received {"connection_id":170776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":170776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:40:15] local.INFO: TCP Data received {"connection_id":170776,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:40:15] local.INFO: Processing buffer {"connection_id":170776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:40:15] local.INFO: IMEI packet received {"connection_id":170776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":170776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:40:16] local.INFO: TCP Data received {"connection_id":170776,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2d3618012d7bf94005daeea00027010c1f..."} 
[2026-09-04 07:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2d3618012d7bf94005daeea00027010c1f..."} 
[2026-09-04 07:40:16] local.INFO: Processing buffer {"connection_id":170776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2d3618012d7bf94005daeea00027010c1f..."} 
[2026-09-04 07:40:16] local.INFO: Packet analysis {"connection_id":170776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:40:16] local.INFO: Extracted packet for processing {"connection_id":170776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:40:16] local.INFO: GPS Element Parsed {"raw_longitude":763099456,"raw_latitude":98234016,"longitude_deg":76.3099456,"latitude_deg":9.8234016,"altitude":39,"angle":268,"satellites":31,"speed":36,"hex_longitude":"2d7bf940","hex_latitude":"05daeea0","is_valid_coordinates":true} 
[2026-09-04 07:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852858624001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128103674550419456,"note":"Value kept but may cause issues"} 
[2026-09-04 07:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944078516361609216,"note":"Value kept but may cause issues"} 
[2026-09-04 07:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788487743000,"timestamp_ms":1788487743000,"timestamp_seconds":1788487743,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2d3618"} 
[2026-09-04 07:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 07:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852858624001,"66":13559,"187":206,"85":15104,"24":36,"16":128103674550419456,"45":8944078516361609216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-04 07:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852858624001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:40:16] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-04 07:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128103674550419456,"km_value":128103674550419.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944078516361609216,"description":"Unknown IO ID 45"} 
[2026-09-04 07:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852858624001,"power":13559,"unknown_187":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8944078516361609216}} 
[2026-09-04 07:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":170776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:40:16] local.INFO: GPS data processed {"connection_id":170776,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:40:16] local.INFO: Acknowledgment sent {"connection_id":170776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:40:37] local.INFO: TCP Data received {"connection_id":171874,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:40:37] local.INFO: Processing buffer {"connection_id":171874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:40:37] local.INFO: Packet analysis {"connection_id":171874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:40:37] local.INFO: Extracted packet for processing {"connection_id":171874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:40:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852785408001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788487744000,"timestamp_ms":1788487744000,"timestamp_seconds":1788487744,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2d3a00"} 
[2026-09-04 07:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852785408001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852785408001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:40:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852785408001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":171874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:40:37] local.INFO: GPS data processed {"connection_id":171874,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:40:37] local.INFO: Acknowledgment sent {"connection_id":171874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:40:47] local.INFO: TCP Data received {"connection_id":170776,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2d5d28012d7bd3c005daeda0001c010a1e..."} 
[2026-09-04 07:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2d5d28012d7bd3c005daeda0001c010a1e..."} 
[2026-09-04 07:40:47] local.INFO: Processing buffer {"connection_id":170776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2d5d28012d7bd3c005daeda0001c010a1e..."} 
[2026-09-04 07:40:47] local.INFO: Packet analysis {"connection_id":170776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:40:47] local.INFO: Extracted packet for processing {"connection_id":170776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:40:47] local.INFO: GPS Element Parsed {"raw_longitude":763089856,"raw_latitude":98233760,"longitude_deg":76.3089856,"latitude_deg":9.823376,"altitude":28,"angle":266,"satellites":30,"speed":29,"hex_longitude":"2d7bd3c0","hex_latitude":"05daeda0","is_valid_coordinates":true} 
[2026-09-04 07:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852862208001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128104134111920128,"note":"Value kept but may cause issues"} 
[2026-09-04 07:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933241729758175232,"note":"Value kept but may cause issues"} 
[2026-09-04 07:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788487753000,"timestamp_ms":1788487753000,"timestamp_seconds":1788487753,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2d5d28"} 
[2026-09-04 07:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-04 07:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852862208001,"66":13363,"187":206,"85":15104,"24":29,"16":128104134111920128,"45":8933241729758175232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-04 07:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852862208001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:40:47] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-04 07:40:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128104134111920128,"km_value":128104134111920.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933241729758175232,"description":"Unknown IO ID 45"} 
[2026-09-04 07:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852862208001,"power":13363,"unknown_187":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8933241729758175232}} 
[2026-09-04 07:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":170776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:40:47] local.INFO: GPS data processed {"connection_id":170776,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:40:47] local.INFO: Acknowledgment sent {"connection_id":170776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:41:00] local.INFO: TCP Data received {"connection_id":173170,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:41:00] local.INFO: Processing buffer {"connection_id":173170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:41:00] local.INFO: IMEI packet received {"connection_id":173170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":173170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:41:05] local.INFO: TCP Data received {"connection_id":173170,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:41:05] local.INFO: Processing buffer {"connection_id":173170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:41:05] local.INFO: IMEI packet received {"connection_id":173170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":173170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:41:06] local.INFO: TCP Data received {"connection_id":173170,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:41:06] local.INFO: Processing buffer {"connection_id":173170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:41:06] local.INFO: Packet analysis {"connection_id":173170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:41:06] local.INFO: Extracted packet for processing {"connection_id":173170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:41:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852785408001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788487744000,"timestamp_ms":1788487744000,"timestamp_seconds":1788487744,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2d3a00"} 
[2026-09-04 07:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852785408001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852785408001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:41:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:41:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852785408001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":173170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:41:06] local.INFO: GPS data processed {"connection_id":173170,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:41:06] local.INFO: Acknowledgment sent {"connection_id":173170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:41:15] local.INFO: TCP Data received {"connection_id":171875,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:41:15] local.INFO: Processing buffer {"connection_id":171875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:41:15] local.INFO: IMEI packet received {"connection_id":171875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":171875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:41:20] local.INFO: TCP Data received {"connection_id":171875,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:41:20] local.INFO: Processing buffer {"connection_id":171875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:41:20] local.INFO: IMEI packet received {"connection_id":171875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":171875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:41:21] local.INFO: TCP Data received {"connection_id":171875,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2d93d8012d7bad8005daeba00011010b1f..."} 
[2026-09-04 07:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2d93d8012d7bad8005daeba00011010b1f..."} 
[2026-09-04 07:41:21] local.INFO: Processing buffer {"connection_id":171875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2d93d8012d7bad8005daeba00011010b1f..."} 
[2026-09-04 07:41:21] local.INFO: Packet analysis {"connection_id":171875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:41:21] local.INFO: Extracted packet for processing {"connection_id":171875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:41:21] local.INFO: GPS Element Parsed {"raw_longitude":763080064,"raw_latitude":98233248,"longitude_deg":76.3080064,"latitude_deg":9.8233248,"altitude":17,"angle":267,"satellites":31,"speed":37,"hex_longitude":"2d7bad80","hex_latitude":"05daeba0","is_valid_coordinates":true} 
[2026-09-04 07:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852864768001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128104602263355392,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922686418131460096,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788487767000,"timestamp_ms":1788487767000,"timestamp_seconds":1788487767,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2d93d8"} 
[2026-09-04 07:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-04 07:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852864768001,"66":13374,"187":206,"85":15104,"24":37,"16":128104602263355392,"45":8922686418131460096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-04 07:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852864768001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:41:21] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-04 07:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128104602263355392,"km_value":128104602263355.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922686418131460096,"description":"Unknown IO ID 45"} 
[2026-09-04 07:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852864768001,"power":13374,"unknown_187":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8922686418131460096}} 
[2026-09-04 07:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":171875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:41:22] local.INFO: GPS data processed {"connection_id":171875,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:41:22] local.INFO: Acknowledgment sent {"connection_id":171875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:41:23] local.INFO: TCP Data received {"connection_id":171875,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2dbae8012d7b894005dae7a8000d01011f..."} 
[2026-09-04 07:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2dbae8012d7b894005dae7a8000d01011f..."} 
[2026-09-04 07:41:23] local.INFO: Processing buffer {"connection_id":171875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2dbae8012d7b894005dae7a8000d01011f..."} 
[2026-09-04 07:41:23] local.INFO: Packet analysis {"connection_id":171875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:41:23] local.INFO: Extracted packet for processing {"connection_id":171875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":98232232,"longitude_deg":76.3070784,"latitude_deg":9.8232232,"altitude":13,"angle":257,"satellites":31,"speed":40,"hex_longitude":"2d7b8940","hex_latitude":"05dae7a8","is_valid_coordinates":true} 
[2026-09-04 07:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852868352001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128105048939954176,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911920000272146432,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788487777000,"timestamp_ms":1788487777000,"timestamp_seconds":1788487777,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2dbae8"} 
[2026-09-04 07:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-04 07:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852868352001,"66":13428,"188":206,"85":15104,"24":40,"16":128105048939954176,"45":8911920000272146432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-04 07:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852868352001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:41:23] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-04 07:41:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128105048939954176,"km_value":128105048939954.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911920000272146432,"description":"Unknown IO ID 45"} 
[2026-09-04 07:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852868352001,"power":13428,"unknown_188":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8911920000272146432}} 
[2026-09-04 07:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":171875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:41:23] local.INFO: GPS data processed {"connection_id":171875,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:41:23] local.INFO: Acknowledgment sent {"connection_id":171875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:41:37] local.INFO: TCP Data received {"connection_id":173170,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:41:37] local.INFO: Processing buffer {"connection_id":173170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:41:37] local.INFO: Packet analysis {"connection_id":173170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:41:37] local.INFO: Extracted packet for processing {"connection_id":173170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:41:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852785408001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788487744000,"timestamp_ms":1788487744000,"timestamp_seconds":1788487744,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2d3a00"} 
[2026-09-04 07:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852785408001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852785408001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:41:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:41:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852785408001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":173170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:41:37] local.INFO: GPS data processed {"connection_id":173170,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:41:37] local.INFO: Acknowledgment sent {"connection_id":173170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:41:54] local.INFO: TCP Data received {"connection_id":171875,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2faee8012d7a32c005daa678000301011f..."} 
[2026-09-04 07:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2faee8012d7a32c005daa678000301011f..."} 
[2026-09-04 07:41:54] local.INFO: Processing buffer {"connection_id":171875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2faee8012d7a32c005daa678000301011f..."} 
[2026-09-04 07:41:54] local.INFO: Packet analysis {"connection_id":171875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2f"} 
[2026-09-04 07:41:54] local.INFO: Extracted packet for processing {"connection_id":171875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2f"} 
[2026-09-04 07:41:54] local.INFO: GPS Element Parsed {"raw_longitude":762983104,"raw_latitude":98215544,"longitude_deg":76.2983104,"latitude_deg":9.8215544,"altitude":3,"angle":257,"satellites":31,"speed":8,"hex_longitude":"2d7a32c0","hex_latitude":"05daa678","is_valid_coordinates":true} 
[2026-09-04 07:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852903168001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128109567245549568,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805803934047735808,"note":"Value kept but may cause issues"} 
[2026-09-04 07:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788487905000,"timestamp_ms":1788487905000,"timestamp_seconds":1788487905,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2faee8"} 
[2026-09-04 07:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-04 07:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852903168001,"66":13450,"229":206,"85":15104,"24":8,"16":128109567245549568,"45":8805803934047735808},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 07:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852903168001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:41:54] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 07:41:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128109567245549568,"km_value":128109567245549.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805803934047735808,"description":"Unknown IO ID 45"} 
[2026-09-04 07:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852903168001,"power":13450,"unknown_229":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8805803934047735808}} 
[2026-09-04 07:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":171875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:41:54] local.INFO: GPS data processed {"connection_id":171875,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:41:54] local.INFO: Acknowledgment sent {"connection_id":171875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:42:05] local.INFO: TCP Data received {"connection_id":170777,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:42:05] local.INFO: Processing buffer {"connection_id":170777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:42:05] local.INFO: IMEI packet received {"connection_id":170777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":170777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:42:06] local.INFO: TCP Data received {"connection_id":173171,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:42:06] local.INFO: Processing buffer {"connection_id":173171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:42:06] local.INFO: IMEI packet received {"connection_id":173171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":173171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:42:10] local.INFO: TCP Data received {"connection_id":170777,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:42:10] local.INFO: Processing buffer {"connection_id":170777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:42:10] local.INFO: IMEI packet received {"connection_id":170777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":170777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:42:10] local.INFO: TCP Data received {"connection_id":173171,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:42:10] local.INFO: Processing buffer {"connection_id":173171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:42:10] local.INFO: IMEI packet received {"connection_id":173171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":173171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:42:11] local.INFO: TCP Data received {"connection_id":170777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:42:11] local.INFO: Processing buffer {"connection_id":170777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:42:11] local.INFO: Packet analysis {"connection_id":170777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:42:11] local.INFO: Extracted packet for processing {"connection_id":170777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:42:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852785408001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788487744000,"timestamp_ms":1788487744000,"timestamp_seconds":1788487744,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2d3a00"} 
[2026-09-04 07:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852785408001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852785408001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:42:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852785408001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":170777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:42:11] local.INFO: GPS data processed {"connection_id":170777,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:42:11] local.INFO: Acknowledgment sent {"connection_id":170777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:42:15] local.INFO: TCP Data received {"connection_id":170777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:42:15] local.INFO: Processing buffer {"connection_id":170777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:42:15] local.INFO: Packet analysis {"connection_id":170777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:42:15] local.INFO: Extracted packet for processing {"connection_id":170777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:42:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852785408001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788487744000,"timestamp_ms":1788487744000,"timestamp_seconds":1788487744,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2d3a00"} 
[2026-09-04 07:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852785408001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852785408001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:42:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852785408001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":170777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:42:15] local.INFO: GPS data processed {"connection_id":170777,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:42:15] local.INFO: Acknowledgment sent {"connection_id":170777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:42:15] local.INFO: TCP Data received {"connection_id":173171,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:42:15] local.INFO: Processing buffer {"connection_id":173171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:42:15] local.INFO: IMEI packet received {"connection_id":173171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":173171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:42:16] local.INFO: TCP Data received {"connection_id":173171,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2fb2d0012d7a320005daa6600003010c1f..."} 
[2026-09-04 07:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2fb2d0012d7a320005daa6600003010c1f..."} 
[2026-09-04 07:42:16] local.INFO: Processing buffer {"connection_id":173171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2fb2d0012d7a320005daa6600003010c1f..."} 
[2026-09-04 07:42:16] local.INFO: Packet analysis {"connection_id":173171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2f"} 
[2026-09-04 07:42:16] local.INFO: Extracted packet for processing {"connection_id":173171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2f"} 
[2026-09-04 07:42:16] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":98215520,"longitude_deg":76.2982912,"latitude_deg":9.821552,"altitude":3,"angle":268,"satellites":31,"speed":7,"hex_longitude":"2d7a3200","hex_latitude":"05daa660","is_valid_coordinates":true} 
[2026-09-04 07:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852903680001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128109575835484160,"note":"Value kept but may cause issues"} 
[2026-09-04 07:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805311352838453248,"note":"Value kept but may cause issues"} 
[2026-09-04 07:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788487906000,"timestamp_ms":1788487906000,"timestamp_seconds":1788487906,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2fb2d0"} 
[2026-09-04 07:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 07:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852903680001,"66":13602,"229":206,"85":15104,"24":7,"16":128109575835484160,"45":8805311352838453248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 07:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852903680001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:42:16] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 07:42:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128109575835484160,"km_value":128109575835484.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805311352838453248,"description":"Unknown IO ID 45"} 
[2026-09-04 07:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852903680001,"power":13602,"unknown_229":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8805311352838453248}} 
[2026-09-04 07:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":173171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:42:16] local.INFO: GPS data processed {"connection_id":173171,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:42:16] local.INFO: Acknowledgment sent {"connection_id":173171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:42:47] local.INFO: TCP Data received {"connection_id":173171,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2fb6b8012d7a318005daa688000301211f..."} 
[2026-09-04 07:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2fb6b8012d7a318005daa688000301211f..."} 
[2026-09-04 07:42:47] local.INFO: Processing buffer {"connection_id":173171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2fb6b8012d7a318005daa688000301211f..."} 
[2026-09-04 07:42:47] local.INFO: Packet analysis {"connection_id":173171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2f"} 
[2026-09-04 07:42:47] local.INFO: Extracted packet for processing {"connection_id":173171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2f"} 
[2026-09-04 07:42:47] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98215560,"longitude_deg":76.2982784,"latitude_deg":9.821556,"altitude":3,"angle":289,"satellites":31,"speed":5,"hex_longitude":"2d7a3180","hex_latitude":"05daa688","is_valid_coordinates":true} 
[2026-09-04 07:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852903936001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128109584425418752,"note":"Value kept but may cause issues"} 
[2026-09-04 07:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805100246605914112,"note":"Value kept but may cause issues"} 
[2026-09-04 07:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788487907000,"timestamp_ms":1788487907000,"timestamp_seconds":1788487907,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2fb6b8"} 
[2026-09-04 07:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-04 07:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852903936001,"66":13602,"229":206,"85":15104,"24":5,"16":128109584425418752,"45":8805100246605914112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 07:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852903936001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:42:47] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 07:42:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128109584425418752,"km_value":128109584425418.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805100246605914112,"description":"Unknown IO ID 45"} 
[2026-09-04 07:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852903936001,"power":13602,"unknown_229":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8805100246605914112}} 
[2026-09-04 07:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":173171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:42:47] local.INFO: GPS data processed {"connection_id":173171,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:42:47] local.INFO: Acknowledgment sent {"connection_id":173171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:43:01] local.INFO: TCP Data received {"connection_id":170778,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:43:01] local.INFO: Processing buffer {"connection_id":170778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:43:01] local.INFO: IMEI packet received {"connection_id":170778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":170778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:43:05] local.INFO: TCP Data received {"connection_id":170778,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:43:05] local.INFO: Processing buffer {"connection_id":170778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:43:05] local.INFO: IMEI packet received {"connection_id":170778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":170778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:43:06] local.INFO: TCP Data received {"connection_id":170778,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:43:06] local.INFO: Processing buffer {"connection_id":170778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:43:06] local.INFO: Packet analysis {"connection_id":170778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:43:06] local.INFO: Extracted packet for processing {"connection_id":170778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:43:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852785408001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:43:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788487744000,"timestamp_ms":1788487744000,"timestamp_seconds":1788487744,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2d3a00"} 
[2026-09-04 07:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852785408001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852785408001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:43:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:43:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852785408001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":170778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:43:06] local.INFO: GPS data processed {"connection_id":170778,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:43:06] local.INFO: Acknowledgment sent {"connection_id":170778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:43:07] local.INFO: TCP Data received {"connection_id":170469,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:43:07] local.INFO: Processing buffer {"connection_id":170469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:43:07] local.INFO: IMEI packet received {"connection_id":170469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":170469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:43:08] local.INFO: TCP Data received {"connection_id":170469,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:43:08] local.INFO: Processing buffer {"connection_id":170469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:43:08] local.INFO: IMEI packet received {"connection_id":170469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":170469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:43:09] local.INFO: TCP Data received {"connection_id":170469,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:43:09] local.INFO: Processing buffer {"connection_id":170469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:43:09] local.INFO: IMEI packet received {"connection_id":170469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":170469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:43:10] local.INFO: TCP Data received {"connection_id":170469,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:43:10] local.INFO: Processing buffer {"connection_id":170469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:43:10] local.INFO: IMEI packet received {"connection_id":170469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":170469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:43:10] local.INFO: TCP Data received {"connection_id":170778,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:43:10] local.INFO: Processing buffer {"connection_id":170778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:43:10] local.INFO: Packet analysis {"connection_id":170778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:43:10] local.INFO: Extracted packet for processing {"connection_id":170778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:43:10] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852785408001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788487744000,"timestamp_ms":1788487744000,"timestamp_seconds":1788487744,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2d3a00"} 
[2026-09-04 07:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852785408001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852785408001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:43:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852785408001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":170778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:43:10] local.INFO: GPS data processed {"connection_id":170778,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:43:10] local.INFO: Acknowledgment sent {"connection_id":170778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:43:41] local.INFO: TCP Data received {"connection_id":170778,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:43:41] local.INFO: Processing buffer {"connection_id":170778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:43:41] local.INFO: Packet analysis {"connection_id":170778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:43:41] local.INFO: Extracted packet for processing {"connection_id":170778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:43:41] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852785408001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788487744000,"timestamp_ms":1788487744000,"timestamp_seconds":1788487744,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2d3a00"} 
[2026-09-04 07:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852785408001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852785408001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:43:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852785408001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":170778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:43:41] local.INFO: GPS data processed {"connection_id":170778,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:43:41] local.INFO: Acknowledgment sent {"connection_id":170778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:44:00] local.INFO: TCP Data received {"connection_id":170779,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:44:00] local.INFO: Processing buffer {"connection_id":170779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:44:00] local.INFO: IMEI packet received {"connection_id":170779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":170779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:44:05] local.INFO: TCP Data received {"connection_id":170779,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:44:05] local.INFO: Processing buffer {"connection_id":170779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:44:05] local.INFO: IMEI packet received {"connection_id":170779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":170779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:44:06] local.INFO: TCP Data received {"connection_id":170779,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:44:06] local.INFO: Processing buffer {"connection_id":170779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:44:06] local.INFO: Packet analysis {"connection_id":170779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:44:06] local.INFO: Extracted packet for processing {"connection_id":170779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:44:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852785408001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:44:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788487744000,"timestamp_ms":1788487744000,"timestamp_seconds":1788487744,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2d3a00"} 
[2026-09-04 07:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852785408001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852785408001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:44:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:44:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852785408001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":170779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:44:06] local.INFO: GPS data processed {"connection_id":170779,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:44:06] local.INFO: Acknowledgment sent {"connection_id":170779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:44:37] local.INFO: TCP Data received {"connection_id":170779,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:44:37] local.INFO: Processing buffer {"connection_id":170779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a2d3a00012cee7040072e2b900035006226..."} 
[2026-09-04 07:44:37] local.INFO: Packet analysis {"connection_id":170779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:44:37] local.INFO: Extracted packet for processing {"connection_id":170779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a2d"} 
[2026-09-04 07:44:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852785408001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:44:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788487744000,"timestamp_ms":1788487744000,"timestamp_seconds":1788487744,"priority":1,"record_length":96,"hex_timestamp":"000001a06a2d3a00"} 
[2026-09-04 07:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852785408001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852785408001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:44:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:44:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852785408001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":170779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:44:37] local.INFO: GPS data processed {"connection_id":170779,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:44:37] local.INFO: Acknowledgment sent {"connection_id":170779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:45:00] local.INFO: TCP Data received {"connection_id":171877,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:45:00] local.INFO: Processing buffer {"connection_id":171877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:45:00] local.INFO: IMEI packet received {"connection_id":171877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":171877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:45:05] local.INFO: TCP Data received {"connection_id":171877,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:45:05] local.INFO: Processing buffer {"connection_id":171877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:45:05] local.INFO: IMEI packet received {"connection_id":171877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":171877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:45:06] local.INFO: TCP Data received {"connection_id":171877,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:45:06] local.INFO: Processing buffer {"connection_id":171877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:45:06] local.INFO: Packet analysis {"connection_id":171877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:45:06] local.INFO: Extracted packet for processing {"connection_id":171877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:45:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852862464001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:45:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488045000,"timestamp_ms":1788488045000,"timestamp_seconds":1788488045,"priority":1,"record_length":96,"hex_timestamp":"000001a06a31d1c8"} 
[2026-09-04 07:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852862464001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852862464001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:45:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:45:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852862464001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":171877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:45:06] local.INFO: GPS data processed {"connection_id":171877,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:45:06] local.INFO: Acknowledgment sent {"connection_id":171877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:45:37] local.INFO: TCP Data received {"connection_id":171877,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:45:37] local.INFO: Processing buffer {"connection_id":171877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:45:37] local.INFO: Packet analysis {"connection_id":171877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:45:37] local.INFO: Extracted packet for processing {"connection_id":171877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:45:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852862464001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:45:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488045000,"timestamp_ms":1788488045000,"timestamp_seconds":1788488045,"priority":1,"record_length":96,"hex_timestamp":"000001a06a31d1c8"} 
[2026-09-04 07:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852862464001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852862464001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:45:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:45:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852862464001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":171877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:45:37] local.INFO: GPS data processed {"connection_id":171877,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:45:37] local.INFO: Acknowledgment sent {"connection_id":171877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:46:00] local.INFO: TCP Data received {"connection_id":170470,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:46:00] local.INFO: Processing buffer {"connection_id":170470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:46:00] local.INFO: IMEI packet received {"connection_id":170470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":170470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:46:05] local.INFO: TCP Data received {"connection_id":170470,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:46:05] local.INFO: Processing buffer {"connection_id":170470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:46:05] local.INFO: IMEI packet received {"connection_id":170470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":170470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:46:06] local.INFO: TCP Data received {"connection_id":170470,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:46:06] local.INFO: Processing buffer {"connection_id":170470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:46:06] local.INFO: Packet analysis {"connection_id":170470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:46:06] local.INFO: Extracted packet for processing {"connection_id":170470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:46:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852862464001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:46:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488045000,"timestamp_ms":1788488045000,"timestamp_seconds":1788488045,"priority":1,"record_length":96,"hex_timestamp":"000001a06a31d1c8"} 
[2026-09-04 07:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852862464001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852862464001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:46:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:46:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852862464001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":170470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:46:06] local.INFO: GPS data processed {"connection_id":170470,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:46:06] local.INFO: Acknowledgment sent {"connection_id":170470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:46:37] local.INFO: TCP Data received {"connection_id":170470,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:46:37] local.INFO: Processing buffer {"connection_id":170470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:46:37] local.INFO: Packet analysis {"connection_id":170470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:46:37] local.INFO: Extracted packet for processing {"connection_id":170470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:46:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852862464001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:46:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488045000,"timestamp_ms":1788488045000,"timestamp_seconds":1788488045,"priority":1,"record_length":96,"hex_timestamp":"000001a06a31d1c8"} 
[2026-09-04 07:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852862464001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852862464001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:46:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:46:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852862464001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":170470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:46:37] local.INFO: GPS data processed {"connection_id":170470,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:46:37] local.INFO: Acknowledgment sent {"connection_id":170470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:47:05] local.INFO: TCP Data received {"connection_id":173173,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:47:05] local.INFO: Processing buffer {"connection_id":173173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:47:05] local.INFO: IMEI packet received {"connection_id":173173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":173173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:47:10] local.INFO: TCP Data received {"connection_id":173173,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:47:10] local.INFO: Processing buffer {"connection_id":173173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:47:10] local.INFO: IMEI packet received {"connection_id":173173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":173173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:47:11] local.INFO: TCP Data received {"connection_id":173173,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:47:11] local.INFO: Processing buffer {"connection_id":173173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:47:11] local.INFO: Packet analysis {"connection_id":173173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:47:11] local.INFO: Extracted packet for processing {"connection_id":173173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:47:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852862464001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788488045000,"timestamp_ms":1788488045000,"timestamp_seconds":1788488045,"priority":1,"record_length":96,"hex_timestamp":"000001a06a31d1c8"} 
[2026-09-04 07:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852862464001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852862464001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:47:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852862464001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":173173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:47:11] local.INFO: GPS data processed {"connection_id":173173,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:47:11] local.INFO: Acknowledgment sent {"connection_id":173173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:47:15] local.INFO: TCP Data received {"connection_id":173173,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:47:15] local.INFO: Processing buffer {"connection_id":173173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:47:15] local.INFO: Packet analysis {"connection_id":173173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:47:15] local.INFO: Extracted packet for processing {"connection_id":173173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:47:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852862464001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:47:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788488045000,"timestamp_ms":1788488045000,"timestamp_seconds":1788488045,"priority":1,"record_length":96,"hex_timestamp":"000001a06a31d1c8"} 
[2026-09-04 07:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852862464001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852862464001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:47:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:47:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852862464001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":173173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:47:15] local.INFO: GPS data processed {"connection_id":173173,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:47:15] local.INFO: Acknowledgment sent {"connection_id":173173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:48:00] local.INFO: TCP Data received {"connection_id":173175,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:48:00] local.INFO: Processing buffer {"connection_id":173175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:48:00] local.INFO: IMEI packet received {"connection_id":173175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":173175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:48:05] local.INFO: TCP Data received {"connection_id":173175,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:48:05] local.INFO: Processing buffer {"connection_id":173175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:48:05] local.INFO: IMEI packet received {"connection_id":173175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":173175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:48:06] local.INFO: TCP Data received {"connection_id":173175,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:48:06] local.INFO: Processing buffer {"connection_id":173175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:48:06] local.INFO: Packet analysis {"connection_id":173175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:48:06] local.INFO: Extracted packet for processing {"connection_id":173175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:48:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852862464001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:48:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488045000,"timestamp_ms":1788488045000,"timestamp_seconds":1788488045,"priority":1,"record_length":96,"hex_timestamp":"000001a06a31d1c8"} 
[2026-09-04 07:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852862464001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852862464001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:48:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:48:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852862464001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":173175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:48:06] local.INFO: GPS data processed {"connection_id":173175,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:48:06] local.INFO: Acknowledgment sent {"connection_id":173175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:48:15] local.INFO: TCP Data received {"connection_id":173176,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:48:15] local.INFO: Processing buffer {"connection_id":173176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:48:15] local.INFO: IMEI packet received {"connection_id":173176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":173176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:48:16] local.INFO: TCP Data received {"connection_id":173176,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a355c08012d7bd94005dd2e600000016114..."} 
[2026-09-04 07:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a355c08012d7bd94005dd2e600000016114..."} 
[2026-09-04 07:48:16] local.INFO: Processing buffer {"connection_id":173176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a355c08012d7bd94005dd2e600000016114..."} 
[2026-09-04 07:48:16] local.INFO: Packet analysis {"connection_id":173176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a35"} 
[2026-09-04 07:48:16] local.INFO: Extracted packet for processing {"connection_id":173176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a35"} 
[2026-09-04 07:48:16] local.INFO: GPS Element Parsed {"raw_longitude":763091264,"raw_latitude":98381408,"longitude_deg":76.3091264,"latitude_deg":9.8381408,"altitude":0,"angle":353,"satellites":20,"speed":57,"hex_longitude":"2d7bd940","hex_latitude":"05dd2e60","is_valid_coordinates":true} 
[2026-09-04 07:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852996864001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128123255306321920,"note":"Value kept but may cause issues"} 
[2026-09-04 07:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925149324212846592,"note":"Value kept but may cause issues"} 
[2026-09-04 07:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788488277000,"timestamp_ms":1788488277000,"timestamp_seconds":1788488277,"priority":1,"record_length":96,"hex_timestamp":"000001a06a355c08"} 
[2026-09-04 07:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-04 07:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852996864001,"66":12906,"168":206,"85":15104,"24":57,"16":128123255306321920,"45":8925149324212846592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-04 07:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852996864001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:48:16] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-04 07:48:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128123255306321920,"km_value":128123255306321.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925149324212846592,"description":"Unknown IO ID 45"} 
[2026-09-04 07:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852996864001,"power":12906,"unknown_168":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8925149324212846592}} 
[2026-09-04 07:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":173176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:48:16] local.INFO: GPS data processed {"connection_id":173176,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:48:16] local.INFO: Acknowledgment sent {"connection_id":173176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:48:37] local.INFO: TCP Data received {"connection_id":173175,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:48:37] local.INFO: Processing buffer {"connection_id":173175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:48:37] local.INFO: Packet analysis {"connection_id":173175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:48:37] local.INFO: Extracted packet for processing {"connection_id":173175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:48:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852862464001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:48:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488045000,"timestamp_ms":1788488045000,"timestamp_seconds":1788488045,"priority":1,"record_length":96,"hex_timestamp":"000001a06a31d1c8"} 
[2026-09-04 07:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852862464001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852862464001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:48:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:48:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852862464001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":173175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:48:37] local.INFO: GPS data processed {"connection_id":173175,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:48:37] local.INFO: Acknowledgment sent {"connection_id":173175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:48:53] local.INFO: TCP Data received {"connection_id":173176,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a357378012d7bd48005dd51280000016015..."} 
[2026-09-04 07:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a357378012d7bd48005dd51280000016015..."} 
[2026-09-04 07:48:53] local.INFO: Processing buffer {"connection_id":173176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a357378012d7bd48005dd51280000016015..."} 
[2026-09-04 07:48:53] local.INFO: Packet analysis {"connection_id":173176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a35"} 
[2026-09-04 07:48:53] local.INFO: Extracted packet for processing {"connection_id":173176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a35"} 
[2026-09-04 07:48:53] local.INFO: GPS Element Parsed {"raw_longitude":763090048,"raw_latitude":98390312,"longitude_deg":76.3090048,"latitude_deg":9.8390312,"altitude":0,"angle":352,"satellites":21,"speed":63,"hex_longitude":"2d7bd480","hex_latitude":"05dd5128","is_valid_coordinates":true} 
[2026-09-04 07:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852998912001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128123693392986112,"note":"Value kept but may cause issues"} 
[2026-09-04 07:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530541166592,"note":"Value kept but may cause issues"} 
[2026-09-04 07:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788488283000,"timestamp_ms":1788488283000,"timestamp_seconds":1788488283,"priority":1,"record_length":96,"hex_timestamp":"000001a06a357378"} 
[2026-09-04 07:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-04 07:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852998912001,"66":13537,"169":206,"85":15104,"24":63,"16":128123693392986112,"45":8924234530541166592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852998912001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:48:53] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:48:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128123693392986112,"km_value":128123693392986.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530541166592,"description":"Unknown IO ID 45"} 
[2026-09-04 07:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852998912001,"power":13537,"unknown_169":206,"unknown_85":15104,"ignition":63,"odometer":null,"unknown_45":8924234530541166592}} 
[2026-09-04 07:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":173176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:48:53] local.INFO: GPS data processed {"connection_id":173176,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:48:53] local.INFO: Acknowledgment sent {"connection_id":173176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:49:00] local.INFO: TCP Data received {"connection_id":170781,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:49:00] local.INFO: Processing buffer {"connection_id":170781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:49:00] local.INFO: IMEI packet received {"connection_id":170781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":170781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:49:05] local.INFO: TCP Data received {"connection_id":170781,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:49:05] local.INFO: Processing buffer {"connection_id":170781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:49:05] local.INFO: IMEI packet received {"connection_id":170781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":170781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:49:06] local.INFO: TCP Data received {"connection_id":170781,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:49:06] local.INFO: Processing buffer {"connection_id":170781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:49:06] local.INFO: Packet analysis {"connection_id":170781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:49:06] local.INFO: Extracted packet for processing {"connection_id":170781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:49:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852862464001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:49:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488045000,"timestamp_ms":1788488045000,"timestamp_seconds":1788488045,"priority":1,"record_length":96,"hex_timestamp":"000001a06a31d1c8"} 
[2026-09-04 07:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852862464001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852862464001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:49:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:49:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852862464001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":170781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:49:06] local.INFO: GPS data processed {"connection_id":170781,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:49:06] local.INFO: Acknowledgment sent {"connection_id":170781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:49:15] local.INFO: TCP Data received {"connection_id":170471,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:49:15] local.INFO: Processing buffer {"connection_id":170471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:49:15] local.INFO: IMEI packet received {"connection_id":170471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":170471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:49:20] local.INFO: TCP Data received {"connection_id":170471,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:49:20] local.INFO: Processing buffer {"connection_id":170471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:49:20] local.INFO: IMEI packet received {"connection_id":170471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":170471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:49:21] local.INFO: TCP Data received {"connection_id":170471,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a365608012d7bbd8005ddd008000100b61f..."} 
[2026-09-04 07:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a365608012d7bbd8005ddd008000100b61f..."} 
[2026-09-04 07:49:21] local.INFO: Processing buffer {"connection_id":170471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a365608012d7bbd8005ddd008000100b61f..."} 
[2026-09-04 07:49:21] local.INFO: Packet analysis {"connection_id":170471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:49:21] local.INFO: Extracted packet for processing {"connection_id":170471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:49:21] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98422792,"longitude_deg":76.308416,"latitude_deg":9.8422792,"altitude":1,"angle":182,"satellites":31,"speed":8,"hex_longitude":"2d7bbd80","hex_latitude":"05ddd008","is_valid_coordinates":true} 
[2026-09-04 07:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853010688001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128125845171601408,"note":"Value kept but may cause issues"} 
[2026-09-04 07:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915368068786538496,"note":"Value kept but may cause issues"} 
[2026-09-04 07:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788488341000,"timestamp_ms":1788488341000,"timestamp_seconds":1788488341,"priority":1,"record_length":96,"hex_timestamp":"000001a06a365608"} 
[2026-09-04 07:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-04 07:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":170471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":170471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":170471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853010688001,"66":13678,"169":206,"85":15104,"24":8,"16":128125845171601408,"45":8915368068786538496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853010688001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:49:21] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128125845171601408,"km_value":128125845171601.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915368068786538496,"description":"Unknown IO ID 45"} 
[2026-09-04 07:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853010688001,"power":13678,"unknown_169":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8915368068786538496}} 
[2026-09-04 07:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":170471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:49:21] local.INFO: GPS data processed {"connection_id":170471,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:49:21] local.INFO: Acknowledgment sent {"connection_id":170471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:49:37] local.INFO: TCP Data received {"connection_id":170781,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:49:37] local.INFO: Processing buffer {"connection_id":170781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a31d1c8012cee7040072e2b900035006226..."} 
[2026-09-04 07:49:37] local.INFO: Packet analysis {"connection_id":170781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:49:37] local.INFO: Extracted packet for processing {"connection_id":170781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a31"} 
[2026-09-04 07:49:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852862464001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:49:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488045000,"timestamp_ms":1788488045000,"timestamp_seconds":1788488045,"priority":1,"record_length":96,"hex_timestamp":"000001a06a31d1c8"} 
[2026-09-04 07:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852862464001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852862464001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:49:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:49:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852862464001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":170781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:49:37] local.INFO: GPS data processed {"connection_id":170781,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:49:37] local.INFO: Acknowledgment sent {"connection_id":170781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:49:52] local.INFO: TCP Data received {"connection_id":170471,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a366990012d7bbd4005ddcb10000200a81f..."} 
[2026-09-04 07:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a366990012d7bbd4005ddcb10000200a81f..."} 
[2026-09-04 07:49:52] local.INFO: Processing buffer {"connection_id":170471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a366990012d7bbd4005ddcb10000200a81f..."} 
[2026-09-04 07:49:52] local.INFO: Packet analysis {"connection_id":170471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:49:52] local.INFO: Extracted packet for processing {"connection_id":170471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:49:52] local.INFO: GPS Element Parsed {"raw_longitude":763084096,"raw_latitude":98421520,"longitude_deg":76.3084096,"latitude_deg":9.842152,"altitude":2,"angle":168,"satellites":31,"speed":9,"hex_longitude":"2d7bbd40","hex_latitude":"05ddcb10","is_valid_coordinates":true} 
[2026-09-04 07:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853015296001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128125905301143552,"note":"Value kept but may cause issues"} 
[2026-09-04 07:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916423599948040192,"note":"Value kept but may cause issues"} 
[2026-09-04 07:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788488346000,"timestamp_ms":1788488346000,"timestamp_seconds":1788488346,"priority":1,"record_length":96,"hex_timestamp":"000001a06a366990"} 
[2026-09-04 07:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 07:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":170471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":170471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":170471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853015296001,"66":13428,"169":206,"85":15104,"24":9,"16":128125905301143552,"45":8916423599948040192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853015296001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:49:52] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128125905301143552,"km_value":128125905301143.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916423599948040192,"description":"Unknown IO ID 45"} 
[2026-09-04 07:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853015296001,"power":13428,"unknown_169":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8916423599948040192}} 
[2026-09-04 07:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":170471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:49:52] local.INFO: GPS data processed {"connection_id":170471,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:49:52] local.INFO: Acknowledgment sent {"connection_id":170471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:50:00] local.INFO: TCP Data received {"connection_id":170472,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:50:00] local.INFO: Processing buffer {"connection_id":170472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:50:00] local.INFO: IMEI packet received {"connection_id":170472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":170472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:50:05] local.INFO: TCP Data received {"connection_id":170472,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:50:05] local.INFO: Processing buffer {"connection_id":170472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:50:05] local.INFO: IMEI packet received {"connection_id":170472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":170472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:50:06] local.INFO: TCP Data received {"connection_id":170472,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:50:06] local.INFO: Processing buffer {"connection_id":170472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:50:06] local.INFO: Packet analysis {"connection_id":170472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:50:06] local.INFO: Extracted packet for processing {"connection_id":170472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852939520001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488346000,"timestamp_ms":1788488346000,"timestamp_seconds":1788488346,"priority":1,"record_length":96,"hex_timestamp":"000001a06a366990"} 
[2026-09-04 07:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852939520001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852939520001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:50:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852939520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":170472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:50:06] local.INFO: GPS data processed {"connection_id":170472,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:50:06] local.INFO: Acknowledgment sent {"connection_id":170472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:50:10] local.INFO: TCP Data received {"connection_id":170473,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:50:10] local.INFO: Processing buffer {"connection_id":170473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:50:10] local.INFO: IMEI packet received {"connection_id":170473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":170473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:50:15] local.INFO: TCP Data received {"connection_id":170473,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:50:15] local.INFO: Processing buffer {"connection_id":170473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:50:15] local.INFO: IMEI packet received {"connection_id":170473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":170473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:50:16] local.INFO: TCP Data received {"connection_id":170473,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a369c58012d7bbfc005ddc0480003009b21..."} 
[2026-09-04 07:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a369c58012d7bbfc005ddc0480003009b21..."} 
[2026-09-04 07:50:16] local.INFO: Processing buffer {"connection_id":170473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a369c58012d7bbfc005ddc0480003009b21..."} 
[2026-09-04 07:50:16] local.INFO: Packet analysis {"connection_id":170473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:50:16] local.INFO: Extracted packet for processing {"connection_id":170473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:50:16] local.INFO: GPS Element Parsed {"raw_longitude":763084736,"raw_latitude":98418760,"longitude_deg":76.3084736,"latitude_deg":9.841876,"altitude":3,"angle":155,"satellites":33,"speed":9,"hex_longitude":"2d7bbfc0","hex_latitude":"05ddc048","is_valid_coordinates":true} 
[2026-09-04 07:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853016576001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126047035064320,"note":"Value kept but may cause issues"} 
[2026-09-04 07:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916353231203536896,"note":"Value kept but may cause issues"} 
[2026-09-04 07:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788488359000,"timestamp_ms":1788488359000,"timestamp_seconds":1788488359,"priority":1,"record_length":96,"hex_timestamp":"000001a06a369c58"} 
[2026-09-04 07:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 07:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853016576001,"66":13559,"169":206,"85":15104,"24":9,"16":128126047035064320,"45":8916353231203536896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853016576001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:50:16] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:50:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126047035064320,"km_value":128126047035064.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916353231203536896,"description":"Unknown IO ID 45"} 
[2026-09-04 07:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853016576001,"power":13559,"unknown_169":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8916353231203536896}} 
[2026-09-04 07:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":170473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:50:16] local.INFO: GPS data processed {"connection_id":170473,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:50:16] local.INFO: Acknowledgment sent {"connection_id":170473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:50:37] local.INFO: TCP Data received {"connection_id":170472,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:50:37] local.INFO: Processing buffer {"connection_id":170472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:50:37] local.INFO: Packet analysis {"connection_id":170472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:50:37] local.INFO: Extracted packet for processing {"connection_id":170472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:50:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852939520001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:50:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488346000,"timestamp_ms":1788488346000,"timestamp_seconds":1788488346,"priority":1,"record_length":96,"hex_timestamp":"000001a06a366990"} 
[2026-09-04 07:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852939520001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852939520001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:50:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:50:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852939520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":170472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:50:37] local.INFO: GPS data processed {"connection_id":170472,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:50:37] local.INFO: Acknowledgment sent {"connection_id":170472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:50:48] local.INFO: TCP Data received {"connection_id":170473,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a36a428012d7bc00005ddbed8000400ae21..."} 
[2026-09-04 07:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a36a428012d7bc00005ddbed8000400ae21..."} 
[2026-09-04 07:50:48] local.INFO: Processing buffer {"connection_id":170473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a36a428012d7bc00005ddbed8000400ae21..."} 
[2026-09-04 07:50:48] local.INFO: Packet analysis {"connection_id":170473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:50:48] local.INFO: Extracted packet for processing {"connection_id":170473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:50:48] local.INFO: GPS Element Parsed {"raw_longitude":763084800,"raw_latitude":98418392,"longitude_deg":76.30848,"latitude_deg":9.8418392,"altitude":4,"angle":174,"satellites":33,"speed":6,"hex_longitude":"2d7bc000","hex_latitude":"05ddbed8","is_valid_coordinates":true} 
[2026-09-04 07:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853019904001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126064214933504,"note":"Value kept but may cause issues"} 
[2026-09-04 07:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917056918644606976,"note":"Value kept but may cause issues"} 
[2026-09-04 07:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788488361000,"timestamp_ms":1788488361000,"timestamp_seconds":1788488361,"priority":1,"record_length":96,"hex_timestamp":"000001a06a36a428"} 
[2026-09-04 07:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-04 07:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":170473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":170473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":170473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853019904001,"66":13222,"169":206,"85":15104,"24":6,"16":128126064214933504,"45":8917056918644606976},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853019904001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:50:48] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:50:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126064214933504,"km_value":128126064214933.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917056918644606976,"description":"Unknown IO ID 45"} 
[2026-09-04 07:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853019904001,"power":13222,"unknown_169":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8917056918644606976}} 
[2026-09-04 07:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":170473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:50:48] local.INFO: GPS data processed {"connection_id":170473,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:50:48] local.INFO: Acknowledgment sent {"connection_id":170473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:51:00] local.INFO: TCP Data received {"connection_id":170474,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:51:00] local.INFO: Processing buffer {"connection_id":170474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:51:00] local.INFO: IMEI packet received {"connection_id":170474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":170474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:51:05] local.INFO: TCP Data received {"connection_id":170474,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:51:05] local.INFO: Processing buffer {"connection_id":170474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:51:05] local.INFO: IMEI packet received {"connection_id":170474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":170474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:51:06] local.INFO: TCP Data received {"connection_id":170474,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:51:06] local.INFO: Processing buffer {"connection_id":170474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:51:06] local.INFO: Packet analysis {"connection_id":170474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:51:06] local.INFO: Extracted packet for processing {"connection_id":170474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:51:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852939520001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:51:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488346000,"timestamp_ms":1788488346000,"timestamp_seconds":1788488346,"priority":1,"record_length":96,"hex_timestamp":"000001a06a366990"} 
[2026-09-04 07:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852939520001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852939520001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:51:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:51:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852939520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":170474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:51:06] local.INFO: GPS data processed {"connection_id":170474,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:51:06] local.INFO: Acknowledgment sent {"connection_id":170474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:51:10] local.INFO: TCP Data received {"connection_id":170782,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:51:10] local.INFO: Processing buffer {"connection_id":170782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:51:10] local.INFO: IMEI packet received {"connection_id":170782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":170782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:51:15] local.INFO: TCP Data received {"connection_id":170782,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:51:15] local.INFO: Processing buffer {"connection_id":170782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:51:15] local.INFO: IMEI packet received {"connection_id":170782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":170782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:51:16] local.INFO: TCP Data received {"connection_id":170782,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a36b3c8012d7bbec005ddbd20000400e822..."} 
[2026-09-04 07:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a36b3c8012d7bbec005ddbd20000400e822..."} 
[2026-09-04 07:51:16] local.INFO: Processing buffer {"connection_id":170782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a36b3c8012d7bbec005ddbd20000400e822..."} 
[2026-09-04 07:51:16] local.INFO: Packet analysis {"connection_id":170782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:51:16] local.INFO: Extracted packet for processing {"connection_id":170782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:51:16] local.INFO: GPS Element Parsed {"raw_longitude":763084480,"raw_latitude":98417952,"longitude_deg":76.308448,"latitude_deg":9.8417952,"altitude":4,"angle":232,"satellites":34,"speed":5,"hex_longitude":"2d7bbec0","hex_latitude":"05ddbd20","is_valid_coordinates":true} 
[2026-09-04 07:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853020416001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126089984737280,"note":"Value kept but may cause issues"} 
[2026-09-04 07:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388690432,"note":"Value kept but may cause issues"} 
[2026-09-04 07:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788488365000,"timestamp_ms":1788488365000,"timestamp_seconds":1788488365,"priority":1,"record_length":96,"hex_timestamp":"000001a06a36b3c8"} 
[2026-09-04 07:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 07:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853020416001,"66":13537,"169":206,"85":15104,"24":5,"16":128126089984737280,"45":8917127287388690432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853020416001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:51:16] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126089984737280,"km_value":128126089984737.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388690432,"description":"Unknown IO ID 45"} 
[2026-09-04 07:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853020416001,"power":13537,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8917127287388690432}} 
[2026-09-04 07:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":170782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:51:16] local.INFO: GPS data processed {"connection_id":170782,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:51:16] local.INFO: Acknowledgment sent {"connection_id":170782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:51:37] local.INFO: TCP Data received {"connection_id":170474,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:51:37] local.INFO: Processing buffer {"connection_id":170474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:51:37] local.INFO: Packet analysis {"connection_id":170474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:51:37] local.INFO: Extracted packet for processing {"connection_id":170474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:51:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852939520001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:51:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488346000,"timestamp_ms":1788488346000,"timestamp_seconds":1788488346,"priority":1,"record_length":96,"hex_timestamp":"000001a06a366990"} 
[2026-09-04 07:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852939520001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852939520001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:51:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:51:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852939520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":170474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:51:37] local.INFO: GPS data processed {"connection_id":170474,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:51:37] local.INFO: Acknowledgment sent {"connection_id":170474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:51:47] local.INFO: TCP Data received {"connection_id":170782,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a36ea78012d7bbb8005ddbb10000500d022..."} 
[2026-09-04 07:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a36ea78012d7bbb8005ddbb10000500d022..."} 
[2026-09-04 07:51:47] local.INFO: Processing buffer {"connection_id":170782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a36ea78012d7bbb8005ddbb10000500d022..."} 
[2026-09-04 07:51:47] local.INFO: Packet analysis {"connection_id":170782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:51:47] local.INFO: Extracted packet for processing {"connection_id":170782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:51:47] local.INFO: GPS Element Parsed {"raw_longitude":763083648,"raw_latitude":98417424,"longitude_deg":76.3083648,"latitude_deg":9.8417424,"altitude":5,"angle":208,"satellites":34,"speed":3,"hex_longitude":"2d7bbb80","hex_latitude":"05ddbb10","is_valid_coordinates":true} 
[2026-09-04 07:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853021440001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126141524344832,"note":"Value kept but may cause issues"} 
[2026-09-04 07:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916775443667689472,"note":"Value kept but may cause issues"} 
[2026-09-04 07:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788488379000,"timestamp_ms":1788488379000,"timestamp_seconds":1788488379,"priority":1,"record_length":96,"hex_timestamp":"000001a06a36ea78"} 
[2026-09-04 07:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-04 07:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853021440001,"66":13189,"169":206,"85":15104,"24":3,"16":128126141524344832,"45":8916775443667689472},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853021440001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:51:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:51:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126141524344832,"km_value":128126141524344.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916775443667689472,"description":"Unknown IO ID 45"} 
[2026-09-04 07:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853021440001,"power":13189,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8916775443667689472}} 
[2026-09-04 07:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":170782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:51:47] local.INFO: GPS data processed {"connection_id":170782,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:51:47] local.INFO: Acknowledgment sent {"connection_id":170782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:52:05] local.INFO: TCP Data received {"connection_id":170475,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:52:05] local.INFO: Processing buffer {"connection_id":170475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:52:05] local.INFO: IMEI packet received {"connection_id":170475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":170475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:52:10] local.INFO: TCP Data received {"connection_id":170475,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:52:10] local.INFO: Processing buffer {"connection_id":170475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:52:10] local.INFO: IMEI packet received {"connection_id":170475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":170475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:52:11] local.INFO: TCP Data received {"connection_id":170475,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:52:11] local.INFO: Processing buffer {"connection_id":170475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:52:11] local.INFO: Packet analysis {"connection_id":170475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:52:11] local.INFO: Extracted packet for processing {"connection_id":170475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:52:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852939520001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788488346000,"timestamp_ms":1788488346000,"timestamp_seconds":1788488346,"priority":1,"record_length":96,"hex_timestamp":"000001a06a366990"} 
[2026-09-04 07:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852939520001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852939520001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:52:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852939520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":170475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:52:11] local.INFO: GPS data processed {"connection_id":170475,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:52:11] local.INFO: Acknowledgment sent {"connection_id":170475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:52:15] local.INFO: TCP Data received {"connection_id":170475,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:52:15] local.INFO: Processing buffer {"connection_id":170475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:52:15] local.INFO: Packet analysis {"connection_id":170475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:52:15] local.INFO: Extracted packet for processing {"connection_id":170475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:52:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852939520001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788488346000,"timestamp_ms":1788488346000,"timestamp_seconds":1788488346,"priority":1,"record_length":96,"hex_timestamp":"000001a06a366990"} 
[2026-09-04 07:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852939520001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852939520001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:52:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:52:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852939520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":170475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:52:15] local.INFO: GPS data processed {"connection_id":170475,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:52:15] local.INFO: Acknowledgment sent {"connection_id":170475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:52:15] local.INFO: TCP Data received {"connection_id":171880,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:52:15] local.INFO: Processing buffer {"connection_id":171880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:52:15] local.INFO: IMEI packet received {"connection_id":171880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":171880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:52:20] local.INFO: TCP Data received {"connection_id":171880,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:52:20] local.INFO: Processing buffer {"connection_id":171880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:52:20] local.INFO: IMEI packet received {"connection_id":171880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":171880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:52:21] local.INFO: TCP Data received {"connection_id":171880,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a36ee60012d7bbb8005ddbab8000500ac22..."} 
[2026-09-04 07:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a36ee60012d7bbb8005ddbab8000500ac22..."} 
[2026-09-04 07:52:21] local.INFO: Processing buffer {"connection_id":171880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a36ee60012d7bbb8005ddbab8000500ac22..."} 
[2026-09-04 07:52:21] local.INFO: Packet analysis {"connection_id":171880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:52:21] local.INFO: Extracted packet for processing {"connection_id":171880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:52:21] local.INFO: GPS Element Parsed {"raw_longitude":763083648,"raw_latitude":98417336,"longitude_deg":76.3083648,"latitude_deg":9.8417336,"altitude":5,"angle":172,"satellites":34,"speed":3,"hex_longitude":"2d7bbb80","hex_latitude":"05ddbab8","is_valid_coordinates":true} 
[2026-09-04 07:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853025024001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126145819312128,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915860649993244672,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788488380000,"timestamp_ms":1788488380000,"timestamp_seconds":1788488380,"priority":1,"record_length":96,"hex_timestamp":"000001a06a36ee60"} 
[2026-09-04 07:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-04 07:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853025024001,"66":13319,"169":206,"85":15104,"24":3,"16":128126145819312128,"45":8915860649993244672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853025024001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:52:21] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126145819312128,"km_value":128126145819312.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915860649993244672,"description":"Unknown IO ID 45"} 
[2026-09-04 07:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853025024001,"power":13319,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8915860649993244672}} 
[2026-09-04 07:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":171880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:52:21] local.INFO: GPS data processed {"connection_id":171880,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:52:21] local.INFO: Acknowledgment sent {"connection_id":171880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:52:26] local.INFO: TCP Data received {"connection_id":171880,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a371958012d7bbbc005ddba18000500081e..."} 
[2026-09-04 07:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a371958012d7bbbc005ddba18000500081e..."} 
[2026-09-04 07:52:26] local.INFO: Processing buffer {"connection_id":171880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a371958012d7bbbc005ddba18000500081e..."} 
[2026-09-04 07:52:26] local.INFO: Packet analysis {"connection_id":171880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:52:26] local.INFO: Extracted packet for processing {"connection_id":171880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:52:26] local.INFO: GPS Element Parsed {"raw_longitude":763083712,"raw_latitude":98417176,"longitude_deg":76.3083712,"latitude_deg":9.8417176,"altitude":5,"angle":8,"satellites":30,"speed":2,"hex_longitude":"2d7bbbc0","hex_latitude":"05ddba18","is_valid_coordinates":true} 
[2026-09-04 07:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853025280001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126175884083200,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915860649993222144,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788488391000,"timestamp_ms":1788488391000,"timestamp_seconds":1788488391,"priority":1,"record_length":96,"hex_timestamp":"000001a06a371958"} 
[2026-09-04 07:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-04 07:52:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3721398272,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:26] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:26] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-2177490419822551552,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-09-04 07:52:26] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2415996283,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:26] local.WARNING: Large IO value detected {"io_id":110,"raw_value":57894411111912763,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:26] local.WARNING: Large IO value detected {"io_id":54,"raw_value":1132656601144606725,"note":"Value kept but may cause issues"} 
[2026-09-04 07:52:26] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,169,85,24,241,157,16,50,160,234,45,128,187,5,34,10,66,179,192,189,4,164,1,240,166,227,49,106,221,113,205,9,105,31,239,52,2,199,8,110,54],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-09-04 07:52:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360477232218701824,"timestamp_seconds":360477232218701.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 07:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853025280001,"66":12526,"169":206,"85":15104,"24":2,"16":128126175884083200,"45":8915860649993222144},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853025280001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:52:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126175884083200,"km_value":128126175884083.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915860649993222144,"description":"Unknown IO ID 45"} 
[2026-09-04 07:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853025280001,"power":12526,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8915860649993222144}} 
[2026-09-04 07:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":171880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:52:26] local.INFO: GPS data processed {"connection_id":171880,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:52:26] local.INFO: Acknowledgment sent {"connection_id":171880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:53:00] local.INFO: TCP Data received {"connection_id":170476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:53:00] local.INFO: Processing buffer {"connection_id":170476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:53:00] local.INFO: IMEI packet received {"connection_id":170476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":170476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:53:05] local.INFO: TCP Data received {"connection_id":170476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:53:05] local.INFO: Processing buffer {"connection_id":170476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:53:05] local.INFO: IMEI packet received {"connection_id":170476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":170476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:53:06] local.INFO: TCP Data received {"connection_id":170476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:53:06] local.INFO: Processing buffer {"connection_id":170476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:53:06] local.INFO: Packet analysis {"connection_id":170476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:53:06] local.INFO: Extracted packet for processing {"connection_id":170476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:53:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852939520001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:53:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488346000,"timestamp_ms":1788488346000,"timestamp_seconds":1788488346,"priority":1,"record_length":96,"hex_timestamp":"000001a06a366990"} 
[2026-09-04 07:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852939520001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852939520001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:53:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:53:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852939520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":170476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:53:06] local.INFO: GPS data processed {"connection_id":170476,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:53:06] local.INFO: Acknowledgment sent {"connection_id":170476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:53:10] local.INFO: TCP Data received {"connection_id":171881,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:53:10] local.INFO: Processing buffer {"connection_id":171881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:53:10] local.INFO: IMEI packet received {"connection_id":171881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":171881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:53:15] local.INFO: TCP Data received {"connection_id":171881,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:53:15] local.INFO: Processing buffer {"connection_id":171881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:53:15] local.INFO: IMEI packet received {"connection_id":171881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":171881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:53:16] local.INFO: TCP Data received {"connection_id":171881,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a372510012d7bbc0005ddbaf8000501611e..."} 
[2026-09-04 07:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a372510012d7bbc0005ddbaf8000501611e..."} 
[2026-09-04 07:53:16] local.INFO: Processing buffer {"connection_id":171881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a372510012d7bbc0005ddbaf8000501611e..."} 
[2026-09-04 07:53:16] local.INFO: Packet analysis {"connection_id":171881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:53:16] local.INFO: Extracted packet for processing {"connection_id":171881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:53:16] local.INFO: GPS Element Parsed {"raw_longitude":763083776,"raw_latitude":98417400,"longitude_deg":76.3083776,"latitude_deg":9.84174,"altitude":5,"angle":353,"satellites":30,"speed":2,"hex_longitude":"2d7bbc00","hex_latitude":"05ddbaf8","is_valid_coordinates":true} 
[2026-09-04 07:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853028096001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126188768985088,"note":"Value kept but may cause issues"} 
[2026-09-04 07:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915931018737358848,"note":"Value kept but may cause issues"} 
[2026-09-04 07:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788488394000,"timestamp_ms":1788488394000,"timestamp_seconds":1788488394,"priority":1,"record_length":96,"hex_timestamp":"000001a06a372510"} 
[2026-09-04 07:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 07:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853028096001,"66":13406,"169":206,"85":15104,"24":2,"16":128126188768985088,"45":8915931018737358848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853028096001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:53:16] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:53:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126188768985088,"km_value":128126188768985.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915931018737358848,"description":"Unknown IO ID 45"} 
[2026-09-04 07:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853028096001,"power":13406,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8915931018737358848}} 
[2026-09-04 07:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":171881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:53:16] local.INFO: GPS data processed {"connection_id":171881,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:53:16] local.INFO: Acknowledgment sent {"connection_id":171881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:53:37] local.INFO: TCP Data received {"connection_id":170476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:53:37] local.INFO: Processing buffer {"connection_id":170476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:53:37] local.INFO: Packet analysis {"connection_id":170476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:53:37] local.INFO: Extracted packet for processing {"connection_id":170476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:53:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852939520001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:53:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488346000,"timestamp_ms":1788488346000,"timestamp_seconds":1788488346,"priority":1,"record_length":96,"hex_timestamp":"000001a06a366990"} 
[2026-09-04 07:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852939520001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852939520001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:53:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:53:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852939520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":170476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:53:37] local.INFO: GPS data processed {"connection_id":170476,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:53:37] local.INFO: Acknowledgment sent {"connection_id":170476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:53:47] local.INFO: TCP Data received {"connection_id":171881,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3730c8012d7bbc0005ddbb400005014a1e..."} 
[2026-09-04 07:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3730c8012d7bbc0005ddbb400005014a1e..."} 
[2026-09-04 07:53:47] local.INFO: Processing buffer {"connection_id":171881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3730c8012d7bbc0005ddbb400005014a1e..."} 
[2026-09-04 07:53:47] local.INFO: Packet analysis {"connection_id":171881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:53:47] local.INFO: Extracted packet for processing {"connection_id":171881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:53:47] local.INFO: GPS Element Parsed {"raw_longitude":763083776,"raw_latitude":98417472,"longitude_deg":76.3083776,"latitude_deg":9.8417472,"altitude":5,"angle":330,"satellites":30,"speed":0,"hex_longitude":"2d7bbc00","hex_latitude":"05ddbb40","is_valid_coordinates":true} 
[2026-09-04 07:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853028864001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126193063952384,"note":"Value kept but may cause issues"} 
[2026-09-04 07:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916001387481593856,"note":"Value kept but may cause issues"} 
[2026-09-04 07:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788488397000,"timestamp_ms":1788488397000,"timestamp_seconds":1788488397,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3730c8"} 
[2026-09-04 07:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-04 07:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":171881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":171881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":171881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853028864001,"66":13624,"169":206,"85":15104,"24":0,"16":128126193063952384,"45":8916001387481593856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853028864001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:53:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:53:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126193063952384,"km_value":128126193063952.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916001387481593856,"description":"Unknown IO ID 45"} 
[2026-09-04 07:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853028864001,"power":13624,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916001387481593856}} 
[2026-09-04 07:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":171881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:53:47] local.INFO: GPS data processed {"connection_id":171881,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:53:47] local.INFO: Acknowledgment sent {"connection_id":171881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:54:00] local.INFO: TCP Data received {"connection_id":170477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:54:00] local.INFO: Processing buffer {"connection_id":170477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:54:00] local.INFO: IMEI packet received {"connection_id":170477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":170477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:54:05] local.INFO: TCP Data received {"connection_id":170477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:54:05] local.INFO: Processing buffer {"connection_id":170477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:54:05] local.INFO: IMEI packet received {"connection_id":170477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":170477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:54:06] local.INFO: TCP Data received {"connection_id":170477,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:54:06] local.INFO: Processing buffer {"connection_id":170477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:54:06] local.INFO: Packet analysis {"connection_id":170477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:54:06] local.INFO: Extracted packet for processing {"connection_id":170477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:54:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852939520001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:54:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488346000,"timestamp_ms":1788488346000,"timestamp_seconds":1788488346,"priority":1,"record_length":96,"hex_timestamp":"000001a06a366990"} 
[2026-09-04 07:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852939520001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852939520001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:54:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:54:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852939520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":170477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:54:06] local.INFO: GPS data processed {"connection_id":170477,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:54:06] local.INFO: Acknowledgment sent {"connection_id":170477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:54:11] local.INFO: TCP Data received {"connection_id":170783,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:54:11] local.INFO: Processing buffer {"connection_id":170783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:54:11] local.INFO: IMEI packet received {"connection_id":170783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":170783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:54:15] local.INFO: TCP Data received {"connection_id":170783,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:54:15] local.INFO: Processing buffer {"connection_id":170783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:54:15] local.INFO: IMEI packet received {"connection_id":170783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":170783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:54:16] local.INFO: TCP Data received {"connection_id":170783,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a373898012d7bbc0005ddbac8000500c71e..."} 
[2026-09-04 07:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a373898012d7bbc0005ddbac8000500c71e..."} 
[2026-09-04 07:54:16] local.INFO: Processing buffer {"connection_id":170783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a373898012d7bbc0005ddbac8000500c71e..."} 
[2026-09-04 07:54:16] local.INFO: Packet analysis {"connection_id":170783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:54:16] local.INFO: Extracted packet for processing {"connection_id":170783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:54:16] local.INFO: GPS Element Parsed {"raw_longitude":763083776,"raw_latitude":98417352,"longitude_deg":76.3083776,"latitude_deg":9.8417352,"altitude":5,"angle":199,"satellites":30,"speed":0,"hex_longitude":"2d7bbc00","hex_latitude":"05ddbac8","is_valid_coordinates":true} 
[2026-09-04 07:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853029632001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126197358919680,"note":"Value kept but may cause issues"} 
[2026-09-04 07:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916001387481612288,"note":"Value kept but may cause issues"} 
[2026-09-04 07:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788488399000,"timestamp_ms":1788488399000,"timestamp_seconds":1788488399,"priority":1,"record_length":96,"hex_timestamp":"000001a06a373898"} 
[2026-09-04 07:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-04 07:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853029632001,"66":13472,"169":206,"85":15104,"24":0,"16":128126197358919680,"45":8916001387481612288},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853029632001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:54:16] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126197358919680,"km_value":128126197358919.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916001387481612288,"description":"Unknown IO ID 45"} 
[2026-09-04 07:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853029632001,"power":13472,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916001387481612288}} 
[2026-09-04 07:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":170783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:54:16] local.INFO: GPS data processed {"connection_id":170783,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:54:16] local.INFO: Acknowledgment sent {"connection_id":170783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:54:37] local.INFO: TCP Data received {"connection_id":170477,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:54:37] local.INFO: Processing buffer {"connection_id":170477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a366990012cee7040072e2b900035006225..."} 
[2026-09-04 07:54:37] local.INFO: Packet analysis {"connection_id":170477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:54:37] local.INFO: Extracted packet for processing {"connection_id":170477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a36"} 
[2026-09-04 07:54:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457852939520001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:54:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488346000,"timestamp_ms":1788488346000,"timestamp_seconds":1788488346,"priority":1,"record_length":96,"hex_timestamp":"000001a06a366990"} 
[2026-09-04 07:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 07:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457852939520001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457852939520001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:54:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:54:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457852939520001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":170477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:54:37] local.INFO: GPS data processed {"connection_id":170477,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:54:37] local.INFO: Acknowledgment sent {"connection_id":170477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:54:47] local.INFO: TCP Data received {"connection_id":170783,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a373c80012d7bbc0005ddba68000500bb1f..."} 
[2026-09-04 07:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a373c80012d7bbc0005ddba68000500bb1f..."} 
[2026-09-04 07:54:47] local.INFO: Processing buffer {"connection_id":170783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a373c80012d7bbc0005ddba68000500bb1f..."} 
[2026-09-04 07:54:47] local.INFO: Packet analysis {"connection_id":170783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:54:47] local.INFO: Extracted packet for processing {"connection_id":170783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763083776,"raw_latitude":98417256,"longitude_deg":76.3083776,"latitude_deg":9.8417256,"altitude":5,"angle":187,"satellites":31,"speed":2,"hex_longitude":"2d7bbc00","hex_latitude":"05ddba68","is_valid_coordinates":true} 
[2026-09-04 07:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853030144001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126201653886976,"note":"Value kept but may cause issues"} 
[2026-09-04 07:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916001387481581568,"note":"Value kept but may cause issues"} 
[2026-09-04 07:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788488400000,"timestamp_ms":1788488400000,"timestamp_seconds":1788488400,"priority":1,"record_length":96,"hex_timestamp":"000001a06a373c80"} 
[2026-09-04 07:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-04 07:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853030144001,"66":13254,"169":206,"85":15104,"24":2,"16":128126201653886976,"45":8916001387481581568},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853030144001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:54:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126201653886976,"km_value":128126201653886.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916001387481581568,"description":"Unknown IO ID 45"} 
[2026-09-04 07:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853030144001,"power":13254,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8916001387481581568}} 
[2026-09-04 07:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":170783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:54:47] local.INFO: GPS data processed {"connection_id":170783,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:54:47] local.INFO: Acknowledgment sent {"connection_id":170783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:55:00] local.INFO: TCP Data received {"connection_id":171882,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:55:00] local.INFO: Processing buffer {"connection_id":171882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:55:00] local.INFO: IMEI packet received {"connection_id":171882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":171882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:55:05] local.INFO: TCP Data received {"connection_id":171882,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:55:05] local.INFO: Processing buffer {"connection_id":171882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:55:05] local.INFO: IMEI packet received {"connection_id":171882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":171882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:55:05] local.INFO: TCP Data received {"connection_id":171882,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:55:05] local.INFO: Processing buffer {"connection_id":171882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:55:05] local.INFO: Packet analysis {"connection_id":171882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:55:05] local.INFO: Extracted packet for processing {"connection_id":171882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:55:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853016576001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:55:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788488647000,"timestamp_ms":1788488647000,"timestamp_seconds":1788488647,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3b0158"} 
[2026-09-04 07:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 07:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853016576001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853016576001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:55:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:55:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853016576001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":171882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:55:05] local.INFO: GPS data processed {"connection_id":171882,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:55:05] local.INFO: Acknowledgment sent {"connection_id":171882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:55:10] local.INFO: TCP Data received {"connection_id":173178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:55:10] local.INFO: Processing buffer {"connection_id":173178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:55:10] local.INFO: IMEI packet received {"connection_id":173178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":173178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:55:15] local.INFO: TCP Data received {"connection_id":173178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:55:15] local.INFO: Processing buffer {"connection_id":173178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:55:15] local.INFO: IMEI packet received {"connection_id":173178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":173178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:55:16] local.INFO: TCP Data received {"connection_id":173178,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a374450012d7bbc8005ddb9a0000500a81f..."} 
[2026-09-04 07:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a374450012d7bbc8005ddb9a0000500a81f..."} 
[2026-09-04 07:55:16] local.INFO: Processing buffer {"connection_id":173178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a374450012d7bbc8005ddb9a0000500a81f..."} 
[2026-09-04 07:55:16] local.INFO: Packet analysis {"connection_id":173178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:55:16] local.INFO: Extracted packet for processing {"connection_id":173178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:55:16] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98417056,"longitude_deg":76.3083904,"latitude_deg":9.8417056,"altitude":5,"angle":168,"satellites":31,"speed":3,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb9a0","is_valid_coordinates":true} 
[2026-09-04 07:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853030400001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126214538788864,"note":"Value kept but may cause issues"} 
[2026-09-04 07:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916001387481556992,"note":"Value kept but may cause issues"} 
[2026-09-04 07:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788488402000,"timestamp_ms":1788488402000,"timestamp_seconds":1788488402,"priority":1,"record_length":96,"hex_timestamp":"000001a06a374450"} 
[2026-09-04 07:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-04 07:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853030400001,"66":13428,"169":206,"85":15104,"24":3,"16":128126214538788864,"45":8916001387481556992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853030400001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:55:16] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:55:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126214538788864,"km_value":128126214538788.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916001387481556992,"description":"Unknown IO ID 45"} 
[2026-09-04 07:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853030400001,"power":13428,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8916001387481556992}} 
[2026-09-04 07:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":173178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:55:16] local.INFO: GPS data processed {"connection_id":173178,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:55:16] local.INFO: Acknowledgment sent {"connection_id":173178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:55:36] local.INFO: TCP Data received {"connection_id":171882,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:55:36] local.INFO: Processing buffer {"connection_id":171882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:55:36] local.INFO: Packet analysis {"connection_id":171882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:55:36] local.INFO: Extracted packet for processing {"connection_id":171882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:55:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853016576001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:55:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788488647000,"timestamp_ms":1788488647000,"timestamp_seconds":1788488647,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3b0158"} 
[2026-09-04 07:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 07:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853016576001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853016576001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:55:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:55:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853016576001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":171882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:55:36] local.INFO: GPS data processed {"connection_id":171882,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:55:36] local.INFO: Acknowledgment sent {"connection_id":171882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:55:47] local.INFO: TCP Data received {"connection_id":173178,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3786b8012d7bbd0005ddb908000500a21e..."} 
[2026-09-04 07:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3786b8012d7bbd0005ddb908000500a21e..."} 
[2026-09-04 07:55:47] local.INFO: Processing buffer {"connection_id":173178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3786b8012d7bbd0005ddb908000500a21e..."} 
[2026-09-04 07:55:47] local.INFO: Packet analysis {"connection_id":173178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:55:47] local.INFO: Extracted packet for processing {"connection_id":173178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:55:47] local.INFO: GPS Element Parsed {"raw_longitude":763084032,"raw_latitude":98416904,"longitude_deg":76.3084032,"latitude_deg":9.8416904,"altitude":5,"angle":162,"satellites":30,"speed":0,"hex_longitude":"2d7bbd00","hex_latitude":"05ddb908","is_valid_coordinates":true} 
[2026-09-04 07:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853030912001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 07:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969861120,"note":"Value kept but may cause issues"} 
[2026-09-04 07:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788488419000,"timestamp_ms":1788488419000,"timestamp_seconds":1788488419,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3786b8"} 
[2026-09-04 07:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 07:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 07:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853030912001,"66":13450,"169":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969861120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853030912001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:55:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:55:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969861120,"description":"Unknown IO ID 45"} 
[2026-09-04 07:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853030912001,"power":13450,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969861120}} 
[2026-09-04 07:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":173178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:55:47] local.INFO: GPS data processed {"connection_id":173178,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:55:47] local.INFO: Acknowledgment sent {"connection_id":173178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:56:00] local.INFO: TCP Data received {"connection_id":170784,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:56:00] local.INFO: Processing buffer {"connection_id":170784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:56:00] local.INFO: IMEI packet received {"connection_id":170784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":170784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:56:05] local.INFO: TCP Data received {"connection_id":170784,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:56:05] local.INFO: Processing buffer {"connection_id":170784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:56:05] local.INFO: IMEI packet received {"connection_id":170784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":170784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:56:06] local.INFO: TCP Data received {"connection_id":170784,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:56:06] local.INFO: Processing buffer {"connection_id":170784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:56:06] local.INFO: Packet analysis {"connection_id":170784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:56:06] local.INFO: Extracted packet for processing {"connection_id":170784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:56:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853016576001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488647000,"timestamp_ms":1788488647000,"timestamp_seconds":1788488647,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3b0158"} 
[2026-09-04 07:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 07:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853016576001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853016576001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:56:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853016576001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":170784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:56:06] local.INFO: GPS data processed {"connection_id":170784,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:56:06] local.INFO: Acknowledgment sent {"connection_id":170784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:56:15] local.INFO: TCP Data received {"connection_id":170478,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:56:15] local.INFO: Processing buffer {"connection_id":170478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:56:15] local.INFO: IMEI packet received {"connection_id":170478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":170478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:56:20] local.INFO: TCP Data received {"connection_id":170478,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:56:20] local.INFO: Processing buffer {"connection_id":170478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:56:20] local.INFO: IMEI packet received {"connection_id":170478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":170478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:56:21] local.INFO: TCP Data received {"connection_id":170478,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3786b8012d7bbd0005ddb908000500a21e..."} 
[2026-09-04 07:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3786b8012d7bbd0005ddb908000500a21e..."} 
[2026-09-04 07:56:21] local.INFO: Processing buffer {"connection_id":170478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3786b8012d7bbd0005ddb908000500a21e..."} 
[2026-09-04 07:56:21] local.INFO: Packet analysis {"connection_id":170478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:56:21] local.INFO: Extracted packet for processing {"connection_id":170478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a37"} 
[2026-09-04 07:56:21] local.INFO: GPS Element Parsed {"raw_longitude":763084032,"raw_latitude":98416904,"longitude_deg":76.3084032,"latitude_deg":9.8416904,"altitude":5,"angle":162,"satellites":30,"speed":0,"hex_longitude":"2d7bbd00","hex_latitude":"05ddb908","is_valid_coordinates":true} 
[2026-09-04 07:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853035264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 07:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862458177536,"note":"Value kept but may cause issues"} 
[2026-09-04 07:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788488419000,"timestamp_ms":1788488419000,"timestamp_seconds":1788488419,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3786b8"} 
[2026-09-04 07:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 07:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":170478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":170478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":170478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853035264001,"66":13450,"169":206,"85":15104,"24":0,"16":128126227423690752,"45":8916282862458177536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-04 07:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853035264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:56:21] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 07:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862458177536,"description":"Unknown IO ID 45"} 
[2026-09-04 07:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853035264001,"power":13450,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916282862458177536}} 
[2026-09-04 07:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":170478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:56:21] local.INFO: GPS data processed {"connection_id":170478,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:56:21] local.INFO: Acknowledgment sent {"connection_id":170478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:56:26] local.INFO: TCP Data received {"connection_id":170478,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:56:26] local.INFO: Processing buffer {"connection_id":170478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:56:26] local.INFO: Packet analysis {"connection_id":170478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3c"} 
[2026-09-04 07:56:26] local.INFO: Extracted packet for processing {"connection_id":170478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3c"} 
[2026-09-04 07:56:26] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":11,"angle":162,"satellites":35,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 07:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853035264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 07:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862458177536,"note":"Value kept but may cause issues"} 
[2026-09-04 07:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788488720000,"timestamp_ms":1788488720000,"timestamp_seconds":1788488720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3c1e80"} 
[2026-09-04 07:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 07:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853035264001,"66":13135,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916282862458177536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 07:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853035264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:56:26] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 07:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862458177536,"description":"Unknown IO ID 45"} 
[2026-09-04 07:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853035264001,"power":13135,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916282862458177536}} 
[2026-09-04 07:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":170478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:56:26] local.INFO: GPS data processed {"connection_id":170478,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:56:26] local.INFO: Acknowledgment sent {"connection_id":170478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:56:37] local.INFO: TCP Data received {"connection_id":170784,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:56:37] local.INFO: Processing buffer {"connection_id":170784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:56:37] local.INFO: Packet analysis {"connection_id":170784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:56:37] local.INFO: Extracted packet for processing {"connection_id":170784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:56:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853016576001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:56:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488647000,"timestamp_ms":1788488647000,"timestamp_seconds":1788488647,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3b0158"} 
[2026-09-04 07:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 07:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853016576001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853016576001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:56:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:56:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853016576001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":170784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:56:37] local.INFO: GPS data processed {"connection_id":170784,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:56:37] local.INFO: Acknowledgment sent {"connection_id":170784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:57:05] local.INFO: TCP Data received {"connection_id":171883,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:57:05] local.INFO: Processing buffer {"connection_id":171883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:57:05] local.INFO: IMEI packet received {"connection_id":171883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":171883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:57:10] local.INFO: TCP Data received {"connection_id":171883,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:57:10] local.INFO: Processing buffer {"connection_id":171883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:57:10] local.INFO: IMEI packet received {"connection_id":171883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":171883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:57:10] local.INFO: TCP Data received {"connection_id":173179,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:57:10] local.INFO: Processing buffer {"connection_id":173179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:57:10] local.INFO: IMEI packet received {"connection_id":173179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":173179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:57:11] local.INFO: TCP Data received {"connection_id":171883,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:57:11] local.INFO: Processing buffer {"connection_id":171883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:57:11] local.INFO: Packet analysis {"connection_id":171883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:57:11] local.INFO: Extracted packet for processing {"connection_id":171883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:57:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853016576001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788488647000,"timestamp_ms":1788488647000,"timestamp_seconds":1788488647,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3b0158"} 
[2026-09-04 07:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 07:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853016576001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853016576001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:57:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853016576001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":171883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:57:11] local.INFO: GPS data processed {"connection_id":171883,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:57:11] local.INFO: Acknowledgment sent {"connection_id":171883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:57:15] local.INFO: TCP Data received {"connection_id":173179,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:57:15] local.INFO: Processing buffer {"connection_id":173179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:57:15] local.INFO: IMEI packet received {"connection_id":173179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":173179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:57:15] local.INFO: TCP Data received {"connection_id":171883,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:57:15] local.INFO: Processing buffer {"connection_id":171883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:57:15] local.INFO: Packet analysis {"connection_id":171883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:57:15] local.INFO: Extracted packet for processing {"connection_id":171883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:57:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853016576001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788488647000,"timestamp_ms":1788488647000,"timestamp_seconds":1788488647,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3b0158"} 
[2026-09-04 07:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 07:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853016576001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853016576001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:57:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:57:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853016576001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":171883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:57:15] local.INFO: GPS data processed {"connection_id":171883,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:57:15] local.INFO: Acknowledgment sent {"connection_id":171883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:57:16] local.INFO: TCP Data received {"connection_id":173179,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:57:16] local.INFO: Processing buffer {"connection_id":173179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:57:16] local.INFO: Packet analysis {"connection_id":173179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3c"} 
[2026-09-04 07:57:16] local.INFO: Extracted packet for processing {"connection_id":173179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3c"} 
[2026-09-04 07:57:16] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":11,"angle":162,"satellites":35,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 07:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853035264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 07:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862458177536,"note":"Value kept but may cause issues"} 
[2026-09-04 07:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788488720000,"timestamp_ms":1788488720000,"timestamp_seconds":1788488720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3c1e80"} 
[2026-09-04 07:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 07:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853035264001,"66":13135,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916282862458177536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 07:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853035264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:57:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 07:57:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862458177536,"description":"Unknown IO ID 45"} 
[2026-09-04 07:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853035264001,"power":13135,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916282862458177536}} 
[2026-09-04 07:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":173179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:57:16] local.INFO: GPS data processed {"connection_id":173179,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:57:16] local.INFO: Acknowledgment sent {"connection_id":173179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:57:47] local.INFO: TCP Data received {"connection_id":173179,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:57:47] local.INFO: Processing buffer {"connection_id":173179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:57:47] local.INFO: Packet analysis {"connection_id":173179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3c"} 
[2026-09-04 07:57:47] local.INFO: Extracted packet for processing {"connection_id":173179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3c"} 
[2026-09-04 07:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":11,"angle":162,"satellites":35,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 07:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853035264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 07:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862458177536,"note":"Value kept but may cause issues"} 
[2026-09-04 07:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788488720000,"timestamp_ms":1788488720000,"timestamp_seconds":1788488720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3c1e80"} 
[2026-09-04 07:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 07:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853035264001,"66":13135,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916282862458177536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 07:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853035264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:57:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 07:57:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862458177536,"description":"Unknown IO ID 45"} 
[2026-09-04 07:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853035264001,"power":13135,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916282862458177536}} 
[2026-09-04 07:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":173179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:57:48] local.INFO: GPS data processed {"connection_id":173179,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:57:48] local.INFO: Acknowledgment sent {"connection_id":173179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:58:00] local.INFO: TCP Data received {"connection_id":170785,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:58:00] local.INFO: Processing buffer {"connection_id":170785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:58:00] local.INFO: IMEI packet received {"connection_id":170785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":170785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:58:05] local.INFO: TCP Data received {"connection_id":170785,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:58:05] local.INFO: Processing buffer {"connection_id":170785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:58:05] local.INFO: IMEI packet received {"connection_id":170785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":170785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:58:06] local.INFO: TCP Data received {"connection_id":170785,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:58:06] local.INFO: Processing buffer {"connection_id":170785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:58:06] local.INFO: Packet analysis {"connection_id":170785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:58:06] local.INFO: Extracted packet for processing {"connection_id":170785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:58:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853016576001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:58:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488647000,"timestamp_ms":1788488647000,"timestamp_seconds":1788488647,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3b0158"} 
[2026-09-04 07:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 07:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853016576001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853016576001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:58:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:58:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853016576001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":170785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:58:06] local.INFO: GPS data processed {"connection_id":170785,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:58:06] local.INFO: Acknowledgment sent {"connection_id":170785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:58:10] local.INFO: TCP Data received {"connection_id":171884,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:58:10] local.INFO: Processing buffer {"connection_id":171884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:58:10] local.INFO: IMEI packet received {"connection_id":171884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":171884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:58:15] local.INFO: TCP Data received {"connection_id":171884,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:58:15] local.INFO: Processing buffer {"connection_id":171884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:58:15] local.INFO: IMEI packet received {"connection_id":171884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":171884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:58:17] local.INFO: TCP Data received {"connection_id":171884,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:58:17] local.INFO: Processing buffer {"connection_id":171884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:58:17] local.INFO: Packet analysis {"connection_id":171884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3c"} 
[2026-09-04 07:58:17] local.INFO: Extracted packet for processing {"connection_id":171884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3c"} 
[2026-09-04 07:58:17] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":11,"angle":162,"satellites":35,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 07:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853035264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 07:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862458177536,"note":"Value kept but may cause issues"} 
[2026-09-04 07:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788488720000,"timestamp_ms":1788488720000,"timestamp_seconds":1788488720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3c1e80"} 
[2026-09-04 07:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 07:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853035264001,"66":13135,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916282862458177536},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 07:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853035264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:58:17] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 07:58:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862458177536,"description":"Unknown IO ID 45"} 
[2026-09-04 07:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853035264001,"power":13135,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916282862458177536}} 
[2026-09-04 07:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":171884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:58:17] local.INFO: GPS data processed {"connection_id":171884,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:58:17] local.INFO: Acknowledgment sent {"connection_id":171884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:58:37] local.INFO: TCP Data received {"connection_id":170785,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:58:37] local.INFO: Processing buffer {"connection_id":170785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:58:37] local.INFO: Packet analysis {"connection_id":170785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:58:37] local.INFO: Extracted packet for processing {"connection_id":170785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:58:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853016576001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:58:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488647000,"timestamp_ms":1788488647000,"timestamp_seconds":1788488647,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3b0158"} 
[2026-09-04 07:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 07:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853016576001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853016576001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:58:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:58:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853016576001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":170785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:58:37] local.INFO: GPS data processed {"connection_id":170785,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:58:37] local.INFO: Acknowledgment sent {"connection_id":170785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:58:48] local.INFO: TCP Data received {"connection_id":171884,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:58:48] local.INFO: Processing buffer {"connection_id":171884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:58:48] local.INFO: Packet analysis {"connection_id":171884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3c"} 
[2026-09-04 07:58:48] local.INFO: Extracted packet for processing {"connection_id":171884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3c"} 
[2026-09-04 07:58:48] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":11,"angle":162,"satellites":35,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 07:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853035264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 07:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862458177536,"note":"Value kept but may cause issues"} 
[2026-09-04 07:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788488720000,"timestamp_ms":1788488720000,"timestamp_seconds":1788488720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3c1e80"} 
[2026-09-04 07:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 07:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":171884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":171884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":171884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853035264001,"66":13135,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916282862458177536},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 07:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853035264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:58:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 07:58:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862458177536,"description":"Unknown IO ID 45"} 
[2026-09-04 07:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853035264001,"power":13135,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916282862458177536}} 
[2026-09-04 07:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":171884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:58:48] local.INFO: GPS data processed {"connection_id":171884,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:58:48] local.INFO: Acknowledgment sent {"connection_id":171884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:59:00] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:59:00] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:59:00] local.INFO: IMEI packet received {"connection_id":173180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 07:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":173180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:59:05] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:59:05] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 07:59:05] local.INFO: IMEI packet received {"connection_id":173180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 07:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":173180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:59:06] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:59:06] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:59:06] local.INFO: Packet analysis {"connection_id":173180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:59:06] local.INFO: Extracted packet for processing {"connection_id":173180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:59:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853016576001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:59:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488647000,"timestamp_ms":1788488647000,"timestamp_seconds":1788488647,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3b0158"} 
[2026-09-04 07:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 07:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853016576001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853016576001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:59:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:59:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853016576001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":173180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:59:06] local.INFO: GPS data processed {"connection_id":173180,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:59:06] local.INFO: Acknowledgment sent {"connection_id":173180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:59:10] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:59:10] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:59:10] local.INFO: IMEI packet received {"connection_id":173181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 07:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":173181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 07:59:15] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:59:15] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 07:59:15] local.INFO: IMEI packet received {"connection_id":173181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 07:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":173181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 07:59:16] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:59:16] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:59:16] local.INFO: Packet analysis {"connection_id":173181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3c"} 
[2026-09-04 07:59:16] local.INFO: Extracted packet for processing {"connection_id":173181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3c"} 
[2026-09-04 07:59:16] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":11,"angle":162,"satellites":35,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 07:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853035264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 07:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862458177536,"note":"Value kept but may cause issues"} 
[2026-09-04 07:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788488720000,"timestamp_ms":1788488720000,"timestamp_seconds":1788488720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3c1e80"} 
[2026-09-04 07:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 07:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853035264001,"66":13135,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916282862458177536},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 07:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853035264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:59:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 07:59:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862458177536,"description":"Unknown IO ID 45"} 
[2026-09-04 07:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853035264001,"power":13135,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916282862458177536}} 
[2026-09-04 07:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":173181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:59:16] local.INFO: GPS data processed {"connection_id":173181,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:59:16] local.INFO: Acknowledgment sent {"connection_id":173181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:59:37] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:59:37] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3b0158012cee7040072e2b900035006223..."} 
[2026-09-04 07:59:37] local.INFO: Packet analysis {"connection_id":173180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:59:37] local.INFO: Extracted packet for processing {"connection_id":173180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3b"} 
[2026-09-04 07:59:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 07:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853016576001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 07:59:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 07:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488647000,"timestamp_ms":1788488647000,"timestamp_seconds":1788488647,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3b0158"} 
[2026-09-04 07:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 07:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 07:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 07:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 07:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853016576001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 07:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 07:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 07:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853016576001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:59:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 07:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 07:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:59:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 07:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853016576001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 07:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":173180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:59:37] local.INFO: GPS data processed {"connection_id":173180,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:59:37] local.INFO: Acknowledgment sent {"connection_id":173180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 07:59:48] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:59:48] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3c1e80012d7bbc8005ddb8b0000b00a223..."} 
[2026-09-04 07:59:48] local.INFO: Packet analysis {"connection_id":173181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3c"} 
[2026-09-04 07:59:48] local.INFO: Extracted packet for processing {"connection_id":173181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3c"} 
[2026-09-04 07:59:48] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":11,"angle":162,"satellites":35,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 07:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 07:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853035264001,"note":"Value kept but may cause issues"} 
[2026-09-04 07:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 07:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862458177536,"note":"Value kept but may cause issues"} 
[2026-09-04 07:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 07:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788488720000,"timestamp_ms":1788488720000,"timestamp_seconds":1788488720,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3c1e80"} 
[2026-09-04 07:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 07:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 07:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 07:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 07:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 07:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 07:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 07:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 07:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 07:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 07:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 07:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 07:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853035264001,"66":13135,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916282862458177536},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 07:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 07:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 07:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853035264001,"description":"Unknown IO ID 0"} 
[2026-09-04 07:59:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 07:59:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 07:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 07:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862458177536,"description":"Unknown IO ID 45"} 
[2026-09-04 07:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853035264001,"power":13135,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916282862458177536}} 
[2026-09-04 07:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":173181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 07:59:48] local.INFO: GPS data processed {"connection_id":173181,"processed":1,"errors":0,"total":1} 
[2026-09-04 07:59:48] local.INFO: Acknowledgment sent {"connection_id":173181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:00:00] local.INFO: TCP Data received {"connection_id":170786,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:00:00] local.INFO: Processing buffer {"connection_id":170786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:00:00] local.INFO: IMEI packet received {"connection_id":170786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":170786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:00:05] local.INFO: TCP Data received {"connection_id":170786,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:00:05] local.INFO: Processing buffer {"connection_id":170786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:00:05] local.INFO: IMEI packet received {"connection_id":170786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":170786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:00:05] local.INFO: TCP Data received {"connection_id":170786,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:00:05] local.INFO: Processing buffer {"connection_id":170786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:00:05] local.INFO: Packet analysis {"connection_id":170786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:00:05] local.INFO: Extracted packet for processing {"connection_id":170786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:00:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853093632001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788488948000,"timestamp_ms":1788488948000,"timestamp_seconds":1788488948,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3f9920"} 
[2026-09-04 08:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853093632001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853093632001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:00:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853093632001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":170786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:00:06] local.INFO: GPS data processed {"connection_id":170786,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:00:06] local.INFO: Acknowledgment sent {"connection_id":170786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:00:15] local.INFO: TCP Data received {"connection_id":170480,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:00:15] local.INFO: Processing buffer {"connection_id":170480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:00:15] local.INFO: IMEI packet received {"connection_id":170480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":170480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:00:37] local.INFO: TCP Data received {"connection_id":170786,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:00:37] local.INFO: Processing buffer {"connection_id":170786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:00:37] local.INFO: Packet analysis {"connection_id":170786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:00:37] local.INFO: Extracted packet for processing {"connection_id":170786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:00:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853093632001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:00:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488948000,"timestamp_ms":1788488948000,"timestamp_seconds":1788488948,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3f9920"} 
[2026-09-04 08:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853093632001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853093632001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:00:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:00:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853093632001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":170786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:00:37] local.INFO: GPS data processed {"connection_id":170786,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:00:37] local.INFO: Acknowledgment sent {"connection_id":170786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:00:39] local.INFO: TCP Data received {"connection_id":170481,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:00:39] local.INFO: Processing buffer {"connection_id":170481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:00:39] local.INFO: IMEI packet received {"connection_id":170481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 08:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":170481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:00:40] local.INFO: TCP Data received {"connection_id":170481,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:00:40] local.INFO: Processing buffer {"connection_id":170481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:00:40] local.INFO: IMEI packet received {"connection_id":170481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 08:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":170481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:00:44] local.INFO: TCP Data received {"connection_id":170481,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:00:44] local.INFO: Processing buffer {"connection_id":170481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:00:44] local.INFO: IMEI packet received {"connection_id":170481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 08:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":170481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:00:44] local.INFO: TCP Data received {"connection_id":170481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-04 08:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170481,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-04 08:00:44] local.INFO: Processing buffer {"connection_id":170481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-04 08:00:44] local.INFO: Packet analysis {"connection_id":170481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 08:00:44] local.INFO: Extracted packet for processing {"connection_id":170481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 08:00:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 08:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17106807495327744,"note":"Value kept but may cause issues"} 
[2026-09-04 08:00:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 08:00:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 08:00:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 08:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170481,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 08:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 08:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 08:00:44] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 08:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":170481,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 08:00:44] local.ERROR: GPS data processing failed {"connection_id":170481,"error":"No valid data to process"} 
[2026-09-04 08:00:44] local.INFO: Acknowledgment sent {"connection_id":170481,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 08:01:00] local.INFO: TCP Data received {"connection_id":170787,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:01:00] local.INFO: Processing buffer {"connection_id":170787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:01:00] local.INFO: IMEI packet received {"connection_id":170787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":170787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:01:05] local.INFO: TCP Data received {"connection_id":170787,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:01:05] local.INFO: Processing buffer {"connection_id":170787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:01:05] local.INFO: IMEI packet received {"connection_id":170787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":170787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:01:06] local.INFO: TCP Data received {"connection_id":170787,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:01:06] local.INFO: Processing buffer {"connection_id":170787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:01:06] local.INFO: Packet analysis {"connection_id":170787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:01:06] local.INFO: Extracted packet for processing {"connection_id":170787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:01:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853093632001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488948000,"timestamp_ms":1788488948000,"timestamp_seconds":1788488948,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3f9920"} 
[2026-09-04 08:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853093632001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853093632001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:01:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853093632001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":170787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:01:06] local.INFO: GPS data processed {"connection_id":170787,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:01:06] local.INFO: Acknowledgment sent {"connection_id":170787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:01:15] local.INFO: TCP Data received {"connection_id":170481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a412790012d196880071fefc00031015204..."} 
[2026-09-04 08:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a412790012d196880071fefc00031015204..."} 
[2026-09-04 08:01:15] local.INFO: Processing buffer {"connection_id":170481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a412790012d196880071fefc00031015204..."} 
[2026-09-04 08:01:15] local.INFO: Packet analysis {"connection_id":170481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a41"} 
[2026-09-04 08:01:15] local.INFO: Extracted packet for processing {"connection_id":170481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a41"} 
[2026-09-04 08:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533504,"longitude_deg":75.6639872,"latitude_deg":11.9533504,"altitude":49,"angle":338,"satellites":4,"speed":1,"hex_longitude":"2d196880","hex_latitude":"071fefc0","is_valid_coordinates":true} 
[2026-09-04 08:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17106816085262336,"note":"Value kept but may cause issues"} 
[2026-09-04 08:01:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 08:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788489050000,"timestamp_ms":1788489050000,"timestamp_seconds":1788489050,"priority":1,"record_length":96,"hex_timestamp":"000001a06a412790"} 
[2026-09-04 08:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 08:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-04 08:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 08:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 08:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14233,"102":206,"83":41984,"24":1,"16":17106816085262336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16]} 
[2026-09-04 08:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 08:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 08:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-04 08:01:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 08:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 08:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17106816085262336,"km_value":17106816085262.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:01:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14233,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null}} 
[2026-09-04 08:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":170481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:01:15] local.INFO: GPS data processed {"connection_id":170481,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:01:15] local.INFO: Acknowledgment sent {"connection_id":170481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:01:37] local.INFO: TCP Data received {"connection_id":170787,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:01:37] local.INFO: Processing buffer {"connection_id":170787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:01:37] local.INFO: Packet analysis {"connection_id":170787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:01:37] local.INFO: Extracted packet for processing {"connection_id":170787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:01:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853093632001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488948000,"timestamp_ms":1788488948000,"timestamp_seconds":1788488948,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3f9920"} 
[2026-09-04 08:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853093632001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853093632001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:01:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853093632001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":170787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:01:37] local.INFO: GPS data processed {"connection_id":170787,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:01:37] local.INFO: Acknowledgment sent {"connection_id":170787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:01:46] local.INFO: TCP Data received {"connection_id":170481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a412f60012d196840071ff0200031014204..."} 
[2026-09-04 08:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a412f60012d196840071ff0200031014204..."} 
[2026-09-04 08:01:46] local.INFO: Processing buffer {"connection_id":170481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a412f60012d196840071ff0200031014204..."} 
[2026-09-04 08:01:46] local.INFO: Packet analysis {"connection_id":170481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a41"} 
[2026-09-04 08:01:46] local.INFO: Extracted packet for processing {"connection_id":170481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a41"} 
[2026-09-04 08:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533600,"longitude_deg":75.6639808,"latitude_deg":11.95336,"altitude":49,"angle":322,"satellites":4,"speed":1,"hex_longitude":"2d196840","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-04 08:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853196800001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17106820380229632,"note":"Value kept but may cause issues"} 
[2026-09-04 08:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016615038976,"note":"Value kept but may cause issues"} 
[2026-09-04 08:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788489052000,"timestamp_ms":1788489052000,"timestamp_seconds":1788489052,"priority":1,"record_length":96,"hex_timestamp":"000001a06a412f60"} 
[2026-09-04 08:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 08:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 08:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":170481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 08:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 08:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853196800001,"66":14157,"102":206,"83":41984,"24":1,"16":17106820380229632,"45":1830854016615038976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 08:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 08:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 08:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853196800001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:01:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 08:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 08:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17106820380229632,"km_value":17106820380229.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016615038976,"description":"Unknown IO ID 45"} 
[2026-09-04 08:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853196800001,"power":14157,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1830854016615038976}} 
[2026-09-04 08:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":170481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:01:47] local.INFO: GPS data processed {"connection_id":170481,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:01:47] local.INFO: Acknowledgment sent {"connection_id":170481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:02:00] local.INFO: TCP Data received {"connection_id":171885,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:02:00] local.INFO: Processing buffer {"connection_id":171885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:02:00] local.INFO: IMEI packet received {"connection_id":171885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":171885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:02:05] local.INFO: TCP Data received {"connection_id":171885,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:02:05] local.INFO: Processing buffer {"connection_id":171885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:02:05] local.INFO: IMEI packet received {"connection_id":171885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":171885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:02:06] local.INFO: TCP Data received {"connection_id":171885,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:02:06] local.INFO: Processing buffer {"connection_id":171885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:02:06] local.INFO: Packet analysis {"connection_id":171885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:02:06] local.INFO: Extracted packet for processing {"connection_id":171885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:02:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853093632001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488948000,"timestamp_ms":1788488948000,"timestamp_seconds":1788488948,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3f9920"} 
[2026-09-04 08:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853093632001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853093632001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:02:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853093632001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":171885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:02:06] local.INFO: GPS data processed {"connection_id":171885,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:02:06] local.INFO: Acknowledgment sent {"connection_id":171885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:02:18] local.INFO: TCP Data received {"connection_id":170481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a418168012d196ac0071fedb0005a014208..."} 
[2026-09-04 08:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a418168012d196ac0071fedb0005a014208..."} 
[2026-09-04 08:02:18] local.INFO: Processing buffer {"connection_id":170481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a418168012d196ac0071fedb0005a014208..."} 
[2026-09-04 08:02:18] local.INFO: Packet analysis {"connection_id":170481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a41"} 
[2026-09-04 08:02:18] local.INFO: Extracted packet for processing {"connection_id":170481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a41"} 
[2026-09-04 08:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532976,"longitude_deg":75.6640448,"latitude_deg":11.9532976,"altitude":90,"angle":322,"satellites":8,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fedb0","is_valid_coordinates":true} 
[2026-09-04 08:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853197312001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17106884804739072,"note":"Value kept but may cause issues"} 
[2026-09-04 08:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870885888,"note":"Value kept but may cause issues"} 
[2026-09-04 08:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788489073000,"timestamp_ms":1788489073000,"timestamp_seconds":1788489073,"priority":1,"record_length":96,"hex_timestamp":"000001a06a418168"} 
[2026-09-04 08:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 08:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 08:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":170481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 08:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 08:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853197312001,"66":14265,"102":206,"83":41984,"24":0,"16":17106884804739072,"45":1830783647870885888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 08:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 08:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 08:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853197312001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:02:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 08:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 08:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17106884804739072,"km_value":17106884804739.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870885888,"description":"Unknown IO ID 45"} 
[2026-09-04 08:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853197312001,"power":14265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870885888}} 
[2026-09-04 08:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":170481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:02:18] local.INFO: GPS data processed {"connection_id":170481,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:02:18] local.INFO: Acknowledgment sent {"connection_id":170481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:02:37] local.INFO: TCP Data received {"connection_id":171885,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:02:37] local.INFO: Processing buffer {"connection_id":171885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:02:37] local.INFO: Packet analysis {"connection_id":171885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:02:37] local.INFO: Extracted packet for processing {"connection_id":171885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:02:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853093632001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:02:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488948000,"timestamp_ms":1788488948000,"timestamp_seconds":1788488948,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3f9920"} 
[2026-09-04 08:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853093632001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853093632001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:02:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:02:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853093632001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":171885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:02:37] local.INFO: GPS data processed {"connection_id":171885,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:02:37] local.INFO: Acknowledgment sent {"connection_id":171885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:02:49] local.INFO: TCP Data received {"connection_id":170481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a41d370012d1968c0071fee18004501420f..."} 
[2026-09-04 08:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a41d370012d1968c0071fee18004501420f..."} 
[2026-09-04 08:02:49] local.INFO: Processing buffer {"connection_id":170481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a41d370012d1968c0071fee18004501420f..."} 
[2026-09-04 08:02:49] local.INFO: Packet analysis {"connection_id":170481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a41"} 
[2026-09-04 08:02:49] local.INFO: Extracted packet for processing {"connection_id":170481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a41"} 
[2026-09-04 08:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533080,"longitude_deg":75.6639936,"latitude_deg":11.953308,"altitude":69,"angle":322,"satellites":15,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-09-04 08:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853202688001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17106919164477440,"note":"Value kept but may cause issues"} 
[2026-09-04 08:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312502784,"note":"Value kept but may cause issues"} 
[2026-09-04 08:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788489094000,"timestamp_ms":1788489094000,"timestamp_seconds":1788489094,"priority":1,"record_length":96,"hex_timestamp":"000001a06a41d370"} 
[2026-09-04 08:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 08:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 08:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":170481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 08:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 08:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853202688001,"66":14330,"102":206,"83":41984,"24":0,"16":17106919164477440,"45":1831487335312502784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 08:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 08:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 08:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853202688001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:02:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 08:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 08:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17106919164477440,"km_value":17106919164477.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312502784,"description":"Unknown IO ID 45"} 
[2026-09-04 08:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853202688001,"power":14330,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312502784}} 
[2026-09-04 08:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":170481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:02:49] local.INFO: GPS data processed {"connection_id":170481,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:02:49] local.INFO: Acknowledgment sent {"connection_id":170481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:03:00] local.INFO: TCP Data received {"connection_id":170788,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:03:00] local.INFO: Processing buffer {"connection_id":170788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:03:00] local.INFO: IMEI packet received {"connection_id":170788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":170788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:03:05] local.INFO: TCP Data received {"connection_id":170788,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:03:05] local.INFO: Processing buffer {"connection_id":170788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:03:05] local.INFO: IMEI packet received {"connection_id":170788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":170788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:03:06] local.INFO: TCP Data received {"connection_id":170788,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:03:06] local.INFO: Processing buffer {"connection_id":170788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:03:06] local.INFO: Packet analysis {"connection_id":170788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:03:06] local.INFO: Extracted packet for processing {"connection_id":170788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:03:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853093632001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:03:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488948000,"timestamp_ms":1788488948000,"timestamp_seconds":1788488948,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3f9920"} 
[2026-09-04 08:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853093632001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853093632001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:03:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:03:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853093632001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":170788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:03:06] local.INFO: GPS data processed {"connection_id":170788,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:03:06] local.INFO: Acknowledgment sent {"connection_id":170788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:03:20] local.INFO: TCP Data received {"connection_id":170481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a422578012d196880071fee70004501420f..."} 
[2026-09-04 08:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a422578012d196880071fee70004501420f..."} 
[2026-09-04 08:03:20] local.INFO: Processing buffer {"connection_id":170481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a422578012d196880071fee70004501420f..."} 
[2026-09-04 08:03:20] local.INFO: Packet analysis {"connection_id":170481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a42"} 
[2026-09-04 08:03:20] local.INFO: Extracted packet for processing {"connection_id":170481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a42"} 
[2026-09-04 08:03:20] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533168,"longitude_deg":75.6639872,"latitude_deg":11.9533168,"altitude":69,"angle":322,"satellites":15,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-09-04 08:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853208064001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17106927754412032,"note":"Value kept but may cause issues"} 
[2026-09-04 08:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359108096,"note":"Value kept but may cause issues"} 
[2026-09-04 08:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788489115000,"timestamp_ms":1788489115000,"timestamp_seconds":1788489115,"priority":1,"record_length":96,"hex_timestamp":"000001a06a422578"} 
[2026-09-04 08:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 08:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-04 08:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":170481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 08:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 08:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853208064001,"66":14265,"102":206,"83":41984,"24":0,"16":17106927754412032,"45":1830924385359108096},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 08:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 08:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 08:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853208064001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:03:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 08:03:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 08:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17106927754412032,"km_value":17106927754412.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359108096,"description":"Unknown IO ID 45"} 
[2026-09-04 08:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853208064001,"power":14265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359108096}} 
[2026-09-04 08:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":170481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:03:20] local.INFO: GPS data processed {"connection_id":170481,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:03:20] local.INFO: Acknowledgment sent {"connection_id":170481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:03:37] local.INFO: TCP Data received {"connection_id":170788,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:03:37] local.INFO: Processing buffer {"connection_id":170788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:03:37] local.INFO: Packet analysis {"connection_id":170788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:03:37] local.INFO: Extracted packet for processing {"connection_id":170788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:03:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853093632001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:03:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488948000,"timestamp_ms":1788488948000,"timestamp_seconds":1788488948,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3f9920"} 
[2026-09-04 08:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853093632001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853093632001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:03:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:03:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853093632001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":170788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:03:37] local.INFO: GPS data processed {"connection_id":170788,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:03:37] local.INFO: Acknowledgment sent {"connection_id":170788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:03:52] local.INFO: TCP Data received {"connection_id":170481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a427780012d196840071feef80045014211..."} 
[2026-09-04 08:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a427780012d196840071feef80045014211..."} 
[2026-09-04 08:03:52] local.INFO: Processing buffer {"connection_id":170481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a427780012d196840071feef80045014211..."} 
[2026-09-04 08:03:52] local.INFO: Packet analysis {"connection_id":170481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a42"} 
[2026-09-04 08:03:52] local.INFO: Extracted packet for processing {"connection_id":170481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a42"} 
[2026-09-04 08:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533304,"longitude_deg":75.6639808,"latitude_deg":11.9533304,"altitude":69,"angle":322,"satellites":17,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071feef8","is_valid_coordinates":true} 
[2026-09-04 08:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853213440001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17106940639313920,"note":"Value kept but may cause issues"} 
[2026-09-04 08:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614952960,"note":"Value kept but may cause issues"} 
[2026-09-04 08:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788489136000,"timestamp_ms":1788489136000,"timestamp_seconds":1788489136,"priority":1,"record_length":96,"hex_timestamp":"000001a06a427780"} 
[2026-09-04 08:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 08:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 08:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":170481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 08:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 08:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853213440001,"66":14374,"102":206,"83":41984,"24":0,"16":17106940639313920,"45":1830854016614952960},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 08:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 08:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 08:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853213440001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:03:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 08:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 08:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17106940639313920,"km_value":17106940639313.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614952960,"description":"Unknown IO ID 45"} 
[2026-09-04 08:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853213440001,"power":14374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614952960}} 
[2026-09-04 08:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":170481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:03:52] local.INFO: GPS data processed {"connection_id":170481,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:03:52] local.INFO: Acknowledgment sent {"connection_id":170481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:04:00] local.INFO: TCP Data received {"connection_id":171886,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:04:00] local.INFO: Processing buffer {"connection_id":171886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:04:00] local.INFO: IMEI packet received {"connection_id":171886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":171886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:04:05] local.INFO: TCP Data received {"connection_id":171886,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:04:05] local.INFO: Processing buffer {"connection_id":171886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:04:05] local.INFO: IMEI packet received {"connection_id":171886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":171886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:04:06] local.INFO: TCP Data received {"connection_id":171886,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:04:06] local.INFO: Processing buffer {"connection_id":171886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:04:06] local.INFO: Packet analysis {"connection_id":171886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:04:06] local.INFO: Extracted packet for processing {"connection_id":171886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:04:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853093632001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788488948000,"timestamp_ms":1788488948000,"timestamp_seconds":1788488948,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3f9920"} 
[2026-09-04 08:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853093632001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853093632001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:04:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853093632001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":171886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:04:06] local.INFO: GPS data processed {"connection_id":171886,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:04:06] local.INFO: Acknowledgment sent {"connection_id":171886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:04:22] local.INFO: TCP Data received {"connection_id":170481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a42c988012d1967c0071fef680045014211..."} 
[2026-09-04 08:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a42c988012d1967c0071fef680045014211..."} 
[2026-09-04 08:04:22] local.INFO: Processing buffer {"connection_id":170481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a42c988012d1967c0071fef680045014211..."} 
[2026-09-04 08:04:22] local.INFO: Packet analysis {"connection_id":170481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a42"} 
[2026-09-04 08:04:22] local.INFO: Extracted packet for processing {"connection_id":170481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a42"} 
[2026-09-04 08:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533416,"longitude_deg":75.663968,"latitude_deg":11.9533416,"altitude":69,"angle":322,"satellites":17,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-04 08:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853218816001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17106949229248512,"note":"Value kept but may cause issues"} 
[2026-09-04 08:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870810112,"note":"Value kept but may cause issues"} 
[2026-09-04 08:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788489157000,"timestamp_ms":1788489157000,"timestamp_seconds":1788489157,"priority":1,"record_length":96,"hex_timestamp":"000001a06a42c988"} 
[2026-09-04 08:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 08:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-04 08:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":170481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 08:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 08:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853218816001,"66":14396,"102":206,"83":41984,"24":0,"16":17106949229248512,"45":1830783647870810112},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 08:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 08:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 08:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853218816001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:04:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 08:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 08:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17106949229248512,"km_value":17106949229248.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870810112,"description":"Unknown IO ID 45"} 
[2026-09-04 08:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853218816001,"power":14396,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870810112}} 
[2026-09-04 08:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":170481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:04:23] local.INFO: GPS data processed {"connection_id":170481,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:04:23] local.INFO: Acknowledgment sent {"connection_id":170481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:04:37] local.INFO: TCP Data received {"connection_id":171886,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:04:37] local.INFO: Processing buffer {"connection_id":171886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a3f9920012cee7040072e2b900035006228..."} 
[2026-09-04 08:04:37] local.INFO: Packet analysis {"connection_id":171886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:04:37] local.INFO: Extracted packet for processing {"connection_id":171886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a3f"} 
[2026-09-04 08:04:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853093632001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:04:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788488948000,"timestamp_ms":1788488948000,"timestamp_seconds":1788488948,"priority":1,"record_length":96,"hex_timestamp":"000001a06a3f9920"} 
[2026-09-04 08:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853093632001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853093632001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:04:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:04:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853093632001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":171886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:04:37] local.INFO: GPS data processed {"connection_id":171886,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:04:37] local.INFO: Acknowledgment sent {"connection_id":171886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:04:54] local.INFO: TCP Data received {"connection_id":170481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a431b90012d196780071fefa00045014211..."} 
[2026-09-04 08:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a431b90012d196780071fefa00045014211..."} 
[2026-09-04 08:04:54] local.INFO: Processing buffer {"connection_id":170481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a431b90012d196780071fefa00045014211..."} 
[2026-09-04 08:04:54] local.INFO: Packet analysis {"connection_id":170481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a43"} 
[2026-09-04 08:04:54] local.INFO: Extracted packet for processing {"connection_id":170481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a43"} 
[2026-09-04 08:04:54] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533472,"longitude_deg":75.6639616,"latitude_deg":11.9533472,"altitude":69,"angle":322,"satellites":17,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-09-04 08:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853224192001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17106957819183104,"note":"Value kept but may cause issues"} 
[2026-09-04 08:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382483456,"note":"Value kept but may cause issues"} 
[2026-09-04 08:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788489178000,"timestamp_ms":1788489178000,"timestamp_seconds":1788489178,"priority":1,"record_length":96,"hex_timestamp":"000001a06a431b90"} 
[2026-09-04 08:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 08:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 08:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 08:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 08:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853224192001,"66":14374,"102":206,"83":41984,"24":0,"16":17106957819183104,"45":1830642910382483456},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 08:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 08:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 08:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853224192001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:04:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 08:04:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 08:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17106957819183104,"km_value":17106957819183.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382483456,"description":"Unknown IO ID 45"} 
[2026-09-04 08:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853224192001,"power":14374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382483456}} 
[2026-09-04 08:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":170481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:04:54] local.INFO: GPS data processed {"connection_id":170481,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:04:54] local.INFO: Acknowledgment sent {"connection_id":170481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:05:05] local.INFO: TCP Data received {"connection_id":170790,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:05:05] local.INFO: Processing buffer {"connection_id":170790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:05:05] local.INFO: IMEI packet received {"connection_id":170790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":170790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:05:05] local.INFO: TCP Data received {"connection_id":170789,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:05:05] local.INFO: Processing buffer {"connection_id":170789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:05:05] local.INFO: IMEI packet received {"connection_id":170789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":170789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:05:10] local.INFO: TCP Data received {"connection_id":170789,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:05:10] local.INFO: Processing buffer {"connection_id":170789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:05:10] local.INFO: IMEI packet received {"connection_id":170789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":170789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:05:10] local.INFO: TCP Data received {"connection_id":170790,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:05:10] local.INFO: Processing buffer {"connection_id":170790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:05:10] local.INFO: IMEI packet received {"connection_id":170790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":170790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:05:11] local.INFO: TCP Data received {"connection_id":170789,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:05:11] local.INFO: Processing buffer {"connection_id":170789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:05:11] local.INFO: Packet analysis {"connection_id":170789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:05:11] local.INFO: Extracted packet for processing {"connection_id":170789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:05:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853170688001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788489249000,"timestamp_ms":1788489249000,"timestamp_seconds":1788489249,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4430e8"} 
[2026-09-04 08:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 08:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853170688001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853170688001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:05:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853170688001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":170789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:05:11] local.INFO: GPS data processed {"connection_id":170789,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:05:11] local.INFO: Acknowledgment sent {"connection_id":170789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:05:11] local.INFO: TCP Data received {"connection_id":170790,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:05:11] local.INFO: Processing buffer {"connection_id":170790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:05:11] local.INFO: Packet analysis {"connection_id":170790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:05:11] local.INFO: Extracted packet for processing {"connection_id":170790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":34,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853188352001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788489021000,"timestamp_ms":1788489021000,"timestamp_seconds":1788489021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a40b648"} 
[2026-09-04 08:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 08:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853188352001,"66":4590,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853188352001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:05:11] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853188352001,"power":4590,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":170790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:05:11] local.INFO: GPS data processed {"connection_id":170790,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:05:11] local.INFO: Acknowledgment sent {"connection_id":170790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:05:15] local.INFO: TCP Data received {"connection_id":170789,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:05:15] local.INFO: Processing buffer {"connection_id":170789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:05:15] local.INFO: Packet analysis {"connection_id":170789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:05:15] local.INFO: Extracted packet for processing {"connection_id":170789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:05:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853170688001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788489249000,"timestamp_ms":1788489249000,"timestamp_seconds":1788489249,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4430e8"} 
[2026-09-04 08:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 08:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853170688001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853170688001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:05:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853170688001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":170789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:05:15] local.INFO: GPS data processed {"connection_id":170789,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:05:15] local.INFO: Acknowledgment sent {"connection_id":170789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:05:19] local.INFO: TCP Data received {"connection_id":170482,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:05:19] local.INFO: Processing buffer {"connection_id":170482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:05:19] local.INFO: IMEI packet received {"connection_id":170482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 08:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":170482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:05:24] local.INFO: TCP Data received {"connection_id":170482,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:05:24] local.INFO: Processing buffer {"connection_id":170482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 08:05:24] local.INFO: IMEI packet received {"connection_id":170482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 08:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":170482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:05:24] local.INFO: TCP Data received {"connection_id":170482,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a436d98012d196740071ff0080045014212..."} 
[2026-09-04 08:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a436d98012d196740071ff0080045014212..."} 
[2026-09-04 08:05:24] local.INFO: Processing buffer {"connection_id":170482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a436d98012d196740071ff0080045014212..."} 
[2026-09-04 08:05:24] local.INFO: Packet analysis {"connection_id":170482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a43"} 
[2026-09-04 08:05:24] local.INFO: Extracted packet for processing {"connection_id":170482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a43"} 
[2026-09-04 08:05:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533576,"longitude_deg":75.6639552,"latitude_deg":11.9533576,"altitude":69,"angle":322,"satellites":18,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-09-04 08:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853229568001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17106966409117696,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638320128,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788489199000,"timestamp_ms":1788489199000,"timestamp_seconds":1788489199,"priority":1,"record_length":96,"hex_timestamp":"000001a06a436d98"} 
[2026-09-04 08:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 08:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-04 08:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 08:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 08:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853229568001,"66":14428,"102":206,"83":41984,"24":0,"16":17106966409117696,"45":1830572541638320128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 08:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 08:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 08:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853229568001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:05:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 08:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 08:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17106966409117696,"km_value":17106966409117.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638320128,"description":"Unknown IO ID 45"} 
[2026-09-04 08:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853229568001,"power":14428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638320128}} 
[2026-09-04 08:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":170482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:05:25] local.INFO: GPS data processed {"connection_id":170482,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:05:25] local.INFO: Acknowledgment sent {"connection_id":170482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:05:42] local.INFO: TCP Data received {"connection_id":170790,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:05:42] local.INFO: Processing buffer {"connection_id":170790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:05:42] local.INFO: Packet analysis {"connection_id":170790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:05:42] local.INFO: Extracted packet for processing {"connection_id":170790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:05:42] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":34,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853188352001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788489021000,"timestamp_ms":1788489021000,"timestamp_seconds":1788489021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a40b648"} 
[2026-09-04 08:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 08:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853188352001,"66":4590,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853188352001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:05:42] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853188352001,"power":4590,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":170790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:05:42] local.INFO: GPS data processed {"connection_id":170790,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:05:42] local.INFO: Acknowledgment sent {"connection_id":170790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:05:56] local.INFO: TCP Data received {"connection_id":170482,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a43b3e8012d196700071ff0400044015212..."} 
[2026-09-04 08:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a43b3e8012d196700071ff0400044015212..."} 
[2026-09-04 08:05:56] local.INFO: Processing buffer {"connection_id":170482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a43b3e8012d196700071ff0400044015212..."} 
[2026-09-04 08:05:56] local.INFO: Packet analysis {"connection_id":170482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a43"} 
[2026-09-04 08:05:56] local.INFO: Extracted packet for processing {"connection_id":170482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a43"} 
[2026-09-04 08:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533632,"longitude_deg":75.6639488,"latitude_deg":11.9533632,"altitude":68,"angle":338,"satellites":18,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-09-04 08:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853234944001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17106974999052288,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894169088,"note":"Value kept but may cause issues"} 
[2026-09-04 08:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788489217000,"timestamp_ms":1788489217000,"timestamp_seconds":1788489217,"priority":1,"record_length":96,"hex_timestamp":"000001a06a43b3e8"} 
[2026-09-04 08:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 08:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 08:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 08:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 08:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 08:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853234944001,"66":14428,"102":206,"83":41984,"24":0,"16":17106974999052288,"45":1830502172894169088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 08:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 08:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 08:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853234944001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:05:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 08:05:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 08:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17106974999052288,"km_value":17106974999052.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894169088,"description":"Unknown IO ID 45"} 
[2026-09-04 08:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853234944001,"power":14428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894169088}} 
[2026-09-04 08:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":170482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:05:56] local.INFO: GPS data processed {"connection_id":170482,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:05:56] local.INFO: Acknowledgment sent {"connection_id":170482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:06:00] local.INFO: TCP Data received {"connection_id":170483,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:06:00] local.INFO: Processing buffer {"connection_id":170483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:06:00] local.INFO: IMEI packet received {"connection_id":170483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":170483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:06:05] local.INFO: TCP Data received {"connection_id":170483,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:06:05] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:06:05] local.INFO: Processing buffer {"connection_id":170483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:06:05] local.INFO: IMEI packet received {"connection_id":170483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":170483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:06:05] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:06:05] local.INFO: IMEI packet received {"connection_id":173182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":173182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:06:06] local.INFO: TCP Data received {"connection_id":170483,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:06:06] local.INFO: Processing buffer {"connection_id":170483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:06:06] local.INFO: Packet analysis {"connection_id":170483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:06:06] local.INFO: Extracted packet for processing {"connection_id":170483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:06:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853170688001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788489249000,"timestamp_ms":1788489249000,"timestamp_seconds":1788489249,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4430e8"} 
[2026-09-04 08:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 08:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853170688001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853170688001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:06:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853170688001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":170483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:06:06] local.INFO: GPS data processed {"connection_id":170483,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:06:06] local.INFO: Acknowledgment sent {"connection_id":170483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:06:10] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:06:10] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:06:10] local.INFO: IMEI packet received {"connection_id":173182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":173182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:06:15] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:06:15] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:06:15] local.INFO: IMEI packet received {"connection_id":173182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":173182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:06:16] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:06:16] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:06:16] local.INFO: Packet analysis {"connection_id":173182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:06:16] local.INFO: Extracted packet for processing {"connection_id":173182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:06:16] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":34,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853188352001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788489021000,"timestamp_ms":1788489021000,"timestamp_seconds":1788489021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a40b648"} 
[2026-09-04 08:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 08:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853188352001,"66":4590,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853188352001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:06:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853188352001,"power":4590,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":173182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:06:16] local.INFO: GPS data processed {"connection_id":173182,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:06:16] local.INFO: Acknowledgment sent {"connection_id":173182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:06:21] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:06:21] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:06:21] local.INFO: Packet analysis {"connection_id":173182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:06:21] local.INFO: Extracted packet for processing {"connection_id":173182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:06:21] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":34,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853188352001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788489021000,"timestamp_ms":1788489021000,"timestamp_seconds":1788489021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a40b648"} 
[2026-09-04 08:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 08:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853188352001,"66":4590,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853188352001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:06:21] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853188352001,"power":4590,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":173182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:06:21] local.INFO: GPS data processed {"connection_id":173182,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:06:21] local.INFO: Acknowledgment sent {"connection_id":173182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:06:37] local.INFO: TCP Data received {"connection_id":170483,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:06:37] local.INFO: Processing buffer {"connection_id":170483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:06:37] local.INFO: Packet analysis {"connection_id":170483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:06:37] local.INFO: Extracted packet for processing {"connection_id":170483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:06:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853170688001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788489249000,"timestamp_ms":1788489249000,"timestamp_seconds":1788489249,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4430e8"} 
[2026-09-04 08:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 08:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853170688001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853170688001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:06:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:06:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853170688001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":170483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:06:37] local.INFO: GPS data processed {"connection_id":170483,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:06:37] local.INFO: Acknowledgment sent {"connection_id":170483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:06:52] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:06:52] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:06:52] local.INFO: Packet analysis {"connection_id":173182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:06:52] local.INFO: Extracted packet for processing {"connection_id":173182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:06:52] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":34,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853188352001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788489021000,"timestamp_ms":1788489021000,"timestamp_seconds":1788489021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a40b648"} 
[2026-09-04 08:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 08:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853188352001,"66":4590,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853188352001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:06:52] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853188352001,"power":4590,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":173182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:06:52] local.INFO: GPS data processed {"connection_id":173182,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:06:52] local.INFO: Acknowledgment sent {"connection_id":173182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:07:00] local.INFO: TCP Data received {"connection_id":171887,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:07:00] local.INFO: Processing buffer {"connection_id":171887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:07:00] local.INFO: IMEI packet received {"connection_id":171887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":171887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:07:05] local.INFO: TCP Data received {"connection_id":171887,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:07:05] local.INFO: Processing buffer {"connection_id":171887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:07:05] local.INFO: IMEI packet received {"connection_id":171887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":171887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:07:05] local.INFO: TCP Data received {"connection_id":171888,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:07:05] local.INFO: Processing buffer {"connection_id":171888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:07:05] local.INFO: IMEI packet received {"connection_id":171888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":171888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:07:06] local.INFO: TCP Data received {"connection_id":171887,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:07:06] local.INFO: Processing buffer {"connection_id":171887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:07:06] local.INFO: Packet analysis {"connection_id":171887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:07:06] local.INFO: Extracted packet for processing {"connection_id":171887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:07:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853170688001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:07:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788489249000,"timestamp_ms":1788489249000,"timestamp_seconds":1788489249,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4430e8"} 
[2026-09-04 08:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 08:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853170688001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853170688001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:07:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:07:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853170688001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":171887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:07:06] local.INFO: GPS data processed {"connection_id":171887,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:07:06] local.INFO: Acknowledgment sent {"connection_id":171887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:07:10] local.INFO: TCP Data received {"connection_id":171888,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:07:10] local.INFO: Processing buffer {"connection_id":171888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:07:10] local.INFO: IMEI packet received {"connection_id":171888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":171888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:07:11] local.INFO: TCP Data received {"connection_id":171888,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:07:11] local.INFO: Processing buffer {"connection_id":171888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:07:11] local.INFO: Packet analysis {"connection_id":171888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:07:11] local.INFO: Extracted packet for processing {"connection_id":171888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":34,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853188352001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788489021000,"timestamp_ms":1788489021000,"timestamp_seconds":1788489021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a40b648"} 
[2026-09-04 08:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 08:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853188352001,"66":4590,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853188352001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:07:11] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853188352001,"power":4590,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":171888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:07:11] local.INFO: GPS data processed {"connection_id":171888,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:07:11] local.INFO: Acknowledgment sent {"connection_id":171888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:07:37] local.INFO: TCP Data received {"connection_id":171887,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:07:37] local.INFO: Processing buffer {"connection_id":171887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:07:37] local.INFO: Packet analysis {"connection_id":171887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:07:37] local.INFO: Extracted packet for processing {"connection_id":171887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:07:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853170688001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:07:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788489249000,"timestamp_ms":1788489249000,"timestamp_seconds":1788489249,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4430e8"} 
[2026-09-04 08:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 08:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853170688001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853170688001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:07:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:07:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853170688001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":171887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:07:37] local.INFO: GPS data processed {"connection_id":171887,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:07:37] local.INFO: Acknowledgment sent {"connection_id":171887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:07:42] local.INFO: TCP Data received {"connection_id":171888,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:07:42] local.INFO: Processing buffer {"connection_id":171888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:07:42] local.INFO: Packet analysis {"connection_id":171888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:07:42] local.INFO: Extracted packet for processing {"connection_id":171888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":34,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853188352001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788489021000,"timestamp_ms":1788489021000,"timestamp_seconds":1788489021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a40b648"} 
[2026-09-04 08:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 08:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853188352001,"66":4590,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853188352001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:07:42] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853188352001,"power":4590,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":171888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:07:42] local.INFO: GPS data processed {"connection_id":171888,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:07:42] local.INFO: Acknowledgment sent {"connection_id":171888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:08:00] local.INFO: TCP Data received {"connection_id":173183,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:08:00] local.INFO: Processing buffer {"connection_id":173183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:08:00] local.INFO: IMEI packet received {"connection_id":173183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":173183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:08:05] local.INFO: TCP Data received {"connection_id":173183,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:08:05] local.INFO: Processing buffer {"connection_id":173183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:08:05] local.INFO: IMEI packet received {"connection_id":173183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":173183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:08:06] local.INFO: TCP Data received {"connection_id":173183,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:08:06] local.INFO: Processing buffer {"connection_id":173183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:08:06] local.INFO: Packet analysis {"connection_id":173183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:08:06] local.INFO: Extracted packet for processing {"connection_id":173183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:08:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853170688001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:08:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788489249000,"timestamp_ms":1788489249000,"timestamp_seconds":1788489249,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4430e8"} 
[2026-09-04 08:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 08:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853170688001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853170688001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:08:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:08:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853170688001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":173183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:08:06] local.INFO: GPS data processed {"connection_id":173183,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:08:06] local.INFO: Acknowledgment sent {"connection_id":173183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:08:10] local.INFO: TCP Data received {"connection_id":173184,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:08:10] local.INFO: Processing buffer {"connection_id":173184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:08:10] local.INFO: IMEI packet received {"connection_id":173184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":173184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:08:15] local.INFO: TCP Data received {"connection_id":173184,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:08:15] local.INFO: Processing buffer {"connection_id":173184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:08:15] local.INFO: IMEI packet received {"connection_id":173184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":173184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:08:16] local.INFO: TCP Data received {"connection_id":173184,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:08:16] local.INFO: Processing buffer {"connection_id":173184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:08:16] local.INFO: Packet analysis {"connection_id":173184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:08:16] local.INFO: Extracted packet for processing {"connection_id":173184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:08:16] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":34,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853188352001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788489021000,"timestamp_ms":1788489021000,"timestamp_seconds":1788489021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a40b648"} 
[2026-09-04 08:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 08:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853188352001,"66":4590,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853188352001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:08:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:08:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853188352001,"power":4590,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":173184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:08:16] local.INFO: GPS data processed {"connection_id":173184,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:08:16] local.INFO: Acknowledgment sent {"connection_id":173184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:08:37] local.INFO: TCP Data received {"connection_id":173183,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:08:37] local.INFO: Processing buffer {"connection_id":173183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:08:37] local.INFO: Packet analysis {"connection_id":173183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:08:37] local.INFO: Extracted packet for processing {"connection_id":173183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:08:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853170688001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:08:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788489249000,"timestamp_ms":1788489249000,"timestamp_seconds":1788489249,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4430e8"} 
[2026-09-04 08:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 08:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853170688001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853170688001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:08:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:08:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853170688001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":173183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:08:37] local.INFO: GPS data processed {"connection_id":173183,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:08:37] local.INFO: Acknowledgment sent {"connection_id":173183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:08:47] local.INFO: TCP Data received {"connection_id":173184,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:08:47] local.INFO: Processing buffer {"connection_id":173184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:08:47] local.INFO: Packet analysis {"connection_id":173184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:08:47] local.INFO: Extracted packet for processing {"connection_id":173184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:08:47] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":34,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853188352001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788489021000,"timestamp_ms":1788489021000,"timestamp_seconds":1788489021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a40b648"} 
[2026-09-04 08:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 08:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853188352001,"66":4590,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853188352001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:08:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:08:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853188352001,"power":4590,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":173184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:08:47] local.INFO: GPS data processed {"connection_id":173184,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:08:47] local.INFO: Acknowledgment sent {"connection_id":173184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:09:00] local.INFO: TCP Data received {"connection_id":171889,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:09:00] local.INFO: Processing buffer {"connection_id":171889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:09:00] local.INFO: IMEI packet received {"connection_id":171889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":171889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:09:05] local.INFO: TCP Data received {"connection_id":171889,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:09:05] local.INFO: Processing buffer {"connection_id":171889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:09:05] local.INFO: IMEI packet received {"connection_id":171889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":171889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:09:06] local.INFO: TCP Data received {"connection_id":171889,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:09:06] local.INFO: Processing buffer {"connection_id":171889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:09:06] local.INFO: Packet analysis {"connection_id":171889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:09:06] local.INFO: Extracted packet for processing {"connection_id":171889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:09:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853170688001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788489249000,"timestamp_ms":1788489249000,"timestamp_seconds":1788489249,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4430e8"} 
[2026-09-04 08:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 08:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853170688001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853170688001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:09:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853170688001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":171889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:09:06] local.INFO: GPS data processed {"connection_id":171889,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:09:06] local.INFO: Acknowledgment sent {"connection_id":171889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:09:10] local.INFO: TCP Data received {"connection_id":170484,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:09:10] local.INFO: Processing buffer {"connection_id":170484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:09:10] local.INFO: IMEI packet received {"connection_id":170484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":170484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:09:15] local.INFO: TCP Data received {"connection_id":170484,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:09:15] local.INFO: Processing buffer {"connection_id":170484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:09:15] local.INFO: IMEI packet received {"connection_id":170484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":170484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:09:16] local.INFO: TCP Data received {"connection_id":170484,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:09:16] local.INFO: Processing buffer {"connection_id":170484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a40b648012d7bbc8005ddb8b0000000a222..."} 
[2026-09-04 08:09:16] local.INFO: Packet analysis {"connection_id":170484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:09:16] local.INFO: Extracted packet for processing {"connection_id":170484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a40"} 
[2026-09-04 08:09:16] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":34,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853188352001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788489021000,"timestamp_ms":1788489021000,"timestamp_seconds":1788489021,"priority":1,"record_length":96,"hex_timestamp":"000001a06a40b648"} 
[2026-09-04 08:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 08:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853188352001,"66":4590,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853188352001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:09:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:09:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853188352001,"power":4590,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":170484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:09:16] local.INFO: GPS data processed {"connection_id":170484,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:09:16] local.INFO: Acknowledgment sent {"connection_id":170484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:09:37] local.INFO: TCP Data received {"connection_id":171889,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:09:37] local.INFO: Processing buffer {"connection_id":171889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4430e8012cee7040072e2b900035006227..."} 
[2026-09-04 08:09:37] local.INFO: Packet analysis {"connection_id":171889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:09:37] local.INFO: Extracted packet for processing {"connection_id":171889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a44"} 
[2026-09-04 08:09:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853170688001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:09:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788489249000,"timestamp_ms":1788489249000,"timestamp_seconds":1788489249,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4430e8"} 
[2026-09-04 08:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 08:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853170688001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853170688001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:09:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:09:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853170688001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":171889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:09:37] local.INFO: GPS data processed {"connection_id":171889,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:09:37] local.INFO: Acknowledgment sent {"connection_id":171889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:09:47] local.INFO: TCP Data received {"connection_id":170484,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:09:47] local.INFO: Processing buffer {"connection_id":170484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:09:47] local.INFO: Packet analysis {"connection_id":170484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:09:47] local.INFO: Extracted packet for processing {"connection_id":170484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:09:47] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":39,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853189376001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788489584000,"timestamp_ms":1788489584000,"timestamp_seconds":1788489584,"priority":1,"record_length":96,"hex_timestamp":"000001a06a494d80"} 
[2026-09-04 08:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 08:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2425,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853189376001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853189376001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:09:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:09:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853189376001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":170484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:09:47] local.INFO: GPS data processed {"connection_id":170484,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:09:47] local.INFO: Acknowledgment sent {"connection_id":170484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:10:05] local.INFO: TCP Data received {"connection_id":170485,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:10:05] local.INFO: Processing buffer {"connection_id":170485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:10:05] local.INFO: IMEI packet received {"connection_id":170485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":170485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:10:10] local.INFO: TCP Data received {"connection_id":170485,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:10:10] local.INFO: Processing buffer {"connection_id":170485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:10:10] local.INFO: IMEI packet received {"connection_id":170485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":170485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:10:15] local.INFO: TCP Data received {"connection_id":173185,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:10:15] local.INFO: Processing buffer {"connection_id":173185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:10:15] local.INFO: IMEI packet received {"connection_id":173185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":173185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:10:16] local.INFO: TCP Data received {"connection_id":170485,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:10:16] local.INFO: Processing buffer {"connection_id":170485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:10:16] local.INFO: Packet analysis {"connection_id":170485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a48"} 
[2026-09-04 08:10:16] local.INFO: Extracted packet for processing {"connection_id":170485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a48"} 
[2026-09-04 08:10:16] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853247744001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:10:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788489550000,"timestamp_ms":1788489550000,"timestamp_seconds":1788489550,"priority":1,"record_length":96,"hex_timestamp":"000001a06a48c8b0"} 
[2026-09-04 08:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853247744001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853247744001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:10:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:10:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:10:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853247744001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":170485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:10:16] local.INFO: GPS data processed {"connection_id":170485,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:10:16] local.INFO: Acknowledgment sent {"connection_id":170485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:10:20] local.INFO: TCP Data received {"connection_id":173185,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:10:20] local.INFO: Processing buffer {"connection_id":173185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:10:20] local.INFO: IMEI packet received {"connection_id":173185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":173185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:10:21] local.INFO: TCP Data received {"connection_id":173185,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:10:21] local.INFO: Processing buffer {"connection_id":173185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:10:21] local.INFO: Packet analysis {"connection_id":173185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:10:21] local.INFO: Extracted packet for processing {"connection_id":173185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:10:21] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":39,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853189376001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788489584000,"timestamp_ms":1788489584000,"timestamp_seconds":1788489584,"priority":1,"record_length":96,"hex_timestamp":"000001a06a494d80"} 
[2026-09-04 08:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 08:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2425,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853189376001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853189376001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:10:21] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853189376001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":173185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:10:21] local.INFO: GPS data processed {"connection_id":173185,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:10:21] local.INFO: Acknowledgment sent {"connection_id":173185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:10:25] local.INFO: TCP Data received {"connection_id":173185,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:10:25] local.INFO: Processing buffer {"connection_id":173185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:10:25] local.INFO: Packet analysis {"connection_id":173185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:10:25] local.INFO: Extracted packet for processing {"connection_id":173185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:10:25] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":39,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853189376001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788489584000,"timestamp_ms":1788489584000,"timestamp_seconds":1788489584,"priority":1,"record_length":96,"hex_timestamp":"000001a06a494d80"} 
[2026-09-04 08:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 08:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2425,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853189376001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853189376001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:10:25] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:10:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853189376001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":173185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:10:25] local.INFO: GPS data processed {"connection_id":173185,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:10:25] local.INFO: Acknowledgment sent {"connection_id":173185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:11:00] local.INFO: TCP Data received {"connection_id":170486,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:11:00] local.INFO: Processing buffer {"connection_id":170486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:11:00] local.INFO: IMEI packet received {"connection_id":170486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":170486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:11:05] local.INFO: TCP Data received {"connection_id":170486,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:11:05] local.INFO: Processing buffer {"connection_id":170486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:11:05] local.INFO: IMEI packet received {"connection_id":170486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":170486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:11:06] local.INFO: TCP Data received {"connection_id":170486,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:11:06] local.INFO: Processing buffer {"connection_id":170486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:11:06] local.INFO: Packet analysis {"connection_id":170486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a48"} 
[2026-09-04 08:11:06] local.INFO: Extracted packet for processing {"connection_id":170486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a48"} 
[2026-09-04 08:11:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853247744001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788489550000,"timestamp_ms":1788489550000,"timestamp_seconds":1788489550,"priority":1,"record_length":96,"hex_timestamp":"000001a06a48c8b0"} 
[2026-09-04 08:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853247744001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853247744001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:11:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853247744001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":170486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:11:06] local.INFO: GPS data processed {"connection_id":170486,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:11:06] local.INFO: Acknowledgment sent {"connection_id":170486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:11:10] local.INFO: TCP Data received {"connection_id":170792,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:11:10] local.INFO: Processing buffer {"connection_id":170792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:11:10] local.INFO: IMEI packet received {"connection_id":170792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":170792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:11:15] local.INFO: TCP Data received {"connection_id":170792,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:11:15] local.INFO: Processing buffer {"connection_id":170792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:11:15] local.INFO: IMEI packet received {"connection_id":170792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":170792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:11:16] local.INFO: TCP Data received {"connection_id":170792,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:11:16] local.INFO: Processing buffer {"connection_id":170792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:11:16] local.INFO: Packet analysis {"connection_id":170792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:11:16] local.INFO: Extracted packet for processing {"connection_id":170792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:11:16] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":39,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853189376001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788489584000,"timestamp_ms":1788489584000,"timestamp_seconds":1788489584,"priority":1,"record_length":96,"hex_timestamp":"000001a06a494d80"} 
[2026-09-04 08:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 08:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2425,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853189376001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853189376001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:11:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853189376001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":170792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:11:16] local.INFO: GPS data processed {"connection_id":170792,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:11:16] local.INFO: Acknowledgment sent {"connection_id":170792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:11:37] local.INFO: TCP Data received {"connection_id":170486,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:11:37] local.INFO: Processing buffer {"connection_id":170486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:11:37] local.INFO: Packet analysis {"connection_id":170486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a48"} 
[2026-09-04 08:11:37] local.INFO: Extracted packet for processing {"connection_id":170486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a48"} 
[2026-09-04 08:11:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853247744001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788489550000,"timestamp_ms":1788489550000,"timestamp_seconds":1788489550,"priority":1,"record_length":96,"hex_timestamp":"000001a06a48c8b0"} 
[2026-09-04 08:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853247744001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853247744001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:11:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853247744001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":170486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:11:37] local.INFO: GPS data processed {"connection_id":170486,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:11:37] local.INFO: Acknowledgment sent {"connection_id":170486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:11:47] local.INFO: TCP Data received {"connection_id":170792,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:11:47] local.INFO: Processing buffer {"connection_id":170792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:11:47] local.INFO: Packet analysis {"connection_id":170792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:11:47] local.INFO: Extracted packet for processing {"connection_id":170792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:11:47] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":39,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853189376001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788489584000,"timestamp_ms":1788489584000,"timestamp_seconds":1788489584,"priority":1,"record_length":96,"hex_timestamp":"000001a06a494d80"} 
[2026-09-04 08:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 08:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2425,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853189376001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853189376001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:11:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:11:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853189376001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":170792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:11:47] local.INFO: GPS data processed {"connection_id":170792,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:11:47] local.INFO: Acknowledgment sent {"connection_id":170792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:12:00] local.INFO: TCP Data received {"connection_id":173186,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:12:00] local.INFO: Processing buffer {"connection_id":173186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:12:00] local.INFO: IMEI packet received {"connection_id":173186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":173186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:12:05] local.INFO: TCP Data received {"connection_id":173186,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:12:05] local.INFO: Processing buffer {"connection_id":173186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:12:05] local.INFO: IMEI packet received {"connection_id":173186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":173186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:12:06] local.INFO: TCP Data received {"connection_id":173186,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:12:06] local.INFO: Processing buffer {"connection_id":173186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:12:06] local.INFO: Packet analysis {"connection_id":173186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a48"} 
[2026-09-04 08:12:06] local.INFO: Extracted packet for processing {"connection_id":173186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a48"} 
[2026-09-04 08:12:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853247744001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:12:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788489550000,"timestamp_ms":1788489550000,"timestamp_seconds":1788489550,"priority":1,"record_length":96,"hex_timestamp":"000001a06a48c8b0"} 
[2026-09-04 08:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853247744001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853247744001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:12:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:12:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853247744001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":173186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:12:06] local.INFO: GPS data processed {"connection_id":173186,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:12:06] local.INFO: Acknowledgment sent {"connection_id":173186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:12:12] local.INFO: TCP Data received {"connection_id":173187,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:12:12] local.INFO: Processing buffer {"connection_id":173187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:12:12] local.INFO: IMEI packet received {"connection_id":173187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":173187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:12:15] local.INFO: TCP Data received {"connection_id":173187,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:12:15] local.INFO: Processing buffer {"connection_id":173187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:12:15] local.INFO: IMEI packet received {"connection_id":173187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":173187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:12:16] local.INFO: TCP Data received {"connection_id":173187,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:12:16] local.INFO: Processing buffer {"connection_id":173187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:12:16] local.INFO: Packet analysis {"connection_id":173187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:12:16] local.INFO: Extracted packet for processing {"connection_id":173187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:12:16] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":39,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853189376001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788489584000,"timestamp_ms":1788489584000,"timestamp_seconds":1788489584,"priority":1,"record_length":96,"hex_timestamp":"000001a06a494d80"} 
[2026-09-04 08:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 08:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2425,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853189376001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853189376001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:12:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853189376001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":173187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:12:16] local.INFO: GPS data processed {"connection_id":173187,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:12:16] local.INFO: Acknowledgment sent {"connection_id":173187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:12:37] local.INFO: TCP Data received {"connection_id":173186,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:12:37] local.INFO: Processing buffer {"connection_id":173186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:12:37] local.INFO: Packet analysis {"connection_id":173186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a48"} 
[2026-09-04 08:12:37] local.INFO: Extracted packet for processing {"connection_id":173186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a48"} 
[2026-09-04 08:12:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853247744001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:12:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788489550000,"timestamp_ms":1788489550000,"timestamp_seconds":1788489550,"priority":1,"record_length":96,"hex_timestamp":"000001a06a48c8b0"} 
[2026-09-04 08:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853247744001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853247744001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:12:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:12:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853247744001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":173186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:12:37] local.INFO: GPS data processed {"connection_id":173186,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:12:37] local.INFO: Acknowledgment sent {"connection_id":173186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:12:47] local.INFO: TCP Data received {"connection_id":173187,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:12:47] local.INFO: Processing buffer {"connection_id":173187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:12:47] local.INFO: Packet analysis {"connection_id":173187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:12:47] local.INFO: Extracted packet for processing {"connection_id":173187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:12:47] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":39,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853189376001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788489584000,"timestamp_ms":1788489584000,"timestamp_seconds":1788489584,"priority":1,"record_length":96,"hex_timestamp":"000001a06a494d80"} 
[2026-09-04 08:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 08:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2425,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853189376001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853189376001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:12:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:12:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853189376001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":173187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:12:47] local.INFO: GPS data processed {"connection_id":173187,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:12:47] local.INFO: Acknowledgment sent {"connection_id":173187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:13:00] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:13:00] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:13:00] local.INFO: IMEI packet received {"connection_id":173188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":173188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:13:05] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:13:05] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:13:05] local.INFO: IMEI packet received {"connection_id":173188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":173188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:13:06] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:13:06] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:13:06] local.INFO: Packet analysis {"connection_id":173188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a48"} 
[2026-09-04 08:13:06] local.INFO: Extracted packet for processing {"connection_id":173188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a48"} 
[2026-09-04 08:13:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853247744001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:13:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788489550000,"timestamp_ms":1788489550000,"timestamp_seconds":1788489550,"priority":1,"record_length":96,"hex_timestamp":"000001a06a48c8b0"} 
[2026-09-04 08:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853247744001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853247744001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:13:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:13:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853247744001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":173188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:13:06] local.INFO: GPS data processed {"connection_id":173188,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:13:06] local.INFO: Acknowledgment sent {"connection_id":173188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:13:10] local.INFO: TCP Data received {"connection_id":170793,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:13:10] local.INFO: Processing buffer {"connection_id":170793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:13:10] local.INFO: IMEI packet received {"connection_id":170793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":170793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:13:15] local.INFO: TCP Data received {"connection_id":170793,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:13:15] local.INFO: Processing buffer {"connection_id":170793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:13:15] local.INFO: IMEI packet received {"connection_id":170793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":170793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:13:16] local.INFO: TCP Data received {"connection_id":170793,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:13:16] local.INFO: Processing buffer {"connection_id":170793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:13:16] local.INFO: Packet analysis {"connection_id":170793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:13:16] local.INFO: Extracted packet for processing {"connection_id":170793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":39,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853189376001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788489584000,"timestamp_ms":1788489584000,"timestamp_seconds":1788489584,"priority":1,"record_length":96,"hex_timestamp":"000001a06a494d80"} 
[2026-09-04 08:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 08:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2425,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853189376001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853189376001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:13:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:13:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853189376001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":170793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:13:16] local.INFO: GPS data processed {"connection_id":170793,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:13:16] local.INFO: Acknowledgment sent {"connection_id":170793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:13:37] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:13:37] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a48c8b0012cee7040072e2b900035006226..."} 
[2026-09-04 08:13:37] local.INFO: Packet analysis {"connection_id":173188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a48"} 
[2026-09-04 08:13:37] local.INFO: Extracted packet for processing {"connection_id":173188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a48"} 
[2026-09-04 08:13:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466320,"longitude_deg":75.3823808,"latitude_deg":12.046632,"altitude":53,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2b90","is_valid_coordinates":true} 
[2026-09-04 08:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853247744001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:13:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788489550000,"timestamp_ms":1788489550000,"timestamp_seconds":1788489550,"priority":1,"record_length":96,"hex_timestamp":"000001a06a48c8b0"} 
[2026-09-04 08:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853247744001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853247744001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:13:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:13:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853247744001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":173188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:13:37] local.INFO: GPS data processed {"connection_id":173188,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:13:37] local.INFO: Acknowledgment sent {"connection_id":173188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:13:47] local.INFO: TCP Data received {"connection_id":170793,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:13:47] local.INFO: Processing buffer {"connection_id":170793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:13:47] local.INFO: Packet analysis {"connection_id":170793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:13:47] local.INFO: Extracted packet for processing {"connection_id":170793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:13:47] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":39,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853189376001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788489584000,"timestamp_ms":1788489584000,"timestamp_seconds":1788489584,"priority":1,"record_length":96,"hex_timestamp":"000001a06a494d80"} 
[2026-09-04 08:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 08:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2425,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853189376001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853189376001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:13:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:13:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853189376001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":170793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:13:47] local.INFO: GPS data processed {"connection_id":170793,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:13:47] local.INFO: Acknowledgment sent {"connection_id":170793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:14:00] local.INFO: TCP Data received {"connection_id":173189,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:14:00] local.INFO: Processing buffer {"connection_id":173189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:14:00] local.INFO: IMEI packet received {"connection_id":173189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":173189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:14:05] local.INFO: TCP Data received {"connection_id":173189,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:14:05] local.INFO: Processing buffer {"connection_id":173189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:14:05] local.INFO: IMEI packet received {"connection_id":173189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":173189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:14:06] local.INFO: TCP Data received {"connection_id":173189,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:14:06] local.INFO: Processing buffer {"connection_id":173189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:14:06] local.INFO: Packet analysis {"connection_id":173189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:14:06] local.INFO: Extracted packet for processing {"connection_id":173189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:14:06] local.INFO: GPS Element Parsed {"raw_longitude":753824128,"raw_latitude":120466840,"longitude_deg":75.3824128,"latitude_deg":12.046684,"altitude":57,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2cee7180","hex_latitude":"072e2d98","is_valid_coordinates":true} 
[2026-09-04 08:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853324800001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788489836000,"timestamp_ms":1788489836000,"timestamp_seconds":1788489836,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4d25e0"} 
[2026-09-04 08:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853324800001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853324800001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:14:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853324800001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":173189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:14:06] local.INFO: GPS data processed {"connection_id":173189,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:14:06] local.INFO: Acknowledgment sent {"connection_id":173189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:14:10] local.INFO: TCP Data received {"connection_id":173190,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:14:10] local.INFO: Processing buffer {"connection_id":173190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:14:10] local.INFO: IMEI packet received {"connection_id":173190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":173190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:14:15] local.INFO: TCP Data received {"connection_id":173190,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:14:15] local.INFO: Processing buffer {"connection_id":173190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:14:15] local.INFO: IMEI packet received {"connection_id":173190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":173190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:14:16] local.INFO: TCP Data received {"connection_id":173190,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:14:16] local.INFO: Processing buffer {"connection_id":173190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a494d80012d7bbc8005ddb8b0000000a227..."} 
[2026-09-04 08:14:16] local.INFO: Packet analysis {"connection_id":173190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:14:16] local.INFO: Extracted packet for processing {"connection_id":173190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a49"} 
[2026-09-04 08:14:16] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":39,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853189376001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788489584000,"timestamp_ms":1788489584000,"timestamp_seconds":1788489584,"priority":1,"record_length":96,"hex_timestamp":"000001a06a494d80"} 
[2026-09-04 08:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 08:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2425,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853189376001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853189376001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:14:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:14:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853189376001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":173190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:14:16] local.INFO: GPS data processed {"connection_id":173190,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:14:16] local.INFO: Acknowledgment sent {"connection_id":173190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:14:37] local.INFO: TCP Data received {"connection_id":173189,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:14:37] local.INFO: Processing buffer {"connection_id":173189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:14:37] local.INFO: Packet analysis {"connection_id":173189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:14:37] local.INFO: Extracted packet for processing {"connection_id":173189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:14:37] local.INFO: GPS Element Parsed {"raw_longitude":753824128,"raw_latitude":120466840,"longitude_deg":75.3824128,"latitude_deg":12.046684,"altitude":57,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2cee7180","hex_latitude":"072e2d98","is_valid_coordinates":true} 
[2026-09-04 08:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853324800001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:14:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788489836000,"timestamp_ms":1788489836000,"timestamp_seconds":1788489836,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4d25e0"} 
[2026-09-04 08:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853324800001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853324800001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:14:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:14:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853324800001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":173189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:14:37] local.INFO: GPS data processed {"connection_id":173189,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:14:37] local.INFO: Acknowledgment sent {"connection_id":173189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:14:47] local.INFO: TCP Data received {"connection_id":173190,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:14:47] local.INFO: Processing buffer {"connection_id":173190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:14:47] local.INFO: Packet analysis {"connection_id":173190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:14:47] local.INFO: Extracted packet for processing {"connection_id":173190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:14:47] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":40,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853333504001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788489885000,"timestamp_ms":1788489885000,"timestamp_seconds":1788489885,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4de548"} 
[2026-09-04 08:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 08:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853333504001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853333504001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:14:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:14:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853333504001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":173190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:14:47] local.INFO: GPS data processed {"connection_id":173190,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:14:47] local.INFO: Acknowledgment sent {"connection_id":173190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:15:00] local.INFO: TCP Data received {"connection_id":170794,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:15:00] local.INFO: Processing buffer {"connection_id":170794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:15:00] local.INFO: IMEI packet received {"connection_id":170794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":170794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:15:05] local.INFO: TCP Data received {"connection_id":170794,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:15:05] local.INFO: Processing buffer {"connection_id":170794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:15:05] local.INFO: IMEI packet received {"connection_id":170794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":170794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:15:06] local.INFO: TCP Data received {"connection_id":170794,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:15:06] local.INFO: Processing buffer {"connection_id":170794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:15:06] local.INFO: Packet analysis {"connection_id":170794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:15:06] local.INFO: Extracted packet for processing {"connection_id":170794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:15:06] local.INFO: GPS Element Parsed {"raw_longitude":753824128,"raw_latitude":120466840,"longitude_deg":75.3824128,"latitude_deg":12.046684,"altitude":57,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2cee7180","hex_latitude":"072e2d98","is_valid_coordinates":true} 
[2026-09-04 08:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853324800001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788489836000,"timestamp_ms":1788489836000,"timestamp_seconds":1788489836,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4d25e0"} 
[2026-09-04 08:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853324800001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853324800001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:15:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:15:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853324800001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":170794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:15:06] local.INFO: GPS data processed {"connection_id":170794,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:15:06] local.INFO: Acknowledgment sent {"connection_id":170794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:15:11] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:15:11] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:15:11] local.INFO: IMEI packet received {"connection_id":173191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":173191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:15:15] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:15:15] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:15:15] local.INFO: IMEI packet received {"connection_id":173191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":173191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:15:16] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:15:16] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:15:16] local.INFO: Packet analysis {"connection_id":173191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:15:16] local.INFO: Extracted packet for processing {"connection_id":173191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:15:16] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":40,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853333504001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788489885000,"timestamp_ms":1788489885000,"timestamp_seconds":1788489885,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4de548"} 
[2026-09-04 08:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 08:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853333504001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853333504001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:15:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853333504001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":173191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:15:16] local.INFO: GPS data processed {"connection_id":173191,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:15:16] local.INFO: Acknowledgment sent {"connection_id":173191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:15:21] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:15:21] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:15:21] local.INFO: Packet analysis {"connection_id":173191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:15:21] local.INFO: Extracted packet for processing {"connection_id":173191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":40,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853333504001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788489885000,"timestamp_ms":1788489885000,"timestamp_seconds":1788489885,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4de548"} 
[2026-09-04 08:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 08:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853333504001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853333504001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:15:21] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853333504001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":173191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:15:21] local.INFO: GPS data processed {"connection_id":173191,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:15:21] local.INFO: Acknowledgment sent {"connection_id":173191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:15:37] local.INFO: TCP Data received {"connection_id":170794,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:15:37] local.INFO: Processing buffer {"connection_id":170794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:15:37] local.INFO: Packet analysis {"connection_id":170794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:15:37] local.INFO: Extracted packet for processing {"connection_id":170794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:15:37] local.INFO: GPS Element Parsed {"raw_longitude":753824128,"raw_latitude":120466840,"longitude_deg":75.3824128,"latitude_deg":12.046684,"altitude":57,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2cee7180","hex_latitude":"072e2d98","is_valid_coordinates":true} 
[2026-09-04 08:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853324800001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788489836000,"timestamp_ms":1788489836000,"timestamp_seconds":1788489836,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4d25e0"} 
[2026-09-04 08:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853324800001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853324800001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:15:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853324800001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":170794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:15:37] local.INFO: GPS data processed {"connection_id":170794,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:15:37] local.INFO: Acknowledgment sent {"connection_id":170794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:15:52] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:15:52] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:15:52] local.INFO: Packet analysis {"connection_id":173191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:15:52] local.INFO: Extracted packet for processing {"connection_id":173191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:15:52] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":40,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853333504001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788489885000,"timestamp_ms":1788489885000,"timestamp_seconds":1788489885,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4de548"} 
[2026-09-04 08:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 08:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853333504001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853333504001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:15:52] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853333504001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":173191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:15:52] local.INFO: GPS data processed {"connection_id":173191,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:15:52] local.INFO: Acknowledgment sent {"connection_id":173191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:16:00] local.INFO: TCP Data received {"connection_id":171890,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:16:00] local.INFO: Processing buffer {"connection_id":171890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:16:00] local.INFO: IMEI packet received {"connection_id":171890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":171890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:16:05] local.INFO: TCP Data received {"connection_id":171890,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:16:05] local.INFO: Processing buffer {"connection_id":171890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:16:05] local.INFO: IMEI packet received {"connection_id":171890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":171890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:16:06] local.INFO: TCP Data received {"connection_id":171890,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:16:06] local.INFO: Processing buffer {"connection_id":171890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:16:06] local.INFO: Packet analysis {"connection_id":171890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:16:06] local.INFO: Extracted packet for processing {"connection_id":171890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:16:06] local.INFO: GPS Element Parsed {"raw_longitude":753824128,"raw_latitude":120466840,"longitude_deg":75.3824128,"latitude_deg":12.046684,"altitude":57,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2cee7180","hex_latitude":"072e2d98","is_valid_coordinates":true} 
[2026-09-04 08:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853324800001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:16:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788489836000,"timestamp_ms":1788489836000,"timestamp_seconds":1788489836,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4d25e0"} 
[2026-09-04 08:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853324800001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853324800001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:16:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:16:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853324800001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":171890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:16:06] local.INFO: GPS data processed {"connection_id":171890,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:16:06] local.INFO: Acknowledgment sent {"connection_id":171890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:16:10] local.INFO: TCP Data received {"connection_id":170487,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:16:10] local.INFO: Processing buffer {"connection_id":170487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:16:10] local.INFO: IMEI packet received {"connection_id":170487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":170487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:16:15] local.INFO: TCP Data received {"connection_id":170487,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:16:15] local.INFO: Processing buffer {"connection_id":170487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:16:15] local.INFO: IMEI packet received {"connection_id":170487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":170487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:16:16] local.INFO: TCP Data received {"connection_id":170487,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:16:16] local.INFO: Processing buffer {"connection_id":170487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:16:16] local.INFO: Packet analysis {"connection_id":170487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:16:16] local.INFO: Extracted packet for processing {"connection_id":170487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:16:16] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":40,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853333504001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788489885000,"timestamp_ms":1788489885000,"timestamp_seconds":1788489885,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4de548"} 
[2026-09-04 08:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 08:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853333504001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853333504001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:16:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:16:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853333504001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":170487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:16:16] local.INFO: GPS data processed {"connection_id":170487,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:16:16] local.INFO: Acknowledgment sent {"connection_id":170487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:16:37] local.INFO: TCP Data received {"connection_id":171890,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:16:37] local.INFO: Processing buffer {"connection_id":171890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:16:37] local.INFO: Packet analysis {"connection_id":171890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:16:37] local.INFO: Extracted packet for processing {"connection_id":171890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:16:37] local.INFO: GPS Element Parsed {"raw_longitude":753824128,"raw_latitude":120466840,"longitude_deg":75.3824128,"latitude_deg":12.046684,"altitude":57,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2cee7180","hex_latitude":"072e2d98","is_valid_coordinates":true} 
[2026-09-04 08:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853324800001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:16:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788489836000,"timestamp_ms":1788489836000,"timestamp_seconds":1788489836,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4d25e0"} 
[2026-09-04 08:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853324800001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853324800001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:16:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:16:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853324800001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":171890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:16:37] local.INFO: GPS data processed {"connection_id":171890,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:16:37] local.INFO: Acknowledgment sent {"connection_id":171890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:16:47] local.INFO: TCP Data received {"connection_id":170487,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:16:47] local.INFO: Processing buffer {"connection_id":170487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:16:47] local.INFO: Packet analysis {"connection_id":170487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:16:47] local.INFO: Extracted packet for processing {"connection_id":170487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:16:47] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":40,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853333504001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788489885000,"timestamp_ms":1788489885000,"timestamp_seconds":1788489885,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4de548"} 
[2026-09-04 08:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 08:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853333504001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853333504001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:16:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:16:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853333504001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":170487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:16:47] local.INFO: GPS data processed {"connection_id":170487,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:16:47] local.INFO: Acknowledgment sent {"connection_id":170487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:17:00] local.INFO: TCP Data received {"connection_id":170488,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:17:00] local.INFO: Processing buffer {"connection_id":170488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:17:00] local.INFO: IMEI packet received {"connection_id":170488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":170488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:17:05] local.INFO: TCP Data received {"connection_id":170488,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:17:05] local.INFO: Processing buffer {"connection_id":170488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:17:05] local.INFO: IMEI packet received {"connection_id":170488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":170488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:17:06] local.INFO: TCP Data received {"connection_id":170488,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:17:06] local.INFO: Processing buffer {"connection_id":170488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:17:06] local.INFO: Packet analysis {"connection_id":170488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:17:06] local.INFO: Extracted packet for processing {"connection_id":170488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:17:06] local.INFO: GPS Element Parsed {"raw_longitude":753824128,"raw_latitude":120466840,"longitude_deg":75.3824128,"latitude_deg":12.046684,"altitude":57,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2cee7180","hex_latitude":"072e2d98","is_valid_coordinates":true} 
[2026-09-04 08:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853324800001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:17:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788489836000,"timestamp_ms":1788489836000,"timestamp_seconds":1788489836,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4d25e0"} 
[2026-09-04 08:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853324800001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853324800001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:17:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853324800001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":170488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:17:06] local.INFO: GPS data processed {"connection_id":170488,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:17:06] local.INFO: Acknowledgment sent {"connection_id":170488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:17:10] local.INFO: TCP Data received {"connection_id":170795,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:17:10] local.INFO: Processing buffer {"connection_id":170795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:17:10] local.INFO: IMEI packet received {"connection_id":170795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":170795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:17:15] local.INFO: TCP Data received {"connection_id":170795,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:17:15] local.INFO: Processing buffer {"connection_id":170795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:17:15] local.INFO: IMEI packet received {"connection_id":170795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":170795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:17:16] local.INFO: TCP Data received {"connection_id":170795,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:17:16] local.INFO: Processing buffer {"connection_id":170795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:17:16] local.INFO: Packet analysis {"connection_id":170795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:17:16] local.INFO: Extracted packet for processing {"connection_id":170795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:17:16] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":40,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853333504001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788489885000,"timestamp_ms":1788489885000,"timestamp_seconds":1788489885,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4de548"} 
[2026-09-04 08:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 08:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853333504001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853333504001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:17:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:17:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853333504001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":170795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:17:16] local.INFO: GPS data processed {"connection_id":170795,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:17:16] local.INFO: Acknowledgment sent {"connection_id":170795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:17:37] local.INFO: TCP Data received {"connection_id":170488,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:17:37] local.INFO: Processing buffer {"connection_id":170488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:17:37] local.INFO: Packet analysis {"connection_id":170488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:17:37] local.INFO: Extracted packet for processing {"connection_id":170488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:17:37] local.INFO: GPS Element Parsed {"raw_longitude":753824128,"raw_latitude":120466840,"longitude_deg":75.3824128,"latitude_deg":12.046684,"altitude":57,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2cee7180","hex_latitude":"072e2d98","is_valid_coordinates":true} 
[2026-09-04 08:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853324800001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:17:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788489836000,"timestamp_ms":1788489836000,"timestamp_seconds":1788489836,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4d25e0"} 
[2026-09-04 08:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853324800001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853324800001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:17:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:17:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853324800001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":170488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:17:37] local.INFO: GPS data processed {"connection_id":170488,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:17:37] local.INFO: Acknowledgment sent {"connection_id":170488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:17:47] local.INFO: TCP Data received {"connection_id":170795,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:17:47] local.INFO: Processing buffer {"connection_id":170795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:17:47] local.INFO: Packet analysis {"connection_id":170795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:17:47] local.INFO: Extracted packet for processing {"connection_id":170795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:17:47] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":40,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853333504001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788489885000,"timestamp_ms":1788489885000,"timestamp_seconds":1788489885,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4de548"} 
[2026-09-04 08:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 08:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853333504001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853333504001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:17:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:17:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853333504001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":170795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:17:47] local.INFO: GPS data processed {"connection_id":170795,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:17:47] local.INFO: Acknowledgment sent {"connection_id":170795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:18:00] local.INFO: TCP Data received {"connection_id":171891,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:18:00] local.INFO: Processing buffer {"connection_id":171891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:18:00] local.INFO: IMEI packet received {"connection_id":171891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":171891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:18:05] local.INFO: TCP Data received {"connection_id":171891,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:18:05] local.INFO: Processing buffer {"connection_id":171891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:18:05] local.INFO: IMEI packet received {"connection_id":171891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":171891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:18:06] local.INFO: TCP Data received {"connection_id":171891,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:18:06] local.INFO: Processing buffer {"connection_id":171891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:18:06] local.INFO: Packet analysis {"connection_id":171891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:18:06] local.INFO: Extracted packet for processing {"connection_id":171891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:18:06] local.INFO: GPS Element Parsed {"raw_longitude":753824128,"raw_latitude":120466840,"longitude_deg":75.3824128,"latitude_deg":12.046684,"altitude":57,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2cee7180","hex_latitude":"072e2d98","is_valid_coordinates":true} 
[2026-09-04 08:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853324800001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:18:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788489836000,"timestamp_ms":1788489836000,"timestamp_seconds":1788489836,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4d25e0"} 
[2026-09-04 08:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853324800001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853324800001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:18:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:18:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853324800001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":171891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:18:06] local.INFO: GPS data processed {"connection_id":171891,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:18:06] local.INFO: Acknowledgment sent {"connection_id":171891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:18:10] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:18:10] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:18:10] local.INFO: IMEI packet received {"connection_id":173192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":173192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:18:15] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:18:15] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:18:15] local.INFO: IMEI packet received {"connection_id":173192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":173192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:18:16] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:18:16] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:18:16] local.INFO: Packet analysis {"connection_id":173192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:18:16] local.INFO: Extracted packet for processing {"connection_id":173192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:18:16] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":40,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853333504001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788489885000,"timestamp_ms":1788489885000,"timestamp_seconds":1788489885,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4de548"} 
[2026-09-04 08:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 08:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853333504001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853333504001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:18:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:18:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853333504001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":173192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:18:16] local.INFO: GPS data processed {"connection_id":173192,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:18:16] local.INFO: Acknowledgment sent {"connection_id":173192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:18:37] local.INFO: TCP Data received {"connection_id":171891,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:18:37] local.INFO: Processing buffer {"connection_id":171891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4d25e0012cee7180072e2d980039000022..."} 
[2026-09-04 08:18:37] local.INFO: Packet analysis {"connection_id":171891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:18:37] local.INFO: Extracted packet for processing {"connection_id":171891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:18:37] local.INFO: GPS Element Parsed {"raw_longitude":753824128,"raw_latitude":120466840,"longitude_deg":75.3824128,"latitude_deg":12.046684,"altitude":57,"angle":0,"satellites":34,"speed":0,"hex_longitude":"2cee7180","hex_latitude":"072e2d98","is_valid_coordinates":true} 
[2026-09-04 08:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853324800001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:18:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707553792,"note":"Value kept but may cause issues"} 
[2026-09-04 08:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788489836000,"timestamp_ms":1788489836000,"timestamp_seconds":1788489836,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4d25e0"} 
[2026-09-04 08:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853324800001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707553792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853324800001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:18:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:18:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707553792,"description":"Unknown IO ID 44"} 
[2026-09-04 08:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853324800001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707553792}} 
[2026-09-04 08:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":171891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:18:37] local.INFO: GPS data processed {"connection_id":171891,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:18:37] local.INFO: Acknowledgment sent {"connection_id":171891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:18:47] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:18:47] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:18:47] local.INFO: Packet analysis {"connection_id":173192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:18:47] local.INFO: Extracted packet for processing {"connection_id":173192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:18:47] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":40,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853333504001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788489885000,"timestamp_ms":1788489885000,"timestamp_seconds":1788489885,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4de548"} 
[2026-09-04 08:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 08:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853333504001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853333504001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:18:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:18:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853333504001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":173192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:18:47] local.INFO: GPS data processed {"connection_id":173192,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:18:47] local.INFO: Acknowledgment sent {"connection_id":173192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:19:00] local.INFO: TCP Data received {"connection_id":170796,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:19:00] local.INFO: Processing buffer {"connection_id":170796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:19:00] local.INFO: IMEI packet received {"connection_id":170796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":170796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:19:05] local.INFO: TCP Data received {"connection_id":170796,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:19:05] local.INFO: Processing buffer {"connection_id":170796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:19:05] local.INFO: IMEI packet received {"connection_id":170796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":170796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:19:06] local.INFO: TCP Data received {"connection_id":170796,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:19:06] local.INFO: Processing buffer {"connection_id":170796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:19:06] local.INFO: Packet analysis {"connection_id":170796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:19:06] local.INFO: Extracted packet for processing {"connection_id":170796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:19:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853398016001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265089251986532352,"note":"Value kept but may cause issues"} 
[2026-09-04 08:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788490125000,"timestamp_ms":1788490125000,"timestamp_seconds":1788490125,"priority":1,"record_length":96,"hex_timestamp":"000001a06a518ec8"} 
[2026-09-04 08:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853398016001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265089251986532352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853398016001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:19:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265089251986532352,"description":"Unknown IO ID 44"} 
[2026-09-04 08:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853398016001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265089251986532352}} 
[2026-09-04 08:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":170796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:19:06] local.INFO: GPS data processed {"connection_id":170796,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:19:06] local.INFO: Acknowledgment sent {"connection_id":170796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:19:15] local.INFO: TCP Data received {"connection_id":171892,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:19:15] local.INFO: Processing buffer {"connection_id":171892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:19:15] local.INFO: IMEI packet received {"connection_id":171892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 08:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":171892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:19:20] local.INFO: TCP Data received {"connection_id":171892,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:19:20] local.INFO: Processing buffer {"connection_id":171892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 08:19:20] local.INFO: IMEI packet received {"connection_id":171892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 08:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":171892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:19:21] local.INFO: TCP Data received {"connection_id":171892,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:19:21] local.INFO: Processing buffer {"connection_id":171892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:19:21] local.INFO: Packet analysis {"connection_id":171892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:19:21] local.INFO: Extracted packet for processing {"connection_id":171892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:19:21] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":40,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853333504001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788489885000,"timestamp_ms":1788489885000,"timestamp_seconds":1788489885,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4de548"} 
[2026-09-04 08:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 08:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853333504001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853333504001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:19:21] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853333504001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":171892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:19:21] local.INFO: GPS data processed {"connection_id":171892,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:19:21] local.INFO: Acknowledgment sent {"connection_id":171892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:19:26] local.INFO: TCP Data received {"connection_id":171892,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:19:26] local.INFO: Processing buffer {"connection_id":171892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a4de548012d7bbc8005ddb8b0000000a228..."} 
[2026-09-04 08:19:26] local.INFO: Packet analysis {"connection_id":171892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:19:26] local.INFO: Extracted packet for processing {"connection_id":171892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a4d"} 
[2026-09-04 08:19:26] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416816,"longitude_deg":76.3083904,"latitude_deg":9.8416816,"altitude":0,"angle":162,"satellites":40,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb8b0","is_valid_coordinates":true} 
[2026-09-04 08:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853333504001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 08:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969799680,"note":"Value kept but may cause issues"} 
[2026-09-04 08:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788489885000,"timestamp_ms":1788489885000,"timestamp_seconds":1788489885,"priority":1,"record_length":96,"hex_timestamp":"000001a06a4de548"} 
[2026-09-04 08:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-04 08:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 08:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 08:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 08:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853333504001,"66":2242,"33":206,"85":15104,"24":0,"16":128126227423690752,"45":8916142124969799680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-09-04 08:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 08:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 08:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853333504001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:19:26] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 08:19:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 08:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969799680,"description":"Unknown IO ID 45"} 
[2026-09-04 08:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853333504001,"power":2242,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969799680}} 
[2026-09-04 08:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":171892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:19:26] local.INFO: GPS data processed {"connection_id":171892,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:19:26] local.INFO: Acknowledgment sent {"connection_id":171892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:19:37] local.INFO: TCP Data received {"connection_id":170796,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:19:37] local.INFO: Processing buffer {"connection_id":170796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:19:37] local.INFO: Packet analysis {"connection_id":170796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:19:37] local.INFO: Extracted packet for processing {"connection_id":170796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:19:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853398016001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:19:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265089251986532352,"note":"Value kept but may cause issues"} 
[2026-09-04 08:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788490125000,"timestamp_ms":1788490125000,"timestamp_seconds":1788490125,"priority":1,"record_length":96,"hex_timestamp":"000001a06a518ec8"} 
[2026-09-04 08:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853398016001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265089251986532352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853398016001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:19:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:19:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265089251986532352,"description":"Unknown IO ID 44"} 
[2026-09-04 08:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853398016001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265089251986532352}} 
[2026-09-04 08:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":170796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:19:37] local.INFO: GPS data processed {"connection_id":170796,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:19:37] local.INFO: Acknowledgment sent {"connection_id":170796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:20:00] local.INFO: TCP Data received {"connection_id":171893,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:20:00] local.INFO: Processing buffer {"connection_id":171893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:20:00] local.INFO: IMEI packet received {"connection_id":171893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":171893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:20:05] local.INFO: TCP Data received {"connection_id":171893,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:20:05] local.INFO: Processing buffer {"connection_id":171893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:20:05] local.INFO: IMEI packet received {"connection_id":171893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":171893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:20:06] local.INFO: TCP Data received {"connection_id":171893,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:20:06] local.INFO: Processing buffer {"connection_id":171893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:20:06] local.INFO: Packet analysis {"connection_id":171893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:20:06] local.INFO: Extracted packet for processing {"connection_id":171893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:20:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853398016001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265089251986532352,"note":"Value kept but may cause issues"} 
[2026-09-04 08:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788490125000,"timestamp_ms":1788490125000,"timestamp_seconds":1788490125,"priority":1,"record_length":96,"hex_timestamp":"000001a06a518ec8"} 
[2026-09-04 08:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853398016001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265089251986532352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853398016001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:20:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265089251986532352,"description":"Unknown IO ID 44"} 
[2026-09-04 08:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853398016001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265089251986532352}} 
[2026-09-04 08:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":171893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:20:06] local.INFO: GPS data processed {"connection_id":171893,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:20:06] local.INFO: Acknowledgment sent {"connection_id":171893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:20:37] local.INFO: TCP Data received {"connection_id":171893,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:20:37] local.INFO: Processing buffer {"connection_id":171893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:20:37] local.INFO: Packet analysis {"connection_id":171893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:20:37] local.INFO: Extracted packet for processing {"connection_id":171893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:20:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853398016001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265089251986532352,"note":"Value kept but may cause issues"} 
[2026-09-04 08:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788490125000,"timestamp_ms":1788490125000,"timestamp_seconds":1788490125,"priority":1,"record_length":96,"hex_timestamp":"000001a06a518ec8"} 
[2026-09-04 08:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853398016001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265089251986532352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853398016001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:20:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265089251986532352,"description":"Unknown IO ID 44"} 
[2026-09-04 08:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853398016001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265089251986532352}} 
[2026-09-04 08:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":171893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:20:37] local.INFO: GPS data processed {"connection_id":171893,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:20:37] local.INFO: Acknowledgment sent {"connection_id":171893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:21:00] local.INFO: TCP Data received {"connection_id":173193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:21:00] local.INFO: Processing buffer {"connection_id":173193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:21:00] local.INFO: IMEI packet received {"connection_id":173193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":173193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:21:05] local.INFO: TCP Data received {"connection_id":173193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:21:05] local.INFO: Processing buffer {"connection_id":173193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:21:05] local.INFO: IMEI packet received {"connection_id":173193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":173193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:21:06] local.INFO: TCP Data received {"connection_id":173193,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:21:06] local.INFO: Processing buffer {"connection_id":173193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:21:06] local.INFO: Packet analysis {"connection_id":173193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:21:06] local.INFO: Extracted packet for processing {"connection_id":173193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:21:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853398016001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:21:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265089251986532352,"note":"Value kept but may cause issues"} 
[2026-09-04 08:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788490125000,"timestamp_ms":1788490125000,"timestamp_seconds":1788490125,"priority":1,"record_length":96,"hex_timestamp":"000001a06a518ec8"} 
[2026-09-04 08:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853398016001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265089251986532352},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853398016001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:21:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:21:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265089251986532352,"description":"Unknown IO ID 44"} 
[2026-09-04 08:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853398016001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265089251986532352}} 
[2026-09-04 08:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":173193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:21:06] local.INFO: GPS data processed {"connection_id":173193,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:21:06] local.INFO: Acknowledgment sent {"connection_id":173193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:21:08] local.INFO: TCP Data received {"connection_id":170489,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:21:08] local.INFO: Processing buffer {"connection_id":170489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:21:08] local.INFO: IMEI packet received {"connection_id":170489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":170489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:21:37] local.INFO: TCP Data received {"connection_id":173193,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:21:37] local.INFO: Processing buffer {"connection_id":173193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:21:37] local.INFO: Packet analysis {"connection_id":173193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:21:37] local.INFO: Extracted packet for processing {"connection_id":173193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:21:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853398016001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265089251986532352,"note":"Value kept but may cause issues"} 
[2026-09-04 08:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788490125000,"timestamp_ms":1788490125000,"timestamp_seconds":1788490125,"priority":1,"record_length":96,"hex_timestamp":"000001a06a518ec8"} 
[2026-09-04 08:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853398016001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265089251986532352},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853398016001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:21:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265089251986532352,"description":"Unknown IO ID 44"} 
[2026-09-04 08:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853398016001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265089251986532352}} 
[2026-09-04 08:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":173193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:21:37] local.INFO: GPS data processed {"connection_id":173193,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:21:37] local.INFO: Acknowledgment sent {"connection_id":173193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:21:38] local.INFO: TCP Data received {"connection_id":171894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:21:38] local.INFO: Processing buffer {"connection_id":171894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:21:38] local.INFO: IMEI packet received {"connection_id":171894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":171894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:22:00] local.INFO: TCP Data received {"connection_id":173194,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:22:00] local.INFO: Processing buffer {"connection_id":173194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:22:00] local.INFO: IMEI packet received {"connection_id":173194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":173194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:22:05] local.INFO: TCP Data received {"connection_id":173194,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:22:05] local.INFO: Processing buffer {"connection_id":173194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:22:05] local.INFO: IMEI packet received {"connection_id":173194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":173194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:22:06] local.INFO: TCP Data received {"connection_id":173194,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:22:06] local.INFO: Processing buffer {"connection_id":173194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:22:06] local.INFO: Packet analysis {"connection_id":173194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:22:06] local.INFO: Extracted packet for processing {"connection_id":173194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:22:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853398016001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:22:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265089251986532352,"note":"Value kept but may cause issues"} 
[2026-09-04 08:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788490125000,"timestamp_ms":1788490125000,"timestamp_seconds":1788490125,"priority":1,"record_length":96,"hex_timestamp":"000001a06a518ec8"} 
[2026-09-04 08:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853398016001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265089251986532352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853398016001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:22:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:22:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265089251986532352,"description":"Unknown IO ID 44"} 
[2026-09-04 08:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853398016001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265089251986532352}} 
[2026-09-04 08:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":173194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:22:06] local.INFO: GPS data processed {"connection_id":173194,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:22:06] local.INFO: Acknowledgment sent {"connection_id":173194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:22:37] local.INFO: TCP Data received {"connection_id":173194,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:22:37] local.INFO: Processing buffer {"connection_id":173194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:22:37] local.INFO: Packet analysis {"connection_id":173194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:22:37] local.INFO: Extracted packet for processing {"connection_id":173194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:22:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853398016001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:22:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265089251986532352,"note":"Value kept but may cause issues"} 
[2026-09-04 08:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788490125000,"timestamp_ms":1788490125000,"timestamp_seconds":1788490125,"priority":1,"record_length":96,"hex_timestamp":"000001a06a518ec8"} 
[2026-09-04 08:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853398016001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265089251986532352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853398016001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:22:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:22:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265089251986532352,"description":"Unknown IO ID 44"} 
[2026-09-04 08:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853398016001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265089251986532352}} 
[2026-09-04 08:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":173194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:22:37] local.INFO: GPS data processed {"connection_id":173194,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:22:37] local.INFO: Acknowledgment sent {"connection_id":173194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:23:00] local.INFO: TCP Data received {"connection_id":171895,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:23:00] local.INFO: Processing buffer {"connection_id":171895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:23:00] local.INFO: IMEI packet received {"connection_id":171895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":171895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:23:05] local.INFO: TCP Data received {"connection_id":171895,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:23:05] local.INFO: Processing buffer {"connection_id":171895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:23:05] local.INFO: IMEI packet received {"connection_id":171895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":171895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:23:06] local.INFO: TCP Data received {"connection_id":171895,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:23:06] local.INFO: Processing buffer {"connection_id":171895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:23:06] local.INFO: Packet analysis {"connection_id":171895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:23:06] local.INFO: Extracted packet for processing {"connection_id":171895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:23:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853398016001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:23:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265089251986532352,"note":"Value kept but may cause issues"} 
[2026-09-04 08:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788490125000,"timestamp_ms":1788490125000,"timestamp_seconds":1788490125,"priority":1,"record_length":96,"hex_timestamp":"000001a06a518ec8"} 
[2026-09-04 08:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853398016001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265089251986532352},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853398016001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:23:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:23:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265089251986532352,"description":"Unknown IO ID 44"} 
[2026-09-04 08:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853398016001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265089251986532352}} 
[2026-09-04 08:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":171895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:23:06] local.INFO: GPS data processed {"connection_id":171895,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:23:06] local.INFO: Acknowledgment sent {"connection_id":171895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:23:37] local.INFO: TCP Data received {"connection_id":171895,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:23:37] local.INFO: Processing buffer {"connection_id":171895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a518ec8012cee7040072e2dc00039000025..."} 
[2026-09-04 08:23:37] local.INFO: Packet analysis {"connection_id":171895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:23:37] local.INFO: Extracted packet for processing {"connection_id":171895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a51"} 
[2026-09-04 08:23:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853398016001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265089251986532352,"note":"Value kept but may cause issues"} 
[2026-09-04 08:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788490125000,"timestamp_ms":1788490125000,"timestamp_seconds":1788490125,"priority":1,"record_length":96,"hex_timestamp":"000001a06a518ec8"} 
[2026-09-04 08:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853398016001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265089251986532352},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853398016001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:23:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265089251986532352,"description":"Unknown IO ID 44"} 
[2026-09-04 08:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853398016001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265089251986532352}} 
[2026-09-04 08:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":171895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:23:37] local.INFO: GPS data processed {"connection_id":171895,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:23:37] local.INFO: Acknowledgment sent {"connection_id":171895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:24:00] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:24:00] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:24:00] local.INFO: IMEI packet received {"connection_id":173195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":173195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:24:00] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:24:00] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:24:00] local.INFO: IMEI packet received {"connection_id":173195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":173195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:24:05] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:24:05] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:24:05] local.INFO: IMEI packet received {"connection_id":173195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":173195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:24:06] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:24:06] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:24:06] local.INFO: Packet analysis {"connection_id":173195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:24:06] local.INFO: Extracted packet for processing {"connection_id":173195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:24:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853472000001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:24:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788490418000,"timestamp_ms":1788490418000,"timestamp_seconds":1788490418,"priority":1,"record_length":96,"hex_timestamp":"000001a06a560750"} 
[2026-09-04 08:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853472000001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853472000001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:24:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:24:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853472000001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":173195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:24:06] local.INFO: GPS data processed {"connection_id":173195,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:24:06] local.INFO: Acknowledgment sent {"connection_id":173195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:24:37] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:24:37] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:24:37] local.INFO: Packet analysis {"connection_id":173195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:24:37] local.INFO: Extracted packet for processing {"connection_id":173195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:24:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853472000001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:24:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788490418000,"timestamp_ms":1788490418000,"timestamp_seconds":1788490418,"priority":1,"record_length":96,"hex_timestamp":"000001a06a560750"} 
[2026-09-04 08:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853472000001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853472000001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:24:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:24:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853472000001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":173195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:24:37] local.INFO: GPS data processed {"connection_id":173195,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:24:37] local.INFO: Acknowledgment sent {"connection_id":173195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:25:00] local.INFO: TCP Data received {"connection_id":170797,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:25:00] local.INFO: Processing buffer {"connection_id":170797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:25:00] local.INFO: IMEI packet received {"connection_id":170797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":170797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:25:05] local.INFO: TCP Data received {"connection_id":170797,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:25:05] local.INFO: Processing buffer {"connection_id":170797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:25:05] local.INFO: IMEI packet received {"connection_id":170797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":170797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:25:06] local.INFO: TCP Data received {"connection_id":170797,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:25:06] local.INFO: Processing buffer {"connection_id":170797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:25:06] local.INFO: Packet analysis {"connection_id":170797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:25:06] local.INFO: Extracted packet for processing {"connection_id":170797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:25:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853472000001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:25:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788490418000,"timestamp_ms":1788490418000,"timestamp_seconds":1788490418,"priority":1,"record_length":96,"hex_timestamp":"000001a06a560750"} 
[2026-09-04 08:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853472000001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853472000001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:25:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:25:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853472000001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":170797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:25:06] local.INFO: GPS data processed {"connection_id":170797,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:25:06] local.INFO: Acknowledgment sent {"connection_id":170797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:25:37] local.INFO: TCP Data received {"connection_id":170797,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:25:37] local.INFO: Processing buffer {"connection_id":170797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:25:37] local.INFO: Packet analysis {"connection_id":170797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:25:37] local.INFO: Extracted packet for processing {"connection_id":170797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:25:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853472000001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:25:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788490418000,"timestamp_ms":1788490418000,"timestamp_seconds":1788490418,"priority":1,"record_length":96,"hex_timestamp":"000001a06a560750"} 
[2026-09-04 08:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853472000001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853472000001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:25:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:25:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853472000001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":170797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:25:37] local.INFO: GPS data processed {"connection_id":170797,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:25:37] local.INFO: Acknowledgment sent {"connection_id":170797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:26:00] local.INFO: TCP Data received {"connection_id":173198,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:26:00] local.INFO: Processing buffer {"connection_id":173198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:26:00] local.INFO: IMEI packet received {"connection_id":173198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":173198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:26:05] local.INFO: TCP Data received {"connection_id":173198,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:26:05] local.INFO: Processing buffer {"connection_id":173198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:26:05] local.INFO: IMEI packet received {"connection_id":173198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":173198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:26:06] local.INFO: TCP Data received {"connection_id":173198,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:26:06] local.INFO: Processing buffer {"connection_id":173198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:26:06] local.INFO: Packet analysis {"connection_id":173198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:26:06] local.INFO: Extracted packet for processing {"connection_id":173198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:26:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853472000001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788490418000,"timestamp_ms":1788490418000,"timestamp_seconds":1788490418,"priority":1,"record_length":96,"hex_timestamp":"000001a06a560750"} 
[2026-09-04 08:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853472000001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853472000001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:26:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853472000001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":173198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:26:06] local.INFO: GPS data processed {"connection_id":173198,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:26:06] local.INFO: Acknowledgment sent {"connection_id":173198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:26:37] local.INFO: TCP Data received {"connection_id":173198,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:26:37] local.INFO: Processing buffer {"connection_id":173198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:26:37] local.INFO: Packet analysis {"connection_id":173198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:26:37] local.INFO: Extracted packet for processing {"connection_id":173198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:26:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853472000001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788490418000,"timestamp_ms":1788490418000,"timestamp_seconds":1788490418,"priority":1,"record_length":96,"hex_timestamp":"000001a06a560750"} 
[2026-09-04 08:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853472000001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853472000001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:26:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853472000001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":173198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:26:37] local.INFO: GPS data processed {"connection_id":173198,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:26:37] local.INFO: Acknowledgment sent {"connection_id":173198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:27:00] local.INFO: TCP Data received {"connection_id":170493,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:27:00] local.INFO: Processing buffer {"connection_id":170493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:27:00] local.INFO: IMEI packet received {"connection_id":170493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":170493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:27:05] local.INFO: TCP Data received {"connection_id":170493,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:27:05] local.INFO: Processing buffer {"connection_id":170493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:27:05] local.INFO: IMEI packet received {"connection_id":170493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":170493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:27:06] local.INFO: TCP Data received {"connection_id":170493,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:27:06] local.INFO: Processing buffer {"connection_id":170493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:27:06] local.INFO: Packet analysis {"connection_id":170493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:27:06] local.INFO: Extracted packet for processing {"connection_id":170493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:27:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853472000001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:27:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788490418000,"timestamp_ms":1788490418000,"timestamp_seconds":1788490418,"priority":1,"record_length":96,"hex_timestamp":"000001a06a560750"} 
[2026-09-04 08:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853472000001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853472000001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:27:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:27:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853472000001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":170493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:27:06] local.INFO: GPS data processed {"connection_id":170493,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:27:06] local.INFO: Acknowledgment sent {"connection_id":170493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:27:16] local.INFO: TCP Data received {"connection_id":170492,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:27:16] local.INFO: Processing buffer {"connection_id":170492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:27:16] local.INFO: IMEI packet received {"connection_id":170492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":170492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:27:42] local.INFO: TCP Data received {"connection_id":170493,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:27:42] local.INFO: Processing buffer {"connection_id":170493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:27:42] local.INFO: Packet analysis {"connection_id":170493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:27:42] local.INFO: Extracted packet for processing {"connection_id":170493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853472000001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788490418000,"timestamp_ms":1788490418000,"timestamp_seconds":1788490418,"priority":1,"record_length":96,"hex_timestamp":"000001a06a560750"} 
[2026-09-04 08:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853472000001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853472000001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:27:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:27:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853472000001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":170493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:27:42] local.INFO: GPS data processed {"connection_id":170493,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:27:42] local.INFO: Acknowledgment sent {"connection_id":170493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:28:00] local.INFO: TCP Data received {"connection_id":170799,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:28:00] local.INFO: Processing buffer {"connection_id":170799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:28:00] local.INFO: IMEI packet received {"connection_id":170799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":170799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:28:02] local.INFO: TCP Data received {"connection_id":170798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:28:02] local.INFO: Processing buffer {"connection_id":170798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:28:02] local.INFO: IMEI packet received {"connection_id":170798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":170798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:28:05] local.INFO: TCP Data received {"connection_id":170799,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:28:05] local.INFO: Processing buffer {"connection_id":170799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:28:05] local.INFO: IMEI packet received {"connection_id":170799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":170799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:28:06] local.INFO: TCP Data received {"connection_id":170799,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:28:06] local.INFO: Processing buffer {"connection_id":170799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:28:06] local.INFO: Packet analysis {"connection_id":170799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:28:06] local.INFO: Extracted packet for processing {"connection_id":170799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:28:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853472000001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:28:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788490418000,"timestamp_ms":1788490418000,"timestamp_seconds":1788490418,"priority":1,"record_length":96,"hex_timestamp":"000001a06a560750"} 
[2026-09-04 08:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853472000001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853472000001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:28:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:28:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853472000001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":170799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:28:06] local.INFO: GPS data processed {"connection_id":170799,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:28:06] local.INFO: Acknowledgment sent {"connection_id":170799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:28:37] local.INFO: TCP Data received {"connection_id":170799,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:28:37] local.INFO: Processing buffer {"connection_id":170799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a560750012cee7040072e2dc0003b000027..."} 
[2026-09-04 08:28:37] local.INFO: Packet analysis {"connection_id":170799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:28:37] local.INFO: Extracted packet for processing {"connection_id":170799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a56"} 
[2026-09-04 08:28:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853472000001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:28:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788490418000,"timestamp_ms":1788490418000,"timestamp_seconds":1788490418,"priority":1,"record_length":96,"hex_timestamp":"000001a06a560750"} 
[2026-09-04 08:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853472000001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853472000001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:28:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:28:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:28:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853472000001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":170799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:28:37] local.INFO: GPS data processed {"connection_id":170799,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:28:37] local.INFO: Acknowledgment sent {"connection_id":170799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:29:00] local.INFO: TCP Data received {"connection_id":170495,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:29:00] local.INFO: Processing buffer {"connection_id":170495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:29:00] local.INFO: IMEI packet received {"connection_id":170495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":170495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:29:01] local.INFO: TCP Data received {"connection_id":170495,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:29:01] local.INFO: Processing buffer {"connection_id":170495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:29:01] local.INFO: IMEI packet received {"connection_id":170495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":170495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:29:05] local.INFO: TCP Data received {"connection_id":170495,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:29:05] local.INFO: Processing buffer {"connection_id":170495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:29:05] local.INFO: IMEI packet received {"connection_id":170495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":170495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:29:06] local.INFO: TCP Data received {"connection_id":170495,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:29:06] local.INFO: Processing buffer {"connection_id":170495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:29:06] local.INFO: Packet analysis {"connection_id":170495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:29:06] local.INFO: Extracted packet for processing {"connection_id":170495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:29:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853547008001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788490710000,"timestamp_ms":1788490710000,"timestamp_seconds":1788490710,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5a7bf0"} 
[2026-09-04 08:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853547008001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853547008001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:29:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853547008001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":170495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:29:06] local.INFO: GPS data processed {"connection_id":170495,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:29:06] local.INFO: Acknowledgment sent {"connection_id":170495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:29:37] local.INFO: TCP Data received {"connection_id":170495,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:29:37] local.INFO: Processing buffer {"connection_id":170495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:29:37] local.INFO: Packet analysis {"connection_id":170495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:29:37] local.INFO: Extracted packet for processing {"connection_id":170495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:29:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853547008001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:29:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788490710000,"timestamp_ms":1788490710000,"timestamp_seconds":1788490710,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5a7bf0"} 
[2026-09-04 08:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853547008001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853547008001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:29:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:29:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853547008001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":170495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:29:37] local.INFO: GPS data processed {"connection_id":170495,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:29:37] local.INFO: Acknowledgment sent {"connection_id":170495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:30:00] local.INFO: TCP Data received {"connection_id":170800,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:30:00] local.INFO: Processing buffer {"connection_id":170800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:30:00] local.INFO: IMEI packet received {"connection_id":170800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":170800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:30:05] local.INFO: TCP Data received {"connection_id":170800,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:30:05] local.INFO: Processing buffer {"connection_id":170800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:30:05] local.INFO: IMEI packet received {"connection_id":170800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":170800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:30:05] local.INFO: TCP Data received {"connection_id":170800,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:30:05] local.INFO: Processing buffer {"connection_id":170800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:30:05] local.INFO: Packet analysis {"connection_id":170800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:30:05] local.INFO: Extracted packet for processing {"connection_id":170800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:30:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853547008001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788490710000,"timestamp_ms":1788490710000,"timestamp_seconds":1788490710,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5a7bf0"} 
[2026-09-04 08:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853547008001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853547008001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:30:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853547008001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":170800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:30:05] local.INFO: GPS data processed {"connection_id":170800,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:30:05] local.INFO: Acknowledgment sent {"connection_id":170800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:30:36] local.INFO: TCP Data received {"connection_id":170800,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:30:36] local.INFO: Processing buffer {"connection_id":170800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:30:36] local.INFO: Packet analysis {"connection_id":170800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:30:36] local.INFO: Extracted packet for processing {"connection_id":170800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:30:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853547008001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:30:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788490710000,"timestamp_ms":1788490710000,"timestamp_seconds":1788490710,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5a7bf0"} 
[2026-09-04 08:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853547008001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853547008001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:30:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:30:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853547008001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":170800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:30:36] local.INFO: GPS data processed {"connection_id":170800,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:30:36] local.INFO: Acknowledgment sent {"connection_id":170800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:31:00] local.INFO: TCP Data received {"connection_id":170496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:31:00] local.INFO: Processing buffer {"connection_id":170496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:31:00] local.INFO: IMEI packet received {"connection_id":170496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":170496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:31:05] local.INFO: TCP Data received {"connection_id":170496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:31:05] local.INFO: Processing buffer {"connection_id":170496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:31:05] local.INFO: IMEI packet received {"connection_id":170496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":170496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:31:06] local.INFO: TCP Data received {"connection_id":170496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:31:06] local.INFO: Processing buffer {"connection_id":170496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:31:06] local.INFO: Packet analysis {"connection_id":170496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:31:06] local.INFO: Extracted packet for processing {"connection_id":170496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:31:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853547008001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:31:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788490710000,"timestamp_ms":1788490710000,"timestamp_seconds":1788490710,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5a7bf0"} 
[2026-09-04 08:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853547008001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853547008001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:31:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:31:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853547008001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":170496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:31:06] local.INFO: GPS data processed {"connection_id":170496,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:31:06] local.INFO: Acknowledgment sent {"connection_id":170496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:31:37] local.INFO: TCP Data received {"connection_id":170496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:31:37] local.INFO: Processing buffer {"connection_id":170496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:31:37] local.INFO: Packet analysis {"connection_id":170496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:31:37] local.INFO: Extracted packet for processing {"connection_id":170496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:31:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853547008001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:31:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788490710000,"timestamp_ms":1788490710000,"timestamp_seconds":1788490710,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5a7bf0"} 
[2026-09-04 08:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853547008001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853547008001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:31:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:31:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853547008001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":170496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:31:37] local.INFO: GPS data processed {"connection_id":170496,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:31:37] local.INFO: Acknowledgment sent {"connection_id":170496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:32:00] local.INFO: TCP Data received {"connection_id":171899,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:32:00] local.INFO: Processing buffer {"connection_id":171899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:32:00] local.INFO: IMEI packet received {"connection_id":171899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":171899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:32:05] local.INFO: TCP Data received {"connection_id":171899,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:32:05] local.INFO: Processing buffer {"connection_id":171899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:32:05] local.INFO: IMEI packet received {"connection_id":171899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":171899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:32:07] local.INFO: TCP Data received {"connection_id":171899,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:32:07] local.INFO: Processing buffer {"connection_id":171899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:32:07] local.INFO: Packet analysis {"connection_id":171899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:32:07] local.INFO: Extracted packet for processing {"connection_id":171899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:32:07] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853547008001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:32:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788490710000,"timestamp_ms":1788490710000,"timestamp_seconds":1788490710,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5a7bf0"} 
[2026-09-04 08:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853547008001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853547008001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:32:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:32:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853547008001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":171899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:32:07] local.INFO: GPS data processed {"connection_id":171899,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:32:07] local.INFO: Acknowledgment sent {"connection_id":171899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:32:39] local.INFO: TCP Data received {"connection_id":171899,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:32:39] local.INFO: Processing buffer {"connection_id":171899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:32:39] local.INFO: Packet analysis {"connection_id":171899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:32:39] local.INFO: Extracted packet for processing {"connection_id":171899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:32:39] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853547008001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:32:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788490710000,"timestamp_ms":1788490710000,"timestamp_seconds":1788490710,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5a7bf0"} 
[2026-09-04 08:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853547008001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853547008001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:32:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:32:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:32:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853547008001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":171899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:32:39] local.INFO: GPS data processed {"connection_id":171899,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:32:39] local.INFO: Acknowledgment sent {"connection_id":171899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:33:00] local.INFO: TCP Data received {"connection_id":173201,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:33:00] local.INFO: Processing buffer {"connection_id":173201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:33:00] local.INFO: IMEI packet received {"connection_id":173201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":173201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:33:04] local.INFO: TCP Data received {"connection_id":173201,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:33:04] local.INFO: Processing buffer {"connection_id":173201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:33:04] local.INFO: IMEI packet received {"connection_id":173201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":173201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:33:06] local.INFO: TCP Data received {"connection_id":173201,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:33:06] local.INFO: Processing buffer {"connection_id":173201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:33:06] local.INFO: Packet analysis {"connection_id":173201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:33:06] local.INFO: Extracted packet for processing {"connection_id":173201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:33:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853547008001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:33:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788490710000,"timestamp_ms":1788490710000,"timestamp_seconds":1788490710,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5a7bf0"} 
[2026-09-04 08:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853547008001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853547008001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:33:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:33:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853547008001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":173201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:33:06] local.INFO: GPS data processed {"connection_id":173201,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:33:06] local.INFO: Acknowledgment sent {"connection_id":173201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:33:13] local.INFO: TCP Data received {"connection_id":173200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:33:13] local.INFO: Processing buffer {"connection_id":173200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:33:13] local.INFO: IMEI packet received {"connection_id":173200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":173200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:33:37] local.INFO: TCP Data received {"connection_id":173201,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:33:37] local.INFO: Processing buffer {"connection_id":173201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5a7bf0012cee7040072e2dc00036000027..."} 
[2026-09-04 08:33:37] local.INFO: Packet analysis {"connection_id":173201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:33:37] local.INFO: Extracted packet for processing {"connection_id":173201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5a"} 
[2026-09-04 08:33:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853547008001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788490710000,"timestamp_ms":1788490710000,"timestamp_seconds":1788490710,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5a7bf0"} 
[2026-09-04 08:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853547008001,"66":25604,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853547008001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:33:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853547008001,"power":25604,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":173201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:33:37] local.INFO: GPS data processed {"connection_id":173201,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:33:37] local.INFO: Acknowledgment sent {"connection_id":173201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:33:44] local.INFO: TCP Data received {"connection_id":170801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:33:44] local.INFO: Processing buffer {"connection_id":170801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:33:44] local.INFO: IMEI packet received {"connection_id":170801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":170801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:33:59] local.INFO: TCP Data received {"connection_id":170497,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:34:00] local.INFO: Processing buffer {"connection_id":170497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:34:00] local.INFO: IMEI packet received {"connection_id":170497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":170497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:34:02] local.INFO: TCP Data received {"connection_id":170497,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:34:02] local.INFO: Processing buffer {"connection_id":170497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:34:02] local.INFO: IMEI packet received {"connection_id":170497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":170497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:34:05] local.INFO: TCP Data received {"connection_id":170497,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:34:05] local.INFO: Processing buffer {"connection_id":170497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:34:05] local.INFO: IMEI packet received {"connection_id":170497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":170497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:34:06] local.INFO: TCP Data received {"connection_id":170497,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:34:06] local.INFO: Processing buffer {"connection_id":170497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:34:06] local.INFO: Packet analysis {"connection_id":170497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:34:06] local.INFO: Extracted packet for processing {"connection_id":170497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:34:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853621760001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:34:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491004000,"timestamp_ms":1788491004000,"timestamp_seconds":1788491004,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5ef860"} 
[2026-09-04 08:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853621760001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853621760001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:34:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:34:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853621760001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":170497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:34:06] local.INFO: GPS data processed {"connection_id":170497,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:34:06] local.INFO: Acknowledgment sent {"connection_id":170497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:34:37] local.INFO: TCP Data received {"connection_id":170497,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:34:37] local.INFO: Processing buffer {"connection_id":170497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:34:37] local.INFO: Packet analysis {"connection_id":170497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:34:37] local.INFO: Extracted packet for processing {"connection_id":170497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:34:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853621760001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:34:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491004000,"timestamp_ms":1788491004000,"timestamp_seconds":1788491004,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5ef860"} 
[2026-09-04 08:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853621760001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853621760001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:34:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:34:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853621760001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":170497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:34:37] local.INFO: GPS data processed {"connection_id":170497,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:34:37] local.INFO: Acknowledgment sent {"connection_id":170497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:35:00] local.INFO: TCP Data received {"connection_id":171900,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:35:00] local.INFO: Processing buffer {"connection_id":171900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:35:00] local.INFO: IMEI packet received {"connection_id":171900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":171900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:35:05] local.INFO: TCP Data received {"connection_id":171900,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:35:05] local.INFO: Processing buffer {"connection_id":171900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:35:05] local.INFO: IMEI packet received {"connection_id":171900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":171900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:35:06] local.INFO: TCP Data received {"connection_id":171900,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:35:06] local.INFO: Processing buffer {"connection_id":171900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:35:06] local.INFO: Packet analysis {"connection_id":171900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:35:06] local.INFO: Extracted packet for processing {"connection_id":171900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:35:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853621760001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:35:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491004000,"timestamp_ms":1788491004000,"timestamp_seconds":1788491004,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5ef860"} 
[2026-09-04 08:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853621760001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853621760001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:35:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:35:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853621760001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":171900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:35:06] local.INFO: GPS data processed {"connection_id":171900,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:35:06] local.INFO: Acknowledgment sent {"connection_id":171900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:35:37] local.INFO: TCP Data received {"connection_id":171900,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:35:37] local.INFO: Processing buffer {"connection_id":171900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:35:37] local.INFO: Packet analysis {"connection_id":171900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:35:37] local.INFO: Extracted packet for processing {"connection_id":171900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:35:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853621760001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:35:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491004000,"timestamp_ms":1788491004000,"timestamp_seconds":1788491004,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5ef860"} 
[2026-09-04 08:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853621760001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853621760001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:35:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:35:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853621760001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":171900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:35:37] local.INFO: GPS data processed {"connection_id":171900,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:35:37] local.INFO: Acknowledgment sent {"connection_id":171900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:36:00] local.INFO: TCP Data received {"connection_id":170499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:36:00] local.INFO: Processing buffer {"connection_id":170499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:36:00] local.INFO: IMEI packet received {"connection_id":170499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":170499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:36:05] local.INFO: TCP Data received {"connection_id":170499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:36:05] local.INFO: Processing buffer {"connection_id":170499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:36:05] local.INFO: IMEI packet received {"connection_id":170499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":170499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:36:06] local.INFO: TCP Data received {"connection_id":170499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:36:06] local.INFO: Processing buffer {"connection_id":170499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:36:06] local.INFO: Packet analysis {"connection_id":170499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:36:06] local.INFO: Extracted packet for processing {"connection_id":170499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:36:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853621760001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:36:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491004000,"timestamp_ms":1788491004000,"timestamp_seconds":1788491004,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5ef860"} 
[2026-09-04 08:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853621760001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853621760001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:36:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:36:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853621760001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":170499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:36:06] local.INFO: GPS data processed {"connection_id":170499,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:36:06] local.INFO: Acknowledgment sent {"connection_id":170499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:36:37] local.INFO: TCP Data received {"connection_id":170499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:36:37] local.INFO: Processing buffer {"connection_id":170499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:36:37] local.INFO: Packet analysis {"connection_id":170499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:36:37] local.INFO: Extracted packet for processing {"connection_id":170499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:36:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853621760001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491004000,"timestamp_ms":1788491004000,"timestamp_seconds":1788491004,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5ef860"} 
[2026-09-04 08:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853621760001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853621760001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:36:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853621760001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":170499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:36:37] local.INFO: GPS data processed {"connection_id":170499,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:36:37] local.INFO: Acknowledgment sent {"connection_id":170499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:36:59] local.INFO: TCP Data received {"connection_id":170500,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:36:59] local.INFO: Processing buffer {"connection_id":170500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:36:59] local.INFO: IMEI packet received {"connection_id":170500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":170500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:37:05] local.INFO: TCP Data received {"connection_id":170500,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:37:05] local.INFO: Processing buffer {"connection_id":170500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:37:05] local.INFO: IMEI packet received {"connection_id":170500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":170500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:37:06] local.INFO: TCP Data received {"connection_id":170500,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:37:06] local.INFO: Processing buffer {"connection_id":170500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:37:06] local.INFO: Packet analysis {"connection_id":170500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:37:06] local.INFO: Extracted packet for processing {"connection_id":170500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:37:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853621760001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491004000,"timestamp_ms":1788491004000,"timestamp_seconds":1788491004,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5ef860"} 
[2026-09-04 08:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853621760001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853621760001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:37:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853621760001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":170500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:37:06] local.INFO: GPS data processed {"connection_id":170500,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:37:06] local.INFO: Acknowledgment sent {"connection_id":170500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:37:37] local.INFO: TCP Data received {"connection_id":170500,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:37:37] local.INFO: Processing buffer {"connection_id":170500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:37:37] local.INFO: Packet analysis {"connection_id":170500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:37:37] local.INFO: Extracted packet for processing {"connection_id":170500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:37:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853621760001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:37:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491004000,"timestamp_ms":1788491004000,"timestamp_seconds":1788491004,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5ef860"} 
[2026-09-04 08:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853621760001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853621760001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:37:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:37:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853621760001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":170500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:37:37] local.INFO: GPS data processed {"connection_id":170500,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:37:37] local.INFO: Acknowledgment sent {"connection_id":170500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:37:59] local.INFO: TCP Data received {"connection_id":170803,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:38:00] local.INFO: Processing buffer {"connection_id":170803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:38:00] local.INFO: IMEI packet received {"connection_id":170803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":170803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:38:05] local.INFO: TCP Data received {"connection_id":170803,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:38:05] local.INFO: Processing buffer {"connection_id":170803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:38:05] local.INFO: IMEI packet received {"connection_id":170803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":170803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:38:06] local.INFO: TCP Data received {"connection_id":170803,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:38:06] local.INFO: Processing buffer {"connection_id":170803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:38:06] local.INFO: Packet analysis {"connection_id":170803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:38:06] local.INFO: Extracted packet for processing {"connection_id":170803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:38:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853621760001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:38:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491004000,"timestamp_ms":1788491004000,"timestamp_seconds":1788491004,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5ef860"} 
[2026-09-04 08:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853621760001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853621760001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:38:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:38:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853621760001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":170803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:38:06] local.INFO: GPS data processed {"connection_id":170803,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:38:06] local.INFO: Acknowledgment sent {"connection_id":170803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:38:37] local.INFO: TCP Data received {"connection_id":170803,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:38:37] local.INFO: Processing buffer {"connection_id":170803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5ef860012cee7040072e2dc00036000026..."} 
[2026-09-04 08:38:37] local.INFO: Packet analysis {"connection_id":170803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:38:37] local.INFO: Extracted packet for processing {"connection_id":170803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5e"} 
[2026-09-04 08:38:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853621760001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491004000,"timestamp_ms":1788491004000,"timestamp_seconds":1788491004,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5ef860"} 
[2026-09-04 08:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 08:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853621760001,"66":25647,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853621760001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:38:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853621760001,"power":25647,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":170803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:38:37] local.INFO: GPS data processed {"connection_id":170803,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:38:37] local.INFO: Acknowledgment sent {"connection_id":170803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:39:03] local.INFO: TCP Data received {"connection_id":170804,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:39:03] local.INFO: Processing buffer {"connection_id":170804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:39:03] local.INFO: IMEI packet received {"connection_id":170804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":170804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:39:04] local.INFO: TCP Data received {"connection_id":170804,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:39:04] local.INFO: Processing buffer {"connection_id":170804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:39:04] local.INFO: IMEI packet received {"connection_id":170804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":170804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:39:10] local.INFO: TCP Data received {"connection_id":170804,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:39:10] local.INFO: Processing buffer {"connection_id":170804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:39:10] local.INFO: IMEI packet received {"connection_id":170804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":170804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:39:11] local.INFO: TCP Data received {"connection_id":170804,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:39:11] local.INFO: Processing buffer {"connection_id":170804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:39:11] local.INFO: Packet analysis {"connection_id":170804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:39:11] local.INFO: Extracted packet for processing {"connection_id":170804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:39:11] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853697024001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:39:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788491305000,"timestamp_ms":1788491305000,"timestamp_seconds":1788491305,"priority":1,"record_length":96,"hex_timestamp":"000001a06a639028"} 
[2026-09-04 08:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853697024001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853697024001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:39:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:39:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853697024001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":170804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:39:11] local.INFO: GPS data processed {"connection_id":170804,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:39:11] local.INFO: Acknowledgment sent {"connection_id":170804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:39:13] local.INFO: TCP Data received {"connection_id":170502,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:39:13] local.INFO: Processing buffer {"connection_id":170502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:39:13] local.INFO: IMEI packet received {"connection_id":170502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":170502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:39:15] local.INFO: TCP Data received {"connection_id":170804,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:39:15] local.INFO: Processing buffer {"connection_id":170804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:39:15] local.INFO: Packet analysis {"connection_id":170804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:39:15] local.INFO: Extracted packet for processing {"connection_id":170804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:39:15] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853697024001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788491305000,"timestamp_ms":1788491305000,"timestamp_seconds":1788491305,"priority":1,"record_length":96,"hex_timestamp":"000001a06a639028"} 
[2026-09-04 08:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853697024001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853697024001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:39:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853697024001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":170804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:39:15] local.INFO: GPS data processed {"connection_id":170804,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:39:15] local.INFO: Acknowledgment sent {"connection_id":170804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:39:38] local.INFO: TCP Data received {"connection_id":170503,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:39:38] local.INFO: Processing buffer {"connection_id":170503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:39:38] local.INFO: IMEI packet received {"connection_id":170503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":170503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:39:59] local.INFO: TCP Data received {"connection_id":170805,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:40:00] local.INFO: Processing buffer {"connection_id":170805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:40:00] local.INFO: IMEI packet received {"connection_id":170805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":170805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:40:05] local.INFO: TCP Data received {"connection_id":170805,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:40:05] local.INFO: Processing buffer {"connection_id":170805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:40:05] local.INFO: IMEI packet received {"connection_id":170805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":170805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:40:06] local.INFO: TCP Data received {"connection_id":170805,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:40:06] local.INFO: Processing buffer {"connection_id":170805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:40:06] local.INFO: Packet analysis {"connection_id":170805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:40:06] local.INFO: Extracted packet for processing {"connection_id":170805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853697024001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:40:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491305000,"timestamp_ms":1788491305000,"timestamp_seconds":1788491305,"priority":1,"record_length":96,"hex_timestamp":"000001a06a639028"} 
[2026-09-04 08:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853697024001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853697024001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:40:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:40:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853697024001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":170805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:40:06] local.INFO: GPS data processed {"connection_id":170805,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:40:06] local.INFO: Acknowledgment sent {"connection_id":170805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:40:37] local.INFO: TCP Data received {"connection_id":170805,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:40:37] local.INFO: Processing buffer {"connection_id":170805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:40:37] local.INFO: Packet analysis {"connection_id":170805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:40:37] local.INFO: Extracted packet for processing {"connection_id":170805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:40:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853697024001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491305000,"timestamp_ms":1788491305000,"timestamp_seconds":1788491305,"priority":1,"record_length":96,"hex_timestamp":"000001a06a639028"} 
[2026-09-04 08:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853697024001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853697024001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:40:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853697024001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":170805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:40:37] local.INFO: GPS data processed {"connection_id":170805,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:40:37] local.INFO: Acknowledgment sent {"connection_id":170805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:40:59] local.INFO: TCP Data received {"connection_id":170504,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:40:59] local.INFO: Processing buffer {"connection_id":170504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:40:59] local.INFO: IMEI packet received {"connection_id":170504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":170504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:41:05] local.INFO: TCP Data received {"connection_id":170504,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:41:05] local.INFO: Processing buffer {"connection_id":170504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:41:05] local.INFO: IMEI packet received {"connection_id":170504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":170504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:41:06] local.INFO: TCP Data received {"connection_id":170504,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:41:06] local.INFO: Processing buffer {"connection_id":170504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:41:06] local.INFO: Packet analysis {"connection_id":170504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:41:06] local.INFO: Extracted packet for processing {"connection_id":170504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:41:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853697024001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:41:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491305000,"timestamp_ms":1788491305000,"timestamp_seconds":1788491305,"priority":1,"record_length":96,"hex_timestamp":"000001a06a639028"} 
[2026-09-04 08:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853697024001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853697024001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:41:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:41:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853697024001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":170504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:41:06] local.INFO: GPS data processed {"connection_id":170504,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:41:06] local.INFO: Acknowledgment sent {"connection_id":170504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:41:37] local.INFO: TCP Data received {"connection_id":170504,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:41:37] local.INFO: Processing buffer {"connection_id":170504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:41:37] local.INFO: Packet analysis {"connection_id":170504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:41:37] local.INFO: Extracted packet for processing {"connection_id":170504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:41:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853697024001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:41:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491305000,"timestamp_ms":1788491305000,"timestamp_seconds":1788491305,"priority":1,"record_length":96,"hex_timestamp":"000001a06a639028"} 
[2026-09-04 08:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853697024001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853697024001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:41:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:41:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853697024001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":170504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:41:37] local.INFO: GPS data processed {"connection_id":170504,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:41:37] local.INFO: Acknowledgment sent {"connection_id":170504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:41:59] local.INFO: TCP Data received {"connection_id":170505,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:41:59] local.INFO: Processing buffer {"connection_id":170505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:41:59] local.INFO: IMEI packet received {"connection_id":170505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":170505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:42:05] local.INFO: TCP Data received {"connection_id":170505,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:42:05] local.INFO: Processing buffer {"connection_id":170505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:42:05] local.INFO: IMEI packet received {"connection_id":170505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":170505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:42:06] local.INFO: TCP Data received {"connection_id":170505,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:42:06] local.INFO: Processing buffer {"connection_id":170505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:42:06] local.INFO: Packet analysis {"connection_id":170505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:42:06] local.INFO: Extracted packet for processing {"connection_id":170505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:42:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853697024001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:42:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491305000,"timestamp_ms":1788491305000,"timestamp_seconds":1788491305,"priority":1,"record_length":96,"hex_timestamp":"000001a06a639028"} 
[2026-09-04 08:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853697024001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853697024001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:42:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:42:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853697024001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":170505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:42:06] local.INFO: GPS data processed {"connection_id":170505,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:42:06] local.INFO: Acknowledgment sent {"connection_id":170505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:42:37] local.INFO: TCP Data received {"connection_id":170505,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:42:37] local.INFO: Processing buffer {"connection_id":170505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:42:37] local.INFO: Packet analysis {"connection_id":170505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:42:37] local.INFO: Extracted packet for processing {"connection_id":170505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:42:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853697024001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:42:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491305000,"timestamp_ms":1788491305000,"timestamp_seconds":1788491305,"priority":1,"record_length":96,"hex_timestamp":"000001a06a639028"} 
[2026-09-04 08:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853697024001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853697024001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:42:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:42:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853697024001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":170505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:42:37] local.INFO: GPS data processed {"connection_id":170505,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:42:37] local.INFO: Acknowledgment sent {"connection_id":170505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:42:59] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:43:00] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:43:00] local.INFO: IMEI packet received {"connection_id":173202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":173202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:43:05] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:43:05] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:43:05] local.INFO: IMEI packet received {"connection_id":173202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":173202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:43:06] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:43:06] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:43:06] local.INFO: Packet analysis {"connection_id":173202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:43:06] local.INFO: Extracted packet for processing {"connection_id":173202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:43:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853697024001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:43:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491305000,"timestamp_ms":1788491305000,"timestamp_seconds":1788491305,"priority":1,"record_length":96,"hex_timestamp":"000001a06a639028"} 
[2026-09-04 08:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853697024001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853697024001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:43:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:43:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853697024001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":173202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:43:06] local.INFO: GPS data processed {"connection_id":173202,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:43:06] local.INFO: Acknowledgment sent {"connection_id":173202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:43:37] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:43:37] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a639028012cee7040072e2dc00036000027..."} 
[2026-09-04 08:43:37] local.INFO: Packet analysis {"connection_id":173202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:43:37] local.INFO: Extracted packet for processing {"connection_id":173202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a63"} 
[2026-09-04 08:43:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":54,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853697024001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:43:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491305000,"timestamp_ms":1788491305000,"timestamp_seconds":1788491305,"priority":1,"record_length":96,"hex_timestamp":"000001a06a639028"} 
[2026-09-04 08:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 08:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853697024001,"66":25615,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853697024001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:43:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:43:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853697024001,"power":25615,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":173202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:43:37] local.INFO: GPS data processed {"connection_id":173202,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:43:37] local.INFO: Acknowledgment sent {"connection_id":173202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:43:59] local.INFO: TCP Data received {"connection_id":170807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:43:59] local.INFO: Processing buffer {"connection_id":170807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:43:59] local.INFO: IMEI packet received {"connection_id":170807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":170807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:44:04] local.INFO: TCP Data received {"connection_id":170807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:44:04] local.INFO: Processing buffer {"connection_id":170807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:44:04] local.INFO: IMEI packet received {"connection_id":170807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":170807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:44:04] local.INFO: TCP Data received {"connection_id":170807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:44:04] local.INFO: Processing buffer {"connection_id":170807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:44:04] local.INFO: IMEI packet received {"connection_id":170807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":170807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:44:05] local.INFO: TCP Data received {"connection_id":170807,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:44:05] local.INFO: Processing buffer {"connection_id":170807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:44:05] local.INFO: Packet analysis {"connection_id":170807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:44:05] local.INFO: Extracted packet for processing {"connection_id":170807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:44:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":60,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853774080001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:44:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788491606000,"timestamp_ms":1788491606000,"timestamp_seconds":1788491606,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6827f0"} 
[2026-09-04 08:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 08:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853774080001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853774080001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:44:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:44:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853774080001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":170807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:44:05] local.INFO: GPS data processed {"connection_id":170807,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:44:05] local.INFO: Acknowledgment sent {"connection_id":170807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:44:36] local.INFO: TCP Data received {"connection_id":170807,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:44:36] local.INFO: Processing buffer {"connection_id":170807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:44:36] local.INFO: Packet analysis {"connection_id":170807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:44:36] local.INFO: Extracted packet for processing {"connection_id":170807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:44:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":60,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853774080001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:44:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788491606000,"timestamp_ms":1788491606000,"timestamp_seconds":1788491606,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6827f0"} 
[2026-09-04 08:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 08:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853774080001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853774080001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:44:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:44:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853774080001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":170807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:44:36] local.INFO: GPS data processed {"connection_id":170807,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:44:36] local.INFO: Acknowledgment sent {"connection_id":170807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:45:00] local.INFO: TCP Data received {"connection_id":173203,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:45:00] local.INFO: Processing buffer {"connection_id":173203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:45:00] local.INFO: IMEI packet received {"connection_id":173203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":173203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:45:05] local.INFO: TCP Data received {"connection_id":173203,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:45:05] local.INFO: Processing buffer {"connection_id":173203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:45:05] local.INFO: IMEI packet received {"connection_id":173203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":173203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:45:06] local.INFO: TCP Data received {"connection_id":173203,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:45:06] local.INFO: Processing buffer {"connection_id":173203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:45:06] local.INFO: Packet analysis {"connection_id":173203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:45:06] local.INFO: Extracted packet for processing {"connection_id":173203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:45:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":60,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853774080001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:45:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491606000,"timestamp_ms":1788491606000,"timestamp_seconds":1788491606,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6827f0"} 
[2026-09-04 08:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 08:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853774080001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853774080001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:45:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:45:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853774080001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":173203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:45:06] local.INFO: GPS data processed {"connection_id":173203,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:45:06] local.INFO: Acknowledgment sent {"connection_id":173203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:45:12] local.INFO: TCP Data received {"connection_id":170506,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:45:12] local.INFO: Processing buffer {"connection_id":170506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:45:12] local.INFO: IMEI packet received {"connection_id":170506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":170506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:45:37] local.INFO: TCP Data received {"connection_id":173203,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:45:37] local.INFO: Processing buffer {"connection_id":173203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:45:37] local.INFO: Packet analysis {"connection_id":173203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:45:37] local.INFO: Extracted packet for processing {"connection_id":173203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:45:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":60,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853774080001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:45:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491606000,"timestamp_ms":1788491606000,"timestamp_seconds":1788491606,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6827f0"} 
[2026-09-04 08:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 08:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853774080001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853774080001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:45:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:45:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853774080001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":173203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:45:37] local.INFO: GPS data processed {"connection_id":173203,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:45:37] local.INFO: Acknowledgment sent {"connection_id":173203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:45:40] local.INFO: TCP Data received {"connection_id":171904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:45:40] local.INFO: Processing buffer {"connection_id":171904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:45:40] local.INFO: IMEI packet received {"connection_id":171904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":171904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:45:59] local.INFO: TCP Data received {"connection_id":173204,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:45:59] local.INFO: Processing buffer {"connection_id":173204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:45:59] local.INFO: IMEI packet received {"connection_id":173204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":173204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:46:05] local.INFO: TCP Data received {"connection_id":173204,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:46:05] local.INFO: Processing buffer {"connection_id":173204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:46:05] local.INFO: IMEI packet received {"connection_id":173204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":173204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:46:06] local.INFO: TCP Data received {"connection_id":173204,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:46:06] local.INFO: Processing buffer {"connection_id":173204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:46:06] local.INFO: Packet analysis {"connection_id":173204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:46:06] local.INFO: Extracted packet for processing {"connection_id":173204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:46:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":60,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853774080001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:46:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491606000,"timestamp_ms":1788491606000,"timestamp_seconds":1788491606,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6827f0"} 
[2026-09-04 08:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 08:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853774080001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853774080001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:46:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:46:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853774080001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":173204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:46:06] local.INFO: GPS data processed {"connection_id":173204,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:46:06] local.INFO: Acknowledgment sent {"connection_id":173204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:46:37] local.INFO: TCP Data received {"connection_id":173204,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:46:37] local.INFO: Processing buffer {"connection_id":173204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:46:37] local.INFO: Packet analysis {"connection_id":173204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:46:37] local.INFO: Extracted packet for processing {"connection_id":173204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:46:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":60,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853774080001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:46:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491606000,"timestamp_ms":1788491606000,"timestamp_seconds":1788491606,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6827f0"} 
[2026-09-04 08:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 08:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853774080001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853774080001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:46:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:46:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853774080001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":173204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:46:37] local.INFO: GPS data processed {"connection_id":173204,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:46:37] local.INFO: Acknowledgment sent {"connection_id":173204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:46:59] local.INFO: TCP Data received {"connection_id":173205,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:46:59] local.INFO: Processing buffer {"connection_id":173205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:46:59] local.INFO: IMEI packet received {"connection_id":173205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":173205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:47:05] local.INFO: TCP Data received {"connection_id":173205,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:47:05] local.INFO: Processing buffer {"connection_id":173205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:47:05] local.INFO: IMEI packet received {"connection_id":173205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":173205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:47:06] local.INFO: TCP Data received {"connection_id":173205,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:47:06] local.INFO: Processing buffer {"connection_id":173205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:47:06] local.INFO: Packet analysis {"connection_id":173205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:47:06] local.INFO: Extracted packet for processing {"connection_id":173205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:47:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":60,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853774080001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491606000,"timestamp_ms":1788491606000,"timestamp_seconds":1788491606,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6827f0"} 
[2026-09-04 08:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 08:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853774080001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853774080001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:47:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853774080001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":173205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:47:06] local.INFO: GPS data processed {"connection_id":173205,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:47:06] local.INFO: Acknowledgment sent {"connection_id":173205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:47:37] local.INFO: TCP Data received {"connection_id":173205,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:47:37] local.INFO: Processing buffer {"connection_id":173205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:47:37] local.INFO: Packet analysis {"connection_id":173205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:47:37] local.INFO: Extracted packet for processing {"connection_id":173205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:47:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":60,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853774080001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:47:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491606000,"timestamp_ms":1788491606000,"timestamp_seconds":1788491606,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6827f0"} 
[2026-09-04 08:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 08:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853774080001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853774080001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:47:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:47:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853774080001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":173205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:47:37] local.INFO: GPS data processed {"connection_id":173205,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:47:37] local.INFO: Acknowledgment sent {"connection_id":173205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:47:59] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:47:59] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:47:59] local.INFO: IMEI packet received {"connection_id":173206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":173206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:48:05] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:48:05] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:48:05] local.INFO: IMEI packet received {"connection_id":173206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":173206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:48:06] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:48:06] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:48:06] local.INFO: Packet analysis {"connection_id":173206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:48:06] local.INFO: Extracted packet for processing {"connection_id":173206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:48:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":60,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853774080001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:48:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491606000,"timestamp_ms":1788491606000,"timestamp_seconds":1788491606,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6827f0"} 
[2026-09-04 08:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 08:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853774080001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853774080001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:48:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:48:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853774080001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":173206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:48:06] local.INFO: GPS data processed {"connection_id":173206,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:48:06] local.INFO: Acknowledgment sent {"connection_id":173206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:48:37] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:48:37] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6827f0012cee7040072e2dc0003c000028..."} 
[2026-09-04 08:48:37] local.INFO: Packet analysis {"connection_id":173206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:48:37] local.INFO: Extracted packet for processing {"connection_id":173206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a68"} 
[2026-09-04 08:48:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":60,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853774080001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:48:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491606000,"timestamp_ms":1788491606000,"timestamp_seconds":1788491606,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6827f0"} 
[2026-09-04 08:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 08:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853774080001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853774080001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:48:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:48:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853774080001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":173206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:48:37] local.INFO: GPS data processed {"connection_id":173206,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:48:37] local.INFO: Acknowledgment sent {"connection_id":173206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:48:59] local.INFO: TCP Data received {"connection_id":170507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:48:59] local.INFO: Processing buffer {"connection_id":170507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:48:59] local.INFO: IMEI packet received {"connection_id":170507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":170507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:49:05] local.INFO: TCP Data received {"connection_id":170507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:49:05] local.INFO: Processing buffer {"connection_id":170507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:49:05] local.INFO: IMEI packet received {"connection_id":170507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":170507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:49:06] local.INFO: TCP Data received {"connection_id":170507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:49:06] local.INFO: Processing buffer {"connection_id":170507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:49:06] local.INFO: Packet analysis {"connection_id":170507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:49:06] local.INFO: Extracted packet for processing {"connection_id":170507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853851136001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:49:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491907000,"timestamp_ms":1788491907000,"timestamp_seconds":1788491907,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6cbfb8"} 
[2026-09-04 08:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 08:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853851136001,"66":25691,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853851136001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:49:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:49:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853851136001,"power":25691,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":170507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:49:06] local.INFO: GPS data processed {"connection_id":170507,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:49:06] local.INFO: Acknowledgment sent {"connection_id":170507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:49:36] local.INFO: TCP Data received {"connection_id":170507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:49:36] local.INFO: Processing buffer {"connection_id":170507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:49:36] local.INFO: Packet analysis {"connection_id":170507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:49:36] local.INFO: Extracted packet for processing {"connection_id":170507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:49:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853851136001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:49:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788491907000,"timestamp_ms":1788491907000,"timestamp_seconds":1788491907,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6cbfb8"} 
[2026-09-04 08:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 08:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853851136001,"66":25691,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853851136001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:49:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:49:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853851136001,"power":25691,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":170507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:49:36] local.INFO: GPS data processed {"connection_id":170507,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:49:36] local.INFO: Acknowledgment sent {"connection_id":170507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:49:59] local.INFO: TCP Data received {"connection_id":170810,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:49:59] local.INFO: Processing buffer {"connection_id":170810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:49:59] local.INFO: IMEI packet received {"connection_id":170810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":170810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:50:05] local.INFO: TCP Data received {"connection_id":170810,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:50:05] local.INFO: Processing buffer {"connection_id":170810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:50:05] local.INFO: IMEI packet received {"connection_id":170810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":170810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:50:06] local.INFO: TCP Data received {"connection_id":170810,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:50:06] local.INFO: Processing buffer {"connection_id":170810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:50:06] local.INFO: Packet analysis {"connection_id":170810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:50:06] local.INFO: Extracted packet for processing {"connection_id":170810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:50:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853851136001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491907000,"timestamp_ms":1788491907000,"timestamp_seconds":1788491907,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6cbfb8"} 
[2026-09-04 08:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 08:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853851136001,"66":25691,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853851136001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:50:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853851136001,"power":25691,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":170810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:50:06] local.INFO: GPS data processed {"connection_id":170810,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:50:06] local.INFO: Acknowledgment sent {"connection_id":170810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:50:37] local.INFO: TCP Data received {"connection_id":170810,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:50:37] local.INFO: Processing buffer {"connection_id":170810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:50:37] local.INFO: Packet analysis {"connection_id":170810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:50:37] local.INFO: Extracted packet for processing {"connection_id":170810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:50:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853851136001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:50:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491907000,"timestamp_ms":1788491907000,"timestamp_seconds":1788491907,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6cbfb8"} 
[2026-09-04 08:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 08:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853851136001,"66":25691,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853851136001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:50:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:50:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853851136001,"power":25691,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":170810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:50:37] local.INFO: GPS data processed {"connection_id":170810,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:50:37] local.INFO: Acknowledgment sent {"connection_id":170810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:50:59] local.INFO: TCP Data received {"connection_id":170811,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:50:59] local.INFO: Processing buffer {"connection_id":170811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:50:59] local.INFO: IMEI packet received {"connection_id":170811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":170811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:51:04] local.INFO: TCP Data received {"connection_id":170509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:51:04] local.INFO: Processing buffer {"connection_id":170509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:51:04] local.INFO: IMEI packet received {"connection_id":170509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":170509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:51:05] local.INFO: TCP Data received {"connection_id":170811,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:51:05] local.INFO: Processing buffer {"connection_id":170811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:51:05] local.INFO: IMEI packet received {"connection_id":170811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":170811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:51:06] local.INFO: TCP Data received {"connection_id":170811,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:51:06] local.INFO: Processing buffer {"connection_id":170811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:51:06] local.INFO: Packet analysis {"connection_id":170811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:51:06] local.INFO: Extracted packet for processing {"connection_id":170811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:51:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853851136001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:51:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491907000,"timestamp_ms":1788491907000,"timestamp_seconds":1788491907,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6cbfb8"} 
[2026-09-04 08:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 08:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853851136001,"66":25691,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853851136001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:51:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:51:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853851136001,"power":25691,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":170811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:51:06] local.INFO: GPS data processed {"connection_id":170811,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:51:06] local.INFO: Acknowledgment sent {"connection_id":170811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:51:37] local.INFO: TCP Data received {"connection_id":170811,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:51:37] local.INFO: Processing buffer {"connection_id":170811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:51:37] local.INFO: Packet analysis {"connection_id":170811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:51:37] local.INFO: Extracted packet for processing {"connection_id":170811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:51:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853851136001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:51:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491907000,"timestamp_ms":1788491907000,"timestamp_seconds":1788491907,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6cbfb8"} 
[2026-09-04 08:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 08:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853851136001,"66":25691,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853851136001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:51:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:51:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853851136001,"power":25691,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":170811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:51:37] local.INFO: GPS data processed {"connection_id":170811,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:51:37] local.INFO: Acknowledgment sent {"connection_id":170811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:51:38] local.INFO: TCP Data received {"connection_id":171906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:51:38] local.INFO: Processing buffer {"connection_id":171906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:51:38] local.INFO: IMEI packet received {"connection_id":171906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":171906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:51:43] local.INFO: TCP Data received {"connection_id":171906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:51:43] local.INFO: Processing buffer {"connection_id":171906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:51:43] local.INFO: IMEI packet received {"connection_id":171906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 08:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":171906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:51:44] local.INFO: TCP Data received {"connection_id":171906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06a5c0a60012d34c54006aa47880010005c26..."} 
[2026-09-04 08:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a5c0a60012d34c54006aa47880010005c26..."} 
[2026-09-04 08:51:44] local.INFO: Processing buffer {"connection_id":171906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a5c0a60012d34c54006aa47880010005c26..."} 
[2026-09-04 08:51:44] local.INFO: Packet analysis {"connection_id":171906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a5c"} 
[2026-09-04 08:51:44] local.INFO: Extracted packet for processing {"connection_id":171906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a5c"} 
[2026-09-04 08:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822728,"longitude_deg":75.8433088,"latitude_deg":11.1822728,"altitude":16,"angle":92,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4788","is_valid_coordinates":true} 
[2026-09-04 08:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853570816001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":460948775108608,"note":"Value kept but may cause issues"} 
[2026-09-04 08:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755047936,"note":"Value kept but may cause issues"} 
[2026-09-04 08:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788490812000,"timestamp_ms":1788490812000,"timestamp_seconds":1788490812,"priority":1,"record_length":96,"hex_timestamp":"000001a06a5c0a60"} 
[2026-09-04 08:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 08:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":171906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":171906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 08:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":171906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 08:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 08:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 08:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853570816001,"66":25071,"97":206,"81":23296,"24":0,"16":460948775108608,"45":3802515857755047936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 08:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 08:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 08:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853570816001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:51:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 08:51:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 08:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":460948775108608,"km_value":460948775108.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755047936,"description":"Unknown IO ID 45"} 
[2026-09-04 08:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853570816001,"power":25071,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857755047936}} 
[2026-09-04 08:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":171906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:51:44] local.INFO: GPS data processed {"connection_id":171906,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:51:44] local.INFO: Acknowledgment sent {"connection_id":171906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:51:59] local.INFO: TCP Data received {"connection_id":170812,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:51:59] local.INFO: Processing buffer {"connection_id":170812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:51:59] local.INFO: IMEI packet received {"connection_id":170812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":170812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:52:05] local.INFO: TCP Data received {"connection_id":170812,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:52:05] local.INFO: Processing buffer {"connection_id":170812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:52:05] local.INFO: IMEI packet received {"connection_id":170812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":170812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:52:06] local.INFO: TCP Data received {"connection_id":170812,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:52:06] local.INFO: Processing buffer {"connection_id":170812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:52:06] local.INFO: Packet analysis {"connection_id":170812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:52:06] local.INFO: Extracted packet for processing {"connection_id":170812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853851136001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:52:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491907000,"timestamp_ms":1788491907000,"timestamp_seconds":1788491907,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6cbfb8"} 
[2026-09-04 08:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 08:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853851136001,"66":25691,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853851136001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:52:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:52:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853851136001,"power":25691,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":170812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:52:06] local.INFO: GPS data processed {"connection_id":170812,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:52:06] local.INFO: Acknowledgment sent {"connection_id":170812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:52:33] local.INFO: TCP Data received {"connection_id":170510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:52:33] local.INFO: Processing buffer {"connection_id":170510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:52:33] local.INFO: IMEI packet received {"connection_id":170510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":170510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:52:37] local.INFO: TCP Data received {"connection_id":170812,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:52:37] local.INFO: Processing buffer {"connection_id":170812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:52:37] local.INFO: Packet analysis {"connection_id":170812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:52:37] local.INFO: Extracted packet for processing {"connection_id":170812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:52:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853851136001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491907000,"timestamp_ms":1788491907000,"timestamp_seconds":1788491907,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6cbfb8"} 
[2026-09-04 08:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 08:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853851136001,"66":25691,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853851136001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:52:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853851136001,"power":25691,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":170812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:52:37] local.INFO: GPS data processed {"connection_id":170812,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:52:37] local.INFO: Acknowledgment sent {"connection_id":170812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:52:59] local.INFO: TCP Data received {"connection_id":170511,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:52:59] local.INFO: Processing buffer {"connection_id":170511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:52:59] local.INFO: IMEI packet received {"connection_id":170511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":170511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:53:05] local.INFO: TCP Data received {"connection_id":170511,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:53:05] local.INFO: Processing buffer {"connection_id":170511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:53:05] local.INFO: IMEI packet received {"connection_id":170511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":170511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:53:06] local.INFO: TCP Data received {"connection_id":170511,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:53:06] local.INFO: Processing buffer {"connection_id":170511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:53:06] local.INFO: Packet analysis {"connection_id":170511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:53:06] local.INFO: Extracted packet for processing {"connection_id":170511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:53:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853851136001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:53:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491907000,"timestamp_ms":1788491907000,"timestamp_seconds":1788491907,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6cbfb8"} 
[2026-09-04 08:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 08:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853851136001,"66":25691,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853851136001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:53:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:53:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853851136001,"power":25691,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":170511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:53:06] local.INFO: GPS data processed {"connection_id":170511,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:53:06] local.INFO: Acknowledgment sent {"connection_id":170511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:53:37] local.INFO: TCP Data received {"connection_id":170511,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:53:37] local.INFO: Processing buffer {"connection_id":170511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:53:37] local.INFO: Packet analysis {"connection_id":170511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:53:37] local.INFO: Extracted packet for processing {"connection_id":170511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:53:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853851136001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:53:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788491907000,"timestamp_ms":1788491907000,"timestamp_seconds":1788491907,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6cbfb8"} 
[2026-09-04 08:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 08:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853851136001,"66":25691,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853851136001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:53:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:53:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853851136001,"power":25691,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":170511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:53:37] local.INFO: GPS data processed {"connection_id":170511,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:53:37] local.INFO: Acknowledgment sent {"connection_id":170511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:53:59] local.INFO: TCP Data received {"connection_id":171908,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:53:59] local.INFO: Processing buffer {"connection_id":171908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:53:59] local.INFO: IMEI packet received {"connection_id":171908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":171908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:54:05] local.INFO: TCP Data received {"connection_id":171908,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:54:05] local.INFO: Processing buffer {"connection_id":171908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:54:05] local.INFO: IMEI packet received {"connection_id":171908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":171908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:54:06] local.INFO: TCP Data received {"connection_id":171908,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:54:06] local.INFO: Processing buffer {"connection_id":171908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a6cbfb8012cee7040072e2dc00039000029..."} 
[2026-09-04 08:54:06] local.INFO: Packet analysis {"connection_id":171908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:54:06] local.INFO: Extracted packet for processing {"connection_id":171908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a6c"} 
[2026-09-04 08:54:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853851136001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:54:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788491907000,"timestamp_ms":1788491907000,"timestamp_seconds":1788491907,"priority":1,"record_length":96,"hex_timestamp":"000001a06a6cbfb8"} 
[2026-09-04 08:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 08:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853851136001,"66":25691,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853851136001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:54:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:54:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853851136001,"power":25691,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":171908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:54:06] local.INFO: GPS data processed {"connection_id":171908,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:54:06] local.INFO: Acknowledgment sent {"connection_id":171908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:54:36] local.INFO: TCP Data received {"connection_id":171908,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:54:36] local.INFO: Processing buffer {"connection_id":171908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:54:36] local.INFO: Packet analysis {"connection_id":171908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:54:36] local.INFO: Extracted packet for processing {"connection_id":171908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:54:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853928192001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:54:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788492208000,"timestamp_ms":1788492208000,"timestamp_seconds":1788492208,"priority":1,"record_length":96,"hex_timestamp":"000001a06a715780"} 
[2026-09-04 08:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 08:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853928192001,"66":25745,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853928192001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:54:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:54:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:54:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853928192001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":171908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:54:36] local.INFO: GPS data processed {"connection_id":171908,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:54:36] local.INFO: Acknowledgment sent {"connection_id":171908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:55:00] local.INFO: TCP Data received {"connection_id":170512,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:55:00] local.INFO: Processing buffer {"connection_id":170512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:55:00] local.INFO: IMEI packet received {"connection_id":170512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":170512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:55:04] local.INFO: TCP Data received {"connection_id":170512,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:55:04] local.INFO: Processing buffer {"connection_id":170512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:55:04] local.INFO: IMEI packet received {"connection_id":170512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":170512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:55:05] local.INFO: TCP Data received {"connection_id":170512,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:55:05] local.INFO: Processing buffer {"connection_id":170512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:55:05] local.INFO: Packet analysis {"connection_id":170512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:55:05] local.INFO: Extracted packet for processing {"connection_id":170512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:55:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853928192001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:55:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788492208000,"timestamp_ms":1788492208000,"timestamp_seconds":1788492208,"priority":1,"record_length":96,"hex_timestamp":"000001a06a715780"} 
[2026-09-04 08:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 08:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853928192001,"66":25745,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853928192001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:55:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:55:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853928192001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":170512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:55:05] local.INFO: GPS data processed {"connection_id":170512,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:55:05] local.INFO: Acknowledgment sent {"connection_id":170512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:55:36] local.INFO: TCP Data received {"connection_id":170512,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:55:36] local.INFO: Processing buffer {"connection_id":170512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:55:36] local.INFO: Packet analysis {"connection_id":170512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:55:36] local.INFO: Extracted packet for processing {"connection_id":170512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:55:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853928192001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:55:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788492208000,"timestamp_ms":1788492208000,"timestamp_seconds":1788492208,"priority":1,"record_length":96,"hex_timestamp":"000001a06a715780"} 
[2026-09-04 08:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 08:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853928192001,"66":25745,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853928192001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:55:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:55:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853928192001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":170512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:55:36] local.INFO: GPS data processed {"connection_id":170512,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:55:36] local.INFO: Acknowledgment sent {"connection_id":170512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:55:59] local.INFO: TCP Data received {"connection_id":171909,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:55:59] local.INFO: Processing buffer {"connection_id":171909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:55:59] local.INFO: IMEI packet received {"connection_id":171909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":171909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:56:05] local.INFO: TCP Data received {"connection_id":171909,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:56:05] local.INFO: Processing buffer {"connection_id":171909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:56:05] local.INFO: IMEI packet received {"connection_id":171909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":171909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:56:06] local.INFO: TCP Data received {"connection_id":171909,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:56:06] local.INFO: Processing buffer {"connection_id":171909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:56:06] local.INFO: Packet analysis {"connection_id":171909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:56:06] local.INFO: Extracted packet for processing {"connection_id":171909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:56:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853928192001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788492208000,"timestamp_ms":1788492208000,"timestamp_seconds":1788492208,"priority":1,"record_length":96,"hex_timestamp":"000001a06a715780"} 
[2026-09-04 08:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 08:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853928192001,"66":25745,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853928192001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:56:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853928192001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":171909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:56:06] local.INFO: GPS data processed {"connection_id":171909,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:56:06] local.INFO: Acknowledgment sent {"connection_id":171909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:56:37] local.INFO: TCP Data received {"connection_id":171909,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:56:37] local.INFO: Processing buffer {"connection_id":171909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:56:37] local.INFO: Packet analysis {"connection_id":171909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:56:37] local.INFO: Extracted packet for processing {"connection_id":171909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:56:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853928192001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:56:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788492208000,"timestamp_ms":1788492208000,"timestamp_seconds":1788492208,"priority":1,"record_length":96,"hex_timestamp":"000001a06a715780"} 
[2026-09-04 08:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 08:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853928192001,"66":25745,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853928192001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:56:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:56:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853928192001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":171909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:56:37] local.INFO: GPS data processed {"connection_id":171909,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:56:37] local.INFO: Acknowledgment sent {"connection_id":171909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:56:59] local.INFO: TCP Data received {"connection_id":171910,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:56:59] local.INFO: Processing buffer {"connection_id":171910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:56:59] local.INFO: IMEI packet received {"connection_id":171910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":171910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:57:05] local.INFO: TCP Data received {"connection_id":171910,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:57:05] local.INFO: Processing buffer {"connection_id":171910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:57:05] local.INFO: IMEI packet received {"connection_id":171910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":171910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:57:06] local.INFO: TCP Data received {"connection_id":171910,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:57:06] local.INFO: Processing buffer {"connection_id":171910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:57:06] local.INFO: Packet analysis {"connection_id":171910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:57:06] local.INFO: Extracted packet for processing {"connection_id":171910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:57:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853928192001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:57:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788492208000,"timestamp_ms":1788492208000,"timestamp_seconds":1788492208,"priority":1,"record_length":96,"hex_timestamp":"000001a06a715780"} 
[2026-09-04 08:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 08:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853928192001,"66":25745,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853928192001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:57:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:57:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853928192001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":171910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:57:06] local.INFO: GPS data processed {"connection_id":171910,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:57:06] local.INFO: Acknowledgment sent {"connection_id":171910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:57:37] local.INFO: TCP Data received {"connection_id":171910,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:57:37] local.INFO: Processing buffer {"connection_id":171910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:57:37] local.INFO: Packet analysis {"connection_id":171910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:57:37] local.INFO: Extracted packet for processing {"connection_id":171910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853928192001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:57:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788492208000,"timestamp_ms":1788492208000,"timestamp_seconds":1788492208,"priority":1,"record_length":96,"hex_timestamp":"000001a06a715780"} 
[2026-09-04 08:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 08:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853928192001,"66":25745,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853928192001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:57:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:57:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853928192001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":171910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:57:37] local.INFO: GPS data processed {"connection_id":171910,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:57:37] local.INFO: Acknowledgment sent {"connection_id":171910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:57:59] local.INFO: TCP Data received {"connection_id":170513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:57:59] local.INFO: Processing buffer {"connection_id":170513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:57:59] local.INFO: IMEI packet received {"connection_id":170513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":170513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:57:59] local.INFO: TCP Data received {"connection_id":170514,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:57:59] local.INFO: Processing buffer {"connection_id":170514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:57:59] local.INFO: IMEI packet received {"connection_id":170514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":170514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:58:05] local.INFO: TCP Data received {"connection_id":170514,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:58:05] local.INFO: Processing buffer {"connection_id":170514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:58:05] local.INFO: IMEI packet received {"connection_id":170514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":170514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:58:06] local.INFO: TCP Data received {"connection_id":170514,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:58:06] local.INFO: Processing buffer {"connection_id":170514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:58:06] local.INFO: Packet analysis {"connection_id":170514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:58:06] local.INFO: Extracted packet for processing {"connection_id":170514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:58:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853928192001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:58:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788492208000,"timestamp_ms":1788492208000,"timestamp_seconds":1788492208,"priority":1,"record_length":96,"hex_timestamp":"000001a06a715780"} 
[2026-09-04 08:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 08:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853928192001,"66":25745,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853928192001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:58:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:58:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853928192001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":170514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:58:06] local.INFO: GPS data processed {"connection_id":170514,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:58:06] local.INFO: Acknowledgment sent {"connection_id":170514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:58:37] local.INFO: TCP Data received {"connection_id":170514,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:58:37] local.INFO: Processing buffer {"connection_id":170514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:58:37] local.INFO: Packet analysis {"connection_id":170514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:58:37] local.INFO: Extracted packet for processing {"connection_id":170514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:58:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853928192001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:58:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788492208000,"timestamp_ms":1788492208000,"timestamp_seconds":1788492208,"priority":1,"record_length":96,"hex_timestamp":"000001a06a715780"} 
[2026-09-04 08:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 08:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853928192001,"66":25745,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853928192001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:58:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:58:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853928192001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":170514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:58:37] local.INFO: GPS data processed {"connection_id":170514,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:58:37] local.INFO: Acknowledgment sent {"connection_id":170514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:58:38] local.INFO: TCP Data received {"connection_id":170815,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:58:38] local.INFO: Processing buffer {"connection_id":170815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 08:58:38] local.INFO: IMEI packet received {"connection_id":170815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 08:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":170815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:58:59] local.INFO: TCP Data received {"connection_id":171911,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:58:59] local.INFO: Processing buffer {"connection_id":171911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:58:59] local.INFO: IMEI packet received {"connection_id":171911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":171911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 08:59:05] local.INFO: TCP Data received {"connection_id":171911,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:59:05] local.INFO: Processing buffer {"connection_id":171911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:59:05] local.INFO: IMEI packet received {"connection_id":171911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 08:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":171911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 08:59:06] local.INFO: TCP Data received {"connection_id":171911,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:59:06] local.INFO: Processing buffer {"connection_id":171911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a715780012cee7040072e2dc0003a000028..."} 
[2026-09-04 08:59:06] local.INFO: Packet analysis {"connection_id":171911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:59:06] local.INFO: Extracted packet for processing {"connection_id":171911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a71"} 
[2026-09-04 08:59:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457853928192001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:59:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788492208000,"timestamp_ms":1788492208000,"timestamp_seconds":1788492208,"priority":1,"record_length":96,"hex_timestamp":"000001a06a715780"} 
[2026-09-04 08:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 08:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457853928192001,"66":25745,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457853928192001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:59:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:59:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457853928192001,"power":25745,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":171911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:59:06] local.INFO: GPS data processed {"connection_id":171911,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:59:06] local.INFO: Acknowledgment sent {"connection_id":171911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:59:37] local.INFO: TCP Data received {"connection_id":171911,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 08:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 08:59:37] local.INFO: Processing buffer {"connection_id":171911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 08:59:37] local.INFO: Packet analysis {"connection_id":171911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 08:59:37] local.INFO: Extracted packet for processing {"connection_id":171911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 08:59:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":56,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 08:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 08:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854005248001,"note":"Value kept but may cause issues"} 
[2026-09-04 08:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 08:59:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 08:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 08:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788492509000,"timestamp_ms":1788492509000,"timestamp_seconds":1788492509,"priority":1,"record_length":96,"hex_timestamp":"000001a06a75ef48"} 
[2026-09-04 08:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 08:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 08:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 08:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 08:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 08:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 08:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 08:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 08:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 08:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 08:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 08:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 08:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854005248001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 08:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 08:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 08:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854005248001,"description":"Unknown IO ID 0"} 
[2026-09-04 08:59:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 08:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 08:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 08:59:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 08:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854005248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 08:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":171911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 08:59:37] local.INFO: GPS data processed {"connection_id":171911,"processed":1,"errors":0,"total":1} 
[2026-09-04 08:59:37] local.INFO: Acknowledgment sent {"connection_id":171911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 08:59:59] local.INFO: TCP Data received {"connection_id":170816,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:59:59] local.INFO: Processing buffer {"connection_id":170816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 08:59:59] local.INFO: IMEI packet received {"connection_id":170816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 08:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":170816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:00:05] local.INFO: TCP Data received {"connection_id":170816,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:00:05] local.INFO: Processing buffer {"connection_id":170816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:00:05] local.INFO: IMEI packet received {"connection_id":170816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":170816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:00:06] local.INFO: TCP Data received {"connection_id":170816,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:00:06] local.INFO: Processing buffer {"connection_id":170816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:00:06] local.INFO: Packet analysis {"connection_id":170816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:00:06] local.INFO: Extracted packet for processing {"connection_id":170816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":56,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854005248001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788492509000,"timestamp_ms":1788492509000,"timestamp_seconds":1788492509,"priority":1,"record_length":96,"hex_timestamp":"000001a06a75ef48"} 
[2026-09-04 09:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 09:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854005248001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854005248001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:00:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854005248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":170816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:00:06] local.INFO: GPS data processed {"connection_id":170816,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:00:06] local.INFO: Acknowledgment sent {"connection_id":170816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:00:37] local.INFO: TCP Data received {"connection_id":170816,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:00:37] local.INFO: Processing buffer {"connection_id":170816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:00:37] local.INFO: Packet analysis {"connection_id":170816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:00:37] local.INFO: Extracted packet for processing {"connection_id":170816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:00:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":56,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854005248001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:00:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788492509000,"timestamp_ms":1788492509000,"timestamp_seconds":1788492509,"priority":1,"record_length":96,"hex_timestamp":"000001a06a75ef48"} 
[2026-09-04 09:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 09:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854005248001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854005248001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:00:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:00:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854005248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":170816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:00:37] local.INFO: GPS data processed {"connection_id":170816,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:00:37] local.INFO: Acknowledgment sent {"connection_id":170816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:00:59] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:00:59] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:00:59] local.INFO: IMEI packet received {"connection_id":173209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":173209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:01:05] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:01:05] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:01:05] local.INFO: IMEI packet received {"connection_id":173209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":173209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:01:06] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:01:06] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:01:06] local.INFO: Packet analysis {"connection_id":173209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:01:06] local.INFO: Extracted packet for processing {"connection_id":173209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:01:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":56,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854005248001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788492509000,"timestamp_ms":1788492509000,"timestamp_seconds":1788492509,"priority":1,"record_length":96,"hex_timestamp":"000001a06a75ef48"} 
[2026-09-04 09:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 09:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854005248001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854005248001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:01:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854005248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":173209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:01:06] local.INFO: GPS data processed {"connection_id":173209,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:01:06] local.INFO: Acknowledgment sent {"connection_id":173209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:01:37] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:01:37] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:01:37] local.INFO: Packet analysis {"connection_id":173209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:01:37] local.INFO: Extracted packet for processing {"connection_id":173209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:01:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":56,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854005248001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788492509000,"timestamp_ms":1788492509000,"timestamp_seconds":1788492509,"priority":1,"record_length":96,"hex_timestamp":"000001a06a75ef48"} 
[2026-09-04 09:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 09:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854005248001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854005248001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:01:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854005248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":173209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:01:37] local.INFO: GPS data processed {"connection_id":173209,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:01:37] local.INFO: Acknowledgment sent {"connection_id":173209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:01:59] local.INFO: TCP Data received {"connection_id":170515,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:01:59] local.INFO: Processing buffer {"connection_id":170515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:01:59] local.INFO: IMEI packet received {"connection_id":170515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":170515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:02:05] local.INFO: TCP Data received {"connection_id":170515,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:02:05] local.INFO: Processing buffer {"connection_id":170515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:02:05] local.INFO: IMEI packet received {"connection_id":170515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":170515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:02:06] local.INFO: TCP Data received {"connection_id":170515,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:02:06] local.INFO: Processing buffer {"connection_id":170515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:02:06] local.INFO: Packet analysis {"connection_id":170515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:02:06] local.INFO: Extracted packet for processing {"connection_id":170515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:02:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":56,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854005248001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788492509000,"timestamp_ms":1788492509000,"timestamp_seconds":1788492509,"priority":1,"record_length":96,"hex_timestamp":"000001a06a75ef48"} 
[2026-09-04 09:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 09:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854005248001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854005248001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:02:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854005248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":170515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:02:06] local.INFO: GPS data processed {"connection_id":170515,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:02:06] local.INFO: Acknowledgment sent {"connection_id":170515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:02:37] local.INFO: TCP Data received {"connection_id":170515,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:02:37] local.INFO: Processing buffer {"connection_id":170515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:02:37] local.INFO: Packet analysis {"connection_id":170515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:02:37] local.INFO: Extracted packet for processing {"connection_id":170515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:02:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":56,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854005248001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:02:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788492509000,"timestamp_ms":1788492509000,"timestamp_seconds":1788492509,"priority":1,"record_length":96,"hex_timestamp":"000001a06a75ef48"} 
[2026-09-04 09:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 09:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854005248001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854005248001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:02:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:02:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854005248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":170515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:02:37] local.INFO: GPS data processed {"connection_id":170515,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:02:37] local.INFO: Acknowledgment sent {"connection_id":170515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:02:59] local.INFO: TCP Data received {"connection_id":170817,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:02:59] local.INFO: Processing buffer {"connection_id":170817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:02:59] local.INFO: IMEI packet received {"connection_id":170817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":170817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:03:05] local.INFO: TCP Data received {"connection_id":170817,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:03:05] local.INFO: Processing buffer {"connection_id":170817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:03:05] local.INFO: IMEI packet received {"connection_id":170817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":170817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:03:06] local.INFO: TCP Data received {"connection_id":170817,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:03:06] local.INFO: Processing buffer {"connection_id":170817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:03:06] local.INFO: Packet analysis {"connection_id":170817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:03:06] local.INFO: Extracted packet for processing {"connection_id":170817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:03:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":56,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854005248001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:03:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788492509000,"timestamp_ms":1788492509000,"timestamp_seconds":1788492509,"priority":1,"record_length":96,"hex_timestamp":"000001a06a75ef48"} 
[2026-09-04 09:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 09:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854005248001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854005248001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:03:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:03:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854005248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":170817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:03:06] local.INFO: GPS data processed {"connection_id":170817,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:03:06] local.INFO: Acknowledgment sent {"connection_id":170817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:03:37] local.INFO: TCP Data received {"connection_id":170817,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:03:37] local.INFO: Processing buffer {"connection_id":170817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:03:37] local.INFO: Packet analysis {"connection_id":170817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:03:37] local.INFO: Extracted packet for processing {"connection_id":170817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:03:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":56,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854005248001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:03:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788492509000,"timestamp_ms":1788492509000,"timestamp_seconds":1788492509,"priority":1,"record_length":96,"hex_timestamp":"000001a06a75ef48"} 
[2026-09-04 09:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 09:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854005248001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854005248001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:03:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:03:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854005248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":170817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:03:37] local.INFO: GPS data processed {"connection_id":170817,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:03:37] local.INFO: Acknowledgment sent {"connection_id":170817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:03:59] local.INFO: TCP Data received {"connection_id":171912,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:03:59] local.INFO: Processing buffer {"connection_id":171912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:03:59] local.INFO: IMEI packet received {"connection_id":171912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":171912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:04:05] local.INFO: TCP Data received {"connection_id":171912,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:04:05] local.INFO: Processing buffer {"connection_id":171912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:04:05] local.INFO: IMEI packet received {"connection_id":171912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":171912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:04:06] local.INFO: TCP Data received {"connection_id":171912,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:04:06] local.INFO: Processing buffer {"connection_id":171912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a75ef48012cee7040072e2dc00038000029..."} 
[2026-09-04 09:04:06] local.INFO: Packet analysis {"connection_id":171912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:04:06] local.INFO: Extracted packet for processing {"connection_id":171912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a75"} 
[2026-09-04 09:04:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":56,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854005248001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788492509000,"timestamp_ms":1788492509000,"timestamp_seconds":1788492509,"priority":1,"record_length":96,"hex_timestamp":"000001a06a75ef48"} 
[2026-09-04 09:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 09:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854005248001,"66":25702,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854005248001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:04:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854005248001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":171912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:04:06] local.INFO: GPS data processed {"connection_id":171912,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:04:06] local.INFO: Acknowledgment sent {"connection_id":171912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:04:36] local.INFO: TCP Data received {"connection_id":171912,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:04:36] local.INFO: Processing buffer {"connection_id":171912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:04:36] local.INFO: Packet analysis {"connection_id":171912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:04:36] local.INFO: Extracted packet for processing {"connection_id":171912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:04:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854082304001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:04:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788492810000,"timestamp_ms":1788492810000,"timestamp_seconds":1788492810,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7a8710"} 
[2026-09-04 09:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 09:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854082304001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854082304001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:04:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:04:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854082304001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":171912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:04:36] local.INFO: GPS data processed {"connection_id":171912,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:04:36] local.INFO: Acknowledgment sent {"connection_id":171912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:05:00] local.INFO: TCP Data received {"connection_id":173210,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:05:00] local.INFO: Processing buffer {"connection_id":173210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:05:00] local.INFO: IMEI packet received {"connection_id":173210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":173210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:05:05] local.INFO: TCP Data received {"connection_id":173210,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:05:05] local.INFO: Processing buffer {"connection_id":173210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:05:05] local.INFO: IMEI packet received {"connection_id":173210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":173210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:05:05] local.INFO: TCP Data received {"connection_id":173210,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:05:05] local.INFO: Processing buffer {"connection_id":173210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:05:05] local.INFO: Packet analysis {"connection_id":173210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:05:05] local.INFO: Extracted packet for processing {"connection_id":173210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:05:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854082304001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:05:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788492810000,"timestamp_ms":1788492810000,"timestamp_seconds":1788492810,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7a8710"} 
[2026-09-04 09:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 09:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854082304001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854082304001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:05:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:05:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854082304001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":173210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:05:06] local.INFO: GPS data processed {"connection_id":173210,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:05:06] local.INFO: Acknowledgment sent {"connection_id":173210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:05:08] local.INFO: TCP Data received {"connection_id":173211,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:05:08] local.INFO: Processing buffer {"connection_id":173211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:05:08] local.INFO: IMEI packet received {"connection_id":173211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":173211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:05:36] local.INFO: TCP Data received {"connection_id":173210,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:05:36] local.INFO: Processing buffer {"connection_id":173210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:05:36] local.INFO: Packet analysis {"connection_id":173210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:05:36] local.INFO: Extracted packet for processing {"connection_id":173210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:05:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854082304001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:05:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788492810000,"timestamp_ms":1788492810000,"timestamp_seconds":1788492810,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7a8710"} 
[2026-09-04 09:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 09:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854082304001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854082304001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:05:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:05:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854082304001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":173210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:05:37] local.INFO: GPS data processed {"connection_id":173210,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:05:37] local.INFO: Acknowledgment sent {"connection_id":173210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:05:38] local.INFO: TCP Data received {"connection_id":173212,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:05:38] local.INFO: Processing buffer {"connection_id":173212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:05:38] local.INFO: IMEI packet received {"connection_id":173212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":173212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:05:59] local.INFO: TCP Data received {"connection_id":170516,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:05:59] local.INFO: Processing buffer {"connection_id":170516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:05:59] local.INFO: IMEI packet received {"connection_id":170516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":170516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:06:05] local.INFO: TCP Data received {"connection_id":170516,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:06:05] local.INFO: Processing buffer {"connection_id":170516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:06:05] local.INFO: IMEI packet received {"connection_id":170516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":170516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:06:06] local.INFO: TCP Data received {"connection_id":170516,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:06:06] local.INFO: Processing buffer {"connection_id":170516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:06:06] local.INFO: Packet analysis {"connection_id":170516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:06:06] local.INFO: Extracted packet for processing {"connection_id":170516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:06:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854082304001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788492810000,"timestamp_ms":1788492810000,"timestamp_seconds":1788492810,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7a8710"} 
[2026-09-04 09:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 09:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854082304001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854082304001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:06:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854082304001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":170516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:06:06] local.INFO: GPS data processed {"connection_id":170516,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:06:06] local.INFO: Acknowledgment sent {"connection_id":170516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:06:37] local.INFO: TCP Data received {"connection_id":170516,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:06:37] local.INFO: Processing buffer {"connection_id":170516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:06:37] local.INFO: Packet analysis {"connection_id":170516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:06:37] local.INFO: Extracted packet for processing {"connection_id":170516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:06:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854082304001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:06:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788492810000,"timestamp_ms":1788492810000,"timestamp_seconds":1788492810,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7a8710"} 
[2026-09-04 09:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 09:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854082304001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854082304001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:06:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:06:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854082304001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":170516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:06:37] local.INFO: GPS data processed {"connection_id":170516,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:06:37] local.INFO: Acknowledgment sent {"connection_id":170516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:06:59] local.INFO: TCP Data received {"connection_id":173213,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:06:59] local.INFO: Processing buffer {"connection_id":173213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:06:59] local.INFO: IMEI packet received {"connection_id":173213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":173213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:07:05] local.INFO: TCP Data received {"connection_id":173213,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:07:05] local.INFO: Processing buffer {"connection_id":173213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:07:05] local.INFO: IMEI packet received {"connection_id":173213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":173213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:07:06] local.INFO: TCP Data received {"connection_id":173213,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:07:06] local.INFO: Processing buffer {"connection_id":173213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:07:06] local.INFO: Packet analysis {"connection_id":173213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:07:06] local.INFO: Extracted packet for processing {"connection_id":173213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:07:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854082304001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:07:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788492810000,"timestamp_ms":1788492810000,"timestamp_seconds":1788492810,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7a8710"} 
[2026-09-04 09:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 09:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854082304001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854082304001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:07:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:07:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854082304001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":173213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:07:06] local.INFO: GPS data processed {"connection_id":173213,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:07:06] local.INFO: Acknowledgment sent {"connection_id":173213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:07:37] local.INFO: TCP Data received {"connection_id":173213,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:07:37] local.INFO: Processing buffer {"connection_id":173213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:07:37] local.INFO: Packet analysis {"connection_id":173213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:07:37] local.INFO: Extracted packet for processing {"connection_id":173213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:07:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854082304001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:07:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788492810000,"timestamp_ms":1788492810000,"timestamp_seconds":1788492810,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7a8710"} 
[2026-09-04 09:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 09:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854082304001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854082304001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:07:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:07:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854082304001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":173213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:07:37] local.INFO: GPS data processed {"connection_id":173213,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:07:37] local.INFO: Acknowledgment sent {"connection_id":173213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:07:59] local.INFO: TCP Data received {"connection_id":170517,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:07:59] local.INFO: Processing buffer {"connection_id":170517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:07:59] local.INFO: IMEI packet received {"connection_id":170517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":170517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:08:05] local.INFO: TCP Data received {"connection_id":170517,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:08:05] local.INFO: Processing buffer {"connection_id":170517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:08:05] local.INFO: IMEI packet received {"connection_id":170517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":170517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:08:05] local.INFO: TCP Data received {"connection_id":170517,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:08:05] local.INFO: Processing buffer {"connection_id":170517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:08:05] local.INFO: Packet analysis {"connection_id":170517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:08:05] local.INFO: Extracted packet for processing {"connection_id":170517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:08:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854082304001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:08:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788492810000,"timestamp_ms":1788492810000,"timestamp_seconds":1788492810,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7a8710"} 
[2026-09-04 09:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 09:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854082304001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854082304001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:08:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:08:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854082304001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":170517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:08:06] local.INFO: GPS data processed {"connection_id":170517,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:08:06] local.INFO: Acknowledgment sent {"connection_id":170517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:08:37] local.INFO: TCP Data received {"connection_id":170517,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:08:37] local.INFO: Processing buffer {"connection_id":170517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:08:37] local.INFO: Packet analysis {"connection_id":170517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:08:37] local.INFO: Extracted packet for processing {"connection_id":170517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:08:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854082304001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:08:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788492810000,"timestamp_ms":1788492810000,"timestamp_seconds":1788492810,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7a8710"} 
[2026-09-04 09:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 09:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854082304001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854082304001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:08:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:08:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854082304001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":170517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:08:37] local.INFO: GPS data processed {"connection_id":170517,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:08:37] local.INFO: Acknowledgment sent {"connection_id":170517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:08:59] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:08:59] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:08:59] local.INFO: IMEI packet received {"connection_id":173215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":173215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:09:05] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:09:05] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:09:05] local.INFO: IMEI packet received {"connection_id":173215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":173215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:09:05] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:09:06] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7a8710012cee7040072e2dc0003a000029..."} 
[2026-09-04 09:09:06] local.INFO: Packet analysis {"connection_id":173215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:09:06] local.INFO: Extracted packet for processing {"connection_id":173215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7a"} 
[2026-09-04 09:09:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":58,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854082304001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788492810000,"timestamp_ms":1788492810000,"timestamp_seconds":1788492810,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7a8710"} 
[2026-09-04 09:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 09:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854082304001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854082304001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:09:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854082304001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":173215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:09:06] local.INFO: GPS data processed {"connection_id":173215,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:09:06] local.INFO: Acknowledgment sent {"connection_id":173215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:09:36] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:09:36] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:09:36] local.INFO: Packet analysis {"connection_id":173215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:09:36] local.INFO: Extracted packet for processing {"connection_id":173215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854159360001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:09:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788493111000,"timestamp_ms":1788493111000,"timestamp_seconds":1788493111,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7f1ed8"} 
[2026-09-04 09:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854159360001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854159360001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:09:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:09:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854159360001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":173215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:09:36] local.INFO: GPS data processed {"connection_id":173215,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:09:36] local.INFO: Acknowledgment sent {"connection_id":173215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:09:59] local.INFO: TCP Data received {"connection_id":170820,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:09:59] local.INFO: Processing buffer {"connection_id":170820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:09:59] local.INFO: IMEI packet received {"connection_id":170820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":170820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:10:05] local.INFO: TCP Data received {"connection_id":170820,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:10:05] local.INFO: Processing buffer {"connection_id":170820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:10:05] local.INFO: IMEI packet received {"connection_id":170820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":170820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:10:06] local.INFO: TCP Data received {"connection_id":170820,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:10:06] local.INFO: Processing buffer {"connection_id":170820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:10:06] local.INFO: Packet analysis {"connection_id":170820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:10:06] local.INFO: Extracted packet for processing {"connection_id":170820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:10:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854159360001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:10:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788493111000,"timestamp_ms":1788493111000,"timestamp_seconds":1788493111,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7f1ed8"} 
[2026-09-04 09:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854159360001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854159360001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:10:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:10:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854159360001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":170820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:10:06] local.INFO: GPS data processed {"connection_id":170820,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:10:06] local.INFO: Acknowledgment sent {"connection_id":170820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:10:37] local.INFO: TCP Data received {"connection_id":170820,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:10:37] local.INFO: Processing buffer {"connection_id":170820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:10:37] local.INFO: Packet analysis {"connection_id":170820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:10:37] local.INFO: Extracted packet for processing {"connection_id":170820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:10:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854159360001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:10:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788493111000,"timestamp_ms":1788493111000,"timestamp_seconds":1788493111,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7f1ed8"} 
[2026-09-04 09:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854159360001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854159360001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:10:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:10:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854159360001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":170820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:10:37] local.INFO: GPS data processed {"connection_id":170820,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:10:37] local.INFO: Acknowledgment sent {"connection_id":170820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:10:43] local.INFO: TCP Data received {"connection_id":173216,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:10:43] local.INFO: Processing buffer {"connection_id":173216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:10:43] local.INFO: IMEI packet received {"connection_id":173216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":173216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:10:59] local.INFO: TCP Data received {"connection_id":171914,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:10:59] local.INFO: Processing buffer {"connection_id":171914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:10:59] local.INFO: IMEI packet received {"connection_id":171914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":171914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:11:05] local.INFO: TCP Data received {"connection_id":171914,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:11:05] local.INFO: Processing buffer {"connection_id":171914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:11:05] local.INFO: IMEI packet received {"connection_id":171914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":171914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:11:06] local.INFO: TCP Data received {"connection_id":171914,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:11:06] local.INFO: Processing buffer {"connection_id":171914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:11:06] local.INFO: Packet analysis {"connection_id":171914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:11:06] local.INFO: Extracted packet for processing {"connection_id":171914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:11:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854159360001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788493111000,"timestamp_ms":1788493111000,"timestamp_seconds":1788493111,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7f1ed8"} 
[2026-09-04 09:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854159360001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854159360001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:11:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854159360001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":171914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:11:06] local.INFO: GPS data processed {"connection_id":171914,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:11:06] local.INFO: Acknowledgment sent {"connection_id":171914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:11:37] local.INFO: TCP Data received {"connection_id":171914,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:11:37] local.INFO: Processing buffer {"connection_id":171914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:11:37] local.INFO: Packet analysis {"connection_id":171914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:11:37] local.INFO: Extracted packet for processing {"connection_id":171914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854159360001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788493111000,"timestamp_ms":1788493111000,"timestamp_seconds":1788493111,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7f1ed8"} 
[2026-09-04 09:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854159360001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854159360001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:11:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854159360001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":171914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:11:37] local.INFO: GPS data processed {"connection_id":171914,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:11:37] local.INFO: Acknowledgment sent {"connection_id":171914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:11:59] local.INFO: TCP Data received {"connection_id":170519,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:11:59] local.INFO: Processing buffer {"connection_id":170519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:11:59] local.INFO: IMEI packet received {"connection_id":170519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":170519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:12:05] local.INFO: TCP Data received {"connection_id":170519,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:12:05] local.INFO: Processing buffer {"connection_id":170519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:12:05] local.INFO: IMEI packet received {"connection_id":170519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":170519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:12:05] local.INFO: TCP Data received {"connection_id":170519,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:12:05] local.INFO: Processing buffer {"connection_id":170519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:12:05] local.INFO: Packet analysis {"connection_id":170519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:12:05] local.INFO: Extracted packet for processing {"connection_id":170519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:12:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854159360001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:12:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788493111000,"timestamp_ms":1788493111000,"timestamp_seconds":1788493111,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7f1ed8"} 
[2026-09-04 09:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854159360001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854159360001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:12:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:12:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854159360001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":170519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:12:06] local.INFO: GPS data processed {"connection_id":170519,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:12:06] local.INFO: Acknowledgment sent {"connection_id":170519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:12:37] local.INFO: TCP Data received {"connection_id":170519,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:12:37] local.INFO: Processing buffer {"connection_id":170519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:12:37] local.INFO: Packet analysis {"connection_id":170519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:12:37] local.INFO: Extracted packet for processing {"connection_id":170519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:12:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854159360001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:12:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788493111000,"timestamp_ms":1788493111000,"timestamp_seconds":1788493111,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7f1ed8"} 
[2026-09-04 09:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854159360001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854159360001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:12:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:12:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854159360001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":170519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:12:37] local.INFO: GPS data processed {"connection_id":170519,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:12:37] local.INFO: Acknowledgment sent {"connection_id":170519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:12:59] local.INFO: TCP Data received {"connection_id":170520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:12:59] local.INFO: Processing buffer {"connection_id":170520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:12:59] local.INFO: IMEI packet received {"connection_id":170520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":170520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:13:05] local.INFO: TCP Data received {"connection_id":170520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:13:05] local.INFO: Processing buffer {"connection_id":170520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:13:05] local.INFO: IMEI packet received {"connection_id":170520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":170520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:13:06] local.INFO: TCP Data received {"connection_id":170520,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:13:06] local.INFO: Processing buffer {"connection_id":170520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:13:06] local.INFO: Packet analysis {"connection_id":170520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:13:06] local.INFO: Extracted packet for processing {"connection_id":170520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:13:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854159360001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:13:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788493111000,"timestamp_ms":1788493111000,"timestamp_seconds":1788493111,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7f1ed8"} 
[2026-09-04 09:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854159360001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854159360001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:13:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:13:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854159360001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":170520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:13:06] local.INFO: GPS data processed {"connection_id":170520,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:13:06] local.INFO: Acknowledgment sent {"connection_id":170520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:13:37] local.INFO: TCP Data received {"connection_id":170520,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:13:37] local.INFO: Processing buffer {"connection_id":170520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:13:37] local.INFO: Packet analysis {"connection_id":170520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:13:37] local.INFO: Extracted packet for processing {"connection_id":170520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:13:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854159360001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:13:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788493111000,"timestamp_ms":1788493111000,"timestamp_seconds":1788493111,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7f1ed8"} 
[2026-09-04 09:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854159360001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854159360001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:13:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:13:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854159360001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":170520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:13:37] local.INFO: GPS data processed {"connection_id":170520,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:13:37] local.INFO: Acknowledgment sent {"connection_id":170520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:13:59] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:13:59] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:13:59] local.INFO: IMEI packet received {"connection_id":171916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":171916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:14:05] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:14:05] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:14:05] local.INFO: IMEI packet received {"connection_id":171916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":171916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:14:05] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:14:05] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a7f1ed8012cee7040072e2dc00039000029..."} 
[2026-09-04 09:14:05] local.INFO: Packet analysis {"connection_id":171916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:14:05] local.INFO: Extracted packet for processing {"connection_id":171916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a7f"} 
[2026-09-04 09:14:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854159360001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788493111000,"timestamp_ms":1788493111000,"timestamp_seconds":1788493111,"priority":1,"record_length":96,"hex_timestamp":"000001a06a7f1ed8"} 
[2026-09-04 09:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854159360001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854159360001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:14:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854159360001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":171916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:14:06] local.INFO: GPS data processed {"connection_id":171916,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:14:06] local.INFO: Acknowledgment sent {"connection_id":171916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:14:36] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:14:36] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:14:36] local.INFO: Packet analysis {"connection_id":171916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:14:36] local.INFO: Extracted packet for processing {"connection_id":171916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:14:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":53,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854236416001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:14:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788493412000,"timestamp_ms":1788493412000,"timestamp_seconds":1788493412,"priority":1,"record_length":96,"hex_timestamp":"000001a06a83b6a0"} 
[2026-09-04 09:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 09:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854236416001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854236416001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:14:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:14:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854236416001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":171916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:14:36] local.INFO: GPS data processed {"connection_id":171916,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:14:36] local.INFO: Acknowledgment sent {"connection_id":171916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:15:00] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:15:00] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:15:00] local.INFO: IMEI packet received {"connection_id":173217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":173217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:15:05] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:15:05] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:15:05] local.INFO: IMEI packet received {"connection_id":173217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":173217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:15:06] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:15:06] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:15:06] local.INFO: Packet analysis {"connection_id":173217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:15:06] local.INFO: Extracted packet for processing {"connection_id":173217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:15:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":53,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854236416001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:15:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788493412000,"timestamp_ms":1788493412000,"timestamp_seconds":1788493412,"priority":1,"record_length":96,"hex_timestamp":"000001a06a83b6a0"} 
[2026-09-04 09:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 09:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854236416001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854236416001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:15:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:15:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854236416001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":173217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:15:06] local.INFO: GPS data processed {"connection_id":173217,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:15:06] local.INFO: Acknowledgment sent {"connection_id":173217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:15:37] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:15:37] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:15:37] local.INFO: Packet analysis {"connection_id":173217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:15:37] local.INFO: Extracted packet for processing {"connection_id":173217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:15:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":53,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854236416001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788493412000,"timestamp_ms":1788493412000,"timestamp_seconds":1788493412,"priority":1,"record_length":96,"hex_timestamp":"000001a06a83b6a0"} 
[2026-09-04 09:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 09:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854236416001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854236416001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:15:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854236416001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":173217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:15:37] local.INFO: GPS data processed {"connection_id":173217,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:15:37] local.INFO: Acknowledgment sent {"connection_id":173217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:15:59] local.INFO: TCP Data received {"connection_id":173218,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:15:59] local.INFO: Processing buffer {"connection_id":173218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:15:59] local.INFO: IMEI packet received {"connection_id":173218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":173218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:16:05] local.INFO: TCP Data received {"connection_id":173218,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:16:05] local.INFO: Processing buffer {"connection_id":173218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:16:05] local.INFO: IMEI packet received {"connection_id":173218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":173218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:16:05] local.INFO: TCP Data received {"connection_id":173218,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:16:05] local.INFO: Processing buffer {"connection_id":173218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:16:05] local.INFO: Packet analysis {"connection_id":173218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:16:05] local.INFO: Extracted packet for processing {"connection_id":173218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":53,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854236416001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:16:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788493412000,"timestamp_ms":1788493412000,"timestamp_seconds":1788493412,"priority":1,"record_length":96,"hex_timestamp":"000001a06a83b6a0"} 
[2026-09-04 09:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 09:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854236416001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854236416001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:16:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:16:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854236416001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":173218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:16:05] local.INFO: GPS data processed {"connection_id":173218,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:16:05] local.INFO: Acknowledgment sent {"connection_id":173218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:16:18] local.INFO: TCP Data received {"connection_id":170522,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:16:18] local.INFO: Processing buffer {"connection_id":170522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:16:18] local.INFO: IMEI packet received {"connection_id":170522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":170522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:16:37] local.INFO: TCP Data received {"connection_id":173218,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:16:37] local.INFO: Processing buffer {"connection_id":173218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:16:37] local.INFO: Packet analysis {"connection_id":173218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:16:37] local.INFO: Extracted packet for processing {"connection_id":173218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":53,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854236416001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:16:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788493412000,"timestamp_ms":1788493412000,"timestamp_seconds":1788493412,"priority":1,"record_length":96,"hex_timestamp":"000001a06a83b6a0"} 
[2026-09-04 09:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 09:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854236416001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854236416001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:16:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:16:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854236416001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":173218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:16:37] local.INFO: GPS data processed {"connection_id":173218,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:16:37] local.INFO: Acknowledgment sent {"connection_id":173218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:16:38] local.INFO: TCP Data received {"connection_id":170523,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:16:38] local.INFO: Processing buffer {"connection_id":170523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:16:38] local.INFO: IMEI packet received {"connection_id":170523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":170523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:16:59] local.INFO: TCP Data received {"connection_id":173219,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:16:59] local.INFO: Processing buffer {"connection_id":173219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:16:59] local.INFO: IMEI packet received {"connection_id":173219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":173219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:17:05] local.INFO: TCP Data received {"connection_id":173219,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:17:05] local.INFO: Processing buffer {"connection_id":173219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:17:05] local.INFO: IMEI packet received {"connection_id":173219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":173219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:17:05] local.INFO: TCP Data received {"connection_id":173219,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:17:05] local.INFO: Processing buffer {"connection_id":173219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:17:05] local.INFO: Packet analysis {"connection_id":173219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:17:05] local.INFO: Extracted packet for processing {"connection_id":173219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:17:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":53,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854236416001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:17:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788493412000,"timestamp_ms":1788493412000,"timestamp_seconds":1788493412,"priority":1,"record_length":96,"hex_timestamp":"000001a06a83b6a0"} 
[2026-09-04 09:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 09:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854236416001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854236416001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:17:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854236416001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":173219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:17:06] local.INFO: GPS data processed {"connection_id":173219,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:17:06] local.INFO: Acknowledgment sent {"connection_id":173219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:17:37] local.INFO: TCP Data received {"connection_id":173219,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:17:37] local.INFO: Processing buffer {"connection_id":173219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:17:37] local.INFO: Packet analysis {"connection_id":173219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:17:37] local.INFO: Extracted packet for processing {"connection_id":173219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:17:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":53,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854236416001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:17:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788493412000,"timestamp_ms":1788493412000,"timestamp_seconds":1788493412,"priority":1,"record_length":96,"hex_timestamp":"000001a06a83b6a0"} 
[2026-09-04 09:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 09:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854236416001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854236416001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:17:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:17:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854236416001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":173219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:17:37] local.INFO: GPS data processed {"connection_id":173219,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:17:37] local.INFO: Acknowledgment sent {"connection_id":173219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:17:59] local.INFO: TCP Data received {"connection_id":170525,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:17:59] local.INFO: Processing buffer {"connection_id":170525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:17:59] local.INFO: IMEI packet received {"connection_id":170525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":170525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:18:05] local.INFO: TCP Data received {"connection_id":170525,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:18:05] local.INFO: Processing buffer {"connection_id":170525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:18:05] local.INFO: IMEI packet received {"connection_id":170525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":170525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:18:06] local.INFO: TCP Data received {"connection_id":170525,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:18:06] local.INFO: Processing buffer {"connection_id":170525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:18:06] local.INFO: Packet analysis {"connection_id":170525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:18:06] local.INFO: Extracted packet for processing {"connection_id":170525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":53,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854236416001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:18:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788493412000,"timestamp_ms":1788493412000,"timestamp_seconds":1788493412,"priority":1,"record_length":96,"hex_timestamp":"000001a06a83b6a0"} 
[2026-09-04 09:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 09:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854236416001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854236416001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:18:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:18:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854236416001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":170525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:18:06] local.INFO: GPS data processed {"connection_id":170525,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:18:06] local.INFO: Acknowledgment sent {"connection_id":170525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:18:37] local.INFO: TCP Data received {"connection_id":170525,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:18:37] local.INFO: Processing buffer {"connection_id":170525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:18:37] local.INFO: Packet analysis {"connection_id":170525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:18:37] local.INFO: Extracted packet for processing {"connection_id":170525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:18:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":53,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854236416001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:18:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788493412000,"timestamp_ms":1788493412000,"timestamp_seconds":1788493412,"priority":1,"record_length":96,"hex_timestamp":"000001a06a83b6a0"} 
[2026-09-04 09:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 09:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854236416001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854236416001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:18:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:18:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854236416001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":170525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:18:37] local.INFO: GPS data processed {"connection_id":170525,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:18:37] local.INFO: Acknowledgment sent {"connection_id":170525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:18:59] local.INFO: TCP Data received {"connection_id":173220,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:18:59] local.INFO: Processing buffer {"connection_id":173220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:18:59] local.INFO: IMEI packet received {"connection_id":173220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":173220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:19:05] local.INFO: TCP Data received {"connection_id":173220,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:19:05] local.INFO: Processing buffer {"connection_id":173220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:19:05] local.INFO: IMEI packet received {"connection_id":173220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":173220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:19:05] local.INFO: TCP Data received {"connection_id":173220,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:19:05] local.INFO: Processing buffer {"connection_id":173220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a83b6a0012cee7040072e2dc00035000027..."} 
[2026-09-04 09:19:05] local.INFO: Packet analysis {"connection_id":173220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:19:05] local.INFO: Extracted packet for processing {"connection_id":173220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a83"} 
[2026-09-04 09:19:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":53,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854236416001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:19:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788493412000,"timestamp_ms":1788493412000,"timestamp_seconds":1788493412,"priority":1,"record_length":96,"hex_timestamp":"000001a06a83b6a0"} 
[2026-09-04 09:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 09:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854236416001,"66":25680,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854236416001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:19:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:19:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854236416001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":173220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:19:05] local.INFO: GPS data processed {"connection_id":173220,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:19:05] local.INFO: Acknowledgment sent {"connection_id":173220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:19:36] local.INFO: TCP Data received {"connection_id":173220,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:19:36] local.INFO: Processing buffer {"connection_id":173220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:19:36] local.INFO: Packet analysis {"connection_id":173220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:19:36] local.INFO: Extracted packet for processing {"connection_id":173220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:19:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854313472001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:19:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788493713000,"timestamp_ms":1788493713000,"timestamp_seconds":1788493713,"priority":1,"record_length":96,"hex_timestamp":"000001a06a884e68"} 
[2026-09-04 09:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854313472001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854313472001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:19:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:19:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854313472001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":173220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:19:36] local.INFO: GPS data processed {"connection_id":173220,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:19:36] local.INFO: Acknowledgment sent {"connection_id":173220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:19:59] local.INFO: TCP Data received {"connection_id":173221,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:19:59] local.INFO: Processing buffer {"connection_id":173221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:19:59] local.INFO: IMEI packet received {"connection_id":173221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":173221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:20:05] local.INFO: TCP Data received {"connection_id":173221,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:20:05] local.INFO: Processing buffer {"connection_id":173221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:20:05] local.INFO: IMEI packet received {"connection_id":173221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":173221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:20:05] local.INFO: TCP Data received {"connection_id":173221,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:20:05] local.INFO: Processing buffer {"connection_id":173221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:20:05] local.INFO: Packet analysis {"connection_id":173221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:20:05] local.INFO: Extracted packet for processing {"connection_id":173221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:20:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854313472001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:20:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788493713000,"timestamp_ms":1788493713000,"timestamp_seconds":1788493713,"priority":1,"record_length":96,"hex_timestamp":"000001a06a884e68"} 
[2026-09-04 09:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854313472001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854313472001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:20:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:20:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854313472001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":173221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:20:05] local.INFO: GPS data processed {"connection_id":173221,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:20:05] local.INFO: Acknowledgment sent {"connection_id":173221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:20:36] local.INFO: TCP Data received {"connection_id":173221,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:20:36] local.INFO: Processing buffer {"connection_id":173221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:20:36] local.INFO: Packet analysis {"connection_id":173221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:20:36] local.INFO: Extracted packet for processing {"connection_id":173221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:20:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854313472001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:20:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788493713000,"timestamp_ms":1788493713000,"timestamp_seconds":1788493713,"priority":1,"record_length":96,"hex_timestamp":"000001a06a884e68"} 
[2026-09-04 09:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854313472001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854313472001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:20:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:20:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854313472001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":173221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:20:36] local.INFO: GPS data processed {"connection_id":173221,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:20:36] local.INFO: Acknowledgment sent {"connection_id":173221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:21:00] local.INFO: TCP Data received {"connection_id":173222,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:21:00] local.INFO: Processing buffer {"connection_id":173222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:21:00] local.INFO: IMEI packet received {"connection_id":173222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":173222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:21:05] local.INFO: TCP Data received {"connection_id":173222,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:21:05] local.INFO: Processing buffer {"connection_id":173222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:21:05] local.INFO: IMEI packet received {"connection_id":173222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":173222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:21:05] local.INFO: TCP Data received {"connection_id":173222,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:21:05] local.INFO: Processing buffer {"connection_id":173222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:21:05] local.INFO: Packet analysis {"connection_id":173222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:21:05] local.INFO: Extracted packet for processing {"connection_id":173222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:21:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854313472001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:21:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788493713000,"timestamp_ms":1788493713000,"timestamp_seconds":1788493713,"priority":1,"record_length":96,"hex_timestamp":"000001a06a884e68"} 
[2026-09-04 09:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854313472001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854313472001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:21:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:21:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854313472001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":173222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:21:06] local.INFO: GPS data processed {"connection_id":173222,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:21:06] local.INFO: Acknowledgment sent {"connection_id":173222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:21:37] local.INFO: TCP Data received {"connection_id":173222,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:21:37] local.INFO: Processing buffer {"connection_id":173222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:21:37] local.INFO: Packet analysis {"connection_id":173222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:21:37] local.INFO: Extracted packet for processing {"connection_id":173222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:21:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854313472001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788493713000,"timestamp_ms":1788493713000,"timestamp_seconds":1788493713,"priority":1,"record_length":96,"hex_timestamp":"000001a06a884e68"} 
[2026-09-04 09:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854313472001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854313472001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:21:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854313472001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":173222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:21:37] local.INFO: GPS data processed {"connection_id":173222,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:21:37] local.INFO: Acknowledgment sent {"connection_id":173222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:21:59] local.INFO: TCP Data received {"connection_id":170526,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:21:59] local.INFO: Processing buffer {"connection_id":170526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:21:59] local.INFO: IMEI packet received {"connection_id":170526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":170526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:22:01] local.INFO: TCP Data received {"connection_id":171921,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 09:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 09:22:01] local.INFO: Processing buffer {"connection_id":171921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 09:22:01] local.INFO: IMEI packet received {"connection_id":171921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 09:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":171921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:22:03] local.INFO: TCP Data received {"connection_id":170821,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:22:03] local.INFO: Processing buffer {"connection_id":170821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:22:03] local.INFO: IMEI packet received {"connection_id":170821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":170821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:22:05] local.INFO: TCP Data received {"connection_id":170526,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:22:05] local.INFO: Processing buffer {"connection_id":170526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:22:05] local.INFO: IMEI packet received {"connection_id":170526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":170526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:22:05] local.INFO: TCP Data received {"connection_id":170526,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:22:05] local.INFO: Processing buffer {"connection_id":170526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:22:05] local.INFO: Packet analysis {"connection_id":170526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:22:05] local.INFO: Extracted packet for processing {"connection_id":170526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:22:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854313472001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788493713000,"timestamp_ms":1788493713000,"timestamp_seconds":1788493713,"priority":1,"record_length":96,"hex_timestamp":"000001a06a884e68"} 
[2026-09-04 09:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854313472001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854313472001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:22:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:22:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854313472001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":170526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:22:05] local.INFO: GPS data processed {"connection_id":170526,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:22:05] local.INFO: Acknowledgment sent {"connection_id":170526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:22:07] local.INFO: TCP Data received {"connection_id":171921,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 09:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 09:22:07] local.INFO: Processing buffer {"connection_id":171921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 09:22:07] local.INFO: IMEI packet received {"connection_id":171921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 09:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":171921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:22:08] local.INFO: TCP Data received {"connection_id":171921,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-04 09:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171921,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-04 09:22:08] local.INFO: Processing buffer {"connection_id":171921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-04 09:22:08] local.INFO: Packet analysis {"connection_id":171921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 09:22:08] local.INFO: Extracted packet for processing {"connection_id":171921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 09:22:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 09:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17106807495327744,"note":"Value kept but may cause issues"} 
[2026-09-04 09:22:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 09:22:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 09:22:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 09:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171921,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171921,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 09:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171921,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 09:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 09:22:08] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 09:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":171921,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 09:22:08] local.ERROR: GPS data processing failed {"connection_id":171921,"error":"No valid data to process"} 
[2026-09-04 09:22:08] local.INFO: Acknowledgment sent {"connection_id":171921,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 09:22:36] local.INFO: TCP Data received {"connection_id":170526,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:22:36] local.INFO: Processing buffer {"connection_id":170526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:22:36] local.INFO: Packet analysis {"connection_id":170526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:22:36] local.INFO: Extracted packet for processing {"connection_id":170526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:22:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854313472001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:22:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788493713000,"timestamp_ms":1788493713000,"timestamp_seconds":1788493713,"priority":1,"record_length":96,"hex_timestamp":"000001a06a884e68"} 
[2026-09-04 09:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854313472001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854313472001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:22:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:22:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854313472001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":170526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:22:36] local.INFO: GPS data processed {"connection_id":170526,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:22:36] local.INFO: Acknowledgment sent {"connection_id":170526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:22:38] local.INFO: TCP Data received {"connection_id":171921,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-04 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-04 09:22:38] local.INFO: Processing buffer {"connection_id":171921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-04 09:22:38] local.INFO: Packet analysis {"connection_id":171921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-04 09:22:38] local.INFO: Extracted packet for processing {"connection_id":171921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-04 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 09:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17106807495327744,"note":"Value kept but may cause issues"} 
[2026-09-04 09:22:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 09:22:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 09:22:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 09:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171921,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171921,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 09:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171921,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 09:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 09:22:38] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 09:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":171921,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 09:22:38] local.ERROR: GPS data processing failed {"connection_id":171921,"error":"No valid data to process"} 
[2026-09-04 09:22:38] local.INFO: Acknowledgment sent {"connection_id":171921,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 09:22:38] local.INFO: TCP Data received {"connection_id":173223,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:22:38] local.INFO: Processing buffer {"connection_id":173223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:22:38] local.INFO: IMEI packet received {"connection_id":173223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":173223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:22:59] local.INFO: TCP Data received {"connection_id":171922,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:22:59] local.INFO: Processing buffer {"connection_id":171922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:22:59] local.INFO: IMEI packet received {"connection_id":171922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":171922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:23:05] local.INFO: TCP Data received {"connection_id":171922,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:23:05] local.INFO: Processing buffer {"connection_id":171922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:23:05] local.INFO: IMEI packet received {"connection_id":171922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":171922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:23:05] local.INFO: TCP Data received {"connection_id":171922,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:23:05] local.INFO: Processing buffer {"connection_id":171922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:23:05] local.INFO: Packet analysis {"connection_id":171922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:23:05] local.INFO: Extracted packet for processing {"connection_id":171922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:23:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854313472001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:23:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788493713000,"timestamp_ms":1788493713000,"timestamp_seconds":1788493713,"priority":1,"record_length":96,"hex_timestamp":"000001a06a884e68"} 
[2026-09-04 09:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854313472001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854313472001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:23:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:23:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854313472001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":171922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:23:06] local.INFO: GPS data processed {"connection_id":171922,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:23:06] local.INFO: Acknowledgment sent {"connection_id":171922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:23:09] local.INFO: TCP Data received {"connection_id":171921,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06a8c0b70012d196380071ff0f00035000007..."} 
[2026-09-04 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a8c0b70012d196380071ff0f00035000007..."} 
[2026-09-04 09:23:09] local.INFO: Processing buffer {"connection_id":171921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a8c0b70012d196380071ff0f00035000007..."} 
[2026-09-04 09:23:09] local.INFO: Packet analysis {"connection_id":171921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a8c"} 
[2026-09-04 09:23:09] local.INFO: Extracted packet for processing {"connection_id":171921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a8c"} 
[2026-09-04 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533808,"longitude_deg":75.6638592,"latitude_deg":11.9533808,"altitude":53,"angle":0,"satellites":7,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-09-04 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17106807495327744,"note":"Value kept but may cause issues"} 
[2026-09-04 09:23:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 09:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788493958000,"timestamp_ms":1788493958000,"timestamp_seconds":1788493958,"priority":1,"record_length":96,"hex_timestamp":"000001a06a8c0b70"} 
[2026-09-04 09:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-04 09:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 09:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 09:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 09:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 09:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14265,"102":206,"83":41984,"24":0,"16":17106807495327744},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16]} 
[2026-09-04 09:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 09:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 09:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-04 09:23:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 09:23:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 09:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17106807495327744,"km_value":17106807495327.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:23:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-09-04 09:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":171921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:23:09] local.INFO: GPS data processed {"connection_id":171921,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:23:09] local.INFO: Acknowledgment sent {"connection_id":171921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:23:37] local.INFO: TCP Data received {"connection_id":171922,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:23:37] local.INFO: Processing buffer {"connection_id":171922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:23:37] local.INFO: Packet analysis {"connection_id":171922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:23:37] local.INFO: Extracted packet for processing {"connection_id":171922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:23:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854313472001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788493713000,"timestamp_ms":1788493713000,"timestamp_seconds":1788493713,"priority":1,"record_length":96,"hex_timestamp":"000001a06a884e68"} 
[2026-09-04 09:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854313472001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854313472001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:23:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854313472001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":171922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:23:37] local.INFO: GPS data processed {"connection_id":171922,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:23:37] local.INFO: Acknowledgment sent {"connection_id":171922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:23:59] local.INFO: TCP Data received {"connection_id":170823,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:23:59] local.INFO: Processing buffer {"connection_id":170823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:23:59] local.INFO: IMEI packet received {"connection_id":170823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":170823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:24:05] local.INFO: TCP Data received {"connection_id":170823,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:24:05] local.INFO: Processing buffer {"connection_id":170823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:24:05] local.INFO: IMEI packet received {"connection_id":170823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":170823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:24:05] local.INFO: TCP Data received {"connection_id":170823,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:24:05] local.INFO: Processing buffer {"connection_id":170823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a884e68012cee7040072e2dc00039000029..."} 
[2026-09-04 09:24:05] local.INFO: Packet analysis {"connection_id":170823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:24:05] local.INFO: Extracted packet for processing {"connection_id":170823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a88"} 
[2026-09-04 09:24:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854313472001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:24:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788493713000,"timestamp_ms":1788493713000,"timestamp_seconds":1788493713,"priority":1,"record_length":96,"hex_timestamp":"000001a06a884e68"} 
[2026-09-04 09:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 09:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854313472001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854313472001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:24:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:24:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854313472001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":170823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:24:05] local.INFO: GPS data processed {"connection_id":170823,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:24:05] local.INFO: Acknowledgment sent {"connection_id":170823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:24:36] local.INFO: TCP Data received {"connection_id":170823,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:24:36] local.INFO: Processing buffer {"connection_id":170823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:24:36] local.INFO: Packet analysis {"connection_id":170823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a8c"} 
[2026-09-04 09:24:36] local.INFO: Extracted packet for processing {"connection_id":170823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a8c"} 
[2026-09-04 09:24:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854390528001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:24:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788494014000,"timestamp_ms":1788494014000,"timestamp_seconds":1788494014,"priority":1,"record_length":96,"hex_timestamp":"000001a06a8ce630"} 
[2026-09-04 09:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 09:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854390528001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854390528001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:24:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:24:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854390528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":170823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:24:36] local.INFO: GPS data processed {"connection_id":170823,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:24:36] local.INFO: Acknowledgment sent {"connection_id":170823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:25:00] local.INFO: TCP Data received {"connection_id":170824,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:25:00] local.INFO: Processing buffer {"connection_id":170824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:25:00] local.INFO: IMEI packet received {"connection_id":170824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":170824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:25:05] local.INFO: TCP Data received {"connection_id":170824,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:25:05] local.INFO: Processing buffer {"connection_id":170824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:25:05] local.INFO: IMEI packet received {"connection_id":170824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":170824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:25:06] local.INFO: TCP Data received {"connection_id":170824,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:25:06] local.INFO: Processing buffer {"connection_id":170824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:25:06] local.INFO: Packet analysis {"connection_id":170824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a8c"} 
[2026-09-04 09:25:06] local.INFO: Extracted packet for processing {"connection_id":170824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a8c"} 
[2026-09-04 09:25:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854390528001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:25:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788494014000,"timestamp_ms":1788494014000,"timestamp_seconds":1788494014,"priority":1,"record_length":96,"hex_timestamp":"000001a06a8ce630"} 
[2026-09-04 09:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 09:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854390528001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854390528001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:25:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:25:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854390528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":170824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:25:06] local.INFO: GPS data processed {"connection_id":170824,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:25:06] local.INFO: Acknowledgment sent {"connection_id":170824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:25:37] local.INFO: TCP Data received {"connection_id":170824,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:25:37] local.INFO: Processing buffer {"connection_id":170824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:25:37] local.INFO: Packet analysis {"connection_id":170824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a8c"} 
[2026-09-04 09:25:37] local.INFO: Extracted packet for processing {"connection_id":170824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a8c"} 
[2026-09-04 09:25:37] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854390528001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:25:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788494014000,"timestamp_ms":1788494014000,"timestamp_seconds":1788494014,"priority":1,"record_length":96,"hex_timestamp":"000001a06a8ce630"} 
[2026-09-04 09:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 09:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854390528001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854390528001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:25:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:25:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854390528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":170824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:25:37] local.INFO: GPS data processed {"connection_id":170824,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:25:37] local.INFO: Acknowledgment sent {"connection_id":170824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:25:59] local.INFO: TCP Data received {"connection_id":173224,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:25:59] local.INFO: Processing buffer {"connection_id":173224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:25:59] local.INFO: IMEI packet received {"connection_id":173224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":173224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:26:05] local.INFO: TCP Data received {"connection_id":173224,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:26:05] local.INFO: Processing buffer {"connection_id":173224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:26:05] local.INFO: IMEI packet received {"connection_id":173224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":173224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:26:05] local.INFO: TCP Data received {"connection_id":173224,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:26:05] local.INFO: Processing buffer {"connection_id":173224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:26:05] local.INFO: Packet analysis {"connection_id":173224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a8c"} 
[2026-09-04 09:26:05] local.INFO: Extracted packet for processing {"connection_id":173224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a8c"} 
[2026-09-04 09:26:05] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854390528001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:26:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788494014000,"timestamp_ms":1788494014000,"timestamp_seconds":1788494014,"priority":1,"record_length":96,"hex_timestamp":"000001a06a8ce630"} 
[2026-09-04 09:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 09:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854390528001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854390528001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:26:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:26:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854390528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":173224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:26:05] local.INFO: GPS data processed {"connection_id":173224,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:26:05] local.INFO: Acknowledgment sent {"connection_id":173224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:26:36] local.INFO: TCP Data received {"connection_id":173224,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:26:36] local.INFO: Processing buffer {"connection_id":173224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a8ce630012cee7040072e2dc0003b000029..."} 
[2026-09-04 09:26:36] local.INFO: Packet analysis {"connection_id":173224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a8c"} 
[2026-09-04 09:26:36] local.INFO: Extracted packet for processing {"connection_id":173224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a8c"} 
[2026-09-04 09:26:36] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":59,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854390528001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:26:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788494014000,"timestamp_ms":1788494014000,"timestamp_seconds":1788494014,"priority":1,"record_length":96,"hex_timestamp":"000001a06a8ce630"} 
[2026-09-04 09:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 09:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854390528001,"66":25712,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854390528001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:26:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:26:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854390528001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":173224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:26:37] local.INFO: GPS data processed {"connection_id":173224,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:26:37] local.INFO: Acknowledgment sent {"connection_id":173224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:26:59] local.INFO: TCP Data received {"connection_id":171924,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:26:59] local.INFO: Processing buffer {"connection_id":171924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:26:59] local.INFO: IMEI packet received {"connection_id":171924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":171924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:27:07] local.INFO: TCP Data received {"connection_id":171924,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:27:07] local.INFO: Processing buffer {"connection_id":171924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:27:07] local.INFO: IMEI packet received {"connection_id":171924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":171924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:27:08] local.INFO: TCP Data received {"connection_id":171924,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a8f4b78012cee7040072e2dc00039000029..."} 
[2026-09-04 09:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a8f4b78012cee7040072e2dc00039000029..."} 
[2026-09-04 09:27:08] local.INFO: Processing buffer {"connection_id":171924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a8f4b78012cee7040072e2dc00039000029..."} 
[2026-09-04 09:27:08] local.INFO: Packet analysis {"connection_id":171924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a8f"} 
[2026-09-04 09:27:08] local.INFO: Extracted packet for processing {"connection_id":171924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a8f"} 
[2026-09-04 09:27:08] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466880,"longitude_deg":75.3823808,"latitude_deg":12.046688,"altitude":57,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2cee7040","hex_latitude":"072e2dc0","is_valid_coordinates":true} 
[2026-09-04 09:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854467584001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:27:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788494171000,"timestamp_ms":1788494171000,"timestamp_seconds":1788494171,"priority":1,"record_length":96,"hex_timestamp":"000001a06a8f4b78"} 
[2026-09-04 09:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 09:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-04 09:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854467584001,"66":25734,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854467584001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:27:08] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:27:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:27:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854467584001,"power":25734,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":171924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:27:08] local.INFO: GPS data processed {"connection_id":171924,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:27:08] local.INFO: Acknowledgment sent {"connection_id":171924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:27:39] local.INFO: TCP Data received {"connection_id":171924,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a8f5348012cee7100072e2d080039004c29..."} 
[2026-09-04 09:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a8f5348012cee7100072e2d080039004c29..."} 
[2026-09-04 09:27:39] local.INFO: Processing buffer {"connection_id":171924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a8f5348012cee7100072e2d080039004c29..."} 
[2026-09-04 09:27:39] local.INFO: Packet analysis {"connection_id":171924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a8f"} 
[2026-09-04 09:27:39] local.INFO: Extracted packet for processing {"connection_id":171924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a8f"} 
[2026-09-04 09:27:39] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466696,"longitude_deg":75.3824,"latitude_deg":12.0466696,"altitude":57,"angle":76,"satellites":41,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2d08","is_valid_coordinates":true} 
[2026-09-04 09:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854507776001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628149573091328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:27:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707410432,"note":"Value kept but may cause issues"} 
[2026-09-04 09:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788494173000,"timestamp_ms":1788494173000,"timestamp_seconds":1788494173,"priority":1,"record_length":96,"hex_timestamp":"000001a06a8f5348"} 
[2026-09-04 09:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 09:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854507776001,"66":25549,"219":206,"83":44032,"24":0,"16":397628149573091328,"44":-1265441095707410432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-04 09:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854507776001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:27:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-04 09:27:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628149573091328,"km_value":397628149573091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:27:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707410432,"description":"Unknown IO ID 44"} 
[2026-09-04 09:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854507776001,"power":25549,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265441095707410432}} 
[2026-09-04 09:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":171924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:27:39] local.INFO: GPS data processed {"connection_id":171924,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:27:39] local.INFO: Acknowledgment sent {"connection_id":171924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:27:59] local.INFO: TCP Data received {"connection_id":171925,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:27:59] local.INFO: Processing buffer {"connection_id":171925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:27:59] local.INFO: IMEI packet received {"connection_id":171925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":171925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:27:59] local.INFO: TCP Data received {"connection_id":171925,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:27:59] local.INFO: Processing buffer {"connection_id":171925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:27:59] local.INFO: IMEI packet received {"connection_id":171925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":171925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:28:02] local.INFO: TCP Data received {"connection_id":171925,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:28:02] local.INFO: Processing buffer {"connection_id":171925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:28:02] local.INFO: IMEI packet received {"connection_id":171925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":171925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:28:05] local.INFO: TCP Data received {"connection_id":170528,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:28:05] local.INFO: Processing buffer {"connection_id":170528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:28:05] local.INFO: IMEI packet received {"connection_id":170528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":170528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:28:08] local.INFO: TCP Data received {"connection_id":171925,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:28:08] local.INFO: Processing buffer {"connection_id":171925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:28:08] local.INFO: IMEI packet received {"connection_id":171925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":171925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:28:09] local.INFO: TCP Data received {"connection_id":171925,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a9031f0012cee6b00072e3300003a011d28..."} 
[2026-09-04 09:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a9031f0012cee6b00072e3300003a011d28..."} 
[2026-09-04 09:28:09] local.INFO: Processing buffer {"connection_id":171925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a9031f0012cee6b00072e3300003a011d28..."} 
[2026-09-04 09:28:09] local.INFO: Packet analysis {"connection_id":171925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a90"} 
[2026-09-04 09:28:09] local.INFO: Extracted packet for processing {"connection_id":171925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a90"} 
[2026-09-04 09:28:09] local.INFO: GPS Element Parsed {"raw_longitude":753822464,"raw_latitude":120468224,"longitude_deg":75.3822464,"latitude_deg":12.0468224,"altitude":58,"angle":285,"satellites":40,"speed":14,"hex_longitude":"2cee6b00","hex_latitude":"072e3300","is_valid_coordinates":true} 
[2026-09-04 09:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854522112001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628317076815872,"note":"Value kept but may cause issues"} 
[2026-09-04 09:28:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265792939428003840,"note":"Value kept but may cause issues"} 
[2026-09-04 09:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788494230000,"timestamp_ms":1788494230000,"timestamp_seconds":1788494230,"priority":1,"record_length":96,"hex_timestamp":"000001a06a9031f0"} 
[2026-09-04 09:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 09:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854522112001,"66":27930,"229":206,"83":44032,"24":14,"16":397628317076815872,"44":-1265792939428003840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-04 09:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854522112001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:28:09] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 09:28:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628317076815872,"km_value":397628317076815.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:28:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265792939428003840,"description":"Unknown IO ID 44"} 
[2026-09-04 09:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854522112001,"power":27930,"unknown_229":206,"unknown_83":44032,"ignition":14,"odometer":null,"unknown_44":-1265792939428003840}} 
[2026-09-04 09:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":171925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:28:09] local.INFO: GPS data processed {"connection_id":171925,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:28:09] local.INFO: Acknowledgment sent {"connection_id":171925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:28:38] local.INFO: TCP Data received {"connection_id":170825,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:28:38] local.INFO: Processing buffer {"connection_id":170825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:28:38] local.INFO: IMEI packet received {"connection_id":170825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":170825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:28:39] local.INFO: TCP Data received {"connection_id":171925,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a904960012cee61c0072e3538003a011026..."} 
[2026-09-04 09:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a904960012cee61c0072e3538003a011026..."} 
[2026-09-04 09:28:39] local.INFO: Processing buffer {"connection_id":171925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a904960012cee61c0072e3538003a011026..."} 
[2026-09-04 09:28:39] local.INFO: Packet analysis {"connection_id":171925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a90"} 
[2026-09-04 09:28:39] local.INFO: Extracted packet for processing {"connection_id":171925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a90"} 
[2026-09-04 09:28:39] local.INFO: GPS Element Parsed {"raw_longitude":753820096,"raw_latitude":120468792,"longitude_deg":75.3820096,"latitude_deg":12.0468792,"altitude":58,"angle":272,"satellites":38,"speed":16,"hex_longitude":"2cee61c0","hex_latitude":"072e3538","is_valid_coordinates":true} 
[2026-09-04 09:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854522880001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628433040932864,"note":"Value kept but may cause issues"} 
[2026-09-04 09:28:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266918839334797312,"note":"Value kept but may cause issues"} 
[2026-09-04 09:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788494236000,"timestamp_ms":1788494236000,"timestamp_seconds":1788494236,"priority":1,"record_length":96,"hex_timestamp":"000001a06a904960"} 
[2026-09-04 09:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 09:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854522880001,"66":27908,"229":206,"83":44032,"24":16,"16":397628433040932864,"44":-1266918839334797312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-04 09:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854522880001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:28:39] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 09:28:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628433040932864,"km_value":397628433040932.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:28:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266918839334797312,"description":"Unknown IO ID 44"} 
[2026-09-04 09:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854522880001,"power":27908,"unknown_229":206,"unknown_83":44032,"ignition":16,"odometer":null,"unknown_44":-1266918839334797312}} 
[2026-09-04 09:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":171925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:28:39] local.INFO: GPS data processed {"connection_id":171925,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:28:39] local.INFO: Acknowledgment sent {"connection_id":171925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:28:59] local.INFO: TCP Data received {"connection_id":170826,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:28:59] local.INFO: Processing buffer {"connection_id":170826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:28:59] local.INFO: IMEI packet received {"connection_id":170826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":170826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:29:05] local.INFO: TCP Data received {"connection_id":170826,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:29:05] local.INFO: Processing buffer {"connection_id":170826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:29:05] local.INFO: IMEI packet received {"connection_id":170826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":170826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:29:06] local.INFO: TCP Data received {"connection_id":170826,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a905518012cee5cc0072e34f8003a010426..."} 
[2026-09-04 09:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a905518012cee5cc0072e34f8003a010426..."} 
[2026-09-04 09:29:06] local.INFO: Processing buffer {"connection_id":170826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a905518012cee5cc0072e34f8003a010426..."} 
[2026-09-04 09:29:06] local.INFO: Packet analysis {"connection_id":170826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a90"} 
[2026-09-04 09:29:06] local.INFO: Extracted packet for processing {"connection_id":170826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a90"} 
[2026-09-04 09:29:06] local.INFO: GPS Element Parsed {"raw_longitude":753818816,"raw_latitude":120468728,"longitude_deg":75.3818816,"latitude_deg":12.0468728,"altitude":58,"angle":260,"satellites":38,"speed":17,"hex_longitude":"2cee5cc0","hex_latitude":"072e34f8","is_valid_coordinates":true} 
[2026-09-04 09:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854524416001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628493170475008,"note":"Value kept but may cause issues"} 
[2026-09-04 09:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1269522482869225472,"note":"Value kept but may cause issues"} 
[2026-09-04 09:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788494239000,"timestamp_ms":1788494239000,"timestamp_seconds":1788494239,"priority":1,"record_length":96,"hex_timestamp":"000001a06a905518"} 
[2026-09-04 09:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 09:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854524416001,"66":27876,"229":206,"83":44032,"24":17,"16":397628493170475008,"44":-1269522482869225472},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-04 09:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854524416001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:29:06] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 09:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628493170475008,"km_value":397628493170475.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1269522482869225472,"description":"Unknown IO ID 44"} 
[2026-09-04 09:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854524416001,"power":27876,"unknown_229":206,"unknown_83":44032,"ignition":17,"odometer":null,"unknown_44":-1269522482869225472}} 
[2026-09-04 09:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":170826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:29:06] local.INFO: GPS data processed {"connection_id":170826,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:29:06] local.INFO: Acknowledgment sent {"connection_id":170826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:29:37] local.INFO: TCP Data received {"connection_id":170826,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a905ce8012cee5980072e3440003b00f826..."} 
[2026-09-04 09:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a905ce8012cee5980072e3440003b00f826..."} 
[2026-09-04 09:29:37] local.INFO: Processing buffer {"connection_id":170826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a905ce8012cee5980072e3440003b00f826..."} 
[2026-09-04 09:29:37] local.INFO: Packet analysis {"connection_id":170826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a90"} 
[2026-09-04 09:29:37] local.INFO: Extracted packet for processing {"connection_id":170826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a90"} 
[2026-09-04 09:29:37] local.INFO: GPS Element Parsed {"raw_longitude":753817984,"raw_latitude":120468544,"longitude_deg":75.3817984,"latitude_deg":12.0468544,"altitude":59,"angle":248,"satellites":38,"speed":17,"hex_longitude":"2cee5980","hex_latitude":"072e3440","is_valid_coordinates":true} 
[2026-09-04 09:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854525184001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628536120147968,"note":"Value kept but may cause issues"} 
[2026-09-04 09:29:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1270929857752795136,"note":"Value kept but may cause issues"} 
[2026-09-04 09:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788494241000,"timestamp_ms":1788494241000,"timestamp_seconds":1788494241,"priority":1,"record_length":96,"hex_timestamp":"000001a06a905ce8"} 
[2026-09-04 09:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 09:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854525184001,"66":27995,"229":206,"83":44032,"24":17,"16":397628536120147968,"44":-1270929857752795136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-04 09:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854525184001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:29:37] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 09:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628536120147968,"km_value":397628536120147.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:29:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1270929857752795136,"description":"Unknown IO ID 44"} 
[2026-09-04 09:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854525184001,"power":27995,"unknown_229":206,"unknown_83":44032,"ignition":17,"odometer":null,"unknown_44":-1270929857752795136}} 
[2026-09-04 09:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":170826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:29:37] local.INFO: GPS data processed {"connection_id":170826,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:29:37] local.INFO: Acknowledgment sent {"connection_id":170826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:29:59] local.INFO: TCP Data received {"connection_id":173226,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:29:59] local.INFO: Processing buffer {"connection_id":173226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:29:59] local.INFO: IMEI packet received {"connection_id":173226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":173226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:30:05] local.INFO: TCP Data received {"connection_id":173226,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:30:05] local.INFO: Processing buffer {"connection_id":173226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:30:05] local.INFO: IMEI packet received {"connection_id":173226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":173226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:30:06] local.INFO: TCP Data received {"connection_id":173226,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a9068a0012cee5480072e3210003a00ec26..."} 
[2026-09-04 09:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a9068a0012cee5480072e3210003a00ec26..."} 
[2026-09-04 09:30:06] local.INFO: Processing buffer {"connection_id":173226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a9068a0012cee5480072e3210003a00ec26..."} 
[2026-09-04 09:30:06] local.INFO: Packet analysis {"connection_id":173226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a90"} 
[2026-09-04 09:30:06] local.INFO: Extracted packet for processing {"connection_id":173226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a90"} 
[2026-09-04 09:30:06] local.INFO: GPS Element Parsed {"raw_longitude":753816704,"raw_latitude":120467984,"longitude_deg":75.3816704,"latitude_deg":12.0467984,"altitude":58,"angle":236,"satellites":38,"speed":17,"hex_longitude":"2cee5480","hex_latitude":"072e3210","is_valid_coordinates":true} 
[2026-09-04 09:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854525696001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397628600544657408,"note":"Value kept but may cause issues"} 
[2026-09-04 09:30:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271844651427151872,"note":"Value kept but may cause issues"} 
[2026-09-04 09:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788494244000,"timestamp_ms":1788494244000,"timestamp_seconds":1788494244,"priority":1,"record_length":96,"hex_timestamp":"000001a06a9068a0"} 
[2026-09-04 09:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 09:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854525696001,"66":27887,"229":206,"83":44032,"24":17,"16":397628600544657408,"44":-1271844651427151872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-04 09:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854525696001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:30:06] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 09:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397628600544657408,"km_value":397628600544657.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:30:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271844651427151872,"description":"Unknown IO ID 44"} 
[2026-09-04 09:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854525696001,"power":27887,"unknown_229":206,"unknown_83":44032,"ignition":17,"odometer":null,"unknown_44":-1271844651427151872}} 
[2026-09-04 09:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":173226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:30:06] local.INFO: GPS data processed {"connection_id":173226,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:30:06] local.INFO: Acknowledgment sent {"connection_id":173226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:30:37] local.INFO: TCP Data received {"connection_id":173226,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a9254d0012ced2240072da790004b00f828..."} 
[2026-09-04 09:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a9254d0012ced2240072da790004b00f828..."} 
[2026-09-04 09:30:37] local.INFO: Processing buffer {"connection_id":173226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a9254d0012ced2240072da790004b00f828..."} 
[2026-09-04 09:30:37] local.INFO: Packet analysis {"connection_id":173226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a92"} 
[2026-09-04 09:30:37] local.INFO: Extracted packet for processing {"connection_id":173226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a92"} 
[2026-09-04 09:30:37] local.INFO: GPS Element Parsed {"raw_longitude":753738304,"raw_latitude":120432528,"longitude_deg":75.3738304,"latitude_deg":12.0432528,"altitude":75,"angle":248,"satellites":40,"speed":43,"hex_longitude":"2ced2240","hex_latitude":"072da790","is_valid_coordinates":true} 
[2026-09-04 09:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854558720001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397632728008228864,"note":"Value kept but may cause issues"} 
[2026-09-04 09:30:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359453737937563648,"note":"Value kept but may cause issues"} 
[2026-09-04 09:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788494370000,"timestamp_ms":1788494370000,"timestamp_seconds":1788494370,"priority":1,"record_length":96,"hex_timestamp":"000001a06a9254d0"} 
[2026-09-04 09:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 09:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854558720001,"66":27843,"112":206,"83":44032,"24":43,"16":397632728008228864,"44":-1359453737937563648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-04 09:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854558720001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:30:37] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 09:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397632728008228864,"km_value":397632728008228.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:30:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359453737937563648,"description":"Unknown IO ID 44"} 
[2026-09-04 09:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854558720001,"power":27843,"unknown_112":206,"unknown_83":44032,"ignition":43,"odometer":null,"unknown_44":-1359453737937563648}} 
[2026-09-04 09:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":173226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:30:37] local.INFO: GPS data processed {"connection_id":173226,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:30:37] local.INFO: Acknowledgment sent {"connection_id":173226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:31:10] local.INFO: TCP Data received {"connection_id":170529,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:31:10] local.INFO: Processing buffer {"connection_id":170529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:31:10] local.INFO: IMEI packet received {"connection_id":170529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":170529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:31:14] local.INFO: TCP Data received {"connection_id":170529,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:31:14] local.INFO: Processing buffer {"connection_id":170529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:31:14] local.INFO: IMEI packet received {"connection_id":170529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":170529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:31:15] local.INFO: TCP Data received {"connection_id":170529,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a9277f8012cecff00072d9ae8004600fb29..."} 
[2026-09-04 09:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a9277f8012cecff00072d9ae8004600fb29..."} 
[2026-09-04 09:31:15] local.INFO: Processing buffer {"connection_id":170529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a9277f8012cecff00072d9ae8004600fb29..."} 
[2026-09-04 09:31:15] local.INFO: Packet analysis {"connection_id":170529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a92"} 
[2026-09-04 09:31:15] local.INFO: Extracted packet for processing {"connection_id":170529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a92"} 
[2026-09-04 09:31:15] local.INFO: GPS Element Parsed {"raw_longitude":753729280,"raw_latitude":120429288,"longitude_deg":75.372928,"latitude_deg":12.0429288,"altitude":70,"angle":251,"satellites":41,"speed":40,"hex_longitude":"2cecff00","hex_latitude":"072d9ae8","is_valid_coordinates":true} 
[2026-09-04 09:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854558720001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397633183274762240,"note":"Value kept but may cause issues"} 
[2026-09-04 09:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359453737937563648,"note":"Value kept but may cause issues"} 
[2026-09-04 09:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788494379000,"timestamp_ms":1788494379000,"timestamp_seconds":1788494379,"priority":1,"record_length":96,"hex_timestamp":"000001a06a9277f8"} 
[2026-09-04 09:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 09:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854558720001,"66":27767,"112":206,"83":44032,"24":40,"16":397633183274762240,"44":-1359453737937563648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-04 09:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854558720001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:31:15] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 09:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397633183274762240,"km_value":397633183274762.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359453737937563648,"description":"Unknown IO ID 44"} 
[2026-09-04 09:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854558720001,"power":27767,"unknown_112":206,"unknown_83":44032,"ignition":40,"odometer":null,"unknown_44":-1359453737937563648}} 
[2026-09-04 09:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":170529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:31:15] local.INFO: GPS data processed {"connection_id":170529,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:31:15] local.INFO: Acknowledgment sent {"connection_id":170529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:32:00] local.INFO: TCP Data received {"connection_id":170828,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:32:00] local.INFO: Processing buffer {"connection_id":170828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:32:00] local.INFO: IMEI packet received {"connection_id":170828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":170828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:32:03] local.INFO: TCP Data received {"connection_id":170828,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:32:03] local.INFO: Processing buffer {"connection_id":170828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:32:03] local.INFO: IMEI packet received {"connection_id":170828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":170828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:32:04] local.INFO: TCP Data received {"connection_id":170828,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a929f08012cecda80072d8ee0004300fb2b..."} 
[2026-09-04 09:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a929f08012cecda80072d8ee0004300fb2b..."} 
[2026-09-04 09:32:04] local.INFO: Processing buffer {"connection_id":170828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a929f08012cecda80072d8ee0004300fb2b..."} 
[2026-09-04 09:32:04] local.INFO: Packet analysis {"connection_id":170828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a92"} 
[2026-09-04 09:32:04] local.INFO: Extracted packet for processing {"connection_id":170828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a92"} 
[2026-09-04 09:32:04] local.INFO: GPS Element Parsed {"raw_longitude":753719936,"raw_latitude":120426208,"longitude_deg":75.3719936,"latitude_deg":12.0426208,"altitude":67,"angle":251,"satellites":43,"speed":35,"hex_longitude":"2cecda80","hex_latitude":"072d8ee0","is_valid_coordinates":true} 
[2026-09-04 09:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854561024001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397633651426197504,"note":"Value kept but may cause issues"} 
[2026-09-04 09:32:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1369375730867443712,"note":"Value kept but may cause issues"} 
[2026-09-04 09:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788494389000,"timestamp_ms":1788494389000,"timestamp_seconds":1788494389,"priority":1,"record_length":96,"hex_timestamp":"000001a06a929f08"} 
[2026-09-04 09:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 09:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854561024001,"66":28006,"112":206,"83":44032,"24":35,"16":397633651426197504,"44":-1369375730867443712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-04 09:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854561024001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:32:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 09:32:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397633651426197504,"km_value":397633651426197.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:32:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1369375730867443712,"description":"Unknown IO ID 44"} 
[2026-09-04 09:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854561024001,"power":28006,"unknown_112":206,"unknown_83":44032,"ignition":35,"odometer":null,"unknown_44":-1369375730867443712}} 
[2026-09-04 09:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":170828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:32:04] local.INFO: GPS data processed {"connection_id":170828,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:32:04] local.INFO: Acknowledgment sent {"connection_id":170828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:32:35] local.INFO: TCP Data received {"connection_id":170828,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a92c618012cecb640072d82f0004100fb29..."} 
[2026-09-04 09:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a92c618012cecb640072d82f0004100fb29..."} 
[2026-09-04 09:32:35] local.INFO: Processing buffer {"connection_id":170828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a92c618012cecb640072d82f0004100fb29..."} 
[2026-09-04 09:32:35] local.INFO: Packet analysis {"connection_id":170828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a92"} 
[2026-09-04 09:32:35] local.INFO: Extracted packet for processing {"connection_id":170828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a92"} 
[2026-09-04 09:32:35] local.INFO: GPS Element Parsed {"raw_longitude":753710656,"raw_latitude":120423152,"longitude_deg":75.3710656,"latitude_deg":12.0423152,"altitude":65,"angle":251,"satellites":41,"speed":37,"hex_longitude":"2cecb640","hex_latitude":"072d82f0","is_valid_coordinates":true} 
[2026-09-04 09:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854563584001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397634115282665472,"note":"Value kept but may cause issues"} 
[2026-09-04 09:32:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1379649567518171136,"note":"Value kept but may cause issues"} 
[2026-09-04 09:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788494399000,"timestamp_ms":1788494399000,"timestamp_seconds":1788494399,"priority":1,"record_length":96,"hex_timestamp":"000001a06a92c618"} 
[2026-09-04 09:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 09:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854563584001,"66":27658,"74":206,"83":44032,"24":37,"16":397634115282665472,"44":-1379649567518171136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-09-04 09:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854563584001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:32:35] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 09:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397634115282665472,"km_value":397634115282665.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:32:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1379649567518171136,"description":"Unknown IO ID 44"} 
[2026-09-04 09:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854563584001,"power":27658,"unknown_74":206,"unknown_83":44032,"ignition":37,"odometer":null,"unknown_44":-1379649567518171136}} 
[2026-09-04 09:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":170828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:32:35] local.INFO: GPS data processed {"connection_id":170828,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:32:35] local.INFO: Acknowledgment sent {"connection_id":170828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:32:59] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:32:59] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:32:59] local.INFO: IMEI packet received {"connection_id":173227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":173227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:33:02] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:33:02] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:33:02] local.INFO: IMEI packet received {"connection_id":173227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":173227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:33:05] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:33:05] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:33:05] local.INFO: IMEI packet received {"connection_id":173227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":173227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:33:09] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a92f110012cec9140072d7870003e01062b..."} 
[2026-09-04 09:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a92f110012cec9140072d7870003e01062b..."} 
[2026-09-04 09:33:09] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a92f110012cec9140072d7870003e01062b..."} 
[2026-09-04 09:33:09] local.INFO: Packet analysis {"connection_id":173227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a92"} 
[2026-09-04 09:33:09] local.INFO: Extracted packet for processing {"connection_id":173227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a92"} 
[2026-09-04 09:33:09] local.INFO: GPS Element Parsed {"raw_longitude":753701184,"raw_latitude":120420464,"longitude_deg":75.3701184,"latitude_deg":12.0420464,"altitude":62,"angle":262,"satellites":43,"speed":34,"hex_longitude":"2cec9140","hex_latitude":"072d7870","is_valid_coordinates":true} 
[2026-09-04 09:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854566144001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397634583434100736,"note":"Value kept but may cause issues"} 
[2026-09-04 09:33:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1389853035424714752,"note":"Value kept but may cause issues"} 
[2026-09-04 09:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788494410000,"timestamp_ms":1788494410000,"timestamp_seconds":1788494410,"priority":1,"record_length":96,"hex_timestamp":"000001a06a92f110"} 
[2026-09-04 09:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 09:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854566144001,"66":27865,"74":206,"83":44032,"24":34,"16":397634583434100736,"44":-1389853035424714752},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-09-04 09:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854566144001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:33:09] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 09:33:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397634583434100736,"km_value":397634583434100.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:33:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1389853035424714752,"description":"Unknown IO ID 44"} 
[2026-09-04 09:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854566144001,"power":27865,"unknown_74":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1389853035424714752}} 
[2026-09-04 09:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":173227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:33:09] local.INFO: GPS data processed {"connection_id":173227,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:33:09] local.INFO: Acknowledgment sent {"connection_id":173227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:33:40] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a931ff0012cec6bc0072d7368003d01092c..."} 
[2026-09-04 09:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a931ff0012cec6bc0072d7368003d01092c..."} 
[2026-09-04 09:33:40] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a931ff0012cec6bc0072d7368003d01092c..."} 
[2026-09-04 09:33:40] local.INFO: Packet analysis {"connection_id":173227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a93"} 
[2026-09-04 09:33:40] local.INFO: Extracted packet for processing {"connection_id":173227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a93"} 
[2026-09-04 09:33:40] local.INFO: GPS Element Parsed {"raw_longitude":753691584,"raw_latitude":120419176,"longitude_deg":75.3691584,"latitude_deg":12.0419176,"altitude":61,"angle":265,"satellites":44,"speed":27,"hex_longitude":"2cec6bc0","hex_latitude":"072d7368","is_valid_coordinates":true} 
[2026-09-04 09:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854568960001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397635042995601408,"note":"Value kept but may cause issues"} 
[2026-09-04 09:33:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1400267609563697152,"note":"Value kept but may cause issues"} 
[2026-09-04 09:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788494422000,"timestamp_ms":1788494422000,"timestamp_seconds":1788494422,"priority":1,"record_length":96,"hex_timestamp":"000001a06a931ff0"} 
[2026-09-04 09:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 09:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854568960001,"66":27930,"74":206,"83":44032,"24":27,"16":397635042995601408,"44":-1400267609563697152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-09-04 09:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854568960001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:33:40] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 09:33:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397635042995601408,"km_value":397635042995601.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:33:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1400267609563697152,"description":"Unknown IO ID 44"} 
[2026-09-04 09:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854568960001,"power":27930,"unknown_74":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1400267609563697152}} 
[2026-09-04 09:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":173227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:33:40] local.INFO: GPS data processed {"connection_id":173227,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:33:40] local.INFO: Acknowledgment sent {"connection_id":173227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:33:59] local.INFO: TCP Data received {"connection_id":170829,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:33:59] local.INFO: Processing buffer {"connection_id":170829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:33:59] local.INFO: IMEI packet received {"connection_id":170829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":170829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:34:00] local.INFO: TCP Data received {"connection_id":170829,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:34:00] local.INFO: Processing buffer {"connection_id":170829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:34:00] local.INFO: IMEI packet received {"connection_id":170829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":170829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:34:03] local.INFO: TCP Data received {"connection_id":173228,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:34:03] local.INFO: Processing buffer {"connection_id":173228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:34:03] local.INFO: IMEI packet received {"connection_id":173228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":173228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:34:05] local.INFO: TCP Data received {"connection_id":170829,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:34:05] local.INFO: Processing buffer {"connection_id":170829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:34:05] local.INFO: IMEI packet received {"connection_id":170829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":170829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:34:05] local.INFO: TCP Data received {"connection_id":170829,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a9371f8012cec5a40072d7130003c010f2b..."} 
[2026-09-04 09:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a9371f8012cec5a40072d7130003c010f2b..."} 
[2026-09-04 09:34:05] local.INFO: Processing buffer {"connection_id":170829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a9371f8012cec5a40072d7130003c010f2b..."} 
[2026-09-04 09:34:05] local.INFO: Packet analysis {"connection_id":170829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a93"} 
[2026-09-04 09:34:05] local.INFO: Extracted packet for processing {"connection_id":170829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a93"} 
[2026-09-04 09:34:05] local.INFO: GPS Element Parsed {"raw_longitude":753687104,"raw_latitude":120418608,"longitude_deg":75.3687104,"latitude_deg":12.0418608,"altitude":60,"angle":271,"satellites":43,"speed":0,"hex_longitude":"2cec5a40","hex_latitude":"072d7130","is_valid_coordinates":true} 
[2026-09-04 09:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854572032001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397635257743966208,"note":"Value kept but may cause issues"} 
[2026-09-04 09:34:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410822921190676480,"note":"Value kept but may cause issues"} 
[2026-09-04 09:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788494443000,"timestamp_ms":1788494443000,"timestamp_seconds":1788494443,"priority":1,"record_length":96,"hex_timestamp":"000001a06a9371f8"} 
[2026-09-04 09:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 09:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854572032001,"66":27995,"112":206,"83":44032,"24":0,"16":397635257743966208,"44":-1410822921190676480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-04 09:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854572032001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:34:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 09:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397635257743966208,"km_value":397635257743966.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:34:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410822921190676480,"description":"Unknown IO ID 44"} 
[2026-09-04 09:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854572032001,"power":27995,"unknown_112":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1410822921190676480}} 
[2026-09-04 09:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":170829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:34:05] local.INFO: GPS data processed {"connection_id":170829,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:34:05] local.INFO: Acknowledgment sent {"connection_id":170829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:34:37] local.INFO: TCP Data received {"connection_id":170829,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a95fe50012ceb2940072d9ab0002c01102b..."} 
[2026-09-04 09:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a95fe50012ceb2940072d9ab0002c01102b..."} 
[2026-09-04 09:34:37] local.INFO: Processing buffer {"connection_id":170829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a95fe50012ceb2940072d9ab0002c01102b..."} 
[2026-09-04 09:34:37] local.INFO: Packet analysis {"connection_id":170829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a95"} 
[2026-09-04 09:34:37] local.INFO: Extracted packet for processing {"connection_id":170829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a95"} 
[2026-09-04 09:34:37] local.INFO: GPS Element Parsed {"raw_longitude":753609024,"raw_latitude":120429232,"longitude_deg":75.3609024,"latitude_deg":12.0429232,"altitude":44,"angle":272,"satellites":43,"speed":25,"hex_longitude":"2ceb2940","hex_latitude":"072d9ab0","is_valid_coordinates":true} 
[2026-09-04 09:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854619392001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397639067379957760,"note":"Value kept but may cause issues"} 
[2026-09-04 09:34:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1499487538852040704,"note":"Value kept but may cause issues"} 
[2026-09-04 09:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788494610000,"timestamp_ms":1788494610000,"timestamp_seconds":1788494610,"priority":1,"record_length":96,"hex_timestamp":"000001a06a95fe50"} 
[2026-09-04 09:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 09:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854619392001,"66":27930,"201":206,"83":44032,"24":25,"16":397639067379957760,"44":-1499487538852040704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-04 09:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854619392001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:34:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-04 09:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397639067379957760,"km_value":397639067379957.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:34:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1499487538852040704,"description":"Unknown IO ID 44"} 
[2026-09-04 09:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854619392001,"power":27930,"unknown_201":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1499487538852040704}} 
[2026-09-04 09:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":170829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:34:37] local.INFO: GPS data processed {"connection_id":170829,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:34:37] local.INFO: Acknowledgment sent {"connection_id":170829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:34:42] local.INFO: TCP Data received {"connection_id":171928,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:34:42] local.INFO: Processing buffer {"connection_id":171928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:34:42] local.INFO: IMEI packet received {"connection_id":171928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":171928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:34:59] local.INFO: TCP Data received {"connection_id":171929,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:34:59] local.INFO: Processing buffer {"connection_id":171929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:34:59] local.INFO: IMEI packet received {"connection_id":171929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":171929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:35:00] local.INFO: TCP Data received {"connection_id":171929,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:35:00] local.INFO: Processing buffer {"connection_id":171929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:35:00] local.INFO: IMEI packet received {"connection_id":171929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":171929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:35:03] local.INFO: TCP Data received {"connection_id":171929,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:35:03] local.INFO: Processing buffer {"connection_id":171929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:35:03] local.INFO: IMEI packet received {"connection_id":171929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":171929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:35:04] local.INFO: TCP Data received {"connection_id":171929,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:35:04] local.INFO: Processing buffer {"connection_id":171929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:35:04] local.INFO: IMEI packet received {"connection_id":171929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":171929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:35:05] local.INFO: TCP Data received {"connection_id":171929,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a962d30012ceb0540072d9d10002b011029..."} 
[2026-09-04 09:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a962d30012ceb0540072d9d10002b011029..."} 
[2026-09-04 09:35:05] local.INFO: Processing buffer {"connection_id":171929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a962d30012ceb0540072d9d10002b011029..."} 
[2026-09-04 09:35:05] local.INFO: Packet analysis {"connection_id":171929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a96"} 
[2026-09-04 09:35:05] local.INFO: Extracted packet for processing {"connection_id":171929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a96"} 
[2026-09-04 09:35:05] local.INFO: GPS Element Parsed {"raw_longitude":753599808,"raw_latitude":120429840,"longitude_deg":75.3599808,"latitude_deg":12.042984,"altitude":43,"angle":272,"satellites":41,"speed":30,"hex_longitude":"2ceb0540","hex_latitude":"072d9d10","is_valid_coordinates":true} 
[2026-09-04 09:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854620160001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397639505466621952,"note":"Value kept but may cause issues"} 
[2026-09-04 09:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1501598601177288704,"note":"Value kept but may cause issues"} 
[2026-09-04 09:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788494622000,"timestamp_ms":1788494622000,"timestamp_seconds":1788494622,"priority":1,"record_length":96,"hex_timestamp":"000001a06a962d30"} 
[2026-09-04 09:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 09:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854620160001,"66":28028,"201":206,"83":44032,"24":30,"16":397639505466621952,"44":-1501598601177288704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-04 09:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854620160001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:35:05] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-04 09:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397639505466621952,"km_value":397639505466621.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1501598601177288704,"description":"Unknown IO ID 44"} 
[2026-09-04 09:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854620160001,"power":28028,"unknown_201":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1501598601177288704}} 
[2026-09-04 09:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":171929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:35:05] local.INFO: GPS data processed {"connection_id":171929,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:35:05] local.INFO: Acknowledgment sent {"connection_id":171929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:35:36] local.INFO: TCP Data received {"connection_id":171929,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a965c10012ceadf40072da1d8002a01172a..."} 
[2026-09-04 09:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a965c10012ceadf40072da1d8002a01172a..."} 
[2026-09-04 09:35:36] local.INFO: Processing buffer {"connection_id":171929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a965c10012ceadf40072da1d8002a01172a..."} 
[2026-09-04 09:35:36] local.INFO: Packet analysis {"connection_id":171929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a96"} 
[2026-09-04 09:35:36] local.INFO: Extracted packet for processing {"connection_id":171929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a96"} 
[2026-09-04 09:35:36] local.INFO: GPS Element Parsed {"raw_longitude":753590080,"raw_latitude":120431064,"longitude_deg":75.359008,"latitude_deg":12.0431064,"altitude":42,"angle":279,"satellites":42,"speed":33,"hex_longitude":"2ceadf40","hex_latitude":"072da1d8","is_valid_coordinates":true} 
[2026-09-04 09:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854623232001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397639969323089920,"note":"Value kept but may cause issues"} 
[2026-09-04 09:35:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511731700338716672,"note":"Value kept but may cause issues"} 
[2026-09-04 09:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788494634000,"timestamp_ms":1788494634000,"timestamp_seconds":1788494634,"priority":1,"record_length":96,"hex_timestamp":"000001a06a965c10"} 
[2026-09-04 09:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 09:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854623232001,"66":27865,"201":206,"83":44032,"24":33,"16":397639969323089920,"44":-1511731700338716672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-04 09:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854623232001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:35:36] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-04 09:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397639969323089920,"km_value":397639969323089.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:35:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511731700338716672,"description":"Unknown IO ID 44"} 
[2026-09-04 09:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854623232001,"power":27865,"unknown_201":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1511731700338716672}} 
[2026-09-04 09:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":171929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:35:36] local.INFO: GPS data processed {"connection_id":171929,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:35:36] local.INFO: Acknowledgment sent {"connection_id":171929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:36:00] local.INFO: TCP Data received {"connection_id":170531,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:36:00] local.INFO: Processing buffer {"connection_id":170531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:36:00] local.INFO: IMEI packet received {"connection_id":170531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":170531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:36:01] local.INFO: TCP Data received {"connection_id":170531,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:36:01] local.INFO: Processing buffer {"connection_id":170531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:36:01] local.INFO: IMEI packet received {"connection_id":170531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":170531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:36:04] local.INFO: TCP Data received {"connection_id":170531,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:36:04] local.INFO: Processing buffer {"connection_id":170531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:36:04] local.INFO: IMEI packet received {"connection_id":170531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":170531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:36:04] local.INFO: TCP Data received {"connection_id":170531,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:36:04] local.INFO: Processing buffer {"connection_id":170531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:36:04] local.INFO: IMEI packet received {"connection_id":170531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":170531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:39:47] local.INFO: TCP Data received {"connection_id":173231,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:39:47] local.INFO: Processing buffer {"connection_id":173231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:39:47] local.INFO: IMEI packet received {"connection_id":173231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":173231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:41:13] local.INFO: TCP Data received {"connection_id":170533,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:41:13] local.INFO: Processing buffer {"connection_id":170533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:41:13] local.INFO: IMEI packet received {"connection_id":170533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":170533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:41:15] local.INFO: TCP Data received {"connection_id":170533,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a9c3040012ce85580072f7080001a013527..."} 
[2026-09-04 09:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a9c3040012ce85580072f7080001a013527..."} 
[2026-09-04 09:41:15] local.INFO: Processing buffer {"connection_id":170533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a9c3040012ce85580072f7080001a013527..."} 
[2026-09-04 09:41:15] local.INFO: Packet analysis {"connection_id":170533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a9c"} 
[2026-09-04 09:41:15] local.INFO: Extracted packet for processing {"connection_id":170533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a9c"} 
[2026-09-04 09:41:15] local.INFO: GPS Element Parsed {"raw_longitude":753423744,"raw_latitude":120549504,"longitude_deg":75.3423744,"latitude_deg":12.0549504,"altitude":26,"angle":309,"satellites":39,"speed":21,"hex_longitude":"2ce85580","hex_latitude":"072f7080","is_valid_coordinates":true} 
[2026-09-04 09:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854723840001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397651217842438144,"note":"Value kept but may cause issues"} 
[2026-09-04 09:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1704893903075868672,"note":"Value kept but may cause issues"} 
[2026-09-04 09:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788495016000,"timestamp_ms":1788495016000,"timestamp_seconds":1788495016,"priority":1,"record_length":96,"hex_timestamp":"000001a06a9c3040"} 
[2026-09-04 09:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 09:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854723840001,"66":27843,"203":206,"83":44032,"24":21,"16":397651217842438144,"44":-1704893903075868672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-04 09:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854723840001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397651217842438144,"km_value":397651217842438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1704893903075868672,"description":"Unknown IO ID 44"} 
[2026-09-04 09:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854723840001,"power":27843,"mnc":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1704893903075868672}} 
[2026-09-04 09:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":170533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:41:15] local.INFO: GPS data processed {"connection_id":170533,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:41:15] local.INFO: Acknowledgment sent {"connection_id":170533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:41:58] local.INFO: TCP Data received {"connection_id":170831,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:41:58] local.INFO: Processing buffer {"connection_id":170831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:41:58] local.INFO: IMEI packet received {"connection_id":170831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":170831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:41:59] local.INFO: TCP Data received {"connection_id":170831,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:41:59] local.INFO: Processing buffer {"connection_id":170831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:41:59] local.INFO: IMEI packet received {"connection_id":170831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":170831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:42:05] local.INFO: TCP Data received {"connection_id":170831,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:42:05] local.INFO: Processing buffer {"connection_id":170831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:42:05] local.INFO: IMEI packet received {"connection_id":170831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":170831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:42:05] local.INFO: TCP Data received {"connection_id":170831,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a9d1aa0012ce807c0072f9900002d014328..."} 
[2026-09-04 09:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a9d1aa0012ce807c0072f9900002d014328..."} 
[2026-09-04 09:42:06] local.INFO: Processing buffer {"connection_id":170831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a9d1aa0012ce807c0072f9900002d014328..."} 
[2026-09-04 09:42:06] local.INFO: Packet analysis {"connection_id":170831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a9d"} 
[2026-09-04 09:42:06] local.INFO: Extracted packet for processing {"connection_id":170831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a9d"} 
[2026-09-04 09:42:06] local.INFO: GPS Element Parsed {"raw_longitude":753403840,"raw_latitude":120559872,"longitude_deg":75.340384,"latitude_deg":12.0559872,"altitude":45,"angle":323,"satellites":40,"speed":10,"hex_longitude":"2ce807c0","hex_latitude":"072f9900","is_valid_coordinates":true} 
[2026-09-04 09:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854739200001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397652437613150208,"note":"Value kept but may cause issues"} 
[2026-09-04 09:42:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1727130426233315328,"note":"Value kept but may cause issues"} 
[2026-09-04 09:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788495076000,"timestamp_ms":1788495076000,"timestamp_seconds":1788495076,"priority":1,"record_length":96,"hex_timestamp":"000001a06a9d1aa0"} 
[2026-09-04 09:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 09:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854739200001,"66":27767,"28":206,"83":44032,"24":10,"16":397652437613150208,"44":-1727130426233315328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-04 09:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854739200001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:42:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-04 09:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397652437613150208,"km_value":397652437613150.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:42:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1727130426233315328,"description":"Unknown IO ID 44"} 
[2026-09-04 09:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854739200001,"power":27767,"unknown_28":206,"unknown_83":44032,"ignition":10,"odometer":null,"unknown_44":-1727130426233315328}} 
[2026-09-04 09:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":170831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:42:06] local.INFO: GPS data processed {"connection_id":170831,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:42:06] local.INFO: Acknowledgment sent {"connection_id":170831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:42:36] local.INFO: TCP Data received {"connection_id":170831,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a9d1e88012ce80700072f99b8002d013328..."} 
[2026-09-04 09:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a9d1e88012ce80700072f99b8002d013328..."} 
[2026-09-04 09:42:37] local.INFO: Processing buffer {"connection_id":170831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a9d1e88012ce80700072f99b8002d013328..."} 
[2026-09-04 09:42:37] local.INFO: Packet analysis {"connection_id":170831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a9d"} 
[2026-09-04 09:42:37] local.INFO: Extracted packet for processing {"connection_id":170831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a9d"} 
[2026-09-04 09:42:37] local.INFO: GPS Element Parsed {"raw_longitude":753403648,"raw_latitude":120560056,"longitude_deg":75.3403648,"latitude_deg":12.0560056,"altitude":45,"angle":307,"satellites":40,"speed":10,"hex_longitude":"2ce80700","hex_latitude":"072f99b8","is_valid_coordinates":true} 
[2026-09-04 09:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854739456001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397652450498052096,"note":"Value kept but may cause issues"} 
[2026-09-04 09:42:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1727200794977435648,"note":"Value kept but may cause issues"} 
[2026-09-04 09:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788495077000,"timestamp_ms":1788495077000,"timestamp_seconds":1788495077,"priority":1,"record_length":96,"hex_timestamp":"000001a06a9d1e88"} 
[2026-09-04 09:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 09:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854739456001,"66":27800,"28":206,"83":44032,"24":10,"16":397652450498052096,"44":-1727200794977435648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-04 09:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854739456001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-04 09:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397652450498052096,"km_value":397652450498052.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:42:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1727200794977435648,"description":"Unknown IO ID 44"} 
[2026-09-04 09:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854739456001,"power":27800,"unknown_28":206,"unknown_83":44032,"ignition":10,"odometer":null,"unknown_44":-1727200794977435648}} 
[2026-09-04 09:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":170831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:42:37] local.INFO: GPS data processed {"connection_id":170831,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:42:37] local.INFO: Acknowledgment sent {"connection_id":170831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:43:20] local.INFO: TCP Data received {"connection_id":170534,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:20] local.INFO: Processing buffer {"connection_id":170534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:20] local.INFO: IMEI packet received {"connection_id":170534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":170534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:43:25] local.INFO: TCP Data received {"connection_id":170534,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:25] local.INFO: Processing buffer {"connection_id":170534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:25] local.INFO: IMEI packet received {"connection_id":170534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":170534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:43:26] local.INFO: TCP Data received {"connection_id":170534,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06a9d2658012ce804c0072f9ab8002d011d28..."} 
[2026-09-04 09:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06a9d2658012ce804c0072f9ab8002d011d28..."} 
[2026-09-04 09:43:26] local.INFO: Processing buffer {"connection_id":170534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06a9d2658012ce804c0072f9ab8002d011d28..."} 
[2026-09-04 09:43:26] local.INFO: Packet analysis {"connection_id":170534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06a9d"} 
[2026-09-04 09:43:26] local.INFO: Extracted packet for processing {"connection_id":170534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06a9d"} 
[2026-09-04 09:43:26] local.INFO: GPS Element Parsed {"raw_longitude":753403072,"raw_latitude":120560312,"longitude_deg":75.3403072,"latitude_deg":12.0560312,"altitude":45,"angle":285,"satellites":40,"speed":12,"hex_longitude":"2ce804c0","hex_latitude":"072f9ab8","is_valid_coordinates":true} 
[2026-09-04 09:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854739712001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397652480562823168,"note":"Value kept but may cause issues"} 
[2026-09-04 09:43:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1727411901209921536,"note":"Value kept but may cause issues"} 
[2026-09-04 09:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788495079000,"timestamp_ms":1788495079000,"timestamp_seconds":1788495079,"priority":1,"record_length":96,"hex_timestamp":"000001a06a9d2658"} 
[2026-09-04 09:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 09:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854739712001,"66":27930,"28":206,"83":44032,"24":12,"16":397652480562823168,"44":-1727411901209921536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-04 09:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854739712001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:43:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-04 09:43:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397652480562823168,"km_value":397652480562823.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:43:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1727411901209921536,"description":"Unknown IO ID 44"} 
[2026-09-04 09:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854739712001,"power":27930,"unknown_28":206,"unknown_83":44032,"ignition":12,"odometer":null,"unknown_44":-1727411901209921536}} 
[2026-09-04 09:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":170534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:43:26] local.INFO: GPS data processed {"connection_id":170534,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:43:26] local.INFO: Acknowledgment sent {"connection_id":170534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:43:56] local.INFO: TCP Data received {"connection_id":170832,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:56] local.INFO: Processing buffer {"connection_id":170832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:56] local.INFO: IMEI packet received {"connection_id":170832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":170832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:43:58] local.INFO: TCP Data received {"connection_id":170832,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:58] local.INFO: Processing buffer {"connection_id":170832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:58] local.INFO: IMEI packet received {"connection_id":170832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":170832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:43:59] local.INFO: TCP Data received {"connection_id":170832,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:59] local.INFO: Processing buffer {"connection_id":170832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:43:59] local.INFO: IMEI packet received {"connection_id":170832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":170832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:44:00] local.INFO: TCP Data received {"connection_id":170832,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:44:00] local.INFO: Processing buffer {"connection_id":170832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:44:00] local.INFO: IMEI packet received {"connection_id":170832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":170832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:45:54] local.INFO: TCP Data received {"connection_id":171935,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:45:54] local.INFO: Processing buffer {"connection_id":171935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:45:54] local.INFO: IMEI packet received {"connection_id":171935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":171935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:49:03] local.INFO: TCP Data received {"connection_id":170835,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:49:03] local.INFO: Processing buffer {"connection_id":170835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:49:03] local.INFO: IMEI packet received {"connection_id":170835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":170835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:49:04] local.INFO: TCP Data received {"connection_id":170835,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa2eae8012ce3e1000730f0d80018011a2d..."} 
[2026-09-04 09:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa2eae8012ce3e1000730f0d80018011a2d..."} 
[2026-09-04 09:49:04] local.INFO: Processing buffer {"connection_id":170835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa2eae8012ce3e1000730f0d80018011a2d..."} 
[2026-09-04 09:49:04] local.INFO: Packet analysis {"connection_id":170835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa2"} 
[2026-09-04 09:49:04] local.INFO: Extracted packet for processing {"connection_id":170835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa2"} 
[2026-09-04 09:49:04] local.INFO: GPS Element Parsed {"raw_longitude":753131776,"raw_latitude":120647896,"longitude_deg":75.3131776,"latitude_deg":12.0647896,"altitude":24,"angle":282,"satellites":45,"speed":46,"hex_longitude":"2ce3e100","hex_latitude":"0730f0d8","is_valid_coordinates":true} 
[2026-09-04 09:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854834944001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397667809301102592,"note":"Value kept but may cause issues"} 
[2026-09-04 09:49:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2015994121060325376,"note":"Value kept but may cause issues"} 
[2026-09-04 09:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788495457000,"timestamp_ms":1788495457000,"timestamp_seconds":1788495457,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa2eae8"} 
[2026-09-04 09:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 09:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854834944001,"66":27887,"180":206,"83":44032,"24":46,"16":397667809301102592,"44":-2015994121060325376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-04 09:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854834944001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:49:04] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-04 09:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397667809301102592,"km_value":397667809301102.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:49:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2015994121060325376,"description":"Unknown IO ID 44"} 
[2026-09-04 09:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854834944001,"power":27887,"unknown_180":206,"unknown_83":44032,"ignition":46,"odometer":null,"unknown_44":-2015994121060325376}} 
[2026-09-04 09:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":170835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:49:04] local.INFO: GPS data processed {"connection_id":170835,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:49:04] local.INFO: Acknowledgment sent {"connection_id":170835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:49:40] local.INFO: TCP Data received {"connection_id":170835,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa30a28012ce3bd800730fc10001601272f..."} 
[2026-09-04 09:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa30a28012ce3bd800730fc10001601272f..."} 
[2026-09-04 09:49:40] local.INFO: Processing buffer {"connection_id":170835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa30a28012ce3bd800730fc10001601272f..."} 
[2026-09-04 09:49:40] local.INFO: Packet analysis {"connection_id":170835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa3"} 
[2026-09-04 09:49:40] local.INFO: Extracted packet for processing {"connection_id":170835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa3"} 
[2026-09-04 09:49:40] local.INFO: GPS Element Parsed {"raw_longitude":753122688,"raw_latitude":120650768,"longitude_deg":75.3122688,"latitude_deg":12.0650768,"altitude":22,"angle":295,"satellites":47,"speed":46,"hex_longitude":"2ce3bd80","hex_latitude":"0730fc10","is_valid_coordinates":true} 
[2026-09-04 09:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854836992001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397668264567635968,"note":"Value kept but may cause issues"} 
[2026-09-04 09:49:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2026338326454151168,"note":"Value kept but may cause issues"} 
[2026-09-04 09:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788495465000,"timestamp_ms":1788495465000,"timestamp_seconds":1788495465,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa30a28"} 
[2026-09-04 09:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 09:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854836992001,"66":27865,"180":206,"83":44032,"24":46,"16":397668264567635968,"44":-2026338326454151168},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-04 09:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854836992001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:49:40] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-04 09:49:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-04 09:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397668264567635968,"km_value":397668264567635.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:49:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2026338326454151168,"description":"Unknown IO ID 44"} 
[2026-09-04 09:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854836992001,"power":27865,"unknown_180":206,"unknown_83":44032,"ignition":46,"odometer":null,"unknown_44":-2026338326454151168}} 
[2026-09-04 09:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":170835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:49:40] local.INFO: GPS data processed {"connection_id":170835,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:49:40] local.INFO: Acknowledgment sent {"connection_id":170835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:50:00] local.INFO: TCP Data received {"connection_id":171937,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:50:00] local.INFO: Processing buffer {"connection_id":171937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:50:00] local.INFO: IMEI packet received {"connection_id":171937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":171937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:50:02] local.INFO: TCP Data received {"connection_id":171937,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:50:02] local.INFO: Processing buffer {"connection_id":171937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:50:02] local.INFO: IMEI packet received {"connection_id":171937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":171937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:50:03] local.INFO: TCP Data received {"connection_id":171937,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa43308012ce28840073179500023011b2c..."} 
[2026-09-04 09:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa43308012ce28840073179500023011b2c..."} 
[2026-09-04 09:50:03] local.INFO: Processing buffer {"connection_id":171937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa43308012ce28840073179500023011b2c..."} 
[2026-09-04 09:50:03] local.INFO: Packet analysis {"connection_id":171937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa4"} 
[2026-09-04 09:50:03] local.INFO: Extracted packet for processing {"connection_id":171937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa4"} 
[2026-09-04 09:50:03] local.INFO: GPS Element Parsed {"raw_longitude":753043520,"raw_latitude":120682832,"longitude_deg":75.304352,"latitude_deg":12.0682832,"altitude":35,"angle":283,"satellites":44,"speed":42,"hex_longitude":"2ce28840","hex_latitude":"07317950","is_valid_coordinates":true} 
[2026-09-04 09:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854856192001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397672357671469056,"note":"Value kept but may cause issues"} 
[2026-09-04 09:50:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2113032619272660992,"note":"Value kept but may cause issues"} 
[2026-09-04 09:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788495541000,"timestamp_ms":1788495541000,"timestamp_seconds":1788495541,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa43308"} 
[2026-09-04 09:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 09:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854856192001,"66":27821,"46":206,"83":40960,"24":42,"16":397672357671469056,"44":-2113032619272660992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-09-04 09:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854856192001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:50:03] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-04 09:50:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 09:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397672357671469056,"km_value":397672357671469.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:50:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2113032619272660992,"description":"Unknown IO ID 44"} 
[2026-09-04 09:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854856192001,"power":27821,"unknown_46":206,"unknown_83":40960,"ignition":42,"odometer":null,"unknown_44":-2113032619272660992}} 
[2026-09-04 09:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":171937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:50:03] local.INFO: GPS data processed {"connection_id":171937,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:50:03] local.INFO: Acknowledgment sent {"connection_id":171937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:50:34] local.INFO: TCP Data received {"connection_id":171937,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa45630012ce26280073182a00025011c2a..."} 
[2026-09-04 09:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa45630012ce26280073182a00025011c2a..."} 
[2026-09-04 09:50:34] local.INFO: Processing buffer {"connection_id":171937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa45630012ce26280073182a00025011c2a..."} 
[2026-09-04 09:50:34] local.INFO: Packet analysis {"connection_id":171937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa4"} 
[2026-09-04 09:50:34] local.INFO: Extracted packet for processing {"connection_id":171937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa4"} 
[2026-09-04 09:50:34] local.INFO: GPS Element Parsed {"raw_longitude":753033856,"raw_latitude":120685216,"longitude_deg":75.3033856,"latitude_deg":12.0685216,"altitude":37,"angle":284,"satellites":42,"speed":45,"hex_longitude":"2ce26280","hex_latitude":"073182a0","is_valid_coordinates":true} 
[2026-09-04 09:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854858496001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397672830117871616,"note":"Value kept but may cause issues"} 
[2026-09-04 09:50:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2123376824666206208,"note":"Value kept but may cause issues"} 
[2026-09-04 09:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788495550000,"timestamp_ms":1788495550000,"timestamp_seconds":1788495550,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa45630"} 
[2026-09-04 09:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 09:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854858496001,"66":27843,"46":206,"83":40960,"24":45,"16":397672830117871616,"44":-2123376824666206208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-09-04 09:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854858496001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:50:34] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-04 09:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 09:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397672830117871616,"km_value":397672830117871.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:50:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2123376824666206208,"description":"Unknown IO ID 44"} 
[2026-09-04 09:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854858496001,"power":27843,"unknown_46":206,"unknown_83":40960,"ignition":45,"odometer":null,"unknown_44":-2123376824666206208}} 
[2026-09-04 09:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":171937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:50:34] local.INFO: GPS data processed {"connection_id":171937,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:50:34] local.INFO: Acknowledgment sent {"connection_id":171937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:50:59] local.INFO: TCP Data received {"connection_id":170538,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:50:59] local.INFO: Processing buffer {"connection_id":170538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:50:59] local.INFO: IMEI packet received {"connection_id":170538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":170538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:51:03] local.INFO: TCP Data received {"connection_id":170538,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:51:03] local.INFO: Processing buffer {"connection_id":170538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:51:03] local.INFO: IMEI packet received {"connection_id":170538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":170538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:51:04] local.INFO: TCP Data received {"connection_id":170538,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa47570012ce23e0007318b680025011b2a..."} 
[2026-09-04 09:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa47570012ce23e0007318b680025011b2a..."} 
[2026-09-04 09:51:04] local.INFO: Processing buffer {"connection_id":170538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa47570012ce23e0007318b680025011b2a..."} 
[2026-09-04 09:51:04] local.INFO: Packet analysis {"connection_id":170538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa4"} 
[2026-09-04 09:51:04] local.INFO: Extracted packet for processing {"connection_id":170538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa4"} 
[2026-09-04 09:51:04] local.INFO: GPS Element Parsed {"raw_longitude":753024512,"raw_latitude":120687464,"longitude_deg":75.3024512,"latitude_deg":12.0687464,"altitude":37,"angle":283,"satellites":42,"speed":48,"hex_longitude":"2ce23e00","hex_latitude":"07318b68","is_valid_coordinates":true} 
[2026-09-04 09:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854860800001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397673285384404992,"note":"Value kept but may cause issues"} 
[2026-09-04 09:51:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2134002505036423168,"note":"Value kept but may cause issues"} 
[2026-09-04 09:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788495558000,"timestamp_ms":1788495558000,"timestamp_seconds":1788495558,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa47570"} 
[2026-09-04 09:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 09:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854860800001,"66":27821,"46":206,"83":40960,"24":48,"16":397673285384404992,"44":-2134002505036423168},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-09-04 09:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854860800001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:51:04] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-04 09:51:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 09:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397673285384404992,"km_value":397673285384405.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:51:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2134002505036423168,"description":"Unknown IO ID 44"} 
[2026-09-04 09:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854860800001,"power":27821,"unknown_46":206,"unknown_83":40960,"ignition":48,"odometer":null,"unknown_44":-2134002505036423168}} 
[2026-09-04 09:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":170538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:51:04] local.INFO: GPS data processed {"connection_id":170538,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:51:04] local.INFO: Acknowledgment sent {"connection_id":170538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:51:08] local.INFO: TCP Data received {"connection_id":170537,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:51:08] local.INFO: Processing buffer {"connection_id":170537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:51:08] local.INFO: IMEI packet received {"connection_id":170537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":170537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:51:35] local.INFO: TCP Data received {"connection_id":170538,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa5b1d8012ce0b6c00731c408002601262f..."} 
[2026-09-04 09:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa5b1d8012ce0b6c00731c408002601262f..."} 
[2026-09-04 09:51:35] local.INFO: Processing buffer {"connection_id":170538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa5b1d8012ce0b6c00731c408002601262f..."} 
[2026-09-04 09:51:35] local.INFO: Packet analysis {"connection_id":170538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa5"} 
[2026-09-04 09:51:35] local.INFO: Extracted packet for processing {"connection_id":170538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa5"} 
[2026-09-04 09:51:35] local.INFO: GPS Element Parsed {"raw_longitude":752924352,"raw_latitude":120701960,"longitude_deg":75.2924352,"latitude_deg":12.070196,"altitude":38,"angle":294,"satellites":47,"speed":53,"hex_longitude":"2ce0b6c0","hex_latitude":"0731c408","is_valid_coordinates":true} 
[2026-09-04 09:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854881792001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397678237481697280,"note":"Value kept but may cause issues"} 
[2026-09-04 09:51:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2244903645857138688,"note":"Value kept but may cause issues"} 
[2026-09-04 09:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788495639000,"timestamp_ms":1788495639000,"timestamp_seconds":1788495639,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa5b1d8"} 
[2026-09-04 09:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 09:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854881792001,"66":27647,"45":206,"83":40960,"24":53,"16":397678237481697280,"44":-2244903645857138688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-09-04 09:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854881792001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-04 09:51:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 09:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397678237481697280,"km_value":397678237481697.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:51:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2244903645857138688,"description":"Unknown IO ID 44"} 
[2026-09-04 09:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854881792001,"power":27647,"unknown_45":206,"unknown_83":40960,"ignition":53,"odometer":null,"unknown_44":-2244903645857138688}} 
[2026-09-04 09:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":170538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:51:35] local.INFO: GPS data processed {"connection_id":170538,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:51:35] local.INFO: Acknowledgment sent {"connection_id":170538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:51:59] local.INFO: TCP Data received {"connection_id":173236,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:51:59] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:51:59] local.INFO: IMEI packet received {"connection_id":173236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":173236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:51:59] local.INFO: TCP Data received {"connection_id":173236,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:51:59] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:51:59] local.INFO: IMEI packet received {"connection_id":173236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":173236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:52:05] local.INFO: TCP Data received {"connection_id":173236,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:52:05] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:52:05] local.INFO: IMEI packet received {"connection_id":173236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":173236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:52:05] local.INFO: TCP Data received {"connection_id":173236,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa5cd30012ce094400731d408002501272d..."} 
[2026-09-04 09:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa5cd30012ce094400731d408002501272d..."} 
[2026-09-04 09:52:05] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa5cd30012ce094400731d408002501272d..."} 
[2026-09-04 09:52:05] local.INFO: Packet analysis {"connection_id":173236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa5"} 
[2026-09-04 09:52:05] local.INFO: Extracted packet for processing {"connection_id":173236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa5"} 
[2026-09-04 09:52:05] local.INFO: GPS Element Parsed {"raw_longitude":752915520,"raw_latitude":120706056,"longitude_deg":75.291552,"latitude_deg":12.0706056,"altitude":37,"angle":295,"satellites":45,"speed":55,"hex_longitude":"2ce09440","hex_latitude":"0731d408","is_valid_coordinates":true} 
[2026-09-04 09:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854883584001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397678701338165248,"note":"Value kept but may cause issues"} 
[2026-09-04 09:52:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2254403426320119808,"note":"Value kept but may cause issues"} 
[2026-09-04 09:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788495646000,"timestamp_ms":1788495646000,"timestamp_seconds":1788495646,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa5cd30"} 
[2026-09-04 09:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 09:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854883584001,"66":27843,"45":206,"83":40960,"24":55,"16":397678701338165248,"44":-2254403426320119808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-09-04 09:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854883584001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-04 09:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 09:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397678701338165248,"km_value":397678701338165.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:52:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2254403426320119808,"description":"Unknown IO ID 44"} 
[2026-09-04 09:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854883584001,"power":27843,"unknown_45":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2254403426320119808}} 
[2026-09-04 09:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":173236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:52:05] local.INFO: GPS data processed {"connection_id":173236,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:52:05] local.INFO: Acknowledgment sent {"connection_id":173236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:52:18] local.INFO: TCP Data received {"connection_id":173237,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:52:18] local.INFO: Processing buffer {"connection_id":173237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:52:18] local.INFO: IMEI packet received {"connection_id":173237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":173237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:52:36] local.INFO: TCP Data received {"connection_id":173236,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa5e888012ce071800731e3f0002401272e..."} 
[2026-09-04 09:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa5e888012ce071800731e3f0002401272e..."} 
[2026-09-04 09:52:36] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa5e888012ce071800731e3f0002401272e..."} 
[2026-09-04 09:52:36] local.INFO: Packet analysis {"connection_id":173236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa5"} 
[2026-09-04 09:52:36] local.INFO: Extracted packet for processing {"connection_id":173236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa5"} 
[2026-09-04 09:52:36] local.INFO: GPS Element Parsed {"raw_longitude":752906624,"raw_latitude":120710128,"longitude_deg":75.2906624,"latitude_deg":12.0710128,"altitude":36,"angle":295,"satellites":46,"speed":54,"hex_longitude":"2ce07180","hex_latitude":"0731e3f0","is_valid_coordinates":true} 
[2026-09-04 09:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854885376001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397679165194633216,"note":"Value kept but may cause issues"} 
[2026-09-04 09:52:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2264114313015588864,"note":"Value kept but may cause issues"} 
[2026-09-04 09:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788495653000,"timestamp_ms":1788495653000,"timestamp_seconds":1788495653,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa5e888"} 
[2026-09-04 09:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 09:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854885376001,"66":27865,"45":206,"83":40960,"24":54,"16":397679165194633216,"44":-2264114313015588864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-09-04 09:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854885376001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-04 09:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 09:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397679165194633216,"km_value":397679165194633.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:52:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2264114313015588864,"description":"Unknown IO ID 44"} 
[2026-09-04 09:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854885376001,"power":27865,"unknown_45":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2264114313015588864}} 
[2026-09-04 09:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":173236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:52:36] local.INFO: GPS data processed {"connection_id":173236,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:52:36] local.INFO: Acknowledgment sent {"connection_id":173236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:52:59] local.INFO: TCP Data received {"connection_id":170836,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:52:59] local.INFO: Processing buffer {"connection_id":170836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:52:59] local.INFO: IMEI packet received {"connection_id":170836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":170836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:52:59] local.INFO: TCP Data received {"connection_id":170539,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:52:59] local.INFO: Processing buffer {"connection_id":170539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:52:59] local.INFO: IMEI packet received {"connection_id":170539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":170539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:53:05] local.INFO: TCP Data received {"connection_id":170539,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:53:05] local.INFO: Processing buffer {"connection_id":170539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:53:05] local.INFO: IMEI packet received {"connection_id":170539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":170539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:53:09] local.INFO: TCP Data received {"connection_id":170539,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa603e0012ce04f000731f2c00020012430..."} 
[2026-09-04 09:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa603e0012ce04f000731f2c00020012430..."} 
[2026-09-04 09:53:09] local.INFO: Processing buffer {"connection_id":170539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa603e0012ce04f000731f2c00020012430..."} 
[2026-09-04 09:53:09] local.INFO: Packet analysis {"connection_id":170539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa6"} 
[2026-09-04 09:53:09] local.INFO: Extracted packet for processing {"connection_id":170539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa6"} 
[2026-09-04 09:53:09] local.INFO: GPS Element Parsed {"raw_longitude":752897792,"raw_latitude":120713920,"longitude_deg":75.2897792,"latitude_deg":12.071392,"altitude":32,"angle":292,"satellites":48,"speed":53,"hex_longitude":"2ce04f00","hex_latitude":"0731f2c0","is_valid_coordinates":true} 
[2026-09-04 09:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854887168001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397679624756133888,"note":"Value kept but may cause issues"} 
[2026-09-04 09:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2273895568455241728,"note":"Value kept but may cause issues"} 
[2026-09-04 09:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788495660000,"timestamp_ms":1788495660000,"timestamp_seconds":1788495660,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa603e0"} 
[2026-09-04 09:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 09:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854887168001,"66":27800,"45":206,"83":40960,"24":53,"16":397679624756133888,"44":-2273895568455241728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-09-04 09:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854887168001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-04 09:53:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 09:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397679624756133888,"km_value":397679624756133.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:53:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2273895568455241728,"description":"Unknown IO ID 44"} 
[2026-09-04 09:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854887168001,"power":27800,"unknown_45":206,"unknown_83":40960,"ignition":53,"odometer":null,"unknown_44":-2273895568455241728}} 
[2026-09-04 09:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":170539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:53:09] local.INFO: GPS data processed {"connection_id":170539,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:53:09] local.INFO: Acknowledgment sent {"connection_id":170539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:53:43] local.INFO: TCP Data received {"connection_id":170539,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa79250012cde6000073281280014010f2a..."} 
[2026-09-04 09:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa79250012cde6000073281280014010f2a..."} 
[2026-09-04 09:53:43] local.INFO: Processing buffer {"connection_id":170539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa79250012cde6000073281280014010f2a..."} 
[2026-09-04 09:53:43] local.INFO: Packet analysis {"connection_id":170539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa7"} 
[2026-09-04 09:53:43] local.INFO: Extracted packet for processing {"connection_id":170539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa7"} 
[2026-09-04 09:53:43] local.INFO: GPS Element Parsed {"raw_longitude":752771072,"raw_latitude":120750376,"longitude_deg":75.2771072,"latitude_deg":12.0750376,"altitude":20,"angle":271,"satellites":42,"speed":50,"hex_longitude":"2cde6000","hex_latitude":"07328128","is_valid_coordinates":true} 
[2026-09-04 09:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854913280001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397685929768124416,"note":"Value kept but may cause issues"} 
[2026-09-04 09:53:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2412944206940141568,"note":"Value kept but may cause issues"} 
[2026-09-04 09:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788495762000,"timestamp_ms":1788495762000,"timestamp_seconds":1788495762,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa79250"} 
[2026-09-04 09:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 09:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":170539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":170539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":170539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854913280001,"66":27865,"195":206,"83":40960,"24":50,"16":397685929768124416,"44":-2412944206940141568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-09-04 09:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854913280001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:53:43] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-04 09:53:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 09:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397685929768124416,"km_value":397685929768124.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:53:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2412944206940141568,"description":"Unknown IO ID 44"} 
[2026-09-04 09:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854913280001,"power":27865,"unknown_195":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2412944206940141568}} 
[2026-09-04 09:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":170539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:53:43] local.INFO: GPS data processed {"connection_id":170539,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:53:43] local.INFO: Acknowledgment sent {"connection_id":170539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:54:05] local.INFO: TCP Data received {"connection_id":171938,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:54:05] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:54:05] local.INFO: IMEI packet received {"connection_id":171938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":171938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:54:08] local.INFO: TCP Data received {"connection_id":171938,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:54:08] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:54:08] local.INFO: IMEI packet received {"connection_id":171938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":171938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:54:09] local.INFO: TCP Data received {"connection_id":171938,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa7b190012cde3840073282980014010f29..."} 
[2026-09-04 09:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa7b190012cde3840073282980014010f29..."} 
[2026-09-04 09:54:09] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa7b190012cde3840073282980014010f29..."} 
[2026-09-04 09:54:09] local.INFO: Packet analysis {"connection_id":171938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa7"} 
[2026-09-04 09:54:09] local.INFO: Extracted packet for processing {"connection_id":171938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa7"} 
[2026-09-04 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":752760896,"raw_latitude":120750744,"longitude_deg":75.2760896,"latitude_deg":12.0750744,"altitude":20,"angle":271,"satellites":41,"speed":48,"hex_longitude":"2cde3840","hex_latitude":"07328298","is_valid_coordinates":true} 
[2026-09-04 09:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854915072001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397686410804461568,"note":"Value kept but may cause issues"} 
[2026-09-04 09:54:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2422936568613230592,"note":"Value kept but may cause issues"} 
[2026-09-04 09:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788495770000,"timestamp_ms":1788495770000,"timestamp_seconds":1788495770,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa7b190"} 
[2026-09-04 09:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 09:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854915072001,"66":27908,"195":206,"83":40960,"24":48,"16":397686410804461568,"44":-2422936568613230592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-09-04 09:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854915072001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:54:09] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-04 09:54:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 09:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397686410804461568,"km_value":397686410804461.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:54:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2422936568613230592,"description":"Unknown IO ID 44"} 
[2026-09-04 09:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854915072001,"power":27908,"unknown_195":206,"unknown_83":40960,"ignition":48,"odometer":null,"unknown_44":-2422936568613230592}} 
[2026-09-04 09:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":171938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:54:09] local.INFO: GPS data processed {"connection_id":171938,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:54:09] local.INFO: Acknowledgment sent {"connection_id":171938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:54:10] local.INFO: TCP Data received {"connection_id":171938,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa7d0d0012cde1240073284b8001501102c..."} 
[2026-09-04 09:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa7d0d0012cde1240073284b8001501102c..."} 
[2026-09-04 09:54:10] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa7d0d0012cde1240073284b8001501102c..."} 
[2026-09-04 09:54:10] local.INFO: Packet analysis {"connection_id":171938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa7"} 
[2026-09-04 09:54:10] local.INFO: Extracted packet for processing {"connection_id":171938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa7"} 
[2026-09-04 09:54:10] local.INFO: GPS Element Parsed {"raw_longitude":752751168,"raw_latitude":120751288,"longitude_deg":75.2751168,"latitude_deg":12.0751288,"altitude":21,"angle":272,"satellites":44,"speed":46,"hex_longitude":"2cde1240","hex_latitude":"073284b8","is_valid_coordinates":true} 
[2026-09-04 09:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854917120001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397686874660929536,"note":"Value kept but may cause issues"} 
[2026-09-04 09:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2434125198937384960,"note":"Value kept but may cause issues"} 
[2026-09-04 09:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788495778000,"timestamp_ms":1788495778000,"timestamp_seconds":1788495778,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa7d0d0"} 
[2026-09-04 09:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 09:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854917120001,"66":27876,"194":206,"83":40960,"24":46,"16":397686874660929536,"44":-2434125198937384960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-09-04 09:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854917120001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:54:10] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-04 09:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 09:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397686874660929536,"km_value":397686874660929.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2434125198937384960,"description":"Unknown IO ID 44"} 
[2026-09-04 09:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854917120001,"power":27876,"unknown_194":206,"unknown_83":40960,"ignition":46,"odometer":null,"unknown_44":-2434125198937384960}} 
[2026-09-04 09:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":171938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:54:10] local.INFO: GPS data processed {"connection_id":171938,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:54:10] local.INFO: Acknowledgment sent {"connection_id":171938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:54:41] local.INFO: TCP Data received {"connection_id":171938,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa7f010012cdded8007328678001501112c..."} 
[2026-09-04 09:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa7f010012cdded8007328678001501112c..."} 
[2026-09-04 09:54:41] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa7f010012cdded8007328678001501112c..."} 
[2026-09-04 09:54:41] local.INFO: Packet analysis {"connection_id":171938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa7"} 
[2026-09-04 09:54:41] local.INFO: Extracted packet for processing {"connection_id":171938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa7"} 
[2026-09-04 09:54:41] local.INFO: GPS Element Parsed {"raw_longitude":752741760,"raw_latitude":120751736,"longitude_deg":75.274176,"latitude_deg":12.0751736,"altitude":21,"angle":273,"satellites":44,"speed":45,"hex_longitude":"2cdded80","hex_latitude":"07328678","is_valid_coordinates":true} 
[2026-09-04 09:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854919168001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397687321337528320,"note":"Value kept but may cause issues"} 
[2026-09-04 09:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2444821248052250624,"note":"Value kept but may cause issues"} 
[2026-09-04 09:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788495786000,"timestamp_ms":1788495786000,"timestamp_seconds":1788495786,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa7f010"} 
[2026-09-04 09:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 09:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854919168001,"66":27767,"194":206,"83":40960,"24":45,"16":397687321337528320,"44":-2444821248052250624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-09-04 09:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854919168001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:54:41] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-04 09:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 09:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397687321337528320,"km_value":397687321337528.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2444821248052250624,"description":"Unknown IO ID 44"} 
[2026-09-04 09:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854919168001,"power":27767,"unknown_194":206,"unknown_83":40960,"ignition":45,"odometer":null,"unknown_44":-2444821248052250624}} 
[2026-09-04 09:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":171938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:54:41] local.INFO: GPS data processed {"connection_id":171938,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:54:41] local.INFO: Acknowledgment sent {"connection_id":171938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:55:00] local.INFO: TCP Data received {"connection_id":170540,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:55:00] local.INFO: Processing buffer {"connection_id":170540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:55:00] local.INFO: IMEI packet received {"connection_id":170540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":170540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:55:05] local.INFO: TCP Data received {"connection_id":170540,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:55:05] local.INFO: Processing buffer {"connection_id":170540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:55:05] local.INFO: IMEI packet received {"connection_id":170540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":170540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:55:07] local.INFO: TCP Data received {"connection_id":170540,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa80f50012cddc94007328888001501112d..."} 
[2026-09-04 09:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa80f50012cddc94007328888001501112d..."} 
[2026-09-04 09:55:07] local.INFO: Processing buffer {"connection_id":170540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa80f50012cddc94007328888001501112d..."} 
[2026-09-04 09:55:07] local.INFO: Packet analysis {"connection_id":170540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa8"} 
[2026-09-04 09:55:07] local.INFO: Extracted packet for processing {"connection_id":170540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa8"} 
[2026-09-04 09:55:07] local.INFO: GPS Element Parsed {"raw_longitude":752732480,"raw_latitude":120752264,"longitude_deg":75.273248,"latitude_deg":12.0752264,"altitude":21,"angle":273,"satellites":45,"speed":45,"hex_longitude":"2cddc940","hex_latitude":"07328888","is_valid_coordinates":true} 
[2026-09-04 09:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854921216001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397687763719159808,"note":"Value kept but may cause issues"} 
[2026-09-04 09:55:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2455165453446252544,"note":"Value kept but may cause issues"} 
[2026-09-04 09:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788495794000,"timestamp_ms":1788495794000,"timestamp_seconds":1788495794,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa80f50"} 
[2026-09-04 09:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 09:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854921216001,"66":27658,"149":206,"83":40960,"24":45,"16":397687763719159808,"44":-2455165453446252544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 09:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854921216001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:55:07] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 09:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 09:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397687763719159808,"km_value":397687763719159.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:55:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2455165453446252544,"description":"Unknown IO ID 44"} 
[2026-09-04 09:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854921216001,"power":27658,"unknown_149":206,"unknown_83":40960,"ignition":45,"odometer":null,"unknown_44":-2455165453446252544}} 
[2026-09-04 09:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":170540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:55:07] local.INFO: GPS data processed {"connection_id":170540,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:55:07] local.INFO: Acknowledgment sent {"connection_id":170540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:55:09] local.INFO: TCP Data received {"connection_id":170540,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa82e90012cdda48007328aa0001501112e..."} 
[2026-09-04 09:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa82e90012cdda48007328aa0001501112e..."} 
[2026-09-04 09:55:09] local.INFO: Processing buffer {"connection_id":170540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa82e90012cdda48007328aa0001501112e..."} 
[2026-09-04 09:55:09] local.INFO: Packet analysis {"connection_id":170540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa8"} 
[2026-09-04 09:55:09] local.INFO: Extracted packet for processing {"connection_id":170540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa8"} 
[2026-09-04 09:55:09] local.INFO: GPS Element Parsed {"raw_longitude":752723072,"raw_latitude":120752800,"longitude_deg":75.2723072,"latitude_deg":12.07528,"altitude":21,"angle":273,"satellites":46,"speed":46,"hex_longitude":"2cdda480","hex_latitude":"07328aa0","is_valid_coordinates":true} 
[2026-09-04 09:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854923264001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397688210395758592,"note":"Value kept but may cause issues"} 
[2026-09-04 09:55:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2465368921351878656,"note":"Value kept but may cause issues"} 
[2026-09-04 09:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788495802000,"timestamp_ms":1788495802000,"timestamp_seconds":1788495802,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa82e90"} 
[2026-09-04 09:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 09:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854923264001,"66":27908,"149":206,"83":40960,"24":46,"16":397688210395758592,"44":-2465368921351878656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 09:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854923264001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:55:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 09:55:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 09:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397688210395758592,"km_value":397688210395758.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:55:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2465368921351878656,"description":"Unknown IO ID 44"} 
[2026-09-04 09:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854923264001,"power":27908,"unknown_149":206,"unknown_83":40960,"ignition":46,"odometer":null,"unknown_44":-2465368921351878656}} 
[2026-09-04 09:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":170540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:55:09] local.INFO: GPS data processed {"connection_id":170540,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:55:09] local.INFO: Acknowledgment sent {"connection_id":170540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:55:40] local.INFO: TCP Data received {"connection_id":170540,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa84dd0012cdd808007328ed0001401192d..."} 
[2026-09-04 09:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa84dd0012cdd808007328ed0001401192d..."} 
[2026-09-04 09:55:40] local.INFO: Processing buffer {"connection_id":170540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa84dd0012cdd808007328ed0001401192d..."} 
[2026-09-04 09:55:40] local.INFO: Packet analysis {"connection_id":170540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa8"} 
[2026-09-04 09:55:40] local.INFO: Extracted packet for processing {"connection_id":170540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa8"} 
[2026-09-04 09:55:40] local.INFO: GPS Element Parsed {"raw_longitude":752713856,"raw_latitude":120753872,"longitude_deg":75.2713856,"latitude_deg":12.0753872,"altitude":20,"angle":281,"satellites":45,"speed":44,"hex_longitude":"2cdd8080","hex_latitude":"07328ed0","is_valid_coordinates":true} 
[2026-09-04 09:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 09:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854925312001,"note":"Value kept but may cause issues"} 
[2026-09-04 09:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397688648482422784,"note":"Value kept but may cause issues"} 
[2026-09-04 09:55:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2475713126745858048,"note":"Value kept but may cause issues"} 
[2026-09-04 09:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 09:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788495810000,"timestamp_ms":1788495810000,"timestamp_seconds":1788495810,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa84dd0"} 
[2026-09-04 09:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 09:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 09:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 09:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 09:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 09:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 09:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 09:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 09:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 09:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 09:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 09:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 09:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854925312001,"66":27658,"149":206,"83":40960,"24":44,"16":397688648482422784,"44":-2475713126745858048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 09:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 09:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 09:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854925312001,"description":"Unknown IO ID 0"} 
[2026-09-04 09:55:40] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 09:55:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 09:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397688648482422784,"km_value":397688648482422.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 09:55:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2475713126745858048,"description":"Unknown IO ID 44"} 
[2026-09-04 09:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854925312001,"power":27658,"unknown_149":206,"unknown_83":40960,"ignition":44,"odometer":null,"unknown_44":-2475713126745858048}} 
[2026-09-04 09:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":170540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 09:55:40] local.INFO: GPS data processed {"connection_id":170540,"processed":1,"errors":0,"total":1} 
[2026-09-04 09:55:40] local.INFO: Acknowledgment sent {"connection_id":170540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 09:55:59] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:55:59] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:55:59] local.INFO: IMEI packet received {"connection_id":173238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 09:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":173238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 09:55:59] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:55:59] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:55:59] local.INFO: IMEI packet received {"connection_id":173238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":173238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:56:00] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:56:00] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:56:00] local.INFO: IMEI packet received {"connection_id":173238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":173238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:56:00] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:56:00] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 09:56:00] local.INFO: IMEI packet received {"connection_id":173238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 09:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":173238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 09:58:39] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:58:39] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 09:58:39] local.INFO: IMEI packet received {"connection_id":173240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 09:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":173240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:01:05] local.INFO: TCP Data received {"connection_id":170838,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:01:05] local.INFO: Processing buffer {"connection_id":170838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:01:05] local.INFO: IMEI packet received {"connection_id":170838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":170838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:01:05] local.INFO: TCP Data received {"connection_id":170838,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa9ff68012cdc5f0007332578001a013b2a..."} 
[2026-09-04 10:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa9ff68012cdc5f0007332578001a013b2a..."} 
[2026-09-04 10:01:05] local.INFO: Processing buffer {"connection_id":170838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa9ff68012cdc5f0007332578001a013b2a..."} 
[2026-09-04 10:01:05] local.INFO: Packet analysis {"connection_id":170838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa9"} 
[2026-09-04 10:01:05] local.INFO: Extracted packet for processing {"connection_id":170838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa9"} 
[2026-09-04 10:01:05] local.INFO: GPS Element Parsed {"raw_longitude":752639744,"raw_latitude":120792440,"longitude_deg":75.2639744,"latitude_deg":12.079244,"altitude":26,"angle":315,"satellites":42,"speed":7,"hex_longitude":"2cdc5f00","hex_latitude":"07332578","is_valid_coordinates":true} 
[2026-09-04 10:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854955520001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397692638507040768,"note":"Value kept but may cause issues"} 
[2026-09-04 10:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2567051756678346752,"note":"Value kept but may cause issues"} 
[2026-09-04 10:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788495921000,"timestamp_ms":1788495921000,"timestamp_seconds":1788495921,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa9ff68"} 
[2026-09-04 10:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 10:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854955520001,"66":27919,"149":206,"83":40960,"24":7,"16":397692638507040768,"44":-2567051756678346752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 10:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854955520001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:01:05] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 10:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397692638507040768,"km_value":397692638507040.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2567051756678346752,"description":"Unknown IO ID 44"} 
[2026-09-04 10:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854955520001,"power":27919,"unknown_149":206,"unknown_83":40960,"ignition":7,"odometer":null,"unknown_44":-2567051756678346752}} 
[2026-09-04 10:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":170838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:01:05] local.INFO: GPS data processed {"connection_id":170838,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:01:05] local.INFO: Acknowledgment sent {"connection_id":170838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:01:36] local.INFO: TCP Data received {"connection_id":170838,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06aaa0738012cdc5d8007332620001a012b2d..."} 
[2026-09-04 10:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aaa0738012cdc5d8007332620001a012b2d..."} 
[2026-09-04 10:01:37] local.INFO: Processing buffer {"connection_id":170838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aaa0738012cdc5d8007332620001a012b2d..."} 
[2026-09-04 10:01:37] local.INFO: Packet analysis {"connection_id":170838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aaa"} 
[2026-09-04 10:01:37] local.INFO: Extracted packet for processing {"connection_id":170838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aaa"} 
[2026-09-04 10:01:37] local.INFO: GPS Element Parsed {"raw_longitude":752639360,"raw_latitude":120792608,"longitude_deg":75.263936,"latitude_deg":12.0792608,"altitude":26,"angle":299,"satellites":45,"speed":0,"hex_longitude":"2cdc5d80","hex_latitude":"07332620","is_valid_coordinates":true} 
[2026-09-04 10:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854955776001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397692638507040768,"note":"Value kept but may cause issues"} 
[2026-09-04 10:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2567333231655028736,"note":"Value kept but may cause issues"} 
[2026-09-04 10:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788495923000,"timestamp_ms":1788495923000,"timestamp_seconds":1788495923,"priority":1,"record_length":96,"hex_timestamp":"000001a06aaa0738"} 
[2026-09-04 10:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 10:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854955776001,"66":27343,"149":206,"83":40960,"24":0,"16":397692638507040768,"44":-2567333231655028736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 10:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854955776001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:01:37] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 10:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397692638507040768,"km_value":397692638507040.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2567333231655028736,"description":"Unknown IO ID 44"} 
[2026-09-04 10:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854955776001,"power":27343,"unknown_149":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2567333231655028736}} 
[2026-09-04 10:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":170838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:01:37] local.INFO: GPS data processed {"connection_id":170838,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:01:37] local.INFO: Acknowledgment sent {"connection_id":170838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:02:00] local.INFO: TCP Data received {"connection_id":173241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:02:00] local.INFO: Processing buffer {"connection_id":173241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:02:00] local.INFO: IMEI packet received {"connection_id":173241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":173241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:02:05] local.INFO: TCP Data received {"connection_id":173241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:02:05] local.INFO: Processing buffer {"connection_id":173241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:02:05] local.INFO: IMEI packet received {"connection_id":173241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":173241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:02:06] local.INFO: TCP Data received {"connection_id":173241,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aac2248012cdc5ac0073326f00019012b2c..."} 
[2026-09-04 10:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aac2248012cdc5ac0073326f00019012b2c..."} 
[2026-09-04 10:02:06] local.INFO: Processing buffer {"connection_id":173241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aac2248012cdc5ac0073326f00019012b2c..."} 
[2026-09-04 10:02:06] local.INFO: Packet analysis {"connection_id":173241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aac"} 
[2026-09-04 10:02:06] local.INFO: Extracted packet for processing {"connection_id":173241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aac"} 
[2026-09-04 10:02:06] local.INFO: GPS Element Parsed {"raw_longitude":752638656,"raw_latitude":120792816,"longitude_deg":75.2638656,"latitude_deg":12.0792816,"altitude":25,"angle":299,"satellites":44,"speed":0,"hex_longitude":"2cdc5ac0","hex_latitude":"073326f0","is_valid_coordinates":true} 
[2026-09-04 10:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854956288001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397692638507040768,"note":"Value kept but may cause issues"} 
[2026-09-04 10:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2567755444120051712,"note":"Value kept but may cause issues"} 
[2026-09-04 10:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788496061000,"timestamp_ms":1788496061000,"timestamp_seconds":1788496061,"priority":1,"record_length":96,"hex_timestamp":"000001a06aac2248"} 
[2026-09-04 10:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 10:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854956288001,"66":26636,"149":206,"83":40960,"24":0,"16":397692638507040768,"44":-2567755444120051712},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 10:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854956288001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:02:06] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 10:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397692638507040768,"km_value":397692638507040.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2567755444120051712,"description":"Unknown IO ID 44"} 
[2026-09-04 10:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854956288001,"power":26636,"unknown_149":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2567755444120051712}} 
[2026-09-04 10:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":173241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:02:06] local.INFO: GPS data processed {"connection_id":173241,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:02:06] local.INFO: Acknowledgment sent {"connection_id":173241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:02:37] local.INFO: TCP Data received {"connection_id":173241,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aac7838012cdc5980073327080019012b2c..."} 
[2026-09-04 10:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aac7838012cdc5980073327080019012b2c..."} 
[2026-09-04 10:02:37] local.INFO: Processing buffer {"connection_id":173241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aac7838012cdc5980073327080019012b2c..."} 
[2026-09-04 10:02:37] local.INFO: Packet analysis {"connection_id":173241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aac"} 
[2026-09-04 10:02:37] local.INFO: Extracted packet for processing {"connection_id":173241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aac"} 
[2026-09-04 10:02:37] local.INFO: GPS Element Parsed {"raw_longitude":752638336,"raw_latitude":120792840,"longitude_deg":75.2638336,"latitude_deg":12.079284,"altitude":25,"angle":299,"satellites":44,"speed":0,"hex_longitude":"2cdc5980","hex_latitude":"07332708","is_valid_coordinates":true} 
[2026-09-04 10:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854991616001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397692638507040768,"note":"Value kept but may cause issues"} 
[2026-09-04 10:02:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2568529500305952768,"note":"Value kept but may cause issues"} 
[2026-09-04 10:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788496083000,"timestamp_ms":1788496083000,"timestamp_seconds":1788496083,"priority":1,"record_length":96,"hex_timestamp":"000001a06aac7838"} 
[2026-09-04 10:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 10:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854991616001,"66":27571,"149":206,"83":40960,"24":0,"16":397692638507040768,"44":-2568529500305952768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 10:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854991616001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:02:37] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 10:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397692638507040768,"km_value":397692638507040.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:02:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2568529500305952768,"description":"Unknown IO ID 44"} 
[2026-09-04 10:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854991616001,"power":27571,"unknown_149":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2568529500305952768}} 
[2026-09-04 10:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":173241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:02:37] local.INFO: GPS data processed {"connection_id":173241,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:02:37] local.INFO: Acknowledgment sent {"connection_id":173241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:03:00] local.INFO: TCP Data received {"connection_id":171941,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:03:00] local.INFO: Processing buffer {"connection_id":171941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:03:00] local.INFO: IMEI packet received {"connection_id":171941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":171941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:03:05] local.INFO: TCP Data received {"connection_id":171941,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:03:05] local.INFO: Processing buffer {"connection_id":171941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:03:05] local.INFO: IMEI packet received {"connection_id":171941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":171941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:03:05] local.INFO: TCP Data received {"connection_id":171941,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aacca40012cdc5980073327080019012b2d..."} 
[2026-09-04 10:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aacca40012cdc5980073327080019012b2d..."} 
[2026-09-04 10:03:05] local.INFO: Processing buffer {"connection_id":171941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aacca40012cdc5980073327080019012b2d..."} 
[2026-09-04 10:03:05] local.INFO: Packet analysis {"connection_id":171941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aac"} 
[2026-09-04 10:03:05] local.INFO: Extracted packet for processing {"connection_id":171941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aac"} 
[2026-09-04 10:03:05] local.INFO: GPS Element Parsed {"raw_longitude":752638336,"raw_latitude":120792840,"longitude_deg":75.2638336,"latitude_deg":12.079284,"altitude":25,"angle":299,"satellites":45,"speed":0,"hex_longitude":"2cdc5980","hex_latitude":"07332708","is_valid_coordinates":true} 
[2026-09-04 10:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854997248001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397692638507040768,"note":"Value kept but may cause issues"} 
[2026-09-04 10:03:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2568881344026834944,"note":"Value kept but may cause issues"} 
[2026-09-04 10:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788496104000,"timestamp_ms":1788496104000,"timestamp_seconds":1788496104,"priority":1,"record_length":96,"hex_timestamp":"000001a06aacca40"} 
[2026-09-04 10:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 10:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854997248001,"66":27745,"149":206,"83":40960,"24":0,"16":397692638507040768,"44":-2568881344026834944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 10:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854997248001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:03:05] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 10:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397692638507040768,"km_value":397692638507040.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:03:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2568881344026834944,"description":"Unknown IO ID 44"} 
[2026-09-04 10:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854997248001,"power":27745,"unknown_149":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2568881344026834944}} 
[2026-09-04 10:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":171941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:03:05] local.INFO: GPS data processed {"connection_id":171941,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:03:05] local.INFO: Acknowledgment sent {"connection_id":171941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:03:36] local.INFO: TCP Data received {"connection_id":171941,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aad1c48012cdc4400073334200024012b2b..."} 
[2026-09-04 10:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aad1c48012cdc4400073334200024012b2b..."} 
[2026-09-04 10:03:36] local.INFO: Processing buffer {"connection_id":171941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aad1c48012cdc4400073334200024012b2b..."} 
[2026-09-04 10:03:36] local.INFO: Packet analysis {"connection_id":171941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aad"} 
[2026-09-04 10:03:36] local.INFO: Extracted packet for processing {"connection_id":171941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aad"} 
[2026-09-04 10:03:36] local.INFO: GPS Element Parsed {"raw_longitude":752632832,"raw_latitude":120796192,"longitude_deg":75.2632832,"latitude_deg":12.0796192,"altitude":36,"angle":299,"satellites":43,"speed":18,"hex_longitude":"2cdc4400","hex_latitude":"07333420","is_valid_coordinates":true} 
[2026-09-04 10:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855002624001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397692943449718784,"note":"Value kept but may cause issues"} 
[2026-09-04 10:03:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2568881344026834944,"note":"Value kept but may cause issues"} 
[2026-09-04 10:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788496125000,"timestamp_ms":1788496125000,"timestamp_seconds":1788496125,"priority":1,"record_length":96,"hex_timestamp":"000001a06aad1c48"} 
[2026-09-04 10:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 10:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855002624001,"66":27876,"149":206,"83":40960,"24":18,"16":397692943449718784,"44":-2568881344026834944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 10:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855002624001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:03:36] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 10:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397692943449718784,"km_value":397692943449718.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:03:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2568881344026834944,"description":"Unknown IO ID 44"} 
[2026-09-04 10:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855002624001,"power":27876,"unknown_149":206,"unknown_83":40960,"ignition":18,"odometer":null,"unknown_44":-2568881344026834944}} 
[2026-09-04 10:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":171941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:03:36] local.INFO: GPS data processed {"connection_id":171941,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:03:36] local.INFO: Acknowledgment sent {"connection_id":171941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:03:59] local.INFO: TCP Data received {"connection_id":171943,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:03:59] local.INFO: Processing buffer {"connection_id":171943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:03:59] local.INFO: IMEI packet received {"connection_id":171943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":171943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:04:05] local.INFO: TCP Data received {"connection_id":171943,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:04:05] local.INFO: Processing buffer {"connection_id":171943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:04:05] local.INFO: IMEI packet received {"connection_id":171943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":171943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:04:06] local.INFO: TCP Data received {"connection_id":171943,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aad6680012cdc250007334620001e013128..."} 
[2026-09-04 10:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aad6680012cdc250007334620001e013128..."} 
[2026-09-04 10:04:06] local.INFO: Processing buffer {"connection_id":171943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aad6680012cdc250007334620001e013128..."} 
[2026-09-04 10:04:06] local.INFO: Packet analysis {"connection_id":171943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aad"} 
[2026-09-04 10:04:06] local.INFO: Extracted packet for processing {"connection_id":171943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aad"} 
[2026-09-04 10:04:06] local.INFO: GPS Element Parsed {"raw_longitude":752624896,"raw_latitude":120800800,"longitude_deg":75.2624896,"latitude_deg":12.08008,"altitude":30,"angle":305,"satellites":40,"speed":13,"hex_longitude":"2cdc2500","hex_latitude":"07334620","is_valid_coordinates":true} 
[2026-09-04 10:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855008000001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397693385831350272,"note":"Value kept but may cause issues"} 
[2026-09-04 10:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2574933056025255936,"note":"Value kept but may cause issues"} 
[2026-09-04 10:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788496144000,"timestamp_ms":1788496144000,"timestamp_seconds":1788496144,"priority":1,"record_length":96,"hex_timestamp":"000001a06aad6680"} 
[2026-09-04 10:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 10:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855008000001,"66":28050,"149":206,"83":40960,"24":13,"16":397693385831350272,"44":-2574933056025255936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 10:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855008000001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:04:06] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 10:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397693385831350272,"km_value":397693385831350.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2574933056025255936,"description":"Unknown IO ID 44"} 
[2026-09-04 10:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855008000001,"power":28050,"unknown_149":206,"unknown_83":40960,"ignition":13,"odometer":null,"unknown_44":-2574933056025255936}} 
[2026-09-04 10:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":171943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:04:06] local.INFO: GPS data processed {"connection_id":171943,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:04:06] local.INFO: Acknowledgment sent {"connection_id":171943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:04:14] local.INFO: TCP Data received {"connection_id":171942,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:04:14] local.INFO: Processing buffer {"connection_id":171942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:04:14] local.INFO: IMEI packet received {"connection_id":171942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":171942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:04:37] local.INFO: TCP Data received {"connection_id":171943,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aad9178012cdc120007334ed0001d012629..."} 
[2026-09-04 10:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aad9178012cdc120007334ed0001d012629..."} 
[2026-09-04 10:04:37] local.INFO: Processing buffer {"connection_id":171943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aad9178012cdc120007334ed0001d012629..."} 
[2026-09-04 10:04:37] local.INFO: Packet analysis {"connection_id":171943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aad"} 
[2026-09-04 10:04:37] local.INFO: Extracted packet for processing {"connection_id":171943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aad"} 
[2026-09-04 10:04:37] local.INFO: GPS Element Parsed {"raw_longitude":752620032,"raw_latitude":120803024,"longitude_deg":75.2620032,"latitude_deg":12.0803024,"altitude":29,"angle":294,"satellites":41,"speed":21,"hex_longitude":"2cdc1200","hex_latitude":"07334ed0","is_valid_coordinates":true} 
[2026-09-04 10:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855012864001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397693639234420736,"note":"Value kept but may cause issues"} 
[2026-09-04 10:04:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2583658780302106624,"note":"Value kept but may cause issues"} 
[2026-09-04 10:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788496155000,"timestamp_ms":1788496155000,"timestamp_seconds":1788496155,"priority":1,"record_length":96,"hex_timestamp":"000001a06aad9178"} 
[2026-09-04 10:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-04 10:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855012864001,"66":27995,"146":206,"83":40960,"24":21,"16":397693639234420736,"44":-2583658780302106624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855012864001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:04:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397693639234420736,"km_value":397693639234420.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:04:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2583658780302106624,"description":"Unknown IO ID 44"} 
[2026-09-04 10:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855012864001,"power":27995,"unknown_146":206,"unknown_83":40960,"ignition":21,"odometer":null,"unknown_44":-2583658780302106624}} 
[2026-09-04 10:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":171943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:04:37] local.INFO: GPS data processed {"connection_id":171943,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:04:37] local.INFO: Acknowledgment sent {"connection_id":171943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:04:43] local.INFO: TCP Data received {"connection_id":173242,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:04:43] local.INFO: Processing buffer {"connection_id":173242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:04:43] local.INFO: IMEI packet received {"connection_id":173242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":173242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:04:59] local.INFO: TCP Data received {"connection_id":171944,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:04:59] local.INFO: Processing buffer {"connection_id":171944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:04:59] local.INFO: IMEI packet received {"connection_id":171944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":171944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:05:05] local.INFO: TCP Data received {"connection_id":171944,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:05:05] local.INFO: Processing buffer {"connection_id":171944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:05:05] local.INFO: IMEI packet received {"connection_id":171944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":171944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:05:05] local.INFO: TCP Data received {"connection_id":171944,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aadc440012cdbf84007335ad8001d012728..."} 
[2026-09-04 10:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aadc440012cdbf84007335ad8001d012728..."} 
[2026-09-04 10:05:05] local.INFO: Processing buffer {"connection_id":171944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aadc440012cdbf84007335ad8001d012728..."} 
[2026-09-04 10:05:05] local.INFO: Packet analysis {"connection_id":171944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aad"} 
[2026-09-04 10:05:05] local.INFO: Extracted packet for processing {"connection_id":171944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aad"} 
[2026-09-04 10:05:05] local.INFO: GPS Element Parsed {"raw_longitude":752613440,"raw_latitude":120806104,"longitude_deg":75.261344,"latitude_deg":12.0806104,"altitude":29,"angle":295,"satellites":40,"speed":20,"hex_longitude":"2cdbf840","hex_latitude":"07335ad8","is_valid_coordinates":true} 
[2026-09-04 10:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855015680001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397693987126771712,"note":"Value kept but may cause issues"} 
[2026-09-04 10:05:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2589006804859039744,"note":"Value kept but may cause issues"} 
[2026-09-04 10:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788496168000,"timestamp_ms":1788496168000,"timestamp_seconds":1788496168,"priority":1,"record_length":96,"hex_timestamp":"000001a06aadc440"} 
[2026-09-04 10:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 10:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855015680001,"66":27789,"146":206,"83":40960,"24":20,"16":397693987126771712,"44":-2589006804859039744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855015680001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:05:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397693987126771712,"km_value":397693987126771.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:05:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2589006804859039744,"description":"Unknown IO ID 44"} 
[2026-09-04 10:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855015680001,"power":27789,"unknown_146":206,"unknown_83":40960,"ignition":20,"odometer":null,"unknown_44":-2589006804859039744}} 
[2026-09-04 10:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":171944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:05:05] local.INFO: GPS data processed {"connection_id":171944,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:05:05] local.INFO: Acknowledgment sent {"connection_id":171944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:05:36] local.INFO: TCP Data received {"connection_id":171944,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab0d568012cdbdbc0073365d8002001262a..."} 
[2026-09-04 10:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab0d568012cdbdbc0073365d8002001262a..."} 
[2026-09-04 10:05:36] local.INFO: Processing buffer {"connection_id":171944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab0d568012cdbdbc0073365d8002001262a..."} 
[2026-09-04 10:05:36] local.INFO: Packet analysis {"connection_id":171944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab0"} 
[2026-09-04 10:05:36] local.INFO: Extracted packet for processing {"connection_id":171944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab0"} 
[2026-09-04 10:05:36] local.INFO: GPS Element Parsed {"raw_longitude":752606144,"raw_latitude":120808920,"longitude_deg":75.2606144,"latitude_deg":12.080892,"altitude":32,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2cdbdbc0","hex_latitude":"073365d8","is_valid_coordinates":true} 
[2026-09-04 10:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855019008001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397693987126771712,"note":"Value kept but may cause issues"} 
[2026-09-04 10:05:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2596254785508550656,"note":"Value kept but may cause issues"} 
[2026-09-04 10:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788496369000,"timestamp_ms":1788496369000,"timestamp_seconds":1788496369,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab0d568"} 
[2026-09-04 10:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-04 10:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855019008001,"66":26604,"146":206,"83":40960,"24":0,"16":397693987126771712,"44":-2596254785508550656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855019008001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:05:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397693987126771712,"km_value":397693987126771.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:05:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2596254785508550656,"description":"Unknown IO ID 44"} 
[2026-09-04 10:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855019008001,"power":26604,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2596254785508550656}} 
[2026-09-04 10:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":171944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:05:36] local.INFO: GPS data processed {"connection_id":171944,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:05:36] local.INFO: Acknowledgment sent {"connection_id":171944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:06:05] local.INFO: TCP Data received {"connection_id":173244,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:06:05] local.INFO: Processing buffer {"connection_id":173244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:06:05] local.INFO: IMEI packet received {"connection_id":173244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":173244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:06:09] local.INFO: TCP Data received {"connection_id":173244,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:06:09] local.INFO: Processing buffer {"connection_id":173244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:06:09] local.INFO: IMEI packet received {"connection_id":173244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":173244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:06:10] local.INFO: TCP Data received {"connection_id":173244,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab13328012cdbd740073366b00020011d29..."} 
[2026-09-04 10:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab13328012cdbd740073366b00020011d29..."} 
[2026-09-04 10:06:10] local.INFO: Processing buffer {"connection_id":173244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab13328012cdbd740073366b00020011d29..."} 
[2026-09-04 10:06:10] local.INFO: Packet analysis {"connection_id":173244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab1"} 
[2026-09-04 10:06:10] local.INFO: Extracted packet for processing {"connection_id":173244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab1"} 
[2026-09-04 10:06:10] local.INFO: GPS Element Parsed {"raw_longitude":752604992,"raw_latitude":120809136,"longitude_deg":75.2604992,"latitude_deg":12.0809136,"altitude":32,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2cdbd740","hex_latitude":"073366b0","is_valid_coordinates":true} 
[2026-09-04 10:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855070464001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397693987126771712,"note":"Value kept but may cause issues"} 
[2026-09-04 10:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2604276822344083456,"note":"Value kept but may cause issues"} 
[2026-09-04 10:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788496393000,"timestamp_ms":1788496393000,"timestamp_seconds":1788496393,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab13328"} 
[2026-09-04 10:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-09-04 10:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855070464001,"66":27767,"146":206,"83":40960,"24":0,"16":397693987126771712,"44":-2604276822344083456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855070464001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:06:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397693987126771712,"km_value":397693987126771.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2604276822344083456,"description":"Unknown IO ID 44"} 
[2026-09-04 10:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855070464001,"power":27767,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2604276822344083456}} 
[2026-09-04 10:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":173244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:06:10] local.INFO: GPS data processed {"connection_id":173244,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:06:10] local.INFO: Acknowledgment sent {"connection_id":173244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:06:15] local.INFO: TCP Data received {"connection_id":173244,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab18530012cdbd740073366b00020011d2b..."} 
[2026-09-04 10:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab18530012cdbd740073366b00020011d2b..."} 
[2026-09-04 10:06:15] local.INFO: Processing buffer {"connection_id":173244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab18530012cdbd740073366b00020011d2b..."} 
[2026-09-04 10:06:15] local.INFO: Packet analysis {"connection_id":173244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab1"} 
[2026-09-04 10:06:15] local.INFO: Extracted packet for processing {"connection_id":173244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab1"} 
[2026-09-04 10:06:15] local.INFO: GPS Element Parsed {"raw_longitude":752604992,"raw_latitude":120809136,"longitude_deg":75.2604992,"latitude_deg":12.0809136,"altitude":32,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2cdbd740","hex_latitude":"073366b0","is_valid_coordinates":true} 
[2026-09-04 10:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855076608001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397693987126771712,"note":"Value kept but may cause issues"} 
[2026-09-04 10:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2605543459739226112,"note":"Value kept but may cause issues"} 
[2026-09-04 10:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788496414000,"timestamp_ms":1788496414000,"timestamp_seconds":1788496414,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab18530"} 
[2026-09-04 10:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 10:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855076608001,"66":27821,"146":206,"83":40960,"24":0,"16":397693987126771712,"44":-2605543459739226112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855076608001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:06:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397693987126771712,"km_value":397693987126771.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:06:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2605543459739226112,"description":"Unknown IO ID 44"} 
[2026-09-04 10:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855076608001,"power":27821,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2605543459739226112}} 
[2026-09-04 10:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":173244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:06:15] local.INFO: GPS data processed {"connection_id":173244,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:06:15] local.INFO: Acknowledgment sent {"connection_id":173244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:07:00] local.INFO: TCP Data received {"connection_id":171946,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:07:00] local.INFO: Processing buffer {"connection_id":171946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:07:00] local.INFO: IMEI packet received {"connection_id":171946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":171946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:07:03] local.INFO: TCP Data received {"connection_id":171946,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:07:03] local.INFO: Processing buffer {"connection_id":171946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:07:03] local.INFO: IMEI packet received {"connection_id":171946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":171946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:07:03] local.INFO: TCP Data received {"connection_id":171946,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab1c798012cdbb58007337198001e012023..."} 
[2026-09-04 10:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab1c798012cdbb58007337198001e012023..."} 
[2026-09-04 10:07:04] local.INFO: Processing buffer {"connection_id":171946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab1c798012cdbb58007337198001e012023..."} 
[2026-09-04 10:07:04] local.INFO: Packet analysis {"connection_id":171946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab1"} 
[2026-09-04 10:07:04] local.INFO: Extracted packet for processing {"connection_id":171946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab1"} 
[2026-09-04 10:07:04] local.INFO: GPS Element Parsed {"raw_longitude":752596352,"raw_latitude":120811928,"longitude_deg":75.2596352,"latitude_deg":12.0811928,"altitude":30,"angle":288,"satellites":35,"speed":30,"hex_longitude":"2cdbb580","hex_latitude":"07337198","is_valid_coordinates":true} 
[2026-09-04 10:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855081984001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397694416623501312,"note":"Value kept but may cause issues"} 
[2026-09-04 10:07:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2605543459739226112,"note":"Value kept but may cause issues"} 
[2026-09-04 10:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788496431000,"timestamp_ms":1788496431000,"timestamp_seconds":1788496431,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab1c798"} 
[2026-09-04 10:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 10:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855081984001,"66":27865,"146":206,"83":40960,"24":30,"16":397694416623501312,"44":-2605543459739226112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855081984001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:07:04] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397694416623501312,"km_value":397694416623501.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:07:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2605543459739226112,"description":"Unknown IO ID 44"} 
[2026-09-04 10:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855081984001,"power":27865,"unknown_146":206,"unknown_83":40960,"ignition":30,"odometer":null,"unknown_44":-2605543459739226112}} 
[2026-09-04 10:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":171946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:07:04] local.INFO: GPS data processed {"connection_id":171946,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:07:04] local.INFO: Acknowledgment sent {"connection_id":171946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:07:34] local.INFO: TCP Data received {"connection_id":171946,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab1fa60012cdb934007337c00001b011d23..."} 
[2026-09-04 10:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab1fa60012cdb934007337c00001b011d23..."} 
[2026-09-04 10:07:34] local.INFO: Processing buffer {"connection_id":171946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab1fa60012cdb934007337c00001b011d23..."} 
[2026-09-04 10:07:34] local.INFO: Packet analysis {"connection_id":171946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab1"} 
[2026-09-04 10:07:34] local.INFO: Extracted packet for processing {"connection_id":171946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab1"} 
[2026-09-04 10:07:34] local.INFO: GPS Element Parsed {"raw_longitude":752587584,"raw_latitude":120814592,"longitude_deg":75.2587584,"latitude_deg":12.0814592,"altitude":27,"angle":285,"satellites":35,"speed":24,"hex_longitude":"2cdb9340","hex_latitude":"07337c00","is_valid_coordinates":true} 
[2026-09-04 10:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855086336001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397694854710165504,"note":"Value kept but may cause issues"} 
[2026-09-04 10:07:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2615043240202496000,"note":"Value kept but may cause issues"} 
[2026-09-04 10:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788496444000,"timestamp_ms":1788496444000,"timestamp_seconds":1788496444,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab1fa60"} 
[2026-09-04 10:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 10:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855086336001,"66":28028,"146":206,"83":40960,"24":24,"16":397694854710165504,"44":-2615043240202496000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855086336001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:07:34] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397694854710165504,"km_value":397694854710165.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:07:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2615043240202496000,"description":"Unknown IO ID 44"} 
[2026-09-04 10:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855086336001,"power":28028,"unknown_146":206,"unknown_83":40960,"ignition":24,"odometer":null,"unknown_44":-2615043240202496000}} 
[2026-09-04 10:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":171946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:07:34] local.INFO: GPS data processed {"connection_id":171946,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:07:34] local.INFO: Acknowledgment sent {"connection_id":171946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:07:56] local.INFO: TCP Data received {"connection_id":170839,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:07:56] local.INFO: Processing buffer {"connection_id":170839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:07:56] local.INFO: IMEI packet received {"connection_id":170839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":170839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:07:57] local.INFO: TCP Data received {"connection_id":170839,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:07:57] local.INFO: Processing buffer {"connection_id":170839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:07:57] local.INFO: IMEI packet received {"connection_id":170839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":170839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:08:00] local.INFO: TCP Data received {"connection_id":170839,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:08:00] local.INFO: Processing buffer {"connection_id":170839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:08:00] local.INFO: IMEI packet received {"connection_id":170839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":170839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:08:02] local.INFO: TCP Data received {"connection_id":170839,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:08:02] local.INFO: Processing buffer {"connection_id":170839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:08:02] local.INFO: IMEI packet received {"connection_id":170839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":170839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:08:03] local.INFO: TCP Data received {"connection_id":170839,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab4bd68012cdb82c0073383380014006723..."} 
[2026-09-04 10:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab4bd68012cdb82c0073383380014006723..."} 
[2026-09-04 10:08:03] local.INFO: Processing buffer {"connection_id":170839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab4bd68012cdb82c0073383380014006723..."} 
[2026-09-04 10:08:03] local.INFO: Packet analysis {"connection_id":170839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab4"} 
[2026-09-04 10:08:03] local.INFO: Extracted packet for processing {"connection_id":170839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab4"} 
[2026-09-04 10:08:03] local.INFO: GPS Element Parsed {"raw_longitude":752583360,"raw_latitude":120816440,"longitude_deg":75.258336,"latitude_deg":12.081644,"altitude":20,"angle":103,"satellites":35,"speed":7,"hex_longitude":"2cdb82c0","hex_latitude":"07338338","is_valid_coordinates":true} 
[2026-09-04 10:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855133952001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397694966379315200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:08:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2630735470152945664,"note":"Value kept but may cause issues"} 
[2026-09-04 10:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788496625000,"timestamp_ms":1788496625000,"timestamp_seconds":1788496625,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab4bd68"} 
[2026-09-04 10:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 10:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":170839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":170839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":170839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855133952001,"66":27876,"146":206,"83":40960,"24":7,"16":397694966379315200,"44":-2630735470152945664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855133952001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:08:03] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397694966379315200,"km_value":397694966379315.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:08:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2630735470152945664,"description":"Unknown IO ID 44"} 
[2026-09-04 10:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855133952001,"power":27876,"unknown_146":206,"unknown_83":40960,"ignition":7,"odometer":null,"unknown_44":-2630735470152945664}} 
[2026-09-04 10:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":170839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:08:03] local.INFO: GPS data processed {"connection_id":170839,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:08:03] local.INFO: Acknowledgment sent {"connection_id":170839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:08:34] local.INFO: TCP Data received {"connection_id":170839,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab56178012cdb8640073381580010007b21..."} 
[2026-09-04 10:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab56178012cdb8640073381580010007b21..."} 
[2026-09-04 10:08:34] local.INFO: Processing buffer {"connection_id":170839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab56178012cdb8640073381580010007b21..."} 
[2026-09-04 10:08:34] local.INFO: Packet analysis {"connection_id":170839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:08:34] local.INFO: Extracted packet for processing {"connection_id":170839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:08:34] local.INFO: GPS Element Parsed {"raw_longitude":752584256,"raw_latitude":120815960,"longitude_deg":75.2584256,"latitude_deg":12.081596,"altitude":16,"angle":123,"satellites":33,"speed":2,"hex_longitude":"2cdb8640","hex_latitude":"07338158","is_valid_coordinates":true} 
[2026-09-04 10:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855146496001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695086638399488,"note":"Value kept but may cause issues"} 
[2026-09-04 10:08:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628342932851030016,"note":"Value kept but may cause issues"} 
[2026-09-04 10:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788496667000,"timestamp_ms":1788496667000,"timestamp_seconds":1788496667,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab56178"} 
[2026-09-04 10:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-04 10:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":170839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":170839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":170839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855146496001,"66":27908,"146":206,"83":40960,"24":2,"16":397695086638399488,"44":-2628342932851030016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855146496001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:08:34] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695086638399488,"km_value":397695086638399.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:08:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628342932851030016,"description":"Unknown IO ID 44"} 
[2026-09-04 10:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855146496001,"power":27908,"unknown_146":206,"unknown_83":40960,"ignition":2,"odometer":null,"unknown_44":-2628342932851030016}} 
[2026-09-04 10:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":170839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:08:34] local.INFO: GPS data processed {"connection_id":170839,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:08:34] local.INFO: Acknowledgment sent {"connection_id":170839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:08:59] local.INFO: TCP Data received {"connection_id":173246,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:08:59] local.INFO: Processing buffer {"connection_id":173246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:08:59] local.INFO: IMEI packet received {"connection_id":173246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":173246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:09:05] local.INFO: TCP Data received {"connection_id":173246,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:09:05] local.INFO: Processing buffer {"connection_id":173246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:09:05] local.INFO: IMEI packet received {"connection_id":173246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":173246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:09:05] local.INFO: TCP Data received {"connection_id":173246,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab57500012cdb8700073380e80010007022..."} 
[2026-09-04 10:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab57500012cdb8700073380e80010007022..."} 
[2026-09-04 10:09:05] local.INFO: Processing buffer {"connection_id":173246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab57500012cdb8700073380e80010007022..."} 
[2026-09-04 10:09:05] local.INFO: Packet analysis {"connection_id":173246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:09:05] local.INFO: Extracted packet for processing {"connection_id":173246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:09:05] local.INFO: GPS Element Parsed {"raw_longitude":752584448,"raw_latitude":120815848,"longitude_deg":75.2584448,"latitude_deg":12.0815848,"altitude":16,"angle":112,"satellites":34,"speed":2,"hex_longitude":"2cdb8700","hex_latitude":"073380e8","is_valid_coordinates":true} 
[2026-09-04 10:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855146752001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695103818268672,"note":"Value kept but may cause issues"} 
[2026-09-04 10:09:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628342932851042304,"note":"Value kept but may cause issues"} 
[2026-09-04 10:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788496672000,"timestamp_ms":1788496672000,"timestamp_seconds":1788496672,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab57500"} 
[2026-09-04 10:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 10:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855146752001,"66":27930,"146":206,"83":40960,"24":2,"16":397695103818268672,"44":-2628342932851042304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855146752001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:09:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695103818268672,"km_value":397695103818268.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:09:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628342932851042304,"description":"Unknown IO ID 44"} 
[2026-09-04 10:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855146752001,"power":27930,"unknown_146":206,"unknown_83":40960,"ignition":2,"odometer":null,"unknown_44":-2628342932851042304}} 
[2026-09-04 10:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":173246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:09:05] local.INFO: GPS data processed {"connection_id":173246,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:09:05] local.INFO: Acknowledgment sent {"connection_id":173246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:09:36] local.INFO: TCP Data received {"connection_id":173246,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab578e8012cdb8700073380e80010005820..."} 
[2026-09-04 10:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab578e8012cdb8700073380e80010005820..."} 
[2026-09-04 10:09:37] local.INFO: Processing buffer {"connection_id":173246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab578e8012cdb8700073380e80010005820..."} 
[2026-09-04 10:09:37] local.INFO: Packet analysis {"connection_id":173246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:09:37] local.INFO: Extracted packet for processing {"connection_id":173246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:09:37] local.INFO: GPS Element Parsed {"raw_longitude":752584448,"raw_latitude":120815848,"longitude_deg":75.2584448,"latitude_deg":12.0815848,"altitude":16,"angle":88,"satellites":32,"speed":0,"hex_longitude":"2cdb8700","hex_latitude":"073380e8","is_valid_coordinates":true} 
[2026-09-04 10:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855148032001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695103818268672,"note":"Value kept but may cause issues"} 
[2026-09-04 10:09:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628131826618537984,"note":"Value kept but may cause issues"} 
[2026-09-04 10:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788496673000,"timestamp_ms":1788496673000,"timestamp_seconds":1788496673,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab578e8"} 
[2026-09-04 10:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 10:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855148032001,"66":27539,"146":206,"83":40960,"24":0,"16":397695103818268672,"44":-2628131826618537984},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855148032001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:09:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695103818268672,"km_value":397695103818268.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:09:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628131826618537984,"description":"Unknown IO ID 44"} 
[2026-09-04 10:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855148032001,"power":27539,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628131826618537984}} 
[2026-09-04 10:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":173246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:09:37] local.INFO: GPS data processed {"connection_id":173246,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:09:37] local.INFO: Acknowledgment sent {"connection_id":173246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:09:59] local.INFO: TCP Data received {"connection_id":171947,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:09:59] local.INFO: Processing buffer {"connection_id":171947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:09:59] local.INFO: IMEI packet received {"connection_id":171947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":171947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:10:05] local.INFO: TCP Data received {"connection_id":171947,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:10:05] local.INFO: Processing buffer {"connection_id":171947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:10:05] local.INFO: IMEI packet received {"connection_id":171947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":171947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:10:05] local.INFO: TCP Data received {"connection_id":171947,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab58888012cdb8740073381080010005c21..."} 
[2026-09-04 10:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab58888012cdb8740073381080010005c21..."} 
[2026-09-04 10:10:05] local.INFO: Processing buffer {"connection_id":171947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab58888012cdb8740073381080010005c21..."} 
[2026-09-04 10:10:05] local.INFO: Packet analysis {"connection_id":171947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:10:05] local.INFO: Extracted packet for processing {"connection_id":171947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:10:05] local.INFO: GPS Element Parsed {"raw_longitude":752584512,"raw_latitude":120815880,"longitude_deg":75.2584512,"latitude_deg":12.081588,"altitude":16,"angle":92,"satellites":33,"speed":0,"hex_longitude":"2cdb8740","hex_latitude":"07338108","is_valid_coordinates":true} 
[2026-09-04 10:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855148288001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:10:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628131826618537984,"note":"Value kept but may cause issues"} 
[2026-09-04 10:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788496677000,"timestamp_ms":1788496677000,"timestamp_seconds":1788496677,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab58888"} 
[2026-09-04 10:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-04 10:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855148288001,"66":27843,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628131826618537984},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855148288001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:10:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:10:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628131826618537984,"description":"Unknown IO ID 44"} 
[2026-09-04 10:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855148288001,"power":27843,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628131826618537984}} 
[2026-09-04 10:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":171947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:10:05] local.INFO: GPS data processed {"connection_id":171947,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:10:05] local.INFO: Acknowledgment sent {"connection_id":171947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:10:08] local.INFO: TCP Data received {"connection_id":170840,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:10:08] local.INFO: Processing buffer {"connection_id":170840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:10:08] local.INFO: IMEI packet received {"connection_id":170840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":170840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:10:36] local.INFO: TCP Data received {"connection_id":171947,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab59440012cdb86c0073380e8001000e521..."} 
[2026-09-04 10:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab59440012cdb86c0073380e8001000e521..."} 
[2026-09-04 10:10:36] local.INFO: Processing buffer {"connection_id":171947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab59440012cdb86c0073380e8001000e521..."} 
[2026-09-04 10:10:36] local.INFO: Packet analysis {"connection_id":171947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:10:36] local.INFO: Extracted packet for processing {"connection_id":171947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:10:36] local.INFO: GPS Element Parsed {"raw_longitude":752584384,"raw_latitude":120815848,"longitude_deg":75.2584384,"latitude_deg":12.0815848,"altitude":16,"angle":229,"satellites":33,"speed":2,"hex_longitude":"2cdb86c0","hex_latitude":"073380e8","is_valid_coordinates":true} 
[2026-09-04 10:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855149312001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:10:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628061457874352128,"note":"Value kept but may cause issues"} 
[2026-09-04 10:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788496680000,"timestamp_ms":1788496680000,"timestamp_seconds":1788496680,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab59440"} 
[2026-09-04 10:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 10:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855149312001,"66":27321,"146":206,"83":40960,"24":2,"16":397695108113235968,"44":-2628061457874352128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855149312001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:10:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628061457874352128,"description":"Unknown IO ID 44"} 
[2026-09-04 10:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855149312001,"power":27321,"unknown_146":206,"unknown_83":40960,"ignition":2,"odometer":null,"unknown_44":-2628061457874352128}} 
[2026-09-04 10:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":171947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:10:36] local.INFO: GPS data processed {"connection_id":171947,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:10:36] local.INFO: Acknowledgment sent {"connection_id":171947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:10:43] local.INFO: TCP Data received {"connection_id":170547,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:10:43] local.INFO: Processing buffer {"connection_id":170547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:10:43] local.INFO: IMEI packet received {"connection_id":170547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":170547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:10:59] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:10:59] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:10:59] local.INFO: IMEI packet received {"connection_id":173247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":173247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:11:05] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:11:05] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:11:05] local.INFO: IMEI packet received {"connection_id":173247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":173247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:11:05] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:11:05] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:11:05] local.INFO: Packet analysis {"connection_id":173247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:11:05] local.INFO: Extracted packet for processing {"connection_id":173247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:11:05] local.INFO: GPS Element Parsed {"raw_longitude":752584384,"raw_latitude":120815784,"longitude_deg":75.2584384,"latitude_deg":12.0815784,"altitude":16,"angle":216,"satellites":33,"speed":2,"hex_longitude":"2cdb86c0","hex_latitude":"073380a8","is_valid_coordinates":true} 
[2026-09-04 10:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855150080001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:11:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628202195362715648,"note":"Value kept but may cause issues"} 
[2026-09-04 10:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788496681000,"timestamp_ms":1788496681000,"timestamp_seconds":1788496681,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab59828"} 
[2026-09-04 10:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 10:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855150080001,"66":27158,"146":206,"83":40960,"24":2,"16":397695108113235968,"44":-2628202195362715648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855150080001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:11:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:11:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628202195362715648,"description":"Unknown IO ID 44"} 
[2026-09-04 10:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855150080001,"power":27158,"unknown_146":206,"unknown_83":40960,"ignition":2,"odometer":null,"unknown_44":-2628202195362715648}} 
[2026-09-04 10:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":173247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:11:05] local.INFO: GPS data processed {"connection_id":173247,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:11:05] local.INFO: Acknowledgment sent {"connection_id":173247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:11:36] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:11:36] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:11:36] local.INFO: Packet analysis {"connection_id":173247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:11:36] local.INFO: Extracted packet for processing {"connection_id":173247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:11:36] local.INFO: GPS Element Parsed {"raw_longitude":752584384,"raw_latitude":120815784,"longitude_deg":75.2584384,"latitude_deg":12.0815784,"altitude":16,"angle":216,"satellites":33,"speed":2,"hex_longitude":"2cdb86c0","hex_latitude":"073380a8","is_valid_coordinates":true} 
[2026-09-04 10:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855150080001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:11:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628202195362715648,"note":"Value kept but may cause issues"} 
[2026-09-04 10:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788496681000,"timestamp_ms":1788496681000,"timestamp_seconds":1788496681,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab59828"} 
[2026-09-04 10:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 10:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855150080001,"66":27158,"146":206,"83":40960,"24":2,"16":397695108113235968,"44":-2628202195362715648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855150080001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:11:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:11:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628202195362715648,"description":"Unknown IO ID 44"} 
[2026-09-04 10:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855150080001,"power":27158,"unknown_146":206,"unknown_83":40960,"ignition":2,"odometer":null,"unknown_44":-2628202195362715648}} 
[2026-09-04 10:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":173247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:11:36] local.INFO: GPS data processed {"connection_id":173247,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:11:36] local.INFO: Acknowledgment sent {"connection_id":173247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:12:05] local.INFO: TCP Data received {"connection_id":173248,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:12:05] local.INFO: Processing buffer {"connection_id":173248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:12:05] local.INFO: IMEI packet received {"connection_id":173248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":173248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:12:10] local.INFO: TCP Data received {"connection_id":173248,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:12:10] local.INFO: Processing buffer {"connection_id":173248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:12:10] local.INFO: IMEI packet received {"connection_id":173248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":173248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:12:10] local.INFO: TCP Data received {"connection_id":173248,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:12:10] local.INFO: Processing buffer {"connection_id":173248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:12:10] local.INFO: Packet analysis {"connection_id":173248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:12:10] local.INFO: Extracted packet for processing {"connection_id":173248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:12:10] local.INFO: GPS Element Parsed {"raw_longitude":752584384,"raw_latitude":120815784,"longitude_deg":75.2584384,"latitude_deg":12.0815784,"altitude":16,"angle":216,"satellites":33,"speed":2,"hex_longitude":"2cdb86c0","hex_latitude":"073380a8","is_valid_coordinates":true} 
[2026-09-04 10:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855150080001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628202195362715648,"note":"Value kept but may cause issues"} 
[2026-09-04 10:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788496681000,"timestamp_ms":1788496681000,"timestamp_seconds":1788496681,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab59828"} 
[2026-09-04 10:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 10:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855150080001,"66":27158,"146":206,"83":40960,"24":2,"16":397695108113235968,"44":-2628202195362715648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855150080001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:12:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628202195362715648,"description":"Unknown IO ID 44"} 
[2026-09-04 10:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855150080001,"power":27158,"unknown_146":206,"unknown_83":40960,"ignition":2,"odometer":null,"unknown_44":-2628202195362715648}} 
[2026-09-04 10:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":173248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:12:10] local.INFO: GPS data processed {"connection_id":173248,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:12:10] local.INFO: Acknowledgment sent {"connection_id":173248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:12:15] local.INFO: TCP Data received {"connection_id":173248,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:12:15] local.INFO: Processing buffer {"connection_id":173248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:12:15] local.INFO: Packet analysis {"connection_id":173248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:12:15] local.INFO: Extracted packet for processing {"connection_id":173248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:12:15] local.INFO: GPS Element Parsed {"raw_longitude":752584384,"raw_latitude":120815784,"longitude_deg":75.2584384,"latitude_deg":12.0815784,"altitude":16,"angle":216,"satellites":33,"speed":2,"hex_longitude":"2cdb86c0","hex_latitude":"073380a8","is_valid_coordinates":true} 
[2026-09-04 10:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855150080001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:12:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628202195362715648,"note":"Value kept but may cause issues"} 
[2026-09-04 10:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788496681000,"timestamp_ms":1788496681000,"timestamp_seconds":1788496681,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab59828"} 
[2026-09-04 10:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 10:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855150080001,"66":27158,"146":206,"83":40960,"24":2,"16":397695108113235968,"44":-2628202195362715648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855150080001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:12:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:12:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628202195362715648,"description":"Unknown IO ID 44"} 
[2026-09-04 10:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855150080001,"power":27158,"unknown_146":206,"unknown_83":40960,"ignition":2,"odometer":null,"unknown_44":-2628202195362715648}} 
[2026-09-04 10:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":173248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:12:15] local.INFO: GPS data processed {"connection_id":173248,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:12:15] local.INFO: Acknowledgment sent {"connection_id":173248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:13:00] local.INFO: TCP Data received {"connection_id":170548,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:13:00] local.INFO: Processing buffer {"connection_id":170548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:13:00] local.INFO: IMEI packet received {"connection_id":170548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":170548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:13:05] local.INFO: TCP Data received {"connection_id":170548,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:13:05] local.INFO: Processing buffer {"connection_id":170548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:13:05] local.INFO: IMEI packet received {"connection_id":170548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":170548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:13:05] local.INFO: TCP Data received {"connection_id":170548,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:13:05] local.INFO: Processing buffer {"connection_id":170548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:13:05] local.INFO: Packet analysis {"connection_id":170548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:13:05] local.INFO: Extracted packet for processing {"connection_id":170548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:13:05] local.INFO: GPS Element Parsed {"raw_longitude":752584384,"raw_latitude":120815784,"longitude_deg":75.2584384,"latitude_deg":12.0815784,"altitude":16,"angle":216,"satellites":33,"speed":2,"hex_longitude":"2cdb86c0","hex_latitude":"073380a8","is_valid_coordinates":true} 
[2026-09-04 10:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855150080001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:13:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628202195362715648,"note":"Value kept but may cause issues"} 
[2026-09-04 10:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788496681000,"timestamp_ms":1788496681000,"timestamp_seconds":1788496681,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab59828"} 
[2026-09-04 10:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 10:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855150080001,"66":27158,"146":206,"83":40960,"24":2,"16":397695108113235968,"44":-2628202195362715648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855150080001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:13:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:13:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628202195362715648,"description":"Unknown IO ID 44"} 
[2026-09-04 10:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855150080001,"power":27158,"unknown_146":206,"unknown_83":40960,"ignition":2,"odometer":null,"unknown_44":-2628202195362715648}} 
[2026-09-04 10:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":170548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:13:05] local.INFO: GPS data processed {"connection_id":170548,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:13:05] local.INFO: Acknowledgment sent {"connection_id":170548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:13:36] local.INFO: TCP Data received {"connection_id":170548,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:13:36] local.INFO: Processing buffer {"connection_id":170548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab59828012cdb86c0073380a8001000d821..."} 
[2026-09-04 10:13:36] local.INFO: Packet analysis {"connection_id":170548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:13:36] local.INFO: Extracted packet for processing {"connection_id":170548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:13:36] local.INFO: GPS Element Parsed {"raw_longitude":752584384,"raw_latitude":120815784,"longitude_deg":75.2584384,"latitude_deg":12.0815784,"altitude":16,"angle":216,"satellites":33,"speed":2,"hex_longitude":"2cdb86c0","hex_latitude":"073380a8","is_valid_coordinates":true} 
[2026-09-04 10:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855150080001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:13:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628202195362715648,"note":"Value kept but may cause issues"} 
[2026-09-04 10:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788496681000,"timestamp_ms":1788496681000,"timestamp_seconds":1788496681,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab59828"} 
[2026-09-04 10:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 10:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855150080001,"66":27158,"146":206,"83":40960,"24":2,"16":397695108113235968,"44":-2628202195362715648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855150080001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:13:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:13:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628202195362715648,"description":"Unknown IO ID 44"} 
[2026-09-04 10:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855150080001,"power":27158,"unknown_146":206,"unknown_83":40960,"ignition":2,"odometer":null,"unknown_44":-2628202195362715648}} 
[2026-09-04 10:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":170548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:13:36] local.INFO: GPS data processed {"connection_id":170548,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:13:36] local.INFO: Acknowledgment sent {"connection_id":170548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:14:00] local.INFO: TCP Data received {"connection_id":173250,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:14:00] local.INFO: Processing buffer {"connection_id":173250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:14:00] local.INFO: IMEI packet received {"connection_id":173250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":173250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:14:01] local.INFO: TCP Data received {"connection_id":173250,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:14:01] local.INFO: Processing buffer {"connection_id":173250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:14:01] local.INFO: IMEI packet received {"connection_id":173250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":173250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:14:05] local.INFO: TCP Data received {"connection_id":173250,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:14:05] local.INFO: Processing buffer {"connection_id":173250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:14:05] local.INFO: IMEI packet received {"connection_id":173250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":173250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:14:05] local.INFO: TCP Data received {"connection_id":173250,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06aba33d8012cdb838007337c08001c00dc2d..."} 
[2026-09-04 10:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aba33d8012cdb838007337c08001c00dc2d..."} 
[2026-09-04 10:14:05] local.INFO: Processing buffer {"connection_id":173250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aba33d8012cdb838007337c08001c00dc2d..."} 
[2026-09-04 10:14:05] local.INFO: Packet analysis {"connection_id":173250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aba"} 
[2026-09-04 10:14:05] local.INFO: Extracted packet for processing {"connection_id":173250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aba"} 
[2026-09-04 10:14:05] local.INFO: GPS Element Parsed {"raw_longitude":752583552,"raw_latitude":120814600,"longitude_deg":75.2583552,"latitude_deg":12.08146,"altitude":28,"angle":220,"satellites":45,"speed":0,"hex_longitude":"2cdb8380","hex_latitude":"07337c08","is_valid_coordinates":true} 
[2026-09-04 10:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855150336001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:14:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628202195362732032,"note":"Value kept but may cause issues"} 
[2026-09-04 10:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788496983000,"timestamp_ms":1788496983000,"timestamp_seconds":1788496983,"priority":1,"record_length":96,"hex_timestamp":"000001a06aba33d8"} 
[2026-09-04 10:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 10:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855150336001,"66":26517,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628202195362732032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855150336001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:14:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:14:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628202195362732032,"description":"Unknown IO ID 44"} 
[2026-09-04 10:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855150336001,"power":26517,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628202195362732032}} 
[2026-09-04 10:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":173250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:14:05] local.INFO: GPS data processed {"connection_id":173250,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:14:05] local.INFO: Acknowledgment sent {"connection_id":173250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:14:36] local.INFO: TCP Data received {"connection_id":173250,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06aba81f8012cdb838007337c08001c00dc2e..."} 
[2026-09-04 10:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aba81f8012cdb838007337c08001c00dc2e..."} 
[2026-09-04 10:14:36] local.INFO: Processing buffer {"connection_id":173250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aba81f8012cdb838007337c08001c00dc2e..."} 
[2026-09-04 10:14:36] local.INFO: Packet analysis {"connection_id":173250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aba"} 
[2026-09-04 10:14:36] local.INFO: Extracted packet for processing {"connection_id":173250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aba"} 
[2026-09-04 10:14:36] local.INFO: GPS Element Parsed {"raw_longitude":752583552,"raw_latitude":120814600,"longitude_deg":75.2583552,"latitude_deg":12.08146,"altitude":28,"angle":220,"satellites":46,"speed":0,"hex_longitude":"2cdb8380","hex_latitude":"07337c08","is_valid_coordinates":true} 
[2026-09-04 10:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855227648001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:14:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629116989037344768,"note":"Value kept but may cause issues"} 
[2026-09-04 10:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788497003000,"timestamp_ms":1788497003000,"timestamp_seconds":1788497003,"priority":1,"record_length":96,"hex_timestamp":"000001a06aba81f8"} 
[2026-09-04 10:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-04 10:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855227648001,"66":26408,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629116989037344768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855227648001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:14:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:14:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629116989037344768,"description":"Unknown IO ID 44"} 
[2026-09-04 10:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855227648001,"power":26408,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629116989037344768}} 
[2026-09-04 10:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":173250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:14:36] local.INFO: GPS data processed {"connection_id":173250,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:14:36] local.INFO: Acknowledgment sent {"connection_id":173250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:15:00] local.INFO: TCP Data received {"connection_id":170841,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:15:00] local.INFO: Processing buffer {"connection_id":170841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:15:00] local.INFO: IMEI packet received {"connection_id":170841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":170841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:15:05] local.INFO: TCP Data received {"connection_id":170841,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:15:05] local.INFO: Processing buffer {"connection_id":170841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:15:05] local.INFO: IMEI packet received {"connection_id":170841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":170841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:15:05] local.INFO: TCP Data received {"connection_id":170841,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06aba9580012cdb840007337618001c00082e..."} 
[2026-09-04 10:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aba9580012cdb840007337618001c00082e..."} 
[2026-09-04 10:15:05] local.INFO: Processing buffer {"connection_id":170841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aba9580012cdb840007337618001c00082e..."} 
[2026-09-04 10:15:05] local.INFO: Packet analysis {"connection_id":170841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aba"} 
[2026-09-04 10:15:05] local.INFO: Extracted packet for processing {"connection_id":170841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aba"} 
[2026-09-04 10:15:05] local.INFO: GPS Element Parsed {"raw_longitude":752583680,"raw_latitude":120813080,"longitude_deg":75.258368,"latitude_deg":12.081308,"altitude":28,"angle":8,"satellites":46,"speed":0,"hex_longitude":"2cdb8400","hex_latitude":"07337618","is_valid_coordinates":true} 
[2026-09-04 10:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855232768001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629116989037344768,"note":"Value kept but may cause issues"} 
[2026-09-04 10:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788497008000,"timestamp_ms":1788497008000,"timestamp_seconds":1788497008,"priority":1,"record_length":96,"hex_timestamp":"000001a06aba9580"} 
[2026-09-04 10:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-04 10:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855232768001,"66":27767,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629116989037344768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855232768001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:15:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629116989037344768,"description":"Unknown IO ID 44"} 
[2026-09-04 10:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855232768001,"power":27767,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629116989037344768}} 
[2026-09-04 10:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":170841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:15:05] local.INFO: GPS data processed {"connection_id":170841,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:15:05] local.INFO: Acknowledgment sent {"connection_id":170841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:15:36] local.INFO: TCP Data received {"connection_id":170841,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abae788012cdb840007337618001c000826..."} 
[2026-09-04 10:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abae788012cdb840007337618001c000826..."} 
[2026-09-04 10:15:36] local.INFO: Processing buffer {"connection_id":170841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abae788012cdb840007337618001c000826..."} 
[2026-09-04 10:15:36] local.INFO: Packet analysis {"connection_id":170841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aba"} 
[2026-09-04 10:15:36] local.INFO: Extracted packet for processing {"connection_id":170841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aba"} 
[2026-09-04 10:15:36] local.INFO: GPS Element Parsed {"raw_longitude":752583680,"raw_latitude":120813080,"longitude_deg":75.258368,"latitude_deg":12.081308,"altitude":28,"angle":8,"satellites":38,"speed":0,"hex_longitude":"2cdb8400","hex_latitude":"07337618","is_valid_coordinates":true} 
[2026-09-04 10:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855234048001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:15:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788497029000,"timestamp_ms":1788497029000,"timestamp_seconds":1788497029,"priority":1,"record_length":96,"hex_timestamp":"000001a06abae788"} 
[2026-09-04 10:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 10:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855234048001,"66":27463,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855234048001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:15:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:15:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855234048001,"power":27463,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":170841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:15:36] local.INFO: GPS data processed {"connection_id":170841,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:15:36] local.INFO: Acknowledgment sent {"connection_id":170841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:15:59] local.INFO: TCP Data received {"connection_id":170842,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:15:59] local.INFO: Processing buffer {"connection_id":170842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:15:59] local.INFO: IMEI packet received {"connection_id":170842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":170842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:16:05] local.INFO: TCP Data received {"connection_id":170842,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:16:05] local.INFO: Processing buffer {"connection_id":170842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:16:05] local.INFO: IMEI packet received {"connection_id":170842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":170842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:16:05] local.INFO: TCP Data received {"connection_id":170842,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:16:05] local.INFO: Processing buffer {"connection_id":170842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:16:05] local.INFO: Packet analysis {"connection_id":170842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:16:05] local.INFO: Extracted packet for processing {"connection_id":170842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:16:05] local.INFO: GPS Element Parsed {"raw_longitude":752583680,"raw_latitude":120813080,"longitude_deg":75.258368,"latitude_deg":12.081308,"altitude":28,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8400","hex_latitude":"07337618","is_valid_coordinates":true} 
[2026-09-04 10:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855239424001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:16:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788497050000,"timestamp_ms":1788497050000,"timestamp_seconds":1788497050,"priority":1,"record_length":96,"hex_timestamp":"000001a06abb3990"} 
[2026-09-04 10:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 10:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855239424001,"66":27213,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855239424001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:16:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:16:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855239424001,"power":27213,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":170842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:16:05] local.INFO: GPS data processed {"connection_id":170842,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:16:05] local.INFO: Acknowledgment sent {"connection_id":170842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:16:36] local.INFO: TCP Data received {"connection_id":170842,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:16:36] local.INFO: Processing buffer {"connection_id":170842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:16:36] local.INFO: Packet analysis {"connection_id":170842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:16:36] local.INFO: Extracted packet for processing {"connection_id":170842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:16:36] local.INFO: GPS Element Parsed {"raw_longitude":752583680,"raw_latitude":120813080,"longitude_deg":75.258368,"latitude_deg":12.081308,"altitude":28,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8400","hex_latitude":"07337618","is_valid_coordinates":true} 
[2026-09-04 10:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:16:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788497050000,"timestamp_ms":1788497050000,"timestamp_seconds":1788497050,"priority":1,"record_length":96,"hex_timestamp":"000001a06abb3990"} 
[2026-09-04 10:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":27213,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:16:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:16:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":27213,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":170842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:16:36] local.INFO: GPS data processed {"connection_id":170842,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:16:36] local.INFO: Acknowledgment sent {"connection_id":170842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:16:39] local.INFO: TCP Data received {"connection_id":173251,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:16:39] local.INFO: Processing buffer {"connection_id":173251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:16:39] local.INFO: IMEI packet received {"connection_id":173251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":173251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:16:43] local.INFO: TCP Data received {"connection_id":173251,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:16:43] local.INFO: Processing buffer {"connection_id":173251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:16:43] local.INFO: IMEI packet received {"connection_id":173251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":173251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:16:44] local.INFO: TCP Data received {"connection_id":173251,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa4f658012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa4f658012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:16:44] local.INFO: Processing buffer {"connection_id":173251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa4f658012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:16:44] local.INFO: Packet analysis {"connection_id":173251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa4"} 
[2026-09-04 10:16:44] local.INFO: Extracted packet for processing {"connection_id":173251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa4"} 
[2026-09-04 10:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854767360001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972575232,"note":"Value kept but may cause issues"} 
[2026-09-04 10:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788495591000,"timestamp_ms":1788495591000,"timestamp_seconds":1788495591,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa4f658"} 
[2026-09-04 10:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-09-04 10:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854767360001,"66":25495,"40":206,"81":23296,"24":0,"16":461116278833152,"45":3718002995972575232},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-04 10:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854767360001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:16:44] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-04 10:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 10:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972575232,"description":"Unknown IO ID 45"} 
[2026-09-04 10:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854767360001,"power":25495,"unknown_40":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3718002995972575232}} 
[2026-09-04 10:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":173251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:16:44] local.INFO: GPS data processed {"connection_id":173251,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:16:44] local.INFO: Acknowledgment sent {"connection_id":173251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:17:05] local.INFO: TCP Data received {"connection_id":173252,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:17:05] local.INFO: Processing buffer {"connection_id":173252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:17:05] local.INFO: IMEI packet received {"connection_id":173252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":173252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:17:09] local.INFO: TCP Data received {"connection_id":170550,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:17:09] local.INFO: Processing buffer {"connection_id":170550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:17:09] local.INFO: IMEI packet received {"connection_id":170550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":170550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:17:10] local.INFO: TCP Data received {"connection_id":170550,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:17:10] local.INFO: Processing buffer {"connection_id":170550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:17:10] local.INFO: IMEI packet received {"connection_id":170550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":170550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:17:10] local.INFO: TCP Data received {"connection_id":173252,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:17:10] local.INFO: Processing buffer {"connection_id":173252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:17:10] local.INFO: IMEI packet received {"connection_id":173252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":173252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:17:10] local.INFO: TCP Data received {"connection_id":173252,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:17:10] local.INFO: Processing buffer {"connection_id":173252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:17:10] local.INFO: Packet analysis {"connection_id":173252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:17:10] local.INFO: Extracted packet for processing {"connection_id":173252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:17:10] local.INFO: GPS Element Parsed {"raw_longitude":752583680,"raw_latitude":120813080,"longitude_deg":75.258368,"latitude_deg":12.081308,"altitude":28,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8400","hex_latitude":"07337618","is_valid_coordinates":true} 
[2026-09-04 10:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788497050000,"timestamp_ms":1788497050000,"timestamp_seconds":1788497050,"priority":1,"record_length":96,"hex_timestamp":"000001a06abb3990"} 
[2026-09-04 10:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":27213,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:17:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":27213,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":173252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:17:10] local.INFO: GPS data processed {"connection_id":173252,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:17:10] local.INFO: Acknowledgment sent {"connection_id":173252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:17:14] local.INFO: TCP Data received {"connection_id":170550,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:17:14] local.INFO: Processing buffer {"connection_id":170550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:17:14] local.INFO: IMEI packet received {"connection_id":170550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":170550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:17:15] local.INFO: TCP Data received {"connection_id":170550,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e01000000000000bb800100000000000000000000000000..."} 
[2026-09-04 10:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170550,"packet_length":93,"packet_hex":"00000000000000518e01000000000000bb800100000000000000000000000000..."} 
[2026-09-04 10:17:15] local.INFO: Processing buffer {"connection_id":170550,"buffer_length":93,"buffer_hex":"00000000000000518e01000000000000bb800100000000000000000000000000..."} 
[2026-09-04 10:17:15] local.INFO: Packet analysis {"connection_id":170550,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-09-04 10:17:15] local.INFO: Extracted packet for processing {"connection_id":170550,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-09-04 10:17:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 10:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 10:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:17:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:17:15] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 10:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170550,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 10:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 10:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 10:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 10:17:15] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 10:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":170550,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 10:17:15] local.ERROR: GPS data processing failed {"connection_id":170550,"error":"No valid data to process"} 
[2026-09-04 10:17:15] local.INFO: Acknowledgment sent {"connection_id":170550,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 10:17:15] local.INFO: TCP Data received {"connection_id":173252,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:17:15] local.INFO: Processing buffer {"connection_id":173252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:17:15] local.INFO: Packet analysis {"connection_id":173252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:17:15] local.INFO: Extracted packet for processing {"connection_id":173252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:17:15] local.INFO: GPS Element Parsed {"raw_longitude":752583680,"raw_latitude":120813080,"longitude_deg":75.258368,"latitude_deg":12.081308,"altitude":28,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8400","hex_latitude":"07337618","is_valid_coordinates":true} 
[2026-09-04 10:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:17:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788497050000,"timestamp_ms":1788497050000,"timestamp_seconds":1788497050,"priority":1,"record_length":96,"hex_timestamp":"000001a06abb3990"} 
[2026-09-04 10:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":27213,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:17:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:17:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":27213,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":173252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:17:15] local.INFO: GPS data processed {"connection_id":173252,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:17:15] local.INFO: Acknowledgment sent {"connection_id":173252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:17:16] local.INFO: TCP Data received {"connection_id":173251,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa6f610012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa6f610012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:17:16] local.INFO: Processing buffer {"connection_id":173251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa6f610012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:17:16] local.INFO: Packet analysis {"connection_id":173251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa6"} 
[2026-09-04 10:17:16] local.INFO: Extracted packet for processing {"connection_id":173251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa6"} 
[2026-09-04 10:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854871296001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788495722000,"timestamp_ms":1788495722000,"timestamp_seconds":1788495722,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa6f610"} 
[2026-09-04 10:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 10:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854871296001,"66":25495,"40":206,"81":23296,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-04 10:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854871296001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:17:16] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-04 10:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 10:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854871296001,"power":25495,"unknown_40":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":173251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761533,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:17:16] local.INFO: GPS data processed {"connection_id":173251,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:17:16] local.INFO: Acknowledgment sent {"connection_id":173251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:17:38] local.INFO: TCP Data received {"connection_id":170843,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:17:38] local.INFO: Processing buffer {"connection_id":170843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:17:38] local.INFO: IMEI packet received {"connection_id":170843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":170843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:17:43] local.INFO: TCP Data received {"connection_id":170843,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:17:43] local.INFO: Processing buffer {"connection_id":170843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:17:43] local.INFO: IMEI packet received {"connection_id":170843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":170843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:17:45] local.INFO: TCP Data received {"connection_id":170843,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa753d0012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa753d0012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:17:45] local.INFO: Processing buffer {"connection_id":170843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa753d0012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:17:45] local.INFO: Packet analysis {"connection_id":170843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa7"} 
[2026-09-04 10:17:45] local.INFO: Extracted packet for processing {"connection_id":170843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa7"} 
[2026-09-04 10:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724688,"longitude_deg":75.8356224,"latitude_deg":11.1724688,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c890","is_valid_coordinates":true} 
[2026-09-04 10:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854904832001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788495746000,"timestamp_ms":1788495746000,"timestamp_seconds":1788495746,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa753d0"} 
[2026-09-04 10:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 10:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":170843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":170843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":170843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854904832001,"66":25375,"40":206,"81":23296,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-04 10:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854904832001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:17:45] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-04 10:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 10:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854904832001,"power":25375,"unknown_40":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":170843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761534,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:17:45] local.INFO: GPS data processed {"connection_id":170843,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:17:45] local.INFO: Acknowledgment sent {"connection_id":170843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:17:45] local.INFO: TCP Data received {"connection_id":170550,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e010000000000010d880100000000000000000000000000..."} 
[2026-09-04 10:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170550,"packet_length":93,"packet_hex":"00000000000000518e010000000000010d880100000000000000000000000000..."} 
[2026-09-04 10:17:45] local.INFO: Processing buffer {"connection_id":170550,"buffer_length":93,"buffer_hex":"00000000000000518e010000000000010d880100000000000000000000000000..."} 
[2026-09-04 10:17:45] local.INFO: Packet analysis {"connection_id":170550,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-09-04 10:17:45] local.INFO: Extracted packet for processing {"connection_id":170550,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-09-04 10:17:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 10:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 10:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:17:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:17:45] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 10:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":170550,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 10:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 10:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 10:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 10:17:45] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 10:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":170550,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 10:17:45] local.ERROR: GPS data processing failed {"connection_id":170550,"error":"No valid data to process"} 
[2026-09-04 10:17:45] local.INFO: Acknowledgment sent {"connection_id":170550,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 10:18:00] local.INFO: TCP Data received {"connection_id":170844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:18:00] local.INFO: Processing buffer {"connection_id":170844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:18:00] local.INFO: IMEI packet received {"connection_id":170844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":170844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:18:05] local.INFO: TCP Data received {"connection_id":170844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:18:05] local.INFO: Processing buffer {"connection_id":170844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:18:05] local.INFO: IMEI packet received {"connection_id":170844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":170844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:18:05] local.INFO: TCP Data received {"connection_id":170844,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:18:05] local.INFO: Processing buffer {"connection_id":170844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:18:05] local.INFO: Packet analysis {"connection_id":170844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:18:05] local.INFO: Extracted packet for processing {"connection_id":170844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:18:05] local.INFO: GPS Element Parsed {"raw_longitude":752583680,"raw_latitude":120813080,"longitude_deg":75.258368,"latitude_deg":12.081308,"altitude":28,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8400","hex_latitude":"07337618","is_valid_coordinates":true} 
[2026-09-04 10:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:18:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788497050000,"timestamp_ms":1788497050000,"timestamp_seconds":1788497050,"priority":1,"record_length":96,"hex_timestamp":"000001a06abb3990"} 
[2026-09-04 10:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":27213,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:18:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:18:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":27213,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":170844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:18:05] local.INFO: GPS data processed {"connection_id":170844,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:18:05] local.INFO: Acknowledgment sent {"connection_id":170844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:18:16] local.INFO: TCP Data received {"connection_id":170550,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e01000001a06abe98d80100000000000000000000000000..."} 
[2026-09-04 10:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170550,"packet_length":93,"packet_hex":"00000000000000518e01000001a06abe98d80100000000000000000000000000..."} 
[2026-09-04 10:18:16] local.INFO: Processing buffer {"connection_id":170550,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06abe98d80100000000000000000000000000..."} 
[2026-09-04 10:18:16] local.INFO: Packet analysis {"connection_id":170550,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06abe"} 
[2026-09-04 10:18:16] local.INFO: Extracted packet for processing {"connection_id":170550,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06abe"} 
[2026-09-04 10:18:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 10:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 10:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:18:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:18:16] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 10:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170550,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 10:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 10:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 10:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 10:18:16] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 10:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":170550,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 10:18:16] local.ERROR: GPS data processing failed {"connection_id":170550,"error":"No valid data to process"} 
[2026-09-04 10:18:16] local.INFO: Acknowledgment sent {"connection_id":170550,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 10:18:17] local.INFO: TCP Data received {"connection_id":170843,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa7a5d8012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa7a5d8012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:18:17] local.INFO: Processing buffer {"connection_id":170843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa7a5d8012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:18:17] local.INFO: Packet analysis {"connection_id":170843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa7"} 
[2026-09-04 10:18:17] local.INFO: Extracted packet for processing {"connection_id":170843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa7"} 
[2026-09-04 10:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724688,"longitude_deg":75.8356224,"latitude_deg":11.1724688,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c890","is_valid_coordinates":true} 
[2026-09-04 10:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854910976001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972575232,"note":"Value kept but may cause issues"} 
[2026-09-04 10:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788495767000,"timestamp_ms":1788495767000,"timestamp_seconds":1788495767,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa7a5d8"} 
[2026-09-04 10:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 10:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":170843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":170843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":170843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854910976001,"66":27952,"40":206,"81":23296,"24":0,"16":461116278833152,"45":3718002995972575232},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-04 10:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854910976001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:18:17] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-04 10:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 10:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972575232,"description":"Unknown IO ID 45"} 
[2026-09-04 10:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854910976001,"power":27952,"unknown_40":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3718002995972575232}} 
[2026-09-04 10:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":170843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761536,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:18:17] local.INFO: GPS data processed {"connection_id":170843,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:18:17] local.INFO: Acknowledgment sent {"connection_id":170843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:18:37] local.INFO: TCP Data received {"connection_id":170844,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:18:37] local.INFO: Processing buffer {"connection_id":170844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:18:37] local.INFO: Packet analysis {"connection_id":170844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:18:37] local.INFO: Extracted packet for processing {"connection_id":170844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:18:37] local.INFO: GPS Element Parsed {"raw_longitude":752583680,"raw_latitude":120813080,"longitude_deg":75.258368,"latitude_deg":12.081308,"altitude":28,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8400","hex_latitude":"07337618","is_valid_coordinates":true} 
[2026-09-04 10:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:18:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788497050000,"timestamp_ms":1788497050000,"timestamp_seconds":1788497050,"priority":1,"record_length":96,"hex_timestamp":"000001a06abb3990"} 
[2026-09-04 10:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":27213,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:18:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:18:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":27213,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":170844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:18:37] local.INFO: GPS data processed {"connection_id":170844,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:18:37] local.INFO: Acknowledgment sent {"connection_id":170844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:18:47] local.INFO: TCP Data received {"connection_id":170550,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e01000001a06abeeae00100000000000000000000000000..."} 
[2026-09-04 10:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170550,"packet_length":93,"packet_hex":"00000000000000518e01000001a06abeeae00100000000000000000000000000..."} 
[2026-09-04 10:18:47] local.INFO: Processing buffer {"connection_id":170550,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06abeeae00100000000000000000000000000..."} 
[2026-09-04 10:18:47] local.INFO: Packet analysis {"connection_id":170550,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06abe"} 
[2026-09-04 10:18:47] local.INFO: Extracted packet for processing {"connection_id":170550,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06abe"} 
[2026-09-04 10:18:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 10:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 10:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:18:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:18:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 10:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170550,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 10:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 10:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 10:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 10:18:47] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 10:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":170550,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 10:18:47] local.ERROR: GPS data processing failed {"connection_id":170550,"error":"No valid data to process"} 
[2026-09-04 10:18:47] local.INFO: Acknowledgment sent {"connection_id":170550,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 10:18:48] local.INFO: TCP Data received {"connection_id":171950,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:18:48] local.INFO: Processing buffer {"connection_id":171950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:18:48] local.INFO: IMEI packet received {"connection_id":171950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":171950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:19:00] local.INFO: TCP Data received {"connection_id":170551,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:19:00] local.INFO: Processing buffer {"connection_id":170551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:19:00] local.INFO: IMEI packet received {"connection_id":170551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":170551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:19:05] local.INFO: TCP Data received {"connection_id":170551,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:19:05] local.INFO: Processing buffer {"connection_id":170551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:19:05] local.INFO: IMEI packet received {"connection_id":170551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":170551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:19:05] local.INFO: TCP Data received {"connection_id":170551,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:19:05] local.INFO: Processing buffer {"connection_id":170551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:19:05] local.INFO: Packet analysis {"connection_id":170551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:19:05] local.INFO: Extracted packet for processing {"connection_id":170551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:19:05] local.INFO: GPS Element Parsed {"raw_longitude":752583680,"raw_latitude":120813080,"longitude_deg":75.258368,"latitude_deg":12.081308,"altitude":28,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8400","hex_latitude":"07337618","is_valid_coordinates":true} 
[2026-09-04 10:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788497050000,"timestamp_ms":1788497050000,"timestamp_seconds":1788497050,"priority":1,"record_length":96,"hex_timestamp":"000001a06abb3990"} 
[2026-09-04 10:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":27213,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:19:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:19:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":27213,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":170551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:19:05] local.INFO: GPS data processed {"connection_id":170551,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:19:05] local.INFO: Acknowledgment sent {"connection_id":170551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:19:07] local.INFO: TCP Data received {"connection_id":171950,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:19:07] local.INFO: Processing buffer {"connection_id":171950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:19:07] local.INFO: IMEI packet received {"connection_id":171950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":171950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:19:19] local.INFO: TCP Data received {"connection_id":170550,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e01000001a06abf3ce80100000000000000000000000000..."} 
[2026-09-04 10:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170550,"packet_length":93,"packet_hex":"00000000000000518e01000001a06abf3ce80100000000000000000000000000..."} 
[2026-09-04 10:19:19] local.INFO: Processing buffer {"connection_id":170550,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06abf3ce80100000000000000000000000000..."} 
[2026-09-04 10:19:19] local.INFO: Packet analysis {"connection_id":170550,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06abf"} 
[2026-09-04 10:19:19] local.INFO: Extracted packet for processing {"connection_id":170550,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06abf"} 
[2026-09-04 10:19:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 10:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 10:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:19:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:19:19] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 10:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":170550,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 10:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 10:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 10:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 10:19:19] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 10:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":170550,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 10:19:19] local.ERROR: GPS data processing failed {"connection_id":170550,"error":"No valid data to process"} 
[2026-09-04 10:19:19] local.INFO: Acknowledgment sent {"connection_id":170550,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 10:19:19] local.INFO: TCP Data received {"connection_id":171950,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa7f7e0012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa7f7e0012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:19:19] local.INFO: Processing buffer {"connection_id":171950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa7f7e0012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:19:19] local.INFO: Packet analysis {"connection_id":171950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa7"} 
[2026-09-04 10:19:19] local.INFO: Extracted packet for processing {"connection_id":171950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa7"} 
[2026-09-04 10:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724688,"longitude_deg":75.8356224,"latitude_deg":11.1724688,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c890","is_valid_coordinates":true} 
[2026-09-04 10:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854916352001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972575232,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788495788000,"timestamp_ms":1788495788000,"timestamp_seconds":1788495788,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa7f7e0"} 
[2026-09-04 10:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-04 10:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":171950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":171950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":171950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854916352001,"66":27952,"40":206,"81":23296,"24":0,"16":461116278833152,"45":3718002995972575232},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-04 10:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854916352001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:19:19] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-04 10:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 10:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972575232,"description":"Unknown IO ID 45"} 
[2026-09-04 10:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854916352001,"power":27952,"unknown_40":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3718002995972575232}} 
[2026-09-04 10:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":171950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761539,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:19:19] local.INFO: GPS data processed {"connection_id":171950,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:19:19] local.INFO: Acknowledgment sent {"connection_id":171950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:19:36] local.INFO: TCP Data received {"connection_id":170551,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:19:36] local.INFO: Processing buffer {"connection_id":170551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abb3990012cdb840007337618001c00082d..."} 
[2026-09-04 10:19:36] local.INFO: Packet analysis {"connection_id":170551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:19:36] local.INFO: Extracted packet for processing {"connection_id":170551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abb"} 
[2026-09-04 10:19:36] local.INFO: GPS Element Parsed {"raw_longitude":752583680,"raw_latitude":120813080,"longitude_deg":75.258368,"latitude_deg":12.081308,"altitude":28,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8400","hex_latitude":"07337618","is_valid_coordinates":true} 
[2026-09-04 10:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788497050000,"timestamp_ms":1788497050000,"timestamp_seconds":1788497050,"priority":1,"record_length":96,"hex_timestamp":"000001a06abb3990"} 
[2026-09-04 10:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":27213,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:19:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:19:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":27213,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":170551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:19:36] local.INFO: GPS data processed {"connection_id":170551,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:19:36] local.INFO: Acknowledgment sent {"connection_id":170551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:19:38] local.INFO: TCP Data received {"connection_id":171951,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:19:38] local.INFO: Processing buffer {"connection_id":171951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:19:38] local.INFO: IMEI packet received {"connection_id":171951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":171951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:19:43] local.INFO: TCP Data received {"connection_id":171951,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:19:43] local.INFO: Processing buffer {"connection_id":171951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:19:43] local.INFO: IMEI packet received {"connection_id":171951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":171951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:19:44] local.INFO: TCP Data received {"connection_id":171951,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa849e8012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa849e8012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:19:44] local.INFO: Processing buffer {"connection_id":171951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa849e8012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:19:44] local.INFO: Packet analysis {"connection_id":171951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa8"} 
[2026-09-04 10:19:44] local.INFO: Extracted packet for processing {"connection_id":171951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa8"} 
[2026-09-04 10:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724688,"longitude_deg":75.8356224,"latitude_deg":11.1724688,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c890","is_valid_coordinates":true} 
[2026-09-04 10:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854921728001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972575232,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788495809000,"timestamp_ms":1788495809000,"timestamp_seconds":1788495809,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa849e8"} 
[2026-09-04 10:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-04 10:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":171951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":171951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":171951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854921728001,"66":27952,"40":206,"81":23296,"24":0,"16":461116278833152,"45":3718002995972575232},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-04 10:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854921728001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:19:44] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-04 10:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 10:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972575232,"description":"Unknown IO ID 45"} 
[2026-09-04 10:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854921728001,"power":27952,"unknown_40":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3718002995972575232}} 
[2026-09-04 10:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":171951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:19:45] local.INFO: GPS data processed {"connection_id":171951,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:19:45] local.INFO: Acknowledgment sent {"connection_id":171951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:19:50] local.INFO: TCP Data received {"connection_id":170550,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac042a0012d1aa8c0071f9800003f006a09..."} 
[2026-09-04 10:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac042a0012d1aa8c0071f9800003f006a09..."} 
[2026-09-04 10:19:50] local.INFO: Processing buffer {"connection_id":170550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac042a0012d1aa8c0071f9800003f006a09..."} 
[2026-09-04 10:19:50] local.INFO: Packet analysis {"connection_id":170550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac0"} 
[2026-09-04 10:19:50] local.INFO: Extracted packet for processing {"connection_id":170550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac0"} 
[2026-09-04 10:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756721856,"raw_latitude":119511040,"longitude_deg":75.6721856,"latitude_deg":11.951104,"altitude":63,"angle":106,"satellites":9,"speed":35,"hex_longitude":"2d1aa8c0","hex_latitude":"071f9800","is_valid_coordinates":true} 
[2026-09-04 10:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855328768001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17109702303285248,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919166790552444928,"note":"Value kept but may cause issues"} 
[2026-09-04 10:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788497380000,"timestamp_ms":1788497380000,"timestamp_seconds":1788497380,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac042a0"} 
[2026-09-04 10:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 10:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":170550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855328768001,"66":14276,"101":206,"83":41984,"24":35,"16":17109702303285248,"45":1919166790552444928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 10:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855328768001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:19:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 10:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 10:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17109702303285248,"km_value":17109702303285.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919166790552444928,"description":"Unknown IO ID 45"} 
[2026-09-04 10:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855328768001,"power":14276,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1919166790552444928}} 
[2026-09-04 10:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":170550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:19:50] local.INFO: GPS data processed {"connection_id":170550,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:19:50] local.INFO: Acknowledgment sent {"connection_id":170550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:20:00] local.INFO: TCP Data received {"connection_id":171952,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:20:00] local.INFO: Processing buffer {"connection_id":171952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:20:00] local.INFO: IMEI packet received {"connection_id":171952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":171952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:20:05] local.INFO: TCP Data received {"connection_id":171952,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:20:05] local.INFO: Processing buffer {"connection_id":171952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:20:05] local.INFO: IMEI packet received {"connection_id":171952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":171952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:20:05] local.INFO: TCP Data received {"connection_id":171952,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:20:05] local.INFO: Processing buffer {"connection_id":171952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:20:05] local.INFO: Packet analysis {"connection_id":171952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:20:05] local.INFO: Extracted packet for processing {"connection_id":171952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:20:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788497353000,"timestamp_ms":1788497353000,"timestamp_seconds":1788497353,"priority":1,"record_length":96,"hex_timestamp":"000001a06abfd928"} 
[2026-09-04 10:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":25908,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:20:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:20:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":25908,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":171952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:20:05] local.INFO: GPS data processed {"connection_id":171952,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:20:05] local.INFO: Acknowledgment sent {"connection_id":171952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:20:17] local.INFO: TCP Data received {"connection_id":171951,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa89bf0012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa89bf0012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:20:17] local.INFO: Processing buffer {"connection_id":171951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa89bf0012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:20:17] local.INFO: Packet analysis {"connection_id":171951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa8"} 
[2026-09-04 10:20:17] local.INFO: Extracted packet for processing {"connection_id":171951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa8"} 
[2026-09-04 10:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724688,"longitude_deg":75.8356224,"latitude_deg":11.1724688,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c890","is_valid_coordinates":true} 
[2026-09-04 10:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854927104001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972575232,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788495830000,"timestamp_ms":1788495830000,"timestamp_seconds":1788495830,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa89bf0"} 
[2026-09-04 10:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-04 10:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854927104001,"66":27887,"40":206,"81":23296,"24":0,"16":461116278833152,"45":3718002995972575232},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-04 10:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854927104001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:20:17] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-04 10:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 10:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972575232,"description":"Unknown IO ID 45"} 
[2026-09-04 10:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854927104001,"power":27887,"unknown_40":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3718002995972575232}} 
[2026-09-04 10:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":171951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761544,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:20:17] local.INFO: GPS data processed {"connection_id":171951,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:20:17] local.INFO: Acknowledgment sent {"connection_id":171951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:20:21] local.INFO: TCP Data received {"connection_id":170550,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac05df8012d1ac280071f92b8003f007b09..."} 
[2026-09-04 10:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac05df8012d1ac280071f92b8003f007b09..."} 
[2026-09-04 10:20:21] local.INFO: Processing buffer {"connection_id":170550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac05df8012d1ac280071f92b8003f007b09..."} 
[2026-09-04 10:20:21] local.INFO: Packet analysis {"connection_id":170550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac0"} 
[2026-09-04 10:20:21] local.INFO: Extracted packet for processing {"connection_id":170550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac0"} 
[2026-09-04 10:20:21] local.INFO: GPS Element Parsed {"raw_longitude":756728448,"raw_latitude":119509688,"longitude_deg":75.6728448,"latitude_deg":11.9509688,"altitude":63,"angle":123,"satellites":9,"speed":30,"hex_longitude":"2d1ac280","hex_latitude":"071f92b8","is_valid_coordinates":true} 
[2026-09-04 10:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855329280001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17110024425832448,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920996377900875776,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788497387000,"timestamp_ms":1788497387000,"timestamp_seconds":1788497387,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac05df8"} 
[2026-09-04 10:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 10:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":170550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855329280001,"66":14070,"101":206,"83":41984,"24":30,"16":17110024425832448,"45":1920996377900875776},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 10:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855329280001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:20:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 10:20:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 10:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17110024425832448,"km_value":17110024425832.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920996377900875776,"description":"Unknown IO ID 45"} 
[2026-09-04 10:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855329280001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1920996377900875776}} 
[2026-09-04 10:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":170550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:20:21] local.INFO: GPS data processed {"connection_id":170550,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:20:21] local.INFO: Acknowledgment sent {"connection_id":170550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:20:36] local.INFO: TCP Data received {"connection_id":171952,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:20:36] local.INFO: Processing buffer {"connection_id":171952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:20:36] local.INFO: Packet analysis {"connection_id":171952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:20:36] local.INFO: Extracted packet for processing {"connection_id":171952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:20:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788497353000,"timestamp_ms":1788497353000,"timestamp_seconds":1788497353,"priority":1,"record_length":96,"hex_timestamp":"000001a06abfd928"} 
[2026-09-04 10:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":25908,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:20:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:20:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":25908,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":171952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:20:36] local.INFO: GPS data processed {"connection_id":171952,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:20:36] local.INFO: Acknowledgment sent {"connection_id":171952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:20:43] local.INFO: TCP Data received {"connection_id":171953,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:20:43] local.INFO: Processing buffer {"connection_id":171953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:20:43] local.INFO: IMEI packet received {"connection_id":171953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":171953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:20:48] local.INFO: TCP Data received {"connection_id":171953,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:20:48] local.INFO: Processing buffer {"connection_id":171953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:20:48] local.INFO: IMEI packet received {"connection_id":171953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":171953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:20:50] local.INFO: TCP Data received {"connection_id":171953,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa8edf8012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa8edf8012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:20:50] local.INFO: Processing buffer {"connection_id":171953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa8edf8012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:20:50] local.INFO: Packet analysis {"connection_id":171953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa8"} 
[2026-09-04 10:20:50] local.INFO: Extracted packet for processing {"connection_id":171953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa8"} 
[2026-09-04 10:20:50] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724688,"longitude_deg":75.8356224,"latitude_deg":11.1724688,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c890","is_valid_coordinates":true} 
[2026-09-04 10:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854932480001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972575232,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788495851000,"timestamp_ms":1788495851000,"timestamp_seconds":1788495851,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa8edf8"} 
[2026-09-04 10:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 10:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854932480001,"66":28093,"40":206,"81":23296,"24":0,"16":461116278833152,"45":3718002995972575232},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-04 10:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854932480001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:20:50] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-04 10:20:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 10:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972575232,"description":"Unknown IO ID 45"} 
[2026-09-04 10:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854932480001,"power":28093,"unknown_40":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3718002995972575232}} 
[2026-09-04 10:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":171953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:20:50] local.INFO: GPS data processed {"connection_id":171953,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:20:50] local.INFO: Acknowledgment sent {"connection_id":171953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:20:53] local.INFO: TCP Data received {"connection_id":170550,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac130e8012d1b21c0071f7a10002e007409..."} 
[2026-09-04 10:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac130e8012d1b21c0071f7a10002e007409..."} 
[2026-09-04 10:20:53] local.INFO: Processing buffer {"connection_id":170550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac130e8012d1b21c0071f7a10002e007409..."} 
[2026-09-04 10:20:53] local.INFO: Packet analysis {"connection_id":170550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac1"} 
[2026-09-04 10:20:53] local.INFO: Extracted packet for processing {"connection_id":170550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac1"} 
[2026-09-04 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":756752832,"raw_latitude":119503376,"longitude_deg":75.6752832,"latitude_deg":11.9503376,"altitude":46,"angle":116,"satellites":9,"speed":23,"hex_longitude":"2d1b21c0","hex_latitude":"071f7a10","is_valid_coordinates":true} 
[2026-09-04 10:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855341312001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17111390225432576,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125804034048,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788497441000,"timestamp_ms":1788497441000,"timestamp_seconds":1788497441,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac130e8"} 
[2026-09-04 10:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 10:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855341312001,"66":14428,"101":206,"83":41984,"24":23,"16":17111390225432576,"45":1946329125804034048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 10:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855341312001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:20:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 10:20:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 10:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17111390225432576,"km_value":17111390225432.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125804034048,"description":"Unknown IO ID 45"} 
[2026-09-04 10:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855341312001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1946329125804034048}} 
[2026-09-04 10:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":170550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:20:53] local.INFO: GPS data processed {"connection_id":170550,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:20:53] local.INFO: Acknowledgment sent {"connection_id":170550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:20:54] local.INFO: TCP Data received {"connection_id":171953,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa94000012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa94000012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:20:54] local.INFO: Processing buffer {"connection_id":171953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa94000012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:20:54] local.INFO: Packet analysis {"connection_id":171953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa9"} 
[2026-09-04 10:20:54] local.INFO: Extracted packet for processing {"connection_id":171953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa9"} 
[2026-09-04 10:20:54] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724688,"longitude_deg":75.8356224,"latitude_deg":11.1724688,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c890","is_valid_coordinates":true} 
[2026-09-04 10:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854937856001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972575232,"note":"Value kept but may cause issues"} 
[2026-09-04 10:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788495872000,"timestamp_ms":1788495872000,"timestamp_seconds":1788495872,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa94000"} 
[2026-09-04 10:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-04 10:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854937856001,"66":27800,"40":206,"81":23296,"24":0,"16":461116278833152,"45":3718002995972575232},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-04 10:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854937856001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:20:54] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-04 10:20:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 10:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972575232,"description":"Unknown IO ID 45"} 
[2026-09-04 10:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854937856001,"power":27800,"unknown_40":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3718002995972575232}} 
[2026-09-04 10:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":171953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761549,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:20:55] local.INFO: GPS data processed {"connection_id":171953,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:20:55] local.INFO: Acknowledgment sent {"connection_id":171953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:20:59] local.INFO: TCP Data received {"connection_id":170845,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:20:59] local.INFO: Processing buffer {"connection_id":170845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:20:59] local.INFO: IMEI packet received {"connection_id":170845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":170845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:21:05] local.INFO: TCP Data received {"connection_id":170845,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:21:05] local.INFO: Processing buffer {"connection_id":170845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:21:05] local.INFO: IMEI packet received {"connection_id":170845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":170845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:21:05] local.INFO: TCP Data received {"connection_id":170845,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:21:05] local.INFO: Processing buffer {"connection_id":170845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:21:05] local.INFO: Packet analysis {"connection_id":170845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:21:05] local.INFO: Extracted packet for processing {"connection_id":170845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:21:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788497353000,"timestamp_ms":1788497353000,"timestamp_seconds":1788497353,"priority":1,"record_length":96,"hex_timestamp":"000001a06abfd928"} 
[2026-09-04 10:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":25908,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:21:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:21:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":25908,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":170845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:21:05] local.INFO: GPS data processed {"connection_id":170845,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:21:05] local.INFO: Acknowledgment sent {"connection_id":170845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:21:23] local.INFO: TCP Data received {"connection_id":170550,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac1aa00012d1b5600071f6b98003300800b..."} 
[2026-09-04 10:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac1aa00012d1b5600071f6b98003300800b..."} 
[2026-09-04 10:21:23] local.INFO: Processing buffer {"connection_id":170550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac1aa00012d1b5600071f6b98003300800b..."} 
[2026-09-04 10:21:23] local.INFO: Packet analysis {"connection_id":170550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac1"} 
[2026-09-04 10:21:23] local.INFO: Extracted packet for processing {"connection_id":170550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac1"} 
[2026-09-04 10:21:23] local.INFO: GPS Element Parsed {"raw_longitude":756766208,"raw_latitude":119499672,"longitude_deg":75.6766208,"latitude_deg":11.9499672,"altitude":51,"angle":128,"satellites":11,"speed":15,"hex_longitude":"2d1b5600","hex_latitude":"071f6b98","is_valid_coordinates":true} 
[2026-09-04 10:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855351552001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17112197679284224,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968776755195084800,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788497472000,"timestamp_ms":1788497472000,"timestamp_seconds":1788497472,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac1aa00"} 
[2026-09-04 10:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 10:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":170550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":170550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855351552001,"66":14580,"101":206,"83":41984,"24":15,"16":17112197679284224,"45":1968776755195084800},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 10:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855351552001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:21:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 10:21:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 10:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17112197679284224,"km_value":17112197679284.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968776755195084800,"description":"Unknown IO ID 45"} 
[2026-09-04 10:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855351552001,"power":14580,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1968776755195084800}} 
[2026-09-04 10:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":170550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:21:24] local.INFO: GPS data processed {"connection_id":170550,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:21:24] local.INFO: Acknowledgment sent {"connection_id":170550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:21:36] local.INFO: TCP Data received {"connection_id":170845,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:21:36] local.INFO: Processing buffer {"connection_id":170845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:21:36] local.INFO: Packet analysis {"connection_id":170845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:21:36] local.INFO: Extracted packet for processing {"connection_id":170845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:21:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788497353000,"timestamp_ms":1788497353000,"timestamp_seconds":1788497353,"priority":1,"record_length":96,"hex_timestamp":"000001a06abfd928"} 
[2026-09-04 10:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":25908,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:21:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:21:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":25908,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":170845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:21:36] local.INFO: GPS data processed {"connection_id":170845,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:21:36] local.INFO: Acknowledgment sent {"connection_id":170845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:21:38] local.INFO: TCP Data received {"connection_id":173253,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:21:38] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:21:38] local.INFO: IMEI packet received {"connection_id":173253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":173253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:21:43] local.INFO: TCP Data received {"connection_id":173253,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:21:43] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:21:43] local.INFO: IMEI packet received {"connection_id":173253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":173253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:21:44] local.INFO: TCP Data received {"connection_id":173253,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06aa94bb8012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aa94bb8012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:21:44] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aa94bb8012d33990006a8c890000c00ca2c..."} 
[2026-09-04 10:21:44] local.INFO: Packet analysis {"connection_id":173253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aa9"} 
[2026-09-04 10:21:44] local.INFO: Extracted packet for processing {"connection_id":173253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aa9"} 
[2026-09-04 10:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724688,"longitude_deg":75.8356224,"latitude_deg":11.1724688,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c890","is_valid_coordinates":true} 
[2026-09-04 10:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854943232001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972575232,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788495875000,"timestamp_ms":1788495875000,"timestamp_seconds":1788495875,"priority":1,"record_length":96,"hex_timestamp":"000001a06aa94bb8"} 
[2026-09-04 10:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 10:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854943232001,"66":28006,"40":206,"81":23296,"24":0,"16":461116278833152,"45":3718002995972575232},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-09-04 10:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854943232001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:21:44] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-04 10:21:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 10:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972575232,"description":"Unknown IO ID 45"} 
[2026-09-04 10:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854943232001,"power":28006,"unknown_40":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3718002995972575232}} 
[2026-09-04 10:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":173253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:21:44] local.INFO: GPS data processed {"connection_id":173253,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:21:44] local.INFO: Acknowledgment sent {"connection_id":173253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:21:49] local.INFO: TCP Data received {"connection_id":173254,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:21:49] local.INFO: Processing buffer {"connection_id":173254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:21:49] local.INFO: IMEI packet received {"connection_id":173254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":173254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:21:51] local.INFO: TCP Data received {"connection_id":173254,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:21:51] local.INFO: Processing buffer {"connection_id":173254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:21:51] local.INFO: IMEI packet received {"connection_id":173254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":173254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:21:54] local.INFO: TCP Data received {"connection_id":173254,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:21:54] local.INFO: Processing buffer {"connection_id":173254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:21:54] local.INFO: IMEI packet received {"connection_id":173254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":173254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:21:55] local.INFO: TCP Data received {"connection_id":173254,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac1ade8012d1b57c0071f6b180033006d0b..."} 
[2026-09-04 10:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac1ade8012d1b57c0071f6b180033006d0b..."} 
[2026-09-04 10:21:55] local.INFO: Processing buffer {"connection_id":173254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac1ade8012d1b57c0071f6b180033006d0b..."} 
[2026-09-04 10:21:55] local.INFO: Packet analysis {"connection_id":173254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac1"} 
[2026-09-04 10:21:55] local.INFO: Extracted packet for processing {"connection_id":173254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac1"} 
[2026-09-04 10:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756766656,"raw_latitude":119499544,"longitude_deg":75.6766656,"latitude_deg":11.9499544,"altitude":51,"angle":109,"satellites":11,"speed":16,"hex_longitude":"2d1b57c0","hex_latitude":"071f6b18","is_valid_coordinates":true} 
[2026-09-04 10:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855352832001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17112223449088000,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969761917613086720,"note":"Value kept but may cause issues"} 
[2026-09-04 10:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788497473000,"timestamp_ms":1788497473000,"timestamp_seconds":1788497473,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac1ade8"} 
[2026-09-04 10:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-04 10:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855352832001,"66":14580,"101":206,"83":41984,"24":16,"16":17112223449088000,"45":1969761917613086720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 10:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855352832001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:21:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 10:21:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 10:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17112223449088000,"km_value":17112223449088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969761917613086720,"description":"Unknown IO ID 45"} 
[2026-09-04 10:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855352832001,"power":14580,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1969761917613086720}} 
[2026-09-04 10:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":173254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:21:55] local.INFO: GPS data processed {"connection_id":173254,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:21:55] local.INFO: Acknowledgment sent {"connection_id":173254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:22:05] local.INFO: TCP Data received {"connection_id":170846,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:22:05] local.INFO: Processing buffer {"connection_id":170846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:22:05] local.INFO: IMEI packet received {"connection_id":170846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":170846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:22:10] local.INFO: TCP Data received {"connection_id":170846,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:22:10] local.INFO: Processing buffer {"connection_id":170846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:22:10] local.INFO: IMEI packet received {"connection_id":170846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":170846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:22:11] local.INFO: TCP Data received {"connection_id":170846,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:22:11] local.INFO: Processing buffer {"connection_id":170846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:22:11] local.INFO: Packet analysis {"connection_id":170846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:22:11] local.INFO: Extracted packet for processing {"connection_id":170846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:22:11] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788497353000,"timestamp_ms":1788497353000,"timestamp_seconds":1788497353,"priority":1,"record_length":96,"hex_timestamp":"000001a06abfd928"} 
[2026-09-04 10:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":25908,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:22:11] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":25908,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":170846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:22:11] local.INFO: GPS data processed {"connection_id":170846,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:22:11] local.INFO: Acknowledgment sent {"connection_id":170846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:22:15] local.INFO: TCP Data received {"connection_id":170846,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:22:15] local.INFO: Processing buffer {"connection_id":170846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:22:15] local.INFO: Packet analysis {"connection_id":170846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:22:15] local.INFO: Extracted packet for processing {"connection_id":170846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:22:15] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788497353000,"timestamp_ms":1788497353000,"timestamp_seconds":1788497353,"priority":1,"record_length":96,"hex_timestamp":"000001a06abfd928"} 
[2026-09-04 10:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":25908,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:22:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:22:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":25908,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":170846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:22:15] local.INFO: GPS data processed {"connection_id":170846,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:22:15] local.INFO: Acknowledgment sent {"connection_id":170846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:22:16] local.INFO: TCP Data received {"connection_id":173253,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab0a2a0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab0a2a0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:22:16] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab0a2a0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:22:16] local.INFO: Packet analysis {"connection_id":173253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab0"} 
[2026-09-04 10:22:16] local.INFO: Extracted packet for processing {"connection_id":173253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab0"} 
[2026-09-04 10:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457854944000001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972575232,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788496356000,"timestamp_ms":1788496356000,"timestamp_seconds":1788496356,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab0a2a0"} 
[2026-09-04 10:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 10:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457854944000001,"66":25854,"39":206,"81":23296,"24":0,"16":461116278833152,"45":3718002995972575232},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,81,24,16,45]} 
[2026-09-04 10:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457854944000001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:22:16] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-04 10:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 10:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972575232,"description":"Unknown IO ID 45"} 
[2026-09-04 10:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457854944000001,"power":25854,"unknown_39":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3718002995972575232}} 
[2026-09-04 10:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":173253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:22:16] local.INFO: GPS data processed {"connection_id":173253,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:22:16] local.INFO: Acknowledgment sent {"connection_id":173253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:22:26] local.INFO: TCP Data received {"connection_id":173254,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac1b5b8012d1b5b00071f6ac80032005e0b..."} 
[2026-09-04 10:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac1b5b8012d1b5b00071f6ac80032005e0b..."} 
[2026-09-04 10:22:26] local.INFO: Processing buffer {"connection_id":173254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac1b5b8012d1b5b00071f6ac80032005e0b..."} 
[2026-09-04 10:22:26] local.INFO: Packet analysis {"connection_id":173254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac1"} 
[2026-09-04 10:22:26] local.INFO: Extracted packet for processing {"connection_id":173254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac1"} 
[2026-09-04 10:22:26] local.INFO: GPS Element Parsed {"raw_longitude":756767488,"raw_latitude":119499464,"longitude_deg":75.6767488,"latitude_deg":11.9499464,"altitude":50,"angle":94,"satellites":11,"speed":16,"hex_longitude":"2d1b5b00","hex_latitude":"071f6ac8","is_valid_coordinates":true} 
[2026-09-04 10:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855353088001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17112262103793664,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970254498822297600,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788497475000,"timestamp_ms":1788497475000,"timestamp_seconds":1788497475,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac1b5b8"} 
[2026-09-04 10:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-04 10:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855353088001,"66":14483,"101":206,"83":41984,"24":16,"16":17112262103793664,"45":1970254498822297600},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 10:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855353088001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:22:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 10:22:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 10:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17112262103793664,"km_value":17112262103793.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970254498822297600,"description":"Unknown IO ID 45"} 
[2026-09-04 10:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855353088001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1970254498822297600}} 
[2026-09-04 10:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":173254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:22:26] local.INFO: GPS data processed {"connection_id":173254,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:22:26] local.INFO: Acknowledgment sent {"connection_id":173254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:22:38] local.INFO: TCP Data received {"connection_id":170552,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:22:38] local.INFO: Processing buffer {"connection_id":170552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:22:38] local.INFO: IMEI packet received {"connection_id":170552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":170552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:22:44] local.INFO: TCP Data received {"connection_id":170552,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:22:44] local.INFO: Processing buffer {"connection_id":170552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:22:44] local.INFO: IMEI packet received {"connection_id":170552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":170552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:22:45] local.INFO: TCP Data received {"connection_id":170552,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06ab53a68012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ab53a68012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:22:45] local.INFO: Processing buffer {"connection_id":170552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ab53a68012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:22:45] local.INFO: Packet analysis {"connection_id":170552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:22:45] local.INFO: Extracted packet for processing {"connection_id":170552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ab5"} 
[2026-09-04 10:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855067136001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788496657000,"timestamp_ms":1788496657000,"timestamp_seconds":1788496657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ab53a68"} 
[2026-09-04 10:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 10:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":170552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":170552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":170552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855067136001,"66":25375,"39":206,"81":23296,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,81,24,16,45]} 
[2026-09-04 10:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855067136001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:22:45] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-04 10:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 10:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855067136001,"power":25375,"unknown_39":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":170552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761559,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:22:45] local.INFO: GPS data processed {"connection_id":170552,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:22:45] local.INFO: Acknowledgment sent {"connection_id":170552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:23:00] local.INFO: TCP Data received {"connection_id":170847,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:23:00] local.INFO: Processing buffer {"connection_id":170847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:23:00] local.INFO: IMEI packet received {"connection_id":170847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":170847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:23:05] local.INFO: TCP Data received {"connection_id":170847,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:23:05] local.INFO: Processing buffer {"connection_id":170847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:23:05] local.INFO: IMEI packet received {"connection_id":170847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":170847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:23:05] local.INFO: TCP Data received {"connection_id":170847,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:23:05] local.INFO: Processing buffer {"connection_id":170847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:23:05] local.INFO: Packet analysis {"connection_id":170847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:23:05] local.INFO: Extracted packet for processing {"connection_id":170847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:23:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788497353000,"timestamp_ms":1788497353000,"timestamp_seconds":1788497353,"priority":1,"record_length":96,"hex_timestamp":"000001a06abfd928"} 
[2026-09-04 10:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":25908,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:23:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:23:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":25908,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":170847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:23:05] local.INFO: GPS data processed {"connection_id":170847,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:23:05] local.INFO: Acknowledgment sent {"connection_id":170847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:23:13] local.INFO: TCP Data received {"connection_id":173254,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac2f9f0012d1b9700071f82e0001501560c..."} 
[2026-09-04 10:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac2f9f0012d1b9700071f82e0001501560c..."} 
[2026-09-04 10:23:13] local.INFO: Processing buffer {"connection_id":173254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac2f9f0012d1b9700071f82e0001501560c..."} 
[2026-09-04 10:23:13] local.INFO: Packet analysis {"connection_id":173254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac2"} 
[2026-09-04 10:23:13] local.INFO: Extracted packet for processing {"connection_id":173254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac2"} 
[2026-09-04 10:23:13] local.INFO: GPS Element Parsed {"raw_longitude":756782848,"raw_latitude":119505632,"longitude_deg":75.6782848,"latitude_deg":11.9505632,"altitude":21,"angle":342,"satellites":12,"speed":11,"hex_longitude":"2d1b9700","hex_latitude":"071f82e0","is_valid_coordinates":true} 
[2026-09-04 10:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855374336001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17113215586533376,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988268897333202944,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788497558000,"timestamp_ms":1788497558000,"timestamp_seconds":1788497558,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac2f9f0"} 
[2026-09-04 10:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 10:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855374336001,"66":13972,"101":206,"83":41984,"24":11,"16":17113215586533376,"45":1988268897333202944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 10:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855374336001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:23:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 10:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 10:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17113215586533376,"km_value":17113215586533.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988268897333202944,"description":"Unknown IO ID 45"} 
[2026-09-04 10:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855374336001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1988268897333202944}} 
[2026-09-04 10:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":173254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:23:14] local.INFO: GPS data processed {"connection_id":173254,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:23:14] local.INFO: Acknowledgment sent {"connection_id":173254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:23:19] local.INFO: TCP Data received {"connection_id":170552,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06abd9af0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abd9af0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:23:19] local.INFO: Processing buffer {"connection_id":170552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abd9af0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:23:19] local.INFO: Packet analysis {"connection_id":170552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abd"} 
[2026-09-04 10:23:19] local.INFO: Extracted packet for processing {"connection_id":170552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abd"} 
[2026-09-04 10:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855144192001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788497206000,"timestamp_ms":1788497206000,"timestamp_seconds":1788497206,"priority":1,"record_length":96,"hex_timestamp":"000001a06abd9af0"} 
[2026-09-04 10:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 10:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":170552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":170552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":170552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855144192001,"66":25201,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855144192001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:23:19] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:23:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855144192001,"power":25201,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":170552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:23:19] local.INFO: GPS data processed {"connection_id":170552,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:23:19] local.INFO: Acknowledgment sent {"connection_id":170552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:23:36] local.INFO: TCP Data received {"connection_id":170847,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:23:36] local.INFO: Processing buffer {"connection_id":170847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:23:36] local.INFO: Packet analysis {"connection_id":170847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:23:36] local.INFO: Extracted packet for processing {"connection_id":170847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:23:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788497353000,"timestamp_ms":1788497353000,"timestamp_seconds":1788497353,"priority":1,"record_length":96,"hex_timestamp":"000001a06abfd928"} 
[2026-09-04 10:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":25908,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:23:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":25908,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":170847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:23:36] local.INFO: GPS data processed {"connection_id":170847,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:23:36] local.INFO: Acknowledgment sent {"connection_id":170847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:23:38] local.INFO: TCP Data received {"connection_id":171954,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:23:38] local.INFO: Processing buffer {"connection_id":171954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:23:38] local.INFO: IMEI packet received {"connection_id":171954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":171954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:23:43] local.INFO: TCP Data received {"connection_id":171954,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:23:43] local.INFO: Processing buffer {"connection_id":171954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:23:43] local.INFO: IMEI packet received {"connection_id":171954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":171954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:23:44] local.INFO: TCP Data received {"connection_id":171954,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac232b8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac232b8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:23:44] local.INFO: Processing buffer {"connection_id":171954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac232b8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:23:44] local.INFO: Packet analysis {"connection_id":171954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac2"} 
[2026-09-04 10:23:44] local.INFO: Extracted packet for processing {"connection_id":171954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac2"} 
[2026-09-04 10:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855284736001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788497507000,"timestamp_ms":1788497507000,"timestamp_seconds":1788497507,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac232b8"} 
[2026-09-04 10:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 10:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":171954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":171954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":171954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855284736001,"66":24973,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855284736001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:23:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:23:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855284736001,"power":24973,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":171954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761564,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:23:44] local.INFO: GPS data processed {"connection_id":171954,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:23:44] local.INFO: Acknowledgment sent {"connection_id":171954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:24:00] local.INFO: TCP Data received {"connection_id":171955,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:24:00] local.INFO: Processing buffer {"connection_id":171955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:24:00] local.INFO: IMEI packet received {"connection_id":171955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":171955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:24:05] local.INFO: TCP Data received {"connection_id":171955,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:24:05] local.INFO: Processing buffer {"connection_id":171955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:24:05] local.INFO: IMEI packet received {"connection_id":171955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":171955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:24:05] local.INFO: TCP Data received {"connection_id":171955,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:24:05] local.INFO: Processing buffer {"connection_id":171955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:24:05] local.INFO: Packet analysis {"connection_id":171955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:24:05] local.INFO: Extracted packet for processing {"connection_id":171955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:24:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:24:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788497353000,"timestamp_ms":1788497353000,"timestamp_seconds":1788497353,"priority":1,"record_length":96,"hex_timestamp":"000001a06abfd928"} 
[2026-09-04 10:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":25908,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:24:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:24:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":25908,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":171955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:24:05] local.INFO: GPS data processed {"connection_id":171955,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:24:05] local.INFO: Acknowledgment sent {"connection_id":171955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:24:15] local.INFO: TCP Data received {"connection_id":171954,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac232b8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac232b8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:24:15] local.INFO: Processing buffer {"connection_id":171954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac232b8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:24:15] local.INFO: Packet analysis {"connection_id":171954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac2"} 
[2026-09-04 10:24:15] local.INFO: Extracted packet for processing {"connection_id":171954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac2"} 
[2026-09-04 10:24:15] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855284736001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788497507000,"timestamp_ms":1788497507000,"timestamp_seconds":1788497507,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac232b8"} 
[2026-09-04 10:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 10:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855284736001,"66":24973,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855284736001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:24:15] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:24:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855284736001,"power":24973,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":171954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761566,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:24:15] local.INFO: GPS data processed {"connection_id":171954,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:24:15] local.INFO: Acknowledgment sent {"connection_id":171954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:24:36] local.INFO: TCP Data received {"connection_id":171955,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:24:36] local.INFO: Processing buffer {"connection_id":171955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06abfd928012cdb8340073377a0001700082a..."} 
[2026-09-04 10:24:36] local.INFO: Packet analysis {"connection_id":171955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:24:36] local.INFO: Extracted packet for processing {"connection_id":171955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06abf"} 
[2026-09-04 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855244800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:24:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2628976251549378560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788497353000,"timestamp_ms":1788497353000,"timestamp_seconds":1788497353,"priority":1,"record_length":96,"hex_timestamp":"000001a06abfd928"} 
[2026-09-04 10:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855244800001,"66":25908,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2628976251549378560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855244800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:24:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:24:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2628976251549378560,"description":"Unknown IO ID 44"} 
[2026-09-04 10:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855244800001,"power":25908,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2628976251549378560}} 
[2026-09-04 10:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":171955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:24:37] local.INFO: GPS data processed {"connection_id":171955,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:24:37] local.INFO: Acknowledgment sent {"connection_id":171955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:24:38] local.INFO: TCP Data received {"connection_id":170848,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:24:38] local.INFO: Processing buffer {"connection_id":170848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:24:38] local.INFO: IMEI packet received {"connection_id":170848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":170848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:24:45] local.INFO: TCP Data received {"connection_id":170848,"ip":"117.224.67.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:24:45] local.INFO: Processing buffer {"connection_id":170848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:24:45] local.INFO: IMEI packet received {"connection_id":170848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":170848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:24:46] local.INFO: TCP Data received {"connection_id":170848,"ip":"117.224.67.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac232b8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac232b8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:24:46] local.INFO: Processing buffer {"connection_id":170848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac232b8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:24:46] local.INFO: Packet analysis {"connection_id":170848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac2"} 
[2026-09-04 10:24:46] local.INFO: Extracted packet for processing {"connection_id":170848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac2"} 
[2026-09-04 10:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855284736001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788497507000,"timestamp_ms":1788497507000,"timestamp_seconds":1788497507,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac232b8"} 
[2026-09-04 10:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 10:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":170848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":170848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":170848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.67.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855284736001,"66":24973,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.67.49","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855284736001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:24:46] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:24:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855284736001,"power":24973,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":170848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761568,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:24:46] local.INFO: GPS data processed {"connection_id":170848,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:24:46] local.INFO: Acknowledgment sent {"connection_id":170848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:25:00] local.INFO: TCP Data received {"connection_id":170849,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:25:00] local.INFO: Processing buffer {"connection_id":170849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:25:00] local.INFO: IMEI packet received {"connection_id":170849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":170849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:25:05] local.INFO: TCP Data received {"connection_id":170849,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:25:05] local.INFO: Processing buffer {"connection_id":170849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:25:05] local.INFO: IMEI packet received {"connection_id":170849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":170849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:25:05] local.INFO: TCP Data received {"connection_id":170849,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:25:05] local.INFO: Processing buffer {"connection_id":170849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:25:05] local.INFO: Packet analysis {"connection_id":170849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:25:05] local.INFO: Extracted packet for processing {"connection_id":170849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:25:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855322368001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:25:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788497654000,"timestamp_ms":1788497654000,"timestamp_seconds":1788497654,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac470f0"} 
[2026-09-04 10:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 10:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855322368001,"66":26169,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855322368001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:25:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:25:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855322368001,"power":26169,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":170849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:25:05] local.INFO: GPS data processed {"connection_id":170849,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:25:05] local.INFO: Acknowledgment sent {"connection_id":170849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:25:36] local.INFO: TCP Data received {"connection_id":170849,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:25:37] local.INFO: Processing buffer {"connection_id":170849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:25:37] local.INFO: Packet analysis {"connection_id":170849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:25:37] local.INFO: Extracted packet for processing {"connection_id":170849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:25:37] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855322368001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:25:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788497654000,"timestamp_ms":1788497654000,"timestamp_seconds":1788497654,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac470f0"} 
[2026-09-04 10:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 10:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855322368001,"66":26169,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855322368001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:25:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:25:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855322368001,"power":26169,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":170849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:25:37] local.INFO: GPS data processed {"connection_id":170849,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:25:37] local.INFO: Acknowledgment sent {"connection_id":170849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:25:59] local.INFO: TCP Data received {"connection_id":170553,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:25:59] local.INFO: Processing buffer {"connection_id":170553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:25:59] local.INFO: IMEI packet received {"connection_id":170553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":170553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:26:05] local.INFO: TCP Data received {"connection_id":170553,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:26:05] local.INFO: Processing buffer {"connection_id":170553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:26:05] local.INFO: IMEI packet received {"connection_id":170553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":170553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:26:07] local.INFO: TCP Data received {"connection_id":170553,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:26:07] local.INFO: Processing buffer {"connection_id":170553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:26:07] local.INFO: Packet analysis {"connection_id":170553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:26:07] local.INFO: Extracted packet for processing {"connection_id":170553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:26:07] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855322368001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:26:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788497654000,"timestamp_ms":1788497654000,"timestamp_seconds":1788497654,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac470f0"} 
[2026-09-04 10:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 10:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855322368001,"66":26169,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855322368001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:26:07] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:26:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855322368001,"power":26169,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":170553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:26:07] local.INFO: GPS data processed {"connection_id":170553,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:26:07] local.INFO: Acknowledgment sent {"connection_id":170553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:26:38] local.INFO: TCP Data received {"connection_id":170553,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:26:38] local.INFO: Processing buffer {"connection_id":170553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:26:38] local.INFO: Packet analysis {"connection_id":170553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:26:38] local.INFO: Extracted packet for processing {"connection_id":170553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:26:38] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855322368001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:26:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788497654000,"timestamp_ms":1788497654000,"timestamp_seconds":1788497654,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac470f0"} 
[2026-09-04 10:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 10:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855322368001,"66":26169,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855322368001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:26:38] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:26:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855322368001,"power":26169,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":170553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:26:38] local.INFO: GPS data processed {"connection_id":170553,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:26:38] local.INFO: Acknowledgment sent {"connection_id":170553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:27:04] local.INFO: TCP Data received {"connection_id":171956,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:27:04] local.INFO: Processing buffer {"connection_id":171956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:27:04] local.INFO: IMEI packet received {"connection_id":171956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":171956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:27:09] local.INFO: TCP Data received {"connection_id":171956,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:27:09] local.INFO: Processing buffer {"connection_id":171956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:27:09] local.INFO: IMEI packet received {"connection_id":171956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":171956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:27:10] local.INFO: TCP Data received {"connection_id":171956,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:27:10] local.INFO: Processing buffer {"connection_id":171956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:27:10] local.INFO: Packet analysis {"connection_id":171956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:27:10] local.INFO: Extracted packet for processing {"connection_id":171956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:27:10] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855322368001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788497654000,"timestamp_ms":1788497654000,"timestamp_seconds":1788497654,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac470f0"} 
[2026-09-04 10:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 10:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855322368001,"66":26169,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855322368001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:27:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:27:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855322368001,"power":26169,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":171956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:27:10] local.INFO: GPS data processed {"connection_id":171956,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:27:10] local.INFO: Acknowledgment sent {"connection_id":171956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:27:15] local.INFO: TCP Data received {"connection_id":171956,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:27:15] local.INFO: Processing buffer {"connection_id":171956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:27:15] local.INFO: Packet analysis {"connection_id":171956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:27:15] local.INFO: Extracted packet for processing {"connection_id":171956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:27:15] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855322368001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:27:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788497654000,"timestamp_ms":1788497654000,"timestamp_seconds":1788497654,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac470f0"} 
[2026-09-04 10:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 10:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855322368001,"66":26169,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855322368001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:27:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:27:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855322368001,"power":26169,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":171956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:27:15] local.INFO: GPS data processed {"connection_id":171956,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:27:15] local.INFO: Acknowledgment sent {"connection_id":171956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:28:00] local.INFO: TCP Data received {"connection_id":173255,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:28:00] local.INFO: Processing buffer {"connection_id":173255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:28:00] local.INFO: IMEI packet received {"connection_id":173255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":173255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:28:05] local.INFO: TCP Data received {"connection_id":173255,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:28:05] local.INFO: Processing buffer {"connection_id":173255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:28:05] local.INFO: IMEI packet received {"connection_id":173255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":173255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:28:05] local.INFO: TCP Data received {"connection_id":173255,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:28:05] local.INFO: Processing buffer {"connection_id":173255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:28:05] local.INFO: Packet analysis {"connection_id":173255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:28:05] local.INFO: Extracted packet for processing {"connection_id":173255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:28:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855322368001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788497654000,"timestamp_ms":1788497654000,"timestamp_seconds":1788497654,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac470f0"} 
[2026-09-04 10:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 10:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855322368001,"66":26169,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855322368001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:28:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:28:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855322368001,"power":26169,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":173255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:28:05] local.INFO: GPS data processed {"connection_id":173255,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:28:05] local.INFO: Acknowledgment sent {"connection_id":173255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:28:36] local.INFO: TCP Data received {"connection_id":173255,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:28:36] local.INFO: Processing buffer {"connection_id":173255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:28:36] local.INFO: Packet analysis {"connection_id":173255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:28:36] local.INFO: Extracted packet for processing {"connection_id":173255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:28:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855322368001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:28:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788497654000,"timestamp_ms":1788497654000,"timestamp_seconds":1788497654,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac470f0"} 
[2026-09-04 10:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 10:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855322368001,"66":26169,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855322368001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:28:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:28:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855322368001,"power":26169,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":173255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:28:36] local.INFO: GPS data processed {"connection_id":173255,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:28:36] local.INFO: Acknowledgment sent {"connection_id":173255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:29:00] local.INFO: TCP Data received {"connection_id":171957,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:29:00] local.INFO: Processing buffer {"connection_id":171957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:29:00] local.INFO: IMEI packet received {"connection_id":171957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":171957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:29:05] local.INFO: TCP Data received {"connection_id":171957,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:29:05] local.INFO: Processing buffer {"connection_id":171957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:29:05] local.INFO: IMEI packet received {"connection_id":171957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":171957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:29:05] local.INFO: TCP Data received {"connection_id":171957,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:29:05] local.INFO: Processing buffer {"connection_id":171957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:29:05] local.INFO: Packet analysis {"connection_id":171957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:29:05] local.INFO: Extracted packet for processing {"connection_id":171957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:29:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855322368001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:29:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788497654000,"timestamp_ms":1788497654000,"timestamp_seconds":1788497654,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac470f0"} 
[2026-09-04 10:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 10:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855322368001,"66":26169,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855322368001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:29:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:29:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855322368001,"power":26169,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":171957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:29:05] local.INFO: GPS data processed {"connection_id":171957,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:29:05] local.INFO: Acknowledgment sent {"connection_id":171957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:29:36] local.INFO: TCP Data received {"connection_id":171957,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:29:36] local.INFO: Processing buffer {"connection_id":171957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac470f0012cdb8340073377a0001700082a..."} 
[2026-09-04 10:29:36] local.INFO: Packet analysis {"connection_id":171957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:29:36] local.INFO: Extracted packet for processing {"connection_id":171957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:29:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":23,"angle":8,"satellites":42,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855322368001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:29:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788497654000,"timestamp_ms":1788497654000,"timestamp_seconds":1788497654,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac470f0"} 
[2026-09-04 10:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 10:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855322368001,"66":26169,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855322368001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:29:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:29:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855322368001,"power":26169,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":171957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:29:36] local.INFO: GPS data processed {"connection_id":171957,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:29:36] local.INFO: Acknowledgment sent {"connection_id":171957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:29:38] local.INFO: TCP Data received {"connection_id":170554,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:29:38] local.INFO: Processing buffer {"connection_id":170554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:29:38] local.INFO: IMEI packet received {"connection_id":170554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":170554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:29:43] local.INFO: TCP Data received {"connection_id":170554,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:29:43] local.INFO: Processing buffer {"connection_id":170554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:29:43] local.INFO: IMEI packet received {"connection_id":170554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":170554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:29:44] local.INFO: TCP Data received {"connection_id":170554,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac46d08012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac46d08012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:29:44] local.INFO: Processing buffer {"connection_id":170554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac46d08012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:29:44] local.INFO: Packet analysis {"connection_id":170554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:29:44] local.INFO: Extracted packet for processing {"connection_id":170554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac4"} 
[2026-09-04 10:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399168001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788497653000,"timestamp_ms":1788497653000,"timestamp_seconds":1788497653,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac46d08"} 
[2026-09-04 10:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 10:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399168001,"66":25191,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399168001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:29:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:29:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399168001,"power":25191,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":170554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761579,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:29:44] local.INFO: GPS data processed {"connection_id":170554,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:29:44] local.INFO: Acknowledgment sent {"connection_id":170554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:30:00] local.INFO: TCP Data received {"connection_id":173256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:30:00] local.INFO: Processing buffer {"connection_id":173256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:30:00] local.INFO: IMEI packet received {"connection_id":173256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":173256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:30:05] local.INFO: TCP Data received {"connection_id":173256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:30:05] local.INFO: Processing buffer {"connection_id":173256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:30:05] local.INFO: IMEI packet received {"connection_id":173256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":173256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:30:05] local.INFO: TCP Data received {"connection_id":173256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:30:05] local.INFO: Processing buffer {"connection_id":173256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:30:05] local.INFO: Packet analysis {"connection_id":173256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:30:05] local.INFO: Extracted packet for processing {"connection_id":173256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:30:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399424001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788497954000,"timestamp_ms":1788497954000,"timestamp_seconds":1788497954,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac904d0"} 
[2026-09-04 10:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-04 10:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399424001,"66":26082,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399424001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:30:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399424001,"power":26082,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":173256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:30:05] local.INFO: GPS data processed {"connection_id":173256,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:30:05] local.INFO: Acknowledgment sent {"connection_id":173256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:30:15] local.INFO: TCP Data received {"connection_id":170554,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:30:15] local.INFO: Processing buffer {"connection_id":170554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:30:15] local.INFO: Packet analysis {"connection_id":170554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:30:15] local.INFO: Extracted packet for processing {"connection_id":170554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399168001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788497808000,"timestamp_ms":1788497808000,"timestamp_seconds":1788497808,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac6ca80"} 
[2026-09-04 10:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 10:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399168001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399168001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:30:15] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:30:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399168001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":170554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761581,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:30:15] local.INFO: GPS data processed {"connection_id":170554,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:30:15] local.INFO: Acknowledgment sent {"connection_id":170554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:30:36] local.INFO: TCP Data received {"connection_id":173256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:30:36] local.INFO: Processing buffer {"connection_id":173256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:30:36] local.INFO: Packet analysis {"connection_id":173256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:30:36] local.INFO: Extracted packet for processing {"connection_id":173256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:30:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399424001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:30:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788497954000,"timestamp_ms":1788497954000,"timestamp_seconds":1788497954,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac904d0"} 
[2026-09-04 10:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-04 10:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399424001,"66":26082,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399424001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:30:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:30:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399424001,"power":26082,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":173256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:30:36] local.INFO: GPS data processed {"connection_id":173256,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:30:36] local.INFO: Acknowledgment sent {"connection_id":173256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:30:38] local.INFO: TCP Data received {"connection_id":171958,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:30:38] local.INFO: Processing buffer {"connection_id":171958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:30:38] local.INFO: IMEI packet received {"connection_id":171958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":171958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:30:43] local.INFO: TCP Data received {"connection_id":171958,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:30:43] local.INFO: Processing buffer {"connection_id":171958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:30:43] local.INFO: IMEI packet received {"connection_id":171958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":171958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:30:44] local.INFO: TCP Data received {"connection_id":171958,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:30:44] local.INFO: Processing buffer {"connection_id":171958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:30:44] local.INFO: Packet analysis {"connection_id":171958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:30:44] local.INFO: Extracted packet for processing {"connection_id":171958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399168001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788497808000,"timestamp_ms":1788497808000,"timestamp_seconds":1788497808,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac6ca80"} 
[2026-09-04 10:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 10:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":171958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":171958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":171958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399168001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399168001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:30:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:30:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399168001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":171958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761583,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:30:44] local.INFO: GPS data processed {"connection_id":171958,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:30:44] local.INFO: Acknowledgment sent {"connection_id":171958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:30:59] local.INFO: TCP Data received {"connection_id":170555,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:30:59] local.INFO: Processing buffer {"connection_id":170555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:30:59] local.INFO: IMEI packet received {"connection_id":170555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":170555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:31:05] local.INFO: TCP Data received {"connection_id":170555,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:31:05] local.INFO: Processing buffer {"connection_id":170555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:31:05] local.INFO: IMEI packet received {"connection_id":170555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":170555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:31:06] local.INFO: TCP Data received {"connection_id":170555,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:31:06] local.INFO: Processing buffer {"connection_id":170555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:31:06] local.INFO: Packet analysis {"connection_id":170555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:31:06] local.INFO: Extracted packet for processing {"connection_id":170555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:31:06] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399424001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788497954000,"timestamp_ms":1788497954000,"timestamp_seconds":1788497954,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac904d0"} 
[2026-09-04 10:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-04 10:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399424001,"66":26082,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399424001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:31:06] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:31:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399424001,"power":26082,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":170555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:31:06] local.INFO: GPS data processed {"connection_id":170555,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:31:06] local.INFO: Acknowledgment sent {"connection_id":170555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:31:16] local.INFO: TCP Data received {"connection_id":171958,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:31:16] local.INFO: Processing buffer {"connection_id":171958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:31:16] local.INFO: Packet analysis {"connection_id":171958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:31:16] local.INFO: Extracted packet for processing {"connection_id":171958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399168001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788497808000,"timestamp_ms":1788497808000,"timestamp_seconds":1788497808,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac6ca80"} 
[2026-09-04 10:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 10:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399168001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399168001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:31:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:31:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399168001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":171958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761585,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:31:16] local.INFO: GPS data processed {"connection_id":171958,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:31:16] local.INFO: Acknowledgment sent {"connection_id":171958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:31:37] local.INFO: TCP Data received {"connection_id":170555,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:31:37] local.INFO: Processing buffer {"connection_id":170555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:31:37] local.INFO: Packet analysis {"connection_id":170555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:31:37] local.INFO: Extracted packet for processing {"connection_id":170555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:31:37] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399424001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788497954000,"timestamp_ms":1788497954000,"timestamp_seconds":1788497954,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac904d0"} 
[2026-09-04 10:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-04 10:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399424001,"66":26082,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399424001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:31:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:31:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399424001,"power":26082,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":170555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:31:37] local.INFO: GPS data processed {"connection_id":170555,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:31:37] local.INFO: Acknowledgment sent {"connection_id":170555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:31:44] local.INFO: TCP Data received {"connection_id":171959,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:31:44] local.INFO: Processing buffer {"connection_id":171959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:31:44] local.INFO: IMEI packet received {"connection_id":171959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":171959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:31:48] local.INFO: TCP Data received {"connection_id":171959,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:31:48] local.INFO: Processing buffer {"connection_id":171959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:31:48] local.INFO: IMEI packet received {"connection_id":171959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":171959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:31:50] local.INFO: TCP Data received {"connection_id":171959,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:31:50] local.INFO: Processing buffer {"connection_id":171959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:31:50] local.INFO: Packet analysis {"connection_id":171959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:31:50] local.INFO: Extracted packet for processing {"connection_id":171959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:31:50] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399168001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788497808000,"timestamp_ms":1788497808000,"timestamp_seconds":1788497808,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac6ca80"} 
[2026-09-04 10:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 10:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399168001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399168001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:31:50] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:31:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399168001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":171959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761587,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:31:50] local.INFO: GPS data processed {"connection_id":171959,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:31:50] local.INFO: Acknowledgment sent {"connection_id":171959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:31:53] local.INFO: TCP Data received {"connection_id":171959,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:31:53] local.INFO: Processing buffer {"connection_id":171959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:31:53] local.INFO: Packet analysis {"connection_id":171959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:31:53] local.INFO: Extracted packet for processing {"connection_id":171959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399168001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788497808000,"timestamp_ms":1788497808000,"timestamp_seconds":1788497808,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac6ca80"} 
[2026-09-04 10:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 10:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399168001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399168001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:31:53] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:31:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399168001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":171959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761588,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:31:53] local.INFO: GPS data processed {"connection_id":171959,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:31:53] local.INFO: Acknowledgment sent {"connection_id":171959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:32:04] local.INFO: TCP Data received {"connection_id":171960,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:32:04] local.INFO: Processing buffer {"connection_id":171960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:32:04] local.INFO: IMEI packet received {"connection_id":171960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":171960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:32:10] local.INFO: TCP Data received {"connection_id":171960,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:32:10] local.INFO: Processing buffer {"connection_id":171960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:32:10] local.INFO: IMEI packet received {"connection_id":171960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":171960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:32:10] local.INFO: TCP Data received {"connection_id":171960,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:32:10] local.INFO: Processing buffer {"connection_id":171960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:32:10] local.INFO: Packet analysis {"connection_id":171960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:32:10] local.INFO: Extracted packet for processing {"connection_id":171960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:32:10] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399424001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788497954000,"timestamp_ms":1788497954000,"timestamp_seconds":1788497954,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac904d0"} 
[2026-09-04 10:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-04 10:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399424001,"66":26082,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399424001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:32:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399424001,"power":26082,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":171960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:32:10] local.INFO: GPS data processed {"connection_id":171960,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:32:10] local.INFO: Acknowledgment sent {"connection_id":171960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:32:15] local.INFO: TCP Data received {"connection_id":171960,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:32:15] local.INFO: Processing buffer {"connection_id":171960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:32:15] local.INFO: Packet analysis {"connection_id":171960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:32:15] local.INFO: Extracted packet for processing {"connection_id":171960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:32:15] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399424001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:32:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788497954000,"timestamp_ms":1788497954000,"timestamp_seconds":1788497954,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac904d0"} 
[2026-09-04 10:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-04 10:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399424001,"66":26082,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399424001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:32:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:32:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399424001,"power":26082,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":171960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:32:15] local.INFO: GPS data processed {"connection_id":171960,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:32:15] local.INFO: Acknowledgment sent {"connection_id":171960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:32:38] local.INFO: TCP Data received {"connection_id":170850,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:32:38] local.INFO: Processing buffer {"connection_id":170850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:32:38] local.INFO: IMEI packet received {"connection_id":170850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":170850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:32:43] local.INFO: TCP Data received {"connection_id":170850,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:32:43] local.INFO: Processing buffer {"connection_id":170850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:32:43] local.INFO: IMEI packet received {"connection_id":170850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":170850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:32:44] local.INFO: TCP Data received {"connection_id":170850,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:32:44] local.INFO: Processing buffer {"connection_id":170850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:32:44] local.INFO: Packet analysis {"connection_id":170850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:32:44] local.INFO: Extracted packet for processing {"connection_id":170850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399168001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788497808000,"timestamp_ms":1788497808000,"timestamp_seconds":1788497808,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac6ca80"} 
[2026-09-04 10:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 10:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399168001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399168001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:32:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:32:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399168001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":170850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761591,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:32:44] local.INFO: GPS data processed {"connection_id":170850,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:32:44] local.INFO: Acknowledgment sent {"connection_id":170850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:33:00] local.INFO: TCP Data received {"connection_id":170851,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:33:00] local.INFO: Processing buffer {"connection_id":170851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:33:00] local.INFO: IMEI packet received {"connection_id":170851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":170851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:33:05] local.INFO: TCP Data received {"connection_id":170851,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:33:05] local.INFO: Processing buffer {"connection_id":170851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:33:05] local.INFO: IMEI packet received {"connection_id":170851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":170851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:33:06] local.INFO: TCP Data received {"connection_id":170851,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:33:06] local.INFO: Processing buffer {"connection_id":170851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:33:06] local.INFO: Packet analysis {"connection_id":170851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:33:06] local.INFO: Extracted packet for processing {"connection_id":170851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:33:06] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399424001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:33:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788497954000,"timestamp_ms":1788497954000,"timestamp_seconds":1788497954,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac904d0"} 
[2026-09-04 10:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-04 10:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399424001,"66":26082,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399424001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:33:06] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:33:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399424001,"power":26082,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":170851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:33:06] local.INFO: GPS data processed {"connection_id":170851,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:33:06] local.INFO: Acknowledgment sent {"connection_id":170851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:33:17] local.INFO: TCP Data received {"connection_id":170850,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:33:17] local.INFO: Processing buffer {"connection_id":170850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:33:17] local.INFO: Packet analysis {"connection_id":170850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:33:17] local.INFO: Extracted packet for processing {"connection_id":170850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399168001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788497808000,"timestamp_ms":1788497808000,"timestamp_seconds":1788497808,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac6ca80"} 
[2026-09-04 10:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 10:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":170850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":170850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":170850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399168001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399168001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:33:17] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:33:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399168001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":170850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:33:17] local.INFO: GPS data processed {"connection_id":170850,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:33:17] local.INFO: Acknowledgment sent {"connection_id":170850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:33:37] local.INFO: TCP Data received {"connection_id":170851,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:33:37] local.INFO: Processing buffer {"connection_id":170851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:33:37] local.INFO: Packet analysis {"connection_id":170851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:33:37] local.INFO: Extracted packet for processing {"connection_id":170851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:33:37] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399424001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788497954000,"timestamp_ms":1788497954000,"timestamp_seconds":1788497954,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac904d0"} 
[2026-09-04 10:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-04 10:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399424001,"66":26082,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399424001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:33:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399424001,"power":26082,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":170851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:33:37] local.INFO: GPS data processed {"connection_id":170851,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:33:37] local.INFO: Acknowledgment sent {"connection_id":170851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:33:38] local.INFO: TCP Data received {"connection_id":173257,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:33:38] local.INFO: Processing buffer {"connection_id":173257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:33:38] local.INFO: IMEI packet received {"connection_id":173257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":173257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:33:43] local.INFO: TCP Data received {"connection_id":173257,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:33:43] local.INFO: Processing buffer {"connection_id":173257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:33:43] local.INFO: IMEI packet received {"connection_id":173257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":173257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:33:44] local.INFO: TCP Data received {"connection_id":173257,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:33:45] local.INFO: Processing buffer {"connection_id":173257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:33:45] local.INFO: Packet analysis {"connection_id":173257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:33:45] local.INFO: Extracted packet for processing {"connection_id":173257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399168001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788497808000,"timestamp_ms":1788497808000,"timestamp_seconds":1788497808,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac6ca80"} 
[2026-09-04 10:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 10:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399168001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399168001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:33:45] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:33:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399168001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":173257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761595,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:33:45] local.INFO: GPS data processed {"connection_id":173257,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:33:45] local.INFO: Acknowledgment sent {"connection_id":173257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:34:00] local.INFO: TCP Data received {"connection_id":173258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:34:00] local.INFO: Processing buffer {"connection_id":173258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:34:00] local.INFO: IMEI packet received {"connection_id":173258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":173258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:34:05] local.INFO: TCP Data received {"connection_id":173258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:34:05] local.INFO: Processing buffer {"connection_id":173258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:34:05] local.INFO: IMEI packet received {"connection_id":173258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":173258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:34:05] local.INFO: TCP Data received {"connection_id":173258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:34:05] local.INFO: Processing buffer {"connection_id":173258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:34:05] local.INFO: Packet analysis {"connection_id":173258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:34:05] local.INFO: Extracted packet for processing {"connection_id":173258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:34:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399424001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:34:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788497954000,"timestamp_ms":1788497954000,"timestamp_seconds":1788497954,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac904d0"} 
[2026-09-04 10:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-04 10:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399424001,"66":26082,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399424001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:34:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:34:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399424001,"power":26082,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":173258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:34:05] local.INFO: GPS data processed {"connection_id":173258,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:34:05] local.INFO: Acknowledgment sent {"connection_id":173258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:34:15] local.INFO: TCP Data received {"connection_id":173259,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:34:15] local.INFO: Processing buffer {"connection_id":173259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:34:15] local.INFO: IMEI packet received {"connection_id":173259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":173259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:34:16] local.INFO: TCP Data received {"connection_id":173257,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:34:16] local.INFO: Processing buffer {"connection_id":173257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac6ca80012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:34:16] local.INFO: Packet analysis {"connection_id":173257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:34:16] local.INFO: Extracted packet for processing {"connection_id":173257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac6"} 
[2026-09-04 10:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399168001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788497808000,"timestamp_ms":1788497808000,"timestamp_seconds":1788497808,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac6ca80"} 
[2026-09-04 10:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 10:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399168001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399168001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:34:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:34:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399168001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":173257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761597,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:34:16] local.INFO: GPS data processed {"connection_id":173257,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:34:16] local.INFO: Acknowledgment sent {"connection_id":173257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:34:16] local.INFO: TCP Data received {"connection_id":173259,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:34:16] local.INFO: Processing buffer {"connection_id":173259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:34:16] local.INFO: IMEI packet received {"connection_id":173259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":173259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:34:18] local.INFO: TCP Data received {"connection_id":173259,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:34:18] local.INFO: Processing buffer {"connection_id":173259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:34:18] local.INFO: IMEI packet received {"connection_id":173259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:34:18] local.ERROR: TCP Connection error {"connection_id":173259,"code":2,"message":"client closed"} 
[2026-09-04 10:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":173259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:34:37] local.INFO: TCP Data received {"connection_id":173258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:34:37] local.INFO: Processing buffer {"connection_id":173258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ac904d0012cdb8340073377a0002000082c..."} 
[2026-09-04 10:34:37] local.INFO: Packet analysis {"connection_id":173258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:34:37] local.INFO: Extracted packet for processing {"connection_id":173258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ac9"} 
[2026-09-04 10:34:37] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855399424001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:34:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788497954000,"timestamp_ms":1788497954000,"timestamp_seconds":1788497954,"priority":1,"record_length":96,"hex_timestamp":"000001a06ac904d0"} 
[2026-09-04 10:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-04 10:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855399424001,"66":26082,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855399424001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:34:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:34:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855399424001,"power":26082,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":173258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:34:37] local.INFO: GPS data processed {"connection_id":173258,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:34:37] local.INFO: Acknowledgment sent {"connection_id":173258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:34:38] local.INFO: TCP Data received {"connection_id":171961,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:34:38] local.INFO: Processing buffer {"connection_id":171961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:34:38] local.INFO: IMEI packet received {"connection_id":171961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":171961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:34:43] local.INFO: TCP Data received {"connection_id":171961,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:34:43] local.INFO: Processing buffer {"connection_id":171961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:34:43] local.INFO: IMEI packet received {"connection_id":171961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":171961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:34:44] local.INFO: TCP Data received {"connection_id":171961,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:34:44] local.INFO: Processing buffer {"connection_id":171961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:34:44] local.INFO: Packet analysis {"connection_id":171961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:34:44] local.INFO: Extracted packet for processing {"connection_id":171961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855438848001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788498221000,"timestamp_ms":1788498221000,"timestamp_seconds":1788498221,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd17c8"} 
[2026-09-04 10:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":171961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":171961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":171961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855438848001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855438848001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:34:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:34:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855438848001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":171961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761599,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:34:44] local.INFO: GPS data processed {"connection_id":171961,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:34:44] local.INFO: Acknowledgment sent {"connection_id":171961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:34:59] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:34:59] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:34:59] local.INFO: IMEI packet received {"connection_id":173260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":173260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:35:05] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:35:05] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:35:05] local.INFO: IMEI packet received {"connection_id":173260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":173260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:35:06] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:35:06] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:35:06] local.INFO: Packet analysis {"connection_id":173260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:35:06] local.INFO: Extracted packet for processing {"connection_id":173260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:35:06] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855476224001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:35:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788498255000,"timestamp_ms":1788498255000,"timestamp_seconds":1788498255,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd9c98"} 
[2026-09-04 10:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 10:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855476224001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855476224001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:35:06] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:35:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855476224001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":173260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:35:06] local.INFO: GPS data processed {"connection_id":173260,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:35:06] local.INFO: Acknowledgment sent {"connection_id":173260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:35:16] local.INFO: TCP Data received {"connection_id":171961,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:35:16] local.INFO: Processing buffer {"connection_id":171961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:35:16] local.INFO: Packet analysis {"connection_id":171961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:35:16] local.INFO: Extracted packet for processing {"connection_id":171961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855438848001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788498221000,"timestamp_ms":1788498221000,"timestamp_seconds":1788498221,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd17c8"} 
[2026-09-04 10:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855438848001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855438848001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:35:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:35:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855438848001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":171961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761601,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:35:16] local.INFO: GPS data processed {"connection_id":171961,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:35:16] local.INFO: Acknowledgment sent {"connection_id":171961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:35:37] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:35:37] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:35:37] local.INFO: Packet analysis {"connection_id":173260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:35:37] local.INFO: Extracted packet for processing {"connection_id":173260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:35:37] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855476224001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:35:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788498255000,"timestamp_ms":1788498255000,"timestamp_seconds":1788498255,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd9c98"} 
[2026-09-04 10:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 10:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855476224001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855476224001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:35:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:35:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855476224001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":173260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:35:37] local.INFO: GPS data processed {"connection_id":173260,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:35:37] local.INFO: Acknowledgment sent {"connection_id":173260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:35:38] local.INFO: TCP Data received {"connection_id":171962,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:35:38] local.INFO: Processing buffer {"connection_id":171962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:35:38] local.INFO: IMEI packet received {"connection_id":171962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":171962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:35:44] local.INFO: TCP Data received {"connection_id":171962,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:35:44] local.INFO: Processing buffer {"connection_id":171962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:35:44] local.INFO: IMEI packet received {"connection_id":171962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":171962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:35:46] local.INFO: TCP Data received {"connection_id":171962,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:35:46] local.INFO: Processing buffer {"connection_id":171962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:35:46] local.INFO: Packet analysis {"connection_id":171962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:35:46] local.INFO: Extracted packet for processing {"connection_id":171962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855438848001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788498221000,"timestamp_ms":1788498221000,"timestamp_seconds":1788498221,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd17c8"} 
[2026-09-04 10:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":171962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":171962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":171962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855438848001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855438848001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:35:46] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:35:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855438848001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":171962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761603,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:35:46] local.INFO: GPS data processed {"connection_id":171962,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:35:46] local.INFO: Acknowledgment sent {"connection_id":171962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:35:59] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:35:59] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:35:59] local.INFO: IMEI packet received {"connection_id":173261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":173261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:36:05] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:36:05] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:36:05] local.INFO: IMEI packet received {"connection_id":173261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":173261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:36:05] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:36:05] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:36:05] local.INFO: Packet analysis {"connection_id":173261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:36:05] local.INFO: Extracted packet for processing {"connection_id":173261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:36:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855476224001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:36:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788498255000,"timestamp_ms":1788498255000,"timestamp_seconds":1788498255,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd9c98"} 
[2026-09-04 10:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 10:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855476224001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855476224001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:36:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:36:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855476224001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":173261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:36:05] local.INFO: GPS data processed {"connection_id":173261,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:36:05] local.INFO: Acknowledgment sent {"connection_id":173261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:36:18] local.INFO: TCP Data received {"connection_id":171962,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:36:18] local.INFO: Processing buffer {"connection_id":171962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:36:18] local.INFO: Packet analysis {"connection_id":171962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:36:18] local.INFO: Extracted packet for processing {"connection_id":171962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855438848001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788498221000,"timestamp_ms":1788498221000,"timestamp_seconds":1788498221,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd17c8"} 
[2026-09-04 10:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":171962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":171962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":171962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855438848001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855438848001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:36:18] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:36:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855438848001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":171962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761605,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:36:18] local.INFO: GPS data processed {"connection_id":171962,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:36:18] local.INFO: Acknowledgment sent {"connection_id":171962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:36:36] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:36:36] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:36:36] local.INFO: Packet analysis {"connection_id":173261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:36:36] local.INFO: Extracted packet for processing {"connection_id":173261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:36:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855476224001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:36:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788498255000,"timestamp_ms":1788498255000,"timestamp_seconds":1788498255,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd9c98"} 
[2026-09-04 10:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 10:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855476224001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855476224001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:36:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:36:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855476224001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":173261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:36:36] local.INFO: GPS data processed {"connection_id":173261,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:36:36] local.INFO: Acknowledgment sent {"connection_id":173261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:36:38] local.INFO: TCP Data received {"connection_id":170556,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:36:38] local.INFO: Processing buffer {"connection_id":170556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:36:38] local.INFO: IMEI packet received {"connection_id":170556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":170556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:36:45] local.INFO: TCP Data received {"connection_id":170556,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:36:45] local.INFO: Processing buffer {"connection_id":170556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:36:45] local.INFO: IMEI packet received {"connection_id":170556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":170556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:36:51] local.INFO: TCP Data received {"connection_id":170556,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:36:51] local.INFO: Processing buffer {"connection_id":170556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:36:51] local.INFO: IMEI packet received {"connection_id":170556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":170556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:36:52] local.INFO: TCP Data received {"connection_id":170556,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:36:52] local.INFO: Processing buffer {"connection_id":170556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:36:52] local.INFO: Packet analysis {"connection_id":170556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:36:52] local.INFO: Extracted packet for processing {"connection_id":170556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855438848001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788498221000,"timestamp_ms":1788498221000,"timestamp_seconds":1788498221,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd17c8"} 
[2026-09-04 10:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855438848001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855438848001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:36:53] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:36:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855438848001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":170556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761607,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:36:53] local.INFO: GPS data processed {"connection_id":170556,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:36:53] local.INFO: Acknowledgment sent {"connection_id":170556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:37:05] local.INFO: TCP Data received {"connection_id":170852,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:37:05] local.INFO: Processing buffer {"connection_id":170852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:37:05] local.INFO: IMEI packet received {"connection_id":170852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":170852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:37:10] local.INFO: TCP Data received {"connection_id":170852,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:37:10] local.INFO: Processing buffer {"connection_id":170852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:37:10] local.INFO: IMEI packet received {"connection_id":170852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":170852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:37:10] local.INFO: TCP Data received {"connection_id":170852,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:37:10] local.INFO: Processing buffer {"connection_id":170852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:37:10] local.INFO: Packet analysis {"connection_id":170852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:37:10] local.INFO: Extracted packet for processing {"connection_id":170852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:37:10] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855476224001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788498255000,"timestamp_ms":1788498255000,"timestamp_seconds":1788498255,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd9c98"} 
[2026-09-04 10:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 10:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855476224001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855476224001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:37:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855476224001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":170852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:37:10] local.INFO: GPS data processed {"connection_id":170852,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:37:10] local.INFO: Acknowledgment sent {"connection_id":170852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:37:15] local.INFO: TCP Data received {"connection_id":170852,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:37:15] local.INFO: Processing buffer {"connection_id":170852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:37:15] local.INFO: Packet analysis {"connection_id":170852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:37:15] local.INFO: Extracted packet for processing {"connection_id":170852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:37:15] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855476224001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:37:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788498255000,"timestamp_ms":1788498255000,"timestamp_seconds":1788498255,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd9c98"} 
[2026-09-04 10:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 10:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855476224001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855476224001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:37:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:37:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855476224001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":170852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:37:15] local.INFO: GPS data processed {"connection_id":170852,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:37:15] local.INFO: Acknowledgment sent {"connection_id":170852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:37:43] local.INFO: TCP Data received {"connection_id":170557,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:37:43] local.INFO: Processing buffer {"connection_id":170557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:37:43] local.INFO: IMEI packet received {"connection_id":170557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":170557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:37:48] local.INFO: TCP Data received {"connection_id":170557,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:37:48] local.INFO: Processing buffer {"connection_id":170557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:37:48] local.INFO: IMEI packet received {"connection_id":170557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":170557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:37:49] local.INFO: TCP Data received {"connection_id":170557,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:37:49] local.INFO: Processing buffer {"connection_id":170557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:37:49] local.INFO: Packet analysis {"connection_id":170557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:37:49] local.INFO: Extracted packet for processing {"connection_id":170557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855438848001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788498221000,"timestamp_ms":1788498221000,"timestamp_seconds":1788498221,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd17c8"} 
[2026-09-04 10:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":170557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":170557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":170557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855438848001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855438848001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:37:49] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:37:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855438848001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":170557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:37:49] local.INFO: GPS data processed {"connection_id":170557,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:37:49] local.INFO: Acknowledgment sent {"connection_id":170557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:37:54] local.INFO: TCP Data received {"connection_id":170557,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:37:54] local.INFO: Processing buffer {"connection_id":170557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:37:54] local.INFO: Packet analysis {"connection_id":170557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:37:54] local.INFO: Extracted packet for processing {"connection_id":170557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:37:54] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855438848001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788498221000,"timestamp_ms":1788498221000,"timestamp_seconds":1788498221,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd17c8"} 
[2026-09-04 10:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855438848001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855438848001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:37:54] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:37:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855438848001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":170557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761611,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:37:54] local.INFO: GPS data processed {"connection_id":170557,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:37:54] local.INFO: Acknowledgment sent {"connection_id":170557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:37:59] local.INFO: TCP Data received {"connection_id":170853,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:37:59] local.INFO: Processing buffer {"connection_id":170853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:37:59] local.INFO: IMEI packet received {"connection_id":170853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":170853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:38:04] local.INFO: TCP Data received {"connection_id":170853,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:38:04] local.INFO: Processing buffer {"connection_id":170853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:38:04] local.INFO: IMEI packet received {"connection_id":170853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":170853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:38:05] local.INFO: TCP Data received {"connection_id":170853,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:38:05] local.INFO: Processing buffer {"connection_id":170853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:38:05] local.INFO: Packet analysis {"connection_id":170853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:38:05] local.INFO: Extracted packet for processing {"connection_id":170853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:38:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855476224001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788498255000,"timestamp_ms":1788498255000,"timestamp_seconds":1788498255,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd9c98"} 
[2026-09-04 10:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 10:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855476224001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855476224001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:38:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855476224001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":170853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:38:05] local.INFO: GPS data processed {"connection_id":170853,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:38:05] local.INFO: Acknowledgment sent {"connection_id":170853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:38:36] local.INFO: TCP Data received {"connection_id":170853,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:38:36] local.INFO: Processing buffer {"connection_id":170853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:38:36] local.INFO: Packet analysis {"connection_id":170853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:38:36] local.INFO: Extracted packet for processing {"connection_id":170853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:38:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855476224001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:38:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788498255000,"timestamp_ms":1788498255000,"timestamp_seconds":1788498255,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd9c98"} 
[2026-09-04 10:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 10:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855476224001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855476224001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:38:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:38:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855476224001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":170853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:38:36] local.INFO: GPS data processed {"connection_id":170853,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:38:36] local.INFO: Acknowledgment sent {"connection_id":170853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:38:38] local.INFO: TCP Data received {"connection_id":173262,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:38:38] local.INFO: Processing buffer {"connection_id":173262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:38:38] local.INFO: IMEI packet received {"connection_id":173262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":173262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:38:43] local.INFO: TCP Data received {"connection_id":173262,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:38:43] local.INFO: Processing buffer {"connection_id":173262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:38:43] local.INFO: IMEI packet received {"connection_id":173262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":173262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:38:45] local.INFO: TCP Data received {"connection_id":173262,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:38:45] local.INFO: Processing buffer {"connection_id":173262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:38:45] local.INFO: Packet analysis {"connection_id":173262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:38:45] local.INFO: Extracted packet for processing {"connection_id":173262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855438848001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788498221000,"timestamp_ms":1788498221000,"timestamp_seconds":1788498221,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd17c8"} 
[2026-09-04 10:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855438848001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855438848001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:38:45] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:38:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855438848001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":173262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761614,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:38:46] local.INFO: GPS data processed {"connection_id":173262,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:38:46] local.INFO: Acknowledgment sent {"connection_id":173262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:38:49] local.INFO: TCP Data received {"connection_id":173262,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:38:49] local.INFO: Processing buffer {"connection_id":173262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:38:49] local.INFO: Packet analysis {"connection_id":173262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:38:49] local.INFO: Extracted packet for processing {"connection_id":173262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:38:49] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855438848001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788498221000,"timestamp_ms":1788498221000,"timestamp_seconds":1788498221,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd17c8"} 
[2026-09-04 10:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855438848001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855438848001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:38:49] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:38:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855438848001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":173262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761615,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:38:49] local.INFO: GPS data processed {"connection_id":173262,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:38:49] local.INFO: Acknowledgment sent {"connection_id":173262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:39:00] local.INFO: TCP Data received {"connection_id":170558,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:39:00] local.INFO: Processing buffer {"connection_id":170558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:39:00] local.INFO: IMEI packet received {"connection_id":170558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":170558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:39:05] local.INFO: TCP Data received {"connection_id":170558,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:39:05] local.INFO: Processing buffer {"connection_id":170558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:39:05] local.INFO: IMEI packet received {"connection_id":170558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":170558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:39:05] local.INFO: TCP Data received {"connection_id":170558,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:39:05] local.INFO: Processing buffer {"connection_id":170558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:39:05] local.INFO: Packet analysis {"connection_id":170558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:39:05] local.INFO: Extracted packet for processing {"connection_id":170558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:39:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855476224001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788498255000,"timestamp_ms":1788498255000,"timestamp_seconds":1788498255,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd9c98"} 
[2026-09-04 10:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 10:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855476224001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855476224001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:39:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:39:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855476224001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":170558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:39:05] local.INFO: GPS data processed {"connection_id":170558,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:39:05] local.INFO: Acknowledgment sent {"connection_id":170558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:39:21] local.INFO: TCP Data received {"connection_id":173262,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:39:21] local.INFO: Processing buffer {"connection_id":173262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd17c8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:39:21] local.INFO: Packet analysis {"connection_id":173262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:39:21] local.INFO: Extracted packet for processing {"connection_id":173262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855438848001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788498221000,"timestamp_ms":1788498221000,"timestamp_seconds":1788498221,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd17c8"} 
[2026-09-04 10:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855438848001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855438848001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:39:21] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:39:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855438848001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":173262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761617,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:39:21] local.INFO: GPS data processed {"connection_id":173262,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:39:21] local.INFO: Acknowledgment sent {"connection_id":173262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:39:36] local.INFO: TCP Data received {"connection_id":170558,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:39:36] local.INFO: Processing buffer {"connection_id":170558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06acd9c98012cdb8340073377a0002000082c..."} 
[2026-09-04 10:39:36] local.INFO: Packet analysis {"connection_id":170558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:39:36] local.INFO: Extracted packet for processing {"connection_id":170558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06acd"} 
[2026-09-04 10:39:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855476224001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788498255000,"timestamp_ms":1788498255000,"timestamp_seconds":1788498255,"priority":1,"record_length":96,"hex_timestamp":"000001a06acd9c98"} 
[2026-09-04 10:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 10:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855476224001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855476224001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:39:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:39:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855476224001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":170558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:39:36] local.INFO: GPS data processed {"connection_id":170558,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:39:36] local.INFO: Acknowledgment sent {"connection_id":170558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:39:38] local.INFO: TCP Data received {"connection_id":170854,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:39:38] local.INFO: Processing buffer {"connection_id":170854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:39:38] local.INFO: IMEI packet received {"connection_id":170854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":170854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:39:44] local.INFO: TCP Data received {"connection_id":170855,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:39:44] local.INFO: Processing buffer {"connection_id":170855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:39:44] local.INFO: IMEI packet received {"connection_id":170855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":170855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:39:45] local.INFO: TCP Data received {"connection_id":170854,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:39:45] local.INFO: Processing buffer {"connection_id":170854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:39:45] local.INFO: IMEI packet received {"connection_id":170854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":170854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:39:46] local.INFO: TCP Data received {"connection_id":170854,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:39:46] local.INFO: Processing buffer {"connection_id":170854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:39:46] local.INFO: Packet analysis {"connection_id":170854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:39:46] local.INFO: Extracted packet for processing {"connection_id":170854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855544576001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788498522000,"timestamp_ms":1788498522000,"timestamp_seconds":1788498522,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad1af90"} 
[2026-09-04 10:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":170854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":170854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":170854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855544576001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855544576001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:39:46] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:39:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855544576001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":170854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761619,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:39:46] local.INFO: GPS data processed {"connection_id":170854,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:39:46] local.INFO: Acknowledgment sent {"connection_id":170854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:39:48] local.INFO: TCP Data received {"connection_id":170855,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:39:48] local.INFO: Processing buffer {"connection_id":170855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:39:48] local.INFO: IMEI packet received {"connection_id":170855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":170855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:39:49] local.INFO: TCP Data received {"connection_id":170855,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad1c700012d1844c00721e5f00053002118..."} 
[2026-09-04 10:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad1c700012d1844c00721e5f00053002118..."} 
[2026-09-04 10:39:49] local.INFO: Processing buffer {"connection_id":170855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad1c700012d1844c00721e5f00053002118..."} 
[2026-09-04 10:39:49] local.INFO: Packet analysis {"connection_id":170855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:39:49] local.INFO: Extracted packet for processing {"connection_id":170855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756565184,"raw_latitude":119662064,"longitude_deg":75.6565184,"latitude_deg":11.9662064,"altitude":83,"angle":33,"satellites":24,"speed":38,"hex_longitude":"2d1844c0","hex_latitude":"0721e5f0","is_valid_coordinates":true} 
[2026-09-04 10:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855620608001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17133788479881216,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743104192656455680,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788498528000,"timestamp_ms":1788498528000,"timestamp_seconds":1788498528,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad1c700"} 
[2026-09-04 10:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 10:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":170855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":170855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":170855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855620608001,"66":13863,"120":206,"28":31744,"24":38,"16":17133788479881216,"45":1743104192656455680},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 10:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855620608001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:39:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 10:39:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17133788479881216,"km_value":17133788479881.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743104192656455680,"description":"Unknown IO ID 45"} 
[2026-09-04 10:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855620608001,"power":13863,"unknown_120":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1743104192656455680}} 
[2026-09-04 10:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":170855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:39:49] local.INFO: GPS data processed {"connection_id":170855,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:39:49] local.INFO: Acknowledgment sent {"connection_id":170855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:39:50] local.INFO: TCP Data received {"connection_id":170855,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad1ea28012d185800072202f80057002018..."} 
[2026-09-04 10:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad1ea28012d185800072202f80057002018..."} 
[2026-09-04 10:39:50] local.INFO: Processing buffer {"connection_id":170855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad1ea28012d185800072202f80057002018..."} 
[2026-09-04 10:39:50] local.INFO: Packet analysis {"connection_id":170855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:39:50] local.INFO: Extracted packet for processing {"connection_id":170855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119669496,"longitude_deg":75.6570112,"latitude_deg":11.9669496,"altitude":87,"angle":32,"satellites":24,"speed":39,"hex_longitude":"2d185800","hex_latitude":"072202f8","is_valid_coordinates":true} 
[2026-09-04 10:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855623168001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17134222271578112,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748733692192616448,"note":"Value kept but may cause issues"} 
[2026-09-04 10:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788498537000,"timestamp_ms":1788498537000,"timestamp_seconds":1788498537,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad1ea28"} 
[2026-09-04 10:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-04 10:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":170855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":170855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":170855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855623168001,"66":14428,"120":206,"28":31744,"24":39,"16":17134222271578112,"45":1748733692192616448},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 10:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855623168001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:39:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 10:39:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17134222271578112,"km_value":17134222271578.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748733692192616448,"description":"Unknown IO ID 45"} 
[2026-09-04 10:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855623168001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1748733692192616448}} 
[2026-09-04 10:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":170855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:39:50] local.INFO: GPS data processed {"connection_id":170855,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:39:50] local.INFO: Acknowledgment sent {"connection_id":170855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:40:00] local.INFO: TCP Data received {"connection_id":171963,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:40:00] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:40:00] local.INFO: IMEI packet received {"connection_id":171963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":171963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:40:05] local.INFO: TCP Data received {"connection_id":171963,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:40:05] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:40:05] local.INFO: IMEI packet received {"connection_id":171963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":171963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:40:05] local.INFO: TCP Data received {"connection_id":171963,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:40:05] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:40:05] local.INFO: Packet analysis {"connection_id":171963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:40:05] local.INFO: Extracted packet for processing {"connection_id":171963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:40:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855553280001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788498556000,"timestamp_ms":1788498556000,"timestamp_seconds":1788498556,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad23460"} 
[2026-09-04 10:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855553280001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855553280001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:40:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:40:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855553280001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":171963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:40:05] local.INFO: GPS data processed {"connection_id":171963,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:40:05] local.INFO: Acknowledgment sent {"connection_id":171963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:40:19] local.INFO: TCP Data received {"connection_id":170854,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:40:19] local.INFO: Processing buffer {"connection_id":170854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:40:19] local.INFO: Packet analysis {"connection_id":170854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:40:19] local.INFO: Extracted packet for processing {"connection_id":170854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855544576001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788498522000,"timestamp_ms":1788498522000,"timestamp_seconds":1788498522,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad1af90"} 
[2026-09-04 10:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":170854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":170854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":170854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855544576001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855544576001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:40:19] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:40:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855544576001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":170854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761623,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:40:19] local.INFO: GPS data processed {"connection_id":170854,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:40:19] local.INFO: Acknowledgment sent {"connection_id":170854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:40:22] local.INFO: TCP Data received {"connection_id":170855,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad21138012d186d80072222c8005c002118..."} 
[2026-09-04 10:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad21138012d186d80072222c8005c002118..."} 
[2026-09-04 10:40:22] local.INFO: Processing buffer {"connection_id":170855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad21138012d186d80072222c8005c002118..."} 
[2026-09-04 10:40:22] local.INFO: Packet analysis {"connection_id":170855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:40:22] local.INFO: Extracted packet for processing {"connection_id":170855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756575616,"raw_latitude":119677640,"longitude_deg":75.6575616,"latitude_deg":11.967764,"altitude":92,"angle":33,"satellites":24,"speed":38,"hex_longitude":"2d186d80","hex_latitude":"072222c8","is_valid_coordinates":true} 
[2026-09-04 10:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855625472001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17134694717980672,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085496199168,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788498547000,"timestamp_ms":1788498547000,"timestamp_seconds":1788498547,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad21138"} 
[2026-09-04 10:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 10:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":170855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":170855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":170855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855625472001,"66":13656,"120":206,"28":31744,"24":38,"16":17134694717980672,"45":1754152085496199168},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 10:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855625472001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:40:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 10:40:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17134694717980672,"km_value":17134694717980.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085496199168,"description":"Unknown IO ID 45"} 
[2026-09-04 10:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855625472001,"power":13656,"unknown_120":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1754152085496199168}} 
[2026-09-04 10:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":170855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:40:22] local.INFO: GPS data processed {"connection_id":170855,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:40:22] local.INFO: Acknowledgment sent {"connection_id":170855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:40:36] local.INFO: TCP Data received {"connection_id":171963,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:40:36] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:40:36] local.INFO: Packet analysis {"connection_id":171963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:40:36] local.INFO: Extracted packet for processing {"connection_id":171963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:40:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855553280001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788498556000,"timestamp_ms":1788498556000,"timestamp_seconds":1788498556,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad23460"} 
[2026-09-04 10:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855553280001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855553280001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:40:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:40:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855553280001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":171963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:40:36] local.INFO: GPS data processed {"connection_id":171963,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:40:36] local.INFO: Acknowledgment sent {"connection_id":171963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:40:38] local.INFO: TCP Data received {"connection_id":170559,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:40:38] local.INFO: Processing buffer {"connection_id":170559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:40:38] local.INFO: IMEI packet received {"connection_id":170559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":170559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:40:43] local.INFO: TCP Data received {"connection_id":170559,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:40:43] local.INFO: Processing buffer {"connection_id":170559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:40:43] local.INFO: IMEI packet received {"connection_id":170559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":170559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:40:45] local.INFO: TCP Data received {"connection_id":170559,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:40:45] local.INFO: Processing buffer {"connection_id":170559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:40:45] local.INFO: Packet analysis {"connection_id":170559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:40:45] local.INFO: Extracted packet for processing {"connection_id":170559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855544576001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788498522000,"timestamp_ms":1788498522000,"timestamp_seconds":1788498522,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad1af90"} 
[2026-09-04 10:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":170559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":170559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":170559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855544576001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855544576001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:40:45] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:40:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855544576001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":170559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761626,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:40:45] local.INFO: GPS data processed {"connection_id":170559,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:40:45] local.INFO: Acknowledgment sent {"connection_id":170559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:40:48] local.INFO: TCP Data received {"connection_id":171964,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:40:48] local.INFO: Processing buffer {"connection_id":171964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:40:48] local.INFO: IMEI packet received {"connection_id":171964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":171964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:40:58] local.INFO: TCP Data received {"connection_id":171964,"ip":"117.224.172.1","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-04 10:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171964,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-04 10:40:58] local.INFO: Processing buffer {"connection_id":171964,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-04 10:40:58] local.INFO: IMEI packet received {"connection_id":171964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":171964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:40:59] local.INFO: TCP Data received {"connection_id":173263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:40:59] local.INFO: Processing buffer {"connection_id":173263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:40:59] local.INFO: IMEI packet received {"connection_id":173263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":173263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:40:59] local.INFO: TCP Data received {"connection_id":171964,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad33e00012d18d140072305c00063006719..."} 
[2026-09-04 10:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad33e00012d18d140072305c00063006719..."} 
[2026-09-04 10:40:59] local.INFO: Processing buffer {"connection_id":171964,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a06a..."} 
[2026-09-04 10:40:59] local.INFO: IMEI packet received {"connection_id":171964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":171964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:41:03] local.INFO: TCP Data received {"connection_id":171964,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad345d0012d18d8c0072302680061007319..."} 
[2026-09-04 10:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad345d0012d18d8c0072302680061007319..."} 
[2026-09-04 10:41:03] local.INFO: Processing buffer {"connection_id":171964,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06ad33e00012d18d140072305c00063006719..."} 
[2026-09-04 10:41:03] local.INFO: Packet analysis {"connection_id":171964,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06ad3"} 
[2026-09-04 10:41:03] local.INFO: Extracted packet for processing {"connection_id":171964,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad3"} 
[2026-09-04 10:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119735744,"longitude_deg":75.6601152,"latitude_deg":11.9735744,"altitude":99,"angle":103,"satellites":25,"speed":38,"hex_longitude":"2d18d140","hex_latitude":"072305c0","is_valid_coordinates":true} 
[2026-09-04 10:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855647488001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17138001842798592,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787225395276736512,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788498624000,"timestamp_ms":1788498624000,"timestamp_seconds":1788498624,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad33e00"} 
[2026-09-04 10:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 10:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855647488001,"66":13972,"112":206,"28":31744,"24":38,"16":17138001842798592,"45":1787225395276736512},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 10:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855647488001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:41:03] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 10:41:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17138001842798592,"km_value":17138001842798.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787225395276736512,"description":"Unknown IO ID 45"} 
[2026-09-04 10:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855647488001,"power":13972,"unknown_112":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1787225395276736512}} 
[2026-09-04 10:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":171964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:41:03] local.INFO: GPS data processed {"connection_id":171964,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:41:03] local.INFO: Acknowledgment sent {"connection_id":171964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:41:03] local.INFO: Packet analysis {"connection_id":171964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad3"} 
[2026-09-04 10:41:03] local.INFO: Extracted packet for processing {"connection_id":171964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad3"} 
[2026-09-04 10:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756603072,"raw_latitude":119734888,"longitude_deg":75.6603072,"latitude_deg":11.9734888,"altitude":97,"angle":115,"satellites":25,"speed":40,"hex_longitude":"2d18d8c0","hex_latitude":"07230268","is_valid_coordinates":true} 
[2026-09-04 10:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855647744001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17138100627046400,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926439325696,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788498626000,"timestamp_ms":1788498626000,"timestamp_seconds":1788498626,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad345d0"} 
[2026-09-04 10:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-04 10:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855647744001,"66":13656,"112":206,"28":31744,"24":40,"16":17138100627046400,"45":1788280926439325696},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 10:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855647744001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:41:03] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 10:41:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17138100627046400,"km_value":17138100627046.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926439325696,"description":"Unknown IO ID 45"} 
[2026-09-04 10:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855647744001,"power":13656,"unknown_112":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1788280926439325696}} 
[2026-09-04 10:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":171964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:41:03] local.INFO: GPS data processed {"connection_id":171964,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:41:03] local.INFO: Acknowledgment sent {"connection_id":171964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:41:04] local.INFO: TCP Data received {"connection_id":171964,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad35d40012d18efc00722f940005f006218..."} 
[2026-09-04 10:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad35d40012d18efc00722f940005f006218..."} 
[2026-09-04 10:41:04] local.INFO: Processing buffer {"connection_id":171964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad35d40012d18efc00722f940005f006218..."} 
[2026-09-04 10:41:04] local.INFO: Packet analysis {"connection_id":171964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad3"} 
[2026-09-04 10:41:04] local.INFO: Extracted packet for processing {"connection_id":171964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad3"} 
[2026-09-04 10:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756608960,"raw_latitude":119732544,"longitude_deg":75.660896,"latitude_deg":11.9732544,"altitude":95,"angle":98,"satellites":24,"speed":41,"hex_longitude":"2d18efc0","hex_latitude":"0722f940","is_valid_coordinates":true} 
[2026-09-04 10:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855648256001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17138401274757120,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790391988764436480,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788498632000,"timestamp_ms":1788498632000,"timestamp_seconds":1788498632,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad35d40"} 
[2026-09-04 10:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-04 10:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855648256001,"66":13515,"112":206,"28":31744,"24":41,"16":17138401274757120,"45":1790391988764436480},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 10:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855648256001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:41:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 10:41:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17138401274757120,"km_value":17138401274757.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790391988764436480,"description":"Unknown IO ID 45"} 
[2026-09-04 10:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855648256001,"power":13515,"unknown_112":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1790391988764436480}} 
[2026-09-04 10:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":171964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:41:04] local.INFO: GPS data processed {"connection_id":171964,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:41:04] local.INFO: Acknowledgment sent {"connection_id":171964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:41:05] local.INFO: TCP Data received {"connection_id":173263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:41:05] local.INFO: Processing buffer {"connection_id":173263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:41:05] local.INFO: IMEI packet received {"connection_id":173263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":173263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:41:05] local.INFO: TCP Data received {"connection_id":173263,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:41:05] local.INFO: Processing buffer {"connection_id":173263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:41:05] local.INFO: Packet analysis {"connection_id":173263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:41:05] local.INFO: Extracted packet for processing {"connection_id":173263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:41:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855553280001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788498556000,"timestamp_ms":1788498556000,"timestamp_seconds":1788498556,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad23460"} 
[2026-09-04 10:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855553280001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855553280001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:41:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855553280001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":173263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:41:05] local.INFO: GPS data processed {"connection_id":173263,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:41:05] local.INFO: Acknowledgment sent {"connection_id":173263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:41:16] local.INFO: TCP Data received {"connection_id":170559,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:41:16] local.INFO: Processing buffer {"connection_id":170559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:41:16] local.INFO: Packet analysis {"connection_id":170559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:41:16] local.INFO: Extracted packet for processing {"connection_id":170559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855544576001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788498522000,"timestamp_ms":1788498522000,"timestamp_seconds":1788498522,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad1af90"} 
[2026-09-04 10:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855544576001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855544576001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:41:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:41:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855544576001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":170559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:41:17] local.INFO: GPS data processed {"connection_id":170559,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:41:17] local.INFO: Acknowledgment sent {"connection_id":170559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:41:36] local.INFO: TCP Data received {"connection_id":173263,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:41:36] local.INFO: Processing buffer {"connection_id":173263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:41:36] local.INFO: Packet analysis {"connection_id":173263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:41:36] local.INFO: Extracted packet for processing {"connection_id":173263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:41:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855553280001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788498556000,"timestamp_ms":1788498556000,"timestamp_seconds":1788498556,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad23460"} 
[2026-09-04 10:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855553280001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855553280001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:41:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:41:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:41:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855553280001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":173263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:41:36] local.INFO: GPS data processed {"connection_id":173263,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:41:36] local.INFO: Acknowledgment sent {"connection_id":173263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:41:43] local.INFO: TCP Data received {"connection_id":170856,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:41:43] local.INFO: Processing buffer {"connection_id":170856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:41:43] local.INFO: IMEI packet received {"connection_id":170856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":170856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:41:49] local.INFO: TCP Data received {"connection_id":170856,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:41:49] local.INFO: Processing buffer {"connection_id":170856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:41:49] local.INFO: IMEI packet received {"connection_id":170856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":170856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:41:51] local.INFO: TCP Data received {"connection_id":170856,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:41:51] local.INFO: Processing buffer {"connection_id":170856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:41:51] local.INFO: Packet analysis {"connection_id":170856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:41:51] local.INFO: Extracted packet for processing {"connection_id":170856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:41:51] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855544576001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788498522000,"timestamp_ms":1788498522000,"timestamp_seconds":1788498522,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad1af90"} 
[2026-09-04 10:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":170856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":170856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":170856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855544576001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855544576001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:41:51] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:41:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855544576001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":170856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761633,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:41:51] local.INFO: GPS data processed {"connection_id":170856,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:41:51] local.INFO: Acknowledgment sent {"connection_id":170856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:41:53] local.INFO: TCP Data received {"connection_id":170856,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:41:53] local.INFO: Processing buffer {"connection_id":170856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:41:53] local.INFO: Packet analysis {"connection_id":170856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:41:53] local.INFO: Extracted packet for processing {"connection_id":170856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855544576001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788498522000,"timestamp_ms":1788498522000,"timestamp_seconds":1788498522,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad1af90"} 
[2026-09-04 10:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855544576001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855544576001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:41:53] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:41:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855544576001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":170856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:41:53] local.INFO: GPS data processed {"connection_id":170856,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:41:53] local.INFO: Acknowledgment sent {"connection_id":170856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:41:57] local.INFO: TCP Data received {"connection_id":173264,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:41:57] local.INFO: Processing buffer {"connection_id":173264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:41:57] local.INFO: IMEI packet received {"connection_id":173264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":173264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:42:00] local.INFO: TCP Data received {"connection_id":173264,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:42:00] local.INFO: Processing buffer {"connection_id":173264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:42:00] local.INFO: IMEI packet received {"connection_id":173264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":173264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:42:03] local.INFO: TCP Data received {"connection_id":173264,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:42:03] local.INFO: Processing buffer {"connection_id":173264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:42:03] local.INFO: IMEI packet received {"connection_id":173264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":173264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:42:04] local.INFO: TCP Data received {"connection_id":173264,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad40920012d198100072397f0003c004617..."} 
[2026-09-04 10:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad40920012d198100072397f0003c004617..."} 
[2026-09-04 10:42:04] local.INFO: Processing buffer {"connection_id":173264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad40920012d198100072397f0003c004617..."} 
[2026-09-04 10:42:04] local.INFO: Packet analysis {"connection_id":173264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad4"} 
[2026-09-04 10:42:04] local.INFO: Extracted packet for processing {"connection_id":173264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad4"} 
[2026-09-04 10:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756646144,"raw_latitude":119773168,"longitude_deg":75.6646144,"latitude_deg":11.9773168,"altitude":60,"angle":70,"satellites":23,"speed":56,"hex_longitude":"2d198100","hex_latitude":"072397f0","is_valid_coordinates":true} 
[2026-09-04 10:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855660544001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17141111399120896,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834865035094210560,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788498676000,"timestamp_ms":1788498676000,"timestamp_seconds":1788498676,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad40920"} 
[2026-09-04 10:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 10:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855660544001,"66":13993,"81":206,"28":31744,"24":56,"16":17141111399120896,"45":1834865035094210560},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-09-04 10:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855660544001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-04 10:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17141111399120896,"km_value":17141111399120.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834865035094210560,"description":"Unknown IO ID 45"} 
[2026-09-04 10:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855660544001,"power":13993,"unknown_81":206,"unknown_28":31744,"ignition":56,"odometer":null,"unknown_45":1834865035094210560}} 
[2026-09-04 10:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":173264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:42:04] local.INFO: GPS data processed {"connection_id":173264,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:42:04] local.INFO: Acknowledgment sent {"connection_id":173264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:42:05] local.INFO: TCP Data received {"connection_id":171965,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:42:05] local.INFO: Processing buffer {"connection_id":171965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:42:05] local.INFO: IMEI packet received {"connection_id":171965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":171965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:42:05] local.INFO: TCP Data received {"connection_id":173264,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad414d8012d19914007239ba00039005217..."} 
[2026-09-04 10:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad414d8012d19914007239ba00039005217..."} 
[2026-09-04 10:42:05] local.INFO: Processing buffer {"connection_id":173264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad414d8012d19914007239ba00039005217..."} 
[2026-09-04 10:42:05] local.INFO: Packet analysis {"connection_id":173264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad4"} 
[2026-09-04 10:42:05] local.INFO: Extracted packet for processing {"connection_id":173264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad4"} 
[2026-09-04 10:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756650304,"raw_latitude":119774112,"longitude_deg":75.6650304,"latitude_deg":11.9774112,"altitude":57,"angle":82,"satellites":23,"speed":56,"hex_longitude":"2d199140","hex_latitude":"07239ba0","is_valid_coordinates":true} 
[2026-09-04 10:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855661056001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17141317557551104,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837750153605804032,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788498679000,"timestamp_ms":1788498679000,"timestamp_seconds":1788498679,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad414d8"} 
[2026-09-04 10:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 10:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855661056001,"66":13243,"81":206,"28":31744,"24":56,"16":17141317557551104,"45":1837750153605804032},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-09-04 10:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855661056001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-04 10:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17141317557551104,"km_value":17141317557551.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837750153605804032,"description":"Unknown IO ID 45"} 
[2026-09-04 10:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855661056001,"power":13243,"unknown_81":206,"unknown_28":31744,"ignition":56,"odometer":null,"unknown_45":1837750153605804032}} 
[2026-09-04 10:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":173264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:42:05] local.INFO: GPS data processed {"connection_id":173264,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:42:05] local.INFO: Acknowledgment sent {"connection_id":173264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:42:10] local.INFO: TCP Data received {"connection_id":171965,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:42:10] local.INFO: Processing buffer {"connection_id":171965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:42:10] local.INFO: IMEI packet received {"connection_id":171965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":171965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:42:10] local.INFO: TCP Data received {"connection_id":173264,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad43030012d19b7400723a0b80035005118..."} 
[2026-09-04 10:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad43030012d19b7400723a0b80035005118..."} 
[2026-09-04 10:42:10] local.INFO: Processing buffer {"connection_id":173264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad43030012d19b7400723a0b80035005118..."} 
[2026-09-04 10:42:10] local.INFO: Packet analysis {"connection_id":173264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad4"} 
[2026-09-04 10:42:10] local.INFO: Extracted packet for processing {"connection_id":173264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad4"} 
[2026-09-04 10:42:10] local.INFO: GPS Element Parsed {"raw_longitude":756660032,"raw_latitude":119775416,"longitude_deg":75.6660032,"latitude_deg":11.9775416,"altitude":53,"angle":81,"satellites":24,"speed":54,"hex_longitude":"2d19b740","hex_latitude":"0723a0b8","is_valid_coordinates":true} 
[2026-09-04 10:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855661824001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17141781414019072,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842324121977593856,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788498686000,"timestamp_ms":1788498686000,"timestamp_seconds":1788498686,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad43030"} 
[2026-09-04 10:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-04 10:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855661824001,"66":14450,"81":206,"28":31744,"24":54,"16":17141781414019072,"45":1842324121977593856},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-09-04 10:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855661824001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-04 10:42:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17141781414019072,"km_value":17141781414019.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842324121977593856,"description":"Unknown IO ID 45"} 
[2026-09-04 10:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855661824001,"power":14450,"unknown_81":206,"unknown_28":31744,"ignition":54,"odometer":null,"unknown_45":1842324121977593856}} 
[2026-09-04 10:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":173264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:42:10] local.INFO: GPS data processed {"connection_id":173264,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:42:10] local.INFO: Acknowledgment sent {"connection_id":173264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:42:10] local.INFO: TCP Data received {"connection_id":171965,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:42:10] local.INFO: Processing buffer {"connection_id":171965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:42:10] local.INFO: Packet analysis {"connection_id":171965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:42:10] local.INFO: Extracted packet for processing {"connection_id":171965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:42:10] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855553280001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788498556000,"timestamp_ms":1788498556000,"timestamp_seconds":1788498556,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad23460"} 
[2026-09-04 10:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855553280001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855553280001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:42:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:42:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855553280001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":171965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:42:10] local.INFO: GPS data processed {"connection_id":171965,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:42:10] local.INFO: Acknowledgment sent {"connection_id":171965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:42:15] local.INFO: TCP Data received {"connection_id":171965,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:42:15] local.INFO: Processing buffer {"connection_id":171965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:42:15] local.INFO: Packet analysis {"connection_id":171965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:42:15] local.INFO: Extracted packet for processing {"connection_id":171965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:42:15] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855553280001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788498556000,"timestamp_ms":1788498556000,"timestamp_seconds":1788498556,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad23460"} 
[2026-09-04 10:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855553280001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855553280001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:42:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855553280001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":171965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:42:15] local.INFO: GPS data processed {"connection_id":171965,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:42:15] local.INFO: Acknowledgment sent {"connection_id":171965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:42:38] local.INFO: TCP Data received {"connection_id":170857,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:42:38] local.INFO: Processing buffer {"connection_id":170857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:42:38] local.INFO: IMEI packet received {"connection_id":170857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":170857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:42:43] local.INFO: TCP Data received {"connection_id":170857,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:42:43] local.INFO: Processing buffer {"connection_id":170857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:42:43] local.INFO: IMEI packet received {"connection_id":170857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":170857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:42:44] local.INFO: TCP Data received {"connection_id":170857,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:42:44] local.INFO: Processing buffer {"connection_id":170857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:42:44] local.INFO: Packet analysis {"connection_id":170857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:42:44] local.INFO: Extracted packet for processing {"connection_id":170857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855544576001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788498522000,"timestamp_ms":1788498522000,"timestamp_seconds":1788498522,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad1af90"} 
[2026-09-04 10:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855544576001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855544576001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:42:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:42:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855544576001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":170857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761640,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:42:44] local.INFO: GPS data processed {"connection_id":170857,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:42:44] local.INFO: Acknowledgment sent {"connection_id":170857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:42:49] local.INFO: TCP Data received {"connection_id":170560,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:42:49] local.INFO: Processing buffer {"connection_id":170560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:42:49] local.INFO: IMEI packet received {"connection_id":170560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":170560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:42:53] local.INFO: TCP Data received {"connection_id":170560,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:42:53] local.INFO: Processing buffer {"connection_id":170560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:42:53] local.INFO: IMEI packet received {"connection_id":170560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":170560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:42:56] local.INFO: TCP Data received {"connection_id":170560,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad52e18012d1ab60007242d20002b004018..."} 
[2026-09-04 10:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad52e18012d1ab60007242d20002b004018..."} 
[2026-09-04 10:42:56] local.INFO: Processing buffer {"connection_id":170560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad52e18012d1ab60007242d20002b004018..."} 
[2026-09-04 10:42:56] local.INFO: Packet analysis {"connection_id":170560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad5"} 
[2026-09-04 10:42:56] local.INFO: Extracted packet for processing {"connection_id":170560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad5"} 
[2026-09-04 10:42:56] local.INFO: GPS Element Parsed {"raw_longitude":756725248,"raw_latitude":119811360,"longitude_deg":75.6725248,"latitude_deg":11.981136,"altitude":43,"angle":64,"satellites":24,"speed":50,"hex_longitude":"2d1ab600","hex_latitude":"07242d20","is_valid_coordinates":true} 
[2026-09-04 10:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855678208001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17145518035566592,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914803928489074688,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788498751000,"timestamp_ms":1788498751000,"timestamp_seconds":1788498751,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad52e18"} 
[2026-09-04 10:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 10:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855678208001,"66":14298,"112":206,"28":31744,"24":50,"16":17145518035566592,"45":1914803928489074688},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 10:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855678208001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:42:56] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 10:42:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17145518035566592,"km_value":17145518035566.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914803928489074688,"description":"Unknown IO ID 45"} 
[2026-09-04 10:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855678208001,"power":14298,"unknown_112":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":1914803928489074688}} 
[2026-09-04 10:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":170560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:42:56] local.INFO: GPS data processed {"connection_id":170560,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:42:56] local.INFO: Acknowledgment sent {"connection_id":170560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:42:57] local.INFO: TCP Data received {"connection_id":170560,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad54d58012d1ad54007243d78002d003418..."} 
[2026-09-04 10:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad54d58012d1ad54007243d78002d003418..."} 
[2026-09-04 10:42:57] local.INFO: Processing buffer {"connection_id":170560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad54d58012d1ad54007243d78002d003418..."} 
[2026-09-04 10:42:57] local.INFO: Packet analysis {"connection_id":170560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad5"} 
[2026-09-04 10:42:57] local.INFO: Extracted packet for processing {"connection_id":170560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad5"} 
[2026-09-04 10:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756733248,"raw_latitude":119815544,"longitude_deg":75.6733248,"latitude_deg":11.9815544,"altitude":45,"angle":52,"satellites":24,"speed":39,"hex_longitude":"2d1ad540","hex_latitude":"07243d78","is_valid_coordinates":true} 
[2026-09-04 10:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855680256001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17145947532296192,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924725921419173888,"note":"Value kept but may cause issues"} 
[2026-09-04 10:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788498759000,"timestamp_ms":1788498759000,"timestamp_seconds":1788498759,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad54d58"} 
[2026-09-04 10:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 10:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":170560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":170560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":170560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855680256001,"66":13678,"112":206,"28":31744,"24":39,"16":17145947532296192,"45":1924725921419173888},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 10:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855680256001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:42:57] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 10:42:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17145947532296192,"km_value":17145947532296.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924725921419173888,"description":"Unknown IO ID 45"} 
[2026-09-04 10:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855680256001,"power":13678,"unknown_112":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1924725921419173888}} 
[2026-09-04 10:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":170560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:42:57] local.INFO: GPS data processed {"connection_id":170560,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:42:57] local.INFO: Acknowledgment sent {"connection_id":170560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:43:00] local.INFO: TCP Data received {"connection_id":171966,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:43:00] local.INFO: Processing buffer {"connection_id":171966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:43:00] local.INFO: IMEI packet received {"connection_id":171966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":171966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:43:05] local.INFO: TCP Data received {"connection_id":171966,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:43:05] local.INFO: Processing buffer {"connection_id":171966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:43:05] local.INFO: IMEI packet received {"connection_id":171966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":171966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:43:05] local.INFO: TCP Data received {"connection_id":171966,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:43:05] local.INFO: Processing buffer {"connection_id":171966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:43:05] local.INFO: Packet analysis {"connection_id":171966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:43:05] local.INFO: Extracted packet for processing {"connection_id":171966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:43:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855553280001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788498556000,"timestamp_ms":1788498556000,"timestamp_seconds":1788498556,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad23460"} 
[2026-09-04 10:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855553280001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855553280001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:43:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:43:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855553280001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":171966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:43:05] local.INFO: GPS data processed {"connection_id":171966,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:43:05] local.INFO: Acknowledgment sent {"connection_id":171966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:43:16] local.INFO: TCP Data received {"connection_id":170857,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:43:16] local.INFO: Processing buffer {"connection_id":170857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:43:16] local.INFO: Packet analysis {"connection_id":170857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:43:16] local.INFO: Extracted packet for processing {"connection_id":170857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855544576001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788498522000,"timestamp_ms":1788498522000,"timestamp_seconds":1788498522,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad1af90"} 
[2026-09-04 10:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855544576001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855544576001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:43:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:43:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855544576001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":170857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761644,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:43:16] local.INFO: GPS data processed {"connection_id":170857,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:43:16] local.INFO: Acknowledgment sent {"connection_id":170857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:43:28] local.INFO: TCP Data received {"connection_id":170560,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad54d58012d1ad54007243d78002d003418..."} 
[2026-09-04 10:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad54d58012d1ad54007243d78002d003418..."} 
[2026-09-04 10:43:28] local.INFO: Processing buffer {"connection_id":170560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad54d58012d1ad54007243d78002d003418..."} 
[2026-09-04 10:43:28] local.INFO: Packet analysis {"connection_id":170560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad5"} 
[2026-09-04 10:43:28] local.INFO: Extracted packet for processing {"connection_id":170560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad5"} 
[2026-09-04 10:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756733248,"raw_latitude":119815544,"longitude_deg":75.6733248,"latitude_deg":11.9815544,"altitude":45,"angle":52,"satellites":24,"speed":39,"hex_longitude":"2d1ad540","hex_latitude":"07243d78","is_valid_coordinates":true} 
[2026-09-04 10:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855682304001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17145947532296192,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933522014442452992,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788498759000,"timestamp_ms":1788498759000,"timestamp_seconds":1788498759,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad54d58"} 
[2026-09-04 10:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 10:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855682304001,"66":13678,"112":206,"28":31744,"24":39,"16":17145947532296192,"45":1933522014442452992},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 10:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855682304001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:43:28] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 10:43:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17145947532296192,"km_value":17145947532296.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933522014442452992,"description":"Unknown IO ID 45"} 
[2026-09-04 10:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855682304001,"power":13678,"unknown_112":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1933522014442452992}} 
[2026-09-04 10:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":170560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:43:29] local.INFO: GPS data processed {"connection_id":170560,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:43:29] local.INFO: Acknowledgment sent {"connection_id":170560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:43:36] local.INFO: TCP Data received {"connection_id":171966,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:43:36] local.INFO: Processing buffer {"connection_id":171966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:43:36] local.INFO: Packet analysis {"connection_id":171966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:43:36] local.INFO: Extracted packet for processing {"connection_id":171966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:43:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855553280001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788498556000,"timestamp_ms":1788498556000,"timestamp_seconds":1788498556,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad23460"} 
[2026-09-04 10:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855553280001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855553280001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:43:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:43:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855553280001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":171966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:43:36] local.INFO: GPS data processed {"connection_id":171966,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:43:36] local.INFO: Acknowledgment sent {"connection_id":171966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:43:37] local.INFO: TCP Data received {"connection_id":170561,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:43:38] local.INFO: Processing buffer {"connection_id":170561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:43:38] local.INFO: IMEI packet received {"connection_id":170561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":170561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:43:43] local.INFO: TCP Data received {"connection_id":170561,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:43:43] local.INFO: Processing buffer {"connection_id":170561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:43:43] local.INFO: IMEI packet received {"connection_id":170561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":170561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:43:44] local.INFO: TCP Data received {"connection_id":170561,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:43:44] local.INFO: Processing buffer {"connection_id":170561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:43:44] local.INFO: Packet analysis {"connection_id":170561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:43:44] local.INFO: Extracted packet for processing {"connection_id":170561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855544576001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788498522000,"timestamp_ms":1788498522000,"timestamp_seconds":1788498522,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad1af90"} 
[2026-09-04 10:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855544576001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855544576001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:43:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:43:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855544576001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":170561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:43:44] local.INFO: GPS data processed {"connection_id":170561,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:43:44] local.INFO: Acknowledgment sent {"connection_id":170561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:43:48] local.INFO: TCP Data received {"connection_id":171967,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:43:48] local.INFO: Processing buffer {"connection_id":171967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:43:48] local.INFO: IMEI packet received {"connection_id":171967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":171967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:43:54] local.INFO: TCP Data received {"connection_id":171967,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:43:54] local.INFO: Processing buffer {"connection_id":171967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:43:54] local.INFO: IMEI packet received {"connection_id":171967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":171967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:43:55] local.INFO: TCP Data received {"connection_id":171967,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad55910012d1add8007244580002e002819..."} 
[2026-09-04 10:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad55910012d1add8007244580002e002819..."} 
[2026-09-04 10:43:55] local.INFO: Processing buffer {"connection_id":171967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad55910012d1add8007244580002e002819..."} 
[2026-09-04 10:43:55] local.INFO: Packet analysis {"connection_id":171967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad5"} 
[2026-09-04 10:43:55] local.INFO: Extracted packet for processing {"connection_id":171967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad5"} 
[2026-09-04 10:43:55] local.INFO: GPS Element Parsed {"raw_longitude":756735360,"raw_latitude":119817600,"longitude_deg":75.673536,"latitude_deg":11.98176,"altitude":46,"angle":40,"satellites":25,"speed":38,"hex_longitude":"2d1add80","hex_latitude":"07244580","is_valid_coordinates":true} 
[2026-09-04 10:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855682304001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17146089266216960,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933522014442452992,"note":"Value kept but may cause issues"} 
[2026-09-04 10:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788498762000,"timestamp_ms":1788498762000,"timestamp_seconds":1788498762,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad55910"} 
[2026-09-04 10:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 10:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855682304001,"66":14396,"112":206,"28":31744,"24":38,"16":17146089266216960,"45":1933522014442452992},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 10:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855682304001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:43:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 10:43:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17146089266216960,"km_value":17146089266216.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933522014442452992,"description":"Unknown IO ID 45"} 
[2026-09-04 10:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855682304001,"power":14396,"unknown_112":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1933522014442452992}} 
[2026-09-04 10:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":171967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:43:55] local.INFO: GPS data processed {"connection_id":171967,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:43:55] local.INFO: Acknowledgment sent {"connection_id":171967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:44:00] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:44:00] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:44:00] local.INFO: IMEI packet received {"connection_id":173265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":173265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:44:05] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:44:05] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:44:05] local.INFO: IMEI packet received {"connection_id":173265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":173265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:44:05] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:44:05] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:44:05] local.INFO: Packet analysis {"connection_id":173265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:44:05] local.INFO: Extracted packet for processing {"connection_id":173265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:44:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855553280001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788498556000,"timestamp_ms":1788498556000,"timestamp_seconds":1788498556,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad23460"} 
[2026-09-04 10:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855553280001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855553280001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:44:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:44:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855553280001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":173265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:44:05] local.INFO: GPS data processed {"connection_id":173265,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:44:05] local.INFO: Acknowledgment sent {"connection_id":173265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:44:16] local.INFO: TCP Data received {"connection_id":170561,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:44:16] local.INFO: Processing buffer {"connection_id":170561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad1af90012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:44:16] local.INFO: Packet analysis {"connection_id":170561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:44:16] local.INFO: Extracted packet for processing {"connection_id":170561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad1"} 
[2026-09-04 10:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855544576001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788498522000,"timestamp_ms":1788498522000,"timestamp_seconds":1788498522,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad1af90"} 
[2026-09-04 10:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855544576001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855544576001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:44:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:44:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855544576001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":170561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:44:16] local.INFO: GPS data processed {"connection_id":170561,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:44:16] local.INFO: Acknowledgment sent {"connection_id":170561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:44:27] local.INFO: TCP Data received {"connection_id":171967,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad6b0d0012d1b62c0072552d00028016719..."} 
[2026-09-04 10:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad6b0d0012d1b62c0072552d00028016719..."} 
[2026-09-04 10:44:27] local.INFO: Processing buffer {"connection_id":171967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad6b0d0012d1b62c0072552d00028016719..."} 
[2026-09-04 10:44:27] local.INFO: Packet analysis {"connection_id":171967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:44:27] local.INFO: Extracted packet for processing {"connection_id":171967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:44:27] local.INFO: GPS Element Parsed {"raw_longitude":756769472,"raw_latitude":119886544,"longitude_deg":75.6769472,"latitude_deg":11.9886544,"altitude":40,"angle":359,"satellites":25,"speed":7,"hex_longitude":"2d1b62c0","hex_latitude":"072552d0","is_valid_coordinates":true} 
[2026-09-04 10:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855700736001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17150053521031168,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972084086267715584,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788498850000,"timestamp_ms":1788498850000,"timestamp_seconds":1788498850,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad6b0d0"} 
[2026-09-04 10:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 10:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855700736001,"66":14374,"91":206,"28":31744,"24":7,"16":17150053521031168,"45":1972084086267715584},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-04 10:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855700736001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:44:27] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 10:44:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17150053521031168,"km_value":17150053521031.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972084086267715584,"description":"Unknown IO ID 45"} 
[2026-09-04 10:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855700736001,"power":14374,"unknown_91":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1972084086267715584}} 
[2026-09-04 10:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":171967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:44:27] local.INFO: GPS data processed {"connection_id":171967,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:44:27] local.INFO: Acknowledgment sent {"connection_id":171967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:44:36] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:44:36] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad23460012cdb8340073377a0002000082b..."} 
[2026-09-04 10:44:36] local.INFO: Packet analysis {"connection_id":173265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:44:36] local.INFO: Extracted packet for processing {"connection_id":173265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad2"} 
[2026-09-04 10:44:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855553280001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788498556000,"timestamp_ms":1788498556000,"timestamp_seconds":1788498556,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad23460"} 
[2026-09-04 10:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855553280001,"66":26006,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855553280001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:44:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:44:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855553280001,"power":26006,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":173265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:44:36] local.INFO: GPS data processed {"connection_id":173265,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:44:36] local.INFO: Acknowledgment sent {"connection_id":173265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:44:37] local.INFO: TCP Data received {"connection_id":173266,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:44:38] local.INFO: Processing buffer {"connection_id":173266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:44:38] local.INFO: IMEI packet received {"connection_id":173266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":173266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:44:43] local.INFO: TCP Data received {"connection_id":173266,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:44:43] local.INFO: Processing buffer {"connection_id":173266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:44:43] local.INFO: IMEI packet received {"connection_id":173266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":173266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:44:44] local.INFO: TCP Data received {"connection_id":173266,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:44:44] local.INFO: Processing buffer {"connection_id":173266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:44:44] local.INFO: Packet analysis {"connection_id":173266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:44:44] local.INFO: Extracted packet for processing {"connection_id":173266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855621632001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788498823000,"timestamp_ms":1788498823000,"timestamp_seconds":1788498823,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad64758"} 
[2026-09-04 10:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855621632001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855621632001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:44:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:44:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855621632001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":173266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:44:44] local.INFO: GPS data processed {"connection_id":173266,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:44:44] local.INFO: Acknowledgment sent {"connection_id":173266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:44:48] local.INFO: TCP Data received {"connection_id":170858,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:44:48] local.INFO: Processing buffer {"connection_id":170858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:44:48] local.INFO: IMEI packet received {"connection_id":170858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":170858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:44:48] local.INFO: TCP Data received {"connection_id":170858,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:44:48] local.INFO: Processing buffer {"connection_id":170858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:44:48] local.INFO: IMEI packet received {"connection_id":170858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":170858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:44:53] local.INFO: TCP Data received {"connection_id":170858,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:44:53] local.INFO: Processing buffer {"connection_id":170858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:44:53] local.INFO: IMEI packet received {"connection_id":170858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":170858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:44:55] local.INFO: TCP Data received {"connection_id":170858,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad6b0d0012d1b62c0072552d00028016719..."} 
[2026-09-04 10:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad6b0d0012d1b62c0072552d00028016719..."} 
[2026-09-04 10:44:55] local.INFO: Processing buffer {"connection_id":170858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad6b0d0012d1b62c0072552d00028016719..."} 
[2026-09-04 10:44:55] local.INFO: Packet analysis {"connection_id":170858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:44:55] local.INFO: Extracted packet for processing {"connection_id":170858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756769472,"raw_latitude":119886544,"longitude_deg":75.6769472,"latitude_deg":11.9886544,"altitude":40,"angle":359,"satellites":25,"speed":7,"hex_longitude":"2d1b62c0","hex_latitude":"072552d0","is_valid_coordinates":true} 
[2026-09-04 10:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855705600001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17150053521031168,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973350723665186816,"note":"Value kept but may cause issues"} 
[2026-09-04 10:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788498850000,"timestamp_ms":1788498850000,"timestamp_seconds":1788498850,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad6b0d0"} 
[2026-09-04 10:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-04 10:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855705600001,"66":14374,"91":206,"28":31744,"24":7,"16":17150053521031168,"45":1973350723665186816},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-04 10:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855705600001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:44:55] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 10:44:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17150053521031168,"km_value":17150053521031.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973350723665186816,"description":"Unknown IO ID 45"} 
[2026-09-04 10:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855705600001,"power":14374,"unknown_91":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1973350723665186816}} 
[2026-09-04 10:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":170858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:44:55] local.INFO: GPS data processed {"connection_id":170858,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:44:55] local.INFO: Acknowledgment sent {"connection_id":170858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:45:00] local.INFO: TCP Data received {"connection_id":170562,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:45:00] local.INFO: Processing buffer {"connection_id":170562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:45:00] local.INFO: IMEI packet received {"connection_id":170562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":170562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:45:05] local.INFO: TCP Data received {"connection_id":170562,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:45:05] local.INFO: Processing buffer {"connection_id":170562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:45:05] local.INFO: IMEI packet received {"connection_id":170562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":170562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:45:05] local.INFO: TCP Data received {"connection_id":170562,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:45:05] local.INFO: Processing buffer {"connection_id":170562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:45:05] local.INFO: Packet analysis {"connection_id":170562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:45:05] local.INFO: Extracted packet for processing {"connection_id":170562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:45:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855630336001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788498857000,"timestamp_ms":1788498857000,"timestamp_seconds":1788498857,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad6cc28"} 
[2026-09-04 10:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855630336001,"66":25973,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855630336001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:45:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:45:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855630336001,"power":25973,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":170562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:45:05] local.INFO: GPS data processed {"connection_id":170562,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:45:05] local.INFO: Acknowledgment sent {"connection_id":170562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:45:16] local.INFO: TCP Data received {"connection_id":173266,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:45:16] local.INFO: Processing buffer {"connection_id":173266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:45:16] local.INFO: Packet analysis {"connection_id":173266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:45:16] local.INFO: Extracted packet for processing {"connection_id":173266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855621632001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788498823000,"timestamp_ms":1788498823000,"timestamp_seconds":1788498823,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad64758"} 
[2026-09-04 10:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855621632001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855621632001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:45:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:45:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855621632001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":173266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:45:16] local.INFO: GPS data processed {"connection_id":173266,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:45:16] local.INFO: Acknowledgment sent {"connection_id":173266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:45:26] local.INFO: TCP Data received {"connection_id":170858,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad6c458012d1b6380072557480029000a19..."} 
[2026-09-04 10:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad6c458012d1b6380072557480029000a19..."} 
[2026-09-04 10:45:26] local.INFO: Processing buffer {"connection_id":170858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad6c458012d1b6380072557480029000a19..."} 
[2026-09-04 10:45:26] local.INFO: Packet analysis {"connection_id":170858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:45:26] local.INFO: Extracted packet for processing {"connection_id":170858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:45:26] local.INFO: GPS Element Parsed {"raw_longitude":756769664,"raw_latitude":119887688,"longitude_deg":75.6769664,"latitude_deg":11.9887688,"altitude":41,"angle":10,"satellites":25,"speed":7,"hex_longitude":"2d1b6380","hex_latitude":"07255748","is_valid_coordinates":true} 
[2026-09-04 10:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855705600001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17150109355606016,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973350723665186816,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788498855000,"timestamp_ms":1788498855000,"timestamp_seconds":1788498855,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad6c458"} 
[2026-09-04 10:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-04 10:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855705600001,"66":14559,"91":206,"28":31744,"24":7,"16":17150109355606016,"45":1973350723665186816},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-04 10:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855705600001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:45:26] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 10:45:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17150109355606016,"km_value":17150109355606.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973350723665186816,"description":"Unknown IO ID 45"} 
[2026-09-04 10:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855705600001,"power":14559,"unknown_91":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1973350723665186816}} 
[2026-09-04 10:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":170858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:45:27] local.INFO: GPS data processed {"connection_id":170858,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:45:27] local.INFO: Acknowledgment sent {"connection_id":170858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:45:36] local.INFO: TCP Data received {"connection_id":170562,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:45:36] local.INFO: Processing buffer {"connection_id":170562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:45:36] local.INFO: Packet analysis {"connection_id":170562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:45:36] local.INFO: Extracted packet for processing {"connection_id":170562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:45:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855630336001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788498857000,"timestamp_ms":1788498857000,"timestamp_seconds":1788498857,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad6cc28"} 
[2026-09-04 10:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855630336001,"66":25973,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855630336001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:45:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:45:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855630336001,"power":25973,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":170562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:45:36] local.INFO: GPS data processed {"connection_id":170562,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:45:36] local.INFO: Acknowledgment sent {"connection_id":170562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:45:43] local.INFO: TCP Data received {"connection_id":171968,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:45:43] local.INFO: Processing buffer {"connection_id":171968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:45:43] local.INFO: IMEI packet received {"connection_id":171968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":171968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:45:48] local.INFO: TCP Data received {"connection_id":171968,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:45:48] local.INFO: Processing buffer {"connection_id":171968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:45:48] local.INFO: IMEI packet received {"connection_id":171968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":171968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:45:49] local.INFO: TCP Data received {"connection_id":170859,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:45:49] local.INFO: Processing buffer {"connection_id":170859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:45:49] local.INFO: IMEI packet received {"connection_id":170859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":170859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:45:50] local.INFO: TCP Data received {"connection_id":171968,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:45:50] local.INFO: Processing buffer {"connection_id":171968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:45:50] local.INFO: Packet analysis {"connection_id":171968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:45:50] local.INFO: Extracted packet for processing {"connection_id":171968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:45:50] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855621632001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788498823000,"timestamp_ms":1788498823000,"timestamp_seconds":1788498823,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad64758"} 
[2026-09-04 10:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855621632001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855621632001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:45:50] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:45:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855621632001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":171968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:45:50] local.INFO: GPS data processed {"connection_id":171968,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:45:50] local.INFO: Acknowledgment sent {"connection_id":171968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:45:53] local.INFO: TCP Data received {"connection_id":171968,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:45:53] local.INFO: Processing buffer {"connection_id":171968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:45:53] local.INFO: Packet analysis {"connection_id":171968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:45:53] local.INFO: Extracted packet for processing {"connection_id":171968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855621632001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788498823000,"timestamp_ms":1788498823000,"timestamp_seconds":1788498823,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad64758"} 
[2026-09-04 10:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855621632001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855621632001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:45:53] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:45:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855621632001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":171968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761660,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:45:54] local.INFO: GPS data processed {"connection_id":171968,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:45:54] local.INFO: Acknowledgment sent {"connection_id":171968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:45:54] local.INFO: TCP Data received {"connection_id":170859,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:45:54] local.INFO: Processing buffer {"connection_id":170859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:45:54] local.INFO: IMEI packet received {"connection_id":170859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":170859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:45:55] local.INFO: TCP Data received {"connection_id":170859,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad6f338012d1b640007255c380029016719..."} 
[2026-09-04 10:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad6f338012d1b640007255c380029016719..."} 
[2026-09-04 10:45:55] local.INFO: Processing buffer {"connection_id":170859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad6f338012d1b640007255c380029016719..."} 
[2026-09-04 10:45:55] local.INFO: Packet analysis {"connection_id":170859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:45:55] local.INFO: Extracted packet for processing {"connection_id":170859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:45:55] local.INFO: GPS Element Parsed {"raw_longitude":756769792,"raw_latitude":119888952,"longitude_deg":75.6769792,"latitude_deg":11.9888952,"altitude":41,"angle":359,"satellites":25,"speed":5,"hex_longitude":"2d1b6400","hex_latitude":"07255c38","is_valid_coordinates":true} 
[2026-09-04 10:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855706880001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17150178075082752,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973561829898012672,"note":"Value kept but may cause issues"} 
[2026-09-04 10:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788498867000,"timestamp_ms":1788498867000,"timestamp_seconds":1788498867,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad6f338"} 
[2026-09-04 10:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-04 10:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855706880001,"66":14613,"91":206,"28":31744,"24":5,"16":17150178075082752,"45":1973561829898012672},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-04 10:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855706880001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:45:55] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 10:45:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17150178075082752,"km_value":17150178075082.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973561829898012672,"description":"Unknown IO ID 45"} 
[2026-09-04 10:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855706880001,"power":14613,"unknown_91":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1973561829898012672}} 
[2026-09-04 10:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":170859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:45:55] local.INFO: GPS data processed {"connection_id":170859,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:45:55] local.INFO: Acknowledgment sent {"connection_id":170859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:45:59] local.INFO: TCP Data received {"connection_id":171969,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:45:59] local.INFO: Processing buffer {"connection_id":171969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:45:59] local.INFO: IMEI packet received {"connection_id":171969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":171969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:46:05] local.INFO: TCP Data received {"connection_id":171969,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:46:05] local.INFO: Processing buffer {"connection_id":171969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:46:05] local.INFO: IMEI packet received {"connection_id":171969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":171969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:46:05] local.INFO: TCP Data received {"connection_id":171969,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:46:05] local.INFO: Processing buffer {"connection_id":171969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:46:05] local.INFO: Packet analysis {"connection_id":171969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:46:05] local.INFO: Extracted packet for processing {"connection_id":171969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:46:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855630336001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788498857000,"timestamp_ms":1788498857000,"timestamp_seconds":1788498857,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad6cc28"} 
[2026-09-04 10:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855630336001,"66":25973,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855630336001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:46:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:46:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855630336001,"power":25973,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":171969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:46:05] local.INFO: GPS data processed {"connection_id":171969,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:46:05] local.INFO: Acknowledgment sent {"connection_id":171969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:46:27] local.INFO: TCP Data received {"connection_id":170859,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad881a8012d1b36800725bd20002e000e19..."} 
[2026-09-04 10:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad881a8012d1b36800725bd20002e000e19..."} 
[2026-09-04 10:46:27] local.INFO: Processing buffer {"connection_id":170859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad881a8012d1b36800725bd20002e000e19..."} 
[2026-09-04 10:46:27] local.INFO: Packet analysis {"connection_id":170859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad8"} 
[2026-09-04 10:46:27] local.INFO: Extracted packet for processing {"connection_id":170859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad8"} 
[2026-09-04 10:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756758144,"raw_latitude":119913760,"longitude_deg":75.6758144,"latitude_deg":11.991376,"altitude":46,"angle":14,"satellites":25,"speed":23,"hex_longitude":"2d1b3680","hex_latitude":"0725bd20","is_valid_coordinates":true} 
[2026-09-04 10:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855735040001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17151561054552064,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960543612231196672,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788498969000,"timestamp_ms":1788498969000,"timestamp_seconds":1788498969,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad881a8"} 
[2026-09-04 10:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-04 10:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855735040001,"66":14102,"92":206,"28":31744,"24":23,"16":17151561054552064,"45":1960543612231196672},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855735040001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:46:27] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:46:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17151561054552064,"km_value":17151561054552.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960543612231196672,"description":"Unknown IO ID 45"} 
[2026-09-04 10:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855735040001,"power":14102,"unknown_92":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1960543612231196672}} 
[2026-09-04 10:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":170859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:46:27] local.INFO: GPS data processed {"connection_id":170859,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:46:27] local.INFO: Acknowledgment sent {"connection_id":170859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:46:36] local.INFO: TCP Data received {"connection_id":171969,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:46:36] local.INFO: Processing buffer {"connection_id":171969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:46:36] local.INFO: Packet analysis {"connection_id":171969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:46:36] local.INFO: Extracted packet for processing {"connection_id":171969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:46:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855630336001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788498857000,"timestamp_ms":1788498857000,"timestamp_seconds":1788498857,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad6cc28"} 
[2026-09-04 10:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855630336001,"66":25973,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855630336001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:46:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:46:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855630336001,"power":25973,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":171969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:46:36] local.INFO: GPS data processed {"connection_id":171969,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:46:36] local.INFO: Acknowledgment sent {"connection_id":171969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:46:38] local.INFO: TCP Data received {"connection_id":170563,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:46:38] local.INFO: Processing buffer {"connection_id":170563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:46:38] local.INFO: IMEI packet received {"connection_id":170563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":170563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:46:43] local.INFO: TCP Data received {"connection_id":170563,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:46:43] local.INFO: Processing buffer {"connection_id":170563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:46:43] local.INFO: IMEI packet received {"connection_id":170563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":170563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:46:45] local.INFO: TCP Data received {"connection_id":170563,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:46:45] local.INFO: Processing buffer {"connection_id":170563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:46:45] local.INFO: Packet analysis {"connection_id":170563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:46:45] local.INFO: Extracted packet for processing {"connection_id":170563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855621632001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788498823000,"timestamp_ms":1788498823000,"timestamp_seconds":1788498823,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad64758"} 
[2026-09-04 10:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":170563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":170563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":170563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855621632001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855621632001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:46:45] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:46:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855621632001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":170563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:46:45] local.INFO: GPS data processed {"connection_id":170563,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:46:45] local.INFO: Acknowledgment sent {"connection_id":170563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:46:48] local.INFO: TCP Data received {"connection_id":173267,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:46:48] local.INFO: Processing buffer {"connection_id":173267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:46:48] local.INFO: IMEI packet received {"connection_id":173267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":173267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:46:54] local.INFO: TCP Data received {"connection_id":173267,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:46:54] local.INFO: Processing buffer {"connection_id":173267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:46:54] local.INFO: IMEI packet received {"connection_id":173267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":173267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:46:55] local.INFO: TCP Data received {"connection_id":173267,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad88d60012d1b39000725c380002d001a19..."} 
[2026-09-04 10:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad88d60012d1b39000725c380002d001a19..."} 
[2026-09-04 10:46:55] local.INFO: Processing buffer {"connection_id":173267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad88d60012d1b39000725c380002d001a19..."} 
[2026-09-04 10:46:55] local.INFO: Packet analysis {"connection_id":173267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad8"} 
[2026-09-04 10:46:55] local.INFO: Extracted packet for processing {"connection_id":173267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad8"} 
[2026-09-04 10:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756758784,"raw_latitude":119915392,"longitude_deg":75.6758784,"latitude_deg":11.9915392,"altitude":45,"angle":26,"satellites":25,"speed":23,"hex_longitude":"2d1b3900","hex_latitude":"0725c380","is_valid_coordinates":true} 
[2026-09-04 10:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855736064001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17151646953897984,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960895455952707584,"note":"Value kept but may cause issues"} 
[2026-09-04 10:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788498972000,"timestamp_ms":1788498972000,"timestamp_seconds":1788498972,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad88d60"} 
[2026-09-04 10:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 10:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855736064001,"66":13939,"92":206,"28":31744,"24":23,"16":17151646953897984,"45":1960895455952707584},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855736064001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:46:55] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:46:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17151646953897984,"km_value":17151646953897.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960895455952707584,"description":"Unknown IO ID 45"} 
[2026-09-04 10:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855736064001,"power":13939,"unknown_92":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1960895455952707584}} 
[2026-09-04 10:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":173267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:46:55] local.INFO: GPS data processed {"connection_id":173267,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:46:55] local.INFO: Acknowledgment sent {"connection_id":173267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:46:59] local.INFO: TCP Data received {"connection_id":171970,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:46:59] local.INFO: Processing buffer {"connection_id":171970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:46:59] local.INFO: IMEI packet received {"connection_id":171970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":171970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:47:05] local.INFO: TCP Data received {"connection_id":171970,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:47:05] local.INFO: Processing buffer {"connection_id":171970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:47:05] local.INFO: IMEI packet received {"connection_id":171970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":171970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:47:05] local.INFO: TCP Data received {"connection_id":171970,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:47:05] local.INFO: Processing buffer {"connection_id":171970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:47:05] local.INFO: Packet analysis {"connection_id":171970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:47:05] local.INFO: Extracted packet for processing {"connection_id":171970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:47:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855630336001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788498857000,"timestamp_ms":1788498857000,"timestamp_seconds":1788498857,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad6cc28"} 
[2026-09-04 10:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855630336001,"66":25973,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855630336001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:47:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:47:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855630336001,"power":25973,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":171970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:47:05] local.INFO: GPS data processed {"connection_id":171970,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:47:05] local.INFO: Acknowledgment sent {"connection_id":171970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:47:17] local.INFO: TCP Data received {"connection_id":170563,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:47:17] local.INFO: Processing buffer {"connection_id":170563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:47:17] local.INFO: Packet analysis {"connection_id":170563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:47:17] local.INFO: Extracted packet for processing {"connection_id":170563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855621632001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788498823000,"timestamp_ms":1788498823000,"timestamp_seconds":1788498823,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad64758"} 
[2026-09-04 10:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":170563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":170563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":170563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855621632001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855621632001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:47:17] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:47:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855621632001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":170563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761668,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:47:17] local.INFO: GPS data processed {"connection_id":170563,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:47:17] local.INFO: Acknowledgment sent {"connection_id":170563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:47:27] local.INFO: TCP Data received {"connection_id":173267,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad89d00012d1b3e800725cbe0002c002519..."} 
[2026-09-04 10:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad89d00012d1b3e800725cbe0002c002519..."} 
[2026-09-04 10:47:27] local.INFO: Processing buffer {"connection_id":173267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad89d00012d1b3e800725cbe0002c002519..."} 
[2026-09-04 10:47:27] local.INFO: Packet analysis {"connection_id":173267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad8"} 
[2026-09-04 10:47:27] local.INFO: Extracted packet for processing {"connection_id":173267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad8"} 
[2026-09-04 10:47:27] local.INFO: GPS Element Parsed {"raw_longitude":756760192,"raw_latitude":119917536,"longitude_deg":75.6760192,"latitude_deg":11.9917536,"altitude":44,"angle":37,"satellites":25,"speed":26,"hex_longitude":"2d1b3e80","hex_latitude":"0725cbe0","is_valid_coordinates":true} 
[2026-09-04 10:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855736832001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17151767212982272,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961599143394902016,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788498976000,"timestamp_ms":1788498976000,"timestamp_seconds":1788498976,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad89d00"} 
[2026-09-04 10:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-04 10:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855736832001,"66":14070,"92":206,"28":31744,"24":26,"16":17151767212982272,"45":1961599143394902016},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855736832001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:47:27] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:47:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17151767212982272,"km_value":17151767212982.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961599143394902016,"description":"Unknown IO ID 45"} 
[2026-09-04 10:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855736832001,"power":14070,"unknown_92":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1961599143394902016}} 
[2026-09-04 10:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":173267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:47:27] local.INFO: GPS data processed {"connection_id":173267,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:47:27] local.INFO: Acknowledgment sent {"connection_id":173267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:47:36] local.INFO: TCP Data received {"connection_id":171970,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:47:36] local.INFO: Processing buffer {"connection_id":171970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:47:36] local.INFO: Packet analysis {"connection_id":171970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:47:36] local.INFO: Extracted packet for processing {"connection_id":171970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:47:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855630336001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788498857000,"timestamp_ms":1788498857000,"timestamp_seconds":1788498857,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad6cc28"} 
[2026-09-04 10:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855630336001,"66":25973,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855630336001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:47:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:47:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855630336001,"power":25973,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":171970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:47:36] local.INFO: GPS data processed {"connection_id":171970,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:47:36] local.INFO: Acknowledgment sent {"connection_id":171970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:47:38] local.INFO: TCP Data received {"connection_id":170564,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:47:38] local.INFO: Processing buffer {"connection_id":170564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:47:38] local.INFO: IMEI packet received {"connection_id":170564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":170564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:47:43] local.INFO: TCP Data received {"connection_id":170564,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:47:43] local.INFO: Processing buffer {"connection_id":170564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:47:43] local.INFO: IMEI packet received {"connection_id":170564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":170564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:47:44] local.INFO: TCP Data received {"connection_id":170564,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:47:44] local.INFO: Processing buffer {"connection_id":170564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:47:44] local.INFO: Packet analysis {"connection_id":170564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:47:44] local.INFO: Extracted packet for processing {"connection_id":170564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855621632001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788498823000,"timestamp_ms":1788498823000,"timestamp_seconds":1788498823,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad64758"} 
[2026-09-04 10:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855621632001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855621632001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:47:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:47:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855621632001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":170564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:47:44] local.INFO: GPS data processed {"connection_id":170564,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:47:44] local.INFO: Acknowledgment sent {"connection_id":170564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:47:48] local.INFO: TCP Data received {"connection_id":170860,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:47:48] local.INFO: Processing buffer {"connection_id":170860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:47:48] local.INFO: IMEI packet received {"connection_id":170860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":170860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:47:53] local.INFO: TCP Data received {"connection_id":170860,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:47:53] local.INFO: Processing buffer {"connection_id":170860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:47:53] local.INFO: IMEI packet received {"connection_id":170860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":170860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:47:55] local.INFO: TCP Data received {"connection_id":170860,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad8b858012d1b46400725d590002b003619..."} 
[2026-09-04 10:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad8b858012d1b46400725d590002b003619..."} 
[2026-09-04 10:47:55] local.INFO: Processing buffer {"connection_id":170860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad8b858012d1b46400725d590002b003619..."} 
[2026-09-04 10:47:55] local.INFO: Packet analysis {"connection_id":170860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad8"} 
[2026-09-04 10:47:55] local.INFO: Extracted packet for processing {"connection_id":170860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad8"} 
[2026-09-04 10:47:55] local.INFO: GPS Element Parsed {"raw_longitude":756762176,"raw_latitude":119920016,"longitude_deg":75.6762176,"latitude_deg":11.9920016,"altitude":43,"angle":54,"satellites":25,"speed":7,"hex_longitude":"2d1b4640","hex_latitude":"0725d590","is_valid_coordinates":true} 
[2026-09-04 10:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855737856001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17151921831804928,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963147255767359488,"note":"Value kept but may cause issues"} 
[2026-09-04 10:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788498983000,"timestamp_ms":1788498983000,"timestamp_seconds":1788498983,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad8b858"} 
[2026-09-04 10:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-04 10:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855737856001,"66":14428,"92":206,"28":31744,"24":7,"16":17151921831804928,"45":1963147255767359488},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855737856001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:47:55] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:47:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17151921831804928,"km_value":17151921831804.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963147255767359488,"description":"Unknown IO ID 45"} 
[2026-09-04 10:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855737856001,"power":14428,"unknown_92":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1963147255767359488}} 
[2026-09-04 10:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":170860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:47:55] local.INFO: GPS data processed {"connection_id":170860,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:47:55] local.INFO: Acknowledgment sent {"connection_id":170860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:48:05] local.INFO: TCP Data received {"connection_id":170861,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:48:05] local.INFO: Processing buffer {"connection_id":170861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:48:05] local.INFO: IMEI packet received {"connection_id":170861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":170861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:48:10] local.INFO: TCP Data received {"connection_id":170861,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:48:10] local.INFO: Processing buffer {"connection_id":170861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:48:10] local.INFO: IMEI packet received {"connection_id":170861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":170861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:48:10] local.INFO: TCP Data received {"connection_id":170861,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:48:10] local.INFO: Processing buffer {"connection_id":170861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:48:10] local.INFO: Packet analysis {"connection_id":170861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:48:10] local.INFO: Extracted packet for processing {"connection_id":170861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855630336001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788498857000,"timestamp_ms":1788498857000,"timestamp_seconds":1788498857,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad6cc28"} 
[2026-09-04 10:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855630336001,"66":25973,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855630336001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:48:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:48:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855630336001,"power":25973,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":170861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:48:10] local.INFO: GPS data processed {"connection_id":170861,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:48:10] local.INFO: Acknowledgment sent {"connection_id":170861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:48:15] local.INFO: TCP Data received {"connection_id":170861,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:48:15] local.INFO: Processing buffer {"connection_id":170861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:48:15] local.INFO: Packet analysis {"connection_id":170861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:48:15] local.INFO: Extracted packet for processing {"connection_id":170861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:48:15] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855630336001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788498857000,"timestamp_ms":1788498857000,"timestamp_seconds":1788498857,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad6cc28"} 
[2026-09-04 10:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855630336001,"66":25973,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855630336001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:48:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:48:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:48:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855630336001,"power":25973,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":170861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:48:15] local.INFO: GPS data processed {"connection_id":170861,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:48:15] local.INFO: Acknowledgment sent {"connection_id":170861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:48:16] local.INFO: TCP Data received {"connection_id":170564,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:48:16] local.INFO: Processing buffer {"connection_id":170564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:48:16] local.INFO: Packet analysis {"connection_id":170564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:48:16] local.INFO: Extracted packet for processing {"connection_id":170564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855621632001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788498823000,"timestamp_ms":1788498823000,"timestamp_seconds":1788498823,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad64758"} 
[2026-09-04 10:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855621632001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855621632001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:48:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:48:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855621632001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":170564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:48:16] local.INFO: GPS data processed {"connection_id":170564,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:48:16] local.INFO: Acknowledgment sent {"connection_id":170564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:48:27] local.INFO: TCP Data received {"connection_id":170860,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad8d3b0012d1b48800725d4f0002b009918..."} 
[2026-09-04 10:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad8d3b0012d1b48800725d4f0002b009918..."} 
[2026-09-04 10:48:27] local.INFO: Processing buffer {"connection_id":170860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad8d3b0012d1b48800725d4f0002b009918..."} 
[2026-09-04 10:48:27] local.INFO: Packet analysis {"connection_id":170860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad8"} 
[2026-09-04 10:48:27] local.INFO: Extracted packet for processing {"connection_id":170860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad8"} 
[2026-09-04 10:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756762752,"raw_latitude":119919856,"longitude_deg":75.6762752,"latitude_deg":11.9919856,"altitude":43,"angle":153,"satellites":24,"speed":7,"hex_longitude":"2d1b4880","hex_latitude":"0725d4f0","is_valid_coordinates":true} 
[2026-09-04 10:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855739648001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17151960486510592,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965328686837501952,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788498990000,"timestamp_ms":1788498990000,"timestamp_seconds":1788498990,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad8d3b0"} 
[2026-09-04 10:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 10:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855739648001,"66":14135,"92":206,"28":31744,"24":7,"16":17151960486510592,"45":1965328686837501952},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855739648001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:48:27] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:48:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17151960486510592,"km_value":17151960486510.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965328686837501952,"description":"Unknown IO ID 45"} 
[2026-09-04 10:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855739648001,"power":14135,"unknown_92":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1965328686837501952}} 
[2026-09-04 10:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":170860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:48:27] local.INFO: GPS data processed {"connection_id":170860,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:48:27] local.INFO: Acknowledgment sent {"connection_id":170860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:48:38] local.INFO: TCP Data received {"connection_id":173268,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:48:38] local.INFO: Processing buffer {"connection_id":173268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:48:38] local.INFO: IMEI packet received {"connection_id":173268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":173268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:48:43] local.INFO: TCP Data received {"connection_id":173268,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:48:43] local.INFO: Processing buffer {"connection_id":173268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:48:43] local.INFO: IMEI packet received {"connection_id":173268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":173268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:48:44] local.INFO: TCP Data received {"connection_id":173268,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:48:44] local.INFO: Processing buffer {"connection_id":173268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:48:44] local.INFO: Packet analysis {"connection_id":173268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:48:44] local.INFO: Extracted packet for processing {"connection_id":173268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855621632001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788498823000,"timestamp_ms":1788498823000,"timestamp_seconds":1788498823,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad64758"} 
[2026-09-04 10:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855621632001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855621632001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:48:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:48:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855621632001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":173268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761677,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:48:44] local.INFO: GPS data processed {"connection_id":173268,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:48:44] local.INFO: Acknowledgment sent {"connection_id":173268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:48:48] local.INFO: TCP Data received {"connection_id":171971,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:48:48] local.INFO: Processing buffer {"connection_id":171971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:48:48] local.INFO: IMEI packet received {"connection_id":171971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":171971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:48:54] local.INFO: TCP Data received {"connection_id":171971,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:48:54] local.INFO: Processing buffer {"connection_id":171971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:48:54] local.INFO: IMEI packet received {"connection_id":171971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":171971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:48:55] local.INFO: TCP Data received {"connection_id":171971,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad8d798012d1b48800725d418002b00bb19..."} 
[2026-09-04 10:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad8d798012d1b48800725d418002b00bb19..."} 
[2026-09-04 10:48:55] local.INFO: Processing buffer {"connection_id":171971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad8d798012d1b48800725d418002b00bb19..."} 
[2026-09-04 10:48:55] local.INFO: Packet analysis {"connection_id":171971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad8"} 
[2026-09-04 10:48:55] local.INFO: Extracted packet for processing {"connection_id":171971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad8"} 
[2026-09-04 10:48:55] local.INFO: GPS Element Parsed {"raw_longitude":756762752,"raw_latitude":119919640,"longitude_deg":75.6762752,"latitude_deg":11.991964,"altitude":43,"angle":187,"satellites":25,"speed":9,"hex_longitude":"2d1b4880","hex_latitude":"0725d418","is_valid_coordinates":true} 
[2026-09-04 10:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855741440001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17151969076445184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965962005535059968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788498991000,"timestamp_ms":1788498991000,"timestamp_seconds":1788498991,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad8d798"} 
[2026-09-04 10:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-04 10:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855741440001,"66":14135,"92":206,"28":31744,"24":9,"16":17151969076445184,"45":1965962005535059968},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855741440001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:48:55] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17151969076445184,"km_value":17151969076445.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965962005535059968,"description":"Unknown IO ID 45"} 
[2026-09-04 10:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855741440001,"power":14135,"unknown_92":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1965962005535059968}} 
[2026-09-04 10:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":171971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:48:55] local.INFO: GPS data processed {"connection_id":171971,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:48:55] local.INFO: Acknowledgment sent {"connection_id":171971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:49:00] local.INFO: TCP Data received {"connection_id":173269,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:49:00] local.INFO: Processing buffer {"connection_id":173269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:49:00] local.INFO: IMEI packet received {"connection_id":173269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":173269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:49:05] local.INFO: TCP Data received {"connection_id":173269,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:49:05] local.INFO: Processing buffer {"connection_id":173269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:49:05] local.INFO: IMEI packet received {"connection_id":173269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":173269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:49:05] local.INFO: TCP Data received {"connection_id":173269,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:49:05] local.INFO: Processing buffer {"connection_id":173269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:49:05] local.INFO: Packet analysis {"connection_id":173269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:49:05] local.INFO: Extracted packet for processing {"connection_id":173269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:49:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855630336001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788498857000,"timestamp_ms":1788498857000,"timestamp_seconds":1788498857,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad6cc28"} 
[2026-09-04 10:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855630336001,"66":25973,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855630336001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:49:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:49:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855630336001,"power":25973,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":173269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:49:05] local.INFO: GPS data processed {"connection_id":173269,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:49:05] local.INFO: Acknowledgment sent {"connection_id":173269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:49:16] local.INFO: TCP Data received {"connection_id":173268,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:49:16] local.INFO: Processing buffer {"connection_id":173268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad64758012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:49:16] local.INFO: Packet analysis {"connection_id":173268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:49:16] local.INFO: Extracted packet for processing {"connection_id":173268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855621632001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788498823000,"timestamp_ms":1788498823000,"timestamp_seconds":1788498823,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad64758"} 
[2026-09-04 10:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855621632001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855621632001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:49:17] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:49:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855621632001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":173268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761680,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:49:17] local.INFO: GPS data processed {"connection_id":173268,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:49:17] local.INFO: Acknowledgment sent {"connection_id":173268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:49:26] local.INFO: TCP Data received {"connection_id":171971,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad8df68012d1b48000725d250002b00cd19..."} 
[2026-09-04 10:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad8df68012d1b48000725d250002b00cd19..."} 
[2026-09-04 10:49:26] local.INFO: Processing buffer {"connection_id":171971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad8df68012d1b48000725d250002b00cd19..."} 
[2026-09-04 10:49:26] local.INFO: Packet analysis {"connection_id":171971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad8"} 
[2026-09-04 10:49:26] local.INFO: Extracted packet for processing {"connection_id":171971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad8"} 
[2026-09-04 10:49:26] local.INFO: GPS Element Parsed {"raw_longitude":756762624,"raw_latitude":119919184,"longitude_deg":75.6762624,"latitude_deg":11.9919184,"altitude":43,"angle":205,"satellites":25,"speed":11,"hex_longitude":"2d1b4800","hex_latitude":"0725d250","is_valid_coordinates":true} 
[2026-09-04 10:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855741696001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17151990551281664,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965962005535004672,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788498993000,"timestamp_ms":1788498993000,"timestamp_seconds":1788498993,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad8df68"} 
[2026-09-04 10:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-04 10:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855741696001,"66":14102,"92":206,"28":31744,"24":11,"16":17151990551281664,"45":1965962005535004672},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855741696001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:49:26] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:49:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17151990551281664,"km_value":17151990551281.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965962005535004672,"description":"Unknown IO ID 45"} 
[2026-09-04 10:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855741696001,"power":14102,"unknown_92":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1965962005535004672}} 
[2026-09-04 10:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":171971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:49:27] local.INFO: GPS data processed {"connection_id":171971,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:49:27] local.INFO: Acknowledgment sent {"connection_id":171971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:49:36] local.INFO: TCP Data received {"connection_id":173269,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:49:36] local.INFO: Processing buffer {"connection_id":173269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad6cc28012cdb8340073377a0002000082b..."} 
[2026-09-04 10:49:36] local.INFO: Packet analysis {"connection_id":173269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:49:36] local.INFO: Extracted packet for processing {"connection_id":173269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad6"} 
[2026-09-04 10:49:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855630336001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788498857000,"timestamp_ms":1788498857000,"timestamp_seconds":1788498857,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad6cc28"} 
[2026-09-04 10:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 10:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855630336001,"66":25973,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855630336001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:49:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:49:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855630336001,"power":25973,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":173269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:49:36] local.INFO: GPS data processed {"connection_id":173269,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:49:36] local.INFO: Acknowledgment sent {"connection_id":173269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:49:42] local.INFO: TCP Data received {"connection_id":173270,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:49:42] local.INFO: Processing buffer {"connection_id":173270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:49:42] local.INFO: IMEI packet received {"connection_id":173270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":173270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:49:48] local.INFO: TCP Data received {"connection_id":173270,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:49:48] local.INFO: Processing buffer {"connection_id":173270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:49:48] local.INFO: IMEI packet received {"connection_id":173270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":173270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:49:49] local.INFO: TCP Data received {"connection_id":173270,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:49:49] local.INFO: Processing buffer {"connection_id":173270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:49:49] local.INFO: Packet analysis {"connection_id":173270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:49:49] local.INFO: Extracted packet for processing {"connection_id":173270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855698688001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788499124000,"timestamp_ms":1788499124000,"timestamp_seconds":1788499124,"priority":1,"record_length":96,"hex_timestamp":"000001a06adadf20"} 
[2026-09-04 10:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855698688001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855698688001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:49:49] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:49:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855698688001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":173270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761683,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:49:49] local.INFO: GPS data processed {"connection_id":173270,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:49:49] local.INFO: Acknowledgment sent {"connection_id":173270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:49:54] local.INFO: TCP Data received {"connection_id":173270,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:49:54] local.INFO: Processing buffer {"connection_id":173270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:49:54] local.INFO: Packet analysis {"connection_id":173270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:49:54] local.INFO: Extracted packet for processing {"connection_id":173270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:49:54] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855698688001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788499124000,"timestamp_ms":1788499124000,"timestamp_seconds":1788499124,"priority":1,"record_length":96,"hex_timestamp":"000001a06adadf20"} 
[2026-09-04 10:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855698688001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855698688001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:49:54] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:49:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855698688001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":173270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:49:54] local.INFO: GPS data processed {"connection_id":173270,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:49:54] local.INFO: Acknowledgment sent {"connection_id":173270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:49:54] local.INFO: TCP Data received {"connection_id":171972,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:49:54] local.INFO: Processing buffer {"connection_id":171972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:49:54] local.INFO: IMEI packet received {"connection_id":171972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":171972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:49:58] local.INFO: TCP Data received {"connection_id":171972,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:49:58] local.INFO: Processing buffer {"connection_id":171972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:49:58] local.INFO: IMEI packet received {"connection_id":171972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":171972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:49:59] local.INFO: TCP Data received {"connection_id":171972,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad92d88012d1b42400725c920002b00cd19..."} 
[2026-09-04 10:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad92d88012d1b42400725c920002b00cd19..."} 
[2026-09-04 10:49:59] local.INFO: Processing buffer {"connection_id":171972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad92d88012d1b42400725c920002b00cd19..."} 
[2026-09-04 10:49:59] local.INFO: Packet analysis {"connection_id":171972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad9"} 
[2026-09-04 10:49:59] local.INFO: Extracted packet for processing {"connection_id":171972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad9"} 
[2026-09-04 10:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756761152,"raw_latitude":119916832,"longitude_deg":75.6761152,"latitude_deg":11.9916832,"altitude":43,"angle":205,"satellites":25,"speed":0,"hex_longitude":"2d1b4240","hex_latitude":"0725c920","is_valid_coordinates":true} 
[2026-09-04 10:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855742208001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17152127990235136,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965821268046532608,"note":"Value kept but may cause issues"} 
[2026-09-04 10:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788499013000,"timestamp_ms":1788499013000,"timestamp_seconds":1788499013,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad92d88"} 
[2026-09-04 10:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 10:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855742208001,"66":14515,"92":206,"28":31744,"24":0,"16":17152127990235136,"45":1965821268046532608},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855742208001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:49:59] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17152127990235136,"km_value":17152127990235.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965821268046532608,"description":"Unknown IO ID 45"} 
[2026-09-04 10:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855742208001,"power":14515,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1965821268046532608}} 
[2026-09-04 10:50:00] local.INFO: TCP Data received {"connection_id":173271,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:50:00] local.INFO: Processing buffer {"connection_id":173271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:50:00] local.INFO: IMEI packet received {"connection_id":173271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":173271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":171972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:50:00] local.INFO: GPS data processed {"connection_id":171972,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:50:00] local.INFO: Acknowledgment sent {"connection_id":171972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:50:02] local.INFO: TCP Data received {"connection_id":171972,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad94cc8012d1b42800725c9c0002a002c19..."} 
[2026-09-04 10:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad94cc8012d1b42800725c9c0002a002c19..."} 
[2026-09-04 10:50:02] local.INFO: Processing buffer {"connection_id":171972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad94cc8012d1b42800725c9c0002a002c19..."} 
[2026-09-04 10:50:02] local.INFO: Packet analysis {"connection_id":171972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad9"} 
[2026-09-04 10:50:02] local.INFO: Extracted packet for processing {"connection_id":171972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad9"} 
[2026-09-04 10:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756761216,"raw_latitude":119916992,"longitude_deg":75.6761216,"latitude_deg":11.9916992,"altitude":42,"angle":44,"satellites":25,"speed":2,"hex_longitude":"2d1b4280","hex_latitude":"0725c9c0","is_valid_coordinates":true} 
[2026-09-04 10:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855747328001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17152136580169728,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964202786929844224,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788499021000,"timestamp_ms":1788499021000,"timestamp_seconds":1788499021,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad94cc8"} 
[2026-09-04 10:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 10:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855747328001,"66":14080,"92":206,"28":31744,"24":2,"16":17152136580169728,"45":1964202786929844224},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855747328001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:50:02] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:50:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17152136580169728,"km_value":17152136580169.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964202786929844224,"description":"Unknown IO ID 45"} 
[2026-09-04 10:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855747328001,"power":14080,"unknown_92":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1964202786929844224}} 
[2026-09-04 10:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":171972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:50:02] local.INFO: GPS data processed {"connection_id":171972,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:50:02] local.INFO: Acknowledgment sent {"connection_id":171972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:50:05] local.INFO: TCP Data received {"connection_id":173271,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:50:05] local.INFO: Processing buffer {"connection_id":173271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:50:05] local.INFO: IMEI packet received {"connection_id":173271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":173271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:50:05] local.INFO: TCP Data received {"connection_id":173271,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:50:05] local.INFO: Processing buffer {"connection_id":173271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:50:05] local.INFO: Packet analysis {"connection_id":173271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:50:05] local.INFO: Extracted packet for processing {"connection_id":173271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:50:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855707392001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788499158000,"timestamp_ms":1788499158000,"timestamp_seconds":1788499158,"priority":1,"record_length":96,"hex_timestamp":"000001a06adb63f0"} 
[2026-09-04 10:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 10:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855707392001,"66":25038,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855707392001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:50:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:50:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855707392001,"power":25038,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":173271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:50:05] local.INFO: GPS data processed {"connection_id":173271,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:50:05] local.INFO: Acknowledgment sent {"connection_id":173271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:50:34] local.INFO: TCP Data received {"connection_id":171972,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad95880012d1b43800725ca10002a005719..."} 
[2026-09-04 10:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad95880012d1b43800725ca10002a005719..."} 
[2026-09-04 10:50:34] local.INFO: Processing buffer {"connection_id":171972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad95880012d1b43800725ca10002a005719..."} 
[2026-09-04 10:50:34] local.INFO: Packet analysis {"connection_id":171972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad9"} 
[2026-09-04 10:50:34] local.INFO: Extracted packet for processing {"connection_id":171972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad9"} 
[2026-09-04 10:50:34] local.INFO: GPS Element Parsed {"raw_longitude":756761472,"raw_latitude":119917072,"longitude_deg":75.6761472,"latitude_deg":11.9917072,"altitude":42,"angle":87,"satellites":25,"speed":2,"hex_longitude":"2d1b4380","hex_latitude":"0725ca10","is_valid_coordinates":true} 
[2026-09-04 10:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855749376001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17152145170104320,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964273155674062848,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788499024000,"timestamp_ms":1788499024000,"timestamp_seconds":1788499024,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad95880"} 
[2026-09-04 10:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-04 10:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454491648,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:34] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3637751809,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:34] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3572498475,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-09-04 10:50:34] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4019519488,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,92,28,24,241,158,16,239,160,45,64,201,43,25,10,66,223,210,215,128,1,240,55,106,37,4,113,205,7,184,70,144,56,2,60,44,26],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-09-04 10:50:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026467435478908928,"timestamp_seconds":3026467435478909.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 10:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855749376001,"66":13906,"92":206,"28":31744,"24":2,"16":17152145170104320,"45":1964273155674062848},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855749376001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:50:34] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:50:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17152145170104320,"km_value":17152145170104.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964273155674062848,"description":"Unknown IO ID 45"} 
[2026-09-04 10:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855749376001,"power":13906,"unknown_92":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1964273155674062848}} 
[2026-09-04 10:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":171972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:50:34] local.INFO: GPS data processed {"connection_id":171972,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:50:34] local.INFO: Acknowledgment sent {"connection_id":171972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:50:37] local.INFO: TCP Data received {"connection_id":173271,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:50:37] local.INFO: Processing buffer {"connection_id":173271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:50:37] local.INFO: Packet analysis {"connection_id":173271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:50:37] local.INFO: Extracted packet for processing {"connection_id":173271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:50:37] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855707392001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788499158000,"timestamp_ms":1788499158000,"timestamp_seconds":1788499158,"priority":1,"record_length":96,"hex_timestamp":"000001a06adb63f0"} 
[2026-09-04 10:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 10:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855707392001,"66":25038,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855707392001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:50:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:50:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855707392001,"power":25038,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":173271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:50:37] local.INFO: GPS data processed {"connection_id":173271,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:50:37] local.INFO: Acknowledgment sent {"connection_id":173271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:50:38] local.INFO: TCP Data received {"connection_id":170565,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:50:38] local.INFO: Processing buffer {"connection_id":170565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:50:38] local.INFO: IMEI packet received {"connection_id":170565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":170565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:50:44] local.INFO: TCP Data received {"connection_id":170565,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:50:44] local.INFO: Processing buffer {"connection_id":170565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:50:44] local.INFO: IMEI packet received {"connection_id":170565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":170565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:50:49] local.INFO: TCP Data received {"connection_id":171973,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:50:49] local.INFO: Processing buffer {"connection_id":171973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:50:49] local.INFO: IMEI packet received {"connection_id":171973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":171973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:50:51] local.INFO: TCP Data received {"connection_id":170565,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:50:51] local.INFO: Processing buffer {"connection_id":170565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:50:51] local.INFO: Packet analysis {"connection_id":170565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:50:51] local.INFO: Extracted packet for processing {"connection_id":170565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855698688001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788499124000,"timestamp_ms":1788499124000,"timestamp_seconds":1788499124,"priority":1,"record_length":96,"hex_timestamp":"000001a06adadf20"} 
[2026-09-04 10:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":170565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":170565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":170565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855698688001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855698688001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:50:51] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:50:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855698688001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":170565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:50:51] local.INFO: GPS data processed {"connection_id":170565,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:50:51] local.INFO: Acknowledgment sent {"connection_id":170565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:50:54] local.INFO: TCP Data received {"connection_id":171973,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:50:54] local.INFO: Processing buffer {"connection_id":171973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:50:54] local.INFO: IMEI packet received {"connection_id":171973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":171973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:50:55] local.INFO: TCP Data received {"connection_id":171973,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad95c68012d1b43800725ca18002a00401a..."} 
[2026-09-04 10:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad95c68012d1b43800725ca18002a00401a..."} 
[2026-09-04 10:50:55] local.INFO: Processing buffer {"connection_id":171973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad95c68012d1b43800725ca18002a00401a..."} 
[2026-09-04 10:50:55] local.INFO: Packet analysis {"connection_id":171973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad9"} 
[2026-09-04 10:50:55] local.INFO: Extracted packet for processing {"connection_id":171973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad9"} 
[2026-09-04 10:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756761472,"raw_latitude":119917080,"longitude_deg":75.6761472,"latitude_deg":11.991708,"altitude":42,"angle":64,"satellites":26,"speed":0,"hex_longitude":"2d1b4380","hex_latitude":"0725ca18","is_valid_coordinates":true} 
[2026-09-04 10:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855750144001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17152149465071616,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964554630650793984,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788499025000,"timestamp_ms":1788499025000,"timestamp_seconds":1788499025,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad95c68"} 
[2026-09-04 10:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-04 10:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855750144001,"66":13243,"92":206,"28":31744,"24":0,"16":17152149465071616,"45":1964554630650793984},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855750144001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:50:55] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:50:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17152149465071616,"km_value":17152149465071.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964554630650793984,"description":"Unknown IO ID 45"} 
[2026-09-04 10:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855750144001,"power":13243,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1964554630650793984}} 
[2026-09-04 10:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":171973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:50:55] local.INFO: GPS data processed {"connection_id":171973,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:50:55] local.INFO: Acknowledgment sent {"connection_id":171973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:50:59] local.INFO: TCP Data received {"connection_id":171973,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad9aa88012d1b43800725ca18002a004018..."} 
[2026-09-04 10:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad9aa88012d1b43800725ca18002a004018..."} 
[2026-09-04 10:50:59] local.INFO: Processing buffer {"connection_id":171973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad9aa88012d1b43800725ca18002a004018..."} 
[2026-09-04 10:50:59] local.INFO: Packet analysis {"connection_id":171973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad9"} 
[2026-09-04 10:50:59] local.INFO: Extracted packet for processing {"connection_id":171973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad9"} 
[2026-09-04 10:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756761472,"raw_latitude":119917080,"longitude_deg":75.6761472,"latitude_deg":11.991708,"altitude":42,"angle":64,"satellites":24,"speed":0,"hex_longitude":"2d1b4380","hex_latitude":"0725ca18","is_valid_coordinates":true} 
[2026-09-04 10:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855750400001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17152149465071616,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964554630650796032,"note":"Value kept but may cause issues"} 
[2026-09-04 10:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788499045000,"timestamp_ms":1788499045000,"timestamp_seconds":1788499045,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad9aa88"} 
[2026-09-04 10:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-04 10:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855750400001,"66":13276,"92":206,"28":31744,"24":0,"16":17152149465071616,"45":1964554630650796032},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855750400001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:50:59] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:50:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17152149465071616,"km_value":17152149465071.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964554630650796032,"description":"Unknown IO ID 45"} 
[2026-09-04 10:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855750400001,"power":13276,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1964554630650796032}} 
[2026-09-04 10:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":171973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:50:59] local.INFO: GPS data processed {"connection_id":171973,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:50:59] local.INFO: Acknowledgment sent {"connection_id":171973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:50:59] local.INFO: TCP Data received {"connection_id":170862,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:50:59] local.INFO: Processing buffer {"connection_id":170862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:50:59] local.INFO: IMEI packet received {"connection_id":170862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":170862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:51:05] local.INFO: TCP Data received {"connection_id":170862,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:51:05] local.INFO: Processing buffer {"connection_id":170862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:51:05] local.INFO: IMEI packet received {"connection_id":170862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":170862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:51:09] local.INFO: TCP Data received {"connection_id":170862,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:51:09] local.INFO: Processing buffer {"connection_id":170862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:51:09] local.INFO: IMEI packet received {"connection_id":170862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":170862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:51:10] local.INFO: TCP Data received {"connection_id":170862,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:51:10] local.INFO: Processing buffer {"connection_id":170862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:51:10] local.INFO: Packet analysis {"connection_id":170862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:51:10] local.INFO: Extracted packet for processing {"connection_id":170862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:51:10] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855707392001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788499158000,"timestamp_ms":1788499158000,"timestamp_seconds":1788499158,"priority":1,"record_length":96,"hex_timestamp":"000001a06adb63f0"} 
[2026-09-04 10:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 10:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855707392001,"66":25038,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855707392001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:51:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:51:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855707392001,"power":25038,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":170862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:51:10] local.INFO: GPS data processed {"connection_id":170862,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:51:10] local.INFO: Acknowledgment sent {"connection_id":170862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:51:22] local.INFO: TCP Data received {"connection_id":170565,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:51:22] local.INFO: Processing buffer {"connection_id":170565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:51:22] local.INFO: Packet analysis {"connection_id":170565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:51:22] local.INFO: Extracted packet for processing {"connection_id":170565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:51:22] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855698688001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788499124000,"timestamp_ms":1788499124000,"timestamp_seconds":1788499124,"priority":1,"record_length":96,"hex_timestamp":"000001a06adadf20"} 
[2026-09-04 10:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":170565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":170565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":170565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855698688001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855698688001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:51:22] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:51:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855698688001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":170565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761694,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:51:22] local.INFO: GPS data processed {"connection_id":170565,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:51:22] local.INFO: Acknowledgment sent {"connection_id":170565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:51:31] local.INFO: TCP Data received {"connection_id":171973,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ad9f8a8012d1b43800725ca18002a00401d..."} 
[2026-09-04 10:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ad9f8a8012d1b43800725ca18002a00401d..."} 
[2026-09-04 10:51:31] local.INFO: Processing buffer {"connection_id":171973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ad9f8a8012d1b43800725ca18002a00401d..."} 
[2026-09-04 10:51:31] local.INFO: Packet analysis {"connection_id":171973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ad9"} 
[2026-09-04 10:51:31] local.INFO: Extracted packet for processing {"connection_id":171973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ad9"} 
[2026-09-04 10:51:31] local.INFO: GPS Element Parsed {"raw_longitude":756761472,"raw_latitude":119917080,"longitude_deg":75.6761472,"latitude_deg":11.991708,"altitude":42,"angle":64,"satellites":29,"speed":0,"hex_longitude":"2d1b4380","hex_latitude":"0725ca18","is_valid_coordinates":true} 
[2026-09-04 10:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855755520001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17152149465071616,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964554630650796032,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788499065000,"timestamp_ms":1788499065000,"timestamp_seconds":1788499065,"priority":1,"record_length":96,"hex_timestamp":"000001a06ad9f8a8"} 
[2026-09-04 10:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-04 10:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855755520001,"66":13243,"92":206,"28":31744,"24":0,"16":17152149465071616,"45":1964554630650796032},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855755520001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:51:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17152149465071616,"km_value":17152149465071.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964554630650796032,"description":"Unknown IO ID 45"} 
[2026-09-04 10:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855755520001,"power":13243,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1964554630650796032}} 
[2026-09-04 10:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":171973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:51:31] local.INFO: GPS data processed {"connection_id":171973,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:51:31] local.INFO: Acknowledgment sent {"connection_id":171973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:51:37] local.INFO: TCP Data received {"connection_id":170863,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:51:37] local.INFO: Processing buffer {"connection_id":170863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:51:37] local.INFO: IMEI packet received {"connection_id":170863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":170863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:51:41] local.INFO: TCP Data received {"connection_id":170862,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:51:41] local.INFO: Processing buffer {"connection_id":170862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:51:41] local.INFO: Packet analysis {"connection_id":170862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:51:41] local.INFO: Extracted packet for processing {"connection_id":170862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:51:41] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855707392001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788499158000,"timestamp_ms":1788499158000,"timestamp_seconds":1788499158,"priority":1,"record_length":96,"hex_timestamp":"000001a06adb63f0"} 
[2026-09-04 10:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 10:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855707392001,"66":25038,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855707392001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:51:41] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855707392001,"power":25038,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":170862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:51:41] local.INFO: GPS data processed {"connection_id":170862,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:51:41] local.INFO: Acknowledgment sent {"connection_id":170862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:51:43] local.INFO: TCP Data received {"connection_id":170863,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:51:43] local.INFO: Processing buffer {"connection_id":170863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:51:43] local.INFO: IMEI packet received {"connection_id":170863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":170863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:51:44] local.INFO: TCP Data received {"connection_id":170863,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:51:44] local.INFO: Processing buffer {"connection_id":170863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:51:44] local.INFO: Packet analysis {"connection_id":170863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:51:44] local.INFO: Extracted packet for processing {"connection_id":170863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855698688001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788499124000,"timestamp_ms":1788499124000,"timestamp_seconds":1788499124,"priority":1,"record_length":96,"hex_timestamp":"000001a06adadf20"} 
[2026-09-04 10:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855698688001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855698688001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:51:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:51:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855698688001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":170863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761697,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:51:44] local.INFO: GPS data processed {"connection_id":170863,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:51:44] local.INFO: Acknowledgment sent {"connection_id":170863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:51:46] local.INFO: TCP Data received {"connection_id":173272,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:51:46] local.INFO: Processing buffer {"connection_id":173272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:51:46] local.INFO: IMEI packet received {"connection_id":173272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":173272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:51:48] local.INFO: TCP Data received {"connection_id":173272,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:51:48] local.INFO: Processing buffer {"connection_id":173272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:51:48] local.INFO: IMEI packet received {"connection_id":173272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":173272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:51:54] local.INFO: TCP Data received {"connection_id":173272,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:51:54] local.INFO: Processing buffer {"connection_id":173272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:51:54] local.INFO: IMEI packet received {"connection_id":173272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":173272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:51:55] local.INFO: TCP Data received {"connection_id":173272,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ada46c8012d1b43800725ca18002a004020..."} 
[2026-09-04 10:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ada46c8012d1b43800725ca18002a004020..."} 
[2026-09-04 10:51:55] local.INFO: Processing buffer {"connection_id":173272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ada46c8012d1b43800725ca18002a004020..."} 
[2026-09-04 10:51:55] local.INFO: Packet analysis {"connection_id":173272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:51:55] local.INFO: Extracted packet for processing {"connection_id":173272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:51:55] local.INFO: GPS Element Parsed {"raw_longitude":756761472,"raw_latitude":119917080,"longitude_deg":75.6761472,"latitude_deg":11.991708,"altitude":42,"angle":64,"satellites":32,"speed":0,"hex_longitude":"2d1b4380","hex_latitude":"0725ca18","is_valid_coordinates":true} 
[2026-09-04 10:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855760640001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17152149465071616,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964554630650796032,"note":"Value kept but may cause issues"} 
[2026-09-04 10:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788499085000,"timestamp_ms":1788499085000,"timestamp_seconds":1788499085,"priority":1,"record_length":96,"hex_timestamp":"000001a06ada46c8"} 
[2026-09-04 10:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-04 10:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855760640001,"66":13200,"92":206,"28":31744,"24":0,"16":17152149465071616,"45":1964554630650796032},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855760640001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:51:55] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:51:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17152149465071616,"km_value":17152149465071.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964554630650796032,"description":"Unknown IO ID 45"} 
[2026-09-04 10:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855760640001,"power":13200,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1964554630650796032}} 
[2026-09-04 10:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":173272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:51:55] local.INFO: GPS data processed {"connection_id":173272,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:51:55] local.INFO: Acknowledgment sent {"connection_id":173272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:52:04] local.INFO: TCP Data received {"connection_id":173273,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:52:04] local.INFO: Processing buffer {"connection_id":173273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:52:04] local.INFO: IMEI packet received {"connection_id":173273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":173273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:52:10] local.INFO: TCP Data received {"connection_id":173273,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:52:10] local.INFO: Processing buffer {"connection_id":173273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:52:10] local.INFO: IMEI packet received {"connection_id":173273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":173273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:52:10] local.INFO: TCP Data received {"connection_id":173273,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:52:10] local.INFO: Processing buffer {"connection_id":173273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:52:10] local.INFO: Packet analysis {"connection_id":173273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:52:10] local.INFO: Extracted packet for processing {"connection_id":173273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:52:10] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855707392001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788499158000,"timestamp_ms":1788499158000,"timestamp_seconds":1788499158,"priority":1,"record_length":96,"hex_timestamp":"000001a06adb63f0"} 
[2026-09-04 10:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 10:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855707392001,"66":25038,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855707392001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:52:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855707392001,"power":25038,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":173273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:52:10] local.INFO: GPS data processed {"connection_id":173273,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:52:10] local.INFO: Acknowledgment sent {"connection_id":173273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:52:15] local.INFO: TCP Data received {"connection_id":173273,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:52:15] local.INFO: Processing buffer {"connection_id":173273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:52:15] local.INFO: Packet analysis {"connection_id":173273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:52:15] local.INFO: Extracted packet for processing {"connection_id":173273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:52:15] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855707392001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788499158000,"timestamp_ms":1788499158000,"timestamp_seconds":1788499158,"priority":1,"record_length":96,"hex_timestamp":"000001a06adb63f0"} 
[2026-09-04 10:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 10:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855707392001,"66":25038,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855707392001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:52:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:52:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855707392001,"power":25038,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":173273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:52:15] local.INFO: GPS data processed {"connection_id":173273,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:52:15] local.INFO: Acknowledgment sent {"connection_id":173273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:52:16] local.INFO: TCP Data received {"connection_id":170863,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:52:16] local.INFO: Processing buffer {"connection_id":170863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:52:16] local.INFO: Packet analysis {"connection_id":170863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:52:16] local.INFO: Extracted packet for processing {"connection_id":170863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855698688001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788499124000,"timestamp_ms":1788499124000,"timestamp_seconds":1788499124,"priority":1,"record_length":96,"hex_timestamp":"000001a06adadf20"} 
[2026-09-04 10:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855698688001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855698688001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:52:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:52:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855698688001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":170863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:52:16] local.INFO: GPS data processed {"connection_id":170863,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:52:16] local.INFO: Acknowledgment sent {"connection_id":170863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:52:27] local.INFO: TCP Data received {"connection_id":173272,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06addb998012d1b42400725c960002d00dd22..."} 
[2026-09-04 10:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06addb998012d1b42400725c960002d00dd22..."} 
[2026-09-04 10:52:27] local.INFO: Processing buffer {"connection_id":173272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06addb998012d1b42400725c960002d00dd22..."} 
[2026-09-04 10:52:27] local.INFO: Packet analysis {"connection_id":173272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06add"} 
[2026-09-04 10:52:27] local.INFO: Extracted packet for processing {"connection_id":173272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06add"} 
[2026-09-04 10:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756761152,"raw_latitude":119916896,"longitude_deg":75.6761152,"latitude_deg":11.9916896,"altitude":45,"angle":221,"satellites":34,"speed":6,"hex_longitude":"2d1b4240","hex_latitude":"0725c960","is_valid_coordinates":true} 
[2026-09-04 10:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855822592001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17152162349973504,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964554630650796032,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788499311000,"timestamp_ms":1788499311000,"timestamp_seconds":1788499311,"priority":1,"record_length":96,"hex_timestamp":"000001a06addb998"} 
[2026-09-04 10:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 10:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855822592001,"66":14265,"92":206,"28":31744,"24":6,"16":17152162349973504,"45":1964554630650796032},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855822592001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:52:27] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:52:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17152162349973504,"km_value":17152162349973.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964554630650796032,"description":"Unknown IO ID 45"} 
[2026-09-04 10:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855822592001,"power":14265,"unknown_92":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1964554630650796032}} 
[2026-09-04 10:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":173272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:52:27] local.INFO: GPS data processed {"connection_id":173272,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:52:27] local.INFO: Acknowledgment sent {"connection_id":173272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:52:37] local.INFO: TCP Data received {"connection_id":171974,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:52:37] local.INFO: Processing buffer {"connection_id":171974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:52:37] local.INFO: IMEI packet received {"connection_id":171974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":171974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:52:42] local.INFO: TCP Data received {"connection_id":171974,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:52:42] local.INFO: Processing buffer {"connection_id":171974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:52:42] local.INFO: IMEI packet received {"connection_id":171974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":171974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:52:44] local.INFO: TCP Data received {"connection_id":171974,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:52:44] local.INFO: Processing buffer {"connection_id":171974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:52:44] local.INFO: Packet analysis {"connection_id":171974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:52:44] local.INFO: Extracted packet for processing {"connection_id":171974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855698688001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788499124000,"timestamp_ms":1788499124000,"timestamp_seconds":1788499124,"priority":1,"record_length":96,"hex_timestamp":"000001a06adadf20"} 
[2026-09-04 10:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":171974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":171974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":171974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855698688001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855698688001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:52:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:52:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855698688001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":171974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761703,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:52:44] local.INFO: GPS data processed {"connection_id":171974,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:52:44] local.INFO: Acknowledgment sent {"connection_id":171974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:52:48] local.INFO: TCP Data received {"connection_id":173274,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:52:48] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:52:48] local.INFO: IMEI packet received {"connection_id":173274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":173274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:52:53] local.INFO: TCP Data received {"connection_id":173274,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:52:53] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:52:53] local.INFO: IMEI packet received {"connection_id":173274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":173274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:52:54] local.INFO: TCP Data received {"connection_id":173274,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06addc938012d1b3f000725c4b0002d00d022..."} 
[2026-09-04 10:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06addc938012d1b3f000725c4b0002d00d022..."} 
[2026-09-04 10:52:54] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06addc938012d1b3f000725c4b0002d00d022..."} 
[2026-09-04 10:52:54] local.INFO: Packet analysis {"connection_id":173274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06add"} 
[2026-09-04 10:52:54] local.INFO: Extracted packet for processing {"connection_id":173274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06add"} 
[2026-09-04 10:52:54] local.INFO: GPS Element Parsed {"raw_longitude":756760320,"raw_latitude":119915696,"longitude_deg":75.676032,"latitude_deg":11.9915696,"altitude":45,"angle":208,"satellites":34,"speed":18,"hex_longitude":"2d1b3f00","hex_latitude":"0725c4b0","is_valid_coordinates":true} 
[2026-09-04 10:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855823616001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17152235364417536,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964202786929860608,"note":"Value kept but may cause issues"} 
[2026-09-04 10:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788499315000,"timestamp_ms":1788499315000,"timestamp_seconds":1788499315,"priority":1,"record_length":96,"hex_timestamp":"000001a06addc938"} 
[2026-09-04 10:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 10:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855823616001,"66":14157,"92":206,"28":31744,"24":18,"16":17152235364417536,"45":1964202786929860608},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855823616001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:52:54] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:52:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17152235364417536,"km_value":17152235364417.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964202786929860608,"description":"Unknown IO ID 45"} 
[2026-09-04 10:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855823616001,"power":14157,"unknown_92":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1964202786929860608}} 
[2026-09-04 10:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":173274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:52:54] local.INFO: GPS data processed {"connection_id":173274,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:52:54] local.INFO: Acknowledgment sent {"connection_id":173274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:53:00] local.INFO: TCP Data received {"connection_id":171975,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:53:00] local.INFO: Processing buffer {"connection_id":171975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:53:00] local.INFO: IMEI packet received {"connection_id":171975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":171975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:53:05] local.INFO: TCP Data received {"connection_id":171975,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:53:05] local.INFO: Processing buffer {"connection_id":171975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:53:05] local.INFO: IMEI packet received {"connection_id":171975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":171975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:53:05] local.INFO: TCP Data received {"connection_id":171975,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:53:05] local.INFO: Processing buffer {"connection_id":171975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:53:05] local.INFO: Packet analysis {"connection_id":171975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:53:05] local.INFO: Extracted packet for processing {"connection_id":171975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:53:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855707392001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788499158000,"timestamp_ms":1788499158000,"timestamp_seconds":1788499158,"priority":1,"record_length":96,"hex_timestamp":"000001a06adb63f0"} 
[2026-09-04 10:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 10:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855707392001,"66":25038,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855707392001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:53:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:53:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855707392001,"power":25038,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":171975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:53:05] local.INFO: GPS data processed {"connection_id":171975,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:53:05] local.INFO: Acknowledgment sent {"connection_id":171975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:53:15] local.INFO: TCP Data received {"connection_id":171974,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:53:15] local.INFO: Processing buffer {"connection_id":171974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:53:15] local.INFO: Packet analysis {"connection_id":171974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:53:15] local.INFO: Extracted packet for processing {"connection_id":171974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855698688001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788499124000,"timestamp_ms":1788499124000,"timestamp_seconds":1788499124,"priority":1,"record_length":96,"hex_timestamp":"000001a06adadf20"} 
[2026-09-04 10:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855698688001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855698688001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:53:15] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:53:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855698688001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":171974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761706,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:53:16] local.INFO: GPS data processed {"connection_id":171974,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:53:16] local.INFO: Acknowledgment sent {"connection_id":171974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:53:26] local.INFO: TCP Data received {"connection_id":173274,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06adde490012d1b3a400725b888002d00bf22..."} 
[2026-09-04 10:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adde490012d1b3a400725b888002d00bf22..."} 
[2026-09-04 10:53:26] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adde490012d1b3a400725b888002d00bf22..."} 
[2026-09-04 10:53:26] local.INFO: Packet analysis {"connection_id":173274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06add"} 
[2026-09-04 10:53:26] local.INFO: Extracted packet for processing {"connection_id":173274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06add"} 
[2026-09-04 10:53:26] local.INFO: GPS Element Parsed {"raw_longitude":756759104,"raw_latitude":119912584,"longitude_deg":75.6759104,"latitude_deg":11.9912584,"altitude":45,"angle":191,"satellites":34,"speed":17,"hex_longitude":"2d1b3a40","hex_latitude":"0725b888","is_valid_coordinates":true} 
[2026-09-04 10:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855824640001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17152398573174784,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963287993255243776,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788499322000,"timestamp_ms":1788499322000,"timestamp_seconds":1788499322,"priority":1,"record_length":96,"hex_timestamp":"000001a06adde490"} 
[2026-09-04 10:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 10:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855824640001,"66":14026,"92":206,"28":31744,"24":17,"16":17152398573174784,"45":1963287993255243776},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855824640001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:53:26] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:53:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17152398573174784,"km_value":17152398573174.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963287993255243776,"description":"Unknown IO ID 45"} 
[2026-09-04 10:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855824640001,"power":14026,"unknown_92":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1963287993255243776}} 
[2026-09-04 10:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":173274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:53:26] local.INFO: GPS data processed {"connection_id":173274,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:53:26] local.INFO: Acknowledgment sent {"connection_id":173274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:53:36] local.INFO: TCP Data received {"connection_id":171975,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:53:36] local.INFO: Processing buffer {"connection_id":171975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:53:36] local.INFO: Packet analysis {"connection_id":171975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:53:36] local.INFO: Extracted packet for processing {"connection_id":171975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:53:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855707392001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788499158000,"timestamp_ms":1788499158000,"timestamp_seconds":1788499158,"priority":1,"record_length":96,"hex_timestamp":"000001a06adb63f0"} 
[2026-09-04 10:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 10:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855707392001,"66":25038,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855707392001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:53:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:53:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855707392001,"power":25038,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":171975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:53:36] local.INFO: GPS data processed {"connection_id":171975,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:53:36] local.INFO: Acknowledgment sent {"connection_id":171975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:53:43] local.INFO: TCP Data received {"connection_id":170566,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:53:43] local.INFO: Processing buffer {"connection_id":170566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:53:43] local.INFO: IMEI packet received {"connection_id":170566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":170566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:53:48] local.INFO: TCP Data received {"connection_id":170566,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:53:48] local.INFO: Processing buffer {"connection_id":170566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:53:48] local.INFO: IMEI packet received {"connection_id":170566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":170566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:53:48] local.INFO: TCP Data received {"connection_id":173275,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:53:48] local.INFO: Processing buffer {"connection_id":173275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:53:48] local.INFO: IMEI packet received {"connection_id":173275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":173275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:53:49] local.INFO: TCP Data received {"connection_id":170566,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:53:49] local.INFO: Processing buffer {"connection_id":170566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:53:49] local.INFO: Packet analysis {"connection_id":170566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:53:49] local.INFO: Extracted packet for processing {"connection_id":170566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:53:49] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855698688001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788499124000,"timestamp_ms":1788499124000,"timestamp_seconds":1788499124,"priority":1,"record_length":96,"hex_timestamp":"000001a06adadf20"} 
[2026-09-04 10:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":170566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":170566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":170566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855698688001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855698688001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:53:49] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:53:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855698688001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":170566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761709,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:53:49] local.INFO: GPS data processed {"connection_id":170566,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:53:49] local.INFO: Acknowledgment sent {"connection_id":170566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:53:53] local.INFO: TCP Data received {"connection_id":170566,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:53:53] local.INFO: Processing buffer {"connection_id":170566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adadf20012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:53:53] local.INFO: Packet analysis {"connection_id":170566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:53:53] local.INFO: Extracted packet for processing {"connection_id":170566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ada"} 
[2026-09-04 10:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855698688001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788499124000,"timestamp_ms":1788499124000,"timestamp_seconds":1788499124,"priority":1,"record_length":96,"hex_timestamp":"000001a06adadf20"} 
[2026-09-04 10:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 10:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855698688001,"66":2133,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855698688001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:53:53] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:53:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855698688001,"power":2133,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":170566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761710,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:53:53] local.INFO: GPS data processed {"connection_id":170566,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:53:53] local.INFO: Acknowledgment sent {"connection_id":170566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:53:54] local.INFO: TCP Data received {"connection_id":173275,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:53:54] local.INFO: Processing buffer {"connection_id":173275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:53:54] local.INFO: IMEI packet received {"connection_id":173275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":173275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:53:55] local.INFO: TCP Data received {"connection_id":173275,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06addf048012d1b39c00725b390002c00b022..."} 
[2026-09-04 10:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06addf048012d1b39c00725b390002c00b022..."} 
[2026-09-04 10:53:55] local.INFO: Processing buffer {"connection_id":173275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06addf048012d1b39c00725b390002c00b022..."} 
[2026-09-04 10:53:55] local.INFO: Packet analysis {"connection_id":173275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06add"} 
[2026-09-04 10:53:55] local.INFO: Extracted packet for processing {"connection_id":173275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06add"} 
[2026-09-04 10:53:55] local.INFO: GPS Element Parsed {"raw_longitude":756758976,"raw_latitude":119911312,"longitude_deg":75.6758976,"latitude_deg":11.9911312,"altitude":44,"angle":176,"satellites":34,"speed":17,"hex_longitude":"2d1b39c0","hex_latitude":"0725b390","is_valid_coordinates":true} 
[2026-09-04 10:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855826432001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17152458702716928,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961950987115071488,"note":"Value kept but may cause issues"} 
[2026-09-04 10:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788499325000,"timestamp_ms":1788499325000,"timestamp_seconds":1788499325,"priority":1,"record_length":96,"hex_timestamp":"000001a06addf048"} 
[2026-09-04 10:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-04 10:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855826432001,"66":13961,"92":206,"28":31744,"24":17,"16":17152458702716928,"45":1961950987115071488},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855826432001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:53:55] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17152458702716928,"km_value":17152458702716.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961950987115071488,"description":"Unknown IO ID 45"} 
[2026-09-04 10:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855826432001,"power":13961,"unknown_92":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1961950987115071488}} 
[2026-09-04 10:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":173275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:53:55] local.INFO: GPS data processed {"connection_id":173275,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:53:55] local.INFO: Acknowledgment sent {"connection_id":173275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:54:00] local.INFO: TCP Data received {"connection_id":170864,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:54:00] local.INFO: Processing buffer {"connection_id":170864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:54:00] local.INFO: IMEI packet received {"connection_id":170864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":170864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:54:05] local.INFO: TCP Data received {"connection_id":170864,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:54:05] local.INFO: Processing buffer {"connection_id":170864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:54:05] local.INFO: IMEI packet received {"connection_id":170864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":170864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:54:05] local.INFO: TCP Data received {"connection_id":170864,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:54:05] local.INFO: Processing buffer {"connection_id":170864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:54:05] local.INFO: Packet analysis {"connection_id":170864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:54:05] local.INFO: Extracted packet for processing {"connection_id":170864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:54:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855707392001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788499158000,"timestamp_ms":1788499158000,"timestamp_seconds":1788499158,"priority":1,"record_length":96,"hex_timestamp":"000001a06adb63f0"} 
[2026-09-04 10:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 10:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855707392001,"66":25038,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855707392001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:54:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:54:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855707392001,"power":25038,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":170864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:54:05] local.INFO: GPS data processed {"connection_id":170864,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:54:05] local.INFO: Acknowledgment sent {"connection_id":170864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:54:26] local.INFO: TCP Data received {"connection_id":173275,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ade0ba0012d1b3bc00725a650002b00a522..."} 
[2026-09-04 10:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ade0ba0012d1b3bc00725a650002b00a522..."} 
[2026-09-04 10:54:26] local.INFO: Processing buffer {"connection_id":173275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ade0ba0012d1b3bc00725a650002b00a522..."} 
[2026-09-04 10:54:26] local.INFO: Packet analysis {"connection_id":173275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ade"} 
[2026-09-04 10:54:26] local.INFO: Extracted packet for processing {"connection_id":173275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ade"} 
[2026-09-04 10:54:26] local.INFO: GPS Element Parsed {"raw_longitude":756759488,"raw_latitude":119907920,"longitude_deg":75.6759488,"latitude_deg":11.990792,"altitude":43,"angle":165,"satellites":34,"speed":24,"hex_longitude":"2d1b3bc0","hex_latitude":"0725a650","is_valid_coordinates":true} 
[2026-09-04 10:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855827200001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17152626206441472,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961810249626390528,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788499332000,"timestamp_ms":1788499332000,"timestamp_seconds":1788499332,"priority":1,"record_length":96,"hex_timestamp":"000001a06ade0ba0"} 
[2026-09-04 10:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-04 10:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855827200001,"66":14070,"92":206,"28":31744,"24":24,"16":17152626206441472,"45":1961810249626390528},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855827200001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:54:26] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:54:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17152626206441472,"km_value":17152626206441.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961810249626390528,"description":"Unknown IO ID 45"} 
[2026-09-04 10:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855827200001,"power":14070,"unknown_92":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1961810249626390528}} 
[2026-09-04 10:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":173275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:54:27] local.INFO: GPS data processed {"connection_id":173275,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:54:27] local.INFO: Acknowledgment sent {"connection_id":173275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:54:36] local.INFO: TCP Data received {"connection_id":170864,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:54:36] local.INFO: Processing buffer {"connection_id":170864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adb63f0012cdb8340073377a0002000082d..."} 
[2026-09-04 10:54:36] local.INFO: Packet analysis {"connection_id":170864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:54:36] local.INFO: Extracted packet for processing {"connection_id":170864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adb"} 
[2026-09-04 10:54:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":32,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855707392001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788499158000,"timestamp_ms":1788499158000,"timestamp_seconds":1788499158,"priority":1,"record_length":96,"hex_timestamp":"000001a06adb63f0"} 
[2026-09-04 10:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 10:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855707392001,"66":25038,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855707392001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:54:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:54:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:54:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855707392001,"power":25038,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":170864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:54:37] local.INFO: GPS data processed {"connection_id":170864,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:54:37] local.INFO: Acknowledgment sent {"connection_id":170864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:54:38] local.INFO: TCP Data received {"connection_id":173276,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:54:38] local.INFO: Processing buffer {"connection_id":173276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:54:38] local.INFO: IMEI packet received {"connection_id":173276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":173276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:54:43] local.INFO: TCP Data received {"connection_id":173276,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:54:43] local.INFO: Processing buffer {"connection_id":173276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:54:43] local.INFO: IMEI packet received {"connection_id":173276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":173276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:54:44] local.INFO: TCP Data received {"connection_id":173276,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:54:44] local.INFO: Processing buffer {"connection_id":173276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:54:44] local.INFO: Packet analysis {"connection_id":173276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:54:44] local.INFO: Extracted packet for processing {"connection_id":173276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855775744001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788499425000,"timestamp_ms":1788499425000,"timestamp_seconds":1788499425,"priority":1,"record_length":96,"hex_timestamp":"000001a06adf76e8"} 
[2026-09-04 10:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855775744001,"66":2079,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855775744001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:54:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:54:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855775744001,"power":2079,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":173276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:54:44] local.INFO: GPS data processed {"connection_id":173276,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:54:44] local.INFO: Acknowledgment sent {"connection_id":173276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:54:48] local.INFO: TCP Data received {"connection_id":170567,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:54:48] local.INFO: Processing buffer {"connection_id":170567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:54:48] local.INFO: IMEI packet received {"connection_id":170567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":170567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:54:49] local.INFO: TCP Data received {"connection_id":170567,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:54:49] local.INFO: Processing buffer {"connection_id":170567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:54:49] local.INFO: IMEI packet received {"connection_id":170567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":170567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:54:54] local.INFO: TCP Data received {"connection_id":170567,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:54:54] local.INFO: Processing buffer {"connection_id":170567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:54:54] local.INFO: IMEI packet received {"connection_id":170567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":170567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:54:55] local.INFO: TCP Data received {"connection_id":170567,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ade1f28012d1b408007259a98002a009922..."} 
[2026-09-04 10:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ade1f28012d1b408007259a98002a009922..."} 
[2026-09-04 10:54:55] local.INFO: Processing buffer {"connection_id":170567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ade1f28012d1b408007259a98002a009922..."} 
[2026-09-04 10:54:55] local.INFO: Packet analysis {"connection_id":170567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ade"} 
[2026-09-04 10:54:55] local.INFO: Extracted packet for processing {"connection_id":170567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ade"} 
[2026-09-04 10:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756760704,"raw_latitude":119904920,"longitude_deg":75.6760704,"latitude_deg":11.990492,"altitude":42,"angle":153,"satellites":34,"speed":26,"hex_longitude":"2d1b4080","hex_latitude":"07259a98","is_valid_coordinates":true} 
[2026-09-04 10:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855828992001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17152785120231424,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962373199578943488,"note":"Value kept but may cause issues"} 
[2026-09-04 10:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788499337000,"timestamp_ms":1788499337000,"timestamp_seconds":1788499337,"priority":1,"record_length":96,"hex_timestamp":"000001a06ade1f28"} 
[2026-09-04 10:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-04 10:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855828992001,"66":13852,"92":206,"28":31744,"24":26,"16":17152785120231424,"45":1962373199578943488},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855828992001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:54:55] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:54:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17152785120231424,"km_value":17152785120231.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962373199578943488,"description":"Unknown IO ID 45"} 
[2026-09-04 10:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855828992001,"power":13852,"unknown_92":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1962373199578943488}} 
[2026-09-04 10:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":170567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:54:55] local.INFO: GPS data processed {"connection_id":170567,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:54:55] local.INFO: Acknowledgment sent {"connection_id":170567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:54:57] local.INFO: TCP Data received {"connection_id":171976,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:54:57] local.INFO: Processing buffer {"connection_id":171976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:54:57] local.INFO: IMEI packet received {"connection_id":171976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":171976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:55:00] local.INFO: TCP Data received {"connection_id":171976,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:55:00] local.INFO: Processing buffer {"connection_id":171976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:55:00] local.INFO: IMEI packet received {"connection_id":171976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":171976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:55:05] local.INFO: TCP Data received {"connection_id":171976,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:55:05] local.INFO: Processing buffer {"connection_id":171976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:55:05] local.INFO: IMEI packet received {"connection_id":171976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":171976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:55:05] local.INFO: TCP Data received {"connection_id":171976,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:55:05] local.INFO: Processing buffer {"connection_id":171976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:55:05] local.INFO: Packet analysis {"connection_id":171976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:55:05] local.INFO: Extracted packet for processing {"connection_id":171976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:55:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":46,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855784448001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788499460000,"timestamp_ms":1788499460000,"timestamp_seconds":1788499460,"priority":1,"record_length":96,"hex_timestamp":"000001a06adfffa0"} 
[2026-09-04 10:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-04 10:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855784448001,"66":25854,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855784448001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:55:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:55:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855784448001,"power":25854,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":171976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:55:05] local.INFO: GPS data processed {"connection_id":171976,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:55:05] local.INFO: Acknowledgment sent {"connection_id":171976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:55:16] local.INFO: TCP Data received {"connection_id":173276,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:55:16] local.INFO: Processing buffer {"connection_id":173276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:55:16] local.INFO: Packet analysis {"connection_id":173276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:55:16] local.INFO: Extracted packet for processing {"connection_id":173276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855775744001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788499425000,"timestamp_ms":1788499425000,"timestamp_seconds":1788499425,"priority":1,"record_length":96,"hex_timestamp":"000001a06adf76e8"} 
[2026-09-04 10:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855775744001,"66":2079,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855775744001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:55:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:55:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855775744001,"power":2079,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":173276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:55:16] local.INFO: GPS data processed {"connection_id":173276,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:55:16] local.INFO: Acknowledgment sent {"connection_id":173276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:55:26] local.INFO: TCP Data received {"connection_id":170567,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ade6d48012d1b4ec007257d60002800a221..."} 
[2026-09-04 10:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ade6d48012d1b4ec007257d60002800a221..."} 
[2026-09-04 10:55:26] local.INFO: Processing buffer {"connection_id":170567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ade6d48012d1b4ec007257d60002800a221..."} 
[2026-09-04 10:55:26] local.INFO: Packet analysis {"connection_id":170567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ade"} 
[2026-09-04 10:55:26] local.INFO: Extracted packet for processing {"connection_id":170567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ade"} 
[2026-09-04 10:55:26] local.INFO: GPS Element Parsed {"raw_longitude":756764352,"raw_latitude":119897440,"longitude_deg":75.6764352,"latitude_deg":11.989744,"altitude":40,"angle":162,"satellites":33,"speed":2,"hex_longitude":"2d1b4ec0","hex_latitude":"07257d60","is_valid_coordinates":true} 
[2026-09-04 10:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855830272001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17153188847157248,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963710205717551104,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788499357000,"timestamp_ms":1788499357000,"timestamp_seconds":1788499357,"priority":1,"record_length":96,"hex_timestamp":"000001a06ade6d48"} 
[2026-09-04 10:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-04 10:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855830272001,"66":14396,"92":206,"28":31744,"24":2,"16":17153188847157248,"45":1963710205717551104},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855830272001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:55:26] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:55:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17153188847157248,"km_value":17153188847157.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963710205717551104,"description":"Unknown IO ID 45"} 
[2026-09-04 10:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855830272001,"power":14396,"unknown_92":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1963710205717551104}} 
[2026-09-04 10:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":170567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:55:26] local.INFO: GPS data processed {"connection_id":170567,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:55:26] local.INFO: Acknowledgment sent {"connection_id":170567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:55:36] local.INFO: TCP Data received {"connection_id":171976,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:55:36] local.INFO: Processing buffer {"connection_id":171976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:55:36] local.INFO: Packet analysis {"connection_id":171976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:55:36] local.INFO: Extracted packet for processing {"connection_id":171976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:55:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":46,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855784448001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788499460000,"timestamp_ms":1788499460000,"timestamp_seconds":1788499460,"priority":1,"record_length":96,"hex_timestamp":"000001a06adfffa0"} 
[2026-09-04 10:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-04 10:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855784448001,"66":25854,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855784448001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:55:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:55:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855784448001,"power":25854,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":171976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:55:37] local.INFO: GPS data processed {"connection_id":171976,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:55:37] local.INFO: Acknowledgment sent {"connection_id":171976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:55:37] local.INFO: TCP Data received {"connection_id":170865,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:55:37] local.INFO: Processing buffer {"connection_id":170865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:55:37] local.INFO: IMEI packet received {"connection_id":170865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":170865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:55:43] local.INFO: TCP Data received {"connection_id":170865,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:55:43] local.INFO: Processing buffer {"connection_id":170865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:55:43] local.INFO: IMEI packet received {"connection_id":170865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":170865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:55:43] local.INFO: TCP Data received {"connection_id":170865,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:55:44] local.INFO: Processing buffer {"connection_id":170865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:55:44] local.INFO: Packet analysis {"connection_id":170865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:55:44] local.INFO: Extracted packet for processing {"connection_id":170865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855775744001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788499425000,"timestamp_ms":1788499425000,"timestamp_seconds":1788499425,"priority":1,"record_length":96,"hex_timestamp":"000001a06adf76e8"} 
[2026-09-04 10:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855775744001,"66":2079,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855775744001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:55:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:55:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855775744001,"power":2079,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":170865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761721,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:55:44] local.INFO: GPS data processed {"connection_id":170865,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:55:44] local.INFO: Acknowledgment sent {"connection_id":170865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:55:48] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:55:48] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:55:48] local.INFO: IMEI packet received {"connection_id":171977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":171977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:55:52] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:55:52] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:55:52] local.INFO: IMEI packet received {"connection_id":171977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":171977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:55:53] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:55:53] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:55:53] local.INFO: IMEI packet received {"connection_id":171977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":171977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:55:54] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ade88a0012d1b4d0007257b000028010522..."} 
[2026-09-04 10:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ade88a0012d1b4d0007257b000028010522..."} 
[2026-09-04 10:55:55] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ade88a0012d1b4d0007257b000028010522..."} 
[2026-09-04 10:55:55] local.INFO: Packet analysis {"connection_id":171977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ade"} 
[2026-09-04 10:55:55] local.INFO: Extracted packet for processing {"connection_id":171977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ade"} 
[2026-09-04 10:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756763904,"raw_latitude":119896832,"longitude_deg":75.6763904,"latitude_deg":11.9896832,"altitude":40,"angle":261,"satellites":34,"speed":5,"hex_longitude":"2d1b4d00","hex_latitude":"07257b00","is_valid_coordinates":true} 
[2026-09-04 10:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855835392001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17153227501862912,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967721224133763072,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788499364000,"timestamp_ms":1788499364000,"timestamp_seconds":1788499364,"priority":1,"record_length":96,"hex_timestamp":"000001a06ade88a0"} 
[2026-09-04 10:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 10:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855835392001,"66":13048,"92":206,"28":31744,"24":5,"16":17153227501862912,"45":1967721224133763072},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855835392001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:55:55] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17153227501862912,"km_value":17153227501862.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967721224133763072,"description":"Unknown IO ID 45"} 
[2026-09-04 10:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855835392001,"power":13048,"unknown_92":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1967721224133763072}} 
[2026-09-04 10:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":171977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:55:55] local.INFO: GPS data processed {"connection_id":171977,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:55:55] local.INFO: Acknowledgment sent {"connection_id":171977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:55:59] local.INFO: TCP Data received {"connection_id":170866,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:55:59] local.INFO: Processing buffer {"connection_id":170866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:55:59] local.INFO: IMEI packet received {"connection_id":170866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":170866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:55:59] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06adec720012d1b4b0007257c700029014022..."} 
[2026-09-04 10:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adec720012d1b4b0007257c700029014022..."} 
[2026-09-04 10:55:59] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adec720012d1b4b0007257c700029014022..."} 
[2026-09-04 10:55:59] local.INFO: Packet analysis {"connection_id":171977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ade"} 
[2026-09-04 10:55:59] local.INFO: Extracted packet for processing {"connection_id":171977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ade"} 
[2026-09-04 10:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756763392,"raw_latitude":119897200,"longitude_deg":75.6763392,"latitude_deg":11.98972,"altitude":41,"angle":320,"satellites":34,"speed":6,"hex_longitude":"2d1b4b00","hex_latitude":"07257c70","is_valid_coordinates":true} 
[2026-09-04 10:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855837184001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17153261861601280,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967228642924363776,"note":"Value kept but may cause issues"} 
[2026-09-04 10:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788499380000,"timestamp_ms":1788499380000,"timestamp_seconds":1788499380,"priority":1,"record_length":96,"hex_timestamp":"000001a06adec720"} 
[2026-09-04 10:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-04 10:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855837184001,"66":13156,"92":206,"28":31744,"24":6,"16":17153261861601280,"45":1967228642924363776},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855837184001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:55:59] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:55:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17153261861601280,"km_value":17153261861601.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967228642924363776,"description":"Unknown IO ID 45"} 
[2026-09-04 10:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855837184001,"power":13156,"unknown_92":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1967228642924363776}} 
[2026-09-04 10:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":171977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:56:00] local.INFO: GPS data processed {"connection_id":171977,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:56:00] local.INFO: Acknowledgment sent {"connection_id":171977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:56:05] local.INFO: TCP Data received {"connection_id":170866,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:56:05] local.INFO: Processing buffer {"connection_id":170866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:56:05] local.INFO: IMEI packet received {"connection_id":170866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":170866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:56:05] local.INFO: TCP Data received {"connection_id":170866,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:56:05] local.INFO: Processing buffer {"connection_id":170866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:56:05] local.INFO: Packet analysis {"connection_id":170866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:56:05] local.INFO: Extracted packet for processing {"connection_id":170866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:56:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":46,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855784448001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788499460000,"timestamp_ms":1788499460000,"timestamp_seconds":1788499460,"priority":1,"record_length":96,"hex_timestamp":"000001a06adfffa0"} 
[2026-09-04 10:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-04 10:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855784448001,"66":25854,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855784448001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:56:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:56:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855784448001,"power":25854,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":170866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:56:05] local.INFO: GPS data processed {"connection_id":170866,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:56:05] local.INFO: Acknowledgment sent {"connection_id":170866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:56:15] local.INFO: TCP Data received {"connection_id":170865,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:56:15] local.INFO: Processing buffer {"connection_id":170865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:56:15] local.INFO: Packet analysis {"connection_id":170865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:56:15] local.INFO: Extracted packet for processing {"connection_id":170865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855775744001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788499425000,"timestamp_ms":1788499425000,"timestamp_seconds":1788499425,"priority":1,"record_length":96,"hex_timestamp":"000001a06adf76e8"} 
[2026-09-04 10:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855775744001,"66":2079,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855775744001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:56:15] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:56:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855775744001,"power":2079,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":170865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:56:15] local.INFO: GPS data processed {"connection_id":170865,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:56:15] local.INFO: Acknowledgment sent {"connection_id":170865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:56:31] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06adf1540012d1b4a4007257d300029014023..."} 
[2026-09-04 10:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adf1540012d1b4a4007257d300029014023..."} 
[2026-09-04 10:56:31] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adf1540012d1b4a4007257d300029014023..."} 
[2026-09-04 10:56:31] local.INFO: Packet analysis {"connection_id":171977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:56:31] local.INFO: Extracted packet for processing {"connection_id":171977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756763200,"raw_latitude":119897392,"longitude_deg":75.67632,"latitude_deg":11.9897392,"altitude":41,"angle":320,"satellites":35,"speed":0,"hex_longitude":"2d1b4a40","hex_latitude":"07257d30","is_valid_coordinates":true} 
[2026-09-04 10:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855841280001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17153274746503168,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966665692971036672,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788499400000,"timestamp_ms":1788499400000,"timestamp_seconds":1788499400,"priority":1,"record_length":96,"hex_timestamp":"000001a06adf1540"} 
[2026-09-04 10:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-04 10:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855841280001,"66":13015,"92":206,"28":31744,"24":0,"16":17153274746503168,"45":1966665692971036672},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855841280001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:56:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17153274746503168,"km_value":17153274746503.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966665692971036672,"description":"Unknown IO ID 45"} 
[2026-09-04 10:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855841280001,"power":13015,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1966665692971036672}} 
[2026-09-04 10:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":171977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:56:31] local.INFO: GPS data processed {"connection_id":171977,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:56:31] local.INFO: Acknowledgment sent {"connection_id":171977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:56:36] local.INFO: TCP Data received {"connection_id":170866,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:56:36] local.INFO: Processing buffer {"connection_id":170866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:56:36] local.INFO: Packet analysis {"connection_id":170866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:56:36] local.INFO: Extracted packet for processing {"connection_id":170866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:56:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":46,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855784448001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788499460000,"timestamp_ms":1788499460000,"timestamp_seconds":1788499460,"priority":1,"record_length":96,"hex_timestamp":"000001a06adfffa0"} 
[2026-09-04 10:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-04 10:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855784448001,"66":25854,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855784448001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:56:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:56:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855784448001,"power":25854,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":170866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:56:36] local.INFO: GPS data processed {"connection_id":170866,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:56:36] local.INFO: Acknowledgment sent {"connection_id":170866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:56:38] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:56:38] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:56:38] local.INFO: IMEI packet received {"connection_id":171978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":171978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:56:43] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:56:43] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:56:43] local.INFO: IMEI packet received {"connection_id":171978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":171978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:56:45] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:56:45] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:56:45] local.INFO: Packet analysis {"connection_id":171978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:56:45] local.INFO: Extracted packet for processing {"connection_id":171978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855775744001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788499425000,"timestamp_ms":1788499425000,"timestamp_seconds":1788499425,"priority":1,"record_length":96,"hex_timestamp":"000001a06adf76e8"} 
[2026-09-04 10:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":171978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855775744001,"66":2079,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855775744001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:56:45] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:56:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855775744001,"power":2079,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":171978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:56:45] local.INFO: GPS data processed {"connection_id":171978,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:56:45] local.INFO: Acknowledgment sent {"connection_id":171978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:56:49] local.INFO: TCP Data received {"connection_id":173277,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:56:49] local.INFO: Processing buffer {"connection_id":173277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:56:49] local.INFO: IMEI packet received {"connection_id":173277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":173277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:56:49] local.INFO: TCP Data received {"connection_id":173277,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:56:49] local.INFO: Processing buffer {"connection_id":173277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:56:49] local.INFO: IMEI packet received {"connection_id":173277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":173277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:56:50] local.INFO: TCP Data received {"connection_id":173277,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:56:50] local.INFO: Processing buffer {"connection_id":173277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:56:50] local.INFO: IMEI packet received {"connection_id":173277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":173277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:56:54] local.INFO: TCP Data received {"connection_id":173277,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:56:54] local.INFO: Processing buffer {"connection_id":173277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:56:54] local.INFO: IMEI packet received {"connection_id":173277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":173277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:56:54] local.INFO: TCP Data received {"connection_id":173277,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06adf6360012d1b4a4007257d300029014022..."} 
[2026-09-04 10:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adf6360012d1b4a4007257d300029014022..."} 
[2026-09-04 10:56:54] local.INFO: Processing buffer {"connection_id":173277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adf6360012d1b4a4007257d300029014022..."} 
[2026-09-04 10:56:54] local.INFO: Packet analysis {"connection_id":173277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:56:54] local.INFO: Extracted packet for processing {"connection_id":173277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:56:54] local.INFO: GPS Element Parsed {"raw_longitude":756763200,"raw_latitude":119897392,"longitude_deg":75.67632,"latitude_deg":11.9897392,"altitude":41,"angle":320,"satellites":34,"speed":0,"hex_longitude":"2d1b4a40","hex_latitude":"07257d30","is_valid_coordinates":true} 
[2026-09-04 10:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855846400001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17153274746503168,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966454586738552832,"note":"Value kept but may cause issues"} 
[2026-09-04 10:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788499420000,"timestamp_ms":1788499420000,"timestamp_seconds":1788499420,"priority":1,"record_length":96,"hex_timestamp":"000001a06adf6360"} 
[2026-09-04 10:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-04 10:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855846400001,"66":13048,"92":206,"28":31744,"24":0,"16":17153274746503168,"45":1966454586738552832},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-09-04 10:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855846400001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:56:54] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 10:56:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17153274746503168,"km_value":17153274746503.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966454586738552832,"description":"Unknown IO ID 45"} 
[2026-09-04 10:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855846400001,"power":13048,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1966454586738552832}} 
[2026-09-04 10:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":173277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:56:55] local.INFO: GPS data processed {"connection_id":173277,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:56:55] local.INFO: Acknowledgment sent {"connection_id":173277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:57:05] local.INFO: TCP Data received {"connection_id":170568,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:57:05] local.INFO: Processing buffer {"connection_id":170568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:57:05] local.INFO: IMEI packet received {"connection_id":170568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":170568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:57:09] local.INFO: TCP Data received {"connection_id":170568,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:57:09] local.INFO: Processing buffer {"connection_id":170568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:57:09] local.INFO: IMEI packet received {"connection_id":170568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":170568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:57:10] local.INFO: TCP Data received {"connection_id":170568,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:57:10] local.INFO: Processing buffer {"connection_id":170568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:57:10] local.INFO: Packet analysis {"connection_id":170568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:57:10] local.INFO: Extracted packet for processing {"connection_id":170568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:57:10] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":46,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855784448001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788499460000,"timestamp_ms":1788499460000,"timestamp_seconds":1788499460,"priority":1,"record_length":96,"hex_timestamp":"000001a06adfffa0"} 
[2026-09-04 10:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-04 10:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855784448001,"66":25854,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855784448001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:57:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855784448001,"power":25854,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":170568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:57:10] local.INFO: GPS data processed {"connection_id":170568,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:57:10] local.INFO: Acknowledgment sent {"connection_id":170568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:57:15] local.INFO: TCP Data received {"connection_id":170568,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:57:15] local.INFO: Processing buffer {"connection_id":170568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:57:15] local.INFO: Packet analysis {"connection_id":170568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:57:15] local.INFO: Extracted packet for processing {"connection_id":170568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:57:15] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":46,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855784448001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788499460000,"timestamp_ms":1788499460000,"timestamp_seconds":1788499460,"priority":1,"record_length":96,"hex_timestamp":"000001a06adfffa0"} 
[2026-09-04 10:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-04 10:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855784448001,"66":25854,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855784448001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:57:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:57:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855784448001,"power":25854,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":170568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:57:15] local.INFO: GPS data processed {"connection_id":170568,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:57:15] local.INFO: Acknowledgment sent {"connection_id":170568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:57:16] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:57:16] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:57:16] local.INFO: Packet analysis {"connection_id":171978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:57:16] local.INFO: Extracted packet for processing {"connection_id":171978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855775744001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788499425000,"timestamp_ms":1788499425000,"timestamp_seconds":1788499425,"priority":1,"record_length":96,"hex_timestamp":"000001a06adf76e8"} 
[2026-09-04 10:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855775744001,"66":2079,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855775744001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:57:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:57:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855775744001,"power":2079,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":171978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:57:16] local.INFO: GPS data processed {"connection_id":171978,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:57:16] local.INFO: Acknowledgment sent {"connection_id":171978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:57:27] local.INFO: TCP Data received {"connection_id":173277,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae22668012d1b660007255fd0002500a625..."} 
[2026-09-04 10:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae22668012d1b660007255fd0002500a625..."} 
[2026-09-04 10:57:27] local.INFO: Processing buffer {"connection_id":173277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae22668012d1b660007255fd0002500a625..."} 
[2026-09-04 10:57:27] local.INFO: Packet analysis {"connection_id":173277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae2"} 
[2026-09-04 10:57:27] local.INFO: Extracted packet for processing {"connection_id":173277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae2"} 
[2026-09-04 10:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756770304,"raw_latitude":119889872,"longitude_deg":75.6770304,"latitude_deg":11.9889872,"altitude":37,"angle":166,"satellites":37,"speed":24,"hex_longitude":"2d1b6600","hex_latitude":"07255fd0","is_valid_coordinates":true} 
[2026-09-04 10:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855896832001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17153833092251648,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973280354922371072,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788499601000,"timestamp_ms":1788499601000,"timestamp_seconds":1788499601,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae22668"} 
[2026-09-04 10:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-04 10:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855896832001,"66":14428,"91":206,"28":31744,"24":24,"16":17153833092251648,"45":1973280354922371072},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-04 10:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855896832001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:57:27] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 10:57:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17153833092251648,"km_value":17153833092251.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973280354922371072,"description":"Unknown IO ID 45"} 
[2026-09-04 10:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855896832001,"power":14428,"unknown_91":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1973280354922371072}} 
[2026-09-04 10:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":173277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:57:27] local.INFO: GPS data processed {"connection_id":173277,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:57:27] local.INFO: Acknowledgment sent {"connection_id":173277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:57:38] local.INFO: TCP Data received {"connection_id":173278,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:57:38] local.INFO: Processing buffer {"connection_id":173278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:57:38] local.INFO: IMEI packet received {"connection_id":173278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":173278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:57:42] local.INFO: TCP Data received {"connection_id":173278,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:57:42] local.INFO: Processing buffer {"connection_id":173278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:57:42] local.INFO: IMEI packet received {"connection_id":173278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":173278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:57:44] local.INFO: TCP Data received {"connection_id":173278,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:57:44] local.INFO: Processing buffer {"connection_id":173278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:57:44] local.INFO: Packet analysis {"connection_id":173278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:57:44] local.INFO: Extracted packet for processing {"connection_id":173278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855775744001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788499425000,"timestamp_ms":1788499425000,"timestamp_seconds":1788499425,"priority":1,"record_length":96,"hex_timestamp":"000001a06adf76e8"} 
[2026-09-04 10:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855775744001,"66":2079,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855775744001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:57:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:57:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855775744001,"power":2079,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":173278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:57:44] local.INFO: GPS data processed {"connection_id":173278,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:57:44] local.INFO: Acknowledgment sent {"connection_id":173278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:57:53] local.INFO: TCP Data received {"connection_id":170867,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:57:53] local.INFO: Processing buffer {"connection_id":170867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:57:53] local.INFO: IMEI packet received {"connection_id":170867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":170867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:57:53] local.INFO: TCP Data received {"connection_id":170867,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:57:53] local.INFO: Processing buffer {"connection_id":170867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:57:53] local.INFO: IMEI packet received {"connection_id":170867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":170867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:57:59] local.INFO: TCP Data received {"connection_id":170867,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:57:59] local.INFO: Processing buffer {"connection_id":170867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:57:59] local.INFO: IMEI packet received {"connection_id":170867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":170867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:58:00] local.INFO: TCP Data received {"connection_id":170868,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:58:00] local.INFO: Processing buffer {"connection_id":170868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:58:00] local.INFO: IMEI packet received {"connection_id":170868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":170868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:58:00] local.INFO: TCP Data received {"connection_id":170867,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae23220012d1b6700072558a0002500b225..."} 
[2026-09-04 10:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae23220012d1b6700072558a0002500b225..."} 
[2026-09-04 10:58:00] local.INFO: Processing buffer {"connection_id":170867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae23220012d1b6700072558a0002500b225..."} 
[2026-09-04 10:58:00] local.INFO: Packet analysis {"connection_id":170867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae2"} 
[2026-09-04 10:58:00] local.INFO: Extracted packet for processing {"connection_id":170867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae2"} 
[2026-09-04 10:58:00] local.INFO: GPS Element Parsed {"raw_longitude":756770560,"raw_latitude":119888032,"longitude_deg":75.677056,"latitude_deg":11.9888032,"altitude":37,"angle":178,"satellites":37,"speed":26,"hex_longitude":"2d1b6700","hex_latitude":"072558a0","is_valid_coordinates":true} 
[2026-09-04 10:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855897856001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17153923286564864,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974265517340348416,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788499604000,"timestamp_ms":1788499604000,"timestamp_seconds":1788499604,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae23220"} 
[2026-09-04 10:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 10:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855897856001,"66":14407,"91":206,"28":31744,"24":26,"16":17153923286564864,"45":1974265517340348416},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-04 10:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855897856001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:58:00] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 10:58:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17153923286564864,"km_value":17153923286564.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974265517340348416,"description":"Unknown IO ID 45"} 
[2026-09-04 10:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855897856001,"power":14407,"unknown_91":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1974265517340348416}} 
[2026-09-04 10:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":170867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:58:00] local.INFO: GPS data processed {"connection_id":170867,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:58:00] local.INFO: Acknowledgment sent {"connection_id":170867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:58:01] local.INFO: TCP Data received {"connection_id":170867,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae241c0012d1b668007254e68002500be25..."} 
[2026-09-04 10:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae241c0012d1b668007254e68002500be25..."} 
[2026-09-04 10:58:01] local.INFO: Processing buffer {"connection_id":170867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae241c0012d1b668007254e68002500be25..."} 
[2026-09-04 10:58:01] local.INFO: Packet analysis {"connection_id":170867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae2"} 
[2026-09-04 10:58:01] local.INFO: Extracted packet for processing {"connection_id":170867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae2"} 
[2026-09-04 10:58:01] local.INFO: GPS Element Parsed {"raw_longitude":756770432,"raw_latitude":119885416,"longitude_deg":75.6770432,"latitude_deg":11.9885416,"altitude":37,"angle":190,"satellites":37,"speed":28,"hex_longitude":"2d1b6680","hex_latitude":"07254e68","is_valid_coordinates":true} 
[2026-09-04 10:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855898624001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17154052135583744,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974546992316588032,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788499608000,"timestamp_ms":1788499608000,"timestamp_seconds":1788499608,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae241c0"} 
[2026-09-04 10:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 10:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855898624001,"66":14428,"91":206,"28":31744,"24":28,"16":17154052135583744,"45":1974546992316588032},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-04 10:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855898624001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:58:01] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 10:58:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17154052135583744,"km_value":17154052135583.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974546992316588032,"description":"Unknown IO ID 45"} 
[2026-09-04 10:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855898624001,"power":14428,"unknown_91":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1974546992316588032}} 
[2026-09-04 10:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":170867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:58:01] local.INFO: GPS data processed {"connection_id":170867,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:58:01] local.INFO: Acknowledgment sent {"connection_id":170867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:58:05] local.INFO: TCP Data received {"connection_id":170868,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:58:05] local.INFO: Processing buffer {"connection_id":170868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:58:05] local.INFO: IMEI packet received {"connection_id":170868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":170868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:58:05] local.INFO: TCP Data received {"connection_id":170868,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:58:05] local.INFO: Processing buffer {"connection_id":170868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:58:05] local.INFO: Packet analysis {"connection_id":170868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:58:05] local.INFO: Extracted packet for processing {"connection_id":170868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:58:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":46,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855784448001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788499460000,"timestamp_ms":1788499460000,"timestamp_seconds":1788499460,"priority":1,"record_length":96,"hex_timestamp":"000001a06adfffa0"} 
[2026-09-04 10:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-04 10:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855784448001,"66":25854,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855784448001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:58:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855784448001,"power":25854,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":170868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:58:05] local.INFO: GPS data processed {"connection_id":170868,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:58:05] local.INFO: Acknowledgment sent {"connection_id":170868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:58:16] local.INFO: TCP Data received {"connection_id":173278,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:58:16] local.INFO: Processing buffer {"connection_id":173278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:58:16] local.INFO: Packet analysis {"connection_id":173278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:58:16] local.INFO: Extracted packet for processing {"connection_id":173278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855775744001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788499425000,"timestamp_ms":1788499425000,"timestamp_seconds":1788499425,"priority":1,"record_length":96,"hex_timestamp":"000001a06adf76e8"} 
[2026-09-04 10:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855775744001,"66":2079,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855775744001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:58:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:58:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855775744001,"power":2079,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":173278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:58:16] local.INFO: GPS data processed {"connection_id":173278,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:58:16] local.INFO: Acknowledgment sent {"connection_id":173278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:58:33] local.INFO: TCP Data received {"connection_id":170867,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae270a0012d1b5fc007252c58002700c224..."} 
[2026-09-04 10:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae270a0012d1b5fc007252c58002700c224..."} 
[2026-09-04 10:58:33] local.INFO: Processing buffer {"connection_id":170867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae270a0012d1b5fc007252c58002700c224..."} 
[2026-09-04 10:58:33] local.INFO: Packet analysis {"connection_id":170867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae2"} 
[2026-09-04 10:58:33] local.INFO: Extracted packet for processing {"connection_id":170867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae2"} 
[2026-09-04 10:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119876696,"longitude_deg":75.6768704,"latitude_deg":11.9876696,"altitude":39,"angle":194,"satellites":36,"speed":24,"hex_longitude":"2d1b5fc0","hex_latitude":"07252c58","is_valid_coordinates":true} 
[2026-09-04 10:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855899648001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17154481632313344,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974406254827563008,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788499620000,"timestamp_ms":1788499620000,"timestamp_seconds":1788499620,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae270a0"} 
[2026-09-04 10:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 10:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":170867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":170867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":170867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855899648001,"66":14363,"91":206,"28":31744,"24":24,"16":17154481632313344,"45":1974406254827563008},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-04 10:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855899648001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:58:33] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 10:58:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17154481632313344,"km_value":17154481632313.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974406254827563008,"description":"Unknown IO ID 45"} 
[2026-09-04 10:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855899648001,"power":14363,"unknown_91":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1974406254827563008}} 
[2026-09-04 10:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":170867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:58:33] local.INFO: GPS data processed {"connection_id":170867,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:58:33] local.INFO: Acknowledgment sent {"connection_id":170867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:58:36] local.INFO: TCP Data received {"connection_id":170868,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:58:36] local.INFO: Processing buffer {"connection_id":170868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:58:36] local.INFO: Packet analysis {"connection_id":170868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:58:36] local.INFO: Extracted packet for processing {"connection_id":170868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:58:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":46,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855784448001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788499460000,"timestamp_ms":1788499460000,"timestamp_seconds":1788499460,"priority":1,"record_length":96,"hex_timestamp":"000001a06adfffa0"} 
[2026-09-04 10:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-04 10:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855784448001,"66":25854,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855784448001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:58:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:58:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855784448001,"power":25854,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":170868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:58:36] local.INFO: GPS data processed {"connection_id":170868,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:58:36] local.INFO: Acknowledgment sent {"connection_id":170868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:58:42] local.INFO: TCP Data received {"connection_id":170569,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:58:42] local.INFO: Processing buffer {"connection_id":170569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:58:42] local.INFO: IMEI packet received {"connection_id":170569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":170569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:58:47] local.INFO: TCP Data received {"connection_id":170569,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:58:47] local.INFO: Processing buffer {"connection_id":170569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:58:47] local.INFO: IMEI packet received {"connection_id":170569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":170569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:58:48] local.INFO: TCP Data received {"connection_id":170569,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:58:48] local.INFO: Processing buffer {"connection_id":170569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:58:48] local.INFO: Packet analysis {"connection_id":170569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:58:48] local.INFO: Extracted packet for processing {"connection_id":170569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855775744001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788499425000,"timestamp_ms":1788499425000,"timestamp_seconds":1788499425,"priority":1,"record_length":96,"hex_timestamp":"000001a06adf76e8"} 
[2026-09-04 10:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":170569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":170569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":170569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855775744001,"66":2079,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855775744001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:58:48] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:58:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855775744001,"power":2079,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":170569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761741,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:58:48] local.INFO: GPS data processed {"connection_id":170569,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:58:48] local.INFO: Acknowledgment sent {"connection_id":170569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:58:48] local.INFO: TCP Data received {"connection_id":170570,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:58:48] local.INFO: Processing buffer {"connection_id":170570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:58:48] local.INFO: IMEI packet received {"connection_id":170570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":170570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:58:51] local.INFO: TCP Data received {"connection_id":170570,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:58:51] local.INFO: Processing buffer {"connection_id":170570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:58:51] local.INFO: IMEI packet received {"connection_id":170570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":170570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:58:52] local.INFO: TCP Data received {"connection_id":170570,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae2a750012d1b598007250a00002800bc23..."} 
[2026-09-04 10:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae2a750012d1b598007250a00002800bc23..."} 
[2026-09-04 10:58:52] local.INFO: Processing buffer {"connection_id":170570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae2a750012d1b598007250a00002800bc23..."} 
[2026-09-04 10:58:52] local.INFO: Packet analysis {"connection_id":170570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae2"} 
[2026-09-04 10:58:52] local.INFO: Extracted packet for processing {"connection_id":170570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae2"} 
[2026-09-04 10:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119867904,"longitude_deg":75.6767104,"latitude_deg":11.9867904,"altitude":40,"angle":188,"satellites":35,"speed":26,"hex_longitude":"2d1b5980","hex_latitude":"07250a00","is_valid_coordinates":true} 
[2026-09-04 10:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855902720001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17154915424010240,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732533760,"note":"Value kept but may cause issues"} 
[2026-09-04 10:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788499634000,"timestamp_ms":1788499634000,"timestamp_seconds":1788499634,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae2a750"} 
[2026-09-04 10:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-04 10:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":170570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":170570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":170570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855902720001,"66":14363,"91":206,"28":31744,"24":26,"16":17154915424010240,"45":1972506298732533760},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-04 10:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855902720001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:58:52] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 10:58:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17154915424010240,"km_value":17154915424010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732533760,"description":"Unknown IO ID 45"} 
[2026-09-04 10:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855902720001,"power":14363,"unknown_91":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1972506298732533760}} 
[2026-09-04 10:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":170570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:58:52] local.INFO: GPS data processed {"connection_id":170570,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:58:52] local.INFO: Acknowledgment sent {"connection_id":170570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:59:00] local.INFO: TCP Data received {"connection_id":173279,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:59:00] local.INFO: Processing buffer {"connection_id":173279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:59:00] local.INFO: IMEI packet received {"connection_id":173279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":173279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:59:05] local.INFO: TCP Data received {"connection_id":173279,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:59:05] local.INFO: Processing buffer {"connection_id":173279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:59:05] local.INFO: IMEI packet received {"connection_id":173279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":173279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:59:05] local.INFO: TCP Data received {"connection_id":173279,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:59:05] local.INFO: Processing buffer {"connection_id":173279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:59:05] local.INFO: Packet analysis {"connection_id":173279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:59:05] local.INFO: Extracted packet for processing {"connection_id":173279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:59:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":46,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855784448001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788499460000,"timestamp_ms":1788499460000,"timestamp_seconds":1788499460,"priority":1,"record_length":96,"hex_timestamp":"000001a06adfffa0"} 
[2026-09-04 10:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-04 10:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855784448001,"66":25854,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855784448001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:59:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:59:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855784448001,"power":25854,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":173279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:59:05] local.INFO: GPS data processed {"connection_id":173279,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:59:05] local.INFO: Acknowledgment sent {"connection_id":173279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:59:21] local.INFO: TCP Data received {"connection_id":170569,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:59:21] local.INFO: Processing buffer {"connection_id":170569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adf76e8012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:59:21] local.INFO: Packet analysis {"connection_id":170569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:59:21] local.INFO: Extracted packet for processing {"connection_id":170569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:59:21] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855775744001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788499425000,"timestamp_ms":1788499425000,"timestamp_seconds":1788499425,"priority":1,"record_length":96,"hex_timestamp":"000001a06adf76e8"} 
[2026-09-04 10:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 10:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":170569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":170569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":170569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855775744001,"66":2079,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855775744001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:59:21] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:59:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855775744001,"power":2079,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":170569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:59:21] local.INFO: GPS data processed {"connection_id":170569,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:59:21] local.INFO: Acknowledgment sent {"connection_id":170569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:59:23] local.INFO: TCP Data received {"connection_id":170570,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae2c2a8012d1b59400724f8d0002800ab24..."} 
[2026-09-04 10:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae2c2a8012d1b59400724f8d0002800ab24..."} 
[2026-09-04 10:59:23] local.INFO: Processing buffer {"connection_id":170570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae2c2a8012d1b59400724f8d0002800ab24..."} 
[2026-09-04 10:59:23] local.INFO: Packet analysis {"connection_id":170570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae2"} 
[2026-09-04 10:59:23] local.INFO: Extracted packet for processing {"connection_id":170570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae2"} 
[2026-09-04 10:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756767040,"raw_latitude":119863504,"longitude_deg":75.676704,"latitude_deg":11.9863504,"altitude":40,"angle":171,"satellites":36,"speed":24,"hex_longitude":"2d1b5940","hex_latitude":"0724f8d0","is_valid_coordinates":true} 
[2026-09-04 10:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855906304001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17155130172375040,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747080125841408,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788499641000,"timestamp_ms":1788499641000,"timestamp_seconds":1788499641,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae2c2a8"} 
[2026-09-04 10:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-04 10:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":170570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":170570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":170570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855906304001,"66":14428,"91":206,"28":31744,"24":24,"16":17155130172375040,"45":1970747080125841408},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-04 10:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855906304001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:59:23] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 10:59:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17155130172375040,"km_value":17155130172375.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747080125841408,"description":"Unknown IO ID 45"} 
[2026-09-04 10:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855906304001,"power":14428,"unknown_91":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1970747080125841408}} 
[2026-09-04 10:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":170570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:59:24] local.INFO: GPS data processed {"connection_id":170570,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:59:24] local.INFO: Acknowledgment sent {"connection_id":170570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:59:36] local.INFO: TCP Data received {"connection_id":173279,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:59:36] local.INFO: Processing buffer {"connection_id":173279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06adfffa0012cdb8340073377a0001a00082e..."} 
[2026-09-04 10:59:36] local.INFO: Packet analysis {"connection_id":173279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:59:36] local.INFO: Extracted packet for processing {"connection_id":173279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06adf"} 
[2026-09-04 10:59:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":46,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 10:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855784448001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788499460000,"timestamp_ms":1788499460000,"timestamp_seconds":1788499460,"priority":1,"record_length":96,"hex_timestamp":"000001a06adfffa0"} 
[2026-09-04 10:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-04 10:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 10:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 10:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 10:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855784448001,"66":25854,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 10:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 10:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 10:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855784448001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:59:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 10:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 10:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:59:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 10:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855784448001,"power":25854,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 10:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":173279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:59:36] local.INFO: GPS data processed {"connection_id":173279,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:59:36] local.INFO: Acknowledgment sent {"connection_id":173279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:59:38] local.INFO: TCP Data received {"connection_id":170571,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:59:38] local.INFO: Processing buffer {"connection_id":170571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:59:38] local.INFO: IMEI packet received {"connection_id":170571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 10:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":170571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:59:43] local.INFO: TCP Data received {"connection_id":170571,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:59:43] local.INFO: Processing buffer {"connection_id":170571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 10:59:43] local.INFO: IMEI packet received {"connection_id":170571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 10:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":170571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:59:44] local.INFO: TCP Data received {"connection_id":170571,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:59:44] local.INFO: Processing buffer {"connection_id":170571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 10:59:44] local.INFO: Packet analysis {"connection_id":170571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 10:59:44] local.INFO: Extracted packet for processing {"connection_id":170571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 10:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 10:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855852800001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788499726000,"timestamp_ms":1788499726000,"timestamp_seconds":1788499726,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae40eb0"} 
[2026-09-04 10:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 10:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":117210982187008301,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3378568042119168,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503606663446528,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":34816,"corrected_to":0} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":85,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-7421924863917948916,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84780700213356744,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-4122341766362588928,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":6,"raw_value":-6284623746212771284,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124549772345344,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993192278528,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7388156073939894296,"corrected_to":0} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18685542997517960,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:44] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,136,28,24,241,158,16,163,160,223,45,200,12,44,10,66,71,175,240,85,2,51,8,98,106,6,239,69,205,113,4],"length":523,"final_offset":653,"validated_count":31,"validation_warnings":[{"io_id":200,"original":34816,"validated":0},{"io_id":205,"original":7388156073939894296,"validated":0}]} 
[2026-09-04 10:59:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864913418782507008,"timestamp_seconds":864913418782507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 10:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 10:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 10:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 10:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855852800001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 10:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 10:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 10:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855852800001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:59:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 10:59:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 10:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 10:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855852800001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 10:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":170571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761747,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:59:44] local.INFO: GPS data processed {"connection_id":170571,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:59:44] local.INFO: Acknowledgment sent {"connection_id":170571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:59:49] local.INFO: TCP Data received {"connection_id":170869,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:59:49] local.INFO: Processing buffer {"connection_id":170869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:59:49] local.INFO: IMEI packet received {"connection_id":170869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 10:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":170869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:59:54] local.INFO: TCP Data received {"connection_id":170869,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:59:54] local.INFO: Processing buffer {"connection_id":170869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 10:59:54] local.INFO: IMEI packet received {"connection_id":170869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 10:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":170869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 10:59:56] local.INFO: TCP Data received {"connection_id":170869,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae2f958012d1b5bc00724dce0002900b625..."} 
[2026-09-04 10:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae2f958012d1b5bc00724dce0002900b625..."} 
[2026-09-04 10:59:56] local.INFO: Processing buffer {"connection_id":170869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae2f958012d1b5bc00724dce0002900b625..."} 
[2026-09-04 10:59:56] local.INFO: Packet analysis {"connection_id":170869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae2"} 
[2026-09-04 10:59:56] local.INFO: Extracted packet for processing {"connection_id":170869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae2"} 
[2026-09-04 10:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756767680,"raw_latitude":119856352,"longitude_deg":75.676768,"latitude_deg":11.9856352,"altitude":41,"angle":182,"satellites":37,"speed":16,"hex_longitude":"2d1b5bc0","hex_latitude":"0724dce0","is_valid_coordinates":true} 
[2026-09-04 10:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 10:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855908096001,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17155478064726016,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711380537344,"note":"Value kept but may cause issues"} 
[2026-09-04 10:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 10:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788499655000,"timestamp_ms":1788499655000,"timestamp_seconds":1788499655,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae2f958"} 
[2026-09-04 10:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 10:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 10:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 10:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 10:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 10:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 10:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 10:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 10:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 10:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 10:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 10:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 10:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855908096001,"66":14515,"91":206,"28":31744,"24":16,"16":17155478064726016,"45":1970676711380537344},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-04 10:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 10:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 10:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855908096001,"description":"Unknown IO ID 0"} 
[2026-09-04 10:59:56] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 10:59:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 10:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17155478064726016,"km_value":17155478064726.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 10:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711380537344,"description":"Unknown IO ID 45"} 
[2026-09-04 10:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855908096001,"power":14515,"unknown_91":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1970676711380537344}} 
[2026-09-04 10:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":170869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 10:59:56] local.INFO: GPS data processed {"connection_id":170869,"processed":1,"errors":0,"total":1} 
[2026-09-04 10:59:56] local.INFO: Acknowledgment sent {"connection_id":170869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 10:59:58] local.INFO: TCP Data received {"connection_id":171979,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:59:58] local.INFO: Processing buffer {"connection_id":171979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:59:58] local.INFO: IMEI packet received {"connection_id":171979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 10:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":171979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 10:59:59] local.INFO: TCP Data received {"connection_id":171979,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:59:59] local.INFO: Processing buffer {"connection_id":171979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 10:59:59] local.INFO: IMEI packet received {"connection_id":171979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 10:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":171979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:00:05] local.INFO: TCP Data received {"connection_id":171979,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:00:05] local.INFO: Processing buffer {"connection_id":171979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:00:05] local.INFO: IMEI packet received {"connection_id":171979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":171979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:00:05] local.INFO: TCP Data received {"connection_id":171979,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:00:05] local.INFO: Processing buffer {"connection_id":171979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:00:05] local.INFO: Packet analysis {"connection_id":171979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:00:05] local.INFO: Extracted packet for processing {"connection_id":171979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:00:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855861760001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788499761000,"timestamp_ms":1788499761000,"timestamp_seconds":1788499761,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae49768"} 
[2026-09-04 11:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 11:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855861760001,"66":25778,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855861760001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:00:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855861760001,"power":25778,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":171979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:00:05] local.INFO: GPS data processed {"connection_id":171979,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:00:05] local.INFO: Acknowledgment sent {"connection_id":171979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:00:16] local.INFO: TCP Data received {"connection_id":170571,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:00:16] local.INFO: Processing buffer {"connection_id":170571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:00:16] local.INFO: Packet analysis {"connection_id":170571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:00:16] local.INFO: Extracted packet for processing {"connection_id":170571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855852800001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788499726000,"timestamp_ms":1788499726000,"timestamp_seconds":1788499726,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae40eb0"} 
[2026-09-04 11:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":117210982187008301,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3378568042119168,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503606663446528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":34816,"corrected_to":0} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":85,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-7421924863917948916,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84780700213356744,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-4122341766362588928,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":6,"raw_value":-6284623746212771284,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124549772345344,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993192278528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7388156073939894296,"corrected_to":0} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18685542997517960,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:16] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,136,28,24,241,158,16,163,160,223,45,200,12,44,10,66,71,175,240,85,2,51,8,98,106,6,239,69,205,113,4],"length":523,"final_offset":653,"validated_count":31,"validation_warnings":[{"io_id":200,"original":34816,"validated":0},{"io_id":205,"original":7388156073939894296,"validated":0}]} 
[2026-09-04 11:00:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864913418782507008,"timestamp_seconds":864913418782507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855852800001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855852800001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:00:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:00:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855852800001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":170571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:00:16] local.INFO: GPS data processed {"connection_id":170571,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:00:16] local.INFO: Acknowledgment sent {"connection_id":170571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:00:28] local.INFO: TCP Data received {"connection_id":170869,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae32450012d1b58c00724c830002800c124..."} 
[2026-09-04 11:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae32450012d1b58c00724c830002800c124..."} 
[2026-09-04 11:00:28] local.INFO: Processing buffer {"connection_id":170869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae32450012d1b58c00724c830002800c124..."} 
[2026-09-04 11:00:28] local.INFO: Packet analysis {"connection_id":170869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae3"} 
[2026-09-04 11:00:28] local.INFO: Extracted packet for processing {"connection_id":170869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae3"} 
[2026-09-04 11:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119851056,"longitude_deg":75.6766912,"latitude_deg":11.9851056,"altitude":40,"angle":193,"satellites":36,"speed":25,"hex_longitude":"2d1b58c0","hex_latitude":"0724c830","is_valid_coordinates":true} 
[2026-09-04 11:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855911680001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17155740057731072,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971380398820483072,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788499666000,"timestamp_ms":1788499666000,"timestamp_seconds":1788499666,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae32450"} 
[2026-09-04 11:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 11:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855911680001,"66":14559,"91":206,"28":31744,"24":25,"16":17155740057731072,"45":1971380398820483072},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-09-04 11:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855911680001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:00:28] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 11:00:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17155740057731072,"km_value":17155740057731.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971380398820483072,"description":"Unknown IO ID 45"} 
[2026-09-04 11:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855911680001,"power":14559,"unknown_91":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1971380398820483072}} 
[2026-09-04 11:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":170869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:00:28] local.INFO: GPS data processed {"connection_id":170869,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:00:28] local.INFO: Acknowledgment sent {"connection_id":170869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:00:36] local.INFO: TCP Data received {"connection_id":171979,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:00:36] local.INFO: Processing buffer {"connection_id":171979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:00:36] local.INFO: Packet analysis {"connection_id":171979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:00:36] local.INFO: Extracted packet for processing {"connection_id":171979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:00:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855861760001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788499761000,"timestamp_ms":1788499761000,"timestamp_seconds":1788499761,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae49768"} 
[2026-09-04 11:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 11:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855861760001,"66":25778,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855861760001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:00:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:00:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855861760001,"power":25778,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":171979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:00:36] local.INFO: GPS data processed {"connection_id":171979,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:00:36] local.INFO: Acknowledgment sent {"connection_id":171979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:00:43] local.INFO: TCP Data received {"connection_id":170870,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:00:43] local.INFO: Processing buffer {"connection_id":170870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:00:43] local.INFO: IMEI packet received {"connection_id":170870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":170870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:00:48] local.INFO: TCP Data received {"connection_id":170870,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:00:48] local.INFO: Processing buffer {"connection_id":170870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:00:48] local.INFO: IMEI packet received {"connection_id":170870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":170870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:00:48] local.INFO: TCP Data received {"connection_id":171980,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:00:48] local.INFO: Processing buffer {"connection_id":171980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:00:48] local.INFO: IMEI packet received {"connection_id":171980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":171980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:00:49] local.INFO: TCP Data received {"connection_id":170870,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:00:49] local.INFO: Processing buffer {"connection_id":170870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:00:49] local.INFO: Packet analysis {"connection_id":170870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:00:49] local.INFO: Extracted packet for processing {"connection_id":170870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855852800001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788499726000,"timestamp_ms":1788499726000,"timestamp_seconds":1788499726,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae40eb0"} 
[2026-09-04 11:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":117210982187008301,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3378568042119168,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503606663446528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":34816,"corrected_to":0} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":85,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-7421924863917948916,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84780700213356744,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-4122341766362588928,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":6,"raw_value":-6284623746212771284,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124549772345344,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993192278528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7388156073939894296,"corrected_to":0} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18685542997517960,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:49] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,136,28,24,241,158,16,163,160,223,45,200,12,44,10,66,71,175,240,85,2,51,8,98,106,6,239,69,205,113,4],"length":523,"final_offset":653,"validated_count":31,"validation_warnings":[{"io_id":200,"original":34816,"validated":0},{"io_id":205,"original":7388156073939894296,"validated":0}]} 
[2026-09-04 11:00:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864913418782507008,"timestamp_seconds":864913418782507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":170870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":170870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":170870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855852800001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855852800001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:00:49] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:00:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855852800001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":170870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:00:49] local.INFO: GPS data processed {"connection_id":170870,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:00:49] local.INFO: Acknowledgment sent {"connection_id":170870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:00:51] local.INFO: TCP Data received {"connection_id":171980,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:00:51] local.INFO: Processing buffer {"connection_id":171980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:00:51] local.INFO: IMEI packet received {"connection_id":171980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":171980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:00:53] local.INFO: TCP Data received {"connection_id":171980,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:00:53] local.INFO: Processing buffer {"connection_id":171980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:00:53] local.INFO: IMEI packet received {"connection_id":171980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":171980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:00:54] local.INFO: TCP Data received {"connection_id":170870,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:00:54] local.INFO: Processing buffer {"connection_id":170870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:00:54] local.INFO: Packet analysis {"connection_id":170870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:00:54] local.INFO: Extracted packet for processing {"connection_id":170870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:00:54] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855852800001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788499726000,"timestamp_ms":1788499726000,"timestamp_seconds":1788499726,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae40eb0"} 
[2026-09-04 11:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":117210982187008301,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3378568042119168,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503606663446528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":34816,"corrected_to":0} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":85,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-7421924863917948916,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84780700213356744,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-4122341766362588928,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":6,"raw_value":-6284623746212771284,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124549772345344,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993192278528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7388156073939894296,"corrected_to":0} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18685542997517960,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:54] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,136,28,24,241,158,16,163,160,223,45,200,12,44,10,66,71,175,240,85,2,51,8,98,106,6,239,69,205,113,4],"length":523,"final_offset":653,"validated_count":31,"validation_warnings":[{"io_id":200,"original":34816,"validated":0},{"io_id":205,"original":7388156073939894296,"validated":0}]} 
[2026-09-04 11:00:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864913418782507008,"timestamp_seconds":864913418782507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855852800001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855852800001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:00:54] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:00:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855852800001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":170870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:00:54] local.INFO: GPS data processed {"connection_id":170870,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:00:54] local.INFO: Acknowledgment sent {"connection_id":170870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:00:55] local.INFO: TCP Data received {"connection_id":171980,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae4be78012d1ae1c0072447f0003000ca25..."} 
[2026-09-04 11:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae4be78012d1ae1c0072447f0003000ca25..."} 
[2026-09-04 11:00:55] local.INFO: Processing buffer {"connection_id":171980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae4be78012d1ae1c0072447f0003000ca25..."} 
[2026-09-04 11:00:55] local.INFO: Packet analysis {"connection_id":171980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:00:55] local.INFO: Extracted packet for processing {"connection_id":171980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756736448,"raw_latitude":119818224,"longitude_deg":75.6736448,"latitude_deg":11.9818224,"altitude":48,"angle":202,"satellites":37,"speed":8,"hex_longitude":"2d1ae1c0","hex_latitude":"072447f0","is_valid_coordinates":true} 
[2026-09-04 11:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855937536001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157939080986624,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941121838816063488,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788499771000,"timestamp_ms":1788499771000,"timestamp_seconds":1788499771,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae4be78"} 
[2026-09-04 11:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-04 11:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855937536001,"66":13167,"111":206,"28":31744,"24":8,"16":17157939080986624,"45":1941121838816063488},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855937536001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:00:55] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157939080986624,"km_value":17157939080986.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941121838816063488,"description":"Unknown IO ID 45"} 
[2026-09-04 11:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855937536001,"power":13167,"unknown_111":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1941121838816063488}} 
[2026-09-04 11:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":171980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:00:55] local.INFO: GPS data processed {"connection_id":171980,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:00:55] local.INFO: Acknowledgment sent {"connection_id":171980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:00:59] local.INFO: TCP Data received {"connection_id":170572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:00:59] local.INFO: Processing buffer {"connection_id":170572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:00:59] local.INFO: IMEI packet received {"connection_id":170572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":170572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:00:59] local.INFO: TCP Data received {"connection_id":171980,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae50c98012d1ae0c0072445d8002e00ca24..."} 
[2026-09-04 11:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae50c98012d1ae0c0072445d8002e00ca24..."} 
[2026-09-04 11:00:59] local.INFO: Processing buffer {"connection_id":171980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae50c98012d1ae0c0072445d8002e00ca24..."} 
[2026-09-04 11:00:59] local.INFO: Packet analysis {"connection_id":171980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae5"} 
[2026-09-04 11:00:59] local.INFO: Extracted packet for processing {"connection_id":171980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae5"} 
[2026-09-04 11:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":36,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855941376001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937040451652022272,"note":"Value kept but may cause issues"} 
[2026-09-04 11:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788499791000,"timestamp_ms":1788499791000,"timestamp_seconds":1788499791,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae50c98"} 
[2026-09-04 11:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-04 11:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855941376001,"66":13080,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1937040451652022272},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855941376001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:00:59] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:00:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937040451652022272,"description":"Unknown IO ID 45"} 
[2026-09-04 11:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855941376001,"power":13080,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1937040451652022272}} 
[2026-09-04 11:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":171980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:00:59] local.INFO: GPS data processed {"connection_id":171980,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:00:59] local.INFO: Acknowledgment sent {"connection_id":171980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:01:05] local.INFO: TCP Data received {"connection_id":170572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:01:05] local.INFO: Processing buffer {"connection_id":170572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:01:05] local.INFO: IMEI packet received {"connection_id":170572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":170572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:01:06] local.INFO: TCP Data received {"connection_id":170572,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:01:06] local.INFO: Processing buffer {"connection_id":170572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:01:06] local.INFO: Packet analysis {"connection_id":170572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:01:06] local.INFO: Extracted packet for processing {"connection_id":170572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:01:06] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855861760001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788499761000,"timestamp_ms":1788499761000,"timestamp_seconds":1788499761,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae49768"} 
[2026-09-04 11:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 11:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855861760001,"66":25778,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855861760001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:01:06] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855861760001,"power":25778,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":170572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:01:06] local.INFO: GPS data processed {"connection_id":170572,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:01:06] local.INFO: Acknowledgment sent {"connection_id":170572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:01:31] local.INFO: TCP Data received {"connection_id":171980,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae56288012d1ae0c0072445d8002e00ca24..."} 
[2026-09-04 11:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae56288012d1ae0c0072445d8002e00ca24..."} 
[2026-09-04 11:01:31] local.INFO: Processing buffer {"connection_id":171980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae56288012d1ae0c0072445d8002e00ca24..."} 
[2026-09-04 11:01:31] local.INFO: Packet analysis {"connection_id":171980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae5"} 
[2026-09-04 11:01:31] local.INFO: Extracted packet for processing {"connection_id":171980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae5"} 
[2026-09-04 11:01:31] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":36,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855946496001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675174400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788499813000,"timestamp_ms":1788499813000,"timestamp_seconds":1788499813,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae56288"} 
[2026-09-04 11:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 11:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855946496001,"66":13015,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1936758976675174400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855946496001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:01:31] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675174400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855946496001,"power":13015,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1936758976675174400}} 
[2026-09-04 11:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":171980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:01:31] local.INFO: GPS data processed {"connection_id":171980,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:01:31] local.INFO: Acknowledgment sent {"connection_id":171980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:01:37] local.INFO: TCP Data received {"connection_id":170572,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:01:37] local.INFO: Processing buffer {"connection_id":170572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:01:37] local.INFO: Packet analysis {"connection_id":170572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:01:37] local.INFO: Extracted packet for processing {"connection_id":170572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:01:37] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855861760001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788499761000,"timestamp_ms":1788499761000,"timestamp_seconds":1788499761,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae49768"} 
[2026-09-04 11:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 11:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855861760001,"66":25778,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855861760001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:01:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855861760001,"power":25778,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":170572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:01:37] local.INFO: GPS data processed {"connection_id":170572,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:01:37] local.INFO: Acknowledgment sent {"connection_id":170572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:01:38] local.INFO: TCP Data received {"connection_id":170573,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:01:38] local.INFO: Processing buffer {"connection_id":170573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:01:38] local.INFO: IMEI packet received {"connection_id":170573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":170573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:01:43] local.INFO: TCP Data received {"connection_id":170573,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:01:43] local.INFO: Processing buffer {"connection_id":170573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:01:43] local.INFO: IMEI packet received {"connection_id":170573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":170573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:01:44] local.INFO: TCP Data received {"connection_id":170573,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:01:44] local.INFO: Processing buffer {"connection_id":170573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:01:44] local.INFO: Packet analysis {"connection_id":170573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:01:44] local.INFO: Extracted packet for processing {"connection_id":170573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855852800001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788499726000,"timestamp_ms":1788499726000,"timestamp_seconds":1788499726,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae40eb0"} 
[2026-09-04 11:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":117210982187008301,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3378568042119168,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503606663446528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":34816,"corrected_to":0} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":85,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-7421924863917948916,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84780700213356744,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-4122341766362588928,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":6,"raw_value":-6284623746212771284,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124549772345344,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993192278528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7388156073939894296,"corrected_to":0} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18685542997517960,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:44] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,136,28,24,241,158,16,163,160,223,45,200,12,44,10,66,71,175,240,85,2,51,8,98,106,6,239,69,205,113,4],"length":523,"final_offset":653,"validated_count":31,"validation_warnings":[{"io_id":200,"original":34816,"validated":0},{"io_id":205,"original":7388156073939894296,"validated":0}]} 
[2026-09-04 11:01:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864913418782507008,"timestamp_seconds":864913418782507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855852800001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855852800001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:01:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:01:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855852800001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":170573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:01:44] local.INFO: GPS data processed {"connection_id":170573,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:01:44] local.INFO: Acknowledgment sent {"connection_id":170573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:01:48] local.INFO: TCP Data received {"connection_id":171981,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:01:48] local.INFO: Processing buffer {"connection_id":171981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:01:48] local.INFO: IMEI packet received {"connection_id":171981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":171981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:01:49] local.INFO: TCP Data received {"connection_id":170573,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:01:49] local.INFO: Processing buffer {"connection_id":170573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:01:49] local.INFO: Packet analysis {"connection_id":170573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:01:49] local.INFO: Extracted packet for processing {"connection_id":170573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855852800001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788499726000,"timestamp_ms":1788499726000,"timestamp_seconds":1788499726,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae40eb0"} 
[2026-09-04 11:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":117210982187008301,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3378568042119168,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503606663446528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":34816,"corrected_to":0} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":85,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-7421924863917948916,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84780700213356744,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-4122341766362588928,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":6,"raw_value":-6284623746212771284,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124549772345344,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993192278528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7388156073939894296,"corrected_to":0} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18685542997517960,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:49] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,136,28,24,241,158,16,163,160,223,45,200,12,44,10,66,71,175,240,85,2,51,8,98,106,6,239,69,205,113,4],"length":523,"final_offset":653,"validated_count":31,"validation_warnings":[{"io_id":200,"original":34816,"validated":0},{"io_id":205,"original":7388156073939894296,"validated":0}]} 
[2026-09-04 11:01:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864913418782507008,"timestamp_seconds":864913418782507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":170573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":170573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":170573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855852800001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855852800001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:01:49] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:01:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855852800001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":170573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761761,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:01:49] local.INFO: GPS data processed {"connection_id":170573,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:01:49] local.INFO: Acknowledgment sent {"connection_id":170573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:01:54] local.INFO: TCP Data received {"connection_id":171981,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:01:54] local.INFO: Processing buffer {"connection_id":171981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:01:54] local.INFO: IMEI packet received {"connection_id":171981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":171981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:01:55] local.INFO: TCP Data received {"connection_id":171981,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae5b490012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae5b490012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:01:55] local.INFO: Processing buffer {"connection_id":171981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae5b490012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:01:55] local.INFO: Packet analysis {"connection_id":171981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae5"} 
[2026-09-04 11:01:55] local.INFO: Extracted packet for processing {"connection_id":171981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae5"} 
[2026-09-04 11:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":38,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855952128001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675174400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788499834000,"timestamp_ms":1788499834000,"timestamp_seconds":1788499834,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae5b490"} 
[2026-09-04 11:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-04 11:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855952128001,"66":13004,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1936758976675174400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855952128001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:01:55] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675174400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855952128001,"power":13004,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1936758976675174400}} 
[2026-09-04 11:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":171981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:01:55] local.INFO: GPS data processed {"connection_id":171981,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:01:55] local.INFO: Acknowledgment sent {"connection_id":171981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:02:05] local.INFO: TCP Data received {"connection_id":171982,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:02:05] local.INFO: Processing buffer {"connection_id":171982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:02:05] local.INFO: IMEI packet received {"connection_id":171982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":171982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:02:10] local.INFO: TCP Data received {"connection_id":171982,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:02:10] local.INFO: Processing buffer {"connection_id":171982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:02:10] local.INFO: IMEI packet received {"connection_id":171982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":171982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:02:10] local.INFO: TCP Data received {"connection_id":171982,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:02:10] local.INFO: Processing buffer {"connection_id":171982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:02:10] local.INFO: Packet analysis {"connection_id":171982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:02:10] local.INFO: Extracted packet for processing {"connection_id":171982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:02:10] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855861760001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788499761000,"timestamp_ms":1788499761000,"timestamp_seconds":1788499761,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae49768"} 
[2026-09-04 11:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 11:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855861760001,"66":25778,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855861760001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:02:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855861760001,"power":25778,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":171982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:02:10] local.INFO: GPS data processed {"connection_id":171982,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:02:10] local.INFO: Acknowledgment sent {"connection_id":171982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:02:15] local.INFO: TCP Data received {"connection_id":171982,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:02:15] local.INFO: Processing buffer {"connection_id":171982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:02:15] local.INFO: Packet analysis {"connection_id":171982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:02:15] local.INFO: Extracted packet for processing {"connection_id":171982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:02:15] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855861760001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788499761000,"timestamp_ms":1788499761000,"timestamp_seconds":1788499761,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae49768"} 
[2026-09-04 11:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 11:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855861760001,"66":25778,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855861760001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:02:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855861760001,"power":25778,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":171982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:02:15] local.INFO: GPS data processed {"connection_id":171982,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:02:15] local.INFO: Acknowledgment sent {"connection_id":171982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:02:21] local.INFO: TCP Data received {"connection_id":170573,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:02:21] local.INFO: Processing buffer {"connection_id":170573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:02:21] local.INFO: Packet analysis {"connection_id":170573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:02:21] local.INFO: Extracted packet for processing {"connection_id":170573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855852800001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788499726000,"timestamp_ms":1788499726000,"timestamp_seconds":1788499726,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae40eb0"} 
[2026-09-04 11:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":117210982187008301,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3378568042119168,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503606663446528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":34816,"corrected_to":0} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":85,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-7421924863917948916,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84780700213356744,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-4122341766362588928,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":6,"raw_value":-6284623746212771284,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124549772345344,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993192278528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7388156073939894296,"corrected_to":0} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18685542997517960,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:21] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,136,28,24,241,158,16,163,160,223,45,200,12,44,10,66,71,175,240,85,2,51,8,98,106,6,239,69,205,113,4],"length":523,"final_offset":653,"validated_count":31,"validation_warnings":[{"io_id":200,"original":34816,"validated":0},{"io_id":205,"original":7388156073939894296,"validated":0}]} 
[2026-09-04 11:02:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864913418782507008,"timestamp_seconds":864913418782507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":170573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":170573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":170573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855852800001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855852800001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:02:21] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:02:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855852800001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":170573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761765,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:02:21] local.INFO: GPS data processed {"connection_id":170573,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:02:21] local.INFO: Acknowledgment sent {"connection_id":170573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:02:26] local.INFO: TCP Data received {"connection_id":171981,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae60698012d1ae0c0072445d8002e00ca27..."} 
[2026-09-04 11:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae60698012d1ae0c0072445d8002e00ca27..."} 
[2026-09-04 11:02:26] local.INFO: Processing buffer {"connection_id":171981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae60698012d1ae0c0072445d8002e00ca27..."} 
[2026-09-04 11:02:26] local.INFO: Packet analysis {"connection_id":171981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae6"} 
[2026-09-04 11:02:26] local.INFO: Extracted packet for processing {"connection_id":171981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae6"} 
[2026-09-04 11:02:26] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":39,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855957504001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675174400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788499855000,"timestamp_ms":1788499855000,"timestamp_seconds":1788499855,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae60698"} 
[2026-09-04 11:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 11:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855957504001,"66":12939,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1936758976675174400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855957504001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:02:26] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:02:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675174400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855957504001,"power":12939,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1936758976675174400}} 
[2026-09-04 11:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":171981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:02:26] local.INFO: GPS data processed {"connection_id":171981,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:02:26] local.INFO: Acknowledgment sent {"connection_id":171981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:02:38] local.INFO: TCP Data received {"connection_id":170574,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:02:38] local.INFO: Processing buffer {"connection_id":170574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:02:38] local.INFO: IMEI packet received {"connection_id":170574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":170574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:02:43] local.INFO: TCP Data received {"connection_id":170574,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:02:43] local.INFO: Processing buffer {"connection_id":170574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:02:43] local.INFO: IMEI packet received {"connection_id":170574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":170574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:02:44] local.INFO: TCP Data received {"connection_id":170574,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:02:44] local.INFO: Processing buffer {"connection_id":170574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:02:44] local.INFO: Packet analysis {"connection_id":170574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:02:44] local.INFO: Extracted packet for processing {"connection_id":170574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:02:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855852800001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788499726000,"timestamp_ms":1788499726000,"timestamp_seconds":1788499726,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae40eb0"} 
[2026-09-04 11:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":117210982187008301,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3378568042119168,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503606663446528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":34816,"corrected_to":0} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":85,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-7421924863917948916,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84780700213356744,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-4122341766362588928,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":6,"raw_value":-6284623746212771284,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124549772345344,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993192278528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7388156073939894296,"corrected_to":0} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18685542997517960,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:44] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,136,28,24,241,158,16,163,160,223,45,200,12,44,10,66,71,175,240,85,2,51,8,98,106,6,239,69,205,113,4],"length":523,"final_offset":653,"validated_count":31,"validation_warnings":[{"io_id":200,"original":34816,"validated":0},{"io_id":205,"original":7388156073939894296,"validated":0}]} 
[2026-09-04 11:02:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864913418782507008,"timestamp_seconds":864913418782507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855852800001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855852800001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:02:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:02:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855852800001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":170574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761767,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:02:44] local.INFO: GPS data processed {"connection_id":170574,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:02:44] local.INFO: Acknowledgment sent {"connection_id":170574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:02:48] local.INFO: TCP Data received {"connection_id":171983,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:02:48] local.INFO: Processing buffer {"connection_id":171983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:02:48] local.INFO: IMEI packet received {"connection_id":171983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":171983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:02:53] local.INFO: TCP Data received {"connection_id":171983,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:02:53] local.INFO: Processing buffer {"connection_id":171983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:02:53] local.INFO: IMEI packet received {"connection_id":171983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":171983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:02:55] local.INFO: TCP Data received {"connection_id":171983,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae658a0012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae658a0012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:02:55] local.INFO: Processing buffer {"connection_id":171983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae658a0012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:02:55] local.INFO: Packet analysis {"connection_id":171983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae6"} 
[2026-09-04 11:02:55] local.INFO: Extracted packet for processing {"connection_id":171983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae6"} 
[2026-09-04 11:02:55] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":38,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855962880001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675174400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788499876000,"timestamp_ms":1788499876000,"timestamp_seconds":1788499876,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae658a0"} 
[2026-09-04 11:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-04 11:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855962880001,"66":12841,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1936758976675174400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855962880001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:02:55] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:02:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675174400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855962880001,"power":12841,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1936758976675174400}} 
[2026-09-04 11:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":171983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:02:55] local.INFO: GPS data processed {"connection_id":171983,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:02:55] local.INFO: Acknowledgment sent {"connection_id":171983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:03:00] local.INFO: TCP Data received {"connection_id":170871,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:03:00] local.INFO: Processing buffer {"connection_id":170871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:03:00] local.INFO: IMEI packet received {"connection_id":170871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":170871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:03:05] local.INFO: TCP Data received {"connection_id":170871,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:03:05] local.INFO: Processing buffer {"connection_id":170871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:03:05] local.INFO: IMEI packet received {"connection_id":170871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":170871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:03:05] local.INFO: TCP Data received {"connection_id":170871,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:03:05] local.INFO: Processing buffer {"connection_id":170871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:03:05] local.INFO: Packet analysis {"connection_id":170871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:03:05] local.INFO: Extracted packet for processing {"connection_id":170871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:03:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855861760001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788499761000,"timestamp_ms":1788499761000,"timestamp_seconds":1788499761,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae49768"} 
[2026-09-04 11:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 11:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855861760001,"66":25778,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855861760001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:03:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:03:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855861760001,"power":25778,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":170871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:03:05] local.INFO: GPS data processed {"connection_id":170871,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:03:05] local.INFO: Acknowledgment sent {"connection_id":170871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:03:16] local.INFO: TCP Data received {"connection_id":170574,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:03:16] local.INFO: Processing buffer {"connection_id":170574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:03:16] local.INFO: Packet analysis {"connection_id":170574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:03:16] local.INFO: Extracted packet for processing {"connection_id":170574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855852800001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788499726000,"timestamp_ms":1788499726000,"timestamp_seconds":1788499726,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae40eb0"} 
[2026-09-04 11:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":117210982187008301,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3378568042119168,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503606663446528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":34816,"corrected_to":0} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":85,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-7421924863917948916,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84780700213356744,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-4122341766362588928,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":6,"raw_value":-6284623746212771284,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124549772345344,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993192278528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7388156073939894296,"corrected_to":0} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18685542997517960,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:16] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,136,28,24,241,158,16,163,160,223,45,200,12,44,10,66,71,175,240,85,2,51,8,98,106,6,239,69,205,113,4],"length":523,"final_offset":653,"validated_count":31,"validation_warnings":[{"io_id":200,"original":34816,"validated":0},{"io_id":205,"original":7388156073939894296,"validated":0}]} 
[2026-09-04 11:03:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864913418782507008,"timestamp_seconds":864913418782507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855852800001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855852800001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:03:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:03:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855852800001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":170574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761770,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:03:16] local.INFO: GPS data processed {"connection_id":170574,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:03:16] local.INFO: Acknowledgment sent {"connection_id":170574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:03:26] local.INFO: TCP Data received {"connection_id":171983,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae6aaa8012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae6aaa8012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:03:26] local.INFO: Processing buffer {"connection_id":171983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae6aaa8012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:03:26] local.INFO: Packet analysis {"connection_id":171983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae6"} 
[2026-09-04 11:03:26] local.INFO: Extracted packet for processing {"connection_id":171983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae6"} 
[2026-09-04 11:03:26] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":38,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855968256001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675174400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788499897000,"timestamp_ms":1788499897000,"timestamp_seconds":1788499897,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae6aaa8"} 
[2026-09-04 11:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 11:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855968256001,"66":12852,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1936758976675174400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855968256001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:03:26] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:03:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675174400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855968256001,"power":12852,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1936758976675174400}} 
[2026-09-04 11:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":171983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:03:26] local.INFO: GPS data processed {"connection_id":171983,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:03:26] local.INFO: Acknowledgment sent {"connection_id":171983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:03:37] local.INFO: TCP Data received {"connection_id":170871,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:03:37] local.INFO: Processing buffer {"connection_id":170871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:03:37] local.INFO: Packet analysis {"connection_id":170871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:03:37] local.INFO: Extracted packet for processing {"connection_id":170871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855861760001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788499761000,"timestamp_ms":1788499761000,"timestamp_seconds":1788499761,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae49768"} 
[2026-09-04 11:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 11:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855861760001,"66":25778,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855861760001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:03:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:03:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855861760001,"power":25778,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":170871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:03:37] local.INFO: GPS data processed {"connection_id":170871,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:03:37] local.INFO: Acknowledgment sent {"connection_id":170871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:03:37] local.INFO: TCP Data received {"connection_id":171984,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:03:37] local.INFO: Processing buffer {"connection_id":171984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:03:37] local.INFO: IMEI packet received {"connection_id":171984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":171984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:03:43] local.INFO: TCP Data received {"connection_id":171984,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:03:43] local.INFO: Processing buffer {"connection_id":171984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:03:43] local.INFO: IMEI packet received {"connection_id":171984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":171984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:03:44] local.INFO: TCP Data received {"connection_id":171984,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:03:44] local.INFO: Processing buffer {"connection_id":171984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:03:44] local.INFO: Packet analysis {"connection_id":171984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:03:44] local.INFO: Extracted packet for processing {"connection_id":171984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855852800001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788499726000,"timestamp_ms":1788499726000,"timestamp_seconds":1788499726,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae40eb0"} 
[2026-09-04 11:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":117210982187008301,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3378568042119168,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503606663446528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":34816,"corrected_to":0} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":85,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-7421924863917948916,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84780700213356744,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-4122341766362588928,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":6,"raw_value":-6284623746212771284,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124549772345344,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993192278528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7388156073939894296,"corrected_to":0} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18685542997517960,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:44] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,136,28,24,241,158,16,163,160,223,45,200,12,44,10,66,71,175,240,85,2,51,8,98,106,6,239,69,205,113,4],"length":523,"final_offset":653,"validated_count":31,"validation_warnings":[{"io_id":200,"original":34816,"validated":0},{"io_id":205,"original":7388156073939894296,"validated":0}]} 
[2026-09-04 11:03:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864913418782507008,"timestamp_seconds":864913418782507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":171984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":171984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":171984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855852800001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855852800001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:03:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:03:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855852800001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":171984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:03:44] local.INFO: GPS data processed {"connection_id":171984,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:03:44] local.INFO: Acknowledgment sent {"connection_id":171984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:03:48] local.INFO: TCP Data received {"connection_id":170575,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:03:48] local.INFO: Processing buffer {"connection_id":170575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:03:48] local.INFO: IMEI packet received {"connection_id":170575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":170575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:03:53] local.INFO: TCP Data received {"connection_id":170575,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:03:53] local.INFO: Processing buffer {"connection_id":170575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:03:53] local.INFO: IMEI packet received {"connection_id":170575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":170575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:03:55] local.INFO: TCP Data received {"connection_id":170575,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae6fcb0012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae6fcb0012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:03:55] local.INFO: Processing buffer {"connection_id":170575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae6fcb0012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:03:55] local.INFO: Packet analysis {"connection_id":170575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae6"} 
[2026-09-04 11:03:55] local.INFO: Extracted packet for processing {"connection_id":170575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae6"} 
[2026-09-04 11:03:55] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":38,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855973632001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675174400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788499918000,"timestamp_ms":1788499918000,"timestamp_seconds":1788499918,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae6fcb0"} 
[2026-09-04 11:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 11:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855973632001,"66":12798,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1936758976675174400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855973632001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:03:55] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675174400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855973632001,"power":12798,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1936758976675174400}} 
[2026-09-04 11:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":170575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:03:55] local.INFO: GPS data processed {"connection_id":170575,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:03:55] local.INFO: Acknowledgment sent {"connection_id":170575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:04:00] local.INFO: TCP Data received {"connection_id":170872,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:04:00] local.INFO: Processing buffer {"connection_id":170872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:04:00] local.INFO: IMEI packet received {"connection_id":170872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":170872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:04:05] local.INFO: TCP Data received {"connection_id":170872,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:04:05] local.INFO: Processing buffer {"connection_id":170872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:04:05] local.INFO: IMEI packet received {"connection_id":170872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":170872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:04:05] local.INFO: TCP Data received {"connection_id":170872,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:04:05] local.INFO: Processing buffer {"connection_id":170872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:04:05] local.INFO: Packet analysis {"connection_id":170872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:04:05] local.INFO: Extracted packet for processing {"connection_id":170872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:04:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855861760001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788499761000,"timestamp_ms":1788499761000,"timestamp_seconds":1788499761,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae49768"} 
[2026-09-04 11:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 11:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855861760001,"66":25778,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855861760001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:04:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:04:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855861760001,"power":25778,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":170872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:04:05] local.INFO: GPS data processed {"connection_id":170872,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:04:05] local.INFO: Acknowledgment sent {"connection_id":170872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:04:17] local.INFO: TCP Data received {"connection_id":171984,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:04:17] local.INFO: Processing buffer {"connection_id":171984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae40eb0012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:04:17] local.INFO: Packet analysis {"connection_id":171984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:04:17] local.INFO: Extracted packet for processing {"connection_id":171984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855852800001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788499726000,"timestamp_ms":1788499726000,"timestamp_seconds":1788499726,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae40eb0"} 
[2026-09-04 11:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":117210982187008301,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3378568042119168,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503606663446528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":34816,"corrected_to":0} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":85,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-7421924863917948916,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84780700213356744,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-4122341766362588928,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":6,"raw_value":-6284623746212771284,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124549772345344,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993192278528,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7388156073939894296,"corrected_to":0} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698623715639552,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18685542997517960,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:17] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,136,28,24,241,158,16,163,160,223,45,200,12,44,10,66,71,175,240,85,2,51,8,98,106,6,239,69,205,113,4],"length":523,"final_offset":653,"validated_count":31,"validation_warnings":[{"io_id":200,"original":34816,"validated":0},{"io_id":205,"original":7388156073939894296,"validated":0}]} 
[2026-09-04 11:04:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864913418782507008,"timestamp_seconds":864913418782507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855852800001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855852800001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:04:17] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:04:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855852800001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":171984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761776,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:04:17] local.INFO: GPS data processed {"connection_id":171984,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:04:17] local.INFO: Acknowledgment sent {"connection_id":171984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:04:26] local.INFO: TCP Data received {"connection_id":170575,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae74eb8012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae74eb8012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:04:26] local.INFO: Processing buffer {"connection_id":170575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae74eb8012d1ae0c0072445d8002e00ca26..."} 
[2026-09-04 11:04:26] local.INFO: Packet analysis {"connection_id":170575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae7"} 
[2026-09-04 11:04:26] local.INFO: Extracted packet for processing {"connection_id":170575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae7"} 
[2026-09-04 11:04:26] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":38,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855979008001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675174400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788499939000,"timestamp_ms":1788499939000,"timestamp_seconds":1788499939,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae74eb8"} 
[2026-09-04 11:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 11:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855979008001,"66":12722,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1936758976675174400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855979008001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:04:26] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:04:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675174400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855979008001,"power":12722,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1936758976675174400}} 
[2026-09-04 11:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":170575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:04:26] local.INFO: GPS data processed {"connection_id":170575,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:04:26] local.INFO: Acknowledgment sent {"connection_id":170575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:04:36] local.INFO: TCP Data received {"connection_id":170872,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:04:36] local.INFO: Processing buffer {"connection_id":170872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae49768012cdb8340073377a0001a00082d..."} 
[2026-09-04 11:04:36] local.INFO: Packet analysis {"connection_id":170872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:04:36] local.INFO: Extracted packet for processing {"connection_id":170872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae4"} 
[2026-09-04 11:04:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":45,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855861760001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788499761000,"timestamp_ms":1788499761000,"timestamp_seconds":1788499761,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae49768"} 
[2026-09-04 11:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 11:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855861760001,"66":25778,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855861760001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:04:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:04:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855861760001,"power":25778,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":170872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:04:36] local.INFO: GPS data processed {"connection_id":170872,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:04:36] local.INFO: Acknowledgment sent {"connection_id":170872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:04:38] local.INFO: TCP Data received {"connection_id":170576,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:04:38] local.INFO: Processing buffer {"connection_id":170576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:04:38] local.INFO: IMEI packet received {"connection_id":170576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":170576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:04:43] local.INFO: TCP Data received {"connection_id":170576,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:04:43] local.INFO: Processing buffer {"connection_id":170576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:04:43] local.INFO: IMEI packet received {"connection_id":170576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":170576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:04:44] local.INFO: TCP Data received {"connection_id":170576,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:04:44] local.INFO: Processing buffer {"connection_id":170576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:04:44] local.INFO: Packet analysis {"connection_id":170576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:04:44] local.INFO: Extracted packet for processing {"connection_id":170576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855929856001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788500027000,"timestamp_ms":1788500027000,"timestamp_seconds":1788500027,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae8a678"} 
[2026-09-04 11:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855929856001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855929856001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:04:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:04:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855929856001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":170576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761779,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:04:44] local.INFO: GPS data processed {"connection_id":170576,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:04:44] local.INFO: Acknowledgment sent {"connection_id":170576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:04:54] local.INFO: TCP Data received {"connection_id":173280,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:04:54] local.INFO: Processing buffer {"connection_id":173280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:04:54] local.INFO: IMEI packet received {"connection_id":173280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":173280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:04:59] local.INFO: TCP Data received {"connection_id":173280,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:04:59] local.INFO: Processing buffer {"connection_id":173280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:04:59] local.INFO: IMEI packet received {"connection_id":173280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":173280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:05:00] local.INFO: TCP Data received {"connection_id":170873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:05:00] local.INFO: Processing buffer {"connection_id":170873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:05:00] local.INFO: IMEI packet received {"connection_id":170873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":170873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:05:00] local.INFO: TCP Data received {"connection_id":173280,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae7a0c0012d1ae0c0072445d8002e00ca27..."} 
[2026-09-04 11:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae7a0c0012d1ae0c0072445d8002e00ca27..."} 
[2026-09-04 11:05:00] local.INFO: Processing buffer {"connection_id":173280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae7a0c0012d1ae0c0072445d8002e00ca27..."} 
[2026-09-04 11:05:00] local.INFO: Packet analysis {"connection_id":173280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae7"} 
[2026-09-04 11:05:00] local.INFO: Extracted packet for processing {"connection_id":173280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae7"} 
[2026-09-04 11:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":39,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855984384001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675174400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788499960000,"timestamp_ms":1788499960000,"timestamp_seconds":1788499960,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae7a0c0"} 
[2026-09-04 11:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855984384001,"66":12689,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1936758976675174400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855984384001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:05:00] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:05:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675174400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855984384001,"power":12689,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1936758976675174400}} 
[2026-09-04 11:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":173280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:05:00] local.INFO: GPS data processed {"connection_id":173280,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:05:00] local.INFO: Acknowledgment sent {"connection_id":173280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:05:00] local.INFO: TCP Data received {"connection_id":170873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:05:00] local.INFO: Processing buffer {"connection_id":170873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:05:00] local.INFO: IMEI packet received {"connection_id":170873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":170873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:05:03] local.INFO: TCP Data received {"connection_id":173280,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae7f2c8012d1ae0c0072445d8002e00ca22..."} 
[2026-09-04 11:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae7f2c8012d1ae0c0072445d8002e00ca22..."} 
[2026-09-04 11:05:03] local.INFO: Processing buffer {"connection_id":173280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae7f2c8012d1ae0c0072445d8002e00ca22..."} 
[2026-09-04 11:05:03] local.INFO: Packet analysis {"connection_id":173280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae7"} 
[2026-09-04 11:05:03] local.INFO: Extracted packet for processing {"connection_id":173280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae7"} 
[2026-09-04 11:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":34,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855989760001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675174400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788499981000,"timestamp_ms":1788499981000,"timestamp_seconds":1788499981,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae7f2c8"} 
[2026-09-04 11:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 11:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855989760001,"66":12711,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1936758976675174400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855989760001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:05:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:05:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675174400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855989760001,"power":12711,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1936758976675174400}} 
[2026-09-04 11:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":173280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:05:03] local.INFO: GPS data processed {"connection_id":173280,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:05:03] local.INFO: Acknowledgment sent {"connection_id":173280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:05:05] local.INFO: TCP Data received {"connection_id":170873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:05:05] local.INFO: Processing buffer {"connection_id":170873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:05:05] local.INFO: IMEI packet received {"connection_id":170873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":170873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:05:05] local.INFO: TCP Data received {"connection_id":170873,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:05:05] local.INFO: Processing buffer {"connection_id":170873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:05:05] local.INFO: Packet analysis {"connection_id":170873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:05:05] local.INFO: Extracted packet for processing {"connection_id":170873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855938816001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788500062000,"timestamp_ms":1788500062000,"timestamp_seconds":1788500062,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae92f30"} 
[2026-09-04 11:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855938816001,"66":25832,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855938816001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:05:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:05:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855938816001,"power":25832,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":170873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:05:05] local.INFO: GPS data processed {"connection_id":170873,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:05:05] local.INFO: Acknowledgment sent {"connection_id":170873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:05:16] local.INFO: TCP Data received {"connection_id":170576,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:05:16] local.INFO: Processing buffer {"connection_id":170576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:05:16] local.INFO: Packet analysis {"connection_id":170576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:05:16] local.INFO: Extracted packet for processing {"connection_id":170576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855929856001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788500027000,"timestamp_ms":1788500027000,"timestamp_seconds":1788500027,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae8a678"} 
[2026-09-04 11:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855929856001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855929856001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:05:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:05:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855929856001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":170576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:05:16] local.INFO: GPS data processed {"connection_id":170576,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:05:16] local.INFO: Acknowledgment sent {"connection_id":170576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:05:36] local.INFO: TCP Data received {"connection_id":170873,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:05:37] local.INFO: Processing buffer {"connection_id":170873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:05:37] local.INFO: Packet analysis {"connection_id":170873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:05:37] local.INFO: Extracted packet for processing {"connection_id":170873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:05:37] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855938816001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788500062000,"timestamp_ms":1788500062000,"timestamp_seconds":1788500062,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae92f30"} 
[2026-09-04 11:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855938816001,"66":25832,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855938816001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:05:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:05:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855938816001,"power":25832,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":170873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:05:37] local.INFO: GPS data processed {"connection_id":170873,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:05:37] local.INFO: Acknowledgment sent {"connection_id":170873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:05:37] local.INFO: TCP Data received {"connection_id":170577,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:05:37] local.INFO: Processing buffer {"connection_id":170577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:05:37] local.INFO: IMEI packet received {"connection_id":170577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":170577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:05:43] local.INFO: TCP Data received {"connection_id":170577,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:05:43] local.INFO: Processing buffer {"connection_id":170577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:05:43] local.INFO: IMEI packet received {"connection_id":170577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":170577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:05:44] local.INFO: TCP Data received {"connection_id":170577,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:05:44] local.INFO: Processing buffer {"connection_id":170577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:05:44] local.INFO: Packet analysis {"connection_id":170577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:05:44] local.INFO: Extracted packet for processing {"connection_id":170577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855929856001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788500027000,"timestamp_ms":1788500027000,"timestamp_seconds":1788500027,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae8a678"} 
[2026-09-04 11:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855929856001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855929856001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:05:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:05:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855929856001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":170577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761785,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:05:44] local.INFO: GPS data processed {"connection_id":170577,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:05:44] local.INFO: Acknowledgment sent {"connection_id":170577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:05:45] local.INFO: TCP Data received {"connection_id":173281,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:05:45] local.INFO: Processing buffer {"connection_id":173281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:05:45] local.INFO: IMEI packet received {"connection_id":173281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":173281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:05:49] local.INFO: TCP Data received {"connection_id":173281,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:05:49] local.INFO: Processing buffer {"connection_id":173281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:05:49] local.INFO: IMEI packet received {"connection_id":173281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":173281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:05:54] local.INFO: TCP Data received {"connection_id":173281,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:05:54] local.INFO: Processing buffer {"connection_id":173281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:05:54] local.INFO: IMEI packet received {"connection_id":173281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":173281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:05:55] local.INFO: TCP Data received {"connection_id":173281,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae844d0012d1ae0c0072445d8002e00ca24..."} 
[2026-09-04 11:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae844d0012d1ae0c0072445d8002e00ca24..."} 
[2026-09-04 11:05:55] local.INFO: Processing buffer {"connection_id":173281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae844d0012d1ae0c0072445d8002e00ca24..."} 
[2026-09-04 11:05:55] local.INFO: Packet analysis {"connection_id":173281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:05:55] local.INFO: Extracted packet for processing {"connection_id":173281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:05:55] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":36,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855995136001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675174400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788500002000,"timestamp_ms":1788500002000,"timestamp_seconds":1788500002,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae844d0"} 
[2026-09-04 11:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-04 11:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855995136001,"66":12667,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1936758976675174400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855995136001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:05:55] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:05:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675174400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855995136001,"power":12667,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1936758976675174400}} 
[2026-09-04 11:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":173281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:05:55] local.INFO: GPS data processed {"connection_id":173281,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:05:55] local.INFO: Acknowledgment sent {"connection_id":173281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:06:05] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:06:05] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:06:05] local.INFO: IMEI packet received {"connection_id":173282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":173282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:06:10] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:06:10] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:06:10] local.INFO: IMEI packet received {"connection_id":173282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":173282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:06:10] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:06:10] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:06:10] local.INFO: Packet analysis {"connection_id":173282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:06:10] local.INFO: Extracted packet for processing {"connection_id":173282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:06:10] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855938816001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788500062000,"timestamp_ms":1788500062000,"timestamp_seconds":1788500062,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae92f30"} 
[2026-09-04 11:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855938816001,"66":25832,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855938816001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:06:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855938816001,"power":25832,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":173282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:06:10] local.INFO: GPS data processed {"connection_id":173282,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:06:10] local.INFO: Acknowledgment sent {"connection_id":173282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:06:15] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:06:15] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:06:15] local.INFO: Packet analysis {"connection_id":173282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:06:15] local.INFO: Extracted packet for processing {"connection_id":173282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:06:15] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855938816001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788500062000,"timestamp_ms":1788500062000,"timestamp_seconds":1788500062,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae92f30"} 
[2026-09-04 11:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855938816001,"66":25832,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855938816001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:06:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:06:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855938816001,"power":25832,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":173282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:06:15] local.INFO: GPS data processed {"connection_id":173282,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:06:15] local.INFO: Acknowledgment sent {"connection_id":173282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:06:16] local.INFO: TCP Data received {"connection_id":170577,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:06:16] local.INFO: Processing buffer {"connection_id":170577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:06:16] local.INFO: Packet analysis {"connection_id":170577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:06:16] local.INFO: Extracted packet for processing {"connection_id":170577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855929856001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788500027000,"timestamp_ms":1788500027000,"timestamp_seconds":1788500027,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae8a678"} 
[2026-09-04 11:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855929856001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855929856001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:06:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:06:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855929856001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":170577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761789,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:06:16] local.INFO: GPS data processed {"connection_id":170577,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:06:16] local.INFO: Acknowledgment sent {"connection_id":170577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:06:27] local.INFO: TCP Data received {"connection_id":173281,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae896d8012d1ae0c0072445d8002e00ca25..."} 
[2026-09-04 11:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae896d8012d1ae0c0072445d8002e00ca25..."} 
[2026-09-04 11:06:27] local.INFO: Processing buffer {"connection_id":173281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae896d8012d1ae0c0072445d8002e00ca25..."} 
[2026-09-04 11:06:27] local.INFO: Packet analysis {"connection_id":173281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:06:27] local.INFO: Extracted packet for processing {"connection_id":173281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:06:27] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":37,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856000512001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675174400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788500023000,"timestamp_ms":1788500023000,"timestamp_seconds":1788500023,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae896d8"} 
[2026-09-04 11:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-04 11:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856000512001,"66":12613,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1936758976675174400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856000512001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:06:27] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:06:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675174400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856000512001,"power":12613,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1936758976675174400}} 
[2026-09-04 11:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":173281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:06:27] local.INFO: GPS data processed {"connection_id":173281,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:06:27] local.INFO: Acknowledgment sent {"connection_id":173281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:06:38] local.INFO: TCP Data received {"connection_id":170874,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:06:38] local.INFO: Processing buffer {"connection_id":170874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:06:38] local.INFO: IMEI packet received {"connection_id":170874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":170874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:06:43] local.INFO: TCP Data received {"connection_id":170874,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:06:43] local.INFO: Processing buffer {"connection_id":170874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:06:43] local.INFO: IMEI packet received {"connection_id":170874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":170874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:06:44] local.INFO: TCP Data received {"connection_id":170874,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:06:44] local.INFO: Processing buffer {"connection_id":170874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:06:44] local.INFO: Packet analysis {"connection_id":170874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:06:44] local.INFO: Extracted packet for processing {"connection_id":170874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855929856001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788500027000,"timestamp_ms":1788500027000,"timestamp_seconds":1788500027,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae8a678"} 
[2026-09-04 11:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855929856001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855929856001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:06:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:06:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855929856001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":170874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761791,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:06:44] local.INFO: GPS data processed {"connection_id":170874,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:06:44] local.INFO: Acknowledgment sent {"connection_id":170874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:06:48] local.INFO: TCP Data received {"connection_id":173283,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:06:48] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:06:48] local.INFO: IMEI packet received {"connection_id":173283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":173283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:06:48] local.INFO: TCP Data received {"connection_id":173283,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:06:48] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:06:48] local.INFO: IMEI packet received {"connection_id":173283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":173283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:06:53] local.INFO: TCP Data received {"connection_id":173283,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:06:53] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:06:53] local.INFO: IMEI packet received {"connection_id":173283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":173283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:06:54] local.INFO: TCP Data received {"connection_id":173283,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae8e4f8012d1ae0c0072445d8002e00ca27..."} 
[2026-09-04 11:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae8e4f8012d1ae0c0072445d8002e00ca27..."} 
[2026-09-04 11:06:54] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae8e4f8012d1ae0c0072445d8002e00ca27..."} 
[2026-09-04 11:06:54] local.INFO: Packet analysis {"connection_id":173283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:06:54] local.INFO: Extracted packet for processing {"connection_id":173283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:06:54] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":39,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856005888001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675174400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788500043000,"timestamp_ms":1788500043000,"timestamp_seconds":1788500043,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae8e4f8"} 
[2026-09-04 11:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-04 11:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856005888001,"66":12558,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1936758976675174400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856005888001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:06:54] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:06:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675174400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856005888001,"power":12558,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1936758976675174400}} 
[2026-09-04 11:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":173283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:06:54] local.INFO: GPS data processed {"connection_id":173283,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:06:54] local.INFO: Acknowledgment sent {"connection_id":173283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:07:00] local.INFO: TCP Data received {"connection_id":171985,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:07:00] local.INFO: Processing buffer {"connection_id":171985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:07:00] local.INFO: IMEI packet received {"connection_id":171985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":171985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:07:05] local.INFO: TCP Data received {"connection_id":171985,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:07:05] local.INFO: Processing buffer {"connection_id":171985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:07:05] local.INFO: IMEI packet received {"connection_id":171985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":171985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:07:05] local.INFO: TCP Data received {"connection_id":171985,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:07:05] local.INFO: Processing buffer {"connection_id":171985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:07:05] local.INFO: Packet analysis {"connection_id":171985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:07:05] local.INFO: Extracted packet for processing {"connection_id":171985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:07:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855938816001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788500062000,"timestamp_ms":1788500062000,"timestamp_seconds":1788500062,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae92f30"} 
[2026-09-04 11:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855938816001,"66":25832,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855938816001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:07:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:07:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855938816001,"power":25832,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":171985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:07:05] local.INFO: GPS data processed {"connection_id":171985,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:07:05] local.INFO: Acknowledgment sent {"connection_id":171985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:07:16] local.INFO: TCP Data received {"connection_id":170874,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:07:16] local.INFO: Processing buffer {"connection_id":170874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:07:16] local.INFO: Packet analysis {"connection_id":170874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:07:16] local.INFO: Extracted packet for processing {"connection_id":170874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855929856001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788500027000,"timestamp_ms":1788500027000,"timestamp_seconds":1788500027,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae8a678"} 
[2026-09-04 11:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855929856001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855929856001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:07:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:07:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855929856001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":170874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:07:16] local.INFO: GPS data processed {"connection_id":170874,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:07:16] local.INFO: Acknowledgment sent {"connection_id":170874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:07:26] local.INFO: TCP Data received {"connection_id":173283,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae93700012d1ae0c0072445d8002e00ca25..."} 
[2026-09-04 11:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae93700012d1ae0c0072445d8002e00ca25..."} 
[2026-09-04 11:07:26] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae93700012d1ae0c0072445d8002e00ca25..."} 
[2026-09-04 11:07:26] local.INFO: Packet analysis {"connection_id":173283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:07:26] local.INFO: Extracted packet for processing {"connection_id":173283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:07:26] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":37,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856011008001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675174400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788500064000,"timestamp_ms":1788500064000,"timestamp_seconds":1788500064,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae93700"} 
[2026-09-04 11:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 11:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250157196459394520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:26] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3886071809,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882811598,"corrected_to":0} 
[2026-09-04 11:07:26] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3087084826,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:26] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3221693509,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:26] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397159,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:26] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4111859712,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:26] local.WARNING: Large IO value detected {"io_id":231,"raw_value":7998619559944787968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:26] local.WARNING: Large IO value detected {"io_id":55,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:26] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:26] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,111,28,24,241,158,16,245,160,150,45,192,69,46,37,10,66,68,36,242,1,240,167,106,4,113,205,78,224,216,38,239,49,2,60,7,231,55,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3882811598,"validated":0}]} 
[2026-09-04 11:07:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314871594597220352,"timestamp_seconds":3314871594597220.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856011008001,"66":12526,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1936758976675174400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856011008001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:07:26] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:07:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675174400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856011008001,"power":12526,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1936758976675174400}} 
[2026-09-04 11:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":173283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:07:26] local.INFO: GPS data processed {"connection_id":173283,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:07:26] local.INFO: Acknowledgment sent {"connection_id":173283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:07:36] local.INFO: TCP Data received {"connection_id":171985,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:07:36] local.INFO: Processing buffer {"connection_id":171985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:07:36] local.INFO: Packet analysis {"connection_id":171985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:07:36] local.INFO: Extracted packet for processing {"connection_id":171985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:07:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855938816001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788500062000,"timestamp_ms":1788500062000,"timestamp_seconds":1788500062,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae92f30"} 
[2026-09-04 11:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855938816001,"66":25832,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855938816001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:07:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:07:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855938816001,"power":25832,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":171985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:07:36] local.INFO: GPS data processed {"connection_id":171985,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:07:36] local.INFO: Acknowledgment sent {"connection_id":171985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:07:38] local.INFO: TCP Data received {"connection_id":170875,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:07:38] local.INFO: Processing buffer {"connection_id":170875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:07:38] local.INFO: IMEI packet received {"connection_id":170875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":170875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:07:43] local.INFO: TCP Data received {"connection_id":170875,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:07:43] local.INFO: Processing buffer {"connection_id":170875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:07:43] local.INFO: IMEI packet received {"connection_id":170875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":170875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:07:44] local.INFO: TCP Data received {"connection_id":170875,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:07:44] local.INFO: Processing buffer {"connection_id":170875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:07:44] local.INFO: Packet analysis {"connection_id":170875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:07:44] local.INFO: Extracted packet for processing {"connection_id":170875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855929856001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788500027000,"timestamp_ms":1788500027000,"timestamp_seconds":1788500027,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae8a678"} 
[2026-09-04 11:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855929856001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855929856001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:07:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:07:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855929856001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":170875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761797,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:07:44] local.INFO: GPS data processed {"connection_id":170875,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:07:44] local.INFO: Acknowledgment sent {"connection_id":170875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:07:48] local.INFO: TCP Data received {"connection_id":171986,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:07:48] local.INFO: Processing buffer {"connection_id":171986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:07:48] local.INFO: IMEI packet received {"connection_id":171986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":171986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:07:54] local.INFO: TCP Data received {"connection_id":171986,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:07:54] local.INFO: Processing buffer {"connection_id":171986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:07:54] local.INFO: IMEI packet received {"connection_id":171986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":171986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:07:55] local.INFO: TCP Data received {"connection_id":171986,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae98908012d1ae0c0072445d8002e00ca21..."} 
[2026-09-04 11:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae98908012d1ae0c0072445d8002e00ca21..."} 
[2026-09-04 11:07:55] local.INFO: Processing buffer {"connection_id":171986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae98908012d1ae0c0072445d8002e00ca21..."} 
[2026-09-04 11:07:55] local.INFO: Packet analysis {"connection_id":171986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:07:55] local.INFO: Extracted packet for processing {"connection_id":171986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:07:55] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817688,"longitude_deg":75.6736192,"latitude_deg":11.9817688,"altitude":46,"angle":202,"satellites":33,"speed":0,"hex_longitude":"2d1ae0c0","hex_latitude":"072445d8","is_valid_coordinates":true} 
[2026-09-04 11:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856016384001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17157973440724992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675174400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788500085000,"timestamp_ms":1788500085000,"timestamp_seconds":1788500085,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae98908"} 
[2026-09-04 11:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 11:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856016384001,"66":12515,"111":206,"28":31744,"24":0,"16":17157973440724992,"45":1936758976675174400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-09-04 11:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856016384001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:07:55] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 11:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17157973440724992,"km_value":17157973440724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675174400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856016384001,"power":12515,"unknown_111":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1936758976675174400}} 
[2026-09-04 11:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":171986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:07:55] local.INFO: GPS data processed {"connection_id":171986,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:07:55] local.INFO: Acknowledgment sent {"connection_id":171986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:08:00] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:08:00] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:08:00] local.INFO: IMEI packet received {"connection_id":173284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":173284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:08:05] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:08:05] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:08:05] local.INFO: IMEI packet received {"connection_id":173284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":173284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:08:05] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:08:05] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:08:05] local.INFO: Packet analysis {"connection_id":173284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:08:05] local.INFO: Extracted packet for processing {"connection_id":173284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:08:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855938816001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788500062000,"timestamp_ms":1788500062000,"timestamp_seconds":1788500062,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae92f30"} 
[2026-09-04 11:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855938816001,"66":25832,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855938816001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:08:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:08:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855938816001,"power":25832,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":173284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:08:05] local.INFO: GPS data processed {"connection_id":173284,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:08:05] local.INFO: Acknowledgment sent {"connection_id":173284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:08:16] local.INFO: TCP Data received {"connection_id":170875,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:08:16] local.INFO: Processing buffer {"connection_id":170875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:08:16] local.INFO: Packet analysis {"connection_id":170875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:08:16] local.INFO: Extracted packet for processing {"connection_id":170875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855929856001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788500027000,"timestamp_ms":1788500027000,"timestamp_seconds":1788500027,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae8a678"} 
[2026-09-04 11:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855929856001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855929856001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:08:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:08:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855929856001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":170875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:08:16] local.INFO: GPS data processed {"connection_id":170875,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:08:16] local.INFO: Acknowledgment sent {"connection_id":170875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:08:27] local.INFO: TCP Data received {"connection_id":171986,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aec28e8012d1a35800723c088003100e226..."} 
[2026-09-04 11:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aec28e8012d1a35800723c088003100e226..."} 
[2026-09-04 11:08:27] local.INFO: Processing buffer {"connection_id":171986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aec28e8012d1a35800723c088003100e226..."} 
[2026-09-04 11:08:27] local.INFO: Packet analysis {"connection_id":171986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aec"} 
[2026-09-04 11:08:27] local.INFO: Extracted packet for processing {"connection_id":171986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aec"} 
[2026-09-04 11:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756692352,"raw_latitude":119783560,"longitude_deg":75.6692352,"latitude_deg":11.978356,"altitude":49,"angle":226,"satellites":38,"speed":28,"hex_longitude":"2d1a3580","hex_latitude":"0723c088","is_valid_coordinates":true} 
[2026-09-04 11:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856064256001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17160709334892544,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980393590784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788500257000,"timestamp_ms":1788500257000,"timestamp_seconds":1788500257,"priority":1,"record_length":96,"hex_timestamp":"000001a06aec28e8"} 
[2026-09-04 11:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 11:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856064256001,"66":14048,"112":206,"28":31744,"24":28,"16":17160709334892544,"45":1891722980393590784},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856064256001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:08:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:08:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17160709334892544,"km_value":17160709334892.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980393590784,"description":"Unknown IO ID 45"} 
[2026-09-04 11:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856064256001,"power":14048,"unknown_112":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1891722980393590784}} 
[2026-09-04 11:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":171986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:08:27] local.INFO: GPS data processed {"connection_id":171986,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:08:27] local.INFO: Acknowledgment sent {"connection_id":171986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:08:36] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:08:36] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:08:36] local.INFO: Packet analysis {"connection_id":173284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:08:36] local.INFO: Extracted packet for processing {"connection_id":173284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:08:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855938816001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788500062000,"timestamp_ms":1788500062000,"timestamp_seconds":1788500062,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae92f30"} 
[2026-09-04 11:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855938816001,"66":25832,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855938816001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:08:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:08:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855938816001,"power":25832,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":173284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:08:36] local.INFO: GPS data processed {"connection_id":173284,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:08:36] local.INFO: Acknowledgment sent {"connection_id":173284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:08:43] local.INFO: TCP Data received {"connection_id":171987,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:08:43] local.INFO: Processing buffer {"connection_id":171987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:08:43] local.INFO: IMEI packet received {"connection_id":171987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":171987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:08:48] local.INFO: TCP Data received {"connection_id":171987,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:08:48] local.INFO: Processing buffer {"connection_id":171987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:08:48] local.INFO: IMEI packet received {"connection_id":171987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":171987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:08:48] local.INFO: TCP Data received {"connection_id":170578,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:08:48] local.INFO: Processing buffer {"connection_id":170578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:08:48] local.INFO: IMEI packet received {"connection_id":170578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":170578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:08:50] local.INFO: TCP Data received {"connection_id":171987,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:08:50] local.INFO: Processing buffer {"connection_id":171987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:08:50] local.INFO: Packet analysis {"connection_id":171987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:08:50] local.INFO: Extracted packet for processing {"connection_id":171987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:08:50] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855929856001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788500027000,"timestamp_ms":1788500027000,"timestamp_seconds":1788500027,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae8a678"} 
[2026-09-04 11:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855929856001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855929856001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:08:50] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:08:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855929856001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":171987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:08:50] local.INFO: GPS data processed {"connection_id":171987,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:08:50] local.INFO: Acknowledgment sent {"connection_id":171987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:08:54] local.INFO: TCP Data received {"connection_id":170578,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:08:54] local.INFO: Processing buffer {"connection_id":170578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:08:54] local.INFO: IMEI packet received {"connection_id":170578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":170578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:08:54] local.INFO: TCP Data received {"connection_id":171987,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:08:54] local.INFO: Processing buffer {"connection_id":171987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:08:54] local.INFO: Packet analysis {"connection_id":171987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:08:54] local.INFO: Extracted packet for processing {"connection_id":171987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:08:54] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855929856001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788500027000,"timestamp_ms":1788500027000,"timestamp_seconds":1788500027,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae8a678"} 
[2026-09-04 11:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855929856001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855929856001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:08:54] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:08:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855929856001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":171987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761804,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:08:54] local.INFO: GPS data processed {"connection_id":171987,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:08:54] local.INFO: Acknowledgment sent {"connection_id":171987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:08:55] local.INFO: TCP Data received {"connection_id":170578,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aec4440012d1a24400723b380003200ee26..."} 
[2026-09-04 11:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aec4440012d1a24400723b380003200ee26..."} 
[2026-09-04 11:08:55] local.INFO: Processing buffer {"connection_id":170578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aec4440012d1a24400723b380003200ee26..."} 
[2026-09-04 11:08:55] local.INFO: Packet analysis {"connection_id":170578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aec"} 
[2026-09-04 11:08:55] local.INFO: Extracted packet for processing {"connection_id":170578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aec"} 
[2026-09-04 11:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756687936,"raw_latitude":119780224,"longitude_deg":75.6687936,"latitude_deg":11.9780224,"altitude":50,"angle":238,"satellites":38,"speed":33,"hex_longitude":"2d1a2440","hex_latitude":"0723b380","is_valid_coordinates":true} 
[2026-09-04 11:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856065792001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17160975622864896,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888556386904737792,"note":"Value kept but may cause issues"} 
[2026-09-04 11:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788500264000,"timestamp_ms":1788500264000,"timestamp_seconds":1788500264,"priority":1,"record_length":96,"hex_timestamp":"000001a06aec4440"} 
[2026-09-04 11:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-04 11:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856065792001,"66":14428,"112":206,"28":31744,"24":33,"16":17160975622864896,"45":1888556386904737792},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856065792001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:08:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17160975622864896,"km_value":17160975622864.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888556386904737792,"description":"Unknown IO ID 45"} 
[2026-09-04 11:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856065792001,"power":14428,"unknown_112":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1888556386904737792}} 
[2026-09-04 11:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":170578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:08:55] local.INFO: GPS data processed {"connection_id":170578,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:08:55] local.INFO: Acknowledgment sent {"connection_id":170578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:09:00] local.INFO: TCP Data received {"connection_id":173285,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:09:00] local.INFO: Processing buffer {"connection_id":173285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:09:00] local.INFO: IMEI packet received {"connection_id":173285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":173285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:09:01] local.INFO: TCP Data received {"connection_id":171987,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:09:01] local.INFO: Processing buffer {"connection_id":171987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae8a678012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:09:01] local.INFO: Packet analysis {"connection_id":171987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:09:01] local.INFO: Extracted packet for processing {"connection_id":171987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae8"} 
[2026-09-04 11:09:01] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855929856001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788500027000,"timestamp_ms":1788500027000,"timestamp_seconds":1788500027,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae8a678"} 
[2026-09-04 11:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855929856001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855929856001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:09:01] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:09:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855929856001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":171987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761806,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:09:01] local.INFO: GPS data processed {"connection_id":171987,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:09:01] local.INFO: Acknowledgment sent {"connection_id":171987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:09:05] local.INFO: TCP Data received {"connection_id":173285,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:09:05] local.INFO: Processing buffer {"connection_id":173285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:09:05] local.INFO: IMEI packet received {"connection_id":173285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":173285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:09:05] local.INFO: TCP Data received {"connection_id":173285,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:09:05] local.INFO: Processing buffer {"connection_id":173285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:09:05] local.INFO: Packet analysis {"connection_id":173285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:09:05] local.INFO: Extracted packet for processing {"connection_id":173285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:09:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855938816001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788500062000,"timestamp_ms":1788500062000,"timestamp_seconds":1788500062,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae92f30"} 
[2026-09-04 11:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855938816001,"66":25832,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855938816001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:09:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:09:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855938816001,"power":25832,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":173285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:09:05] local.INFO: GPS data processed {"connection_id":173285,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:09:05] local.INFO: Acknowledgment sent {"connection_id":173285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:09:30] local.INFO: TCP Data received {"connection_id":170578,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aec53e0012d1a18400723add0003300fb27..."} 
[2026-09-04 11:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aec53e0012d1a18400723add0003300fb27..."} 
[2026-09-04 11:09:30] local.INFO: Processing buffer {"connection_id":170578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aec53e0012d1a18400723add0003300fb27..."} 
[2026-09-04 11:09:30] local.INFO: Packet analysis {"connection_id":170578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aec"} 
[2026-09-04 11:09:30] local.INFO: Extracted packet for processing {"connection_id":170578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aec"} 
[2026-09-04 11:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756684864,"raw_latitude":119778768,"longitude_deg":75.6684864,"latitude_deg":11.9778768,"altitude":51,"angle":251,"satellites":39,"speed":33,"hex_longitude":"2d1a1840","hex_latitude":"0723add0","is_valid_coordinates":true} 
[2026-09-04 11:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856067584001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17161134536654848,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883700943555624960,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788500268000,"timestamp_ms":1788500268000,"timestamp_seconds":1788500268,"priority":1,"record_length":96,"hex_timestamp":"000001a06aec53e0"} 
[2026-09-04 11:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 11:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856067584001,"66":14396,"112":206,"28":31744,"24":33,"16":17161134536654848,"45":1883700943555624960},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856067584001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:09:30] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:09:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17161134536654848,"km_value":17161134536654.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883700943555624960,"description":"Unknown IO ID 45"} 
[2026-09-04 11:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856067584001,"power":14396,"unknown_112":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1883700943555624960}} 
[2026-09-04 11:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":170578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:09:30] local.INFO: GPS data processed {"connection_id":170578,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:09:30] local.INFO: Acknowledgment sent {"connection_id":170578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:09:36] local.INFO: TCP Data received {"connection_id":173285,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:09:36] local.INFO: Processing buffer {"connection_id":173285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ae92f30012cdb8340073377a0001a000829..."} 
[2026-09-04 11:09:36] local.INFO: Packet analysis {"connection_id":173285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:09:36] local.INFO: Extracted packet for processing {"connection_id":173285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ae9"} 
[2026-09-04 11:09:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457855938816001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788500062000,"timestamp_ms":1788500062000,"timestamp_seconds":1788500062,"priority":1,"record_length":96,"hex_timestamp":"000001a06ae92f30"} 
[2026-09-04 11:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457855938816001,"66":25832,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457855938816001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:09:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:09:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457855938816001,"power":25832,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":173285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:09:36] local.INFO: GPS data processed {"connection_id":173285,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:09:36] local.INFO: Acknowledgment sent {"connection_id":173285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:09:38] local.INFO: TCP Data received {"connection_id":170876,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:09:38] local.INFO: Processing buffer {"connection_id":170876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:09:38] local.INFO: IMEI packet received {"connection_id":170876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":170876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:09:43] local.INFO: TCP Data received {"connection_id":170876,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:09:43] local.INFO: Processing buffer {"connection_id":170876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:09:43] local.INFO: IMEI packet received {"connection_id":170876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":170876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:09:45] local.INFO: TCP Data received {"connection_id":170876,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:09:45] local.INFO: Processing buffer {"connection_id":170876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:09:45] local.INFO: Packet analysis {"connection_id":170876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:09:45] local.INFO: Extracted packet for processing {"connection_id":170876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856006912001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788500328000,"timestamp_ms":1788500328000,"timestamp_seconds":1788500328,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed3e40"} 
[2026-09-04 11:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":170876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":170876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":170876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856006912001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856006912001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:09:45] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:09:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856006912001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":170876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:09:45] local.INFO: GPS data processed {"connection_id":170876,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:09:45] local.INFO: Acknowledgment sent {"connection_id":170876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:09:48] local.INFO: TCP Data received {"connection_id":171988,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:09:48] local.INFO: Processing buffer {"connection_id":171988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:09:48] local.INFO: IMEI packet received {"connection_id":171988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":171988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:09:50] local.INFO: TCP Data received {"connection_id":171988,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:09:50] local.INFO: Processing buffer {"connection_id":171988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:09:50] local.INFO: IMEI packet received {"connection_id":171988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":171988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:09:54] local.INFO: TCP Data received {"connection_id":171988,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:09:54] local.INFO: Processing buffer {"connection_id":171988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:09:54] local.INFO: IMEI packet received {"connection_id":171988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":171988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:09:55] local.INFO: TCP Data received {"connection_id":171988,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aec6380012d1a0b400723aae00033010626..."} 
[2026-09-04 11:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aec6380012d1a0b400723aae00033010626..."} 
[2026-09-04 11:09:55] local.INFO: Processing buffer {"connection_id":171988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aec6380012d1a0b400723aae00033010626..."} 
[2026-09-04 11:09:55] local.INFO: Packet analysis {"connection_id":171988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aec"} 
[2026-09-04 11:09:55] local.INFO: Extracted packet for processing {"connection_id":171988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aec"} 
[2026-09-04 11:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756681536,"raw_latitude":119778016,"longitude_deg":75.6681536,"latitude_deg":11.9778016,"altitude":51,"angle":262,"satellites":38,"speed":32,"hex_longitude":"2d1a0b40","hex_latitude":"0723aae0","is_valid_coordinates":true} 
[2026-09-04 11:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856068608001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17161302040379392,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880323243834724352,"note":"Value kept but may cause issues"} 
[2026-09-04 11:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788500272000,"timestamp_ms":1788500272000,"timestamp_seconds":1788500272,"priority":1,"record_length":96,"hex_timestamp":"000001a06aec6380"} 
[2026-09-04 11:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 11:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856068608001,"66":14428,"112":206,"28":31744,"24":32,"16":17161302040379392,"45":1880323243834724352},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856068608001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:09:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17161302040379392,"km_value":17161302040379.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880323243834724352,"description":"Unknown IO ID 45"} 
[2026-09-04 11:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856068608001,"power":14428,"unknown_112":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1880323243834724352}} 
[2026-09-04 11:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":171988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:09:55] local.INFO: GPS data processed {"connection_id":171988,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:09:55] local.INFO: Acknowledgment sent {"connection_id":171988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:09:59] local.INFO: TCP Data received {"connection_id":170877,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:09:59] local.INFO: Processing buffer {"connection_id":170877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:09:59] local.INFO: IMEI packet received {"connection_id":170877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":170877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:10:00] local.INFO: TCP Data received {"connection_id":170877,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:10:00] local.INFO: Processing buffer {"connection_id":170877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:10:00] local.INFO: IMEI packet received {"connection_id":170877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":170877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:10:05] local.INFO: TCP Data received {"connection_id":170877,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:10:05] local.INFO: Processing buffer {"connection_id":170877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:10:05] local.INFO: IMEI packet received {"connection_id":170877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":170877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:10:05] local.INFO: TCP Data received {"connection_id":170877,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:10:05] local.INFO: Processing buffer {"connection_id":170877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:10:05] local.INFO: Packet analysis {"connection_id":170877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:10:05] local.INFO: Extracted packet for processing {"connection_id":170877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:10:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856015872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788500363000,"timestamp_ms":1788500363000,"timestamp_seconds":1788500363,"priority":1,"record_length":96,"hex_timestamp":"000001a06aedc6f8"} 
[2026-09-04 11:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 11:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856015872001,"66":25734,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856015872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:10:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:10:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856015872001,"power":25734,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":170877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:10:05] local.INFO: GPS data processed {"connection_id":170877,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:10:05] local.INFO: Acknowledgment sent {"connection_id":170877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:10:17] local.INFO: TCP Data received {"connection_id":170876,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:10:17] local.INFO: Processing buffer {"connection_id":170876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:10:17] local.INFO: Packet analysis {"connection_id":170876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:10:17] local.INFO: Extracted packet for processing {"connection_id":170876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856006912001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788500328000,"timestamp_ms":1788500328000,"timestamp_seconds":1788500328,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed3e40"} 
[2026-09-04 11:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":170876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":170876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":170876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856006912001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856006912001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:10:17] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:10:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856006912001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":170876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761813,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:10:17] local.INFO: GPS data processed {"connection_id":170876,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:10:17] local.INFO: Acknowledgment sent {"connection_id":170876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:10:26] local.INFO: TCP Data received {"connection_id":171988,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aec8e78012d19e7c00723a5c00034010526..."} 
[2026-09-04 11:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aec8e78012d19e7c00723a5c00034010526..."} 
[2026-09-04 11:10:26] local.INFO: Processing buffer {"connection_id":171988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aec8e78012d19e7c00723a5c00034010526..."} 
[2026-09-04 11:10:26] local.INFO: Packet analysis {"connection_id":171988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aec"} 
[2026-09-04 11:10:26] local.INFO: Extracted packet for processing {"connection_id":171988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aec"} 
[2026-09-04 11:10:26] local.INFO: GPS Element Parsed {"raw_longitude":756672448,"raw_latitude":119776704,"longitude_deg":75.6672448,"latitude_deg":11.9776704,"altitude":52,"angle":261,"satellites":38,"speed":29,"hex_longitude":"2d19e7c0","hex_latitude":"0723a5c0","is_valid_coordinates":true} 
[2026-09-04 11:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856069632001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17161735832076288,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876664069137293312,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788500283000,"timestamp_ms":1788500283000,"timestamp_seconds":1788500283,"priority":1,"record_length":96,"hex_timestamp":"000001a06aec8e78"} 
[2026-09-04 11:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 11:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856069632001,"66":14461,"112":206,"28":31744,"24":29,"16":17161735832076288,"45":1876664069137293312},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856069632001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:10:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:10:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17161735832076288,"km_value":17161735832076.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876664069137293312,"description":"Unknown IO ID 45"} 
[2026-09-04 11:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856069632001,"power":14461,"unknown_112":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1876664069137293312}} 
[2026-09-04 11:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":171988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:10:26] local.INFO: GPS data processed {"connection_id":171988,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:10:26] local.INFO: Acknowledgment sent {"connection_id":171988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:10:36] local.INFO: TCP Data received {"connection_id":170877,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:10:36] local.INFO: Processing buffer {"connection_id":170877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:10:36] local.INFO: Packet analysis {"connection_id":170877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:10:36] local.INFO: Extracted packet for processing {"connection_id":170877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:10:36] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856015872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788500363000,"timestamp_ms":1788500363000,"timestamp_seconds":1788500363,"priority":1,"record_length":96,"hex_timestamp":"000001a06aedc6f8"} 
[2026-09-04 11:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 11:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856015872001,"66":25734,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856015872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:10:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856015872001,"power":25734,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":170877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:10:36] local.INFO: GPS data processed {"connection_id":170877,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:10:36] local.INFO: Acknowledgment sent {"connection_id":170877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:10:38] local.INFO: TCP Data received {"connection_id":170878,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:10:38] local.INFO: Processing buffer {"connection_id":170878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:10:38] local.INFO: IMEI packet received {"connection_id":170878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":170878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:10:43] local.INFO: TCP Data received {"connection_id":170878,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:10:43] local.INFO: Processing buffer {"connection_id":170878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:10:43] local.INFO: IMEI packet received {"connection_id":170878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":170878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:10:44] local.INFO: TCP Data received {"connection_id":170878,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:10:44] local.INFO: Processing buffer {"connection_id":170878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:10:44] local.INFO: Packet analysis {"connection_id":170878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:10:44] local.INFO: Extracted packet for processing {"connection_id":170878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856006912001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788500328000,"timestamp_ms":1788500328000,"timestamp_seconds":1788500328,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed3e40"} 
[2026-09-04 11:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856006912001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856006912001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:10:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:10:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856006912001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":170878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:10:44] local.INFO: GPS data processed {"connection_id":170878,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:10:44] local.INFO: Acknowledgment sent {"connection_id":170878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:10:48] local.INFO: TCP Data received {"connection_id":173286,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:10:48] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:10:48] local.INFO: IMEI packet received {"connection_id":173286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":173286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:10:53] local.INFO: TCP Data received {"connection_id":173286,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:10:53] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:10:53] local.INFO: IMEI packet received {"connection_id":173286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":173286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:10:53] local.INFO: TCP Data received {"connection_id":173286,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:10:53] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:10:53] local.INFO: IMEI packet received {"connection_id":173286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":173286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:10:54] local.INFO: TCP Data received {"connection_id":173286,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aecd4c8012d19d9800723a288003300dd26..."} 
[2026-09-04 11:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aecd4c8012d19d9800723a288003300dd26..."} 
[2026-09-04 11:10:54] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aecd4c8012d19d9800723a288003300dd26..."} 
[2026-09-04 11:10:54] local.INFO: Packet analysis {"connection_id":173286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aec"} 
[2026-09-04 11:10:54] local.INFO: Extracted packet for processing {"connection_id":173286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aec"} 
[2026-09-04 11:10:54] local.INFO: GPS Element Parsed {"raw_longitude":756668800,"raw_latitude":119775880,"longitude_deg":75.66688,"latitude_deg":11.977588,"altitude":51,"angle":221,"satellites":38,"speed":5,"hex_longitude":"2d19d980","hex_latitude":"0723a288","is_valid_coordinates":true} 
[2026-09-04 11:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856072448001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17161916220702720,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866671707463729152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788500301000,"timestamp_ms":1788500301000,"timestamp_seconds":1788500301,"priority":1,"record_length":96,"hex_timestamp":"000001a06aecd4c8"} 
[2026-09-04 11:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-04 11:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856072448001,"66":13222,"112":206,"28":31744,"24":5,"16":17161916220702720,"45":1866671707463729152},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856072448001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:10:54] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:10:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17161916220702720,"km_value":17161916220702.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866671707463729152,"description":"Unknown IO ID 45"} 
[2026-09-04 11:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856072448001,"power":13222,"unknown_112":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1866671707463729152}} 
[2026-09-04 11:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":173286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:10:54] local.INFO: GPS data processed {"connection_id":173286,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:10:54] local.INFO: Acknowledgment sent {"connection_id":173286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:11:05] local.INFO: TCP Data received {"connection_id":171989,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:11:05] local.INFO: Processing buffer {"connection_id":171989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:11:05] local.INFO: IMEI packet received {"connection_id":171989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":171989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:11:09] local.INFO: TCP Data received {"connection_id":171989,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:11:09] local.INFO: Processing buffer {"connection_id":171989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:11:09] local.INFO: IMEI packet received {"connection_id":171989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":171989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:11:10] local.INFO: TCP Data received {"connection_id":171989,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:11:10] local.INFO: Processing buffer {"connection_id":171989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:11:10] local.INFO: Packet analysis {"connection_id":171989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:11:10] local.INFO: Extracted packet for processing {"connection_id":171989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:11:10] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856015872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788500363000,"timestamp_ms":1788500363000,"timestamp_seconds":1788500363,"priority":1,"record_length":96,"hex_timestamp":"000001a06aedc6f8"} 
[2026-09-04 11:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 11:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856015872001,"66":25734,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856015872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:11:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856015872001,"power":25734,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":171989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:11:10] local.INFO: GPS data processed {"connection_id":171989,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:11:10] local.INFO: Acknowledgment sent {"connection_id":171989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:11:14] local.INFO: TCP Data received {"connection_id":171989,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:11:14] local.INFO: Processing buffer {"connection_id":171989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:11:14] local.INFO: Packet analysis {"connection_id":171989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:11:14] local.INFO: Extracted packet for processing {"connection_id":171989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:11:14] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856015872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788500363000,"timestamp_ms":1788500363000,"timestamp_seconds":1788500363,"priority":1,"record_length":96,"hex_timestamp":"000001a06aedc6f8"} 
[2026-09-04 11:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 11:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856015872001,"66":25734,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856015872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:11:14] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:11:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856015872001,"power":25734,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":171989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:11:14] local.INFO: GPS data processed {"connection_id":171989,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:11:14] local.INFO: Acknowledgment sent {"connection_id":171989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:11:16] local.INFO: TCP Data received {"connection_id":170878,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:11:16] local.INFO: Processing buffer {"connection_id":170878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:11:16] local.INFO: Packet analysis {"connection_id":170878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:11:16] local.INFO: Extracted packet for processing {"connection_id":170878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856006912001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788500328000,"timestamp_ms":1788500328000,"timestamp_seconds":1788500328,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed3e40"} 
[2026-09-04 11:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856006912001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856006912001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:11:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:11:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856006912001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":170878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:11:16] local.INFO: GPS data processed {"connection_id":170878,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:11:16] local.INFO: Acknowledgment sent {"connection_id":170878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:11:26] local.INFO: TCP Data received {"connection_id":173286,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aece468012d19d8800723a0e0003400c427..."} 
[2026-09-04 11:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aece468012d19d8800723a0e0003400c427..."} 
[2026-09-04 11:11:26] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aece468012d19d8800723a0e0003400c427..."} 
[2026-09-04 11:11:26] local.INFO: Packet analysis {"connection_id":173286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aec"} 
[2026-09-04 11:11:26] local.INFO: Extracted packet for processing {"connection_id":173286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aec"} 
[2026-09-04 11:11:26] local.INFO: GPS Element Parsed {"raw_longitude":756668544,"raw_latitude":119775456,"longitude_deg":75.6668544,"latitude_deg":11.9775456,"altitude":52,"angle":196,"satellites":39,"speed":5,"hex_longitude":"2d19d880","hex_latitude":"0723a0e0","is_valid_coordinates":true} 
[2026-09-04 11:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856077056001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17161941990506496,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862660689045391360,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788500305000,"timestamp_ms":1788500305000,"timestamp_seconds":1788500305,"priority":1,"record_length":96,"hex_timestamp":"000001a06aece468"} 
[2026-09-04 11:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 11:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856077056001,"66":13276,"112":206,"28":31744,"24":5,"16":17161941990506496,"45":1862660689045391360},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856077056001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:11:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:11:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17161941990506496,"km_value":17161941990506.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862660689045391360,"description":"Unknown IO ID 45"} 
[2026-09-04 11:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856077056001,"power":13276,"unknown_112":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1862660689045391360}} 
[2026-09-04 11:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":173286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:11:26] local.INFO: GPS data processed {"connection_id":173286,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:11:26] local.INFO: Acknowledgment sent {"connection_id":173286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:11:37] local.INFO: TCP Data received {"connection_id":170579,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:11:37] local.INFO: Processing buffer {"connection_id":170579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:11:37] local.INFO: IMEI packet received {"connection_id":170579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":170579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:11:43] local.INFO: TCP Data received {"connection_id":170579,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:11:43] local.INFO: Processing buffer {"connection_id":170579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:11:43] local.INFO: IMEI packet received {"connection_id":170579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":170579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:11:44] local.INFO: TCP Data received {"connection_id":170579,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:11:44] local.INFO: Processing buffer {"connection_id":170579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:11:44] local.INFO: Packet analysis {"connection_id":170579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:11:44] local.INFO: Extracted packet for processing {"connection_id":170579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856006912001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788500328000,"timestamp_ms":1788500328000,"timestamp_seconds":1788500328,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed3e40"} 
[2026-09-04 11:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856006912001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856006912001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:11:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:11:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856006912001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":170579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761822,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:11:44] local.INFO: GPS data processed {"connection_id":170579,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:11:44] local.INFO: Acknowledgment sent {"connection_id":170579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:11:54] local.INFO: TCP Data received {"connection_id":170879,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:11:54] local.INFO: Processing buffer {"connection_id":170879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:11:54] local.INFO: IMEI packet received {"connection_id":170879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":170879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:11:56] local.INFO: TCP Data received {"connection_id":170879,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:11:56] local.INFO: Processing buffer {"connection_id":170879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:11:56] local.INFO: IMEI packet received {"connection_id":170879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":170879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:11:57] local.INFO: TCP Data received {"connection_id":170879,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed22e8012d19d68007239928003500d527..."} 
[2026-09-04 11:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed22e8012d19d68007239928003500d527..."} 
[2026-09-04 11:11:57] local.INFO: Processing buffer {"connection_id":170879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed22e8012d19d68007239928003500d527..."} 
[2026-09-04 11:11:57] local.INFO: Packet analysis {"connection_id":170879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:11:57] local.INFO: Extracted packet for processing {"connection_id":170879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119773480,"longitude_deg":75.6668032,"latitude_deg":11.977348,"altitude":53,"angle":213,"satellites":39,"speed":6,"hex_longitude":"2d19d680","hex_latitude":"07239928","is_valid_coordinates":true} 
[2026-09-04 11:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856078080001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162040774754304,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862379214068572160,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788500321000,"timestamp_ms":1788500321000,"timestamp_seconds":1788500321,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed22e8"} 
[2026-09-04 11:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-04 11:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":170879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":170879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":170879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856078080001,"66":13276,"112":206,"28":31744,"24":6,"16":17162040774754304,"45":1862379214068572160},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856078080001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:11:57] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:11:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162040774754304,"km_value":17162040774754.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862379214068572160,"description":"Unknown IO ID 45"} 
[2026-09-04 11:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856078080001,"power":13276,"unknown_112":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1862379214068572160}} 
[2026-09-04 11:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":170879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:11:57] local.INFO: GPS data processed {"connection_id":170879,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:11:57] local.INFO: Acknowledgment sent {"connection_id":170879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:11:59] local.INFO: TCP Data received {"connection_id":170879,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed2ea0012d19d580072397e8003500e927..."} 
[2026-09-04 11:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed2ea0012d19d580072397e8003500e927..."} 
[2026-09-04 11:11:59] local.INFO: Processing buffer {"connection_id":170879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed2ea0012d19d580072397e8003500e927..."} 
[2026-09-04 11:11:59] local.INFO: Packet analysis {"connection_id":170879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:11:59] local.INFO: Extracted packet for processing {"connection_id":170879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756667776,"raw_latitude":119773160,"longitude_deg":75.6667776,"latitude_deg":11.977316,"altitude":53,"angle":233,"satellites":39,"speed":5,"hex_longitude":"2d19d580","hex_latitude":"072397e8","is_valid_coordinates":true} 
[2026-09-04 11:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856082176001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162062249590784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264114644992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788500324000,"timestamp_ms":1788500324000,"timestamp_seconds":1788500324,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed2ea0"} 
[2026-09-04 11:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-04 11:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856082176001,"66":13254,"112":206,"28":31744,"24":5,"16":17162062249590784,"45":1861816264114644992},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856082176001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:11:59] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162062249590784,"km_value":17162062249590.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264114644992,"description":"Unknown IO ID 45"} 
[2026-09-04 11:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856082176001,"power":13254,"unknown_112":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1861816264114644992}} 
[2026-09-04 11:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":170879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:11:59] local.INFO: GPS data processed {"connection_id":170879,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:11:59] local.INFO: Acknowledgment sent {"connection_id":170879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:12:00] local.INFO: TCP Data received {"connection_id":171990,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:12:00] local.INFO: Processing buffer {"connection_id":171990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:12:00] local.INFO: IMEI packet received {"connection_id":171990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":171990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:12:05] local.INFO: TCP Data received {"connection_id":171990,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:12:05] local.INFO: Processing buffer {"connection_id":171990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:12:05] local.INFO: IMEI packet received {"connection_id":171990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":171990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:12:05] local.INFO: TCP Data received {"connection_id":171990,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:12:05] local.INFO: Processing buffer {"connection_id":171990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:12:05] local.INFO: Packet analysis {"connection_id":171990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:12:05] local.INFO: Extracted packet for processing {"connection_id":171990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:12:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856015872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788500363000,"timestamp_ms":1788500363000,"timestamp_seconds":1788500363,"priority":1,"record_length":96,"hex_timestamp":"000001a06aedc6f8"} 
[2026-09-04 11:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 11:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856015872001,"66":25734,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856015872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:12:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:12:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856015872001,"power":25734,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":171990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:12:05] local.INFO: GPS data processed {"connection_id":171990,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:12:05] local.INFO: Acknowledgment sent {"connection_id":171990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:12:16] local.INFO: TCP Data received {"connection_id":170579,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:12:16] local.INFO: Processing buffer {"connection_id":170579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:12:16] local.INFO: Packet analysis {"connection_id":170579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:12:16] local.INFO: Extracted packet for processing {"connection_id":170579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856006912001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788500328000,"timestamp_ms":1788500328000,"timestamp_seconds":1788500328,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed3e40"} 
[2026-09-04 11:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856006912001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856006912001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:12:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:12:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856006912001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":170579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:12:16] local.INFO: GPS data processed {"connection_id":170579,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:12:16] local.INFO: Acknowledgment sent {"connection_id":170579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:12:31] local.INFO: TCP Data received {"connection_id":170879,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed3e40012d19d4c007239640003400ca27..."} 
[2026-09-04 11:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed3e40012d19d4c007239640003400ca27..."} 
[2026-09-04 11:12:31] local.INFO: Processing buffer {"connection_id":170879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed3e40012d19d4c007239640003400ca27..."} 
[2026-09-04 11:12:31] local.INFO: Packet analysis {"connection_id":170879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:12:31] local.INFO: Extracted packet for processing {"connection_id":170879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:12:31] local.INFO: GPS Element Parsed {"raw_longitude":756667584,"raw_latitude":119772736,"longitude_deg":75.6667584,"latitude_deg":11.9772736,"altitude":52,"angle":202,"satellites":39,"speed":6,"hex_longitude":"2d19d4c0","hex_latitude":"07239640","is_valid_coordinates":true} 
[2026-09-04 11:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856082944001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162083724427264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861534789137852416,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788500328000,"timestamp_ms":1788500328000,"timestamp_seconds":1788500328,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed3e40"} 
[2026-09-04 11:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-04 11:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":170879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":170879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":170879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856082944001,"66":13243,"112":206,"28":31744,"24":6,"16":17162083724427264,"45":1861534789137852416},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856082944001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:12:31] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:12:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162083724427264,"km_value":17162083724427.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861534789137852416,"description":"Unknown IO ID 45"} 
[2026-09-04 11:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856082944001,"power":13243,"unknown_112":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1861534789137852416}} 
[2026-09-04 11:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":170879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:12:31] local.INFO: GPS data processed {"connection_id":170879,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:12:31] local.INFO: Acknowledgment sent {"connection_id":170879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:12:39] local.INFO: TCP Data received {"connection_id":171990,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:12:39] local.INFO: Processing buffer {"connection_id":171990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:12:39] local.INFO: Packet analysis {"connection_id":171990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:12:39] local.INFO: Extracted packet for processing {"connection_id":171990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:12:39] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856015872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788500363000,"timestamp_ms":1788500363000,"timestamp_seconds":1788500363,"priority":1,"record_length":96,"hex_timestamp":"000001a06aedc6f8"} 
[2026-09-04 11:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 11:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856015872001,"66":25734,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856015872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:12:39] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:12:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:12:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856015872001,"power":25734,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":171990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:12:39] local.INFO: GPS data processed {"connection_id":171990,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:12:39] local.INFO: Acknowledgment sent {"connection_id":171990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:12:43] local.INFO: TCP Data received {"connection_id":170580,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:12:43] local.INFO: Processing buffer {"connection_id":170580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:12:43] local.INFO: IMEI packet received {"connection_id":170580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":170580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:12:48] local.INFO: TCP Data received {"connection_id":170580,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:12:48] local.INFO: Processing buffer {"connection_id":170580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:12:48] local.INFO: IMEI packet received {"connection_id":170580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":170580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:12:49] local.INFO: TCP Data received {"connection_id":170581,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:12:49] local.INFO: Processing buffer {"connection_id":170581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:12:49] local.INFO: IMEI packet received {"connection_id":170581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":170581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:12:49] local.INFO: TCP Data received {"connection_id":170580,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:12:49] local.INFO: Processing buffer {"connection_id":170580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:12:49] local.INFO: Packet analysis {"connection_id":170580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:12:49] local.INFO: Extracted packet for processing {"connection_id":170580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:12:49] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856006912001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788500328000,"timestamp_ms":1788500328000,"timestamp_seconds":1788500328,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed3e40"} 
[2026-09-04 11:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":170580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":170580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":170580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856006912001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856006912001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:12:49] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:12:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856006912001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":170580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:12:49] local.INFO: GPS data processed {"connection_id":170580,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:12:49] local.INFO: Acknowledgment sent {"connection_id":170580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:12:53] local.INFO: TCP Data received {"connection_id":170581,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:12:53] local.INFO: Processing buffer {"connection_id":170581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:12:53] local.INFO: IMEI packet received {"connection_id":170581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":170581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:12:54] local.INFO: TCP Data received {"connection_id":170580,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:12:54] local.INFO: Processing buffer {"connection_id":170580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:12:54] local.INFO: Packet analysis {"connection_id":170580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:12:54] local.INFO: Extracted packet for processing {"connection_id":170580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:12:54] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856006912001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788500328000,"timestamp_ms":1788500328000,"timestamp_seconds":1788500328,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed3e40"} 
[2026-09-04 11:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856006912001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856006912001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:12:54] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:12:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856006912001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":170580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761830,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:12:54] local.INFO: GPS data processed {"connection_id":170580,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:12:54] local.INFO: Acknowledgment sent {"connection_id":170580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:12:54] local.INFO: TCP Data received {"connection_id":170581,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed49f8012d19d3c007239498003400d627..."} 
[2026-09-04 11:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed49f8012d19d3c007239498003400d627..."} 
[2026-09-04 11:12:54] local.INFO: Processing buffer {"connection_id":170581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed49f8012d19d3c007239498003400d627..."} 
[2026-09-04 11:12:54] local.INFO: Packet analysis {"connection_id":170581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:12:54] local.INFO: Extracted packet for processing {"connection_id":170581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:12:54] local.INFO: GPS Element Parsed {"raw_longitude":756667328,"raw_latitude":119772312,"longitude_deg":75.6667328,"latitude_deg":11.9772312,"altitude":52,"angle":214,"satellites":39,"speed":5,"hex_longitude":"2d19d3c0","hex_latitude":"07239498","is_valid_coordinates":true} 
[2026-09-04 11:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856083968001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162109494231040,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861323682905210880,"note":"Value kept but may cause issues"} 
[2026-09-04 11:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788500331000,"timestamp_ms":1788500331000,"timestamp_seconds":1788500331,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed49f8"} 
[2026-09-04 11:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-04 11:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856083968001,"66":12667,"112":206,"28":31744,"24":5,"16":17162109494231040,"45":1861323682905210880},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856083968001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:12:54] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:12:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162109494231040,"km_value":17162109494231.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861323682905210880,"description":"Unknown IO ID 45"} 
[2026-09-04 11:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856083968001,"power":12667,"unknown_112":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1861323682905210880}} 
[2026-09-04 11:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":170581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:12:55] local.INFO: GPS data processed {"connection_id":170581,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:12:55] local.INFO: Acknowledgment sent {"connection_id":170581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:13:00] local.INFO: TCP Data received {"connection_id":171991,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:13:00] local.INFO: Processing buffer {"connection_id":171991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:13:00] local.INFO: IMEI packet received {"connection_id":171991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":171991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:13:05] local.INFO: TCP Data received {"connection_id":171991,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:13:05] local.INFO: Processing buffer {"connection_id":171991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:13:05] local.INFO: IMEI packet received {"connection_id":171991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":171991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:13:05] local.INFO: TCP Data received {"connection_id":171991,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:13:05] local.INFO: Processing buffer {"connection_id":171991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aedc6f8012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:13:05] local.INFO: Packet analysis {"connection_id":171991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:13:05] local.INFO: Extracted packet for processing {"connection_id":171991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:13:05] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856015872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788500363000,"timestamp_ms":1788500363000,"timestamp_seconds":1788500363,"priority":1,"record_length":96,"hex_timestamp":"000001a06aedc6f8"} 
[2026-09-04 11:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 11:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856015872001,"66":25734,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856015872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:13:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:13:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856015872001,"power":25734,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":171991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:13:05] local.INFO: GPS data processed {"connection_id":171991,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:13:05] local.INFO: Acknowledgment sent {"connection_id":171991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:13:26] local.INFO: TCP Data received {"connection_id":170581,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed9c00012d19d28007239378003400d627..."} 
[2026-09-04 11:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed9c00012d19d28007239378003400d627..."} 
[2026-09-04 11:13:26] local.INFO: Processing buffer {"connection_id":170581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed9c00012d19d28007239378003400d627..."} 
[2026-09-04 11:13:26] local.INFO: Packet analysis {"connection_id":170581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:13:26] local.INFO: Extracted packet for processing {"connection_id":170581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:13:26] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856084736001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861042207928391680,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788500352000,"timestamp_ms":1788500352000,"timestamp_seconds":1788500352,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed9c00"} 
[2026-09-04 11:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-04 11:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856084736001,"66":13167,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1861042207928391680},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856084736001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:13:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:13:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861042207928391680,"description":"Unknown IO ID 45"} 
[2026-09-04 11:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856084736001,"power":13167,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1861042207928391680}} 
[2026-09-04 11:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":170581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:13:26] local.INFO: GPS data processed {"connection_id":170581,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:13:26] local.INFO: Acknowledgment sent {"connection_id":170581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:13:37] local.INFO: TCP Data received {"connection_id":171991,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af0ef90012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af0ef90012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:13:37] local.INFO: Processing buffer {"connection_id":171991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af0ef90012cdb8340073377a0001a00082c..."} 
[2026-09-04 11:13:37] local.INFO: Packet analysis {"connection_id":171991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af0"} 
[2026-09-04 11:13:37] local.INFO: Extracted packet for processing {"connection_id":171991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af0"} 
[2026-09-04 11:13:37] local.INFO: GPS Element Parsed {"raw_longitude":752583488,"raw_latitude":120813472,"longitude_deg":75.2583488,"latitude_deg":12.0813472,"altitude":26,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2cdb8340","hex_latitude":"073377a0","is_valid_coordinates":true} 
[2026-09-04 11:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856092928001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397695108113235968,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2629187357781811200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788500570000,"timestamp_ms":1788500570000,"timestamp_seconds":1788500570,"priority":1,"record_length":96,"hex_timestamp":"000001a06af0ef90"} 
[2026-09-04 11:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 11:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856092928001,"66":25832,"146":206,"83":40960,"24":0,"16":397695108113235968,"44":-2629187357781811200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 11:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856092928001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:13:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 11:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397695108113235968,"km_value":397695108113235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:13:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2629187357781811200,"description":"Unknown IO ID 44"} 
[2026-09-04 11:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856092928001,"power":25832,"unknown_146":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2629187357781811200}} 
[2026-09-04 11:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":171991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:13:37] local.INFO: GPS data processed {"connection_id":171991,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:13:37] local.INFO: Acknowledgment sent {"connection_id":171991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:13:38] local.INFO: TCP Data received {"connection_id":171992,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:13:38] local.INFO: Processing buffer {"connection_id":171992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:13:38] local.INFO: IMEI packet received {"connection_id":171992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":171992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:13:43] local.INFO: TCP Data received {"connection_id":171992,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:13:43] local.INFO: Processing buffer {"connection_id":171992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:13:43] local.INFO: IMEI packet received {"connection_id":171992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":171992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:13:44] local.INFO: TCP Data received {"connection_id":171992,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:13:44] local.INFO: Processing buffer {"connection_id":171992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:13:44] local.INFO: Packet analysis {"connection_id":171992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:13:44] local.INFO: Extracted packet for processing {"connection_id":171992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856006912001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788500328000,"timestamp_ms":1788500328000,"timestamp_seconds":1788500328,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed3e40"} 
[2026-09-04 11:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":171992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":171992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":171992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856006912001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856006912001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:13:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:13:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856006912001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":171992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:13:44] local.INFO: GPS data processed {"connection_id":171992,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:13:44] local.INFO: Acknowledgment sent {"connection_id":171992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:13:48] local.INFO: TCP Data received {"connection_id":173287,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:13:48] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:13:48] local.INFO: IMEI packet received {"connection_id":173287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":173287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:13:53] local.INFO: TCP Data received {"connection_id":173287,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:13:53] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:13:53] local.INFO: IMEI packet received {"connection_id":173287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":173287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:13:55] local.INFO: TCP Data received {"connection_id":173287,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aedea20012d19d28007239378003400d626..."} 
[2026-09-04 11:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aedea20012d19d28007239378003400d626..."} 
[2026-09-04 11:13:55] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aedea20012d19d28007239378003400d626..."} 
[2026-09-04 11:13:55] local.INFO: Packet analysis {"connection_id":173287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:13:55] local.INFO: Extracted packet for processing {"connection_id":173287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:13:55] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856090112001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788500372000,"timestamp_ms":1788500372000,"timestamp_seconds":1788500372,"priority":1,"record_length":96,"hex_timestamp":"000001a06aedea20"} 
[2026-09-04 11:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-04 11:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856090112001,"66":13156,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856090112001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:13:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:13:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856090112001,"power":13156,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":173287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:13:55] local.INFO: GPS data processed {"connection_id":173287,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:13:55] local.INFO: Acknowledgment sent {"connection_id":173287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:14:15] local.INFO: TCP Data received {"connection_id":170582,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:14:15] local.INFO: Processing buffer {"connection_id":170582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:14:15] local.INFO: IMEI packet received {"connection_id":170582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":170582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:14:15] local.INFO: TCP Data received {"connection_id":171992,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:14:15] local.INFO: Processing buffer {"connection_id":171992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aed3e40012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:14:15] local.INFO: Packet analysis {"connection_id":171992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:14:15] local.INFO: Extracted packet for processing {"connection_id":171992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aed"} 
[2026-09-04 11:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856006912001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788500328000,"timestamp_ms":1788500328000,"timestamp_seconds":1788500328,"priority":1,"record_length":96,"hex_timestamp":"000001a06aed3e40"} 
[2026-09-04 11:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856006912001,"66":2101,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856006912001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:14:15] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:14:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856006912001,"power":2101,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":171992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:14:16] local.INFO: GPS data processed {"connection_id":171992,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:14:16] local.INFO: Acknowledgment sent {"connection_id":171992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:14:17] local.INFO: TCP Data received {"connection_id":170582,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:14:17] local.INFO: Processing buffer {"connection_id":170582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:14:17] local.INFO: IMEI packet received {"connection_id":170582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":170582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:14:18] local.INFO: TCP Data received {"connection_id":170582,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:14:18] local.INFO: Processing buffer {"connection_id":170582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:14:18] local.INFO: IMEI packet received {"connection_id":170582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":170582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:14:19] local.INFO: TCP Data received {"connection_id":170582,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:14:19] local.INFO: Processing buffer {"connection_id":170582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:14:19] local.INFO: IMEI packet received {"connection_id":170582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":170582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:14:26] local.INFO: TCP Data received {"connection_id":173287,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aee3c28012d19d28007239378003400d626..."} 
[2026-09-04 11:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aee3c28012d19d28007239378003400d626..."} 
[2026-09-04 11:14:26] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aee3c28012d19d28007239378003400d626..."} 
[2026-09-04 11:14:26] local.INFO: Packet analysis {"connection_id":173287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aee"} 
[2026-09-04 11:14:26] local.INFO: Extracted packet for processing {"connection_id":173287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aee"} 
[2026-09-04 11:14:26] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856095232001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788500393000,"timestamp_ms":1788500393000,"timestamp_seconds":1788500393,"priority":1,"record_length":96,"hex_timestamp":"000001a06aee3c28"} 
[2026-09-04 11:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-04 11:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856095232001,"66":13091,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856095232001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:14:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:14:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856095232001,"power":13091,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":173287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:14:26] local.INFO: GPS data processed {"connection_id":173287,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:14:26] local.INFO: Acknowledgment sent {"connection_id":173287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:14:38] local.INFO: TCP Data received {"connection_id":170880,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:14:38] local.INFO: Processing buffer {"connection_id":170880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:14:38] local.INFO: IMEI packet received {"connection_id":170880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":170880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:14:43] local.INFO: TCP Data received {"connection_id":170880,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:14:43] local.INFO: Processing buffer {"connection_id":170880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:14:43] local.INFO: IMEI packet received {"connection_id":170880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":170880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:14:44] local.INFO: TCP Data received {"connection_id":170880,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06af1d608012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af1d608012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:14:44] local.INFO: Processing buffer {"connection_id":170880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af1d608012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:14:44] local.INFO: Packet analysis {"connection_id":170880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af1"} 
[2026-09-04 11:14:44] local.INFO: Extracted packet for processing {"connection_id":170880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af1"} 
[2026-09-04 11:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856083968001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788500629000,"timestamp_ms":1788500629000,"timestamp_seconds":1788500629,"priority":1,"record_length":96,"hex_timestamp":"000001a06af1d608"} 
[2026-09-04 11:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856083968001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856083968001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:14:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:14:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856083968001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":170880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761839,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:14:44] local.INFO: GPS data processed {"connection_id":170880,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:14:44] local.INFO: Acknowledgment sent {"connection_id":170880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:14:48] local.INFO: TCP Data received {"connection_id":170583,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:14:48] local.INFO: Processing buffer {"connection_id":170583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:14:48] local.INFO: IMEI packet received {"connection_id":170583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":170583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:14:53] local.INFO: TCP Data received {"connection_id":170583,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:14:53] local.INFO: Processing buffer {"connection_id":170583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:14:53] local.INFO: IMEI packet received {"connection_id":170583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":170583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:14:54] local.INFO: TCP Data received {"connection_id":170583,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aee9218012d19d28007239378003400d626..."} 
[2026-09-04 11:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aee9218012d19d28007239378003400d626..."} 
[2026-09-04 11:14:54] local.INFO: Processing buffer {"connection_id":170583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aee9218012d19d28007239378003400d626..."} 
[2026-09-04 11:14:54] local.INFO: Packet analysis {"connection_id":170583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aee"} 
[2026-09-04 11:14:54] local.INFO: Extracted packet for processing {"connection_id":170583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aee"} 
[2026-09-04 11:14:54] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856100608001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788500415000,"timestamp_ms":1788500415000,"timestamp_seconds":1788500415,"priority":1,"record_length":96,"hex_timestamp":"000001a06aee9218"} 
[2026-09-04 11:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 11:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856100608001,"66":13048,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856100608001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:14:54] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:14:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856100608001,"power":13048,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":170583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:14:55] local.INFO: GPS data processed {"connection_id":170583,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:14:55] local.INFO: Acknowledgment sent {"connection_id":170583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:15:16] local.INFO: TCP Data received {"connection_id":170880,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06af1d608012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af1d608012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:15:16] local.INFO: Processing buffer {"connection_id":170880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af1d608012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:15:16] local.INFO: Packet analysis {"connection_id":170880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af1"} 
[2026-09-04 11:15:16] local.INFO: Extracted packet for processing {"connection_id":170880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af1"} 
[2026-09-04 11:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856083968001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788500629000,"timestamp_ms":1788500629000,"timestamp_seconds":1788500629,"priority":1,"record_length":96,"hex_timestamp":"000001a06af1d608"} 
[2026-09-04 11:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":170880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":170880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":170880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856083968001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856083968001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:15:16] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:15:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856083968001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":170880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761841,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:15:16] local.INFO: GPS data processed {"connection_id":170880,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:15:16] local.INFO: Acknowledgment sent {"connection_id":170880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:15:27] local.INFO: TCP Data received {"connection_id":170583,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aeee420012d19d28007239378003400d628..."} 
[2026-09-04 11:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aeee420012d19d28007239378003400d628..."} 
[2026-09-04 11:15:27] local.INFO: Processing buffer {"connection_id":170583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aeee420012d19d28007239378003400d628..."} 
[2026-09-04 11:15:27] local.INFO: Packet analysis {"connection_id":170583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aee"} 
[2026-09-04 11:15:27] local.INFO: Extracted packet for processing {"connection_id":170583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aee"} 
[2026-09-04 11:15:27] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856106240001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788500436000,"timestamp_ms":1788500436000,"timestamp_seconds":1788500436,"priority":1,"record_length":96,"hex_timestamp":"000001a06aeee420"} 
[2026-09-04 11:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-04 11:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856106240001,"66":13091,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856106240001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:15:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:15:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856106240001,"power":13091,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":170583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:15:27] local.INFO: GPS data processed {"connection_id":170583,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:15:27] local.INFO: Acknowledgment sent {"connection_id":170583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:15:37] local.INFO: TCP Data received {"connection_id":170881,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:15:37] local.INFO: Processing buffer {"connection_id":170881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:15:37] local.INFO: IMEI packet received {"connection_id":170881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":170881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:15:43] local.INFO: TCP Data received {"connection_id":170881,"ip":"117.224.220.75","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:15:43] local.INFO: Processing buffer {"connection_id":170881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:15:43] local.INFO: IMEI packet received {"connection_id":170881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":170881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:15:44] local.INFO: TCP Data received {"connection_id":170881,"ip":"117.224.220.75","data_length":795,"data_hex":"000000000000030f8e0a000001a06af1d608012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af1d608012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:15:44] local.INFO: Processing buffer {"connection_id":170881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af1d608012d33990006a8c888000c00ca2c..."} 
[2026-09-04 11:15:44] local.INFO: Packet analysis {"connection_id":170881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af1"} 
[2026-09-04 11:15:44] local.INFO: Extracted packet for processing {"connection_id":170881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af1"} 
[2026-09-04 11:15:44] local.INFO: GPS Element Parsed {"raw_longitude":758356224,"raw_latitude":111724680,"longitude_deg":75.8356224,"latitude_deg":11.172468,"altitude":12,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d339900","hex_latitude":"06a8c888","is_valid_coordinates":true} 
[2026-09-04 11:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856083968001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718002995972573184,"note":"Value kept but may cause issues"} 
[2026-09-04 11:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788500629000,"timestamp_ms":1788500629000,"timestamp_seconds":1788500629,"priority":1,"record_length":96,"hex_timestamp":"000001a06af1d608"} 
[2026-09-04 11:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.220.75","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856083968001,"66":2122,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3718002995972573184},"client_ip":"117.224.220.75","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856083968001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:15:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:15:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718002995972573184,"description":"Unknown IO ID 45"} 
[2026-09-04 11:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856083968001,"power":2122,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3718002995972573184}} 
[2026-09-04 11:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":170881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761843,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:15:44] local.INFO: GPS data processed {"connection_id":170881,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:15:44] local.INFO: Acknowledgment sent {"connection_id":170881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:15:48] local.INFO: TCP Data received {"connection_id":170585,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:15:48] local.INFO: Processing buffer {"connection_id":170585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:15:48] local.INFO: IMEI packet received {"connection_id":170585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":170585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:15:54] local.INFO: TCP Data received {"connection_id":170585,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:15:54] local.INFO: Processing buffer {"connection_id":170585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:15:54] local.INFO: IMEI packet received {"connection_id":170585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":170585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:15:55] local.INFO: TCP Data received {"connection_id":170585,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af26690012d19d28007239378003400d62a..."} 
[2026-09-04 11:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af26690012d19d28007239378003400d62a..."} 
[2026-09-04 11:15:55] local.INFO: Processing buffer {"connection_id":170585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af26690012d19d28007239378003400d62a..."} 
[2026-09-04 11:15:55] local.INFO: Packet analysis {"connection_id":170585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af2"} 
[2026-09-04 11:15:55] local.INFO: Extracted packet for processing {"connection_id":170585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af2"} 
[2026-09-04 11:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856165120001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788500666000,"timestamp_ms":1788500666000,"timestamp_seconds":1788500666,"priority":1,"record_length":96,"hex_timestamp":"000001a06af26690"} 
[2026-09-04 11:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 11:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856165120001,"66":12841,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856165120001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:15:56] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:15:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856165120001,"power":12841,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":170585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:15:56] local.INFO: GPS data processed {"connection_id":170585,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:15:56] local.INFO: Acknowledgment sent {"connection_id":170585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:16:27] local.INFO: TCP Data received {"connection_id":170585,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af2bc80012d19d28007239378003400d62a..."} 
[2026-09-04 11:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af2bc80012d19d28007239378003400d62a..."} 
[2026-09-04 11:16:27] local.INFO: Processing buffer {"connection_id":170585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af2bc80012d19d28007239378003400d62a..."} 
[2026-09-04 11:16:27] local.INFO: Packet analysis {"connection_id":170585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af2"} 
[2026-09-04 11:16:27] local.INFO: Extracted packet for processing {"connection_id":170585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af2"} 
[2026-09-04 11:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856170496001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788500688000,"timestamp_ms":1788500688000,"timestamp_seconds":1788500688,"priority":1,"record_length":96,"hex_timestamp":"000001a06af2bc80"} 
[2026-09-04 11:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 11:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856170496001,"66":12841,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856170496001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:16:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:16:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856170496001,"power":12841,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":170585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:16:27] local.INFO: GPS data processed {"connection_id":170585,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:16:27] local.INFO: Acknowledgment sent {"connection_id":170585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:16:48] local.INFO: TCP Data received {"connection_id":171994,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:16:48] local.INFO: Processing buffer {"connection_id":171994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:16:48] local.INFO: IMEI packet received {"connection_id":171994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":171994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:16:50] local.INFO: TCP Data received {"connection_id":171994,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:16:50] local.INFO: Processing buffer {"connection_id":171994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:16:50] local.INFO: IMEI packet received {"connection_id":171994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":171994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:16:54] local.INFO: TCP Data received {"connection_id":171994,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:16:54] local.INFO: Processing buffer {"connection_id":171994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:16:54] local.INFO: IMEI packet received {"connection_id":171994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":171994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:16:55] local.INFO: TCP Data received {"connection_id":171994,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af30e88012d19d28007239378003400d62a..."} 
[2026-09-04 11:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af30e88012d19d28007239378003400d62a..."} 
[2026-09-04 11:16:55] local.INFO: Processing buffer {"connection_id":171994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af30e88012d19d28007239378003400d62a..."} 
[2026-09-04 11:16:55] local.INFO: Packet analysis {"connection_id":171994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af3"} 
[2026-09-04 11:16:55] local.INFO: Extracted packet for processing {"connection_id":171994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af3"} 
[2026-09-04 11:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856176128001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788500709000,"timestamp_ms":1788500709000,"timestamp_seconds":1788500709,"priority":1,"record_length":96,"hex_timestamp":"000001a06af30e88"} 
[2026-09-04 11:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 11:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856176128001,"66":12819,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856176128001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:16:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856176128001,"power":12819,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":171994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:16:55] local.INFO: GPS data processed {"connection_id":171994,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:16:55] local.INFO: Acknowledgment sent {"connection_id":171994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:17:27] local.INFO: TCP Data received {"connection_id":171994,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af36090012d19d28007239378003400d62b..."} 
[2026-09-04 11:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af36090012d19d28007239378003400d62b..."} 
[2026-09-04 11:17:27] local.INFO: Processing buffer {"connection_id":171994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af36090012d19d28007239378003400d62b..."} 
[2026-09-04 11:17:27] local.INFO: Packet analysis {"connection_id":171994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af3"} 
[2026-09-04 11:17:27] local.INFO: Extracted packet for processing {"connection_id":171994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af3"} 
[2026-09-04 11:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856181504001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788500730000,"timestamp_ms":1788500730000,"timestamp_seconds":1788500730,"priority":1,"record_length":96,"hex_timestamp":"000001a06af36090"} 
[2026-09-04 11:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503861500706816,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-1094286743469174144,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2474115124,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4107546747252048128,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1769913768315453416,"corrected_to":0} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2147951507,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":120,"raw_value":14637618599821312,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182083680731392,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121887124114972,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4175298560,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2563524555171747368,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195044864,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84752359871685523,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:27] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,112,28,24,241,158,16,248,160,188,45,128,147,52,42,10,66,102,20,1,240,41,106,35,4,113,205,210,120,239,50,2,60,7,124,222,69,72],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-1769913768315453416,"validated":0}]} 
[2026-09-04 11:17:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747230365849223168,"timestamp_seconds":3747230365849223.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856181504001,"66":12765,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856181504001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:17:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:17:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856181504001,"power":12765,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":171994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:17:27] local.INFO: GPS data processed {"connection_id":171994,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:17:27] local.INFO: Acknowledgment sent {"connection_id":171994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:17:48] local.INFO: TCP Data received {"connection_id":170882,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:17:48] local.INFO: Processing buffer {"connection_id":170882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:17:48] local.INFO: IMEI packet received {"connection_id":170882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":170882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:17:52] local.INFO: TCP Data received {"connection_id":170882,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:17:52] local.INFO: Processing buffer {"connection_id":170882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:17:52] local.INFO: IMEI packet received {"connection_id":170882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":170882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:17:53] local.INFO: TCP Data received {"connection_id":170882,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:17:53] local.INFO: Processing buffer {"connection_id":170882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:17:53] local.INFO: IMEI packet received {"connection_id":170882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":170882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:17:54] local.INFO: TCP Data received {"connection_id":170882,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af3b298012d19d28007239378003400d62a..."} 
[2026-09-04 11:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af3b298012d19d28007239378003400d62a..."} 
[2026-09-04 11:17:54] local.INFO: Processing buffer {"connection_id":170882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af3b298012d19d28007239378003400d62a..."} 
[2026-09-04 11:17:54] local.INFO: Packet analysis {"connection_id":170882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af3"} 
[2026-09-04 11:17:54] local.INFO: Extracted packet for processing {"connection_id":170882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af3"} 
[2026-09-04 11:17:54] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856186880001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788500751000,"timestamp_ms":1788500751000,"timestamp_seconds":1788500751,"priority":1,"record_length":96,"hex_timestamp":"000001a06af3b298"} 
[2026-09-04 11:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-04 11:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856186880001,"66":12798,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856186880001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:17:54] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:17:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856186880001,"power":12798,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":170882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:17:54] local.INFO: GPS data processed {"connection_id":170882,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:17:54] local.INFO: Acknowledgment sent {"connection_id":170882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:18:26] local.INFO: TCP Data received {"connection_id":170882,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af404a0012d19d28007239378003400d62b..."} 
[2026-09-04 11:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af404a0012d19d28007239378003400d62b..."} 
[2026-09-04 11:18:26] local.INFO: Processing buffer {"connection_id":170882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af404a0012d19d28007239378003400d62b..."} 
[2026-09-04 11:18:26] local.INFO: Packet analysis {"connection_id":170882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af4"} 
[2026-09-04 11:18:26] local.INFO: Extracted packet for processing {"connection_id":170882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af4"} 
[2026-09-04 11:18:26] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856192256001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788500772000,"timestamp_ms":1788500772000,"timestamp_seconds":1788500772,"priority":1,"record_length":96,"hex_timestamp":"000001a06af404a0"} 
[2026-09-04 11:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 11:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856192256001,"66":12711,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856192256001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:18:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:18:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856192256001,"power":12711,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":170882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:18:26] local.INFO: GPS data processed {"connection_id":170882,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:18:26] local.INFO: Acknowledgment sent {"connection_id":170882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:18:54] local.INFO: TCP Data received {"connection_id":170586,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:18:54] local.INFO: Processing buffer {"connection_id":170586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:18:54] local.INFO: IMEI packet received {"connection_id":170586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":170586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:18:56] local.INFO: TCP Data received {"connection_id":170586,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:18:56] local.INFO: Processing buffer {"connection_id":170586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:18:56] local.INFO: IMEI packet received {"connection_id":170586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":170586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:18:57] local.INFO: TCP Data received {"connection_id":170586,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af456a8012d19d28007239378003400d62c..."} 
[2026-09-04 11:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af456a8012d19d28007239378003400d62c..."} 
[2026-09-04 11:18:57] local.INFO: Processing buffer {"connection_id":170586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af456a8012d19d28007239378003400d62c..."} 
[2026-09-04 11:18:57] local.INFO: Packet analysis {"connection_id":170586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af4"} 
[2026-09-04 11:18:57] local.INFO: Extracted packet for processing {"connection_id":170586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af4"} 
[2026-09-04 11:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856197632001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788500793000,"timestamp_ms":1788500793000,"timestamp_seconds":1788500793,"priority":1,"record_length":96,"hex_timestamp":"000001a06af456a8"} 
[2026-09-04 11:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-04 11:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":170586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":170586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":170586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856197632001,"66":12711,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856197632001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:18:57] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:18:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856197632001,"power":12711,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":170586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:18:57] local.INFO: GPS data processed {"connection_id":170586,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:18:57] local.INFO: Acknowledgment sent {"connection_id":170586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:18:59] local.INFO: TCP Data received {"connection_id":170586,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af4a8b0012d19d28007239378003400d62b..."} 
[2026-09-04 11:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af4a8b0012d19d28007239378003400d62b..."} 
[2026-09-04 11:18:59] local.INFO: Processing buffer {"connection_id":170586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af4a8b0012d19d28007239378003400d62b..."} 
[2026-09-04 11:18:59] local.INFO: Packet analysis {"connection_id":170586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af4"} 
[2026-09-04 11:18:59] local.INFO: Extracted packet for processing {"connection_id":170586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af4"} 
[2026-09-04 11:18:59] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856203008001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788500814000,"timestamp_ms":1788500814000,"timestamp_seconds":1788500814,"priority":1,"record_length":96,"hex_timestamp":"000001a06af4a8b0"} 
[2026-09-04 11:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-04 11:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856203008001,"66":12722,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856203008001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:18:59] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:18:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856203008001,"power":12722,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":170586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:18:59] local.INFO: GPS data processed {"connection_id":170586,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:18:59] local.INFO: Acknowledgment sent {"connection_id":170586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:19:22] local.INFO: TCP Data received {"connection_id":171995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:19:22] local.INFO: Processing buffer {"connection_id":171995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:19:22] local.INFO: IMEI packet received {"connection_id":171995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":171995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:19:23] local.INFO: TCP Data received {"connection_id":171995,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af5f8a0012cda018007351c18001c01352f..."} 
[2026-09-04 11:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af5f8a0012cda018007351c18001c01352f..."} 
[2026-09-04 11:19:23] local.INFO: Processing buffer {"connection_id":171995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af5f8a0012cda018007351c18001c01352f..."} 
[2026-09-04 11:19:23] local.INFO: Packet analysis {"connection_id":171995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af5"} 
[2026-09-04 11:19:23] local.INFO: Extracted packet for processing {"connection_id":171995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af5"} 
[2026-09-04 11:19:23] local.INFO: GPS Element Parsed {"raw_longitude":752484736,"raw_latitude":120921112,"longitude_deg":75.2484736,"latitude_deg":12.0921112,"altitude":28,"angle":309,"satellites":47,"speed":47,"hex_longitude":"2cda0180","hex_latitude":"07351c18","is_valid_coordinates":true} 
[2026-09-04 11:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856228352001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397702409557639168,"note":"Value kept but may cause issues"} 
[2026-09-04 11:19:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2730307243139098624,"note":"Value kept but may cause issues"} 
[2026-09-04 11:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788500900000,"timestamp_ms":1788500900000,"timestamp_seconds":1788500900,"priority":1,"record_length":96,"hex_timestamp":"000001a06af5f8a0"} 
[2026-09-04 11:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856228352001,"66":27800,"175":206,"83":40960,"24":47,"16":397702409557639168,"44":-2730307243139098624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-04 11:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856228352001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:19:23] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 11:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397702409557639168,"km_value":397702409557639.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:19:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2730307243139098624,"description":"Unknown IO ID 44"} 
[2026-09-04 11:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856228352001,"power":27800,"unknown_175":206,"unknown_83":40960,"ignition":47,"odometer":null,"unknown_44":-2730307243139098624}} 
[2026-09-04 11:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":171995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:19:23] local.INFO: GPS data processed {"connection_id":171995,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:19:23] local.INFO: Acknowledgment sent {"connection_id":171995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:19:30] local.INFO: TCP Data received {"connection_id":170586,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af4f6d0012d19d28007239378003400d62d..."} 
[2026-09-04 11:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af4f6d0012d19d28007239378003400d62d..."} 
[2026-09-04 11:19:30] local.INFO: Processing buffer {"connection_id":170586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af4f6d0012d19d28007239378003400d62d..."} 
[2026-09-04 11:19:30] local.INFO: Packet analysis {"connection_id":170586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af4"} 
[2026-09-04 11:19:30] local.INFO: Extracted packet for processing {"connection_id":170586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af4"} 
[2026-09-04 11:19:30] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856208384001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788500834000,"timestamp_ms":1788500834000,"timestamp_seconds":1788500834,"priority":1,"record_length":96,"hex_timestamp":"000001a06af4f6d0"} 
[2026-09-04 11:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856208384001,"66":12461,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856208384001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:19:30] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:19:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856208384001,"power":12461,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":170586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:19:30] local.INFO: GPS data processed {"connection_id":170586,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:19:30] local.INFO: Acknowledgment sent {"connection_id":170586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:19:49] local.INFO: TCP Data received {"connection_id":170884,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:19:49] local.INFO: Processing buffer {"connection_id":170884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:19:49] local.INFO: IMEI packet received {"connection_id":170884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":170884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:19:54] local.INFO: TCP Data received {"connection_id":170884,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:19:54] local.INFO: Processing buffer {"connection_id":170884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:19:54] local.INFO: IMEI packet received {"connection_id":170884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":170884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:19:55] local.INFO: TCP Data received {"connection_id":170884,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af548d8012d19d28007239378003400d62c..."} 
[2026-09-04 11:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af548d8012d19d28007239378003400d62c..."} 
[2026-09-04 11:19:55] local.INFO: Processing buffer {"connection_id":170884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af548d8012d19d28007239378003400d62c..."} 
[2026-09-04 11:19:55] local.INFO: Packet analysis {"connection_id":170884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af5"} 
[2026-09-04 11:19:55] local.INFO: Extracted packet for processing {"connection_id":170884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af5"} 
[2026-09-04 11:19:55] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856213504001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788500855000,"timestamp_ms":1788500855000,"timestamp_seconds":1788500855,"priority":1,"record_length":96,"hex_timestamp":"000001a06af548d8"} 
[2026-09-04 11:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 11:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856213504001,"66":12711,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856213504001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:19:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856213504001,"power":12711,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":170884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:19:55] local.INFO: GPS data processed {"connection_id":170884,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:19:55] local.INFO: Acknowledgment sent {"connection_id":170884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:19:59] local.INFO: TCP Data received {"connection_id":170587,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:19:59] local.INFO: Processing buffer {"connection_id":170587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:19:59] local.INFO: IMEI packet received {"connection_id":170587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":170587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:20:04] local.INFO: TCP Data received {"connection_id":170587,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:20:04] local.INFO: Processing buffer {"connection_id":170587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:20:04] local.INFO: IMEI packet received {"connection_id":170587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":170587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:20:04] local.INFO: TCP Data received {"connection_id":170587,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af617e0012cd9e08007353198001c012a2f..."} 
[2026-09-04 11:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af617e0012cd9e08007353198001c012a2f..."} 
[2026-09-04 11:20:04] local.INFO: Processing buffer {"connection_id":170587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af617e0012cd9e08007353198001c012a2f..."} 
[2026-09-04 11:20:04] local.INFO: Packet analysis {"connection_id":170587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af6"} 
[2026-09-04 11:20:04] local.INFO: Extracted packet for processing {"connection_id":170587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af6"} 
[2026-09-04 11:20:04] local.INFO: GPS Element Parsed {"raw_longitude":752476288,"raw_latitude":120926616,"longitude_deg":75.2476288,"latitude_deg":12.0926616,"altitude":28,"angle":298,"satellites":47,"speed":51,"hex_longitude":"2cd9e080","hex_latitude":"07353198","is_valid_coordinates":true} 
[2026-09-04 11:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856230400001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397702890593976320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:20:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2737766330020390912,"note":"Value kept but may cause issues"} 
[2026-09-04 11:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788500908000,"timestamp_ms":1788500908000,"timestamp_seconds":1788500908,"priority":1,"record_length":96,"hex_timestamp":"000001a06af617e0"} 
[2026-09-04 11:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 11:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856230400001,"66":28137,"175":206,"83":40960,"24":51,"16":397702890593976320,"44":-2737766330020390912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-04 11:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856230400001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:20:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 11:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397702890593976320,"km_value":397702890593976.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:20:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2737766330020390912,"description":"Unknown IO ID 44"} 
[2026-09-04 11:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856230400001,"power":28137,"unknown_175":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2737766330020390912}} 
[2026-09-04 11:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":170587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:20:04] local.INFO: GPS data processed {"connection_id":170587,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:20:04] local.INFO: Acknowledgment sent {"connection_id":170587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:20:26] local.INFO: TCP Data received {"connection_id":170884,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af59ae0012d19d28007239378003400d62e..."} 
[2026-09-04 11:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af59ae0012d19d28007239378003400d62e..."} 
[2026-09-04 11:20:26] local.INFO: Processing buffer {"connection_id":170884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af59ae0012d19d28007239378003400d62e..."} 
[2026-09-04 11:20:26] local.INFO: Packet analysis {"connection_id":170884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af5"} 
[2026-09-04 11:20:26] local.INFO: Extracted packet for processing {"connection_id":170884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af5"} 
[2026-09-04 11:20:26] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856218880001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788500876000,"timestamp_ms":1788500876000,"timestamp_seconds":1788500876,"priority":1,"record_length":96,"hex_timestamp":"000001a06af59ae0"} 
[2026-09-04 11:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-04 11:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856218880001,"66":12645,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856218880001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:20:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:20:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856218880001,"power":12645,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":170884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:20:27] local.INFO: GPS data processed {"connection_id":170884,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:20:27] local.INFO: Acknowledgment sent {"connection_id":170884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:20:36] local.INFO: TCP Data received {"connection_id":170587,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af63338012cd9be40073540d0001b012430..."} 
[2026-09-04 11:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af63338012cd9be40073540d0001b012430..."} 
[2026-09-04 11:20:36] local.INFO: Processing buffer {"connection_id":170587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af63338012cd9be40073540d0001b012430..."} 
[2026-09-04 11:20:36] local.INFO: Packet analysis {"connection_id":170587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af6"} 
[2026-09-04 11:20:36] local.INFO: Extracted packet for processing {"connection_id":170587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af6"} 
[2026-09-04 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":752467520,"raw_latitude":120930512,"longitude_deg":75.246752,"latitude_deg":12.0930512,"altitude":27,"angle":292,"satellites":48,"speed":56,"hex_longitude":"2cd9be40","hex_latitude":"073540d0","is_valid_coordinates":true} 
[2026-09-04 11:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856232448001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397703350155476992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:20:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2747055004250433536,"note":"Value kept but may cause issues"} 
[2026-09-04 11:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788500915000,"timestamp_ms":1788500915000,"timestamp_seconds":1788500915,"priority":1,"record_length":96,"hex_timestamp":"000001a06af63338"} 
[2026-09-04 11:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 11:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856232448001,"66":28093,"175":206,"83":40960,"24":56,"16":397703350155476992,"44":-2747055004250433536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-04 11:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856232448001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:20:37] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 11:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397703350155476992,"km_value":397703350155477.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2747055004250433536,"description":"Unknown IO ID 44"} 
[2026-09-04 11:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856232448001,"power":28093,"unknown_175":206,"unknown_83":40960,"ignition":56,"odometer":null,"unknown_44":-2747055004250433536}} 
[2026-09-04 11:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":170587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:20:37] local.INFO: GPS data processed {"connection_id":170587,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:20:37] local.INFO: Acknowledgment sent {"connection_id":170587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:20:49] local.INFO: TCP Data received {"connection_id":173289,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:20:49] local.INFO: Processing buffer {"connection_id":173289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:20:49] local.INFO: IMEI packet received {"connection_id":173289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":173289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:20:54] local.INFO: TCP Data received {"connection_id":173289,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:20:54] local.INFO: Processing buffer {"connection_id":173289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:20:54] local.INFO: IMEI packet received {"connection_id":173289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":173289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:20:55] local.INFO: TCP Data received {"connection_id":173289,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af5ece8012d19d28007239378003400d62d..."} 
[2026-09-04 11:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af5ece8012d19d28007239378003400d62d..."} 
[2026-09-04 11:20:55] local.INFO: Processing buffer {"connection_id":173289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af5ece8012d19d28007239378003400d62d..."} 
[2026-09-04 11:20:55] local.INFO: Packet analysis {"connection_id":173289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af5"} 
[2026-09-04 11:20:55] local.INFO: Extracted packet for processing {"connection_id":173289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af5"} 
[2026-09-04 11:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856224256001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788500897000,"timestamp_ms":1788500897000,"timestamp_seconds":1788500897,"priority":1,"record_length":96,"hex_timestamp":"000001a06af5ece8"} 
[2026-09-04 11:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-04 11:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856224256001,"66":12558,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856224256001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:20:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856224256001,"power":12558,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":173289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:20:55] local.INFO: GPS data processed {"connection_id":173289,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:20:55] local.INFO: Acknowledgment sent {"connection_id":173289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:21:04] local.INFO: TCP Data received {"connection_id":170885,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:21:05] local.INFO: Processing buffer {"connection_id":170885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:21:05] local.INFO: IMEI packet received {"connection_id":170885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":170885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:21:08] local.INFO: TCP Data received {"connection_id":170885,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:21:08] local.INFO: Processing buffer {"connection_id":170885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:21:08] local.INFO: IMEI packet received {"connection_id":170885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":170885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:21:10] local.INFO: TCP Data received {"connection_id":170885,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af763e8012cd841000735ff10000c012b2f..."} 
[2026-09-04 11:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af763e8012cd841000735ff10000c012b2f..."} 
[2026-09-04 11:21:10] local.INFO: Processing buffer {"connection_id":170885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af763e8012cd841000735ff10000c012b2f..."} 
[2026-09-04 11:21:10] local.INFO: Packet analysis {"connection_id":170885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:21:10] local.INFO: Extracted packet for processing {"connection_id":170885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:21:10] local.INFO: GPS Element Parsed {"raw_longitude":752369920,"raw_latitude":120979216,"longitude_deg":75.236992,"latitude_deg":12.0979216,"altitude":12,"angle":299,"satellites":47,"speed":52,"hex_longitude":"2cd84100","hex_latitude":"0735ff10","is_valid_coordinates":true} 
[2026-09-04 11:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856251904001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397708555655839744,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2853171070458339328,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788500993000,"timestamp_ms":1788500993000,"timestamp_seconds":1788500993,"priority":1,"record_length":96,"hex_timestamp":"000001a06af763e8"} 
[2026-09-04 11:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 11:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856251904001,"66":27919,"163":206,"83":40960,"24":52,"16":397708555655839744,"44":-2853171070458339328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-09-04 11:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856251904001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:21:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-04 11:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397708555655839744,"km_value":397708555655839.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2853171070458339328,"description":"Unknown IO ID 44"} 
[2026-09-04 11:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856251904001,"power":27919,"unknown_163":206,"unknown_83":40960,"ignition":52,"odometer":null,"unknown_44":-2853171070458339328}} 
[2026-09-04 11:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":170885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:21:10] local.INFO: GPS data processed {"connection_id":170885,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:21:10] local.INFO: Acknowledgment sent {"connection_id":170885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:21:11] local.INFO: TCP Data received {"connection_id":170885,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af77f40012cd81f4007361070000c01282f..."} 
[2026-09-04 11:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af77f40012cd81f4007361070000c01282f..."} 
[2026-09-04 11:21:11] local.INFO: Processing buffer {"connection_id":170885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af77f40012cd81f4007361070000c01282f..."} 
[2026-09-04 11:21:11] local.INFO: Packet analysis {"connection_id":170885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:21:11] local.INFO: Extracted packet for processing {"connection_id":170885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:21:11] local.INFO: GPS Element Parsed {"raw_longitude":752361280,"raw_latitude":120983664,"longitude_deg":75.236128,"latitude_deg":12.0983664,"altitude":12,"angle":296,"satellites":47,"speed":55,"hex_longitude":"2cd81f40","hex_latitude":"07361070","is_valid_coordinates":true} 
[2026-09-04 11:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856254208001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397709019512307712,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2864007857060245504,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788501000000,"timestamp_ms":1788501000000,"timestamp_seconds":1788501000,"priority":1,"record_length":96,"hex_timestamp":"000001a06af77f40"} 
[2026-09-04 11:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 11:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856254208001,"66":27930,"165":206,"83":40960,"24":55,"16":397709019512307712,"44":-2864007857060245504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-04 11:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856254208001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:21:11] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 11:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397709019512307712,"km_value":397709019512307.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2864007857060245504,"description":"Unknown IO ID 44"} 
[2026-09-04 11:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856254208001,"power":27930,"unknown_165":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2864007857060245504}} 
[2026-09-04 11:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":170885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:21:11] local.INFO: GPS data processed {"connection_id":170885,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:21:11] local.INFO: Acknowledgment sent {"connection_id":170885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:21:26] local.INFO: TCP Data received {"connection_id":173289,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af63ef0012d19d28007239378003400d62c..."} 
[2026-09-04 11:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af63ef0012d19d28007239378003400d62c..."} 
[2026-09-04 11:21:26] local.INFO: Processing buffer {"connection_id":173289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af63ef0012d19d28007239378003400d62c..."} 
[2026-09-04 11:21:26] local.INFO: Packet analysis {"connection_id":173289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af6"} 
[2026-09-04 11:21:26] local.INFO: Extracted packet for processing {"connection_id":173289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af6"} 
[2026-09-04 11:21:26] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856229632001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788500918000,"timestamp_ms":1788500918000,"timestamp_seconds":1788500918,"priority":1,"record_length":96,"hex_timestamp":"000001a06af63ef0"} 
[2026-09-04 11:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":53249,"corrected_to":0} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249860053441942392,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":106,"raw_value":4104695809,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2474115124,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2147951507,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847783,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4175298560,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":57,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:26] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,112,28,24,241,158,16,248,160,154,45,128,147,52,46,10,66,72,44,246,1,240,173,106,35,4,113,205,86,210,120,239,49,2,60,7,231,57,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":246,"original":53249,"validated":0},{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-04 11:21:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747230378734125056,"timestamp_seconds":3747230378734125.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856229632001,"66":12667,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856229632001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:21:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:21:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856229632001,"power":12667,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":173289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:21:26] local.INFO: GPS data processed {"connection_id":173289,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:21:26] local.INFO: Acknowledgment sent {"connection_id":173289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:21:42] local.INFO: TCP Data received {"connection_id":170885,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af79a98012cd7fb4007362160000d01272e..."} 
[2026-09-04 11:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af79a98012cd7fb4007362160000d01272e..."} 
[2026-09-04 11:21:42] local.INFO: Processing buffer {"connection_id":170885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af79a98012cd7fb4007362160000d01272e..."} 
[2026-09-04 11:21:42] local.INFO: Packet analysis {"connection_id":170885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:21:42] local.INFO: Extracted packet for processing {"connection_id":170885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:21:42] local.INFO: GPS Element Parsed {"raw_longitude":752352064,"raw_latitude":120988000,"longitude_deg":75.2352064,"latitude_deg":12.0988,"altitude":13,"angle":295,"satellites":46,"speed":58,"hex_longitude":"2cd7fb40","hex_latitude":"07362160","is_valid_coordinates":true} 
[2026-09-04 11:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856256000001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397709504843612160,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2873507637523091456,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788501007000,"timestamp_ms":1788501007000,"timestamp_seconds":1788501007,"priority":1,"record_length":96,"hex_timestamp":"000001a06af79a98"} 
[2026-09-04 11:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 11:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856256000001,"66":28006,"165":206,"83":40960,"24":58,"16":397709504843612160,"44":-2873507637523091456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-04 11:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856256000001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:21:42] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 11:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397709504843612160,"km_value":397709504843612.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2873507637523091456,"description":"Unknown IO ID 44"} 
[2026-09-04 11:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856256000001,"power":28006,"unknown_165":206,"unknown_83":40960,"ignition":58,"odometer":null,"unknown_44":-2873507637523091456}} 
[2026-09-04 11:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":170885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:21:42] local.INFO: GPS data processed {"connection_id":170885,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:21:42] local.INFO: Acknowledgment sent {"connection_id":170885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:21:48] local.INFO: TCP Data received {"connection_id":170886,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:21:48] local.INFO: Processing buffer {"connection_id":170886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:21:48] local.INFO: IMEI packet received {"connection_id":170886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":170886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:21:54] local.INFO: TCP Data received {"connection_id":170886,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:21:54] local.INFO: Processing buffer {"connection_id":170886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:21:54] local.INFO: IMEI packet received {"connection_id":170886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":170886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:21:55] local.INFO: TCP Data received {"connection_id":170886,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af690f8012d19d28007239378003400d62b..."} 
[2026-09-04 11:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af690f8012d19d28007239378003400d62b..."} 
[2026-09-04 11:21:55] local.INFO: Processing buffer {"connection_id":170886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af690f8012d19d28007239378003400d62b..."} 
[2026-09-04 11:21:55] local.INFO: Packet analysis {"connection_id":170886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af6"} 
[2026-09-04 11:21:55] local.INFO: Extracted packet for processing {"connection_id":170886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af6"} 
[2026-09-04 11:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856235008001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788500939000,"timestamp_ms":1788500939000,"timestamp_seconds":1788500939,"priority":1,"record_length":96,"hex_timestamp":"000001a06af690f8"} 
[2026-09-04 11:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-04 11:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856235008001,"66":12558,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856235008001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:21:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:21:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856235008001,"power":12558,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":170886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:21:55] local.INFO: GPS data processed {"connection_id":170886,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:21:55] local.INFO: Acknowledgment sent {"connection_id":170886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:22:00] local.INFO: TCP Data received {"connection_id":173290,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:22:00] local.INFO: Processing buffer {"connection_id":173290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:22:00] local.INFO: IMEI packet received {"connection_id":173290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":173290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:22:17] local.INFO: TCP Data received {"connection_id":173290,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:22:17] local.INFO: Processing buffer {"connection_id":173290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:22:17] local.INFO: IMEI packet received {"connection_id":173290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":173290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:22:20] local.INFO: TCP Data received {"connection_id":173290,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af7b5f0012cd7d5c007363180000d012330..."} 
[2026-09-04 11:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af7b5f0012cd7d5c007363180000d012330..."} 
[2026-09-04 11:22:20] local.INFO: Processing buffer {"connection_id":173290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af7b5f0012cd7d5c007363180000d012330..."} 
[2026-09-04 11:22:20] local.INFO: Packet analysis {"connection_id":173290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:22:20] local.INFO: Extracted packet for processing {"connection_id":173290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:22:20] local.INFO: GPS Element Parsed {"raw_longitude":752342464,"raw_latitude":120992128,"longitude_deg":75.2342464,"latitude_deg":12.0992128,"altitude":13,"angle":291,"satellites":48,"speed":58,"hex_longitude":"2cd7d5c0","hex_latitude":"07363180","is_valid_coordinates":true} 
[2026-09-04 11:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856257792001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397710003059818496,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2883640736683565056,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788501014000,"timestamp_ms":1788501014000,"timestamp_seconds":1788501014,"priority":1,"record_length":96,"hex_timestamp":"000001a06af7b5f0"} 
[2026-09-04 11:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 11:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856257792001,"66":27876,"165":206,"83":40960,"24":58,"16":397710003059818496,"44":-2883640736683565056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-04 11:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856257792001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:22:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 11:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397710003059818496,"km_value":397710003059818.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:22:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2883640736683565056,"description":"Unknown IO ID 44"} 
[2026-09-04 11:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856257792001,"power":27876,"unknown_165":206,"unknown_83":40960,"ignition":58,"odometer":null,"unknown_44":-2883640736683565056}} 
[2026-09-04 11:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":173290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:22:20] local.INFO: GPS data processed {"connection_id":173290,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:22:20] local.INFO: Acknowledgment sent {"connection_id":173290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:22:20] local.INFO: TCP Data received {"connection_id":173290,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af7d148012cd7b08007364010000f01222f..."} 
[2026-09-04 11:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af7d148012cd7b08007364010000f01222f..."} 
[2026-09-04 11:22:20] local.INFO: Processing buffer {"connection_id":173290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af7d148012cd7b08007364010000f01222f..."} 
[2026-09-04 11:22:20] local.INFO: Packet analysis {"connection_id":173290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:22:20] local.INFO: Extracted packet for processing {"connection_id":173290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:22:20] local.INFO: GPS Element Parsed {"raw_longitude":752332928,"raw_latitude":120995856,"longitude_deg":75.2332928,"latitude_deg":12.0995856,"altitude":15,"angle":290,"satellites":47,"speed":55,"hex_longitude":"2cd7b080","hex_latitude":"07364010","is_valid_coordinates":true} 
[2026-09-04 11:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856259584001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397710488391122944,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2894196048309157888,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788501021000,"timestamp_ms":1788501021000,"timestamp_seconds":1788501021,"priority":1,"record_length":96,"hex_timestamp":"000001a06af7d148"} 
[2026-09-04 11:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 11:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856259584001,"66":27974,"165":206,"83":40960,"24":55,"16":397710488391122944,"44":-2894196048309157888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-04 11:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856259584001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:22:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 11:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 11:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397710488391122944,"km_value":397710488391122.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:22:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2894196048309157888,"description":"Unknown IO ID 44"} 
[2026-09-04 11:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856259584001,"power":27974,"unknown_165":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2894196048309157888}} 
[2026-09-04 11:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":173290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:22:20] local.INFO: GPS data processed {"connection_id":173290,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:22:20] local.INFO: Acknowledgment sent {"connection_id":173290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:22:27] local.INFO: TCP Data received {"connection_id":170886,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af6e300012d19d28007239378003400d62a..."} 
[2026-09-04 11:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af6e300012d19d28007239378003400d62a..."} 
[2026-09-04 11:22:27] local.INFO: Processing buffer {"connection_id":170886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af6e300012d19d28007239378003400d62a..."} 
[2026-09-04 11:22:27] local.INFO: Packet analysis {"connection_id":170886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af6"} 
[2026-09-04 11:22:27] local.INFO: Extracted packet for processing {"connection_id":170886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af6"} 
[2026-09-04 11:22:27] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856240384001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788500960000,"timestamp_ms":1788500960000,"timestamp_seconds":1788500960,"priority":1,"record_length":96,"hex_timestamp":"000001a06af6e300"} 
[2026-09-04 11:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 11:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:27] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249860053441942392,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:27] local.WARNING: Large IO value detected {"io_id":106,"raw_value":4115191809,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:27] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2474115124,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-04 11:22:27] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3489738009,"corrected_to":0} 
[2026-09-04 11:22:27] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2147951507,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:27] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511079,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:27] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4175298560,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:27] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:27] local.WARNING: Large IO value detected {"io_id":57,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:27] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:27] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,112,28,24,241,158,16,248,160,62,45,128,147,52,44,10,66,236,154,1,240,101,106,35,4,113,205,246,210,120,239,48,2,60,7,231,57,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0},{"io_id":246,"original":3489738009,"validated":0}]} 
[2026-09-04 11:22:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747230370144190464,"timestamp_seconds":3747230370144190.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856240384001,"66":12645,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856240384001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:22:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:22:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856240384001,"power":12645,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":170886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:22:27] local.INFO: GPS data processed {"connection_id":170886,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:22:27] local.INFO: Acknowledgment sent {"connection_id":170886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:22:48] local.INFO: TCP Data received {"connection_id":170887,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:22:48] local.INFO: Processing buffer {"connection_id":170887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:22:48] local.INFO: IMEI packet received {"connection_id":170887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":170887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:22:54] local.INFO: TCP Data received {"connection_id":170887,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:22:54] local.INFO: Processing buffer {"connection_id":170887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:22:54] local.INFO: IMEI packet received {"connection_id":170887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":170887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:22:55] local.INFO: TCP Data received {"connection_id":170887,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af73508012d19d28007239378003400d62c..."} 
[2026-09-04 11:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af73508012d19d28007239378003400d62c..."} 
[2026-09-04 11:22:55] local.INFO: Processing buffer {"connection_id":170887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af73508012d19d28007239378003400d62c..."} 
[2026-09-04 11:22:55] local.INFO: Packet analysis {"connection_id":170887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:22:55] local.INFO: Extracted packet for processing {"connection_id":170887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:22:55] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856245760001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788500981000,"timestamp_ms":1788500981000,"timestamp_seconds":1788500981,"priority":1,"record_length":96,"hex_timestamp":"000001a06af73508"} 
[2026-09-04 11:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-04 11:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856245760001,"66":12558,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856245760001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:22:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:22:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856245760001,"power":12558,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":170887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:22:55] local.INFO: GPS data processed {"connection_id":170887,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:22:55] local.INFO: Acknowledgment sent {"connection_id":170887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:22:59] local.INFO: TCP Data received {"connection_id":170588,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:22:59] local.INFO: Processing buffer {"connection_id":170588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:22:59] local.INFO: IMEI packet received {"connection_id":170588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":170588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:22:59] local.INFO: TCP Data received {"connection_id":170588,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:22:59] local.INFO: Processing buffer {"connection_id":170588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:22:59] local.INFO: IMEI packet received {"connection_id":170588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":170588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:23:05] local.INFO: TCP Data received {"connection_id":170588,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:23:05] local.INFO: Processing buffer {"connection_id":170588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:23:05] local.INFO: IMEI packet received {"connection_id":170588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":170588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:23:05] local.INFO: TCP Data received {"connection_id":170588,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af934c0012cd65d8007370ff8000901342a..."} 
[2026-09-04 11:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af934c0012cd65d8007370ff8000901342a..."} 
[2026-09-04 11:23:05] local.INFO: Processing buffer {"connection_id":170588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af934c0012cd65d8007370ff8000901342a..."} 
[2026-09-04 11:23:05] local.INFO: Packet analysis {"connection_id":170588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af9"} 
[2026-09-04 11:23:05] local.INFO: Extracted packet for processing {"connection_id":170588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af9"} 
[2026-09-04 11:23:05] local.INFO: GPS Element Parsed {"raw_longitude":752246144,"raw_latitude":121049080,"longitude_deg":75.2246144,"latitude_deg":12.104908,"altitude":9,"angle":308,"satellites":42,"speed":44,"hex_longitude":"2cd65d80","hex_latitude":"07370ff8","is_valid_coordinates":true} 
[2026-09-04 11:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856282368001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397715401833709568,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2990953071540170752,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788501112000,"timestamp_ms":1788501112000,"timestamp_seconds":1788501112,"priority":1,"record_length":96,"hex_timestamp":"000001a06af934c0"} 
[2026-09-04 11:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 11:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856282368001,"66":27908,"181":206,"83":43264,"24":44,"16":397715401833709568,"44":-2990953071540170752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-04 11:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856282368001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:23:05] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 11:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397715401833709568,"km_value":397715401833709.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:23:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2990953071540170752,"description":"Unknown IO ID 44"} 
[2026-09-04 11:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856282368001,"power":27908,"unknown_181":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-2990953071540170752}} 
[2026-09-04 11:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":170588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:23:05] local.INFO: GPS data processed {"connection_id":170588,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:23:05] local.INFO: Acknowledgment sent {"connection_id":170588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:23:26] local.INFO: TCP Data received {"connection_id":170887,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af78af8012d19d28007239378003400d62b..."} 
[2026-09-04 11:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af78af8012d19d28007239378003400d62b..."} 
[2026-09-04 11:23:26] local.INFO: Processing buffer {"connection_id":170887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af78af8012d19d28007239378003400d62b..."} 
[2026-09-04 11:23:26] local.INFO: Packet analysis {"connection_id":170887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:23:26] local.INFO: Extracted packet for processing {"connection_id":170887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:23:26] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856251136001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788501003000,"timestamp_ms":1788501003000,"timestamp_seconds":1788501003,"priority":1,"record_length":96,"hex_timestamp":"000001a06af78af8"} 
[2026-09-04 11:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 11:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:26] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249860053441942392,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:26] local.WARNING: Large IO value detected {"io_id":106,"raw_value":4125943809,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:26] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2474115124,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-04 11:23:26] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:26] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2147951507,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:26] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4175298560,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:26] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:26] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:26] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:26] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,112,28,24,241,158,16,248,160,227,45,128,147,52,42,10,66,144,43,62,1,240,123,106,35,4,113,205,154,210,120,46,239,49,2,60,7,231,58,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-04 11:23:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747230374439157760,"timestamp_seconds":3747230374439158.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856251136001,"66":12602,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856251136001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:23:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:23:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856251136001,"power":12602,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":170887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:23:26] local.INFO: GPS data processed {"connection_id":170887,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:23:26] local.INFO: Acknowledgment sent {"connection_id":170887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:23:36] local.INFO: TCP Data received {"connection_id":170588,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af934c0012cd65d8007370ff8000901342a..."} 
[2026-09-04 11:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af934c0012cd65d8007370ff8000901342a..."} 
[2026-09-04 11:23:36] local.INFO: Processing buffer {"connection_id":170588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af934c0012cd65d8007370ff8000901342a..."} 
[2026-09-04 11:23:36] local.INFO: Packet analysis {"connection_id":170588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af9"} 
[2026-09-04 11:23:36] local.INFO: Extracted packet for processing {"connection_id":170588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af9"} 
[2026-09-04 11:23:36] local.INFO: GPS Element Parsed {"raw_longitude":752246144,"raw_latitude":121049080,"longitude_deg":75.2246144,"latitude_deg":12.104908,"altitude":9,"angle":308,"satellites":42,"speed":44,"hex_longitude":"2cd65d80","hex_latitude":"07370ff8","is_valid_coordinates":true} 
[2026-09-04 11:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856284672001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397715401833709568,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3000101008281962496,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788501112000,"timestamp_ms":1788501112000,"timestamp_seconds":1788501112,"priority":1,"record_length":96,"hex_timestamp":"000001a06af934c0"} 
[2026-09-04 11:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 11:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856284672001,"66":27908,"181":206,"83":43264,"24":44,"16":397715401833709568,"44":-3000101008281962496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-04 11:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856284672001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:23:36] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 11:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397715401833709568,"km_value":397715401833709.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3000101008281962496,"description":"Unknown IO ID 44"} 
[2026-09-04 11:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856284672001,"power":27908,"unknown_181":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-3000101008281962496}} 
[2026-09-04 11:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":170588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:23:36] local.INFO: GPS data processed {"connection_id":170588,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:23:36] local.INFO: Acknowledgment sent {"connection_id":170588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:23:48] local.INFO: TCP Data received {"connection_id":170589,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:23:48] local.INFO: Processing buffer {"connection_id":170589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:23:48] local.INFO: IMEI packet received {"connection_id":170589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":170589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:23:54] local.INFO: TCP Data received {"connection_id":170589,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:23:54] local.INFO: Processing buffer {"connection_id":170589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:23:54] local.INFO: IMEI packet received {"connection_id":170589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":170589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:23:55] local.INFO: TCP Data received {"connection_id":170589,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af7dd00012d19d28007239378003400d62d..."} 
[2026-09-04 11:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af7dd00012d19d28007239378003400d62d..."} 
[2026-09-04 11:23:55] local.INFO: Processing buffer {"connection_id":170589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af7dd00012d19d28007239378003400d62d..."} 
[2026-09-04 11:23:55] local.INFO: Packet analysis {"connection_id":170589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:23:55] local.INFO: Extracted packet for processing {"connection_id":170589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af7"} 
[2026-09-04 11:23:55] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856256768001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788501024000,"timestamp_ms":1788501024000,"timestamp_seconds":1788501024,"priority":1,"record_length":96,"hex_timestamp":"000001a06af7dd00"} 
[2026-09-04 11:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-04 11:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856256768001,"66":12558,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856256768001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:23:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856256768001,"power":12558,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":170589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:23:55] local.INFO: GPS data processed {"connection_id":170589,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:23:55] local.INFO: Acknowledgment sent {"connection_id":170589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:24:00] local.INFO: TCP Data received {"connection_id":171996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:24:00] local.INFO: Processing buffer {"connection_id":171996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:24:00] local.INFO: IMEI packet received {"connection_id":171996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":171996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:24:01] local.INFO: TCP Data received {"connection_id":171996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:24:01] local.INFO: Processing buffer {"connection_id":171996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:24:01] local.INFO: IMEI packet received {"connection_id":171996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":171996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:24:05] local.INFO: TCP Data received {"connection_id":171996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:24:05] local.INFO: Processing buffer {"connection_id":171996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:24:05] local.INFO: IMEI packet received {"connection_id":171996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":171996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:24:07] local.INFO: TCP Data received {"connection_id":171996,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af95018012cd64a40073723c8000901432a..."} 
[2026-09-04 11:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af95018012cd64a40073723c8000901432a..."} 
[2026-09-04 11:24:07] local.INFO: Processing buffer {"connection_id":171996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af95018012cd64a40073723c8000901432a..."} 
[2026-09-04 11:24:07] local.INFO: Packet analysis {"connection_id":171996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af9"} 
[2026-09-04 11:24:07] local.INFO: Extracted packet for processing {"connection_id":171996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af9"} 
[2026-09-04 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":752241216,"raw_latitude":121054152,"longitude_deg":75.2241216,"latitude_deg":12.1054152,"altitude":9,"angle":323,"satellites":42,"speed":39,"hex_longitude":"2cd64a40","hex_latitude":"073723c8","is_valid_coordinates":true} 
[2026-09-04 11:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856284672001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397715745431093248,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3000101008281962496,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788501119000,"timestamp_ms":1788501119000,"timestamp_seconds":1788501119,"priority":1,"record_length":96,"hex_timestamp":"000001a06af95018"} 
[2026-09-04 11:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 11:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856284672001,"66":27865,"181":206,"83":43264,"24":39,"16":397715745431093248,"44":-3000101008281962496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-04 11:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856284672001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:24:07] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 11:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397715745431093248,"km_value":397715745431093.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:24:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3000101008281962496,"description":"Unknown IO ID 44"} 
[2026-09-04 11:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856284672001,"power":27865,"unknown_181":206,"unknown_83":43264,"ignition":39,"odometer":null,"unknown_44":-3000101008281962496}} 
[2026-09-04 11:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":171996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:24:07] local.INFO: GPS data processed {"connection_id":171996,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:24:07] local.INFO: Acknowledgment sent {"connection_id":171996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:24:10] local.INFO: TCP Data received {"connection_id":171996,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af97340012cd63b4007373bc80008014e25..."} 
[2026-09-04 11:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af97340012cd63b4007373bc80008014e25..."} 
[2026-09-04 11:24:10] local.INFO: Processing buffer {"connection_id":171996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af97340012cd63b4007373bc80008014e25..."} 
[2026-09-04 11:24:10] local.INFO: Packet analysis {"connection_id":171996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af9"} 
[2026-09-04 11:24:10] local.INFO: Extracted packet for processing {"connection_id":171996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af9"} 
[2026-09-04 11:24:10] local.INFO: GPS Element Parsed {"raw_longitude":752237376,"raw_latitude":121060296,"longitude_deg":75.2237376,"latitude_deg":12.1060296,"altitude":8,"angle":334,"satellites":37,"speed":25,"hex_longitude":"2cd63b40","hex_latitude":"07373bc8","is_valid_coordinates":true} 
[2026-09-04 11:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856286464001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397716093323444224,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3005519401582344192,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788501128000,"timestamp_ms":1788501128000,"timestamp_seconds":1788501128,"priority":1,"record_length":96,"hex_timestamp":"000001a06af97340"} 
[2026-09-04 11:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 11:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856286464001,"66":27832,"181":206,"83":43264,"24":25,"16":397716093323444224,"44":-3005519401582344192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-04 11:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856286464001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:24:10] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 11:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397716093323444224,"km_value":397716093323444.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3005519401582344192,"description":"Unknown IO ID 44"} 
[2026-09-04 11:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856286464001,"power":27832,"unknown_181":206,"unknown_83":43264,"ignition":25,"odometer":null,"unknown_44":-3005519401582344192}} 
[2026-09-04 11:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":171996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:24:10] local.INFO: GPS data processed {"connection_id":171996,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:24:10] local.INFO: Acknowledgment sent {"connection_id":171996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:24:26] local.INFO: TCP Data received {"connection_id":170589,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af82f08012d19d28007239378003400d62c..."} 
[2026-09-04 11:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af82f08012d19d28007239378003400d62c..."} 
[2026-09-04 11:24:26] local.INFO: Processing buffer {"connection_id":170589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af82f08012d19d28007239378003400d62c..."} 
[2026-09-04 11:24:26] local.INFO: Packet analysis {"connection_id":170589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af8"} 
[2026-09-04 11:24:26] local.INFO: Extracted packet for processing {"connection_id":170589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af8"} 
[2026-09-04 11:24:26] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856262144001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788501045000,"timestamp_ms":1788501045000,"timestamp_seconds":1788501045,"priority":1,"record_length":96,"hex_timestamp":"000001a06af82f08"} 
[2026-09-04 11:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 11:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:26] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249860053441942392,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:26] local.WARNING: Large IO value detected {"io_id":106,"raw_value":4136695809,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:26] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2474115124,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-04 11:24:26] local.WARNING: Large IO value detected {"io_id":62,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:26] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2147951507,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:26] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4175298560,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:26] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:26] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:26] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:26] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,112,28,24,241,158,16,248,160,138,45,128,147,52,43,10,66,53,44,227,1,240,101,106,35,4,113,205,62,210,120,239,49,2,60,7,231,58,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-04 11:24:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747230378734125056,"timestamp_seconds":3747230378734125.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856262144001,"66":12254,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856262144001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:24:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:24:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856262144001,"power":12254,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":170589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:24:27] local.INFO: GPS data processed {"connection_id":170589,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:24:27] local.INFO: Acknowledgment sent {"connection_id":170589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:24:41] local.INFO: TCP Data received {"connection_id":171996,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af9a608012cd62ac007375b00000a014b2c..."} 
[2026-09-04 11:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af9a608012cd62ac007375b00000a014b2c..."} 
[2026-09-04 11:24:41] local.INFO: Processing buffer {"connection_id":171996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af9a608012cd62ac007375b00000a014b2c..."} 
[2026-09-04 11:24:41] local.INFO: Packet analysis {"connection_id":171996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af9"} 
[2026-09-04 11:24:41] local.INFO: Extracted packet for processing {"connection_id":171996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af9"} 
[2026-09-04 11:24:41] local.INFO: GPS Element Parsed {"raw_longitude":752233152,"raw_latitude":121068288,"longitude_deg":75.2233152,"latitude_deg":12.1068288,"altitude":10,"angle":331,"satellites":44,"speed":29,"hex_longitude":"2cd62ac0","hex_latitude":"07375b00","is_valid_coordinates":true} 
[2026-09-04 11:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856288768001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397716531410108416,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3009741526231431168,"note":"Value kept but may cause issues"} 
[2026-09-04 11:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788501141000,"timestamp_ms":1788501141000,"timestamp_seconds":1788501141,"priority":1,"record_length":96,"hex_timestamp":"000001a06af9a608"} 
[2026-09-04 11:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 11:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856288768001,"66":27843,"181":206,"83":43264,"24":29,"16":397716531410108416,"44":-3009741526231431168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-04 11:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856288768001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:24:41] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 11:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397716531410108416,"km_value":397716531410108.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3009741526231431168,"description":"Unknown IO ID 44"} 
[2026-09-04 11:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856288768001,"power":27843,"unknown_181":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-3009741526231431168}} 
[2026-09-04 11:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":171996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:24:41] local.INFO: GPS data processed {"connection_id":171996,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:24:41] local.INFO: Acknowledgment sent {"connection_id":171996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:24:51] local.INFO: TCP Data received {"connection_id":173291,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:24:51] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:24:51] local.INFO: IMEI packet received {"connection_id":173291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":173291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:24:53] local.INFO: TCP Data received {"connection_id":173291,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:24:53] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:24:53] local.INFO: IMEI packet received {"connection_id":173291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":173291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:24:58] local.INFO: TCP Data received {"connection_id":173291,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:24:58] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:24:58] local.INFO: IMEI packet received {"connection_id":173291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":173291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:24:59] local.INFO: TCP Data received {"connection_id":173292,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:24:59] local.INFO: Processing buffer {"connection_id":173292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:24:59] local.INFO: IMEI packet received {"connection_id":173292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":173292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:25:00] local.INFO: TCP Data received {"connection_id":173291,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af88110012d19d28007239378003400d62c..."} 
[2026-09-04 11:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af88110012d19d28007239378003400d62c..."} 
[2026-09-04 11:25:00] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af88110012d19d28007239378003400d62c..."} 
[2026-09-04 11:25:00] local.INFO: Packet analysis {"connection_id":173291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af8"} 
[2026-09-04 11:25:00] local.INFO: Extracted packet for processing {"connection_id":173291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af8"} 
[2026-09-04 11:25:00] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856267520001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788501066000,"timestamp_ms":1788501066000,"timestamp_seconds":1788501066,"priority":1,"record_length":96,"hex_timestamp":"000001a06af88110"} 
[2026-09-04 11:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-04 11:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856267520001,"66":13820,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856267520001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:25:00] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856267520001,"power":13820,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":173291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:25:00] local.INFO: GPS data processed {"connection_id":173291,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:25:00] local.INFO: Acknowledgment sent {"connection_id":173291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:25:04] local.INFO: TCP Data received {"connection_id":173291,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af8d318012d19d28007239378003400d62f..."} 
[2026-09-04 11:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af8d318012d19d28007239378003400d62f..."} 
[2026-09-04 11:25:04] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af8d318012d19d28007239378003400d62f..."} 
[2026-09-04 11:25:04] local.INFO: Packet analysis {"connection_id":173291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af8"} 
[2026-09-04 11:25:04] local.INFO: Extracted packet for processing {"connection_id":173291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af8"} 
[2026-09-04 11:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119772024,"longitude_deg":75.6667008,"latitude_deg":11.9772024,"altitude":52,"angle":214,"satellites":47,"speed":0,"hex_longitude":"2d19d280","hex_latitude":"07239378","is_valid_coordinates":true} 
[2026-09-04 11:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856272896001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162130969067520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788501087000,"timestamp_ms":1788501087000,"timestamp_seconds":1788501087,"priority":1,"record_length":96,"hex_timestamp":"000001a06af8d318"} 
[2026-09-04 11:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-04 11:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856272896001,"66":14211,"112":206,"28":31744,"24":0,"16":17162130969067520,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856272896001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:25:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:25:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162130969067520,"km_value":17162130969067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856272896001,"power":14211,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":173291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:25:05] local.INFO: GPS data processed {"connection_id":173291,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:25:05] local.INFO: Acknowledgment sent {"connection_id":173291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:25:05] local.INFO: TCP Data received {"connection_id":173292,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:25:05] local.INFO: Processing buffer {"connection_id":173292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:25:05] local.INFO: IMEI packet received {"connection_id":173292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":173292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:25:06] local.INFO: TCP Data received {"connection_id":173292,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af9cd18012cd61a40073771f0000c013f30..."} 
[2026-09-04 11:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af9cd18012cd61a40073771f0000c013f30..."} 
[2026-09-04 11:25:06] local.INFO: Processing buffer {"connection_id":173292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af9cd18012cd61a40073771f0000c013f30..."} 
[2026-09-04 11:25:06] local.INFO: Packet analysis {"connection_id":173292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af9"} 
[2026-09-04 11:25:06] local.INFO: Extracted packet for processing {"connection_id":173292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af9"} 
[2026-09-04 11:25:06] local.INFO: GPS Element Parsed {"raw_longitude":752228928,"raw_latitude":121074160,"longitude_deg":75.2228928,"latitude_deg":12.107416,"altitude":12,"angle":319,"satellites":48,"speed":31,"hex_longitude":"2cd61a40","hex_latitude":"073771f0","is_valid_coordinates":true} 
[2026-09-04 11:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856292096001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397716879302459392,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3014385863345111040,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788501151000,"timestamp_ms":1788501151000,"timestamp_seconds":1788501151,"priority":1,"record_length":96,"hex_timestamp":"000001a06af9cd18"} 
[2026-09-04 11:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 11:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856292096001,"66":27843,"181":206,"83":43264,"24":31,"16":397716879302459392,"44":-3014385863345111040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-04 11:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856292096001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:25:06] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 11:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397716879302459392,"km_value":397716879302459.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:25:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3014385863345111040,"description":"Unknown IO ID 44"} 
[2026-09-04 11:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856292096001,"power":27843,"unknown_181":206,"unknown_83":43264,"ignition":31,"odometer":null,"unknown_44":-3014385863345111040}} 
[2026-09-04 11:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":173292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:25:06] local.INFO: GPS data processed {"connection_id":173292,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:25:06] local.INFO: Acknowledgment sent {"connection_id":173292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:25:38] local.INFO: TCP Data received {"connection_id":173292,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06af9fbf8012cd6020007378b80000d013c30..."} 
[2026-09-04 11:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af9fbf8012cd6020007378b80000d013c30..."} 
[2026-09-04 11:25:38] local.INFO: Processing buffer {"connection_id":173292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af9fbf8012cd6020007378b80000d013c30..."} 
[2026-09-04 11:25:38] local.INFO: Packet analysis {"connection_id":173292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af9"} 
[2026-09-04 11:25:38] local.INFO: Extracted packet for processing {"connection_id":173292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af9"} 
[2026-09-04 11:25:38] local.INFO: GPS Element Parsed {"raw_longitude":752222720,"raw_latitude":121080704,"longitude_deg":75.222272,"latitude_deg":12.1080704,"altitude":13,"angle":316,"satellites":48,"speed":21,"hex_longitude":"2cd60200","hex_latitude":"07378b80","is_valid_coordinates":true} 
[2026-09-04 11:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856294656001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397717313094156288,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3019030200459333632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788501163000,"timestamp_ms":1788501163000,"timestamp_seconds":1788501163,"priority":1,"record_length":96,"hex_timestamp":"000001a06af9fbf8"} 
[2026-09-04 11:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 11:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856294656001,"66":27843,"181":206,"83":43264,"24":21,"16":397717313094156288,"44":-3019030200459333632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-04 11:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856294656001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:25:38] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 11:25:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397717313094156288,"km_value":397717313094156.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:25:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3019030200459333632,"description":"Unknown IO ID 44"} 
[2026-09-04 11:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856294656001,"power":27843,"unknown_181":206,"unknown_83":43264,"ignition":21,"odometer":null,"unknown_44":-3019030200459333632}} 
[2026-09-04 11:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":173292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:25:38] local.INFO: GPS data processed {"connection_id":173292,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:25:38] local.INFO: Acknowledgment sent {"connection_id":173292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:25:48] local.INFO: TCP Data received {"connection_id":170888,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:25:48] local.INFO: Processing buffer {"connection_id":170888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:25:48] local.INFO: IMEI packet received {"connection_id":170888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":170888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:25:54] local.INFO: TCP Data received {"connection_id":170888,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:25:54] local.INFO: Processing buffer {"connection_id":170888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:25:54] local.INFO: IMEI packet received {"connection_id":170888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":170888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:25:56] local.INFO: TCP Data received {"connection_id":170888,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06af8dae8012d19d58007239368003a00442f..."} 
[2026-09-04 11:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06af8dae8012d19d58007239368003a00442f..."} 
[2026-09-04 11:25:56] local.INFO: Processing buffer {"connection_id":170888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06af8dae8012d19d58007239368003a00442f..."} 
[2026-09-04 11:25:56] local.INFO: Packet analysis {"connection_id":170888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06af8"} 
[2026-09-04 11:25:56] local.INFO: Extracted packet for processing {"connection_id":170888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06af8"} 
[2026-09-04 11:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756667776,"raw_latitude":119772008,"longitude_deg":75.6667776,"latitude_deg":11.9772008,"altitude":58,"angle":68,"satellites":47,"speed":2,"hex_longitude":"2d19d580","hex_latitude":"07239368","is_valid_coordinates":true} 
[2026-09-04 11:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856278272001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162165328805888,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364207429632,"note":"Value kept but may cause issues"} 
[2026-09-04 11:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788501089000,"timestamp_ms":1788501089000,"timestamp_seconds":1788501089,"priority":1,"record_length":96,"hex_timestamp":"000001a06af8dae8"} 
[2026-09-04 11:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 11:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856278272001,"66":14135,"112":206,"28":31744,"24":2,"16":17162165328805888,"45":1860690364207429632},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856278272001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:25:56] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:25:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162165328805888,"km_value":17162165328805.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364207429632,"description":"Unknown IO ID 45"} 
[2026-09-04 11:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856278272001,"power":14135,"unknown_112":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1860690364207429632}} 
[2026-09-04 11:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":170888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:25:56] local.INFO: GPS data processed {"connection_id":170888,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:25:56] local.INFO: Acknowledgment sent {"connection_id":170888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:26:00] local.INFO: TCP Data received {"connection_id":173293,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:26:00] local.INFO: Processing buffer {"connection_id":173293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:26:00] local.INFO: IMEI packet received {"connection_id":173293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":173293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:26:05] local.INFO: TCP Data received {"connection_id":173293,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:26:05] local.INFO: Processing buffer {"connection_id":173293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:26:05] local.INFO: IMEI packet received {"connection_id":173293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":173293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:26:07] local.INFO: TCP Data received {"connection_id":173293,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06afa4e00012cd5f00007379db8000c013b2f..."} 
[2026-09-04 11:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afa4e00012cd5f00007379db8000c013b2f..."} 
[2026-09-04 11:26:07] local.INFO: Processing buffer {"connection_id":173293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afa4e00012cd5f00007379db8000c013b2f..."} 
[2026-09-04 11:26:07] local.INFO: Packet analysis {"connection_id":173293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afa"} 
[2026-09-04 11:26:07] local.INFO: Extracted packet for processing {"connection_id":173293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afa"} 
[2026-09-04 11:26:07] local.INFO: GPS Element Parsed {"raw_longitude":752218112,"raw_latitude":121085368,"longitude_deg":75.2218112,"latitude_deg":12.1085368,"altitude":12,"angle":315,"satellites":47,"speed":20,"hex_longitude":"2cd5f000","hex_latitude":"07379db8","is_valid_coordinates":true} 
[2026-09-04 11:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856297728001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397717626626768896,"note":"Value kept but may cause issues"} 
[2026-09-04 11:26:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3025855968642891776,"note":"Value kept but may cause issues"} 
[2026-09-04 11:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788501184000,"timestamp_ms":1788501184000,"timestamp_seconds":1788501184,"priority":1,"record_length":96,"hex_timestamp":"000001a06afa4e00"} 
[2026-09-04 11:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 11:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856297728001,"66":27984,"181":206,"83":43264,"24":20,"16":397717626626768896,"44":-3025855968642891776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-04 11:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856297728001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:26:07] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 11:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397717626626768896,"km_value":397717626626768.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:26:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3025855968642891776,"description":"Unknown IO ID 44"} 
[2026-09-04 11:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856297728001,"power":27984,"unknown_181":206,"unknown_83":43264,"ignition":20,"odometer":null,"unknown_44":-3025855968642891776}} 
[2026-09-04 11:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":173293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:26:07] local.INFO: GPS data processed {"connection_id":173293,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:26:07] local.INFO: Acknowledgment sent {"connection_id":173293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:26:27] local.INFO: TCP Data received {"connection_id":170888,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06afbff98012d19d34007239358003a01312e..."} 
[2026-09-04 11:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afbff98012d19d34007239358003a01312e..."} 
[2026-09-04 11:26:27] local.INFO: Processing buffer {"connection_id":170888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afbff98012d19d34007239358003a01312e..."} 
[2026-09-04 11:26:27] local.INFO: Packet analysis {"connection_id":170888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afb"} 
[2026-09-04 11:26:27] local.INFO: Extracted packet for processing {"connection_id":170888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afb"} 
[2026-09-04 11:26:27] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":46,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856325888001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788501295000,"timestamp_ms":1788501295000,"timestamp_seconds":1788501295,"priority":1,"record_length":96,"hex_timestamp":"000001a06afbff98"} 
[2026-09-04 11:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 11:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856325888001,"66":12852,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856325888001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:26:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:26:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856325888001,"power":12852,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":170888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:26:27] local.INFO: GPS data processed {"connection_id":170888,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:26:27] local.INFO: Acknowledgment sent {"connection_id":170888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:26:39] local.INFO: TCP Data received {"connection_id":173293,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06afc5588012cd4f70007379de8001300f52d..."} 
[2026-09-04 11:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afc5588012cd4f70007379de8001300f52d..."} 
[2026-09-04 11:26:39] local.INFO: Processing buffer {"connection_id":173293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afc5588012cd4f70007379de8001300f52d..."} 
[2026-09-04 11:26:39] local.INFO: Packet analysis {"connection_id":173293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afc"} 
[2026-09-04 11:26:39] local.INFO: Extracted packet for processing {"connection_id":173293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afc"} 
[2026-09-04 11:26:39] local.INFO: GPS Element Parsed {"raw_longitude":752154368,"raw_latitude":121085416,"longitude_deg":75.2154368,"latitude_deg":12.1085416,"altitude":19,"angle":245,"satellites":45,"speed":13,"hex_longitude":"2cd4f700","hex_latitude":"07379de8","is_valid_coordinates":true} 
[2026-09-04 11:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856332800001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721041125769216,"note":"Value kept but may cause issues"} 
[2026-09-04 11:26:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091650744446918656,"note":"Value kept but may cause issues"} 
[2026-09-04 11:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788501317000,"timestamp_ms":1788501317000,"timestamp_seconds":1788501317,"priority":1,"record_length":96,"hex_timestamp":"000001a06afc5588"} 
[2026-09-04 11:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 11:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856332800001,"66":27713,"18":206,"83":43264,"24":13,"16":397721041125769216,"44":-3091650744446918656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856332800001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:26:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:26:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721041125769216,"km_value":397721041125769.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:26:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091650744446918656,"description":"Unknown IO ID 44"} 
[2026-09-04 11:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856332800001,"power":27713,"unknown_18":206,"unknown_83":43264,"ignition":13,"odometer":null,"unknown_44":-3091650744446918656}} 
[2026-09-04 11:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":173293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:26:39] local.INFO: GPS data processed {"connection_id":173293,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:26:39] local.INFO: Acknowledgment sent {"connection_id":173293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:26:49] local.INFO: TCP Data received {"connection_id":170590,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:26:49] local.INFO: Processing buffer {"connection_id":170590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:26:49] local.INFO: IMEI packet received {"connection_id":170590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":170590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:26:54] local.INFO: TCP Data received {"connection_id":170590,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:26:54] local.INFO: Processing buffer {"connection_id":170590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:26:54] local.INFO: IMEI packet received {"connection_id":170590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":170590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:26:55] local.INFO: TCP Data received {"connection_id":170590,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06afc51a0012d19d34007239358003a01312b..."} 
[2026-09-04 11:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afc51a0012d19d34007239358003a01312b..."} 
[2026-09-04 11:26:55] local.INFO: Processing buffer {"connection_id":170590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afc51a0012d19d34007239358003a01312b..."} 
[2026-09-04 11:26:55] local.INFO: Packet analysis {"connection_id":170590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afc"} 
[2026-09-04 11:26:55] local.INFO: Extracted packet for processing {"connection_id":170590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afc"} 
[2026-09-04 11:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856331520001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788501316000,"timestamp_ms":1788501316000,"timestamp_seconds":1788501316,"priority":1,"record_length":96,"hex_timestamp":"000001a06afc51a0"} 
[2026-09-04 11:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 11:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856331520001,"66":12841,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856331520001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:26:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:26:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856331520001,"power":12841,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":170590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:26:55] local.INFO: GPS data processed {"connection_id":170590,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:26:55] local.INFO: Acknowledgment sent {"connection_id":170590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:27:03] local.INFO: TCP Data received {"connection_id":170889,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:27:03] local.INFO: Processing buffer {"connection_id":170889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:27:03] local.INFO: IMEI packet received {"connection_id":170889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":170889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:27:05] local.INFO: TCP Data received {"connection_id":170889,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:27:05] local.INFO: Processing buffer {"connection_id":170889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:27:05] local.INFO: IMEI packet received {"connection_id":170889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":170889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:27:10] local.INFO: TCP Data received {"connection_id":170889,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:27:10] local.INFO: Processing buffer {"connection_id":170889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:27:10] local.INFO: IMEI packet received {"connection_id":170889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":170889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:27:11] local.INFO: TCP Data received {"connection_id":170889,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06afca790012cd4e780073797b8001400f82e..."} 
[2026-09-04 11:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afca790012cd4e780073797b8001400f82e..."} 
[2026-09-04 11:27:11] local.INFO: Processing buffer {"connection_id":170889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afca790012cd4e780073797b8001400f82e..."} 
[2026-09-04 11:27:11] local.INFO: Packet analysis {"connection_id":170889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afc"} 
[2026-09-04 11:27:11] local.INFO: Extracted packet for processing {"connection_id":170889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afc"} 
[2026-09-04 11:27:11] local.INFO: GPS Element Parsed {"raw_longitude":752150400,"raw_latitude":121083832,"longitude_deg":75.21504,"latitude_deg":12.1083832,"altitude":20,"angle":248,"satellites":46,"speed":19,"hex_longitude":"2cd4e780","hex_latitude":"073797b8","is_valid_coordinates":true} 
[2026-09-04 11:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856337152001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721247284199424,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3101009787423430656,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788501338000,"timestamp_ms":1788501338000,"timestamp_seconds":1788501338,"priority":1,"record_length":96,"hex_timestamp":"000001a06afca790"} 
[2026-09-04 11:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 11:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856337152001,"66":27974,"18":206,"83":43264,"24":19,"16":397721247284199424,"44":-3101009787423430656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856337152001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:27:11] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721247284199424,"km_value":397721247284199.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3101009787423430656,"description":"Unknown IO ID 44"} 
[2026-09-04 11:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856337152001,"power":27974,"unknown_18":206,"unknown_83":43264,"ignition":19,"odometer":null,"unknown_44":-3101009787423430656}} 
[2026-09-04 11:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":170889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:27:11] local.INFO: GPS data processed {"connection_id":170889,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:27:11] local.INFO: Acknowledgment sent {"connection_id":170889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:27:15] local.INFO: TCP Data received {"connection_id":170889,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06afce228012cd4c70007378830001300f12f..."} 
[2026-09-04 11:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afce228012cd4c70007378830001300f12f..."} 
[2026-09-04 11:27:15] local.INFO: Processing buffer {"connection_id":170889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afce228012cd4c70007378830001300f12f..."} 
[2026-09-04 11:27:15] local.INFO: Packet analysis {"connection_id":170889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afc"} 
[2026-09-04 11:27:15] local.INFO: Extracted packet for processing {"connection_id":170889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afc"} 
[2026-09-04 11:27:15] local.INFO: GPS Element Parsed {"raw_longitude":752142080,"raw_latitude":121079856,"longitude_deg":75.214208,"latitude_deg":12.1079856,"altitude":19,"angle":241,"satellites":47,"speed":24,"hex_longitude":"2cd4c700","hex_latitude":"07378830","is_valid_coordinates":true} 
[2026-09-04 11:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856342528001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721685370863616,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3105372649562851328,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788501353000,"timestamp_ms":1788501353000,"timestamp_seconds":1788501353,"priority":1,"record_length":96,"hex_timestamp":"000001a06afce228"} 
[2026-09-04 11:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 11:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856342528001,"66":28028,"18":206,"83":43264,"24":24,"16":397721685370863616,"44":-3105372649562851328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856342528001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:27:15] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721685370863616,"km_value":397721685370863.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:27:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3105372649562851328,"description":"Unknown IO ID 44"} 
[2026-09-04 11:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856342528001,"power":28028,"unknown_18":206,"unknown_83":43264,"ignition":24,"odometer":null,"unknown_44":-3105372649562851328}} 
[2026-09-04 11:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":170889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:27:15] local.INFO: GPS data processed {"connection_id":170889,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:27:15] local.INFO: Acknowledgment sent {"connection_id":170889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:27:27] local.INFO: TCP Data received {"connection_id":170590,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06afca3a8012d19d34007239358003a01312e..."} 
[2026-09-04 11:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afca3a8012d19d34007239358003a01312e..."} 
[2026-09-04 11:27:27] local.INFO: Processing buffer {"connection_id":170590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afca3a8012d19d34007239358003a01312e..."} 
[2026-09-04 11:27:27] local.INFO: Packet analysis {"connection_id":170590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afc"} 
[2026-09-04 11:27:27] local.INFO: Extracted packet for processing {"connection_id":170590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afc"} 
[2026-09-04 11:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":46,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856336896001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788501337000,"timestamp_ms":1788501337000,"timestamp_seconds":1788501337,"priority":1,"record_length":96,"hex_timestamp":"000001a06afca3a8"} 
[2026-09-04 11:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 11:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856336896001,"66":12809,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856336896001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:27:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:27:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856336896001,"power":12809,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":170590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:27:27] local.INFO: GPS data processed {"connection_id":170590,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:27:27] local.INFO: Acknowledgment sent {"connection_id":170590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:27:48] local.INFO: TCP Data received {"connection_id":171997,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:27:48] local.INFO: Processing buffer {"connection_id":171997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:27:48] local.INFO: IMEI packet received {"connection_id":171997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":171997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:27:54] local.INFO: TCP Data received {"connection_id":171997,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:27:54] local.INFO: Processing buffer {"connection_id":171997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:27:54] local.INFO: IMEI packet received {"connection_id":171997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":171997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:27:55] local.INFO: TCP Data received {"connection_id":171997,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06afcf5b0012d19d34007239358003a01312e..."} 
[2026-09-04 11:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afcf5b0012d19d34007239358003a01312e..."} 
[2026-09-04 11:27:55] local.INFO: Processing buffer {"connection_id":171997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afcf5b0012d19d34007239358003a01312e..."} 
[2026-09-04 11:27:55] local.INFO: Packet analysis {"connection_id":171997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afc"} 
[2026-09-04 11:27:55] local.INFO: Extracted packet for processing {"connection_id":171997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afc"} 
[2026-09-04 11:27:55] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":46,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856342272001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788501358000,"timestamp_ms":1788501358000,"timestamp_seconds":1788501358,"priority":1,"record_length":96,"hex_timestamp":"000001a06afcf5b0"} 
[2026-09-04 11:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-04 11:27:55] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:55] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-404892952853621952,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:55] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2472017978,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-04 11:27:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:55] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121887124114972,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:55] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4176347136,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:55] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2563489370900345132,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:55] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 11:27:55] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,112,28,24,241,158,16,248,160,81,45,64,147,58,43,10,66,255,46,169,1,240,41,106,35,4,113,205,5,211,88,239,50,2,60,7,124,238],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-04 11:27:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179676002814787584,"timestamp_seconds":4179676002814787.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856342272001,"66":12722,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856342272001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:27:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:27:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856342272001,"power":12722,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":171997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:27:55] local.INFO: GPS data processed {"connection_id":171997,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:27:55] local.INFO: Acknowledgment sent {"connection_id":171997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:28:00] local.INFO: TCP Data received {"connection_id":173294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:28:00] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:28:00] local.INFO: IMEI packet received {"connection_id":173294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":173294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:28:05] local.INFO: TCP Data received {"connection_id":173294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:28:05] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:28:05] local.INFO: IMEI packet received {"connection_id":173294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":173294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:28:10] local.INFO: TCP Data received {"connection_id":173294,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06afd3430012cd4b5c007377e28001100f02c..."} 
[2026-09-04 11:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afd3430012cd4b5c007377e28001100f02c..."} 
[2026-09-04 11:28:10] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afd3430012cd4b5c007377e28001100f02c..."} 
[2026-09-04 11:28:10] local.INFO: Packet analysis {"connection_id":173294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:28:10] local.INFO: Extracted packet for processing {"connection_id":173294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:28:10] local.INFO: GPS Element Parsed {"raw_longitude":752137664,"raw_latitude":121077288,"longitude_deg":75.2137664,"latitude_deg":12.1077288,"altitude":17,"angle":240,"satellites":44,"speed":0,"hex_longitude":"2cd4b5c0","hex_latitude":"07377e28","is_valid_coordinates":true} 
[2026-09-04 11:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856346368001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721930183999488,"note":"Value kept but may cause issues"} 
[2026-09-04 11:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3114520586306965504,"note":"Value kept but may cause issues"} 
[2026-09-04 11:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788501374000,"timestamp_ms":1788501374000,"timestamp_seconds":1788501374,"priority":1,"record_length":96,"hex_timestamp":"000001a06afd3430"} 
[2026-09-04 11:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 11:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856346368001,"66":27930,"18":206,"83":43264,"24":0,"16":397721930183999488,"44":-3114520586306965504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856346368001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:28:10] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721930183999488,"km_value":397721930183999.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3114520586306965504,"description":"Unknown IO ID 44"} 
[2026-09-04 11:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856346368001,"power":27930,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3114520586306965504}} 
[2026-09-04 11:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":173294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:28:10] local.INFO: GPS data processed {"connection_id":173294,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:28:10] local.INFO: Acknowledgment sent {"connection_id":173294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:28:27] local.INFO: TCP Data received {"connection_id":171997,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06afd47b8012d19d34007239358003a01312f..."} 
[2026-09-04 11:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afd47b8012d19d34007239358003a01312f..."} 
[2026-09-04 11:28:27] local.INFO: Processing buffer {"connection_id":171997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afd47b8012d19d34007239358003a01312f..."} 
[2026-09-04 11:28:27] local.INFO: Packet analysis {"connection_id":171997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:28:27] local.INFO: Extracted packet for processing {"connection_id":171997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:28:27] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":47,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856347648001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788501379000,"timestamp_ms":1788501379000,"timestamp_seconds":1788501379,"priority":1,"record_length":96,"hex_timestamp":"000001a06afd47b8"} 
[2026-09-04 11:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856347648001,"66":11906,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856347648001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:28:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:28:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856347648001,"power":11906,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":171997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:28:27] local.INFO: GPS data processed {"connection_id":171997,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:28:27] local.INFO: Acknowledgment sent {"connection_id":171997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:28:42] local.INFO: TCP Data received {"connection_id":173294,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06afd5370012cd4b40007377d98001200f32e..."} 
[2026-09-04 11:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afd5370012cd4b40007377d98001200f32e..."} 
[2026-09-04 11:28:42] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afd5370012cd4b40007377d98001200f32e..."} 
[2026-09-04 11:28:42] local.INFO: Packet analysis {"connection_id":173294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:28:42] local.INFO: Extracted packet for processing {"connection_id":173294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:28:42] local.INFO: GPS Element Parsed {"raw_longitude":752137216,"raw_latitude":121077144,"longitude_deg":75.2137216,"latitude_deg":12.1077144,"altitude":18,"angle":243,"satellites":46,"speed":5,"hex_longitude":"2cd4b400","hex_latitude":"07377d98","is_valid_coordinates":true} 
[2026-09-04 11:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856351744001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119376029655881728,"note":"Value kept but may cause issues"} 
[2026-09-04 11:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788501382000,"timestamp_ms":1788501382000,"timestamp_seconds":1788501382,"priority":1,"record_length":96,"hex_timestamp":"000001a06afd5370"} 
[2026-09-04 11:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 11:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856351744001,"66":27767,"18":206,"83":43264,"24":5,"16":397721955953803264,"44":-3119376029655881728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856351744001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:28:42] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119376029655881728,"description":"Unknown IO ID 44"} 
[2026-09-04 11:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856351744001,"power":27767,"unknown_18":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3119376029655881728}} 
[2026-09-04 11:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":173294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:28:42] local.INFO: GPS data processed {"connection_id":173294,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:28:42] local.INFO: Acknowledgment sent {"connection_id":173294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:28:48] local.INFO: TCP Data received {"connection_id":170591,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:28:48] local.INFO: Processing buffer {"connection_id":170591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:28:48] local.INFO: IMEI packet received {"connection_id":170591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":170591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:28:56] local.INFO: TCP Data received {"connection_id":170591,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:28:56] local.INFO: Processing buffer {"connection_id":170591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:28:56] local.INFO: IMEI packet received {"connection_id":170591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":170591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:28:58] local.INFO: TCP Data received {"connection_id":170591,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06afd99c0012d19d34007239358003a01312c..."} 
[2026-09-04 11:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afd99c0012d19d34007239358003a01312c..."} 
[2026-09-04 11:28:58] local.INFO: Processing buffer {"connection_id":170591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afd99c0012d19d34007239358003a01312c..."} 
[2026-09-04 11:28:58] local.INFO: Packet analysis {"connection_id":170591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:28:58] local.INFO: Extracted packet for processing {"connection_id":170591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856353024001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788501400000,"timestamp_ms":1788501400000,"timestamp_seconds":1788501400,"priority":1,"record_length":96,"hex_timestamp":"000001a06afd99c0"} 
[2026-09-04 11:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-04 11:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856353024001,"66":12776,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856353024001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:28:58] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:28:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856353024001,"power":12776,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":170591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:28:58] local.INFO: GPS data processed {"connection_id":170591,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:28:58] local.INFO: Acknowledgment sent {"connection_id":170591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:28:59] local.INFO: TCP Data received {"connection_id":170890,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:28:59] local.INFO: Processing buffer {"connection_id":170890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:28:59] local.INFO: IMEI packet received {"connection_id":170890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":170890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:29:05] local.INFO: TCP Data received {"connection_id":170890,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:29:05] local.INFO: Processing buffer {"connection_id":170890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:29:05] local.INFO: IMEI packet received {"connection_id":170890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":170890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:29:07] local.INFO: TCP Data received {"connection_id":170890,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06afd5370012cd4b40007377d98001200f32e..."} 
[2026-09-04 11:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afd5370012cd4b40007377d98001200f32e..."} 
[2026-09-04 11:29:07] local.INFO: Processing buffer {"connection_id":170890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afd5370012cd4b40007377d98001200f32e..."} 
[2026-09-04 11:29:07] local.INFO: Packet analysis {"connection_id":170890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:29:07] local.INFO: Extracted packet for processing {"connection_id":170890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:29:07] local.INFO: GPS Element Parsed {"raw_longitude":752137216,"raw_latitude":121077144,"longitude_deg":75.2137216,"latitude_deg":12.1077144,"altitude":18,"angle":243,"satellites":46,"speed":5,"hex_longitude":"2cd4b400","hex_latitude":"07377d98","is_valid_coordinates":true} 
[2026-09-04 11:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856351744001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:29:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119376029655881728,"note":"Value kept but may cause issues"} 
[2026-09-04 11:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788501382000,"timestamp_ms":1788501382000,"timestamp_seconds":1788501382,"priority":1,"record_length":96,"hex_timestamp":"000001a06afd5370"} 
[2026-09-04 11:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 11:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856351744001,"66":27767,"18":206,"83":43264,"24":5,"16":397721955953803264,"44":-3119376029655881728},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856351744001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:29:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:29:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119376029655881728,"description":"Unknown IO ID 44"} 
[2026-09-04 11:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856351744001,"power":27767,"unknown_18":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3119376029655881728}} 
[2026-09-04 11:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":170890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:29:07] local.INFO: GPS data processed {"connection_id":170890,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:29:07] local.INFO: Acknowledgment sent {"connection_id":170890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:29:30] local.INFO: TCP Data received {"connection_id":170591,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06afde7e0012d19d34007239358003a01312b..."} 
[2026-09-04 11:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afde7e0012d19d34007239358003a01312b..."} 
[2026-09-04 11:29:30] local.INFO: Processing buffer {"connection_id":170591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afde7e0012d19d34007239358003a01312b..."} 
[2026-09-04 11:29:30] local.INFO: Packet analysis {"connection_id":170591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:29:30] local.INFO: Extracted packet for processing {"connection_id":170591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856358400001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788501420000,"timestamp_ms":1788501420000,"timestamp_seconds":1788501420,"priority":1,"record_length":96,"hex_timestamp":"000001a06afde7e0"} 
[2026-09-04 11:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 11:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856358400001,"66":12743,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856358400001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:29:30] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:29:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856358400001,"power":12743,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":170591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:29:30] local.INFO: GPS data processed {"connection_id":170591,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:29:30] local.INFO: Acknowledgment sent {"connection_id":170591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:29:40] local.INFO: TCP Data received {"connection_id":170890,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06afd5370012cd4b40007377d98001200f32e..."} 
[2026-09-04 11:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afd5370012cd4b40007377d98001200f32e..."} 
[2026-09-04 11:29:40] local.INFO: Processing buffer {"connection_id":170890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afd5370012cd4b40007377d98001200f32e..."} 
[2026-09-04 11:29:40] local.INFO: Packet analysis {"connection_id":170890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:29:40] local.INFO: Extracted packet for processing {"connection_id":170890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:29:40] local.INFO: GPS Element Parsed {"raw_longitude":752137216,"raw_latitude":121077144,"longitude_deg":75.2137216,"latitude_deg":12.1077144,"altitude":18,"angle":243,"satellites":46,"speed":5,"hex_longitude":"2cd4b400","hex_latitude":"07377d98","is_valid_coordinates":true} 
[2026-09-04 11:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856351744001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:29:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119376029655881728,"note":"Value kept but may cause issues"} 
[2026-09-04 11:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788501382000,"timestamp_ms":1788501382000,"timestamp_seconds":1788501382,"priority":1,"record_length":96,"hex_timestamp":"000001a06afd5370"} 
[2026-09-04 11:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 11:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856351744001,"66":27767,"18":206,"83":43264,"24":5,"16":397721955953803264,"44":-3119376029655881728},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856351744001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:29:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:29:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:29:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119376029655881728,"description":"Unknown IO ID 44"} 
[2026-09-04 11:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856351744001,"power":27767,"unknown_18":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3119376029655881728}} 
[2026-09-04 11:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":170890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:29:40] local.INFO: GPS data processed {"connection_id":170890,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:29:40] local.INFO: Acknowledgment sent {"connection_id":170890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:29:48] local.INFO: TCP Data received {"connection_id":171998,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:29:48] local.INFO: Processing buffer {"connection_id":171998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:29:48] local.INFO: IMEI packet received {"connection_id":171998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":171998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:29:54] local.INFO: TCP Data received {"connection_id":171998,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:29:54] local.INFO: Processing buffer {"connection_id":171998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:29:54] local.INFO: IMEI packet received {"connection_id":171998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":171998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:29:55] local.INFO: TCP Data received {"connection_id":171998,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06afe39e8012d19d34007239358003a013129..."} 
[2026-09-04 11:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afe39e8012d19d34007239358003a013129..."} 
[2026-09-04 11:29:55] local.INFO: Processing buffer {"connection_id":171998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afe39e8012d19d34007239358003a013129..."} 
[2026-09-04 11:29:55] local.INFO: Packet analysis {"connection_id":171998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afe"} 
[2026-09-04 11:29:55] local.INFO: Extracted packet for processing {"connection_id":171998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afe"} 
[2026-09-04 11:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856363520001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788501441000,"timestamp_ms":1788501441000,"timestamp_seconds":1788501441,"priority":1,"record_length":96,"hex_timestamp":"000001a06afe39e8"} 
[2026-09-04 11:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-04 11:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856363520001,"66":12722,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856363520001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:29:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:29:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856363520001,"power":12722,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":171998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:29:55] local.INFO: GPS data processed {"connection_id":171998,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:29:55] local.INFO: Acknowledgment sent {"connection_id":171998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:30:05] local.INFO: TCP Data received {"connection_id":170592,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:30:05] local.INFO: Processing buffer {"connection_id":170592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:30:05] local.INFO: IMEI packet received {"connection_id":170592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":170592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:30:27] local.INFO: TCP Data received {"connection_id":171998,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06afe8bf0012d19d34007239358003a01312d..."} 
[2026-09-04 11:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afe8bf0012d19d34007239358003a01312d..."} 
[2026-09-04 11:30:27] local.INFO: Processing buffer {"connection_id":171998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afe8bf0012d19d34007239358003a01312d..."} 
[2026-09-04 11:30:27] local.INFO: Packet analysis {"connection_id":171998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afe"} 
[2026-09-04 11:30:27] local.INFO: Extracted packet for processing {"connection_id":171998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afe"} 
[2026-09-04 11:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856368896001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788501462000,"timestamp_ms":1788501462000,"timestamp_seconds":1788501462,"priority":1,"record_length":96,"hex_timestamp":"000001a06afe8bf0"} 
[2026-09-04 11:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856368896001,"66":12722,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856368896001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:30:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:30:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856368896001,"power":12722,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":171998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:30:27] local.INFO: GPS data processed {"connection_id":171998,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:30:27] local.INFO: Acknowledgment sent {"connection_id":171998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:30:40] local.INFO: TCP Data received {"connection_id":170891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:30:40] local.INFO: Processing buffer {"connection_id":170891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:30:40] local.INFO: IMEI packet received {"connection_id":170891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":170891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:30:54] local.INFO: TCP Data received {"connection_id":170593,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:30:54] local.INFO: Processing buffer {"connection_id":170593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:30:54] local.INFO: IMEI packet received {"connection_id":170593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":170593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:30:59] local.INFO: TCP Data received {"connection_id":170593,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:30:59] local.INFO: Processing buffer {"connection_id":170593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:30:59] local.INFO: IMEI packet received {"connection_id":170593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":170593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:31:00] local.INFO: TCP Data received {"connection_id":170593,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06afeddf8012d19d34007239358003a01312d..."} 
[2026-09-04 11:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afeddf8012d19d34007239358003a01312d..."} 
[2026-09-04 11:31:00] local.INFO: Processing buffer {"connection_id":170593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afeddf8012d19d34007239358003a01312d..."} 
[2026-09-04 11:31:00] local.INFO: Packet analysis {"connection_id":170593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afe"} 
[2026-09-04 11:31:00] local.INFO: Extracted packet for processing {"connection_id":170593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afe"} 
[2026-09-04 11:31:00] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856374272001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788501483000,"timestamp_ms":1788501483000,"timestamp_seconds":1788501483,"priority":1,"record_length":96,"hex_timestamp":"000001a06afeddf8"} 
[2026-09-04 11:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856374272001,"66":12689,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856374272001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:31:00] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856374272001,"power":12689,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":170593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:31:00] local.INFO: GPS data processed {"connection_id":170593,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:31:00] local.INFO: Acknowledgment sent {"connection_id":170593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:31:04] local.INFO: TCP Data received {"connection_id":170593,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aff3000012d19d34007239358003a01312b..."} 
[2026-09-04 11:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aff3000012d19d34007239358003a01312b..."} 
[2026-09-04 11:31:04] local.INFO: Processing buffer {"connection_id":170593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aff3000012d19d34007239358003a01312b..."} 
[2026-09-04 11:31:04] local.INFO: Packet analysis {"connection_id":170593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aff"} 
[2026-09-04 11:31:04] local.INFO: Extracted packet for processing {"connection_id":170593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aff"} 
[2026-09-04 11:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856379648001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788501504000,"timestamp_ms":1788501504000,"timestamp_seconds":1788501504,"priority":1,"record_length":96,"hex_timestamp":"000001a06aff3000"} 
[2026-09-04 11:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 11:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856379648001,"66":14004,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856379648001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:31:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:31:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856379648001,"power":14004,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":170593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:31:05] local.INFO: GPS data processed {"connection_id":170593,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:31:05] local.INFO: Acknowledgment sent {"connection_id":170593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:31:10] local.INFO: TCP Data received {"connection_id":170892,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:31:10] local.INFO: Processing buffer {"connection_id":170892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:31:10] local.INFO: IMEI packet received {"connection_id":170892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":170892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:31:14] local.INFO: TCP Data received {"connection_id":170892,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:31:14] local.INFO: Processing buffer {"connection_id":170892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:31:14] local.INFO: IMEI packet received {"connection_id":170892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":170892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:31:18] local.INFO: TCP Data received {"connection_id":170892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06afd5370012cd4b40007377d98001200f32e..."} 
[2026-09-04 11:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06afd5370012cd4b40007377d98001200f32e..."} 
[2026-09-04 11:31:18] local.INFO: Processing buffer {"connection_id":170892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06afd5370012cd4b40007377d98001200f32e..."} 
[2026-09-04 11:31:18] local.INFO: Packet analysis {"connection_id":170892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:31:18] local.INFO: Extracted packet for processing {"connection_id":170892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06afd"} 
[2026-09-04 11:31:18] local.INFO: GPS Element Parsed {"raw_longitude":752137216,"raw_latitude":121077144,"longitude_deg":75.2137216,"latitude_deg":12.1077144,"altitude":18,"angle":243,"satellites":46,"speed":5,"hex_longitude":"2cd4b400","hex_latitude":"07377d98","is_valid_coordinates":true} 
[2026-09-04 11:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856351744001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119376029655881728,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788501382000,"timestamp_ms":1788501382000,"timestamp_seconds":1788501382,"priority":1,"record_length":96,"hex_timestamp":"000001a06afd5370"} 
[2026-09-04 11:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 11:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":170892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":170892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":170892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856351744001,"66":27767,"18":206,"83":43264,"24":5,"16":397721955953803264,"44":-3119376029655881728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856351744001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:31:18] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:31:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119376029655881728,"description":"Unknown IO ID 44"} 
[2026-09-04 11:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856351744001,"power":27767,"unknown_18":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3119376029655881728}} 
[2026-09-04 11:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":170892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:31:18] local.INFO: GPS data processed {"connection_id":170892,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:31:18] local.INFO: Acknowledgment sent {"connection_id":170892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:31:49] local.INFO: TCP Data received {"connection_id":173295,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:31:49] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:31:49] local.INFO: IMEI packet received {"connection_id":173295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":173295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:31:54] local.INFO: TCP Data received {"connection_id":173295,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:31:54] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:31:54] local.INFO: IMEI packet received {"connection_id":173295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":173295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:31:55] local.INFO: TCP Data received {"connection_id":173295,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06aff8208012d19d34007239358003a01312d..."} 
[2026-09-04 11:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06aff8208012d19d34007239358003a01312d..."} 
[2026-09-04 11:31:55] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06aff8208012d19d34007239358003a01312d..."} 
[2026-09-04 11:31:55] local.INFO: Packet analysis {"connection_id":173295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aff"} 
[2026-09-04 11:31:55] local.INFO: Extracted packet for processing {"connection_id":173295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aff"} 
[2026-09-04 11:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856385024001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788501525000,"timestamp_ms":1788501525000,"timestamp_seconds":1788501525,"priority":1,"record_length":96,"hex_timestamp":"000001a06aff8208"} 
[2026-09-04 11:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-04 11:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856385024001,"66":12776,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856385024001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:31:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856385024001,"power":12776,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":173295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:31:55] local.INFO: GPS data processed {"connection_id":173295,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:31:55] local.INFO: Acknowledgment sent {"connection_id":173295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:31:58] local.INFO: TCP Data received {"connection_id":173295,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06affd410012d19d34007239358003a01312d..."} 
[2026-09-04 11:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06affd410012d19d34007239358003a01312d..."} 
[2026-09-04 11:31:58] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06affd410012d19d34007239358003a01312d..."} 
[2026-09-04 11:31:58] local.INFO: Packet analysis {"connection_id":173295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06aff"} 
[2026-09-04 11:31:58] local.INFO: Extracted packet for processing {"connection_id":173295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06aff"} 
[2026-09-04 11:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856390400001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788501546000,"timestamp_ms":1788501546000,"timestamp_seconds":1788501546,"priority":1,"record_length":96,"hex_timestamp":"000001a06affd410"} 
[2026-09-04 11:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 11:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856390400001,"66":12743,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856390400001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:31:58] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:31:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856390400001,"power":12743,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":173295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:31:58] local.INFO: GPS data processed {"connection_id":173295,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:31:58] local.INFO: Acknowledgment sent {"connection_id":173295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:31:59] local.INFO: TCP Data received {"connection_id":170893,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:31:59] local.INFO: Processing buffer {"connection_id":170893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:31:59] local.INFO: IMEI packet received {"connection_id":170893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":170893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:32:05] local.INFO: TCP Data received {"connection_id":170893,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:32:05] local.INFO: Processing buffer {"connection_id":170893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:32:05] local.INFO: IMEI packet received {"connection_id":170893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":170893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:32:07] local.INFO: TCP Data received {"connection_id":170893,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:32:07] local.INFO: Processing buffer {"connection_id":170893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:32:07] local.INFO: Packet analysis {"connection_id":170893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:32:07] local.INFO: Extracted packet for processing {"connection_id":170893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:32:07] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":46,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856353792001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:32:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865162240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788501687000,"timestamp_ms":1788501687000,"timestamp_seconds":1788501687,"priority":1,"record_length":96,"hex_timestamp":"000001a06b01fad8"} 
[2026-09-04 11:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 11:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856353792001,"66":26452,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3119868610865162240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856353792001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:32:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:32:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865162240,"description":"Unknown IO ID 44"} 
[2026-09-04 11:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856353792001,"power":26452,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865162240}} 
[2026-09-04 11:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":170893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:32:07] local.INFO: GPS data processed {"connection_id":170893,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:32:07] local.INFO: Acknowledgment sent {"connection_id":170893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:32:30] local.INFO: TCP Data received {"connection_id":173295,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b002618012d19d34007239358003a013127..."} 
[2026-09-04 11:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b002618012d19d34007239358003a013127..."} 
[2026-09-04 11:32:30] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b002618012d19d34007239358003a013127..."} 
[2026-09-04 11:32:30] local.INFO: Packet analysis {"connection_id":173295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b00"} 
[2026-09-04 11:32:30] local.INFO: Extracted packet for processing {"connection_id":173295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b00"} 
[2026-09-04 11:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856395776001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788501567000,"timestamp_ms":1788501567000,"timestamp_seconds":1788501567,"priority":1,"record_length":96,"hex_timestamp":"000001a06b002618"} 
[2026-09-04 11:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-04 11:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856395776001,"66":12678,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856395776001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:32:30] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:32:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856395776001,"power":12678,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":173295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:32:30] local.INFO: GPS data processed {"connection_id":173295,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:32:30] local.INFO: Acknowledgment sent {"connection_id":173295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:32:41] local.INFO: TCP Data received {"connection_id":170893,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:32:41] local.INFO: Processing buffer {"connection_id":170893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:32:41] local.INFO: Packet analysis {"connection_id":170893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:32:41] local.INFO: Extracted packet for processing {"connection_id":170893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:32:41] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":46,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856353792001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865162240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788501687000,"timestamp_ms":1788501687000,"timestamp_seconds":1788501687,"priority":1,"record_length":96,"hex_timestamp":"000001a06b01fad8"} 
[2026-09-04 11:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 11:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856353792001,"66":26452,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3119868610865162240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856353792001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:32:41] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865162240,"description":"Unknown IO ID 44"} 
[2026-09-04 11:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856353792001,"power":26452,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865162240}} 
[2026-09-04 11:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":170893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:32:41] local.INFO: GPS data processed {"connection_id":170893,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:32:41] local.INFO: Acknowledgment sent {"connection_id":170893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:32:49] local.INFO: TCP Data received {"connection_id":173296,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:32:49] local.INFO: Processing buffer {"connection_id":173296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:32:49] local.INFO: IMEI packet received {"connection_id":173296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":173296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:32:54] local.INFO: TCP Data received {"connection_id":173296,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:32:54] local.INFO: Processing buffer {"connection_id":173296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:32:54] local.INFO: IMEI packet received {"connection_id":173296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":173296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:32:56] local.INFO: TCP Data received {"connection_id":173296,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b007820012d19d34007239358003a01312b..."} 
[2026-09-04 11:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b007820012d19d34007239358003a01312b..."} 
[2026-09-04 11:32:56] local.INFO: Processing buffer {"connection_id":173296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b007820012d19d34007239358003a01312b..."} 
[2026-09-04 11:32:56] local.INFO: Packet analysis {"connection_id":173296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b00"} 
[2026-09-04 11:32:56] local.INFO: Extracted packet for processing {"connection_id":173296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b00"} 
[2026-09-04 11:32:56] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856401152001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788501588000,"timestamp_ms":1788501588000,"timestamp_seconds":1788501588,"priority":1,"record_length":96,"hex_timestamp":"000001a06b007820"} 
[2026-09-04 11:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 11:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856401152001,"66":12558,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856401152001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:32:56] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:32:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856401152001,"power":12558,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":173296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:32:56] local.INFO: GPS data processed {"connection_id":173296,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:32:56] local.INFO: Acknowledgment sent {"connection_id":173296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:32:59] local.INFO: TCP Data received {"connection_id":170894,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:32:59] local.INFO: Processing buffer {"connection_id":170894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:32:59] local.INFO: IMEI packet received {"connection_id":170894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":170894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:33:05] local.INFO: TCP Data received {"connection_id":170894,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:33:05] local.INFO: Processing buffer {"connection_id":170894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:33:05] local.INFO: IMEI packet received {"connection_id":170894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":170894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:33:05] local.INFO: TCP Data received {"connection_id":173296,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b00ce10012d19d34007239358003a01312c..."} 
[2026-09-04 11:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b00ce10012d19d34007239358003a01312c..."} 
[2026-09-04 11:33:05] local.INFO: Processing buffer {"connection_id":173296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b00ce10012d19d34007239358003a01312c..."} 
[2026-09-04 11:33:05] local.INFO: Packet analysis {"connection_id":173296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b00"} 
[2026-09-04 11:33:05] local.INFO: Extracted packet for processing {"connection_id":173296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b00"} 
[2026-09-04 11:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856406528001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788501610000,"timestamp_ms":1788501610000,"timestamp_seconds":1788501610,"priority":1,"record_length":96,"hex_timestamp":"000001a06b00ce10"} 
[2026-09-04 11:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 11:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:05] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249860878075663192,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:05] local.WARNING: Large IO value detected {"io_id":106,"raw_value":4281335809,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:05] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2472017978,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-04 11:33:05] local.WARNING: Large IO value detected {"io_id":221,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:05] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432749031,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:05] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:05] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:05] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,112,28,24,241,158,16,248,160,38,45,64,147,58,39,10,66,212,130,1,240,232,106,35,4,113,205,221,211,88,239,49,2,60,7,231,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-04 11:33:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179675989929885696,"timestamp_seconds":4179675989929885.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856406528001,"66":12548,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856406528001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:33:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:33:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856406528001,"power":12548,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":173296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:33:05] local.INFO: GPS data processed {"connection_id":173296,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:33:05] local.INFO: Acknowledgment sent {"connection_id":173296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:33:07] local.INFO: TCP Data received {"connection_id":170894,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:33:07] local.INFO: Processing buffer {"connection_id":170894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:33:07] local.INFO: Packet analysis {"connection_id":170894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:33:07] local.INFO: Extracted packet for processing {"connection_id":170894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:33:07] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":46,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856353792001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865162240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788501687000,"timestamp_ms":1788501687000,"timestamp_seconds":1788501687,"priority":1,"record_length":96,"hex_timestamp":"000001a06b01fad8"} 
[2026-09-04 11:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 11:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856353792001,"66":26452,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3119868610865162240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856353792001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:33:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:33:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865162240,"description":"Unknown IO ID 44"} 
[2026-09-04 11:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856353792001,"power":26452,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865162240}} 
[2026-09-04 11:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":170894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:33:07] local.INFO: GPS data processed {"connection_id":170894,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:33:07] local.INFO: Acknowledgment sent {"connection_id":170894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:33:40] local.INFO: TCP Data received {"connection_id":170894,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:33:40] local.INFO: Processing buffer {"connection_id":170894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:33:40] local.INFO: Packet analysis {"connection_id":170894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:33:40] local.INFO: Extracted packet for processing {"connection_id":170894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:33:40] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":46,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856353792001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865162240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788501687000,"timestamp_ms":1788501687000,"timestamp_seconds":1788501687,"priority":1,"record_length":96,"hex_timestamp":"000001a06b01fad8"} 
[2026-09-04 11:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 11:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856353792001,"66":26452,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3119868610865162240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856353792001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:33:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:33:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:33:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865162240,"description":"Unknown IO ID 44"} 
[2026-09-04 11:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856353792001,"power":26452,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865162240}} 
[2026-09-04 11:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":170894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:33:40] local.INFO: GPS data processed {"connection_id":170894,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:33:40] local.INFO: Acknowledgment sent {"connection_id":170894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:33:49] local.INFO: TCP Data received {"connection_id":173297,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:33:49] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:33:49] local.INFO: IMEI packet received {"connection_id":173297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":173297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:33:54] local.INFO: TCP Data received {"connection_id":173297,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:33:54] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:33:54] local.INFO: IMEI packet received {"connection_id":173297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":173297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:33:55] local.INFO: TCP Data received {"connection_id":173297,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b012018012d19d34007239358003a01312b..."} 
[2026-09-04 11:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b012018012d19d34007239358003a01312b..."} 
[2026-09-04 11:33:55] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b012018012d19d34007239358003a01312b..."} 
[2026-09-04 11:33:55] local.INFO: Packet analysis {"connection_id":173297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:33:55] local.INFO: Extracted packet for processing {"connection_id":173297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:33:55] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856412160001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788501631000,"timestamp_ms":1788501631000,"timestamp_seconds":1788501631,"priority":1,"record_length":96,"hex_timestamp":"000001a06b012018"} 
[2026-09-04 11:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 11:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:55] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:55] local.WARNING: Large IO value detected {"io_id":106,"raw_value":4286711809,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:55] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2472017978,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-04 11:33:55] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951591,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:55] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4176347136,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:55] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-09-04 11:33:55] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,112,28,24,241,158,16,248,160,120,45,64,147,58,43,10,66,38,39,212,1,240,199,106,35,4,113,205,48,211,88,239,54,2,60,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-04 11:33:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179675994224852992,"timestamp_seconds":4179675994224853.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856412160001,"66":11993,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856412160001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:33:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856412160001,"power":11993,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":173297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:33:55] local.INFO: GPS data processed {"connection_id":173297,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:33:55] local.INFO: Acknowledgment sent {"connection_id":173297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:34:00] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:34:00] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:34:00] local.INFO: IMEI packet received {"connection_id":171999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":171999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:34:05] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:34:05] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:34:05] local.INFO: IMEI packet received {"connection_id":171999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":171999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:34:09] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:34:09] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:34:09] local.INFO: Packet analysis {"connection_id":171999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:34:09] local.INFO: Extracted packet for processing {"connection_id":171999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:34:09] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":46,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856353792001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:34:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865162240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788501687000,"timestamp_ms":1788501687000,"timestamp_seconds":1788501687,"priority":1,"record_length":96,"hex_timestamp":"000001a06b01fad8"} 
[2026-09-04 11:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 11:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856353792001,"66":26452,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3119868610865162240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856353792001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:34:09] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:34:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:34:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865162240,"description":"Unknown IO ID 44"} 
[2026-09-04 11:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856353792001,"power":26452,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865162240}} 
[2026-09-04 11:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":171999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:34:09] local.INFO: GPS data processed {"connection_id":171999,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:34:09] local.INFO: Acknowledgment sent {"connection_id":171999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:34:27] local.INFO: TCP Data received {"connection_id":173297,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b017220012d19d34007239358003a01312e..."} 
[2026-09-04 11:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b017220012d19d34007239358003a01312e..."} 
[2026-09-04 11:34:27] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b017220012d19d34007239358003a01312e..."} 
[2026-09-04 11:34:27] local.INFO: Packet analysis {"connection_id":173297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:34:27] local.INFO: Extracted packet for processing {"connection_id":173297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119771992,"longitude_deg":75.66672,"latitude_deg":11.9771992,"altitude":58,"angle":305,"satellites":46,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239358","is_valid_coordinates":true} 
[2026-09-04 11:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856417536001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162199688544256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788501652000,"timestamp_ms":1788501652000,"timestamp_seconds":1788501652,"priority":1,"record_length":96,"hex_timestamp":"000001a06b017220"} 
[2026-09-04 11:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 11:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856417536001,"66":12515,"112":206,"28":31744,"24":0,"16":17162199688544256,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856417536001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:34:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162199688544256,"km_value":17162199688544.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856417536001,"power":12515,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":173297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:34:27] local.INFO: GPS data processed {"connection_id":173297,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:34:27] local.INFO: Acknowledgment sent {"connection_id":173297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:34:41] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:34:41] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:34:41] local.INFO: Packet analysis {"connection_id":171999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:34:41] local.INFO: Extracted packet for processing {"connection_id":171999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:34:41] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":46,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856353792001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865162240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788501687000,"timestamp_ms":1788501687000,"timestamp_seconds":1788501687,"priority":1,"record_length":96,"hex_timestamp":"000001a06b01fad8"} 
[2026-09-04 11:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 11:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856353792001,"66":26452,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3119868610865162240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856353792001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:34:41] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865162240,"description":"Unknown IO ID 44"} 
[2026-09-04 11:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856353792001,"power":26452,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865162240}} 
[2026-09-04 11:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":171999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:34:41] local.INFO: GPS data processed {"connection_id":171999,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:34:41] local.INFO: Acknowledgment sent {"connection_id":171999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:34:48] local.INFO: TCP Data received {"connection_id":172000,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:34:48] local.INFO: Processing buffer {"connection_id":172000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:34:48] local.INFO: IMEI packet received {"connection_id":172000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":172000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:34:54] local.INFO: TCP Data received {"connection_id":172000,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:34:54] local.INFO: Processing buffer {"connection_id":172000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:34:54] local.INFO: IMEI packet received {"connection_id":172000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":172000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:34:55] local.INFO: TCP Data received {"connection_id":172000,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b018d78012d19d680072391b0002d007b2c..."} 
[2026-09-04 11:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b018d78012d19d680072391b0002d007b2c..."} 
[2026-09-04 11:34:55] local.INFO: Processing buffer {"connection_id":172000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b018d78012d19d680072391b0002d007b2c..."} 
[2026-09-04 11:34:55] local.INFO: Packet analysis {"connection_id":172000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:34:55] local.INFO: Extracted packet for processing {"connection_id":172000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:34:55] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119771568,"longitude_deg":75.6668032,"latitude_deg":11.9771568,"altitude":45,"angle":123,"satellites":44,"speed":0,"hex_longitude":"2d19d680","hex_latitude":"072391b0","is_valid_coordinates":true} 
[2026-09-04 11:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856422912001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162242638217216,"note":"Value kept but may cause issues"} 
[2026-09-04 11:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439954432,"note":"Value kept but may cause issues"} 
[2026-09-04 11:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788501659000,"timestamp_ms":1788501659000,"timestamp_seconds":1788501659,"priority":1,"record_length":96,"hex_timestamp":"000001a06b018d78"} 
[2026-09-04 11:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-04 11:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856422912001,"66":12493,"112":206,"28":31744,"24":0,"16":17162242638217216,"45":1860901470439954432},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856422912001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:34:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162242638217216,"km_value":17162242638217.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439954432,"description":"Unknown IO ID 45"} 
[2026-09-04 11:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856422912001,"power":12493,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439954432}} 
[2026-09-04 11:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":172000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:34:55] local.INFO: GPS data processed {"connection_id":172000,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:34:55] local.INFO: Acknowledgment sent {"connection_id":172000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:35:05] local.INFO: TCP Data received {"connection_id":170895,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:35:05] local.INFO: Processing buffer {"connection_id":170895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:35:05] local.INFO: IMEI packet received {"connection_id":170895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":170895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:35:10] local.INFO: TCP Data received {"connection_id":170895,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:35:10] local.INFO: Processing buffer {"connection_id":170895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:35:10] local.INFO: IMEI packet received {"connection_id":170895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":170895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:35:11] local.INFO: TCP Data received {"connection_id":170895,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:35:11] local.INFO: Processing buffer {"connection_id":170895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:35:11] local.INFO: Packet analysis {"connection_id":170895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:35:11] local.INFO: Extracted packet for processing {"connection_id":170895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:35:11] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":46,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856353792001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:35:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865162240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788501687000,"timestamp_ms":1788501687000,"timestamp_seconds":1788501687,"priority":1,"record_length":96,"hex_timestamp":"000001a06b01fad8"} 
[2026-09-04 11:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 11:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856353792001,"66":26452,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3119868610865162240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856353792001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:35:11] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:35:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:35:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865162240,"description":"Unknown IO ID 44"} 
[2026-09-04 11:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856353792001,"power":26452,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865162240}} 
[2026-09-04 11:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":170895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:35:11] local.INFO: GPS data processed {"connection_id":170895,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:35:11] local.INFO: Acknowledgment sent {"connection_id":170895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:35:27] local.INFO: TCP Data received {"connection_id":172000,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b01db98012d19d68007239198002d007a2b..."} 
[2026-09-04 11:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b01db98012d19d68007239198002d007a2b..."} 
[2026-09-04 11:35:27] local.INFO: Processing buffer {"connection_id":172000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b01db98012d19d68007239198002d007a2b..."} 
[2026-09-04 11:35:27] local.INFO: Packet analysis {"connection_id":172000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:35:27] local.INFO: Extracted packet for processing {"connection_id":172000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119771544,"longitude_deg":75.6668032,"latitude_deg":11.9771544,"altitude":45,"angle":122,"satellites":43,"speed":0,"hex_longitude":"2d19d680","hex_latitude":"07239198","is_valid_coordinates":true} 
[2026-09-04 11:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856424704001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162246933184512,"note":"Value kept but may cause issues"} 
[2026-09-04 11:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264114155520,"note":"Value kept but may cause issues"} 
[2026-09-04 11:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788501679000,"timestamp_ms":1788501679000,"timestamp_seconds":1788501679,"priority":1,"record_length":96,"hex_timestamp":"000001a06b01db98"} 
[2026-09-04 11:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 11:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856424704001,"66":12504,"112":206,"28":31744,"24":0,"16":17162246933184512,"45":1861816264114155520},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856424704001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:35:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:35:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162246933184512,"km_value":17162246933184.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264114155520,"description":"Unknown IO ID 45"} 
[2026-09-04 11:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856424704001,"power":12504,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1861816264114155520}} 
[2026-09-04 11:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":172000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:35:27] local.INFO: GPS data processed {"connection_id":172000,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:35:27] local.INFO: Acknowledgment sent {"connection_id":172000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:35:47] local.INFO: TCP Data received {"connection_id":170895,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:35:47] local.INFO: Processing buffer {"connection_id":170895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:35:47] local.INFO: Packet analysis {"connection_id":170895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:35:47] local.INFO: Extracted packet for processing {"connection_id":170895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:35:47] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":46,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856353792001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:35:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865162240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788501687000,"timestamp_ms":1788501687000,"timestamp_seconds":1788501687,"priority":1,"record_length":96,"hex_timestamp":"000001a06b01fad8"} 
[2026-09-04 11:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 11:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856353792001,"66":26452,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3119868610865162240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856353792001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:35:47] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:35:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865162240,"description":"Unknown IO ID 44"} 
[2026-09-04 11:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856353792001,"power":26452,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865162240}} 
[2026-09-04 11:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":170895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:35:47] local.INFO: GPS data processed {"connection_id":170895,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:35:47] local.INFO: Acknowledgment sent {"connection_id":170895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:35:49] local.INFO: TCP Data received {"connection_id":173298,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:35:49] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:35:49] local.INFO: IMEI packet received {"connection_id":173298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":173298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:35:49] local.INFO: TCP Data received {"connection_id":173298,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:35:49] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:35:49] local.INFO: IMEI packet received {"connection_id":173298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":173298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:35:53] local.INFO: TCP Data received {"connection_id":173298,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:35:53] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:35:53] local.INFO: IMEI packet received {"connection_id":173298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":173298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:35:55] local.INFO: TCP Data received {"connection_id":173298,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b023188012d19d68007239198002d007a25..."} 
[2026-09-04 11:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b023188012d19d68007239198002d007a25..."} 
[2026-09-04 11:35:55] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b023188012d19d68007239198002d007a25..."} 
[2026-09-04 11:35:55] local.INFO: Packet analysis {"connection_id":173298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b02"} 
[2026-09-04 11:35:55] local.INFO: Extracted packet for processing {"connection_id":173298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b02"} 
[2026-09-04 11:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119771544,"longitude_deg":75.6668032,"latitude_deg":11.9771544,"altitude":45,"angle":122,"satellites":37,"speed":0,"hex_longitude":"2d19d680","hex_latitude":"07239198","is_valid_coordinates":true} 
[2026-09-04 11:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856429824001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162246933184512,"note":"Value kept but may cause issues"} 
[2026-09-04 11:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264114149376,"note":"Value kept but may cause issues"} 
[2026-09-04 11:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788501701000,"timestamp_ms":1788501701000,"timestamp_seconds":1788501701,"priority":1,"record_length":96,"hex_timestamp":"000001a06b023188"} 
[2026-09-04 11:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 11:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856429824001,"66":11787,"112":206,"28":31744,"24":0,"16":17162246933184512,"45":1861816264114149376},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856429824001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:35:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162246933184512,"km_value":17162246933184.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264114149376,"description":"Unknown IO ID 45"} 
[2026-09-04 11:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856429824001,"power":11787,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1861816264114149376}} 
[2026-09-04 11:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":173298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:35:55] local.INFO: GPS data processed {"connection_id":173298,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:35:55] local.INFO: Acknowledgment sent {"connection_id":173298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:35:59] local.INFO: TCP Data received {"connection_id":172001,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:35:59] local.INFO: Processing buffer {"connection_id":172001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:35:59] local.INFO: IMEI packet received {"connection_id":172001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":172001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:36:05] local.INFO: TCP Data received {"connection_id":172001,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:36:05] local.INFO: Processing buffer {"connection_id":172001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:36:05] local.INFO: IMEI packet received {"connection_id":172001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":172001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:36:06] local.INFO: TCP Data received {"connection_id":172001,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:36:06] local.INFO: Processing buffer {"connection_id":172001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:36:06] local.INFO: Packet analysis {"connection_id":172001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:36:06] local.INFO: Extracted packet for processing {"connection_id":172001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:36:06] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":46,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856353792001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865162240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788501687000,"timestamp_ms":1788501687000,"timestamp_seconds":1788501687,"priority":1,"record_length":96,"hex_timestamp":"000001a06b01fad8"} 
[2026-09-04 11:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 11:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856353792001,"66":26452,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3119868610865162240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856353792001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:36:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:36:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865162240,"description":"Unknown IO ID 44"} 
[2026-09-04 11:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856353792001,"power":26452,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865162240}} 
[2026-09-04 11:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":172001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:36:06] local.INFO: GPS data processed {"connection_id":172001,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:36:06] local.INFO: Acknowledgment sent {"connection_id":172001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:36:26] local.INFO: TCP Data received {"connection_id":173298,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b027fa8012d19d68007239198002d007a2a..."} 
[2026-09-04 11:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b027fa8012d19d68007239198002d007a2a..."} 
[2026-09-04 11:36:26] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b027fa8012d19d68007239198002d007a2a..."} 
[2026-09-04 11:36:26] local.INFO: Packet analysis {"connection_id":173298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b02"} 
[2026-09-04 11:36:26] local.INFO: Extracted packet for processing {"connection_id":173298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b02"} 
[2026-09-04 11:36:26] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119771544,"longitude_deg":75.6668032,"latitude_deg":11.9771544,"altitude":45,"angle":122,"satellites":42,"speed":0,"hex_longitude":"2d19d680","hex_latitude":"07239198","is_valid_coordinates":true} 
[2026-09-04 11:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856435456001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162246933184512,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264114149376,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788501721000,"timestamp_ms":1788501721000,"timestamp_seconds":1788501721,"priority":1,"record_length":96,"hex_timestamp":"000001a06b027fa8"} 
[2026-09-04 11:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-09-04 11:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:26] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6887411041521554151,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:26] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2472017978,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-04 11:36:26] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:26] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4613695459007937025,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:26] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2810246167479192064,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:26] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-509469707846287360,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:26] local.WARNING: Large IO value detected {"io_id":61,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:26] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,112,28,24,241,158,16,248,160,219,45,128,145,43,10,66,141,44,114,64,1,240,227,107,35,4,113,205,206,211,88,239,49,2,60,61],"length":533,"final_offset":663,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-04 11:36:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242726031039135744,"timestamp_seconds":3242726031039135.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856435456001,"66":12428,"112":206,"28":31744,"24":0,"16":17162246933184512,"45":1861816264114149376},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856435456001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:36:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:36:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162246933184512,"km_value":17162246933184.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264114149376,"description":"Unknown IO ID 45"} 
[2026-09-04 11:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856435456001,"power":12428,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1861816264114149376}} 
[2026-09-04 11:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":173298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:36:26] local.INFO: GPS data processed {"connection_id":173298,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:36:26] local.INFO: Acknowledgment sent {"connection_id":173298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:36:39] local.INFO: TCP Data received {"connection_id":172001,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:36:39] local.INFO: Processing buffer {"connection_id":172001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:36:39] local.INFO: Packet analysis {"connection_id":172001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:36:39] local.INFO: Extracted packet for processing {"connection_id":172001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:36:39] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":46,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856353792001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865162240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788501687000,"timestamp_ms":1788501687000,"timestamp_seconds":1788501687,"priority":1,"record_length":96,"hex_timestamp":"000001a06b01fad8"} 
[2026-09-04 11:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 11:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856353792001,"66":26452,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3119868610865162240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856353792001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:36:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:36:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:36:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865162240,"description":"Unknown IO ID 44"} 
[2026-09-04 11:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856353792001,"power":26452,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865162240}} 
[2026-09-04 11:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":172001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:36:39] local.INFO: GPS data processed {"connection_id":172001,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:36:39] local.INFO: Acknowledgment sent {"connection_id":172001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:36:52] local.INFO: TCP Data received {"connection_id":170594,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:36:52] local.INFO: Processing buffer {"connection_id":170594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:36:52] local.INFO: IMEI packet received {"connection_id":170594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":170594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:36:53] local.INFO: TCP Data received {"connection_id":170594,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:36:53] local.INFO: Processing buffer {"connection_id":170594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:36:53] local.INFO: IMEI packet received {"connection_id":170594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":170594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:36:58] local.INFO: TCP Data received {"connection_id":170594,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:36:58] local.INFO: Processing buffer {"connection_id":170594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:36:58] local.INFO: IMEI packet received {"connection_id":170594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":170594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:36:59] local.INFO: TCP Data received {"connection_id":170896,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:36:59] local.INFO: Processing buffer {"connection_id":170896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:36:59] local.INFO: IMEI packet received {"connection_id":170896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":170896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:37:00] local.INFO: TCP Data received {"connection_id":170594,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b02d1b0012d19d68007239198002d007a25..."} 
[2026-09-04 11:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b02d1b0012d19d68007239198002d007a25..."} 
[2026-09-04 11:37:00] local.INFO: Processing buffer {"connection_id":170594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b02d1b0012d19d68007239198002d007a25..."} 
[2026-09-04 11:37:00] local.INFO: Packet analysis {"connection_id":170594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b02"} 
[2026-09-04 11:37:00] local.INFO: Extracted packet for processing {"connection_id":170594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b02"} 
[2026-09-04 11:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119771544,"longitude_deg":75.6668032,"latitude_deg":11.9771544,"altitude":45,"angle":122,"satellites":37,"speed":0,"hex_longitude":"2d19d680","hex_latitude":"07239198","is_valid_coordinates":true} 
[2026-09-04 11:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856440576001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162246933184512,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264114149376,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788501742000,"timestamp_ms":1788501742000,"timestamp_seconds":1788501742,"priority":1,"record_length":96,"hex_timestamp":"000001a06b02d1b0"} 
[2026-09-04 11:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 11:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856440576001,"66":12385,"112":206,"28":31744,"24":0,"16":17162246933184512,"45":1861816264114149376},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856440576001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:37:00] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:37:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162246933184512,"km_value":17162246933184.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264114149376,"description":"Unknown IO ID 45"} 
[2026-09-04 11:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856440576001,"power":12385,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1861816264114149376}} 
[2026-09-04 11:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":170594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:37:00] local.INFO: GPS data processed {"connection_id":170594,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:37:00] local.INFO: Acknowledgment sent {"connection_id":170594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:37:05] local.INFO: TCP Data received {"connection_id":170896,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:37:05] local.INFO: Processing buffer {"connection_id":170896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:37:05] local.INFO: IMEI packet received {"connection_id":170896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":170896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:37:06] local.INFO: TCP Data received {"connection_id":170896,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:37:06] local.INFO: Processing buffer {"connection_id":170896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b01fad8012cd4af4007377b00000f00e92e..."} 
[2026-09-04 11:37:06] local.INFO: Packet analysis {"connection_id":170896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:37:06] local.INFO: Extracted packet for processing {"connection_id":170896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b01"} 
[2026-09-04 11:37:06] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":46,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856353792001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865162240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788501687000,"timestamp_ms":1788501687000,"timestamp_seconds":1788501687,"priority":1,"record_length":96,"hex_timestamp":"000001a06b01fad8"} 
[2026-09-04 11:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 11:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856353792001,"66":26452,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3119868610865162240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856353792001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:37:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865162240,"description":"Unknown IO ID 44"} 
[2026-09-04 11:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856353792001,"power":26452,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865162240}} 
[2026-09-04 11:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":170896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:37:06] local.INFO: GPS data processed {"connection_id":170896,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:37:06] local.INFO: Acknowledgment sent {"connection_id":170896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:37:09] local.INFO: TCP Data received {"connection_id":170594,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0323b8012d19d68007239198002d007a26..."} 
[2026-09-04 11:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0323b8012d19d68007239198002d007a26..."} 
[2026-09-04 11:37:09] local.INFO: Processing buffer {"connection_id":170594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0323b8012d19d68007239198002d007a26..."} 
[2026-09-04 11:37:09] local.INFO: Packet analysis {"connection_id":170594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b03"} 
[2026-09-04 11:37:09] local.INFO: Extracted packet for processing {"connection_id":170594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b03"} 
[2026-09-04 11:37:09] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119771544,"longitude_deg":75.6668032,"latitude_deg":11.9771544,"altitude":45,"angle":122,"satellites":38,"speed":0,"hex_longitude":"2d19d680","hex_latitude":"07239198","is_valid_coordinates":true} 
[2026-09-04 11:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856445952001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162246933184512,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264114149376,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788501763000,"timestamp_ms":1788501763000,"timestamp_seconds":1788501763,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0323b8"} 
[2026-09-04 11:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 11:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856445952001,"66":12406,"112":206,"28":31744,"24":0,"16":17162246933184512,"45":1861816264114149376},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856445952001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:37:09] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:37:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162246933184512,"km_value":17162246933184.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264114149376,"description":"Unknown IO ID 45"} 
[2026-09-04 11:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856445952001,"power":12406,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1861816264114149376}} 
[2026-09-04 11:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":170594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:37:09] local.INFO: GPS data processed {"connection_id":170594,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:37:09] local.INFO: Acknowledgment sent {"connection_id":170594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:37:38] local.INFO: TCP Data received {"connection_id":170896,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:37:38] local.INFO: Processing buffer {"connection_id":170896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:37:38] local.INFO: Packet analysis {"connection_id":170896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:37:38] local.INFO: Extracted packet for processing {"connection_id":170896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:37:38] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856431872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788501988000,"timestamp_ms":1788501988000,"timestamp_seconds":1788501988,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0692a0"} 
[2026-09-04 11:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 11:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856431872001,"66":26158,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856431872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:37:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:37:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856431872001,"power":26158,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":170896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:37:38] local.INFO: GPS data processed {"connection_id":170896,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:37:38] local.INFO: Acknowledgment sent {"connection_id":170896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:37:49] local.INFO: TCP Data received {"connection_id":170897,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:37:49] local.INFO: Processing buffer {"connection_id":170897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:37:49] local.INFO: IMEI packet received {"connection_id":170897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":170897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:37:54] local.INFO: TCP Data received {"connection_id":170897,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:37:54] local.INFO: Processing buffer {"connection_id":170897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:37:54] local.INFO: IMEI packet received {"connection_id":170897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":170897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:37:55] local.INFO: TCP Data received {"connection_id":170897,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b06aa10012d19d68007239198002d007a2c..."} 
[2026-09-04 11:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b06aa10012d19d68007239198002d007a2c..."} 
[2026-09-04 11:37:55] local.INFO: Processing buffer {"connection_id":170897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b06aa10012d19d68007239198002d007a2c..."} 
[2026-09-04 11:37:55] local.INFO: Packet analysis {"connection_id":170897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:37:55] local.INFO: Extracted packet for processing {"connection_id":170897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119771544,"longitude_deg":75.6668032,"latitude_deg":11.9771544,"altitude":45,"angle":122,"satellites":44,"speed":0,"hex_longitude":"2d19d680","hex_latitude":"07239198","is_valid_coordinates":true} 
[2026-09-04 11:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856505088001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162246933184512,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264114149376,"note":"Value kept but may cause issues"} 
[2026-09-04 11:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788501994000,"timestamp_ms":1788501994000,"timestamp_seconds":1788501994,"priority":1,"record_length":96,"hex_timestamp":"000001a06b06aa10"} 
[2026-09-04 11:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-04 11:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856505088001,"66":12341,"112":206,"28":31744,"24":0,"16":17162246933184512,"45":1861816264114149376},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856505088001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:37:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:37:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162246933184512,"km_value":17162246933184.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264114149376,"description":"Unknown IO ID 45"} 
[2026-09-04 11:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856505088001,"power":12341,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1861816264114149376}} 
[2026-09-04 11:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":170897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:37:55] local.INFO: GPS data processed {"connection_id":170897,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:37:55] local.INFO: Acknowledgment sent {"connection_id":170897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:38:00] local.INFO: TCP Data received {"connection_id":172002,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:38:00] local.INFO: Processing buffer {"connection_id":172002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:38:00] local.INFO: IMEI packet received {"connection_id":172002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":172002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:38:05] local.INFO: TCP Data received {"connection_id":172002,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:38:05] local.INFO: Processing buffer {"connection_id":172002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:38:05] local.INFO: IMEI packet received {"connection_id":172002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":172002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:38:09] local.INFO: TCP Data received {"connection_id":172002,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:38:09] local.INFO: Processing buffer {"connection_id":172002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:38:09] local.INFO: Packet analysis {"connection_id":172002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:38:09] local.INFO: Extracted packet for processing {"connection_id":172002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:38:09] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856431872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:38:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788501988000,"timestamp_ms":1788501988000,"timestamp_seconds":1788501988,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0692a0"} 
[2026-09-04 11:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 11:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856431872001,"66":26158,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856431872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:38:09] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:38:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:38:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856431872001,"power":26158,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":172002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:38:09] local.INFO: GPS data processed {"connection_id":172002,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:38:09] local.INFO: Acknowledgment sent {"connection_id":172002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:38:10] local.INFO: TCP Data received {"connection_id":170898,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:38:10] local.INFO: Processing buffer {"connection_id":170898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:38:10] local.INFO: IMEI packet received {"connection_id":170898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":170898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:38:19] local.INFO: TCP Data received {"connection_id":170898,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:38:19] local.INFO: Processing buffer {"connection_id":170898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:38:19] local.INFO: IMEI packet received {"connection_id":170898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":170898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:38:20] local.INFO: TCP Data received {"connection_id":170898,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-04 11:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170898,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-04 11:38:20] local.INFO: Processing buffer {"connection_id":170898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-04 11:38:20] local.INFO: Packet analysis {"connection_id":170898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 11:38:20] local.INFO: Extracted packet for processing {"connection_id":170898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 11:38:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 11:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:38:20] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-04 11:38:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5000,"timestamp_seconds":5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:38:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 11:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":170898,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-04 11:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-04 11:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 11:38:20] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 11:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":170898,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 11:38:20] local.ERROR: GPS data processing failed {"connection_id":170898,"error":"No valid data to process"} 
[2026-09-04 11:38:20] local.INFO: Acknowledgment sent {"connection_id":170898,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 11:38:27] local.INFO: TCP Data received {"connection_id":170897,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b06fc18012d19d68007239198002d007a28..."} 
[2026-09-04 11:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b06fc18012d19d68007239198002d007a28..."} 
[2026-09-04 11:38:27] local.INFO: Processing buffer {"connection_id":170897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b06fc18012d19d68007239198002d007a28..."} 
[2026-09-04 11:38:27] local.INFO: Packet analysis {"connection_id":170897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:38:27] local.INFO: Extracted packet for processing {"connection_id":170897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119771544,"longitude_deg":75.6668032,"latitude_deg":11.9771544,"altitude":45,"angle":122,"satellites":40,"speed":0,"hex_longitude":"2d19d680","hex_latitude":"07239198","is_valid_coordinates":true} 
[2026-09-04 11:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856510464001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162246933184512,"note":"Value kept but may cause issues"} 
[2026-09-04 11:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264114149376,"note":"Value kept but may cause issues"} 
[2026-09-04 11:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788502015000,"timestamp_ms":1788502015000,"timestamp_seconds":1788502015,"priority":1,"record_length":96,"hex_timestamp":"000001a06b06fc18"} 
[2026-09-04 11:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856510464001,"66":12374,"112":206,"28":31744,"24":0,"16":17162246933184512,"45":1861816264114149376},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856510464001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:38:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:38:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162246933184512,"km_value":17162246933184.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264114149376,"description":"Unknown IO ID 45"} 
[2026-09-04 11:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856510464001,"power":12374,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1861816264114149376}} 
[2026-09-04 11:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":170897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:38:27] local.INFO: GPS data processed {"connection_id":170897,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:38:27] local.INFO: Acknowledgment sent {"connection_id":170897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:38:40] local.INFO: TCP Data received {"connection_id":172002,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:38:40] local.INFO: Processing buffer {"connection_id":172002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:38:40] local.INFO: Packet analysis {"connection_id":172002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:38:40] local.INFO: Extracted packet for processing {"connection_id":172002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:38:40] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856431872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:38:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788501988000,"timestamp_ms":1788501988000,"timestamp_seconds":1788501988,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0692a0"} 
[2026-09-04 11:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 11:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856431872001,"66":26158,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856431872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:38:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:38:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:38:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856431872001,"power":26158,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":172002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:38:40] local.INFO: GPS data processed {"connection_id":172002,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:38:40] local.INFO: Acknowledgment sent {"connection_id":172002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:38:49] local.INFO: TCP Data received {"connection_id":173299,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:38:49] local.INFO: Processing buffer {"connection_id":173299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:38:49] local.INFO: IMEI packet received {"connection_id":173299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":173299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:38:54] local.INFO: TCP Data received {"connection_id":173299,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:38:54] local.INFO: Processing buffer {"connection_id":173299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:38:54] local.INFO: IMEI packet received {"connection_id":173299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":173299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:38:56] local.INFO: TCP Data received {"connection_id":173299,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b070fa0012d19d38007239370002f01322a..."} 
[2026-09-04 11:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b070fa0012d19d38007239370002f01322a..."} 
[2026-09-04 11:38:56] local.INFO: Processing buffer {"connection_id":173299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b070fa0012d19d38007239370002f01322a..."} 
[2026-09-04 11:38:56] local.INFO: Packet analysis {"connection_id":173299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b07"} 
[2026-09-04 11:38:56] local.INFO: Extracted packet for processing {"connection_id":173299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b07"} 
[2026-09-04 11:38:56] local.INFO: GPS Element Parsed {"raw_longitude":756667264,"raw_latitude":119772016,"longitude_deg":75.6667264,"latitude_deg":11.9772016,"altitude":47,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2d19d380","hex_latitude":"07239370","is_valid_coordinates":true} 
[2026-09-04 11:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856515840001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162289882857472,"note":"Value kept but may cause issues"} 
[2026-09-04 11:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264114149376,"note":"Value kept but may cause issues"} 
[2026-09-04 11:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788502020000,"timestamp_ms":1788502020000,"timestamp_seconds":1788502020,"priority":1,"record_length":96,"hex_timestamp":"000001a06b070fa0"} 
[2026-09-04 11:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 11:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856515840001,"66":12341,"112":206,"28":31744,"24":0,"16":17162289882857472,"45":1861816264114149376},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856515840001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:38:56] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:38:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162289882857472,"km_value":17162289882857.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264114149376,"description":"Unknown IO ID 45"} 
[2026-09-04 11:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856515840001,"power":12341,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1861816264114149376}} 
[2026-09-04 11:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":173299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:38:56] local.INFO: GPS data processed {"connection_id":173299,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:38:56] local.INFO: Acknowledgment sent {"connection_id":173299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:38:59] local.INFO: TCP Data received {"connection_id":170898,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-04 11:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170898,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-04 11:38:59] local.INFO: Processing buffer {"connection_id":170898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-04 11:38:59] local.INFO: Packet analysis {"connection_id":170898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 11:38:59] local.INFO: Extracted packet for processing {"connection_id":170898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 11:38:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 11:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:38:59] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-04 11:38:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5000,"timestamp_seconds":5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:38:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 11:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170898,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-04 11:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-04 11:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 11:38:59] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 11:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":170898,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 11:38:59] local.ERROR: GPS data processing failed {"connection_id":170898,"error":"No valid data to process"} 
[2026-09-04 11:38:59] local.INFO: Acknowledgment sent {"connection_id":170898,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 11:39:00] local.INFO: TCP Data received {"connection_id":170595,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:39:00] local.INFO: Processing buffer {"connection_id":170595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:39:00] local.INFO: IMEI packet received {"connection_id":170595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":170595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:39:05] local.INFO: TCP Data received {"connection_id":170595,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:39:05] local.INFO: Processing buffer {"connection_id":170595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:39:05] local.INFO: IMEI packet received {"connection_id":170595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":170595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:39:07] local.INFO: TCP Data received {"connection_id":170595,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:39:07] local.INFO: Processing buffer {"connection_id":170595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:39:07] local.INFO: Packet analysis {"connection_id":170595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:39:07] local.INFO: Extracted packet for processing {"connection_id":170595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:39:07] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856431872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788501988000,"timestamp_ms":1788501988000,"timestamp_seconds":1788501988,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0692a0"} 
[2026-09-04 11:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 11:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856431872001,"66":26158,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856431872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:39:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856431872001,"power":26158,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":170595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:39:07] local.INFO: GPS data processed {"connection_id":170595,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:39:07] local.INFO: Acknowledgment sent {"connection_id":170595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:39:10] local.INFO: TCP Data received {"connection_id":170595,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:39:10] local.INFO: Processing buffer {"connection_id":170595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:39:10] local.INFO: Packet analysis {"connection_id":170595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:39:10] local.INFO: Extracted packet for processing {"connection_id":170595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:39:10] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856431872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788501988000,"timestamp_ms":1788501988000,"timestamp_seconds":1788501988,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0692a0"} 
[2026-09-04 11:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 11:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856431872001,"66":26158,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856431872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:39:10] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:39:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856431872001,"power":26158,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":170595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:39:10] local.INFO: GPS data processed {"connection_id":170595,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:39:10] local.INFO: Acknowledgment sent {"connection_id":170595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:39:29] local.INFO: TCP Data received {"connection_id":173299,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0761a8012d19d34007239388002f013025..."} 
[2026-09-04 11:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0761a8012d19d34007239388002f013025..."} 
[2026-09-04 11:39:29] local.INFO: Processing buffer {"connection_id":173299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0761a8012d19d34007239388002f013025..."} 
[2026-09-04 11:39:29] local.INFO: Packet analysis {"connection_id":173299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b07"} 
[2026-09-04 11:39:29] local.INFO: Extracted packet for processing {"connection_id":173299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b07"} 
[2026-09-04 11:39:29] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119772040,"longitude_deg":75.66672,"latitude_deg":11.977204,"altitude":47,"angle":304,"satellites":37,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239388","is_valid_coordinates":true} 
[2026-09-04 11:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856517120001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162294177824768,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860971839184138240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788502041000,"timestamp_ms":1788502041000,"timestamp_seconds":1788502041,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0761a8"} 
[2026-09-04 11:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856517120001,"66":11624,"112":206,"28":31744,"24":0,"16":17162294177824768,"45":1860971839184138240},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856517120001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:39:29] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:39:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162294177824768,"km_value":17162294177824.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860971839184138240,"description":"Unknown IO ID 45"} 
[2026-09-04 11:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856517120001,"power":11624,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860971839184138240}} 
[2026-09-04 11:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":173299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:39:29] local.INFO: GPS data processed {"connection_id":173299,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:39:29] local.INFO: Acknowledgment sent {"connection_id":173299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:39:34] local.INFO: TCP Data received {"connection_id":170898,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-04 11:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170898,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-04 11:39:34] local.INFO: Processing buffer {"connection_id":170898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-04 11:39:34] local.INFO: Packet analysis {"connection_id":170898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 11:39:34] local.INFO: Extracted packet for processing {"connection_id":170898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 11:39:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 11:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:34] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-04 11:39:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5000,"timestamp_seconds":5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:39:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 11:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":170898,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-04 11:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-04 11:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 11:39:34] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 11:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":170898,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 11:39:34] local.ERROR: GPS data processing failed {"connection_id":170898,"error":"No valid data to process"} 
[2026-09-04 11:39:34] local.INFO: Acknowledgment sent {"connection_id":170898,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 11:39:43] local.INFO: TCP Data received {"connection_id":170595,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:39:43] local.INFO: Processing buffer {"connection_id":170595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:39:43] local.INFO: Packet analysis {"connection_id":170595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:39:43] local.INFO: Extracted packet for processing {"connection_id":170595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:39:43] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856431872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788501988000,"timestamp_ms":1788501988000,"timestamp_seconds":1788501988,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0692a0"} 
[2026-09-04 11:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 11:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":170595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":170595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":170595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856431872001,"66":26158,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856431872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:39:43] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:39:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:39:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856431872001,"power":26158,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":170595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:39:43] local.INFO: GPS data processed {"connection_id":170595,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:39:43] local.INFO: Acknowledgment sent {"connection_id":170595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:39:49] local.INFO: TCP Data received {"connection_id":172003,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:39:49] local.INFO: Processing buffer {"connection_id":172003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:39:49] local.INFO: IMEI packet received {"connection_id":172003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":172003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:39:54] local.INFO: TCP Data received {"connection_id":172003,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:39:54] local.INFO: Processing buffer {"connection_id":172003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:39:54] local.INFO: IMEI packet received {"connection_id":172003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":172003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:39:55] local.INFO: TCP Data received {"connection_id":172003,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b07b3b0012d19d34007239388002f013024..."} 
[2026-09-04 11:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b07b3b0012d19d34007239388002f013024..."} 
[2026-09-04 11:39:55] local.INFO: Processing buffer {"connection_id":172003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b07b3b0012d19d34007239388002f013024..."} 
[2026-09-04 11:39:55] local.INFO: Packet analysis {"connection_id":172003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b07"} 
[2026-09-04 11:39:55] local.INFO: Extracted packet for processing {"connection_id":172003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b07"} 
[2026-09-04 11:39:55] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119772040,"longitude_deg":75.66672,"latitude_deg":11.977204,"altitude":47,"angle":304,"satellites":36,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239388","is_valid_coordinates":true} 
[2026-09-04 11:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856522496001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162294177824768,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439966720,"note":"Value kept but may cause issues"} 
[2026-09-04 11:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788502062000,"timestamp_ms":1788502062000,"timestamp_seconds":1788502062,"priority":1,"record_length":96,"hex_timestamp":"000001a06b07b3b0"} 
[2026-09-04 11:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 11:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856522496001,"66":12113,"112":206,"28":31744,"24":0,"16":17162294177824768,"45":1860901470439966720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856522496001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:39:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:39:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162294177824768,"km_value":17162294177824.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439966720,"description":"Unknown IO ID 45"} 
[2026-09-04 11:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856522496001,"power":12113,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439966720}} 
[2026-09-04 11:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":172003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:39:55] local.INFO: GPS data processed {"connection_id":172003,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:39:55] local.INFO: Acknowledgment sent {"connection_id":172003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:39:59] local.INFO: TCP Data received {"connection_id":170899,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:39:59] local.INFO: Processing buffer {"connection_id":170899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:39:59] local.INFO: IMEI packet received {"connection_id":170899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":170899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:40:05] local.INFO: TCP Data received {"connection_id":170899,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:40:05] local.INFO: Processing buffer {"connection_id":170899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:40:05] local.INFO: IMEI packet received {"connection_id":170899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":170899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:40:05] local.INFO: TCP Data received {"connection_id":170898,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-04 11:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170898,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-04 11:40:05] local.INFO: Processing buffer {"connection_id":170898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-04 11:40:05] local.INFO: Packet analysis {"connection_id":170898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 11:40:05] local.INFO: Extracted packet for processing {"connection_id":170898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 11:40:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 11:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:05] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-04 11:40:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5000,"timestamp_seconds":5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:40:05] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 11:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170898,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-04 11:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-04 11:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 11:40:05] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 11:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":170898,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 11:40:05] local.ERROR: GPS data processing failed {"connection_id":170898,"error":"No valid data to process"} 
[2026-09-04 11:40:05] local.INFO: Acknowledgment sent {"connection_id":170898,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 11:40:06] local.INFO: TCP Data received {"connection_id":170899,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:40:06] local.INFO: Processing buffer {"connection_id":170899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:40:06] local.INFO: Packet analysis {"connection_id":170899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:40:06] local.INFO: Extracted packet for processing {"connection_id":170899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:40:06] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856431872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788501988000,"timestamp_ms":1788501988000,"timestamp_seconds":1788501988,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0692a0"} 
[2026-09-04 11:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 11:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856431872001,"66":26158,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856431872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:40:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:40:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856431872001,"power":26158,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":170899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:40:06] local.INFO: GPS data processed {"connection_id":170899,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:40:06] local.INFO: Acknowledgment sent {"connection_id":170899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:40:27] local.INFO: TCP Data received {"connection_id":172003,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0805b8012d19d34007239388002f013026..."} 
[2026-09-04 11:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0805b8012d19d34007239388002f013026..."} 
[2026-09-04 11:40:27] local.INFO: Processing buffer {"connection_id":172003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0805b8012d19d34007239388002f013026..."} 
[2026-09-04 11:40:27] local.INFO: Packet analysis {"connection_id":172003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b08"} 
[2026-09-04 11:40:27] local.INFO: Extracted packet for processing {"connection_id":172003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b08"} 
[2026-09-04 11:40:27] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119772040,"longitude_deg":75.66672,"latitude_deg":11.977204,"altitude":47,"angle":304,"satellites":38,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239388","is_valid_coordinates":true} 
[2026-09-04 11:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856527872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162294177824768,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439966720,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788502083000,"timestamp_ms":1788502083000,"timestamp_seconds":1788502083,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0805b8"} 
[2026-09-04 11:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-04 11:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856527872001,"66":12298,"112":206,"28":31744,"24":0,"16":17162294177824768,"45":1860901470439966720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856527872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:40:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:40:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162294177824768,"km_value":17162294177824.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439966720,"description":"Unknown IO ID 45"} 
[2026-09-04 11:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856527872001,"power":12298,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439966720}} 
[2026-09-04 11:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":172003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:40:27] local.INFO: GPS data processed {"connection_id":172003,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:40:27] local.INFO: Acknowledgment sent {"connection_id":172003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:40:39] local.INFO: TCP Data received {"connection_id":170899,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:40:39] local.INFO: Processing buffer {"connection_id":170899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:40:39] local.INFO: Packet analysis {"connection_id":170899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:40:39] local.INFO: Extracted packet for processing {"connection_id":170899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:40:39] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856431872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788501988000,"timestamp_ms":1788501988000,"timestamp_seconds":1788501988,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0692a0"} 
[2026-09-04 11:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 11:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856431872001,"66":26158,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856431872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:40:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:40:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:40:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856431872001,"power":26158,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":170899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:40:39] local.INFO: GPS data processed {"connection_id":170899,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:40:39] local.INFO: Acknowledgment sent {"connection_id":170899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:40:40] local.INFO: TCP Data received {"connection_id":170898,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b09a7b0012d33a34006a8b8b8001600e01d..."} 
[2026-09-04 11:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b09a7b0012d33a34006a8b8b8001600e01d..."} 
[2026-09-04 11:40:40] local.INFO: Processing buffer {"connection_id":170898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b09a7b0012d33a34006a8b8b8001600e01d..."} 
[2026-09-04 11:40:40] local.INFO: Packet analysis {"connection_id":170898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b09"} 
[2026-09-04 11:40:40] local.INFO: Extracted packet for processing {"connection_id":170898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b09"} 
[2026-09-04 11:40:40] local.INFO: GPS Element Parsed {"raw_longitude":758358848,"raw_latitude":111720632,"longitude_deg":75.8358848,"latitude_deg":11.1720632,"altitude":22,"angle":224,"satellites":29,"speed":0,"hex_longitude":"2d33a340","hex_latitude":"06a8b8b8","is_valid_coordinates":true} 
[2026-09-04 11:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,55,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 11:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788502190000,"timestamp_ms":1788502190000,"timestamp_seconds":1788502190,"priority":1,"record_length":96,"hex_timestamp":"000001a06b09a7b0"} 
[2026-09-04 11:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 11:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":24984,"55":206,"27":54528,"24":0,"16":461116278833152},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16]} 
[2026-09-04 11:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-04 11:40:40] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-04 11:40:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-04 11:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:40:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":24984,"unknown_55":206,"unknown_27":54528,"ignition":0,"odometer":null}} 
[2026-09-04 11:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":170898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:40:40] local.INFO: GPS data processed {"connection_id":170898,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:40:40] local.INFO: Acknowledgment sent {"connection_id":170898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:40:48] local.INFO: TCP Data received {"connection_id":173300,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:40:48] local.INFO: Processing buffer {"connection_id":173300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:40:48] local.INFO: IMEI packet received {"connection_id":173300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":173300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:40:48] local.INFO: TCP Data received {"connection_id":173300,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:40:48] local.INFO: Processing buffer {"connection_id":173300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:40:48] local.INFO: IMEI packet received {"connection_id":173300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":173300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:40:54] local.INFO: TCP Data received {"connection_id":173300,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:40:54] local.INFO: Processing buffer {"connection_id":173300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:40:54] local.INFO: IMEI packet received {"connection_id":173300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":173300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:40:55] local.INFO: TCP Data received {"connection_id":173300,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0857c0012d19d34007239388002f013025..."} 
[2026-09-04 11:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0857c0012d19d34007239388002f013025..."} 
[2026-09-04 11:40:55] local.INFO: Processing buffer {"connection_id":173300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0857c0012d19d34007239388002f013025..."} 
[2026-09-04 11:40:55] local.INFO: Packet analysis {"connection_id":173300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b08"} 
[2026-09-04 11:40:55] local.INFO: Extracted packet for processing {"connection_id":173300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b08"} 
[2026-09-04 11:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119772040,"longitude_deg":75.66672,"latitude_deg":11.977204,"altitude":47,"angle":304,"satellites":37,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239388","is_valid_coordinates":true} 
[2026-09-04 11:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856533248001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162294177824768,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439966720,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788502104000,"timestamp_ms":1788502104000,"timestamp_seconds":1788502104,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0857c0"} 
[2026-09-04 11:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452348,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7711858009008052694,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":34387226158694400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832574,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3470587347193561294,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514414864474374266,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2442657837,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2147951505,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4177068032,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.WARNING: Large IO value detected {"io_id":248,"raw_value":-504403158265495551,"note":"Value kept but may cause issues"} 
[2026-09-04 11:40:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,112,28,24,241,158,16,249,160,179,45,64,147,47,36,10,66,97,37,15,128,1,240,53,107,35,4,113,205,170,214,152,44,239,48,2,60,7,248],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-04 11:40:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3387041334526214144,"timestamp_seconds":3387041334526214.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856533248001,"66":12319,"112":206,"28":31744,"24":0,"16":17162294177824768,"45":1860901470439966720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856533248001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:40:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:40:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162294177824768,"km_value":17162294177824.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439966720,"description":"Unknown IO ID 45"} 
[2026-09-04 11:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856533248001,"power":12319,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439966720}} 
[2026-09-04 11:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":173300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:40:55] local.INFO: GPS data processed {"connection_id":173300,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:40:55] local.INFO: Acknowledgment sent {"connection_id":173300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:40:59] local.INFO: TCP Data received {"connection_id":172004,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:40:59] local.INFO: Processing buffer {"connection_id":172004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:40:59] local.INFO: IMEI packet received {"connection_id":172004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":172004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:41:05] local.INFO: TCP Data received {"connection_id":172004,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:41:05] local.INFO: Processing buffer {"connection_id":172004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:41:05] local.INFO: IMEI packet received {"connection_id":172004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":172004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:41:05] local.INFO: TCP Data received {"connection_id":172004,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:41:05] local.INFO: Processing buffer {"connection_id":172004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:41:05] local.INFO: Packet analysis {"connection_id":172004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:41:05] local.INFO: Extracted packet for processing {"connection_id":172004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:41:05] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856431872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788501988000,"timestamp_ms":1788501988000,"timestamp_seconds":1788501988,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0692a0"} 
[2026-09-04 11:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 11:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856431872001,"66":26158,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856431872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:41:05] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856431872001,"power":26158,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":172004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:41:06] local.INFO: GPS data processed {"connection_id":172004,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:41:06] local.INFO: Acknowledgment sent {"connection_id":172004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:41:25] local.INFO: TCP Data received {"connection_id":170898,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b09f5d0012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b09f5d0012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:41:25] local.INFO: Processing buffer {"connection_id":170898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b09f5d0012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:41:25] local.INFO: Packet analysis {"connection_id":170898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b09"} 
[2026-09-04 11:41:25] local.INFO: Extracted packet for processing {"connection_id":170898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b09"} 
[2026-09-04 11:41:25] local.INFO: GPS Element Parsed {"raw_longitude":758358336,"raw_latitude":111720688,"longitude_deg":75.8358336,"latitude_deg":11.1720688,"altitude":22,"angle":224,"satellites":29,"speed":0,"hex_longitude":"2d33a140","hex_latitude":"06a8b8f0","is_valid_coordinates":true} 
[2026-09-04 11:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856560640001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3720888114482821120,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788502210000,"timestamp_ms":1788502210000,"timestamp_seconds":1788502210,"priority":1,"record_length":96,"hex_timestamp":"000001a06b09f5d0"} 
[2026-09-04 11:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 11:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856560640001,"66":27767,"55":206,"27":54528,"24":0,"16":461116278833152,"45":3720888114482821120},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,45]} 
[2026-09-04 11:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856560640001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:41:25] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-04 11:41:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-04 11:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3720888114482821120,"description":"Unknown IO ID 45"} 
[2026-09-04 11:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856560640001,"power":27767,"unknown_55":206,"unknown_27":54528,"ignition":0,"odometer":null,"unknown_45":3720888114482821120}} 
[2026-09-04 11:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":170898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761942,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:41:25] local.INFO: GPS data processed {"connection_id":170898,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:41:25] local.INFO: Acknowledgment sent {"connection_id":170898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:41:27] local.INFO: TCP Data received {"connection_id":173300,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b08a9c8012d19d34007239388002f01302a..."} 
[2026-09-04 11:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b08a9c8012d19d34007239388002f01302a..."} 
[2026-09-04 11:41:27] local.INFO: Processing buffer {"connection_id":173300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b08a9c8012d19d34007239388002f01302a..."} 
[2026-09-04 11:41:27] local.INFO: Packet analysis {"connection_id":173300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b08"} 
[2026-09-04 11:41:27] local.INFO: Extracted packet for processing {"connection_id":173300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b08"} 
[2026-09-04 11:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119772040,"longitude_deg":75.66672,"latitude_deg":11.977204,"altitude":47,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239388","is_valid_coordinates":true} 
[2026-09-04 11:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856538624001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162294177824768,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439966720,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788502125000,"timestamp_ms":1788502125000,"timestamp_seconds":1788502125,"priority":1,"record_length":96,"hex_timestamp":"000001a06b08a9c8"} 
[2026-09-04 11:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 11:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856538624001,"66":12298,"112":206,"28":31744,"24":0,"16":17162294177824768,"45":1860901470439966720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856538624001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:41:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:41:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162294177824768,"km_value":17162294177824.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439966720,"description":"Unknown IO ID 45"} 
[2026-09-04 11:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856538624001,"power":12298,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439966720}} 
[2026-09-04 11:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":173300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:41:27] local.INFO: GPS data processed {"connection_id":173300,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:41:27] local.INFO: Acknowledgment sent {"connection_id":173300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:41:38] local.INFO: TCP Data received {"connection_id":172004,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:41:38] local.INFO: Processing buffer {"connection_id":172004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0692a0012cd4af4007377b00000f00e92d..."} 
[2026-09-04 11:41:38] local.INFO: Packet analysis {"connection_id":172004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:41:38] local.INFO: Extracted packet for processing {"connection_id":172004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b06"} 
[2026-09-04 11:41:38] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856431872001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788501988000,"timestamp_ms":1788501988000,"timestamp_seconds":1788501988,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0692a0"} 
[2026-09-04 11:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 11:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856431872001,"66":26158,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856431872001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:41:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:41:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856431872001,"power":26158,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":172004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:41:38] local.INFO: GPS data processed {"connection_id":172004,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:41:38] local.INFO: Acknowledgment sent {"connection_id":172004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:41:48] local.INFO: TCP Data received {"connection_id":172005,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:41:48] local.INFO: Processing buffer {"connection_id":172005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:41:48] local.INFO: IMEI packet received {"connection_id":172005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":172005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:41:50] local.INFO: TCP Data received {"connection_id":172005,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:41:50] local.INFO: Processing buffer {"connection_id":172005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:41:50] local.INFO: IMEI packet received {"connection_id":172005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":172005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:41:54] local.INFO: TCP Data received {"connection_id":172005,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:41:54] local.INFO: Processing buffer {"connection_id":172005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:41:54] local.INFO: IMEI packet received {"connection_id":172005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":172005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:41:55] local.INFO: TCP Data received {"connection_id":172005,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b08fbd0012d19d34007239388002f01302a..."} 
[2026-09-04 11:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b08fbd0012d19d34007239388002f01302a..."} 
[2026-09-04 11:41:55] local.INFO: Processing buffer {"connection_id":172005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b08fbd0012d19d34007239388002f01302a..."} 
[2026-09-04 11:41:55] local.INFO: Packet analysis {"connection_id":172005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b08"} 
[2026-09-04 11:41:55] local.INFO: Extracted packet for processing {"connection_id":172005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b08"} 
[2026-09-04 11:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119772040,"longitude_deg":75.66672,"latitude_deg":11.977204,"altitude":47,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239388","is_valid_coordinates":true} 
[2026-09-04 11:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856544000001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162294177824768,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439966720,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788502146000,"timestamp_ms":1788502146000,"timestamp_seconds":1788502146,"priority":1,"record_length":96,"hex_timestamp":"000001a06b08fbd0"} 
[2026-09-04 11:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452348,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7712038397634484694,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":34383927623811072,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832574,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972246168830158,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2475163695,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2147951507,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4177723392,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":248,"raw_value":-504403158265495551,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514414864474374266,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,112,28,24,241,158,16,249,160,87,45,64,147,47,37,10,66,5,38,179,1,240,81,107,35,4,113,205,15,211,42,239,48,2,60,7,248,128,44],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-04 11:41:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3387041351706083328,"timestamp_seconds":3387041351706083.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856544000001,"66":12341,"112":206,"28":31744,"24":0,"16":17162294177824768,"45":1860901470439966720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856544000001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:41:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162294177824768,"km_value":17162294177824.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439966720,"description":"Unknown IO ID 45"} 
[2026-09-04 11:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856544000001,"power":12341,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439966720}} 
[2026-09-04 11:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":172005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:41:56] local.INFO: GPS data processed {"connection_id":172005,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:41:56] local.INFO: Acknowledgment sent {"connection_id":172005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:41:57] local.INFO: TCP Data received {"connection_id":170898,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0a4008012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0a4008012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:41:57] local.INFO: Processing buffer {"connection_id":170898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0a4008012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:41:57] local.INFO: Packet analysis {"connection_id":170898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0a"} 
[2026-09-04 11:41:57] local.INFO: Extracted packet for processing {"connection_id":170898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0a"} 
[2026-09-04 11:41:57] local.INFO: GPS Element Parsed {"raw_longitude":758358336,"raw_latitude":111720688,"longitude_deg":75.8358336,"latitude_deg":11.1720688,"altitude":22,"angle":224,"satellites":29,"speed":0,"hex_longitude":"2d33a140","hex_latitude":"06a8b8f0","is_valid_coordinates":true} 
[2026-09-04 11:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856565760001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3720325164529414144,"note":"Value kept but may cause issues"} 
[2026-09-04 11:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788502229000,"timestamp_ms":1788502229000,"timestamp_seconds":1788502229,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0a4008"} 
[2026-09-04 11:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 11:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":170898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856565760001,"66":27593,"55":206,"27":54528,"24":0,"16":461116278833152,"45":3720325164529414144},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,45]} 
[2026-09-04 11:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856565760001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:41:57] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-04 11:41:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-04 11:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3720325164529414144,"description":"Unknown IO ID 45"} 
[2026-09-04 11:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856565760001,"power":27593,"unknown_55":206,"unknown_27":54528,"ignition":0,"odometer":null,"unknown_45":3720325164529414144}} 
[2026-09-04 11:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":170898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761946,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:41:57] local.INFO: GPS data processed {"connection_id":170898,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:41:57] local.INFO: Acknowledgment sent {"connection_id":170898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:42:05] local.INFO: TCP Data received {"connection_id":170596,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:42:05] local.INFO: Processing buffer {"connection_id":170596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:42:05] local.INFO: IMEI packet received {"connection_id":170596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":170596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:42:08] local.INFO: TCP Data received {"connection_id":170596,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:42:08] local.INFO: Processing buffer {"connection_id":170596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:42:08] local.INFO: IMEI packet received {"connection_id":170596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":170596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:42:09] local.INFO: TCP Data received {"connection_id":170596,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:42:09] local.INFO: Processing buffer {"connection_id":170596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:42:09] local.INFO: Packet analysis {"connection_id":170596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:42:09] local.INFO: Extracted packet for processing {"connection_id":170596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:42:09] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856508928001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788502289000,"timestamp_ms":1788502289000,"timestamp_seconds":1788502289,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0b2a68"} 
[2026-09-04 11:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 11:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856508928001,"66":26039,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856508928001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:42:09] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:42:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856508928001,"power":26039,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":170596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:42:09] local.INFO: GPS data processed {"connection_id":170596,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:42:09] local.INFO: Acknowledgment sent {"connection_id":170596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:42:10] local.INFO: TCP Data received {"connection_id":170596,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:42:10] local.INFO: Processing buffer {"connection_id":170596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:42:10] local.INFO: Packet analysis {"connection_id":170596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:42:10] local.INFO: Extracted packet for processing {"connection_id":170596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:42:10] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856508928001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788502289000,"timestamp_ms":1788502289000,"timestamp_seconds":1788502289,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0b2a68"} 
[2026-09-04 11:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 11:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856508928001,"66":26039,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856508928001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:42:10] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:42:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856508928001,"power":26039,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":170596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:42:10] local.INFO: GPS data processed {"connection_id":170596,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:42:10] local.INFO: Acknowledgment sent {"connection_id":170596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:42:27] local.INFO: TCP Data received {"connection_id":172005,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b094dd8012d19d34007239388002f013028..."} 
[2026-09-04 11:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b094dd8012d19d34007239388002f013028..."} 
[2026-09-04 11:42:27] local.INFO: Processing buffer {"connection_id":172005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b094dd8012d19d34007239388002f013028..."} 
[2026-09-04 11:42:27] local.INFO: Packet analysis {"connection_id":172005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b09"} 
[2026-09-04 11:42:27] local.INFO: Extracted packet for processing {"connection_id":172005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b09"} 
[2026-09-04 11:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119772040,"longitude_deg":75.66672,"latitude_deg":11.977204,"altitude":47,"angle":304,"satellites":40,"speed":0,"hex_longitude":"2d19d340","hex_latitude":"07239388","is_valid_coordinates":true} 
[2026-09-04 11:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856549376001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162294177824768,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470439966720,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788502167000,"timestamp_ms":1788502167000,"timestamp_seconds":1788502167,"priority":1,"record_length":96,"hex_timestamp":"000001a06b094dd8"} 
[2026-09-04 11:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 11:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856549376001,"66":12298,"112":206,"28":31744,"24":0,"16":17162294177824768,"45":1860901470439966720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856549376001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:42:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:42:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162294177824768,"km_value":17162294177824.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470439966720,"description":"Unknown IO ID 45"} 
[2026-09-04 11:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856549376001,"power":12298,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860901470439966720}} 
[2026-09-04 11:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":172005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:42:27] local.INFO: GPS data processed {"connection_id":172005,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:42:27] local.INFO: Acknowledgment sent {"connection_id":172005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:42:28] local.INFO: TCP Data received {"connection_id":170898,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0a8658012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0a8658012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:42:28] local.INFO: Processing buffer {"connection_id":170898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0a8658012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:42:28] local.INFO: Packet analysis {"connection_id":170898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0a"} 
[2026-09-04 11:42:28] local.INFO: Extracted packet for processing {"connection_id":170898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0a"} 
[2026-09-04 11:42:28] local.INFO: GPS Element Parsed {"raw_longitude":758358336,"raw_latitude":111720688,"longitude_deg":75.8358336,"latitude_deg":11.1720688,"altitude":22,"angle":224,"satellites":29,"speed":0,"hex_longitude":"2d33a140","hex_latitude":"06a8b8f0","is_valid_coordinates":true} 
[2026-09-04 11:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856570624001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3720325164529414144,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788502247000,"timestamp_ms":1788502247000,"timestamp_seconds":1788502247,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0a8658"} 
[2026-09-04 11:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-04 11:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856570624001,"66":27571,"55":206,"27":54528,"24":0,"16":461116278833152,"45":3720325164529414144},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,45]} 
[2026-09-04 11:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856570624001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:42:28] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-04 11:42:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-04 11:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3720325164529414144,"description":"Unknown IO ID 45"} 
[2026-09-04 11:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856570624001,"power":27571,"unknown_55":206,"unknown_27":54528,"ignition":0,"odometer":null,"unknown_45":3720325164529414144}} 
[2026-09-04 11:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":170898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761950,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:42:28] local.INFO: GPS data processed {"connection_id":170898,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:42:28] local.INFO: Acknowledgment sent {"connection_id":170898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:42:42] local.INFO: TCP Data received {"connection_id":170596,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:42:42] local.INFO: Processing buffer {"connection_id":170596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:42:42] local.INFO: Packet analysis {"connection_id":170596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:42:42] local.INFO: Extracted packet for processing {"connection_id":170596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:42:42] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856508928001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788502289000,"timestamp_ms":1788502289000,"timestamp_seconds":1788502289,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0b2a68"} 
[2026-09-04 11:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 11:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856508928001,"66":26039,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856508928001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:42:42] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856508928001,"power":26039,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":170596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:42:42] local.INFO: GPS data processed {"connection_id":170596,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:42:42] local.INFO: Acknowledgment sent {"connection_id":170596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:42:48] local.INFO: TCP Data received {"connection_id":170598,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:42:48] local.INFO: Processing buffer {"connection_id":170598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:42:48] local.INFO: IMEI packet received {"connection_id":170598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":170598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:42:49] local.INFO: TCP Data received {"connection_id":170598,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:42:49] local.INFO: Processing buffer {"connection_id":170598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:42:49] local.INFO: IMEI packet received {"connection_id":170598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":170598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:42:49] local.INFO: TCP Data received {"connection_id":170597,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:42:49] local.INFO: Processing buffer {"connection_id":170597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:42:49] local.INFO: IMEI packet received {"connection_id":170597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":170597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:42:50] local.INFO: TCP Data received {"connection_id":170598,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:42:50] local.INFO: Processing buffer {"connection_id":170598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:42:50] local.INFO: IMEI packet received {"connection_id":170598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":170598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:42:50] local.INFO: TCP Data received {"connection_id":170598,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:42:50] local.INFO: Processing buffer {"connection_id":170598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:42:50] local.INFO: IMEI packet received {"connection_id":170598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":170598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:42:54] local.INFO: TCP Data received {"connection_id":170597,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:42:54] local.INFO: Processing buffer {"connection_id":170597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:42:54] local.INFO: IMEI packet received {"connection_id":170597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":170597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:42:57] local.INFO: TCP Data received {"connection_id":170597,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0acca8012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0acca8012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:42:57] local.INFO: Processing buffer {"connection_id":170597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0acca8012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:42:57] local.INFO: Packet analysis {"connection_id":170597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0a"} 
[2026-09-04 11:42:57] local.INFO: Extracted packet for processing {"connection_id":170597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0a"} 
[2026-09-04 11:42:57] local.INFO: GPS Element Parsed {"raw_longitude":758358336,"raw_latitude":111720688,"longitude_deg":75.8358336,"latitude_deg":11.1720688,"altitude":22,"angle":224,"satellites":29,"speed":0,"hex_longitude":"2d33a140","hex_latitude":"06a8b8f0","is_valid_coordinates":true} 
[2026-09-04 11:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856575232001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3720325164529414144,"note":"Value kept but may cause issues"} 
[2026-09-04 11:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788502265000,"timestamp_ms":1788502265000,"timestamp_seconds":1788502265,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0acca8"} 
[2026-09-04 11:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 11:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":170597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":170597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":170597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856575232001,"66":26528,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3720325164529414144},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856575232001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:42:57] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:42:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3720325164529414144,"description":"Unknown IO ID 45"} 
[2026-09-04 11:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856575232001,"power":26528,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3720325164529414144}} 
[2026-09-04 11:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":170597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761952,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:42:57] local.INFO: GPS data processed {"connection_id":170597,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:42:57] local.INFO: Acknowledgment sent {"connection_id":170597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:43:00] local.INFO: TCP Data received {"connection_id":170599,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:43:00] local.INFO: Processing buffer {"connection_id":170599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:43:00] local.INFO: IMEI packet received {"connection_id":170599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":170599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:43:05] local.INFO: TCP Data received {"connection_id":170599,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:43:05] local.INFO: Processing buffer {"connection_id":170599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:43:05] local.INFO: IMEI packet received {"connection_id":170599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":170599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:43:07] local.INFO: TCP Data received {"connection_id":170599,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:43:07] local.INFO: Processing buffer {"connection_id":170599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:43:07] local.INFO: Packet analysis {"connection_id":170599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:43:07] local.INFO: Extracted packet for processing {"connection_id":170599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:43:07] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856508928001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:43:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788502289000,"timestamp_ms":1788502289000,"timestamp_seconds":1788502289,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0b2a68"} 
[2026-09-04 11:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 11:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856508928001,"66":26039,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856508928001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:43:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:43:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856508928001,"power":26039,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":170599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:43:07] local.INFO: GPS data processed {"connection_id":170599,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:43:07] local.INFO: Acknowledgment sent {"connection_id":170599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:43:30] local.INFO: TCP Data received {"connection_id":170597,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0b12f8012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0b12f8012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:43:30] local.INFO: Processing buffer {"connection_id":170597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0b12f8012d33a14006a8b8f0001600e01d..."} 
[2026-09-04 11:43:30] local.INFO: Packet analysis {"connection_id":170597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:43:30] local.INFO: Extracted packet for processing {"connection_id":170597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:43:30] local.INFO: GPS Element Parsed {"raw_longitude":758358336,"raw_latitude":111720688,"longitude_deg":75.8358336,"latitude_deg":11.1720688,"altitude":22,"angle":224,"satellites":29,"speed":0,"hex_longitude":"2d33a140","hex_latitude":"06a8b8f0","is_valid_coordinates":true} 
[2026-09-04 11:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856579840001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":461116278833152,"note":"Value kept but may cause issues"} 
[2026-09-04 11:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3720325164529414144,"note":"Value kept but may cause issues"} 
[2026-09-04 11:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788502283000,"timestamp_ms":1788502283000,"timestamp_seconds":1788502283,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0b12f8"} 
[2026-09-04 11:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-04 11:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856579840001,"66":27876,"136":206,"28":21760,"24":0,"16":461116278833152,"45":3720325164529414144},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-09-04 11:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856579840001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:43:30] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 11:43:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":461116278833152,"km_value":461116278833.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3720325164529414144,"description":"Unknown IO ID 45"} 
[2026-09-04 11:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856579840001,"power":27876,"unknown_136":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3720325164529414144}} 
[2026-09-04 11:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":170597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761954,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:43:30] local.INFO: GPS data processed {"connection_id":170597,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:43:30] local.INFO: Acknowledgment sent {"connection_id":170597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:43:39] local.INFO: TCP Data received {"connection_id":170599,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:43:39] local.INFO: Processing buffer {"connection_id":170599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:43:39] local.INFO: Packet analysis {"connection_id":170599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:43:39] local.INFO: Extracted packet for processing {"connection_id":170599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:43:39] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856508928001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:43:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788502289000,"timestamp_ms":1788502289000,"timestamp_seconds":1788502289,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0b2a68"} 
[2026-09-04 11:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 11:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856508928001,"66":26039,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856508928001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:43:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:43:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856508928001,"power":26039,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":170599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:43:39] local.INFO: GPS data processed {"connection_id":170599,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:43:39] local.INFO: Acknowledgment sent {"connection_id":170599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:43:59] local.INFO: TCP Data received {"connection_id":170900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:43:59] local.INFO: Processing buffer {"connection_id":170900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:43:59] local.INFO: IMEI packet received {"connection_id":170900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":170900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:44:03] local.INFO: TCP Data received {"connection_id":170597,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0c95b0012d33734006a92e80001601322b..."} 
[2026-09-04 11:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0c95b0012d33734006a92e80001601322b..."} 
[2026-09-04 11:44:03] local.INFO: Processing buffer {"connection_id":170597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0c95b0012d33734006a92e80001601322b..."} 
[2026-09-04 11:44:03] local.INFO: Packet analysis {"connection_id":170597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0c"} 
[2026-09-04 11:44:03] local.INFO: Extracted packet for processing {"connection_id":170597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0c"} 
[2026-09-04 11:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758346560,"raw_latitude":111750784,"longitude_deg":75.834656,"latitude_deg":11.1750784,"altitude":22,"angle":306,"satellites":43,"speed":28,"hex_longitude":"2d337340","hex_latitude":"06a92e80","is_valid_coordinates":true} 
[2026-09-04 11:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856609024001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":462795611045888,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3709206902956662784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788502382000,"timestamp_ms":1788502382000,"timestamp_seconds":1788502382,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0c95b0"} 
[2026-09-04 11:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-04 11:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":170597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":170597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":170597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856609024001,"66":28006,"55":206,"27":54528,"24":28,"16":462795611045888,"45":3709206902956662784},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,45]} 
[2026-09-04 11:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856609024001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:44:03] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-04 11:44:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-04 11:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":462795611045888,"km_value":462795611045.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3709206902956662784,"description":"Unknown IO ID 45"} 
[2026-09-04 11:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856609024001,"power":28006,"unknown_55":206,"unknown_27":54528,"ignition":28,"odometer":null,"unknown_45":3709206902956662784}} 
[2026-09-04 11:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":170597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761956,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:44:03] local.INFO: GPS data processed {"connection_id":170597,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:44:03] local.INFO: Acknowledgment sent {"connection_id":170597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:44:04] local.INFO: TCP Data received {"connection_id":170900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:44:04] local.INFO: Processing buffer {"connection_id":170900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:44:04] local.INFO: IMEI packet received {"connection_id":170900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":170900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:44:06] local.INFO: TCP Data received {"connection_id":170900,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:44:06] local.INFO: Processing buffer {"connection_id":170900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:44:06] local.INFO: Packet analysis {"connection_id":170900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:44:06] local.INFO: Extracted packet for processing {"connection_id":170900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:44:06] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856508928001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788502289000,"timestamp_ms":1788502289000,"timestamp_seconds":1788502289,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0b2a68"} 
[2026-09-04 11:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 11:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856508928001,"66":26039,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856508928001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:44:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:44:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856508928001,"power":26039,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":170900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:44:06] local.INFO: GPS data processed {"connection_id":170900,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:44:06] local.INFO: Acknowledgment sent {"connection_id":170900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:44:10] local.INFO: TCP Data received {"connection_id":170900,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:44:10] local.INFO: Processing buffer {"connection_id":170900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:44:10] local.INFO: Packet analysis {"connection_id":170900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:44:10] local.INFO: Extracted packet for processing {"connection_id":170900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:44:10] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856508928001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788502289000,"timestamp_ms":1788502289000,"timestamp_seconds":1788502289,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0b2a68"} 
[2026-09-04 11:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 11:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856508928001,"66":26039,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856508928001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:44:10] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:44:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856508928001,"power":26039,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":170900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:44:10] local.INFO: GPS data processed {"connection_id":170900,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:44:10] local.INFO: Acknowledgment sent {"connection_id":170900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:44:35] local.INFO: TCP Data received {"connection_id":170597,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0cad20012d3364c006a936f8001801262c..."} 
[2026-09-04 11:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0cad20012d3364c006a936f8001801262c..."} 
[2026-09-04 11:44:35] local.INFO: Processing buffer {"connection_id":170597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0cad20012d3364c006a936f8001801262c..."} 
[2026-09-04 11:44:35] local.INFO: Packet analysis {"connection_id":170597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0c"} 
[2026-09-04 11:44:35] local.INFO: Extracted packet for processing {"connection_id":170597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0c"} 
[2026-09-04 11:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758342848,"raw_latitude":111752952,"longitude_deg":75.8342848,"latitude_deg":11.1752952,"altitude":24,"angle":294,"satellites":44,"speed":27,"hex_longitude":"2d3364c0","hex_latitude":"06a936f8","is_valid_coordinates":true} 
[2026-09-04 11:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856609792001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":463001769476096,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3707377315608428544,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788502388000,"timestamp_ms":1788502388000,"timestamp_seconds":1788502388,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0cad20"} 
[2026-09-04 11:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 11:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856609792001,"66":27908,"54":206,"27":54528,"24":27,"16":463001769476096,"45":3707377315608428544},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,27,24,16,45]} 
[2026-09-04 11:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856609792001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:44:35] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-04 11:44:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-04 11:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":463001769476096,"km_value":463001769476.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3707377315608428544,"description":"Unknown IO ID 45"} 
[2026-09-04 11:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856609792001,"power":27908,"unknown_54":206,"unknown_27":54528,"ignition":27,"odometer":null,"unknown_45":3707377315608428544}} 
[2026-09-04 11:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":170597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:44:35] local.INFO: GPS data processed {"connection_id":170597,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:44:35] local.INFO: Acknowledgment sent {"connection_id":170597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:44:43] local.INFO: TCP Data received {"connection_id":170900,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:44:43] local.INFO: Processing buffer {"connection_id":170900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:44:43] local.INFO: Packet analysis {"connection_id":170900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:44:43] local.INFO: Extracted packet for processing {"connection_id":170900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:44:43] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856508928001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788502289000,"timestamp_ms":1788502289000,"timestamp_seconds":1788502289,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0b2a68"} 
[2026-09-04 11:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 11:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":170900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":170900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":170900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856508928001,"66":26039,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856508928001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:44:43] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:44:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:44:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856508928001,"power":26039,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":170900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:44:43] local.INFO: GPS data processed {"connection_id":170900,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:44:43] local.INFO: Acknowledgment sent {"connection_id":170900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:44:59] local.INFO: TCP Data received {"connection_id":172007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:44:59] local.INFO: Processing buffer {"connection_id":172007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:44:59] local.INFO: IMEI packet received {"connection_id":172007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":172007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:45:04] local.INFO: TCP Data received {"connection_id":172007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:45:04] local.INFO: Processing buffer {"connection_id":172007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:45:04] local.INFO: IMEI packet received {"connection_id":172007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":172007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:45:07] local.INFO: TCP Data received {"connection_id":170597,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0dca48012d33064006a97a58001700182d..."} 
[2026-09-04 11:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0dca48012d33064006a97a58001700182d..."} 
[2026-09-04 11:45:07] local.INFO: Processing buffer {"connection_id":170597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0dca48012d33064006a97a58001700182d..."} 
[2026-09-04 11:45:07] local.INFO: Packet analysis {"connection_id":170597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0d"} 
[2026-09-04 11:45:07] local.INFO: Extracted packet for processing {"connection_id":170597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0d"} 
[2026-09-04 11:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758318656,"raw_latitude":111770200,"longitude_deg":75.8318656,"latitude_deg":11.17702,"altitude":23,"angle":24,"satellites":45,"speed":3,"hex_longitude":"2d330640","hex_latitude":"06a97a58","is_valid_coordinates":true} 
[2026-09-04 11:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856626688001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":464616677179392,"note":"Value kept but may cause issues"} 
[2026-09-04 11:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3677189124360603648,"note":"Value kept but may cause issues"} 
[2026-09-04 11:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788502461000,"timestamp_ms":1788502461000,"timestamp_seconds":1788502461,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0dca48"} 
[2026-09-04 11:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 11:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856626688001,"66":27876,"54":206,"27":54528,"24":3,"16":464616677179392,"45":3677189124360603648},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,27,24,16,45]} 
[2026-09-04 11:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856626688001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:45:07] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-04 11:45:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-04 11:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":464616677179392,"km_value":464616677179.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3677189124360603648,"description":"Unknown IO ID 45"} 
[2026-09-04 11:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856626688001,"power":27876,"unknown_54":206,"unknown_27":54528,"ignition":3,"odometer":null,"unknown_45":3677189124360603648}} 
[2026-09-04 11:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":170597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761961,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:45:07] local.INFO: GPS data processed {"connection_id":170597,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:45:07] local.INFO: Acknowledgment sent {"connection_id":170597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:45:07] local.INFO: TCP Data received {"connection_id":172007,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:45:07] local.INFO: Processing buffer {"connection_id":172007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:45:07] local.INFO: Packet analysis {"connection_id":172007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:45:07] local.INFO: Extracted packet for processing {"connection_id":172007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:45:07] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856508928001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:45:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788502289000,"timestamp_ms":1788502289000,"timestamp_seconds":1788502289,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0b2a68"} 
[2026-09-04 11:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 11:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856508928001,"66":26039,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856508928001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:45:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:45:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856508928001,"power":26039,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":172007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:45:07] local.INFO: GPS data processed {"connection_id":172007,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:45:07] local.INFO: Acknowledgment sent {"connection_id":172007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:45:42] local.INFO: TCP Data received {"connection_id":172007,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:45:42] local.INFO: Processing buffer {"connection_id":172007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:45:42] local.INFO: Packet analysis {"connection_id":172007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:45:42] local.INFO: Extracted packet for processing {"connection_id":172007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:45:42] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856508928001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788502289000,"timestamp_ms":1788502289000,"timestamp_seconds":1788502289,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0b2a68"} 
[2026-09-04 11:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 11:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":172007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":172007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":172007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856508928001,"66":26039,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856508928001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:45:42] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856508928001,"power":26039,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":172007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:45:42] local.INFO: GPS data processed {"connection_id":172007,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:45:42] local.INFO: Acknowledgment sent {"connection_id":172007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:45:49] local.INFO: TCP Data received {"connection_id":173303,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:45:49] local.INFO: Processing buffer {"connection_id":173303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:45:49] local.INFO: IMEI packet received {"connection_id":173303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":173303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:45:54] local.INFO: TCP Data received {"connection_id":173303,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:45:54] local.INFO: Processing buffer {"connection_id":173303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:45:54] local.INFO: IMEI packet received {"connection_id":173303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":173303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:45:55] local.INFO: TCP Data received {"connection_id":173303,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0dce30012d33068006a97ab8001600292d..."} 
[2026-09-04 11:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0dce30012d33068006a97ab8001600292d..."} 
[2026-09-04 11:45:55] local.INFO: Processing buffer {"connection_id":173303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0dce30012d33068006a97ab8001600292d..."} 
[2026-09-04 11:45:55] local.INFO: Packet analysis {"connection_id":173303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0d"} 
[2026-09-04 11:45:55] local.INFO: Extracted packet for processing {"connection_id":173303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0d"} 
[2026-09-04 11:45:55] local.INFO: GPS Element Parsed {"raw_longitude":758318720,"raw_latitude":111770296,"longitude_deg":75.831872,"latitude_deg":11.1770296,"altitude":22,"angle":41,"satellites":45,"speed":4,"hex_longitude":"2d330680","hex_latitude":"06a97ab8","is_valid_coordinates":true} 
[2026-09-04 11:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856630016001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":464620972146688,"note":"Value kept but may cause issues"} 
[2026-09-04 11:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3676696543151937536,"note":"Value kept but may cause issues"} 
[2026-09-04 11:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788502462000,"timestamp_ms":1788502462000,"timestamp_seconds":1788502462,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0dce30"} 
[2026-09-04 11:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 11:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856630016001,"66":27995,"54":206,"27":54528,"24":4,"16":464620972146688,"45":3676696543151937536},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,27,24,16,45]} 
[2026-09-04 11:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856630016001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:45:55] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-04 11:45:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-04 11:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":464620972146688,"km_value":464620972146.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3676696543151937536,"description":"Unknown IO ID 45"} 
[2026-09-04 11:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856630016001,"power":27995,"unknown_54":206,"unknown_27":54528,"ignition":4,"odometer":null,"unknown_45":3676696543151937536}} 
[2026-09-04 11:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":173303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:45:55] local.INFO: GPS data processed {"connection_id":173303,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:45:55] local.INFO: Acknowledgment sent {"connection_id":173303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:45:59] local.INFO: TCP Data received {"connection_id":173304,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:45:59] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:45:59] local.INFO: IMEI packet received {"connection_id":173304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":173304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:46:05] local.INFO: TCP Data received {"connection_id":173304,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:46:05] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:46:05] local.INFO: IMEI packet received {"connection_id":173304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":173304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:46:08] local.INFO: TCP Data received {"connection_id":173304,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:46:08] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:46:08] local.INFO: Packet analysis {"connection_id":173304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:46:08] local.INFO: Extracted packet for processing {"connection_id":173304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:46:08] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856508928001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:46:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788502289000,"timestamp_ms":1788502289000,"timestamp_seconds":1788502289,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0b2a68"} 
[2026-09-04 11:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 11:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856508928001,"66":26039,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856508928001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:46:08] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:46:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856508928001,"power":26039,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":173304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:46:08] local.INFO: GPS data processed {"connection_id":173304,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:46:08] local.INFO: Acknowledgment sent {"connection_id":173304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:46:27] local.INFO: TCP Data received {"connection_id":173303,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0dd600012d33074006a97ba8001600362d..."} 
[2026-09-04 11:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0dd600012d33074006a97ba8001600362d..."} 
[2026-09-04 11:46:27] local.INFO: Processing buffer {"connection_id":173303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0dd600012d33074006a97ba8001600362d..."} 
[2026-09-04 11:46:27] local.INFO: Packet analysis {"connection_id":173303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0d"} 
[2026-09-04 11:46:27] local.INFO: Extracted packet for processing {"connection_id":173303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0d"} 
[2026-09-04 11:46:27] local.INFO: GPS Element Parsed {"raw_longitude":758318912,"raw_latitude":111770536,"longitude_deg":75.8318912,"latitude_deg":11.1770536,"altitude":22,"angle":54,"satellites":45,"speed":7,"hex_longitude":"2d330740","hex_latitude":"06a97ba8","is_valid_coordinates":true} 
[2026-09-04 11:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856630272001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":464638152015872,"note":"Value kept but may cause issues"} 
[2026-09-04 11:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3676766911896139776,"note":"Value kept but may cause issues"} 
[2026-09-04 11:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788502464000,"timestamp_ms":1788502464000,"timestamp_seconds":1788502464,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0dd600"} 
[2026-09-04 11:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 11:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856630272001,"66":27995,"54":206,"27":54528,"24":7,"16":464638152015872,"45":3676766911896139776},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,27,24,16,45]} 
[2026-09-04 11:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856630272001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:46:27] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-04 11:46:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-04 11:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":464638152015872,"km_value":464638152015.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3676766911896139776,"description":"Unknown IO ID 45"} 
[2026-09-04 11:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856630272001,"power":27995,"unknown_54":206,"unknown_27":54528,"ignition":7,"odometer":null,"unknown_45":3676766911896139776}} 
[2026-09-04 11:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":173303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761966,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:46:27] local.INFO: GPS data processed {"connection_id":173303,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:46:27] local.INFO: Acknowledgment sent {"connection_id":173303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:46:40] local.INFO: TCP Data received {"connection_id":173304,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:46:40] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0b2a68012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:46:40] local.INFO: Packet analysis {"connection_id":173304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:46:40] local.INFO: Extracted packet for processing {"connection_id":173304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0b"} 
[2026-09-04 11:46:40] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856508928001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:46:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788502289000,"timestamp_ms":1788502289000,"timestamp_seconds":1788502289,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0b2a68"} 
[2026-09-04 11:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 11:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856508928001,"66":26039,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856508928001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:46:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:46:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:46:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856508928001,"power":26039,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":173304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:46:40] local.INFO: GPS data processed {"connection_id":173304,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:46:40] local.INFO: Acknowledgment sent {"connection_id":173304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:46:54] local.INFO: TCP Data received {"connection_id":170601,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:46:54] local.INFO: Processing buffer {"connection_id":170601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:46:54] local.INFO: IMEI packet received {"connection_id":170601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":170601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:46:57] local.INFO: TCP Data received {"connection_id":170601,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:46:57] local.INFO: Processing buffer {"connection_id":170601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:46:57] local.INFO: IMEI packet received {"connection_id":170601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":170601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:46:59] local.INFO: TCP Data received {"connection_id":170601,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0eef40012d3365c006a9fc400012003d2a..."} 
[2026-09-04 11:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0eef40012d3365c006a9fc400012003d2a..."} 
[2026-09-04 11:46:59] local.INFO: Processing buffer {"connection_id":170601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0eef40012d3365c006a9fc400012003d2a..."} 
[2026-09-04 11:46:59] local.INFO: Packet analysis {"connection_id":170601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0e"} 
[2026-09-04 11:46:59] local.INFO: Extracted packet for processing {"connection_id":170601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0e"} 
[2026-09-04 11:46:59] local.INFO: GPS Element Parsed {"raw_longitude":758343104,"raw_latitude":111803456,"longitude_deg":75.8343104,"latitude_deg":11.1803456,"altitude":18,"angle":61,"satellites":42,"speed":17,"hex_longitude":"2d3365c0","hex_latitude":"06a9fc40","is_valid_coordinates":true} 
[2026-09-04 11:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856644608001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":466777045729280,"note":"Value kept but may cause issues"} 
[2026-09-04 11:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3694570204180506624,"note":"Value kept but may cause issues"} 
[2026-09-04 11:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788502536000,"timestamp_ms":1788502536000,"timestamp_seconds":1788502536,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0eef40"} 
[2026-09-04 11:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-04 11:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856644608001,"66":28028,"171":206,"28":21760,"24":17,"16":466777045729280,"45":3694570204180506624},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,28,24,16,45]} 
[2026-09-04 11:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856644608001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:46:59] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 11:46:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":466777045729280,"km_value":466777045729.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3694570204180506624,"description":"Unknown IO ID 45"} 
[2026-09-04 11:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856644608001,"power":28028,"unknown_171":206,"unknown_28":21760,"ignition":17,"odometer":null,"unknown_45":3694570204180506624}} 
[2026-09-04 11:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":170601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761968,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:46:59] local.INFO: GPS data processed {"connection_id":170601,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:46:59] local.INFO: Acknowledgment sent {"connection_id":170601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:47:01] local.INFO: TCP Data received {"connection_id":170601,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0f4148012d33800006aa0a78001100352c..."} 
[2026-09-04 11:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0f4148012d33800006aa0a78001100352c..."} 
[2026-09-04 11:47:01] local.INFO: Processing buffer {"connection_id":170601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0f4148012d33800006aa0a78001100352c..."} 
[2026-09-04 11:47:01] local.INFO: Packet analysis {"connection_id":170601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:47:01] local.INFO: Extracted packet for processing {"connection_id":170601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:47:01] local.INFO: GPS Element Parsed {"raw_longitude":758349824,"raw_latitude":111807096,"longitude_deg":75.8349824,"latitude_deg":11.1807096,"altitude":17,"angle":53,"satellites":44,"speed":0,"hex_longitude":"2d338000","hex_latitude":"06aa0a78","is_valid_coordinates":true} 
[2026-09-04 11:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856649216001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3703577403436318720,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788502557000,"timestamp_ms":1788502557000,"timestamp_seconds":1788502557,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0f4148"} 
[2026-09-04 11:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 11:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856649216001,"66":27995,"170":206,"28":21760,"24":0,"16":467142117949440,"45":3703577403436318720},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-09-04 11:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856649216001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:47:01] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-04 11:47:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3703577403436318720,"description":"Unknown IO ID 45"} 
[2026-09-04 11:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856649216001,"power":27995,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3703577403436318720}} 
[2026-09-04 11:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":170601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:47:01] local.INFO: GPS data processed {"connection_id":170601,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:47:01] local.INFO: Acknowledgment sent {"connection_id":170601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:47:05] local.INFO: TCP Data received {"connection_id":172008,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:47:05] local.INFO: Processing buffer {"connection_id":172008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:47:05] local.INFO: IMEI packet received {"connection_id":172008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":172008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:47:09] local.INFO: TCP Data received {"connection_id":172008,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:47:09] local.INFO: Processing buffer {"connection_id":172008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:47:09] local.INFO: IMEI packet received {"connection_id":172008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":172008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:47:12] local.INFO: TCP Data received {"connection_id":172008,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:47:12] local.INFO: Processing buffer {"connection_id":172008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:47:12] local.INFO: Packet analysis {"connection_id":172008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:47:12] local.INFO: Extracted packet for processing {"connection_id":172008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:47:12] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856585984001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788502590000,"timestamp_ms":1788502590000,"timestamp_seconds":1788502590,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fc230"} 
[2026-09-04 11:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 11:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856585984001,"66":26006,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856585984001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:47:12] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:47:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:47:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856585984001,"power":26006,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":172008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:47:12] local.INFO: GPS data processed {"connection_id":172008,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:47:12] local.INFO: Acknowledgment sent {"connection_id":172008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:47:14] local.INFO: TCP Data received {"connection_id":172008,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:47:14] local.INFO: Processing buffer {"connection_id":172008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:47:14] local.INFO: Packet analysis {"connection_id":172008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:47:14] local.INFO: Extracted packet for processing {"connection_id":172008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:47:14] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856585984001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788502590000,"timestamp_ms":1788502590000,"timestamp_seconds":1788502590,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fc230"} 
[2026-09-04 11:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 11:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856585984001,"66":26006,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856585984001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:47:14] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:47:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:47:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856585984001,"power":26006,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":172008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:47:14] local.INFO: GPS data processed {"connection_id":172008,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:47:14] local.INFO: Acknowledgment sent {"connection_id":172008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:47:32] local.INFO: TCP Data received {"connection_id":170601,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000000000008ba600100000000000000000000000000..."} 
[2026-09-04 11:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170601,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000008ba600100000000000000000000000000..."} 
[2026-09-04 11:47:32] local.INFO: Processing buffer {"connection_id":170601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000008ba600100000000000000000000000000..."} 
[2026-09-04 11:47:32] local.INFO: Packet analysis {"connection_id":170601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000008"} 
[2026-09-04 11:47:32] local.INFO: Extracted packet for processing {"connection_id":170601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000008"} 
[2026-09-04 11:47:32] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 11:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856654592001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3710966121575905280,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:47:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":572000,"timestamp_seconds":572,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:47:32] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 11:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170601,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170601,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-04 11:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170601,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-04 11:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 11:47:32] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 11:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":170601,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 11:47:32] local.ERROR: GPS data processing failed {"connection_id":170601,"error":"No valid data to process"} 
[2026-09-04 11:47:32] local.INFO: Acknowledgment sent {"connection_id":170601,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 11:47:49] local.INFO: TCP Data received {"connection_id":172009,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:47:49] local.INFO: Processing buffer {"connection_id":172009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:47:49] local.INFO: IMEI packet received {"connection_id":172009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":172009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:47:54] local.INFO: TCP Data received {"connection_id":172010,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:47:54] local.INFO: Processing buffer {"connection_id":172010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:47:54] local.INFO: IMEI packet received {"connection_id":172010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":172010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:47:54] local.INFO: TCP Data received {"connection_id":172009,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:47:54] local.INFO: Processing buffer {"connection_id":172009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:47:54] local.INFO: IMEI packet received {"connection_id":172009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":172009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:47:56] local.INFO: TCP Data received {"connection_id":172009,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fa2f0012d33b74006aa36c8000f00192b..."} 
[2026-09-04 11:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fa2f0012d33b74006aa36c8000f00192b..."} 
[2026-09-04 11:47:56] local.INFO: Processing buffer {"connection_id":172009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fa2f0012d33b74006aa36c8000f00192b..."} 
[2026-09-04 11:47:56] local.INFO: Packet analysis {"connection_id":172009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:47:56] local.INFO: Extracted packet for processing {"connection_id":172009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:47:56] local.INFO: GPS Element Parsed {"raw_longitude":758363968,"raw_latitude":111818440,"longitude_deg":75.8363968,"latitude_deg":11.181844,"altitude":15,"angle":25,"satellites":43,"speed":44,"hex_longitude":"2d33b740","hex_latitude":"06aa36c8","is_valid_coordinates":true} 
[2026-09-04 11:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,170,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 11:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788502582000,"timestamp_ms":1788502582000,"timestamp_seconds":1788502582,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fa2f0"} 
[2026-09-04 11:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-04 11:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27876,"170":206,"28":21760,"24":44,"16":467142117949440},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16]} 
[2026-09-04 11:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-04 11:47:56] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-04 11:47:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:47:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27876,"unknown_170":206,"unknown_28":21760,"ignition":44,"odometer":null}} 
[2026-09-04 11:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":172009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761972,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:47:56] local.INFO: GPS data processed {"connection_id":172009,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:47:56] local.INFO: Acknowledgment sent {"connection_id":172009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:47:56] local.INFO: TCP Data received {"connection_id":172010,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0ee388012d19d58007239890003c00e82c..."} 
[2026-09-04 11:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0ee388012d19d58007239890003c00e82c..."} 
[2026-09-04 11:47:56] local.INFO: Processing buffer {"connection_id":172010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0ee388012d19d58007239890003c00e82c..."} 
[2026-09-04 11:47:56] local.INFO: Packet analysis {"connection_id":172010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0e"} 
[2026-09-04 11:47:56] local.INFO: Extracted packet for processing {"connection_id":172010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0e"} 
[2026-09-04 11:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756667776,"raw_latitude":119773328,"longitude_deg":75.6667776,"latitude_deg":11.9773328,"altitude":60,"angle":232,"satellites":44,"speed":0,"hex_longitude":"2d19d580","hex_latitude":"07239890","is_valid_coordinates":true} 
[2026-09-04 11:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856643072001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162431616778240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861534789137895424,"note":"Value kept but may cause issues"} 
[2026-09-04 11:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788502533000,"timestamp_ms":1788502533000,"timestamp_seconds":1788502533,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0ee388"} 
[2026-09-04 11:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-04 11:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856643072001,"66":12667,"112":206,"28":31744,"24":0,"16":17162431616778240,"45":1861534789137895424},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856643072001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:47:56] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:47:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162431616778240,"km_value":17162431616778.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861534789137895424,"description":"Unknown IO ID 45"} 
[2026-09-04 11:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856643072001,"power":12667,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1861534789137895424}} 
[2026-09-04 11:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":172010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:47:56] local.INFO: GPS data processed {"connection_id":172010,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:47:56] local.INFO: Acknowledgment sent {"connection_id":172010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:48:00] local.INFO: TCP Data received {"connection_id":170602,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:48:00] local.INFO: Processing buffer {"connection_id":170602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:48:00] local.INFO: IMEI packet received {"connection_id":170602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":170602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:48:05] local.INFO: TCP Data received {"connection_id":170602,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:48:05] local.INFO: Processing buffer {"connection_id":170602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:48:05] local.INFO: IMEI packet received {"connection_id":170602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":170602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:48:07] local.INFO: TCP Data received {"connection_id":170602,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:48:07] local.INFO: Processing buffer {"connection_id":170602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:48:07] local.INFO: Packet analysis {"connection_id":170602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:48:07] local.INFO: Extracted packet for processing {"connection_id":170602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:48:07] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856585984001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788502590000,"timestamp_ms":1788502590000,"timestamp_seconds":1788502590,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fc230"} 
[2026-09-04 11:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 11:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856585984001,"66":26006,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856585984001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:48:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:48:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856585984001,"power":26006,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":170602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:48:07] local.INFO: GPS data processed {"connection_id":170602,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:48:07] local.INFO: Acknowledgment sent {"connection_id":170602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:48:28] local.INFO: TCP Data received {"connection_id":172009,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fe558012d33dcc006aa6178000e002d2d..."} 
[2026-09-04 11:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fe558012d33dcc006aa6178000e002d2d..."} 
[2026-09-04 11:48:28] local.INFO: Processing buffer {"connection_id":172009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fe558012d33dcc006aa6178000e002d2d..."} 
[2026-09-04 11:48:28] local.INFO: Packet analysis {"connection_id":172009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:48:28] local.INFO: Extracted packet for processing {"connection_id":172009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:48:28] local.INFO: GPS Element Parsed {"raw_longitude":758373568,"raw_latitude":111829368,"longitude_deg":75.8373568,"latitude_deg":11.1829368,"altitude":14,"angle":45,"satellites":45,"speed":4,"hex_longitude":"2d33dcc0","hex_latitude":"06aa6178","is_valid_coordinates":true} 
[2026-09-04 11:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856660992001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726517614042073088,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788502599000,"timestamp_ms":1788502599000,"timestamp_seconds":1788502599,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fe558"} 
[2026-09-04 11:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 11:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856660992001,"66":28028,"170":206,"28":21760,"24":4,"16":467142117949440,"45":3726517614042073088},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-09-04 11:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856660992001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:48:28] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-04 11:48:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726517614042073088,"description":"Unknown IO ID 45"} 
[2026-09-04 11:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856660992001,"power":28028,"unknown_170":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3726517614042073088}} 
[2026-09-04 11:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":172009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761975,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:48:28] local.INFO: GPS data processed {"connection_id":172009,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:48:28] local.INFO: Acknowledgment sent {"connection_id":172009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:48:28] local.INFO: TCP Data received {"connection_id":172010,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0f3590012d19d58007239890003c00e82d..."} 
[2026-09-04 11:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0f3590012d19d58007239890003c00e82d..."} 
[2026-09-04 11:48:28] local.INFO: Processing buffer {"connection_id":172010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0f3590012d19d58007239890003c00e82d..."} 
[2026-09-04 11:48:28] local.INFO: Packet analysis {"connection_id":172010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:48:28] local.INFO: Extracted packet for processing {"connection_id":172010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756667776,"raw_latitude":119773328,"longitude_deg":75.6667776,"latitude_deg":11.9773328,"altitude":60,"angle":232,"satellites":45,"speed":0,"hex_longitude":"2d19d580","hex_latitude":"07239890","is_valid_coordinates":true} 
[2026-09-04 11:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856648448001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162431616778240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861534789137895424,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788502554000,"timestamp_ms":1788502554000,"timestamp_seconds":1788502554,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0f3590"} 
[2026-09-04 11:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-04 11:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856648448001,"66":12548,"112":206,"28":31744,"24":0,"16":17162431616778240,"45":1861534789137895424},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856648448001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:48:28] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:48:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162431616778240,"km_value":17162431616778.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861534789137895424,"description":"Unknown IO ID 45"} 
[2026-09-04 11:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856648448001,"power":12548,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1861534789137895424}} 
[2026-09-04 11:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":172010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:48:28] local.INFO: GPS data processed {"connection_id":172010,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:48:28] local.INFO: Acknowledgment sent {"connection_id":172010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:48:40] local.INFO: TCP Data received {"connection_id":170602,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:48:40] local.INFO: Processing buffer {"connection_id":170602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:48:40] local.INFO: Packet analysis {"connection_id":170602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:48:40] local.INFO: Extracted packet for processing {"connection_id":170602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:48:40] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856585984001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788502590000,"timestamp_ms":1788502590000,"timestamp_seconds":1788502590,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fc230"} 
[2026-09-04 11:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 11:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856585984001,"66":26006,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856585984001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:48:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:48:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856585984001,"power":26006,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":170602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:48:40] local.INFO: GPS data processed {"connection_id":170602,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:48:40] local.INFO: Acknowledgment sent {"connection_id":170602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:48:48] local.INFO: TCP Data received {"connection_id":172011,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:48:48] local.INFO: Processing buffer {"connection_id":172011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:48:48] local.INFO: IMEI packet received {"connection_id":172011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":172011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:48:49] local.INFO: TCP Data received {"connection_id":173305,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:48:49] local.INFO: Processing buffer {"connection_id":173305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:48:49] local.INFO: IMEI packet received {"connection_id":173305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":173305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:48:54] local.INFO: TCP Data received {"connection_id":172011,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:48:54] local.INFO: Processing buffer {"connection_id":172011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:48:54] local.INFO: IMEI packet received {"connection_id":172011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":172011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:48:54] local.INFO: TCP Data received {"connection_id":173305,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:48:54] local.INFO: Processing buffer {"connection_id":173305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:48:54] local.INFO: IMEI packet received {"connection_id":173305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":173305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:48:55] local.INFO: TCP Data received {"connection_id":172011,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0f8798012d19d58007239890003c00e82c..."} 
[2026-09-04 11:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0f8798012d19d58007239890003c00e82c..."} 
[2026-09-04 11:48:55] local.INFO: Processing buffer {"connection_id":172011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0f8798012d19d58007239890003c00e82c..."} 
[2026-09-04 11:48:55] local.INFO: Packet analysis {"connection_id":172011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:48:55] local.INFO: Extracted packet for processing {"connection_id":172011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:48:55] local.INFO: GPS Element Parsed {"raw_longitude":756667776,"raw_latitude":119773328,"longitude_deg":75.6667776,"latitude_deg":11.9773328,"altitude":60,"angle":232,"satellites":44,"speed":0,"hex_longitude":"2d19d580","hex_latitude":"07239890","is_valid_coordinates":true} 
[2026-09-04 11:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856653824001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162431616778240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861534789137895424,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788502575000,"timestamp_ms":1788502575000,"timestamp_seconds":1788502575,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0f8798"} 
[2026-09-04 11:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 11:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184219115725,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:55] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2559574076,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-09-04 11:48:55] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2147951512,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:55] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:55] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,112,28,24,241,158,16,249,160,227,45,128,152,60,44,10,66,145,67,1,240,232,107,35,4,113,205,155,213,144,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-09-04 11:48:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323710922246848512,"timestamp_seconds":4323710922246848.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856653824001,"66":12591,"112":206,"28":31744,"24":0,"16":17162431616778240,"45":1861534789137895424},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856653824001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:48:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162431616778240,"km_value":17162431616778.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861534789137895424,"description":"Unknown IO ID 45"} 
[2026-09-04 11:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856653824001,"power":12591,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1861534789137895424}} 
[2026-09-04 11:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":172011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:48:55] local.INFO: GPS data processed {"connection_id":172011,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:48:55] local.INFO: Acknowledgment sent {"connection_id":172011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:48:56] local.INFO: TCP Data received {"connection_id":173305,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a0000000000095e700100000000000000000000000000..."} 
[2026-09-04 11:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000095e700100000000000000000000000000..."} 
[2026-09-04 11:48:56] local.INFO: Processing buffer {"connection_id":173305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000095e700100000000000000000000000000..."} 
[2026-09-04 11:48:56] local.INFO: Packet analysis {"connection_id":173305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000009"} 
[2026-09-04 11:48:56] local.INFO: Extracted packet for processing {"connection_id":173305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000009"} 
[2026-09-04 11:48:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 11:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856665344001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3737072925671520256,"note":"Value kept but may cause issues"} 
[2026-09-04 11:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:48:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":614000,"timestamp_seconds":614,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 11:48:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 11:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173305,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173305,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-04 11:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173305,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-04 11:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 11:48:56] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 11:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":173305,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 11:48:56] local.ERROR: GPS data processing failed {"connection_id":173305,"error":"No valid data to process"} 
[2026-09-04 11:48:56] local.INFO: Acknowledgment sent {"connection_id":173305,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 11:49:00] local.INFO: TCP Data received {"connection_id":173306,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:49:00] local.INFO: Processing buffer {"connection_id":173306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:49:00] local.INFO: IMEI packet received {"connection_id":173306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":173306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:49:05] local.INFO: TCP Data received {"connection_id":173306,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:49:05] local.INFO: Processing buffer {"connection_id":173306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:49:05] local.INFO: IMEI packet received {"connection_id":173306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":173306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:49:08] local.INFO: TCP Data received {"connection_id":173306,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:49:08] local.INFO: Processing buffer {"connection_id":173306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:49:08] local.INFO: Packet analysis {"connection_id":173306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:49:08] local.INFO: Extracted packet for processing {"connection_id":173306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:49:08] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856585984001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788502590000,"timestamp_ms":1788502590000,"timestamp_seconds":1788502590,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fc230"} 
[2026-09-04 11:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 11:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856585984001,"66":26006,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856585984001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:49:08] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:49:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:49:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856585984001,"power":26006,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":173306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:49:08] local.INFO: GPS data processed {"connection_id":173306,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:49:08] local.INFO: Acknowledgment sent {"connection_id":173306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:49:26] local.INFO: TCP Data received {"connection_id":172011,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fd9a0012d19d58007239890003c00e82c..."} 
[2026-09-04 11:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fd9a0012d19d58007239890003c00e82c..."} 
[2026-09-04 11:49:26] local.INFO: Processing buffer {"connection_id":172011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fd9a0012d19d58007239890003c00e82c..."} 
[2026-09-04 11:49:26] local.INFO: Packet analysis {"connection_id":172011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:49:26] local.INFO: Extracted packet for processing {"connection_id":172011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:49:26] local.INFO: GPS Element Parsed {"raw_longitude":756667776,"raw_latitude":119773328,"longitude_deg":75.6667776,"latitude_deg":11.9773328,"altitude":60,"angle":232,"satellites":44,"speed":0,"hex_longitude":"2d19d580","hex_latitude":"07239890","is_valid_coordinates":true} 
[2026-09-04 11:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856659200001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162431616778240,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861534789137895424,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788502596000,"timestamp_ms":1788502596000,"timestamp_seconds":1788502596,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fd9a0"} 
[2026-09-04 11:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 11:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856659200001,"66":12591,"112":206,"28":31744,"24":0,"16":17162431616778240,"45":1861534789137895424},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856659200001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:49:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:49:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162431616778240,"km_value":17162431616778.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861534789137895424,"description":"Unknown IO ID 45"} 
[2026-09-04 11:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856659200001,"power":12591,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1861534789137895424}} 
[2026-09-04 11:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":172011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:49:26] local.INFO: GPS data processed {"connection_id":172011,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:49:26] local.INFO: Acknowledgment sent {"connection_id":172011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:49:26] local.INFO: TCP Data received {"connection_id":173305,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b104ed0012d34150006aa82180013004b2c..."} 
[2026-09-04 11:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b104ed0012d34150006aa82180013004b2c..."} 
[2026-09-04 11:49:26] local.INFO: Processing buffer {"connection_id":173305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b104ed0012d34150006aa82180013004b2c..."} 
[2026-09-04 11:49:26] local.INFO: Packet analysis {"connection_id":173305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b10"} 
[2026-09-04 11:49:26] local.INFO: Extracted packet for processing {"connection_id":173305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b10"} 
[2026-09-04 11:49:26] local.INFO: GPS Element Parsed {"raw_longitude":758387968,"raw_latitude":111837720,"longitude_deg":75.8387968,"latitude_deg":11.183772,"altitude":19,"angle":75,"satellites":44,"speed":32,"hex_longitude":"2d341500","hex_latitude":"06aa8218","is_valid_coordinates":true} 
[2026-09-04 11:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,170,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 11:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788502626000,"timestamp_ms":1788502626000,"timestamp_seconds":1788502626,"priority":1,"record_length":96,"hex_timestamp":"000001a06b104ed0"} 
[2026-09-04 11:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 11:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27876,"170":206,"28":21760,"24":32,"16":467142117949440},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16]} 
[2026-09-04 11:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-04 11:49:27] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-04 11:49:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:49:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27876,"unknown_170":206,"unknown_28":21760,"ignition":32,"odometer":null}} 
[2026-09-04 11:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":173305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761981,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:49:27] local.INFO: GPS data processed {"connection_id":173305,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:49:27] local.INFO: Acknowledgment sent {"connection_id":173305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:49:41] local.INFO: TCP Data received {"connection_id":173306,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:49:41] local.INFO: Processing buffer {"connection_id":173306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:49:41] local.INFO: Packet analysis {"connection_id":173306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:49:41] local.INFO: Extracted packet for processing {"connection_id":173306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:49:41] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856585984001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788502590000,"timestamp_ms":1788502590000,"timestamp_seconds":1788502590,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fc230"} 
[2026-09-04 11:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 11:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856585984001,"66":26006,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856585984001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:49:41] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856585984001,"power":26006,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":173306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:49:41] local.INFO: GPS data processed {"connection_id":173306,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:49:41] local.INFO: Acknowledgment sent {"connection_id":173306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:49:50] local.INFO: TCP Data received {"connection_id":170901,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:49:50] local.INFO: Processing buffer {"connection_id":170901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:49:50] local.INFO: IMEI packet received {"connection_id":170901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":170901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:49:54] local.INFO: TCP Data received {"connection_id":170902,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:49:54] local.INFO: Processing buffer {"connection_id":170902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:49:54] local.INFO: IMEI packet received {"connection_id":170902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":170902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:49:54] local.INFO: TCP Data received {"connection_id":170901,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:49:54] local.INFO: Processing buffer {"connection_id":170901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:49:54] local.INFO: IMEI packet received {"connection_id":170901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":170901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:49:56] local.INFO: TCP Data received {"connection_id":170901,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b10a0d8012d345ac006aa97880014004928..."} 
[2026-09-04 11:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b10a0d8012d345ac006aa97880014004928..."} 
[2026-09-04 11:49:56] local.INFO: Processing buffer {"connection_id":170901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b10a0d8012d345ac006aa97880014004928..."} 
[2026-09-04 11:49:56] local.INFO: Packet analysis {"connection_id":170901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b10"} 
[2026-09-04 11:49:56] local.INFO: Extracted packet for processing {"connection_id":170901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b10"} 
[2026-09-04 11:49:56] local.INFO: GPS Element Parsed {"raw_longitude":758405824,"raw_latitude":111843208,"longitude_deg":75.8405824,"latitude_deg":11.1843208,"altitude":20,"angle":73,"satellites":40,"speed":0,"hex_longitude":"2d345ac0","hex_latitude":"06aa9788","is_valid_coordinates":true} 
[2026-09-04 11:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856672256001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3752905893113632768,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788502647000,"timestamp_ms":1788502647000,"timestamp_seconds":1788502647,"priority":1,"record_length":96,"hex_timestamp":"000001a06b10a0d8"} 
[2026-09-04 11:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 11:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856672256001,"66":28137,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3752905893113632768},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856672256001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:49:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:49:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3752905893113632768,"description":"Unknown IO ID 45"} 
[2026-09-04 11:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856672256001,"power":28137,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3752905893113632768}} 
[2026-09-04 11:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":170901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:49:56] local.INFO: GPS data processed {"connection_id":170901,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:49:56] local.INFO: Acknowledgment sent {"connection_id":170901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:49:57] local.INFO: TCP Data received {"connection_id":170902,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:49:57] local.INFO: Processing buffer {"connection_id":170902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:49:57] local.INFO: IMEI packet received {"connection_id":170902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":170902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:49:58] local.INFO: TCP Data received {"connection_id":170902,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1213f0012d19d88007239d38003b001c2c..."} 
[2026-09-04 11:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1213f0012d19d88007239d38003b001c2c..."} 
[2026-09-04 11:49:58] local.INFO: Processing buffer {"connection_id":170902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1213f0012d19d88007239d38003b001c2c..."} 
[2026-09-04 11:49:58] local.INFO: Packet analysis {"connection_id":170902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b12"} 
[2026-09-04 11:49:58] local.INFO: Extracted packet for processing {"connection_id":170902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b12"} 
[2026-09-04 11:49:58] local.INFO: GPS Element Parsed {"raw_longitude":756668544,"raw_latitude":119774520,"longitude_deg":75.6668544,"latitude_deg":11.977452,"altitude":59,"angle":28,"satellites":44,"speed":0,"hex_longitude":"2d19d880","hex_latitude":"07239d38","is_valid_coordinates":true} 
[2026-09-04 11:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856700416001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162530401026048,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862379214068154368,"note":"Value kept but may cause issues"} 
[2026-09-04 11:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788502742000,"timestamp_ms":1788502742000,"timestamp_seconds":1788502742,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1213f0"} 
[2026-09-04 11:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-04 11:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856700416001,"66":14189,"112":206,"28":31744,"24":0,"16":17162530401026048,"45":1862379214068154368},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856700416001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:49:58] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:49:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162530401026048,"km_value":17162530401026.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862379214068154368,"description":"Unknown IO ID 45"} 
[2026-09-04 11:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856700416001,"power":14189,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1862379214068154368}} 
[2026-09-04 11:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":170902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:49:58] local.INFO: GPS data processed {"connection_id":170902,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:49:58] local.INFO: Acknowledgment sent {"connection_id":170902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:49:59] local.INFO: TCP Data received {"connection_id":170603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:49:59] local.INFO: Processing buffer {"connection_id":170603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:49:59] local.INFO: IMEI packet received {"connection_id":170603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":170603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:50:04] local.INFO: TCP Data received {"connection_id":170902,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b121fa8012d19d90007239de0003c002e2c..."} 
[2026-09-04 11:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b121fa8012d19d90007239de0003c002e2c..."} 
[2026-09-04 11:50:04] local.INFO: Processing buffer {"connection_id":170902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b121fa8012d19d90007239de0003c002e2c..."} 
[2026-09-04 11:50:04] local.INFO: Packet analysis {"connection_id":170902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b12"} 
[2026-09-04 11:50:04] local.INFO: Extracted packet for processing {"connection_id":170902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b12"} 
[2026-09-04 11:50:04] local.INFO: GPS Element Parsed {"raw_longitude":756668672,"raw_latitude":119774688,"longitude_deg":75.6668672,"latitude_deg":11.9774688,"altitude":60,"angle":46,"satellites":44,"speed":3,"hex_longitude":"2d19d900","hex_latitude":"07239de0","is_valid_coordinates":true} 
[2026-09-04 11:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856701952001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17162543285927936,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862379214068332544,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788502745000,"timestamp_ms":1788502745000,"timestamp_seconds":1788502745,"priority":1,"record_length":96,"hex_timestamp":"000001a06b121fa8"} 
[2026-09-04 11:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 11:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856701952001,"66":14211,"112":206,"28":31744,"24":3,"16":17162543285927936,"45":1862379214068332544},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856701952001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:50:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:50:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17162543285927936,"km_value":17162543285927.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862379214068332544,"description":"Unknown IO ID 45"} 
[2026-09-04 11:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856701952001,"power":14211,"unknown_112":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1862379214068332544}} 
[2026-09-04 11:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":170902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:50:04] local.INFO: GPS data processed {"connection_id":170902,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:50:04] local.INFO: Acknowledgment sent {"connection_id":170902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:50:05] local.INFO: TCP Data received {"connection_id":170603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:50:05] local.INFO: Processing buffer {"connection_id":170603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:50:05] local.INFO: IMEI packet received {"connection_id":170603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":170603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:50:08] local.INFO: TCP Data received {"connection_id":170603,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:50:08] local.INFO: Processing buffer {"connection_id":170603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:50:08] local.INFO: Packet analysis {"connection_id":170603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:50:08] local.INFO: Extracted packet for processing {"connection_id":170603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:50:08] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856585984001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788502590000,"timestamp_ms":1788502590000,"timestamp_seconds":1788502590,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fc230"} 
[2026-09-04 11:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 11:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856585984001,"66":26006,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856585984001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:50:08] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:50:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856585984001,"power":26006,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":170603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:50:08] local.INFO: GPS data processed {"connection_id":170603,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:50:08] local.INFO: Acknowledgment sent {"connection_id":170603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:50:28] local.INFO: TCP Data received {"connection_id":170901,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b10e340012d34b24006aa8b80000d006c28..."} 
[2026-09-04 11:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b10e340012d34b24006aa8b80000d006c28..."} 
[2026-09-04 11:50:28] local.INFO: Processing buffer {"connection_id":170901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b10e340012d34b24006aa8b80000d006c28..."} 
[2026-09-04 11:50:28] local.INFO: Packet analysis {"connection_id":170901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b10"} 
[2026-09-04 11:50:28] local.INFO: Extracted packet for processing {"connection_id":170901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b10"} 
[2026-09-04 11:50:28] local.INFO: GPS Element Parsed {"raw_longitude":758428224,"raw_latitude":111840128,"longitude_deg":75.8428224,"latitude_deg":11.1840128,"altitude":13,"angle":108,"satellites":40,"speed":54,"hex_longitude":"2d34b240","hex_latitude":"06aa8b80","is_valid_coordinates":true} 
[2026-09-04 11:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856677632001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3772538772740605952,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788502664000,"timestamp_ms":1788502664000,"timestamp_seconds":1788502664,"priority":1,"record_length":96,"hex_timestamp":"000001a06b10e340"} 
[2026-09-04 11:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 11:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856677632001,"66":28137,"106":206,"28":21760,"24":54,"16":467142117949440,"45":3772538772740605952},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856677632001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:50:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:50:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3772538772740605952,"description":"Unknown IO ID 45"} 
[2026-09-04 11:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856677632001,"power":28137,"unknown_106":206,"unknown_28":21760,"ignition":54,"odometer":null,"unknown_45":3772538772740605952}} 
[2026-09-04 11:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":170901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:50:28] local.INFO: GPS data processed {"connection_id":170901,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:50:28] local.INFO: Acknowledgment sent {"connection_id":170901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:50:41] local.INFO: TCP Data received {"connection_id":170603,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:50:41] local.INFO: Processing buffer {"connection_id":170603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:50:41] local.INFO: Packet analysis {"connection_id":170603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:50:41] local.INFO: Extracted packet for processing {"connection_id":170603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:50:41] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856585984001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788502590000,"timestamp_ms":1788502590000,"timestamp_seconds":1788502590,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fc230"} 
[2026-09-04 11:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 11:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856585984001,"66":26006,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856585984001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:50:41] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856585984001,"power":26006,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":170603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:50:41] local.INFO: GPS data processed {"connection_id":170603,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:50:41] local.INFO: Acknowledgment sent {"connection_id":170603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:50:48] local.INFO: TCP Data received {"connection_id":170903,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:50:48] local.INFO: Processing buffer {"connection_id":170903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:50:48] local.INFO: IMEI packet received {"connection_id":170903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":170903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:50:48] local.INFO: TCP Data received {"connection_id":170903,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:50:48] local.INFO: Processing buffer {"connection_id":170903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:50:48] local.INFO: IMEI packet received {"connection_id":170903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":170903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:50:49] local.INFO: TCP Data received {"connection_id":170604,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:50:49] local.INFO: Processing buffer {"connection_id":170604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:50:49] local.INFO: IMEI packet received {"connection_id":170604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":170604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:50:50] local.INFO: TCP Data received {"connection_id":170604,"ip":"117.224.161.6","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-04 11:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170604,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-04 11:50:50] local.INFO: Processing buffer {"connection_id":170604,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-04 11:50:50] local.INFO: IMEI packet received {"connection_id":170604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":170604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:50:54] local.INFO: TCP Data received {"connection_id":170604,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:50:54] local.INFO: Processing buffer {"connection_id":170604,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-04 11:50:54] local.INFO: IMEI packet received {"connection_id":170604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":170604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:50:55] local.INFO: TCP Data received {"connection_id":170903,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:50:55] local.INFO: Processing buffer {"connection_id":170903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:50:55] local.INFO: IMEI packet received {"connection_id":170903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":170903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:50:55] local.INFO: TCP Data received {"connection_id":170604,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b113548012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b113548012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:50:55] local.INFO: Processing buffer {"connection_id":170604,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a06b..."} 
[2026-09-04 11:50:55] local.INFO: IMEI packet received {"connection_id":170604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":170604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:50:56] local.INFO: TCP Data received {"connection_id":170903,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b12f680012d198000072395d8004500f629..."} 
[2026-09-04 11:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b12f680012d198000072395d8004500f629..."} 
[2026-09-04 11:50:56] local.INFO: Processing buffer {"connection_id":170903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b12f680012d198000072395d8004500f629..."} 
[2026-09-04 11:50:56] local.INFO: Packet analysis {"connection_id":170903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b12"} 
[2026-09-04 11:50:56] local.INFO: Extracted packet for processing {"connection_id":170903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b12"} 
[2026-09-04 11:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756645888,"raw_latitude":119772632,"longitude_deg":75.6645888,"latitude_deg":11.9772632,"altitude":69,"angle":246,"satellites":41,"speed":24,"hex_longitude":"2d198000","hex_latitude":"072395d8","is_valid_coordinates":true} 
[2026-09-04 11:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856715776001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17163698632130560,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840142690907918336,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788502800000,"timestamp_ms":1788502800000,"timestamp_seconds":1788502800,"priority":1,"record_length":96,"hex_timestamp":"000001a06b12f680"} 
[2026-09-04 11:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 11:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856715776001,"66":14233,"112":206,"28":31744,"24":24,"16":17163698632130560,"45":1840142690907918336},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856715776001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:50:56] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:50:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17163698632130560,"km_value":17163698632130.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840142690907918336,"description":"Unknown IO ID 45"} 
[2026-09-04 11:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856715776001,"power":14233,"unknown_112":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1840142690907918336}} 
[2026-09-04 11:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":170903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:50:56] local.INFO: GPS data processed {"connection_id":170903,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:50:56] local.INFO: Acknowledgment sent {"connection_id":170903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:50:58] local.INFO: TCP Data received {"connection_id":170903,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b130df0012d19734007238f00004600ea28..."} 
[2026-09-04 11:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b130df0012d19734007238f00004600ea28..."} 
[2026-09-04 11:50:58] local.INFO: Processing buffer {"connection_id":170903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b130df0012d19734007238f00004600ea28..."} 
[2026-09-04 11:50:58] local.INFO: Packet analysis {"connection_id":170903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b13"} 
[2026-09-04 11:50:58] local.INFO: Extracted packet for processing {"connection_id":170903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b13"} 
[2026-09-04 11:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756642624,"raw_latitude":119770880,"longitude_deg":75.6642624,"latitude_deg":11.977088,"altitude":70,"angle":234,"satellites":40,"speed":24,"hex_longitude":"2d197340","hex_latitude":"07238f00","is_valid_coordinates":true} 
[2026-09-04 11:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856716800001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17163874725789696,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837468678628956160,"note":"Value kept but may cause issues"} 
[2026-09-04 11:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788502806000,"timestamp_ms":1788502806000,"timestamp_seconds":1788502806,"priority":1,"record_length":96,"hex_timestamp":"000001a06b130df0"} 
[2026-09-04 11:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 11:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856716800001,"66":14254,"112":206,"28":31744,"24":24,"16":17163874725789696,"45":1837468678628956160},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856716800001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:50:58] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:50:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17163874725789696,"km_value":17163874725789.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837468678628956160,"description":"Unknown IO ID 45"} 
[2026-09-04 11:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856716800001,"power":14254,"unknown_112":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1837468678628956160}} 
[2026-09-04 11:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":170903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:50:58] local.INFO: GPS data processed {"connection_id":170903,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:50:58] local.INFO: Acknowledgment sent {"connection_id":170903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:51:00] local.INFO: TCP Data received {"connection_id":170604,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b118750012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b118750012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:51:00] local.INFO: Processing buffer {"connection_id":170604,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06b113548012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:51:00] local.INFO: Packet analysis {"connection_id":170604,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06b11"} 
[2026-09-04 11:51:00] local.INFO: Extracted packet for processing {"connection_id":170604,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b11"} 
[2026-09-04 11:51:00] local.INFO: GPS Element Parsed {"raw_longitude":758445632,"raw_latitude":111833512,"longitude_deg":75.8445632,"latitude_deg":11.1833512,"altitude":12,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34f640","hex_latitude":"06aa71a8","is_valid_coordinates":true} 
[2026-09-04 11:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856681984001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3797167833201999872,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788502685000,"timestamp_ms":1788502685000,"timestamp_seconds":1788502685,"priority":1,"record_length":96,"hex_timestamp":"000001a06b113548"} 
[2026-09-04 11:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 11:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856681984001,"66":28028,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3797167833201999872},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856681984001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:51:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3797167833201999872,"description":"Unknown IO ID 45"} 
[2026-09-04 11:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856681984001,"power":28028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3797167833201999872}} 
[2026-09-04 11:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":170604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:51:00] local.INFO: GPS data processed {"connection_id":170604,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:51:00] local.INFO: Acknowledgment sent {"connection_id":170604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:51:00] local.INFO: Packet analysis {"connection_id":170604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b11"} 
[2026-09-04 11:51:00] local.INFO: Extracted packet for processing {"connection_id":170604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b11"} 
[2026-09-04 11:51:00] local.INFO: GPS Element Parsed {"raw_longitude":758445632,"raw_latitude":111833512,"longitude_deg":75.8445632,"latitude_deg":11.1833512,"altitude":12,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34f640","hex_latitude":"06aa71a8","is_valid_coordinates":true} 
[2026-09-04 11:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856687360001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3816308131616630784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788502706000,"timestamp_ms":1788502706000,"timestamp_seconds":1788502706,"priority":1,"record_length":96,"hex_timestamp":"000001a06b118750"} 
[2026-09-04 11:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 11:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856687360001,"66":28028,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3816308131616630784},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856687360001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:51:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3816308131616630784,"description":"Unknown IO ID 45"} 
[2026-09-04 11:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856687360001,"power":28028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3816308131616630784}} 
[2026-09-04 11:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":170604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761992,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:51:00] local.INFO: GPS data processed {"connection_id":170604,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:51:00] local.INFO: Acknowledgment sent {"connection_id":170604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:51:05] local.INFO: TCP Data received {"connection_id":170605,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:51:05] local.INFO: Processing buffer {"connection_id":170605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:51:05] local.INFO: IMEI packet received {"connection_id":170605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":170605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:51:10] local.INFO: TCP Data received {"connection_id":170605,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:51:10] local.INFO: Processing buffer {"connection_id":170605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:51:10] local.INFO: IMEI packet received {"connection_id":170605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":170605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:51:13] local.INFO: TCP Data received {"connection_id":170605,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:51:13] local.INFO: Processing buffer {"connection_id":170605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:51:13] local.INFO: Packet analysis {"connection_id":170605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:51:13] local.INFO: Extracted packet for processing {"connection_id":170605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:51:13] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856585984001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788502590000,"timestamp_ms":1788502590000,"timestamp_seconds":1788502590,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fc230"} 
[2026-09-04 11:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 11:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":170605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":170605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":170605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856585984001,"66":26006,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856585984001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:51:13] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:51:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856585984001,"power":26006,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":170605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:51:13] local.INFO: GPS data processed {"connection_id":170605,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:51:13] local.INFO: Acknowledgment sent {"connection_id":170605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:51:17] local.INFO: TCP Data received {"connection_id":170605,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:51:17] local.INFO: Processing buffer {"connection_id":170605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:51:17] local.INFO: Packet analysis {"connection_id":170605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:51:17] local.INFO: Extracted packet for processing {"connection_id":170605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:51:17] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856585984001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788502590000,"timestamp_ms":1788502590000,"timestamp_seconds":1788502590,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fc230"} 
[2026-09-04 11:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 11:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":170605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":170605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":170605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856585984001,"66":26006,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856585984001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:51:17] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:51:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:51:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856585984001,"power":26006,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":170605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:51:17] local.INFO: GPS data processed {"connection_id":170605,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:51:17] local.INFO: Acknowledgment sent {"connection_id":170605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:51:31] local.INFO: TCP Data received {"connection_id":170903,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1319a8012d196d80072389e8004700dd29..."} 
[2026-09-04 11:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1319a8012d196d80072389e8004700dd29..."} 
[2026-09-04 11:51:31] local.INFO: Processing buffer {"connection_id":170903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1319a8012d196d80072389e8004700dd29..."} 
[2026-09-04 11:51:31] local.INFO: Packet analysis {"connection_id":170903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b13"} 
[2026-09-04 11:51:31] local.INFO: Extracted packet for processing {"connection_id":170903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b13"} 
[2026-09-04 11:51:31] local.INFO: GPS Element Parsed {"raw_longitude":756641152,"raw_latitude":119769576,"longitude_deg":75.6641152,"latitude_deg":11.9769576,"altitude":71,"angle":221,"satellites":41,"speed":27,"hex_longitude":"2d196d80","hex_latitude":"072389e8","is_valid_coordinates":true} 
[2026-09-04 11:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856718336001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17163969215070208,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833879872675446784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788502809000,"timestamp_ms":1788502809000,"timestamp_seconds":1788502809,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1319a8"} 
[2026-09-04 11:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 11:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":170903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":170903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":170903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856718336001,"66":14211,"112":206,"28":31744,"24":27,"16":17163969215070208,"45":1833879872675446784},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856718336001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:51:31] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17163969215070208,"km_value":17163969215070.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833879872675446784,"description":"Unknown IO ID 45"} 
[2026-09-04 11:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856718336001,"power":14211,"unknown_112":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1833879872675446784}} 
[2026-09-04 11:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":170903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:51:31] local.INFO: GPS data processed {"connection_id":170903,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:51:31] local.INFO: Acknowledgment sent {"connection_id":170903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:51:32] local.INFO: TCP Data received {"connection_id":170604,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b11d958012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b11d958012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:51:32] local.INFO: Processing buffer {"connection_id":170604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b11d958012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:51:32] local.INFO: Packet analysis {"connection_id":170604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b11"} 
[2026-09-04 11:51:32] local.INFO: Extracted packet for processing {"connection_id":170604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b11"} 
[2026-09-04 11:51:32] local.INFO: GPS Element Parsed {"raw_longitude":758445632,"raw_latitude":111833512,"longitude_deg":75.8445632,"latitude_deg":11.1833512,"altitude":12,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34f640","hex_latitude":"06aa71a8","is_valid_coordinates":true} 
[2026-09-04 11:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856692736001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3816308131616630784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788502727000,"timestamp_ms":1788502727000,"timestamp_seconds":1788502727,"priority":1,"record_length":96,"hex_timestamp":"000001a06b11d958"} 
[2026-09-04 11:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 11:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856692736001,"66":28104,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3816308131616630784},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856692736001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:51:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:51:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3816308131616630784,"description":"Unknown IO ID 45"} 
[2026-09-04 11:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856692736001,"power":28104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3816308131616630784}} 
[2026-09-04 11:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":170604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761996,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:51:32] local.INFO: GPS data processed {"connection_id":170604,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:51:32] local.INFO: Acknowledgment sent {"connection_id":170604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:51:46] local.INFO: TCP Data received {"connection_id":170904,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:51:46] local.INFO: Processing buffer {"connection_id":170904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:51:46] local.INFO: IMEI packet received {"connection_id":170904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":170904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:51:48] local.INFO: TCP Data received {"connection_id":170904,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:51:48] local.INFO: Processing buffer {"connection_id":170904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:51:48] local.INFO: IMEI packet received {"connection_id":170904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":170904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:51:48] local.INFO: TCP Data received {"connection_id":170904,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:51:48] local.INFO: Processing buffer {"connection_id":170904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:51:48] local.INFO: IMEI packet received {"connection_id":170904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":170904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:51:49] local.INFO: TCP Data received {"connection_id":173307,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:51:49] local.INFO: Processing buffer {"connection_id":173307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:51:49] local.INFO: IMEI packet received {"connection_id":173307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":173307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:51:52] local.INFO: TCP Data received {"connection_id":173307,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:51:52] local.INFO: Processing buffer {"connection_id":173307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:51:52] local.INFO: IMEI packet received {"connection_id":173307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":173307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:51:54] local.INFO: TCP Data received {"connection_id":173307,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:51:54] local.INFO: Processing buffer {"connection_id":173307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:51:54] local.INFO: IMEI packet received {"connection_id":173307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":173307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:51:54] local.INFO: TCP Data received {"connection_id":170904,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:51:54] local.INFO: Processing buffer {"connection_id":170904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:51:54] local.INFO: IMEI packet received {"connection_id":170904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":170904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:51:55] local.INFO: TCP Data received {"connection_id":173307,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b122b60012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b122b60012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:51:55] local.INFO: Processing buffer {"connection_id":173307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b122b60012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:51:55] local.INFO: Packet analysis {"connection_id":173307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b12"} 
[2026-09-04 11:51:55] local.INFO: Extracted packet for processing {"connection_id":173307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b12"} 
[2026-09-04 11:51:55] local.INFO: GPS Element Parsed {"raw_longitude":758445632,"raw_latitude":111833512,"longitude_deg":75.8445632,"latitude_deg":11.1833512,"altitude":12,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34f640","hex_latitude":"06aa71a8","is_valid_coordinates":true} 
[2026-09-04 11:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856698112001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3816308131616630784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788502748000,"timestamp_ms":1788502748000,"timestamp_seconds":1788502748,"priority":1,"record_length":96,"hex_timestamp":"000001a06b122b60"} 
[2026-09-04 11:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 11:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856698112001,"66":28006,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3816308131616630784},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856698112001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:51:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:51:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3816308131616630784,"description":"Unknown IO ID 45"} 
[2026-09-04 11:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856698112001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3816308131616630784}} 
[2026-09-04 11:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":173307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:51:55] local.INFO: GPS data processed {"connection_id":173307,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:51:55] local.INFO: Acknowledgment sent {"connection_id":173307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:51:55] local.INFO: TCP Data received {"connection_id":170904,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b133500012d196100072378a8004900cf26..."} 
[2026-09-04 11:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b133500012d196100072378a8004900cf26..."} 
[2026-09-04 11:51:55] local.INFO: Processing buffer {"connection_id":170904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b133500012d196100072378a8004900cf26..."} 
[2026-09-04 11:51:55] local.INFO: Packet analysis {"connection_id":170904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b13"} 
[2026-09-04 11:51:55] local.INFO: Extracted packet for processing {"connection_id":170904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b13"} 
[2026-09-04 11:51:55] local.INFO: GPS Element Parsed {"raw_longitude":756637952,"raw_latitude":119765160,"longitude_deg":75.6637952,"latitude_deg":11.976516,"altitude":73,"angle":207,"satellites":38,"speed":32,"hex_longitude":"2d196100","hex_latitude":"072378a8","is_valid_coordinates":true} 
[2026-09-04 11:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856719104001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17164231208075264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832261391559026688,"note":"Value kept but may cause issues"} 
[2026-09-04 11:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788502816000,"timestamp_ms":1788502816000,"timestamp_seconds":1788502816,"priority":1,"record_length":96,"hex_timestamp":"000001a06b133500"} 
[2026-09-04 11:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 11:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856719104001,"66":14211,"112":206,"28":31744,"24":32,"16":17164231208075264,"45":1832261391559026688},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 11:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856719104001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:51:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 11:51:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17164231208075264,"km_value":17164231208075.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832261391559026688,"description":"Unknown IO ID 45"} 
[2026-09-04 11:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856719104001,"power":14211,"unknown_112":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1832261391559026688}} 
[2026-09-04 11:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":170904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:51:55] local.INFO: GPS data processed {"connection_id":170904,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:51:55] local.INFO: Acknowledgment sent {"connection_id":170904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:52:01] local.INFO: TCP Data received {"connection_id":170905,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:52:01] local.INFO: Processing buffer {"connection_id":170905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:52:01] local.INFO: IMEI packet received {"connection_id":170905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":170905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:52:05] local.INFO: TCP Data received {"connection_id":170905,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:52:05] local.INFO: Processing buffer {"connection_id":170905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:52:05] local.INFO: IMEI packet received {"connection_id":170905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":170905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:52:07] local.INFO: TCP Data received {"connection_id":170905,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:52:07] local.INFO: Processing buffer {"connection_id":170905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:52:07] local.INFO: Packet analysis {"connection_id":170905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:52:07] local.INFO: Extracted packet for processing {"connection_id":170905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:52:07] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856585984001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788502590000,"timestamp_ms":1788502590000,"timestamp_seconds":1788502590,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fc230"} 
[2026-09-04 11:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 11:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856585984001,"66":26006,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856585984001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:52:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:52:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856585984001,"power":26006,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":170905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":761999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:52:07] local.INFO: GPS data processed {"connection_id":170905,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:52:07] local.INFO: Acknowledgment sent {"connection_id":170905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:52:11] local.INFO: TCP Data received {"connection_id":170905,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:52:11] local.INFO: Processing buffer {"connection_id":170905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b0fc230012cd4af4007377b00000f00e92b..."} 
[2026-09-04 11:52:11] local.INFO: Packet analysis {"connection_id":170905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:52:11] local.INFO: Extracted packet for processing {"connection_id":170905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b0f"} 
[2026-09-04 11:52:11] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856585984001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788502590000,"timestamp_ms":1788502590000,"timestamp_seconds":1788502590,"priority":1,"record_length":96,"hex_timestamp":"000001a06b0fc230"} 
[2026-09-04 11:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 11:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856585984001,"66":26006,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856585984001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:52:11] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856585984001,"power":26006,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":170905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:52:11] local.INFO: GPS data processed {"connection_id":170905,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:52:11] local.INFO: Acknowledgment sent {"connection_id":170905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:52:28] local.INFO: TCP Data received {"connection_id":170904,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b146d80012d18a3800722c8b0006b00c330..."} 
[2026-09-04 11:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b146d80012d18a3800722c8b0006b00c330..."} 
[2026-09-04 11:52:28] local.INFO: Processing buffer {"connection_id":170904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b146d80012d18a3800722c8b0006b00c330..."} 
[2026-09-04 11:52:28] local.INFO: Packet analysis {"connection_id":170904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:52:28] local.INFO: Extracted packet for processing {"connection_id":170904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756589440,"raw_latitude":119720112,"longitude_deg":75.658944,"latitude_deg":11.9720112,"altitude":107,"angle":195,"satellites":48,"speed":36,"hex_longitude":"2d18a380","hex_latitude":"0722c8b0","is_valid_coordinates":true} 
[2026-09-04 11:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856739584001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17167813210800128,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778921883461148672,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788502896000,"timestamp_ms":1788502896000,"timestamp_seconds":1788502896,"priority":1,"record_length":96,"hex_timestamp":"000001a06b146d80"} 
[2026-09-04 11:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 11:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856739584001,"66":13222,"120":206,"28":31744,"24":36,"16":17167813210800128,"45":1778921883461148672},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856739584001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:52:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:52:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17167813210800128,"km_value":17167813210800.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778921883461148672,"description":"Unknown IO ID 45"} 
[2026-09-04 11:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856739584001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1778921883461148672}} 
[2026-09-04 11:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":170904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:52:28] local.INFO: GPS data processed {"connection_id":170904,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:52:28] local.INFO: Acknowledgment sent {"connection_id":170904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:52:29] local.INFO: TCP Data received {"connection_id":173307,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b127d68012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b127d68012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:52:29] local.INFO: Processing buffer {"connection_id":173307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b127d68012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:52:29] local.INFO: Packet analysis {"connection_id":173307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b12"} 
[2026-09-04 11:52:29] local.INFO: Extracted packet for processing {"connection_id":173307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b12"} 
[2026-09-04 11:52:29] local.INFO: GPS Element Parsed {"raw_longitude":758445632,"raw_latitude":111833512,"longitude_deg":75.8445632,"latitude_deg":11.1833512,"altitude":12,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34f640","hex_latitude":"06aa71a8","is_valid_coordinates":true} 
[2026-09-04 11:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856703488001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3816308131616630784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788502769000,"timestamp_ms":1788502769000,"timestamp_seconds":1788502769,"priority":1,"record_length":96,"hex_timestamp":"000001a06b127d68"} 
[2026-09-04 11:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 11:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856703488001,"66":28050,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3816308131616630784},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856703488001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:52:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:52:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3816308131616630784,"description":"Unknown IO ID 45"} 
[2026-09-04 11:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856703488001,"power":28050,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3816308131616630784}} 
[2026-09-04 11:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":173307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762002,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:52:29] local.INFO: GPS data processed {"connection_id":173307,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:52:29] local.INFO: Acknowledgment sent {"connection_id":173307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:52:43] local.INFO: TCP Data received {"connection_id":170905,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:52:43] local.INFO: Processing buffer {"connection_id":170905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:52:43] local.INFO: Packet analysis {"connection_id":170905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:52:43] local.INFO: Extracted packet for processing {"connection_id":170905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:52:43] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856663040001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788502891000,"timestamp_ms":1788502891000,"timestamp_seconds":1788502891,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1459f8"} 
[2026-09-04 11:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 11:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":170905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":170905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":170905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856663040001,"66":25941,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856663040001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:52:43] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:52:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:52:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856663040001,"power":25941,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":170905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:52:43] local.INFO: GPS data processed {"connection_id":170905,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:52:43] local.INFO: Acknowledgment sent {"connection_id":170905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:52:47] local.INFO: TCP Data received {"connection_id":170606,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:52:48] local.INFO: Processing buffer {"connection_id":170606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:52:48] local.INFO: IMEI packet received {"connection_id":170606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":170606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:52:48] local.INFO: TCP Data received {"connection_id":170606,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:52:48] local.INFO: Processing buffer {"connection_id":170606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:52:48] local.INFO: IMEI packet received {"connection_id":170606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":170606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:52:54] local.INFO: TCP Data received {"connection_id":170606,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:52:54] local.INFO: Processing buffer {"connection_id":170606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:52:54] local.INFO: IMEI packet received {"connection_id":170606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":170606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:52:54] local.INFO: TCP Data received {"connection_id":170607,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:52:54] local.INFO: Processing buffer {"connection_id":170607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:52:54] local.INFO: IMEI packet received {"connection_id":170607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":170607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:52:55] local.INFO: TCP Data received {"connection_id":170606,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b147550012d18a2800722c1a0006c00b32f..."} 
[2026-09-04 11:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b147550012d18a2800722c1a0006c00b32f..."} 
[2026-09-04 11:52:55] local.INFO: Processing buffer {"connection_id":170606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b147550012d18a2800722c1a0006c00b32f..."} 
[2026-09-04 11:52:55] local.INFO: Packet analysis {"connection_id":170606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:52:55] local.INFO: Extracted packet for processing {"connection_id":170606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:52:55] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119718304,"longitude_deg":75.6589184,"latitude_deg":11.9718304,"altitude":108,"angle":179,"satellites":47,"speed":36,"hex_longitude":"2d18a280","hex_latitude":"0722c1a0","is_valid_coordinates":true} 
[2026-09-04 11:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856741376001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17167899110146048,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775403446250811392,"note":"Value kept but may cause issues"} 
[2026-09-04 11:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788502898000,"timestamp_ms":1788502898000,"timestamp_seconds":1788502898,"priority":1,"record_length":96,"hex_timestamp":"000001a06b147550"} 
[2026-09-04 11:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 11:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856741376001,"66":13135,"120":206,"28":31744,"24":36,"16":17167899110146048,"45":1775403446250811392},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856741376001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:52:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:52:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17167899110146048,"km_value":17167899110146.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775403446250811392,"description":"Unknown IO ID 45"} 
[2026-09-04 11:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856741376001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1775403446250811392}} 
[2026-09-04 11:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":170606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:52:55] local.INFO: GPS data processed {"connection_id":170606,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:52:55] local.INFO: Acknowledgment sent {"connection_id":170606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:52:59] local.INFO: TCP Data received {"connection_id":170607,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:52:59] local.INFO: Processing buffer {"connection_id":170607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:52:59] local.INFO: IMEI packet received {"connection_id":170607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":170607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:53:01] local.INFO: TCP Data received {"connection_id":170607,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b12cf70012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b12cf70012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:53:01] local.INFO: Processing buffer {"connection_id":170607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b12cf70012d34f64006aa71a8000c006f29..."} 
[2026-09-04 11:53:01] local.INFO: Packet analysis {"connection_id":170607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b12"} 
[2026-09-04 11:53:01] local.INFO: Extracted packet for processing {"connection_id":170607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b12"} 
[2026-09-04 11:53:01] local.INFO: GPS Element Parsed {"raw_longitude":758445632,"raw_latitude":111833512,"longitude_deg":75.8445632,"latitude_deg":11.1833512,"altitude":12,"angle":111,"satellites":41,"speed":0,"hex_longitude":"2d34f640","hex_latitude":"06aa71a8","is_valid_coordinates":true} 
[2026-09-04 11:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856708864001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3816308131616630784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788502790000,"timestamp_ms":1788502790000,"timestamp_seconds":1788502790,"priority":1,"record_length":96,"hex_timestamp":"000001a06b12cf70"} 
[2026-09-04 11:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-04 11:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856708864001,"66":28028,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3816308131616630784},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856708864001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:53:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:53:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3816308131616630784,"description":"Unknown IO ID 45"} 
[2026-09-04 11:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856708864001,"power":28028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3816308131616630784}} 
[2026-09-04 11:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":170607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762005,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:53:01] local.INFO: GPS data processed {"connection_id":170607,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:53:01] local.INFO: Acknowledgment sent {"connection_id":170607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:53:05] local.INFO: TCP Data received {"connection_id":170608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:53:05] local.INFO: Processing buffer {"connection_id":170608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:53:05] local.INFO: IMEI packet received {"connection_id":170608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":170608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:53:10] local.INFO: TCP Data received {"connection_id":170608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:53:10] local.INFO: Processing buffer {"connection_id":170608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:53:10] local.INFO: IMEI packet received {"connection_id":170608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":170608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:53:13] local.INFO: TCP Data received {"connection_id":170608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:53:13] local.INFO: Processing buffer {"connection_id":170608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:53:13] local.INFO: Packet analysis {"connection_id":170608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:53:13] local.INFO: Extracted packet for processing {"connection_id":170608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:53:13] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856663040001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788502891000,"timestamp_ms":1788502891000,"timestamp_seconds":1788502891,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1459f8"} 
[2026-09-04 11:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 11:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":170608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":170608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":170608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856663040001,"66":25941,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856663040001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:53:13] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856663040001,"power":25941,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":170608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:53:13] local.INFO: GPS data processed {"connection_id":170608,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:53:13] local.INFO: Acknowledgment sent {"connection_id":170608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:53:17] local.INFO: TCP Data received {"connection_id":170608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:53:17] local.INFO: Processing buffer {"connection_id":170608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:53:17] local.INFO: Packet analysis {"connection_id":170608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:53:17] local.INFO: Extracted packet for processing {"connection_id":170608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:53:17] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856663040001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788502891000,"timestamp_ms":1788502891000,"timestamp_seconds":1788502891,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1459f8"} 
[2026-09-04 11:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 11:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":170608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":170608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":170608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856663040001,"66":25941,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856663040001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:53:17] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:53:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:53:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856663040001,"power":25941,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":170608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:53:17] local.INFO: GPS data processed {"connection_id":170608,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:53:17] local.INFO: Acknowledgment sent {"connection_id":170608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:53:27] local.INFO: TCP Data received {"connection_id":170606,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1484f0012d18a5000722b370006d00a72f..."} 
[2026-09-04 11:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1484f0012d18a5000722b370006d00a72f..."} 
[2026-09-04 11:53:27] local.INFO: Processing buffer {"connection_id":170606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1484f0012d18a5000722b370006d00a72f..."} 
[2026-09-04 11:53:27] local.INFO: Packet analysis {"connection_id":170606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:53:27] local.INFO: Extracted packet for processing {"connection_id":170606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756589824,"raw_latitude":119714672,"longitude_deg":75.6589824,"latitude_deg":11.9714672,"altitude":109,"angle":167,"satellites":47,"speed":36,"hex_longitude":"2d18a500","hex_latitude":"0722b370","is_valid_coordinates":true} 
[2026-09-04 11:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856741888001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17168079498772480,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971273637888,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788502902000,"timestamp_ms":1788502902000,"timestamp_seconds":1788502902,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1484f0"} 
[2026-09-04 11:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-04 11:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856741888001,"66":13102,"120":206,"28":31744,"24":36,"16":17168079498772480,"45":1775121971273637888},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856741888001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:53:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:53:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17168079498772480,"km_value":17168079498772.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971273637888,"description":"Unknown IO ID 45"} 
[2026-09-04 11:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856741888001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1775121971273637888}} 
[2026-09-04 11:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":170606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:53:27] local.INFO: GPS data processed {"connection_id":170606,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:53:27] local.INFO: Acknowledgment sent {"connection_id":170606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:53:32] local.INFO: TCP Data received {"connection_id":170607,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b132178012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b132178012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:53:32] local.INFO: Processing buffer {"connection_id":170607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b132178012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:53:32] local.INFO: Packet analysis {"connection_id":170607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b13"} 
[2026-09-04 11:53:32] local.INFO: Extracted packet for processing {"connection_id":170607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b13"} 
[2026-09-04 11:53:32] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826184,"longitude_deg":75.8433536,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":14,"hex_longitude":"2d34c700","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 11:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856714240001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3816308131616630784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788502811000,"timestamp_ms":1788502811000,"timestamp_seconds":1788502811,"priority":1,"record_length":96,"hex_timestamp":"000001a06b132178"} 
[2026-09-04 11:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 11:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856714240001,"66":27974,"106":206,"28":21760,"24":14,"16":467142117949440,"45":3816308131616630784},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856714240001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:53:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3816308131616630784,"description":"Unknown IO ID 45"} 
[2026-09-04 11:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856714240001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":14,"odometer":null,"unknown_45":3816308131616630784}} 
[2026-09-04 11:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":170607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762009,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:53:32] local.INFO: GPS data processed {"connection_id":170607,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:53:32] local.INFO: Acknowledgment sent {"connection_id":170607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:53:48] local.INFO: TCP Data received {"connection_id":170609,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:53:48] local.INFO: Processing buffer {"connection_id":170609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:53:48] local.INFO: IMEI packet received {"connection_id":170609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":170609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:53:49] local.INFO: TCP Data received {"connection_id":170609,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:53:49] local.INFO: Processing buffer {"connection_id":170609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:53:49] local.INFO: IMEI packet received {"connection_id":170609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":170609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:53:53] local.INFO: TCP Data received {"connection_id":170609,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:53:53] local.INFO: Processing buffer {"connection_id":170609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:53:53] local.INFO: IMEI packet received {"connection_id":170609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":170609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:53:54] local.INFO: TCP Data received {"connection_id":172012,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:53:54] local.INFO: Processing buffer {"connection_id":172012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:53:54] local.INFO: IMEI packet received {"connection_id":172012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":172012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:53:55] local.INFO: TCP Data received {"connection_id":170609,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b14a818012d18a8c007229358006f00b42b..."} 
[2026-09-04 11:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b14a818012d18a8c007229358006f00b42b..."} 
[2026-09-04 11:53:55] local.INFO: Processing buffer {"connection_id":170609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b14a818012d18a8c007229358006f00b42b..."} 
[2026-09-04 11:53:55] local.INFO: Packet analysis {"connection_id":170609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:53:55] local.INFO: Extracted packet for processing {"connection_id":170609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:53:55] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119706456,"longitude_deg":75.6590784,"latitude_deg":11.9706456,"altitude":111,"angle":180,"satellites":43,"speed":35,"hex_longitude":"2d18a8c0","hex_latitude":"07229358","is_valid_coordinates":true} 
[2026-09-04 11:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856742912001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17168483225698304,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775825658714484736,"note":"Value kept but may cause issues"} 
[2026-09-04 11:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788502911000,"timestamp_ms":1788502911000,"timestamp_seconds":1788502911,"priority":1,"record_length":96,"hex_timestamp":"000001a06b14a818"} 
[2026-09-04 11:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 11:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856742912001,"66":12689,"120":206,"28":31744,"24":35,"16":17168483225698304,"45":1775825658714484736},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856742912001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:53:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17168483225698304,"km_value":17168483225698.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775825658714484736,"description":"Unknown IO ID 45"} 
[2026-09-04 11:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856742912001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1775825658714484736}} 
[2026-09-04 11:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":170609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:53:55] local.INFO: GPS data processed {"connection_id":170609,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:53:55] local.INFO: Acknowledgment sent {"connection_id":170609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:53:59] local.INFO: TCP Data received {"connection_id":172012,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:53:59] local.INFO: Processing buffer {"connection_id":172012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:53:59] local.INFO: IMEI packet received {"connection_id":172012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":172012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:54:00] local.INFO: TCP Data received {"connection_id":172013,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:54:00] local.INFO: Processing buffer {"connection_id":172013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:54:00] local.INFO: IMEI packet received {"connection_id":172013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":172013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:54:03] local.INFO: TCP Data received {"connection_id":172012,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b132178012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b132178012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:54:03] local.INFO: Processing buffer {"connection_id":172012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b132178012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:54:03] local.INFO: Packet analysis {"connection_id":172012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b13"} 
[2026-09-04 11:54:03] local.INFO: Extracted packet for processing {"connection_id":172012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b13"} 
[2026-09-04 11:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826184,"longitude_deg":75.8433536,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":14,"hex_longitude":"2d34c700","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 11:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856719616001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788502811000,"timestamp_ms":1788502811000,"timestamp_seconds":1788502811,"priority":1,"record_length":96,"hex_timestamp":"000001a06b132178"} 
[2026-09-04 11:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 11:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856719616001,"66":27974,"106":206,"28":21760,"24":14,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856719616001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:54:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:54:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 11:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856719616001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":14,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 11:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":172012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762011,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:54:03] local.INFO: GPS data processed {"connection_id":172012,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:54:03] local.INFO: Acknowledgment sent {"connection_id":172012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:54:05] local.INFO: TCP Data received {"connection_id":172012,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b137380012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b137380012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:54:05] local.INFO: Processing buffer {"connection_id":172012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b137380012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:54:05] local.INFO: Packet analysis {"connection_id":172012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b13"} 
[2026-09-04 11:54:05] local.INFO: Extracted packet for processing {"connection_id":172012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b13"} 
[2026-09-04 11:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826184,"longitude_deg":75.8433536,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 11:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856719616001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788502832000,"timestamp_ms":1788502832000,"timestamp_seconds":1788502832,"priority":1,"record_length":96,"hex_timestamp":"000001a06b137380"} 
[2026-09-04 11:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 11:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856719616001,"66":28006,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856719616001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:54:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 11:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856719616001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 11:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":172012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:54:05] local.INFO: GPS data processed {"connection_id":172012,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:54:05] local.INFO: Acknowledgment sent {"connection_id":172012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:54:05] local.INFO: TCP Data received {"connection_id":172013,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:54:05] local.INFO: Processing buffer {"connection_id":172013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:54:05] local.INFO: IMEI packet received {"connection_id":172013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":172013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:54:07] local.INFO: TCP Data received {"connection_id":172013,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:54:07] local.INFO: Processing buffer {"connection_id":172013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:54:07] local.INFO: Packet analysis {"connection_id":172013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:54:07] local.INFO: Extracted packet for processing {"connection_id":172013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:54:07] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856663040001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788502891000,"timestamp_ms":1788502891000,"timestamp_seconds":1788502891,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1459f8"} 
[2026-09-04 11:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 11:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856663040001,"66":25941,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856663040001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:54:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:54:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856663040001,"power":25941,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":172013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:54:07] local.INFO: GPS data processed {"connection_id":172013,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:54:07] local.INFO: Acknowledgment sent {"connection_id":172013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:54:26] local.INFO: TCP Data received {"connection_id":170609,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b14bf88012d18a64007227ec8006e00c32e..."} 
[2026-09-04 11:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b14bf88012d18a64007227ec8006e00c32e..."} 
[2026-09-04 11:54:26] local.INFO: Processing buffer {"connection_id":170609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b14bf88012d18a64007227ec8006e00c32e..."} 
[2026-09-04 11:54:26] local.INFO: Packet analysis {"connection_id":170609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:54:26] local.INFO: Extracted packet for processing {"connection_id":170609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:54:26] local.INFO: GPS Element Parsed {"raw_longitude":756590144,"raw_latitude":119701192,"longitude_deg":75.6590144,"latitude_deg":11.9701192,"altitude":110,"angle":195,"satellites":46,"speed":37,"hex_longitude":"2d18a640","hex_latitude":"07227ec8","is_valid_coordinates":true} 
[2026-09-04 11:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856745216001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17168740923736064,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776881189875046400,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788502917000,"timestamp_ms":1788502917000,"timestamp_seconds":1788502917,"priority":1,"record_length":96,"hex_timestamp":"000001a06b14bf88"} 
[2026-09-04 11:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 11:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856745216001,"66":12982,"120":206,"28":31744,"24":37,"16":17168740923736064,"45":1776881189875046400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856745216001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:54:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:54:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17168740923736064,"km_value":17168740923736.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776881189875046400,"description":"Unknown IO ID 45"} 
[2026-09-04 11:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856745216001,"power":12982,"unknown_120":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1776881189875046400}} 
[2026-09-04 11:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":170609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:54:26] local.INFO: GPS data processed {"connection_id":170609,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:54:26] local.INFO: Acknowledgment sent {"connection_id":170609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:54:38] local.INFO: TCP Data received {"connection_id":172013,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:54:38] local.INFO: Processing buffer {"connection_id":172013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:54:38] local.INFO: Packet analysis {"connection_id":172013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:54:38] local.INFO: Extracted packet for processing {"connection_id":172013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:54:38] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856663040001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788502891000,"timestamp_ms":1788502891000,"timestamp_seconds":1788502891,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1459f8"} 
[2026-09-04 11:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 11:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856663040001,"66":25941,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856663040001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:54:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:54:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856663040001,"power":25941,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":172013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:54:38] local.INFO: GPS data processed {"connection_id":172013,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:54:38] local.INFO: Acknowledgment sent {"connection_id":172013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:54:48] local.INFO: TCP Data received {"connection_id":170906,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:54:48] local.INFO: Processing buffer {"connection_id":170906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:54:48] local.INFO: IMEI packet received {"connection_id":170906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":170906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:54:50] local.INFO: TCP Data received {"connection_id":173308,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:54:50] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:54:50] local.INFO: IMEI packet received {"connection_id":173308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":173308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:54:53] local.INFO: TCP Data received {"connection_id":170906,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:54:53] local.INFO: Processing buffer {"connection_id":170906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:54:53] local.INFO: IMEI packet received {"connection_id":170906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":170906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:54:54] local.INFO: TCP Data received {"connection_id":170906,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:54:54] local.INFO: Processing buffer {"connection_id":170906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:54:54] local.INFO: IMEI packet received {"connection_id":170906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":170906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:54:54] local.INFO: TCP Data received {"connection_id":173308,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:54:54] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:54:54] local.INFO: IMEI packet received {"connection_id":173308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":173308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:54:55] local.INFO: TCP Data received {"connection_id":170906,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b14d310012d189f4007226c50006b00ce2a..."} 
[2026-09-04 11:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b14d310012d189f4007226c50006b00ce2a..."} 
[2026-09-04 11:54:55] local.INFO: Processing buffer {"connection_id":170906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b14d310012d189f4007226c50006b00ce2a..."} 
[2026-09-04 11:54:55] local.INFO: Packet analysis {"connection_id":170906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:54:55] local.INFO: Extracted packet for processing {"connection_id":170906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756588352,"raw_latitude":119696464,"longitude_deg":75.6588352,"latitude_deg":11.9696464,"altitude":107,"angle":206,"satellites":42,"speed":45,"hex_longitude":"2d189f40","hex_latitude":"07226c50","is_valid_coordinates":true} 
[2026-09-04 11:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856746752001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17168981441904640,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776177502431922176,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788502922000,"timestamp_ms":1788502922000,"timestamp_seconds":1788502922,"priority":1,"record_length":96,"hex_timestamp":"000001a06b14d310"} 
[2026-09-04 11:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-04 11:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856746752001,"66":12961,"120":206,"28":31744,"24":45,"16":17168981441904640,"45":1776177502431922176},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856746752001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:54:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:54:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17168981441904640,"km_value":17168981441904.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776177502431922176,"description":"Unknown IO ID 45"} 
[2026-09-04 11:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856746752001,"power":12961,"unknown_120":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1776177502431922176}} 
[2026-09-04 11:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":170906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:54:55] local.INFO: GPS data processed {"connection_id":170906,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:54:55] local.INFO: Acknowledgment sent {"connection_id":170906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:54:57] local.INFO: TCP Data received {"connection_id":173308,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b13c588012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b13c588012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:54:57] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b13c588012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:54:57] local.INFO: Packet analysis {"connection_id":173308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b13"} 
[2026-09-04 11:54:57] local.INFO: Extracted packet for processing {"connection_id":173308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b13"} 
[2026-09-04 11:54:57] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826184,"longitude_deg":75.8433536,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 11:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856724992001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788502853000,"timestamp_ms":1788502853000,"timestamp_seconds":1788502853,"priority":1,"record_length":96,"hex_timestamp":"000001a06b13c588"} 
[2026-09-04 11:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 11:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856724992001,"66":27952,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856724992001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:54:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:54:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 11:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856724992001,"power":27952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 11:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":173308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762017,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:54:58] local.INFO: GPS data processed {"connection_id":173308,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:54:58] local.INFO: Acknowledgment sent {"connection_id":173308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:54:59] local.INFO: TCP Data received {"connection_id":170906,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b14ee68012d188cc007224e90006200d627..."} 
[2026-09-04 11:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b14ee68012d188cc007224e90006200d627..."} 
[2026-09-04 11:54:59] local.INFO: Processing buffer {"connection_id":170906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b14ee68012d188cc007224e90006200d627..."} 
[2026-09-04 11:54:59] local.INFO: Packet analysis {"connection_id":170906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:54:59] local.INFO: Extracted packet for processing {"connection_id":170906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756583616,"raw_latitude":119688848,"longitude_deg":75.6583616,"latitude_deg":11.9688848,"altitude":98,"angle":214,"satellites":39,"speed":55,"hex_longitude":"2d188cc0","hex_latitude":"07224e90","is_valid_coordinates":true} 
[2026-09-04 11:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856748032001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17169415233601536,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774207177593737216,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788502929000,"timestamp_ms":1788502929000,"timestamp_seconds":1788502929,"priority":1,"record_length":96,"hex_timestamp":"000001a06b14ee68"} 
[2026-09-04 11:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-04 11:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856748032001,"66":12798,"120":206,"28":31744,"24":55,"16":17169415233601536,"45":1774207177593737216},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856748032001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:54:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:54:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17169415233601536,"km_value":17169415233601.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774207177593737216,"description":"Unknown IO ID 45"} 
[2026-09-04 11:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856748032001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":55,"odometer":null,"unknown_45":1774207177593737216}} 
[2026-09-04 11:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":170906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:54:59] local.INFO: GPS data processed {"connection_id":170906,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:54:59] local.INFO: Acknowledgment sent {"connection_id":170906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:54:59] local.INFO: TCP Data received {"connection_id":173308,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b141790012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b141790012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:54:59] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b141790012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:54:59] local.INFO: Packet analysis {"connection_id":173308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:54:59] local.INFO: Extracted packet for processing {"connection_id":173308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826184,"longitude_deg":75.8433536,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 11:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856730368001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788502874000,"timestamp_ms":1788502874000,"timestamp_seconds":1788502874,"priority":1,"record_length":96,"hex_timestamp":"000001a06b141790"} 
[2026-09-04 11:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-04 11:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856730368001,"66":27571,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856730368001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:54:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:54:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 11:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856730368001,"power":27571,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 11:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":173308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762019,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:54:59] local.INFO: GPS data processed {"connection_id":173308,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:54:59] local.INFO: Acknowledgment sent {"connection_id":173308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:55:00] local.INFO: TCP Data received {"connection_id":170610,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:55:00] local.INFO: Processing buffer {"connection_id":170610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:55:00] local.INFO: IMEI packet received {"connection_id":170610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":170610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:55:05] local.INFO: TCP Data received {"connection_id":170610,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:55:05] local.INFO: Processing buffer {"connection_id":170610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:55:05] local.INFO: IMEI packet received {"connection_id":170610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":170610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:55:07] local.INFO: TCP Data received {"connection_id":170610,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:55:07] local.INFO: Processing buffer {"connection_id":170610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:55:07] local.INFO: Packet analysis {"connection_id":170610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:55:07] local.INFO: Extracted packet for processing {"connection_id":170610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:55:07] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856663040001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788502891000,"timestamp_ms":1788502891000,"timestamp_seconds":1788502891,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1459f8"} 
[2026-09-04 11:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 11:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856663040001,"66":25941,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856663040001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:55:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:55:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856663040001,"power":25941,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":170610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:55:07] local.INFO: GPS data processed {"connection_id":170610,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:55:07] local.INFO: Acknowledgment sent {"connection_id":170610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:55:30] local.INFO: TCP Data received {"connection_id":170906,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1509c0012d18784007222e68005a00d428..."} 
[2026-09-04 11:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1509c0012d18784007222e68005a00d428..."} 
[2026-09-04 11:55:30] local.INFO: Processing buffer {"connection_id":170906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1509c0012d18784007222e68005a00d428..."} 
[2026-09-04 11:55:30] local.INFO: Packet analysis {"connection_id":170906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b15"} 
[2026-09-04 11:55:30] local.INFO: Extracted packet for processing {"connection_id":170906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b15"} 
[2026-09-04 11:55:30] local.INFO: GPS Element Parsed {"raw_longitude":756578368,"raw_latitude":119680616,"longitude_deg":75.6578368,"latitude_deg":11.9680616,"altitude":90,"angle":212,"satellites":40,"speed":53,"hex_longitude":"2d187840","hex_latitude":"07222e68","is_valid_coordinates":true} 
[2026-09-04 11:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856749824001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17169887680004096,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768999890522640384,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788502936000,"timestamp_ms":1788502936000,"timestamp_seconds":1788502936,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1509c0"} 
[2026-09-04 11:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 11:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856749824001,"66":12689,"120":206,"28":31744,"24":53,"16":17169887680004096,"45":1768999890522640384},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856749824001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:55:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:55:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17169887680004096,"km_value":17169887680004.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768999890522640384,"description":"Unknown IO ID 45"} 
[2026-09-04 11:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856749824001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":53,"odometer":null,"unknown_45":1768999890522640384}} 
[2026-09-04 11:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":170906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:55:31] local.INFO: GPS data processed {"connection_id":170906,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:55:31] local.INFO: Acknowledgment sent {"connection_id":170906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:55:39] local.INFO: TCP Data received {"connection_id":170610,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:55:39] local.INFO: Processing buffer {"connection_id":170610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:55:39] local.INFO: Packet analysis {"connection_id":170610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:55:39] local.INFO: Extracted packet for processing {"connection_id":170610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:55:39] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856663040001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788502891000,"timestamp_ms":1788502891000,"timestamp_seconds":1788502891,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1459f8"} 
[2026-09-04 11:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 11:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856663040001,"66":25941,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856663040001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:55:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:55:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:55:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856663040001,"power":25941,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":170610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:55:39] local.INFO: GPS data processed {"connection_id":170610,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:55:39] local.INFO: Acknowledgment sent {"connection_id":170610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:55:48] local.INFO: TCP Data received {"connection_id":172015,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:55:48] local.INFO: Processing buffer {"connection_id":172015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:55:48] local.INFO: IMEI packet received {"connection_id":172015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":172015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:55:49] local.INFO: TCP Data received {"connection_id":172014,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:55:49] local.INFO: Processing buffer {"connection_id":172014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:55:49] local.INFO: IMEI packet received {"connection_id":172014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":172014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:55:54] local.INFO: TCP Data received {"connection_id":172015,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:55:54] local.INFO: Processing buffer {"connection_id":172015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:55:54] local.INFO: IMEI packet received {"connection_id":172015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":172015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:55:54] local.INFO: TCP Data received {"connection_id":172014,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:55:54] local.INFO: Processing buffer {"connection_id":172014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:55:54] local.INFO: IMEI packet received {"connection_id":172014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":172014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:55:56] local.INFO: TCP Data received {"connection_id":172014,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b143ab8012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b143ab8012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:55:56] local.INFO: Processing buffer {"connection_id":172014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b143ab8012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:55:56] local.INFO: Packet analysis {"connection_id":172014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:55:56] local.INFO: Extracted packet for processing {"connection_id":172014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:55:56] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826184,"longitude_deg":75.8433536,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 11:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856735744001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788502883000,"timestamp_ms":1788502883000,"timestamp_seconds":1788502883,"priority":1,"record_length":96,"hex_timestamp":"000001a06b143ab8"} 
[2026-09-04 11:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 11:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856735744001,"66":28082,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856735744001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:55:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:55:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 11:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856735744001,"power":28082,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 11:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":172014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:55:56] local.INFO: GPS data processed {"connection_id":172014,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:55:56] local.INFO: Acknowledgment sent {"connection_id":172014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:55:57] local.INFO: TCP Data received {"connection_id":172015,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b152518012d1863c0072211c0005300d629..."} 
[2026-09-04 11:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b152518012d1863c0072211c0005300d629..."} 
[2026-09-04 11:55:57] local.INFO: Processing buffer {"connection_id":172015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b152518012d1863c0072211c0005300d629..."} 
[2026-09-04 11:55:57] local.INFO: Packet analysis {"connection_id":172015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b15"} 
[2026-09-04 11:55:57] local.INFO: Extracted packet for processing {"connection_id":172015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b15"} 
[2026-09-04 11:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756573120,"raw_latitude":119673280,"longitude_deg":75.657312,"latitude_deg":11.967328,"altitude":83,"angle":214,"satellites":41,"speed":48,"hex_longitude":"2d1863c0","hex_latitude":"072211c0","is_valid_coordinates":true} 
[2026-09-04 11:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856751616001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17170321471700992,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763229653497964544,"note":"Value kept but may cause issues"} 
[2026-09-04 11:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788502943000,"timestamp_ms":1788502943000,"timestamp_seconds":1788502943,"priority":1,"record_length":96,"hex_timestamp":"000001a06b152518"} 
[2026-09-04 11:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 11:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856751616001,"66":12613,"120":206,"28":31744,"24":48,"16":17170321471700992,"45":1763229653497964544},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856751616001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:55:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:55:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17170321471700992,"km_value":17170321471700.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763229653497964544,"description":"Unknown IO ID 45"} 
[2026-09-04 11:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856751616001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1763229653497964544}} 
[2026-09-04 11:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":172015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:55:57] local.INFO: GPS data processed {"connection_id":172015,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:55:57] local.INFO: Acknowledgment sent {"connection_id":172015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:55:59] local.INFO: TCP Data received {"connection_id":170611,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:55:59] local.INFO: Processing buffer {"connection_id":170611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:55:59] local.INFO: IMEI packet received {"connection_id":170611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":170611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:56:05] local.INFO: TCP Data received {"connection_id":170611,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:56:05] local.INFO: Processing buffer {"connection_id":170611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:56:05] local.INFO: IMEI packet received {"connection_id":170611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":170611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:56:08] local.INFO: TCP Data received {"connection_id":170611,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:56:08] local.INFO: Processing buffer {"connection_id":170611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:56:08] local.INFO: Packet analysis {"connection_id":170611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:56:08] local.INFO: Extracted packet for processing {"connection_id":170611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:56:08] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856663040001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:56:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788502891000,"timestamp_ms":1788502891000,"timestamp_seconds":1788502891,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1459f8"} 
[2026-09-04 11:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 11:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856663040001,"66":25941,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856663040001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:56:08] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:56:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:56:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856663040001,"power":25941,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":170611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:56:08] local.INFO: GPS data processed {"connection_id":170611,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:56:08] local.INFO: Acknowledgment sent {"connection_id":170611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:56:27] local.INFO: TCP Data received {"connection_id":172014,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b143ab8012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b143ab8012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:56:27] local.INFO: Processing buffer {"connection_id":172014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b143ab8012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:56:27] local.INFO: Packet analysis {"connection_id":172014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:56:27] local.INFO: Extracted packet for processing {"connection_id":172014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:56:27] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826184,"longitude_deg":75.8433536,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 11:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856735744001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788502883000,"timestamp_ms":1788502883000,"timestamp_seconds":1788502883,"priority":1,"record_length":96,"hex_timestamp":"000001a06b143ab8"} 
[2026-09-04 11:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 11:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856735744001,"66":28082,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856735744001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:56:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:56:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 11:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856735744001,"power":28082,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 11:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":172014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762026,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:56:27] local.INFO: GPS data processed {"connection_id":172014,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:56:27] local.INFO: Acknowledgment sent {"connection_id":172014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:56:28] local.INFO: TCP Data received {"connection_id":172015,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b154070012d1850000721f4e8004e00d629..."} 
[2026-09-04 11:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b154070012d1850000721f4e8004e00d629..."} 
[2026-09-04 11:56:28] local.INFO: Processing buffer {"connection_id":172015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b154070012d1850000721f4e8004e00d629..."} 
[2026-09-04 11:56:28] local.INFO: Packet analysis {"connection_id":172015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b15"} 
[2026-09-04 11:56:28] local.INFO: Extracted packet for processing {"connection_id":172015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b15"} 
[2026-09-04 11:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756568064,"raw_latitude":119665896,"longitude_deg":75.6568064,"latitude_deg":11.9665896,"altitude":78,"angle":214,"satellites":41,"speed":51,"hex_longitude":"2d185000","hex_latitude":"0721f4e8","is_valid_coordinates":true} 
[2026-09-04 11:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856753408001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17170750968430592,"note":"Value kept but may cause issues"} 
[2026-09-04 11:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757459416473518080,"note":"Value kept but may cause issues"} 
[2026-09-04 11:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788502950000,"timestamp_ms":1788502950000,"timestamp_seconds":1788502950,"priority":1,"record_length":96,"hex_timestamp":"000001a06b154070"} 
[2026-09-04 11:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-04 11:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856753408001,"66":12798,"120":206,"28":31744,"24":51,"16":17170750968430592,"45":1757459416473518080},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856753408001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:56:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:56:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17170750968430592,"km_value":17170750968430.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757459416473518080,"description":"Unknown IO ID 45"} 
[2026-09-04 11:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856753408001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":51,"odometer":null,"unknown_45":1757459416473518080}} 
[2026-09-04 11:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":172015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:56:28] local.INFO: GPS data processed {"connection_id":172015,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:56:28] local.INFO: Acknowledgment sent {"connection_id":172015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:56:41] local.INFO: TCP Data received {"connection_id":170611,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:56:41] local.INFO: Processing buffer {"connection_id":170611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:56:41] local.INFO: Packet analysis {"connection_id":170611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:56:41] local.INFO: Extracted packet for processing {"connection_id":170611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:56:41] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856663040001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788502891000,"timestamp_ms":1788502891000,"timestamp_seconds":1788502891,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1459f8"} 
[2026-09-04 11:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 11:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856663040001,"66":25941,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856663040001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:56:41] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856663040001,"power":25941,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":170611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:56:41] local.INFO: GPS data processed {"connection_id":170611,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:56:41] local.INFO: Acknowledgment sent {"connection_id":170611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:56:54] local.INFO: TCP Data received {"connection_id":172016,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:56:54] local.INFO: Processing buffer {"connection_id":172016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:56:54] local.INFO: IMEI packet received {"connection_id":172016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":172016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:56:54] local.INFO: TCP Data received {"connection_id":170612,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:56:54] local.INFO: Processing buffer {"connection_id":170612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:56:54] local.INFO: IMEI packet received {"connection_id":170612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":170612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:56:58] local.INFO: TCP Data received {"connection_id":172016,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:56:58] local.INFO: Processing buffer {"connection_id":172016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:56:58] local.INFO: IMEI packet received {"connection_id":172016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":172016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:56:59] local.INFO: TCP Data received {"connection_id":170612,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:56:59] local.INFO: Processing buffer {"connection_id":170612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:56:59] local.INFO: IMEI packet received {"connection_id":170612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":170612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:57:00] local.INFO: TCP Data received {"connection_id":172016,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b155fb0012d183a000721d4d0004a00d729..."} 
[2026-09-04 11:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b155fb0012d183a000721d4d0004a00d729..."} 
[2026-09-04 11:57:00] local.INFO: Processing buffer {"connection_id":172016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b155fb0012d183a000721d4d0004a00d729..."} 
[2026-09-04 11:57:00] local.INFO: Packet analysis {"connection_id":172016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b15"} 
[2026-09-04 11:57:00] local.INFO: Extracted packet for processing {"connection_id":172016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b15"} 
[2026-09-04 11:57:00] local.INFO: GPS Element Parsed {"raw_longitude":756562432,"raw_latitude":119657680,"longitude_deg":75.6562432,"latitude_deg":11.965768,"altitude":74,"angle":215,"satellites":41,"speed":42,"hex_longitude":"2d183a00","hex_latitude":"0721d4d0","is_valid_coordinates":true} 
[2026-09-04 11:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856755200001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171232004767744,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751900285681592320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788502958000,"timestamp_ms":1788502958000,"timestamp_seconds":1788502958,"priority":1,"record_length":96,"hex_timestamp":"000001a06b155fb0"} 
[2026-09-04 11:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 11:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856755200001,"66":12776,"120":206,"28":31744,"24":42,"16":17171232004767744,"45":1751900285681592320},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856755200001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:57:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171232004767744,"km_value":17171232004767.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751900285681592320,"description":"Unknown IO ID 45"} 
[2026-09-04 11:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856755200001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1751900285681592320}} 
[2026-09-04 11:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":172016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:57:00] local.INFO: GPS data processed {"connection_id":172016,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:57:00] local.INFO: Acknowledgment sent {"connection_id":172016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:57:00] local.INFO: TCP Data received {"connection_id":170612,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b143ab8012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b143ab8012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:57:01] local.INFO: Processing buffer {"connection_id":170612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b143ab8012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:57:01] local.INFO: Packet analysis {"connection_id":170612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:57:01] local.INFO: Extracted packet for processing {"connection_id":170612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:57:01] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826184,"longitude_deg":75.8433536,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 11:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856735744001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788502883000,"timestamp_ms":1788502883000,"timestamp_seconds":1788502883,"priority":1,"record_length":96,"hex_timestamp":"000001a06b143ab8"} 
[2026-09-04 11:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 11:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856735744001,"66":28082,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856735744001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:57:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:57:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 11:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856735744001,"power":28082,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 11:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":170612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:57:01] local.INFO: GPS data processed {"connection_id":170612,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:57:01] local.INFO: Acknowledgment sent {"connection_id":170612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:57:01] local.INFO: TCP Data received {"connection_id":172016,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b158e90012d1825000721b898004700d52d..."} 
[2026-09-04 11:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b158e90012d1825000721b898004700d52d..."} 
[2026-09-04 11:57:01] local.INFO: Processing buffer {"connection_id":172016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b158e90012d1825000721b898004700d52d..."} 
[2026-09-04 11:57:01] local.INFO: Packet analysis {"connection_id":172016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b15"} 
[2026-09-04 11:57:01] local.INFO: Extracted packet for processing {"connection_id":172016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b15"} 
[2026-09-04 11:57:01] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650456,"longitude_deg":75.6557056,"latitude_deg":11.9650456,"altitude":71,"angle":213,"satellites":45,"speed":6,"hex_longitude":"2d182500","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-09-04 11:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856757248001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171665796464640,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745707836191854592,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788502970000,"timestamp_ms":1788502970000,"timestamp_seconds":1788502970,"priority":1,"record_length":96,"hex_timestamp":"000001a06b158e90"} 
[2026-09-04 11:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 11:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856757248001,"66":12743,"120":206,"28":31744,"24":6,"16":17171665796464640,"45":1745707836191854592},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856757248001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:57:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:57:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171665796464640,"km_value":17171665796464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745707836191854592,"description":"Unknown IO ID 45"} 
[2026-09-04 11:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856757248001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1745707836191854592}} 
[2026-09-04 11:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":172016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:57:01] local.INFO: GPS data processed {"connection_id":172016,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:57:01] local.INFO: Acknowledgment sent {"connection_id":172016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:57:05] local.INFO: TCP Data received {"connection_id":170612,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b143ab8012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b143ab8012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:57:05] local.INFO: Processing buffer {"connection_id":170612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b143ab8012d34c70006aa5508000a00f027..."} 
[2026-09-04 11:57:05] local.INFO: Packet analysis {"connection_id":170612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:57:05] local.INFO: Extracted packet for processing {"connection_id":170612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826184,"longitude_deg":75.8433536,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 11:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856735744001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788502883000,"timestamp_ms":1788502883000,"timestamp_seconds":1788502883,"priority":1,"record_length":96,"hex_timestamp":"000001a06b143ab8"} 
[2026-09-04 11:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 11:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856735744001,"66":28082,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856735744001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:57:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 11:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856735744001,"power":28082,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 11:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":170612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762032,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:57:06] local.INFO: GPS data processed {"connection_id":170612,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:57:06] local.INFO: Acknowledgment sent {"connection_id":170612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:57:06] local.INFO: TCP Data received {"connection_id":170907,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:57:06] local.INFO: Processing buffer {"connection_id":170907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:57:06] local.INFO: IMEI packet received {"connection_id":170907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":170907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:57:10] local.INFO: TCP Data received {"connection_id":170907,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:57:10] local.INFO: Processing buffer {"connection_id":170907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:57:10] local.INFO: IMEI packet received {"connection_id":170907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":170907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:57:17] local.INFO: TCP Data received {"connection_id":170907,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:57:17] local.INFO: Processing buffer {"connection_id":170907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1459f8012cd4af4007377b00000f00e92a..."} 
[2026-09-04 11:57:17] local.INFO: Packet analysis {"connection_id":170907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:57:17] local.INFO: Extracted packet for processing {"connection_id":170907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b14"} 
[2026-09-04 11:57:17] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856663040001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788502891000,"timestamp_ms":1788502891000,"timestamp_seconds":1788502891,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1459f8"} 
[2026-09-04 11:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 11:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":170907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":170907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":170907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856663040001,"66":25941,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856663040001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:57:17] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:57:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:57:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856663040001,"power":25941,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":170907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:57:17] local.INFO: GPS data processed {"connection_id":170907,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:57:17] local.INFO: Acknowledgment sent {"connection_id":170907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:57:28] local.INFO: TCP Data received {"connection_id":170907,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:57:28] local.INFO: Processing buffer {"connection_id":170907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:57:28] local.INFO: Packet analysis {"connection_id":170907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:57:28] local.INFO: Extracted packet for processing {"connection_id":170907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:57:28] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856740096001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788503192000,"timestamp_ms":1788503192000,"timestamp_seconds":1788503192,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18f1c0"} 
[2026-09-04 11:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 11:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856740096001,"66":25875,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856740096001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:57:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:57:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856740096001,"power":25875,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":170907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:57:28] local.INFO: GPS data processed {"connection_id":170907,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:57:28] local.INFO: Acknowledgment sent {"connection_id":170907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:57:49] local.INFO: TCP Data received {"connection_id":173310,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:57:49] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:57:49] local.INFO: IMEI packet received {"connection_id":173310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":173310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:57:52] local.INFO: TCP Data received {"connection_id":173309,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:57:52] local.INFO: Processing buffer {"connection_id":173309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:57:52] local.INFO: IMEI packet received {"connection_id":173309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":173309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:57:54] local.INFO: TCP Data received {"connection_id":173310,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:57:54] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:57:54] local.INFO: IMEI packet received {"connection_id":173310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":173310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:57:54] local.INFO: TCP Data received {"connection_id":173309,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:57:55] local.INFO: Processing buffer {"connection_id":173309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:57:55] local.INFO: IMEI packet received {"connection_id":173309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":173309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:57:59] local.INFO: TCP Data received {"connection_id":172017,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:57:59] local.INFO: Processing buffer {"connection_id":172017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:57:59] local.INFO: IMEI packet received {"connection_id":172017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":172017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:58:02] local.INFO: TCP Data received {"connection_id":173309,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:58:02] local.INFO: Processing buffer {"connection_id":173309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:58:02] local.INFO: Packet analysis {"connection_id":173309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:58:02] local.INFO: Extracted packet for processing {"connection_id":173309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:58:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 11:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856738048001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788503187000,"timestamp_ms":1788503187000,"timestamp_seconds":1788503187,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18de38"} 
[2026-09-04 11:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856738048001,"66":26060,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856738048001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:58:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:58:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 11:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856738048001,"power":26060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 11:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":173309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:58:02] local.INFO: GPS data processed {"connection_id":173309,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:58:02] local.INFO: Acknowledgment sent {"connection_id":173309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:58:02] local.INFO: TCP Data received {"connection_id":173310,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b15e098012d1822800721b4e0004800d530..."} 
[2026-09-04 11:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b15e098012d1822800721b4e0004800d530..."} 
[2026-09-04 11:58:02] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b15e098012d1822800721b4e0004800d530..."} 
[2026-09-04 11:58:02] local.INFO: Packet analysis {"connection_id":173310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b15"} 
[2026-09-04 11:58:02] local.INFO: Extracted packet for processing {"connection_id":173310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b15"} 
[2026-09-04 11:58:02] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 11:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856760320001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679081472,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788502991000,"timestamp_ms":1788502991000,"timestamp_seconds":1788502991,"priority":1,"record_length":96,"hex_timestamp":"000001a06b15e098"} 
[2026-09-04 11:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-04 11:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856760320001,"66":12776,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739796861679081472},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856760320001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:58:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:58:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679081472,"description":"Unknown IO ID 45"} 
[2026-09-04 11:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856760320001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739796861679081472}} 
[2026-09-04 11:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":173310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:58:02] local.INFO: GPS data processed {"connection_id":173310,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:58:02] local.INFO: Acknowledgment sent {"connection_id":173310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:58:04] local.INFO: TCP Data received {"connection_id":173309,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:58:04] local.INFO: Processing buffer {"connection_id":173309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:58:04] local.INFO: Packet analysis {"connection_id":173309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:58:04] local.INFO: Extracted packet for processing {"connection_id":173309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:58:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 11:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856738048001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788503187000,"timestamp_ms":1788503187000,"timestamp_seconds":1788503187,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18de38"} 
[2026-09-04 11:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856738048001,"66":26060,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856738048001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:58:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:58:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 11:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856738048001,"power":26060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 11:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":173309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762037,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:58:04] local.INFO: GPS data processed {"connection_id":173309,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:58:04] local.INFO: Acknowledgment sent {"connection_id":173309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:58:05] local.INFO: TCP Data received {"connection_id":172017,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:58:05] local.INFO: Processing buffer {"connection_id":172017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:58:05] local.INFO: IMEI packet received {"connection_id":172017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":172017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:58:06] local.INFO: TCP Data received {"connection_id":172017,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:58:06] local.INFO: Processing buffer {"connection_id":172017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:58:06] local.INFO: Packet analysis {"connection_id":172017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:58:06] local.INFO: Extracted packet for processing {"connection_id":172017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:58:06] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856740096001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788503192000,"timestamp_ms":1788503192000,"timestamp_seconds":1788503192,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18f1c0"} 
[2026-09-04 11:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 11:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856740096001,"66":25875,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856740096001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:58:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:58:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856740096001,"power":25875,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":172017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:58:06] local.INFO: GPS data processed {"connection_id":172017,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:58:06] local.INFO: Acknowledgment sent {"connection_id":172017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:58:34] local.INFO: TCP Data received {"connection_id":173310,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1966f0012d1822800721b4e0004800d52d..."} 
[2026-09-04 11:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1966f0012d1822800721b4e0004800d52d..."} 
[2026-09-04 11:58:34] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1966f0012d1822800721b4e0004800d52d..."} 
[2026-09-04 11:58:34] local.INFO: Packet analysis {"connection_id":173310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b19"} 
[2026-09-04 11:58:34] local.INFO: Extracted packet for processing {"connection_id":173310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b19"} 
[2026-09-04 11:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 11:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856819456001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788503222000,"timestamp_ms":1788503222000,"timestamp_seconds":1788503222,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1966f0"} 
[2026-09-04 11:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-04 11:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856819456001,"66":12591,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856819456001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:58:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:58:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 11:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856819456001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 11:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":173310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:58:34] local.INFO: GPS data processed {"connection_id":173310,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:58:34] local.INFO: Acknowledgment sent {"connection_id":173310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:58:38] local.INFO: TCP Data received {"connection_id":172017,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:58:38] local.INFO: Processing buffer {"connection_id":172017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:58:38] local.INFO: Packet analysis {"connection_id":172017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:58:38] local.INFO: Extracted packet for processing {"connection_id":172017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:58:38] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856740096001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788503192000,"timestamp_ms":1788503192000,"timestamp_seconds":1788503192,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18f1c0"} 
[2026-09-04 11:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 11:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856740096001,"66":25875,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856740096001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:58:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:58:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856740096001,"power":25875,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":172017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:58:38] local.INFO: GPS data processed {"connection_id":172017,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:58:38] local.INFO: Acknowledgment sent {"connection_id":172017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:58:49] local.INFO: TCP Data received {"connection_id":170908,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:58:49] local.INFO: Processing buffer {"connection_id":170908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:58:49] local.INFO: IMEI packet received {"connection_id":170908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":170908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:58:50] local.INFO: TCP Data received {"connection_id":170909,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:58:50] local.INFO: Processing buffer {"connection_id":170909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:58:50] local.INFO: IMEI packet received {"connection_id":170909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":170909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:58:54] local.INFO: TCP Data received {"connection_id":170908,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:58:54] local.INFO: Processing buffer {"connection_id":170908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:58:54] local.INFO: IMEI packet received {"connection_id":170908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":170908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:58:54] local.INFO: TCP Data received {"connection_id":170909,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:58:54] local.INFO: Processing buffer {"connection_id":170909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:58:54] local.INFO: IMEI packet received {"connection_id":170909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":170909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:58:56] local.INFO: TCP Data received {"connection_id":170909,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:58:56] local.INFO: Processing buffer {"connection_id":170909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:58:56] local.INFO: Packet analysis {"connection_id":170909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:58:56] local.INFO: Extracted packet for processing {"connection_id":170909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:58:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 11:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856738048001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788503187000,"timestamp_ms":1788503187000,"timestamp_seconds":1788503187,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18de38"} 
[2026-09-04 11:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856738048001,"66":26060,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856738048001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:58:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:58:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 11:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856738048001,"power":26060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 11:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":170909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:58:56] local.INFO: GPS data processed {"connection_id":170909,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:58:56] local.INFO: Acknowledgment sent {"connection_id":170909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:58:57] local.INFO: TCP Data received {"connection_id":170908,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b19b8f8012d1822800721b4e0004800d52d..."} 
[2026-09-04 11:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b19b8f8012d1822800721b4e0004800d52d..."} 
[2026-09-04 11:58:57] local.INFO: Processing buffer {"connection_id":170908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b19b8f8012d1822800721b4e0004800d52d..."} 
[2026-09-04 11:58:57] local.INFO: Packet analysis {"connection_id":170908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b19"} 
[2026-09-04 11:58:57] local.INFO: Extracted packet for processing {"connection_id":170908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b19"} 
[2026-09-04 11:58:57] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 11:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856824832001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 11:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788503243000,"timestamp_ms":1788503243000,"timestamp_seconds":1788503243,"priority":1,"record_length":96,"hex_timestamp":"000001a06b19b8f8"} 
[2026-09-04 11:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 11:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":170908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":170908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":170908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856824832001,"66":12602,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856824832001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:58:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:58:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 11:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856824832001,"power":12602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 11:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":170908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:58:57] local.INFO: GPS data processed {"connection_id":170908,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:58:57] local.INFO: Acknowledgment sent {"connection_id":170908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:58:59] local.INFO: TCP Data received {"connection_id":173311,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:58:59] local.INFO: Processing buffer {"connection_id":173311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:58:59] local.INFO: IMEI packet received {"connection_id":173311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 11:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":173311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:59:05] local.INFO: TCP Data received {"connection_id":173311,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:59:05] local.INFO: Processing buffer {"connection_id":173311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 11:59:05] local.INFO: IMEI packet received {"connection_id":173311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 11:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":173311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:59:07] local.INFO: TCP Data received {"connection_id":173311,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:59:07] local.INFO: Processing buffer {"connection_id":173311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:59:07] local.INFO: Packet analysis {"connection_id":173311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:59:07] local.INFO: Extracted packet for processing {"connection_id":173311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:59:07] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856740096001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788503192000,"timestamp_ms":1788503192000,"timestamp_seconds":1788503192,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18f1c0"} 
[2026-09-04 11:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 11:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856740096001,"66":25875,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856740096001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:59:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:59:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856740096001,"power":25875,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":173311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:59:07] local.INFO: GPS data processed {"connection_id":173311,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:59:07] local.INFO: Acknowledgment sent {"connection_id":173311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:59:27] local.INFO: TCP Data received {"connection_id":170909,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:59:27] local.INFO: Processing buffer {"connection_id":170909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:59:27] local.INFO: Packet analysis {"connection_id":170909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:59:27] local.INFO: Extracted packet for processing {"connection_id":170909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:59:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 11:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856738048001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788503187000,"timestamp_ms":1788503187000,"timestamp_seconds":1788503187,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18de38"} 
[2026-09-04 11:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856738048001,"66":26060,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856738048001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:59:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:59:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 11:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856738048001,"power":26060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 11:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":170909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:59:28] local.INFO: GPS data processed {"connection_id":170909,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:59:28] local.INFO: Acknowledgment sent {"connection_id":170909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:59:28] local.INFO: TCP Data received {"connection_id":170908,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1a0b00012d1822800721b4e0004800d52e..."} 
[2026-09-04 11:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1a0b00012d1822800721b4e0004800d52e..."} 
[2026-09-04 11:59:28] local.INFO: Processing buffer {"connection_id":170908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1a0b00012d1822800721b4e0004800d52e..."} 
[2026-09-04 11:59:28] local.INFO: Packet analysis {"connection_id":170908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1a"} 
[2026-09-04 11:59:28] local.INFO: Extracted packet for processing {"connection_id":170908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1a"} 
[2026-09-04 11:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 11:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856830208001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788503264000,"timestamp_ms":1788503264000,"timestamp_seconds":1788503264,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1a0b00"} 
[2026-09-04 11:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-04 11:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856830208001,"66":12613,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856830208001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:59:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:59:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 11:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856830208001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 11:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":170908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:59:28] local.INFO: GPS data processed {"connection_id":170908,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:59:28] local.INFO: Acknowledgment sent {"connection_id":170908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:59:38] local.INFO: TCP Data received {"connection_id":173311,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:59:38] local.INFO: Processing buffer {"connection_id":173311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 11:59:38] local.INFO: Packet analysis {"connection_id":173311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:59:38] local.INFO: Extracted packet for processing {"connection_id":173311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:59:38] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 11:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856740096001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788503192000,"timestamp_ms":1788503192000,"timestamp_seconds":1788503192,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18f1c0"} 
[2026-09-04 11:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 11:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 11:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 11:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 11:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856740096001,"66":25875,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 11:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 11:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 11:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856740096001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:59:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 11:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 11:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:59:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 11:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856740096001,"power":25875,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 11:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":173311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:59:39] local.INFO: GPS data processed {"connection_id":173311,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:59:39] local.INFO: Acknowledgment sent {"connection_id":173311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:59:48] local.INFO: TCP Data received {"connection_id":173312,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:59:48] local.INFO: Processing buffer {"connection_id":173312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:59:48] local.INFO: IMEI packet received {"connection_id":173312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 11:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":173312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:59:49] local.INFO: TCP Data received {"connection_id":172018,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:59:49] local.INFO: Processing buffer {"connection_id":172018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:59:49] local.INFO: IMEI packet received {"connection_id":172018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 11:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":172018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 11:59:54] local.INFO: TCP Data received {"connection_id":173312,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:59:54] local.INFO: Processing buffer {"connection_id":173312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 11:59:54] local.INFO: IMEI packet received {"connection_id":173312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 11:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":173312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:59:54] local.INFO: TCP Data received {"connection_id":172018,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:59:54] local.INFO: Processing buffer {"connection_id":172018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 11:59:54] local.INFO: IMEI packet received {"connection_id":172018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 11:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":172018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 11:59:55] local.INFO: TCP Data received {"connection_id":173312,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1a5d08012d1822800721b4e0004800d52c..."} 
[2026-09-04 11:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1a5d08012d1822800721b4e0004800d52c..."} 
[2026-09-04 11:59:55] local.INFO: Processing buffer {"connection_id":173312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1a5d08012d1822800721b4e0004800d52c..."} 
[2026-09-04 11:59:55] local.INFO: Packet analysis {"connection_id":173312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1a"} 
[2026-09-04 11:59:55] local.INFO: Extracted packet for processing {"connection_id":173312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1a"} 
[2026-09-04 11:59:55] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 11:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856835584001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788503285000,"timestamp_ms":1788503285000,"timestamp_seconds":1788503285,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1a5d08"} 
[2026-09-04 11:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 11:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-04 11:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 11:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 11:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 11:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856835584001,"66":12591,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 11:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 11:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 11:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856835584001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:59:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 11:59:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 11:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 11:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856835584001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 11:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":173312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:59:55] local.INFO: GPS data processed {"connection_id":173312,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:59:55] local.INFO: Acknowledgment sent {"connection_id":173312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 11:59:55] local.INFO: TCP Data received {"connection_id":172018,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:59:55] local.INFO: Processing buffer {"connection_id":172018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 11:59:55] local.INFO: Packet analysis {"connection_id":172018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:59:55] local.INFO: Extracted packet for processing {"connection_id":172018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 11:59:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 11:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 11:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856738048001,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 11:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 11:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788503187000,"timestamp_ms":1788503187000,"timestamp_seconds":1788503187,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18de38"} 
[2026-09-04 11:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 11:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 11:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 11:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 11:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 11:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 11:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 11:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 11:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 11:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 11:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 11:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 11:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856738048001,"66":26060,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 11:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 11:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 11:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856738048001,"description":"Unknown IO ID 0"} 
[2026-09-04 11:59:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 11:59:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 11:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 11:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 11:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856738048001,"power":26060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 11:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":172018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 11:59:55] local.INFO: GPS data processed {"connection_id":172018,"processed":1,"errors":0,"total":1} 
[2026-09-04 11:59:55] local.INFO: Acknowledgment sent {"connection_id":172018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:00:05] local.INFO: TCP Data received {"connection_id":170910,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:00:05] local.INFO: Processing buffer {"connection_id":170910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:00:05] local.INFO: IMEI packet received {"connection_id":170910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":170910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:00:10] local.INFO: TCP Data received {"connection_id":170910,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:00:10] local.INFO: Processing buffer {"connection_id":170910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:00:10] local.INFO: IMEI packet received {"connection_id":170910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":170910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:00:11] local.INFO: TCP Data received {"connection_id":170910,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 12:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 12:00:11] local.INFO: Processing buffer {"connection_id":170910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 12:00:11] local.INFO: Packet analysis {"connection_id":170910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:00:11] local.INFO: Extracted packet for processing {"connection_id":170910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:00:11] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 12:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856740096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788503192000,"timestamp_ms":1788503192000,"timestamp_seconds":1788503192,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18f1c0"} 
[2026-09-04 12:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 12:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856740096001,"66":25875,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856740096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:00:11] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:00:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 12:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856740096001,"power":25875,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 12:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":170910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:00:11] local.INFO: GPS data processed {"connection_id":170910,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:00:11] local.INFO: Acknowledgment sent {"connection_id":170910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:00:15] local.INFO: TCP Data received {"connection_id":170910,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 12:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 12:00:15] local.INFO: Processing buffer {"connection_id":170910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 12:00:15] local.INFO: Packet analysis {"connection_id":170910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:00:15] local.INFO: Extracted packet for processing {"connection_id":170910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:00:15] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 12:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856740096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788503192000,"timestamp_ms":1788503192000,"timestamp_seconds":1788503192,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18f1c0"} 
[2026-09-04 12:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 12:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856740096001,"66":25875,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856740096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:00:15] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:00:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 12:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856740096001,"power":25875,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 12:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":170910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:00:15] local.INFO: GPS data processed {"connection_id":170910,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:00:15] local.INFO: Acknowledgment sent {"connection_id":170910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:00:27] local.INFO: TCP Data received {"connection_id":173312,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1aaf10012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1aaf10012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:00:27] local.INFO: Processing buffer {"connection_id":173312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1aaf10012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:00:27] local.INFO: Packet analysis {"connection_id":173312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1a"} 
[2026-09-04 12:00:27] local.INFO: Extracted packet for processing {"connection_id":173312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1a"} 
[2026-09-04 12:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 12:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856840960001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788503306000,"timestamp_ms":1788503306000,"timestamp_seconds":1788503306,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1aaf10"} 
[2026-09-04 12:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 12:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856840960001,"66":12558,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856840960001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:00:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:00:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 12:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856840960001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 12:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":173312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:00:27] local.INFO: GPS data processed {"connection_id":173312,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:00:27] local.INFO: Acknowledgment sent {"connection_id":173312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:00:27] local.INFO: TCP Data received {"connection_id":172018,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:00:27] local.INFO: Processing buffer {"connection_id":172018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:00:27] local.INFO: Packet analysis {"connection_id":172018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:00:27] local.INFO: Extracted packet for processing {"connection_id":172018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:00:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856738048001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788503187000,"timestamp_ms":1788503187000,"timestamp_seconds":1788503187,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18de38"} 
[2026-09-04 12:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 12:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856738048001,"66":26060,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856738048001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:00:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:00:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 12:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856738048001,"power":26060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 12:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":172018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:00:27] local.INFO: GPS data processed {"connection_id":172018,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:00:27] local.INFO: Acknowledgment sent {"connection_id":172018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:00:48] local.INFO: TCP Data received {"connection_id":172019,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:00:48] local.INFO: Processing buffer {"connection_id":172019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:00:48] local.INFO: IMEI packet received {"connection_id":172019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":172019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:00:49] local.INFO: TCP Data received {"connection_id":172019,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:00:49] local.INFO: Processing buffer {"connection_id":172019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:00:49] local.INFO: IMEI packet received {"connection_id":172019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":172019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:00:54] local.INFO: TCP Data received {"connection_id":172019,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:00:54] local.INFO: Processing buffer {"connection_id":172019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:00:54] local.INFO: IMEI packet received {"connection_id":172019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":172019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:00:54] local.INFO: TCP Data received {"connection_id":170613,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:00:54] local.INFO: Processing buffer {"connection_id":170613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:00:54] local.INFO: IMEI packet received {"connection_id":170613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":170613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:00:55] local.INFO: TCP Data received {"connection_id":172019,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1b0118012d1822800721b4e0004800d530..."} 
[2026-09-04 12:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1b0118012d1822800721b4e0004800d530..."} 
[2026-09-04 12:00:55] local.INFO: Processing buffer {"connection_id":172019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1b0118012d1822800721b4e0004800d530..."} 
[2026-09-04 12:00:55] local.INFO: Packet analysis {"connection_id":172019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1b"} 
[2026-09-04 12:00:55] local.INFO: Extracted packet for processing {"connection_id":172019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1b"} 
[2026-09-04 12:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 12:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856846336001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788503327000,"timestamp_ms":1788503327000,"timestamp_seconds":1788503327,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1b0118"} 
[2026-09-04 12:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 12:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385064418620640,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:55] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3034579016,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-04 12:00:55] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:55] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951028,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:55] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:55] local.WARNING: Large IO value detected {"io_id":67,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:55] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-04 12:00:55] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,1,160,93,45,128,180,72,44,10,66,11,46,184,240,58,107,33,4,113,205,20,34,224,239,49,2,61,7,231,67,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-04 12:00:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188381164276023296,"timestamp_seconds":5188381164276023.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 12:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856846336001,"66":12580,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856846336001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:00:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 12:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856846336001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 12:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":172019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:00:55] local.INFO: GPS data processed {"connection_id":172019,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:00:55] local.INFO: Acknowledgment sent {"connection_id":172019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:00:59] local.INFO: TCP Data received {"connection_id":170613,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:00:59] local.INFO: Processing buffer {"connection_id":170613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:00:59] local.INFO: IMEI packet received {"connection_id":170613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":170613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:01:00] local.INFO: TCP Data received {"connection_id":170911,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:01:00] local.INFO: Processing buffer {"connection_id":170911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:01:00] local.INFO: IMEI packet received {"connection_id":170911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":170911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:01:01] local.INFO: TCP Data received {"connection_id":170613,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:01:01] local.INFO: Processing buffer {"connection_id":170613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:01:01] local.INFO: Packet analysis {"connection_id":170613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:01:01] local.INFO: Extracted packet for processing {"connection_id":170613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:01:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856738048001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788503187000,"timestamp_ms":1788503187000,"timestamp_seconds":1788503187,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18de38"} 
[2026-09-04 12:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 12:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856738048001,"66":26060,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856738048001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:01:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:01:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 12:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856738048001,"power":26060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 12:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":170613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762054,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:01:01] local.INFO: GPS data processed {"connection_id":170613,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:01:01] local.INFO: Acknowledgment sent {"connection_id":170613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:01:04] local.INFO: TCP Data received {"connection_id":170613,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:01:04] local.INFO: Processing buffer {"connection_id":170613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:01:04] local.INFO: Packet analysis {"connection_id":170613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:01:04] local.INFO: Extracted packet for processing {"connection_id":170613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856738048001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788503187000,"timestamp_ms":1788503187000,"timestamp_seconds":1788503187,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18de38"} 
[2026-09-04 12:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 12:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856738048001,"66":26060,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856738048001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:01:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:01:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 12:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856738048001,"power":26060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 12:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":170613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762055,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:01:04] local.INFO: GPS data processed {"connection_id":170613,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:01:04] local.INFO: Acknowledgment sent {"connection_id":170613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:01:05] local.INFO: TCP Data received {"connection_id":170911,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:01:05] local.INFO: Processing buffer {"connection_id":170911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:01:05] local.INFO: IMEI packet received {"connection_id":170911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":170911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:01:10] local.INFO: TCP Data received {"connection_id":170911,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 12:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 12:01:10] local.INFO: Processing buffer {"connection_id":170911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 12:01:10] local.INFO: Packet analysis {"connection_id":170911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:01:10] local.INFO: Extracted packet for processing {"connection_id":170911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:01:10] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 12:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856740096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788503192000,"timestamp_ms":1788503192000,"timestamp_seconds":1788503192,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18f1c0"} 
[2026-09-04 12:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 12:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856740096001,"66":25875,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856740096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:01:10] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 12:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856740096001,"power":25875,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 12:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":170911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:01:10] local.INFO: GPS data processed {"connection_id":170911,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:01:10] local.INFO: Acknowledgment sent {"connection_id":170911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:01:14] local.INFO: TCP Data received {"connection_id":170911,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 12:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 12:01:14] local.INFO: Processing buffer {"connection_id":170911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18f1c0012cd4af4007377b00000f00e927..."} 
[2026-09-04 12:01:14] local.INFO: Packet analysis {"connection_id":170911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:01:14] local.INFO: Extracted packet for processing {"connection_id":170911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:01:14] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 12:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856740096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788503192000,"timestamp_ms":1788503192000,"timestamp_seconds":1788503192,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18f1c0"} 
[2026-09-04 12:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 12:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":170911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":170911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":170911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856740096001,"66":25875,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856740096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:01:14] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:01:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 12:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856740096001,"power":25875,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 12:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":170911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:01:14] local.INFO: GPS data processed {"connection_id":170911,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:01:14] local.INFO: Acknowledgment sent {"connection_id":170911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:01:26] local.INFO: TCP Data received {"connection_id":172019,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1b5320012d1822800721b4e0004800d52f..."} 
[2026-09-04 12:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1b5320012d1822800721b4e0004800d52f..."} 
[2026-09-04 12:01:26] local.INFO: Processing buffer {"connection_id":172019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1b5320012d1822800721b4e0004800d52f..."} 
[2026-09-04 12:01:26] local.INFO: Packet analysis {"connection_id":172019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1b"} 
[2026-09-04 12:01:26] local.INFO: Extracted packet for processing {"connection_id":172019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1b"} 
[2026-09-04 12:01:26] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 12:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856851712001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788503348000,"timestamp_ms":1788503348000,"timestamp_seconds":1788503348,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1b5320"} 
[2026-09-04 12:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-04 12:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856851712001,"66":12558,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856851712001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:01:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:01:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 12:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856851712001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 12:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":172019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:01:26] local.INFO: GPS data processed {"connection_id":172019,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:01:26] local.INFO: Acknowledgment sent {"connection_id":172019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:01:49] local.INFO: TCP Data received {"connection_id":170912,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:01:49] local.INFO: Processing buffer {"connection_id":170912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:01:49] local.INFO: IMEI packet received {"connection_id":170912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":170912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:01:49] local.INFO: TCP Data received {"connection_id":170913,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:01:49] local.INFO: Processing buffer {"connection_id":170913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:01:49] local.INFO: IMEI packet received {"connection_id":170913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":170913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:01:53] local.INFO: TCP Data received {"connection_id":170912,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:01:53] local.INFO: Processing buffer {"connection_id":170912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:01:53] local.INFO: IMEI packet received {"connection_id":170912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":170912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:01:54] local.INFO: TCP Data received {"connection_id":170912,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1ba528012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1ba528012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:01:54] local.INFO: Processing buffer {"connection_id":170912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1ba528012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:01:54] local.INFO: Packet analysis {"connection_id":170912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1b"} 
[2026-09-04 12:01:54] local.INFO: Extracted packet for processing {"connection_id":170912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1b"} 
[2026-09-04 12:01:54] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 12:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856857088001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788503369000,"timestamp_ms":1788503369000,"timestamp_seconds":1788503369,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1ba528"} 
[2026-09-04 12:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 12:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385064418620640,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:54] local.WARNING: Large IO value detected {"io_id":66,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:54] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3034579016,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-04 12:01:54] local.WARNING: Large IO value detected {"io_id":184,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:54] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951028,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:54] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:54] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:54] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,1,160,45,128,180,72,48,10,66,175,46,93,240,47,107,33,4,113,205,184,34,224,239,49,2,61,7,231,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-04 12:01:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188381168570990592,"timestamp_seconds":5188381168570991.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 12:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856857088001,"66":12558,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856857088001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:01:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:01:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 12:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856857088001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 12:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":170912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:01:54] local.INFO: GPS data processed {"connection_id":170912,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:01:54] local.INFO: Acknowledgment sent {"connection_id":170912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:01:54] local.INFO: TCP Data received {"connection_id":170913,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:01:54] local.INFO: Processing buffer {"connection_id":170913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:01:54] local.INFO: IMEI packet received {"connection_id":170913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":170913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:01:55] local.INFO: TCP Data received {"connection_id":170913,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:01:55] local.INFO: Processing buffer {"connection_id":170913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b18de38012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:01:55] local.INFO: Packet analysis {"connection_id":170913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:01:55] local.INFO: Extracted packet for processing {"connection_id":170913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b18"} 
[2026-09-04 12:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856738048001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 12:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788503187000,"timestamp_ms":1788503187000,"timestamp_seconds":1788503187,"priority":1,"record_length":96,"hex_timestamp":"000001a06b18de38"} 
[2026-09-04 12:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 12:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856738048001,"66":26060,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856738048001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:01:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 12:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856738048001,"power":26060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 12:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":170913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762060,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:01:56] local.INFO: GPS data processed {"connection_id":170913,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:01:56] local.INFO: Acknowledgment sent {"connection_id":170913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:02:00] local.INFO: TCP Data received {"connection_id":173313,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:02:00] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:02:00] local.INFO: IMEI packet received {"connection_id":173313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":173313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:02:04] local.INFO: TCP Data received {"connection_id":173313,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:02:04] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:02:04] local.INFO: IMEI packet received {"connection_id":173313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":173313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:02:06] local.INFO: TCP Data received {"connection_id":173313,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1d4338012cd4af4007377b00000f00e92b..."} 
[2026-09-04 12:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1d4338012cd4af4007377b00000f00e92b..."} 
[2026-09-04 12:02:06] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1d4338012cd4af4007377b00000f00e92b..."} 
[2026-09-04 12:02:06] local.INFO: Packet analysis {"connection_id":173313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:02:06] local.INFO: Extracted packet for processing {"connection_id":173313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:02:06] local.INFO: GPS Element Parsed {"raw_longitude":752136000,"raw_latitude":121076480,"longitude_deg":75.2136,"latitude_deg":12.107648,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4af40","hex_latitude":"07377b00","is_valid_coordinates":true} 
[2026-09-04 12:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856817152001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788503475000,"timestamp_ms":1788503475000,"timestamp_seconds":1788503475,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1d4338"} 
[2026-09-04 12:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 12:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856817152001,"66":25875,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856817152001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:02:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 12:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856817152001,"power":25875,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 12:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":173313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:02:06] local.INFO: GPS data processed {"connection_id":173313,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:02:06] local.INFO: Acknowledgment sent {"connection_id":173313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:02:26] local.INFO: TCP Data received {"connection_id":170912,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1bf730012d1822800721b4e0004800d52d..."} 
[2026-09-04 12:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1bf730012d1822800721b4e0004800d52d..."} 
[2026-09-04 12:02:26] local.INFO: Processing buffer {"connection_id":170912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1bf730012d1822800721b4e0004800d52d..."} 
[2026-09-04 12:02:26] local.INFO: Packet analysis {"connection_id":170912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1b"} 
[2026-09-04 12:02:26] local.INFO: Extracted packet for processing {"connection_id":170912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1b"} 
[2026-09-04 12:02:26] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 12:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856862464001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788503390000,"timestamp_ms":1788503390000,"timestamp_seconds":1788503390,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1bf730"} 
[2026-09-04 12:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 12:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385064418620640,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:26] local.WARNING: Large IO value detected {"io_id":66,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:26] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3034579016,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-04 12:02:26] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951028,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:26] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:26] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:26] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,1,160,83,45,128,180,72,47,10,66,48,175,240,14,107,33,4,113,205,11,34,224,46,239,49,2,61,7,231,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-04 12:02:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188381164276023296,"timestamp_seconds":5188381164276023.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 12:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856862464001,"66":12537,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856862464001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:02:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:02:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 12:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856862464001,"power":12537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 12:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":170912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:02:26] local.INFO: GPS data processed {"connection_id":170912,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:02:26] local.INFO: Acknowledgment sent {"connection_id":170912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:02:27] local.INFO: TCP Data received {"connection_id":170913,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:02:27] local.INFO: Processing buffer {"connection_id":170913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:02:27] local.INFO: Packet analysis {"connection_id":170913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:02:27] local.INFO: Extracted packet for processing {"connection_id":170913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:02:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856815872001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788503488000,"timestamp_ms":1788503488000,"timestamp_seconds":1788503488,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1d7600"} 
[2026-09-04 12:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 12:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856815872001,"66":25897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856815872001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:02:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:02:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856815872001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":170913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762063,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:02:27] local.INFO: GPS data processed {"connection_id":170913,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:02:27] local.INFO: Acknowledgment sent {"connection_id":170913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:02:38] local.INFO: TCP Data received {"connection_id":173313,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1d9928012cd4aec007377a80000f00e92c..."} 
[2026-09-04 12:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1d9928012cd4aec007377a80000f00e92c..."} 
[2026-09-04 12:02:38] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1d9928012cd4aec007377a80000f00e92c..."} 
[2026-09-04 12:02:38] local.INFO: Packet analysis {"connection_id":173313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:02:38] local.INFO: Extracted packet for processing {"connection_id":173313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:02:38] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076352,"longitude_deg":75.2135872,"latitude_deg":12.1076352,"altitude":15,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a80","is_valid_coordinates":true} 
[2026-09-04 12:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856889600001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121205617004707840,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788503497000,"timestamp_ms":1788503497000,"timestamp_seconds":1788503497,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1d9928"} 
[2026-09-04 12:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 12:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856889600001,"66":27767,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121205617004707840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856889600001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:02:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:02:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121205617004707840,"description":"Unknown IO ID 44"} 
[2026-09-04 12:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856889600001,"power":27767,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121205617004707840}} 
[2026-09-04 12:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":173313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:02:38] local.INFO: GPS data processed {"connection_id":173313,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:02:38] local.INFO: Acknowledgment sent {"connection_id":173313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:02:49] local.INFO: TCP Data received {"connection_id":170915,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:02:49] local.INFO: Processing buffer {"connection_id":170915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:02:49] local.INFO: IMEI packet received {"connection_id":170915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":170915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:02:49] local.INFO: TCP Data received {"connection_id":170914,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:02:49] local.INFO: Processing buffer {"connection_id":170914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:02:49] local.INFO: IMEI packet received {"connection_id":170914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":170914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:02:54] local.INFO: TCP Data received {"connection_id":170914,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:02:54] local.INFO: Processing buffer {"connection_id":170914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:02:54] local.INFO: IMEI packet received {"connection_id":170914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":170914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:02:54] local.INFO: TCP Data received {"connection_id":170915,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:02:54] local.INFO: Processing buffer {"connection_id":170915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:02:54] local.INFO: IMEI packet received {"connection_id":170915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":170915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:02:55] local.INFO: TCP Data received {"connection_id":170914,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1c4938012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1c4938012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:02:55] local.INFO: Processing buffer {"connection_id":170914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1c4938012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:02:55] local.INFO: Packet analysis {"connection_id":170914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1c"} 
[2026-09-04 12:02:55] local.INFO: Extracted packet for processing {"connection_id":170914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1c"} 
[2026-09-04 12:02:55] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 12:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856867840001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788503411000,"timestamp_ms":1788503411000,"timestamp_seconds":1788503411,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1c4938"} 
[2026-09-04 12:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-04 12:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856867840001,"66":11852,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856867840001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:02:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:02:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 12:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856867840001,"power":11852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 12:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":170914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:02:55] local.INFO: GPS data processed {"connection_id":170914,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:02:55] local.INFO: Acknowledgment sent {"connection_id":170914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:02:55] local.INFO: TCP Data received {"connection_id":170915,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:02:55] local.INFO: Processing buffer {"connection_id":170915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:02:55] local.INFO: Packet analysis {"connection_id":170915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:02:55] local.INFO: Extracted packet for processing {"connection_id":170915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:02:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856815872001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788503488000,"timestamp_ms":1788503488000,"timestamp_seconds":1788503488,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1d7600"} 
[2026-09-04 12:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 12:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856815872001,"66":25897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856815872001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:02:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:02:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856815872001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":170915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762066,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:02:55] local.INFO: GPS data processed {"connection_id":170915,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:02:55] local.INFO: Acknowledgment sent {"connection_id":170915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:02:59] local.INFO: TCP Data received {"connection_id":170614,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:02:59] local.INFO: Processing buffer {"connection_id":170614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:02:59] local.INFO: IMEI packet received {"connection_id":170614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":170614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:03:05] local.INFO: TCP Data received {"connection_id":170614,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:03:05] local.INFO: Processing buffer {"connection_id":170614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:03:05] local.INFO: IMEI packet received {"connection_id":170614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":170614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:03:07] local.INFO: TCP Data received {"connection_id":170614,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1deb30012cd4aec007377a80000f00e92a..."} 
[2026-09-04 12:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1deb30012cd4aec007377a80000f00e92a..."} 
[2026-09-04 12:03:07] local.INFO: Processing buffer {"connection_id":170614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1deb30012cd4aec007377a80000f00e92a..."} 
[2026-09-04 12:03:07] local.INFO: Packet analysis {"connection_id":170614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:03:07] local.INFO: Extracted packet for processing {"connection_id":170614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:03:07] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076352,"longitude_deg":75.2135872,"latitude_deg":12.1076352,"altitude":15,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a80","is_valid_coordinates":true} 
[2026-09-04 12:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856895232001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493095936,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788503518000,"timestamp_ms":1788503518000,"timestamp_seconds":1788503518,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1deb30"} 
[2026-09-04 12:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856895232001,"66":27876,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121346354493095936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856895232001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:03:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:03:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493095936,"description":"Unknown IO ID 44"} 
[2026-09-04 12:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856895232001,"power":27876,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121346354493095936}} 
[2026-09-04 12:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":170614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:03:07] local.INFO: GPS data processed {"connection_id":170614,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:03:07] local.INFO: Acknowledgment sent {"connection_id":170614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:03:27] local.INFO: TCP Data received {"connection_id":170914,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1c9b40012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1c9b40012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:03:27] local.INFO: Processing buffer {"connection_id":170914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1c9b40012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:03:27] local.INFO: Packet analysis {"connection_id":170914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1c"} 
[2026-09-04 12:03:27] local.INFO: Extracted packet for processing {"connection_id":170914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1c"} 
[2026-09-04 12:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 12:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856873216001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788503432000,"timestamp_ms":1788503432000,"timestamp_seconds":1788503432,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1c9b40"} 
[2026-09-04 12:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-09-04 12:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856873216001,"66":12548,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856873216001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:03:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:03:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 12:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856873216001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 12:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":170914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:03:27] local.INFO: GPS data processed {"connection_id":170914,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:03:27] local.INFO: Acknowledgment sent {"connection_id":170914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:03:27] local.INFO: TCP Data received {"connection_id":170915,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:03:27] local.INFO: Processing buffer {"connection_id":170915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:03:27] local.INFO: Packet analysis {"connection_id":170915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:03:27] local.INFO: Extracted packet for processing {"connection_id":170915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:03:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856815872001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788503488000,"timestamp_ms":1788503488000,"timestamp_seconds":1788503488,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1d7600"} 
[2026-09-04 12:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 12:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856815872001,"66":25897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856815872001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:03:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:03:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856815872001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":170915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762069,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:03:27] local.INFO: GPS data processed {"connection_id":170915,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:03:27] local.INFO: Acknowledgment sent {"connection_id":170915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:03:40] local.INFO: TCP Data received {"connection_id":170614,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1e3d38012cd4aec007377a80000f00e928..."} 
[2026-09-04 12:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1e3d38012cd4aec007377a80000f00e928..."} 
[2026-09-04 12:03:40] local.INFO: Processing buffer {"connection_id":170614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1e3d38012cd4aec007377a80000f00e928..."} 
[2026-09-04 12:03:40] local.INFO: Packet analysis {"connection_id":170614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1e"} 
[2026-09-04 12:03:40] local.INFO: Extracted packet for processing {"connection_id":170614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1e"} 
[2026-09-04 12:03:40] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076352,"longitude_deg":75.2135872,"latitude_deg":12.1076352,"altitude":15,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a80","is_valid_coordinates":true} 
[2026-09-04 12:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856900608001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493095936,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788503539000,"timestamp_ms":1788503539000,"timestamp_seconds":1788503539,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1e3d38"} 
[2026-09-04 12:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 12:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856900608001,"66":27713,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121346354493095936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856900608001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:03:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:03:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493095936,"description":"Unknown IO ID 44"} 
[2026-09-04 12:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856900608001,"power":27713,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121346354493095936}} 
[2026-09-04 12:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":170614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:03:40] local.INFO: GPS data processed {"connection_id":170614,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:03:40] local.INFO: Acknowledgment sent {"connection_id":170614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:03:48] local.INFO: TCP Data received {"connection_id":172020,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:03:48] local.INFO: Processing buffer {"connection_id":172020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:03:48] local.INFO: IMEI packet received {"connection_id":172020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":172020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:03:49] local.INFO: TCP Data received {"connection_id":172021,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:03:49] local.INFO: Processing buffer {"connection_id":172021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:03:49] local.INFO: IMEI packet received {"connection_id":172021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":172021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:03:54] local.INFO: TCP Data received {"connection_id":172020,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:03:54] local.INFO: Processing buffer {"connection_id":172020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:03:54] local.INFO: IMEI packet received {"connection_id":172020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":172020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:03:54] local.INFO: TCP Data received {"connection_id":172021,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:03:54] local.INFO: Processing buffer {"connection_id":172021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:03:54] local.INFO: IMEI packet received {"connection_id":172021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":172021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:03:55] local.INFO: TCP Data received {"connection_id":172020,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1ced48012d1822800721b4e0004800d530..."} 
[2026-09-04 12:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1ced48012d1822800721b4e0004800d530..."} 
[2026-09-04 12:03:55] local.INFO: Processing buffer {"connection_id":172020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1ced48012d1822800721b4e0004800d530..."} 
[2026-09-04 12:03:55] local.INFO: Packet analysis {"connection_id":172020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1c"} 
[2026-09-04 12:03:55] local.INFO: Extracted packet for processing {"connection_id":172020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1c"} 
[2026-09-04 12:03:55] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 12:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856878592001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788503453000,"timestamp_ms":1788503453000,"timestamp_seconds":1788503453,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1ced48"} 
[2026-09-04 12:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 12:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:55] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":12289,"corrected_to":0} 
[2026-09-04 12:03:55] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3034579016,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-04 12:03:55] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951028,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:55] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:55] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,1,160,73,45,128,180,72,46,10,66,247,165,240,14,107,33,4,113,205,34,224,48,239,49,2,61,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":247,"original":12289,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-04 12:03:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188381164276023296,"timestamp_seconds":5188381164276023.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 12:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856878592001,"66":12537,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856878592001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:03:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 12:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856878592001,"power":12537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 12:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":172020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:03:55] local.INFO: GPS data processed {"connection_id":172020,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:03:55] local.INFO: Acknowledgment sent {"connection_id":172020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:03:55] local.INFO: TCP Data received {"connection_id":172021,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:03:55] local.INFO: Processing buffer {"connection_id":172021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:03:55] local.INFO: Packet analysis {"connection_id":172021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:03:55] local.INFO: Extracted packet for processing {"connection_id":172021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:03:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856815872001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788503488000,"timestamp_ms":1788503488000,"timestamp_seconds":1788503488,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1d7600"} 
[2026-09-04 12:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 12:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856815872001,"66":25897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856815872001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:03:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856815872001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":172021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:03:55] local.INFO: GPS data processed {"connection_id":172021,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:03:55] local.INFO: Acknowledgment sent {"connection_id":172021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:03:59] local.INFO: TCP Data received {"connection_id":170916,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:03:59] local.INFO: Processing buffer {"connection_id":170916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:03:59] local.INFO: IMEI packet received {"connection_id":170916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":170916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:04:02] local.INFO: TCP Data received {"connection_id":170916,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:04:02] local.INFO: Processing buffer {"connection_id":170916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:04:02] local.INFO: IMEI packet received {"connection_id":170916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":170916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:04:06] local.INFO: TCP Data received {"connection_id":170916,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:04:06] local.INFO: Processing buffer {"connection_id":170916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:04:06] local.INFO: IMEI packet received {"connection_id":170916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":170916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:04:09] local.INFO: TCP Data received {"connection_id":170916,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1e8f40012cd4aec007377a80000f00e929..."} 
[2026-09-04 12:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1e8f40012cd4aec007377a80000f00e929..."} 
[2026-09-04 12:04:09] local.INFO: Processing buffer {"connection_id":170916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1e8f40012cd4aec007377a80000f00e929..."} 
[2026-09-04 12:04:09] local.INFO: Packet analysis {"connection_id":170916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1e"} 
[2026-09-04 12:04:09] local.INFO: Extracted packet for processing {"connection_id":170916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1e"} 
[2026-09-04 12:04:09] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076352,"longitude_deg":75.2135872,"latitude_deg":12.1076352,"altitude":15,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a80","is_valid_coordinates":true} 
[2026-09-04 12:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856905984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493095936,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788503560000,"timestamp_ms":1788503560000,"timestamp_seconds":1788503560,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1e8f40"} 
[2026-09-04 12:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 12:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856905984001,"66":27821,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121346354493095936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856905984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:04:09] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:04:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:04:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493095936,"description":"Unknown IO ID 44"} 
[2026-09-04 12:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856905984001,"power":27821,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121346354493095936}} 
[2026-09-04 12:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":170916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:04:09] local.INFO: GPS data processed {"connection_id":170916,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:04:09] local.INFO: Acknowledgment sent {"connection_id":170916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:04:27] local.INFO: TCP Data received {"connection_id":172020,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1d3f50012d1822800721b4e0004800d52d..."} 
[2026-09-04 12:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1d3f50012d1822800721b4e0004800d52d..."} 
[2026-09-04 12:04:27] local.INFO: Processing buffer {"connection_id":172020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1d3f50012d1822800721b4e0004800d52d..."} 
[2026-09-04 12:04:27] local.INFO: Packet analysis {"connection_id":172020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:04:27] local.INFO: Extracted packet for processing {"connection_id":172020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 12:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856883968001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788503474000,"timestamp_ms":1788503474000,"timestamp_seconds":1788503474,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1d3f50"} 
[2026-09-04 12:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-04 12:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856883968001,"66":12461,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856883968001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:04:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:04:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 12:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856883968001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 12:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":172020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:04:27] local.INFO: GPS data processed {"connection_id":172020,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:04:27] local.INFO: Acknowledgment sent {"connection_id":172020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:04:27] local.INFO: TCP Data received {"connection_id":172021,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:04:27] local.INFO: Processing buffer {"connection_id":172021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:04:27] local.INFO: Packet analysis {"connection_id":172021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:04:27] local.INFO: Extracted packet for processing {"connection_id":172021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:04:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856815872001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788503488000,"timestamp_ms":1788503488000,"timestamp_seconds":1788503488,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1d7600"} 
[2026-09-04 12:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 12:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856815872001,"66":25897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856815872001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:04:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:04:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856815872001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":172021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762075,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:04:27] local.INFO: GPS data processed {"connection_id":172021,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:04:27] local.INFO: Acknowledgment sent {"connection_id":172021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:04:42] local.INFO: TCP Data received {"connection_id":170916,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1ee148012cd4aec007377a80000f00e92b..."} 
[2026-09-04 12:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1ee148012cd4aec007377a80000f00e92b..."} 
[2026-09-04 12:04:42] local.INFO: Processing buffer {"connection_id":170916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1ee148012cd4aec007377a80000f00e92b..."} 
[2026-09-04 12:04:42] local.INFO: Packet analysis {"connection_id":170916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1e"} 
[2026-09-04 12:04:42] local.INFO: Extracted packet for processing {"connection_id":170916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1e"} 
[2026-09-04 12:04:42] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076352,"longitude_deg":75.2135872,"latitude_deg":12.1076352,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a80","is_valid_coordinates":true} 
[2026-09-04 12:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856911360001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493095936,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788503581000,"timestamp_ms":1788503581000,"timestamp_seconds":1788503581,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1ee148"} 
[2026-09-04 12:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 12:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856911360001,"66":27800,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121346354493095936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856911360001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:04:42] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493095936,"description":"Unknown IO ID 44"} 
[2026-09-04 12:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856911360001,"power":27800,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121346354493095936}} 
[2026-09-04 12:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":170916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:04:42] local.INFO: GPS data processed {"connection_id":170916,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:04:42] local.INFO: Acknowledgment sent {"connection_id":170916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:04:48] local.INFO: TCP Data received {"connection_id":170615,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:04:48] local.INFO: Processing buffer {"connection_id":170615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:04:48] local.INFO: IMEI packet received {"connection_id":170615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":170615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:04:53] local.INFO: TCP Data received {"connection_id":170615,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:04:53] local.INFO: Processing buffer {"connection_id":170615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:04:53] local.INFO: IMEI packet received {"connection_id":170615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":170615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:04:54] local.INFO: TCP Data received {"connection_id":173314,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:04:54] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:04:54] local.INFO: IMEI packet received {"connection_id":173314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":173314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:04:56] local.INFO: TCP Data received {"connection_id":170615,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1d9158012d1822800721b4e0004800d52d..."} 
[2026-09-04 12:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1d9158012d1822800721b4e0004800d52d..."} 
[2026-09-04 12:04:56] local.INFO: Processing buffer {"connection_id":170615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1d9158012d1822800721b4e0004800d52d..."} 
[2026-09-04 12:04:56] local.INFO: Packet analysis {"connection_id":170615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:04:56] local.INFO: Extracted packet for processing {"connection_id":170615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 12:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856889344001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788503495000,"timestamp_ms":1788503495000,"timestamp_seconds":1788503495,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1d9158"} 
[2026-09-04 12:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 12:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856889344001,"66":12504,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856889344001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:04:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:04:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 12:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856889344001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 12:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":170615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:04:56] local.INFO: GPS data processed {"connection_id":170615,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:04:56] local.INFO: Acknowledgment sent {"connection_id":170615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:04:59] local.INFO: TCP Data received {"connection_id":170615,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1de360012d1822800721b4e0004800d52f..."} 
[2026-09-04 12:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1de360012d1822800721b4e0004800d52f..."} 
[2026-09-04 12:04:59] local.INFO: Processing buffer {"connection_id":170615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1de360012d1822800721b4e0004800d52f..."} 
[2026-09-04 12:04:59] local.INFO: Packet analysis {"connection_id":170615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:04:59] local.INFO: Extracted packet for processing {"connection_id":170615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 12:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856894720001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788503516000,"timestamp_ms":1788503516000,"timestamp_seconds":1788503516,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1de360"} 
[2026-09-04 12:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 12:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856894720001,"66":12504,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856894720001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:04:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 12:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856894720001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 12:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":170615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:04:59] local.INFO: GPS data processed {"connection_id":170615,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:04:59] local.INFO: Acknowledgment sent {"connection_id":170615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:04:59] local.INFO: TCP Data received {"connection_id":173314,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:04:59] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:04:59] local.INFO: IMEI packet received {"connection_id":173314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":173314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:05:01] local.INFO: TCP Data received {"connection_id":173314,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:05:01] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:05:01] local.INFO: Packet analysis {"connection_id":173314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:05:01] local.INFO: Extracted packet for processing {"connection_id":173314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:05:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856815872001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788503488000,"timestamp_ms":1788503488000,"timestamp_seconds":1788503488,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1d7600"} 
[2026-09-04 12:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 12:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856815872001,"66":25897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856815872001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:05:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:05:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856815872001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":173314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:05:02] local.INFO: GPS data processed {"connection_id":173314,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:05:02] local.INFO: Acknowledgment sent {"connection_id":173314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:05:03] local.INFO: TCP Data received {"connection_id":172022,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:05:03] local.INFO: Processing buffer {"connection_id":172022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:05:03] local.INFO: IMEI packet received {"connection_id":172022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":172022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:05:04] local.INFO: TCP Data received {"connection_id":172022,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:05:04] local.INFO: Processing buffer {"connection_id":172022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:05:04] local.INFO: IMEI packet received {"connection_id":172022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":172022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:05:05] local.INFO: TCP Data received {"connection_id":173314,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:05:05] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:05:05] local.INFO: Packet analysis {"connection_id":173314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:05:05] local.INFO: Extracted packet for processing {"connection_id":173314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856815872001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788503488000,"timestamp_ms":1788503488000,"timestamp_seconds":1788503488,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1d7600"} 
[2026-09-04 12:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 12:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856815872001,"66":25897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856815872001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:05:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:05:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856815872001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":173314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762080,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:05:05] local.INFO: GPS data processed {"connection_id":173314,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:05:05] local.INFO: Acknowledgment sent {"connection_id":173314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:05:06] local.INFO: TCP Data received {"connection_id":172022,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:05:06] local.INFO: Processing buffer {"connection_id":172022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:05:06] local.INFO: IMEI packet received {"connection_id":172022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":172022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:05:10] local.INFO: TCP Data received {"connection_id":172022,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:05:10] local.INFO: Processing buffer {"connection_id":172022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:05:10] local.INFO: IMEI packet received {"connection_id":172022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":172022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:05:12] local.INFO: TCP Data received {"connection_id":172022,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1f3350012cd4aec007377a80000f00e92b..."} 
[2026-09-04 12:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1f3350012cd4aec007377a80000f00e92b..."} 
[2026-09-04 12:05:12] local.INFO: Processing buffer {"connection_id":172022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1f3350012cd4aec007377a80000f00e92b..."} 
[2026-09-04 12:05:12] local.INFO: Packet analysis {"connection_id":172022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1f"} 
[2026-09-04 12:05:12] local.INFO: Extracted packet for processing {"connection_id":172022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1f"} 
[2026-09-04 12:05:12] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076352,"longitude_deg":75.2135872,"latitude_deg":12.1076352,"altitude":15,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a80","is_valid_coordinates":true} 
[2026-09-04 12:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856916736001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493095936,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788503602000,"timestamp_ms":1788503602000,"timestamp_seconds":1788503602,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1f3350"} 
[2026-09-04 12:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 12:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856916736001,"66":27919,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121346354493095936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856916736001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:05:12] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493095936,"description":"Unknown IO ID 44"} 
[2026-09-04 12:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856916736001,"power":27919,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121346354493095936}} 
[2026-09-04 12:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":172022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:05:12] local.INFO: GPS data processed {"connection_id":172022,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:05:12] local.INFO: Acknowledgment sent {"connection_id":172022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:05:15] local.INFO: TCP Data received {"connection_id":172022,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1f8558012cd4aec007377a80000f00e928..."} 
[2026-09-04 12:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1f8558012cd4aec007377a80000f00e928..."} 
[2026-09-04 12:05:15] local.INFO: Processing buffer {"connection_id":172022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1f8558012cd4aec007377a80000f00e928..."} 
[2026-09-04 12:05:15] local.INFO: Packet analysis {"connection_id":172022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1f"} 
[2026-09-04 12:05:15] local.INFO: Extracted packet for processing {"connection_id":172022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1f"} 
[2026-09-04 12:05:15] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076352,"longitude_deg":75.2135872,"latitude_deg":12.1076352,"altitude":15,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a80","is_valid_coordinates":true} 
[2026-09-04 12:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856922112001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493095936,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788503623000,"timestamp_ms":1788503623000,"timestamp_seconds":1788503623,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1f8558"} 
[2026-09-04 12:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 12:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856922112001,"66":27876,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121346354493095936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856922112001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:05:15] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493095936,"description":"Unknown IO ID 44"} 
[2026-09-04 12:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856922112001,"power":27876,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121346354493095936}} 
[2026-09-04 12:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":172022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:05:15] local.INFO: GPS data processed {"connection_id":172022,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:05:15] local.INFO: Acknowledgment sent {"connection_id":172022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:05:33] local.INFO: TCP Data received {"connection_id":170615,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1e3568012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1e3568012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:05:33] local.INFO: Processing buffer {"connection_id":170615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1e3568012d1822800721b4e0004800d52e..."} 
[2026-09-04 12:05:33] local.INFO: Packet analysis {"connection_id":170615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1e"} 
[2026-09-04 12:05:33] local.INFO: Extracted packet for processing {"connection_id":170615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1e"} 
[2026-09-04 12:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 12:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856900096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788503537000,"timestamp_ms":1788503537000,"timestamp_seconds":1788503537,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1e3568"} 
[2026-09-04 12:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 12:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":170615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":170615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":170615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856900096001,"66":11993,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856900096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:05:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:05:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 12:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856900096001,"power":11993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 12:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":170615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:05:33] local.INFO: GPS data processed {"connection_id":170615,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:05:33] local.INFO: Acknowledgment sent {"connection_id":170615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:05:49] local.INFO: TCP Data received {"connection_id":170917,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:05:49] local.INFO: Processing buffer {"connection_id":170917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:05:49] local.INFO: IMEI packet received {"connection_id":170917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":170917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:05:54] local.INFO: TCP Data received {"connection_id":170918,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:05:54] local.INFO: Processing buffer {"connection_id":170918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:05:54] local.INFO: IMEI packet received {"connection_id":170918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":170918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:05:54] local.INFO: TCP Data received {"connection_id":170917,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:05:54] local.INFO: Processing buffer {"connection_id":170917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:05:54] local.INFO: IMEI packet received {"connection_id":170917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":170917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:05:55] local.INFO: TCP Data received {"connection_id":170917,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:05:55] local.INFO: Processing buffer {"connection_id":170917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:05:55] local.INFO: Packet analysis {"connection_id":170917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:05:55] local.INFO: Extracted packet for processing {"connection_id":170917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:05:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856815872001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788503488000,"timestamp_ms":1788503488000,"timestamp_seconds":1788503488,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1d7600"} 
[2026-09-04 12:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 12:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856815872001,"66":25897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856815872001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:05:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:05:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856815872001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":170917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:05:55] local.INFO: GPS data processed {"connection_id":170917,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:05:55] local.INFO: Acknowledgment sent {"connection_id":170917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:05:58] local.INFO: TCP Data received {"connection_id":170918,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:05:58] local.INFO: Processing buffer {"connection_id":170918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:05:58] local.INFO: IMEI packet received {"connection_id":170918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":170918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:06:00] local.INFO: TCP Data received {"connection_id":170918,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1e8770012d1822800721b4e0004800d52f..."} 
[2026-09-04 12:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1e8770012d1822800721b4e0004800d52f..."} 
[2026-09-04 12:06:00] local.INFO: Processing buffer {"connection_id":170918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1e8770012d1822800721b4e0004800d52f..."} 
[2026-09-04 12:06:00] local.INFO: Packet analysis {"connection_id":170918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1e"} 
[2026-09-04 12:06:00] local.INFO: Extracted packet for processing {"connection_id":170918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1e"} 
[2026-09-04 12:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 12:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856905472001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788503558000,"timestamp_ms":1788503558000,"timestamp_seconds":1788503558,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1e8770"} 
[2026-09-04 12:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 12:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856905472001,"66":11895,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856905472001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:06:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 12:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856905472001,"power":11895,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 12:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":170918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:06:00] local.INFO: GPS data processed {"connection_id":170918,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:06:00] local.INFO: Acknowledgment sent {"connection_id":170918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:06:00] local.INFO: TCP Data received {"connection_id":173315,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:06:00] local.INFO: Processing buffer {"connection_id":173315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:06:00] local.INFO: IMEI packet received {"connection_id":173315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":173315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:06:04] local.INFO: TCP Data received {"connection_id":173315,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:06:04] local.INFO: Processing buffer {"connection_id":173315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:06:04] local.INFO: IMEI packet received {"connection_id":173315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":173315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:06:06] local.INFO: TCP Data received {"connection_id":173315,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1fd760012cd4aec007377a80000f00e927..."} 
[2026-09-04 12:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1fd760012cd4aec007377a80000f00e927..."} 
[2026-09-04 12:06:06] local.INFO: Processing buffer {"connection_id":173315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1fd760012cd4aec007377a80000f00e927..."} 
[2026-09-04 12:06:06] local.INFO: Packet analysis {"connection_id":173315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1f"} 
[2026-09-04 12:06:06] local.INFO: Extracted packet for processing {"connection_id":173315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1f"} 
[2026-09-04 12:06:06] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076352,"longitude_deg":75.2135872,"latitude_deg":12.1076352,"altitude":15,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a80","is_valid_coordinates":true} 
[2026-09-04 12:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856927488001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721955953803264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493095936,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788503644000,"timestamp_ms":1788503644000,"timestamp_seconds":1788503644,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1fd760"} 
[2026-09-04 12:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 12:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856927488001,"66":27843,"18":206,"83":43264,"24":0,"16":397721955953803264,"44":-3121346354493095936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856927488001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:06:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721955953803264,"km_value":397721955953803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493095936,"description":"Unknown IO ID 44"} 
[2026-09-04 12:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856927488001,"power":27843,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121346354493095936}} 
[2026-09-04 12:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":173315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:06:06] local.INFO: GPS data processed {"connection_id":173315,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:06:06] local.INFO: Acknowledgment sent {"connection_id":173315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:06:07] local.INFO: TCP Data received {"connection_id":170918,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1ed978012d1822800721b4e0004800d530..."} 
[2026-09-04 12:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1ed978012d1822800721b4e0004800d530..."} 
[2026-09-04 12:06:07] local.INFO: Processing buffer {"connection_id":170918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1ed978012d1822800721b4e0004800d530..."} 
[2026-09-04 12:06:07] local.INFO: Packet analysis {"connection_id":170918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1e"} 
[2026-09-04 12:06:07] local.INFO: Extracted packet for processing {"connection_id":170918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1e"} 
[2026-09-04 12:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649504,"longitude_deg":75.6556416,"latitude_deg":11.9649504,"altitude":72,"angle":213,"satellites":48,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-09-04 12:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856910848001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171725926006784,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237061120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788503579000,"timestamp_ms":1788503579000,"timestamp_seconds":1788503579,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1ed978"} 
[2026-09-04 12:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856910848001,"66":13820,"120":206,"28":31744,"24":0,"16":17171725926006784,"45":1739093174237061120},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856910848001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:06:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:06:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171725926006784,"km_value":17171725926006.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237061120,"description":"Unknown IO ID 45"} 
[2026-09-04 12:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856910848001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237061120}} 
[2026-09-04 12:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":170918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:06:07] local.INFO: GPS data processed {"connection_id":170918,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:06:07] local.INFO: Acknowledgment sent {"connection_id":170918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:06:10] local.INFO: TCP Data received {"connection_id":173315,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b202580012cd4ab0007377ad8000f01072b..."} 
[2026-09-04 12:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b202580012cd4ab0007377ad8000f01072b..."} 
[2026-09-04 12:06:10] local.INFO: Processing buffer {"connection_id":173315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b202580012cd4ab0007377ad8000f01072b..."} 
[2026-09-04 12:06:10] local.INFO: Packet analysis {"connection_id":173315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b20"} 
[2026-09-04 12:06:10] local.INFO: Extracted packet for processing {"connection_id":173315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b20"} 
[2026-09-04 12:06:10] local.INFO: GPS Element Parsed {"raw_longitude":752134912,"raw_latitude":121076440,"longitude_deg":75.2134912,"latitude_deg":12.107644,"altitude":15,"angle":263,"satellites":43,"speed":5,"hex_longitude":"2cd4ab00","hex_latitude":"07377ad8","is_valid_coordinates":true} 
[2026-09-04 12:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856932864001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397721998903476224,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493095936,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788503664000,"timestamp_ms":1788503664000,"timestamp_seconds":1788503664,"priority":1,"record_length":96,"hex_timestamp":"000001a06b202580"} 
[2026-09-04 12:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 12:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856932864001,"66":27767,"18":206,"83":43264,"24":5,"16":397721998903476224,"44":-3121346354493095936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856932864001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:06:10] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397721998903476224,"km_value":397721998903476.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493095936,"description":"Unknown IO ID 44"} 
[2026-09-04 12:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856932864001,"power":27767,"unknown_18":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3121346354493095936}} 
[2026-09-04 12:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":173315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:06:10] local.INFO: GPS data processed {"connection_id":173315,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:06:10] local.INFO: Acknowledgment sent {"connection_id":173315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:06:27] local.INFO: TCP Data received {"connection_id":170917,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:06:27] local.INFO: Processing buffer {"connection_id":170917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:06:27] local.INFO: Packet analysis {"connection_id":170917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:06:27] local.INFO: Extracted packet for processing {"connection_id":170917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:06:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856815872001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788503488000,"timestamp_ms":1788503488000,"timestamp_seconds":1788503488,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1d7600"} 
[2026-09-04 12:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 12:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856815872001,"66":25897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856815872001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:06:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:06:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856815872001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":170917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:06:27] local.INFO: GPS data processed {"connection_id":170917,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:06:27] local.INFO: Acknowledgment sent {"connection_id":170917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:06:43] local.INFO: TCP Data received {"connection_id":173315,"ip":"42.109.136.6","data_length":93,"data_hex":"00000000000000518e01000001a06b202968012cd4aa8007377aa0000f00f42c..."} 
[2026-09-04 12:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173315,"packet_length":93,"packet_hex":"00000000000000518e01000001a06b202968012cd4aa8007377aa0000f00f42c..."} 
[2026-09-04 12:06:43] local.INFO: Processing buffer {"connection_id":173315,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06b202968012cd4aa8007377aa0000f00f42c..."} 
[2026-09-04 12:06:43] local.INFO: Packet analysis {"connection_id":173315,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06b20"} 
[2026-09-04 12:06:43] local.INFO: Extracted packet for processing {"connection_id":173315,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06b20"} 
[2026-09-04 12:06:43] local.INFO: GPS Element Parsed {"raw_longitude":752134784,"raw_latitude":121076384,"longitude_deg":75.2134784,"latitude_deg":12.1076384,"altitude":15,"angle":244,"satellites":44,"speed":9,"hex_longitude":"2cd4aa80","hex_latitude":"07377aa0","is_valid_coordinates":true} 
[2026-09-04 12:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 12:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:06:43] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:06:43] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 12:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173315,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 12:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173315,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-04 12:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173315,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-04 12:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 12:06:43] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 12:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":173315,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 12:06:43] local.ERROR: GPS data processing failed {"connection_id":173315,"error":"No valid data to process"} 
[2026-09-04 12:06:43] local.INFO: Acknowledgment sent {"connection_id":173315,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 12:06:46] local.INFO: TCP Data received {"connection_id":172023,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:06:46] local.INFO: Processing buffer {"connection_id":172023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:06:46] local.INFO: IMEI packet received {"connection_id":172023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":172023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:06:48] local.INFO: TCP Data received {"connection_id":172023,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:06:48] local.INFO: Processing buffer {"connection_id":172023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:06:48] local.INFO: IMEI packet received {"connection_id":172023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":172023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:06:49] local.INFO: TCP Data received {"connection_id":172024,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:06:49] local.INFO: Processing buffer {"connection_id":172024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:06:49] local.INFO: IMEI packet received {"connection_id":172024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":172024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:06:54] local.INFO: TCP Data received {"connection_id":172023,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:06:54] local.INFO: Processing buffer {"connection_id":172023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:06:54] local.INFO: IMEI packet received {"connection_id":172023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":172023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:06:55] local.INFO: TCP Data received {"connection_id":172023,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2117b0012d1820000721b230004b00c431..."} 
[2026-09-04 12:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2117b0012d1820000721b230004b00c431..."} 
[2026-09-04 12:06:55] local.INFO: Processing buffer {"connection_id":172023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2117b0012d1820000721b230004b00c431..."} 
[2026-09-04 12:06:55] local.INFO: Packet analysis {"connection_id":172023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b21"} 
[2026-09-04 12:06:55] local.INFO: Extracted packet for processing {"connection_id":172023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b21"} 
[2026-09-04 12:06:55] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":75,"angle":196,"satellites":49,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-09-04 12:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856948480001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171768875679744,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-09-04 12:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788503726000,"timestamp_ms":1788503726000,"timestamp_seconds":1788503726,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2117b0"} 
[2026-09-04 12:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 12:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856948480001,"66":12504,"120":206,"28":31744,"24":0,"16":17171768875679744,"45":1738389486795108352},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856948480001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:06:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:06:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171768875679744,"km_value":17171768875679.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-09-04 12:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856948480001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-09-04 12:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":172023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:06:55] local.INFO: GPS data processed {"connection_id":172023,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:06:55] local.INFO: Acknowledgment sent {"connection_id":172023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:06:57] local.INFO: TCP Data received {"connection_id":170919,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:06:57] local.INFO: Processing buffer {"connection_id":170919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:06:57] local.INFO: IMEI packet received {"connection_id":170919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":170919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:06:59] local.INFO: TCP Data received {"connection_id":172024,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:06:59] local.INFO: Processing buffer {"connection_id":172024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:06:59] local.INFO: IMEI packet received {"connection_id":172024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":172024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:06:59] local.INFO: TCP Data received {"connection_id":170919,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:06:59] local.INFO: Processing buffer {"connection_id":170919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:06:59] local.INFO: IMEI packet received {"connection_id":170919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":170919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:07:00] local.INFO: TCP Data received {"connection_id":172024,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:07:00] local.INFO: Processing buffer {"connection_id":172024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b1d7600012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:07:00] local.INFO: Packet analysis {"connection_id":172024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:07:00] local.INFO: Extracted packet for processing {"connection_id":172024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b1d"} 
[2026-09-04 12:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856815872001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788503488000,"timestamp_ms":1788503488000,"timestamp_seconds":1788503488,"priority":1,"record_length":96,"hex_timestamp":"000001a06b1d7600"} 
[2026-09-04 12:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 12:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856815872001,"66":25897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856815872001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:07:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856815872001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":172024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762091,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:07:00] local.INFO: GPS data processed {"connection_id":172024,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:07:00] local.INFO: Acknowledgment sent {"connection_id":172024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:07:04] local.INFO: TCP Data received {"connection_id":170919,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:07:04] local.INFO: Processing buffer {"connection_id":170919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:07:04] local.INFO: IMEI packet received {"connection_id":170919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":170919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:07:08] local.INFO: TCP Data received {"connection_id":170919,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b206fb8012cd4898007376bf8001000fc2a..."} 
[2026-09-04 12:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b206fb8012cd4898007376bf8001000fc2a..."} 
[2026-09-04 12:07:08] local.INFO: Processing buffer {"connection_id":170919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b206fb8012cd4898007376bf8001000fc2a..."} 
[2026-09-04 12:07:08] local.INFO: Packet analysis {"connection_id":170919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b20"} 
[2026-09-04 12:07:08] local.INFO: Extracted packet for processing {"connection_id":170919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b20"} 
[2026-09-04 12:07:08] local.INFO: GPS Element Parsed {"raw_longitude":752126336,"raw_latitude":121072632,"longitude_deg":75.2126336,"latitude_deg":12.1072632,"altitude":16,"angle":252,"satellites":42,"speed":24,"hex_longitude":"2cd48980","hex_latitude":"07376bf8","is_valid_coordinates":true} 
[2026-09-04 12:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856938240001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397722445580075008,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144108032,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788503683000,"timestamp_ms":1788503683000,"timestamp_seconds":1788503683,"priority":1,"record_length":96,"hex_timestamp":"000001a06b206fb8"} 
[2026-09-04 12:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856938240001,"66":27930,"18":206,"83":43264,"24":24,"16":397722445580075008,"44":-3122542623144108032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856938240001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:07:08] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:07:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397722445580075008,"km_value":397722445580075.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:07:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144108032,"description":"Unknown IO ID 44"} 
[2026-09-04 12:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856938240001,"power":27930,"unknown_18":206,"unknown_83":43264,"ignition":24,"odometer":null,"unknown_44":-3122542623144108032}} 
[2026-09-04 12:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":170919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:07:08] local.INFO: GPS data processed {"connection_id":170919,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:07:08] local.INFO: Acknowledgment sent {"connection_id":170919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:07:27] local.INFO: TCP Data received {"connection_id":172023,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2169b8012d1820000721b230004b00c42f..."} 
[2026-09-04 12:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2169b8012d1820000721b230004b00c42f..."} 
[2026-09-04 12:07:27] local.INFO: Processing buffer {"connection_id":172023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2169b8012d1820000721b230004b00c42f..."} 
[2026-09-04 12:07:27] local.INFO: Packet analysis {"connection_id":172023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b21"} 
[2026-09-04 12:07:27] local.INFO: Extracted packet for processing {"connection_id":172023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b21"} 
[2026-09-04 12:07:27] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":75,"angle":196,"satellites":47,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-09-04 12:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856953856001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171768875679744,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788503747000,"timestamp_ms":1788503747000,"timestamp_seconds":1788503747,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2169b8"} 
[2026-09-04 12:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 12:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856953856001,"66":12461,"120":206,"28":31744,"24":0,"16":17171768875679744,"45":1738389486795108352},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856953856001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:07:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:07:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171768875679744,"km_value":17171768875679.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-09-04 12:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856953856001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-09-04 12:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":172023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:07:27] local.INFO: GPS data processed {"connection_id":172023,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:07:27] local.INFO: Acknowledgment sent {"connection_id":172023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:07:31] local.INFO: TCP Data received {"connection_id":172024,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:07:31] local.INFO: Processing buffer {"connection_id":172024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:07:31] local.INFO: Packet analysis {"connection_id":172024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:07:31] local.INFO: Extracted packet for processing {"connection_id":172024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856892928001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788503789000,"timestamp_ms":1788503789000,"timestamp_seconds":1788503789,"priority":1,"record_length":96,"hex_timestamp":"000001a06b220dc8"} 
[2026-09-04 12:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 12:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856892928001,"66":25745,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856892928001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:07:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856892928001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":172024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762094,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:07:31] local.INFO: GPS data processed {"connection_id":172024,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:07:31] local.INFO: Acknowledgment sent {"connection_id":172024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:07:40] local.INFO: TCP Data received {"connection_id":170919,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b209e98012cd473c0073765880010010829..."} 
[2026-09-04 12:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b209e98012cd473c0073765880010010829..."} 
[2026-09-04 12:07:40] local.INFO: Processing buffer {"connection_id":170919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b209e98012cd473c0073765880010010829..."} 
[2026-09-04 12:07:40] local.INFO: Packet analysis {"connection_id":170919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b20"} 
[2026-09-04 12:07:40] local.INFO: Extracted packet for processing {"connection_id":170919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b20"} 
[2026-09-04 12:07:40] local.INFO: GPS Element Parsed {"raw_longitude":752120768,"raw_latitude":121070984,"longitude_deg":75.2120768,"latitude_deg":12.1070984,"altitude":16,"angle":264,"satellites":41,"speed":5,"hex_longitude":"2cd473c0","hex_latitude":"07376588","is_valid_coordinates":true} 
[2026-09-04 12:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856942848001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397722724752949248,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3131831297376520192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788503695000,"timestamp_ms":1788503695000,"timestamp_seconds":1788503695,"priority":1,"record_length":96,"hex_timestamp":"000001a06b209e98"} 
[2026-09-04 12:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 12:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856942848001,"66":27908,"18":206,"83":43264,"24":5,"16":397722724752949248,"44":-3131831297376520192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-04 12:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856942848001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:07:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 12:07:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397722724752949248,"km_value":397722724752949.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:07:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3131831297376520192,"description":"Unknown IO ID 44"} 
[2026-09-04 12:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856942848001,"power":27908,"unknown_18":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3131831297376520192}} 
[2026-09-04 12:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":170919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:07:40] local.INFO: GPS data processed {"connection_id":170919,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:07:40] local.INFO: Acknowledgment sent {"connection_id":170919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:07:49] local.INFO: TCP Data received {"connection_id":172025,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:07:49] local.INFO: Processing buffer {"connection_id":172025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:07:49] local.INFO: IMEI packet received {"connection_id":172025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":172025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:07:49] local.INFO: TCP Data received {"connection_id":173316,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:07:49] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:07:49] local.INFO: IMEI packet received {"connection_id":173316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":173316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:07:50] local.INFO: TCP Data received {"connection_id":173316,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:07:50] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:07:50] local.INFO: IMEI packet received {"connection_id":173316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":173316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:07:54] local.INFO: TCP Data received {"connection_id":173316,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:07:54] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:07:54] local.INFO: IMEI packet received {"connection_id":173316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":173316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:07:54] local.INFO: TCP Data received {"connection_id":172025,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:07:54] local.INFO: Processing buffer {"connection_id":172025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:07:54] local.INFO: IMEI packet received {"connection_id":172025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":172025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:07:55] local.INFO: TCP Data received {"connection_id":173316,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b21bbc0012d1820000721b230004b00c42e..."} 
[2026-09-04 12:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b21bbc0012d1820000721b230004b00c42e..."} 
[2026-09-04 12:07:55] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b21bbc0012d1820000721b230004b00c42e..."} 
[2026-09-04 12:07:55] local.INFO: Packet analysis {"connection_id":173316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b21"} 
[2026-09-04 12:07:55] local.INFO: Extracted packet for processing {"connection_id":173316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b21"} 
[2026-09-04 12:07:55] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":75,"angle":196,"satellites":46,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-09-04 12:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856959232001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171768875679744,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788503768000,"timestamp_ms":1788503768000,"timestamp_seconds":1788503768,"priority":1,"record_length":96,"hex_timestamp":"000001a06b21bbc0"} 
[2026-09-04 12:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 12:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856959232001,"66":12504,"120":206,"28":31744,"24":0,"16":17171768875679744,"45":1738389486795108352},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856959232001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:07:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171768875679744,"km_value":17171768875679.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-09-04 12:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856959232001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-09-04 12:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":173316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:07:55] local.INFO: GPS data processed {"connection_id":173316,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:07:55] local.INFO: Acknowledgment sent {"connection_id":173316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:07:56] local.INFO: TCP Data received {"connection_id":172025,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:07:56] local.INFO: Processing buffer {"connection_id":172025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:07:56] local.INFO: Packet analysis {"connection_id":172025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:07:56] local.INFO: Extracted packet for processing {"connection_id":172025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:07:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856892928001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788503789000,"timestamp_ms":1788503789000,"timestamp_seconds":1788503789,"priority":1,"record_length":96,"hex_timestamp":"000001a06b220dc8"} 
[2026-09-04 12:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 12:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856892928001,"66":25745,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856892928001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:07:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:07:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856892928001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":172025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:07:56] local.INFO: GPS data processed {"connection_id":172025,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:07:56] local.INFO: Acknowledgment sent {"connection_id":172025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:07:58] local.INFO: TCP Data received {"connection_id":170616,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:07:58] local.INFO: Processing buffer {"connection_id":170616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:07:58] local.INFO: IMEI packet received {"connection_id":170616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":170616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:07:59] local.INFO: TCP Data received {"connection_id":170616,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:07:59] local.INFO: Processing buffer {"connection_id":170616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:07:59] local.INFO: IMEI packet received {"connection_id":170616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":170616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:07:59] local.INFO: TCP Data received {"connection_id":170616,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:07:59] local.INFO: Processing buffer {"connection_id":170616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:07:59] local.INFO: IMEI packet received {"connection_id":170616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":170616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:08:01] local.INFO: TCP Data received {"connection_id":170616,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:08:01] local.INFO: Processing buffer {"connection_id":170616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:08:01] local.INFO: IMEI packet received {"connection_id":170616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":170616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:08:27] local.INFO: TCP Data received {"connection_id":173316,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b220dc8012d1820000721b230004b00c431..."} 
[2026-09-04 12:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b220dc8012d1820000721b230004b00c431..."} 
[2026-09-04 12:08:27] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b220dc8012d1820000721b230004b00c431..."} 
[2026-09-04 12:08:27] local.INFO: Packet analysis {"connection_id":173316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:08:27] local.INFO: Extracted packet for processing {"connection_id":173316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":75,"angle":196,"satellites":49,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-09-04 12:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856964608001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171768875679744,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788503789000,"timestamp_ms":1788503789000,"timestamp_seconds":1788503789,"priority":1,"record_length":96,"hex_timestamp":"000001a06b220dc8"} 
[2026-09-04 12:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 12:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856964608001,"66":12504,"120":206,"28":31744,"24":0,"16":17171768875679744,"45":1738389486795108352},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856964608001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:08:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:08:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171768875679744,"km_value":17171768875679.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-09-04 12:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856964608001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-09-04 12:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":173316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:08:27] local.INFO: GPS data processed {"connection_id":173316,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:08:27] local.INFO: Acknowledgment sent {"connection_id":173316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:08:28] local.INFO: TCP Data received {"connection_id":172025,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:08:28] local.INFO: Processing buffer {"connection_id":172025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:08:28] local.INFO: Packet analysis {"connection_id":172025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:08:28] local.INFO: Extracted packet for processing {"connection_id":172025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:08:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856892928001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788503789000,"timestamp_ms":1788503789000,"timestamp_seconds":1788503789,"priority":1,"record_length":96,"hex_timestamp":"000001a06b220dc8"} 
[2026-09-04 12:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 12:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856892928001,"66":25745,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856892928001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:08:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856892928001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":172025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:08:28] local.INFO: GPS data processed {"connection_id":172025,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:08:28] local.INFO: Acknowledgment sent {"connection_id":172025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:08:48] local.INFO: TCP Data received {"connection_id":170617,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:08:48] local.INFO: Processing buffer {"connection_id":170617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:08:48] local.INFO: IMEI packet received {"connection_id":170617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":170617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:08:49] local.INFO: TCP Data received {"connection_id":173317,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:08:49] local.INFO: Processing buffer {"connection_id":173317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:08:49] local.INFO: IMEI packet received {"connection_id":173317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":173317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:08:52] local.INFO: TCP Data received {"connection_id":170617,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:08:52] local.INFO: Processing buffer {"connection_id":170617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:08:52] local.INFO: IMEI packet received {"connection_id":170617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":170617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:08:53] local.INFO: TCP Data received {"connection_id":170617,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:08:53] local.INFO: Processing buffer {"connection_id":170617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:08:53] local.INFO: IMEI packet received {"connection_id":170617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":170617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:08:54] local.INFO: TCP Data received {"connection_id":173317,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:08:54] local.INFO: Processing buffer {"connection_id":173317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:08:54] local.INFO: IMEI packet received {"connection_id":173317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":173317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:08:54] local.INFO: TCP Data received {"connection_id":170617,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b225fd0012d1820000721b230004b00c431..."} 
[2026-09-04 12:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b225fd0012d1820000721b230004b00c431..."} 
[2026-09-04 12:08:54] local.INFO: Processing buffer {"connection_id":170617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b225fd0012d1820000721b230004b00c431..."} 
[2026-09-04 12:08:54] local.INFO: Packet analysis {"connection_id":170617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:08:54] local.INFO: Extracted packet for processing {"connection_id":170617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:08:54] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":75,"angle":196,"satellites":49,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-09-04 12:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856969984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171768875679744,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788503810000,"timestamp_ms":1788503810000,"timestamp_seconds":1788503810,"priority":1,"record_length":96,"hex_timestamp":"000001a06b225fd0"} 
[2026-09-04 12:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 12:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856969984001,"66":12461,"120":206,"28":31744,"24":0,"16":17171768875679744,"45":1738389486795108352},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856969984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:08:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:08:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171768875679744,"km_value":17171768875679.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-09-04 12:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856969984001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-09-04 12:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":170617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:08:55] local.INFO: GPS data processed {"connection_id":170617,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:08:55] local.INFO: Acknowledgment sent {"connection_id":170617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:08:56] local.INFO: TCP Data received {"connection_id":173317,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:08:56] local.INFO: Processing buffer {"connection_id":173317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:08:56] local.INFO: Packet analysis {"connection_id":173317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:08:56] local.INFO: Extracted packet for processing {"connection_id":173317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:08:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856892928001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788503789000,"timestamp_ms":1788503789000,"timestamp_seconds":1788503789,"priority":1,"record_length":96,"hex_timestamp":"000001a06b220dc8"} 
[2026-09-04 12:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 12:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856892928001,"66":25745,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856892928001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:08:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:08:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856892928001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":173317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:08:56] local.INFO: GPS data processed {"connection_id":173317,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:08:56] local.INFO: Acknowledgment sent {"connection_id":173317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:08:59] local.INFO: TCP Data received {"connection_id":170617,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b22b1d8012d1820000721b230004b00c42f..."} 
[2026-09-04 12:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b22b1d8012d1820000721b230004b00c42f..."} 
[2026-09-04 12:08:59] local.INFO: Processing buffer {"connection_id":170617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b22b1d8012d1820000721b230004b00c42f..."} 
[2026-09-04 12:08:59] local.INFO: Packet analysis {"connection_id":170617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:08:59] local.INFO: Extracted packet for processing {"connection_id":170617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":75,"angle":196,"satellites":47,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-09-04 12:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856975360001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171768875679744,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-09-04 12:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788503831000,"timestamp_ms":1788503831000,"timestamp_seconds":1788503831,"priority":1,"record_length":96,"hex_timestamp":"000001a06b22b1d8"} 
[2026-09-04 12:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 12:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856975360001,"66":11852,"120":206,"28":31744,"24":0,"16":17171768875679744,"45":1738389486795108352},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856975360001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:08:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171768875679744,"km_value":17171768875679.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-09-04 12:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856975360001,"power":11852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-09-04 12:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":170617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:08:59] local.INFO: GPS data processed {"connection_id":170617,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:08:59] local.INFO: Acknowledgment sent {"connection_id":170617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:09:27] local.INFO: TCP Data received {"connection_id":173317,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:09:27] local.INFO: Processing buffer {"connection_id":173317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:09:27] local.INFO: Packet analysis {"connection_id":173317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:09:27] local.INFO: Extracted packet for processing {"connection_id":173317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:09:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856892928001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788503789000,"timestamp_ms":1788503789000,"timestamp_seconds":1788503789,"priority":1,"record_length":96,"hex_timestamp":"000001a06b220dc8"} 
[2026-09-04 12:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 12:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856892928001,"66":25745,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856892928001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:09:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:09:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856892928001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":173317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:09:27] local.INFO: GPS data processed {"connection_id":173317,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:09:27] local.INFO: Acknowledgment sent {"connection_id":173317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:09:31] local.INFO: TCP Data received {"connection_id":170617,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2303e0012d1820000721b230004b00c42e..."} 
[2026-09-04 12:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2303e0012d1820000721b230004b00c42e..."} 
[2026-09-04 12:09:31] local.INFO: Processing buffer {"connection_id":170617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2303e0012d1820000721b230004b00c42e..."} 
[2026-09-04 12:09:31] local.INFO: Packet analysis {"connection_id":170617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b23"} 
[2026-09-04 12:09:31] local.INFO: Extracted packet for processing {"connection_id":170617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b23"} 
[2026-09-04 12:09:31] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":75,"angle":196,"satellites":46,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-09-04 12:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856980736001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171768875679744,"note":"Value kept but may cause issues"} 
[2026-09-04 12:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-09-04 12:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788503852000,"timestamp_ms":1788503852000,"timestamp_seconds":1788503852,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2303e0"} 
[2026-09-04 12:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-09-04 12:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":170617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":170617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":170617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856980736001,"66":12461,"120":206,"28":31744,"24":0,"16":17171768875679744,"45":1738389486795108352},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856980736001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:09:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:09:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171768875679744,"km_value":17171768875679.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-09-04 12:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856980736001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-09-04 12:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":170617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:09:31] local.INFO: GPS data processed {"connection_id":170617,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:09:31] local.INFO: Acknowledgment sent {"connection_id":170617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:09:48] local.INFO: TCP Data received {"connection_id":170921,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:09:48] local.INFO: Processing buffer {"connection_id":170921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:09:48] local.INFO: IMEI packet received {"connection_id":170921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":170921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:09:54] local.INFO: TCP Data received {"connection_id":170921,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:09:54] local.INFO: Processing buffer {"connection_id":170921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:09:54] local.INFO: IMEI packet received {"connection_id":170921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":170921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:09:54] local.INFO: TCP Data received {"connection_id":170922,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:09:54] local.INFO: Processing buffer {"connection_id":170922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:09:54] local.INFO: IMEI packet received {"connection_id":170922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":170922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:09:55] local.INFO: TCP Data received {"connection_id":170921,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b234648012d181f800721b1c8004c00df2f..."} 
[2026-09-04 12:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b234648012d181f800721b1c8004c00df2f..."} 
[2026-09-04 12:09:55] local.INFO: Processing buffer {"connection_id":170921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b234648012d181f800721b1c8004c00df2f..."} 
[2026-09-04 12:09:55] local.INFO: Packet analysis {"connection_id":170921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b23"} 
[2026-09-04 12:09:55] local.INFO: Extracted packet for processing {"connection_id":170921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b23"} 
[2026-09-04 12:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648712,"longitude_deg":75.6555648,"latitude_deg":11.9648712,"altitude":76,"angle":223,"satellites":47,"speed":2,"hex_longitude":"2d181f80","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-09-04 12:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856986112001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171781760581632,"note":"Value kept but may cause issues"} 
[2026-09-04 12:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-09-04 12:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788503869000,"timestamp_ms":1788503869000,"timestamp_seconds":1788503869,"priority":1,"record_length":96,"hex_timestamp":"000001a06b234648"} 
[2026-09-04 12:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 12:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856986112001,"66":12461,"120":206,"28":31744,"24":2,"16":17171781760581632,"45":1738389486795108352},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856986112001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:09:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171781760581632,"km_value":17171781760581.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-09-04 12:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856986112001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-09-04 12:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":170921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:09:55] local.INFO: GPS data processed {"connection_id":170921,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:09:55] local.INFO: Acknowledgment sent {"connection_id":170921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:10:00] local.INFO: TCP Data received {"connection_id":170922,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:10:00] local.INFO: Processing buffer {"connection_id":170922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:10:00] local.INFO: IMEI packet received {"connection_id":170922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":170922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:10:01] local.INFO: TCP Data received {"connection_id":170922,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:10:01] local.INFO: Processing buffer {"connection_id":170922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:10:01] local.INFO: Packet analysis {"connection_id":170922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:10:01] local.INFO: Extracted packet for processing {"connection_id":170922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:10:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856892928001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788503789000,"timestamp_ms":1788503789000,"timestamp_seconds":1788503789,"priority":1,"record_length":96,"hex_timestamp":"000001a06b220dc8"} 
[2026-09-04 12:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 12:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856892928001,"66":25745,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856892928001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:10:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:10:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856892928001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":170922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762106,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:10:01] local.INFO: GPS data processed {"connection_id":170922,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:10:01] local.INFO: Acknowledgment sent {"connection_id":170922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:10:27] local.INFO: TCP Data received {"connection_id":170921,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b235200012d181ec00721b120004c00d22f..."} 
[2026-09-04 12:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b235200012d181ec00721b120004c00d22f..."} 
[2026-09-04 12:10:27] local.INFO: Processing buffer {"connection_id":170921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b235200012d181ec00721b120004c00d22f..."} 
[2026-09-04 12:10:27] local.INFO: Packet analysis {"connection_id":170921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b23"} 
[2026-09-04 12:10:27] local.INFO: Extracted packet for processing {"connection_id":170921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b23"} 
[2026-09-04 12:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648544,"longitude_deg":75.6555456,"latitude_deg":11.9648544,"altitude":76,"angle":210,"satellites":47,"speed":2,"hex_longitude":"2d181ec0","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-09-04 12:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856990464001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171790350516224,"note":"Value kept but may cause issues"} 
[2026-09-04 12:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306726400,"note":"Value kept but may cause issues"} 
[2026-09-04 12:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788503872000,"timestamp_ms":1788503872000,"timestamp_seconds":1788503872,"priority":1,"record_length":96,"hex_timestamp":"000001a06b235200"} 
[2026-09-04 12:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 12:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856990464001,"66":12406,"120":206,"28":31744,"24":2,"16":17171790350516224,"45":1738248749306726400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856990464001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:10:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171790350516224,"km_value":17171790350516.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306726400,"description":"Unknown IO ID 45"} 
[2026-09-04 12:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856990464001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1738248749306726400}} 
[2026-09-04 12:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":170921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:10:27] local.INFO: GPS data processed {"connection_id":170921,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:10:27] local.INFO: Acknowledgment sent {"connection_id":170921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:10:32] local.INFO: TCP Data received {"connection_id":170922,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:10:32] local.INFO: Processing buffer {"connection_id":170922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:10:32] local.INFO: Packet analysis {"connection_id":170922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:10:32] local.INFO: Extracted packet for processing {"connection_id":170922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:10:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856892928001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788503789000,"timestamp_ms":1788503789000,"timestamp_seconds":1788503789,"priority":1,"record_length":96,"hex_timestamp":"000001a06b220dc8"} 
[2026-09-04 12:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 12:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856892928001,"66":25745,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856892928001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:10:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:10:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856892928001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":170922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:10:32] local.INFO: GPS data processed {"connection_id":170922,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:10:32] local.INFO: Acknowledgment sent {"connection_id":170922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:10:54] local.INFO: TCP Data received {"connection_id":170923,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:10:54] local.INFO: Processing buffer {"connection_id":170923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:10:54] local.INFO: IMEI packet received {"connection_id":170923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":170923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:10:54] local.INFO: TCP Data received {"connection_id":170924,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:10:54] local.INFO: Processing buffer {"connection_id":170924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:10:54] local.INFO: IMEI packet received {"connection_id":170924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":170924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:10:57] local.INFO: TCP Data received {"connection_id":170923,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:10:57] local.INFO: Processing buffer {"connection_id":170923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:10:57] local.INFO: IMEI packet received {"connection_id":170923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":170923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:10:59] local.INFO: TCP Data received {"connection_id":170923,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b23a408012d181e400721af98004c00c92e..."} 
[2026-09-04 12:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b23a408012d181e400721af98004c00c92e..."} 
[2026-09-04 12:10:59] local.INFO: Processing buffer {"connection_id":170923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b23a408012d181e400721af98004c00c92e..."} 
[2026-09-04 12:10:59] local.INFO: Packet analysis {"connection_id":170923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b23"} 
[2026-09-04 12:10:59] local.INFO: Extracted packet for processing {"connection_id":170923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b23"} 
[2026-09-04 12:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856991232001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074150400,"note":"Value kept but may cause issues"} 
[2026-09-04 12:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788503893000,"timestamp_ms":1788503893000,"timestamp_seconds":1788503893,"priority":1,"record_length":96,"hex_timestamp":"000001a06b23a408"} 
[2026-09-04 12:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 12:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856991232001,"66":12461,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1738037643074150400},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856991232001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:10:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074150400,"description":"Unknown IO ID 45"} 
[2026-09-04 12:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856991232001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074150400}} 
[2026-09-04 12:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":170923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:10:59] local.INFO: GPS data processed {"connection_id":170923,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:10:59] local.INFO: Acknowledgment sent {"connection_id":170923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:10:59] local.INFO: TCP Data received {"connection_id":170924,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:10:59] local.INFO: Processing buffer {"connection_id":170924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:10:59] local.INFO: IMEI packet received {"connection_id":170924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":170924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:11:00] local.INFO: TCP Data received {"connection_id":170923,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b23f610012d181e400721af98004c00c92c..."} 
[2026-09-04 12:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b23f610012d181e400721af98004c00c92c..."} 
[2026-09-04 12:11:00] local.INFO: Processing buffer {"connection_id":170923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b23f610012d181e400721af98004c00c92c..."} 
[2026-09-04 12:11:00] local.INFO: Packet analysis {"connection_id":170923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b23"} 
[2026-09-04 12:11:00] local.INFO: Extracted packet for processing {"connection_id":170923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b23"} 
[2026-09-04 12:11:00] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856996608001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788503914000,"timestamp_ms":1788503914000,"timestamp_seconds":1788503914,"priority":1,"record_length":96,"hex_timestamp":"000001a06b23f610"} 
[2026-09-04 12:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 12:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856996608001,"66":12461,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856996608001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:11:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:11:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856996608001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":170923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:11:00] local.INFO: GPS data processed {"connection_id":170923,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:11:00] local.INFO: Acknowledgment sent {"connection_id":170923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:11:03] local.INFO: TCP Data received {"connection_id":170924,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:11:03] local.INFO: Processing buffer {"connection_id":170924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:11:03] local.INFO: Packet analysis {"connection_id":170924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:11:03] local.INFO: Extracted packet for processing {"connection_id":170924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856892928001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788503789000,"timestamp_ms":1788503789000,"timestamp_seconds":1788503789,"priority":1,"record_length":96,"hex_timestamp":"000001a06b220dc8"} 
[2026-09-04 12:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 12:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":170924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":170924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":170924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856892928001,"66":25745,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856892928001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:11:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:11:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856892928001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":170924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762111,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:11:03] local.INFO: GPS data processed {"connection_id":170924,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:11:03] local.INFO: Acknowledgment sent {"connection_id":170924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:11:05] local.INFO: TCP Data received {"connection_id":170924,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:11:05] local.INFO: Processing buffer {"connection_id":170924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:11:05] local.INFO: Packet analysis {"connection_id":170924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:11:05] local.INFO: Extracted packet for processing {"connection_id":170924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856892928001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788503789000,"timestamp_ms":1788503789000,"timestamp_seconds":1788503789,"priority":1,"record_length":96,"hex_timestamp":"000001a06b220dc8"} 
[2026-09-04 12:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 12:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856892928001,"66":25745,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856892928001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:11:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856892928001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":170924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:11:05] local.INFO: GPS data processed {"connection_id":170924,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:11:05] local.INFO: Acknowledgment sent {"connection_id":170924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:11:31] local.INFO: TCP Data received {"connection_id":170923,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b244818012d181e400721af98004c00c92d..."} 
[2026-09-04 12:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b244818012d181e400721af98004c00c92d..."} 
[2026-09-04 12:11:31] local.INFO: Processing buffer {"connection_id":170923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b244818012d181e400721af98004c00c92d..."} 
[2026-09-04 12:11:31] local.INFO: Packet analysis {"connection_id":170923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b24"} 
[2026-09-04 12:11:31] local.INFO: Extracted packet for processing {"connection_id":170923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b24"} 
[2026-09-04 12:11:31] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857001984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788503935000,"timestamp_ms":1788503935000,"timestamp_seconds":1788503935,"priority":1,"record_length":96,"hex_timestamp":"000001a06b244818"} 
[2026-09-04 12:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 12:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":170923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":170923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":170923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857001984001,"66":12439,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857001984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:11:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857001984001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":170923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:11:32] local.INFO: GPS data processed {"connection_id":170923,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:11:32] local.INFO: Acknowledgment sent {"connection_id":170923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:11:49] local.INFO: TCP Data received {"connection_id":170619,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:11:49] local.INFO: Processing buffer {"connection_id":170619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:11:49] local.INFO: IMEI packet received {"connection_id":170619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":170619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:11:49] local.INFO: TCP Data received {"connection_id":172026,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:11:49] local.INFO: Processing buffer {"connection_id":172026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:11:49] local.INFO: IMEI packet received {"connection_id":172026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":172026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:11:54] local.INFO: TCP Data received {"connection_id":170619,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:11:54] local.INFO: Processing buffer {"connection_id":170619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:11:54] local.INFO: IMEI packet received {"connection_id":170619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":170619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:11:54] local.INFO: TCP Data received {"connection_id":172026,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:11:54] local.INFO: Processing buffer {"connection_id":172026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:11:54] local.INFO: IMEI packet received {"connection_id":172026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":172026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:11:55] local.INFO: TCP Data received {"connection_id":170619,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b249a20012d181e400721af98004c00c92a..."} 
[2026-09-04 12:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b249a20012d181e400721af98004c00c92a..."} 
[2026-09-04 12:11:55] local.INFO: Processing buffer {"connection_id":170619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b249a20012d181e400721af98004c00c92a..."} 
[2026-09-04 12:11:55] local.INFO: Packet analysis {"connection_id":170619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b24"} 
[2026-09-04 12:11:55] local.INFO: Extracted packet for processing {"connection_id":170619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b24"} 
[2026-09-04 12:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857007360001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788503956000,"timestamp_ms":1788503956000,"timestamp_seconds":1788503956,"priority":1,"record_length":96,"hex_timestamp":"000001a06b249a20"} 
[2026-09-04 12:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 12:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857007360001,"66":12406,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857007360001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:11:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:11:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857007360001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":170619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:11:55] local.INFO: GPS data processed {"connection_id":170619,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:11:55] local.INFO: Acknowledgment sent {"connection_id":170619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:11:56] local.INFO: TCP Data received {"connection_id":172026,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:11:56] local.INFO: Processing buffer {"connection_id":172026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b220dc8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:11:56] local.INFO: Packet analysis {"connection_id":172026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:11:56] local.INFO: Extracted packet for processing {"connection_id":172026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b22"} 
[2026-09-04 12:11:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856892928001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788503789000,"timestamp_ms":1788503789000,"timestamp_seconds":1788503789,"priority":1,"record_length":96,"hex_timestamp":"000001a06b220dc8"} 
[2026-09-04 12:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 12:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856892928001,"66":25745,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856892928001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:11:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:11:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856892928001,"power":25745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":172026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:11:56] local.INFO: GPS data processed {"connection_id":172026,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:11:56] local.INFO: Acknowledgment sent {"connection_id":172026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:12:27] local.INFO: TCP Data received {"connection_id":170619,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b24ec28012d181e400721af98004c00c92e..."} 
[2026-09-04 12:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b24ec28012d181e400721af98004c00c92e..."} 
[2026-09-04 12:12:27] local.INFO: Processing buffer {"connection_id":170619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b24ec28012d181e400721af98004c00c92e..."} 
[2026-09-04 12:12:27] local.INFO: Packet analysis {"connection_id":170619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b24"} 
[2026-09-04 12:12:27] local.INFO: Extracted packet for processing {"connection_id":170619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b24"} 
[2026-09-04 12:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857012736001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788503977000,"timestamp_ms":1788503977000,"timestamp_seconds":1788503977,"priority":1,"record_length":96,"hex_timestamp":"000001a06b24ec28"} 
[2026-09-04 12:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 12:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857012736001,"66":12428,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857012736001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:12:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:12:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857012736001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":170619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:12:27] local.INFO: GPS data processed {"connection_id":170619,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:12:27] local.INFO: Acknowledgment sent {"connection_id":170619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:12:27] local.INFO: TCP Data received {"connection_id":172026,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:12:27] local.INFO: Processing buffer {"connection_id":172026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:12:27] local.INFO: Packet analysis {"connection_id":172026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:12:27] local.INFO: Extracted packet for processing {"connection_id":172026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:12:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856969984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788504090000,"timestamp_ms":1788504090000,"timestamp_seconds":1788504090,"priority":1,"record_length":96,"hex_timestamp":"000001a06b26a590"} 
[2026-09-04 12:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 12:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856969984001,"66":25832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856969984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:12:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:12:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856969984001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":172026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762117,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:12:27] local.INFO: GPS data processed {"connection_id":172026,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:12:27] local.INFO: Acknowledgment sent {"connection_id":172026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:12:48] local.INFO: TCP Data received {"connection_id":170620,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:12:48] local.INFO: Processing buffer {"connection_id":170620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:12:48] local.INFO: IMEI packet received {"connection_id":170620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":170620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:12:49] local.INFO: TCP Data received {"connection_id":170621,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:12:49] local.INFO: Processing buffer {"connection_id":170621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:12:49] local.INFO: IMEI packet received {"connection_id":170621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":170621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:12:54] local.INFO: TCP Data received {"connection_id":170620,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:12:54] local.INFO: Processing buffer {"connection_id":170620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:12:54] local.INFO: IMEI packet received {"connection_id":170620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":170620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:12:54] local.INFO: TCP Data received {"connection_id":170621,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:12:54] local.INFO: Processing buffer {"connection_id":170621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:12:54] local.INFO: IMEI packet received {"connection_id":170621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":170621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:12:55] local.INFO: TCP Data received {"connection_id":170620,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b253e30012d181e400721af98004c00c930..."} 
[2026-09-04 12:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b253e30012d181e400721af98004c00c930..."} 
[2026-09-04 12:12:55] local.INFO: Processing buffer {"connection_id":170620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b253e30012d181e400721af98004c00c930..."} 
[2026-09-04 12:12:55] local.INFO: Packet analysis {"connection_id":170620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b25"} 
[2026-09-04 12:12:55] local.INFO: Extracted packet for processing {"connection_id":170620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b25"} 
[2026-09-04 12:12:55] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":48,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857018112001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788503998000,"timestamp_ms":1788503998000,"timestamp_seconds":1788503998,"priority":1,"record_length":96,"hex_timestamp":"000001a06b253e30"} 
[2026-09-04 12:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 12:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857018112001,"66":12385,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857018112001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:12:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:12:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857018112001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":170620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:12:55] local.INFO: GPS data processed {"connection_id":170620,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:12:55] local.INFO: Acknowledgment sent {"connection_id":170620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:12:56] local.INFO: TCP Data received {"connection_id":170621,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:12:56] local.INFO: Processing buffer {"connection_id":170621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:12:56] local.INFO: Packet analysis {"connection_id":170621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:12:56] local.INFO: Extracted packet for processing {"connection_id":170621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:12:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856969984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788504090000,"timestamp_ms":1788504090000,"timestamp_seconds":1788504090,"priority":1,"record_length":96,"hex_timestamp":"000001a06b26a590"} 
[2026-09-04 12:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 12:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856969984001,"66":25832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856969984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:12:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:12:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856969984001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":170621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:12:56] local.INFO: GPS data processed {"connection_id":170621,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:12:56] local.INFO: Acknowledgment sent {"connection_id":170621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:13:04] local.INFO: TCP Data received {"connection_id":170925,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:13:04] local.INFO: Processing buffer {"connection_id":170925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:13:04] local.INFO: IMEI packet received {"connection_id":170925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":170925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:13:05] local.INFO: TCP Data received {"connection_id":170925,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2643e8012cd52d8007386958000f00552b..."} 
[2026-09-04 12:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2643e8012cd52d8007386958000f00552b..."} 
[2026-09-04 12:13:05] local.INFO: Processing buffer {"connection_id":170925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2643e8012cd52d8007386958000f00552b..."} 
[2026-09-04 12:13:05] local.INFO: Packet analysis {"connection_id":170925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:13:05] local.INFO: Extracted packet for processing {"connection_id":170925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:13:05] local.INFO: GPS Element Parsed {"raw_longitude":752168320,"raw_latitude":121137496,"longitude_deg":75.216832,"latitude_deg":12.1137496,"altitude":15,"angle":85,"satellites":43,"speed":22,"hex_longitude":"2cd52d80","hex_latitude":"07386958","is_valid_coordinates":true} 
[2026-09-04 12:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857036544001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397729974657744896,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3095591394108555264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788504065000,"timestamp_ms":1788504065000,"timestamp_seconds":1788504065,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2643e8"} 
[2026-09-04 12:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 12:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857036544001,"66":27865,"150":206,"83":43264,"24":22,"16":397729974657744896,"44":-3095591394108555264},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-04 12:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857036544001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:13:05] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-04 12:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397729974657744896,"km_value":397729974657744.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:13:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3095591394108555264,"description":"Unknown IO ID 44"} 
[2026-09-04 12:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857036544001,"power":27865,"unknown_150":206,"unknown_83":43264,"ignition":22,"odometer":null,"unknown_44":-3095591394108555264}} 
[2026-09-04 12:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":170925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:13:05] local.INFO: GPS data processed {"connection_id":170925,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:13:05] local.INFO: Acknowledgment sent {"connection_id":170925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:13:27] local.INFO: TCP Data received {"connection_id":170620,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b259038012d181e400721af98004c00c930..."} 
[2026-09-04 12:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b259038012d181e400721af98004c00c930..."} 
[2026-09-04 12:13:27] local.INFO: Processing buffer {"connection_id":170620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b259038012d181e400721af98004c00c930..."} 
[2026-09-04 12:13:27] local.INFO: Packet analysis {"connection_id":170620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b25"} 
[2026-09-04 12:13:27] local.INFO: Extracted packet for processing {"connection_id":170620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b25"} 
[2026-09-04 12:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":48,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857023488001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788504019000,"timestamp_ms":1788504019000,"timestamp_seconds":1788504019,"priority":1,"record_length":96,"hex_timestamp":"000001a06b259038"} 
[2026-09-04 12:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 12:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857023488001,"66":12385,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857023488001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:13:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:13:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857023488001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":170620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:13:27] local.INFO: GPS data processed {"connection_id":170620,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:13:27] local.INFO: Acknowledgment sent {"connection_id":170620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:13:28] local.INFO: TCP Data received {"connection_id":170621,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:13:28] local.INFO: Processing buffer {"connection_id":170621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:13:28] local.INFO: Packet analysis {"connection_id":170621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:13:28] local.INFO: Extracted packet for processing {"connection_id":170621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:13:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856969984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788504090000,"timestamp_ms":1788504090000,"timestamp_seconds":1788504090,"priority":1,"record_length":96,"hex_timestamp":"000001a06b26a590"} 
[2026-09-04 12:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 12:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856969984001,"66":25832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856969984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:13:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:13:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856969984001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":170621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762122,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:13:28] local.INFO: GPS data processed {"connection_id":170621,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:13:28] local.INFO: Acknowledgment sent {"connection_id":170621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:13:36] local.INFO: TCP Data received {"connection_id":170925,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b278820012cd54ac00738df50001001662e..."} 
[2026-09-04 12:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b278820012cd54ac00738df50001001662e..."} 
[2026-09-04 12:13:36] local.INFO: Processing buffer {"connection_id":170925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b278820012cd54ac00738df50001001662e..."} 
[2026-09-04 12:13:36] local.INFO: Packet analysis {"connection_id":170925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b27"} 
[2026-09-04 12:13:36] local.INFO: Extracted packet for processing {"connection_id":170925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b27"} 
[2026-09-04 12:13:36] local.INFO: GPS Element Parsed {"raw_longitude":752175808,"raw_latitude":121167696,"longitude_deg":75.2175808,"latitude_deg":12.1167696,"altitude":16,"angle":358,"satellites":46,"speed":32,"hex_longitude":"2cd54ac0","hex_latitude":"0738df50","is_valid_coordinates":true} 
[2026-09-04 12:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857059072001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397731907393028096,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077365889360975872,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788504148000,"timestamp_ms":1788504148000,"timestamp_seconds":1788504148,"priority":1,"record_length":96,"hex_timestamp":"000001a06b278820"} 
[2026-09-04 12:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 12:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857059072001,"66":27919,"149":206,"83":43264,"24":32,"16":397731907393028096,"44":-3077365889360975872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 12:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857059072001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:13:36] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 12:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397731907393028096,"km_value":397731907393028.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:13:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077365889360975872,"description":"Unknown IO ID 44"} 
[2026-09-04 12:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857059072001,"power":27919,"unknown_149":206,"unknown_83":43264,"ignition":32,"odometer":null,"unknown_44":-3077365889360975872}} 
[2026-09-04 12:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":170925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:13:36] local.INFO: GPS data processed {"connection_id":170925,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:13:36] local.INFO: Acknowledgment sent {"connection_id":170925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:13:48] local.INFO: TCP Data received {"connection_id":172027,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:13:48] local.INFO: Processing buffer {"connection_id":172027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:13:48] local.INFO: IMEI packet received {"connection_id":172027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":172027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:13:54] local.INFO: TCP Data received {"connection_id":172027,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:13:54] local.INFO: Processing buffer {"connection_id":172027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:13:54] local.INFO: IMEI packet received {"connection_id":172027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":172027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:13:54] local.INFO: TCP Data received {"connection_id":172028,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:13:54] local.INFO: Processing buffer {"connection_id":172028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:13:54] local.INFO: IMEI packet received {"connection_id":172028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":172028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:13:55] local.INFO: TCP Data received {"connection_id":172027,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b25e240012d181e400721af98004c00c92f..."} 
[2026-09-04 12:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b25e240012d181e400721af98004c00c92f..."} 
[2026-09-04 12:13:55] local.INFO: Processing buffer {"connection_id":172027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b25e240012d181e400721af98004c00c92f..."} 
[2026-09-04 12:13:55] local.INFO: Packet analysis {"connection_id":172027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b25"} 
[2026-09-04 12:13:55] local.INFO: Extracted packet for processing {"connection_id":172027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b25"} 
[2026-09-04 12:13:55] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":47,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857028864001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788504040000,"timestamp_ms":1788504040000,"timestamp_seconds":1788504040,"priority":1,"record_length":96,"hex_timestamp":"000001a06b25e240"} 
[2026-09-04 12:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 12:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857028864001,"66":11906,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857028864001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:13:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:13:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857028864001,"power":11906,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":172027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:13:55] local.INFO: GPS data processed {"connection_id":172027,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:13:55] local.INFO: Acknowledgment sent {"connection_id":172027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:13:59] local.INFO: TCP Data received {"connection_id":172028,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:13:59] local.INFO: Processing buffer {"connection_id":172028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:13:59] local.INFO: IMEI packet received {"connection_id":172028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":172028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:14:00] local.INFO: TCP Data received {"connection_id":172029,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:14:00] local.INFO: Processing buffer {"connection_id":172029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:14:00] local.INFO: IMEI packet received {"connection_id":172029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":172029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:14:01] local.INFO: TCP Data received {"connection_id":172028,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:14:01] local.INFO: Processing buffer {"connection_id":172028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:14:01] local.INFO: Packet analysis {"connection_id":172028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:14:01] local.INFO: Extracted packet for processing {"connection_id":172028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:14:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856969984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788504090000,"timestamp_ms":1788504090000,"timestamp_seconds":1788504090,"priority":1,"record_length":96,"hex_timestamp":"000001a06b26a590"} 
[2026-09-04 12:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 12:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856969984001,"66":25832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856969984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:14:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:14:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856969984001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":172028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762125,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:14:01] local.INFO: GPS data processed {"connection_id":172028,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:14:01] local.INFO: Acknowledgment sent {"connection_id":172028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:14:05] local.INFO: TCP Data received {"connection_id":172029,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:14:05] local.INFO: Processing buffer {"connection_id":172029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:14:05] local.INFO: IMEI packet received {"connection_id":172029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":172029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:14:05] local.INFO: TCP Data received {"connection_id":172028,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:14:05] local.INFO: Processing buffer {"connection_id":172028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:14:05] local.INFO: Packet analysis {"connection_id":172028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:14:05] local.INFO: Extracted packet for processing {"connection_id":172028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856969984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788504090000,"timestamp_ms":1788504090000,"timestamp_seconds":1788504090,"priority":1,"record_length":96,"hex_timestamp":"000001a06b26a590"} 
[2026-09-04 12:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 12:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856969984001,"66":25832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856969984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:14:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:14:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856969984001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":172028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:14:05] local.INFO: GPS data processed {"connection_id":172028,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:14:05] local.INFO: Acknowledgment sent {"connection_id":172028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:14:06] local.INFO: TCP Data received {"connection_id":172029,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b27bae8012cd5464007390308000f015e2c..."} 
[2026-09-04 12:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b27bae8012cd5464007390308000f015e2c..."} 
[2026-09-04 12:14:06] local.INFO: Processing buffer {"connection_id":172029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b27bae8012cd5464007390308000f015e2c..."} 
[2026-09-04 12:14:06] local.INFO: Packet analysis {"connection_id":172029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b27"} 
[2026-09-04 12:14:06] local.INFO: Extracted packet for processing {"connection_id":172029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b27"} 
[2026-09-04 12:14:06] local.INFO: GPS Element Parsed {"raw_longitude":752174656,"raw_latitude":121176840,"longitude_deg":75.2174656,"latitude_deg":12.117684,"altitude":15,"angle":350,"satellites":44,"speed":20,"hex_longitude":"2cd54640","hex_latitude":"07390308","is_valid_coordinates":true} 
[2026-09-04 12:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857061888001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397732354069626880,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077436258102849536,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788504161000,"timestamp_ms":1788504161000,"timestamp_seconds":1788504161,"priority":1,"record_length":96,"hex_timestamp":"000001a06b27bae8"} 
[2026-09-04 12:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 12:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857061888001,"66":27995,"149":206,"83":43264,"24":20,"16":397732354069626880,"44":-3077436258102849536},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 12:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857061888001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:14:06] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 12:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397732354069626880,"km_value":397732354069626.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077436258102849536,"description":"Unknown IO ID 44"} 
[2026-09-04 12:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857061888001,"power":27995,"unknown_149":206,"unknown_83":43264,"ignition":20,"odometer":null,"unknown_44":-3077436258102849536}} 
[2026-09-04 12:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":172029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:14:06] local.INFO: GPS data processed {"connection_id":172029,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:14:06] local.INFO: Acknowledgment sent {"connection_id":172029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:14:27] local.INFO: TCP Data received {"connection_id":172027,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b263448012d181e400721af98004c00c92d..."} 
[2026-09-04 12:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b263448012d181e400721af98004c00c92d..."} 
[2026-09-04 12:14:27] local.INFO: Processing buffer {"connection_id":172027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b263448012d181e400721af98004c00c92d..."} 
[2026-09-04 12:14:27] local.INFO: Packet analysis {"connection_id":172027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:14:27] local.INFO: Extracted packet for processing {"connection_id":172027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857034240001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788504061000,"timestamp_ms":1788504061000,"timestamp_seconds":1788504061,"priority":1,"record_length":96,"hex_timestamp":"000001a06b263448"} 
[2026-09-04 12:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-04 12:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857034240001,"66":11656,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857034240001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:14:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857034240001,"power":11656,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":172027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:14:27] local.INFO: GPS data processed {"connection_id":172027,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:14:27] local.INFO: Acknowledgment sent {"connection_id":172027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:14:38] local.INFO: TCP Data received {"connection_id":172029,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b27f580012cd53f40073926000011015d2d..."} 
[2026-09-04 12:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b27f580012cd53f40073926000011015d2d..."} 
[2026-09-04 12:14:38] local.INFO: Processing buffer {"connection_id":172029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b27f580012cd53f40073926000011015d2d..."} 
[2026-09-04 12:14:38] local.INFO: Packet analysis {"connection_id":172029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b27"} 
[2026-09-04 12:14:38] local.INFO: Extracted packet for processing {"connection_id":172029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b27"} 
[2026-09-04 12:14:38] local.INFO: GPS Element Parsed {"raw_longitude":752172864,"raw_latitude":121185792,"longitude_deg":75.2172864,"latitude_deg":12.1185792,"altitude":17,"angle":349,"satellites":45,"speed":24,"hex_longitude":"2cd53f40","hex_latitude":"07392600","is_valid_coordinates":true} 
[2026-09-04 12:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857065216001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397732800746225664,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3078702895495706624,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788504176000,"timestamp_ms":1788504176000,"timestamp_seconds":1788504176,"priority":1,"record_length":96,"hex_timestamp":"000001a06b27f580"} 
[2026-09-04 12:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 12:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857065216001,"66":27876,"149":206,"83":43264,"24":24,"16":397732800746225664,"44":-3078702895495706624},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 12:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857065216001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:14:38] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 12:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397732800746225664,"km_value":397732800746225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:14:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3078702895495706624,"description":"Unknown IO ID 44"} 
[2026-09-04 12:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857065216001,"power":27876,"unknown_149":206,"unknown_83":43264,"ignition":24,"odometer":null,"unknown_44":-3078702895495706624}} 
[2026-09-04 12:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":172029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:14:38] local.INFO: GPS data processed {"connection_id":172029,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:14:38] local.INFO: Acknowledgment sent {"connection_id":172029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:14:49] local.INFO: TCP Data received {"connection_id":170622,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:14:49] local.INFO: Processing buffer {"connection_id":170622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:14:49] local.INFO: IMEI packet received {"connection_id":170622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":170622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:14:49] local.INFO: TCP Data received {"connection_id":170926,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:14:49] local.INFO: Processing buffer {"connection_id":170926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:14:49] local.INFO: IMEI packet received {"connection_id":170926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":170926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:14:49] local.INFO: TCP Data received {"connection_id":170622,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:14:49] local.INFO: Processing buffer {"connection_id":170622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:14:49] local.INFO: IMEI packet received {"connection_id":170622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":170622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:14:54] local.INFO: TCP Data received {"connection_id":170622,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:14:54] local.INFO: Processing buffer {"connection_id":170622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:14:54] local.INFO: IMEI packet received {"connection_id":170622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":170622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:14:54] local.INFO: TCP Data received {"connection_id":170926,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:14:54] local.INFO: Processing buffer {"connection_id":170926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:14:54] local.INFO: IMEI packet received {"connection_id":170926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":170926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:14:56] local.INFO: TCP Data received {"connection_id":170926,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:14:56] local.INFO: Processing buffer {"connection_id":170926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:14:56] local.INFO: Packet analysis {"connection_id":170926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:14:56] local.INFO: Extracted packet for processing {"connection_id":170926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:14:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856969984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788504090000,"timestamp_ms":1788504090000,"timestamp_seconds":1788504090,"priority":1,"record_length":96,"hex_timestamp":"000001a06b26a590"} 
[2026-09-04 12:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 12:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856969984001,"66":25832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856969984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:14:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:14:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856969984001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":170926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762130,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:14:56] local.INFO: GPS data processed {"connection_id":170926,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:14:56] local.INFO: Acknowledgment sent {"connection_id":170926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:14:57] local.INFO: TCP Data received {"connection_id":170622,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b268650012d181e400721af98004c00c92b..."} 
[2026-09-04 12:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b268650012d181e400721af98004c00c92b..."} 
[2026-09-04 12:14:57] local.INFO: Processing buffer {"connection_id":170622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b268650012d181e400721af98004c00c92b..."} 
[2026-09-04 12:14:57] local.INFO: Packet analysis {"connection_id":170622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:14:57] local.INFO: Extracted packet for processing {"connection_id":170622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:14:57] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857039616001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788504082000,"timestamp_ms":1788504082000,"timestamp_seconds":1788504082,"priority":1,"record_length":96,"hex_timestamp":"000001a06b268650"} 
[2026-09-04 12:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-09-04 12:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":170622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":170622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":170622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857039616001,"66":12428,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857039616001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:14:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:14:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857039616001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":170622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:14:57] local.INFO: GPS data processed {"connection_id":170622,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:14:57] local.INFO: Acknowledgment sent {"connection_id":170622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:14:59] local.INFO: TCP Data received {"connection_id":170622,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b26d858012d181e400721af98004c00c92d..."} 
[2026-09-04 12:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b26d858012d181e400721af98004c00c92d..."} 
[2026-09-04 12:14:59] local.INFO: Processing buffer {"connection_id":170622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b26d858012d181e400721af98004c00c92d..."} 
[2026-09-04 12:14:59] local.INFO: Packet analysis {"connection_id":170622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:14:59] local.INFO: Extracted packet for processing {"connection_id":170622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857044992001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788504103000,"timestamp_ms":1788504103000,"timestamp_seconds":1788504103,"priority":1,"record_length":96,"hex_timestamp":"000001a06b26d858"} 
[2026-09-04 12:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 12:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857044992001,"66":12004,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857044992001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:14:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857044992001,"power":12004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":170622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:14:59] local.INFO: GPS data processed {"connection_id":170622,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:14:59] local.INFO: Acknowledgment sent {"connection_id":170622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:15:00] local.INFO: TCP Data received {"connection_id":170927,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:15:00] local.INFO: Processing buffer {"connection_id":170927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:15:00] local.INFO: IMEI packet received {"connection_id":170927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":170927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:15:04] local.INFO: TCP Data received {"connection_id":170927,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:15:04] local.INFO: Processing buffer {"connection_id":170927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:15:04] local.INFO: IMEI packet received {"connection_id":170927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":170927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:15:05] local.INFO: TCP Data received {"connection_id":170927,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b283fb8012cd53940073948a0001101612f..."} 
[2026-09-04 12:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b283fb8012cd53940073948a0001101612f..."} 
[2026-09-04 12:15:05] local.INFO: Processing buffer {"connection_id":170927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b283fb8012cd53940073948a0001101612f..."} 
[2026-09-04 12:15:05] local.INFO: Packet analysis {"connection_id":170927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b28"} 
[2026-09-04 12:15:05] local.INFO: Extracted packet for processing {"connection_id":170927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b28"} 
[2026-09-04 12:15:05] local.INFO: GPS Element Parsed {"raw_longitude":752171328,"raw_latitude":121194656,"longitude_deg":75.2171328,"latitude_deg":12.1194656,"altitude":17,"angle":353,"satellites":47,"speed":6,"hex_longitude":"2cd53940","hex_latitude":"073948a0","is_valid_coordinates":true} 
[2026-09-04 12:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857069056001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397733234537922560,"note":"Value kept but may cause issues"} 
[2026-09-04 12:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3080673220330389504,"note":"Value kept but may cause issues"} 
[2026-09-04 12:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788504195000,"timestamp_ms":1788504195000,"timestamp_seconds":1788504195,"priority":1,"record_length":96,"hex_timestamp":"000001a06b283fb8"} 
[2026-09-04 12:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 12:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857069056001,"66":27908,"149":206,"83":43264,"24":6,"16":397733234537922560,"44":-3080673220330389504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 12:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857069056001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:15:05] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 12:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397733234537922560,"km_value":397733234537922.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3080673220330389504,"description":"Unknown IO ID 44"} 
[2026-09-04 12:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857069056001,"power":27908,"unknown_149":206,"unknown_83":43264,"ignition":6,"odometer":null,"unknown_44":-3080673220330389504}} 
[2026-09-04 12:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":170927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:15:05] local.INFO: GPS data processed {"connection_id":170927,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:15:05] local.INFO: Acknowledgment sent {"connection_id":170927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:15:28] local.INFO: TCP Data received {"connection_id":170926,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:15:28] local.INFO: Processing buffer {"connection_id":170926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:15:28] local.INFO: Packet analysis {"connection_id":170926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:15:28] local.INFO: Extracted packet for processing {"connection_id":170926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:15:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856969984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788504090000,"timestamp_ms":1788504090000,"timestamp_seconds":1788504090,"priority":1,"record_length":96,"hex_timestamp":"000001a06b26a590"} 
[2026-09-04 12:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 12:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856969984001,"66":25832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856969984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:15:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:15:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856969984001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":170926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762134,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:15:28] local.INFO: GPS data processed {"connection_id":170926,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:15:28] local.INFO: Acknowledgment sent {"connection_id":170926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:15:30] local.INFO: TCP Data received {"connection_id":170622,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b272a60012d181e400721af98004c00c92c..."} 
[2026-09-04 12:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b272a60012d181e400721af98004c00c92c..."} 
[2026-09-04 12:15:30] local.INFO: Processing buffer {"connection_id":170622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b272a60012d181e400721af98004c00c92c..."} 
[2026-09-04 12:15:30] local.INFO: Packet analysis {"connection_id":170622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b27"} 
[2026-09-04 12:15:30] local.INFO: Extracted packet for processing {"connection_id":170622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b27"} 
[2026-09-04 12:15:30] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857050368001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788504124000,"timestamp_ms":1788504124000,"timestamp_seconds":1788504124,"priority":1,"record_length":96,"hex_timestamp":"000001a06b272a60"} 
[2026-09-04 12:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 12:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857050368001,"66":12341,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857050368001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:15:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:15:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857050368001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":170622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:15:31] local.INFO: GPS data processed {"connection_id":170622,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:15:31] local.INFO: Acknowledgment sent {"connection_id":170622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:15:36] local.INFO: TCP Data received {"connection_id":170927,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b287280012cd5390007395380001100042f..."} 
[2026-09-04 12:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b287280012cd5390007395380001100042f..."} 
[2026-09-04 12:15:36] local.INFO: Processing buffer {"connection_id":170927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b287280012cd5390007395380001100042f..."} 
[2026-09-04 12:15:36] local.INFO: Packet analysis {"connection_id":170927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b28"} 
[2026-09-04 12:15:36] local.INFO: Extracted packet for processing {"connection_id":170927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b28"} 
[2026-09-04 12:15:36] local.INFO: GPS Element Parsed {"raw_longitude":752171264,"raw_latitude":121197440,"longitude_deg":75.2171264,"latitude_deg":12.119744,"altitude":17,"angle":4,"satellites":47,"speed":16,"hex_longitude":"2cd53900","hex_latitude":"07395380","is_valid_coordinates":true} 
[2026-09-04 12:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857073920001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397733371976876032,"note":"Value kept but may cause issues"} 
[2026-09-04 12:15:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3082362070188384256,"note":"Value kept but may cause issues"} 
[2026-09-04 12:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788504208000,"timestamp_ms":1788504208000,"timestamp_seconds":1788504208,"priority":1,"record_length":96,"hex_timestamp":"000001a06b287280"} 
[2026-09-04 12:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 12:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857073920001,"66":27908,"149":206,"83":43264,"24":16,"16":397733371976876032,"44":-3082362070188384256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 12:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857073920001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:15:36] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 12:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397733371976876032,"km_value":397733371976876.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:15:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3082362070188384256,"description":"Unknown IO ID 44"} 
[2026-09-04 12:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857073920001,"power":27908,"unknown_149":206,"unknown_83":43264,"ignition":16,"odometer":null,"unknown_44":-3082362070188384256}} 
[2026-09-04 12:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":170927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:15:36] local.INFO: GPS data processed {"connection_id":170927,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:15:36] local.INFO: Acknowledgment sent {"connection_id":170927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:15:52] local.INFO: TCP Data received {"connection_id":173320,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:15:52] local.INFO: Processing buffer {"connection_id":173320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:15:52] local.INFO: IMEI packet received {"connection_id":173320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":173320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:15:53] local.INFO: TCP Data received {"connection_id":173320,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:15:53] local.INFO: Processing buffer {"connection_id":173320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:15:53] local.INFO: IMEI packet received {"connection_id":173320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":173320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:15:54] local.INFO: TCP Data received {"connection_id":173321,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:15:54] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:15:54] local.INFO: IMEI packet received {"connection_id":173321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":173321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:15:59] local.INFO: TCP Data received {"connection_id":173322,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:15:59] local.INFO: Processing buffer {"connection_id":173322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:15:59] local.INFO: IMEI packet received {"connection_id":173322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":173322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:15:59] local.INFO: TCP Data received {"connection_id":173321,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:15:59] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:15:59] local.INFO: IMEI packet received {"connection_id":173321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":173321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:16:01] local.INFO: TCP Data received {"connection_id":173321,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:16:01] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:16:01] local.INFO: Packet analysis {"connection_id":173321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:16:01] local.INFO: Extracted packet for processing {"connection_id":173321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:16:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856969984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788504090000,"timestamp_ms":1788504090000,"timestamp_seconds":1788504090,"priority":1,"record_length":96,"hex_timestamp":"000001a06b26a590"} 
[2026-09-04 12:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 12:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856969984001,"66":25832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856969984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:16:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:16:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856969984001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":173321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:16:01] local.INFO: GPS data processed {"connection_id":173321,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:16:01] local.INFO: Acknowledgment sent {"connection_id":173321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:16:03] local.INFO: TCP Data received {"connection_id":173322,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:16:03] local.INFO: Processing buffer {"connection_id":173322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:16:03] local.INFO: IMEI packet received {"connection_id":173322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":173322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:16:03] local.INFO: TCP Data received {"connection_id":173320,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:16:03] local.INFO: Processing buffer {"connection_id":173320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:16:03] local.INFO: IMEI packet received {"connection_id":173320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":173320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:16:04] local.INFO: TCP Data received {"connection_id":173322,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b28b100012cd53bc007397858001000022d..."} 
[2026-09-04 12:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b28b100012cd53bc007397858001000022d..."} 
[2026-09-04 12:16:04] local.INFO: Processing buffer {"connection_id":173322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b28b100012cd53bc007397858001000022d..."} 
[2026-09-04 12:16:04] local.INFO: Packet analysis {"connection_id":173322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b28"} 
[2026-09-04 12:16:04] local.INFO: Extracted packet for processing {"connection_id":173322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b28"} 
[2026-09-04 12:16:04] local.INFO: GPS Element Parsed {"raw_longitude":752171968,"raw_latitude":121206872,"longitude_deg":75.2171968,"latitude_deg":12.1206872,"altitude":16,"angle":2,"satellites":45,"speed":27,"hex_longitude":"2cd53bc0","hex_latitude":"07397858","is_valid_coordinates":true} 
[2026-09-04 12:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857077248001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397733831538376704,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3082432438931849216,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788504224000,"timestamp_ms":1788504224000,"timestamp_seconds":1788504224,"priority":1,"record_length":96,"hex_timestamp":"000001a06b28b100"} 
[2026-09-04 12:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 12:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857077248001,"66":27919,"149":206,"83":43264,"24":27,"16":397733831538376704,"44":-3082432438931849216},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 12:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857077248001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:16:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 12:16:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397733831538376704,"km_value":397733831538376.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:16:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3082432438931849216,"description":"Unknown IO ID 44"} 
[2026-09-04 12:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857077248001,"power":27919,"unknown_149":206,"unknown_83":43264,"ignition":27,"odometer":null,"unknown_44":-3082432438931849216}} 
[2026-09-04 12:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":173322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:16:04] local.INFO: GPS data processed {"connection_id":173322,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:16:04] local.INFO: Acknowledgment sent {"connection_id":173322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:16:07] local.INFO: TCP Data received {"connection_id":173321,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:16:07] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:16:07] local.INFO: Packet analysis {"connection_id":173321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:16:07] local.INFO: Extracted packet for processing {"connection_id":173321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856969984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788504090000,"timestamp_ms":1788504090000,"timestamp_seconds":1788504090,"priority":1,"record_length":96,"hex_timestamp":"000001a06b26a590"} 
[2026-09-04 12:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 12:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856969984001,"66":25832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856969984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:16:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:16:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856969984001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":173321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:16:07] local.INFO: GPS data processed {"connection_id":173321,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:16:07] local.INFO: Acknowledgment sent {"connection_id":173321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:16:09] local.INFO: TCP Data received {"connection_id":173320,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b277c68012d181e400721af98004c00c92c..."} 
[2026-09-04 12:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b277c68012d181e400721af98004c00c92c..."} 
[2026-09-04 12:16:09] local.INFO: Processing buffer {"connection_id":173320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b277c68012d181e400721af98004c00c92c..."} 
[2026-09-04 12:16:09] local.INFO: Packet analysis {"connection_id":173320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b27"} 
[2026-09-04 12:16:09] local.INFO: Extracted packet for processing {"connection_id":173320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b27"} 
[2026-09-04 12:16:09] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857055744001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788504145000,"timestamp_ms":1788504145000,"timestamp_seconds":1788504145,"priority":1,"record_length":96,"hex_timestamp":"000001a06b277c68"} 
[2026-09-04 12:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 12:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857055744001,"66":12406,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857055744001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:16:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857055744001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":173320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:16:09] local.INFO: GPS data processed {"connection_id":173320,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:16:09] local.INFO: Acknowledgment sent {"connection_id":173320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:16:10] local.INFO: TCP Data received {"connection_id":173320,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b27ce70012d181e400721af98004c00c92d..."} 
[2026-09-04 12:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b27ce70012d181e400721af98004c00c92d..."} 
[2026-09-04 12:16:10] local.INFO: Processing buffer {"connection_id":173320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b27ce70012d181e400721af98004c00c92d..."} 
[2026-09-04 12:16:10] local.INFO: Packet analysis {"connection_id":173320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b27"} 
[2026-09-04 12:16:10] local.INFO: Extracted packet for processing {"connection_id":173320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b27"} 
[2026-09-04 12:16:10] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857061120001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788504166000,"timestamp_ms":1788504166000,"timestamp_seconds":1788504166,"priority":1,"record_length":96,"hex_timestamp":"000001a06b27ce70"} 
[2026-09-04 12:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 12:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857061120001,"66":12145,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857061120001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:16:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:16:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857061120001,"power":12145,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":173320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:16:10] local.INFO: GPS data processed {"connection_id":173320,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:16:10] local.INFO: Acknowledgment sent {"connection_id":173320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:16:35] local.INFO: TCP Data received {"connection_id":173322,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b28eb98012cd53c0007399b60001101662f..."} 
[2026-09-04 12:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b28eb98012cd53c0007399b60001101662f..."} 
[2026-09-04 12:16:35] local.INFO: Processing buffer {"connection_id":173322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b28eb98012cd53c0007399b60001101662f..."} 
[2026-09-04 12:16:35] local.INFO: Packet analysis {"connection_id":173322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b28"} 
[2026-09-04 12:16:35] local.INFO: Extracted packet for processing {"connection_id":173322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b28"} 
[2026-09-04 12:16:35] local.INFO: GPS Element Parsed {"raw_longitude":752172032,"raw_latitude":121215840,"longitude_deg":75.2172032,"latitude_deg":12.121584,"altitude":17,"angle":358,"satellites":47,"speed":26,"hex_longitude":"2cd53c00","hex_latitude":"07399b60","is_valid_coordinates":true} 
[2026-09-04 12:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857081344001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397734269625040896,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081658382743480320,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788504239000,"timestamp_ms":1788504239000,"timestamp_seconds":1788504239,"priority":1,"record_length":96,"hex_timestamp":"000001a06b28eb98"} 
[2026-09-04 12:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 12:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857081344001,"66":27876,"149":206,"83":43264,"24":26,"16":397734269625040896,"44":-3081658382743480320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 12:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857081344001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:16:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 12:16:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397734269625040896,"km_value":397734269625040.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:16:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081658382743480320,"description":"Unknown IO ID 44"} 
[2026-09-04 12:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857081344001,"power":27876,"unknown_149":206,"unknown_83":43264,"ignition":26,"odometer":null,"unknown_44":-3081658382743480320}} 
[2026-09-04 12:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":173322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:16:35] local.INFO: GPS data processed {"connection_id":173322,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:16:35] local.INFO: Acknowledgment sent {"connection_id":173322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:16:49] local.INFO: TCP Data received {"connection_id":172031,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:16:49] local.INFO: Processing buffer {"connection_id":172031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:16:49] local.INFO: IMEI packet received {"connection_id":172031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":172031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:16:49] local.INFO: TCP Data received {"connection_id":172030,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:16:49] local.INFO: Processing buffer {"connection_id":172030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:16:49] local.INFO: IMEI packet received {"connection_id":172030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":172030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:16:54] local.INFO: TCP Data received {"connection_id":172031,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:16:54] local.INFO: Processing buffer {"connection_id":172031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:16:54] local.INFO: IMEI packet received {"connection_id":172031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":172031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:16:54] local.INFO: TCP Data received {"connection_id":172030,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:16:54] local.INFO: Processing buffer {"connection_id":172030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:16:54] local.INFO: IMEI packet received {"connection_id":172030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":172030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:16:55] local.INFO: TCP Data received {"connection_id":172031,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b282078012d181e400721af98004c00c92e..."} 
[2026-09-04 12:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b282078012d181e400721af98004c00c92e..."} 
[2026-09-04 12:16:55] local.INFO: Processing buffer {"connection_id":172031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b282078012d181e400721af98004c00c92e..."} 
[2026-09-04 12:16:55] local.INFO: Packet analysis {"connection_id":172031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b28"} 
[2026-09-04 12:16:55] local.INFO: Extracted packet for processing {"connection_id":172031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b28"} 
[2026-09-04 12:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857066496001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788504187000,"timestamp_ms":1788504187000,"timestamp_seconds":1788504187,"priority":1,"record_length":96,"hex_timestamp":"000001a06b282078"} 
[2026-09-04 12:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 12:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857066496001,"66":12406,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857066496001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:16:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857066496001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":172031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:16:55] local.INFO: GPS data processed {"connection_id":172031,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:16:55] local.INFO: Acknowledgment sent {"connection_id":172031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:16:56] local.INFO: TCP Data received {"connection_id":172030,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:16:56] local.INFO: Processing buffer {"connection_id":172030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:16:56] local.INFO: Packet analysis {"connection_id":172030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:16:56] local.INFO: Extracted packet for processing {"connection_id":172030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:16:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856969984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788504090000,"timestamp_ms":1788504090000,"timestamp_seconds":1788504090,"priority":1,"record_length":96,"hex_timestamp":"000001a06b26a590"} 
[2026-09-04 12:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 12:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172030,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172030,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856969984001,"66":25832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856969984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:16:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:16:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856969984001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":172030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:16:56] local.INFO: GPS data processed {"connection_id":172030,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:16:56] local.INFO: Acknowledgment sent {"connection_id":172030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:16:59] local.INFO: TCP Data received {"connection_id":172032,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:16:59] local.INFO: Processing buffer {"connection_id":172032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:16:59] local.INFO: IMEI packet received {"connection_id":172032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":172032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:17:00] local.INFO: TCP Data received {"connection_id":172030,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:17:00] local.INFO: Processing buffer {"connection_id":172030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b26a590012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:17:00] local.INFO: Packet analysis {"connection_id":172030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:17:00] local.INFO: Extracted packet for processing {"connection_id":172030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b26"} 
[2026-09-04 12:17:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457856969984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788504090000,"timestamp_ms":1788504090000,"timestamp_seconds":1788504090,"priority":1,"record_length":96,"hex_timestamp":"000001a06b26a590"} 
[2026-09-04 12:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 12:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172030,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172030,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457856969984001,"66":25832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457856969984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:17:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:17:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457856969984001,"power":25832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":172030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762145,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:17:00] local.INFO: GPS data processed {"connection_id":172030,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:17:00] local.INFO: Acknowledgment sent {"connection_id":172030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:17:04] local.INFO: TCP Data received {"connection_id":172032,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:17:04] local.INFO: Processing buffer {"connection_id":172032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:17:04] local.INFO: IMEI packet received {"connection_id":172032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":172032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:17:05] local.INFO: TCP Data received {"connection_id":172032,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b292a18012cd53c000739bf68000f00002c..."} 
[2026-09-04 12:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b292a18012cd53c000739bf68000f00002c..."} 
[2026-09-04 12:17:05] local.INFO: Processing buffer {"connection_id":172032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b292a18012cd53c000739bf68000f00002c..."} 
[2026-09-04 12:17:05] local.INFO: Packet analysis {"connection_id":172032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b29"} 
[2026-09-04 12:17:05] local.INFO: Extracted packet for processing {"connection_id":172032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b29"} 
[2026-09-04 12:17:05] local.INFO: GPS Element Parsed {"raw_longitude":752172032,"raw_latitude":121225064,"longitude_deg":75.2172032,"latitude_deg":12.1225064,"altitude":15,"angle":0,"satellites":44,"speed":22,"hex_longitude":"2cd53c00","hex_latitude":"0739bf68","is_valid_coordinates":true} 
[2026-09-04 12:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857085184001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397734716301639680,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081588013997006848,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788504255000,"timestamp_ms":1788504255000,"timestamp_seconds":1788504255,"priority":1,"record_length":96,"hex_timestamp":"000001a06b292a18"} 
[2026-09-04 12:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 12:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857085184001,"66":27876,"149":206,"83":43264,"24":22,"16":397734716301639680,"44":-3081588013997006848},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 12:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857085184001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:17:05] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 12:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397734716301639680,"km_value":397734716301639.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:17:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081588013997006848,"description":"Unknown IO ID 44"} 
[2026-09-04 12:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857085184001,"power":27876,"unknown_149":206,"unknown_83":43264,"ignition":22,"odometer":null,"unknown_44":-3081588013997006848}} 
[2026-09-04 12:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":172032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:17:05] local.INFO: GPS data processed {"connection_id":172032,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:17:05] local.INFO: Acknowledgment sent {"connection_id":172032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:17:32] local.INFO: TCP Data received {"connection_id":172030,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:17:32] local.INFO: Processing buffer {"connection_id":172030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:17:32] local.INFO: Packet analysis {"connection_id":172030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:17:32] local.INFO: Extracted packet for processing {"connection_id":172030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:17:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857047040001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788504391000,"timestamp_ms":1788504391000,"timestamp_seconds":1788504391,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2b3d58"} 
[2026-09-04 12:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 12:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172030,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172030,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857047040001,"66":25756,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857047040001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:17:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857047040001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":172030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:17:32] local.INFO: GPS data processed {"connection_id":172030,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:17:32] local.INFO: Acknowledgment sent {"connection_id":172030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:17:36] local.INFO: TCP Data received {"connection_id":172032,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2b7fc0012cd50cc0073b62080010014b31..."} 
[2026-09-04 12:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2b7fc0012cd50cc0073b62080010014b31..."} 
[2026-09-04 12:17:36] local.INFO: Processing buffer {"connection_id":172032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2b7fc0012cd50cc0073b62080010014b31..."} 
[2026-09-04 12:17:36] local.INFO: Packet analysis {"connection_id":172032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:17:36] local.INFO: Extracted packet for processing {"connection_id":172032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:17:36] local.INFO: GPS Element Parsed {"raw_longitude":752159936,"raw_latitude":121332232,"longitude_deg":75.2159936,"latitude_deg":12.1332232,"altitude":16,"angle":331,"satellites":49,"speed":31,"hex_longitude":"2cd50cc0","hex_latitude":"073b6208","is_valid_coordinates":true} 
[2026-09-04 12:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857124352001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397740020586250240,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3089891525782298624,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788504408000,"timestamp_ms":1788504408000,"timestamp_seconds":1788504408,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2b7fc0"} 
[2026-09-04 12:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 12:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857124352001,"66":27930,"135":206,"83":43264,"24":31,"16":397740020586250240,"44":-3089891525782298624},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 12:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857124352001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:17:36] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 12:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397740020586250240,"km_value":397740020586250.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:17:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3089891525782298624,"description":"Unknown IO ID 44"} 
[2026-09-04 12:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857124352001,"power":27930,"unknown_135":206,"unknown_83":43264,"ignition":31,"odometer":null,"unknown_44":-3089891525782298624}} 
[2026-09-04 12:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":172032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:17:36] local.INFO: GPS data processed {"connection_id":172032,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:17:36] local.INFO: Acknowledgment sent {"connection_id":172032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:17:48] local.INFO: TCP Data received {"connection_id":173323,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:17:48] local.INFO: Processing buffer {"connection_id":173323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:17:48] local.INFO: IMEI packet received {"connection_id":173323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":173323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:17:49] local.INFO: TCP Data received {"connection_id":170623,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:17:49] local.INFO: Processing buffer {"connection_id":170623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:17:49] local.INFO: IMEI packet received {"connection_id":170623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":170623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:17:54] local.INFO: TCP Data received {"connection_id":173323,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:17:54] local.INFO: Processing buffer {"connection_id":173323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:17:54] local.INFO: IMEI packet received {"connection_id":173323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":173323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:17:54] local.INFO: TCP Data received {"connection_id":170623,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:17:54] local.INFO: Processing buffer {"connection_id":170623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:17:54] local.INFO: IMEI packet received {"connection_id":170623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":170623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:17:55] local.INFO: TCP Data received {"connection_id":173323,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b287280012d181e400721af98004c00c92b..."} 
[2026-09-04 12:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b287280012d181e400721af98004c00c92b..."} 
[2026-09-04 12:17:55] local.INFO: Processing buffer {"connection_id":173323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b287280012d181e400721af98004c00c92b..."} 
[2026-09-04 12:17:55] local.INFO: Packet analysis {"connection_id":173323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b28"} 
[2026-09-04 12:17:55] local.INFO: Extracted packet for processing {"connection_id":173323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b28"} 
[2026-09-04 12:17:55] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857071872001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788504208000,"timestamp_ms":1788504208000,"timestamp_seconds":1788504208,"priority":1,"record_length":96,"hex_timestamp":"000001a06b287280"} 
[2026-09-04 12:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 12:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857071872001,"66":12406,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857071872001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:17:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857071872001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":173323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:17:55] local.INFO: GPS data processed {"connection_id":173323,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:17:55] local.INFO: Acknowledgment sent {"connection_id":173323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:17:56] local.INFO: TCP Data received {"connection_id":170623,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:17:56] local.INFO: Processing buffer {"connection_id":170623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:17:56] local.INFO: Packet analysis {"connection_id":170623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:17:56] local.INFO: Extracted packet for processing {"connection_id":170623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:17:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857047040001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788504391000,"timestamp_ms":1788504391000,"timestamp_seconds":1788504391,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2b3d58"} 
[2026-09-04 12:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 12:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857047040001,"66":25756,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857047040001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:17:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:17:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857047040001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":170623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:17:56] local.INFO: GPS data processed {"connection_id":170623,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:17:56] local.INFO: Acknowledgment sent {"connection_id":170623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:18:04] local.INFO: TCP Data received {"connection_id":173324,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:18:04] local.INFO: Processing buffer {"connection_id":173324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:18:04] local.INFO: IMEI packet received {"connection_id":173324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":173324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:18:08] local.INFO: TCP Data received {"connection_id":173324,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:18:08] local.INFO: Processing buffer {"connection_id":173324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:18:08] local.INFO: IMEI packet received {"connection_id":173324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":173324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:18:08] local.INFO: TCP Data received {"connection_id":173324,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2b9b18012cd50280073b76c0001001562d..."} 
[2026-09-04 12:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2b9b18012cd50280073b76c0001001562d..."} 
[2026-09-04 12:18:08] local.INFO: Processing buffer {"connection_id":173324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2b9b18012cd50280073b76c0001001562d..."} 
[2026-09-04 12:18:08] local.INFO: Packet analysis {"connection_id":173324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:18:08] local.INFO: Extracted packet for processing {"connection_id":173324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:18:08] local.INFO: GPS Element Parsed {"raw_longitude":752157312,"raw_latitude":121337536,"longitude_deg":75.2157312,"latitude_deg":12.1337536,"altitude":16,"angle":342,"satellites":45,"speed":35,"hex_longitude":"2cd50280","hex_latitude":"073b76c0","is_valid_coordinates":true} 
[2026-09-04 12:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857128448001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397740308349059072,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3094887706616788992,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788504415000,"timestamp_ms":1788504415000,"timestamp_seconds":1788504415,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2b9b18"} 
[2026-09-04 12:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 12:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857128448001,"66":27908,"135":206,"83":43264,"24":35,"16":397740308349059072,"44":-3094887706616788992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 12:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857128448001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:18:08] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 12:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397740308349059072,"km_value":397740308349059.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:18:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3094887706616788992,"description":"Unknown IO ID 44"} 
[2026-09-04 12:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857128448001,"power":27908,"unknown_135":206,"unknown_83":43264,"ignition":35,"odometer":null,"unknown_44":-3094887706616788992}} 
[2026-09-04 12:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":173324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:18:09] local.INFO: GPS data processed {"connection_id":173324,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:18:09] local.INFO: Acknowledgment sent {"connection_id":173324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:18:27] local.INFO: TCP Data received {"connection_id":173323,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b28c488012d181e400721af98004c00c92d..."} 
[2026-09-04 12:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b28c488012d181e400721af98004c00c92d..."} 
[2026-09-04 12:18:27] local.INFO: Processing buffer {"connection_id":173323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b28c488012d181e400721af98004c00c92d..."} 
[2026-09-04 12:18:27] local.INFO: Packet analysis {"connection_id":173323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b28"} 
[2026-09-04 12:18:27] local.INFO: Extracted packet for processing {"connection_id":173323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b28"} 
[2026-09-04 12:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857077248001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788504229000,"timestamp_ms":1788504229000,"timestamp_seconds":1788504229,"priority":1,"record_length":96,"hex_timestamp":"000001a06b28c488"} 
[2026-09-04 12:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 12:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857077248001,"66":12385,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857077248001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:18:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:18:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857077248001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":173323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:18:27] local.INFO: GPS data processed {"connection_id":173323,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:18:27] local.INFO: Acknowledgment sent {"connection_id":173323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:18:28] local.INFO: TCP Data received {"connection_id":170623,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:18:28] local.INFO: Processing buffer {"connection_id":170623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:18:28] local.INFO: Packet analysis {"connection_id":170623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:18:28] local.INFO: Extracted packet for processing {"connection_id":170623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:18:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857047040001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788504391000,"timestamp_ms":1788504391000,"timestamp_seconds":1788504391,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2b3d58"} 
[2026-09-04 12:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 12:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857047040001,"66":25756,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857047040001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:18:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:18:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857047040001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":170623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:18:28] local.INFO: GPS data processed {"connection_id":170623,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:18:28] local.INFO: Acknowledgment sent {"connection_id":170623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:18:40] local.INFO: TCP Data received {"connection_id":173324,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2ba2e8012cd50140073b7db8001001622f..."} 
[2026-09-04 12:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2ba2e8012cd50140073b7db8001001622f..."} 
[2026-09-04 12:18:40] local.INFO: Processing buffer {"connection_id":173324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2ba2e8012cd50140073b7db8001001622f..."} 
[2026-09-04 12:18:40] local.INFO: Packet analysis {"connection_id":173324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:18:40] local.INFO: Extracted packet for processing {"connection_id":173324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:18:40] local.INFO: GPS Element Parsed {"raw_longitude":752156992,"raw_latitude":121339320,"longitude_deg":75.2156992,"latitude_deg":12.133932,"altitude":16,"angle":354,"satellites":47,"speed":35,"hex_longitude":"2cd50140","hex_latitude":"073b7db8","is_valid_coordinates":true} 
[2026-09-04 12:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857130240001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397740394248404992,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3097772825126715392,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788504417000,"timestamp_ms":1788504417000,"timestamp_seconds":1788504417,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2ba2e8"} 
[2026-09-04 12:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 12:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857130240001,"66":27865,"135":206,"83":43264,"24":35,"16":397740394248404992,"44":-3097772825126715392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 12:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857130240001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:18:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 12:18:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397740394248404992,"km_value":397740394248405.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:18:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3097772825126715392,"description":"Unknown IO ID 44"} 
[2026-09-04 12:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857130240001,"power":27865,"unknown_135":206,"unknown_83":43264,"ignition":35,"odometer":null,"unknown_44":-3097772825126715392}} 
[2026-09-04 12:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":173324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:18:40] local.INFO: GPS data processed {"connection_id":173324,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:18:40] local.INFO: Acknowledgment sent {"connection_id":173324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:18:48] local.INFO: TCP Data received {"connection_id":170928,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:18:48] local.INFO: Processing buffer {"connection_id":170928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:18:48] local.INFO: IMEI packet received {"connection_id":170928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":170928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:18:49] local.INFO: TCP Data received {"connection_id":170929,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:18:49] local.INFO: Processing buffer {"connection_id":170929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:18:49] local.INFO: IMEI packet received {"connection_id":170929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":170929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:18:53] local.INFO: TCP Data received {"connection_id":170928,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:18:53] local.INFO: Processing buffer {"connection_id":170928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:18:53] local.INFO: IMEI packet received {"connection_id":170928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":170928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:18:54] local.INFO: TCP Data received {"connection_id":170929,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:18:54] local.INFO: Processing buffer {"connection_id":170929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:18:54] local.INFO: IMEI packet received {"connection_id":170929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":170929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:18:55] local.INFO: TCP Data received {"connection_id":170928,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b291690012d181e400721af98004c00c92e..."} 
[2026-09-04 12:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b291690012d181e400721af98004c00c92e..."} 
[2026-09-04 12:18:55] local.INFO: Processing buffer {"connection_id":170928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b291690012d181e400721af98004c00c92e..."} 
[2026-09-04 12:18:55] local.INFO: Packet analysis {"connection_id":170928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b29"} 
[2026-09-04 12:18:55] local.INFO: Extracted packet for processing {"connection_id":170928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b29"} 
[2026-09-04 12:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857082624001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788504250000,"timestamp_ms":1788504250000,"timestamp_seconds":1788504250,"priority":1,"record_length":96,"hex_timestamp":"000001a06b291690"} 
[2026-09-04 12:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 12:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857082624001,"66":12428,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857082624001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:18:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857082624001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":170928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:18:55] local.INFO: GPS data processed {"connection_id":170928,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:18:55] local.INFO: Acknowledgment sent {"connection_id":170928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:18:56] local.INFO: TCP Data received {"connection_id":170929,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:18:56] local.INFO: Processing buffer {"connection_id":170929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:18:56] local.INFO: Packet analysis {"connection_id":170929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:18:56] local.INFO: Extracted packet for processing {"connection_id":170929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:18:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857047040001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788504391000,"timestamp_ms":1788504391000,"timestamp_seconds":1788504391,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2b3d58"} 
[2026-09-04 12:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 12:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857047040001,"66":25756,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857047040001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:18:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:18:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857047040001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":170929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:18:56] local.INFO: GPS data processed {"connection_id":170929,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:18:56] local.INFO: Acknowledgment sent {"connection_id":170929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:19:00] local.INFO: TCP Data received {"connection_id":172033,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:19:00] local.INFO: Processing buffer {"connection_id":172033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:19:00] local.INFO: IMEI packet received {"connection_id":172033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":172033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:19:03] local.INFO: TCP Data received {"connection_id":172033,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:19:03] local.INFO: Processing buffer {"connection_id":172033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:19:03] local.INFO: IMEI packet received {"connection_id":172033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":172033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:19:03] local.INFO: TCP Data received {"connection_id":172033,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2bc9f8012cd50080073ba3d8000f00002b..."} 
[2026-09-04 12:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2bc9f8012cd50080073ba3d8000f00002b..."} 
[2026-09-04 12:19:03] local.INFO: Processing buffer {"connection_id":172033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2bc9f8012cd50080073ba3d8000f00002b..."} 
[2026-09-04 12:19:03] local.INFO: Packet analysis {"connection_id":172033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:19:03] local.INFO: Extracted packet for processing {"connection_id":172033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:19:03] local.INFO: GPS Element Parsed {"raw_longitude":752156800,"raw_latitude":121349080,"longitude_deg":75.21568,"latitude_deg":12.134908,"altitude":15,"angle":0,"satellites":43,"speed":39,"hex_longitude":"2cd50080","hex_latitude":"073ba3d8","is_valid_coordinates":true} 
[2026-09-04 12:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857130752001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397740866694807552,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098124668847147008,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788504427000,"timestamp_ms":1788504427000,"timestamp_seconds":1788504427,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2bc9f8"} 
[2026-09-04 12:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 12:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857130752001,"66":27908,"135":206,"83":43264,"24":39,"16":397740866694807552,"44":-3098124668847147008},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 12:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857130752001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:19:03] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 12:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397740866694807552,"km_value":397740866694807.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098124668847147008,"description":"Unknown IO ID 44"} 
[2026-09-04 12:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857130752001,"power":27908,"unknown_135":206,"unknown_83":43264,"ignition":39,"odometer":null,"unknown_44":-3098124668847147008}} 
[2026-09-04 12:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":172033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:19:03] local.INFO: GPS data processed {"connection_id":172033,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:19:03] local.INFO: Acknowledgment sent {"connection_id":172033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:19:26] local.INFO: TCP Data received {"connection_id":170928,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2c9ce8012d181e400721af98004c00c92d..."} 
[2026-09-04 12:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2c9ce8012d181e400721af98004c00c92d..."} 
[2026-09-04 12:19:26] local.INFO: Processing buffer {"connection_id":170928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2c9ce8012d181e400721af98004c00c92d..."} 
[2026-09-04 12:19:26] local.INFO: Packet analysis {"connection_id":170928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2c"} 
[2026-09-04 12:19:26] local.INFO: Extracted packet for processing {"connection_id":170928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2c"} 
[2026-09-04 12:19:26] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857141760001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788504481000,"timestamp_ms":1788504481000,"timestamp_seconds":1788504481,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2c9ce8"} 
[2026-09-04 12:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 12:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857141760001,"66":12374,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857141760001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:19:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:19:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857141760001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":170928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:19:26] local.INFO: GPS data processed {"connection_id":170928,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:19:26] local.INFO: Acknowledgment sent {"connection_id":170928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:19:31] local.INFO: TCP Data received {"connection_id":170929,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:19:31] local.INFO: Processing buffer {"connection_id":170929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:19:31] local.INFO: Packet analysis {"connection_id":170929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:19:31] local.INFO: Extracted packet for processing {"connection_id":170929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857047040001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788504391000,"timestamp_ms":1788504391000,"timestamp_seconds":1788504391,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2b3d58"} 
[2026-09-04 12:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 12:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":170929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":170929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":170929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857047040001,"66":25756,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857047040001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:19:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:19:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857047040001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":170929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:19:31] local.INFO: GPS data processed {"connection_id":170929,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:19:31] local.INFO: Acknowledgment sent {"connection_id":170929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:19:34] local.INFO: TCP Data received {"connection_id":172033,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2bf108012cd50040073bc9f0000f01662d..."} 
[2026-09-04 12:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2bf108012cd50040073bc9f0000f01662d..."} 
[2026-09-04 12:19:34] local.INFO: Processing buffer {"connection_id":172033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2bf108012cd50040073bc9f0000f01662d..."} 
[2026-09-04 12:19:34] local.INFO: Packet analysis {"connection_id":172033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:19:34] local.INFO: Extracted packet for processing {"connection_id":172033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:19:34] local.INFO: GPS Element Parsed {"raw_longitude":752156736,"raw_latitude":121358832,"longitude_deg":75.2156736,"latitude_deg":12.1358832,"altitude":15,"angle":358,"satellites":45,"speed":39,"hex_longitude":"2cd50040","hex_latitude":"073bc9f0","is_valid_coordinates":true} 
[2026-09-04 12:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857133312001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397741339141210112,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098335775077181440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788504437000,"timestamp_ms":1788504437000,"timestamp_seconds":1788504437,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2bf108"} 
[2026-09-04 12:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 12:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857133312001,"66":27930,"135":206,"83":43264,"24":39,"16":397741339141210112,"44":-3098335775077181440},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 12:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857133312001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:19:34] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 12:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397741339141210112,"km_value":397741339141210.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:19:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098335775077181440,"description":"Unknown IO ID 44"} 
[2026-09-04 12:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857133312001,"power":27930,"unknown_135":206,"unknown_83":43264,"ignition":39,"odometer":null,"unknown_44":-3098335775077181440}} 
[2026-09-04 12:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":172033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:19:35] local.INFO: GPS data processed {"connection_id":172033,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:19:35] local.INFO: Acknowledgment sent {"connection_id":172033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:19:54] local.INFO: TCP Data received {"connection_id":173325,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:19:54] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:19:54] local.INFO: IMEI packet received {"connection_id":173325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":173325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:19:54] local.INFO: TCP Data received {"connection_id":170624,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:19:54] local.INFO: Processing buffer {"connection_id":170624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:19:54] local.INFO: IMEI packet received {"connection_id":170624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":170624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:19:56] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:19:56] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:19:56] local.INFO: IMEI packet received {"connection_id":172034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":172034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:19:58] local.INFO: TCP Data received {"connection_id":173325,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:19:58] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:19:58] local.INFO: IMEI packet received {"connection_id":173325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":173325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:19:59] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:19:59] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:19:59] local.INFO: IMEI packet received {"connection_id":172034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":172034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:19:59] local.INFO: TCP Data received {"connection_id":173325,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2ceef0012d181e400721af98004c00c92d..."} 
[2026-09-04 12:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2ceef0012d181e400721af98004c00c92d..."} 
[2026-09-04 12:19:59] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2ceef0012d181e400721af98004c00c92d..."} 
[2026-09-04 12:19:59] local.INFO: Packet analysis {"connection_id":173325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2c"} 
[2026-09-04 12:19:59] local.INFO: Extracted packet for processing {"connection_id":173325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2c"} 
[2026-09-04 12:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857147136001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788504502000,"timestamp_ms":1788504502000,"timestamp_seconds":1788504502,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2ceef0"} 
[2026-09-04 12:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 12:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857147136001,"66":11993,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857147136001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:19:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857147136001,"power":11993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:19:59] local.INFO: TCP Data received {"connection_id":170624,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:19:59] local.INFO: Processing buffer {"connection_id":170624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:19:59] local.INFO: IMEI packet received {"connection_id":170624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":170624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":173325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:19:59] local.INFO: GPS data processed {"connection_id":173325,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:19:59] local.INFO: Acknowledgment sent {"connection_id":173325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:20:00] local.INFO: TCP Data received {"connection_id":170624,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:20:00] local.INFO: Processing buffer {"connection_id":170624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:20:00] local.INFO: Packet analysis {"connection_id":170624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:20:00] local.INFO: Extracted packet for processing {"connection_id":170624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:20:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857047040001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788504391000,"timestamp_ms":1788504391000,"timestamp_seconds":1788504391,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2b3d58"} 
[2026-09-04 12:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 12:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857047040001,"66":25756,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857047040001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:20:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:20:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857047040001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":170624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:20:00] local.INFO: GPS data processed {"connection_id":170624,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:20:00] local.INFO: Acknowledgment sent {"connection_id":170624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:20:02] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:20:02] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:20:02] local.INFO: IMEI packet received {"connection_id":172034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":172034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:20:03] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2d73c0012cd4bf40073d62d8001101572d..."} 
[2026-09-04 12:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2d73c0012cd4bf40073d62d8001101572d..."} 
[2026-09-04 12:20:03] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2d73c0012cd4bf40073d62d8001101572d..."} 
[2026-09-04 12:20:03] local.INFO: Packet analysis {"connection_id":172034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2d"} 
[2026-09-04 12:20:03] local.INFO: Extracted packet for processing {"connection_id":172034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2d"} 
[2026-09-04 12:20:03] local.INFO: GPS Element Parsed {"raw_longitude":752140096,"raw_latitude":121463512,"longitude_deg":75.2140096,"latitude_deg":12.1463512,"altitude":17,"angle":343,"satellites":45,"speed":46,"hex_longitude":"2cd4bf40","hex_latitude":"073d62d8","is_valid_coordinates":true} 
[2026-09-04 12:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857159168001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397746488806998016,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3113746530025138176,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788504536000,"timestamp_ms":1788504536000,"timestamp_seconds":1788504536,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2d73c0"} 
[2026-09-04 12:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 12:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857159168001,"66":27919,"117":206,"83":43264,"24":46,"16":397746488806998016,"44":-3113746530025138176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,44]} 
[2026-09-04 12:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857159168001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:20:03] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-04 12:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397746488806998016,"km_value":397746488806998.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:20:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3113746530025138176,"description":"Unknown IO ID 44"} 
[2026-09-04 12:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857159168001,"power":27919,"unknown_117":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3113746530025138176}} 
[2026-09-04 12:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":172034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:20:03] local.INFO: GPS data processed {"connection_id":172034,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:20:03] local.INFO: Acknowledgment sent {"connection_id":172034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:20:04] local.INFO: TCP Data received {"connection_id":173325,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2d40f8012d181e400721af98004c00c92f..."} 
[2026-09-04 12:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2d40f8012d181e400721af98004c00c92f..."} 
[2026-09-04 12:20:04] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2d40f8012d181e400721af98004c00c92f..."} 
[2026-09-04 12:20:04] local.INFO: Packet analysis {"connection_id":173325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2d"} 
[2026-09-04 12:20:04] local.INFO: Extracted packet for processing {"connection_id":173325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2d"} 
[2026-09-04 12:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":47,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857152512001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788504523000,"timestamp_ms":1788504523000,"timestamp_seconds":1788504523,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2d40f8"} 
[2026-09-04 12:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 12:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857152512001,"66":12374,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857152512001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:20:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:20:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857152512001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":173325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:20:04] local.INFO: GPS data processed {"connection_id":173325,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:20:04] local.INFO: Acknowledgment sent {"connection_id":173325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:20:05] local.INFO: TCP Data received {"connection_id":170624,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:20:05] local.INFO: Processing buffer {"connection_id":170624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:20:05] local.INFO: Packet analysis {"connection_id":170624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:20:05] local.INFO: Extracted packet for processing {"connection_id":170624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857047040001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788504391000,"timestamp_ms":1788504391000,"timestamp_seconds":1788504391,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2b3d58"} 
[2026-09-04 12:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 12:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857047040001,"66":25756,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857047040001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:20:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:20:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857047040001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":170624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:20:05] local.INFO: GPS data processed {"connection_id":170624,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:20:05] local.INFO: Acknowledgment sent {"connection_id":170624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:20:34] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2d9300012cd4b340073d8678001201552a..."} 
[2026-09-04 12:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2d9300012cd4b340073d8678001201552a..."} 
[2026-09-04 12:20:34] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2d9300012cd4b340073d8678001201552a..."} 
[2026-09-04 12:20:34] local.INFO: Packet analysis {"connection_id":172034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2d"} 
[2026-09-04 12:20:34] local.INFO: Extracted packet for processing {"connection_id":172034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2d"} 
[2026-09-04 12:20:34] local.INFO: GPS Element Parsed {"raw_longitude":752137024,"raw_latitude":121472632,"longitude_deg":75.2137024,"latitude_deg":12.1472632,"altitude":18,"angle":341,"satellites":42,"speed":49,"hex_longitude":"2cd4b340","hex_latitude":"073d8678","is_valid_coordinates":true} 
[2026-09-04 12:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857161216001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397746952663465984,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3116702017278257152,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788504544000,"timestamp_ms":1788504544000,"timestamp_seconds":1788504544,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2d9300"} 
[2026-09-04 12:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 12:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857161216001,"66":27930,"117":206,"83":43264,"24":49,"16":397746952663465984,"44":-3116702017278257152},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,44]} 
[2026-09-04 12:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857161216001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:20:34] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-04 12:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397746952663465984,"km_value":397746952663466.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:20:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3116702017278257152,"description":"Unknown IO ID 44"} 
[2026-09-04 12:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857161216001,"power":27930,"unknown_117":206,"unknown_83":43264,"ignition":49,"odometer":null,"unknown_44":-3116702017278257152}} 
[2026-09-04 12:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":172034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:20:34] local.INFO: GPS data processed {"connection_id":172034,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:20:34] local.INFO: Acknowledgment sent {"connection_id":172034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:20:45] local.INFO: TCP Data received {"connection_id":170930,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:20:45] local.INFO: Processing buffer {"connection_id":170930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:20:45] local.INFO: IMEI packet received {"connection_id":170930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":170930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:20:49] local.INFO: TCP Data received {"connection_id":170930,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:20:49] local.INFO: Processing buffer {"connection_id":170930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:20:49] local.INFO: IMEI packet received {"connection_id":170930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":170930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:20:49] local.INFO: TCP Data received {"connection_id":173326,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:20:49] local.INFO: Processing buffer {"connection_id":173326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:20:49] local.INFO: IMEI packet received {"connection_id":173326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":173326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:20:54] local.INFO: TCP Data received {"connection_id":170930,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:20:54] local.INFO: Processing buffer {"connection_id":170930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:20:54] local.INFO: IMEI packet received {"connection_id":170930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":170930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:20:54] local.INFO: TCP Data received {"connection_id":173326,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:20:54] local.INFO: Processing buffer {"connection_id":173326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:20:54] local.INFO: IMEI packet received {"connection_id":173326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":173326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:20:55] local.INFO: TCP Data received {"connection_id":170930,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2d9300012d181e400721af98004c00c92f..."} 
[2026-09-04 12:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2d9300012d181e400721af98004c00c92f..."} 
[2026-09-04 12:20:55] local.INFO: Processing buffer {"connection_id":170930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2d9300012d181e400721af98004c00c92f..."} 
[2026-09-04 12:20:55] local.INFO: Packet analysis {"connection_id":170930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2d"} 
[2026-09-04 12:20:55] local.INFO: Extracted packet for processing {"connection_id":170930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2d"} 
[2026-09-04 12:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":47,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857157888001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788504544000,"timestamp_ms":1788504544000,"timestamp_seconds":1788504544,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2d9300"} 
[2026-09-04 12:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 12:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857157888001,"66":12385,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857157888001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:20:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857157888001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":170930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:20:55] local.INFO: GPS data processed {"connection_id":170930,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:20:55] local.INFO: Acknowledgment sent {"connection_id":170930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:20:56] local.INFO: TCP Data received {"connection_id":173326,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:20:56] local.INFO: Processing buffer {"connection_id":173326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:20:56] local.INFO: Packet analysis {"connection_id":173326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:20:56] local.INFO: Extracted packet for processing {"connection_id":173326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:20:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857047040001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788504391000,"timestamp_ms":1788504391000,"timestamp_seconds":1788504391,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2b3d58"} 
[2026-09-04 12:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 12:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857047040001,"66":25756,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857047040001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:20:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:20:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857047040001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":173326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762168,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:20:56] local.INFO: GPS data processed {"connection_id":173326,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:20:56] local.INFO: Acknowledgment sent {"connection_id":173326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:20:59] local.INFO: TCP Data received {"connection_id":170930,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2de508012d181e400721af98004c00c930..."} 
[2026-09-04 12:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2de508012d181e400721af98004c00c930..."} 
[2026-09-04 12:20:59] local.INFO: Processing buffer {"connection_id":170930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2de508012d181e400721af98004c00c930..."} 
[2026-09-04 12:20:59] local.INFO: Packet analysis {"connection_id":170930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2d"} 
[2026-09-04 12:20:59] local.INFO: Extracted packet for processing {"connection_id":170930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2d"} 
[2026-09-04 12:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":48,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857163264001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788504565000,"timestamp_ms":1788504565000,"timestamp_seconds":1788504565,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2de508"} 
[2026-09-04 12:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 12:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857163264001,"66":12385,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857163264001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:20:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:20:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857163264001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":170930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:20:59] local.INFO: GPS data processed {"connection_id":170930,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:20:59] local.INFO: Acknowledgment sent {"connection_id":170930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:20:59] local.INFO: TCP Data received {"connection_id":170625,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:20:59] local.INFO: Processing buffer {"connection_id":170625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:20:59] local.INFO: IMEI packet received {"connection_id":170625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":170625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:21:06] local.INFO: TCP Data received {"connection_id":170625,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:21:06] local.INFO: Processing buffer {"connection_id":170625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:21:06] local.INFO: IMEI packet received {"connection_id":170625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":170625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:21:08] local.INFO: TCP Data received {"connection_id":170625,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2dae58012cd4a7c0073da940001101572d..."} 
[2026-09-04 12:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2dae58012cd4a7c0073da940001101572d..."} 
[2026-09-04 12:21:08] local.INFO: Processing buffer {"connection_id":170625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2dae58012cd4a7c0073da940001101572d..."} 
[2026-09-04 12:21:08] local.INFO: Packet analysis {"connection_id":170625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2d"} 
[2026-09-04 12:21:08] local.INFO: Extracted packet for processing {"connection_id":170625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2d"} 
[2026-09-04 12:21:08] local.INFO: GPS Element Parsed {"raw_longitude":752134080,"raw_latitude":121481536,"longitude_deg":75.213408,"latitude_deg":12.1481536,"altitude":17,"angle":343,"satellites":45,"speed":56,"hex_longitude":"2cd4a7c0","hex_latitude":"073da940","is_valid_coordinates":true} 
[2026-09-04 12:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857163264001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397747407929999360,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120079716996450304,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788504551000,"timestamp_ms":1788504551000,"timestamp_seconds":1788504551,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2dae58"} 
[2026-09-04 12:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 12:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857163264001,"66":27876,"117":206,"83":43264,"24":56,"16":397747407929999360,"44":-3120079716996450304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,44]} 
[2026-09-04 12:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857163264001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:21:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-04 12:21:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397747407929999360,"km_value":397747407929999.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:21:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120079716996450304,"description":"Unknown IO ID 44"} 
[2026-09-04 12:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857163264001,"power":27876,"unknown_117":206,"unknown_83":43264,"ignition":56,"odometer":null,"unknown_44":-3120079716996450304}} 
[2026-09-04 12:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":170625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:21:08] local.INFO: GPS data processed {"connection_id":170625,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:21:08] local.INFO: Acknowledgment sent {"connection_id":170625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:21:28] local.INFO: TCP Data received {"connection_id":173326,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:21:28] local.INFO: Processing buffer {"connection_id":173326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:21:28] local.INFO: Packet analysis {"connection_id":173326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:21:28] local.INFO: Extracted packet for processing {"connection_id":173326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:21:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857047040001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788504391000,"timestamp_ms":1788504391000,"timestamp_seconds":1788504391,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2b3d58"} 
[2026-09-04 12:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 12:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857047040001,"66":25756,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857047040001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:21:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857047040001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":173326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:21:28] local.INFO: GPS data processed {"connection_id":173326,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:21:28] local.INFO: Acknowledgment sent {"connection_id":173326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:21:30] local.INFO: TCP Data received {"connection_id":170930,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2e3710012d181e400721af98004c00c92c..."} 
[2026-09-04 12:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2e3710012d181e400721af98004c00c92c..."} 
[2026-09-04 12:21:30] local.INFO: Processing buffer {"connection_id":170930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2e3710012d181e400721af98004c00c92c..."} 
[2026-09-04 12:21:30] local.INFO: Packet analysis {"connection_id":170930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2e"} 
[2026-09-04 12:21:30] local.INFO: Extracted packet for processing {"connection_id":170930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2e"} 
[2026-09-04 12:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857168640001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788504586000,"timestamp_ms":1788504586000,"timestamp_seconds":1788504586,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2e3710"} 
[2026-09-04 12:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 12:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857168640001,"66":12374,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857168640001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:21:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:21:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857168640001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":170930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:21:31] local.INFO: GPS data processed {"connection_id":170930,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:21:31] local.INFO: Acknowledgment sent {"connection_id":170930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:21:38] local.INFO: TCP Data received {"connection_id":170625,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2f2940012cd3c980073f7760000f01342d..."} 
[2026-09-04 12:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2f2940012cd3c980073f7760000f01342d..."} 
[2026-09-04 12:21:38] local.INFO: Processing buffer {"connection_id":170625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2f2940012cd3c980073f7760000f01342d..."} 
[2026-09-04 12:21:38] local.INFO: Packet analysis {"connection_id":170625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:21:38] local.INFO: Extracted packet for processing {"connection_id":170625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:21:38] local.INFO: GPS Element Parsed {"raw_longitude":752077184,"raw_latitude":121599840,"longitude_deg":75.2077184,"latitude_deg":12.159984,"altitude":15,"angle":308,"satellites":45,"speed":55,"hex_longitude":"2cd3c980","hex_latitude":"073f7760","is_valid_coordinates":true} 
[2026-09-04 12:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857188096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397753846085976064,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3177430243470292992,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788504648000,"timestamp_ms":1788504648000,"timestamp_seconds":1788504648,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2f2940"} 
[2026-09-04 12:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 12:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857188096001,"66":27930,"243":206,"83":43264,"24":55,"16":397753846085976064,"44":-3177430243470292992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-09-04 12:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857188096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:21:38] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 12:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397753846085976064,"km_value":397753846085976.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:21:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3177430243470292992,"description":"Unknown IO ID 44"} 
[2026-09-04 12:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857188096001,"power":27930,"unknown_243":206,"unknown_83":43264,"ignition":55,"odometer":null,"unknown_44":-3177430243470292992}} 
[2026-09-04 12:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":170625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:21:38] local.INFO: GPS data processed {"connection_id":170625,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:21:38] local.INFO: Acknowledgment sent {"connection_id":170625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:21:49] local.INFO: TCP Data received {"connection_id":170931,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:21:49] local.INFO: Processing buffer {"connection_id":170931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:21:49] local.INFO: IMEI packet received {"connection_id":170931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":170931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:21:49] local.INFO: TCP Data received {"connection_id":170932,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:21:49] local.INFO: Processing buffer {"connection_id":170932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:21:49] local.INFO: IMEI packet received {"connection_id":170932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":170932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:21:49] local.INFO: TCP Data received {"connection_id":170931,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:21:49] local.INFO: Processing buffer {"connection_id":170931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:21:49] local.INFO: IMEI packet received {"connection_id":170931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":170931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:21:54] local.INFO: TCP Data received {"connection_id":170931,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:21:54] local.INFO: Processing buffer {"connection_id":170931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:21:54] local.INFO: IMEI packet received {"connection_id":170931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":170931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:21:54] local.INFO: TCP Data received {"connection_id":170932,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:21:54] local.INFO: Processing buffer {"connection_id":170932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:21:54] local.INFO: IMEI packet received {"connection_id":170932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":170932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:21:55] local.INFO: TCP Data received {"connection_id":170931,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2e8918012d181e400721af98004c00c92f..."} 
[2026-09-04 12:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2e8918012d181e400721af98004c00c92f..."} 
[2026-09-04 12:21:55] local.INFO: Processing buffer {"connection_id":170931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2e8918012d181e400721af98004c00c92f..."} 
[2026-09-04 12:21:55] local.INFO: Packet analysis {"connection_id":170931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2e"} 
[2026-09-04 12:21:55] local.INFO: Extracted packet for processing {"connection_id":170931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2e"} 
[2026-09-04 12:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":47,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857174016001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788504607000,"timestamp_ms":1788504607000,"timestamp_seconds":1788504607,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2e8918"} 
[2026-09-04 12:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 12:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857174016001,"66":11874,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857174016001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:21:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:21:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857174016001,"power":11874,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":170931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:21:55] local.INFO: GPS data processed {"connection_id":170931,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:21:55] local.INFO: Acknowledgment sent {"connection_id":170931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:21:56] local.INFO: TCP Data received {"connection_id":170932,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:21:56] local.INFO: Processing buffer {"connection_id":170932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2b3d58012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:21:56] local.INFO: Packet analysis {"connection_id":170932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:21:56] local.INFO: Extracted packet for processing {"connection_id":170932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2b"} 
[2026-09-04 12:21:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857047040001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788504391000,"timestamp_ms":1788504391000,"timestamp_seconds":1788504391,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2b3d58"} 
[2026-09-04 12:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 12:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857047040001,"66":25756,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857047040001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:21:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:21:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857047040001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":170932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:21:56] local.INFO: GPS data processed {"connection_id":170932,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:21:56] local.INFO: Acknowledgment sent {"connection_id":170932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:21:59] local.INFO: TCP Data received {"connection_id":173327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:21:59] local.INFO: Processing buffer {"connection_id":173327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:21:59] local.INFO: IMEI packet received {"connection_id":173327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":173327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:22:02] local.INFO: TCP Data received {"connection_id":173327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:22:02] local.INFO: Processing buffer {"connection_id":173327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:22:02] local.INFO: IMEI packet received {"connection_id":173327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":173327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:22:04] local.INFO: TCP Data received {"connection_id":173327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:22:04] local.INFO: Processing buffer {"connection_id":173327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:22:04] local.INFO: IMEI packet received {"connection_id":173327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":173327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:22:05] local.INFO: TCP Data received {"connection_id":173327,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2f4498012cd3ae00073f9228000f01402f..."} 
[2026-09-04 12:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2f4498012cd3ae00073f9228000f01402f..."} 
[2026-09-04 12:22:05] local.INFO: Processing buffer {"connection_id":173327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2f4498012cd3ae00073f9228000f01402f..."} 
[2026-09-04 12:22:05] local.INFO: Packet analysis {"connection_id":173327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:22:05] local.INFO: Extracted packet for processing {"connection_id":173327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:22:05] local.INFO: GPS Element Parsed {"raw_longitude":752070144,"raw_latitude":121606696,"longitude_deg":75.2070144,"latitude_deg":12.1606696,"altitude":15,"angle":320,"satellites":47,"speed":56,"hex_longitude":"2cd3ae00","hex_latitude":"073f9228","is_valid_coordinates":true} 
[2026-09-04 12:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857189888001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397754318532378624,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3185874492770000896,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788504655000,"timestamp_ms":1788504655000,"timestamp_seconds":1788504655,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2f4498"} 
[2026-09-04 12:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 12:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857189888001,"66":27767,"243":206,"83":43264,"24":56,"16":397754318532378624,"44":-3185874492770000896},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-09-04 12:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857189888001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:22:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 12:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397754318532378624,"km_value":397754318532378.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:22:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3185874492770000896,"description":"Unknown IO ID 44"} 
[2026-09-04 12:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857189888001,"power":27767,"unknown_243":206,"unknown_83":43264,"ignition":56,"odometer":null,"unknown_44":-3185874492770000896}} 
[2026-09-04 12:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":173327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:22:05] local.INFO: GPS data processed {"connection_id":173327,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:22:05] local.INFO: Acknowledgment sent {"connection_id":173327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:22:10] local.INFO: TCP Data received {"connection_id":173327,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2f4498012cd3ae00073f9228000f01402f..."} 
[2026-09-04 12:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2f4498012cd3ae00073f9228000f01402f..."} 
[2026-09-04 12:22:10] local.INFO: Processing buffer {"connection_id":173327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2f4498012cd3ae00073f9228000f01402f..."} 
[2026-09-04 12:22:10] local.INFO: Packet analysis {"connection_id":173327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:22:10] local.INFO: Extracted packet for processing {"connection_id":173327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:22:10] local.INFO: GPS Element Parsed {"raw_longitude":752070144,"raw_latitude":121606696,"longitude_deg":75.2070144,"latitude_deg":12.1606696,"altitude":15,"angle":320,"satellites":47,"speed":56,"hex_longitude":"2cd3ae00","hex_latitude":"073f9228","is_valid_coordinates":true} 
[2026-09-04 12:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857191680001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397754318532378624,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3193615054627788800,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788504655000,"timestamp_ms":1788504655000,"timestamp_seconds":1788504655,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2f4498"} 
[2026-09-04 12:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857191680001,"66":27767,"243":206,"83":43264,"24":56,"16":397754318532378624,"44":-3193615054627788800},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-09-04 12:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857191680001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:22:10] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 12:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397754318532378624,"km_value":397754318532378.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3193615054627788800,"description":"Unknown IO ID 44"} 
[2026-09-04 12:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857191680001,"power":27767,"unknown_243":206,"unknown_83":43264,"ignition":56,"odometer":null,"unknown_44":-3193615054627788800}} 
[2026-09-04 12:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":173327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:22:10] local.INFO: GPS data processed {"connection_id":173327,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:22:10] local.INFO: Acknowledgment sent {"connection_id":173327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:22:27] local.INFO: TCP Data received {"connection_id":170931,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2edb20012d181e400721af98004c00c92e..."} 
[2026-09-04 12:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2edb20012d181e400721af98004c00c92e..."} 
[2026-09-04 12:22:27] local.INFO: Processing buffer {"connection_id":170931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2edb20012d181e400721af98004c00c92e..."} 
[2026-09-04 12:22:27] local.INFO: Packet analysis {"connection_id":170931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2e"} 
[2026-09-04 12:22:27] local.INFO: Extracted packet for processing {"connection_id":170931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2e"} 
[2026-09-04 12:22:27] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857179392001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788504628000,"timestamp_ms":1788504628000,"timestamp_seconds":1788504628,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2edb20"} 
[2026-09-04 12:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 12:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857179392001,"66":12178,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857179392001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:22:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:22:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857179392001,"power":12178,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":170931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:22:27] local.INFO: GPS data processed {"connection_id":170931,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:22:27] local.INFO: Acknowledgment sent {"connection_id":170931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:22:32] local.INFO: TCP Data received {"connection_id":170932,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:22:32] local.INFO: Processing buffer {"connection_id":170932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:22:32] local.INFO: Packet analysis {"connection_id":170932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:22:32] local.INFO: Extracted packet for processing {"connection_id":170932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:22:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857124096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788504692000,"timestamp_ms":1788504692000,"timestamp_seconds":1788504692,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2fd520"} 
[2026-09-04 12:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 12:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857124096001,"66":25734,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857124096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:22:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:22:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857124096001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":170932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:22:32] local.INFO: GPS data processed {"connection_id":170932,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:22:32] local.INFO: Acknowledgment sent {"connection_id":170932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:22:41] local.INFO: TCP Data received {"connection_id":173327,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2f5ff0012cd397c0073fb288000d01492c..."} 
[2026-09-04 12:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2f5ff0012cd397c0073fb288000d01492c..."} 
[2026-09-04 12:22:41] local.INFO: Processing buffer {"connection_id":173327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2f5ff0012cd397c0073fb288000d01492c..."} 
[2026-09-04 12:22:41] local.INFO: Packet analysis {"connection_id":173327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:22:41] local.INFO: Extracted packet for processing {"connection_id":173327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:22:41] local.INFO: GPS Element Parsed {"raw_longitude":752064448,"raw_latitude":121614984,"longitude_deg":75.2064448,"latitude_deg":12.1614984,"altitude":13,"angle":329,"satellites":44,"speed":57,"hex_longitude":"2cd397c0","hex_latitude":"073fb288","is_valid_coordinates":true} 
[2026-09-04 12:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857191680001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397754803863683072,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3193615054627788800,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788504662000,"timestamp_ms":1788504662000,"timestamp_seconds":1788504662,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2f5ff0"} 
[2026-09-04 12:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857191680001,"66":26832,"243":206,"83":43264,"24":57,"16":397754803863683072,"44":-3193615054627788800},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-09-04 12:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857191680001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:22:41] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 12:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397754803863683072,"km_value":397754803863683.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3193615054627788800,"description":"Unknown IO ID 44"} 
[2026-09-04 12:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857191680001,"power":26832,"unknown_243":206,"unknown_83":43264,"ignition":57,"odometer":null,"unknown_44":-3193615054627788800}} 
[2026-09-04 12:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":173327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:22:41] local.INFO: GPS data processed {"connection_id":173327,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:22:41] local.INFO: Acknowledgment sent {"connection_id":173327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:22:48] local.INFO: TCP Data received {"connection_id":172035,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:22:48] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:22:48] local.INFO: IMEI packet received {"connection_id":172035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":172035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:22:53] local.INFO: TCP Data received {"connection_id":172035,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:22:53] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:22:53] local.INFO: IMEI packet received {"connection_id":172035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":172035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:22:54] local.INFO: TCP Data received {"connection_id":173328,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173328,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:22:54] local.INFO: Processing buffer {"connection_id":173328,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:22:54] local.INFO: IMEI packet received {"connection_id":173328,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":173328,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:22:58] local.INFO: TCP Data received {"connection_id":172035,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2f2d28012d181e400721af98004c00c92c..."} 
[2026-09-04 12:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2f2d28012d181e400721af98004c00c92c..."} 
[2026-09-04 12:22:58] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2f2d28012d181e400721af98004c00c92c..."} 
[2026-09-04 12:22:58] local.INFO: Packet analysis {"connection_id":172035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:22:58] local.INFO: Extracted packet for processing {"connection_id":172035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:22:58] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857184768001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788504649000,"timestamp_ms":1788504649000,"timestamp_seconds":1788504649,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2f2d28"} 
[2026-09-04 12:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-04 12:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857184768001,"66":12145,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857184768001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:22:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:22:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857184768001,"power":12145,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":172035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:22:58] local.INFO: GPS data processed {"connection_id":172035,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:22:58] local.INFO: Acknowledgment sent {"connection_id":172035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:22:59] local.INFO: TCP Data received {"connection_id":172036,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:22:59] local.INFO: Processing buffer {"connection_id":172036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:22:59] local.INFO: IMEI packet received {"connection_id":172036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":172036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:22:59] local.INFO: TCP Data received {"connection_id":173328,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173328,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:22:59] local.INFO: Processing buffer {"connection_id":173328,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:22:59] local.INFO: IMEI packet received {"connection_id":173328,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":173328,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:23:04] local.INFO: TCP Data received {"connection_id":172036,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:23:04] local.INFO: Processing buffer {"connection_id":172036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:23:04] local.INFO: IMEI packet received {"connection_id":172036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":172036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:23:05] local.INFO: TCP Data received {"connection_id":173328,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:23:05] local.INFO: Processing buffer {"connection_id":173328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:23:05] local.INFO: Packet analysis {"connection_id":173328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:23:05] local.INFO: Extracted packet for processing {"connection_id":173328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857124096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788504692000,"timestamp_ms":1788504692000,"timestamp_seconds":1788504692,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2fd520"} 
[2026-09-04 12:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 12:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173328,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173328,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857124096001,"66":25734,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857124096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:23:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857124096001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:23:05] local.INFO: TCP Data received {"connection_id":172036,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2f7b48012cd38240073fd3b0000c01432d..."} 
[2026-09-04 12:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2f7b48012cd38240073fd3b0000c01432d..."} 
[2026-09-04 12:23:05] local.INFO: Processing buffer {"connection_id":172036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2f7b48012cd38240073fd3b0000c01432d..."} 
[2026-09-04 12:23:05] local.INFO: Packet analysis {"connection_id":172036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:23:05] local.INFO: Extracted packet for processing {"connection_id":172036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:23:05] local.INFO: GPS Element Parsed {"raw_longitude":752058944,"raw_latitude":121623472,"longitude_deg":75.2058944,"latitude_deg":12.1623472,"altitude":12,"angle":323,"satellites":45,"speed":55,"hex_longitude":"2cd38240","hex_latitude":"073fd3b0","is_valid_coordinates":true} 
[2026-09-04 12:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857193472001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397755293489954816,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3199877872857479168,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788504669000,"timestamp_ms":1788504669000,"timestamp_seconds":1788504669,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2f7b48"} 
[2026-09-04 12:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-09-04 12:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857193472001,"66":27908,"243":206,"83":43264,"24":55,"16":397755293489954816,"44":-3199877872857479168},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-09-04 12:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857193472001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:23:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 12:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397755293489954816,"km_value":397755293489954.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:23:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3199877872857479168,"description":"Unknown IO ID 44"} 
[2026-09-04 12:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857193472001,"power":27908,"unknown_243":206,"unknown_83":43264,"ignition":55,"odometer":null,"unknown_44":-3199877872857479168}} 
[2026-09-04 12:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":172036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:23:05] local.INFO: GPS data processed {"connection_id":172036,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:23:05] local.INFO: Acknowledgment sent {"connection_id":172036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":173328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:23:06] local.INFO: GPS data processed {"connection_id":173328,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:23:06] local.INFO: Acknowledgment sent {"connection_id":173328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:23:08] local.INFO: TCP Data received {"connection_id":173328,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:23:08] local.INFO: Processing buffer {"connection_id":173328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:23:08] local.INFO: Packet analysis {"connection_id":173328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:23:08] local.INFO: Extracted packet for processing {"connection_id":173328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857124096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788504692000,"timestamp_ms":1788504692000,"timestamp_seconds":1788504692,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2fd520"} 
[2026-09-04 12:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 12:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173328,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173328,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857124096001,"66":25734,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857124096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:23:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:23:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857124096001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":173328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762184,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:23:08] local.INFO: GPS data processed {"connection_id":173328,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:23:08] local.INFO: Acknowledgment sent {"connection_id":173328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:23:30] local.INFO: TCP Data received {"connection_id":172035,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2f7f30012d181e400721af98004c00c92c..."} 
[2026-09-04 12:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2f7f30012d181e400721af98004c00c92c..."} 
[2026-09-04 12:23:30] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2f7f30012d181e400721af98004c00c92c..."} 
[2026-09-04 12:23:30] local.INFO: Packet analysis {"connection_id":172035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:23:30] local.INFO: Extracted packet for processing {"connection_id":172035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857190144001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788504670000,"timestamp_ms":1788504670000,"timestamp_seconds":1788504670,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2f7f30"} 
[2026-09-04 12:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 12:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857190144001,"66":13798,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857190144001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:23:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:23:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857190144001,"power":13798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":172035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:23:31] local.INFO: GPS data processed {"connection_id":172035,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:23:31] local.INFO: Acknowledgment sent {"connection_id":172035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:23:37] local.INFO: TCP Data received {"connection_id":172036,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2f96a0012cd36c00073ff0b0000b01412c..."} 
[2026-09-04 12:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2f96a0012cd36c00073ff0b0000b01412c..."} 
[2026-09-04 12:23:37] local.INFO: Processing buffer {"connection_id":172036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2f96a0012cd36c00073ff0b0000b01412c..."} 
[2026-09-04 12:23:37] local.INFO: Packet analysis {"connection_id":172036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:23:37] local.INFO: Extracted packet for processing {"connection_id":172036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:23:37] local.INFO: GPS Element Parsed {"raw_longitude":752053248,"raw_latitude":121630896,"longitude_deg":75.2053248,"latitude_deg":12.1630896,"altitude":11,"angle":321,"satellites":44,"speed":50,"hex_longitude":"2cd36c00","hex_latitude":"073ff0b0","is_valid_coordinates":true} 
[2026-09-04 12:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857195264001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397755744461520896,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3205929584854585344,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788504676000,"timestamp_ms":1788504676000,"timestamp_seconds":1788504676,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2f96a0"} 
[2026-09-04 12:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 12:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857195264001,"66":27876,"243":206,"83":43264,"24":50,"16":397755744461520896,"44":-3205929584854585344},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-09-04 12:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857195264001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:23:37] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 12:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397755744461520896,"km_value":397755744461520.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3205929584854585344,"description":"Unknown IO ID 44"} 
[2026-09-04 12:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857195264001,"power":27876,"unknown_243":206,"unknown_83":43264,"ignition":50,"odometer":null,"unknown_44":-3205929584854585344}} 
[2026-09-04 12:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":172036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:23:37] local.INFO: GPS data processed {"connection_id":172036,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:23:37] local.INFO: Acknowledgment sent {"connection_id":172036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:23:48] local.INFO: TCP Data received {"connection_id":173329,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:23:48] local.INFO: Processing buffer {"connection_id":173329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:23:48] local.INFO: IMEI packet received {"connection_id":173329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":173329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:23:49] local.INFO: TCP Data received {"connection_id":170626,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:23:49] local.INFO: Processing buffer {"connection_id":170626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:23:49] local.INFO: IMEI packet received {"connection_id":170626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":170626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:23:51] local.INFO: TCP Data received {"connection_id":173329,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:23:51] local.INFO: Processing buffer {"connection_id":173329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:23:51] local.INFO: IMEI packet received {"connection_id":173329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":173329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:23:53] local.INFO: TCP Data received {"connection_id":173329,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:23:53] local.INFO: Processing buffer {"connection_id":173329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:23:53] local.INFO: IMEI packet received {"connection_id":173329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":173329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:23:54] local.INFO: TCP Data received {"connection_id":173329,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2fd138012d181e400721af98004c00c92f..."} 
[2026-09-04 12:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2fd138012d181e400721af98004c00c92f..."} 
[2026-09-04 12:23:54] local.INFO: Processing buffer {"connection_id":173329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2fd138012d181e400721af98004c00c92f..."} 
[2026-09-04 12:23:54] local.INFO: Packet analysis {"connection_id":173329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:23:54] local.INFO: Extracted packet for processing {"connection_id":173329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:23:54] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":201,"satellites":47,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 12:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857195520001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17171816120320000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788504691000,"timestamp_ms":1788504691000,"timestamp_seconds":1788504691,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2fd138"} 
[2026-09-04 12:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 12:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857195520001,"66":14070,"120":206,"28":31744,"24":0,"16":17171816120320000,"45":1737896905585694720},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857195520001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:23:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:23:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17171816120320000,"km_value":17171816120320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-09-04 12:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857195520001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-09-04 12:23:54] local.INFO: TCP Data received {"connection_id":170626,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:23:54] local.INFO: Processing buffer {"connection_id":170626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:23:54] local.INFO: IMEI packet received {"connection_id":170626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":170626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":173329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:23:54] local.INFO: GPS data processed {"connection_id":173329,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:23:54] local.INFO: Acknowledgment sent {"connection_id":173329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:23:55] local.INFO: TCP Data received {"connection_id":170626,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:23:55] local.INFO: Processing buffer {"connection_id":170626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:23:55] local.INFO: Packet analysis {"connection_id":170626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:23:55] local.INFO: Extracted packet for processing {"connection_id":170626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857124096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788504692000,"timestamp_ms":1788504692000,"timestamp_seconds":1788504692,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2fd520"} 
[2026-09-04 12:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 12:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857124096001,"66":25734,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857124096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:23:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857124096001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":170626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:23:56] local.INFO: GPS data processed {"connection_id":170626,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:23:56] local.INFO: Acknowledgment sent {"connection_id":170626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:24:09] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:24:09] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:24:09] local.INFO: IMEI packet received {"connection_id":173330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":173330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:24:09] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:24:09] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:24:09] local.INFO: IMEI packet received {"connection_id":173330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":173330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:24:14] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:24:14] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:24:14] local.INFO: IMEI packet received {"connection_id":173330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":173330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:24:15] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b313c80012cd2850007410b68000f01432c..."} 
[2026-09-04 12:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b313c80012cd2850007410b68000f01432c..."} 
[2026-09-04 12:24:15] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b313c80012cd2850007410b68000f01432c..."} 
[2026-09-04 12:24:15] local.INFO: Packet analysis {"connection_id":173330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b31"} 
[2026-09-04 12:24:15] local.INFO: Extracted packet for processing {"connection_id":173330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b31"} 
[2026-09-04 12:24:15] local.INFO: GPS Element Parsed {"raw_longitude":751994112,"raw_latitude":121703272,"longitude_deg":75.1994112,"latitude_deg":12.1703272,"altitude":15,"angle":323,"satellites":44,"speed":41,"hex_longitude":"2cd28500","hex_latitude":"07410b68","is_valid_coordinates":true} 
[2026-09-04 12:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857222400001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397760241292279808,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3270879935712028672,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788504784000,"timestamp_ms":1788504784000,"timestamp_seconds":1788504784,"priority":1,"record_length":96,"hex_timestamp":"000001a06b313c80"} 
[2026-09-04 12:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 12:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857222400001,"66":27843,"110":206,"83":43264,"24":41,"16":397760241292279808,"44":-3270879935712028672},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-04 12:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857222400001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:24:15] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 12:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397760241292279808,"km_value":397760241292279.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3270879935712028672,"description":"Unknown IO ID 44"} 
[2026-09-04 12:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857222400001,"power":27843,"unknown_110":206,"unknown_83":43264,"ignition":41,"odometer":null,"unknown_44":-3270879935712028672}} 
[2026-09-04 12:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":173330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:24:15] local.INFO: GPS data processed {"connection_id":173330,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:24:15] local.INFO: Acknowledgment sent {"connection_id":173330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:24:25] local.INFO: TCP Data received {"connection_id":173329,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b31c150012d18ab0007229b38007100632e..."} 
[2026-09-04 12:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b31c150012d18ab0007229b38007100632e..."} 
[2026-09-04 12:24:25] local.INFO: Processing buffer {"connection_id":173329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b31c150012d18ab0007229b38007100632e..."} 
[2026-09-04 12:24:25] local.INFO: Packet analysis {"connection_id":173329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b31"} 
[2026-09-04 12:24:25] local.INFO: Extracted packet for processing {"connection_id":173329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b31"} 
[2026-09-04 12:24:25] local.INFO: GPS Element Parsed {"raw_longitude":756591360,"raw_latitude":119708472,"longitude_deg":75.659136,"latitude_deg":11.9708472,"altitude":113,"angle":99,"satellites":46,"speed":9,"hex_longitude":"2d18ab00","hex_latitude":"07229b38","is_valid_coordinates":true} 
[2026-09-04 12:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857233152001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17175307928731648,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033596448768,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788504818000,"timestamp_ms":1788504818000,"timestamp_seconds":1788504818,"priority":1,"record_length":96,"hex_timestamp":"000001a06b31c150"} 
[2026-09-04 12:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 12:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857233152001,"66":14276,"70":206,"28":31744,"24":9,"16":17175307928731648,"45":1777233033596448768},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 12:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857233152001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:24:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 12:24:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17175307928731648,"km_value":17175307928731.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033596448768,"description":"Unknown IO ID 45"} 
[2026-09-04 12:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857233152001,"power":14276,"unknown_70":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1777233033596448768}} 
[2026-09-04 12:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":173329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:24:25] local.INFO: GPS data processed {"connection_id":173329,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:24:25] local.INFO: Acknowledgment sent {"connection_id":173329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:24:29] local.INFO: TCP Data received {"connection_id":170626,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:24:29] local.INFO: Processing buffer {"connection_id":170626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:24:29] local.INFO: Packet analysis {"connection_id":170626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:24:29] local.INFO: Extracted packet for processing {"connection_id":170626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:24:29] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857124096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788504692000,"timestamp_ms":1788504692000,"timestamp_seconds":1788504692,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2fd520"} 
[2026-09-04 12:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 12:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":170626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":170626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":170626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857124096001,"66":25734,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857124096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:24:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:24:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857124096001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":170626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:24:29] local.INFO: GPS data processed {"connection_id":170626,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:24:29] local.INFO: Acknowledgment sent {"connection_id":170626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:24:48] local.INFO: TCP Data received {"connection_id":170627,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:24:48] local.INFO: Processing buffer {"connection_id":170627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:24:48] local.INFO: IMEI packet received {"connection_id":170627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":170627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:24:50] local.INFO: TCP Data received {"connection_id":173331,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:24:50] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:24:50] local.INFO: IMEI packet received {"connection_id":173331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":173331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:24:54] local.INFO: TCP Data received {"connection_id":170627,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:24:54] local.INFO: Processing buffer {"connection_id":170627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:24:54] local.INFO: IMEI packet received {"connection_id":170627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":170627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:24:54] local.INFO: TCP Data received {"connection_id":173331,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:24:54] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:24:54] local.INFO: IMEI packet received {"connection_id":173331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":173331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:24:55] local.INFO: TCP Data received {"connection_id":170627,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b31cd08012d18ad4007229b180072004d2c..."} 
[2026-09-04 12:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b31cd08012d18ad4007229b180072004d2c..."} 
[2026-09-04 12:24:55] local.INFO: Processing buffer {"connection_id":170627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b31cd08012d18ad4007229b180072004d2c..."} 
[2026-09-04 12:24:55] local.INFO: Packet analysis {"connection_id":170627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b31"} 
[2026-09-04 12:24:55] local.INFO: Extracted packet for processing {"connection_id":170627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b31"} 
[2026-09-04 12:24:55] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119708440,"longitude_deg":75.6591936,"latitude_deg":11.970844,"altitude":114,"angle":77,"satellites":44,"speed":10,"hex_longitude":"2d18ad40","hex_latitude":"07229b18","is_valid_coordinates":true} 
[2026-09-04 12:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857233408001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17175337993502720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777514508573161472,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788504821000,"timestamp_ms":1788504821000,"timestamp_seconds":1788504821,"priority":1,"record_length":96,"hex_timestamp":"000001a06b31cd08"} 
[2026-09-04 12:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 12:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857233408001,"66":13961,"70":206,"28":31744,"24":10,"16":17175337993502720,"45":1777514508573161472},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 12:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857233408001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:24:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 12:24:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17175337993502720,"km_value":17175337993502.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777514508573161472,"description":"Unknown IO ID 45"} 
[2026-09-04 12:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857233408001,"power":13961,"unknown_70":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1777514508573161472}} 
[2026-09-04 12:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":170627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:24:55] local.INFO: GPS data processed {"connection_id":170627,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:24:55] local.INFO: Acknowledgment sent {"connection_id":170627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:24:56] local.INFO: TCP Data received {"connection_id":173331,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:24:56] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:24:56] local.INFO: Packet analysis {"connection_id":173331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:24:56] local.INFO: Extracted packet for processing {"connection_id":173331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:24:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857124096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788504692000,"timestamp_ms":1788504692000,"timestamp_seconds":1788504692,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2fd520"} 
[2026-09-04 12:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 12:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857124096001,"66":25734,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857124096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:24:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:24:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857124096001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":173331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762193,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:24:56] local.INFO: GPS data processed {"connection_id":173331,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:24:56] local.INFO: Acknowledgment sent {"connection_id":173331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:24:59] local.INFO: TCP Data received {"connection_id":170933,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:24:59] local.INFO: Processing buffer {"connection_id":170933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:24:59] local.INFO: IMEI packet received {"connection_id":170933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":170933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:25:02] local.INFO: TCP Data received {"connection_id":170933,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:25:02] local.INFO: Processing buffer {"connection_id":170933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:25:02] local.INFO: IMEI packet received {"connection_id":170933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":170933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:25:09] local.INFO: TCP Data received {"connection_id":170933,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:25:09] local.INFO: Processing buffer {"connection_id":170933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:25:09] local.INFO: IMEI packet received {"connection_id":170933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":170933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:25:15] local.INFO: TCP Data received {"connection_id":170933,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b315fa8012cd26d00074127980010013a2e..."} 
[2026-09-04 12:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b315fa8012cd26d00074127980010013a2e..."} 
[2026-09-04 12:25:15] local.INFO: Processing buffer {"connection_id":170933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b315fa8012cd26d00074127980010013a2e..."} 
[2026-09-04 12:25:15] local.INFO: Packet analysis {"connection_id":170933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b31"} 
[2026-09-04 12:25:15] local.INFO: Extracted packet for processing {"connection_id":170933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b31"} 
[2026-09-04 12:25:15] local.INFO: GPS Element Parsed {"raw_longitude":751987968,"raw_latitude":121710488,"longitude_deg":75.1987968,"latitude_deg":12.1710488,"altitude":16,"angle":314,"satellites":46,"speed":42,"hex_longitude":"2cd26d00","hex_latitude":"07412798","is_valid_coordinates":true} 
[2026-09-04 12:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857224704001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397760696558813184,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3277213122686130176,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788504793000,"timestamp_ms":1788504793000,"timestamp_seconds":1788504793,"priority":1,"record_length":96,"hex_timestamp":"000001a06b315fa8"} 
[2026-09-04 12:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 12:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857224704001,"66":27908,"110":206,"83":43264,"24":42,"16":397760696558813184,"44":-3277213122686130176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-04 12:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857224704001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:25:15] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 12:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397760696558813184,"km_value":397760696558813.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:25:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3277213122686130176,"description":"Unknown IO ID 44"} 
[2026-09-04 12:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857224704001,"power":27908,"unknown_110":206,"unknown_83":43264,"ignition":42,"odometer":null,"unknown_44":-3277213122686130176}} 
[2026-09-04 12:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":170933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:25:15] local.INFO: GPS data processed {"connection_id":170933,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:25:15] local.INFO: Acknowledgment sent {"connection_id":170933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:25:27] local.INFO: TCP Data received {"connection_id":170627,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b31d4d8012d18afc007229b400073005b2b..."} 
[2026-09-04 12:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b31d4d8012d18afc007229b400073005b2b..."} 
[2026-09-04 12:25:27] local.INFO: Processing buffer {"connection_id":170627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b31d4d8012d18afc007229b400073005b2b..."} 
[2026-09-04 12:25:27] local.INFO: Packet analysis {"connection_id":170627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b31"} 
[2026-09-04 12:25:27] local.INFO: Extracted packet for processing {"connection_id":170627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b31"} 
[2026-09-04 12:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119708480,"longitude_deg":75.6592576,"latitude_deg":11.970848,"altitude":115,"angle":91,"satellites":43,"speed":12,"hex_longitude":"2d18afc0","hex_latitude":"07229b40","is_valid_coordinates":true} 
[2026-09-04 12:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857234176001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17175368058273792,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778147827270752256,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788504823000,"timestamp_ms":1788504823000,"timestamp_seconds":1788504823,"priority":1,"record_length":96,"hex_timestamp":"000001a06b31d4d8"} 
[2026-09-04 12:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-04 12:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857234176001,"66":14233,"70":206,"28":31744,"24":12,"16":17175368058273792,"45":1778147827270752256},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 12:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857234176001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:25:27] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 12:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17175368058273792,"km_value":17175368058273.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778147827270752256,"description":"Unknown IO ID 45"} 
[2026-09-04 12:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857234176001,"power":14233,"unknown_70":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1778147827270752256}} 
[2026-09-04 12:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":170627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:25:27] local.INFO: GPS data processed {"connection_id":170627,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:25:27] local.INFO: Acknowledgment sent {"connection_id":170627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:25:27] local.INFO: TCP Data received {"connection_id":173331,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:25:27] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:25:27] local.INFO: Packet analysis {"connection_id":173331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:25:27] local.INFO: Extracted packet for processing {"connection_id":173331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:25:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857124096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788504692000,"timestamp_ms":1788504692000,"timestamp_seconds":1788504692,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2fd520"} 
[2026-09-04 12:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 12:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857124096001,"66":25734,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857124096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:25:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857124096001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":173331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762196,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:25:27] local.INFO: GPS data processed {"connection_id":173331,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:25:27] local.INFO: Acknowledgment sent {"connection_id":173331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:25:49] local.INFO: TCP Data received {"connection_id":173332,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:25:49] local.INFO: Processing buffer {"connection_id":173332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:25:49] local.INFO: IMEI packet received {"connection_id":173332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":173332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:25:53] local.INFO: TCP Data received {"connection_id":172037,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:25:53] local.INFO: Processing buffer {"connection_id":172037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:25:53] local.INFO: IMEI packet received {"connection_id":172037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":172037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:25:54] local.INFO: TCP Data received {"connection_id":173332,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:25:54] local.INFO: Processing buffer {"connection_id":173332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:25:54] local.INFO: IMEI packet received {"connection_id":173332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":173332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:25:56] local.INFO: TCP Data received {"connection_id":173332,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:25:56] local.INFO: Processing buffer {"connection_id":173332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:25:56] local.INFO: Packet analysis {"connection_id":173332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:25:56] local.INFO: Extracted packet for processing {"connection_id":173332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:25:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857124096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788504692000,"timestamp_ms":1788504692000,"timestamp_seconds":1788504692,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2fd520"} 
[2026-09-04 12:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 12:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857124096001,"66":25734,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857124096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:25:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:25:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857124096001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":173332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:25:56] local.INFO: GPS data processed {"connection_id":173332,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:25:56] local.INFO: Acknowledgment sent {"connection_id":173332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:25:58] local.INFO: TCP Data received {"connection_id":172037,"ip":"117.224.172.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:25:58] local.INFO: Processing buffer {"connection_id":172037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:25:58] local.INFO: IMEI packet received {"connection_id":172037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":172037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:25:59] local.INFO: TCP Data received {"connection_id":172037,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3226e0012d18cd0007229758007700662e..."} 
[2026-09-04 12:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3226e0012d18cd0007229758007700662e..."} 
[2026-09-04 12:25:59] local.INFO: Processing buffer {"connection_id":172037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3226e0012d18cd0007229758007700662e..."} 
[2026-09-04 12:25:59] local.INFO: Packet analysis {"connection_id":172037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b32"} 
[2026-09-04 12:25:59] local.INFO: Extracted packet for processing {"connection_id":172037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b32"} 
[2026-09-04 12:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119707480,"longitude_deg":75.6600064,"latitude_deg":11.970748,"altitude":119,"angle":102,"satellites":46,"speed":19,"hex_longitude":"2d18cd00","hex_latitude":"07229758","is_valid_coordinates":true} 
[2026-09-04 12:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857234688001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17175724540559360,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514712539136,"note":"Value kept but may cause issues"} 
[2026-09-04 12:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788504844000,"timestamp_ms":1788504844000,"timestamp_seconds":1788504844,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3226e0"} 
[2026-09-04 12:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 12:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857234688001,"66":14330,"70":206,"28":31744,"24":19,"16":17175724540559360,"45":1778851514712539136},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 12:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857234688001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:25:59] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 12:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17175724540559360,"km_value":17175724540559.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514712539136,"description":"Unknown IO ID 45"} 
[2026-09-04 12:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857234688001,"power":14330,"unknown_70":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1778851514712539136}} 
[2026-09-04 12:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":172037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:25:59] local.INFO: GPS data processed {"connection_id":172037,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:25:59] local.INFO: Acknowledgment sent {"connection_id":172037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:26:09] local.INFO: TCP Data received {"connection_id":172038,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:26:09] local.INFO: Processing buffer {"connection_id":172038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:26:09] local.INFO: IMEI packet received {"connection_id":172038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":172038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:26:14] local.INFO: TCP Data received {"connection_id":172038,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:26:14] local.INFO: Processing buffer {"connection_id":172038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:26:14] local.INFO: IMEI packet received {"connection_id":172038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":172038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:26:15] local.INFO: TCP Data received {"connection_id":172038,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b32d6a8012cd0f20007426f700014013430..."} 
[2026-09-04 12:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b32d6a8012cd0f20007426f700014013430..."} 
[2026-09-04 12:26:15] local.INFO: Processing buffer {"connection_id":172038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b32d6a8012cd0f20007426f700014013430..."} 
[2026-09-04 12:26:15] local.INFO: Packet analysis {"connection_id":172038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b32"} 
[2026-09-04 12:26:15] local.INFO: Extracted packet for processing {"connection_id":172038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b32"} 
[2026-09-04 12:26:15] local.INFO: GPS Element Parsed {"raw_longitude":751890944,"raw_latitude":121794416,"longitude_deg":75.1890944,"latitude_deg":12.1794416,"altitude":20,"angle":308,"satellites":48,"speed":59,"hex_longitude":"2cd0f200","hex_latitude":"07426f70","is_valid_coordinates":true} 
[2026-09-04 12:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857250048001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397766932851326976,"note":"Value kept but may cause issues"} 
[2026-09-04 12:26:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3382836607674900480,"note":"Value kept but may cause issues"} 
[2026-09-04 12:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788504889000,"timestamp_ms":1788504889000,"timestamp_seconds":1788504889,"priority":1,"record_length":96,"hex_timestamp":"000001a06b32d6a8"} 
[2026-09-04 12:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 12:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857250048001,"66":27930,"79":206,"83":43264,"24":59,"16":397766932851326976,"44":-3382836607674900480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-04 12:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857250048001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:26:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 12:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 12:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397766932851326976,"km_value":397766932851327.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:26:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3382836607674900480,"description":"Unknown IO ID 44"} 
[2026-09-04 12:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857250048001,"power":27930,"unknown_79":206,"unknown_83":43264,"ignition":59,"odometer":null,"unknown_44":-3382836607674900480}} 
[2026-09-04 12:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":172038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:26:15] local.INFO: GPS data processed {"connection_id":172038,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:26:15] local.INFO: Acknowledgment sent {"connection_id":172038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:26:30] local.INFO: TCP Data received {"connection_id":173332,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:26:30] local.INFO: Processing buffer {"connection_id":173332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:26:30] local.INFO: Packet analysis {"connection_id":173332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:26:30] local.INFO: Extracted packet for processing {"connection_id":173332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857124096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788504692000,"timestamp_ms":1788504692000,"timestamp_seconds":1788504692,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2fd520"} 
[2026-09-04 12:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 12:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857124096001,"66":25734,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857124096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:26:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:26:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857124096001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":173332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:26:30] local.INFO: GPS data processed {"connection_id":173332,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:26:30] local.INFO: Acknowledgment sent {"connection_id":173332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:26:34] local.INFO: TCP Data received {"connection_id":172037,"ip":"117.224.172.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3278e8012d18eb4007228f70007900662d..."} 
[2026-09-04 12:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3278e8012d18eb4007228f70007900662d..."} 
[2026-09-04 12:26:34] local.INFO: Processing buffer {"connection_id":172037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3278e8012d18eb4007228f70007900662d..."} 
[2026-09-04 12:26:34] local.INFO: Packet analysis {"connection_id":172037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b32"} 
[2026-09-04 12:26:34] local.INFO: Extracted packet for processing {"connection_id":172037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b32"} 
[2026-09-04 12:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756607808,"raw_latitude":119705456,"longitude_deg":75.6607808,"latitude_deg":11.9705456,"altitude":121,"angle":102,"satellites":45,"speed":17,"hex_longitude":"2d18eb40","hex_latitude":"07228f70","is_valid_coordinates":true} 
[2026-09-04 12:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857240064001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17176111087616000,"note":"Value kept but may cause issues"} 
[2026-09-04 12:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657781069824,"note":"Value kept but may cause issues"} 
[2026-09-04 12:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788504865000,"timestamp_ms":1788504865000,"timestamp_seconds":1788504865,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3278e8"} 
[2026-09-04 12:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-04 12:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.172.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857240064001,"66":14233,"70":206,"28":31744,"24":17,"16":17176111087616000,"45":1787084657781069824},"client_ip":"117.224.172.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 12:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857240064001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:26:34] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 12:26:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17176111087616000,"km_value":17176111087616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657781069824,"description":"Unknown IO ID 45"} 
[2026-09-04 12:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857240064001,"power":14233,"unknown_70":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1787084657781069824}} 
[2026-09-04 12:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":172037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:26:34] local.INFO: GPS data processed {"connection_id":172037,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:26:34] local.INFO: Acknowledgment sent {"connection_id":172037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:26:49] local.INFO: TCP Data received {"connection_id":170628,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:26:49] local.INFO: Processing buffer {"connection_id":170628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:26:49] local.INFO: IMEI packet received {"connection_id":170628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":170628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:26:54] local.INFO: TCP Data received {"connection_id":170628,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:26:54] local.INFO: Processing buffer {"connection_id":170628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:26:54] local.INFO: IMEI packet received {"connection_id":170628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":170628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:26:56] local.INFO: TCP Data received {"connection_id":170628,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:26:56] local.INFO: Processing buffer {"connection_id":170628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b2fd520012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:26:56] local.INFO: Packet analysis {"connection_id":170628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:26:56] local.INFO: Extracted packet for processing {"connection_id":170628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b2f"} 
[2026-09-04 12:26:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857124096001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788504692000,"timestamp_ms":1788504692000,"timestamp_seconds":1788504692,"priority":1,"record_length":96,"hex_timestamp":"000001a06b2fd520"} 
[2026-09-04 12:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 12:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857124096001,"66":25734,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857124096001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:26:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:26:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857124096001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":170628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762202,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:26:56] local.INFO: GPS data processed {"connection_id":170628,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:26:56] local.INFO: Acknowledgment sent {"connection_id":170628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:26:59] local.INFO: TCP Data received {"connection_id":172039,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:26:59] local.INFO: Processing buffer {"connection_id":172039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:26:59] local.INFO: IMEI packet received {"connection_id":172039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":172039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:27:02] local.INFO: TCP Data received {"connection_id":172039,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:27:02] local.INFO: Processing buffer {"connection_id":172039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:27:02] local.INFO: IMEI packet received {"connection_id":172039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":172039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:27:04] local.INFO: TCP Data received {"connection_id":172039,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:27:04] local.INFO: Processing buffer {"connection_id":172039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:27:04] local.INFO: IMEI packet received {"connection_id":172039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":172039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:27:05] local.INFO: TCP Data received {"connection_id":172039,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b340f28012ccf774007437f280010013a2e..."} 
[2026-09-04 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b340f28012ccf774007437f280010013a2e..."} 
[2026-09-04 12:27:05] local.INFO: Processing buffer {"connection_id":172039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b340f28012ccf774007437f280010013a2e..."} 
[2026-09-04 12:27:05] local.INFO: Packet analysis {"connection_id":172039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:27:05] local.INFO: Extracted packet for processing {"connection_id":172039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":751793984,"raw_latitude":121863976,"longitude_deg":75.1793984,"latitude_deg":12.1863976,"altitude":16,"angle":314,"satellites":46,"speed":59,"hex_longitude":"2ccf7740","hex_latitude":"07437f28","is_valid_coordinates":true} 
[2026-09-04 12:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857270528001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397771876358684672,"note":"Value kept but may cause issues"} 
[2026-09-04 12:27:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3489656361318825984,"note":"Value kept but may cause issues"} 
[2026-09-04 12:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788504969000,"timestamp_ms":1788504969000,"timestamp_seconds":1788504969,"priority":1,"record_length":96,"hex_timestamp":"000001a06b340f28"} 
[2026-09-04 12:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 12:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857270528001,"66":27843,"142":206,"85":37632,"24":59,"16":397771876358684672,"44":-3489656361318825984},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-09-04 12:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857270528001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:27:05] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-04 12:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397771876358684672,"km_value":397771876358684.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:27:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3489656361318825984,"description":"Unknown IO ID 44"} 
[2026-09-04 12:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857270528001,"power":27843,"unknown_142":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3489656361318825984}} 
[2026-09-04 12:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":172039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:27:05] local.INFO: GPS data processed {"connection_id":172039,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:27:05] local.INFO: Acknowledgment sent {"connection_id":172039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:27:32] local.INFO: TCP Data received {"connection_id":170628,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:27:32] local.INFO: Processing buffer {"connection_id":170628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:27:32] local.INFO: Packet analysis {"connection_id":170628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:27:32] local.INFO: Extracted packet for processing {"connection_id":170628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:27:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857201152001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788504993000,"timestamp_ms":1788504993000,"timestamp_seconds":1788504993,"priority":1,"record_length":96,"hex_timestamp":"000001a06b346ce8"} 
[2026-09-04 12:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 12:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857201152001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857201152001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:27:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:27:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857201152001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":170628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:27:32] local.INFO: GPS data processed {"connection_id":170628,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:27:32] local.INFO: Acknowledgment sent {"connection_id":170628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:27:36] local.INFO: TCP Data received {"connection_id":172039,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b342a80012ccf5cc007439dd8001001452c..."} 
[2026-09-04 12:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b342a80012ccf5cc007439dd8001001452c..."} 
[2026-09-04 12:27:36] local.INFO: Processing buffer {"connection_id":172039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b342a80012ccf5cc007439dd8001001452c..."} 
[2026-09-04 12:27:36] local.INFO: Packet analysis {"connection_id":172039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:27:36] local.INFO: Extracted packet for processing {"connection_id":172039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:27:36] local.INFO: GPS Element Parsed {"raw_longitude":751787200,"raw_latitude":121871832,"longitude_deg":75.17872,"latitude_deg":12.1871832,"altitude":16,"angle":325,"satellites":44,"speed":58,"hex_longitude":"2ccf5cc0","hex_latitude":"07439dd8","is_valid_coordinates":true} 
[2026-09-04 12:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857272064001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397772374574891008,"note":"Value kept but may cause issues"} 
[2026-09-04 12:27:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3497256185688545280,"note":"Value kept but may cause issues"} 
[2026-09-04 12:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788504976000,"timestamp_ms":1788504976000,"timestamp_seconds":1788504976,"priority":1,"record_length":96,"hex_timestamp":"000001a06b342a80"} 
[2026-09-04 12:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 12:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857272064001,"66":27865,"142":206,"85":37632,"24":58,"16":397772374574891008,"44":-3497256185688545280},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-09-04 12:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857272064001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:27:36] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-04 12:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397772374574891008,"km_value":397772374574891.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:27:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3497256185688545280,"description":"Unknown IO ID 44"} 
[2026-09-04 12:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857272064001,"power":27865,"unknown_142":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-3497256185688545280}} 
[2026-09-04 12:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":172039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:27:36] local.INFO: GPS data processed {"connection_id":172039,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:27:36] local.INFO: Acknowledgment sent {"connection_id":172039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:27:49] local.INFO: TCP Data received {"connection_id":173333,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:27:49] local.INFO: Processing buffer {"connection_id":173333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:27:49] local.INFO: IMEI packet received {"connection_id":173333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":173333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:27:54] local.INFO: TCP Data received {"connection_id":173333,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:27:54] local.INFO: Processing buffer {"connection_id":173333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:27:54] local.INFO: IMEI packet received {"connection_id":173333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":173333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:27:58] local.INFO: TCP Data received {"connection_id":173333,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:27:58] local.INFO: Processing buffer {"connection_id":173333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:27:58] local.INFO: Packet analysis {"connection_id":173333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:27:58] local.INFO: Extracted packet for processing {"connection_id":173333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:27:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857201152001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788504993000,"timestamp_ms":1788504993000,"timestamp_seconds":1788504993,"priority":1,"record_length":96,"hex_timestamp":"000001a06b346ce8"} 
[2026-09-04 12:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 12:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857201152001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857201152001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:27:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:27:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857201152001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":173333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762206,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:27:58] local.INFO: GPS data processed {"connection_id":173333,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:27:58] local.INFO: Acknowledgment sent {"connection_id":173333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:27:59] local.INFO: TCP Data received {"connection_id":170629,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:27:59] local.INFO: Processing buffer {"connection_id":170629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:27:59] local.INFO: IMEI packet received {"connection_id":170629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":170629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:28:02] local.INFO: TCP Data received {"connection_id":170629,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:28:02] local.INFO: Processing buffer {"connection_id":170629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:28:02] local.INFO: IMEI packet received {"connection_id":170629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":170629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:28:04] local.INFO: TCP Data received {"connection_id":170629,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:28:04] local.INFO: Processing buffer {"connection_id":170629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:28:04] local.INFO: IMEI packet received {"connection_id":170629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":170629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:28:05] local.INFO: TCP Data received {"connection_id":170629,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3445d8012ccf45c00743bf38001001462c..."} 
[2026-09-04 12:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3445d8012ccf45c00743bf38001001462c..."} 
[2026-09-04 12:28:05] local.INFO: Processing buffer {"connection_id":170629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3445d8012ccf45c00743bf38001001462c..."} 
[2026-09-04 12:28:05] local.INFO: Packet analysis {"connection_id":170629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:28:05] local.INFO: Extracted packet for processing {"connection_id":170629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:28:05] local.INFO: GPS Element Parsed {"raw_longitude":751781312,"raw_latitude":121880376,"longitude_deg":75.1781312,"latitude_deg":12.1880376,"altitude":16,"angle":326,"satellites":44,"speed":58,"hex_longitude":"2ccf45c0","hex_latitude":"0743bf38","is_valid_coordinates":true} 
[2026-09-04 12:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857273856001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397772872791097344,"note":"Value kept but may cause issues"} 
[2026-09-04 12:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3504715272569366528,"note":"Value kept but may cause issues"} 
[2026-09-04 12:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788504983000,"timestamp_ms":1788504983000,"timestamp_seconds":1788504983,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3445d8"} 
[2026-09-04 12:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 12:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857273856001,"66":27800,"142":206,"85":37632,"24":58,"16":397772872791097344,"44":-3504715272569366528},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-09-04 12:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857273856001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:28:05] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-04 12:28:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397772872791097344,"km_value":397772872791097.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:28:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3504715272569366528,"description":"Unknown IO ID 44"} 
[2026-09-04 12:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857273856001,"power":27800,"unknown_142":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-3504715272569366528}} 
[2026-09-04 12:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":170629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:28:05] local.INFO: GPS data processed {"connection_id":170629,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:28:05] local.INFO: Acknowledgment sent {"connection_id":170629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:28:30] local.INFO: TCP Data received {"connection_id":173333,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:28:30] local.INFO: Processing buffer {"connection_id":173333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:28:30] local.INFO: Packet analysis {"connection_id":173333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:28:30] local.INFO: Extracted packet for processing {"connection_id":173333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857201152001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788504993000,"timestamp_ms":1788504993000,"timestamp_seconds":1788504993,"priority":1,"record_length":96,"hex_timestamp":"000001a06b346ce8"} 
[2026-09-04 12:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 12:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857201152001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857201152001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:28:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:28:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857201152001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":173333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762208,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:28:30] local.INFO: GPS data processed {"connection_id":173333,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:28:30] local.INFO: Acknowledgment sent {"connection_id":173333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:28:36] local.INFO: TCP Data received {"connection_id":170629,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3591e0012ccd9c8007443b200015012930..."} 
[2026-09-04 12:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3591e0012ccd9c8007443b200015012930..."} 
[2026-09-04 12:28:36] local.INFO: Processing buffer {"connection_id":170629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3591e0012ccd9c8007443b200015012930..."} 
[2026-09-04 12:28:36] local.INFO: Packet analysis {"connection_id":170629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b35"} 
[2026-09-04 12:28:36] local.INFO: Extracted packet for processing {"connection_id":170629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b35"} 
[2026-09-04 12:28:36] local.INFO: GPS Element Parsed {"raw_longitude":751672448,"raw_latitude":121912096,"longitude_deg":75.1672448,"latitude_deg":12.1912096,"altitude":21,"angle":297,"satellites":48,"speed":56,"hex_longitude":"2ccd9c80","hex_latitude":"07443b20","is_valid_coordinates":true} 
[2026-09-04 12:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857296640001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397778572212699136,"note":"Value kept but may cause issues"} 
[2026-09-04 12:28:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3626593937475184640,"note":"Value kept but may cause issues"} 
[2026-09-04 12:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788505068000,"timestamp_ms":1788505068000,"timestamp_seconds":1788505068,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3591e0"} 
[2026-09-04 12:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 12:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857296640001,"66":27800,"231":206,"85":37632,"24":56,"16":397778572212699136,"44":-3626593937475184640},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-09-04 12:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857296640001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:28:36] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-04 12:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397778572212699136,"km_value":397778572212699.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:28:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3626593937475184640,"description":"Unknown IO ID 44"} 
[2026-09-04 12:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857296640001,"power":27800,"unknown_231":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-3626593937475184640}} 
[2026-09-04 12:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":170629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:28:36] local.INFO: GPS data processed {"connection_id":170629,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:28:36] local.INFO: Acknowledgment sent {"connection_id":170629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:28:49] local.INFO: TCP Data received {"connection_id":172040,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:28:49] local.INFO: Processing buffer {"connection_id":172040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:28:49] local.INFO: IMEI packet received {"connection_id":172040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":172040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:28:54] local.INFO: TCP Data received {"connection_id":172040,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:28:54] local.INFO: Processing buffer {"connection_id":172040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:28:54] local.INFO: IMEI packet received {"connection_id":172040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":172040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:28:56] local.INFO: TCP Data received {"connection_id":172040,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:28:56] local.INFO: Processing buffer {"connection_id":172040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:28:56] local.INFO: Packet analysis {"connection_id":172040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:28:56] local.INFO: Extracted packet for processing {"connection_id":172040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:28:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857201152001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788504993000,"timestamp_ms":1788504993000,"timestamp_seconds":1788504993,"priority":1,"record_length":96,"hex_timestamp":"000001a06b346ce8"} 
[2026-09-04 12:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 12:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857201152001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857201152001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:28:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:28:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857201152001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":172040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762210,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:28:56] local.INFO: GPS data processed {"connection_id":172040,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:28:56] local.INFO: Acknowledgment sent {"connection_id":172040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:29:02] local.INFO: TCP Data received {"connection_id":170630,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:29:02] local.INFO: Processing buffer {"connection_id":170630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:29:02] local.INFO: IMEI packet received {"connection_id":170630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":170630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:29:08] local.INFO: TCP Data received {"connection_id":170630,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 12:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170630,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 12:29:08] local.INFO: Processing buffer {"connection_id":170630,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 12:29:08] local.INFO: IMEI packet received {"connection_id":170630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":170630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:29:09] local.INFO: TCP Data received {"connection_id":170630,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b35a180012ccd89c0074448380015013832..."} 
[2026-09-04 12:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b35a180012ccd89c0074448380015013832..."} 
[2026-09-04 12:29:09] local.INFO: Processing buffer {"connection_id":170630,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06b..."} 
[2026-09-04 12:29:09] local.INFO: IMEI packet received {"connection_id":170630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":170630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:29:10] local.INFO: TCP Data received {"connection_id":170630,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b35ad38012ccd7dc0074455780014014430..."} 
[2026-09-04 12:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b35ad38012ccd7dc0074455780014014430..."} 
[2026-09-04 12:29:10] local.INFO: Processing buffer {"connection_id":170630,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06b35a180012ccd89c0074448380015013832..."} 
[2026-09-04 12:29:10] local.INFO: Packet analysis {"connection_id":170630,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06b35"} 
[2026-09-04 12:29:10] local.INFO: Extracted packet for processing {"connection_id":170630,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b35"} 
[2026-09-04 12:29:10] local.INFO: GPS Element Parsed {"raw_longitude":751667648,"raw_latitude":121915448,"longitude_deg":75.1667648,"latitude_deg":12.1915448,"altitude":21,"angle":312,"satellites":50,"speed":59,"hex_longitude":"2ccd89c0","hex_latitude":"07444838","is_valid_coordinates":true} 
[2026-09-04 12:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857297408001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397778855680540672,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3630886430869610496,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788505072000,"timestamp_ms":1788505072000,"timestamp_seconds":1788505072,"priority":1,"record_length":96,"hex_timestamp":"000001a06b35a180"} 
[2026-09-04 12:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 12:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857297408001,"66":27821,"237":206,"85":37632,"24":59,"16":397778855680540672,"44":-3630886430869610496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-09-04 12:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857297408001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:29:10] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-04 12:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397778855680540672,"km_value":397778855680540.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3630886430869610496,"description":"Unknown IO ID 44"} 
[2026-09-04 12:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857297408001,"power":27821,"unknown_237":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3630886430869610496}} 
[2026-09-04 12:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":170630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:29:10] local.INFO: GPS data processed {"connection_id":170630,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:29:10] local.INFO: Acknowledgment sent {"connection_id":170630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:29:10] local.INFO: Packet analysis {"connection_id":170630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b35"} 
[2026-09-04 12:29:10] local.INFO: Extracted packet for processing {"connection_id":170630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b35"} 
[2026-09-04 12:29:10] local.INFO: GPS Element Parsed {"raw_longitude":751664576,"raw_latitude":121918840,"longitude_deg":75.1664576,"latitude_deg":12.191884,"altitude":20,"angle":324,"satellites":48,"speed":60,"hex_longitude":"2ccd7dc0","hex_latitude":"07445578","is_valid_coordinates":true} 
[2026-09-04 12:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857298432001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397779074723872768,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3636164086682077184,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788505075000,"timestamp_ms":1788505075000,"timestamp_seconds":1788505075,"priority":1,"record_length":96,"hex_timestamp":"000001a06b35ad38"} 
[2026-09-04 12:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 12:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857298432001,"66":27767,"237":206,"85":37632,"24":60,"16":397779074723872768,"44":-3636164086682077184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-09-04 12:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857298432001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:29:10] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-04 12:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397779074723872768,"km_value":397779074723872.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3636164086682077184,"description":"Unknown IO ID 44"} 
[2026-09-04 12:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857298432001,"power":27767,"unknown_237":206,"unknown_85":37632,"ignition":60,"odometer":null,"unknown_44":-3636164086682077184}} 
[2026-09-04 12:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":170630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:29:10] local.INFO: GPS data processed {"connection_id":170630,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:29:10] local.INFO: Acknowledgment sent {"connection_id":170630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:29:15] local.INFO: TCP Data received {"connection_id":170630,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b35b8f0012ccd74c0074464d00014014f31..."} 
[2026-09-04 12:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b35b8f0012ccd74c0074464d00014014f31..."} 
[2026-09-04 12:29:15] local.INFO: Processing buffer {"connection_id":170630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b35b8f0012ccd74c0074464d00014014f31..."} 
[2026-09-04 12:29:15] local.INFO: Packet analysis {"connection_id":170630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b35"} 
[2026-09-04 12:29:15] local.INFO: Extracted packet for processing {"connection_id":170630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b35"} 
[2026-09-04 12:29:15] local.INFO: GPS Element Parsed {"raw_longitude":751662272,"raw_latitude":121922768,"longitude_deg":75.1662272,"latitude_deg":12.1922768,"altitude":20,"angle":335,"satellites":49,"speed":60,"hex_longitude":"2ccd74c0","hex_latitude":"074464d0","is_valid_coordinates":true} 
[2026-09-04 12:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857299200001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397779293767204864,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3639541786401736704,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788505078000,"timestamp_ms":1788505078000,"timestamp_seconds":1788505078,"priority":1,"record_length":96,"hex_timestamp":"000001a06b35b8f0"} 
[2026-09-04 12:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857299200001,"66":27843,"237":206,"85":37632,"24":60,"16":397779293767204864,"44":-3639541786401736704},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-09-04 12:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857299200001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:29:15] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-04 12:29:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397779293767204864,"km_value":397779293767204.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:29:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3639541786401736704,"description":"Unknown IO ID 44"} 
[2026-09-04 12:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857299200001,"power":27843,"unknown_237":206,"unknown_85":37632,"ignition":60,"odometer":null,"unknown_44":-3639541786401736704}} 
[2026-09-04 12:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":170630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:29:15] local.INFO: GPS data processed {"connection_id":170630,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:29:15] local.INFO: Acknowledgment sent {"connection_id":170630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:29:28] local.INFO: TCP Data received {"connection_id":172040,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:29:28] local.INFO: Processing buffer {"connection_id":172040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:29:28] local.INFO: Packet analysis {"connection_id":172040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:29:28] local.INFO: Extracted packet for processing {"connection_id":172040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:29:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857201152001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788504993000,"timestamp_ms":1788504993000,"timestamp_seconds":1788504993,"priority":1,"record_length":96,"hex_timestamp":"000001a06b346ce8"} 
[2026-09-04 12:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 12:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857201152001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857201152001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:29:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:29:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857201152001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":172040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:29:28] local.INFO: GPS data processed {"connection_id":172040,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:29:28] local.INFO: Acknowledgment sent {"connection_id":172040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:29:34] local.INFO: TCP Data received {"connection_id":173334,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:29:34] local.INFO: Processing buffer {"connection_id":173334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:29:34] local.INFO: IMEI packet received {"connection_id":173334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":173334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:29:49] local.INFO: TCP Data received {"connection_id":170934,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:29:49] local.INFO: Processing buffer {"connection_id":170934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:29:49] local.INFO: IMEI packet received {"connection_id":170934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":170934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:29:54] local.INFO: TCP Data received {"connection_id":170934,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:29:54] local.INFO: Processing buffer {"connection_id":170934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:29:54] local.INFO: IMEI packet received {"connection_id":170934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":170934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:29:57] local.INFO: TCP Data received {"connection_id":170934,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:29:57] local.INFO: Processing buffer {"connection_id":170934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:29:57] local.INFO: Packet analysis {"connection_id":170934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:29:57] local.INFO: Extracted packet for processing {"connection_id":170934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:29:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857201152001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788504993000,"timestamp_ms":1788504993000,"timestamp_seconds":1788504993,"priority":1,"record_length":96,"hex_timestamp":"000001a06b346ce8"} 
[2026-09-04 12:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 12:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":170934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":170934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":170934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857201152001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857201152001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:29:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:29:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857201152001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":170934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762215,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:29:57] local.INFO: GPS data processed {"connection_id":170934,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:29:57] local.INFO: Acknowledgment sent {"connection_id":170934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:29:59] local.INFO: TCP Data received {"connection_id":173335,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:29:59] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:29:59] local.INFO: IMEI packet received {"connection_id":173335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":173335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:29:59] local.INFO: TCP Data received {"connection_id":170934,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:29:59] local.INFO: Processing buffer {"connection_id":170934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:29:59] local.INFO: Packet analysis {"connection_id":170934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:29:59] local.INFO: Extracted packet for processing {"connection_id":170934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857201152001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788504993000,"timestamp_ms":1788504993000,"timestamp_seconds":1788504993,"priority":1,"record_length":96,"hex_timestamp":"000001a06b346ce8"} 
[2026-09-04 12:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 12:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857201152001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857201152001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:29:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:29:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857201152001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":170934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762216,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:30:00] local.INFO: GPS data processed {"connection_id":170934,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:30:00] local.INFO: Acknowledgment sent {"connection_id":170934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:30:00] local.INFO: TCP Data received {"connection_id":173335,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:30:00] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:30:00] local.INFO: IMEI packet received {"connection_id":173335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":173335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:30:03] local.INFO: TCP Data received {"connection_id":173336,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:30:03] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:30:03] local.INFO: IMEI packet received {"connection_id":173336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":173336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:30:04] local.INFO: TCP Data received {"connection_id":173336,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:30:04] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:30:04] local.INFO: IMEI packet received {"connection_id":173336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":173336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:30:04] local.INFO: TCP Data received {"connection_id":173335,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:30:04] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:30:04] local.INFO: IMEI packet received {"connection_id":173335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":173335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:30:05] local.INFO: TCP Data received {"connection_id":173335,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b36ce48012cccde000745d7a8001a015831..."} 
[2026-09-04 12:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b36ce48012cccde000745d7a8001a015831..."} 
[2026-09-04 12:30:05] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b36ce48012cccde000745d7a8001a015831..."} 
[2026-09-04 12:30:05] local.INFO: Packet analysis {"connection_id":173335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b36"} 
[2026-09-04 12:30:05] local.INFO: Extracted packet for processing {"connection_id":173335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b36"} 
[2026-09-04 12:30:05] local.INFO: GPS Element Parsed {"raw_longitude":751623680,"raw_latitude":122017704,"longitude_deg":75.162368,"latitude_deg":12.2017704,"altitude":26,"angle":344,"satellites":49,"speed":59,"hex_longitude":"2cccde00","hex_latitude":"0745d7a8","is_valid_coordinates":true} 
[2026-09-04 12:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857316608001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397784271634300928,"note":"Value kept but may cause issues"} 
[2026-09-04 12:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3681903770373638144,"note":"Value kept but may cause issues"} 
[2026-09-04 12:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788505149000,"timestamp_ms":1788505149000,"timestamp_seconds":1788505149,"priority":1,"record_length":96,"hex_timestamp":"000001a06b36ce48"} 
[2026-09-04 12:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 12:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857316608001,"66":27767,"239":206,"85":37632,"24":59,"16":397784271634300928,"44":-3681903770373638144},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-04 12:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857316608001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:30:05] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-04 12:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397784271634300928,"km_value":397784271634300.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3681903770373638144,"description":"Unknown IO ID 44"} 
[2026-09-04 12:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857316608001,"power":27767,"unknown_239":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3681903770373638144}} 
[2026-09-04 12:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":173335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:30:05] local.INFO: GPS data processed {"connection_id":173335,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:30:05] local.INFO: Acknowledgment sent {"connection_id":173335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:30:06] local.INFO: TCP Data received {"connection_id":173335,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b36e5b8012cccd4c00745f9700019015832..."} 
[2026-09-04 12:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b36e5b8012cccd4c00745f9700019015832..."} 
[2026-09-04 12:30:06] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b36e5b8012cccd4c00745f9700019015832..."} 
[2026-09-04 12:30:06] local.INFO: Packet analysis {"connection_id":173335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b36"} 
[2026-09-04 12:30:06] local.INFO: Extracted packet for processing {"connection_id":173335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b36"} 
[2026-09-04 12:30:06] local.INFO: GPS Element Parsed {"raw_longitude":751621312,"raw_latitude":122026352,"longitude_deg":75.1621312,"latitude_deg":12.2026352,"altitude":25,"angle":344,"satellites":50,"speed":58,"hex_longitude":"2cccd4c0","hex_latitude":"0745f970","is_valid_coordinates":true} 
[2026-09-04 12:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857318144001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397784705425997824,"note":"Value kept but may cause issues"} 
[2026-09-04 12:30:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3684507413905954816,"note":"Value kept but may cause issues"} 
[2026-09-04 12:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788505155000,"timestamp_ms":1788505155000,"timestamp_seconds":1788505155,"priority":1,"record_length":96,"hex_timestamp":"000001a06b36e5b8"} 
[2026-09-04 12:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857318144001,"66":27930,"239":206,"85":37632,"24":58,"16":397784705425997824,"44":-3684507413905954816},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-04 12:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857318144001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:30:06] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-04 12:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397784705425997824,"km_value":397784705425997.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:30:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3684507413905954816,"description":"Unknown IO ID 44"} 
[2026-09-04 12:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857318144001,"power":27930,"unknown_239":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-3684507413905954816}} 
[2026-09-04 12:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":173335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:30:06] local.INFO: GPS data processed {"connection_id":173335,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:30:06] local.INFO: Acknowledgment sent {"connection_id":173335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:30:07] local.INFO: TCP Data received {"connection_id":173336,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:30:07] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:30:07] local.INFO: IMEI packet received {"connection_id":173336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":173336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:30:32] local.INFO: TCP Data received {"connection_id":170934,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:30:32] local.INFO: Processing buffer {"connection_id":170934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:30:32] local.INFO: Packet analysis {"connection_id":170934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:30:32] local.INFO: Extracted packet for processing {"connection_id":170934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:30:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857201152001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788504993000,"timestamp_ms":1788504993000,"timestamp_seconds":1788504993,"priority":1,"record_length":96,"hex_timestamp":"000001a06b346ce8"} 
[2026-09-04 12:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 12:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857201152001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857201152001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:30:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:30:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857201152001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":170934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762219,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:30:32] local.INFO: GPS data processed {"connection_id":170934,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:30:32] local.INFO: Acknowledgment sent {"connection_id":170934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:30:37] local.INFO: TCP Data received {"connection_id":173335,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b370110012cccc84007461e900019015131..."} 
[2026-09-04 12:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b370110012cccc84007461e900019015131..."} 
[2026-09-04 12:30:37] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b370110012cccc84007461e900019015131..."} 
[2026-09-04 12:30:37] local.INFO: Packet analysis {"connection_id":173335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b37"} 
[2026-09-04 12:30:37] local.INFO: Extracted packet for processing {"connection_id":173335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b37"} 
[2026-09-04 12:30:37] local.INFO: GPS Element Parsed {"raw_longitude":751618112,"raw_latitude":122035856,"longitude_deg":75.1618112,"latitude_deg":12.2035856,"altitude":25,"angle":337,"satellites":49,"speed":54,"hex_longitude":"2cccc840","hex_latitude":"07461e90","is_valid_coordinates":true} 
[2026-09-04 12:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857319680001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397785190757302272,"note":"Value kept but may cause issues"} 
[2026-09-04 12:30:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3687111057438314496,"note":"Value kept but may cause issues"} 
[2026-09-04 12:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788505162000,"timestamp_ms":1788505162000,"timestamp_seconds":1788505162,"priority":1,"record_length":96,"hex_timestamp":"000001a06b370110"} 
[2026-09-04 12:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 12:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857319680001,"66":27843,"74":206,"85":37632,"24":54,"16":397785190757302272,"44":-3687111057438314496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-04 12:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857319680001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:30:37] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 12:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397785190757302272,"km_value":397785190757302.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:30:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3687111057438314496,"description":"Unknown IO ID 44"} 
[2026-09-04 12:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857319680001,"power":27843,"unknown_74":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-3687111057438314496}} 
[2026-09-04 12:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":173335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:30:37] local.INFO: GPS data processed {"connection_id":173335,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:30:37] local.INFO: Acknowledgment sent {"connection_id":173335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:30:54] local.INFO: TCP Data received {"connection_id":170632,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:30:54] local.INFO: Processing buffer {"connection_id":170632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:30:54] local.INFO: IMEI packet received {"connection_id":170632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":170632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:30:59] local.INFO: TCP Data received {"connection_id":172041,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:30:59] local.INFO: Processing buffer {"connection_id":172041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:30:59] local.INFO: IMEI packet received {"connection_id":172041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":172041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:31:01] local.INFO: TCP Data received {"connection_id":172041,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:31:01] local.INFO: Processing buffer {"connection_id":172041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:31:01] local.INFO: IMEI packet received {"connection_id":172041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":172041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:31:02] local.INFO: TCP Data received {"connection_id":170632,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:31:02] local.INFO: Processing buffer {"connection_id":170632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:31:02] local.INFO: IMEI packet received {"connection_id":170632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":170632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:31:02] local.INFO: TCP Data received {"connection_id":172041,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b371498012cccbb8007463500001a014330..."} 
[2026-09-04 12:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b371498012cccbb8007463500001a014330..."} 
[2026-09-04 12:31:02] local.INFO: Processing buffer {"connection_id":172041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b371498012cccbb8007463500001a014330..."} 
[2026-09-04 12:31:02] local.INFO: Packet analysis {"connection_id":172041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b37"} 
[2026-09-04 12:31:02] local.INFO: Extracted packet for processing {"connection_id":172041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b37"} 
[2026-09-04 12:31:02] local.INFO: GPS Element Parsed {"raw_longitude":751614848,"raw_latitude":122041600,"longitude_deg":75.1614848,"latitude_deg":12.20416,"altitude":26,"angle":323,"satellites":48,"speed":51,"hex_longitude":"2cccbb80","hex_latitude":"07463500","is_valid_coordinates":true} 
[2026-09-04 12:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857321472001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397785508584882176,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3690629494644764672,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788505167000,"timestamp_ms":1788505167000,"timestamp_seconds":1788505167,"priority":1,"record_length":96,"hex_timestamp":"000001a06b371498"} 
[2026-09-04 12:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 12:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857321472001,"66":27745,"74":206,"85":37632,"24":51,"16":397785508584882176,"44":-3690629494644764672},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-04 12:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857321472001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:31:02] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 12:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397785508584882176,"km_value":397785508584882.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:31:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3690629494644764672,"description":"Unknown IO ID 44"} 
[2026-09-04 12:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857321472001,"power":27745,"unknown_74":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-3690629494644764672}} 
[2026-09-04 12:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":172041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:31:02] local.INFO: GPS data processed {"connection_id":172041,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:31:02] local.INFO: Acknowledgment sent {"connection_id":172041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:31:06] local.INFO: TCP Data received {"connection_id":170632,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:31:06] local.INFO: Processing buffer {"connection_id":170632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:31:06] local.INFO: Packet analysis {"connection_id":170632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:31:06] local.INFO: Extracted packet for processing {"connection_id":170632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857201152001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788504993000,"timestamp_ms":1788504993000,"timestamp_seconds":1788504993,"priority":1,"record_length":96,"hex_timestamp":"000001a06b346ce8"} 
[2026-09-04 12:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 12:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857201152001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857201152001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:31:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:31:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857201152001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":170632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:31:06] local.INFO: GPS data processed {"connection_id":170632,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:31:06] local.INFO: Acknowledgment sent {"connection_id":170632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:31:09] local.INFO: TCP Data received {"connection_id":170632,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:31:09] local.INFO: Processing buffer {"connection_id":170632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:31:09] local.INFO: Packet analysis {"connection_id":170632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:31:09] local.INFO: Extracted packet for processing {"connection_id":170632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857201152001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788504993000,"timestamp_ms":1788504993000,"timestamp_seconds":1788504993,"priority":1,"record_length":96,"hex_timestamp":"000001a06b346ce8"} 
[2026-09-04 12:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 12:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857201152001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857201152001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:31:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:31:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857201152001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":170632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762223,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:31:09] local.INFO: GPS data processed {"connection_id":170632,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:31:09] local.INFO: Acknowledgment sent {"connection_id":170632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:31:33] local.INFO: TCP Data received {"connection_id":172041,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b382220012ccc7040074769c8000e016630..."} 
[2026-09-04 12:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b382220012ccc7040074769c8000e016630..."} 
[2026-09-04 12:31:33] local.INFO: Processing buffer {"connection_id":172041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b382220012ccc7040074769c8000e016630..."} 
[2026-09-04 12:31:33] local.INFO: Packet analysis {"connection_id":172041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b38"} 
[2026-09-04 12:31:33] local.INFO: Extracted packet for processing {"connection_id":172041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b38"} 
[2026-09-04 12:31:33] local.INFO: GPS Element Parsed {"raw_longitude":751595584,"raw_latitude":122120648,"longitude_deg":75.1595584,"latitude_deg":12.2120648,"altitude":14,"angle":358,"satellites":48,"speed":28,"hex_longitude":"2ccc7040","hex_latitude":"074769c8","is_valid_coordinates":true} 
[2026-09-04 12:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857339648001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397789554444075008,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3715680767550875648,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788505236000,"timestamp_ms":1788505236000,"timestamp_seconds":1788505236,"priority":1,"record_length":96,"hex_timestamp":"000001a06b382220"} 
[2026-09-04 12:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 12:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857339648001,"66":27789,"167":206,"85":37632,"24":28,"16":397789554444075008,"44":-3715680767550875648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-04 12:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857339648001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:31:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-04 12:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397789554444075008,"km_value":397789554444075.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:31:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3715680767550875648,"description":"Unknown IO ID 44"} 
[2026-09-04 12:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857339648001,"power":27789,"unknown_167":206,"unknown_85":37632,"ignition":28,"odometer":null,"unknown_44":-3715680767550875648}} 
[2026-09-04 12:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":172041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:31:33] local.INFO: GPS data processed {"connection_id":172041,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:31:33] local.INFO: Acknowledgment sent {"connection_id":172041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:31:49] local.INFO: TCP Data received {"connection_id":170633,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:31:49] local.INFO: Processing buffer {"connection_id":170633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:31:49] local.INFO: IMEI packet received {"connection_id":170633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":170633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:31:54] local.INFO: TCP Data received {"connection_id":170633,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:31:54] local.INFO: Processing buffer {"connection_id":170633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:31:54] local.INFO: IMEI packet received {"connection_id":170633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":170633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:31:56] local.INFO: TCP Data received {"connection_id":170633,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:31:56] local.INFO: Processing buffer {"connection_id":170633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b346ce8012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:31:56] local.INFO: Packet analysis {"connection_id":170633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:31:56] local.INFO: Extracted packet for processing {"connection_id":170633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b34"} 
[2026-09-04 12:31:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857201152001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788504993000,"timestamp_ms":1788504993000,"timestamp_seconds":1788504993,"priority":1,"record_length":96,"hex_timestamp":"000001a06b346ce8"} 
[2026-09-04 12:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 12:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857201152001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857201152001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:31:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:31:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857201152001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":170633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:31:56] local.INFO: GPS data processed {"connection_id":170633,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:31:56] local.INFO: Acknowledgment sent {"connection_id":170633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:31:58] local.INFO: TCP Data received {"connection_id":172042,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:31:58] local.INFO: Processing buffer {"connection_id":172042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:31:58] local.INFO: IMEI packet received {"connection_id":172042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":172042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:31:59] local.INFO: TCP Data received {"connection_id":172042,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:31:59] local.INFO: Processing buffer {"connection_id":172042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:31:59] local.INFO: IMEI packet received {"connection_id":172042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":172042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:32:04] local.INFO: TCP Data received {"connection_id":172042,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:32:04] local.INFO: Processing buffer {"connection_id":172042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:32:04] local.INFO: IMEI packet received {"connection_id":172042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":172042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:32:05] local.INFO: TCP Data received {"connection_id":172042,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3831c0012ccc6ec007477488000e015a30..."} 
[2026-09-04 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3831c0012ccc6ec007477488000e015a30..."} 
[2026-09-04 12:32:05] local.INFO: Processing buffer {"connection_id":172042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3831c0012ccc6ec007477488000e015a30..."} 
[2026-09-04 12:32:05] local.INFO: Packet analysis {"connection_id":172042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b38"} 
[2026-09-04 12:32:05] local.INFO: Extracted packet for processing {"connection_id":172042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b38"} 
[2026-09-04 12:32:05] local.INFO: GPS Element Parsed {"raw_longitude":751595200,"raw_latitude":122123400,"longitude_deg":75.15952,"latitude_deg":12.21234,"altitude":14,"angle":346,"satellites":48,"speed":27,"hex_longitude":"2ccc6ec0","hex_latitude":"07477488","is_valid_coordinates":true} 
[2026-09-04 12:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857340416001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397789691883028480,"note":"Value kept but may cause issues"} 
[2026-09-04 12:32:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3715399292573595648,"note":"Value kept but may cause issues"} 
[2026-09-04 12:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788505240000,"timestamp_ms":1788505240000,"timestamp_seconds":1788505240,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3831c0"} 
[2026-09-04 12:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-04 12:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857340416001,"66":27865,"167":206,"85":37632,"24":27,"16":397789691883028480,"44":-3715399292573595648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-04 12:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857340416001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:32:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-04 12:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397789691883028480,"km_value":397789691883028.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:32:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3715399292573595648,"description":"Unknown IO ID 44"} 
[2026-09-04 12:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857340416001,"power":27865,"unknown_167":206,"unknown_85":37632,"ignition":27,"odometer":null,"unknown_44":-3715399292573595648}} 
[2026-09-04 12:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":172042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:32:05] local.INFO: GPS data processed {"connection_id":172042,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:32:05] local.INFO: Acknowledgment sent {"connection_id":172042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:32:27] local.INFO: TCP Data received {"connection_id":170633,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:32:27] local.INFO: Processing buffer {"connection_id":170633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:32:27] local.INFO: Packet analysis {"connection_id":170633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:32:27] local.INFO: Extracted packet for processing {"connection_id":170633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:32:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857278208001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788505294000,"timestamp_ms":1788505294000,"timestamp_seconds":1788505294,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3904b0"} 
[2026-09-04 12:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 12:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857278208001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857278208001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:32:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:32:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857278208001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":170633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:32:27] local.INFO: GPS data processed {"connection_id":170633,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:32:27] local.INFO: Acknowledgment sent {"connection_id":170633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:32:36] local.INFO: TCP Data received {"connection_id":172042,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b386870012ccc64c007479760000c01562e..."} 
[2026-09-04 12:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b386870012ccc64c007479760000c01562e..."} 
[2026-09-04 12:32:36] local.INFO: Processing buffer {"connection_id":172042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b386870012ccc64c007479760000c01562e..."} 
[2026-09-04 12:32:36] local.INFO: Packet analysis {"connection_id":172042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b38"} 
[2026-09-04 12:32:36] local.INFO: Extracted packet for processing {"connection_id":172042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b38"} 
[2026-09-04 12:32:36] local.INFO: GPS Element Parsed {"raw_longitude":751592640,"raw_latitude":122132320,"longitude_deg":75.159264,"latitude_deg":12.213232,"altitude":12,"angle":342,"satellites":46,"speed":22,"hex_longitude":"2ccc64c0","hex_latitude":"07479760","is_valid_coordinates":true} 
[2026-09-04 12:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857341440001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397790142854594560,"note":"Value kept but may cause issues"} 
[2026-09-04 12:32:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3715821505037957120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788505254000,"timestamp_ms":1788505254000,"timestamp_seconds":1788505254,"priority":1,"record_length":96,"hex_timestamp":"000001a06b386870"} 
[2026-09-04 12:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 12:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857341440001,"66":27887,"2":206,"85":37632,"24":22,"16":397790142854594560,"44":-3715821505037957120},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-04 12:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857341440001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397790142854594560,"km_value":397790142854594.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:32:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3715821505037957120,"description":"Unknown IO ID 44"} 
[2026-09-04 12:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857341440001,"power":27887,"power_alt":206,"unknown_85":37632,"ignition":22,"odometer":null,"unknown_44":-3715821505037957120}} 
[2026-09-04 12:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":172042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:32:36] local.INFO: GPS data processed {"connection_id":172042,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:32:36] local.INFO: Acknowledgment sent {"connection_id":172042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:32:49] local.INFO: TCP Data received {"connection_id":170634,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:32:49] local.INFO: Processing buffer {"connection_id":170634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:32:49] local.INFO: IMEI packet received {"connection_id":170634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":170634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:32:54] local.INFO: TCP Data received {"connection_id":170634,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:32:54] local.INFO: Processing buffer {"connection_id":170634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:32:54] local.INFO: IMEI packet received {"connection_id":170634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":170634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:32:55] local.INFO: TCP Data received {"connection_id":170634,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:32:55] local.INFO: Processing buffer {"connection_id":170634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:32:55] local.INFO: Packet analysis {"connection_id":170634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:32:55] local.INFO: Extracted packet for processing {"connection_id":170634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:32:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857278208001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788505294000,"timestamp_ms":1788505294000,"timestamp_seconds":1788505294,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3904b0"} 
[2026-09-04 12:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 12:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857278208001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857278208001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:32:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857278208001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":170634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:32:55] local.INFO: GPS data processed {"connection_id":170634,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:32:55] local.INFO: Acknowledgment sent {"connection_id":170634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:32:59] local.INFO: TCP Data received {"connection_id":172043,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:32:59] local.INFO: Processing buffer {"connection_id":172043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:32:59] local.INFO: IMEI packet received {"connection_id":172043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":172043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:33:04] local.INFO: TCP Data received {"connection_id":172043,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:33:04] local.INFO: Processing buffer {"connection_id":172043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:33:04] local.INFO: IMEI packet received {"connection_id":172043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":172043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:33:06] local.INFO: TCP Data received {"connection_id":172043,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b387810012ccc624007479d68000b01462d..."} 
[2026-09-04 12:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b387810012ccc624007479d68000b01462d..."} 
[2026-09-04 12:33:06] local.INFO: Processing buffer {"connection_id":172043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b387810012ccc624007479d68000b01462d..."} 
[2026-09-04 12:33:06] local.INFO: Packet analysis {"connection_id":172043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b38"} 
[2026-09-04 12:33:06] local.INFO: Extracted packet for processing {"connection_id":172043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b38"} 
[2026-09-04 12:33:06] local.INFO: GPS Element Parsed {"raw_longitude":751592000,"raw_latitude":122133864,"longitude_deg":75.1592,"latitude_deg":12.2133864,"altitude":11,"angle":326,"satellites":45,"speed":10,"hex_longitude":"2ccc6240","hex_latitude":"07479d68","is_valid_coordinates":true} 
[2026-09-04 12:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857345024001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397790224458973184,"note":"Value kept but may cause issues"} 
[2026-09-04 12:33:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3718636254802780160,"note":"Value kept but may cause issues"} 
[2026-09-04 12:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788505258000,"timestamp_ms":1788505258000,"timestamp_seconds":1788505258,"priority":1,"record_length":96,"hex_timestamp":"000001a06b387810"} 
[2026-09-04 12:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 12:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857345024001,"66":27908,"2":206,"85":37632,"24":10,"16":397790224458973184,"44":-3718636254802780160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-04 12:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857345024001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397790224458973184,"km_value":397790224458973.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:33:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3718636254802780160,"description":"Unknown IO ID 44"} 
[2026-09-04 12:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857345024001,"power":27908,"power_alt":206,"unknown_85":37632,"ignition":10,"odometer":null,"unknown_44":-3718636254802780160}} 
[2026-09-04 12:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":172043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:33:06] local.INFO: GPS data processed {"connection_id":172043,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:33:06] local.INFO: Acknowledgment sent {"connection_id":172043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:33:28] local.INFO: TCP Data received {"connection_id":170634,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:33:28] local.INFO: Processing buffer {"connection_id":170634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:33:28] local.INFO: Packet analysis {"connection_id":170634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:33:28] local.INFO: Extracted packet for processing {"connection_id":170634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:33:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857278208001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788505294000,"timestamp_ms":1788505294000,"timestamp_seconds":1788505294,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3904b0"} 
[2026-09-04 12:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 12:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857278208001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857278208001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:33:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:33:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857278208001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":170634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:33:28] local.INFO: GPS data processed {"connection_id":170634,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:33:28] local.INFO: Acknowledgment sent {"connection_id":170634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:33:37] local.INFO: TCP Data received {"connection_id":172043,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3a3d30012ccc1c4007487e88000c00142f..."} 
[2026-09-04 12:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3a3d30012ccc1c4007487e88000c00142f..."} 
[2026-09-04 12:33:37] local.INFO: Processing buffer {"connection_id":172043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3a3d30012ccc1c4007487e88000c00142f..."} 
[2026-09-04 12:33:37] local.INFO: Packet analysis {"connection_id":172043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3a"} 
[2026-09-04 12:33:37] local.INFO: Extracted packet for processing {"connection_id":172043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3a"} 
[2026-09-04 12:33:37] local.INFO: GPS Element Parsed {"raw_longitude":751574080,"raw_latitude":122191496,"longitude_deg":75.157408,"latitude_deg":12.2191496,"altitude":12,"angle":20,"satellites":47,"speed":29,"hex_longitude":"2ccc1c40","hex_latitude":"07487e88","is_valid_coordinates":true} 
[2026-09-04 12:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857374720001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397793213756211200,"note":"Value kept but may cause issues"} 
[2026-09-04 12:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3739606140553498624,"note":"Value kept but may cause issues"} 
[2026-09-04 12:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788505374000,"timestamp_ms":1788505374000,"timestamp_seconds":1788505374,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3a3d30"} 
[2026-09-04 12:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 12:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857374720001,"66":27017,"167":206,"85":37632,"24":29,"16":397793213756211200,"44":-3739606140553498624},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-04 12:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857374720001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:33:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-04 12:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397793213756211200,"km_value":397793213756211.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3739606140553498624,"description":"Unknown IO ID 44"} 
[2026-09-04 12:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857374720001,"power":27017,"unknown_167":206,"unknown_85":37632,"ignition":29,"odometer":null,"unknown_44":-3739606140553498624}} 
[2026-09-04 12:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":172043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:33:37] local.INFO: GPS data processed {"connection_id":172043,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:33:37] local.INFO: Acknowledgment sent {"connection_id":172043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:33:49] local.INFO: TCP Data received {"connection_id":172044,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:33:49] local.INFO: Processing buffer {"connection_id":172044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:33:49] local.INFO: IMEI packet received {"connection_id":172044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":172044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:33:54] local.INFO: TCP Data received {"connection_id":172044,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:33:54] local.INFO: Processing buffer {"connection_id":172044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:33:54] local.INFO: IMEI packet received {"connection_id":172044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":172044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:33:58] local.INFO: TCP Data received {"connection_id":172044,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:33:58] local.INFO: Processing buffer {"connection_id":172044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:33:58] local.INFO: Packet analysis {"connection_id":172044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:33:58] local.INFO: Extracted packet for processing {"connection_id":172044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857278208001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788505294000,"timestamp_ms":1788505294000,"timestamp_seconds":1788505294,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3904b0"} 
[2026-09-04 12:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 12:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857278208001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857278208001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:33:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:33:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857278208001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":172044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762233,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:33:58] local.INFO: GPS data processed {"connection_id":172044,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:33:58] local.INFO: Acknowledgment sent {"connection_id":172044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:33:59] local.INFO: TCP Data received {"connection_id":170937,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:33:59] local.INFO: Processing buffer {"connection_id":170937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:33:59] local.INFO: IMEI packet received {"connection_id":170937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":170937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:34:04] local.INFO: TCP Data received {"connection_id":170937,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:34:04] local.INFO: Processing buffer {"connection_id":170937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:34:04] local.INFO: IMEI packet received {"connection_id":170937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":170937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:34:05] local.INFO: TCP Data received {"connection_id":170937,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3a4500012ccc1f0007488370000b00232f..."} 
[2026-09-04 12:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3a4500012ccc1f0007488370000b00232f..."} 
[2026-09-04 12:34:05] local.INFO: Processing buffer {"connection_id":170937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3a4500012ccc1f0007488370000b00232f..."} 
[2026-09-04 12:34:05] local.INFO: Packet analysis {"connection_id":170937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3a"} 
[2026-09-04 12:34:05] local.INFO: Extracted packet for processing {"connection_id":170937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3a"} 
[2026-09-04 12:34:05] local.INFO: GPS Element Parsed {"raw_longitude":751574784,"raw_latitude":122192752,"longitude_deg":75.1574784,"latitude_deg":12.2192752,"altitude":11,"angle":35,"satellites":47,"speed":28,"hex_longitude":"2ccc1f00","hex_latitude":"07488370","is_valid_coordinates":true} 
[2026-09-04 12:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857375744001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397793282475687936,"note":"Value kept but may cause issues"} 
[2026-09-04 12:34:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3739043190599153664,"note":"Value kept but may cause issues"} 
[2026-09-04 12:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788505376000,"timestamp_ms":1788505376000,"timestamp_seconds":1788505376,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3a4500"} 
[2026-09-04 12:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-04 12:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857375744001,"66":27843,"167":206,"85":37632,"24":28,"16":397793282475687936,"44":-3739043190599153664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-04 12:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857375744001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:34:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-04 12:34:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397793282475687936,"km_value":397793282475687.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:34:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3739043190599153664,"description":"Unknown IO ID 44"} 
[2026-09-04 12:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857375744001,"power":27843,"unknown_167":206,"unknown_85":37632,"ignition":28,"odometer":null,"unknown_44":-3739043190599153664}} 
[2026-09-04 12:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":170937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:34:05] local.INFO: GPS data processed {"connection_id":170937,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:34:05] local.INFO: Acknowledgment sent {"connection_id":170937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:34:30] local.INFO: TCP Data received {"connection_id":172044,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:34:30] local.INFO: Processing buffer {"connection_id":172044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:34:30] local.INFO: Packet analysis {"connection_id":172044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:34:30] local.INFO: Extracted packet for processing {"connection_id":172044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:34:30] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857278208001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788505294000,"timestamp_ms":1788505294000,"timestamp_seconds":1788505294,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3904b0"} 
[2026-09-04 12:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 12:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857278208001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857278208001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:34:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:34:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857278208001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":172044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:34:30] local.INFO: GPS data processed {"connection_id":172044,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:34:30] local.INFO: Acknowledgment sent {"connection_id":172044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:34:36] local.INFO: TCP Data received {"connection_id":170937,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3a4cd0012ccc21c007488878000b00132e..."} 
[2026-09-04 12:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3a4cd0012ccc21c007488878000b00132e..."} 
[2026-09-04 12:34:36] local.INFO: Processing buffer {"connection_id":170937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3a4cd0012ccc21c007488878000b00132e..."} 
[2026-09-04 12:34:36] local.INFO: Packet analysis {"connection_id":170937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3a"} 
[2026-09-04 12:34:36] local.INFO: Extracted packet for processing {"connection_id":170937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3a"} 
[2026-09-04 12:34:36] local.INFO: GPS Element Parsed {"raw_longitude":751575488,"raw_latitude":122194040,"longitude_deg":75.1575488,"latitude_deg":12.219404,"altitude":11,"angle":19,"satellites":46,"speed":29,"hex_longitude":"2ccc21c0","hex_latitude":"07488878","is_valid_coordinates":true} 
[2026-09-04 12:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857376256001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397793351195164672,"note":"Value kept but may cause issues"} 
[2026-09-04 12:34:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3738269134412877824,"note":"Value kept but may cause issues"} 
[2026-09-04 12:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788505378000,"timestamp_ms":1788505378000,"timestamp_seconds":1788505378,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3a4cd0"} 
[2026-09-04 12:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 12:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857376256001,"66":27767,"167":206,"85":37632,"24":29,"16":397793351195164672,"44":-3738269134412877824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-04 12:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857376256001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:34:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-04 12:34:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397793351195164672,"km_value":397793351195164.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:34:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3738269134412877824,"description":"Unknown IO ID 44"} 
[2026-09-04 12:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857376256001,"power":27767,"unknown_167":206,"unknown_85":37632,"ignition":29,"odometer":null,"unknown_44":-3738269134412877824}} 
[2026-09-04 12:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":170937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:34:36] local.INFO: GPS data processed {"connection_id":170937,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:34:36] local.INFO: Acknowledgment sent {"connection_id":170937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:34:54] local.INFO: TCP Data received {"connection_id":172045,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:34:54] local.INFO: Processing buffer {"connection_id":172045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:34:54] local.INFO: IMEI packet received {"connection_id":172045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":172045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:34:59] local.INFO: TCP Data received {"connection_id":172046,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:34:59] local.INFO: Processing buffer {"connection_id":172046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:34:59] local.INFO: IMEI packet received {"connection_id":172046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":172046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:34:59] local.INFO: TCP Data received {"connection_id":172045,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:34:59] local.INFO: Processing buffer {"connection_id":172045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:34:59] local.INFO: IMEI packet received {"connection_id":172045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":172045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:35:01] local.INFO: TCP Data received {"connection_id":172045,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:35:01] local.INFO: Processing buffer {"connection_id":172045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:35:01] local.INFO: Packet analysis {"connection_id":172045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:35:01] local.INFO: Extracted packet for processing {"connection_id":172045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:35:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857278208001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788505294000,"timestamp_ms":1788505294000,"timestamp_seconds":1788505294,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3904b0"} 
[2026-09-04 12:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 12:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857278208001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857278208001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:35:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:35:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857278208001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":172045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:35:01] local.INFO: GPS data processed {"connection_id":172045,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:35:01] local.INFO: Acknowledgment sent {"connection_id":172045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:35:04] local.INFO: TCP Data received {"connection_id":172046,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:35:04] local.INFO: Processing buffer {"connection_id":172046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:35:04] local.INFO: IMEI packet received {"connection_id":172046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":172046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:35:05] local.INFO: TCP Data received {"connection_id":172046,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3a77c8012ccc2c000748aa98000c00132e..."} 
[2026-09-04 12:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3a77c8012ccc2c000748aa98000c00132e..."} 
[2026-09-04 12:35:05] local.INFO: Processing buffer {"connection_id":172046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3a77c8012ccc2c000748aa98000c00132e..."} 
[2026-09-04 12:35:05] local.INFO: Packet analysis {"connection_id":172046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3a"} 
[2026-09-04 12:35:05] local.INFO: Extracted packet for processing {"connection_id":172046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3a"} 
[2026-09-04 12:35:05] local.INFO: GPS Element Parsed {"raw_longitude":751578112,"raw_latitude":122202776,"longitude_deg":75.1578112,"latitude_deg":12.2202776,"altitude":12,"angle":19,"satellites":46,"speed":38,"hex_longitude":"2ccc2c00","hex_latitude":"0748aa98","is_valid_coordinates":true} 
[2026-09-04 12:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857376768001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397793793576796160,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3737495078226593792,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788505389000,"timestamp_ms":1788505389000,"timestamp_seconds":1788505389,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3a77c8"} 
[2026-09-04 12:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857376768001,"66":27539,"167":206,"85":37632,"24":38,"16":397793793576796160,"44":-3737495078226593792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-04 12:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857376768001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:35:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-04 12:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397793793576796160,"km_value":397793793576796.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3737495078226593792,"description":"Unknown IO ID 44"} 
[2026-09-04 12:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857376768001,"power":27539,"unknown_167":206,"unknown_85":37632,"ignition":38,"odometer":null,"unknown_44":-3737495078226593792}} 
[2026-09-04 12:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":172046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:35:05] local.INFO: GPS data processed {"connection_id":172046,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:35:05] local.INFO: Acknowledgment sent {"connection_id":172046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:35:05] local.INFO: TCP Data received {"connection_id":172045,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:35:05] local.INFO: Processing buffer {"connection_id":172045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:35:05] local.INFO: Packet analysis {"connection_id":172045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:35:05] local.INFO: Extracted packet for processing {"connection_id":172045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857278208001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788505294000,"timestamp_ms":1788505294000,"timestamp_seconds":1788505294,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3904b0"} 
[2026-09-04 12:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 12:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857278208001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857278208001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:35:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857278208001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":172045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:35:05] local.INFO: GPS data processed {"connection_id":172045,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:35:05] local.INFO: Acknowledgment sent {"connection_id":172045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:35:09] local.INFO: TCP Data received {"connection_id":170938,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:35:09] local.INFO: Processing buffer {"connection_id":170938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:35:09] local.INFO: IMEI packet received {"connection_id":170938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":170938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:35:10] local.INFO: TCP Data received {"connection_id":170938,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3a1620012d189e00072269e8006a00cf2c..."} 
[2026-09-04 12:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3a1620012d189e00072269e8006a00cf2c..."} 
[2026-09-04 12:35:10] local.INFO: Processing buffer {"connection_id":170938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3a1620012d189e00072269e8006a00cf2c..."} 
[2026-09-04 12:35:10] local.INFO: Packet analysis {"connection_id":170938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3a"} 
[2026-09-04 12:35:10] local.INFO: Extracted packet for processing {"connection_id":170938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3a"} 
[2026-09-04 12:35:10] local.INFO: GPS Element Parsed {"raw_longitude":756588032,"raw_latitude":119695848,"longitude_deg":75.6588032,"latitude_deg":11.9695848,"altitude":106,"angle":207,"satellites":44,"speed":38,"hex_longitude":"2d189e00","hex_latitude":"072269e8","is_valid_coordinates":true} 
[2026-09-04 12:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857371392001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17184031007309824,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776388608664588288,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788505364000,"timestamp_ms":1788505364000,"timestamp_seconds":1788505364,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3a1620"} 
[2026-09-04 12:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 12:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857371392001,"66":14048,"120":206,"28":31744,"24":38,"16":17184031007309824,"45":1776388608664588288},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857371392001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:35:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:35:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17184031007309824,"km_value":17184031007309.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776388608664588288,"description":"Unknown IO ID 45"} 
[2026-09-04 12:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857371392001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1776388608664588288}} 
[2026-09-04 12:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":170938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:35:10] local.INFO: GPS data processed {"connection_id":170938,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:35:10] local.INFO: Acknowledgment sent {"connection_id":170938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:35:36] local.INFO: TCP Data received {"connection_id":172046,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3be6f8012ccb9540074a2110000e016528..."} 
[2026-09-04 12:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3be6f8012ccb9540074a2110000e016528..."} 
[2026-09-04 12:35:36] local.INFO: Processing buffer {"connection_id":172046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3be6f8012ccb9540074a2110000e016528..."} 
[2026-09-04 12:35:36] local.INFO: Packet analysis {"connection_id":172046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3b"} 
[2026-09-04 12:35:36] local.INFO: Extracted packet for processing {"connection_id":172046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3b"} 
[2026-09-04 12:35:36] local.INFO: GPS Element Parsed {"raw_longitude":751539520,"raw_latitude":122298640,"longitude_deg":75.153952,"latitude_deg":12.229864,"altitude":14,"angle":357,"satellites":40,"speed":53,"hex_longitude":"2ccb9540","hex_latitude":"074a2110","is_valid_coordinates":true} 
[2026-09-04 12:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857402880001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397799325494673408,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776268256242724864,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788505483000,"timestamp_ms":1788505483000,"timestamp_seconds":1788505483,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3be6f8"} 
[2026-09-04 12:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 12:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857402880001,"66":27865,"74":206,"85":37632,"24":53,"16":397799325494673408,"44":-3776268256242724864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-04 12:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857402880001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:35:36] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 12:35:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397799325494673408,"km_value":397799325494673.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:35:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776268256242724864,"description":"Unknown IO ID 44"} 
[2026-09-04 12:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857402880001,"power":27865,"unknown_74":206,"unknown_85":37632,"ignition":53,"odometer":null,"unknown_44":-3776268256242724864}} 
[2026-09-04 12:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":172046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:35:36] local.INFO: GPS data processed {"connection_id":172046,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:35:36] local.INFO: Acknowledgment sent {"connection_id":172046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:35:48] local.INFO: TCP Data received {"connection_id":172047,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:35:48] local.INFO: Processing buffer {"connection_id":172047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:35:48] local.INFO: IMEI packet received {"connection_id":172047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":172047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:35:49] local.INFO: TCP Data received {"connection_id":173338,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:35:49] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:35:49] local.INFO: IMEI packet received {"connection_id":173338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":173338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:35:54] local.INFO: TCP Data received {"connection_id":172047,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:35:54] local.INFO: Processing buffer {"connection_id":172047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:35:54] local.INFO: IMEI packet received {"connection_id":172047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":172047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:35:54] local.INFO: TCP Data received {"connection_id":173338,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:35:54] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:35:54] local.INFO: IMEI packet received {"connection_id":173338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":173338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:35:55] local.INFO: TCP Data received {"connection_id":172047,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3c3518012d1816c007219b30004e00c22b..."} 
[2026-09-04 12:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3c3518012d1816c007219b30004e00c22b..."} 
[2026-09-04 12:35:55] local.INFO: Processing buffer {"connection_id":172047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3c3518012d1816c007219b30004e00c22b..."} 
[2026-09-04 12:35:55] local.INFO: Packet analysis {"connection_id":172047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:35:55] local.INFO: Extracted packet for processing {"connection_id":172047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756553408,"raw_latitude":119642928,"longitude_deg":75.6553408,"latitude_deg":11.9642928,"altitude":78,"angle":194,"satellites":43,"speed":1,"hex_longitude":"2d1816c0","hex_latitude":"07219b30","is_valid_coordinates":true} 
[2026-09-04 12:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857403392001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17187089024024576,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736419161956868096,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788505503000,"timestamp_ms":1788505503000,"timestamp_seconds":1788505503,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3c3518"} 
[2026-09-04 12:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 12:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857403392001,"66":13928,"120":206,"28":31744,"24":1,"16":17187089024024576,"45":1736419161956868096},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857403392001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:35:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17187089024024576,"km_value":17187089024024.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736419161956868096,"description":"Unknown IO ID 45"} 
[2026-09-04 12:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857403392001,"power":13928,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1736419161956868096}} 
[2026-09-04 12:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":172047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:35:55] local.INFO: GPS data processed {"connection_id":172047,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:35:55] local.INFO: Acknowledgment sent {"connection_id":172047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:35:55] local.INFO: TCP Data received {"connection_id":173338,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:35:55] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:35:55] local.INFO: Packet analysis {"connection_id":173338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:35:55] local.INFO: Extracted packet for processing {"connection_id":173338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857278208001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788505294000,"timestamp_ms":1788505294000,"timestamp_seconds":1788505294,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3904b0"} 
[2026-09-04 12:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 12:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857278208001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857278208001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:35:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857278208001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":173338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:35:55] local.INFO: GPS data processed {"connection_id":173338,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:35:55] local.INFO: Acknowledgment sent {"connection_id":173338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:36:04] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:36:04] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:36:04] local.INFO: IMEI packet received {"connection_id":173339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":173339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:36:07] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:36:07] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:36:07] local.INFO: IMEI packet received {"connection_id":173339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":173339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:36:08] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3beec8012ccb9600074a2b88000e000828..."} 
[2026-09-04 12:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3beec8012ccb9600074a2b88000e000828..."} 
[2026-09-04 12:36:08] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3beec8012ccb9600074a2b88000e000828..."} 
[2026-09-04 12:36:08] local.INFO: Packet analysis {"connection_id":173339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3b"} 
[2026-09-04 12:36:08] local.INFO: Extracted packet for processing {"connection_id":173339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3b"} 
[2026-09-04 12:36:08] local.INFO: GPS Element Parsed {"raw_longitude":751539712,"raw_latitude":122301320,"longitude_deg":75.1539712,"latitude_deg":12.230132,"altitude":14,"angle":8,"satellites":40,"speed":54,"hex_longitude":"2ccb9600","hex_latitude":"074a2b88","is_valid_coordinates":true} 
[2026-09-04 12:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857403648001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397799454343692288,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3777042312427663360,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788505485000,"timestamp_ms":1788505485000,"timestamp_seconds":1788505485,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3beec8"} 
[2026-09-04 12:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 12:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857403648001,"66":27321,"74":206,"85":37632,"24":54,"16":397799454343692288,"44":-3777042312427663360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-04 12:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857403648001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:36:08] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 12:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397799454343692288,"km_value":397799454343692.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:36:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3777042312427663360,"description":"Unknown IO ID 44"} 
[2026-09-04 12:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857403648001,"power":27321,"unknown_74":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-3777042312427663360}} 
[2026-09-04 12:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":173339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:36:08] local.INFO: GPS data processed {"connection_id":173339,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:36:08] local.INFO: Acknowledgment sent {"connection_id":173339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:36:09] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3c0a20012ccba040074a5058000b00122a..."} 
[2026-09-04 12:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3c0a20012ccba040074a5058000b00122a..."} 
[2026-09-04 12:36:09] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3c0a20012ccba040074a5058000b00122a..."} 
[2026-09-04 12:36:09] local.INFO: Packet analysis {"connection_id":173339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:36:09] local.INFO: Extracted packet for processing {"connection_id":173339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:36:09] local.INFO: GPS Element Parsed {"raw_longitude":751542336,"raw_latitude":122310744,"longitude_deg":75.1542336,"latitude_deg":12.2310744,"altitude":11,"angle":18,"satellites":42,"speed":57,"hex_longitude":"2ccba040","hex_latitude":"074a5058","is_valid_coordinates":true} 
[2026-09-04 12:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857404160001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397799931085062144,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776831206194444288,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788505492000,"timestamp_ms":1788505492000,"timestamp_seconds":1788505492,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3c0a20"} 
[2026-09-04 12:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 12:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857404160001,"66":27876,"74":206,"85":37632,"24":57,"16":397799931085062144,"44":-3776831206194444288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-04 12:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857404160001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:36:09] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 12:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397799931085062144,"km_value":397799931085062.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:36:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776831206194444288,"description":"Unknown IO ID 44"} 
[2026-09-04 12:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857404160001,"power":27876,"unknown_74":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-3776831206194444288}} 
[2026-09-04 12:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":173339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:36:09] local.INFO: GPS data processed {"connection_id":173339,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:36:09] local.INFO: Acknowledgment sent {"connection_id":173339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:36:27] local.INFO: TCP Data received {"connection_id":172047,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3c3ce8012d18168007219c08004e01632b..."} 
[2026-09-04 12:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3c3ce8012d18168007219c08004e01632b..."} 
[2026-09-04 12:36:27] local.INFO: Processing buffer {"connection_id":172047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3c3ce8012d18168007219c08004e01632b..."} 
[2026-09-04 12:36:27] local.INFO: Packet analysis {"connection_id":172047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:36:27] local.INFO: Extracted packet for processing {"connection_id":172047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756553344,"raw_latitude":119643144,"longitude_deg":75.6553344,"latitude_deg":11.9643144,"altitude":78,"angle":355,"satellites":43,"speed":6,"hex_longitude":"2d181680","hex_latitude":"07219c08","is_valid_coordinates":true} 
[2026-09-04 12:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857408768001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17187101908926464,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735785843259027456,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788505505000,"timestamp_ms":1788505505000,"timestamp_seconds":1788505505,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3c3ce8"} 
[2026-09-04 12:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 12:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857408768001,"66":13993,"120":206,"28":31744,"24":6,"16":17187101908926464,"45":1735785843259027456},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857408768001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:36:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:36:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17187101908926464,"km_value":17187101908926.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735785843259027456,"description":"Unknown IO ID 45"} 
[2026-09-04 12:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857408768001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1735785843259027456}} 
[2026-09-04 12:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":172047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:36:27] local.INFO: GPS data processed {"connection_id":172047,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:36:27] local.INFO: Acknowledgment sent {"connection_id":172047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:36:28] local.INFO: TCP Data received {"connection_id":173338,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:36:28] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:36:28] local.INFO: Packet analysis {"connection_id":173338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:36:28] local.INFO: Extracted packet for processing {"connection_id":173338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:36:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857278208001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788505294000,"timestamp_ms":1788505294000,"timestamp_seconds":1788505294,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3904b0"} 
[2026-09-04 12:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 12:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857278208001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857278208001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:36:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:36:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857278208001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":173338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:36:28] local.INFO: GPS data processed {"connection_id":173338,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:36:28] local.INFO: Acknowledgment sent {"connection_id":173338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:36:42] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3cfc50012ccb2bc0074afe20000b013d30..."} 
[2026-09-04 12:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3cfc50012ccb2bc0074afe20000b013d30..."} 
[2026-09-04 12:36:42] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3cfc50012ccb2bc0074afe20000b013d30..."} 
[2026-09-04 12:36:42] local.INFO: Packet analysis {"connection_id":173339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:36:42] local.INFO: Extracted packet for processing {"connection_id":173339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:36:42] local.INFO: GPS Element Parsed {"raw_longitude":751512512,"raw_latitude":122355232,"longitude_deg":75.1512512,"latitude_deg":12.2355232,"altitude":11,"angle":317,"satellites":48,"speed":44,"hex_longitude":"2ccb2bc0","hex_latitude":"074afe20","is_valid_coordinates":true} 
[2026-09-04 12:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857420288001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397802928972234752,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3801319529155596288,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788505554000,"timestamp_ms":1788505554000,"timestamp_seconds":1788505554,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3cfc50"} 
[2026-09-04 12:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 12:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857420288001,"66":27908,"74":206,"85":37632,"24":44,"16":397802928972234752,"44":-3801319529155596288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-04 12:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857420288001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:36:42] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 12:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397802928972234752,"km_value":397802928972234.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:36:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3801319529155596288,"description":"Unknown IO ID 44"} 
[2026-09-04 12:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857420288001,"power":27908,"unknown_74":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3801319529155596288}} 
[2026-09-04 12:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":173339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:36:42] local.INFO: GPS data processed {"connection_id":173339,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:36:42] local.INFO: Acknowledgment sent {"connection_id":173339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:36:49] local.INFO: TCP Data received {"connection_id":170635,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:36:49] local.INFO: Processing buffer {"connection_id":170635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:36:49] local.INFO: IMEI packet received {"connection_id":170635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":170635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:36:53] local.INFO: TCP Data received {"connection_id":170939,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:36:53] local.INFO: Processing buffer {"connection_id":170939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:36:53] local.INFO: IMEI packet received {"connection_id":170939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":170939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:36:54] local.INFO: TCP Data received {"connection_id":170635,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:36:54] local.INFO: Processing buffer {"connection_id":170635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:36:54] local.INFO: IMEI packet received {"connection_id":170635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":170635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:36:55] local.INFO: TCP Data received {"connection_id":170635,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:36:55] local.INFO: Processing buffer {"connection_id":170635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3904b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:36:55] local.INFO: Packet analysis {"connection_id":170635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:36:55] local.INFO: Extracted packet for processing {"connection_id":170635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b39"} 
[2026-09-04 12:36:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857278208001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788505294000,"timestamp_ms":1788505294000,"timestamp_seconds":1788505294,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3904b0"} 
[2026-09-04 12:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 12:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857278208001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857278208001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:36:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857278208001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":170635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762249,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:36:55] local.INFO: GPS data processed {"connection_id":170635,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:36:55] local.INFO: Acknowledgment sent {"connection_id":170635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:36:58] local.INFO: TCP Data received {"connection_id":173340,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:36:58] local.INFO: Processing buffer {"connection_id":173340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:36:58] local.INFO: IMEI packet received {"connection_id":173340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":173340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:36:58] local.INFO: TCP Data received {"connection_id":170939,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:36:58] local.INFO: Processing buffer {"connection_id":170939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:36:58] local.INFO: IMEI packet received {"connection_id":170939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":170939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:36:59] local.INFO: TCP Data received {"connection_id":173340,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:36:59] local.INFO: Processing buffer {"connection_id":173340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:36:59] local.INFO: IMEI packet received {"connection_id":173340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":173340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:37:00] local.INFO: TCP Data received {"connection_id":170939,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3c40d0012d18168007219cc8004f00122b..."} 
[2026-09-04 12:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3c40d0012d18168007219cc8004f00122b..."} 
[2026-09-04 12:37:00] local.INFO: Processing buffer {"connection_id":170939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3c40d0012d18168007219cc8004f00122b..."} 
[2026-09-04 12:37:00] local.INFO: Packet analysis {"connection_id":170939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:37:00] local.INFO: Extracted packet for processing {"connection_id":170939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756553344,"raw_latitude":119643336,"longitude_deg":75.6553344,"latitude_deg":11.9643336,"altitude":79,"angle":18,"satellites":43,"speed":9,"hex_longitude":"2d181680","hex_latitude":"07219cc8","is_valid_coordinates":true} 
[2026-09-04 12:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857409280001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17187110498861056,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735715474514905088,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788505506000,"timestamp_ms":1788505506000,"timestamp_seconds":1788505506,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3c40d0"} 
[2026-09-04 12:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 12:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857409280001,"66":13993,"120":206,"28":31744,"24":9,"16":17187110498861056,"45":1735715474514905088},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857409280001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:37:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:37:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17187110498861056,"km_value":17187110498861.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735715474514905088,"description":"Unknown IO ID 45"} 
[2026-09-04 12:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857409280001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1735715474514905088}} 
[2026-09-04 12:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":170939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:37:00] local.INFO: GPS data processed {"connection_id":170939,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:37:00] local.INFO: Acknowledgment sent {"connection_id":170939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:37:01] local.INFO: TCP Data received {"connection_id":170939,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3c44b8012d1816c007219db8004f00202b..."} 
[2026-09-04 12:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3c44b8012d1816c007219db8004f00202b..."} 
[2026-09-04 12:37:01] local.INFO: Processing buffer {"connection_id":170939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3c44b8012d1816c007219db8004f00202b..."} 
[2026-09-04 12:37:01] local.INFO: Packet analysis {"connection_id":170939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:37:01] local.INFO: Extracted packet for processing {"connection_id":170939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756553408,"raw_latitude":119643576,"longitude_deg":75.6553408,"latitude_deg":11.9643576,"altitude":79,"angle":32,"satellites":43,"speed":11,"hex_longitude":"2d1816c0","hex_latitude":"07219db8","is_valid_coordinates":true} 
[2026-09-04 12:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857409536001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17187123383762944,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735715474514954240,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788505507000,"timestamp_ms":1788505507000,"timestamp_seconds":1788505507,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3c44b8"} 
[2026-09-04 12:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 12:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857409536001,"66":13972,"120":206,"28":31744,"24":11,"16":17187123383762944,"45":1735715474514954240},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857409536001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:37:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:37:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17187123383762944,"km_value":17187123383762.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735715474514954240,"description":"Unknown IO ID 45"} 
[2026-09-04 12:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857409536001,"power":13972,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1735715474514954240}} 
[2026-09-04 12:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":170939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:37:01] local.INFO: GPS data processed {"connection_id":170939,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:37:01] local.INFO: Acknowledgment sent {"connection_id":170939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:37:04] local.INFO: TCP Data received {"connection_id":173340,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:37:04] local.INFO: Processing buffer {"connection_id":173340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:37:04] local.INFO: IMEI packet received {"connection_id":173340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":173340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:37:05] local.INFO: TCP Data received {"connection_id":173340,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d0808012ccb2400074b07d0000d014930..."} 
[2026-09-04 12:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d0808012ccb2400074b07d0000d014930..."} 
[2026-09-04 12:37:05] local.INFO: Processing buffer {"connection_id":173340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d0808012ccb2400074b07d0000d014930..."} 
[2026-09-04 12:37:05] local.INFO: Packet analysis {"connection_id":173340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:37:05] local.INFO: Extracted packet for processing {"connection_id":173340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:37:05] local.INFO: GPS Element Parsed {"raw_longitude":751510528,"raw_latitude":122357712,"longitude_deg":75.1510528,"latitude_deg":12.2357712,"altitude":13,"angle":329,"satellites":48,"speed":39,"hex_longitude":"2ccb2400","hex_latitude":"074b07d0","is_valid_coordinates":true} 
[2026-09-04 12:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857421824001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397803079296090112,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3806737922456150016,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788505557000,"timestamp_ms":1788505557000,"timestamp_seconds":1788505557,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d0808"} 
[2026-09-04 12:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 12:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857421824001,"66":27919,"74":206,"85":37632,"24":39,"16":397803079296090112,"44":-3806737922456150016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-04 12:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857421824001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:37:05] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 12:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397803079296090112,"km_value":397803079296090.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:37:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3806737922456150016,"description":"Unknown IO ID 44"} 
[2026-09-04 12:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857421824001,"power":27919,"unknown_74":206,"unknown_85":37632,"ignition":39,"odometer":null,"unknown_44":-3806737922456150016}} 
[2026-09-04 12:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":173340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:37:05] local.INFO: GPS data processed {"connection_id":173340,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:37:05] local.INFO: Acknowledgment sent {"connection_id":173340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:37:27] local.INFO: TCP Data received {"connection_id":170635,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:37:27] local.INFO: Processing buffer {"connection_id":170635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:37:27] local.INFO: Packet analysis {"connection_id":170635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:37:27] local.INFO: Extracted packet for processing {"connection_id":170635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:37:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857355264001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788505595000,"timestamp_ms":1788505595000,"timestamp_seconds":1788505595,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d9c78"} 
[2026-09-04 12:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857355264001,"66":25647,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857355264001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:37:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:37:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857355264001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":170635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762253,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:37:27] local.INFO: GPS data processed {"connection_id":170635,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:37:27] local.INFO: Acknowledgment sent {"connection_id":170635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:37:33] local.INFO: TCP Data received {"connection_id":170939,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3c96c0012d1822c00721b188004e001f2b..."} 
[2026-09-04 12:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3c96c0012d1822c00721b188004e001f2b..."} 
[2026-09-04 12:37:33] local.INFO: Processing buffer {"connection_id":170939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3c96c0012d1822c00721b188004e001f2b..."} 
[2026-09-04 12:37:33] local.INFO: Packet analysis {"connection_id":170939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:37:33] local.INFO: Extracted packet for processing {"connection_id":170939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119648648,"longitude_deg":75.655648,"latitude_deg":11.9648648,"altitude":78,"angle":31,"satellites":43,"speed":11,"hex_longitude":"2d1822c0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-09-04 12:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857409792001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17187411146571776,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735785843259193344,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788505528000,"timestamp_ms":1788505528000,"timestamp_seconds":1788505528,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3c96c0"} 
[2026-09-04 12:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-04 12:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":170939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":170939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":170939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857409792001,"66":14211,"120":206,"28":31744,"24":11,"16":17187411146571776,"45":1735785843259193344},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857409792001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:37:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:37:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17187411146571776,"km_value":17187411146571.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735785843259193344,"description":"Unknown IO ID 45"} 
[2026-09-04 12:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857409792001,"power":14211,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1735785843259193344}} 
[2026-09-04 12:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":170939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:37:33] local.INFO: GPS data processed {"connection_id":170939,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:37:33] local.INFO: Acknowledgment sent {"connection_id":170939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:37:36] local.INFO: TCP Data received {"connection_id":173340,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d0fd8012ccb20c0074b0ec0000e01552f..."} 
[2026-09-04 12:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d0fd8012ccb20c0074b0ec0000e01552f..."} 
[2026-09-04 12:37:36] local.INFO: Processing buffer {"connection_id":173340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d0fd8012ccb20c0074b0ec0000e01552f..."} 
[2026-09-04 12:37:36] local.INFO: Packet analysis {"connection_id":173340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:37:36] local.INFO: Extracted packet for processing {"connection_id":173340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:37:36] local.INFO: GPS Element Parsed {"raw_longitude":751509696,"raw_latitude":122359488,"longitude_deg":75.1509696,"latitude_deg":12.2359488,"altitude":14,"angle":341,"satellites":47,"speed":37,"hex_longitude":"2ccb20c0","hex_latitude":"074b0ec0","is_valid_coordinates":true} 
[2026-09-04 12:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857422592001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397803173785370624,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3808919353525022720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788505559000,"timestamp_ms":1788505559000,"timestamp_seconds":1788505559,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d0fd8"} 
[2026-09-04 12:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 12:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857422592001,"66":27821,"74":206,"85":37632,"24":37,"16":397803173785370624,"44":-3808919353525022720},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-04 12:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857422592001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:37:36] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 12:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397803173785370624,"km_value":397803173785370.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:37:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3808919353525022720,"description":"Unknown IO ID 44"} 
[2026-09-04 12:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857422592001,"power":27821,"unknown_74":206,"unknown_85":37632,"ignition":37,"odometer":null,"unknown_44":-3808919353525022720}} 
[2026-09-04 12:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":173340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:37:36] local.INFO: GPS data processed {"connection_id":173340,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:37:36] local.INFO: Acknowledgment sent {"connection_id":173340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:37:49] local.INFO: TCP Data received {"connection_id":173341,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:37:49] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:37:49] local.INFO: IMEI packet received {"connection_id":173341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":173341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:37:53] local.INFO: TCP Data received {"connection_id":173341,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:37:53] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:37:53] local.INFO: IMEI packet received {"connection_id":173341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":173341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:37:54] local.INFO: TCP Data received {"connection_id":173342,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:37:54] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:37:54] local.INFO: IMEI packet received {"connection_id":173342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":173342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:37:54] local.INFO: TCP Data received {"connection_id":173341,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3cb9e8012d1827c00721b9e0004e00062c..."} 
[2026-09-04 12:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3cb9e8012d1827c00721b9e0004e00062c..."} 
[2026-09-04 12:37:54] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3cb9e8012d1827c00721b9e0004e00062c..."} 
[2026-09-04 12:37:54] local.INFO: Packet analysis {"connection_id":173341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:37:54] local.INFO: Extracted packet for processing {"connection_id":173341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:37:54] local.INFO: GPS Element Parsed {"raw_longitude":756557760,"raw_latitude":119650784,"longitude_deg":75.655776,"latitude_deg":11.9650784,"altitude":78,"angle":6,"satellites":44,"speed":8,"hex_longitude":"2d1827c0","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-09-04 12:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857415168001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17187531405656064,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981019648,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788505537000,"timestamp_ms":1788505537000,"timestamp_seconds":1788505537,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3cb9e8"} 
[2026-09-04 12:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 12:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857415168001,"66":14080,"120":206,"28":31744,"24":8,"16":17187531405656064,"45":1739163542981019648},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857415168001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:37:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:37:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17187531405656064,"km_value":17187531405656.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981019648,"description":"Unknown IO ID 45"} 
[2026-09-04 12:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857415168001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1739163542981019648}} 
[2026-09-04 12:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":173341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:37:55] local.INFO: GPS data processed {"connection_id":173341,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:37:55] local.INFO: Acknowledgment sent {"connection_id":173341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:37:56] local.INFO: TCP Data received {"connection_id":173341,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3cbdd0012d1827800721ba98004e01502d..."} 
[2026-09-04 12:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3cbdd0012d1827800721ba98004e01502d..."} 
[2026-09-04 12:37:56] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3cbdd0012d1827800721ba98004e01502d..."} 
[2026-09-04 12:37:56] local.INFO: Packet analysis {"connection_id":173341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:37:56] local.INFO: Extracted packet for processing {"connection_id":173341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3c"} 
[2026-09-04 12:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119650968,"longitude_deg":75.6557696,"latitude_deg":11.9650968,"altitude":78,"angle":336,"satellites":45,"speed":6,"hex_longitude":"2d182780","hex_latitude":"0721ba98","is_valid_coordinates":true} 
[2026-09-04 12:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857417472001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17187539995590656,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740570917865119744,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788505538000,"timestamp_ms":1788505538000,"timestamp_seconds":1788505538,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3cbdd0"} 
[2026-09-04 12:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-04 12:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:56] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2617770062,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-04 12:37:56] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3221692827,"note":"Value kept but may cause issues"} 
[2026-09-04 12:37:56] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,15,160,150,45,192,177,78,43,10,66,68,157,79,64,128,1,240,169,107,33,4,113,205,6,53,22,48,239,54,2,61,7,76],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-04 12:37:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620499121007230976,"timestamp_seconds":5620499121007231.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 12:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857417472001,"66":14080,"120":206,"28":31744,"24":6,"16":17187539995590656,"45":1740570917865119744},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857417472001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:37:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:37:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17187539995590656,"km_value":17187539995590.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740570917865119744,"description":"Unknown IO ID 45"} 
[2026-09-04 12:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857417472001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1740570917865119744}} 
[2026-09-04 12:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":173341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:37:56] local.INFO: GPS data processed {"connection_id":173341,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:37:56] local.INFO: Acknowledgment sent {"connection_id":173341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:37:57] local.INFO: TCP Data received {"connection_id":172048,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:37:57] local.INFO: Processing buffer {"connection_id":172048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:37:57] local.INFO: IMEI packet received {"connection_id":172048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":172048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:37:59] local.INFO: TCP Data received {"connection_id":173342,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:37:59] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:37:59] local.INFO: IMEI packet received {"connection_id":173342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":173342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:38:00] local.INFO: TCP Data received {"connection_id":172048,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:38:00] local.INFO: Processing buffer {"connection_id":172048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:38:00] local.INFO: IMEI packet received {"connection_id":172048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":172048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:38:01] local.INFO: TCP Data received {"connection_id":173342,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:38:01] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:38:01] local.INFO: Packet analysis {"connection_id":173342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:38:01] local.INFO: Extracted packet for processing {"connection_id":173342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:38:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857355264001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788505595000,"timestamp_ms":1788505595000,"timestamp_seconds":1788505595,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d9c78"} 
[2026-09-04 12:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857355264001,"66":25647,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857355264001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:38:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:38:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857355264001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":173342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:38:01] local.INFO: GPS data processed {"connection_id":173342,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:38:01] local.INFO: Acknowledgment sent {"connection_id":173342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:38:03] local.INFO: TCP Data received {"connection_id":172048,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:38:03] local.INFO: Processing buffer {"connection_id":172048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:38:03] local.INFO: IMEI packet received {"connection_id":172048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":172048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:38:04] local.INFO: TCP Data received {"connection_id":172048,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d3ad0012ccb1780074b32a80010015c31..."} 
[2026-09-04 12:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d3ad0012ccb1780074b32a80010015c31..."} 
[2026-09-04 12:38:04] local.INFO: Processing buffer {"connection_id":172048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d3ad0012ccb1780074b32a80010015c31..."} 
[2026-09-04 12:38:04] local.INFO: Packet analysis {"connection_id":172048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:38:04] local.INFO: Extracted packet for processing {"connection_id":172048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:38:04] local.INFO: GPS Element Parsed {"raw_longitude":751507328,"raw_latitude":122368680,"longitude_deg":75.1507328,"latitude_deg":12.236868,"altitude":16,"angle":348,"satellites":49,"speed":36,"hex_longitude":"2ccb1780","hex_latitude":"074b32a8","is_valid_coordinates":true} 
[2026-09-04 12:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857423104001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397803637641838592,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3809834147198877696,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 12:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788505570000,"timestamp_ms":1788505570000,"timestamp_seconds":1788505570,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d3ad0"} 
[2026-09-04 12:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 12:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857423104001,"66":27669,"16":397803637641838592,"85":37632,"24":36,"44":-3809834147198877696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,44]} 
[2026-09-04 12:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857423104001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397803637641838592,"km_value":397803637641838.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:38:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3809834147198877696,"description":"Unknown IO ID 44"} 
[2026-09-04 12:38:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457857423104001,"power":27669,"odometer":null,"unknown_85":37632,"ignition":36,"unknown_44":-3809834147198877696}} 
[2026-09-04 12:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":172048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:38:04] local.INFO: GPS data processed {"connection_id":172048,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:38:04] local.INFO: Acknowledgment sent {"connection_id":172048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:38:05] local.INFO: TCP Data received {"connection_id":173342,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:38:05] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:38:05] local.INFO: Packet analysis {"connection_id":173342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:38:05] local.INFO: Extracted packet for processing {"connection_id":173342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857355264001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788505595000,"timestamp_ms":1788505595000,"timestamp_seconds":1788505595,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d9c78"} 
[2026-09-04 12:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857355264001,"66":25647,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857355264001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:38:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857355264001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":173342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762260,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:38:05] local.INFO: GPS data processed {"connection_id":173342,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:38:05] local.INFO: Acknowledgment sent {"connection_id":173342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:38:27] local.INFO: TCP Data received {"connection_id":173341,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d0fd8012d1827400721bb70004e01502d..."} 
[2026-09-04 12:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d0fd8012d1827400721bb70004e01502d..."} 
[2026-09-04 12:38:27] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d0fd8012d1827400721bb70004e01502d..."} 
[2026-09-04 12:38:27] local.INFO: Packet analysis {"connection_id":173341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:38:27] local.INFO: Extracted packet for processing {"connection_id":173341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119651184,"longitude_deg":75.6557632,"latitude_deg":11.9651184,"altitude":78,"angle":336,"satellites":45,"speed":0,"hex_longitude":"2d182740","hex_latitude":"0721bb70","is_valid_coordinates":true} 
[2026-09-04 12:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857417728001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17187552880492544,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549120989184,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788505559000,"timestamp_ms":1788505559000,"timestamp_seconds":1788505559,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d0fd8"} 
[2026-09-04 12:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-04 12:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:27] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:27] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2630352975,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-04 12:38:27] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:27] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2147951004,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:27] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:27] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,15,160,185,45,192,78,44,10,66,150,177,43,68,1,240,148,107,33,4,113,205,9,60,22,8,239,54,2,61,7],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-04 12:38:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620861964139233280,"timestamp_seconds":5620861964139233.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 12:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857417728001,"66":14004,"120":206,"28":31744,"24":0,"16":17187552880492544,"45":1740500549120989184},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857417728001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:38:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:38:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17187552880492544,"km_value":17187552880492.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549120989184,"description":"Unknown IO ID 45"} 
[2026-09-04 12:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857417728001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740500549120989184}} 
[2026-09-04 12:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":173341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:38:28] local.INFO: GPS data processed {"connection_id":173341,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:38:28] local.INFO: Acknowledgment sent {"connection_id":173341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:38:35] local.INFO: TCP Data received {"connection_id":172048,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3e86d8012cca5500074c1fe0001601112e..."} 
[2026-09-04 12:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3e86d8012cca5500074c1fe0001601112e..."} 
[2026-09-04 12:38:35] local.INFO: Processing buffer {"connection_id":172048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3e86d8012cca5500074c1fe0001601112e..."} 
[2026-09-04 12:38:35] local.INFO: Packet analysis {"connection_id":172048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3e"} 
[2026-09-04 12:38:35] local.INFO: Extracted packet for processing {"connection_id":172048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3e"} 
[2026-09-04 12:38:35] local.INFO: GPS Element Parsed {"raw_longitude":751457536,"raw_latitude":122429408,"longitude_deg":75.1457536,"latitude_deg":12.2429408,"altitude":22,"angle":273,"satellites":46,"speed":41,"hex_longitude":"2cca5500","hex_latitude":"074c1fe0","is_valid_coordinates":true} 
[2026-09-04 12:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857445120001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397807812350050304,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3856136780850061312,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788505655000,"timestamp_ms":1788505655000,"timestamp_seconds":1788505655,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3e86d8"} 
[2026-09-04 12:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 12:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857445120001,"66":28017,"159":206,"85":37632,"24":41,"16":397807812350050304,"44":-3856136780850061312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 12:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857445120001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:38:35] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 12:38:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397807812350050304,"km_value":397807812350050.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:38:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3856136780850061312,"description":"Unknown IO ID 44"} 
[2026-09-04 12:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857445120001,"power":28017,"unknown_159":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-3856136780850061312}} 
[2026-09-04 12:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":172048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:38:35] local.INFO: GPS data processed {"connection_id":172048,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:38:35] local.INFO: Acknowledgment sent {"connection_id":172048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:38:49] local.INFO: TCP Data received {"connection_id":172049,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:38:49] local.INFO: Processing buffer {"connection_id":172049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:38:49] local.INFO: IMEI packet received {"connection_id":172049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":172049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:38:50] local.INFO: TCP Data received {"connection_id":172050,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:38:50] local.INFO: Processing buffer {"connection_id":172050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:38:50] local.INFO: IMEI packet received {"connection_id":172050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":172050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:38:53] local.INFO: TCP Data received {"connection_id":172049,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:38:53] local.INFO: Processing buffer {"connection_id":172049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:38:53] local.INFO: IMEI packet received {"connection_id":172049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":172049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:38:54] local.INFO: TCP Data received {"connection_id":172050,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:38:54] local.INFO: Processing buffer {"connection_id":172050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:38:54] local.INFO: IMEI packet received {"connection_id":172050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":172050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:38:55] local.INFO: TCP Data received {"connection_id":172049,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d61e0012d1827400721bb70004e01502c..."} 
[2026-09-04 12:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d61e0012d1827400721bb70004e01502c..."} 
[2026-09-04 12:38:55] local.INFO: Processing buffer {"connection_id":172049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d61e0012d1827400721bb70004e01502c..."} 
[2026-09-04 12:38:55] local.INFO: Packet analysis {"connection_id":172049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:38:55] local.INFO: Extracted packet for processing {"connection_id":172049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119651184,"longitude_deg":75.6557632,"latitude_deg":11.9651184,"altitude":78,"angle":336,"satellites":44,"speed":0,"hex_longitude":"2d182740","hex_latitude":"0721bb70","is_valid_coordinates":true} 
[2026-09-04 12:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857423104001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17187552880492544,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180376866816,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788505580000,"timestamp_ms":1788505580000,"timestamp_seconds":1788505580,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d61e0"} 
[2026-09-04 12:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-04 12:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857423104001,"66":13961,"120":206,"28":31744,"24":0,"16":17187552880492544,"45":1740430180376866816},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857423104001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:38:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17187552880492544,"km_value":17187552880492.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180376866816,"description":"Unknown IO ID 45"} 
[2026-09-04 12:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857423104001,"power":13961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740430180376866816}} 
[2026-09-04 12:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":172049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:38:55] local.INFO: GPS data processed {"connection_id":172049,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:38:55] local.INFO: Acknowledgment sent {"connection_id":172049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:38:56] local.INFO: TCP Data received {"connection_id":172050,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:38:56] local.INFO: Processing buffer {"connection_id":172050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:38:56] local.INFO: Packet analysis {"connection_id":172050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:38:56] local.INFO: Extracted packet for processing {"connection_id":172050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:38:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857355264001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788505595000,"timestamp_ms":1788505595000,"timestamp_seconds":1788505595,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d9c78"} 
[2026-09-04 12:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857355264001,"66":25647,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857355264001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:38:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:38:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857355264001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":172050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762264,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:38:56] local.INFO: GPS data processed {"connection_id":172050,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:38:56] local.INFO: Acknowledgment sent {"connection_id":172050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:39:02] local.INFO: TCP Data received {"connection_id":170940,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:39:02] local.INFO: Processing buffer {"connection_id":170940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:39:02] local.INFO: IMEI packet received {"connection_id":170940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":170940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:39:04] local.INFO: TCP Data received {"connection_id":170940,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:39:04] local.INFO: Processing buffer {"connection_id":170940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:39:04] local.INFO: IMEI packet received {"connection_id":170940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":170940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:39:09] local.INFO: TCP Data received {"connection_id":170940,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:39:09] local.INFO: Processing buffer {"connection_id":170940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:39:09] local.INFO: IMEI packet received {"connection_id":170940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":170940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:39:10] local.INFO: TCP Data received {"connection_id":170940,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3eaa00012cca2d40074c2288001601122f..."} 
[2026-09-04 12:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3eaa00012cca2d40074c2288001601122f..."} 
[2026-09-04 12:39:10] local.INFO: Processing buffer {"connection_id":170940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3eaa00012cca2d40074c2288001601122f..."} 
[2026-09-04 12:39:10] local.INFO: Packet analysis {"connection_id":170940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3e"} 
[2026-09-04 12:39:10] local.INFO: Extracted packet for processing {"connection_id":170940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3e"} 
[2026-09-04 12:39:10] local.INFO: GPS Element Parsed {"raw_longitude":751447360,"raw_latitude":122430088,"longitude_deg":75.144736,"latitude_deg":12.2430088,"altitude":22,"angle":274,"satellites":47,"speed":47,"hex_longitude":"2cca2d40","hex_latitude":"074c2288","is_valid_coordinates":true} 
[2026-09-04 12:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857447680001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397808293386387456,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3867184673685774336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788505664000,"timestamp_ms":1788505664000,"timestamp_seconds":1788505664,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3eaa00"} 
[2026-09-04 12:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 12:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857447680001,"66":27974,"159":206,"85":37632,"24":47,"16":397808293386387456,"44":-3867184673685774336},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 12:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857447680001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:39:10] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 12:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397808293386387456,"km_value":397808293386387.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3867184673685774336,"description":"Unknown IO ID 44"} 
[2026-09-04 12:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857447680001,"power":27974,"unknown_159":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3867184673685774336}} 
[2026-09-04 12:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":170940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:39:10] local.INFO: GPS data processed {"connection_id":170940,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:39:10] local.INFO: Acknowledgment sent {"connection_id":170940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:39:11] local.INFO: TCP Data received {"connection_id":170940,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3ec170012cca0fc0074c27b00015011e2f..."} 
[2026-09-04 12:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3ec170012cca0fc0074c27b00015011e2f..."} 
[2026-09-04 12:39:11] local.INFO: Processing buffer {"connection_id":170940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3ec170012cca0fc0074c27b00015011e2f..."} 
[2026-09-04 12:39:11] local.INFO: Packet analysis {"connection_id":170940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3e"} 
[2026-09-04 12:39:11] local.INFO: Extracted packet for processing {"connection_id":170940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3e"} 
[2026-09-04 12:39:11] local.INFO: GPS Element Parsed {"raw_longitude":751439808,"raw_latitude":122431408,"longitude_deg":75.1439808,"latitude_deg":12.2431408,"altitude":21,"angle":286,"satellites":47,"speed":52,"hex_longitude":"2cca0fc0","hex_latitude":"074c27b0","is_valid_coordinates":true} 
[2026-09-04 12:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857449984001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397808658458607616,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3878373304009848832,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788505670000,"timestamp_ms":1788505670000,"timestamp_seconds":1788505670,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3ec170"} 
[2026-09-04 12:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 12:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857449984001,"66":27908,"159":206,"85":37632,"24":52,"16":397808658458607616,"44":-3878373304009848832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 12:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857449984001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:39:11] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 12:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397808658458607616,"km_value":397808658458607.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:39:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3878373304009848832,"description":"Unknown IO ID 44"} 
[2026-09-04 12:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857449984001,"power":27908,"unknown_159":206,"unknown_85":37632,"ignition":52,"odometer":null,"unknown_44":-3878373304009848832}} 
[2026-09-04 12:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":170940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:39:11] local.INFO: GPS data processed {"connection_id":170940,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:39:11] local.INFO: Acknowledgment sent {"connection_id":170940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:39:26] local.INFO: TCP Data received {"connection_id":172049,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3db3e8012d1827400721baa8004b01502c..."} 
[2026-09-04 12:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3db3e8012d1827400721baa8004b01502c..."} 
[2026-09-04 12:39:26] local.INFO: Processing buffer {"connection_id":172049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3db3e8012d1827400721baa8004b01502c..."} 
[2026-09-04 12:39:26] local.INFO: Packet analysis {"connection_id":172049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:39:26] local.INFO: Extracted packet for processing {"connection_id":172049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:39:26] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119650984,"longitude_deg":75.6557632,"latitude_deg":11.9650984,"altitude":75,"angle":336,"satellites":44,"speed":1,"hex_longitude":"2d182740","hex_latitude":"0721baa8","is_valid_coordinates":true} 
[2026-09-04 12:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857428480001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17187561470427136,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180376866816,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788505601000,"timestamp_ms":1788505601000,"timestamp_seconds":1788505601,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3db3e8"} 
[2026-09-04 12:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-04 12:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857428480001,"66":13972,"120":206,"28":31744,"24":1,"16":17187561470427136,"45":1740430180376866816},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 12:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857428480001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:39:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 12:39:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17187561470427136,"km_value":17187561470427.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180376866816,"description":"Unknown IO ID 45"} 
[2026-09-04 12:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857428480001,"power":13972,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1740430180376866816}} 
[2026-09-04 12:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":172049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:39:26] local.INFO: GPS data processed {"connection_id":172049,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:39:26] local.INFO: Acknowledgment sent {"connection_id":172049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:39:28] local.INFO: TCP Data received {"connection_id":172050,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:39:28] local.INFO: Processing buffer {"connection_id":172050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:39:28] local.INFO: Packet analysis {"connection_id":172050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:39:28] local.INFO: Extracted packet for processing {"connection_id":172050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:39:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857355264001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788505595000,"timestamp_ms":1788505595000,"timestamp_seconds":1788505595,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d9c78"} 
[2026-09-04 12:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857355264001,"66":25647,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857355264001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:39:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:39:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857355264001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":172050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762268,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:39:28] local.INFO: GPS data processed {"connection_id":172050,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:39:28] local.INFO: Acknowledgment sent {"connection_id":172050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:39:42] local.INFO: TCP Data received {"connection_id":170940,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3fb3a0012cc8bf00074c4d800010013b2f..."} 
[2026-09-04 12:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3fb3a0012cc8bf00074c4d800010013b2f..."} 
[2026-09-04 12:39:42] local.INFO: Processing buffer {"connection_id":170940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3fb3a0012cc8bf00074c4d800010013b2f..."} 
[2026-09-04 12:39:42] local.INFO: Packet analysis {"connection_id":170940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3f"} 
[2026-09-04 12:39:42] local.INFO: Extracted packet for processing {"connection_id":170940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3f"} 
[2026-09-04 12:39:42] local.INFO: GPS Element Parsed {"raw_longitude":751353600,"raw_latitude":122441088,"longitude_deg":75.13536,"latitude_deg":12.2441088,"altitude":16,"angle":315,"satellites":47,"speed":57,"hex_longitude":"2cc8bf00","hex_latitude":"074c4d80","is_valid_coordinates":true} 
[2026-09-04 12:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857466112001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397813030735314944,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3975271064740812800,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788505732000,"timestamp_ms":1788505732000,"timestamp_seconds":1788505732,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3fb3a0"} 
[2026-09-04 12:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 12:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857466112001,"66":27919,"88":206,"85":37632,"24":57,"16":397813030735314944,"44":-3975271064740812800},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-04 12:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857466112001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:39:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-04 12:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397813030735314944,"km_value":397813030735314.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3975271064740812800,"description":"Unknown IO ID 44"} 
[2026-09-04 12:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857466112001,"power":27919,"unknown_88":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-3975271064740812800}} 
[2026-09-04 12:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":170940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:39:42] local.INFO: GPS data processed {"connection_id":170940,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:39:42] local.INFO: Acknowledgment sent {"connection_id":170940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:39:46] local.INFO: TCP Data received {"connection_id":170941,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:39:46] local.INFO: Processing buffer {"connection_id":170941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:39:46] local.INFO: IMEI packet received {"connection_id":170941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":170941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:39:48] local.INFO: TCP Data received {"connection_id":170941,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:39:48] local.INFO: Processing buffer {"connection_id":170941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:39:48] local.INFO: IMEI packet received {"connection_id":170941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":170941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:39:49] local.INFO: TCP Data received {"connection_id":173343,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:39:49] local.INFO: Processing buffer {"connection_id":173343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:39:49] local.INFO: IMEI packet received {"connection_id":173343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":173343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:39:54] local.INFO: TCP Data received {"connection_id":170941,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:39:54] local.INFO: Processing buffer {"connection_id":170941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:39:54] local.INFO: IMEI packet received {"connection_id":170941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":170941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:39:54] local.INFO: TCP Data received {"connection_id":173343,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:39:54] local.INFO: Processing buffer {"connection_id":173343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:39:54] local.INFO: IMEI packet received {"connection_id":173343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":173343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:39:55] local.INFO: TCP Data received {"connection_id":170941,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3fa400012d18660007218238004e006327..."} 
[2026-09-04 12:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3fa400012d18660007218238004e006327..."} 
[2026-09-04 12:39:55] local.INFO: Processing buffer {"connection_id":170941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3fa400012d18660007218238004e006327..."} 
[2026-09-04 12:39:55] local.INFO: Packet analysis {"connection_id":170941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3f"} 
[2026-09-04 12:39:55] local.INFO: Extracted packet for processing {"connection_id":170941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3f"} 
[2026-09-04 12:39:55] local.INFO: GPS Element Parsed {"raw_longitude":756573696,"raw_latitude":119636536,"longitude_deg":75.6573696,"latitude_deg":11.9636536,"altitude":78,"angle":99,"satellites":39,"speed":40,"hex_longitude":"2d186600","hex_latitude":"07218238","is_valid_coordinates":true} 
[2026-09-04 12:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857465600001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17188824190812160,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754855772929796096,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788505728000,"timestamp_ms":1788505728000,"timestamp_seconds":1788505728,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3fa400"} 
[2026-09-04 12:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-04 12:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857465600001,"66":12993,"121":206,"28":31744,"24":40,"16":17188824190812160,"45":1754855772929796096},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857465600001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:39:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:39:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17188824190812160,"km_value":17188824190812.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754855772929796096,"description":"Unknown IO ID 45"} 
[2026-09-04 12:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857465600001,"power":12993,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1754855772929796096}} 
[2026-09-04 12:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":170941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:39:55] local.INFO: GPS data processed {"connection_id":170941,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:39:55] local.INFO: Acknowledgment sent {"connection_id":170941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:39:56] local.INFO: TCP Data received {"connection_id":173343,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:39:56] local.INFO: Processing buffer {"connection_id":173343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:39:56] local.INFO: Packet analysis {"connection_id":173343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:39:56] local.INFO: Extracted packet for processing {"connection_id":173343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:39:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857355264001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788505595000,"timestamp_ms":1788505595000,"timestamp_seconds":1788505595,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d9c78"} 
[2026-09-04 12:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857355264001,"66":25647,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857355264001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:39:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:39:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857355264001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":173343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:39:56] local.INFO: GPS data processed {"connection_id":173343,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:39:56] local.INFO: Acknowledgment sent {"connection_id":173343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:39:59] local.INFO: TCP Data received {"connection_id":170636,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:39:59] local.INFO: Processing buffer {"connection_id":170636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:39:59] local.INFO: IMEI packet received {"connection_id":170636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":170636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:40:01] local.INFO: TCP Data received {"connection_id":170636,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:40:01] local.INFO: Processing buffer {"connection_id":170636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:40:01] local.INFO: IMEI packet received {"connection_id":170636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":170636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:40:02] local.INFO: TCP Data received {"connection_id":170636,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3fc728012cc8ad80074c64300010014930..."} 
[2026-09-04 12:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3fc728012cc8ad80074c64300010014930..."} 
[2026-09-04 12:40:02] local.INFO: Processing buffer {"connection_id":170636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3fc728012cc8ad80074c64300010014930..."} 
[2026-09-04 12:40:02] local.INFO: Packet analysis {"connection_id":170636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3f"} 
[2026-09-04 12:40:02] local.INFO: Extracted packet for processing {"connection_id":170636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3f"} 
[2026-09-04 12:40:02] local.INFO: GPS Element Parsed {"raw_longitude":751349120,"raw_latitude":122446896,"longitude_deg":75.134912,"latitude_deg":12.2446896,"altitude":16,"angle":329,"satellites":48,"speed":59,"hex_longitude":"2cc8ad80","hex_latitude":"074c6430","is_valid_coordinates":true} 
[2026-09-04 12:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857467392001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397813382922633216,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3981463514227310592,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788505737000,"timestamp_ms":1788505737000,"timestamp_seconds":1788505737,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3fc728"} 
[2026-09-04 12:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 12:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":170636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":170636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":170636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857467392001,"66":27800,"88":206,"85":37632,"24":59,"16":397813382922633216,"44":-3981463514227310592},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-04 12:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857467392001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:40:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-04 12:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397813382922633216,"km_value":397813382922633.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:40:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3981463514227310592,"description":"Unknown IO ID 44"} 
[2026-09-04 12:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857467392001,"power":27800,"unknown_88":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3981463514227310592}} 
[2026-09-04 12:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":170636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:40:02] local.INFO: GPS data processed {"connection_id":170636,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:40:02] local.INFO: Acknowledgment sent {"connection_id":170636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:40:27] local.INFO: TCP Data received {"connection_id":170941,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b406750012d18d74007210028003d00982c..."} 
[2026-09-04 12:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b406750012d18d74007210028003d00982c..."} 
[2026-09-04 12:40:27] local.INFO: Processing buffer {"connection_id":170941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b406750012d18d74007210028003d00982c..."} 
[2026-09-04 12:40:27] local.INFO: Packet analysis {"connection_id":170941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b40"} 
[2026-09-04 12:40:27] local.INFO: Extracted packet for processing {"connection_id":170941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b40"} 
[2026-09-04 12:40:27] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119603240,"longitude_deg":75.6602688,"latitude_deg":11.960324,"altitude":61,"angle":152,"satellites":44,"speed":42,"hex_longitude":"2d18d740","hex_latitude":"07210028","is_valid_coordinates":true} 
[2026-09-04 12:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857478400001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17191272322170880,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245103777792,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788505778000,"timestamp_ms":1788505778000,"timestamp_seconds":1788505778,"priority":1,"record_length":96,"hex_timestamp":"000001a06b406750"} 
[2026-09-04 12:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 12:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857478400001,"66":12461,"121":206,"28":31744,"24":42,"16":17191272322170880,"45":1788914245103777792},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857478400001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:40:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:40:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17191272322170880,"km_value":17191272322170.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245103777792,"description":"Unknown IO ID 45"} 
[2026-09-04 12:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857478400001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1788914245103777792}} 
[2026-09-04 12:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":170941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:40:27] local.INFO: GPS data processed {"connection_id":170941,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:40:27] local.INFO: Acknowledgment sent {"connection_id":170941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:40:28] local.INFO: TCP Data received {"connection_id":173343,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:40:28] local.INFO: Processing buffer {"connection_id":173343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:40:28] local.INFO: Packet analysis {"connection_id":173343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:40:28] local.INFO: Extracted packet for processing {"connection_id":173343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:40:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857355264001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788505595000,"timestamp_ms":1788505595000,"timestamp_seconds":1788505595,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d9c78"} 
[2026-09-04 12:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857355264001,"66":25647,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857355264001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:40:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:40:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857355264001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":173343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762274,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:40:28] local.INFO: GPS data processed {"connection_id":173343,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:40:28] local.INFO: Acknowledgment sent {"connection_id":173343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:40:36] local.INFO: TCP Data received {"connection_id":170636,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3fde98012cc89e80074c8458000f015230..."} 
[2026-09-04 12:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3fde98012cc89e80074c8458000f015230..."} 
[2026-09-04 12:40:36] local.INFO: Processing buffer {"connection_id":170636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3fde98012cc89e80074c8458000f015230..."} 
[2026-09-04 12:40:36] local.INFO: Packet analysis {"connection_id":170636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3f"} 
[2026-09-04 12:40:36] local.INFO: Extracted packet for processing {"connection_id":170636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3f"} 
[2026-09-04 12:40:36] local.INFO: GPS Element Parsed {"raw_longitude":751345280,"raw_latitude":122455128,"longitude_deg":75.134528,"latitude_deg":12.2455128,"altitude":15,"angle":338,"satellites":48,"speed":60,"hex_longitude":"2cc89e80","hex_latitude":"074c8458","is_valid_coordinates":true} 
[2026-09-04 12:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857468672001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397813821009297408,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3986389326318260224,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788505743000,"timestamp_ms":1788505743000,"timestamp_seconds":1788505743,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3fde98"} 
[2026-09-04 12:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 12:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857468672001,"66":27865,"88":206,"85":37632,"24":60,"16":397813821009297408,"44":-3986389326318260224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-04 12:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857468672001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:40:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-04 12:40:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397813821009297408,"km_value":397813821009297.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:40:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3986389326318260224,"description":"Unknown IO ID 44"} 
[2026-09-04 12:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857468672001,"power":27865,"unknown_88":206,"unknown_85":37632,"ignition":60,"odometer":null,"unknown_44":-3986389326318260224}} 
[2026-09-04 12:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":170636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:40:36] local.INFO: GPS data processed {"connection_id":170636,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:40:36] local.INFO: Acknowledgment sent {"connection_id":170636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:40:47] local.INFO: TCP Data received {"connection_id":170637,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:40:47] local.INFO: Processing buffer {"connection_id":170637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:40:47] local.INFO: IMEI packet received {"connection_id":170637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":170637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:40:48] local.INFO: TCP Data received {"connection_id":170637,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:40:48] local.INFO: Processing buffer {"connection_id":170637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:40:48] local.INFO: IMEI packet received {"connection_id":170637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":170637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:40:49] local.INFO: TCP Data received {"connection_id":170942,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:40:49] local.INFO: Processing buffer {"connection_id":170942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:40:49] local.INFO: IMEI packet received {"connection_id":170942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":170942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:40:50] local.INFO: TCP Data received {"connection_id":170637,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:40:50] local.INFO: Processing buffer {"connection_id":170637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:40:50] local.INFO: IMEI packet received {"connection_id":170637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":170637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:40:54] local.INFO: TCP Data received {"connection_id":170637,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:40:54] local.INFO: Processing buffer {"connection_id":170637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:40:54] local.INFO: IMEI packet received {"connection_id":170637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":170637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:40:55] local.INFO: TCP Data received {"connection_id":170942,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:40:55] local.INFO: Processing buffer {"connection_id":170942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:40:55] local.INFO: IMEI packet received {"connection_id":170942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":170942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:40:55] local.INFO: TCP Data received {"connection_id":170637,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b406f20012d18dcc00720f9a0003d00862a..."} 
[2026-09-04 12:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b406f20012d18dcc00720f9a0003d00862a..."} 
[2026-09-04 12:40:55] local.INFO: Processing buffer {"connection_id":170637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b406f20012d18dcc00720f9a0003d00862a..."} 
[2026-09-04 12:40:55] local.INFO: Packet analysis {"connection_id":170637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b40"} 
[2026-09-04 12:40:55] local.INFO: Extracted packet for processing {"connection_id":170637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b40"} 
[2026-09-04 12:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756604096,"raw_latitude":119601568,"longitude_deg":75.6604096,"latitude_deg":11.9601568,"altitude":61,"angle":134,"satellites":42,"speed":42,"hex_longitude":"2d18dcc0","hex_latitude":"0720f9a0","is_valid_coordinates":true} 
[2026-09-04 12:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857479168001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17191375401385984,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265668608,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788505780000,"timestamp_ms":1788505780000,"timestamp_seconds":1788505780,"priority":1,"record_length":96,"hex_timestamp":"000001a06b406f20"} 
[2026-09-04 12:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 12:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857479168001,"66":12385,"121":206,"28":31744,"24":42,"16":17191375401385984,"45":1789969776265668608},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857479168001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:40:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:40:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17191375401385984,"km_value":17191375401385.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265668608,"description":"Unknown IO ID 45"} 
[2026-09-04 12:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857479168001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1789969776265668608}} 
[2026-09-04 12:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":170637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:40:55] local.INFO: GPS data processed {"connection_id":170637,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:40:55] local.INFO: Acknowledgment sent {"connection_id":170637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:40:56] local.INFO: TCP Data received {"connection_id":170942,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:40:56] local.INFO: Processing buffer {"connection_id":170942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:40:56] local.INFO: Packet analysis {"connection_id":170942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:40:56] local.INFO: Extracted packet for processing {"connection_id":170942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:40:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857355264001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788505595000,"timestamp_ms":1788505595000,"timestamp_seconds":1788505595,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d9c78"} 
[2026-09-04 12:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857355264001,"66":25647,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857355264001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:40:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:40:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857355264001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":170942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762277,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:40:56] local.INFO: GPS data processed {"connection_id":170942,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:40:56] local.INFO: Acknowledgment sent {"connection_id":170942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:40:59] local.INFO: TCP Data received {"connection_id":173344,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:40:59] local.INFO: Processing buffer {"connection_id":173344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:40:59] local.INFO: IMEI packet received {"connection_id":173344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":173344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:41:04] local.INFO: TCP Data received {"connection_id":173344,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:41:04] local.INFO: Processing buffer {"connection_id":173344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:41:04] local.INFO: IMEI packet received {"connection_id":173344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":173344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:41:05] local.INFO: TCP Data received {"connection_id":173344,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3ff608012cc890c0074ca4b0000f01512f..."} 
[2026-09-04 12:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3ff608012cc890c0074ca4b0000f01512f..."} 
[2026-09-04 12:41:05] local.INFO: Processing buffer {"connection_id":173344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3ff608012cc890c0074ca4b0000f01512f..."} 
[2026-09-04 12:41:05] local.INFO: Packet analysis {"connection_id":173344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3f"} 
[2026-09-04 12:41:05] local.INFO: Extracted packet for processing {"connection_id":173344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3f"} 
[2026-09-04 12:41:05] local.INFO: GPS Element Parsed {"raw_longitude":751341760,"raw_latitude":122463408,"longitude_deg":75.134176,"latitude_deg":12.2463408,"altitude":15,"angle":337,"satellites":47,"speed":58,"hex_longitude":"2cc890c0","hex_latitude":"074ca4b0","is_valid_coordinates":true} 
[2026-09-04 12:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857470208001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397814254800994304,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3990611450966812672,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788505749000,"timestamp_ms":1788505749000,"timestamp_seconds":1788505749,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3ff608"} 
[2026-09-04 12:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 12:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857470208001,"66":27887,"88":206,"85":37632,"24":58,"16":397814254800994304,"44":-3990611450966812672},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-04 12:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857470208001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:41:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-04 12:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397814254800994304,"km_value":397814254800994.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3990611450966812672,"description":"Unknown IO ID 44"} 
[2026-09-04 12:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857470208001,"power":27887,"unknown_88":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-3990611450966812672}} 
[2026-09-04 12:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":173344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:41:05] local.INFO: GPS data processed {"connection_id":173344,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:41:05] local.INFO: Acknowledgment sent {"connection_id":173344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:41:27] local.INFO: TCP Data received {"connection_id":170637,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b416d08012d19bc000720a718002b00932a..."} 
[2026-09-04 12:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b416d08012d19bc000720a718002b00932a..."} 
[2026-09-04 12:41:27] local.INFO: Processing buffer {"connection_id":170637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b416d08012d19bc000720a718002b00932a..."} 
[2026-09-04 12:41:27] local.INFO: Packet analysis {"connection_id":170637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b41"} 
[2026-09-04 12:41:27] local.INFO: Extracted packet for processing {"connection_id":170637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b41"} 
[2026-09-04 12:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119580440,"longitude_deg":75.6661248,"latitude_deg":11.958044,"altitude":43,"angle":147,"satellites":42,"speed":21,"hex_longitude":"2d19bc00","hex_latitude":"0720a718","is_valid_coordinates":true} 
[2026-09-04 12:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857496064001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17194497842610176,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333461624832,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788505845000,"timestamp_ms":1788505845000,"timestamp_seconds":1788505845,"priority":1,"record_length":96,"hex_timestamp":"000001a06b416d08"} 
[2026-09-04 12:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 12:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857496064001,"66":14298,"121":206,"28":31744,"24":21,"16":17194497842610176,"45":1854005333461624832},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857496064001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:41:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:41:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17194497842610176,"km_value":17194497842610.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333461624832,"description":"Unknown IO ID 45"} 
[2026-09-04 12:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857496064001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1854005333461624832}} 
[2026-09-04 12:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":170637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:41:27] local.INFO: GPS data processed {"connection_id":170637,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:41:27] local.INFO: Acknowledgment sent {"connection_id":170637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:41:28] local.INFO: TCP Data received {"connection_id":170942,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:41:28] local.INFO: Processing buffer {"connection_id":170942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:41:28] local.INFO: Packet analysis {"connection_id":170942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:41:28] local.INFO: Extracted packet for processing {"connection_id":170942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:41:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857355264001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788505595000,"timestamp_ms":1788505595000,"timestamp_seconds":1788505595,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d9c78"} 
[2026-09-04 12:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857355264001,"66":25647,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857355264001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:41:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:41:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857355264001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":170942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:41:28] local.INFO: GPS data processed {"connection_id":170942,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:41:28] local.INFO: Acknowledgment sent {"connection_id":170942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:41:36] local.INFO: TCP Data received {"connection_id":173344,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b418478012cc775c0074d3568000b005030..."} 
[2026-09-04 12:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b418478012cc775c0074d3568000b005030..."} 
[2026-09-04 12:41:36] local.INFO: Processing buffer {"connection_id":173344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b418478012cc775c0074d3568000b005030..."} 
[2026-09-04 12:41:36] local.INFO: Packet analysis {"connection_id":173344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b41"} 
[2026-09-04 12:41:36] local.INFO: Extracted packet for processing {"connection_id":173344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b41"} 
[2026-09-04 12:41:36] local.INFO: GPS Element Parsed {"raw_longitude":751269312,"raw_latitude":122500456,"longitude_deg":75.1269312,"latitude_deg":12.2500456,"altitude":11,"angle":80,"satellites":48,"speed":9,"hex_longitude":"2cc775c0","hex_latitude":"074d3568","is_valid_coordinates":true} 
[2026-09-04 12:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857497600001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397818721566982144,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4074420625270820864,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788505851000,"timestamp_ms":1788505851000,"timestamp_seconds":1788505851,"priority":1,"record_length":96,"hex_timestamp":"000001a06b418478"} 
[2026-09-04 12:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-04 12:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857497600001,"66":27604,"88":206,"85":37632,"24":9,"16":397818721566982144,"44":-4074420625270820864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-04 12:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857497600001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:41:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-04 12:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397818721566982144,"km_value":397818721566982.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:41:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4074420625270820864,"description":"Unknown IO ID 44"} 
[2026-09-04 12:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857497600001,"power":27604,"unknown_88":206,"unknown_85":37632,"ignition":9,"odometer":null,"unknown_44":-4074420625270820864}} 
[2026-09-04 12:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":173344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:41:36] local.INFO: GPS data processed {"connection_id":173344,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:41:36] local.INFO: Acknowledgment sent {"connection_id":173344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:41:48] local.INFO: TCP Data received {"connection_id":170638,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:41:48] local.INFO: Processing buffer {"connection_id":170638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:41:48] local.INFO: IMEI packet received {"connection_id":170638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":170638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:41:53] local.INFO: TCP Data received {"connection_id":170638,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:41:53] local.INFO: Processing buffer {"connection_id":170638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:41:53] local.INFO: IMEI packet received {"connection_id":170638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":170638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:41:54] local.INFO: TCP Data received {"connection_id":172051,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172051,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:41:54] local.INFO: Processing buffer {"connection_id":172051,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:41:54] local.INFO: IMEI packet received {"connection_id":172051,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":172051,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:41:55] local.INFO: TCP Data received {"connection_id":170638,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4170f0012d19bc800720a510002b00a02a..."} 
[2026-09-04 12:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4170f0012d19bc800720a510002b00a02a..."} 
[2026-09-04 12:41:55] local.INFO: Processing buffer {"connection_id":170638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4170f0012d19bc800720a510002b00a02a..."} 
[2026-09-04 12:41:55] local.INFO: Packet analysis {"connection_id":170638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b41"} 
[2026-09-04 12:41:55] local.INFO: Extracted packet for processing {"connection_id":170638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b41"} 
[2026-09-04 12:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119579920,"longitude_deg":75.6661376,"latitude_deg":11.957992,"altitude":43,"angle":160,"satellites":42,"speed":21,"hex_longitude":"2d19bc80","hex_latitude":"0720a510","is_valid_coordinates":true} 
[2026-09-04 12:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857496320001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17194523612413952,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182394368,"note":"Value kept but may cause issues"} 
[2026-09-04 12:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788505846000,"timestamp_ms":1788505846000,"timestamp_seconds":1788505846,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4170f0"} 
[2026-09-04 12:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 12:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857496320001,"66":14298,"121":206,"28":31744,"24":21,"16":17194523612413952,"45":1854357177182394368},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857496320001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:41:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17194523612413952,"km_value":17194523612413.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182394368,"description":"Unknown IO ID 45"} 
[2026-09-04 12:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857496320001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1854357177182394368}} 
[2026-09-04 12:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":170638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:41:55] local.INFO: GPS data processed {"connection_id":170638,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:41:55] local.INFO: Acknowledgment sent {"connection_id":170638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:41:58] local.INFO: TCP Data received {"connection_id":173345,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:41:58] local.INFO: Processing buffer {"connection_id":173345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:41:58] local.INFO: IMEI packet received {"connection_id":173345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":173345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:41:59] local.INFO: TCP Data received {"connection_id":172051,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172051,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:41:59] local.INFO: Processing buffer {"connection_id":172051,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:41:59] local.INFO: IMEI packet received {"connection_id":172051,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":172051,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:42:01] local.INFO: TCP Data received {"connection_id":172051,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:42:01] local.INFO: Processing buffer {"connection_id":172051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:42:01] local.INFO: Packet analysis {"connection_id":172051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:42:01] local.INFO: Extracted packet for processing {"connection_id":172051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:42:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857355264001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788505595000,"timestamp_ms":1788505595000,"timestamp_seconds":1788505595,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d9c78"} 
[2026-09-04 12:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172051,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172051,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857355264001,"66":25647,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857355264001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:42:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:42:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857355264001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":172051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762283,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:42:01] local.INFO: GPS data processed {"connection_id":172051,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:42:01] local.INFO: Acknowledgment sent {"connection_id":172051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:42:03] local.INFO: TCP Data received {"connection_id":173345,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 12:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173345,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 12:42:03] local.INFO: Processing buffer {"connection_id":173345,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 12:42:03] local.INFO: IMEI packet received {"connection_id":173345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":173345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:42:04] local.INFO: TCP Data received {"connection_id":173345,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:42:04] local.INFO: Processing buffer {"connection_id":173345,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 12:42:04] local.INFO: IMEI packet received {"connection_id":173345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":173345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:42:05] local.INFO: TCP Data received {"connection_id":173345,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b418860012cc77700074d3570000b005e31..."} 
[2026-09-04 12:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b418860012cc77700074d3570000b005e31..."} 
[2026-09-04 12:42:05] local.INFO: Processing buffer {"connection_id":173345,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06b..."} 
[2026-09-04 12:42:05] local.INFO: IMEI packet received {"connection_id":173345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":173345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:42:05] local.INFO: TCP Data received {"connection_id":172051,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:42:05] local.INFO: Processing buffer {"connection_id":172051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b3d9c78012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:42:05] local.INFO: Packet analysis {"connection_id":172051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:42:05] local.INFO: Extracted packet for processing {"connection_id":172051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b3d"} 
[2026-09-04 12:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857355264001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788505595000,"timestamp_ms":1788505595000,"timestamp_seconds":1788505595,"priority":1,"record_length":96,"hex_timestamp":"000001a06b3d9c78"} 
[2026-09-04 12:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172051,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172051,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857355264001,"66":25647,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857355264001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:42:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857355264001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":172051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:42:06] local.INFO: GPS data processed {"connection_id":172051,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:42:06] local.INFO: Acknowledgment sent {"connection_id":172051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:42:10] local.INFO: TCP Data received {"connection_id":173345,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b418c48012cc777c0074d3530000c006b30..."} 
[2026-09-04 12:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b418c48012cc777c0074d3530000c006b30..."} 
[2026-09-04 12:42:10] local.INFO: Processing buffer {"connection_id":173345,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06b418860012cc77700074d3570000b005e31..."} 
[2026-09-04 12:42:10] local.INFO: Packet analysis {"connection_id":173345,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06b41"} 
[2026-09-04 12:42:10] local.INFO: Extracted packet for processing {"connection_id":173345,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b41"} 
[2026-09-04 12:42:10] local.INFO: GPS Element Parsed {"raw_longitude":751269632,"raw_latitude":122500464,"longitude_deg":75.1269632,"latitude_deg":12.2500464,"altitude":11,"angle":94,"satellites":49,"speed":9,"hex_longitude":"2cc77700","hex_latitude":"074d3570","is_valid_coordinates":true} 
[2026-09-04 12:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857497856001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397818734451884032,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4074139150294095872,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788505852000,"timestamp_ms":1788505852000,"timestamp_seconds":1788505852,"priority":1,"record_length":96,"hex_timestamp":"000001a06b418860"} 
[2026-09-04 12:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-04 12:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857497856001,"66":27767,"88":206,"85":37632,"24":9,"16":397818734451884032,"44":-4074139150294095872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-04 12:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857497856001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:42:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-04 12:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397818734451884032,"km_value":397818734451884.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4074139150294095872,"description":"Unknown IO ID 44"} 
[2026-09-04 12:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857497856001,"power":27767,"unknown_88":206,"unknown_85":37632,"ignition":9,"odometer":null,"unknown_44":-4074139150294095872}} 
[2026-09-04 12:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":173345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:42:10] local.INFO: GPS data processed {"connection_id":173345,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:42:10] local.INFO: Acknowledgment sent {"connection_id":173345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:42:10] local.INFO: Packet analysis {"connection_id":173345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b41"} 
[2026-09-04 12:42:10] local.INFO: Extracted packet for processing {"connection_id":173345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b41"} 
[2026-09-04 12:42:10] local.INFO: GPS Element Parsed {"raw_longitude":751269824,"raw_latitude":122500400,"longitude_deg":75.1269824,"latitude_deg":12.25004,"altitude":12,"angle":107,"satellites":48,"speed":9,"hex_longitude":"2cc777c0","hex_latitude":"074d3530","is_valid_coordinates":true} 
[2026-09-04 12:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857498112001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397818747336785920,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4073787306573205504,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788505853000,"timestamp_ms":1788505853000,"timestamp_seconds":1788505853,"priority":1,"record_length":96,"hex_timestamp":"000001a06b418c48"} 
[2026-09-04 12:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857498112001,"66":27767,"88":206,"85":37632,"24":9,"16":397818747336785920,"44":-4073787306573205504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-04 12:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857498112001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:42:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-04 12:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397818747336785920,"km_value":397818747336785.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4073787306573205504,"description":"Unknown IO ID 44"} 
[2026-09-04 12:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857498112001,"power":27767,"unknown_88":206,"unknown_85":37632,"ignition":9,"odometer":null,"unknown_44":-4073787306573205504}} 
[2026-09-04 12:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":173345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:42:10] local.INFO: GPS data processed {"connection_id":173345,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:42:10] local.INFO: Acknowledgment sent {"connection_id":173345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:42:26] local.INFO: TCP Data received {"connection_id":170638,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4218e8012d19cd80072018c8002b009429..."} 
[2026-09-04 12:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4218e8012d19cd80072018c8002b009429..."} 
[2026-09-04 12:42:26] local.INFO: Processing buffer {"connection_id":170638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4218e8012d19cd80072018c8002b009429..."} 
[2026-09-04 12:42:26] local.INFO: Packet analysis {"connection_id":170638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:42:26] local.INFO: Extracted packet for processing {"connection_id":170638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:42:26] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544008,"longitude_deg":75.6665728,"latitude_deg":11.9544008,"altitude":43,"angle":148,"satellites":41,"speed":26,"hex_longitude":"2d19cd80","hex_latitude":"072018c8","is_valid_coordinates":true} 
[2026-09-04 12:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857504768001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17196383333253120,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855694183314325504,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788505889000,"timestamp_ms":1788505889000,"timestamp_seconds":1788505889,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4218e8"} 
[2026-09-04 12:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 12:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857504768001,"66":14341,"121":206,"28":31744,"24":26,"16":17196383333253120,"45":1855694183314325504},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857504768001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:42:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:42:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17196383333253120,"km_value":17196383333253.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855694183314325504,"description":"Unknown IO ID 45"} 
[2026-09-04 12:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857504768001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1855694183314325504}} 
[2026-09-04 12:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":170638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:42:27] local.INFO: GPS data processed {"connection_id":170638,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:42:27] local.INFO: Acknowledgment sent {"connection_id":170638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:42:41] local.INFO: TCP Data received {"connection_id":173345,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b41ab88012cc78140074d32b0000d005f2f..."} 
[2026-09-04 12:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b41ab88012cc78140074d32b0000d005f2f..."} 
[2026-09-04 12:42:41] local.INFO: Processing buffer {"connection_id":173345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b41ab88012cc78140074d32b0000d005f2f..."} 
[2026-09-04 12:42:41] local.INFO: Packet analysis {"connection_id":173345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b41"} 
[2026-09-04 12:42:41] local.INFO: Extracted packet for processing {"connection_id":173345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b41"} 
[2026-09-04 12:42:41] local.INFO: GPS Element Parsed {"raw_longitude":751272256,"raw_latitude":122499760,"longitude_deg":75.1272256,"latitude_deg":12.249976,"altitude":13,"angle":95,"satellites":47,"speed":13,"hex_longitude":"2cc78140","hex_latitude":"074d32b0","is_valid_coordinates":true} 
[2026-09-04 12:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857498368001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397818867595870208,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4073576200340688896,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788505861000,"timestamp_ms":1788505861000,"timestamp_seconds":1788505861,"priority":1,"record_length":96,"hex_timestamp":"000001a06b41ab88"} 
[2026-09-04 12:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857498368001,"66":27919,"88":206,"85":37632,"24":13,"16":397818867595870208,"44":-4073576200340688896},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-04 12:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857498368001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:42:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-04 12:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397818867595870208,"km_value":397818867595870.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4073576200340688896,"description":"Unknown IO ID 44"} 
[2026-09-04 12:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857498368001,"power":27919,"unknown_88":206,"unknown_85":37632,"ignition":13,"odometer":null,"unknown_44":-4073576200340688896}} 
[2026-09-04 12:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":173345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:42:41] local.INFO: GPS data processed {"connection_id":173345,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:42:41] local.INFO: Acknowledgment sent {"connection_id":173345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:42:48] local.INFO: TCP Data received {"connection_id":172052,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:42:48] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:42:48] local.INFO: IMEI packet received {"connection_id":172052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":172052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:42:49] local.INFO: TCP Data received {"connection_id":170943,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:42:49] local.INFO: Processing buffer {"connection_id":170943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:42:49] local.INFO: IMEI packet received {"connection_id":170943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":170943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:42:52] local.INFO: TCP Data received {"connection_id":172052,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:42:52] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:42:52] local.INFO: IMEI packet received {"connection_id":172052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":172052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:42:53] local.INFO: TCP Data received {"connection_id":172052,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:42:53] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:42:53] local.INFO: IMEI packet received {"connection_id":172052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":172052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:42:54] local.INFO: TCP Data received {"connection_id":170943,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:42:54] local.INFO: Processing buffer {"connection_id":170943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:42:54] local.INFO: IMEI packet received {"connection_id":170943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":170943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:42:56] local.INFO: TCP Data received {"connection_id":172052,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4224a0012d19d28007201310002c00852a..."} 
[2026-09-04 12:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4224a0012d19d28007201310002c00852a..."} 
[2026-09-04 12:42:56] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4224a0012d19d28007201310002c00852a..."} 
[2026-09-04 12:42:56] local.INFO: Packet analysis {"connection_id":172052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:42:56] local.INFO: Extracted packet for processing {"connection_id":172052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:42:56] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119542544,"longitude_deg":75.6667008,"latitude_deg":11.9542544,"altitude":44,"angle":133,"satellites":42,"speed":24,"hex_longitude":"2d19d280","hex_latitude":"07201310","is_valid_coordinates":true} 
[2026-09-04 12:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857507584001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17196477822533632,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265504256,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788505892000,"timestamp_ms":1788505892000,"timestamp_seconds":1788505892,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4224a0"} 
[2026-09-04 12:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 12:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986350992,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:56] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503861999960064,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 12:42:56] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:56] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3221692552,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:56] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758149095,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:56] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84752207400345746,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:56] local.WARNING: Large IO value detected {"io_id":128,"raw_value":12104279418478592,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:56] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,160,237,45,192,53,41,43,10,66,23,226,62,42,191,1,240,180,107,32,4,113,205,46,155,174,120,44,239,54,2,61,7,31,206,48,128],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 12:42:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098639447447175168,"timestamp_seconds":3098639447447175.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 12:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857507584001,"66":14341,"121":206,"28":31744,"24":24,"16":17196477822533632,"45":1859282989265504256},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857507584001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:42:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:42:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17196477822533632,"km_value":17196477822533.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265504256,"description":"Unknown IO ID 45"} 
[2026-09-04 12:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857507584001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1859282989265504256}} 
[2026-09-04 12:42:56] local.INFO: TCP Data received {"connection_id":170943,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:42:56] local.INFO: Processing buffer {"connection_id":170943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:42:56] local.INFO: Packet analysis {"connection_id":170943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:42:56] local.INFO: Extracted packet for processing {"connection_id":170943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:42:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857432320001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788505896000,"timestamp_ms":1788505896000,"timestamp_seconds":1788505896,"priority":1,"record_length":96,"hex_timestamp":"000001a06b423440"} 
[2026-09-04 12:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 12:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857432320001,"66":25549,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857432320001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:42:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:42:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857432320001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":172052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:42:56] local.INFO: GPS data processed {"connection_id":172052,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:42:56] local.INFO: Acknowledgment sent {"connection_id":172052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":170943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762290,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:42:56] local.INFO: GPS data processed {"connection_id":170943,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:42:56] local.INFO: Acknowledgment sent {"connection_id":170943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:43:01] local.INFO: TCP Data received {"connection_id":170639,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:43:01] local.INFO: Processing buffer {"connection_id":170639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:43:01] local.INFO: IMEI packet received {"connection_id":170639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":170639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:43:04] local.INFO: TCP Data received {"connection_id":170639,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:43:04] local.INFO: Processing buffer {"connection_id":170639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:43:04] local.INFO: IMEI packet received {"connection_id":170639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":170639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:43:05] local.INFO: TCP Data received {"connection_id":170639,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b41d680012cc79700074d3278000f00542f..."} 
[2026-09-04 12:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b41d680012cc79700074d3278000f00542f..."} 
[2026-09-04 12:43:05] local.INFO: Processing buffer {"connection_id":170639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b41d680012cc79700074d3278000f00542f..."} 
[2026-09-04 12:43:05] local.INFO: Packet analysis {"connection_id":170639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b41"} 
[2026-09-04 12:43:05] local.INFO: Extracted packet for processing {"connection_id":170639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b41"} 
[2026-09-04 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":751277824,"raw_latitude":122499704,"longitude_deg":75.1277824,"latitude_deg":12.2499704,"altitude":15,"angle":84,"satellites":47,"speed":24,"hex_longitude":"2cc79700","hex_latitude":"074d3278","is_valid_coordinates":true} 
[2026-09-04 12:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857500416001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397819129588875264,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4070902188062101504,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788505872000,"timestamp_ms":1788505872000,"timestamp_seconds":1788505872,"priority":1,"record_length":96,"hex_timestamp":"000001a06b41d680"} 
[2026-09-04 12:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 12:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857500416001,"66":27800,"88":206,"85":37632,"24":24,"16":397819129588875264,"44":-4070902188062101504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-04 12:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857500416001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:43:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-04 12:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397819129588875264,"km_value":397819129588875.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:43:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4070902188062101504,"description":"Unknown IO ID 44"} 
[2026-09-04 12:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857500416001,"power":27800,"unknown_88":206,"unknown_85":37632,"ignition":24,"odometer":null,"unknown_44":-4070902188062101504}} 
[2026-09-04 12:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":170639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:43:05] local.INFO: GPS data processed {"connection_id":170639,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:43:05] local.INFO: Acknowledgment sent {"connection_id":170639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:43:27] local.INFO: TCP Data received {"connection_id":172052,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4316d0012d1a7540071fd2780032008929..."} 
[2026-09-04 12:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4316d0012d1a7540071fd2780032008929..."} 
[2026-09-04 12:43:27] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4316d0012d1a7540071fd2780032008929..."} 
[2026-09-04 12:43:27] local.INFO: Packet analysis {"connection_id":172052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b43"} 
[2026-09-04 12:43:27] local.INFO: Extracted packet for processing {"connection_id":172052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b43"} 
[2026-09-04 12:43:27] local.INFO: GPS Element Parsed {"raw_longitude":756708672,"raw_latitude":119526008,"longitude_deg":75.6708672,"latitude_deg":11.9526008,"altitude":50,"angle":137,"satellites":41,"speed":39,"hex_longitude":"2d1a7540","hex_latitude":"071fd278","is_valid_coordinates":true} 
[2026-09-04 12:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857523712001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17198681140756480,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904881935488360448,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788505954000,"timestamp_ms":1788505954000,"timestamp_seconds":1788505954,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4316d0"} 
[2026-09-04 12:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-04 12:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857523712001,"66":14243,"121":206,"28":31744,"24":39,"16":17198681140756480,"45":1904881935488360448},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857523712001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:43:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:43:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17198681140756480,"km_value":17198681140756.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904881935488360448,"description":"Unknown IO ID 45"} 
[2026-09-04 12:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857523712001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1904881935488360448}} 
[2026-09-04 12:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":172052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:43:27] local.INFO: GPS data processed {"connection_id":172052,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:43:27] local.INFO: Acknowledgment sent {"connection_id":172052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:43:28] local.INFO: TCP Data received {"connection_id":170943,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:43:28] local.INFO: Processing buffer {"connection_id":170943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:43:28] local.INFO: Packet analysis {"connection_id":170943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:43:28] local.INFO: Extracted packet for processing {"connection_id":170943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:43:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857432320001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788505896000,"timestamp_ms":1788505896000,"timestamp_seconds":1788505896,"priority":1,"record_length":96,"hex_timestamp":"000001a06b423440"} 
[2026-09-04 12:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 12:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857432320001,"66":25549,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857432320001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:43:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:43:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857432320001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":170943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:43:28] local.INFO: GPS data processed {"connection_id":170943,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:43:28] local.INFO: Acknowledgment sent {"connection_id":170943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:43:37] local.INFO: TCP Data received {"connection_id":170639,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b433de0012cc77a40074deb88000e002d2e..."} 
[2026-09-04 12:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b433de0012cc77a40074deb88000e002d2e..."} 
[2026-09-04 12:43:37] local.INFO: Processing buffer {"connection_id":170639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b433de0012cc77a40074deb88000e002d2e..."} 
[2026-09-04 12:43:37] local.INFO: Packet analysis {"connection_id":170639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b43"} 
[2026-09-04 12:43:37] local.INFO: Extracted packet for processing {"connection_id":170639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b43"} 
[2026-09-04 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":751270464,"raw_latitude":122547080,"longitude_deg":75.1270464,"latitude_deg":12.254708,"altitude":14,"angle":45,"satellites":46,"speed":21,"hex_longitude":"2cc77a40","hex_latitude":"074deb88","is_valid_coordinates":true} 
[2026-09-04 12:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857526528001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397821637849776128,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4073294725352124416,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788505964000,"timestamp_ms":1788505964000,"timestamp_seconds":1788505964,"priority":1,"record_length":96,"hex_timestamp":"000001a06b433de0"} 
[2026-09-04 12:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 12:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857526528001,"66":27843,"48":206,"85":37632,"24":21,"16":397821637849776128,"44":-4073294725352124416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857526528001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:43:37] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397821637849776128,"km_value":397821637849776.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:43:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4073294725352124416,"description":"Unknown IO ID 44"} 
[2026-09-04 12:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857526528001,"power":27843,"unknown_48":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-4073294725352124416}} 
[2026-09-04 12:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":170639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:43:37] local.INFO: GPS data processed {"connection_id":170639,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:43:37] local.INFO: Acknowledgment sent {"connection_id":170639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:43:49] local.INFO: TCP Data received {"connection_id":170944,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:43:49] local.INFO: Processing buffer {"connection_id":170944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:43:49] local.INFO: IMEI packet received {"connection_id":170944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":170944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:43:53] local.INFO: TCP Data received {"connection_id":173346,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:43:53] local.INFO: Processing buffer {"connection_id":173346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:43:53] local.INFO: IMEI packet received {"connection_id":173346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":173346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:43:54] local.INFO: TCP Data received {"connection_id":170944,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:43:54] local.INFO: Processing buffer {"connection_id":170944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:43:54] local.INFO: IMEI packet received {"connection_id":170944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":170944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:43:56] local.INFO: TCP Data received {"connection_id":170944,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:43:56] local.INFO: Processing buffer {"connection_id":170944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:43:56] local.INFO: Packet analysis {"connection_id":170944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:43:56] local.INFO: Extracted packet for processing {"connection_id":170944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:43:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857432320001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788505896000,"timestamp_ms":1788505896000,"timestamp_seconds":1788505896,"priority":1,"record_length":96,"hex_timestamp":"000001a06b423440"} 
[2026-09-04 12:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 12:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857432320001,"66":25549,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857432320001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:43:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:43:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857432320001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":170944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:43:56] local.INFO: GPS data processed {"connection_id":170944,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:43:56] local.INFO: Acknowledgment sent {"connection_id":170944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:43:59] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:43:59] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:43:59] local.INFO: IMEI packet received {"connection_id":173347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":173347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:44:00] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:44:00] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:44:00] local.INFO: IMEI packet received {"connection_id":173347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":173347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:44:05] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:44:05] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:44:05] local.INFO: IMEI packet received {"connection_id":173347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":173347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:44:06] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4341c8012cc77bc0074deca0000e004130..."} 
[2026-09-04 12:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4341c8012cc77bc0074deca0000e004130..."} 
[2026-09-04 12:44:06] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4341c8012cc77bc0074deca0000e004130..."} 
[2026-09-04 12:44:06] local.INFO: Packet analysis {"connection_id":173347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b43"} 
[2026-09-04 12:44:06] local.INFO: Extracted packet for processing {"connection_id":173347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b43"} 
[2026-09-04 12:44:06] local.INFO: GPS Element Parsed {"raw_longitude":751270848,"raw_latitude":122547360,"longitude_deg":75.1270848,"latitude_deg":12.254736,"altitude":14,"angle":65,"satellites":48,"speed":20,"hex_longitude":"2cc77bc0","hex_latitude":"074deca0","is_valid_coordinates":true} 
[2026-09-04 12:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857526784001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397821659324612608,"note":"Value kept but may cause issues"} 
[2026-09-04 12:44:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4072872512886962176,"note":"Value kept but may cause issues"} 
[2026-09-04 12:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788505965000,"timestamp_ms":1788505965000,"timestamp_seconds":1788505965,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4341c8"} 
[2026-09-04 12:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 12:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857526784001,"66":27843,"48":206,"85":37632,"24":20,"16":397821659324612608,"44":-4072872512886962176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857526784001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:44:06] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397821659324612608,"km_value":397821659324612.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:44:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4072872512886962176,"description":"Unknown IO ID 44"} 
[2026-09-04 12:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857526784001,"power":27843,"unknown_48":206,"unknown_85":37632,"ignition":20,"odometer":null,"unknown_44":-4072872512886962176}} 
[2026-09-04 12:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":173347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:44:06] local.INFO: GPS data processed {"connection_id":173347,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:44:06] local.INFO: Acknowledgment sent {"connection_id":173347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:44:08] local.INFO: TCP Data received {"connection_id":173346,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:44:08] local.INFO: Processing buffer {"connection_id":173346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:44:08] local.INFO: IMEI packet received {"connection_id":173346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":173346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:44:09] local.INFO: TCP Data received {"connection_id":173346,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b438fe8012d1ac6c0071f88e0003700bb29..."} 
[2026-09-04 12:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b438fe8012d1ac6c0071f88e0003700bb29..."} 
[2026-09-04 12:44:09] local.INFO: Processing buffer {"connection_id":173346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b438fe8012d1ac6c0071f88e0003700bb29..."} 
[2026-09-04 12:44:09] local.INFO: Packet analysis {"connection_id":173346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b43"} 
[2026-09-04 12:44:09] local.INFO: Extracted packet for processing {"connection_id":173346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b43"} 
[2026-09-04 12:44:09] local.INFO: GPS Element Parsed {"raw_longitude":756729536,"raw_latitude":119507168,"longitude_deg":75.6729536,"latitude_deg":11.9507168,"altitude":55,"angle":187,"satellites":41,"speed":19,"hex_longitude":"2d1ac6c0","hex_latitude":"071f88e0","is_valid_coordinates":true} 
[2026-09-04 12:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857531904001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17200111364866048,"note":"Value kept but may cause issues"} 
[2026-09-04 12:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929440627201345536,"note":"Value kept but may cause issues"} 
[2026-09-04 12:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788505985000,"timestamp_ms":1788505985000,"timestamp_seconds":1788505985,"priority":1,"record_length":96,"hex_timestamp":"000001a06b438fe8"} 
[2026-09-04 12:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 12:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857531904001,"66":14048,"121":206,"28":31744,"24":19,"16":17200111364866048,"45":1929440627201345536},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857531904001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:44:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:44:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17200111364866048,"km_value":17200111364866.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929440627201345536,"description":"Unknown IO ID 45"} 
[2026-09-04 12:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857531904001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1929440627201345536}} 
[2026-09-04 12:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":173346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:44:10] local.INFO: GPS data processed {"connection_id":173346,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:44:10] local.INFO: Acknowledgment sent {"connection_id":173346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:44:28] local.INFO: TCP Data received {"connection_id":170944,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:44:28] local.INFO: Processing buffer {"connection_id":170944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:44:28] local.INFO: Packet analysis {"connection_id":170944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:44:28] local.INFO: Extracted packet for processing {"connection_id":170944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:44:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857432320001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788505896000,"timestamp_ms":1788505896000,"timestamp_seconds":1788505896,"priority":1,"record_length":96,"hex_timestamp":"000001a06b423440"} 
[2026-09-04 12:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 12:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857432320001,"66":25549,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857432320001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:44:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:44:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857432320001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":170944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:44:28] local.INFO: GPS data processed {"connection_id":170944,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:44:28] local.INFO: Acknowledgment sent {"connection_id":170944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:44:37] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b434998012cc77fc0074dedc0000e00522e..."} 
[2026-09-04 12:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b434998012cc77fc0074dedc0000e00522e..."} 
[2026-09-04 12:44:37] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b434998012cc77fc0074dedc0000e00522e..."} 
[2026-09-04 12:44:37] local.INFO: Packet analysis {"connection_id":173347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b43"} 
[2026-09-04 12:44:37] local.INFO: Extracted packet for processing {"connection_id":173347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b43"} 
[2026-09-04 12:44:37] local.INFO: GPS Element Parsed {"raw_longitude":751271872,"raw_latitude":122547648,"longitude_deg":75.1271872,"latitude_deg":12.2547648,"altitude":14,"angle":82,"satellites":46,"speed":20,"hex_longitude":"2cc77fc0","hex_latitude":"074dedc0","is_valid_coordinates":true} 
[2026-09-04 12:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857527040001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397821710864220160,"note":"Value kept but may cause issues"} 
[2026-09-04 12:44:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4072450300421824512,"note":"Value kept but may cause issues"} 
[2026-09-04 12:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788505967000,"timestamp_ms":1788505967000,"timestamp_seconds":1788505967,"priority":1,"record_length":96,"hex_timestamp":"000001a06b434998"} 
[2026-09-04 12:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 12:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857527040001,"66":27865,"48":206,"85":37632,"24":20,"16":397821710864220160,"44":-4072450300421824512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857527040001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:44:37] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397821710864220160,"km_value":397821710864220.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:44:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4072450300421824512,"description":"Unknown IO ID 44"} 
[2026-09-04 12:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857527040001,"power":27865,"unknown_48":206,"unknown_85":37632,"ignition":20,"odometer":null,"unknown_44":-4072450300421824512}} 
[2026-09-04 12:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":173347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:44:37] local.INFO: GPS data processed {"connection_id":173347,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:44:37] local.INFO: Acknowledgment sent {"connection_id":173347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:44:53] local.INFO: TCP Data received {"connection_id":172054,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:44:53] local.INFO: Processing buffer {"connection_id":172054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:44:53] local.INFO: IMEI packet received {"connection_id":172054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":172054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:44:54] local.INFO: TCP Data received {"connection_id":170640,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:44:54] local.INFO: Processing buffer {"connection_id":170640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:44:54] local.INFO: IMEI packet received {"connection_id":170640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":170640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:44:59] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:44:59] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:44:59] local.INFO: IMEI packet received {"connection_id":173348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":173348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:44:59] local.INFO: TCP Data received {"connection_id":170640,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:44:59] local.INFO: Processing buffer {"connection_id":170640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:44:59] local.INFO: IMEI packet received {"connection_id":170640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":170640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:45:00] local.INFO: TCP Data received {"connection_id":172054,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:45:00] local.INFO: Processing buffer {"connection_id":172054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:45:00] local.INFO: IMEI packet received {"connection_id":172054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":172054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:45:00] local.INFO: TCP Data received {"connection_id":170640,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:45:00] local.INFO: Processing buffer {"connection_id":170640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:45:00] local.INFO: Packet analysis {"connection_id":170640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:45:00] local.INFO: Extracted packet for processing {"connection_id":170640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:45:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857432320001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788505896000,"timestamp_ms":1788505896000,"timestamp_seconds":1788505896,"priority":1,"record_length":96,"hex_timestamp":"000001a06b423440"} 
[2026-09-04 12:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 12:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857432320001,"66":25549,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857432320001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:45:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857432320001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":170640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762300,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:45:00] local.INFO: GPS data processed {"connection_id":170640,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:45:00] local.INFO: Acknowledgment sent {"connection_id":170640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:45:04] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:45:04] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:45:04] local.INFO: IMEI packet received {"connection_id":173348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":173348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:45:05] local.INFO: TCP Data received {"connection_id":170640,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:45:05] local.INFO: Processing buffer {"connection_id":170640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:45:05] local.INFO: Packet analysis {"connection_id":170640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:45:05] local.INFO: Extracted packet for processing {"connection_id":170640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857432320001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788505896000,"timestamp_ms":1788505896000,"timestamp_seconds":1788505896,"priority":1,"record_length":96,"hex_timestamp":"000001a06b423440"} 
[2026-09-04 12:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 12:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857432320001,"66":25549,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857432320001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:45:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857432320001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:45:05] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b447e30012cc7fd00074e21c80013014b2e..."} 
[2026-09-04 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b447e30012cc7fd00074e21c80013014b2e..."} 
[2026-09-04 12:45:05] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b447e30012cc7fd00074e21c80013014b2e..."} 
[2026-09-04 12:45:05] local.INFO: Packet analysis {"connection_id":173348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b44"} 
[2026-09-04 12:45:05] local.INFO: Extracted packet for processing {"connection_id":173348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b44"} 
[2026-09-04 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":751303936,"raw_latitude":122560968,"longitude_deg":75.1303936,"latitude_deg":12.2560968,"altitude":19,"angle":331,"satellites":46,"speed":6,"hex_longitude":"2cc7fd00","hex_latitude":"074e21c8","is_valid_coordinates":true} 
[2026-09-04 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857547520001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397823544815255552,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4036069659678529536,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788506046000,"timestamp_ms":1788506046000,"timestamp_seconds":1788506046,"priority":1,"record_length":96,"hex_timestamp":"000001a06b447e30"} 
[2026-09-04 12:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 12:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857547520001,"66":27767,"48":206,"85":37632,"24":6,"16":397823544815255552,"44":-4036069659678529536},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857547520001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:45:05] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397823544815255552,"km_value":397823544815255.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:45:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4036069659678529536,"description":"Unknown IO ID 44"} 
[2026-09-04 12:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857547520001,"power":27767,"unknown_48":206,"unknown_85":37632,"ignition":6,"odometer":null,"unknown_44":-4036069659678529536}} 
[2026-09-04 12:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":173348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:45:05] local.INFO: GPS data processed {"connection_id":173348,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:45:05] local.INFO: Acknowledgment sent {"connection_id":173348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":170640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:45:05] local.INFO: GPS data processed {"connection_id":170640,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:45:05] local.INFO: Acknowledgment sent {"connection_id":170640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:45:05] local.INFO: TCP Data received {"connection_id":172054,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4418a0012d1adec0071f9440003c003e2a..."} 
[2026-09-04 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4418a0012d1adec0071f9440003c003e2a..."} 
[2026-09-04 12:45:05] local.INFO: Processing buffer {"connection_id":172054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4418a0012d1adec0071f9440003c003e2a..."} 
[2026-09-04 12:45:05] local.INFO: Packet analysis {"connection_id":172054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b44"} 
[2026-09-04 12:45:05] local.INFO: Extracted packet for processing {"connection_id":172054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b44"} 
[2026-09-04 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756735680,"raw_latitude":119510080,"longitude_deg":75.673568,"latitude_deg":11.951008,"altitude":60,"angle":62,"satellites":42,"speed":8,"hex_longitude":"2d1adec0","hex_latitude":"071f9440","is_valid_coordinates":true} 
[2026-09-04 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857540864001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17200592401203200,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936055289154625536,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788506020000,"timestamp_ms":1788506020000,"timestamp_seconds":1788506020,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4418a0"} 
[2026-09-04 12:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 12:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857540864001,"66":13102,"121":206,"28":31744,"24":8,"16":17200592401203200,"45":1936055289154625536},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857540864001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:45:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17200592401203200,"km_value":17200592401203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936055289154625536,"description":"Unknown IO ID 45"} 
[2026-09-04 12:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857540864001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1936055289154625536}} 
[2026-09-04 12:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":172054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:45:06] local.INFO: GPS data processed {"connection_id":172054,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:45:06] local.INFO: Acknowledgment sent {"connection_id":172054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:45:10] local.INFO: TCP Data received {"connection_id":170640,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:45:10] local.INFO: Processing buffer {"connection_id":170640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:45:10] local.INFO: Packet analysis {"connection_id":170640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:45:10] local.INFO: Extracted packet for processing {"connection_id":170640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857432320001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788505896000,"timestamp_ms":1788505896000,"timestamp_seconds":1788505896,"priority":1,"record_length":96,"hex_timestamp":"000001a06b423440"} 
[2026-09-04 12:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 12:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857432320001,"66":25549,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857432320001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:45:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:45:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857432320001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":170640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762304,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:45:10] local.INFO: GPS data processed {"connection_id":170640,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:45:10] local.INFO: Acknowledgment sent {"connection_id":170640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:45:36] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4489e8012cc7fbc0074e22f0001401212e..."} 
[2026-09-04 12:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4489e8012cc7fbc0074e22f0001401212e..."} 
[2026-09-04 12:45:36] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4489e8012cc7fbc0074e22f0001401212e..."} 
[2026-09-04 12:45:36] local.INFO: Packet analysis {"connection_id":173348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b44"} 
[2026-09-04 12:45:36] local.INFO: Extracted packet for processing {"connection_id":173348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b44"} 
[2026-09-04 12:45:36] local.INFO: GPS Element Parsed {"raw_longitude":751303616,"raw_latitude":122561264,"longitude_deg":75.1303616,"latitude_deg":12.2561264,"altitude":20,"angle":289,"satellites":46,"speed":5,"hex_longitude":"2cc7fbc0","hex_latitude":"074e22f0","is_valid_coordinates":true} 
[2026-09-04 12:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857547776001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397823566290092032,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4036069659678488576,"note":"Value kept but may cause issues"} 
[2026-09-04 12:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788506049000,"timestamp_ms":1788506049000,"timestamp_seconds":1788506049,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4489e8"} 
[2026-09-04 12:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857547776001,"66":27800,"48":206,"85":37632,"24":5,"16":397823566290092032,"44":-4036069659678488576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857547776001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:45:36] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397823566290092032,"km_value":397823566290092.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:45:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4036069659678488576,"description":"Unknown IO ID 44"} 
[2026-09-04 12:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857547776001,"power":27800,"unknown_48":206,"unknown_85":37632,"ignition":5,"odometer":null,"unknown_44":-4036069659678488576}} 
[2026-09-04 12:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":173348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:45:36] local.INFO: GPS data processed {"connection_id":173348,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:45:36] local.INFO: Acknowledgment sent {"connection_id":173348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:45:48] local.INFO: TCP Data received {"connection_id":173349,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:45:48] local.INFO: Processing buffer {"connection_id":173349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:45:48] local.INFO: IMEI packet received {"connection_id":173349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":173349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:45:49] local.INFO: TCP Data received {"connection_id":172055,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:45:49] local.INFO: Processing buffer {"connection_id":172055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:45:49] local.INFO: IMEI packet received {"connection_id":172055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":172055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:45:54] local.INFO: TCP Data received {"connection_id":173349,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:45:54] local.INFO: Processing buffer {"connection_id":173349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:45:54] local.INFO: IMEI packet received {"connection_id":173349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":173349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:45:54] local.INFO: TCP Data received {"connection_id":172055,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:45:54] local.INFO: Processing buffer {"connection_id":172055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:45:54] local.INFO: IMEI packet received {"connection_id":172055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":172055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:46:03] local.INFO: TCP Data received {"connection_id":172055,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:46:03] local.INFO: Processing buffer {"connection_id":172055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:46:03] local.INFO: Packet analysis {"connection_id":172055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:46:03] local.INFO: Extracted packet for processing {"connection_id":172055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857432320001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788505896000,"timestamp_ms":1788505896000,"timestamp_seconds":1788505896,"priority":1,"record_length":96,"hex_timestamp":"000001a06b423440"} 
[2026-09-04 12:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 12:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172055,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172055,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857432320001,"66":25549,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857432320001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:46:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:46:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857432320001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":172055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:46:03] local.INFO: GPS data processed {"connection_id":172055,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:46:03] local.INFO: Acknowledgment sent {"connection_id":172055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:46:05] local.INFO: TCP Data received {"connection_id":170945,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:46:05] local.INFO: Processing buffer {"connection_id":170945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:46:05] local.INFO: IMEI packet received {"connection_id":170945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":170945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:46:09] local.INFO: TCP Data received {"connection_id":170945,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:46:09] local.INFO: Processing buffer {"connection_id":170945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:46:09] local.INFO: IMEI packet received {"connection_id":170945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":170945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:46:10] local.INFO: TCP Data received {"connection_id":170945,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b454d38012cc7ba00074e10c8001200ab2c..."} 
[2026-09-04 12:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b454d38012cc7ba00074e10c8001200ab2c..."} 
[2026-09-04 12:46:10] local.INFO: Processing buffer {"connection_id":170945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b454d38012cc7ba00074e10c8001200ab2c..."} 
[2026-09-04 12:46:10] local.INFO: Packet analysis {"connection_id":170945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:46:10] local.INFO: Extracted packet for processing {"connection_id":170945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:46:10] local.INFO: GPS Element Parsed {"raw_longitude":751286784,"raw_latitude":122556616,"longitude_deg":75.1286784,"latitude_deg":12.2556616,"altitude":18,"angle":171,"satellites":44,"speed":13,"hex_longitude":"2cc7ba00","hex_latitude":"074e10c8","is_valid_coordinates":true} 
[2026-09-04 12:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857560832001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824455348322304,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054998851863195648,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788506099000,"timestamp_ms":1788506099000,"timestamp_seconds":1788506099,"priority":1,"record_length":96,"hex_timestamp":"000001a06b454d38"} 
[2026-09-04 12:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 12:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857560832001,"66":27908,"48":206,"85":37632,"24":13,"16":397824455348322304,"44":-4054998851863195648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857560832001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:46:10] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824455348322304,"km_value":397824455348322.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054998851863195648,"description":"Unknown IO ID 44"} 
[2026-09-04 12:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857560832001,"power":27908,"unknown_48":206,"unknown_85":37632,"ignition":13,"odometer":null,"unknown_44":-4054998851863195648}} 
[2026-09-04 12:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":170945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:46:10] local.INFO: GPS data processed {"connection_id":170945,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:46:10] local.INFO: Acknowledgment sent {"connection_id":170945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:46:35] local.INFO: TCP Data received {"connection_id":172055,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:46:35] local.INFO: Processing buffer {"connection_id":172055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:46:35] local.INFO: Packet analysis {"connection_id":172055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:46:35] local.INFO: Extracted packet for processing {"connection_id":172055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857432320001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788505896000,"timestamp_ms":1788505896000,"timestamp_seconds":1788505896,"priority":1,"record_length":96,"hex_timestamp":"000001a06b423440"} 
[2026-09-04 12:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 12:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172055,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172055,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857432320001,"66":25549,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857432320001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:46:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:46:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857432320001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":172055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762308,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:46:35] local.INFO: GPS data processed {"connection_id":172055,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:46:35] local.INFO: Acknowledgment sent {"connection_id":172055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:46:41] local.INFO: TCP Data received {"connection_id":170945,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b455508012cc7ba40074e0eb0001100b22c..."} 
[2026-09-04 12:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b455508012cc7ba40074e0eb0001100b22c..."} 
[2026-09-04 12:46:41] local.INFO: Processing buffer {"connection_id":170945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b455508012cc7ba40074e0eb0001100b22c..."} 
[2026-09-04 12:46:41] local.INFO: Packet analysis {"connection_id":170945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:46:41] local.INFO: Extracted packet for processing {"connection_id":170945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:46:41] local.INFO: GPS Element Parsed {"raw_longitude":751286848,"raw_latitude":122556080,"longitude_deg":75.1286848,"latitude_deg":12.255608,"altitude":17,"angle":178,"satellites":44,"speed":8,"hex_longitude":"2cc7ba40","hex_latitude":"074e0eb0","is_valid_coordinates":true} 
[2026-09-04 12:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857561344001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054928483119216640,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788506101000,"timestamp_ms":1788506101000,"timestamp_seconds":1788506101,"priority":1,"record_length":96,"hex_timestamp":"000001a06b455508"} 
[2026-09-04 12:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 12:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857561344001,"66":27767,"48":206,"85":37632,"24":8,"16":397824468233224192,"44":-4054928483119216640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857561344001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:46:41] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054928483119216640,"description":"Unknown IO ID 44"} 
[2026-09-04 12:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857561344001,"power":27767,"unknown_48":206,"unknown_85":37632,"ignition":8,"odometer":null,"unknown_44":-4054928483119216640}} 
[2026-09-04 12:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":170945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:46:41] local.INFO: GPS data processed {"connection_id":170945,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:46:41] local.INFO: Acknowledgment sent {"connection_id":170945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:46:54] local.INFO: TCP Data received {"connection_id":170946,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:46:54] local.INFO: Processing buffer {"connection_id":170946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:46:54] local.INFO: IMEI packet received {"connection_id":170946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":170946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:46:59] local.INFO: TCP Data received {"connection_id":173349,"ip":"117.224.229.141","data_length":795,"data_hex":"000000000000030f8e0a000001a06b441c88012d1adfc0071f9458003d004f2a..."} 
[2026-09-04 12:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b441c88012d1adfc0071f9458003d004f2a..."} 
[2026-09-04 12:46:59] local.INFO: Processing buffer {"connection_id":173349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b441c88012d1adfc0071f9458003d004f2a..."} 
[2026-09-04 12:46:59] local.INFO: Packet analysis {"connection_id":173349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b44"} 
[2026-09-04 12:46:59] local.INFO: Extracted packet for processing {"connection_id":173349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b44"} 
[2026-09-04 12:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756735936,"raw_latitude":119510104,"longitude_deg":75.6735936,"latitude_deg":11.9510104,"altitude":61,"angle":79,"satellites":42,"speed":7,"hex_longitude":"2d1adfc0","hex_latitude":"071f9458","is_valid_coordinates":true} 
[2026-09-04 12:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857541120001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17200605286105088,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936196026643005440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788506021000,"timestamp_ms":1788506021000,"timestamp_seconds":1788506021,"priority":1,"record_length":96,"hex_timestamp":"000001a06b441c88"} 
[2026-09-04 12:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 12:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.229.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857541120001,"66":12548,"121":206,"28":31744,"24":7,"16":17200605286105088,"45":1936196026643005440},"client_ip":"117.224.229.141","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857541120001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:46:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:46:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17200605286105088,"km_value":17200605286105.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936196026643005440,"description":"Unknown IO ID 45"} 
[2026-09-04 12:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857541120001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1936196026643005440}} 
[2026-09-04 12:46:59] local.INFO: TCP Data received {"connection_id":170946,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:46:59] local.INFO: Processing buffer {"connection_id":170946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:46:59] local.INFO: IMEI packet received {"connection_id":170946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":170946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":173349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:46:59] local.INFO: GPS data processed {"connection_id":173349,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:46:59] local.INFO: Acknowledgment sent {"connection_id":173349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:47:01] local.INFO: TCP Data received {"connection_id":170946,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:47:01] local.INFO: Processing buffer {"connection_id":170946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b423440012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:47:01] local.INFO: Packet analysis {"connection_id":170946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:47:01] local.INFO: Extracted packet for processing {"connection_id":170946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b42"} 
[2026-09-04 12:47:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857432320001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788505896000,"timestamp_ms":1788505896000,"timestamp_seconds":1788505896,"priority":1,"record_length":96,"hex_timestamp":"000001a06b423440"} 
[2026-09-04 12:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 12:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857432320001,"66":25549,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857432320001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:47:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:47:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857432320001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":170946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:47:01] local.INFO: GPS data processed {"connection_id":170946,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:47:01] local.INFO: Acknowledgment sent {"connection_id":170946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:47:04] local.INFO: TCP Data received {"connection_id":170641,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:47:04] local.INFO: Processing buffer {"connection_id":170641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:47:04] local.INFO: IMEI packet received {"connection_id":170641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":170641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:47:05] local.INFO: TCP Data received {"connection_id":173350,"ip":"117.224.229.141","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:47:05] local.INFO: Processing buffer {"connection_id":173350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:47:05] local.INFO: IMEI packet received {"connection_id":173350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":173350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:47:09] local.INFO: TCP Data received {"connection_id":170641,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:47:09] local.INFO: Processing buffer {"connection_id":170641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:47:09] local.INFO: IMEI packet received {"connection_id":170641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":170641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:47:10] local.INFO: TCP Data received {"connection_id":170641,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:47:10] local.INFO: Processing buffer {"connection_id":170641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:47:10] local.INFO: Packet analysis {"connection_id":170641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:47:10] local.INFO: Extracted packet for processing {"connection_id":170641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:47:10] local.INFO: GPS Element Parsed {"raw_longitude":751286784,"raw_latitude":122555864,"longitude_deg":75.1286784,"latitude_deg":12.2555864,"altitude":17,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2cc7ba00","hex_latitude":"074e0dd8","is_valid_coordinates":true} 
[2026-09-04 12:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857561856001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054858114375176192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788506102000,"timestamp_ms":1788506102000,"timestamp_seconds":1788506102,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4558f0"} 
[2026-09-04 12:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857561856001,"66":27626,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4054858114375176192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857561856001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:47:10] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054858114375176192,"description":"Unknown IO ID 44"} 
[2026-09-04 12:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857561856001,"power":27626,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054858114375176192}} 
[2026-09-04 12:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":170641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:47:10] local.INFO: GPS data processed {"connection_id":170641,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:47:10] local.INFO: Acknowledgment sent {"connection_id":170641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:47:15] local.INFO: TCP Data received {"connection_id":170641,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:47:15] local.INFO: Processing buffer {"connection_id":170641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:47:15] local.INFO: Packet analysis {"connection_id":170641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:47:15] local.INFO: Extracted packet for processing {"connection_id":170641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:47:15] local.INFO: GPS Element Parsed {"raw_longitude":751286784,"raw_latitude":122555864,"longitude_deg":75.1286784,"latitude_deg":12.2555864,"altitude":17,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2cc7ba00","hex_latitude":"074e0dd8","is_valid_coordinates":true} 
[2026-09-04 12:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857561856001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054858114375176192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788506102000,"timestamp_ms":1788506102000,"timestamp_seconds":1788506102,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4558f0"} 
[2026-09-04 12:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857561856001,"66":27626,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4054858114375176192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857561856001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:47:15] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:47:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054858114375176192,"description":"Unknown IO ID 44"} 
[2026-09-04 12:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857561856001,"power":27626,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054858114375176192}} 
[2026-09-04 12:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":170641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:47:15] local.INFO: GPS data processed {"connection_id":170641,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:47:15] local.INFO: Acknowledgment sent {"connection_id":170641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:47:32] local.INFO: TCP Data received {"connection_id":170946,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:47:32] local.INFO: Processing buffer {"connection_id":170946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:47:32] local.INFO: Packet analysis {"connection_id":170946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:47:32] local.INFO: Extracted packet for processing {"connection_id":170946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:47:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857509376001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788506197000,"timestamp_ms":1788506197000,"timestamp_seconds":1788506197,"priority":1,"record_length":96,"hex_timestamp":"000001a06b46cc08"} 
[2026-09-04 12:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 12:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857509376001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857509376001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:47:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:47:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857509376001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":170946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762314,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:47:32] local.INFO: GPS data processed {"connection_id":170946,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:47:32] local.INFO: Acknowledgment sent {"connection_id":170946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:47:49] local.INFO: TCP Data received {"connection_id":173351,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:47:49] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:47:49] local.INFO: IMEI packet received {"connection_id":173351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":173351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:47:54] local.INFO: TCP Data received {"connection_id":173351,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:47:54] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:47:54] local.INFO: IMEI packet received {"connection_id":173351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":173351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:47:55] local.INFO: TCP Data received {"connection_id":173351,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:47:55] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:47:55] local.INFO: Packet analysis {"connection_id":173351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:47:55] local.INFO: Extracted packet for processing {"connection_id":173351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:47:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857509376001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788506197000,"timestamp_ms":1788506197000,"timestamp_seconds":1788506197,"priority":1,"record_length":96,"hex_timestamp":"000001a06b46cc08"} 
[2026-09-04 12:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 12:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857509376001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857509376001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:47:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:47:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857509376001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":173351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:47:55] local.INFO: GPS data processed {"connection_id":173351,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:47:55] local.INFO: Acknowledgment sent {"connection_id":173351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:48:00] local.INFO: TCP Data received {"connection_id":170947,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:48:00] local.INFO: Processing buffer {"connection_id":170947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:48:00] local.INFO: IMEI packet received {"connection_id":170947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":170947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:48:04] local.INFO: TCP Data received {"connection_id":170947,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:48:04] local.INFO: Processing buffer {"connection_id":170947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:48:04] local.INFO: IMEI packet received {"connection_id":170947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":170947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:48:05] local.INFO: TCP Data received {"connection_id":170947,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:48:05] local.INFO: Processing buffer {"connection_id":170947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:48:05] local.INFO: Packet analysis {"connection_id":170947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:48:05] local.INFO: Extracted packet for processing {"connection_id":170947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:48:05] local.INFO: GPS Element Parsed {"raw_longitude":751286784,"raw_latitude":122555864,"longitude_deg":75.1286784,"latitude_deg":12.2555864,"altitude":17,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2cc7ba00","hex_latitude":"074e0dd8","is_valid_coordinates":true} 
[2026-09-04 12:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857561856001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:48:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054858114375176192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788506102000,"timestamp_ms":1788506102000,"timestamp_seconds":1788506102,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4558f0"} 
[2026-09-04 12:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857561856001,"66":27626,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4054858114375176192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857561856001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:48:05] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:48:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054858114375176192,"description":"Unknown IO ID 44"} 
[2026-09-04 12:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857561856001,"power":27626,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054858114375176192}} 
[2026-09-04 12:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":170947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:48:05] local.INFO: GPS data processed {"connection_id":170947,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:48:05] local.INFO: Acknowledgment sent {"connection_id":170947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:48:27] local.INFO: TCP Data received {"connection_id":173351,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:48:27] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:48:27] local.INFO: Packet analysis {"connection_id":173351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:48:27] local.INFO: Extracted packet for processing {"connection_id":173351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:48:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857509376001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788506197000,"timestamp_ms":1788506197000,"timestamp_seconds":1788506197,"priority":1,"record_length":96,"hex_timestamp":"000001a06b46cc08"} 
[2026-09-04 12:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 12:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857509376001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857509376001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:48:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:48:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857509376001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":173351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762317,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:48:27] local.INFO: GPS data processed {"connection_id":173351,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:48:27] local.INFO: Acknowledgment sent {"connection_id":173351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:48:36] local.INFO: TCP Data received {"connection_id":170947,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:48:36] local.INFO: Processing buffer {"connection_id":170947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:48:36] local.INFO: Packet analysis {"connection_id":170947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:48:36] local.INFO: Extracted packet for processing {"connection_id":170947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":751286784,"raw_latitude":122555864,"longitude_deg":75.1286784,"latitude_deg":12.2555864,"altitude":17,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2cc7ba00","hex_latitude":"074e0dd8","is_valid_coordinates":true} 
[2026-09-04 12:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857561856001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:48:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054858114375176192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788506102000,"timestamp_ms":1788506102000,"timestamp_seconds":1788506102,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4558f0"} 
[2026-09-04 12:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857561856001,"66":27626,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4054858114375176192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857561856001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:48:36] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:48:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054858114375176192,"description":"Unknown IO ID 44"} 
[2026-09-04 12:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857561856001,"power":27626,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054858114375176192}} 
[2026-09-04 12:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":170947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:48:36] local.INFO: GPS data processed {"connection_id":170947,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:48:36] local.INFO: Acknowledgment sent {"connection_id":170947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:48:54] local.INFO: TCP Data received {"connection_id":170642,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:48:54] local.INFO: Processing buffer {"connection_id":170642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:48:54] local.INFO: IMEI packet received {"connection_id":170642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":170642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:48:59] local.INFO: TCP Data received {"connection_id":170948,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:48:59] local.INFO: Processing buffer {"connection_id":170948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:48:59] local.INFO: IMEI packet received {"connection_id":170948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":170948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:48:59] local.INFO: TCP Data received {"connection_id":170642,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:48:59] local.INFO: Processing buffer {"connection_id":170642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:48:59] local.INFO: IMEI packet received {"connection_id":170642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":170642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:49:01] local.INFO: TCP Data received {"connection_id":170642,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:49:01] local.INFO: Processing buffer {"connection_id":170642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:49:01] local.INFO: Packet analysis {"connection_id":170642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:49:01] local.INFO: Extracted packet for processing {"connection_id":170642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:49:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857509376001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788506197000,"timestamp_ms":1788506197000,"timestamp_seconds":1788506197,"priority":1,"record_length":96,"hex_timestamp":"000001a06b46cc08"} 
[2026-09-04 12:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 12:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857509376001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857509376001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:49:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:49:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857509376001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":170642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:49:01] local.INFO: GPS data processed {"connection_id":170642,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:49:01] local.INFO: Acknowledgment sent {"connection_id":170642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:49:04] local.INFO: TCP Data received {"connection_id":170948,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:49:04] local.INFO: Processing buffer {"connection_id":170948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:49:04] local.INFO: IMEI packet received {"connection_id":170948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":170948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:49:05] local.INFO: TCP Data received {"connection_id":170948,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:49:05] local.INFO: Processing buffer {"connection_id":170948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:49:05] local.INFO: Packet analysis {"connection_id":170948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:49:05] local.INFO: Extracted packet for processing {"connection_id":170948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:49:05] local.INFO: GPS Element Parsed {"raw_longitude":751286784,"raw_latitude":122555864,"longitude_deg":75.1286784,"latitude_deg":12.2555864,"altitude":17,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2cc7ba00","hex_latitude":"074e0dd8","is_valid_coordinates":true} 
[2026-09-04 12:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857561856001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054858114375176192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788506102000,"timestamp_ms":1788506102000,"timestamp_seconds":1788506102,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4558f0"} 
[2026-09-04 12:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857561856001,"66":27626,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4054858114375176192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857561856001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:49:05] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:49:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:49:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054858114375176192,"description":"Unknown IO ID 44"} 
[2026-09-04 12:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857561856001,"power":27626,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054858114375176192}} 
[2026-09-04 12:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":170948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:49:05] local.INFO: GPS data processed {"connection_id":170948,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:49:05] local.INFO: Acknowledgment sent {"connection_id":170948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:49:05] local.INFO: TCP Data received {"connection_id":170642,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:49:05] local.INFO: Processing buffer {"connection_id":170642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:49:05] local.INFO: Packet analysis {"connection_id":170642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:49:05] local.INFO: Extracted packet for processing {"connection_id":170642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857509376001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788506197000,"timestamp_ms":1788506197000,"timestamp_seconds":1788506197,"priority":1,"record_length":96,"hex_timestamp":"000001a06b46cc08"} 
[2026-09-04 12:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 12:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857509376001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857509376001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:49:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857509376001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":170642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:49:06] local.INFO: GPS data processed {"connection_id":170642,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:49:06] local.INFO: Acknowledgment sent {"connection_id":170642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:49:36] local.INFO: TCP Data received {"connection_id":170948,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:49:36] local.INFO: Processing buffer {"connection_id":170948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:49:36] local.INFO: Packet analysis {"connection_id":170948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:49:36] local.INFO: Extracted packet for processing {"connection_id":170948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:49:36] local.INFO: GPS Element Parsed {"raw_longitude":751286784,"raw_latitude":122555864,"longitude_deg":75.1286784,"latitude_deg":12.2555864,"altitude":17,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2cc7ba00","hex_latitude":"074e0dd8","is_valid_coordinates":true} 
[2026-09-04 12:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857561856001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054858114375176192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788506102000,"timestamp_ms":1788506102000,"timestamp_seconds":1788506102,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4558f0"} 
[2026-09-04 12:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857561856001,"66":27626,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4054858114375176192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857561856001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:49:36] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:49:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:49:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054858114375176192,"description":"Unknown IO ID 44"} 
[2026-09-04 12:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857561856001,"power":27626,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054858114375176192}} 
[2026-09-04 12:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":170948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:49:36] local.INFO: GPS data processed {"connection_id":170948,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:49:36] local.INFO: Acknowledgment sent {"connection_id":170948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:49:49] local.INFO: TCP Data received {"connection_id":173353,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:49:49] local.INFO: Processing buffer {"connection_id":173353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:49:49] local.INFO: IMEI packet received {"connection_id":173353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":173353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:49:54] local.INFO: TCP Data received {"connection_id":173353,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:49:54] local.INFO: Processing buffer {"connection_id":173353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:49:54] local.INFO: IMEI packet received {"connection_id":173353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":173353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:49:55] local.INFO: TCP Data received {"connection_id":173353,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:49:55] local.INFO: Processing buffer {"connection_id":173353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:49:55] local.INFO: Packet analysis {"connection_id":173353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:49:55] local.INFO: Extracted packet for processing {"connection_id":173353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857509376001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788506197000,"timestamp_ms":1788506197000,"timestamp_seconds":1788506197,"priority":1,"record_length":96,"hex_timestamp":"000001a06b46cc08"} 
[2026-09-04 12:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 12:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173353,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173353,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857509376001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857509376001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:49:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:49:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857509376001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":173353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762323,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:49:55] local.INFO: GPS data processed {"connection_id":173353,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:49:55] local.INFO: Acknowledgment sent {"connection_id":173353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:49:59] local.INFO: TCP Data received {"connection_id":173354,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:49:59] local.INFO: Processing buffer {"connection_id":173354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:49:59] local.INFO: IMEI packet received {"connection_id":173354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":173354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:50:04] local.INFO: TCP Data received {"connection_id":173354,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:50:04] local.INFO: Processing buffer {"connection_id":173354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:50:04] local.INFO: IMEI packet received {"connection_id":173354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":173354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:50:05] local.INFO: TCP Data received {"connection_id":173354,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:50:05] local.INFO: Processing buffer {"connection_id":173354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:50:05] local.INFO: Packet analysis {"connection_id":173354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:50:05] local.INFO: Extracted packet for processing {"connection_id":173354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:50:05] local.INFO: GPS Element Parsed {"raw_longitude":751286784,"raw_latitude":122555864,"longitude_deg":75.1286784,"latitude_deg":12.2555864,"altitude":17,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2cc7ba00","hex_latitude":"074e0dd8","is_valid_coordinates":true} 
[2026-09-04 12:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857561856001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:50:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054858114375176192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788506102000,"timestamp_ms":1788506102000,"timestamp_seconds":1788506102,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4558f0"} 
[2026-09-04 12:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857561856001,"66":27626,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4054858114375176192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857561856001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:50:05] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:50:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054858114375176192,"description":"Unknown IO ID 44"} 
[2026-09-04 12:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857561856001,"power":27626,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054858114375176192}} 
[2026-09-04 12:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":173354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:50:05] local.INFO: GPS data processed {"connection_id":173354,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:50:05] local.INFO: Acknowledgment sent {"connection_id":173354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:50:30] local.INFO: TCP Data received {"connection_id":173353,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:50:30] local.INFO: Processing buffer {"connection_id":173353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:50:30] local.INFO: Packet analysis {"connection_id":173353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:50:30] local.INFO: Extracted packet for processing {"connection_id":173353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857509376001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788506197000,"timestamp_ms":1788506197000,"timestamp_seconds":1788506197,"priority":1,"record_length":96,"hex_timestamp":"000001a06b46cc08"} 
[2026-09-04 12:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 12:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173353,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173353,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857509376001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857509376001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:50:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857509376001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":173353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:50:30] local.INFO: GPS data processed {"connection_id":173353,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:50:30] local.INFO: Acknowledgment sent {"connection_id":173353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:50:36] local.INFO: TCP Data received {"connection_id":173354,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:50:36] local.INFO: Processing buffer {"connection_id":173354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4558f0012cc7ba00074e0dd8001100c72d..."} 
[2026-09-04 12:50:36] local.INFO: Packet analysis {"connection_id":173354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:50:36] local.INFO: Extracted packet for processing {"connection_id":173354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b45"} 
[2026-09-04 12:50:36] local.INFO: GPS Element Parsed {"raw_longitude":751286784,"raw_latitude":122555864,"longitude_deg":75.1286784,"latitude_deg":12.2555864,"altitude":17,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2cc7ba00","hex_latitude":"074e0dd8","is_valid_coordinates":true} 
[2026-09-04 12:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857561856001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:50:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054858114375176192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788506102000,"timestamp_ms":1788506102000,"timestamp_seconds":1788506102,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4558f0"} 
[2026-09-04 12:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 12:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857561856001,"66":27626,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4054858114375176192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857561856001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:50:36] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:50:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054858114375176192,"description":"Unknown IO ID 44"} 
[2026-09-04 12:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857561856001,"power":27626,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054858114375176192}} 
[2026-09-04 12:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":173354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:50:36] local.INFO: GPS data processed {"connection_id":173354,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:50:36] local.INFO: Acknowledgment sent {"connection_id":173354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:50:49] local.INFO: TCP Data received {"connection_id":170949,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:50:49] local.INFO: Processing buffer {"connection_id":170949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:50:49] local.INFO: IMEI packet received {"connection_id":170949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":170949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:50:54] local.INFO: TCP Data received {"connection_id":170949,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:50:54] local.INFO: Processing buffer {"connection_id":170949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:50:54] local.INFO: IMEI packet received {"connection_id":170949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":170949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:50:55] local.INFO: TCP Data received {"connection_id":170949,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:50:55] local.INFO: Processing buffer {"connection_id":170949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:50:55] local.INFO: Packet analysis {"connection_id":170949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:50:55] local.INFO: Extracted packet for processing {"connection_id":170949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:50:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857509376001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788506197000,"timestamp_ms":1788506197000,"timestamp_seconds":1788506197,"priority":1,"record_length":96,"hex_timestamp":"000001a06b46cc08"} 
[2026-09-04 12:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 12:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857509376001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857509376001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:50:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:50:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857509376001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":170949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:50:56] local.INFO: GPS data processed {"connection_id":170949,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:50:56] local.INFO: Acknowledgment sent {"connection_id":170949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:51:04] local.INFO: TCP Data received {"connection_id":172058,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:51:04] local.INFO: Processing buffer {"connection_id":172058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:51:04] local.INFO: IMEI packet received {"connection_id":172058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":172058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:51:09] local.INFO: TCP Data received {"connection_id":172058,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:51:09] local.INFO: Processing buffer {"connection_id":172058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:51:09] local.INFO: IMEI packet received {"connection_id":172058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":172058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:51:10] local.INFO: TCP Data received {"connection_id":172058,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b49f0b8012cc7b6c0074e0c40001000c72d..."} 
[2026-09-04 12:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b49f0b8012cc7b6c0074e0c40001000c72d..."} 
[2026-09-04 12:51:10] local.INFO: Processing buffer {"connection_id":172058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b49f0b8012cc7b6c0074e0c40001000c72d..."} 
[2026-09-04 12:51:10] local.INFO: Packet analysis {"connection_id":172058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b49"} 
[2026-09-04 12:51:10] local.INFO: Extracted packet for processing {"connection_id":172058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b49"} 
[2026-09-04 12:51:10] local.INFO: GPS Element Parsed {"raw_longitude":751285952,"raw_latitude":122555456,"longitude_deg":75.1285952,"latitude_deg":12.2555456,"altitude":16,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2cc7b6c0","hex_latitude":"074e0c40","is_valid_coordinates":true} 
[2026-09-04 12:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857562112001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054928483119409152,"note":"Value kept but may cause issues"} 
[2026-09-04 12:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788506403000,"timestamp_ms":1788506403000,"timestamp_seconds":1788506403,"priority":1,"record_length":96,"hex_timestamp":"000001a06b49f0b8"} 
[2026-09-04 12:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-04 12:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857562112001,"66":26539,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4054928483119409152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857562112001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:51:10] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054928483119409152,"description":"Unknown IO ID 44"} 
[2026-09-04 12:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857562112001,"power":26539,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054928483119409152}} 
[2026-09-04 12:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":172058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:51:10] local.INFO: GPS data processed {"connection_id":172058,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:51:10] local.INFO: Acknowledgment sent {"connection_id":172058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:51:15] local.INFO: TCP Data received {"connection_id":172058,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b49f0b8012cc7b6c0074e0c40001000c72d..."} 
[2026-09-04 12:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b49f0b8012cc7b6c0074e0c40001000c72d..."} 
[2026-09-04 12:51:15] local.INFO: Processing buffer {"connection_id":172058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b49f0b8012cc7b6c0074e0c40001000c72d..."} 
[2026-09-04 12:51:15] local.INFO: Packet analysis {"connection_id":172058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b49"} 
[2026-09-04 12:51:15] local.INFO: Extracted packet for processing {"connection_id":172058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b49"} 
[2026-09-04 12:51:15] local.INFO: GPS Element Parsed {"raw_longitude":751285952,"raw_latitude":122555456,"longitude_deg":75.1285952,"latitude_deg":12.2555456,"altitude":16,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2cc7b6c0","hex_latitude":"074e0c40","is_valid_coordinates":true} 
[2026-09-04 12:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857562112001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:51:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054928483119409152,"note":"Value kept but may cause issues"} 
[2026-09-04 12:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788506403000,"timestamp_ms":1788506403000,"timestamp_seconds":1788506403,"priority":1,"record_length":96,"hex_timestamp":"000001a06b49f0b8"} 
[2026-09-04 12:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-04 12:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857562112001,"66":26539,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4054928483119409152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857562112001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:51:15] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:51:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:51:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054928483119409152,"description":"Unknown IO ID 44"} 
[2026-09-04 12:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857562112001,"power":26539,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054928483119409152}} 
[2026-09-04 12:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":172058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:51:15] local.INFO: GPS data processed {"connection_id":172058,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:51:15] local.INFO: Acknowledgment sent {"connection_id":172058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:51:27] local.INFO: TCP Data received {"connection_id":170949,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:51:27] local.INFO: Processing buffer {"connection_id":170949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:51:27] local.INFO: Packet analysis {"connection_id":170949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:51:27] local.INFO: Extracted packet for processing {"connection_id":170949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:51:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857509376001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788506197000,"timestamp_ms":1788506197000,"timestamp_seconds":1788506197,"priority":1,"record_length":96,"hex_timestamp":"000001a06b46cc08"} 
[2026-09-04 12:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 12:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857509376001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857509376001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:51:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:51:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857509376001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":170949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:51:27] local.INFO: GPS data processed {"connection_id":170949,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:51:27] local.INFO: Acknowledgment sent {"connection_id":170949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:51:49] local.INFO: TCP Data received {"connection_id":173355,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:51:49] local.INFO: Processing buffer {"connection_id":173355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:51:49] local.INFO: IMEI packet received {"connection_id":173355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":173355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:51:54] local.INFO: TCP Data received {"connection_id":173355,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:51:54] local.INFO: Processing buffer {"connection_id":173355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:51:54] local.INFO: IMEI packet received {"connection_id":173355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":173355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:51:56] local.INFO: TCP Data received {"connection_id":173355,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:51:56] local.INFO: Processing buffer {"connection_id":173355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b46cc08012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:51:56] local.INFO: Packet analysis {"connection_id":173355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:51:56] local.INFO: Extracted packet for processing {"connection_id":173355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b46"} 
[2026-09-04 12:51:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857509376001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788506197000,"timestamp_ms":1788506197000,"timestamp_seconds":1788506197,"priority":1,"record_length":96,"hex_timestamp":"000001a06b46cc08"} 
[2026-09-04 12:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 12:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857509376001,"66":25625,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857509376001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:51:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:51:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857509376001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":173355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:51:56] local.INFO: GPS data processed {"connection_id":173355,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:51:56] local.INFO: Acknowledgment sent {"connection_id":173355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:51:59] local.INFO: TCP Data received {"connection_id":173356,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:51:59] local.INFO: Processing buffer {"connection_id":173356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:51:59] local.INFO: IMEI packet received {"connection_id":173356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":173356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:52:04] local.INFO: TCP Data received {"connection_id":173356,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:52:04] local.INFO: Processing buffer {"connection_id":173356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:52:04] local.INFO: IMEI packet received {"connection_id":173356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":173356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:52:05] local.INFO: TCP Data received {"connection_id":173356,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b49f0b8012cc7b6c0074e0c40001000c72d..."} 
[2026-09-04 12:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b49f0b8012cc7b6c0074e0c40001000c72d..."} 
[2026-09-04 12:52:05] local.INFO: Processing buffer {"connection_id":173356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b49f0b8012cc7b6c0074e0c40001000c72d..."} 
[2026-09-04 12:52:05] local.INFO: Packet analysis {"connection_id":173356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b49"} 
[2026-09-04 12:52:05] local.INFO: Extracted packet for processing {"connection_id":173356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b49"} 
[2026-09-04 12:52:05] local.INFO: GPS Element Parsed {"raw_longitude":751285952,"raw_latitude":122555456,"longitude_deg":75.1285952,"latitude_deg":12.2555456,"altitude":16,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2cc7b6c0","hex_latitude":"074e0c40","is_valid_coordinates":true} 
[2026-09-04 12:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857562112001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:52:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054928483119409152,"note":"Value kept but may cause issues"} 
[2026-09-04 12:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788506403000,"timestamp_ms":1788506403000,"timestamp_seconds":1788506403,"priority":1,"record_length":96,"hex_timestamp":"000001a06b49f0b8"} 
[2026-09-04 12:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-04 12:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857562112001,"66":26539,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4054928483119409152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857562112001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:52:05] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:52:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054928483119409152,"description":"Unknown IO ID 44"} 
[2026-09-04 12:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857562112001,"power":26539,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054928483119409152}} 
[2026-09-04 12:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":173356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:52:05] local.INFO: GPS data processed {"connection_id":173356,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:52:05] local.INFO: Acknowledgment sent {"connection_id":173356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:52:28] local.INFO: TCP Data received {"connection_id":173355,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:52:28] local.INFO: Processing buffer {"connection_id":173355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:52:28] local.INFO: Packet analysis {"connection_id":173355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:52:28] local.INFO: Extracted packet for processing {"connection_id":173355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:52:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857586432001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788506498000,"timestamp_ms":1788506498000,"timestamp_seconds":1788506498,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4b63d0"} 
[2026-09-04 12:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857586432001,"66":25158,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857586432001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:52:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:52:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857586432001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":173355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762333,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:52:28] local.INFO: GPS data processed {"connection_id":173355,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:52:28] local.INFO: Acknowledgment sent {"connection_id":173355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:52:36] local.INFO: TCP Data received {"connection_id":173356,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b49f0b8012cc7b6c0074e0c40001000c72d..."} 
[2026-09-04 12:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b49f0b8012cc7b6c0074e0c40001000c72d..."} 
[2026-09-04 12:52:36] local.INFO: Processing buffer {"connection_id":173356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b49f0b8012cc7b6c0074e0c40001000c72d..."} 
[2026-09-04 12:52:36] local.INFO: Packet analysis {"connection_id":173356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b49"} 
[2026-09-04 12:52:36] local.INFO: Extracted packet for processing {"connection_id":173356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b49"} 
[2026-09-04 12:52:36] local.INFO: GPS Element Parsed {"raw_longitude":751285952,"raw_latitude":122555456,"longitude_deg":75.1285952,"latitude_deg":12.2555456,"altitude":16,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2cc7b6c0","hex_latitude":"074e0c40","is_valid_coordinates":true} 
[2026-09-04 12:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857562112001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:52:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054928483119409152,"note":"Value kept but may cause issues"} 
[2026-09-04 12:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788506403000,"timestamp_ms":1788506403000,"timestamp_seconds":1788506403,"priority":1,"record_length":96,"hex_timestamp":"000001a06b49f0b8"} 
[2026-09-04 12:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-04 12:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857562112001,"66":26539,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4054928483119409152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857562112001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:52:36] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:52:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:52:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054928483119409152,"description":"Unknown IO ID 44"} 
[2026-09-04 12:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857562112001,"power":26539,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054928483119409152}} 
[2026-09-04 12:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":173356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:52:36] local.INFO: GPS data processed {"connection_id":173356,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:52:36] local.INFO: Acknowledgment sent {"connection_id":173356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:52:49] local.INFO: TCP Data received {"connection_id":170644,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:52:49] local.INFO: Processing buffer {"connection_id":170644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:52:49] local.INFO: IMEI packet received {"connection_id":170644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":170644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:52:54] local.INFO: TCP Data received {"connection_id":170644,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:52:54] local.INFO: Processing buffer {"connection_id":170644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:52:54] local.INFO: IMEI packet received {"connection_id":170644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":170644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:52:56] local.INFO: TCP Data received {"connection_id":170644,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:52:56] local.INFO: Processing buffer {"connection_id":170644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:52:56] local.INFO: Packet analysis {"connection_id":170644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:52:56] local.INFO: Extracted packet for processing {"connection_id":170644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:52:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857586432001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788506498000,"timestamp_ms":1788506498000,"timestamp_seconds":1788506498,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4b63d0"} 
[2026-09-04 12:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857586432001,"66":25158,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857586432001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:52:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:52:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857586432001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":170644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:52:56] local.INFO: GPS data processed {"connection_id":170644,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:52:56] local.INFO: Acknowledgment sent {"connection_id":170644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:52:56] local.INFO: TCP Data received {"connection_id":170950,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:52:56] local.INFO: Processing buffer {"connection_id":170950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:52:56] local.INFO: IMEI packet received {"connection_id":170950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":170950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:52:59] local.INFO: TCP Data received {"connection_id":170950,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:52:59] local.INFO: Processing buffer {"connection_id":170950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:52:59] local.INFO: IMEI packet received {"connection_id":170950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":170950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:53:00] local.INFO: TCP Data received {"connection_id":170950,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:53:00] local.INFO: Processing buffer {"connection_id":170950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:53:00] local.INFO: IMEI packet received {"connection_id":170950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":170950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:53:04] local.INFO: TCP Data received {"connection_id":170950,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:53:04] local.INFO: Processing buffer {"connection_id":170950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:53:04] local.INFO: IMEI packet received {"connection_id":170950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":170950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:53:05] local.INFO: TCP Data received {"connection_id":170950,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4bfc28012cc7b6c0074e0c40001000c72e..."} 
[2026-09-04 12:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4bfc28012cc7b6c0074e0c40001000c72e..."} 
[2026-09-04 12:53:05] local.INFO: Processing buffer {"connection_id":170950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4bfc28012cc7b6c0074e0c40001000c72e..."} 
[2026-09-04 12:53:05] local.INFO: Packet analysis {"connection_id":170950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:53:05] local.INFO: Extracted packet for processing {"connection_id":170950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:53:05] local.INFO: GPS Element Parsed {"raw_longitude":751285952,"raw_latitude":122555456,"longitude_deg":75.1285952,"latitude_deg":12.2555456,"altitude":16,"angle":199,"satellites":46,"speed":0,"hex_longitude":"2cc7b6c0","hex_latitude":"074e0c40","is_valid_coordinates":true} 
[2026-09-04 12:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857639168001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:53:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055843276793823232,"note":"Value kept but may cause issues"} 
[2026-09-04 12:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788506537000,"timestamp_ms":1788506537000,"timestamp_seconds":1788506537,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4bfc28"} 
[2026-09-04 12:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-04 12:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857639168001,"66":26376,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4055843276793823232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857639168001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:53:05] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:53:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055843276793823232,"description":"Unknown IO ID 44"} 
[2026-09-04 12:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857639168001,"power":26376,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4055843276793823232}} 
[2026-09-04 12:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":170950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:53:05] local.INFO: GPS data processed {"connection_id":170950,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:53:05] local.INFO: Acknowledgment sent {"connection_id":170950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:53:28] local.INFO: TCP Data received {"connection_id":170644,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:53:28] local.INFO: Processing buffer {"connection_id":170644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:53:28] local.INFO: Packet analysis {"connection_id":170644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:53:28] local.INFO: Extracted packet for processing {"connection_id":170644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:53:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857586432001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788506498000,"timestamp_ms":1788506498000,"timestamp_seconds":1788506498,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4b63d0"} 
[2026-09-04 12:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857586432001,"66":25158,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857586432001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:53:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:53:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857586432001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":170644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762337,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:53:28] local.INFO: GPS data processed {"connection_id":170644,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:53:28] local.INFO: Acknowledgment sent {"connection_id":170644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:53:36] local.INFO: TCP Data received {"connection_id":170950,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4c0fb0012cc7b7c0074e0c38001000472e..."} 
[2026-09-04 12:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4c0fb0012cc7b7c0074e0c38001000472e..."} 
[2026-09-04 12:53:36] local.INFO: Processing buffer {"connection_id":170950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4c0fb0012cc7b7c0074e0c38001000472e..."} 
[2026-09-04 12:53:36] local.INFO: Packet analysis {"connection_id":170950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4c"} 
[2026-09-04 12:53:36] local.INFO: Extracted packet for processing {"connection_id":170950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4c"} 
[2026-09-04 12:53:36] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555448,"longitude_deg":75.1286208,"latitude_deg":12.2555448,"altitude":16,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0c38","is_valid_coordinates":true} 
[2026-09-04 12:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857673472001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:53:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055843276793823232,"note":"Value kept but may cause issues"} 
[2026-09-04 12:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788506542000,"timestamp_ms":1788506542000,"timestamp_seconds":1788506542,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4c0fb0"} 
[2026-09-04 12:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-04 12:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857673472001,"66":23190,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4055843276793823232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857673472001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:53:36] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:53:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:53:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055843276793823232,"description":"Unknown IO ID 44"} 
[2026-09-04 12:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857673472001,"power":23190,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4055843276793823232}} 
[2026-09-04 12:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":170950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:53:36] local.INFO: GPS data processed {"connection_id":170950,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:53:36] local.INFO: Acknowledgment sent {"connection_id":170950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:53:47] local.INFO: TCP Data received {"connection_id":173357,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:53:47] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:53:47] local.INFO: IMEI packet received {"connection_id":173357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":173357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:53:49] local.INFO: TCP Data received {"connection_id":173358,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:53:49] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:53:49] local.INFO: IMEI packet received {"connection_id":173358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":173358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:53:50] local.INFO: TCP Data received {"connection_id":173357,"ip":"117.224.109.173","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-04 12:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-04 12:53:50] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-04 12:53:50] local.INFO: IMEI packet received {"connection_id":173357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":173357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:53:50] local.INFO: TCP Data received {"connection_id":173357,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:53:50] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-04 12:53:50] local.INFO: IMEI packet received {"connection_id":173357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":173357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:53:54] local.INFO: TCP Data received {"connection_id":173358,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:53:54] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:53:54] local.INFO: IMEI packet received {"connection_id":173358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":173358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:53:56] local.INFO: TCP Data received {"connection_id":173358,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:53:56] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:53:56] local.INFO: Packet analysis {"connection_id":173358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:53:56] local.INFO: Extracted packet for processing {"connection_id":173358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:53:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857586432001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788506498000,"timestamp_ms":1788506498000,"timestamp_seconds":1788506498,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4b63d0"} 
[2026-09-04 12:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857586432001,"66":25158,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857586432001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:53:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:53:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857586432001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":173358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:53:56] local.INFO: GPS data processed {"connection_id":173358,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:53:56] local.INFO: Acknowledgment sent {"connection_id":173358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:53:59] local.INFO: TCP Data received {"connection_id":172059,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:53:59] local.INFO: Processing buffer {"connection_id":172059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:53:59] local.INFO: IMEI packet received {"connection_id":172059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":172059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:54:04] local.INFO: TCP Data received {"connection_id":172059,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:54:04] local.INFO: Processing buffer {"connection_id":172059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:54:04] local.INFO: IMEI packet received {"connection_id":172059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":172059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:54:05] local.INFO: TCP Data received {"connection_id":172059,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4c61b8012cc7b7c0074e0c38001000472e..."} 
[2026-09-04 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4c61b8012cc7b7c0074e0c38001000472e..."} 
[2026-09-04 12:54:05] local.INFO: Processing buffer {"connection_id":172059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4c61b8012cc7b7c0074e0c38001000472e..."} 
[2026-09-04 12:54:05] local.INFO: Packet analysis {"connection_id":172059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4c"} 
[2026-09-04 12:54:05] local.INFO: Extracted packet for processing {"connection_id":172059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4c"} 
[2026-09-04 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555448,"longitude_deg":75.1286208,"latitude_deg":12.2555448,"altitude":16,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0c38","is_valid_coordinates":true} 
[2026-09-04 12:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857674752001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:54:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055561801817114624,"note":"Value kept but may cause issues"} 
[2026-09-04 12:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788506563000,"timestamp_ms":1788506563000,"timestamp_seconds":1788506563,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4c61b8"} 
[2026-09-04 12:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":90,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 12:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1998,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857674752001,"66":27669,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4055561801817114624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857674752001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:54:05] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:54:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:54:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055561801817114624,"description":"Unknown IO ID 44"} 
[2026-09-04 12:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857674752001,"power":27669,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4055561801817114624}} 
[2026-09-04 12:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":172059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:54:05] local.INFO: GPS data processed {"connection_id":172059,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:54:05] local.INFO: Acknowledgment sent {"connection_id":172059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:54:27] local.INFO: TCP Data received {"connection_id":173358,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:54:27] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:54:27] local.INFO: Packet analysis {"connection_id":173358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:54:27] local.INFO: Extracted packet for processing {"connection_id":173358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:54:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857586432001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788506498000,"timestamp_ms":1788506498000,"timestamp_seconds":1788506498,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4b63d0"} 
[2026-09-04 12:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857586432001,"66":25158,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857586432001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:54:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:54:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857586432001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":173358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762341,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:54:27] local.INFO: GPS data processed {"connection_id":173358,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:54:27] local.INFO: Acknowledgment sent {"connection_id":173358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:54:37] local.INFO: TCP Data received {"connection_id":172059,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4cb3c0012cc7b7c0074e0c38001000472e..."} 
[2026-09-04 12:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4cb3c0012cc7b7c0074e0c38001000472e..."} 
[2026-09-04 12:54:37] local.INFO: Processing buffer {"connection_id":172059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4cb3c0012cc7b7c0074e0c38001000472e..."} 
[2026-09-04 12:54:37] local.INFO: Packet analysis {"connection_id":172059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4c"} 
[2026-09-04 12:54:37] local.INFO: Extracted packet for processing {"connection_id":172059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4c"} 
[2026-09-04 12:54:37] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555448,"longitude_deg":75.1286208,"latitude_deg":12.2555448,"altitude":16,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0c38","is_valid_coordinates":true} 
[2026-09-04 12:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857680128001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397824468233224192,"note":"Value kept but may cause issues"} 
[2026-09-04 12:54:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055561801817114624,"note":"Value kept but may cause issues"} 
[2026-09-04 12:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788506584000,"timestamp_ms":1788506584000,"timestamp_seconds":1788506584,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4cb3c0"} 
[2026-09-04 12:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-04 12:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857680128001,"66":27821,"48":206,"85":37632,"24":0,"16":397824468233224192,"44":-4055561801817114624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857680128001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:54:37] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397824468233224192,"km_value":397824468233224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:54:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055561801817114624,"description":"Unknown IO ID 44"} 
[2026-09-04 12:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857680128001,"power":27821,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4055561801817114624}} 
[2026-09-04 12:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":172059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:54:37] local.INFO: GPS data processed {"connection_id":172059,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:54:37] local.INFO: Acknowledgment sent {"connection_id":172059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:54:49] local.INFO: TCP Data received {"connection_id":172060,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:54:49] local.INFO: Processing buffer {"connection_id":172060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:54:49] local.INFO: IMEI packet received {"connection_id":172060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":172060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:54:54] local.INFO: TCP Data received {"connection_id":172060,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:54:54] local.INFO: Processing buffer {"connection_id":172060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:54:54] local.INFO: IMEI packet received {"connection_id":172060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":172060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:54:56] local.INFO: TCP Data received {"connection_id":172060,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:54:56] local.INFO: Processing buffer {"connection_id":172060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:54:56] local.INFO: Packet analysis {"connection_id":172060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:54:56] local.INFO: Extracted packet for processing {"connection_id":172060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:54:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857586432001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788506498000,"timestamp_ms":1788506498000,"timestamp_seconds":1788506498,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4b63d0"} 
[2026-09-04 12:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172060,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172060,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857586432001,"66":25158,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857586432001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:54:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:54:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857586432001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":172060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:54:56] local.INFO: GPS data processed {"connection_id":172060,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:54:56] local.INFO: Acknowledgment sent {"connection_id":172060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:55:02] local.INFO: TCP Data received {"connection_id":172061,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:55:02] local.INFO: Processing buffer {"connection_id":172061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:55:02] local.INFO: IMEI packet received {"connection_id":172061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":172061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:55:04] local.INFO: TCP Data received {"connection_id":172061,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:55:04] local.INFO: Processing buffer {"connection_id":172061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:55:04] local.INFO: IMEI packet received {"connection_id":172061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":172061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:55:07] local.INFO: TCP Data received {"connection_id":172061,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:55:07] local.INFO: Processing buffer {"connection_id":172061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:55:07] local.INFO: IMEI packet received {"connection_id":172061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":172061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:55:08] local.INFO: TCP Data received {"connection_id":172061,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4da5f0012cc7b9c0074dc0d8000c00a82e..."} 
[2026-09-04 12:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4da5f0012cc7b9c0074dc0d8000c00a82e..."} 
[2026-09-04 12:55:08] local.INFO: Processing buffer {"connection_id":172061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4da5f0012cc7b9c0074dc0d8000c00a82e..."} 
[2026-09-04 12:55:08] local.INFO: Packet analysis {"connection_id":172061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4d"} 
[2026-09-04 12:55:08] local.INFO: Extracted packet for processing {"connection_id":172061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4d"} 
[2026-09-04 12:55:08] local.INFO: GPS Element Parsed {"raw_longitude":751286720,"raw_latitude":122536152,"longitude_deg":75.128672,"latitude_deg":12.2536152,"altitude":12,"angle":168,"satellites":46,"speed":30,"hex_longitude":"2cc7b9c0","hex_latitude":"074dc0d8","is_valid_coordinates":true} 
[2026-09-04 12:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857697024001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397825546270015488,"note":"Value kept but may cause issues"} 
[2026-09-04 12:55:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4057743232889241600,"note":"Value kept but may cause issues"} 
[2026-09-04 12:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788506646000,"timestamp_ms":1788506646000,"timestamp_seconds":1788506646,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4da5f0"} 
[2026-09-04 12:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 12:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857697024001,"66":27865,"48":206,"85":37632,"24":30,"16":397825546270015488,"44":-4057743232889241600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857697024001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:55:08] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397825546270015488,"km_value":397825546270015.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:55:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4057743232889241600,"description":"Unknown IO ID 44"} 
[2026-09-04 12:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857697024001,"power":27865,"unknown_48":206,"unknown_85":37632,"ignition":30,"odometer":null,"unknown_44":-4057743232889241600}} 
[2026-09-04 12:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":172061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:55:08] local.INFO: GPS data processed {"connection_id":172061,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:55:08] local.INFO: Acknowledgment sent {"connection_id":172061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:55:27] local.INFO: TCP Data received {"connection_id":172060,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:55:27] local.INFO: Processing buffer {"connection_id":172060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:55:27] local.INFO: Packet analysis {"connection_id":172060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:55:27] local.INFO: Extracted packet for processing {"connection_id":172060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:55:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857586432001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788506498000,"timestamp_ms":1788506498000,"timestamp_seconds":1788506498,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4b63d0"} 
[2026-09-04 12:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172060,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172060,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857586432001,"66":25158,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857586432001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:55:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:55:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857586432001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":172060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:55:27] local.INFO: GPS data processed {"connection_id":172060,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:55:27] local.INFO: Acknowledgment sent {"connection_id":172060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:55:39] local.INFO: TCP Data received {"connection_id":172061,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4db590012cc7bac0074db3b0000d00b52f..."} 
[2026-09-04 12:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4db590012cc7bac0074db3b0000d00b52f..."} 
[2026-09-04 12:55:39] local.INFO: Processing buffer {"connection_id":172061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4db590012cc7bac0074db3b0000d00b52f..."} 
[2026-09-04 12:55:39] local.INFO: Packet analysis {"connection_id":172061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4d"} 
[2026-09-04 12:55:39] local.INFO: Extracted packet for processing {"connection_id":172061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4d"} 
[2026-09-04 12:55:39] local.INFO: GPS Element Parsed {"raw_longitude":751286976,"raw_latitude":122532784,"longitude_deg":75.1286976,"latitude_deg":12.2532784,"altitude":13,"angle":181,"satellites":47,"speed":34,"hex_longitude":"2cc7bac0","hex_latitude":"074db3b0","is_valid_coordinates":true} 
[2026-09-04 12:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857701376001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397825713773740032,"note":"Value kept but may cause issues"} 
[2026-09-04 12:55:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054998851868633088,"note":"Value kept but may cause issues"} 
[2026-09-04 12:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788506650000,"timestamp_ms":1788506650000,"timestamp_seconds":1788506650,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4db590"} 
[2026-09-04 12:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 12:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857701376001,"66":27691,"48":206,"85":37632,"24":34,"16":397825713773740032,"44":-4054998851868633088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-09-04 12:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857701376001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:55:39] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-04 12:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397825713773740032,"km_value":397825713773740.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:55:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054998851868633088,"description":"Unknown IO ID 44"} 
[2026-09-04 12:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857701376001,"power":27691,"unknown_48":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-4054998851868633088}} 
[2026-09-04 12:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":172061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:55:39] local.INFO: GPS data processed {"connection_id":172061,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:55:39] local.INFO: Acknowledgment sent {"connection_id":172061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:55:49] local.INFO: TCP Data received {"connection_id":170647,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:55:49] local.INFO: Processing buffer {"connection_id":170647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:55:49] local.INFO: IMEI packet received {"connection_id":170647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":170647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:55:54] local.INFO: TCP Data received {"connection_id":170647,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:55:54] local.INFO: Processing buffer {"connection_id":170647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:55:54] local.INFO: IMEI packet received {"connection_id":170647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":170647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:55:55] local.INFO: TCP Data received {"connection_id":170647,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:55:55] local.INFO: Processing buffer {"connection_id":170647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:55:55] local.INFO: Packet analysis {"connection_id":170647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:55:55] local.INFO: Extracted packet for processing {"connection_id":170647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:55:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857586432001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788506498000,"timestamp_ms":1788506498000,"timestamp_seconds":1788506498,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4b63d0"} 
[2026-09-04 12:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857586432001,"66":25158,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857586432001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:55:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857586432001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":170647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:55:55] local.INFO: GPS data processed {"connection_id":170647,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:55:55] local.INFO: Acknowledgment sent {"connection_id":170647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:56:08] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:56:08] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:56:08] local.INFO: IMEI packet received {"connection_id":173359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":173359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:56:09] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:56:09] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:56:09] local.INFO: IMEI packet received {"connection_id":173359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":173359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:56:10] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4e8880012cc7f840074d3398000d00c52d..."} 
[2026-09-04 12:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4e8880012cc7f840074d3398000d00c52d..."} 
[2026-09-04 12:56:10] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4e8880012cc7f840074d3398000d00c52d..."} 
[2026-09-04 12:56:10] local.INFO: Packet analysis {"connection_id":173359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4e"} 
[2026-09-04 12:56:10] local.INFO: Extracted packet for processing {"connection_id":173359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4e"} 
[2026-09-04 12:56:10] local.INFO: GPS Element Parsed {"raw_longitude":751302720,"raw_latitude":122499992,"longitude_deg":75.130272,"latitude_deg":12.2499992,"altitude":13,"angle":197,"satellites":45,"speed":16,"hex_longitude":"2cc7f840","hex_latitude":"074d3398","is_valid_coordinates":true} 
[2026-09-04 12:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857715712001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397827637919088640,"note":"Value kept but may cause issues"} 
[2026-09-04 12:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4037265928344926208,"note":"Value kept but may cause issues"} 
[2026-09-04 12:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788506704000,"timestamp_ms":1788506704000,"timestamp_seconds":1788506704,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4e8880"} 
[2026-09-04 12:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 12:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857715712001,"66":27919,"57":206,"85":37632,"24":16,"16":397827637919088640,"44":-4037265928344926208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,44]} 
[2026-09-04 12:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857715712001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:56:10] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-04 12:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397827637919088640,"km_value":397827637919088.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4037265928344926208,"description":"Unknown IO ID 44"} 
[2026-09-04 12:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857715712001,"power":27919,"unknown_57":206,"unknown_85":37632,"ignition":16,"odometer":null,"unknown_44":-4037265928344926208}} 
[2026-09-04 12:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":173359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:56:10] local.INFO: GPS data processed {"connection_id":173359,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:56:10] local.INFO: Acknowledgment sent {"connection_id":173359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:56:16] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4e9050012cc7f700074d3128000c00d82b..."} 
[2026-09-04 12:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4e9050012cc7f700074d3128000c00d82b..."} 
[2026-09-04 12:56:16] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4e9050012cc7f700074d3128000c00d82b..."} 
[2026-09-04 12:56:16] local.INFO: Packet analysis {"connection_id":173359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4e"} 
[2026-09-04 12:56:16] local.INFO: Extracted packet for processing {"connection_id":173359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4e"} 
[2026-09-04 12:56:16] local.INFO: GPS Element Parsed {"raw_longitude":751302400,"raw_latitude":122499368,"longitude_deg":75.13024,"latitude_deg":12.2499368,"altitude":12,"angle":216,"satellites":43,"speed":13,"hex_longitude":"2cc7f700","hex_latitude":"074d3128","is_valid_coordinates":true} 
[2026-09-04 12:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857716224001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397827672278827008,"note":"Value kept but may cause issues"} 
[2026-09-04 12:56:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4037406665833474048,"note":"Value kept but may cause issues"} 
[2026-09-04 12:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788506706000,"timestamp_ms":1788506706000,"timestamp_seconds":1788506706,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4e9050"} 
[2026-09-04 12:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 12:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857716224001,"66":27713,"57":206,"85":37632,"24":13,"16":397827672278827008,"44":-4037406665833474048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,44]} 
[2026-09-04 12:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857716224001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:56:16] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-04 12:56:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397827672278827008,"km_value":397827672278827.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:56:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4037406665833474048,"description":"Unknown IO ID 44"} 
[2026-09-04 12:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857716224001,"power":27713,"unknown_57":206,"unknown_85":37632,"ignition":13,"odometer":null,"unknown_44":-4037406665833474048}} 
[2026-09-04 12:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":173359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:56:16] local.INFO: GPS data processed {"connection_id":173359,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:56:16] local.INFO: Acknowledgment sent {"connection_id":173359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:56:34] local.INFO: TCP Data received {"connection_id":170647,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:56:34] local.INFO: Processing buffer {"connection_id":170647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:56:34] local.INFO: Packet analysis {"connection_id":170647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:56:34] local.INFO: Extracted packet for processing {"connection_id":170647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857586432001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788506498000,"timestamp_ms":1788506498000,"timestamp_seconds":1788506498,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4b63d0"} 
[2026-09-04 12:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":170647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":170647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":170647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857586432001,"66":25158,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857586432001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:56:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:56:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857586432001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":170647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:56:34] local.INFO: GPS data processed {"connection_id":170647,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:56:34] local.INFO: Acknowledgment sent {"connection_id":170647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:56:54] local.INFO: TCP Data received {"connection_id":170648,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:56:54] local.INFO: Processing buffer {"connection_id":170648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:56:54] local.INFO: IMEI packet received {"connection_id":170648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":170648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:56:59] local.INFO: TCP Data received {"connection_id":173360,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:56:59] local.INFO: Processing buffer {"connection_id":173360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:56:59] local.INFO: IMEI packet received {"connection_id":173360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":173360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:56:59] local.INFO: TCP Data received {"connection_id":170648,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:56:59] local.INFO: Processing buffer {"connection_id":170648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:56:59] local.INFO: IMEI packet received {"connection_id":170648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":170648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:56:59] local.INFO: TCP Data received {"connection_id":173360,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:56:59] local.INFO: Processing buffer {"connection_id":173360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:56:59] local.INFO: IMEI packet received {"connection_id":173360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":173360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:57:00] local.INFO: TCP Data received {"connection_id":170648,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:57:00] local.INFO: Processing buffer {"connection_id":170648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:57:00] local.INFO: Packet analysis {"connection_id":170648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:57:00] local.INFO: Extracted packet for processing {"connection_id":170648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:57:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857586432001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788506498000,"timestamp_ms":1788506498000,"timestamp_seconds":1788506498,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4b63d0"} 
[2026-09-04 12:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857586432001,"66":25158,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857586432001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:57:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857586432001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":170648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:57:00] local.INFO: GPS data processed {"connection_id":170648,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:57:00] local.INFO: Acknowledgment sent {"connection_id":170648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:57:04] local.INFO: TCP Data received {"connection_id":173360,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:57:04] local.INFO: Processing buffer {"connection_id":173360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:57:04] local.INFO: IMEI packet received {"connection_id":173360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":173360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:57:05] local.INFO: TCP Data received {"connection_id":173360,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4f8668012cc77040074d2d40000901472f..."} 
[2026-09-04 12:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4f8668012cc77040074d2d40000901472f..."} 
[2026-09-04 12:57:05] local.INFO: Processing buffer {"connection_id":173360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4f8668012cc77040074d2d40000901472f..."} 
[2026-09-04 12:57:05] local.INFO: Packet analysis {"connection_id":173360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:57:05] local.INFO: Extracted packet for processing {"connection_id":173360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:57:05] local.INFO: GPS Element Parsed {"raw_longitude":751267904,"raw_latitude":122498368,"longitude_deg":75.1267904,"latitude_deg":12.2498368,"altitude":9,"angle":327,"satellites":47,"speed":12,"hex_longitude":"2cc77040","hex_latitude":"074d2d40","is_valid_coordinates":true} 
[2026-09-04 12:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857732352001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397829343021105152,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4075053943969097728,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788506769000,"timestamp_ms":1788506769000,"timestamp_seconds":1788506769,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4f8668"} 
[2026-09-04 12:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 12:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857732352001,"66":27930,"89":206,"85":37632,"24":12,"16":397829343021105152,"44":-4075053943969097728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-04 12:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857732352001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:57:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 12:57:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397829343021105152,"km_value":397829343021105.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:57:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4075053943969097728,"description":"Unknown IO ID 44"} 
[2026-09-04 12:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857732352001,"power":27930,"unknown_89":206,"unknown_85":37632,"ignition":12,"odometer":null,"unknown_44":-4075053943969097728}} 
[2026-09-04 12:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":173360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:57:05] local.INFO: GPS data processed {"connection_id":173360,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:57:05] local.INFO: Acknowledgment sent {"connection_id":173360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:57:06] local.INFO: TCP Data received {"connection_id":170648,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:57:06] local.INFO: Processing buffer {"connection_id":170648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4b63d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:57:06] local.INFO: Packet analysis {"connection_id":170648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:57:06] local.INFO: Extracted packet for processing {"connection_id":170648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4b"} 
[2026-09-04 12:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857586432001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788506498000,"timestamp_ms":1788506498000,"timestamp_seconds":1788506498,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4b63d0"} 
[2026-09-04 12:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 12:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857586432001,"66":25158,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857586432001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:57:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:57:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857586432001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":170648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762353,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:57:06] local.INFO: GPS data processed {"connection_id":170648,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:57:06] local.INFO: Acknowledgment sent {"connection_id":170648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:57:36] local.INFO: TCP Data received {"connection_id":173360,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4fad78012cc76a00074d3688000b013531..."} 
[2026-09-04 12:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4fad78012cc76a00074d3688000b013531..."} 
[2026-09-04 12:57:36] local.INFO: Processing buffer {"connection_id":173360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4fad78012cc76a00074d3688000b013531..."} 
[2026-09-04 12:57:36] local.INFO: Packet analysis {"connection_id":173360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:57:36] local.INFO: Extracted packet for processing {"connection_id":173360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:57:36] local.INFO: GPS Element Parsed {"raw_longitude":751266304,"raw_latitude":122500744,"longitude_deg":75.1266304,"latitude_deg":12.2500744,"altitude":11,"angle":309,"satellites":49,"speed":19,"hex_longitude":"2cc76a00","hex_latitude":"074d3688","is_valid_coordinates":true} 
[2026-09-04 12:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857732864001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397829480460058624,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4075687262666539008,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788506779000,"timestamp_ms":1788506779000,"timestamp_seconds":1788506779,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4fad78"} 
[2026-09-04 12:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 12:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857732864001,"66":27908,"89":206,"85":37632,"24":19,"16":397829480460058624,"44":-4075687262666539008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-04 12:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857732864001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:57:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 12:57:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397829480460058624,"km_value":397829480460058.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:57:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4075687262666539008,"description":"Unknown IO ID 44"} 
[2026-09-04 12:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857732864001,"power":27908,"unknown_89":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-4075687262666539008}} 
[2026-09-04 12:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":173360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:57:36] local.INFO: GPS data processed {"connection_id":173360,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:57:36] local.INFO: Acknowledgment sent {"connection_id":173360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:57:49] local.INFO: TCP Data received {"connection_id":170650,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:57:49] local.INFO: Processing buffer {"connection_id":170650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:57:49] local.INFO: IMEI packet received {"connection_id":170650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":170650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:57:54] local.INFO: TCP Data received {"connection_id":170650,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:57:54] local.INFO: Processing buffer {"connection_id":170650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:57:54] local.INFO: IMEI packet received {"connection_id":170650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":170650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:57:55] local.INFO: TCP Data received {"connection_id":170650,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:57:55] local.INFO: Processing buffer {"connection_id":170650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:57:55] local.INFO: Packet analysis {"connection_id":170650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:57:55] local.INFO: Extracted packet for processing {"connection_id":170650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:57:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857663488001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788506799000,"timestamp_ms":1788506799000,"timestamp_seconds":1788506799,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4ffb98"} 
[2026-09-04 12:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 12:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857663488001,"66":25114,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857663488001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:57:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:57:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857663488001,"power":25114,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":170650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:57:56] local.INFO: GPS data processed {"connection_id":170650,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:57:56] local.INFO: Acknowledgment sent {"connection_id":170650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:57:59] local.INFO: TCP Data received {"connection_id":170951,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:57:59] local.INFO: Processing buffer {"connection_id":170951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:57:59] local.INFO: IMEI packet received {"connection_id":170951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":170951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:58:04] local.INFO: TCP Data received {"connection_id":170951,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:58:04] local.INFO: Processing buffer {"connection_id":170951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:58:04] local.INFO: IMEI packet received {"connection_id":170951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":170951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:58:05] local.INFO: TCP Data received {"connection_id":170951,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4fb548012cc76680074d38d0000b012831..."} 
[2026-09-04 12:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4fb548012cc76680074d38d0000b012831..."} 
[2026-09-04 12:58:05] local.INFO: Processing buffer {"connection_id":170951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4fb548012cc76680074d38d0000b012831..."} 
[2026-09-04 12:58:05] local.INFO: Packet analysis {"connection_id":170951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:58:05] local.INFO: Extracted packet for processing {"connection_id":170951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:58:05] local.INFO: GPS Element Parsed {"raw_longitude":751265408,"raw_latitude":122501328,"longitude_deg":75.1265408,"latitude_deg":12.2501328,"altitude":11,"angle":296,"satellites":49,"speed":23,"hex_longitude":"2cc76680","hex_latitude":"074d38d0","is_valid_coordinates":true} 
[2026-09-04 12:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857735424001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397829531999666176,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4077446481270372352,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788506781000,"timestamp_ms":1788506781000,"timestamp_seconds":1788506781,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4fb548"} 
[2026-09-04 12:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 12:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857735424001,"66":27865,"89":206,"85":37632,"24":23,"16":397829531999666176,"44":-4077446481270372352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-04 12:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857735424001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:58:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 12:58:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397829531999666176,"km_value":397829531999666.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4077446481270372352,"description":"Unknown IO ID 44"} 
[2026-09-04 12:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857735424001,"power":27865,"unknown_89":206,"unknown_85":37632,"ignition":23,"odometer":null,"unknown_44":-4077446481270372352}} 
[2026-09-04 12:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":170951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:58:05] local.INFO: GPS data processed {"connection_id":170951,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:58:05] local.INFO: Acknowledgment sent {"connection_id":170951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:58:27] local.INFO: TCP Data received {"connection_id":170650,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:58:27] local.INFO: Processing buffer {"connection_id":170650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:58:27] local.INFO: Packet analysis {"connection_id":170650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:58:27] local.INFO: Extracted packet for processing {"connection_id":170650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:58:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857663488001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788506799000,"timestamp_ms":1788506799000,"timestamp_seconds":1788506799,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4ffb98"} 
[2026-09-04 12:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 12:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857663488001,"66":25114,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857663488001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:58:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:58:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857663488001,"power":25114,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":170650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762357,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:58:27] local.INFO: GPS data processed {"connection_id":170650,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:58:27] local.INFO: Acknowledgment sent {"connection_id":170650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:58:36] local.INFO: TCP Data received {"connection_id":170951,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4febf8012cc74600074d4758000b012c2f..."} 
[2026-09-04 12:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4febf8012cc74600074d4758000b012c2f..."} 
[2026-09-04 12:58:36] local.INFO: Processing buffer {"connection_id":170951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4febf8012cc74600074d4758000b012c2f..."} 
[2026-09-04 12:58:36] local.INFO: Packet analysis {"connection_id":170951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:58:36] local.INFO: Extracted packet for processing {"connection_id":170951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:58:36] local.INFO: GPS Element Parsed {"raw_longitude":751257088,"raw_latitude":122505048,"longitude_deg":75.1257088,"latitude_deg":12.2505048,"altitude":11,"angle":300,"satellites":47,"speed":17,"hex_longitude":"2cc74600","hex_latitude":"074d4758","is_valid_coordinates":true} 
[2026-09-04 12:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857735936001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397829965791363072,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4078431643688710144,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788506795000,"timestamp_ms":1788506795000,"timestamp_seconds":1788506795,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4febf8"} 
[2026-09-04 12:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 12:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857735936001,"66":27984,"89":206,"85":37632,"24":17,"16":397829965791363072,"44":-4078431643688710144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-04 12:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857735936001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:58:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 12:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397829965791363072,"km_value":397829965791363.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:58:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4078431643688710144,"description":"Unknown IO ID 44"} 
[2026-09-04 12:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857735936001,"power":27984,"unknown_89":206,"unknown_85":37632,"ignition":17,"odometer":null,"unknown_44":-4078431643688710144}} 
[2026-09-04 12:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":170951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:58:36] local.INFO: GPS data processed {"connection_id":170951,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:58:36] local.INFO: Acknowledgment sent {"connection_id":170951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:58:49] local.INFO: TCP Data received {"connection_id":173362,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:58:49] local.INFO: Processing buffer {"connection_id":173362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:58:49] local.INFO: IMEI packet received {"connection_id":173362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":173362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:58:54] local.INFO: TCP Data received {"connection_id":173361,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:58:54] local.INFO: Processing buffer {"connection_id":173361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:58:54] local.INFO: IMEI packet received {"connection_id":173361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":173361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:58:54] local.INFO: TCP Data received {"connection_id":173362,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:58:54] local.INFO: Processing buffer {"connection_id":173362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:58:54] local.INFO: IMEI packet received {"connection_id":173362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":173362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:58:55] local.INFO: TCP Data received {"connection_id":173361,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b509008012d18d5c0072100d0003b014e29..."} 
[2026-09-04 12:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b509008012d18d5c0072100d0003b014e29..."} 
[2026-09-04 12:58:55] local.INFO: Processing buffer {"connection_id":173361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b509008012d18d5c0072100d0003b014e29..."} 
[2026-09-04 12:58:55] local.INFO: Packet analysis {"connection_id":173361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b50"} 
[2026-09-04 12:58:55] local.INFO: Extracted packet for processing {"connection_id":173361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b50"} 
[2026-09-04 12:58:55] local.INFO: GPS Element Parsed {"raw_longitude":756602304,"raw_latitude":119603408,"longitude_deg":75.6602304,"latitude_deg":11.9603408,"altitude":59,"angle":334,"satellites":41,"speed":33,"hex_longitude":"2d18d5c0","hex_latitude":"072100d0","is_valid_coordinates":true} 
[2026-09-04 12:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857749248001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17210067099058176,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792151207334561792,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788506837000,"timestamp_ms":1788506837000,"timestamp_seconds":1788506837,"priority":1,"record_length":96,"hex_timestamp":"000001a06b509008"} 
[2026-09-04 12:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-04 12:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857749248001,"66":14113,"121":206,"28":31744,"24":33,"16":17210067099058176,"45":1792151207334561792},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857749248001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:58:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:58:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17210067099058176,"km_value":17210067099058.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792151207334561792,"description":"Unknown IO ID 45"} 
[2026-09-04 12:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857749248001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1792151207334561792}} 
[2026-09-04 12:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":173361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:58:55] local.INFO: GPS data processed {"connection_id":173361,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:58:55] local.INFO: Acknowledgment sent {"connection_id":173361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:58:58] local.INFO: TCP Data received {"connection_id":173362,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:58:58] local.INFO: Processing buffer {"connection_id":173362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:58:58] local.INFO: Packet analysis {"connection_id":173362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:58:58] local.INFO: Extracted packet for processing {"connection_id":173362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:58:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857663488001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788506799000,"timestamp_ms":1788506799000,"timestamp_seconds":1788506799,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4ffb98"} 
[2026-09-04 12:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 12:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857663488001,"66":25114,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857663488001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:58:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:58:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857663488001,"power":25114,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":173362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762360,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:58:59] local.INFO: GPS data processed {"connection_id":173362,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:58:59] local.INFO: Acknowledgment sent {"connection_id":173362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:59:27] local.INFO: TCP Data received {"connection_id":173361,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b509fa8012d18d20007210d70003e015929..."} 
[2026-09-04 12:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b509fa8012d18d20007210d70003e015929..."} 
[2026-09-04 12:59:27] local.INFO: Processing buffer {"connection_id":173361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b509fa8012d18d20007210d70003e015929..."} 
[2026-09-04 12:59:27] local.INFO: Packet analysis {"connection_id":173361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b50"} 
[2026-09-04 12:59:27] local.INFO: Extracted packet for processing {"connection_id":173361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b50"} 
[2026-09-04 12:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119606640,"longitude_deg":75.6601344,"latitude_deg":11.960664,"altitude":62,"angle":345,"satellites":41,"speed":33,"hex_longitude":"2d18d200","hex_latitude":"07210d70","is_valid_coordinates":true} 
[2026-09-04 12:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857750272001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17210234602782720,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789547563800645632,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788506841000,"timestamp_ms":1788506841000,"timestamp_seconds":1788506841,"priority":1,"record_length":96,"hex_timestamp":"000001a06b509fa8"} 
[2026-09-04 12:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-04 12:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857750272001,"66":14037,"121":206,"28":31744,"24":33,"16":17210234602782720,"45":1789547563800645632},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857750272001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:59:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17210234602782720,"km_value":17210234602782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789547563800645632,"description":"Unknown IO ID 45"} 
[2026-09-04 12:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857750272001,"power":14037,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1789547563800645632}} 
[2026-09-04 12:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":173361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:59:27] local.INFO: GPS data processed {"connection_id":173361,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:59:27] local.INFO: Acknowledgment sent {"connection_id":173361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:59:31] local.INFO: TCP Data received {"connection_id":173362,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:59:31] local.INFO: Processing buffer {"connection_id":173362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 12:59:31] local.INFO: Packet analysis {"connection_id":173362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:59:31] local.INFO: Extracted packet for processing {"connection_id":173362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 12:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 12:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857663488001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788506799000,"timestamp_ms":1788506799000,"timestamp_seconds":1788506799,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4ffb98"} 
[2026-09-04 12:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 12:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 12:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 12:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 12:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 12:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857663488001,"66":25114,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 12:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 12:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 12:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857663488001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:59:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 12:59:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 12:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 12:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857663488001,"power":25114,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 12:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":173362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762362,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:59:31] local.INFO: GPS data processed {"connection_id":173362,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:59:31] local.INFO: Acknowledgment sent {"connection_id":173362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:59:34] local.INFO: TCP Data received {"connection_id":170651,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:59:34] local.INFO: Processing buffer {"connection_id":170651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:59:34] local.INFO: IMEI packet received {"connection_id":170651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 12:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":170651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:59:35] local.INFO: TCP Data received {"connection_id":170651,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:59:35] local.INFO: Processing buffer {"connection_id":170651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:59:35] local.INFO: IMEI packet received {"connection_id":170651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":170651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:59:39] local.INFO: TCP Data received {"connection_id":170651,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:59:39] local.INFO: Processing buffer {"connection_id":170651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 12:59:39] local.INFO: IMEI packet received {"connection_id":170651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 12:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":170651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:59:40] local.INFO: TCP Data received {"connection_id":170651,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5162f8012cc63fc0074dd2000011014932..."} 
[2026-09-04 12:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5162f8012cc63fc0074dd2000011014932..."} 
[2026-09-04 12:59:40] local.INFO: Processing buffer {"connection_id":170651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5162f8012cc63fc0074dd2000011014932..."} 
[2026-09-04 12:59:40] local.INFO: Packet analysis {"connection_id":170651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b51"} 
[2026-09-04 12:59:40] local.INFO: Extracted packet for processing {"connection_id":170651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b51"} 
[2026-09-04 12:59:40] local.INFO: GPS Element Parsed {"raw_longitude":751189952,"raw_latitude":122540544,"longitude_deg":75.1189952,"latitude_deg":12.2540544,"altitude":17,"angle":329,"satellites":50,"speed":44,"hex_longitude":"2cc63fc0","hex_latitude":"074dd200","is_valid_coordinates":true} 
[2026-09-04 12:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857762816001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397833655168270336,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4157666849623867392,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788506891000,"timestamp_ms":1788506891000,"timestamp_seconds":1788506891,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5162f8"} 
[2026-09-04 12:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 12:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 12:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 12:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 12:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857762816001,"66":27865,"119":206,"85":37632,"24":44,"16":397833655168270336,"44":-4157666849623867392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-09-04 12:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 12:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 12:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857762816001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:59:40] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 12:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 12:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397833655168270336,"km_value":397833655168270.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:59:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4157666849623867392,"description":"Unknown IO ID 44"} 
[2026-09-04 12:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857762816001,"power":27865,"unknown_119":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-4157666849623867392}} 
[2026-09-04 12:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":170651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:59:40] local.INFO: GPS data processed {"connection_id":170651,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:59:40] local.INFO: Acknowledgment sent {"connection_id":170651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:59:47] local.INFO: TCP Data received {"connection_id":172063,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:59:47] local.INFO: Processing buffer {"connection_id":172063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:59:47] local.INFO: IMEI packet received {"connection_id":172063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 12:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":172063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:59:48] local.INFO: TCP Data received {"connection_id":172063,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:59:48] local.INFO: Processing buffer {"connection_id":172063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:59:48] local.INFO: IMEI packet received {"connection_id":172063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":172063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:59:52] local.INFO: TCP Data received {"connection_id":172063,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:59:52] local.INFO: Processing buffer {"connection_id":172063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:59:52] local.INFO: IMEI packet received {"connection_id":172063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":172063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:59:53] local.INFO: TCP Data received {"connection_id":172063,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:59:53] local.INFO: Processing buffer {"connection_id":172063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 12:59:53] local.INFO: IMEI packet received {"connection_id":172063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 12:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":172063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 12:59:54] local.INFO: TCP Data received {"connection_id":170952,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:59:54] local.INFO: Processing buffer {"connection_id":170952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:59:54] local.INFO: IMEI packet received {"connection_id":170952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 12:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":170952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 12:59:56] local.INFO: TCP Data received {"connection_id":172063,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b523200012d18ab0007217258004f014624..."} 
[2026-09-04 12:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b523200012d18ab0007217258004f014624..."} 
[2026-09-04 12:59:56] local.INFO: Processing buffer {"connection_id":172063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b523200012d18ab0007217258004f014624..."} 
[2026-09-04 12:59:56] local.INFO: Packet analysis {"connection_id":172063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 12:59:56] local.INFO: Extracted packet for processing {"connection_id":172063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 12:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756591360,"raw_latitude":119632472,"longitude_deg":75.659136,"latitude_deg":11.9632472,"altitude":79,"angle":326,"satellites":36,"speed":3,"hex_longitude":"2d18ab00","hex_latitude":"07217258","is_valid_coordinates":true} 
[2026-09-04 12:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857776128001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211639057088512,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530387456,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788506944000,"timestamp_ms":1788506944000,"timestamp_seconds":1788506944,"priority":1,"record_length":96,"hex_timestamp":"000001a06b523200"} 
[2026-09-04 12:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-04 12:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857776128001,"66":13243,"121":206,"28":31744,"24":3,"16":17211639057088512,"45":1777795983530387456},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857776128001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:59:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:59:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211639057088512,"km_value":17211639057088.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530387456,"description":"Unknown IO ID 45"} 
[2026-09-04 12:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857776128001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1777795983530387456}} 
[2026-09-04 12:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":172063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:59:56] local.INFO: GPS data processed {"connection_id":172063,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:59:56] local.INFO: Acknowledgment sent {"connection_id":172063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:59:57] local.INFO: TCP Data received {"connection_id":172063,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5239d0012d18aa40072172c8004f013a25..."} 
[2026-09-04 12:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5239d0012d18aa40072172c8004f013a25..."} 
[2026-09-04 12:59:57] local.INFO: Processing buffer {"connection_id":172063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5239d0012d18aa40072172c8004f013a25..."} 
[2026-09-04 12:59:57] local.INFO: Packet analysis {"connection_id":172063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 12:59:57] local.INFO: Extracted packet for processing {"connection_id":172063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 12:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632584,"longitude_deg":75.6591168,"latitude_deg":11.9632584,"altitude":79,"angle":314,"satellites":37,"speed":2,"hex_longitude":"2d18aa40","hex_latitude":"072172c8","is_valid_coordinates":true} 
[2026-09-04 12:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 12:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857777664001,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211647647023104,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777514508553705472,"note":"Value kept but may cause issues"} 
[2026-09-04 12:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 12:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788506946000,"timestamp_ms":1788506946000,"timestamp_seconds":1788506946,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5239d0"} 
[2026-09-04 12:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 12:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 12:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-04 12:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 12:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 12:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 12:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 12:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 12:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 12:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 12:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 12:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 12:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857777664001,"66":13222,"121":206,"28":31744,"24":2,"16":17211647647023104,"45":1777514508553705472},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 12:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 12:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 12:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857777664001,"description":"Unknown IO ID 0"} 
[2026-09-04 12:59:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 12:59:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 12:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211647647023104,"km_value":17211647647023.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 12:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777514508553705472,"description":"Unknown IO ID 45"} 
[2026-09-04 12:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857777664001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1777514508553705472}} 
[2026-09-04 12:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":172063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 12:59:57] local.INFO: GPS data processed {"connection_id":172063,"processed":1,"errors":0,"total":1} 
[2026-09-04 12:59:57] local.INFO: Acknowledgment sent {"connection_id":172063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 12:59:59] local.INFO: TCP Data received {"connection_id":170952,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:59:59] local.INFO: Processing buffer {"connection_id":170952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 12:59:59] local.INFO: IMEI packet received {"connection_id":170952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 12:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":170952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:00:00] local.INFO: TCP Data received {"connection_id":170952,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:00:00] local.INFO: Processing buffer {"connection_id":170952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:00:00] local.INFO: Packet analysis {"connection_id":170952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 13:00:00] local.INFO: Extracted packet for processing {"connection_id":170952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 13:00:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857663488001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788506799000,"timestamp_ms":1788506799000,"timestamp_seconds":1788506799,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4ffb98"} 
[2026-09-04 13:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 13:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857663488001,"66":25114,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857663488001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:00:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857663488001,"power":25114,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":170952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762366,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:00:00] local.INFO: GPS data processed {"connection_id":170952,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:00:00] local.INFO: Acknowledgment sent {"connection_id":170952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:00:05] local.INFO: TCP Data received {"connection_id":170952,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:00:05] local.INFO: Processing buffer {"connection_id":170952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:00:05] local.INFO: Packet analysis {"connection_id":170952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 13:00:05] local.INFO: Extracted packet for processing {"connection_id":170952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 13:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857663488001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788506799000,"timestamp_ms":1788506799000,"timestamp_seconds":1788506799,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4ffb98"} 
[2026-09-04 13:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 13:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170952,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857663488001,"66":25114,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857663488001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:00:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:00:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857663488001,"power":25114,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":170952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762367,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:00:05] local.INFO: GPS data processed {"connection_id":170952,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:00:05] local.INFO: Acknowledgment sent {"connection_id":170952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:00:06] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:00:06] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:00:06] local.INFO: IMEI packet received {"connection_id":173363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":173363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:00:10] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:00:10] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:00:10] local.INFO: IMEI packet received {"connection_id":173363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":173363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:00:14] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:00:14] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:00:14] local.INFO: IMEI packet received {"connection_id":173363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":173363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:00:15] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b518238012cc63040074df2680011015132..."} 
[2026-09-04 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b518238012cc63040074df2680011015132..."} 
[2026-09-04 13:00:15] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b518238012cc63040074df2680011015132..."} 
[2026-09-04 13:00:15] local.INFO: Packet analysis {"connection_id":173363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b51"} 
[2026-09-04 13:00:15] local.INFO: Extracted packet for processing {"connection_id":173363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b51"} 
[2026-09-04 13:00:15] local.INFO: GPS Element Parsed {"raw_longitude":751185984,"raw_latitude":122548840,"longitude_deg":75.1185984,"latitude_deg":12.254884,"altitude":17,"angle":337,"satellites":50,"speed":48,"hex_longitude":"2cc63040","hex_latitude":"074df268","is_valid_coordinates":true} 
[2026-09-04 13:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857764096001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397834101844869120,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4161396393064136704,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788506899000,"timestamp_ms":1788506899000,"timestamp_seconds":1788506899,"priority":1,"record_length":96,"hex_timestamp":"000001a06b518238"} 
[2026-09-04 13:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 13:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857764096001,"66":27908,"119":206,"85":37632,"24":48,"16":397834101844869120,"44":-4161396393064136704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-09-04 13:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857764096001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:00:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 13:00:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397834101844869120,"km_value":397834101844869.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:00:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4161396393064136704,"description":"Unknown IO ID 44"} 
[2026-09-04 13:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857764096001,"power":27908,"unknown_119":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-4161396393064136704}} 
[2026-09-04 13:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":173363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:00:15] local.INFO: GPS data processed {"connection_id":173363,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:00:15] local.INFO: Acknowledgment sent {"connection_id":173363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:00:20] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b519d90012cc62100074e13600010014e33..."} 
[2026-09-04 13:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b519d90012cc62100074e13600010014e33..."} 
[2026-09-04 13:00:20] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b519d90012cc62100074e13600010014e33..."} 
[2026-09-04 13:00:20] local.INFO: Packet analysis {"connection_id":173363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b51"} 
[2026-09-04 13:00:20] local.INFO: Extracted packet for processing {"connection_id":173363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b51"} 
[2026-09-04 13:00:20] local.INFO: GPS Element Parsed {"raw_longitude":751182080,"raw_latitude":122557280,"longitude_deg":75.118208,"latitude_deg":12.255728,"altitude":16,"angle":334,"satellites":51,"speed":56,"hex_longitude":"2cc62100","hex_latitude":"074e1360","is_valid_coordinates":true} 
[2026-09-04 13:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857766144001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397834548521467904,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4165759255201028096,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788506906000,"timestamp_ms":1788506906000,"timestamp_seconds":1788506906,"priority":1,"record_length":96,"hex_timestamp":"000001a06b519d90"} 
[2026-09-04 13:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 13:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857766144001,"66":27908,"119":206,"85":37632,"24":56,"16":397834548521467904,"44":-4165759255201028096},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-09-04 13:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857766144001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:00:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 13:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397834548521467904,"km_value":397834548521467.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4165759255201028096,"description":"Unknown IO ID 44"} 
[2026-09-04 13:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857766144001,"power":27908,"unknown_119":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-4165759255201028096}} 
[2026-09-04 13:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":173363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:00:20] local.INFO: GPS data processed {"connection_id":173363,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:00:20] local.INFO: Acknowledgment sent {"connection_id":173363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:00:29] local.INFO: TCP Data received {"connection_id":172063,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b524588012d18aa40072172a8004f007d29..."} 
[2026-09-04 13:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b524588012d18aa40072172a8004f007d29..."} 
[2026-09-04 13:00:29] local.INFO: Processing buffer {"connection_id":172063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b524588012d18aa40072172a8004f007d29..."} 
[2026-09-04 13:00:29] local.INFO: Packet analysis {"connection_id":172063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:00:29] local.INFO: Extracted packet for processing {"connection_id":172063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:00:29] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632552,"longitude_deg":75.6591168,"latitude_deg":11.9632552,"altitude":79,"angle":125,"satellites":41,"speed":0,"hex_longitude":"2d18aa40","hex_latitude":"072172a8","is_valid_coordinates":true} 
[2026-09-04 13:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857778176001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211651941990400,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321201152,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788506949000,"timestamp_ms":1788506949000,"timestamp_seconds":1788506949,"priority":1,"record_length":96,"hex_timestamp":"000001a06b524588"} 
[2026-09-04 13:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 13:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857778176001,"66":13156,"121":206,"28":31744,"24":0,"16":17211651941990400,"45":1777303402321201152},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857778176001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:00:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:00:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211651941990400,"km_value":17211651941990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321201152,"description":"Unknown IO ID 45"} 
[2026-09-04 13:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857778176001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777303402321201152}} 
[2026-09-04 13:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":172063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:00:29] local.INFO: GPS data processed {"connection_id":172063,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:00:29] local.INFO: Acknowledgment sent {"connection_id":172063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:00:48] local.INFO: TCP Data received {"connection_id":172065,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:00:48] local.INFO: Processing buffer {"connection_id":172065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:00:48] local.INFO: IMEI packet received {"connection_id":172065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":172065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:00:49] local.INFO: TCP Data received {"connection_id":172064,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:00:49] local.INFO: Processing buffer {"connection_id":172064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:00:49] local.INFO: IMEI packet received {"connection_id":172064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":172064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:00:54] local.INFO: TCP Data received {"connection_id":172065,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:00:54] local.INFO: Processing buffer {"connection_id":172065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:00:54] local.INFO: IMEI packet received {"connection_id":172065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":172065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:00:54] local.INFO: TCP Data received {"connection_id":172064,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:00:54] local.INFO: Processing buffer {"connection_id":172064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:00:54] local.INFO: IMEI packet received {"connection_id":172064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":172064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:00:55] local.INFO: TCP Data received {"connection_id":172065,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b525528012d18ab00072171b8004f008e2b..."} 
[2026-09-04 13:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b525528012d18ab00072171b8004f008e2b..."} 
[2026-09-04 13:00:55] local.INFO: Processing buffer {"connection_id":172065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b525528012d18ab00072171b8004f008e2b..."} 
[2026-09-04 13:00:55] local.INFO: Packet analysis {"connection_id":172065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:00:55] local.INFO: Extracted packet for processing {"connection_id":172065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756591360,"raw_latitude":119632312,"longitude_deg":75.659136,"latitude_deg":11.9632312,"altitude":79,"angle":142,"satellites":43,"speed":3,"hex_longitude":"2d18ab00","hex_latitude":"072171b8","is_valid_coordinates":true} 
[2026-09-04 13:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857778944001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211664826892288,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321192960,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788506953000,"timestamp_ms":1788506953000,"timestamp_seconds":1788506953,"priority":1,"record_length":96,"hex_timestamp":"000001a06b525528"} 
[2026-09-04 13:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-04 13:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857778944001,"66":13243,"121":206,"28":31744,"24":3,"16":17211664826892288,"45":1777303402321192960},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857778944001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:00:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211664826892288,"km_value":17211664826892.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321192960,"description":"Unknown IO ID 45"} 
[2026-09-04 13:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857778944001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1777303402321192960}} 
[2026-09-04 13:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":172065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:00:55] local.INFO: GPS data processed {"connection_id":172065,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:00:55] local.INFO: Acknowledgment sent {"connection_id":172065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:00:55] local.INFO: TCP Data received {"connection_id":172064,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:00:56] local.INFO: Processing buffer {"connection_id":172064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:00:56] local.INFO: Packet analysis {"connection_id":172064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 13:00:56] local.INFO: Extracted packet for processing {"connection_id":172064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 13:00:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857663488001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788506799000,"timestamp_ms":1788506799000,"timestamp_seconds":1788506799,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4ffb98"} 
[2026-09-04 13:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 13:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172064,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172064,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857663488001,"66":25114,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857663488001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:00:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:00:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857663488001,"power":25114,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":172064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762372,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:00:56] local.INFO: GPS data processed {"connection_id":172064,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:00:56] local.INFO: Acknowledgment sent {"connection_id":172064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:00:59] local.INFO: TCP Data received {"connection_id":170652,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:00:59] local.INFO: Processing buffer {"connection_id":170652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:00:59] local.INFO: IMEI packet received {"connection_id":170652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":170652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:01:00] local.INFO: TCP Data received {"connection_id":172064,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:01:00] local.INFO: Processing buffer {"connection_id":172064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:01:00] local.INFO: Packet analysis {"connection_id":172064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 13:01:00] local.INFO: Extracted packet for processing {"connection_id":172064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 13:01:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857663488001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788506799000,"timestamp_ms":1788506799000,"timestamp_seconds":1788506799,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4ffb98"} 
[2026-09-04 13:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 13:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172064,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172064,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857663488001,"66":25114,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857663488001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:01:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:01:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857663488001,"power":25114,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":172064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762373,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:01:00] local.INFO: GPS data processed {"connection_id":172064,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:01:00] local.INFO: Acknowledgment sent {"connection_id":172064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:01:04] local.INFO: TCP Data received {"connection_id":170652,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:01:04] local.INFO: Processing buffer {"connection_id":170652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:01:04] local.INFO: IMEI packet received {"connection_id":170652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":170652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:01:05] local.INFO: TCP Data received {"connection_id":170652,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b52c670012cc59cc0074f82900009015333..."} 
[2026-09-04 13:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b52c670012cc59cc0074f82900009015333..."} 
[2026-09-04 13:01:05] local.INFO: Processing buffer {"connection_id":170652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b52c670012cc59cc0074f82900009015333..."} 
[2026-09-04 13:01:05] local.INFO: Packet analysis {"connection_id":170652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:01:05] local.INFO: Extracted packet for processing {"connection_id":170652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":751148224,"raw_latitude":122651280,"longitude_deg":75.1148224,"latitude_deg":12.265128,"altitude":9,"angle":339,"satellites":51,"speed":24,"hex_longitude":"2cc59cc0","hex_latitude":"074f8290","is_valid_coordinates":true} 
[2026-09-04 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857783808001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397839397539545088,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4203899114521321472,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788506982000,"timestamp_ms":1788506982000,"timestamp_seconds":1788506982,"priority":1,"record_length":96,"hex_timestamp":"000001a06b52c670"} 
[2026-09-04 13:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 13:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857783808001,"66":27800,"169":206,"85":37632,"24":24,"16":397839397539545088,"44":-4203899114521321472},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,44]} 
[2026-09-04 13:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857783808001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:01:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 13:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397839397539545088,"km_value":397839397539545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4203899114521321472,"description":"Unknown IO ID 44"} 
[2026-09-04 13:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857783808001,"power":27800,"unknown_169":206,"unknown_85":37632,"ignition":24,"odometer":null,"unknown_44":-4203899114521321472}} 
[2026-09-04 13:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":170652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:01:05] local.INFO: GPS data processed {"connection_id":170652,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:01:05] local.INFO: Acknowledgment sent {"connection_id":170652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:01:27] local.INFO: TCP Data received {"connection_id":172065,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5260e0012d18ab8007217118004f008229..."} 
[2026-09-04 13:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5260e0012d18ab8007217118004f008229..."} 
[2026-09-04 13:01:27] local.INFO: Processing buffer {"connection_id":172065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5260e0012d18ab8007217118004f008229..."} 
[2026-09-04 13:01:27] local.INFO: Packet analysis {"connection_id":172065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:01:27] local.INFO: Extracted packet for processing {"connection_id":172065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756591488,"raw_latitude":119632152,"longitude_deg":75.6591488,"latitude_deg":11.9632152,"altitude":79,"angle":130,"satellites":41,"speed":2,"hex_longitude":"2d18ab80","hex_latitude":"07217118","is_valid_coordinates":true} 
[2026-09-04 13:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857779968001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211677711794176,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777514508553664512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788506956000,"timestamp_ms":1788506956000,"timestamp_seconds":1788506956,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5260e0"} 
[2026-09-04 13:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-04 13:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857779968001,"66":13156,"121":206,"28":31744,"24":2,"16":17211677711794176,"45":1777514508553664512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857779968001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:01:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:01:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211677711794176,"km_value":17211677711794.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777514508553664512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857779968001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1777514508553664512}} 
[2026-09-04 13:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":172065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:01:27] local.INFO: GPS data processed {"connection_id":172065,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:01:27] local.INFO: Acknowledgment sent {"connection_id":172065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:01:32] local.INFO: TCP Data received {"connection_id":172064,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:01:32] local.INFO: Processing buffer {"connection_id":172064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:01:32] local.INFO: Packet analysis {"connection_id":172064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 13:01:32] local.INFO: Extracted packet for processing {"connection_id":172064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 13:01:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857663488001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788506799000,"timestamp_ms":1788506799000,"timestamp_seconds":1788506799,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4ffb98"} 
[2026-09-04 13:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 13:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172064,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172064,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857663488001,"66":25114,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857663488001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:01:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:01:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857663488001,"power":25114,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":172064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762376,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:01:32] local.INFO: GPS data processed {"connection_id":172064,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:01:32] local.INFO: Acknowledgment sent {"connection_id":172064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:01:36] local.INFO: TCP Data received {"connection_id":170652,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b52f550012cc58dc0074fa2f8000b014c33..."} 
[2026-09-04 13:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b52f550012cc58dc0074fa2f8000b014c33..."} 
[2026-09-04 13:01:36] local.INFO: Processing buffer {"connection_id":170652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b52f550012cc58dc0074fa2f8000b014c33..."} 
[2026-09-04 13:01:36] local.INFO: Packet analysis {"connection_id":170652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:01:36] local.INFO: Extracted packet for processing {"connection_id":170652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:01:36] local.INFO: GPS Element Parsed {"raw_longitude":751144384,"raw_latitude":122659576,"longitude_deg":75.1144384,"latitude_deg":12.2659576,"altitude":11,"angle":332,"satellites":51,"speed":29,"hex_longitude":"2cc58dc0","hex_latitude":"074fa2f8","is_valid_coordinates":true} 
[2026-09-04 13:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857787392001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397839839921176576,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4207276814239625216,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788506994000,"timestamp_ms":1788506994000,"timestamp_seconds":1788506994,"priority":1,"record_length":96,"hex_timestamp":"000001a06b52f550"} 
[2026-09-04 13:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 13:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857787392001,"66":27843,"169":206,"85":37632,"24":29,"16":397839839921176576,"44":-4207276814239625216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,44]} 
[2026-09-04 13:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857787392001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:01:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 13:01:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397839839921176576,"km_value":397839839921176.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:01:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4207276814239625216,"description":"Unknown IO ID 44"} 
[2026-09-04 13:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857787392001,"power":27843,"unknown_169":206,"unknown_85":37632,"ignition":29,"odometer":null,"unknown_44":-4207276814239625216}} 
[2026-09-04 13:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":170652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:01:36] local.INFO: GPS data processed {"connection_id":170652,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:01:36] local.INFO: Acknowledgment sent {"connection_id":170652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:01:49] local.INFO: TCP Data received {"connection_id":170953,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:01:49] local.INFO: Processing buffer {"connection_id":170953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:01:49] local.INFO: IMEI packet received {"connection_id":170953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":170953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:01:53] local.INFO: TCP Data received {"connection_id":170954,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:01:53] local.INFO: Processing buffer {"connection_id":170954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:01:53] local.INFO: IMEI packet received {"connection_id":170954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":170954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:01:54] local.INFO: TCP Data received {"connection_id":170953,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:01:54] local.INFO: Processing buffer {"connection_id":170953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:01:54] local.INFO: IMEI packet received {"connection_id":170953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":170953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:01:56] local.INFO: TCP Data received {"connection_id":173364,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:01:56] local.INFO: Processing buffer {"connection_id":173364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:01:56] local.INFO: IMEI packet received {"connection_id":173364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":173364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:01:58] local.INFO: TCP Data received {"connection_id":170954,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:01:58] local.INFO: Processing buffer {"connection_id":170954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:01:58] local.INFO: IMEI packet received {"connection_id":170954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":170954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:01:59] local.INFO: TCP Data received {"connection_id":173364,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:01:59] local.INFO: Processing buffer {"connection_id":173364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:01:59] local.INFO: IMEI packet received {"connection_id":173364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":173364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:01:59] local.INFO: TCP Data received {"connection_id":170954,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5264c8012d18ab8007217108004f006b29..."} 
[2026-09-04 13:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5264c8012d18ab8007217108004f006b29..."} 
[2026-09-04 13:01:59] local.INFO: Processing buffer {"connection_id":170954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5264c8012d18ab8007217108004f006b29..."} 
[2026-09-04 13:01:59] local.INFO: Packet analysis {"connection_id":170954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:01:59] local.INFO: Extracted packet for processing {"connection_id":170954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756591488,"raw_latitude":119632136,"longitude_deg":75.6591488,"latitude_deg":11.9632136,"altitude":79,"angle":107,"satellites":41,"speed":1,"hex_longitude":"2d18ab80","hex_latitude":"07217108","is_valid_coordinates":true} 
[2026-09-04 13:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857780736001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211677711794176,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777655246041978880,"note":"Value kept but may cause issues"} 
[2026-09-04 13:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788506957000,"timestamp_ms":1788506957000,"timestamp_seconds":1788506957,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5264c8"} 
[2026-09-04 13:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-04 13:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857780736001,"66":13156,"121":206,"28":31744,"24":1,"16":17211677711794176,"45":1777655246041978880},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857780736001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:01:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:01:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211677711794176,"km_value":17211677711794.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777655246041978880,"description":"Unknown IO ID 45"} 
[2026-09-04 13:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857780736001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1777655246041978880}} 
[2026-09-04 13:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":170954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:01:59] local.INFO: GPS data processed {"connection_id":170954,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:01:59] local.INFO: Acknowledgment sent {"connection_id":170954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:02:04] local.INFO: TCP Data received {"connection_id":173364,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:02:04] local.INFO: Processing buffer {"connection_id":173364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:02:04] local.INFO: IMEI packet received {"connection_id":173364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":173364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:02:05] local.INFO: TCP Data received {"connection_id":173364,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b532430012cc57cc0074fc3c0000d014c33..."} 
[2026-09-04 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b532430012cc57cc0074fc3c0000d014c33..."} 
[2026-09-04 13:02:05] local.INFO: Processing buffer {"connection_id":173364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b532430012cc57cc0074fc3c0000d014c33..."} 
[2026-09-04 13:02:05] local.INFO: Packet analysis {"connection_id":173364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b53"} 
[2026-09-04 13:02:05] local.INFO: Extracted packet for processing {"connection_id":173364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b53"} 
[2026-09-04 13:02:05] local.INFO: GPS Element Parsed {"raw_longitude":751140032,"raw_latitude":122667968,"longitude_deg":75.1140032,"latitude_deg":12.2667968,"altitude":13,"angle":332,"satellites":51,"speed":33,"hex_longitude":"2cc57cc0","hex_latitude":"074fc3c0","is_valid_coordinates":true} 
[2026-09-04 13:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857790464001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397840295187709952,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4211498938888161280,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507006000,"timestamp_ms":1788507006000,"timestamp_seconds":1788507006,"priority":1,"record_length":96,"hex_timestamp":"000001a06b532430"} 
[2026-09-04 13:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 13:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857790464001,"66":27995,"169":206,"85":37632,"24":33,"16":397840295187709952,"44":-4211498938888161280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,44]} 
[2026-09-04 13:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857790464001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:02:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-04 13:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397840295187709952,"km_value":397840295187709.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:02:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4211498938888161280,"description":"Unknown IO ID 44"} 
[2026-09-04 13:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857790464001,"power":27995,"unknown_169":206,"unknown_85":37632,"ignition":33,"odometer":null,"unknown_44":-4211498938888161280}} 
[2026-09-04 13:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":173364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:02:05] local.INFO: GPS data processed {"connection_id":173364,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:02:05] local.INFO: Acknowledgment sent {"connection_id":173364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:02:11] local.INFO: TCP Data received {"connection_id":170953,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:02:11] local.INFO: Processing buffer {"connection_id":170953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b4ffb98012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:02:11] local.INFO: Packet analysis {"connection_id":170953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 13:02:11] local.INFO: Extracted packet for processing {"connection_id":170953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b4f"} 
[2026-09-04 13:02:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857663488001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788506799000,"timestamp_ms":1788506799000,"timestamp_seconds":1788506799,"priority":1,"record_length":96,"hex_timestamp":"000001a06b4ffb98"} 
[2026-09-04 13:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 13:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857663488001,"66":25114,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857663488001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:02:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:02:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857663488001,"power":25114,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":170953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:02:11] local.INFO: GPS data processed {"connection_id":170953,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:02:11] local.INFO: Acknowledgment sent {"connection_id":170953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:02:35] local.INFO: TCP Data received {"connection_id":170954,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5268b0012d18ab8007217120004f004e29..."} 
[2026-09-04 13:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5268b0012d18ab8007217120004f004e29..."} 
[2026-09-04 13:02:35] local.INFO: Processing buffer {"connection_id":170954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5268b0012d18ab8007217120004f004e29..."} 
[2026-09-04 13:02:35] local.INFO: Packet analysis {"connection_id":170954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:02:35] local.INFO: Extracted packet for processing {"connection_id":170954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:02:35] local.INFO: GPS Element Parsed {"raw_longitude":756591488,"raw_latitude":119632160,"longitude_deg":75.6591488,"latitude_deg":11.963216,"altitude":79,"angle":78,"satellites":41,"speed":1,"hex_longitude":"2d18ab80","hex_latitude":"07217120","is_valid_coordinates":true} 
[2026-09-04 13:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857780992001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211677711794176,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777655246041974784,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788506958000,"timestamp_ms":1788506958000,"timestamp_seconds":1788506958,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5268b0"} 
[2026-09-04 13:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-04 13:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857780992001,"66":13156,"121":206,"28":31744,"24":1,"16":17211677711794176,"45":1777655246041974784},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857780992001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:02:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:02:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211677711794176,"km_value":17211677711794.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777655246041974784,"description":"Unknown IO ID 45"} 
[2026-09-04 13:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857780992001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1777655246041974784}} 
[2026-09-04 13:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":170954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:02:36] local.INFO: GPS data processed {"connection_id":170954,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:02:36] local.INFO: Acknowledgment sent {"connection_id":170954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:02:36] local.INFO: TCP Data received {"connection_id":173364,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b534b40012cc56c80074fe2a8000f014d33..."} 
[2026-09-04 13:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b534b40012cc56c80074fe2a8000f014d33..."} 
[2026-09-04 13:02:36] local.INFO: Processing buffer {"connection_id":173364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b534b40012cc56c80074fe2a8000f014d33..."} 
[2026-09-04 13:02:36] local.INFO: Packet analysis {"connection_id":173364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b53"} 
[2026-09-04 13:02:36] local.INFO: Extracted packet for processing {"connection_id":173364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b53"} 
[2026-09-04 13:02:36] local.INFO: GPS Element Parsed {"raw_longitude":751135872,"raw_latitude":122675880,"longitude_deg":75.1135872,"latitude_deg":12.267588,"altitude":15,"angle":333,"satellites":51,"speed":35,"hex_longitude":"2cc56c80","hex_latitude":"074fe2a8","is_valid_coordinates":true} 
[2026-09-04 13:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857793536001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397840728979406848,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4216284013490094080,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788507016000,"timestamp_ms":1788507016000,"timestamp_seconds":1788507016,"priority":1,"record_length":96,"hex_timestamp":"000001a06b534b40"} 
[2026-09-04 13:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 13:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857793536001,"66":27843,"171":206,"85":37632,"24":35,"16":397840728979406848,"44":-4216284013490094080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-04 13:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857793536001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:02:36] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 13:02:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397840728979406848,"km_value":397840728979406.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:02:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4216284013490094080,"description":"Unknown IO ID 44"} 
[2026-09-04 13:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857793536001,"power":27843,"unknown_171":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-4216284013490094080}} 
[2026-09-04 13:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":173364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:02:36] local.INFO: GPS data processed {"connection_id":173364,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:02:36] local.INFO: Acknowledgment sent {"connection_id":173364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:02:49] local.INFO: TCP Data received {"connection_id":170955,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:02:49] local.INFO: Processing buffer {"connection_id":170955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:02:49] local.INFO: IMEI packet received {"connection_id":170955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":170955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:02:49] local.INFO: TCP Data received {"connection_id":172066,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:02:49] local.INFO: Processing buffer {"connection_id":172066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:02:49] local.INFO: IMEI packet received {"connection_id":172066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":172066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:02:49] local.INFO: TCP Data received {"connection_id":172066,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:02:49] local.INFO: Processing buffer {"connection_id":172066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:02:49] local.INFO: IMEI packet received {"connection_id":172066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":172066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:02:54] local.INFO: TCP Data received {"connection_id":172066,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:02:54] local.INFO: Processing buffer {"connection_id":172066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:02:54] local.INFO: IMEI packet received {"connection_id":172066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":172066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:02:54] local.INFO: TCP Data received {"connection_id":170955,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:02:54] local.INFO: Processing buffer {"connection_id":170955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:02:54] local.INFO: IMEI packet received {"connection_id":170955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":170955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:02:55] local.INFO: TCP Data received {"connection_id":172066,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b527c38012d18ac0007217148004f004229..."} 
[2026-09-04 13:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b527c38012d18ac0007217148004f004229..."} 
[2026-09-04 13:02:55] local.INFO: Processing buffer {"connection_id":172066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b527c38012d18ac0007217148004f004229..."} 
[2026-09-04 13:02:55] local.INFO: Packet analysis {"connection_id":172066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:02:55] local.INFO: Extracted packet for processing {"connection_id":172066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:02:55] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632200,"longitude_deg":75.6591616,"latitude_deg":11.96322,"altitude":79,"angle":66,"satellites":41,"speed":2,"hex_longitude":"2d18ac00","hex_latitude":"07217148","is_valid_coordinates":true} 
[2026-09-04 13:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857781248001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211686301728768,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777655246041980928,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788506963000,"timestamp_ms":1788506963000,"timestamp_seconds":1788506963,"priority":1,"record_length":96,"hex_timestamp":"000001a06b527c38"} 
[2026-09-04 13:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-04 13:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857781248001,"66":12265,"121":206,"28":31744,"24":2,"16":17211686301728768,"45":1777655246041980928},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857781248001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:02:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:02:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211686301728768,"km_value":17211686301728.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777655246041980928,"description":"Unknown IO ID 45"} 
[2026-09-04 13:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857781248001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1777655246041980928}} 
[2026-09-04 13:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":172066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:02:55] local.INFO: GPS data processed {"connection_id":172066,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:02:55] local.INFO: Acknowledgment sent {"connection_id":172066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:02:55] local.INFO: TCP Data received {"connection_id":170955,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:02:55] local.INFO: Processing buffer {"connection_id":170955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:02:55] local.INFO: Packet analysis {"connection_id":170955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:02:55] local.INFO: Extracted packet for processing {"connection_id":170955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:02:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857740544001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788507100000,"timestamp_ms":1788507100000,"timestamp_seconds":1788507100,"priority":1,"record_length":96,"hex_timestamp":"000001a06b549360"} 
[2026-09-04 13:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":922,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857740544001,"66":25017,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857740544001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:02:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:02:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857740544001,"power":25017,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":170955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:02:55] local.INFO: GPS data processed {"connection_id":170955,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:02:55] local.INFO: Acknowledgment sent {"connection_id":170955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:02:58] local.INFO: TCP Data received {"connection_id":172067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:02:58] local.INFO: Processing buffer {"connection_id":172067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:02:58] local.INFO: IMEI packet received {"connection_id":172067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":172067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:02:59] local.INFO: TCP Data received {"connection_id":172067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:02:59] local.INFO: Processing buffer {"connection_id":172067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:02:59] local.INFO: IMEI packet received {"connection_id":172067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":172067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:03:04] local.INFO: TCP Data received {"connection_id":172067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:03:04] local.INFO: Processing buffer {"connection_id":172067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:03:04] local.INFO: IMEI packet received {"connection_id":172067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":172067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:03:05] local.INFO: TCP Data received {"connection_id":172067,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b537638012cc55c80075003080012015033..."} 
[2026-09-04 13:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b537638012cc55c80075003080012015033..."} 
[2026-09-04 13:03:05] local.INFO: Processing buffer {"connection_id":172067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b537638012cc55c80075003080012015033..."} 
[2026-09-04 13:03:05] local.INFO: Packet analysis {"connection_id":172067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b53"} 
[2026-09-04 13:03:05] local.INFO: Extracted packet for processing {"connection_id":172067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b53"} 
[2026-09-04 13:03:05] local.INFO: GPS Element Parsed {"raw_longitude":751131776,"raw_latitude":122684168,"longitude_deg":75.1131776,"latitude_deg":12.2684168,"altitude":18,"angle":336,"satellites":51,"speed":29,"hex_longitude":"2cc55c80","hex_latitude":"07500308","is_valid_coordinates":true} 
[2026-09-04 13:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857796096001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397841175656005632,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4220857981859616768,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507027000,"timestamp_ms":1788507027000,"timestamp_seconds":1788507027,"priority":1,"record_length":96,"hex_timestamp":"000001a06b537638"} 
[2026-09-04 13:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 13:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857796096001,"66":27908,"171":206,"85":37632,"24":29,"16":397841175656005632,"44":-4220857981859616768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-04 13:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857796096001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:03:05] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 13:03:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397841175656005632,"km_value":397841175656005.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:03:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4220857981859616768,"description":"Unknown IO ID 44"} 
[2026-09-04 13:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857796096001,"power":27908,"unknown_171":206,"unknown_85":37632,"ignition":29,"odometer":null,"unknown_44":-4220857981859616768}} 
[2026-09-04 13:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":172067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:03:05] local.INFO: GPS data processed {"connection_id":172067,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:03:05] local.INFO: Acknowledgment sent {"connection_id":172067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:03:27] local.INFO: TCP Data received {"connection_id":172066,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b52ce40012d18ac00072171680050003b25..."} 
[2026-09-04 13:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b52ce40012d18ac00072171680050003b25..."} 
[2026-09-04 13:03:27] local.INFO: Processing buffer {"connection_id":172066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b52ce40012d18ac00072171680050003b25..."} 
[2026-09-04 13:03:27] local.INFO: Packet analysis {"connection_id":172066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:03:27] local.INFO: Extracted packet for processing {"connection_id":172066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b52"} 
[2026-09-04 13:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632232,"longitude_deg":75.6591616,"latitude_deg":11.9632232,"altitude":80,"angle":59,"satellites":37,"speed":0,"hex_longitude":"2d18ac00","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-09-04 13:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857782528001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211690596696064,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530346496,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788506984000,"timestamp_ms":1788506984000,"timestamp_seconds":1788506984,"priority":1,"record_length":96,"hex_timestamp":"000001a06b52ce40"} 
[2026-09-04 13:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857782528001,"66":13156,"121":206,"28":31744,"24":0,"16":17211690596696064,"45":1777795983530346496},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857782528001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:03:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:03:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211690596696064,"km_value":17211690596696.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530346496,"description":"Unknown IO ID 45"} 
[2026-09-04 13:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857782528001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777795983530346496}} 
[2026-09-04 13:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":172066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:03:27] local.INFO: GPS data processed {"connection_id":172066,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:03:27] local.INFO: Acknowledgment sent {"connection_id":172066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:03:27] local.INFO: TCP Data received {"connection_id":170955,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:03:27] local.INFO: Processing buffer {"connection_id":170955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:03:27] local.INFO: Packet analysis {"connection_id":170955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:03:27] local.INFO: Extracted packet for processing {"connection_id":170955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:03:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857740544001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788507100000,"timestamp_ms":1788507100000,"timestamp_seconds":1788507100,"priority":1,"record_length":96,"hex_timestamp":"000001a06b549360"} 
[2026-09-04 13:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":922,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857740544001,"66":25017,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857740544001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:03:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:03:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857740544001,"power":25017,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":170955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762387,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:03:27] local.INFO: GPS data processed {"connection_id":170955,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:03:27] local.INFO: Acknowledgment sent {"connection_id":170955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:03:36] local.INFO: TCP Data received {"connection_id":172067,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b558590012cc4b4400751c180000c015132..."} 
[2026-09-04 13:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b558590012cc4b4400751c180000c015132..."} 
[2026-09-04 13:03:36] local.INFO: Processing buffer {"connection_id":172067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b558590012cc4b4400751c180000c015132..."} 
[2026-09-04 13:03:36] local.INFO: Packet analysis {"connection_id":172067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:03:36] local.INFO: Extracted packet for processing {"connection_id":172067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:03:36] local.INFO: GPS Element Parsed {"raw_longitude":751088704,"raw_latitude":122798464,"longitude_deg":75.1088704,"latitude_deg":12.2798464,"altitude":12,"angle":337,"satellites":50,"speed":53,"hex_longitude":"2cc4b440","hex_latitude":"0751c180","is_valid_coordinates":true} 
[2026-09-04 13:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857831680001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397847089825972224,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4268849465359597568,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788507162000,"timestamp_ms":1788507162000,"timestamp_seconds":1788507162,"priority":1,"record_length":96,"hex_timestamp":"000001a06b558590"} 
[2026-09-04 13:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 13:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857831680001,"66":27800,"4":206,"85":37632,"24":53,"16":397847089825972224,"44":-4268849465359597568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-04 13:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857831680001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:03:36] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-04 13:03:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397847089825972224,"km_value":397847089825972.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:03:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4268849465359597568,"description":"Unknown IO ID 44"} 
[2026-09-04 13:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857831680001,"power":27800,"unknown_4":206,"unknown_85":37632,"ignition":53,"odometer":null,"unknown_44":-4268849465359597568}} 
[2026-09-04 13:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":172067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:03:36] local.INFO: GPS data processed {"connection_id":172067,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:03:36] local.INFO: Acknowledgment sent {"connection_id":172067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:03:48] local.INFO: TCP Data received {"connection_id":173365,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:03:48] local.INFO: Processing buffer {"connection_id":173365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:03:48] local.INFO: IMEI packet received {"connection_id":173365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":173365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:03:53] local.INFO: TCP Data received {"connection_id":173365,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:03:53] local.INFO: Processing buffer {"connection_id":173365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:03:53] local.INFO: IMEI packet received {"connection_id":173365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":173365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:03:54] local.INFO: TCP Data received {"connection_id":170956,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:03:54] local.INFO: Processing buffer {"connection_id":170956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:03:54] local.INFO: IMEI packet received {"connection_id":170956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":170956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:03:54] local.INFO: TCP Data received {"connection_id":173365,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b532048012d18ac00072171680050003b26..."} 
[2026-09-04 13:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b532048012d18ac00072171680050003b26..."} 
[2026-09-04 13:03:54] local.INFO: Processing buffer {"connection_id":173365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b532048012d18ac00072171680050003b26..."} 
[2026-09-04 13:03:54] local.INFO: Packet analysis {"connection_id":173365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b53"} 
[2026-09-04 13:03:54] local.INFO: Extracted packet for processing {"connection_id":173365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b53"} 
[2026-09-04 13:03:54] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632232,"longitude_deg":75.6591616,"latitude_deg":11.9632232,"altitude":80,"angle":59,"satellites":38,"speed":0,"hex_longitude":"2d18ac00","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-09-04 13:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857787904001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211690596696064,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530354688,"note":"Value kept but may cause issues"} 
[2026-09-04 13:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788507005000,"timestamp_ms":1788507005000,"timestamp_seconds":1788507005,"priority":1,"record_length":96,"hex_timestamp":"000001a06b532048"} 
[2026-09-04 13:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-04 13:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857787904001,"66":13124,"121":206,"28":31744,"24":0,"16":17211690596696064,"45":1777795983530354688},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857787904001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:03:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211690596696064,"km_value":17211690596696.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530354688,"description":"Unknown IO ID 45"} 
[2026-09-04 13:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857787904001,"power":13124,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777795983530354688}} 
[2026-09-04 13:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":173365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:03:55] local.INFO: GPS data processed {"connection_id":173365,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:03:55] local.INFO: Acknowledgment sent {"connection_id":173365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:03:59] local.INFO: TCP Data received {"connection_id":170957,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:03:59] local.INFO: Processing buffer {"connection_id":170957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:03:59] local.INFO: IMEI packet received {"connection_id":170957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":170957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:03:59] local.INFO: TCP Data received {"connection_id":170956,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:03:59] local.INFO: Processing buffer {"connection_id":170956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:03:59] local.INFO: IMEI packet received {"connection_id":170956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":170956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:04:01] local.INFO: TCP Data received {"connection_id":170956,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:04:01] local.INFO: Processing buffer {"connection_id":170956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:04:01] local.INFO: Packet analysis {"connection_id":170956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:04:01] local.INFO: Extracted packet for processing {"connection_id":170956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:04:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857740544001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788507100000,"timestamp_ms":1788507100000,"timestamp_seconds":1788507100,"priority":1,"record_length":96,"hex_timestamp":"000001a06b549360"} 
[2026-09-04 13:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":922,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857740544001,"66":25017,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857740544001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:04:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:04:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857740544001,"power":25017,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":170956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762390,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:04:01] local.INFO: GPS data processed {"connection_id":170956,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:04:01] local.INFO: Acknowledgment sent {"connection_id":170956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:04:03] local.INFO: TCP Data received {"connection_id":170957,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:04:03] local.INFO: Processing buffer {"connection_id":170957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:04:03] local.INFO: IMEI packet received {"connection_id":170957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":170957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:04:04] local.INFO: TCP Data received {"connection_id":170957,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:04:04] local.INFO: Processing buffer {"connection_id":170957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:04:04] local.INFO: IMEI packet received {"connection_id":170957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":170957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:04:05] local.INFO: TCP Data received {"connection_id":170957,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b55a0e8012cc4a5c00751e440000d015132..."} 
[2026-09-04 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b55a0e8012cc4a5c00751e440000d015132..."} 
[2026-09-04 13:04:05] local.INFO: Processing buffer {"connection_id":170957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b55a0e8012cc4a5c00751e440000d015132..."} 
[2026-09-04 13:04:05] local.INFO: Packet analysis {"connection_id":170957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:04:05] local.INFO: Extracted packet for processing {"connection_id":170957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:04:05] local.INFO: GPS Element Parsed {"raw_longitude":751084992,"raw_latitude":122807360,"longitude_deg":75.1084992,"latitude_deg":12.280736,"altitude":13,"angle":337,"satellites":50,"speed":55,"hex_longitude":"2cc4a5c0","hex_latitude":"0751e440","is_valid_coordinates":true} 
[2026-09-04 13:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857833472001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397847553682440192,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4272719746287173632,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507169000,"timestamp_ms":1788507169000,"timestamp_seconds":1788507169,"priority":1,"record_length":96,"hex_timestamp":"000001a06b55a0e8"} 
[2026-09-04 13:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 13:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857833472001,"66":27463,"4":206,"85":37632,"24":55,"16":397847553682440192,"44":-4272719746287173632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-04 13:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857833472001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:04:05] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-04 13:04:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397847553682440192,"km_value":397847553682440.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:04:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4272719746287173632,"description":"Unknown IO ID 44"} 
[2026-09-04 13:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857833472001,"power":27463,"unknown_4":206,"unknown_85":37632,"ignition":55,"odometer":null,"unknown_44":-4272719746287173632}} 
[2026-09-04 13:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":170957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:04:05] local.INFO: GPS data processed {"connection_id":170957,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:04:05] local.INFO: Acknowledgment sent {"connection_id":170957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:04:05] local.INFO: TCP Data received {"connection_id":170956,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:04:05] local.INFO: Processing buffer {"connection_id":170956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:04:05] local.INFO: Packet analysis {"connection_id":170956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:04:05] local.INFO: Extracted packet for processing {"connection_id":170956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857740544001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507100000,"timestamp_ms":1788507100000,"timestamp_seconds":1788507100,"priority":1,"record_length":96,"hex_timestamp":"000001a06b549360"} 
[2026-09-04 13:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":922,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857740544001,"66":25017,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857740544001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:04:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857740544001,"power":25017,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":170956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762392,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:04:05] local.INFO: GPS data processed {"connection_id":170956,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:04:05] local.INFO: Acknowledgment sent {"connection_id":170956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:04:10] local.INFO: TCP Data received {"connection_id":170957,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b55bc40012cc49680075208a8000d015031..."} 
[2026-09-04 13:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b55bc40012cc49680075208a8000d015031..."} 
[2026-09-04 13:04:10] local.INFO: Processing buffer {"connection_id":170957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b55bc40012cc49680075208a8000d015031..."} 
[2026-09-04 13:04:10] local.INFO: Packet analysis {"connection_id":170957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:04:10] local.INFO: Extracted packet for processing {"connection_id":170957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":751081088,"raw_latitude":122816680,"longitude_deg":75.1081088,"latitude_deg":12.281668,"altitude":13,"angle":336,"satellites":49,"speed":58,"hex_longitude":"2cc49680","hex_latitude":"075208a8","is_valid_coordinates":true} 
[2026-09-04 13:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857835264001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397848043308711936,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4276801133447200768,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788507176000,"timestamp_ms":1788507176000,"timestamp_seconds":1788507176,"priority":1,"record_length":96,"hex_timestamp":"000001a06b55bc40"} 
[2026-09-04 13:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 13:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857835264001,"66":27930,"4":206,"85":37632,"24":58,"16":397848043308711936,"44":-4276801133447200768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-04 13:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857835264001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:04:10] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-04 13:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397848043308711936,"km_value":397848043308711.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4276801133447200768,"description":"Unknown IO ID 44"} 
[2026-09-04 13:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857835264001,"power":27930,"unknown_4":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-4276801133447200768}} 
[2026-09-04 13:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":170957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:04:10] local.INFO: GPS data processed {"connection_id":170957,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:04:10] local.INFO: Acknowledgment sent {"connection_id":170957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:04:29] local.INFO: TCP Data received {"connection_id":173365,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b537250012d18ac00072171680050003b25..."} 
[2026-09-04 13:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b537250012d18ac00072171680050003b25..."} 
[2026-09-04 13:04:29] local.INFO: Processing buffer {"connection_id":173365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b537250012d18ac00072171680050003b25..."} 
[2026-09-04 13:04:29] local.INFO: Packet analysis {"connection_id":173365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b53"} 
[2026-09-04 13:04:29] local.INFO: Extracted packet for processing {"connection_id":173365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b53"} 
[2026-09-04 13:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632232,"longitude_deg":75.6591616,"latitude_deg":11.9632232,"altitude":80,"angle":59,"satellites":37,"speed":0,"hex_longitude":"2d18ac00","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-09-04 13:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857793280001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211690596696064,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530354688,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788507026000,"timestamp_ms":1788507026000,"timestamp_seconds":1788507026,"priority":1,"record_length":96,"hex_timestamp":"000001a06b537250"} 
[2026-09-04 13:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 13:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857793280001,"66":13048,"121":206,"28":31744,"24":0,"16":17211690596696064,"45":1777795983530354688},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857793280001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:04:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:04:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211690596696064,"km_value":17211690596696.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530354688,"description":"Unknown IO ID 45"} 
[2026-09-04 13:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857793280001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777795983530354688}} 
[2026-09-04 13:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":173365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:04:29] local.INFO: GPS data processed {"connection_id":173365,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:04:29] local.INFO: Acknowledgment sent {"connection_id":173365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:04:41] local.INFO: TCP Data received {"connection_id":170957,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b55d798012cc4860007522da0000d015132..."} 
[2026-09-04 13:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b55d798012cc4860007522da0000d015132..."} 
[2026-09-04 13:04:41] local.INFO: Processing buffer {"connection_id":170957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b55d798012cc4860007522da0000d015132..."} 
[2026-09-04 13:04:41] local.INFO: Packet analysis {"connection_id":170957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:04:41] local.INFO: Extracted packet for processing {"connection_id":170957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:04:41] local.INFO: GPS Element Parsed {"raw_longitude":751076864,"raw_latitude":122826144,"longitude_deg":75.1076864,"latitude_deg":12.2826144,"altitude":13,"angle":337,"satellites":50,"speed":59,"hex_longitude":"2cc48600","hex_latitude":"07522da0","is_valid_coordinates":true} 
[2026-09-04 13:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857837056001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397848545819885568,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4281093626839652352,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788507183000,"timestamp_ms":1788507183000,"timestamp_seconds":1788507183,"priority":1,"record_length":96,"hex_timestamp":"000001a06b55d798"} 
[2026-09-04 13:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857837056001,"66":27919,"4":206,"85":37632,"24":59,"16":397848545819885568,"44":-4281093626839652352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-04 13:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857837056001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:04:41] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-04 13:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397848545819885568,"km_value":397848545819885.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4281093626839652352,"description":"Unknown IO ID 44"} 
[2026-09-04 13:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857837056001,"power":27919,"unknown_4":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-4281093626839652352}} 
[2026-09-04 13:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":170957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:04:41] local.INFO: GPS data processed {"connection_id":170957,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:04:41] local.INFO: Acknowledgment sent {"connection_id":170957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:04:48] local.INFO: TCP Data received {"connection_id":170653,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:04:48] local.INFO: Processing buffer {"connection_id":170653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:04:48] local.INFO: IMEI packet received {"connection_id":170653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":170653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:04:50] local.INFO: TCP Data received {"connection_id":173366,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:04:50] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:04:50] local.INFO: IMEI packet received {"connection_id":173366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":173366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:04:54] local.INFO: TCP Data received {"connection_id":170653,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:04:54] local.INFO: Processing buffer {"connection_id":170653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:04:54] local.INFO: IMEI packet received {"connection_id":170653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":170653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:04:54] local.INFO: TCP Data received {"connection_id":173366,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:04:54] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:04:54] local.INFO: IMEI packet received {"connection_id":173366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":173366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:04:55] local.INFO: TCP Data received {"connection_id":170653,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b53c458012d18ac00072171680050003b28..."} 
[2026-09-04 13:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b53c458012d18ac00072171680050003b28..."} 
[2026-09-04 13:04:55] local.INFO: Processing buffer {"connection_id":170653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b53c458012d18ac00072171680050003b28..."} 
[2026-09-04 13:04:55] local.INFO: Packet analysis {"connection_id":170653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b53"} 
[2026-09-04 13:04:55] local.INFO: Extracted packet for processing {"connection_id":170653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b53"} 
[2026-09-04 13:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632232,"longitude_deg":75.6591616,"latitude_deg":11.9632232,"altitude":80,"angle":59,"satellites":40,"speed":0,"hex_longitude":"2d18ac00","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-09-04 13:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857798656001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211690596696064,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530354688,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788507047000,"timestamp_ms":1788507047000,"timestamp_seconds":1788507047,"priority":1,"record_length":96,"hex_timestamp":"000001a06b53c458"} 
[2026-09-04 13:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-04 13:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857798656001,"66":13080,"121":206,"28":31744,"24":0,"16":17211690596696064,"45":1777795983530354688},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857798656001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:04:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:04:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211690596696064,"km_value":17211690596696.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530354688,"description":"Unknown IO ID 45"} 
[2026-09-04 13:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857798656001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777795983530354688}} 
[2026-09-04 13:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":170653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:04:55] local.INFO: GPS data processed {"connection_id":170653,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:04:55] local.INFO: Acknowledgment sent {"connection_id":170653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:04:56] local.INFO: TCP Data received {"connection_id":173366,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:04:56] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:04:56] local.INFO: Packet analysis {"connection_id":173366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:04:56] local.INFO: Extracted packet for processing {"connection_id":173366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:04:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857740544001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788507100000,"timestamp_ms":1788507100000,"timestamp_seconds":1788507100,"priority":1,"record_length":96,"hex_timestamp":"000001a06b549360"} 
[2026-09-04 13:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":922,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857740544001,"66":25017,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857740544001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:04:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:04:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857740544001,"power":25017,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":173366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762397,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:04:56] local.INFO: GPS data processed {"connection_id":173366,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:04:56] local.INFO: Acknowledgment sent {"connection_id":173366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:04:59] local.INFO: TCP Data received {"connection_id":170958,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:04:59] local.INFO: Processing buffer {"connection_id":170958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:04:59] local.INFO: IMEI packet received {"connection_id":170958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":170958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:05:01] local.INFO: TCP Data received {"connection_id":170958,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:05:01] local.INFO: Processing buffer {"connection_id":170958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:05:01] local.INFO: IMEI packet received {"connection_id":170958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":170958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:05:05] local.INFO: TCP Data received {"connection_id":170958,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:05:05] local.INFO: Processing buffer {"connection_id":170958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:05:05] local.INFO: IMEI packet received {"connection_id":170958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":170958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:05:06] local.INFO: TCP Data received {"connection_id":170958,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b55f2f0012cc47680075250d8000d015033..."} 
[2026-09-04 13:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b55f2f0012cc47680075250d8000d015033..."} 
[2026-09-04 13:05:06] local.INFO: Processing buffer {"connection_id":170958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b55f2f0012cc47680075250d8000d015033..."} 
[2026-09-04 13:05:06] local.INFO: Packet analysis {"connection_id":170958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:05:06] local.INFO: Extracted packet for processing {"connection_id":170958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:05:06] local.INFO: GPS Element Parsed {"raw_longitude":751072896,"raw_latitude":122835160,"longitude_deg":75.1072896,"latitude_deg":12.283516,"altitude":13,"angle":336,"satellites":51,"speed":54,"hex_longitude":"2cc47680","hex_latitude":"075250d8","is_valid_coordinates":true} 
[2026-09-04 13:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857838848001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397849018266288128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4285737963952955392,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788507190000,"timestamp_ms":1788507190000,"timestamp_seconds":1788507190,"priority":1,"record_length":96,"hex_timestamp":"000001a06b55f2f0"} 
[2026-09-04 13:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 13:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857838848001,"66":27832,"4":206,"85":37632,"24":54,"16":397849018266288128,"44":-4285737963952955392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-04 13:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857838848001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:05:06] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-04 13:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397849018266288128,"km_value":397849018266288.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:05:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4285737963952955392,"description":"Unknown IO ID 44"} 
[2026-09-04 13:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857838848001,"power":27832,"unknown_4":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-4285737963952955392}} 
[2026-09-04 13:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":170958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:05:06] local.INFO: GPS data processed {"connection_id":170958,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:05:06] local.INFO: Acknowledgment sent {"connection_id":170958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:05:28] local.INFO: TCP Data received {"connection_id":170653,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b541660012d18ac00072171680050003b27..."} 
[2026-09-04 13:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b541660012d18ac00072171680050003b27..."} 
[2026-09-04 13:05:28] local.INFO: Processing buffer {"connection_id":170653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b541660012d18ac00072171680050003b27..."} 
[2026-09-04 13:05:28] local.INFO: Packet analysis {"connection_id":170653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:05:28] local.INFO: Extracted packet for processing {"connection_id":170653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632232,"longitude_deg":75.6591616,"latitude_deg":11.9632232,"altitude":80,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d18ac00","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-09-04 13:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857804032001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211690596696064,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530354688,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788507068000,"timestamp_ms":1788507068000,"timestamp_seconds":1788507068,"priority":1,"record_length":96,"hex_timestamp":"000001a06b541660"} 
[2026-09-04 13:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 13:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857804032001,"66":12319,"121":206,"28":31744,"24":0,"16":17211690596696064,"45":1777795983530354688},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857804032001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:05:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:05:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211690596696064,"km_value":17211690596696.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530354688,"description":"Unknown IO ID 45"} 
[2026-09-04 13:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857804032001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777795983530354688}} 
[2026-09-04 13:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":170653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:05:29] local.INFO: GPS data processed {"connection_id":170653,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:05:29] local.INFO: Acknowledgment sent {"connection_id":170653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:05:30] local.INFO: TCP Data received {"connection_id":173366,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:05:30] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:05:30] local.INFO: Packet analysis {"connection_id":173366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:05:30] local.INFO: Extracted packet for processing {"connection_id":173366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857740544001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788507100000,"timestamp_ms":1788507100000,"timestamp_seconds":1788507100,"priority":1,"record_length":96,"hex_timestamp":"000001a06b549360"} 
[2026-09-04 13:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":922,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857740544001,"66":25017,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857740544001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:05:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:05:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857740544001,"power":25017,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":173366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762400,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:05:30] local.INFO: GPS data processed {"connection_id":173366,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:05:30] local.INFO: Acknowledgment sent {"connection_id":173366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:05:37] local.INFO: TCP Data received {"connection_id":170958,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b560e48012cc46800075271e0000d015033..."} 
[2026-09-04 13:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b560e48012cc46800075271e0000d015033..."} 
[2026-09-04 13:05:37] local.INFO: Processing buffer {"connection_id":170958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b560e48012cc46800075271e0000d015033..."} 
[2026-09-04 13:05:37] local.INFO: Packet analysis {"connection_id":170958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b56"} 
[2026-09-04 13:05:37] local.INFO: Extracted packet for processing {"connection_id":170958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b56"} 
[2026-09-04 13:05:37] local.INFO: GPS Element Parsed {"raw_longitude":751069184,"raw_latitude":122843616,"longitude_deg":75.1069184,"latitude_deg":12.2843616,"altitude":13,"angle":336,"satellites":51,"speed":51,"hex_longitude":"2cc46800","hex_latitude":"075271e0","is_valid_coordinates":true} 
[2026-09-04 13:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857840640001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397849464942886912,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4290100826089662464,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788507197000,"timestamp_ms":1788507197000,"timestamp_seconds":1788507197,"priority":1,"record_length":96,"hex_timestamp":"000001a06b560e48"} 
[2026-09-04 13:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 13:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857840640001,"66":27876,"4":206,"85":37632,"24":51,"16":397849464942886912,"44":-4290100826089662464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-04 13:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857840640001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:05:37] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-04 13:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397849464942886912,"km_value":397849464942886.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:05:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4290100826089662464,"description":"Unknown IO ID 44"} 
[2026-09-04 13:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857840640001,"power":27876,"unknown_4":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-4290100826089662464}} 
[2026-09-04 13:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":170958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:05:37] local.INFO: GPS data processed {"connection_id":170958,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:05:37] local.INFO: Acknowledgment sent {"connection_id":170958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:05:49] local.INFO: TCP Data received {"connection_id":170959,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:05:49] local.INFO: Processing buffer {"connection_id":170959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:05:49] local.INFO: IMEI packet received {"connection_id":170959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":170959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:05:54] local.INFO: TCP Data received {"connection_id":170960,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:05:54] local.INFO: Processing buffer {"connection_id":170960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:05:54] local.INFO: IMEI packet received {"connection_id":170960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":170960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:05:54] local.INFO: TCP Data received {"connection_id":170959,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:05:54] local.INFO: Processing buffer {"connection_id":170959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:05:54] local.INFO: IMEI packet received {"connection_id":170959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":170959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:05:55] local.INFO: TCP Data received {"connection_id":170959,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:05:55] local.INFO: Processing buffer {"connection_id":170959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:05:55] local.INFO: Packet analysis {"connection_id":170959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:05:55] local.INFO: Extracted packet for processing {"connection_id":170959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:05:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857740544001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788507100000,"timestamp_ms":1788507100000,"timestamp_seconds":1788507100,"priority":1,"record_length":96,"hex_timestamp":"000001a06b549360"} 
[2026-09-04 13:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":922,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857740544001,"66":25017,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857740544001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:05:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:05:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857740544001,"power":25017,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":170959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762402,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:05:55] local.INFO: GPS data processed {"connection_id":170959,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:05:55] local.INFO: Acknowledgment sent {"connection_id":170959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:05:58] local.INFO: TCP Data received {"connection_id":170960,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:05:58] local.INFO: Processing buffer {"connection_id":170960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:05:58] local.INFO: IMEI packet received {"connection_id":170960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":170960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:05:59] local.INFO: TCP Data received {"connection_id":172068,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:05:59] local.INFO: Processing buffer {"connection_id":172068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:05:59] local.INFO: IMEI packet received {"connection_id":172068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":172068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:05:59] local.INFO: TCP Data received {"connection_id":170960,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b546868012d18ac00072171680050003b21..."} 
[2026-09-04 13:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b546868012d18ac00072171680050003b21..."} 
[2026-09-04 13:05:59] local.INFO: Processing buffer {"connection_id":170960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b546868012d18ac00072171680050003b21..."} 
[2026-09-04 13:05:59] local.INFO: Packet analysis {"connection_id":170960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:05:59] local.INFO: Extracted packet for processing {"connection_id":170960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632232,"longitude_deg":75.6591616,"latitude_deg":11.9632232,"altitude":80,"angle":59,"satellites":33,"speed":0,"hex_longitude":"2d18ac00","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-09-04 13:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857809408001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211690596696064,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530354688,"note":"Value kept but may cause issues"} 
[2026-09-04 13:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788507089000,"timestamp_ms":1788507089000,"timestamp_seconds":1788507089,"priority":1,"record_length":96,"hex_timestamp":"000001a06b546868"} 
[2026-09-04 13:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 13:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857809408001,"66":13004,"121":206,"28":31744,"24":0,"16":17211690596696064,"45":1777795983530354688},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857809408001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:05:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:05:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211690596696064,"km_value":17211690596696.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530354688,"description":"Unknown IO ID 45"} 
[2026-09-04 13:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857809408001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777795983530354688}} 
[2026-09-04 13:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":170960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:05:59] local.INFO: GPS data processed {"connection_id":170960,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:05:59] local.INFO: Acknowledgment sent {"connection_id":170960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:06:00] local.INFO: TCP Data received {"connection_id":172068,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:06:00] local.INFO: Processing buffer {"connection_id":172068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:06:00] local.INFO: IMEI packet received {"connection_id":172068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":172068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:06:00] local.INFO: TCP Data received {"connection_id":170960,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b54ba70012d18ac00072171680050003b29..."} 
[2026-09-04 13:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b54ba70012d18ac00072171680050003b29..."} 
[2026-09-04 13:06:00] local.INFO: Processing buffer {"connection_id":170960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b54ba70012d18ac00072171680050003b29..."} 
[2026-09-04 13:06:00] local.INFO: Packet analysis {"connection_id":170960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:06:00] local.INFO: Extracted packet for processing {"connection_id":170960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632232,"longitude_deg":75.6591616,"latitude_deg":11.9632232,"altitude":80,"angle":59,"satellites":41,"speed":0,"hex_longitude":"2d18ac00","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-09-04 13:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857814784001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211690596696064,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530354688,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788507110000,"timestamp_ms":1788507110000,"timestamp_seconds":1788507110,"priority":1,"record_length":96,"hex_timestamp":"000001a06b54ba70"} 
[2026-09-04 13:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 13:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857814784001,"66":12993,"121":206,"28":31744,"24":0,"16":17211690596696064,"45":1777795983530354688},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857814784001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:06:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211690596696064,"km_value":17211690596696.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530354688,"description":"Unknown IO ID 45"} 
[2026-09-04 13:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857814784001,"power":12993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777795983530354688}} 
[2026-09-04 13:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":170960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:06:00] local.INFO: GPS data processed {"connection_id":170960,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:06:00] local.INFO: Acknowledgment sent {"connection_id":170960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:06:04] local.INFO: TCP Data received {"connection_id":172068,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:06:04] local.INFO: Processing buffer {"connection_id":172068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:06:04] local.INFO: IMEI packet received {"connection_id":172068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":172068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:06:05] local.INFO: TCP Data received {"connection_id":172068,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5629a0012cc45a40075291d0000d015131..."} 
[2026-09-04 13:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5629a0012cc45a40075291d0000d015131..."} 
[2026-09-04 13:06:05] local.INFO: Processing buffer {"connection_id":172068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5629a0012cc45a40075291d0000d015131..."} 
[2026-09-04 13:06:05] local.INFO: Packet analysis {"connection_id":172068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b56"} 
[2026-09-04 13:06:05] local.INFO: Extracted packet for processing {"connection_id":172068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b56"} 
[2026-09-04 13:06:05] local.INFO: GPS Element Parsed {"raw_longitude":751065664,"raw_latitude":122851792,"longitude_deg":75.1065664,"latitude_deg":12.2851792,"altitude":13,"angle":337,"satellites":49,"speed":48,"hex_longitude":"2cc45a40","hex_latitude":"075291d0","is_valid_coordinates":true} 
[2026-09-04 13:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857842432001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397849894439616512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4294182213249802240,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507204000,"timestamp_ms":1788507204000,"timestamp_seconds":1788507204,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5629a0"} 
[2026-09-04 13:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 13:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857842432001,"66":27843,"4":206,"85":37632,"24":48,"16":397849894439616512,"44":-4294182213249802240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-04 13:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857842432001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:06:05] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-04 13:06:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397849894439616512,"km_value":397849894439616.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:06:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4294182213249802240,"description":"Unknown IO ID 44"} 
[2026-09-04 13:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857842432001,"power":27843,"unknown_4":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-4294182213249802240}} 
[2026-09-04 13:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":172068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:06:05] local.INFO: GPS data processed {"connection_id":172068,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:06:05] local.INFO: Acknowledgment sent {"connection_id":172068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:06:27] local.INFO: TCP Data received {"connection_id":170959,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:06:27] local.INFO: Processing buffer {"connection_id":170959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:06:27] local.INFO: Packet analysis {"connection_id":170959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:06:27] local.INFO: Extracted packet for processing {"connection_id":170959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:06:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857740544001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788507100000,"timestamp_ms":1788507100000,"timestamp_seconds":1788507100,"priority":1,"record_length":96,"hex_timestamp":"000001a06b549360"} 
[2026-09-04 13:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":922,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857740544001,"66":25017,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857740544001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:06:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:06:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857740544001,"power":25017,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":170959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762406,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:06:27] local.INFO: GPS data processed {"connection_id":170959,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:06:27] local.INFO: Acknowledgment sent {"connection_id":170959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:06:32] local.INFO: TCP Data received {"connection_id":170960,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b550c78012d18ac00072171680050003b2a..."} 
[2026-09-04 13:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b550c78012d18ac00072171680050003b2a..."} 
[2026-09-04 13:06:32] local.INFO: Processing buffer {"connection_id":170960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b550c78012d18ac00072171680050003b2a..."} 
[2026-09-04 13:06:32] local.INFO: Packet analysis {"connection_id":170960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:06:32] local.INFO: Extracted packet for processing {"connection_id":170960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632232,"longitude_deg":75.6591616,"latitude_deg":11.9632232,"altitude":80,"angle":59,"satellites":42,"speed":0,"hex_longitude":"2d18ac00","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-09-04 13:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857820160001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211690596696064,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530354688,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788507131000,"timestamp_ms":1788507131000,"timestamp_seconds":1788507131,"priority":1,"record_length":96,"hex_timestamp":"000001a06b550c78"} 
[2026-09-04 13:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-04 13:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857820160001,"66":12885,"121":206,"28":31744,"24":0,"16":17211690596696064,"45":1777795983530354688},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857820160001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:06:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211690596696064,"km_value":17211690596696.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530354688,"description":"Unknown IO ID 45"} 
[2026-09-04 13:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857820160001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777795983530354688}} 
[2026-09-04 13:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":170960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:06:32] local.INFO: GPS data processed {"connection_id":170960,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:06:32] local.INFO: Acknowledgment sent {"connection_id":170960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:06:36] local.INFO: TCP Data received {"connection_id":172068,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5648e0012cc44bc00752af50000d014533..."} 
[2026-09-04 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5648e0012cc44bc00752af50000d014533..."} 
[2026-09-04 13:06:36] local.INFO: Processing buffer {"connection_id":172068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5648e0012cc44bc00752af50000d014533..."} 
[2026-09-04 13:06:36] local.INFO: Packet analysis {"connection_id":172068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b56"} 
[2026-09-04 13:06:36] local.INFO: Extracted packet for processing {"connection_id":172068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b56"} 
[2026-09-04 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":751061952,"raw_latitude":122859344,"longitude_deg":75.1061952,"latitude_deg":12.2859344,"altitude":13,"angle":325,"satellites":51,"speed":31,"hex_longitude":"2cc44bc0","hex_latitude":"0752af50","is_valid_coordinates":true} 
[2026-09-04 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857844224001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397850302461509632,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4298052494177480704,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788507212000,"timestamp_ms":1788507212000,"timestamp_seconds":1788507212,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5648e0"} 
[2026-09-04 13:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 13:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857844224001,"66":27626,"4":206,"85":37632,"24":31,"16":397850302461509632,"44":-4298052494177480704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-04 13:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857844224001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:06:36] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-04 13:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397850302461509632,"km_value":397850302461509.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:06:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4298052494177480704,"description":"Unknown IO ID 44"} 
[2026-09-04 13:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857844224001,"power":27626,"unknown_4":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-4298052494177480704}} 
[2026-09-04 13:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":172068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:06:37] local.INFO: GPS data processed {"connection_id":172068,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:06:37] local.INFO: Acknowledgment sent {"connection_id":172068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:06:49] local.INFO: TCP Data received {"connection_id":170654,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:06:49] local.INFO: Processing buffer {"connection_id":170654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:06:49] local.INFO: IMEI packet received {"connection_id":170654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":170654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:06:54] local.INFO: TCP Data received {"connection_id":170654,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:06:54] local.INFO: Processing buffer {"connection_id":170654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:06:54] local.INFO: IMEI packet received {"connection_id":170654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":170654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:06:55] local.INFO: TCP Data received {"connection_id":170654,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:06:55] local.INFO: Processing buffer {"connection_id":170654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b549360012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:06:55] local.INFO: Packet analysis {"connection_id":170654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:06:55] local.INFO: Extracted packet for processing {"connection_id":170654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b54"} 
[2026-09-04 13:06:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857740544001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788507100000,"timestamp_ms":1788507100000,"timestamp_seconds":1788507100,"priority":1,"record_length":96,"hex_timestamp":"000001a06b549360"} 
[2026-09-04 13:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":922,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857740544001,"66":25017,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857740544001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:06:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:06:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857740544001,"power":25017,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":170654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762409,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:06:55] local.INFO: GPS data processed {"connection_id":170654,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:06:55] local.INFO: Acknowledgment sent {"connection_id":170654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:06:58] local.INFO: TCP Data received {"connection_id":172069,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:06:58] local.INFO: Processing buffer {"connection_id":172069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:06:58] local.INFO: IMEI packet received {"connection_id":172069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":172069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:07:01] local.INFO: TCP Data received {"connection_id":172069,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:07:01] local.INFO: Processing buffer {"connection_id":172069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:07:01] local.INFO: IMEI packet received {"connection_id":172069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":172069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:07:03] local.INFO: TCP Data received {"connection_id":172069,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:07:03] local.INFO: Processing buffer {"connection_id":172069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:07:03] local.INFO: IMEI packet received {"connection_id":172069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":172069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:07:04] local.INFO: TCP Data received {"connection_id":173367,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:07:04] local.INFO: Processing buffer {"connection_id":173367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:07:04] local.INFO: IMEI packet received {"connection_id":173367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":173367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:07:08] local.INFO: TCP Data received {"connection_id":172069,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b555e80012d18ac00072171680050003b2a..."} 
[2026-09-04 13:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b555e80012d18ac00072171680050003b2a..."} 
[2026-09-04 13:07:08] local.INFO: Processing buffer {"connection_id":172069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b555e80012d18ac00072171680050003b2a..."} 
[2026-09-04 13:07:08] local.INFO: Packet analysis {"connection_id":172069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:07:08] local.INFO: Extracted packet for processing {"connection_id":172069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:07:08] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632232,"longitude_deg":75.6591616,"latitude_deg":11.9632232,"altitude":80,"angle":59,"satellites":42,"speed":0,"hex_longitude":"2d18ac00","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-09-04 13:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857825536001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211690596696064,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530354688,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788507152000,"timestamp_ms":1788507152000,"timestamp_seconds":1788507152,"priority":1,"record_length":96,"hex_timestamp":"000001a06b555e80"} 
[2026-09-04 13:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 13:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857825536001,"66":12950,"121":206,"28":31744,"24":0,"16":17211690596696064,"45":1777795983530354688},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857825536001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:07:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:07:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211690596696064,"km_value":17211690596696.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530354688,"description":"Unknown IO ID 45"} 
[2026-09-04 13:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857825536001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777795983530354688}} 
[2026-09-04 13:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":172069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:07:08] local.INFO: GPS data processed {"connection_id":172069,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:07:08] local.INFO: Acknowledgment sent {"connection_id":172069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:07:09] local.INFO: TCP Data received {"connection_id":172069,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b55b088012d18ac00072171680050003b29..."} 
[2026-09-04 13:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b55b088012d18ac00072171680050003b29..."} 
[2026-09-04 13:07:09] local.INFO: Processing buffer {"connection_id":172069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b55b088012d18ac00072171680050003b29..."} 
[2026-09-04 13:07:09] local.INFO: Packet analysis {"connection_id":172069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:07:09] local.INFO: Extracted packet for processing {"connection_id":172069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b55"} 
[2026-09-04 13:07:09] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632232,"longitude_deg":75.6591616,"latitude_deg":11.9632232,"altitude":80,"angle":59,"satellites":41,"speed":0,"hex_longitude":"2d18ac00","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-09-04 13:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857830912001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211690596696064,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530354688,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788507173000,"timestamp_ms":1788507173000,"timestamp_seconds":1788507173,"priority":1,"record_length":96,"hex_timestamp":"000001a06b55b088"} 
[2026-09-04 13:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 13:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857830912001,"66":12885,"121":206,"28":31744,"24":0,"16":17211690596696064,"45":1777795983530354688},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857830912001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:07:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:07:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211690596696064,"km_value":17211690596696.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530354688,"description":"Unknown IO ID 45"} 
[2026-09-04 13:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857830912001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777795983530354688}} 
[2026-09-04 13:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":172069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:07:09] local.INFO: GPS data processed {"connection_id":172069,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:07:09] local.INFO: Acknowledgment sent {"connection_id":172069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:07:09] local.INFO: TCP Data received {"connection_id":173367,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:07:09] local.INFO: Processing buffer {"connection_id":173367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:07:09] local.INFO: IMEI packet received {"connection_id":173367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":173367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:07:10] local.INFO: TCP Data received {"connection_id":173367,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5867d8012cc3bdc00753fdd0000f01532e..."} 
[2026-09-04 13:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5867d8012cc3bdc00753fdd0000f01532e..."} 
[2026-09-04 13:07:10] local.INFO: Processing buffer {"connection_id":173367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5867d8012cc3bdc00753fdd0000f01532e..."} 
[2026-09-04 13:07:10] local.INFO: Packet analysis {"connection_id":173367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b58"} 
[2026-09-04 13:07:10] local.INFO: Extracted packet for processing {"connection_id":173367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b58"} 
[2026-09-04 13:07:10] local.INFO: GPS Element Parsed {"raw_longitude":751025600,"raw_latitude":122944976,"longitude_deg":75.10256,"latitude_deg":12.2944976,"altitude":15,"angle":339,"satellites":46,"speed":24,"hex_longitude":"2cc3bdc0","hex_latitude":"0753fdd0","is_valid_coordinates":true} 
[2026-09-04 13:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857877504001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397854807882203136,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4337881203360319488,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788507351000,"timestamp_ms":1788507351000,"timestamp_seconds":1788507351,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5867d8"} 
[2026-09-04 13:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 13:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857877504001,"66":27484,"5":206,"85":37632,"24":24,"16":397854807882203136,"44":-4337881203360319488},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,44]} 
[2026-09-04 13:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857877504001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:07:10] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-04 13:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397854807882203136,"km_value":397854807882203.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4337881203360319488,"description":"Unknown IO ID 44"} 
[2026-09-04 13:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857877504001,"power":27484,"unknown_5":206,"unknown_85":37632,"ignition":24,"odometer":null,"unknown_44":-4337881203360319488}} 
[2026-09-04 13:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":173367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:07:10] local.INFO: GPS data processed {"connection_id":173367,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:07:10] local.INFO: Acknowledgment sent {"connection_id":173367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:07:13] local.INFO: TCP Data received {"connection_id":173367,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b588ee8012cc3b700075411780011015e2e..."} 
[2026-09-04 13:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b588ee8012cc3b700075411780011015e2e..."} 
[2026-09-04 13:07:13] local.INFO: Processing buffer {"connection_id":173367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b588ee8012cc3b700075411780011015e2e..."} 
[2026-09-04 13:07:13] local.INFO: Packet analysis {"connection_id":173367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b58"} 
[2026-09-04 13:07:13] local.INFO: Extracted packet for processing {"connection_id":173367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b58"} 
[2026-09-04 13:07:13] local.INFO: GPS Element Parsed {"raw_longitude":751023872,"raw_latitude":122950008,"longitude_deg":75.1023872,"latitude_deg":12.2950008,"altitude":17,"angle":350,"satellites":46,"speed":17,"hex_longitude":"2cc3b700","hex_latitude":"07541178","is_valid_coordinates":true} 
[2026-09-04 13:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857881856001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397855065580240896,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4342103328008843264,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788507361000,"timestamp_ms":1788507361000,"timestamp_seconds":1788507361,"priority":1,"record_length":96,"hex_timestamp":"000001a06b588ee8"} 
[2026-09-04 13:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 13:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857881856001,"66":27865,"5":206,"85":37632,"24":17,"16":397855065580240896,"44":-4342103328008843264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,44]} 
[2026-09-04 13:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857881856001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:07:13] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-04 13:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397855065580240896,"km_value":397855065580240.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:07:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4342103328008843264,"description":"Unknown IO ID 44"} 
[2026-09-04 13:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857881856001,"power":27865,"unknown_5":206,"unknown_85":37632,"ignition":17,"odometer":null,"unknown_44":-4342103328008843264}} 
[2026-09-04 13:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":173367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:07:13] local.INFO: GPS data processed {"connection_id":173367,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:07:13] local.INFO: Acknowledgment sent {"connection_id":173367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:07:27] local.INFO: TCP Data received {"connection_id":170654,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:07:27] local.INFO: Processing buffer {"connection_id":170654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:07:27] local.INFO: Packet analysis {"connection_id":170654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:07:27] local.INFO: Extracted packet for processing {"connection_id":170654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:07:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857817600001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788507401000,"timestamp_ms":1788507401000,"timestamp_seconds":1788507401,"priority":1,"record_length":96,"hex_timestamp":"000001a06b592b28"} 
[2026-09-04 13:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 13:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857817600001,"66":24995,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857817600001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:07:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:07:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857817600001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":170654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:07:27] local.INFO: GPS data processed {"connection_id":170654,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:07:27] local.INFO: Acknowledgment sent {"connection_id":170654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:07:44] local.INFO: TCP Data received {"connection_id":173367,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b58b9e0012cc3b58007542188000f00012e..."} 
[2026-09-04 13:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b58b9e0012cc3b58007542188000f00012e..."} 
[2026-09-04 13:07:44] local.INFO: Processing buffer {"connection_id":173367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b58b9e0012cc3b58007542188000f00012e..."} 
[2026-09-04 13:07:44] local.INFO: Packet analysis {"connection_id":173367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b58"} 
[2026-09-04 13:07:44] local.INFO: Extracted packet for processing {"connection_id":173367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b58"} 
[2026-09-04 13:07:44] local.INFO: GPS Element Parsed {"raw_longitude":751023488,"raw_latitude":122954120,"longitude_deg":75.1023488,"latitude_deg":12.295412,"altitude":15,"angle":1,"satellites":46,"speed":14,"hex_longitude":"2cc3b580","hex_latitude":"07542188","is_valid_coordinates":true} 
[2026-09-04 13:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857884416001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397855267443703808,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344003284100352000,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788507372000,"timestamp_ms":1788507372000,"timestamp_seconds":1788507372,"priority":1,"record_length":96,"hex_timestamp":"000001a06b58b9e0"} 
[2026-09-04 13:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 13:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857884416001,"66":27876,"179":206,"85":37632,"24":14,"16":397855267443703808,"44":-4344003284100352000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-04 13:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857884416001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:07:44] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-04 13:07:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397855267443703808,"km_value":397855267443703.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:07:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344003284100352000,"description":"Unknown IO ID 44"} 
[2026-09-04 13:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857884416001,"power":27876,"unknown_179":206,"unknown_85":37632,"ignition":14,"odometer":null,"unknown_44":-4344003284100352000}} 
[2026-09-04 13:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":173367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:07:44] local.INFO: GPS data processed {"connection_id":173367,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:07:44] local.INFO: Acknowledgment sent {"connection_id":173367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:07:48] local.INFO: TCP Data received {"connection_id":170655,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:07:48] local.INFO: Processing buffer {"connection_id":170655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:07:48] local.INFO: IMEI packet received {"connection_id":170655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":170655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:07:54] local.INFO: TCP Data received {"connection_id":170655,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:07:54] local.INFO: Processing buffer {"connection_id":170655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:07:54] local.INFO: IMEI packet received {"connection_id":170655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":170655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:07:55] local.INFO: TCP Data received {"connection_id":173368,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:07:55] local.INFO: Processing buffer {"connection_id":173368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:07:55] local.INFO: IMEI packet received {"connection_id":173368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":173368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:07:55] local.INFO: TCP Data received {"connection_id":170655,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5936e0012d18ac00072171680050003b2b..."} 
[2026-09-04 13:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5936e0012d18ac00072171680050003b2b..."} 
[2026-09-04 13:07:55] local.INFO: Processing buffer {"connection_id":170655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5936e0012d18ac00072171680050003b2b..."} 
[2026-09-04 13:07:55] local.INFO: Packet analysis {"connection_id":170655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:07:55] local.INFO: Extracted packet for processing {"connection_id":170655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:07:55] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632232,"longitude_deg":75.6591616,"latitude_deg":11.9632232,"altitude":80,"angle":59,"satellites":43,"speed":0,"hex_longitude":"2d18ac00","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-09-04 13:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857890048001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211690596696064,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530354688,"note":"Value kept but may cause issues"} 
[2026-09-04 13:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788507404000,"timestamp_ms":1788507404000,"timestamp_seconds":1788507404,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5936e0"} 
[2026-09-04 13:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-04 13:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857890048001,"66":14265,"121":206,"28":31744,"24":0,"16":17211690596696064,"45":1777795983530354688},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857890048001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:07:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211690596696064,"km_value":17211690596696.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530354688,"description":"Unknown IO ID 45"} 
[2026-09-04 13:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857890048001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777795983530354688}} 
[2026-09-04 13:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":170655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:07:55] local.INFO: GPS data processed {"connection_id":170655,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:07:55] local.INFO: Acknowledgment sent {"connection_id":170655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:07:59] local.INFO: TCP Data received {"connection_id":173368,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:07:59] local.INFO: Processing buffer {"connection_id":173368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:07:59] local.INFO: IMEI packet received {"connection_id":173368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":173368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:07:59] local.INFO: TCP Data received {"connection_id":172070,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:07:59] local.INFO: Processing buffer {"connection_id":172070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:07:59] local.INFO: IMEI packet received {"connection_id":172070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":172070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:08:04] local.INFO: TCP Data received {"connection_id":172070,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:08:04] local.INFO: Processing buffer {"connection_id":172070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:08:04] local.INFO: IMEI packet received {"connection_id":172070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":172070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:08:04] local.INFO: TCP Data received {"connection_id":173368,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:08:04] local.INFO: Processing buffer {"connection_id":173368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:08:04] local.INFO: Packet analysis {"connection_id":173368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:08:04] local.INFO: Extracted packet for processing {"connection_id":173368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857817600001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788507401000,"timestamp_ms":1788507401000,"timestamp_seconds":1788507401,"priority":1,"record_length":96,"hex_timestamp":"000001a06b592b28"} 
[2026-09-04 13:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 13:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857817600001,"66":24995,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857817600001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:08:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:08:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857817600001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":173368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:08:04] local.INFO: GPS data processed {"connection_id":173368,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:08:04] local.INFO: Acknowledgment sent {"connection_id":173368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:08:05] local.INFO: TCP Data received {"connection_id":172070,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b58c598012cc3b540075425b8000e015e2b..."} 
[2026-09-04 13:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b58c598012cc3b540075425b8000e015e2b..."} 
[2026-09-04 13:08:05] local.INFO: Processing buffer {"connection_id":172070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b58c598012cc3b540075425b8000e015e2b..."} 
[2026-09-04 13:08:05] local.INFO: Packet analysis {"connection_id":172070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b58"} 
[2026-09-04 13:08:05] local.INFO: Extracted packet for processing {"connection_id":172070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b58"} 
[2026-09-04 13:08:05] local.INFO: GPS Element Parsed {"raw_longitude":751023424,"raw_latitude":122955192,"longitude_deg":75.1023424,"latitude_deg":12.2955192,"altitude":14,"angle":350,"satellites":43,"speed":12,"hex_longitude":"2cc3b540","hex_latitude":"075425b8","is_valid_coordinates":true} 
[2026-09-04 13:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857887232001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397855318983311360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:08:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344425496564365312,"note":"Value kept but may cause issues"} 
[2026-09-04 13:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507375000,"timestamp_ms":1788507375000,"timestamp_seconds":1788507375,"priority":1,"record_length":96,"hex_timestamp":"000001a06b58c598"} 
[2026-09-04 13:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 13:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857887232001,"66":27930,"179":206,"85":37632,"24":12,"16":397855318983311360,"44":-4344425496564365312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-04 13:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857887232001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:08:05] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-04 13:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 13:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397855318983311360,"km_value":397855318983311.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:08:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344425496564365312,"description":"Unknown IO ID 44"} 
[2026-09-04 13:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857887232001,"power":27930,"unknown_179":206,"unknown_85":37632,"ignition":12,"odometer":null,"unknown_44":-4344425496564365312}} 
[2026-09-04 13:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":172070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:08:05] local.INFO: GPS data processed {"connection_id":172070,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:08:05] local.INFO: Acknowledgment sent {"connection_id":172070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:08:27] local.INFO: TCP Data received {"connection_id":170655,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b595df0012d18ab40072172f0004f014927..."} 
[2026-09-04 13:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b595df0012d18ab40072172f0004f014927..."} 
[2026-09-04 13:08:27] local.INFO: Processing buffer {"connection_id":170655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b595df0012d18ab40072172f0004f014927..."} 
[2026-09-04 13:08:27] local.INFO: Packet analysis {"connection_id":170655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:08:27] local.INFO: Extracted packet for processing {"connection_id":170655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756591424,"raw_latitude":119632624,"longitude_deg":75.6591424,"latitude_deg":11.9632624,"altitude":79,"angle":329,"satellites":39,"speed":4,"hex_longitude":"2d18ab40","hex_latitude":"072172f0","is_valid_coordinates":true} 
[2026-09-04 13:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857895424001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211712071532544,"note":"Value kept but may cause issues"} 
[2026-09-04 13:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530354688,"note":"Value kept but may cause issues"} 
[2026-09-04 13:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788507414000,"timestamp_ms":1788507414000,"timestamp_seconds":1788507414,"priority":1,"record_length":96,"hex_timestamp":"000001a06b595df0"} 
[2026-09-04 13:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 13:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857895424001,"66":14265,"121":206,"28":31744,"24":4,"16":17211712071532544,"45":1777795983530354688},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857895424001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:08:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:08:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211712071532544,"km_value":17211712071532.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530354688,"description":"Unknown IO ID 45"} 
[2026-09-04 13:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857895424001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1777795983530354688}} 
[2026-09-04 13:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":170655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:08:27] local.INFO: GPS data processed {"connection_id":170655,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:08:27] local.INFO: Acknowledgment sent {"connection_id":170655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:08:49] local.INFO: TCP Data received {"connection_id":173369,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:08:49] local.INFO: Processing buffer {"connection_id":173369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:08:49] local.INFO: IMEI packet received {"connection_id":173369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":173369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:08:53] local.INFO: TCP Data received {"connection_id":170656,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:08:53] local.INFO: Processing buffer {"connection_id":170656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:08:53] local.INFO: IMEI packet received {"connection_id":170656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":170656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:08:54] local.INFO: TCP Data received {"connection_id":173369,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:08:54] local.INFO: Processing buffer {"connection_id":173369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:08:54] local.INFO: IMEI packet received {"connection_id":173369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":173369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:08:56] local.INFO: TCP Data received {"connection_id":173369,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:08:56] local.INFO: Processing buffer {"connection_id":173369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:08:56] local.INFO: Packet analysis {"connection_id":173369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:08:56] local.INFO: Extracted packet for processing {"connection_id":173369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:08:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857817600001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788507401000,"timestamp_ms":1788507401000,"timestamp_seconds":1788507401,"priority":1,"record_length":96,"hex_timestamp":"000001a06b592b28"} 
[2026-09-04 13:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 13:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857817600001,"66":24995,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857817600001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:08:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:08:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857817600001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":173369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762420,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:08:56] local.INFO: GPS data processed {"connection_id":173369,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:08:56] local.INFO: Acknowledgment sent {"connection_id":173369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:08:59] local.INFO: TCP Data received {"connection_id":170656,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:08:59] local.INFO: Processing buffer {"connection_id":170656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:08:59] local.INFO: IMEI packet received {"connection_id":170656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":170656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:08:59] local.INFO: TCP Data received {"connection_id":170657,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:08:59] local.INFO: Processing buffer {"connection_id":170657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:08:59] local.INFO: IMEI packet received {"connection_id":170657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":170657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:09:00] local.INFO: TCP Data received {"connection_id":170657,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:09:00] local.INFO: Processing buffer {"connection_id":170657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:09:00] local.INFO: IMEI packet received {"connection_id":170657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":170657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:09:01] local.INFO: TCP Data received {"connection_id":170656,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5961d8012d18aa8007217348004f01362a..."} 
[2026-09-04 13:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5961d8012d18aa8007217348004f01362a..."} 
[2026-09-04 13:09:01] local.INFO: Processing buffer {"connection_id":170656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5961d8012d18aa8007217348004f01362a..."} 
[2026-09-04 13:09:01] local.INFO: Packet analysis {"connection_id":170656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:09:01] local.INFO: Extracted packet for processing {"connection_id":170656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:09:01] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632712,"longitude_deg":75.6591232,"latitude_deg":11.9632712,"altitude":79,"angle":310,"satellites":42,"speed":7,"hex_longitude":"2d18aa80","hex_latitude":"07217348","is_valid_coordinates":true} 
[2026-09-04 13:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857897984001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211720661467136,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777584877297922048,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788507415000,"timestamp_ms":1788507415000,"timestamp_seconds":1788507415,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5961d8"} 
[2026-09-04 13:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 13:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857897984001,"66":14102,"121":206,"28":31744,"24":7,"16":17211720661467136,"45":1777584877297922048},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857897984001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:09:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:09:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211720661467136,"km_value":17211720661467.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777584877297922048,"description":"Unknown IO ID 45"} 
[2026-09-04 13:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857897984001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1777584877297922048}} 
[2026-09-04 13:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":170656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:09:01] local.INFO: GPS data processed {"connection_id":170656,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:09:01] local.INFO: Acknowledgment sent {"connection_id":170656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:09:03] local.INFO: TCP Data received {"connection_id":170656,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5969a8012d18a94007217408004f01252c..."} 
[2026-09-04 13:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5969a8012d18a94007217408004f01252c..."} 
[2026-09-04 13:09:03] local.INFO: Processing buffer {"connection_id":170656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5969a8012d18a94007217408004f01252c..."} 
[2026-09-04 13:09:03] local.INFO: Packet analysis {"connection_id":170656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:09:03] local.INFO: Extracted packet for processing {"connection_id":170656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119632904,"longitude_deg":75.6590912,"latitude_deg":11.9632904,"altitude":79,"angle":293,"satellites":44,"speed":11,"hex_longitude":"2d18a940","hex_latitude":"07217408","is_valid_coordinates":true} 
[2026-09-04 13:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857898240001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17211742136303616,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065411584,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788507417000,"timestamp_ms":1788507417000,"timestamp_seconds":1788507417,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5969a8"} 
[2026-09-04 13:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 13:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":170656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":170656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":170656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857898240001,"66":14243,"121":206,"28":31744,"24":11,"16":17211742136303616,"45":1777373771065411584},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857898240001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:09:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:09:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17211742136303616,"km_value":17211742136303.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065411584,"description":"Unknown IO ID 45"} 
[2026-09-04 13:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857898240001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1777373771065411584}} 
[2026-09-04 13:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":170656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:09:03] local.INFO: GPS data processed {"connection_id":170656,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:09:03] local.INFO: Acknowledgment sent {"connection_id":170656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:09:10] local.INFO: TCP Data received {"connection_id":170657,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:09:10] local.INFO: Processing buffer {"connection_id":170657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:09:10] local.INFO: IMEI packet received {"connection_id":170657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":170657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:09:11] local.INFO: TCP Data received {"connection_id":170657,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5a4c38012cc32b00075576a0000e014d30..."} 
[2026-09-04 13:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5a4c38012cc32b00075576a0000e014d30..."} 
[2026-09-04 13:09:11] local.INFO: Processing buffer {"connection_id":170657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5a4c38012cc32b00075576a0000e014d30..."} 
[2026-09-04 13:09:11] local.INFO: Packet analysis {"connection_id":170657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5a"} 
[2026-09-04 13:09:11] local.INFO: Extracted packet for processing {"connection_id":170657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5a"} 
[2026-09-04 13:09:11] local.INFO: GPS Element Parsed {"raw_longitude":750988032,"raw_latitude":123041440,"longitude_deg":75.0988032,"latitude_deg":12.304144,"altitude":14,"angle":333,"satellites":48,"speed":49,"hex_longitude":"2cc32b00","hex_latitude":"075576a0","is_valid_coordinates":true} 
[2026-09-04 13:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857911552001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397859832993939456,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4378906181191301120,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788507475000,"timestamp_ms":1788507475000,"timestamp_seconds":1788507475,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5a4c38"} 
[2026-09-04 13:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 13:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857911552001,"66":27908,"84":206,"85":37120,"24":49,"16":397859832993939456,"44":-4378906181191301120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-09-04 13:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857911552001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:09:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-04 13:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397859832993939456,"km_value":397859832993939.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4378906181191301120,"description":"Unknown IO ID 44"} 
[2026-09-04 13:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857911552001,"power":27908,"unknown_84":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4378906181191301120}} 
[2026-09-04 13:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":170657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:09:11] local.INFO: GPS data processed {"connection_id":170657,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:09:11] local.INFO: Acknowledgment sent {"connection_id":170657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:09:12] local.INFO: TCP Data received {"connection_id":170657,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5a6790012cc31b00075596b8000f01502f..."} 
[2026-09-04 13:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5a6790012cc31b00075596b8000f01502f..."} 
[2026-09-04 13:09:12] local.INFO: Processing buffer {"connection_id":170657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5a6790012cc31b00075596b8000f01502f..."} 
[2026-09-04 13:09:12] local.INFO: Packet analysis {"connection_id":170657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5a"} 
[2026-09-04 13:09:12] local.INFO: Extracted packet for processing {"connection_id":170657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5a"} 
[2026-09-04 13:09:12] local.INFO: GPS Element Parsed {"raw_longitude":750983936,"raw_latitude":123049656,"longitude_deg":75.0983936,"latitude_deg":12.3049656,"altitude":15,"angle":336,"satellites":47,"speed":53,"hex_longitude":"2cc31b00","hex_latitude":"075596b8","is_valid_coordinates":true} 
[2026-09-04 13:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857913600001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397860275375570944,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4383409780816437248,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788507482000,"timestamp_ms":1788507482000,"timestamp_seconds":1788507482,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5a6790"} 
[2026-09-04 13:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 13:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":170657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":170657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":170657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857913600001,"66":27974,"84":206,"85":37120,"24":53,"16":397860275375570944,"44":-4383409780816437248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-09-04 13:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857913600001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:09:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-04 13:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397860275375570944,"km_value":397860275375570.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4383409780816437248,"description":"Unknown IO ID 44"} 
[2026-09-04 13:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857913600001,"power":27974,"unknown_84":206,"unknown_85":37120,"ignition":53,"odometer":null,"unknown_44":-4383409780816437248}} 
[2026-09-04 13:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":170657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:09:12] local.INFO: GPS data processed {"connection_id":170657,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:09:12] local.INFO: Acknowledgment sent {"connection_id":170657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:09:28] local.INFO: TCP Data received {"connection_id":173369,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:09:28] local.INFO: Processing buffer {"connection_id":173369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:09:28] local.INFO: Packet analysis {"connection_id":173369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:09:28] local.INFO: Extracted packet for processing {"connection_id":173369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:09:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857817600001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788507401000,"timestamp_ms":1788507401000,"timestamp_seconds":1788507401,"priority":1,"record_length":96,"hex_timestamp":"000001a06b592b28"} 
[2026-09-04 13:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 13:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857817600001,"66":24995,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857817600001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:09:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:09:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857817600001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":173369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:09:28] local.INFO: GPS data processed {"connection_id":173369,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:09:28] local.INFO: Acknowledgment sent {"connection_id":173369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:09:44] local.INFO: TCP Data received {"connection_id":170657,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5a82e8012cc30ac00755b7980010014930..."} 
[2026-09-04 13:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5a82e8012cc30ac00755b7980010014930..."} 
[2026-09-04 13:09:44] local.INFO: Processing buffer {"connection_id":170657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5a82e8012cc30ac00755b7980010014930..."} 
[2026-09-04 13:09:44] local.INFO: Packet analysis {"connection_id":170657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5a"} 
[2026-09-04 13:09:44] local.INFO: Extracted packet for processing {"connection_id":170657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5a"} 
[2026-09-04 13:09:44] local.INFO: GPS Element Parsed {"raw_longitude":750979776,"raw_latitude":123058072,"longitude_deg":75.0979776,"latitude_deg":12.3058072,"altitude":16,"angle":329,"satellites":48,"speed":50,"hex_longitude":"2cc30ac0","hex_latitude":"0755b798","is_valid_coordinates":true} 
[2026-09-04 13:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857915392001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397860726347137024,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4387913380441704448,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788507489000,"timestamp_ms":1788507489000,"timestamp_seconds":1788507489,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5a82e8"} 
[2026-09-04 13:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 13:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":170657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":170657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":170657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857915392001,"66":27865,"84":206,"85":37120,"24":50,"16":397860726347137024,"44":-4387913380441704448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-09-04 13:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857915392001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:09:44] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-04 13:09:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397860726347137024,"km_value":397860726347137.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:09:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4387913380441704448,"description":"Unknown IO ID 44"} 
[2026-09-04 13:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857915392001,"power":27865,"unknown_84":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4387913380441704448}} 
[2026-09-04 13:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":170657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:09:44] local.INFO: GPS data processed {"connection_id":170657,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:09:44] local.INFO: Acknowledgment sent {"connection_id":170657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:09:49] local.INFO: TCP Data received {"connection_id":170961,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:09:49] local.INFO: Processing buffer {"connection_id":170961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:09:49] local.INFO: IMEI packet received {"connection_id":170961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":170961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:09:49] local.INFO: TCP Data received {"connection_id":172071,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:09:49] local.INFO: Processing buffer {"connection_id":172071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:09:49] local.INFO: IMEI packet received {"connection_id":172071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":172071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:09:53] local.INFO: TCP Data received {"connection_id":170961,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:09:53] local.INFO: Processing buffer {"connection_id":170961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:09:53] local.INFO: IMEI packet received {"connection_id":170961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":170961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:09:54] local.INFO: TCP Data received {"connection_id":172071,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:09:54] local.INFO: Processing buffer {"connection_id":172071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:09:54] local.INFO: IMEI packet received {"connection_id":172071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":172071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:09:54] local.INFO: TCP Data received {"connection_id":170961,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5b03d0012d1824c00721b6d0004c00052e..."} 
[2026-09-04 13:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5b03d0012d1824c00721b6d0004c00052e..."} 
[2026-09-04 13:09:54] local.INFO: Processing buffer {"connection_id":170961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5b03d0012d1824c00721b6d0004c00052e..."} 
[2026-09-04 13:09:54] local.INFO: Packet analysis {"connection_id":170961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5b"} 
[2026-09-04 13:09:54] local.INFO: Extracted packet for processing {"connection_id":170961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5b"} 
[2026-09-04 13:09:54] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650000,"longitude_deg":75.6556992,"latitude_deg":11.965,"altitude":76,"angle":5,"satellites":46,"speed":8,"hex_longitude":"2d1824c0","hex_latitude":"0721b6d0","is_valid_coordinates":true} 
[2026-09-04 13:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857922304001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213825195442176,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864527872,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788507522000,"timestamp_ms":1788507522000,"timestamp_seconds":1788507522,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5b03d0"} 
[2026-09-04 13:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 13:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857922304001,"66":13167,"120":206,"28":31744,"24":8,"16":17213825195442176,"45":1737545061864527872},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857922304001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:09:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:09:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213825195442176,"km_value":17213825195442.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864527872,"description":"Unknown IO ID 45"} 
[2026-09-04 13:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857922304001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737545061864527872}} 
[2026-09-04 13:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":170961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:09:55] local.INFO: GPS data processed {"connection_id":170961,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:09:55] local.INFO: Acknowledgment sent {"connection_id":170961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:09:55] local.INFO: TCP Data received {"connection_id":172071,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:09:55] local.INFO: Processing buffer {"connection_id":172071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:09:55] local.INFO: Packet analysis {"connection_id":172071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:09:55] local.INFO: Extracted packet for processing {"connection_id":172071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857817600001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788507401000,"timestamp_ms":1788507401000,"timestamp_seconds":1788507401,"priority":1,"record_length":96,"hex_timestamp":"000001a06b592b28"} 
[2026-09-04 13:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 13:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172071,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172071,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857817600001,"66":24995,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857817600001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:09:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857817600001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":172071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:09:55] local.INFO: GPS data processed {"connection_id":172071,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:09:55] local.INFO: Acknowledgment sent {"connection_id":172071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:09:56] local.INFO: TCP Data received {"connection_id":173370,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:09:56] local.INFO: Processing buffer {"connection_id":173370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:09:56] local.INFO: IMEI packet received {"connection_id":173370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":173370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:09:59] local.INFO: TCP Data received {"connection_id":173370,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:09:59] local.INFO: Processing buffer {"connection_id":173370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:09:59] local.INFO: IMEI packet received {"connection_id":173370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":173370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:10:04] local.INFO: TCP Data received {"connection_id":173370,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:10:04] local.INFO: Processing buffer {"connection_id":173370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:10:04] local.INFO: IMEI packet received {"connection_id":173370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":173370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:10:05] local.INFO: TCP Data received {"connection_id":173370,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5aa228012cc2f7000755d888001001482f..."} 
[2026-09-04 13:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5aa228012cc2f7000755d888001001482f..."} 
[2026-09-04 13:10:05] local.INFO: Processing buffer {"connection_id":173370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5aa228012cc2f7000755d888001001482f..."} 
[2026-09-04 13:10:05] local.INFO: Packet analysis {"connection_id":173370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5a"} 
[2026-09-04 13:10:05] local.INFO: Extracted packet for processing {"connection_id":173370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5a"} 
[2026-09-04 13:10:05] local.INFO: GPS Element Parsed {"raw_longitude":750974720,"raw_latitude":123066504,"longitude_deg":75.097472,"latitude_deg":12.3066504,"altitude":16,"angle":328,"satellites":47,"speed":45,"hex_longitude":"2cc2f700","hex_latitude":"0755d888","is_valid_coordinates":true} 
[2026-09-04 13:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857917184001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397861203088506880,"note":"Value kept but may cause issues"} 
[2026-09-04 13:10:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4392487348811098112,"note":"Value kept but may cause issues"} 
[2026-09-04 13:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507497000,"timestamp_ms":1788507497000,"timestamp_seconds":1788507497,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5aa228"} 
[2026-09-04 13:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 13:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857917184001,"66":27919,"84":206,"85":37120,"24":45,"16":397861203088506880,"44":-4392487348811098112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-09-04 13:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857917184001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:10:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-04 13:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397861203088506880,"km_value":397861203088506.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:10:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4392487348811098112,"description":"Unknown IO ID 44"} 
[2026-09-04 13:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857917184001,"power":27919,"unknown_84":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4392487348811098112}} 
[2026-09-04 13:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":173370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:10:05] local.INFO: GPS data processed {"connection_id":173370,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:10:05] local.INFO: Acknowledgment sent {"connection_id":173370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:10:27] local.INFO: TCP Data received {"connection_id":170961,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5b07b8012d1824800721b788004b014b2e..."} 
[2026-09-04 13:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5b07b8012d1824800721b788004b014b2e..."} 
[2026-09-04 13:10:27] local.INFO: Processing buffer {"connection_id":170961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5b07b8012d1824800721b788004b014b2e..."} 
[2026-09-04 13:10:27] local.INFO: Packet analysis {"connection_id":170961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5b"} 
[2026-09-04 13:10:27] local.INFO: Extracted packet for processing {"connection_id":170961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5b"} 
[2026-09-04 13:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650184,"longitude_deg":75.6556928,"latitude_deg":11.9650184,"altitude":75,"angle":331,"satellites":46,"speed":7,"hex_longitude":"2d182480","hex_latitude":"0721b788","is_valid_coordinates":true} 
[2026-09-04 13:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857925632001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213838080344064,"note":"Value kept but may cause issues"} 
[2026-09-04 13:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934787072,"note":"Value kept but may cause issues"} 
[2026-09-04 13:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788507523000,"timestamp_ms":1788507523000,"timestamp_seconds":1788507523,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5b07b8"} 
[2026-09-04 13:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-04 13:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857925632001,"66":12776,"120":206,"28":31744,"24":7,"16":17213838080344064,"45":1739726492934787072},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857925632001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:10:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213838080344064,"km_value":17213838080344.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934787072,"description":"Unknown IO ID 45"} 
[2026-09-04 13:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857925632001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1739726492934787072}} 
[2026-09-04 13:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":170961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:10:27] local.INFO: GPS data processed {"connection_id":170961,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:10:27] local.INFO: Acknowledgment sent {"connection_id":170961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:10:27] local.INFO: TCP Data received {"connection_id":172071,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:10:27] local.INFO: Processing buffer {"connection_id":172071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:10:27] local.INFO: Packet analysis {"connection_id":172071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:10:27] local.INFO: Extracted packet for processing {"connection_id":172071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:10:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857817600001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788507401000,"timestamp_ms":1788507401000,"timestamp_seconds":1788507401,"priority":1,"record_length":96,"hex_timestamp":"000001a06b592b28"} 
[2026-09-04 13:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 13:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172071,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172071,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857817600001,"66":24995,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857817600001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:10:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857817600001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":172071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:10:27] local.INFO: GPS data processed {"connection_id":172071,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:10:27] local.INFO: Acknowledgment sent {"connection_id":172071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:10:36] local.INFO: TCP Data received {"connection_id":173370,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5bbb68012cc24f000756b3d8001401382d..."} 
[2026-09-04 13:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5bbb68012cc24f000756b3d8001401382d..."} 
[2026-09-04 13:10:36] local.INFO: Processing buffer {"connection_id":173370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5bbb68012cc24f000756b3d8001401382d..."} 
[2026-09-04 13:10:36] local.INFO: Packet analysis {"connection_id":173370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5b"} 
[2026-09-04 13:10:36] local.INFO: Extracted packet for processing {"connection_id":173370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5b"} 
[2026-09-04 13:10:36] local.INFO: GPS Element Parsed {"raw_longitude":750931712,"raw_latitude":123122648,"longitude_deg":75.0931712,"latitude_deg":12.3122648,"altitude":20,"angle":312,"satellites":45,"speed":26,"hex_longitude":"2cc24f00","hex_latitude":"0756b3d8","is_valid_coordinates":true} 
[2026-09-04 13:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857934848001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397864673422082048,"note":"Value kept but may cause issues"} 
[2026-09-04 13:10:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4437593713813420032,"note":"Value kept but may cause issues"} 
[2026-09-04 13:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788507569000,"timestamp_ms":1788507569000,"timestamp_seconds":1788507569,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5bbb68"} 
[2026-09-04 13:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 13:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857934848001,"66":27865,"103":206,"85":37120,"24":26,"16":397864673422082048,"44":-4437593713813420032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857934848001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:10:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397864673422082048,"km_value":397864673422082.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4437593713813420032,"description":"Unknown IO ID 44"} 
[2026-09-04 13:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857934848001,"power":27865,"unknown_103":206,"unknown_85":37120,"ignition":26,"odometer":null,"unknown_44":-4437593713813420032}} 
[2026-09-04 13:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":173370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:10:36] local.INFO: GPS data processed {"connection_id":173370,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:10:36] local.INFO: Acknowledgment sent {"connection_id":173370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:10:46] local.INFO: TCP Data received {"connection_id":170658,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:10:46] local.INFO: Processing buffer {"connection_id":170658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:10:46] local.INFO: IMEI packet received {"connection_id":170658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":170658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:10:54] local.INFO: TCP Data received {"connection_id":170962,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:10:54] local.INFO: Processing buffer {"connection_id":170962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:10:54] local.INFO: IMEI packet received {"connection_id":170962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":170962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:10:55] local.INFO: TCP Data received {"connection_id":170658,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:10:55] local.INFO: Processing buffer {"connection_id":170658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:10:55] local.INFO: IMEI packet received {"connection_id":170658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":170658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:10:55] local.INFO: TCP Data received {"connection_id":170658,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:10:55] local.INFO: Processing buffer {"connection_id":170658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:10:55] local.INFO: IMEI packet received {"connection_id":170658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":170658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:10:58] local.INFO: TCP Data received {"connection_id":170658,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:10:58] local.INFO: Processing buffer {"connection_id":170658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:10:58] local.INFO: IMEI packet received {"connection_id":170658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":170658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:10:58] local.INFO: TCP Data received {"connection_id":170963,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:10:58] local.INFO: Processing buffer {"connection_id":170963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:10:58] local.INFO: IMEI packet received {"connection_id":170963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":170963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:10:59] local.INFO: TCP Data received {"connection_id":170963,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:10:59] local.INFO: Processing buffer {"connection_id":170963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:10:59] local.INFO: IMEI packet received {"connection_id":170963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":170963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:10:59] local.INFO: TCP Data received {"connection_id":170962,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:10:59] local.INFO: Processing buffer {"connection_id":170962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:10:59] local.INFO: IMEI packet received {"connection_id":170962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":170962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:11:01] local.INFO: TCP Data received {"connection_id":170962,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:11:01] local.INFO: Processing buffer {"connection_id":170962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:11:01] local.INFO: Packet analysis {"connection_id":170962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:11:01] local.INFO: Extracted packet for processing {"connection_id":170962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:11:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857817600001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788507401000,"timestamp_ms":1788507401000,"timestamp_seconds":1788507401,"priority":1,"record_length":96,"hex_timestamp":"000001a06b592b28"} 
[2026-09-04 13:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 13:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857817600001,"66":24995,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857817600001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:11:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:11:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857817600001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":170962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:11:01] local.INFO: GPS data processed {"connection_id":170962,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:11:01] local.INFO: Acknowledgment sent {"connection_id":170962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:11:04] local.INFO: TCP Data received {"connection_id":170963,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:11:04] local.INFO: Processing buffer {"connection_id":170963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:11:04] local.INFO: IMEI packet received {"connection_id":170963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":170963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:11:05] local.INFO: TCP Data received {"connection_id":170963,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5bcb08012cc247c00756bb50001301462d..."} 
[2026-09-04 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5bcb08012cc247c00756bb50001301462d..."} 
[2026-09-04 13:11:05] local.INFO: Processing buffer {"connection_id":170963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5bcb08012cc247c00756bb50001301462d..."} 
[2026-09-04 13:11:05] local.INFO: Packet analysis {"connection_id":170963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5b"} 
[2026-09-04 13:11:05] local.INFO: Extracted packet for processing {"connection_id":170963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5b"} 
[2026-09-04 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":750929856,"raw_latitude":123124560,"longitude_deg":75.0929856,"latitude_deg":12.312456,"altitude":19,"angle":326,"satellites":45,"speed":25,"hex_longitude":"2cc247c0","hex_latitude":"0756bb50","is_valid_coordinates":true} 
[2026-09-04 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857937664001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397864802271100928,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4445334275671992320,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507573000,"timestamp_ms":1788507573000,"timestamp_seconds":1788507573,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5bcb08"} 
[2026-09-04 13:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 13:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857937664001,"66":27604,"103":206,"85":37120,"24":25,"16":397864802271100928,"44":-4445334275671992320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857937664001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:11:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397864802271100928,"km_value":397864802271100.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:11:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4445334275671992320,"description":"Unknown IO ID 44"} 
[2026-09-04 13:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857937664001,"power":27604,"unknown_103":206,"unknown_85":37120,"ignition":25,"odometer":null,"unknown_44":-4445334275671992320}} 
[2026-09-04 13:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":170963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:11:05] local.INFO: GPS data processed {"connection_id":170963,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:11:05] local.INFO: Acknowledgment sent {"connection_id":170963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:11:05] local.INFO: TCP Data received {"connection_id":170962,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:11:05] local.INFO: Processing buffer {"connection_id":170962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:11:05] local.INFO: Packet analysis {"connection_id":170962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:11:05] local.INFO: Extracted packet for processing {"connection_id":170962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857817600001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507401000,"timestamp_ms":1788507401000,"timestamp_seconds":1788507401,"priority":1,"record_length":96,"hex_timestamp":"000001a06b592b28"} 
[2026-09-04 13:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 13:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857817600001,"66":24995,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857817600001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:11:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857817600001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:11:05] local.INFO: TCP Data received {"connection_id":170658,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5b0ba0012d1824400721b7f0004b012a2e..."} 
[2026-09-04 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5b0ba0012d1824400721b7f0004b012a2e..."} 
[2026-09-04 13:11:05] local.INFO: Processing buffer {"connection_id":170658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5b0ba0012d1824400721b7f0004b012a2e..."} 
[2026-09-04 13:11:05] local.INFO: Packet analysis {"connection_id":170658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5b"} 
[2026-09-04 13:11:05] local.INFO: Extracted packet for processing {"connection_id":170658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5b"} 
[2026-09-04 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650288,"longitude_deg":75.6556864,"latitude_deg":11.9650288,"altitude":75,"angle":298,"satellites":46,"speed":5,"hex_longitude":"2d182440","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-09-04 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857925888001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213842375311360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190656512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507524000,"timestamp_ms":1788507524000,"timestamp_seconds":1788507524,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5b0ba0"} 
[2026-09-04 13:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 13:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857925888001,"66":12776,"120":206,"28":31744,"24":5,"16":17213842375311360,"45":1739656124190656512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857925888001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:11:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213842375311360,"km_value":17213842375311.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190656512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857925888001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739656124190656512}} 
[2026-09-04 13:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":170962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762435,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:11:05] local.INFO: GPS data processed {"connection_id":170962,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:11:05] local.INFO: Acknowledgment sent {"connection_id":170962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":170658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:11:05] local.INFO: GPS data processed {"connection_id":170658,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:11:05] local.INFO: Acknowledgment sent {"connection_id":170658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:11:07] local.INFO: TCP Data received {"connection_id":170658,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5b5da8012d1823000721b568004a012a2c..."} 
[2026-09-04 13:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5b5da8012d1823000721b568004a012a2c..."} 
[2026-09-04 13:11:07] local.INFO: Processing buffer {"connection_id":170658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5b5da8012d1823000721b568004a012a2c..."} 
[2026-09-04 13:11:07] local.INFO: Packet analysis {"connection_id":170658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5b"} 
[2026-09-04 13:11:07] local.INFO: Extracted packet for processing {"connection_id":170658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5b"} 
[2026-09-04 13:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649640,"longitude_deg":75.6556544,"latitude_deg":11.964964,"altitude":74,"angle":298,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b568","is_valid_coordinates":true} 
[2026-09-04 13:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857926144001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213902504853504,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446505472,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788507545000,"timestamp_ms":1788507545000,"timestamp_seconds":1788507545,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5b5da8"} 
[2026-09-04 13:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 13:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857926144001,"66":13135,"120":206,"28":31744,"24":0,"16":17213902504853504,"45":1739585755446505472},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857926144001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:11:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213902504853504,"km_value":17213902504853.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446505472,"description":"Unknown IO ID 45"} 
[2026-09-04 13:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857926144001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446505472}} 
[2026-09-04 13:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":170658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:11:07] local.INFO: GPS data processed {"connection_id":170658,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:11:07] local.INFO: Acknowledgment sent {"connection_id":170658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:11:36] local.INFO: TCP Data received {"connection_id":170963,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5c01b8012cc230c00756d830001701422e..."} 
[2026-09-04 13:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5c01b8012cc230c00756d830001701422e..."} 
[2026-09-04 13:11:36] local.INFO: Processing buffer {"connection_id":170963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5c01b8012cc230c00756d830001701422e..."} 
[2026-09-04 13:11:36] local.INFO: Packet analysis {"connection_id":170963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:11:36] local.INFO: Extracted packet for processing {"connection_id":170963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":750923968,"raw_latitude":123131952,"longitude_deg":75.0923968,"latitude_deg":12.3131952,"altitude":23,"angle":322,"satellites":46,"speed":24,"hex_longitude":"2cc230c0","hex_latitude":"0756d830","is_valid_coordinates":true} 
[2026-09-04 13:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857938688001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397865253242667008,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4447374969252655104,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788507587000,"timestamp_ms":1788507587000,"timestamp_seconds":1788507587,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5c01b8"} 
[2026-09-04 13:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-04 13:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857938688001,"66":27995,"103":206,"85":37120,"24":24,"16":397865253242667008,"44":-4447374969252655104},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857938688001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:11:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397865253242667008,"km_value":397865253242667.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:11:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4447374969252655104,"description":"Unknown IO ID 44"} 
[2026-09-04 13:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857938688001,"power":27995,"unknown_103":206,"unknown_85":37120,"ignition":24,"odometer":null,"unknown_44":-4447374969252655104}} 
[2026-09-04 13:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":170963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:11:36] local.INFO: GPS data processed {"connection_id":170963,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:11:36] local.INFO: Acknowledgment sent {"connection_id":170963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:11:48] local.INFO: TCP Data received {"connection_id":172073,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:11:48] local.INFO: Processing buffer {"connection_id":172073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:11:48] local.INFO: IMEI packet received {"connection_id":172073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":172073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:11:49] local.INFO: TCP Data received {"connection_id":172072,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:11:49] local.INFO: Processing buffer {"connection_id":172072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:11:49] local.INFO: IMEI packet received {"connection_id":172072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":172072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:11:49] local.INFO: TCP Data received {"connection_id":172073,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:11:49] local.INFO: Processing buffer {"connection_id":172073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:11:49] local.INFO: IMEI packet received {"connection_id":172073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":172073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:11:54] local.INFO: TCP Data received {"connection_id":172073,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:11:54] local.INFO: Processing buffer {"connection_id":172073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:11:54] local.INFO: IMEI packet received {"connection_id":172073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":172073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:11:54] local.INFO: TCP Data received {"connection_id":172072,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:11:54] local.INFO: Processing buffer {"connection_id":172072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:11:54] local.INFO: IMEI packet received {"connection_id":172072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":172072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:11:55] local.INFO: TCP Data received {"connection_id":172073,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5bafb0012d1823000721b568004a012a2d..."} 
[2026-09-04 13:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5bafb0012d1823000721b568004a012a2d..."} 
[2026-09-04 13:11:55] local.INFO: Processing buffer {"connection_id":172073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5bafb0012d1823000721b568004a012a2d..."} 
[2026-09-04 13:11:55] local.INFO: Packet analysis {"connection_id":172073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5b"} 
[2026-09-04 13:11:55] local.INFO: Extracted packet for processing {"connection_id":172073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5b"} 
[2026-09-04 13:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649640,"longitude_deg":75.6556544,"latitude_deg":11.964964,"altitude":74,"angle":298,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b568","is_valid_coordinates":true} 
[2026-09-04 13:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857931520001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213902504853504,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725451264,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788507566000,"timestamp_ms":1788507566000,"timestamp_seconds":1788507566,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5bafb0"} 
[2026-09-04 13:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-04 13:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857931520001,"66":13080,"120":206,"28":31744,"24":0,"16":17213902504853504,"45":1739233911725451264},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857931520001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:11:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:11:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213902504853504,"km_value":17213902504853.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725451264,"description":"Unknown IO ID 45"} 
[2026-09-04 13:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857931520001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725451264}} 
[2026-09-04 13:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":172073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:11:55] local.INFO: GPS data processed {"connection_id":172073,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:11:55] local.INFO: Acknowledgment sent {"connection_id":172073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:11:56] local.INFO: TCP Data received {"connection_id":172072,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:11:56] local.INFO: Processing buffer {"connection_id":172072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b592b28012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:11:56] local.INFO: Packet analysis {"connection_id":172072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:11:56] local.INFO: Extracted packet for processing {"connection_id":172072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b59"} 
[2026-09-04 13:11:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857817600001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788507401000,"timestamp_ms":1788507401000,"timestamp_seconds":1788507401,"priority":1,"record_length":96,"hex_timestamp":"000001a06b592b28"} 
[2026-09-04 13:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 13:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172072,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172072,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857817600001,"66":24995,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857817600001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:11:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:11:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857817600001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":172072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:11:56] local.INFO: GPS data processed {"connection_id":172072,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:11:56] local.INFO: Acknowledgment sent {"connection_id":172072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:11:59] local.INFO: TCP Data received {"connection_id":170659,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:11:59] local.INFO: Processing buffer {"connection_id":170659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:11:59] local.INFO: IMEI packet received {"connection_id":170659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":170659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:12:01] local.INFO: TCP Data received {"connection_id":170659,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:12:01] local.INFO: Processing buffer {"connection_id":170659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:12:01] local.INFO: IMEI packet received {"connection_id":170659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":170659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:12:04] local.INFO: TCP Data received {"connection_id":170659,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:12:04] local.INFO: Processing buffer {"connection_id":170659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:12:04] local.INFO: IMEI packet received {"connection_id":170659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":170659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:12:05] local.INFO: TCP Data received {"connection_id":170659,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5c3480012cc219000756f5c80017013a2e..."} 
[2026-09-04 13:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5c3480012cc219000756f5c80017013a2e..."} 
[2026-09-04 13:12:05] local.INFO: Processing buffer {"connection_id":170659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5c3480012cc219000756f5c80017013a2e..."} 
[2026-09-04 13:12:05] local.INFO: Packet analysis {"connection_id":170659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:12:05] local.INFO: Extracted packet for processing {"connection_id":170659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:12:05] local.INFO: GPS Element Parsed {"raw_longitude":750917888,"raw_latitude":123139528,"longitude_deg":75.0917888,"latitude_deg":12.3139528,"altitude":23,"angle":314,"satellites":46,"speed":37,"hex_longitude":"2cc21900","hex_latitude":"0756f5c8","is_valid_coordinates":true} 
[2026-09-04 13:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857942272001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397865721394102272,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4453848893715107840,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507600000,"timestamp_ms":1788507600000,"timestamp_seconds":1788507600,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5c3480"} 
[2026-09-04 13:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 13:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857942272001,"66":27974,"103":206,"85":37120,"24":37,"16":397865721394102272,"44":-4453848893715107840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857942272001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:12:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397865721394102272,"km_value":397865721394102.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:12:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4453848893715107840,"description":"Unknown IO ID 44"} 
[2026-09-04 13:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857942272001,"power":27974,"unknown_103":206,"unknown_85":37120,"ignition":37,"odometer":null,"unknown_44":-4453848893715107840}} 
[2026-09-04 13:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":170659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:12:05] local.INFO: GPS data processed {"connection_id":170659,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:12:05] local.INFO: Acknowledgment sent {"connection_id":170659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:12:27] local.INFO: TCP Data received {"connection_id":172073,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5c01b8012d1823000721b568004a012a2e..."} 
[2026-09-04 13:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5c01b8012d1823000721b568004a012a2e..."} 
[2026-09-04 13:12:27] local.INFO: Processing buffer {"connection_id":172073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5c01b8012d1823000721b568004a012a2e..."} 
[2026-09-04 13:12:27] local.INFO: Packet analysis {"connection_id":172073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:12:27] local.INFO: Extracted packet for processing {"connection_id":172073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649640,"longitude_deg":75.6556544,"latitude_deg":11.964964,"altitude":74,"angle":298,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b568","is_valid_coordinates":true} 
[2026-09-04 13:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857936896001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213902504853504,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725451264,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788507587000,"timestamp_ms":1788507587000,"timestamp_seconds":1788507587,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5c01b8"} 
[2026-09-04 13:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 13:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857936896001,"66":13004,"120":206,"28":31744,"24":0,"16":17213902504853504,"45":1739233911725451264},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857936896001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:12:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:12:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213902504853504,"km_value":17213902504853.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725451264,"description":"Unknown IO ID 45"} 
[2026-09-04 13:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857936896001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725451264}} 
[2026-09-04 13:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":172073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:12:27] local.INFO: GPS data processed {"connection_id":172073,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:12:27] local.INFO: Acknowledgment sent {"connection_id":172073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:12:28] local.INFO: TCP Data received {"connection_id":172072,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:12:28] local.INFO: Processing buffer {"connection_id":172072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:12:28] local.INFO: Packet analysis {"connection_id":172072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:12:28] local.INFO: Extracted packet for processing {"connection_id":172072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:12:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857894656001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788507702000,"timestamp_ms":1788507702000,"timestamp_seconds":1788507702,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5dc2f0"} 
[2026-09-04 13:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 13:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172072,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172072,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857894656001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857894656001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:12:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:12:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857894656001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":172072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762443,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:12:28] local.INFO: GPS data processed {"connection_id":172072,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:12:28] local.INFO: Acknowledgment sent {"connection_id":172072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:12:36] local.INFO: TCP Data received {"connection_id":170659,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5c57a8012cc1ff8007570de8001601382e..."} 
[2026-09-04 13:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5c57a8012cc1ff8007570de8001601382e..."} 
[2026-09-04 13:12:36] local.INFO: Processing buffer {"connection_id":170659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5c57a8012cc1ff8007570de8001601382e..."} 
[2026-09-04 13:12:36] local.INFO: Packet analysis {"connection_id":170659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:12:36] local.INFO: Extracted packet for processing {"connection_id":170659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:12:36] local.INFO: GPS Element Parsed {"raw_longitude":750911360,"raw_latitude":123145704,"longitude_deg":75.091136,"latitude_deg":12.3145704,"altitude":22,"angle":312,"satellites":46,"speed":37,"hex_longitude":"2cc1ff80","hex_latitude":"07570de8","is_valid_coordinates":true} 
[2026-09-04 13:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857945600001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866155185799168,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4460533924410046464,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788507609000,"timestamp_ms":1788507609000,"timestamp_seconds":1788507609,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5c57a8"} 
[2026-09-04 13:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 13:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857945600001,"66":27876,"103":206,"85":37120,"24":37,"16":397866155185799168,"44":-4460533924410046464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857945600001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:12:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866155185799168,"km_value":397866155185799.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:12:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4460533924410046464,"description":"Unknown IO ID 44"} 
[2026-09-04 13:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857945600001,"power":27876,"unknown_103":206,"unknown_85":37120,"ignition":37,"odometer":null,"unknown_44":-4460533924410046464}} 
[2026-09-04 13:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":170659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:12:36] local.INFO: GPS data processed {"connection_id":170659,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:12:36] local.INFO: Acknowledgment sent {"connection_id":170659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:12:48] local.INFO: TCP Data received {"connection_id":170964,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:12:48] local.INFO: Processing buffer {"connection_id":170964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:12:48] local.INFO: IMEI packet received {"connection_id":170964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":170964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:12:50] local.INFO: TCP Data received {"connection_id":173371,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:12:50] local.INFO: Processing buffer {"connection_id":173371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:12:50] local.INFO: IMEI packet received {"connection_id":173371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":173371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:12:53] local.INFO: TCP Data received {"connection_id":170964,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:12:53] local.INFO: Processing buffer {"connection_id":170964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:12:53] local.INFO: IMEI packet received {"connection_id":170964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":170964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:12:54] local.INFO: TCP Data received {"connection_id":173371,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:12:54] local.INFO: Processing buffer {"connection_id":173371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:12:54] local.INFO: IMEI packet received {"connection_id":173371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":173371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:12:54] local.INFO: TCP Data received {"connection_id":170964,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5c53c0012d1823000721b568004a012a2f..."} 
[2026-09-04 13:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5c53c0012d1823000721b568004a012a2f..."} 
[2026-09-04 13:12:54] local.INFO: Processing buffer {"connection_id":170964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5c53c0012d1823000721b568004a012a2f..."} 
[2026-09-04 13:12:54] local.INFO: Packet analysis {"connection_id":170964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:12:54] local.INFO: Extracted packet for processing {"connection_id":170964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:12:54] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649640,"longitude_deg":75.6556544,"latitude_deg":11.964964,"altitude":74,"angle":298,"satellites":47,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b568","is_valid_coordinates":true} 
[2026-09-04 13:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857942272001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213902504853504,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725451264,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788507608000,"timestamp_ms":1788507608000,"timestamp_seconds":1788507608,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5c53c0"} 
[2026-09-04 13:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 13:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857942272001,"66":13004,"120":206,"28":31744,"24":0,"16":17213902504853504,"45":1739233911725451264},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857942272001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:12:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:12:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213902504853504,"km_value":17213902504853.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725451264,"description":"Unknown IO ID 45"} 
[2026-09-04 13:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857942272001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725451264}} 
[2026-09-04 13:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":170964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:12:54] local.INFO: GPS data processed {"connection_id":170964,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:12:54] local.INFO: Acknowledgment sent {"connection_id":170964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:12:55] local.INFO: TCP Data received {"connection_id":173371,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:12:55] local.INFO: Processing buffer {"connection_id":173371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:12:55] local.INFO: Packet analysis {"connection_id":173371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:12:55] local.INFO: Extracted packet for processing {"connection_id":173371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:12:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857894656001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788507702000,"timestamp_ms":1788507702000,"timestamp_seconds":1788507702,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5dc2f0"} 
[2026-09-04 13:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 13:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857894656001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857894656001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:12:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:12:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857894656001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":173371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:12:55] local.INFO: GPS data processed {"connection_id":173371,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:12:55] local.INFO: Acknowledgment sent {"connection_id":173371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:12:59] local.INFO: TCP Data received {"connection_id":170965,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:12:59] local.INFO: Processing buffer {"connection_id":170965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:12:59] local.INFO: IMEI packet received {"connection_id":170965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":170965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:13:00] local.INFO: TCP Data received {"connection_id":173371,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:13:00] local.INFO: Processing buffer {"connection_id":173371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:13:00] local.INFO: Packet analysis {"connection_id":173371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:13:00] local.INFO: Extracted packet for processing {"connection_id":173371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857894656001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788507702000,"timestamp_ms":1788507702000,"timestamp_seconds":1788507702,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5dc2f0"} 
[2026-09-04 13:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 13:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857894656001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857894656001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:13:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857894656001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":173371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762447,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:13:00] local.INFO: GPS data processed {"connection_id":173371,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:13:00] local.INFO: Acknowledgment sent {"connection_id":173371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:13:04] local.INFO: TCP Data received {"connection_id":170965,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:13:04] local.INFO: Processing buffer {"connection_id":170965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:13:04] local.INFO: IMEI packet received {"connection_id":170965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":170965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:13:05] local.INFO: TCP Data received {"connection_id":170965,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5c82a0012cc1e64007572530001301482f..."} 
[2026-09-04 13:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5c82a0012cc1e64007572530001301482f..."} 
[2026-09-04 13:13:05] local.INFO: Processing buffer {"connection_id":170965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5c82a0012cc1e64007572530001301482f..."} 
[2026-09-04 13:13:05] local.INFO: Packet analysis {"connection_id":170965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:13:05] local.INFO: Extracted packet for processing {"connection_id":170965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:13:05] local.INFO: GPS Element Parsed {"raw_longitude":750904896,"raw_latitude":123151664,"longitude_deg":75.0904896,"latitude_deg":12.3151664,"altitude":19,"angle":328,"satellites":47,"speed":21,"hex_longitude":"2cc1e640","hex_latitude":"07572530","is_valid_coordinates":true} 
[2026-09-04 13:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857947904001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866576092594176,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4467711536314587136,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507620000,"timestamp_ms":1788507620000,"timestamp_seconds":1788507620,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5c82a0"} 
[2026-09-04 13:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 13:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857947904001,"66":27974,"103":206,"85":37120,"24":21,"16":397866576092594176,"44":-4467711536314587136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857947904001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:13:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866576092594176,"km_value":397866576092594.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:13:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4467711536314587136,"description":"Unknown IO ID 44"} 
[2026-09-04 13:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857947904001,"power":27974,"unknown_103":206,"unknown_85":37120,"ignition":21,"odometer":null,"unknown_44":-4467711536314587136}} 
[2026-09-04 13:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":170965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:13:05] local.INFO: GPS data processed {"connection_id":170965,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:13:05] local.INFO: Acknowledgment sent {"connection_id":170965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:13:25] local.INFO: TCP Data received {"connection_id":170964,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5ca5c8012d1823000721b568004a012a2e..."} 
[2026-09-04 13:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5ca5c8012d1823000721b568004a012a2e..."} 
[2026-09-04 13:13:25] local.INFO: Processing buffer {"connection_id":170964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5ca5c8012d1823000721b568004a012a2e..."} 
[2026-09-04 13:13:25] local.INFO: Packet analysis {"connection_id":170964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:13:25] local.INFO: Extracted packet for processing {"connection_id":170964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649640,"longitude_deg":75.6556544,"latitude_deg":11.964964,"altitude":74,"angle":298,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b568","is_valid_coordinates":true} 
[2026-09-04 13:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857947648001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213902504853504,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725451264,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788507629000,"timestamp_ms":1788507629000,"timestamp_seconds":1788507629,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5ca5c8"} 
[2026-09-04 13:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 13:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857947648001,"66":12678,"120":206,"28":31744,"24":0,"16":17213902504853504,"45":1739233911725451264},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857947648001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:13:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:13:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213902504853504,"km_value":17213902504853.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725451264,"description":"Unknown IO ID 45"} 
[2026-09-04 13:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857947648001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725451264}} 
[2026-09-04 13:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":170964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:13:26] local.INFO: GPS data processed {"connection_id":170964,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:13:26] local.INFO: Acknowledgment sent {"connection_id":170964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:13:32] local.INFO: TCP Data received {"connection_id":173371,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:13:32] local.INFO: Processing buffer {"connection_id":173371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:13:32] local.INFO: Packet analysis {"connection_id":173371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:13:32] local.INFO: Extracted packet for processing {"connection_id":173371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:13:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857894656001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788507702000,"timestamp_ms":1788507702000,"timestamp_seconds":1788507702,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5dc2f0"} 
[2026-09-04 13:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 13:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857894656001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857894656001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:13:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:13:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857894656001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":173371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:13:32] local.INFO: GPS data processed {"connection_id":173371,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:13:32] local.INFO: Acknowledgment sent {"connection_id":173371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:13:36] local.INFO: TCP Data received {"connection_id":170965,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5cd4a8012cc1df0007572da80018014332..."} 
[2026-09-04 13:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5cd4a8012cc1df0007572da80018014332..."} 
[2026-09-04 13:13:36] local.INFO: Processing buffer {"connection_id":170965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5cd4a8012cc1df0007572da80018014332..."} 
[2026-09-04 13:13:36] local.INFO: Packet analysis {"connection_id":170965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:13:36] local.INFO: Extracted packet for processing {"connection_id":170965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:13:36] local.INFO: GPS Element Parsed {"raw_longitude":750903040,"raw_latitude":123153832,"longitude_deg":75.090304,"latitude_deg":12.3153832,"altitude":24,"angle":323,"satellites":50,"speed":0,"hex_longitude":"2cc1df00","hex_latitude":"07572da8","is_valid_coordinates":true} 
[2026-09-04 13:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857950720001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866722121482240,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4474818779475005440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788507641000,"timestamp_ms":1788507641000,"timestamp_seconds":1788507641,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5cd4a8"} 
[2026-09-04 13:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 13:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857950720001,"66":28104,"103":206,"85":37120,"24":0,"16":397866722121482240,"44":-4474818779475005440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857950720001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:13:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866722121482240,"km_value":397866722121482.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:13:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4474818779475005440,"description":"Unknown IO ID 44"} 
[2026-09-04 13:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857950720001,"power":28104,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4474818779475005440}} 
[2026-09-04 13:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":170965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:13:36] local.INFO: GPS data processed {"connection_id":170965,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:13:36] local.INFO: Acknowledgment sent {"connection_id":170965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:13:48] local.INFO: TCP Data received {"connection_id":172075,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:13:48] local.INFO: Processing buffer {"connection_id":172075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:13:48] local.INFO: IMEI packet received {"connection_id":172075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":172075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:13:49] local.INFO: TCP Data received {"connection_id":172074,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:13:49] local.INFO: Processing buffer {"connection_id":172074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:13:49] local.INFO: IMEI packet received {"connection_id":172074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":172074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:13:52] local.INFO: TCP Data received {"connection_id":172075,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:13:52] local.INFO: Processing buffer {"connection_id":172075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:13:52] local.INFO: IMEI packet received {"connection_id":172075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":172075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:13:53] local.INFO: TCP Data received {"connection_id":172075,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:13:53] local.INFO: Processing buffer {"connection_id":172075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:13:53] local.INFO: IMEI packet received {"connection_id":172075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":172075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:13:54] local.INFO: TCP Data received {"connection_id":172075,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5cf7d0012d1823000721b568004a012a30..."} 
[2026-09-04 13:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5cf7d0012d1823000721b568004a012a30..."} 
[2026-09-04 13:13:54] local.INFO: Processing buffer {"connection_id":172075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5cf7d0012d1823000721b568004a012a30..."} 
[2026-09-04 13:13:54] local.INFO: Packet analysis {"connection_id":172075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:13:54] local.INFO: Extracted packet for processing {"connection_id":172075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5c"} 
[2026-09-04 13:13:54] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649640,"longitude_deg":75.6556544,"latitude_deg":11.964964,"altitude":74,"angle":298,"satellites":48,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b568","is_valid_coordinates":true} 
[2026-09-04 13:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857953024001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213902504853504,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725451264,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788507650000,"timestamp_ms":1788507650000,"timestamp_seconds":1788507650,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5cf7d0"} 
[2026-09-04 13:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 13:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857953024001,"66":12950,"120":206,"28":31744,"24":0,"16":17213902504853504,"45":1739233911725451264},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857953024001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:13:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:13:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213902504853504,"km_value":17213902504853.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725451264,"description":"Unknown IO ID 45"} 
[2026-09-04 13:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857953024001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725451264}} 
[2026-09-04 13:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":172075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:13:54] local.INFO: GPS data processed {"connection_id":172075,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:13:54] local.INFO: Acknowledgment sent {"connection_id":172075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:13:54] local.INFO: TCP Data received {"connection_id":172074,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:13:54] local.INFO: Processing buffer {"connection_id":172074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:13:54] local.INFO: IMEI packet received {"connection_id":172074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":172074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:13:56] local.INFO: TCP Data received {"connection_id":172074,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:13:56] local.INFO: Processing buffer {"connection_id":172074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:13:56] local.INFO: Packet analysis {"connection_id":172074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:13:56] local.INFO: Extracted packet for processing {"connection_id":172074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:13:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857894656001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788507702000,"timestamp_ms":1788507702000,"timestamp_seconds":1788507702,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5dc2f0"} 
[2026-09-04 13:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 13:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857894656001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857894656001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:13:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:13:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857894656001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":172074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762453,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:13:56] local.INFO: GPS data processed {"connection_id":172074,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:13:56] local.INFO: Acknowledgment sent {"connection_id":172074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:13:59] local.INFO: TCP Data received {"connection_id":170660,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:13:59] local.INFO: Processing buffer {"connection_id":170660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:13:59] local.INFO: IMEI packet received {"connection_id":170660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":170660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:13:59] local.INFO: TCP Data received {"connection_id":172075,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5d49d8012d1823000721b568004a012a2f..."} 
[2026-09-04 13:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5d49d8012d1823000721b568004a012a2f..."} 
[2026-09-04 13:13:59] local.INFO: Processing buffer {"connection_id":172075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5d49d8012d1823000721b568004a012a2f..."} 
[2026-09-04 13:13:59] local.INFO: Packet analysis {"connection_id":172075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:13:59] local.INFO: Extracted packet for processing {"connection_id":172075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649640,"longitude_deg":75.6556544,"latitude_deg":11.964964,"altitude":74,"angle":298,"satellites":47,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b568","is_valid_coordinates":true} 
[2026-09-04 13:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857958400001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213902504853504,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725451264,"note":"Value kept but may cause issues"} 
[2026-09-04 13:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788507671000,"timestamp_ms":1788507671000,"timestamp_seconds":1788507671,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5d49d8"} 
[2026-09-04 13:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 13:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857958400001,"66":12961,"120":206,"28":31744,"24":0,"16":17213902504853504,"45":1739233911725451264},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857958400001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:13:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213902504853504,"km_value":17213902504853.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725451264,"description":"Unknown IO ID 45"} 
[2026-09-04 13:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857958400001,"power":12961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725451264}} 
[2026-09-04 13:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":172075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:13:59] local.INFO: GPS data processed {"connection_id":172075,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:13:59] local.INFO: Acknowledgment sent {"connection_id":172075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:14:09] local.INFO: TCP Data received {"connection_id":170660,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:14:09] local.INFO: Processing buffer {"connection_id":170660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:14:09] local.INFO: IMEI packet received {"connection_id":170660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":170660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:14:09] local.INFO: TCP Data received {"connection_id":170660,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:14:09] local.INFO: Processing buffer {"connection_id":170660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:14:09] local.INFO: IMEI packet received {"connection_id":170660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":170660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:14:10] local.INFO: TCP Data received {"connection_id":170660,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5d26b0012cc1db8007572a08001b014332..."} 
[2026-09-04 13:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5d26b0012cc1db8007572a08001b014332..."} 
[2026-09-04 13:14:10] local.INFO: Processing buffer {"connection_id":170660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5d26b0012cc1db8007572a08001b014332..."} 
[2026-09-04 13:14:10] local.INFO: Packet analysis {"connection_id":170660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:14:10] local.INFO: Extracted packet for processing {"connection_id":170660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:14:10] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152904,"longitude_deg":75.0902144,"latitude_deg":12.3152904,"altitude":27,"angle":323,"satellites":50,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572a08","is_valid_coordinates":true} 
[2026-09-04 13:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857956096001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866816610762752,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476859473055602688,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788507662000,"timestamp_ms":1788507662000,"timestamp_seconds":1788507662,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5d26b0"} 
[2026-09-04 13:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 13:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857956096001,"66":27821,"103":206,"85":37120,"24":0,"16":397866816610762752,"44":-4476859473055602688},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857956096001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:14:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866816610762752,"km_value":397866816610762.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476859473055602688,"description":"Unknown IO ID 44"} 
[2026-09-04 13:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857956096001,"power":27821,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4476859473055602688}} 
[2026-09-04 13:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":170660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:14:10] local.INFO: GPS data processed {"connection_id":170660,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:14:10] local.INFO: Acknowledgment sent {"connection_id":170660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:14:15] local.INFO: TCP Data received {"connection_id":170660,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5d78b8012cc1db80075729e0001b014332..."} 
[2026-09-04 13:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5d78b8012cc1db80075729e0001b014332..."} 
[2026-09-04 13:14:15] local.INFO: Processing buffer {"connection_id":170660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5d78b8012cc1db80075729e0001b014332..."} 
[2026-09-04 13:14:15] local.INFO: Packet analysis {"connection_id":170660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:14:15] local.INFO: Extracted packet for processing {"connection_id":170660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:14:15] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152864,"longitude_deg":75.0902144,"latitude_deg":12.3152864,"altitude":27,"angle":323,"satellites":50,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"075729e0","is_valid_coordinates":true} 
[2026-09-04 13:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857961472001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866816610762752,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474327552,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788507683000,"timestamp_ms":1788507683000,"timestamp_seconds":1788507683,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5d78b8"} 
[2026-09-04 13:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 13:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857961472001,"66":27908,"103":206,"85":37120,"24":0,"16":397866816610762752,"44":-4477844635474327552},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857961472001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:14:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:14:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866816610762752,"km_value":397866816610762.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:14:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474327552,"description":"Unknown IO ID 44"} 
[2026-09-04 13:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857961472001,"power":27908,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474327552}} 
[2026-09-04 13:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":170660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:14:15] local.INFO: GPS data processed {"connection_id":170660,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:14:15] local.INFO: Acknowledgment sent {"connection_id":170660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:14:27] local.INFO: TCP Data received {"connection_id":172074,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:14:27] local.INFO: Processing buffer {"connection_id":172074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:14:27] local.INFO: Packet analysis {"connection_id":172074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:14:27] local.INFO: Extracted packet for processing {"connection_id":172074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:14:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857894656001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788507702000,"timestamp_ms":1788507702000,"timestamp_seconds":1788507702,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5dc2f0"} 
[2026-09-04 13:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 13:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857894656001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857894656001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:14:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857894656001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":172074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:14:28] local.INFO: GPS data processed {"connection_id":172074,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:14:28] local.INFO: Acknowledgment sent {"connection_id":172074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:14:31] local.INFO: TCP Data received {"connection_id":172075,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5d9be0012d1823000721b568004a012a2f..."} 
[2026-09-04 13:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5d9be0012d1823000721b568004a012a2f..."} 
[2026-09-04 13:14:31] local.INFO: Processing buffer {"connection_id":172075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5d9be0012d1823000721b568004a012a2f..."} 
[2026-09-04 13:14:31] local.INFO: Packet analysis {"connection_id":172075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:14:31] local.INFO: Extracted packet for processing {"connection_id":172075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:14:31] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649640,"longitude_deg":75.6556544,"latitude_deg":11.964964,"altitude":74,"angle":298,"satellites":47,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b568","is_valid_coordinates":true} 
[2026-09-04 13:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857963776001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213902504853504,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725451264,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788507692000,"timestamp_ms":1788507692000,"timestamp_seconds":1788507692,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5d9be0"} 
[2026-09-04 13:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-04 13:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857963776001,"66":12950,"120":206,"28":31744,"24":0,"16":17213902504853504,"45":1739233911725451264},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857963776001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:14:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:14:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213902504853504,"km_value":17213902504853.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725451264,"description":"Unknown IO ID 45"} 
[2026-09-04 13:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857963776001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725451264}} 
[2026-09-04 13:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":172075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:14:31] local.INFO: GPS data processed {"connection_id":172075,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:14:31] local.INFO: Acknowledgment sent {"connection_id":172075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:14:48] local.INFO: TCP Data received {"connection_id":170661,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:14:48] local.INFO: Processing buffer {"connection_id":170661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:14:48] local.INFO: IMEI packet received {"connection_id":170661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":170661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:14:49] local.INFO: TCP Data received {"connection_id":173372,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:14:49] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:14:49] local.INFO: IMEI packet received {"connection_id":173372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":173372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:14:53] local.INFO: TCP Data received {"connection_id":170661,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:14:53] local.INFO: Processing buffer {"connection_id":170661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:14:53] local.INFO: IMEI packet received {"connection_id":170661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":170661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:14:54] local.INFO: TCP Data received {"connection_id":173372,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:14:54] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:14:54] local.INFO: IMEI packet received {"connection_id":173372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":173372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:14:55] local.INFO: TCP Data received {"connection_id":170661,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5dede8012d1823000721b568004a012a2e..."} 
[2026-09-04 13:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5dede8012d1823000721b568004a012a2e..."} 
[2026-09-04 13:14:55] local.INFO: Processing buffer {"connection_id":170661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5dede8012d1823000721b568004a012a2e..."} 
[2026-09-04 13:14:55] local.INFO: Packet analysis {"connection_id":170661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:14:55] local.INFO: Extracted packet for processing {"connection_id":170661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:14:55] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649640,"longitude_deg":75.6556544,"latitude_deg":11.964964,"altitude":74,"angle":298,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b568","is_valid_coordinates":true} 
[2026-09-04 13:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857969152001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213902504853504,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725451264,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788507713000,"timestamp_ms":1788507713000,"timestamp_seconds":1788507713,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5dede8"} 
[2026-09-04 13:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 13:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857969152001,"66":12885,"120":206,"28":31744,"24":0,"16":17213902504853504,"45":1739233911725451264},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857969152001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:14:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:14:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213902504853504,"km_value":17213902504853.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725451264,"description":"Unknown IO ID 45"} 
[2026-09-04 13:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857969152001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725451264}} 
[2026-09-04 13:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":170661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:14:55] local.INFO: GPS data processed {"connection_id":170661,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:14:55] local.INFO: Acknowledgment sent {"connection_id":170661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:14:56] local.INFO: TCP Data received {"connection_id":173372,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:14:56] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:14:56] local.INFO: Packet analysis {"connection_id":173372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:14:56] local.INFO: Extracted packet for processing {"connection_id":173372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:14:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857894656001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788507702000,"timestamp_ms":1788507702000,"timestamp_seconds":1788507702,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5dc2f0"} 
[2026-09-04 13:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 13:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857894656001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857894656001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:14:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:14:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857894656001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":173372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762460,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:14:56] local.INFO: GPS data processed {"connection_id":173372,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:14:56] local.INFO: Acknowledgment sent {"connection_id":173372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:15:04] local.INFO: TCP Data received {"connection_id":170662,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:15:04] local.INFO: Processing buffer {"connection_id":170662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:15:04] local.INFO: IMEI packet received {"connection_id":170662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":170662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:15:09] local.INFO: TCP Data received {"connection_id":170662,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:15:09] local.INFO: Processing buffer {"connection_id":170662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:15:09] local.INFO: IMEI packet received {"connection_id":170662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":170662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:15:10] local.INFO: TCP Data received {"connection_id":170662,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5dcac0012cc1dac0075726680023014330..."} 
[2026-09-04 13:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5dcac0012cc1dac0075726680023014330..."} 
[2026-09-04 13:15:10] local.INFO: Processing buffer {"connection_id":170662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5dcac0012cc1dac0075726680023014330..."} 
[2026-09-04 13:15:10] local.INFO: Packet analysis {"connection_id":170662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:15:10] local.INFO: Extracted packet for processing {"connection_id":170662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:15:10] local.INFO: GPS Element Parsed {"raw_longitude":750901952,"raw_latitude":123151976,"longitude_deg":75.0901952,"latitude_deg":12.3151976,"altitude":35,"angle":323,"satellites":48,"speed":2,"hex_longitude":"2cc1dac0","hex_latitude":"07572668","is_valid_coordinates":true} 
[2026-09-04 13:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857966848001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866902510108672,"note":"Value kept but may cause issues"} 
[2026-09-04 13:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474337792,"note":"Value kept but may cause issues"} 
[2026-09-04 13:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788507704000,"timestamp_ms":1788507704000,"timestamp_seconds":1788507704,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5dcac0"} 
[2026-09-04 13:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 13:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857966848001,"66":27843,"103":206,"85":37120,"24":2,"16":397866902510108672,"44":-4477844635474337792},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857966848001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:15:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866902510108672,"km_value":397866902510108.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474337792,"description":"Unknown IO ID 44"} 
[2026-09-04 13:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857966848001,"power":27843,"unknown_103":206,"unknown_85":37120,"ignition":2,"odometer":null,"unknown_44":-4477844635474337792}} 
[2026-09-04 13:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":170662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:15:10] local.INFO: GPS data processed {"connection_id":170662,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:15:10] local.INFO: Acknowledgment sent {"connection_id":170662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:15:28] local.INFO: TCP Data received {"connection_id":173372,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:15:28] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:15:28] local.INFO: Packet analysis {"connection_id":173372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:15:28] local.INFO: Extracted packet for processing {"connection_id":173372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:15:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857894656001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788507702000,"timestamp_ms":1788507702000,"timestamp_seconds":1788507702,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5dc2f0"} 
[2026-09-04 13:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 13:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857894656001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857894656001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:15:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:15:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857894656001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":173372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:15:28] local.INFO: GPS data processed {"connection_id":173372,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:15:28] local.INFO: Acknowledgment sent {"connection_id":173372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:15:41] local.INFO: TCP Data received {"connection_id":170662,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5de230012cc1dac0075727200026014331..."} 
[2026-09-04 13:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5de230012cc1dac0075727200026014331..."} 
[2026-09-04 13:15:41] local.INFO: Processing buffer {"connection_id":170662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5de230012cc1dac0075727200026014331..."} 
[2026-09-04 13:15:41] local.INFO: Packet analysis {"connection_id":170662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:15:41] local.INFO: Extracted packet for processing {"connection_id":170662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:15:41] local.INFO: GPS Element Parsed {"raw_longitude":750901952,"raw_latitude":123152160,"longitude_deg":75.0901952,"latitude_deg":12.315216,"altitude":38,"angle":323,"satellites":49,"speed":0,"hex_longitude":"2cc1dac0","hex_latitude":"07572720","is_valid_coordinates":true} 
[2026-09-04 13:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857972224001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707098112,"note":"Value kept but may cause issues"} 
[2026-09-04 13:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788507710000,"timestamp_ms":1788507710000,"timestamp_seconds":1788507710,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5de230"} 
[2026-09-04 13:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 13:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857972224001,"66":27930,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707098112},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857972224001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:15:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707098112,"description":"Unknown IO ID 44"} 
[2026-09-04 13:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857972224001,"power":27930,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707098112}} 
[2026-09-04 13:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":170662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:15:41] local.INFO: GPS data processed {"connection_id":170662,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:15:41] local.INFO: Acknowledgment sent {"connection_id":170662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:15:53] local.INFO: TCP Data received {"connection_id":170966,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:15:53] local.INFO: Processing buffer {"connection_id":170966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:15:53] local.INFO: IMEI packet received {"connection_id":170966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":170966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:15:54] local.INFO: TCP Data received {"connection_id":170967,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:15:54] local.INFO: Processing buffer {"connection_id":170967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:15:54] local.INFO: IMEI packet received {"connection_id":170967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":170967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:15:58] local.INFO: TCP Data received {"connection_id":170966,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:15:58] local.INFO: Processing buffer {"connection_id":170966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:15:58] local.INFO: IMEI packet received {"connection_id":170966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":170966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:15:59] local.INFO: TCP Data received {"connection_id":170967,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:15:59] local.INFO: Processing buffer {"connection_id":170967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:15:59] local.INFO: IMEI packet received {"connection_id":170967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":170967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:15:59] local.INFO: TCP Data received {"connection_id":172076,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:15:59] local.INFO: Processing buffer {"connection_id":172076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:15:59] local.INFO: IMEI packet received {"connection_id":172076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":172076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:16:00] local.INFO: TCP Data received {"connection_id":170966,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5e3ff0012d1823000721b568004a012a2e..."} 
[2026-09-04 13:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5e3ff0012d1823000721b568004a012a2e..."} 
[2026-09-04 13:16:00] local.INFO: Processing buffer {"connection_id":170966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5e3ff0012d1823000721b568004a012a2e..."} 
[2026-09-04 13:16:00] local.INFO: Packet analysis {"connection_id":170966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5e"} 
[2026-09-04 13:16:00] local.INFO: Extracted packet for processing {"connection_id":170966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5e"} 
[2026-09-04 13:16:00] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649640,"longitude_deg":75.6556544,"latitude_deg":11.964964,"altitude":74,"angle":298,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b568","is_valid_coordinates":true} 
[2026-09-04 13:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857974528001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213902504853504,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725451264,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788507734000,"timestamp_ms":1788507734000,"timestamp_seconds":1788507734,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5e3ff0"} 
[2026-09-04 13:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 13:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857974528001,"66":12874,"120":206,"28":31744,"24":0,"16":17213902504853504,"45":1739233911725451264},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857974528001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:16:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213902504853504,"km_value":17213902504853.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725451264,"description":"Unknown IO ID 45"} 
[2026-09-04 13:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857974528001,"power":12874,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725451264}} 
[2026-09-04 13:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":170966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:16:00] local.INFO: GPS data processed {"connection_id":170966,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:16:00] local.INFO: Acknowledgment sent {"connection_id":170966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:16:01] local.INFO: TCP Data received {"connection_id":170967,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:16:01] local.INFO: Processing buffer {"connection_id":170967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:16:01] local.INFO: Packet analysis {"connection_id":170967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:16:01] local.INFO: Extracted packet for processing {"connection_id":170967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:16:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857894656001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788507702000,"timestamp_ms":1788507702000,"timestamp_seconds":1788507702,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5dc2f0"} 
[2026-09-04 13:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 13:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857894656001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857894656001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:16:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:16:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857894656001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":170967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:16:01] local.INFO: GPS data processed {"connection_id":170967,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:16:01] local.INFO: Acknowledgment sent {"connection_id":170967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:16:04] local.INFO: TCP Data received {"connection_id":172076,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:16:04] local.INFO: Processing buffer {"connection_id":172076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:16:04] local.INFO: IMEI packet received {"connection_id":172076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":172076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:16:05] local.INFO: TCP Data received {"connection_id":170967,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:16:05] local.INFO: Processing buffer {"connection_id":170967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:16:05] local.INFO: Packet analysis {"connection_id":170967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:16:05] local.INFO: Extracted packet for processing {"connection_id":170967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857894656001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507702000,"timestamp_ms":1788507702000,"timestamp_seconds":1788507702,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5dc2f0"} 
[2026-09-04 13:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 13:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857894656001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857894656001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:16:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:16:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857894656001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":170967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762466,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:16:05] local.INFO: GPS data processed {"connection_id":170967,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:16:05] local.INFO: Acknowledgment sent {"connection_id":170967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:16:05] local.INFO: TCP Data received {"connection_id":172076,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5de230012cc1dac0075727200026014331..."} 
[2026-09-04 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5de230012cc1dac0075727200026014331..."} 
[2026-09-04 13:16:05] local.INFO: Processing buffer {"connection_id":172076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5de230012cc1dac0075727200026014331..."} 
[2026-09-04 13:16:05] local.INFO: Packet analysis {"connection_id":172076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:16:05] local.INFO: Extracted packet for processing {"connection_id":172076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":750901952,"raw_latitude":123152160,"longitude_deg":75.0901952,"latitude_deg":12.315216,"altitude":38,"angle":323,"satellites":49,"speed":0,"hex_longitude":"2cc1dac0","hex_latitude":"07572720","is_valid_coordinates":true} 
[2026-09-04 13:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857972224001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707098112,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507710000,"timestamp_ms":1788507710000,"timestamp_seconds":1788507710,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5de230"} 
[2026-09-04 13:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 13:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857972224001,"66":27930,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707098112},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857972224001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:16:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:16:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707098112,"description":"Unknown IO ID 44"} 
[2026-09-04 13:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857972224001,"power":27930,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707098112}} 
[2026-09-04 13:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":172076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:16:05] local.INFO: GPS data processed {"connection_id":172076,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:16:05] local.INFO: Acknowledgment sent {"connection_id":172076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:16:31] local.INFO: TCP Data received {"connection_id":170966,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5e91f8012d1823000721b568004a012a2e..."} 
[2026-09-04 13:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5e91f8012d1823000721b568004a012a2e..."} 
[2026-09-04 13:16:31] local.INFO: Processing buffer {"connection_id":170966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5e91f8012d1823000721b568004a012a2e..."} 
[2026-09-04 13:16:31] local.INFO: Packet analysis {"connection_id":170966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5e"} 
[2026-09-04 13:16:31] local.INFO: Extracted packet for processing {"connection_id":170966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5e"} 
[2026-09-04 13:16:31] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649640,"longitude_deg":75.6556544,"latitude_deg":11.964964,"altitude":74,"angle":298,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b568","is_valid_coordinates":true} 
[2026-09-04 13:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857979904001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213902504853504,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725451264,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788507755000,"timestamp_ms":1788507755000,"timestamp_seconds":1788507755,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5e91f8"} 
[2026-09-04 13:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-04 13:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":170966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":170966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":170966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857979904001,"66":12885,"120":206,"28":31744,"24":0,"16":17213902504853504,"45":1739233911725451264},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857979904001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:16:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:16:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213902504853504,"km_value":17213902504853.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725451264,"description":"Unknown IO ID 45"} 
[2026-09-04 13:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857979904001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725451264}} 
[2026-09-04 13:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":170966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:16:31] local.INFO: GPS data processed {"connection_id":170966,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:16:31] local.INFO: Acknowledgment sent {"connection_id":170966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:16:37] local.INFO: TCP Data received {"connection_id":172076,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5de230012cc1dac0075727200026014331..."} 
[2026-09-04 13:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5de230012cc1dac0075727200026014331..."} 
[2026-09-04 13:16:37] local.INFO: Processing buffer {"connection_id":172076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5de230012cc1dac0075727200026014331..."} 
[2026-09-04 13:16:37] local.INFO: Packet analysis {"connection_id":172076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:16:37] local.INFO: Extracted packet for processing {"connection_id":172076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:16:37] local.INFO: GPS Element Parsed {"raw_longitude":750901952,"raw_latitude":123152160,"longitude_deg":75.0901952,"latitude_deg":12.315216,"altitude":38,"angle":323,"satellites":49,"speed":0,"hex_longitude":"2cc1dac0","hex_latitude":"07572720","is_valid_coordinates":true} 
[2026-09-04 13:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857972224001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707098112,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788507710000,"timestamp_ms":1788507710000,"timestamp_seconds":1788507710,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5de230"} 
[2026-09-04 13:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 13:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857972224001,"66":27930,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707098112},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857972224001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:16:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:16:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707098112,"description":"Unknown IO ID 44"} 
[2026-09-04 13:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857972224001,"power":27930,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707098112}} 
[2026-09-04 13:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":172076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:16:37] local.INFO: GPS data processed {"connection_id":172076,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:16:37] local.INFO: Acknowledgment sent {"connection_id":172076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:16:48] local.INFO: TCP Data received {"connection_id":170968,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:16:48] local.INFO: Processing buffer {"connection_id":170968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:16:48] local.INFO: IMEI packet received {"connection_id":170968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":170968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:16:49] local.INFO: TCP Data received {"connection_id":170969,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:16:49] local.INFO: Processing buffer {"connection_id":170969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:16:49] local.INFO: IMEI packet received {"connection_id":170969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":170969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:16:53] local.INFO: TCP Data received {"connection_id":170968,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:16:53] local.INFO: Processing buffer {"connection_id":170968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:16:53] local.INFO: IMEI packet received {"connection_id":170968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":170968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:16:54] local.INFO: TCP Data received {"connection_id":170969,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:16:54] local.INFO: Processing buffer {"connection_id":170969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:16:54] local.INFO: IMEI packet received {"connection_id":170969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":170969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:16:55] local.INFO: TCP Data received {"connection_id":170968,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5ebcf0012d1822800721b4e8004900d32c..."} 
[2026-09-04 13:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5ebcf0012d1822800721b4e8004900d32c..."} 
[2026-09-04 13:16:55] local.INFO: Processing buffer {"connection_id":170968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5ebcf0012d1822800721b4e8004900d32c..."} 
[2026-09-04 13:16:55] local.INFO: Packet analysis {"connection_id":170968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5e"} 
[2026-09-04 13:16:55] local.INFO: Extracted packet for processing {"connection_id":170968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5e"} 
[2026-09-04 13:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649512,"longitude_deg":75.6556416,"latitude_deg":11.9649512,"altitude":73,"angle":211,"satellites":44,"speed":1,"hex_longitude":"2d182280","hex_latitude":"0721b4e8","is_valid_coordinates":true} 
[2026-09-04 13:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857985280001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17213911094788096,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725451264,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788507766000,"timestamp_ms":1788507766000,"timestamp_seconds":1788507766,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5ebcf0"} 
[2026-09-04 13:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 13:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857985280001,"66":12841,"120":206,"28":31744,"24":1,"16":17213911094788096,"45":1739233911725451264},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857985280001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:16:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17213911094788096,"km_value":17213911094788.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725451264,"description":"Unknown IO ID 45"} 
[2026-09-04 13:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857985280001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1739233911725451264}} 
[2026-09-04 13:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":170968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:16:55] local.INFO: GPS data processed {"connection_id":170968,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:16:55] local.INFO: Acknowledgment sent {"connection_id":170968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:16:55] local.INFO: TCP Data received {"connection_id":170969,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:16:55] local.INFO: Processing buffer {"connection_id":170969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5dc2f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:16:55] local.INFO: Packet analysis {"connection_id":170969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:16:55] local.INFO: Extracted packet for processing {"connection_id":170969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:16:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857894656001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788507702000,"timestamp_ms":1788507702000,"timestamp_seconds":1788507702,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5dc2f0"} 
[2026-09-04 13:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 13:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857894656001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857894656001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:16:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857894656001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":170969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:16:55] local.INFO: GPS data processed {"connection_id":170969,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:16:55] local.INFO: Acknowledgment sent {"connection_id":170969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:16:59] local.INFO: TCP Data received {"connection_id":173373,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:16:59] local.INFO: Processing buffer {"connection_id":173373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:16:59] local.INFO: IMEI packet received {"connection_id":173373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":173373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:17:04] local.INFO: TCP Data received {"connection_id":173373,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:17:04] local.INFO: Processing buffer {"connection_id":173373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:17:04] local.INFO: IMEI packet received {"connection_id":173373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":173373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:17:05] local.INFO: TCP Data received {"connection_id":173373,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06b5de230012cc1dac0075727200026014331..."} 
[2026-09-04 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b5de230012cc1dac0075727200026014331..."} 
[2026-09-04 13:17:05] local.INFO: Processing buffer {"connection_id":173373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b5de230012cc1dac0075727200026014331..."} 
[2026-09-04 13:17:05] local.INFO: Packet analysis {"connection_id":173373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:17:05] local.INFO: Extracted packet for processing {"connection_id":173373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b5d"} 
[2026-09-04 13:17:05] local.INFO: GPS Element Parsed {"raw_longitude":750901952,"raw_latitude":123152160,"longitude_deg":75.0901952,"latitude_deg":12.315216,"altitude":38,"angle":323,"satellites":49,"speed":0,"hex_longitude":"2cc1dac0","hex_latitude":"07572720","is_valid_coordinates":true} 
[2026-09-04 13:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857972224001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707098112,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788507710000,"timestamp_ms":1788507710000,"timestamp_seconds":1788507710,"priority":1,"record_length":96,"hex_timestamp":"000001a06b5de230"} 
[2026-09-04 13:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 13:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857972224001,"66":27930,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707098112},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857972224001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:17:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:17:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:17:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707098112,"description":"Unknown IO ID 44"} 
[2026-09-04 13:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857972224001,"power":27930,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707098112}} 
[2026-09-04 13:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":173373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:17:05] local.INFO: GPS data processed {"connection_id":173373,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:17:05] local.INFO: Acknowledgment sent {"connection_id":173373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:17:26] local.INFO: TCP Data received {"connection_id":170968,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b624b18012d181ec00721ac18004700d02c..."} 
[2026-09-04 13:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b624b18012d181ec00721ac18004700d02c..."} 
[2026-09-04 13:17:26] local.INFO: Processing buffer {"connection_id":170968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b624b18012d181ec00721ac18004700d02c..."} 
[2026-09-04 13:17:26] local.INFO: Packet analysis {"connection_id":170968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:17:26] local.INFO: Extracted packet for processing {"connection_id":170968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:17:26] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647256,"longitude_deg":75.6555456,"latitude_deg":11.9647256,"altitude":71,"angle":208,"satellites":44,"speed":11,"hex_longitude":"2d181ec0","hex_latitude":"0721ac18","is_valid_coordinates":true} 
[2026-09-04 13:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858047232001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17214048533741568,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050680832,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788507999000,"timestamp_ms":1788507999000,"timestamp_seconds":1788507999,"priority":1,"record_length":96,"hex_timestamp":"000001a06b624b18"} 
[2026-09-04 13:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 13:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858047232001,"66":14070,"120":206,"28":31744,"24":11,"16":17214048533741568,"45":1738319118050680832},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858047232001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:17:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:17:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17214048533741568,"km_value":17214048533741.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050680832,"description":"Unknown IO ID 45"} 
[2026-09-04 13:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858047232001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1738319118050680832}} 
[2026-09-04 13:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":170968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:17:26] local.INFO: GPS data processed {"connection_id":170968,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:17:26] local.INFO: Acknowledgment sent {"connection_id":170968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:17:27] local.INFO: TCP Data received {"connection_id":170969,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:17:27] local.INFO: Processing buffer {"connection_id":170969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:17:27] local.INFO: Packet analysis {"connection_id":170969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:17:27] local.INFO: Extracted packet for processing {"connection_id":170969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:17:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857971712001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788508003000,"timestamp_ms":1788508003000,"timestamp_seconds":1788508003,"priority":1,"record_length":96,"hex_timestamp":"000001a06b625ab8"} 
[2026-09-04 13:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 13:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857971712001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857971712001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:17:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:17:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857971712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":170969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762474,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:17:27] local.INFO: GPS data processed {"connection_id":170969,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:17:27] local.INFO: Acknowledgment sent {"connection_id":170969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:17:36] local.INFO: TCP Data received {"connection_id":173373,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:17:36] local.INFO: Processing buffer {"connection_id":173373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:17:36] local.INFO: Packet analysis {"connection_id":173373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:17:36] local.INFO: Extracted packet for processing {"connection_id":173373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:17:36] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857973760001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707051008,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788508012000,"timestamp_ms":1788508012000,"timestamp_seconds":1788508012,"priority":1,"record_length":96,"hex_timestamp":"000001a06b627de0"} 
[2026-09-04 13:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857973760001,"66":26539,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707051008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857973760001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:17:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:17:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707051008,"description":"Unknown IO ID 44"} 
[2026-09-04 13:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857973760001,"power":26539,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707051008}} 
[2026-09-04 13:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":173373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:17:36] local.INFO: GPS data processed {"connection_id":173373,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:17:36] local.INFO: Acknowledgment sent {"connection_id":173373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:17:48] local.INFO: TCP Data received {"connection_id":172077,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:17:48] local.INFO: Processing buffer {"connection_id":172077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:17:48] local.INFO: IMEI packet received {"connection_id":172077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":172077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:17:49] local.INFO: TCP Data received {"connection_id":172078,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:17:49] local.INFO: Processing buffer {"connection_id":172078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:17:49] local.INFO: IMEI packet received {"connection_id":172078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":172078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:17:53] local.INFO: TCP Data received {"connection_id":172077,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:17:54] local.INFO: Processing buffer {"connection_id":172077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:17:54] local.INFO: IMEI packet received {"connection_id":172077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":172077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:17:54] local.INFO: TCP Data received {"connection_id":172078,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:17:54] local.INFO: Processing buffer {"connection_id":172078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:17:54] local.INFO: IMEI packet received {"connection_id":172078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":172078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:17:55] local.INFO: TCP Data received {"connection_id":172077,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6256d0012d181e400721aa08004700bd2c..."} 
[2026-09-04 13:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6256d0012d181e400721aa08004700bd2c..."} 
[2026-09-04 13:17:55] local.INFO: Processing buffer {"connection_id":172077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6256d0012d181e400721aa08004700bd2c..."} 
[2026-09-04 13:17:55] local.INFO: Packet analysis {"connection_id":172077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:17:55] local.INFO: Extracted packet for processing {"connection_id":172077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:17:55] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646728,"longitude_deg":75.6555328,"latitude_deg":11.9646728,"altitude":71,"angle":189,"satellites":44,"speed":4,"hex_longitude":"2d181e40","hex_latitude":"0721aa08","is_valid_coordinates":true} 
[2026-09-04 13:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858047744001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17214074303545344,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073820672,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788508002000,"timestamp_ms":1788508002000,"timestamp_seconds":1788508002,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6256d0"} 
[2026-09-04 13:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-04 13:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858047744001,"66":13993,"120":206,"28":31744,"24":4,"16":17214074303545344,"45":1738037643073820672},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858047744001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:17:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17214074303545344,"km_value":17214074303545.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073820672,"description":"Unknown IO ID 45"} 
[2026-09-04 13:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858047744001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1738037643073820672}} 
[2026-09-04 13:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":172077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:17:55] local.INFO: GPS data processed {"connection_id":172077,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:17:55] local.INFO: Acknowledgment sent {"connection_id":172077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:17:55] local.INFO: TCP Data received {"connection_id":172078,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:17:55] local.INFO: Processing buffer {"connection_id":172078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:17:55] local.INFO: Packet analysis {"connection_id":172078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:17:55] local.INFO: Extracted packet for processing {"connection_id":172078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:17:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857971712001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788508003000,"timestamp_ms":1788508003000,"timestamp_seconds":1788508003,"priority":1,"record_length":96,"hex_timestamp":"000001a06b625ab8"} 
[2026-09-04 13:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 13:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857971712001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857971712001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:17:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857971712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":172078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762477,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:17:55] local.INFO: GPS data processed {"connection_id":172078,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:17:55] local.INFO: Acknowledgment sent {"connection_id":172078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:18:04] local.INFO: TCP Data received {"connection_id":173374,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:18:04] local.INFO: Processing buffer {"connection_id":173374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:18:04] local.INFO: IMEI packet received {"connection_id":173374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":173374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:18:09] local.INFO: TCP Data received {"connection_id":173374,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:18:09] local.INFO: Processing buffer {"connection_id":173374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:18:09] local.INFO: IMEI packet received {"connection_id":173374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":173374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:18:10] local.INFO: TCP Data received {"connection_id":173374,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:18:10] local.INFO: Processing buffer {"connection_id":173374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:18:10] local.INFO: Packet analysis {"connection_id":173374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:18:10] local.INFO: Extracted packet for processing {"connection_id":173374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:18:10] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857973760001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707051008,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788508012000,"timestamp_ms":1788508012000,"timestamp_seconds":1788508012,"priority":1,"record_length":96,"hex_timestamp":"000001a06b627de0"} 
[2026-09-04 13:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857973760001,"66":26539,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707051008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857973760001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:18:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707051008,"description":"Unknown IO ID 44"} 
[2026-09-04 13:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857973760001,"power":26539,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707051008}} 
[2026-09-04 13:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":173374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:18:10] local.INFO: GPS data processed {"connection_id":173374,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:18:10] local.INFO: Acknowledgment sent {"connection_id":173374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:18:27] local.INFO: TCP Data received {"connection_id":172078,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:18:27] local.INFO: Processing buffer {"connection_id":172078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:18:27] local.INFO: Packet analysis {"connection_id":172078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:18:27] local.INFO: Extracted packet for processing {"connection_id":172078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:18:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857971712001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788508003000,"timestamp_ms":1788508003000,"timestamp_seconds":1788508003,"priority":1,"record_length":96,"hex_timestamp":"000001a06b625ab8"} 
[2026-09-04 13:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 13:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857971712001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857971712001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:18:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:18:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857971712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":172078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762479,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:18:27] local.INFO: GPS data processed {"connection_id":172078,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:18:27] local.INFO: Acknowledgment sent {"connection_id":172078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:18:29] local.INFO: TCP Data received {"connection_id":172077,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b625ab8012d181e400721a9b8004700ae2c..."} 
[2026-09-04 13:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b625ab8012d181e400721a9b8004700ae2c..."} 
[2026-09-04 13:18:29] local.INFO: Processing buffer {"connection_id":172077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b625ab8012d181e400721a9b8004700ae2c..."} 
[2026-09-04 13:18:29] local.INFO: Packet analysis {"connection_id":172077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:18:29] local.INFO: Extracted packet for processing {"connection_id":172077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646648,"longitude_deg":75.6555328,"latitude_deg":11.9646648,"altitude":71,"angle":174,"satellites":44,"speed":2,"hex_longitude":"2d181e40","hex_latitude":"0721a9b8","is_valid_coordinates":true} 
[2026-09-04 13:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858048512001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17214078598512640,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585330176,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788508003000,"timestamp_ms":1788508003000,"timestamp_seconds":1788508003,"priority":1,"record_length":96,"hex_timestamp":"000001a06b625ab8"} 
[2026-09-04 13:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 13:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858048512001,"66":13896,"120":206,"28":31744,"24":2,"16":17214078598512640,"45":1737896905585330176},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858048512001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:18:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:18:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17214078598512640,"km_value":17214078598512.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585330176,"description":"Unknown IO ID 45"} 
[2026-09-04 13:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858048512001,"power":13896,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1737896905585330176}} 
[2026-09-04 13:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":172077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:18:29] local.INFO: GPS data processed {"connection_id":172077,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:18:29] local.INFO: Acknowledgment sent {"connection_id":172077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:18:41] local.INFO: TCP Data received {"connection_id":173374,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:18:41] local.INFO: Processing buffer {"connection_id":173374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:18:41] local.INFO: Packet analysis {"connection_id":173374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:18:41] local.INFO: Extracted packet for processing {"connection_id":173374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:18:41] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857973760001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707051008,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788508012000,"timestamp_ms":1788508012000,"timestamp_seconds":1788508012,"priority":1,"record_length":96,"hex_timestamp":"000001a06b627de0"} 
[2026-09-04 13:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857973760001,"66":26539,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707051008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857973760001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:18:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707051008,"description":"Unknown IO ID 44"} 
[2026-09-04 13:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857973760001,"power":26539,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707051008}} 
[2026-09-04 13:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":173374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:18:41] local.INFO: GPS data processed {"connection_id":173374,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:18:41] local.INFO: Acknowledgment sent {"connection_id":173374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:18:49] local.INFO: TCP Data received {"connection_id":173375,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:18:49] local.INFO: Processing buffer {"connection_id":173375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:18:49] local.INFO: IMEI packet received {"connection_id":173375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":173375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:18:49] local.INFO: TCP Data received {"connection_id":173376,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:18:49] local.INFO: Processing buffer {"connection_id":173376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:18:49] local.INFO: IMEI packet received {"connection_id":173376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":173376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:18:49] local.INFO: TCP Data received {"connection_id":173375,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:18:49] local.INFO: Processing buffer {"connection_id":173375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:18:49] local.INFO: IMEI packet received {"connection_id":173375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":173375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:18:53] local.INFO: TCP Data received {"connection_id":173375,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:18:53] local.INFO: Processing buffer {"connection_id":173375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:18:53] local.INFO: IMEI packet received {"connection_id":173375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":173375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:18:54] local.INFO: TCP Data received {"connection_id":173376,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:18:54] local.INFO: Processing buffer {"connection_id":173376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:18:54] local.INFO: IMEI packet received {"connection_id":173376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":173376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:18:55] local.INFO: TCP Data received {"connection_id":173375,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b629d20012d181e800721a7b0004700942a..."} 
[2026-09-04 13:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b629d20012d181e800721a7b0004700942a..."} 
[2026-09-04 13:18:55] local.INFO: Processing buffer {"connection_id":173375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b629d20012d181e800721a7b0004700942a..."} 
[2026-09-04 13:18:55] local.INFO: Packet analysis {"connection_id":173375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:18:55] local.INFO: Extracted packet for processing {"connection_id":173375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646128,"longitude_deg":75.6555392,"latitude_deg":11.9646128,"altitude":71,"angle":148,"satellites":42,"speed":5,"hex_longitude":"2d181e80","hex_latitude":"0721a7b0","is_valid_coordinates":true} 
[2026-09-04 13:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858048768001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17214104368316416,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585309696,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788508020000,"timestamp_ms":1788508020000,"timestamp_seconds":1788508020,"priority":1,"record_length":96,"hex_timestamp":"000001a06b629d20"} 
[2026-09-04 13:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-04 13:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858048768001,"66":14233,"120":206,"28":31744,"24":5,"16":17214104368316416,"45":1737896905585309696},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858048768001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:18:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17214104368316416,"km_value":17214104368316.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585309696,"description":"Unknown IO ID 45"} 
[2026-09-04 13:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858048768001,"power":14233,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1737896905585309696}} 
[2026-09-04 13:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":173375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:18:55] local.INFO: GPS data processed {"connection_id":173375,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:18:55] local.INFO: Acknowledgment sent {"connection_id":173375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:18:55] local.INFO: TCP Data received {"connection_id":173376,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:18:55] local.INFO: Processing buffer {"connection_id":173376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:18:55] local.INFO: Packet analysis {"connection_id":173376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:18:55] local.INFO: Extracted packet for processing {"connection_id":173376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857971712001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788508003000,"timestamp_ms":1788508003000,"timestamp_seconds":1788508003,"priority":1,"record_length":96,"hex_timestamp":"000001a06b625ab8"} 
[2026-09-04 13:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 13:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857971712001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857971712001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:18:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:18:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857971712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":173376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762483,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:18:56] local.INFO: GPS data processed {"connection_id":173376,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:18:56] local.INFO: Acknowledgment sent {"connection_id":173376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:18:59] local.INFO: TCP Data received {"connection_id":170970,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:18:59] local.INFO: Processing buffer {"connection_id":170970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:18:59] local.INFO: IMEI packet received {"connection_id":170970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":170970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:19:04] local.INFO: TCP Data received {"connection_id":170970,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:19:04] local.INFO: Processing buffer {"connection_id":170970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:19:04] local.INFO: IMEI packet received {"connection_id":170970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":170970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:19:05] local.INFO: TCP Data received {"connection_id":170970,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:19:05] local.INFO: Processing buffer {"connection_id":170970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:19:05] local.INFO: Packet analysis {"connection_id":170970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:19:05] local.INFO: Extracted packet for processing {"connection_id":170970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:19:05] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857973760001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707051008,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788508012000,"timestamp_ms":1788508012000,"timestamp_seconds":1788508012,"priority":1,"record_length":96,"hex_timestamp":"000001a06b627de0"} 
[2026-09-04 13:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857973760001,"66":26539,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707051008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857973760001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:19:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:19:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:19:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707051008,"description":"Unknown IO ID 44"} 
[2026-09-04 13:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857973760001,"power":26539,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707051008}} 
[2026-09-04 13:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":170970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:19:05] local.INFO: GPS data processed {"connection_id":170970,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:19:05] local.INFO: Acknowledgment sent {"connection_id":170970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:19:28] local.INFO: TCP Data received {"connection_id":173376,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:19:28] local.INFO: Processing buffer {"connection_id":173376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:19:28] local.INFO: Packet analysis {"connection_id":173376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:19:28] local.INFO: Extracted packet for processing {"connection_id":173376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:19:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857971712001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788508003000,"timestamp_ms":1788508003000,"timestamp_seconds":1788508003,"priority":1,"record_length":96,"hex_timestamp":"000001a06b625ab8"} 
[2026-09-04 13:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 13:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857971712001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857971712001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:19:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857971712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":173376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762485,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:19:28] local.INFO: GPS data processed {"connection_id":173376,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:19:28] local.INFO: Acknowledgment sent {"connection_id":173376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:19:28] local.INFO: TCP Data received {"connection_id":173375,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b641bf0012d18cb00072134f8004800922b..."} 
[2026-09-04 13:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b641bf0012d18cb00072134f8004800922b..."} 
[2026-09-04 13:19:28] local.INFO: Processing buffer {"connection_id":173375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b641bf0012d18cb00072134f8004800922b..."} 
[2026-09-04 13:19:28] local.INFO: Packet analysis {"connection_id":173375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b64"} 
[2026-09-04 13:19:28] local.INFO: Extracted packet for processing {"connection_id":173375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b64"} 
[2026-09-04 13:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756599552,"raw_latitude":119616760,"longitude_deg":75.6599552,"latitude_deg":11.961676,"altitude":72,"angle":146,"satellites":43,"speed":37,"hex_longitude":"2d18cb00","hex_latitude":"072134f8","is_valid_coordinates":true} 
[2026-09-04 13:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858077696001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17216866032287744,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785536545386364928,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788508118000,"timestamp_ms":1788508118000,"timestamp_seconds":1788508118,"priority":1,"record_length":96,"hex_timestamp":"000001a06b641bf0"} 
[2026-09-04 13:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-04 13:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858077696001,"66":14233,"121":206,"28":31744,"24":37,"16":17216866032287744,"45":1785536545386364928},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858077696001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:19:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17216866032287744,"km_value":17216866032287.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785536545386364928,"description":"Unknown IO ID 45"} 
[2026-09-04 13:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858077696001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1785536545386364928}} 
[2026-09-04 13:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":173375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:19:28] local.INFO: GPS data processed {"connection_id":173375,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:19:28] local.INFO: Acknowledgment sent {"connection_id":173375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:19:36] local.INFO: TCP Data received {"connection_id":170970,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:19:36] local.INFO: Processing buffer {"connection_id":170970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:19:36] local.INFO: Packet analysis {"connection_id":170970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:19:36] local.INFO: Extracted packet for processing {"connection_id":170970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:19:36] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857973760001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707051008,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788508012000,"timestamp_ms":1788508012000,"timestamp_seconds":1788508012,"priority":1,"record_length":96,"hex_timestamp":"000001a06b627de0"} 
[2026-09-04 13:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857973760001,"66":26539,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707051008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857973760001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:19:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:19:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707051008,"description":"Unknown IO ID 44"} 
[2026-09-04 13:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857973760001,"power":26539,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707051008}} 
[2026-09-04 13:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":170970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:19:36] local.INFO: GPS data processed {"connection_id":170970,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:19:36] local.INFO: Acknowledgment sent {"connection_id":170970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:19:50] local.INFO: TCP Data received {"connection_id":172079,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:19:50] local.INFO: Processing buffer {"connection_id":172079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:19:50] local.INFO: IMEI packet received {"connection_id":172079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":172079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:19:53] local.INFO: TCP Data received {"connection_id":172079,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:19:53] local.INFO: Processing buffer {"connection_id":172079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:19:53] local.INFO: IMEI packet received {"connection_id":172079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":172079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:19:54] local.INFO: TCP Data received {"connection_id":173377,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:19:54] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:19:54] local.INFO: IMEI packet received {"connection_id":173377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":173377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:19:58] local.INFO: TCP Data received {"connection_id":172079,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:19:58] local.INFO: Processing buffer {"connection_id":172079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:19:58] local.INFO: IMEI packet received {"connection_id":172079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":172079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:19:59] local.INFO: TCP Data received {"connection_id":170971,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:19:59] local.INFO: Processing buffer {"connection_id":170971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:19:59] local.INFO: IMEI packet received {"connection_id":170971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":170971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:19:59] local.INFO: TCP Data received {"connection_id":173377,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:19:59] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:19:59] local.INFO: IMEI packet received {"connection_id":173377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":173377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:19:59] local.INFO: TCP Data received {"connection_id":172079,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b642b90012d18d28007212810004700a127..."} 
[2026-09-04 13:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b642b90012d18d28007212810004700a127..."} 
[2026-09-04 13:19:59] local.INFO: Processing buffer {"connection_id":172079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b642b90012d18d28007212810004700a127..."} 
[2026-09-04 13:19:59] local.INFO: Packet analysis {"connection_id":172079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b64"} 
[2026-09-04 13:19:59] local.INFO: Extracted packet for processing {"connection_id":172079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b64"} 
[2026-09-04 13:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119613456,"longitude_deg":75.6601472,"latitude_deg":11.9613456,"altitude":71,"angle":161,"satellites":39,"speed":36,"hex_longitude":"2d18d280","hex_latitude":"07212810","is_valid_coordinates":true} 
[2026-09-04 13:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858078208001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17217050715881472,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786521707804424192,"note":"Value kept but may cause issues"} 
[2026-09-04 13:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788508122000,"timestamp_ms":1788508122000,"timestamp_seconds":1788508122,"priority":1,"record_length":96,"hex_timestamp":"000001a06b642b90"} 
[2026-09-04 13:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 13:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858078208001,"66":14265,"121":206,"28":31744,"24":36,"16":17217050715881472,"45":1786521707804424192},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858078208001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:19:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17217050715881472,"km_value":17217050715881.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786521707804424192,"description":"Unknown IO ID 45"} 
[2026-09-04 13:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858078208001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1786521707804424192}} 
[2026-09-04 13:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":172079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:20:00] local.INFO: GPS data processed {"connection_id":172079,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:20:00] local.INFO: Acknowledgment sent {"connection_id":172079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:20:01] local.INFO: TCP Data received {"connection_id":173377,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:20:01] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:20:01] local.INFO: Packet analysis {"connection_id":173377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:20:01] local.INFO: Extracted packet for processing {"connection_id":173377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:20:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857971712001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788508003000,"timestamp_ms":1788508003000,"timestamp_seconds":1788508003,"priority":1,"record_length":96,"hex_timestamp":"000001a06b625ab8"} 
[2026-09-04 13:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 13:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857971712001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857971712001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:20:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:20:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857971712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":173377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762489,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:20:01] local.INFO: GPS data processed {"connection_id":173377,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:20:01] local.INFO: Acknowledgment sent {"connection_id":173377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:20:05] local.INFO: TCP Data received {"connection_id":173377,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:20:05] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:20:05] local.INFO: Packet analysis {"connection_id":173377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:20:05] local.INFO: Extracted packet for processing {"connection_id":173377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857971712001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788508003000,"timestamp_ms":1788508003000,"timestamp_seconds":1788508003,"priority":1,"record_length":96,"hex_timestamp":"000001a06b625ab8"} 
[2026-09-04 13:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 13:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857971712001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857971712001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:20:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:20:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857971712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":173377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:20:05] local.INFO: GPS data processed {"connection_id":173377,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:20:05] local.INFO: Acknowledgment sent {"connection_id":173377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:20:06] local.INFO: TCP Data received {"connection_id":170971,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:20:06] local.INFO: Processing buffer {"connection_id":170971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:20:06] local.INFO: IMEI packet received {"connection_id":170971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":170971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:20:07] local.INFO: TCP Data received {"connection_id":170971,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:20:07] local.INFO: Processing buffer {"connection_id":170971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:20:07] local.INFO: Packet analysis {"connection_id":170971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:20:07] local.INFO: Extracted packet for processing {"connection_id":170971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857973760001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707051008,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788508012000,"timestamp_ms":1788508012000,"timestamp_seconds":1788508012,"priority":1,"record_length":96,"hex_timestamp":"000001a06b627de0"} 
[2026-09-04 13:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857973760001,"66":26539,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707051008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857973760001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:20:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:20:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707051008,"description":"Unknown IO ID 44"} 
[2026-09-04 13:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857973760001,"power":26539,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707051008}} 
[2026-09-04 13:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":170971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:20:07] local.INFO: GPS data processed {"connection_id":170971,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:20:07] local.INFO: Acknowledgment sent {"connection_id":170971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:20:31] local.INFO: TCP Data received {"connection_id":172079,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6515f0012d198c800720b390002d005527..."} 
[2026-09-04 13:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6515f0012d198c800720b390002d005527..."} 
[2026-09-04 13:20:31] local.INFO: Processing buffer {"connection_id":172079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6515f0012d198c800720b390002d005527..."} 
[2026-09-04 13:20:31] local.INFO: Packet analysis {"connection_id":172079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b65"} 
[2026-09-04 13:20:31] local.INFO: Extracted packet for processing {"connection_id":172079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b65"} 
[2026-09-04 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756649088,"raw_latitude":119583632,"longitude_deg":75.6649088,"latitude_deg":11.9583632,"altitude":45,"angle":85,"satellites":39,"speed":36,"hex_longitude":"2d198c80","hex_latitude":"0720b390","is_valid_coordinates":true} 
[2026-09-04 13:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858092800001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17220160272203776,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833809503882958848,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788508182000,"timestamp_ms":1788508182000,"timestamp_seconds":1788508182,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6515f0"} 
[2026-09-04 13:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 13:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986359902,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:31] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503862350774272,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:31] local.WARNING: Large IO value detected {"io_id":192,"raw_value":17733491139553280,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:31] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3317694520,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 13:20:31] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3221692627,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:31] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84751311899664631,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:31] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,121,28,24,241,158,16,45,160,227,192,170,42,10,66,215,64,171,46,41,44,188,128,1,240,71,107,32,4,113,205,50,137,250,168,40,239,56,2,61,7,62,206,88],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 13:20:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170614569523871744,"timestamp_seconds":3170614569523871.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 13:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858092800001,"66":14352,"121":206,"28":31744,"24":36,"16":17220160272203776,"45":1833809503882958848},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858092800001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:20:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17220160272203776,"km_value":17220160272203.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833809503882958848,"description":"Unknown IO ID 45"} 
[2026-09-04 13:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858092800001,"power":14352,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1833809503882958848}} 
[2026-09-04 13:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":172079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:20:31] local.INFO: GPS data processed {"connection_id":172079,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:20:31] local.INFO: Acknowledgment sent {"connection_id":172079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:20:38] local.INFO: TCP Data received {"connection_id":170971,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:20:38] local.INFO: Processing buffer {"connection_id":170971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:20:38] local.INFO: Packet analysis {"connection_id":170971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:20:38] local.INFO: Extracted packet for processing {"connection_id":170971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:20:38] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857973760001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707051008,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788508012000,"timestamp_ms":1788508012000,"timestamp_seconds":1788508012,"priority":1,"record_length":96,"hex_timestamp":"000001a06b627de0"} 
[2026-09-04 13:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857973760001,"66":26539,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707051008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857973760001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:20:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:20:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707051008,"description":"Unknown IO ID 44"} 
[2026-09-04 13:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857973760001,"power":26539,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707051008}} 
[2026-09-04 13:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":170971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:20:38] local.INFO: GPS data processed {"connection_id":170971,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:20:38] local.INFO: Acknowledgment sent {"connection_id":170971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:20:49] local.INFO: TCP Data received {"connection_id":173378,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:20:49] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:20:49] local.INFO: IMEI packet received {"connection_id":173378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":173378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:20:50] local.INFO: TCP Data received {"connection_id":172080,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:20:50] local.INFO: Processing buffer {"connection_id":172080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:20:50] local.INFO: IMEI packet received {"connection_id":172080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":172080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:20:51] local.INFO: TCP Data received {"connection_id":172080,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:20:51] local.INFO: Processing buffer {"connection_id":172080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:20:51] local.INFO: IMEI packet received {"connection_id":172080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":172080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:20:53] local.INFO: TCP Data received {"connection_id":172080,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:20:53] local.INFO: Processing buffer {"connection_id":172080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:20:53] local.INFO: IMEI packet received {"connection_id":172080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":172080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:20:54] local.INFO: TCP Data received {"connection_id":172080,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b652d60012d19a2c00720b1c8002e006026..."} 
[2026-09-04 13:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b652d60012d19a2c00720b1c8002e006026..."} 
[2026-09-04 13:20:54] local.INFO: Processing buffer {"connection_id":172080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b652d60012d19a2c00720b1c8002e006026..."} 
[2026-09-04 13:20:54] local.INFO: Packet analysis {"connection_id":172080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b65"} 
[2026-09-04 13:20:54] local.INFO: Extracted packet for processing {"connection_id":172080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b65"} 
[2026-09-04 13:20:54] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119583176,"longitude_deg":75.6654784,"latitude_deg":11.9583176,"altitude":46,"angle":96,"satellites":38,"speed":39,"hex_longitude":"2d19a2c0","hex_latitude":"0720b1c8","is_valid_coordinates":true} 
[2026-09-04 13:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858094592001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17220435150110720,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840987115789455360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788508188000,"timestamp_ms":1788508188000,"timestamp_seconds":1788508188,"priority":1,"record_length":96,"hex_timestamp":"000001a06b652d60"} 
[2026-09-04 13:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-04 13:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142528,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:54] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-2413921562093682625,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84751346259402990,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:54] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3093299250,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:54] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638568940234617,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:54] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 13:20:54] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485799,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:54] local.WARNING: Large IO value detected {"io_id":184,"raw_value":17452076292385024,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:54] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,45,160,250,173,44,39,10,66,227,192,170,42,215,64,1,240,185,107,32,4,113,205,47,18,239,55,2,61,7,60,43,206,184],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 13:20:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242685357701201920,"timestamp_seconds":3242685357701202.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 13:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858094592001,"66":14298,"121":206,"28":31744,"24":39,"16":17220435150110720,"45":1840987115789455360},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858094592001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:20:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:20:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17220435150110720,"km_value":17220435150110.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840987115789455360,"description":"Unknown IO ID 45"} 
[2026-09-04 13:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858094592001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1840987115789455360}} 
[2026-09-04 13:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":172080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:20:54] local.INFO: GPS data processed {"connection_id":172080,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:20:54] local.INFO: Acknowledgment sent {"connection_id":172080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:20:54] local.INFO: TCP Data received {"connection_id":173378,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:20:54] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:20:54] local.INFO: IMEI packet received {"connection_id":173378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":173378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:20:56] local.INFO: TCP Data received {"connection_id":173378,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:20:56] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:20:56] local.INFO: Packet analysis {"connection_id":173378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:20:56] local.INFO: Extracted packet for processing {"connection_id":173378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857971712001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788508003000,"timestamp_ms":1788508003000,"timestamp_seconds":1788508003,"priority":1,"record_length":96,"hex_timestamp":"000001a06b625ab8"} 
[2026-09-04 13:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 13:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857971712001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857971712001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:20:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:20:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857971712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":173378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762495,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:20:56] local.INFO: GPS data processed {"connection_id":173378,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:20:56] local.INFO: Acknowledgment sent {"connection_id":173378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:20:56] local.INFO: TCP Data received {"connection_id":172080,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b653d00012d19b2400720ae50002e006f27..."} 
[2026-09-04 13:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b653d00012d19b2400720ae50002e006f27..."} 
[2026-09-04 13:20:56] local.INFO: Processing buffer {"connection_id":172080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b653d00012d19b2400720ae50002e006f27..."} 
[2026-09-04 13:20:56] local.INFO: Packet analysis {"connection_id":172080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b65"} 
[2026-09-04 13:20:56] local.INFO: Extracted packet for processing {"connection_id":172080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b65"} 
[2026-09-04 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756658752,"raw_latitude":119582288,"longitude_deg":75.6658752,"latitude_deg":11.9582288,"altitude":46,"angle":111,"satellites":39,"speed":39,"hex_longitude":"2d19b240","hex_latitude":"0720ae50","is_valid_coordinates":true} 
[2026-09-04 13:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858096128001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17220628423639040,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934021150720,"note":"Value kept but may cause issues"} 
[2026-09-04 13:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788508192000,"timestamp_ms":1788508192000,"timestamp_seconds":1788508192,"priority":1,"record_length":96,"hex_timestamp":"000001a06b653d00"} 
[2026-09-04 13:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 13:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858096128001,"66":14004,"121":206,"28":31744,"24":39,"16":17220628423639040,"45":1847249934021150720},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858096128001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:20:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:20:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17220628423639040,"km_value":17220628423639.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934021150720,"description":"Unknown IO ID 45"} 
[2026-09-04 13:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858096128001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1847249934021150720}} 
[2026-09-04 13:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":172080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:20:57] local.INFO: GPS data processed {"connection_id":172080,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:20:57] local.INFO: Acknowledgment sent {"connection_id":172080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:21:04] local.INFO: TCP Data received {"connection_id":170972,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:21:04] local.INFO: Processing buffer {"connection_id":170972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:21:04] local.INFO: IMEI packet received {"connection_id":170972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":170972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:21:09] local.INFO: TCP Data received {"connection_id":170972,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:21:09] local.INFO: Processing buffer {"connection_id":170972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:21:09] local.INFO: IMEI packet received {"connection_id":170972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":170972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:21:10] local.INFO: TCP Data received {"connection_id":170972,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:21:10] local.INFO: Processing buffer {"connection_id":170972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:21:10] local.INFO: Packet analysis {"connection_id":170972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:21:10] local.INFO: Extracted packet for processing {"connection_id":170972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:21:10] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857973760001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707051008,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788508012000,"timestamp_ms":1788508012000,"timestamp_seconds":1788508012,"priority":1,"record_length":96,"hex_timestamp":"000001a06b627de0"} 
[2026-09-04 13:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857973760001,"66":26539,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707051008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857973760001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:21:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707051008,"description":"Unknown IO ID 44"} 
[2026-09-04 13:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857973760001,"power":26539,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707051008}} 
[2026-09-04 13:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":170972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:21:10] local.INFO: GPS data processed {"connection_id":170972,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:21:10] local.INFO: Acknowledgment sent {"connection_id":170972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:21:15] local.INFO: TCP Data received {"connection_id":170972,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:21:15] local.INFO: Processing buffer {"connection_id":170972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:21:15] local.INFO: Packet analysis {"connection_id":170972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:21:15] local.INFO: Extracted packet for processing {"connection_id":170972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:21:15] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857973760001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707051008,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788508012000,"timestamp_ms":1788508012000,"timestamp_seconds":1788508012,"priority":1,"record_length":96,"hex_timestamp":"000001a06b627de0"} 
[2026-09-04 13:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857973760001,"66":26539,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707051008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857973760001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:21:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:21:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:21:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707051008,"description":"Unknown IO ID 44"} 
[2026-09-04 13:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857973760001,"power":26539,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707051008}} 
[2026-09-04 13:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":170972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:21:15] local.INFO: GPS data processed {"connection_id":170972,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:21:15] local.INFO: Acknowledgment sent {"connection_id":170972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:21:27] local.INFO: TCP Data received {"connection_id":173378,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:21:27] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:21:27] local.INFO: Packet analysis {"connection_id":173378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:21:27] local.INFO: Extracted packet for processing {"connection_id":173378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:21:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857971712001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788508003000,"timestamp_ms":1788508003000,"timestamp_seconds":1788508003,"priority":1,"record_length":96,"hex_timestamp":"000001a06b625ab8"} 
[2026-09-04 13:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 13:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857971712001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857971712001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:21:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:21:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857971712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":173378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:21:28] local.INFO: GPS data processed {"connection_id":173378,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:21:28] local.INFO: Acknowledgment sent {"connection_id":173378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:21:28] local.INFO: TCP Data received {"connection_id":172080,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b65c1d0012d19c24007203448002500a028..."} 
[2026-09-04 13:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b65c1d0012d19c24007203448002500a028..."} 
[2026-09-04 13:21:28] local.INFO: Processing buffer {"connection_id":172080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b65c1d0012d19c24007203448002500a028..."} 
[2026-09-04 13:21:28] local.INFO: Packet analysis {"connection_id":172080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b65"} 
[2026-09-04 13:21:28] local.INFO: Extracted packet for processing {"connection_id":172080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b65"} 
[2026-09-04 13:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756662848,"raw_latitude":119551048,"longitude_deg":75.6662848,"latitude_deg":11.9551048,"altitude":37,"angle":160,"satellites":40,"speed":41,"hex_longitude":"2d19c240","hex_latitude":"07203448","is_valid_coordinates":true} 
[2026-09-04 13:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858103808001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17222307755851776,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854638652153819136,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788508226000,"timestamp_ms":1788508226000,"timestamp_seconds":1788508226,"priority":1,"record_length":96,"hex_timestamp":"000001a06b65c1d0"} 
[2026-09-04 13:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 13:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858103808001,"66":14363,"121":206,"28":31744,"24":41,"16":17222307755851776,"45":1854638652153819136},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858103808001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:21:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17222307755851776,"km_value":17222307755851.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854638652153819136,"description":"Unknown IO ID 45"} 
[2026-09-04 13:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858103808001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1854638652153819136}} 
[2026-09-04 13:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":172080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:21:29] local.INFO: GPS data processed {"connection_id":172080,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:21:29] local.INFO: Acknowledgment sent {"connection_id":172080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:21:48] local.INFO: TCP Data received {"connection_id":170663,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:21:48] local.INFO: Processing buffer {"connection_id":170663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:21:48] local.INFO: IMEI packet received {"connection_id":170663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":170663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:21:50] local.INFO: TCP Data received {"connection_id":172081,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:21:50] local.INFO: Processing buffer {"connection_id":172081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:21:50] local.INFO: IMEI packet received {"connection_id":172081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":172081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:21:53] local.INFO: TCP Data received {"connection_id":170663,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:21:53] local.INFO: Processing buffer {"connection_id":170663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:21:53] local.INFO: IMEI packet received {"connection_id":170663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":170663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:21:54] local.INFO: TCP Data received {"connection_id":170663,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b65e110012d19cb8007201e200025008d28..."} 
[2026-09-04 13:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b65e110012d19cb8007201e200025008d28..."} 
[2026-09-04 13:21:54] local.INFO: Processing buffer {"connection_id":170663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b65e110012d19cb8007201e200025008d28..."} 
[2026-09-04 13:21:54] local.INFO: Packet analysis {"connection_id":170663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b65"} 
[2026-09-04 13:21:54] local.INFO: Extracted packet for processing {"connection_id":170663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b65"} 
[2026-09-04 13:21:54] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119545376,"longitude_deg":75.6665216,"latitude_deg":11.9545376,"altitude":37,"angle":141,"satellites":40,"speed":12,"hex_longitude":"2d19cb80","hex_latitude":"07201e20","is_valid_coordinates":true} 
[2026-09-04 13:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858105856001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17222604108595200,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856116395779311616,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788508234000,"timestamp_ms":1788508234000,"timestamp_seconds":1788508234,"priority":1,"record_length":96,"hex_timestamp":"000001a06b65e110"} 
[2026-09-04 13:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-04 13:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858105856001,"66":14407,"121":206,"28":31744,"24":12,"16":17222604108595200,"45":1856116395779311616},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858105856001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:21:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:21:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17222604108595200,"km_value":17222604108595.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856116395779311616,"description":"Unknown IO ID 45"} 
[2026-09-04 13:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858105856001,"power":14407,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1856116395779311616}} 
[2026-09-04 13:21:54] local.INFO: TCP Data received {"connection_id":172081,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:21:54] local.INFO: Processing buffer {"connection_id":172081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:21:54] local.INFO: IMEI packet received {"connection_id":172081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":172081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":170663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:21:54] local.INFO: GPS data processed {"connection_id":170663,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:21:54] local.INFO: Acknowledgment sent {"connection_id":170663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:21:56] local.INFO: TCP Data received {"connection_id":172081,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:21:56] local.INFO: Processing buffer {"connection_id":172081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b625ab8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:21:56] local.INFO: Packet analysis {"connection_id":172081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:21:56] local.INFO: Extracted packet for processing {"connection_id":172081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:21:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857971712001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788508003000,"timestamp_ms":1788508003000,"timestamp_seconds":1788508003,"priority":1,"record_length":96,"hex_timestamp":"000001a06b625ab8"} 
[2026-09-04 13:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 13:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857971712001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857971712001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:21:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:21:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857971712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":172081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:21:56] local.INFO: GPS data processed {"connection_id":172081,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:21:56] local.INFO: Acknowledgment sent {"connection_id":172081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:21:59] local.INFO: TCP Data received {"connection_id":170664,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:21:59] local.INFO: Processing buffer {"connection_id":170664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:21:59] local.INFO: IMEI packet received {"connection_id":170664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":170664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:22:04] local.INFO: TCP Data received {"connection_id":170664,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:22:04] local.INFO: Processing buffer {"connection_id":170664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:22:04] local.INFO: IMEI packet received {"connection_id":170664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":170664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:22:06] local.INFO: TCP Data received {"connection_id":170664,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:22:06] local.INFO: Processing buffer {"connection_id":170664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:22:06] local.INFO: Packet analysis {"connection_id":170664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:22:06] local.INFO: Extracted packet for processing {"connection_id":170664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:22:06] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857973760001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707051008,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788508012000,"timestamp_ms":1788508012000,"timestamp_seconds":1788508012,"priority":1,"record_length":96,"hex_timestamp":"000001a06b627de0"} 
[2026-09-04 13:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857973760001,"66":26539,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707051008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857973760001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:22:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:22:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707051008,"description":"Unknown IO ID 44"} 
[2026-09-04 13:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857973760001,"power":26539,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707051008}} 
[2026-09-04 13:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":170664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:22:06] local.INFO: GPS data processed {"connection_id":170664,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:22:06] local.INFO: Acknowledgment sent {"connection_id":170664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:22:10] local.INFO: TCP Data received {"connection_id":170664,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:22:10] local.INFO: Processing buffer {"connection_id":170664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b627de0012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:22:10] local.INFO: Packet analysis {"connection_id":170664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:22:10] local.INFO: Extracted packet for processing {"connection_id":170664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b62"} 
[2026-09-04 13:22:10] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457857973760001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478055741707051008,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788508012000,"timestamp_ms":1788508012000,"timestamp_seconds":1788508012,"priority":1,"record_length":96,"hex_timestamp":"000001a06b627de0"} 
[2026-09-04 13:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457857973760001,"66":26539,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4478055741707051008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457857973760001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:22:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478055741707051008,"description":"Unknown IO ID 44"} 
[2026-09-04 13:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457857973760001,"power":26539,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478055741707051008}} 
[2026-09-04 13:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":170664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:22:10] local.INFO: GPS data processed {"connection_id":170664,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:22:10] local.INFO: Acknowledgment sent {"connection_id":170664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:22:26] local.INFO: TCP Data received {"connection_id":170663,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b66c788012d19ff0007203638003100302b..."} 
[2026-09-04 13:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b66c788012d19ff0007203638003100302b..."} 
[2026-09-04 13:22:26] local.INFO: Processing buffer {"connection_id":170663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b66c788012d19ff0007203638003100302b..."} 
[2026-09-04 13:22:26] local.INFO: Packet analysis {"connection_id":170663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:22:26] local.INFO: Extracted packet for processing {"connection_id":170663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:22:26] local.INFO: GPS Element Parsed {"raw_longitude":756678400,"raw_latitude":119551544,"longitude_deg":75.66784,"latitude_deg":11.9551544,"altitude":49,"angle":48,"satellites":43,"speed":16,"hex_longitude":"2d19ff00","hex_latitude":"07203638","is_valid_coordinates":true} 
[2026-09-04 13:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858121472001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17223347137937408,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870119775870248960,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788508293000,"timestamp_ms":1788508293000,"timestamp_seconds":1788508293,"priority":1,"record_length":96,"hex_timestamp":"000001a06b66c788"} 
[2026-09-04 13:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-04 13:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858121472001,"66":14113,"121":206,"28":31744,"24":16,"16":17223347137937408,"45":1870119775870248960},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858121472001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:22:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:22:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17223347137937408,"km_value":17223347137937.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870119775870248960,"description":"Unknown IO ID 45"} 
[2026-09-04 13:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858121472001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1870119775870248960}} 
[2026-09-04 13:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":170663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:22:26] local.INFO: GPS data processed {"connection_id":170663,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:22:26] local.INFO: Acknowledgment sent {"connection_id":170663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:22:28] local.INFO: TCP Data received {"connection_id":172081,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:22:28] local.INFO: Processing buffer {"connection_id":172081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:22:28] local.INFO: Packet analysis {"connection_id":172081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:22:28] local.INFO: Extracted packet for processing {"connection_id":172081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:22:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858048768001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788508304000,"timestamp_ms":1788508304000,"timestamp_seconds":1788508304,"priority":1,"record_length":96,"hex_timestamp":"000001a06b66f280"} 
[2026-09-04 13:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858048768001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858048768001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:22:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:22:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858048768001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":172081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:22:28] local.INFO: GPS data processed {"connection_id":172081,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:22:28] local.INFO: Acknowledgment sent {"connection_id":172081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:22:41] local.INFO: TCP Data received {"connection_id":170664,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:22:41] local.INFO: Processing buffer {"connection_id":170664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:22:41] local.INFO: Packet analysis {"connection_id":170664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:22:41] local.INFO: Extracted packet for processing {"connection_id":170664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:22:41] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858051072001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788508313000,"timestamp_ms":1788508313000,"timestamp_seconds":1788508313,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6715a8"} 
[2026-09-04 13:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-04 13:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858051072001,"66":26267,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858051072001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:22:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858051072001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":170664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:22:41] local.INFO: GPS data processed {"connection_id":170664,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:22:41] local.INFO: Acknowledgment sent {"connection_id":170664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:22:48] local.INFO: TCP Data received {"connection_id":173379,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:22:48] local.INFO: Processing buffer {"connection_id":173379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:22:48] local.INFO: IMEI packet received {"connection_id":173379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":173379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:22:50] local.INFO: TCP Data received {"connection_id":173379,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:22:50] local.INFO: Processing buffer {"connection_id":173379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:22:50] local.INFO: IMEI packet received {"connection_id":173379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":173379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:22:53] local.INFO: TCP Data received {"connection_id":173379,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:22:53] local.INFO: Processing buffer {"connection_id":173379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:22:53] local.INFO: IMEI packet received {"connection_id":173379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":173379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:22:54] local.INFO: TCP Data received {"connection_id":173379,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b66eab0012d1a09c007203ec00039003d2b..."} 
[2026-09-04 13:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b66eab0012d1a09c007203ec00039003d2b..."} 
[2026-09-04 13:22:54] local.INFO: Processing buffer {"connection_id":173379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b66eab0012d1a09c007203ec00039003d2b..."} 
[2026-09-04 13:22:54] local.INFO: Packet analysis {"connection_id":173379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:22:54] local.INFO: Extracted packet for processing {"connection_id":173379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:22:54] local.INFO: GPS Element Parsed {"raw_longitude":756681152,"raw_latitude":119553728,"longitude_deg":75.6681152,"latitude_deg":11.9553728,"altitude":57,"angle":61,"satellites":43,"speed":16,"hex_longitude":"2d1a09c0","hex_latitude":"07203ec0","is_valid_coordinates":true} 
[2026-09-04 13:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858123008001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17223514641661952,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1873216000614610944,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788508302000,"timestamp_ms":1788508302000,"timestamp_seconds":1788508302,"priority":1,"record_length":96,"hex_timestamp":"000001a06b66eab0"} 
[2026-09-04 13:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-04 13:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858123008001,"66":14113,"121":206,"28":31744,"24":16,"16":17223514641661952,"45":1873216000614610944},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858123008001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:22:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:22:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17223514641661952,"km_value":17223514641661.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1873216000614610944,"description":"Unknown IO ID 45"} 
[2026-09-04 13:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858123008001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1873216000614610944}} 
[2026-09-04 13:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":173379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:22:54] local.INFO: GPS data processed {"connection_id":173379,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:22:54] local.INFO: Acknowledgment sent {"connection_id":173379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:22:54] local.INFO: TCP Data received {"connection_id":173380,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:22:54] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:22:54] local.INFO: IMEI packet received {"connection_id":173380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":173380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:22:59] local.INFO: TCP Data received {"connection_id":173379,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b66f668012d1a0ec007204080003a004a2c..."} 
[2026-09-04 13:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b66f668012d1a0ec007204080003a004a2c..."} 
[2026-09-04 13:22:59] local.INFO: Processing buffer {"connection_id":173379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b66f668012d1a0ec007204080003a004a2c..."} 
[2026-09-04 13:22:59] local.INFO: Packet analysis {"connection_id":173379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:22:59] local.INFO: Extracted packet for processing {"connection_id":173379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756682432,"raw_latitude":119554176,"longitude_deg":75.6682432,"latitude_deg":11.9554176,"altitude":58,"angle":74,"satellites":44,"speed":20,"hex_longitude":"2d1a0ec0","hex_latitude":"07204080","is_valid_coordinates":true} 
[2026-09-04 13:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858125312001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17223583361138688,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876241856614809600,"note":"Value kept but may cause issues"} 
[2026-09-04 13:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788508305000,"timestamp_ms":1788508305000,"timestamp_seconds":1788508305,"priority":1,"record_length":96,"hex_timestamp":"000001a06b66f668"} 
[2026-09-04 13:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-04 13:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858125312001,"66":14070,"121":206,"28":31744,"24":20,"16":17223583361138688,"45":1876241856614809600},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858125312001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:22:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17223583361138688,"km_value":17223583361138.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876241856614809600,"description":"Unknown IO ID 45"} 
[2026-09-04 13:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858125312001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1876241856614809600}} 
[2026-09-04 13:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":173379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:22:59] local.INFO: GPS data processed {"connection_id":173379,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:22:59] local.INFO: Acknowledgment sent {"connection_id":173379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:22:59] local.INFO: TCP Data received {"connection_id":173380,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:22:59] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:22:59] local.INFO: IMEI packet received {"connection_id":173380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":173380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:23:01] local.INFO: TCP Data received {"connection_id":173380,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:23:01] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:23:01] local.INFO: Packet analysis {"connection_id":173380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:23:01] local.INFO: Extracted packet for processing {"connection_id":173380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:23:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858048768001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788508304000,"timestamp_ms":1788508304000,"timestamp_seconds":1788508304,"priority":1,"record_length":96,"hex_timestamp":"000001a06b66f280"} 
[2026-09-04 13:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858048768001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858048768001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:23:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:23:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858048768001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":173380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762510,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:23:01] local.INFO: GPS data processed {"connection_id":173380,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:23:01] local.INFO: Acknowledgment sent {"connection_id":173380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:23:04] local.INFO: TCP Data received {"connection_id":173381,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:23:04] local.INFO: Processing buffer {"connection_id":173381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:23:04] local.INFO: IMEI packet received {"connection_id":173381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":173381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:23:05] local.INFO: TCP Data received {"connection_id":173380,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:23:05] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:23:05] local.INFO: Packet analysis {"connection_id":173380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:23:05] local.INFO: Extracted packet for processing {"connection_id":173380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858048768001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788508304000,"timestamp_ms":1788508304000,"timestamp_seconds":1788508304,"priority":1,"record_length":96,"hex_timestamp":"000001a06b66f280"} 
[2026-09-04 13:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858048768001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858048768001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:23:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858048768001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":173380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762511,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:23:05] local.INFO: GPS data processed {"connection_id":173380,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:23:05] local.INFO: Acknowledgment sent {"connection_id":173380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:23:10] local.INFO: TCP Data received {"connection_id":173381,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:23:10] local.INFO: Processing buffer {"connection_id":173381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:23:10] local.INFO: IMEI packet received {"connection_id":173381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":173381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:23:11] local.INFO: TCP Data received {"connection_id":173381,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:23:11] local.INFO: Processing buffer {"connection_id":173381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:23:11] local.INFO: Packet analysis {"connection_id":173381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:23:11] local.INFO: Extracted packet for processing {"connection_id":173381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:23:11] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858051072001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788508313000,"timestamp_ms":1788508313000,"timestamp_seconds":1788508313,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6715a8"} 
[2026-09-04 13:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-04 13:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858051072001,"66":26267,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858051072001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:23:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858051072001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":173381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:23:11] local.INFO: GPS data processed {"connection_id":173381,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:23:11] local.INFO: Acknowledgment sent {"connection_id":173381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:23:30] local.INFO: TCP Data received {"connection_id":173379,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b67dce0012d1a8900072057980042002f2d..."} 
[2026-09-04 13:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b67dce0012d1a8900072057980042002f2d..."} 
[2026-09-04 13:23:30] local.INFO: Processing buffer {"connection_id":173379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b67dce0012d1a8900072057980042002f2d..."} 
[2026-09-04 13:23:30] local.INFO: Packet analysis {"connection_id":173379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:23:30] local.INFO: Extracted packet for processing {"connection_id":173379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756713728,"raw_latitude":119560088,"longitude_deg":75.6713728,"latitude_deg":11.9560088,"altitude":66,"angle":47,"satellites":45,"speed":9,"hex_longitude":"2d1a8900","hex_latitude":"07205798","is_valid_coordinates":true} 
[2026-09-04 13:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858140928001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17225258398384128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911848441170286592,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788508364000,"timestamp_ms":1788508364000,"timestamp_seconds":1788508364,"priority":1,"record_length":96,"hex_timestamp":"000001a06b67dce0"} 
[2026-09-04 13:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 13:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858140928001,"66":14298,"121":206,"28":31744,"24":9,"16":17225258398384128,"45":1911848441170286592},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858140928001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:23:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:23:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17225258398384128,"km_value":17225258398384.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911848441170286592,"description":"Unknown IO ID 45"} 
[2026-09-04 13:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858140928001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1911848441170286592}} 
[2026-09-04 13:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":173379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:23:30] local.INFO: GPS data processed {"connection_id":173379,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:23:30] local.INFO: Acknowledgment sent {"connection_id":173379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:23:42] local.INFO: TCP Data received {"connection_id":173381,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:23:42] local.INFO: Processing buffer {"connection_id":173381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:23:42] local.INFO: Packet analysis {"connection_id":173381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:23:42] local.INFO: Extracted packet for processing {"connection_id":173381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:23:42] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858051072001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788508313000,"timestamp_ms":1788508313000,"timestamp_seconds":1788508313,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6715a8"} 
[2026-09-04 13:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-04 13:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858051072001,"66":26267,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858051072001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:23:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858051072001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":173381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:23:42] local.INFO: GPS data processed {"connection_id":173381,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:23:42] local.INFO: Acknowledgment sent {"connection_id":173381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:23:48] local.INFO: TCP Data received {"connection_id":173383,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:23:48] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:23:48] local.INFO: IMEI packet received {"connection_id":173383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":173383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:23:49] local.INFO: TCP Data received {"connection_id":173382,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:23:49] local.INFO: Processing buffer {"connection_id":173382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:23:49] local.INFO: IMEI packet received {"connection_id":173382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":173382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:23:49] local.INFO: TCP Data received {"connection_id":173383,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:23:49] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:23:49] local.INFO: IMEI packet received {"connection_id":173383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":173383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:23:54] local.INFO: TCP Data received {"connection_id":173383,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:23:54] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:23:54] local.INFO: IMEI packet received {"connection_id":173383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":173383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:23:54] local.INFO: TCP Data received {"connection_id":173382,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:23:54] local.INFO: Processing buffer {"connection_id":173382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:23:54] local.INFO: IMEI packet received {"connection_id":173382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":173382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:23:55] local.INFO: TCP Data received {"connection_id":173383,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b67e4b0012d1a8b00072058c0004300472d..."} 
[2026-09-04 13:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b67e4b0012d1a8b00072058c0004300472d..."} 
[2026-09-04 13:23:55] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b67e4b0012d1a8b00072058c0004300472d..."} 
[2026-09-04 13:23:55] local.INFO: Packet analysis {"connection_id":173383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:23:55] local.INFO: Extracted packet for processing {"connection_id":173383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:23:55] local.INFO: GPS Element Parsed {"raw_longitude":756714240,"raw_latitude":119560384,"longitude_deg":75.671424,"latitude_deg":11.9560384,"altitude":67,"angle":71,"satellites":45,"speed":12,"hex_longitude":"2d1a8b00","hex_latitude":"072058c0","is_valid_coordinates":true} 
[2026-09-04 13:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858141184001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17225288463155200,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912059547402868736,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788508366000,"timestamp_ms":1788508366000,"timestamp_seconds":1788508366,"priority":1,"record_length":96,"hex_timestamp":"000001a06b67e4b0"} 
[2026-09-04 13:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 13:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858141184001,"66":14233,"121":206,"28":31744,"24":12,"16":17225288463155200,"45":1912059547402868736},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858141184001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:23:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17225288463155200,"km_value":17225288463155.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912059547402868736,"description":"Unknown IO ID 45"} 
[2026-09-04 13:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858141184001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1912059547402868736}} 
[2026-09-04 13:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":173383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:23:55] local.INFO: GPS data processed {"connection_id":173383,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:23:55] local.INFO: Acknowledgment sent {"connection_id":173383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:23:56] local.INFO: TCP Data received {"connection_id":173382,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:23:56] local.INFO: Processing buffer {"connection_id":173382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:23:56] local.INFO: Packet analysis {"connection_id":173382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:23:56] local.INFO: Extracted packet for processing {"connection_id":173382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:23:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858048768001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788508304000,"timestamp_ms":1788508304000,"timestamp_seconds":1788508304,"priority":1,"record_length":96,"hex_timestamp":"000001a06b66f280"} 
[2026-09-04 13:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858048768001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858048768001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:23:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:23:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858048768001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":173382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762516,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:23:56] local.INFO: GPS data processed {"connection_id":173382,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:23:56] local.INFO: Acknowledgment sent {"connection_id":173382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:23:59] local.INFO: TCP Data received {"connection_id":170973,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:23:59] local.INFO: Processing buffer {"connection_id":170973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:23:59] local.INFO: IMEI packet received {"connection_id":170973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":170973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:24:11] local.INFO: TCP Data received {"connection_id":170973,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:24:11] local.INFO: Processing buffer {"connection_id":170973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:24:11] local.INFO: IMEI packet received {"connection_id":170973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":170973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:24:14] local.INFO: TCP Data received {"connection_id":170973,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:24:14] local.INFO: Processing buffer {"connection_id":170973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:24:14] local.INFO: IMEI packet received {"connection_id":170973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":170973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:24:16] local.INFO: TCP Data received {"connection_id":170973,"ip":"42.109.136.6","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06b..."} 
[2026-09-04 13:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170973,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06b..."} 
[2026-09-04 13:24:16] local.INFO: Processing buffer {"connection_id":170973,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06b..."} 
[2026-09-04 13:24:16] local.INFO: IMEI packet received {"connection_id":170973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":170973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:24:22] local.INFO: TCP Data received {"connection_id":170973,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:24:22] local.INFO: Processing buffer {"connection_id":170973,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:24:22] local.INFO: Packet analysis {"connection_id":170973,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:24:22] local.INFO: Extracted packet for processing {"connection_id":170973,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:24:22] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858051072001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788508313000,"timestamp_ms":1788508313000,"timestamp_seconds":1788508313,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6715a8"} 
[2026-09-04 13:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-04 13:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":170973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":170973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":170973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858051072001,"66":26267,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858051072001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:24:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:24:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:24:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858051072001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":170973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:24:22] local.INFO: GPS data processed {"connection_id":170973,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:24:22] local.INFO: Acknowledgment sent {"connection_id":170973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:24:22] local.INFO: Packet analysis {"connection_id":170973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:24:22] local.INFO: Extracted packet for processing {"connection_id":170973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:24:22] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858051072001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788508313000,"timestamp_ms":1788508313000,"timestamp_seconds":1788508313,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6715a8"} 
[2026-09-04 13:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-04 13:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":170973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":170973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":170973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858051072001,"66":26267,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858051072001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:24:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:24:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:24:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858051072001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":170973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:24:22] local.INFO: GPS data processed {"connection_id":170973,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:24:22] local.INFO: Acknowledgment sent {"connection_id":170973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:24:25] local.INFO: TCP Data received {"connection_id":170973,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:24:25] local.INFO: Processing buffer {"connection_id":170973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:24:25] local.INFO: Packet analysis {"connection_id":170973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:24:25] local.INFO: Extracted packet for processing {"connection_id":170973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:24:25] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858051072001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788508313000,"timestamp_ms":1788508313000,"timestamp_seconds":1788508313,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6715a8"} 
[2026-09-04 13:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-04 13:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858051072001,"66":26267,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858051072001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:24:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:24:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:24:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858051072001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":170973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:24:25] local.INFO: GPS data processed {"connection_id":170973,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:24:25] local.INFO: Acknowledgment sent {"connection_id":170973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:24:26] local.INFO: TCP Data received {"connection_id":173383,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b68cb28012d1ae000072060480048008928..."} 
[2026-09-04 13:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b68cb28012d1ae000072060480048008928..."} 
[2026-09-04 13:24:26] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b68cb28012d1ae000072060480048008928..."} 
[2026-09-04 13:24:26] local.INFO: Packet analysis {"connection_id":173383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b68"} 
[2026-09-04 13:24:26] local.INFO: Extracted packet for processing {"connection_id":173383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b68"} 
[2026-09-04 13:24:26] local.INFO: GPS Element Parsed {"raw_longitude":756736000,"raw_latitude":119562312,"longitude_deg":75.6736,"latitude_deg":11.9562312,"altitude":72,"angle":137,"satellites":40,"speed":11,"hex_longitude":"2d1ae000","hex_latitude":"07206048","is_valid_coordinates":true} 
[2026-09-04 13:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858156288001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17226529708703744,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936125657912332288,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788508425000,"timestamp_ms":1788508425000,"timestamp_seconds":1788508425,"priority":1,"record_length":96,"hex_timestamp":"000001a06b68cb28"} 
[2026-09-04 13:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 13:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858156288001,"66":13993,"121":206,"28":31744,"24":11,"16":17226529708703744,"45":1936125657912332288},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858156288001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:24:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:24:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17226529708703744,"km_value":17226529708703.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936125657912332288,"description":"Unknown IO ID 45"} 
[2026-09-04 13:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858156288001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1936125657912332288}} 
[2026-09-04 13:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":173383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:24:26] local.INFO: GPS data processed {"connection_id":173383,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:24:26] local.INFO: Acknowledgment sent {"connection_id":173383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:24:28] local.INFO: TCP Data received {"connection_id":173382,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:24:28] local.INFO: Processing buffer {"connection_id":173382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:24:28] local.INFO: Packet analysis {"connection_id":173382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:24:28] local.INFO: Extracted packet for processing {"connection_id":173382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:24:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858048768001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788508304000,"timestamp_ms":1788508304000,"timestamp_seconds":1788508304,"priority":1,"record_length":96,"hex_timestamp":"000001a06b66f280"} 
[2026-09-04 13:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858048768001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858048768001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:24:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:24:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858048768001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":173382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762521,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:24:28] local.INFO: GPS data processed {"connection_id":173382,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:24:28] local.INFO: Acknowledgment sent {"connection_id":173382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:24:48] local.INFO: TCP Data received {"connection_id":172082,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:24:48] local.INFO: Processing buffer {"connection_id":172082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:24:48] local.INFO: IMEI packet received {"connection_id":172082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":172082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:24:49] local.INFO: TCP Data received {"connection_id":172083,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:24:49] local.INFO: Processing buffer {"connection_id":172083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:24:49] local.INFO: IMEI packet received {"connection_id":172083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":172083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:24:53] local.INFO: TCP Data received {"connection_id":172082,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:24:54] local.INFO: Processing buffer {"connection_id":172082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:24:54] local.INFO: IMEI packet received {"connection_id":172082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":172082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:24:54] local.INFO: TCP Data received {"connection_id":172083,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:24:54] local.INFO: Processing buffer {"connection_id":172083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:24:54] local.INFO: IMEI packet received {"connection_id":172083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":172083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:24:55] local.INFO: TCP Data received {"connection_id":172083,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:24:55] local.INFO: Processing buffer {"connection_id":172083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:24:55] local.INFO: Packet analysis {"connection_id":172083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:24:55] local.INFO: Extracted packet for processing {"connection_id":172083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:24:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858048768001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788508304000,"timestamp_ms":1788508304000,"timestamp_seconds":1788508304,"priority":1,"record_length":96,"hex_timestamp":"000001a06b66f280"} 
[2026-09-04 13:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858048768001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858048768001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:24:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:24:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858048768001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":172083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762522,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:24:56] local.INFO: GPS data processed {"connection_id":172083,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:24:56] local.INFO: Acknowledgment sent {"connection_id":172083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:24:56] local.INFO: TCP Data received {"connection_id":172082,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b68cf10012d1ae0c007205fc00048007329..."} 
[2026-09-04 13:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b68cf10012d1ae0c007205fc00048007329..."} 
[2026-09-04 13:24:56] local.INFO: Processing buffer {"connection_id":172082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b68cf10012d1ae0c007205fc00048007329..."} 
[2026-09-04 13:24:56] local.INFO: Packet analysis {"connection_id":172082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b68"} 
[2026-09-04 13:24:56] local.INFO: Extracted packet for processing {"connection_id":172082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b68"} 
[2026-09-04 13:24:56] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119562176,"longitude_deg":75.6736192,"latitude_deg":11.9562176,"altitude":72,"angle":115,"satellites":41,"speed":11,"hex_longitude":"2d1ae0c0","hex_latitude":"07205fc0","is_valid_coordinates":true} 
[2026-09-04 13:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858156800001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17226538298638336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936547870377265152,"note":"Value kept but may cause issues"} 
[2026-09-04 13:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788508426000,"timestamp_ms":1788508426000,"timestamp_seconds":1788508426,"priority":1,"record_length":96,"hex_timestamp":"000001a06b68cf10"} 
[2026-09-04 13:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 13:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858156800001,"66":13993,"121":206,"28":31744,"24":11,"16":17226538298638336,"45":1936547870377265152},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858156800001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:24:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:24:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17226538298638336,"km_value":17226538298638.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936547870377265152,"description":"Unknown IO ID 45"} 
[2026-09-04 13:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858156800001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1936547870377265152}} 
[2026-09-04 13:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":172082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:24:56] local.INFO: GPS data processed {"connection_id":172082,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:24:56] local.INFO: Acknowledgment sent {"connection_id":172082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:25:04] local.INFO: TCP Data received {"connection_id":170974,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:25:04] local.INFO: Processing buffer {"connection_id":170974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:25:04] local.INFO: IMEI packet received {"connection_id":170974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":170974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:25:09] local.INFO: TCP Data received {"connection_id":170974,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:25:09] local.INFO: Processing buffer {"connection_id":170974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:25:09] local.INFO: IMEI packet received {"connection_id":170974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":170974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:25:11] local.INFO: TCP Data received {"connection_id":170974,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:25:11] local.INFO: Processing buffer {"connection_id":170974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:25:11] local.INFO: Packet analysis {"connection_id":170974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:25:11] local.INFO: Extracted packet for processing {"connection_id":170974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:25:11] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858051072001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788508313000,"timestamp_ms":1788508313000,"timestamp_seconds":1788508313,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6715a8"} 
[2026-09-04 13:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-04 13:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858051072001,"66":26267,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858051072001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:25:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858051072001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":170974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:25:11] local.INFO: GPS data processed {"connection_id":170974,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:25:11] local.INFO: Acknowledgment sent {"connection_id":170974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:25:15] local.INFO: TCP Data received {"connection_id":170974,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:25:15] local.INFO: Processing buffer {"connection_id":170974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:25:15] local.INFO: Packet analysis {"connection_id":170974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:25:15] local.INFO: Extracted packet for processing {"connection_id":170974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:25:15] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858051072001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:25:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788508313000,"timestamp_ms":1788508313000,"timestamp_seconds":1788508313,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6715a8"} 
[2026-09-04 13:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-04 13:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858051072001,"66":26267,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858051072001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:25:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:25:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858051072001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":170974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:25:15] local.INFO: GPS data processed {"connection_id":170974,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:25:15] local.INFO: Acknowledgment sent {"connection_id":170974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:25:27] local.INFO: TCP Data received {"connection_id":172082,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b68d2f8012d1ae20007205f900048006329..."} 
[2026-09-04 13:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b68d2f8012d1ae20007205f900048006329..."} 
[2026-09-04 13:25:27] local.INFO: Processing buffer {"connection_id":172082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b68d2f8012d1ae20007205f900048006329..."} 
[2026-09-04 13:25:27] local.INFO: Packet analysis {"connection_id":172082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b68"} 
[2026-09-04 13:25:27] local.INFO: Extracted packet for processing {"connection_id":172082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b68"} 
[2026-09-04 13:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756736512,"raw_latitude":119562128,"longitude_deg":75.6736512,"latitude_deg":11.9562128,"altitude":72,"angle":99,"satellites":41,"speed":11,"hex_longitude":"2d1ae200","hex_latitude":"07205f90","is_valid_coordinates":true} 
[2026-09-04 13:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858157056001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17226555478507520,"note":"Value kept but may cause issues"} 
[2026-09-04 13:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976609763328,"note":"Value kept but may cause issues"} 
[2026-09-04 13:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788508427000,"timestamp_ms":1788508427000,"timestamp_seconds":1788508427,"priority":1,"record_length":96,"hex_timestamp":"000001a06b68d2f8"} 
[2026-09-04 13:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 13:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858157056001,"66":14048,"121":206,"28":31744,"24":11,"16":17226555478507520,"45":1936758976609763328},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858157056001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:25:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17226555478507520,"km_value":17226555478507.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976609763328,"description":"Unknown IO ID 45"} 
[2026-09-04 13:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858157056001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1936758976609763328}} 
[2026-09-04 13:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":172082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:25:27] local.INFO: GPS data processed {"connection_id":172082,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:25:27] local.INFO: Acknowledgment sent {"connection_id":172082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:25:27] local.INFO: TCP Data received {"connection_id":172083,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:25:27] local.INFO: Processing buffer {"connection_id":172083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:25:27] local.INFO: Packet analysis {"connection_id":172083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:25:27] local.INFO: Extracted packet for processing {"connection_id":172083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:25:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858048768001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788508304000,"timestamp_ms":1788508304000,"timestamp_seconds":1788508304,"priority":1,"record_length":96,"hex_timestamp":"000001a06b66f280"} 
[2026-09-04 13:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858048768001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858048768001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:25:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858048768001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":172083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762527,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:25:27] local.INFO: GPS data processed {"connection_id":172083,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:25:27] local.INFO: Acknowledgment sent {"connection_id":172083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:25:45] local.INFO: TCP Data received {"connection_id":170665,"ip":"47.91.89.133","data_length":243,"data_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-09-04 13:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170665,"packet_length":243,"packet_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-09-04 13:25:45] local.INFO: Processing buffer {"connection_id":170665,"buffer_length":243,"buffer_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-09-04 13:25:45] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":170665,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea03034906b2f9bc"} 
[2026-09-04 13:25:50] local.INFO: TCP Data received {"connection_id":170666,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:25:50] local.INFO: Processing buffer {"connection_id":170666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:25:50] local.INFO: IMEI packet received {"connection_id":170666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":170666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:25:51] local.INFO: TCP Data received {"connection_id":170666,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:25:51] local.INFO: Processing buffer {"connection_id":170666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:25:51] local.INFO: IMEI packet received {"connection_id":170666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":170666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:25:53] local.INFO: TCP Data received {"connection_id":170666,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:25:53] local.INFO: Processing buffer {"connection_id":170666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:25:53] local.INFO: IMEI packet received {"connection_id":170666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":170666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:25:53] local.INFO: TCP Data received {"connection_id":170666,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:25:53] local.INFO: Processing buffer {"connection_id":170666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:25:53] local.INFO: IMEI packet received {"connection_id":170666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":170666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:25:54] local.INFO: TCP Data received {"connection_id":170667,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:25:54] local.INFO: Processing buffer {"connection_id":170667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:25:54] local.INFO: IMEI packet received {"connection_id":170667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":170667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:25:58] local.INFO: TCP Data received {"connection_id":170976,"ip":"47.91.89.133","data_length":81,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-04 13:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170976,"packet_length":81,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-04 13:25:58] local.INFO: Processing buffer {"connection_id":170976,"buffer_length":81,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-04 13:25:58] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":170976,"buffer_length":81,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-09-04 13:25:59] local.INFO: TCP Data received {"connection_id":170667,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:25:59] local.INFO: Processing buffer {"connection_id":170667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:25:59] local.INFO: IMEI packet received {"connection_id":170667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":170667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:25:59] local.INFO: TCP Data received {"connection_id":170975,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:25:59] local.INFO: Processing buffer {"connection_id":170975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:25:59] local.INFO: IMEI packet received {"connection_id":170975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":170975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:26:01] local.INFO: TCP Data received {"connection_id":170667,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:26:01] local.INFO: Processing buffer {"connection_id":170667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:26:01] local.INFO: Packet analysis {"connection_id":170667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:26:01] local.INFO: Extracted packet for processing {"connection_id":170667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:26:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858048768001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788508304000,"timestamp_ms":1788508304000,"timestamp_seconds":1788508304,"priority":1,"record_length":96,"hex_timestamp":"000001a06b66f280"} 
[2026-09-04 13:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858048768001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858048768001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:26:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:26:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858048768001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":170667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762528,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:26:01] local.INFO: GPS data processed {"connection_id":170667,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:26:01] local.INFO: Acknowledgment sent {"connection_id":170667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:26:04] local.INFO: TCP Data received {"connection_id":170975,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:26:04] local.INFO: Processing buffer {"connection_id":170975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:26:04] local.INFO: IMEI packet received {"connection_id":170975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":170975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:26:05] local.INFO: TCP Data received {"connection_id":170975,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:26:05] local.INFO: Processing buffer {"connection_id":170975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:26:05] local.INFO: Packet analysis {"connection_id":170975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:26:05] local.INFO: Extracted packet for processing {"connection_id":170975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:26:05] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858051072001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788508313000,"timestamp_ms":1788508313000,"timestamp_seconds":1788508313,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6715a8"} 
[2026-09-04 13:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-04 13:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858051072001,"66":26267,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858051072001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:26:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:26:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858051072001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":170975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:26:05] local.INFO: GPS data processed {"connection_id":170975,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:26:05] local.INFO: Acknowledgment sent {"connection_id":170975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:26:06] local.INFO: TCP Data received {"connection_id":170667,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:26:06] local.INFO: Processing buffer {"connection_id":170667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:26:06] local.INFO: Packet analysis {"connection_id":170667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:26:06] local.INFO: Extracted packet for processing {"connection_id":170667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858048768001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788508304000,"timestamp_ms":1788508304000,"timestamp_seconds":1788508304,"priority":1,"record_length":96,"hex_timestamp":"000001a06b66f280"} 
[2026-09-04 13:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858048768001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858048768001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:26:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:26:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858048768001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":170667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:26:07] local.INFO: GPS data processed {"connection_id":170667,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:26:07] local.INFO: Acknowledgment sent {"connection_id":170667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:26:11] local.INFO: TCP Data received {"connection_id":170977,"ip":"47.91.89.133","data_length":19,"data_hex":"030000130ee000000000000100080003000000..."} 
[2026-09-04 13:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170977,"packet_length":19,"packet_hex":"030000130ee000000000000100080003000000..."} 
[2026-09-04 13:26:11] local.INFO: Processing buffer {"connection_id":170977,"buffer_length":19,"buffer_hex":"030000130ee000000000000100080003000000..."} 
[2026-09-04 13:26:11] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":170977,"buffer_length":19,"first_bytes_hex":"030000130ee000000000000100080003"} 
[2026-09-04 13:26:37] local.INFO: TCP Data received {"connection_id":170975,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:26:37] local.INFO: Processing buffer {"connection_id":170975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:26:37] local.INFO: Packet analysis {"connection_id":170975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:26:37] local.INFO: Extracted packet for processing {"connection_id":170975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858051072001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788508313000,"timestamp_ms":1788508313000,"timestamp_seconds":1788508313,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6715a8"} 
[2026-09-04 13:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-04 13:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858051072001,"66":26267,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858051072001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:26:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858051072001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":170975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:26:37] local.INFO: GPS data processed {"connection_id":170975,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:26:37] local.INFO: Acknowledgment sent {"connection_id":170975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:26:49] local.INFO: TCP Data received {"connection_id":170978,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:26:49] local.INFO: Processing buffer {"connection_id":170978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:26:49] local.INFO: IMEI packet received {"connection_id":170978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":170978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:26:54] local.INFO: TCP Data received {"connection_id":170978,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:26:54] local.INFO: Processing buffer {"connection_id":170978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:26:54] local.INFO: IMEI packet received {"connection_id":170978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":170978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:26:56] local.INFO: TCP Data received {"connection_id":170978,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:26:56] local.INFO: Processing buffer {"connection_id":170978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b66f280012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:26:56] local.INFO: Packet analysis {"connection_id":170978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:26:56] local.INFO: Extracted packet for processing {"connection_id":170978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b66"} 
[2026-09-04 13:26:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858048768001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788508304000,"timestamp_ms":1788508304000,"timestamp_seconds":1788508304,"priority":1,"record_length":96,"hex_timestamp":"000001a06b66f280"} 
[2026-09-04 13:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858048768001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858048768001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:26:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:26:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858048768001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":170978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762532,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:26:56] local.INFO: GPS data processed {"connection_id":170978,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:26:56] local.INFO: Acknowledgment sent {"connection_id":170978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:27:00] local.INFO: TCP Data received {"connection_id":170668,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:27:00] local.INFO: Processing buffer {"connection_id":170668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:27:00] local.INFO: IMEI packet received {"connection_id":170668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":170668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:27:08] local.INFO: TCP Data received {"connection_id":170668,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:27:08] local.INFO: Processing buffer {"connection_id":170668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:27:08] local.INFO: IMEI packet received {"connection_id":170668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":170668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:27:10] local.INFO: TCP Data received {"connection_id":170668,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:27:10] local.INFO: Processing buffer {"connection_id":170668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:27:10] local.INFO: Packet analysis {"connection_id":170668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:27:10] local.INFO: Extracted packet for processing {"connection_id":170668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:27:10] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858051072001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788508313000,"timestamp_ms":1788508313000,"timestamp_seconds":1788508313,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6715a8"} 
[2026-09-04 13:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-04 13:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858051072001,"66":26267,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858051072001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:27:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858051072001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":170668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:27:10] local.INFO: GPS data processed {"connection_id":170668,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:27:10] local.INFO: Acknowledgment sent {"connection_id":170668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:27:10] local.INFO: TCP Data received {"connection_id":170668,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:27:10] local.INFO: Processing buffer {"connection_id":170668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6715a8012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:27:10] local.INFO: Packet analysis {"connection_id":170668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:27:10] local.INFO: Extracted packet for processing {"connection_id":170668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b67"} 
[2026-09-04 13:27:10] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858051072001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788508313000,"timestamp_ms":1788508313000,"timestamp_seconds":1788508313,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6715a8"} 
[2026-09-04 13:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-04 13:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858051072001,"66":26267,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858051072001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:27:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858051072001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":170668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:27:10] local.INFO: GPS data processed {"connection_id":170668,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:27:10] local.INFO: Acknowledgment sent {"connection_id":170668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:27:28] local.INFO: TCP Data received {"connection_id":170978,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:27:28] local.INFO: Processing buffer {"connection_id":170978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:27:28] local.INFO: Packet analysis {"connection_id":170978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:27:28] local.INFO: Extracted packet for processing {"connection_id":170978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:27:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858125824001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788508605000,"timestamp_ms":1788508605000,"timestamp_seconds":1788508605,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6b8a48"} 
[2026-09-04 13:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 13:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858125824001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858125824001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:27:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:27:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858125824001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":170978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762535,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:27:28] local.INFO: GPS data processed {"connection_id":170978,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:27:28] local.INFO: Acknowledgment sent {"connection_id":170978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:27:42] local.INFO: TCP Data received {"connection_id":170668,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:27:42] local.INFO: Processing buffer {"connection_id":170668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:27:42] local.INFO: Packet analysis {"connection_id":170668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:27:42] local.INFO: Extracted packet for processing {"connection_id":170668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:27:42] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858128128001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788508614000,"timestamp_ms":1788508614000,"timestamp_seconds":1788508614,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6bad70"} 
[2026-09-04 13:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-04 13:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858128128001,"66":26136,"31":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,44]} 
[2026-09-04 13:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858128128001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:27:42] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 13:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858128128001,"power":26136,"unknown_31":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":170668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:27:42] local.INFO: GPS data processed {"connection_id":170668,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:27:42] local.INFO: Acknowledgment sent {"connection_id":170668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:27:54] local.INFO: TCP Data received {"connection_id":170669,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:27:54] local.INFO: Processing buffer {"connection_id":170669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:27:54] local.INFO: IMEI packet received {"connection_id":170669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":170669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:27:59] local.INFO: TCP Data received {"connection_id":173385,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:27:59] local.INFO: Processing buffer {"connection_id":173385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:27:59] local.INFO: IMEI packet received {"connection_id":173385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":173385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:27:59] local.INFO: TCP Data received {"connection_id":170669,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:27:59] local.INFO: Processing buffer {"connection_id":170669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:27:59] local.INFO: IMEI packet received {"connection_id":170669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":170669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:28:01] local.INFO: TCP Data received {"connection_id":170669,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:28:01] local.INFO: Processing buffer {"connection_id":170669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:28:01] local.INFO: Packet analysis {"connection_id":170669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:28:01] local.INFO: Extracted packet for processing {"connection_id":170669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:28:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858125824001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788508605000,"timestamp_ms":1788508605000,"timestamp_seconds":1788508605,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6b8a48"} 
[2026-09-04 13:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 13:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858125824001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858125824001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:28:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:28:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858125824001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":170669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762537,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:28:01] local.INFO: GPS data processed {"connection_id":170669,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:28:01] local.INFO: Acknowledgment sent {"connection_id":170669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:28:04] local.INFO: TCP Data received {"connection_id":173385,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:28:04] local.INFO: Processing buffer {"connection_id":173385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:28:04] local.INFO: IMEI packet received {"connection_id":173385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":173385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:28:05] local.INFO: TCP Data received {"connection_id":173385,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:28:05] local.INFO: Processing buffer {"connection_id":173385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:28:05] local.INFO: Packet analysis {"connection_id":173385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:28:05] local.INFO: Extracted packet for processing {"connection_id":173385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:28:05] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858128128001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788508614000,"timestamp_ms":1788508614000,"timestamp_seconds":1788508614,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6bad70"} 
[2026-09-04 13:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-04 13:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858128128001,"66":26136,"31":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,44]} 
[2026-09-04 13:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858128128001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:28:05] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 13:28:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:28:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858128128001,"power":26136,"unknown_31":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":173385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:28:05] local.INFO: GPS data processed {"connection_id":173385,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:28:05] local.INFO: Acknowledgment sent {"connection_id":173385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:28:05] local.INFO: TCP Data received {"connection_id":170669,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:28:05] local.INFO: Processing buffer {"connection_id":170669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:28:05] local.INFO: Packet analysis {"connection_id":170669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:28:05] local.INFO: Extracted packet for processing {"connection_id":170669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858125824001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788508605000,"timestamp_ms":1788508605000,"timestamp_seconds":1788508605,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6b8a48"} 
[2026-09-04 13:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 13:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858125824001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858125824001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:28:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:28:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858125824001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":170669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762539,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:28:05] local.INFO: GPS data processed {"connection_id":170669,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:28:05] local.INFO: Acknowledgment sent {"connection_id":170669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:28:36] local.INFO: TCP Data received {"connection_id":173385,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:28:36] local.INFO: Processing buffer {"connection_id":173385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:28:36] local.INFO: Packet analysis {"connection_id":173385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:28:36] local.INFO: Extracted packet for processing {"connection_id":173385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:28:36] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858128128001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788508614000,"timestamp_ms":1788508614000,"timestamp_seconds":1788508614,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6bad70"} 
[2026-09-04 13:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-04 13:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858128128001,"66":26136,"31":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,44]} 
[2026-09-04 13:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858128128001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:28:36] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 13:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:28:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858128128001,"power":26136,"unknown_31":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":173385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:28:36] local.INFO: GPS data processed {"connection_id":173385,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:28:36] local.INFO: Acknowledgment sent {"connection_id":173385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:28:49] local.INFO: TCP Data received {"connection_id":173387,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:28:49] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:28:49] local.INFO: IMEI packet received {"connection_id":173387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":173387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:28:54] local.INFO: TCP Data received {"connection_id":173387,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:28:54] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:28:54] local.INFO: IMEI packet received {"connection_id":173387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":173387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:28:57] local.INFO: TCP Data received {"connection_id":173387,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:28:57] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:28:57] local.INFO: Packet analysis {"connection_id":173387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:28:57] local.INFO: Extracted packet for processing {"connection_id":173387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:28:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858125824001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788508605000,"timestamp_ms":1788508605000,"timestamp_seconds":1788508605,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6b8a48"} 
[2026-09-04 13:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 13:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858125824001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858125824001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:28:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:28:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858125824001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":173387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:28:57] local.INFO: GPS data processed {"connection_id":173387,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:28:57] local.INFO: Acknowledgment sent {"connection_id":173387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:28:59] local.INFO: TCP Data received {"connection_id":170670,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:28:59] local.INFO: Processing buffer {"connection_id":170670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:28:59] local.INFO: IMEI packet received {"connection_id":170670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":170670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:28:59] local.INFO: TCP Data received {"connection_id":173387,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:28:59] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:28:59] local.INFO: Packet analysis {"connection_id":173387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:28:59] local.INFO: Extracted packet for processing {"connection_id":173387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858125824001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788508605000,"timestamp_ms":1788508605000,"timestamp_seconds":1788508605,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6b8a48"} 
[2026-09-04 13:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 13:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858125824001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858125824001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:28:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:28:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858125824001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":173387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762542,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:29:00] local.INFO: GPS data processed {"connection_id":173387,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:29:00] local.INFO: Acknowledgment sent {"connection_id":173387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:29:04] local.INFO: TCP Data received {"connection_id":170670,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:29:04] local.INFO: Processing buffer {"connection_id":170670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:29:04] local.INFO: IMEI packet received {"connection_id":170670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":170670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:29:05] local.INFO: TCP Data received {"connection_id":170670,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:29:05] local.INFO: Processing buffer {"connection_id":170670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:29:05] local.INFO: Packet analysis {"connection_id":170670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:29:05] local.INFO: Extracted packet for processing {"connection_id":170670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:29:05] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858128128001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:29:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788508614000,"timestamp_ms":1788508614000,"timestamp_seconds":1788508614,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6bad70"} 
[2026-09-04 13:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-04 13:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858128128001,"66":26136,"31":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,44]} 
[2026-09-04 13:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858128128001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:29:05] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 13:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:29:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858128128001,"power":26136,"unknown_31":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":170670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:29:05] local.INFO: GPS data processed {"connection_id":170670,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:29:05] local.INFO: Acknowledgment sent {"connection_id":170670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:29:31] local.INFO: TCP Data received {"connection_id":173387,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:29:31] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:29:31] local.INFO: Packet analysis {"connection_id":173387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:29:31] local.INFO: Extracted packet for processing {"connection_id":173387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858125824001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788508605000,"timestamp_ms":1788508605000,"timestamp_seconds":1788508605,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6b8a48"} 
[2026-09-04 13:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 13:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858125824001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858125824001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:29:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:29:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858125824001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":173387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762544,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:29:31] local.INFO: GPS data processed {"connection_id":173387,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:29:31] local.INFO: Acknowledgment sent {"connection_id":173387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:29:36] local.INFO: TCP Data received {"connection_id":170670,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:29:36] local.INFO: Processing buffer {"connection_id":170670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:29:36] local.INFO: Packet analysis {"connection_id":170670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:29:36] local.INFO: Extracted packet for processing {"connection_id":170670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:29:36] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858128128001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:29:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788508614000,"timestamp_ms":1788508614000,"timestamp_seconds":1788508614,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6bad70"} 
[2026-09-04 13:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-04 13:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858128128001,"66":26136,"31":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,44]} 
[2026-09-04 13:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858128128001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:29:36] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 13:29:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:29:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858128128001,"power":26136,"unknown_31":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":170670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:29:36] local.INFO: GPS data processed {"connection_id":170670,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:29:36] local.INFO: Acknowledgment sent {"connection_id":170670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:29:50] local.INFO: TCP Data received {"connection_id":172085,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:29:50] local.INFO: Processing buffer {"connection_id":172085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:29:50] local.INFO: IMEI packet received {"connection_id":172085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":172085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:29:54] local.INFO: TCP Data received {"connection_id":172085,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:29:54] local.INFO: Processing buffer {"connection_id":172085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:29:54] local.INFO: IMEI packet received {"connection_id":172085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":172085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:29:56] local.INFO: TCP Data received {"connection_id":172085,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:29:56] local.INFO: Processing buffer {"connection_id":172085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:29:56] local.INFO: Packet analysis {"connection_id":172085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:29:56] local.INFO: Extracted packet for processing {"connection_id":172085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:29:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858125824001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788508605000,"timestamp_ms":1788508605000,"timestamp_seconds":1788508605,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6b8a48"} 
[2026-09-04 13:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 13:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858125824001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858125824001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:29:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:29:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858125824001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":172085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762546,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:29:56] local.INFO: GPS data processed {"connection_id":172085,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:29:56] local.INFO: Acknowledgment sent {"connection_id":172085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:30:04] local.INFO: TCP Data received {"connection_id":173388,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:30:04] local.INFO: Processing buffer {"connection_id":173388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:30:04] local.INFO: IMEI packet received {"connection_id":173388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":173388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:30:09] local.INFO: TCP Data received {"connection_id":173388,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:30:09] local.INFO: Processing buffer {"connection_id":173388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:30:09] local.INFO: IMEI packet received {"connection_id":173388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":173388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:30:10] local.INFO: TCP Data received {"connection_id":173388,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:30:10] local.INFO: Processing buffer {"connection_id":173388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:30:10] local.INFO: Packet analysis {"connection_id":173388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:30:10] local.INFO: Extracted packet for processing {"connection_id":173388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:30:10] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858128128001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788508614000,"timestamp_ms":1788508614000,"timestamp_seconds":1788508614,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6bad70"} 
[2026-09-04 13:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-04 13:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858128128001,"66":26136,"31":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,44]} 
[2026-09-04 13:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858128128001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:30:10] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 13:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858128128001,"power":26136,"unknown_31":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":173388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:30:10] local.INFO: GPS data processed {"connection_id":173388,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:30:10] local.INFO: Acknowledgment sent {"connection_id":173388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:30:14] local.INFO: TCP Data received {"connection_id":173388,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:30:15] local.INFO: Processing buffer {"connection_id":173388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:30:15] local.INFO: Packet analysis {"connection_id":173388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:30:15] local.INFO: Extracted packet for processing {"connection_id":173388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:30:15] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858128128001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788508614000,"timestamp_ms":1788508614000,"timestamp_seconds":1788508614,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6bad70"} 
[2026-09-04 13:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-04 13:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858128128001,"66":26136,"31":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,44]} 
[2026-09-04 13:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858128128001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:30:15] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 13:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858128128001,"power":26136,"unknown_31":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":173388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:30:15] local.INFO: GPS data processed {"connection_id":173388,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:30:15] local.INFO: Acknowledgment sent {"connection_id":173388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:30:19] local.INFO: TCP Data received {"connection_id":170980,"ip":"45.156.128.157","data_length":178,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-04 13:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170980,"packet_length":178,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-04 13:30:19] local.INFO: Processing buffer {"connection_id":170980,"buffer_length":178,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-04 13:30:19] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":170980,"buffer_length":178,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-09-04 13:30:28] local.INFO: TCP Data received {"connection_id":172085,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:30:28] local.INFO: Processing buffer {"connection_id":172085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:30:28] local.INFO: Packet analysis {"connection_id":172085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:30:28] local.INFO: Extracted packet for processing {"connection_id":172085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:30:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858125824001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788508605000,"timestamp_ms":1788508605000,"timestamp_seconds":1788508605,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6b8a48"} 
[2026-09-04 13:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 13:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858125824001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858125824001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:30:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:30:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858125824001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":172085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762549,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:30:28] local.INFO: GPS data processed {"connection_id":172085,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:30:28] local.INFO: Acknowledgment sent {"connection_id":172085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:30:49] local.INFO: TCP Data received {"connection_id":170671,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:30:49] local.INFO: Processing buffer {"connection_id":170671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:30:49] local.INFO: IMEI packet received {"connection_id":170671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":170671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:30:54] local.INFO: TCP Data received {"connection_id":170671,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:30:54] local.INFO: Processing buffer {"connection_id":170671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:30:54] local.INFO: IMEI packet received {"connection_id":170671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":170671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:30:56] local.INFO: TCP Data received {"connection_id":170671,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:30:56] local.INFO: Processing buffer {"connection_id":170671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:30:56] local.INFO: Packet analysis {"connection_id":170671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:30:56] local.INFO: Extracted packet for processing {"connection_id":170671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:30:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858125824001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788508605000,"timestamp_ms":1788508605000,"timestamp_seconds":1788508605,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6b8a48"} 
[2026-09-04 13:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 13:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858125824001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858125824001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:30:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:30:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858125824001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":170671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:30:56] local.INFO: GPS data processed {"connection_id":170671,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:30:56] local.INFO: Acknowledgment sent {"connection_id":170671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:30:59] local.INFO: TCP Data received {"connection_id":173390,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:30:59] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:30:59] local.INFO: IMEI packet received {"connection_id":173390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":173390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:30:59] local.INFO: TCP Data received {"connection_id":170981,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:30:59] local.INFO: Processing buffer {"connection_id":170981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:30:59] local.INFO: IMEI packet received {"connection_id":170981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":170981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:31:00] local.INFO: TCP Data received {"connection_id":173390,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6e31f8012d1a898007204ae8004200c728..."} 
[2026-09-04 13:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6e31f8012d1a898007204ae8004200c728..."} 
[2026-09-04 13:31:00] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6e31f8012d1a898007204ae8004200c728..."} 
[2026-09-04 13:31:00] local.INFO: Packet analysis {"connection_id":173390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6e"} 
[2026-09-04 13:31:00] local.INFO: Extracted packet for processing {"connection_id":173390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6e"} 
[2026-09-04 13:31:00] local.INFO: GPS Element Parsed {"raw_longitude":756713856,"raw_latitude":119556840,"longitude_deg":75.6713856,"latitude_deg":11.955684,"altitude":66,"angle":199,"satellites":40,"speed":17,"hex_longitude":"2d1a8980","hex_latitude":"07204ae8","is_valid_coordinates":true} 
[2026-09-04 13:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858246144001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17230536913190912,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912411391123574784,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788508779000,"timestamp_ms":1788508779000,"timestamp_seconds":1788508779,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6e31f8"} 
[2026-09-04 13:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-04 13:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858246144001,"66":14352,"121":206,"28":31744,"24":17,"16":17230536913190912,"45":1912411391123574784},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858246144001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:31:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17230536913190912,"km_value":17230536913190.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912411391123574784,"description":"Unknown IO ID 45"} 
[2026-09-04 13:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858246144001,"power":14352,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1912411391123574784}} 
[2026-09-04 13:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":173390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:31:00] local.INFO: GPS data processed {"connection_id":173390,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:31:00] local.INFO: Acknowledgment sent {"connection_id":173390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:31:04] local.INFO: TCP Data received {"connection_id":170981,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:31:04] local.INFO: Processing buffer {"connection_id":170981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:31:04] local.INFO: IMEI packet received {"connection_id":170981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":170981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:31:05] local.INFO: TCP Data received {"connection_id":170981,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:31:05] local.INFO: Processing buffer {"connection_id":170981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:31:05] local.INFO: Packet analysis {"connection_id":170981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:31:05] local.INFO: Extracted packet for processing {"connection_id":170981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:31:05] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858128128001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788508614000,"timestamp_ms":1788508614000,"timestamp_seconds":1788508614,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6bad70"} 
[2026-09-04 13:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-04 13:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858128128001,"66":26136,"31":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,44]} 
[2026-09-04 13:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858128128001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:31:05] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 13:31:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:31:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858128128001,"power":26136,"unknown_31":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":170981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:31:05] local.INFO: GPS data processed {"connection_id":170981,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:31:05] local.INFO: Acknowledgment sent {"connection_id":170981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:31:27] local.INFO: TCP Data received {"connection_id":170671,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:31:27] local.INFO: Processing buffer {"connection_id":170671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:31:27] local.INFO: Packet analysis {"connection_id":170671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:31:27] local.INFO: Extracted packet for processing {"connection_id":170671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:31:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858125824001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788508605000,"timestamp_ms":1788508605000,"timestamp_seconds":1788508605,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6b8a48"} 
[2026-09-04 13:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 13:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858125824001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858125824001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:31:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:31:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858125824001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":170671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:31:27] local.INFO: GPS data processed {"connection_id":170671,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:31:27] local.INFO: Acknowledgment sent {"connection_id":170671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:31:32] local.INFO: TCP Data received {"connection_id":173390,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6f1870012d19e6c007202970003500ff28..."} 
[2026-09-04 13:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6f1870012d19e6c007202970003500ff28..."} 
[2026-09-04 13:31:32] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6f1870012d19e6c007202970003500ff28..."} 
[2026-09-04 13:31:32] local.INFO: Packet analysis {"connection_id":173390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6f"} 
[2026-09-04 13:31:32] local.INFO: Extracted packet for processing {"connection_id":173390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6f"} 
[2026-09-04 13:31:32] local.INFO: GPS Element Parsed {"raw_longitude":756672192,"raw_latitude":119548272,"longitude_deg":75.6672192,"latitude_deg":11.9548272,"altitude":53,"angle":255,"satellites":40,"speed":39,"hex_longitude":"2d19e6c0","hex_latitude":"07202970","is_valid_coordinates":true} 
[2026-09-04 13:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858261760001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17232637152198656,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869627194660968448,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788508838000,"timestamp_ms":1788508838000,"timestamp_seconds":1788508838,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6f1870"} 
[2026-09-04 13:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 13:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858261760001,"66":14298,"121":206,"28":31744,"24":39,"16":17232637152198656,"45":1869627194660968448},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858261760001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:31:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:31:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17232637152198656,"km_value":17232637152198.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869627194660968448,"description":"Unknown IO ID 45"} 
[2026-09-04 13:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858261760001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1869627194660968448}} 
[2026-09-04 13:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":173390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:31:32] local.INFO: GPS data processed {"connection_id":173390,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:31:32] local.INFO: Acknowledgment sent {"connection_id":173390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:31:38] local.INFO: TCP Data received {"connection_id":170981,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:31:38] local.INFO: Processing buffer {"connection_id":170981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:31:38] local.INFO: Packet analysis {"connection_id":170981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:31:38] local.INFO: Extracted packet for processing {"connection_id":170981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:31:38] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858128128001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788508614000,"timestamp_ms":1788508614000,"timestamp_seconds":1788508614,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6bad70"} 
[2026-09-04 13:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-04 13:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858128128001,"66":26136,"31":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,44]} 
[2026-09-04 13:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858128128001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:31:38] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 13:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:31:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858128128001,"power":26136,"unknown_31":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":170981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:31:38] local.INFO: GPS data processed {"connection_id":170981,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:31:38] local.INFO: Acknowledgment sent {"connection_id":170981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:31:48] local.INFO: TCP Data received {"connection_id":172086,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:31:48] local.INFO: Processing buffer {"connection_id":172086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:31:48] local.INFO: IMEI packet received {"connection_id":172086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":172086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:31:49] local.INFO: TCP Data received {"connection_id":172086,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:31:49] local.INFO: Processing buffer {"connection_id":172086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:31:49] local.INFO: IMEI packet received {"connection_id":172086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":172086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:31:51] local.INFO: TCP Data received {"connection_id":172086,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:31:51] local.INFO: Processing buffer {"connection_id":172086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:31:51] local.INFO: IMEI packet received {"connection_id":172086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":172086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:31:53] local.INFO: TCP Data received {"connection_id":172086,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:31:53] local.INFO: Processing buffer {"connection_id":172086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:31:53] local.INFO: IMEI packet received {"connection_id":172086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":172086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:31:54] local.INFO: TCP Data received {"connection_id":173391,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:31:54] local.INFO: TCP Data received {"connection_id":172086,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6f33c8012d19d28007202490003400e727..."} 
[2026-09-04 13:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:31:54] local.INFO: Processing buffer {"connection_id":173391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:31:54] local.INFO: IMEI packet received {"connection_id":173391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":173391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6f33c8012d19d28007202490003400e727..."} 
[2026-09-04 13:31:54] local.INFO: Processing buffer {"connection_id":172086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6f33c8012d19d28007202490003400e727..."} 
[2026-09-04 13:31:54] local.INFO: Packet analysis {"connection_id":172086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6f"} 
[2026-09-04 13:31:54] local.INFO: Extracted packet for processing {"connection_id":172086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6f"} 
[2026-09-04 13:31:54] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119547024,"longitude_deg":75.6667008,"latitude_deg":11.9547024,"altitude":52,"angle":231,"satellites":39,"speed":19,"hex_longitude":"2d19d280","hex_latitude":"07202490","is_valid_coordinates":true} 
[2026-09-04 13:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858262528001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17232894850236416,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866390232428539904,"note":"Value kept but may cause issues"} 
[2026-09-04 13:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788508845000,"timestamp_ms":1788508845000,"timestamp_seconds":1788508845,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6f33c8"} 
[2026-09-04 13:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 13:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858262528001,"66":14374,"121":206,"28":31744,"24":19,"16":17232894850236416,"45":1866390232428539904},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858262528001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:31:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:31:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17232894850236416,"km_value":17232894850236.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866390232428539904,"description":"Unknown IO ID 45"} 
[2026-09-04 13:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858262528001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1866390232428539904}} 
[2026-09-04 13:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":172086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:31:54] local.INFO: GPS data processed {"connection_id":172086,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:31:54] local.INFO: Acknowledgment sent {"connection_id":172086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:31:59] local.INFO: TCP Data received {"connection_id":170672,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:31:59] local.INFO: Processing buffer {"connection_id":170672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:31:59] local.INFO: IMEI packet received {"connection_id":170672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":170672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:31:59] local.INFO: TCP Data received {"connection_id":173391,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:31:59] local.INFO: Processing buffer {"connection_id":173391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:31:59] local.INFO: IMEI packet received {"connection_id":173391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":173391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:32:01] local.INFO: TCP Data received {"connection_id":173391,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:32:01] local.INFO: Processing buffer {"connection_id":173391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:32:01] local.INFO: Packet analysis {"connection_id":173391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:32:01] local.INFO: Extracted packet for processing {"connection_id":173391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:32:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858125824001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788508605000,"timestamp_ms":1788508605000,"timestamp_seconds":1788508605,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6b8a48"} 
[2026-09-04 13:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 13:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858125824001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858125824001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:32:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:32:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858125824001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":173391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:32:01] local.INFO: GPS data processed {"connection_id":173391,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:32:01] local.INFO: Acknowledgment sent {"connection_id":173391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:32:04] local.INFO: TCP Data received {"connection_id":170672,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:32:04] local.INFO: Processing buffer {"connection_id":170672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:32:04] local.INFO: IMEI packet received {"connection_id":170672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":170672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:32:04] local.INFO: TCP Data received {"connection_id":173391,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:32:04] local.INFO: Processing buffer {"connection_id":173391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6b8a48012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:32:04] local.INFO: Packet analysis {"connection_id":173391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:32:04] local.INFO: Extracted packet for processing {"connection_id":173391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858125824001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788508605000,"timestamp_ms":1788508605000,"timestamp_seconds":1788508605,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6b8a48"} 
[2026-09-04 13:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 13:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858125824001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858125824001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:32:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858125824001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":173391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762558,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:32:05] local.INFO: GPS data processed {"connection_id":173391,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:32:05] local.INFO: Acknowledgment sent {"connection_id":173391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:32:05] local.INFO: TCP Data received {"connection_id":170672,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:32:05] local.INFO: Processing buffer {"connection_id":170672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b6bad70012cc1dcc007572ac0001801432d..."} 
[2026-09-04 13:32:05] local.INFO: Packet analysis {"connection_id":170672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:32:05] local.INFO: Extracted packet for processing {"connection_id":170672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b6b"} 
[2026-09-04 13:32:05] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858128128001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788508614000,"timestamp_ms":1788508614000,"timestamp_seconds":1788508614,"priority":1,"record_length":96,"hex_timestamp":"000001a06b6bad70"} 
[2026-09-04 13:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-04 13:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858128128001,"66":26136,"31":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,44]} 
[2026-09-04 13:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858128128001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:32:05] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 13:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:32:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858128128001,"power":26136,"unknown_31":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":170672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:32:05] local.INFO: GPS data processed {"connection_id":170672,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:32:05] local.INFO: Acknowledgment sent {"connection_id":170672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:32:26] local.INFO: TCP Data received {"connection_id":172086,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b701a40012d19ba000720ab000035015f26..."} 
[2026-09-04 13:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b701a40012d19ba000720ab000035015f26..."} 
[2026-09-04 13:32:26] local.INFO: Processing buffer {"connection_id":172086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b701a40012d19ba000720ab000035015f26..."} 
[2026-09-04 13:32:26] local.INFO: Packet analysis {"connection_id":172086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:32:26] local.INFO: Extracted packet for processing {"connection_id":172086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:32:26] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119581440,"longitude_deg":75.6660736,"latitude_deg":11.958144,"altitude":53,"angle":351,"satellites":38,"speed":17,"hex_longitude":"2d19ba00","hex_latitude":"0720ab00","is_valid_coordinates":true} 
[2026-09-04 13:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279168001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17234896304996352,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333461655552,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788508904000,"timestamp_ms":1788508904000,"timestamp_seconds":1788508904,"priority":1,"record_length":96,"hex_timestamp":"000001a06b701a40"} 
[2026-09-04 13:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 13:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279168001,"66":12798,"121":206,"28":31744,"24":17,"16":17234896304996352,"45":1854005333461655552},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279168001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:32:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:32:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17234896304996352,"km_value":17234896304996.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333461655552,"description":"Unknown IO ID 45"} 
[2026-09-04 13:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279168001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1854005333461655552}} 
[2026-09-04 13:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":172086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:32:26] local.INFO: GPS data processed {"connection_id":172086,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:32:26] local.INFO: Acknowledgment sent {"connection_id":172086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:32:36] local.INFO: TCP Data received {"connection_id":170672,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:32:36] local.INFO: Processing buffer {"connection_id":170672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:32:36] local.INFO: Packet analysis {"connection_id":170672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:32:36] local.INFO: Extracted packet for processing {"connection_id":170672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:32:36] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858205184001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788508915000,"timestamp_ms":1788508915000,"timestamp_seconds":1788508915,"priority":1,"record_length":96,"hex_timestamp":"000001a06b704538"} 
[2026-09-04 13:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 13:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858205184001,"66":26082,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858205184001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:32:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:32:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858205184001,"power":26082,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":170672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:32:36] local.INFO: GPS data processed {"connection_id":170672,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:32:36] local.INFO: Acknowledgment sent {"connection_id":170672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:32:50] local.INFO: TCP Data received {"connection_id":170673,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:32:50] local.INFO: Processing buffer {"connection_id":170673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:32:50] local.INFO: IMEI packet received {"connection_id":170673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":170673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:32:54] local.INFO: TCP Data received {"connection_id":173392,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:32:54] local.INFO: Processing buffer {"connection_id":173392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:32:54] local.INFO: IMEI packet received {"connection_id":173392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":173392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:32:54] local.INFO: TCP Data received {"connection_id":170673,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:32:54] local.INFO: Processing buffer {"connection_id":170673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:32:54] local.INFO: IMEI packet received {"connection_id":170673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":170673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:32:55] local.INFO: TCP Data received {"connection_id":173392,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:32:55] local.INFO: Processing buffer {"connection_id":173392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:32:55] local.INFO: IMEI packet received {"connection_id":173392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":173392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:32:55] local.INFO: TCP Data received {"connection_id":170673,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:32:55] local.INFO: Processing buffer {"connection_id":170673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:32:55] local.INFO: Packet analysis {"connection_id":170673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:32:55] local.INFO: Extracted packet for processing {"connection_id":170673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:32:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858202880001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788508906000,"timestamp_ms":1788508906000,"timestamp_seconds":1788508906,"priority":1,"record_length":96,"hex_timestamp":"000001a06b702210"} 
[2026-09-04 13:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 13:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858202880001,"66":25288,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858202880001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:32:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858202880001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":170673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:32:55] local.INFO: GPS data processed {"connection_id":170673,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:32:55] local.INFO: Acknowledgment sent {"connection_id":170673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:32:57] local.INFO: TCP Data received {"connection_id":173392,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:32:57] local.INFO: Processing buffer {"connection_id":173392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:32:57] local.INFO: IMEI packet received {"connection_id":173392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":173392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:32:58] local.INFO: TCP Data received {"connection_id":173392,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b701e28012d19b8400720ac480035014226..."} 
[2026-09-04 13:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b701e28012d19b8400720ac480035014226..."} 
[2026-09-04 13:32:58] local.INFO: Processing buffer {"connection_id":173392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b701e28012d19b8400720ac480035014226..."} 
[2026-09-04 13:32:58] local.INFO: Packet analysis {"connection_id":173392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:32:58] local.INFO: Extracted packet for processing {"connection_id":173392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:32:58] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119581768,"longitude_deg":75.6660288,"latitude_deg":11.9581768,"altitude":53,"angle":322,"satellites":38,"speed":16,"hex_longitude":"2d19b840","hex_latitude":"0720ac48","is_valid_coordinates":true} 
[2026-09-04 13:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279424001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17234922074800128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227229229056,"note":"Value kept but may cause issues"} 
[2026-09-04 13:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788508905000,"timestamp_ms":1788508905000,"timestamp_seconds":1788508905,"priority":1,"record_length":96,"hex_timestamp":"000001a06b701e28"} 
[2026-09-04 13:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 13:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279424001,"66":12776,"121":206,"28":31744,"24":16,"16":17234922074800128,"45":1853794227229229056},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279424001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:32:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:32:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17234922074800128,"km_value":17234922074800.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227229229056,"description":"Unknown IO ID 45"} 
[2026-09-04 13:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279424001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1853794227229229056}} 
[2026-09-04 13:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":173392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:32:59] local.INFO: GPS data processed {"connection_id":173392,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:32:59] local.INFO: Acknowledgment sent {"connection_id":173392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:32:59] local.INFO: TCP Data received {"connection_id":173392,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b702210012d19b5c00720ad380036012b26..."} 
[2026-09-04 13:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b702210012d19b5c00720ad380036012b26..."} 
[2026-09-04 13:33:00] local.INFO: Processing buffer {"connection_id":173392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b702210012d19b5c00720ad380036012b26..."} 
[2026-09-04 13:33:00] local.INFO: Packet analysis {"connection_id":173392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:00] local.INFO: Extracted packet for processing {"connection_id":173392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756659648,"raw_latitude":119582008,"longitude_deg":75.6659648,"latitude_deg":11.9582008,"altitude":54,"angle":299,"satellites":38,"speed":21,"hex_longitude":"2d19b5c0","hex_latitude":"0720ad38","is_valid_coordinates":true} 
[2026-09-04 13:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279680001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17234956434538496,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646020069376,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788508906000,"timestamp_ms":1788508906000,"timestamp_seconds":1788508906,"priority":1,"record_length":96,"hex_timestamp":"000001a06b702210"} 
[2026-09-04 13:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 13:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279680001,"66":12776,"121":206,"28":31744,"24":21,"16":17234956434538496,"45":1853301646020069376},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279680001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:33:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17234956434538496,"km_value":17234956434538.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646020069376,"description":"Unknown IO ID 45"} 
[2026-09-04 13:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279680001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1853301646020069376}} 
[2026-09-04 13:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":173392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:33:00] local.INFO: GPS data processed {"connection_id":173392,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:33:00] local.INFO: Acknowledgment sent {"connection_id":173392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:33:03] local.INFO: TCP Data received {"connection_id":173392,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7031b0012d19aa800720b0c80038011c29..."} 
[2026-09-04 13:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7031b0012d19aa800720b0c80038011c29..."} 
[2026-09-04 13:33:03] local.INFO: Processing buffer {"connection_id":173392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7031b0012d19aa800720b0c80038011c29..."} 
[2026-09-04 13:33:03] local.INFO: Packet analysis {"connection_id":173392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:03] local.INFO: Extracted packet for processing {"connection_id":173392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756656768,"raw_latitude":119582920,"longitude_deg":75.6656768,"latitude_deg":11.958292,"altitude":56,"angle":284,"satellites":41,"speed":27,"hex_longitude":"2d19aa80","hex_latitude":"0720b0c8","is_valid_coordinates":true} 
[2026-09-04 13:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279936001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17235098168459264,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852597958578354176,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788508910000,"timestamp_ms":1788508910000,"timestamp_seconds":1788508910,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7031b0"} 
[2026-09-04 13:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 13:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279936001,"66":12678,"121":206,"28":31744,"24":27,"16":17235098168459264,"45":1852597958578354176},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279936001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:33:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:33:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17235098168459264,"km_value":17235098168459.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852597958578354176,"description":"Unknown IO ID 45"} 
[2026-09-04 13:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279936001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1852597958578354176}} 
[2026-09-04 13:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":173392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:33:03] local.INFO: GPS data processed {"connection_id":173392,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:33:03] local.INFO: Acknowledgment sent {"connection_id":173392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:33:04] local.INFO: TCP Data received {"connection_id":170674,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:33:04] local.INFO: Processing buffer {"connection_id":170674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:33:04] local.INFO: IMEI packet received {"connection_id":170674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":170674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:33:09] local.INFO: TCP Data received {"connection_id":170674,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:33:09] local.INFO: Processing buffer {"connection_id":170674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:33:09] local.INFO: IMEI packet received {"connection_id":170674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":170674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:33:10] local.INFO: TCP Data received {"connection_id":170674,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:33:10] local.INFO: Processing buffer {"connection_id":170674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:33:10] local.INFO: Packet analysis {"connection_id":170674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:10] local.INFO: Extracted packet for processing {"connection_id":170674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:10] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858205184001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788508915000,"timestamp_ms":1788508915000,"timestamp_seconds":1788508915,"priority":1,"record_length":96,"hex_timestamp":"000001a06b704538"} 
[2026-09-04 13:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 13:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858205184001,"66":26082,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858205184001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:33:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858205184001,"power":26082,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":170674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:33:10] local.INFO: GPS data processed {"connection_id":170674,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:33:10] local.INFO: Acknowledgment sent {"connection_id":170674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:33:15] local.INFO: TCP Data received {"connection_id":170674,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:33:15] local.INFO: Processing buffer {"connection_id":170674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:33:15] local.INFO: Packet analysis {"connection_id":170674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:15] local.INFO: Extracted packet for processing {"connection_id":170674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:15] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858205184001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788508915000,"timestamp_ms":1788508915000,"timestamp_seconds":1788508915,"priority":1,"record_length":96,"hex_timestamp":"000001a06b704538"} 
[2026-09-04 13:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 13:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":170674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":170674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":170674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858205184001,"66":26082,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858205184001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:33:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:33:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:33:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858205184001,"power":26082,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":170674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:33:15] local.INFO: GPS data processed {"connection_id":170674,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:33:15] local.INFO: Acknowledgment sent {"connection_id":170674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:33:27] local.INFO: TCP Data received {"connection_id":170673,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:33:27] local.INFO: Processing buffer {"connection_id":170673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:33:27] local.INFO: Packet analysis {"connection_id":170673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:27] local.INFO: Extracted packet for processing {"connection_id":170673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858202880001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788508906000,"timestamp_ms":1788508906000,"timestamp_seconds":1788508906,"priority":1,"record_length":96,"hex_timestamp":"000001a06b702210"} 
[2026-09-04 13:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 13:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858202880001,"66":25288,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858202880001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:33:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:33:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858202880001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":170673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762568,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:33:27] local.INFO: GPS data processed {"connection_id":170673,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:33:27] local.INFO: Acknowledgment sent {"connection_id":170673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:33:48] local.INFO: TCP Data received {"connection_id":170982,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:33:48] local.INFO: Processing buffer {"connection_id":170982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:33:48] local.INFO: IMEI packet received {"connection_id":170982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":170982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:33:49] local.INFO: TCP Data received {"connection_id":172087,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:33:49] local.INFO: Processing buffer {"connection_id":172087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:33:49] local.INFO: IMEI packet received {"connection_id":172087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":172087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:33:53] local.INFO: TCP Data received {"connection_id":170982,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:33:53] local.INFO: Processing buffer {"connection_id":170982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:33:53] local.INFO: IMEI packet received {"connection_id":170982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":170982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:33:54] local.INFO: TCP Data received {"connection_id":172087,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:33:54] local.INFO: Processing buffer {"connection_id":172087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:33:54] local.INFO: IMEI packet received {"connection_id":172087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":172087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:33:55] local.INFO: TCP Data received {"connection_id":170982,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7054d8012d198dc00720b3b8003a01102c..."} 
[2026-09-04 13:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7054d8012d198dc00720b3b8003a01102c..."} 
[2026-09-04 13:33:55] local.INFO: Processing buffer {"connection_id":170982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7054d8012d198dc00720b3b8003a01102c..."} 
[2026-09-04 13:33:55] local.INFO: Packet analysis {"connection_id":170982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:55] local.INFO: Extracted packet for processing {"connection_id":170982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:55] local.INFO: GPS Element Parsed {"raw_longitude":756649408,"raw_latitude":119583672,"longitude_deg":75.6649408,"latitude_deg":11.9583672,"altitude":58,"angle":272,"satellites":44,"speed":33,"hex_longitude":"2d198dc0","hex_latitude":"0720b3b8","is_valid_coordinates":true} 
[2026-09-04 13:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858280960001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17235450355777536,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849431365090592768,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788508919000,"timestamp_ms":1788508919000,"timestamp_seconds":1788508919,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7054d8"} 
[2026-09-04 13:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 13:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858280960001,"66":13798,"121":206,"28":31744,"24":33,"16":17235450355777536,"45":1849431365090592768},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858280960001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:33:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17235450355777536,"km_value":17235450355777.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849431365090592768,"description":"Unknown IO ID 45"} 
[2026-09-04 13:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858280960001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1849431365090592768}} 
[2026-09-04 13:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":170982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:33:55] local.INFO: GPS data processed {"connection_id":170982,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:33:55] local.INFO: Acknowledgment sent {"connection_id":170982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:33:55] local.INFO: TCP Data received {"connection_id":172087,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:33:55] local.INFO: Processing buffer {"connection_id":172087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:33:55] local.INFO: Packet analysis {"connection_id":172087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:55] local.INFO: Extracted packet for processing {"connection_id":172087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858202880001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788508906000,"timestamp_ms":1788508906000,"timestamp_seconds":1788508906,"priority":1,"record_length":96,"hex_timestamp":"000001a06b702210"} 
[2026-09-04 13:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 13:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858202880001,"66":25288,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858202880001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:33:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858202880001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":172087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:33:55] local.INFO: GPS data processed {"connection_id":172087,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:33:55] local.INFO: Acknowledgment sent {"connection_id":172087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:33:56] local.INFO: TCP Data received {"connection_id":170982,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b705ca8012d1986c00720b2f8003a01052b..."} 
[2026-09-04 13:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b705ca8012d1986c00720b2f8003a01052b..."} 
[2026-09-04 13:33:56] local.INFO: Processing buffer {"connection_id":170982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b705ca8012d1986c00720b2f8003a01052b..."} 
[2026-09-04 13:33:56] local.INFO: Packet analysis {"connection_id":170982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:56] local.INFO: Extracted packet for processing {"connection_id":170982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:33:56] local.INFO: GPS Element Parsed {"raw_longitude":756647616,"raw_latitude":119583480,"longitude_deg":75.6647616,"latitude_deg":11.958348,"altitude":58,"angle":261,"satellites":43,"speed":35,"hex_longitude":"2d1986c0","hex_latitude":"0720b2f8","is_valid_coordinates":true} 
[2026-09-04 13:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858283264001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17235531960156160,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841338959510353920,"note":"Value kept but may cause issues"} 
[2026-09-04 13:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788508921000,"timestamp_ms":1788508921000,"timestamp_seconds":1788508921,"priority":1,"record_length":96,"hex_timestamp":"000001a06b705ca8"} 
[2026-09-04 13:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 13:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858283264001,"66":13852,"121":206,"28":31744,"24":35,"16":17235531960156160,"45":1841338959510353920},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858283264001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:33:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:33:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17235531960156160,"km_value":17235531960156.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841338959510353920,"description":"Unknown IO ID 45"} 
[2026-09-04 13:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858283264001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1841338959510353920}} 
[2026-09-04 13:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":170982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:33:56] local.INFO: GPS data processed {"connection_id":170982,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:33:56] local.INFO: Acknowledgment sent {"connection_id":170982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:33:59] local.INFO: TCP Data received {"connection_id":170675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:33:59] local.INFO: Processing buffer {"connection_id":170675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:33:59] local.INFO: IMEI packet received {"connection_id":170675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":170675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:34:04] local.INFO: TCP Data received {"connection_id":170675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:34:04] local.INFO: Processing buffer {"connection_id":170675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:34:04] local.INFO: IMEI packet received {"connection_id":170675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":170675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:34:05] local.INFO: TCP Data received {"connection_id":170675,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:34:05] local.INFO: Processing buffer {"connection_id":170675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:34:05] local.INFO: Packet analysis {"connection_id":170675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:34:05] local.INFO: Extracted packet for processing {"connection_id":170675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:34:05] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858205184001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788508915000,"timestamp_ms":1788508915000,"timestamp_seconds":1788508915,"priority":1,"record_length":96,"hex_timestamp":"000001a06b704538"} 
[2026-09-04 13:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 13:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858205184001,"66":26082,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858205184001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:34:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:34:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:34:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858205184001,"power":26082,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":170675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:34:05] local.INFO: GPS data processed {"connection_id":170675,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:34:05] local.INFO: Acknowledgment sent {"connection_id":170675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:34:09] local.INFO: TCP Data received {"connection_id":170675,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:34:09] local.INFO: Processing buffer {"connection_id":170675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:34:09] local.INFO: Packet analysis {"connection_id":170675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:34:09] local.INFO: Extracted packet for processing {"connection_id":170675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:34:09] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858205184001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788508915000,"timestamp_ms":1788508915000,"timestamp_seconds":1788508915,"priority":1,"record_length":96,"hex_timestamp":"000001a06b704538"} 
[2026-09-04 13:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 13:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858205184001,"66":26082,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858205184001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:34:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:34:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858205184001,"power":26082,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":170675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:34:10] local.INFO: GPS data processed {"connection_id":170675,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:34:10] local.INFO: Acknowledgment sent {"connection_id":170675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:34:27] local.INFO: TCP Data received {"connection_id":172087,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:34:27] local.INFO: Processing buffer {"connection_id":172087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:34:27] local.INFO: Packet analysis {"connection_id":172087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:34:27] local.INFO: Extracted packet for processing {"connection_id":172087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:34:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858202880001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788508906000,"timestamp_ms":1788508906000,"timestamp_seconds":1788508906,"priority":1,"record_length":96,"hex_timestamp":"000001a06b702210"} 
[2026-09-04 13:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 13:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858202880001,"66":25288,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858202880001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:34:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858202880001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":172087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:34:27] local.INFO: GPS data processed {"connection_id":172087,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:34:27] local.INFO: Acknowledgment sent {"connection_id":172087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:34:27] local.INFO: TCP Data received {"connection_id":170982,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b71eb18012d18c3c0072145b0004801672c..."} 
[2026-09-04 13:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b71eb18012d18c3c0072145b0004801672c..."} 
[2026-09-04 13:34:27] local.INFO: Processing buffer {"connection_id":170982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b71eb18012d18c3c0072145b0004801672c..."} 
[2026-09-04 13:34:27] local.INFO: Packet analysis {"connection_id":170982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b71"} 
[2026-09-04 13:34:27] local.INFO: Extracted packet for processing {"connection_id":170982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b71"} 
[2026-09-04 13:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119621040,"longitude_deg":75.6597696,"latitude_deg":11.962104,"altitude":72,"angle":359,"satellites":44,"speed":33,"hex_longitude":"2d18c3c0","hex_latitude":"072145b0","is_valid_coordinates":true} 
[2026-09-04 13:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858309376001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17239006588698624,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120456468480,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788509023000,"timestamp_ms":1788509023000,"timestamp_seconds":1788509023,"priority":1,"record_length":96,"hex_timestamp":"000001a06b71eb18"} 
[2026-09-04 13:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 13:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858309376001,"66":13993,"121":206,"28":31744,"24":33,"16":17239006588698624,"45":1784692120456468480},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858309376001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:34:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17239006588698624,"km_value":17239006588698.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120456468480,"description":"Unknown IO ID 45"} 
[2026-09-04 13:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858309376001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1784692120456468480}} 
[2026-09-04 13:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":170982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:34:27] local.INFO: GPS data processed {"connection_id":170982,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:34:27] local.INFO: Acknowledgment sent {"connection_id":170982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:34:41] local.INFO: TCP Data received {"connection_id":170675,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:34:41] local.INFO: Processing buffer {"connection_id":170675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:34:41] local.INFO: Packet analysis {"connection_id":170675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:34:41] local.INFO: Extracted packet for processing {"connection_id":170675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:34:41] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858205184001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788508915000,"timestamp_ms":1788508915000,"timestamp_seconds":1788508915,"priority":1,"record_length":96,"hex_timestamp":"000001a06b704538"} 
[2026-09-04 13:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 13:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858205184001,"66":26082,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858205184001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:34:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858205184001,"power":26082,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":170675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:34:41] local.INFO: GPS data processed {"connection_id":170675,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:34:41] local.INFO: Acknowledgment sent {"connection_id":170675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:34:48] local.INFO: TCP Data received {"connection_id":170676,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:34:48] local.INFO: Processing buffer {"connection_id":170676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:34:48] local.INFO: IMEI packet received {"connection_id":170676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":170676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:34:53] local.INFO: TCP Data received {"connection_id":170676,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:34:53] local.INFO: Processing buffer {"connection_id":170676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:34:53] local.INFO: IMEI packet received {"connection_id":170676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":170676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:34:54] local.INFO: TCP Data received {"connection_id":173393,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:34:54] local.INFO: Processing buffer {"connection_id":173393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:34:54] local.INFO: IMEI packet received {"connection_id":173393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":173393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:34:54] local.INFO: TCP Data received {"connection_id":170676,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b71f6d0012d18c30007214fd00048015b2b..."} 
[2026-09-04 13:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b71f6d0012d18c30007214fd00048015b2b..."} 
[2026-09-04 13:34:54] local.INFO: Processing buffer {"connection_id":170676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b71f6d0012d18c30007214fd00048015b2b..."} 
[2026-09-04 13:34:54] local.INFO: Packet analysis {"connection_id":170676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b71"} 
[2026-09-04 13:34:54] local.INFO: Extracted packet for processing {"connection_id":170676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b71"} 
[2026-09-04 13:34:54] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119623632,"longitude_deg":75.6597504,"latitude_deg":11.9623632,"altitude":72,"angle":347,"satellites":43,"speed":34,"hex_longitude":"2d18c300","hex_latitude":"07214fd0","is_valid_coordinates":true} 
[2026-09-04 13:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858309888001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17239131142750208,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014224367616,"note":"Value kept but may cause issues"} 
[2026-09-04 13:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788509026000,"timestamp_ms":1788509026000,"timestamp_seconds":1788509026,"priority":1,"record_length":96,"hex_timestamp":"000001a06b71f6d0"} 
[2026-09-04 13:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 13:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858309888001,"66":14298,"121":206,"28":31744,"24":34,"16":17239131142750208,"45":1784481014224367616},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858309888001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:34:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:34:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17239131142750208,"km_value":17239131142750.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014224367616,"description":"Unknown IO ID 45"} 
[2026-09-04 13:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858309888001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1784481014224367616}} 
[2026-09-04 13:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":170676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:34:54] local.INFO: GPS data processed {"connection_id":170676,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:34:54] local.INFO: Acknowledgment sent {"connection_id":170676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:34:59] local.INFO: TCP Data received {"connection_id":172088,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:34:59] local.INFO: Processing buffer {"connection_id":172088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:34:59] local.INFO: IMEI packet received {"connection_id":172088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":172088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:35:00] local.INFO: TCP Data received {"connection_id":173393,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:35:00] local.INFO: Processing buffer {"connection_id":173393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:35:00] local.INFO: IMEI packet received {"connection_id":173393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":173393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:35:04] local.INFO: TCP Data received {"connection_id":172088,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:35:04] local.INFO: Processing buffer {"connection_id":172088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:35:04] local.INFO: IMEI packet received {"connection_id":172088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":172088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:35:05] local.INFO: TCP Data received {"connection_id":173393,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:35:05] local.INFO: Processing buffer {"connection_id":173393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:35:05] local.INFO: Packet analysis {"connection_id":173393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:35:05] local.INFO: Extracted packet for processing {"connection_id":173393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858202880001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788508906000,"timestamp_ms":1788508906000,"timestamp_seconds":1788508906,"priority":1,"record_length":96,"hex_timestamp":"000001a06b702210"} 
[2026-09-04 13:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 13:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858202880001,"66":25288,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858202880001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:35:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858202880001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":173393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762578,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:35:05] local.INFO: GPS data processed {"connection_id":173393,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:35:05] local.INFO: Acknowledgment sent {"connection_id":173393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:35:05] local.INFO: TCP Data received {"connection_id":172088,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:35:05] local.INFO: Processing buffer {"connection_id":172088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:35:05] local.INFO: Packet analysis {"connection_id":172088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:35:05] local.INFO: Extracted packet for processing {"connection_id":172088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:35:05] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858205184001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788508915000,"timestamp_ms":1788508915000,"timestamp_seconds":1788508915,"priority":1,"record_length":96,"hex_timestamp":"000001a06b704538"} 
[2026-09-04 13:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 13:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858205184001,"66":26082,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858205184001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:35:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858205184001,"power":26082,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":172088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:35:05] local.INFO: GPS data processed {"connection_id":172088,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:35:05] local.INFO: Acknowledgment sent {"connection_id":172088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:35:06] local.INFO: TCP Data received {"connection_id":173393,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:35:06] local.INFO: Processing buffer {"connection_id":173393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:35:06] local.INFO: Packet analysis {"connection_id":173393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:35:06] local.INFO: Extracted packet for processing {"connection_id":173393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858202880001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788508906000,"timestamp_ms":1788508906000,"timestamp_seconds":1788508906,"priority":1,"record_length":96,"hex_timestamp":"000001a06b702210"} 
[2026-09-04 13:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 13:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858202880001,"66":25288,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858202880001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:35:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:35:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858202880001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":173393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:35:06] local.INFO: GPS data processed {"connection_id":173393,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:35:06] local.INFO: Acknowledgment sent {"connection_id":173393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:35:26] local.INFO: TCP Data received {"connection_id":170676,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b71fea0012d18c0c007215628004701492b..."} 
[2026-09-04 13:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b71fea0012d18c0c007215628004701492b..."} 
[2026-09-04 13:35:26] local.INFO: Processing buffer {"connection_id":170676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b71fea0012d18c0c007215628004701492b..."} 
[2026-09-04 13:35:26] local.INFO: Packet analysis {"connection_id":170676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b71"} 
[2026-09-04 13:35:26] local.INFO: Extracted packet for processing {"connection_id":170676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b71"} 
[2026-09-04 13:35:26] local.INFO: GPS Element Parsed {"raw_longitude":756596928,"raw_latitude":119625256,"longitude_deg":75.6596928,"latitude_deg":11.9625256,"altitude":71,"angle":329,"satellites":43,"speed":34,"hex_longitude":"2d18c0c0","hex_latitude":"07215628","is_valid_coordinates":true} 
[2026-09-04 13:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858310656001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17239217042096128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992498176,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788509028000,"timestamp_ms":1788509028000,"timestamp_seconds":1788509028,"priority":1,"record_length":96,"hex_timestamp":"000001a06b71fea0"} 
[2026-09-04 13:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 13:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858310656001,"66":14396,"121":206,"28":31744,"24":34,"16":17239217042096128,"45":1784269907992498176},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858310656001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:35:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:35:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17239217042096128,"km_value":17239217042096.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992498176,"description":"Unknown IO ID 45"} 
[2026-09-04 13:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858310656001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1784269907992498176}} 
[2026-09-04 13:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":170676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:35:26] local.INFO: GPS data processed {"connection_id":170676,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:35:26] local.INFO: Acknowledgment sent {"connection_id":170676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:35:36] local.INFO: TCP Data received {"connection_id":172088,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:35:36] local.INFO: Processing buffer {"connection_id":172088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:35:36] local.INFO: Packet analysis {"connection_id":172088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:35:36] local.INFO: Extracted packet for processing {"connection_id":172088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:35:36] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858205184001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788508915000,"timestamp_ms":1788508915000,"timestamp_seconds":1788508915,"priority":1,"record_length":96,"hex_timestamp":"000001a06b704538"} 
[2026-09-04 13:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 13:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858205184001,"66":26082,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858205184001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:35:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:35:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:35:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858205184001,"power":26082,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":172088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:35:36] local.INFO: GPS data processed {"connection_id":172088,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:35:36] local.INFO: Acknowledgment sent {"connection_id":172088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:35:49] local.INFO: TCP Data received {"connection_id":170677,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:35:49] local.INFO: Processing buffer {"connection_id":170677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:35:49] local.INFO: IMEI packet received {"connection_id":170677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":170677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:35:53] local.INFO: TCP Data received {"connection_id":173394,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:35:53] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:35:53] local.INFO: IMEI packet received {"connection_id":173394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":173394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:35:54] local.INFO: TCP Data received {"connection_id":170677,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:35:54] local.INFO: Processing buffer {"connection_id":170677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:35:54] local.INFO: IMEI packet received {"connection_id":170677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":170677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:35:55] local.INFO: TCP Data received {"connection_id":170677,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:35:55] local.INFO: Processing buffer {"connection_id":170677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:35:55] local.INFO: Packet analysis {"connection_id":170677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:35:55] local.INFO: Extracted packet for processing {"connection_id":170677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858202880001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788508906000,"timestamp_ms":1788508906000,"timestamp_seconds":1788508906,"priority":1,"record_length":96,"hex_timestamp":"000001a06b702210"} 
[2026-09-04 13:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 13:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858202880001,"66":25288,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858202880001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:35:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858202880001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":170677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762583,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:35:55] local.INFO: GPS data processed {"connection_id":170677,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:35:55] local.INFO: Acknowledgment sent {"connection_id":170677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:35:58] local.INFO: TCP Data received {"connection_id":173394,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:35:58] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:35:58] local.INFO: IMEI packet received {"connection_id":173394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":173394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:35:59] local.INFO: TCP Data received {"connection_id":172089,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:35:59] local.INFO: Processing buffer {"connection_id":172089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:35:59] local.INFO: IMEI packet received {"connection_id":172089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":172089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:35:59] local.INFO: TCP Data received {"connection_id":173394,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b722998012d18ac0007217180004b01372b..."} 
[2026-09-04 13:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b722998012d18ac0007217180004b01372b..."} 
[2026-09-04 13:35:59] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b722998012d18ac0007217180004b01372b..."} 
[2026-09-04 13:35:59] local.INFO: Packet analysis {"connection_id":173394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b72"} 
[2026-09-04 13:35:59] local.INFO: Extracted packet for processing {"connection_id":173394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b72"} 
[2026-09-04 13:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632256,"longitude_deg":75.6591616,"latitude_deg":11.9632256,"altitude":75,"angle":311,"satellites":43,"speed":25,"hex_longitude":"2d18ac00","hex_latitude":"07217180","is_valid_coordinates":true} 
[2026-09-04 13:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858311168001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17239637948891136,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783636589295314944,"note":"Value kept but may cause issues"} 
[2026-09-04 13:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788509039000,"timestamp_ms":1788509039000,"timestamp_seconds":1788509039,"priority":1,"record_length":96,"hex_timestamp":"000001a06b722998"} 
[2026-09-04 13:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 13:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858311168001,"66":14374,"121":206,"28":31744,"24":25,"16":17239637948891136,"45":1783636589295314944},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858311168001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:35:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17239637948891136,"km_value":17239637948891.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783636589295314944,"description":"Unknown IO ID 45"} 
[2026-09-04 13:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858311168001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1783636589295314944}} 
[2026-09-04 13:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":173394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:36:00] local.INFO: GPS data processed {"connection_id":173394,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:36:00] local.INFO: Acknowledgment sent {"connection_id":173394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:36:01] local.INFO: TCP Data received {"connection_id":173394,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b723168012d18a80007217448004c01282b..."} 
[2026-09-04 13:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b723168012d18a80007217448004c01282b..."} 
[2026-09-04 13:36:01] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b723168012d18a80007217448004c01282b..."} 
[2026-09-04 13:36:01] local.INFO: Packet analysis {"connection_id":173394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b72"} 
[2026-09-04 13:36:01] local.INFO: Extracted packet for processing {"connection_id":173394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b72"} 
[2026-09-04 13:36:01] local.INFO: GPS Element Parsed {"raw_longitude":756590592,"raw_latitude":119632968,"longitude_deg":75.6590592,"latitude_deg":11.9632968,"altitude":76,"angle":296,"satellites":43,"speed":25,"hex_longitude":"2d18a800","hex_latitude":"07217448","is_valid_coordinates":true} 
[2026-09-04 13:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858313984001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17239698078433280,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530360832,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788509041000,"timestamp_ms":1788509041000,"timestamp_seconds":1788509041,"priority":1,"record_length":96,"hex_timestamp":"000001a06b723168"} 
[2026-09-04 13:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-04 13:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858313984001,"66":13276,"121":206,"28":31744,"24":25,"16":17239698078433280,"45":1777795983530360832},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 13:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858313984001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:36:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 13:36:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17239698078433280,"km_value":17239698078433.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530360832,"description":"Unknown IO ID 45"} 
[2026-09-04 13:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858313984001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1777795983530360832}} 
[2026-09-04 13:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":173394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:36:01] local.INFO: GPS data processed {"connection_id":173394,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:36:01] local.INFO: Acknowledgment sent {"connection_id":173394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:36:04] local.INFO: TCP Data received {"connection_id":172089,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:36:04] local.INFO: Processing buffer {"connection_id":172089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:36:04] local.INFO: IMEI packet received {"connection_id":172089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":172089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:36:05] local.INFO: TCP Data received {"connection_id":172089,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:36:05] local.INFO: Processing buffer {"connection_id":172089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:36:05] local.INFO: Packet analysis {"connection_id":172089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:36:05] local.INFO: Extracted packet for processing {"connection_id":172089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:36:05] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858205184001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788508915000,"timestamp_ms":1788508915000,"timestamp_seconds":1788508915,"priority":1,"record_length":96,"hex_timestamp":"000001a06b704538"} 
[2026-09-04 13:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 13:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858205184001,"66":26082,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858205184001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:36:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:36:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858205184001,"power":26082,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":172089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:36:05] local.INFO: GPS data processed {"connection_id":172089,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:36:05] local.INFO: Acknowledgment sent {"connection_id":172089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:36:27] local.INFO: TCP Data received {"connection_id":170677,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:36:27] local.INFO: Processing buffer {"connection_id":170677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:36:27] local.INFO: Packet analysis {"connection_id":170677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:36:27] local.INFO: Extracted packet for processing {"connection_id":170677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:36:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858202880001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788508906000,"timestamp_ms":1788508906000,"timestamp_seconds":1788508906,"priority":1,"record_length":96,"hex_timestamp":"000001a06b702210"} 
[2026-09-04 13:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 13:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858202880001,"66":25288,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858202880001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:36:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:36:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858202880001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":170677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762587,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:36:27] local.INFO: GPS data processed {"connection_id":170677,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:36:27] local.INFO: Acknowledgment sent {"connection_id":170677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:36:32] local.INFO: TCP Data received {"connection_id":173394,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b73d360012d181fc00721aeb0004b001a2d..."} 
[2026-09-04 13:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b73d360012d181fc00721aeb0004b001a2d..."} 
[2026-09-04 13:36:32] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b73d360012d181fc00721aeb0004b001a2d..."} 
[2026-09-04 13:36:32] local.INFO: Packet analysis {"connection_id":173394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b73"} 
[2026-09-04 13:36:32] local.INFO: Extracted packet for processing {"connection_id":173394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b73"} 
[2026-09-04 13:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119647920,"longitude_deg":75.6555712,"latitude_deg":11.964792,"altitude":75,"angle":26,"satellites":45,"speed":10,"hex_longitude":"2d181fc0","hex_latitude":"0721aeb0","is_valid_coordinates":true} 
[2026-09-04 13:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858340608001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241673763389440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631951872,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788509148000,"timestamp_ms":1788509148000,"timestamp_seconds":1788509148,"priority":1,"record_length":96,"hex_timestamp":"000001a06b73d360"} 
[2026-09-04 13:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 13:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858340608001,"66":14157,"120":206,"28":31744,"24":10,"16":17241673763389440,"45":1737333955631951872},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858340608001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:36:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241673763389440,"km_value":17241673763389.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631951872,"description":"Unknown IO ID 45"} 
[2026-09-04 13:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858340608001,"power":14157,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1737333955631951872}} 
[2026-09-04 13:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":173394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:36:32] local.INFO: GPS data processed {"connection_id":173394,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:36:32] local.INFO: Acknowledgment sent {"connection_id":173394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:36:37] local.INFO: TCP Data received {"connection_id":172089,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:36:37] local.INFO: Processing buffer {"connection_id":172089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:36:37] local.INFO: Packet analysis {"connection_id":172089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:36:37] local.INFO: Extracted packet for processing {"connection_id":172089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:36:37] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858205184001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788508915000,"timestamp_ms":1788508915000,"timestamp_seconds":1788508915,"priority":1,"record_length":96,"hex_timestamp":"000001a06b704538"} 
[2026-09-04 13:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 13:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858205184001,"66":26082,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858205184001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:36:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858205184001,"power":26082,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":172089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:36:37] local.INFO: GPS data processed {"connection_id":172089,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:36:37] local.INFO: Acknowledgment sent {"connection_id":172089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:36:48] local.INFO: TCP Data received {"connection_id":170678,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:36:48] local.INFO: Processing buffer {"connection_id":170678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:36:48] local.INFO: IMEI packet received {"connection_id":170678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":170678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:36:49] local.INFO: TCP Data received {"connection_id":170678,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:36:49] local.INFO: Processing buffer {"connection_id":170678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:36:49] local.INFO: IMEI packet received {"connection_id":170678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":170678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:36:52] local.INFO: TCP Data received {"connection_id":172090,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:36:52] local.INFO: Processing buffer {"connection_id":172090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:36:52] local.INFO: IMEI packet received {"connection_id":172090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":172090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:36:53] local.INFO: TCP Data received {"connection_id":170678,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:36:53] local.INFO: Processing buffer {"connection_id":170678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:36:53] local.INFO: IMEI packet received {"connection_id":170678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":170678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:36:54] local.INFO: TCP Data received {"connection_id":172090,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:36:54] local.INFO: Processing buffer {"connection_id":172090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:36:54] local.INFO: IMEI packet received {"connection_id":172090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":172090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:36:54] local.INFO: TCP Data received {"connection_id":172090,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:36:54] local.INFO: Processing buffer {"connection_id":172090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:36:54] local.INFO: Packet analysis {"connection_id":172090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:36:54] local.INFO: Extracted packet for processing {"connection_id":172090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858202880001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788508906000,"timestamp_ms":1788508906000,"timestamp_seconds":1788508906,"priority":1,"record_length":96,"hex_timestamp":"000001a06b702210"} 
[2026-09-04 13:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 13:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858202880001,"66":25288,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858202880001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:36:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:36:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858202880001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":172090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762590,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:36:55] local.INFO: GPS data processed {"connection_id":172090,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:36:55] local.INFO: Acknowledgment sent {"connection_id":172090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:36:55] local.INFO: TCP Data received {"connection_id":170678,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b73d748012d181fc00721af98004a015b2d..."} 
[2026-09-04 13:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b73d748012d181fc00721af98004a015b2d..."} 
[2026-09-04 13:36:55] local.INFO: Processing buffer {"connection_id":170678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b73d748012d181fc00721af98004a015b2d..."} 
[2026-09-04 13:36:55] local.INFO: Packet analysis {"connection_id":170678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b73"} 
[2026-09-04 13:36:55] local.INFO: Extracted packet for processing {"connection_id":170678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b73"} 
[2026-09-04 13:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648152,"longitude_deg":75.6555712,"latitude_deg":11.9648152,"altitude":74,"angle":347,"satellites":45,"speed":9,"hex_longitude":"2d181fc0","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-09-04 13:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858341888001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241682353324032,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050701312,"note":"Value kept but may cause issues"} 
[2026-09-04 13:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788509149000,"timestamp_ms":1788509149000,"timestamp_seconds":1788509149,"priority":1,"record_length":96,"hex_timestamp":"000001a06b73d748"} 
[2026-09-04 13:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 13:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858341888001,"66":14428,"120":206,"28":31744,"24":9,"16":17241682353324032,"45":1738319118050701312},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858341888001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:36:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241682353324032,"km_value":17241682353324.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050701312,"description":"Unknown IO ID 45"} 
[2026-09-04 13:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858341888001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1738319118050701312}} 
[2026-09-04 13:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":170678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:36:55] local.INFO: GPS data processed {"connection_id":170678,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:36:55] local.INFO: Acknowledgment sent {"connection_id":170678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:37:00] local.INFO: TCP Data received {"connection_id":170678,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b73db30012d181f800721b038004a014d2d..."} 
[2026-09-04 13:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b73db30012d181f800721b038004a014d2d..."} 
[2026-09-04 13:37:00] local.INFO: Processing buffer {"connection_id":170678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b73db30012d181f800721b038004a014d2d..."} 
[2026-09-04 13:37:00] local.INFO: Packet analysis {"connection_id":170678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b73"} 
[2026-09-04 13:37:00] local.INFO: Extracted packet for processing {"connection_id":170678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b73"} 
[2026-09-04 13:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648312,"longitude_deg":75.6555648,"latitude_deg":11.9648312,"altitude":74,"angle":333,"satellites":45,"speed":5,"hex_longitude":"2d181f80","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-09-04 13:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858342144001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241690943258624,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050760704,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788509150000,"timestamp_ms":1788509150000,"timestamp_seconds":1788509150,"priority":1,"record_length":96,"hex_timestamp":"000001a06b73db30"} 
[2026-09-04 13:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 13:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858342144001,"66":14428,"120":206,"28":31744,"24":5,"16":17241690943258624,"45":1738319118050760704},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858342144001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:37:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:37:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241690943258624,"km_value":17241690943258.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050760704,"description":"Unknown IO ID 45"} 
[2026-09-04 13:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858342144001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1738319118050760704}} 
[2026-09-04 13:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":170678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:37:00] local.INFO: GPS data processed {"connection_id":170678,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:37:00] local.INFO: Acknowledgment sent {"connection_id":170678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:37:00] local.INFO: TCP Data received {"connection_id":172090,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:37:00] local.INFO: Processing buffer {"connection_id":172090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b702210012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:37:00] local.INFO: Packet analysis {"connection_id":172090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:37:00] local.INFO: Extracted packet for processing {"connection_id":172090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:37:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858202880001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788508906000,"timestamp_ms":1788508906000,"timestamp_seconds":1788508906,"priority":1,"record_length":96,"hex_timestamp":"000001a06b702210"} 
[2026-09-04 13:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 13:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858202880001,"66":25288,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858202880001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:37:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:37:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858202880001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":172090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:37:00] local.INFO: GPS data processed {"connection_id":172090,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:37:00] local.INFO: Acknowledgment sent {"connection_id":172090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:37:04] local.INFO: TCP Data received {"connection_id":170679,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:37:04] local.INFO: Processing buffer {"connection_id":170679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:37:04] local.INFO: IMEI packet received {"connection_id":170679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":170679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:37:09] local.INFO: TCP Data received {"connection_id":170679,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:37:09] local.INFO: Processing buffer {"connection_id":170679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:37:09] local.INFO: IMEI packet received {"connection_id":170679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":170679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:37:10] local.INFO: TCP Data received {"connection_id":170679,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:37:10] local.INFO: Processing buffer {"connection_id":170679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b704538012cc1dcc007572ac0001801432f..."} 
[2026-09-04 13:37:10] local.INFO: Packet analysis {"connection_id":170679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:37:10] local.INFO: Extracted packet for processing {"connection_id":170679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b70"} 
[2026-09-04 13:37:10] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":47,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858205184001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788508915000,"timestamp_ms":1788508915000,"timestamp_seconds":1788508915,"priority":1,"record_length":96,"hex_timestamp":"000001a06b704538"} 
[2026-09-04 13:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 13:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858205184001,"66":26082,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858205184001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:37:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858205184001,"power":26082,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":170679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:37:10] local.INFO: GPS data processed {"connection_id":170679,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:37:10] local.INFO: Acknowledgment sent {"connection_id":170679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:37:31] local.INFO: TCP Data received {"connection_id":170678,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b742d38012d181e400721aea8004a014d2d..."} 
[2026-09-04 13:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b742d38012d181e400721aea8004a014d2d..."} 
[2026-09-04 13:37:31] local.INFO: Processing buffer {"connection_id":170678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b742d38012d181e400721aea8004a014d2d..."} 
[2026-09-04 13:37:31] local.INFO: Packet analysis {"connection_id":170678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:37:31] local.INFO: Extracted packet for processing {"connection_id":170678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647912,"longitude_deg":75.6555328,"latitude_deg":11.9647912,"altitude":74,"angle":333,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-09-04 13:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858342400001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241738187898880,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306624000,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788509171000,"timestamp_ms":1788509171000,"timestamp_seconds":1788509171,"priority":1,"record_length":96,"hex_timestamp":"000001a06b742d38"} 
[2026-09-04 13:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 13:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":170678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":170678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":170678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858342400001,"66":13276,"120":206,"28":31744,"24":0,"16":17241738187898880,"45":1738248749306624000},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858342400001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:37:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241738187898880,"km_value":17241738187898.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306624000,"description":"Unknown IO ID 45"} 
[2026-09-04 13:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858342400001,"power":13276,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306624000}} 
[2026-09-04 13:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":170678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:37:31] local.INFO: GPS data processed {"connection_id":170678,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:37:31] local.INFO: Acknowledgment sent {"connection_id":170678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:37:31] local.INFO: TCP Data received {"connection_id":172090,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:37:31] local.INFO: Processing buffer {"connection_id":172090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:37:31] local.INFO: Packet analysis {"connection_id":172090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:37:31] local.INFO: Extracted packet for processing {"connection_id":172090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279936001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788509207000,"timestamp_ms":1788509207000,"timestamp_seconds":1788509207,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74b9d8"} 
[2026-09-04 13:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 13:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279936001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279936001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:37:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":172090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:37:31] local.INFO: GPS data processed {"connection_id":172090,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:37:31] local.INFO: Acknowledgment sent {"connection_id":172090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:37:42] local.INFO: TCP Data received {"connection_id":170679,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:37:42] local.INFO: Processing buffer {"connection_id":170679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:37:42] local.INFO: Packet analysis {"connection_id":170679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:37:42] local.INFO: Extracted packet for processing {"connection_id":170679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:37:42] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":44,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858282240001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788509216000,"timestamp_ms":1788509216000,"timestamp_seconds":1788509216,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74dd00"} 
[2026-09-04 13:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 13:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858282240001,"66":26006,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858282240001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:37:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858282240001,"power":26006,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":170679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:37:42] local.INFO: GPS data processed {"connection_id":170679,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:37:42] local.INFO: Acknowledgment sent {"connection_id":170679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:37:48] local.INFO: TCP Data received {"connection_id":173395,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:37:48] local.INFO: Processing buffer {"connection_id":173395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:37:48] local.INFO: IMEI packet received {"connection_id":173395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":173395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:37:53] local.INFO: TCP Data received {"connection_id":173395,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:37:53] local.INFO: Processing buffer {"connection_id":173395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:37:53] local.INFO: IMEI packet received {"connection_id":173395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":173395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:37:54] local.INFO: TCP Data received {"connection_id":173395,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b747f40012d181dc00721adb00049014d2c..."} 
[2026-09-04 13:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b747f40012d181dc00721adb00049014d2c..."} 
[2026-09-04 13:37:54] local.INFO: Processing buffer {"connection_id":173395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b747f40012d181dc00721adb00049014d2c..."} 
[2026-09-04 13:37:54] local.INFO: Packet analysis {"connection_id":173395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:37:54] local.INFO: Extracted packet for processing {"connection_id":173395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:37:54] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647664,"longitude_deg":75.65552,"latitude_deg":11.9647664,"altitude":73,"angle":333,"satellites":44,"speed":3,"hex_longitude":"2d181dc0","hex_latitude":"0721adb0","is_valid_coordinates":true} 
[2026-09-04 13:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858347776001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241755367768064,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585633280,"note":"Value kept but may cause issues"} 
[2026-09-04 13:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788509192000,"timestamp_ms":1788509192000,"timestamp_seconds":1788509192,"priority":1,"record_length":96,"hex_timestamp":"000001a06b747f40"} 
[2026-09-04 13:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-04 13:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858347776001,"66":12385,"120":206,"28":31744,"24":3,"16":17241755367768064,"45":1737896905585633280},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858347776001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:37:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:37:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241755367768064,"km_value":17241755367768.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585633280,"description":"Unknown IO ID 45"} 
[2026-09-04 13:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858347776001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1737896905585633280}} 
[2026-09-04 13:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":173395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:37:54] local.INFO: GPS data processed {"connection_id":173395,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:37:54] local.INFO: Acknowledgment sent {"connection_id":173395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:37:54] local.INFO: TCP Data received {"connection_id":173396,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:37:54] local.INFO: Processing buffer {"connection_id":173396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:37:54] local.INFO: IMEI packet received {"connection_id":173396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":173396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:38:01] local.INFO: TCP Data received {"connection_id":173396,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:38:01] local.INFO: Processing buffer {"connection_id":173396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:38:01] local.INFO: IMEI packet received {"connection_id":173396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":173396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:38:02] local.INFO: TCP Data received {"connection_id":173396,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:38:02] local.INFO: Processing buffer {"connection_id":173396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:38:02] local.INFO: Packet analysis {"connection_id":173396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:38:02] local.INFO: Extracted packet for processing {"connection_id":173396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279936001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788509207000,"timestamp_ms":1788509207000,"timestamp_seconds":1788509207,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74b9d8"} 
[2026-09-04 13:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 13:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279936001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279936001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:38:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:38:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":173396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762599,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:38:02] local.INFO: GPS data processed {"connection_id":173396,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:38:02] local.INFO: Acknowledgment sent {"connection_id":173396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:38:04] local.INFO: TCP Data received {"connection_id":173396,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:38:04] local.INFO: Processing buffer {"connection_id":173396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:38:04] local.INFO: Packet analysis {"connection_id":173396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:38:04] local.INFO: Extracted packet for processing {"connection_id":173396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279936001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788509207000,"timestamp_ms":1788509207000,"timestamp_seconds":1788509207,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74b9d8"} 
[2026-09-04 13:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 13:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279936001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279936001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:38:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":173396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762600,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:38:04] local.INFO: GPS data processed {"connection_id":173396,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:38:04] local.INFO: Acknowledgment sent {"connection_id":173396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:38:19] local.INFO: TCP Data received {"connection_id":170680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:38:19] local.INFO: Processing buffer {"connection_id":170680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:38:19] local.INFO: IMEI packet received {"connection_id":170680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":170680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:38:24] local.INFO: TCP Data received {"connection_id":170680,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:38:24] local.INFO: Processing buffer {"connection_id":170680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:38:24] local.INFO: IMEI packet received {"connection_id":170680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":170680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:38:25] local.INFO: TCP Data received {"connection_id":170680,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:38:25] local.INFO: Processing buffer {"connection_id":170680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:38:25] local.INFO: Packet analysis {"connection_id":170680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:38:25] local.INFO: Extracted packet for processing {"connection_id":170680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:38:25] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":44,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858282240001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788509216000,"timestamp_ms":1788509216000,"timestamp_seconds":1788509216,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74dd00"} 
[2026-09-04 13:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 13:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858282240001,"66":26006,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858282240001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:38:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:38:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858282240001,"power":26006,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":170680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:38:25] local.INFO: GPS data processed {"connection_id":170680,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:38:25] local.INFO: Acknowledgment sent {"connection_id":170680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:38:26] local.INFO: TCP Data received {"connection_id":173395,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74d148012d181d400721ad480049014d2b..."} 
[2026-09-04 13:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74d148012d181d400721ad480049014d2b..."} 
[2026-09-04 13:38:26] local.INFO: Processing buffer {"connection_id":173395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74d148012d181d400721ad480049014d2b..."} 
[2026-09-04 13:38:26] local.INFO: Packet analysis {"connection_id":173395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:38:26] local.INFO: Extracted packet for processing {"connection_id":173395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:38:26] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858353152001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097214464,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788509213000,"timestamp_ms":1788509213000,"timestamp_seconds":1788509213,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74d148"} 
[2026-09-04 13:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 13:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858353152001,"66":13167,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737756168097214464},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858353152001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:38:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:38:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097214464,"description":"Unknown IO ID 45"} 
[2026-09-04 13:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858353152001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097214464}} 
[2026-09-04 13:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":173395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:38:26] local.INFO: GPS data processed {"connection_id":173395,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:38:26] local.INFO: Acknowledgment sent {"connection_id":173395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:38:48] local.INFO: TCP Data received {"connection_id":173397,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:38:48] local.INFO: Processing buffer {"connection_id":173397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:38:48] local.INFO: IMEI packet received {"connection_id":173397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":173397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:38:49] local.INFO: TCP Data received {"connection_id":170983,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:38:49] local.INFO: Processing buffer {"connection_id":170983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:38:49] local.INFO: IMEI packet received {"connection_id":170983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":170983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:38:54] local.INFO: TCP Data received {"connection_id":173397,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:38:54] local.INFO: Processing buffer {"connection_id":173397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:38:54] local.INFO: IMEI packet received {"connection_id":173397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":173397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:38:54] local.INFO: TCP Data received {"connection_id":170983,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:38:54] local.INFO: Processing buffer {"connection_id":170983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:38:54] local.INFO: IMEI packet received {"connection_id":170983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":170983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:38:55] local.INFO: TCP Data received {"connection_id":173397,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b752350012d181d400721ad480049014d2c..."} 
[2026-09-04 13:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b752350012d181d400721ad480049014d2c..."} 
[2026-09-04 13:38:55] local.INFO: Processing buffer {"connection_id":173397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b752350012d181d400721ad480049014d2c..."} 
[2026-09-04 13:38:55] local.INFO: Packet analysis {"connection_id":173397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b75"} 
[2026-09-04 13:38:55] local.INFO: Extracted packet for processing {"connection_id":173397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b75"} 
[2026-09-04 13:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858358528001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788509234000,"timestamp_ms":1788509234000,"timestamp_seconds":1788509234,"priority":1,"record_length":96,"hex_timestamp":"000001a06b752350"} 
[2026-09-04 13:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-04 13:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858358528001,"66":13135,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858358528001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:38:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858358528001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":173397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:38:55] local.INFO: GPS data processed {"connection_id":173397,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:38:55] local.INFO: Acknowledgment sent {"connection_id":173397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:38:56] local.INFO: TCP Data received {"connection_id":170983,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:38:56] local.INFO: Processing buffer {"connection_id":170983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:38:56] local.INFO: Packet analysis {"connection_id":170983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:38:56] local.INFO: Extracted packet for processing {"connection_id":170983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:38:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279936001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788509207000,"timestamp_ms":1788509207000,"timestamp_seconds":1788509207,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74b9d8"} 
[2026-09-04 13:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 13:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279936001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279936001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:38:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:38:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":170983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:38:56] local.INFO: GPS data processed {"connection_id":170983,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:38:56] local.INFO: Acknowledgment sent {"connection_id":170983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:38:59] local.INFO: TCP Data received {"connection_id":172091,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:38:59] local.INFO: Processing buffer {"connection_id":172091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:38:59] local.INFO: IMEI packet received {"connection_id":172091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":172091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:39:04] local.INFO: TCP Data received {"connection_id":172091,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:39:04] local.INFO: Processing buffer {"connection_id":172091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:39:04] local.INFO: IMEI packet received {"connection_id":172091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":172091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:39:06] local.INFO: TCP Data received {"connection_id":172091,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:39:06] local.INFO: Processing buffer {"connection_id":172091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:39:06] local.INFO: Packet analysis {"connection_id":172091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:39:06] local.INFO: Extracted packet for processing {"connection_id":172091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:39:06] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":44,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858282240001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788509216000,"timestamp_ms":1788509216000,"timestamp_seconds":1788509216,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74dd00"} 
[2026-09-04 13:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 13:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858282240001,"66":26006,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858282240001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:39:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:39:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858282240001,"power":26006,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":172091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:39:06] local.INFO: GPS data processed {"connection_id":172091,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:39:06] local.INFO: Acknowledgment sent {"connection_id":172091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:39:27] local.INFO: TCP Data received {"connection_id":170983,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:39:27] local.INFO: Processing buffer {"connection_id":170983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:39:27] local.INFO: Packet analysis {"connection_id":170983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:39:27] local.INFO: Extracted packet for processing {"connection_id":170983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:39:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279936001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788509207000,"timestamp_ms":1788509207000,"timestamp_seconds":1788509207,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74b9d8"} 
[2026-09-04 13:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 13:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279936001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279936001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:39:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:39:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":170983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762606,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:39:27] local.INFO: GPS data processed {"connection_id":170983,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:39:27] local.INFO: Acknowledgment sent {"connection_id":170983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:39:27] local.INFO: TCP Data received {"connection_id":173397,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b757558012d181d400721ad480049014d2b..."} 
[2026-09-04 13:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b757558012d181d400721ad480049014d2b..."} 
[2026-09-04 13:39:27] local.INFO: Processing buffer {"connection_id":173397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b757558012d181d400721ad480049014d2b..."} 
[2026-09-04 13:39:27] local.INFO: Packet analysis {"connection_id":173397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b75"} 
[2026-09-04 13:39:27] local.INFO: Extracted packet for processing {"connection_id":173397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b75"} 
[2026-09-04 13:39:27] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858363904001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788509255000,"timestamp_ms":1788509255000,"timestamp_seconds":1788509255,"priority":1,"record_length":96,"hex_timestamp":"000001a06b757558"} 
[2026-09-04 13:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-04 13:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858363904001,"66":13102,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858363904001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:39:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:39:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858363904001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":173397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:39:28] local.INFO: GPS data processed {"connection_id":173397,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:39:28] local.INFO: Acknowledgment sent {"connection_id":173397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:39:37] local.INFO: TCP Data received {"connection_id":172091,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:39:38] local.INFO: Processing buffer {"connection_id":172091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:39:38] local.INFO: Packet analysis {"connection_id":172091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:39:38] local.INFO: Extracted packet for processing {"connection_id":172091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:39:38] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":44,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858282240001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788509216000,"timestamp_ms":1788509216000,"timestamp_seconds":1788509216,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74dd00"} 
[2026-09-04 13:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 13:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858282240001,"66":26006,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858282240001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:39:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:39:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858282240001,"power":26006,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":172091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:39:38] local.INFO: GPS data processed {"connection_id":172091,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:39:38] local.INFO: Acknowledgment sent {"connection_id":172091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:39:48] local.INFO: TCP Data received {"connection_id":170682,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:39:48] local.INFO: Processing buffer {"connection_id":170682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:39:48] local.INFO: IMEI packet received {"connection_id":170682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":170682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:39:49] local.INFO: TCP Data received {"connection_id":170681,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:39:49] local.INFO: Processing buffer {"connection_id":170681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:39:49] local.INFO: IMEI packet received {"connection_id":170681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":170681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:39:53] local.INFO: TCP Data received {"connection_id":170682,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:39:53] local.INFO: Processing buffer {"connection_id":170682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:39:53] local.INFO: IMEI packet received {"connection_id":170682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":170682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:39:54] local.INFO: TCP Data received {"connection_id":170681,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:39:54] local.INFO: Processing buffer {"connection_id":170681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:39:54] local.INFO: IMEI packet received {"connection_id":170681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":170681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:39:54] local.INFO: TCP Data received {"connection_id":170682,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b75c760012d181d400721ad480049014d2c..."} 
[2026-09-04 13:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b75c760012d181d400721ad480049014d2c..."} 
[2026-09-04 13:39:54] local.INFO: Processing buffer {"connection_id":170682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b75c760012d181d400721ad480049014d2c..."} 
[2026-09-04 13:39:54] local.INFO: Packet analysis {"connection_id":170682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b75"} 
[2026-09-04 13:39:54] local.INFO: Extracted packet for processing {"connection_id":170682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b75"} 
[2026-09-04 13:39:54] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858369280001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788509276000,"timestamp_ms":1788509276000,"timestamp_seconds":1788509276,"priority":1,"record_length":96,"hex_timestamp":"000001a06b75c760"} 
[2026-09-04 13:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 13:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858369280001,"66":13015,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858369280001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:39:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:39:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858369280001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":170682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:39:55] local.INFO: GPS data processed {"connection_id":170682,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:39:55] local.INFO: Acknowledgment sent {"connection_id":170682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:39:55] local.INFO: TCP Data received {"connection_id":170681,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:39:55] local.INFO: Processing buffer {"connection_id":170681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:39:55] local.INFO: Packet analysis {"connection_id":170681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:39:55] local.INFO: Extracted packet for processing {"connection_id":170681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:39:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279936001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788509207000,"timestamp_ms":1788509207000,"timestamp_seconds":1788509207,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74b9d8"} 
[2026-09-04 13:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 13:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279936001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279936001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:39:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:39:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":170681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:39:55] local.INFO: GPS data processed {"connection_id":170681,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:39:55] local.INFO: Acknowledgment sent {"connection_id":170681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:40:00] local.INFO: TCP Data received {"connection_id":172092,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:40:00] local.INFO: Processing buffer {"connection_id":172092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:40:00] local.INFO: IMEI packet received {"connection_id":172092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":172092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:40:00] local.INFO: TCP Data received {"connection_id":170681,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:40:00] local.INFO: Processing buffer {"connection_id":170681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:40:00] local.INFO: Packet analysis {"connection_id":170681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:40:00] local.INFO: Extracted packet for processing {"connection_id":170681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:40:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279936001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788509207000,"timestamp_ms":1788509207000,"timestamp_seconds":1788509207,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74b9d8"} 
[2026-09-04 13:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 13:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279936001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279936001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:40:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:40:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":170681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762611,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:40:00] local.INFO: GPS data processed {"connection_id":170681,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:40:00] local.INFO: Acknowledgment sent {"connection_id":170681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:40:04] local.INFO: TCP Data received {"connection_id":172092,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:40:04] local.INFO: Processing buffer {"connection_id":172092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:40:04] local.INFO: IMEI packet received {"connection_id":172092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":172092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:40:05] local.INFO: TCP Data received {"connection_id":172092,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:40:05] local.INFO: Processing buffer {"connection_id":172092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:40:05] local.INFO: Packet analysis {"connection_id":172092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:40:05] local.INFO: Extracted packet for processing {"connection_id":172092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:40:05] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":44,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858282240001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788509216000,"timestamp_ms":1788509216000,"timestamp_seconds":1788509216,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74dd00"} 
[2026-09-04 13:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 13:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858282240001,"66":26006,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858282240001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:40:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858282240001,"power":26006,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":172092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:40:05] local.INFO: GPS data processed {"connection_id":172092,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:40:05] local.INFO: Acknowledgment sent {"connection_id":172092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:40:27] local.INFO: TCP Data received {"connection_id":170682,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b761968012d181d400721ad480049014d2a..."} 
[2026-09-04 13:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b761968012d181d400721ad480049014d2a..."} 
[2026-09-04 13:40:27] local.INFO: Processing buffer {"connection_id":170682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b761968012d181d400721ad480049014d2a..."} 
[2026-09-04 13:40:27] local.INFO: Packet analysis {"connection_id":170682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b76"} 
[2026-09-04 13:40:27] local.INFO: Extracted packet for processing {"connection_id":170682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b76"} 
[2026-09-04 13:40:27] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858374656001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788509297000,"timestamp_ms":1788509297000,"timestamp_seconds":1788509297,"priority":1,"record_length":96,"hex_timestamp":"000001a06b761968"} 
[2026-09-04 13:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-04 13:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858374656001,"66":13004,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858374656001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:40:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:40:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858374656001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":170682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:40:27] local.INFO: GPS data processed {"connection_id":170682,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:40:27] local.INFO: Acknowledgment sent {"connection_id":170682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:40:31] local.INFO: TCP Data received {"connection_id":170681,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:40:31] local.INFO: Processing buffer {"connection_id":170681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:40:31] local.INFO: Packet analysis {"connection_id":170681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:40:31] local.INFO: Extracted packet for processing {"connection_id":170681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279936001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788509207000,"timestamp_ms":1788509207000,"timestamp_seconds":1788509207,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74b9d8"} 
[2026-09-04 13:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 13:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":170681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":170681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":170681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279936001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279936001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:40:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:40:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":170681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762614,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:40:31] local.INFO: GPS data processed {"connection_id":170681,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:40:31] local.INFO: Acknowledgment sent {"connection_id":170681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:40:37] local.INFO: TCP Data received {"connection_id":172092,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:40:37] local.INFO: Processing buffer {"connection_id":172092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:40:37] local.INFO: Packet analysis {"connection_id":172092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:40:37] local.INFO: Extracted packet for processing {"connection_id":172092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:40:37] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":44,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858282240001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788509216000,"timestamp_ms":1788509216000,"timestamp_seconds":1788509216,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74dd00"} 
[2026-09-04 13:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 13:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858282240001,"66":26006,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858282240001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:40:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858282240001,"power":26006,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":172092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:40:37] local.INFO: GPS data processed {"connection_id":172092,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:40:37] local.INFO: Acknowledgment sent {"connection_id":172092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:40:49] local.INFO: TCP Data received {"connection_id":170984,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:40:49] local.INFO: Processing buffer {"connection_id":170984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:40:49] local.INFO: IMEI packet received {"connection_id":170984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":170984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:40:53] local.INFO: TCP Data received {"connection_id":172093,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:40:53] local.INFO: Processing buffer {"connection_id":172093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:40:53] local.INFO: IMEI packet received {"connection_id":172093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":172093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:40:55] local.INFO: TCP Data received {"connection_id":170984,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:40:55] local.INFO: Processing buffer {"connection_id":170984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:40:55] local.INFO: IMEI packet received {"connection_id":170984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":170984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:40:56] local.INFO: TCP Data received {"connection_id":170984,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:40:56] local.INFO: Processing buffer {"connection_id":170984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:40:56] local.INFO: Packet analysis {"connection_id":170984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:40:56] local.INFO: Extracted packet for processing {"connection_id":170984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:40:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279936001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788509207000,"timestamp_ms":1788509207000,"timestamp_seconds":1788509207,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74b9d8"} 
[2026-09-04 13:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 13:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279936001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279936001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:40:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:40:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":170984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762616,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:40:56] local.INFO: GPS data processed {"connection_id":170984,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:40:56] local.INFO: Acknowledgment sent {"connection_id":170984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:40:58] local.INFO: TCP Data received {"connection_id":172093,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:40:58] local.INFO: Processing buffer {"connection_id":172093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:40:58] local.INFO: IMEI packet received {"connection_id":172093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":172093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:40:59] local.INFO: TCP Data received {"connection_id":172094,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:40:59] local.INFO: Processing buffer {"connection_id":172094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:40:59] local.INFO: IMEI packet received {"connection_id":172094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":172094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:41:00] local.INFO: TCP Data received {"connection_id":172093,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b766b70012d181d400721ad480049014d2b..."} 
[2026-09-04 13:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b766b70012d181d400721ad480049014d2b..."} 
[2026-09-04 13:41:00] local.INFO: Processing buffer {"connection_id":172093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b766b70012d181d400721ad480049014d2b..."} 
[2026-09-04 13:41:00] local.INFO: Packet analysis {"connection_id":172093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b76"} 
[2026-09-04 13:41:00] local.INFO: Extracted packet for processing {"connection_id":172093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b76"} 
[2026-09-04 13:41:00] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858380032001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788509318000,"timestamp_ms":1788509318000,"timestamp_seconds":1788509318,"priority":1,"record_length":96,"hex_timestamp":"000001a06b766b70"} 
[2026-09-04 13:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 13:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858380032001,"66":13037,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858380032001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:41:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:41:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858380032001,"power":13037,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":172093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:41:00] local.INFO: GPS data processed {"connection_id":172093,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:41:00] local.INFO: Acknowledgment sent {"connection_id":172093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:41:02] local.INFO: TCP Data received {"connection_id":172093,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b76bd78012d181d400721ad480049014d2b..."} 
[2026-09-04 13:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b76bd78012d181d400721ad480049014d2b..."} 
[2026-09-04 13:41:02] local.INFO: Processing buffer {"connection_id":172093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b76bd78012d181d400721ad480049014d2b..."} 
[2026-09-04 13:41:02] local.INFO: Packet analysis {"connection_id":172093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b76"} 
[2026-09-04 13:41:02] local.INFO: Extracted packet for processing {"connection_id":172093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b76"} 
[2026-09-04 13:41:02] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858385408001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788509339000,"timestamp_ms":1788509339000,"timestamp_seconds":1788509339,"priority":1,"record_length":96,"hex_timestamp":"000001a06b76bd78"} 
[2026-09-04 13:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-04 13:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858385408001,"66":12950,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858385408001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:41:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:41:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858385408001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":172093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:41:02] local.INFO: GPS data processed {"connection_id":172093,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:41:02] local.INFO: Acknowledgment sent {"connection_id":172093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:41:04] local.INFO: TCP Data received {"connection_id":172094,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:41:04] local.INFO: Processing buffer {"connection_id":172094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:41:04] local.INFO: IMEI packet received {"connection_id":172094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":172094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:41:05] local.INFO: TCP Data received {"connection_id":172094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:41:05] local.INFO: Processing buffer {"connection_id":172094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:41:05] local.INFO: Packet analysis {"connection_id":172094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:41:05] local.INFO: Extracted packet for processing {"connection_id":172094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:41:05] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":44,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858282240001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788509216000,"timestamp_ms":1788509216000,"timestamp_seconds":1788509216,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74dd00"} 
[2026-09-04 13:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 13:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858282240001,"66":26006,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858282240001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:41:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858282240001,"power":26006,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":172094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:41:05] local.INFO: GPS data processed {"connection_id":172094,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:41:05] local.INFO: Acknowledgment sent {"connection_id":172094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:41:27] local.INFO: TCP Data received {"connection_id":170984,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:41:27] local.INFO: Processing buffer {"connection_id":170984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:41:27] local.INFO: Packet analysis {"connection_id":170984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:41:27] local.INFO: Extracted packet for processing {"connection_id":170984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:41:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279936001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788509207000,"timestamp_ms":1788509207000,"timestamp_seconds":1788509207,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74b9d8"} 
[2026-09-04 13:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 13:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279936001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279936001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:41:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:41:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":170984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762620,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:41:27] local.INFO: GPS data processed {"connection_id":170984,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:41:27] local.INFO: Acknowledgment sent {"connection_id":170984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:41:34] local.INFO: TCP Data received {"connection_id":172093,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b770f80012d181d400721ad480049014d2c..."} 
[2026-09-04 13:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b770f80012d181d400721ad480049014d2c..."} 
[2026-09-04 13:41:34] local.INFO: Processing buffer {"connection_id":172093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b770f80012d181d400721ad480049014d2c..."} 
[2026-09-04 13:41:34] local.INFO: Packet analysis {"connection_id":172093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b77"} 
[2026-09-04 13:41:34] local.INFO: Extracted packet for processing {"connection_id":172093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b77"} 
[2026-09-04 13:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858390784001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788509360000,"timestamp_ms":1788509360000,"timestamp_seconds":1788509360,"priority":1,"record_length":96,"hex_timestamp":"000001a06b770f80"} 
[2026-09-04 13:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 13:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858390784001,"66":12298,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858390784001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:41:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:41:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858390784001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":172093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:41:34] local.INFO: GPS data processed {"connection_id":172093,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:41:34] local.INFO: Acknowledgment sent {"connection_id":172093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:41:36] local.INFO: TCP Data received {"connection_id":172094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:41:36] local.INFO: Processing buffer {"connection_id":172094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74dd00012cc1dcc007572ac0001801432c..."} 
[2026-09-04 13:41:36] local.INFO: Packet analysis {"connection_id":172094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:41:36] local.INFO: Extracted packet for processing {"connection_id":172094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:41:36] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":44,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858282240001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788509216000,"timestamp_ms":1788509216000,"timestamp_seconds":1788509216,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74dd00"} 
[2026-09-04 13:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 13:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858282240001,"66":26006,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858282240001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:41:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:41:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858282240001,"power":26006,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":172094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:41:36] local.INFO: GPS data processed {"connection_id":172094,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:41:36] local.INFO: Acknowledgment sent {"connection_id":172094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:41:48] local.INFO: TCP Data received {"connection_id":173398,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:41:48] local.INFO: Processing buffer {"connection_id":173398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:41:48] local.INFO: IMEI packet received {"connection_id":173398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":173398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:41:49] local.INFO: TCP Data received {"connection_id":170683,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:41:49] local.INFO: Processing buffer {"connection_id":170683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:41:49] local.INFO: IMEI packet received {"connection_id":170683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":170683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:41:53] local.INFO: TCP Data received {"connection_id":173398,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:41:53] local.INFO: Processing buffer {"connection_id":173398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:41:53] local.INFO: IMEI packet received {"connection_id":173398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":173398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:41:54] local.INFO: TCP Data received {"connection_id":170683,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:41:54] local.INFO: Processing buffer {"connection_id":170683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:41:54] local.INFO: IMEI packet received {"connection_id":170683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":170683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:41:55] local.INFO: TCP Data received {"connection_id":173398,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b776188012d181d400721ad480049014d2b..."} 
[2026-09-04 13:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b776188012d181d400721ad480049014d2b..."} 
[2026-09-04 13:41:55] local.INFO: Processing buffer {"connection_id":173398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b776188012d181d400721ad480049014d2b..."} 
[2026-09-04 13:41:55] local.INFO: Packet analysis {"connection_id":173398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b77"} 
[2026-09-04 13:41:55] local.INFO: Extracted packet for processing {"connection_id":173398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b77"} 
[2026-09-04 13:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858396160001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788509381000,"timestamp_ms":1788509381000,"timestamp_seconds":1788509381,"priority":1,"record_length":96,"hex_timestamp":"000001a06b776188"} 
[2026-09-04 13:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 13:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:55] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:55] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452349,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:55] local.WARNING: Large IO value detected {"io_id":65,"raw_value":5332261958806667265,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7743043766544308253,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:55] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513882357250982221,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:55] local.WARNING: Large IO value detected {"io_id":73,"raw_value":93779545756270592,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:55] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:55] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3697174703446163662,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:55] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13494136,"corrected_to":0} 
[2026-09-04 13:41:55] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2907177033,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-04 13:41:55] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,120,28,24,241,158,16,65,160,189,45,64,173,73,43,10,66,107,25,1,240,204,33,4,113,205,117,29,72,239,51,2,61,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":204,"original":13494136,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-04 13:41:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260570691119349760,"timestamp_seconds":5260570691119350.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 13:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858396160001,"66":12113,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858396160001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:41:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858396160001,"power":12113,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":173398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:41:55] local.INFO: GPS data processed {"connection_id":173398,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:41:55] local.INFO: Acknowledgment sent {"connection_id":173398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:41:56] local.INFO: TCP Data received {"connection_id":170683,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:41:56] local.INFO: Processing buffer {"connection_id":170683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b74b9d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:41:56] local.INFO: Packet analysis {"connection_id":170683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:41:56] local.INFO: Extracted packet for processing {"connection_id":170683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b74"} 
[2026-09-04 13:41:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858279936001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788509207000,"timestamp_ms":1788509207000,"timestamp_seconds":1788509207,"priority":1,"record_length":96,"hex_timestamp":"000001a06b74b9d8"} 
[2026-09-04 13:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 13:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858279936001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858279936001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:41:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:41:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858279936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":170683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762624,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:41:56] local.INFO: GPS data processed {"connection_id":170683,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:41:56] local.INFO: Acknowledgment sent {"connection_id":170683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:42:04] local.INFO: TCP Data received {"connection_id":173399,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:42:04] local.INFO: Processing buffer {"connection_id":173399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:42:04] local.INFO: IMEI packet received {"connection_id":173399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":173399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:42:09] local.INFO: TCP Data received {"connection_id":173399,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:42:09] local.INFO: Processing buffer {"connection_id":173399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:42:09] local.INFO: IMEI packet received {"connection_id":173399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":173399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:42:09] local.INFO: TCP Data received {"connection_id":173399,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b790b50012cc1dcc007572ac0001801432a..."} 
[2026-09-04 13:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b790b50012cc1dcc007572ac0001801432a..."} 
[2026-09-04 13:42:09] local.INFO: Processing buffer {"connection_id":173399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b790b50012cc1dcc007572ac0001801432a..."} 
[2026-09-04 13:42:09] local.INFO: Packet analysis {"connection_id":173399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:42:09] local.INFO: Extracted packet for processing {"connection_id":173399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:42:09] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":42,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858359296001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788509490000,"timestamp_ms":1788509490000,"timestamp_seconds":1788509490,"priority":1,"record_length":96,"hex_timestamp":"000001a06b790b50"} 
[2026-09-04 13:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 13:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858359296001,"66":25995,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858359296001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:42:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:42:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858359296001,"power":25995,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":173399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:42:09] local.INFO: GPS data processed {"connection_id":173399,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:42:09] local.INFO: Acknowledgment sent {"connection_id":173399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:42:10] local.INFO: TCP Data received {"connection_id":173399,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b790b50012cc1dcc007572ac0001801432a..."} 
[2026-09-04 13:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b790b50012cc1dcc007572ac0001801432a..."} 
[2026-09-04 13:42:10] local.INFO: Processing buffer {"connection_id":173399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b790b50012cc1dcc007572ac0001801432a..."} 
[2026-09-04 13:42:10] local.INFO: Packet analysis {"connection_id":173399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:42:10] local.INFO: Extracted packet for processing {"connection_id":173399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:42:10] local.INFO: GPS Element Parsed {"raw_longitude":750902464,"raw_latitude":123153088,"longitude_deg":75.0902464,"latitude_deg":12.3153088,"altitude":24,"angle":323,"satellites":42,"speed":0,"hex_longitude":"2cc1dcc0","hex_latitude":"07572ac0","is_valid_coordinates":true} 
[2026-09-04 13:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858359296001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788509490000,"timestamp_ms":1788509490000,"timestamp_seconds":1788509490,"priority":1,"record_length":96,"hex_timestamp":"000001a06b790b50"} 
[2026-09-04 13:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 13:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858359296001,"66":25995,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858359296001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:42:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858359296001,"power":25995,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":173399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:42:10] local.INFO: GPS data processed {"connection_id":173399,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:42:10] local.INFO: Acknowledgment sent {"connection_id":173399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:42:26] local.INFO: TCP Data received {"connection_id":173398,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b77b390012d181d400721ad480049014d29..."} 
[2026-09-04 13:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b77b390012d181d400721ad480049014d29..."} 
[2026-09-04 13:42:26] local.INFO: Processing buffer {"connection_id":173398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b77b390012d181d400721ad480049014d29..."} 
[2026-09-04 13:42:26] local.INFO: Packet analysis {"connection_id":173398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b77"} 
[2026-09-04 13:42:26] local.INFO: Extracted packet for processing {"connection_id":173398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b77"} 
[2026-09-04 13:42:26] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858401536001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788509402000,"timestamp_ms":1788509402000,"timestamp_seconds":1788509402,"priority":1,"record_length":96,"hex_timestamp":"000001a06b77b390"} 
[2026-09-04 13:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-04 13:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858401536001,"66":12950,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858401536001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:42:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:42:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858401536001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":173398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:42:26] local.INFO: GPS data processed {"connection_id":173398,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:42:26] local.INFO: Acknowledgment sent {"connection_id":173398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:42:27] local.INFO: TCP Data received {"connection_id":170683,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:42:27] local.INFO: Processing buffer {"connection_id":170683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:42:27] local.INFO: Packet analysis {"connection_id":170683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:42:27] local.INFO: Extracted packet for processing {"connection_id":170683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:42:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858356992001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788509508000,"timestamp_ms":1788509508000,"timestamp_seconds":1788509508,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7951a0"} 
[2026-09-04 13:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858356992001,"66":24440,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858356992001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:42:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:42:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858356992001,"power":24440,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":170683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:42:27] local.INFO: GPS data processed {"connection_id":170683,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:42:27] local.INFO: Acknowledgment sent {"connection_id":170683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:42:41] local.INFO: TCP Data received {"connection_id":173399,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b791320012cc1df0007573680001800412a..."} 
[2026-09-04 13:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b791320012cc1df0007573680001800412a..."} 
[2026-09-04 13:42:41] local.INFO: Processing buffer {"connection_id":173399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b791320012cc1df0007573680001800412a..."} 
[2026-09-04 13:42:41] local.INFO: Packet analysis {"connection_id":173399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:42:41] local.INFO: Extracted packet for processing {"connection_id":173399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:42:41] local.INFO: GPS Element Parsed {"raw_longitude":750903040,"raw_latitude":123156096,"longitude_deg":75.090304,"latitude_deg":12.3156096,"altitude":24,"angle":65,"satellites":42,"speed":0,"hex_longitude":"2cc1df00","hex_latitude":"07573680","is_valid_coordinates":true} 
[2026-09-04 13:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858429440001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477492791753392128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788509492000,"timestamp_ms":1788509492000,"timestamp_seconds":1788509492,"priority":1,"record_length":96,"hex_timestamp":"000001a06b791320"} 
[2026-09-04 13:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-04 13:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858429440001,"66":25756,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4477492791753392128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858429440001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:42:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477492791753392128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858429440001,"power":25756,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477492791753392128}} 
[2026-09-04 13:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":173399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:42:41] local.INFO: GPS data processed {"connection_id":173399,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:42:41] local.INFO: Acknowledgment sent {"connection_id":173399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:42:48] local.INFO: TCP Data received {"connection_id":170684,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:42:48] local.INFO: Processing buffer {"connection_id":170684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:42:48] local.INFO: IMEI packet received {"connection_id":170684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":170684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:42:53] local.INFO: TCP Data received {"connection_id":170684,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:42:53] local.INFO: Processing buffer {"connection_id":170684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:42:53] local.INFO: IMEI packet received {"connection_id":170684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":170684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:42:54] local.INFO: TCP Data received {"connection_id":170985,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:42:54] local.INFO: Processing buffer {"connection_id":170985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:42:54] local.INFO: IMEI packet received {"connection_id":170985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":170985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:42:55] local.INFO: TCP Data received {"connection_id":170684,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b780598012d181d400721ad480049014d2b..."} 
[2026-09-04 13:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b780598012d181d400721ad480049014d2b..."} 
[2026-09-04 13:42:55] local.INFO: Processing buffer {"connection_id":170684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b780598012d181d400721ad480049014d2b..."} 
[2026-09-04 13:42:55] local.INFO: Packet analysis {"connection_id":170684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b78"} 
[2026-09-04 13:42:55] local.INFO: Extracted packet for processing {"connection_id":170684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b78"} 
[2026-09-04 13:42:55] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858406912001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788509423000,"timestamp_ms":1788509423000,"timestamp_seconds":1788509423,"priority":1,"record_length":96,"hex_timestamp":"000001a06b780598"} 
[2026-09-04 13:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 13:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858406912001,"66":12852,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858406912001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:42:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:42:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858406912001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":170684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:42:55] local.INFO: GPS data processed {"connection_id":170684,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:42:55] local.INFO: Acknowledgment sent {"connection_id":170684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:42:59] local.INFO: TCP Data received {"connection_id":170985,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:42:59] local.INFO: Processing buffer {"connection_id":170985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:42:59] local.INFO: IMEI packet received {"connection_id":170985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":170985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:42:59] local.INFO: TCP Data received {"connection_id":172095,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:42:59] local.INFO: Processing buffer {"connection_id":172095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:42:59] local.INFO: IMEI packet received {"connection_id":172095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":172095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:43:00] local.INFO: TCP Data received {"connection_id":170985,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:00] local.INFO: Processing buffer {"connection_id":170985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:00] local.INFO: Packet analysis {"connection_id":170985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:43:00] local.INFO: Extracted packet for processing {"connection_id":170985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:43:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858356992001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788509508000,"timestamp_ms":1788509508000,"timestamp_seconds":1788509508,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7951a0"} 
[2026-09-04 13:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858356992001,"66":24440,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858356992001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:43:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:43:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858356992001,"power":24440,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":170985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:43:00] local.INFO: GPS data processed {"connection_id":170985,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:43:00] local.INFO: Acknowledgment sent {"connection_id":170985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:43:04] local.INFO: TCP Data received {"connection_id":172095,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:43:04] local.INFO: Processing buffer {"connection_id":172095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:43:04] local.INFO: IMEI packet received {"connection_id":172095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":172095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:43:05] local.INFO: TCP Data received {"connection_id":170985,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:05] local.INFO: Processing buffer {"connection_id":170985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:05] local.INFO: Packet analysis {"connection_id":170985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:43:05] local.INFO: Extracted packet for processing {"connection_id":170985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:43:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858356992001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788509508000,"timestamp_ms":1788509508000,"timestamp_seconds":1788509508,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7951a0"} 
[2026-09-04 13:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858356992001,"66":24440,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858356992001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:43:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:43:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858356992001,"power":24440,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:43:05] local.INFO: TCP Data received {"connection_id":172095,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b796528012cc1df0007573680001800412d..."} 
[2026-09-04 13:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b796528012cc1df0007573680001800412d..."} 
[2026-09-04 13:43:05] local.INFO: Processing buffer {"connection_id":172095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b796528012cc1df0007573680001800412d..."} 
[2026-09-04 13:43:05] local.INFO: Packet analysis {"connection_id":172095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:43:05] local.INFO: Extracted packet for processing {"connection_id":172095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:43:05] local.INFO: GPS Element Parsed {"raw_longitude":750903040,"raw_latitude":123156096,"longitude_deg":75.090304,"latitude_deg":12.3156096,"altitude":24,"angle":65,"satellites":45,"speed":0,"hex_longitude":"2cc1df00","hex_latitude":"07573680","is_valid_coordinates":true} 
[2026-09-04 13:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858429952001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476859473055023104,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788509513000,"timestamp_ms":1788509513000,"timestamp_seconds":1788509513,"priority":1,"record_length":96,"hex_timestamp":"000001a06b796528"} 
[2026-09-04 13:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 13:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858429952001,"66":27767,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4476859473055023104},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858429952001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:43:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:43:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476859473055023104,"description":"Unknown IO ID 44"} 
[2026-09-04 13:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858429952001,"power":27767,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4476859473055023104}} 
[2026-09-04 13:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":170985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762632,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:43:05] local.INFO: GPS data processed {"connection_id":170985,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:43:05] local.INFO: Acknowledgment sent {"connection_id":170985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":172095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:43:05] local.INFO: GPS data processed {"connection_id":172095,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:43:05] local.INFO: Acknowledgment sent {"connection_id":172095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:43:10] local.INFO: TCP Data received {"connection_id":170985,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:10] local.INFO: Processing buffer {"connection_id":170985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:10] local.INFO: Packet analysis {"connection_id":170985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:43:10] local.INFO: Extracted packet for processing {"connection_id":170985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858356992001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788509508000,"timestamp_ms":1788509508000,"timestamp_seconds":1788509508,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7951a0"} 
[2026-09-04 13:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858356992001,"66":24440,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858356992001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:43:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858356992001,"power":24440,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":170985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:43:10] local.INFO: GPS data processed {"connection_id":170985,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:43:10] local.INFO: Acknowledgment sent {"connection_id":170985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:43:26] local.INFO: TCP Data received {"connection_id":170684,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7857a0012d181d400721ad480049014d2a..."} 
[2026-09-04 13:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7857a0012d181d400721ad480049014d2a..."} 
[2026-09-04 13:43:26] local.INFO: Processing buffer {"connection_id":170684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7857a0012d181d400721ad480049014d2a..."} 
[2026-09-04 13:43:26] local.INFO: Packet analysis {"connection_id":170684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b78"} 
[2026-09-04 13:43:26] local.INFO: Extracted packet for processing {"connection_id":170684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b78"} 
[2026-09-04 13:43:26] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858412288001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788509444000,"timestamp_ms":1788509444000,"timestamp_seconds":1788509444,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7857a0"} 
[2026-09-04 13:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 13:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858412288001,"66":12917,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858412288001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:43:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:43:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858412288001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":170684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:43:26] local.INFO: GPS data processed {"connection_id":170684,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:43:26] local.INFO: Acknowledgment sent {"connection_id":170684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:43:36] local.INFO: TCP Data received {"connection_id":172095,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b79b730012cc1df0007573680001800412d..."} 
[2026-09-04 13:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b79b730012cc1df0007573680001800412d..."} 
[2026-09-04 13:43:36] local.INFO: Processing buffer {"connection_id":172095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b79b730012cc1df0007573680001800412d..."} 
[2026-09-04 13:43:36] local.INFO: Packet analysis {"connection_id":172095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:43:36] local.INFO: Extracted packet for processing {"connection_id":172095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:43:36] local.INFO: GPS Element Parsed {"raw_longitude":750903040,"raw_latitude":123156096,"longitude_deg":75.090304,"latitude_deg":12.3156096,"altitude":24,"angle":65,"satellites":45,"speed":0,"hex_longitude":"2cc1df00","hex_latitude":"07573680","is_valid_coordinates":true} 
[2026-09-04 13:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858435328001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866915395010560,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476859473055023104,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788509534000,"timestamp_ms":1788509534000,"timestamp_seconds":1788509534,"priority":1,"record_length":96,"hex_timestamp":"000001a06b79b730"} 
[2026-09-04 13:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 13:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858435328001,"66":27832,"103":206,"85":37120,"24":0,"16":397866915395010560,"44":-4476859473055023104},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858435328001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:43:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866915395010560,"km_value":397866915395010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:43:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476859473055023104,"description":"Unknown IO ID 44"} 
[2026-09-04 13:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858435328001,"power":27832,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4476859473055023104}} 
[2026-09-04 13:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":172095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:43:36] local.INFO: GPS data processed {"connection_id":172095,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:43:36] local.INFO: Acknowledgment sent {"connection_id":172095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:43:48] local.INFO: TCP Data received {"connection_id":170986,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:43:48] local.INFO: Processing buffer {"connection_id":170986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:43:48] local.INFO: IMEI packet received {"connection_id":170986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":170986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:43:49] local.INFO: TCP Data received {"connection_id":170986,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:43:49] local.INFO: TCP Data received {"connection_id":172096,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:43:49] local.INFO: Processing buffer {"connection_id":170986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:43:49] local.INFO: IMEI packet received {"connection_id":170986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":170986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:43:49] local.INFO: Processing buffer {"connection_id":172096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:43:49] local.INFO: IMEI packet received {"connection_id":172096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":172096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:43:53] local.INFO: TCP Data received {"connection_id":170986,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:43:53] local.INFO: Processing buffer {"connection_id":170986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:43:53] local.INFO: IMEI packet received {"connection_id":170986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":170986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:43:54] local.INFO: TCP Data received {"connection_id":172096,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:43:54] local.INFO: Processing buffer {"connection_id":172096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:43:54] local.INFO: IMEI packet received {"connection_id":172096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":172096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:43:54] local.INFO: TCP Data received {"connection_id":170986,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b78a9a8012d181d400721ad480049014d2b..."} 
[2026-09-04 13:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b78a9a8012d181d400721ad480049014d2b..."} 
[2026-09-04 13:43:54] local.INFO: Processing buffer {"connection_id":170986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b78a9a8012d181d400721ad480049014d2b..."} 
[2026-09-04 13:43:54] local.INFO: Packet analysis {"connection_id":170986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b78"} 
[2026-09-04 13:43:54] local.INFO: Extracted packet for processing {"connection_id":170986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b78"} 
[2026-09-04 13:43:54] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858417664001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788509465000,"timestamp_ms":1788509465000,"timestamp_seconds":1788509465,"priority":1,"record_length":96,"hex_timestamp":"000001a06b78a9a8"} 
[2026-09-04 13:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 13:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858417664001,"66":12863,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858417664001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:43:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:43:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858417664001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":170986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:43:54] local.INFO: GPS data processed {"connection_id":170986,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:43:54] local.INFO: Acknowledgment sent {"connection_id":170986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:43:56] local.INFO: TCP Data received {"connection_id":172096,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:56] local.INFO: Processing buffer {"connection_id":172096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:56] local.INFO: Packet analysis {"connection_id":172096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:43:56] local.INFO: Extracted packet for processing {"connection_id":172096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:43:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858356992001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788509508000,"timestamp_ms":1788509508000,"timestamp_seconds":1788509508,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7951a0"} 
[2026-09-04 13:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858356992001,"66":24440,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858356992001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:43:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:43:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858356992001,"power":24440,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":172096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:43:56] local.INFO: GPS data processed {"connection_id":172096,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:43:56] local.INFO: Acknowledgment sent {"connection_id":172096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:43:58] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:43:58] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:43:58] local.INFO: IMEI packet received {"connection_id":173400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":173400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:43:59] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:43:59] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:43:59] local.INFO: IMEI packet received {"connection_id":173400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":173400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:43:59] local.INFO: TCP Data received {"connection_id":172096,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:59] local.INFO: Processing buffer {"connection_id":172096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:43:59] local.INFO: Packet analysis {"connection_id":172096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:43:59] local.INFO: Extracted packet for processing {"connection_id":172096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:43:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858356992001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788509508000,"timestamp_ms":1788509508000,"timestamp_seconds":1788509508,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7951a0"} 
[2026-09-04 13:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858356992001,"66":24440,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858356992001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:43:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:43:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858356992001,"power":24440,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":172096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762639,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:43:59] local.INFO: GPS data processed {"connection_id":172096,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:43:59] local.INFO: Acknowledgment sent {"connection_id":172096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:44:04] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:44:04] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:44:04] local.INFO: IMEI packet received {"connection_id":173400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":173400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:44:05] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b79f5b0012cc1e240075735a0000600b22b..."} 
[2026-09-04 13:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b79f5b0012cc1e240075735a0000600b22b..."} 
[2026-09-04 13:44:05] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b79f5b0012cc1e240075735a0000600b22b..."} 
[2026-09-04 13:44:05] local.INFO: Packet analysis {"connection_id":173400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:44:05] local.INFO: Extracted packet for processing {"connection_id":173400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:44:05] local.INFO: GPS Element Parsed {"raw_longitude":750903872,"raw_latitude":123155872,"longitude_deg":75.0903872,"latitude_deg":12.3155872,"altitude":6,"angle":178,"satellites":43,"speed":7,"hex_longitude":"2cc1e240","hex_latitude":"075735a0","is_valid_coordinates":true} 
[2026-09-04 13:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858440704001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397866958344683520,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476859473055023104,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788509550000,"timestamp_ms":1788509550000,"timestamp_seconds":1788509550,"priority":1,"record_length":96,"hex_timestamp":"000001a06b79f5b0"} 
[2026-09-04 13:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 13:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858440704001,"66":27908,"103":206,"85":37120,"24":7,"16":397866958344683520,"44":-4476859473055023104},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858440704001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:44:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397866958344683520,"km_value":397866958344683.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:44:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476859473055023104,"description":"Unknown IO ID 44"} 
[2026-09-04 13:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858440704001,"power":27908,"unknown_103":206,"unknown_85":37120,"ignition":7,"odometer":null,"unknown_44":-4476859473055023104}} 
[2026-09-04 13:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":173400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:44:05] local.INFO: GPS data processed {"connection_id":173400,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:44:05] local.INFO: Acknowledgment sent {"connection_id":173400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:44:26] local.INFO: TCP Data received {"connection_id":170986,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b78fbb0012d181d400721ad480049014d2a..."} 
[2026-09-04 13:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b78fbb0012d181d400721ad480049014d2a..."} 
[2026-09-04 13:44:26] local.INFO: Processing buffer {"connection_id":170986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b78fbb0012d181d400721ad480049014d2a..."} 
[2026-09-04 13:44:26] local.INFO: Packet analysis {"connection_id":170986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b78"} 
[2026-09-04 13:44:26] local.INFO: Extracted packet for processing {"connection_id":170986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b78"} 
[2026-09-04 13:44:26] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858423040001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788509486000,"timestamp_ms":1788509486000,"timestamp_seconds":1788509486,"priority":1,"record_length":96,"hex_timestamp":"000001a06b78fbb0"} 
[2026-09-04 13:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 13:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858423040001,"66":12841,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858423040001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:44:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:44:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858423040001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":170986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:44:26] local.INFO: GPS data processed {"connection_id":170986,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:44:26] local.INFO: Acknowledgment sent {"connection_id":170986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:44:31] local.INFO: TCP Data received {"connection_id":172096,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:44:31] local.INFO: Processing buffer {"connection_id":172096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:44:31] local.INFO: Packet analysis {"connection_id":172096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:44:31] local.INFO: Extracted packet for processing {"connection_id":172096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858356992001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788509508000,"timestamp_ms":1788509508000,"timestamp_seconds":1788509508,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7951a0"} 
[2026-09-04 13:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858356992001,"66":24440,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858356992001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:44:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858356992001,"power":24440,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":172096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762642,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:44:31] local.INFO: GPS data processed {"connection_id":172096,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:44:31] local.INFO: Acknowledgment sent {"connection_id":172096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:44:37] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7a18d8012cc1e3c007572630000c00a22d..."} 
[2026-09-04 13:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7a18d8012cc1e3c007572630000c00a22d..."} 
[2026-09-04 13:44:37] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7a18d8012cc1e3c007572630000c00a22d..."} 
[2026-09-04 13:44:37] local.INFO: Packet analysis {"connection_id":173400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7a"} 
[2026-09-04 13:44:37] local.INFO: Extracted packet for processing {"connection_id":173400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7a"} 
[2026-09-04 13:44:37] local.INFO: GPS Element Parsed {"raw_longitude":750904256,"raw_latitude":123151920,"longitude_deg":75.0904256,"latitude_deg":12.315192,"altitude":12,"angle":162,"satellites":45,"speed":20,"hex_longitude":"2cc1e3c0","hex_latitude":"07572630","is_valid_coordinates":true} 
[2026-09-04 13:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858444800001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397867151618211840,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4475944679380770816,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788509559000,"timestamp_ms":1788509559000,"timestamp_seconds":1788509559,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7a18d8"} 
[2026-09-04 13:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 13:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858444800001,"66":27995,"103":206,"85":37120,"24":20,"16":397867151618211840,"44":-4475944679380770816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 13:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858444800001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:44:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 13:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397867151618211840,"km_value":397867151618211.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:44:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4475944679380770816,"description":"Unknown IO ID 44"} 
[2026-09-04 13:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858444800001,"power":27995,"unknown_103":206,"unknown_85":37120,"ignition":20,"odometer":null,"unknown_44":-4475944679380770816}} 
[2026-09-04 13:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":173400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:44:37] local.INFO: GPS data processed {"connection_id":173400,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:44:37] local.INFO: Acknowledgment sent {"connection_id":173400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:44:48] local.INFO: TCP Data received {"connection_id":170988,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:44:48] local.INFO: Processing buffer {"connection_id":170988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:44:48] local.INFO: IMEI packet received {"connection_id":170988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":170988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:44:49] local.INFO: TCP Data received {"connection_id":170987,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:44:49] local.INFO: Processing buffer {"connection_id":170987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:44:49] local.INFO: IMEI packet received {"connection_id":170987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":170987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:44:53] local.INFO: TCP Data received {"connection_id":170988,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:44:53] local.INFO: Processing buffer {"connection_id":170988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:44:53] local.INFO: IMEI packet received {"connection_id":170988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":170988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:44:53] local.INFO: TCP Data received {"connection_id":170988,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:44:53] local.INFO: Processing buffer {"connection_id":170988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:44:53] local.INFO: IMEI packet received {"connection_id":170988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":170988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:44:54] local.INFO: TCP Data received {"connection_id":170987,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:44:54] local.INFO: Processing buffer {"connection_id":170987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:44:54] local.INFO: IMEI packet received {"connection_id":170987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":170987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:44:54] local.INFO: TCP Data received {"connection_id":170988,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b794db8012d181d400721ad480049014d2a..."} 
[2026-09-04 13:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b794db8012d181d400721ad480049014d2a..."} 
[2026-09-04 13:44:54] local.INFO: Processing buffer {"connection_id":170988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b794db8012d181d400721ad480049014d2a..."} 
[2026-09-04 13:44:54] local.INFO: Packet analysis {"connection_id":170988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:44:54] local.INFO: Extracted packet for processing {"connection_id":170988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:44:54] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858428416001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788509507000,"timestamp_ms":1788509507000,"timestamp_seconds":1788509507,"priority":1,"record_length":96,"hex_timestamp":"000001a06b794db8"} 
[2026-09-04 13:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 13:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858428416001,"66":12841,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858428416001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:44:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:44:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858428416001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":170988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:44:55] local.INFO: GPS data processed {"connection_id":170988,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:44:55] local.INFO: Acknowledgment sent {"connection_id":170988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:44:56] local.INFO: TCP Data received {"connection_id":170987,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:44:56] local.INFO: Processing buffer {"connection_id":170987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:44:56] local.INFO: Packet analysis {"connection_id":170987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:44:56] local.INFO: Extracted packet for processing {"connection_id":170987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:44:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858356992001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788509508000,"timestamp_ms":1788509508000,"timestamp_seconds":1788509508,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7951a0"} 
[2026-09-04 13:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858356992001,"66":24440,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858356992001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:44:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:44:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858356992001,"power":24440,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":170987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762645,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:44:56] local.INFO: GPS data processed {"connection_id":170987,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:44:56] local.INFO: Acknowledgment sent {"connection_id":170987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:44:59] local.INFO: TCP Data received {"connection_id":173401,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:44:59] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:44:59] local.INFO: IMEI packet received {"connection_id":173401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":173401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:44:59] local.INFO: TCP Data received {"connection_id":170988,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b799fc0012d181d400721ad480049014d2b..."} 
[2026-09-04 13:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b799fc0012d181d400721ad480049014d2b..."} 
[2026-09-04 13:44:59] local.INFO: Processing buffer {"connection_id":170988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b799fc0012d181d400721ad480049014d2b..."} 
[2026-09-04 13:44:59] local.INFO: Packet analysis {"connection_id":170988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:44:59] local.INFO: Extracted packet for processing {"connection_id":170988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858433792001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788509528000,"timestamp_ms":1788509528000,"timestamp_seconds":1788509528,"priority":1,"record_length":96,"hex_timestamp":"000001a06b799fc0"} 
[2026-09-04 13:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 13:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858433792001,"66":12439,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858433792001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:44:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858433792001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":170988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:44:59] local.INFO: GPS data processed {"connection_id":170988,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:44:59] local.INFO: Acknowledgment sent {"connection_id":170988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:45:04] local.INFO: TCP Data received {"connection_id":173401,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:45:04] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:45:04] local.INFO: IMEI packet received {"connection_id":173401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":173401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:45:05] local.INFO: TCP Data received {"connection_id":173401,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7b60f8012cc29f4007565c18001500902b..."} 
[2026-09-04 13:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7b60f8012cc29f4007565c18001500902b..."} 
[2026-09-04 13:45:05] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7b60f8012cc29f4007565c18001500902b..."} 
[2026-09-04 13:45:05] local.INFO: Packet analysis {"connection_id":173401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7b"} 
[2026-09-04 13:45:05] local.INFO: Extracted packet for processing {"connection_id":173401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7b"} 
[2026-09-04 13:45:05] local.INFO: GPS Element Parsed {"raw_longitude":750952256,"raw_latitude":123100184,"longitude_deg":75.0952256,"latitude_deg":12.3100184,"altitude":21,"angle":144,"satellites":43,"speed":38,"hex_longitude":"2cc29f40","hex_latitude":"07565c18","is_valid_coordinates":true} 
[2026-09-04 13:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858466304001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397870587592048640,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4429008727026696192,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788509643000,"timestamp_ms":1788509643000,"timestamp_seconds":1788509643,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7b60f8"} 
[2026-09-04 13:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 13:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858466304001,"66":27876,"84":206,"85":37120,"24":38,"16":397870587592048640,"44":-4429008727026696192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-09-04 13:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858466304001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:45:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-04 13:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397870587592048640,"km_value":397870587592048.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:45:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4429008727026696192,"description":"Unknown IO ID 44"} 
[2026-09-04 13:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858466304001,"power":27876,"unknown_84":206,"unknown_85":37120,"ignition":38,"odometer":null,"unknown_44":-4429008727026696192}} 
[2026-09-04 13:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":173401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:45:05] local.INFO: GPS data processed {"connection_id":173401,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:45:05] local.INFO: Acknowledgment sent {"connection_id":173401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:45:27] local.INFO: TCP Data received {"connection_id":170987,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:45:27] local.INFO: Processing buffer {"connection_id":170987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:45:27] local.INFO: Packet analysis {"connection_id":170987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:45:27] local.INFO: Extracted packet for processing {"connection_id":170987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:45:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858356992001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788509508000,"timestamp_ms":1788509508000,"timestamp_seconds":1788509508,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7951a0"} 
[2026-09-04 13:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858356992001,"66":24440,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858356992001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:45:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:45:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858356992001,"power":24440,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":170987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762648,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:45:27] local.INFO: GPS data processed {"connection_id":170987,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:45:27] local.INFO: Acknowledgment sent {"connection_id":170987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:45:30] local.INFO: TCP Data received {"connection_id":170988,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b79f1c8012d181d400721ad480049014d2b..."} 
[2026-09-04 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b79f1c8012d181d400721ad480049014d2b..."} 
[2026-09-04 13:45:30] local.INFO: Processing buffer {"connection_id":170988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b79f1c8012d181d400721ad480049014d2b..."} 
[2026-09-04 13:45:30] local.INFO: Packet analysis {"connection_id":170988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:45:30] local.INFO: Extracted packet for processing {"connection_id":170988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:45:30] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":73,"angle":333,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858439168001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241759662735360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788509549000,"timestamp_ms":1788509549000,"timestamp_seconds":1788509549,"priority":1,"record_length":96,"hex_timestamp":"000001a06b79f1c8"} 
[2026-09-04 13:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 13:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858439168001,"66":12841,"120":206,"28":31744,"24":0,"16":17241759662735360,"45":1737615430608832512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858439168001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:45:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:45:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241759662735360,"km_value":17241759662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-09-04 13:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858439168001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-09-04 13:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":170988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:45:31] local.INFO: GPS data processed {"connection_id":170988,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:45:31] local.INFO: Acknowledgment sent {"connection_id":170988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:45:36] local.INFO: TCP Data received {"connection_id":173401,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7b7868012cc2aa40075648680015009d2f..."} 
[2026-09-04 13:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7b7868012cc2aa40075648680015009d2f..."} 
[2026-09-04 13:45:36] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7b7868012cc2aa40075648680015009d2f..."} 
[2026-09-04 13:45:36] local.INFO: Packet analysis {"connection_id":173401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7b"} 
[2026-09-04 13:45:36] local.INFO: Extracted packet for processing {"connection_id":173401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7b"} 
[2026-09-04 13:45:36] local.INFO: GPS Element Parsed {"raw_longitude":750955072,"raw_latitude":123095144,"longitude_deg":75.0955072,"latitude_deg":12.3095144,"altitude":21,"angle":157,"satellites":47,"speed":40,"hex_longitude":"2cc2aa40","hex_latitude":"07564868","is_valid_coordinates":true} 
[2026-09-04 13:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858468608001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397870866764922880,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4422745908796712960,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788509649000,"timestamp_ms":1788509649000,"timestamp_seconds":1788509649,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7b7868"} 
[2026-09-04 13:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 13:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858468608001,"66":27789,"84":206,"85":37120,"24":40,"16":397870866764922880,"44":-4422745908796712960},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-09-04 13:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858468608001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:45:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-04 13:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397870866764922880,"km_value":397870866764922.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:45:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4422745908796712960,"description":"Unknown IO ID 44"} 
[2026-09-04 13:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858468608001,"power":27789,"unknown_84":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4422745908796712960}} 
[2026-09-04 13:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":173401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:45:36] local.INFO: GPS data processed {"connection_id":173401,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:45:36] local.INFO: Acknowledgment sent {"connection_id":173401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:45:49] local.INFO: TCP Data received {"connection_id":173402,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:45:49] local.INFO: Processing buffer {"connection_id":173402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:45:49] local.INFO: IMEI packet received {"connection_id":173402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":173402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:45:53] local.INFO: TCP Data received {"connection_id":172097,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:45:53] local.INFO: Processing buffer {"connection_id":172097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:45:53] local.INFO: IMEI packet received {"connection_id":172097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":172097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:45:54] local.INFO: TCP Data received {"connection_id":173402,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:45:54] local.INFO: Processing buffer {"connection_id":173402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:45:54] local.INFO: IMEI packet received {"connection_id":173402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":173402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:45:56] local.INFO: TCP Data received {"connection_id":173402,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:45:56] local.INFO: Processing buffer {"connection_id":173402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:45:56] local.INFO: Packet analysis {"connection_id":173402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:45:56] local.INFO: Extracted packet for processing {"connection_id":173402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:45:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858356992001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788509508000,"timestamp_ms":1788509508000,"timestamp_seconds":1788509508,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7951a0"} 
[2026-09-04 13:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858356992001,"66":24440,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858356992001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:45:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:45:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858356992001,"power":24440,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":173402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:45:56] local.INFO: GPS data processed {"connection_id":173402,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:45:56] local.INFO: Acknowledgment sent {"connection_id":173402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:45:58] local.INFO: TCP Data received {"connection_id":172097,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:45:58] local.INFO: Processing buffer {"connection_id":172097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:45:58] local.INFO: IMEI packet received {"connection_id":172097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":172097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:46:00] local.INFO: TCP Data received {"connection_id":172097,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7c4b58012d181f800721ab180049005d2c..."} 
[2026-09-04 13:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7c4b58012d181f800721ab180049005d2c..."} 
[2026-09-04 13:46:00] local.INFO: Processing buffer {"connection_id":172097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7c4b58012d181f800721ab180049005d2c..."} 
[2026-09-04 13:46:00] local.INFO: Packet analysis {"connection_id":172097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:46:00] local.INFO: Extracted packet for processing {"connection_id":172097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:46:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647000,"longitude_deg":75.6555648,"latitude_deg":11.9647,"altitude":73,"angle":93,"satellites":44,"speed":4,"hex_longitude":"2d181f80","hex_latitude":"0721ab18","is_valid_coordinates":true} 
[2026-09-04 13:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858482944001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241806907375616,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841263104,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788509703000,"timestamp_ms":1788509703000,"timestamp_seconds":1788509703,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7c4b58"} 
[2026-09-04 13:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 13:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858482944001,"66":13526,"120":206,"28":31744,"24":4,"16":17241806907375616,"45":1737826536841263104},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858482944001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:46:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241806907375616,"km_value":17241806907375.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841263104,"description":"Unknown IO ID 45"} 
[2026-09-04 13:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858482944001,"power":13526,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1737826536841263104}} 
[2026-09-04 13:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":172097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:46:00] local.INFO: GPS data processed {"connection_id":172097,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:46:00] local.INFO: Acknowledgment sent {"connection_id":172097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:46:03] local.INFO: TCP Data received {"connection_id":170989,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:46:03] local.INFO: Processing buffer {"connection_id":170989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:46:03] local.INFO: IMEI packet received {"connection_id":170989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":170989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:46:05] local.INFO: TCP Data received {"connection_id":172097,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7c4f40012d181fc00721ab280049004c2d..."} 
[2026-09-04 13:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7c4f40012d181fc00721ab280049004c2d..."} 
[2026-09-04 13:46:05] local.INFO: Processing buffer {"connection_id":172097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7c4f40012d181fc00721ab280049004c2d..."} 
[2026-09-04 13:46:05] local.INFO: Packet analysis {"connection_id":172097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:46:05] local.INFO: Extracted packet for processing {"connection_id":172097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119647016,"longitude_deg":75.6555712,"latitude_deg":11.9647016,"altitude":73,"angle":76,"satellites":45,"speed":4,"hex_longitude":"2d181fc0","hex_latitude":"0721ab28","is_valid_coordinates":true} 
[2026-09-04 13:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858483968001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241811202342912,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306288128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788509704000,"timestamp_ms":1788509704000,"timestamp_seconds":1788509704,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7c4f40"} 
[2026-09-04 13:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 13:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858483968001,"66":13526,"120":206,"28":31744,"24":4,"16":17241811202342912,"45":1738248749306288128},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858483968001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:46:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:46:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241811202342912,"km_value":17241811202342.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306288128,"description":"Unknown IO ID 45"} 
[2026-09-04 13:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858483968001,"power":13526,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1738248749306288128}} 
[2026-09-04 13:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":172097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:46:05] local.INFO: GPS data processed {"connection_id":172097,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:46:05] local.INFO: Acknowledgment sent {"connection_id":172097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:46:17] local.INFO: TCP Data received {"connection_id":170989,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 13:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170989,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 13:46:17] local.INFO: Processing buffer {"connection_id":170989,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 13:46:17] local.INFO: IMEI packet received {"connection_id":170989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":170989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:46:18] local.INFO: TCP Data received {"connection_id":170989,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7c66b0012cc30a800755cd780011004832..."} 
[2026-09-04 13:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7c66b0012cc30a800755cd780011004832..."} 
[2026-09-04 13:46:18] local.INFO: Processing buffer {"connection_id":170989,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06b..."} 
[2026-09-04 13:46:18] local.INFO: IMEI packet received {"connection_id":170989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":170989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:46:19] local.INFO: TCP Data received {"connection_id":170989,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7c7268012cc30dc00755cf080011003a30..."} 
[2026-09-04 13:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7c7268012cc30dc00755cf080011003a30..."} 
[2026-09-04 13:46:19] local.INFO: Processing buffer {"connection_id":170989,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06b7c66b0012cc30a800755cd780011004832..."} 
[2026-09-04 13:46:19] local.INFO: Packet analysis {"connection_id":170989,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:46:19] local.INFO: Extracted packet for processing {"connection_id":170989,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:46:19] local.INFO: GPS Element Parsed {"raw_longitude":750979712,"raw_latitude":123063672,"longitude_deg":75.0979712,"latitude_deg":12.3063672,"altitude":17,"angle":72,"satellites":50,"speed":6,"hex_longitude":"2cc30a80","hex_latitude":"0755cd78","is_valid_coordinates":true} 
[2026-09-04 13:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858483968001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397872911169355776,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4393824354949216256,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788509710000,"timestamp_ms":1788509710000,"timestamp_seconds":1788509710,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7c66b0"} 
[2026-09-04 13:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 13:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":170989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":170989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":170989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858483968001,"66":27865,"84":206,"85":37120,"24":6,"16":397872911169355776,"44":-4393824354949216256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-09-04 13:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858483968001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:46:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-04 13:46:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397872911169355776,"km_value":397872911169355.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:46:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4393824354949216256,"description":"Unknown IO ID 44"} 
[2026-09-04 13:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858483968001,"power":27865,"unknown_84":206,"unknown_85":37120,"ignition":6,"odometer":null,"unknown_44":-4393824354949216256}} 
[2026-09-04 13:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":170989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:46:19] local.INFO: GPS data processed {"connection_id":170989,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:46:19] local.INFO: Acknowledgment sent {"connection_id":170989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:46:19] local.INFO: Packet analysis {"connection_id":170989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:46:19] local.INFO: Extracted packet for processing {"connection_id":170989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:46:19] local.INFO: GPS Element Parsed {"raw_longitude":750980544,"raw_latitude":123064072,"longitude_deg":75.0980544,"latitude_deg":12.3064072,"altitude":17,"angle":58,"satellites":48,"speed":16,"hex_longitude":"2cc30dc0","hex_latitude":"0755cf08","is_valid_coordinates":true} 
[2026-09-04 13:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858485760001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397872954119028736,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4392557717553842176,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788509713000,"timestamp_ms":1788509713000,"timestamp_seconds":1788509713,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7c7268"} 
[2026-09-04 13:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 13:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":170989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":170989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":170989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858485760001,"66":27213,"84":206,"85":37120,"24":16,"16":397872954119028736,"44":-4392557717553842176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-09-04 13:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858485760001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:46:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-04 13:46:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397872954119028736,"km_value":397872954119028.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:46:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4392557717553842176,"description":"Unknown IO ID 44"} 
[2026-09-04 13:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858485760001,"power":27213,"unknown_84":206,"unknown_85":37120,"ignition":16,"odometer":null,"unknown_44":-4392557717553842176}} 
[2026-09-04 13:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":170989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:46:19] local.INFO: GPS data processed {"connection_id":170989,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:46:19] local.INFO: Acknowledgment sent {"connection_id":170989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:46:20] local.INFO: TCP Data received {"connection_id":170989,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7ca148012cc325800755db180013004530..."} 
[2026-09-04 13:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7ca148012cc325800755db180013004530..."} 
[2026-09-04 13:46:20] local.INFO: Processing buffer {"connection_id":170989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7ca148012cc325800755db180013004530..."} 
[2026-09-04 13:46:20] local.INFO: Packet analysis {"connection_id":170989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:46:20] local.INFO: Extracted packet for processing {"connection_id":170989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:46:20] local.INFO: GPS Element Parsed {"raw_longitude":750986624,"raw_latitude":123067160,"longitude_deg":75.0986624,"latitude_deg":12.306716,"altitude":19,"angle":69,"satellites":48,"speed":26,"hex_longitude":"2cc32580","hex_latitude":"0755db18","is_valid_coordinates":true} 
[2026-09-04 13:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858486528001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397873280536543232,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4391642923879430144,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788509725000,"timestamp_ms":1788509725000,"timestamp_seconds":1788509725,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7ca148"} 
[2026-09-04 13:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 13:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":170989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":170989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":170989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858486528001,"66":27974,"84":206,"85":37120,"24":26,"16":397873280536543232,"44":-4391642923879430144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-09-04 13:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858486528001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:46:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-04 13:46:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397873280536543232,"km_value":397873280536543.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:46:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4391642923879430144,"description":"Unknown IO ID 44"} 
[2026-09-04 13:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858486528001,"power":27974,"unknown_84":206,"unknown_85":37120,"ignition":26,"odometer":null,"unknown_44":-4391642923879430144}} 
[2026-09-04 13:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":170989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:46:20] local.INFO: GPS data processed {"connection_id":170989,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:46:20] local.INFO: Acknowledgment sent {"connection_id":170989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:46:27] local.INFO: TCP Data received {"connection_id":173402,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:46:27] local.INFO: Processing buffer {"connection_id":173402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:46:27] local.INFO: Packet analysis {"connection_id":173402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:46:27] local.INFO: Extracted packet for processing {"connection_id":173402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:46:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858356992001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788509508000,"timestamp_ms":1788509508000,"timestamp_seconds":1788509508,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7951a0"} 
[2026-09-04 13:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858356992001,"66":24440,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858356992001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:46:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:46:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858356992001,"power":24440,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":173402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762657,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:46:27] local.INFO: GPS data processed {"connection_id":173402,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:46:27] local.INFO: Acknowledgment sent {"connection_id":173402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:46:48] local.INFO: TCP Data received {"connection_id":170685,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:46:49] local.INFO: Processing buffer {"connection_id":170685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:46:49] local.INFO: IMEI packet received {"connection_id":170685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":170685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:46:49] local.INFO: TCP Data received {"connection_id":170686,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:46:49] local.INFO: Processing buffer {"connection_id":170686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:46:49] local.INFO: IMEI packet received {"connection_id":170686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":170686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:46:53] local.INFO: TCP Data received {"connection_id":170685,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:46:53] local.INFO: Processing buffer {"connection_id":170685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:46:53] local.INFO: IMEI packet received {"connection_id":170685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":170685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:46:54] local.INFO: TCP Data received {"connection_id":170685,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7c5328012d1820000721ab50004900352d..."} 
[2026-09-04 13:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7c5328012d1820000721ab50004900352d..."} 
[2026-09-04 13:46:54] local.INFO: Processing buffer {"connection_id":170685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7c5328012d1820000721ab50004900352d..."} 
[2026-09-04 13:46:54] local.INFO: Packet analysis {"connection_id":170685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:46:54] local.INFO: Extracted packet for processing {"connection_id":170685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:46:54] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119647056,"longitude_deg":75.6555776,"latitude_deg":11.9647056,"altitude":73,"angle":53,"satellites":45,"speed":2,"hex_longitude":"2d182000","hex_latitude":"0721ab50","is_valid_coordinates":true} 
[2026-09-04 13:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858484224001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241811202342912,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050469888,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788509705000,"timestamp_ms":1788509705000,"timestamp_seconds":1788509705,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7c5328"} 
[2026-09-04 13:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 13:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858484224001,"66":14352,"120":206,"28":31744,"24":2,"16":17241811202342912,"45":1738319118050469888},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858484224001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:46:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:46:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241811202342912,"km_value":17241811202342.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050469888,"description":"Unknown IO ID 45"} 
[2026-09-04 13:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858484224001,"power":14352,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1738319118050469888}} 
[2026-09-04 13:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":170685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:46:54] local.INFO: GPS data processed {"connection_id":170685,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:46:54] local.INFO: Acknowledgment sent {"connection_id":170685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:46:54] local.INFO: TCP Data received {"connection_id":170686,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:46:54] local.INFO: Processing buffer {"connection_id":170686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:46:54] local.INFO: IMEI packet received {"connection_id":170686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":170686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:46:56] local.INFO: TCP Data received {"connection_id":170686,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:46:56] local.INFO: Processing buffer {"connection_id":170686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:46:56] local.INFO: Packet analysis {"connection_id":170686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:46:56] local.INFO: Extracted packet for processing {"connection_id":170686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:46:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858356992001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788509508000,"timestamp_ms":1788509508000,"timestamp_seconds":1788509508,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7951a0"} 
[2026-09-04 13:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858356992001,"66":24440,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858356992001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:46:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:46:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858356992001,"power":24440,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":170686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:46:56] local.INFO: GPS data processed {"connection_id":170686,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:46:56] local.INFO: Acknowledgment sent {"connection_id":170686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:47:03] local.INFO: TCP Data received {"connection_id":172098,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:47:03] local.INFO: Processing buffer {"connection_id":172098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:47:03] local.INFO: IMEI packet received {"connection_id":172098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":172098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:47:04] local.INFO: TCP Data received {"connection_id":172098,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:47:04] local.INFO: Processing buffer {"connection_id":172098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:47:04] local.INFO: IMEI packet received {"connection_id":172098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":172098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:47:08] local.INFO: TCP Data received {"connection_id":172098,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:47:08] local.INFO: Processing buffer {"connection_id":172098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:47:08] local.INFO: IMEI packet received {"connection_id":172098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":172098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:47:08] local.INFO: TCP Data received {"connection_id":172098,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7cc470012cc340000755e3100013005330..."} 
[2026-09-04 13:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7cc470012cc340000755e3100013005330..."} 
[2026-09-04 13:47:08] local.INFO: Processing buffer {"connection_id":172098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7cc470012cc340000755e3100013005330..."} 
[2026-09-04 13:47:08] local.INFO: Packet analysis {"connection_id":172098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:47:08] local.INFO: Extracted packet for processing {"connection_id":172098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:47:08] local.INFO: GPS Element Parsed {"raw_longitude":750993408,"raw_latitude":123069200,"longitude_deg":75.0993408,"latitude_deg":12.30692,"altitude":19,"angle":83,"satellites":48,"speed":35,"hex_longitude":"2cc34000","hex_latitude":"0755e310","is_valid_coordinates":true} 
[2026-09-04 13:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858489600001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397873619838959616,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4384957893181761536,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788509734000,"timestamp_ms":1788509734000,"timestamp_seconds":1788509734,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7cc470"} 
[2026-09-04 13:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 13:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858489600001,"66":27800,"84":206,"85":37120,"24":35,"16":397873619838959616,"44":-4384957893181761536},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-09-04 13:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858489600001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:47:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-04 13:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397873619838959616,"km_value":397873619838959.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:47:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4384957893181761536,"description":"Unknown IO ID 44"} 
[2026-09-04 13:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858489600001,"power":27800,"unknown_84":206,"unknown_85":37120,"ignition":35,"odometer":null,"unknown_44":-4384957893181761536}} 
[2026-09-04 13:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":172098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:47:08] local.INFO: GPS data processed {"connection_id":172098,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:47:08] local.INFO: Acknowledgment sent {"connection_id":172098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:47:25] local.INFO: TCP Data received {"connection_id":170685,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7ca530012d1820000721ab78004900352c..."} 
[2026-09-04 13:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7ca530012d1820000721ab78004900352c..."} 
[2026-09-04 13:47:25] local.INFO: Processing buffer {"connection_id":170685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7ca530012d1820000721ab78004900352c..."} 
[2026-09-04 13:47:25] local.INFO: Packet analysis {"connection_id":170685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:47:25] local.INFO: Extracted packet for processing {"connection_id":170685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7c"} 
[2026-09-04 13:47:25] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119647096,"longitude_deg":75.6555776,"latitude_deg":11.9647096,"altitude":73,"angle":53,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721ab78","is_valid_coordinates":true} 
[2026-09-04 13:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858484480001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17241819792277504,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794657792,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788509726000,"timestamp_ms":1788509726000,"timestamp_seconds":1788509726,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7ca530"} 
[2026-09-04 13:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-04 13:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142784,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:25] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2107692466831884361,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5560819639895719946,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2885156936,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:25] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637778666252152,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:25] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756222048534784,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-04 13:47:25] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:25] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:25] local.WARNING: Large IO value detected {"io_id":72,"raw_value":20549104245407744,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:25] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84750481897234861,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:25] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,65,160,79,45,192,171,73,10,66,75,128,44,59,1,240,185,107,33,4,113,205,2,48,29,32,239,55,61,7,72,206,248],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-04 13:47:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260262832158670848,"timestamp_seconds":5260262832158671.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 13:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858484480001,"66":14157,"120":206,"28":31744,"24":0,"16":17241819792277504,"45":1738389486794657792},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858484480001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:47:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:47:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17241819792277504,"km_value":17241819792277.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794657792,"description":"Unknown IO ID 45"} 
[2026-09-04 13:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858484480001,"power":14157,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794657792}} 
[2026-09-04 13:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":170685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:47:25] local.INFO: GPS data processed {"connection_id":170685,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:47:25] local.INFO: Acknowledgment sent {"connection_id":170685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:47:28] local.INFO: TCP Data received {"connection_id":170686,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:47:28] local.INFO: Processing buffer {"connection_id":170686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7951a0012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:47:28] local.INFO: Packet analysis {"connection_id":170686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:47:28] local.INFO: Extracted packet for processing {"connection_id":170686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b79"} 
[2026-09-04 13:47:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858356992001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788509508000,"timestamp_ms":1788509508000,"timestamp_seconds":1788509508,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7951a0"} 
[2026-09-04 13:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 13:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858356992001,"66":24440,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858356992001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:47:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:47:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858356992001,"power":24440,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":170686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762662,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:47:28] local.INFO: GPS data processed {"connection_id":170686,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:47:28] local.INFO: Acknowledgment sent {"connection_id":170686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:47:39] local.INFO: TCP Data received {"connection_id":172098,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7de580012cc42a800755c370001400142f..."} 
[2026-09-04 13:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7de580012cc42a800755c370001400142f..."} 
[2026-09-04 13:47:39] local.INFO: Processing buffer {"connection_id":172098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7de580012cc42a800755c370001400142f..."} 
[2026-09-04 13:47:39] local.INFO: Packet analysis {"connection_id":172098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:47:39] local.INFO: Extracted packet for processing {"connection_id":172098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:47:39] local.INFO: GPS Element Parsed {"raw_longitude":751053440,"raw_latitude":123061104,"longitude_deg":75.105344,"latitude_deg":12.3061104,"altitude":20,"angle":20,"satellites":47,"speed":11,"hex_longitude":"2cc42a80","hex_latitude":"0755c370","is_valid_coordinates":true} 
[2026-09-04 13:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858510592001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397876622021099520,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4311633661750247424,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788509808000,"timestamp_ms":1788509808000,"timestamp_seconds":1788509808,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7de580"} 
[2026-09-04 13:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 13:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858510592001,"66":27821,"160":206,"85":37120,"24":11,"16":397876622021099520,"44":-4311633661750247424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,44]} 
[2026-09-04 13:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858510592001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:47:39] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-04 13:47:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397876622021099520,"km_value":397876622021099.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:47:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4311633661750247424,"description":"Unknown IO ID 44"} 
[2026-09-04 13:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858510592001,"power":27821,"unknown_160":206,"unknown_85":37120,"ignition":11,"odometer":null,"unknown_44":-4311633661750247424}} 
[2026-09-04 13:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":172098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:47:40] local.INFO: GPS data processed {"connection_id":172098,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:47:40] local.INFO: Acknowledgment sent {"connection_id":172098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:47:48] local.INFO: TCP Data received {"connection_id":170990,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:47:48] local.INFO: Processing buffer {"connection_id":170990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:47:48] local.INFO: IMEI packet received {"connection_id":170990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":170990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:47:49] local.INFO: TCP Data received {"connection_id":170990,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:47:49] local.INFO: Processing buffer {"connection_id":170990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:47:49] local.INFO: IMEI packet received {"connection_id":170990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":170990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:47:53] local.INFO: TCP Data received {"connection_id":170990,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:47:53] local.INFO: Processing buffer {"connection_id":170990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:47:53] local.INFO: IMEI packet received {"connection_id":170990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":170990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:47:54] local.INFO: TCP Data received {"connection_id":170687,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:47:54] local.INFO: Processing buffer {"connection_id":170687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:47:54] local.INFO: IMEI packet received {"connection_id":170687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":170687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:47:55] local.INFO: TCP Data received {"connection_id":170990,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7e04c0012d189c00072269e80065001d2c..."} 
[2026-09-04 13:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7e04c0012d189c00072269e80065001d2c..."} 
[2026-09-04 13:47:55] local.INFO: Processing buffer {"connection_id":170990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7e04c0012d189c00072269e80065001d2c..."} 
[2026-09-04 13:47:55] local.INFO: Packet analysis {"connection_id":170990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7e"} 
[2026-09-04 13:47:55] local.INFO: Extracted packet for processing {"connection_id":170990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7e"} 
[2026-09-04 13:47:55] local.INFO: GPS Element Parsed {"raw_longitude":756587520,"raw_latitude":119695848,"longitude_deg":75.658752,"latitude_deg":11.9695848,"altitude":101,"angle":29,"satellites":44,"speed":26,"hex_longitude":"2d189c00","hex_latitude":"072269e8","is_valid_coordinates":true} 
[2026-09-04 13:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858509824001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17244628700889088,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767733253127227392,"note":"Value kept but may cause issues"} 
[2026-09-04 13:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788509816000,"timestamp_ms":1788509816000,"timestamp_seconds":1788509816,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7e04c0"} 
[2026-09-04 13:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 13:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858509824001,"66":13993,"120":206,"28":31744,"24":26,"16":17244628700889088,"45":1767733253127227392},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858509824001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:47:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:47:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17244628700889088,"km_value":17244628700889.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767733253127227392,"description":"Unknown IO ID 45"} 
[2026-09-04 13:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858509824001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1767733253127227392}} 
[2026-09-04 13:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":170990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:47:55] local.INFO: GPS data processed {"connection_id":170990,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:47:55] local.INFO: Acknowledgment sent {"connection_id":170990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:47:59] local.INFO: TCP Data received {"connection_id":173403,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:47:59] local.INFO: Processing buffer {"connection_id":173403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:47:59] local.INFO: IMEI packet received {"connection_id":173403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":173403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:47:59] local.INFO: TCP Data received {"connection_id":170687,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:47:59] local.INFO: Processing buffer {"connection_id":170687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:47:59] local.INFO: IMEI packet received {"connection_id":170687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":170687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:48:00] local.INFO: TCP Data received {"connection_id":170687,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:48:00] local.INFO: Processing buffer {"connection_id":170687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:48:00] local.INFO: Packet analysis {"connection_id":170687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:48:00] local.INFO: Extracted packet for processing {"connection_id":170687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:48:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858434048001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788509809000,"timestamp_ms":1788509809000,"timestamp_seconds":1788509809,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7de968"} 
[2026-09-04 13:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-09-04 13:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858434048001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858434048001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:48:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:48:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858434048001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":170687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:48:00] local.INFO: GPS data processed {"connection_id":170687,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:48:00] local.INFO: Acknowledgment sent {"connection_id":170687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:48:04] local.INFO: TCP Data received {"connection_id":173403,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:48:04] local.INFO: Processing buffer {"connection_id":173403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:48:04] local.INFO: IMEI packet received {"connection_id":173403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":173403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:48:05] local.INFO: TCP Data received {"connection_id":173403,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7de968012cc42b000755c488001400042f..."} 
[2026-09-04 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7de968012cc42b000755c488001400042f..."} 
[2026-09-04 13:48:05] local.INFO: Processing buffer {"connection_id":173403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7de968012cc42b000755c488001400042f..."} 
[2026-09-04 13:48:05] local.INFO: Packet analysis {"connection_id":173403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:48:05] local.INFO: Extracted packet for processing {"connection_id":173403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:48:05] local.INFO: GPS Element Parsed {"raw_longitude":751053568,"raw_latitude":123061384,"longitude_deg":75.1053568,"latitude_deg":12.3061384,"altitude":20,"angle":4,"satellites":47,"speed":11,"hex_longitude":"2cc42b00","hex_latitude":"0755c488","is_valid_coordinates":true} 
[2026-09-04 13:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858510848001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397876634906001408,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4311492924261830656,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788509809000,"timestamp_ms":1788509809000,"timestamp_seconds":1788509809,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7de968"} 
[2026-09-04 13:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 13:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858510848001,"66":27821,"160":206,"85":37120,"24":11,"16":397876634906001408,"44":-4311492924261830656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,44]} 
[2026-09-04 13:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858510848001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:48:05] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-04 13:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397876634906001408,"km_value":397876634906001.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:48:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4311492924261830656,"description":"Unknown IO ID 44"} 
[2026-09-04 13:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858510848001,"power":27821,"unknown_160":206,"unknown_85":37120,"ignition":11,"odometer":null,"unknown_44":-4311492924261830656}} 
[2026-09-04 13:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":173403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:48:05] local.INFO: GPS data processed {"connection_id":173403,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:48:05] local.INFO: Acknowledgment sent {"connection_id":173403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:48:26] local.INFO: TCP Data received {"connection_id":170990,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7e1c30012d18a200072277a0006800112c..."} 
[2026-09-04 13:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7e1c30012d18a200072277a0006800112c..."} 
[2026-09-04 13:48:26] local.INFO: Processing buffer {"connection_id":170990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7e1c30012d18a200072277a0006800112c..."} 
[2026-09-04 13:48:26] local.INFO: Packet analysis {"connection_id":170990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7e"} 
[2026-09-04 13:48:26] local.INFO: Extracted packet for processing {"connection_id":170990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7e"} 
[2026-09-04 13:48:26] local.INFO: GPS Element Parsed {"raw_longitude":756589056,"raw_latitude":119699360,"longitude_deg":75.6589056,"latitude_deg":11.969936,"altitude":104,"angle":17,"satellites":44,"speed":24,"hex_longitude":"2d18a200","hex_latitude":"072277a0","is_valid_coordinates":true} 
[2026-09-04 13:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858512896001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17244813384482816,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773292383919269888,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788509822000,"timestamp_ms":1788509822000,"timestamp_seconds":1788509822,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7e1c30"} 
[2026-09-04 13:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 13:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858512896001,"66":13928,"120":206,"28":31744,"24":24,"16":17244813384482816,"45":1773292383919269888},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858512896001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:48:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:48:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17244813384482816,"km_value":17244813384482.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773292383919269888,"description":"Unknown IO ID 45"} 
[2026-09-04 13:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858512896001,"power":13928,"unknown_120":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1773292383919269888}} 
[2026-09-04 13:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":170990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:48:26] local.INFO: GPS data processed {"connection_id":170990,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:48:26] local.INFO: Acknowledgment sent {"connection_id":170990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:48:32] local.INFO: TCP Data received {"connection_id":170687,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:48:32] local.INFO: Processing buffer {"connection_id":170687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:48:32] local.INFO: Packet analysis {"connection_id":170687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:48:32] local.INFO: Extracted packet for processing {"connection_id":170687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:48:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858434048001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788509809000,"timestamp_ms":1788509809000,"timestamp_seconds":1788509809,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7de968"} 
[2026-09-04 13:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-09-04 13:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858434048001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858434048001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:48:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:48:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858434048001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":170687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762668,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:48:32] local.INFO: GPS data processed {"connection_id":170687,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:48:32] local.INFO: Acknowledgment sent {"connection_id":170687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:48:38] local.INFO: TCP Data received {"connection_id":173403,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7df138012cc42a800755c748001301612f..."} 
[2026-09-04 13:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7df138012cc42a800755c748001301612f..."} 
[2026-09-04 13:48:38] local.INFO: Processing buffer {"connection_id":173403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7df138012cc42a800755c748001301612f..."} 
[2026-09-04 13:48:38] local.INFO: Packet analysis {"connection_id":173403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:48:38] local.INFO: Extracted packet for processing {"connection_id":173403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:48:38] local.INFO: GPS Element Parsed {"raw_longitude":751053440,"raw_latitude":123062088,"longitude_deg":75.105344,"latitude_deg":12.3062088,"altitude":19,"angle":353,"satellites":47,"speed":15,"hex_longitude":"2cc42a80","hex_latitude":"0755c748","is_valid_coordinates":true} 
[2026-09-04 13:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858511104001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397876669265739776,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4311352186773403648,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788509811000,"timestamp_ms":1788509811000,"timestamp_seconds":1788509811,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7df138"} 
[2026-09-04 13:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 13:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858511104001,"66":27974,"160":206,"85":37120,"24":15,"16":397876669265739776,"44":-4311352186773403648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,44]} 
[2026-09-04 13:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858511104001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:48:38] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-04 13:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397876669265739776,"km_value":397876669265739.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:48:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4311352186773403648,"description":"Unknown IO ID 44"} 
[2026-09-04 13:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858511104001,"power":27974,"unknown_160":206,"unknown_85":37120,"ignition":15,"odometer":null,"unknown_44":-4311352186773403648}} 
[2026-09-04 13:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":173403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:48:38] local.INFO: GPS data processed {"connection_id":173403,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:48:38] local.INFO: Acknowledgment sent {"connection_id":173403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:48:48] local.INFO: TCP Data received {"connection_id":173404,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:48:48] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:48:48] local.INFO: IMEI packet received {"connection_id":173404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":173404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:48:49] local.INFO: TCP Data received {"connection_id":172099,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:48:49] local.INFO: Processing buffer {"connection_id":172099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:48:49] local.INFO: IMEI packet received {"connection_id":172099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":172099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:48:54] local.INFO: TCP Data received {"connection_id":172099,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:48:54] local.INFO: Processing buffer {"connection_id":172099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:48:54] local.INFO: IMEI packet received {"connection_id":172099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":172099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:48:54] local.INFO: TCP Data received {"connection_id":173404,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:48:54] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:48:54] local.INFO: IMEI packet received {"connection_id":173404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":173404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:48:55] local.INFO: TCP Data received {"connection_id":172099,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:48:55] local.INFO: Processing buffer {"connection_id":172099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:48:55] local.INFO: Packet analysis {"connection_id":172099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:48:55] local.INFO: Extracted packet for processing {"connection_id":172099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:48:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858434048001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788509809000,"timestamp_ms":1788509809000,"timestamp_seconds":1788509809,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7de968"} 
[2026-09-04 13:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-09-04 13:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858434048001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858434048001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:48:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858434048001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":172099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:48:55] local.INFO: GPS data processed {"connection_id":172099,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:48:55] local.INFO: Acknowledgment sent {"connection_id":172099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:48:55] local.INFO: TCP Data received {"connection_id":173404,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7e3f58012d18a70007228d28006b00062c..."} 
[2026-09-04 13:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7e3f58012d18a70007228d28006b00062c..."} 
[2026-09-04 13:48:55] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7e3f58012d18a70007228d28006b00062c..."} 
[2026-09-04 13:48:55] local.INFO: Packet analysis {"connection_id":173404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7e"} 
[2026-09-04 13:48:55] local.INFO: Extracted packet for processing {"connection_id":173404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7e"} 
[2026-09-04 13:48:55] local.INFO: GPS Element Parsed {"raw_longitude":756590336,"raw_latitude":119704872,"longitude_deg":75.6590336,"latitude_deg":11.9704872,"altitude":107,"angle":6,"satellites":44,"speed":26,"hex_longitude":"2d18a700","hex_latitude":"07228d28","is_valid_coordinates":true} 
[2026-09-04 13:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858514432001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17245088262389760,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774981233780432896,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788509831000,"timestamp_ms":1788509831000,"timestamp_seconds":1788509831,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7e3f58"} 
[2026-09-04 13:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 13:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858514432001,"66":14070,"120":206,"28":31744,"24":26,"16":17245088262389760,"45":1774981233780432896},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 13:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858514432001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:48:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 13:48:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17245088262389760,"km_value":17245088262389.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774981233780432896,"description":"Unknown IO ID 45"} 
[2026-09-04 13:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858514432001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1774981233780432896}} 
[2026-09-04 13:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":173404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:48:56] local.INFO: GPS data processed {"connection_id":173404,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:48:56] local.INFO: Acknowledgment sent {"connection_id":173404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:48:57] local.INFO: TCP Data received {"connection_id":173404,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7e5ab0012d18a94007229a88006d00192c..."} 
[2026-09-04 13:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7e5ab0012d18a94007229a88006d00192c..."} 
[2026-09-04 13:48:57] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7e5ab0012d18a94007229a88006d00192c..."} 
[2026-09-04 13:48:57] local.INFO: Packet analysis {"connection_id":173404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7e"} 
[2026-09-04 13:48:57] local.INFO: Extracted packet for processing {"connection_id":173404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7e"} 
[2026-09-04 13:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119708296,"longitude_deg":75.6590912,"latitude_deg":11.9708296,"altitude":109,"angle":25,"satellites":44,"speed":10,"hex_longitude":"2d18a940","hex_latitude":"07229a88","is_valid_coordinates":true} 
[2026-09-04 13:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858516736001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17245255766114304,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776388608665397248,"note":"Value kept but may cause issues"} 
[2026-09-04 13:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788509838000,"timestamp_ms":1788509838000,"timestamp_seconds":1788509838,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7e5ab0"} 
[2026-09-04 13:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-04 13:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858516736001,"66":14070,"70":206,"28":31744,"24":10,"16":17245255766114304,"45":1776388608665397248},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 13:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858516736001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:48:57] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 13:48:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17245255766114304,"km_value":17245255766114.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776388608665397248,"description":"Unknown IO ID 45"} 
[2026-09-04 13:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858516736001,"power":14070,"unknown_70":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1776388608665397248}} 
[2026-09-04 13:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":173404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:48:57] local.INFO: GPS data processed {"connection_id":173404,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:48:57] local.INFO: Acknowledgment sent {"connection_id":173404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:48:59] local.INFO: TCP Data received {"connection_id":170991,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:48:59] local.INFO: Processing buffer {"connection_id":170991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:48:59] local.INFO: IMEI packet received {"connection_id":170991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":170991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:49:04] local.INFO: TCP Data received {"connection_id":170991,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:49:04] local.INFO: Processing buffer {"connection_id":170991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:49:04] local.INFO: IMEI packet received {"connection_id":170991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":170991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:49:05] local.INFO: TCP Data received {"connection_id":170991,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7e1848012cc426c00755dba0001201552d..."} 
[2026-09-04 13:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7e1848012cc426c00755dba0001201552d..."} 
[2026-09-04 13:49:05] local.INFO: Processing buffer {"connection_id":170991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7e1848012cc426c00755dba0001201552d..."} 
[2026-09-04 13:49:05] local.INFO: Packet analysis {"connection_id":170991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7e"} 
[2026-09-04 13:49:05] local.INFO: Extracted packet for processing {"connection_id":170991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7e"} 
[2026-09-04 13:49:05] local.INFO: GPS Element Parsed {"raw_longitude":751052480,"raw_latitude":123067296,"longitude_deg":75.105248,"latitude_deg":12.3067296,"altitude":18,"angle":341,"satellites":45,"speed":22,"hex_longitude":"2cc426c0","hex_latitude":"0755dba0","is_valid_coordinates":true} 
[2026-09-04 13:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858511616001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397876926963777536,"note":"Value kept but may cause issues"} 
[2026-09-04 13:49:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4311492924261578752,"note":"Value kept but may cause issues"} 
[2026-09-04 13:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788509821000,"timestamp_ms":1788509821000,"timestamp_seconds":1788509821,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7e1848"} 
[2026-09-04 13:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 13:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858511616001,"66":27919,"160":206,"85":37120,"24":22,"16":397876926963777536,"44":-4311492924261578752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,44]} 
[2026-09-04 13:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858511616001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:49:05] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-04 13:49:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397876926963777536,"km_value":397876926963777.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:49:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4311492924261578752,"description":"Unknown IO ID 44"} 
[2026-09-04 13:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858511616001,"power":27919,"unknown_160":206,"unknown_85":37120,"ignition":22,"odometer":null,"unknown_44":-4311492924261578752}} 
[2026-09-04 13:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":170991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:49:05] local.INFO: GPS data processed {"connection_id":170991,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:49:05] local.INFO: Acknowledgment sent {"connection_id":170991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:49:26] local.INFO: TCP Data received {"connection_id":172099,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:49:26] local.INFO: Processing buffer {"connection_id":172099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:49:26] local.INFO: Packet analysis {"connection_id":172099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:49:26] local.INFO: Extracted packet for processing {"connection_id":172099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:49:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858434048001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788509809000,"timestamp_ms":1788509809000,"timestamp_seconds":1788509809,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7de968"} 
[2026-09-04 13:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-09-04 13:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858434048001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858434048001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:49:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:49:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858434048001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":172099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:49:26] local.INFO: GPS data processed {"connection_id":172099,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:49:26] local.INFO: Acknowledgment sent {"connection_id":172099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:49:36] local.INFO: TCP Data received {"connection_id":170991,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7f9ee8012cc43b00075733b0001c000b2f..."} 
[2026-09-04 13:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7f9ee8012cc43b00075733b0001c000b2f..."} 
[2026-09-04 13:49:36] local.INFO: Processing buffer {"connection_id":170991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7f9ee8012cc43b00075733b0001c000b2f..."} 
[2026-09-04 13:49:36] local.INFO: Packet analysis {"connection_id":170991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7f"} 
[2026-09-04 13:49:36] local.INFO: Extracted packet for processing {"connection_id":170991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7f"} 
[2026-09-04 13:49:36] local.INFO: GPS Element Parsed {"raw_longitude":751057664,"raw_latitude":123155376,"longitude_deg":75.1057664,"latitude_deg":12.3155376,"altitude":28,"angle":11,"satellites":47,"speed":40,"hex_longitude":"2cc43b00","hex_latitude":"075733b0","is_valid_coordinates":true} 
[2026-09-04 13:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858536960001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397881372254928896,"note":"Value kept but may cause issues"} 
[2026-09-04 13:49:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4309944811868172288,"note":"Value kept but may cause issues"} 
[2026-09-04 13:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788509921000,"timestamp_ms":1788509921000,"timestamp_seconds":1788509921,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7f9ee8"} 
[2026-09-04 13:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 13:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858536960001,"66":27908,"30":206,"85":37120,"24":40,"16":397881372254928896,"44":-4309944811868172288},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,44]} 
[2026-09-04 13:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858536960001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:49:36] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 13:49:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397881372254928896,"km_value":397881372254928.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:49:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4309944811868172288,"description":"Unknown IO ID 44"} 
[2026-09-04 13:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858536960001,"power":27908,"unknown_30":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4309944811868172288}} 
[2026-09-04 13:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":170991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:49:36] local.INFO: GPS data processed {"connection_id":170991,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:49:36] local.INFO: Acknowledgment sent {"connection_id":170991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:49:48] local.INFO: TCP Data received {"connection_id":172100,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:49:48] local.INFO: Processing buffer {"connection_id":172100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:49:48] local.INFO: IMEI packet received {"connection_id":172100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":172100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:49:49] local.INFO: TCP Data received {"connection_id":170992,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:49:49] local.INFO: Processing buffer {"connection_id":170992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:49:49] local.INFO: IMEI packet received {"connection_id":170992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":170992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:49:54] local.INFO: TCP Data received {"connection_id":170992,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:49:54] local.INFO: Processing buffer {"connection_id":170992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:49:54] local.INFO: IMEI packet received {"connection_id":170992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":170992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:49:56] local.INFO: TCP Data received {"connection_id":172100,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:49:56] local.INFO: Processing buffer {"connection_id":172100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:49:56] local.INFO: IMEI packet received {"connection_id":172100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":172100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:49:56] local.INFO: TCP Data received {"connection_id":170992,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:49:56] local.INFO: Processing buffer {"connection_id":170992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:49:56] local.INFO: Packet analysis {"connection_id":170992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:49:56] local.INFO: Extracted packet for processing {"connection_id":170992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:49:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858434048001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788509809000,"timestamp_ms":1788509809000,"timestamp_seconds":1788509809,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7de968"} 
[2026-09-04 13:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-09-04 13:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858434048001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858434048001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:49:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:49:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858434048001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":170992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762676,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:49:56] local.INFO: GPS data processed {"connection_id":170992,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:49:56] local.INFO: Acknowledgment sent {"connection_id":170992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:49:59] local.INFO: TCP Data received {"connection_id":170688,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:49:59] local.INFO: Processing buffer {"connection_id":170688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:49:59] local.INFO: IMEI packet received {"connection_id":170688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":170688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:49:59] local.INFO: TCP Data received {"connection_id":170688,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:49:59] local.INFO: Processing buffer {"connection_id":170688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:49:59] local.INFO: IMEI packet received {"connection_id":170688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":170688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:50:01] local.INFO: TCP Data received {"connection_id":172100,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7f9ee8012d19074007226b60007d007529..."} 
[2026-09-04 13:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7f9ee8012d19074007226b60007d007529..."} 
[2026-09-04 13:50:01] local.INFO: Processing buffer {"connection_id":172100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7f9ee8012d19074007226b60007d007529..."} 
[2026-09-04 13:50:01] local.INFO: Packet analysis {"connection_id":172100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7f"} 
[2026-09-04 13:50:01] local.INFO: Extracted packet for processing {"connection_id":172100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7f"} 
[2026-09-04 13:50:01] local.INFO: GPS Element Parsed {"raw_longitude":756614976,"raw_latitude":119696224,"longitude_deg":75.6614976,"latitude_deg":11.9696224,"altitude":125,"angle":117,"satellites":41,"speed":15,"hex_longitude":"2d190740","hex_latitude":"07226b60","is_valid_coordinates":true} 
[2026-09-04 13:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858539520001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17246668810354688,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803128731450753024,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788509921000,"timestamp_ms":1788509921000,"timestamp_seconds":1788509921,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7f9ee8"} 
[2026-09-04 13:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-04 13:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858539520001,"66":14243,"70":206,"28":31744,"24":15,"16":17246668810354688,"45":1803128731450753024},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 13:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858539520001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:50:01] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 13:50:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17246668810354688,"km_value":17246668810354.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803128731450753024,"description":"Unknown IO ID 45"} 
[2026-09-04 13:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858539520001,"power":14243,"unknown_70":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1803128731450753024}} 
[2026-09-04 13:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":172100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:50:01] local.INFO: GPS data processed {"connection_id":172100,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:50:01] local.INFO: Acknowledgment sent {"connection_id":172100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:50:04] local.INFO: TCP Data received {"connection_id":170688,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:50:04] local.INFO: Processing buffer {"connection_id":170688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:50:04] local.INFO: IMEI packet received {"connection_id":170688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":170688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:50:05] local.INFO: TCP Data received {"connection_id":170688,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7fbe28012cc4418007575610001c000831..."} 
[2026-09-04 13:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7fbe28012cc4418007575610001c000831..."} 
[2026-09-04 13:50:05] local.INFO: Processing buffer {"connection_id":170688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7fbe28012cc4418007575610001c000831..."} 
[2026-09-04 13:50:05] local.INFO: Packet analysis {"connection_id":170688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7f"} 
[2026-09-04 13:50:05] local.INFO: Extracted packet for processing {"connection_id":170688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7f"} 
[2026-09-04 13:50:05] local.INFO: GPS Element Parsed {"raw_longitude":751059328,"raw_latitude":123164176,"longitude_deg":75.1059328,"latitude_deg":12.3164176,"altitude":28,"angle":8,"satellites":49,"speed":46,"hex_longitude":"2cc44180","hex_latitude":"07575610","is_valid_coordinates":true} 
[2026-09-04 13:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858539776001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397881806046625792,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4306848587121971200,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788509929000,"timestamp_ms":1788509929000,"timestamp_seconds":1788509929,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7fbe28"} 
[2026-09-04 13:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 13:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858539776001,"66":27930,"30":206,"85":37120,"24":46,"16":397881806046625792,"44":-4306848587121971200},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,44]} 
[2026-09-04 13:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858539776001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:50:05] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 13:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397881806046625792,"km_value":397881806046625.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:50:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4306848587121971200,"description":"Unknown IO ID 44"} 
[2026-09-04 13:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858539776001,"power":27930,"unknown_30":206,"unknown_85":37120,"ignition":46,"odometer":null,"unknown_44":-4306848587121971200}} 
[2026-09-04 13:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":170688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:50:05] local.INFO: GPS data processed {"connection_id":170688,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:50:05] local.INFO: Acknowledgment sent {"connection_id":170688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:50:27] local.INFO: TCP Data received {"connection_id":170992,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:50:27] local.INFO: Processing buffer {"connection_id":170992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:50:27] local.INFO: Packet analysis {"connection_id":170992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:50:27] local.INFO: Extracted packet for processing {"connection_id":170992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:50:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858434048001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788509809000,"timestamp_ms":1788509809000,"timestamp_seconds":1788509809,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7de968"} 
[2026-09-04 13:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-09-04 13:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858434048001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858434048001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:50:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:50:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858434048001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":170992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762679,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:50:27] local.INFO: GPS data processed {"connection_id":170992,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:50:27] local.INFO: Acknowledgment sent {"connection_id":170992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:50:36] local.INFO: TCP Data received {"connection_id":170688,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7fdd68012cc448c007577b78001d000a30..."} 
[2026-09-04 13:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7fdd68012cc448c007577b78001d000a30..."} 
[2026-09-04 13:50:36] local.INFO: Processing buffer {"connection_id":170688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7fdd68012cc448c007577b78001d000a30..."} 
[2026-09-04 13:50:36] local.INFO: Packet analysis {"connection_id":170688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7f"} 
[2026-09-04 13:50:36] local.INFO: Extracted packet for processing {"connection_id":170688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7f"} 
[2026-09-04 13:50:36] local.INFO: GPS Element Parsed {"raw_longitude":751061184,"raw_latitude":123173752,"longitude_deg":75.1061184,"latitude_deg":12.3173752,"altitude":29,"angle":10,"satellites":48,"speed":49,"hex_longitude":"2cc448c0","hex_latitude":"07577b78","is_valid_coordinates":true} 
[2026-09-04 13:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858541824001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397882278493028352,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4305018999771099136,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788509937000,"timestamp_ms":1788509937000,"timestamp_seconds":1788509937,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7fdd68"} 
[2026-09-04 13:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858541824001,"66":27930,"30":206,"85":37120,"24":49,"16":397882278493028352,"44":-4305018999771099136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,44]} 
[2026-09-04 13:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858541824001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:50:36] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 13:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397882278493028352,"km_value":397882278493028.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:50:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4305018999771099136,"description":"Unknown IO ID 44"} 
[2026-09-04 13:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858541824001,"power":27930,"unknown_30":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4305018999771099136}} 
[2026-09-04 13:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":170688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:50:36] local.INFO: GPS data processed {"connection_id":170688,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:50:36] local.INFO: Acknowledgment sent {"connection_id":170688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:50:50] local.INFO: TCP Data received {"connection_id":172100,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7fae88012d190dc007226800007e00832b..."} 
[2026-09-04 13:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7fae88012d190dc007226800007e00832b..."} 
[2026-09-04 13:50:50] local.INFO: Processing buffer {"connection_id":172100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7fae88012d190dc007226800007e00832b..."} 
[2026-09-04 13:50:50] local.INFO: Packet analysis {"connection_id":172100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7f"} 
[2026-09-04 13:50:50] local.INFO: Extracted packet for processing {"connection_id":172100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7f"} 
[2026-09-04 13:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756616640,"raw_latitude":119695360,"longitude_deg":75.661664,"latitude_deg":11.969536,"altitude":126,"angle":131,"satellites":43,"speed":20,"hex_longitude":"2d190dc0","hex_latitude":"07226800","is_valid_coordinates":true} 
[2026-09-04 13:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858539776001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17246759004667904,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803480575171584000,"note":"Value kept but may cause issues"} 
[2026-09-04 13:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788509925000,"timestamp_ms":1788509925000,"timestamp_seconds":1788509925,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7fae88"} 
[2026-09-04 13:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 13:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858539776001,"66":14102,"70":206,"28":31744,"24":20,"16":17246759004667904,"45":1803480575171584000},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 13:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858539776001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:50:50] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 13:50:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17246759004667904,"km_value":17246759004667.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803480575171584000,"description":"Unknown IO ID 45"} 
[2026-09-04 13:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858539776001,"power":14102,"unknown_70":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1803480575171584000}} 
[2026-09-04 13:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":172100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:50:50] local.INFO: GPS data processed {"connection_id":172100,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:50:50] local.INFO: Acknowledgment sent {"connection_id":172100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:50:54] local.INFO: TCP Data received {"connection_id":173405,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:50:54] local.INFO: Processing buffer {"connection_id":173405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:50:54] local.INFO: IMEI packet received {"connection_id":173405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":173405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:50:59] local.INFO: TCP Data received {"connection_id":170689,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:50:59] local.INFO: Processing buffer {"connection_id":170689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:50:59] local.INFO: IMEI packet received {"connection_id":170689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":170689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:50:59] local.INFO: TCP Data received {"connection_id":173405,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:50:59] local.INFO: Processing buffer {"connection_id":173405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:50:59] local.INFO: IMEI packet received {"connection_id":173405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":173405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:51:00] local.INFO: TCP Data received {"connection_id":173405,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:51:00] local.INFO: Processing buffer {"connection_id":173405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:51:00] local.INFO: Packet analysis {"connection_id":173405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:51:00] local.INFO: Extracted packet for processing {"connection_id":173405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:51:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858434048001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788509809000,"timestamp_ms":1788509809000,"timestamp_seconds":1788509809,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7de968"} 
[2026-09-04 13:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-09-04 13:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858434048001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858434048001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:51:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858434048001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":173405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762682,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:51:01] local.INFO: GPS data processed {"connection_id":173405,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:51:01] local.INFO: Acknowledgment sent {"connection_id":173405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:51:04] local.INFO: TCP Data received {"connection_id":170689,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:51:04] local.INFO: Processing buffer {"connection_id":170689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:51:04] local.INFO: IMEI packet received {"connection_id":170689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":170689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:51:05] local.INFO: TCP Data received {"connection_id":173405,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:51:05] local.INFO: Processing buffer {"connection_id":173405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:51:05] local.INFO: Packet analysis {"connection_id":173405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:51:05] local.INFO: Extracted packet for processing {"connection_id":173405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858434048001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788509809000,"timestamp_ms":1788509809000,"timestamp_seconds":1788509809,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7de968"} 
[2026-09-04 13:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-09-04 13:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858434048001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858434048001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:51:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:51:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858434048001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":173405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762683,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:51:05] local.INFO: GPS data processed {"connection_id":173405,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:51:05] local.INFO: Acknowledgment sent {"connection_id":173405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:51:05] local.INFO: TCP Data received {"connection_id":170689,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7ffca8012cc450400757a1680021000d31..."} 
[2026-09-04 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7ffca8012cc450400757a1680021000d31..."} 
[2026-09-04 13:51:05] local.INFO: Processing buffer {"connection_id":170689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7ffca8012cc450400757a1680021000d31..."} 
[2026-09-04 13:51:05] local.INFO: Packet analysis {"connection_id":170689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7f"} 
[2026-09-04 13:51:05] local.INFO: Extracted packet for processing {"connection_id":170689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7f"} 
[2026-09-04 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":751063104,"raw_latitude":123183464,"longitude_deg":75.1063104,"latitude_deg":12.3183464,"altitude":33,"angle":13,"satellites":49,"speed":48,"hex_longitude":"2cc45040","hex_latitude":"0757a168","is_valid_coordinates":true} 
[2026-09-04 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858543872001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397882759529365504,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4302978306187495424,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788509945000,"timestamp_ms":1788509945000,"timestamp_seconds":1788509945,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7ffca8"} 
[2026-09-04 13:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858543872001,"66":27876,"30":206,"85":37120,"24":48,"16":397882759529365504,"44":-4302978306187495424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,44]} 
[2026-09-04 13:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858543872001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:51:05] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 13:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397882759529365504,"km_value":397882759529365.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:51:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4302978306187495424,"description":"Unknown IO ID 44"} 
[2026-09-04 13:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858543872001,"power":27876,"unknown_30":206,"unknown_85":37120,"ignition":48,"odometer":null,"unknown_44":-4302978306187495424}} 
[2026-09-04 13:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":170689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:51:05] local.INFO: GPS data processed {"connection_id":170689,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:51:05] local.INFO: Acknowledgment sent {"connection_id":170689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:51:36] local.INFO: TCP Data received {"connection_id":170689,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b816fc0012cc4dd80075960b8002c015231..."} 
[2026-09-04 13:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b816fc0012cc4dd80075960b8002c015231..."} 
[2026-09-04 13:51:36] local.INFO: Processing buffer {"connection_id":170689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b816fc0012cc4dd80075960b8002c015231..."} 
[2026-09-04 13:51:36] local.INFO: Packet analysis {"connection_id":170689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b81"} 
[2026-09-04 13:51:36] local.INFO: Extracted packet for processing {"connection_id":170689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b81"} 
[2026-09-04 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":751099264,"raw_latitude":123297976,"longitude_deg":75.1099264,"latitude_deg":12.3297976,"altitude":44,"angle":338,"satellites":49,"speed":44,"hex_longitude":"2cc4dd80","hex_latitude":"075960b8","is_valid_coordinates":true} 
[2026-09-04 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858569472001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397888630749659136,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4260123740952324096,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788510040000,"timestamp_ms":1788510040000,"timestamp_seconds":1788510040,"priority":1,"record_length":96,"hex_timestamp":"000001a06b816fc0"} 
[2026-09-04 13:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 13:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858569472001,"66":27930,"130":206,"85":37120,"24":44,"16":397888630749659136,"44":-4260123740952324096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,44]} 
[2026-09-04 13:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858569472001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:51:36] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-04 13:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397888630749659136,"km_value":397888630749659.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:51:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4260123740952324096,"description":"Unknown IO ID 44"} 
[2026-09-04 13:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858569472001,"power":27930,"unknown_130":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4260123740952324096}} 
[2026-09-04 13:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":170689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:51:36] local.INFO: GPS data processed {"connection_id":170689,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:51:36] local.INFO: Acknowledgment sent {"connection_id":170689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:51:49] local.INFO: TCP Data received {"connection_id":170691,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:51:49] local.INFO: Processing buffer {"connection_id":170691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:51:49] local.INFO: IMEI packet received {"connection_id":170691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":170691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:51:54] local.INFO: TCP Data received {"connection_id":170691,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:51:54] local.INFO: Processing buffer {"connection_id":170691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:51:54] local.INFO: IMEI packet received {"connection_id":170691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":170691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:51:56] local.INFO: TCP Data received {"connection_id":170691,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:51:56] local.INFO: Processing buffer {"connection_id":170691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:51:56] local.INFO: Packet analysis {"connection_id":170691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:51:56] local.INFO: Extracted packet for processing {"connection_id":170691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:51:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858434048001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788509809000,"timestamp_ms":1788509809000,"timestamp_seconds":1788509809,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7de968"} 
[2026-09-04 13:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-09-04 13:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858434048001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858434048001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:51:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:51:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858434048001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":170691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762686,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:51:56] local.INFO: GPS data processed {"connection_id":170691,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:51:56] local.INFO: Acknowledgment sent {"connection_id":170691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:51:59] local.INFO: TCP Data received {"connection_id":172101,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:51:59] local.INFO: Processing buffer {"connection_id":172101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:51:59] local.INFO: IMEI packet received {"connection_id":172101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":172101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:52:02] local.INFO: TCP Data received {"connection_id":172101,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:52:02] local.INFO: Processing buffer {"connection_id":172101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:52:02] local.INFO: IMEI packet received {"connection_id":172101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":172101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:52:04] local.INFO: TCP Data received {"connection_id":172101,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:52:04] local.INFO: Processing buffer {"connection_id":172101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:52:04] local.INFO: IMEI packet received {"connection_id":172101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":172101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:52:05] local.INFO: TCP Data received {"connection_id":172101,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b817f60012cc4d4c007597000002d014632..."} 
[2026-09-04 13:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b817f60012cc4d4c007597000002d014632..."} 
[2026-09-04 13:52:05] local.INFO: Processing buffer {"connection_id":172101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b817f60012cc4d4c007597000002d014632..."} 
[2026-09-04 13:52:05] local.INFO: Packet analysis {"connection_id":172101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b81"} 
[2026-09-04 13:52:05] local.INFO: Extracted packet for processing {"connection_id":172101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b81"} 
[2026-09-04 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":751097024,"raw_latitude":123301888,"longitude_deg":75.1097024,"latitude_deg":12.3301888,"altitude":45,"angle":326,"satellites":50,"speed":44,"hex_longitude":"2cc4d4c0","hex_latitude":"07597000","is_valid_coordinates":true} 
[2026-09-04 13:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858570240001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397888845498023936,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4261108903369984000,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788510044000,"timestamp_ms":1788510044000,"timestamp_seconds":1788510044,"priority":1,"record_length":96,"hex_timestamp":"000001a06b817f60"} 
[2026-09-04 13:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858570240001,"66":27908,"131":206,"85":37120,"24":44,"16":397888845498023936,"44":-4261108903369984000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-04 13:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858570240001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:52:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 13:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397888845498023936,"km_value":397888845498023.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:52:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4261108903369984000,"description":"Unknown IO ID 44"} 
[2026-09-04 13:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858570240001,"power":27908,"unknown_131":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4261108903369984000}} 
[2026-09-04 13:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":172101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:52:05] local.INFO: GPS data processed {"connection_id":172101,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:52:05] local.INFO: Acknowledgment sent {"connection_id":172101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:52:17] local.INFO: TCP Data received {"connection_id":173406,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:52:17] local.INFO: Processing buffer {"connection_id":173406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:52:17] local.INFO: IMEI packet received {"connection_id":173406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":173406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:52:20] local.INFO: TCP Data received {"connection_id":173406,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:52:20] local.INFO: Processing buffer {"connection_id":173406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:52:20] local.INFO: IMEI packet received {"connection_id":173406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":173406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:52:24] local.INFO: TCP Data received {"connection_id":173406,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b80f6a8012d196cc007220a88007100522b..."} 
[2026-09-04 13:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b80f6a8012d196cc007220a88007100522b..."} 
[2026-09-04 13:52:24] local.INFO: Processing buffer {"connection_id":173406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b80f6a8012d196cc007220a88007100522b..."} 
[2026-09-04 13:52:24] local.INFO: Packet analysis {"connection_id":173406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b80"} 
[2026-09-04 13:52:24] local.INFO: Extracted packet for processing {"connection_id":173406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b80"} 
[2026-09-04 13:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756640960,"raw_latitude":119671432,"longitude_deg":75.664096,"latitude_deg":11.9671432,"altitude":113,"angle":82,"satellites":43,"speed":18,"hex_longitude":"2d196cc0","hex_latitude":"07220a88","is_valid_coordinates":true} 
[2026-09-04 13:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858562048001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17248429746946048,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335347937280,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788510009000,"timestamp_ms":1788510009000,"timestamp_seconds":1788510009,"priority":1,"record_length":96,"hex_timestamp":"000001a06b80f6a8"} 
[2026-09-04 13:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-04 13:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858562048001,"66":14004,"32":206,"28":31744,"24":18,"16":17248429746946048,"45":1831487335347937280},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-09-04 13:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858562048001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:52:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-04 13:52:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17248429746946048,"km_value":17248429746946.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335347937280,"description":"Unknown IO ID 45"} 
[2026-09-04 13:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858562048001,"power":14004,"unknown_32":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1831487335347937280}} 
[2026-09-04 13:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":173406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:52:24] local.INFO: GPS data processed {"connection_id":173406,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:52:24] local.INFO: Acknowledgment sent {"connection_id":173406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:52:28] local.INFO: TCP Data received {"connection_id":170691,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:52:28] local.INFO: Processing buffer {"connection_id":170691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b7de968012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:52:28] local.INFO: Packet analysis {"connection_id":170691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:52:28] local.INFO: Extracted packet for processing {"connection_id":170691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b7d"} 
[2026-09-04 13:52:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858434048001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788509809000,"timestamp_ms":1788509809000,"timestamp_seconds":1788509809,"priority":1,"record_length":96,"hex_timestamp":"000001a06b7de968"} 
[2026-09-04 13:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-09-04 13:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858434048001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858434048001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:52:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:52:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858434048001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":170691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762689,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:52:28] local.INFO: GPS data processed {"connection_id":170691,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:52:28] local.INFO: Acknowledgment sent {"connection_id":170691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:52:36] local.INFO: TCP Data received {"connection_id":172101,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b819ea0012cc4bf4007598bd00030014331..."} 
[2026-09-04 13:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b819ea0012cc4bf4007598bd00030014331..."} 
[2026-09-04 13:52:36] local.INFO: Processing buffer {"connection_id":172101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b819ea0012cc4bf4007598bd00030014331..."} 
[2026-09-04 13:52:36] local.INFO: Packet analysis {"connection_id":172101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b81"} 
[2026-09-04 13:52:36] local.INFO: Extracted packet for processing {"connection_id":172101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b81"} 
[2026-09-04 13:52:36] local.INFO: GPS Element Parsed {"raw_longitude":751091520,"raw_latitude":123309008,"longitude_deg":75.109152,"latitude_deg":12.3309008,"altitude":48,"angle":323,"satellites":49,"speed":43,"hex_longitude":"2cc4bf40","hex_latitude":"07598bd0","is_valid_coordinates":true} 
[2026-09-04 13:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858571264001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397889279289720832,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4263571809415200768,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788510052000,"timestamp_ms":1788510052000,"timestamp_seconds":1788510052,"priority":1,"record_length":96,"hex_timestamp":"000001a06b819ea0"} 
[2026-09-04 13:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 13:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858571264001,"66":27908,"131":206,"85":37120,"24":43,"16":397889279289720832,"44":-4263571809415200768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-04 13:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858571264001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:52:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 13:52:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397889279289720832,"km_value":397889279289720.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:52:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4263571809415200768,"description":"Unknown IO ID 44"} 
[2026-09-04 13:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858571264001,"power":27908,"unknown_131":206,"unknown_85":37120,"ignition":43,"odometer":null,"unknown_44":-4263571809415200768}} 
[2026-09-04 13:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":172101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:52:36] local.INFO: GPS data processed {"connection_id":172101,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:52:36] local.INFO: Acknowledgment sent {"connection_id":172101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:52:49] local.INFO: TCP Data received {"connection_id":172102,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:52:49] local.INFO: Processing buffer {"connection_id":172102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:52:49] local.INFO: IMEI packet received {"connection_id":172102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":172102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:52:54] local.INFO: TCP Data received {"connection_id":172102,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:52:54] local.INFO: Processing buffer {"connection_id":172102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:52:54] local.INFO: IMEI packet received {"connection_id":172102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":172102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:52:55] local.INFO: TCP Data received {"connection_id":172102,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:52:55] local.INFO: Processing buffer {"connection_id":172102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:52:55] local.INFO: Packet analysis {"connection_id":172102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:52:55] local.INFO: Extracted packet for processing {"connection_id":172102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:52:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858511104001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788510110000,"timestamp_ms":1788510110000,"timestamp_seconds":1788510110,"priority":1,"record_length":96,"hex_timestamp":"000001a06b828130"} 
[2026-09-04 13:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 13:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858511104001,"66":24832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858511104001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:52:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:52:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858511104001,"power":24832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":172102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762691,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:52:55] local.INFO: GPS data processed {"connection_id":172102,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:52:55] local.INFO: Acknowledgment sent {"connection_id":172102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:52:57] local.INFO: TCP Data received {"connection_id":173406,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b80fe78012d19704007220bb0007000432b..."} 
[2026-09-04 13:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b80fe78012d19704007220bb0007000432b..."} 
[2026-09-04 13:52:57] local.INFO: Processing buffer {"connection_id":173406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b80fe78012d19704007220bb0007000432b..."} 
[2026-09-04 13:52:57] local.INFO: Packet analysis {"connection_id":173406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b80"} 
[2026-09-04 13:52:57] local.INFO: Extracted packet for processing {"connection_id":173406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b80"} 
[2026-09-04 13:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756641856,"raw_latitude":119671728,"longitude_deg":75.6641856,"latitude_deg":11.9671728,"altitude":112,"angle":67,"satellites":43,"speed":18,"hex_longitude":"2d197040","hex_latitude":"07220bb0","is_valid_coordinates":true} 
[2026-09-04 13:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858562304001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17248476991586304,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832050285301368832,"note":"Value kept but may cause issues"} 
[2026-09-04 13:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788510011000,"timestamp_ms":1788510011000,"timestamp_seconds":1788510011,"priority":1,"record_length":96,"hex_timestamp":"000001a06b80fe78"} 
[2026-09-04 13:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-04 13:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858562304001,"66":13993,"32":206,"28":31744,"24":18,"16":17248476991586304,"45":1832050285301368832},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-09-04 13:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858562304001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:52:57] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-04 13:52:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17248476991586304,"km_value":17248476991586.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832050285301368832,"description":"Unknown IO ID 45"} 
[2026-09-04 13:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858562304001,"power":13993,"unknown_32":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1832050285301368832}} 
[2026-09-04 13:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":173406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:52:57] local.INFO: GPS data processed {"connection_id":173406,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:52:57] local.INFO: Acknowledgment sent {"connection_id":173406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:53:01] local.INFO: TCP Data received {"connection_id":170993,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:53:01] local.INFO: TCP Data received {"connection_id":172103,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:53:01] local.INFO: Processing buffer {"connection_id":170993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:53:01] local.INFO: IMEI packet received {"connection_id":170993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":170993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:53:01] local.INFO: Processing buffer {"connection_id":172103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:53:01] local.INFO: IMEI packet received {"connection_id":172103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":172103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:53:03] local.INFO: TCP Data received {"connection_id":170993,"ip":"117.224.109.173","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-04 13:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170993,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-04 13:53:03] local.INFO: Processing buffer {"connection_id":170993,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-04 13:53:03] local.INFO: IMEI packet received {"connection_id":170993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":170993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:53:08] local.INFO: TCP Data received {"connection_id":172103,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:53:08] local.INFO: Processing buffer {"connection_id":172103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:53:08] local.INFO: IMEI packet received {"connection_id":172103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":172103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:53:09] local.INFO: TCP Data received {"connection_id":172103,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:53:09] local.INFO: Processing buffer {"connection_id":172103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:53:09] local.INFO: IMEI packet received {"connection_id":172103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":172103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:53:09] local.INFO: TCP Data received {"connection_id":172103,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b82d338012cc430c0075ad2300031014031..."} 
[2026-09-04 13:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b82d338012cc430c0075ad2300031014031..."} 
[2026-09-04 13:53:09] local.INFO: Processing buffer {"connection_id":172103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b82d338012cc430c0075ad2300031014031..."} 
[2026-09-04 13:53:09] local.INFO: Packet analysis {"connection_id":172103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:53:09] local.INFO: Extracted packet for processing {"connection_id":172103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:53:09] local.INFO: GPS Element Parsed {"raw_longitude":751055040,"raw_latitude":123392560,"longitude_deg":75.105504,"latitude_deg":12.339256,"altitude":49,"angle":320,"satellites":49,"speed":60,"hex_longitude":"2cc430c0","hex_latitude":"075ad230","is_valid_coordinates":true} 
[2026-09-04 13:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858591744001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397893844839956480,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4301782037482407936,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788510131000,"timestamp_ms":1788510131000,"timestamp_seconds":1788510131,"priority":1,"record_length":96,"hex_timestamp":"000001a06b82d338"} 
[2026-09-04 13:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 13:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858591744001,"66":28093,"35":206,"85":37120,"24":60,"16":397893844839956480,"44":-4301782037482407936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-04 13:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858591744001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:53:09] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-04 13:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397893844839956480,"km_value":397893844839956.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:53:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4301782037482407936,"description":"Unknown IO ID 44"} 
[2026-09-04 13:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858591744001,"power":28093,"unknown_35":206,"unknown_85":37120,"ignition":60,"odometer":null,"unknown_44":-4301782037482407936}} 
[2026-09-04 13:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":172103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:53:09] local.INFO: GPS data processed {"connection_id":172103,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:53:09] local.INFO: Acknowledgment sent {"connection_id":172103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:53:10] local.INFO: TCP Data received {"connection_id":172103,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b82eaa8012cc41a00075aee60002f013f31..."} 
[2026-09-04 13:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b82eaa8012cc41a00075aee60002f013f31..."} 
[2026-09-04 13:53:10] local.INFO: Processing buffer {"connection_id":172103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b82eaa8012cc41a00075aee60002f013f31..."} 
[2026-09-04 13:53:10] local.INFO: Packet analysis {"connection_id":172103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:53:10] local.INFO: Extracted packet for processing {"connection_id":172103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:53:10] local.INFO: GPS Element Parsed {"raw_longitude":751049216,"raw_latitude":123399776,"longitude_deg":75.1049216,"latitude_deg":12.3399776,"altitude":47,"angle":319,"satellites":49,"speed":61,"hex_longitude":"2cc41a00","hex_latitude":"075aee60","is_valid_coordinates":true} 
[2026-09-04 13:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858593536001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397894291516555264,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4309733705572536320,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788510137000,"timestamp_ms":1788510137000,"timestamp_seconds":1788510137,"priority":1,"record_length":96,"hex_timestamp":"000001a06b82eaa8"} 
[2026-09-04 13:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-04 13:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858593536001,"66":28006,"35":206,"85":37120,"24":61,"16":397894291516555264,"44":-4309733705572536320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-04 13:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858593536001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:53:10] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-04 13:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397894291516555264,"km_value":397894291516555.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4309733705572536320,"description":"Unknown IO ID 44"} 
[2026-09-04 13:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858593536001,"power":28006,"unknown_35":206,"unknown_85":37120,"ignition":61,"odometer":null,"unknown_44":-4309733705572536320}} 
[2026-09-04 13:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":172103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:53:10] local.INFO: GPS data processed {"connection_id":172103,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:53:10] local.INFO: Acknowledgment sent {"connection_id":172103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:53:27] local.INFO: TCP Data received {"connection_id":172102,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:53:27] local.INFO: Processing buffer {"connection_id":172102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:53:27] local.INFO: Packet analysis {"connection_id":172102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:53:27] local.INFO: Extracted packet for processing {"connection_id":172102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:53:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858511104001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788510110000,"timestamp_ms":1788510110000,"timestamp_seconds":1788510110,"priority":1,"record_length":96,"hex_timestamp":"000001a06b828130"} 
[2026-09-04 13:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 13:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858511104001,"66":24832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858511104001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:53:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:53:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858511104001,"power":24832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":172102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:53:27] local.INFO: GPS data processed {"connection_id":172102,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:53:27] local.INFO: Acknowledgment sent {"connection_id":172102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:53:41] local.INFO: TCP Data received {"connection_id":172103,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b830218012cc401c0075b08f8002c013d31..."} 
[2026-09-04 13:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b830218012cc401c0075b08f8002c013d31..."} 
[2026-09-04 13:53:41] local.INFO: Processing buffer {"connection_id":172103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b830218012cc401c0075b08f8002c013d31..."} 
[2026-09-04 13:53:41] local.INFO: Packet analysis {"connection_id":172103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b83"} 
[2026-09-04 13:53:41] local.INFO: Extracted packet for processing {"connection_id":172103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b83"} 
[2026-09-04 13:53:41] local.INFO: GPS Element Parsed {"raw_longitude":751043008,"raw_latitude":123406584,"longitude_deg":75.1043008,"latitude_deg":12.3406584,"altitude":44,"angle":317,"satellites":49,"speed":60,"hex_longitude":"2cc401c0","hex_latitude":"075b08f8","is_valid_coordinates":true} 
[2026-09-04 13:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858595072001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397894733898186752,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4316137261290856448,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788510143000,"timestamp_ms":1788510143000,"timestamp_seconds":1788510143,"priority":1,"record_length":96,"hex_timestamp":"000001a06b830218"} 
[2026-09-04 13:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 13:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858595072001,"66":28028,"35":206,"85":37120,"24":60,"16":397894733898186752,"44":-4316137261290856448},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-04 13:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858595072001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:53:41] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-04 13:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397894733898186752,"km_value":397894733898186.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4316137261290856448,"description":"Unknown IO ID 44"} 
[2026-09-04 13:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858595072001,"power":28028,"unknown_35":206,"unknown_85":37120,"ignition":60,"odometer":null,"unknown_44":-4316137261290856448}} 
[2026-09-04 13:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":172103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:53:41] local.INFO: GPS data processed {"connection_id":172103,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:53:41] local.INFO: Acknowledgment sent {"connection_id":172103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:53:49] local.INFO: TCP Data received {"connection_id":173408,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:53:49] local.INFO: Processing buffer {"connection_id":173408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:53:49] local.INFO: IMEI packet received {"connection_id":173408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":173408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:53:54] local.INFO: TCP Data received {"connection_id":173408,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:53:54] local.INFO: Processing buffer {"connection_id":173408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:53:54] local.INFO: IMEI packet received {"connection_id":173408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":173408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:53:56] local.INFO: TCP Data received {"connection_id":173408,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:53:56] local.INFO: Processing buffer {"connection_id":173408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:53:56] local.INFO: Packet analysis {"connection_id":173408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:53:56] local.INFO: Extracted packet for processing {"connection_id":173408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:53:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858511104001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788510110000,"timestamp_ms":1788510110000,"timestamp_seconds":1788510110,"priority":1,"record_length":96,"hex_timestamp":"000001a06b828130"} 
[2026-09-04 13:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 13:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858511104001,"66":24832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858511104001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:53:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:53:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858511104001,"power":24832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":173408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762697,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:53:56] local.INFO: GPS data processed {"connection_id":173408,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:53:56] local.INFO: Acknowledgment sent {"connection_id":173408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:54:01] local.INFO: TCP Data received {"connection_id":172104,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:54:01] local.INFO: Processing buffer {"connection_id":172104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:54:01] local.INFO: IMEI packet received {"connection_id":172104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":172104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:54:03] local.INFO: TCP Data received {"connection_id":172104,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:54:03] local.INFO: Processing buffer {"connection_id":172104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:54:03] local.INFO: IMEI packet received {"connection_id":172104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":172104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:54:04] local.INFO: TCP Data received {"connection_id":172104,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b83b9b0012cc3a580075be8080023013c2e..."} 
[2026-09-04 13:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b83b9b0012cc3a580075be8080023013c2e..."} 
[2026-09-04 13:54:04] local.INFO: Processing buffer {"connection_id":172104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b83b9b0012cc3a580075be8080023013c2e..."} 
[2026-09-04 13:54:04] local.INFO: Packet analysis {"connection_id":172104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b83"} 
[2026-09-04 13:54:04] local.INFO: Extracted packet for processing {"connection_id":172104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b83"} 
[2026-09-04 13:54:04] local.INFO: GPS Element Parsed {"raw_longitude":751019392,"raw_latitude":123463688,"longitude_deg":75.1019392,"latitude_deg":12.3463688,"altitude":35,"angle":316,"satellites":46,"speed":27,"hex_longitude":"2cc3a580","hex_latitude":"075be808","is_valid_coordinates":true} 
[2026-09-04 13:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858608128001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397897903584051200,"note":"Value kept but may cause issues"} 
[2026-09-04 13:54:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4347873564898949120,"note":"Value kept but may cause issues"} 
[2026-09-04 13:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788510190000,"timestamp_ms":1788510190000,"timestamp_seconds":1788510190,"priority":1,"record_length":96,"hex_timestamp":"000001a06b83b9b0"} 
[2026-09-04 13:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 13:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858608128001,"66":27930,"208":206,"85":37120,"24":27,"16":397897903584051200,"44":-4347873564898949120},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-04 13:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858608128001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:54:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 13:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397897903584051200,"km_value":397897903584051.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:54:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4347873564898949120,"description":"Unknown IO ID 44"} 
[2026-09-04 13:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858608128001,"power":27930,"unknown_208":206,"unknown_85":37120,"ignition":27,"odometer":null,"unknown_44":-4347873564898949120}} 
[2026-09-04 13:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":172104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:54:04] local.INFO: GPS data processed {"connection_id":172104,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:54:04] local.INFO: Acknowledgment sent {"connection_id":172104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:54:27] local.INFO: TCP Data received {"connection_id":173408,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:54:27] local.INFO: Processing buffer {"connection_id":173408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:54:27] local.INFO: Packet analysis {"connection_id":173408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:54:27] local.INFO: Extracted packet for processing {"connection_id":173408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:54:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858511104001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788510110000,"timestamp_ms":1788510110000,"timestamp_seconds":1788510110,"priority":1,"record_length":96,"hex_timestamp":"000001a06b828130"} 
[2026-09-04 13:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 13:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858511104001,"66":24832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858511104001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:54:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:54:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858511104001,"power":24832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":173408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762699,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:54:27] local.INFO: GPS data processed {"connection_id":173408,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:54:27] local.INFO: Acknowledgment sent {"connection_id":173408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:54:36] local.INFO: TCP Data received {"connection_id":172104,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b83c180012cc3a1c0075beac00023012b2f..."} 
[2026-09-04 13:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b83c180012cc3a1c0075beac00023012b2f..."} 
[2026-09-04 13:54:36] local.INFO: Processing buffer {"connection_id":172104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b83c180012cc3a1c0075beac00023012b2f..."} 
[2026-09-04 13:54:36] local.INFO: Packet analysis {"connection_id":172104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b83"} 
[2026-09-04 13:54:36] local.INFO: Extracted packet for processing {"connection_id":172104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b83"} 
[2026-09-04 13:54:36] local.INFO: GPS Element Parsed {"raw_longitude":751018432,"raw_latitude":123464384,"longitude_deg":75.1018432,"latitude_deg":12.3464384,"altitude":35,"angle":299,"satellites":47,"speed":20,"hex_longitude":"2cc3a1c0","hex_latitude":"075beac0","is_valid_coordinates":true} 
[2026-09-04 13:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858608640001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397897959418626048,"note":"Value kept but may cause issues"} 
[2026-09-04 13:54:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4348929096061286400,"note":"Value kept but may cause issues"} 
[2026-09-04 13:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788510192000,"timestamp_ms":1788510192000,"timestamp_seconds":1788510192,"priority":1,"record_length":96,"hex_timestamp":"000001a06b83c180"} 
[2026-09-04 13:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 13:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858608640001,"66":27865,"208":206,"85":37120,"24":20,"16":397897959418626048,"44":-4348929096061286400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-04 13:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858608640001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:54:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 13:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397897959418626048,"km_value":397897959418626.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:54:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4348929096061286400,"description":"Unknown IO ID 44"} 
[2026-09-04 13:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858608640001,"power":27865,"unknown_208":206,"unknown_85":37120,"ignition":20,"odometer":null,"unknown_44":-4348929096061286400}} 
[2026-09-04 13:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":172104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:54:36] local.INFO: GPS data processed {"connection_id":172104,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:54:36] local.INFO: Acknowledgment sent {"connection_id":172104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:54:54] local.INFO: TCP Data received {"connection_id":172106,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:54:54] local.INFO: Processing buffer {"connection_id":172106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:54:54] local.INFO: IMEI packet received {"connection_id":172106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":172106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:54:58] local.INFO: TCP Data received {"connection_id":172107,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:54:58] local.INFO: Processing buffer {"connection_id":172107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:54:58] local.INFO: IMEI packet received {"connection_id":172107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":172107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:54:59] local.INFO: TCP Data received {"connection_id":172107,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:54:59] local.INFO: Processing buffer {"connection_id":172107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:54:59] local.INFO: IMEI packet received {"connection_id":172107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":172107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:54:59] local.INFO: TCP Data received {"connection_id":172106,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:54:59] local.INFO: Processing buffer {"connection_id":172106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:54:59] local.INFO: IMEI packet received {"connection_id":172106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":172106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:55:00] local.INFO: TCP Data received {"connection_id":172106,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:55:00] local.INFO: Processing buffer {"connection_id":172106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:55:00] local.INFO: Packet analysis {"connection_id":172106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:55:00] local.INFO: Extracted packet for processing {"connection_id":172106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:55:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858511104001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788510110000,"timestamp_ms":1788510110000,"timestamp_seconds":1788510110,"priority":1,"record_length":96,"hex_timestamp":"000001a06b828130"} 
[2026-09-04 13:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 13:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172106,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172106,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858511104001,"66":24832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858511104001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:55:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:55:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858511104001,"power":24832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":172106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:55:00] local.INFO: GPS data processed {"connection_id":172106,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:55:00] local.INFO: Acknowledgment sent {"connection_id":172106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:55:02] local.INFO: TCP Data received {"connection_id":172107,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:55:02] local.INFO: Processing buffer {"connection_id":172107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:55:02] local.INFO: IMEI packet received {"connection_id":172107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":172107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:55:04] local.INFO: TCP Data received {"connection_id":172107,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:55:04] local.INFO: Processing buffer {"connection_id":172107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:55:04] local.INFO: IMEI packet received {"connection_id":172107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":172107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:55:05] local.INFO: TCP Data received {"connection_id":172106,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:55:05] local.INFO: Processing buffer {"connection_id":172106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:55:05] local.INFO: Packet analysis {"connection_id":172106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:55:05] local.INFO: Extracted packet for processing {"connection_id":172106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858511104001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788510110000,"timestamp_ms":1788510110000,"timestamp_seconds":1788510110,"priority":1,"record_length":96,"hex_timestamp":"000001a06b828130"} 
[2026-09-04 13:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 13:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172106,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172106,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858511104001,"66":24832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858511104001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:55:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858511104001,"power":24832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":172106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762702,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:55:05] local.INFO: GPS data processed {"connection_id":172106,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:55:05] local.INFO: Acknowledgment sent {"connection_id":172106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:55:08] local.INFO: TCP Data received {"connection_id":172107,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b83c950012cc39e80075bed000022013a2f..."} 
[2026-09-04 13:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b83c950012cc39e80075bed000022013a2f..."} 
[2026-09-04 13:55:08] local.INFO: Processing buffer {"connection_id":172107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b83c950012cc39e80075bed000022013a2f..."} 
[2026-09-04 13:55:08] local.INFO: Packet analysis {"connection_id":172107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b83"} 
[2026-09-04 13:55:08] local.INFO: Extracted packet for processing {"connection_id":172107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b83"} 
[2026-09-04 13:55:08] local.INFO: GPS Element Parsed {"raw_longitude":751017600,"raw_latitude":123464960,"longitude_deg":75.10176,"latitude_deg":12.346496,"altitude":34,"angle":314,"satellites":47,"speed":21,"hex_longitude":"2cc39e80","hex_latitude":"075bed00","is_valid_coordinates":true} 
[2026-09-04 13:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858609152001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397898006663266304,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4349984627223773184,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788510194000,"timestamp_ms":1788510194000,"timestamp_seconds":1788510194,"priority":1,"record_length":96,"hex_timestamp":"000001a06b83c950"} 
[2026-09-04 13:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 13:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858609152001,"66":27876,"208":206,"85":37120,"24":21,"16":397898006663266304,"44":-4349984627223773184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-04 13:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858609152001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:55:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 13:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397898006663266304,"km_value":397898006663266.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:55:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4349984627223773184,"description":"Unknown IO ID 44"} 
[2026-09-04 13:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858609152001,"power":27876,"unknown_208":206,"unknown_85":37120,"ignition":21,"odometer":null,"unknown_44":-4349984627223773184}} 
[2026-09-04 13:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":172107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:55:08] local.INFO: GPS data processed {"connection_id":172107,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:55:08] local.INFO: Acknowledgment sent {"connection_id":172107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:55:09] local.INFO: TCP Data received {"connection_id":172107,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b83f448012cc38680075c07180020013e2f..."} 
[2026-09-04 13:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b83f448012cc38680075c07180020013e2f..."} 
[2026-09-04 13:55:09] local.INFO: Processing buffer {"connection_id":172107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b83f448012cc38680075c07180020013e2f..."} 
[2026-09-04 13:55:09] local.INFO: Packet analysis {"connection_id":172107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b83"} 
[2026-09-04 13:55:09] local.INFO: Extracted packet for processing {"connection_id":172107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b83"} 
[2026-09-04 13:55:09] local.INFO: GPS Element Parsed {"raw_longitude":751011456,"raw_latitude":123471640,"longitude_deg":75.1011456,"latitude_deg":12.347164,"altitude":32,"angle":318,"satellites":47,"speed":44,"hex_longitude":"2cc38680","hex_latitude":"075c0718","is_valid_coordinates":true} 
[2026-09-04 13:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858609664001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397898444749930496,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4350899420897935360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788510205000,"timestamp_ms":1788510205000,"timestamp_seconds":1788510205,"priority":1,"record_length":96,"hex_timestamp":"000001a06b83f448"} 
[2026-09-04 13:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 13:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858609664001,"66":27691,"208":206,"85":37120,"24":44,"16":397898444749930496,"44":-4350899420897935360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-04 13:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858609664001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:55:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 13:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397898444749930496,"km_value":397898444749930.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:55:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4350899420897935360,"description":"Unknown IO ID 44"} 
[2026-09-04 13:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858609664001,"power":27691,"unknown_208":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4350899420897935360}} 
[2026-09-04 13:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":172107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:55:09] local.INFO: GPS data processed {"connection_id":172107,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:55:09] local.INFO: Acknowledgment sent {"connection_id":172107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:55:40] local.INFO: TCP Data received {"connection_id":172107,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b854c08012cc28a00075d44f80017013f32..."} 
[2026-09-04 13:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b854c08012cc28a00075d44f80017013f32..."} 
[2026-09-04 13:55:40] local.INFO: Processing buffer {"connection_id":172107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b854c08012cc28a00075d44f80017013f32..."} 
[2026-09-04 13:55:40] local.INFO: Packet analysis {"connection_id":172107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b85"} 
[2026-09-04 13:55:40] local.INFO: Extracted packet for processing {"connection_id":172107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b85"} 
[2026-09-04 13:55:40] local.INFO: GPS Element Parsed {"raw_longitude":750946816,"raw_latitude":123553016,"longitude_deg":75.0946816,"latitude_deg":12.3553016,"altitude":23,"angle":319,"satellites":50,"speed":52,"hex_longitude":"2cc28a00","hex_latitude":"075d44f8","is_valid_coordinates":true} 
[2026-09-04 13:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858632960001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397903581530816512,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4421197796310759424,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788510293000,"timestamp_ms":1788510293000,"timestamp_seconds":1788510293,"priority":1,"record_length":96,"hex_timestamp":"000001a06b854c08"} 
[2026-09-04 13:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 13:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858632960001,"66":27887,"208":206,"85":37120,"24":52,"16":397903581530816512,"44":-4421197796310759424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-04 13:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858632960001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:55:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 13:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397903581530816512,"km_value":397903581530816.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:55:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4421197796310759424,"description":"Unknown IO ID 44"} 
[2026-09-04 13:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858632960001,"power":27887,"unknown_208":206,"unknown_85":37120,"ignition":52,"odometer":null,"unknown_44":-4421197796310759424}} 
[2026-09-04 13:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":172107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:55:40] local.INFO: GPS data processed {"connection_id":172107,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:55:40] local.INFO: Acknowledgment sent {"connection_id":172107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:55:49] local.INFO: TCP Data received {"connection_id":170692,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:55:49] local.INFO: Processing buffer {"connection_id":170692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:55:49] local.INFO: IMEI packet received {"connection_id":170692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":170692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:55:54] local.INFO: TCP Data received {"connection_id":170692,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:55:54] local.INFO: Processing buffer {"connection_id":170692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:55:54] local.INFO: IMEI packet received {"connection_id":170692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":170692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:55:56] local.INFO: TCP Data received {"connection_id":170692,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:55:56] local.INFO: Processing buffer {"connection_id":170692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:55:56] local.INFO: Packet analysis {"connection_id":170692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:55:56] local.INFO: Extracted packet for processing {"connection_id":170692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:55:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858511104001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788510110000,"timestamp_ms":1788510110000,"timestamp_seconds":1788510110,"priority":1,"record_length":96,"hex_timestamp":"000001a06b828130"} 
[2026-09-04 13:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 13:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858511104001,"66":24832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858511104001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:55:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:55:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858511104001,"power":24832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":170692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762706,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:55:56] local.INFO: GPS data processed {"connection_id":170692,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:55:56] local.INFO: Acknowledgment sent {"connection_id":170692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:55:59] local.INFO: TCP Data received {"connection_id":173409,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:55:59] local.INFO: Processing buffer {"connection_id":173409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:55:59] local.INFO: IMEI packet received {"connection_id":173409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":173409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:56:00] local.INFO: TCP Data received {"connection_id":173409,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:56:00] local.INFO: Processing buffer {"connection_id":173409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:56:00] local.INFO: IMEI packet received {"connection_id":173409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":173409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:56:04] local.INFO: TCP Data received {"connection_id":173409,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:56:04] local.INFO: Processing buffer {"connection_id":173409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:56:04] local.INFO: IMEI packet received {"connection_id":173409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":173409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:56:04] local.INFO: TCP Data received {"connection_id":173409,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b855f90012cc27a40075d5ad80016014d32..."} 
[2026-09-04 13:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b855f90012cc27a40075d5ad80016014d32..."} 
[2026-09-04 13:56:04] local.INFO: Processing buffer {"connection_id":173409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b855f90012cc27a40075d5ad80016014d32..."} 
[2026-09-04 13:56:04] local.INFO: Packet analysis {"connection_id":173409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b85"} 
[2026-09-04 13:56:04] local.INFO: Extracted packet for processing {"connection_id":173409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b85"} 
[2026-09-04 13:56:04] local.INFO: GPS Element Parsed {"raw_longitude":750942784,"raw_latitude":123558616,"longitude_deg":75.0942784,"latitude_deg":12.3558616,"altitude":22,"angle":333,"satellites":50,"speed":56,"hex_longitude":"2cc27a40","hex_latitude":"075d5ad8","is_valid_coordinates":true} 
[2026-09-04 13:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858635008001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397903916538265600,"note":"Value kept but may cause issues"} 
[2026-09-04 13:56:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4428727251935889408,"note":"Value kept but may cause issues"} 
[2026-09-04 13:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788510298000,"timestamp_ms":1788510298000,"timestamp_seconds":1788510298,"priority":1,"record_length":96,"hex_timestamp":"000001a06b855f90"} 
[2026-09-04 13:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 13:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858635008001,"66":27876,"208":206,"85":37120,"24":56,"16":397903916538265600,"44":-4428727251935889408},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-04 13:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858635008001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:56:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 13:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397903916538265600,"km_value":397903916538265.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:56:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4428727251935889408,"description":"Unknown IO ID 44"} 
[2026-09-04 13:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858635008001,"power":27876,"unknown_208":206,"unknown_85":37120,"ignition":56,"odometer":null,"unknown_44":-4428727251935889408}} 
[2026-09-04 13:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":173409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:56:04] local.INFO: GPS data processed {"connection_id":173409,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:56:04] local.INFO: Acknowledgment sent {"connection_id":173409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:56:28] local.INFO: TCP Data received {"connection_id":170692,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:56:28] local.INFO: Processing buffer {"connection_id":170692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:56:28] local.INFO: Packet analysis {"connection_id":170692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:56:28] local.INFO: Extracted packet for processing {"connection_id":170692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:56:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858511104001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788510110000,"timestamp_ms":1788510110000,"timestamp_seconds":1788510110,"priority":1,"record_length":96,"hex_timestamp":"000001a06b828130"} 
[2026-09-04 13:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 13:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858511104001,"66":24832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858511104001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:56:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:56:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858511104001,"power":24832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":170692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:56:28] local.INFO: GPS data processed {"connection_id":170692,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:56:28] local.INFO: Acknowledgment sent {"connection_id":170692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:56:36] local.INFO: TCP Data received {"connection_id":173409,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b856b48012cc27480075d6af80015015a34..."} 
[2026-09-04 13:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b856b48012cc27480075d6af80015015a34..."} 
[2026-09-04 13:56:36] local.INFO: Processing buffer {"connection_id":173409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b856b48012cc27480075d6af80015015a34..."} 
[2026-09-04 13:56:36] local.INFO: Packet analysis {"connection_id":173409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b85"} 
[2026-09-04 13:56:36] local.INFO: Extracted packet for processing {"connection_id":173409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b85"} 
[2026-09-04 13:56:36] local.INFO: GPS Element Parsed {"raw_longitude":750941312,"raw_latitude":123562744,"longitude_deg":75.0941312,"latitude_deg":12.3562744,"altitude":21,"angle":346,"satellites":52,"speed":59,"hex_longitude":"2cc27480","hex_latitude":"075d6af8","is_valid_coordinates":true} 
[2026-09-04 13:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858636288001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397904126991663104,"note":"Value kept but may cause issues"} 
[2026-09-04 13:56:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4433160482817648640,"note":"Value kept but may cause issues"} 
[2026-09-04 13:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788510301000,"timestamp_ms":1788510301000,"timestamp_seconds":1788510301,"priority":1,"record_length":96,"hex_timestamp":"000001a06b856b48"} 
[2026-09-04 13:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 13:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858636288001,"66":27876,"208":206,"85":37120,"24":59,"16":397904126991663104,"44":-4433160482817648640},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-04 13:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858636288001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:56:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 13:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397904126991663104,"km_value":397904126991663.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:56:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4433160482817648640,"description":"Unknown IO ID 44"} 
[2026-09-04 13:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858636288001,"power":27876,"unknown_208":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4433160482817648640}} 
[2026-09-04 13:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":173409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:56:36] local.INFO: GPS data processed {"connection_id":173409,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:56:36] local.INFO: Acknowledgment sent {"connection_id":173409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:56:50] local.INFO: TCP Data received {"connection_id":170995,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:56:50] local.INFO: Processing buffer {"connection_id":170995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:56:50] local.INFO: IMEI packet received {"connection_id":170995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":170995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:56:54] local.INFO: TCP Data received {"connection_id":170995,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:56:54] local.INFO: Processing buffer {"connection_id":170995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:56:54] local.INFO: IMEI packet received {"connection_id":170995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":170995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:56:55] local.INFO: TCP Data received {"connection_id":170995,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:56:55] local.INFO: Processing buffer {"connection_id":170995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:56:55] local.INFO: Packet analysis {"connection_id":170995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:56:55] local.INFO: Extracted packet for processing {"connection_id":170995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:56:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858511104001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788510110000,"timestamp_ms":1788510110000,"timestamp_seconds":1788510110,"priority":1,"record_length":96,"hex_timestamp":"000001a06b828130"} 
[2026-09-04 13:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 13:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858511104001,"66":24832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858511104001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:56:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858511104001,"power":24832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":170995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762710,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:56:56] local.INFO: GPS data processed {"connection_id":170995,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:56:56] local.INFO: Acknowledgment sent {"connection_id":170995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:56:59] local.INFO: TCP Data received {"connection_id":172108,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:56:59] local.INFO: Processing buffer {"connection_id":172108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:56:59] local.INFO: IMEI packet received {"connection_id":172108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":172108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:57:00] local.INFO: TCP Data received {"connection_id":172108,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:57:00] local.INFO: Processing buffer {"connection_id":172108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:57:00] local.INFO: IMEI packet received {"connection_id":172108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":172108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:57:04] local.INFO: TCP Data received {"connection_id":172108,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:57:04] local.INFO: Processing buffer {"connection_id":172108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:57:04] local.INFO: IMEI packet received {"connection_id":172108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":172108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:57:05] local.INFO: TCP Data received {"connection_id":172108,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8649f0012cc315c0075e3e300018002e2f..."} 
[2026-09-04 13:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8649f0012cc315c0075e3e300018002e2f..."} 
[2026-09-04 13:57:05] local.INFO: Processing buffer {"connection_id":172108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8649f0012cc315c0075e3e300018002e2f..."} 
[2026-09-04 13:57:05] local.INFO: Packet analysis {"connection_id":172108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b86"} 
[2026-09-04 13:57:05] local.INFO: Extracted packet for processing {"connection_id":172108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b86"} 
[2026-09-04 13:57:05] local.INFO: GPS Element Parsed {"raw_longitude":750982592,"raw_latitude":123616816,"longitude_deg":75.0982592,"latitude_deg":12.3616816,"altitude":24,"angle":46,"satellites":47,"speed":40,"hex_longitude":"2cc315c0","hex_latitude":"075e3e30","is_valid_coordinates":true} 
[2026-09-04 13:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858650368001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397907691814518784,"note":"Value kept but may cause issues"} 
[2026-09-04 13:57:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4394035461040734208,"note":"Value kept but may cause issues"} 
[2026-09-04 13:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788510358000,"timestamp_ms":1788510358000,"timestamp_seconds":1788510358,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8649f0"} 
[2026-09-04 13:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 13:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858650368001,"66":27517,"208":206,"85":37120,"24":40,"16":397907691814518784,"44":-4394035461040734208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-04 13:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858650368001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:57:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 13:57:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397907691814518784,"km_value":397907691814518.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:57:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4394035461040734208,"description":"Unknown IO ID 44"} 
[2026-09-04 13:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858650368001,"power":27517,"unknown_208":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4394035461040734208}} 
[2026-09-04 13:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":172108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:57:05] local.INFO: GPS data processed {"connection_id":172108,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:57:05] local.INFO: Acknowledgment sent {"connection_id":172108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:57:27] local.INFO: TCP Data received {"connection_id":170995,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:57:27] local.INFO: Processing buffer {"connection_id":170995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b828130012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:57:27] local.INFO: Packet analysis {"connection_id":170995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:57:27] local.INFO: Extracted packet for processing {"connection_id":170995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b82"} 
[2026-09-04 13:57:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858511104001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788510110000,"timestamp_ms":1788510110000,"timestamp_seconds":1788510110,"priority":1,"record_length":96,"hex_timestamp":"000001a06b828130"} 
[2026-09-04 13:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 13:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858511104001,"66":24832,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858511104001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:57:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:57:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858511104001,"power":24832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":170995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:57:27] local.INFO: GPS data processed {"connection_id":170995,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:57:27] local.INFO: Acknowledgment sent {"connection_id":170995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:57:39] local.INFO: TCP Data received {"connection_id":172108,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b865d78012cc322c0075e4d08001800222f..."} 
[2026-09-04 13:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b865d78012cc322c0075e4d08001800222f..."} 
[2026-09-04 13:57:39] local.INFO: Processing buffer {"connection_id":172108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b865d78012cc322c0075e4d08001800222f..."} 
[2026-09-04 13:57:39] local.INFO: Packet analysis {"connection_id":172108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b86"} 
[2026-09-04 13:57:39] local.INFO: Extracted packet for processing {"connection_id":172108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b86"} 
[2026-09-04 13:57:39] local.INFO: GPS Element Parsed {"raw_longitude":750985920,"raw_latitude":123620616,"longitude_deg":75.098592,"latitude_deg":12.3620616,"altitude":24,"angle":34,"satellites":47,"speed":40,"hex_longitude":"2cc322c0","hex_latitude":"075e4d08","is_valid_coordinates":true} 
[2026-09-04 13:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858651648001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397907932332687360,"note":"Value kept but may cause issues"} 
[2026-09-04 13:57:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4389391123924242432,"note":"Value kept but may cause issues"} 
[2026-09-04 13:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788510363000,"timestamp_ms":1788510363000,"timestamp_seconds":1788510363,"priority":1,"record_length":96,"hex_timestamp":"000001a06b865d78"} 
[2026-09-04 13:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-04 13:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858651648001,"66":27876,"208":206,"85":37120,"24":40,"16":397907932332687360,"44":-4389391123924242432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-04 13:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858651648001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:57:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 13:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397907932332687360,"km_value":397907932332687.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:57:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4389391123924242432,"description":"Unknown IO ID 44"} 
[2026-09-04 13:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858651648001,"power":27876,"unknown_208":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4389391123924242432}} 
[2026-09-04 13:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":172108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:57:39] local.INFO: GPS data processed {"connection_id":172108,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:57:39] local.INFO: Acknowledgment sent {"connection_id":172108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:57:49] local.INFO: TCP Data received {"connection_id":170996,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:57:49] local.INFO: Processing buffer {"connection_id":170996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:57:49] local.INFO: IMEI packet received {"connection_id":170996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":170996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:57:54] local.INFO: TCP Data received {"connection_id":170996,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:57:54] local.INFO: Processing buffer {"connection_id":170996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:57:54] local.INFO: IMEI packet received {"connection_id":170996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":170996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:57:56] local.INFO: TCP Data received {"connection_id":170996,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:57:56] local.INFO: Processing buffer {"connection_id":170996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:57:56] local.INFO: Packet analysis {"connection_id":170996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:57:56] local.INFO: Extracted packet for processing {"connection_id":170996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:57:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858588160001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788510411000,"timestamp_ms":1788510411000,"timestamp_seconds":1788510411,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8718f8"} 
[2026-09-04 13:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-04 13:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858588160001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858588160001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:57:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:57:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858588160001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":170996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762714,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:57:56] local.INFO: GPS data processed {"connection_id":170996,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:57:56] local.INFO: Acknowledgment sent {"connection_id":170996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:58:00] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:00] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:00] local.INFO: IMEI packet received {"connection_id":173412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":173412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:58:04] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:04] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:04] local.INFO: IMEI packet received {"connection_id":173412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":173412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:58:04] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:04] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:04] local.INFO: IMEI packet received {"connection_id":173412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":173412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:58:08] local.INFO: TCP Data received {"connection_id":173411,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:58:08] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:58:08] local.INFO: IMEI packet received {"connection_id":173411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":173411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:58:09] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:09] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:09] local.INFO: IMEI packet received {"connection_id":173412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":173412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:58:09] local.INFO: TCP Data received {"connection_id":173411,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b877aa0012d1848400722bec80077014b28..."} 
[2026-09-04 13:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b877aa0012d1848400722bec80077014b28..."} 
[2026-09-04 13:58:09] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b877aa0012d1848400722bec80077014b28..."} 
[2026-09-04 13:58:09] local.INFO: Packet analysis {"connection_id":173411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:09] local.INFO: Extracted packet for processing {"connection_id":173411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:09] local.INFO: GPS Element Parsed {"raw_longitude":756566080,"raw_latitude":119717576,"longitude_deg":75.656608,"latitude_deg":11.9717576,"altitude":119,"angle":331,"satellites":40,"speed":20,"hex_longitude":"2d184840","hex_latitude":"0722bec8","is_valid_coordinates":true} 
[2026-09-04 13:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858671104001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17254704694165504,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1750281804578521088,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788510436000,"timestamp_ms":1788510436000,"timestamp_seconds":1788510436,"priority":1,"record_length":96,"hex_timestamp":"000001a06b877aa0"} 
[2026-09-04 13:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 13:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858671104001,"66":13972,"112":206,"28":31744,"24":20,"16":17254704694165504,"45":1750281804578521088},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 13:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858671104001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:58:09] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 13:58:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17254704694165504,"km_value":17254704694165.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1750281804578521088,"description":"Unknown IO ID 45"} 
[2026-09-04 13:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858671104001,"power":13972,"unknown_112":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1750281804578521088}} 
[2026-09-04 13:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":173411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:58:09] local.INFO: GPS data processed {"connection_id":173411,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:58:09] local.INFO: Acknowledgment sent {"connection_id":173411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:58:10] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b877aa0012cc32a80075f9b60001c00072f..."} 
[2026-09-04 13:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b877aa0012cc32a80075f9b60001c00072f..."} 
[2026-09-04 13:58:10] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b877aa0012cc32a80075f9b60001c00072f..."} 
[2026-09-04 13:58:10] local.INFO: Packet analysis {"connection_id":173412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:10] local.INFO: Extracted packet for processing {"connection_id":173412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:10] local.INFO: GPS Element Parsed {"raw_longitude":750987904,"raw_latitude":123706208,"longitude_deg":75.0987904,"latitude_deg":12.3706208,"altitude":28,"angle":7,"satellites":47,"speed":51,"hex_longitude":"2cc32a80","hex_latitude":"075f9b60","is_valid_coordinates":true} 
[2026-09-04 13:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858670848001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397912141400637440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4383550518135605248,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788510436000,"timestamp_ms":1788510436000,"timestamp_seconds":1788510436,"priority":1,"record_length":96,"hex_timestamp":"000001a06b877aa0"} 
[2026-09-04 13:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 13:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858670848001,"66":27887,"188":206,"85":37120,"24":51,"16":397912141400637440,"44":-4383550518135605248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,44]} 
[2026-09-04 13:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858670848001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:58:10] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-04 13:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397912141400637440,"km_value":397912141400637.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4383550518135605248,"description":"Unknown IO ID 44"} 
[2026-09-04 13:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858670848001,"power":27887,"unknown_188":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4383550518135605248}} 
[2026-09-04 13:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":173412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:58:10] local.INFO: GPS data processed {"connection_id":173412,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:58:10] local.INFO: Acknowledgment sent {"connection_id":173412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:58:11] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b878270012cc32d00075fa520001c001433..."} 
[2026-09-04 13:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b878270012cc32d00075fa520001c001433..."} 
[2026-09-04 13:58:11] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b878270012cc32d00075fa520001c001433..."} 
[2026-09-04 13:58:11] local.INFO: Packet analysis {"connection_id":173412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:11] local.INFO: Extracted packet for processing {"connection_id":173412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:11] local.INFO: GPS Element Parsed {"raw_longitude":750988544,"raw_latitude":123708704,"longitude_deg":75.0988544,"latitude_deg":12.3708704,"altitude":28,"angle":20,"satellites":51,"speed":51,"hex_longitude":"2cc32d00","hex_latitude":"075fa520","is_valid_coordinates":true} 
[2026-09-04 13:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858671616001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397912270249656320,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4383550518134611968,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788510438000,"timestamp_ms":1788510438000,"timestamp_seconds":1788510438,"priority":1,"record_length":96,"hex_timestamp":"000001a06b878270"} 
[2026-09-04 13:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 13:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858671616001,"66":27843,"188":206,"85":37120,"24":51,"16":397912270249656320,"44":-4383550518134611968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,44]} 
[2026-09-04 13:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858671616001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:58:11] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-04 13:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397912270249656320,"km_value":397912270249656.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4383550518134611968,"description":"Unknown IO ID 44"} 
[2026-09-04 13:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858671616001,"power":27843,"unknown_188":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4383550518134611968}} 
[2026-09-04 13:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":173412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:58:11] local.INFO: GPS data processed {"connection_id":173412,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:58:11] local.INFO: Acknowledgment sent {"connection_id":173412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:58:12] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b878a40012cc331c0075fadf0001c002133..."} 
[2026-09-04 13:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b878a40012cc331c0075fadf0001c002133..."} 
[2026-09-04 13:58:12] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b878a40012cc331c0075fadf0001c002133..."} 
[2026-09-04 13:58:12] local.INFO: Packet analysis {"connection_id":173412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:12] local.INFO: Extracted packet for processing {"connection_id":173412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:12] local.INFO: GPS Element Parsed {"raw_longitude":750989760,"raw_latitude":123710960,"longitude_deg":75.098976,"latitude_deg":12.371096,"altitude":28,"angle":33,"satellites":51,"speed":50,"hex_longitude":"2cc331c0","hex_latitude":"075fadf0","is_valid_coordinates":true} 
[2026-09-04 13:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858672128001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397912390508740608,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4382846830692196352,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788510440000,"timestamp_ms":1788510440000,"timestamp_seconds":1788510440,"priority":1,"record_length":96,"hex_timestamp":"000001a06b878a40"} 
[2026-09-04 13:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 13:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858672128001,"66":27919,"187":206,"85":37120,"24":50,"16":397912390508740608,"44":-4382846830692196352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,44]} 
[2026-09-04 13:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858672128001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:58:12] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-04 13:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397912390508740608,"km_value":397912390508740.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:58:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4382846830692196352,"description":"Unknown IO ID 44"} 
[2026-09-04 13:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858672128001,"power":27919,"unknown_187":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4382846830692196352}} 
[2026-09-04 13:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":173412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:58:12] local.INFO: GPS data processed {"connection_id":173412,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:58:12] local.INFO: Acknowledgment sent {"connection_id":173412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:58:31] local.INFO: TCP Data received {"connection_id":170996,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:58:31] local.INFO: Processing buffer {"connection_id":170996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:58:31] local.INFO: Packet analysis {"connection_id":170996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:31] local.INFO: Extracted packet for processing {"connection_id":170996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858588160001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788510411000,"timestamp_ms":1788510411000,"timestamp_seconds":1788510411,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8718f8"} 
[2026-09-04 13:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-04 13:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":170996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":170996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":170996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858588160001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858588160001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:58:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858588160001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":170996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:58:31] local.INFO: GPS data processed {"connection_id":170996,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:58:31] local.INFO: Acknowledgment sent {"connection_id":170996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:58:43] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b879210012cc33800075fb568001c002d32..."} 
[2026-09-04 13:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b879210012cc33800075fb568001c002d32..."} 
[2026-09-04 13:58:43] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b879210012cc33800075fb568001c002d32..."} 
[2026-09-04 13:58:43] local.INFO: Packet analysis {"connection_id":173412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:43] local.INFO: Extracted packet for processing {"connection_id":173412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:43] local.INFO: GPS Element Parsed {"raw_longitude":750991360,"raw_latitude":123712872,"longitude_deg":75.099136,"latitude_deg":12.3712872,"altitude":28,"angle":45,"satellites":50,"speed":50,"hex_longitude":"2cc33800","hex_latitude":"075fb568","is_valid_coordinates":true} 
[2026-09-04 13:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858672640001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397912510767824896,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381509824552243200,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788510442000,"timestamp_ms":1788510442000,"timestamp_seconds":1788510442,"priority":1,"record_length":96,"hex_timestamp":"000001a06b879210"} 
[2026-09-04 13:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 13:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858672640001,"66":27865,"187":206,"85":37120,"24":50,"16":397912510767824896,"44":-4381509824552243200},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,44]} 
[2026-09-04 13:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858672640001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:58:43] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-04 13:58:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397912510767824896,"km_value":397912510767824.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:58:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381509824552243200,"description":"Unknown IO ID 44"} 
[2026-09-04 13:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858672640001,"power":27865,"unknown_187":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4381509824552243200}} 
[2026-09-04 13:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":173412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:58:43] local.INFO: GPS data processed {"connection_id":173412,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:58:43] local.INFO: Acknowledgment sent {"connection_id":173412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:58:48] local.INFO: TCP Data received {"connection_id":172109,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:58:48] local.INFO: Processing buffer {"connection_id":172109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:58:48] local.INFO: IMEI packet received {"connection_id":172109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":172109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:58:52] local.INFO: TCP Data received {"connection_id":172109,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:58:52] local.INFO: Processing buffer {"connection_id":172109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:58:52] local.INFO: IMEI packet received {"connection_id":172109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":172109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:58:53] local.INFO: TCP Data received {"connection_id":172109,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:58:53] local.INFO: Processing buffer {"connection_id":172109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:58:53] local.INFO: IMEI packet received {"connection_id":172109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":172109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:58:54] local.INFO: TCP Data received {"connection_id":170693,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:58:54] local.INFO: Processing buffer {"connection_id":170693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:58:54] local.INFO: IMEI packet received {"connection_id":170693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":170693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:58:54] local.INFO: TCP Data received {"connection_id":172109,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b878270012d1847c00722c2600077015a28..."} 
[2026-09-04 13:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b878270012d1847c00722c2600077015a28..."} 
[2026-09-04 13:58:54] local.INFO: Processing buffer {"connection_id":172109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b878270012d1847c00722c2600077015a28..."} 
[2026-09-04 13:58:54] local.INFO: Packet analysis {"connection_id":172109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:54] local.INFO: Extracted packet for processing {"connection_id":172109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:54] local.INFO: GPS Element Parsed {"raw_longitude":756565952,"raw_latitude":119718496,"longitude_deg":75.6565952,"latitude_deg":11.9718496,"altitude":119,"angle":346,"satellites":40,"speed":19,"hex_longitude":"2d1847c0","hex_latitude":"0722c260","is_valid_coordinates":true} 
[2026-09-04 13:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858671616001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17254747643838464,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749718854625314816,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788510438000,"timestamp_ms":1788510438000,"timestamp_seconds":1788510438,"priority":1,"record_length":96,"hex_timestamp":"000001a06b878270"} 
[2026-09-04 13:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-04 13:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858671616001,"66":13928,"112":206,"28":31744,"24":19,"16":17254747643838464,"45":1749718854625314816},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 13:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858671616001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:58:54] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 13:58:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17254747643838464,"km_value":17254747643838.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749718854625314816,"description":"Unknown IO ID 45"} 
[2026-09-04 13:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858671616001,"power":13928,"unknown_112":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1749718854625314816}} 
[2026-09-04 13:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":172109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:58:54] local.INFO: GPS data processed {"connection_id":172109,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:58:54] local.INFO: Acknowledgment sent {"connection_id":172109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:58:56] local.INFO: TCP Data received {"connection_id":172109,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8799e0012d1846800722cdd00079016729..."} 
[2026-09-04 13:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8799e0012d1846800722cdd00079016729..."} 
[2026-09-04 13:58:56] local.INFO: Processing buffer {"connection_id":172109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8799e0012d1846800722cdd00079016729..."} 
[2026-09-04 13:58:56] local.INFO: Packet analysis {"connection_id":172109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:56] local.INFO: Extracted packet for processing {"connection_id":172109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756565632,"raw_latitude":119721424,"longitude_deg":75.6565632,"latitude_deg":11.9721424,"altitude":121,"angle":359,"satellites":41,"speed":21,"hex_longitude":"2d184680","hex_latitude":"0722cdd0","is_valid_coordinates":true} 
[2026-09-04 13:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858672128001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17254893672726528,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749578117137195008,"note":"Value kept but may cause issues"} 
[2026-09-04 13:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788510444000,"timestamp_ms":1788510444000,"timestamp_seconds":1788510444,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8799e0"} 
[2026-09-04 13:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 13:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858672128001,"66":13961,"112":206,"28":31744,"24":21,"16":17254893672726528,"45":1749578117137195008},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-04 13:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858672128001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:58:56] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-04 13:58:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17254893672726528,"km_value":17254893672726.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749578117137195008,"description":"Unknown IO ID 45"} 
[2026-09-04 13:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858672128001,"power":13961,"unknown_112":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1749578117137195008}} 
[2026-09-04 13:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":172109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:58:56] local.INFO: GPS data processed {"connection_id":172109,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:58:56] local.INFO: Acknowledgment sent {"connection_id":172109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:58:59] local.INFO: TCP Data received {"connection_id":170693,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:58:59] local.INFO: Processing buffer {"connection_id":170693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:58:59] local.INFO: IMEI packet received {"connection_id":170693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":170693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:58:59] local.INFO: TCP Data received {"connection_id":173413,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:59] local.INFO: Processing buffer {"connection_id":173413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:58:59] local.INFO: IMEI packet received {"connection_id":173413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":173413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:59:00] local.INFO: TCP Data received {"connection_id":170693,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:59:00] local.INFO: Processing buffer {"connection_id":170693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:59:00] local.INFO: Packet analysis {"connection_id":170693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:59:00] local.INFO: Extracted packet for processing {"connection_id":170693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:59:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858588160001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788510411000,"timestamp_ms":1788510411000,"timestamp_seconds":1788510411,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8718f8"} 
[2026-09-04 13:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-04 13:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858588160001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858588160001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:59:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:59:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858588160001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":170693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762723,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:59:00] local.INFO: GPS data processed {"connection_id":170693,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:59:00] local.INFO: Acknowledgment sent {"connection_id":170693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:59:03] local.INFO: TCP Data received {"connection_id":173413,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:59:03] local.INFO: Processing buffer {"connection_id":173413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:59:03] local.INFO: IMEI packet received {"connection_id":173413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 13:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":173413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:59:04] local.INFO: TCP Data received {"connection_id":173413,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b879dc8012cc34400075fbe18001e003a33..."} 
[2026-09-04 13:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b879dc8012cc34400075fbe18001e003a33..."} 
[2026-09-04 13:59:04] local.INFO: Processing buffer {"connection_id":173413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b879dc8012cc34400075fbe18001e003a33..."} 
[2026-09-04 13:59:04] local.INFO: Packet analysis {"connection_id":173413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:59:04] local.INFO: Extracted packet for processing {"connection_id":173413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:59:04] local.INFO: GPS Element Parsed {"raw_longitude":750994432,"raw_latitude":123715096,"longitude_deg":75.0994432,"latitude_deg":12.3715096,"altitude":30,"angle":58,"satellites":51,"speed":48,"hex_longitude":"2cc34400","hex_latitude":"075fbe18","is_valid_coordinates":true} 
[2026-09-04 13:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858673152001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397912691156451328,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379750605947312128,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788510445000,"timestamp_ms":1788510445000,"timestamp_seconds":1788510445,"priority":1,"record_length":96,"hex_timestamp":"000001a06b879dc8"} 
[2026-09-04 13:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 13:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858673152001,"66":27865,"187":206,"85":37120,"24":48,"16":397912691156451328,"44":-4379750605947312128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,44]} 
[2026-09-04 13:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858673152001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:59:04] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-04 13:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397912691156451328,"km_value":397912691156451.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:59:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379750605947312128,"description":"Unknown IO ID 44"} 
[2026-09-04 13:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858673152001,"power":27865,"unknown_187":206,"unknown_85":37120,"ignition":48,"odometer":null,"unknown_44":-4379750605947312128}} 
[2026-09-04 13:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":173413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:59:04] local.INFO: GPS data processed {"connection_id":173413,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:59:04] local.INFO: Acknowledgment sent {"connection_id":173413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:59:05] local.INFO: TCP Data received {"connection_id":170693,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:59:05] local.INFO: Processing buffer {"connection_id":170693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:59:05] local.INFO: Packet analysis {"connection_id":170693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:59:05] local.INFO: Extracted packet for processing {"connection_id":170693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858588160001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788510411000,"timestamp_ms":1788510411000,"timestamp_seconds":1788510411,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8718f8"} 
[2026-09-04 13:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-04 13:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858588160001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858588160001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:59:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858588160001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":170693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:59:05] local.INFO: GPS data processed {"connection_id":170693,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:59:05] local.INFO: Acknowledgment sent {"connection_id":170693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:59:27] local.INFO: TCP Data received {"connection_id":172109,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b88baf0012d17c2c00722ebf00084013328..."} 
[2026-09-04 13:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b88baf0012d17c2c00722ebf00084013328..."} 
[2026-09-04 13:59:27] local.INFO: Processing buffer {"connection_id":172109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b88baf0012d17c2c00722ebf00084013328..."} 
[2026-09-04 13:59:27] local.INFO: Packet analysis {"connection_id":172109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b88"} 
[2026-09-04 13:59:27] local.INFO: Extracted packet for processing {"connection_id":172109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b88"} 
[2026-09-04 13:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756531904,"raw_latitude":119729136,"longitude_deg":75.6531904,"latitude_deg":11.9729136,"altitude":132,"angle":307,"satellites":40,"speed":13,"hex_longitude":"2d17c2c0","hex_latitude":"0722ebf0","is_valid_coordinates":true} 
[2026-09-04 13:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858692096001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17256860767748096,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712704895190745088,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788510518000,"timestamp_ms":1788510518000,"timestamp_seconds":1788510518,"priority":1,"record_length":96,"hex_timestamp":"000001a06b88baf0"} 
[2026-09-04 13:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-04 13:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 13:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 13:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 13:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858692096001,"66":14298,"70":206,"28":31744,"24":13,"16":17256860767748096,"45":1712704895190745088},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 13:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 13:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 13:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858692096001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:59:27] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 13:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 13:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17256860767748096,"km_value":17256860767748.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712704895190745088,"description":"Unknown IO ID 45"} 
[2026-09-04 13:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858692096001,"power":14298,"unknown_70":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1712704895190745088}} 
[2026-09-04 13:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":172109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:59:27] local.INFO: GPS data processed {"connection_id":172109,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:59:27] local.INFO: Acknowledgment sent {"connection_id":172109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:59:34] local.INFO: TCP Data received {"connection_id":173413,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b87b920012cc35dc0075fcfe00022002b33..."} 
[2026-09-04 13:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b87b920012cc35dc0075fcfe00022002b33..."} 
[2026-09-04 13:59:34] local.INFO: Processing buffer {"connection_id":173413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b87b920012cc35dc0075fcfe00022002b33..."} 
[2026-09-04 13:59:34] local.INFO: Packet analysis {"connection_id":173413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:59:34] local.INFO: Extracted packet for processing {"connection_id":173413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:59:34] local.INFO: GPS Element Parsed {"raw_longitude":751001024,"raw_latitude":123719648,"longitude_deg":75.1001024,"latitude_deg":12.3719648,"altitude":34,"angle":43,"satellites":51,"speed":43,"hex_longitude":"2cc35dc0","hex_latitude":"075fcfe0","is_valid_coordinates":true} 
[2026-09-04 13:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858673920001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397913077703507968,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4376372906226214912,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788510452000,"timestamp_ms":1788510452000,"timestamp_seconds":1788510452,"priority":1,"record_length":96,"hex_timestamp":"000001a06b87b920"} 
[2026-09-04 13:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 13:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 13:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 13:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 13:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 13:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858673920001,"66":27832,"187":206,"85":37120,"24":43,"16":397913077703507968,"44":-4376372906226214912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,44]} 
[2026-09-04 13:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 13:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 13:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858673920001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:59:34] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-04 13:59:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 13:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397913077703507968,"km_value":397913077703507.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:59:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4376372906226214912,"description":"Unknown IO ID 44"} 
[2026-09-04 13:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858673920001,"power":27832,"unknown_187":206,"unknown_85":37120,"ignition":43,"odometer":null,"unknown_44":-4376372906226214912}} 
[2026-09-04 13:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":173413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:59:34] local.INFO: GPS data processed {"connection_id":173413,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:59:34] local.INFO: Acknowledgment sent {"connection_id":173413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:59:49] local.INFO: TCP Data received {"connection_id":172110,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:59:49] local.INFO: Processing buffer {"connection_id":172110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:59:49] local.INFO: IMEI packet received {"connection_id":172110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 13:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":172110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:59:51] local.INFO: TCP Data received {"connection_id":170997,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:59:51] local.INFO: Processing buffer {"connection_id":170997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:59:51] local.INFO: IMEI packet received {"connection_id":170997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 13:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":170997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 13:59:53] local.INFO: TCP Data received {"connection_id":170997,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:59:53] local.INFO: Processing buffer {"connection_id":170997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:59:53] local.INFO: IMEI packet received {"connection_id":170997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":170997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:59:54] local.INFO: TCP Data received {"connection_id":172110,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:59:54] local.INFO: Processing buffer {"connection_id":172110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 13:59:54] local.INFO: IMEI packet received {"connection_id":172110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 13:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":172110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:59:56] local.INFO: TCP Data received {"connection_id":172110,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:59:56] local.INFO: Processing buffer {"connection_id":172110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 13:59:56] local.INFO: Packet analysis {"connection_id":172110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:59:56] local.INFO: Extracted packet for processing {"connection_id":172110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 13:59:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 13:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 13:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858588160001,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 13:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 13:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788510411000,"timestamp_ms":1788510411000,"timestamp_seconds":1788510411,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8718f8"} 
[2026-09-04 13:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 13:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 13:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-04 13:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 13:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 13:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 13:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 13:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 13:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 13:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 13:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 13:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 13:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858588160001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 13:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 13:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 13:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858588160001,"description":"Unknown IO ID 0"} 
[2026-09-04 13:59:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 13:59:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 13:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 13:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 13:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858588160001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 13:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":172110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 13:59:56] local.INFO: GPS data processed {"connection_id":172110,"processed":1,"errors":0,"total":1} 
[2026-09-04 13:59:56] local.INFO: Acknowledgment sent {"connection_id":172110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 13:59:58] local.INFO: TCP Data received {"connection_id":170997,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:59:58] local.INFO: Processing buffer {"connection_id":170997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 13:59:58] local.INFO: IMEI packet received {"connection_id":170997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 13:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":170997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 13:59:59] local.INFO: TCP Data received {"connection_id":170694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:59:59] local.INFO: Processing buffer {"connection_id":170694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 13:59:59] local.INFO: IMEI packet received {"connection_id":170694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 13:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":170694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:00:00] local.INFO: TCP Data received {"connection_id":170694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:00:00] local.INFO: Processing buffer {"connection_id":170694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:00:00] local.INFO: IMEI packet received {"connection_id":170694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":170694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:00:03] local.INFO: TCP Data received {"connection_id":170997,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b88da30012d17b7c00722f4900083011e27..."} 
[2026-09-04 14:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b88da30012d17b7c00722f4900083011e27..."} 
[2026-09-04 14:00:03] local.INFO: Processing buffer {"connection_id":170997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b88da30012d17b7c00722f4900083011e27..."} 
[2026-09-04 14:00:03] local.INFO: Packet analysis {"connection_id":170997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b88"} 
[2026-09-04 14:00:03] local.INFO: Extracted packet for processing {"connection_id":170997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b88"} 
[2026-09-04 14:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756529088,"raw_latitude":119731344,"longitude_deg":75.6529088,"latitude_deg":11.9731344,"altitude":131,"angle":286,"satellites":39,"speed":11,"hex_longitude":"2d17b7c0","hex_latitude":"0722f490","is_valid_coordinates":true} 
[2026-09-04 14:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858692608001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17257032566439936,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712141945237401600,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788510526000,"timestamp_ms":1788510526000,"timestamp_seconds":1788510526,"priority":1,"record_length":96,"hex_timestamp":"000001a06b88da30"} 
[2026-09-04 14:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 14:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":170997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":170997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":170997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858692608001,"66":14374,"70":206,"28":31744,"24":11,"16":17257032566439936,"45":1712141945237401600},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 14:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858692608001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:00:03] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 14:00:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17257032566439936,"km_value":17257032566439.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712141945237401600,"description":"Unknown IO ID 45"} 
[2026-09-04 14:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858692608001,"power":14374,"unknown_70":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1712141945237401600}} 
[2026-09-04 14:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":170997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:00:03] local.INFO: GPS data processed {"connection_id":170997,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:00:03] local.INFO: Acknowledgment sent {"connection_id":170997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:00:04] local.INFO: TCP Data received {"connection_id":170694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:00:04] local.INFO: Processing buffer {"connection_id":170694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:00:04] local.INFO: IMEI packet received {"connection_id":170694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":170694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:00:04] local.INFO: TCP Data received {"connection_id":170997,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b88e200012d17b5400722f5900083013228..."} 
[2026-09-04 14:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b88e200012d17b5400722f5900083013228..."} 
[2026-09-04 14:00:04] local.INFO: Processing buffer {"connection_id":170997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b88e200012d17b5400722f5900083013228..."} 
[2026-09-04 14:00:04] local.INFO: Packet analysis {"connection_id":170997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b88"} 
[2026-09-04 14:00:04] local.INFO: Extracted packet for processing {"connection_id":170997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b88"} 
[2026-09-04 14:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756528448,"raw_latitude":119731600,"longitude_deg":75.6528448,"latitude_deg":11.97316,"altitude":131,"angle":306,"satellites":40,"speed":11,"hex_longitude":"2d17b540","hex_latitude":"0722f590","is_valid_coordinates":true} 
[2026-09-04 14:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858694656001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17257062631211008,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709045720494149632,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788510528000,"timestamp_ms":1788510528000,"timestamp_seconds":1788510528,"priority":1,"record_length":96,"hex_timestamp":"000001a06b88e200"} 
[2026-09-04 14:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-04 14:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858694656001,"66":14276,"70":206,"28":31744,"24":11,"16":17257062631211008,"45":1709045720494149632},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 14:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858694656001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:00:04] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 14:00:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17257062631211008,"km_value":17257062631211.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709045720494149632,"description":"Unknown IO ID 45"} 
[2026-09-04 14:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858694656001,"power":14276,"unknown_70":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1709045720494149632}} 
[2026-09-04 14:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":170997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:00:04] local.INFO: GPS data processed {"connection_id":170997,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:00:04] local.INFO: Acknowledgment sent {"connection_id":170997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:00:05] local.INFO: TCP Data received {"connection_id":170694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b88f970012cc339c007609468003f000e34..."} 
[2026-09-04 14:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b88f970012cc339c007609468003f000e34..."} 
[2026-09-04 14:00:05] local.INFO: Processing buffer {"connection_id":170694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b88f970012cc339c007609468003f000e34..."} 
[2026-09-04 14:00:05] local.INFO: Packet analysis {"connection_id":170694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b88"} 
[2026-09-04 14:00:05] local.INFO: Extracted packet for processing {"connection_id":170694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b88"} 
[2026-09-04 14:00:05] local.INFO: GPS Element Parsed {"raw_longitude":750991808,"raw_latitude":123769960,"longitude_deg":75.0991808,"latitude_deg":12.376996,"altitude":63,"angle":14,"satellites":52,"speed":25,"hex_longitude":"2cc339c0","hex_latitude":"07609468","is_valid_coordinates":true} 
[2026-09-04 14:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858692864001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397915706223493120,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381509824539469824,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788510534000,"timestamp_ms":1788510534000,"timestamp_seconds":1788510534,"priority":1,"record_length":96,"hex_timestamp":"000001a06b88f970"} 
[2026-09-04 14:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 14:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858692864001,"66":27876,"179":206,"85":37120,"24":25,"16":397915706223493120,"44":-4381509824539469824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-04 14:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858692864001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:00:05] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-04 14:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 14:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397915706223493120,"km_value":397915706223493.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381509824539469824,"description":"Unknown IO ID 44"} 
[2026-09-04 14:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858692864001,"power":27876,"unknown_179":206,"unknown_85":37120,"ignition":25,"odometer":null,"unknown_44":-4381509824539469824}} 
[2026-09-04 14:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":170694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:00:05] local.INFO: GPS data processed {"connection_id":170694,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:00:05] local.INFO: Acknowledgment sent {"connection_id":170694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:00:27] local.INFO: TCP Data received {"connection_id":172110,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:00:27] local.INFO: Processing buffer {"connection_id":172110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:00:27] local.INFO: Packet analysis {"connection_id":172110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 14:00:27] local.INFO: Extracted packet for processing {"connection_id":172110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 14:00:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858588160001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788510411000,"timestamp_ms":1788510411000,"timestamp_seconds":1788510411,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8718f8"} 
[2026-09-04 14:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-04 14:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858588160001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858588160001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:00:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:00:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858588160001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":172110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:00:27] local.INFO: GPS data processed {"connection_id":172110,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:00:27] local.INFO: Acknowledgment sent {"connection_id":172110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:00:36] local.INFO: TCP Data received {"connection_id":170694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b892468012cc343400760aea80042001c36..."} 
[2026-09-04 14:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b892468012cc343400760aea80042001c36..."} 
[2026-09-04 14:00:36] local.INFO: Processing buffer {"connection_id":170694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b892468012cc343400760aea80042001c36..."} 
[2026-09-04 14:00:36] local.INFO: Packet analysis {"connection_id":170694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b89"} 
[2026-09-04 14:00:36] local.INFO: Extracted packet for processing {"connection_id":170694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b89"} 
[2026-09-04 14:00:36] local.INFO: GPS Element Parsed {"raw_longitude":750994240,"raw_latitude":123776680,"longitude_deg":75.099424,"latitude_deg":12.377668,"altitude":66,"angle":28,"satellites":54,"speed":27,"hex_longitude":"2cc34340","hex_latitude":"0760aea8","is_valid_coordinates":true} 
[2026-09-04 14:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858696704001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397916054115844096,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379258024723453952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788510545000,"timestamp_ms":1788510545000,"timestamp_seconds":1788510545,"priority":1,"record_length":96,"hex_timestamp":"000001a06b892468"} 
[2026-09-04 14:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 14:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858696704001,"66":27832,"179":206,"85":37120,"24":27,"16":397916054115844096,"44":-4379258024723453952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-04 14:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858696704001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:00:36] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-04 14:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 14:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397916054115844096,"km_value":397916054115844.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:00:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379258024723453952,"description":"Unknown IO ID 44"} 
[2026-09-04 14:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858696704001,"power":27832,"unknown_179":206,"unknown_85":37120,"ignition":27,"odometer":null,"unknown_44":-4379258024723453952}} 
[2026-09-04 14:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":170694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:00:36] local.INFO: GPS data processed {"connection_id":170694,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:00:36] local.INFO: Acknowledgment sent {"connection_id":170694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:00:47] local.INFO: TCP Data received {"connection_id":173414,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:00:47] local.INFO: Processing buffer {"connection_id":173414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:00:47] local.INFO: IMEI packet received {"connection_id":173414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":173414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:00:48] local.INFO: TCP Data received {"connection_id":173414,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:00:48] local.INFO: Processing buffer {"connection_id":173414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:00:48] local.INFO: IMEI packet received {"connection_id":173414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":173414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:00:49] local.INFO: TCP Data received {"connection_id":172111,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:00:49] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:00:49] local.INFO: IMEI packet received {"connection_id":172111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":172111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:00:53] local.INFO: TCP Data received {"connection_id":173414,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:00:53] local.INFO: Processing buffer {"connection_id":173414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:00:53] local.INFO: IMEI packet received {"connection_id":173414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":173414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:00:54] local.INFO: TCP Data received {"connection_id":172111,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:00:54] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:00:54] local.INFO: IMEI packet received {"connection_id":172111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":172111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:00:55] local.INFO: TCP Data received {"connection_id":173414,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b89eba0012d16e3800722f040007b010e25..."} 
[2026-09-04 14:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b89eba0012d16e3800722f040007b010e25..."} 
[2026-09-04 14:00:55] local.INFO: Processing buffer {"connection_id":173414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b89eba0012d16e3800722f040007b010e25..."} 
[2026-09-04 14:00:55] local.INFO: Packet analysis {"connection_id":173414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b89"} 
[2026-09-04 14:00:55] local.INFO: Extracted packet for processing {"connection_id":173414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b89"} 
[2026-09-04 14:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756474752,"raw_latitude":119730240,"longitude_deg":75.6474752,"latitude_deg":11.973024,"altitude":123,"angle":270,"satellites":37,"speed":34,"hex_longitude":"2d16e380","hex_latitude":"0722f040","is_valid_coordinates":true} 
[2026-09-04 14:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858709760001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17259652496490496,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1659787599569825792,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788510596000,"timestamp_ms":1788510596000,"timestamp_seconds":1788510596,"priority":1,"record_length":96,"hex_timestamp":"000001a06b89eba0"} 
[2026-09-04 14:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 14:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858709760001,"66":12341,"72":206,"28":31744,"24":34,"16":17259652496490496,"45":1659787599569825792},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,28,24,16,45]} 
[2026-09-04 14:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858709760001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:00:55] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-04 14:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17259652496490496,"km_value":17259652496490.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1659787599569825792,"description":"Unknown IO ID 45"} 
[2026-09-04 14:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858709760001,"power":12341,"unknown_72":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1659787599569825792}} 
[2026-09-04 14:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":173414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:00:55] local.INFO: GPS data processed {"connection_id":173414,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:00:55] local.INFO: Acknowledgment sent {"connection_id":173414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:00:55] local.INFO: TCP Data received {"connection_id":172111,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:00:55] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:00:55] local.INFO: Packet analysis {"connection_id":172111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 14:00:55] local.INFO: Extracted packet for processing {"connection_id":172111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 14:00:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858588160001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788510411000,"timestamp_ms":1788510411000,"timestamp_seconds":1788510411,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8718f8"} 
[2026-09-04 14:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-04 14:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858588160001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858588160001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:00:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858588160001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":172111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:00:55] local.INFO: GPS data processed {"connection_id":172111,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:00:55] local.INFO: Acknowledgment sent {"connection_id":172111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:00:59] local.INFO: TCP Data received {"connection_id":170998,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:00:59] local.INFO: Processing buffer {"connection_id":170998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:00:59] local.INFO: IMEI packet received {"connection_id":170998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":170998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:01:02] local.INFO: TCP Data received {"connection_id":170998,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:01:02] local.INFO: Processing buffer {"connection_id":170998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:01:02] local.INFO: IMEI packet received {"connection_id":170998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":170998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:01:04] local.INFO: TCP Data received {"connection_id":170998,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:01:04] local.INFO: Processing buffer {"connection_id":170998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:01:04] local.INFO: IMEI packet received {"connection_id":170998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":170998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:01:05] local.INFO: TCP Data received {"connection_id":170998,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b895348012cc358800760cce00044002136..."} 
[2026-09-04 14:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b895348012cc358800760cce00044002136..."} 
[2026-09-04 14:01:05] local.INFO: Processing buffer {"connection_id":170998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b895348012cc358800760cce00044002136..."} 
[2026-09-04 14:01:05] local.INFO: Packet analysis {"connection_id":170998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b89"} 
[2026-09-04 14:01:05] local.INFO: Extracted packet for processing {"connection_id":170998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b89"} 
[2026-09-04 14:01:05] local.INFO: GPS Element Parsed {"raw_longitude":750999680,"raw_latitude":123784416,"longitude_deg":75.099968,"latitude_deg":12.3784416,"altitude":68,"angle":33,"satellites":54,"speed":36,"hex_longitude":"2cc35880","hex_latitude":"0760cce0","is_valid_coordinates":true} 
[2026-09-04 14:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858699520001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397916509382377472,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4376584012442982400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788510557000,"timestamp_ms":1788510557000,"timestamp_seconds":1788510557,"priority":1,"record_length":96,"hex_timestamp":"000001a06b895348"} 
[2026-09-04 14:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 14:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858699520001,"66":27919,"179":206,"85":37120,"24":36,"16":397916509382377472,"44":-4376584012442982400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-04 14:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858699520001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:01:05] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-04 14:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 14:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397916509382377472,"km_value":397916509382377.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4376584012442982400,"description":"Unknown IO ID 44"} 
[2026-09-04 14:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858699520001,"power":27919,"unknown_179":206,"unknown_85":37120,"ignition":36,"odometer":null,"unknown_44":-4376584012442982400}} 
[2026-09-04 14:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":170998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:01:05] local.INFO: GPS data processed {"connection_id":170998,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:01:05] local.INFO: Acknowledgment sent {"connection_id":170998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:01:26] local.INFO: TCP Data received {"connection_id":173414,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b89eba0012d16e3800722f040007b010e25..."} 
[2026-09-04 14:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b89eba0012d16e3800722f040007b010e25..."} 
[2026-09-04 14:01:26] local.INFO: Processing buffer {"connection_id":173414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b89eba0012d16e3800722f040007b010e25..."} 
[2026-09-04 14:01:26] local.INFO: Packet analysis {"connection_id":173414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b89"} 
[2026-09-04 14:01:26] local.INFO: Extracted packet for processing {"connection_id":173414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b89"} 
[2026-09-04 14:01:26] local.INFO: GPS Element Parsed {"raw_longitude":756474752,"raw_latitude":119730240,"longitude_deg":75.6474752,"latitude_deg":11.973024,"altitude":123,"angle":270,"satellites":37,"speed":34,"hex_longitude":"2d16e380","hex_latitude":"0722f040","is_valid_coordinates":true} 
[2026-09-04 14:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858712576001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17259652496490496,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1649302656687030272,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788510596000,"timestamp_ms":1788510596000,"timestamp_seconds":1788510596,"priority":1,"record_length":96,"hex_timestamp":"000001a06b89eba0"} 
[2026-09-04 14:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 14:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858712576001,"66":12341,"72":206,"28":31744,"24":34,"16":17259652496490496,"45":1649302656687030272},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,28,24,16,45]} 
[2026-09-04 14:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858712576001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:01:26] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-04 14:01:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17259652496490496,"km_value":17259652496490.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1649302656687030272,"description":"Unknown IO ID 45"} 
[2026-09-04 14:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858712576001,"power":12341,"unknown_72":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1649302656687030272}} 
[2026-09-04 14:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":173414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:01:26] local.INFO: GPS data processed {"connection_id":173414,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:01:26] local.INFO: Acknowledgment sent {"connection_id":173414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:01:26] local.INFO: TCP Data received {"connection_id":172111,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:01:26] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:01:26] local.INFO: Packet analysis {"connection_id":172111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 14:01:26] local.INFO: Extracted packet for processing {"connection_id":172111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 14:01:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858588160001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788510411000,"timestamp_ms":1788510411000,"timestamp_seconds":1788510411,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8718f8"} 
[2026-09-04 14:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-04 14:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858588160001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858588160001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:01:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:01:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858588160001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":172111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:01:26] local.INFO: GPS data processed {"connection_id":172111,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:01:26] local.INFO: Acknowledgment sent {"connection_id":172111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:01:35] local.INFO: TCP Data received {"connection_id":170998,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8aa338012cc3970007623b600047000d33..."} 
[2026-09-04 14:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8aa338012cc3970007623b600047000d33..."} 
[2026-09-04 14:01:35] local.INFO: Processing buffer {"connection_id":170998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8aa338012cc3970007623b600047000d33..."} 
[2026-09-04 14:01:35] local.INFO: Packet analysis {"connection_id":170998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b8a"} 
[2026-09-04 14:01:35] local.INFO: Extracted packet for processing {"connection_id":170998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b8a"} 
[2026-09-04 14:01:35] local.INFO: GPS Element Parsed {"raw_longitude":751015680,"raw_latitude":123878240,"longitude_deg":75.101568,"latitude_deg":12.387824,"altitude":71,"angle":13,"satellites":51,"speed":38,"hex_longitude":"2cc39700","hex_latitude":"07623b60","is_valid_coordinates":true} 
[2026-09-04 14:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858722048001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397921152242024448,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4355262282933542912,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788510643000,"timestamp_ms":1788510643000,"timestamp_seconds":1788510643,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8aa338"} 
[2026-09-04 14:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858722048001,"66":27843,"2":206,"85":37120,"24":38,"16":397921152242024448,"44":-4355262282933542912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-04 14:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858722048001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:01:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 14:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397921152242024448,"km_value":397921152242024.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:01:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4355262282933542912,"description":"Unknown IO ID 44"} 
[2026-09-04 14:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858722048001,"power":27843,"power_alt":206,"unknown_85":37120,"ignition":38,"odometer":null,"unknown_44":-4355262282933542912}} 
[2026-09-04 14:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":170998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:01:35] local.INFO: GPS data processed {"connection_id":170998,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:01:35] local.INFO: Acknowledgment sent {"connection_id":170998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:01:46] local.INFO: TCP Data received {"connection_id":173415,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:01:46] local.INFO: Processing buffer {"connection_id":173415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:01:46] local.INFO: IMEI packet received {"connection_id":173415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":173415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:01:47] local.INFO: TCP Data received {"connection_id":173415,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:01:47] local.INFO: Processing buffer {"connection_id":173415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:01:47] local.INFO: IMEI packet received {"connection_id":173415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":173415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:01:48] local.INFO: TCP Data received {"connection_id":173415,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:01:48] local.INFO: Processing buffer {"connection_id":173415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:01:48] local.INFO: IMEI packet received {"connection_id":173415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:01:49] local.INFO: TCP Data received {"connection_id":173415,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:01:49] local.INFO: Processing buffer {"connection_id":173415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:01:49] local.INFO: IMEI packet received {"connection_id":173415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":173415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:01:49] local.INFO: TCP Data received {"connection_id":170999,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:01:49] local.INFO: Processing buffer {"connection_id":170999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:01:49] local.INFO: IMEI packet received {"connection_id":170999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":170999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:01:54] local.INFO: TCP Data received {"connection_id":170999,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:01:54] local.INFO: Processing buffer {"connection_id":170999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:01:54] local.INFO: IMEI packet received {"connection_id":170999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":170999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:01:55] local.INFO: TCP Data received {"connection_id":170999,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:01:55] local.INFO: Processing buffer {"connection_id":170999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:01:55] local.INFO: Packet analysis {"connection_id":170999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 14:01:55] local.INFO: Extracted packet for processing {"connection_id":170999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 14:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858588160001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788510411000,"timestamp_ms":1788510411000,"timestamp_seconds":1788510411,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8718f8"} 
[2026-09-04 14:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-04 14:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858588160001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858588160001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:01:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858588160001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":170999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762740,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:01:56] local.INFO: GPS data processed {"connection_id":170999,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:01:56] local.INFO: Acknowledgment sent {"connection_id":170999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:01:59] local.INFO: TCP Data received {"connection_id":170695,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:01:59] local.INFO: Processing buffer {"connection_id":170695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:01:59] local.INFO: IMEI packet received {"connection_id":170695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":170695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:01:59] local.INFO: TCP Data received {"connection_id":170695,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 14:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170695,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 14:01:59] local.INFO: Processing buffer {"connection_id":170695,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 14:01:59] local.INFO: IMEI packet received {"connection_id":170695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":170695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:02:02] local.INFO: TCP Data received {"connection_id":170695,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:02:02] local.INFO: Processing buffer {"connection_id":170695,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 14:02:02] local.INFO: IMEI packet received {"connection_id":170695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":170695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:02:27] local.INFO: TCP Data received {"connection_id":170999,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:02:27] local.INFO: Processing buffer {"connection_id":170999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8718f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:02:27] local.INFO: Packet analysis {"connection_id":170999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 14:02:27] local.INFO: Extracted packet for processing {"connection_id":170999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b87"} 
[2026-09-04 14:02:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858588160001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788510411000,"timestamp_ms":1788510411000,"timestamp_seconds":1788510411,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8718f8"} 
[2026-09-04 14:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-04 14:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858588160001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858588160001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:02:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:02:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858588160001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":170999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762741,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:02:27] local.INFO: GPS data processed {"connection_id":170999,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:02:27] local.INFO: Acknowledgment sent {"connection_id":170999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:02:49] local.INFO: TCP Data received {"connection_id":172113,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:02:49] local.INFO: Processing buffer {"connection_id":172113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:02:49] local.INFO: IMEI packet received {"connection_id":172113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":172113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:02:54] local.INFO: TCP Data received {"connection_id":172113,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:02:54] local.INFO: Processing buffer {"connection_id":172113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:02:54] local.INFO: IMEI packet received {"connection_id":172113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":172113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:02:55] local.INFO: TCP Data received {"connection_id":172113,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:02:56] local.INFO: Processing buffer {"connection_id":172113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:02:56] local.INFO: Packet analysis {"connection_id":172113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:02:56] local.INFO: Extracted packet for processing {"connection_id":172113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:02:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858665216001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788510712000,"timestamp_ms":1788510712000,"timestamp_seconds":1788510712,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8bb0c0"} 
[2026-09-04 14:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858665216001,"66":24636,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858665216001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:02:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:02:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858665216001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":172113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:02:56] local.INFO: GPS data processed {"connection_id":172113,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:02:56] local.INFO: Acknowledgment sent {"connection_id":172113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:03:27] local.INFO: TCP Data received {"connection_id":172113,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:03:27] local.INFO: Processing buffer {"connection_id":172113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:03:27] local.INFO: Packet analysis {"connection_id":172113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:03:27] local.INFO: Extracted packet for processing {"connection_id":172113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:03:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858665216001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788510712000,"timestamp_ms":1788510712000,"timestamp_seconds":1788510712,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8bb0c0"} 
[2026-09-04 14:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858665216001,"66":24636,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858665216001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:03:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:03:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858665216001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":172113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762743,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:03:27] local.INFO: GPS data processed {"connection_id":172113,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:03:27] local.INFO: Acknowledgment sent {"connection_id":172113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:03:54] local.INFO: TCP Data received {"connection_id":171001,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:03:54] local.INFO: Processing buffer {"connection_id":171001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:03:54] local.INFO: IMEI packet received {"connection_id":171001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":171001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:03:59] local.INFO: TCP Data received {"connection_id":171001,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:03:59] local.INFO: Processing buffer {"connection_id":171001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:03:59] local.INFO: IMEI packet received {"connection_id":171001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":171001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:04:01] local.INFO: TCP Data received {"connection_id":171001,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:04:01] local.INFO: Processing buffer {"connection_id":171001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:04:01] local.INFO: Packet analysis {"connection_id":171001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:04:01] local.INFO: Extracted packet for processing {"connection_id":171001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:04:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858665216001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788510712000,"timestamp_ms":1788510712000,"timestamp_seconds":1788510712,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8bb0c0"} 
[2026-09-04 14:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858665216001,"66":24636,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858665216001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:04:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:04:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858665216001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":171001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:04:01] local.INFO: GPS data processed {"connection_id":171001,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:04:01] local.INFO: Acknowledgment sent {"connection_id":171001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:04:32] local.INFO: TCP Data received {"connection_id":171001,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:04:32] local.INFO: Processing buffer {"connection_id":171001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:04:32] local.INFO: Packet analysis {"connection_id":171001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:04:32] local.INFO: Extracted packet for processing {"connection_id":171001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:04:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858665216001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788510712000,"timestamp_ms":1788510712000,"timestamp_seconds":1788510712,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8bb0c0"} 
[2026-09-04 14:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858665216001,"66":24636,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858665216001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:04:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:04:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858665216001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":171001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762745,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:04:32] local.INFO: GPS data processed {"connection_id":171001,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:04:32] local.INFO: Acknowledgment sent {"connection_id":171001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:04:54] local.INFO: TCP Data received {"connection_id":173418,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:04:54] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:04:54] local.INFO: IMEI packet received {"connection_id":173418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":173418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:04:59] local.INFO: TCP Data received {"connection_id":173418,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:04:59] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:04:59] local.INFO: IMEI packet received {"connection_id":173418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":173418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:05:00] local.INFO: TCP Data received {"connection_id":173418,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:05:00] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:05:00] local.INFO: Packet analysis {"connection_id":173418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:05:00] local.INFO: Extracted packet for processing {"connection_id":173418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:05:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858665216001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788510712000,"timestamp_ms":1788510712000,"timestamp_seconds":1788510712,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8bb0c0"} 
[2026-09-04 14:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858665216001,"66":24636,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858665216001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:05:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:05:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858665216001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":173418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762746,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:05:01] local.INFO: GPS data processed {"connection_id":173418,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:05:01] local.INFO: Acknowledgment sent {"connection_id":173418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:05:05] local.INFO: TCP Data received {"connection_id":173418,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:05:05] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:05:05] local.INFO: Packet analysis {"connection_id":173418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:05:05] local.INFO: Extracted packet for processing {"connection_id":173418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858665216001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788510712000,"timestamp_ms":1788510712000,"timestamp_seconds":1788510712,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8bb0c0"} 
[2026-09-04 14:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858665216001,"66":24636,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858665216001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:05:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:05:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858665216001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":173418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762747,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:05:05] local.INFO: GPS data processed {"connection_id":173418,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:05:05] local.INFO: Acknowledgment sent {"connection_id":173418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:05:49] local.INFO: TCP Data received {"connection_id":172115,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:05:49] local.INFO: Processing buffer {"connection_id":172115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:05:49] local.INFO: IMEI packet received {"connection_id":172115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":172115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:05:54] local.INFO: TCP Data received {"connection_id":172115,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:05:54] local.INFO: Processing buffer {"connection_id":172115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:05:54] local.INFO: IMEI packet received {"connection_id":172115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":172115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:05:55] local.INFO: TCP Data received {"connection_id":172115,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:05:55] local.INFO: Processing buffer {"connection_id":172115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:05:55] local.INFO: Packet analysis {"connection_id":172115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:05:55] local.INFO: Extracted packet for processing {"connection_id":172115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:05:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858665216001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788510712000,"timestamp_ms":1788510712000,"timestamp_seconds":1788510712,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8bb0c0"} 
[2026-09-04 14:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858665216001,"66":24636,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858665216001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:05:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:05:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858665216001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":172115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:05:55] local.INFO: GPS data processed {"connection_id":172115,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:05:55] local.INFO: Acknowledgment sent {"connection_id":172115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:06:27] local.INFO: TCP Data received {"connection_id":172115,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:06:27] local.INFO: Processing buffer {"connection_id":172115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:06:27] local.INFO: Packet analysis {"connection_id":172115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:06:27] local.INFO: Extracted packet for processing {"connection_id":172115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:06:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858665216001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788510712000,"timestamp_ms":1788510712000,"timestamp_seconds":1788510712,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8bb0c0"} 
[2026-09-04 14:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858665216001,"66":24636,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858665216001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:06:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:06:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858665216001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":172115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762749,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:06:27] local.INFO: GPS data processed {"connection_id":172115,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:06:27] local.INFO: Acknowledgment sent {"connection_id":172115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:06:49] local.INFO: TCP Data received {"connection_id":170698,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:06:49] local.INFO: Processing buffer {"connection_id":170698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:06:49] local.INFO: IMEI packet received {"connection_id":170698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":170698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:06:52] local.INFO: TCP Data received {"connection_id":172116,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:06:52] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:06:52] local.INFO: IMEI packet received {"connection_id":172116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":172116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:06:53] local.INFO: TCP Data received {"connection_id":172116,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:06:53] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:06:53] local.INFO: IMEI packet received {"connection_id":172116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":172116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:06:54] local.INFO: TCP Data received {"connection_id":170698,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:06:54] local.INFO: Processing buffer {"connection_id":170698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:06:54] local.INFO: IMEI packet received {"connection_id":170698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":170698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:06:55] local.INFO: TCP Data received {"connection_id":172116,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:06:55] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:06:55] local.INFO: IMEI packet received {"connection_id":172116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":172116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:06:55] local.INFO: TCP Data received {"connection_id":170698,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:06:55] local.INFO: Processing buffer {"connection_id":170698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:06:55] local.INFO: Packet analysis {"connection_id":170698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:06:55] local.INFO: Extracted packet for processing {"connection_id":170698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:06:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858665216001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788510712000,"timestamp_ms":1788510712000,"timestamp_seconds":1788510712,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8bb0c0"} 
[2026-09-04 14:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858665216001,"66":24636,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858665216001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:06:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:06:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858665216001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":170698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:06:55] local.INFO: GPS data processed {"connection_id":170698,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:06:55] local.INFO: Acknowledgment sent {"connection_id":170698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:06:57] local.INFO: TCP Data received {"connection_id":172116,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8f46b8012d17fd400722f538008300562b..."} 
[2026-09-04 14:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8f46b8012d17fd400722f538008300562b..."} 
[2026-09-04 14:06:57] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8f46b8012d17fd400722f538008300562b..."} 
[2026-09-04 14:06:57] local.INFO: Packet analysis {"connection_id":172116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b8f"} 
[2026-09-04 14:06:57] local.INFO: Extracted packet for processing {"connection_id":172116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b8f"} 
[2026-09-04 14:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756546880,"raw_latitude":119731512,"longitude_deg":75.654688,"latitude_deg":11.9731512,"altitude":131,"angle":86,"satellites":43,"speed":29,"hex_longitude":"2d17fd40","hex_latitude":"0722f538","is_valid_coordinates":true} 
[2026-09-04 14:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858801664001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17268251021017088,"note":"Value kept but may cause issues"} 
[2026-09-04 14:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725934219096768512,"note":"Value kept but may cause issues"} 
[2026-09-04 14:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788510947000,"timestamp_ms":1788510947000,"timestamp_seconds":1788510947,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8f46b8"} 
[2026-09-04 14:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 14:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858801664001,"66":14461,"70":206,"28":31744,"24":29,"16":17268251021017088,"45":1725934219096768512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 14:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858801664001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:06:57] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 14:06:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17268251021017088,"km_value":17268251021017.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725934219096768512,"description":"Unknown IO ID 45"} 
[2026-09-04 14:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858801664001,"power":14461,"unknown_70":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1725934219096768512}} 
[2026-09-04 14:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":172116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:06:57] local.INFO: GPS data processed {"connection_id":172116,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:06:57] local.INFO: Acknowledgment sent {"connection_id":172116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:06:58] local.INFO: TCP Data received {"connection_id":172116,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8f71b0012d1822c00722f818008000562a..."} 
[2026-09-04 14:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8f71b0012d1822c00722f818008000562a..."} 
[2026-09-04 14:06:58] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8f71b0012d1822c00722f818008000562a..."} 
[2026-09-04 14:06:58] local.INFO: Packet analysis {"connection_id":172116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b8f"} 
[2026-09-04 14:06:58] local.INFO: Extracted packet for processing {"connection_id":172116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b8f"} 
[2026-09-04 14:06:58] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119732248,"longitude_deg":75.655648,"latitude_deg":11.9732248,"altitude":128,"angle":86,"satellites":42,"speed":34,"hex_longitude":"2d1822c0","hex_latitude":"0722f818","is_valid_coordinates":true} 
[2026-09-04 14:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858802432001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17268710582517760,"note":"Value kept but may cause issues"} 
[2026-09-04 14:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728608231375583232,"note":"Value kept but may cause issues"} 
[2026-09-04 14:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788510958000,"timestamp_ms":1788510958000,"timestamp_seconds":1788510958,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8f71b0"} 
[2026-09-04 14:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-04 14:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858802432001,"66":14428,"70":206,"28":31744,"24":34,"16":17268710582517760,"45":1728608231375583232},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 14:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858802432001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:06:58] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 14:06:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17268710582517760,"km_value":17268710582517.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728608231375583232,"description":"Unknown IO ID 45"} 
[2026-09-04 14:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858802432001,"power":14428,"unknown_70":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1728608231375583232}} 
[2026-09-04 14:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":172116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:06:58] local.INFO: GPS data processed {"connection_id":172116,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:06:58] local.INFO: Acknowledgment sent {"connection_id":172116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:07:04] local.INFO: TCP Data received {"connection_id":171003,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:07:04] local.INFO: Processing buffer {"connection_id":171003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:07:04] local.INFO: IMEI packet received {"connection_id":171003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":171003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:07:04] local.INFO: TCP Data received {"connection_id":171003,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8ed188012cc11e000766e0480052012934..."} 
[2026-09-04 14:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8ed188012cc11e000766e0480052012934..."} 
[2026-09-04 14:07:04] local.INFO: Processing buffer {"connection_id":171003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8ed188012cc11e000766e0480052012934..."} 
[2026-09-04 14:07:04] local.INFO: Packet analysis {"connection_id":171003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b8e"} 
[2026-09-04 14:07:04] local.INFO: Extracted packet for processing {"connection_id":171003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b8e"} 
[2026-09-04 14:07:04] local.INFO: GPS Element Parsed {"raw_longitude":750853632,"raw_latitude":124182600,"longitude_deg":75.0853632,"latitude_deg":12.41826,"altitude":82,"angle":297,"satellites":52,"speed":59,"hex_longitude":"2cc11e00","hex_latitude":"0766e048","is_valid_coordinates":true} 
[2026-09-04 14:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858793216001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397939680730939392,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4522247312787898368,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788510917000,"timestamp_ms":1788510917000,"timestamp_seconds":1788510917,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8ed188"} 
[2026-09-04 14:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858793216001,"66":27865,"41":206,"85":37888,"24":59,"16":397939680730939392,"44":-4522247312787898368},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,44]} 
[2026-09-04 14:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858793216001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:07:04] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-04 14:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 14:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397939680730939392,"km_value":397939680730939.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:07:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4522247312787898368,"description":"Unknown IO ID 44"} 
[2026-09-04 14:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858793216001,"power":27865,"unknown_41":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4522247312787898368}} 
[2026-09-04 14:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":171003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:07:04] local.INFO: GPS data processed {"connection_id":171003,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:07:04] local.INFO: Acknowledgment sent {"connection_id":171003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:07:27] local.INFO: TCP Data received {"connection_id":170698,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:07:27] local.INFO: Processing buffer {"connection_id":170698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b8bb0c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:07:27] local.INFO: Packet analysis {"connection_id":170698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:07:27] local.INFO: Extracted packet for processing {"connection_id":170698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b8b"} 
[2026-09-04 14:07:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858665216001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788510712000,"timestamp_ms":1788510712000,"timestamp_seconds":1788510712,"priority":1,"record_length":96,"hex_timestamp":"000001a06b8bb0c0"} 
[2026-09-04 14:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858665216001,"66":24636,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858665216001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:07:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:07:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858665216001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":170698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:07:27] local.INFO: GPS data processed {"connection_id":170698,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:07:27] local.INFO: Acknowledgment sent {"connection_id":170698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:07:30] local.INFO: TCP Data received {"connection_id":172116,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b902178012d1851400722b7780078007629..."} 
[2026-09-04 14:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b902178012d1851400722b7780078007629..."} 
[2026-09-04 14:07:30] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b902178012d1851400722b7780078007629..."} 
[2026-09-04 14:07:30] local.INFO: Packet analysis {"connection_id":172116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:07:30] local.INFO: Extracted packet for processing {"connection_id":172116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:07:30] local.INFO: GPS Element Parsed {"raw_longitude":756568384,"raw_latitude":119715704,"longitude_deg":75.6568384,"latitude_deg":11.9715704,"altitude":120,"angle":118,"satellites":41,"speed":26,"hex_longitude":"2d185140","hex_latitude":"0722b778","is_valid_coordinates":true} 
[2026-09-04 14:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858816256001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17269831568982016,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751055860764383232,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788511003000,"timestamp_ms":1788511003000,"timestamp_seconds":1788511003,"priority":1,"record_length":96,"hex_timestamp":"000001a06b902178"} 
[2026-09-04 14:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 14:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986371003,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:30] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503863135961088,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:30] local.WARNING: Large IO value detected {"io_id":90,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:30] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":32769,"corrected_to":0} 
[2026-09-04 14:07:30] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2414016513,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:30] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3605528701,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880124622,"corrected_to":0} 
[2026-09-04 14:07:30] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84750651548443364,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:30] local.WARNING: Large IO value detected {"io_id":168,"raw_value":35747975548373760,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:30] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,70,28,24,241,158,16,90,160,21,45,64,187,121,41,10,66,13,191,122,42,246,192,1,240,12,107,34,4,113,205,22,215,72,232,40,239,56,2,61,7,126,206,168],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":246,"original":32769,"validated":0},{"io_id":205,"original":3880124622,"validated":0}]} 
[2026-09-04 14:07:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8719111991196057600,"timestamp_seconds":8719111991196058.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 14:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858816256001,"66":14341,"70":206,"28":31744,"24":26,"16":17269831568982016,"45":1751055860764383232},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 14:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858816256001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:07:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 14:07:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17269831568982016,"km_value":17269831568982.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751055860764383232,"description":"Unknown IO ID 45"} 
[2026-09-04 14:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858816256001,"power":14341,"unknown_70":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1751055860764383232}} 
[2026-09-04 14:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":172116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:07:30] local.INFO: GPS data processed {"connection_id":172116,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:07:30] local.INFO: Acknowledgment sent {"connection_id":172116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:07:35] local.INFO: TCP Data received {"connection_id":171003,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b900df0012cbfdf00076810000052013e34..."} 
[2026-09-04 14:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b900df0012cbfdf00076810000052013e34..."} 
[2026-09-04 14:07:35] local.INFO: Processing buffer {"connection_id":171003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b900df0012cbfdf00076810000052013e34..."} 
[2026-09-04 14:07:35] local.INFO: Packet analysis {"connection_id":171003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:07:35] local.INFO: Extracted packet for processing {"connection_id":171003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:07:35] local.INFO: GPS Element Parsed {"raw_longitude":750771968,"raw_latitude":124260352,"longitude_deg":75.0771968,"latitude_deg":12.4260352,"altitude":82,"angle":318,"satellites":52,"speed":57,"hex_longitude":"2cbfdf00","hex_latitude":"07681000","is_valid_coordinates":true} 
[2026-09-04 14:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858813696001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397945191173980160,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4613867417688203264,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788510998000,"timestamp_ms":1788510998000,"timestamp_seconds":1788510998,"priority":1,"record_length":96,"hex_timestamp":"000001a06b900df0"} 
[2026-09-04 14:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 14:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858813696001,"66":27908,"227":206,"85":37888,"24":57,"16":397945191173980160,"44":-4613867417688203264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,44]} 
[2026-09-04 14:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858813696001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:07:35] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 14:07:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 14:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397945191173980160,"km_value":397945191173980.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:07:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4613867417688203264,"description":"Unknown IO ID 44"} 
[2026-09-04 14:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858813696001,"power":27908,"unknown_227":206,"unknown_85":37888,"ignition":57,"odometer":null,"unknown_44":-4613867417688203264}} 
[2026-09-04 14:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":171003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:07:35] local.INFO: GPS data processed {"connection_id":171003,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:07:35] local.INFO: Acknowledgment sent {"connection_id":171003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:07:49] local.INFO: TCP Data received {"connection_id":170699,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:07:49] local.INFO: Processing buffer {"connection_id":170699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:07:49] local.INFO: IMEI packet received {"connection_id":170699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":170699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:07:49] local.INFO: TCP Data received {"connection_id":173419,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:07:49] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:07:49] local.INFO: IMEI packet received {"connection_id":173419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":173419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:07:49] local.INFO: TCP Data received {"connection_id":170699,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:07:49] local.INFO: Processing buffer {"connection_id":170699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:07:49] local.INFO: IMEI packet received {"connection_id":170699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":170699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:07:53] local.INFO: TCP Data received {"connection_id":170699,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:07:53] local.INFO: Processing buffer {"connection_id":170699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:07:53] local.INFO: IMEI packet received {"connection_id":170699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":170699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:07:55] local.INFO: TCP Data received {"connection_id":170699,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b903118012d1859800722b160007500842a..."} 
[2026-09-04 14:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b903118012d1859800722b160007500842a..."} 
[2026-09-04 14:07:55] local.INFO: Processing buffer {"connection_id":170699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b903118012d1859800722b160007500842a..."} 
[2026-09-04 14:07:55] local.INFO: Packet analysis {"connection_id":170699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:07:55] local.INFO: Extracted packet for processing {"connection_id":170699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:07:55] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119714144,"longitude_deg":75.6570496,"latitude_deg":11.9714144,"altitude":117,"angle":132,"satellites":42,"speed":25,"hex_longitude":"2d185980","hex_latitude":"0722b160","is_valid_coordinates":true} 
[2026-09-04 14:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858816768001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17269956123033600,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752252129415231488,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511007000,"timestamp_ms":1788511007000,"timestamp_seconds":1788511007,"priority":1,"record_length":96,"hex_timestamp":"000001a06b903118"} 
[2026-09-04 14:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 14:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986371027,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:55] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503863136223232,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:55] local.WARNING: Large IO value detected {"io_id":90,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:55] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2415296513,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:55] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3401580668,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880124622,"corrected_to":0} 
[2026-09-04 14:07:55] local.WARNING: Large IO value detected {"io_id":226,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:55] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3221693142,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:55] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84750665507087070,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:55] local.WARNING: Large IO value detected {"io_id":72,"raw_value":35466552111270912,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:55] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,70,28,24,241,158,16,90,160,25,45,186,121,41,10,66,21,64,187,13,1,240,38,107,34,4,113,205,226,71,232,40,239,56,2,61,7,125,15,206,88,72],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3880124622,"validated":0}]} 
[2026-09-04 14:07:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8647041203018792960,"timestamp_seconds":8647041203018793.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 14:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858816768001,"66":14396,"70":206,"28":31744,"24":25,"16":17269956123033600,"45":1752252129415231488},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 14:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858816768001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:07:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 14:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17269956123033600,"km_value":17269956123033.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752252129415231488,"description":"Unknown IO ID 45"} 
[2026-09-04 14:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858816768001,"power":14396,"unknown_70":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1752252129415231488}} 
[2026-09-04 14:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":170699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:07:55] local.INFO: GPS data processed {"connection_id":170699,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:07:55] local.INFO: Acknowledgment sent {"connection_id":170699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:07:56] local.INFO: TCP Data received {"connection_id":173419,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:07:56] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:07:56] local.INFO: IMEI packet received {"connection_id":173419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":173419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:07:57] local.INFO: TCP Data received {"connection_id":173419,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:07:57] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:07:57] local.INFO: Packet analysis {"connection_id":173419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:07:57] local.INFO: Extracted packet for processing {"connection_id":173419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:07:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858742272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788511013000,"timestamp_ms":1788511013000,"timestamp_seconds":1788511013,"priority":1,"record_length":96,"hex_timestamp":"000001a06b904888"} 
[2026-09-04 14:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 14:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858742272001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858742272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:07:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:07:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858742272001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":173419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762758,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:07:57] local.INFO: GPS data processed {"connection_id":173419,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:07:57] local.INFO: Acknowledgment sent {"connection_id":173419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:07:58] local.INFO: TCP Data received {"connection_id":170699,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9038e8012d185e000722ae50007300762a..."} 
[2026-09-04 14:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9038e8012d185e000722ae50007300762a..."} 
[2026-09-04 14:07:58] local.INFO: Processing buffer {"connection_id":170699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9038e8012d185e000722ae50007300762a..."} 
[2026-09-04 14:07:58] local.INFO: Packet analysis {"connection_id":170699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:07:58] local.INFO: Extracted packet for processing {"connection_id":170699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:07:58] local.INFO: GPS Element Parsed {"raw_longitude":756571648,"raw_latitude":119713360,"longitude_deg":75.6571648,"latitude_deg":11.971336,"altitude":115,"angle":118,"satellites":42,"speed":27,"hex_longitude":"2d185e00","hex_latitude":"0722ae50","is_valid_coordinates":true} 
[2026-09-04 14:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858817792001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17270024842510336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297972695040,"note":"Value kept but may cause issues"} 
[2026-09-04 14:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788511009000,"timestamp_ms":1788511009000,"timestamp_seconds":1788511009,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9038e8"} 
[2026-09-04 14:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 14:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858817792001,"66":14341,"70":206,"28":31744,"24":27,"16":17270024842510336,"45":1754574297972695040},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 14:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858817792001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:07:58] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 14:07:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17270024842510336,"km_value":17270024842510.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297972695040,"description":"Unknown IO ID 45"} 
[2026-09-04 14:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858817792001,"power":14341,"unknown_70":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1754574297972695040}} 
[2026-09-04 14:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":170699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:07:58] local.INFO: GPS data processed {"connection_id":170699,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:07:58] local.INFO: Acknowledgment sent {"connection_id":170699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:07:59] local.INFO: TCP Data received {"connection_id":172117,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:07:59] local.INFO: Processing buffer {"connection_id":172117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:07:59] local.INFO: IMEI packet received {"connection_id":172117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":172117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:08:03] local.INFO: TCP Data received {"connection_id":172117,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:08:03] local.INFO: Processing buffer {"connection_id":172117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:08:03] local.INFO: IMEI packet received {"connection_id":172117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":172117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:08:04] local.INFO: TCP Data received {"connection_id":172117,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:08:04] local.INFO: Processing buffer {"connection_id":172117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:08:04] local.INFO: IMEI packet received {"connection_id":172117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":172117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:08:05] local.INFO: TCP Data received {"connection_id":172117,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b902948012cbfc38007682d680052013c34..."} 
[2026-09-04 14:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b902948012cbfc38007682d680052013c34..."} 
[2026-09-04 14:08:05] local.INFO: Processing buffer {"connection_id":172117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b902948012cbfc38007682d680052013c34..."} 
[2026-09-04 14:08:05] local.INFO: Packet analysis {"connection_id":172117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:08:05] local.INFO: Extracted packet for processing {"connection_id":172117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:08:05] local.INFO: GPS Element Parsed {"raw_longitude":750764928,"raw_latitude":124267880,"longitude_deg":75.0764928,"latitude_deg":12.426788,"altitude":82,"angle":316,"satellites":52,"speed":58,"hex_longitude":"2cbfc380","hex_latitude":"07682d68","is_valid_coordinates":true} 
[2026-09-04 14:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858815488001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397945685095219200,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4620974660848189440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788511005000,"timestamp_ms":1788511005000,"timestamp_seconds":1788511005,"priority":1,"record_length":96,"hex_timestamp":"000001a06b902948"} 
[2026-09-04 14:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858815488001,"66":27865,"227":206,"85":37888,"24":58,"16":397945685095219200,"44":-4620974660848189440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,44]} 
[2026-09-04 14:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858815488001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:08:05] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 14:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 14:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397945685095219200,"km_value":397945685095219.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:08:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4620974660848189440,"description":"Unknown IO ID 44"} 
[2026-09-04 14:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858815488001,"power":27865,"unknown_227":206,"unknown_85":37888,"ignition":58,"odometer":null,"unknown_44":-4620974660848189440}} 
[2026-09-04 14:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":172117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:08:05] local.INFO: GPS data processed {"connection_id":172117,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:08:05] local.INFO: Acknowledgment sent {"connection_id":172117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:08:10] local.INFO: TCP Data received {"connection_id":172117,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9044a0012cbfa5c0076848a80051013a34..."} 
[2026-09-04 14:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9044a0012cbfa5c0076848a80051013a34..."} 
[2026-09-04 14:08:10] local.INFO: Processing buffer {"connection_id":172117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9044a0012cbfa5c0076848a80051013a34..."} 
[2026-09-04 14:08:10] local.INFO: Packet analysis {"connection_id":172117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:08:10] local.INFO: Extracted packet for processing {"connection_id":172117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:08:10] local.INFO: GPS Element Parsed {"raw_longitude":750757312,"raw_latitude":124274856,"longitude_deg":75.0757312,"latitude_deg":12.4274856,"altitude":81,"angle":314,"satellites":52,"speed":58,"hex_longitude":"2cbfa5c0","hex_latitude":"076848a8","is_valid_coordinates":true} 
[2026-09-04 14:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858817280001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397946183311425536,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4628715222705805312,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788511012000,"timestamp_ms":1788511012000,"timestamp_seconds":1788511012,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9044a0"} 
[2026-09-04 14:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 14:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858817280001,"66":28050,"227":206,"85":37888,"24":58,"16":397946183311425536,"44":-4628715222705805312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,44]} 
[2026-09-04 14:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858817280001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:08:10] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 14:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 14:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397946183311425536,"km_value":397946183311425.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4628715222705805312,"description":"Unknown IO ID 44"} 
[2026-09-04 14:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858817280001,"power":28050,"unknown_227":206,"unknown_85":37888,"ignition":58,"odometer":null,"unknown_44":-4628715222705805312}} 
[2026-09-04 14:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":172117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:08:10] local.INFO: GPS data processed {"connection_id":172117,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:08:10] local.INFO: Acknowledgment sent {"connection_id":172117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:08:28] local.INFO: TCP Data received {"connection_id":173419,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:08:28] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:08:28] local.INFO: Packet analysis {"connection_id":173419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:08:28] local.INFO: Extracted packet for processing {"connection_id":173419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:08:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858742272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788511013000,"timestamp_ms":1788511013000,"timestamp_seconds":1788511013,"priority":1,"record_length":96,"hex_timestamp":"000001a06b904888"} 
[2026-09-04 14:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 14:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858742272001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858742272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:08:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858742272001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":173419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762762,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:08:28] local.INFO: GPS data processed {"connection_id":173419,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:08:28] local.INFO: Acknowledgment sent {"connection_id":173419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:08:30] local.INFO: TCP Data received {"connection_id":170699,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b905c10012d1875000722a560006d006b26..."} 
[2026-09-04 14:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b905c10012d1875000722a560006d006b26..."} 
[2026-09-04 14:08:30] local.INFO: Processing buffer {"connection_id":170699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b905c10012d1875000722a560006d006b26..."} 
[2026-09-04 14:08:30] local.INFO: Packet analysis {"connection_id":170699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:08:30] local.INFO: Extracted packet for processing {"connection_id":170699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:08:30] local.INFO: GPS Element Parsed {"raw_longitude":756577536,"raw_latitude":119711072,"longitude_deg":75.6577536,"latitude_deg":11.9711072,"altitude":109,"angle":107,"satellites":38,"speed":18,"hex_longitude":"2d187500","hex_latitude":"0722a560","is_valid_coordinates":true} 
[2026-09-04 14:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858818304001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17270321195253760,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755840935367692288,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788511018000,"timestamp_ms":1788511018000,"timestamp_seconds":1788511018,"priority":1,"record_length":96,"hex_timestamp":"000001a06b905c10"} 
[2026-09-04 14:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 14:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986371042,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:30] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503863139696640,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:30] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:30] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2417344513,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:30] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3148349561,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880124622,"corrected_to":0} 
[2026-09-04 14:08:30] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:30] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84750664433345238,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:30] local.WARNING: Large IO value detected {"io_id":232,"raw_value":35185180213777920,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:30] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,70,28,24,241,158,16,90,160,49,45,128,177,117,42,10,66,33,64,183,120,41,25,1,240,5,107,34,4,113,205,22,13,73,80,239,56,2,61,7,124,206,248,232],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3880124622,"validated":0}]} 
[2026-09-04 14:08:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8286753237124186112,"timestamp_seconds":8286753237124186.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 14:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858818304001,"66":14004,"70":206,"28":31744,"24":18,"16":17270321195253760,"45":1755840935367692288},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 14:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858818304001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:08:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 14:08:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17270321195253760,"km_value":17270321195253.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755840935367692288,"description":"Unknown IO ID 45"} 
[2026-09-04 14:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858818304001,"power":14004,"unknown_70":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1755840935367692288}} 
[2026-09-04 14:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":170699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:08:30] local.INFO: GPS data processed {"connection_id":170699,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:08:30] local.INFO: Acknowledgment sent {"connection_id":170699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:08:41] local.INFO: TCP Data received {"connection_id":172117,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b905ff8012cbf8740076863b80050013530..."} 
[2026-09-04 14:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b905ff8012cbf8740076863b80050013530..."} 
[2026-09-04 14:08:41] local.INFO: Processing buffer {"connection_id":172117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b905ff8012cbf8740076863b80050013530..."} 
[2026-09-04 14:08:41] local.INFO: Packet analysis {"connection_id":172117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:08:41] local.INFO: Extracted packet for processing {"connection_id":172117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:08:41] local.INFO: GPS Element Parsed {"raw_longitude":750749504,"raw_latitude":124281784,"longitude_deg":75.0749504,"latitude_deg":12.4281784,"altitude":80,"angle":309,"satellites":48,"speed":59,"hex_longitude":"2cbf8740","hex_latitude":"076863b8","is_valid_coordinates":true} 
[2026-09-04 14:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858819072001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397946681527631872,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4637089103261161472,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788511019000,"timestamp_ms":1788511019000,"timestamp_seconds":1788511019,"priority":1,"record_length":96,"hex_timestamp":"000001a06b905ff8"} 
[2026-09-04 14:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-04 14:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858819072001,"66":27843,"227":206,"85":37888,"24":59,"16":397946681527631872,"44":-4637089103261161472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,44]} 
[2026-09-04 14:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858819072001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:08:41] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 14:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 14:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397946681527631872,"km_value":397946681527631.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4637089103261161472,"description":"Unknown IO ID 44"} 
[2026-09-04 14:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858819072001,"power":27843,"unknown_227":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4637089103261161472}} 
[2026-09-04 14:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":172117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:08:41] local.INFO: GPS data processed {"connection_id":172117,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:08:41] local.INFO: Acknowledgment sent {"connection_id":172117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:08:48] local.INFO: TCP Data received {"connection_id":171004,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:08:48] local.INFO: Processing buffer {"connection_id":171004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:08:48] local.INFO: IMEI packet received {"connection_id":171004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":171004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:08:49] local.INFO: TCP Data received {"connection_id":171004,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:08:49] local.INFO: Processing buffer {"connection_id":171004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:08:49] local.INFO: IMEI packet received {"connection_id":171004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":171004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:08:54] local.INFO: TCP Data received {"connection_id":171004,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:08:54] local.INFO: Processing buffer {"connection_id":171004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:08:54] local.INFO: IMEI packet received {"connection_id":171004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":171004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:08:54] local.INFO: TCP Data received {"connection_id":170700,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:08:54] local.INFO: Processing buffer {"connection_id":170700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:08:54] local.INFO: IMEI packet received {"connection_id":170700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":170700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:08:55] local.INFO: TCP Data received {"connection_id":171004,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b907b50012d1881800722a2e0006a005c25..."} 
[2026-09-04 14:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b907b50012d1881800722a2e0006a005c25..."} 
[2026-09-04 14:08:55] local.INFO: Processing buffer {"connection_id":171004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b907b50012d1881800722a2e0006a005c25..."} 
[2026-09-04 14:08:55] local.INFO: Packet analysis {"connection_id":171004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:08:55] local.INFO: Extracted packet for processing {"connection_id":171004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756580736,"raw_latitude":119710432,"longitude_deg":75.6580736,"latitude_deg":11.9710432,"altitude":106,"angle":92,"satellites":37,"speed":21,"hex_longitude":"2d188180","hex_latitude":"0722a2e0","is_valid_coordinates":true} 
[2026-09-04 14:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858820608001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17270480109043712,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762314859831451648,"note":"Value kept but may cause issues"} 
[2026-09-04 14:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511026000,"timestamp_ms":1788511026000,"timestamp_seconds":1788511026,"priority":1,"record_length":96,"hex_timestamp":"000001a06b907b50"} 
[2026-09-04 14:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-04 14:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858820608001,"66":14428,"70":206,"28":31744,"24":21,"16":17270480109043712,"45":1762314859831451648},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 14:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858820608001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:08:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 14:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17270480109043712,"km_value":17270480109043.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762314859831451648,"description":"Unknown IO ID 45"} 
[2026-09-04 14:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858820608001,"power":14428,"unknown_70":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1762314859831451648}} 
[2026-09-04 14:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":171004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:08:55] local.INFO: GPS data processed {"connection_id":171004,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:08:55] local.INFO: Acknowledgment sent {"connection_id":171004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:08:59] local.INFO: TCP Data received {"connection_id":170700,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:08:59] local.INFO: Processing buffer {"connection_id":170700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:08:59] local.INFO: IMEI packet received {"connection_id":170700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":170700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:09:01] local.INFO: TCP Data received {"connection_id":170700,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:09:01] local.INFO: Processing buffer {"connection_id":170700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:09:01] local.INFO: Packet analysis {"connection_id":170700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:09:01] local.INFO: Extracted packet for processing {"connection_id":170700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:09:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858742272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788511013000,"timestamp_ms":1788511013000,"timestamp_seconds":1788511013,"priority":1,"record_length":96,"hex_timestamp":"000001a06b904888"} 
[2026-09-04 14:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 14:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858742272001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858742272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:09:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:09:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858742272001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":170700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762766,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:09:01] local.INFO: GPS data processed {"connection_id":170700,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:09:01] local.INFO: Acknowledgment sent {"connection_id":170700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:09:03] local.INFO: TCP Data received {"connection_id":172118,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:09:03] local.INFO: Processing buffer {"connection_id":172118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:09:03] local.INFO: IMEI packet received {"connection_id":172118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":172118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:09:04] local.INFO: TCP Data received {"connection_id":172118,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:09:04] local.INFO: Processing buffer {"connection_id":172118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:09:04] local.INFO: IMEI packet received {"connection_id":172118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":172118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:09:05] local.INFO: TCP Data received {"connection_id":170700,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:09:05] local.INFO: Processing buffer {"connection_id":170700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:09:05] local.INFO: Packet analysis {"connection_id":170700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:09:05] local.INFO: Extracted packet for processing {"connection_id":170700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858742272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788511013000,"timestamp_ms":1788511013000,"timestamp_seconds":1788511013,"priority":1,"record_length":96,"hex_timestamp":"000001a06b904888"} 
[2026-09-04 14:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 14:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858742272001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858742272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:09:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:09:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858742272001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":170700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762767,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:09:05] local.INFO: GPS data processed {"connection_id":170700,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:09:05] local.INFO: Acknowledgment sent {"connection_id":170700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:09:09] local.INFO: TCP Data received {"connection_id":172118,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:09:09] local.INFO: Processing buffer {"connection_id":172118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:09:09] local.INFO: IMEI packet received {"connection_id":172118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":172118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:09:10] local.INFO: TCP Data received {"connection_id":172118,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b914670012cbe5740076911d00044013b33..."} 
[2026-09-04 14:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b914670012cbe5740076911d00044013b33..."} 
[2026-09-04 14:09:10] local.INFO: Processing buffer {"connection_id":172118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b914670012cbe5740076911d00044013b33..."} 
[2026-09-04 14:09:10] local.INFO: Packet analysis {"connection_id":172118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b91"} 
[2026-09-04 14:09:10] local.INFO: Extracted packet for processing {"connection_id":172118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b91"} 
[2026-09-04 14:09:10] local.INFO: GPS Element Parsed {"raw_longitude":750671680,"raw_latitude":124326352,"longitude_deg":75.067168,"latitude_deg":12.4326352,"altitude":68,"angle":315,"satellites":51,"speed":61,"hex_longitude":"2cbe5740","hex_latitude":"076911d0","is_valid_coordinates":true} 
[2026-09-04 14:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858834432001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397951058099306496,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4723924133565009920,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788511078000,"timestamp_ms":1788511078000,"timestamp_seconds":1788511078,"priority":1,"record_length":96,"hex_timestamp":"000001a06b914670"} 
[2026-09-04 14:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 14:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858834432001,"66":27843,"229":206,"85":37888,"24":61,"16":397951058099306496,"44":-4723924133565009920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-09-04 14:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858834432001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:09:10] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 14:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 14:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397951058099306496,"km_value":397951058099306.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4723924133565009920,"description":"Unknown IO ID 44"} 
[2026-09-04 14:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858834432001,"power":27843,"unknown_229":206,"unknown_85":37888,"ignition":61,"odometer":null,"unknown_44":-4723924133565009920}} 
[2026-09-04 14:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":172118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:09:10] local.INFO: GPS data processed {"connection_id":172118,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:09:10] local.INFO: Acknowledgment sent {"connection_id":172118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:09:27] local.INFO: TCP Data received {"connection_id":171004,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b91afe8012d18734007222840005b00d526..."} 
[2026-09-04 14:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b91afe8012d18734007222840005b00d526..."} 
[2026-09-04 14:09:27] local.INFO: Processing buffer {"connection_id":171004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b91afe8012d18734007222840005b00d526..."} 
[2026-09-04 14:09:27] local.INFO: Packet analysis {"connection_id":171004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b91"} 
[2026-09-04 14:09:27] local.INFO: Extracted packet for processing {"connection_id":171004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b91"} 
[2026-09-04 14:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756577088,"raw_latitude":119679040,"longitude_deg":75.6577088,"latitude_deg":11.967904,"altitude":91,"angle":213,"satellites":38,"speed":57,"hex_longitude":"2d187340","hex_latitude":"07222840","is_valid_coordinates":true} 
[2026-09-04 14:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858841088001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17272567463149568,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767944359359610880,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788511105000,"timestamp_ms":1788511105000,"timestamp_seconds":1788511105,"priority":1,"record_length":96,"hex_timestamp":"000001a06b91afe8"} 
[2026-09-04 14:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 14:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858841088001,"66":12319,"120":206,"28":31744,"24":57,"16":17272567463149568,"45":1767944359359610880},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858841088001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:09:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:09:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17272567463149568,"km_value":17272567463149.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767944359359610880,"description":"Unknown IO ID 45"} 
[2026-09-04 14:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858841088001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":57,"odometer":null,"unknown_45":1767944359359610880}} 
[2026-09-04 14:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":171004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:09:27] local.INFO: GPS data processed {"connection_id":171004,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:09:27] local.INFO: Acknowledgment sent {"connection_id":171004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:09:41] local.INFO: TCP Data received {"connection_id":172118,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9161c8012cbe3a0007692d880046013833..."} 
[2026-09-04 14:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9161c8012cbe3a0007692d880046013833..."} 
[2026-09-04 14:09:41] local.INFO: Processing buffer {"connection_id":172118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9161c8012cbe3a0007692d880046013833..."} 
[2026-09-04 14:09:41] local.INFO: Packet analysis {"connection_id":172118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b91"} 
[2026-09-04 14:09:41] local.INFO: Extracted packet for processing {"connection_id":172118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b91"} 
[2026-09-04 14:09:41] local.INFO: GPS Element Parsed {"raw_longitude":750664192,"raw_latitude":124333448,"longitude_deg":75.0664192,"latitude_deg":12.4333448,"altitude":70,"angle":312,"satellites":51,"speed":54,"hex_longitude":"2cbe3a00","hex_latitude":"07692d88","is_valid_coordinates":true} 
[2026-09-04 14:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858835968001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397951547725578240,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4731242482957692928,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788511085000,"timestamp_ms":1788511085000,"timestamp_seconds":1788511085,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9161c8"} 
[2026-09-04 14:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 14:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858835968001,"66":27876,"229":206,"85":37888,"24":54,"16":397951547725578240,"44":-4731242482957692928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-09-04 14:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858835968001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:09:41] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 14:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 14:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397951547725578240,"km_value":397951547725578.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4731242482957692928,"description":"Unknown IO ID 44"} 
[2026-09-04 14:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858835968001,"power":27876,"unknown_229":206,"unknown_85":37888,"ignition":54,"odometer":null,"unknown_44":-4731242482957692928}} 
[2026-09-04 14:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":172118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:09:41] local.INFO: GPS data processed {"connection_id":172118,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:09:41] local.INFO: Acknowledgment sent {"connection_id":172118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:09:48] local.INFO: TCP Data received {"connection_id":171006,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:09:48] local.INFO: Processing buffer {"connection_id":171006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:09:48] local.INFO: IMEI packet received {"connection_id":171006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":171006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:09:51] local.INFO: TCP Data received {"connection_id":171005,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:09:51] local.INFO: Processing buffer {"connection_id":171005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:09:51] local.INFO: IMEI packet received {"connection_id":171005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":171005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:09:52] local.INFO: TCP Data received {"connection_id":171006,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:09:52] local.INFO: Processing buffer {"connection_id":171006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:09:52] local.INFO: IMEI packet received {"connection_id":171006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":171006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:09:54] local.INFO: TCP Data received {"connection_id":171005,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:09:54] local.INFO: Processing buffer {"connection_id":171005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:09:54] local.INFO: IMEI packet received {"connection_id":171005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":171005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:09:55] local.INFO: TCP Data received {"connection_id":171005,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:09:55] local.INFO: Processing buffer {"connection_id":171005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:09:55] local.INFO: Packet analysis {"connection_id":171005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:09:55] local.INFO: Extracted packet for processing {"connection_id":171005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858742272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511013000,"timestamp_ms":1788511013000,"timestamp_seconds":1788511013,"priority":1,"record_length":96,"hex_timestamp":"000001a06b904888"} 
[2026-09-04 14:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 14:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858742272001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858742272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:09:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858742272001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":171005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762771,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:09:55] local.INFO: GPS data processed {"connection_id":171005,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:09:55] local.INFO: Acknowledgment sent {"connection_id":171005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:09:55] local.INFO: TCP Data received {"connection_id":171006,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b91cb40012d185cc007220720005400d629..."} 
[2026-09-04 14:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b91cb40012d185cc007220720005400d629..."} 
[2026-09-04 14:09:55] local.INFO: Processing buffer {"connection_id":171006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b91cb40012d185cc007220720005400d629..."} 
[2026-09-04 14:09:55] local.INFO: Packet analysis {"connection_id":171006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b91"} 
[2026-09-04 14:09:55] local.INFO: Extracted packet for processing {"connection_id":171006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b91"} 
[2026-09-04 14:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756571328,"raw_latitude":119670560,"longitude_deg":75.6571328,"latitude_deg":11.967056,"altitude":84,"angle":214,"satellites":41,"speed":57,"hex_longitude":"2d185cc0","hex_latitude":"07220720","is_valid_coordinates":true} 
[2026-09-04 14:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858842880001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17273057089421312,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761822278614007808,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511112000,"timestamp_ms":1788511112000,"timestamp_seconds":1788511112,"priority":1,"record_length":96,"hex_timestamp":"000001a06b91cb40"} 
[2026-09-04 14:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858842880001,"66":12156,"120":206,"28":31744,"24":57,"16":17273057089421312,"45":1761822278614007808},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858842880001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:09:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17273057089421312,"km_value":17273057089421.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761822278614007808,"description":"Unknown IO ID 45"} 
[2026-09-04 14:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858842880001,"power":12156,"unknown_120":206,"unknown_28":31744,"ignition":57,"odometer":null,"unknown_45":1761822278614007808}} 
[2026-09-04 14:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":171006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:09:56] local.INFO: GPS data processed {"connection_id":171006,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:09:56] local.INFO: Acknowledgment sent {"connection_id":171006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:09:56] local.INFO: TCP Data received {"connection_id":171006,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b91ea80012d1847000721e780004f00d529..."} 
[2026-09-04 14:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b91ea80012d1847000721e780004f00d529..."} 
[2026-09-04 14:09:56] local.INFO: Processing buffer {"connection_id":171006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b91ea80012d1847000721e780004f00d529..."} 
[2026-09-04 14:09:56] local.INFO: Packet analysis {"connection_id":171006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b91"} 
[2026-09-04 14:09:56] local.INFO: Extracted packet for processing {"connection_id":171006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b91"} 
[2026-09-04 14:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756565760,"raw_latitude":119662464,"longitude_deg":75.656576,"latitude_deg":11.9662464,"altitude":79,"angle":213,"satellites":41,"speed":44,"hex_longitude":"2d184700","hex_latitude":"0721e780","is_valid_coordinates":true} 
[2026-09-04 14:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858844672001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17273533830791168,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755489091635847168,"note":"Value kept but may cause issues"} 
[2026-09-04 14:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788511120000,"timestamp_ms":1788511120000,"timestamp_seconds":1788511120,"priority":1,"record_length":96,"hex_timestamp":"000001a06b91ea80"} 
[2026-09-04 14:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 14:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858844672001,"66":12178,"120":206,"28":31744,"24":44,"16":17273533830791168,"45":1755489091635847168},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858844672001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:09:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:09:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17273533830791168,"km_value":17273533830791.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755489091635847168,"description":"Unknown IO ID 45"} 
[2026-09-04 14:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858844672001,"power":12178,"unknown_120":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1755489091635847168}} 
[2026-09-04 14:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":171006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:09:56] local.INFO: GPS data processed {"connection_id":171006,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:09:56] local.INFO: Acknowledgment sent {"connection_id":171006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:09:59] local.INFO: TCP Data received {"connection_id":173420,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:09:59] local.INFO: Processing buffer {"connection_id":173420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:09:59] local.INFO: IMEI packet received {"connection_id":173420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":173420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:10:00] local.INFO: TCP Data received {"connection_id":171005,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:10:00] local.INFO: Processing buffer {"connection_id":171005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:10:00] local.INFO: Packet analysis {"connection_id":171005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:10:00] local.INFO: Extracted packet for processing {"connection_id":171005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:10:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858742272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788511013000,"timestamp_ms":1788511013000,"timestamp_seconds":1788511013,"priority":1,"record_length":96,"hex_timestamp":"000001a06b904888"} 
[2026-09-04 14:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 14:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858742272001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858742272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:10:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:10:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858742272001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":171005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762774,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:10:00] local.INFO: GPS data processed {"connection_id":171005,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:10:00] local.INFO: Acknowledgment sent {"connection_id":171005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:10:02] local.INFO: TCP Data received {"connection_id":173420,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:10:02] local.INFO: Processing buffer {"connection_id":173420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:10:02] local.INFO: IMEI packet received {"connection_id":173420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":173420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:10:04] local.INFO: TCP Data received {"connection_id":173420,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:10:04] local.INFO: Processing buffer {"connection_id":173420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:10:04] local.INFO: IMEI packet received {"connection_id":173420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":173420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:10:05] local.INFO: TCP Data received {"connection_id":173420,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b917d20012cbe1ec0076947600048013a33..."} 
[2026-09-04 14:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b917d20012cbe1ec0076947600048013a33..."} 
[2026-09-04 14:10:05] local.INFO: Processing buffer {"connection_id":173420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b917d20012cbe1ec0076947600048013a33..."} 
[2026-09-04 14:10:05] local.INFO: Packet analysis {"connection_id":173420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b91"} 
[2026-09-04 14:10:05] local.INFO: Extracted packet for processing {"connection_id":173420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b91"} 
[2026-09-04 14:10:05] local.INFO: GPS Element Parsed {"raw_longitude":750657216,"raw_latitude":124340064,"longitude_deg":75.0657216,"latitude_deg":12.4340064,"altitude":72,"angle":314,"satellites":51,"speed":54,"hex_longitude":"2cbe1ec0","hex_latitude":"07694760","is_valid_coordinates":true} 
[2026-09-04 14:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858837760001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397952011582046208,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4739475626024663040,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788511092000,"timestamp_ms":1788511092000,"timestamp_seconds":1788511092,"priority":1,"record_length":96,"hex_timestamp":"000001a06b917d20"} 
[2026-09-04 14:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 14:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858837760001,"66":27865,"23":206,"85":37888,"24":54,"16":397952011582046208,"44":-4739475626024663040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,44]} 
[2026-09-04 14:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858837760001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:10:05] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-04 14:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 14:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397952011582046208,"km_value":397952011582046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:10:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4739475626024663040,"description":"Unknown IO ID 44"} 
[2026-09-04 14:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858837760001,"power":27865,"unknown_23":206,"unknown_85":37888,"ignition":54,"odometer":null,"unknown_44":-4739475626024663040}} 
[2026-09-04 14:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":173420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:10:05] local.INFO: GPS data processed {"connection_id":173420,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:10:05] local.INFO: Acknowledgment sent {"connection_id":173420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:10:28] local.INFO: TCP Data received {"connection_id":171006,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9209c0012d1833800721caa0004b00d328..."} 
[2026-09-04 14:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9209c0012d1833800721caa0004b00d328..."} 
[2026-09-04 14:10:28] local.INFO: Processing buffer {"connection_id":171006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9209c0012d1833800721caa0004b00d328..."} 
[2026-09-04 14:10:28] local.INFO: Packet analysis {"connection_id":171006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b92"} 
[2026-09-04 14:10:28] local.INFO: Extracted packet for processing {"connection_id":171006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b92"} 
[2026-09-04 14:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756560768,"raw_latitude":119655072,"longitude_deg":75.6560768,"latitude_deg":11.9655072,"altitude":75,"angle":211,"satellites":40,"speed":41,"hex_longitude":"2d183380","hex_latitude":"0721caa0","is_valid_coordinates":true} 
[2026-09-04 14:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858846720001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17273963327520768,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749367010890317824,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788511128000,"timestamp_ms":1788511128000,"timestamp_seconds":1788511128,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9209c0"} 
[2026-09-04 14:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-04 14:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858846720001,"66":12287,"120":206,"28":31744,"24":41,"16":17273963327520768,"45":1749367010890317824},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858846720001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:10:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:10:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17273963327520768,"km_value":17273963327520.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749367010890317824,"description":"Unknown IO ID 45"} 
[2026-09-04 14:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858846720001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1749367010890317824}} 
[2026-09-04 14:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":171006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:10:28] local.INFO: GPS data processed {"connection_id":171006,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:10:28] local.INFO: Acknowledgment sent {"connection_id":171006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:10:31] local.INFO: TCP Data received {"connection_id":171005,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:10:31] local.INFO: Processing buffer {"connection_id":171005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:10:31] local.INFO: Packet analysis {"connection_id":171005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:10:31] local.INFO: Extracted packet for processing {"connection_id":171005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858742272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788511013000,"timestamp_ms":1788511013000,"timestamp_seconds":1788511013,"priority":1,"record_length":96,"hex_timestamp":"000001a06b904888"} 
[2026-09-04 14:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 14:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858742272001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858742272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:10:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858742272001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":171005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762777,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:10:31] local.INFO: GPS data processed {"connection_id":171005,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:10:31] local.INFO: Acknowledgment sent {"connection_id":171005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:10:37] local.INFO: TCP Data received {"connection_id":173420,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b92ec50012cbdbbc0076b3f580044014c34..."} 
[2026-09-04 14:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b92ec50012cbdbbc0076b3f580044014c34..."} 
[2026-09-04 14:10:37] local.INFO: Processing buffer {"connection_id":173420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b92ec50012cbdbbc0076b3f580044014c34..."} 
[2026-09-04 14:10:37] local.INFO: Packet analysis {"connection_id":173420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b92"} 
[2026-09-04 14:10:37] local.INFO: Extracted packet for processing {"connection_id":173420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b92"} 
[2026-09-04 14:10:37] local.INFO: GPS Element Parsed {"raw_longitude":750631872,"raw_latitude":124469080,"longitude_deg":75.0631872,"latitude_deg":12.446908,"altitude":68,"angle":332,"satellites":52,"speed":43,"hex_longitude":"2cbdbbc0","hex_latitude":"076b3f58","is_valid_coordinates":true} 
[2026-09-04 14:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858863104001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397958518457499648,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4774097048125906944,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788511186000,"timestamp_ms":1788511186000,"timestamp_seconds":1788511186,"priority":1,"record_length":96,"hex_timestamp":"000001a06b92ec50"} 
[2026-09-04 14:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 14:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858863104001,"66":27995,"2":206,"85":37888,"24":43,"16":397958518457499648,"44":-4774097048125906944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-04 14:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858863104001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 14:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397958518457499648,"km_value":397958518457499.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:10:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4774097048125906944,"description":"Unknown IO ID 44"} 
[2026-09-04 14:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858863104001,"power":27995,"power_alt":206,"unknown_85":37888,"ignition":43,"odometer":null,"unknown_44":-4774097048125906944}} 
[2026-09-04 14:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":173420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:10:37] local.INFO: GPS data processed {"connection_id":173420,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:10:37] local.INFO: Acknowledgment sent {"connection_id":173420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:10:48] local.INFO: TCP Data received {"connection_id":170701,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:10:48] local.INFO: Processing buffer {"connection_id":170701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:10:48] local.INFO: IMEI packet received {"connection_id":170701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":170701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:10:49] local.INFO: TCP Data received {"connection_id":173421,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:10:49] local.INFO: Processing buffer {"connection_id":173421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:10:49] local.INFO: IMEI packet received {"connection_id":173421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":173421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:10:53] local.INFO: TCP Data received {"connection_id":170701,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:10:53] local.INFO: Processing buffer {"connection_id":170701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:10:53] local.INFO: IMEI packet received {"connection_id":170701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":170701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:10:54] local.INFO: TCP Data received {"connection_id":173421,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:10:54] local.INFO: Processing buffer {"connection_id":173421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:10:54] local.INFO: IMEI packet received {"connection_id":173421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":173421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:10:55] local.INFO: TCP Data received {"connection_id":173421,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:10:55] local.INFO: Processing buffer {"connection_id":173421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:10:55] local.INFO: Packet analysis {"connection_id":173421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:10:55] local.INFO: Extracted packet for processing {"connection_id":173421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:10:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858742272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511013000,"timestamp_ms":1788511013000,"timestamp_seconds":1788511013,"priority":1,"record_length":96,"hex_timestamp":"000001a06b904888"} 
[2026-09-04 14:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 14:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858742272001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858742272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:10:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:10:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858742272001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:10:55] local.INFO: TCP Data received {"connection_id":170701,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b921d48012d182e000721c0e8004800c724..."} 
[2026-09-04 14:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b921d48012d182e000721c0e8004800c724..."} 
[2026-09-04 14:10:55] local.INFO: Processing buffer {"connection_id":170701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b921d48012d182e000721c0e8004800c724..."} 
[2026-09-04 14:10:55] local.INFO: Packet analysis {"connection_id":170701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b92"} 
[2026-09-04 14:10:55] local.INFO: Extracted packet for processing {"connection_id":170701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b92"} 
[2026-09-04 14:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756559360,"raw_latitude":119652584,"longitude_deg":75.655936,"latitude_deg":11.9652584,"altitude":72,"angle":199,"satellites":36,"speed":7,"hex_longitude":"2d182e00","hex_latitude":"0721c0e8","is_valid_coordinates":true} 
[2026-09-04 14:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858848768001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274100766474240,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743878248842567680,"note":"Value kept but may cause issues"} 
[2026-09-04 14:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511133000,"timestamp_ms":1788511133000,"timestamp_seconds":1788511133,"priority":1,"record_length":96,"hex_timestamp":"000001a06b921d48"} 
[2026-09-04 14:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 14:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858848768001,"66":12298,"120":206,"28":31744,"24":7,"16":17274100766474240,"45":1743878248842567680},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858848768001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:10:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:10:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274100766474240,"km_value":17274100766474.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743878248842567680,"description":"Unknown IO ID 45"} 
[2026-09-04 14:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858848768001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1743878248842567680}} 
[2026-09-04 14:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":173421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762779,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:10:55] local.INFO: GPS data processed {"connection_id":173421,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:10:55] local.INFO: Acknowledgment sent {"connection_id":173421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":170701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:10:55] local.INFO: GPS data processed {"connection_id":170701,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:10:55] local.INFO: Acknowledgment sent {"connection_id":170701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:10:59] local.INFO: TCP Data received {"connection_id":171007,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:10:59] local.INFO: Processing buffer {"connection_id":171007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:10:59] local.INFO: IMEI packet received {"connection_id":171007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":171007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:11:04] local.INFO: TCP Data received {"connection_id":171007,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:11:04] local.INFO: Processing buffer {"connection_id":171007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:11:04] local.INFO: IMEI packet received {"connection_id":171007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":171007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:11:05] local.INFO: TCP Data received {"connection_id":171007,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b92fbf0012cbdb480076b4e780044015732..."} 
[2026-09-04 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b92fbf0012cbdb480076b4e780044015732..."} 
[2026-09-04 14:11:05] local.INFO: Processing buffer {"connection_id":171007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b92fbf0012cbdb480076b4e780044015732..."} 
[2026-09-04 14:11:05] local.INFO: Packet analysis {"connection_id":171007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b92"} 
[2026-09-04 14:11:05] local.INFO: Extracted packet for processing {"connection_id":171007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b92"} 
[2026-09-04 14:11:05] local.INFO: GPS Element Parsed {"raw_longitude":750630016,"raw_latitude":124472952,"longitude_deg":75.0630016,"latitude_deg":12.4472952,"altitude":68,"angle":343,"satellites":50,"speed":44,"hex_longitude":"2cbdb480","hex_latitude":"076b4e78","is_valid_coordinates":true} 
[2026-09-04 14:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858863616001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397958724615929856,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4775011841799661568,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788511190000,"timestamp_ms":1788511190000,"timestamp_seconds":1788511190,"priority":1,"record_length":96,"hex_timestamp":"000001a06b92fbf0"} 
[2026-09-04 14:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 14:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858863616001,"66":28028,"2":206,"85":37888,"24":44,"16":397958724615929856,"44":-4775011841799661568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-04 14:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858863616001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 14:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397958724615929856,"km_value":397958724615929.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:11:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4775011841799661568,"description":"Unknown IO ID 44"} 
[2026-09-04 14:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858863616001,"power":28028,"power_alt":206,"unknown_85":37888,"ignition":44,"odometer":null,"unknown_44":-4775011841799661568}} 
[2026-09-04 14:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":171007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:11:05] local.INFO: GPS data processed {"connection_id":171007,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:11:05] local.INFO: Acknowledgment sent {"connection_id":171007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:11:26] local.INFO: TCP Data received {"connection_id":173421,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:11:26] local.INFO: Processing buffer {"connection_id":173421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:11:26] local.INFO: Packet analysis {"connection_id":173421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:11:26] local.INFO: Extracted packet for processing {"connection_id":173421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:11:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858742272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788511013000,"timestamp_ms":1788511013000,"timestamp_seconds":1788511013,"priority":1,"record_length":96,"hex_timestamp":"000001a06b904888"} 
[2026-09-04 14:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 14:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858742272001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858742272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:11:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:11:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858742272001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":173421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762782,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:11:26] local.INFO: GPS data processed {"connection_id":173421,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:11:26] local.INFO: Acknowledgment sent {"connection_id":173421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:11:26] local.INFO: TCP Data received {"connection_id":170701,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b926f50012d182d400721c020004800cd2c..."} 
[2026-09-04 14:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b926f50012d182d400721c020004800cd2c..."} 
[2026-09-04 14:11:26] local.INFO: Processing buffer {"connection_id":170701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b926f50012d182d400721c020004800cd2c..."} 
[2026-09-04 14:11:26] local.INFO: Packet analysis {"connection_id":170701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b92"} 
[2026-09-04 14:11:26] local.INFO: Extracted packet for processing {"connection_id":170701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b92"} 
[2026-09-04 14:11:26] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119652384,"longitude_deg":75.6559168,"latitude_deg":11.9652384,"altitude":72,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"0721c020","is_valid_coordinates":true} 
[2026-09-04 14:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858850048001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274117946343424,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742330136470022144,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788511154000,"timestamp_ms":1788511154000,"timestamp_seconds":1788511154,"priority":1,"record_length":96,"hex_timestamp":"000001a06b926f50"} 
[2026-09-04 14:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168049686774272,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452349,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7751079650355124389,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":40960,"corrected_to":0} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3409507277247873230,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":16385,"corrected_to":0} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2444224513,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9007199255396356,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":106,"raw_value":58312599883743232,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":92,"raw_value":7998392938210000897,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.WARNING: Large IO value detected {"io_id":64,"raw_value":514112017744658627,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:26] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,120,28,24,241,158,16,94,160,9,45,128,202,75,40,10,66,234,231,79,41,203,192,1,240,124,93,107,34,4,113,205,57,148,137,39,239,44,2,61,7,106,92,64],"length":534,"final_offset":664,"validated_count":44,"validation_warnings":[{"io_id":202,"original":40960,"validated":0},{"io_id":203,"original":16385,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-04 14:11:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188365728164020224,"timestamp_seconds":5188365728164020.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 14:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858850048001,"66":12298,"120":206,"28":31744,"24":0,"16":17274117946343424,"45":1742330136470022144},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858850048001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:11:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:11:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274117946343424,"km_value":17274117946343.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742330136470022144,"description":"Unknown IO ID 45"} 
[2026-09-04 14:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858850048001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742330136470022144}} 
[2026-09-04 14:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":170701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:11:26] local.INFO: GPS data processed {"connection_id":170701,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:11:26] local.INFO: Acknowledgment sent {"connection_id":170701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:11:36] local.INFO: TCP Data received {"connection_id":171007,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b930b90012cbdad40076b5f080043014b33..."} 
[2026-09-04 14:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b930b90012cbdad40076b5f080043014b33..."} 
[2026-09-04 14:11:36] local.INFO: Processing buffer {"connection_id":171007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b930b90012cbdad40076b5f080043014b33..."} 
[2026-09-04 14:11:36] local.INFO: Packet analysis {"connection_id":171007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b93"} 
[2026-09-04 14:11:36] local.INFO: Extracted packet for processing {"connection_id":171007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b93"} 
[2026-09-04 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":750628160,"raw_latitude":124477192,"longitude_deg":75.062816,"latitude_deg":12.4477192,"altitude":67,"angle":331,"satellites":51,"speed":48,"hex_longitude":"2cbdad40","hex_latitude":"076b5f08","is_valid_coordinates":true} 
[2026-09-04 14:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858864640001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397958952249196544,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4777052535379822592,"note":"Value kept but may cause issues"} 
[2026-09-04 14:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788511194000,"timestamp_ms":1788511194000,"timestamp_seconds":1788511194,"priority":1,"record_length":96,"hex_timestamp":"000001a06b930b90"} 
[2026-09-04 14:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 14:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858864640001,"66":27919,"2":206,"85":37888,"24":48,"16":397958952249196544,"44":-4777052535379822592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-04 14:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858864640001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 14:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397958952249196544,"km_value":397958952249196.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:11:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4777052535379822592,"description":"Unknown IO ID 44"} 
[2026-09-04 14:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858864640001,"power":27919,"power_alt":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-4777052535379822592}} 
[2026-09-04 14:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":171007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:11:36] local.INFO: GPS data processed {"connection_id":171007,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:11:36] local.INFO: Acknowledgment sent {"connection_id":171007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:11:53] local.INFO: TCP Data received {"connection_id":172119,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:11:53] local.INFO: Processing buffer {"connection_id":172119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:11:53] local.INFO: IMEI packet received {"connection_id":172119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":172119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:11:54] local.INFO: TCP Data received {"connection_id":171008,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:11:54] local.INFO: Processing buffer {"connection_id":171008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:11:54] local.INFO: IMEI packet received {"connection_id":171008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":171008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:11:59] local.INFO: TCP Data received {"connection_id":172119,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:11:59] local.INFO: Processing buffer {"connection_id":172119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:11:59] local.INFO: IMEI packet received {"connection_id":172119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":172119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:11:59] local.INFO: TCP Data received {"connection_id":171008,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:11:59] local.INFO: Processing buffer {"connection_id":171008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:11:59] local.INFO: IMEI packet received {"connection_id":171008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":171008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:12:00] local.INFO: TCP Data received {"connection_id":172119,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b92c158012d182d400721c020004800cd29..."} 
[2026-09-04 14:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b92c158012d182d400721c020004800cd29..."} 
[2026-09-04 14:12:00] local.INFO: Processing buffer {"connection_id":172119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b92c158012d182d400721c020004800cd29..."} 
[2026-09-04 14:12:00] local.INFO: Packet analysis {"connection_id":172119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b92"} 
[2026-09-04 14:12:00] local.INFO: Extracted packet for processing {"connection_id":172119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b92"} 
[2026-09-04 14:12:00] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119652384,"longitude_deg":75.6559168,"latitude_deg":11.9652384,"altitude":72,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"0721c020","is_valid_coordinates":true} 
[2026-09-04 14:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858855424001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274117946343424,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030237437952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788511175000,"timestamp_ms":1788511175000,"timestamp_seconds":1788511175,"priority":1,"record_length":96,"hex_timestamp":"000001a06b92c158"} 
[2026-09-04 14:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168049888100864,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452349,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7751105420158900381,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3228800342199632078,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514089443396288719,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":40960,"corrected_to":0} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2446016513,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":98,"raw_value":59997051898822656,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":92,"raw_value":-2449958197289549823,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":43,"raw_value":11821949022502916,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,120,28,24,241,158,16,94,160,29,45,192,72,36,10,66,9,128,202,75,40,234,1,240,146,107,34,4,113,205,57,175,115,64,38,239,48,2,61,7,98,92,43],"length":534,"final_offset":664,"validated_count":43,"validation_warnings":[{"io_id":202,"original":40960,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-04 14:12:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188372359593066496,"timestamp_seconds":5188372359593066.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 14:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858855424001,"66":12319,"120":206,"28":31744,"24":0,"16":17274117946343424,"45":1742119030237437952},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858855424001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:12:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:12:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274117946343424,"km_value":17274117946343.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030237437952,"description":"Unknown IO ID 45"} 
[2026-09-04 14:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858855424001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030237437952}} 
[2026-09-04 14:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":172119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:12:00] local.INFO: GPS data processed {"connection_id":172119,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:12:00] local.INFO: Acknowledgment sent {"connection_id":172119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:12:00] local.INFO: TCP Data received {"connection_id":171008,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:12:00] local.INFO: Processing buffer {"connection_id":171008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:12:00] local.INFO: Packet analysis {"connection_id":171008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:12:00] local.INFO: Extracted packet for processing {"connection_id":171008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:12:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858742272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788511013000,"timestamp_ms":1788511013000,"timestamp_seconds":1788511013,"priority":1,"record_length":96,"hex_timestamp":"000001a06b904888"} 
[2026-09-04 14:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 14:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858742272001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858742272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:12:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:12:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858742272001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":171008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:12:00] local.INFO: GPS data processed {"connection_id":171008,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:12:00] local.INFO: Acknowledgment sent {"connection_id":171008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:12:01] local.INFO: TCP Data received {"connection_id":172119,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b931360012d182d400721c020004800cd2b..."} 
[2026-09-04 14:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b931360012d182d400721c020004800cd2b..."} 
[2026-09-04 14:12:01] local.INFO: Processing buffer {"connection_id":172119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b931360012d182d400721c020004800cd2b..."} 
[2026-09-04 14:12:01] local.INFO: Packet analysis {"connection_id":172119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b93"} 
[2026-09-04 14:12:01] local.INFO: Extracted packet for processing {"connection_id":172119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b93"} 
[2026-09-04 14:12:01] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119652384,"longitude_deg":75.6559168,"latitude_deg":11.9652384,"altitude":72,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"0721c020","is_valid_coordinates":true} 
[2026-09-04 14:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858860800001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274117946343424,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030237437952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788511196000,"timestamp_ms":1788511196000,"timestamp_seconds":1788511196,"priority":1,"record_length":96,"hex_timestamp":"000001a06b931360"} 
[2026-09-04 14:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858860800001,"66":12385,"120":206,"28":31744,"24":0,"16":17274117946343424,"45":1742119030237437952},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858860800001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:12:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:12:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274117946343424,"km_value":17274117946343.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030237437952,"description":"Unknown IO ID 45"} 
[2026-09-04 14:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858860800001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030237437952}} 
[2026-09-04 14:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":172119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:12:01] local.INFO: GPS data processed {"connection_id":172119,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:12:01] local.INFO: Acknowledgment sent {"connection_id":172119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:12:20] local.INFO: TCP Data received {"connection_id":171009,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:12:20] local.INFO: Processing buffer {"connection_id":171009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:12:20] local.INFO: IMEI packet received {"connection_id":171009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":171009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:12:23] local.INFO: TCP Data received {"connection_id":171009,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 14:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171009,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 14:12:23] local.INFO: Processing buffer {"connection_id":171009,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 14:12:23] local.INFO: IMEI packet received {"connection_id":171009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":171009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:12:24] local.INFO: TCP Data received {"connection_id":171009,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:12:24] local.INFO: Processing buffer {"connection_id":171009,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 14:12:24] local.INFO: IMEI packet received {"connection_id":171009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":171009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:12:32] local.INFO: TCP Data received {"connection_id":171008,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:12:32] local.INFO: Processing buffer {"connection_id":171008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b904888012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:12:32] local.INFO: Packet analysis {"connection_id":171008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:12:32] local.INFO: Extracted packet for processing {"connection_id":171008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b90"} 
[2026-09-04 14:12:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858742272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788511013000,"timestamp_ms":1788511013000,"timestamp_seconds":1788511013,"priority":1,"record_length":96,"hex_timestamp":"000001a06b904888"} 
[2026-09-04 14:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 14:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858742272001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858742272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:12:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:12:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858742272001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":171008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762788,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:12:32] local.INFO: GPS data processed {"connection_id":171008,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:12:32] local.INFO: Acknowledgment sent {"connection_id":171008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:12:33] local.INFO: TCP Data received {"connection_id":172119,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b936568012d182d400721c020004800cd2a..."} 
[2026-09-04 14:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b936568012d182d400721c020004800cd2a..."} 
[2026-09-04 14:12:33] local.INFO: Processing buffer {"connection_id":172119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b936568012d182d400721c020004800cd2a..."} 
[2026-09-04 14:12:33] local.INFO: Packet analysis {"connection_id":172119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b93"} 
[2026-09-04 14:12:33] local.INFO: Extracted packet for processing {"connection_id":172119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b93"} 
[2026-09-04 14:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119652384,"longitude_deg":75.6559168,"latitude_deg":11.9652384,"altitude":72,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"0721c020","is_valid_coordinates":true} 
[2026-09-04 14:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858866176001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274117946343424,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030237437952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788511217000,"timestamp_ms":1788511217000,"timestamp_seconds":1788511217,"priority":1,"record_length":96,"hex_timestamp":"000001a06b936568"} 
[2026-09-04 14:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 14:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858866176001,"66":12385,"120":206,"28":31744,"24":0,"16":17274117946343424,"45":1742119030237437952},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858866176001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:12:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:12:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274117946343424,"km_value":17274117946343.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030237437952,"description":"Unknown IO ID 45"} 
[2026-09-04 14:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858866176001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030237437952}} 
[2026-09-04 14:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":172119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:12:33] local.INFO: GPS data processed {"connection_id":172119,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:12:33] local.INFO: Acknowledgment sent {"connection_id":172119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:12:48] local.INFO: TCP Data received {"connection_id":173422,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:12:48] local.INFO: Processing buffer {"connection_id":173422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:12:48] local.INFO: IMEI packet received {"connection_id":173422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":173422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:12:53] local.INFO: TCP Data received {"connection_id":173422,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:12:53] local.INFO: Processing buffer {"connection_id":173422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:12:53] local.INFO: IMEI packet received {"connection_id":173422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":173422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:12:54] local.INFO: TCP Data received {"connection_id":170702,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:12:54] local.INFO: Processing buffer {"connection_id":170702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:12:54] local.INFO: IMEI packet received {"connection_id":170702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":170702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:12:55] local.INFO: TCP Data received {"connection_id":173422,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b93b770012d182d400721c020004800cd2b..."} 
[2026-09-04 14:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b93b770012d182d400721c020004800cd2b..."} 
[2026-09-04 14:12:55] local.INFO: Processing buffer {"connection_id":173422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b93b770012d182d400721c020004800cd2b..."} 
[2026-09-04 14:12:55] local.INFO: Packet analysis {"connection_id":173422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b93"} 
[2026-09-04 14:12:55] local.INFO: Extracted packet for processing {"connection_id":173422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b93"} 
[2026-09-04 14:12:55] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119652384,"longitude_deg":75.6559168,"latitude_deg":11.9652384,"altitude":72,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"0721c020","is_valid_coordinates":true} 
[2026-09-04 14:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858871552001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274117946343424,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030237437952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511238000,"timestamp_ms":1788511238000,"timestamp_seconds":1788511238,"priority":1,"record_length":96,"hex_timestamp":"000001a06b93b770"} 
[2026-09-04 14:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 14:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858871552001,"66":12385,"120":206,"28":31744,"24":0,"16":17274117946343424,"45":1742119030237437952},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858871552001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:12:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:12:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274117946343424,"km_value":17274117946343.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030237437952,"description":"Unknown IO ID 45"} 
[2026-09-04 14:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858871552001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030237437952}} 
[2026-09-04 14:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":173422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:12:55] local.INFO: GPS data processed {"connection_id":173422,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:12:55] local.INFO: Acknowledgment sent {"connection_id":173422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:12:59] local.INFO: TCP Data received {"connection_id":170702,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:12:59] local.INFO: Processing buffer {"connection_id":170702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:12:59] local.INFO: IMEI packet received {"connection_id":170702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":170702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:12:59] local.INFO: TCP Data received {"connection_id":173422,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b940978012d182d400721c020004800cd2c..."} 
[2026-09-04 14:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b940978012d182d400721c020004800cd2c..."} 
[2026-09-04 14:12:59] local.INFO: Processing buffer {"connection_id":173422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b940978012d182d400721c020004800cd2c..."} 
[2026-09-04 14:12:59] local.INFO: Packet analysis {"connection_id":173422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:12:59] local.INFO: Extracted packet for processing {"connection_id":173422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119652384,"longitude_deg":75.6559168,"latitude_deg":11.9652384,"altitude":72,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"0721c020","is_valid_coordinates":true} 
[2026-09-04 14:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858876928001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274117946343424,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030237437952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788511259000,"timestamp_ms":1788511259000,"timestamp_seconds":1788511259,"priority":1,"record_length":96,"hex_timestamp":"000001a06b940978"} 
[2026-09-04 14:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 14:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858876928001,"66":12385,"120":206,"28":31744,"24":0,"16":17274117946343424,"45":1742119030237437952},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858876928001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:12:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274117946343424,"km_value":17274117946343.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030237437952,"description":"Unknown IO ID 45"} 
[2026-09-04 14:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858876928001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030237437952}} 
[2026-09-04 14:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":173422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:12:59] local.INFO: GPS data processed {"connection_id":173422,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:12:59] local.INFO: Acknowledgment sent {"connection_id":173422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:13:00] local.INFO: TCP Data received {"connection_id":170702,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:13:00] local.INFO: Processing buffer {"connection_id":170702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:13:00] local.INFO: Packet analysis {"connection_id":170702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:13:00] local.INFO: Extracted packet for processing {"connection_id":170702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858819328001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788511314000,"timestamp_ms":1788511314000,"timestamp_seconds":1788511314,"priority":1,"record_length":96,"hex_timestamp":"000001a06b94e050"} 
[2026-09-04 14:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858819328001,"66":24419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858819328001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:13:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858819328001,"power":24419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":170702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762792,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:13:00] local.INFO: GPS data processed {"connection_id":170702,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:13:00] local.INFO: Acknowledgment sent {"connection_id":170702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:13:05] local.INFO: TCP Data received {"connection_id":170702,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:13:05] local.INFO: Processing buffer {"connection_id":170702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:13:05] local.INFO: Packet analysis {"connection_id":170702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:13:05] local.INFO: Extracted packet for processing {"connection_id":170702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858819328001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788511314000,"timestamp_ms":1788511314000,"timestamp_seconds":1788511314,"priority":1,"record_length":96,"hex_timestamp":"000001a06b94e050"} 
[2026-09-04 14:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858819328001,"66":24419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858819328001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:13:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:13:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858819328001,"power":24419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":170702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762793,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:13:05] local.INFO: GPS data processed {"connection_id":170702,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:13:05] local.INFO: Acknowledgment sent {"connection_id":170702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:13:31] local.INFO: TCP Data received {"connection_id":173422,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b945b80012d182d400721c020004800cd2a..."} 
[2026-09-04 14:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b945b80012d182d400721c020004800cd2a..."} 
[2026-09-04 14:13:31] local.INFO: Processing buffer {"connection_id":173422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b945b80012d182d400721c020004800cd2a..."} 
[2026-09-04 14:13:31] local.INFO: Packet analysis {"connection_id":173422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:13:31] local.INFO: Extracted packet for processing {"connection_id":173422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119652384,"longitude_deg":75.6559168,"latitude_deg":11.9652384,"altitude":72,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"0721c020","is_valid_coordinates":true} 
[2026-09-04 14:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858882304001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274117946343424,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030237437952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788511280000,"timestamp_ms":1788511280000,"timestamp_seconds":1788511280,"priority":1,"record_length":96,"hex_timestamp":"000001a06b945b80"} 
[2026-09-04 14:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 14:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858882304001,"66":12385,"120":206,"28":31744,"24":0,"16":17274117946343424,"45":1742119030237437952},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858882304001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:13:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274117946343424,"km_value":17274117946343.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030237437952,"description":"Unknown IO ID 45"} 
[2026-09-04 14:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858882304001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030237437952}} 
[2026-09-04 14:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":173422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:13:31] local.INFO: GPS data processed {"connection_id":173422,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:13:31] local.INFO: Acknowledgment sent {"connection_id":173422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:13:48] local.INFO: TCP Data received {"connection_id":171011,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:13:48] local.INFO: Processing buffer {"connection_id":171011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:13:48] local.INFO: IMEI packet received {"connection_id":171011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":171011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:13:49] local.INFO: TCP Data received {"connection_id":171010,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:13:49] local.INFO: Processing buffer {"connection_id":171010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:13:49] local.INFO: IMEI packet received {"connection_id":171010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":171010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:13:53] local.INFO: TCP Data received {"connection_id":171011,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:13:53] local.INFO: Processing buffer {"connection_id":171011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:13:53] local.INFO: IMEI packet received {"connection_id":171011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":171011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:13:54] local.INFO: TCP Data received {"connection_id":171010,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:13:54] local.INFO: Processing buffer {"connection_id":171010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:13:54] local.INFO: IMEI packet received {"connection_id":171010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":171010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:13:55] local.INFO: TCP Data received {"connection_id":171011,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b94ad88012d182d400721c020004800cd2f..."} 
[2026-09-04 14:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b94ad88012d182d400721c020004800cd2f..."} 
[2026-09-04 14:13:55] local.INFO: Processing buffer {"connection_id":171011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b94ad88012d182d400721c020004800cd2f..."} 
[2026-09-04 14:13:55] local.INFO: Packet analysis {"connection_id":171011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:13:55] local.INFO: Extracted packet for processing {"connection_id":171011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:13:55] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119652384,"longitude_deg":75.6559168,"latitude_deg":11.9652384,"altitude":72,"angle":205,"satellites":47,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"0721c020","is_valid_coordinates":true} 
[2026-09-04 14:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858887680001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274117946343424,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030237437952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511301000,"timestamp_ms":1788511301000,"timestamp_seconds":1788511301,"priority":1,"record_length":96,"hex_timestamp":"000001a06b94ad88"} 
[2026-09-04 14:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 14:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858887680001,"66":12385,"120":206,"28":31744,"24":0,"16":17274117946343424,"45":1742119030237437952},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858887680001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:13:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:13:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274117946343424,"km_value":17274117946343.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030237437952,"description":"Unknown IO ID 45"} 
[2026-09-04 14:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858887680001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030237437952}} 
[2026-09-04 14:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":171011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:13:55] local.INFO: GPS data processed {"connection_id":171011,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:13:55] local.INFO: Acknowledgment sent {"connection_id":171011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:13:55] local.INFO: TCP Data received {"connection_id":171010,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:13:55] local.INFO: Processing buffer {"connection_id":171010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:13:55] local.INFO: Packet analysis {"connection_id":171010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:13:55] local.INFO: Extracted packet for processing {"connection_id":171010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858819328001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511314000,"timestamp_ms":1788511314000,"timestamp_seconds":1788511314,"priority":1,"record_length":96,"hex_timestamp":"000001a06b94e050"} 
[2026-09-04 14:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858819328001,"66":24419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858819328001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:13:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:13:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858819328001,"power":24419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":171010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762796,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:13:55] local.INFO: GPS data processed {"connection_id":171010,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:13:55] local.INFO: Acknowledgment sent {"connection_id":171010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:14:00] local.INFO: TCP Data received {"connection_id":171010,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:14:00] local.INFO: Processing buffer {"connection_id":171010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:14:00] local.INFO: Packet analysis {"connection_id":171010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:14:00] local.INFO: Extracted packet for processing {"connection_id":171010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:14:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858819328001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788511314000,"timestamp_ms":1788511314000,"timestamp_seconds":1788511314,"priority":1,"record_length":96,"hex_timestamp":"000001a06b94e050"} 
[2026-09-04 14:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858819328001,"66":24419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858819328001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:14:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:14:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858819328001,"power":24419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":171010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762797,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:14:00] local.INFO: GPS data processed {"connection_id":171010,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:14:00] local.INFO: Acknowledgment sent {"connection_id":171010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:14:27] local.INFO: TCP Data received {"connection_id":171011,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b94ff90012d182d400721c020004800cd2c..."} 
[2026-09-04 14:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b94ff90012d182d400721c020004800cd2c..."} 
[2026-09-04 14:14:27] local.INFO: Processing buffer {"connection_id":171011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b94ff90012d182d400721c020004800cd2c..."} 
[2026-09-04 14:14:27] local.INFO: Packet analysis {"connection_id":171011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:14:27] local.INFO: Extracted packet for processing {"connection_id":171011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119652384,"longitude_deg":75.6559168,"latitude_deg":11.9652384,"altitude":72,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"0721c020","is_valid_coordinates":true} 
[2026-09-04 14:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858893056001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274117946343424,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030237437952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788511322000,"timestamp_ms":1788511322000,"timestamp_seconds":1788511322,"priority":1,"record_length":96,"hex_timestamp":"000001a06b94ff90"} 
[2026-09-04 14:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 14:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858893056001,"66":12406,"120":206,"28":31744,"24":0,"16":17274117946343424,"45":1742119030237437952},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858893056001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:14:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274117946343424,"km_value":17274117946343.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030237437952,"description":"Unknown IO ID 45"} 
[2026-09-04 14:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858893056001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030237437952}} 
[2026-09-04 14:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":171011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:14:27] local.INFO: GPS data processed {"connection_id":171011,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:14:27] local.INFO: Acknowledgment sent {"connection_id":171011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:14:32] local.INFO: TCP Data received {"connection_id":171010,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:14:32] local.INFO: Processing buffer {"connection_id":171010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:14:32] local.INFO: Packet analysis {"connection_id":171010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:14:32] local.INFO: Extracted packet for processing {"connection_id":171010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:14:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858819328001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788511314000,"timestamp_ms":1788511314000,"timestamp_seconds":1788511314,"priority":1,"record_length":96,"hex_timestamp":"000001a06b94e050"} 
[2026-09-04 14:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858819328001,"66":24419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858819328001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:14:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:14:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858819328001,"power":24419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":171010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762799,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:14:32] local.INFO: GPS data processed {"connection_id":171010,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:14:32] local.INFO: Acknowledgment sent {"connection_id":171010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:14:48] local.INFO: TCP Data received {"connection_id":172121,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:14:48] local.INFO: Processing buffer {"connection_id":172121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:14:48] local.INFO: IMEI packet received {"connection_id":172121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":172121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:14:49] local.INFO: TCP Data received {"connection_id":171012,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:14:49] local.INFO: Processing buffer {"connection_id":171012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:14:49] local.INFO: IMEI packet received {"connection_id":171012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":171012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:14:54] local.INFO: TCP Data received {"connection_id":171012,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:14:54] local.INFO: Processing buffer {"connection_id":171012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:14:54] local.INFO: IMEI packet received {"connection_id":171012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":171012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:14:55] local.INFO: TCP Data received {"connection_id":171012,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:14:55] local.INFO: Processing buffer {"connection_id":171012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:14:55] local.INFO: Packet analysis {"connection_id":171012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:14:55] local.INFO: Extracted packet for processing {"connection_id":171012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858819328001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511314000,"timestamp_ms":1788511314000,"timestamp_seconds":1788511314,"priority":1,"record_length":96,"hex_timestamp":"000001a06b94e050"} 
[2026-09-04 14:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858819328001,"66":24419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858819328001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:14:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:14:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858819328001,"power":24419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":171012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:14:55] local.INFO: GPS data processed {"connection_id":171012,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:14:55] local.INFO: Acknowledgment sent {"connection_id":171012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:14:56] local.INFO: TCP Data received {"connection_id":172121,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:14:56] local.INFO: Processing buffer {"connection_id":172121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:14:56] local.INFO: IMEI packet received {"connection_id":172121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":172121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:14:57] local.INFO: TCP Data received {"connection_id":172121,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b955198012d182d400721c020004800cd2d..."} 
[2026-09-04 14:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b955198012d182d400721c020004800cd2d..."} 
[2026-09-04 14:14:57] local.INFO: Processing buffer {"connection_id":172121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b955198012d182d400721c020004800cd2d..."} 
[2026-09-04 14:14:57] local.INFO: Packet analysis {"connection_id":172121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b95"} 
[2026-09-04 14:14:57] local.INFO: Extracted packet for processing {"connection_id":172121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b95"} 
[2026-09-04 14:14:57] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119652384,"longitude_deg":75.6559168,"latitude_deg":11.9652384,"altitude":72,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"0721c020","is_valid_coordinates":true} 
[2026-09-04 14:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858898432001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274117946343424,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030237437952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788511343000,"timestamp_ms":1788511343000,"timestamp_seconds":1788511343,"priority":1,"record_length":96,"hex_timestamp":"000001a06b955198"} 
[2026-09-04 14:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 14:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858898432001,"66":12113,"120":206,"28":31744,"24":0,"16":17274117946343424,"45":1742119030237437952},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858898432001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:14:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:14:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274117946343424,"km_value":17274117946343.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030237437952,"description":"Unknown IO ID 45"} 
[2026-09-04 14:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858898432001,"power":12113,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030237437952}} 
[2026-09-04 14:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":172121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:14:57] local.INFO: GPS data processed {"connection_id":172121,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:14:57] local.INFO: Acknowledgment sent {"connection_id":172121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:14:59] local.INFO: TCP Data received {"connection_id":171012,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:14:59] local.INFO: Processing buffer {"connection_id":171012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:14:59] local.INFO: Packet analysis {"connection_id":171012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:14:59] local.INFO: Extracted packet for processing {"connection_id":171012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858819328001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788511314000,"timestamp_ms":1788511314000,"timestamp_seconds":1788511314,"priority":1,"record_length":96,"hex_timestamp":"000001a06b94e050"} 
[2026-09-04 14:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858819328001,"66":24419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858819328001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:14:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858819328001,"power":24419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":171012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762802,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:14:59] local.INFO: GPS data processed {"connection_id":171012,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:14:59] local.INFO: Acknowledgment sent {"connection_id":171012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:15:29] local.INFO: TCP Data received {"connection_id":172121,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b95a3a0012d182d400721c020004800cd2f..."} 
[2026-09-04 14:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b95a3a0012d182d400721c020004800cd2f..."} 
[2026-09-04 14:15:29] local.INFO: Processing buffer {"connection_id":172121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b95a3a0012d182d400721c020004800cd2f..."} 
[2026-09-04 14:15:29] local.INFO: Packet analysis {"connection_id":172121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b95"} 
[2026-09-04 14:15:29] local.INFO: Extracted packet for processing {"connection_id":172121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b95"} 
[2026-09-04 14:15:29] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119652384,"longitude_deg":75.6559168,"latitude_deg":11.9652384,"altitude":72,"angle":205,"satellites":47,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"0721c020","is_valid_coordinates":true} 
[2026-09-04 14:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858903808001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274117946343424,"note":"Value kept but may cause issues"} 
[2026-09-04 14:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030237437952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788511364000,"timestamp_ms":1788511364000,"timestamp_seconds":1788511364,"priority":1,"record_length":96,"hex_timestamp":"000001a06b95a3a0"} 
[2026-09-04 14:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-04 14:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858903808001,"66":12385,"120":206,"28":31744,"24":0,"16":17274117946343424,"45":1742119030237437952},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858903808001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:15:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:15:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274117946343424,"km_value":17274117946343.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030237437952,"description":"Unknown IO ID 45"} 
[2026-09-04 14:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858903808001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030237437952}} 
[2026-09-04 14:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":172121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:15:29] local.INFO: GPS data processed {"connection_id":172121,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:15:29] local.INFO: Acknowledgment sent {"connection_id":172121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:15:31] local.INFO: TCP Data received {"connection_id":171012,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:15:31] local.INFO: Processing buffer {"connection_id":171012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:15:31] local.INFO: Packet analysis {"connection_id":171012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:15:31] local.INFO: Extracted packet for processing {"connection_id":171012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858819328001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788511314000,"timestamp_ms":1788511314000,"timestamp_seconds":1788511314,"priority":1,"record_length":96,"hex_timestamp":"000001a06b94e050"} 
[2026-09-04 14:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858819328001,"66":24419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858819328001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:15:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:15:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858819328001,"power":24419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":171012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762804,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:15:31] local.INFO: GPS data processed {"connection_id":171012,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:15:31] local.INFO: Acknowledgment sent {"connection_id":171012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:15:48] local.INFO: TCP Data received {"connection_id":170704,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:15:48] local.INFO: Processing buffer {"connection_id":170704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:15:48] local.INFO: IMEI packet received {"connection_id":170704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":170704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:15:49] local.INFO: TCP Data received {"connection_id":170705,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:15:49] local.INFO: Processing buffer {"connection_id":170705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:15:49] local.INFO: IMEI packet received {"connection_id":170705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":170705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:15:53] local.INFO: TCP Data received {"connection_id":170704,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:15:53] local.INFO: Processing buffer {"connection_id":170704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:15:53] local.INFO: IMEI packet received {"connection_id":170704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":170704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:15:54] local.INFO: TCP Data received {"connection_id":170705,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:15:54] local.INFO: Processing buffer {"connection_id":170705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:15:54] local.INFO: IMEI packet received {"connection_id":170705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":170705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:15:55] local.INFO: TCP Data received {"connection_id":170704,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b95f5a8012d182d400721c020004800cd2e..."} 
[2026-09-04 14:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b95f5a8012d182d400721c020004800cd2e..."} 
[2026-09-04 14:15:55] local.INFO: Processing buffer {"connection_id":170704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b95f5a8012d182d400721c020004800cd2e..."} 
[2026-09-04 14:15:55] local.INFO: Packet analysis {"connection_id":170704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b95"} 
[2026-09-04 14:15:55] local.INFO: Extracted packet for processing {"connection_id":170704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b95"} 
[2026-09-04 14:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119652384,"longitude_deg":75.6559168,"latitude_deg":11.9652384,"altitude":72,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"0721c020","is_valid_coordinates":true} 
[2026-09-04 14:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858909184001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274117946343424,"note":"Value kept but may cause issues"} 
[2026-09-04 14:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030237437952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511385000,"timestamp_ms":1788511385000,"timestamp_seconds":1788511385,"priority":1,"record_length":96,"hex_timestamp":"000001a06b95f5a8"} 
[2026-09-04 14:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 14:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858909184001,"66":13722,"120":206,"28":31744,"24":0,"16":17274117946343424,"45":1742119030237437952},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858909184001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:15:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:15:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274117946343424,"km_value":17274117946343.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030237437952,"description":"Unknown IO ID 45"} 
[2026-09-04 14:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858909184001,"power":13722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030237437952}} 
[2026-09-04 14:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":170704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:15:55] local.INFO: GPS data processed {"connection_id":170704,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:15:55] local.INFO: Acknowledgment sent {"connection_id":170704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:15:56] local.INFO: TCP Data received {"connection_id":170705,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:15:56] local.INFO: Processing buffer {"connection_id":170705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:15:56] local.INFO: Packet analysis {"connection_id":170705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:15:56] local.INFO: Extracted packet for processing {"connection_id":170705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:15:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858819328001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788511314000,"timestamp_ms":1788511314000,"timestamp_seconds":1788511314,"priority":1,"record_length":96,"hex_timestamp":"000001a06b94e050"} 
[2026-09-04 14:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858819328001,"66":24419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858819328001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:15:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:15:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858819328001,"power":24419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":170705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762806,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:15:56] local.INFO: GPS data processed {"connection_id":170705,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:15:56] local.INFO: Acknowledgment sent {"connection_id":170705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:16:26] local.INFO: TCP Data received {"connection_id":170704,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9647b0012d182d400721c020004800cd2b..."} 
[2026-09-04 14:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9647b0012d182d400721c020004800cd2b..."} 
[2026-09-04 14:16:26] local.INFO: Processing buffer {"connection_id":170704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9647b0012d182d400721c020004800cd2b..."} 
[2026-09-04 14:16:26] local.INFO: Packet analysis {"connection_id":170704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b96"} 
[2026-09-04 14:16:26] local.INFO: Extracted packet for processing {"connection_id":170704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b96"} 
[2026-09-04 14:16:26] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119652384,"longitude_deg":75.6559168,"latitude_deg":11.9652384,"altitude":72,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d182d40","hex_latitude":"0721c020","is_valid_coordinates":true} 
[2026-09-04 14:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858914560001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274117946343424,"note":"Value kept but may cause issues"} 
[2026-09-04 14:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030237437952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788511406000,"timestamp_ms":1788511406000,"timestamp_seconds":1788511406,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9647b0"} 
[2026-09-04 14:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-04 14:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858914560001,"66":13124,"120":206,"28":31744,"24":0,"16":17274117946343424,"45":1742119030237437952},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858914560001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:16:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:16:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274117946343424,"km_value":17274117946343.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030237437952,"description":"Unknown IO ID 45"} 
[2026-09-04 14:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858914560001,"power":13124,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742119030237437952}} 
[2026-09-04 14:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":170704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:16:26] local.INFO: GPS data processed {"connection_id":170704,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:16:26] local.INFO: Acknowledgment sent {"connection_id":170704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:16:27] local.INFO: TCP Data received {"connection_id":170705,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:16:27] local.INFO: Processing buffer {"connection_id":170705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:16:27] local.INFO: Packet analysis {"connection_id":170705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:16:27] local.INFO: Extracted packet for processing {"connection_id":170705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:16:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858819328001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788511314000,"timestamp_ms":1788511314000,"timestamp_seconds":1788511314,"priority":1,"record_length":96,"hex_timestamp":"000001a06b94e050"} 
[2026-09-04 14:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858819328001,"66":24419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858819328001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:16:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:16:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858819328001,"power":24419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":170705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762808,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:16:28] local.INFO: GPS data processed {"connection_id":170705,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:16:28] local.INFO: Acknowledgment sent {"connection_id":170705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:16:48] local.INFO: TCP Data received {"connection_id":171013,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:16:48] local.INFO: Processing buffer {"connection_id":171013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:16:48] local.INFO: IMEI packet received {"connection_id":171013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":171013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:16:53] local.INFO: TCP Data received {"connection_id":171013,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:16:53] local.INFO: Processing buffer {"connection_id":171013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:16:53] local.INFO: IMEI packet received {"connection_id":171013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":171013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:16:54] local.INFO: TCP Data received {"connection_id":170707,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:16:54] local.INFO: Processing buffer {"connection_id":170707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:16:54] local.INFO: IMEI packet received {"connection_id":170707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":170707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:16:55] local.INFO: TCP Data received {"connection_id":171013,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b985ed8012d1821000721b318004d00cd2f..."} 
[2026-09-04 14:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b985ed8012d1821000721b318004d00cd2f..."} 
[2026-09-04 14:16:55] local.INFO: Processing buffer {"connection_id":171013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b985ed8012d1821000721b318004d00cd2f..."} 
[2026-09-04 14:16:55] local.INFO: Packet analysis {"connection_id":171013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b98"} 
[2026-09-04 14:16:55] local.INFO: Extracted packet for processing {"connection_id":171013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b98"} 
[2026-09-04 14:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649048,"longitude_deg":75.6556032,"latitude_deg":11.9649048,"altitude":77,"angle":205,"satellites":47,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b318","is_valid_coordinates":true} 
[2026-09-04 14:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858949632001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274349874577408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771878400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511543000,"timestamp_ms":1788511543000,"timestamp_seconds":1788511543,"priority":1,"record_length":96,"hex_timestamp":"000001a06b985ed8"} 
[2026-09-04 14:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 14:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858949632001,"66":12917,"120":206,"28":31744,"24":0,"16":17274349874577408,"45":1738670961771878400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858949632001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:16:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274349874577408,"km_value":17274349874577.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771878400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858949632001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771878400}} 
[2026-09-04 14:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":171013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:16:55] local.INFO: GPS data processed {"connection_id":171013,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:16:55] local.INFO: Acknowledgment sent {"connection_id":171013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:16:59] local.INFO: TCP Data received {"connection_id":170707,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:16:59] local.INFO: Processing buffer {"connection_id":170707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:16:59] local.INFO: IMEI packet received {"connection_id":170707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":170707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:17:00] local.INFO: TCP Data received {"connection_id":170707,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:17:00] local.INFO: Processing buffer {"connection_id":170707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:17:00] local.INFO: Packet analysis {"connection_id":170707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:17:00] local.INFO: Extracted packet for processing {"connection_id":170707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:17:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858819328001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788511314000,"timestamp_ms":1788511314000,"timestamp_seconds":1788511314,"priority":1,"record_length":96,"hex_timestamp":"000001a06b94e050"} 
[2026-09-04 14:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858819328001,"66":24419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858819328001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:17:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:17:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858819328001,"power":24419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":170707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:17:00] local.INFO: GPS data processed {"connection_id":170707,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:17:00] local.INFO: Acknowledgment sent {"connection_id":170707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:17:05] local.INFO: TCP Data received {"connection_id":170707,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:17:05] local.INFO: Processing buffer {"connection_id":170707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b94e050012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:17:05] local.INFO: Packet analysis {"connection_id":170707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:17:05] local.INFO: Extracted packet for processing {"connection_id":170707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b94"} 
[2026-09-04 14:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858819328001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788511314000,"timestamp_ms":1788511314000,"timestamp_seconds":1788511314,"priority":1,"record_length":96,"hex_timestamp":"000001a06b94e050"} 
[2026-09-04 14:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 14:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858819328001,"66":24419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858819328001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:17:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:17:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858819328001,"power":24419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":170707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762811,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:17:05] local.INFO: GPS data processed {"connection_id":170707,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:17:05] local.INFO: Acknowledgment sent {"connection_id":170707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:17:26] local.INFO: TCP Data received {"connection_id":172122,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:17:26] local.INFO: Processing buffer {"connection_id":172122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:17:26] local.INFO: IMEI packet received {"connection_id":172122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":172122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:17:27] local.INFO: TCP Data received {"connection_id":172122,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b990ab8012cbca8000771b0f0001d01042e..."} 
[2026-09-04 14:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b990ab8012cbca8000771b0f0001d01042e..."} 
[2026-09-04 14:17:27] local.INFO: Processing buffer {"connection_id":172122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b990ab8012cbca8000771b0f0001d01042e..."} 
[2026-09-04 14:17:27] local.INFO: Packet analysis {"connection_id":172122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:17:27] local.INFO: Extracted packet for processing {"connection_id":172122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:17:27] local.INFO: GPS Element Parsed {"raw_longitude":750561280,"raw_latitude":124891376,"longitude_deg":75.056128,"latitude_deg":12.4891376,"altitude":29,"angle":260,"satellites":46,"speed":43,"hex_longitude":"2cbca800","hex_latitude":"0771b0f0","is_valid_coordinates":true} 
[2026-09-04 14:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858965760001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397981548072140800,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4850165660473262080,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788511587000,"timestamp_ms":1788511587000,"timestamp_seconds":1788511587,"priority":1,"record_length":96,"hex_timestamp":"000001a06b990ab8"} 
[2026-09-04 14:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858965760001,"66":27800,"158":206,"85":37888,"24":43,"16":397981548072140800,"44":-4850165660473262080},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-04 14:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858965760001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:17:27] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-04 14:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 14:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397981548072140800,"km_value":397981548072140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:17:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4850165660473262080,"description":"Unknown IO ID 44"} 
[2026-09-04 14:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858965760001,"power":27800,"unknown_158":206,"unknown_85":37888,"ignition":43,"odometer":null,"unknown_44":-4850165660473262080}} 
[2026-09-04 14:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":172122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:17:27] local.INFO: GPS data processed {"connection_id":172122,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:17:27] local.INFO: Acknowledgment sent {"connection_id":172122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:17:27] local.INFO: TCP Data received {"connection_id":171013,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b98b0e0012d1821000721b318004d00cd2e..."} 
[2026-09-04 14:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b98b0e0012d1821000721b318004d00cd2e..."} 
[2026-09-04 14:17:27] local.INFO: Processing buffer {"connection_id":171013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b98b0e0012d1821000721b318004d00cd2e..."} 
[2026-09-04 14:17:27] local.INFO: Packet analysis {"connection_id":171013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b98"} 
[2026-09-04 14:17:27] local.INFO: Extracted packet for processing {"connection_id":171013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b98"} 
[2026-09-04 14:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649048,"longitude_deg":75.6556032,"latitude_deg":11.9649048,"altitude":77,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b318","is_valid_coordinates":true} 
[2026-09-04 14:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858955008001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274349874577408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771878400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788511564000,"timestamp_ms":1788511564000,"timestamp_seconds":1788511564,"priority":1,"record_length":96,"hex_timestamp":"000001a06b98b0e0"} 
[2026-09-04 14:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 14:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858955008001,"66":12461,"120":206,"28":31744,"24":0,"16":17274349874577408,"45":1738670961771878400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858955008001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:17:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:17:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274349874577408,"km_value":17274349874577.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771878400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858955008001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771878400}} 
[2026-09-04 14:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":171013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:17:27] local.INFO: GPS data processed {"connection_id":171013,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:17:27] local.INFO: Acknowledgment sent {"connection_id":171013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:17:48] local.INFO: TCP Data received {"connection_id":170708,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:17:48] local.INFO: Processing buffer {"connection_id":170708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:17:48] local.INFO: IMEI packet received {"connection_id":170708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":170708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:17:49] local.INFO: TCP Data received {"connection_id":171014,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:17:49] local.INFO: Processing buffer {"connection_id":171014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:17:49] local.INFO: IMEI packet received {"connection_id":171014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":171014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:17:49] local.INFO: TCP Data received {"connection_id":170708,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:17:49] local.INFO: Processing buffer {"connection_id":170708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:17:49] local.INFO: IMEI packet received {"connection_id":170708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":170708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:17:53] local.INFO: TCP Data received {"connection_id":170708,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:17:53] local.INFO: Processing buffer {"connection_id":170708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:17:53] local.INFO: IMEI packet received {"connection_id":170708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":170708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:17:54] local.INFO: TCP Data received {"connection_id":171014,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:17:54] local.INFO: Processing buffer {"connection_id":171014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:17:54] local.INFO: IMEI packet received {"connection_id":171014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":171014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:17:55] local.INFO: TCP Data received {"connection_id":170708,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b98c080012d181f800721b228004d00dc2f..."} 
[2026-09-04 14:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b98c080012d181f800721b228004d00dc2f..."} 
[2026-09-04 14:17:55] local.INFO: Processing buffer {"connection_id":170708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b98c080012d181f800721b228004d00dc2f..."} 
[2026-09-04 14:17:55] local.INFO: Packet analysis {"connection_id":170708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b98"} 
[2026-09-04 14:17:55] local.INFO: Extracted packet for processing {"connection_id":170708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b98"} 
[2026-09-04 14:17:55] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648808,"longitude_deg":75.6555648,"latitude_deg":11.9648808,"altitude":77,"angle":220,"satellites":47,"speed":2,"hex_longitude":"2d181f80","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-04 14:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858960384001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274371349413888,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771878400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511568000,"timestamp_ms":1788511568000,"timestamp_seconds":1788511568,"priority":1,"record_length":96,"hex_timestamp":"000001a06b98c080"} 
[2026-09-04 14:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858960384001,"66":12906,"120":206,"28":31744,"24":2,"16":17274371349413888,"45":1738670961771878400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858960384001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:17:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274371349413888,"km_value":17274371349413.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771878400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858960384001,"power":12906,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1738670961771878400}} 
[2026-09-04 14:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":170708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:17:55] local.INFO: GPS data processed {"connection_id":170708,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:17:55] local.INFO: Acknowledgment sent {"connection_id":170708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:17:55] local.INFO: TCP Data received {"connection_id":171014,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:17:55] local.INFO: Processing buffer {"connection_id":171014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:17:55] local.INFO: Packet analysis {"connection_id":171014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:17:55] local.INFO: Extracted packet for processing {"connection_id":171014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:17:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858896384001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511615000,"timestamp_ms":1788511615000,"timestamp_seconds":1788511615,"priority":1,"record_length":96,"hex_timestamp":"000001a06b997818"} 
[2026-09-04 14:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-09-04 14:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1564,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858896384001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858896384001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:17:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858896384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":171014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762815,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:17:56] local.INFO: GPS data processed {"connection_id":171014,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:17:56] local.INFO: Acknowledgment sent {"connection_id":171014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:17:59] local.INFO: TCP Data received {"connection_id":172123,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:17:59] local.INFO: Processing buffer {"connection_id":172123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:17:59] local.INFO: IMEI packet received {"connection_id":172123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":172123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:18:04] local.INFO: TCP Data received {"connection_id":172123,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:18:04] local.INFO: Processing buffer {"connection_id":172123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:18:04] local.INFO: IMEI packet received {"connection_id":172123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":172123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:18:05] local.INFO: TCP Data received {"connection_id":172123,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b998ba0012cbca38007720938000c00202e..."} 
[2026-09-04 14:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b998ba0012cbca38007720938000c00202e..."} 
[2026-09-04 14:18:05] local.INFO: Processing buffer {"connection_id":172123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b998ba0012cbca38007720938000c00202e..."} 
[2026-09-04 14:18:05] local.INFO: Packet analysis {"connection_id":172123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:18:05] local.INFO: Extracted packet for processing {"connection_id":172123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:18:05] local.INFO: GPS Element Parsed {"raw_longitude":750560128,"raw_latitude":124913976,"longitude_deg":75.0560128,"latitude_deg":12.4913976,"altitude":12,"angle":32,"satellites":46,"speed":54,"hex_longitude":"2cbca380","hex_latitude":"07720938","is_valid_coordinates":true} 
[2026-09-04 14:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858973952001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397983553821868032,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4856991428653551616,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788511620000,"timestamp_ms":1788511620000,"timestamp_seconds":1788511620,"priority":1,"record_length":96,"hex_timestamp":"000001a06b998ba0"} 
[2026-09-04 14:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 14:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858973952001,"66":27843,"196":206,"85":36608,"24":54,"16":397983553821868032,"44":-4856991428653551616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,44]} 
[2026-09-04 14:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858973952001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:18:05] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-04 14:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397983553821868032,"km_value":397983553821868.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:18:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4856991428653551616,"description":"Unknown IO ID 44"} 
[2026-09-04 14:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858973952001,"power":27843,"unknown_196":206,"unknown_85":36608,"ignition":54,"odometer":null,"unknown_44":-4856991428653551616}} 
[2026-09-04 14:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":172123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:18:05] local.INFO: GPS data processed {"connection_id":172123,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:18:05] local.INFO: Acknowledgment sent {"connection_id":172123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:18:26] local.INFO: TCP Data received {"connection_id":170708,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b991288012d181dc00721af58004c00d22e..."} 
[2026-09-04 14:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b991288012d181dc00721af58004c00d22e..."} 
[2026-09-04 14:18:26] local.INFO: Processing buffer {"connection_id":170708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b991288012d181dc00721af58004c00d22e..."} 
[2026-09-04 14:18:26] local.INFO: Packet analysis {"connection_id":170708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:18:26] local.INFO: Extracted packet for processing {"connection_id":170708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:18:26] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648088,"longitude_deg":75.65552,"latitude_deg":11.9648088,"altitude":76,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-04 14:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858961408001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274418594054144,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306750976,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788511589000,"timestamp_ms":1788511589000,"timestamp_seconds":1788511589,"priority":1,"record_length":96,"hex_timestamp":"000001a06b991288"} 
[2026-09-04 14:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-04 14:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858961408001,"66":12852,"120":206,"28":31744,"24":0,"16":17274418594054144,"45":1738248749306750976},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858961408001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:18:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:18:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274418594054144,"km_value":17274418594054.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306750976,"description":"Unknown IO ID 45"} 
[2026-09-04 14:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858961408001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306750976}} 
[2026-09-04 14:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":170708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:18:26] local.INFO: GPS data processed {"connection_id":170708,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:18:26] local.INFO: Acknowledgment sent {"connection_id":170708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:18:27] local.INFO: TCP Data received {"connection_id":171014,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:18:27] local.INFO: Processing buffer {"connection_id":171014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:18:27] local.INFO: Packet analysis {"connection_id":171014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:18:27] local.INFO: Extracted packet for processing {"connection_id":171014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:18:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858896384001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788511615000,"timestamp_ms":1788511615000,"timestamp_seconds":1788511615,"priority":1,"record_length":96,"hex_timestamp":"000001a06b997818"} 
[2026-09-04 14:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-09-04 14:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1564,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858896384001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858896384001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:18:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:18:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858896384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":171014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762818,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:18:27] local.INFO: GPS data processed {"connection_id":171014,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:18:27] local.INFO: Acknowledgment sent {"connection_id":171014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:18:36] local.INFO: TCP Data received {"connection_id":172123,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b999370012cbca800077212e0000c00122f..."} 
[2026-09-04 14:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b999370012cbca800077212e0000c00122f..."} 
[2026-09-04 14:18:36] local.INFO: Processing buffer {"connection_id":172123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b999370012cbca800077212e0000c00122f..."} 
[2026-09-04 14:18:36] local.INFO: Packet analysis {"connection_id":172123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:18:36] local.INFO: Extracted packet for processing {"connection_id":172123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:18:36] local.INFO: GPS Element Parsed {"raw_longitude":750561280,"raw_latitude":124916448,"longitude_deg":75.056128,"latitude_deg":12.4916448,"altitude":12,"angle":18,"satellites":47,"speed":55,"hex_longitude":"2cbca800","hex_latitude":"077212e0","is_valid_coordinates":true} 
[2026-09-04 14:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858974720001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397983682670886912,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4853895203908929536,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788511622000,"timestamp_ms":1788511622000,"timestamp_seconds":1788511622,"priority":1,"record_length":96,"hex_timestamp":"000001a06b999370"} 
[2026-09-04 14:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 14:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858974720001,"66":27876,"196":206,"85":36608,"24":55,"16":397983682670886912,"44":-4853895203908929536},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,44]} 
[2026-09-04 14:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858974720001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:18:36] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-04 14:18:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397983682670886912,"km_value":397983682670886.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:18:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4853895203908929536,"description":"Unknown IO ID 44"} 
[2026-09-04 14:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858974720001,"power":27876,"unknown_196":206,"unknown_85":36608,"ignition":55,"odometer":null,"unknown_44":-4853895203908929536}} 
[2026-09-04 14:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":172123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:18:36] local.INFO: GPS data processed {"connection_id":172123,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:18:36] local.INFO: Acknowledgment sent {"connection_id":172123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:18:49] local.INFO: TCP Data received {"connection_id":171015,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:18:49] local.INFO: Processing buffer {"connection_id":171015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:18:49] local.INFO: IMEI packet received {"connection_id":171015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":171015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:18:52] local.INFO: TCP Data received {"connection_id":171016,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:18:52] local.INFO: Processing buffer {"connection_id":171016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:18:52] local.INFO: IMEI packet received {"connection_id":171016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":171016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:18:53] local.INFO: TCP Data received {"connection_id":171016,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:18:53] local.INFO: Processing buffer {"connection_id":171016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:18:53] local.INFO: IMEI packet received {"connection_id":171016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":171016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:18:54] local.INFO: TCP Data received {"connection_id":171015,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:18:54] local.INFO: Processing buffer {"connection_id":171015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:18:54] local.INFO: IMEI packet received {"connection_id":171015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":171015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:18:55] local.INFO: TCP Data received {"connection_id":171015,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:18:55] local.INFO: Processing buffer {"connection_id":171015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:18:55] local.INFO: Packet analysis {"connection_id":171015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:18:55] local.INFO: Extracted packet for processing {"connection_id":171015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858896384001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511615000,"timestamp_ms":1788511615000,"timestamp_seconds":1788511615,"priority":1,"record_length":96,"hex_timestamp":"000001a06b997818"} 
[2026-09-04 14:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-09-04 14:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1564,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858896384001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858896384001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:18:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858896384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":171015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:18:55] local.INFO: GPS data processed {"connection_id":171015,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:18:55] local.INFO: Acknowledgment sent {"connection_id":171015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:18:58] local.INFO: TCP Data received {"connection_id":171016,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:18:58] local.INFO: Processing buffer {"connection_id":171016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:18:58] local.INFO: IMEI packet received {"connection_id":171016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":171016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:18:59] local.INFO: TCP Data received {"connection_id":171016,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b996490012d181dc00721af58004c00d22e..."} 
[2026-09-04 14:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b996490012d181dc00721af58004c00d22e..."} 
[2026-09-04 14:18:59] local.INFO: Processing buffer {"connection_id":171016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b996490012d181dc00721af58004c00d22e..."} 
[2026-09-04 14:18:59] local.INFO: Packet analysis {"connection_id":171016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:18:59] local.INFO: Extracted packet for processing {"connection_id":171016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:18:59] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648088,"longitude_deg":75.65552,"latitude_deg":11.9648088,"altitude":76,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-04 14:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858966784001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274418594054144,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097323008,"note":"Value kept but may cause issues"} 
[2026-09-04 14:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788511610000,"timestamp_ms":1788511610000,"timestamp_seconds":1788511610,"priority":1,"record_length":96,"hex_timestamp":"000001a06b996490"} 
[2026-09-04 14:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 14:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858966784001,"66":12841,"120":206,"28":31744,"24":0,"16":17274418594054144,"45":1737756168097323008},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858966784001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:18:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:18:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274418594054144,"km_value":17274418594054.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097323008,"description":"Unknown IO ID 45"} 
[2026-09-04 14:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858966784001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097323008}} 
[2026-09-04 14:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":171016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:18:59] local.INFO: GPS data processed {"connection_id":171016,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:18:59] local.INFO: Acknowledgment sent {"connection_id":171016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:19:02] local.INFO: TCP Data received {"connection_id":170709,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:02] local.INFO: Processing buffer {"connection_id":170709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:02] local.INFO: IMEI packet received {"connection_id":170709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":170709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:19:04] local.INFO: TCP Data received {"connection_id":170709,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:04] local.INFO: Processing buffer {"connection_id":170709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:04] local.INFO: IMEI packet received {"connection_id":170709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":170709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:19:04] local.INFO: TCP Data received {"connection_id":171016,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b99b698012d181dc00721af58004c00d22d..."} 
[2026-09-04 14:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b99b698012d181dc00721af58004c00d22d..."} 
[2026-09-04 14:19:04] local.INFO: Processing buffer {"connection_id":171016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b99b698012d181dc00721af58004c00d22d..."} 
[2026-09-04 14:19:04] local.INFO: Packet analysis {"connection_id":171016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:19:04] local.INFO: Extracted packet for processing {"connection_id":171016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648088,"longitude_deg":75.65552,"latitude_deg":11.9648088,"altitude":76,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-04 14:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858972160001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274418594054144,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097323008,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788511631000,"timestamp_ms":1788511631000,"timestamp_seconds":1788511631,"priority":1,"record_length":96,"hex_timestamp":"000001a06b99b698"} 
[2026-09-04 14:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 14:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858972160001,"66":12841,"120":206,"28":31744,"24":0,"16":17274418594054144,"45":1737756168097323008},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858972160001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:19:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274418594054144,"km_value":17274418594054.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097323008,"description":"Unknown IO ID 45"} 
[2026-09-04 14:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858972160001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097323008}} 
[2026-09-04 14:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":171016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:19:04] local.INFO: GPS data processed {"connection_id":171016,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:19:04] local.INFO: Acknowledgment sent {"connection_id":171016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:19:07] local.INFO: TCP Data received {"connection_id":170709,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:07] local.INFO: Processing buffer {"connection_id":170709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:07] local.INFO: IMEI packet received {"connection_id":170709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":170709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:19:09] local.INFO: TCP Data received {"connection_id":170709,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9a8d70012cbc63c00772fc880011011734..."} 
[2026-09-04 14:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9a8d70012cbc63c00772fc880011011734..."} 
[2026-09-04 14:19:09] local.INFO: Processing buffer {"connection_id":170709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9a8d70012cbc63c00772fc880011011734..."} 
[2026-09-04 14:19:09] local.INFO: Packet analysis {"connection_id":170709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:19:09] local.INFO: Extracted packet for processing {"connection_id":170709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:19:09] local.INFO: GPS Element Parsed {"raw_longitude":750543808,"raw_latitude":124976264,"longitude_deg":75.0543808,"latitude_deg":12.4976264,"altitude":17,"angle":279,"satellites":52,"speed":46,"hex_longitude":"2cbc63c0","hex_latitude":"0772fc88","is_valid_coordinates":true} 
[2026-09-04 14:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858989568001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397987191659167744,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4861283922032054272,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788511686000,"timestamp_ms":1788511686000,"timestamp_seconds":1788511686,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9a8d70"} 
[2026-09-04 14:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 14:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858989568001,"66":27974,"131":206,"85":36608,"24":46,"16":397987191659167744,"44":-4861283922032054272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-04 14:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858989568001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:19:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 14:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397987191659167744,"km_value":397987191659167.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:19:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4861283922032054272,"description":"Unknown IO ID 44"} 
[2026-09-04 14:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858989568001,"power":27974,"unknown_131":206,"unknown_85":36608,"ignition":46,"odometer":null,"unknown_44":-4861283922032054272}} 
[2026-09-04 14:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":170709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:19:09] local.INFO: GPS data processed {"connection_id":170709,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:19:09] local.INFO: Acknowledgment sent {"connection_id":170709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:19:14] local.INFO: TCP Data received {"connection_id":170709,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9aacb0012cbc40c0077301780014011731..."} 
[2026-09-04 14:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9aacb0012cbc40c0077301780014011731..."} 
[2026-09-04 14:19:14] local.INFO: Processing buffer {"connection_id":170709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9aacb0012cbc40c0077301780014011731..."} 
[2026-09-04 14:19:14] local.INFO: Packet analysis {"connection_id":170709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:19:14] local.INFO: Extracted packet for processing {"connection_id":170709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:19:14] local.INFO: GPS Element Parsed {"raw_longitude":750534848,"raw_latitude":124977528,"longitude_deg":75.0534848,"latitude_deg":12.4977528,"altitude":20,"angle":279,"satellites":49,"speed":38,"hex_longitude":"2cbc40c0","hex_latitude":"07730178","is_valid_coordinates":true} 
[2026-09-04 14:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858991616001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397987621155897344,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4871839233658288128,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788511694000,"timestamp_ms":1788511694000,"timestamp_seconds":1788511694,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9aacb0"} 
[2026-09-04 14:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 14:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":170709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":170709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":170709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858991616001,"66":27908,"131":206,"85":36608,"24":38,"16":397987621155897344,"44":-4871839233658288128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-04 14:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858991616001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:19:14] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 14:19:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397987621155897344,"km_value":397987621155897.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:19:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4871839233658288128,"description":"Unknown IO ID 44"} 
[2026-09-04 14:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858991616001,"power":27908,"unknown_131":206,"unknown_85":36608,"ignition":38,"odometer":null,"unknown_44":-4871839233658288128}} 
[2026-09-04 14:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":170709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:19:14] local.INFO: GPS data processed {"connection_id":170709,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:19:14] local.INFO: Acknowledgment sent {"connection_id":170709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:19:27] local.INFO: TCP Data received {"connection_id":171015,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:19:27] local.INFO: Processing buffer {"connection_id":171015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:19:27] local.INFO: Packet analysis {"connection_id":171015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:19:27] local.INFO: Extracted packet for processing {"connection_id":171015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:19:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858896384001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788511615000,"timestamp_ms":1788511615000,"timestamp_seconds":1788511615,"priority":1,"record_length":96,"hex_timestamp":"000001a06b997818"} 
[2026-09-04 14:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-09-04 14:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1564,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858896384001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858896384001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:19:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:19:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858896384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":171015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762825,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:19:27] local.INFO: GPS data processed {"connection_id":171015,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:19:27] local.INFO: Acknowledgment sent {"connection_id":171015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:19:48] local.INFO: TCP Data received {"connection_id":170710,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:19:48] local.INFO: Processing buffer {"connection_id":170710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:19:48] local.INFO: IMEI packet received {"connection_id":170710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":170710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:19:48] local.INFO: TCP Data received {"connection_id":170710,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:19:48] local.INFO: Processing buffer {"connection_id":170710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:19:48] local.INFO: IMEI packet received {"connection_id":170710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":170710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:19:53] local.INFO: TCP Data received {"connection_id":170710,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:19:53] local.INFO: Processing buffer {"connection_id":170710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:19:53] local.INFO: IMEI packet received {"connection_id":170710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":170710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:19:54] local.INFO: TCP Data received {"connection_id":170711,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:19:54] local.INFO: Processing buffer {"connection_id":170711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:19:54] local.INFO: IMEI packet received {"connection_id":170711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":170711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:19:55] local.INFO: TCP Data received {"connection_id":170710,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9a08a0012d181dc00721af58004c00d22d..."} 
[2026-09-04 14:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9a08a0012d181dc00721af58004c00d22d..."} 
[2026-09-04 14:19:55] local.INFO: Processing buffer {"connection_id":170710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9a08a0012d181dc00721af58004c00d22d..."} 
[2026-09-04 14:19:55] local.INFO: Packet analysis {"connection_id":170710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:19:55] local.INFO: Extracted packet for processing {"connection_id":170710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:19:55] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648088,"longitude_deg":75.65552,"latitude_deg":11.9648088,"altitude":76,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-04 14:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858977536001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274418594054144,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097323008,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511652000,"timestamp_ms":1788511652000,"timestamp_seconds":1788511652,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9a08a0"} 
[2026-09-04 14:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 14:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858977536001,"66":12841,"120":206,"28":31744,"24":0,"16":17274418594054144,"45":1737756168097323008},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858977536001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:19:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274418594054144,"km_value":17274418594054.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097323008,"description":"Unknown IO ID 45"} 
[2026-09-04 14:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858977536001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097323008}} 
[2026-09-04 14:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":170710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:19:56] local.INFO: GPS data processed {"connection_id":170710,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:19:56] local.INFO: Acknowledgment sent {"connection_id":170710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:19:56] local.INFO: TCP Data received {"connection_id":170712,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:56] local.INFO: Processing buffer {"connection_id":170712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:56] local.INFO: IMEI packet received {"connection_id":170712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":170712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:19:59] local.INFO: TCP Data received {"connection_id":170710,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9a5aa8012d181dc00721af58004c00d22d..."} 
[2026-09-04 14:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9a5aa8012d181dc00721af58004c00d22d..."} 
[2026-09-04 14:19:59] local.INFO: Processing buffer {"connection_id":170710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9a5aa8012d181dc00721af58004c00d22d..."} 
[2026-09-04 14:19:59] local.INFO: Packet analysis {"connection_id":170710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:19:59] local.INFO: Extracted packet for processing {"connection_id":170710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648088,"longitude_deg":75.65552,"latitude_deg":11.9648088,"altitude":76,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-04 14:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858982912001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274418594054144,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097323008,"note":"Value kept but may cause issues"} 
[2026-09-04 14:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788511673000,"timestamp_ms":1788511673000,"timestamp_seconds":1788511673,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9a5aa8"} 
[2026-09-04 14:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 14:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858982912001,"66":12809,"120":206,"28":31744,"24":0,"16":17274418594054144,"45":1737756168097323008},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858982912001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:19:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274418594054144,"km_value":17274418594054.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097323008,"description":"Unknown IO ID 45"} 
[2026-09-04 14:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858982912001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097323008}} 
[2026-09-04 14:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":170710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:19:59] local.INFO: GPS data processed {"connection_id":170710,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:19:59] local.INFO: Acknowledgment sent {"connection_id":170710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:19:59] local.INFO: TCP Data received {"connection_id":170711,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:19:59] local.INFO: Processing buffer {"connection_id":170711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:19:59] local.INFO: IMEI packet received {"connection_id":170711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":170711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:19:59] local.INFO: TCP Data received {"connection_id":170712,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:59] local.INFO: Processing buffer {"connection_id":170712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:19:59] local.INFO: IMEI packet received {"connection_id":170712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":170712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:20:00] local.INFO: TCP Data received {"connection_id":170712,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:20:00] local.INFO: Processing buffer {"connection_id":170712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:20:00] local.INFO: IMEI packet received {"connection_id":170712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":170712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:20:01] local.INFO: TCP Data received {"connection_id":170711,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:20:01] local.INFO: Processing buffer {"connection_id":170711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:20:01] local.INFO: Packet analysis {"connection_id":170711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:20:01] local.INFO: Extracted packet for processing {"connection_id":170711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:20:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858896384001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788511615000,"timestamp_ms":1788511615000,"timestamp_seconds":1788511615,"priority":1,"record_length":96,"hex_timestamp":"000001a06b997818"} 
[2026-09-04 14:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-09-04 14:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1564,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858896384001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858896384001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:20:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:20:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858896384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":170711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762828,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:20:01] local.INFO: GPS data processed {"connection_id":170711,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:20:01] local.INFO: Acknowledgment sent {"connection_id":170711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:20:04] local.INFO: TCP Data received {"connection_id":170712,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:20:04] local.INFO: Processing buffer {"connection_id":170712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:20:04] local.INFO: IMEI packet received {"connection_id":170712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":170712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:20:05] local.INFO: TCP Data received {"connection_id":170712,"ip":"42.109.136.8","data_length":1348,"data_hex":"000000000000030f8e0a000001a06b9ad3c0012cbc1d00077305f00016010e32..."} 
[2026-09-04 14:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170712,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a06b9ad3c0012cbc1d00077305f00016010e32..."} 
[2026-09-04 14:20:05] local.INFO: Processing buffer {"connection_id":170712,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a06b9ad3c0012cbc1d00077305f00016010e32..."} 
[2026-09-04 14:20:05] local.INFO: Packet analysis {"connection_id":170712,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:20:05] local.INFO: Extracted packet for processing {"connection_id":170712,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:20:05] local.INFO: GPS Element Parsed {"raw_longitude":750525696,"raw_latitude":124978672,"longitude_deg":75.0525696,"latitude_deg":12.4978672,"altitude":22,"angle":270,"satellites":50,"speed":33,"hex_longitude":"2cbc1d00","hex_latitude":"077305f0","is_valid_coordinates":true} 
[2026-09-04 14:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858993664001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397988059242561536,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4881690857842837504,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788511704000,"timestamp_ms":1788511704000,"timestamp_seconds":1788511704,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9ad3c0"} 
[2026-09-04 14:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858993664001,"66":27908,"131":206,"85":36608,"24":33,"16":397988059242561536,"44":-4881690857842837504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-04 14:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858993664001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:20:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 14:20:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397988059242561536,"km_value":397988059242561.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:20:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4881690857842837504,"description":"Unknown IO ID 44"} 
[2026-09-04 14:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858993664001,"power":27908,"unknown_131":206,"unknown_85":36608,"ignition":33,"odometer":null,"unknown_44":-4881690857842837504}} 
[2026-09-04 14:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":170712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:20:05] local.INFO: GPS data processed {"connection_id":170712,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:20:05] local.INFO: Acknowledgment sent {"connection_id":170712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:20:05] local.INFO: Packet analysis {"connection_id":170712,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:20:05] local.INFO: Incomplete packet, waiting for more data {"connection_id":170712,"needed":795,"available":553} 
[2026-09-04 14:20:06] local.INFO: TCP Data received {"connection_id":170712,"ip":"42.109.136.8","data_length":1037,"data_hex":"000000000001a06b9a4338012cbcaa400772d060000e014e35002e0000000a00..."} 
[2026-09-04 14:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170712,"packet_length":1037,"packet_hex":"000000000001a06b9a4338012cbcaa400772d060000e014e35002e0000000a00..."} 
[2026-09-04 14:20:06] local.INFO: Processing buffer {"connection_id":170712,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06b9ae748012cbc0c00077304100017010332..."} 
[2026-09-04 14:20:06] local.INFO: Packet analysis {"connection_id":170712,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:20:06] local.INFO: Extracted packet for processing {"connection_id":170712,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:20:06] local.INFO: GPS Element Parsed {"raw_longitude":750521344,"raw_latitude":124978192,"longitude_deg":75.0521344,"latitude_deg":12.4978192,"altitude":23,"angle":259,"satellites":50,"speed":34,"hex_longitude":"2cbc0c00","hex_latitude":"07730410","is_valid_coordinates":true} 
[2026-09-04 14:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858996224001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397988265400991744,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4891753588259950592,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788511709000,"timestamp_ms":1788511709000,"timestamp_seconds":1788511709,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9ae748"} 
[2026-09-04 14:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858996224001,"66":27310,"131":206,"85":36608,"24":34,"16":397988265400991744,"44":-4891753588259950592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-04 14:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858996224001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:20:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 14:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397988265400991744,"km_value":397988265400991.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4891753588259950592,"description":"Unknown IO ID 44"} 
[2026-09-04 14:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858996224001,"power":27310,"unknown_131":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-4891753588259950592}} 
[2026-09-04 14:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":170712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:20:06] local.INFO: GPS data processed {"connection_id":170712,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:20:06] local.INFO: Acknowledgment sent {"connection_id":170712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:20:06] local.INFO: Packet analysis {"connection_id":170712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9b"} 
[2026-09-04 14:20:06] local.INFO: Extracted packet for processing {"connection_id":170712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9b"} 
[2026-09-04 14:20:06] local.INFO: GPS Element Parsed {"raw_longitude":750512704,"raw_latitude":124976560,"longitude_deg":75.0512704,"latitude_deg":12.497656,"altitude":26,"angle":275,"satellites":49,"speed":24,"hex_longitude":"2cbbea40","hex_latitude":"0772fdb0","is_valid_coordinates":true} 
[2026-09-04 14:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858997504001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397988682012819456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4896538662864154624,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788511721000,"timestamp_ms":1788511721000,"timestamp_seconds":1788511721,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9b1628"} 
[2026-09-04 14:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 14:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858997504001,"66":27974,"131":206,"85":36608,"24":24,"16":397988682012819456,"44":-4896538662864154624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-04 14:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858997504001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:20:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 14:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397988682012819456,"km_value":397988682012819.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4896538662864154624,"description":"Unknown IO ID 44"} 
[2026-09-04 14:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858997504001,"power":27974,"unknown_131":206,"unknown_85":36608,"ignition":24,"odometer":null,"unknown_44":-4896538662864154624}} 
[2026-09-04 14:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":170712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:20:06] local.INFO: GPS data processed {"connection_id":170712,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:20:06] local.INFO: Acknowledgment sent {"connection_id":170712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:20:31] local.INFO: TCP Data received {"connection_id":170710,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9aacb0012d181dc00721af58004c00d22f..."} 
[2026-09-04 14:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9aacb0012d181dc00721af58004c00d22f..."} 
[2026-09-04 14:20:31] local.INFO: Processing buffer {"connection_id":170710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9aacb0012d181dc00721af58004c00d22f..."} 
[2026-09-04 14:20:31] local.INFO: Packet analysis {"connection_id":170710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:20:31] local.INFO: Extracted packet for processing {"connection_id":170710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9a"} 
[2026-09-04 14:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648088,"longitude_deg":75.65552,"latitude_deg":11.9648088,"altitude":76,"angle":210,"satellites":47,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-04 14:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858988288001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274418594054144,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097323008,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788511694000,"timestamp_ms":1788511694000,"timestamp_seconds":1788511694,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9aacb0"} 
[2026-09-04 14:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-04 14:20:31] local.WARNING: Large IO value detected {"io_id":94,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:31] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:31] local.WARNING: Large IO value detected {"io_id":107,"raw_value":-7467293632570580736,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2941780044,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-04 14:20:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951026,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:31] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428311013653794095,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:31] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-5980553911113560548,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:31] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:31] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,94,160,8,45,192,175,76,10,66,182,100,1,240,41,107,33,4,113,205,31,40,47,239,50,2,61,7,77,48,124,238],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-04 14:20:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476608237597884416,"timestamp_seconds":5476608237597884.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 14:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":170710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":170710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":170710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858988288001,"66":12993,"120":206,"28":31744,"24":0,"16":17274418594054144,"45":1737756168097323008},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 14:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858988288001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:20:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 14:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274418594054144,"km_value":17274418594054.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097323008,"description":"Unknown IO ID 45"} 
[2026-09-04 14:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858988288001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097323008}} 
[2026-09-04 14:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":170710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:20:31] local.INFO: GPS data processed {"connection_id":170710,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:20:31] local.INFO: Acknowledgment sent {"connection_id":170710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:20:32] local.INFO: TCP Data received {"connection_id":170711,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:20:32] local.INFO: Processing buffer {"connection_id":170711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:20:32] local.INFO: Packet analysis {"connection_id":170711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:20:32] local.INFO: Extracted packet for processing {"connection_id":170711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:20:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858896384001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788511615000,"timestamp_ms":1788511615000,"timestamp_seconds":1788511615,"priority":1,"record_length":96,"hex_timestamp":"000001a06b997818"} 
[2026-09-04 14:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-09-04 14:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1564,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858896384001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858896384001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:20:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:20:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858896384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":170711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:20:32] local.INFO: GPS data processed {"connection_id":170711,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:20:32] local.INFO: Acknowledgment sent {"connection_id":170711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:20:37] local.INFO: TCP Data received {"connection_id":170712,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9c3b20012cbc1b00077333180032002b34..."} 
[2026-09-04 14:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9c3b20012cbc1b00077333180032002b34..."} 
[2026-09-04 14:20:37] local.INFO: Processing buffer {"connection_id":170712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9c3b20012cbc1b00077333180032002b34..."} 
[2026-09-04 14:20:37] local.INFO: Packet analysis {"connection_id":170712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9c"} 
[2026-09-04 14:20:37] local.INFO: Extracted packet for processing {"connection_id":170712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9c"} 
[2026-09-04 14:20:37] local.INFO: GPS Element Parsed {"raw_longitude":750525184,"raw_latitude":124990232,"longitude_deg":75.0525184,"latitude_deg":12.4990232,"altitude":50,"angle":43,"satellites":52,"speed":27,"hex_longitude":"2cbc1b00","hex_latitude":"07733318","is_valid_coordinates":true} 
[2026-09-04 14:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859019520001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397990528848756736,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4892879488163940352,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788511796000,"timestamp_ms":1788511796000,"timestamp_seconds":1788511796,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9c3b20"} 
[2026-09-04 14:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 14:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859019520001,"66":27658,"159":206,"85":37888,"24":27,"16":397990528848756736,"44":-4892879488163940352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 14:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859019520001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:20:37] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 14:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 14:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397990528848756736,"km_value":397990528848756.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4892879488163940352,"description":"Unknown IO ID 44"} 
[2026-09-04 14:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859019520001,"power":27658,"unknown_159":206,"unknown_85":37888,"ignition":27,"odometer":null,"unknown_44":-4892879488163940352}} 
[2026-09-04 14:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":170712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:20:37] local.INFO: GPS data processed {"connection_id":170712,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:20:37] local.INFO: Acknowledgment sent {"connection_id":170712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:20:48] local.INFO: TCP Data received {"connection_id":172125,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:20:48] local.INFO: Processing buffer {"connection_id":172125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:20:48] local.INFO: IMEI packet received {"connection_id":172125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":172125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:20:49] local.INFO: TCP Data received {"connection_id":172124,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:20:49] local.INFO: Processing buffer {"connection_id":172124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:20:49] local.INFO: IMEI packet received {"connection_id":172124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":172124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:20:51] local.INFO: TCP Data received {"connection_id":172125,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:20:51] local.INFO: Processing buffer {"connection_id":172125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:20:51] local.INFO: IMEI packet received {"connection_id":172125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":172125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:20:53] local.INFO: TCP Data received {"connection_id":172125,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:20:53] local.INFO: Processing buffer {"connection_id":172125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:20:53] local.INFO: IMEI packet received {"connection_id":172125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":172125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:20:54] local.INFO: TCP Data received {"connection_id":172124,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:20:54] local.INFO: Processing buffer {"connection_id":172124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:20:54] local.INFO: IMEI packet received {"connection_id":172124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":172124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:20:54] local.INFO: TCP Data received {"connection_id":172125,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9c46d8012d183880072194e8004c006e2a..."} 
[2026-09-04 14:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9c46d8012d183880072194e8004c006e2a..."} 
[2026-09-04 14:20:54] local.INFO: Processing buffer {"connection_id":172125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9c46d8012d183880072194e8004c006e2a..."} 
[2026-09-04 14:20:54] local.INFO: Packet analysis {"connection_id":172125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9c"} 
[2026-09-04 14:20:54] local.INFO: Extracted packet for processing {"connection_id":172125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9c"} 
[2026-09-04 14:20:54] local.INFO: GPS Element Parsed {"raw_longitude":756562048,"raw_latitude":119641320,"longitude_deg":75.6562048,"latitude_deg":11.964132,"altitude":76,"angle":110,"satellites":42,"speed":17,"hex_longitude":"2d183880","hex_latitude":"072194e8","is_valid_coordinates":true} 
[2026-09-04 14:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859020544001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17274908220325888,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745285623722600448,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788511799000,"timestamp_ms":1788511799000,"timestamp_seconds":1788511799,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9c46d8"} 
[2026-09-04 14:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 14:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859020544001,"66":14276,"121":206,"28":31744,"24":17,"16":17274908220325888,"45":1745285623722600448},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859020544001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:20:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:20:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17274908220325888,"km_value":17274908220325.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745285623722600448,"description":"Unknown IO ID 45"} 
[2026-09-04 14:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859020544001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1745285623722600448}} 
[2026-09-04 14:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":172125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:20:54] local.INFO: GPS data processed {"connection_id":172125,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:20:54] local.INFO: Acknowledgment sent {"connection_id":172125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:20:55] local.INFO: TCP Data received {"connection_id":172124,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:20:55] local.INFO: Processing buffer {"connection_id":172124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:20:55] local.INFO: Packet analysis {"connection_id":172124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:20:55] local.INFO: Extracted packet for processing {"connection_id":172124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:20:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858896384001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511615000,"timestamp_ms":1788511615000,"timestamp_seconds":1788511615,"priority":1,"record_length":96,"hex_timestamp":"000001a06b997818"} 
[2026-09-04 14:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-09-04 14:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1564,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858896384001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858896384001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:20:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858896384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":172124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762836,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:20:55] local.INFO: GPS data processed {"connection_id":172124,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:20:55] local.INFO: Acknowledgment sent {"connection_id":172124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:20:55] local.INFO: TCP Data received {"connection_id":172125,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9c79a0012d185b0007218648004c007527..."} 
[2026-09-04 14:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9c79a0012d185b0007218648004c007527..."} 
[2026-09-04 14:20:55] local.INFO: Processing buffer {"connection_id":172125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9c79a0012d185b0007218648004c007527..."} 
[2026-09-04 14:20:55] local.INFO: Packet analysis {"connection_id":172125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9c"} 
[2026-09-04 14:20:55] local.INFO: Extracted packet for processing {"connection_id":172125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9c"} 
[2026-09-04 14:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119637576,"longitude_deg":75.657088,"latitude_deg":11.9637576,"altitude":76,"angle":117,"satellites":39,"speed":33,"hex_longitude":"2d185b00","hex_latitude":"07218648","is_valid_coordinates":true} 
[2026-09-04 14:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859020544001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17275367781826560,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745285623722600448,"note":"Value kept but may cause issues"} 
[2026-09-04 14:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511812000,"timestamp_ms":1788511812000,"timestamp_seconds":1788511812,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9c79a0"} 
[2026-09-04 14:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 14:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859020544001,"66":14233,"121":206,"28":31744,"24":33,"16":17275367781826560,"45":1745285623722600448},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859020544001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:20:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17275367781826560,"km_value":17275367781826.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745285623722600448,"description":"Unknown IO ID 45"} 
[2026-09-04 14:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859020544001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1745285623722600448}} 
[2026-09-04 14:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":172125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:20:55] local.INFO: GPS data processed {"connection_id":172125,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:20:55] local.INFO: Acknowledgment sent {"connection_id":172125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:21:06] local.INFO: TCP Data received {"connection_id":170713,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:21:06] local.INFO: Processing buffer {"connection_id":170713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:21:06] local.INFO: IMEI packet received {"connection_id":170713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":170713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:21:09] local.INFO: TCP Data received {"connection_id":170713,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:21:09] local.INFO: Processing buffer {"connection_id":170713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:21:09] local.INFO: IMEI packet received {"connection_id":170713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":170713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:21:11] local.INFO: TCP Data received {"connection_id":170713,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:21:11] local.INFO: Processing buffer {"connection_id":170713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:21:11] local.INFO: IMEI packet received {"connection_id":170713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":170713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:21:12] local.INFO: TCP Data received {"connection_id":170713,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9cac68012cbc5400077369f0003c003233..."} 
[2026-09-04 14:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9cac68012cbc5400077369f0003c003233..."} 
[2026-09-04 14:21:12] local.INFO: Processing buffer {"connection_id":170713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9cac68012cbc5400077369f0003c003233..."} 
[2026-09-04 14:21:12] local.INFO: Packet analysis {"connection_id":170713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9c"} 
[2026-09-04 14:21:12] local.INFO: Extracted packet for processing {"connection_id":170713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9c"} 
[2026-09-04 14:21:12] local.INFO: GPS Element Parsed {"raw_longitude":750539776,"raw_latitude":125004272,"longitude_deg":75.0539776,"latitude_deg":12.5004272,"altitude":60,"angle":50,"satellites":51,"speed":24,"hex_longitude":"2cbc5400","hex_latitude":"077369f0","is_valid_coordinates":true} 
[2026-09-04 14:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859025920001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397991628360384512,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4879298320534394880,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788511825000,"timestamp_ms":1788511825000,"timestamp_seconds":1788511825,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9cac68"} 
[2026-09-04 14:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 14:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":170713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":170713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":170713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859025920001,"66":27974,"159":206,"85":37888,"24":24,"16":397991628360384512,"44":-4879298320534394880},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 14:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859025920001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:21:12] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 14:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 14:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397991628360384512,"km_value":397991628360384.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4879298320534394880,"description":"Unknown IO ID 44"} 
[2026-09-04 14:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859025920001,"power":27974,"unknown_159":206,"unknown_85":37888,"ignition":24,"odometer":null,"unknown_44":-4879298320534394880}} 
[2026-09-04 14:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":170713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:21:12] local.INFO: GPS data processed {"connection_id":170713,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:21:12] local.INFO: Acknowledgment sent {"connection_id":170713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:21:27] local.INFO: TCP Data received {"connection_id":172124,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:21:27] local.INFO: Processing buffer {"connection_id":172124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:21:27] local.INFO: Packet analysis {"connection_id":172124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:21:27] local.INFO: Extracted packet for processing {"connection_id":172124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:21:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858896384001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788511615000,"timestamp_ms":1788511615000,"timestamp_seconds":1788511615,"priority":1,"record_length":96,"hex_timestamp":"000001a06b997818"} 
[2026-09-04 14:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-09-04 14:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1564,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858896384001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858896384001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:21:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:21:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858896384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":172124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762839,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:21:27] local.INFO: GPS data processed {"connection_id":172124,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:21:27] local.INFO: Acknowledgment sent {"connection_id":172124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:21:27] local.INFO: TCP Data received {"connection_id":172125,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9c8558012d186440072182c0004c006928..."} 
[2026-09-04 14:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9c8558012d186440072182c0004c006928..."} 
[2026-09-04 14:21:27] local.INFO: Processing buffer {"connection_id":172125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9c8558012d186440072182c0004c006928..."} 
[2026-09-04 14:21:27] local.INFO: Packet analysis {"connection_id":172125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9c"} 
[2026-09-04 14:21:27] local.INFO: Extracted packet for processing {"connection_id":172125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9c"} 
[2026-09-04 14:21:27] local.INFO: GPS Element Parsed {"raw_longitude":756573248,"raw_latitude":119636672,"longitude_deg":75.6573248,"latitude_deg":11.9636672,"altitude":76,"angle":105,"satellites":40,"speed":32,"hex_longitude":"2d186440","hex_latitude":"072182c0","is_valid_coordinates":true} 
[2026-09-04 14:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859023872001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17275488040910848,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754996510418159616,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788511815000,"timestamp_ms":1788511815000,"timestamp_seconds":1788511815,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9c8558"} 
[2026-09-04 14:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 14:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859023872001,"66":14374,"121":206,"28":31744,"24":32,"16":17275488040910848,"45":1754996510418159616},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859023872001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:21:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:21:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17275488040910848,"km_value":17275488040910.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754996510418159616,"description":"Unknown IO ID 45"} 
[2026-09-04 14:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859023872001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1754996510418159616}} 
[2026-09-04 14:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":172125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:21:27] local.INFO: GPS data processed {"connection_id":172125,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:21:27] local.INFO: Acknowledgment sent {"connection_id":172125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:21:43] local.INFO: TCP Data received {"connection_id":170713,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9cb820012cbc590007736f08003d002534..."} 
[2026-09-04 14:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9cb820012cbc590007736f08003d002534..."} 
[2026-09-04 14:21:43] local.INFO: Processing buffer {"connection_id":170713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9cb820012cbc590007736f08003d002534..."} 
[2026-09-04 14:21:43] local.INFO: Packet analysis {"connection_id":170713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9c"} 
[2026-09-04 14:21:43] local.INFO: Extracted packet for processing {"connection_id":170713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9c"} 
[2026-09-04 14:21:43] local.INFO: GPS Element Parsed {"raw_longitude":750541056,"raw_latitude":125005576,"longitude_deg":75.0541056,"latitude_deg":12.5005576,"altitude":61,"angle":37,"satellites":52,"speed":23,"hex_longitude":"2cbc5900","hex_latitude":"07736f08","is_valid_coordinates":true} 
[2026-09-04 14:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859027200001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397991718554697728,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4876272464534310912,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788511828000,"timestamp_ms":1788511828000,"timestamp_seconds":1788511828,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9cb820"} 
[2026-09-04 14:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 14:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":170713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":170713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":170713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859027200001,"66":27843,"199":206,"85":36608,"24":23,"16":397991718554697728,"44":-4876272464534310912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,44]} 
[2026-09-04 14:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859027200001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:21:43] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-04 14:21:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397991718554697728,"km_value":397991718554697.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:21:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4876272464534310912,"description":"Unknown IO ID 44"} 
[2026-09-04 14:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859027200001,"power":27843,"trip_odometer":0.206,"unknown_85":36608,"ignition":23,"odometer":null,"unknown_44":-4876272464534310912}} 
[2026-09-04 14:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":170713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:21:43] local.INFO: GPS data processed {"connection_id":170713,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:21:43] local.INFO: Acknowledgment sent {"connection_id":170713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:21:48] local.INFO: TCP Data received {"connection_id":172126,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:21:48] local.INFO: Processing buffer {"connection_id":172126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:21:48] local.INFO: IMEI packet received {"connection_id":172126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":172126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:21:49] local.INFO: TCP Data received {"connection_id":170714,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:21:49] local.INFO: Processing buffer {"connection_id":170714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:21:49] local.INFO: IMEI packet received {"connection_id":170714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":170714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:21:50] local.INFO: TCP Data received {"connection_id":172126,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:21:50] local.INFO: Processing buffer {"connection_id":172126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:21:50] local.INFO: IMEI packet received {"connection_id":172126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":172126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:21:52] local.INFO: TCP Data received {"connection_id":172126,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:21:52] local.INFO: Processing buffer {"connection_id":172126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:21:52] local.INFO: IMEI packet received {"connection_id":172126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":172126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:21:54] local.INFO: TCP Data received {"connection_id":172126,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9d3cf0012d18d2c0072120d8004400b429..."} 
[2026-09-04 14:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9d3cf0012d18d2c0072120d8004400b429..."} 
[2026-09-04 14:21:54] local.INFO: Processing buffer {"connection_id":172126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9d3cf0012d18d2c0072120d8004400b429..."} 
[2026-09-04 14:21:54] local.INFO: Packet analysis {"connection_id":172126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9d"} 
[2026-09-04 14:21:54] local.INFO: Extracted packet for processing {"connection_id":172126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9d"} 
[2026-09-04 14:21:54] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119611608,"longitude_deg":75.6601536,"latitude_deg":11.9611608,"altitude":68,"angle":180,"satellites":41,"speed":37,"hex_longitude":"2d18d2c0","hex_latitude":"072120d8","is_valid_coordinates":true} 
[2026-09-04 14:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859036160001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17277549625212928,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384720384,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788511862000,"timestamp_ms":1788511862000,"timestamp_seconds":1788511862,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9d3cf0"} 
[2026-09-04 14:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 14:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859036160001,"66":14396,"121":206,"28":31744,"24":37,"16":17277549625212928,"45":1788562401384720384},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859036160001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:21:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:21:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17277549625212928,"km_value":17277549625212.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384720384,"description":"Unknown IO ID 45"} 
[2026-09-04 14:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859036160001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1788562401384720384}} 
[2026-09-04 14:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":172126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:21:54] local.INFO: GPS data processed {"connection_id":172126,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:21:54] local.INFO: Acknowledgment sent {"connection_id":172126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:21:54] local.INFO: TCP Data received {"connection_id":170714,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:21:54] local.INFO: Processing buffer {"connection_id":170714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:21:54] local.INFO: IMEI packet received {"connection_id":170714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":170714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:21:55] local.INFO: TCP Data received {"connection_id":170714,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:21:55] local.INFO: Processing buffer {"connection_id":170714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:21:55] local.INFO: Packet analysis {"connection_id":170714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:21:55] local.INFO: Extracted packet for processing {"connection_id":170714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:21:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858896384001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511615000,"timestamp_ms":1788511615000,"timestamp_seconds":1788511615,"priority":1,"record_length":96,"hex_timestamp":"000001a06b997818"} 
[2026-09-04 14:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-09-04 14:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1564,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858896384001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858896384001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:21:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:21:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858896384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":170714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762843,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:21:55] local.INFO: GPS data processed {"connection_id":170714,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:21:55] local.INFO: Acknowledgment sent {"connection_id":170714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:21:59] local.INFO: TCP Data received {"connection_id":171017,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:21:59] local.INFO: Processing buffer {"connection_id":171017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:21:59] local.INFO: IMEI packet received {"connection_id":171017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":171017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:22:03] local.INFO: TCP Data received {"connection_id":171017,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:22:03] local.INFO: Processing buffer {"connection_id":171017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:22:03] local.INFO: IMEI packet received {"connection_id":171017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":171017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:22:03] local.INFO: TCP Data received {"connection_id":171017,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9ccba8012cbc5ec0077378b8003f001933..."} 
[2026-09-04 14:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9ccba8012cbc5ec0077378b8003f001933..."} 
[2026-09-04 14:22:03] local.INFO: Processing buffer {"connection_id":171017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9ccba8012cbc5ec0077378b8003f001933..."} 
[2026-09-04 14:22:03] local.INFO: Packet analysis {"connection_id":171017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9c"} 
[2026-09-04 14:22:03] local.INFO: Extracted packet for processing {"connection_id":171017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9c"} 
[2026-09-04 14:22:03] local.INFO: GPS Element Parsed {"raw_longitude":750542528,"raw_latitude":125008056,"longitude_deg":75.0542528,"latitude_deg":12.5008056,"altitude":63,"angle":25,"satellites":51,"speed":22,"hex_longitude":"2cbc5ec0","hex_latitude":"077378b8","is_valid_coordinates":true} 
[2026-09-04 14:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859027968001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397991855993651200,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4874865089650423808,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788511833000,"timestamp_ms":1788511833000,"timestamp_seconds":1788511833,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9ccba8"} 
[2026-09-04 14:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 14:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859027968001,"66":27865,"199":206,"85":36608,"24":22,"16":397991855993651200,"44":-4874865089650423808},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,44]} 
[2026-09-04 14:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859027968001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:22:03] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-04 14:22:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397991855993651200,"km_value":397991855993651.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:22:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4874865089650423808,"description":"Unknown IO ID 44"} 
[2026-09-04 14:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859027968001,"power":27865,"trip_odometer":0.206,"unknown_85":36608,"ignition":22,"odometer":null,"unknown_44":-4874865089650423808}} 
[2026-09-04 14:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":171017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:22:03] local.INFO: GPS data processed {"connection_id":171017,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:22:03] local.INFO: Acknowledgment sent {"connection_id":171017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:22:25] local.INFO: TCP Data received {"connection_id":172126,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9d5078012d18d3c007210e68004200a828..."} 
[2026-09-04 14:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9d5078012d18d3c007210e68004200a828..."} 
[2026-09-04 14:22:25] local.INFO: Processing buffer {"connection_id":172126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9d5078012d18d3c007210e68004200a828..."} 
[2026-09-04 14:22:25] local.INFO: Packet analysis {"connection_id":172126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9d"} 
[2026-09-04 14:22:25] local.INFO: Extracted packet for processing {"connection_id":172126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9d"} 
[2026-09-04 14:22:25] local.INFO: GPS Element Parsed {"raw_longitude":756601792,"raw_latitude":119606888,"longitude_deg":75.6601792,"latitude_deg":11.9606888,"altitude":66,"angle":168,"satellites":40,"speed":33,"hex_longitude":"2d18d3c0","hex_latitude":"07210e68","is_valid_coordinates":true} 
[2026-09-04 14:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859036672001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17277781553446912,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138872612864,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788511867000,"timestamp_ms":1788511867000,"timestamp_seconds":1788511867,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9d5078"} 
[2026-09-04 14:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 14:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859036672001,"66":14004,"121":206,"28":31744,"24":33,"16":17277781553446912,"45":1788703138872612864},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859036672001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:22:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:22:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17277781553446912,"km_value":17277781553446.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138872612864,"description":"Unknown IO ID 45"} 
[2026-09-04 14:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859036672001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1788703138872612864}} 
[2026-09-04 14:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":172126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:22:25] local.INFO: GPS data processed {"connection_id":172126,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:22:25] local.INFO: Acknowledgment sent {"connection_id":172126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:22:27] local.INFO: TCP Data received {"connection_id":170714,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:22:27] local.INFO: Processing buffer {"connection_id":170714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b997818012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:22:27] local.INFO: Packet analysis {"connection_id":170714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:22:27] local.INFO: Extracted packet for processing {"connection_id":170714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b99"} 
[2026-09-04 14:22:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858896384001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788511615000,"timestamp_ms":1788511615000,"timestamp_seconds":1788511615,"priority":1,"record_length":96,"hex_timestamp":"000001a06b997818"} 
[2026-09-04 14:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-09-04 14:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1564,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858896384001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858896384001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:22:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:22:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858896384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":170714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762846,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:22:27] local.INFO: GPS data processed {"connection_id":170714,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:22:27] local.INFO: Acknowledgment sent {"connection_id":170714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:22:35] local.INFO: TCP Data received {"connection_id":171017,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9decb8012cbc244007742ac0004a001c32..."} 
[2026-09-04 14:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9decb8012cbc244007742ac0004a001c32..."} 
[2026-09-04 14:22:35] local.INFO: Processing buffer {"connection_id":171017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9decb8012cbc244007742ac0004a001c32..."} 
[2026-09-04 14:22:35] local.INFO: Packet analysis {"connection_id":171017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9d"} 
[2026-09-04 14:22:35] local.INFO: Extracted packet for processing {"connection_id":171017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9d"} 
[2026-09-04 14:22:35] local.INFO: GPS Element Parsed {"raw_longitude":750527552,"raw_latitude":125053632,"longitude_deg":75.0527552,"latitude_deg":12.5053632,"altitude":74,"angle":28,"satellites":50,"speed":15,"hex_longitude":"2cbc2440","hex_latitude":"07742ac0","is_valid_coordinates":true} 
[2026-09-04 14:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859046912001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397994767981477888,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4891683219497175040,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788511907000,"timestamp_ms":1788511907000,"timestamp_seconds":1788511907,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9decb8"} 
[2026-09-04 14:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 14:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859046912001,"66":27832,"72":206,"85":36608,"24":15,"16":397994767981477888,"44":-4891683219497175040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-09-04 14:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859046912001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:22:35] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-04 14:22:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397994767981477888,"km_value":397994767981477.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:22:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4891683219497175040,"description":"Unknown IO ID 44"} 
[2026-09-04 14:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859046912001,"power":27832,"unknown_72":206,"unknown_85":36608,"ignition":15,"odometer":null,"unknown_44":-4891683219497175040}} 
[2026-09-04 14:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":171017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:22:35] local.INFO: GPS data processed {"connection_id":171017,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:22:35] local.INFO: Acknowledgment sent {"connection_id":171017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:22:48] local.INFO: TCP Data received {"connection_id":172127,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:22:48] local.INFO: Processing buffer {"connection_id":172127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:22:48] local.INFO: IMEI packet received {"connection_id":172127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":172127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:22:48] local.INFO: TCP Data received {"connection_id":172127,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:22:48] local.INFO: Processing buffer {"connection_id":172127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:22:48] local.INFO: IMEI packet received {"connection_id":172127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":172127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:22:49] local.INFO: TCP Data received {"connection_id":170715,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:22:49] local.INFO: Processing buffer {"connection_id":170715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:22:49] local.INFO: IMEI packet received {"connection_id":170715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":170715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:22:50] local.INFO: TCP Data received {"connection_id":172127,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:22:50] local.INFO: Processing buffer {"connection_id":172127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:22:50] local.INFO: IMEI packet received {"connection_id":172127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":172127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:22:51] local.INFO: TCP Data received {"connection_id":172127,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:22:51] local.INFO: Processing buffer {"connection_id":172127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:22:51] local.INFO: IMEI packet received {"connection_id":172127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":172127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:22:54] local.INFO: TCP Data received {"connection_id":170715,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:22:54] local.INFO: Processing buffer {"connection_id":170715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:22:54] local.INFO: IMEI packet received {"connection_id":170715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":170715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:22:55] local.INFO: TCP Data received {"connection_id":170715,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:22:55] local.INFO: Processing buffer {"connection_id":170715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:22:55] local.INFO: Packet analysis {"connection_id":170715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:22:55] local.INFO: Extracted packet for processing {"connection_id":170715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:22:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858973440001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511916000,"timestamp_ms":1788511916000,"timestamp_seconds":1788511916,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9e0fe0"} 
[2026-09-04 14:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 14:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858973440001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858973440001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:22:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:22:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858973440001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":170715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:22:55] local.INFO: GPS data processed {"connection_id":170715,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:22:55] local.INFO: Acknowledgment sent {"connection_id":170715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:22:59] local.INFO: TCP Data received {"connection_id":173424,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:22:59] local.INFO: Processing buffer {"connection_id":173424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:22:59] local.INFO: IMEI packet received {"connection_id":173424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":173424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:23:04] local.INFO: TCP Data received {"connection_id":173424,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:23:04] local.INFO: Processing buffer {"connection_id":173424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:23:04] local.INFO: IMEI packet received {"connection_id":173424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":173424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:23:05] local.INFO: TCP Data received {"connection_id":173424,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9df870012cbc26c007742e10004a002833..."} 
[2026-09-04 14:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9df870012cbc26c007742e10004a002833..."} 
[2026-09-04 14:23:05] local.INFO: Processing buffer {"connection_id":173424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9df870012cbc26c007742e10004a002833..."} 
[2026-09-04 14:23:05] local.INFO: Packet analysis {"connection_id":173424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9d"} 
[2026-09-04 14:23:05] local.INFO: Extracted packet for processing {"connection_id":173424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9d"} 
[2026-09-04 14:23:05] local.INFO: GPS Element Parsed {"raw_longitude":750528192,"raw_latitude":125054480,"longitude_deg":75.0528192,"latitude_deg":12.505448,"altitude":74,"angle":40,"satellites":51,"speed":14,"hex_longitude":"2cbc26c0","hex_latitude":"07742e10","is_valid_coordinates":true} 
[2026-09-04 14:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859048192001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397994815226118144,"note":"Value kept but may cause issues"} 
[2026-09-04 14:23:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4889712894659608576,"note":"Value kept but may cause issues"} 
[2026-09-04 14:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788511910000,"timestamp_ms":1788511910000,"timestamp_seconds":1788511910,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9df870"} 
[2026-09-04 14:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 14:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859048192001,"66":27800,"72":206,"85":36608,"24":14,"16":397994815226118144,"44":-4889712894659608576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-09-04 14:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859048192001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:23:05] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-04 14:23:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397994815226118144,"km_value":397994815226118.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:23:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4889712894659608576,"description":"Unknown IO ID 44"} 
[2026-09-04 14:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859048192001,"power":27800,"unknown_72":206,"unknown_85":36608,"ignition":14,"odometer":null,"unknown_44":-4889712894659608576}} 
[2026-09-04 14:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":173424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:23:05] local.INFO: GPS data processed {"connection_id":173424,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:23:05] local.INFO: Acknowledgment sent {"connection_id":173424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:23:27] local.INFO: TCP Data received {"connection_id":170715,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:23:27] local.INFO: Processing buffer {"connection_id":170715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:23:27] local.INFO: Packet analysis {"connection_id":170715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:23:27] local.INFO: Extracted packet for processing {"connection_id":170715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:23:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858973440001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788511916000,"timestamp_ms":1788511916000,"timestamp_seconds":1788511916,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9e0fe0"} 
[2026-09-04 14:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 14:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858973440001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858973440001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:23:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:23:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858973440001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":170715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762850,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:23:27] local.INFO: GPS data processed {"connection_id":170715,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:23:27] local.INFO: Acknowledgment sent {"connection_id":170715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:23:36] local.INFO: TCP Data received {"connection_id":173424,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9e0040012cbc28c007743000004b003735..."} 
[2026-09-04 14:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9e0040012cbc28c007743000004b003735..."} 
[2026-09-04 14:23:36] local.INFO: Processing buffer {"connection_id":173424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9e0040012cbc28c007743000004b003735..."} 
[2026-09-04 14:23:36] local.INFO: Packet analysis {"connection_id":173424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:23:36] local.INFO: Extracted packet for processing {"connection_id":173424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":750528704,"raw_latitude":125054976,"longitude_deg":75.0528704,"latitude_deg":12.5054976,"altitude":75,"angle":55,"satellites":53,"speed":15,"hex_longitude":"2cbc28c0","hex_latitude":"07743000","is_valid_coordinates":true} 
[2026-09-04 14:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859048960001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397994853880823808,"note":"Value kept but may cause issues"} 
[2026-09-04 14:23:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4889009207217614848,"note":"Value kept but may cause issues"} 
[2026-09-04 14:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788511912000,"timestamp_ms":1788511912000,"timestamp_seconds":1788511912,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9e0040"} 
[2026-09-04 14:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 14:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859048960001,"66":27865,"72":206,"85":36608,"24":15,"16":397994853880823808,"44":-4889009207217614848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-09-04 14:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859048960001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:23:36] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-04 14:23:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397994853880823808,"km_value":397994853880823.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4889009207217614848,"description":"Unknown IO ID 44"} 
[2026-09-04 14:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859048960001,"power":27865,"unknown_72":206,"unknown_85":36608,"ignition":15,"odometer":null,"unknown_44":-4889009207217614848}} 
[2026-09-04 14:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":173424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:23:36] local.INFO: GPS data processed {"connection_id":173424,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:23:36] local.INFO: Acknowledgment sent {"connection_id":173424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:23:49] local.INFO: TCP Data received {"connection_id":172128,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:23:49] local.INFO: Processing buffer {"connection_id":172128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:23:49] local.INFO: IMEI packet received {"connection_id":172128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":172128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:23:54] local.INFO: TCP Data received {"connection_id":172128,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:23:54] local.INFO: Processing buffer {"connection_id":172128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:23:54] local.INFO: IMEI packet received {"connection_id":172128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":172128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:23:55] local.INFO: TCP Data received {"connection_id":172128,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:23:55] local.INFO: Processing buffer {"connection_id":172128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:23:55] local.INFO: Packet analysis {"connection_id":172128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:23:55] local.INFO: Extracted packet for processing {"connection_id":172128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858973440001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788511916000,"timestamp_ms":1788511916000,"timestamp_seconds":1788511916,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9e0fe0"} 
[2026-09-04 14:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 14:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858973440001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858973440001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:23:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858973440001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":172128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762852,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:23:55] local.INFO: GPS data processed {"connection_id":172128,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:23:55] local.INFO: Acknowledgment sent {"connection_id":172128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:23:59] local.INFO: TCP Data received {"connection_id":171018,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:23:59] local.INFO: Processing buffer {"connection_id":171018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:23:59] local.INFO: IMEI packet received {"connection_id":171018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":171018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:24:04] local.INFO: TCP Data received {"connection_id":171018,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:24:04] local.INFO: Processing buffer {"connection_id":171018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:24:04] local.INFO: IMEI packet received {"connection_id":171018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":171018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:24:05] local.INFO: TCP Data received {"connection_id":171018,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9f0210012cbc55000774be680053012335..."} 
[2026-09-04 14:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9f0210012cbc55000774be680053012335..."} 
[2026-09-04 14:24:05] local.INFO: Processing buffer {"connection_id":171018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9f0210012cbc55000774be680053012335..."} 
[2026-09-04 14:24:05] local.INFO: Packet analysis {"connection_id":171018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9f"} 
[2026-09-04 14:24:05] local.INFO: Extracted packet for processing {"connection_id":171018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9f"} 
[2026-09-04 14:24:05] local.INFO: GPS Element Parsed {"raw_longitude":750540032,"raw_latitude":125091432,"longitude_deg":75.0540032,"latitude_deg":12.5091432,"altitude":83,"angle":291,"satellites":53,"speed":29,"hex_longitude":"2cbc5500","hex_latitude":"0774be68","is_valid_coordinates":true} 
[2026-09-04 14:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859065856001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397997009954406400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:24:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4874513245907732480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788511978000,"timestamp_ms":1788511978000,"timestamp_seconds":1788511978,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9f0210"} 
[2026-09-04 14:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 14:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859065856001,"66":27800,"92":206,"85":36608,"24":29,"16":397997009954406400,"44":-4874513245907732480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,44]} 
[2026-09-04 14:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859065856001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:24:05] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 14:24:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397997009954406400,"km_value":397997009954406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:24:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4874513245907732480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859065856001,"power":27800,"unknown_92":206,"unknown_85":36608,"ignition":29,"odometer":null,"unknown_44":-4874513245907732480}} 
[2026-09-04 14:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":171018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:24:05] local.INFO: GPS data processed {"connection_id":171018,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:24:05] local.INFO: Acknowledgment sent {"connection_id":171018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:24:38] local.INFO: TCP Data received {"connection_id":171018,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9f1980012cbc43400774c2c80054011835..."} 
[2026-09-04 14:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9f1980012cbc43400774c2c80054011835..."} 
[2026-09-04 14:24:38] local.INFO: Processing buffer {"connection_id":171018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9f1980012cbc43400774c2c80054011835..."} 
[2026-09-04 14:24:38] local.INFO: Packet analysis {"connection_id":171018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9f"} 
[2026-09-04 14:24:38] local.INFO: Extracted packet for processing {"connection_id":171018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9f"} 
[2026-09-04 14:24:38] local.INFO: GPS Element Parsed {"raw_longitude":750535488,"raw_latitude":125092552,"longitude_deg":75.0535488,"latitude_deg":12.5092552,"altitude":84,"angle":280,"satellites":53,"speed":30,"hex_longitude":"2cbc4340","hex_latitude":"0774c2c8","is_valid_coordinates":true} 
[2026-09-04 14:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859066368001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397997228997738496,"note":"Value kept but may cause issues"} 
[2026-09-04 14:24:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4875990989535287296,"note":"Value kept but may cause issues"} 
[2026-09-04 14:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788511984000,"timestamp_ms":1788511984000,"timestamp_seconds":1788511984,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9f1980"} 
[2026-09-04 14:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 14:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859066368001,"66":27767,"92":206,"85":36608,"24":30,"16":397997228997738496,"44":-4875990989535287296},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,44]} 
[2026-09-04 14:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859066368001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:24:38] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-04 14:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397997228997738496,"km_value":397997228997738.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:24:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4875990989535287296,"description":"Unknown IO ID 44"} 
[2026-09-04 14:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859066368001,"power":27767,"unknown_92":206,"unknown_85":36608,"ignition":30,"odometer":null,"unknown_44":-4875990989535287296}} 
[2026-09-04 14:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":171018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:24:38] local.INFO: GPS data processed {"connection_id":171018,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:24:38] local.INFO: Acknowledgment sent {"connection_id":171018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:24:59] local.INFO: TCP Data received {"connection_id":173426,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:24:59] local.INFO: Processing buffer {"connection_id":173426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:24:59] local.INFO: IMEI packet received {"connection_id":173426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":173426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:25:00] local.INFO: TCP Data received {"connection_id":173426,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:25:00] local.INFO: Processing buffer {"connection_id":173426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:25:00] local.INFO: IMEI packet received {"connection_id":173426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":173426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:25:04] local.INFO: TCP Data received {"connection_id":173426,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:25:04] local.INFO: Processing buffer {"connection_id":173426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:25:04] local.INFO: IMEI packet received {"connection_id":173426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":173426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:25:05] local.INFO: TCP Data received {"connection_id":173426,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9f4478012cbc1ec00774caa00054011b31..."} 
[2026-09-04 14:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9f4478012cbc1ec00774caa00054011b31..."} 
[2026-09-04 14:25:05] local.INFO: Processing buffer {"connection_id":173426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9f4478012cbc1ec00774caa00054011b31..."} 
[2026-09-04 14:25:05] local.INFO: Packet analysis {"connection_id":173426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9f"} 
[2026-09-04 14:25:05] local.INFO: Extracted packet for processing {"connection_id":173426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9f"} 
[2026-09-04 14:25:05] local.INFO: GPS Element Parsed {"raw_longitude":750526144,"raw_latitude":125094560,"longitude_deg":75.0526144,"latitude_deg":12.509456,"altitude":84,"angle":283,"satellites":49,"speed":29,"hex_longitude":"2cbc1ec0","hex_latitude":"0774caa0","is_valid_coordinates":true} 
[2026-09-04 14:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859067904001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":397997684264271872,"note":"Value kept but may cause issues"} 
[2026-09-04 14:25:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4880987170371614720,"note":"Value kept but may cause issues"} 
[2026-09-04 14:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788511995000,"timestamp_ms":1788511995000,"timestamp_seconds":1788511995,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9f4478"} 
[2026-09-04 14:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 14:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859067904001,"66":27865,"93":206,"85":36608,"24":29,"16":397997684264271872,"44":-4880987170371614720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-09-04 14:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859067904001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:25:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-04 14:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":397997684264271872,"km_value":397997684264271.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:25:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4880987170371614720,"description":"Unknown IO ID 44"} 
[2026-09-04 14:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859067904001,"power":27865,"unknown_93":206,"unknown_85":36608,"ignition":29,"odometer":null,"unknown_44":-4880987170371614720}} 
[2026-09-04 14:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":173426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:25:05] local.INFO: GPS data processed {"connection_id":173426,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:25:05] local.INFO: Acknowledgment sent {"connection_id":173426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:25:07] local.INFO: TCP Data received {"connection_id":172128,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:25:07] local.INFO: Processing buffer {"connection_id":172128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:25:07] local.INFO: Packet analysis {"connection_id":172128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:25:07] local.INFO: Extracted packet for processing {"connection_id":172128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858973440001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788511916000,"timestamp_ms":1788511916000,"timestamp_seconds":1788511916,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9e0fe0"} 
[2026-09-04 14:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 14:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858973440001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858973440001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:25:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:25:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858973440001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":172128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762856,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:25:07] local.INFO: GPS data processed {"connection_id":172128,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:25:07] local.INFO: Acknowledgment sent {"connection_id":172128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:25:24] local.INFO: TCP Data received {"connection_id":170717,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:25:24] local.INFO: Processing buffer {"connection_id":170717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:25:24] local.INFO: IMEI packet received {"connection_id":170717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":170717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:25:29] local.INFO: TCP Data received {"connection_id":170717,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:25:29] local.INFO: Processing buffer {"connection_id":170717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:25:29] local.INFO: IMEI packet received {"connection_id":170717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":170717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:25:33] local.INFO: TCP Data received {"connection_id":170717,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:25:33] local.INFO: Processing buffer {"connection_id":170717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:25:33] local.INFO: Packet analysis {"connection_id":170717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:25:33] local.INFO: Extracted packet for processing {"connection_id":170717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:25:33] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858973440001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788511916000,"timestamp_ms":1788511916000,"timestamp_seconds":1788511916,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9e0fe0"} 
[2026-09-04 14:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 14:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":170717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":170717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":170717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858973440001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858973440001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:25:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:25:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858973440001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":170717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762857,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:25:33] local.INFO: GPS data processed {"connection_id":170717,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:25:33] local.INFO: Acknowledgment sent {"connection_id":170717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:25:41] local.INFO: TCP Data received {"connection_id":173426,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba09c38012cba7c000774e058004c011235..."} 
[2026-09-04 14:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba09c38012cba7c000774e058004c011235..."} 
[2026-09-04 14:25:41] local.INFO: Processing buffer {"connection_id":173426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba09c38012cba7c000774e058004c011235..."} 
[2026-09-04 14:25:41] local.INFO: Packet analysis {"connection_id":173426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba0"} 
[2026-09-04 14:25:41] local.INFO: Extracted packet for processing {"connection_id":173426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba0"} 
[2026-09-04 14:25:41] local.INFO: GPS Element Parsed {"raw_longitude":750418944,"raw_latitude":125100120,"longitude_deg":75.0418944,"latitude_deg":12.510012,"altitude":76,"angle":274,"satellites":53,"speed":58,"hex_longitude":"2cba7c00","hex_latitude":"0774e058","is_valid_coordinates":true} 
[2026-09-04 14:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859091456001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398002790980386816,"note":"Value kept but may cause issues"} 
[2026-09-04 14:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4997799285704781824,"note":"Value kept but may cause issues"} 
[2026-09-04 14:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788512083000,"timestamp_ms":1788512083000,"timestamp_seconds":1788512083,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba09c38"} 
[2026-09-04 14:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 14:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859091456001,"66":27919,"157":206,"85":36608,"24":58,"16":398002790980386816,"44":-4997799285704781824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,44]} 
[2026-09-04 14:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859091456001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:25:41] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-04 14:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398002790980386816,"km_value":398002790980386.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4997799285704781824,"description":"Unknown IO ID 44"} 
[2026-09-04 14:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859091456001,"power":27919,"unknown_157":206,"unknown_85":36608,"ignition":58,"odometer":null,"unknown_44":-4997799285704781824}} 
[2026-09-04 14:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":173426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:25:41] local.INFO: GPS data processed {"connection_id":173426,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:25:41] local.INFO: Acknowledgment sent {"connection_id":173426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:25:54] local.INFO: TCP Data received {"connection_id":171019,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:25:54] local.INFO: Processing buffer {"connection_id":171019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:25:54] local.INFO: IMEI packet received {"connection_id":171019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":171019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:25:59] local.INFO: TCP Data received {"connection_id":171020,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:25:59] local.INFO: Processing buffer {"connection_id":171020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:25:59] local.INFO: IMEI packet received {"connection_id":171020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":171020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:26:00] local.INFO: TCP Data received {"connection_id":171020,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:26:00] local.INFO: Processing buffer {"connection_id":171020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:26:00] local.INFO: IMEI packet received {"connection_id":171020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":171020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:26:04] local.INFO: TCP Data received {"connection_id":171019,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:26:04] local.INFO: Processing buffer {"connection_id":171019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:26:04] local.INFO: IMEI packet received {"connection_id":171019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":171019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:26:04] local.INFO: TCP Data received {"connection_id":171020,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:26:04] local.INFO: Processing buffer {"connection_id":171020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:26:04] local.INFO: IMEI packet received {"connection_id":171020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":171020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:26:05] local.INFO: TCP Data received {"connection_id":171019,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:26:05] local.INFO: Processing buffer {"connection_id":171019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:26:05] local.INFO: Packet analysis {"connection_id":171019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:26:05] local.INFO: Extracted packet for processing {"connection_id":171019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858973440001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788511916000,"timestamp_ms":1788511916000,"timestamp_seconds":1788511916,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9e0fe0"} 
[2026-09-04 14:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 14:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858973440001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858973440001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:26:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:26:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858973440001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":171019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:26:05] local.INFO: GPS data processed {"connection_id":171019,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:26:05] local.INFO: Acknowledgment sent {"connection_id":171019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:26:05] local.INFO: TCP Data received {"connection_id":171020,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba0b3a8012cba58000774e2e0004b011236..."} 
[2026-09-04 14:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba0b3a8012cba58000774e2e0004b011236..."} 
[2026-09-04 14:26:05] local.INFO: Processing buffer {"connection_id":171020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba0b3a8012cba58000774e2e0004b011236..."} 
[2026-09-04 14:26:05] local.INFO: Packet analysis {"connection_id":171020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba0"} 
[2026-09-04 14:26:05] local.INFO: Extracted packet for processing {"connection_id":171020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba0"} 
[2026-09-04 14:26:05] local.INFO: GPS Element Parsed {"raw_longitude":750409728,"raw_latitude":125100768,"longitude_deg":75.0409728,"latitude_deg":12.5100768,"altitude":75,"angle":274,"satellites":54,"speed":59,"hex_longitude":"2cba5800","hex_latitude":"0774e2e0","is_valid_coordinates":true} 
[2026-09-04 14:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859093248001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398003229067051008,"note":"Value kept but may cause issues"} 
[2026-09-04 14:26:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5009128653517203456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788512089000,"timestamp_ms":1788512089000,"timestamp_seconds":1788512089,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba0b3a8"} 
[2026-09-04 14:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 14:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859093248001,"66":27908,"157":206,"85":36608,"24":59,"16":398003229067051008,"44":-5009128653517203456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,44]} 
[2026-09-04 14:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859093248001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:26:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-04 14:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398003229067051008,"km_value":398003229067051.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:26:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5009128653517203456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859093248001,"power":27908,"unknown_157":206,"unknown_85":36608,"ignition":59,"odometer":null,"unknown_44":-5009128653517203456}} 
[2026-09-04 14:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":171020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:26:05] local.INFO: GPS data processed {"connection_id":171020,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:26:05] local.INFO: Acknowledgment sent {"connection_id":171020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:26:37] local.INFO: TCP Data received {"connection_id":171020,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba0cf00012cba2f000774e5a00049011236..."} 
[2026-09-04 14:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba0cf00012cba2f000774e5a00049011236..."} 
[2026-09-04 14:26:37] local.INFO: Processing buffer {"connection_id":171020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba0cf00012cba2f000774e5a00049011236..."} 
[2026-09-04 14:26:37] local.INFO: Packet analysis {"connection_id":171020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba0"} 
[2026-09-04 14:26:37] local.INFO: Extracted packet for processing {"connection_id":171020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba0"} 
[2026-09-04 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":750399232,"raw_latitude":125101472,"longitude_deg":75.0399232,"latitude_deg":12.5101472,"altitude":73,"angle":274,"satellites":54,"speed":58,"hex_longitude":"2cba2f00","hex_latitude":"0774e5a0","is_valid_coordinates":true} 
[2026-09-04 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859094784001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398003722988290048,"note":"Value kept but may cause issues"} 
[2026-09-04 14:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5019261752678621184,"note":"Value kept but may cause issues"} 
[2026-09-04 14:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788512096000,"timestamp_ms":1788512096000,"timestamp_seconds":1788512096,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba0cf00"} 
[2026-09-04 14:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859094784001,"66":27974,"157":206,"85":36608,"24":58,"16":398003722988290048,"44":-5019261752678621184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,44]} 
[2026-09-04 14:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859094784001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:26:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-04 14:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398003722988290048,"km_value":398003722988290.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5019261752678621184,"description":"Unknown IO ID 44"} 
[2026-09-04 14:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859094784001,"power":27974,"unknown_157":206,"unknown_85":36608,"ignition":58,"odometer":null,"unknown_44":-5019261752678621184}} 
[2026-09-04 14:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":171020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:26:37] local.INFO: GPS data processed {"connection_id":171020,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:26:37] local.INFO: Acknowledgment sent {"connection_id":171020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:26:49] local.INFO: TCP Data received {"connection_id":172130,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:26:49] local.INFO: Processing buffer {"connection_id":172130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:26:49] local.INFO: IMEI packet received {"connection_id":172130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":172130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:26:54] local.INFO: TCP Data received {"connection_id":172130,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:26:54] local.INFO: Processing buffer {"connection_id":172130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:26:54] local.INFO: IMEI packet received {"connection_id":172130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":172130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:26:58] local.INFO: TCP Data received {"connection_id":172130,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:26:58] local.INFO: Processing buffer {"connection_id":172130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:26:58] local.INFO: Packet analysis {"connection_id":172130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:26:58] local.INFO: Extracted packet for processing {"connection_id":172130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:26:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858973440001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788511916000,"timestamp_ms":1788511916000,"timestamp_seconds":1788511916,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9e0fe0"} 
[2026-09-04 14:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 14:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858973440001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858973440001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:26:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:26:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858973440001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":172130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762862,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:26:58] local.INFO: GPS data processed {"connection_id":172130,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:26:58] local.INFO: Acknowledgment sent {"connection_id":172130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:26:59] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:26:59] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:26:59] local.INFO: IMEI packet received {"connection_id":173427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":173427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:27:02] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:27:02] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:27:02] local.INFO: IMEI packet received {"connection_id":173427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":173427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:27:04] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:27:04] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:27:04] local.INFO: IMEI packet received {"connection_id":173427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":173427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:27:05] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba1dc88012cb893c0077534800041011b35..."} 
[2026-09-04 14:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba1dc88012cb893c0077534800041011b35..."} 
[2026-09-04 14:27:05] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba1dc88012cb893c0077534800041011b35..."} 
[2026-09-04 14:27:05] local.INFO: Packet analysis {"connection_id":173427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba1"} 
[2026-09-04 14:27:05] local.INFO: Extracted packet for processing {"connection_id":173427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba1"} 
[2026-09-04 14:27:05] local.INFO: GPS Element Parsed {"raw_longitude":750293952,"raw_latitude":125121664,"longitude_deg":75.0293952,"latitude_deg":12.5121664,"altitude":65,"angle":283,"satellites":53,"speed":63,"hex_longitude":"2cb893c0","hex_latitude":"07753480","is_valid_coordinates":true} 
[2026-09-04 14:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859112704001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398008833999372288,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5136003499264604160,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788512165000,"timestamp_ms":1788512165000,"timestamp_seconds":1788512165,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba1dc88"} 
[2026-09-04 14:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 14:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859112704001,"66":27876,"224":206,"85":36608,"24":63,"16":398008833999372288,"44":-5136003499264604160},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-04 14:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859112704001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:27:05] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 14:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398008833999372288,"km_value":398008833999372.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:27:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5136003499264604160,"description":"Unknown IO ID 44"} 
[2026-09-04 14:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859112704001,"power":27876,"unknown_224":206,"unknown_85":36608,"ignition":63,"odometer":null,"unknown_44":-5136003499264604160}} 
[2026-09-04 14:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":173427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:27:05] local.INFO: GPS data processed {"connection_id":173427,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:27:05] local.INFO: Acknowledgment sent {"connection_id":173427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:27:08] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba1f3f8012cb86fc007753db8003f011d33..."} 
[2026-09-04 14:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba1f3f8012cb86fc007753db8003f011d33..."} 
[2026-09-04 14:27:08] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba1f3f8012cb86fc007753db8003f011d33..."} 
[2026-09-04 14:27:08] local.INFO: Packet analysis {"connection_id":173427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba1"} 
[2026-09-04 14:27:08] local.INFO: Extracted packet for processing {"connection_id":173427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba1"} 
[2026-09-04 14:27:08] local.INFO: GPS Element Parsed {"raw_longitude":750284736,"raw_latitude":125124024,"longitude_deg":75.0284736,"latitude_deg":12.5124024,"altitude":63,"angle":285,"satellites":51,"speed":61,"hex_longitude":"2cb86fc0","hex_latitude":"07753db8","is_valid_coordinates":true} 
[2026-09-04 14:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859114240001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398009284970938368,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5146558810890665984,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788512171000,"timestamp_ms":1788512171000,"timestamp_seconds":1788512171,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba1f3f8"} 
[2026-09-04 14:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 14:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859114240001,"66":27930,"224":206,"85":36608,"24":61,"16":398009284970938368,"44":-5146558810890665984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-04 14:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859114240001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:27:08] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 14:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398009284970938368,"km_value":398009284970938.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:27:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5146558810890665984,"description":"Unknown IO ID 44"} 
[2026-09-04 14:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859114240001,"power":27930,"unknown_224":206,"unknown_85":36608,"ignition":61,"odometer":null,"unknown_44":-5146558810890665984}} 
[2026-09-04 14:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":173427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:27:08] local.INFO: GPS data processed {"connection_id":173427,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:27:08] local.INFO: Acknowledgment sent {"connection_id":173427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:27:29] local.INFO: TCP Data received {"connection_id":172130,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:27:29] local.INFO: Processing buffer {"connection_id":172130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06b9e0fe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:27:29] local.INFO: Packet analysis {"connection_id":172130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:27:29] local.INFO: Extracted packet for processing {"connection_id":172130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06b9e"} 
[2026-09-04 14:27:29] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457858973440001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788511916000,"timestamp_ms":1788511916000,"timestamp_seconds":1788511916,"priority":1,"record_length":96,"hex_timestamp":"000001a06b9e0fe0"} 
[2026-09-04 14:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 14:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457858973440001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457858973440001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:27:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:27:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457858973440001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":172130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762865,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:27:30] local.INFO: GPS data processed {"connection_id":172130,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:27:30] local.INFO: Acknowledgment sent {"connection_id":172130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:27:40] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba20b68012cb84d40077549a8003e012837..."} 
[2026-09-04 14:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba20b68012cb84d40077549a8003e012837..."} 
[2026-09-04 14:27:40] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba20b68012cb84d40077549a8003e012837..."} 
[2026-09-04 14:27:40] local.INFO: Packet analysis {"connection_id":173427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:27:40] local.INFO: Extracted packet for processing {"connection_id":173427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:27:40] local.INFO: GPS Element Parsed {"raw_longitude":750275904,"raw_latitude":125127080,"longitude_deg":75.0275904,"latitude_deg":12.512708,"altitude":62,"angle":296,"satellites":55,"speed":61,"hex_longitude":"2cb84d40","hex_latitude":"077549a8","is_valid_coordinates":true} 
[2026-09-04 14:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859115776001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398009731647537152,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5156691910051645440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788512177000,"timestamp_ms":1788512177000,"timestamp_seconds":1788512177,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba20b68"} 
[2026-09-04 14:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 14:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859115776001,"66":27919,"224":206,"85":36608,"24":61,"16":398009731647537152,"44":-5156691910051645440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-04 14:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859115776001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:27:40] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 14:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398009731647537152,"km_value":398009731647537.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5156691910051645440,"description":"Unknown IO ID 44"} 
[2026-09-04 14:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859115776001,"power":27919,"unknown_224":206,"unknown_85":36608,"ignition":61,"odometer":null,"unknown_44":-5156691910051645440}} 
[2026-09-04 14:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":173427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:27:40] local.INFO: GPS data processed {"connection_id":173427,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:27:40] local.INFO: Acknowledgment sent {"connection_id":173427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:27:50] local.INFO: TCP Data received {"connection_id":171022,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:27:50] local.INFO: Processing buffer {"connection_id":171022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:27:50] local.INFO: IMEI packet received {"connection_id":171022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":171022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:27:53] local.INFO: TCP Data received {"connection_id":172131,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:27:53] local.INFO: Processing buffer {"connection_id":172131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:27:53] local.INFO: IMEI packet received {"connection_id":172131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":172131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:27:54] local.INFO: TCP Data received {"connection_id":171022,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:27:54] local.INFO: Processing buffer {"connection_id":171022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:27:54] local.INFO: IMEI packet received {"connection_id":171022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":171022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:27:54] local.INFO: TCP Data received {"connection_id":172131,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba101c8012d19530007200948003d00c42e..."} 
[2026-09-04 14:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba101c8012d19530007200948003d00c42e..."} 
[2026-09-04 14:27:54] local.INFO: Processing buffer {"connection_id":172131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba101c8012d19530007200948003d00c42e..."} 
[2026-09-04 14:27:54] local.INFO: Packet analysis {"connection_id":172131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba1"} 
[2026-09-04 14:27:54] local.INFO: Extracted packet for processing {"connection_id":172131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba1"} 
[2026-09-04 14:27:54] local.INFO: GPS Element Parsed {"raw_longitude":756634368,"raw_latitude":119540040,"longitude_deg":75.6634368,"latitude_deg":11.954004,"altitude":61,"angle":196,"satellites":46,"speed":14,"hex_longitude":"2d195300","hex_latitude":"07200948","is_valid_coordinates":true} 
[2026-09-04 14:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859099648001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282398643290112,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042105874432,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788512109000,"timestamp_ms":1788512109000,"timestamp_seconds":1788512109,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba101c8"} 
[2026-09-04 14:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 14:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859099648001,"66":12004,"121":206,"28":31744,"24":14,"16":17282398643290112,"45":1824943042105874432},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859099648001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:27:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:27:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282398643290112,"km_value":17282398643290.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042105874432,"description":"Unknown IO ID 45"} 
[2026-09-04 14:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859099648001,"power":12004,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1824943042105874432}} 
[2026-09-04 14:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":172131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:27:54] local.INFO: GPS data processed {"connection_id":172131,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:27:54] local.INFO: Acknowledgment sent {"connection_id":172131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:27:55] local.INFO: TCP Data received {"connection_id":171022,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:27:55] local.INFO: Processing buffer {"connection_id":171022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:27:55] local.INFO: Packet analysis {"connection_id":171022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:27:55] local.INFO: Extracted packet for processing {"connection_id":171022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:27:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859050496001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512217000,"timestamp_ms":1788512217000,"timestamp_seconds":1788512217,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba2a7a8"} 
[2026-09-04 14:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 14:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859050496001,"66":25430,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859050496001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:27:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:27:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859050496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":171022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762868,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:27:55] local.INFO: GPS data processed {"connection_id":171022,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:27:55] local.INFO: Acknowledgment sent {"connection_id":171022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:27:59] local.INFO: TCP Data received {"connection_id":172132,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:27:59] local.INFO: Processing buffer {"connection_id":172132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:27:59] local.INFO: IMEI packet received {"connection_id":172132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":172132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:28:00] local.INFO: TCP Data received {"connection_id":172132,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:28:00] local.INFO: Processing buffer {"connection_id":172132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:28:00] local.INFO: IMEI packet received {"connection_id":172132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":172132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:28:04] local.INFO: TCP Data received {"connection_id":172132,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:28:04] local.INFO: Processing buffer {"connection_id":172132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:28:04] local.INFO: IMEI packet received {"connection_id":172132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":172132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:28:05] local.INFO: TCP Data received {"connection_id":172132,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba222d8012cb82e8007755be0003c012f37..."} 
[2026-09-04 14:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba222d8012cb82e8007755be0003c012f37..."} 
[2026-09-04 14:28:05] local.INFO: Processing buffer {"connection_id":172132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba222d8012cb82e8007755be0003c012f37..."} 
[2026-09-04 14:28:05] local.INFO: Packet analysis {"connection_id":172132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:28:05] local.INFO: Extracted packet for processing {"connection_id":172132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:28:05] local.INFO: GPS Element Parsed {"raw_longitude":750268032,"raw_latitude":125131744,"longitude_deg":75.0268032,"latitude_deg":12.5131744,"altitude":60,"angle":303,"satellites":55,"speed":59,"hex_longitude":"2cb82e80","hex_latitude":"07755be0","is_valid_coordinates":true} 
[2026-09-04 14:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859117312001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398010165439234048,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5166402796747380736,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788512183000,"timestamp_ms":1788512183000,"timestamp_seconds":1788512183,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba222d8"} 
[2026-09-04 14:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 14:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859117312001,"66":27767,"224":206,"85":36608,"24":59,"16":398010165439234048,"44":-5166402796747380736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-04 14:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859117312001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:28:05] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 14:28:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398010165439234048,"km_value":398010165439234.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:28:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5166402796747380736,"description":"Unknown IO ID 44"} 
[2026-09-04 14:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859117312001,"power":27767,"unknown_224":206,"unknown_85":36608,"ignition":59,"odometer":null,"unknown_44":-5166402796747380736}} 
[2026-09-04 14:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":172132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:28:05] local.INFO: GPS data processed {"connection_id":172132,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:28:05] local.INFO: Acknowledgment sent {"connection_id":172132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:28:25] local.INFO: TCP Data received {"connection_id":172131,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba13490012d194f80071ff808003b009e2e..."} 
[2026-09-04 14:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba13490012d194f80071ff808003b009e2e..."} 
[2026-09-04 14:28:25] local.INFO: Processing buffer {"connection_id":172131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba13490012d194f80071ff808003b009e2e..."} 
[2026-09-04 14:28:25] local.INFO: Packet analysis {"connection_id":172131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba1"} 
[2026-09-04 14:28:25] local.INFO: Extracted packet for processing {"connection_id":172131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba1"} 
[2026-09-04 14:28:25] local.INFO: GPS Element Parsed {"raw_longitude":756633472,"raw_latitude":119535624,"longitude_deg":75.6633472,"latitude_deg":11.9535624,"altitude":59,"angle":158,"satellites":46,"speed":16,"hex_longitude":"2d194f80","hex_latitude":"071ff808","is_valid_coordinates":true} 
[2026-09-04 14:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859099904001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282617686622208,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824802304617433088,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788512122000,"timestamp_ms":1788512122000,"timestamp_seconds":1788512122,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba13490"} 
[2026-09-04 14:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 14:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859099904001,"66":12711,"121":206,"28":31744,"24":16,"16":17282617686622208,"45":1824802304617433088},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859099904001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:28:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:28:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282617686622208,"km_value":17282617686622.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824802304617433088,"description":"Unknown IO ID 45"} 
[2026-09-04 14:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859099904001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1824802304617433088}} 
[2026-09-04 14:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":172131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:28:26] local.INFO: GPS data processed {"connection_id":172131,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:28:26] local.INFO: Acknowledgment sent {"connection_id":172131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:28:26] local.INFO: TCP Data received {"connection_id":171022,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:28:26] local.INFO: Processing buffer {"connection_id":171022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:28:26] local.INFO: Packet analysis {"connection_id":171022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:28:26] local.INFO: Extracted packet for processing {"connection_id":171022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:28:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859050496001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788512217000,"timestamp_ms":1788512217000,"timestamp_seconds":1788512217,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba2a7a8"} 
[2026-09-04 14:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 14:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859050496001,"66":25430,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859050496001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:28:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:28:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859050496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":171022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762871,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:28:26] local.INFO: GPS data processed {"connection_id":171022,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:28:26] local.INFO: Acknowledgment sent {"connection_id":171022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:28:36] local.INFO: TCP Data received {"connection_id":172132,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba35388012cb6934007760c400044011036..."} 
[2026-09-04 14:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba35388012cb6934007760c400044011036..."} 
[2026-09-04 14:28:36] local.INFO: Processing buffer {"connection_id":172132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba35388012cb6934007760c400044011036..."} 
[2026-09-04 14:28:36] local.INFO: Packet analysis {"connection_id":172132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba3"} 
[2026-09-04 14:28:36] local.INFO: Extracted packet for processing {"connection_id":172132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba3"} 
[2026-09-04 14:28:36] local.INFO: GPS Element Parsed {"raw_longitude":750162752,"raw_latitude":125176896,"longitude_deg":75.0162752,"latitude_deg":12.5176896,"altitude":68,"angle":272,"satellites":54,"speed":58,"hex_longitude":"2cb69340","hex_latitude":"07760c40","is_valid_coordinates":true} 
[2026-09-04 14:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859137280001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398015701652078592,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5280822374767724544,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788512261000,"timestamp_ms":1788512261000,"timestamp_seconds":1788512261,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba35388"} 
[2026-09-04 14:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 14:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859137280001,"66":27930,"224":206,"85":36608,"24":58,"16":398015701652078592,"44":-5280822374767724544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-04 14:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859137280001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:28:36] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 14:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398015701652078592,"km_value":398015701652078.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:28:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5280822374767724544,"description":"Unknown IO ID 44"} 
[2026-09-04 14:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859137280001,"power":27930,"unknown_224":206,"unknown_85":36608,"ignition":58,"odometer":null,"unknown_44":-5280822374767724544}} 
[2026-09-04 14:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":172132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:28:36] local.INFO: GPS data processed {"connection_id":172132,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:28:36] local.INFO: Acknowledgment sent {"connection_id":172132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:28:49] local.INFO: TCP Data received {"connection_id":173428,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:28:49] local.INFO: Processing buffer {"connection_id":173428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:28:49] local.INFO: IMEI packet received {"connection_id":173428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":173428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:28:53] local.INFO: TCP Data received {"connection_id":172133,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:28:53] local.INFO: Processing buffer {"connection_id":172133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:28:53] local.INFO: IMEI packet received {"connection_id":172133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":172133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:28:54] local.INFO: TCP Data received {"connection_id":173428,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:28:54] local.INFO: Processing buffer {"connection_id":173428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:28:54] local.INFO: IMEI packet received {"connection_id":173428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":173428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:28:55] local.INFO: TCP Data received {"connection_id":173428,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:28:55] local.INFO: Processing buffer {"connection_id":173428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:28:55] local.INFO: Packet analysis {"connection_id":173428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:28:55] local.INFO: Extracted packet for processing {"connection_id":173428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:28:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859050496001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512217000,"timestamp_ms":1788512217000,"timestamp_seconds":1788512217,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba2a7a8"} 
[2026-09-04 14:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 14:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859050496001,"66":25430,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859050496001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:28:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:28:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859050496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":173428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:28:55] local.INFO: GPS data processed {"connection_id":173428,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:28:55] local.INFO: Acknowledgment sent {"connection_id":173428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:28:58] local.INFO: TCP Data received {"connection_id":172133,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:28:58] local.INFO: Processing buffer {"connection_id":172133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:28:58] local.INFO: IMEI packet received {"connection_id":172133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":172133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:28:59] local.INFO: TCP Data received {"connection_id":171023,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:28:59] local.INFO: Processing buffer {"connection_id":171023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:28:59] local.INFO: IMEI packet received {"connection_id":171023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":171023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:29:01] local.INFO: TCP Data received {"connection_id":172133,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba13878012d195040071ff698003a00912c..."} 
[2026-09-04 14:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba13878012d195040071ff698003a00912c..."} 
[2026-09-04 14:29:01] local.INFO: Processing buffer {"connection_id":172133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba13878012d195040071ff698003a00912c..."} 
[2026-09-04 14:29:01] local.INFO: Packet analysis {"connection_id":172133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba1"} 
[2026-09-04 14:29:01] local.INFO: Extracted packet for processing {"connection_id":172133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba1"} 
[2026-09-04 14:29:01] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119535256,"longitude_deg":75.6633664,"latitude_deg":11.9535256,"altitude":58,"angle":145,"satellites":44,"speed":16,"hex_longitude":"2d195040","hex_latitude":"071ff698","is_valid_coordinates":true} 
[2026-09-04 14:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859103232001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282639161458688,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823817142197815296,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788512123000,"timestamp_ms":1788512123000,"timestamp_seconds":1788512123,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba13878"} 
[2026-09-04 14:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-04 14:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859103232001,"66":12722,"121":206,"28":31744,"24":16,"16":17282639161458688,"45":1823817142197815296},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859103232001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:29:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:29:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282639161458688,"km_value":17282639161458.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823817142197815296,"description":"Unknown IO ID 45"} 
[2026-09-04 14:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859103232001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1823817142197815296}} 
[2026-09-04 14:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":172133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:29:01] local.INFO: GPS data processed {"connection_id":172133,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:29:01] local.INFO: Acknowledgment sent {"connection_id":172133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:29:03] local.INFO: TCP Data received {"connection_id":171023,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:29:03] local.INFO: Processing buffer {"connection_id":171023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:29:03] local.INFO: IMEI packet received {"connection_id":171023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":171023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:29:04] local.INFO: TCP Data received {"connection_id":171023,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:29:04] local.INFO: Processing buffer {"connection_id":171023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:29:04] local.INFO: IMEI packet received {"connection_id":171023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":171023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:29:05] local.INFO: TCP Data received {"connection_id":171023,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba36ee0012cb66b8007760ba80041010a36..."} 
[2026-09-04 14:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba36ee0012cb66b8007760ba80041010a36..."} 
[2026-09-04 14:29:05] local.INFO: Processing buffer {"connection_id":171023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba36ee0012cb66b8007760ba80041010a36..."} 
[2026-09-04 14:29:05] local.INFO: Packet analysis {"connection_id":171023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba3"} 
[2026-09-04 14:29:05] local.INFO: Extracted packet for processing {"connection_id":171023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba3"} 
[2026-09-04 14:29:05] local.INFO: GPS Element Parsed {"raw_longitude":750152576,"raw_latitude":125176744,"longitude_deg":75.0152576,"latitude_deg":12.5176744,"altitude":65,"angle":266,"satellites":54,"speed":55,"hex_longitude":"2cb66b80","hex_latitude":"07760ba8","is_valid_coordinates":true} 
[2026-09-04 14:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859138816001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398016178393448448,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5290814736440737792,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788512268000,"timestamp_ms":1788512268000,"timestamp_seconds":1788512268,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba36ee0"} 
[2026-09-04 14:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 14:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859138816001,"66":27908,"155":206,"85":36608,"24":55,"16":398016178393448448,"44":-5290814736440737792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,44]} 
[2026-09-04 14:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859138816001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:29:05] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-04 14:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398016178393448448,"km_value":398016178393448.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:29:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5290814736440737792,"description":"Unknown IO ID 44"} 
[2026-09-04 14:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859138816001,"power":27908,"unknown_155":206,"unknown_85":36608,"ignition":55,"odometer":null,"unknown_44":-5290814736440737792}} 
[2026-09-04 14:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":171023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:29:05] local.INFO: GPS data processed {"connection_id":171023,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:29:05] local.INFO: Acknowledgment sent {"connection_id":171023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:29:09] local.INFO: TCP Data received {"connection_id":171023,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba38a38012cb64680077608580040010936..."} 
[2026-09-04 14:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba38a38012cb64680077608580040010936..."} 
[2026-09-04 14:29:09] local.INFO: Processing buffer {"connection_id":171023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba38a38012cb64680077608580040010936..."} 
[2026-09-04 14:29:09] local.INFO: Packet analysis {"connection_id":171023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba3"} 
[2026-09-04 14:29:09] local.INFO: Extracted packet for processing {"connection_id":171023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba3"} 
[2026-09-04 14:29:09] local.INFO: GPS Element Parsed {"raw_longitude":750143104,"raw_latitude":125175896,"longitude_deg":75.0143104,"latitude_deg":12.5175896,"altitude":64,"angle":265,"satellites":54,"speed":51,"hex_longitude":"2cb64680","hex_latitude":"07760858","is_valid_coordinates":true} 
[2026-09-04 14:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859140608001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398016629365014528,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5302003366765025280,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788512275000,"timestamp_ms":1788512275000,"timestamp_seconds":1788512275,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba38a38"} 
[2026-09-04 14:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859140608001,"66":27800,"155":206,"85":36608,"24":51,"16":398016629365014528,"44":-5302003366765025280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,44]} 
[2026-09-04 14:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859140608001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:29:09] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-04 14:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398016629365014528,"km_value":398016629365014.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:29:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5302003366765025280,"description":"Unknown IO ID 44"} 
[2026-09-04 14:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859140608001,"power":27800,"unknown_155":206,"unknown_85":36608,"ignition":51,"odometer":null,"unknown_44":-5302003366765025280}} 
[2026-09-04 14:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":171023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:29:09] local.INFO: GPS data processed {"connection_id":171023,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:29:09] local.INFO: Acknowledgment sent {"connection_id":171023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:29:27] local.INFO: TCP Data received {"connection_id":173428,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:29:27] local.INFO: Processing buffer {"connection_id":173428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:29:27] local.INFO: Packet analysis {"connection_id":173428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:29:27] local.INFO: Extracted packet for processing {"connection_id":173428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:29:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859050496001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788512217000,"timestamp_ms":1788512217000,"timestamp_seconds":1788512217,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba2a7a8"} 
[2026-09-04 14:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 14:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859050496001,"66":25430,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859050496001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:29:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:29:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859050496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":173428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762877,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:29:27] local.INFO: GPS data processed {"connection_id":173428,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:29:27] local.INFO: Acknowledgment sent {"connection_id":173428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:29:33] local.INFO: TCP Data received {"connection_id":172133,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba3b918012d196700071fee10003e00592a..."} 
[2026-09-04 14:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba3b918012d196700071fee10003e00592a..."} 
[2026-09-04 14:29:33] local.INFO: Processing buffer {"connection_id":172133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba3b918012d196700071fee10003e00592a..."} 
[2026-09-04 14:29:33] local.INFO: Packet analysis {"connection_id":172133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba3"} 
[2026-09-04 14:29:33] local.INFO: Extracted packet for processing {"connection_id":172133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba3"} 
[2026-09-04 14:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859140096001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788512287000,"timestamp_ms":1788512287000,"timestamp_seconds":1788512287,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba3b918"} 
[2026-09-04 14:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-04 14:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1080863910736692224,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:33] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:33] local.WARNING: Large IO value detected {"io_id":107,"raw_value":-6816382748927107136,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026046,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 14:29:33] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3892391193,"corrected_to":0} 
[2026-09-04 14:29:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587749606280732,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301084323895339565,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:33] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,102,160,21,45,238,62,44,10,66,195,112,1,240,41,107,31,4,113,205,204,103,239,50,2,61,7,60,6,124,186],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":204,"original":3892391193,"validated":0}]} 
[2026-09-04 14:29:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467668880159932416,"timestamp_seconds":4467668880159932.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 14:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859140096001,"66":12776,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859140096001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:29:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:29:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859140096001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":172133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:29:33] local.INFO: GPS data processed {"connection_id":172133,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:29:33] local.INFO: Acknowledgment sent {"connection_id":172133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:29:40] local.INFO: TCP Data received {"connection_id":171023,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba3a978012cb62080077605080041010836..."} 
[2026-09-04 14:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba3a978012cb62080077605080041010836..."} 
[2026-09-04 14:29:40] local.INFO: Processing buffer {"connection_id":171023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba3a978012cb62080077605080041010836..."} 
[2026-09-04 14:29:40] local.INFO: Packet analysis {"connection_id":171023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba3"} 
[2026-09-04 14:29:40] local.INFO: Extracted packet for processing {"connection_id":171023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba3"} 
[2026-09-04 14:29:40] local.INFO: GPS Element Parsed {"raw_longitude":750133376,"raw_latitude":125175048,"longitude_deg":75.0133376,"latitude_deg":12.5175048,"altitude":65,"angle":264,"satellites":54,"speed":45,"hex_longitude":"2cb62080","hex_latitude":"07760508","is_valid_coordinates":true} 
[2026-09-04 14:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859142400001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398017093221482496,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5312417940903536640,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788512283000,"timestamp_ms":1788512283000,"timestamp_seconds":1788512283,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba3a978"} 
[2026-09-04 14:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 14:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859142400001,"66":27865,"155":206,"85":36608,"24":45,"16":398017093221482496,"44":-5312417940903536640},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,44]} 
[2026-09-04 14:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859142400001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:29:40] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-04 14:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398017093221482496,"km_value":398017093221482.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:29:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5312417940903536640,"description":"Unknown IO ID 44"} 
[2026-09-04 14:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859142400001,"power":27865,"unknown_155":206,"unknown_85":36608,"ignition":45,"odometer":null,"unknown_44":-5312417940903536640}} 
[2026-09-04 14:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":171023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:29:40] local.INFO: GPS data processed {"connection_id":171023,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:29:40] local.INFO: Acknowledgment sent {"connection_id":171023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:29:49] local.INFO: TCP Data received {"connection_id":173430,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:29:49] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:29:49] local.INFO: IMEI packet received {"connection_id":173430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":173430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:29:49] local.INFO: TCP Data received {"connection_id":173429,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:29:49] local.INFO: Processing buffer {"connection_id":173429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:29:49] local.INFO: IMEI packet received {"connection_id":173429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":173429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:29:50] local.INFO: TCP Data received {"connection_id":173429,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:29:50] local.INFO: Processing buffer {"connection_id":173429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:29:50] local.INFO: IMEI packet received {"connection_id":173429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":173429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:29:53] local.INFO: TCP Data received {"connection_id":173429,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:29:53] local.INFO: Processing buffer {"connection_id":173429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:29:53] local.INFO: IMEI packet received {"connection_id":173429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":173429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:29:54] local.INFO: TCP Data received {"connection_id":173430,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:29:54] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:29:54] local.INFO: IMEI packet received {"connection_id":173430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":173430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:29:54] local.INFO: TCP Data received {"connection_id":173429,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba40b20012d196700071fee10003e00592c..."} 
[2026-09-04 14:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba40b20012d196700071fee10003e00592c..."} 
[2026-09-04 14:29:54] local.INFO: Processing buffer {"connection_id":173429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba40b20012d196700071fee10003e00592c..."} 
[2026-09-04 14:29:54] local.INFO: Packet analysis {"connection_id":173429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba4"} 
[2026-09-04 14:29:54] local.INFO: Extracted packet for processing {"connection_id":173429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba4"} 
[2026-09-04 14:29:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859145472001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788512308000,"timestamp_ms":1788512308000,"timestamp_seconds":1788512308,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba40b20"} 
[2026-09-04 14:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 14:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859145472001,"66":12776,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859145472001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:29:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:29:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859145472001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":173429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:29:54] local.INFO: GPS data processed {"connection_id":173429,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:29:54] local.INFO: Acknowledgment sent {"connection_id":173429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:29:55] local.INFO: TCP Data received {"connection_id":173430,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:29:55] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:29:55] local.INFO: Packet analysis {"connection_id":173430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:29:55] local.INFO: Extracted packet for processing {"connection_id":173430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:29:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859050496001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512217000,"timestamp_ms":1788512217000,"timestamp_seconds":1788512217,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba2a7a8"} 
[2026-09-04 14:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 14:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859050496001,"66":25430,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859050496001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:29:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:29:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859050496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":173430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762881,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:29:55] local.INFO: GPS data processed {"connection_id":173430,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:29:55] local.INFO: Acknowledgment sent {"connection_id":173430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:29:59] local.INFO: TCP Data received {"connection_id":173429,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba45d28012d196700071fee10003e00592e..."} 
[2026-09-04 14:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba45d28012d196700071fee10003e00592e..."} 
[2026-09-04 14:29:59] local.INFO: Processing buffer {"connection_id":173429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba45d28012d196700071fee10003e00592e..."} 
[2026-09-04 14:29:59] local.INFO: Packet analysis {"connection_id":173429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba4"} 
[2026-09-04 14:29:59] local.INFO: Extracted packet for processing {"connection_id":173429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba4"} 
[2026-09-04 14:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":46,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859150848001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788512329000,"timestamp_ms":1788512329000,"timestamp_seconds":1788512329,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba45d28"} 
[2026-09-04 14:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 14:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859150848001,"66":12765,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859150848001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:29:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:29:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859150848001,"power":12765,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":173429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:29:59] local.INFO: GPS data processed {"connection_id":173429,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:29:59] local.INFO: Acknowledgment sent {"connection_id":173429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:30:03] local.INFO: TCP Data received {"connection_id":171024,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:30:03] local.INFO: Processing buffer {"connection_id":171024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:30:03] local.INFO: IMEI packet received {"connection_id":171024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":171024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:30:04] local.INFO: TCP Data received {"connection_id":171024,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:30:04] local.INFO: Processing buffer {"connection_id":171024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:30:04] local.INFO: IMEI packet received {"connection_id":171024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":171024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:30:06] local.INFO: TCP Data received {"connection_id":171024,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:30:06] local.INFO: Processing buffer {"connection_id":171024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:30:06] local.INFO: IMEI packet received {"connection_id":171024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":171024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:30:07] local.INFO: TCP Data received {"connection_id":171024,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba4c2b8012cb4db4007754bd0003500f637..."} 
[2026-09-04 14:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba4c2b8012cb4db4007754bd0003500f637..."} 
[2026-09-04 14:30:07] local.INFO: Processing buffer {"connection_id":171024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba4c2b8012cb4db4007754bd0003500f637..."} 
[2026-09-04 14:30:07] local.INFO: Packet analysis {"connection_id":171024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba4"} 
[2026-09-04 14:30:07] local.INFO: Extracted packet for processing {"connection_id":171024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba4"} 
[2026-09-04 14:30:07] local.INFO: GPS Element Parsed {"raw_longitude":750050112,"raw_latitude":125127632,"longitude_deg":75.0050112,"latitude_deg":12.5127632,"altitude":53,"angle":246,"satellites":55,"speed":58,"hex_longitude":"2cb4db40","hex_latitude":"07754bd0","is_valid_coordinates":true} 
[2026-09-04 14:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859161344001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398021740376096768,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5406430583135993856,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788512355000,"timestamp_ms":1788512355000,"timestamp_seconds":1788512355,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba4c2b8"} 
[2026-09-04 14:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 14:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859161344001,"66":27745,"145":206,"85":36608,"24":58,"16":398021740376096768,"44":-5406430583135993856},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-04 14:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859161344001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:30:07] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-04 14:30:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398021740376096768,"km_value":398021740376096.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:30:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5406430583135993856,"description":"Unknown IO ID 44"} 
[2026-09-04 14:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859161344001,"power":27745,"unknown_145":206,"unknown_85":36608,"ignition":58,"odometer":null,"unknown_44":-5406430583135993856}} 
[2026-09-04 14:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":171024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:30:07] local.INFO: GPS data processed {"connection_id":171024,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:30:07] local.INFO: Acknowledgment sent {"connection_id":171024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:30:26] local.INFO: TCP Data received {"connection_id":173430,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:30:26] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:30:26] local.INFO: Packet analysis {"connection_id":173430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:30:26] local.INFO: Extracted packet for processing {"connection_id":173430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:30:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859050496001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788512217000,"timestamp_ms":1788512217000,"timestamp_seconds":1788512217,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba2a7a8"} 
[2026-09-04 14:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 14:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859050496001,"66":25430,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859050496001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:30:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:30:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859050496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":173430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:30:27] local.INFO: GPS data processed {"connection_id":173430,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:30:27] local.INFO: Acknowledgment sent {"connection_id":173430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:30:31] local.INFO: TCP Data received {"connection_id":173429,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba4af30012d196700071fee10003e00592c..."} 
[2026-09-04 14:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba4af30012d196700071fee10003e00592c..."} 
[2026-09-04 14:30:31] local.INFO: Processing buffer {"connection_id":173429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba4af30012d196700071fee10003e00592c..."} 
[2026-09-04 14:30:31] local.INFO: Packet analysis {"connection_id":173429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba4"} 
[2026-09-04 14:30:31] local.INFO: Extracted packet for processing {"connection_id":173429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba4"} 
[2026-09-04 14:30:31] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859156224001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788512350000,"timestamp_ms":1788512350000,"timestamp_seconds":1788512350,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba4af30"} 
[2026-09-04 14:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-04 14:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859156224001,"66":12722,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859156224001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:30:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859156224001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":173429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:30:31] local.INFO: GPS data processed {"connection_id":173429,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:30:31] local.INFO: Acknowledgment sent {"connection_id":173429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:30:38] local.INFO: TCP Data received {"connection_id":171024,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba4ce70012cb4ca80077546f00034010236..."} 
[2026-09-04 14:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba4ce70012cb4ca80077546f00034010236..."} 
[2026-09-04 14:30:38] local.INFO: Processing buffer {"connection_id":171024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba4ce70012cb4ca80077546f00034010236..."} 
[2026-09-04 14:30:38] local.INFO: Packet analysis {"connection_id":171024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba4"} 
[2026-09-04 14:30:38] local.INFO: Extracted packet for processing {"connection_id":171024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba4"} 
[2026-09-04 14:30:38] local.INFO: GPS Element Parsed {"raw_longitude":750045824,"raw_latitude":125126384,"longitude_deg":75.0045824,"latitude_deg":12.5126384,"altitude":52,"angle":258,"satellites":54,"speed":58,"hex_longitude":"2cb4ca80","hex_latitude":"077546f0","is_valid_coordinates":true} 
[2026-09-04 14:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859162880001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398021950829494272,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5414663726206038016,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788512358000,"timestamp_ms":1788512358000,"timestamp_seconds":1788512358,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba4ce70"} 
[2026-09-04 14:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 14:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859162880001,"66":27604,"145":206,"85":36608,"24":58,"16":398021950829494272,"44":-5414663726206038016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-04 14:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859162880001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:30:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-04 14:30:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398021950829494272,"km_value":398021950829494.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:30:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5414663726206038016,"description":"Unknown IO ID 44"} 
[2026-09-04 14:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859162880001,"power":27604,"unknown_145":206,"unknown_85":36608,"ignition":58,"odometer":null,"unknown_44":-5414663726206038016}} 
[2026-09-04 14:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":171024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:30:38] local.INFO: GPS data processed {"connection_id":171024,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:30:38] local.INFO: Acknowledgment sent {"connection_id":171024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:30:48] local.INFO: TCP Data received {"connection_id":170718,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:30:48] local.INFO: Processing buffer {"connection_id":170718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:30:48] local.INFO: IMEI packet received {"connection_id":170718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":170718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:30:49] local.INFO: TCP Data received {"connection_id":172134,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:30:49] local.INFO: Processing buffer {"connection_id":172134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:30:49] local.INFO: IMEI packet received {"connection_id":172134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":172134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:30:51] local.INFO: TCP Data received {"connection_id":170718,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:30:51] local.INFO: Processing buffer {"connection_id":170718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:30:51] local.INFO: IMEI packet received {"connection_id":170718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":170718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:30:52] local.INFO: TCP Data received {"connection_id":170718,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba50138012d196700071fee10003e00592c..."} 
[2026-09-04 14:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba50138012d196700071fee10003e00592c..."} 
[2026-09-04 14:30:52] local.INFO: Processing buffer {"connection_id":170718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba50138012d196700071fee10003e00592c..."} 
[2026-09-04 14:30:52] local.INFO: Packet analysis {"connection_id":170718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba5"} 
[2026-09-04 14:30:52] local.INFO: Extracted packet for processing {"connection_id":170718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba5"} 
[2026-09-04 14:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859161600001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788512371000,"timestamp_ms":1788512371000,"timestamp_seconds":1788512371,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba50138"} 
[2026-09-04 14:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 14:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":170718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":170718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":170718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859161600001,"66":11711,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859161600001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:30:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:30:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859161600001,"power":11711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":170718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:30:52] local.INFO: GPS data processed {"connection_id":170718,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:30:52] local.INFO: Acknowledgment sent {"connection_id":170718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:30:54] local.INFO: TCP Data received {"connection_id":172134,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:30:54] local.INFO: Processing buffer {"connection_id":172134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:30:54] local.INFO: IMEI packet received {"connection_id":172134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":172134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:30:55] local.INFO: TCP Data received {"connection_id":172134,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:30:55] local.INFO: Processing buffer {"connection_id":172134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:30:55] local.INFO: Packet analysis {"connection_id":172134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:30:55] local.INFO: Extracted packet for processing {"connection_id":172134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:30:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859050496001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512217000,"timestamp_ms":1788512217000,"timestamp_seconds":1788512217,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba2a7a8"} 
[2026-09-04 14:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 14:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859050496001,"66":25430,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859050496001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:30:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:30:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859050496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":172134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762888,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:30:55] local.INFO: GPS data processed {"connection_id":172134,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:30:55] local.INFO: Acknowledgment sent {"connection_id":172134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:30:59] local.INFO: TCP Data received {"connection_id":173431,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:30:59] local.INFO: Processing buffer {"connection_id":173431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:30:59] local.INFO: IMEI packet received {"connection_id":173431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":173431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:31:01] local.INFO: TCP Data received {"connection_id":173431,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:31:01] local.INFO: Processing buffer {"connection_id":173431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:31:01] local.INFO: IMEI packet received {"connection_id":173431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":173431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:31:04] local.INFO: TCP Data received {"connection_id":173431,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:31:04] local.INFO: Processing buffer {"connection_id":173431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:31:04] local.INFO: IMEI packet received {"connection_id":173431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":173431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:31:05] local.INFO: TCP Data received {"connection_id":173431,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba4da28012cb4b940077546000032011235..."} 
[2026-09-04 14:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba4da28012cb4b940077546000032011235..."} 
[2026-09-04 14:31:05] local.INFO: Processing buffer {"connection_id":173431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba4da28012cb4b940077546000032011235..."} 
[2026-09-04 14:31:05] local.INFO: Packet analysis {"connection_id":173431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba4"} 
[2026-09-04 14:31:05] local.INFO: Extracted packet for processing {"connection_id":173431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba4"} 
[2026-09-04 14:31:05] local.INFO: GPS Element Parsed {"raw_longitude":750041408,"raw_latitude":125126144,"longitude_deg":75.0041408,"latitude_deg":12.5126144,"altitude":50,"angle":274,"satellites":53,"speed":58,"hex_longitude":"2cb4b940","hex_latitude":"07754600","is_valid_coordinates":true} 
[2026-09-04 14:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859163648001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398022161282891776,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5419378432066260992,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788512361000,"timestamp_ms":1788512361000,"timestamp_seconds":1788512361,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba4da28"} 
[2026-09-04 14:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-04 14:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859163648001,"66":27767,"145":206,"85":36608,"24":58,"16":398022161282891776,"44":-5419378432066260992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-04 14:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859163648001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:31:05] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-04 14:31:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398022161282891776,"km_value":398022161282891.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:31:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5419378432066260992,"description":"Unknown IO ID 44"} 
[2026-09-04 14:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859163648001,"power":27767,"unknown_145":206,"unknown_85":36608,"ignition":58,"odometer":null,"unknown_44":-5419378432066260992}} 
[2026-09-04 14:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":173431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:31:05] local.INFO: GPS data processed {"connection_id":173431,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:31:05] local.INFO: Acknowledgment sent {"connection_id":173431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:31:10] local.INFO: TCP Data received {"connection_id":173431,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba4e9c8012cb4a2c007754ac00031012133..."} 
[2026-09-04 14:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba4e9c8012cb4a2c007754ac00031012133..."} 
[2026-09-04 14:31:10] local.INFO: Processing buffer {"connection_id":173431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba4e9c8012cb4a2c007754ac00031012133..."} 
[2026-09-04 14:31:10] local.INFO: Packet analysis {"connection_id":173431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba4"} 
[2026-09-04 14:31:10] local.INFO: Extracted packet for processing {"connection_id":173431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba4"} 
[2026-09-04 14:31:10] local.INFO: GPS Element Parsed {"raw_longitude":750035648,"raw_latitude":125127360,"longitude_deg":75.0035648,"latitude_deg":12.512736,"altitude":49,"angle":289,"satellites":51,"speed":57,"hex_longitude":"2cb4a2c0","hex_latitude":"07754ac0","is_valid_coordinates":true} 
[2026-09-04 14:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859164416001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398022444750733312,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5424233875414581248,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788512365000,"timestamp_ms":1788512365000,"timestamp_seconds":1788512365,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba4e9c8"} 
[2026-09-04 14:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 14:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859164416001,"66":27767,"223":206,"85":36608,"24":57,"16":398022444750733312,"44":-5424233875414581248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,44]} 
[2026-09-04 14:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859164416001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:31:10] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-04 14:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398022444750733312,"km_value":398022444750733.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5424233875414581248,"description":"Unknown IO ID 44"} 
[2026-09-04 14:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859164416001,"power":27767,"unknown_223":206,"unknown_85":36608,"ignition":57,"odometer":null,"unknown_44":-5424233875414581248}} 
[2026-09-04 14:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":173431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:31:10] local.INFO: GPS data processed {"connection_id":173431,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:31:10] local.INFO: Acknowledgment sent {"connection_id":173431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:31:24] local.INFO: TCP Data received {"connection_id":170718,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba55340012d196700071fee10003e00592b..."} 
[2026-09-04 14:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba55340012d196700071fee10003e00592b..."} 
[2026-09-04 14:31:24] local.INFO: Processing buffer {"connection_id":170718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba55340012d196700071fee10003e00592b..."} 
[2026-09-04 14:31:24] local.INFO: Packet analysis {"connection_id":170718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba5"} 
[2026-09-04 14:31:24] local.INFO: Extracted packet for processing {"connection_id":170718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba5"} 
[2026-09-04 14:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859166976001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788512392000,"timestamp_ms":1788512392000,"timestamp_seconds":1788512392,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba55340"} 
[2026-09-04 14:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-04 14:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859166976001,"66":12645,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859166976001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:31:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:31:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859166976001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":170718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:31:24] local.INFO: GPS data processed {"connection_id":170718,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:31:24] local.INFO: Acknowledgment sent {"connection_id":170718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:31:27] local.INFO: TCP Data received {"connection_id":172134,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:31:27] local.INFO: Processing buffer {"connection_id":172134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:31:27] local.INFO: Packet analysis {"connection_id":172134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:31:27] local.INFO: Extracted packet for processing {"connection_id":172134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:31:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859050496001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788512217000,"timestamp_ms":1788512217000,"timestamp_seconds":1788512217,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba2a7a8"} 
[2026-09-04 14:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 14:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859050496001,"66":25430,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859050496001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:31:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:31:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859050496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":172134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:31:27] local.INFO: GPS data processed {"connection_id":172134,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:31:27] local.INFO: Acknowledgment sent {"connection_id":172134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:31:41] local.INFO: TCP Data received {"connection_id":173431,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba5ef80012cb3db4007752df8002400d82f..."} 
[2026-09-04 14:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba5ef80012cb3db4007752df8002400d82f..."} 
[2026-09-04 14:31:41] local.INFO: Processing buffer {"connection_id":173431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba5ef80012cb3db4007752df8002400d82f..."} 
[2026-09-04 14:31:41] local.INFO: Packet analysis {"connection_id":173431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba5"} 
[2026-09-04 14:31:41] local.INFO: Extracted packet for processing {"connection_id":173431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba5"} 
[2026-09-04 14:31:41] local.INFO: GPS Element Parsed {"raw_longitude":749984576,"raw_latitude":125119992,"longitude_deg":74.9984576,"latitude_deg":12.5119992,"altitude":36,"angle":216,"satellites":47,"speed":44,"hex_longitude":"2cb3db40","hex_latitude":"07752df8","is_valid_coordinates":true} 
[2026-09-04 14:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859180288001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398025356738560000,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5480247395779581952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788512432000,"timestamp_ms":1788512432000,"timestamp_seconds":1788512432,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba5ef80"} 
[2026-09-04 14:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859180288001,"66":27767,"244":206,"85":36608,"24":44,"16":398025356738560000,"44":-5480247395779581952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,44]} 
[2026-09-04 14:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859180288001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:31:41] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-04 14:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398025356738560000,"km_value":398025356738560,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5480247395779581952,"description":"Unknown IO ID 44"} 
[2026-09-04 14:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859180288001,"power":27767,"unknown_244":206,"unknown_85":36608,"ignition":44,"odometer":null,"unknown_44":-5480247395779581952}} 
[2026-09-04 14:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":173431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:31:41] local.INFO: GPS data processed {"connection_id":173431,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:31:41] local.INFO: Acknowledgment sent {"connection_id":173431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:31:48] local.INFO: TCP Data received {"connection_id":171025,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:31:48] local.INFO: Processing buffer {"connection_id":171025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:31:48] local.INFO: IMEI packet received {"connection_id":171025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":171025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:31:49] local.INFO: TCP Data received {"connection_id":171026,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:31:49] local.INFO: Processing buffer {"connection_id":171026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:31:49] local.INFO: IMEI packet received {"connection_id":171026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":171026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:31:54] local.INFO: TCP Data received {"connection_id":171025,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:31:54] local.INFO: Processing buffer {"connection_id":171025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:31:54] local.INFO: IMEI packet received {"connection_id":171025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":171025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:31:54] local.INFO: TCP Data received {"connection_id":171026,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:31:54] local.INFO: Processing buffer {"connection_id":171026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:31:54] local.INFO: IMEI packet received {"connection_id":171026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":171026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:31:55] local.INFO: TCP Data received {"connection_id":171025,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba5a548012d196700071fee10003e005928..."} 
[2026-09-04 14:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba5a548012d196700071fee10003e005928..."} 
[2026-09-04 14:31:55] local.INFO: Processing buffer {"connection_id":171025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba5a548012d196700071fee10003e005928..."} 
[2026-09-04 14:31:55] local.INFO: Packet analysis {"connection_id":171025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba5"} 
[2026-09-04 14:31:55] local.INFO: Extracted packet for processing {"connection_id":171025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba5"} 
[2026-09-04 14:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859172352001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512413000,"timestamp_ms":1788512413000,"timestamp_seconds":1788512413,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba5a548"} 
[2026-09-04 14:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-04 14:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859172352001,"66":12678,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859172352001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:31:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859172352001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":171025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:31:55] local.INFO: GPS data processed {"connection_id":171025,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:31:55] local.INFO: Acknowledgment sent {"connection_id":171025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:31:55] local.INFO: TCP Data received {"connection_id":171026,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:31:55] local.INFO: Processing buffer {"connection_id":171026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:31:55] local.INFO: Packet analysis {"connection_id":171026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:31:55] local.INFO: Extracted packet for processing {"connection_id":171026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:31:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859050496001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512217000,"timestamp_ms":1788512217000,"timestamp_seconds":1788512217,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba2a7a8"} 
[2026-09-04 14:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 14:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859050496001,"66":25430,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859050496001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:31:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859050496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":171026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762895,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:31:55] local.INFO: GPS data processed {"connection_id":171026,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:31:55] local.INFO: Acknowledgment sent {"connection_id":171026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:31:59] local.INFO: TCP Data received {"connection_id":171027,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:31:59] local.INFO: Processing buffer {"connection_id":171027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:31:59] local.INFO: IMEI packet received {"connection_id":171027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":171027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:32:00] local.INFO: TCP Data received {"connection_id":171027,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:32:00] local.INFO: Processing buffer {"connection_id":171027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:32:00] local.INFO: IMEI packet received {"connection_id":171027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":171027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:32:05] local.INFO: TCP Data received {"connection_id":171027,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:32:05] local.INFO: Processing buffer {"connection_id":171027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:32:05] local.INFO: IMEI packet received {"connection_id":171027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":171027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:32:06] local.INFO: TCP Data received {"connection_id":171027,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba61690012cb3c64007751220002000d830..."} 
[2026-09-04 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba61690012cb3c64007751220002000d830..."} 
[2026-09-04 14:32:06] local.INFO: Processing buffer {"connection_id":171027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba61690012cb3c64007751220002000d830..."} 
[2026-09-04 14:32:06] local.INFO: Packet analysis {"connection_id":171027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba6"} 
[2026-09-04 14:32:06] local.INFO: Extracted packet for processing {"connection_id":171027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba6"} 
[2026-09-04 14:32:06] local.INFO: GPS Element Parsed {"raw_longitude":749979200,"raw_latitude":125112864,"longitude_deg":74.99792,"latitude_deg":12.5112864,"altitude":32,"angle":216,"satellites":48,"speed":21,"hex_longitude":"2cb3c640","hex_latitude":"07751220","is_valid_coordinates":true} 
[2026-09-04 14:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859182592001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398025786235289600,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5486721320245921792,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788512442000,"timestamp_ms":1788512442000,"timestamp_seconds":1788512442,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba61690"} 
[2026-09-04 14:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 14:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859182592001,"66":27876,"244":206,"85":36608,"24":21,"16":398025786235289600,"44":-5486721320245921792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,44]} 
[2026-09-04 14:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859182592001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:32:06] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-04 14:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398025786235289600,"km_value":398025786235289.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:32:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5486721320245921792,"description":"Unknown IO ID 44"} 
[2026-09-04 14:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859182592001,"power":27876,"unknown_244":206,"unknown_85":36608,"ignition":21,"odometer":null,"unknown_44":-5486721320245921792}} 
[2026-09-04 14:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":171027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:32:06] local.INFO: GPS data processed {"connection_id":171027,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:32:06] local.INFO: Acknowledgment sent {"connection_id":171027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:32:27] local.INFO: TCP Data received {"connection_id":171025,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba5f750012d196700071fee10003e00592c..."} 
[2026-09-04 14:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba5f750012d196700071fee10003e00592c..."} 
[2026-09-04 14:32:27] local.INFO: Processing buffer {"connection_id":171025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba5f750012d196700071fee10003e00592c..."} 
[2026-09-04 14:32:27] local.INFO: Packet analysis {"connection_id":171025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba5"} 
[2026-09-04 14:32:27] local.INFO: Extracted packet for processing {"connection_id":171025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba5"} 
[2026-09-04 14:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859177728001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788512434000,"timestamp_ms":1788512434000,"timestamp_seconds":1788512434,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba5f750"} 
[2026-09-04 14:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-04 14:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859177728001,"66":12341,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859177728001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:32:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:32:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859177728001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":171025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:32:27] local.INFO: GPS data processed {"connection_id":171025,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:32:27] local.INFO: Acknowledgment sent {"connection_id":171025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:32:27] local.INFO: TCP Data received {"connection_id":171026,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:32:27] local.INFO: Processing buffer {"connection_id":171026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba2a7a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:32:27] local.INFO: Packet analysis {"connection_id":171026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:32:27] local.INFO: Extracted packet for processing {"connection_id":171026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba2"} 
[2026-09-04 14:32:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859050496001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788512217000,"timestamp_ms":1788512217000,"timestamp_seconds":1788512217,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba2a7a8"} 
[2026-09-04 14:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 14:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859050496001,"66":25430,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859050496001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:32:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:32:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859050496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":171026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762898,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:32:27] local.INFO: GPS data processed {"connection_id":171026,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:32:27] local.INFO: Acknowledgment sent {"connection_id":171026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:32:40] local.INFO: TCP Data received {"connection_id":171027,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba65ce0012cb3af400774f4c8001f00da2d..."} 
[2026-09-04 14:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba65ce0012cb3af400774f4c8001f00da2d..."} 
[2026-09-04 14:32:40] local.INFO: Processing buffer {"connection_id":171027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba65ce0012cb3af400774f4c8001f00da2d..."} 
[2026-09-04 14:32:40] local.INFO: Packet analysis {"connection_id":171027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba6"} 
[2026-09-04 14:32:40] local.INFO: Extracted packet for processing {"connection_id":171027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba6"} 
[2026-09-04 14:32:40] local.INFO: GPS Element Parsed {"raw_longitude":749973312,"raw_latitude":125105352,"longitude_deg":74.9973312,"latitude_deg":12.5105352,"altitude":31,"angle":218,"satellites":45,"speed":37,"hex_longitude":"2cb3af40","hex_latitude":"0774f4c8","is_valid_coordinates":true} 
[2026-09-04 14:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859185152001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398026245796790272,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5492632294758670336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788512460000,"timestamp_ms":1788512460000,"timestamp_seconds":1788512460,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba65ce0"} 
[2026-09-04 14:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 14:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859185152001,"66":27919,"244":206,"85":36608,"24":37,"16":398026245796790272,"44":-5492632294758670336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,44]} 
[2026-09-04 14:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859185152001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:32:40] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-04 14:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398026245796790272,"km_value":398026245796790.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:32:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5492632294758670336,"description":"Unknown IO ID 44"} 
[2026-09-04 14:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859185152001,"power":27919,"unknown_244":206,"unknown_85":36608,"ignition":37,"odometer":null,"unknown_44":-5492632294758670336}} 
[2026-09-04 14:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":171027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:32:40] local.INFO: GPS data processed {"connection_id":171027,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:32:40] local.INFO: Acknowledgment sent {"connection_id":171027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:32:53] local.INFO: TCP Data received {"connection_id":173432,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:32:53] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:32:53] local.INFO: IMEI packet received {"connection_id":173432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":173432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:32:54] local.INFO: TCP Data received {"connection_id":170719,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:32:54] local.INFO: Processing buffer {"connection_id":170719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:32:54] local.INFO: IMEI packet received {"connection_id":170719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":170719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:32:58] local.INFO: TCP Data received {"connection_id":173432,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:32:58] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:32:58] local.INFO: IMEI packet received {"connection_id":173432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":173432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:32:59] local.INFO: TCP Data received {"connection_id":173432,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba64958012d196700071fee10003e005927..."} 
[2026-09-04 14:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba64958012d196700071fee10003e005927..."} 
[2026-09-04 14:32:59] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba64958012d196700071fee10003e005927..."} 
[2026-09-04 14:32:59] local.INFO: Packet analysis {"connection_id":173432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba6"} 
[2026-09-04 14:32:59] local.INFO: Extracted packet for processing {"connection_id":173432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba6"} 
[2026-09-04 14:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859183104001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788512455000,"timestamp_ms":1788512455000,"timestamp_seconds":1788512455,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba64958"} 
[2026-09-04 14:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 14:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859183104001,"66":12689,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859183104001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:32:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859183104001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":173432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:32:59] local.INFO: GPS data processed {"connection_id":173432,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:32:59] local.INFO: Acknowledgment sent {"connection_id":173432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:32:59] local.INFO: TCP Data received {"connection_id":170719,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:32:59] local.INFO: Processing buffer {"connection_id":170719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:32:59] local.INFO: IMEI packet received {"connection_id":170719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":170719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:32:59] local.INFO: TCP Data received {"connection_id":172135,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:32:59] local.INFO: Processing buffer {"connection_id":172135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:32:59] local.INFO: IMEI packet received {"connection_id":172135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":172135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:33:00] local.INFO: TCP Data received {"connection_id":170719,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:33:00] local.INFO: Processing buffer {"connection_id":170719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:33:00] local.INFO: Packet analysis {"connection_id":170719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:33:00] local.INFO: Extracted packet for processing {"connection_id":170719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:33:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859127552001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788512518000,"timestamp_ms":1788512518000,"timestamp_seconds":1788512518,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba73f70"} 
[2026-09-04 14:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 14:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859127552001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859127552001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:33:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859127552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":170719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762901,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:33:00] local.INFO: GPS data processed {"connection_id":170719,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:33:00] local.INFO: Acknowledgment sent {"connection_id":170719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:33:00] local.INFO: TCP Data received {"connection_id":173432,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba69b60012d196700071fee10003e005929..."} 
[2026-09-04 14:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba69b60012d196700071fee10003e005929..."} 
[2026-09-04 14:33:00] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba69b60012d196700071fee10003e005929..."} 
[2026-09-04 14:33:00] local.INFO: Packet analysis {"connection_id":173432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba6"} 
[2026-09-04 14:33:00] local.INFO: Extracted packet for processing {"connection_id":173432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba6"} 
[2026-09-04 14:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859188480001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788512476000,"timestamp_ms":1788512476000,"timestamp_seconds":1788512476,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba69b60"} 
[2026-09-04 14:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 14:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859188480001,"66":12613,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859188480001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:33:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859188480001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":173432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:33:00] local.INFO: GPS data processed {"connection_id":173432,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:33:00] local.INFO: Acknowledgment sent {"connection_id":173432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:33:01] local.INFO: TCP Data received {"connection_id":172135,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:33:01] local.INFO: Processing buffer {"connection_id":172135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:33:01] local.INFO: IMEI packet received {"connection_id":172135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":172135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:33:04] local.INFO: TCP Data received {"connection_id":172135,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:33:04] local.INFO: Processing buffer {"connection_id":172135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:33:04] local.INFO: IMEI packet received {"connection_id":172135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":172135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:33:05] local.INFO: TCP Data received {"connection_id":170719,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:33:05] local.INFO: Processing buffer {"connection_id":170719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:33:05] local.INFO: Packet analysis {"connection_id":170719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:33:05] local.INFO: Extracted packet for processing {"connection_id":170719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:33:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859127552001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788512518000,"timestamp_ms":1788512518000,"timestamp_seconds":1788512518,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba73f70"} 
[2026-09-04 14:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 14:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859127552001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859127552001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:33:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:33:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859127552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":170719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:33:05] local.INFO: GPS data processed {"connection_id":170719,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:33:05] local.INFO: Acknowledgment sent {"connection_id":170719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:33:05] local.INFO: TCP Data received {"connection_id":172135,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba683f0012cb395800774d7f0001c00de30..."} 
[2026-09-04 14:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba683f0012cb395800774d7f0001c00de30..."} 
[2026-09-04 14:33:05] local.INFO: Processing buffer {"connection_id":172135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba683f0012cb395800774d7f0001c00de30..."} 
[2026-09-04 14:33:05] local.INFO: Packet analysis {"connection_id":172135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba6"} 
[2026-09-04 14:33:05] local.INFO: Extracted packet for processing {"connection_id":172135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba6"} 
[2026-09-04 14:33:05] local.INFO: GPS Element Parsed {"raw_longitude":749966720,"raw_latitude":125097968,"longitude_deg":74.996672,"latitude_deg":12.5097968,"altitude":28,"angle":222,"satellites":48,"speed":37,"hex_longitude":"2cb39580","hex_latitude":"0774d7f0","is_valid_coordinates":true} 
[2026-09-04 14:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859189760001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398026718243192832,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5499106219224938496,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788512470000,"timestamp_ms":1788512470000,"timestamp_seconds":1788512470,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba683f0"} 
[2026-09-04 14:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 14:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859189760001,"66":27908,"244":206,"85":36608,"24":37,"16":398026718243192832,"44":-5499106219224938496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,44]} 
[2026-09-04 14:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859189760001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:33:05] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-04 14:33:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398026718243192832,"km_value":398026718243192.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:33:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5499106219224938496,"description":"Unknown IO ID 44"} 
[2026-09-04 14:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859189760001,"power":27908,"unknown_244":206,"unknown_85":36608,"ignition":37,"odometer":null,"unknown_44":-5499106219224938496}} 
[2026-09-04 14:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":172135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:33:05] local.INFO: GPS data processed {"connection_id":172135,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:33:05] local.INFO: Acknowledgment sent {"connection_id":172135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:33:32] local.INFO: TCP Data received {"connection_id":173432,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba6ed68012d196700071fee10003e00592a..."} 
[2026-09-04 14:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba6ed68012d196700071fee10003e00592a..."} 
[2026-09-04 14:33:32] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba6ed68012d196700071fee10003e00592a..."} 
[2026-09-04 14:33:32] local.INFO: Packet analysis {"connection_id":173432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba6"} 
[2026-09-04 14:33:32] local.INFO: Extracted packet for processing {"connection_id":173432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba6"} 
[2026-09-04 14:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859193856001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788512497000,"timestamp_ms":1788512497000,"timestamp_seconds":1788512497,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba6ed68"} 
[2026-09-04 14:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-04 14:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859193856001,"66":12613,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859193856001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:33:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859193856001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":173432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:33:32] local.INFO: GPS data processed {"connection_id":173432,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:33:32] local.INFO: Acknowledgment sent {"connection_id":173432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:33:37] local.INFO: TCP Data received {"connection_id":172135,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba7cff8012cb29f0007745fa8001901272a..."} 
[2026-09-04 14:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba7cff8012cb29f0007745fa8001901272a..."} 
[2026-09-04 14:33:37] local.INFO: Processing buffer {"connection_id":172135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba7cff8012cb29f0007745fa8001901272a..."} 
[2026-09-04 14:33:37] local.INFO: Packet analysis {"connection_id":172135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:33:37] local.INFO: Extracted packet for processing {"connection_id":172135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:33:37] local.INFO: GPS Element Parsed {"raw_longitude":749903616,"raw_latitude":125067176,"longitude_deg":74.9903616,"latitude_deg":12.5067176,"altitude":25,"angle":295,"satellites":42,"speed":27,"hex_longitude":"2cb29f00","hex_latitude":"07745fa8","is_valid_coordinates":true} 
[2026-09-04 14:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859212032001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398030781282254848,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5566378738669668352,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788512555000,"timestamp_ms":1788512555000,"timestamp_seconds":1788512555,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba7cff8"} 
[2026-09-04 14:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-04 14:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859212032001,"66":27919,"198":206,"85":36608,"24":27,"16":398030781282254848,"44":-5566378738669668352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-09-04 14:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859212032001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:33:37] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-04 14:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398030781282254848,"km_value":398030781282254.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5566378738669668352,"description":"Unknown IO ID 44"} 
[2026-09-04 14:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859212032001,"power":27919,"unknown_198":206,"unknown_85":36608,"ignition":27,"odometer":null,"unknown_44":-5566378738669668352}} 
[2026-09-04 14:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":172135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:33:37] local.INFO: GPS data processed {"connection_id":172135,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:33:37] local.INFO: Acknowledgment sent {"connection_id":172135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:33:48] local.INFO: TCP Data received {"connection_id":171028,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:33:48] local.INFO: Processing buffer {"connection_id":171028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:33:48] local.INFO: IMEI packet received {"connection_id":171028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":171028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:33:49] local.INFO: TCP Data received {"connection_id":171029,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:33:49] local.INFO: Processing buffer {"connection_id":171029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:33:49] local.INFO: IMEI packet received {"connection_id":171029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":171029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:33:53] local.INFO: TCP Data received {"connection_id":171028,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:33:53] local.INFO: Processing buffer {"connection_id":171028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:33:53] local.INFO: IMEI packet received {"connection_id":171028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":171028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:33:54] local.INFO: TCP Data received {"connection_id":171029,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:33:54] local.INFO: Processing buffer {"connection_id":171029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:33:54] local.INFO: IMEI packet received {"connection_id":171029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":171029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:33:54] local.INFO: TCP Data received {"connection_id":171029,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:33:54] local.INFO: Processing buffer {"connection_id":171029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:33:54] local.INFO: Packet analysis {"connection_id":171029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:33:54] local.INFO: Extracted packet for processing {"connection_id":171029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:33:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859127552001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788512518000,"timestamp_ms":1788512518000,"timestamp_seconds":1788512518,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba73f70"} 
[2026-09-04 14:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 14:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859127552001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859127552001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:33:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:33:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859127552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":171029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762907,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:33:55] local.INFO: GPS data processed {"connection_id":171029,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:33:55] local.INFO: Acknowledgment sent {"connection_id":171029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:33:55] local.INFO: TCP Data received {"connection_id":171028,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba73f70012d196700071fee10003e00592a..."} 
[2026-09-04 14:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba73f70012d196700071fee10003e00592a..."} 
[2026-09-04 14:33:55] local.INFO: Processing buffer {"connection_id":171028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba73f70012d196700071fee10003e00592a..."} 
[2026-09-04 14:33:55] local.INFO: Packet analysis {"connection_id":171028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:33:55] local.INFO: Extracted packet for processing {"connection_id":171028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:33:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859199232001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512518000,"timestamp_ms":1788512518000,"timestamp_seconds":1788512518,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba73f70"} 
[2026-09-04 14:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-04 14:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859199232001,"66":12319,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859199232001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:33:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859199232001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":171028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:33:55] local.INFO: GPS data processed {"connection_id":171028,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:33:55] local.INFO: Acknowledgment sent {"connection_id":171028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:33:59] local.INFO: TCP Data received {"connection_id":170720,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:33:59] local.INFO: Processing buffer {"connection_id":170720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:33:59] local.INFO: IMEI packet received {"connection_id":170720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":170720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:34:04] local.INFO: TCP Data received {"connection_id":170720,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:34:04] local.INFO: Processing buffer {"connection_id":170720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:34:04] local.INFO: IMEI packet received {"connection_id":170720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":170720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:34:05] local.INFO: TCP Data received {"connection_id":170720,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba7fed8012cb27dc007746fe80016012626..."} 
[2026-09-04 14:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba7fed8012cb27dc007746fe80016012626..."} 
[2026-09-04 14:34:05] local.INFO: Processing buffer {"connection_id":170720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba7fed8012cb27dc007746fe80016012626..."} 
[2026-09-04 14:34:05] local.INFO: Packet analysis {"connection_id":170720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:34:05] local.INFO: Extracted packet for processing {"connection_id":170720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:34:05] local.INFO: GPS Element Parsed {"raw_longitude":749895104,"raw_latitude":125071336,"longitude_deg":74.9895104,"latitude_deg":12.5071336,"altitude":22,"angle":294,"satellites":38,"speed":36,"hex_longitude":"2cb27dc0","hex_latitude":"07746fe8","is_valid_coordinates":true} 
[2026-09-04 14:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859214080001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398031232253820928,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575737781644187648,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788512567000,"timestamp_ms":1788512567000,"timestamp_seconds":1788512567,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba7fed8"} 
[2026-09-04 14:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 14:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859214080001,"66":27865,"198":206,"85":36608,"24":36,"16":398031232253820928,"44":-5575737781644187648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-09-04 14:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859214080001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:34:05] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-04 14:34:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398031232253820928,"km_value":398031232253820.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:34:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575737781644187648,"description":"Unknown IO ID 44"} 
[2026-09-04 14:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859214080001,"power":27865,"unknown_198":206,"unknown_85":36608,"ignition":36,"odometer":null,"unknown_44":-5575737781644187648}} 
[2026-09-04 14:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":170720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:34:05] local.INFO: GPS data processed {"connection_id":170720,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:34:05] local.INFO: Acknowledgment sent {"connection_id":170720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:34:26] local.INFO: TCP Data received {"connection_id":171029,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:34:26] local.INFO: Processing buffer {"connection_id":171029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:34:26] local.INFO: Packet analysis {"connection_id":171029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:34:26] local.INFO: Extracted packet for processing {"connection_id":171029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:34:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859127552001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788512518000,"timestamp_ms":1788512518000,"timestamp_seconds":1788512518,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba73f70"} 
[2026-09-04 14:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 14:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859127552001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859127552001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:34:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:34:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859127552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":171029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762910,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:34:26] local.INFO: GPS data processed {"connection_id":171029,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:34:26] local.INFO: Acknowledgment sent {"connection_id":171029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:34:27] local.INFO: TCP Data received {"connection_id":171028,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba79178012d196700071fee10003e00592a..."} 
[2026-09-04 14:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba79178012d196700071fee10003e00592a..."} 
[2026-09-04 14:34:27] local.INFO: Processing buffer {"connection_id":171028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba79178012d196700071fee10003e00592a..."} 
[2026-09-04 14:34:27] local.INFO: Packet analysis {"connection_id":171028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:34:27] local.INFO: Extracted packet for processing {"connection_id":171028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859204608001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788512539000,"timestamp_ms":1788512539000,"timestamp_seconds":1788512539,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba79178"} 
[2026-09-04 14:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859204608001,"66":12667,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859204608001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:34:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859204608001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":171028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:34:27] local.INFO: GPS data processed {"connection_id":171028,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:34:27] local.INFO: Acknowledgment sent {"connection_id":171028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:34:36] local.INFO: TCP Data received {"connection_id":170720,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba825e8012cb25b8007747f480018012929..."} 
[2026-09-04 14:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba825e8012cb25b8007747f480018012929..."} 
[2026-09-04 14:34:36] local.INFO: Processing buffer {"connection_id":170720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba825e8012cb25b8007747f480018012929..."} 
[2026-09-04 14:34:36] local.INFO: Packet analysis {"connection_id":170720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:34:36] local.INFO: Extracted packet for processing {"connection_id":170720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:34:36] local.INFO: GPS Element Parsed {"raw_longitude":749886336,"raw_latitude":125075272,"longitude_deg":74.9886336,"latitude_deg":12.5075272,"altitude":24,"angle":297,"satellites":41,"speed":34,"hex_longitude":"2cb25b80","hex_latitude":"07747f48","is_valid_coordinates":true} 
[2026-09-04 14:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859217152001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398031691815321600,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5585096824618752000,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788512577000,"timestamp_ms":1788512577000,"timestamp_seconds":1788512577,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba825e8"} 
[2026-09-04 14:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 14:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859217152001,"66":27821,"198":206,"85":36608,"24":34,"16":398031691815321600,"44":-5585096824618752000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-09-04 14:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859217152001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:34:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-04 14:34:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398031691815321600,"km_value":398031691815321.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:34:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5585096824618752000,"description":"Unknown IO ID 44"} 
[2026-09-04 14:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859217152001,"power":27821,"unknown_198":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-5585096824618752000}} 
[2026-09-04 14:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":170720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:34:36] local.INFO: GPS data processed {"connection_id":170720,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:34:36] local.INFO: Acknowledgment sent {"connection_id":170720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:34:49] local.INFO: TCP Data received {"connection_id":173433,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:34:49] local.INFO: Processing buffer {"connection_id":173433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:34:49] local.INFO: IMEI packet received {"connection_id":173433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":173433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:34:49] local.INFO: TCP Data received {"connection_id":172136,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:34:49] local.INFO: Processing buffer {"connection_id":172136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:34:49] local.INFO: IMEI packet received {"connection_id":172136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":172136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:34:53] local.INFO: TCP Data received {"connection_id":173433,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:34:53] local.INFO: Processing buffer {"connection_id":173433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:34:53] local.INFO: IMEI packet received {"connection_id":173433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":173433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:34:54] local.INFO: TCP Data received {"connection_id":172136,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:34:54] local.INFO: Processing buffer {"connection_id":172136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:34:54] local.INFO: IMEI packet received {"connection_id":172136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":172136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:34:55] local.INFO: TCP Data received {"connection_id":173433,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba7e380012d196700071fee10003e00592a..."} 
[2026-09-04 14:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba7e380012d196700071fee10003e00592a..."} 
[2026-09-04 14:34:55] local.INFO: Processing buffer {"connection_id":173433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba7e380012d196700071fee10003e00592a..."} 
[2026-09-04 14:34:55] local.INFO: Packet analysis {"connection_id":173433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:34:55] local.INFO: Extracted packet for processing {"connection_id":173433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:34:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859209984001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512560000,"timestamp_ms":1788512560000,"timestamp_seconds":1788512560,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba7e380"} 
[2026-09-04 14:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-04 14:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859209984001,"66":12645,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859209984001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:34:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859209984001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":173433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:34:55] local.INFO: GPS data processed {"connection_id":173433,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:34:55] local.INFO: Acknowledgment sent {"connection_id":173433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:34:55] local.INFO: TCP Data received {"connection_id":172136,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:34:55] local.INFO: Processing buffer {"connection_id":172136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:34:55] local.INFO: Packet analysis {"connection_id":172136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:34:55] local.INFO: Extracted packet for processing {"connection_id":172136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:34:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859127552001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512518000,"timestamp_ms":1788512518000,"timestamp_seconds":1788512518,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba73f70"} 
[2026-09-04 14:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 14:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859127552001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859127552001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:34:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859127552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":172136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762914,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:34:55] local.INFO: GPS data processed {"connection_id":172136,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:34:55] local.INFO: Acknowledgment sent {"connection_id":172136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:35:04] local.INFO: TCP Data received {"connection_id":173434,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:35:04] local.INFO: Processing buffer {"connection_id":173434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:35:04] local.INFO: IMEI packet received {"connection_id":173434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":173434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:35:07] local.INFO: TCP Data received {"connection_id":173434,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:35:07] local.INFO: Processing buffer {"connection_id":173434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:35:07] local.INFO: IMEI packet received {"connection_id":173434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":173434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:35:08] local.INFO: TCP Data received {"connection_id":173434,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba84cf8012cb24a40077489880018013e28..."} 
[2026-09-04 14:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba84cf8012cb24a40077489880018013e28..."} 
[2026-09-04 14:35:08] local.INFO: Processing buffer {"connection_id":173434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba84cf8012cb24a40077489880018013e28..."} 
[2026-09-04 14:35:08] local.INFO: Packet analysis {"connection_id":173434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:35:08] local.INFO: Extracted packet for processing {"connection_id":173434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:35:08] local.INFO: GPS Element Parsed {"raw_longitude":749881920,"raw_latitude":125077896,"longitude_deg":74.988192,"latitude_deg":12.5077896,"altitude":24,"angle":318,"satellites":40,"speed":10,"hex_longitude":"2cb24a40","hex_latitude":"07748988","is_valid_coordinates":true} 
[2026-09-04 14:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859219712001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398031936628457472,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5594737342570084352,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788512587000,"timestamp_ms":1788512587000,"timestamp_seconds":1788512587,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba84cf8"} 
[2026-09-04 14:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859219712001,"66":27843,"230":206,"85":36608,"24":10,"16":398031936628457472,"44":-5594737342570084352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,85,24,16,44]} 
[2026-09-04 14:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859219712001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:35:08] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-04 14:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398031936628457472,"km_value":398031936628457.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:35:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5594737342570084352,"description":"Unknown IO ID 44"} 
[2026-09-04 14:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859219712001,"power":27843,"unknown_230":206,"unknown_85":36608,"ignition":10,"odometer":null,"unknown_44":-5594737342570084352}} 
[2026-09-04 14:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":173434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:35:08] local.INFO: GPS data processed {"connection_id":173434,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:35:08] local.INFO: Acknowledgment sent {"connection_id":173434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:35:09] local.INFO: TCP Data received {"connection_id":173434,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba854c8012cb2494007748af00017014b28..."} 
[2026-09-04 14:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba854c8012cb2494007748af00017014b28..."} 
[2026-09-04 14:35:09] local.INFO: Processing buffer {"connection_id":173434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba854c8012cb2494007748af00017014b28..."} 
[2026-09-04 14:35:09] local.INFO: Packet analysis {"connection_id":173434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:35:09] local.INFO: Extracted packet for processing {"connection_id":173434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:35:09] local.INFO: GPS Element Parsed {"raw_longitude":749881664,"raw_latitude":125078256,"longitude_deg":74.9881664,"latitude_deg":12.5078256,"altitude":23,"angle":331,"satellites":40,"speed":6,"hex_longitude":"2cb24940","hex_latitude":"07748af0","is_valid_coordinates":true} 
[2026-09-04 14:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859222272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398031958103293952,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599592785917671424,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788512589000,"timestamp_ms":1788512589000,"timestamp_seconds":1788512589,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba854c8"} 
[2026-09-04 14:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 14:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859222272001,"66":27919,"230":206,"85":36608,"24":6,"16":398031958103293952,"44":-5599592785917671424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,85,24,16,44]} 
[2026-09-04 14:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859222272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:35:09] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-04 14:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398031958103293952,"km_value":398031958103293.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:35:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599592785917671424,"description":"Unknown IO ID 44"} 
[2026-09-04 14:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859222272001,"power":27919,"unknown_230":206,"unknown_85":36608,"ignition":6,"odometer":null,"unknown_44":-5599592785917671424}} 
[2026-09-04 14:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":173434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:35:09] local.INFO: GPS data processed {"connection_id":173434,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:35:09] local.INFO: Acknowledgment sent {"connection_id":173434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:35:26] local.INFO: TCP Data received {"connection_id":173433,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba83588012d196700071fee10003e005928..."} 
[2026-09-04 14:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba83588012d196700071fee10003e005928..."} 
[2026-09-04 14:35:26] local.INFO: Processing buffer {"connection_id":173433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba83588012d196700071fee10003e005928..."} 
[2026-09-04 14:35:26] local.INFO: Packet analysis {"connection_id":173433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:35:26] local.INFO: Extracted packet for processing {"connection_id":173433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:35:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859215360001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788512581000,"timestamp_ms":1788512581000,"timestamp_seconds":1788512581,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba83588"} 
[2026-09-04 14:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-04 14:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859215360001,"66":12558,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859215360001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:35:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:35:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859215360001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":173433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:35:26] local.INFO: GPS data processed {"connection_id":173433,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:35:26] local.INFO: Acknowledgment sent {"connection_id":173433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:35:26] local.INFO: TCP Data received {"connection_id":172136,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:35:26] local.INFO: Processing buffer {"connection_id":172136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:35:26] local.INFO: Packet analysis {"connection_id":172136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:35:26] local.INFO: Extracted packet for processing {"connection_id":172136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:35:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859127552001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788512518000,"timestamp_ms":1788512518000,"timestamp_seconds":1788512518,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba73f70"} 
[2026-09-04 14:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 14:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859127552001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859127552001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:35:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:35:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859127552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":172136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:35:26] local.INFO: GPS data processed {"connection_id":172136,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:35:26] local.INFO: Acknowledgment sent {"connection_id":172136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:35:40] local.INFO: TCP Data received {"connection_id":173434,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba85c98012cb2490007748c480016015b2c..."} 
[2026-09-04 14:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba85c98012cb2490007748c480016015b2c..."} 
[2026-09-04 14:35:40] local.INFO: Processing buffer {"connection_id":173434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba85c98012cb2490007748c480016015b2c..."} 
[2026-09-04 14:35:40] local.INFO: Packet analysis {"connection_id":173434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:35:40] local.INFO: Extracted packet for processing {"connection_id":173434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:35:40] local.INFO: GPS Element Parsed {"raw_longitude":749881600,"raw_latitude":125078600,"longitude_deg":74.98816,"latitude_deg":12.50786,"altitude":22,"angle":347,"satellites":44,"speed":8,"hex_longitude":"2cb24900","hex_latitude":"07748c48","is_valid_coordinates":true} 
[2026-09-04 14:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859222784001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398031975283163136,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599874260894289920,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788512591000,"timestamp_ms":1788512591000,"timestamp_seconds":1788512591,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba85c98"} 
[2026-09-04 14:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 14:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859222784001,"66":27767,"230":206,"85":36608,"24":8,"16":398031975283163136,"44":-5599874260894289920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,85,24,16,44]} 
[2026-09-04 14:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859222784001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:35:40] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-04 14:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398031975283163136,"km_value":398031975283163.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:35:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599874260894289920,"description":"Unknown IO ID 44"} 
[2026-09-04 14:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859222784001,"power":27767,"unknown_230":206,"unknown_85":36608,"ignition":8,"odometer":null,"unknown_44":-5599874260894289920}} 
[2026-09-04 14:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":173434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:35:40] local.INFO: GPS data processed {"connection_id":173434,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:35:40] local.INFO: Acknowledgment sent {"connection_id":173434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:35:48] local.INFO: TCP Data received {"connection_id":171030,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:35:48] local.INFO: Processing buffer {"connection_id":171030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:35:48] local.INFO: IMEI packet received {"connection_id":171030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":171030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:35:49] local.INFO: TCP Data received {"connection_id":172137,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:35:49] local.INFO: Processing buffer {"connection_id":172137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:35:49] local.INFO: IMEI packet received {"connection_id":172137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":172137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:35:53] local.INFO: TCP Data received {"connection_id":171030,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:35:53] local.INFO: Processing buffer {"connection_id":171030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:35:53] local.INFO: IMEI packet received {"connection_id":171030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":171030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:35:54] local.INFO: TCP Data received {"connection_id":171030,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba88790012d196700071fee10003e00592a..."} 
[2026-09-04 14:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba88790012d196700071fee10003e00592a..."} 
[2026-09-04 14:35:54] local.INFO: Processing buffer {"connection_id":171030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba88790012d196700071fee10003e00592a..."} 
[2026-09-04 14:35:54] local.INFO: Packet analysis {"connection_id":171030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:35:54] local.INFO: Extracted packet for processing {"connection_id":171030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:35:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859220736001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788512602000,"timestamp_ms":1788512602000,"timestamp_seconds":1788512602,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba88790"} 
[2026-09-04 14:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 14:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:54] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741855941717520,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:54] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026046,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:54] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2800576513,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 14:35:54] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:54] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:54] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:54] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,102,160,227,45,238,62,42,10,66,145,63,1,240,31,107,4,113,205,155,103,41,239,49,2,61,7,231,81,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 14:35:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467668858685095936,"timestamp_seconds":4467668858685096.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 14:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859220736001,"66":12591,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859220736001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:35:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:35:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859220736001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:35:54] local.INFO: TCP Data received {"connection_id":172137,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:35:54] local.INFO: Processing buffer {"connection_id":172137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:35:54] local.INFO: IMEI packet received {"connection_id":172137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":172137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":171030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:35:54] local.INFO: GPS data processed {"connection_id":171030,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:35:54] local.INFO: Acknowledgment sent {"connection_id":171030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:35:55] local.INFO: TCP Data received {"connection_id":172137,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:35:55] local.INFO: Processing buffer {"connection_id":172137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:35:55] local.INFO: Packet analysis {"connection_id":172137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:35:55] local.INFO: Extracted packet for processing {"connection_id":172137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859127552001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512518000,"timestamp_ms":1788512518000,"timestamp_seconds":1788512518,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba73f70"} 
[2026-09-04 14:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 14:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859127552001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859127552001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:35:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859127552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":172137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:35:56] local.INFO: GPS data processed {"connection_id":172137,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:35:56] local.INFO: Acknowledgment sent {"connection_id":172137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:35:59] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:35:59] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:35:59] local.INFO: IMEI packet received {"connection_id":173435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":173435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:36:04] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:36:04] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:36:04] local.INFO: IMEI packet received {"connection_id":173435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":173435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:36:05] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba86080012cb2490007748d30001500032e..."} 
[2026-09-04 14:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba86080012cb2490007748d30001500032e..."} 
[2026-09-04 14:36:05] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba86080012cb2490007748d30001500032e..."} 
[2026-09-04 14:36:05] local.INFO: Packet analysis {"connection_id":173435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:36:05] local.INFO: Extracted packet for processing {"connection_id":173435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:36:05] local.INFO: GPS Element Parsed {"raw_longitude":749881600,"raw_latitude":125078832,"longitude_deg":74.98816,"latitude_deg":12.5078832,"altitude":21,"angle":3,"satellites":46,"speed":9,"hex_longitude":"2cb24900","hex_latitude":"07748d30","is_valid_coordinates":true} 
[2026-09-04 14:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859223296001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398031988168065024,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599944629638379520,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788512592000,"timestamp_ms":1788512592000,"timestamp_seconds":1788512592,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba86080"} 
[2026-09-04 14:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 14:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859223296001,"66":28093,"230":206,"85":36608,"24":9,"16":398031988168065024,"44":-5599944629638379520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,85,24,16,44]} 
[2026-09-04 14:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859223296001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:36:05] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-04 14:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398031988168065024,"km_value":398031988168065.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:36:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599944629638379520,"description":"Unknown IO ID 44"} 
[2026-09-04 14:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859223296001,"power":28093,"unknown_230":206,"unknown_85":36608,"ignition":9,"odometer":null,"unknown_44":-5599944629638379520}} 
[2026-09-04 14:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":173435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:36:05] local.INFO: GPS data processed {"connection_id":173435,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:36:05] local.INFO: Acknowledgment sent {"connection_id":173435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:36:26] local.INFO: TCP Data received {"connection_id":171030,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba8d998012d196700071fee10003e005929..."} 
[2026-09-04 14:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba8d998012d196700071fee10003e005929..."} 
[2026-09-04 14:36:26] local.INFO: Processing buffer {"connection_id":171030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba8d998012d196700071fee10003e005929..."} 
[2026-09-04 14:36:26] local.INFO: Packet analysis {"connection_id":171030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:36:26] local.INFO: Extracted packet for processing {"connection_id":171030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:36:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859226112001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788512623000,"timestamp_ms":1788512623000,"timestamp_seconds":1788512623,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba8d998"} 
[2026-09-04 14:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 14:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859226112001,"66":12613,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859226112001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:36:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:36:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859226112001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":171030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:36:26] local.INFO: GPS data processed {"connection_id":171030,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:36:26] local.INFO: Acknowledgment sent {"connection_id":171030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:36:27] local.INFO: TCP Data received {"connection_id":172137,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:36:27] local.INFO: Processing buffer {"connection_id":172137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:36:27] local.INFO: Packet analysis {"connection_id":172137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:36:27] local.INFO: Extracted packet for processing {"connection_id":172137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:36:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859127552001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788512518000,"timestamp_ms":1788512518000,"timestamp_seconds":1788512518,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba73f70"} 
[2026-09-04 14:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 14:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859127552001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859127552001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:36:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:36:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859127552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":172137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762924,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:36:27] local.INFO: GPS data processed {"connection_id":172137,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:36:27] local.INFO: Acknowledgment sent {"connection_id":172137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:36:36] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba86850012cb24a8007748f780015001e2d..."} 
[2026-09-04 14:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba86850012cb24a8007748f780015001e2d..."} 
[2026-09-04 14:36:36] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba86850012cb24a8007748f780015001e2d..."} 
[2026-09-04 14:36:36] local.INFO: Packet analysis {"connection_id":173435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:36:36] local.INFO: Extracted packet for processing {"connection_id":173435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:36:36] local.INFO: GPS Element Parsed {"raw_longitude":749881984,"raw_latitude":125079416,"longitude_deg":74.9881984,"latitude_deg":12.5079416,"altitude":21,"angle":30,"satellites":45,"speed":10,"hex_longitude":"2cb24a80","hex_latitude":"07748f78","is_valid_coordinates":true} 
[2026-09-04 14:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859223552001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398032022527803392,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599944629638320128,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788512594000,"timestamp_ms":1788512594000,"timestamp_seconds":1788512594,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba86850"} 
[2026-09-04 14:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-04 14:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859223552001,"66":28104,"230":206,"85":36608,"24":10,"16":398032022527803392,"44":-5599944629638320128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,85,24,16,44]} 
[2026-09-04 14:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859223552001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:36:36] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-04 14:36:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398032022527803392,"km_value":398032022527803.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:36:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599944629638320128,"description":"Unknown IO ID 44"} 
[2026-09-04 14:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859223552001,"power":28104,"unknown_230":206,"unknown_85":36608,"ignition":10,"odometer":null,"unknown_44":-5599944629638320128}} 
[2026-09-04 14:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":173435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:36:36] local.INFO: GPS data processed {"connection_id":173435,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:36:36] local.INFO: Acknowledgment sent {"connection_id":173435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:36:48] local.INFO: TCP Data received {"connection_id":173436,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:36:48] local.INFO: Processing buffer {"connection_id":173436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:36:48] local.INFO: IMEI packet received {"connection_id":173436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":173436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:36:49] local.INFO: TCP Data received {"connection_id":173436,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:36:49] local.INFO: Processing buffer {"connection_id":173436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:36:49] local.INFO: IMEI packet received {"connection_id":173436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":173436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:36:54] local.INFO: TCP Data received {"connection_id":173436,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:36:54] local.INFO: Processing buffer {"connection_id":173436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:36:54] local.INFO: IMEI packet received {"connection_id":173436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":173436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:36:54] local.INFO: TCP Data received {"connection_id":171031,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:36:54] local.INFO: Processing buffer {"connection_id":171031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:36:54] local.INFO: IMEI packet received {"connection_id":171031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":171031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:36:55] local.INFO: TCP Data received {"connection_id":173436,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba92ba0012d196700071fee10003e00592a..."} 
[2026-09-04 14:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba92ba0012d196700071fee10003e00592a..."} 
[2026-09-04 14:36:55] local.INFO: Processing buffer {"connection_id":173436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba92ba0012d196700071fee10003e00592a..."} 
[2026-09-04 14:36:55] local.INFO: Packet analysis {"connection_id":173436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba9"} 
[2026-09-04 14:36:55] local.INFO: Extracted packet for processing {"connection_id":173436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba9"} 
[2026-09-04 14:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859231488001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512644000,"timestamp_ms":1788512644000,"timestamp_seconds":1788512644,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba92ba0"} 
[2026-09-04 14:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-04 14:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859231488001,"66":12548,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859231488001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:36:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859231488001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":173436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:36:55] local.INFO: GPS data processed {"connection_id":173436,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:36:55] local.INFO: Acknowledgment sent {"connection_id":173436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:36:59] local.INFO: TCP Data received {"connection_id":171031,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:36:59] local.INFO: Processing buffer {"connection_id":171031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:36:59] local.INFO: IMEI packet received {"connection_id":171031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":171031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:36:59] local.INFO: TCP Data received {"connection_id":172138,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:36:59] local.INFO: Processing buffer {"connection_id":172138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:36:59] local.INFO: IMEI packet received {"connection_id":172138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":172138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:37:00] local.INFO: TCP Data received {"connection_id":171031,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:37:00] local.INFO: Processing buffer {"connection_id":171031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:37:00] local.INFO: Packet analysis {"connection_id":171031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:37:00] local.INFO: Extracted packet for processing {"connection_id":171031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:37:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859127552001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788512518000,"timestamp_ms":1788512518000,"timestamp_seconds":1788512518,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba73f70"} 
[2026-09-04 14:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 14:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859127552001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859127552001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:37:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:37:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859127552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":171031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762927,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:37:00] local.INFO: GPS data processed {"connection_id":171031,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:37:00] local.INFO: Acknowledgment sent {"connection_id":171031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:37:04] local.INFO: TCP Data received {"connection_id":172138,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:37:04] local.INFO: Processing buffer {"connection_id":172138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:37:04] local.INFO: IMEI packet received {"connection_id":172138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":172138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:37:05] local.INFO: TCP Data received {"connection_id":171031,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:37:05] local.INFO: Processing buffer {"connection_id":171031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba73f70012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:37:05] local.INFO: Packet analysis {"connection_id":171031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:37:05] local.INFO: Extracted packet for processing {"connection_id":171031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba7"} 
[2026-09-04 14:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859127552001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788512518000,"timestamp_ms":1788512518000,"timestamp_seconds":1788512518,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba73f70"} 
[2026-09-04 14:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 14:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859127552001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859127552001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:37:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859127552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:37:05] local.INFO: TCP Data received {"connection_id":172138,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba8b288012cb25d800774add8001500212f..."} 
[2026-09-04 14:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba8b288012cb25d800774add8001500212f..."} 
[2026-09-04 14:37:05] local.INFO: Processing buffer {"connection_id":172138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba8b288012cb25d800774add8001500212f..."} 
[2026-09-04 14:37:05] local.INFO: Packet analysis {"connection_id":172138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:37:05] local.INFO: Extracted packet for processing {"connection_id":172138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba8"} 
[2026-09-04 14:37:05] local.INFO: GPS Element Parsed {"raw_longitude":749886848,"raw_latitude":125087192,"longitude_deg":74.9886848,"latitude_deg":12.5087192,"altitude":21,"angle":33,"satellites":47,"speed":23,"hex_longitude":"2cb25d80","hex_latitude":"0774add8","is_valid_coordinates":true} 
[2026-09-04 14:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859224064001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398032464909434880,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599522417173104640,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788512613000,"timestamp_ms":1788512613000,"timestamp_seconds":1788512613,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba8b288"} 
[2026-09-04 14:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 14:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859224064001,"66":27908,"215":206,"85":36608,"24":23,"16":398032464909434880,"44":-5599522417173104640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859224064001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:37:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398032464909434880,"km_value":398032464909434.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:37:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599522417173104640,"description":"Unknown IO ID 44"} 
[2026-09-04 14:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859224064001,"power":27908,"unknown_215":206,"unknown_85":36608,"ignition":23,"odometer":null,"unknown_44":-5599522417173104640}} 
[2026-09-04 14:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":172138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:37:05] local.INFO: GPS data processed {"connection_id":172138,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:37:05] local.INFO: Acknowledgment sent {"connection_id":172138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":171031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762929,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:37:05] local.INFO: GPS data processed {"connection_id":171031,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:37:05] local.INFO: Acknowledgment sent {"connection_id":171031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:37:27] local.INFO: TCP Data received {"connection_id":173436,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba97da8012d196700071fee10003e005929..."} 
[2026-09-04 14:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba97da8012d196700071fee10003e005929..."} 
[2026-09-04 14:37:27] local.INFO: Processing buffer {"connection_id":173436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba97da8012d196700071fee10003e005929..."} 
[2026-09-04 14:37:27] local.INFO: Packet analysis {"connection_id":173436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba9"} 
[2026-09-04 14:37:27] local.INFO: Extracted packet for processing {"connection_id":173436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba9"} 
[2026-09-04 14:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859236864001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788512665000,"timestamp_ms":1788512665000,"timestamp_seconds":1788512665,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba97da8"} 
[2026-09-04 14:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:27] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184182022349,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:27] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2816704513,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:27] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026046,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 14:37:27] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:27] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,102,160,217,45,238,62,41,10,66,135,42,53,1,240,14,107,31,4,113,205,145,103,239,49,2,61,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 14:37:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467668867275030528,"timestamp_seconds":4467668867275030.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 14:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859236864001,"66":12558,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859236864001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:37:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:37:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859236864001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":173436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:37:27] local.INFO: GPS data processed {"connection_id":173436,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:37:27] local.INFO: Acknowledgment sent {"connection_id":173436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:37:36] local.INFO: TCP Data received {"connection_id":172138,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba90490012cb26ec00774ca080018002030..."} 
[2026-09-04 14:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba90490012cb26ec00774ca080018002030..."} 
[2026-09-04 14:37:36] local.INFO: Processing buffer {"connection_id":172138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba90490012cb26ec00774ca080018002030..."} 
[2026-09-04 14:37:36] local.INFO: Packet analysis {"connection_id":172138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba9"} 
[2026-09-04 14:37:36] local.INFO: Extracted packet for processing {"connection_id":172138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba9"} 
[2026-09-04 14:37:36] local.INFO: GPS Element Parsed {"raw_longitude":749891264,"raw_latitude":125094408,"longitude_deg":74.9891264,"latitude_deg":12.5094408,"altitude":24,"angle":32,"satellites":48,"speed":7,"hex_longitude":"2cb26ec0","hex_latitude":"0774ca08","is_valid_coordinates":true} 
[2026-09-04 14:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859228928001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398032872931328000,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5594174392613611520,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788512634000,"timestamp_ms":1788512634000,"timestamp_seconds":1788512634,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba90490"} 
[2026-09-04 14:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859228928001,"66":27800,"215":206,"85":36608,"24":7,"16":398032872931328000,"44":-5594174392613611520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859228928001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:37:36] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398032872931328000,"km_value":398032872931328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:37:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5594174392613611520,"description":"Unknown IO ID 44"} 
[2026-09-04 14:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859228928001,"power":27800,"unknown_215":206,"unknown_85":36608,"ignition":7,"odometer":null,"unknown_44":-5594174392613611520}} 
[2026-09-04 14:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":172138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:37:36] local.INFO: GPS data processed {"connection_id":172138,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:37:36] local.INFO: Acknowledgment sent {"connection_id":172138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:37:49] local.INFO: TCP Data received {"connection_id":171032,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:37:49] local.INFO: Processing buffer {"connection_id":171032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:37:49] local.INFO: IMEI packet received {"connection_id":171032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":171032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:37:52] local.INFO: TCP Data received {"connection_id":173437,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:37:52] local.INFO: Processing buffer {"connection_id":173437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:37:52] local.INFO: IMEI packet received {"connection_id":173437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":173437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:37:53] local.INFO: TCP Data received {"connection_id":173437,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:37:53] local.INFO: Processing buffer {"connection_id":173437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:37:53] local.INFO: IMEI packet received {"connection_id":173437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":173437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:37:54] local.INFO: TCP Data received {"connection_id":171032,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:37:54] local.INFO: Processing buffer {"connection_id":171032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:37:54] local.INFO: IMEI packet received {"connection_id":171032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":171032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:37:55] local.INFO: TCP Data received {"connection_id":171032,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:37:55] local.INFO: Processing buffer {"connection_id":171032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:37:55] local.INFO: Packet analysis {"connection_id":171032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:37:55] local.INFO: Extracted packet for processing {"connection_id":171032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:37:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859204608001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512819000,"timestamp_ms":1788512819000,"timestamp_seconds":1788512819,"priority":1,"record_length":96,"hex_timestamp":"000001a06babd738"} 
[2026-09-04 14:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859204608001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859204608001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:37:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:37:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859204608001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":171032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762932,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:37:55] local.INFO: GPS data processed {"connection_id":171032,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:37:55] local.INFO: Acknowledgment sent {"connection_id":171032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:37:58] local.INFO: TCP Data received {"connection_id":173437,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:37:58] local.INFO: Processing buffer {"connection_id":173437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:37:58] local.INFO: IMEI packet received {"connection_id":173437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":173437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:37:59] local.INFO: TCP Data received {"connection_id":173437,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba9cfb0012d196700071fee10003e005929..."} 
[2026-09-04 14:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba9cfb0012d196700071fee10003e005929..."} 
[2026-09-04 14:37:59] local.INFO: Processing buffer {"connection_id":173437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba9cfb0012d196700071fee10003e005929..."} 
[2026-09-04 14:37:59] local.INFO: Packet analysis {"connection_id":173437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba9"} 
[2026-09-04 14:37:59] local.INFO: Extracted packet for processing {"connection_id":173437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba9"} 
[2026-09-04 14:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859242240001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788512686000,"timestamp_ms":1788512686000,"timestamp_seconds":1788512686,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba9cfb0"} 
[2026-09-04 14:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 14:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:59] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741855941717520,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:59] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2822080513,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026046,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 14:37:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:59] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:59] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:59] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-04 14:37:59] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,102,160,43,45,238,62,42,10,66,217,41,135,1,240,47,107,31,4,113,205,227,103,239,49,2,61,7,231,81,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 14:37:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467668862980063232,"timestamp_seconds":4467668862980063.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 14:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859242240001,"66":12591,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859242240001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:37:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:37:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859242240001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":173437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:37:59] local.INFO: GPS data processed {"connection_id":173437,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:37:59] local.INFO: Acknowledgment sent {"connection_id":173437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:37:59] local.INFO: TCP Data received {"connection_id":173438,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:37:59] local.INFO: Processing buffer {"connection_id":173438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:37:59] local.INFO: IMEI packet received {"connection_id":173438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":173438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:38:04] local.INFO: TCP Data received {"connection_id":173437,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06baa21b8012d196700071fee10003e005929..."} 
[2026-09-04 14:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baa21b8012d196700071fee10003e005929..."} 
[2026-09-04 14:38:04] local.INFO: Processing buffer {"connection_id":173437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baa21b8012d196700071fee10003e005929..."} 
[2026-09-04 14:38:04] local.INFO: Packet analysis {"connection_id":173437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06baa"} 
[2026-09-04 14:38:04] local.INFO: Extracted packet for processing {"connection_id":173437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06baa"} 
[2026-09-04 14:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859247616001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788512707000,"timestamp_ms":1788512707000,"timestamp_seconds":1788512707,"priority":1,"record_length":96,"hex_timestamp":"000001a06baa21b8"} 
[2026-09-04 14:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 14:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859247616001,"66":12548,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859247616001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:38:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859247616001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":173437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:38:04] local.INFO: GPS data processed {"connection_id":173437,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:38:04] local.INFO: Acknowledgment sent {"connection_id":173437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:38:04] local.INFO: TCP Data received {"connection_id":173438,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:38:04] local.INFO: Processing buffer {"connection_id":173438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:38:04] local.INFO: IMEI packet received {"connection_id":173438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":173438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:38:05] local.INFO: TCP Data received {"connection_id":173438,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba952b0012cb281800774e888001b00222c..."} 
[2026-09-04 14:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba952b0012cb281800774e888001b00222c..."} 
[2026-09-04 14:38:05] local.INFO: Processing buffer {"connection_id":173438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba952b0012cb281800774e888001b00222c..."} 
[2026-09-04 14:38:05] local.INFO: Packet analysis {"connection_id":173438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba9"} 
[2026-09-04 14:38:05] local.INFO: Extracted packet for processing {"connection_id":173438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba9"} 
[2026-09-04 14:38:05] local.INFO: GPS Element Parsed {"raw_longitude":749896064,"raw_latitude":125102216,"longitude_deg":74.9896064,"latitude_deg":12.5102216,"altitude":27,"angle":34,"satellites":44,"speed":25,"hex_longitude":"2cb28180","hex_latitude":"0774e888","is_valid_coordinates":true} 
[2026-09-04 14:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859234304001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033315312959488,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5589318949263505408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788512654000,"timestamp_ms":1788512654000,"timestamp_seconds":1788512654,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba952b0"} 
[2026-09-04 14:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 14:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859234304001,"66":27767,"215":206,"85":36608,"24":25,"16":398033315312959488,"44":-5589318949263505408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859234304001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:38:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033315312959488,"km_value":398033315312959.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5589318949263505408,"description":"Unknown IO ID 44"} 
[2026-09-04 14:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859234304001,"power":27767,"unknown_215":206,"unknown_85":36608,"ignition":25,"odometer":null,"unknown_44":-5589318949263505408}} 
[2026-09-04 14:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":173438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:38:05] local.INFO: GPS data processed {"connection_id":173438,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:38:05] local.INFO: Acknowledgment sent {"connection_id":173438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:38:27] local.INFO: TCP Data received {"connection_id":171032,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:38:27] local.INFO: Processing buffer {"connection_id":171032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:38:27] local.INFO: Packet analysis {"connection_id":171032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:38:27] local.INFO: Extracted packet for processing {"connection_id":171032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:38:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859204608001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788512819000,"timestamp_ms":1788512819000,"timestamp_seconds":1788512819,"priority":1,"record_length":96,"hex_timestamp":"000001a06babd738"} 
[2026-09-04 14:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859204608001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859204608001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:38:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:38:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859204608001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":171032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:38:27] local.INFO: GPS data processed {"connection_id":171032,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:38:27] local.INFO: Acknowledgment sent {"connection_id":171032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:38:36] local.INFO: TCP Data received {"connection_id":173438,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba98d48012cb29640077505980020002831..."} 
[2026-09-04 14:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba98d48012cb29640077505980020002831..."} 
[2026-09-04 14:38:36] local.INFO: Processing buffer {"connection_id":173438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba98d48012cb29640077505980020002831..."} 
[2026-09-04 14:38:36] local.INFO: Packet analysis {"connection_id":173438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba9"} 
[2026-09-04 14:38:36] local.INFO: Extracted packet for processing {"connection_id":173438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba9"} 
[2026-09-04 14:38:36] local.INFO: GPS Element Parsed {"raw_longitude":749901376,"raw_latitude":125109656,"longitude_deg":74.9901376,"latitude_deg":12.5109656,"altitude":32,"angle":40,"satellites":49,"speed":19,"hex_longitude":"2cb29640","hex_latitude":"07750598","is_valid_coordinates":true} 
[2026-09-04 14:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859239424001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033757694590976,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5584041293448181760,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788512669000,"timestamp_ms":1788512669000,"timestamp_seconds":1788512669,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba98d48"} 
[2026-09-04 14:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 14:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859239424001,"66":27767,"215":206,"85":36608,"24":19,"16":398033757694590976,"44":-5584041293448181760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859239424001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:38:36] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:38:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033757694590976,"km_value":398033757694591.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:38:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5584041293448181760,"description":"Unknown IO ID 44"} 
[2026-09-04 14:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859239424001,"power":27767,"unknown_215":206,"unknown_85":36608,"ignition":19,"odometer":null,"unknown_44":-5584041293448181760}} 
[2026-09-04 14:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":173438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:38:36] local.INFO: GPS data processed {"connection_id":173438,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:38:36] local.INFO: Acknowledgment sent {"connection_id":173438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:38:48] local.INFO: TCP Data received {"connection_id":171033,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:38:48] local.INFO: Processing buffer {"connection_id":171033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:38:48] local.INFO: IMEI packet received {"connection_id":171033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":171033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:38:49] local.INFO: TCP Data received {"connection_id":171034,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:38:49] local.INFO: Processing buffer {"connection_id":171034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:38:49] local.INFO: IMEI packet received {"connection_id":171034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":171034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:38:53] local.INFO: TCP Data received {"connection_id":171033,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:38:53] local.INFO: Processing buffer {"connection_id":171033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:38:53] local.INFO: IMEI packet received {"connection_id":171033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":171033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:38:54] local.INFO: TCP Data received {"connection_id":171034,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:38:54] local.INFO: Processing buffer {"connection_id":171034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:38:54] local.INFO: IMEI packet received {"connection_id":171034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":171034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:38:55] local.INFO: TCP Data received {"connection_id":171033,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06baa73c0012d196700071fee10003e005929..."} 
[2026-09-04 14:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baa73c0012d196700071fee10003e005929..."} 
[2026-09-04 14:38:55] local.INFO: Processing buffer {"connection_id":171033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baa73c0012d196700071fee10003e005929..."} 
[2026-09-04 14:38:55] local.INFO: Packet analysis {"connection_id":171033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06baa"} 
[2026-09-04 14:38:55] local.INFO: Extracted packet for processing {"connection_id":171033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06baa"} 
[2026-09-04 14:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859252992001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512728000,"timestamp_ms":1788512728000,"timestamp_seconds":1788512728,"priority":1,"record_length":96,"hex_timestamp":"000001a06baa73c0"} 
[2026-09-04 14:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:55] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:55] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2832832513,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026046,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 14:38:55] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:55] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:55] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,102,160,207,45,238,62,41,10,66,125,43,1,240,4,107,31,113,205,135,103,42,239,49,2,61,7,231],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 14:38:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467668862980063232,"timestamp_seconds":4467668862980063.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 14:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859252992001,"66":12558,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859252992001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:38:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859252992001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":171033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:38:55] local.INFO: GPS data processed {"connection_id":171033,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:38:55] local.INFO: Acknowledgment sent {"connection_id":171033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:38:55] local.INFO: TCP Data received {"connection_id":171034,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:38:55] local.INFO: Processing buffer {"connection_id":171034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:38:55] local.INFO: Packet analysis {"connection_id":171034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:38:55] local.INFO: Extracted packet for processing {"connection_id":171034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:38:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859204608001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512819000,"timestamp_ms":1788512819000,"timestamp_seconds":1788512819,"priority":1,"record_length":96,"hex_timestamp":"000001a06babd738"} 
[2026-09-04 14:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859204608001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859204608001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:38:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859204608001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":171034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:38:55] local.INFO: GPS data processed {"connection_id":171034,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:38:55] local.INFO: Acknowledgment sent {"connection_id":171034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:39:00] local.INFO: TCP Data received {"connection_id":170721,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:39:00] local.INFO: Processing buffer {"connection_id":170721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:39:00] local.INFO: IMEI packet received {"connection_id":170721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":170721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:39:04] local.INFO: TCP Data received {"connection_id":170721,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:39:04] local.INFO: Processing buffer {"connection_id":170721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:39:04] local.INFO: IMEI packet received {"connection_id":170721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":170721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:39:05] local.INFO: TCP Data received {"connection_id":170721,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06ba9df50012cb2a30007751310001e00292e..."} 
[2026-09-04 14:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ba9df50012cb2a30007751310001e00292e..."} 
[2026-09-04 14:39:05] local.INFO: Processing buffer {"connection_id":170721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ba9df50012cb2a30007751310001e00292e..."} 
[2026-09-04 14:39:05] local.INFO: Packet analysis {"connection_id":170721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ba9"} 
[2026-09-04 14:39:05] local.INFO: Extracted packet for processing {"connection_id":170721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ba9"} 
[2026-09-04 14:39:05] local.INFO: GPS Element Parsed {"raw_longitude":749904640,"raw_latitude":125113104,"longitude_deg":74.990464,"latitude_deg":12.5113104,"altitude":30,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a300","hex_latitude":"07751310","is_valid_coordinates":true} 
[2026-09-04 14:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859243264001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5578200687679531008,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788512690000,"timestamp_ms":1788512690000,"timestamp_seconds":1788512690,"priority":1,"record_length":96,"hex_timestamp":"000001a06ba9df50"} 
[2026-09-04 14:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 14:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859243264001,"66":27919,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5578200687679531008},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859243264001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:39:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:39:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5578200687679531008,"description":"Unknown IO ID 44"} 
[2026-09-04 14:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859243264001,"power":27919,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5578200687679531008}} 
[2026-09-04 14:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":170721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:39:05] local.INFO: GPS data processed {"connection_id":170721,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:39:05] local.INFO: Acknowledgment sent {"connection_id":170721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:39:27] local.INFO: TCP Data received {"connection_id":171033,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06baac5c8012d196700071fee10003e005925..."} 
[2026-09-04 14:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baac5c8012d196700071fee10003e005925..."} 
[2026-09-04 14:39:27] local.INFO: Processing buffer {"connection_id":171033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baac5c8012d196700071fee10003e005925..."} 
[2026-09-04 14:39:27] local.INFO: Packet analysis {"connection_id":171033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06baa"} 
[2026-09-04 14:39:27] local.INFO: Extracted packet for processing {"connection_id":171033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06baa"} 
[2026-09-04 14:39:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859258368001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788512749000,"timestamp_ms":1788512749000,"timestamp_seconds":1788512749,"priority":1,"record_length":96,"hex_timestamp":"000001a06baac5c8"} 
[2026-09-04 14:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741855941717520,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2838208513,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026046,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,102,160,33,45,238,62,41,10,66,207,125,1,240,14,107,31,4,113,205,217,103,239,49,2,61,7,231,81,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 14:39:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467668862980063232,"timestamp_seconds":4467668862980063.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 14:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859258368001,"66":12526,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859258368001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:39:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:39:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859258368001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":171033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:39:27] local.INFO: GPS data processed {"connection_id":171033,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:39:27] local.INFO: Acknowledgment sent {"connection_id":171033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:39:27] local.INFO: TCP Data received {"connection_id":171034,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:39:27] local.INFO: Processing buffer {"connection_id":171034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:39:27] local.INFO: Packet analysis {"connection_id":171034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:39:27] local.INFO: Extracted packet for processing {"connection_id":171034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:39:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859204608001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788512819000,"timestamp_ms":1788512819000,"timestamp_seconds":1788512819,"priority":1,"record_length":96,"hex_timestamp":"000001a06babd738"} 
[2026-09-04 14:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859204608001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859204608001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:39:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:39:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859204608001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":171034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762942,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:39:27] local.INFO: GPS data processed {"connection_id":171034,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:39:27] local.INFO: Acknowledgment sent {"connection_id":171034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:39:38] local.INFO: TCP Data received {"connection_id":170721,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06baa3158012cb2a30007751310001e00292c..."} 
[2026-09-04 14:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baa3158012cb2a30007751310001e00292c..."} 
[2026-09-04 14:39:38] local.INFO: Processing buffer {"connection_id":170721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baa3158012cb2a30007751310001e00292c..."} 
[2026-09-04 14:39:38] local.INFO: Packet analysis {"connection_id":170721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06baa"} 
[2026-09-04 14:39:38] local.INFO: Extracted packet for processing {"connection_id":170721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06baa"} 
[2026-09-04 14:39:38] local.INFO: GPS Element Parsed {"raw_longitude":749904640,"raw_latitude":125113104,"longitude_deg":74.990464,"latitude_deg":12.5113104,"altitude":30,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a300","hex_latitude":"07751310","is_valid_coordinates":true} 
[2026-09-04 14:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859248640001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881725587456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788512711000,"timestamp_ms":1788512711000,"timestamp_seconds":1788512711,"priority":1,"record_length":96,"hex_timestamp":"000001a06baa3158"} 
[2026-09-04 14:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 14:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859248640001,"66":27919,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574611881725587456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859248640001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:39:38] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:39:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881725587456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859248640001,"power":27919,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574611881725587456}} 
[2026-09-04 14:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":170721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:39:38] local.INFO: GPS data processed {"connection_id":170721,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:39:38] local.INFO: Acknowledgment sent {"connection_id":170721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:39:48] local.INFO: TCP Data received {"connection_id":172139,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:39:48] local.INFO: Processing buffer {"connection_id":172139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:39:48] local.INFO: IMEI packet received {"connection_id":172139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":172139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:39:49] local.INFO: TCP Data received {"connection_id":173439,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:39:49] local.INFO: Processing buffer {"connection_id":173439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:39:49] local.INFO: IMEI packet received {"connection_id":173439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":173439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:39:53] local.INFO: TCP Data received {"connection_id":172139,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:39:53] local.INFO: Processing buffer {"connection_id":172139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:39:53] local.INFO: IMEI packet received {"connection_id":172139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":172139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:39:54] local.INFO: TCP Data received {"connection_id":173439,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:39:54] local.INFO: Processing buffer {"connection_id":173439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:39:54] local.INFO: IMEI packet received {"connection_id":173439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":173439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:39:55] local.INFO: TCP Data received {"connection_id":172139,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bab17d0012d196700071fee10003e005925..."} 
[2026-09-04 14:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bab17d0012d196700071fee10003e005925..."} 
[2026-09-04 14:39:55] local.INFO: Processing buffer {"connection_id":172139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bab17d0012d196700071fee10003e005925..."} 
[2026-09-04 14:39:55] local.INFO: Packet analysis {"connection_id":172139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:39:55] local.INFO: Extracted packet for processing {"connection_id":172139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:39:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859263744001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512770000,"timestamp_ms":1788512770000,"timestamp_seconds":1788512770,"priority":1,"record_length":96,"hex_timestamp":"000001a06bab17d0"} 
[2026-09-04 14:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 14:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859263744001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859263744001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:39:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:39:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859263744001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":172139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:39:55] local.INFO: GPS data processed {"connection_id":172139,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:39:55] local.INFO: Acknowledgment sent {"connection_id":172139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:39:55] local.INFO: TCP Data received {"connection_id":173439,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:39:55] local.INFO: Processing buffer {"connection_id":173439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:39:55] local.INFO: Packet analysis {"connection_id":173439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:39:55] local.INFO: Extracted packet for processing {"connection_id":173439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:39:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859204608001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512819000,"timestamp_ms":1788512819000,"timestamp_seconds":1788512819,"priority":1,"record_length":96,"hex_timestamp":"000001a06babd738"} 
[2026-09-04 14:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859204608001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859204608001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:39:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:39:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859204608001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":173439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:39:55] local.INFO: GPS data processed {"connection_id":173439,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:39:55] local.INFO: Acknowledgment sent {"connection_id":173439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:39:59] local.INFO: TCP Data received {"connection_id":170722,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:39:59] local.INFO: Processing buffer {"connection_id":170722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:39:59] local.INFO: IMEI packet received {"connection_id":170722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":170722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:40:04] local.INFO: TCP Data received {"connection_id":170722,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:40:04] local.INFO: Processing buffer {"connection_id":170722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:40:04] local.INFO: IMEI packet received {"connection_id":170722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":170722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:40:05] local.INFO: TCP Data received {"connection_id":170722,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06baa3540012cb2a30007751310001e00292b..."} 
[2026-09-04 14:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baa3540012cb2a30007751310001e00292b..."} 
[2026-09-04 14:40:05] local.INFO: Processing buffer {"connection_id":170722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baa3540012cb2a30007751310001e00292b..."} 
[2026-09-04 14:40:05] local.INFO: Packet analysis {"connection_id":170722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06baa"} 
[2026-09-04 14:40:05] local.INFO: Extracted packet for processing {"connection_id":170722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06baa"} 
[2026-09-04 14:40:05] local.INFO: GPS Element Parsed {"raw_longitude":749904640,"raw_latitude":125113104,"longitude_deg":74.990464,"latitude_deg":12.5113104,"altitude":30,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a300","hex_latitude":"07751310","is_valid_coordinates":true} 
[2026-09-04 14:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859254016001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881725587456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788512712000,"timestamp_ms":1788512712000,"timestamp_seconds":1788512712,"priority":1,"record_length":96,"hex_timestamp":"000001a06baa3540"} 
[2026-09-04 14:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 14:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859254016001,"66":27908,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574611881725587456},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859254016001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:40:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881725587456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859254016001,"power":27908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574611881725587456}} 
[2026-09-04 14:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":170722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:40:05] local.INFO: GPS data processed {"connection_id":170722,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:40:05] local.INFO: Acknowledgment sent {"connection_id":170722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:40:26] local.INFO: TCP Data received {"connection_id":172139,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bab69d8012d196700071fee10003e005927..."} 
[2026-09-04 14:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bab69d8012d196700071fee10003e005927..."} 
[2026-09-04 14:40:26] local.INFO: Processing buffer {"connection_id":172139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bab69d8012d196700071fee10003e005927..."} 
[2026-09-04 14:40:26] local.INFO: Packet analysis {"connection_id":172139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:40:26] local.INFO: Extracted packet for processing {"connection_id":172139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:40:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859269120001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788512791000,"timestamp_ms":1788512791000,"timestamp_seconds":1788512791,"priority":1,"record_length":96,"hex_timestamp":"000001a06bab69d8"} 
[2026-09-04 14:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 14:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859269120001,"66":12504,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859269120001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:40:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:40:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859269120001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":172139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:40:26] local.INFO: GPS data processed {"connection_id":172139,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:40:26] local.INFO: Acknowledgment sent {"connection_id":172139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:40:27] local.INFO: TCP Data received {"connection_id":173439,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:40:27] local.INFO: Processing buffer {"connection_id":173439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:40:27] local.INFO: Packet analysis {"connection_id":173439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:40:27] local.INFO: Extracted packet for processing {"connection_id":173439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:40:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859204608001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788512819000,"timestamp_ms":1788512819000,"timestamp_seconds":1788512819,"priority":1,"record_length":96,"hex_timestamp":"000001a06babd738"} 
[2026-09-04 14:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859204608001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859204608001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:40:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:40:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859204608001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":173439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762948,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:40:27] local.INFO: GPS data processed {"connection_id":173439,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:40:27] local.INFO: Acknowledgment sent {"connection_id":173439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:40:36] local.INFO: TCP Data received {"connection_id":170722,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06baa3540012cb2a30007751310001e00292b..."} 
[2026-09-04 14:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baa3540012cb2a30007751310001e00292b..."} 
[2026-09-04 14:40:36] local.INFO: Processing buffer {"connection_id":170722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baa3540012cb2a30007751310001e00292b..."} 
[2026-09-04 14:40:36] local.INFO: Packet analysis {"connection_id":170722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06baa"} 
[2026-09-04 14:40:36] local.INFO: Extracted packet for processing {"connection_id":170722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06baa"} 
[2026-09-04 14:40:36] local.INFO: GPS Element Parsed {"raw_longitude":749904640,"raw_latitude":125113104,"longitude_deg":74.990464,"latitude_deg":12.5113104,"altitude":30,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a300","hex_latitude":"07751310","is_valid_coordinates":true} 
[2026-09-04 14:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859254016001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881725587456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788512712000,"timestamp_ms":1788512712000,"timestamp_seconds":1788512712,"priority":1,"record_length":96,"hex_timestamp":"000001a06baa3540"} 
[2026-09-04 14:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 14:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859254016001,"66":27908,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574611881725587456},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859254016001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:40:36] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:40:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:40:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881725587456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859254016001,"power":27908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574611881725587456}} 
[2026-09-04 14:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":170722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:40:36] local.INFO: GPS data processed {"connection_id":170722,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:40:36] local.INFO: Acknowledgment sent {"connection_id":170722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:40:48] local.INFO: TCP Data received {"connection_id":172140,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:40:48] local.INFO: Processing buffer {"connection_id":172140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:40:48] local.INFO: IMEI packet received {"connection_id":172140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":172140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:40:49] local.INFO: TCP Data received {"connection_id":170723,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:40:49] local.INFO: Processing buffer {"connection_id":170723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:40:49] local.INFO: IMEI packet received {"connection_id":170723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":170723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:40:53] local.INFO: TCP Data received {"connection_id":172140,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:40:53] local.INFO: Processing buffer {"connection_id":172140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:40:53] local.INFO: IMEI packet received {"connection_id":172140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":172140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:40:54] local.INFO: TCP Data received {"connection_id":170723,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:40:54] local.INFO: Processing buffer {"connection_id":170723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:40:54] local.INFO: IMEI packet received {"connection_id":170723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":170723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:40:55] local.INFO: TCP Data received {"connection_id":172140,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06babbbe0012d196700071fee10003e005927..."} 
[2026-09-04 14:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06babbbe0012d196700071fee10003e005927..."} 
[2026-09-04 14:40:55] local.INFO: Processing buffer {"connection_id":172140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06babbbe0012d196700071fee10003e005927..."} 
[2026-09-04 14:40:55] local.INFO: Packet analysis {"connection_id":172140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:40:55] local.INFO: Extracted packet for processing {"connection_id":172140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859274496001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788512812000,"timestamp_ms":1788512812000,"timestamp_seconds":1788512812,"priority":1,"record_length":96,"hex_timestamp":"000001a06babbbe0"} 
[2026-09-04 14:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 14:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859274496001,"66":12461,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859274496001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:40:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:40:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859274496001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":172140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:40:55] local.INFO: GPS data processed {"connection_id":172140,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:40:55] local.INFO: Acknowledgment sent {"connection_id":172140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:40:56] local.INFO: TCP Data received {"connection_id":170723,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:40:56] local.INFO: Processing buffer {"connection_id":170723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:40:56] local.INFO: Packet analysis {"connection_id":170723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:40:56] local.INFO: Extracted packet for processing {"connection_id":170723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:40:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859204608001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788512819000,"timestamp_ms":1788512819000,"timestamp_seconds":1788512819,"priority":1,"record_length":96,"hex_timestamp":"000001a06babd738"} 
[2026-09-04 14:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859204608001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859204608001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:40:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:40:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859204608001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":170723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:40:56] local.INFO: GPS data processed {"connection_id":170723,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:40:56] local.INFO: Acknowledgment sent {"connection_id":170723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:40:59] local.INFO: TCP Data received {"connection_id":170724,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:40:59] local.INFO: Processing buffer {"connection_id":170724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:40:59] local.INFO: IMEI packet received {"connection_id":170724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":170724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:41:04] local.INFO: TCP Data received {"connection_id":170724,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:41:04] local.INFO: Processing buffer {"connection_id":170724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:41:04] local.INFO: IMEI packet received {"connection_id":170724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":170724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:41:05] local.INFO: TCP Data received {"connection_id":170724,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:41:05] local.INFO: Processing buffer {"connection_id":170724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:41:05] local.INFO: Packet analysis {"connection_id":170724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:41:05] local.INFO: Extracted packet for processing {"connection_id":170724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:41:05] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859254272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881725587456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788513017000,"timestamp_ms":1788513017000,"timestamp_seconds":1788513017,"priority":1,"record_length":96,"hex_timestamp":"000001a06baedca8"} 
[2026-09-04 14:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859254272001,"66":26484,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574611881725587456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859254272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:41:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881725587456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859254272001,"power":26484,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574611881725587456}} 
[2026-09-04 14:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":170724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:41:05] local.INFO: GPS data processed {"connection_id":170724,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:41:05] local.INFO: Acknowledgment sent {"connection_id":170724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:41:27] local.INFO: TCP Data received {"connection_id":170723,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:41:27] local.INFO: Processing buffer {"connection_id":170723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:41:27] local.INFO: Packet analysis {"connection_id":170723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:41:27] local.INFO: Extracted packet for processing {"connection_id":170723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:41:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859204608001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788512819000,"timestamp_ms":1788512819000,"timestamp_seconds":1788512819,"priority":1,"record_length":96,"hex_timestamp":"000001a06babd738"} 
[2026-09-04 14:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859204608001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859204608001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:41:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:41:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859204608001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":170723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:41:27] local.INFO: GPS data processed {"connection_id":170723,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:41:27] local.INFO: Acknowledgment sent {"connection_id":170723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:41:28] local.INFO: TCP Data received {"connection_id":172140,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bac0de8012d196700071fee10003e005929..."} 
[2026-09-04 14:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bac0de8012d196700071fee10003e005929..."} 
[2026-09-04 14:41:28] local.INFO: Processing buffer {"connection_id":172140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bac0de8012d196700071fee10003e005929..."} 
[2026-09-04 14:41:28] local.INFO: Packet analysis {"connection_id":172140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bac"} 
[2026-09-04 14:41:28] local.INFO: Extracted packet for processing {"connection_id":172140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bac"} 
[2026-09-04 14:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859279872001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788512833000,"timestamp_ms":1788512833000,"timestamp_seconds":1788512833,"priority":1,"record_length":96,"hex_timestamp":"000001a06bac0de8"} 
[2026-09-04 14:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859279872001,"66":12504,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859279872001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:41:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:41:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859279872001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":172140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:41:28] local.INFO: GPS data processed {"connection_id":172140,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:41:28] local.INFO: Acknowledgment sent {"connection_id":172140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:41:41] local.INFO: TCP Data received {"connection_id":170724,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:41:41] local.INFO: Processing buffer {"connection_id":170724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:41:41] local.INFO: Packet analysis {"connection_id":170724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:41:41] local.INFO: Extracted packet for processing {"connection_id":170724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:41:41] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859254272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881725587456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788513017000,"timestamp_ms":1788513017000,"timestamp_seconds":1788513017,"priority":1,"record_length":96,"hex_timestamp":"000001a06baedca8"} 
[2026-09-04 14:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859254272001,"66":26484,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574611881725587456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859254272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:41:41] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881725587456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859254272001,"power":26484,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574611881725587456}} 
[2026-09-04 14:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":170724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:41:42] local.INFO: GPS data processed {"connection_id":170724,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:41:42] local.INFO: Acknowledgment sent {"connection_id":170724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:41:53] local.INFO: TCP Data received {"connection_id":172141,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:41:53] local.INFO: Processing buffer {"connection_id":172141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:41:53] local.INFO: IMEI packet received {"connection_id":172141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":172141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:41:54] local.INFO: TCP Data received {"connection_id":173440,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:41:54] local.INFO: Processing buffer {"connection_id":173440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:41:54] local.INFO: IMEI packet received {"connection_id":173440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":173440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:41:58] local.INFO: TCP Data received {"connection_id":172141,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:41:58] local.INFO: Processing buffer {"connection_id":172141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:41:58] local.INFO: IMEI packet received {"connection_id":172141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":172141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:41:59] local.INFO: TCP Data received {"connection_id":173440,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:41:59] local.INFO: Processing buffer {"connection_id":173440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:41:59] local.INFO: IMEI packet received {"connection_id":173440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":173440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:42:00] local.INFO: TCP Data received {"connection_id":173440,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:42:00] local.INFO: Processing buffer {"connection_id":173440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:42:00] local.INFO: Packet analysis {"connection_id":173440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:42:00] local.INFO: Extracted packet for processing {"connection_id":173440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:42:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859204608001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788512819000,"timestamp_ms":1788512819000,"timestamp_seconds":1788512819,"priority":1,"record_length":96,"hex_timestamp":"000001a06babd738"} 
[2026-09-04 14:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859204608001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859204608001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:42:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859204608001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":173440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762956,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:42:00] local.INFO: GPS data processed {"connection_id":173440,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:42:00] local.INFO: Acknowledgment sent {"connection_id":173440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:42:03] local.INFO: TCP Data received {"connection_id":172141,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bac5ff0012d196700071fee10003e005929..."} 
[2026-09-04 14:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bac5ff0012d196700071fee10003e005929..."} 
[2026-09-04 14:42:03] local.INFO: Processing buffer {"connection_id":172141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bac5ff0012d196700071fee10003e005929..."} 
[2026-09-04 14:42:03] local.INFO: Packet analysis {"connection_id":172141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bac"} 
[2026-09-04 14:42:03] local.INFO: Extracted packet for processing {"connection_id":172141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bac"} 
[2026-09-04 14:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859285248001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788512854000,"timestamp_ms":1788512854000,"timestamp_seconds":1788512854,"priority":1,"record_length":96,"hex_timestamp":"000001a06bac5ff0"} 
[2026-09-04 14:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 14:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859285248001,"66":12461,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859285248001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:42:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:42:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859285248001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":172141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:42:03] local.INFO: GPS data processed {"connection_id":172141,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:42:03] local.INFO: Acknowledgment sent {"connection_id":172141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:42:04] local.INFO: TCP Data received {"connection_id":173440,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:42:04] local.INFO: Processing buffer {"connection_id":173440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06babd738012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:42:04] local.INFO: Packet analysis {"connection_id":173440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:42:04] local.INFO: Extracted packet for processing {"connection_id":173440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bab"} 
[2026-09-04 14:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859204608001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788512819000,"timestamp_ms":1788512819000,"timestamp_seconds":1788512819,"priority":1,"record_length":96,"hex_timestamp":"000001a06babd738"} 
[2026-09-04 14:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859204608001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859204608001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:42:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859204608001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:42:04] local.INFO: TCP Data received {"connection_id":170725,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:42:04] local.INFO: Processing buffer {"connection_id":170725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:42:04] local.INFO: IMEI packet received {"connection_id":170725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":170725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":173440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762958,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:42:04] local.INFO: GPS data processed {"connection_id":173440,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:42:04] local.INFO: Acknowledgment sent {"connection_id":173440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:42:04] local.INFO: TCP Data received {"connection_id":172141,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bacb1f8012d196700071fee10003e005927..."} 
[2026-09-04 14:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bacb1f8012d196700071fee10003e005927..."} 
[2026-09-04 14:42:04] local.INFO: Processing buffer {"connection_id":172141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bacb1f8012d196700071fee10003e005927..."} 
[2026-09-04 14:42:04] local.INFO: Packet analysis {"connection_id":172141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bac"} 
[2026-09-04 14:42:04] local.INFO: Extracted packet for processing {"connection_id":172141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bac"} 
[2026-09-04 14:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859290624001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788512875000,"timestamp_ms":1788512875000,"timestamp_seconds":1788512875,"priority":1,"record_length":96,"hex_timestamp":"000001a06bacb1f8"} 
[2026-09-04 14:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859290624001,"66":12526,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859290624001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:42:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859290624001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":172141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:42:04] local.INFO: GPS data processed {"connection_id":172141,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:42:04] local.INFO: Acknowledgment sent {"connection_id":172141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:42:09] local.INFO: TCP Data received {"connection_id":170725,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:42:09] local.INFO: Processing buffer {"connection_id":170725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:42:09] local.INFO: IMEI packet received {"connection_id":170725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":170725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:42:11] local.INFO: TCP Data received {"connection_id":170725,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:42:11] local.INFO: Processing buffer {"connection_id":170725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:42:11] local.INFO: Packet analysis {"connection_id":170725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:42:11] local.INFO: Extracted packet for processing {"connection_id":170725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859254272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881725587456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788513017000,"timestamp_ms":1788513017000,"timestamp_seconds":1788513017,"priority":1,"record_length":96,"hex_timestamp":"000001a06baedca8"} 
[2026-09-04 14:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859254272001,"66":26484,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574611881725587456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859254272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:42:11] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881725587456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859254272001,"power":26484,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574611881725587456}} 
[2026-09-04 14:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":170725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:42:11] local.INFO: GPS data processed {"connection_id":170725,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:42:11] local.INFO: Acknowledgment sent {"connection_id":170725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:42:14] local.INFO: TCP Data received {"connection_id":170725,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:42:14] local.INFO: Processing buffer {"connection_id":170725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:42:14] local.INFO: Packet analysis {"connection_id":170725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:42:14] local.INFO: Extracted packet for processing {"connection_id":170725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:42:14] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859254272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881725587456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788513017000,"timestamp_ms":1788513017000,"timestamp_seconds":1788513017,"priority":1,"record_length":96,"hex_timestamp":"000001a06baedca8"} 
[2026-09-04 14:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":170725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":170725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":170725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859254272001,"66":26484,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574611881725587456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859254272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:42:14] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:42:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881725587456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859254272001,"power":26484,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574611881725587456}} 
[2026-09-04 14:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":170725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:42:14] local.INFO: GPS data processed {"connection_id":170725,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:42:14] local.INFO: Acknowledgment sent {"connection_id":170725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:42:45] local.INFO: TCP Data received {"connection_id":171035,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:42:45] local.INFO: Processing buffer {"connection_id":171035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:42:45] local.INFO: IMEI packet received {"connection_id":171035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":171035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:42:48] local.INFO: TCP Data received {"connection_id":171035,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:42:48] local.INFO: Processing buffer {"connection_id":171035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:42:48] local.INFO: IMEI packet received {"connection_id":171035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":171035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:42:49] local.INFO: TCP Data received {"connection_id":172142,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:42:49] local.INFO: Processing buffer {"connection_id":172142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:42:49] local.INFO: IMEI packet received {"connection_id":172142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":172142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:42:53] local.INFO: TCP Data received {"connection_id":171035,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:42:53] local.INFO: Processing buffer {"connection_id":171035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:42:53] local.INFO: IMEI packet received {"connection_id":171035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":171035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:42:54] local.INFO: TCP Data received {"connection_id":172142,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:42:54] local.INFO: Processing buffer {"connection_id":172142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:42:54] local.INFO: IMEI packet received {"connection_id":172142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":172142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:42:54] local.INFO: TCP Data received {"connection_id":171035,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bad0400012d196700071fee10003e005927..."} 
[2026-09-04 14:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bad0400012d196700071fee10003e005927..."} 
[2026-09-04 14:42:54] local.INFO: Processing buffer {"connection_id":171035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bad0400012d196700071fee10003e005927..."} 
[2026-09-04 14:42:54] local.INFO: Packet analysis {"connection_id":171035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bad"} 
[2026-09-04 14:42:54] local.INFO: Extracted packet for processing {"connection_id":171035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bad"} 
[2026-09-04 14:42:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859296000001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788512896000,"timestamp_ms":1788512896000,"timestamp_seconds":1788512896,"priority":1,"record_length":96,"hex_timestamp":"000001a06bad0400"} 
[2026-09-04 14:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 14:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859296000001,"66":12526,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859296000001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:42:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:42:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859296000001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":171035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:42:54] local.INFO: GPS data processed {"connection_id":171035,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:42:54] local.INFO: Acknowledgment sent {"connection_id":171035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:42:55] local.INFO: TCP Data received {"connection_id":172142,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:42:55] local.INFO: Processing buffer {"connection_id":172142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:42:55] local.INFO: Packet analysis {"connection_id":172142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:42:55] local.INFO: Extracted packet for processing {"connection_id":172142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:42:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859281664001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788513120000,"timestamp_ms":1788513120000,"timestamp_seconds":1788513120,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb06f00"} 
[2026-09-04 14:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 14:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859281664001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859281664001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:42:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:42:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859281664001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":172142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762963,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:42:55] local.INFO: GPS data processed {"connection_id":172142,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:42:55] local.INFO: Acknowledgment sent {"connection_id":172142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:42:59] local.INFO: TCP Data received {"connection_id":172142,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:42:59] local.INFO: Processing buffer {"connection_id":172142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:42:59] local.INFO: Packet analysis {"connection_id":172142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:42:59] local.INFO: Extracted packet for processing {"connection_id":172142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859281664001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788513120000,"timestamp_ms":1788513120000,"timestamp_seconds":1788513120,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb06f00"} 
[2026-09-04 14:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 14:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859281664001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859281664001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:42:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:42:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859281664001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:42:59] local.INFO: TCP Data received {"connection_id":170726,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:42:59] local.INFO: Processing buffer {"connection_id":170726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:42:59] local.INFO: IMEI packet received {"connection_id":170726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":170726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":172142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:42:59] local.INFO: GPS data processed {"connection_id":172142,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:42:59] local.INFO: Acknowledgment sent {"connection_id":172142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:43:04] local.INFO: TCP Data received {"connection_id":170726,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:43:04] local.INFO: Processing buffer {"connection_id":170726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:43:04] local.INFO: IMEI packet received {"connection_id":170726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":170726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:43:05] local.INFO: TCP Data received {"connection_id":170726,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:43:05] local.INFO: Processing buffer {"connection_id":170726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:43:05] local.INFO: Packet analysis {"connection_id":170726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:43:05] local.INFO: Extracted packet for processing {"connection_id":170726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:43:05] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859254272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881725587456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788513017000,"timestamp_ms":1788513017000,"timestamp_seconds":1788513017,"priority":1,"record_length":96,"hex_timestamp":"000001a06baedca8"} 
[2026-09-04 14:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859254272001,"66":26484,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574611881725587456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859254272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:43:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:43:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881725587456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859254272001,"power":26484,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574611881725587456}} 
[2026-09-04 14:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":170726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:43:05] local.INFO: GPS data processed {"connection_id":170726,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:43:05] local.INFO: Acknowledgment sent {"connection_id":170726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:43:09] local.INFO: TCP Data received {"connection_id":170726,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:43:09] local.INFO: Processing buffer {"connection_id":170726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:43:09] local.INFO: Packet analysis {"connection_id":170726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:43:09] local.INFO: Extracted packet for processing {"connection_id":170726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:43:09] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859254272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881725587456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788513017000,"timestamp_ms":1788513017000,"timestamp_seconds":1788513017,"priority":1,"record_length":96,"hex_timestamp":"000001a06baedca8"} 
[2026-09-04 14:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859254272001,"66":26484,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574611881725587456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859254272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:43:09] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:43:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881725587456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859254272001,"power":26484,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574611881725587456}} 
[2026-09-04 14:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":170726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:43:09] local.INFO: GPS data processed {"connection_id":170726,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:43:09] local.INFO: Acknowledgment sent {"connection_id":170726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:43:28] local.INFO: TCP Data received {"connection_id":171035,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bad5608012d196700071fee10003e005922..."} 
[2026-09-04 14:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bad5608012d196700071fee10003e005922..."} 
[2026-09-04 14:43:28] local.INFO: Processing buffer {"connection_id":171035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bad5608012d196700071fee10003e005922..."} 
[2026-09-04 14:43:28] local.INFO: Packet analysis {"connection_id":171035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bad"} 
[2026-09-04 14:43:28] local.INFO: Extracted packet for processing {"connection_id":171035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bad"} 
[2026-09-04 14:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":34,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859301376001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788512917000,"timestamp_ms":1788512917000,"timestamp_seconds":1788512917,"priority":1,"record_length":96,"hex_timestamp":"000001a06bad5608"} 
[2026-09-04 14:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 14:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859301376001,"66":12526,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859301376001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:43:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:43:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859301376001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":171035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:43:28] local.INFO: GPS data processed {"connection_id":171035,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:43:28] local.INFO: Acknowledgment sent {"connection_id":171035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:43:31] local.INFO: TCP Data received {"connection_id":172142,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:43:31] local.INFO: Processing buffer {"connection_id":172142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:43:31] local.INFO: Packet analysis {"connection_id":172142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:43:31] local.INFO: Extracted packet for processing {"connection_id":172142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859281664001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788513120000,"timestamp_ms":1788513120000,"timestamp_seconds":1788513120,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb06f00"} 
[2026-09-04 14:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 14:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859281664001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859281664001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:43:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859281664001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":172142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762968,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:43:31] local.INFO: GPS data processed {"connection_id":172142,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:43:31] local.INFO: Acknowledgment sent {"connection_id":172142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:43:41] local.INFO: TCP Data received {"connection_id":170726,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:43:41] local.INFO: Processing buffer {"connection_id":170726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:43:41] local.INFO: Packet analysis {"connection_id":170726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:43:41] local.INFO: Extracted packet for processing {"connection_id":170726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:43:41] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859254272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881725587456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788513017000,"timestamp_ms":1788513017000,"timestamp_seconds":1788513017,"priority":1,"record_length":96,"hex_timestamp":"000001a06baedca8"} 
[2026-09-04 14:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859254272001,"66":26484,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574611881725587456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859254272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:43:41] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881725587456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859254272001,"power":26484,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574611881725587456}} 
[2026-09-04 14:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":170726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:43:41] local.INFO: GPS data processed {"connection_id":170726,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:43:41] local.INFO: Acknowledgment sent {"connection_id":170726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:43:48] local.INFO: TCP Data received {"connection_id":173441,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:43:48] local.INFO: Processing buffer {"connection_id":173441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:43:48] local.INFO: IMEI packet received {"connection_id":173441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":173441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:43:49] local.INFO: TCP Data received {"connection_id":173441,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:43:49] local.INFO: Processing buffer {"connection_id":173441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:43:49] local.INFO: IMEI packet received {"connection_id":173441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":173441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:43:50] local.INFO: TCP Data received {"connection_id":173442,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:43:50] local.INFO: Processing buffer {"connection_id":173442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:43:50] local.INFO: IMEI packet received {"connection_id":173442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":173442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:43:53] local.INFO: TCP Data received {"connection_id":173441,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:43:53] local.INFO: Processing buffer {"connection_id":173441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:43:53] local.INFO: IMEI packet received {"connection_id":173441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":173441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:43:54] local.INFO: TCP Data received {"connection_id":173441,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb0dc60012d196700071fee10003e005927..."} 
[2026-09-04 14:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb0dc60012d196700071fee10003e005927..."} 
[2026-09-04 14:43:54] local.INFO: Processing buffer {"connection_id":173441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb0dc60012d196700071fee10003e005927..."} 
[2026-09-04 14:43:54] local.INFO: Packet analysis {"connection_id":173441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:43:54] local.INFO: Extracted packet for processing {"connection_id":173441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:43:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859360512001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788513148000,"timestamp_ms":1788513148000,"timestamp_seconds":1788513148,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb0dc60"} 
[2026-09-04 14:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 14:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859360512001,"66":12461,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859360512001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:43:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:43:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859360512001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":173441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:43:54] local.INFO: GPS data processed {"connection_id":173441,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:43:54] local.INFO: Acknowledgment sent {"connection_id":173441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:43:54] local.INFO: TCP Data received {"connection_id":173442,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:43:54] local.INFO: Processing buffer {"connection_id":173442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:43:54] local.INFO: IMEI packet received {"connection_id":173442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":173442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:43:55] local.INFO: TCP Data received {"connection_id":173442,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:43:55] local.INFO: Processing buffer {"connection_id":173442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:43:55] local.INFO: Packet analysis {"connection_id":173442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:43:55] local.INFO: Extracted packet for processing {"connection_id":173442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:43:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859281664001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788513120000,"timestamp_ms":1788513120000,"timestamp_seconds":1788513120,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb06f00"} 
[2026-09-04 14:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 14:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859281664001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859281664001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:43:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:43:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859281664001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":173442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:43:55] local.INFO: GPS data processed {"connection_id":173442,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:43:55] local.INFO: Acknowledgment sent {"connection_id":173442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:44:00] local.INFO: TCP Data received {"connection_id":170727,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:44:00] local.INFO: Processing buffer {"connection_id":170727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:44:00] local.INFO: IMEI packet received {"connection_id":170727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":170727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:44:04] local.INFO: TCP Data received {"connection_id":170727,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:44:04] local.INFO: Processing buffer {"connection_id":170727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:44:04] local.INFO: IMEI packet received {"connection_id":170727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":170727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:44:06] local.INFO: TCP Data received {"connection_id":170727,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:44:06] local.INFO: Processing buffer {"connection_id":170727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:44:06] local.INFO: Packet analysis {"connection_id":170727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:44:06] local.INFO: Extracted packet for processing {"connection_id":170727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:44:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859254272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881725587456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513017000,"timestamp_ms":1788513017000,"timestamp_seconds":1788513017,"priority":1,"record_length":96,"hex_timestamp":"000001a06baedca8"} 
[2026-09-04 14:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859254272001,"66":26484,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574611881725587456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859254272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:44:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:44:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881725587456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859254272001,"power":26484,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574611881725587456}} 
[2026-09-04 14:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":170727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:44:06] local.INFO: GPS data processed {"connection_id":170727,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:44:06] local.INFO: Acknowledgment sent {"connection_id":170727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:44:25] local.INFO: TCP Data received {"connection_id":173441,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb12e68012d196700071fee10003e005927..."} 
[2026-09-04 14:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb12e68012d196700071fee10003e005927..."} 
[2026-09-04 14:44:25] local.INFO: Processing buffer {"connection_id":173441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb12e68012d196700071fee10003e005927..."} 
[2026-09-04 14:44:25] local.INFO: Packet analysis {"connection_id":173441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb1"} 
[2026-09-04 14:44:25] local.INFO: Extracted packet for processing {"connection_id":173441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb1"} 
[2026-09-04 14:44:25] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859365888001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788513169000,"timestamp_ms":1788513169000,"timestamp_seconds":1788513169,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb12e68"} 
[2026-09-04 14:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859365888001,"66":12461,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859365888001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:44:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:44:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859365888001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":173441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:44:26] local.INFO: GPS data processed {"connection_id":173441,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:44:26] local.INFO: Acknowledgment sent {"connection_id":173441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:44:27] local.INFO: TCP Data received {"connection_id":173442,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:44:27] local.INFO: Processing buffer {"connection_id":173442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:44:27] local.INFO: Packet analysis {"connection_id":173442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:44:27] local.INFO: Extracted packet for processing {"connection_id":173442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:44:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859281664001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788513120000,"timestamp_ms":1788513120000,"timestamp_seconds":1788513120,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb06f00"} 
[2026-09-04 14:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 14:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859281664001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859281664001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:44:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:44:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859281664001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":173442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:44:27] local.INFO: GPS data processed {"connection_id":173442,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:44:27] local.INFO: Acknowledgment sent {"connection_id":173442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:44:39] local.INFO: TCP Data received {"connection_id":170727,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:44:39] local.INFO: Processing buffer {"connection_id":170727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:44:39] local.INFO: Packet analysis {"connection_id":170727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:44:39] local.INFO: Extracted packet for processing {"connection_id":170727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:44:39] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859254272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881725587456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788513017000,"timestamp_ms":1788513017000,"timestamp_seconds":1788513017,"priority":1,"record_length":96,"hex_timestamp":"000001a06baedca8"} 
[2026-09-04 14:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":170727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":170727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":170727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859254272001,"66":26484,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574611881725587456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859254272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:44:39] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:44:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881725587456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859254272001,"power":26484,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574611881725587456}} 
[2026-09-04 14:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":170727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:44:40] local.INFO: GPS data processed {"connection_id":170727,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:44:40] local.INFO: Acknowledgment sent {"connection_id":170727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:44:48] local.INFO: TCP Data received {"connection_id":171036,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:44:48] local.INFO: Processing buffer {"connection_id":171036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:44:48] local.INFO: IMEI packet received {"connection_id":171036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":171036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:44:49] local.INFO: TCP Data received {"connection_id":171037,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:44:49] local.INFO: Processing buffer {"connection_id":171037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:44:49] local.INFO: IMEI packet received {"connection_id":171037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":171037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:44:51] local.INFO: TCP Data received {"connection_id":171036,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:44:51] local.INFO: Processing buffer {"connection_id":171036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:44:51] local.INFO: IMEI packet received {"connection_id":171036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":171036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:44:53] local.INFO: TCP Data received {"connection_id":171036,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:44:53] local.INFO: Processing buffer {"connection_id":171036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:44:53] local.INFO: IMEI packet received {"connection_id":171036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":171036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:44:54] local.INFO: TCP Data received {"connection_id":171037,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:44:54] local.INFO: Processing buffer {"connection_id":171037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:44:54] local.INFO: IMEI packet received {"connection_id":171037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":171037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:44:54] local.INFO: TCP Data received {"connection_id":171036,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb18070012d196700071fee10003e005928..."} 
[2026-09-04 14:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb18070012d196700071fee10003e005928..."} 
[2026-09-04 14:44:54] local.INFO: Processing buffer {"connection_id":171036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb18070012d196700071fee10003e005928..."} 
[2026-09-04 14:44:54] local.INFO: Packet analysis {"connection_id":171036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb1"} 
[2026-09-04 14:44:54] local.INFO: Extracted packet for processing {"connection_id":171036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb1"} 
[2026-09-04 14:44:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859371264001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788513190000,"timestamp_ms":1788513190000,"timestamp_seconds":1788513190,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb18070"} 
[2026-09-04 14:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859371264001,"66":11830,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859371264001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:44:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:44:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859371264001,"power":11830,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":171036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:44:54] local.INFO: GPS data processed {"connection_id":171036,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:44:54] local.INFO: Acknowledgment sent {"connection_id":171036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:44:56] local.INFO: TCP Data received {"connection_id":171037,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:44:56] local.INFO: Processing buffer {"connection_id":171037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:44:56] local.INFO: Packet analysis {"connection_id":171037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:44:56] local.INFO: Extracted packet for processing {"connection_id":171037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:44:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859281664001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788513120000,"timestamp_ms":1788513120000,"timestamp_seconds":1788513120,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb06f00"} 
[2026-09-04 14:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 14:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859281664001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859281664001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:44:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:44:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859281664001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":171037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:44:56] local.INFO: GPS data processed {"connection_id":171037,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:44:56] local.INFO: Acknowledgment sent {"connection_id":171037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:44:59] local.INFO: TCP Data received {"connection_id":171036,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb1d278012d196700071fee10003e005929..."} 
[2026-09-04 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb1d278012d196700071fee10003e005929..."} 
[2026-09-04 14:44:59] local.INFO: Processing buffer {"connection_id":171036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb1d278012d196700071fee10003e005929..."} 
[2026-09-04 14:44:59] local.INFO: Packet analysis {"connection_id":171036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb1"} 
[2026-09-04 14:44:59] local.INFO: Extracted packet for processing {"connection_id":171036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb1"} 
[2026-09-04 14:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859376640001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788513211000,"timestamp_ms":1788513211000,"timestamp_seconds":1788513211,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb1d278"} 
[2026-09-04 14:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-04 14:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859376640001,"66":12406,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859376640001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:44:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859376640001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:44:59] local.INFO: TCP Data received {"connection_id":170728,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:44:59] local.INFO: Processing buffer {"connection_id":170728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:44:59] local.INFO: IMEI packet received {"connection_id":170728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":170728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":171036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:44:59] local.INFO: GPS data processed {"connection_id":171036,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:44:59] local.INFO: Acknowledgment sent {"connection_id":171036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:45:04] local.INFO: TCP Data received {"connection_id":170728,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:45:04] local.INFO: Processing buffer {"connection_id":170728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:45:04] local.INFO: IMEI packet received {"connection_id":170728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":170728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:45:06] local.INFO: TCP Data received {"connection_id":170728,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:45:06] local.INFO: Processing buffer {"connection_id":170728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:45:06] local.INFO: Packet analysis {"connection_id":170728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:45:06] local.INFO: Extracted packet for processing {"connection_id":170728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:45:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859254272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881725587456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513017000,"timestamp_ms":1788513017000,"timestamp_seconds":1788513017,"priority":1,"record_length":96,"hex_timestamp":"000001a06baedca8"} 
[2026-09-04 14:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859254272001,"66":26484,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574611881725587456},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859254272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:45:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:45:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881725587456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859254272001,"power":26484,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574611881725587456}} 
[2026-09-04 14:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":170728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:45:06] local.INFO: GPS data processed {"connection_id":170728,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:45:06] local.INFO: Acknowledgment sent {"connection_id":170728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:45:27] local.INFO: TCP Data received {"connection_id":171037,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:45:27] local.INFO: Processing buffer {"connection_id":171037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:45:27] local.INFO: Packet analysis {"connection_id":171037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:45:27] local.INFO: Extracted packet for processing {"connection_id":171037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:45:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859281664001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788513120000,"timestamp_ms":1788513120000,"timestamp_seconds":1788513120,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb06f00"} 
[2026-09-04 14:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 14:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859281664001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859281664001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:45:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:45:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859281664001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":171037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:45:27] local.INFO: GPS data processed {"connection_id":171037,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:45:27] local.INFO: Acknowledgment sent {"connection_id":171037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:45:31] local.INFO: TCP Data received {"connection_id":171036,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb22480012d196700071fee10003e005928..."} 
[2026-09-04 14:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb22480012d196700071fee10003e005928..."} 
[2026-09-04 14:45:31] local.INFO: Processing buffer {"connection_id":171036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb22480012d196700071fee10003e005928..."} 
[2026-09-04 14:45:31] local.INFO: Packet analysis {"connection_id":171036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb2"} 
[2026-09-04 14:45:31] local.INFO: Extracted packet for processing {"connection_id":171036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb2"} 
[2026-09-04 14:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859382016001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788513232000,"timestamp_ms":1788513232000,"timestamp_seconds":1788513232,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb22480"} 
[2026-09-04 14:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 14:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859382016001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859382016001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:45:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859382016001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":171036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:45:31] local.INFO: GPS data processed {"connection_id":171036,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:45:31] local.INFO: Acknowledgment sent {"connection_id":171036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:45:37] local.INFO: TCP Data received {"connection_id":170728,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:45:37] local.INFO: Processing buffer {"connection_id":170728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06baedca8012cb2a48007751650001f00292c..."} 
[2026-09-04 14:45:37] local.INFO: Packet analysis {"connection_id":170728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:45:37] local.INFO: Extracted packet for processing {"connection_id":170728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bae"} 
[2026-09-04 14:45:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859254272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574611881725587456,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788513017000,"timestamp_ms":1788513017000,"timestamp_seconds":1788513017,"priority":1,"record_length":96,"hex_timestamp":"000001a06baedca8"} 
[2026-09-04 14:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 14:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859254272001,"66":26484,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574611881725587456},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859254272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:45:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:45:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574611881725587456,"description":"Unknown IO ID 44"} 
[2026-09-04 14:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859254272001,"power":26484,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574611881725587456}} 
[2026-09-04 14:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":170728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:45:37] local.INFO: GPS data processed {"connection_id":170728,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:45:37] local.INFO: Acknowledgment sent {"connection_id":170728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:45:48] local.INFO: TCP Data received {"connection_id":173444,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:45:48] local.INFO: Processing buffer {"connection_id":173444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:45:48] local.INFO: IMEI packet received {"connection_id":173444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":173444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:45:49] local.INFO: TCP Data received {"connection_id":173443,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:45:49] local.INFO: Processing buffer {"connection_id":173443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:45:49] local.INFO: IMEI packet received {"connection_id":173443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":173443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:45:53] local.INFO: TCP Data received {"connection_id":173444,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:45:53] local.INFO: Processing buffer {"connection_id":173444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:45:53] local.INFO: IMEI packet received {"connection_id":173444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":173444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:45:54] local.INFO: TCP Data received {"connection_id":173443,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:45:54] local.INFO: Processing buffer {"connection_id":173443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:45:54] local.INFO: IMEI packet received {"connection_id":173443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":173443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:45:55] local.INFO: TCP Data received {"connection_id":173443,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:45:55] local.INFO: Processing buffer {"connection_id":173443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:45:55] local.INFO: Packet analysis {"connection_id":173443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:45:55] local.INFO: Extracted packet for processing {"connection_id":173443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:45:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859281664001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788513120000,"timestamp_ms":1788513120000,"timestamp_seconds":1788513120,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb06f00"} 
[2026-09-04 14:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 14:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859281664001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859281664001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:45:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:45:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859281664001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":173443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:45:55] local.INFO: GPS data processed {"connection_id":173443,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:45:55] local.INFO: Acknowledgment sent {"connection_id":173443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:45:55] local.INFO: TCP Data received {"connection_id":173444,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb27688012d196700071fee10003e005929..."} 
[2026-09-04 14:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb27688012d196700071fee10003e005929..."} 
[2026-09-04 14:45:55] local.INFO: Processing buffer {"connection_id":173444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb27688012d196700071fee10003e005929..."} 
[2026-09-04 14:45:55] local.INFO: Packet analysis {"connection_id":173444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb2"} 
[2026-09-04 14:45:55] local.INFO: Extracted packet for processing {"connection_id":173444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb2"} 
[2026-09-04 14:45:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859387392001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788513253000,"timestamp_ms":1788513253000,"timestamp_seconds":1788513253,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb27688"} 
[2026-09-04 14:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 14:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859387392001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859387392001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:45:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:45:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859387392001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":173444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:45:55] local.INFO: GPS data processed {"connection_id":173444,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:45:55] local.INFO: Acknowledgment sent {"connection_id":173444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:46:00] local.INFO: TCP Data received {"connection_id":172143,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:46:00] local.INFO: Processing buffer {"connection_id":172143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:46:00] local.INFO: IMEI packet received {"connection_id":172143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":172143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:46:04] local.INFO: TCP Data received {"connection_id":172143,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:46:04] local.INFO: Processing buffer {"connection_id":172143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:46:04] local.INFO: IMEI packet received {"connection_id":172143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":172143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:46:06] local.INFO: TCP Data received {"connection_id":172143,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:46:06] local.INFO: Processing buffer {"connection_id":172143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:46:06] local.INFO: Packet analysis {"connection_id":172143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:46:06] local.INFO: Extracted packet for processing {"connection_id":172143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:46:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859332352001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513318000,"timestamp_ms":1788513318000,"timestamp_seconds":1788513318,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb37470"} 
[2026-09-04 14:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 14:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859332352001,"66":26180,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859332352001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:46:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:46:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859332352001,"power":26180,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":172143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:46:06] local.INFO: GPS data processed {"connection_id":172143,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:46:06] local.INFO: Acknowledgment sent {"connection_id":172143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:46:26] local.INFO: TCP Data received {"connection_id":173443,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:46:26] local.INFO: Processing buffer {"connection_id":173443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:46:26] local.INFO: Packet analysis {"connection_id":173443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:46:26] local.INFO: Extracted packet for processing {"connection_id":173443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:46:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859281664001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788513120000,"timestamp_ms":1788513120000,"timestamp_seconds":1788513120,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb06f00"} 
[2026-09-04 14:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 14:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859281664001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859281664001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:46:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:46:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859281664001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":173443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762986,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:46:26] local.INFO: GPS data processed {"connection_id":173443,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:46:26] local.INFO: Acknowledgment sent {"connection_id":173443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:46:27] local.INFO: TCP Data received {"connection_id":173444,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb2c890012d196700071fee10003e005929..."} 
[2026-09-04 14:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb2c890012d196700071fee10003e005929..."} 
[2026-09-04 14:46:27] local.INFO: Processing buffer {"connection_id":173444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb2c890012d196700071fee10003e005929..."} 
[2026-09-04 14:46:27] local.INFO: Packet analysis {"connection_id":173444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb2"} 
[2026-09-04 14:46:27] local.INFO: Extracted packet for processing {"connection_id":173444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb2"} 
[2026-09-04 14:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859392768001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788513274000,"timestamp_ms":1788513274000,"timestamp_seconds":1788513274,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb2c890"} 
[2026-09-04 14:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 14:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859392768001,"66":11406,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859392768001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:46:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:46:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859392768001,"power":11406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":173444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:46:27] local.INFO: GPS data processed {"connection_id":173444,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:46:27] local.INFO: Acknowledgment sent {"connection_id":173444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:46:37] local.INFO: TCP Data received {"connection_id":172143,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:46:37] local.INFO: Processing buffer {"connection_id":172143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:46:37] local.INFO: Packet analysis {"connection_id":172143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:46:37] local.INFO: Extracted packet for processing {"connection_id":172143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:46:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859332352001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788513318000,"timestamp_ms":1788513318000,"timestamp_seconds":1788513318,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb37470"} 
[2026-09-04 14:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 14:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859332352001,"66":26180,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859332352001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:46:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:46:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859332352001,"power":26180,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":172143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:46:37] local.INFO: GPS data processed {"connection_id":172143,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:46:37] local.INFO: Acknowledgment sent {"connection_id":172143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:46:49] local.INFO: TCP Data received {"connection_id":171038,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:46:49] local.INFO: Processing buffer {"connection_id":171038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:46:49] local.INFO: IMEI packet received {"connection_id":171038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":171038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:46:53] local.INFO: TCP Data received {"connection_id":171039,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:46:53] local.INFO: Processing buffer {"connection_id":171039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:46:53] local.INFO: IMEI packet received {"connection_id":171039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":171039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:46:54] local.INFO: TCP Data received {"connection_id":171038,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:46:54] local.INFO: Processing buffer {"connection_id":171038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:46:54] local.INFO: IMEI packet received {"connection_id":171038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":171038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:46:55] local.INFO: TCP Data received {"connection_id":171038,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:46:55] local.INFO: Processing buffer {"connection_id":171038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:46:55] local.INFO: Packet analysis {"connection_id":171038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:46:55] local.INFO: Extracted packet for processing {"connection_id":171038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:46:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859281664001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788513120000,"timestamp_ms":1788513120000,"timestamp_seconds":1788513120,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb06f00"} 
[2026-09-04 14:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 14:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859281664001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859281664001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:46:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:46:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859281664001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":171038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:46:55] local.INFO: GPS data processed {"connection_id":171038,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:46:55] local.INFO: Acknowledgment sent {"connection_id":171038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:46:57] local.INFO: TCP Data received {"connection_id":171039,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:46:57] local.INFO: Processing buffer {"connection_id":171039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:46:57] local.INFO: IMEI packet received {"connection_id":171039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":171039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:46:59] local.INFO: TCP Data received {"connection_id":173445,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:46:59] local.INFO: Processing buffer {"connection_id":173445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:46:59] local.INFO: IMEI packet received {"connection_id":173445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":173445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:47:02] local.INFO: TCP Data received {"connection_id":171039,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb31a98012d196700071fee10003e005927..."} 
[2026-09-04 14:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb31a98012d196700071fee10003e005927..."} 
[2026-09-04 14:47:02] local.INFO: Processing buffer {"connection_id":171039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb31a98012d196700071fee10003e005927..."} 
[2026-09-04 14:47:02] local.INFO: Packet analysis {"connection_id":171039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:47:02] local.INFO: Extracted packet for processing {"connection_id":171039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:47:02] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859398144001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788513295000,"timestamp_ms":1788513295000,"timestamp_seconds":1788513295,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb31a98"} 
[2026-09-04 14:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-09-04 14:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859398144001,"66":12461,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859398144001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:47:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:47:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859398144001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":171039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:47:02] local.INFO: GPS data processed {"connection_id":171039,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:47:02] local.INFO: Acknowledgment sent {"connection_id":171039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:47:03] local.INFO: TCP Data received {"connection_id":171039,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb36ca0012d196700071fee10003e005928..."} 
[2026-09-04 14:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb36ca0012d196700071fee10003e005928..."} 
[2026-09-04 14:47:03] local.INFO: Processing buffer {"connection_id":171039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb36ca0012d196700071fee10003e005928..."} 
[2026-09-04 14:47:03] local.INFO: Packet analysis {"connection_id":171039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:47:03] local.INFO: Extracted packet for processing {"connection_id":171039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859403520001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788513316000,"timestamp_ms":1788513316000,"timestamp_seconds":1788513316,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb36ca0"} 
[2026-09-04 14:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859403520001,"66":12461,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859403520001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:47:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:47:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859403520001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":171039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:47:04] local.INFO: GPS data processed {"connection_id":171039,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:47:04] local.INFO: Acknowledgment sent {"connection_id":171039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:47:04] local.INFO: TCP Data received {"connection_id":173445,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:47:04] local.INFO: Processing buffer {"connection_id":173445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:47:04] local.INFO: IMEI packet received {"connection_id":173445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":173445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:47:06] local.INFO: TCP Data received {"connection_id":173445,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:47:06] local.INFO: Processing buffer {"connection_id":173445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:47:06] local.INFO: Packet analysis {"connection_id":173445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:47:06] local.INFO: Extracted packet for processing {"connection_id":173445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:47:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859332352001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513318000,"timestamp_ms":1788513318000,"timestamp_seconds":1788513318,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb37470"} 
[2026-09-04 14:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 14:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859332352001,"66":26180,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859332352001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:47:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859332352001,"power":26180,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":173445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:47:06] local.INFO: GPS data processed {"connection_id":173445,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:47:06] local.INFO: Acknowledgment sent {"connection_id":173445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:47:26] local.INFO: TCP Data received {"connection_id":171038,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:47:26] local.INFO: Processing buffer {"connection_id":171038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb06f00012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:47:26] local.INFO: Packet analysis {"connection_id":171038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:47:26] local.INFO: Extracted packet for processing {"connection_id":171038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb0"} 
[2026-09-04 14:47:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859281664001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788513120000,"timestamp_ms":1788513120000,"timestamp_seconds":1788513120,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb06f00"} 
[2026-09-04 14:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 14:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859281664001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859281664001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:47:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:47:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859281664001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":171038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:47:26] local.INFO: GPS data processed {"connection_id":171038,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:47:26] local.INFO: Acknowledgment sent {"connection_id":171038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:47:37] local.INFO: TCP Data received {"connection_id":173445,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:47:37] local.INFO: Processing buffer {"connection_id":173445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:47:37] local.INFO: Packet analysis {"connection_id":173445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:47:37] local.INFO: Extracted packet for processing {"connection_id":173445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:47:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859332352001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788513318000,"timestamp_ms":1788513318000,"timestamp_seconds":1788513318,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb37470"} 
[2026-09-04 14:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 14:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859332352001,"66":26180,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859332352001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:47:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:47:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859332352001,"power":26180,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":173445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:47:37] local.INFO: GPS data processed {"connection_id":173445,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:47:37] local.INFO: Acknowledgment sent {"connection_id":173445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:47:48] local.INFO: TCP Data received {"connection_id":172144,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:47:48] local.INFO: Processing buffer {"connection_id":172144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:47:48] local.INFO: IMEI packet received {"connection_id":172144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":172144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:47:53] local.INFO: TCP Data received {"connection_id":172144,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:47:53] local.INFO: Processing buffer {"connection_id":172144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:47:53] local.INFO: IMEI packet received {"connection_id":172144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":172144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:47:54] local.INFO: TCP Data received {"connection_id":173446,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:47:54] local.INFO: Processing buffer {"connection_id":173446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:47:54] local.INFO: IMEI packet received {"connection_id":173446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":173446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:47:55] local.INFO: TCP Data received {"connection_id":172144,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb3bea8012d196700071fee10003e005928..."} 
[2026-09-04 14:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb3bea8012d196700071fee10003e005928..."} 
[2026-09-04 14:47:55] local.INFO: Processing buffer {"connection_id":172144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb3bea8012d196700071fee10003e005928..."} 
[2026-09-04 14:47:55] local.INFO: Packet analysis {"connection_id":172144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:47:55] local.INFO: Extracted packet for processing {"connection_id":172144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:47:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859408896001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788513337000,"timestamp_ms":1788513337000,"timestamp_seconds":1788513337,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb3bea8"} 
[2026-09-04 14:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859408896001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859408896001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:47:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:47:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859408896001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":172144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:47:55] local.INFO: GPS data processed {"connection_id":172144,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:47:55] local.INFO: Acknowledgment sent {"connection_id":172144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:47:59] local.INFO: TCP Data received {"connection_id":173446,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:47:59] local.INFO: Processing buffer {"connection_id":173446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:47:59] local.INFO: IMEI packet received {"connection_id":173446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":173446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:48:00] local.INFO: TCP Data received {"connection_id":173446,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:48:00] local.INFO: Processing buffer {"connection_id":173446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:48:00] local.INFO: Packet analysis {"connection_id":173446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:48:00] local.INFO: Extracted packet for processing {"connection_id":173446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:48:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859358720001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788513421000,"timestamp_ms":1788513421000,"timestamp_seconds":1788513421,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb506c8"} 
[2026-09-04 14:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859358720001,"66":25451,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859358720001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:48:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:48:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859358720001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":173446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762996,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:48:00] local.INFO: GPS data processed {"connection_id":173446,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:48:00] local.INFO: Acknowledgment sent {"connection_id":173446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:48:04] local.INFO: TCP Data received {"connection_id":173446,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:48:04] local.INFO: Processing buffer {"connection_id":173446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:48:04] local.INFO: Packet analysis {"connection_id":173446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:48:04] local.INFO: Extracted packet for processing {"connection_id":173446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859358720001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788513421000,"timestamp_ms":1788513421000,"timestamp_seconds":1788513421,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb506c8"} 
[2026-09-04 14:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859358720001,"66":25451,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859358720001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:48:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:48:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859358720001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":173446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:48:04] local.INFO: GPS data processed {"connection_id":173446,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:48:04] local.INFO: Acknowledgment sent {"connection_id":173446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:48:04] local.INFO: TCP Data received {"connection_id":173447,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:48:04] local.INFO: Processing buffer {"connection_id":173447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:48:04] local.INFO: IMEI packet received {"connection_id":173447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":173447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:48:09] local.INFO: TCP Data received {"connection_id":173447,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:48:09] local.INFO: Processing buffer {"connection_id":173447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:48:09] local.INFO: IMEI packet received {"connection_id":173447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":173447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:48:11] local.INFO: TCP Data received {"connection_id":173447,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:48:11] local.INFO: Processing buffer {"connection_id":173447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:48:11] local.INFO: Packet analysis {"connection_id":173447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:48:11] local.INFO: Extracted packet for processing {"connection_id":173447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:48:11] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859332352001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788513318000,"timestamp_ms":1788513318000,"timestamp_seconds":1788513318,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb37470"} 
[2026-09-04 14:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 14:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859332352001,"66":26180,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859332352001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:48:11] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:48:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859332352001,"power":26180,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":173447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:48:11] local.INFO: GPS data processed {"connection_id":173447,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:48:11] local.INFO: Acknowledgment sent {"connection_id":173447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:48:27] local.INFO: TCP Data received {"connection_id":172144,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb410b0012d196700071fee10003e00592b..."} 
[2026-09-04 14:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb410b0012d196700071fee10003e00592b..."} 
[2026-09-04 14:48:27] local.INFO: Processing buffer {"connection_id":172144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb410b0012d196700071fee10003e00592b..."} 
[2026-09-04 14:48:27] local.INFO: Packet analysis {"connection_id":172144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb4"} 
[2026-09-04 14:48:27] local.INFO: Extracted packet for processing {"connection_id":172144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb4"} 
[2026-09-04 14:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859414272001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788513358000,"timestamp_ms":1788513358000,"timestamp_seconds":1788513358,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb410b0"} 
[2026-09-04 14:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 14:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859414272001,"66":12461,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859414272001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:48:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:48:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859414272001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":172144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":762999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:48:27] local.INFO: GPS data processed {"connection_id":172144,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:48:27] local.INFO: Acknowledgment sent {"connection_id":172144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:48:42] local.INFO: TCP Data received {"connection_id":173447,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:48:42] local.INFO: Processing buffer {"connection_id":173447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:48:42] local.INFO: Packet analysis {"connection_id":173447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:48:42] local.INFO: Extracted packet for processing {"connection_id":173447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:48:42] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859332352001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788513318000,"timestamp_ms":1788513318000,"timestamp_seconds":1788513318,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb37470"} 
[2026-09-04 14:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 14:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859332352001,"66":26180,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859332352001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:48:42] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859332352001,"power":26180,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":173447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:48:42] local.INFO: GPS data processed {"connection_id":173447,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:48:42] local.INFO: Acknowledgment sent {"connection_id":173447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:48:48] local.INFO: TCP Data received {"connection_id":171040,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:48:48] local.INFO: Processing buffer {"connection_id":171040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:48:48] local.INFO: IMEI packet received {"connection_id":171040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":171040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:48:49] local.INFO: TCP Data received {"connection_id":172145,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:48:49] local.INFO: Processing buffer {"connection_id":172145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:48:49] local.INFO: IMEI packet received {"connection_id":172145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":172145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:48:54] local.INFO: TCP Data received {"connection_id":172145,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:48:54] local.INFO: Processing buffer {"connection_id":172145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:48:54] local.INFO: IMEI packet received {"connection_id":172145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":172145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:48:55] local.INFO: TCP Data received {"connection_id":172145,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:48:55] local.INFO: Processing buffer {"connection_id":172145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:48:55] local.INFO: Packet analysis {"connection_id":172145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:48:55] local.INFO: Extracted packet for processing {"connection_id":172145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:48:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859358720001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788513421000,"timestamp_ms":1788513421000,"timestamp_seconds":1788513421,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb506c8"} 
[2026-09-04 14:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859358720001,"66":25451,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859358720001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:48:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859358720001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":172145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763001,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:48:55] local.INFO: GPS data processed {"connection_id":172145,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:48:55] local.INFO: Acknowledgment sent {"connection_id":172145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:48:59] local.INFO: TCP Data received {"connection_id":171040,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:48:59] local.INFO: Processing buffer {"connection_id":171040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:48:59] local.INFO: IMEI packet received {"connection_id":171040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":171040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:49:00] local.INFO: TCP Data received {"connection_id":171041,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:49:00] local.INFO: Processing buffer {"connection_id":171041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:49:00] local.INFO: IMEI packet received {"connection_id":171041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":171041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:49:01] local.INFO: TCP Data received {"connection_id":171040,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb462b8012d196700071fee10003e005929..."} 
[2026-09-04 14:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb462b8012d196700071fee10003e005929..."} 
[2026-09-04 14:49:01] local.INFO: Processing buffer {"connection_id":171040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb462b8012d196700071fee10003e005929..."} 
[2026-09-04 14:49:01] local.INFO: Packet analysis {"connection_id":171040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb4"} 
[2026-09-04 14:49:01] local.INFO: Extracted packet for processing {"connection_id":171040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb4"} 
[2026-09-04 14:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859419648001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788513379000,"timestamp_ms":1788513379000,"timestamp_seconds":1788513379,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb462b8"} 
[2026-09-04 14:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859419648001,"66":12461,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859419648001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:49:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:49:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859419648001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":171040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:49:01] local.INFO: GPS data processed {"connection_id":171040,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:49:01] local.INFO: Acknowledgment sent {"connection_id":171040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:49:04] local.INFO: TCP Data received {"connection_id":171041,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:49:04] local.INFO: Processing buffer {"connection_id":171041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:49:04] local.INFO: IMEI packet received {"connection_id":171041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":171041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:49:06] local.INFO: TCP Data received {"connection_id":171041,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:49:06] local.INFO: Processing buffer {"connection_id":171041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:49:06] local.INFO: Packet analysis {"connection_id":171041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:49:06] local.INFO: Extracted packet for processing {"connection_id":171041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:49:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859332352001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513318000,"timestamp_ms":1788513318000,"timestamp_seconds":1788513318,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb37470"} 
[2026-09-04 14:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 14:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859332352001,"66":26180,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859332352001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:49:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:49:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859332352001,"power":26180,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":171041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:49:06] local.INFO: GPS data processed {"connection_id":171041,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:49:06] local.INFO: Acknowledgment sent {"connection_id":171041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:49:26] local.INFO: TCP Data received {"connection_id":172145,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:49:26] local.INFO: Processing buffer {"connection_id":172145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:49:26] local.INFO: Packet analysis {"connection_id":172145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:49:26] local.INFO: Extracted packet for processing {"connection_id":172145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:49:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859358720001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788513421000,"timestamp_ms":1788513421000,"timestamp_seconds":1788513421,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb506c8"} 
[2026-09-04 14:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859358720001,"66":25451,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859358720001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:49:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:49:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859358720001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":172145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763004,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:49:27] local.INFO: GPS data processed {"connection_id":172145,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:49:27] local.INFO: Acknowledgment sent {"connection_id":172145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:49:33] local.INFO: TCP Data received {"connection_id":171040,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb4b4c0012d196700071fee10003e00592a..."} 
[2026-09-04 14:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb4b4c0012d196700071fee10003e00592a..."} 
[2026-09-04 14:49:33] local.INFO: Processing buffer {"connection_id":171040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb4b4c0012d196700071fee10003e00592a..."} 
[2026-09-04 14:49:33] local.INFO: Packet analysis {"connection_id":171040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb4"} 
[2026-09-04 14:49:33] local.INFO: Extracted packet for processing {"connection_id":171040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb4"} 
[2026-09-04 14:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859425024001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788513400000,"timestamp_ms":1788513400000,"timestamp_seconds":1788513400,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb4b4c0"} 
[2026-09-04 14:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859425024001,"66":12461,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859425024001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:49:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:49:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859425024001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":171040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:49:33] local.INFO: GPS data processed {"connection_id":171040,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:49:33] local.INFO: Acknowledgment sent {"connection_id":171040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:49:39] local.INFO: TCP Data received {"connection_id":171041,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:49:39] local.INFO: Processing buffer {"connection_id":171041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:49:39] local.INFO: Packet analysis {"connection_id":171041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:49:39] local.INFO: Extracted packet for processing {"connection_id":171041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:49:39] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859332352001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788513318000,"timestamp_ms":1788513318000,"timestamp_seconds":1788513318,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb37470"} 
[2026-09-04 14:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 14:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859332352001,"66":26180,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859332352001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:49:39] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:49:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859332352001,"power":26180,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":171041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:49:39] local.INFO: GPS data processed {"connection_id":171041,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:49:39] local.INFO: Acknowledgment sent {"connection_id":171041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:49:48] local.INFO: TCP Data received {"connection_id":170729,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:49:48] local.INFO: Processing buffer {"connection_id":170729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:49:48] local.INFO: IMEI packet received {"connection_id":170729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":170729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:49:49] local.INFO: TCP Data received {"connection_id":171042,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:49:49] local.INFO: Processing buffer {"connection_id":171042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:49:49] local.INFO: IMEI packet received {"connection_id":171042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":171042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:49:54] local.INFO: TCP Data received {"connection_id":170729,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:49:54] local.INFO: Processing buffer {"connection_id":170729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:49:54] local.INFO: IMEI packet received {"connection_id":170729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":170729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:49:54] local.INFO: TCP Data received {"connection_id":171042,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:49:54] local.INFO: Processing buffer {"connection_id":171042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:49:54] local.INFO: IMEI packet received {"connection_id":171042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":171042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:49:55] local.INFO: TCP Data received {"connection_id":170729,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb506c8012d196700071fee10003e00592a..."} 
[2026-09-04 14:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb506c8012d196700071fee10003e00592a..."} 
[2026-09-04 14:49:55] local.INFO: Processing buffer {"connection_id":170729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb506c8012d196700071fee10003e00592a..."} 
[2026-09-04 14:49:55] local.INFO: Packet analysis {"connection_id":170729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:49:55] local.INFO: Extracted packet for processing {"connection_id":170729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:49:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859430400001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788513421000,"timestamp_ms":1788513421000,"timestamp_seconds":1788513421,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb506c8"} 
[2026-09-04 14:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859430400001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859430400001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:49:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:49:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859430400001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":170729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:49:55] local.INFO: GPS data processed {"connection_id":170729,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:49:55] local.INFO: Acknowledgment sent {"connection_id":170729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:49:57] local.INFO: TCP Data received {"connection_id":171042,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:49:57] local.INFO: Processing buffer {"connection_id":171042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:49:57] local.INFO: Packet analysis {"connection_id":171042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:49:57] local.INFO: Extracted packet for processing {"connection_id":171042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:49:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859358720001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788513421000,"timestamp_ms":1788513421000,"timestamp_seconds":1788513421,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb506c8"} 
[2026-09-04 14:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859358720001,"66":25451,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859358720001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:49:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:49:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859358720001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":171042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763008,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:49:57] local.INFO: GPS data processed {"connection_id":171042,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:49:57] local.INFO: Acknowledgment sent {"connection_id":171042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:49:59] local.INFO: TCP Data received {"connection_id":171042,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:49:59] local.INFO: Processing buffer {"connection_id":171042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:49:59] local.INFO: Packet analysis {"connection_id":171042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:49:59] local.INFO: Extracted packet for processing {"connection_id":171042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:49:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859358720001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788513421000,"timestamp_ms":1788513421000,"timestamp_seconds":1788513421,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb506c8"} 
[2026-09-04 14:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859358720001,"66":25451,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859358720001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:49:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859358720001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":171042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763009,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:49:59] local.INFO: GPS data processed {"connection_id":171042,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:49:59] local.INFO: Acknowledgment sent {"connection_id":171042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:50:00] local.INFO: TCP Data received {"connection_id":171043,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:50:00] local.INFO: Processing buffer {"connection_id":171043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:50:00] local.INFO: IMEI packet received {"connection_id":171043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":171043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:50:04] local.INFO: TCP Data received {"connection_id":171043,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:50:04] local.INFO: Processing buffer {"connection_id":171043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:50:04] local.INFO: IMEI packet received {"connection_id":171043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":171043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:50:06] local.INFO: TCP Data received {"connection_id":171043,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:50:06] local.INFO: Processing buffer {"connection_id":171043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:50:06] local.INFO: Packet analysis {"connection_id":171043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:50:06] local.INFO: Extracted packet for processing {"connection_id":171043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:50:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859332352001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513318000,"timestamp_ms":1788513318000,"timestamp_seconds":1788513318,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb37470"} 
[2026-09-04 14:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 14:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859332352001,"66":26180,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859332352001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:50:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859332352001,"power":26180,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":171043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:50:06] local.INFO: GPS data processed {"connection_id":171043,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:50:06] local.INFO: Acknowledgment sent {"connection_id":171043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:50:27] local.INFO: TCP Data received {"connection_id":170729,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb558d0012d196700071fee10003e005927..."} 
[2026-09-04 14:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb558d0012d196700071fee10003e005927..."} 
[2026-09-04 14:50:27] local.INFO: Processing buffer {"connection_id":170729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb558d0012d196700071fee10003e005927..."} 
[2026-09-04 14:50:27] local.INFO: Packet analysis {"connection_id":170729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:50:27] local.INFO: Extracted packet for processing {"connection_id":170729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859435776001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788513442000,"timestamp_ms":1788513442000,"timestamp_seconds":1788513442,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb558d0"} 
[2026-09-04 14:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 14:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859435776001,"66":12439,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859435776001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:50:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:50:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859435776001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":170729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:50:27] local.INFO: GPS data processed {"connection_id":170729,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:50:27] local.INFO: Acknowledgment sent {"connection_id":170729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:50:31] local.INFO: TCP Data received {"connection_id":171042,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:50:31] local.INFO: Processing buffer {"connection_id":171042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:50:31] local.INFO: Packet analysis {"connection_id":171042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:50:31] local.INFO: Extracted packet for processing {"connection_id":171042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859358720001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788513421000,"timestamp_ms":1788513421000,"timestamp_seconds":1788513421,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb506c8"} 
[2026-09-04 14:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859358720001,"66":25451,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859358720001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:50:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:50:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859358720001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":171042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:50:31] local.INFO: GPS data processed {"connection_id":171042,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:50:31] local.INFO: Acknowledgment sent {"connection_id":171042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:50:37] local.INFO: TCP Data received {"connection_id":171043,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:50:37] local.INFO: Processing buffer {"connection_id":171043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb37470012cb2a48007751650001f00292e..."} 
[2026-09-04 14:50:37] local.INFO: Packet analysis {"connection_id":171043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:50:37] local.INFO: Extracted packet for processing {"connection_id":171043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb3"} 
[2026-09-04 14:50:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859332352001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788513318000,"timestamp_ms":1788513318000,"timestamp_seconds":1788513318,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb37470"} 
[2026-09-04 14:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 14:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859332352001,"66":26180,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859332352001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:50:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:50:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859332352001,"power":26180,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":171043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:50:37] local.INFO: GPS data processed {"connection_id":171043,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:50:37] local.INFO: Acknowledgment sent {"connection_id":171043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:50:48] local.INFO: TCP Data received {"connection_id":173448,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:50:48] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:50:48] local.INFO: IMEI packet received {"connection_id":173448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":173448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:50:49] local.INFO: TCP Data received {"connection_id":172146,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:50:49] local.INFO: Processing buffer {"connection_id":172146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:50:49] local.INFO: IMEI packet received {"connection_id":172146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":172146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:50:49] local.INFO: TCP Data received {"connection_id":173448,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:50:49] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:50:49] local.INFO: IMEI packet received {"connection_id":173448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":173448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:50:53] local.INFO: TCP Data received {"connection_id":173448,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:50:53] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:50:53] local.INFO: IMEI packet received {"connection_id":173448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":173448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:50:54] local.INFO: TCP Data received {"connection_id":172146,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:50:54] local.INFO: Processing buffer {"connection_id":172146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:50:54] local.INFO: IMEI packet received {"connection_id":172146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":172146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:50:55] local.INFO: TCP Data received {"connection_id":173448,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb5aad8012d196700071fee10003e005929..."} 
[2026-09-04 14:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb5aad8012d196700071fee10003e005929..."} 
[2026-09-04 14:50:55] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb5aad8012d196700071fee10003e005929..."} 
[2026-09-04 14:50:55] local.INFO: Packet analysis {"connection_id":173448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:50:55] local.INFO: Extracted packet for processing {"connection_id":173448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859441152001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788513463000,"timestamp_ms":1788513463000,"timestamp_seconds":1788513463,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb5aad8"} 
[2026-09-04 14:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 14:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859441152001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859441152001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:50:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:50:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859441152001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":173448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:50:55] local.INFO: GPS data processed {"connection_id":173448,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:50:55] local.INFO: Acknowledgment sent {"connection_id":173448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:50:56] local.INFO: TCP Data received {"connection_id":172146,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:50:56] local.INFO: Processing buffer {"connection_id":172146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:50:56] local.INFO: Packet analysis {"connection_id":172146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:50:56] local.INFO: Extracted packet for processing {"connection_id":172146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:50:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859358720001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788513421000,"timestamp_ms":1788513421000,"timestamp_seconds":1788513421,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb506c8"} 
[2026-09-04 14:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859358720001,"66":25451,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859358720001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:50:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:50:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859358720001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":172146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:50:56] local.INFO: GPS data processed {"connection_id":172146,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:50:56] local.INFO: Acknowledgment sent {"connection_id":172146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:50:59] local.INFO: TCP Data received {"connection_id":170730,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:50:59] local.INFO: Processing buffer {"connection_id":170730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:50:59] local.INFO: IMEI packet received {"connection_id":170730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":170730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:51:04] local.INFO: TCP Data received {"connection_id":170730,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:51:04] local.INFO: Processing buffer {"connection_id":170730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:51:04] local.INFO: IMEI packet received {"connection_id":170730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":170730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:51:06] local.INFO: TCP Data received {"connection_id":170730,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:51:06] local.INFO: Processing buffer {"connection_id":170730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:51:06] local.INFO: Packet analysis {"connection_id":170730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:51:06] local.INFO: Extracted packet for processing {"connection_id":170730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:51:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859409408001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:51:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513619000,"timestamp_ms":1788513619000,"timestamp_seconds":1788513619,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb80c38"} 
[2026-09-04 14:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 14:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859409408001,"66":26115,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859409408001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:51:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:51:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859409408001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":170730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:51:06] local.INFO: GPS data processed {"connection_id":170730,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:51:06] local.INFO: Acknowledgment sent {"connection_id":170730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:51:29] local.INFO: TCP Data received {"connection_id":173448,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb5fce0012d196700071fee10003e00592a..."} 
[2026-09-04 14:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb5fce0012d196700071fee10003e00592a..."} 
[2026-09-04 14:51:29] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb5fce0012d196700071fee10003e00592a..."} 
[2026-09-04 14:51:29] local.INFO: Packet analysis {"connection_id":173448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:51:29] local.INFO: Extracted packet for processing {"connection_id":173448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:51:29] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859446528001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788513484000,"timestamp_ms":1788513484000,"timestamp_seconds":1788513484,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb5fce0"} 
[2026-09-04 14:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 14:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859446528001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859446528001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:51:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:51:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859446528001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":173448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:51:29] local.INFO: GPS data processed {"connection_id":173448,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:51:29] local.INFO: Acknowledgment sent {"connection_id":173448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:51:30] local.INFO: TCP Data received {"connection_id":172146,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:51:30] local.INFO: Processing buffer {"connection_id":172146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:51:30] local.INFO: Packet analysis {"connection_id":172146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:51:30] local.INFO: Extracted packet for processing {"connection_id":172146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:51:30] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859358720001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788513421000,"timestamp_ms":1788513421000,"timestamp_seconds":1788513421,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb506c8"} 
[2026-09-04 14:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859358720001,"66":25451,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859358720001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:51:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:51:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859358720001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":172146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763018,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:51:30] local.INFO: GPS data processed {"connection_id":172146,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:51:30] local.INFO: Acknowledgment sent {"connection_id":172146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:51:37] local.INFO: TCP Data received {"connection_id":170730,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:51:37] local.INFO: Processing buffer {"connection_id":170730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:51:37] local.INFO: Packet analysis {"connection_id":170730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:51:37] local.INFO: Extracted packet for processing {"connection_id":170730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859409408001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:51:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788513619000,"timestamp_ms":1788513619000,"timestamp_seconds":1788513619,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb80c38"} 
[2026-09-04 14:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 14:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859409408001,"66":26115,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859409408001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:51:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:51:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859409408001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":170730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:51:37] local.INFO: GPS data processed {"connection_id":170730,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:51:37] local.INFO: Acknowledgment sent {"connection_id":170730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:51:51] local.INFO: TCP Data received {"connection_id":173449,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:51:51] local.INFO: Processing buffer {"connection_id":173449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:51:51] local.INFO: IMEI packet received {"connection_id":173449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":173449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:51:53] local.INFO: TCP Data received {"connection_id":173449,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:51:53] local.INFO: Processing buffer {"connection_id":173449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:51:53] local.INFO: IMEI packet received {"connection_id":173449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":173449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:51:54] local.INFO: TCP Data received {"connection_id":171044,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:51:54] local.INFO: Processing buffer {"connection_id":171044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:51:54] local.INFO: IMEI packet received {"connection_id":171044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":171044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:51:58] local.INFO: TCP Data received {"connection_id":173449,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:51:58] local.INFO: Processing buffer {"connection_id":173449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:51:58] local.INFO: IMEI packet received {"connection_id":173449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":173449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:51:59] local.INFO: TCP Data received {"connection_id":171044,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:51:59] local.INFO: Processing buffer {"connection_id":171044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:51:59] local.INFO: IMEI packet received {"connection_id":171044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":171044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:51:59] local.INFO: TCP Data received {"connection_id":173450,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:51:59] local.INFO: Processing buffer {"connection_id":173450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:51:59] local.INFO: IMEI packet received {"connection_id":173450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":173450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:52:00] local.INFO: TCP Data received {"connection_id":171044,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:52:00] local.INFO: Processing buffer {"connection_id":171044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:52:00] local.INFO: Packet analysis {"connection_id":171044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:52:00] local.INFO: Extracted packet for processing {"connection_id":171044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:52:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859358720001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788513421000,"timestamp_ms":1788513421000,"timestamp_seconds":1788513421,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb506c8"} 
[2026-09-04 14:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859358720001,"66":25451,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859358720001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:52:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:52:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859358720001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":171044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763020,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:52:00] local.INFO: GPS data processed {"connection_id":171044,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:52:00] local.INFO: Acknowledgment sent {"connection_id":171044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:52:03] local.INFO: TCP Data received {"connection_id":173449,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb64ee8012d196700071fee10003e00592a..."} 
[2026-09-04 14:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb64ee8012d196700071fee10003e00592a..."} 
[2026-09-04 14:52:03] local.INFO: Processing buffer {"connection_id":173449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb64ee8012d196700071fee10003e00592a..."} 
[2026-09-04 14:52:03] local.INFO: Packet analysis {"connection_id":173449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb6"} 
[2026-09-04 14:52:03] local.INFO: Extracted packet for processing {"connection_id":173449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb6"} 
[2026-09-04 14:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859451904001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788513505000,"timestamp_ms":1788513505000,"timestamp_seconds":1788513505,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb64ee8"} 
[2026-09-04 14:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 14:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859451904001,"66":11808,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859451904001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:52:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:52:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859451904001,"power":11808,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":173449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:52:04] local.INFO: GPS data processed {"connection_id":173449,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:52:04] local.INFO: Acknowledgment sent {"connection_id":173449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:52:04] local.INFO: TCP Data received {"connection_id":171044,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:52:04] local.INFO: Processing buffer {"connection_id":171044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb506c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:52:04] local.INFO: Packet analysis {"connection_id":171044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:52:04] local.INFO: Extracted packet for processing {"connection_id":171044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb5"} 
[2026-09-04 14:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859358720001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788513421000,"timestamp_ms":1788513421000,"timestamp_seconds":1788513421,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb506c8"} 
[2026-09-04 14:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 14:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859358720001,"66":25451,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859358720001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:52:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:52:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859358720001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:52:04] local.INFO: TCP Data received {"connection_id":173450,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:52:04] local.INFO: Processing buffer {"connection_id":173450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:52:04] local.INFO: IMEI packet received {"connection_id":173450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":173450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":171044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763022,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:52:04] local.INFO: GPS data processed {"connection_id":171044,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:52:04] local.INFO: Acknowledgment sent {"connection_id":171044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:52:04] local.INFO: TCP Data received {"connection_id":173449,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb6a0f0012d196700071fee10003e00592a..."} 
[2026-09-04 14:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb6a0f0012d196700071fee10003e00592a..."} 
[2026-09-04 14:52:04] local.INFO: Processing buffer {"connection_id":173449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb6a0f0012d196700071fee10003e00592a..."} 
[2026-09-04 14:52:04] local.INFO: Packet analysis {"connection_id":173449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb6"} 
[2026-09-04 14:52:04] local.INFO: Extracted packet for processing {"connection_id":173449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb6"} 
[2026-09-04 14:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859457280001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788513526000,"timestamp_ms":1788513526000,"timestamp_seconds":1788513526,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb6a0f0"} 
[2026-09-04 14:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-04 14:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859457280001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859457280001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:52:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:52:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859457280001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":173449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:52:05] local.INFO: GPS data processed {"connection_id":173449,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:52:05] local.INFO: Acknowledgment sent {"connection_id":173449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:52:06] local.INFO: TCP Data received {"connection_id":173450,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:52:06] local.INFO: Processing buffer {"connection_id":173450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:52:06] local.INFO: Packet analysis {"connection_id":173450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:52:06] local.INFO: Extracted packet for processing {"connection_id":173450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:52:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859409408001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513619000,"timestamp_ms":1788513619000,"timestamp_seconds":1788513619,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb80c38"} 
[2026-09-04 14:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 14:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859409408001,"66":26115,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859409408001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:52:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:52:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859409408001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":173450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:52:06] local.INFO: GPS data processed {"connection_id":173450,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:52:06] local.INFO: Acknowledgment sent {"connection_id":173450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:52:09] local.INFO: TCP Data received {"connection_id":173450,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:52:09] local.INFO: Processing buffer {"connection_id":173450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:52:09] local.INFO: Packet analysis {"connection_id":173450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:52:09] local.INFO: Extracted packet for processing {"connection_id":173450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859409408001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788513619000,"timestamp_ms":1788513619000,"timestamp_seconds":1788513619,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb80c38"} 
[2026-09-04 14:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 14:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859409408001,"66":26115,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859409408001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:52:09] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:52:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859409408001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":173450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:52:09] local.INFO: GPS data processed {"connection_id":173450,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:52:09] local.INFO: Acknowledgment sent {"connection_id":173450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:52:40] local.INFO: TCP Data received {"connection_id":173450,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:52:40] local.INFO: Processing buffer {"connection_id":173450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:52:40] local.INFO: Packet analysis {"connection_id":173450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:52:40] local.INFO: Extracted packet for processing {"connection_id":173450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:52:40] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859409408001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788513619000,"timestamp_ms":1788513619000,"timestamp_seconds":1788513619,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb80c38"} 
[2026-09-04 14:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 14:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859409408001,"66":26115,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859409408001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:52:40] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:52:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859409408001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":173450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:52:40] local.INFO: GPS data processed {"connection_id":173450,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:52:40] local.INFO: Acknowledgment sent {"connection_id":173450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:52:48] local.INFO: TCP Data received {"connection_id":173451,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:52:48] local.INFO: Processing buffer {"connection_id":173451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:52:48] local.INFO: IMEI packet received {"connection_id":173451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":173451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:52:49] local.INFO: TCP Data received {"connection_id":171045,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:52:49] local.INFO: Processing buffer {"connection_id":171045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:52:49] local.INFO: IMEI packet received {"connection_id":171045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":171045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:52:54] local.INFO: TCP Data received {"connection_id":173451,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:52:54] local.INFO: Processing buffer {"connection_id":173451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:52:54] local.INFO: IMEI packet received {"connection_id":173451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":173451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:52:54] local.INFO: TCP Data received {"connection_id":171045,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:52:54] local.INFO: Processing buffer {"connection_id":171045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:52:54] local.INFO: IMEI packet received {"connection_id":171045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":171045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:52:55] local.INFO: TCP Data received {"connection_id":173451,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb6f2f8012d196700071fee10003e00592a..."} 
[2026-09-04 14:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb6f2f8012d196700071fee10003e00592a..."} 
[2026-09-04 14:52:55] local.INFO: Processing buffer {"connection_id":173451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb6f2f8012d196700071fee10003e00592a..."} 
[2026-09-04 14:52:55] local.INFO: Packet analysis {"connection_id":173451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb6"} 
[2026-09-04 14:52:55] local.INFO: Extracted packet for processing {"connection_id":173451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb6"} 
[2026-09-04 14:52:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859462656001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788513547000,"timestamp_ms":1788513547000,"timestamp_seconds":1788513547,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb6f2f8"} 
[2026-09-04 14:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 14:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859462656001,"66":12461,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859462656001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:52:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:52:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859462656001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":173451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:52:55] local.INFO: GPS data processed {"connection_id":173451,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:52:55] local.INFO: Acknowledgment sent {"connection_id":173451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:52:56] local.INFO: TCP Data received {"connection_id":171045,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:52:56] local.INFO: Processing buffer {"connection_id":171045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:52:56] local.INFO: Packet analysis {"connection_id":171045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:52:56] local.INFO: Extracted packet for processing {"connection_id":171045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:52:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859435776001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788513722000,"timestamp_ms":1788513722000,"timestamp_seconds":1788513722,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb99e90"} 
[2026-09-04 14:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 14:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859435776001,"66":25234,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859435776001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:52:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:52:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859435776001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":171045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763028,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:52:56] local.INFO: GPS data processed {"connection_id":171045,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:52:56] local.INFO: Acknowledgment sent {"connection_id":171045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:52:59] local.INFO: TCP Data received {"connection_id":170731,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:52:59] local.INFO: Processing buffer {"connection_id":170731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:52:59] local.INFO: IMEI packet received {"connection_id":170731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":170731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:53:04] local.INFO: TCP Data received {"connection_id":170731,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:53:04] local.INFO: Processing buffer {"connection_id":170731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:53:04] local.INFO: IMEI packet received {"connection_id":170731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":170731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:53:06] local.INFO: TCP Data received {"connection_id":170731,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:53:06] local.INFO: Processing buffer {"connection_id":170731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:53:06] local.INFO: Packet analysis {"connection_id":170731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:53:06] local.INFO: Extracted packet for processing {"connection_id":170731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:53:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859409408001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513619000,"timestamp_ms":1788513619000,"timestamp_seconds":1788513619,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb80c38"} 
[2026-09-04 14:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 14:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859409408001,"66":26115,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859409408001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:53:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:53:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859409408001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":170731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:53:06] local.INFO: GPS data processed {"connection_id":170731,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:53:06] local.INFO: Acknowledgment sent {"connection_id":170731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:53:26] local.INFO: TCP Data received {"connection_id":171045,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:53:26] local.INFO: Processing buffer {"connection_id":171045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:53:26] local.INFO: Packet analysis {"connection_id":171045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:53:26] local.INFO: Extracted packet for processing {"connection_id":171045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:53:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859435776001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788513722000,"timestamp_ms":1788513722000,"timestamp_seconds":1788513722,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb99e90"} 
[2026-09-04 14:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 14:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859435776001,"66":25234,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859435776001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:53:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:53:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859435776001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":171045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:53:27] local.INFO: GPS data processed {"connection_id":171045,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:53:27] local.INFO: Acknowledgment sent {"connection_id":171045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:53:27] local.INFO: TCP Data received {"connection_id":173451,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb74500012d196700071fee10003e005927..."} 
[2026-09-04 14:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb74500012d196700071fee10003e005927..."} 
[2026-09-04 14:53:27] local.INFO: Processing buffer {"connection_id":173451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb74500012d196700071fee10003e005927..."} 
[2026-09-04 14:53:27] local.INFO: Packet analysis {"connection_id":173451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb7"} 
[2026-09-04 14:53:27] local.INFO: Extracted packet for processing {"connection_id":173451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb7"} 
[2026-09-04 14:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859468032001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788513568000,"timestamp_ms":1788513568000,"timestamp_seconds":1788513568,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb74500"} 
[2026-09-04 14:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859468032001,"66":12461,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859468032001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:53:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:53:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859468032001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":173451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:53:27] local.INFO: GPS data processed {"connection_id":173451,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:53:27] local.INFO: Acknowledgment sent {"connection_id":173451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:53:37] local.INFO: TCP Data received {"connection_id":170731,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:53:37] local.INFO: Processing buffer {"connection_id":170731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:53:37] local.INFO: Packet analysis {"connection_id":170731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:53:37] local.INFO: Extracted packet for processing {"connection_id":170731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:53:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859409408001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788513619000,"timestamp_ms":1788513619000,"timestamp_seconds":1788513619,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb80c38"} 
[2026-09-04 14:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 14:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859409408001,"66":26115,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859409408001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:53:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:53:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859409408001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":170731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:53:37] local.INFO: GPS data processed {"connection_id":170731,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:53:37] local.INFO: Acknowledgment sent {"connection_id":170731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:53:48] local.INFO: TCP Data received {"connection_id":170732,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:53:48] local.INFO: Processing buffer {"connection_id":170732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:53:48] local.INFO: IMEI packet received {"connection_id":170732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":170732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:53:49] local.INFO: TCP Data received {"connection_id":170733,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:53:49] local.INFO: Processing buffer {"connection_id":170733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:53:49] local.INFO: IMEI packet received {"connection_id":170733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":170733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:53:53] local.INFO: TCP Data received {"connection_id":170732,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:53:53] local.INFO: Processing buffer {"connection_id":170732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:53:53] local.INFO: IMEI packet received {"connection_id":170732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":170732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:53:54] local.INFO: TCP Data received {"connection_id":170733,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:53:54] local.INFO: Processing buffer {"connection_id":170733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:53:54] local.INFO: IMEI packet received {"connection_id":170733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":170733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:53:55] local.INFO: TCP Data received {"connection_id":170733,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:53:55] local.INFO: Processing buffer {"connection_id":170733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:53:55] local.INFO: Packet analysis {"connection_id":170733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:53:55] local.INFO: Extracted packet for processing {"connection_id":170733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:53:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859435776001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788513722000,"timestamp_ms":1788513722000,"timestamp_seconds":1788513722,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb99e90"} 
[2026-09-04 14:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 14:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859435776001,"66":25234,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859435776001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:53:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859435776001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":170733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763033,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:53:56] local.INFO: GPS data processed {"connection_id":170733,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:53:56] local.INFO: Acknowledgment sent {"connection_id":170733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:53:56] local.INFO: TCP Data received {"connection_id":170732,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb79708012d196700071fee10003e00592b..."} 
[2026-09-04 14:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb79708012d196700071fee10003e00592b..."} 
[2026-09-04 14:53:56] local.INFO: Processing buffer {"connection_id":170732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb79708012d196700071fee10003e00592b..."} 
[2026-09-04 14:53:56] local.INFO: Packet analysis {"connection_id":170732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb7"} 
[2026-09-04 14:53:56] local.INFO: Extracted packet for processing {"connection_id":170732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb7"} 
[2026-09-04 14:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859473408001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788513589000,"timestamp_ms":1788513589000,"timestamp_seconds":1788513589,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb79708"} 
[2026-09-04 14:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 14:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859473408001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859473408001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:53:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:53:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859473408001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":170732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:53:56] local.INFO: GPS data processed {"connection_id":170732,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:53:56] local.INFO: Acknowledgment sent {"connection_id":170732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:53:59] local.INFO: TCP Data received {"connection_id":171046,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:53:59] local.INFO: Processing buffer {"connection_id":171046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:53:59] local.INFO: IMEI packet received {"connection_id":171046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":171046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:54:04] local.INFO: TCP Data received {"connection_id":171046,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:54:04] local.INFO: Processing buffer {"connection_id":171046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:54:04] local.INFO: IMEI packet received {"connection_id":171046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":171046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:54:06] local.INFO: TCP Data received {"connection_id":171046,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:54:06] local.INFO: Processing buffer {"connection_id":171046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:54:06] local.INFO: Packet analysis {"connection_id":171046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:54:06] local.INFO: Extracted packet for processing {"connection_id":171046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:54:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859409408001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513619000,"timestamp_ms":1788513619000,"timestamp_seconds":1788513619,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb80c38"} 
[2026-09-04 14:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 14:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859409408001,"66":26115,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859409408001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:54:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:54:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:54:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859409408001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":171046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:54:06] local.INFO: GPS data processed {"connection_id":171046,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:54:06] local.INFO: Acknowledgment sent {"connection_id":171046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:54:10] local.INFO: TCP Data received {"connection_id":171046,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:54:10] local.INFO: Processing buffer {"connection_id":171046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:54:10] local.INFO: Packet analysis {"connection_id":171046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:54:10] local.INFO: Extracted packet for processing {"connection_id":171046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859409408001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788513619000,"timestamp_ms":1788513619000,"timestamp_seconds":1788513619,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb80c38"} 
[2026-09-04 14:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 14:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859409408001,"66":26115,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859409408001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:54:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859409408001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":171046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:54:10] local.INFO: GPS data processed {"connection_id":171046,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:54:10] local.INFO: Acknowledgment sent {"connection_id":171046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:54:26] local.INFO: TCP Data received {"connection_id":170733,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:54:26] local.INFO: Processing buffer {"connection_id":170733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:54:26] local.INFO: Packet analysis {"connection_id":170733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:54:26] local.INFO: Extracted packet for processing {"connection_id":170733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:54:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859435776001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788513722000,"timestamp_ms":1788513722000,"timestamp_seconds":1788513722,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb99e90"} 
[2026-09-04 14:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 14:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859435776001,"66":25234,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859435776001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:54:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:54:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859435776001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":170733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763037,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:54:27] local.INFO: GPS data processed {"connection_id":170733,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:54:27] local.INFO: Acknowledgment sent {"connection_id":170733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:54:27] local.INFO: TCP Data received {"connection_id":170732,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb7e910012d196700071fee10003e00592b..."} 
[2026-09-04 14:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb7e910012d196700071fee10003e00592b..."} 
[2026-09-04 14:54:27] local.INFO: Processing buffer {"connection_id":170732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb7e910012d196700071fee10003e00592b..."} 
[2026-09-04 14:54:27] local.INFO: Packet analysis {"connection_id":170732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb7"} 
[2026-09-04 14:54:27] local.INFO: Extracted packet for processing {"connection_id":170732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb7"} 
[2026-09-04 14:54:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859478784001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788513610000,"timestamp_ms":1788513610000,"timestamp_seconds":1788513610,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb7e910"} 
[2026-09-04 14:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 14:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859478784001,"66":12406,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859478784001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:54:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:54:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859478784001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":170732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:54:27] local.INFO: GPS data processed {"connection_id":170732,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:54:27] local.INFO: Acknowledgment sent {"connection_id":170732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:54:41] local.INFO: TCP Data received {"connection_id":171046,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:54:41] local.INFO: Processing buffer {"connection_id":171046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:54:41] local.INFO: Packet analysis {"connection_id":171046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:54:41] local.INFO: Extracted packet for processing {"connection_id":171046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:54:41] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859409408001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788513619000,"timestamp_ms":1788513619000,"timestamp_seconds":1788513619,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb80c38"} 
[2026-09-04 14:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 14:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859409408001,"66":26115,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859409408001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:54:41] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859409408001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":171046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:54:41] local.INFO: GPS data processed {"connection_id":171046,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:54:41] local.INFO: Acknowledgment sent {"connection_id":171046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:54:48] local.INFO: TCP Data received {"connection_id":173452,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:54:48] local.INFO: Processing buffer {"connection_id":173452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:54:48] local.INFO: IMEI packet received {"connection_id":173452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":173452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:54:49] local.INFO: TCP Data received {"connection_id":173453,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:54:49] local.INFO: Processing buffer {"connection_id":173453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:54:49] local.INFO: IMEI packet received {"connection_id":173453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":173453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:54:53] local.INFO: TCP Data received {"connection_id":173452,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:54:53] local.INFO: Processing buffer {"connection_id":173452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:54:53] local.INFO: IMEI packet received {"connection_id":173452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":173452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:54:54] local.INFO: TCP Data received {"connection_id":173453,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:54:54] local.INFO: Processing buffer {"connection_id":173453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:54:54] local.INFO: IMEI packet received {"connection_id":173453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":173453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:54:55] local.INFO: TCP Data received {"connection_id":173452,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb83b18012d196700071fee10003e005929..."} 
[2026-09-04 14:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb83b18012d196700071fee10003e005929..."} 
[2026-09-04 14:54:55] local.INFO: Processing buffer {"connection_id":173452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb83b18012d196700071fee10003e005929..."} 
[2026-09-04 14:54:55] local.INFO: Packet analysis {"connection_id":173452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:54:55] local.INFO: Extracted packet for processing {"connection_id":173452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859484160001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788513631000,"timestamp_ms":1788513631000,"timestamp_seconds":1788513631,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb83b18"} 
[2026-09-04 14:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 14:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859484160001,"66":12406,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859484160001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:54:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:54:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859484160001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":173452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:54:55] local.INFO: GPS data processed {"connection_id":173452,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:54:55] local.INFO: Acknowledgment sent {"connection_id":173452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:54:56] local.INFO: TCP Data received {"connection_id":173453,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:54:56] local.INFO: Processing buffer {"connection_id":173453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:54:56] local.INFO: Packet analysis {"connection_id":173453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:54:56] local.INFO: Extracted packet for processing {"connection_id":173453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:54:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859435776001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788513722000,"timestamp_ms":1788513722000,"timestamp_seconds":1788513722,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb99e90"} 
[2026-09-04 14:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 14:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859435776001,"66":25234,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859435776001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:54:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:54:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859435776001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":173453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:54:56] local.INFO: GPS data processed {"connection_id":173453,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:54:56] local.INFO: Acknowledgment sent {"connection_id":173453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:55:00] local.INFO: TCP Data received {"connection_id":172147,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:55:00] local.INFO: Processing buffer {"connection_id":172147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:55:00] local.INFO: IMEI packet received {"connection_id":172147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":172147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:55:04] local.INFO: TCP Data received {"connection_id":172147,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:55:04] local.INFO: Processing buffer {"connection_id":172147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:55:04] local.INFO: IMEI packet received {"connection_id":172147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":172147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:55:06] local.INFO: TCP Data received {"connection_id":172147,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:55:06] local.INFO: Processing buffer {"connection_id":172147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:55:06] local.INFO: Packet analysis {"connection_id":172147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:55:06] local.INFO: Extracted packet for processing {"connection_id":172147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:55:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859409408001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513619000,"timestamp_ms":1788513619000,"timestamp_seconds":1788513619,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb80c38"} 
[2026-09-04 14:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 14:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859409408001,"66":26115,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859409408001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:55:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:55:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859409408001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":172147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:55:06] local.INFO: GPS data processed {"connection_id":172147,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:55:06] local.INFO: Acknowledgment sent {"connection_id":172147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:55:26] local.INFO: TCP Data received {"connection_id":173452,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb88d20012d196700071fee10003e005929..."} 
[2026-09-04 14:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb88d20012d196700071fee10003e005929..."} 
[2026-09-04 14:55:26] local.INFO: Processing buffer {"connection_id":173452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb88d20012d196700071fee10003e005929..."} 
[2026-09-04 14:55:26] local.INFO: Packet analysis {"connection_id":173452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:55:26] local.INFO: Extracted packet for processing {"connection_id":173452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:55:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859489536001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788513652000,"timestamp_ms":1788513652000,"timestamp_seconds":1788513652,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb88d20"} 
[2026-09-04 14:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 14:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859489536001,"66":11993,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859489536001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:55:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:55:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859489536001,"power":11993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":173452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:55:26] local.INFO: GPS data processed {"connection_id":173452,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:55:26] local.INFO: Acknowledgment sent {"connection_id":173452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:55:28] local.INFO: TCP Data received {"connection_id":173453,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:55:28] local.INFO: Processing buffer {"connection_id":173453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:55:28] local.INFO: Packet analysis {"connection_id":173453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:55:28] local.INFO: Extracted packet for processing {"connection_id":173453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:55:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859435776001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788513722000,"timestamp_ms":1788513722000,"timestamp_seconds":1788513722,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb99e90"} 
[2026-09-04 14:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 14:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859435776001,"66":25234,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859435776001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:55:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:55:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859435776001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":173453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:55:28] local.INFO: GPS data processed {"connection_id":173453,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:55:28] local.INFO: Acknowledgment sent {"connection_id":173453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:55:39] local.INFO: TCP Data received {"connection_id":172147,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:55:39] local.INFO: Processing buffer {"connection_id":172147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb80c38012cb2a48007751650001f00292d..."} 
[2026-09-04 14:55:39] local.INFO: Packet analysis {"connection_id":172147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:55:39] local.INFO: Extracted packet for processing {"connection_id":172147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:55:39] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859409408001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788513619000,"timestamp_ms":1788513619000,"timestamp_seconds":1788513619,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb80c38"} 
[2026-09-04 14:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 14:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859409408001,"66":26115,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859409408001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:55:39] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:55:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859409408001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":172147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:55:39] local.INFO: GPS data processed {"connection_id":172147,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:55:39] local.INFO: Acknowledgment sent {"connection_id":172147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:55:48] local.INFO: TCP Data received {"connection_id":171047,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:55:48] local.INFO: Processing buffer {"connection_id":171047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:55:48] local.INFO: IMEI packet received {"connection_id":171047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":171047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:55:53] local.INFO: TCP Data received {"connection_id":171047,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:55:53] local.INFO: Processing buffer {"connection_id":171047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:55:53] local.INFO: IMEI packet received {"connection_id":171047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":171047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:55:54] local.INFO: TCP Data received {"connection_id":171048,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:55:54] local.INFO: Processing buffer {"connection_id":171048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:55:54] local.INFO: IMEI packet received {"connection_id":171048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":171048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:55:55] local.INFO: TCP Data received {"connection_id":171047,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb8df28012d196700071fee10003e005927..."} 
[2026-09-04 14:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb8df28012d196700071fee10003e005927..."} 
[2026-09-04 14:55:55] local.INFO: Processing buffer {"connection_id":171047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb8df28012d196700071fee10003e005927..."} 
[2026-09-04 14:55:55] local.INFO: Packet analysis {"connection_id":171047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:55:55] local.INFO: Extracted packet for processing {"connection_id":171047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb8"} 
[2026-09-04 14:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859494912001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788513673000,"timestamp_ms":1788513673000,"timestamp_seconds":1788513673,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb8df28"} 
[2026-09-04 14:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 14:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859494912001,"66":12341,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859494912001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:55:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859494912001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":171047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:55:55] local.INFO: GPS data processed {"connection_id":171047,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:55:55] local.INFO: Acknowledgment sent {"connection_id":171047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:55:58] local.INFO: TCP Data received {"connection_id":173454,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:55:58] local.INFO: Processing buffer {"connection_id":173454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:55:58] local.INFO: IMEI packet received {"connection_id":173454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":173454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:55:59] local.INFO: TCP Data received {"connection_id":173454,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:55:59] local.INFO: Processing buffer {"connection_id":173454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:55:59] local.INFO: IMEI packet received {"connection_id":173454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":173454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:55:59] local.INFO: TCP Data received {"connection_id":171048,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:55:59] local.INFO: Processing buffer {"connection_id":171048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:55:59] local.INFO: IMEI packet received {"connection_id":171048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":171048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:56:01] local.INFO: TCP Data received {"connection_id":171048,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:56:01] local.INFO: Processing buffer {"connection_id":171048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:56:01] local.INFO: Packet analysis {"connection_id":171048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:56:01] local.INFO: Extracted packet for processing {"connection_id":171048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:56:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859435776001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788513722000,"timestamp_ms":1788513722000,"timestamp_seconds":1788513722,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb99e90"} 
[2026-09-04 14:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 14:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859435776001,"66":25234,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859435776001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:56:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:56:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859435776001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":171048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763047,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:56:01] local.INFO: GPS data processed {"connection_id":171048,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:56:01] local.INFO: Acknowledgment sent {"connection_id":171048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:56:04] local.INFO: TCP Data received {"connection_id":173454,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:56:04] local.INFO: Processing buffer {"connection_id":173454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:56:04] local.INFO: IMEI packet received {"connection_id":173454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":173454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:56:06] local.INFO: TCP Data received {"connection_id":171048,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:56:06] local.INFO: Processing buffer {"connection_id":171048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bb99e90012d34c58006aa5508000a00f027..."} 
[2026-09-04 14:56:06] local.INFO: Packet analysis {"connection_id":171048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:56:06] local.INFO: Extracted packet for processing {"connection_id":171048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bb9"} 
[2026-09-04 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 14:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859435776001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513722000,"timestamp_ms":1788513722000,"timestamp_seconds":1788513722,"priority":1,"record_length":96,"hex_timestamp":"000001a06bb99e90"} 
[2026-09-04 14:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 14:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 14:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 14:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 14:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859435776001,"66":25234,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 14:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 14:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 14:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859435776001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:56:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 14:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 14:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 14:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859435776001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 14:56:06] local.INFO: TCP Data received {"connection_id":173454,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:56:06] local.INFO: Processing buffer {"connection_id":173454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:56:06] local.INFO: Packet analysis {"connection_id":173454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:56:06] local.INFO: Extracted packet for processing {"connection_id":173454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859486464001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513920000,"timestamp_ms":1788513920000,"timestamp_seconds":1788513920,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbca400"} 
[2026-09-04 14:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-04 14:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859486464001,"66":25995,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859486464001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:56:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859486464001,"power":25995,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":173454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:56:06] local.INFO: GPS data processed {"connection_id":173454,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:56:06] local.INFO: Acknowledgment sent {"connection_id":173454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":171048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763049,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:56:06] local.INFO: GPS data processed {"connection_id":171048,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:56:06] local.INFO: Acknowledgment sent {"connection_id":171048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:56:26] local.INFO: TCP Data received {"connection_id":171047,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbc6580012d196700071fee10003e00592b..."} 
[2026-09-04 14:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbc6580012d196700071fee10003e00592b..."} 
[2026-09-04 14:56:26] local.INFO: Processing buffer {"connection_id":171047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbc6580012d196700071fee10003e00592b..."} 
[2026-09-04 14:56:26] local.INFO: Packet analysis {"connection_id":171047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:56:26] local.INFO: Extracted packet for processing {"connection_id":171047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:56:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859554048001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788513904000,"timestamp_ms":1788513904000,"timestamp_seconds":1788513904,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbc6580"} 
[2026-09-04 14:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 14:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859554048001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859554048001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:56:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:56:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859554048001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":171047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:56:26] local.INFO: GPS data processed {"connection_id":171047,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:56:26] local.INFO: Acknowledgment sent {"connection_id":171047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:56:37] local.INFO: TCP Data received {"connection_id":173454,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:56:37] local.INFO: Processing buffer {"connection_id":173454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:56:37] local.INFO: Packet analysis {"connection_id":173454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:56:37] local.INFO: Extracted packet for processing {"connection_id":173454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:56:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859486464001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788513920000,"timestamp_ms":1788513920000,"timestamp_seconds":1788513920,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbca400"} 
[2026-09-04 14:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-04 14:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859486464001,"66":25995,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859486464001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:56:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:56:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859486464001,"power":25995,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":173454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:56:37] local.INFO: GPS data processed {"connection_id":173454,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:56:37] local.INFO: Acknowledgment sent {"connection_id":173454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:56:49] local.INFO: TCP Data received {"connection_id":173455,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:56:49] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:56:49] local.INFO: IMEI packet received {"connection_id":173455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":173455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:56:53] local.INFO: TCP Data received {"connection_id":170734,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:56:53] local.INFO: Processing buffer {"connection_id":170734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:56:53] local.INFO: IMEI packet received {"connection_id":170734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":170734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:56:54] local.INFO: TCP Data received {"connection_id":173455,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:56:54] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:56:54] local.INFO: IMEI packet received {"connection_id":173455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":173455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:56:58] local.INFO: TCP Data received {"connection_id":170734,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:56:58] local.INFO: Processing buffer {"connection_id":170734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:56:58] local.INFO: IMEI packet received {"connection_id":170734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":170734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:56:59] local.INFO: TCP Data received {"connection_id":170734,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbcb788012d196700071fee10003e00592b..."} 
[2026-09-04 14:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbcb788012d196700071fee10003e00592b..."} 
[2026-09-04 14:56:59] local.INFO: Processing buffer {"connection_id":170734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbcb788012d196700071fee10003e00592b..."} 
[2026-09-04 14:56:59] local.INFO: Packet analysis {"connection_id":170734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:56:59] local.INFO: Extracted packet for processing {"connection_id":170734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859559424001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788513925000,"timestamp_ms":1788513925000,"timestamp_seconds":1788513925,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbcb788"} 
[2026-09-04 14:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 14:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859559424001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859559424001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:56:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:56:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859559424001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":170734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:56:59] local.INFO: GPS data processed {"connection_id":170734,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:56:59] local.INFO: Acknowledgment sent {"connection_id":170734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:56:59] local.INFO: TCP Data received {"connection_id":171049,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:56:59] local.INFO: Processing buffer {"connection_id":171049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:56:59] local.INFO: IMEI packet received {"connection_id":171049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":171049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:57:04] local.INFO: TCP Data received {"connection_id":170734,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbd0990012d196700071fee10003e00592a..."} 
[2026-09-04 14:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbd0990012d196700071fee10003e00592a..."} 
[2026-09-04 14:57:04] local.INFO: Processing buffer {"connection_id":170734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbd0990012d196700071fee10003e00592a..."} 
[2026-09-04 14:57:04] local.INFO: Packet analysis {"connection_id":170734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbd"} 
[2026-09-04 14:57:04] local.INFO: Extracted packet for processing {"connection_id":170734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbd"} 
[2026-09-04 14:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859564800001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788513946000,"timestamp_ms":1788513946000,"timestamp_seconds":1788513946,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbd0990"} 
[2026-09-04 14:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 14:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859564800001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859564800001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:57:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859564800001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":170734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:57:04] local.INFO: GPS data processed {"connection_id":170734,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:57:04] local.INFO: Acknowledgment sent {"connection_id":170734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:57:04] local.INFO: TCP Data received {"connection_id":171049,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:57:04] local.INFO: Processing buffer {"connection_id":171049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:57:04] local.INFO: IMEI packet received {"connection_id":171049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":171049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:57:06] local.INFO: TCP Data received {"connection_id":171049,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:57:06] local.INFO: Processing buffer {"connection_id":171049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:57:06] local.INFO: Packet analysis {"connection_id":171049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:57:06] local.INFO: Extracted packet for processing {"connection_id":171049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:57:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859486464001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513920000,"timestamp_ms":1788513920000,"timestamp_seconds":1788513920,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbca400"} 
[2026-09-04 14:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-04 14:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859486464001,"66":25995,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859486464001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:57:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:57:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859486464001,"power":25995,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":171049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:57:06] local.INFO: GPS data processed {"connection_id":171049,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:57:06] local.INFO: Acknowledgment sent {"connection_id":171049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:57:24] local.INFO: TCP Data received {"connection_id":173455,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:57:24] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:57:24] local.INFO: IMEI packet received {"connection_id":173455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 14:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":173455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:57:37] local.INFO: TCP Data received {"connection_id":171049,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:57:37] local.INFO: Processing buffer {"connection_id":171049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:57:37] local.INFO: Packet analysis {"connection_id":171049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:57:37] local.INFO: Extracted packet for processing {"connection_id":171049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:57:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859486464001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788513920000,"timestamp_ms":1788513920000,"timestamp_seconds":1788513920,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbca400"} 
[2026-09-04 14:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-04 14:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859486464001,"66":25995,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859486464001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:57:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:57:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:57:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859486464001,"power":25995,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":171049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:57:37] local.INFO: GPS data processed {"connection_id":171049,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:57:37] local.INFO: Acknowledgment sent {"connection_id":171049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:57:49] local.INFO: TCP Data received {"connection_id":170735,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:57:49] local.INFO: Processing buffer {"connection_id":170735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:57:49] local.INFO: IMEI packet received {"connection_id":170735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":170735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:57:49] local.INFO: TCP Data received {"connection_id":170736,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:57:49] local.INFO: Processing buffer {"connection_id":170736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 14:57:49] local.INFO: IMEI packet received {"connection_id":170736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 14:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":170736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:57:50] local.INFO: TCP Data received {"connection_id":170735,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:57:50] local.INFO: Processing buffer {"connection_id":170735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:57:50] local.INFO: IMEI packet received {"connection_id":170735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":170735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:57:53] local.INFO: TCP Data received {"connection_id":170735,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:57:53] local.INFO: Processing buffer {"connection_id":170735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:57:53] local.INFO: IMEI packet received {"connection_id":170735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":170735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:57:54] local.INFO: TCP Data received {"connection_id":170735,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbd5b98012d196700071fee10003e00592c..."} 
[2026-09-04 14:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbd5b98012d196700071fee10003e00592c..."} 
[2026-09-04 14:57:54] local.INFO: Processing buffer {"connection_id":170735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbd5b98012d196700071fee10003e00592c..."} 
[2026-09-04 14:57:54] local.INFO: Packet analysis {"connection_id":170735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbd"} 
[2026-09-04 14:57:54] local.INFO: Extracted packet for processing {"connection_id":170735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbd"} 
[2026-09-04 14:57:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859570176001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788513967000,"timestamp_ms":1788513967000,"timestamp_seconds":1788513967,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbd5b98"} 
[2026-09-04 14:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 14:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859570176001,"66":12406,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859570176001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:57:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:57:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859570176001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":170735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:57:54] local.INFO: GPS data processed {"connection_id":170735,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:57:54] local.INFO: Acknowledgment sent {"connection_id":170735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:57:58] local.INFO: TCP Data received {"connection_id":170735,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbdada0012d196700071fee10003e005929..."} 
[2026-09-04 14:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbdada0012d196700071fee10003e005929..."} 
[2026-09-04 14:57:58] local.INFO: Processing buffer {"connection_id":170735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbdada0012d196700071fee10003e005929..."} 
[2026-09-04 14:57:58] local.INFO: Packet analysis {"connection_id":170735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbd"} 
[2026-09-04 14:57:58] local.INFO: Extracted packet for processing {"connection_id":170735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbd"} 
[2026-09-04 14:57:58] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859575552001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788513988000,"timestamp_ms":1788513988000,"timestamp_seconds":1788513988,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbdada0"} 
[2026-09-04 14:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 14:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859575552001,"66":12113,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859575552001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:57:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:57:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859575552001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":170735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:57:59] local.INFO: GPS data processed {"connection_id":170735,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:57:59] local.INFO: Acknowledgment sent {"connection_id":170735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:57:59] local.INFO: TCP Data received {"connection_id":170737,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:57:59] local.INFO: Processing buffer {"connection_id":170737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:57:59] local.INFO: IMEI packet received {"connection_id":170737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":170737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:58:04] local.INFO: TCP Data received {"connection_id":170737,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:58:04] local.INFO: Processing buffer {"connection_id":170737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:58:04] local.INFO: IMEI packet received {"connection_id":170737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":170737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:58:06] local.INFO: TCP Data received {"connection_id":170737,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:58:06] local.INFO: Processing buffer {"connection_id":170737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:58:06] local.INFO: Packet analysis {"connection_id":170737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:58:06] local.INFO: Extracted packet for processing {"connection_id":170737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:58:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859486464001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:58:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788513920000,"timestamp_ms":1788513920000,"timestamp_seconds":1788513920,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbca400"} 
[2026-09-04 14:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-04 14:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859486464001,"66":25995,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859486464001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:58:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:58:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859486464001,"power":25995,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":170737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:58:06] local.INFO: GPS data processed {"connection_id":170737,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:58:06] local.INFO: Acknowledgment sent {"connection_id":170737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:58:30] local.INFO: TCP Data received {"connection_id":170735,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbdffa8012d196700071fee10003e00592a..."} 
[2026-09-04 14:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbdffa8012d196700071fee10003e00592a..."} 
[2026-09-04 14:58:30] local.INFO: Processing buffer {"connection_id":170735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbdffa8012d196700071fee10003e00592a..."} 
[2026-09-04 14:58:30] local.INFO: Packet analysis {"connection_id":170735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbd"} 
[2026-09-04 14:58:30] local.INFO: Extracted packet for processing {"connection_id":170735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbd"} 
[2026-09-04 14:58:30] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859580928001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788514009000,"timestamp_ms":1788514009000,"timestamp_seconds":1788514009,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbdffa8"} 
[2026-09-04 14:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-04 14:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859580928001,"66":12406,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859580928001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:58:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:58:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859580928001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":170735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:58:30] local.INFO: GPS data processed {"connection_id":170735,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:58:30] local.INFO: Acknowledgment sent {"connection_id":170735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:58:37] local.INFO: TCP Data received {"connection_id":170737,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:58:37] local.INFO: Processing buffer {"connection_id":170737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:58:37] local.INFO: Packet analysis {"connection_id":170737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:58:37] local.INFO: Extracted packet for processing {"connection_id":170737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:58:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859486464001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:58:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788513920000,"timestamp_ms":1788513920000,"timestamp_seconds":1788513920,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbca400"} 
[2026-09-04 14:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-04 14:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859486464001,"66":25995,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859486464001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:58:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:58:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859486464001,"power":25995,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":170737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:58:37] local.INFO: GPS data processed {"connection_id":170737,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:58:37] local.INFO: Acknowledgment sent {"connection_id":170737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:58:49] local.INFO: TCP Data received {"connection_id":171050,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:58:49] local.INFO: Processing buffer {"connection_id":171050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:58:49] local.INFO: IMEI packet received {"connection_id":171050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":171050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:58:51] local.INFO: TCP Data received {"connection_id":171050,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:58:51] local.INFO: Processing buffer {"connection_id":171050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:58:51] local.INFO: IMEI packet received {"connection_id":171050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":171050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:58:52] local.INFO: TCP Data received {"connection_id":171050,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbe51b0012d196700071fee10003e00592a..."} 
[2026-09-04 14:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbe51b0012d196700071fee10003e00592a..."} 
[2026-09-04 14:58:52] local.INFO: Processing buffer {"connection_id":171050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbe51b0012d196700071fee10003e00592a..."} 
[2026-09-04 14:58:52] local.INFO: Packet analysis {"connection_id":171050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbe"} 
[2026-09-04 14:58:52] local.INFO: Extracted packet for processing {"connection_id":171050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbe"} 
[2026-09-04 14:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859586304001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788514030000,"timestamp_ms":1788514030000,"timestamp_seconds":1788514030,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbe51b0"} 
[2026-09-04 14:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 14:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859586304001,"66":12374,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859586304001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:58:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:58:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859586304001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":171050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:58:52] local.INFO: GPS data processed {"connection_id":171050,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:58:52] local.INFO: Acknowledgment sent {"connection_id":171050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:58:59] local.INFO: TCP Data received {"connection_id":171051,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:58:59] local.INFO: Processing buffer {"connection_id":171051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:58:59] local.INFO: IMEI packet received {"connection_id":171051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":171051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:59:04] local.INFO: TCP Data received {"connection_id":171051,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:59:04] local.INFO: Processing buffer {"connection_id":171051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:59:04] local.INFO: IMEI packet received {"connection_id":171051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 14:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":171051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:59:08] local.INFO: TCP Data received {"connection_id":171051,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:59:08] local.INFO: Processing buffer {"connection_id":171051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:59:08] local.INFO: Packet analysis {"connection_id":171051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:59:08] local.INFO: Extracted packet for processing {"connection_id":171051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:59:08] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859486464001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:59:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788513920000,"timestamp_ms":1788513920000,"timestamp_seconds":1788513920,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbca400"} 
[2026-09-04 14:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-04 14:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859486464001,"66":25995,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859486464001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:59:08] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:59:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859486464001,"power":25995,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":171051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:59:08] local.INFO: GPS data processed {"connection_id":171051,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:59:08] local.INFO: Acknowledgment sent {"connection_id":171051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:59:24] local.INFO: TCP Data received {"connection_id":171050,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbea3b8012d196700071fee10003e005928..."} 
[2026-09-04 14:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbea3b8012d196700071fee10003e005928..."} 
[2026-09-04 14:59:24] local.INFO: Processing buffer {"connection_id":171050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbea3b8012d196700071fee10003e005928..."} 
[2026-09-04 14:59:24] local.INFO: Packet analysis {"connection_id":171050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbe"} 
[2026-09-04 14:59:24] local.INFO: Extracted packet for processing {"connection_id":171050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbe"} 
[2026-09-04 14:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859591680001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788514051000,"timestamp_ms":1788514051000,"timestamp_seconds":1788514051,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbea3b8"} 
[2026-09-04 14:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 14:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859591680001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859591680001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:59:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:59:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859591680001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":171050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:59:24] local.INFO: GPS data processed {"connection_id":171050,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:59:24] local.INFO: Acknowledgment sent {"connection_id":171050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:59:39] local.INFO: TCP Data received {"connection_id":171051,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:59:39] local.INFO: Processing buffer {"connection_id":171051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 14:59:39] local.INFO: Packet analysis {"connection_id":171051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:59:39] local.INFO: Extracted packet for processing {"connection_id":171051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 14:59:39] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 14:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859486464001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 14:59:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 14:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788513920000,"timestamp_ms":1788513920000,"timestamp_seconds":1788513920,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbca400"} 
[2026-09-04 14:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 14:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-04 14:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 14:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 14:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 14:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859486464001,"66":25995,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 14:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 14:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 14:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859486464001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:59:39] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 14:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 14:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:59:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 14:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859486464001,"power":25995,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 14:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":171051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:59:39] local.INFO: GPS data processed {"connection_id":171051,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:59:39] local.INFO: Acknowledgment sent {"connection_id":171051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:59:48] local.INFO: TCP Data received {"connection_id":171052,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:59:48] local.INFO: Processing buffer {"connection_id":171052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:59:48] local.INFO: IMEI packet received {"connection_id":171052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 14:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":171052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 14:59:53] local.INFO: TCP Data received {"connection_id":171052,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:59:53] local.INFO: Processing buffer {"connection_id":171052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 14:59:53] local.INFO: IMEI packet received {"connection_id":171052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 14:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":171052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 14:59:55] local.INFO: TCP Data received {"connection_id":171052,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbef5c0012d196700071fee10003e00592b..."} 
[2026-09-04 14:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbef5c0012d196700071fee10003e00592b..."} 
[2026-09-04 14:59:55] local.INFO: Processing buffer {"connection_id":171052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbef5c0012d196700071fee10003e00592b..."} 
[2026-09-04 14:59:55] local.INFO: Packet analysis {"connection_id":171052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbe"} 
[2026-09-04 14:59:55] local.INFO: Extracted packet for processing {"connection_id":171052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbe"} 
[2026-09-04 14:59:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 14:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 14:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859597056001,"note":"Value kept but may cause issues"} 
[2026-09-04 14:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 14:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 14:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 14:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514072000,"timestamp_ms":1788514072000,"timestamp_seconds":1788514072,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbef5c0"} 
[2026-09-04 14:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 14:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 14:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 14:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 14:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 14:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 14:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 14:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 14:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 14:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 14:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 14:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 14:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859597056001,"66":11961,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 14:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 14:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 14:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859597056001,"description":"Unknown IO ID 0"} 
[2026-09-04 14:59:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 14:59:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 14:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 14:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 14:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859597056001,"power":11961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 14:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":171052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 14:59:55] local.INFO: GPS data processed {"connection_id":171052,"processed":1,"errors":0,"total":1} 
[2026-09-04 14:59:55] local.INFO: Acknowledgment sent {"connection_id":171052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 14:59:59] local.INFO: TCP Data received {"connection_id":172148,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:59:59] local.INFO: Processing buffer {"connection_id":172148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 14:59:59] local.INFO: IMEI packet received {"connection_id":172148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 14:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":172148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:00:04] local.INFO: TCP Data received {"connection_id":172148,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:00:04] local.INFO: Processing buffer {"connection_id":172148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:00:04] local.INFO: IMEI packet received {"connection_id":172148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":172148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:00:05] local.INFO: TCP Data received {"connection_id":172148,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 15:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 15:00:05] local.INFO: Processing buffer {"connection_id":172148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 15:00:05] local.INFO: Packet analysis {"connection_id":172148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 15:00:05] local.INFO: Extracted packet for processing {"connection_id":172148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 15:00:05] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859486464001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788513920000,"timestamp_ms":1788513920000,"timestamp_seconds":1788513920,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbca400"} 
[2026-09-04 15:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-04 15:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859486464001,"66":25995,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859486464001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:00:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859486464001,"power":25995,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":172148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:00:05] local.INFO: GPS data processed {"connection_id":172148,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:00:05] local.INFO: Acknowledgment sent {"connection_id":172148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:00:27] local.INFO: TCP Data received {"connection_id":171052,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbf47c8012d196700071fee10003e00592a..."} 
[2026-09-04 15:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbf47c8012d196700071fee10003e00592a..."} 
[2026-09-04 15:00:27] local.INFO: Processing buffer {"connection_id":171052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbf47c8012d196700071fee10003e00592a..."} 
[2026-09-04 15:00:27] local.INFO: Packet analysis {"connection_id":171052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbf"} 
[2026-09-04 15:00:27] local.INFO: Extracted packet for processing {"connection_id":171052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbf"} 
[2026-09-04 15:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859602432001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788514093000,"timestamp_ms":1788514093000,"timestamp_seconds":1788514093,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbf47c8"} 
[2026-09-04 15:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 15:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859602432001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859602432001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:00:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:00:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859602432001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":171052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:00:27] local.INFO: GPS data processed {"connection_id":171052,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:00:27] local.INFO: Acknowledgment sent {"connection_id":171052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:00:36] local.INFO: TCP Data received {"connection_id":172148,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 15:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 15:00:36] local.INFO: Processing buffer {"connection_id":172148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbca400012cb2a48007751650001f00292a..."} 
[2026-09-04 15:00:36] local.INFO: Packet analysis {"connection_id":172148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 15:00:36] local.INFO: Extracted packet for processing {"connection_id":172148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbc"} 
[2026-09-04 15:00:36] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859486464001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:00:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788513920000,"timestamp_ms":1788513920000,"timestamp_seconds":1788513920,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbca400"} 
[2026-09-04 15:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-04 15:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859486464001,"66":25995,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859486464001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:00:36] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:00:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859486464001,"power":25995,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":172148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:00:36] local.INFO: GPS data processed {"connection_id":172148,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:00:36] local.INFO: Acknowledgment sent {"connection_id":172148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:00:48] local.INFO: TCP Data received {"connection_id":170739,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:00:48] local.INFO: Processing buffer {"connection_id":170739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:00:48] local.INFO: IMEI packet received {"connection_id":170739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":170739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:00:53] local.INFO: TCP Data received {"connection_id":170739,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:00:53] local.INFO: Processing buffer {"connection_id":170739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:00:53] local.INFO: IMEI packet received {"connection_id":170739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":170739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:00:55] local.INFO: TCP Data received {"connection_id":170739,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbf99d0012d196700071fee10003e00592b..."} 
[2026-09-04 15:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbf99d0012d196700071fee10003e00592b..."} 
[2026-09-04 15:00:55] local.INFO: Processing buffer {"connection_id":170739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbf99d0012d196700071fee10003e00592b..."} 
[2026-09-04 15:00:55] local.INFO: Packet analysis {"connection_id":170739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbf"} 
[2026-09-04 15:00:55] local.INFO: Extracted packet for processing {"connection_id":170739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbf"} 
[2026-09-04 15:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859607808001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514114000,"timestamp_ms":1788514114000,"timestamp_seconds":1788514114,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbf99d0"} 
[2026-09-04 15:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 15:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859607808001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859607808001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:00:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859607808001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":170739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:00:55] local.INFO: GPS data processed {"connection_id":170739,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:00:55] local.INFO: Acknowledgment sent {"connection_id":170739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:00:59] local.INFO: TCP Data received {"connection_id":171054,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:00:59] local.INFO: Processing buffer {"connection_id":171054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:00:59] local.INFO: IMEI packet received {"connection_id":171054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":171054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:00:59] local.INFO: TCP Data received {"connection_id":171054,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:00:59] local.INFO: Processing buffer {"connection_id":171054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:00:59] local.INFO: IMEI packet received {"connection_id":171054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":171054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:01:04] local.INFO: TCP Data received {"connection_id":171054,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:01:04] local.INFO: Processing buffer {"connection_id":171054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:01:04] local.INFO: IMEI packet received {"connection_id":171054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":171054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:01:05] local.INFO: TCP Data received {"connection_id":171054,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:01:05] local.INFO: Processing buffer {"connection_id":171054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:01:05] local.INFO: Packet analysis {"connection_id":171054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:01:05] local.INFO: Extracted packet for processing {"connection_id":171054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:01:05] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859563520001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788514221000,"timestamp_ms":1788514221000,"timestamp_seconds":1788514221,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc13bc8"} 
[2026-09-04 15:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-04 15:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859563520001,"66":25952,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859563520001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:01:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859563520001,"power":25952,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":171054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:01:05] local.INFO: GPS data processed {"connection_id":171054,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:01:05] local.INFO: Acknowledgment sent {"connection_id":171054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:01:27] local.INFO: TCP Data received {"connection_id":170739,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbfebd8012d196700071fee10003e00592b..."} 
[2026-09-04 15:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbfebd8012d196700071fee10003e00592b..."} 
[2026-09-04 15:01:27] local.INFO: Processing buffer {"connection_id":170739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbfebd8012d196700071fee10003e00592b..."} 
[2026-09-04 15:01:27] local.INFO: Packet analysis {"connection_id":170739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbf"} 
[2026-09-04 15:01:27] local.INFO: Extracted packet for processing {"connection_id":170739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbf"} 
[2026-09-04 15:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859613184001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788514135000,"timestamp_ms":1788514135000,"timestamp_seconds":1788514135,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbfebd8"} 
[2026-09-04 15:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859613184001,"66":12374,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859613184001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:01:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:01:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859613184001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":170739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:01:27] local.INFO: GPS data processed {"connection_id":170739,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:01:27] local.INFO: Acknowledgment sent {"connection_id":170739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:01:36] local.INFO: TCP Data received {"connection_id":171054,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:01:36] local.INFO: Processing buffer {"connection_id":171054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:01:36] local.INFO: Packet analysis {"connection_id":171054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:01:36] local.INFO: Extracted packet for processing {"connection_id":171054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:01:36] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859563520001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:01:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788514221000,"timestamp_ms":1788514221000,"timestamp_seconds":1788514221,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc13bc8"} 
[2026-09-04 15:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-04 15:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859563520001,"66":25952,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859563520001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:01:36] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:01:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:01:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859563520001,"power":25952,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":171054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:01:36] local.INFO: GPS data processed {"connection_id":171054,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:01:36] local.INFO: Acknowledgment sent {"connection_id":171054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:01:48] local.INFO: TCP Data received {"connection_id":173457,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:01:48] local.INFO: Processing buffer {"connection_id":173457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:01:48] local.INFO: IMEI packet received {"connection_id":173457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:01:53] local.INFO: TCP Data received {"connection_id":173457,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:01:53] local.INFO: Processing buffer {"connection_id":173457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:01:53] local.INFO: IMEI packet received {"connection_id":173457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":173457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:01:55] local.INFO: TCP Data received {"connection_id":173457,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc03de0012d196700071fee10003e00592c..."} 
[2026-09-04 15:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc03de0012d196700071fee10003e00592c..."} 
[2026-09-04 15:01:55] local.INFO: Processing buffer {"connection_id":173457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc03de0012d196700071fee10003e00592c..."} 
[2026-09-04 15:01:55] local.INFO: Packet analysis {"connection_id":173457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc0"} 
[2026-09-04 15:01:55] local.INFO: Extracted packet for processing {"connection_id":173457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc0"} 
[2026-09-04 15:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859618560001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514156000,"timestamp_ms":1788514156000,"timestamp_seconds":1788514156,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc03de0"} 
[2026-09-04 15:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 15:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859618560001,"66":12406,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859618560001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:01:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859618560001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":173457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:01:55] local.INFO: GPS data processed {"connection_id":173457,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:01:55] local.INFO: Acknowledgment sent {"connection_id":173457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:01:59] local.INFO: TCP Data received {"connection_id":171056,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:01:59] local.INFO: Processing buffer {"connection_id":171056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:01:59] local.INFO: IMEI packet received {"connection_id":171056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":171056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:02:04] local.INFO: TCP Data received {"connection_id":171056,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:02:04] local.INFO: Processing buffer {"connection_id":171056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:02:04] local.INFO: IMEI packet received {"connection_id":171056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":171056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:02:06] local.INFO: TCP Data received {"connection_id":171056,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:02:06] local.INFO: Processing buffer {"connection_id":171056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:02:06] local.INFO: Packet analysis {"connection_id":171056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:02:06] local.INFO: Extracted packet for processing {"connection_id":171056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:02:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859563520001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788514221000,"timestamp_ms":1788514221000,"timestamp_seconds":1788514221,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc13bc8"} 
[2026-09-04 15:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-04 15:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859563520001,"66":25952,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859563520001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:02:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859563520001,"power":25952,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":171056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:02:06] local.INFO: GPS data processed {"connection_id":171056,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:02:06] local.INFO: Acknowledgment sent {"connection_id":171056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:02:26] local.INFO: TCP Data received {"connection_id":173457,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc08fe8012d196700071fee10003e00592a..."} 
[2026-09-04 15:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc08fe8012d196700071fee10003e00592a..."} 
[2026-09-04 15:02:26] local.INFO: Processing buffer {"connection_id":173457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc08fe8012d196700071fee10003e00592a..."} 
[2026-09-04 15:02:26] local.INFO: Packet analysis {"connection_id":173457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc0"} 
[2026-09-04 15:02:26] local.INFO: Extracted packet for processing {"connection_id":173457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc0"} 
[2026-09-04 15:02:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859623936001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788514177000,"timestamp_ms":1788514177000,"timestamp_seconds":1788514177,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc08fe8"} 
[2026-09-04 15:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 15:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859623936001,"66":11874,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859623936001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:02:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:02:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859623936001,"power":11874,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":173457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:02:26] local.INFO: GPS data processed {"connection_id":173457,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:02:26] local.INFO: Acknowledgment sent {"connection_id":173457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:02:37] local.INFO: TCP Data received {"connection_id":171056,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:02:37] local.INFO: Processing buffer {"connection_id":171056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:02:37] local.INFO: Packet analysis {"connection_id":171056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:02:37] local.INFO: Extracted packet for processing {"connection_id":171056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:02:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859563520001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:02:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788514221000,"timestamp_ms":1788514221000,"timestamp_seconds":1788514221,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc13bc8"} 
[2026-09-04 15:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-04 15:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859563520001,"66":25952,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859563520001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:02:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:02:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859563520001,"power":25952,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":171056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:02:37] local.INFO: GPS data processed {"connection_id":171056,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:02:37] local.INFO: Acknowledgment sent {"connection_id":171056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:02:54] local.INFO: TCP Data received {"connection_id":172149,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:02:54] local.INFO: Processing buffer {"connection_id":172149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:02:54] local.INFO: IMEI packet received {"connection_id":172149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":172149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:02:54] local.INFO: TCP Data received {"connection_id":170740,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170740,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:02:54] local.INFO: Processing buffer {"connection_id":170740,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:02:54] local.INFO: IMEI packet received {"connection_id":170740,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":170740,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:02:56] local.INFO: TCP Data received {"connection_id":170740,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bbe3658012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bbe3658012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:02:56] local.INFO: Processing buffer {"connection_id":170740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bbe3658012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:02:56] local.INFO: Packet analysis {"connection_id":170740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bbe"} 
[2026-09-04 15:02:56] local.INFO: Extracted packet for processing {"connection_id":170740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bbe"} 
[2026-09-04 15:02:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859512832001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788514023000,"timestamp_ms":1788514023000,"timestamp_seconds":1788514023,"priority":1,"record_length":96,"hex_timestamp":"000001a06bbe3658"} 
[2026-09-04 15:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-04 15:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170740,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170740,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859512832001,"66":25397,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859512832001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:02:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:02:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859512832001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":170740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:02:56] local.INFO: GPS data processed {"connection_id":170740,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:02:56] local.INFO: Acknowledgment sent {"connection_id":170740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:02:58] local.INFO: TCP Data received {"connection_id":172149,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:02:58] local.INFO: Processing buffer {"connection_id":172149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:02:58] local.INFO: IMEI packet received {"connection_id":172149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":172149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:02:59] local.INFO: TCP Data received {"connection_id":172150,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:02:59] local.INFO: Processing buffer {"connection_id":172150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:02:59] local.INFO: IMEI packet received {"connection_id":172150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":172150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:03:00] local.INFO: TCP Data received {"connection_id":172149,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc0e1f0012d196700071fee10003e005928..."} 
[2026-09-04 15:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc0e1f0012d196700071fee10003e005928..."} 
[2026-09-04 15:03:00] local.INFO: Processing buffer {"connection_id":172149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc0e1f0012d196700071fee10003e005928..."} 
[2026-09-04 15:03:00] local.INFO: Packet analysis {"connection_id":172149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc0"} 
[2026-09-04 15:03:00] local.INFO: Extracted packet for processing {"connection_id":172149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc0"} 
[2026-09-04 15:03:00] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859629312001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788514198000,"timestamp_ms":1788514198000,"timestamp_seconds":1788514198,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc0e1f0"} 
[2026-09-04 15:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 15:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859629312001,"66":12211,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859629312001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:03:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:03:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859629312001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":172149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:03:00] local.INFO: GPS data processed {"connection_id":172149,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:03:00] local.INFO: Acknowledgment sent {"connection_id":172149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:03:04] local.INFO: TCP Data received {"connection_id":172150,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:03:04] local.INFO: Processing buffer {"connection_id":172150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:03:04] local.INFO: IMEI packet received {"connection_id":172150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":172150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:03:04] local.INFO: TCP Data received {"connection_id":172149,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc133f8012d196700071fee10003e00592b..."} 
[2026-09-04 15:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc133f8012d196700071fee10003e00592b..."} 
[2026-09-04 15:03:04] local.INFO: Processing buffer {"connection_id":172149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc133f8012d196700071fee10003e00592b..."} 
[2026-09-04 15:03:04] local.INFO: Packet analysis {"connection_id":172149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:03:04] local.INFO: Extracted packet for processing {"connection_id":172149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859634688001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788514219000,"timestamp_ms":1788514219000,"timestamp_seconds":1788514219,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc133f8"} 
[2026-09-04 15:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 15:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859634688001,"66":11961,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859634688001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:03:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:03:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859634688001,"power":11961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":172149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:03:04] local.INFO: GPS data processed {"connection_id":172149,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:03:04] local.INFO: Acknowledgment sent {"connection_id":172149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:03:06] local.INFO: TCP Data received {"connection_id":172150,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:03:06] local.INFO: Processing buffer {"connection_id":172150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:03:06] local.INFO: Packet analysis {"connection_id":172150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:03:06] local.INFO: Extracted packet for processing {"connection_id":172150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:03:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859563520001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788514221000,"timestamp_ms":1788514221000,"timestamp_seconds":1788514221,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc13bc8"} 
[2026-09-04 15:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-04 15:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859563520001,"66":25952,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859563520001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:03:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:03:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859563520001,"power":25952,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":172150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:03:06] local.INFO: GPS data processed {"connection_id":172150,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:03:06] local.INFO: Acknowledgment sent {"connection_id":172150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:03:28] local.INFO: TCP Data received {"connection_id":170740,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:03:28] local.INFO: Processing buffer {"connection_id":170740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:03:28] local.INFO: Packet analysis {"connection_id":170740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:03:28] local.INFO: Extracted packet for processing {"connection_id":170740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:03:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859589888001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788514324000,"timestamp_ms":1788514324000,"timestamp_seconds":1788514324,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc2ce20"} 
[2026-09-04 15:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 15:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170740,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170740,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859589888001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859589888001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:03:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:03:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859589888001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":170740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:03:28] local.INFO: GPS data processed {"connection_id":170740,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:03:28] local.INFO: Acknowledgment sent {"connection_id":170740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:03:37] local.INFO: TCP Data received {"connection_id":172150,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:03:37] local.INFO: Processing buffer {"connection_id":172150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:03:37] local.INFO: Packet analysis {"connection_id":172150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:03:37] local.INFO: Extracted packet for processing {"connection_id":172150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:03:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859563520001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788514221000,"timestamp_ms":1788514221000,"timestamp_seconds":1788514221,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc13bc8"} 
[2026-09-04 15:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-04 15:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859563520001,"66":25952,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859563520001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:03:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:03:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859563520001,"power":25952,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":172150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:03:37] local.INFO: GPS data processed {"connection_id":172150,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:03:37] local.INFO: Acknowledgment sent {"connection_id":172150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:03:45] local.INFO: TCP Data received {"connection_id":172151,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:03:45] local.INFO: Processing buffer {"connection_id":172151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:03:45] local.INFO: IMEI packet received {"connection_id":172151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":172151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:03:48] local.INFO: TCP Data received {"connection_id":172151,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:03:48] local.INFO: Processing buffer {"connection_id":172151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:03:48] local.INFO: IMEI packet received {"connection_id":172151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":172151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:03:54] local.INFO: TCP Data received {"connection_id":171057,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:03:54] local.INFO: Processing buffer {"connection_id":171057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:03:54] local.INFO: IMEI packet received {"connection_id":171057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":171057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:03:54] local.INFO: TCP Data received {"connection_id":172151,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:03:54] local.INFO: Processing buffer {"connection_id":172151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:03:54] local.INFO: IMEI packet received {"connection_id":172151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":172151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:03:56] local.INFO: TCP Data received {"connection_id":172151,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc18600012d196700071fee10003e00592c..."} 
[2026-09-04 15:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc18600012d196700071fee10003e00592c..."} 
[2026-09-04 15:03:56] local.INFO: Processing buffer {"connection_id":172151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc18600012d196700071fee10003e00592c..."} 
[2026-09-04 15:03:56] local.INFO: Packet analysis {"connection_id":172151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:03:56] local.INFO: Extracted packet for processing {"connection_id":172151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:03:56] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859640064001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788514240000,"timestamp_ms":1788514240000,"timestamp_seconds":1788514240,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc18600"} 
[2026-09-04 15:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 15:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859640064001,"66":12298,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859640064001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:03:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:03:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859640064001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":172151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:03:56] local.INFO: GPS data processed {"connection_id":172151,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:03:56] local.INFO: Acknowledgment sent {"connection_id":172151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:03:59] local.INFO: TCP Data received {"connection_id":171057,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:03:59] local.INFO: Processing buffer {"connection_id":171057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:03:59] local.INFO: IMEI packet received {"connection_id":171057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":171057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:03:59] local.INFO: TCP Data received {"connection_id":173458,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:03:59] local.INFO: Processing buffer {"connection_id":173458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:03:59] local.INFO: IMEI packet received {"connection_id":173458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":173458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:04:00] local.INFO: TCP Data received {"connection_id":171057,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:04:00] local.INFO: Processing buffer {"connection_id":171057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:04:00] local.INFO: Packet analysis {"connection_id":171057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:04:00] local.INFO: Extracted packet for processing {"connection_id":171057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:04:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859589888001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788514324000,"timestamp_ms":1788514324000,"timestamp_seconds":1788514324,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc2ce20"} 
[2026-09-04 15:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 15:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859589888001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859589888001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:04:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:04:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859589888001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":171057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:04:00] local.INFO: GPS data processed {"connection_id":171057,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:04:00] local.INFO: Acknowledgment sent {"connection_id":171057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:04:04] local.INFO: TCP Data received {"connection_id":173458,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:04:04] local.INFO: Processing buffer {"connection_id":173458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:04:04] local.INFO: IMEI packet received {"connection_id":173458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":173458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:04:05] local.INFO: TCP Data received {"connection_id":171057,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:04:05] local.INFO: Processing buffer {"connection_id":171057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:04:05] local.INFO: Packet analysis {"connection_id":171057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:04:05] local.INFO: Extracted packet for processing {"connection_id":171057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859589888001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788514324000,"timestamp_ms":1788514324000,"timestamp_seconds":1788514324,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc2ce20"} 
[2026-09-04 15:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 15:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859589888001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859589888001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:04:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859589888001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":171057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763085,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:04:05] local.INFO: GPS data processed {"connection_id":171057,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:04:05] local.INFO: Acknowledgment sent {"connection_id":171057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:04:06] local.INFO: TCP Data received {"connection_id":173458,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:04:06] local.INFO: Processing buffer {"connection_id":173458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:04:06] local.INFO: Packet analysis {"connection_id":173458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:04:06] local.INFO: Extracted packet for processing {"connection_id":173458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:04:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859563520001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788514221000,"timestamp_ms":1788514221000,"timestamp_seconds":1788514221,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc13bc8"} 
[2026-09-04 15:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-04 15:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859563520001,"66":25952,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859563520001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:04:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859563520001,"power":25952,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":173458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:04:06] local.INFO: GPS data processed {"connection_id":173458,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:04:06] local.INFO: Acknowledgment sent {"connection_id":173458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:04:27] local.INFO: TCP Data received {"connection_id":172151,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc1d808012d196700071fee10003e00592c..."} 
[2026-09-04 15:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc1d808012d196700071fee10003e00592c..."} 
[2026-09-04 15:04:27] local.INFO: Processing buffer {"connection_id":172151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc1d808012d196700071fee10003e00592c..."} 
[2026-09-04 15:04:27] local.INFO: Packet analysis {"connection_id":172151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:04:27] local.INFO: Extracted packet for processing {"connection_id":172151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859645440001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788514261000,"timestamp_ms":1788514261000,"timestamp_seconds":1788514261,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc1d808"} 
[2026-09-04 15:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 15:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513390635034476633,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:27] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:27] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452349,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:27] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4755801206503243775,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7764003206948788583,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:27] local.WARNING: Large IO value detected {"io_id":62,"raw_value":25098551927242752,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:27] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068470913237198,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:27] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3225280513,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:27] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026046,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 15:04:27] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:27] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,102,160,51,45,238,62,43,10,66,225,40,143,1,240,98,107,31,4,113,205,235,103,239,48,2,61,7,42],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 15:04:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467668875864965120,"timestamp_seconds":4467668875864965.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 15:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859645440001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859645440001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:04:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:04:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859645440001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":172151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:04:27] local.INFO: GPS data processed {"connection_id":172151,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:04:27] local.INFO: Acknowledgment sent {"connection_id":172151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:04:37] local.INFO: TCP Data received {"connection_id":173458,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:04:37] local.INFO: Processing buffer {"connection_id":173458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:04:37] local.INFO: Packet analysis {"connection_id":173458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:04:37] local.INFO: Extracted packet for processing {"connection_id":173458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:04:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859563520001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788514221000,"timestamp_ms":1788514221000,"timestamp_seconds":1788514221,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc13bc8"} 
[2026-09-04 15:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-04 15:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859563520001,"66":25952,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859563520001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:04:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:04:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:04:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859563520001,"power":25952,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":173458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:04:37] local.INFO: GPS data processed {"connection_id":173458,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:04:37] local.INFO: Acknowledgment sent {"connection_id":173458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:04:48] local.INFO: TCP Data received {"connection_id":171058,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:04:48] local.INFO: Processing buffer {"connection_id":171058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:04:48] local.INFO: IMEI packet received {"connection_id":171058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":171058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:04:49] local.INFO: TCP Data received {"connection_id":170741,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:04:49] local.INFO: Processing buffer {"connection_id":170741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:04:49] local.INFO: IMEI packet received {"connection_id":170741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":170741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:04:49] local.INFO: TCP Data received {"connection_id":171058,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:04:49] local.INFO: Processing buffer {"connection_id":171058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:04:49] local.INFO: IMEI packet received {"connection_id":171058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":171058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:04:53] local.INFO: TCP Data received {"connection_id":171058,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:04:53] local.INFO: Processing buffer {"connection_id":171058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:04:53] local.INFO: IMEI packet received {"connection_id":171058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":171058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:04:54] local.INFO: TCP Data received {"connection_id":171058,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc22a10012d196700071fee10003e00592b..."} 
[2026-09-04 15:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc22a10012d196700071fee10003e00592b..."} 
[2026-09-04 15:04:54] local.INFO: Processing buffer {"connection_id":171058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc22a10012d196700071fee10003e00592b..."} 
[2026-09-04 15:04:54] local.INFO: Packet analysis {"connection_id":171058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:04:54] local.INFO: Extracted packet for processing {"connection_id":171058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:04:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859650816001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788514282000,"timestamp_ms":1788514282000,"timestamp_seconds":1788514282,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc22a10"} 
[2026-09-04 15:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859650816001,"66":12406,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859650816001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:04:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:04:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859650816001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":171058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:04:54] local.INFO: GPS data processed {"connection_id":171058,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:04:54] local.INFO: Acknowledgment sent {"connection_id":171058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:04:54] local.INFO: TCP Data received {"connection_id":170741,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:04:54] local.INFO: Processing buffer {"connection_id":170741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:04:54] local.INFO: IMEI packet received {"connection_id":170741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":170741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:04:56] local.INFO: TCP Data received {"connection_id":170741,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:04:56] local.INFO: Processing buffer {"connection_id":170741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:04:56] local.INFO: Packet analysis {"connection_id":170741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:04:56] local.INFO: Extracted packet for processing {"connection_id":170741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:04:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859589888001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788514324000,"timestamp_ms":1788514324000,"timestamp_seconds":1788514324,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc2ce20"} 
[2026-09-04 15:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 15:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859589888001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859589888001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:04:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:04:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859589888001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":170741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:04:56] local.INFO: GPS data processed {"connection_id":170741,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:04:56] local.INFO: Acknowledgment sent {"connection_id":170741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:04:59] local.INFO: TCP Data received {"connection_id":173459,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:04:59] local.INFO: Processing buffer {"connection_id":173459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:04:59] local.INFO: IMEI packet received {"connection_id":173459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":173459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:05:04] local.INFO: TCP Data received {"connection_id":173459,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:05:04] local.INFO: Processing buffer {"connection_id":173459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:05:04] local.INFO: IMEI packet received {"connection_id":173459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":173459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:05:05] local.INFO: TCP Data received {"connection_id":173459,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:05:05] local.INFO: Processing buffer {"connection_id":173459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:05:05] local.INFO: Packet analysis {"connection_id":173459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:05:05] local.INFO: Extracted packet for processing {"connection_id":173459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:05:05] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859563520001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788514221000,"timestamp_ms":1788514221000,"timestamp_seconds":1788514221,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc13bc8"} 
[2026-09-04 15:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-04 15:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859563520001,"66":25952,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859563520001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:05:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:05:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859563520001,"power":25952,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":173459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:05:05] local.INFO: GPS data processed {"connection_id":173459,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:05:05] local.INFO: Acknowledgment sent {"connection_id":173459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:05:27] local.INFO: TCP Data received {"connection_id":171058,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc27c18012d196700071fee10003e00592b..."} 
[2026-09-04 15:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc27c18012d196700071fee10003e00592b..."} 
[2026-09-04 15:05:27] local.INFO: Processing buffer {"connection_id":171058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc27c18012d196700071fee10003e00592b..."} 
[2026-09-04 15:05:27] local.INFO: Packet analysis {"connection_id":171058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:05:27] local.INFO: Extracted packet for processing {"connection_id":171058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859656192001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788514303000,"timestamp_ms":1788514303000,"timestamp_seconds":1788514303,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc27c18"} 
[2026-09-04 15:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 15:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859656192001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859656192001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:05:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:05:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859656192001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":171058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:05:27] local.INFO: GPS data processed {"connection_id":171058,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:05:27] local.INFO: Acknowledgment sent {"connection_id":171058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:05:27] local.INFO: TCP Data received {"connection_id":170741,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:05:27] local.INFO: Processing buffer {"connection_id":170741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:05:27] local.INFO: Packet analysis {"connection_id":170741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:05:27] local.INFO: Extracted packet for processing {"connection_id":170741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:05:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859589888001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788514324000,"timestamp_ms":1788514324000,"timestamp_seconds":1788514324,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc2ce20"} 
[2026-09-04 15:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 15:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859589888001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859589888001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:05:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:05:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859589888001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":170741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:05:28] local.INFO: GPS data processed {"connection_id":170741,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:05:28] local.INFO: Acknowledgment sent {"connection_id":170741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:05:36] local.INFO: TCP Data received {"connection_id":173459,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:05:36] local.INFO: Processing buffer {"connection_id":173459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc13bc8012cb2a48007751650001f00292e..."} 
[2026-09-04 15:05:36] local.INFO: Packet analysis {"connection_id":173459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:05:36] local.INFO: Extracted packet for processing {"connection_id":173459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc1"} 
[2026-09-04 15:05:36] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859563520001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788514221000,"timestamp_ms":1788514221000,"timestamp_seconds":1788514221,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc13bc8"} 
[2026-09-04 15:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-04 15:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859563520001,"66":25952,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859563520001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:05:36] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:05:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859563520001,"power":25952,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":173459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:05:36] local.INFO: GPS data processed {"connection_id":173459,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:05:36] local.INFO: Acknowledgment sent {"connection_id":173459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:05:48] local.INFO: TCP Data received {"connection_id":170742,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:05:48] local.INFO: Processing buffer {"connection_id":170742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:05:48] local.INFO: IMEI packet received {"connection_id":170742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":170742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:05:49] local.INFO: TCP Data received {"connection_id":170743,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:05:49] local.INFO: Processing buffer {"connection_id":170743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:05:49] local.INFO: IMEI packet received {"connection_id":170743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":170743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:05:51] local.INFO: TCP Data received {"connection_id":170742,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:05:51] local.INFO: Processing buffer {"connection_id":170742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:05:51] local.INFO: IMEI packet received {"connection_id":170742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":170742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:05:53] local.INFO: TCP Data received {"connection_id":170742,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:05:53] local.INFO: Processing buffer {"connection_id":170742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:05:53] local.INFO: IMEI packet received {"connection_id":170742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":170742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:05:54] local.INFO: TCP Data received {"connection_id":170742,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc2ce20012d196700071fee10003e00592a..."} 
[2026-09-04 15:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc2ce20012d196700071fee10003e00592a..."} 
[2026-09-04 15:05:54] local.INFO: Processing buffer {"connection_id":170742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc2ce20012d196700071fee10003e00592a..."} 
[2026-09-04 15:05:54] local.INFO: Packet analysis {"connection_id":170742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:05:54] local.INFO: Extracted packet for processing {"connection_id":170742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:05:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859661568001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788514324000,"timestamp_ms":1788514324000,"timestamp_seconds":1788514324,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc2ce20"} 
[2026-09-04 15:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859661568001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859661568001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:05:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:05:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859661568001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":170742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:05:54] local.INFO: GPS data processed {"connection_id":170742,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:05:54] local.INFO: Acknowledgment sent {"connection_id":170742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:05:54] local.INFO: TCP Data received {"connection_id":170743,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:05:54] local.INFO: Processing buffer {"connection_id":170743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:05:54] local.INFO: IMEI packet received {"connection_id":170743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":170743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:05:55] local.INFO: TCP Data received {"connection_id":170743,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:05:55] local.INFO: Processing buffer {"connection_id":170743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:05:55] local.INFO: Packet analysis {"connection_id":170743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:05:55] local.INFO: Extracted packet for processing {"connection_id":170743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:05:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859589888001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514324000,"timestamp_ms":1788514324000,"timestamp_seconds":1788514324,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc2ce20"} 
[2026-09-04 15:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 15:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859589888001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859589888001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:05:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:05:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859589888001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":170743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763096,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:05:56] local.INFO: GPS data processed {"connection_id":170743,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:05:56] local.INFO: Acknowledgment sent {"connection_id":170743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:05:59] local.INFO: TCP Data received {"connection_id":170742,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc32028012d196700071fee10003e00592d..."} 
[2026-09-04 15:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc32028012d196700071fee10003e00592d..."} 
[2026-09-04 15:05:59] local.INFO: Processing buffer {"connection_id":170742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc32028012d196700071fee10003e00592d..."} 
[2026-09-04 15:05:59] local.INFO: Packet analysis {"connection_id":170742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc3"} 
[2026-09-04 15:05:59] local.INFO: Extracted packet for processing {"connection_id":170742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc3"} 
[2026-09-04 15:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":45,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859666944001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788514345000,"timestamp_ms":1788514345000,"timestamp_seconds":1788514345,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc32028"} 
[2026-09-04 15:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 15:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859666944001,"66":12374,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859666944001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:05:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:05:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859666944001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:05:59] local.INFO: TCP Data received {"connection_id":172152,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:05:59] local.INFO: Processing buffer {"connection_id":172152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:05:59] local.INFO: IMEI packet received {"connection_id":172152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":172152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":170742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:05:59] local.INFO: GPS data processed {"connection_id":170742,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:05:59] local.INFO: Acknowledgment sent {"connection_id":170742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:06:01] local.INFO: TCP Data received {"connection_id":172152,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:06:01] local.INFO: Processing buffer {"connection_id":172152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:06:01] local.INFO: IMEI packet received {"connection_id":172152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":172152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:06:04] local.INFO: TCP Data received {"connection_id":172152,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:06:04] local.INFO: Processing buffer {"connection_id":172152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:06:04] local.INFO: IMEI packet received {"connection_id":172152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":172152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:06:06] local.INFO: TCP Data received {"connection_id":172152,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:06:06] local.INFO: Processing buffer {"connection_id":172152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:06:06] local.INFO: Packet analysis {"connection_id":172152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:06:06] local.INFO: Extracted packet for processing {"connection_id":172152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:06:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859640576001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788514522000,"timestamp_ms":1788514522000,"timestamp_seconds":1788514522,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc5d390"} 
[2026-09-04 15:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 15:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859640576001,"66":25908,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859640576001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:06:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859640576001,"power":25908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":172152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:06:06] local.INFO: GPS data processed {"connection_id":172152,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:06:06] local.INFO: Acknowledgment sent {"connection_id":172152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:06:26] local.INFO: TCP Data received {"connection_id":170743,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:06:26] local.INFO: Processing buffer {"connection_id":170743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:06:26] local.INFO: Packet analysis {"connection_id":170743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:06:26] local.INFO: Extracted packet for processing {"connection_id":170743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:06:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859589888001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788514324000,"timestamp_ms":1788514324000,"timestamp_seconds":1788514324,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc2ce20"} 
[2026-09-04 15:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 15:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859589888001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859589888001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:06:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:06:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859589888001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":170743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:06:26] local.INFO: GPS data processed {"connection_id":170743,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:06:26] local.INFO: Acknowledgment sent {"connection_id":170743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:06:30] local.INFO: TCP Data received {"connection_id":170742,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc37230012d196700071fee10003e00592c..."} 
[2026-09-04 15:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc37230012d196700071fee10003e00592c..."} 
[2026-09-04 15:06:30] local.INFO: Processing buffer {"connection_id":170742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc37230012d196700071fee10003e00592c..."} 
[2026-09-04 15:06:30] local.INFO: Packet analysis {"connection_id":170742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc3"} 
[2026-09-04 15:06:30] local.INFO: Extracted packet for processing {"connection_id":170742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc3"} 
[2026-09-04 15:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859672320001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788514366000,"timestamp_ms":1788514366000,"timestamp_seconds":1788514366,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc37230"} 
[2026-09-04 15:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 15:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859672320001,"66":12406,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859672320001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:06:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:06:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859672320001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":170742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:06:30] local.INFO: GPS data processed {"connection_id":170742,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:06:30] local.INFO: Acknowledgment sent {"connection_id":170742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:06:37] local.INFO: TCP Data received {"connection_id":172152,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:06:37] local.INFO: Processing buffer {"connection_id":172152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:06:37] local.INFO: Packet analysis {"connection_id":172152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:06:37] local.INFO: Extracted packet for processing {"connection_id":172152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:06:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859640576001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788514522000,"timestamp_ms":1788514522000,"timestamp_seconds":1788514522,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc5d390"} 
[2026-09-04 15:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 15:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859640576001,"66":25908,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859640576001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:06:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:06:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859640576001,"power":25908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":172152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:06:37] local.INFO: GPS data processed {"connection_id":172152,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:06:37] local.INFO: Acknowledgment sent {"connection_id":172152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:06:48] local.INFO: TCP Data received {"connection_id":170745,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:06:48] local.INFO: Processing buffer {"connection_id":170745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:06:48] local.INFO: IMEI packet received {"connection_id":170745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":170745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:06:49] local.INFO: TCP Data received {"connection_id":170744,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:06:49] local.INFO: Processing buffer {"connection_id":170744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:06:49] local.INFO: IMEI packet received {"connection_id":170744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":170744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:06:53] local.INFO: TCP Data received {"connection_id":170745,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:06:53] local.INFO: Processing buffer {"connection_id":170745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:06:53] local.INFO: IMEI packet received {"connection_id":170745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":170745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:06:54] local.INFO: TCP Data received {"connection_id":170744,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:06:54] local.INFO: Processing buffer {"connection_id":170744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:06:54] local.INFO: IMEI packet received {"connection_id":170744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":170744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:06:54] local.INFO: TCP Data received {"connection_id":170745,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc3c438012d196700071fee10003e00592d..."} 
[2026-09-04 15:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc3c438012d196700071fee10003e00592d..."} 
[2026-09-04 15:06:54] local.INFO: Processing buffer {"connection_id":170745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc3c438012d196700071fee10003e00592d..."} 
[2026-09-04 15:06:54] local.INFO: Packet analysis {"connection_id":170745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc3"} 
[2026-09-04 15:06:54] local.INFO: Extracted packet for processing {"connection_id":170745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc3"} 
[2026-09-04 15:06:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":45,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859677696001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788514387000,"timestamp_ms":1788514387000,"timestamp_seconds":1788514387,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc3c438"} 
[2026-09-04 15:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 15:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859677696001,"66":12200,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859677696001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:06:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:06:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859677696001,"power":12200,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":170745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:06:54] local.INFO: GPS data processed {"connection_id":170745,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:06:54] local.INFO: Acknowledgment sent {"connection_id":170745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:06:55] local.INFO: TCP Data received {"connection_id":170744,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:06:55] local.INFO: Processing buffer {"connection_id":170744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:06:55] local.INFO: Packet analysis {"connection_id":170744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:06:55] local.INFO: Extracted packet for processing {"connection_id":170744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:06:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859589888001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514324000,"timestamp_ms":1788514324000,"timestamp_seconds":1788514324,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc2ce20"} 
[2026-09-04 15:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 15:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859589888001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859589888001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:06:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:06:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859589888001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":170744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:06:55] local.INFO: GPS data processed {"connection_id":170744,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:06:55] local.INFO: Acknowledgment sent {"connection_id":170744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:06:59] local.INFO: TCP Data received {"connection_id":172153,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:06:59] local.INFO: Processing buffer {"connection_id":172153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:06:59] local.INFO: IMEI packet received {"connection_id":172153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":172153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:07:04] local.INFO: TCP Data received {"connection_id":172153,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:07:04] local.INFO: Processing buffer {"connection_id":172153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:07:04] local.INFO: IMEI packet received {"connection_id":172153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":172153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:07:07] local.INFO: TCP Data received {"connection_id":172153,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:07:07] local.INFO: Processing buffer {"connection_id":172153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:07:07] local.INFO: Packet analysis {"connection_id":172153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:07:07] local.INFO: Extracted packet for processing {"connection_id":172153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:07:07] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859640576001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788514522000,"timestamp_ms":1788514522000,"timestamp_seconds":1788514522,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc5d390"} 
[2026-09-04 15:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 15:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859640576001,"66":25908,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859640576001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:07:07] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:07:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:07:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859640576001,"power":25908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":172153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:07:07] local.INFO: GPS data processed {"connection_id":172153,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:07:07] local.INFO: Acknowledgment sent {"connection_id":172153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:07:26] local.INFO: TCP Data received {"connection_id":170745,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc41640012d196700071fee10003e00592b..."} 
[2026-09-04 15:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc41640012d196700071fee10003e00592b..."} 
[2026-09-04 15:07:26] local.INFO: Processing buffer {"connection_id":170745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc41640012d196700071fee10003e00592b..."} 
[2026-09-04 15:07:26] local.INFO: Packet analysis {"connection_id":170745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc4"} 
[2026-09-04 15:07:26] local.INFO: Extracted packet for processing {"connection_id":170745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc4"} 
[2026-09-04 15:07:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859683072001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788514408000,"timestamp_ms":1788514408000,"timestamp_seconds":1788514408,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc41640"} 
[2026-09-04 15:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-09-04 15:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859683072001,"66":12374,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859683072001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:07:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:07:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859683072001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":170745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:07:26] local.INFO: GPS data processed {"connection_id":170745,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:07:26] local.INFO: Acknowledgment sent {"connection_id":170745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:07:27] local.INFO: TCP Data received {"connection_id":170744,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:07:27] local.INFO: Processing buffer {"connection_id":170744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc2ce20012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:07:27] local.INFO: Packet analysis {"connection_id":170744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:07:27] local.INFO: Extracted packet for processing {"connection_id":170744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc2"} 
[2026-09-04 15:07:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859589888001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788514324000,"timestamp_ms":1788514324000,"timestamp_seconds":1788514324,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc2ce20"} 
[2026-09-04 15:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 15:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859589888001,"66":25419,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859589888001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:07:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:07:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859589888001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":170744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763106,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:07:27] local.INFO: GPS data processed {"connection_id":170744,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:07:27] local.INFO: Acknowledgment sent {"connection_id":170744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:07:38] local.INFO: TCP Data received {"connection_id":172153,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:07:38] local.INFO: Processing buffer {"connection_id":172153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:07:38] local.INFO: Packet analysis {"connection_id":172153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:07:38] local.INFO: Extracted packet for processing {"connection_id":172153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:07:38] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859640576001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788514522000,"timestamp_ms":1788514522000,"timestamp_seconds":1788514522,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc5d390"} 
[2026-09-04 15:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 15:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859640576001,"66":25908,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859640576001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:07:38] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:07:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859640576001,"power":25908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":172153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:07:38] local.INFO: GPS data processed {"connection_id":172153,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:07:38] local.INFO: Acknowledgment sent {"connection_id":172153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:07:49] local.INFO: TCP Data received {"connection_id":172154,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:07:49] local.INFO: Processing buffer {"connection_id":172154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:07:49] local.INFO: IMEI packet received {"connection_id":172154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":172154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:07:53] local.INFO: TCP Data received {"connection_id":171059,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:07:53] local.INFO: Processing buffer {"connection_id":171059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:07:53] local.INFO: IMEI packet received {"connection_id":171059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":171059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:07:54] local.INFO: TCP Data received {"connection_id":172154,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:07:54] local.INFO: Processing buffer {"connection_id":172154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:07:54] local.INFO: IMEI packet received {"connection_id":172154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":172154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:07:55] local.INFO: TCP Data received {"connection_id":172154,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:07:55] local.INFO: Processing buffer {"connection_id":172154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:07:55] local.INFO: Packet analysis {"connection_id":172154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:07:55] local.INFO: Extracted packet for processing {"connection_id":172154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:07:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859666944001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514625000,"timestamp_ms":1788514625000,"timestamp_seconds":1788514625,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc765e8"} 
[2026-09-04 15:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 15:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859666944001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859666944001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:07:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859666944001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":172154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:07:55] local.INFO: GPS data processed {"connection_id":172154,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:07:55] local.INFO: Acknowledgment sent {"connection_id":172154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:07:57] local.INFO: TCP Data received {"connection_id":171059,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:07:57] local.INFO: Processing buffer {"connection_id":171059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:07:57] local.INFO: IMEI packet received {"connection_id":171059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":171059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:07:59] local.INFO: TCP Data received {"connection_id":171059,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc46848012d196700071fee10003e00592c..."} 
[2026-09-04 15:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc46848012d196700071fee10003e00592c..."} 
[2026-09-04 15:07:59] local.INFO: Processing buffer {"connection_id":171059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc46848012d196700071fee10003e00592c..."} 
[2026-09-04 15:07:59] local.INFO: Packet analysis {"connection_id":171059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc4"} 
[2026-09-04 15:07:59] local.INFO: Extracted packet for processing {"connection_id":171059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc4"} 
[2026-09-04 15:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859688448001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788514429000,"timestamp_ms":1788514429000,"timestamp_seconds":1788514429,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc46848"} 
[2026-09-04 15:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 15:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859688448001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859688448001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:07:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859688448001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":171059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:07:59] local.INFO: GPS data processed {"connection_id":171059,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:07:59] local.INFO: Acknowledgment sent {"connection_id":171059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:07:59] local.INFO: TCP Data received {"connection_id":172155,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:07:59] local.INFO: Processing buffer {"connection_id":172155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:07:59] local.INFO: IMEI packet received {"connection_id":172155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":172155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:08:00] local.INFO: TCP Data received {"connection_id":171059,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc4ba50012d196700071fee10003e00592b..."} 
[2026-09-04 15:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc4ba50012d196700071fee10003e00592b..."} 
[2026-09-04 15:08:00] local.INFO: Processing buffer {"connection_id":171059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc4ba50012d196700071fee10003e00592b..."} 
[2026-09-04 15:08:00] local.INFO: Packet analysis {"connection_id":171059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc4"} 
[2026-09-04 15:08:00] local.INFO: Extracted packet for processing {"connection_id":171059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc4"} 
[2026-09-04 15:08:00] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859693824001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788514450000,"timestamp_ms":1788514450000,"timestamp_seconds":1788514450,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc4ba50"} 
[2026-09-04 15:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859693824001,"66":11254,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859693824001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:08:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:08:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859693824001,"power":11254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":171059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:08:00] local.INFO: GPS data processed {"connection_id":171059,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:08:00] local.INFO: Acknowledgment sent {"connection_id":171059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:08:04] local.INFO: TCP Data received {"connection_id":172155,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:08:04] local.INFO: Processing buffer {"connection_id":172155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:08:04] local.INFO: IMEI packet received {"connection_id":172155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":172155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:08:06] local.INFO: TCP Data received {"connection_id":172155,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:08:06] local.INFO: Processing buffer {"connection_id":172155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:08:06] local.INFO: Packet analysis {"connection_id":172155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:08:06] local.INFO: Extracted packet for processing {"connection_id":172155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:08:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859640576001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788514522000,"timestamp_ms":1788514522000,"timestamp_seconds":1788514522,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc5d390"} 
[2026-09-04 15:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 15:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859640576001,"66":25908,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859640576001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:08:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:08:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859640576001,"power":25908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":172155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:08:06] local.INFO: GPS data processed {"connection_id":172155,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:08:06] local.INFO: Acknowledgment sent {"connection_id":172155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:08:28] local.INFO: TCP Data received {"connection_id":172154,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:08:28] local.INFO: Processing buffer {"connection_id":172154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:08:28] local.INFO: Packet analysis {"connection_id":172154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:08:28] local.INFO: Extracted packet for processing {"connection_id":172154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:08:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859666944001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788514625000,"timestamp_ms":1788514625000,"timestamp_seconds":1788514625,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc765e8"} 
[2026-09-04 15:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 15:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859666944001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859666944001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:08:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859666944001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":172154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:08:28] local.INFO: GPS data processed {"connection_id":172154,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:08:28] local.INFO: Acknowledgment sent {"connection_id":172154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:08:32] local.INFO: TCP Data received {"connection_id":171059,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc50c58012d196700071fee10003e00592a..."} 
[2026-09-04 15:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc50c58012d196700071fee10003e00592a..."} 
[2026-09-04 15:08:32] local.INFO: Processing buffer {"connection_id":171059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc50c58012d196700071fee10003e00592a..."} 
[2026-09-04 15:08:32] local.INFO: Packet analysis {"connection_id":171059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:08:32] local.INFO: Extracted packet for processing {"connection_id":171059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:08:32] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859699200001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788514471000,"timestamp_ms":1788514471000,"timestamp_seconds":1788514471,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc50c58"} 
[2026-09-04 15:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-04 15:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859699200001,"66":12298,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859699200001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:08:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:08:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859699200001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":171059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:08:32] local.INFO: GPS data processed {"connection_id":171059,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:08:32] local.INFO: Acknowledgment sent {"connection_id":171059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:08:37] local.INFO: TCP Data received {"connection_id":172155,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:08:37] local.INFO: Processing buffer {"connection_id":172155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:08:37] local.INFO: Packet analysis {"connection_id":172155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:08:37] local.INFO: Extracted packet for processing {"connection_id":172155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859640576001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788514522000,"timestamp_ms":1788514522000,"timestamp_seconds":1788514522,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc5d390"} 
[2026-09-04 15:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 15:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859640576001,"66":25908,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859640576001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:08:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:08:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859640576001,"power":25908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":172155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:08:37] local.INFO: GPS data processed {"connection_id":172155,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:08:37] local.INFO: Acknowledgment sent {"connection_id":172155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:08:48] local.INFO: TCP Data received {"connection_id":173460,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:08:48] local.INFO: Processing buffer {"connection_id":173460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:08:48] local.INFO: IMEI packet received {"connection_id":173460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":173460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:08:49] local.INFO: TCP Data received {"connection_id":170746,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:08:49] local.INFO: Processing buffer {"connection_id":170746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:08:49] local.INFO: IMEI packet received {"connection_id":170746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":170746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:08:53] local.INFO: TCP Data received {"connection_id":173460,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:08:53] local.INFO: Processing buffer {"connection_id":173460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:08:53] local.INFO: IMEI packet received {"connection_id":173460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":173460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:08:54] local.INFO: TCP Data received {"connection_id":173460,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc55e60012d196700071fee10003e00592c..."} 
[2026-09-04 15:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc55e60012d196700071fee10003e00592c..."} 
[2026-09-04 15:08:54] local.INFO: Processing buffer {"connection_id":173460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc55e60012d196700071fee10003e00592c..."} 
[2026-09-04 15:08:54] local.INFO: Packet analysis {"connection_id":173460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:08:54] local.INFO: Extracted packet for processing {"connection_id":173460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:08:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859704576001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788514492000,"timestamp_ms":1788514492000,"timestamp_seconds":1788514492,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc55e60"} 
[2026-09-04 15:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 15:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513390635034476633,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:54] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:54] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452349,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:54] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4755801206503243775,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7764995344394164583,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:54] local.WARNING: Large IO value detected {"io_id":62,"raw_value":25100750950498304,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:54] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:54] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972246169419982,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:54] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3284416513,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:54] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026046,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 15:08:54] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,102,160,186,45,238,62,43,10,66,104,44,22,1,240,86,107,31,4,113,205,114,103,239,48,2,61,7,42],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 15:08:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467668867275030528,"timestamp_seconds":4467668867275030.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 15:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859704576001,"66":12363,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859704576001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:08:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:08:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859704576001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":173460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:08:54] local.INFO: GPS data processed {"connection_id":173460,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:08:54] local.INFO: Acknowledgment sent {"connection_id":173460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:08:54] local.INFO: TCP Data received {"connection_id":170746,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:08:54] local.INFO: Processing buffer {"connection_id":170746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:08:54] local.INFO: IMEI packet received {"connection_id":170746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":170746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:08:55] local.INFO: TCP Data received {"connection_id":170746,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:08:55] local.INFO: Processing buffer {"connection_id":170746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:08:55] local.INFO: Packet analysis {"connection_id":170746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:08:55] local.INFO: Extracted packet for processing {"connection_id":170746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859666944001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514625000,"timestamp_ms":1788514625000,"timestamp_seconds":1788514625,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc765e8"} 
[2026-09-04 15:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 15:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859666944001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859666944001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:08:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859666944001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":170746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763116,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:08:55] local.INFO: GPS data processed {"connection_id":170746,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:08:55] local.INFO: Acknowledgment sent {"connection_id":170746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:08:59] local.INFO: TCP Data received {"connection_id":171060,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:08:59] local.INFO: Processing buffer {"connection_id":171060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:08:59] local.INFO: IMEI packet received {"connection_id":171060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":171060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:09:04] local.INFO: TCP Data received {"connection_id":171060,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:09:04] local.INFO: Processing buffer {"connection_id":171060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:09:04] local.INFO: IMEI packet received {"connection_id":171060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":171060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:09:06] local.INFO: TCP Data received {"connection_id":171060,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:09:06] local.INFO: Processing buffer {"connection_id":171060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:09:06] local.INFO: Packet analysis {"connection_id":171060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:09:06] local.INFO: Extracted packet for processing {"connection_id":171060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:09:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859640576001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788514522000,"timestamp_ms":1788514522000,"timestamp_seconds":1788514522,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc5d390"} 
[2026-09-04 15:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 15:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859640576001,"66":25908,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859640576001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:09:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859640576001,"power":25908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":171060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:09:06] local.INFO: GPS data processed {"connection_id":171060,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:09:06] local.INFO: Acknowledgment sent {"connection_id":171060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:09:26] local.INFO: TCP Data received {"connection_id":173460,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc5b068012d196700071fee10003e00592c..."} 
[2026-09-04 15:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc5b068012d196700071fee10003e00592c..."} 
[2026-09-04 15:09:26] local.INFO: Processing buffer {"connection_id":173460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc5b068012d196700071fee10003e00592c..."} 
[2026-09-04 15:09:26] local.INFO: Packet analysis {"connection_id":173460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:09:26] local.INFO: Extracted packet for processing {"connection_id":173460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:09:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859709952001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788514513000,"timestamp_ms":1788514513000,"timestamp_seconds":1788514513,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc5b068"} 
[2026-09-04 15:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 15:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859709952001,"66":11471,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859709952001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:09:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:09:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859709952001,"power":11471,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":173460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:09:26] local.INFO: GPS data processed {"connection_id":173460,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:09:26] local.INFO: Acknowledgment sent {"connection_id":173460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:09:27] local.INFO: TCP Data received {"connection_id":170746,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:09:27] local.INFO: Processing buffer {"connection_id":170746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:09:27] local.INFO: Packet analysis {"connection_id":170746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:09:27] local.INFO: Extracted packet for processing {"connection_id":170746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:09:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859666944001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788514625000,"timestamp_ms":1788514625000,"timestamp_seconds":1788514625,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc765e8"} 
[2026-09-04 15:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 15:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859666944001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859666944001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:09:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:09:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859666944001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":170746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:09:27] local.INFO: GPS data processed {"connection_id":170746,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:09:27] local.INFO: Acknowledgment sent {"connection_id":170746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:09:39] local.INFO: TCP Data received {"connection_id":171060,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:09:40] local.INFO: Processing buffer {"connection_id":171060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:09:40] local.INFO: Packet analysis {"connection_id":171060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:09:40] local.INFO: Extracted packet for processing {"connection_id":171060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:09:40] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859640576001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788514522000,"timestamp_ms":1788514522000,"timestamp_seconds":1788514522,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc5d390"} 
[2026-09-04 15:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 15:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859640576001,"66":25908,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859640576001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:09:40] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:09:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859640576001,"power":25908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":171060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:09:40] local.INFO: GPS data processed {"connection_id":171060,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:09:40] local.INFO: Acknowledgment sent {"connection_id":171060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:09:48] local.INFO: TCP Data received {"connection_id":173461,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:09:48] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:09:48] local.INFO: IMEI packet received {"connection_id":173461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":173461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:09:48] local.INFO: TCP Data received {"connection_id":173462,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:09:48] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:09:48] local.INFO: IMEI packet received {"connection_id":173462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":173462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:09:53] local.INFO: TCP Data received {"connection_id":173461,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:09:53] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:09:53] local.INFO: IMEI packet received {"connection_id":173461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":173461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:09:54] local.INFO: TCP Data received {"connection_id":173462,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:09:54] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:09:54] local.INFO: IMEI packet received {"connection_id":173462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":173462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:09:55] local.INFO: TCP Data received {"connection_id":173461,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc60270012d196700071fee10003e00592d..."} 
[2026-09-04 15:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc60270012d196700071fee10003e00592d..."} 
[2026-09-04 15:09:55] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc60270012d196700071fee10003e00592d..."} 
[2026-09-04 15:09:55] local.INFO: Packet analysis {"connection_id":173461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc6"} 
[2026-09-04 15:09:55] local.INFO: Extracted packet for processing {"connection_id":173461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc6"} 
[2026-09-04 15:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":45,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859715328001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514534000,"timestamp_ms":1788514534000,"timestamp_seconds":1788514534,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc60270"} 
[2026-09-04 15:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 15:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859715328001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859715328001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:09:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859715328001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":173461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:09:55] local.INFO: GPS data processed {"connection_id":173461,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:09:55] local.INFO: Acknowledgment sent {"connection_id":173461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:09:55] local.INFO: TCP Data received {"connection_id":173462,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:09:55] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:09:55] local.INFO: Packet analysis {"connection_id":173462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:09:55] local.INFO: Extracted packet for processing {"connection_id":173462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859666944001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514625000,"timestamp_ms":1788514625000,"timestamp_seconds":1788514625,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc765e8"} 
[2026-09-04 15:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 15:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859666944001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859666944001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:09:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859666944001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":173462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763122,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:09:55] local.INFO: GPS data processed {"connection_id":173462,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:09:55] local.INFO: Acknowledgment sent {"connection_id":173462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:10:00] local.INFO: TCP Data received {"connection_id":172156,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:10:00] local.INFO: Processing buffer {"connection_id":172156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:10:00] local.INFO: IMEI packet received {"connection_id":172156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":172156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:10:05] local.INFO: TCP Data received {"connection_id":172156,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:10:05] local.INFO: Processing buffer {"connection_id":172156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:10:05] local.INFO: IMEI packet received {"connection_id":172156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":172156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:10:07] local.INFO: TCP Data received {"connection_id":172156,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:10:07] local.INFO: Processing buffer {"connection_id":172156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:10:07] local.INFO: Packet analysis {"connection_id":172156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:10:07] local.INFO: Extracted packet for processing {"connection_id":172156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:10:07] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859640576001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788514522000,"timestamp_ms":1788514522000,"timestamp_seconds":1788514522,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc5d390"} 
[2026-09-04 15:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 15:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859640576001,"66":25908,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859640576001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:10:07] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:10:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859640576001,"power":25908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":172156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:10:07] local.INFO: GPS data processed {"connection_id":172156,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:10:07] local.INFO: Acknowledgment sent {"connection_id":172156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:10:26] local.INFO: TCP Data received {"connection_id":173461,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc65478012d196700071fee10003e00592b..."} 
[2026-09-04 15:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc65478012d196700071fee10003e00592b..."} 
[2026-09-04 15:10:26] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc65478012d196700071fee10003e00592b..."} 
[2026-09-04 15:10:26] local.INFO: Packet analysis {"connection_id":173461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc6"} 
[2026-09-04 15:10:26] local.INFO: Extracted packet for processing {"connection_id":173461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc6"} 
[2026-09-04 15:10:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859720704001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788514555000,"timestamp_ms":1788514555000,"timestamp_seconds":1788514555,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc65478"} 
[2026-09-04 15:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859720704001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859720704001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:10:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:10:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859720704001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":173461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:10:26] local.INFO: GPS data processed {"connection_id":173461,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:10:26] local.INFO: Acknowledgment sent {"connection_id":173461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:10:27] local.INFO: TCP Data received {"connection_id":173462,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:10:27] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:10:27] local.INFO: Packet analysis {"connection_id":173462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:10:27] local.INFO: Extracted packet for processing {"connection_id":173462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:10:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859666944001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788514625000,"timestamp_ms":1788514625000,"timestamp_seconds":1788514625,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc765e8"} 
[2026-09-04 15:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 15:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859666944001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859666944001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:10:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859666944001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":173462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763125,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:10:27] local.INFO: GPS data processed {"connection_id":173462,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:10:27] local.INFO: Acknowledgment sent {"connection_id":173462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:10:38] local.INFO: TCP Data received {"connection_id":172156,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:10:38] local.INFO: Processing buffer {"connection_id":172156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc5d390012cb2a48007751650001f00292b..."} 
[2026-09-04 15:10:38] local.INFO: Packet analysis {"connection_id":172156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:10:38] local.INFO: Extracted packet for processing {"connection_id":172156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc5"} 
[2026-09-04 15:10:38] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859640576001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788514522000,"timestamp_ms":1788514522000,"timestamp_seconds":1788514522,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc5d390"} 
[2026-09-04 15:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 15:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859640576001,"66":25908,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859640576001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:10:38] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:10:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859640576001,"power":25908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":172156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:10:38] local.INFO: GPS data processed {"connection_id":172156,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:10:38] local.INFO: Acknowledgment sent {"connection_id":172156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:10:48] local.INFO: TCP Data received {"connection_id":170747,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:10:48] local.INFO: Processing buffer {"connection_id":170747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:10:48] local.INFO: IMEI packet received {"connection_id":170747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":170747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:10:48] local.INFO: TCP Data received {"connection_id":173463,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:10:48] local.INFO: Processing buffer {"connection_id":173463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:10:48] local.INFO: IMEI packet received {"connection_id":173463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":173463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:10:53] local.INFO: TCP Data received {"connection_id":170747,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:10:53] local.INFO: Processing buffer {"connection_id":170747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:10:53] local.INFO: IMEI packet received {"connection_id":170747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":170747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:10:54] local.INFO: TCP Data received {"connection_id":173463,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:10:54] local.INFO: Processing buffer {"connection_id":173463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:10:54] local.INFO: IMEI packet received {"connection_id":173463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":173463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:10:55] local.INFO: TCP Data received {"connection_id":173463,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:10:55] local.INFO: Processing buffer {"connection_id":173463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:10:55] local.INFO: Packet analysis {"connection_id":173463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:10:55] local.INFO: Extracted packet for processing {"connection_id":173463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:10:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859666944001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514625000,"timestamp_ms":1788514625000,"timestamp_seconds":1788514625,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc765e8"} 
[2026-09-04 15:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 15:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:10:55] local.INFO: TCP Data received {"connection_id":170747,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc6a680012d196700071fee10003e00592c..."} 
[2026-09-04 15:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859666944001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859666944001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:10:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:10:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859666944001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc6a680012d196700071fee10003e00592c..."} 
[2026-09-04 15:10:55] local.INFO: Processing buffer {"connection_id":170747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc6a680012d196700071fee10003e00592c..."} 
[2026-09-04 15:10:55] local.INFO: Packet analysis {"connection_id":170747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc6"} 
[2026-09-04 15:10:55] local.INFO: Extracted packet for processing {"connection_id":170747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc6"} 
[2026-09-04 15:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859726080001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514576000,"timestamp_ms":1788514576000,"timestamp_seconds":1788514576,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc6a680"} 
[2026-09-04 15:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859726080001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859726080001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:10:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:10:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859726080001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":170747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:10:55] local.INFO: GPS data processed {"connection_id":170747,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:10:55] local.INFO: Acknowledgment sent {"connection_id":170747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":173463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763128,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:10:55] local.INFO: GPS data processed {"connection_id":173463,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:10:55] local.INFO: Acknowledgment sent {"connection_id":173463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:10:59] local.INFO: TCP Data received {"connection_id":173464,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:10:59] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:10:59] local.INFO: IMEI packet received {"connection_id":173464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":173464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:11:02] local.INFO: TCP Data received {"connection_id":173464,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:11:02] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:11:02] local.INFO: IMEI packet received {"connection_id":173464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":173464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:11:04] local.INFO: TCP Data received {"connection_id":173464,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:11:04] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:11:04] local.INFO: IMEI packet received {"connection_id":173464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":173464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:11:06] local.INFO: TCP Data received {"connection_id":173464,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:11:06] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:11:06] local.INFO: Packet analysis {"connection_id":173464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:11:06] local.INFO: Extracted packet for processing {"connection_id":173464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:11:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859717632001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788514823000,"timestamp_ms":1788514823000,"timestamp_seconds":1788514823,"priority":1,"record_length":96,"hex_timestamp":"000001a06bca6b58"} 
[2026-09-04 15:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 15:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859717632001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859717632001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:11:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859717632001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":173464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:11:06] local.INFO: GPS data processed {"connection_id":173464,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:11:06] local.INFO: Acknowledgment sent {"connection_id":173464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:11:27] local.INFO: TCP Data received {"connection_id":170747,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc6f888012d196700071fee10003e00592d..."} 
[2026-09-04 15:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc6f888012d196700071fee10003e00592d..."} 
[2026-09-04 15:11:27] local.INFO: Processing buffer {"connection_id":170747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc6f888012d196700071fee10003e00592d..."} 
[2026-09-04 15:11:27] local.INFO: Packet analysis {"connection_id":170747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc6"} 
[2026-09-04 15:11:27] local.INFO: Extracted packet for processing {"connection_id":170747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc6"} 
[2026-09-04 15:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":45,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859731456001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788514597000,"timestamp_ms":1788514597000,"timestamp_seconds":1788514597,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc6f888"} 
[2026-09-04 15:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859731456001,"66":12406,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859731456001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:11:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:11:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859731456001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":170747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:11:27] local.INFO: GPS data processed {"connection_id":170747,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:11:27] local.INFO: Acknowledgment sent {"connection_id":170747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:11:28] local.INFO: TCP Data received {"connection_id":173463,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:11:28] local.INFO: Processing buffer {"connection_id":173463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:11:28] local.INFO: Packet analysis {"connection_id":173463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:11:28] local.INFO: Extracted packet for processing {"connection_id":173463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:11:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859666944001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788514625000,"timestamp_ms":1788514625000,"timestamp_seconds":1788514625,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc765e8"} 
[2026-09-04 15:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 15:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859666944001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859666944001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:11:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:11:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859666944001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":173463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:11:28] local.INFO: GPS data processed {"connection_id":173463,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:11:28] local.INFO: Acknowledgment sent {"connection_id":173463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:11:37] local.INFO: TCP Data received {"connection_id":173464,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:11:37] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:11:37] local.INFO: Packet analysis {"connection_id":173464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:11:37] local.INFO: Extracted packet for processing {"connection_id":173464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:11:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859717632001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788514823000,"timestamp_ms":1788514823000,"timestamp_seconds":1788514823,"priority":1,"record_length":96,"hex_timestamp":"000001a06bca6b58"} 
[2026-09-04 15:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 15:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859717632001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859717632001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:11:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859717632001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":173464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:11:37] local.INFO: GPS data processed {"connection_id":173464,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:11:37] local.INFO: Acknowledgment sent {"connection_id":173464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:11:54] local.INFO: TCP Data received {"connection_id":170748,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:11:54] local.INFO: Processing buffer {"connection_id":170748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:11:54] local.INFO: IMEI packet received {"connection_id":170748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":170748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:11:54] local.INFO: TCP Data received {"connection_id":170749,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:11:54] local.INFO: Processing buffer {"connection_id":170749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:11:54] local.INFO: IMEI packet received {"connection_id":170749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":170749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:11:58] local.INFO: TCP Data received {"connection_id":170748,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:11:58] local.INFO: Processing buffer {"connection_id":170748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:11:58] local.INFO: IMEI packet received {"connection_id":170748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":170748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:11:59] local.INFO: TCP Data received {"connection_id":170749,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:11:59] local.INFO: Processing buffer {"connection_id":170749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:11:59] local.INFO: IMEI packet received {"connection_id":170749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":170749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:11:59] local.INFO: TCP Data received {"connection_id":170750,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:11:59] local.INFO: Processing buffer {"connection_id":170750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:11:59] local.INFO: IMEI packet received {"connection_id":170750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":170750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:12:00] local.INFO: TCP Data received {"connection_id":170749,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:12:00] local.INFO: Processing buffer {"connection_id":170749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:12:00] local.INFO: Packet analysis {"connection_id":170749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:12:00] local.INFO: Extracted packet for processing {"connection_id":170749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:12:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859666944001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788514625000,"timestamp_ms":1788514625000,"timestamp_seconds":1788514625,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc765e8"} 
[2026-09-04 15:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 15:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859666944001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859666944001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:12:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:12:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859666944001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":170749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:12:00] local.INFO: GPS data processed {"connection_id":170749,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:12:00] local.INFO: Acknowledgment sent {"connection_id":170749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:12:00] local.INFO: TCP Data received {"connection_id":170748,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bca7ee0012d196700071fee10003e00592a..."} 
[2026-09-04 15:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bca7ee0012d196700071fee10003e00592a..."} 
[2026-09-04 15:12:00] local.INFO: Processing buffer {"connection_id":170748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bca7ee0012d196700071fee10003e00592a..."} 
[2026-09-04 15:12:00] local.INFO: Packet analysis {"connection_id":170748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:12:00] local.INFO: Extracted packet for processing {"connection_id":170748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:12:00] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859790592001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788514828000,"timestamp_ms":1788514828000,"timestamp_seconds":1788514828,"priority":1,"record_length":96,"hex_timestamp":"000001a06bca7ee0"} 
[2026-09-04 15:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859790592001,"66":12406,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859790592001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:12:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:12:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859790592001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":170748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:12:00] local.INFO: GPS data processed {"connection_id":170748,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:12:00] local.INFO: Acknowledgment sent {"connection_id":170748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:12:04] local.INFO: TCP Data received {"connection_id":170750,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:12:04] local.INFO: Processing buffer {"connection_id":170750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:12:04] local.INFO: IMEI packet received {"connection_id":170750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":170750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:12:04] local.INFO: TCP Data received {"connection_id":170748,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcad0e8012d196700071fee10003e00592b..."} 
[2026-09-04 15:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcad0e8012d196700071fee10003e00592b..."} 
[2026-09-04 15:12:04] local.INFO: Processing buffer {"connection_id":170748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcad0e8012d196700071fee10003e00592b..."} 
[2026-09-04 15:12:04] local.INFO: Packet analysis {"connection_id":170748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:12:04] local.INFO: Extracted packet for processing {"connection_id":170748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859795968001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788514849000,"timestamp_ms":1788514849000,"timestamp_seconds":1788514849,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcad0e8"} 
[2026-09-04 15:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 15:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859795968001,"66":12374,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859795968001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:12:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:12:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859795968001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":170748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:12:05] local.INFO: GPS data processed {"connection_id":170748,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:12:05] local.INFO: Acknowledgment sent {"connection_id":170748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:12:05] local.INFO: TCP Data received {"connection_id":170749,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:12:05] local.INFO: Processing buffer {"connection_id":170749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bc765e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:12:05] local.INFO: Packet analysis {"connection_id":170749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:12:05] local.INFO: Extracted packet for processing {"connection_id":170749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bc7"} 
[2026-09-04 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859666944001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788514625000,"timestamp_ms":1788514625000,"timestamp_seconds":1788514625,"priority":1,"record_length":96,"hex_timestamp":"000001a06bc765e8"} 
[2026-09-04 15:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 15:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859666944001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859666944001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:12:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859666944001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":170749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763136,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:12:05] local.INFO: GPS data processed {"connection_id":170749,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:12:05] local.INFO: Acknowledgment sent {"connection_id":170749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:12:06] local.INFO: TCP Data received {"connection_id":170750,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:12:06] local.INFO: Processing buffer {"connection_id":170750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:12:06] local.INFO: Packet analysis {"connection_id":170750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:12:06] local.INFO: Extracted packet for processing {"connection_id":170750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:12:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859717632001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788514823000,"timestamp_ms":1788514823000,"timestamp_seconds":1788514823,"priority":1,"record_length":96,"hex_timestamp":"000001a06bca6b58"} 
[2026-09-04 15:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 15:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859717632001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859717632001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:12:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:12:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859717632001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":170750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:12:06] local.INFO: GPS data processed {"connection_id":170750,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:12:06] local.INFO: Acknowledgment sent {"connection_id":170750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:12:11] local.INFO: TCP Data received {"connection_id":170750,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:12:11] local.INFO: Processing buffer {"connection_id":170750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:12:11] local.INFO: Packet analysis {"connection_id":170750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:12:11] local.INFO: Extracted packet for processing {"connection_id":170750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:12:11] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859717632001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788514823000,"timestamp_ms":1788514823000,"timestamp_seconds":1788514823,"priority":1,"record_length":96,"hex_timestamp":"000001a06bca6b58"} 
[2026-09-04 15:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 15:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":170750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":170750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":170750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859717632001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859717632001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:12:11] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:12:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859717632001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":170750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:12:11] local.INFO: GPS data processed {"connection_id":170750,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:12:11] local.INFO: Acknowledgment sent {"connection_id":170750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:12:42] local.INFO: TCP Data received {"connection_id":170750,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:12:42] local.INFO: Processing buffer {"connection_id":170750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:12:42] local.INFO: Packet analysis {"connection_id":170750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:12:42] local.INFO: Extracted packet for processing {"connection_id":170750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:12:42] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859717632001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788514823000,"timestamp_ms":1788514823000,"timestamp_seconds":1788514823,"priority":1,"record_length":96,"hex_timestamp":"000001a06bca6b58"} 
[2026-09-04 15:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 15:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859717632001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859717632001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:12:42] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859717632001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":170750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:12:42] local.INFO: GPS data processed {"connection_id":170750,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:12:42] local.INFO: Acknowledgment sent {"connection_id":170750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:12:48] local.INFO: TCP Data received {"connection_id":171061,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:12:48] local.INFO: Processing buffer {"connection_id":171061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:12:48] local.INFO: IMEI packet received {"connection_id":171061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":171061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:12:49] local.INFO: TCP Data received {"connection_id":171062,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:12:49] local.INFO: Processing buffer {"connection_id":171062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:12:49] local.INFO: IMEI packet received {"connection_id":171062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":171062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:12:51] local.INFO: TCP Data received {"connection_id":171061,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:12:51] local.INFO: Processing buffer {"connection_id":171061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:12:51] local.INFO: IMEI packet received {"connection_id":171061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":171061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:12:53] local.INFO: TCP Data received {"connection_id":171061,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcb22f0012d196700071fee10003e00592a..."} 
[2026-09-04 15:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcb22f0012d196700071fee10003e00592a..."} 
[2026-09-04 15:12:53] local.INFO: Processing buffer {"connection_id":171061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcb22f0012d196700071fee10003e00592a..."} 
[2026-09-04 15:12:53] local.INFO: Packet analysis {"connection_id":171061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:12:53] local.INFO: Extracted packet for processing {"connection_id":171061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:12:53] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859801344001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788514870000,"timestamp_ms":1788514870000,"timestamp_seconds":1788514870,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcb22f0"} 
[2026-09-04 15:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 15:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859801344001,"66":12374,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859801344001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:12:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:12:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859801344001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":171061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:12:53] local.INFO: GPS data processed {"connection_id":171061,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:12:53] local.INFO: Acknowledgment sent {"connection_id":171061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:12:54] local.INFO: TCP Data received {"connection_id":171062,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:12:54] local.INFO: Processing buffer {"connection_id":171062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:12:54] local.INFO: IMEI packet received {"connection_id":171062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":171062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:12:59] local.INFO: TCP Data received {"connection_id":170751,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:12:59] local.INFO: Processing buffer {"connection_id":170751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:12:59] local.INFO: IMEI packet received {"connection_id":170751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":170751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:13:02] local.INFO: TCP Data received {"connection_id":171062,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:13:02] local.INFO: Processing buffer {"connection_id":171062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:13:02] local.INFO: Packet analysis {"connection_id":171062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:13:02] local.INFO: Extracted packet for processing {"connection_id":171062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:13:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859744000001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788514926000,"timestamp_ms":1788514926000,"timestamp_seconds":1788514926,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcbfdb0"} 
[2026-09-04 15:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859744000001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859744000001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:13:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:13:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859744000001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":171062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763141,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:13:02] local.INFO: GPS data processed {"connection_id":171062,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:13:02] local.INFO: Acknowledgment sent {"connection_id":171062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:13:04] local.INFO: TCP Data received {"connection_id":170751,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:13:04] local.INFO: Processing buffer {"connection_id":170751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:13:04] local.INFO: IMEI packet received {"connection_id":170751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":170751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:13:06] local.INFO: TCP Data received {"connection_id":170751,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:13:06] local.INFO: Processing buffer {"connection_id":170751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:13:06] local.INFO: Packet analysis {"connection_id":170751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:13:06] local.INFO: Extracted packet for processing {"connection_id":170751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859717632001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788514823000,"timestamp_ms":1788514823000,"timestamp_seconds":1788514823,"priority":1,"record_length":96,"hex_timestamp":"000001a06bca6b58"} 
[2026-09-04 15:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 15:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859717632001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859717632001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:13:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:13:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859717632001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":170751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:13:06] local.INFO: GPS data processed {"connection_id":170751,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:13:06] local.INFO: Acknowledgment sent {"connection_id":170751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:13:25] local.INFO: TCP Data received {"connection_id":171061,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcb74f8012d196700071fee10003e00592c..."} 
[2026-09-04 15:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcb74f8012d196700071fee10003e00592c..."} 
[2026-09-04 15:13:25] local.INFO: Processing buffer {"connection_id":171061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcb74f8012d196700071fee10003e00592c..."} 
[2026-09-04 15:13:25] local.INFO: Packet analysis {"connection_id":171061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:13:25] local.INFO: Extracted packet for processing {"connection_id":171061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:13:25] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859806720001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788514891000,"timestamp_ms":1788514891000,"timestamp_seconds":1788514891,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcb74f8"} 
[2026-09-04 15:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 15:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859806720001,"66":12374,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859806720001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:13:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:13:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859806720001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":171061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:13:25] local.INFO: GPS data processed {"connection_id":171061,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:13:25] local.INFO: Acknowledgment sent {"connection_id":171061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:13:34] local.INFO: TCP Data received {"connection_id":171062,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:13:34] local.INFO: Processing buffer {"connection_id":171062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:13:34] local.INFO: Packet analysis {"connection_id":171062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:13:34] local.INFO: Extracted packet for processing {"connection_id":171062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:13:34] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859744000001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788514926000,"timestamp_ms":1788514926000,"timestamp_seconds":1788514926,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcbfdb0"} 
[2026-09-04 15:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859744000001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859744000001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:13:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:13:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859744000001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":171062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:13:34] local.INFO: GPS data processed {"connection_id":171062,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:13:34] local.INFO: Acknowledgment sent {"connection_id":171062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:13:40] local.INFO: TCP Data received {"connection_id":170751,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:13:40] local.INFO: Processing buffer {"connection_id":170751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:13:40] local.INFO: Packet analysis {"connection_id":170751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:13:40] local.INFO: Extracted packet for processing {"connection_id":170751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:13:40] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859717632001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788514823000,"timestamp_ms":1788514823000,"timestamp_seconds":1788514823,"priority":1,"record_length":96,"hex_timestamp":"000001a06bca6b58"} 
[2026-09-04 15:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 15:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859717632001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859717632001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:13:40] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859717632001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":170751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:13:40] local.INFO: GPS data processed {"connection_id":170751,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:13:40] local.INFO: Acknowledgment sent {"connection_id":170751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:13:49] local.INFO: TCP Data received {"connection_id":172157,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:13:49] local.INFO: Processing buffer {"connection_id":172157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:13:49] local.INFO: IMEI packet received {"connection_id":172157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":172157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:13:53] local.INFO: TCP Data received {"connection_id":172157,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:13:53] local.INFO: Processing buffer {"connection_id":172157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:13:53] local.INFO: IMEI packet received {"connection_id":172157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":172157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:13:54] local.INFO: TCP Data received {"connection_id":172157,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcbc700012d196700071fee10003e00592b..."} 
[2026-09-04 15:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcbc700012d196700071fee10003e00592b..."} 
[2026-09-04 15:13:54] local.INFO: Processing buffer {"connection_id":172157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcbc700012d196700071fee10003e00592b..."} 
[2026-09-04 15:13:54] local.INFO: Packet analysis {"connection_id":172157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:13:54] local.INFO: Extracted packet for processing {"connection_id":172157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:13:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859812096001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788514912000,"timestamp_ms":1788514912000,"timestamp_seconds":1788514912,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcbc700"} 
[2026-09-04 15:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 15:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859812096001,"66":12374,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859812096001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:13:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:13:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859812096001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:13:54] local.INFO: TCP Data received {"connection_id":173465,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:13:54] local.INFO: Processing buffer {"connection_id":173465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:13:54] local.INFO: IMEI packet received {"connection_id":173465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":173465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":172157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:13:54] local.INFO: GPS data processed {"connection_id":172157,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:13:54] local.INFO: Acknowledgment sent {"connection_id":172157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:13:59] local.INFO: TCP Data received {"connection_id":173465,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:13:59] local.INFO: Processing buffer {"connection_id":173465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:13:59] local.INFO: IMEI packet received {"connection_id":173465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":173465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:13:59] local.INFO: TCP Data received {"connection_id":170752,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:13:59] local.INFO: Processing buffer {"connection_id":170752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:13:59] local.INFO: IMEI packet received {"connection_id":170752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":170752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:14:00] local.INFO: TCP Data received {"connection_id":173465,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:14:00] local.INFO: Processing buffer {"connection_id":173465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:14:00] local.INFO: Packet analysis {"connection_id":173465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:14:00] local.INFO: Extracted packet for processing {"connection_id":173465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859744000001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788514926000,"timestamp_ms":1788514926000,"timestamp_seconds":1788514926,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcbfdb0"} 
[2026-09-04 15:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859744000001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859744000001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:14:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:14:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859744000001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":173465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:14:00] local.INFO: GPS data processed {"connection_id":173465,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:14:00] local.INFO: Acknowledgment sent {"connection_id":173465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:14:04] local.INFO: TCP Data received {"connection_id":170752,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:14:04] local.INFO: Processing buffer {"connection_id":170752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:14:04] local.INFO: IMEI packet received {"connection_id":170752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":170752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:14:05] local.INFO: TCP Data received {"connection_id":173465,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:14:05] local.INFO: Processing buffer {"connection_id":173465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:14:05] local.INFO: Packet analysis {"connection_id":173465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:14:05] local.INFO: Extracted packet for processing {"connection_id":173465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859744000001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788514926000,"timestamp_ms":1788514926000,"timestamp_seconds":1788514926,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcbfdb0"} 
[2026-09-04 15:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859744000001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859744000001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:14:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:14:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859744000001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":173465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763148,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:14:05] local.INFO: GPS data processed {"connection_id":173465,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:14:05] local.INFO: Acknowledgment sent {"connection_id":173465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:14:05] local.INFO: TCP Data received {"connection_id":170752,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:14:05] local.INFO: Processing buffer {"connection_id":170752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:14:05] local.INFO: Packet analysis {"connection_id":170752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:14:05] local.INFO: Extracted packet for processing {"connection_id":170752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:14:05] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859717632001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788514823000,"timestamp_ms":1788514823000,"timestamp_seconds":1788514823,"priority":1,"record_length":96,"hex_timestamp":"000001a06bca6b58"} 
[2026-09-04 15:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 15:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859717632001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859717632001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:14:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:14:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859717632001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":170752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:14:05] local.INFO: GPS data processed {"connection_id":170752,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:14:05] local.INFO: Acknowledgment sent {"connection_id":170752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:14:26] local.INFO: TCP Data received {"connection_id":172157,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcc1908012d196700071fee10003e00592b..."} 
[2026-09-04 15:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcc1908012d196700071fee10003e00592b..."} 
[2026-09-04 15:14:26] local.INFO: Processing buffer {"connection_id":172157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcc1908012d196700071fee10003e00592b..."} 
[2026-09-04 15:14:26] local.INFO: Packet analysis {"connection_id":172157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcc"} 
[2026-09-04 15:14:26] local.INFO: Extracted packet for processing {"connection_id":172157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcc"} 
[2026-09-04 15:14:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859817472001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788514933000,"timestamp_ms":1788514933000,"timestamp_seconds":1788514933,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcc1908"} 
[2026-09-04 15:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 15:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859817472001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859817472001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:14:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:14:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859817472001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":172157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:14:26] local.INFO: GPS data processed {"connection_id":172157,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:14:26] local.INFO: Acknowledgment sent {"connection_id":172157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:14:36] local.INFO: TCP Data received {"connection_id":170752,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:14:36] local.INFO: Processing buffer {"connection_id":170752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:14:36] local.INFO: Packet analysis {"connection_id":170752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:14:36] local.INFO: Extracted packet for processing {"connection_id":170752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:14:36] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859717632001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788514823000,"timestamp_ms":1788514823000,"timestamp_seconds":1788514823,"priority":1,"record_length":96,"hex_timestamp":"000001a06bca6b58"} 
[2026-09-04 15:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 15:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859717632001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859717632001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:14:36] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:14:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859717632001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":170752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:14:36] local.INFO: GPS data processed {"connection_id":170752,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:14:36] local.INFO: Acknowledgment sent {"connection_id":170752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:14:48] local.INFO: TCP Data received {"connection_id":170753,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:14:48] local.INFO: Processing buffer {"connection_id":170753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:14:48] local.INFO: IMEI packet received {"connection_id":170753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":170753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:14:49] local.INFO: TCP Data received {"connection_id":171063,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:14:49] local.INFO: Processing buffer {"connection_id":171063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:14:49] local.INFO: IMEI packet received {"connection_id":171063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":171063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:14:53] local.INFO: TCP Data received {"connection_id":170753,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:14:53] local.INFO: Processing buffer {"connection_id":170753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:14:53] local.INFO: IMEI packet received {"connection_id":170753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":170753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:14:54] local.INFO: TCP Data received {"connection_id":170753,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcc6b10012d196700071fee10003e00592a..."} 
[2026-09-04 15:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcc6b10012d196700071fee10003e00592a..."} 
[2026-09-04 15:14:54] local.INFO: Processing buffer {"connection_id":170753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcc6b10012d196700071fee10003e00592a..."} 
[2026-09-04 15:14:54] local.INFO: Packet analysis {"connection_id":170753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcc"} 
[2026-09-04 15:14:54] local.INFO: Extracted packet for processing {"connection_id":170753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcc"} 
[2026-09-04 15:14:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859822848001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788514954000,"timestamp_ms":1788514954000,"timestamp_seconds":1788514954,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcc6b10"} 
[2026-09-04 15:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859822848001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859822848001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:14:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:14:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859822848001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:14:54] local.INFO: TCP Data received {"connection_id":171063,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:14:54] local.INFO: Processing buffer {"connection_id":171063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:14:54] local.INFO: IMEI packet received {"connection_id":171063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":171063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":170753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:14:54] local.INFO: GPS data processed {"connection_id":170753,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:14:54] local.INFO: Acknowledgment sent {"connection_id":170753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:14:55] local.INFO: TCP Data received {"connection_id":171063,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:14:55] local.INFO: Processing buffer {"connection_id":171063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:14:55] local.INFO: Packet analysis {"connection_id":171063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:14:55] local.INFO: Extracted packet for processing {"connection_id":171063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859744000001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514926000,"timestamp_ms":1788514926000,"timestamp_seconds":1788514926,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcbfdb0"} 
[2026-09-04 15:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859744000001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859744000001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:14:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:14:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859744000001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":171063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:14:55] local.INFO: GPS data processed {"connection_id":171063,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:14:55] local.INFO: Acknowledgment sent {"connection_id":171063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:15:00] local.INFO: TCP Data received {"connection_id":172158,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:15:00] local.INFO: Processing buffer {"connection_id":172158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:15:00] local.INFO: IMEI packet received {"connection_id":172158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":172158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:15:04] local.INFO: TCP Data received {"connection_id":172158,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:15:04] local.INFO: Processing buffer {"connection_id":172158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:15:04] local.INFO: IMEI packet received {"connection_id":172158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":172158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:15:06] local.INFO: TCP Data received {"connection_id":172158,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:15:06] local.INFO: Processing buffer {"connection_id":172158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:15:06] local.INFO: Packet analysis {"connection_id":172158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:15:06] local.INFO: Extracted packet for processing {"connection_id":172158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:15:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859717632001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788514823000,"timestamp_ms":1788514823000,"timestamp_seconds":1788514823,"priority":1,"record_length":96,"hex_timestamp":"000001a06bca6b58"} 
[2026-09-04 15:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 15:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859717632001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859717632001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:15:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:15:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859717632001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":172158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:15:06] local.INFO: GPS data processed {"connection_id":172158,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:15:06] local.INFO: Acknowledgment sent {"connection_id":172158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:15:26] local.INFO: TCP Data received {"connection_id":170753,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bccbd18012d196700071fee10003e005929..."} 
[2026-09-04 15:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bccbd18012d196700071fee10003e005929..."} 
[2026-09-04 15:15:26] local.INFO: Processing buffer {"connection_id":170753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bccbd18012d196700071fee10003e005929..."} 
[2026-09-04 15:15:26] local.INFO: Packet analysis {"connection_id":170753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcc"} 
[2026-09-04 15:15:26] local.INFO: Extracted packet for processing {"connection_id":170753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcc"} 
[2026-09-04 15:15:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859828224001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788514975000,"timestamp_ms":1788514975000,"timestamp_seconds":1788514975,"priority":1,"record_length":96,"hex_timestamp":"000001a06bccbd18"} 
[2026-09-04 15:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859828224001,"66":12406,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859828224001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:15:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:15:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859828224001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":170753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:15:26] local.INFO: GPS data processed {"connection_id":170753,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:15:26] local.INFO: Acknowledgment sent {"connection_id":170753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:15:27] local.INFO: TCP Data received {"connection_id":171063,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:15:27] local.INFO: Processing buffer {"connection_id":171063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:15:27] local.INFO: Packet analysis {"connection_id":171063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:15:27] local.INFO: Extracted packet for processing {"connection_id":171063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:15:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859744000001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788514926000,"timestamp_ms":1788514926000,"timestamp_seconds":1788514926,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcbfdb0"} 
[2026-09-04 15:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859744000001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859744000001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:15:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:15:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859744000001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":171063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:15:27] local.INFO: GPS data processed {"connection_id":171063,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:15:27] local.INFO: Acknowledgment sent {"connection_id":171063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:15:37] local.INFO: TCP Data received {"connection_id":172158,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:15:37] local.INFO: Processing buffer {"connection_id":172158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bca6b58012cb2a48007751650001f00292c..."} 
[2026-09-04 15:15:37] local.INFO: Packet analysis {"connection_id":172158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:15:37] local.INFO: Extracted packet for processing {"connection_id":172158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bca"} 
[2026-09-04 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859717632001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788514823000,"timestamp_ms":1788514823000,"timestamp_seconds":1788514823,"priority":1,"record_length":96,"hex_timestamp":"000001a06bca6b58"} 
[2026-09-04 15:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 15:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859717632001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859717632001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:15:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859717632001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":172158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:15:37] local.INFO: GPS data processed {"connection_id":172158,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:15:37] local.INFO: Acknowledgment sent {"connection_id":172158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:15:48] local.INFO: TCP Data received {"connection_id":170754,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:15:48] local.INFO: Processing buffer {"connection_id":170754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:15:48] local.INFO: IMEI packet received {"connection_id":170754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":170754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:15:49] local.INFO: TCP Data received {"connection_id":172159,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:15:49] local.INFO: Processing buffer {"connection_id":172159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:15:49] local.INFO: IMEI packet received {"connection_id":172159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":172159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:15:54] local.INFO: TCP Data received {"connection_id":170754,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:15:54] local.INFO: Processing buffer {"connection_id":170754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:15:54] local.INFO: IMEI packet received {"connection_id":170754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":170754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:15:54] local.INFO: TCP Data received {"connection_id":172159,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:15:54] local.INFO: Processing buffer {"connection_id":172159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:15:54] local.INFO: IMEI packet received {"connection_id":172159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":172159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:15:55] local.INFO: TCP Data received {"connection_id":170754,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcd0f20012d196700071fee10003e00592c..."} 
[2026-09-04 15:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcd0f20012d196700071fee10003e00592c..."} 
[2026-09-04 15:15:55] local.INFO: Processing buffer {"connection_id":170754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcd0f20012d196700071fee10003e00592c..."} 
[2026-09-04 15:15:55] local.INFO: Packet analysis {"connection_id":170754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcd"} 
[2026-09-04 15:15:55] local.INFO: Extracted packet for processing {"connection_id":170754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcd"} 
[2026-09-04 15:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859833600001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514996000,"timestamp_ms":1788514996000,"timestamp_seconds":1788514996,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcd0f20"} 
[2026-09-04 15:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 15:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859833600001,"66":11308,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859833600001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:15:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:15:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859833600001,"power":11308,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:15:55] local.INFO: TCP Data received {"connection_id":172159,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:15:55] local.INFO: Processing buffer {"connection_id":172159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:15:55] local.INFO: Packet analysis {"connection_id":172159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:15:55] local.INFO: Extracted packet for processing {"connection_id":172159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:15:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859744000001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514926000,"timestamp_ms":1788514926000,"timestamp_seconds":1788514926,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcbfdb0"} 
[2026-09-04 15:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859744000001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859744000001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:15:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:15:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859744000001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":170754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:15:55] local.INFO: GPS data processed {"connection_id":170754,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:15:55] local.INFO: Acknowledgment sent {"connection_id":170754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":172159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:15:55] local.INFO: GPS data processed {"connection_id":172159,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:15:55] local.INFO: Acknowledgment sent {"connection_id":172159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:15:59] local.INFO: TCP Data received {"connection_id":173466,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:15:59] local.INFO: Processing buffer {"connection_id":173466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:15:59] local.INFO: IMEI packet received {"connection_id":173466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":173466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:16:03] local.INFO: TCP Data received {"connection_id":173466,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:16:03] local.INFO: Processing buffer {"connection_id":173466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:16:03] local.INFO: IMEI packet received {"connection_id":173466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":173466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:16:04] local.INFO: TCP Data received {"connection_id":173466,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:16:04] local.INFO: Processing buffer {"connection_id":173466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:16:04] local.INFO: IMEI packet received {"connection_id":173466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":173466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:16:05] local.INFO: TCP Data received {"connection_id":173466,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:16:05] local.INFO: Processing buffer {"connection_id":173466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:16:05] local.INFO: Packet analysis {"connection_id":173466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:16:05] local.INFO: Extracted packet for processing {"connection_id":173466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:16:05] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859794688001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788515124000,"timestamp_ms":1788515124000,"timestamp_seconds":1788515124,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcf0320"} 
[2026-09-04 15:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859794688001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859794688001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:16:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:16:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859794688001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":173466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:16:05] local.INFO: GPS data processed {"connection_id":173466,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:16:05] local.INFO: Acknowledgment sent {"connection_id":173466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:16:09] local.INFO: TCP Data received {"connection_id":173466,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:16:09] local.INFO: Processing buffer {"connection_id":173466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:16:09] local.INFO: Packet analysis {"connection_id":173466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:16:09] local.INFO: Extracted packet for processing {"connection_id":173466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:16:09] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859794688001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788515124000,"timestamp_ms":1788515124000,"timestamp_seconds":1788515124,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcf0320"} 
[2026-09-04 15:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859794688001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859794688001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:16:09] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859794688001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":173466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:16:09] local.INFO: GPS data processed {"connection_id":173466,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:16:09] local.INFO: Acknowledgment sent {"connection_id":173466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:16:26] local.INFO: TCP Data received {"connection_id":170754,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcd6128012d196700071fee10003e00592b..."} 
[2026-09-04 15:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcd6128012d196700071fee10003e00592b..."} 
[2026-09-04 15:16:26] local.INFO: Processing buffer {"connection_id":170754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcd6128012d196700071fee10003e00592b..."} 
[2026-09-04 15:16:26] local.INFO: Packet analysis {"connection_id":170754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcd"} 
[2026-09-04 15:16:26] local.INFO: Extracted packet for processing {"connection_id":170754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcd"} 
[2026-09-04 15:16:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859838976001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788515017000,"timestamp_ms":1788515017000,"timestamp_seconds":1788515017,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcd6128"} 
[2026-09-04 15:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 15:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":814,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859838976001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859838976001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:16:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:16:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859838976001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":170754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:16:26] local.INFO: GPS data processed {"connection_id":170754,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:16:26] local.INFO: Acknowledgment sent {"connection_id":170754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:16:27] local.INFO: TCP Data received {"connection_id":172159,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:16:27] local.INFO: Processing buffer {"connection_id":172159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:16:27] local.INFO: Packet analysis {"connection_id":172159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:16:27] local.INFO: Extracted packet for processing {"connection_id":172159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:16:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859744000001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788514926000,"timestamp_ms":1788514926000,"timestamp_seconds":1788514926,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcbfdb0"} 
[2026-09-04 15:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859744000001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859744000001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:16:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:16:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859744000001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":172159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:16:27] local.INFO: GPS data processed {"connection_id":172159,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:16:27] local.INFO: Acknowledgment sent {"connection_id":172159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:16:40] local.INFO: TCP Data received {"connection_id":173466,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:16:40] local.INFO: Processing buffer {"connection_id":173466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:16:40] local.INFO: Packet analysis {"connection_id":173466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:16:40] local.INFO: Extracted packet for processing {"connection_id":173466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:16:40] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859794688001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788515124000,"timestamp_ms":1788515124000,"timestamp_seconds":1788515124,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcf0320"} 
[2026-09-04 15:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859794688001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859794688001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:16:40] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859794688001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":173466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:16:40] local.INFO: GPS data processed {"connection_id":173466,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:16:40] local.INFO: Acknowledgment sent {"connection_id":173466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:16:48] local.INFO: TCP Data received {"connection_id":170755,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:16:48] local.INFO: Processing buffer {"connection_id":170755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:16:48] local.INFO: IMEI packet received {"connection_id":170755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":170755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:16:53] local.INFO: TCP Data received {"connection_id":171064,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:16:53] local.INFO: Processing buffer {"connection_id":171064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:16:53] local.INFO: IMEI packet received {"connection_id":171064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":171064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:16:54] local.INFO: TCP Data received {"connection_id":170755,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:16:54] local.INFO: Processing buffer {"connection_id":170755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:16:54] local.INFO: IMEI packet received {"connection_id":170755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":170755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:16:55] local.INFO: TCP Data received {"connection_id":170755,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:16:55] local.INFO: Processing buffer {"connection_id":170755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:16:55] local.INFO: Packet analysis {"connection_id":170755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:16:55] local.INFO: Extracted packet for processing {"connection_id":170755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:16:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859744000001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788514926000,"timestamp_ms":1788514926000,"timestamp_seconds":1788514926,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcbfdb0"} 
[2026-09-04 15:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859744000001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859744000001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:16:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859744000001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":170755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:16:55] local.INFO: GPS data processed {"connection_id":170755,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:16:55] local.INFO: Acknowledgment sent {"connection_id":170755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:16:58] local.INFO: TCP Data received {"connection_id":171064,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:16:58] local.INFO: Processing buffer {"connection_id":171064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:16:58] local.INFO: IMEI packet received {"connection_id":171064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":171064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:16:59] local.INFO: TCP Data received {"connection_id":173467,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:16:59] local.INFO: Processing buffer {"connection_id":173467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:16:59] local.INFO: IMEI packet received {"connection_id":173467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":173467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:16:59] local.INFO: TCP Data received {"connection_id":171064,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcdb330012d196700071fee10003e00592a..."} 
[2026-09-04 15:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcdb330012d196700071fee10003e00592a..."} 
[2026-09-04 15:16:59] local.INFO: Processing buffer {"connection_id":171064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcdb330012d196700071fee10003e00592a..."} 
[2026-09-04 15:16:59] local.INFO: Packet analysis {"connection_id":171064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcd"} 
[2026-09-04 15:16:59] local.INFO: Extracted packet for processing {"connection_id":171064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcd"} 
[2026-09-04 15:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859844352001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788515038000,"timestamp_ms":1788515038000,"timestamp_seconds":1788515038,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcdb330"} 
[2026-09-04 15:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859844352001,"66":12145,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859844352001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:16:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859844352001,"power":12145,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":171064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:17:00] local.INFO: GPS data processed {"connection_id":171064,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:17:00] local.INFO: Acknowledgment sent {"connection_id":171064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:17:04] local.INFO: TCP Data received {"connection_id":173467,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:17:04] local.INFO: Processing buffer {"connection_id":173467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:17:04] local.INFO: IMEI packet received {"connection_id":173467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":173467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:17:05] local.INFO: TCP Data received {"connection_id":171064,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bce0538012d196700071fee10003e00592b..."} 
[2026-09-04 15:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bce0538012d196700071fee10003e00592b..."} 
[2026-09-04 15:17:05] local.INFO: Processing buffer {"connection_id":171064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bce0538012d196700071fee10003e00592b..."} 
[2026-09-04 15:17:05] local.INFO: Packet analysis {"connection_id":171064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bce"} 
[2026-09-04 15:17:05] local.INFO: Extracted packet for processing {"connection_id":171064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bce"} 
[2026-09-04 15:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859849728001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788515059000,"timestamp_ms":1788515059000,"timestamp_seconds":1788515059,"priority":1,"record_length":96,"hex_timestamp":"000001a06bce0538"} 
[2026-09-04 15:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 15:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859849728001,"66":12330,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859849728001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:17:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:17:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859849728001,"power":12330,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":171064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:17:05] local.INFO: GPS data processed {"connection_id":171064,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:17:05] local.INFO: Acknowledgment sent {"connection_id":171064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:17:06] local.INFO: TCP Data received {"connection_id":173467,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:17:06] local.INFO: Processing buffer {"connection_id":173467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:17:06] local.INFO: Packet analysis {"connection_id":173467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:17:06] local.INFO: Extracted packet for processing {"connection_id":173467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:17:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859794688001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788515124000,"timestamp_ms":1788515124000,"timestamp_seconds":1788515124,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcf0320"} 
[2026-09-04 15:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859794688001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859794688001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:17:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859794688001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":173467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:17:06] local.INFO: GPS data processed {"connection_id":173467,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:17:06] local.INFO: Acknowledgment sent {"connection_id":173467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:17:27] local.INFO: TCP Data received {"connection_id":170755,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:17:27] local.INFO: Processing buffer {"connection_id":170755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcbfdb0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:17:27] local.INFO: Packet analysis {"connection_id":170755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:17:27] local.INFO: Extracted packet for processing {"connection_id":170755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcb"} 
[2026-09-04 15:17:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859744000001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788514926000,"timestamp_ms":1788514926000,"timestamp_seconds":1788514926,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcbfdb0"} 
[2026-09-04 15:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859744000001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859744000001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:17:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:17:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859744000001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":170755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:17:27] local.INFO: GPS data processed {"connection_id":170755,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:17:27] local.INFO: Acknowledgment sent {"connection_id":170755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:17:37] local.INFO: TCP Data received {"connection_id":173467,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:17:37] local.INFO: Processing buffer {"connection_id":173467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:17:37] local.INFO: Packet analysis {"connection_id":173467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:17:37] local.INFO: Extracted packet for processing {"connection_id":173467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:17:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859794688001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788515124000,"timestamp_ms":1788515124000,"timestamp_seconds":1788515124,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcf0320"} 
[2026-09-04 15:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859794688001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859794688001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:17:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:17:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859794688001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":173467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:17:37] local.INFO: GPS data processed {"connection_id":173467,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:17:37] local.INFO: Acknowledgment sent {"connection_id":173467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:17:45] local.INFO: TCP Data received {"connection_id":172160,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:17:45] local.INFO: Processing buffer {"connection_id":172160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:17:45] local.INFO: IMEI packet received {"connection_id":172160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":172160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:17:48] local.INFO: TCP Data received {"connection_id":172160,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:17:48] local.INFO: Processing buffer {"connection_id":172160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:17:48] local.INFO: IMEI packet received {"connection_id":172160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":172160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:17:48] local.INFO: TCP Data received {"connection_id":170756,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:17:48] local.INFO: Processing buffer {"connection_id":170756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:17:48] local.INFO: IMEI packet received {"connection_id":170756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":170756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:17:53] local.INFO: TCP Data received {"connection_id":172160,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:17:53] local.INFO: Processing buffer {"connection_id":172160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:17:53] local.INFO: IMEI packet received {"connection_id":172160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":172160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:17:54] local.INFO: TCP Data received {"connection_id":170756,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:17:54] local.INFO: Processing buffer {"connection_id":170756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:17:54] local.INFO: IMEI packet received {"connection_id":170756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":170756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:17:54] local.INFO: TCP Data received {"connection_id":172160,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bce5740012d196700071fee10003e00592c..."} 
[2026-09-04 15:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bce5740012d196700071fee10003e00592c..."} 
[2026-09-04 15:17:55] local.INFO: Processing buffer {"connection_id":172160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bce5740012d196700071fee10003e00592c..."} 
[2026-09-04 15:17:55] local.INFO: Packet analysis {"connection_id":172160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bce"} 
[2026-09-04 15:17:55] local.INFO: Extracted packet for processing {"connection_id":172160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bce"} 
[2026-09-04 15:17:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859855104001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515080000,"timestamp_ms":1788515080000,"timestamp_seconds":1788515080,"priority":1,"record_length":96,"hex_timestamp":"000001a06bce5740"} 
[2026-09-04 15:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-04 15:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859855104001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859855104001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:17:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859855104001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":172160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:17:55] local.INFO: GPS data processed {"connection_id":172160,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:17:55] local.INFO: Acknowledgment sent {"connection_id":172160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:17:55] local.INFO: TCP Data received {"connection_id":170756,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:17:55] local.INFO: Processing buffer {"connection_id":170756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:17:55] local.INFO: Packet analysis {"connection_id":170756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:17:55] local.INFO: Extracted packet for processing {"connection_id":170756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:17:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859821056001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515227000,"timestamp_ms":1788515227000,"timestamp_seconds":1788515227,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd09578"} 
[2026-09-04 15:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859821056001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859821056001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:17:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859821056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":170756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763172,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:17:55] local.INFO: GPS data processed {"connection_id":170756,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:17:55] local.INFO: Acknowledgment sent {"connection_id":170756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:17:59] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:17:59] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:17:59] local.INFO: IMEI packet received {"connection_id":173468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":173468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:18:04] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:18:04] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:18:04] local.INFO: IMEI packet received {"connection_id":173468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":173468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:18:06] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:18:06] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:18:06] local.INFO: Packet analysis {"connection_id":173468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:18:06] local.INFO: Extracted packet for processing {"connection_id":173468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:18:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859794688001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788515124000,"timestamp_ms":1788515124000,"timestamp_seconds":1788515124,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcf0320"} 
[2026-09-04 15:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859794688001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859794688001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:18:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:18:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:18:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859794688001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":173468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:18:06] local.INFO: GPS data processed {"connection_id":173468,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:18:06] local.INFO: Acknowledgment sent {"connection_id":173468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:18:26] local.INFO: TCP Data received {"connection_id":172160,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcea948012d196700071fee10003e00592b..."} 
[2026-09-04 15:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcea948012d196700071fee10003e00592b..."} 
[2026-09-04 15:18:26] local.INFO: Processing buffer {"connection_id":172160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcea948012d196700071fee10003e00592b..."} 
[2026-09-04 15:18:26] local.INFO: Packet analysis {"connection_id":172160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bce"} 
[2026-09-04 15:18:26] local.INFO: Extracted packet for processing {"connection_id":172160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bce"} 
[2026-09-04 15:18:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859860480001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788515101000,"timestamp_ms":1788515101000,"timestamp_seconds":1788515101,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcea948"} 
[2026-09-04 15:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859860480001,"66":12428,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859860480001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:18:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:18:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859860480001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":172160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:18:26] local.INFO: GPS data processed {"connection_id":172160,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:18:26] local.INFO: Acknowledgment sent {"connection_id":172160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:18:27] local.INFO: TCP Data received {"connection_id":170756,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:18:27] local.INFO: Processing buffer {"connection_id":170756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:18:27] local.INFO: Packet analysis {"connection_id":170756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:18:27] local.INFO: Extracted packet for processing {"connection_id":170756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:18:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859821056001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788515227000,"timestamp_ms":1788515227000,"timestamp_seconds":1788515227,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd09578"} 
[2026-09-04 15:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859821056001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859821056001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:18:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:18:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859821056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":170756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:18:27] local.INFO: GPS data processed {"connection_id":170756,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:18:27] local.INFO: Acknowledgment sent {"connection_id":170756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:18:37] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:18:37] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:18:37] local.INFO: Packet analysis {"connection_id":173468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:18:37] local.INFO: Extracted packet for processing {"connection_id":173468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:18:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859794688001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788515124000,"timestamp_ms":1788515124000,"timestamp_seconds":1788515124,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcf0320"} 
[2026-09-04 15:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859794688001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859794688001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:18:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:18:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859794688001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":173468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:18:37] local.INFO: GPS data processed {"connection_id":173468,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:18:37] local.INFO: Acknowledgment sent {"connection_id":173468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:18:48] local.INFO: TCP Data received {"connection_id":171065,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:18:48] local.INFO: Processing buffer {"connection_id":171065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:18:48] local.INFO: IMEI packet received {"connection_id":171065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":171065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:18:49] local.INFO: TCP Data received {"connection_id":171065,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:18:49] local.INFO: Processing buffer {"connection_id":171065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:18:49] local.INFO: IMEI packet received {"connection_id":171065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":171065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:18:49] local.INFO: TCP Data received {"connection_id":171066,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:18:49] local.INFO: Processing buffer {"connection_id":171066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:18:49] local.INFO: IMEI packet received {"connection_id":171066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":171066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:18:53] local.INFO: TCP Data received {"connection_id":171065,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:18:53] local.INFO: Processing buffer {"connection_id":171065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:18:53] local.INFO: IMEI packet received {"connection_id":171065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":171065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:18:54] local.INFO: TCP Data received {"connection_id":171066,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:18:54] local.INFO: Processing buffer {"connection_id":171066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:18:54] local.INFO: IMEI packet received {"connection_id":171066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":171066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:18:54] local.INFO: TCP Data received {"connection_id":171065,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcefb50012d196700071fee10003e00592b..."} 
[2026-09-04 15:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcefb50012d196700071fee10003e00592b..."} 
[2026-09-04 15:18:54] local.INFO: Processing buffer {"connection_id":171065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcefb50012d196700071fee10003e00592b..."} 
[2026-09-04 15:18:54] local.INFO: Packet analysis {"connection_id":171065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bce"} 
[2026-09-04 15:18:54] local.INFO: Extracted packet for processing {"connection_id":171065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bce"} 
[2026-09-04 15:18:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859865856001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788515122000,"timestamp_ms":1788515122000,"timestamp_seconds":1788515122,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcefb50"} 
[2026-09-04 15:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 15:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859865856001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859865856001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:18:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:18:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859865856001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":171065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:18:54] local.INFO: GPS data processed {"connection_id":171065,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:18:54] local.INFO: Acknowledgment sent {"connection_id":171065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:18:55] local.INFO: TCP Data received {"connection_id":171066,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:18:55] local.INFO: Processing buffer {"connection_id":171066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:18:55] local.INFO: Packet analysis {"connection_id":171066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:18:55] local.INFO: Extracted packet for processing {"connection_id":171066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859821056001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515227000,"timestamp_ms":1788515227000,"timestamp_seconds":1788515227,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd09578"} 
[2026-09-04 15:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859821056001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859821056001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:18:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859821056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":171066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:18:55] local.INFO: GPS data processed {"connection_id":171066,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:18:55] local.INFO: Acknowledgment sent {"connection_id":171066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:18:58] local.INFO: TCP Data received {"connection_id":171065,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcf4d58012d196700071fee10003e005928..."} 
[2026-09-04 15:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcf4d58012d196700071fee10003e005928..."} 
[2026-09-04 15:18:58] local.INFO: Processing buffer {"connection_id":171065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcf4d58012d196700071fee10003e005928..."} 
[2026-09-04 15:18:58] local.INFO: Packet analysis {"connection_id":171065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:18:58] local.INFO: Extracted packet for processing {"connection_id":171065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859871232001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788515143000,"timestamp_ms":1788515143000,"timestamp_seconds":1788515143,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcf4d58"} 
[2026-09-04 15:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859871232001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859871232001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:18:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:18:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859871232001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":171065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:18:59] local.INFO: GPS data processed {"connection_id":171065,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:18:59] local.INFO: Acknowledgment sent {"connection_id":171065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:18:59] local.INFO: TCP Data received {"connection_id":172161,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:18:59] local.INFO: Processing buffer {"connection_id":172161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:18:59] local.INFO: IMEI packet received {"connection_id":172161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":172161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:19:04] local.INFO: TCP Data received {"connection_id":172161,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:19:04] local.INFO: Processing buffer {"connection_id":172161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:19:04] local.INFO: IMEI packet received {"connection_id":172161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":172161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:19:06] local.INFO: TCP Data received {"connection_id":172161,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:19:06] local.INFO: Processing buffer {"connection_id":172161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:19:06] local.INFO: Packet analysis {"connection_id":172161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:19:06] local.INFO: Extracted packet for processing {"connection_id":172161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:19:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859794688001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788515124000,"timestamp_ms":1788515124000,"timestamp_seconds":1788515124,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcf0320"} 
[2026-09-04 15:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859794688001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859794688001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:19:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859794688001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":172161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:19:06] local.INFO: GPS data processed {"connection_id":172161,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:19:06] local.INFO: Acknowledgment sent {"connection_id":172161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:19:27] local.INFO: TCP Data received {"connection_id":171066,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:19:27] local.INFO: Processing buffer {"connection_id":171066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:19:27] local.INFO: Packet analysis {"connection_id":171066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:19:27] local.INFO: Extracted packet for processing {"connection_id":171066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:19:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859821056001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788515227000,"timestamp_ms":1788515227000,"timestamp_seconds":1788515227,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd09578"} 
[2026-09-04 15:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859821056001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859821056001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:19:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:19:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859821056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":171066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763181,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:19:27] local.INFO: GPS data processed {"connection_id":171066,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:19:27] local.INFO: Acknowledgment sent {"connection_id":171066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:19:30] local.INFO: TCP Data received {"connection_id":171065,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcf9f60012d196700071fee10003e00592a..."} 
[2026-09-04 15:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcf9f60012d196700071fee10003e00592a..."} 
[2026-09-04 15:19:30] local.INFO: Processing buffer {"connection_id":171065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcf9f60012d196700071fee10003e00592a..."} 
[2026-09-04 15:19:30] local.INFO: Packet analysis {"connection_id":171065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:19:30] local.INFO: Extracted packet for processing {"connection_id":171065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:19:30] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859876608001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788515164000,"timestamp_ms":1788515164000,"timestamp_seconds":1788515164,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcf9f60"} 
[2026-09-04 15:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859876608001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859876608001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:19:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:19:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859876608001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":171065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:19:30] local.INFO: GPS data processed {"connection_id":171065,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:19:30] local.INFO: Acknowledgment sent {"connection_id":171065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:19:37] local.INFO: TCP Data received {"connection_id":172161,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:19:37] local.INFO: Processing buffer {"connection_id":172161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:19:37] local.INFO: Packet analysis {"connection_id":172161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:19:37] local.INFO: Extracted packet for processing {"connection_id":172161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859794688001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788515124000,"timestamp_ms":1788515124000,"timestamp_seconds":1788515124,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcf0320"} 
[2026-09-04 15:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859794688001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859794688001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:19:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:19:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859794688001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":172161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:19:37] local.INFO: GPS data processed {"connection_id":172161,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:19:37] local.INFO: Acknowledgment sent {"connection_id":172161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:19:48] local.INFO: TCP Data received {"connection_id":173469,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:19:48] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:19:48] local.INFO: IMEI packet received {"connection_id":173469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":173469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:19:49] local.INFO: TCP Data received {"connection_id":170757,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:19:49] local.INFO: Processing buffer {"connection_id":170757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:19:49] local.INFO: IMEI packet received {"connection_id":170757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":170757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:19:51] local.INFO: TCP Data received {"connection_id":170757,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:19:51] local.INFO: Processing buffer {"connection_id":170757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:19:51] local.INFO: IMEI packet received {"connection_id":170757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":170757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:19:52] local.INFO: TCP Data received {"connection_id":170757,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcff168012d196700071fee10003e00592b..."} 
[2026-09-04 15:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcff168012d196700071fee10003e00592b..."} 
[2026-09-04 15:19:52] local.INFO: Processing buffer {"connection_id":170757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcff168012d196700071fee10003e00592b..."} 
[2026-09-04 15:19:52] local.INFO: Packet analysis {"connection_id":170757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:19:52] local.INFO: Extracted packet for processing {"connection_id":170757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859881984001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788515185000,"timestamp_ms":1788515185000,"timestamp_seconds":1788515185,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcff168"} 
[2026-09-04 15:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":170757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":170757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":170757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859881984001,"66":12406,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859881984001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:19:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:19:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859881984001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":170757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:19:52] local.INFO: GPS data processed {"connection_id":170757,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:19:52] local.INFO: Acknowledgment sent {"connection_id":170757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:19:54] local.INFO: TCP Data received {"connection_id":173469,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:19:54] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:19:54] local.INFO: IMEI packet received {"connection_id":173469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":173469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:19:55] local.INFO: TCP Data received {"connection_id":173469,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:19:55] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:19:55] local.INFO: Packet analysis {"connection_id":173469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:19:55] local.INFO: Extracted packet for processing {"connection_id":173469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:19:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859821056001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515227000,"timestamp_ms":1788515227000,"timestamp_seconds":1788515227,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd09578"} 
[2026-09-04 15:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859821056001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859821056001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:19:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859821056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":173469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:19:55] local.INFO: GPS data processed {"connection_id":173469,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:19:55] local.INFO: Acknowledgment sent {"connection_id":173469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:20:00] local.INFO: TCP Data received {"connection_id":173470,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:20:00] local.INFO: Processing buffer {"connection_id":173470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:20:00] local.INFO: IMEI packet received {"connection_id":173470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":173470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:20:05] local.INFO: TCP Data received {"connection_id":173470,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:20:05] local.INFO: Processing buffer {"connection_id":173470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:20:05] local.INFO: IMEI packet received {"connection_id":173470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":173470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:20:06] local.INFO: TCP Data received {"connection_id":173470,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:20:06] local.INFO: Processing buffer {"connection_id":173470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:20:06] local.INFO: Packet analysis {"connection_id":173470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:20:06] local.INFO: Extracted packet for processing {"connection_id":173470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859794688001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788515124000,"timestamp_ms":1788515124000,"timestamp_seconds":1788515124,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcf0320"} 
[2026-09-04 15:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859794688001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859794688001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:20:07] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:20:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859794688001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":173470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:20:07] local.INFO: GPS data processed {"connection_id":173470,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:20:07] local.INFO: Acknowledgment sent {"connection_id":173470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:20:24] local.INFO: TCP Data received {"connection_id":170757,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd04370012d196700071fee10003e00592a..."} 
[2026-09-04 15:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd04370012d196700071fee10003e00592a..."} 
[2026-09-04 15:20:24] local.INFO: Processing buffer {"connection_id":170757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd04370012d196700071fee10003e00592a..."} 
[2026-09-04 15:20:24] local.INFO: Packet analysis {"connection_id":170757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:20:24] local.INFO: Extracted packet for processing {"connection_id":170757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859887360001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788515206000,"timestamp_ms":1788515206000,"timestamp_seconds":1788515206,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd04370"} 
[2026-09-04 15:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 15:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859887360001,"66":12374,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859887360001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:20:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:20:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859887360001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":170757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:20:24] local.INFO: GPS data processed {"connection_id":170757,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:20:24] local.INFO: Acknowledgment sent {"connection_id":170757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:20:27] local.INFO: TCP Data received {"connection_id":173469,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:20:27] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:20:27] local.INFO: Packet analysis {"connection_id":173469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:20:27] local.INFO: Extracted packet for processing {"connection_id":173469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:20:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859821056001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788515227000,"timestamp_ms":1788515227000,"timestamp_seconds":1788515227,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd09578"} 
[2026-09-04 15:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859821056001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859821056001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:20:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:20:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859821056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":173469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:20:27] local.INFO: GPS data processed {"connection_id":173469,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:20:27] local.INFO: Acknowledgment sent {"connection_id":173469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:20:40] local.INFO: TCP Data received {"connection_id":173470,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:20:40] local.INFO: Processing buffer {"connection_id":173470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bcf0320012cb2a48007751650001f00292c..."} 
[2026-09-04 15:20:40] local.INFO: Packet analysis {"connection_id":173470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:20:40] local.INFO: Extracted packet for processing {"connection_id":173470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bcf"} 
[2026-09-04 15:20:40] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859794688001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788515124000,"timestamp_ms":1788515124000,"timestamp_seconds":1788515124,"priority":1,"record_length":96,"hex_timestamp":"000001a06bcf0320"} 
[2026-09-04 15:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859794688001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859794688001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:20:40] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859794688001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":173470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:20:40] local.INFO: GPS data processed {"connection_id":173470,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:20:40] local.INFO: Acknowledgment sent {"connection_id":173470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:20:48] local.INFO: TCP Data received {"connection_id":173471,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:20:48] local.INFO: Processing buffer {"connection_id":173471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:20:48] local.INFO: IMEI packet received {"connection_id":173471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":173471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:20:48] local.INFO: TCP Data received {"connection_id":172162,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:20:48] local.INFO: Processing buffer {"connection_id":172162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:20:48] local.INFO: IMEI packet received {"connection_id":172162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":172162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:20:53] local.INFO: TCP Data received {"connection_id":173471,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:20:53] local.INFO: Processing buffer {"connection_id":173471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:20:53] local.INFO: IMEI packet received {"connection_id":173471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":173471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:20:54] local.INFO: TCP Data received {"connection_id":172162,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:20:54] local.INFO: Processing buffer {"connection_id":172162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:20:54] local.INFO: IMEI packet received {"connection_id":172162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":172162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:20:55] local.INFO: TCP Data received {"connection_id":173471,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd09578012d196700071fee10003e00592b..."} 
[2026-09-04 15:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd09578012d196700071fee10003e00592b..."} 
[2026-09-04 15:20:55] local.INFO: Processing buffer {"connection_id":173471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd09578012d196700071fee10003e00592b..."} 
[2026-09-04 15:20:55] local.INFO: Packet analysis {"connection_id":173471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:20:55] local.INFO: Extracted packet for processing {"connection_id":173471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859892736001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515227000,"timestamp_ms":1788515227000,"timestamp_seconds":1788515227,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd09578"} 
[2026-09-04 15:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 15:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859892736001,"66":11580,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859892736001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:20:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859892736001,"power":11580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":173471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:20:55] local.INFO: GPS data processed {"connection_id":173471,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:20:55] local.INFO: Acknowledgment sent {"connection_id":173471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:20:55] local.INFO: TCP Data received {"connection_id":172162,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:20:55] local.INFO: Processing buffer {"connection_id":172162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:20:55] local.INFO: Packet analysis {"connection_id":172162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:20:55] local.INFO: Extracted packet for processing {"connection_id":172162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:20:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859821056001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515227000,"timestamp_ms":1788515227000,"timestamp_seconds":1788515227,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd09578"} 
[2026-09-04 15:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859821056001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859821056001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:20:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859821056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":172162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:20:55] local.INFO: GPS data processed {"connection_id":172162,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:20:55] local.INFO: Acknowledgment sent {"connection_id":172162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:20:59] local.INFO: TCP Data received {"connection_id":170758,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:20:59] local.INFO: Processing buffer {"connection_id":170758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:20:59] local.INFO: IMEI packet received {"connection_id":170758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":170758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:21:05] local.INFO: TCP Data received {"connection_id":170758,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:21:05] local.INFO: Processing buffer {"connection_id":170758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:21:05] local.INFO: IMEI packet received {"connection_id":170758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":170758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:21:06] local.INFO: TCP Data received {"connection_id":170758,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:21:06] local.INFO: Processing buffer {"connection_id":170758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:21:06] local.INFO: Packet analysis {"connection_id":170758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:21:06] local.INFO: Extracted packet for processing {"connection_id":170758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859871744001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788515425000,"timestamp_ms":1788515425000,"timestamp_seconds":1788515425,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd39ae8"} 
[2026-09-04 15:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859871744001,"66":25778,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859871744001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:21:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:21:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:21:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859871744001,"power":25778,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":170758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:21:06] local.INFO: GPS data processed {"connection_id":170758,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:21:06] local.INFO: Acknowledgment sent {"connection_id":170758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:21:26] local.INFO: TCP Data received {"connection_id":173471,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd0e780012d196700071fee10003e005929..."} 
[2026-09-04 15:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd0e780012d196700071fee10003e005929..."} 
[2026-09-04 15:21:26] local.INFO: Processing buffer {"connection_id":173471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd0e780012d196700071fee10003e005929..."} 
[2026-09-04 15:21:26] local.INFO: Packet analysis {"connection_id":173471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:21:26] local.INFO: Extracted packet for processing {"connection_id":173471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:21:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859898112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788515248000,"timestamp_ms":1788515248000,"timestamp_seconds":1788515248,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd0e780"} 
[2026-09-04 15:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 15:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":963,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859898112001,"66":12287,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859898112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:21:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:21:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859898112001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":173471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:21:27] local.INFO: GPS data processed {"connection_id":173471,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:21:27] local.INFO: Acknowledgment sent {"connection_id":173471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:21:27] local.INFO: TCP Data received {"connection_id":172162,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:21:27] local.INFO: Processing buffer {"connection_id":172162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:21:27] local.INFO: Packet analysis {"connection_id":172162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:21:27] local.INFO: Extracted packet for processing {"connection_id":172162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:21:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859821056001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788515227000,"timestamp_ms":1788515227000,"timestamp_seconds":1788515227,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd09578"} 
[2026-09-04 15:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859821056001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859821056001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:21:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:21:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859821056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":172162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763194,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:21:27] local.INFO: GPS data processed {"connection_id":172162,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:21:27] local.INFO: Acknowledgment sent {"connection_id":172162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:21:37] local.INFO: TCP Data received {"connection_id":170758,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:21:37] local.INFO: Processing buffer {"connection_id":170758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:21:37] local.INFO: Packet analysis {"connection_id":170758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:21:37] local.INFO: Extracted packet for processing {"connection_id":170758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:21:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859871744001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788515425000,"timestamp_ms":1788515425000,"timestamp_seconds":1788515425,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd39ae8"} 
[2026-09-04 15:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859871744001,"66":25778,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859871744001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:21:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:21:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859871744001,"power":25778,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":170758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:21:37] local.INFO: GPS data processed {"connection_id":170758,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:21:37] local.INFO: Acknowledgment sent {"connection_id":170758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:21:48] local.INFO: TCP Data received {"connection_id":170759,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:21:48] local.INFO: Processing buffer {"connection_id":170759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:21:48] local.INFO: IMEI packet received {"connection_id":170759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":170759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:21:53] local.INFO: TCP Data received {"connection_id":170759,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:21:53] local.INFO: Processing buffer {"connection_id":170759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:21:53] local.INFO: IMEI packet received {"connection_id":170759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":170759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:21:54] local.INFO: TCP Data received {"connection_id":170760,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:21:54] local.INFO: Processing buffer {"connection_id":170760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:21:54] local.INFO: IMEI packet received {"connection_id":170760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":170760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:21:57] local.INFO: TCP Data received {"connection_id":170759,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd13988012d196700071fee10003e005927..."} 
[2026-09-04 15:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd13988012d196700071fee10003e005927..."} 
[2026-09-04 15:21:57] local.INFO: Processing buffer {"connection_id":170759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd13988012d196700071fee10003e005927..."} 
[2026-09-04 15:21:57] local.INFO: Packet analysis {"connection_id":170759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd1"} 
[2026-09-04 15:21:57] local.INFO: Extracted packet for processing {"connection_id":170759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd1"} 
[2026-09-04 15:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859903488001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788515269000,"timestamp_ms":1788515269000,"timestamp_seconds":1788515269,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd13988"} 
[2026-09-04 15:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":170759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":170759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":170759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859903488001,"66":12341,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859903488001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:21:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:21:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859903488001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":170759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:21:57] local.INFO: GPS data processed {"connection_id":170759,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:21:57] local.INFO: Acknowledgment sent {"connection_id":170759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:21:59] local.INFO: TCP Data received {"connection_id":171067,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:21:59] local.INFO: Processing buffer {"connection_id":171067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:21:59] local.INFO: IMEI packet received {"connection_id":171067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":171067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:21:59] local.INFO: TCP Data received {"connection_id":170760,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:21:59] local.INFO: Processing buffer {"connection_id":170760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:21:59] local.INFO: IMEI packet received {"connection_id":170760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":170760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:22:00] local.INFO: TCP Data received {"connection_id":170760,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:22:00] local.INFO: Processing buffer {"connection_id":170760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:22:00] local.INFO: Packet analysis {"connection_id":170760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:22:00] local.INFO: Extracted packet for processing {"connection_id":170760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859821056001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788515227000,"timestamp_ms":1788515227000,"timestamp_seconds":1788515227,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd09578"} 
[2026-09-04 15:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859821056001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859821056001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:22:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859821056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":170760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:22:00] local.INFO: GPS data processed {"connection_id":170760,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:22:00] local.INFO: Acknowledgment sent {"connection_id":170760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:22:04] local.INFO: TCP Data received {"connection_id":171067,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:22:04] local.INFO: Processing buffer {"connection_id":171067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:22:04] local.INFO: IMEI packet received {"connection_id":171067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":171067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:22:05] local.INFO: TCP Data received {"connection_id":170760,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:22:05] local.INFO: Processing buffer {"connection_id":170760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd09578012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:22:05] local.INFO: Packet analysis {"connection_id":170760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:22:05] local.INFO: Extracted packet for processing {"connection_id":170760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd0"} 
[2026-09-04 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859821056001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788515227000,"timestamp_ms":1788515227000,"timestamp_seconds":1788515227,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd09578"} 
[2026-09-04 15:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859821056001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859821056001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:22:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:22:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859821056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":170760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763198,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:22:05] local.INFO: GPS data processed {"connection_id":170760,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:22:05] local.INFO: Acknowledgment sent {"connection_id":170760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:22:06] local.INFO: TCP Data received {"connection_id":171067,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:22:06] local.INFO: Processing buffer {"connection_id":171067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:22:06] local.INFO: Packet analysis {"connection_id":171067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:22:06] local.INFO: Extracted packet for processing {"connection_id":171067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:22:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859871744001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788515425000,"timestamp_ms":1788515425000,"timestamp_seconds":1788515425,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd39ae8"} 
[2026-09-04 15:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859871744001,"66":25778,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859871744001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:22:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:22:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859871744001,"power":25778,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":171067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:22:06] local.INFO: GPS data processed {"connection_id":171067,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:22:06] local.INFO: Acknowledgment sent {"connection_id":171067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:22:29] local.INFO: TCP Data received {"connection_id":170759,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd18b90012d196700071fee10003e00592a..."} 
[2026-09-04 15:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd18b90012d196700071fee10003e00592a..."} 
[2026-09-04 15:22:29] local.INFO: Processing buffer {"connection_id":170759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd18b90012d196700071fee10003e00592a..."} 
[2026-09-04 15:22:29] local.INFO: Packet analysis {"connection_id":170759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd1"} 
[2026-09-04 15:22:29] local.INFO: Extracted packet for processing {"connection_id":170759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd1"} 
[2026-09-04 15:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859908864001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788515290000,"timestamp_ms":1788515290000,"timestamp_seconds":1788515290,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd18b90"} 
[2026-09-04 15:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 15:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":170759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":170759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":170759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859908864001,"66":12341,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859908864001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:22:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:22:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859908864001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":170759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:22:29] local.INFO: GPS data processed {"connection_id":170759,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:22:29] local.INFO: Acknowledgment sent {"connection_id":170759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:22:37] local.INFO: TCP Data received {"connection_id":171067,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:22:37] local.INFO: Processing buffer {"connection_id":171067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:22:37] local.INFO: Packet analysis {"connection_id":171067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:22:37] local.INFO: Extracted packet for processing {"connection_id":171067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859871744001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788515425000,"timestamp_ms":1788515425000,"timestamp_seconds":1788515425,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd39ae8"} 
[2026-09-04 15:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859871744001,"66":25778,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859871744001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:22:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:22:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859871744001,"power":25778,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":171067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:22:37] local.INFO: GPS data processed {"connection_id":171067,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:22:37] local.INFO: Acknowledgment sent {"connection_id":171067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:22:46] local.INFO: TCP Data received {"connection_id":173472,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:22:46] local.INFO: Processing buffer {"connection_id":173472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:22:46] local.INFO: IMEI packet received {"connection_id":173472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":173472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:22:49] local.INFO: TCP Data received {"connection_id":173472,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:22:49] local.INFO: Processing buffer {"connection_id":173472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:22:49] local.INFO: IMEI packet received {"connection_id":173472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":173472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:22:53] local.INFO: TCP Data received {"connection_id":170761,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:22:53] local.INFO: Processing buffer {"connection_id":170761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:22:53] local.INFO: IMEI packet received {"connection_id":170761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":170761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:22:54] local.INFO: TCP Data received {"connection_id":173472,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:22:54] local.INFO: Processing buffer {"connection_id":173472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:22:54] local.INFO: IMEI packet received {"connection_id":173472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":173472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:22:56] local.INFO: TCP Data received {"connection_id":173472,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:22:56] local.INFO: Processing buffer {"connection_id":173472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:22:56] local.INFO: Packet analysis {"connection_id":173472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:22:56] local.INFO: Extracted packet for processing {"connection_id":173472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:22:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859898112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788515528000,"timestamp_ms":1788515528000,"timestamp_seconds":1788515528,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd52d40"} 
[2026-09-04 15:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 15:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859898112001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859898112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:22:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:22:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859898112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":173472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763202,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:22:56] local.INFO: GPS data processed {"connection_id":173472,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:22:56] local.INFO: Acknowledgment sent {"connection_id":173472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:22:58] local.INFO: TCP Data received {"connection_id":170761,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:22:58] local.INFO: Processing buffer {"connection_id":170761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:22:58] local.INFO: IMEI packet received {"connection_id":170761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":170761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:22:59] local.INFO: TCP Data received {"connection_id":170762,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:22:59] local.INFO: Processing buffer {"connection_id":170762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:22:59] local.INFO: IMEI packet received {"connection_id":170762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":170762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:22:59] local.INFO: TCP Data received {"connection_id":170761,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd1dd98012d196700071fee10003e00592b..."} 
[2026-09-04 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd1dd98012d196700071fee10003e00592b..."} 
[2026-09-04 15:23:00] local.INFO: Processing buffer {"connection_id":170761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd1dd98012d196700071fee10003e00592b..."} 
[2026-09-04 15:23:00] local.INFO: Packet analysis {"connection_id":170761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd1"} 
[2026-09-04 15:23:00] local.INFO: Extracted packet for processing {"connection_id":170761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd1"} 
[2026-09-04 15:23:00] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859914240001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788515311000,"timestamp_ms":1788515311000,"timestamp_seconds":1788515311,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd1dd98"} 
[2026-09-04 15:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 15:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859914240001,"66":12298,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859914240001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:23:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:23:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859914240001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":170761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:23:00] local.INFO: GPS data processed {"connection_id":170761,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:23:00] local.INFO: Acknowledgment sent {"connection_id":170761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:23:00] local.INFO: TCP Data received {"connection_id":173472,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:23:00] local.INFO: Processing buffer {"connection_id":173472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:23:00] local.INFO: Packet analysis {"connection_id":173472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:23:00] local.INFO: Extracted packet for processing {"connection_id":173472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:23:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859898112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788515528000,"timestamp_ms":1788515528000,"timestamp_seconds":1788515528,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd52d40"} 
[2026-09-04 15:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 15:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859898112001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859898112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:23:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:23:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859898112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":173472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:23:00] local.INFO: GPS data processed {"connection_id":173472,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:23:00] local.INFO: Acknowledgment sent {"connection_id":173472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:23:01] local.INFO: TCP Data received {"connection_id":170761,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd22fa0012d196700071fee10003e00592c..."} 
[2026-09-04 15:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd22fa0012d196700071fee10003e00592c..."} 
[2026-09-04 15:23:01] local.INFO: Processing buffer {"connection_id":170761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd22fa0012d196700071fee10003e00592c..."} 
[2026-09-04 15:23:01] local.INFO: Packet analysis {"connection_id":170761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd2"} 
[2026-09-04 15:23:01] local.INFO: Extracted packet for processing {"connection_id":170761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd2"} 
[2026-09-04 15:23:01] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859919616001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788515332000,"timestamp_ms":1788515332000,"timestamp_seconds":1788515332,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd22fa0"} 
[2026-09-04 15:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 15:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513390635034476633,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:01] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:01] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452349,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:01] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4755801206503243775,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:01] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7768603116922804583,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:01] local.WARNING: Large IO value detected {"io_id":62,"raw_value":25098551927242752,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:01] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:01] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3491979445424160974,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:01] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3499456513,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:01] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026046,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 15:23:01] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,102,160,139,45,238,62,42,10,66,57,39,231,1,240,255,107,31,4,113,205,67,103,239,48,2,61,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 15:23:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467668871569997824,"timestamp_seconds":4467668871569998.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 15:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859919616001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859919616001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:23:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:23:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859919616001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":170761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:23:01] local.INFO: GPS data processed {"connection_id":170761,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:23:01] local.INFO: Acknowledgment sent {"connection_id":170761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:23:04] local.INFO: TCP Data received {"connection_id":170762,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:23:04] local.INFO: Processing buffer {"connection_id":170762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:23:04] local.INFO: IMEI packet received {"connection_id":170762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":170762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:23:06] local.INFO: TCP Data received {"connection_id":170762,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:23:06] local.INFO: Processing buffer {"connection_id":170762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:23:06] local.INFO: Packet analysis {"connection_id":170762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:23:06] local.INFO: Extracted packet for processing {"connection_id":170762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:23:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859871744001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788515425000,"timestamp_ms":1788515425000,"timestamp_seconds":1788515425,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd39ae8"} 
[2026-09-04 15:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859871744001,"66":25778,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859871744001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:23:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:23:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859871744001,"power":25778,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":170762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:23:06] local.INFO: GPS data processed {"connection_id":170762,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:23:06] local.INFO: Acknowledgment sent {"connection_id":170762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:23:32] local.INFO: TCP Data received {"connection_id":173472,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:23:32] local.INFO: Processing buffer {"connection_id":173472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:23:32] local.INFO: Packet analysis {"connection_id":173472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:23:32] local.INFO: Extracted packet for processing {"connection_id":173472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:23:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859898112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788515528000,"timestamp_ms":1788515528000,"timestamp_seconds":1788515528,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd52d40"} 
[2026-09-04 15:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 15:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859898112001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859898112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:23:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859898112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":173472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:23:32] local.INFO: GPS data processed {"connection_id":173472,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:23:32] local.INFO: Acknowledgment sent {"connection_id":173472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:23:32] local.INFO: TCP Data received {"connection_id":170761,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd281a8012d196700071fee10003e00592b..."} 
[2026-09-04 15:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd281a8012d196700071fee10003e00592b..."} 
[2026-09-04 15:23:32] local.INFO: Processing buffer {"connection_id":170761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd281a8012d196700071fee10003e00592b..."} 
[2026-09-04 15:23:32] local.INFO: Packet analysis {"connection_id":170761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd2"} 
[2026-09-04 15:23:32] local.INFO: Extracted packet for processing {"connection_id":170761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd2"} 
[2026-09-04 15:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859924992001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788515353000,"timestamp_ms":1788515353000,"timestamp_seconds":1788515353,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd281a8"} 
[2026-09-04 15:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859924992001,"66":12374,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859924992001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:23:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859924992001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":170761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:23:33] local.INFO: GPS data processed {"connection_id":170761,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:23:33] local.INFO: Acknowledgment sent {"connection_id":170761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:23:37] local.INFO: TCP Data received {"connection_id":170762,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:23:37] local.INFO: Processing buffer {"connection_id":170762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:23:37] local.INFO: Packet analysis {"connection_id":170762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:23:37] local.INFO: Extracted packet for processing {"connection_id":170762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:23:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859871744001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788515425000,"timestamp_ms":1788515425000,"timestamp_seconds":1788515425,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd39ae8"} 
[2026-09-04 15:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859871744001,"66":25778,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859871744001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:23:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859871744001,"power":25778,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":170762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:23:37] local.INFO: GPS data processed {"connection_id":170762,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:23:37] local.INFO: Acknowledgment sent {"connection_id":170762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:23:48] local.INFO: TCP Data received {"connection_id":170763,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:23:48] local.INFO: Processing buffer {"connection_id":170763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:23:48] local.INFO: IMEI packet received {"connection_id":170763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":170763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:23:49] local.INFO: TCP Data received {"connection_id":173473,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:23:49] local.INFO: Processing buffer {"connection_id":173473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:23:49] local.INFO: IMEI packet received {"connection_id":173473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":173473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:23:53] local.INFO: TCP Data received {"connection_id":170763,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:23:53] local.INFO: Processing buffer {"connection_id":170763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:23:53] local.INFO: IMEI packet received {"connection_id":170763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":170763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:23:54] local.INFO: TCP Data received {"connection_id":173473,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:23:54] local.INFO: Processing buffer {"connection_id":173473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:23:54] local.INFO: IMEI packet received {"connection_id":173473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":173473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:23:54] local.INFO: TCP Data received {"connection_id":170763,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd2d3b0012d196700071fee10003e00592b..."} 
[2026-09-04 15:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd2d3b0012d196700071fee10003e00592b..."} 
[2026-09-04 15:23:54] local.INFO: Processing buffer {"connection_id":170763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd2d3b0012d196700071fee10003e00592b..."} 
[2026-09-04 15:23:54] local.INFO: Packet analysis {"connection_id":170763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd2"} 
[2026-09-04 15:23:54] local.INFO: Extracted packet for processing {"connection_id":170763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd2"} 
[2026-09-04 15:23:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859930368001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788515374000,"timestamp_ms":1788515374000,"timestamp_seconds":1788515374,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd2d3b0"} 
[2026-09-04 15:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 15:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859930368001,"66":12298,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859930368001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:23:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:23:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859930368001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":170763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:23:55] local.INFO: GPS data processed {"connection_id":170763,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:23:55] local.INFO: Acknowledgment sent {"connection_id":170763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:23:55] local.INFO: TCP Data received {"connection_id":173473,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:23:55] local.INFO: Processing buffer {"connection_id":173473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:23:55] local.INFO: Packet analysis {"connection_id":173473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:23:55] local.INFO: Extracted packet for processing {"connection_id":173473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859898112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515528000,"timestamp_ms":1788515528000,"timestamp_seconds":1788515528,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd52d40"} 
[2026-09-04 15:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 15:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859898112001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859898112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:23:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859898112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":173473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763211,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:23:55] local.INFO: GPS data processed {"connection_id":173473,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:23:55] local.INFO: Acknowledgment sent {"connection_id":173473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:23:59] local.INFO: TCP Data received {"connection_id":170763,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd325b8012d196700071fee10003e00592b..."} 
[2026-09-04 15:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd325b8012d196700071fee10003e00592b..."} 
[2026-09-04 15:23:59] local.INFO: Processing buffer {"connection_id":170763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd325b8012d196700071fee10003e00592b..."} 
[2026-09-04 15:23:59] local.INFO: Packet analysis {"connection_id":170763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:23:59] local.INFO: Extracted packet for processing {"connection_id":170763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859935744001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788515395000,"timestamp_ms":1788515395000,"timestamp_seconds":1788515395,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd325b8"} 
[2026-09-04 15:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 15:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513390635034476633,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:59] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452349,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:59] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4755801206503243775,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7768873699862452583,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":25096352903987200,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483923195592910,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:59] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3515584513,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026046,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 15:23:59] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-09-04 15:23:59] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,102,160,129,45,238,62,43,10,66,47,44,221,1,240,107,31,4,113,205,57,103,39,239,48,2,61,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 15:23:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467668871569997824,"timestamp_seconds":4467668871569998.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 15:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859935744001,"66":12298,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859935744001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:23:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:23:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859935744001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":170763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:23:59] local.INFO: GPS data processed {"connection_id":170763,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:23:59] local.INFO: Acknowledgment sent {"connection_id":170763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:23:59] local.INFO: TCP Data received {"connection_id":172163,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:23:59] local.INFO: Processing buffer {"connection_id":172163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:23:59] local.INFO: IMEI packet received {"connection_id":172163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":172163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:24:05] local.INFO: TCP Data received {"connection_id":172163,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:24:05] local.INFO: Processing buffer {"connection_id":172163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:24:05] local.INFO: IMEI packet received {"connection_id":172163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":172163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:24:06] local.INFO: TCP Data received {"connection_id":172163,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:24:06] local.INFO: Processing buffer {"connection_id":172163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:24:06] local.INFO: Packet analysis {"connection_id":172163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:24:06] local.INFO: Extracted packet for processing {"connection_id":172163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:24:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859871744001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788515425000,"timestamp_ms":1788515425000,"timestamp_seconds":1788515425,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd39ae8"} 
[2026-09-04 15:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859871744001,"66":25778,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859871744001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:24:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:24:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859871744001,"power":25778,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":172163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:24:06] local.INFO: GPS data processed {"connection_id":172163,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:24:06] local.INFO: Acknowledgment sent {"connection_id":172163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:24:27] local.INFO: TCP Data received {"connection_id":173473,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:24:27] local.INFO: Processing buffer {"connection_id":173473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:24:27] local.INFO: Packet analysis {"connection_id":173473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:24:27] local.INFO: Extracted packet for processing {"connection_id":173473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:24:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859898112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788515528000,"timestamp_ms":1788515528000,"timestamp_seconds":1788515528,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd52d40"} 
[2026-09-04 15:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 15:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859898112001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859898112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:24:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:24:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859898112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":173473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:24:27] local.INFO: GPS data processed {"connection_id":173473,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:24:27] local.INFO: Acknowledgment sent {"connection_id":173473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:24:30] local.INFO: TCP Data received {"connection_id":170763,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd377c0012d196700071fee10003e00592a..."} 
[2026-09-04 15:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd377c0012d196700071fee10003e00592a..."} 
[2026-09-04 15:24:30] local.INFO: Processing buffer {"connection_id":170763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd377c0012d196700071fee10003e00592a..."} 
[2026-09-04 15:24:30] local.INFO: Packet analysis {"connection_id":170763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:24:30] local.INFO: Extracted packet for processing {"connection_id":170763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859941120001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788515416000,"timestamp_ms":1788515416000,"timestamp_seconds":1788515416,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd377c0"} 
[2026-09-04 15:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 15:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513390635034476633,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:30] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452349,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:30] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4755801206503243775,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7768963894175668583,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:30] local.WARNING: Large IO value detected {"io_id":62,"raw_value":25094153880731648,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937968334,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:30] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3520960513,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026046,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 15:24:30] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:30] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,102,160,211,45,238,62,43,10,66,129,47,1,240,97,107,31,4,113,205,139,103,42,239,48,2,61,7,41],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 15:24:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467668871569997824,"timestamp_seconds":4467668871569998.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 15:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859941120001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859941120001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:24:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:24:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859941120001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":170763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:24:30] local.INFO: GPS data processed {"connection_id":170763,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:24:30] local.INFO: Acknowledgment sent {"connection_id":170763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:24:40] local.INFO: TCP Data received {"connection_id":172163,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:24:40] local.INFO: Processing buffer {"connection_id":172163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:24:40] local.INFO: Packet analysis {"connection_id":172163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:24:40] local.INFO: Extracted packet for processing {"connection_id":172163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:24:40] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859871744001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788515425000,"timestamp_ms":1788515425000,"timestamp_seconds":1788515425,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd39ae8"} 
[2026-09-04 15:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859871744001,"66":25778,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859871744001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:24:40] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:24:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859871744001,"power":25778,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":172163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:24:40] local.INFO: GPS data processed {"connection_id":172163,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:24:40] local.INFO: Acknowledgment sent {"connection_id":172163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:24:45] local.INFO: TCP Data received {"connection_id":172164,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:24:45] local.INFO: Processing buffer {"connection_id":172164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:24:45] local.INFO: IMEI packet received {"connection_id":172164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":172164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:24:49] local.INFO: TCP Data received {"connection_id":172165,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:24:49] local.INFO: Processing buffer {"connection_id":172165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:24:49] local.INFO: IMEI packet received {"connection_id":172165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":172165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:24:49] local.INFO: TCP Data received {"connection_id":172164,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:24:49] local.INFO: Processing buffer {"connection_id":172164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:24:49] local.INFO: IMEI packet received {"connection_id":172164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":172164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:24:53] local.INFO: TCP Data received {"connection_id":172164,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:24:53] local.INFO: Processing buffer {"connection_id":172164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:24:53] local.INFO: IMEI packet received {"connection_id":172164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":172164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:24:54] local.INFO: TCP Data received {"connection_id":172164,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd3c9c8012d196700071fee10003e005929..."} 
[2026-09-04 15:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd3c9c8012d196700071fee10003e005929..."} 
[2026-09-04 15:24:54] local.INFO: Processing buffer {"connection_id":172164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd3c9c8012d196700071fee10003e005929..."} 
[2026-09-04 15:24:54] local.INFO: Packet analysis {"connection_id":172164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:24:54] local.INFO: Extracted packet for processing {"connection_id":172164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:24:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859946496001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788515437000,"timestamp_ms":1788515437000,"timestamp_seconds":1788515437,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd3c9c8"} 
[2026-09-04 15:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859946496001,"66":12374,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859946496001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:24:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:24:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859946496001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":172164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:24:54] local.INFO: GPS data processed {"connection_id":172164,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:24:54] local.INFO: Acknowledgment sent {"connection_id":172164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:24:54] local.INFO: TCP Data received {"connection_id":172165,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:24:54] local.INFO: Processing buffer {"connection_id":172165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:24:54] local.INFO: IMEI packet received {"connection_id":172165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":172165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:24:55] local.INFO: TCP Data received {"connection_id":172165,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:24:55] local.INFO: Processing buffer {"connection_id":172165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:24:55] local.INFO: Packet analysis {"connection_id":172165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:24:55] local.INFO: Extracted packet for processing {"connection_id":172165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:24:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859898112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515528000,"timestamp_ms":1788515528000,"timestamp_seconds":1788515528,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd52d40"} 
[2026-09-04 15:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 15:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859898112001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859898112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:24:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:24:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859898112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":172165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:24:55] local.INFO: GPS data processed {"connection_id":172165,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:24:55] local.INFO: Acknowledgment sent {"connection_id":172165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:24:58] local.INFO: TCP Data received {"connection_id":172164,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd41bd0012d196700071fee10003e00592c..."} 
[2026-09-04 15:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd41bd0012d196700071fee10003e00592c..."} 
[2026-09-04 15:24:58] local.INFO: Processing buffer {"connection_id":172164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd41bd0012d196700071fee10003e00592c..."} 
[2026-09-04 15:24:58] local.INFO: Packet analysis {"connection_id":172164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd4"} 
[2026-09-04 15:24:58] local.INFO: Extracted packet for processing {"connection_id":172164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd4"} 
[2026-09-04 15:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859951872001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788515458000,"timestamp_ms":1788515458000,"timestamp_seconds":1788515458,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd41bd0"} 
[2026-09-04 15:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 15:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859951872001,"66":12341,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859951872001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:24:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:24:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859951872001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":172164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:24:58] local.INFO: GPS data processed {"connection_id":172164,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:24:58] local.INFO: Acknowledgment sent {"connection_id":172164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:25:00] local.INFO: TCP Data received {"connection_id":170764,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:25:00] local.INFO: Processing buffer {"connection_id":170764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:25:00] local.INFO: IMEI packet received {"connection_id":170764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":170764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:25:04] local.INFO: TCP Data received {"connection_id":170764,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:25:04] local.INFO: Processing buffer {"connection_id":170764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:25:04] local.INFO: IMEI packet received {"connection_id":170764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":170764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:25:05] local.INFO: TCP Data received {"connection_id":170764,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:25:05] local.INFO: Processing buffer {"connection_id":170764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:25:05] local.INFO: Packet analysis {"connection_id":170764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:25:05] local.INFO: Extracted packet for processing {"connection_id":170764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859871744001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788515425000,"timestamp_ms":1788515425000,"timestamp_seconds":1788515425,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd39ae8"} 
[2026-09-04 15:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859871744001,"66":25778,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859871744001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:25:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:25:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859871744001,"power":25778,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":170764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:25:05] local.INFO: GPS data processed {"connection_id":170764,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:25:05] local.INFO: Acknowledgment sent {"connection_id":170764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:25:27] local.INFO: TCP Data received {"connection_id":172165,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:25:27] local.INFO: Processing buffer {"connection_id":172165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:25:27] local.INFO: Packet analysis {"connection_id":172165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:25:27] local.INFO: Extracted packet for processing {"connection_id":172165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:25:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859898112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788515528000,"timestamp_ms":1788515528000,"timestamp_seconds":1788515528,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd52d40"} 
[2026-09-04 15:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 15:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859898112001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859898112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:25:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859898112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":172165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:25:27] local.INFO: GPS data processed {"connection_id":172165,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:25:27] local.INFO: Acknowledgment sent {"connection_id":172165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:25:29] local.INFO: TCP Data received {"connection_id":172164,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd46dd8012d196700071fee10003e00592a..."} 
[2026-09-04 15:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd46dd8012d196700071fee10003e00592a..."} 
[2026-09-04 15:25:29] local.INFO: Processing buffer {"connection_id":172164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd46dd8012d196700071fee10003e00592a..."} 
[2026-09-04 15:25:29] local.INFO: Packet analysis {"connection_id":172164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd4"} 
[2026-09-04 15:25:29] local.INFO: Extracted packet for processing {"connection_id":172164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd4"} 
[2026-09-04 15:25:29] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859957248001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788515479000,"timestamp_ms":1788515479000,"timestamp_seconds":1788515479,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd46dd8"} 
[2026-09-04 15:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 15:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859957248001,"66":11971,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859957248001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:25:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:25:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859957248001,"power":11971,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":172164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:25:30] local.INFO: GPS data processed {"connection_id":172164,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:25:30] local.INFO: Acknowledgment sent {"connection_id":172164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:25:36] local.INFO: TCP Data received {"connection_id":170764,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:25:36] local.INFO: Processing buffer {"connection_id":170764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd39ae8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:25:36] local.INFO: Packet analysis {"connection_id":170764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:25:36] local.INFO: Extracted packet for processing {"connection_id":170764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd3"} 
[2026-09-04 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859871744001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788515425000,"timestamp_ms":1788515425000,"timestamp_seconds":1788515425,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd39ae8"} 
[2026-09-04 15:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859871744001,"66":25778,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859871744001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:25:36] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:25:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859871744001,"power":25778,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":170764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:25:36] local.INFO: GPS data processed {"connection_id":170764,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:25:36] local.INFO: Acknowledgment sent {"connection_id":170764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:25:49] local.INFO: TCP Data received {"connection_id":170765,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:25:49] local.INFO: Processing buffer {"connection_id":170765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:25:49] local.INFO: IMEI packet received {"connection_id":170765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":170765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:25:49] local.INFO: TCP Data received {"connection_id":170765,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:25:49] local.INFO: Processing buffer {"connection_id":170765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:25:49] local.INFO: IMEI packet received {"connection_id":170765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":170765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:25:53] local.INFO: TCP Data received {"connection_id":170765,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:25:53] local.INFO: Processing buffer {"connection_id":170765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:25:53] local.INFO: IMEI packet received {"connection_id":170765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":170765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:25:54] local.INFO: TCP Data received {"connection_id":170766,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:25:54] local.INFO: Processing buffer {"connection_id":170766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:25:54] local.INFO: IMEI packet received {"connection_id":170766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":170766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:25:54] local.INFO: TCP Data received {"connection_id":170765,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd4bfe0012d196700071fee10003e00592a..."} 
[2026-09-04 15:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd4bfe0012d196700071fee10003e00592a..."} 
[2026-09-04 15:25:54] local.INFO: Processing buffer {"connection_id":170765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd4bfe0012d196700071fee10003e00592a..."} 
[2026-09-04 15:25:54] local.INFO: Packet analysis {"connection_id":170765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd4"} 
[2026-09-04 15:25:54] local.INFO: Extracted packet for processing {"connection_id":170765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd4"} 
[2026-09-04 15:25:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859962624001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788515500000,"timestamp_ms":1788515500000,"timestamp_seconds":1788515500,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd4bfe0"} 
[2026-09-04 15:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 15:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859962624001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859962624001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:25:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:25:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859962624001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":170765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:25:54] local.INFO: GPS data processed {"connection_id":170765,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:25:54] local.INFO: Acknowledgment sent {"connection_id":170765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:25:59] local.INFO: TCP Data received {"connection_id":170766,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:25:59] local.INFO: Processing buffer {"connection_id":170766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:25:59] local.INFO: IMEI packet received {"connection_id":170766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":170766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:25:59] local.INFO: TCP Data received {"connection_id":173474,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:25:59] local.INFO: Processing buffer {"connection_id":173474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:25:59] local.INFO: IMEI packet received {"connection_id":173474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":173474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:26:00] local.INFO: TCP Data received {"connection_id":170766,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:26:00] local.INFO: Processing buffer {"connection_id":170766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:26:00] local.INFO: Packet analysis {"connection_id":170766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:26:00] local.INFO: Extracted packet for processing {"connection_id":170766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:26:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859898112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788515528000,"timestamp_ms":1788515528000,"timestamp_seconds":1788515528,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd52d40"} 
[2026-09-04 15:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 15:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859898112001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859898112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:26:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859898112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":170766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:26:00] local.INFO: GPS data processed {"connection_id":170766,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:26:00] local.INFO: Acknowledgment sent {"connection_id":170766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:26:04] local.INFO: TCP Data received {"connection_id":173474,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:26:04] local.INFO: Processing buffer {"connection_id":173474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:26:04] local.INFO: IMEI packet received {"connection_id":173474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":173474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:26:05] local.INFO: TCP Data received {"connection_id":170766,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:26:05] local.INFO: Processing buffer {"connection_id":170766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:26:05] local.INFO: Packet analysis {"connection_id":170766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:26:05] local.INFO: Extracted packet for processing {"connection_id":170766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859898112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788515528000,"timestamp_ms":1788515528000,"timestamp_seconds":1788515528,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd52d40"} 
[2026-09-04 15:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 15:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859898112001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859898112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:26:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:26:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859898112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":170766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763226,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:26:05] local.INFO: GPS data processed {"connection_id":170766,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:26:05] local.INFO: Acknowledgment sent {"connection_id":170766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:26:06] local.INFO: TCP Data received {"connection_id":173474,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:26:06] local.INFO: Processing buffer {"connection_id":173474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:26:06] local.INFO: Packet analysis {"connection_id":173474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:26:06] local.INFO: Extracted packet for processing {"connection_id":173474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:26:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859948800001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788515726000,"timestamp_ms":1788515726000,"timestamp_seconds":1788515726,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd832b0"} 
[2026-09-04 15:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 15:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859948800001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859948800001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:26:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859948800001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":173474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:26:06] local.INFO: GPS data processed {"connection_id":173474,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:26:06] local.INFO: Acknowledgment sent {"connection_id":173474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:26:10] local.INFO: TCP Data received {"connection_id":170766,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:26:10] local.INFO: Processing buffer {"connection_id":170766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:26:10] local.INFO: Packet analysis {"connection_id":170766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:26:10] local.INFO: Extracted packet for processing {"connection_id":170766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859898112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788515528000,"timestamp_ms":1788515528000,"timestamp_seconds":1788515528,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd52d40"} 
[2026-09-04 15:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 15:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859898112001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859898112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:26:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:26:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859898112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":170766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:26:10] local.INFO: GPS data processed {"connection_id":170766,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:26:10] local.INFO: Acknowledgment sent {"connection_id":170766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:26:26] local.INFO: TCP Data received {"connection_id":170765,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd511e8012d196700071fee10003e00592a..."} 
[2026-09-04 15:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd511e8012d196700071fee10003e00592a..."} 
[2026-09-04 15:26:26] local.INFO: Processing buffer {"connection_id":170765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd511e8012d196700071fee10003e00592a..."} 
[2026-09-04 15:26:26] local.INFO: Packet analysis {"connection_id":170765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:26:26] local.INFO: Extracted packet for processing {"connection_id":170765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:26:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859968000001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788515521000,"timestamp_ms":1788515521000,"timestamp_seconds":1788515521,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd511e8"} 
[2026-09-04 15:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859968000001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859968000001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:26:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:26:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859968000001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":170765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:26:26] local.INFO: GPS data processed {"connection_id":170765,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:26:26] local.INFO: Acknowledgment sent {"connection_id":170765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:26:37] local.INFO: TCP Data received {"connection_id":173474,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:26:37] local.INFO: Processing buffer {"connection_id":173474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:26:37] local.INFO: Packet analysis {"connection_id":173474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:26:37] local.INFO: Extracted packet for processing {"connection_id":173474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:26:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859948800001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788515726000,"timestamp_ms":1788515726000,"timestamp_seconds":1788515726,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd832b0"} 
[2026-09-04 15:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 15:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859948800001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859948800001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:26:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859948800001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":173474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:26:37] local.INFO: GPS data processed {"connection_id":173474,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:26:37] local.INFO: Acknowledgment sent {"connection_id":173474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:26:48] local.INFO: TCP Data received {"connection_id":170768,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:26:48] local.INFO: Processing buffer {"connection_id":170768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:26:48] local.INFO: IMEI packet received {"connection_id":170768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":170768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:26:49] local.INFO: TCP Data received {"connection_id":170767,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:26:49] local.INFO: Processing buffer {"connection_id":170767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:26:49] local.INFO: IMEI packet received {"connection_id":170767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":170767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:26:51] local.INFO: TCP Data received {"connection_id":170768,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:26:51] local.INFO: Processing buffer {"connection_id":170768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:26:51] local.INFO: IMEI packet received {"connection_id":170768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":170768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:26:53] local.INFO: TCP Data received {"connection_id":170768,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:26:53] local.INFO: Processing buffer {"connection_id":170768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:26:53] local.INFO: IMEI packet received {"connection_id":170768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":170768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:26:54] local.INFO: TCP Data received {"connection_id":170767,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:26:54] local.INFO: Processing buffer {"connection_id":170767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:26:54] local.INFO: IMEI packet received {"connection_id":170767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":170767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:26:55] local.INFO: TCP Data received {"connection_id":170767,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:26:55] local.INFO: Processing buffer {"connection_id":170767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:26:55] local.INFO: Packet analysis {"connection_id":170767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:26:55] local.INFO: Extracted packet for processing {"connection_id":170767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:26:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859898112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515528000,"timestamp_ms":1788515528000,"timestamp_seconds":1788515528,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd52d40"} 
[2026-09-04 15:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 15:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859898112001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859898112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:26:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:26:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859898112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":170767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:26:55] local.INFO: GPS data processed {"connection_id":170767,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:26:55] local.INFO: Acknowledgment sent {"connection_id":170767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:26:56] local.INFO: TCP Data received {"connection_id":170768,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd563f0012d196700071fee10003e00592b..."} 
[2026-09-04 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd563f0012d196700071fee10003e00592b..."} 
[2026-09-04 15:26:56] local.INFO: Processing buffer {"connection_id":170768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd563f0012d196700071fee10003e00592b..."} 
[2026-09-04 15:26:56] local.INFO: Packet analysis {"connection_id":170768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:26:56] local.INFO: Extracted packet for processing {"connection_id":170768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859973376001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788515542000,"timestamp_ms":1788515542000,"timestamp_seconds":1788515542,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd563f0"} 
[2026-09-04 15:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859973376001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859973376001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:26:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:26:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859973376001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":170768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:26:56] local.INFO: GPS data processed {"connection_id":170768,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:26:56] local.INFO: Acknowledgment sent {"connection_id":170768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:26:59] local.INFO: TCP Data received {"connection_id":171068,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:26:59] local.INFO: Processing buffer {"connection_id":171068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:26:59] local.INFO: IMEI packet received {"connection_id":171068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":171068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:27:04] local.INFO: TCP Data received {"connection_id":171068,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:27:04] local.INFO: Processing buffer {"connection_id":171068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:27:04] local.INFO: IMEI packet received {"connection_id":171068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":171068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:27:06] local.INFO: TCP Data received {"connection_id":171068,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:27:06] local.INFO: Processing buffer {"connection_id":171068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:27:06] local.INFO: Packet analysis {"connection_id":171068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:27:06] local.INFO: Extracted packet for processing {"connection_id":171068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859948800001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788515726000,"timestamp_ms":1788515726000,"timestamp_seconds":1788515726,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd832b0"} 
[2026-09-04 15:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 15:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859948800001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859948800001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:27:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:27:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859948800001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":171068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:27:06] local.INFO: GPS data processed {"connection_id":171068,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:27:06] local.INFO: Acknowledgment sent {"connection_id":171068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:27:27] local.INFO: TCP Data received {"connection_id":170767,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:27:27] local.INFO: Processing buffer {"connection_id":170767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd52d40012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:27:27] local.INFO: Packet analysis {"connection_id":170767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:27:27] local.INFO: Extracted packet for processing {"connection_id":170767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:27:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859898112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788515528000,"timestamp_ms":1788515528000,"timestamp_seconds":1788515528,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd52d40"} 
[2026-09-04 15:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 15:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859898112001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859898112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:27:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:27:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859898112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":170767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:27:27] local.INFO: GPS data processed {"connection_id":170767,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:27:27] local.INFO: Acknowledgment sent {"connection_id":170767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:27:28] local.INFO: TCP Data received {"connection_id":170768,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd5b5f8012d196700071fee10003e00592b..."} 
[2026-09-04 15:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd5b5f8012d196700071fee10003e00592b..."} 
[2026-09-04 15:27:28] local.INFO: Processing buffer {"connection_id":170768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd5b5f8012d196700071fee10003e00592b..."} 
[2026-09-04 15:27:28] local.INFO: Packet analysis {"connection_id":170768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:27:28] local.INFO: Extracted packet for processing {"connection_id":170768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd5"} 
[2026-09-04 15:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859978752001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788515563000,"timestamp_ms":1788515563000,"timestamp_seconds":1788515563,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd5b5f8"} 
[2026-09-04 15:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859978752001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859978752001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:27:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:27:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859978752001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":170768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:27:28] local.INFO: GPS data processed {"connection_id":170768,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:27:28] local.INFO: Acknowledgment sent {"connection_id":170768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:27:39] local.INFO: TCP Data received {"connection_id":171068,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:27:39] local.INFO: Processing buffer {"connection_id":171068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:27:39] local.INFO: Packet analysis {"connection_id":171068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:27:39] local.INFO: Extracted packet for processing {"connection_id":171068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:27:39] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859948800001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788515726000,"timestamp_ms":1788515726000,"timestamp_seconds":1788515726,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd832b0"} 
[2026-09-04 15:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 15:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859948800001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859948800001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:27:39] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:27:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859948800001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":171068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:27:39] local.INFO: GPS data processed {"connection_id":171068,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:27:39] local.INFO: Acknowledgment sent {"connection_id":171068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:27:46] local.INFO: TCP Data received {"connection_id":173475,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:27:46] local.INFO: Processing buffer {"connection_id":173475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:27:46] local.INFO: IMEI packet received {"connection_id":173475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":173475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:27:48] local.INFO: TCP Data received {"connection_id":173475,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:27:48] local.INFO: Processing buffer {"connection_id":173475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:27:48] local.INFO: IMEI packet received {"connection_id":173475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":173475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:27:53] local.INFO: TCP Data received {"connection_id":172166,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:27:53] local.INFO: Processing buffer {"connection_id":172166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:27:53] local.INFO: IMEI packet received {"connection_id":172166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":172166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:27:54] local.INFO: TCP Data received {"connection_id":173475,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:27:54] local.INFO: Processing buffer {"connection_id":173475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:27:54] local.INFO: IMEI packet received {"connection_id":173475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":173475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:27:54] local.INFO: TCP Data received {"connection_id":172166,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:27:54] local.INFO: Processing buffer {"connection_id":172166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:27:54] local.INFO: IMEI packet received {"connection_id":172166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":172166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:27:55] local.INFO: TCP Data received {"connection_id":173475,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:27:55] local.INFO: Processing buffer {"connection_id":173475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:27:55] local.INFO: Packet analysis {"connection_id":173475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:27:55] local.INFO: Extracted packet for processing {"connection_id":173475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:27:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859975168001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515829000,"timestamp_ms":1788515829000,"timestamp_seconds":1788515829,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd9c508"} 
[2026-09-04 15:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859975168001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859975168001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:27:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:27:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859975168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":173475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:27:55] local.INFO: GPS data processed {"connection_id":173475,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:27:55] local.INFO: Acknowledgment sent {"connection_id":173475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:27:55] local.INFO: TCP Data received {"connection_id":172166,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd93c50012d196700071fee10003e00592b..."} 
[2026-09-04 15:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd93c50012d196700071fee10003e00592b..."} 
[2026-09-04 15:27:55] local.INFO: Processing buffer {"connection_id":172166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd93c50012d196700071fee10003e00592b..."} 
[2026-09-04 15:27:55] local.INFO: Packet analysis {"connection_id":172166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:27:55] local.INFO: Extracted packet for processing {"connection_id":172166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:27:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860037888001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515794000,"timestamp_ms":1788515794000,"timestamp_seconds":1788515794,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd93c50"} 
[2026-09-04 15:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513390635034476633,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452349,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4755801206503243775,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7770587391813556583,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":62,"raw_value":25099651438870528,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3357434406556467406,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3617728513,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026046,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 15:27:55] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495911,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:55] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,102,160,152,45,238,62,43,10,66,70,44,244,1,240,75,107,31,4,113,205,80,103,239,47,2,61,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 15:27:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467668867275030528,"timestamp_seconds":4467668867275030.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 15:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860037888001,"66":12298,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860037888001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:27:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:27:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860037888001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":172166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:27:55] local.INFO: GPS data processed {"connection_id":172166,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:27:55] local.INFO: Acknowledgment sent {"connection_id":172166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:27:59] local.INFO: TCP Data received {"connection_id":172166,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd98e58012d196700071fee10003e00592b..."} 
[2026-09-04 15:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd98e58012d196700071fee10003e00592b..."} 
[2026-09-04 15:27:59] local.INFO: Processing buffer {"connection_id":172166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd98e58012d196700071fee10003e00592b..."} 
[2026-09-04 15:27:59] local.INFO: Packet analysis {"connection_id":172166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:27:59] local.INFO: Extracted packet for processing {"connection_id":172166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860043264001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788515815000,"timestamp_ms":1788515815000,"timestamp_seconds":1788515815,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd98e58"} 
[2026-09-04 15:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 15:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513390635034476633,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:59] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452349,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:59] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4755801206503243775,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7770677586126772583,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":25098551927242752,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002799476506830,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:59] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3623104513,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026046,"note":"Value kept but may cause issues"} 
[2026-09-04 15:27:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 15:27:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,102,160,234,45,238,62,42,10,66,152,43,70,1,240,53,107,31,4,113,205,162,103,239,48,2,61,7,44],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 15:27:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467668871569997824,"timestamp_seconds":4467668871569998.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 15:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860043264001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860043264001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:27:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860043264001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":172166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:27:59] local.INFO: GPS data processed {"connection_id":172166,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:27:59] local.INFO: Acknowledgment sent {"connection_id":172166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:27:59] local.INFO: TCP Data received {"connection_id":170769,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:27:59] local.INFO: Processing buffer {"connection_id":170769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:27:59] local.INFO: IMEI packet received {"connection_id":170769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":170769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:28:04] local.INFO: TCP Data received {"connection_id":170769,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:28:04] local.INFO: Processing buffer {"connection_id":170769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:28:04] local.INFO: IMEI packet received {"connection_id":170769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":170769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:28:06] local.INFO: TCP Data received {"connection_id":170769,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:28:06] local.INFO: Processing buffer {"connection_id":170769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:28:06] local.INFO: Packet analysis {"connection_id":170769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:28:06] local.INFO: Extracted packet for processing {"connection_id":170769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:28:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859948800001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788515726000,"timestamp_ms":1788515726000,"timestamp_seconds":1788515726,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd832b0"} 
[2026-09-04 15:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 15:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859948800001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859948800001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:28:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:28:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859948800001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":170769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:28:06] local.INFO: GPS data processed {"connection_id":170769,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:28:06] local.INFO: Acknowledgment sent {"connection_id":170769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:28:27] local.INFO: TCP Data received {"connection_id":173475,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:28:27] local.INFO: Processing buffer {"connection_id":173475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:28:27] local.INFO: Packet analysis {"connection_id":173475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:28:27] local.INFO: Extracted packet for processing {"connection_id":173475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:28:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859975168001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788515829000,"timestamp_ms":1788515829000,"timestamp_seconds":1788515829,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd9c508"} 
[2026-09-04 15:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859975168001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859975168001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:28:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:28:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859975168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":173475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:28:27] local.INFO: GPS data processed {"connection_id":173475,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:28:27] local.INFO: Acknowledgment sent {"connection_id":173475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:28:37] local.INFO: TCP Data received {"connection_id":170769,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:28:37] local.INFO: Processing buffer {"connection_id":170769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:28:37] local.INFO: Packet analysis {"connection_id":170769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:28:37] local.INFO: Extracted packet for processing {"connection_id":170769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:28:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859948800001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788515726000,"timestamp_ms":1788515726000,"timestamp_seconds":1788515726,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd832b0"} 
[2026-09-04 15:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 15:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":170769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":170769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":170769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859948800001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859948800001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:28:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:28:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859948800001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":170769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:28:37] local.INFO: GPS data processed {"connection_id":170769,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:28:37] local.INFO: Acknowledgment sent {"connection_id":170769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:28:48] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:28:48] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:28:48] local.INFO: IMEI packet received {"connection_id":172167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":172167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:28:48] local.INFO: TCP Data received {"connection_id":172168,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:28:48] local.INFO: Processing buffer {"connection_id":172168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:28:48] local.INFO: IMEI packet received {"connection_id":172168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":172168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:28:53] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:28:53] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:28:53] local.INFO: IMEI packet received {"connection_id":172167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":172167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:28:54] local.INFO: TCP Data received {"connection_id":172168,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:28:54] local.INFO: Processing buffer {"connection_id":172168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:28:54] local.INFO: IMEI packet received {"connection_id":172168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":172168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:28:55] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd9e060012d196700071fee10003e00592b..."} 
[2026-09-04 15:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd9e060012d196700071fee10003e00592b..."} 
[2026-09-04 15:28:55] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd9e060012d196700071fee10003e00592b..."} 
[2026-09-04 15:28:55] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:28:55] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860048640001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515836000,"timestamp_ms":1788515836000,"timestamp_seconds":1788515836,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd9e060"} 
[2026-09-04 15:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860048640001,"66":12385,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860048640001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:28:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:28:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860048640001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:28:55] local.INFO: GPS data processed {"connection_id":172167,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:28:55] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:28:56] local.INFO: TCP Data received {"connection_id":172168,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:28:56] local.INFO: Processing buffer {"connection_id":172168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:28:56] local.INFO: Packet analysis {"connection_id":172168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:28:56] local.INFO: Extracted packet for processing {"connection_id":172168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:28:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859975168001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788515829000,"timestamp_ms":1788515829000,"timestamp_seconds":1788515829,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd9c508"} 
[2026-09-04 15:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172168,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172168,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859975168001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859975168001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:28:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:28:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859975168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":172168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:28:56] local.INFO: GPS data processed {"connection_id":172168,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:28:56] local.INFO: Acknowledgment sent {"connection_id":172168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:28:59] local.INFO: TCP Data received {"connection_id":172169,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:28:59] local.INFO: Processing buffer {"connection_id":172169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:28:59] local.INFO: IMEI packet received {"connection_id":172169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":172169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:29:04] local.INFO: TCP Data received {"connection_id":172169,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:29:04] local.INFO: Processing buffer {"connection_id":172169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:29:04] local.INFO: IMEI packet received {"connection_id":172169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":172169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:29:06] local.INFO: TCP Data received {"connection_id":172169,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:29:06] local.INFO: Processing buffer {"connection_id":172169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:29:06] local.INFO: Packet analysis {"connection_id":172169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:29:06] local.INFO: Extracted packet for processing {"connection_id":172169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:29:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859948800001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788515726000,"timestamp_ms":1788515726000,"timestamp_seconds":1788515726,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd832b0"} 
[2026-09-04 15:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 15:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859948800001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859948800001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:29:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859948800001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":172169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:29:06] local.INFO: GPS data processed {"connection_id":172169,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:29:06] local.INFO: Acknowledgment sent {"connection_id":172169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:29:26] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bda3268012d196700071fee10003e005929..."} 
[2026-09-04 15:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bda3268012d196700071fee10003e005929..."} 
[2026-09-04 15:29:26] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bda3268012d196700071fee10003e005929..."} 
[2026-09-04 15:29:26] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bda"} 
[2026-09-04 15:29:26] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bda"} 
[2026-09-04 15:29:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533072,"longitude_deg":75.6639488,"latitude_deg":11.9533072,"altitude":62,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-09-04 15:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860054016001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17282939809169408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149862400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788515857000,"timestamp_ms":1788515857000,"timestamp_seconds":1788515857,"priority":1,"record_length":96,"hex_timestamp":"000001a06bda3268"} 
[2026-09-04 15:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 15:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860054016001,"66":12406,"121":206,"28":31744,"24":0,"16":17282939809169408,"45":1830431804149862400},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860054016001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:29:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:29:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17282939809169408,"km_value":17282939809169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149862400,"description":"Unknown IO ID 45"} 
[2026-09-04 15:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860054016001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149862400}} 
[2026-09-04 15:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:29:27] local.INFO: GPS data processed {"connection_id":172167,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:29:27] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:29:28] local.INFO: TCP Data received {"connection_id":172168,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:29:28] local.INFO: Processing buffer {"connection_id":172168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:29:28] local.INFO: Packet analysis {"connection_id":172168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:29:28] local.INFO: Extracted packet for processing {"connection_id":172168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:29:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859975168001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788515829000,"timestamp_ms":1788515829000,"timestamp_seconds":1788515829,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd9c508"} 
[2026-09-04 15:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172168,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172168,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859975168001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859975168001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:29:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:29:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859975168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":172168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:29:28] local.INFO: GPS data processed {"connection_id":172168,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:29:28] local.INFO: Acknowledgment sent {"connection_id":172168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:29:37] local.INFO: TCP Data received {"connection_id":172169,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:29:37] local.INFO: Processing buffer {"connection_id":172169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:29:37] local.INFO: Packet analysis {"connection_id":172169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:29:37] local.INFO: Extracted packet for processing {"connection_id":172169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859948800001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788515726000,"timestamp_ms":1788515726000,"timestamp_seconds":1788515726,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd832b0"} 
[2026-09-04 15:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 15:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859948800001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859948800001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:29:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:29:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859948800001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":172169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:29:37] local.INFO: GPS data processed {"connection_id":172169,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:29:37] local.INFO: Acknowledgment sent {"connection_id":172169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:29:47] local.INFO: TCP Data received {"connection_id":171069,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:29:47] local.INFO: Processing buffer {"connection_id":171069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:29:47] local.INFO: IMEI packet received {"connection_id":171069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":171069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:29:48] local.INFO: TCP Data received {"connection_id":171069,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:29:48] local.INFO: Processing buffer {"connection_id":171069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:29:48] local.INFO: IMEI packet received {"connection_id":171069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":171069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:29:54] local.INFO: TCP Data received {"connection_id":171070,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:29:54] local.INFO: Processing buffer {"connection_id":171070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:29:54] local.INFO: IMEI packet received {"connection_id":171070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":171070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:29:54] local.INFO: TCP Data received {"connection_id":171069,"ip":"117.224.109.173","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-04 15:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171069,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-04 15:29:54] local.INFO: Processing buffer {"connection_id":171069,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-04 15:29:54] local.INFO: IMEI packet received {"connection_id":171069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":171069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:29:55] local.INFO: TCP Data received {"connection_id":171069,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdb99c8012d19a380071ff2080039005a2c..."} 
[2026-09-04 15:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdb99c8012d19a380071ff2080039005a2c..."} 
[2026-09-04 15:29:55] local.INFO: Processing buffer {"connection_id":171069,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a06b..."} 
[2026-09-04 15:29:55] local.INFO: IMEI packet received {"connection_id":171069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":171069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:29:56] local.INFO: TCP Data received {"connection_id":171069,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdb9db0012d19a500071ff1b8003800652c..."} 
[2026-09-04 15:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdb9db0012d19a500071ff1b8003800652c..."} 
[2026-09-04 15:29:56] local.INFO: Processing buffer {"connection_id":171069,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06bdb99c8012d19a380071ff2080039005a2c..."} 
[2026-09-04 15:29:56] local.INFO: Packet analysis {"connection_id":171069,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06bdb"} 
[2026-09-04 15:29:56] local.INFO: Extracted packet for processing {"connection_id":171069,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdb"} 
[2026-09-04 15:29:56] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119534088,"longitude_deg":75.6654976,"latitude_deg":11.9534088,"altitude":57,"angle":90,"satellites":44,"speed":14,"hex_longitude":"2d19a380","hex_latitude":"071ff208","is_valid_coordinates":true} 
[2026-09-04 15:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860081920001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17283700018380800,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846194402845820928,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788515949000,"timestamp_ms":1788515949000,"timestamp_seconds":1788515949,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdb99c8"} 
[2026-09-04 15:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 15:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860081920001,"66":13330,"121":206,"28":31744,"24":14,"16":17283700018380800,"45":1846194402845820928},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860081920001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:29:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:29:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17283700018380800,"km_value":17283700018380.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846194402845820928,"description":"Unknown IO ID 45"} 
[2026-09-04 15:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860081920001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1846194402845820928}} 
[2026-09-04 15:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":171069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:29:56] local.INFO: GPS data processed {"connection_id":171069,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:29:56] local.INFO: Acknowledgment sent {"connection_id":171069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:29:56] local.INFO: Packet analysis {"connection_id":171069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdb"} 
[2026-09-04 15:29:56] local.INFO: Extracted packet for processing {"connection_id":171069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdb"} 
[2026-09-04 15:29:56] local.INFO: GPS Element Parsed {"raw_longitude":756655360,"raw_latitude":119534008,"longitude_deg":75.665536,"latitude_deg":11.9534008,"altitude":56,"angle":101,"satellites":44,"speed":16,"hex_longitude":"2d19a500","hex_latitude":"071ff1b8","is_valid_coordinates":true} 
[2026-09-04 15:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860082944001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17283717198249984,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040241117184,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788515950000,"timestamp_ms":1788515950000,"timestamp_seconds":1788515950,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdb9db0"} 
[2026-09-04 15:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249742680575438208,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":169,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3677120513,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1400619243587687680,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2147950572,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531303,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":7,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-740840845490700281,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:56] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,103,160,138,45,240,57,44,10,66,75,192,61,42,67,64,1,169,107,31,4,113,205,11,40,124,224,43,239,54,2,7,59,12,218,231,84],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 15:29:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107382005187870720,"timestamp_seconds":4107382005187870.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 15:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860082944001,"66":13330,"121":206,"28":31744,"24":16,"16":17283717198249984,"45":1847461040241117184},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860082944001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:29:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:29:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17283717198249984,"km_value":17283717198249.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040241117184,"description":"Unknown IO ID 45"} 
[2026-09-04 15:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860082944001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1847461040241117184}} 
[2026-09-04 15:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":171069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:29:56] local.INFO: GPS data processed {"connection_id":171069,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:29:56] local.INFO: Acknowledgment sent {"connection_id":171069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:29:58] local.INFO: TCP Data received {"connection_id":171069,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdbb138012d19b080071fef60003600582c..."} 
[2026-09-04 15:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdbb138012d19b080071fef60003600582c..."} 
[2026-09-04 15:29:58] local.INFO: Processing buffer {"connection_id":171069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdbb138012d19b080071fef60003600582c..."} 
[2026-09-04 15:29:58] local.INFO: Packet analysis {"connection_id":171069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdb"} 
[2026-09-04 15:29:58] local.INFO: Extracted packet for processing {"connection_id":171069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdb"} 
[2026-09-04 15:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756658304,"raw_latitude":119533408,"longitude_deg":75.6658304,"latitude_deg":11.9533408,"altitude":54,"angle":88,"satellites":44,"speed":24,"hex_longitude":"2d19b080","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-09-04 15:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860083200001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17283863227138048,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252706162688,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788515955000,"timestamp_ms":1788515955000,"timestamp_seconds":1788515955,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdbb138"} 
[2026-09-04 15:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-04 15:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249748727889390736,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:58] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3678656513,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1420885429026804992,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-04 15:29:58] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2885733863,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:58] local.WARNING: Large IO value detected {"io_id":12,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:58] local.WARNING: Large IO value detected {"io_id":137,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:58] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2073908921616613383,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:58] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:58] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 15:29:58] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,103,160,153,45,128,242,57,44,10,66,138,240,75,192,1,55,107,31,4,113,205,13,125,88,43,239,50,2,61,7,60,12,137,219,231,84],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-04 15:29:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035336505777979392,"timestamp_seconds":4035336505777979.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 15:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860083200001,"66":14135,"121":206,"28":31744,"24":24,"16":17283863227138048,"45":1847883252706162688},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860083200001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:29:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:29:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17283863227138048,"km_value":17283863227138.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252706162688,"description":"Unknown IO ID 45"} 
[2026-09-04 15:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860083200001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1847883252706162688}} 
[2026-09-04 15:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":171069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:29:58] local.INFO: GPS data processed {"connection_id":171069,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:29:58] local.INFO: Acknowledgment sent {"connection_id":171069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:29:59] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:29:59] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:29:59] local.INFO: IMEI packet received {"connection_id":173476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":173476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:29:59] local.INFO: TCP Data received {"connection_id":171070,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:29:59] local.INFO: Processing buffer {"connection_id":171070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:29:59] local.INFO: IMEI packet received {"connection_id":171070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":171070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:30:00] local.INFO: TCP Data received {"connection_id":171070,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:30:00] local.INFO: Processing buffer {"connection_id":171070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:30:00] local.INFO: Packet analysis {"connection_id":171070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:30:00] local.INFO: Extracted packet for processing {"connection_id":171070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859975168001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788515829000,"timestamp_ms":1788515829000,"timestamp_seconds":1788515829,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd9c508"} 
[2026-09-04 15:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859975168001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859975168001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:30:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859975168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":171070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:30:00] local.INFO: GPS data processed {"connection_id":171070,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:30:00] local.INFO: Acknowledgment sent {"connection_id":171070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:30:04] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:30:04] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:30:04] local.INFO: IMEI packet received {"connection_id":173476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":173476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:30:05] local.INFO: TCP Data received {"connection_id":171070,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:30:05] local.INFO: Processing buffer {"connection_id":171070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:30:05] local.INFO: Packet analysis {"connection_id":171070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:30:05] local.INFO: Extracted packet for processing {"connection_id":171070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859975168001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788515829000,"timestamp_ms":1788515829000,"timestamp_seconds":1788515829,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd9c508"} 
[2026-09-04 15:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859975168001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859975168001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:30:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:30:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859975168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":171070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763253,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:30:05] local.INFO: GPS data processed {"connection_id":171070,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:30:05] local.INFO: Acknowledgment sent {"connection_id":171070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:30:06] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:30:06] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:30:06] local.INFO: Packet analysis {"connection_id":173476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:30:06] local.INFO: Extracted packet for processing {"connection_id":173476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:30:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859948800001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788515726000,"timestamp_ms":1788515726000,"timestamp_seconds":1788515726,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd832b0"} 
[2026-09-04 15:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 15:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859948800001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859948800001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:30:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:30:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859948800001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":173476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:30:06] local.INFO: GPS data processed {"connection_id":173476,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:30:06] local.INFO: Acknowledgment sent {"connection_id":173476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:30:29] local.INFO: TCP Data received {"connection_id":171069,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdc2e38012d19dd4007200a40003001442a..."} 
[2026-09-04 15:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdc2e38012d19dd4007200a40003001442a..."} 
[2026-09-04 15:30:29] local.INFO: Processing buffer {"connection_id":171069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdc2e38012d19dd4007200a40003001442a..."} 
[2026-09-04 15:30:29] local.INFO: Packet analysis {"connection_id":171069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:30:29] local.INFO: Extracted packet for processing {"connection_id":171069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756669760,"raw_latitude":119540288,"longitude_deg":75.666976,"latitude_deg":11.9540288,"altitude":48,"angle":324,"satellites":42,"speed":8,"hex_longitude":"2d19dd40","hex_latitude":"07200a40","is_valid_coordinates":true} 
[2026-09-04 15:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860092416001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17284559011840000,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863786588891877376,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788515987000,"timestamp_ms":1788515987000,"timestamp_seconds":1788515987,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdc2e38"} 
[2026-09-04 15:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 15:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860092416001,"66":14157,"121":206,"28":31744,"24":8,"16":17284559011840000,"45":1863786588891877376},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860092416001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:30:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:30:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17284559011840000,"km_value":17284559011840,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863786588891877376,"description":"Unknown IO ID 45"} 
[2026-09-04 15:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860092416001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1863786588891877376}} 
[2026-09-04 15:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":171069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:30:29] local.INFO: GPS data processed {"connection_id":171069,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:30:29] local.INFO: Acknowledgment sent {"connection_id":171069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:30:48] local.INFO: TCP Data received {"connection_id":173478,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:30:48] local.INFO: Processing buffer {"connection_id":173478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:30:48] local.INFO: IMEI packet received {"connection_id":173478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":173478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:30:49] local.INFO: TCP Data received {"connection_id":173477,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:30:49] local.INFO: Processing buffer {"connection_id":173477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:30:49] local.INFO: IMEI packet received {"connection_id":173477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":173477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:30:53] local.INFO: TCP Data received {"connection_id":173478,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:30:53] local.INFO: Processing buffer {"connection_id":173478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:30:53] local.INFO: IMEI packet received {"connection_id":173478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":173478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:30:54] local.INFO: TCP Data received {"connection_id":173479,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:30:54] local.INFO: Processing buffer {"connection_id":173479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:30:54] local.INFO: IMEI packet received {"connection_id":173479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":173479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:30:54] local.INFO: TCP Data received {"connection_id":173477,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:30:54] local.INFO: Processing buffer {"connection_id":173477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:30:54] local.INFO: IMEI packet received {"connection_id":173477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":173477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:30:55] local.INFO: TCP Data received {"connection_id":173477,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:30:55] local.INFO: Processing buffer {"connection_id":173477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:30:55] local.INFO: Packet analysis {"connection_id":173477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:30:55] local.INFO: Extracted packet for processing {"connection_id":173477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:30:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859975168001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515829000,"timestamp_ms":1788515829000,"timestamp_seconds":1788515829,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd9c508"} 
[2026-09-04 15:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859975168001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859975168001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:30:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:30:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859975168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":173477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:30:55] local.INFO: GPS data processed {"connection_id":173477,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:30:55] local.INFO: Acknowledgment sent {"connection_id":173477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:30:55] local.INFO: TCP Data received {"connection_id":173478,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdc3220012d19dcc007200ad8003001362a..."} 
[2026-09-04 15:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdc3220012d19dcc007200ad8003001362a..."} 
[2026-09-04 15:30:55] local.INFO: Processing buffer {"connection_id":173478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdc3220012d19dcc007200ad8003001362a..."} 
[2026-09-04 15:30:55] local.INFO: Packet analysis {"connection_id":173478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:30:55] local.INFO: Extracted packet for processing {"connection_id":173478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756669632,"raw_latitude":119540440,"longitude_deg":75.6669632,"latitude_deg":11.954044,"altitude":48,"angle":310,"satellites":42,"speed":10,"hex_longitude":"2d19dcc0","hex_latitude":"07200ad8","is_valid_coordinates":true} 
[2026-09-04 15:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860092672001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17284571896741888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863716220147744768,"note":"Value kept but may cause issues"} 
[2026-09-04 15:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515988000,"timestamp_ms":1788515988000,"timestamp_seconds":1788515988,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdc3220"} 
[2026-09-04 15:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 15:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860092672001,"66":14157,"121":206,"28":31744,"24":10,"16":17284571896741888,"45":1863716220147744768},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860092672001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:30:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:30:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17284571896741888,"km_value":17284571896741.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863716220147744768,"description":"Unknown IO ID 45"} 
[2026-09-04 15:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860092672001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1863716220147744768}} 
[2026-09-04 15:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":173478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:30:55] local.INFO: GPS data processed {"connection_id":173478,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:30:55] local.INFO: Acknowledgment sent {"connection_id":173478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:30:59] local.INFO: TCP Data received {"connection_id":173479,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:30:59] local.INFO: Processing buffer {"connection_id":173479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:30:59] local.INFO: IMEI packet received {"connection_id":173479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":173479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:31:01] local.INFO: TCP Data received {"connection_id":173479,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:31:01] local.INFO: Processing buffer {"connection_id":173479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd832b0012cb2a48007751650001f00292a..."} 
[2026-09-04 15:31:01] local.INFO: Packet analysis {"connection_id":173479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:31:01] local.INFO: Extracted packet for processing {"connection_id":173479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd8"} 
[2026-09-04 15:31:01] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859948800001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788515726000,"timestamp_ms":1788515726000,"timestamp_seconds":1788515726,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd832b0"} 
[2026-09-04 15:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 15:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859948800001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859948800001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:31:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859948800001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":173479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:31:01] local.INFO: GPS data processed {"connection_id":173479,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:31:01] local.INFO: Acknowledgment sent {"connection_id":173479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:31:27] local.INFO: TCP Data received {"connection_id":173477,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:31:27] local.INFO: Processing buffer {"connection_id":173477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:31:27] local.INFO: Packet analysis {"connection_id":173477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:31:27] local.INFO: Extracted packet for processing {"connection_id":173477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:31:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859975168001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788515829000,"timestamp_ms":1788515829000,"timestamp_seconds":1788515829,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd9c508"} 
[2026-09-04 15:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859975168001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859975168001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:31:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:31:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859975168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":173477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:31:27] local.INFO: GPS data processed {"connection_id":173477,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:31:27] local.INFO: Acknowledgment sent {"connection_id":173477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:31:28] local.INFO: TCP Data received {"connection_id":173478,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdc3608012d19dbc007200b60003001262b..."} 
[2026-09-04 15:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdc3608012d19dbc007200b60003001262b..."} 
[2026-09-04 15:31:28] local.INFO: Processing buffer {"connection_id":173478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdc3608012d19dbc007200b60003001262b..."} 
[2026-09-04 15:31:28] local.INFO: Packet analysis {"connection_id":173478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:31:28] local.INFO: Extracted packet for processing {"connection_id":173478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756669376,"raw_latitude":119540576,"longitude_deg":75.6669376,"latitude_deg":11.9540576,"altitude":48,"angle":294,"satellites":43,"speed":12,"hex_longitude":"2d19dbc0","hex_latitude":"07200b60","is_valid_coordinates":true} 
[2026-09-04 15:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860092928001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17284584781643776,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863575482659428352,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788515989000,"timestamp_ms":1788515989000,"timestamp_seconds":1788515989,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdc3608"} 
[2026-09-04 15:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 15:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860092928001,"66":14102,"121":206,"28":31744,"24":12,"16":17284584781643776,"45":1863575482659428352},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860092928001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:31:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:31:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17284584781643776,"km_value":17284584781643.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863575482659428352,"description":"Unknown IO ID 45"} 
[2026-09-04 15:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860092928001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1863575482659428352}} 
[2026-09-04 15:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":173478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:31:28] local.INFO: GPS data processed {"connection_id":173478,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:31:28] local.INFO: Acknowledgment sent {"connection_id":173478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:31:32] local.INFO: TCP Data received {"connection_id":173479,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:31:32] local.INFO: Processing buffer {"connection_id":173479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:31:32] local.INFO: Packet analysis {"connection_id":173479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:31:32] local.INFO: Extracted packet for processing {"connection_id":173479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:31:32] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860025856001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788516027000,"timestamp_ms":1788516027000,"timestamp_seconds":1788516027,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdcca78"} 
[2026-09-04 15:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 15:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860025856001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860025856001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:31:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:31:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860025856001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":173479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:31:32] local.INFO: GPS data processed {"connection_id":173479,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:31:32] local.INFO: Acknowledgment sent {"connection_id":173479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:31:48] local.INFO: TCP Data received {"connection_id":171071,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:31:48] local.INFO: Processing buffer {"connection_id":171071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:31:48] local.INFO: IMEI packet received {"connection_id":171071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":171071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:31:48] local.INFO: TCP Data received {"connection_id":171071,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:31:48] local.INFO: Processing buffer {"connection_id":171071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:31:48] local.INFO: IMEI packet received {"connection_id":171071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":171071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:31:48] local.INFO: TCP Data received {"connection_id":172170,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:31:48] local.INFO: Processing buffer {"connection_id":172170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:31:48] local.INFO: IMEI packet received {"connection_id":172170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":172170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:31:53] local.INFO: TCP Data received {"connection_id":171071,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:31:53] local.INFO: Processing buffer {"connection_id":171071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:31:53] local.INFO: IMEI packet received {"connection_id":171071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":171071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:31:54] local.INFO: TCP Data received {"connection_id":172170,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:31:54] local.INFO: Processing buffer {"connection_id":172170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:31:54] local.INFO: IMEI packet received {"connection_id":172170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":172170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:31:55] local.INFO: TCP Data received {"connection_id":171071,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdc5160012d19d3c007200ff0003101322b..."} 
[2026-09-04 15:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdc5160012d19d3c007200ff0003101322b..."} 
[2026-09-04 15:31:55] local.INFO: Processing buffer {"connection_id":171071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdc5160012d19d3c007200ff0003101322b..."} 
[2026-09-04 15:31:55] local.INFO: Packet analysis {"connection_id":171071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:31:55] local.INFO: Extracted packet for processing {"connection_id":171071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756667328,"raw_latitude":119541744,"longitude_deg":75.6667328,"latitude_deg":11.9541744,"altitude":49,"angle":306,"satellites":43,"speed":16,"hex_longitude":"2d19d3c0","hex_latitude":"07200ff0","is_valid_coordinates":true} 
[2026-09-04 15:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860093184001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17284696450793472,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863294007682752512,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515996000,"timestamp_ms":1788515996000,"timestamp_seconds":1788515996,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdc5160"} 
[2026-09-04 15:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 15:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860093184001,"66":13656,"121":206,"28":31744,"24":16,"16":17284696450793472,"45":1863294007682752512},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860093184001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:31:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17284696450793472,"km_value":17284696450793.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863294007682752512,"description":"Unknown IO ID 45"} 
[2026-09-04 15:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860093184001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1863294007682752512}} 
[2026-09-04 15:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":171071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:31:55] local.INFO: GPS data processed {"connection_id":171071,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:31:55] local.INFO: Acknowledgment sent {"connection_id":171071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:31:55] local.INFO: TCP Data received {"connection_id":172170,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:31:55] local.INFO: Processing buffer {"connection_id":172170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:31:55] local.INFO: Packet analysis {"connection_id":172170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:31:55] local.INFO: Extracted packet for processing {"connection_id":172170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:31:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859975168001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788515829000,"timestamp_ms":1788515829000,"timestamp_seconds":1788515829,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd9c508"} 
[2026-09-04 15:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172170,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172170,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859975168001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859975168001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:31:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859975168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":172170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:31:55] local.INFO: GPS data processed {"connection_id":172170,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:31:55] local.INFO: Acknowledgment sent {"connection_id":172170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:31:59] local.INFO: TCP Data received {"connection_id":171072,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:31:59] local.INFO: Processing buffer {"connection_id":171072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:31:59] local.INFO: IMEI packet received {"connection_id":171072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":171072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:32:04] local.INFO: TCP Data received {"connection_id":171072,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:32:04] local.INFO: Processing buffer {"connection_id":171072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:32:04] local.INFO: IMEI packet received {"connection_id":171072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":171072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:32:06] local.INFO: TCP Data received {"connection_id":171072,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:32:06] local.INFO: Processing buffer {"connection_id":171072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:32:06] local.INFO: Packet analysis {"connection_id":171072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:32:06] local.INFO: Extracted packet for processing {"connection_id":171072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:32:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860025856001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788516027000,"timestamp_ms":1788516027000,"timestamp_seconds":1788516027,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdcca78"} 
[2026-09-04 15:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 15:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860025856001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860025856001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:32:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:32:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860025856001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":171072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:32:06] local.INFO: GPS data processed {"connection_id":171072,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:32:06] local.INFO: Acknowledgment sent {"connection_id":171072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:32:26] local.INFO: TCP Data received {"connection_id":171071,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bddad08012d19a9800720b0880036011b23..."} 
[2026-09-04 15:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bddad08012d19a9800720b0880036011b23..."} 
[2026-09-04 15:32:26] local.INFO: Processing buffer {"connection_id":171071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bddad08012d19a9800720b0880036011b23..."} 
[2026-09-04 15:32:26] local.INFO: Packet analysis {"connection_id":171071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdd"} 
[2026-09-04 15:32:26] local.INFO: Extracted packet for processing {"connection_id":171071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdd"} 
[2026-09-04 15:32:26] local.INFO: GPS Element Parsed {"raw_longitude":756656512,"raw_latitude":119582856,"longitude_deg":75.6656512,"latitude_deg":11.9582856,"altitude":54,"angle":283,"satellites":35,"speed":23,"hex_longitude":"2d19a980","hex_latitude":"0720b088","is_valid_coordinates":true} 
[2026-09-04 15:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860116480001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17286972783460352,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852246114857447424,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788516085000,"timestamp_ms":1788516085000,"timestamp_seconds":1788516085,"priority":1,"record_length":96,"hex_timestamp":"000001a06bddad08"} 
[2026-09-04 15:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 15:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860116480001,"66":13928,"121":206,"28":31744,"24":23,"16":17286972783460352,"45":1852246114857447424},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860116480001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:32:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:32:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17286972783460352,"km_value":17286972783460.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852246114857447424,"description":"Unknown IO ID 45"} 
[2026-09-04 15:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860116480001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1852246114857447424}} 
[2026-09-04 15:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":171071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:32:26] local.INFO: GPS data processed {"connection_id":171071,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:32:26] local.INFO: Acknowledgment sent {"connection_id":171071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:32:27] local.INFO: TCP Data received {"connection_id":172170,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:32:27] local.INFO: Processing buffer {"connection_id":172170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bd9c508012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:32:27] local.INFO: Packet analysis {"connection_id":172170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:32:27] local.INFO: Extracted packet for processing {"connection_id":172170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bd9"} 
[2026-09-04 15:32:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457859975168001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788515829000,"timestamp_ms":1788515829000,"timestamp_seconds":1788515829,"priority":1,"record_length":96,"hex_timestamp":"000001a06bd9c508"} 
[2026-09-04 15:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172170,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172170,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457859975168001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457859975168001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:32:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:32:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457859975168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":172170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763266,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:32:27] local.INFO: GPS data processed {"connection_id":172170,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:32:27] local.INFO: Acknowledgment sent {"connection_id":172170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:32:40] local.INFO: TCP Data received {"connection_id":171072,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:32:40] local.INFO: Processing buffer {"connection_id":171072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:32:40] local.INFO: Packet analysis {"connection_id":171072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:32:40] local.INFO: Extracted packet for processing {"connection_id":171072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:32:40] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860025856001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788516027000,"timestamp_ms":1788516027000,"timestamp_seconds":1788516027,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdcca78"} 
[2026-09-04 15:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 15:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860025856001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860025856001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:32:40] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:32:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860025856001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":171072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:32:40] local.INFO: GPS data processed {"connection_id":171072,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:32:40] local.INFO: Acknowledgment sent {"connection_id":171072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:32:48] local.INFO: TCP Data received {"connection_id":173480,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:32:48] local.INFO: Processing buffer {"connection_id":173480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:32:48] local.INFO: IMEI packet received {"connection_id":173480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":173480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:32:48] local.INFO: TCP Data received {"connection_id":173480,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:32:48] local.INFO: Processing buffer {"connection_id":173480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:32:48] local.INFO: IMEI packet received {"connection_id":173480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":173480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:32:53] local.INFO: TCP Data received {"connection_id":170770,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:32:53] local.INFO: Processing buffer {"connection_id":170770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:32:53] local.INFO: IMEI packet received {"connection_id":170770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":170770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:32:54] local.INFO: TCP Data received {"connection_id":173480,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:32:54] local.INFO: Processing buffer {"connection_id":173480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:32:54] local.INFO: IMEI packet received {"connection_id":173480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":173480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:32:55] local.INFO: TCP Data received {"connection_id":173480,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:32:55] local.INFO: Processing buffer {"connection_id":173480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:32:55] local.INFO: Packet analysis {"connection_id":173480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:32:55] local.INFO: Extracted packet for processing {"connection_id":173480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:32:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860052224001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788516130000,"timestamp_ms":1788516130000,"timestamp_seconds":1788516130,"priority":1,"record_length":96,"hex_timestamp":"000001a06bde5cd0"} 
[2026-09-04 15:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860052224001,"66":24680,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860052224001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:32:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860052224001,"power":24680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":173480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763268,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:32:55] local.INFO: GPS data processed {"connection_id":173480,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:32:55] local.INFO: Acknowledgment sent {"connection_id":173480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:32:58] local.INFO: TCP Data received {"connection_id":170770,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:32:58] local.INFO: Processing buffer {"connection_id":170770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:32:58] local.INFO: IMEI packet received {"connection_id":170770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":170770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:32:59] local.INFO: TCP Data received {"connection_id":172171,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:32:59] local.INFO: Processing buffer {"connection_id":172171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:32:59] local.INFO: IMEI packet received {"connection_id":172171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":172171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:32:59] local.INFO: TCP Data received {"connection_id":170770,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bddd418012d198f400720b2f00039010f27..."} 
[2026-09-04 15:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bddd418012d198f400720b2f00039010f27..."} 
[2026-09-04 15:32:59] local.INFO: Processing buffer {"connection_id":170770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bddd418012d198f400720b2f00039010f27..."} 
[2026-09-04 15:32:59] local.INFO: Packet analysis {"connection_id":170770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdd"} 
[2026-09-04 15:32:59] local.INFO: Extracted packet for processing {"connection_id":170770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdd"} 
[2026-09-04 15:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756649792,"raw_latitude":119583472,"longitude_deg":75.6649792,"latitude_deg":11.9583472,"altitude":57,"angle":271,"satellites":39,"speed":25,"hex_longitude":"2d198f40","hex_latitude":"0720b2f0","is_valid_coordinates":true} 
[2026-09-04 15:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860117760001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17287294906007552,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849149890113865728,"note":"Value kept but may cause issues"} 
[2026-09-04 15:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788516095000,"timestamp_ms":1788516095000,"timestamp_seconds":1788516095,"priority":1,"record_length":96,"hex_timestamp":"000001a06bddd418"} 
[2026-09-04 15:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 15:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860117760001,"66":14233,"121":206,"28":31744,"24":25,"16":17287294906007552,"45":1849149890113865728},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860117760001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:32:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17287294906007552,"km_value":17287294906007.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849149890113865728,"description":"Unknown IO ID 45"} 
[2026-09-04 15:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860117760001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1849149890113865728}} 
[2026-09-04 15:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":170770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:32:59] local.INFO: GPS data processed {"connection_id":170770,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:32:59] local.INFO: Acknowledgment sent {"connection_id":170770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:33:00] local.INFO: TCP Data received {"connection_id":170770,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdde3b8012d1984800720b2100038010228..."} 
[2026-09-04 15:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdde3b8012d1984800720b2100038010228..."} 
[2026-09-04 15:33:00] local.INFO: Processing buffer {"connection_id":170770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdde3b8012d1984800720b2100038010228..."} 
[2026-09-04 15:33:00] local.INFO: Packet analysis {"connection_id":170770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdd"} 
[2026-09-04 15:33:00] local.INFO: Extracted packet for processing {"connection_id":170770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdd"} 
[2026-09-04 15:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756647040,"raw_latitude":119583248,"longitude_deg":75.664704,"latitude_deg":11.9583248,"altitude":56,"angle":258,"satellites":40,"speed":27,"hex_longitude":"2d198480","hex_latitude":"0720b210","is_valid_coordinates":true} 
[2026-09-04 15:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860120320001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17287423755026432,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841761171975368704,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788516099000,"timestamp_ms":1788516099000,"timestamp_seconds":1788516099,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdde3b8"} 
[2026-09-04 15:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 15:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860120320001,"66":13939,"121":206,"28":31744,"24":27,"16":17287423755026432,"45":1841761171975368704},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860120320001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:33:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17287423755026432,"km_value":17287423755026.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841761171975368704,"description":"Unknown IO ID 45"} 
[2026-09-04 15:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860120320001,"power":13939,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1841761171975368704}} 
[2026-09-04 15:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":170770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:33:01] local.INFO: GPS data processed {"connection_id":170770,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:33:01] local.INFO: Acknowledgment sent {"connection_id":170770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:33:04] local.INFO: TCP Data received {"connection_id":172171,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:33:04] local.INFO: Processing buffer {"connection_id":172171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:33:04] local.INFO: IMEI packet received {"connection_id":172171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":172171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:33:05] local.INFO: TCP Data received {"connection_id":172171,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:33:05] local.INFO: Processing buffer {"connection_id":172171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:33:05] local.INFO: Packet analysis {"connection_id":172171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:33:05] local.INFO: Extracted packet for processing {"connection_id":172171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:33:05] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860025856001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788516027000,"timestamp_ms":1788516027000,"timestamp_seconds":1788516027,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdcca78"} 
[2026-09-04 15:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 15:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860025856001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860025856001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:33:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:33:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:33:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860025856001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":172171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:33:05] local.INFO: GPS data processed {"connection_id":172171,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:33:05] local.INFO: Acknowledgment sent {"connection_id":172171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:33:27] local.INFO: TCP Data received {"connection_id":173480,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:33:27] local.INFO: Processing buffer {"connection_id":173480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:33:27] local.INFO: Packet analysis {"connection_id":173480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:33:27] local.INFO: Extracted packet for processing {"connection_id":173480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:33:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860052224001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788516130000,"timestamp_ms":1788516130000,"timestamp_seconds":1788516130,"priority":1,"record_length":96,"hex_timestamp":"000001a06bde5cd0"} 
[2026-09-04 15:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860052224001,"66":24680,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860052224001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:33:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:33:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860052224001,"power":24680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":173480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763272,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:33:27] local.INFO: GPS data processed {"connection_id":173480,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:33:27] local.INFO: Acknowledgment sent {"connection_id":173480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:33:32] local.INFO: TCP Data received {"connection_id":170770,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bde1298012d195f800720aaa00033010928..."} 
[2026-09-04 15:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bde1298012d195f800720aaa00033010928..."} 
[2026-09-04 15:33:32] local.INFO: Processing buffer {"connection_id":170770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bde1298012d195f800720aaa00033010928..."} 
[2026-09-04 15:33:32] local.INFO: Packet analysis {"connection_id":170770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:33:32] local.INFO: Extracted packet for processing {"connection_id":170770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756637568,"raw_latitude":119581344,"longitude_deg":75.6637568,"latitude_deg":11.9581344,"altitude":51,"angle":265,"satellites":40,"speed":32,"hex_longitude":"2d195f80","hex_latitude":"0720aaa0","is_valid_coordinates":true} 
[2026-09-04 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860121344001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17287883316527104,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838735315975671808,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788516111000,"timestamp_ms":1788516111000,"timestamp_seconds":1788516111,"priority":1,"record_length":96,"hex_timestamp":"000001a06bde1298"} 
[2026-09-04 15:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-04 15:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860121344001,"66":14211,"121":206,"28":31744,"24":32,"16":17287883316527104,"45":1838735315975671808},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860121344001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:33:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17287883316527104,"km_value":17287883316527.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838735315975671808,"description":"Unknown IO ID 45"} 
[2026-09-04 15:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860121344001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1838735315975671808}} 
[2026-09-04 15:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":170770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:33:32] local.INFO: GPS data processed {"connection_id":170770,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:33:32] local.INFO: Acknowledgment sent {"connection_id":170770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:33:36] local.INFO: TCP Data received {"connection_id":172171,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:33:36] local.INFO: Processing buffer {"connection_id":172171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:33:36] local.INFO: Packet analysis {"connection_id":172171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:33:36] local.INFO: Extracted packet for processing {"connection_id":172171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:33:36] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860025856001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788516027000,"timestamp_ms":1788516027000,"timestamp_seconds":1788516027,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdcca78"} 
[2026-09-04 15:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 15:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860025856001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860025856001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:33:36] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:33:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860025856001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":172171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:33:36] local.INFO: GPS data processed {"connection_id":172171,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:33:36] local.INFO: Acknowledgment sent {"connection_id":172171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:33:47] local.INFO: TCP Data received {"connection_id":170771,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:33:47] local.INFO: Processing buffer {"connection_id":170771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:33:47] local.INFO: IMEI packet received {"connection_id":170771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":170771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:33:48] local.INFO: TCP Data received {"connection_id":170771,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:33:48] local.INFO: Processing buffer {"connection_id":170771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:33:48] local.INFO: IMEI packet received {"connection_id":170771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":170771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:33:49] local.INFO: TCP Data received {"connection_id":170771,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:33:49] local.INFO: Processing buffer {"connection_id":170771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:33:49] local.INFO: IMEI packet received {"connection_id":170771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":170771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:33:49] local.INFO: TCP Data received {"connection_id":173481,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:33:49] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:33:49] local.INFO: IMEI packet received {"connection_id":173481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":173481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:33:53] local.INFO: TCP Data received {"connection_id":170771,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:33:53] local.INFO: Processing buffer {"connection_id":170771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:33:53] local.INFO: IMEI packet received {"connection_id":170771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":170771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:33:54] local.INFO: TCP Data received {"connection_id":170771,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdef910012d18d1c007211338003d000027..."} 
[2026-09-04 15:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdef910012d18d1c007211338003d000027..."} 
[2026-09-04 15:33:54] local.INFO: Processing buffer {"connection_id":170771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdef910012d18d1c007211338003d000027..."} 
[2026-09-04 15:33:54] local.INFO: Packet analysis {"connection_id":170771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:33:54] local.INFO: Extracted packet for processing {"connection_id":170771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:33:54] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119608120,"longitude_deg":75.660128,"latitude_deg":11.960812,"altitude":61,"angle":0,"satellites":39,"speed":27,"hex_longitude":"2d18d1c0","hex_latitude":"07211338","is_valid_coordinates":true} 
[2026-09-04 15:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860138240001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17290194008932352,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982591727616,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788516170000,"timestamp_ms":1788516170000,"timestamp_seconds":1788516170,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdef910"} 
[2026-09-04 15:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 15:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860138240001,"66":14233,"121":206,"28":31744,"24":27,"16":17290194008932352,"45":1789054982591727616},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860138240001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:33:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:33:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17290194008932352,"km_value":17290194008932.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982591727616,"description":"Unknown IO ID 45"} 
[2026-09-04 15:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860138240001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1789054982591727616}} 
[2026-09-04 15:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":170771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:33:54] local.INFO: GPS data processed {"connection_id":170771,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:33:54] local.INFO: Acknowledgment sent {"connection_id":170771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:33:54] local.INFO: TCP Data received {"connection_id":173481,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:33:54] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:33:54] local.INFO: IMEI packet received {"connection_id":173481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":173481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:33:55] local.INFO: TCP Data received {"connection_id":173481,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:33:55] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:33:55] local.INFO: Packet analysis {"connection_id":173481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:33:55] local.INFO: Extracted packet for processing {"connection_id":173481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:33:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860052224001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788516130000,"timestamp_ms":1788516130000,"timestamp_seconds":1788516130,"priority":1,"record_length":96,"hex_timestamp":"000001a06bde5cd0"} 
[2026-09-04 15:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860052224001,"66":24680,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860052224001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:33:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860052224001,"power":24680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":173481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:33:55] local.INFO: GPS data processed {"connection_id":173481,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:33:55] local.INFO: Acknowledgment sent {"connection_id":173481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:34:00] local.INFO: TCP Data received {"connection_id":171073,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:34:00] local.INFO: Processing buffer {"connection_id":171073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:34:00] local.INFO: IMEI packet received {"connection_id":171073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":171073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:34:04] local.INFO: TCP Data received {"connection_id":171073,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:34:04] local.INFO: Processing buffer {"connection_id":171073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:34:04] local.INFO: IMEI packet received {"connection_id":171073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":171073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:34:06] local.INFO: TCP Data received {"connection_id":171073,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:34:06] local.INFO: Processing buffer {"connection_id":171073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdcca78012cb2a48007751650001f00292b..."} 
[2026-09-04 15:34:06] local.INFO: Packet analysis {"connection_id":171073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:34:06] local.INFO: Extracted packet for processing {"connection_id":171073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdc"} 
[2026-09-04 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860025856001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788516027000,"timestamp_ms":1788516027000,"timestamp_seconds":1788516027,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdcca78"} 
[2026-09-04 15:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 15:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860025856001,"66":25832,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860025856001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:34:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:34:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860025856001,"power":25832,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":171073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:34:06] local.INFO: GPS data processed {"connection_id":171073,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:34:06] local.INFO: Acknowledgment sent {"connection_id":171073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:34:26] local.INFO: TCP Data received {"connection_id":170771,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdf9550012d1890c007217c30004b012b24..."} 
[2026-09-04 15:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdf9550012d1890c007217c30004b012b24..."} 
[2026-09-04 15:34:26] local.INFO: Processing buffer {"connection_id":170771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdf9550012d1890c007217c30004b012b24..."} 
[2026-09-04 15:34:26] local.INFO: Packet analysis {"connection_id":170771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdf"} 
[2026-09-04 15:34:26] local.INFO: Extracted packet for processing {"connection_id":170771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdf"} 
[2026-09-04 15:34:26] local.INFO: GPS Element Parsed {"raw_longitude":756584640,"raw_latitude":119634992,"longitude_deg":75.658464,"latitude_deg":11.9634992,"altitude":75,"angle":299,"satellites":36,"speed":27,"hex_longitude":"2d1890c0","hex_latitude":"07217c30","is_valid_coordinates":true} 
[2026-09-04 15:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860148224001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17291847571341312,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774840496275161088,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788516210000,"timestamp_ms":1788516210000,"timestamp_seconds":1788516210,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdf9550"} 
[2026-09-04 15:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 15:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860148224001,"66":14374,"121":206,"28":31744,"24":27,"16":17291847571341312,"45":1774840496275161088},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860148224001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:34:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:34:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17291847571341312,"km_value":17291847571341.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774840496275161088,"description":"Unknown IO ID 45"} 
[2026-09-04 15:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860148224001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1774840496275161088}} 
[2026-09-04 15:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":170771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:34:26] local.INFO: GPS data processed {"connection_id":170771,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:34:26] local.INFO: Acknowledgment sent {"connection_id":170771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:34:27] local.INFO: TCP Data received {"connection_id":173481,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:34:27] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:34:27] local.INFO: Packet analysis {"connection_id":173481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:34:27] local.INFO: Extracted packet for processing {"connection_id":173481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:34:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860052224001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788516130000,"timestamp_ms":1788516130000,"timestamp_seconds":1788516130,"priority":1,"record_length":96,"hex_timestamp":"000001a06bde5cd0"} 
[2026-09-04 15:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860052224001,"66":24680,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860052224001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:34:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860052224001,"power":24680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":173481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763279,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:34:27] local.INFO: GPS data processed {"connection_id":173481,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:34:27] local.INFO: Acknowledgment sent {"connection_id":173481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:34:37] local.INFO: TCP Data received {"connection_id":171073,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdfa8d8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdfa8d8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:34:37] local.INFO: Processing buffer {"connection_id":171073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdfa8d8012cb2a48007751650001f00292b..."} 
[2026-09-04 15:34:37] local.INFO: Packet analysis {"connection_id":171073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdf"} 
[2026-09-04 15:34:37] local.INFO: Extracted packet for processing {"connection_id":171073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdf"} 
[2026-09-04 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113936,"longitude_deg":74.9905024,"latitude_deg":12.5113936,"altitude":31,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-09-04 15:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860102912001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788516215000,"timestamp_ms":1788516215000,"timestamp_seconds":1788516215,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdfa8d8"} 
[2026-09-04 15:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 15:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860102912001,"66":25843,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860102912001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:34:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:34:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:34:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860102912001,"power":25843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":171073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:34:37] local.INFO: GPS data processed {"connection_id":171073,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:34:37] local.INFO: Acknowledgment sent {"connection_id":171073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:34:48] local.INFO: TCP Data received {"connection_id":170772,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:34:48] local.INFO: Processing buffer {"connection_id":170772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:34:48] local.INFO: IMEI packet received {"connection_id":170772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":170772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:34:49] local.INFO: TCP Data received {"connection_id":170773,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:34:49] local.INFO: Processing buffer {"connection_id":170773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:34:49] local.INFO: IMEI packet received {"connection_id":170773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":170773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:34:50] local.INFO: TCP Data received {"connection_id":170772,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:34:50] local.INFO: Processing buffer {"connection_id":170772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:34:50] local.INFO: IMEI packet received {"connection_id":170772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":170772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:34:54] local.INFO: TCP Data received {"connection_id":170772,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:34:54] local.INFO: Processing buffer {"connection_id":170772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:34:54] local.INFO: IMEI packet received {"connection_id":170772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":170772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:34:54] local.INFO: TCP Data received {"connection_id":170773,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:34:54] local.INFO: Processing buffer {"connection_id":170773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:34:54] local.INFO: IMEI packet received {"connection_id":170773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":170773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:34:55] local.INFO: TCP Data received {"connection_id":170772,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdfa8d8012d18874007218048004d011e25..."} 
[2026-09-04 15:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdfa8d8012d18874007218048004d011e25..."} 
[2026-09-04 15:34:55] local.INFO: Processing buffer {"connection_id":170772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdfa8d8012d18874007218048004d011e25..."} 
[2026-09-04 15:34:55] local.INFO: Packet analysis {"connection_id":170772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdf"} 
[2026-09-04 15:34:55] local.INFO: Extracted packet for processing {"connection_id":170772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdf"} 
[2026-09-04 15:34:55] local.INFO: GPS Element Parsed {"raw_longitude":756582208,"raw_latitude":119636040,"longitude_deg":75.6582208,"latitude_deg":11.963604,"altitude":77,"angle":286,"satellites":37,"speed":16,"hex_longitude":"2d188740","hex_latitude":"07218048","is_valid_coordinates":true} 
[2026-09-04 15:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860149760001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17291976420360192,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770125790415695872,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788516215000,"timestamp_ms":1788516215000,"timestamp_seconds":1788516215,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdfa8d8"} 
[2026-09-04 15:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-04 15:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860149760001,"66":14102,"121":206,"28":31744,"24":16,"16":17291976420360192,"45":1770125790415695872},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860149760001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:34:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17291976420360192,"km_value":17291976420360.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770125790415695872,"description":"Unknown IO ID 45"} 
[2026-09-04 15:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860149760001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1770125790415695872}} 
[2026-09-04 15:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":170772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:34:55] local.INFO: GPS data processed {"connection_id":170772,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:34:55] local.INFO: Acknowledgment sent {"connection_id":170772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:34:55] local.INFO: TCP Data received {"connection_id":170773,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:34:55] local.INFO: Processing buffer {"connection_id":170773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:34:55] local.INFO: Packet analysis {"connection_id":170773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:34:55] local.INFO: Extracted packet for processing {"connection_id":170773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:34:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860052224001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788516130000,"timestamp_ms":1788516130000,"timestamp_seconds":1788516130,"priority":1,"record_length":96,"hex_timestamp":"000001a06bde5cd0"} 
[2026-09-04 15:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860052224001,"66":24680,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860052224001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:34:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860052224001,"power":24680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":170773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763282,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:34:55] local.INFO: GPS data processed {"connection_id":170773,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:34:55] local.INFO: Acknowledgment sent {"connection_id":170773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:34:59] local.INFO: TCP Data received {"connection_id":171074,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:34:59] local.INFO: Processing buffer {"connection_id":171074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:34:59] local.INFO: IMEI packet received {"connection_id":171074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":171074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:35:04] local.INFO: TCP Data received {"connection_id":171074,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:35:04] local.INFO: Processing buffer {"connection_id":171074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:35:04] local.INFO: IMEI packet received {"connection_id":171074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":171074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:35:06] local.INFO: TCP Data received {"connection_id":171074,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdffec8012cb2a60007751840001f00292a..."} 
[2026-09-04 15:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdffec8012cb2a60007751840001f00292a..."} 
[2026-09-04 15:35:06] local.INFO: Processing buffer {"connection_id":171074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdffec8012cb2a60007751840001f00292a..."} 
[2026-09-04 15:35:06] local.INFO: Packet analysis {"connection_id":171074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdf"} 
[2026-09-04 15:35:06] local.INFO: Extracted packet for processing {"connection_id":171074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdf"} 
[2026-09-04 15:35:06] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125114432,"longitude_deg":74.9905408,"latitude_deg":12.5114432,"altitude":31,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a600","hex_latitude":"07751840","is_valid_coordinates":true} 
[2026-09-04 15:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860151040001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260308480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788516237000,"timestamp_ms":1788516237000,"timestamp_seconds":1788516237,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdffec8"} 
[2026-09-04 15:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-04 15:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860151040001,"66":27821,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5574189669260308480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860151040001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:35:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:35:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260308480,"description":"Unknown IO ID 44"} 
[2026-09-04 15:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860151040001,"power":27821,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574189669260308480}} 
[2026-09-04 15:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":171074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:35:06] local.INFO: GPS data processed {"connection_id":171074,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:35:06] local.INFO: Acknowledgment sent {"connection_id":171074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:35:27] local.INFO: TCP Data received {"connection_id":170772,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdfb878012d187fc0072181d0004c011127..."} 
[2026-09-04 15:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdfb878012d187fc0072181d0004c011127..."} 
[2026-09-04 15:35:27] local.INFO: Processing buffer {"connection_id":170772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdfb878012d187fc0072181d0004c011127..."} 
[2026-09-04 15:35:27] local.INFO: Packet analysis {"connection_id":170772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdf"} 
[2026-09-04 15:35:27] local.INFO: Extracted packet for processing {"connection_id":170772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdf"} 
[2026-09-04 15:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756580288,"raw_latitude":119636432,"longitude_deg":75.6580288,"latitude_deg":11.9636432,"altitude":76,"angle":273,"satellites":39,"speed":23,"hex_longitude":"2d187fc0","hex_latitude":"072181d0","is_valid_coordinates":true} 
[2026-09-04 15:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860151040001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17292066614673408,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767451778137212928,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788516219000,"timestamp_ms":1788516219000,"timestamp_seconds":1788516219,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdfb878"} 
[2026-09-04 15:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 15:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860151040001,"66":14070,"121":206,"28":31744,"24":23,"16":17292066614673408,"45":1767451778137212928},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860151040001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:35:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:35:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17292066614673408,"km_value":17292066614673.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767451778137212928,"description":"Unknown IO ID 45"} 
[2026-09-04 15:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860151040001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1767451778137212928}} 
[2026-09-04 15:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":170772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:35:27] local.INFO: GPS data processed {"connection_id":170772,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:35:27] local.INFO: Acknowledgment sent {"connection_id":170772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:35:28] local.INFO: TCP Data received {"connection_id":170773,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:35:28] local.INFO: Processing buffer {"connection_id":170773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:35:28] local.INFO: Packet analysis {"connection_id":170773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:35:28] local.INFO: Extracted packet for processing {"connection_id":170773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:35:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860052224001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788516130000,"timestamp_ms":1788516130000,"timestamp_seconds":1788516130,"priority":1,"record_length":96,"hex_timestamp":"000001a06bde5cd0"} 
[2026-09-04 15:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860052224001,"66":24680,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860052224001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:35:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:35:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860052224001,"power":24680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":170773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763285,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:35:28] local.INFO: GPS data processed {"connection_id":170773,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:35:28] local.INFO: Acknowledgment sent {"connection_id":170773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:35:38] local.INFO: TCP Data received {"connection_id":171074,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be050d0012cb2a60007751840001f002927..."} 
[2026-09-04 15:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be050d0012cb2a60007751840001f002927..."} 
[2026-09-04 15:35:38] local.INFO: Processing buffer {"connection_id":171074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be050d0012cb2a60007751840001f002927..."} 
[2026-09-04 15:35:38] local.INFO: Packet analysis {"connection_id":171074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be0"} 
[2026-09-04 15:35:38] local.INFO: Extracted packet for processing {"connection_id":171074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be0"} 
[2026-09-04 15:35:38] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125114432,"longitude_deg":74.9905408,"latitude_deg":12.5114432,"altitude":31,"angle":41,"satellites":39,"speed":0,"hex_longitude":"2cb2a600","hex_latitude":"07751840","is_valid_coordinates":true} 
[2026-09-04 15:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860156672001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795115520,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788516258000,"timestamp_ms":1788516258000,"timestamp_seconds":1788516258,"priority":1,"record_length":96,"hex_timestamp":"000001a06be050d0"} 
[2026-09-04 15:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 15:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860156672001,"66":27767,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5573767456795115520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860156672001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:35:38] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:35:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:35:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795115520,"description":"Unknown IO ID 44"} 
[2026-09-04 15:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860156672001,"power":27767,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573767456795115520}} 
[2026-09-04 15:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":171074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:35:38] local.INFO: GPS data processed {"connection_id":171074,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:35:38] local.INFO: Acknowledgment sent {"connection_id":171074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:35:48] local.INFO: TCP Data received {"connection_id":172173,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:35:48] local.INFO: Processing buffer {"connection_id":172173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:35:48] local.INFO: IMEI packet received {"connection_id":172173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":172173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:35:48] local.INFO: TCP Data received {"connection_id":172172,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:35:48] local.INFO: Processing buffer {"connection_id":172172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:35:48] local.INFO: IMEI packet received {"connection_id":172172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":172172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:35:53] local.INFO: TCP Data received {"connection_id":172173,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:35:53] local.INFO: Processing buffer {"connection_id":172173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:35:53] local.INFO: IMEI packet received {"connection_id":172173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":172173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:35:54] local.INFO: TCP Data received {"connection_id":172172,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:35:54] local.INFO: Processing buffer {"connection_id":172172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:35:54] local.INFO: IMEI packet received {"connection_id":172172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":172172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:35:54] local.INFO: TCP Data received {"connection_id":172173,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bdfe370012d185f0007218328004c012127..."} 
[2026-09-04 15:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bdfe370012d185f0007218328004c012127..."} 
[2026-09-04 15:35:54] local.INFO: Processing buffer {"connection_id":172173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bdfe370012d185f0007218328004c012127..."} 
[2026-09-04 15:35:54] local.INFO: Packet analysis {"connection_id":172173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bdf"} 
[2026-09-04 15:35:54] local.INFO: Extracted packet for processing {"connection_id":172173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bdf"} 
[2026-09-04 15:35:54] local.INFO: GPS Element Parsed {"raw_longitude":756571904,"raw_latitude":119636776,"longitude_deg":75.6571904,"latitude_deg":11.9636776,"altitude":76,"angle":289,"satellites":39,"speed":31,"hex_longitude":"2d185f00","hex_latitude":"07218328","is_valid_coordinates":true} 
[2026-09-04 15:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860152064001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17292470341599232,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765340715811983360,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788516230000,"timestamp_ms":1788516230000,"timestamp_seconds":1788516230,"priority":1,"record_length":96,"hex_timestamp":"000001a06bdfe370"} 
[2026-09-04 15:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-04 15:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860152064001,"66":14363,"120":206,"28":31744,"24":31,"16":17292470341599232,"45":1765340715811983360},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860152064001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:35:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:35:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17292470341599232,"km_value":17292470341599.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765340715811983360,"description":"Unknown IO ID 45"} 
[2026-09-04 15:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860152064001,"power":14363,"unknown_120":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1765340715811983360}} 
[2026-09-04 15:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":172173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:35:55] local.INFO: GPS data processed {"connection_id":172173,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:35:55] local.INFO: Acknowledgment sent {"connection_id":172173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:35:55] local.INFO: TCP Data received {"connection_id":172172,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:35:55] local.INFO: Processing buffer {"connection_id":172172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:35:55] local.INFO: Packet analysis {"connection_id":172172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:35:55] local.INFO: Extracted packet for processing {"connection_id":172172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860052224001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788516130000,"timestamp_ms":1788516130000,"timestamp_seconds":1788516130,"priority":1,"record_length":96,"hex_timestamp":"000001a06bde5cd0"} 
[2026-09-04 15:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860052224001,"66":24680,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860052224001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:35:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860052224001,"power":24680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":172172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:35:55] local.INFO: GPS data processed {"connection_id":172172,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:35:55] local.INFO: Acknowledgment sent {"connection_id":172172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:36:04] local.INFO: TCP Data received {"connection_id":172174,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:36:04] local.INFO: Processing buffer {"connection_id":172174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:36:04] local.INFO: IMEI packet received {"connection_id":172174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":172174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:36:09] local.INFO: TCP Data received {"connection_id":172174,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:36:09] local.INFO: Processing buffer {"connection_id":172174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:36:09] local.INFO: IMEI packet received {"connection_id":172174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":172174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:36:11] local.INFO: TCP Data received {"connection_id":172174,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be0a2d8012cb2a60007751840001f002929..."} 
[2026-09-04 15:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be0a2d8012cb2a60007751840001f002929..."} 
[2026-09-04 15:36:11] local.INFO: Processing buffer {"connection_id":172174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be0a2d8012cb2a60007751840001f002929..."} 
[2026-09-04 15:36:11] local.INFO: Packet analysis {"connection_id":172174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be0"} 
[2026-09-04 15:36:11] local.INFO: Extracted packet for processing {"connection_id":172174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be0"} 
[2026-09-04 15:36:11] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125114432,"longitude_deg":74.9905408,"latitude_deg":12.5114432,"altitude":31,"angle":41,"satellites":41,"speed":0,"hex_longitude":"2cb2a600","hex_latitude":"07751840","is_valid_coordinates":true} 
[2026-09-04 15:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860162048001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795115520,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788516279000,"timestamp_ms":1788516279000,"timestamp_seconds":1788516279,"priority":1,"record_length":96,"hex_timestamp":"000001a06be0a2d8"} 
[2026-09-04 15:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 15:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860162048001,"66":27865,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5573767456795115520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860162048001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:36:11] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:36:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795115520,"description":"Unknown IO ID 44"} 
[2026-09-04 15:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860162048001,"power":27865,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573767456795115520}} 
[2026-09-04 15:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":172174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:36:11] local.INFO: GPS data processed {"connection_id":172174,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:36:11] local.INFO: Acknowledgment sent {"connection_id":172174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:36:14] local.INFO: TCP Data received {"connection_id":172174,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be0f4e0012cb2a60007751840001f002929..."} 
[2026-09-04 15:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be0f4e0012cb2a60007751840001f002929..."} 
[2026-09-04 15:36:14] local.INFO: Processing buffer {"connection_id":172174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be0f4e0012cb2a60007751840001f002929..."} 
[2026-09-04 15:36:14] local.INFO: Packet analysis {"connection_id":172174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be0"} 
[2026-09-04 15:36:14] local.INFO: Extracted packet for processing {"connection_id":172174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be0"} 
[2026-09-04 15:36:14] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125114432,"longitude_deg":74.9905408,"latitude_deg":12.5114432,"altitude":31,"angle":41,"satellites":41,"speed":0,"hex_longitude":"2cb2a600","hex_latitude":"07751840","is_valid_coordinates":true} 
[2026-09-04 15:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860167424001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795115520,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788516300000,"timestamp_ms":1788516300000,"timestamp_seconds":1788516300,"priority":1,"record_length":96,"hex_timestamp":"000001a06be0f4e0"} 
[2026-09-04 15:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 15:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860167424001,"66":27039,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5573767456795115520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860167424001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:36:14] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:36:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795115520,"description":"Unknown IO ID 44"} 
[2026-09-04 15:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860167424001,"power":27039,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573767456795115520}} 
[2026-09-04 15:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":172174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:36:14] local.INFO: GPS data processed {"connection_id":172174,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:36:14] local.INFO: Acknowledgment sent {"connection_id":172174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:36:26] local.INFO: TCP Data received {"connection_id":172173,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be01638012d183ec0072191c0004e012226..."} 
[2026-09-04 15:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be01638012d183ec0072191c0004e012226..."} 
[2026-09-04 15:36:26] local.INFO: Processing buffer {"connection_id":172173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be01638012d183ec0072191c0004e012226..."} 
[2026-09-04 15:36:26] local.INFO: Packet analysis {"connection_id":172173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be0"} 
[2026-09-04 15:36:26] local.INFO: Extracted packet for processing {"connection_id":172173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be0"} 
[2026-09-04 15:36:26] local.INFO: GPS Element Parsed {"raw_longitude":756563648,"raw_latitude":119640512,"longitude_deg":75.6563648,"latitude_deg":11.9640512,"altitude":78,"angle":290,"satellites":38,"speed":23,"hex_longitude":"2d183ec0","hex_latitude":"072191c0","is_valid_coordinates":true} 
[2026-09-04 15:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860154880001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17292899838328832,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756122410324797440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788516243000,"timestamp_ms":1788516243000,"timestamp_seconds":1788516243,"priority":1,"record_length":96,"hex_timestamp":"000001a06be01638"} 
[2026-09-04 15:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-04 15:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860154880001,"66":14080,"120":206,"28":31744,"24":23,"16":17292899838328832,"45":1756122410324797440},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860154880001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:36:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:36:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17292899838328832,"km_value":17292899838328.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756122410324797440,"description":"Unknown IO ID 45"} 
[2026-09-04 15:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860154880001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1756122410324797440}} 
[2026-09-04 15:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":172173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:36:26] local.INFO: GPS data processed {"connection_id":172173,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:36:26] local.INFO: Acknowledgment sent {"connection_id":172173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:36:27] local.INFO: TCP Data received {"connection_id":172172,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:36:27] local.INFO: Processing buffer {"connection_id":172172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:36:27] local.INFO: Packet analysis {"connection_id":172172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:36:27] local.INFO: Extracted packet for processing {"connection_id":172172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:36:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860052224001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788516130000,"timestamp_ms":1788516130000,"timestamp_seconds":1788516130,"priority":1,"record_length":96,"hex_timestamp":"000001a06bde5cd0"} 
[2026-09-04 15:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860052224001,"66":24680,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860052224001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:36:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:36:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860052224001,"power":24680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":172172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763292,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:36:27] local.INFO: GPS data processed {"connection_id":172172,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:36:27] local.INFO: Acknowledgment sent {"connection_id":172172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:36:48] local.INFO: TCP Data received {"connection_id":170774,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:36:48] local.INFO: Processing buffer {"connection_id":170774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:36:48] local.INFO: IMEI packet received {"connection_id":170774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":170774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:36:50] local.INFO: TCP Data received {"connection_id":173482,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:36:50] local.INFO: Processing buffer {"connection_id":173482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:36:50] local.INFO: IMEI packet received {"connection_id":173482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":173482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:36:54] local.INFO: TCP Data received {"connection_id":173482,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:36:54] local.INFO: Processing buffer {"connection_id":173482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:36:54] local.INFO: IMEI packet received {"connection_id":173482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":173482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:36:54] local.INFO: TCP Data received {"connection_id":170774,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:36:54] local.INFO: Processing buffer {"connection_id":170774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:36:54] local.INFO: IMEI packet received {"connection_id":170774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":170774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:36:55] local.INFO: TCP Data received {"connection_id":170774,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:36:55] local.INFO: Processing buffer {"connection_id":170774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:36:55] local.INFO: Packet analysis {"connection_id":170774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:36:55] local.INFO: Extracted packet for processing {"connection_id":170774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:36:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860052224001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788516130000,"timestamp_ms":1788516130000,"timestamp_seconds":1788516130,"priority":1,"record_length":96,"hex_timestamp":"000001a06bde5cd0"} 
[2026-09-04 15:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860052224001,"66":24680,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860052224001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:36:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860052224001,"power":24680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":170774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:36:55] local.INFO: GPS data processed {"connection_id":170774,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:36:55] local.INFO: Acknowledgment sent {"connection_id":170774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:36:58] local.INFO: TCP Data received {"connection_id":173482,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:36:58] local.INFO: Processing buffer {"connection_id":173482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:36:58] local.INFO: IMEI packet received {"connection_id":173482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":173482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:36:59] local.INFO: TCP Data received {"connection_id":170775,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:36:59] local.INFO: Processing buffer {"connection_id":170775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:36:59] local.INFO: IMEI packet received {"connection_id":170775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":170775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:36:59] local.INFO: TCP Data received {"connection_id":173482,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be16a10012d1820000721a740004c008627..."} 
[2026-09-04 15:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be16a10012d1820000721a740004c008627..."} 
[2026-09-04 15:36:59] local.INFO: Processing buffer {"connection_id":173482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be16a10012d1820000721a740004c008627..."} 
[2026-09-04 15:36:59] local.INFO: Packet analysis {"connection_id":173482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be1"} 
[2026-09-04 15:36:59] local.INFO: Extracted packet for processing {"connection_id":173482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be1"} 
[2026-09-04 15:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119646016,"longitude_deg":75.6555776,"latitude_deg":11.9646016,"altitude":76,"angle":134,"satellites":39,"speed":10,"hex_longitude":"2d182000","hex_latitude":"0721a740","is_valid_coordinates":true} 
[2026-09-04 15:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860180224001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17293449594142720,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306075136,"note":"Value kept but may cause issues"} 
[2026-09-04 15:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788516330000,"timestamp_ms":1788516330000,"timestamp_seconds":1788516330,"priority":1,"record_length":96,"hex_timestamp":"000001a06be16a10"} 
[2026-09-04 15:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 15:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860180224001,"66":13222,"120":206,"28":31744,"24":10,"16":17293449594142720,"45":1738248749306075136},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860180224001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:37:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:37:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17293449594142720,"km_value":17293449594142.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306075136,"description":"Unknown IO ID 45"} 
[2026-09-04 15:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860180224001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1738248749306075136}} 
[2026-09-04 15:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":173482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:37:00] local.INFO: GPS data processed {"connection_id":173482,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:37:00] local.INFO: Acknowledgment sent {"connection_id":173482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:37:02] local.INFO: TCP Data received {"connection_id":170775,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:37:02] local.INFO: Processing buffer {"connection_id":170775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:37:02] local.INFO: IMEI packet received {"connection_id":170775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":170775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:37:03] local.INFO: TCP Data received {"connection_id":170775,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be146e8012cb2a60007751840001f002929..."} 
[2026-09-04 15:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be146e8012cb2a60007751840001f002929..."} 
[2026-09-04 15:37:03] local.INFO: Processing buffer {"connection_id":170775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be146e8012cb2a60007751840001f002929..."} 
[2026-09-04 15:37:03] local.INFO: Packet analysis {"connection_id":170775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be1"} 
[2026-09-04 15:37:03] local.INFO: Extracted packet for processing {"connection_id":170775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be1"} 
[2026-09-04 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125114432,"longitude_deg":74.9905408,"latitude_deg":12.5114432,"altitude":31,"angle":41,"satellites":41,"speed":0,"hex_longitude":"2cb2a600","hex_latitude":"07751840","is_valid_coordinates":true} 
[2026-09-04 15:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860172800001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795115520,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788516321000,"timestamp_ms":1788516321000,"timestamp_seconds":1788516321,"priority":1,"record_length":96,"hex_timestamp":"000001a06be146e8"} 
[2026-09-04 15:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-09-04 15:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":170775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":170775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":170775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860172800001,"66":27691,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5573767456795115520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860172800001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:37:03] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:37:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:37:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795115520,"description":"Unknown IO ID 44"} 
[2026-09-04 15:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860172800001,"power":27691,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573767456795115520}} 
[2026-09-04 15:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":170775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:37:03] local.INFO: GPS data processed {"connection_id":170775,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:37:03] local.INFO: Acknowledgment sent {"connection_id":170775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:37:03] local.INFO: TCP Data received {"connection_id":173482,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be1bc18012d1826400721a138004d008c2a..."} 
[2026-09-04 15:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be1bc18012d1826400721a138004d008c2a..."} 
[2026-09-04 15:37:03] local.INFO: Processing buffer {"connection_id":173482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be1bc18012d1826400721a138004d008c2a..."} 
[2026-09-04 15:37:03] local.INFO: Packet analysis {"connection_id":173482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be1"} 
[2026-09-04 15:37:03] local.INFO: Extracted packet for processing {"connection_id":173482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be1"} 
[2026-09-04 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644472,"longitude_deg":75.6557376,"latitude_deg":11.9644472,"altitude":77,"angle":140,"satellites":42,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-09-04 15:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860180480001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17293561263292416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794391552,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788516351000,"timestamp_ms":1788516351000,"timestamp_seconds":1788516351,"priority":1,"record_length":96,"hex_timestamp":"000001a06be1bc18"} 
[2026-09-04 15:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 15:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860180480001,"66":13124,"120":206,"28":31744,"24":0,"16":17293561263292416,"45":1738389486794391552},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860180480001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:37:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:37:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17293561263292416,"km_value":17293561263292.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794391552,"description":"Unknown IO ID 45"} 
[2026-09-04 15:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860180480001,"power":13124,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794391552}} 
[2026-09-04 15:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":173482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:37:03] local.INFO: GPS data processed {"connection_id":173482,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:37:03] local.INFO: Acknowledgment sent {"connection_id":173482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:37:04] local.INFO: TCP Data received {"connection_id":170775,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be198f0012cb2a60007751840001f002928..."} 
[2026-09-04 15:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be198f0012cb2a60007751840001f002928..."} 
[2026-09-04 15:37:04] local.INFO: Processing buffer {"connection_id":170775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be198f0012cb2a60007751840001f002928..."} 
[2026-09-04 15:37:04] local.INFO: Packet analysis {"connection_id":170775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be1"} 
[2026-09-04 15:37:04] local.INFO: Extracted packet for processing {"connection_id":170775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be1"} 
[2026-09-04 15:37:04] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125114432,"longitude_deg":74.9905408,"latitude_deg":12.5114432,"altitude":31,"angle":41,"satellites":40,"speed":0,"hex_longitude":"2cb2a600","hex_latitude":"07751840","is_valid_coordinates":true} 
[2026-09-04 15:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860178176001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795115520,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788516342000,"timestamp_ms":1788516342000,"timestamp_seconds":1788516342,"priority":1,"record_length":96,"hex_timestamp":"000001a06be198f0"} 
[2026-09-04 15:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-04 15:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860178176001,"66":27984,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5573767456795115520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860178176001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:37:04] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:37:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795115520,"description":"Unknown IO ID 44"} 
[2026-09-04 15:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860178176001,"power":27984,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573767456795115520}} 
[2026-09-04 15:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":170775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:37:04] local.INFO: GPS data processed {"connection_id":170775,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:37:04] local.INFO: Acknowledgment sent {"connection_id":170775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:37:27] local.INFO: TCP Data received {"connection_id":170774,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:37:27] local.INFO: Processing buffer {"connection_id":170774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bde5cd0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:37:27] local.INFO: Packet analysis {"connection_id":170774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:37:27] local.INFO: Extracted packet for processing {"connection_id":170774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bde"} 
[2026-09-04 15:37:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860052224001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788516130000,"timestamp_ms":1788516130000,"timestamp_seconds":1788516130,"priority":1,"record_length":96,"hex_timestamp":"000001a06bde5cd0"} 
[2026-09-04 15:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860052224001,"66":24680,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860052224001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:37:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:37:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860052224001,"power":24680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":170774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:37:27] local.INFO: GPS data processed {"connection_id":170774,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:37:27] local.INFO: Acknowledgment sent {"connection_id":170774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:37:35] local.INFO: TCP Data received {"connection_id":170775,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be1eaf8012cb2a60007751840001f002926..."} 
[2026-09-04 15:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be1eaf8012cb2a60007751840001f002926..."} 
[2026-09-04 15:37:35] local.INFO: Processing buffer {"connection_id":170775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be1eaf8012cb2a60007751840001f002926..."} 
[2026-09-04 15:37:35] local.INFO: Packet analysis {"connection_id":170775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be1"} 
[2026-09-04 15:37:35] local.INFO: Extracted packet for processing {"connection_id":170775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be1"} 
[2026-09-04 15:37:35] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125114432,"longitude_deg":74.9905408,"latitude_deg":12.5114432,"altitude":31,"angle":41,"satellites":38,"speed":0,"hex_longitude":"2cb2a600","hex_latitude":"07751840","is_valid_coordinates":true} 
[2026-09-04 15:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860183552001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795115520,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788516363000,"timestamp_ms":1788516363000,"timestamp_seconds":1788516363,"priority":1,"record_length":96,"hex_timestamp":"000001a06be1eaf8"} 
[2026-09-04 15:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 15:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860183552001,"66":27908,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5573767456795115520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860183552001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:37:35] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:37:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795115520,"description":"Unknown IO ID 44"} 
[2026-09-04 15:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860183552001,"power":27908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573767456795115520}} 
[2026-09-04 15:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":170775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:37:35] local.INFO: GPS data processed {"connection_id":170775,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:37:35] local.INFO: Acknowledgment sent {"connection_id":170775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:37:48] local.INFO: TCP Data received {"connection_id":173483,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:37:48] local.INFO: Processing buffer {"connection_id":173483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:37:48] local.INFO: IMEI packet received {"connection_id":173483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":173483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:37:53] local.INFO: TCP Data received {"connection_id":173483,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:37:53] local.INFO: Processing buffer {"connection_id":173483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:37:53] local.INFO: IMEI packet received {"connection_id":173483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":173483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:37:54] local.INFO: TCP Data received {"connection_id":173484,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:37:54] local.INFO: Processing buffer {"connection_id":173484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:37:54] local.INFO: IMEI packet received {"connection_id":173484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":173484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:37:55] local.INFO: TCP Data received {"connection_id":173483,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be20e20012d1826400721a138004d008c28..."} 
[2026-09-04 15:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be20e20012d1826400721a138004d008c28..."} 
[2026-09-04 15:37:55] local.INFO: Processing buffer {"connection_id":173483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be20e20012d1826400721a138004d008c28..."} 
[2026-09-04 15:37:55] local.INFO: Packet analysis {"connection_id":173483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:37:55] local.INFO: Extracted packet for processing {"connection_id":173483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644472,"longitude_deg":75.6557376,"latitude_deg":11.9644472,"altitude":77,"angle":140,"satellites":40,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-09-04 15:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860185856001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17293561263292416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398437888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788516372000,"timestamp_ms":1788516372000,"timestamp_seconds":1788516372,"priority":1,"record_length":96,"hex_timestamp":"000001a06be20e20"} 
[2026-09-04 15:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 15:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860185856001,"66":13091,"120":206,"28":31744,"24":0,"16":17293561263292416,"45":1740148705398437888},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860185856001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:37:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:37:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17293561263292416,"km_value":17293561263292.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398437888,"description":"Unknown IO ID 45"} 
[2026-09-04 15:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860185856001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398437888}} 
[2026-09-04 15:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":173483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:37:55] local.INFO: GPS data processed {"connection_id":173483,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:37:55] local.INFO: Acknowledgment sent {"connection_id":173483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:37:56] local.INFO: TCP Data received {"connection_id":172175,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:37:56] local.INFO: Processing buffer {"connection_id":172175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:37:56] local.INFO: IMEI packet received {"connection_id":172175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":172175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:37:59] local.INFO: TCP Data received {"connection_id":173484,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:37:59] local.INFO: Processing buffer {"connection_id":173484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:37:59] local.INFO: IMEI packet received {"connection_id":173484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":173484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:38:00] local.INFO: TCP Data received {"connection_id":172175,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:38:00] local.INFO: Processing buffer {"connection_id":172175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:38:00] local.INFO: IMEI packet received {"connection_id":172175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":172175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:38:00] local.INFO: TCP Data received {"connection_id":173484,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:38:00] local.INFO: Processing buffer {"connection_id":173484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:38:00] local.INFO: Packet analysis {"connection_id":173484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:38:00] local.INFO: Extracted packet for processing {"connection_id":173484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860129280001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788516431000,"timestamp_ms":1788516431000,"timestamp_seconds":1788516431,"priority":1,"record_length":96,"hex_timestamp":"000001a06be2f498"} 
[2026-09-04 15:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 15:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860129280001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860129280001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:38:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:38:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860129280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":173484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763301,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:38:00] local.INFO: GPS data processed {"connection_id":173484,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:38:00] local.INFO: Acknowledgment sent {"connection_id":173484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:38:04] local.INFO: TCP Data received {"connection_id":172175,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:38:04] local.INFO: Processing buffer {"connection_id":172175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:38:04] local.INFO: IMEI packet received {"connection_id":172175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":172175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:38:05] local.INFO: TCP Data received {"connection_id":173484,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:38:05] local.INFO: Processing buffer {"connection_id":173484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:38:05] local.INFO: Packet analysis {"connection_id":173484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:38:05] local.INFO: Extracted packet for processing {"connection_id":173484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860129280001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788516431000,"timestamp_ms":1788516431000,"timestamp_seconds":1788516431,"priority":1,"record_length":96,"hex_timestamp":"000001a06be2f498"} 
[2026-09-04 15:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 15:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860129280001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860129280001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:38:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860129280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":173484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:38:05] local.INFO: GPS data processed {"connection_id":173484,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:38:05] local.INFO: Acknowledgment sent {"connection_id":173484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:38:05] local.INFO: TCP Data received {"connection_id":172175,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be23d00012cb2a60007751840001f002928..."} 
[2026-09-04 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be23d00012cb2a60007751840001f002928..."} 
[2026-09-04 15:38:05] local.INFO: Processing buffer {"connection_id":172175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be23d00012cb2a60007751840001f002928..."} 
[2026-09-04 15:38:05] local.INFO: Packet analysis {"connection_id":172175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:38:05] local.INFO: Extracted packet for processing {"connection_id":172175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:38:05] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125114432,"longitude_deg":74.9905408,"latitude_deg":12.5114432,"altitude":31,"angle":41,"satellites":40,"speed":0,"hex_longitude":"2cb2a600","hex_latitude":"07751840","is_valid_coordinates":true} 
[2026-09-04 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860188928001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795115520,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788516384000,"timestamp_ms":1788516384000,"timestamp_seconds":1788516384,"priority":1,"record_length":96,"hex_timestamp":"000001a06be23d00"} 
[2026-09-04 15:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 15:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860188928001,"66":27908,"215":206,"85":36608,"24":0,"16":398033989622824960,"44":-5573767456795115520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-04 15:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860188928001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:38:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-04 15:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795115520,"description":"Unknown IO ID 44"} 
[2026-09-04 15:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860188928001,"power":27908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573767456795115520}} 
[2026-09-04 15:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":172175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:38:05] local.INFO: GPS data processed {"connection_id":172175,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:38:05] local.INFO: Acknowledgment sent {"connection_id":172175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:38:26] local.INFO: TCP Data received {"connection_id":173483,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be26028012d1826400721a138004d008c29..."} 
[2026-09-04 15:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be26028012d1826400721a138004d008c29..."} 
[2026-09-04 15:38:26] local.INFO: Processing buffer {"connection_id":173483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be26028012d1826400721a138004d008c29..."} 
[2026-09-04 15:38:26] local.INFO: Packet analysis {"connection_id":173483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:38:26] local.INFO: Extracted packet for processing {"connection_id":173483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:38:26] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644472,"longitude_deg":75.6557376,"latitude_deg":11.9644472,"altitude":77,"angle":140,"satellites":41,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-09-04 15:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860191232001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17293561263292416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398437888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788516393000,"timestamp_ms":1788516393000,"timestamp_seconds":1788516393,"priority":1,"record_length":96,"hex_timestamp":"000001a06be26028"} 
[2026-09-04 15:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 15:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860191232001,"66":12722,"120":206,"28":31744,"24":0,"16":17293561263292416,"45":1740148705398437888},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860191232001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:38:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:38:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17293561263292416,"km_value":17293561263292.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398437888,"description":"Unknown IO ID 45"} 
[2026-09-04 15:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860191232001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398437888}} 
[2026-09-04 15:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":173483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:38:26] local.INFO: GPS data processed {"connection_id":173483,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:38:26] local.INFO: Acknowledgment sent {"connection_id":173483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:38:37] local.INFO: TCP Data received {"connection_id":172175,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be28f08012cb2a60007751840001f002927..."} 
[2026-09-04 15:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be28f08012cb2a60007751840001f002927..."} 
[2026-09-04 15:38:37] local.INFO: Processing buffer {"connection_id":172175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be28f08012cb2a60007751840001f002927..."} 
[2026-09-04 15:38:37] local.INFO: Packet analysis {"connection_id":172175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:38:37] local.INFO: Extracted packet for processing {"connection_id":172175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:38:37] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125114432,"longitude_deg":74.9905408,"latitude_deg":12.5114432,"altitude":31,"angle":41,"satellites":39,"speed":0,"hex_longitude":"2cb2a600","hex_latitude":"07751840","is_valid_coordinates":true} 
[2026-09-04 15:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860194304001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398033989622824960,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795115520,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788516405000,"timestamp_ms":1788516405000,"timestamp_seconds":1788516405,"priority":1,"record_length":96,"hex_timestamp":"000001a06be28f08"} 
[2026-09-04 15:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 15:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860194304001,"66":27995,"214":206,"85":36608,"24":0,"16":398033989622824960,"44":-5573767456795115520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-04 15:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860194304001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:38:37] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-04 15:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398033989622824960,"km_value":398033989622824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795115520,"description":"Unknown IO ID 44"} 
[2026-09-04 15:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860194304001,"power":27995,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573767456795115520}} 
[2026-09-04 15:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":172175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:38:37] local.INFO: GPS data processed {"connection_id":172175,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:38:37] local.INFO: Acknowledgment sent {"connection_id":172175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:38:48] local.INFO: TCP Data received {"connection_id":171075,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:38:48] local.INFO: Processing buffer {"connection_id":171075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:38:48] local.INFO: IMEI packet received {"connection_id":171075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":171075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:38:48] local.INFO: TCP Data received {"connection_id":173485,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:38:48] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:38:48] local.INFO: IMEI packet received {"connection_id":173485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":173485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:38:53] local.INFO: TCP Data received {"connection_id":171075,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:38:53] local.INFO: Processing buffer {"connection_id":171075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:38:53] local.INFO: IMEI packet received {"connection_id":171075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":171075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:38:54] local.INFO: TCP Data received {"connection_id":173485,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:38:54] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:38:54] local.INFO: IMEI packet received {"connection_id":173485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":173485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:38:54] local.INFO: TCP Data received {"connection_id":171075,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be2b230012d1826400721a138004d008c28..."} 
[2026-09-04 15:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be2b230012d1826400721a138004d008c28..."} 
[2026-09-04 15:38:54] local.INFO: Processing buffer {"connection_id":171075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be2b230012d1826400721a138004d008c28..."} 
[2026-09-04 15:38:54] local.INFO: Packet analysis {"connection_id":171075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:38:54] local.INFO: Extracted packet for processing {"connection_id":171075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:38:54] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644472,"longitude_deg":75.6557376,"latitude_deg":11.9644472,"altitude":77,"angle":140,"satellites":40,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-09-04 15:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860196608001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17293561263292416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398437888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788516414000,"timestamp_ms":1788516414000,"timestamp_seconds":1788516414,"priority":1,"record_length":96,"hex_timestamp":"000001a06be2b230"} 
[2026-09-04 15:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 15:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860196608001,"66":13048,"120":206,"28":31744,"24":0,"16":17293561263292416,"45":1740148705398437888},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860196608001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:38:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:38:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17293561263292416,"km_value":17293561263292.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398437888,"description":"Unknown IO ID 45"} 
[2026-09-04 15:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860196608001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398437888}} 
[2026-09-04 15:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":171075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:38:55] local.INFO: GPS data processed {"connection_id":171075,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:38:55] local.INFO: Acknowledgment sent {"connection_id":171075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:38:55] local.INFO: TCP Data received {"connection_id":173485,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:38:55] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:38:55] local.INFO: Packet analysis {"connection_id":173485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:38:55] local.INFO: Extracted packet for processing {"connection_id":173485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:38:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860129280001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788516431000,"timestamp_ms":1788516431000,"timestamp_seconds":1788516431,"priority":1,"record_length":96,"hex_timestamp":"000001a06be2f498"} 
[2026-09-04 15:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 15:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860129280001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860129280001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:38:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860129280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":173485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763307,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:38:55] local.INFO: GPS data processed {"connection_id":173485,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:38:55] local.INFO: Acknowledgment sent {"connection_id":173485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:39:02] local.INFO: TCP Data received {"connection_id":171076,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:39:02] local.INFO: Processing buffer {"connection_id":171076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:39:02] local.INFO: IMEI packet received {"connection_id":171076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":171076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:39:04] local.INFO: TCP Data received {"connection_id":171076,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:39:04] local.INFO: Processing buffer {"connection_id":171076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:39:04] local.INFO: IMEI packet received {"connection_id":171076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":171076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:39:08] local.INFO: TCP Data received {"connection_id":171076,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:39:08] local.INFO: Processing buffer {"connection_id":171076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:39:08] local.INFO: IMEI packet received {"connection_id":171076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":171076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:39:09] local.INFO: TCP Data received {"connection_id":171076,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be394c0012cb2f80007759788001000072a..."} 
[2026-09-04 15:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be394c0012cb2f80007759788001000072a..."} 
[2026-09-04 15:39:09] local.INFO: Processing buffer {"connection_id":171076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be394c0012cb2f80007759788001000072a..."} 
[2026-09-04 15:39:09] local.INFO: Packet analysis {"connection_id":171076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be3"} 
[2026-09-04 15:39:09] local.INFO: Extracted packet for processing {"connection_id":171076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be3"} 
[2026-09-04 15:39:09] local.INFO: GPS Element Parsed {"raw_longitude":749926400,"raw_latitude":125147016,"longitude_deg":74.99264,"latitude_deg":12.5147016,"altitude":16,"angle":7,"satellites":42,"speed":36,"hex_longitude":"2cb2f800","hex_latitude":"07759788","is_valid_coordinates":true} 
[2026-09-04 15:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860216832001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398035905178238976,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5550686508696500224,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788516472000,"timestamp_ms":1788516472000,"timestamp_seconds":1788516472,"priority":1,"record_length":96,"hex_timestamp":"000001a06be394c0"} 
[2026-09-04 15:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 15:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860216832001,"66":27908,"213":206,"85":36608,"24":36,"16":398035905178238976,"44":-5550686508696500224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,44]} 
[2026-09-04 15:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860216832001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:39:09] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-04 15:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398035905178238976,"km_value":398035905178239.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5550686508696500224,"description":"Unknown IO ID 44"} 
[2026-09-04 15:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860216832001,"power":27908,"unknown_213":206,"unknown_85":36608,"ignition":36,"odometer":null,"unknown_44":-5550686508696500224}} 
[2026-09-04 15:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":171076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:39:09] local.INFO: GPS data processed {"connection_id":171076,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:39:09] local.INFO: Acknowledgment sent {"connection_id":171076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:39:26] local.INFO: TCP Data received {"connection_id":171075,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be30438012d1826400721a138004d008c2a..."} 
[2026-09-04 15:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be30438012d1826400721a138004d008c2a..."} 
[2026-09-04 15:39:26] local.INFO: Processing buffer {"connection_id":171075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be30438012d1826400721a138004d008c2a..."} 
[2026-09-04 15:39:26] local.INFO: Packet analysis {"connection_id":171075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be3"} 
[2026-09-04 15:39:26] local.INFO: Extracted packet for processing {"connection_id":171075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be3"} 
[2026-09-04 15:39:26] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644472,"longitude_deg":75.6557376,"latitude_deg":11.9644472,"altitude":77,"angle":140,"satellites":42,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-09-04 15:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860201984001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17293561263292416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398437888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788516435000,"timestamp_ms":1788516435000,"timestamp_seconds":1788516435,"priority":1,"record_length":96,"hex_timestamp":"000001a06be30438"} 
[2026-09-04 15:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-04 15:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860201984001,"66":12993,"120":206,"28":31744,"24":0,"16":17293561263292416,"45":1740148705398437888},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860201984001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:39:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:39:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17293561263292416,"km_value":17293561263292.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398437888,"description":"Unknown IO ID 45"} 
[2026-09-04 15:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860201984001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398437888}} 
[2026-09-04 15:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":171075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:39:26] local.INFO: GPS data processed {"connection_id":171075,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:39:26] local.INFO: Acknowledgment sent {"connection_id":171075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:39:27] local.INFO: TCP Data received {"connection_id":173485,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:39:27] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:39:27] local.INFO: Packet analysis {"connection_id":173485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:39:27] local.INFO: Extracted packet for processing {"connection_id":173485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:39:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860129280001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788516431000,"timestamp_ms":1788516431000,"timestamp_seconds":1788516431,"priority":1,"record_length":96,"hex_timestamp":"000001a06be2f498"} 
[2026-09-04 15:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 15:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860129280001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860129280001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:39:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:39:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860129280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":173485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763310,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:39:27] local.INFO: GPS data processed {"connection_id":173485,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:39:27] local.INFO: Acknowledgment sent {"connection_id":173485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:39:40] local.INFO: TCP Data received {"connection_id":171076,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be3c788012cb2fb000775b9f80010000328..."} 
[2026-09-04 15:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be3c788012cb2fb000775b9f80010000328..."} 
[2026-09-04 15:39:40] local.INFO: Processing buffer {"connection_id":171076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be3c788012cb2fb000775b9f80010000328..."} 
[2026-09-04 15:39:40] local.INFO: Packet analysis {"connection_id":171076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be3"} 
[2026-09-04 15:39:40] local.INFO: Extracted packet for processing {"connection_id":171076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be3"} 
[2026-09-04 15:39:40] local.INFO: GPS Element Parsed {"raw_longitude":749927168,"raw_latitude":125155832,"longitude_deg":74.9927168,"latitude_deg":12.5155832,"altitude":16,"angle":3,"satellites":40,"speed":17,"hex_longitude":"2cb2fb00","hex_latitude":"0775b9f8","is_valid_coordinates":true} 
[2026-09-04 15:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860216832001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398036334674968576,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5550686508696500224,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788516485000,"timestamp_ms":1788516485000,"timestamp_seconds":1788516485,"priority":1,"record_length":96,"hex_timestamp":"000001a06be3c788"} 
[2026-09-04 15:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 15:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860216832001,"66":27865,"64":206,"85":36608,"24":17,"16":398036334674968576,"44":-5550686508696500224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,44]} 
[2026-09-04 15:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860216832001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:39:40] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-04 15:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398036334674968576,"km_value":398036334674968.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5550686508696500224,"description":"Unknown IO ID 44"} 
[2026-09-04 15:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860216832001,"power":27865,"unknown_64":206,"unknown_85":36608,"ignition":17,"odometer":null,"unknown_44":-5550686508696500224}} 
[2026-09-04 15:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":171076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:39:40] local.INFO: GPS data processed {"connection_id":171076,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:39:40] local.INFO: Acknowledgment sent {"connection_id":171076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:39:48] local.INFO: TCP Data received {"connection_id":170776,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:39:48] local.INFO: Processing buffer {"connection_id":170776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:39:48] local.INFO: IMEI packet received {"connection_id":170776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":170776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:39:48] local.INFO: TCP Data received {"connection_id":170777,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:39:48] local.INFO: Processing buffer {"connection_id":170777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:39:48] local.INFO: IMEI packet received {"connection_id":170777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":170777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:39:53] local.INFO: TCP Data received {"connection_id":170776,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:39:53] local.INFO: Processing buffer {"connection_id":170776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:39:53] local.INFO: IMEI packet received {"connection_id":170776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":170776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:39:54] local.INFO: TCP Data received {"connection_id":170777,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:39:54] local.INFO: Processing buffer {"connection_id":170777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:39:54] local.INFO: IMEI packet received {"connection_id":170777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":170777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:39:54] local.INFO: TCP Data received {"connection_id":170776,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be35640012d1826400721a138004d008c28..."} 
[2026-09-04 15:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be35640012d1826400721a138004d008c28..."} 
[2026-09-04 15:39:54] local.INFO: Processing buffer {"connection_id":170776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be35640012d1826400721a138004d008c28..."} 
[2026-09-04 15:39:54] local.INFO: Packet analysis {"connection_id":170776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be3"} 
[2026-09-04 15:39:54] local.INFO: Extracted packet for processing {"connection_id":170776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be3"} 
[2026-09-04 15:39:54] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644472,"longitude_deg":75.6557376,"latitude_deg":11.9644472,"altitude":77,"angle":140,"satellites":40,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-09-04 15:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860207360001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17293561263292416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398437888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788516456000,"timestamp_ms":1788516456000,"timestamp_seconds":1788516456,"priority":1,"record_length":96,"hex_timestamp":"000001a06be35640"} 
[2026-09-04 15:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-04 15:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860207360001,"66":12972,"120":206,"28":31744,"24":0,"16":17293561263292416,"45":1740148705398437888},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860207360001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:39:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:39:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17293561263292416,"km_value":17293561263292.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398437888,"description":"Unknown IO ID 45"} 
[2026-09-04 15:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860207360001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398437888}} 
[2026-09-04 15:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":170776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:39:55] local.INFO: GPS data processed {"connection_id":170776,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:39:55] local.INFO: Acknowledgment sent {"connection_id":170776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:39:55] local.INFO: TCP Data received {"connection_id":170777,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:39:55] local.INFO: Processing buffer {"connection_id":170777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:39:55] local.INFO: Packet analysis {"connection_id":170777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:39:55] local.INFO: Extracted packet for processing {"connection_id":170777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:39:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860129280001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788516431000,"timestamp_ms":1788516431000,"timestamp_seconds":1788516431,"priority":1,"record_length":96,"hex_timestamp":"000001a06be2f498"} 
[2026-09-04 15:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 15:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860129280001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860129280001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:39:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:39:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860129280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":170777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763313,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:39:55] local.INFO: GPS data processed {"connection_id":170777,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:39:55] local.INFO: Acknowledgment sent {"connection_id":170777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:40:14] local.INFO: TCP Data received {"connection_id":171077,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:40:14] local.INFO: Processing buffer {"connection_id":171077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:40:14] local.INFO: IMEI packet received {"connection_id":171077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":171077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:40:19] local.INFO: TCP Data received {"connection_id":171077,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:40:19] local.INFO: Processing buffer {"connection_id":171077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:40:19] local.INFO: IMEI packet received {"connection_id":171077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":171077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:40:19] local.INFO: TCP Data received {"connection_id":171077,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be4c188012cb33640077635880017001b2b..."} 
[2026-09-04 15:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be4c188012cb33640077635880017001b2b..."} 
[2026-09-04 15:40:19] local.INFO: Processing buffer {"connection_id":171077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be4c188012cb33640077635880017001b2b..."} 
[2026-09-04 15:40:19] local.INFO: Packet analysis {"connection_id":171077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be4"} 
[2026-09-04 15:40:19] local.INFO: Extracted packet for processing {"connection_id":171077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be4"} 
[2026-09-04 15:40:19] local.INFO: GPS Element Parsed {"raw_longitude":749942336,"raw_latitude":125187464,"longitude_deg":74.9942336,"latitude_deg":12.5187464,"altitude":23,"angle":27,"satellites":43,"speed":15,"hex_longitude":"2cb33640","hex_latitude":"07763588","is_valid_coordinates":true} 
[2026-09-04 15:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860235520001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398038129971298304,"note":"Value kept but may cause issues"} 
[2026-09-04 15:40:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5534431328781508608,"note":"Value kept but may cause issues"} 
[2026-09-04 15:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788516549000,"timestamp_ms":1788516549000,"timestamp_seconds":1788516549,"priority":1,"record_length":96,"hex_timestamp":"000001a06be4c188"} 
[2026-09-04 15:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 15:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":171077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":171077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":171077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860235520001,"66":27919,"63":206,"85":36608,"24":15,"16":398038129971298304,"44":-5534431328781508608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,44]} 
[2026-09-04 15:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860235520001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:40:19] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-04 15:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398038129971298304,"km_value":398038129971298.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:40:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5534431328781508608,"description":"Unknown IO ID 44"} 
[2026-09-04 15:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860235520001,"power":27919,"unknown_63":206,"unknown_85":36608,"ignition":15,"odometer":null,"unknown_44":-5534431328781508608}} 
[2026-09-04 15:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":171077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:40:19] local.INFO: GPS data processed {"connection_id":171077,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:40:19] local.INFO: Acknowledgment sent {"connection_id":171077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:40:26] local.INFO: TCP Data received {"connection_id":170776,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be3a848012d1826400721a138004d008c2a..."} 
[2026-09-04 15:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be3a848012d1826400721a138004d008c2a..."} 
[2026-09-04 15:40:26] local.INFO: Processing buffer {"connection_id":170776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be3a848012d1826400721a138004d008c2a..."} 
[2026-09-04 15:40:26] local.INFO: Packet analysis {"connection_id":170776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be3"} 
[2026-09-04 15:40:26] local.INFO: Extracted packet for processing {"connection_id":170776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be3"} 
[2026-09-04 15:40:26] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644472,"longitude_deg":75.6557376,"latitude_deg":11.9644472,"altitude":77,"angle":140,"satellites":42,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-09-04 15:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860212736001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17293561263292416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398437888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788516477000,"timestamp_ms":1788516477000,"timestamp_seconds":1788516477,"priority":1,"record_length":96,"hex_timestamp":"000001a06be3a848"} 
[2026-09-04 15:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-04 15:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860212736001,"66":12885,"120":206,"28":31744,"24":0,"16":17293561263292416,"45":1740148705398437888},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860212736001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:40:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:40:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17293561263292416,"km_value":17293561263292.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398437888,"description":"Unknown IO ID 45"} 
[2026-09-04 15:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860212736001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398437888}} 
[2026-09-04 15:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":170776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:40:26] local.INFO: GPS data processed {"connection_id":170776,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:40:26] local.INFO: Acknowledgment sent {"connection_id":170776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:40:26] local.INFO: TCP Data received {"connection_id":170777,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:40:26] local.INFO: Processing buffer {"connection_id":170777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:40:26] local.INFO: Packet analysis {"connection_id":170777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:40:26] local.INFO: Extracted packet for processing {"connection_id":170777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:40:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860129280001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788516431000,"timestamp_ms":1788516431000,"timestamp_seconds":1788516431,"priority":1,"record_length":96,"hex_timestamp":"000001a06be2f498"} 
[2026-09-04 15:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 15:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860129280001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860129280001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:40:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:40:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860129280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":170777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763316,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:40:27] local.INFO: GPS data processed {"connection_id":170777,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:40:27] local.INFO: Acknowledgment sent {"connection_id":170777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:40:48] local.INFO: TCP Data received {"connection_id":172176,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:40:48] local.INFO: Processing buffer {"connection_id":172176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:40:48] local.INFO: IMEI packet received {"connection_id":172176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":172176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:40:53] local.INFO: TCP Data received {"connection_id":172176,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:40:53] local.INFO: Processing buffer {"connection_id":172176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:40:53] local.INFO: IMEI packet received {"connection_id":172176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":172176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:40:54] local.INFO: TCP Data received {"connection_id":172177,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:40:54] local.INFO: Processing buffer {"connection_id":172177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:40:54] local.INFO: IMEI packet received {"connection_id":172177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":172177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:40:54] local.INFO: TCP Data received {"connection_id":172176,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be3fa50012d1826400721a138004d008c27..."} 
[2026-09-04 15:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be3fa50012d1826400721a138004d008c27..."} 
[2026-09-04 15:40:54] local.INFO: Processing buffer {"connection_id":172176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be3fa50012d1826400721a138004d008c27..."} 
[2026-09-04 15:40:54] local.INFO: Packet analysis {"connection_id":172176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be3"} 
[2026-09-04 15:40:54] local.INFO: Extracted packet for processing {"connection_id":172176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be3"} 
[2026-09-04 15:40:54] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644472,"longitude_deg":75.6557376,"latitude_deg":11.9644472,"altitude":77,"angle":140,"satellites":39,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-09-04 15:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860218112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17293561263292416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398437888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788516498000,"timestamp_ms":1788516498000,"timestamp_seconds":1788516498,"priority":1,"record_length":96,"hex_timestamp":"000001a06be3fa50"} 
[2026-09-04 15:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 15:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860218112001,"66":12928,"120":206,"28":31744,"24":0,"16":17293561263292416,"45":1740148705398437888},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860218112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:40:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:40:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17293561263292416,"km_value":17293561263292.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398437888,"description":"Unknown IO ID 45"} 
[2026-09-04 15:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860218112001,"power":12928,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398437888}} 
[2026-09-04 15:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":172176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:40:55] local.INFO: GPS data processed {"connection_id":172176,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:40:55] local.INFO: Acknowledgment sent {"connection_id":172176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:40:59] local.INFO: TCP Data received {"connection_id":173486,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:40:59] local.INFO: Processing buffer {"connection_id":173486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:40:59] local.INFO: IMEI packet received {"connection_id":173486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":173486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:40:59] local.INFO: TCP Data received {"connection_id":172177,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:40:59] local.INFO: Processing buffer {"connection_id":172177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:40:59] local.INFO: IMEI packet received {"connection_id":172177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":172177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:41:00] local.INFO: TCP Data received {"connection_id":172177,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:41:00] local.INFO: Processing buffer {"connection_id":172177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:41:00] local.INFO: Packet analysis {"connection_id":172177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:41:00] local.INFO: Extracted packet for processing {"connection_id":172177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:41:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860129280001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788516431000,"timestamp_ms":1788516431000,"timestamp_seconds":1788516431,"priority":1,"record_length":96,"hex_timestamp":"000001a06be2f498"} 
[2026-09-04 15:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 15:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860129280001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860129280001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:41:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:41:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860129280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":172177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:41:00] local.INFO: GPS data processed {"connection_id":172177,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:41:00] local.INFO: Acknowledgment sent {"connection_id":172177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:41:04] local.INFO: TCP Data received {"connection_id":173486,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:41:04] local.INFO: Processing buffer {"connection_id":173486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:41:04] local.INFO: IMEI packet received {"connection_id":173486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":173486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:41:05] local.INFO: TCP Data received {"connection_id":172177,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:41:05] local.INFO: Processing buffer {"connection_id":172177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:41:05] local.INFO: Packet analysis {"connection_id":172177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:41:05] local.INFO: Extracted packet for processing {"connection_id":172177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860129280001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788516431000,"timestamp_ms":1788516431000,"timestamp_seconds":1788516431,"priority":1,"record_length":96,"hex_timestamp":"000001a06be2f498"} 
[2026-09-04 15:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 15:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860129280001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860129280001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:41:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860129280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":172177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:41:05] local.INFO: GPS data processed {"connection_id":172177,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:41:05] local.INFO: Acknowledgment sent {"connection_id":172177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:41:05] local.INFO: TCP Data received {"connection_id":173486,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be4d8f8012cb33b00077640600016000e2b..."} 
[2026-09-04 15:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be4d8f8012cb33b00077640600016000e2b..."} 
[2026-09-04 15:41:05] local.INFO: Processing buffer {"connection_id":173486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be4d8f8012cb33b00077640600016000e2b..."} 
[2026-09-04 15:41:05] local.INFO: Packet analysis {"connection_id":173486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be4"} 
[2026-09-04 15:41:05] local.INFO: Extracted packet for processing {"connection_id":173486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be4"} 
[2026-09-04 15:41:05] local.INFO: GPS Element Parsed {"raw_longitude":749943552,"raw_latitude":125190240,"longitude_deg":74.9943552,"latitude_deg":12.519024,"altitude":22,"angle":14,"satellites":43,"speed":26,"hex_longitude":"2cb33b00","hex_latitude":"07764060","is_valid_coordinates":true} 
[2026-09-04 15:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860236544001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398038280295153664,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5533164691385907200,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788516555000,"timestamp_ms":1788516555000,"timestamp_seconds":1788516555,"priority":1,"record_length":96,"hex_timestamp":"000001a06be4d8f8"} 
[2026-09-04 15:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 15:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860236544001,"66":27876,"63":206,"85":36608,"24":26,"16":398038280295153664,"44":-5533164691385907200},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,44]} 
[2026-09-04 15:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860236544001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:41:05] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-04 15:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398038280295153664,"km_value":398038280295153.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5533164691385907200,"description":"Unknown IO ID 44"} 
[2026-09-04 15:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860236544001,"power":27876,"unknown_63":206,"unknown_85":36608,"ignition":26,"odometer":null,"unknown_44":-5533164691385907200}} 
[2026-09-04 15:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":173486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:41:05] local.INFO: GPS data processed {"connection_id":173486,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:41:05] local.INFO: Acknowledgment sent {"connection_id":173486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:41:26] local.INFO: TCP Data received {"connection_id":172176,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be44c58012d1826400721a138004d008c2a..."} 
[2026-09-04 15:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be44c58012d1826400721a138004d008c2a..."} 
[2026-09-04 15:41:26] local.INFO: Processing buffer {"connection_id":172176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be44c58012d1826400721a138004d008c2a..."} 
[2026-09-04 15:41:26] local.INFO: Packet analysis {"connection_id":172176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be4"} 
[2026-09-04 15:41:26] local.INFO: Extracted packet for processing {"connection_id":172176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be4"} 
[2026-09-04 15:41:26] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644472,"longitude_deg":75.6557376,"latitude_deg":11.9644472,"altitude":77,"angle":140,"satellites":42,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-09-04 15:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860223488001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17293561263292416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398437888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788516519000,"timestamp_ms":1788516519000,"timestamp_seconds":1788516519,"priority":1,"record_length":96,"hex_timestamp":"000001a06be44c58"} 
[2026-09-04 15:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-04 15:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860223488001,"66":12885,"120":206,"28":31744,"24":0,"16":17293561263292416,"45":1740148705398437888},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860223488001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:41:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:41:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17293561263292416,"km_value":17293561263292.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398437888,"description":"Unknown IO ID 45"} 
[2026-09-04 15:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860223488001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398437888}} 
[2026-09-04 15:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":172176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:41:26] local.INFO: GPS data processed {"connection_id":172176,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:41:26] local.INFO: Acknowledgment sent {"connection_id":172176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:41:39] local.INFO: TCP Data received {"connection_id":173486,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be4e4b0012cb33bc0077649180015016629..."} 
[2026-09-04 15:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be4e4b0012cb33bc0077649180015016629..."} 
[2026-09-04 15:41:39] local.INFO: Processing buffer {"connection_id":173486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be4e4b0012cb33bc0077649180015016629..."} 
[2026-09-04 15:41:39] local.INFO: Packet analysis {"connection_id":173486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be4"} 
[2026-09-04 15:41:39] local.INFO: Extracted packet for processing {"connection_id":173486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be4"} 
[2026-09-04 15:41:39] local.INFO: GPS Element Parsed {"raw_longitude":749943744,"raw_latitude":125192472,"longitude_deg":74.9943744,"latitude_deg":12.5192472,"altitude":21,"angle":358,"satellites":41,"speed":32,"hex_longitude":"2cb33bc0","hex_latitude":"07764918","is_valid_coordinates":true} 
[2026-09-04 15:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860238080001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398038387669336064,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5531827685245820928,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788516558000,"timestamp_ms":1788516558000,"timestamp_seconds":1788516558,"priority":1,"record_length":96,"hex_timestamp":"000001a06be4e4b0"} 
[2026-09-04 15:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 15:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860238080001,"66":27800,"63":206,"85":36608,"24":32,"16":398038387669336064,"44":-5531827685245820928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,44]} 
[2026-09-04 15:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860238080001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:41:39] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-04 15:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398038387669336064,"km_value":398038387669336.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:41:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5531827685245820928,"description":"Unknown IO ID 44"} 
[2026-09-04 15:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860238080001,"power":27800,"unknown_63":206,"unknown_85":36608,"ignition":32,"odometer":null,"unknown_44":-5531827685245820928}} 
[2026-09-04 15:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":173486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:41:39] local.INFO: GPS data processed {"connection_id":173486,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:41:39] local.INFO: Acknowledgment sent {"connection_id":173486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:41:48] local.INFO: TCP Data received {"connection_id":170778,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:41:48] local.INFO: Processing buffer {"connection_id":170778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:41:48] local.INFO: IMEI packet received {"connection_id":170778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":170778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:41:53] local.INFO: TCP Data received {"connection_id":170778,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:41:53] local.INFO: Processing buffer {"connection_id":170778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:41:53] local.INFO: IMEI packet received {"connection_id":170778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":170778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:41:54] local.INFO: TCP Data received {"connection_id":173487,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:41:54] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:41:54] local.INFO: IMEI packet received {"connection_id":173487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":173487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:41:54] local.INFO: TCP Data received {"connection_id":170778,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be49e60012d1826400721a138004d008c2a..."} 
[2026-09-04 15:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be49e60012d1826400721a138004d008c2a..."} 
[2026-09-04 15:41:54] local.INFO: Processing buffer {"connection_id":170778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be49e60012d1826400721a138004d008c2a..."} 
[2026-09-04 15:41:54] local.INFO: Packet analysis {"connection_id":170778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be4"} 
[2026-09-04 15:41:54] local.INFO: Extracted packet for processing {"connection_id":170778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be4"} 
[2026-09-04 15:41:54] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644472,"longitude_deg":75.6557376,"latitude_deg":11.9644472,"altitude":77,"angle":140,"satellites":42,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-09-04 15:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860228864001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17293561263292416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398437888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788516540000,"timestamp_ms":1788516540000,"timestamp_seconds":1788516540,"priority":1,"record_length":96,"hex_timestamp":"000001a06be49e60"} 
[2026-09-04 15:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 15:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860228864001,"66":12885,"120":206,"28":31744,"24":0,"16":17293561263292416,"45":1740148705398437888},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860228864001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:41:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:41:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17293561263292416,"km_value":17293561263292.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398437888,"description":"Unknown IO ID 45"} 
[2026-09-04 15:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860228864001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398437888}} 
[2026-09-04 15:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":170778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:41:55] local.INFO: GPS data processed {"connection_id":170778,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:41:55] local.INFO: Acknowledgment sent {"connection_id":170778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:41:59] local.INFO: TCP Data received {"connection_id":172178,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:41:59] local.INFO: Processing buffer {"connection_id":172178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:41:59] local.INFO: IMEI packet received {"connection_id":172178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":172178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:41:59] local.INFO: TCP Data received {"connection_id":173487,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:41:59] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:41:59] local.INFO: IMEI packet received {"connection_id":173487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":173487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:41:59] local.INFO: TCP Data received {"connection_id":172178,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:41:59] local.INFO: Processing buffer {"connection_id":172178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:41:59] local.INFO: IMEI packet received {"connection_id":172178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":172178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:42:00] local.INFO: TCP Data received {"connection_id":173487,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:42:00] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:42:00] local.INFO: Packet analysis {"connection_id":173487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:42:00] local.INFO: Extracted packet for processing {"connection_id":173487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:42:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860129280001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788516431000,"timestamp_ms":1788516431000,"timestamp_seconds":1788516431,"priority":1,"record_length":96,"hex_timestamp":"000001a06be2f498"} 
[2026-09-04 15:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 15:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860129280001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860129280001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:42:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860129280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":173487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763324,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:42:00] local.INFO: GPS data processed {"connection_id":173487,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:42:00] local.INFO: Acknowledgment sent {"connection_id":173487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:42:04] local.INFO: TCP Data received {"connection_id":172178,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:42:04] local.INFO: Processing buffer {"connection_id":172178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:42:04] local.INFO: IMEI packet received {"connection_id":172178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":172178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:42:04] local.INFO: TCP Data received {"connection_id":172178,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be69648012cb3968007779830002a002c2b..."} 
[2026-09-04 15:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be69648012cb3968007779830002a002c2b..."} 
[2026-09-04 15:42:04] local.INFO: Processing buffer {"connection_id":172178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be69648012cb3968007779830002a002c2b..."} 
[2026-09-04 15:42:04] local.INFO: Packet analysis {"connection_id":172178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be6"} 
[2026-09-04 15:42:04] local.INFO: Extracted packet for processing {"connection_id":172178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be6"} 
[2026-09-04 15:42:04] local.INFO: GPS Element Parsed {"raw_longitude":749966976,"raw_latitude":125278256,"longitude_deg":74.9966976,"latitude_deg":12.5278256,"altitude":42,"angle":44,"satellites":43,"speed":48,"hex_longitude":"2cb39680","hex_latitude":"07779830","is_valid_coordinates":true} 
[2026-09-04 15:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860265216001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398042747061141504,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5511842961878732800,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788516669000,"timestamp_ms":1788516669000,"timestamp_seconds":1788516669,"priority":1,"record_length":96,"hex_timestamp":"000001a06be69648"} 
[2026-09-04 15:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 15:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860265216001,"66":27908,"252":206,"85":36608,"24":48,"16":398042747061141504,"44":-5511842961878732800},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,85,24,16,44]} 
[2026-09-04 15:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860265216001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:42:04] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-09-04 15:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398042747061141504,"km_value":398042747061141.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:42:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5511842961878732800,"description":"Unknown IO ID 44"} 
[2026-09-04 15:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860265216001,"power":27908,"unknown_252":206,"unknown_85":36608,"ignition":48,"odometer":null,"unknown_44":-5511842961878732800}} 
[2026-09-04 15:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":172178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:42:04] local.INFO: GPS data processed {"connection_id":172178,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:42:04] local.INFO: Acknowledgment sent {"connection_id":172178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:42:05] local.INFO: TCP Data received {"connection_id":173487,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:42:05] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be2f498012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:42:05] local.INFO: Packet analysis {"connection_id":173487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:42:05] local.INFO: Extracted packet for processing {"connection_id":173487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be2"} 
[2026-09-04 15:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860129280001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788516431000,"timestamp_ms":1788516431000,"timestamp_seconds":1788516431,"priority":1,"record_length":96,"hex_timestamp":"000001a06be2f498"} 
[2026-09-04 15:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 15:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860129280001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860129280001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:42:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860129280001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":173487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763326,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:42:05] local.INFO: GPS data processed {"connection_id":173487,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:42:05] local.INFO: Acknowledgment sent {"connection_id":173487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:42:26] local.INFO: TCP Data received {"connection_id":170778,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be4f068012d1826400721a138004d008c28..."} 
[2026-09-04 15:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be4f068012d1826400721a138004d008c28..."} 
[2026-09-04 15:42:26] local.INFO: Processing buffer {"connection_id":170778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be4f068012d1826400721a138004d008c28..."} 
[2026-09-04 15:42:26] local.INFO: Packet analysis {"connection_id":170778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be4"} 
[2026-09-04 15:42:26] local.INFO: Extracted packet for processing {"connection_id":170778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be4"} 
[2026-09-04 15:42:26] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644472,"longitude_deg":75.6557376,"latitude_deg":11.9644472,"altitude":77,"angle":140,"satellites":40,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-09-04 15:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860234240001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17293561263292416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398437888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788516561000,"timestamp_ms":1788516561000,"timestamp_seconds":1788516561,"priority":1,"record_length":96,"hex_timestamp":"000001a06be4f068"} 
[2026-09-04 15:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 15:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860234240001,"66":12798,"120":206,"28":31744,"24":0,"16":17293561263292416,"45":1740148705398437888},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860234240001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:42:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:42:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17293561263292416,"km_value":17293561263292.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398437888,"description":"Unknown IO ID 45"} 
[2026-09-04 15:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860234240001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398437888}} 
[2026-09-04 15:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":170778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:42:26] local.INFO: GPS data processed {"connection_id":170778,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:42:26] local.INFO: Acknowledgment sent {"connection_id":170778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:42:35] local.INFO: TCP Data received {"connection_id":172178,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be722e8012cb3d7c00777f800002701542a..."} 
[2026-09-04 15:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be722e8012cb3d7c00777f800002701542a..."} 
[2026-09-04 15:42:35] local.INFO: Processing buffer {"connection_id":172178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be722e8012cb3d7c00777f800002701542a..."} 
[2026-09-04 15:42:35] local.INFO: Packet analysis {"connection_id":172178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:42:35] local.INFO: Extracted packet for processing {"connection_id":172178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:42:35] local.INFO: GPS Element Parsed {"raw_longitude":749983680,"raw_latitude":125302784,"longitude_deg":74.998368,"latitude_deg":12.5302784,"altitude":39,"angle":340,"satellites":42,"speed":34,"hex_longitude":"2cb3d7c0","hex_latitude":"0777f800","is_valid_coordinates":true} 
[2026-09-04 15:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860275712001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398044383443681280,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5486369476478810112,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788516705000,"timestamp_ms":1788516705000,"timestamp_seconds":1788516705,"priority":1,"record_length":96,"hex_timestamp":"000001a06be722e8"} 
[2026-09-04 15:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 15:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860275712001,"66":27821,"251":206,"85":36608,"24":34,"16":398044383443681280,"44":-5486369476478810112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,44]} 
[2026-09-04 15:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860275712001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:42:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-04 15:42:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398044383443681280,"km_value":398044383443681.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:42:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5486369476478810112,"description":"Unknown IO ID 44"} 
[2026-09-04 15:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860275712001,"power":27821,"unknown_251":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-5486369476478810112}} 
[2026-09-04 15:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":172178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:42:35] local.INFO: GPS data processed {"connection_id":172178,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:42:35] local.INFO: Acknowledgment sent {"connection_id":172178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:42:50] local.INFO: TCP Data received {"connection_id":173488,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:42:50] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:42:50] local.INFO: IMEI packet received {"connection_id":173488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":173488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:42:50] local.INFO: TCP Data received {"connection_id":173488,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:42:50] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:42:50] local.INFO: IMEI packet received {"connection_id":173488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":173488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:42:53] local.INFO: TCP Data received {"connection_id":171078,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:42:53] local.INFO: Processing buffer {"connection_id":171078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:42:53] local.INFO: IMEI packet received {"connection_id":171078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":171078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:42:54] local.INFO: TCP Data received {"connection_id":173488,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:42:54] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:42:54] local.INFO: IMEI packet received {"connection_id":173488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":173488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:42:56] local.INFO: TCP Data received {"connection_id":173488,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:42:56] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:42:56] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:42:56] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:42:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860206336001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788516732000,"timestamp_ms":1788516732000,"timestamp_seconds":1788516732,"priority":1,"record_length":96,"hex_timestamp":"000001a06be78c60"} 
[2026-09-04 15:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860206336001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860206336001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:42:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:42:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860206336001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763329,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:42:56] local.INFO: GPS data processed {"connection_id":173488,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:42:56] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:42:58] local.INFO: TCP Data received {"connection_id":171078,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:42:58] local.INFO: Processing buffer {"connection_id":171078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:42:58] local.INFO: IMEI packet received {"connection_id":171078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":171078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:43:00] local.INFO: TCP Data received {"connection_id":171078,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be54270012d1826400721a138004d008c2a..."} 
[2026-09-04 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be54270012d1826400721a138004d008c2a..."} 
[2026-09-04 15:43:00] local.INFO: Processing buffer {"connection_id":171078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be54270012d1826400721a138004d008c2a..."} 
[2026-09-04 15:43:00] local.INFO: Packet analysis {"connection_id":171078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be5"} 
[2026-09-04 15:43:00] local.INFO: Extracted packet for processing {"connection_id":171078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be5"} 
[2026-09-04 15:43:00] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644472,"longitude_deg":75.6557376,"latitude_deg":11.9644472,"altitude":77,"angle":140,"satellites":42,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-09-04 15:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860239616001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17293561263292416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398437888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788516582000,"timestamp_ms":1788516582000,"timestamp_seconds":1788516582,"priority":1,"record_length":96,"hex_timestamp":"000001a06be54270"} 
[2026-09-04 15:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 15:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860239616001,"66":12841,"120":206,"28":31744,"24":0,"16":17293561263292416,"45":1740148705398437888},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860239616001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:43:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:43:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17293561263292416,"km_value":17293561263292.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398437888,"description":"Unknown IO ID 45"} 
[2026-09-04 15:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860239616001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398437888}} 
[2026-09-04 15:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":171078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:43:00] local.INFO: GPS data processed {"connection_id":171078,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:43:00] local.INFO: Acknowledgment sent {"connection_id":171078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:43:00] local.INFO: TCP Data received {"connection_id":172179,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:00] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:00] local.INFO: IMEI packet received {"connection_id":172179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":172179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:43:00] local.INFO: TCP Data received {"connection_id":173488,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:43:00] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:43:00] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:43:00] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:43:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860206336001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788516732000,"timestamp_ms":1788516732000,"timestamp_seconds":1788516732,"priority":1,"record_length":96,"hex_timestamp":"000001a06be78c60"} 
[2026-09-04 15:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860206336001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860206336001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:43:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:43:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860206336001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:43:00] local.INFO: GPS data processed {"connection_id":173488,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:43:00] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:43:02] local.INFO: TCP Data received {"connection_id":172179,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:02] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:02] local.INFO: IMEI packet received {"connection_id":172179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":172179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:43:04] local.INFO: TCP Data received {"connection_id":171078,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06be59478012d1826400721a138004d008c2a..."} 
[2026-09-04 15:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be59478012d1826400721a138004d008c2a..."} 
[2026-09-04 15:43:04] local.INFO: Processing buffer {"connection_id":171078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be59478012d1826400721a138004d008c2a..."} 
[2026-09-04 15:43:04] local.INFO: Packet analysis {"connection_id":171078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be5"} 
[2026-09-04 15:43:04] local.INFO: Extracted packet for processing {"connection_id":171078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be5"} 
[2026-09-04 15:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644472,"longitude_deg":75.6557376,"latitude_deg":11.9644472,"altitude":77,"angle":140,"satellites":42,"speed":0,"hex_longitude":"2d182640","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-09-04 15:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860244992001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17293561263292416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398437888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788516603000,"timestamp_ms":1788516603000,"timestamp_seconds":1788516603,"priority":1,"record_length":96,"hex_timestamp":"000001a06be59478"} 
[2026-09-04 15:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 15:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860244992001,"66":12667,"120":206,"28":31744,"24":0,"16":17293561263292416,"45":1740148705398437888},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860244992001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:43:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17293561263292416,"km_value":17293561263292.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398437888,"description":"Unknown IO ID 45"} 
[2026-09-04 15:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860244992001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705398437888}} 
[2026-09-04 15:43:04] local.INFO: TCP Data received {"connection_id":172179,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:04] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:04] local.INFO: IMEI packet received {"connection_id":172179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":172179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":171078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:43:04] local.INFO: GPS data processed {"connection_id":171078,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:43:04] local.INFO: Acknowledgment sent {"connection_id":171078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:43:09] local.INFO: TCP Data received {"connection_id":172179,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:09] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:09] local.INFO: IMEI packet received {"connection_id":172179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":172179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:43:10] local.INFO: TCP Data received {"connection_id":172179,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be72ab8012cb3d6c00777fe90002700002a..."} 
[2026-09-04 15:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be72ab8012cb3d6c00777fe90002700002a..."} 
[2026-09-04 15:43:10] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be72ab8012cb3d6c00777fe90002700002a..."} 
[2026-09-04 15:43:10] local.INFO: Packet analysis {"connection_id":172179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:43:10] local.INFO: Extracted packet for processing {"connection_id":172179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749983424,"raw_latitude":125304464,"longitude_deg":74.9983424,"latitude_deg":12.5304464,"altitude":39,"angle":0,"satellites":42,"speed":35,"hex_longitude":"2cb3d6c0","hex_latitude":"0777fe90","is_valid_coordinates":true} 
[2026-09-04 15:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860276480001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398044469343027200,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5487706482617614336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788516707000,"timestamp_ms":1788516707000,"timestamp_seconds":1788516707,"priority":1,"record_length":96,"hex_timestamp":"000001a06be72ab8"} 
[2026-09-04 15:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 15:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860276480001,"66":27691,"251":206,"85":36608,"24":35,"16":398044469343027200,"44":-5487706482617614336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,44]} 
[2026-09-04 15:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860276480001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:43:10] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-04 15:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398044469343027200,"km_value":398044469343027.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5487706482617614336,"description":"Unknown IO ID 44"} 
[2026-09-04 15:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860276480001,"power":27691,"unknown_251":206,"unknown_85":36608,"ignition":35,"odometer":null,"unknown_44":-5487706482617614336}} 
[2026-09-04 15:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":172179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:43:10] local.INFO: GPS data processed {"connection_id":172179,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:43:10] local.INFO: Acknowledgment sent {"connection_id":172179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:43:12] local.INFO: TCP Data received {"connection_id":172179,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be73288012cb3d7c0077805800027000c2b..."} 
[2026-09-04 15:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be73288012cb3d7c0077805800027000c2b..."} 
[2026-09-04 15:43:12] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be73288012cb3d7c0077805800027000c2b..."} 
[2026-09-04 15:43:12] local.INFO: Packet analysis {"connection_id":172179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:43:12] local.INFO: Extracted packet for processing {"connection_id":172179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:43:12] local.INFO: GPS Element Parsed {"raw_longitude":749983680,"raw_latitude":125306240,"longitude_deg":74.998368,"latitude_deg":12.530624,"altitude":39,"angle":12,"satellites":43,"speed":36,"hex_longitude":"2cb3d7c0","hex_latitude":"07780580","is_valid_coordinates":true} 
[2026-09-04 15:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860276992001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398044555242373120,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5487987957593894912,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788516709000,"timestamp_ms":1788516709000,"timestamp_seconds":1788516709,"priority":1,"record_length":96,"hex_timestamp":"000001a06be73288"} 
[2026-09-04 15:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-04 15:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860276992001,"66":27843,"251":206,"85":36608,"24":36,"16":398044555242373120,"44":-5487987957593894912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,44]} 
[2026-09-04 15:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860276992001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:43:12] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-04 15:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398044555242373120,"km_value":398044555242373.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5487987957593894912,"description":"Unknown IO ID 44"} 
[2026-09-04 15:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860276992001,"power":27843,"unknown_251":206,"unknown_85":36608,"ignition":36,"odometer":null,"unknown_44":-5487987957593894912}} 
[2026-09-04 15:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":172179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:43:12] local.INFO: GPS data processed {"connection_id":172179,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:43:12] local.INFO: Acknowledgment sent {"connection_id":172179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:43:32] local.INFO: TCP Data received {"connection_id":173488,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:43:32] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:43:32] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:43:32] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:43:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860206336001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788516732000,"timestamp_ms":1788516732000,"timestamp_seconds":1788516732,"priority":1,"record_length":96,"hex_timestamp":"000001a06be78c60"} 
[2026-09-04 15:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860206336001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860206336001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:43:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:43:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860206336001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:43:32] local.INFO: GPS data processed {"connection_id":173488,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:43:32] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:43:44] local.INFO: TCP Data received {"connection_id":172179,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be83840012cb42b8007790248001e014929..."} 
[2026-09-04 15:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be83840012cb42b8007790248001e014929..."} 
[2026-09-04 15:43:44] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be83840012cb42b8007790248001e014929..."} 
[2026-09-04 15:43:44] local.INFO: Packet analysis {"connection_id":172179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be8"} 
[2026-09-04 15:43:44] local.INFO: Extracted packet for processing {"connection_id":172179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be8"} 
[2026-09-04 15:43:44] local.INFO: GPS Element Parsed {"raw_longitude":750005120,"raw_latitude":125370952,"longitude_deg":75.000512,"latitude_deg":12.5370952,"altitude":30,"angle":329,"satellites":41,"speed":30,"hex_longitude":"2cb42b80","hex_latitude":"07790248","is_valid_coordinates":true} 
[2026-09-04 15:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860294144001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398048004101111808,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5463570003347621888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788516776000,"timestamp_ms":1788516776000,"timestamp_seconds":1788516776,"priority":1,"record_length":96,"hex_timestamp":"000001a06be83840"} 
[2026-09-04 15:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 15:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":172179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":172179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":172179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860294144001,"66":27930,"251":206,"85":36608,"24":30,"16":398048004101111808,"44":-5463570003347621888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,44]} 
[2026-09-04 15:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860294144001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:43:44] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-04 15:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398048004101111808,"km_value":398048004101111.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:43:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5463570003347621888,"description":"Unknown IO ID 44"} 
[2026-09-04 15:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860294144001,"power":27930,"unknown_251":206,"unknown_85":36608,"ignition":30,"odometer":null,"unknown_44":-5463570003347621888}} 
[2026-09-04 15:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":172179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:43:44] local.INFO: GPS data processed {"connection_id":172179,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:43:44] local.INFO: Acknowledgment sent {"connection_id":172179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:43:44] local.INFO: TCP Data received {"connection_id":170779,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:43:44] local.INFO: Processing buffer {"connection_id":170779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:43:44] local.INFO: IMEI packet received {"connection_id":170779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":170779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:43:45] local.INFO: TCP Data received {"connection_id":170779,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:43:45] local.INFO: Processing buffer {"connection_id":170779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:43:45] local.INFO: IMEI packet received {"connection_id":170779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":170779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:43:46] local.INFO: TCP Data received {"connection_id":170779,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:43:46] local.INFO: Processing buffer {"connection_id":170779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:43:46] local.INFO: IMEI packet received {"connection_id":170779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":170779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:43:48] local.INFO: TCP Data received {"connection_id":170779,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:43:48] local.INFO: Processing buffer {"connection_id":170779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:43:48] local.INFO: IMEI packet received {"connection_id":170779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":170779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:43:48] local.INFO: TCP Data received {"connection_id":171079,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:43:48] local.INFO: Processing buffer {"connection_id":171079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:43:48] local.INFO: IMEI packet received {"connection_id":171079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":171079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:43:54] local.INFO: TCP Data received {"connection_id":171079,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:43:54] local.INFO: Processing buffer {"connection_id":171079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:43:54] local.INFO: IMEI packet received {"connection_id":171079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":171079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:43:55] local.INFO: TCP Data received {"connection_id":171079,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:43:55] local.INFO: Processing buffer {"connection_id":171079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:43:55] local.INFO: Packet analysis {"connection_id":171079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:43:55] local.INFO: Extracted packet for processing {"connection_id":171079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:43:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860206336001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788516732000,"timestamp_ms":1788516732000,"timestamp_seconds":1788516732,"priority":1,"record_length":96,"hex_timestamp":"000001a06be78c60"} 
[2026-09-04 15:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860206336001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860206336001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:43:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:43:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860206336001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":171079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763337,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:43:55] local.INFO: GPS data processed {"connection_id":171079,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:43:55] local.INFO: Acknowledgment sent {"connection_id":171079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:43:59] local.INFO: TCP Data received {"connection_id":172180,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:59] local.INFO: Processing buffer {"connection_id":172180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:59] local.INFO: IMEI packet received {"connection_id":172180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":172180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:43:59] local.INFO: TCP Data received {"connection_id":172180,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:59] local.INFO: Processing buffer {"connection_id":172180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:43:59] local.INFO: IMEI packet received {"connection_id":172180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":172180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:44:01] local.INFO: TCP Data received {"connection_id":172180,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:44:01] local.INFO: Processing buffer {"connection_id":172180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:44:01] local.INFO: IMEI packet received {"connection_id":172180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":172180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:44:02] local.INFO: TCP Data received {"connection_id":172180,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be84010012cb42800077906a0001f013727..."} 
[2026-09-04 15:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be84010012cb42800077906a0001f013727..."} 
[2026-09-04 15:44:02] local.INFO: Processing buffer {"connection_id":172180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be84010012cb42800077906a0001f013727..."} 
[2026-09-04 15:44:02] local.INFO: Packet analysis {"connection_id":172180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be8"} 
[2026-09-04 15:44:02] local.INFO: Extracted packet for processing {"connection_id":172180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be8"} 
[2026-09-04 15:44:02] local.INFO: GPS Element Parsed {"raw_longitude":750004224,"raw_latitude":125372064,"longitude_deg":75.0004224,"latitude_deg":12.5372064,"altitude":31,"angle":311,"satellites":39,"speed":26,"hex_longitude":"2cb42800","hex_latitude":"077906a0","is_valid_coordinates":true} 
[2026-09-04 15:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860294656001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398048077115555840,"note":"Value kept but may cause issues"} 
[2026-09-04 15:44:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5464132953300645888,"note":"Value kept but may cause issues"} 
[2026-09-04 15:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788516778000,"timestamp_ms":1788516778000,"timestamp_seconds":1788516778,"priority":1,"record_length":96,"hex_timestamp":"000001a06be84010"} 
[2026-09-04 15:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 15:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860294656001,"66":27865,"46":206,"85":36608,"24":26,"16":398048077115555840,"44":-5464132953300645888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,44]} 
[2026-09-04 15:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860294656001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:44:02] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-04 15:44:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398048077115555840,"km_value":398048077115555.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:44:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5464132953300645888,"description":"Unknown IO ID 44"} 
[2026-09-04 15:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860294656001,"power":27865,"unknown_46":206,"unknown_85":36608,"ignition":26,"odometer":null,"unknown_44":-5464132953300645888}} 
[2026-09-04 15:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":172180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:44:02] local.INFO: GPS data processed {"connection_id":172180,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:44:02] local.INFO: Acknowledgment sent {"connection_id":172180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:44:03] local.INFO: TCP Data received {"connection_id":172180,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be85b68012cb41a8007790fd00023012a29..."} 
[2026-09-04 15:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be85b68012cb41a8007790fd00023012a29..."} 
[2026-09-04 15:44:03] local.INFO: Processing buffer {"connection_id":172180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be85b68012cb41a8007790fd00023012a29..."} 
[2026-09-04 15:44:03] local.INFO: Packet analysis {"connection_id":172180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be8"} 
[2026-09-04 15:44:03] local.INFO: Extracted packet for processing {"connection_id":172180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be8"} 
[2026-09-04 15:44:03] local.INFO: GPS Element Parsed {"raw_longitude":750000768,"raw_latitude":125374416,"longitude_deg":75.0000768,"latitude_deg":12.5374416,"altitude":35,"angle":298,"satellites":41,"speed":22,"hex_longitude":"2cb41a80","hex_latitude":"07790fd0","is_valid_coordinates":true} 
[2026-09-04 15:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860295168001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398048274684051456,"note":"Value kept but may cause issues"} 
[2026-09-04 15:44:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465118115718848512,"note":"Value kept but may cause issues"} 
[2026-09-04 15:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788516785000,"timestamp_ms":1788516785000,"timestamp_seconds":1788516785,"priority":1,"record_length":96,"hex_timestamp":"000001a06be85b68"} 
[2026-09-04 15:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 15:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860295168001,"66":27930,"46":206,"85":36608,"24":22,"16":398048274684051456,"44":-5465118115718848512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,44]} 
[2026-09-04 15:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860295168001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:44:03] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-04 15:44:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398048274684051456,"km_value":398048274684051.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:44:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465118115718848512,"description":"Unknown IO ID 44"} 
[2026-09-04 15:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860295168001,"power":27930,"unknown_46":206,"unknown_85":36608,"ignition":22,"odometer":null,"unknown_44":-5465118115718848512}} 
[2026-09-04 15:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":172180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:44:03] local.INFO: GPS data processed {"connection_id":172180,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:44:03] local.INFO: Acknowledgment sent {"connection_id":172180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:44:27] local.INFO: TCP Data received {"connection_id":171079,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:44:27] local.INFO: Processing buffer {"connection_id":171079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:44:27] local.INFO: Packet analysis {"connection_id":171079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:44:27] local.INFO: Extracted packet for processing {"connection_id":171079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:44:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860206336001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788516732000,"timestamp_ms":1788516732000,"timestamp_seconds":1788516732,"priority":1,"record_length":96,"hex_timestamp":"000001a06be78c60"} 
[2026-09-04 15:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860206336001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860206336001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:44:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:44:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860206336001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":171079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:44:27] local.INFO: GPS data processed {"connection_id":171079,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:44:27] local.INFO: Acknowledgment sent {"connection_id":171079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:44:34] local.INFO: TCP Data received {"connection_id":172180,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be899e8012cb3f8c007792020002b012b28..."} 
[2026-09-04 15:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be899e8012cb3f8c007792020002b012b28..."} 
[2026-09-04 15:44:34] local.INFO: Processing buffer {"connection_id":172180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be899e8012cb3f8c007792020002b012b28..."} 
[2026-09-04 15:44:34] local.INFO: Packet analysis {"connection_id":172180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be8"} 
[2026-09-04 15:44:34] local.INFO: Extracted packet for processing {"connection_id":172180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be8"} 
[2026-09-04 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":749992128,"raw_latitude":125378592,"longitude_deg":74.9992128,"latitude_deg":12.5378592,"altitude":43,"angle":299,"satellites":40,"speed":24,"hex_longitude":"2cb3f8c0","hex_latitude":"07792020","is_valid_coordinates":true} 
[2026-09-04 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860296960001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398048729950584832,"note":"Value kept but may cause issues"} 
[2026-09-04 15:44:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5468918027903840256,"note":"Value kept but may cause issues"} 
[2026-09-04 15:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788516801000,"timestamp_ms":1788516801000,"timestamp_seconds":1788516801,"priority":1,"record_length":96,"hex_timestamp":"000001a06be899e8"} 
[2026-09-04 15:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 15:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860296960001,"66":27930,"46":206,"85":36608,"24":24,"16":398048729950584832,"44":-5468918027903840256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,44]} 
[2026-09-04 15:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860296960001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:44:34] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-04 15:44:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398048729950584832,"km_value":398048729950584.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:44:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5468918027903840256,"description":"Unknown IO ID 44"} 
[2026-09-04 15:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860296960001,"power":27930,"unknown_46":206,"unknown_85":36608,"ignition":24,"odometer":null,"unknown_44":-5468918027903840256}} 
[2026-09-04 15:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":172180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:44:34] local.INFO: GPS data processed {"connection_id":172180,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:44:34] local.INFO: Acknowledgment sent {"connection_id":172180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:44:53] local.INFO: TCP Data received {"connection_id":170781,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:44:53] local.INFO: Processing buffer {"connection_id":170781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:44:53] local.INFO: IMEI packet received {"connection_id":170781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":170781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:44:59] local.INFO: TCP Data received {"connection_id":172181,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:44:59] local.INFO: Processing buffer {"connection_id":172181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:44:59] local.INFO: IMEI packet received {"connection_id":172181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":172181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:44:59] local.INFO: TCP Data received {"connection_id":170781,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:44:59] local.INFO: Processing buffer {"connection_id":170781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:44:59] local.INFO: IMEI packet received {"connection_id":170781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":170781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:45:00] local.INFO: TCP Data received {"connection_id":170781,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:45:00] local.INFO: Processing buffer {"connection_id":170781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:45:00] local.INFO: Packet analysis {"connection_id":170781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:45:00] local.INFO: Extracted packet for processing {"connection_id":170781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:45:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860206336001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788516732000,"timestamp_ms":1788516732000,"timestamp_seconds":1788516732,"priority":1,"record_length":96,"hex_timestamp":"000001a06be78c60"} 
[2026-09-04 15:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860206336001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860206336001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:45:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860206336001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":170781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763342,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:45:00] local.INFO: GPS data processed {"connection_id":170781,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:45:00] local.INFO: Acknowledgment sent {"connection_id":170781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:45:04] local.INFO: TCP Data received {"connection_id":172181,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:45:04] local.INFO: Processing buffer {"connection_id":172181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:45:04] local.INFO: IMEI packet received {"connection_id":172181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":172181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:45:05] local.INFO: TCP Data received {"connection_id":170781,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:45:05] local.INFO: Processing buffer {"connection_id":170781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:45:05] local.INFO: Packet analysis {"connection_id":170781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:45:05] local.INFO: Extracted packet for processing {"connection_id":170781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860206336001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788516732000,"timestamp_ms":1788516732000,"timestamp_seconds":1788516732,"priority":1,"record_length":96,"hex_timestamp":"000001a06be78c60"} 
[2026-09-04 15:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860206336001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860206336001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:45:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860206336001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":170781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:45:05] local.INFO: GPS data processed {"connection_id":170781,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:45:05] local.INFO: Acknowledgment sent {"connection_id":170781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:45:05] local.INFO: TCP Data received {"connection_id":172181,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be945c8012cb428000779a2a8002c016228..."} 
[2026-09-04 15:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be945c8012cb428000779a2a8002c016228..."} 
[2026-09-04 15:45:05] local.INFO: Processing buffer {"connection_id":172181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be945c8012cb428000779a2a8002c016228..."} 
[2026-09-04 15:45:05] local.INFO: Packet analysis {"connection_id":172181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be9"} 
[2026-09-04 15:45:05] local.INFO: Extracted packet for processing {"connection_id":172181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be9"} 
[2026-09-04 15:45:05] local.INFO: GPS Element Parsed {"raw_longitude":750004224,"raw_latitude":125412008,"longitude_deg":75.0004224,"latitude_deg":12.5412008,"altitude":44,"angle":354,"satellites":40,"speed":28,"hex_longitude":"2cb42800","hex_latitude":"0779a2a8","is_valid_coordinates":true} 
[2026-09-04 15:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860310784001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398050576786522112,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5466173646872522752,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788516845000,"timestamp_ms":1788516845000,"timestamp_seconds":1788516845,"priority":1,"record_length":96,"hex_timestamp":"000001a06be945c8"} 
[2026-09-04 15:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 15:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860310784001,"66":27843,"46":206,"85":36608,"24":28,"16":398050576786522112,"44":-5466173646872522752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,44]} 
[2026-09-04 15:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860310784001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:45:05] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-04 15:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398050576786522112,"km_value":398050576786522.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:45:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5466173646872522752,"description":"Unknown IO ID 44"} 
[2026-09-04 15:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860310784001,"power":27843,"unknown_46":206,"unknown_85":36608,"ignition":28,"odometer":null,"unknown_44":-5466173646872522752}} 
[2026-09-04 15:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":172181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:45:05] local.INFO: GPS data processed {"connection_id":172181,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:45:05] local.INFO: Acknowledgment sent {"connection_id":172181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:45:36] local.INFO: TCP Data received {"connection_id":172181,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06be94d98012cb426800779a878002c01562a..."} 
[2026-09-04 15:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be94d98012cb426800779a878002c01562a..."} 
[2026-09-04 15:45:36] local.INFO: Processing buffer {"connection_id":172181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be94d98012cb426800779a878002c01562a..."} 
[2026-09-04 15:45:36] local.INFO: Packet analysis {"connection_id":172181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be9"} 
[2026-09-04 15:45:36] local.INFO: Extracted packet for processing {"connection_id":172181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be9"} 
[2026-09-04 15:45:36] local.INFO: GPS Element Parsed {"raw_longitude":750003840,"raw_latitude":125413496,"longitude_deg":75.000384,"latitude_deg":12.5413496,"altitude":44,"angle":342,"satellites":42,"speed":31,"hex_longitude":"2cb42680","hex_latitude":"0779a878","is_valid_coordinates":true} 
[2026-09-04 15:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860312320001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398050649800966144,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465118115708622848,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788516847000,"timestamp_ms":1788516847000,"timestamp_seconds":1788516847,"priority":1,"record_length":96,"hex_timestamp":"000001a06be94d98"} 
[2026-09-04 15:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 15:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860312320001,"66":28148,"46":206,"85":36608,"24":31,"16":398050649800966144,"44":-5465118115708622848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,44]} 
[2026-09-04 15:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860312320001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:45:36] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-04 15:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398050649800966144,"km_value":398050649800966.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:45:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465118115708622848,"description":"Unknown IO ID 44"} 
[2026-09-04 15:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860312320001,"power":28148,"unknown_46":206,"unknown_85":36608,"ignition":31,"odometer":null,"unknown_44":-5465118115708622848}} 
[2026-09-04 15:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":172181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:45:36] local.INFO: GPS data processed {"connection_id":172181,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:45:36] local.INFO: Acknowledgment sent {"connection_id":172181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:45:52] local.INFO: TCP Data received {"connection_id":170783,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:45:52] local.INFO: Processing buffer {"connection_id":170783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:45:52] local.INFO: IMEI packet received {"connection_id":170783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":170783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:45:53] local.INFO: TCP Data received {"connection_id":170783,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:45:53] local.INFO: Processing buffer {"connection_id":170783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:45:53] local.INFO: IMEI packet received {"connection_id":170783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":170783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:45:55] local.INFO: TCP Data received {"connection_id":170783,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:45:55] local.INFO: Processing buffer {"connection_id":170783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:45:55] local.INFO: Packet analysis {"connection_id":170783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:45:55] local.INFO: Extracted packet for processing {"connection_id":170783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:45:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860206336001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788516732000,"timestamp_ms":1788516732000,"timestamp_seconds":1788516732,"priority":1,"record_length":96,"hex_timestamp":"000001a06be78c60"} 
[2026-09-04 15:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860206336001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860206336001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:45:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:45:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860206336001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":170783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763346,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:45:55] local.INFO: GPS data processed {"connection_id":170783,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:45:55] local.INFO: Acknowledgment sent {"connection_id":170783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:45:59] local.INFO: TCP Data received {"connection_id":172182,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:45:59] local.INFO: Processing buffer {"connection_id":172182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:45:59] local.INFO: IMEI packet received {"connection_id":172182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":172182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:46:00] local.INFO: TCP Data received {"connection_id":170783,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:46:00] local.INFO: Processing buffer {"connection_id":170783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:46:00] local.INFO: Packet analysis {"connection_id":170783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:46:00] local.INFO: Extracted packet for processing {"connection_id":170783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:46:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860206336001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788516732000,"timestamp_ms":1788516732000,"timestamp_seconds":1788516732,"priority":1,"record_length":96,"hex_timestamp":"000001a06be78c60"} 
[2026-09-04 15:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860206336001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860206336001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:46:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860206336001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":170783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:46:00] local.INFO: GPS data processed {"connection_id":170783,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:46:00] local.INFO: Acknowledgment sent {"connection_id":170783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:46:02] local.INFO: TCP Data received {"connection_id":172182,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:46:02] local.INFO: Processing buffer {"connection_id":172182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:46:02] local.INFO: IMEI packet received {"connection_id":172182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":172182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:46:02] local.INFO: TCP Data received {"connection_id":172182,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bea1ca0012cb42e80077a3080003401562c..."} 
[2026-09-04 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bea1ca0012cb42e80077a3080003401562c..."} 
[2026-09-04 15:46:02] local.INFO: Processing buffer {"connection_id":172182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bea1ca0012cb42e80077a3080003401562c..."} 
[2026-09-04 15:46:02] local.INFO: Packet analysis {"connection_id":172182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bea"} 
[2026-09-04 15:46:02] local.INFO: Extracted packet for processing {"connection_id":172182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bea"} 
[2026-09-04 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":750005888,"raw_latitude":125448320,"longitude_deg":75.0005888,"latitude_deg":12.544832,"altitude":52,"angle":342,"satellites":44,"speed":27,"hex_longitude":"2cb42e80","hex_latitude":"077a3080","is_valid_coordinates":true} 
[2026-09-04 15:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860326144001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398052612601020416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5463218159606700032,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788516900000,"timestamp_ms":1788516900000,"timestamp_seconds":1788516900,"priority":1,"record_length":96,"hex_timestamp":"000001a06bea1ca0"} 
[2026-09-04 15:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 15:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860326144001,"66":27843,"47":206,"85":36608,"24":27,"16":398052612601020416,"44":-5463218159606700032},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,44]} 
[2026-09-04 15:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860326144001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:46:02] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-04 15:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398052612601020416,"km_value":398052612601020.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:46:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5463218159606700032,"description":"Unknown IO ID 44"} 
[2026-09-04 15:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860326144001,"power":27843,"unknown_47":206,"unknown_85":36608,"ignition":27,"odometer":null,"unknown_44":-5463218159606700032}} 
[2026-09-04 15:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":172182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:46:02] local.INFO: GPS data processed {"connection_id":172182,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:46:02] local.INFO: Acknowledgment sent {"connection_id":172182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:46:32] local.INFO: TCP Data received {"connection_id":170783,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:46:32] local.INFO: Processing buffer {"connection_id":170783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:46:32] local.INFO: Packet analysis {"connection_id":170783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:46:32] local.INFO: Extracted packet for processing {"connection_id":170783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:46:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860206336001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788516732000,"timestamp_ms":1788516732000,"timestamp_seconds":1788516732,"priority":1,"record_length":96,"hex_timestamp":"000001a06be78c60"} 
[2026-09-04 15:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860206336001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860206336001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:46:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:46:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860206336001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":170783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763349,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:46:32] local.INFO: GPS data processed {"connection_id":170783,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:46:32] local.INFO: Acknowledgment sent {"connection_id":170783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:46:33] local.INFO: TCP Data received {"connection_id":172182,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bea2088012cb42d00077a3300003401482c..."} 
[2026-09-04 15:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bea2088012cb42d00077a3300003401482c..."} 
[2026-09-04 15:46:33] local.INFO: Processing buffer {"connection_id":172182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bea2088012cb42d00077a3300003401482c..."} 
[2026-09-04 15:46:33] local.INFO: Packet analysis {"connection_id":172182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bea"} 
[2026-09-04 15:46:33] local.INFO: Extracted packet for processing {"connection_id":172182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bea"} 
[2026-09-04 15:46:33] local.INFO: GPS Element Parsed {"raw_longitude":750005504,"raw_latitude":125448960,"longitude_deg":75.0005504,"latitude_deg":12.544896,"altitude":52,"angle":328,"satellites":44,"speed":29,"hex_longitude":"2cb42d00","hex_latitude":"077a3300","is_valid_coordinates":true} 
[2026-09-04 15:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860326400001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398052646960758784,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5463288528350707712,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788516901000,"timestamp_ms":1788516901000,"timestamp_seconds":1788516901,"priority":1,"record_length":96,"hex_timestamp":"000001a06bea2088"} 
[2026-09-04 15:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 15:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860326400001,"66":27843,"47":206,"85":36608,"24":29,"16":398052646960758784,"44":-5463288528350707712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,44]} 
[2026-09-04 15:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860326400001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:46:33] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-04 15:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398052646960758784,"km_value":398052646960758.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:46:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5463288528350707712,"description":"Unknown IO ID 44"} 
[2026-09-04 15:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860326400001,"power":27843,"unknown_47":206,"unknown_85":36608,"ignition":29,"odometer":null,"unknown_44":-5463288528350707712}} 
[2026-09-04 15:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":172182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:46:33] local.INFO: GPS data processed {"connection_id":172182,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:46:33] local.INFO: Acknowledgment sent {"connection_id":172182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:46:48] local.INFO: TCP Data received {"connection_id":171080,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:46:48] local.INFO: Processing buffer {"connection_id":171080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:46:48] local.INFO: IMEI packet received {"connection_id":171080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":171080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:46:54] local.INFO: TCP Data received {"connection_id":171080,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:46:54] local.INFO: Processing buffer {"connection_id":171080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:46:54] local.INFO: IMEI packet received {"connection_id":171080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":171080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:46:55] local.INFO: TCP Data received {"connection_id":171080,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:46:55] local.INFO: Processing buffer {"connection_id":171080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:46:55] local.INFO: Packet analysis {"connection_id":171080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:46:55] local.INFO: Extracted packet for processing {"connection_id":171080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:46:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860206336001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788516732000,"timestamp_ms":1788516732000,"timestamp_seconds":1788516732,"priority":1,"record_length":96,"hex_timestamp":"000001a06be78c60"} 
[2026-09-04 15:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171080,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171080,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860206336001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860206336001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:46:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:46:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860206336001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":171080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:46:55] local.INFO: GPS data processed {"connection_id":171080,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:46:55] local.INFO: Acknowledgment sent {"connection_id":171080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:46:59] local.INFO: TCP Data received {"connection_id":173489,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:46:59] local.INFO: Processing buffer {"connection_id":173489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:46:59] local.INFO: IMEI packet received {"connection_id":173489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":173489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:47:00] local.INFO: TCP Data received {"connection_id":173489,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:47:00] local.INFO: Processing buffer {"connection_id":173489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:47:00] local.INFO: IMEI packet received {"connection_id":173489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":173489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:47:00] local.INFO: TCP Data received {"connection_id":173489,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:47:00] local.INFO: Processing buffer {"connection_id":173489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:47:00] local.INFO: IMEI packet received {"connection_id":173489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":173489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:47:09] local.INFO: TCP Data received {"connection_id":173489,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:47:09] local.INFO: Processing buffer {"connection_id":173489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:47:09] local.INFO: IMEI packet received {"connection_id":173489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":173489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:47:11] local.INFO: TCP Data received {"connection_id":173489,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06beb0318012cb36680077aedc80016015029..."} 
[2026-09-04 15:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06beb0318012cb36680077aedc80016015029..."} 
[2026-09-04 15:47:11] local.INFO: Processing buffer {"connection_id":173489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06beb0318012cb36680077aedc80016015029..."} 
[2026-09-04 15:47:11] local.INFO: Packet analysis {"connection_id":173489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06beb"} 
[2026-09-04 15:47:11] local.INFO: Extracted packet for processing {"connection_id":173489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06beb"} 
[2026-09-04 15:47:11] local.INFO: GPS Element Parsed {"raw_longitude":749954688,"raw_latitude":125496776,"longitude_deg":74.9954688,"latitude_deg":12.5496776,"altitude":22,"angle":336,"satellites":41,"speed":30,"hex_longitude":"2cb36680","hex_latitude":"077aedc8","is_valid_coordinates":true} 
[2026-09-04 15:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860341248001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398056048574857216,"note":"Value kept but may cause issues"} 
[2026-09-04 15:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5519090942471360512,"note":"Value kept but may cause issues"} 
[2026-09-04 15:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788516959000,"timestamp_ms":1788516959000,"timestamp_seconds":1788516959,"priority":1,"record_length":96,"hex_timestamp":"000001a06beb0318"} 
[2026-09-04 15:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 15:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860341248001,"66":27865,"47":206,"85":36608,"24":30,"16":398056048574857216,"44":-5519090942471360512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,44]} 
[2026-09-04 15:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860341248001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:47:11] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-04 15:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 15:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398056048574857216,"km_value":398056048574857.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5519090942471360512,"description":"Unknown IO ID 44"} 
[2026-09-04 15:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860341248001,"power":27865,"unknown_47":206,"unknown_85":36608,"ignition":30,"odometer":null,"unknown_44":-5519090942471360512}} 
[2026-09-04 15:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":173489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:47:11] local.INFO: GPS data processed {"connection_id":173489,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:47:11] local.INFO: Acknowledgment sent {"connection_id":173489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:47:27] local.INFO: TCP Data received {"connection_id":171080,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:47:27] local.INFO: Processing buffer {"connection_id":171080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06be78c60012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:47:27] local.INFO: Packet analysis {"connection_id":171080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:47:27] local.INFO: Extracted packet for processing {"connection_id":171080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06be7"} 
[2026-09-04 15:47:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860206336001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788516732000,"timestamp_ms":1788516732000,"timestamp_seconds":1788516732,"priority":1,"record_length":96,"hex_timestamp":"000001a06be78c60"} 
[2026-09-04 15:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 15:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171080,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171080,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860206336001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860206336001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:47:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:47:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860206336001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":171080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763353,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:47:28] local.INFO: GPS data processed {"connection_id":171080,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:47:28] local.INFO: Acknowledgment sent {"connection_id":171080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:47:48] local.INFO: TCP Data received {"connection_id":172184,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:47:48] local.INFO: Processing buffer {"connection_id":172184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:47:48] local.INFO: IMEI packet received {"connection_id":172184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":172184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:47:50] local.INFO: TCP Data received {"connection_id":172184,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:47:50] local.INFO: Processing buffer {"connection_id":172184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:47:50] local.INFO: IMEI packet received {"connection_id":172184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":172184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:47:54] local.INFO: TCP Data received {"connection_id":172184,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:47:54] local.INFO: Processing buffer {"connection_id":172184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:47:54] local.INFO: IMEI packet received {"connection_id":172184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":172184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:47:56] local.INFO: TCP Data received {"connection_id":172184,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:47:56] local.INFO: Processing buffer {"connection_id":172184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:47:56] local.INFO: Packet analysis {"connection_id":172184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:47:56] local.INFO: Extracted packet for processing {"connection_id":172184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:47:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860283392001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788517033000,"timestamp_ms":1788517033000,"timestamp_seconds":1788517033,"priority":1,"record_length":96,"hex_timestamp":"000001a06bec2428"} 
[2026-09-04 15:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860283392001,"66":24854,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860283392001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:47:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:47:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860283392001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":172184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763354,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:47:56] local.INFO: GPS data processed {"connection_id":172184,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:47:56] local.INFO: Acknowledgment sent {"connection_id":172184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:47:59] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:47:59] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:47:59] local.INFO: IMEI packet received {"connection_id":173490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":173490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:48:00] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:48:00] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:48:00] local.INFO: IMEI packet received {"connection_id":173490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":173490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:48:01] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:48:01] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:48:01] local.INFO: IMEI packet received {"connection_id":173490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":173490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:48:02] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:48:02] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:48:02] local.INFO: IMEI packet received {"connection_id":173490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":173490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:48:27] local.INFO: TCP Data received {"connection_id":172184,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:48:27] local.INFO: Processing buffer {"connection_id":172184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:48:27] local.INFO: Packet analysis {"connection_id":172184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:48:27] local.INFO: Extracted packet for processing {"connection_id":172184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:48:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860283392001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788517033000,"timestamp_ms":1788517033000,"timestamp_seconds":1788517033,"priority":1,"record_length":96,"hex_timestamp":"000001a06bec2428"} 
[2026-09-04 15:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860283392001,"66":24854,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860283392001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:48:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:48:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860283392001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":172184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:48:28] local.INFO: GPS data processed {"connection_id":172184,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:48:28] local.INFO: Acknowledgment sent {"connection_id":172184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:48:49] local.INFO: TCP Data received {"connection_id":170784,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:48:49] local.INFO: Processing buffer {"connection_id":170784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:48:49] local.INFO: IMEI packet received {"connection_id":170784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":170784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:48:53] local.INFO: TCP Data received {"connection_id":170785,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:48:53] local.INFO: Processing buffer {"connection_id":170785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:48:53] local.INFO: IMEI packet received {"connection_id":170785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":170785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:48:54] local.INFO: TCP Data received {"connection_id":170784,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:48:54] local.INFO: Processing buffer {"connection_id":170784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:48:54] local.INFO: IMEI packet received {"connection_id":170784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":170784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:48:54] local.INFO: TCP Data received {"connection_id":170785,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bea0148012d1826000721b988004e014327..."} 
[2026-09-04 15:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bea0148012d1826000721b988004e014327..."} 
[2026-09-04 15:48:54] local.INFO: Processing buffer {"connection_id":170785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bea0148012d1826000721b988004e014327..."} 
[2026-09-04 15:48:54] local.INFO: Packet analysis {"connection_id":170785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bea"} 
[2026-09-04 15:48:54] local.INFO: Extracted packet for processing {"connection_id":170785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bea"} 
[2026-09-04 15:48:54] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650696,"longitude_deg":75.6557312,"latitude_deg":11.9650696,"altitude":78,"angle":323,"satellites":39,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b988","is_valid_coordinates":true} 
[2026-09-04 15:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860319232001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17294020824793088,"note":"Value kept but may cause issues"} 
[2026-09-04 15:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655853568,"note":"Value kept but may cause issues"} 
[2026-09-04 15:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788516893000,"timestamp_ms":1788516893000,"timestamp_seconds":1788516893,"priority":1,"record_length":96,"hex_timestamp":"000001a06bea0148"} 
[2026-09-04 15:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 15:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860319232001,"66":12809,"120":206,"28":31744,"24":0,"16":17294020824793088,"45":1740078336655853568},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860319232001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:48:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:48:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17294020824793088,"km_value":17294020824793.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655853568,"description":"Unknown IO ID 45"} 
[2026-09-04 15:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860319232001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740078336655853568}} 
[2026-09-04 15:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":170785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:48:54] local.INFO: GPS data processed {"connection_id":170785,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:48:54] local.INFO: Acknowledgment sent {"connection_id":170785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:48:55] local.INFO: TCP Data received {"connection_id":170784,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:48:55] local.INFO: Processing buffer {"connection_id":170784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:48:55] local.INFO: Packet analysis {"connection_id":170784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:48:55] local.INFO: Extracted packet for processing {"connection_id":170784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:48:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860283392001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517033000,"timestamp_ms":1788517033000,"timestamp_seconds":1788517033,"priority":1,"record_length":96,"hex_timestamp":"000001a06bec2428"} 
[2026-09-04 15:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860283392001,"66":24854,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860283392001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:48:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860283392001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":170784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763357,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:48:55] local.INFO: GPS data processed {"connection_id":170784,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:48:55] local.INFO: Acknowledgment sent {"connection_id":170784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:49:26] local.INFO: TCP Data received {"connection_id":170785,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bed4150012d1824800721b8c8004d00cf2a..."} 
[2026-09-04 15:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bed4150012d1824800721b8c8004d00cf2a..."} 
[2026-09-04 15:49:26] local.INFO: Processing buffer {"connection_id":170785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bed4150012d1824800721b8c8004d00cf2a..."} 
[2026-09-04 15:49:26] local.INFO: Packet analysis {"connection_id":170785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bed"} 
[2026-09-04 15:49:26] local.INFO: Extracted packet for processing {"connection_id":170785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bed"} 
[2026-09-04 15:49:26] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650504,"longitude_deg":75.6556928,"latitude_deg":11.9650504,"altitude":77,"angle":207,"satellites":42,"speed":6,"hex_longitude":"2d182480","hex_latitude":"0721b8c8","is_valid_coordinates":true} 
[2026-09-04 15:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860378368001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17294038004662272,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655853568,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788517106000,"timestamp_ms":1788517106000,"timestamp_seconds":1788517106,"priority":1,"record_length":96,"hex_timestamp":"000001a06bed4150"} 
[2026-09-04 15:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-04 15:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860378368001,"66":14135,"120":206,"28":31744,"24":6,"16":17294038004662272,"45":1740078336655853568},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860378368001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:49:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:49:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17294038004662272,"km_value":17294038004662.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655853568,"description":"Unknown IO ID 45"} 
[2026-09-04 15:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860378368001,"power":14135,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1740078336655853568}} 
[2026-09-04 15:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":170785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:49:26] local.INFO: GPS data processed {"connection_id":170785,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:49:26] local.INFO: Acknowledgment sent {"connection_id":170785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:49:26] local.INFO: TCP Data received {"connection_id":170784,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:49:26] local.INFO: Processing buffer {"connection_id":170784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:49:26] local.INFO: Packet analysis {"connection_id":170784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:49:26] local.INFO: Extracted packet for processing {"connection_id":170784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:49:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860283392001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788517033000,"timestamp_ms":1788517033000,"timestamp_seconds":1788517033,"priority":1,"record_length":96,"hex_timestamp":"000001a06bec2428"} 
[2026-09-04 15:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860283392001,"66":24854,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860283392001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:49:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:49:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860283392001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":170784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763359,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:49:26] local.INFO: GPS data processed {"connection_id":170784,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:49:26] local.INFO: Acknowledgment sent {"connection_id":170784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:49:48] local.INFO: TCP Data received {"connection_id":171082,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:49:48] local.INFO: Processing buffer {"connection_id":171082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:49:48] local.INFO: IMEI packet received {"connection_id":171082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":171082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:49:50] local.INFO: TCP Data received {"connection_id":170786,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:49:50] local.INFO: Processing buffer {"connection_id":170786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:49:50] local.INFO: IMEI packet received {"connection_id":170786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":170786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:49:53] local.INFO: TCP Data received {"connection_id":170786,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:49:53] local.INFO: Processing buffer {"connection_id":170786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:49:53] local.INFO: IMEI packet received {"connection_id":170786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":170786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:49:53] local.INFO: TCP Data received {"connection_id":170786,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:49:53] local.INFO: Processing buffer {"connection_id":170786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:49:53] local.INFO: IMEI packet received {"connection_id":170786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":170786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:49:54] local.INFO: TCP Data received {"connection_id":170786,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:49:54] local.INFO: Processing buffer {"connection_id":170786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:49:54] local.INFO: IMEI packet received {"connection_id":170786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":170786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:49:54] local.INFO: TCP Data received {"connection_id":171082,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:49:54] local.INFO: Processing buffer {"connection_id":171082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:49:54] local.INFO: IMEI packet received {"connection_id":171082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":171082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:49:55] local.INFO: TCP Data received {"connection_id":170786,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bed7be8012d181d400721add0004c00e228..."} 
[2026-09-04 15:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bed7be8012d181d400721add0004c00e228..."} 
[2026-09-04 15:49:55] local.INFO: Processing buffer {"connection_id":170786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bed7be8012d181d400721add0004c00e228..."} 
[2026-09-04 15:49:55] local.INFO: Packet analysis {"connection_id":170786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bed"} 
[2026-09-04 15:49:55] local.INFO: Extracted packet for processing {"connection_id":170786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bed"} 
[2026-09-04 15:49:55] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647696,"longitude_deg":75.6555072,"latitude_deg":11.9647696,"altitude":76,"angle":226,"satellites":40,"speed":9,"hex_longitude":"2d181d40","hex_latitude":"0721add0","is_valid_coordinates":true} 
[2026-09-04 15:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860379136001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17294201213419520,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190738432,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517121000,"timestamp_ms":1788517121000,"timestamp_seconds":1788517121,"priority":1,"record_length":96,"hex_timestamp":"000001a06bed7be8"} 
[2026-09-04 15:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-04 15:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860379136001,"66":14233,"120":206,"28":31744,"24":9,"16":17294201213419520,"45":1739656124190738432},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860379136001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:49:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:49:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17294201213419520,"km_value":17294201213419.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190738432,"description":"Unknown IO ID 45"} 
[2026-09-04 15:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860379136001,"power":14233,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1739656124190738432}} 
[2026-09-04 15:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":170786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:49:55] local.INFO: GPS data processed {"connection_id":170786,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:49:55] local.INFO: Acknowledgment sent {"connection_id":170786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:49:55] local.INFO: TCP Data received {"connection_id":171082,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:49:55] local.INFO: Processing buffer {"connection_id":171082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:49:55] local.INFO: Packet analysis {"connection_id":171082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:49:55] local.INFO: Extracted packet for processing {"connection_id":171082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860283392001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517033000,"timestamp_ms":1788517033000,"timestamp_seconds":1788517033,"priority":1,"record_length":96,"hex_timestamp":"000001a06bec2428"} 
[2026-09-04 15:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860283392001,"66":24854,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860283392001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:49:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:49:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860283392001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":171082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763361,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:49:55] local.INFO: GPS data processed {"connection_id":171082,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:49:55] local.INFO: Acknowledgment sent {"connection_id":171082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:49:59] local.INFO: TCP Data received {"connection_id":170786,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bed8b88012d181b400721abc0004c00d327..."} 
[2026-09-04 15:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bed8b88012d181b400721abc0004c00d327..."} 
[2026-09-04 15:49:59] local.INFO: Processing buffer {"connection_id":170786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bed8b88012d181b400721abc0004c00d327..."} 
[2026-09-04 15:49:59] local.INFO: Packet analysis {"connection_id":170786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bed"} 
[2026-09-04 15:49:59] local.INFO: Extracted packet for processing {"connection_id":170786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bed"} 
[2026-09-04 15:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119647168,"longitude_deg":75.655456,"latitude_deg":11.9647168,"altitude":76,"angle":211,"satellites":39,"speed":2,"hex_longitude":"2d181b40","hex_latitude":"0721abc0","is_valid_coordinates":true} 
[2026-09-04 15:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860382976001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17294239868125184,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608867328,"note":"Value kept but may cause issues"} 
[2026-09-04 15:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788517125000,"timestamp_ms":1788517125000,"timestamp_seconds":1788517125,"priority":1,"record_length":96,"hex_timestamp":"000001a06bed8b88"} 
[2026-09-04 15:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 15:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860382976001,"66":14102,"120":206,"28":31744,"24":2,"16":17294239868125184,"45":1737615430608867328},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860382976001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:49:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17294239868125184,"km_value":17294239868125.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608867328,"description":"Unknown IO ID 45"} 
[2026-09-04 15:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860382976001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1737615430608867328}} 
[2026-09-04 15:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":170786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:49:59] local.INFO: GPS data processed {"connection_id":170786,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:49:59] local.INFO: Acknowledgment sent {"connection_id":170786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:50:27] local.INFO: TCP Data received {"connection_id":171082,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:50:27] local.INFO: Processing buffer {"connection_id":171082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:50:27] local.INFO: Packet analysis {"connection_id":171082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:50:27] local.INFO: Extracted packet for processing {"connection_id":171082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:50:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860283392001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788517033000,"timestamp_ms":1788517033000,"timestamp_seconds":1788517033,"priority":1,"record_length":96,"hex_timestamp":"000001a06bec2428"} 
[2026-09-04 15:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860283392001,"66":24854,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860283392001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:50:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:50:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860283392001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":171082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763363,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:50:27] local.INFO: GPS data processed {"connection_id":171082,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:50:27] local.INFO: Acknowledgment sent {"connection_id":171082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:50:30] local.INFO: TCP Data received {"connection_id":170786,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bedb298012d181b000721aab8004c00c327..."} 
[2026-09-04 15:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bedb298012d181b000721aab8004c00c327..."} 
[2026-09-04 15:50:30] local.INFO: Processing buffer {"connection_id":170786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bedb298012d181b000721aab8004c00c327..."} 
[2026-09-04 15:50:30] local.INFO: Packet analysis {"connection_id":170786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bed"} 
[2026-09-04 15:50:30] local.INFO: Extracted packet for processing {"connection_id":170786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bed"} 
[2026-09-04 15:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119646904,"longitude_deg":75.6554496,"latitude_deg":11.9646904,"altitude":76,"angle":195,"satellites":39,"speed":4,"hex_longitude":"2d181b00","hex_latitude":"0721aab8","is_valid_coordinates":true} 
[2026-09-04 15:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860384000001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17294252753027072,"note":"Value kept but may cause issues"} 
[2026-09-04 15:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480655310848,"note":"Value kept but may cause issues"} 
[2026-09-04 15:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788517135000,"timestamp_ms":1788517135000,"timestamp_seconds":1788517135,"priority":1,"record_length":96,"hex_timestamp":"000001a06bedb298"} 
[2026-09-04 15:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 15:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860384000001,"66":14233,"120":206,"28":31744,"24":4,"16":17294252753027072,"45":1737052480655310848},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860384000001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:50:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17294252753027072,"km_value":17294252753027.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480655310848,"description":"Unknown IO ID 45"} 
[2026-09-04 15:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860384000001,"power":14233,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1737052480655310848}} 
[2026-09-04 15:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":170786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:50:31] local.INFO: GPS data processed {"connection_id":170786,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:50:31] local.INFO: Acknowledgment sent {"connection_id":170786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:50:45] local.INFO: TCP Data received {"connection_id":171083,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:50:45] local.INFO: Processing buffer {"connection_id":171083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:50:45] local.INFO: IMEI packet received {"connection_id":171083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":171083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:50:48] local.INFO: TCP Data received {"connection_id":171083,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:50:48] local.INFO: Processing buffer {"connection_id":171083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:50:48] local.INFO: IMEI packet received {"connection_id":171083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":171083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:50:48] local.INFO: TCP Data received {"connection_id":172186,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:50:48] local.INFO: Processing buffer {"connection_id":172186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:50:48] local.INFO: IMEI packet received {"connection_id":172186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":172186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:50:53] local.INFO: TCP Data received {"connection_id":171083,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:50:53] local.INFO: Processing buffer {"connection_id":171083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:50:53] local.INFO: IMEI packet received {"connection_id":171083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":171083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:50:54] local.INFO: TCP Data received {"connection_id":172186,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:50:54] local.INFO: Processing buffer {"connection_id":172186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:50:54] local.INFO: IMEI packet received {"connection_id":172186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":172186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:50:54] local.INFO: TCP Data received {"connection_id":171083,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bedb680012d181b000721aa40004c00aa27..."} 
[2026-09-04 15:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bedb680012d181b000721aa40004c00aa27..."} 
[2026-09-04 15:50:54] local.INFO: Processing buffer {"connection_id":171083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bedb680012d181b000721aa40004c00aa27..."} 
[2026-09-04 15:50:54] local.INFO: Packet analysis {"connection_id":171083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bed"} 
[2026-09-04 15:50:54] local.INFO: Extracted packet for processing {"connection_id":171083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bed"} 
[2026-09-04 15:50:54] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119646784,"longitude_deg":75.6554496,"latitude_deg":11.9646784,"altitude":76,"angle":170,"satellites":39,"speed":4,"hex_longitude":"2d181b00","hex_latitude":"0721aa40","is_valid_coordinates":true} 
[2026-09-04 15:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860386560001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17294257047994368,"note":"Value kept but may cause issues"} 
[2026-09-04 15:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111911065600,"note":"Value kept but may cause issues"} 
[2026-09-04 15:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788517136000,"timestamp_ms":1788517136000,"timestamp_seconds":1788517136,"priority":1,"record_length":96,"hex_timestamp":"000001a06bedb680"} 
[2026-09-04 15:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 15:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860386560001,"66":14233,"120":206,"28":31744,"24":4,"16":17294257047994368,"45":1736982111911065600},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-04 15:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860386560001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:50:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-04 15:50:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17294257047994368,"km_value":17294257047994.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111911065600,"description":"Unknown IO ID 45"} 
[2026-09-04 15:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860386560001,"power":14233,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1736982111911065600}} 
[2026-09-04 15:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":171083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:50:55] local.INFO: GPS data processed {"connection_id":171083,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:50:55] local.INFO: Acknowledgment sent {"connection_id":171083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:50:55] local.INFO: TCP Data received {"connection_id":172186,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:50:55] local.INFO: Processing buffer {"connection_id":172186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:50:55] local.INFO: Packet analysis {"connection_id":172186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:50:55] local.INFO: Extracted packet for processing {"connection_id":172186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:50:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860283392001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517033000,"timestamp_ms":1788517033000,"timestamp_seconds":1788517033,"priority":1,"record_length":96,"hex_timestamp":"000001a06bec2428"} 
[2026-09-04 15:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860283392001,"66":24854,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860283392001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:50:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:50:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860283392001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":172186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763366,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:50:55] local.INFO: GPS data processed {"connection_id":172186,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:50:55] local.INFO: Acknowledgment sent {"connection_id":172186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:51:26] local.INFO: TCP Data received {"connection_id":171083,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bef19f8012d1884c0072181d0004c006728..."} 
[2026-09-04 15:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bef19f8012d1884c0072181d0004c006728..."} 
[2026-09-04 15:51:26] local.INFO: Processing buffer {"connection_id":171083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bef19f8012d1884c0072181d0004c006728..."} 
[2026-09-04 15:51:26] local.INFO: Packet analysis {"connection_id":171083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bef"} 
[2026-09-04 15:51:26] local.INFO: Extracted packet for processing {"connection_id":171083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bef"} 
[2026-09-04 15:51:26] local.INFO: GPS Element Parsed {"raw_longitude":756581568,"raw_latitude":119636432,"longitude_deg":75.6581568,"latitude_deg":11.9636432,"altitude":76,"angle":103,"satellites":40,"speed":33,"hex_longitude":"2d1884c0","hex_latitude":"072181d0","is_valid_coordinates":true} 
[2026-09-04 15:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860408320001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17295687272103936,"note":"Value kept but may cause issues"} 
[2026-09-04 15:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760485272463742976,"note":"Value kept but may cause issues"} 
[2026-09-04 15:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788517227000,"timestamp_ms":1788517227000,"timestamp_seconds":1788517227,"priority":1,"record_length":96,"hex_timestamp":"000001a06bef19f8"} 
[2026-09-04 15:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 15:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860408320001,"66":13004,"121":206,"28":31744,"24":33,"16":17295687272103936,"45":1760485272463742976},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860408320001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:51:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:51:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17295687272103936,"km_value":17295687272103.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760485272463742976,"description":"Unknown IO ID 45"} 
[2026-09-04 15:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860408320001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1760485272463742976}} 
[2026-09-04 15:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":171083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:51:26] local.INFO: GPS data processed {"connection_id":171083,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:51:26] local.INFO: Acknowledgment sent {"connection_id":171083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:51:27] local.INFO: TCP Data received {"connection_id":172186,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:51:27] local.INFO: Processing buffer {"connection_id":172186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:51:27] local.INFO: Packet analysis {"connection_id":172186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:51:27] local.INFO: Extracted packet for processing {"connection_id":172186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:51:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860283392001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788517033000,"timestamp_ms":1788517033000,"timestamp_seconds":1788517033,"priority":1,"record_length":96,"hex_timestamp":"000001a06bec2428"} 
[2026-09-04 15:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860283392001,"66":24854,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860283392001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:51:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:51:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860283392001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":172186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:51:27] local.INFO: GPS data processed {"connection_id":172186,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:51:27] local.INFO: Acknowledgment sent {"connection_id":172186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:51:48] local.INFO: TCP Data received {"connection_id":173492,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:51:48] local.INFO: Processing buffer {"connection_id":173492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:51:48] local.INFO: IMEI packet received {"connection_id":173492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":173492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:51:49] local.INFO: TCP Data received {"connection_id":170788,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:51:49] local.INFO: Processing buffer {"connection_id":170788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:51:49] local.INFO: IMEI packet received {"connection_id":170788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":170788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:51:49] local.INFO: TCP Data received {"connection_id":170788,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:51:49] local.INFO: Processing buffer {"connection_id":170788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:51:49] local.INFO: IMEI packet received {"connection_id":170788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":170788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:51:51] local.INFO: TCP Data received {"connection_id":170788,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:51:51] local.INFO: Processing buffer {"connection_id":170788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:51:51] local.INFO: IMEI packet received {"connection_id":170788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":170788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:51:52] local.INFO: TCP Data received {"connection_id":170788,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bef4108012d18a64007217570004e006f26..."} 
[2026-09-04 15:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bef4108012d18a64007217570004e006f26..."} 
[2026-09-04 15:51:52] local.INFO: Processing buffer {"connection_id":170788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bef4108012d18a64007217570004e006f26..."} 
[2026-09-04 15:51:52] local.INFO: Packet analysis {"connection_id":170788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bef"} 
[2026-09-04 15:51:52] local.INFO: Extracted packet for processing {"connection_id":170788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bef"} 
[2026-09-04 15:51:52] local.INFO: GPS Element Parsed {"raw_longitude":756590144,"raw_latitude":119633264,"longitude_deg":75.6590144,"latitude_deg":11.9633264,"altitude":78,"angle":111,"satellites":38,"speed":27,"hex_longitude":"2d18a640","hex_latitude":"07217570","is_valid_coordinates":true} 
[2026-09-04 15:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860410112001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17296121063800832,"note":"Value kept but may cause issues"} 
[2026-09-04 15:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766748090695536640,"note":"Value kept but may cause issues"} 
[2026-09-04 15:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788517237000,"timestamp_ms":1788517237000,"timestamp_seconds":1788517237,"priority":1,"record_length":96,"hex_timestamp":"000001a06bef4108"} 
[2026-09-04 15:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 15:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":170788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":170788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":170788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860410112001,"66":12972,"121":206,"28":31744,"24":27,"16":17296121063800832,"45":1766748090695536640},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860410112001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:51:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:51:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17296121063800832,"km_value":17296121063800.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766748090695536640,"description":"Unknown IO ID 45"} 
[2026-09-04 15:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860410112001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1766748090695536640}} 
[2026-09-04 15:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":170788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:51:52] local.INFO: GPS data processed {"connection_id":170788,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:51:52] local.INFO: Acknowledgment sent {"connection_id":170788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:51:54] local.INFO: TCP Data received {"connection_id":173492,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:51:54] local.INFO: Processing buffer {"connection_id":173492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:51:54] local.INFO: IMEI packet received {"connection_id":173492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":173492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:51:55] local.INFO: TCP Data received {"connection_id":173492,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:51:55] local.INFO: Processing buffer {"connection_id":173492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:51:55] local.INFO: Packet analysis {"connection_id":173492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:51:55] local.INFO: Extracted packet for processing {"connection_id":173492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:51:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860283392001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517033000,"timestamp_ms":1788517033000,"timestamp_seconds":1788517033,"priority":1,"record_length":96,"hex_timestamp":"000001a06bec2428"} 
[2026-09-04 15:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860283392001,"66":24854,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860283392001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:51:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:51:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860283392001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":173492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763370,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:51:55] local.INFO: GPS data processed {"connection_id":173492,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:51:55] local.INFO: Acknowledgment sent {"connection_id":173492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:52:24] local.INFO: TCP Data received {"connection_id":170788,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bef4cc0012d18ad00072171a0004d007b26..."} 
[2026-09-04 15:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bef4cc0012d18ad00072171a0004d007b26..."} 
[2026-09-04 15:52:24] local.INFO: Processing buffer {"connection_id":170788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bef4cc0012d18ad00072171a0004d007b26..."} 
[2026-09-04 15:52:24] local.INFO: Packet analysis {"connection_id":170788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bef"} 
[2026-09-04 15:52:24] local.INFO: Extracted packet for processing {"connection_id":170788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bef"} 
[2026-09-04 15:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756591872,"raw_latitude":119632288,"longitude_deg":75.6591872,"latitude_deg":11.9632288,"altitude":77,"angle":123,"satellites":38,"speed":25,"hex_longitude":"2d18ad00","hex_latitude":"072171a0","is_valid_coordinates":true} 
[2026-09-04 15:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860412672001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17296215553081344,"note":"Value kept but may cause issues"} 
[2026-09-04 15:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776177502414532608,"note":"Value kept but may cause issues"} 
[2026-09-04 15:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788517240000,"timestamp_ms":1788517240000,"timestamp_seconds":1788517240,"priority":1,"record_length":96,"hex_timestamp":"000001a06bef4cc0"} 
[2026-09-04 15:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-04 15:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860412672001,"66":11928,"121":206,"28":31744,"24":25,"16":17296215553081344,"45":1776177502414532608},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860412672001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:52:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:52:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17296215553081344,"km_value":17296215553081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776177502414532608,"description":"Unknown IO ID 45"} 
[2026-09-04 15:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860412672001,"power":11928,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1776177502414532608}} 
[2026-09-04 15:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":170788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:52:24] local.INFO: GPS data processed {"connection_id":170788,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:52:24] local.INFO: Acknowledgment sent {"connection_id":170788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:52:27] local.INFO: TCP Data received {"connection_id":173492,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:52:27] local.INFO: Processing buffer {"connection_id":173492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bec2428012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:52:27] local.INFO: Packet analysis {"connection_id":173492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:52:27] local.INFO: Extracted packet for processing {"connection_id":173492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bec"} 
[2026-09-04 15:52:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860283392001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788517033000,"timestamp_ms":1788517033000,"timestamp_seconds":1788517033,"priority":1,"record_length":96,"hex_timestamp":"000001a06bec2428"} 
[2026-09-04 15:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 15:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860283392001,"66":24854,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860283392001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:52:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:52:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860283392001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":173492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763372,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:52:27] local.INFO: GPS data processed {"connection_id":173492,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:52:27] local.INFO: Acknowledgment sent {"connection_id":173492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:52:48] local.INFO: TCP Data received {"connection_id":173494,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:52:48] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:52:48] local.INFO: IMEI packet received {"connection_id":173494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":173494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:52:48] local.INFO: TCP Data received {"connection_id":173494,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:52:48] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:52:48] local.INFO: IMEI packet received {"connection_id":173494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":173494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:52:51] local.INFO: TCP Data received {"connection_id":173494,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:52:51] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:52:51] local.INFO: IMEI packet received {"connection_id":173494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":173494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:52:51] local.INFO: TCP Data received {"connection_id":171084,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:52:51] local.INFO: Processing buffer {"connection_id":171084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:52:51] local.INFO: IMEI packet received {"connection_id":171084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":171084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:52:53] local.INFO: TCP Data received {"connection_id":173494,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:52:53] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:52:53] local.INFO: IMEI packet received {"connection_id":173494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":173494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:52:53] local.INFO: TCP Data received {"connection_id":171084,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:52:53] local.INFO: Processing buffer {"connection_id":171084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:52:53] local.INFO: IMEI packet received {"connection_id":171084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":171084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:52:54] local.INFO: TCP Data received {"connection_id":173494,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf06dd0012d1900400720d0280039007d24..."} 
[2026-09-04 15:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf06dd0012d1900400720d0280039007d24..."} 
[2026-09-04 15:52:54] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf06dd0012d1900400720d0280039007d24..."} 
[2026-09-04 15:52:54] local.INFO: Packet analysis {"connection_id":173494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:52:54] local.INFO: Extracted packet for processing {"connection_id":173494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:52:54] local.INFO: GPS Element Parsed {"raw_longitude":756613184,"raw_latitude":119590952,"longitude_deg":75.6613184,"latitude_deg":11.9590952,"altitude":57,"angle":125,"satellites":36,"speed":41,"hex_longitude":"2d190040","hex_latitude":"0720d028","is_valid_coordinates":true} 
[2026-09-04 15:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860431616001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17298552015290368,"note":"Value kept but may cause issues"} 
[2026-09-04 15:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798625131796862976,"note":"Value kept but may cause issues"} 
[2026-09-04 15:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788517314000,"timestamp_ms":1788517314000,"timestamp_seconds":1788517314,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf06dd0"} 
[2026-09-04 15:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-04 15:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860431616001,"66":14048,"121":206,"28":31744,"24":41,"16":17298552015290368,"45":1798625131796862976},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860431616001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:52:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:52:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17298552015290368,"km_value":17298552015290.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798625131796862976,"description":"Unknown IO ID 45"} 
[2026-09-04 15:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860431616001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1798625131796862976}} 
[2026-09-04 15:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":173494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:52:54] local.INFO: GPS data processed {"connection_id":173494,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:52:54] local.INFO: Acknowledgment sent {"connection_id":173494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:52:59] local.INFO: TCP Data received {"connection_id":171084,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:52:59] local.INFO: Processing buffer {"connection_id":171084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:52:59] local.INFO: IMEI packet received {"connection_id":171084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":171084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:53:00] local.INFO: TCP Data received {"connection_id":171084,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:53:00] local.INFO: Processing buffer {"connection_id":171084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:53:00] local.INFO: Packet analysis {"connection_id":171084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:53:00] local.INFO: Extracted packet for processing {"connection_id":171084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:53:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860360448001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788517334000,"timestamp_ms":1788517334000,"timestamp_seconds":1788517334,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf0bbf0"} 
[2026-09-04 15:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 15:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860360448001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860360448001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:53:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:53:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860360448001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":171084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763374,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:53:00] local.INFO: GPS data processed {"connection_id":171084,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:53:00] local.INFO: Acknowledgment sent {"connection_id":171084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:53:01] local.INFO: TCP Data received {"connection_id":173494,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf08928012d191e000720c0900032006f26..."} 
[2026-09-04 15:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf08928012d191e000720c0900032006f26..."} 
[2026-09-04 15:53:01] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf08928012d191e000720c0900032006f26..."} 
[2026-09-04 15:53:01] local.INFO: Packet analysis {"connection_id":173494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:53:01] local.INFO: Extracted packet for processing {"connection_id":173494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:53:01] local.INFO: GPS Element Parsed {"raw_longitude":756620800,"raw_latitude":119586960,"longitude_deg":75.66208,"latitude_deg":11.958696,"altitude":50,"angle":111,"satellites":38,"speed":55,"hex_longitude":"2d191e00","hex_latitude":"0720c090","is_valid_coordinates":true} 
[2026-09-04 15:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860432384001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17298964332150784,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801510250307659776,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788517321000,"timestamp_ms":1788517321000,"timestamp_seconds":1788517321,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf08928"} 
[2026-09-04 15:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-04 15:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860432384001,"66":13972,"121":206,"28":31744,"24":55,"16":17298964332150784,"45":1801510250307659776},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860432384001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:53:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:53:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17298964332150784,"km_value":17298964332150.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801510250307659776,"description":"Unknown IO ID 45"} 
[2026-09-04 15:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860432384001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":55,"odometer":null,"unknown_45":1801510250307659776}} 
[2026-09-04 15:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":173494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:53:02] local.INFO: GPS data processed {"connection_id":173494,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:53:02] local.INFO: Acknowledgment sent {"connection_id":173494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:53:04] local.INFO: TCP Data received {"connection_id":170789,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:53:04] local.INFO: Processing buffer {"connection_id":170789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:53:04] local.INFO: IMEI packet received {"connection_id":170789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":170789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:53:07] local.INFO: TCP Data received {"connection_id":170789,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:53:07] local.INFO: Processing buffer {"connection_id":170789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:53:07] local.INFO: IMEI packet received {"connection_id":170789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":170789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:53:07] local.INFO: TCP Data received {"connection_id":170789,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bef8b40012cb322c0077e1ea0003700132a..."} 
[2026-09-04 15:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bef8b40012cb322c0077e1ea0003700132a..."} 
[2026-09-04 15:53:07] local.INFO: Processing buffer {"connection_id":170789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bef8b40012cb322c0077e1ea0003700132a..."} 
[2026-09-04 15:53:07] local.INFO: Packet analysis {"connection_id":170789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bef"} 
[2026-09-04 15:53:07] local.INFO: Extracted packet for processing {"connection_id":170789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bef"} 
[2026-09-04 15:53:07] local.INFO: GPS Element Parsed {"raw_longitude":749937344,"raw_latitude":125705888,"longitude_deg":74.9937344,"latitude_deg":12.5705888,"altitude":55,"angle":19,"satellites":42,"speed":31,"hex_longitude":"2cb322c0","hex_latitude":"077e1ea0","is_valid_coordinates":true} 
[2026-09-04 15:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860417024001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398067327158976512,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5539146034508693504,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788517256000,"timestamp_ms":1788517256000,"timestamp_seconds":1788517256,"priority":1,"record_length":96,"hex_timestamp":"000001a06bef8b40"} 
[2026-09-04 15:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 15:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860417024001,"66":27865,"33":206,"85":36864,"24":31,"16":398067327158976512,"44":-5539146034508693504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-09-04 15:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860417024001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:53:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 15:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 15:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398067327158976512,"km_value":398067327158976.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:53:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5539146034508693504,"description":"Unknown IO ID 44"} 
[2026-09-04 15:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860417024001,"power":27865,"unknown_33":206,"unknown_85":36864,"ignition":31,"odometer":null,"unknown_44":-5539146034508693504}} 
[2026-09-04 15:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":170789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:53:07] local.INFO: GPS data processed {"connection_id":170789,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:53:07] local.INFO: Acknowledgment sent {"connection_id":170789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:53:33] local.INFO: TCP Data received {"connection_id":173494,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf140c0012d19bb400720a500003300b326..."} 
[2026-09-04 15:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf140c0012d19bb400720a500003300b326..."} 
[2026-09-04 15:53:33] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf140c0012d19bb400720a500003300b326..."} 
[2026-09-04 15:53:33] local.INFO: Packet analysis {"connection_id":173494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf1"} 
[2026-09-04 15:53:33] local.INFO: Extracted packet for processing {"connection_id":173494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf1"} 
[2026-09-04 15:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119579904,"longitude_deg":75.6661056,"latitude_deg":11.9579904,"altitude":51,"angle":179,"satellites":38,"speed":21,"hex_longitude":"2d19bb40","hex_latitude":"0720a500","is_valid_coordinates":true} 
[2026-09-04 15:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860445952001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17301013031550976,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949863424,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788517368000,"timestamp_ms":1788517368000,"timestamp_seconds":1788517368,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf140c0"} 
[2026-09-04 15:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 15:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860445952001,"66":14265,"121":206,"28":31744,"24":21,"16":17301013031550976,"45":1854146070949863424},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860445952001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:53:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:53:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17301013031550976,"km_value":17301013031550.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949863424,"description":"Unknown IO ID 45"} 
[2026-09-04 15:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860445952001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1854146070949863424}} 
[2026-09-04 15:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":173494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:53:33] local.INFO: GPS data processed {"connection_id":173494,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:53:33] local.INFO: Acknowledgment sent {"connection_id":173494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:53:35] local.INFO: TCP Data received {"connection_id":171084,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:53:35] local.INFO: Processing buffer {"connection_id":171084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:53:35] local.INFO: Packet analysis {"connection_id":171084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:53:35] local.INFO: Extracted packet for processing {"connection_id":171084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860360448001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788517334000,"timestamp_ms":1788517334000,"timestamp_seconds":1788517334,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf0bbf0"} 
[2026-09-04 15:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 15:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860360448001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860360448001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:53:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:53:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860360448001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":171084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:53:35] local.INFO: GPS data processed {"connection_id":171084,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:53:35] local.INFO: Acknowledgment sent {"connection_id":171084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:53:38] local.INFO: TCP Data received {"connection_id":170789,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf140c0012cb3fb80077ef980004800142c..."} 
[2026-09-04 15:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf140c0012cb3fb80077ef980004800142c..."} 
[2026-09-04 15:53:38] local.INFO: Processing buffer {"connection_id":170789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf140c0012cb3fb80077ef980004800142c..."} 
[2026-09-04 15:53:38] local.INFO: Packet analysis {"connection_id":170789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf1"} 
[2026-09-04 15:53:38] local.INFO: Extracted packet for processing {"connection_id":170789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf1"} 
[2026-09-04 15:53:38] local.INFO: GPS Element Parsed {"raw_longitude":749992832,"raw_latitude":125761920,"longitude_deg":74.9992832,"latitude_deg":12.576192,"altitude":72,"angle":20,"satellites":44,"speed":38,"hex_longitude":"2cb3fb80","hex_latitude":"077ef980","is_valid_coordinates":true} 
[2026-09-04 15:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860445440001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398071162564771840,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5479051126966886400,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788517368000,"timestamp_ms":1788517368000,"timestamp_seconds":1788517368,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf140c0"} 
[2026-09-04 15:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 15:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860445440001,"66":27930,"241":206,"85":36864,"24":38,"16":398071162564771840,"44":-5479051126966886400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,85,24,16,44]} 
[2026-09-04 15:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860445440001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:53:38] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-04 15:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 15:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398071162564771840,"km_value":398071162564771.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:53:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5479051126966886400,"description":"Unknown IO ID 44"} 
[2026-09-04 15:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860445440001,"power":27930,"unknown_241":206,"unknown_85":36864,"ignition":38,"odometer":null,"unknown_44":-5479051126966886400}} 
[2026-09-04 15:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":170789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:53:38] local.INFO: GPS data processed {"connection_id":170789,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:53:38] local.INFO: Acknowledgment sent {"connection_id":170789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:53:48] local.INFO: TCP Data received {"connection_id":170790,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:53:48] local.INFO: Processing buffer {"connection_id":170790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:53:48] local.INFO: IMEI packet received {"connection_id":170790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":170790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:53:49] local.INFO: TCP Data received {"connection_id":170791,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:53:49] local.INFO: Processing buffer {"connection_id":170791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:53:49] local.INFO: IMEI packet received {"connection_id":170791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":170791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:53:50] local.INFO: TCP Data received {"connection_id":170790,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:53:50] local.INFO: Processing buffer {"connection_id":170790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:53:50] local.INFO: IMEI packet received {"connection_id":170790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":170790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:53:54] local.INFO: TCP Data received {"connection_id":170790,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:53:54] local.INFO: Processing buffer {"connection_id":170790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:53:54] local.INFO: IMEI packet received {"connection_id":170790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":170790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:53:54] local.INFO: TCP Data received {"connection_id":170791,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:53:54] local.INFO: Processing buffer {"connection_id":170791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:53:54] local.INFO: IMEI packet received {"connection_id":170791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":170791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:53:55] local.INFO: TCP Data received {"connection_id":170790,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf144a8012d19bb000720a2f0003300c524..."} 
[2026-09-04 15:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf144a8012d19bb000720a2f0003300c524..."} 
[2026-09-04 15:53:55] local.INFO: Processing buffer {"connection_id":170790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf144a8012d19bb000720a2f0003300c524..."} 
[2026-09-04 15:53:55] local.INFO: Packet analysis {"connection_id":170790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf1"} 
[2026-09-04 15:53:55] local.INFO: Extracted packet for processing {"connection_id":170790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf1"} 
[2026-09-04 15:53:55] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119579376,"longitude_deg":75.6660992,"latitude_deg":11.9579376,"altitude":51,"angle":197,"satellites":36,"speed":21,"hex_longitude":"2d19bb00","hex_latitude":"0720a2f0","is_valid_coordinates":true} 
[2026-09-04 15:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860446208001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17301038801354752,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949724160,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517369000,"timestamp_ms":1788517369000,"timestamp_seconds":1788517369,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf144a8"} 
[2026-09-04 15:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 15:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860446208001,"66":14211,"121":206,"28":31744,"24":21,"16":17301038801354752,"45":1854146070949724160},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860446208001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:53:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17301038801354752,"km_value":17301038801354.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949724160,"description":"Unknown IO ID 45"} 
[2026-09-04 15:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860446208001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1854146070949724160}} 
[2026-09-04 15:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":170790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:53:55] local.INFO: GPS data processed {"connection_id":170790,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:53:55] local.INFO: Acknowledgment sent {"connection_id":170790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:53:55] local.INFO: TCP Data received {"connection_id":170791,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:53:55] local.INFO: Processing buffer {"connection_id":170791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:53:55] local.INFO: Packet analysis {"connection_id":170791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:53:55] local.INFO: Extracted packet for processing {"connection_id":170791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:53:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860360448001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517334000,"timestamp_ms":1788517334000,"timestamp_seconds":1788517334,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf0bbf0"} 
[2026-09-04 15:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 15:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860360448001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860360448001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:53:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860360448001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":170791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763381,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:53:55] local.INFO: GPS data processed {"connection_id":170791,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:53:55] local.INFO: Acknowledgment sent {"connection_id":170791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:53:58] local.INFO: TCP Data received {"connection_id":172187,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:53:58] local.INFO: Processing buffer {"connection_id":172187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:53:58] local.INFO: IMEI packet received {"connection_id":172187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":172187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:53:59] local.INFO: TCP Data received {"connection_id":172187,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:53:59] local.INFO: Processing buffer {"connection_id":172187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:53:59] local.INFO: IMEI packet received {"connection_id":172187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":172187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:54:09] local.INFO: TCP Data received {"connection_id":172187,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:54:09] local.INFO: Processing buffer {"connection_id":172187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:54:09] local.INFO: IMEI packet received {"connection_id":172187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":172187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:54:10] local.INFO: TCP Data received {"connection_id":172187,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf15c18012cb401c0077f1428004800092a..."} 
[2026-09-04 15:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf15c18012cb401c0077f1428004800092a..."} 
[2026-09-04 15:54:10] local.INFO: Processing buffer {"connection_id":172187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf15c18012cb401c0077f1428004800092a..."} 
[2026-09-04 15:54:10] local.INFO: Packet analysis {"connection_id":172187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf1"} 
[2026-09-04 15:54:10] local.INFO: Extracted packet for processing {"connection_id":172187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf1"} 
[2026-09-04 15:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749994432,"raw_latitude":125768744,"longitude_deg":74.9994432,"latitude_deg":12.5768744,"altitude":72,"angle":9,"satellites":42,"speed":42,"hex_longitude":"2cb401c0","hex_latitude":"077f1428","is_valid_coordinates":true} 
[2026-09-04 15:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860446208001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398071506162155520,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5477643752082669568,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788517375000,"timestamp_ms":1788517375000,"timestamp_seconds":1788517375,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf15c18"} 
[2026-09-04 15:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 15:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860446208001,"66":27919,"241":206,"85":36864,"24":42,"16":398071506162155520,"44":-5477643752082669568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,85,24,16,44]} 
[2026-09-04 15:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860446208001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:54:10] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-04 15:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 15:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398071506162155520,"km_value":398071506162155.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5477643752082669568,"description":"Unknown IO ID 44"} 
[2026-09-04 15:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860446208001,"power":27919,"unknown_241":206,"unknown_85":36864,"ignition":42,"odometer":null,"unknown_44":-5477643752082669568}} 
[2026-09-04 15:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":172187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:54:10] local.INFO: GPS data processed {"connection_id":172187,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:54:10] local.INFO: Acknowledgment sent {"connection_id":172187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:54:27] local.INFO: TCP Data received {"connection_id":170790,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf14890012d19b9800720a0e8003300d224..."} 
[2026-09-04 15:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf14890012d19b9800720a0e8003300d224..."} 
[2026-09-04 15:54:27] local.INFO: Processing buffer {"connection_id":170790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf14890012d19b9800720a0e8003300d224..."} 
[2026-09-04 15:54:27] local.INFO: Packet analysis {"connection_id":170790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf1"} 
[2026-09-04 15:54:27] local.INFO: Extracted packet for processing {"connection_id":170790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf1"} 
[2026-09-04 15:54:27] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119578856,"longitude_deg":75.6660608,"latitude_deg":11.9578856,"altitude":51,"angle":210,"satellites":36,"speed":22,"hex_longitude":"2d19b980","hex_latitude":"0720a0e8","is_valid_coordinates":true} 
[2026-09-04 15:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860446464001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17301068866125824,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702205411328,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788517370000,"timestamp_ms":1788517370000,"timestamp_seconds":1788517370,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf14890"} 
[2026-09-04 15:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 15:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860446464001,"66":14211,"121":206,"28":31744,"24":22,"16":17301068866125824,"45":1854075702205411328},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860446464001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:54:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:54:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17301068866125824,"km_value":17301068866125.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702205411328,"description":"Unknown IO ID 45"} 
[2026-09-04 15:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860446464001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1854075702205411328}} 
[2026-09-04 15:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":170790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:54:27] local.INFO: GPS data processed {"connection_id":170790,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:54:27] local.INFO: Acknowledgment sent {"connection_id":170790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:54:28] local.INFO: TCP Data received {"connection_id":170791,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:54:28] local.INFO: Processing buffer {"connection_id":170791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:54:28] local.INFO: Packet analysis {"connection_id":170791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:54:28] local.INFO: Extracted packet for processing {"connection_id":170791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:54:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860360448001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788517334000,"timestamp_ms":1788517334000,"timestamp_seconds":1788517334,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf0bbf0"} 
[2026-09-04 15:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 15:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860360448001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860360448001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:54:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:54:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860360448001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":170791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:54:28] local.INFO: GPS data processed {"connection_id":170791,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:54:28] local.INFO: Acknowledgment sent {"connection_id":170791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:54:53] local.INFO: TCP Data received {"connection_id":171085,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:54:53] local.INFO: Processing buffer {"connection_id":171085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:54:53] local.INFO: IMEI packet received {"connection_id":171085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":171085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:54:54] local.INFO: TCP Data received {"connection_id":171086,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:54:54] local.INFO: Processing buffer {"connection_id":171086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:54:54] local.INFO: IMEI packet received {"connection_id":171086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":171086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:54:57] local.INFO: TCP Data received {"connection_id":171085,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:54:57] local.INFO: Processing buffer {"connection_id":171085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:54:57] local.INFO: IMEI packet received {"connection_id":171085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":171085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:54:58] local.INFO: TCP Data received {"connection_id":171085,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf24290012d19dec007200b68002e007b27..."} 
[2026-09-04 15:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf24290012d19dec007200b68002e007b27..."} 
[2026-09-04 15:54:58] local.INFO: Processing buffer {"connection_id":171085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf24290012d19dec007200b68002e007b27..."} 
[2026-09-04 15:54:58] local.INFO: Packet analysis {"connection_id":171085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf2"} 
[2026-09-04 15:54:58] local.INFO: Extracted packet for processing {"connection_id":171085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf2"} 
[2026-09-04 15:54:58] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119540584,"longitude_deg":75.6670144,"latitude_deg":11.9540584,"altitude":46,"angle":123,"satellites":39,"speed":6,"hex_longitude":"2d19dec0","hex_latitude":"07200b68","is_valid_coordinates":true} 
[2026-09-04 15:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860459520001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17303156220231680,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863364376427028480,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788517434000,"timestamp_ms":1788517434000,"timestamp_seconds":1788517434,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf24290"} 
[2026-09-04 15:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 15:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860459520001,"66":14265,"121":206,"28":31744,"24":6,"16":17303156220231680,"45":1863364376427028480},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860459520001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:54:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:54:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17303156220231680,"km_value":17303156220231.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863364376427028480,"description":"Unknown IO ID 45"} 
[2026-09-04 15:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860459520001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1863364376427028480}} 
[2026-09-04 15:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":171085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:54:58] local.INFO: GPS data processed {"connection_id":171085,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:54:58] local.INFO: Acknowledgment sent {"connection_id":171085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:54:59] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:54:59] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:54:59] local.INFO: IMEI packet received {"connection_id":173495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":173495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:54:59] local.INFO: TCP Data received {"connection_id":171086,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:54:59] local.INFO: Processing buffer {"connection_id":171086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:54:59] local.INFO: IMEI packet received {"connection_id":171086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":171086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:54:59] local.INFO: TCP Data received {"connection_id":171085,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf25230012d19e380072007a0002e008b28..."} 
[2026-09-04 15:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf25230012d19e380072007a0002e008b28..."} 
[2026-09-04 15:54:59] local.INFO: Processing buffer {"connection_id":171085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf25230012d19e380072007a0002e008b28..."} 
[2026-09-04 15:54:59] local.INFO: Packet analysis {"connection_id":171085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf2"} 
[2026-09-04 15:54:59] local.INFO: Extracted packet for processing {"connection_id":171085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf2"} 
[2026-09-04 15:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119539616,"longitude_deg":75.667136,"latitude_deg":11.9539616,"altitude":46,"angle":139,"satellites":40,"speed":20,"hex_longitude":"2d19e380","hex_latitude":"072007a0","is_valid_coordinates":true} 
[2026-09-04 15:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860463104001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17303233529643008,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864138432612886528,"note":"Value kept but may cause issues"} 
[2026-09-04 15:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788517438000,"timestamp_ms":1788517438000,"timestamp_seconds":1788517438,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf25230"} 
[2026-09-04 15:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 15:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860463104001,"66":14233,"121":206,"28":31744,"24":20,"16":17303233529643008,"45":1864138432612886528},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860463104001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:54:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:54:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17303233529643008,"km_value":17303233529643.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864138432612886528,"description":"Unknown IO ID 45"} 
[2026-09-04 15:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860463104001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1864138432612886528}} 
[2026-09-04 15:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":171085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:54:59] local.INFO: GPS data processed {"connection_id":171085,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:54:59] local.INFO: Acknowledgment sent {"connection_id":171085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:55:01] local.INFO: TCP Data received {"connection_id":171086,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:55:01] local.INFO: Processing buffer {"connection_id":171086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:55:01] local.INFO: Packet analysis {"connection_id":171086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:55:01] local.INFO: Extracted packet for processing {"connection_id":171086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:55:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860360448001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788517334000,"timestamp_ms":1788517334000,"timestamp_seconds":1788517334,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf0bbf0"} 
[2026-09-04 15:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 15:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860360448001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860360448001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:55:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:55:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860360448001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":171086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763387,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:55:01] local.INFO: GPS data processed {"connection_id":171086,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:55:01] local.INFO: Acknowledgment sent {"connection_id":171086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:55:04] local.INFO: TCP Data received {"connection_id":171086,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:55:04] local.INFO: Processing buffer {"connection_id":171086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:55:04] local.INFO: Packet analysis {"connection_id":171086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:55:04] local.INFO: Extracted packet for processing {"connection_id":171086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860360448001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788517334000,"timestamp_ms":1788517334000,"timestamp_seconds":1788517334,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf0bbf0"} 
[2026-09-04 15:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 15:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860360448001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860360448001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:55:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860360448001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":171086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763388,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:55:04] local.INFO: GPS data processed {"connection_id":171086,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:55:04] local.INFO: Acknowledgment sent {"connection_id":171086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:55:05] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:55:05] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:55:05] local.INFO: IMEI packet received {"connection_id":173495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":173495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:55:05] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:55:05] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:55:05] local.INFO: IMEI packet received {"connection_id":173495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":173495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:55:09] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:55:09] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:55:09] local.INFO: IMEI packet received {"connection_id":173495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":173495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:55:10] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf269a0012cb4498007805d98004e000e29..."} 
[2026-09-04 15:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf269a0012cb4498007805d98004e000e29..."} 
[2026-09-04 15:55:10] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf269a0012cb4498007805d98004e000e29..."} 
[2026-09-04 15:55:10] local.INFO: Packet analysis {"connection_id":173495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf2"} 
[2026-09-04 15:55:10] local.INFO: Extracted packet for processing {"connection_id":173495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf2"} 
[2026-09-04 15:55:10] local.INFO: GPS Element Parsed {"raw_longitude":750012800,"raw_latitude":125853080,"longitude_deg":75.00128,"latitude_deg":12.585308,"altitude":78,"angle":14,"satellites":41,"speed":49,"hex_longitude":"2cb44980","hex_latitude":"07805d98","is_valid_coordinates":true} 
[2026-09-04 15:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860463872001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398075715230105600,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5457659028715151360,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788517444000,"timestamp_ms":1788517444000,"timestamp_seconds":1788517444,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf269a0"} 
[2026-09-04 15:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 15:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860463872001,"66":27767,"240":206,"85":36864,"24":49,"16":398075715230105600,"44":-5457659028715151360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,85,24,16,44]} 
[2026-09-04 15:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860463872001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:55:10] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-04 15:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 15:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398075715230105600,"km_value":398075715230105.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5457659028715151360,"description":"Unknown IO ID 44"} 
[2026-09-04 15:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860463872001,"power":27767,"unknown_240":206,"unknown_85":36864,"ignition":49,"odometer":null,"unknown_44":-5457659028715151360}} 
[2026-09-04 15:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":173495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:55:10] local.INFO: GPS data processed {"connection_id":173495,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:55:10] local.INFO: Acknowledgment sent {"connection_id":173495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:55:15] local.INFO: TCP Data received {"connection_id":172187,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf16bb8012cb402c0077f25880047016629..."} 
[2026-09-04 15:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf16bb8012cb402c0077f25880047016629..."} 
[2026-09-04 15:55:15] local.INFO: Processing buffer {"connection_id":172187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf16bb8012cb402c0077f25880047016629..."} 
[2026-09-04 15:55:15] local.INFO: Packet analysis {"connection_id":172187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf1"} 
[2026-09-04 15:55:15] local.INFO: Extracted packet for processing {"connection_id":172187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf1"} 
[2026-09-04 15:55:15] local.INFO: GPS Element Parsed {"raw_longitude":749994688,"raw_latitude":125773192,"longitude_deg":74.9994688,"latitude_deg":12.5773192,"altitude":71,"angle":358,"satellites":41,"speed":46,"hex_longitude":"2cb402c0","hex_latitude":"077f2588","is_valid_coordinates":true} 
[2026-09-04 15:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860448000001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398071720910520320,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5475884533476481024,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788517379000,"timestamp_ms":1788517379000,"timestamp_seconds":1788517379,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf16bb8"} 
[2026-09-04 15:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 15:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860448000001,"66":27865,"241":206,"85":36864,"24":46,"16":398071720910520320,"44":-5475884533476481024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,85,24,16,44]} 
[2026-09-04 15:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860448000001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:55:16] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-04 15:55:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 15:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398071720910520320,"km_value":398071720910520.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:55:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5475884533476481024,"description":"Unknown IO ID 44"} 
[2026-09-04 15:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860448000001,"power":27865,"unknown_241":206,"unknown_85":36864,"ignition":46,"odometer":null,"unknown_44":-5475884533476481024}} 
[2026-09-04 15:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":172187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:55:16] local.INFO: GPS data processed {"connection_id":172187,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:55:16] local.INFO: Acknowledgment sent {"connection_id":172187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:55:31] local.INFO: TCP Data received {"connection_id":171085,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf265b8012d19eac0071ffda8002e007e29..."} 
[2026-09-04 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf265b8012d19eac0071ffda8002e007e29..."} 
[2026-09-04 15:55:31] local.INFO: Processing buffer {"connection_id":171085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf265b8012d19eac0071ffda8002e007e29..."} 
[2026-09-04 15:55:31] local.INFO: Packet analysis {"connection_id":171085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf2"} 
[2026-09-04 15:55:31] local.INFO: Extracted packet for processing {"connection_id":171085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf2"} 
[2026-09-04 15:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756673216,"raw_latitude":119537064,"longitude_deg":75.6673216,"latitude_deg":11.9537064,"altitude":46,"angle":126,"satellites":41,"speed":23,"hex_longitude":"2d19eac0","hex_latitude":"071ffda8","is_valid_coordinates":true} 
[2026-09-04 15:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860464128001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17303383853498368,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865475438752014336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788517443000,"timestamp_ms":1788517443000,"timestamp_seconds":1788517443,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf265b8"} 
[2026-09-04 15:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 15:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860464128001,"66":13972,"121":206,"28":31744,"24":23,"16":17303383853498368,"45":1865475438752014336},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860464128001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:55:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:55:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17303383853498368,"km_value":17303383853498.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865475438752014336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860464128001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1865475438752014336}} 
[2026-09-04 15:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":171085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:55:31] local.INFO: GPS data processed {"connection_id":171085,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:55:31] local.INFO: Acknowledgment sent {"connection_id":171085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:55:41] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf301f8012cb462000780f698003b01222c..."} 
[2026-09-04 15:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf301f8012cb462000780f698003b01222c..."} 
[2026-09-04 15:55:41] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf301f8012cb462000780f698003b01222c..."} 
[2026-09-04 15:55:41] local.INFO: Packet analysis {"connection_id":173495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf3"} 
[2026-09-04 15:55:41] local.INFO: Extracted packet for processing {"connection_id":173495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf3"} 
[2026-09-04 15:55:41] local.INFO: GPS Element Parsed {"raw_longitude":750019072,"raw_latitude":125892248,"longitude_deg":75.0019072,"latitude_deg":12.5892248,"altitude":59,"angle":290,"satellites":44,"speed":20,"hex_longitude":"2cb46200","hex_latitude":"0780f698","is_valid_coordinates":true} 
[2026-09-04 15:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860475392001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398077695210029056,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5448299985727270912,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788517483000,"timestamp_ms":1788517483000,"timestamp_seconds":1788517483,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf301f8"} 
[2026-09-04 15:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 15:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860475392001,"66":27876,"239":206,"85":36864,"24":20,"16":398077695210029056,"44":-5448299985727270912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-04 15:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860475392001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:55:41] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-04 15:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 15:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398077695210029056,"km_value":398077695210029.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5448299985727270912,"description":"Unknown IO ID 44"} 
[2026-09-04 15:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860475392001,"power":27876,"unknown_239":206,"unknown_85":36864,"ignition":20,"odometer":null,"unknown_44":-5448299985727270912}} 
[2026-09-04 15:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":173495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:55:41] local.INFO: GPS data processed {"connection_id":173495,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:55:41] local.INFO: Acknowledgment sent {"connection_id":173495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:55:49] local.INFO: TCP Data received {"connection_id":171087,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:55:49] local.INFO: Processing buffer {"connection_id":171087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:55:49] local.INFO: IMEI packet received {"connection_id":171087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":171087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:55:49] local.INFO: TCP Data received {"connection_id":172188,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:55:49] local.INFO: Processing buffer {"connection_id":172188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:55:49] local.INFO: IMEI packet received {"connection_id":172188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":172188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:55:52] local.INFO: TCP Data received {"connection_id":172188,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:55:52] local.INFO: Processing buffer {"connection_id":172188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:55:52] local.INFO: IMEI packet received {"connection_id":172188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":172188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:55:54] local.INFO: TCP Data received {"connection_id":171087,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:55:54] local.INFO: Processing buffer {"connection_id":171087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:55:54] local.INFO: IMEI packet received {"connection_id":171087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":171087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:55:55] local.INFO: TCP Data received {"connection_id":171087,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:55:55] local.INFO: Processing buffer {"connection_id":171087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:55:55] local.INFO: Packet analysis {"connection_id":171087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:55:55] local.INFO: Extracted packet for processing {"connection_id":171087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:55:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860360448001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517334000,"timestamp_ms":1788517334000,"timestamp_seconds":1788517334,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf0bbf0"} 
[2026-09-04 15:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 15:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860360448001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860360448001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:55:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860360448001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":171087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763393,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:55:55] local.INFO: GPS data processed {"connection_id":171087,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:55:55] local.INFO: Acknowledgment sent {"connection_id":171087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:55:58] local.INFO: TCP Data received {"connection_id":172188,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:55:58] local.INFO: Processing buffer {"connection_id":172188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:55:58] local.INFO: IMEI packet received {"connection_id":172188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":172188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:55:59] local.INFO: TCP Data received {"connection_id":172189,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:55:59] local.INFO: Processing buffer {"connection_id":172189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:55:59] local.INFO: IMEI packet received {"connection_id":172189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":172189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:55:59] local.INFO: TCP Data received {"connection_id":172188,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf35fb8012d1a6b80071fd9500033007227..."} 
[2026-09-04 15:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf35fb8012d1a6b80071fd9500033007227..."} 
[2026-09-04 15:55:59] local.INFO: Processing buffer {"connection_id":172188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf35fb8012d1a6b80071fd9500033007227..."} 
[2026-09-04 15:55:59] local.INFO: Packet analysis {"connection_id":172188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf3"} 
[2026-09-04 15:55:59] local.INFO: Extracted packet for processing {"connection_id":172188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf3"} 
[2026-09-04 15:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756706176,"raw_latitude":119527760,"longitude_deg":75.6706176,"latitude_deg":11.952776,"altitude":51,"angle":114,"satellites":39,"speed":18,"hex_longitude":"2d1a6b80","hex_latitude":"071fd950","is_valid_coordinates":true} 
[2026-09-04 15:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860481024001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17305037415907328,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902348660698187776,"note":"Value kept but may cause issues"} 
[2026-09-04 15:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788517507000,"timestamp_ms":1788517507000,"timestamp_seconds":1788517507,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf35fb8"} 
[2026-09-04 15:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 15:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860481024001,"66":14298,"121":206,"28":31744,"24":18,"16":17305037415907328,"45":1902348660698187776},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860481024001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:55:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:55:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17305037415907328,"km_value":17305037415907.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902348660698187776,"description":"Unknown IO ID 45"} 
[2026-09-04 15:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860481024001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1902348660698187776}} 
[2026-09-04 15:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":172188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:55:59] local.INFO: GPS data processed {"connection_id":172188,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:55:59] local.INFO: Acknowledgment sent {"connection_id":172188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:56:04] local.INFO: TCP Data received {"connection_id":172189,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:56:04] local.INFO: Processing buffer {"connection_id":172189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:56:04] local.INFO: IMEI packet received {"connection_id":172189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":172189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:56:05] local.INFO: TCP Data received {"connection_id":172189,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf31968012cb453800780f9a8003c01172b..."} 
[2026-09-04 15:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf31968012cb453800780f9a8003c01172b..."} 
[2026-09-04 15:56:05] local.INFO: Processing buffer {"connection_id":172189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf31968012cb453800780f9a8003c01172b..."} 
[2026-09-04 15:56:05] local.INFO: Packet analysis {"connection_id":172189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf3"} 
[2026-09-04 15:56:05] local.INFO: Extracted packet for processing {"connection_id":172189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf3"} 
[2026-09-04 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":750015360,"raw_latitude":125893032,"longitude_deg":75.001536,"latitude_deg":12.5893032,"altitude":60,"angle":279,"satellites":43,"speed":30,"hex_longitude":"2cb45380","hex_latitude":"0780f9a8","is_valid_coordinates":true} 
[2026-09-04 15:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860475648001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398077879893622784,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5448792566936463360,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788517489000,"timestamp_ms":1788517489000,"timestamp_seconds":1788517489,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf31968"} 
[2026-09-04 15:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 15:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860475648001,"66":27919,"239":206,"85":36864,"24":30,"16":398077879893622784,"44":-5448792566936463360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-04 15:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860475648001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:56:05] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-04 15:56:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 15:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398077879893622784,"km_value":398077879893622.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:56:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5448792566936463360,"description":"Unknown IO ID 44"} 
[2026-09-04 15:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860475648001,"power":27919,"unknown_239":206,"unknown_85":36864,"ignition":30,"odometer":null,"unknown_44":-5448792566936463360}} 
[2026-09-04 15:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":172189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:56:05] local.INFO: GPS data processed {"connection_id":172189,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:56:05] local.INFO: Acknowledgment sent {"connection_id":172189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:56:05] local.INFO: TCP Data received {"connection_id":172188,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf36788012d1a6f00071fd6f00033008027..."} 
[2026-09-04 15:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf36788012d1a6f00071fd6f00033008027..."} 
[2026-09-04 15:56:05] local.INFO: Processing buffer {"connection_id":172188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf36788012d1a6f00071fd6f00033008027..."} 
[2026-09-04 15:56:05] local.INFO: Packet analysis {"connection_id":172188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf3"} 
[2026-09-04 15:56:05] local.INFO: Extracted packet for processing {"connection_id":172188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf3"} 
[2026-09-04 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756707072,"raw_latitude":119527152,"longitude_deg":75.6707072,"latitude_deg":11.9527152,"altitude":51,"angle":128,"satellites":39,"speed":21,"hex_longitude":"2d1a6f00","hex_latitude":"071fd6f0","is_valid_coordinates":true} 
[2026-09-04 15:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860481792001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17305093250482176,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903756035581628416,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788517509000,"timestamp_ms":1788517509000,"timestamp_seconds":1788517509,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf36788"} 
[2026-09-04 15:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 15:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860481792001,"66":13015,"121":206,"28":31744,"24":21,"16":17305093250482176,"45":1903756035581628416},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860481792001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:56:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:56:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17305093250482176,"km_value":17305093250482.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903756035581628416,"description":"Unknown IO ID 45"} 
[2026-09-04 15:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860481792001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1903756035581628416}} 
[2026-09-04 15:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":172188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:56:05] local.INFO: GPS data processed {"connection_id":172188,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:56:05] local.INFO: Acknowledgment sent {"connection_id":172188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:56:28] local.INFO: TCP Data received {"connection_id":171087,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:56:28] local.INFO: Processing buffer {"connection_id":171087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:56:28] local.INFO: Packet analysis {"connection_id":171087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:56:28] local.INFO: Extracted packet for processing {"connection_id":171087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:56:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860360448001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788517334000,"timestamp_ms":1788517334000,"timestamp_seconds":1788517334,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf0bbf0"} 
[2026-09-04 15:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 15:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860360448001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860360448001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:56:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:56:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860360448001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":171087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763397,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:56:28] local.INFO: GPS data processed {"connection_id":171087,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:56:28] local.INFO: Acknowledgment sent {"connection_id":171087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:56:36] local.INFO: TCP Data received {"connection_id":172189,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf34460012cb42ec007810130003d01212a..."} 
[2026-09-04 15:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf34460012cb42ec007810130003d01212a..."} 
[2026-09-04 15:56:36] local.INFO: Processing buffer {"connection_id":172189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf34460012cb42ec007810130003d01212a..."} 
[2026-09-04 15:56:36] local.INFO: Packet analysis {"connection_id":172189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf3"} 
[2026-09-04 15:56:36] local.INFO: Extracted packet for processing {"connection_id":172189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf3"} 
[2026-09-04 15:56:36] local.INFO: GPS Element Parsed {"raw_longitude":750005952,"raw_latitude":125894960,"longitude_deg":75.0005952,"latitude_deg":12.589496,"altitude":61,"angle":289,"satellites":42,"speed":36,"hex_longitude":"2cb42ec0","hex_latitude":"07810130","is_valid_coordinates":true} 
[2026-09-04 15:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860477184001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398078330865188864,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5452873954098567168,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788517500000,"timestamp_ms":1788517500000,"timestamp_seconds":1788517500,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf34460"} 
[2026-09-04 15:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 15:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860477184001,"66":27876,"239":206,"85":36864,"24":36,"16":398078330865188864,"44":-5452873954098567168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-04 15:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860477184001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:56:36] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-04 15:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 15:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398078330865188864,"km_value":398078330865188.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:56:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5452873954098567168,"description":"Unknown IO ID 44"} 
[2026-09-04 15:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860477184001,"power":27876,"unknown_239":206,"unknown_85":36864,"ignition":36,"odometer":null,"unknown_44":-5452873954098567168}} 
[2026-09-04 15:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":172189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:56:36] local.INFO: GPS data processed {"connection_id":172189,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:56:36] local.INFO: Acknowledgment sent {"connection_id":172189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:56:48] local.INFO: TCP Data received {"connection_id":171089,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:56:48] local.INFO: Processing buffer {"connection_id":171089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:56:48] local.INFO: IMEI packet received {"connection_id":171089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":171089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:56:48] local.INFO: TCP Data received {"connection_id":171088,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:56:48] local.INFO: Processing buffer {"connection_id":171088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:56:48] local.INFO: IMEI packet received {"connection_id":171088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":171088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:56:49] local.INFO: TCP Data received {"connection_id":171089,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:56:49] local.INFO: Processing buffer {"connection_id":171089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:56:49] local.INFO: IMEI packet received {"connection_id":171089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":171089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:56:54] local.INFO: TCP Data received {"connection_id":171089,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:56:54] local.INFO: Processing buffer {"connection_id":171089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:56:54] local.INFO: IMEI packet received {"connection_id":171089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":171089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:56:54] local.INFO: TCP Data received {"connection_id":171088,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:56:54] local.INFO: Processing buffer {"connection_id":171088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:56:54] local.INFO: IMEI packet received {"connection_id":171088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":171088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:56:55] local.INFO: TCP Data received {"connection_id":171088,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:56:55] local.INFO: Processing buffer {"connection_id":171088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:56:55] local.INFO: Packet analysis {"connection_id":171088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:56:55] local.INFO: Extracted packet for processing {"connection_id":171088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860360448001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517334000,"timestamp_ms":1788517334000,"timestamp_seconds":1788517334,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf0bbf0"} 
[2026-09-04 15:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 15:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860360448001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860360448001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:56:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860360448001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":171088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763399,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:56:55] local.INFO: GPS data processed {"connection_id":171088,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:56:55] local.INFO: Acknowledgment sent {"connection_id":171088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:56:55] local.INFO: TCP Data received {"connection_id":171089,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf407b0012d1ac640071f8868003800bb21..."} 
[2026-09-04 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf407b0012d1ac640071f8868003800bb21..."} 
[2026-09-04 15:56:55] local.INFO: Processing buffer {"connection_id":171089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf407b0012d1ac640071f8868003800bb21..."} 
[2026-09-04 15:56:55] local.INFO: Packet analysis {"connection_id":171089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf4"} 
[2026-09-04 15:56:55] local.INFO: Extracted packet for processing {"connection_id":171089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf4"} 
[2026-09-04 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":756729408,"raw_latitude":119507048,"longitude_deg":75.6729408,"latitude_deg":11.9507048,"altitude":56,"angle":187,"satellites":33,"speed":18,"hex_longitude":"2d1ac640","hex_latitude":"071f8868","is_valid_coordinates":true} 
[2026-09-04 15:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860492544001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17306626553806848,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929510995945480192,"note":"Value kept but may cause issues"} 
[2026-09-04 15:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517550000,"timestamp_ms":1788517550000,"timestamp_seconds":1788517550,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf407b0"} 
[2026-09-04 15:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 15:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860492544001,"66":14298,"121":206,"28":31744,"24":18,"16":17306626553806848,"45":1929510995945480192},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860492544001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:56:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17306626553806848,"km_value":17306626553806.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929510995945480192,"description":"Unknown IO ID 45"} 
[2026-09-04 15:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860492544001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1929510995945480192}} 
[2026-09-04 15:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":171089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:56:55] local.INFO: GPS data processed {"connection_id":171089,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:56:55] local.INFO: Acknowledgment sent {"connection_id":171089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:56:59] local.INFO: TCP Data received {"connection_id":172190,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:56:59] local.INFO: Processing buffer {"connection_id":172190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:56:59] local.INFO: IMEI packet received {"connection_id":172190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":172190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:57:03] local.INFO: TCP Data received {"connection_id":172190,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:57:03] local.INFO: Processing buffer {"connection_id":172190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:57:03] local.INFO: IMEI packet received {"connection_id":172190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":172190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:57:04] local.INFO: TCP Data received {"connection_id":172190,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:57:04] local.INFO: Processing buffer {"connection_id":172190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:57:04] local.INFO: IMEI packet received {"connection_id":172190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":172190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:57:04] local.INFO: TCP Data received {"connection_id":172190,"ip":"42.109.136.8","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06b..."} 
[2026-09-04 15:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172190,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06b..."} 
[2026-09-04 15:57:04] local.INFO: Processing buffer {"connection_id":172190,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06b..."} 
[2026-09-04 15:57:04] local.INFO: IMEI packet received {"connection_id":172190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":172190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:57:09] local.INFO: TCP Data received {"connection_id":172190,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf49068012cb317800781c5e0003f01162a..."} 
[2026-09-04 15:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf49068012cb317800781c5e0003f01162a..."} 
[2026-09-04 15:57:09] local.INFO: Processing buffer {"connection_id":172190,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06bf47128012cb33a000781bb40004101232b..."} 
[2026-09-04 15:57:09] local.INFO: Packet analysis {"connection_id":172190,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06bf4"} 
[2026-09-04 15:57:09] local.INFO: Extracted packet for processing {"connection_id":172190,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf4"} 
[2026-09-04 15:57:09] local.INFO: GPS Element Parsed {"raw_longitude":749943296,"raw_latitude":125942592,"longitude_deg":74.9943296,"latitude_deg":12.5942592,"altitude":65,"angle":291,"satellites":43,"speed":46,"hex_longitude":"2cb33a00","hex_latitude":"0781bb40","is_valid_coordinates":true} 
[2026-09-04 15:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860497664001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398082192040787968,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5522890854543544320,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788517577000,"timestamp_ms":1788517577000,"timestamp_seconds":1788517577,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf47128"} 
[2026-09-04 15:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 15:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860497664001,"66":27919,"89":206,"85":36096,"24":46,"16":398082192040787968,"44":-5522890854543544320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-04 15:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860497664001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:57:09] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 15:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 15:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398082192040787968,"km_value":398082192040787.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:57:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5522890854543544320,"description":"Unknown IO ID 44"} 
[2026-09-04 15:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860497664001,"power":27919,"unknown_89":206,"unknown_85":36096,"ignition":46,"odometer":null,"unknown_44":-5522890854543544320}} 
[2026-09-04 15:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":172190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:57:09] local.INFO: GPS data processed {"connection_id":172190,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:57:09] local.INFO: Acknowledgment sent {"connection_id":172190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:57:09] local.INFO: Packet analysis {"connection_id":172190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf4"} 
[2026-09-04 15:57:09] local.INFO: Extracted packet for processing {"connection_id":172190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf4"} 
[2026-09-04 15:57:09] local.INFO: GPS Element Parsed {"raw_longitude":749934464,"raw_latitude":125945312,"longitude_deg":74.9934464,"latitude_deg":12.5945312,"altitude":63,"angle":278,"satellites":42,"speed":46,"hex_longitude":"2cb31780","hex_latitude":"0781c5e0","is_valid_coordinates":true} 
[2026-09-04 15:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860499712001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398082634422419456,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5532109160029929472,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788517585000,"timestamp_ms":1788517585000,"timestamp_seconds":1788517585,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf49068"} 
[2026-09-04 15:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 15:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860499712001,"66":27234,"243":206,"85":36096,"24":46,"16":398082634422419456,"44":-5532109160029929472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 15:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860499712001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:57:09] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 15:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 15:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398082634422419456,"km_value":398082634422419.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:57:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5532109160029929472,"description":"Unknown IO ID 44"} 
[2026-09-04 15:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860499712001,"power":27234,"unknown_243":206,"unknown_85":36096,"ignition":46,"odometer":null,"unknown_44":-5532109160029929472}} 
[2026-09-04 15:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":172190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:57:09] local.INFO: GPS data processed {"connection_id":172190,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:57:09] local.INFO: Acknowledgment sent {"connection_id":172190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:57:27] local.INFO: TCP Data received {"connection_id":171088,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:57:27] local.INFO: Processing buffer {"connection_id":171088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf0bbf0012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:57:27] local.INFO: Packet analysis {"connection_id":171088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:57:27] local.INFO: Extracted packet for processing {"connection_id":171088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf0"} 
[2026-09-04 15:57:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860360448001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788517334000,"timestamp_ms":1788517334000,"timestamp_seconds":1788517334,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf0bbf0"} 
[2026-09-04 15:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 15:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860360448001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860360448001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:57:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:57:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860360448001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":171088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:57:28] local.INFO: GPS data processed {"connection_id":171088,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:57:28] local.INFO: Acknowledgment sent {"connection_id":171088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:57:40] local.INFO: TCP Data received {"connection_id":172190,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf49068012cb317800781c5e0003f01162a..."} 
[2026-09-04 15:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf49068012cb317800781c5e0003f01162a..."} 
[2026-09-04 15:57:40] local.INFO: Processing buffer {"connection_id":172190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf49068012cb317800781c5e0003f01162a..."} 
[2026-09-04 15:57:40] local.INFO: Packet analysis {"connection_id":172190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf4"} 
[2026-09-04 15:57:40] local.INFO: Extracted packet for processing {"connection_id":172190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf4"} 
[2026-09-04 15:57:40] local.INFO: GPS Element Parsed {"raw_longitude":749934464,"raw_latitude":125945312,"longitude_deg":74.9934464,"latitude_deg":12.5945312,"altitude":63,"angle":278,"satellites":42,"speed":46,"hex_longitude":"2cb31780","hex_latitude":"0781c5e0","is_valid_coordinates":true} 
[2026-09-04 15:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860501760001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398082634422419456,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5541820046725750784,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788517585000,"timestamp_ms":1788517585000,"timestamp_seconds":1788517585,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf49068"} 
[2026-09-04 15:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 15:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860501760001,"66":27234,"243":206,"85":36096,"24":46,"16":398082634422419456,"44":-5541820046725750784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 15:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860501760001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:57:40] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 15:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 15:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398082634422419456,"km_value":398082634422419.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5541820046725750784,"description":"Unknown IO ID 44"} 
[2026-09-04 15:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860501760001,"power":27234,"unknown_243":206,"unknown_85":36096,"ignition":46,"odometer":null,"unknown_44":-5541820046725750784}} 
[2026-09-04 15:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":172190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:57:40] local.INFO: GPS data processed {"connection_id":172190,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:57:40] local.INFO: Acknowledgment sent {"connection_id":172190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:57:48] local.INFO: TCP Data received {"connection_id":173496,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:57:48] local.INFO: Processing buffer {"connection_id":173496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:57:48] local.INFO: IMEI packet received {"connection_id":173496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":173496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:57:53] local.INFO: TCP Data received {"connection_id":173496,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:57:53] local.INFO: Processing buffer {"connection_id":173496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:57:53] local.INFO: IMEI packet received {"connection_id":173496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":173496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:57:54] local.INFO: TCP Data received {"connection_id":173496,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:57:54] local.INFO: Processing buffer {"connection_id":173496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:57:54] local.INFO: Packet analysis {"connection_id":173496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:57:54] local.INFO: Extracted packet for processing {"connection_id":173496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860437504001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788517635000,"timestamp_ms":1788517635000,"timestamp_seconds":1788517635,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf553b8"} 
[2026-09-04 15:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 15:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860437504001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860437504001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:57:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:57:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860437504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":173496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763405,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:57:54] local.INFO: GPS data processed {"connection_id":173496,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:57:54] local.INFO: Acknowledgment sent {"connection_id":173496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:58:04] local.INFO: TCP Data received {"connection_id":171089,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf4daa0012d1af940071f3e400040008f26..."} 
[2026-09-04 15:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf4daa0012d1af940071f3e400040008f26..."} 
[2026-09-04 15:58:04] local.INFO: Processing buffer {"connection_id":171089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf4daa0012d1af940071f3e400040008f26..."} 
[2026-09-04 15:58:04] local.INFO: Packet analysis {"connection_id":171089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf4"} 
[2026-09-04 15:58:04] local.INFO: Extracted packet for processing {"connection_id":171089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf4"} 
[2026-09-04 15:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756742464,"raw_latitude":119488064,"longitude_deg":75.6742464,"latitude_deg":11.9488064,"altitude":64,"angle":143,"satellites":38,"speed":25,"hex_longitude":"2d1af940","hex_latitude":"071f3e40","is_valid_coordinates":true} 
[2026-09-04 15:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860506368001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17308314475954176,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943232901055295488,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788517604000,"timestamp_ms":1788517604000,"timestamp_seconds":1788517604,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf4daa0"} 
[2026-09-04 15:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-04 15:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860506368001,"66":13972,"121":206,"28":31744,"24":25,"16":17308314475954176,"45":1943232901055295488},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860506368001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:58:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:58:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17308314475954176,"km_value":17308314475954.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943232901055295488,"description":"Unknown IO ID 45"} 
[2026-09-04 15:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860506368001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1943232901055295488}} 
[2026-09-04 15:58:04] local.INFO: TCP Data received {"connection_id":172191,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:58:04] local.INFO: Processing buffer {"connection_id":172191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:58:04] local.INFO: IMEI packet received {"connection_id":172191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":172191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":171089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:58:04] local.INFO: GPS data processed {"connection_id":171089,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:58:04] local.INFO: Acknowledgment sent {"connection_id":171089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:58:09] local.INFO: TCP Data received {"connection_id":172191,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:58:09] local.INFO: Processing buffer {"connection_id":172191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:58:09] local.INFO: IMEI packet received {"connection_id":172191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":172191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:58:10] local.INFO: TCP Data received {"connection_id":172191,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf4b390012cb2f0c00781cbe8003f012528..."} 
[2026-09-04 15:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf4b390012cb2f0c00781cbe8003f012528..."} 
[2026-09-04 15:58:10] local.INFO: Processing buffer {"connection_id":172191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf4b390012cb2f0c00781cbe8003f012528..."} 
[2026-09-04 15:58:10] local.INFO: Packet analysis {"connection_id":172191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf4"} 
[2026-09-04 15:58:10] local.INFO: Extracted packet for processing {"connection_id":172191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf4"} 
[2026-09-04 15:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749924544,"raw_latitude":125946856,"longitude_deg":74.9924544,"latitude_deg":12.5946856,"altitude":63,"angle":293,"satellites":40,"speed":40,"hex_longitude":"2cb2f0c0","hex_latitude":"0781cbe8","is_valid_coordinates":true} 
[2026-09-04 15:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860501760001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398083111163789312,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5541820046725750784,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788517594000,"timestamp_ms":1788517594000,"timestamp_seconds":1788517594,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf4b390"} 
[2026-09-04 15:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 15:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860501760001,"66":27800,"243":206,"85":36096,"24":40,"16":398083111163789312,"44":-5541820046725750784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 15:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860501760001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:58:10] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 15:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 15:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398083111163789312,"km_value":398083111163789.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5541820046725750784,"description":"Unknown IO ID 44"} 
[2026-09-04 15:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860501760001,"power":27800,"unknown_243":206,"unknown_85":36096,"ignition":40,"odometer":null,"unknown_44":-5541820046725750784}} 
[2026-09-04 15:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":172191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:58:10] local.INFO: GPS data processed {"connection_id":172191,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:58:10] local.INFO: Acknowledgment sent {"connection_id":172191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:58:23] local.INFO: TCP Data received {"connection_id":173497,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:58:23] local.INFO: Processing buffer {"connection_id":173497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:58:23] local.INFO: IMEI packet received {"connection_id":173497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":173497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:58:26] local.INFO: TCP Data received {"connection_id":173496,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:58:26] local.INFO: Processing buffer {"connection_id":173496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:58:26] local.INFO: Packet analysis {"connection_id":173496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:58:26] local.INFO: Extracted packet for processing {"connection_id":173496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:58:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860437504001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788517635000,"timestamp_ms":1788517635000,"timestamp_seconds":1788517635,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf553b8"} 
[2026-09-04 15:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 15:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860437504001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860437504001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:58:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:58:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860437504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":173496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763408,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:58:26] local.INFO: GPS data processed {"connection_id":173496,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:58:26] local.INFO: Acknowledgment sent {"connection_id":173496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:58:31] local.INFO: TCP Data received {"connection_id":173497,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:58:31] local.INFO: Processing buffer {"connection_id":173497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:58:31] local.INFO: IMEI packet received {"connection_id":173497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":173497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:58:34] local.INFO: TCP Data received {"connection_id":173497,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf58e50012d1b2380071eeef0004d005f26..."} 
[2026-09-04 15:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf58e50012d1b2380071eeef0004d005f26..."} 
[2026-09-04 15:58:34] local.INFO: Processing buffer {"connection_id":173497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf58e50012d1b2380071eeef0004d005f26..."} 
[2026-09-04 15:58:34] local.INFO: Packet analysis {"connection_id":173497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:58:34] local.INFO: Extracted packet for processing {"connection_id":173497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756753280,"raw_latitude":119467760,"longitude_deg":75.675328,"latitude_deg":11.946776,"altitude":77,"angle":95,"satellites":38,"speed":24,"hex_longitude":"2d1b2380","hex_latitude":"071eeef0","is_valid_coordinates":true} 
[2026-09-04 15:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860516608001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17309748995031040,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1950058669234882560,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788517650000,"timestamp_ms":1788517650000,"timestamp_seconds":1788517650,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf58e50"} 
[2026-09-04 15:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-04 15:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860516608001,"66":13993,"121":206,"28":31744,"24":24,"16":17309748995031040,"45":1950058669234882560},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860516608001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:58:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:58:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17309748995031040,"km_value":17309748995031.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1950058669234882560,"description":"Unknown IO ID 45"} 
[2026-09-04 15:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860516608001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1950058669234882560}} 
[2026-09-04 15:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":173497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:58:34] local.INFO: GPS data processed {"connection_id":173497,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:58:34] local.INFO: Acknowledgment sent {"connection_id":173497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:58:40] local.INFO: TCP Data received {"connection_id":172191,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf5ff98012cb29fc007823df80046000c2c..."} 
[2026-09-04 15:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf5ff98012cb29fc007823df80046000c2c..."} 
[2026-09-04 15:58:40] local.INFO: Processing buffer {"connection_id":172191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf5ff98012cb29fc007823df80046000c2c..."} 
[2026-09-04 15:58:40] local.INFO: Packet analysis {"connection_id":172191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:58:40] local.INFO: Extracted packet for processing {"connection_id":172191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:58:40] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125976056,"longitude_deg":74.9903808,"latitude_deg":12.5976056,"altitude":70,"angle":12,"satellites":44,"speed":9,"hex_longitude":"2cb29fc0","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-09-04 15:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860525568001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085172748091392,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179038720,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788517679000,"timestamp_ms":1788517679000,"timestamp_seconds":1788517679,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf5ff98"} 
[2026-09-04 15:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-04 15:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860525568001,"66":26789,"243":206,"85":36096,"24":9,"16":398085172748091392,"44":-5575526675179038720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 15:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860525568001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:58:40] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 15:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 15:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085172748091392,"km_value":398085172748091.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:58:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179038720,"description":"Unknown IO ID 44"} 
[2026-09-04 15:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860525568001,"power":26789,"unknown_243":206,"unknown_85":36096,"ignition":9,"odometer":null,"unknown_44":-5575526675179038720}} 
[2026-09-04 15:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":172191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:58:40] local.INFO: GPS data processed {"connection_id":172191,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:58:40] local.INFO: Acknowledgment sent {"connection_id":172191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:58:49] local.INFO: TCP Data received {"connection_id":173498,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:58:49] local.INFO: Processing buffer {"connection_id":173498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:58:49] local.INFO: IMEI packet received {"connection_id":173498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":173498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:58:54] local.INFO: TCP Data received {"connection_id":173498,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:58:54] local.INFO: Processing buffer {"connection_id":173498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:58:54] local.INFO: IMEI packet received {"connection_id":173498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":173498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:58:55] local.INFO: TCP Data received {"connection_id":173498,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:58:55] local.INFO: Processing buffer {"connection_id":173498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:58:55] local.INFO: Packet analysis {"connection_id":173498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:58:55] local.INFO: Extracted packet for processing {"connection_id":173498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:58:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860437504001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517635000,"timestamp_ms":1788517635000,"timestamp_seconds":1788517635,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf553b8"} 
[2026-09-04 15:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 15:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860437504001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860437504001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:58:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:58:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860437504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":173498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763411,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:58:55] local.INFO: GPS data processed {"connection_id":173498,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:58:55] local.INFO: Acknowledgment sent {"connection_id":173498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:58:57] local.INFO: TCP Data received {"connection_id":170792,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:58:57] local.INFO: Processing buffer {"connection_id":170792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:58:57] local.INFO: IMEI packet received {"connection_id":170792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":170792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:58:58] local.INFO: TCP Data received {"connection_id":170792,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:58:58] local.INFO: Processing buffer {"connection_id":170792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:58:58] local.INFO: IMEI packet received {"connection_id":170792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":170792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:58:59] local.INFO: TCP Data received {"connection_id":172192,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:58:59] local.INFO: Processing buffer {"connection_id":172192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:58:59] local.INFO: IMEI packet received {"connection_id":172192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":172192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:59:04] local.INFO: TCP Data received {"connection_id":172192,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:59:04] local.INFO: Processing buffer {"connection_id":172192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:59:04] local.INFO: IMEI packet received {"connection_id":172192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 15:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":172192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:59:04] local.INFO: TCP Data received {"connection_id":170792,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:04] local.INFO: Processing buffer {"connection_id":170792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:04] local.INFO: IMEI packet received {"connection_id":170792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":170792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:59:05] local.INFO: TCP Data received {"connection_id":172192,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf60380012cb2a04007823ed8004600202b..."} 
[2026-09-04 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf60380012cb2a04007823ed8004600202b..."} 
[2026-09-04 15:59:05] local.INFO: Processing buffer {"connection_id":172192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf60380012cb2a04007823ed8004600202b..."} 
[2026-09-04 15:59:05] local.INFO: Packet analysis {"connection_id":172192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 15:59:05] local.INFO: Extracted packet for processing {"connection_id":172192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 15:59:05] local.INFO: GPS Element Parsed {"raw_longitude":749903936,"raw_latitude":125976280,"longitude_deg":74.9903936,"latitude_deg":12.597628,"altitude":70,"angle":32,"satellites":43,"speed":8,"hex_longitude":"2cb2a040","hex_latitude":"07823ed8","is_valid_coordinates":true} 
[2026-09-04 15:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860525824001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085185632993280,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675178981376,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788517680000,"timestamp_ms":1788517680000,"timestamp_seconds":1788517680,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf60380"} 
[2026-09-04 15:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-04 15:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860525824001,"66":27876,"243":206,"85":36096,"24":8,"16":398085185632993280,"44":-5575526675178981376},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 15:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860525824001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:59:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 15:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 15:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085185632993280,"km_value":398085185632993.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:59:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675178981376,"description":"Unknown IO ID 44"} 
[2026-09-04 15:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860525824001,"power":27876,"unknown_243":206,"unknown_85":36096,"ignition":8,"odometer":null,"unknown_44":-5575526675178981376}} 
[2026-09-04 15:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":172192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:59:05] local.INFO: GPS data processed {"connection_id":172192,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:59:05] local.INFO: Acknowledgment sent {"connection_id":172192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:59:05] local.INFO: TCP Data received {"connection_id":170792,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf59238012d1b2600071eee58004d006a26..."} 
[2026-09-04 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf59238012d1b2600071eee58004d006a26..."} 
[2026-09-04 15:59:05] local.INFO: Processing buffer {"connection_id":170792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf59238012d1b2600071eee58004d006a26..."} 
[2026-09-04 15:59:05] local.INFO: Packet analysis {"connection_id":170792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:59:05] local.INFO: Extracted packet for processing {"connection_id":170792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756753920,"raw_latitude":119467608,"longitude_deg":75.675392,"latitude_deg":11.9467608,"altitude":77,"angle":106,"satellites":38,"speed":24,"hex_longitude":"2d1b2600","hex_latitude":"071eee58","is_valid_coordinates":true} 
[2026-09-04 15:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860518400001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17309779059802112,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955547431281029120,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788517651000,"timestamp_ms":1788517651000,"timestamp_seconds":1788517651,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf59238"} 
[2026-09-04 15:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 15:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860518400001,"66":13222,"121":206,"28":31744,"24":24,"16":17309779059802112,"45":1955547431281029120},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-04 15:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860518400001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:59:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 15:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17309779059802112,"km_value":17309779059802.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955547431281029120,"description":"Unknown IO ID 45"} 
[2026-09-04 15:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860518400001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1955547431281029120}} 
[2026-09-04 15:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":170792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:59:06] local.INFO: GPS data processed {"connection_id":170792,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:59:06] local.INFO: Acknowledgment sent {"connection_id":170792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:59:08] local.INFO: TCP Data received {"connection_id":170792,"ip":"117.224.109.173","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf59a08012d1b2a40071eeb98004d008327..."} 
[2026-09-04 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf59a08012d1b2a40071eeb98004d008327..."} 
[2026-09-04 15:59:08] local.INFO: Processing buffer {"connection_id":170792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf59a08012d1b2a40071eeb98004d008327..."} 
[2026-09-04 15:59:08] local.INFO: Packet analysis {"connection_id":170792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:59:08] local.INFO: Extracted packet for processing {"connection_id":170792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:59:08] local.INFO: GPS Element Parsed {"raw_longitude":756755008,"raw_latitude":119466904,"longitude_deg":75.6755008,"latitude_deg":11.9466904,"altitude":77,"angle":131,"satellites":39,"speed":24,"hex_longitude":"2d1b2a40","hex_latitude":"071eeb98","is_valid_coordinates":true} 
[2026-09-04 15:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860518656001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17309839189344256,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956251118722766848,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788517653000,"timestamp_ms":1788517653000,"timestamp_seconds":1788517653,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf59a08"} 
[2026-09-04 15:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 15:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 15:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.109.173","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 15:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 15:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860518656001,"66":14102,"70":206,"28":31744,"24":24,"16":17309839189344256,"45":1956251118722766848},"client_ip":"117.224.109.173","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-04 15:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 15:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 15:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860518656001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:59:08] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-04 15:59:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-04 15:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17309839189344256,"km_value":17309839189344.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956251118722766848,"description":"Unknown IO ID 45"} 
[2026-09-04 15:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860518656001,"power":14102,"unknown_70":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1956251118722766848}} 
[2026-09-04 15:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":170792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:59:09] local.INFO: GPS data processed {"connection_id":170792,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:59:09] local.INFO: Acknowledgment sent {"connection_id":170792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:59:26] local.INFO: TCP Data received {"connection_id":173498,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:59:26] local.INFO: Processing buffer {"connection_id":173498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:59:26] local.INFO: Packet analysis {"connection_id":173498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:59:26] local.INFO: Extracted packet for processing {"connection_id":173498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:59:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860437504001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788517635000,"timestamp_ms":1788517635000,"timestamp_seconds":1788517635,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf553b8"} 
[2026-09-04 15:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 15:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860437504001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860437504001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:59:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:59:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860437504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":173498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763415,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:59:26] local.INFO: GPS data processed {"connection_id":173498,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:59:26] local.INFO: Acknowledgment sent {"connection_id":173498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:59:36] local.INFO: TCP Data received {"connection_id":172192,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 15:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 15:59:36] local.INFO: Processing buffer {"connection_id":172192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 15:59:36] local.INFO: Packet analysis {"connection_id":172192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 15:59:36] local.INFO: Extracted packet for processing {"connection_id":172192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 15:59:36] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125976440,"longitude_deg":74.9904,"latitude_deg":12.597644,"altitude":70,"angle":43,"satellites":43,"speed":6,"hex_longitude":"2cb2a080","hex_latitude":"07823f78","is_valid_coordinates":true} 
[2026-09-04 15:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526080001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575385937690568704,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788517681000,"timestamp_ms":1788517681000,"timestamp_seconds":1788517681,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf60768"} 
[2026-09-04 15:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 15:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 15:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 15:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 15:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 15:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526080001,"66":27876,"243":206,"85":36096,"24":6,"16":398085194222927872,"44":-5575385937690568704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 15:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 15:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 15:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526080001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:59:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 15:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 15:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:59:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575385937690568704,"description":"Unknown IO ID 44"} 
[2026-09-04 15:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526080001,"power":27876,"unknown_243":206,"unknown_85":36096,"ignition":6,"odometer":null,"unknown_44":-5575385937690568704}} 
[2026-09-04 15:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":172192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:59:36] local.INFO: GPS data processed {"connection_id":172192,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:59:36] local.INFO: Acknowledgment sent {"connection_id":172192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:59:46] local.INFO: TCP Data received {"connection_id":171090,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:46] local.INFO: Processing buffer {"connection_id":171090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:46] local.INFO: IMEI packet received {"connection_id":171090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 15:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":171090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:59:47] local.INFO: TCP Data received {"connection_id":171090,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:47] local.INFO: Processing buffer {"connection_id":171090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:47] local.INFO: IMEI packet received {"connection_id":171090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":171090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:59:48] local.INFO: TCP Data received {"connection_id":171090,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:48] local.INFO: Processing buffer {"connection_id":171090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:48] local.INFO: IMEI packet received {"connection_id":171090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":171090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:59:48] local.INFO: TCP Data received {"connection_id":171090,"ip":"117.224.109.173","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:48] local.INFO: Processing buffer {"connection_id":171090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 15:59:48] local.INFO: IMEI packet received {"connection_id":171090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 15:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":171090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:59:49] local.INFO: TCP Data received {"connection_id":170793,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:59:49] local.INFO: Processing buffer {"connection_id":170793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:59:49] local.INFO: IMEI packet received {"connection_id":170793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 15:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":170793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 15:59:54] local.INFO: TCP Data received {"connection_id":170793,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:59:54] local.INFO: Processing buffer {"connection_id":170793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 15:59:54] local.INFO: IMEI packet received {"connection_id":170793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 15:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":170793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 15:59:55] local.INFO: TCP Data received {"connection_id":170793,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:59:55] local.INFO: Processing buffer {"connection_id":170793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 15:59:55] local.INFO: Packet analysis {"connection_id":170793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:59:55] local.INFO: Extracted packet for processing {"connection_id":170793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 15:59:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 15:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 15:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860437504001,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 15:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 15:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517635000,"timestamp_ms":1788517635000,"timestamp_seconds":1788517635,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf553b8"} 
[2026-09-04 15:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 15:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 15:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 15:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 15:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 15:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 15:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 15:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 15:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 15:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 15:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 15:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 15:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860437504001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 15:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 15:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 15:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860437504001,"description":"Unknown IO ID 0"} 
[2026-09-04 15:59:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 15:59:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 15:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 15:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 15:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860437504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 15:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":170793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 15:59:55] local.INFO: GPS data processed {"connection_id":170793,"processed":1,"errors":0,"total":1} 
[2026-09-04 15:59:55] local.INFO: Acknowledgment sent {"connection_id":170793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 15:59:59] local.INFO: TCP Data received {"connection_id":171091,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:59:59] local.INFO: Processing buffer {"connection_id":171091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 15:59:59] local.INFO: IMEI packet received {"connection_id":171091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 15:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":171091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:00:04] local.INFO: TCP Data received {"connection_id":171091,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:00:04] local.INFO: Processing buffer {"connection_id":171091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:00:04] local.INFO: IMEI packet received {"connection_id":171091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":171091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:00:05] local.INFO: TCP Data received {"connection_id":171091,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:00:05] local.INFO: Processing buffer {"connection_id":171091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:00:05] local.INFO: Packet analysis {"connection_id":171091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:00:05] local.INFO: Extracted packet for processing {"connection_id":171091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:00:05] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125976440,"longitude_deg":74.9904,"latitude_deg":12.597644,"altitude":70,"angle":43,"satellites":43,"speed":6,"hex_longitude":"2cb2a080","hex_latitude":"07823f78","is_valid_coordinates":true} 
[2026-09-04 16:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526080001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575385937690568704,"note":"Value kept but may cause issues"} 
[2026-09-04 16:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788517681000,"timestamp_ms":1788517681000,"timestamp_seconds":1788517681,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf60768"} 
[2026-09-04 16:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526080001,"66":27876,"243":206,"85":36096,"24":6,"16":398085194222927872,"44":-5575385937690568704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526080001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:00:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575385937690568704,"description":"Unknown IO ID 44"} 
[2026-09-04 16:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526080001,"power":27876,"unknown_243":206,"unknown_85":36096,"ignition":6,"odometer":null,"unknown_44":-5575385937690568704}} 
[2026-09-04 16:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":171091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:00:05] local.INFO: GPS data processed {"connection_id":171091,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:00:05] local.INFO: Acknowledgment sent {"connection_id":171091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:00:22] local.INFO: TCP Data received {"connection_id":172193,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:00:22] local.INFO: Processing buffer {"connection_id":172193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:00:22] local.INFO: IMEI packet received {"connection_id":172193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 16:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":172193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:00:23] local.INFO: TCP Data received {"connection_id":172193,"ip":"42.106.6.58","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-04 16:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172193,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-04 16:00:23] local.INFO: Processing buffer {"connection_id":172193,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-04 16:00:23] local.INFO: IMEI packet received {"connection_id":172193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":172193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:00:26] local.INFO: TCP Data received {"connection_id":172193,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:00:26] local.INFO: Processing buffer {"connection_id":172193,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-04 16:00:26] local.INFO: IMEI packet received {"connection_id":172193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":172193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:00:27] local.INFO: TCP Data received {"connection_id":170793,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:00:27] local.INFO: Processing buffer {"connection_id":170793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:00:27] local.INFO: Packet analysis {"connection_id":170793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 16:00:27] local.INFO: Extracted packet for processing {"connection_id":170793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 16:00:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860437504001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788517635000,"timestamp_ms":1788517635000,"timestamp_seconds":1788517635,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf553b8"} 
[2026-09-04 16:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 16:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860437504001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860437504001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:00:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:00:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860437504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":170793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763419,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:00:27] local.INFO: GPS data processed {"connection_id":170793,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:00:27] local.INFO: Acknowledgment sent {"connection_id":170793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:00:36] local.INFO: TCP Data received {"connection_id":171091,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:00:36] local.INFO: Processing buffer {"connection_id":171091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:00:36] local.INFO: Packet analysis {"connection_id":171091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:00:36] local.INFO: Extracted packet for processing {"connection_id":171091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:00:36] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125976440,"longitude_deg":74.9904,"latitude_deg":12.597644,"altitude":70,"angle":43,"satellites":43,"speed":6,"hex_longitude":"2cb2a080","hex_latitude":"07823f78","is_valid_coordinates":true} 
[2026-09-04 16:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526080001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:00:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575385937690568704,"note":"Value kept but may cause issues"} 
[2026-09-04 16:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788517681000,"timestamp_ms":1788517681000,"timestamp_seconds":1788517681,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf60768"} 
[2026-09-04 16:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526080001,"66":27876,"243":206,"85":36096,"24":6,"16":398085194222927872,"44":-5575385937690568704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526080001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:00:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:00:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575385937690568704,"description":"Unknown IO ID 44"} 
[2026-09-04 16:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526080001,"power":27876,"unknown_243":206,"unknown_85":36096,"ignition":6,"odometer":null,"unknown_44":-5575385937690568704}} 
[2026-09-04 16:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":171091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:00:36] local.INFO: GPS data processed {"connection_id":171091,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:00:36] local.INFO: Acknowledgment sent {"connection_id":171091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:00:48] local.INFO: TCP Data received {"connection_id":170795,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:00:48] local.INFO: Processing buffer {"connection_id":170795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:00:48] local.INFO: IMEI packet received {"connection_id":170795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":170795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:00:54] local.INFO: TCP Data received {"connection_id":170795,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:00:54] local.INFO: Processing buffer {"connection_id":170795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:00:54] local.INFO: IMEI packet received {"connection_id":170795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":170795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:00:55] local.INFO: TCP Data received {"connection_id":170795,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:00:55] local.INFO: Processing buffer {"connection_id":170795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:00:55] local.INFO: Packet analysis {"connection_id":170795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 16:00:55] local.INFO: Extracted packet for processing {"connection_id":170795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 16:00:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860437504001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517635000,"timestamp_ms":1788517635000,"timestamp_seconds":1788517635,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf553b8"} 
[2026-09-04 16:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 16:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860437504001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860437504001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:00:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860437504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":170795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763421,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:00:55] local.INFO: GPS data processed {"connection_id":170795,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:00:55] local.INFO: Acknowledgment sent {"connection_id":170795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:00:59] local.INFO: TCP Data received {"connection_id":172194,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:00:59] local.INFO: Processing buffer {"connection_id":172194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:00:59] local.INFO: IMEI packet received {"connection_id":172194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":172194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:01:04] local.INFO: TCP Data received {"connection_id":172194,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:01:04] local.INFO: Processing buffer {"connection_id":172194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:01:04] local.INFO: IMEI packet received {"connection_id":172194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":172194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:01:05] local.INFO: TCP Data received {"connection_id":172194,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:01:05] local.INFO: Processing buffer {"connection_id":172194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:01:05] local.INFO: Packet analysis {"connection_id":172194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:01:05] local.INFO: Extracted packet for processing {"connection_id":172194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:01:05] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125976440,"longitude_deg":74.9904,"latitude_deg":12.597644,"altitude":70,"angle":43,"satellites":43,"speed":6,"hex_longitude":"2cb2a080","hex_latitude":"07823f78","is_valid_coordinates":true} 
[2026-09-04 16:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526080001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575385937690568704,"note":"Value kept but may cause issues"} 
[2026-09-04 16:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788517681000,"timestamp_ms":1788517681000,"timestamp_seconds":1788517681,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf60768"} 
[2026-09-04 16:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526080001,"66":27876,"243":206,"85":36096,"24":6,"16":398085194222927872,"44":-5575385937690568704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526080001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:01:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575385937690568704,"description":"Unknown IO ID 44"} 
[2026-09-04 16:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526080001,"power":27876,"unknown_243":206,"unknown_85":36096,"ignition":6,"odometer":null,"unknown_44":-5575385937690568704}} 
[2026-09-04 16:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":172194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:01:05] local.INFO: GPS data processed {"connection_id":172194,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:01:05] local.INFO: Acknowledgment sent {"connection_id":172194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:01:28] local.INFO: TCP Data received {"connection_id":170795,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:01:28] local.INFO: Processing buffer {"connection_id":170795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:01:28] local.INFO: Packet analysis {"connection_id":170795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 16:01:28] local.INFO: Extracted packet for processing {"connection_id":170795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 16:01:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860437504001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788517635000,"timestamp_ms":1788517635000,"timestamp_seconds":1788517635,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf553b8"} 
[2026-09-04 16:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 16:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860437504001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860437504001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:01:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:01:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860437504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":170795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763423,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:01:28] local.INFO: GPS data processed {"connection_id":170795,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:01:28] local.INFO: Acknowledgment sent {"connection_id":170795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:01:36] local.INFO: TCP Data received {"connection_id":172194,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:01:36] local.INFO: Processing buffer {"connection_id":172194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:01:36] local.INFO: Packet analysis {"connection_id":172194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:01:36] local.INFO: Extracted packet for processing {"connection_id":172194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:01:36] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125976440,"longitude_deg":74.9904,"latitude_deg":12.597644,"altitude":70,"angle":43,"satellites":43,"speed":6,"hex_longitude":"2cb2a080","hex_latitude":"07823f78","is_valid_coordinates":true} 
[2026-09-04 16:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526080001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:01:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575385937690568704,"note":"Value kept but may cause issues"} 
[2026-09-04 16:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788517681000,"timestamp_ms":1788517681000,"timestamp_seconds":1788517681,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf60768"} 
[2026-09-04 16:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526080001,"66":27876,"243":206,"85":36096,"24":6,"16":398085194222927872,"44":-5575385937690568704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526080001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:01:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:01:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:01:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575385937690568704,"description":"Unknown IO ID 44"} 
[2026-09-04 16:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526080001,"power":27876,"unknown_243":206,"unknown_85":36096,"ignition":6,"odometer":null,"unknown_44":-5575385937690568704}} 
[2026-09-04 16:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":172194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:01:36] local.INFO: GPS data processed {"connection_id":172194,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:01:36] local.INFO: Acknowledgment sent {"connection_id":172194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:01:48] local.INFO: TCP Data received {"connection_id":173499,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:01:48] local.INFO: Processing buffer {"connection_id":173499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:01:48] local.INFO: IMEI packet received {"connection_id":173499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:01:54] local.INFO: TCP Data received {"connection_id":173499,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:01:54] local.INFO: Processing buffer {"connection_id":173499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:01:54] local.INFO: IMEI packet received {"connection_id":173499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":173499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:01:55] local.INFO: TCP Data received {"connection_id":173499,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:01:55] local.INFO: Processing buffer {"connection_id":173499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:01:55] local.INFO: Packet analysis {"connection_id":173499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 16:01:55] local.INFO: Extracted packet for processing {"connection_id":173499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 16:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860437504001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517635000,"timestamp_ms":1788517635000,"timestamp_seconds":1788517635,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf553b8"} 
[2026-09-04 16:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 16:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860437504001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860437504001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:01:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860437504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":173499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:01:55] local.INFO: GPS data processed {"connection_id":173499,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:01:55] local.INFO: Acknowledgment sent {"connection_id":173499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:01:59] local.INFO: TCP Data received {"connection_id":170796,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:01:59] local.INFO: Processing buffer {"connection_id":170796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:01:59] local.INFO: IMEI packet received {"connection_id":170796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":170796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:02:04] local.INFO: TCP Data received {"connection_id":170796,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:02:04] local.INFO: Processing buffer {"connection_id":170796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:02:04] local.INFO: IMEI packet received {"connection_id":170796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":170796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:02:05] local.INFO: TCP Data received {"connection_id":170796,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:02:05] local.INFO: Processing buffer {"connection_id":170796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:02:05] local.INFO: Packet analysis {"connection_id":170796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:02:05] local.INFO: Extracted packet for processing {"connection_id":170796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125976440,"longitude_deg":74.9904,"latitude_deg":12.597644,"altitude":70,"angle":43,"satellites":43,"speed":6,"hex_longitude":"2cb2a080","hex_latitude":"07823f78","is_valid_coordinates":true} 
[2026-09-04 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526080001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:02:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575385937690568704,"note":"Value kept but may cause issues"} 
[2026-09-04 16:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788517681000,"timestamp_ms":1788517681000,"timestamp_seconds":1788517681,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf60768"} 
[2026-09-04 16:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526080001,"66":27876,"243":206,"85":36096,"24":6,"16":398085194222927872,"44":-5575385937690568704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526080001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:02:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:02:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575385937690568704,"description":"Unknown IO ID 44"} 
[2026-09-04 16:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526080001,"power":27876,"unknown_243":206,"unknown_85":36096,"ignition":6,"odometer":null,"unknown_44":-5575385937690568704}} 
[2026-09-04 16:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":170796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:02:05] local.INFO: GPS data processed {"connection_id":170796,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:02:05] local.INFO: Acknowledgment sent {"connection_id":170796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:02:27] local.INFO: TCP Data received {"connection_id":173499,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:02:27] local.INFO: Processing buffer {"connection_id":173499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf553b8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:02:27] local.INFO: Packet analysis {"connection_id":173499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 16:02:27] local.INFO: Extracted packet for processing {"connection_id":173499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf5"} 
[2026-09-04 16:02:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860437504001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788517635000,"timestamp_ms":1788517635000,"timestamp_seconds":1788517635,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf553b8"} 
[2026-09-04 16:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 16:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860437504001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860437504001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:02:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:02:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860437504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":173499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:02:28] local.INFO: GPS data processed {"connection_id":173499,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:02:28] local.INFO: Acknowledgment sent {"connection_id":173499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:02:36] local.INFO: TCP Data received {"connection_id":170796,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:02:36] local.INFO: Processing buffer {"connection_id":170796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:02:36] local.INFO: Packet analysis {"connection_id":170796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:02:36] local.INFO: Extracted packet for processing {"connection_id":170796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:02:36] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125976440,"longitude_deg":74.9904,"latitude_deg":12.597644,"altitude":70,"angle":43,"satellites":43,"speed":6,"hex_longitude":"2cb2a080","hex_latitude":"07823f78","is_valid_coordinates":true} 
[2026-09-04 16:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526080001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:02:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575385937690568704,"note":"Value kept but may cause issues"} 
[2026-09-04 16:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788517681000,"timestamp_ms":1788517681000,"timestamp_seconds":1788517681,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf60768"} 
[2026-09-04 16:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526080001,"66":27876,"243":206,"85":36096,"24":6,"16":398085194222927872,"44":-5575385937690568704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526080001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:02:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:02:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:02:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575385937690568704,"description":"Unknown IO ID 44"} 
[2026-09-04 16:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526080001,"power":27876,"unknown_243":206,"unknown_85":36096,"ignition":6,"odometer":null,"unknown_44":-5575385937690568704}} 
[2026-09-04 16:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":170796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:02:36] local.INFO: GPS data processed {"connection_id":170796,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:02:36] local.INFO: Acknowledgment sent {"connection_id":170796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:02:54] local.INFO: TCP Data received {"connection_id":173500,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:02:54] local.INFO: Processing buffer {"connection_id":173500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:02:54] local.INFO: IMEI packet received {"connection_id":173500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":173500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:02:54] local.INFO: TCP Data received {"connection_id":173500,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:02:54] local.INFO: Processing buffer {"connection_id":173500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:02:54] local.INFO: IMEI packet received {"connection_id":173500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":173500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:02:58] local.INFO: TCP Data received {"connection_id":173500,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:02:58] local.INFO: Processing buffer {"connection_id":173500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:02:58] local.INFO: IMEI packet received {"connection_id":173500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":173500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:02:59] local.INFO: TCP Data received {"connection_id":170797,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:02:59] local.INFO: Processing buffer {"connection_id":170797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:02:59] local.INFO: IMEI packet received {"connection_id":170797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":170797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:02:59] local.INFO: TCP Data received {"connection_id":173500,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:02:59] local.INFO: Processing buffer {"connection_id":173500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:02:59] local.INFO: Packet analysis {"connection_id":173500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:02:59] local.INFO: Extracted packet for processing {"connection_id":173500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860514560001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788517936000,"timestamp_ms":1788517936000,"timestamp_seconds":1788517936,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf9eb80"} 
[2026-09-04 16:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860514560001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860514560001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:02:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:02:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860514560001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":173500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763429,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:02:59] local.INFO: GPS data processed {"connection_id":173500,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:02:59] local.INFO: Acknowledgment sent {"connection_id":173500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:03:04] local.INFO: TCP Data received {"connection_id":170797,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:03:04] local.INFO: Processing buffer {"connection_id":170797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:03:04] local.INFO: IMEI packet received {"connection_id":170797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":170797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:03:05] local.INFO: TCP Data received {"connection_id":170797,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:03:05] local.INFO: Processing buffer {"connection_id":170797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:03:05] local.INFO: Packet analysis {"connection_id":170797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:03:05] local.INFO: Extracted packet for processing {"connection_id":170797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:03:05] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125976440,"longitude_deg":74.9904,"latitude_deg":12.597644,"altitude":70,"angle":43,"satellites":43,"speed":6,"hex_longitude":"2cb2a080","hex_latitude":"07823f78","is_valid_coordinates":true} 
[2026-09-04 16:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526080001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:03:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575385937690568704,"note":"Value kept but may cause issues"} 
[2026-09-04 16:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788517681000,"timestamp_ms":1788517681000,"timestamp_seconds":1788517681,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf60768"} 
[2026-09-04 16:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526080001,"66":27876,"243":206,"85":36096,"24":6,"16":398085194222927872,"44":-5575385937690568704},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526080001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:03:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:03:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:03:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575385937690568704,"description":"Unknown IO ID 44"} 
[2026-09-04 16:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526080001,"power":27876,"unknown_243":206,"unknown_85":36096,"ignition":6,"odometer":null,"unknown_44":-5575385937690568704}} 
[2026-09-04 16:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":170797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:03:05] local.INFO: GPS data processed {"connection_id":170797,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:03:05] local.INFO: Acknowledgment sent {"connection_id":170797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:03:10] local.INFO: TCP Data received {"connection_id":173500,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:03:10] local.INFO: Processing buffer {"connection_id":173500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:03:10] local.INFO: Packet analysis {"connection_id":173500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:03:10] local.INFO: Extracted packet for processing {"connection_id":173500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860514560001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788517936000,"timestamp_ms":1788517936000,"timestamp_seconds":1788517936,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf9eb80"} 
[2026-09-04 16:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860514560001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860514560001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:03:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:03:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860514560001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":173500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:03:10] local.INFO: GPS data processed {"connection_id":173500,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:03:10] local.INFO: Acknowledgment sent {"connection_id":173500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:03:36] local.INFO: TCP Data received {"connection_id":170797,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:03:36] local.INFO: Processing buffer {"connection_id":170797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf60768012cb2a08007823f780046002b2b..."} 
[2026-09-04 16:03:36] local.INFO: Packet analysis {"connection_id":170797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:03:36] local.INFO: Extracted packet for processing {"connection_id":170797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf6"} 
[2026-09-04 16:03:36] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125976440,"longitude_deg":74.9904,"latitude_deg":12.597644,"altitude":70,"angle":43,"satellites":43,"speed":6,"hex_longitude":"2cb2a080","hex_latitude":"07823f78","is_valid_coordinates":true} 
[2026-09-04 16:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526080001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:03:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575385937690568704,"note":"Value kept but may cause issues"} 
[2026-09-04 16:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788517681000,"timestamp_ms":1788517681000,"timestamp_seconds":1788517681,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf60768"} 
[2026-09-04 16:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526080001,"66":27876,"243":206,"85":36096,"24":6,"16":398085194222927872,"44":-5575385937690568704},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526080001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:03:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:03:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:03:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575385937690568704,"description":"Unknown IO ID 44"} 
[2026-09-04 16:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526080001,"power":27876,"unknown_243":206,"unknown_85":36096,"ignition":6,"odometer":null,"unknown_44":-5575385937690568704}} 
[2026-09-04 16:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":170797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:03:36] local.INFO: GPS data processed {"connection_id":170797,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:03:36] local.INFO: Acknowledgment sent {"connection_id":170797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:03:48] local.INFO: TCP Data received {"connection_id":171093,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:03:48] local.INFO: Processing buffer {"connection_id":171093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:03:48] local.INFO: IMEI packet received {"connection_id":171093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":171093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:03:54] local.INFO: TCP Data received {"connection_id":171093,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:03:54] local.INFO: Processing buffer {"connection_id":171093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:03:54] local.INFO: IMEI packet received {"connection_id":171093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":171093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:03:55] local.INFO: TCP Data received {"connection_id":171093,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:03:55] local.INFO: Processing buffer {"connection_id":171093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:03:55] local.INFO: Packet analysis {"connection_id":171093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:03:55] local.INFO: Extracted packet for processing {"connection_id":171093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:03:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860514560001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517936000,"timestamp_ms":1788517936000,"timestamp_seconds":1788517936,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf9eb80"} 
[2026-09-04 16:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860514560001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860514560001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:03:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860514560001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":171093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:03:55] local.INFO: GPS data processed {"connection_id":171093,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:03:55] local.INFO: Acknowledgment sent {"connection_id":171093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:04:04] local.INFO: TCP Data received {"connection_id":173501,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:04:04] local.INFO: Processing buffer {"connection_id":173501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:04:04] local.INFO: IMEI packet received {"connection_id":173501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":173501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:04:09] local.INFO: TCP Data received {"connection_id":173501,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:04:09] local.INFO: Processing buffer {"connection_id":173501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:04:09] local.INFO: IMEI packet received {"connection_id":173501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":173501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:04:10] local.INFO: TCP Data received {"connection_id":173501,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:04:10] local.INFO: Processing buffer {"connection_id":173501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:04:10] local.INFO: Packet analysis {"connection_id":173501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:04:10] local.INFO: Extracted packet for processing {"connection_id":173501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":45,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526336001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946350080,"note":"Value kept but may cause issues"} 
[2026-09-04 16:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788517987000,"timestamp_ms":1788517987000,"timestamp_seconds":1788517987,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfab2b8"} 
[2026-09-04 16:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526336001,"66":26495,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575315568946350080},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526336001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:04:10] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946350080,"description":"Unknown IO ID 44"} 
[2026-09-04 16:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526336001,"power":26495,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575315568946350080}} 
[2026-09-04 16:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":173501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:04:10] local.INFO: GPS data processed {"connection_id":173501,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:04:10] local.INFO: Acknowledgment sent {"connection_id":173501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:04:14] local.INFO: TCP Data received {"connection_id":173501,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:04:14] local.INFO: Processing buffer {"connection_id":173501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:04:14] local.INFO: Packet analysis {"connection_id":173501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:04:14] local.INFO: Extracted packet for processing {"connection_id":173501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:04:14] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":45,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526336001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:04:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946350080,"note":"Value kept but may cause issues"} 
[2026-09-04 16:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788517987000,"timestamp_ms":1788517987000,"timestamp_seconds":1788517987,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfab2b8"} 
[2026-09-04 16:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526336001,"66":26495,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575315568946350080},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526336001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:04:14] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:04:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:04:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946350080,"description":"Unknown IO ID 44"} 
[2026-09-04 16:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526336001,"power":26495,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575315568946350080}} 
[2026-09-04 16:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":173501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:04:14] local.INFO: GPS data processed {"connection_id":173501,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:04:14] local.INFO: Acknowledgment sent {"connection_id":173501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:04:26] local.INFO: TCP Data received {"connection_id":171093,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:04:26] local.INFO: Processing buffer {"connection_id":171093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:04:26] local.INFO: Packet analysis {"connection_id":171093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:04:26] local.INFO: Extracted packet for processing {"connection_id":171093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:04:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860514560001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788517936000,"timestamp_ms":1788517936000,"timestamp_seconds":1788517936,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf9eb80"} 
[2026-09-04 16:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860514560001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860514560001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:04:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:04:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860514560001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":171093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:04:27] local.INFO: GPS data processed {"connection_id":171093,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:04:27] local.INFO: Acknowledgment sent {"connection_id":171093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:04:48] local.INFO: TCP Data received {"connection_id":173503,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:04:48] local.INFO: Processing buffer {"connection_id":173503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:04:48] local.INFO: IMEI packet received {"connection_id":173503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":173503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:04:54] local.INFO: TCP Data received {"connection_id":173503,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:04:54] local.INFO: Processing buffer {"connection_id":173503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:04:54] local.INFO: IMEI packet received {"connection_id":173503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":173503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:04:55] local.INFO: TCP Data received {"connection_id":173503,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:04:55] local.INFO: Processing buffer {"connection_id":173503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:04:55] local.INFO: Packet analysis {"connection_id":173503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:04:55] local.INFO: Extracted packet for processing {"connection_id":173503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:04:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860514560001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788517936000,"timestamp_ms":1788517936000,"timestamp_seconds":1788517936,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf9eb80"} 
[2026-09-04 16:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860514560001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860514560001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:04:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:04:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860514560001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":173503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:04:55] local.INFO: GPS data processed {"connection_id":173503,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:04:55] local.INFO: Acknowledgment sent {"connection_id":173503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:04:59] local.INFO: TCP Data received {"connection_id":170799,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:04:59] local.INFO: Processing buffer {"connection_id":170799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:04:59] local.INFO: IMEI packet received {"connection_id":170799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":170799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:05:04] local.INFO: TCP Data received {"connection_id":170799,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:05:04] local.INFO: Processing buffer {"connection_id":170799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:05:04] local.INFO: IMEI packet received {"connection_id":170799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":170799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:05:05] local.INFO: TCP Data received {"connection_id":170799,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:05:05] local.INFO: Processing buffer {"connection_id":170799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:05:05] local.INFO: Packet analysis {"connection_id":170799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:05:05] local.INFO: Extracted packet for processing {"connection_id":170799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:05:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":45,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526336001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:05:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946350080,"note":"Value kept but may cause issues"} 
[2026-09-04 16:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788517987000,"timestamp_ms":1788517987000,"timestamp_seconds":1788517987,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfab2b8"} 
[2026-09-04 16:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526336001,"66":26495,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575315568946350080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526336001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:05:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:05:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946350080,"description":"Unknown IO ID 44"} 
[2026-09-04 16:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526336001,"power":26495,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575315568946350080}} 
[2026-09-04 16:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":170799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:05:05] local.INFO: GPS data processed {"connection_id":170799,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:05:05] local.INFO: Acknowledgment sent {"connection_id":170799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:05:27] local.INFO: TCP Data received {"connection_id":173503,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:05:27] local.INFO: Processing buffer {"connection_id":173503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:05:27] local.INFO: Packet analysis {"connection_id":173503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:05:27] local.INFO: Extracted packet for processing {"connection_id":173503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:05:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860514560001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788517936000,"timestamp_ms":1788517936000,"timestamp_seconds":1788517936,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf9eb80"} 
[2026-09-04 16:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860514560001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860514560001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:05:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:05:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860514560001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":173503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:05:28] local.INFO: GPS data processed {"connection_id":173503,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:05:28] local.INFO: Acknowledgment sent {"connection_id":173503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:05:36] local.INFO: TCP Data received {"connection_id":170799,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:05:36] local.INFO: Processing buffer {"connection_id":170799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:05:36] local.INFO: Packet analysis {"connection_id":170799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:05:36] local.INFO: Extracted packet for processing {"connection_id":170799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:05:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":45,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526336001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:05:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946350080,"note":"Value kept but may cause issues"} 
[2026-09-04 16:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788517987000,"timestamp_ms":1788517987000,"timestamp_seconds":1788517987,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfab2b8"} 
[2026-09-04 16:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526336001,"66":26495,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575315568946350080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526336001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:05:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:05:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946350080,"description":"Unknown IO ID 44"} 
[2026-09-04 16:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526336001,"power":26495,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575315568946350080}} 
[2026-09-04 16:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":170799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:05:36] local.INFO: GPS data processed {"connection_id":170799,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:05:36] local.INFO: Acknowledgment sent {"connection_id":170799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:05:54] local.INFO: TCP Data received {"connection_id":173504,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:05:54] local.INFO: Processing buffer {"connection_id":173504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:05:54] local.INFO: IMEI packet received {"connection_id":173504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":173504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:05:56] local.INFO: TCP Data received {"connection_id":173502,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:05:56] local.INFO: Processing buffer {"connection_id":173502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:05:56] local.INFO: IMEI packet received {"connection_id":173502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 16:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":173502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:05:57] local.INFO: TCP Data received {"connection_id":173502,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a00000000000128e00100000000000000000000000000..."} 
[2026-09-04 16:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173502,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000128e00100000000000000000000000000..."} 
[2026-09-04 16:05:57] local.INFO: Processing buffer {"connection_id":173502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000128e00100000000000000000000000000..."} 
[2026-09-04 16:05:57] local.INFO: Packet analysis {"connection_id":173502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-04 16:05:57] local.INFO: Extracted packet for processing {"connection_id":173502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-04 16:05:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 16:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 16:05:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,33,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 16:05:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":76000,"timestamp_seconds":76,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:05:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 16:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173502,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173502,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173502,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 16:05:57] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 16:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":173502,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 16:05:57] local.ERROR: GPS data processing failed {"connection_id":173502,"error":"No valid data to process"} 
[2026-09-04 16:05:57] local.INFO: Acknowledgment sent {"connection_id":173502,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 16:05:59] local.INFO: TCP Data received {"connection_id":173504,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:05:59] local.INFO: Processing buffer {"connection_id":173504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:05:59] local.INFO: IMEI packet received {"connection_id":173504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":173504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:05:59] local.INFO: TCP Data received {"connection_id":171094,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:05:59] local.INFO: Processing buffer {"connection_id":171094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:05:59] local.INFO: IMEI packet received {"connection_id":171094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":171094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:06:00] local.INFO: TCP Data received {"connection_id":173504,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:06:00] local.INFO: Processing buffer {"connection_id":173504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:06:00] local.INFO: Packet analysis {"connection_id":173504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:06:00] local.INFO: Extracted packet for processing {"connection_id":173504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:06:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860514560001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788517936000,"timestamp_ms":1788517936000,"timestamp_seconds":1788517936,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf9eb80"} 
[2026-09-04 16:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860514560001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860514560001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:06:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860514560001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":173504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763441,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:06:00] local.INFO: GPS data processed {"connection_id":173504,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:06:00] local.INFO: Acknowledgment sent {"connection_id":173504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:06:04] local.INFO: TCP Data received {"connection_id":171094,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:06:04] local.INFO: Processing buffer {"connection_id":171094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:06:04] local.INFO: IMEI packet received {"connection_id":171094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":171094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:06:05] local.INFO: TCP Data received {"connection_id":173504,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:06:05] local.INFO: Processing buffer {"connection_id":173504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:06:05] local.INFO: Packet analysis {"connection_id":173504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:06:05] local.INFO: Extracted packet for processing {"connection_id":173504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860514560001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788517936000,"timestamp_ms":1788517936000,"timestamp_seconds":1788517936,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf9eb80"} 
[2026-09-04 16:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860514560001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860514560001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:06:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860514560001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":173504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763442,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:06:05] local.INFO: GPS data processed {"connection_id":173504,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:06:05] local.INFO: Acknowledgment sent {"connection_id":173504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:06:05] local.INFO: TCP Data received {"connection_id":171094,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:06:05] local.INFO: Processing buffer {"connection_id":171094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:06:05] local.INFO: Packet analysis {"connection_id":171094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:06:05] local.INFO: Extracted packet for processing {"connection_id":171094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":45,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526336001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946350080,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788517987000,"timestamp_ms":1788517987000,"timestamp_seconds":1788517987,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfab2b8"} 
[2026-09-04 16:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526336001,"66":26495,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575315568946350080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526336001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:06:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:06:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:06:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946350080,"description":"Unknown IO ID 44"} 
[2026-09-04 16:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526336001,"power":26495,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575315568946350080}} 
[2026-09-04 16:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":171094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:06:05] local.INFO: GPS data processed {"connection_id":171094,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:06:05] local.INFO: Acknowledgment sent {"connection_id":171094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:06:28] local.INFO: TCP Data received {"connection_id":173502,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a00000000000128e00100000000000000000000000000..."} 
[2026-09-04 16:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173502,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000128e00100000000000000000000000000..."} 
[2026-09-04 16:06:28] local.INFO: Processing buffer {"connection_id":173502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000128e00100000000000000000000000000..."} 
[2026-09-04 16:06:28] local.INFO: Packet analysis {"connection_id":173502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-04 16:06:28] local.INFO: Extracted packet for processing {"connection_id":173502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-04 16:06:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 16:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,33,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 16:06:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":76000,"timestamp_seconds":76,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:06:28] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 16:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173502,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173502,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173502,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 16:06:28] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 16:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":173502,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 16:06:28] local.ERROR: GPS data processing failed {"connection_id":173502,"error":"No valid data to process"} 
[2026-09-04 16:06:28] local.INFO: Acknowledgment sent {"connection_id":173502,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 16:06:36] local.INFO: TCP Data received {"connection_id":171094,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:06:36] local.INFO: Processing buffer {"connection_id":171094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:06:36] local.INFO: Packet analysis {"connection_id":171094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:06:36] local.INFO: Extracted packet for processing {"connection_id":171094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":45,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526336001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946350080,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788517987000,"timestamp_ms":1788517987000,"timestamp_seconds":1788517987,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfab2b8"} 
[2026-09-04 16:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526336001,"66":26495,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575315568946350080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526336001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:06:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:06:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946350080,"description":"Unknown IO ID 44"} 
[2026-09-04 16:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526336001,"power":26495,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575315568946350080}} 
[2026-09-04 16:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":171094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:06:36] local.INFO: GPS data processed {"connection_id":171094,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:06:36] local.INFO: Acknowledgment sent {"connection_id":171094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:06:49] local.INFO: TCP Data received {"connection_id":172196,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:06:49] local.INFO: Processing buffer {"connection_id":172196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:06:49] local.INFO: IMEI packet received {"connection_id":172196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":172196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:06:54] local.INFO: TCP Data received {"connection_id":172196,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:06:54] local.INFO: Processing buffer {"connection_id":172196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:06:54] local.INFO: IMEI packet received {"connection_id":172196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":172196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:06:56] local.INFO: TCP Data received {"connection_id":172196,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:06:56] local.INFO: Processing buffer {"connection_id":172196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:06:56] local.INFO: Packet analysis {"connection_id":172196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:06:56] local.INFO: Extracted packet for processing {"connection_id":172196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:06:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860514560001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788517936000,"timestamp_ms":1788517936000,"timestamp_seconds":1788517936,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf9eb80"} 
[2026-09-04 16:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860514560001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860514560001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:06:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:06:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860514560001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":172196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763445,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:06:56] local.INFO: GPS data processed {"connection_id":172196,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:06:56] local.INFO: Acknowledgment sent {"connection_id":172196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:06:59] local.INFO: TCP Data received {"connection_id":170800,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:06:59] local.INFO: Processing buffer {"connection_id":170800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:06:59] local.INFO: IMEI packet received {"connection_id":170800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":170800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:06:59] local.INFO: TCP Data received {"connection_id":173502,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf8ed98012d7bc08005ddbb98000000e20b..."} 
[2026-09-04 16:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf8ed98012d7bc08005ddbb98000000e20b..."} 
[2026-09-04 16:06:59] local.INFO: Processing buffer {"connection_id":173502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf8ed98012d7bc08005ddbb98000000e20b..."} 
[2026-09-04 16:06:59] local.INFO: Packet analysis {"connection_id":173502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf8"} 
[2026-09-04 16:06:59] local.INFO: Extracted packet for processing {"connection_id":173502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf8"} 
[2026-09-04 16:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763084928,"raw_latitude":98417560,"longitude_deg":76.3084928,"latitude_deg":9.841756,"altitude":0,"angle":226,"satellites":11,"speed":0,"hex_longitude":"2d7bc080","hex_latitude":"05ddbb98","is_valid_coordinates":true} 
[2026-09-04 16:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126227423690752,"note":"Value kept but may cause issues"} 
[2026-09-04 16:06:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 16:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788517871000,"timestamp_ms":1788517871000,"timestamp_seconds":1788517871,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf8ed98"} 
[2026-09-04 16:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":768,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-04 16:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13298,"45":206,"85":15104,"24":0,"16":128126227423690752},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-04 16:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-04 16:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-04 16:06:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126227423690752,"km_value":128126227423690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:06:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13298,"unknown_45":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-04 16:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":173502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:06:59] local.INFO: GPS data processed {"connection_id":173502,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:06:59] local.INFO: Acknowledgment sent {"connection_id":173502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:07:04] local.INFO: TCP Data received {"connection_id":170800,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:07:04] local.INFO: Processing buffer {"connection_id":170800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:07:04] local.INFO: IMEI packet received {"connection_id":170800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":170800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:07:05] local.INFO: TCP Data received {"connection_id":170800,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:07:05] local.INFO: Processing buffer {"connection_id":170800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:07:05] local.INFO: Packet analysis {"connection_id":170800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:07:05] local.INFO: Extracted packet for processing {"connection_id":170800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:07:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":45,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526336001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946350080,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788517987000,"timestamp_ms":1788517987000,"timestamp_seconds":1788517987,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfab2b8"} 
[2026-09-04 16:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526336001,"66":26495,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575315568946350080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526336001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:07:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:07:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946350080,"description":"Unknown IO ID 44"} 
[2026-09-04 16:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526336001,"power":26495,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575315568946350080}} 
[2026-09-04 16:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":170800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:07:05] local.INFO: GPS data processed {"connection_id":170800,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:07:05] local.INFO: Acknowledgment sent {"connection_id":170800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:07:28] local.INFO: TCP Data received {"connection_id":172196,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:07:28] local.INFO: Processing buffer {"connection_id":172196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bf9eb80012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:07:28] local.INFO: Packet analysis {"connection_id":172196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:07:28] local.INFO: Extracted packet for processing {"connection_id":172196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bf9"} 
[2026-09-04 16:07:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860514560001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788517936000,"timestamp_ms":1788517936000,"timestamp_seconds":1788517936,"priority":1,"record_length":96,"hex_timestamp":"000001a06bf9eb80"} 
[2026-09-04 16:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860514560001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860514560001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:07:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:07:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860514560001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":172196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:07:28] local.INFO: GPS data processed {"connection_id":172196,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:07:28] local.INFO: Acknowledgment sent {"connection_id":172196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:07:30] local.INFO: TCP Data received {"connection_id":173502,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfe7b78012d7bbe4005ddcea00002000a18..."} 
[2026-09-04 16:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfe7b78012d7bbe4005ddcea00002000a18..."} 
[2026-09-04 16:07:30] local.INFO: Processing buffer {"connection_id":173502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfe7b78012d7bbe4005ddcea00002000a18..."} 
[2026-09-04 16:07:30] local.INFO: Packet analysis {"connection_id":173502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:07:30] local.INFO: Extracted packet for processing {"connection_id":173502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763084352,"raw_latitude":98422432,"longitude_deg":76.3084352,"latitude_deg":9.8422432,"altitude":2,"angle":10,"satellites":24,"speed":4,"hex_longitude":"2d7bbe40","hex_latitude":"05ddcea0","is_valid_coordinates":true} 
[2026-09-04 16:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860667904001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126498006630400,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916634706180448256,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788518235000,"timestamp_ms":1788518235000,"timestamp_seconds":1788518235,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfe7b78"} 
[2026-09-04 16:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-04 16:07:30] local.WARNING: Large IO value detected {"io_id":24,"raw_value":844433535860736,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627276945152,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":51200,"corrected_to":0} 
[2026-09-04 16:07:30] local.WARNING: Large IO value detected {"io_id":107,"raw_value":4260800513,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:30] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3189243917,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-09-04 16:07:30] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:30] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2147868093,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3720144896,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:30] local.WARNING: Large IO value detected {"io_id":223,"raw_value":4035556750617740765,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:30] local.WARNING: Large IO value detected {"io_id":188,"raw_value":4035240660295024641,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:30] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,185,85,24,241,157,16,50,160,80,45,128,200,7,10,66,53,197,169,2,64,1,240,93,227,107,221,4,113,205,3,242,192,184,239,199,5,14,223,188],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":200,"original":51200,"validated":0},{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-09-04 16:07:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216548918170025984,"timestamp_seconds":216548918170025.97,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860667904001,"66":13830,"185":206,"85":15104,"24":4,"16":128126498006630400,"45":8916634706180448256},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-09-04 16:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860667904001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:07:30] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-04 16:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126498006630400,"km_value":128126498006630.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916634706180448256,"description":"Unknown IO ID 45"} 
[2026-09-04 16:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860667904001,"power":13830,"unknown_185":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8916634706180448256}} 
[2026-09-04 16:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":173502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:07:30] local.INFO: GPS data processed {"connection_id":173502,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:07:30] local.INFO: Acknowledgment sent {"connection_id":173502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:07:36] local.INFO: TCP Data received {"connection_id":170800,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:07:36] local.INFO: Processing buffer {"connection_id":170800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:07:36] local.INFO: Packet analysis {"connection_id":170800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:07:36] local.INFO: Extracted packet for processing {"connection_id":170800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:07:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":45,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526336001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946350080,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788517987000,"timestamp_ms":1788517987000,"timestamp_seconds":1788517987,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfab2b8"} 
[2026-09-04 16:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526336001,"66":26495,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575315568946350080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526336001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:07:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:07:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946350080,"description":"Unknown IO ID 44"} 
[2026-09-04 16:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526336001,"power":26495,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575315568946350080}} 
[2026-09-04 16:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":170800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:07:36] local.INFO: GPS data processed {"connection_id":170800,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:07:36] local.INFO: Acknowledgment sent {"connection_id":170800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:07:48] local.INFO: TCP Data received {"connection_id":171095,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:07:48] local.INFO: Processing buffer {"connection_id":171095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:07:48] local.INFO: IMEI packet received {"connection_id":171095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":171095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:07:54] local.INFO: TCP Data received {"connection_id":171095,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:07:54] local.INFO: Processing buffer {"connection_id":171095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:07:54] local.INFO: IMEI packet received {"connection_id":171095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":171095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:07:55] local.INFO: TCP Data received {"connection_id":171095,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:07:55] local.INFO: Processing buffer {"connection_id":171095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:07:55] local.INFO: Packet analysis {"connection_id":171095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:07:55] local.INFO: Extracted packet for processing {"connection_id":171095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:07:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860591616001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788518237000,"timestamp_ms":1788518237000,"timestamp_seconds":1788518237,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfe8348"} 
[2026-09-04 16:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860591616001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860591616001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:07:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860591616001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":171095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763451,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:07:55] local.INFO: GPS data processed {"connection_id":171095,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:07:55] local.INFO: Acknowledgment sent {"connection_id":171095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:07:59] local.INFO: TCP Data received {"connection_id":173505,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:07:59] local.INFO: Processing buffer {"connection_id":173505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:07:59] local.INFO: IMEI packet received {"connection_id":173505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":173505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:08:02] local.INFO: TCP Data received {"connection_id":173502,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfe7f60012d7bbe8005ddcf300002001818..."} 
[2026-09-04 16:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfe7f60012d7bbe8005ddcf300002001818..."} 
[2026-09-04 16:08:02] local.INFO: Processing buffer {"connection_id":173502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfe7f60012d7bbe8005ddcf300002001818..."} 
[2026-09-04 16:08:02] local.INFO: Packet analysis {"connection_id":173502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:08:02] local.INFO: Extracted packet for processing {"connection_id":173502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763084416,"raw_latitude":98422576,"longitude_deg":76.3084416,"latitude_deg":9.8422576,"altitude":2,"angle":24,"satellites":24,"speed":5,"hex_longitude":"2d7bbe80","hex_latitude":"05ddcf30","is_valid_coordinates":true} 
[2026-09-04 16:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860668160001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128126506596564992,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916634706180481024,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788518236000,"timestamp_ms":1788518236000,"timestamp_seconds":1788518236,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfe7f60"} 
[2026-09-04 16:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-04 16:08:02] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1125908512571392,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627276944384,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":51200,"corrected_to":0} 
[2026-09-04 16:08:02] local.WARNING: Large IO value detected {"io_id":107,"raw_value":4261568513,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:02] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3209166861,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-09-04 16:08:02] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2818649467,"corrected_to":0} 
[2026-09-04 16:08:02] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2147868094,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3720198144,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:02] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-1152590020100487715,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:02] local.WARNING: Large IO value detected {"io_id":188,"raw_value":-1729366863091531773,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:02] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,185,85,24,241,157,16,50,160,119,45,64,206,3,10,66,80,128,200,7,53,1,240,230,227,107,221,4,113,205,246,192,239,54,169,2,199,5,14,234,188],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":200,"original":51200,"validated":0},{"io_id":205,"original":2930311374,"validated":0},{"io_id":246,"original":2818649467,"validated":0}]} 
[2026-09-04 16:08:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144126286271610880,"timestamp_seconds":144126286271610.88,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860668160001,"66":13906,"185":206,"85":15104,"24":5,"16":128126506596564992,"45":8916634706180481024},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-09-04 16:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860668160001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:08:02] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-04 16:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128126506596564992,"km_value":128126506596564.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916634706180481024,"description":"Unknown IO ID 45"} 
[2026-09-04 16:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860668160001,"power":13906,"unknown_185":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8916634706180481024}} 
[2026-09-04 16:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":173502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:08:02] local.INFO: GPS data processed {"connection_id":173502,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:08:02] local.INFO: Acknowledgment sent {"connection_id":173502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:08:04] local.INFO: TCP Data received {"connection_id":173505,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:08:04] local.INFO: Processing buffer {"connection_id":173505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:08:04] local.INFO: IMEI packet received {"connection_id":173505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":173505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:08:05] local.INFO: TCP Data received {"connection_id":173505,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:08:05] local.INFO: Processing buffer {"connection_id":173505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:08:05] local.INFO: Packet analysis {"connection_id":173505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:08:05] local.INFO: Extracted packet for processing {"connection_id":173505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:08:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":45,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526336001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946350080,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788517987000,"timestamp_ms":1788517987000,"timestamp_seconds":1788517987,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfab2b8"} 
[2026-09-04 16:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526336001,"66":26495,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575315568946350080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526336001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:08:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:08:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946350080,"description":"Unknown IO ID 44"} 
[2026-09-04 16:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526336001,"power":26495,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575315568946350080}} 
[2026-09-04 16:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":173505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:08:05] local.INFO: GPS data processed {"connection_id":173505,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:08:05] local.INFO: Acknowledgment sent {"connection_id":173505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:08:26] local.INFO: TCP Data received {"connection_id":171095,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:08:26] local.INFO: Processing buffer {"connection_id":171095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:08:26] local.INFO: Packet analysis {"connection_id":171095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:08:26] local.INFO: Extracted packet for processing {"connection_id":171095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:08:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860591616001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788518237000,"timestamp_ms":1788518237000,"timestamp_seconds":1788518237,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfe8348"} 
[2026-09-04 16:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860591616001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860591616001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:08:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:08:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860591616001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":171095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763454,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:08:26] local.INFO: GPS data processed {"connection_id":171095,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:08:26] local.INFO: Acknowledgment sent {"connection_id":171095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:08:36] local.INFO: TCP Data received {"connection_id":173505,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:08:36] local.INFO: Processing buffer {"connection_id":173505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfab2b8012cb2a10007823b700047002b2d..."} 
[2026-09-04 16:08:36] local.INFO: Packet analysis {"connection_id":173505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:08:36] local.INFO: Extracted packet for processing {"connection_id":173505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfa"} 
[2026-09-04 16:08:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":45,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860526336001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946350080,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788517987000,"timestamp_ms":1788517987000,"timestamp_seconds":1788517987,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfab2b8"} 
[2026-09-04 16:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860526336001,"66":26495,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575315568946350080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860526336001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:08:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:08:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946350080,"description":"Unknown IO ID 44"} 
[2026-09-04 16:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860526336001,"power":26495,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575315568946350080}} 
[2026-09-04 16:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":173505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:08:36] local.INFO: GPS data processed {"connection_id":173505,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:08:36] local.INFO: Acknowledgment sent {"connection_id":173505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:08:38] local.INFO: TCP Data received {"connection_id":173502,"ip":"42.106.6.58","data_length":93,"data_hex":"00000000000000518e01000001a06bff65d8012d7bc1c005ddef080000009619..."} 
[2026-09-04 16:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173502,"packet_length":93,"packet_hex":"00000000000000518e01000001a06bff65d8012d7bc1c005ddef080000009619..."} 
[2026-09-04 16:08:38] local.INFO: Processing buffer {"connection_id":173502,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06bff65d8012d7bc1c005ddef080000009619..."} 
[2026-09-04 16:08:38] local.INFO: Packet analysis {"connection_id":173502,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06bff"} 
[2026-09-04 16:08:38] local.INFO: Extracted packet for processing {"connection_id":173502,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06bff"} 
[2026-09-04 16:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763085248,"raw_latitude":98430728,"longitude_deg":76.3085248,"latitude_deg":9.8430728,"altitude":0,"angle":150,"satellites":25,"speed":14,"hex_longitude":"2d7bc1c0","hex_latitude":"05ddef08","is_valid_coordinates":true} 
[2026-09-04 16:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 16:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:08:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:08:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 16:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173502,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 16:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173502,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173502,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 16:08:38] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 16:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":173502,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 16:08:38] local.ERROR: GPS data processing failed {"connection_id":173502,"error":"No valid data to process"} 
[2026-09-04 16:08:38] local.INFO: Acknowledgment sent {"connection_id":173502,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 16:08:49] local.INFO: TCP Data received {"connection_id":170801,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:08:49] local.INFO: Processing buffer {"connection_id":170801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:08:49] local.INFO: IMEI packet received {"connection_id":170801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":170801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:08:54] local.INFO: TCP Data received {"connection_id":170801,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:08:54] local.INFO: Processing buffer {"connection_id":170801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:08:54] local.INFO: IMEI packet received {"connection_id":170801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":170801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:08:55] local.INFO: TCP Data received {"connection_id":170801,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:08:55] local.INFO: Processing buffer {"connection_id":170801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:08:55] local.INFO: Packet analysis {"connection_id":170801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:08:55] local.INFO: Extracted packet for processing {"connection_id":170801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860591616001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788518237000,"timestamp_ms":1788518237000,"timestamp_seconds":1788518237,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfe8348"} 
[2026-09-04 16:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860591616001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860591616001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:08:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860591616001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":170801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763456,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:08:55] local.INFO: GPS data processed {"connection_id":170801,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:08:55] local.INFO: Acknowledgment sent {"connection_id":170801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:09:04] local.INFO: TCP Data received {"connection_id":172197,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:09:04] local.INFO: Processing buffer {"connection_id":172197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:09:04] local.INFO: IMEI packet received {"connection_id":172197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":172197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:09:09] local.INFO: TCP Data received {"connection_id":173502,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06bff6da8012d7bc34005ddeaf8000000a519..."} 
[2026-09-04 16:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bff6da8012d7bc34005ddeaf8000000a519..."} 
[2026-09-04 16:09:09] local.INFO: Processing buffer {"connection_id":173502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bff6da8012d7bc34005ddeaf8000000a519..."} 
[2026-09-04 16:09:09] local.INFO: Packet analysis {"connection_id":173502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:09:09] local.INFO: Extracted packet for processing {"connection_id":173502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763085632,"raw_latitude":98429688,"longitude_deg":76.3085632,"latitude_deg":9.8429688,"altitude":0,"angle":165,"satellites":25,"speed":21,"hex_longitude":"2d7bc340","hex_latitude":"05ddeaf8","is_valid_coordinates":true} 
[2026-09-04 16:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860683520001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917619868601092096,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128127082122182656,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 16:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788518297000,"timestamp_ms":1788518297000,"timestamp_seconds":1788518297,"priority":1,"record_length":96,"hex_timestamp":"000001a06bff6da8"} 
[2026-09-04 16:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-04 16:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860683520001,"66":13820,"45":8917619868601092096,"85":15104,"24":21,"16":128127082122182656},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-04 16:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860683520001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917619868601092096,"description":"Unknown IO ID 45"} 
[2026-09-04 16:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128127082122182656,"km_value":128127082122182.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:09:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457860683520001,"power":13820,"unknown_45":8917619868601092096,"unknown_85":15104,"ignition":21,"odometer":null}} 
[2026-09-04 16:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":173502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:09:09] local.INFO: GPS data processed {"connection_id":173502,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:09:09] local.INFO: Acknowledgment sent {"connection_id":173502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:09:09] local.INFO: TCP Data received {"connection_id":172197,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:09:09] local.INFO: Processing buffer {"connection_id":172197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:09:09] local.INFO: IMEI packet received {"connection_id":172197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":172197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:09:10] local.INFO: TCP Data received {"connection_id":172197,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:09:10] local.INFO: Processing buffer {"connection_id":172197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:09:10] local.INFO: Packet analysis {"connection_id":172197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:09:10] local.INFO: Extracted packet for processing {"connection_id":172197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:09:10] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":44,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860604672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788518288000,"timestamp_ms":1788518288000,"timestamp_seconds":1788518288,"priority":1,"record_length":96,"hex_timestamp":"000001a06bff4a80"} 
[2026-09-04 16:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-04 16:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860604672001,"66":26180,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860604672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:09:10] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860604672001,"power":26180,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":172197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:09:10] local.INFO: GPS data processed {"connection_id":172197,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:09:10] local.INFO: Acknowledgment sent {"connection_id":172197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:09:14] local.INFO: TCP Data received {"connection_id":172197,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:09:14] local.INFO: Processing buffer {"connection_id":172197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:09:14] local.INFO: Packet analysis {"connection_id":172197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:09:14] local.INFO: Extracted packet for processing {"connection_id":172197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:09:14] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":44,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860604672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788518288000,"timestamp_ms":1788518288000,"timestamp_seconds":1788518288,"priority":1,"record_length":96,"hex_timestamp":"000001a06bff4a80"} 
[2026-09-04 16:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-04 16:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860604672001,"66":26180,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860604672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:09:14] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:09:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:09:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860604672001,"power":26180,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":172197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:09:14] local.INFO: GPS data processed {"connection_id":172197,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:09:14] local.INFO: Acknowledgment sent {"connection_id":172197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:09:28] local.INFO: TCP Data received {"connection_id":170801,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:09:28] local.INFO: Processing buffer {"connection_id":170801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:09:28] local.INFO: Packet analysis {"connection_id":170801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:09:28] local.INFO: Extracted packet for processing {"connection_id":170801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:09:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860591616001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788518237000,"timestamp_ms":1788518237000,"timestamp_seconds":1788518237,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfe8348"} 
[2026-09-04 16:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860591616001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860591616001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:09:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:09:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860591616001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":170801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763460,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:09:28] local.INFO: GPS data processed {"connection_id":170801,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:09:28] local.INFO: Acknowledgment sent {"connection_id":170801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:09:41] local.INFO: TCP Data received {"connection_id":171096,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:09:41] local.INFO: Processing buffer {"connection_id":171096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:09:41] local.INFO: IMEI packet received {"connection_id":171096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 16:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":171096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:09:46] local.INFO: TCP Data received {"connection_id":171096,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:09:46] local.INFO: Processing buffer {"connection_id":171096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:09:46] local.INFO: IMEI packet received {"connection_id":171096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":171096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:09:47] local.INFO: TCP Data received {"connection_id":171096,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06bff98a0012d7bcb8005ddc6f0000000a919..."} 
[2026-09-04 16:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bff98a0012d7bcb8005ddc6f0000000a919..."} 
[2026-09-04 16:09:47] local.INFO: Processing buffer {"connection_id":171096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bff98a0012d7bcb8005ddc6f0000000a919..."} 
[2026-09-04 16:09:47] local.INFO: Packet analysis {"connection_id":171096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:09:47] local.INFO: Extracted packet for processing {"connection_id":171096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:09:47] local.INFO: GPS Element Parsed {"raw_longitude":763087744,"raw_latitude":98420464,"longitude_deg":76.3087744,"latitude_deg":9.8420464,"altitude":0,"angle":169,"satellites":25,"speed":40,"hex_longitude":"2d7bcb80","hex_latitude":"05ddc6f0","is_valid_coordinates":true} 
[2026-09-04 16:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860684032001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918042081065891840,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128127537388716032,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 16:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788518308000,"timestamp_ms":1788518308000,"timestamp_seconds":1788518308,"priority":1,"record_length":96,"hex_timestamp":"000001a06bff98a0"} 
[2026-09-04 16:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-04 16:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":171096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":171096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":171096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860684032001,"66":13852,"45":8918042081065891840,"85":15104,"24":40,"16":128127537388716032},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-04 16:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860684032001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918042081065891840,"description":"Unknown IO ID 45"} 
[2026-09-04 16:09:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128127537388716032,"km_value":128127537388716.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:09:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457860684032001,"power":13852,"unknown_45":8918042081065891840,"unknown_85":15104,"ignition":40,"odometer":null}} 
[2026-09-04 16:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":171096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:09:47] local.INFO: GPS data processed {"connection_id":171096,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:09:47] local.INFO: Acknowledgment sent {"connection_id":171096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:09:48] local.INFO: TCP Data received {"connection_id":171096,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06bffb7e0012d7bd1c005dda4e0000000ac17..."} 
[2026-09-04 16:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bffb7e0012d7bd1c005dda4e0000000ac17..."} 
[2026-09-04 16:09:48] local.INFO: Processing buffer {"connection_id":171096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bffb7e0012d7bd1c005dda4e0000000ac17..."} 
[2026-09-04 16:09:48] local.INFO: Packet analysis {"connection_id":171096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:09:48] local.INFO: Extracted packet for processing {"connection_id":171096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:09:48] local.INFO: GPS Element Parsed {"raw_longitude":763089344,"raw_latitude":98411744,"longitude_deg":76.3089344,"latitude_deg":9.8411744,"altitude":0,"angle":172,"satellites":23,"speed":43,"hex_longitude":"2d7bd1c0","hex_latitude":"05dda4e0","is_valid_coordinates":true} 
[2026-09-04 16:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860686848001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920364249621393408,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128127971180412928,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 16:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788518316000,"timestamp_ms":1788518316000,"timestamp_seconds":1788518316,"priority":1,"record_length":96,"hex_timestamp":"000001a06bffb7e0"} 
[2026-09-04 16:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-04 16:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":171096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":171096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":171096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860686848001,"66":13820,"45":8920364249621393408,"85":15104,"24":43,"16":128127971180412928},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-04 16:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860686848001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920364249621393408,"description":"Unknown IO ID 45"} 
[2026-09-04 16:09:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128127971180412928,"km_value":128127971180412.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:09:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457860686848001,"power":13820,"unknown_45":8920364249621393408,"unknown_85":15104,"ignition":43,"odometer":null}} 
[2026-09-04 16:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":171096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:09:48] local.INFO: GPS data processed {"connection_id":171096,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:09:48] local.INFO: Acknowledgment sent {"connection_id":171096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:09:50] local.INFO: TCP Data received {"connection_id":170802,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:09:50] local.INFO: Processing buffer {"connection_id":170802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:09:50] local.INFO: IMEI packet received {"connection_id":170802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":170802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:09:54] local.INFO: TCP Data received {"connection_id":170802,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:09:54] local.INFO: Processing buffer {"connection_id":170802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:09:54] local.INFO: IMEI packet received {"connection_id":170802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":170802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:09:55] local.INFO: TCP Data received {"connection_id":170802,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:09:55] local.INFO: Processing buffer {"connection_id":170802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:09:55] local.INFO: Packet analysis {"connection_id":170802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:09:55] local.INFO: Extracted packet for processing {"connection_id":170802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860591616001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788518237000,"timestamp_ms":1788518237000,"timestamp_seconds":1788518237,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfe8348"} 
[2026-09-04 16:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860591616001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860591616001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:09:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860591616001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":170802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763463,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:09:55] local.INFO: GPS data processed {"connection_id":170802,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:09:55] local.INFO: Acknowledgment sent {"connection_id":170802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:09:59] local.INFO: TCP Data received {"connection_id":173506,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:09:59] local.INFO: Processing buffer {"connection_id":173506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:09:59] local.INFO: IMEI packet received {"connection_id":173506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":173506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:10:04] local.INFO: TCP Data received {"connection_id":173506,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:10:04] local.INFO: Processing buffer {"connection_id":173506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:10:04] local.INFO: IMEI packet received {"connection_id":173506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":173506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:10:05] local.INFO: TCP Data received {"connection_id":173506,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:10:05] local.INFO: Processing buffer {"connection_id":173506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:10:05] local.INFO: Packet analysis {"connection_id":173506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:10:05] local.INFO: Extracted packet for processing {"connection_id":173506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:10:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":44,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860604672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:10:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788518288000,"timestamp_ms":1788518288000,"timestamp_seconds":1788518288,"priority":1,"record_length":96,"hex_timestamp":"000001a06bff4a80"} 
[2026-09-04 16:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-04 16:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860604672001,"66":26180,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860604672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:10:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:10:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860604672001,"power":26180,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":173506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:10:05] local.INFO: GPS data processed {"connection_id":173506,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:10:05] local.INFO: Acknowledgment sent {"connection_id":173506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:10:28] local.INFO: TCP Data received {"connection_id":170802,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:10:28] local.INFO: Processing buffer {"connection_id":170802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:10:28] local.INFO: Packet analysis {"connection_id":170802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:10:28] local.INFO: Extracted packet for processing {"connection_id":170802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:10:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860591616001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788518237000,"timestamp_ms":1788518237000,"timestamp_seconds":1788518237,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfe8348"} 
[2026-09-04 16:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860591616001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860591616001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:10:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:10:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860591616001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":170802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:10:28] local.INFO: GPS data processed {"connection_id":170802,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:10:28] local.INFO: Acknowledgment sent {"connection_id":170802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:10:36] local.INFO: TCP Data received {"connection_id":173506,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:10:36] local.INFO: Processing buffer {"connection_id":173506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:10:36] local.INFO: Packet analysis {"connection_id":173506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:10:36] local.INFO: Extracted packet for processing {"connection_id":173506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:10:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":44,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860604672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:10:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788518288000,"timestamp_ms":1788518288000,"timestamp_seconds":1788518288,"priority":1,"record_length":96,"hex_timestamp":"000001a06bff4a80"} 
[2026-09-04 16:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-04 16:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860604672001,"66":26180,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860604672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:10:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860604672001,"power":26180,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":173506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:10:36] local.INFO: GPS data processed {"connection_id":173506,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:10:36] local.INFO: Acknowledgment sent {"connection_id":173506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:10:48] local.INFO: TCP Data received {"connection_id":171097,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:10:48] local.INFO: Processing buffer {"connection_id":171097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:10:48] local.INFO: IMEI packet received {"connection_id":171097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":171097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:10:54] local.INFO: TCP Data received {"connection_id":171097,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:10:54] local.INFO: Processing buffer {"connection_id":171097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:10:54] local.INFO: IMEI packet received {"connection_id":171097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":171097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:10:55] local.INFO: TCP Data received {"connection_id":171097,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:10:55] local.INFO: Processing buffer {"connection_id":171097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:10:55] local.INFO: Packet analysis {"connection_id":171097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:10:55] local.INFO: Extracted packet for processing {"connection_id":171097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:10:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860591616001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788518237000,"timestamp_ms":1788518237000,"timestamp_seconds":1788518237,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfe8348"} 
[2026-09-04 16:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860591616001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860591616001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:10:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:10:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860591616001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":171097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:10:55] local.INFO: GPS data processed {"connection_id":171097,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:10:55] local.INFO: Acknowledgment sent {"connection_id":171097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:10:59] local.INFO: TCP Data received {"connection_id":172198,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:10:59] local.INFO: Processing buffer {"connection_id":172198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:10:59] local.INFO: IMEI packet received {"connection_id":172198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":172198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:11:04] local.INFO: TCP Data received {"connection_id":172198,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:11:04] local.INFO: Processing buffer {"connection_id":172198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:11:04] local.INFO: IMEI packet received {"connection_id":172198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":172198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:11:05] local.INFO: TCP Data received {"connection_id":172198,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:11:05] local.INFO: Processing buffer {"connection_id":172198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:11:05] local.INFO: Packet analysis {"connection_id":172198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:11:05] local.INFO: Extracted packet for processing {"connection_id":172198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:11:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":44,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860604672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:11:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788518288000,"timestamp_ms":1788518288000,"timestamp_seconds":1788518288,"priority":1,"record_length":96,"hex_timestamp":"000001a06bff4a80"} 
[2026-09-04 16:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-04 16:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860604672001,"66":26180,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860604672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:11:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:11:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860604672001,"power":26180,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":172198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:11:05] local.INFO: GPS data processed {"connection_id":172198,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:11:05] local.INFO: Acknowledgment sent {"connection_id":172198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:11:27] local.INFO: TCP Data received {"connection_id":171097,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:11:27] local.INFO: Processing buffer {"connection_id":171097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:11:27] local.INFO: Packet analysis {"connection_id":171097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:11:27] local.INFO: Extracted packet for processing {"connection_id":171097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:11:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860591616001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788518237000,"timestamp_ms":1788518237000,"timestamp_seconds":1788518237,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfe8348"} 
[2026-09-04 16:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860591616001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860591616001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:11:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:11:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860591616001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":171097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:11:27] local.INFO: GPS data processed {"connection_id":171097,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:11:27] local.INFO: Acknowledgment sent {"connection_id":171097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:11:36] local.INFO: TCP Data received {"connection_id":172198,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:11:36] local.INFO: Processing buffer {"connection_id":172198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:11:36] local.INFO: Packet analysis {"connection_id":172198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:11:36] local.INFO: Extracted packet for processing {"connection_id":172198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:11:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":44,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860604672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:11:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788518288000,"timestamp_ms":1788518288000,"timestamp_seconds":1788518288,"priority":1,"record_length":96,"hex_timestamp":"000001a06bff4a80"} 
[2026-09-04 16:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-04 16:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860604672001,"66":26180,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860604672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:11:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:11:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860604672001,"power":26180,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":172198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:11:36] local.INFO: GPS data processed {"connection_id":172198,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:11:36] local.INFO: Acknowledgment sent {"connection_id":172198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:11:48] local.INFO: TCP Data received {"connection_id":171098,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:11:48] local.INFO: Processing buffer {"connection_id":171098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:11:48] local.INFO: IMEI packet received {"connection_id":171098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":171098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:11:54] local.INFO: TCP Data received {"connection_id":171098,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:11:54] local.INFO: Processing buffer {"connection_id":171098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:11:54] local.INFO: IMEI packet received {"connection_id":171098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":171098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:11:55] local.INFO: TCP Data received {"connection_id":171098,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:11:55] local.INFO: Processing buffer {"connection_id":171098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:11:55] local.INFO: Packet analysis {"connection_id":171098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:11:55] local.INFO: Extracted packet for processing {"connection_id":171098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:11:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860591616001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788518237000,"timestamp_ms":1788518237000,"timestamp_seconds":1788518237,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfe8348"} 
[2026-09-04 16:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860591616001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860591616001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:11:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:11:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860591616001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":171098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:11:55] local.INFO: GPS data processed {"connection_id":171098,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:11:55] local.INFO: Acknowledgment sent {"connection_id":171098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:11:59] local.INFO: TCP Data received {"connection_id":172199,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:11:59] local.INFO: Processing buffer {"connection_id":172199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:11:59] local.INFO: IMEI packet received {"connection_id":172199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":172199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:12:04] local.INFO: TCP Data received {"connection_id":172199,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:12:04] local.INFO: Processing buffer {"connection_id":172199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:12:04] local.INFO: IMEI packet received {"connection_id":172199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":172199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:12:05] local.INFO: TCP Data received {"connection_id":172199,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:12:05] local.INFO: Processing buffer {"connection_id":172199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:12:05] local.INFO: Packet analysis {"connection_id":172199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:12:05] local.INFO: Extracted packet for processing {"connection_id":172199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":44,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860604672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788518288000,"timestamp_ms":1788518288000,"timestamp_seconds":1788518288,"priority":1,"record_length":96,"hex_timestamp":"000001a06bff4a80"} 
[2026-09-04 16:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-04 16:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860604672001,"66":26180,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860604672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:12:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:12:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860604672001,"power":26180,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":172199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:12:05] local.INFO: GPS data processed {"connection_id":172199,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:12:05] local.INFO: Acknowledgment sent {"connection_id":172199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:12:27] local.INFO: TCP Data received {"connection_id":171098,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:12:27] local.INFO: Processing buffer {"connection_id":171098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bfe8348012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:12:27] local.INFO: Packet analysis {"connection_id":171098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:12:27] local.INFO: Extracted packet for processing {"connection_id":171098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bfe"} 
[2026-09-04 16:12:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860591616001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788518237000,"timestamp_ms":1788518237000,"timestamp_seconds":1788518237,"priority":1,"record_length":96,"hex_timestamp":"000001a06bfe8348"} 
[2026-09-04 16:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860591616001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860591616001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:12:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:12:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860591616001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":171098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763473,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:12:27] local.INFO: GPS data processed {"connection_id":171098,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:12:27] local.INFO: Acknowledgment sent {"connection_id":171098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:12:36] local.INFO: TCP Data received {"connection_id":172199,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:12:36] local.INFO: Processing buffer {"connection_id":172199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:12:36] local.INFO: Packet analysis {"connection_id":172199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:12:36] local.INFO: Extracted packet for processing {"connection_id":172199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:12:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":44,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860604672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788518288000,"timestamp_ms":1788518288000,"timestamp_seconds":1788518288,"priority":1,"record_length":96,"hex_timestamp":"000001a06bff4a80"} 
[2026-09-04 16:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-04 16:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860604672001,"66":26180,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860604672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:12:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:12:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860604672001,"power":26180,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":172199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:12:36] local.INFO: GPS data processed {"connection_id":172199,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:12:36] local.INFO: Acknowledgment sent {"connection_id":172199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:12:54] local.INFO: TCP Data received {"connection_id":170803,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:12:54] local.INFO: Processing buffer {"connection_id":170803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:12:54] local.INFO: IMEI packet received {"connection_id":170803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":170803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:12:55] local.INFO: TCP Data received {"connection_id":170803,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:12:55] local.INFO: Processing buffer {"connection_id":170803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:12:55] local.INFO: IMEI packet received {"connection_id":170803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":170803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:12:56] local.INFO: TCP Data received {"connection_id":170803,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:12:56] local.INFO: Processing buffer {"connection_id":170803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:12:56] local.INFO: Packet analysis {"connection_id":170803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:12:56] local.INFO: Extracted packet for processing {"connection_id":170803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:12:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860668672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788518538000,"timestamp_ms":1788518538000,"timestamp_seconds":1788518538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c031b10"} 
[2026-09-04 16:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860668672001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860668672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:12:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:12:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860668672001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":170803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763475,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:12:56] local.INFO: GPS data processed {"connection_id":170803,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:12:56] local.INFO: Acknowledgment sent {"connection_id":170803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:12:59] local.INFO: TCP Data received {"connection_id":172200,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:12:59] local.INFO: Processing buffer {"connection_id":172200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:12:59] local.INFO: IMEI packet received {"connection_id":172200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":172200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:12:59] local.INFO: TCP Data received {"connection_id":170803,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:12:59] local.INFO: Processing buffer {"connection_id":170803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:12:59] local.INFO: Packet analysis {"connection_id":170803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:12:59] local.INFO: Extracted packet for processing {"connection_id":170803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860668672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788518538000,"timestamp_ms":1788518538000,"timestamp_seconds":1788518538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c031b10"} 
[2026-09-04 16:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860668672001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860668672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:12:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860668672001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":170803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763476,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:12:59] local.INFO: GPS data processed {"connection_id":170803,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:12:59] local.INFO: Acknowledgment sent {"connection_id":170803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:13:04] local.INFO: TCP Data received {"connection_id":172200,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:13:04] local.INFO: Processing buffer {"connection_id":172200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:13:04] local.INFO: IMEI packet received {"connection_id":172200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":172200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:13:04] local.INFO: TCP Data received {"connection_id":172200,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:13:04] local.INFO: Processing buffer {"connection_id":172200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:13:04] local.INFO: Packet analysis {"connection_id":172200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:13:04] local.INFO: Extracted packet for processing {"connection_id":172200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:13:04] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":44,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860604672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:13:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788518288000,"timestamp_ms":1788518288000,"timestamp_seconds":1788518288,"priority":1,"record_length":96,"hex_timestamp":"000001a06bff4a80"} 
[2026-09-04 16:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-04 16:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860604672001,"66":26180,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860604672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:13:04] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:13:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860604672001,"power":26180,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":172200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:13:04] local.INFO: GPS data processed {"connection_id":172200,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:13:04] local.INFO: Acknowledgment sent {"connection_id":172200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:13:31] local.INFO: TCP Data received {"connection_id":170803,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:13:31] local.INFO: Processing buffer {"connection_id":170803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:13:31] local.INFO: Packet analysis {"connection_id":170803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:13:31] local.INFO: Extracted packet for processing {"connection_id":170803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860668672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788518538000,"timestamp_ms":1788518538000,"timestamp_seconds":1788518538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c031b10"} 
[2026-09-04 16:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":170803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":170803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":170803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860668672001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860668672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:13:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860668672001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":170803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:13:31] local.INFO: GPS data processed {"connection_id":170803,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:13:31] local.INFO: Acknowledgment sent {"connection_id":170803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:13:36] local.INFO: TCP Data received {"connection_id":172200,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:13:36] local.INFO: Processing buffer {"connection_id":172200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06bff4a80012cb2a10007823b700047002b2c..."} 
[2026-09-04 16:13:36] local.INFO: Packet analysis {"connection_id":172200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:13:36] local.INFO: Extracted packet for processing {"connection_id":172200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06bff"} 
[2026-09-04 16:13:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":44,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860604672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:13:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788518288000,"timestamp_ms":1788518288000,"timestamp_seconds":1788518288,"priority":1,"record_length":96,"hex_timestamp":"000001a06bff4a80"} 
[2026-09-04 16:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-04 16:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860604672001,"66":26180,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860604672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:13:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:13:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860604672001,"power":26180,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":172200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:13:36] local.INFO: GPS data processed {"connection_id":172200,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:13:36] local.INFO: Acknowledgment sent {"connection_id":172200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:13:48] local.INFO: TCP Data received {"connection_id":172201,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:13:48] local.INFO: Processing buffer {"connection_id":172201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:13:48] local.INFO: IMEI packet received {"connection_id":172201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":172201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:13:54] local.INFO: TCP Data received {"connection_id":172201,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:13:54] local.INFO: Processing buffer {"connection_id":172201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:13:54] local.INFO: IMEI packet received {"connection_id":172201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":172201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:13:55] local.INFO: TCP Data received {"connection_id":172201,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:13:55] local.INFO: Processing buffer {"connection_id":172201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:13:55] local.INFO: Packet analysis {"connection_id":172201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:13:55] local.INFO: Extracted packet for processing {"connection_id":172201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860668672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788518538000,"timestamp_ms":1788518538000,"timestamp_seconds":1788518538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c031b10"} 
[2026-09-04 16:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860668672001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860668672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:13:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:13:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860668672001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":172201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763480,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:13:55] local.INFO: GPS data processed {"connection_id":172201,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:13:55] local.INFO: Acknowledgment sent {"connection_id":172201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:14:03] local.INFO: TCP Data received {"connection_id":173507,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:03] local.INFO: Processing buffer {"connection_id":173507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:03] local.INFO: IMEI packet received {"connection_id":173507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":173507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:14:03] local.INFO: TCP Data received {"connection_id":173507,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:03] local.INFO: Processing buffer {"connection_id":173507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:03] local.INFO: IMEI packet received {"connection_id":173507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":173507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:14:04] local.INFO: TCP Data received {"connection_id":171100,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:14:04] local.INFO: Processing buffer {"connection_id":171100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:14:04] local.INFO: IMEI packet received {"connection_id":171100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":171100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:14:08] local.INFO: TCP Data received {"connection_id":173507,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:08] local.INFO: Processing buffer {"connection_id":173507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:08] local.INFO: IMEI packet received {"connection_id":173507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":173507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:14:09] local.INFO: TCP Data received {"connection_id":173507,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c021d28012d1ab980071f9560003c011d2b..."} 
[2026-09-04 16:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c021d28012d1ab980071f9560003c011d2b..."} 
[2026-09-04 16:14:09] local.INFO: Processing buffer {"connection_id":173507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c021d28012d1ab980071f9560003c011d2b..."} 
[2026-09-04 16:14:09] local.INFO: Packet analysis {"connection_id":173507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c02"} 
[2026-09-04 16:14:09] local.INFO: Extracted packet for processing {"connection_id":173507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c02"} 
[2026-09-04 16:14:09] local.INFO: GPS Element Parsed {"raw_longitude":756726144,"raw_latitude":119510368,"longitude_deg":75.6726144,"latitude_deg":11.9510368,"altitude":60,"angle":285,"satellites":43,"speed":23,"hex_longitude":"2d1ab980","hex_latitude":"071f9560","is_valid_coordinates":true} 
[2026-09-04 16:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860728064001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320220125298688,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883574069248,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788518473000,"timestamp_ms":1788518473000,"timestamp_seconds":1788518473,"priority":1,"record_length":96,"hex_timestamp":"000001a06c021d28"} 
[2026-09-04 16:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-04 16:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860728064001,"66":13156,"101":206,"83":41984,"24":23,"16":17320220125298688,"45":1927962883574069248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860728064001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:14:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:14:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320220125298688,"km_value":17320220125298.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883574069248,"description":"Unknown IO ID 45"} 
[2026-09-04 16:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860728064001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1927962883574069248}} 
[2026-09-04 16:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":173507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:14:09] local.INFO: GPS data processed {"connection_id":173507,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:14:09] local.INFO: Acknowledgment sent {"connection_id":173507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:14:09] local.INFO: TCP Data received {"connection_id":171100,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:14:09] local.INFO: Processing buffer {"connection_id":171100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:14:09] local.INFO: IMEI packet received {"connection_id":171100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":171100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:14:10] local.INFO: TCP Data received {"connection_id":171100,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:14:10] local.INFO: Processing buffer {"connection_id":171100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:14:10] local.INFO: Packet analysis {"connection_id":171100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:14:10] local.INFO: Extracted packet for processing {"connection_id":171100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:14:10] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860681728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788518589000,"timestamp_ms":1788518589000,"timestamp_seconds":1788518589,"priority":1,"record_length":96,"hex_timestamp":"000001a06c03e248"} 
[2026-09-04 16:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 16:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860681728001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860681728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:14:10] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860681728001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":171100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:14:10] local.INFO: GPS data processed {"connection_id":171100,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:14:10] local.INFO: Acknowledgment sent {"connection_id":171100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:14:14] local.INFO: TCP Data received {"connection_id":171100,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:14:14] local.INFO: Processing buffer {"connection_id":171100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:14:14] local.INFO: Packet analysis {"connection_id":171100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:14:14] local.INFO: Extracted packet for processing {"connection_id":171100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:14:14] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860681728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788518589000,"timestamp_ms":1788518589000,"timestamp_seconds":1788518589,"priority":1,"record_length":96,"hex_timestamp":"000001a06c03e248"} 
[2026-09-04 16:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 16:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860681728001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860681728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:14:14] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:14:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:14:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860681728001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":171100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:14:14] local.INFO: GPS data processed {"connection_id":171100,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:14:14] local.INFO: Acknowledgment sent {"connection_id":171100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:14:27] local.INFO: TCP Data received {"connection_id":172201,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:14:27] local.INFO: Processing buffer {"connection_id":172201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:14:27] local.INFO: Packet analysis {"connection_id":172201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:14:27] local.INFO: Extracted packet for processing {"connection_id":172201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:14:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860668672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788518538000,"timestamp_ms":1788518538000,"timestamp_seconds":1788518538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c031b10"} 
[2026-09-04 16:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860668672001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860668672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:14:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860668672001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":172201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763484,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:14:27] local.INFO: GPS data processed {"connection_id":172201,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:14:27] local.INFO: Acknowledgment sent {"connection_id":172201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:14:48] local.INFO: TCP Data received {"connection_id":170804,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170804,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:14:48] local.INFO: Processing buffer {"connection_id":170804,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:14:48] local.INFO: IMEI packet received {"connection_id":170804,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":170804,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:14:53] local.INFO: TCP Data received {"connection_id":170805,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:53] local.INFO: Processing buffer {"connection_id":170805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:53] local.INFO: IMEI packet received {"connection_id":170805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":170805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:14:54] local.INFO: TCP Data received {"connection_id":170804,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170804,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:14:54] local.INFO: Processing buffer {"connection_id":170804,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:14:54] local.INFO: IMEI packet received {"connection_id":170804,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":170804,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:14:55] local.INFO: TCP Data received {"connection_id":170804,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:14:55] local.INFO: Processing buffer {"connection_id":170804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:14:55] local.INFO: Packet analysis {"connection_id":170804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:14:55] local.INFO: Extracted packet for processing {"connection_id":170804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860668672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788518538000,"timestamp_ms":1788518538000,"timestamp_seconds":1788518538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c031b10"} 
[2026-09-04 16:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170804,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170804,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860668672001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860668672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:14:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:14:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860668672001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":170804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763485,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:14:55] local.INFO: GPS data processed {"connection_id":170804,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:14:55] local.INFO: Acknowledgment sent {"connection_id":170804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:14:58] local.INFO: TCP Data received {"connection_id":170805,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:58] local.INFO: Processing buffer {"connection_id":170805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:14:58] local.INFO: IMEI packet received {"connection_id":170805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":170805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:14:59] local.INFO: TCP Data received {"connection_id":172202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:14:59] local.INFO: Processing buffer {"connection_id":172202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:14:59] local.INFO: IMEI packet received {"connection_id":172202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":172202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:14:59] local.INFO: TCP Data received {"connection_id":170805,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c024820012d1aa300071f99c0003c01292a..."} 
[2026-09-04 16:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c024820012d1aa300071f99c0003c01292a..."} 
[2026-09-04 16:14:59] local.INFO: Processing buffer {"connection_id":170805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c024820012d1aa300071f99c0003c01292a..."} 
[2026-09-04 16:14:59] local.INFO: Packet analysis {"connection_id":170805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c02"} 
[2026-09-04 16:14:59] local.INFO: Extracted packet for processing {"connection_id":170805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c02"} 
[2026-09-04 16:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756720384,"raw_latitude":119511488,"longitude_deg":75.6720384,"latitude_deg":11.9511488,"altitude":60,"angle":297,"satellites":42,"speed":18,"hex_longitude":"2d1aa300","hex_latitude":"071f99c0","is_valid_coordinates":true} 
[2026-09-04 16:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860729088001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320503593140224,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925711083760607232,"note":"Value kept but may cause issues"} 
[2026-09-04 16:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788518484000,"timestamp_ms":1788518484000,"timestamp_seconds":1788518484,"priority":1,"record_length":96,"hex_timestamp":"000001a06c024820"} 
[2026-09-04 16:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-04 16:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860729088001,"66":12504,"101":206,"83":41984,"24":18,"16":17320503593140224,"45":1925711083760607232},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860729088001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:14:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:14:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320503593140224,"km_value":17320503593140.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925711083760607232,"description":"Unknown IO ID 45"} 
[2026-09-04 16:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860729088001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1925711083760607232}} 
[2026-09-04 16:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":170805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:14:59] local.INFO: GPS data processed {"connection_id":170805,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:14:59] local.INFO: Acknowledgment sent {"connection_id":170805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:15:03] local.INFO: TCP Data received {"connection_id":170805,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c024ff0012d1a9f80071f9be0003c013629..."} 
[2026-09-04 16:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c024ff0012d1a9f80071f9be0003c013629..."} 
[2026-09-04 16:15:03] local.INFO: Processing buffer {"connection_id":170805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c024ff0012d1a9f80071f9be0003c013629..."} 
[2026-09-04 16:15:03] local.INFO: Packet analysis {"connection_id":170805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c02"} 
[2026-09-04 16:15:03] local.INFO: Extracted packet for processing {"connection_id":170805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c02"} 
[2026-09-04 16:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756719488,"raw_latitude":119512032,"longitude_deg":75.6719488,"latitude_deg":11.9512032,"altitude":60,"angle":310,"satellites":41,"speed":19,"hex_longitude":"2d1a9f80","hex_latitude":"071f9be0","is_valid_coordinates":true} 
[2026-09-04 16:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860731904001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320550837780480,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919377896784904192,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788518486000,"timestamp_ms":1788518486000,"timestamp_seconds":1788518486,"priority":1,"record_length":96,"hex_timestamp":"000001a06c024ff0"} 
[2026-09-04 16:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 16:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":170805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":170805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":170805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860731904001,"66":13135,"101":206,"83":41984,"24":19,"16":17320550837780480,"45":1919377896784904192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860731904001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:15:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320550837780480,"km_value":17320550837780.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919377896784904192,"description":"Unknown IO ID 45"} 
[2026-09-04 16:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860731904001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1919377896784904192}} 
[2026-09-04 16:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":170805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:15:03] local.INFO: GPS data processed {"connection_id":170805,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:15:03] local.INFO: Acknowledgment sent {"connection_id":170805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:15:04] local.INFO: TCP Data received {"connection_id":172202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:15:04] local.INFO: Processing buffer {"connection_id":172202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:15:04] local.INFO: IMEI packet received {"connection_id":172202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":172202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:15:04] local.INFO: TCP Data received {"connection_id":172202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:15:04] local.INFO: Processing buffer {"connection_id":172202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:15:04] local.INFO: Packet analysis {"connection_id":172202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:15:04] local.INFO: Extracted packet for processing {"connection_id":172202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:15:04] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860681728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788518589000,"timestamp_ms":1788518589000,"timestamp_seconds":1788518589,"priority":1,"record_length":96,"hex_timestamp":"000001a06c03e248"} 
[2026-09-04 16:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 16:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860681728001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860681728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:15:04] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:15:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860681728001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":172202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:15:04] local.INFO: GPS data processed {"connection_id":172202,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:15:04] local.INFO: Acknowledgment sent {"connection_id":172202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:15:27] local.INFO: TCP Data received {"connection_id":170804,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:15:27] local.INFO: Processing buffer {"connection_id":170804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:15:27] local.INFO: Packet analysis {"connection_id":170804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:15:27] local.INFO: Extracted packet for processing {"connection_id":170804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:15:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860668672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788518538000,"timestamp_ms":1788518538000,"timestamp_seconds":1788518538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c031b10"} 
[2026-09-04 16:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170804,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170804,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860668672001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860668672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:15:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:15:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860668672001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":170804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763489,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:15:27] local.INFO: GPS data processed {"connection_id":170804,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:15:27] local.INFO: Acknowledgment sent {"connection_id":170804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:15:36] local.INFO: TCP Data received {"connection_id":172202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:15:36] local.INFO: Processing buffer {"connection_id":172202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:15:36] local.INFO: Packet analysis {"connection_id":172202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:15:36] local.INFO: Extracted packet for processing {"connection_id":172202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:15:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860681728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788518589000,"timestamp_ms":1788518589000,"timestamp_seconds":1788518589,"priority":1,"record_length":96,"hex_timestamp":"000001a06c03e248"} 
[2026-09-04 16:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 16:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860681728001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860681728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:15:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:15:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860681728001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":172202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:15:36] local.INFO: GPS data processed {"connection_id":172202,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:15:36] local.INFO: Acknowledgment sent {"connection_id":172202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:15:48] local.INFO: TCP Data received {"connection_id":171101,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:15:48] local.INFO: Processing buffer {"connection_id":171101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:15:48] local.INFO: IMEI packet received {"connection_id":171101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":171101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:15:48] local.INFO: TCP Data received {"connection_id":171101,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:15:48] local.INFO: Processing buffer {"connection_id":171101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:15:48] local.INFO: IMEI packet received {"connection_id":171101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":171101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:15:53] local.INFO: TCP Data received {"connection_id":171101,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:15:53] local.INFO: Processing buffer {"connection_id":171101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:15:53] local.INFO: IMEI packet received {"connection_id":171101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":171101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:15:54] local.INFO: TCP Data received {"connection_id":171102,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:15:54] local.INFO: Processing buffer {"connection_id":171102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:15:54] local.INFO: IMEI packet received {"connection_id":171102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":171102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:15:54] local.INFO: TCP Data received {"connection_id":171101,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0282b8012d1a8d80071facc8003d012929..."} 
[2026-09-04 16:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0282b8012d1a8d80071facc8003d012929..."} 
[2026-09-04 16:15:54] local.INFO: Processing buffer {"connection_id":171101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0282b8012d1a8d80071facc8003d012929..."} 
[2026-09-04 16:15:54] local.INFO: Packet analysis {"connection_id":171101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c02"} 
[2026-09-04 16:15:54] local.INFO: Extracted packet for processing {"connection_id":171101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c02"} 
[2026-09-04 16:15:54] local.INFO: GPS Element Parsed {"raw_longitude":756714880,"raw_latitude":119516360,"longitude_deg":75.671488,"latitude_deg":11.951636,"altitude":61,"angle":297,"satellites":41,"speed":9,"hex_longitude":"2d1a8d80","hex_latitude":"071facc8","is_valid_coordinates":true} 
[2026-09-04 16:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860732416001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320855780458496,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918392734366556160,"note":"Value kept but may cause issues"} 
[2026-09-04 16:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788518499000,"timestamp_ms":1788518499000,"timestamp_seconds":1788518499,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0282b8"} 
[2026-09-04 16:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-04 16:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860732416001,"66":13091,"101":206,"83":41984,"24":9,"16":17320855780458496,"45":1918392734366556160},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860732416001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:15:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:15:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320855780458496,"km_value":17320855780458.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918392734366556160,"description":"Unknown IO ID 45"} 
[2026-09-04 16:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860732416001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1918392734366556160}} 
[2026-09-04 16:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":171101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:15:55] local.INFO: GPS data processed {"connection_id":171101,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:15:55] local.INFO: Acknowledgment sent {"connection_id":171101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:15:59] local.INFO: TCP Data received {"connection_id":171102,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:15:59] local.INFO: Processing buffer {"connection_id":171102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:15:59] local.INFO: IMEI packet received {"connection_id":171102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":171102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:15:59] local.INFO: TCP Data received {"connection_id":173508,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:15:59] local.INFO: Processing buffer {"connection_id":173508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:15:59] local.INFO: IMEI packet received {"connection_id":173508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":173508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:16:00] local.INFO: TCP Data received {"connection_id":171102,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:16:00] local.INFO: Processing buffer {"connection_id":171102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:16:00] local.INFO: Packet analysis {"connection_id":171102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:16:00] local.INFO: Extracted packet for processing {"connection_id":171102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:16:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860668672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788518538000,"timestamp_ms":1788518538000,"timestamp_seconds":1788518538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c031b10"} 
[2026-09-04 16:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860668672001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860668672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:16:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860668672001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":171102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763492,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:16:00] local.INFO: GPS data processed {"connection_id":171102,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:16:00] local.INFO: Acknowledgment sent {"connection_id":171102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:16:04] local.INFO: TCP Data received {"connection_id":173508,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:16:04] local.INFO: Processing buffer {"connection_id":173508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:16:04] local.INFO: IMEI packet received {"connection_id":173508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":173508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:16:05] local.INFO: TCP Data received {"connection_id":171102,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:16:05] local.INFO: Processing buffer {"connection_id":171102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:16:05] local.INFO: Packet analysis {"connection_id":171102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:16:05] local.INFO: Extracted packet for processing {"connection_id":171102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860668672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788518538000,"timestamp_ms":1788518538000,"timestamp_seconds":1788518538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c031b10"} 
[2026-09-04 16:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860668672001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860668672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:16:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:16:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860668672001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:16:05] local.INFO: TCP Data received {"connection_id":173508,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:16:05] local.INFO: Processing buffer {"connection_id":173508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:16:05] local.INFO: Packet analysis {"connection_id":173508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:16:05] local.INFO: Extracted packet for processing {"connection_id":173508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860681728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788518589000,"timestamp_ms":1788518589000,"timestamp_seconds":1788518589,"priority":1,"record_length":96,"hex_timestamp":"000001a06c03e248"} 
[2026-09-04 16:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 16:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860681728001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860681728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:16:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:16:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860681728001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":173508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:16:05] local.INFO: GPS data processed {"connection_id":173508,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:16:05] local.INFO: Acknowledgment sent {"connection_id":173508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":171102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763494,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:16:05] local.INFO: GPS data processed {"connection_id":171102,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:16:05] local.INFO: Acknowledgment sent {"connection_id":171102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:16:26] local.INFO: TCP Data received {"connection_id":171101,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0286a0012d1a8c80071fad50003d013529..."} 
[2026-09-04 16:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0286a0012d1a8c80071fad50003d013529..."} 
[2026-09-04 16:16:26] local.INFO: Processing buffer {"connection_id":171101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0286a0012d1a8c80071fad50003d013529..."} 
[2026-09-04 16:16:26] local.INFO: Packet analysis {"connection_id":171101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c02"} 
[2026-09-04 16:16:26] local.INFO: Extracted packet for processing {"connection_id":171101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c02"} 
[2026-09-04 16:16:26] local.INFO: GPS Element Parsed {"raw_longitude":756714624,"raw_latitude":119516496,"longitude_deg":75.6714624,"latitude_deg":11.9516496,"altitude":61,"angle":309,"satellites":41,"speed":8,"hex_longitude":"2d1a8c80","hex_latitude":"071fad50","is_valid_coordinates":true} 
[2026-09-04 16:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860735744001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320868665360384,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913326184786872320,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788518500000,"timestamp_ms":1788518500000,"timestamp_seconds":1788518500,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0286a0"} 
[2026-09-04 16:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 16:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860735744001,"66":13091,"101":206,"83":41984,"24":8,"16":17320868665360384,"45":1913326184786872320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860735744001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:16:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:16:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320868665360384,"km_value":17320868665360.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913326184786872320,"description":"Unknown IO ID 45"} 
[2026-09-04 16:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860735744001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1913326184786872320}} 
[2026-09-04 16:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":171101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:16:26] local.INFO: GPS data processed {"connection_id":171101,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:16:26] local.INFO: Acknowledgment sent {"connection_id":171101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:16:36] local.INFO: TCP Data received {"connection_id":173508,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:16:36] local.INFO: Processing buffer {"connection_id":173508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:16:36] local.INFO: Packet analysis {"connection_id":173508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:16:36] local.INFO: Extracted packet for processing {"connection_id":173508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:16:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860681728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788518589000,"timestamp_ms":1788518589000,"timestamp_seconds":1788518589,"priority":1,"record_length":96,"hex_timestamp":"000001a06c03e248"} 
[2026-09-04 16:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 16:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860681728001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860681728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:16:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:16:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:16:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860681728001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":173508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:16:36] local.INFO: GPS data processed {"connection_id":173508,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:16:36] local.INFO: Acknowledgment sent {"connection_id":173508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:16:48] local.INFO: TCP Data received {"connection_id":171104,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:16:48] local.INFO: Processing buffer {"connection_id":171104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:16:48] local.INFO: IMEI packet received {"connection_id":171104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":171104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:16:49] local.INFO: TCP Data received {"connection_id":171103,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:16:49] local.INFO: Processing buffer {"connection_id":171103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:16:49] local.INFO: IMEI packet received {"connection_id":171103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":171103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:16:51] local.INFO: TCP Data received {"connection_id":171104,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:16:51] local.INFO: Processing buffer {"connection_id":171104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:16:51] local.INFO: IMEI packet received {"connection_id":171104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":171104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:16:53] local.INFO: TCP Data received {"connection_id":171104,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:16:53] local.INFO: Processing buffer {"connection_id":171104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:16:53] local.INFO: IMEI packet received {"connection_id":171104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":171104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:16:54] local.INFO: TCP Data received {"connection_id":171104,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c060cf8012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c060cf8012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:16:54] local.INFO: Processing buffer {"connection_id":171104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c060cf8012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:16:54] local.INFO: Packet analysis {"connection_id":171104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c06"} 
[2026-09-04 16:16:54] local.INFO: Extracted packet for processing {"connection_id":171104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c06"} 
[2026-09-04 16:16:54] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860789760001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788518731000,"timestamp_ms":1788518731000,"timestamp_seconds":1788518731,"priority":1,"record_length":96,"hex_timestamp":"000001a06c060cf8"} 
[2026-09-04 16:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-04 16:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860789760001,"66":12287,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860789760001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:16:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:16:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860789760001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":171104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:16:54] local.INFO: GPS data processed {"connection_id":171104,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:16:54] local.INFO: Acknowledgment sent {"connection_id":171104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:16:54] local.INFO: TCP Data received {"connection_id":171103,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:16:54] local.INFO: Processing buffer {"connection_id":171103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:16:54] local.INFO: IMEI packet received {"connection_id":171103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":171103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:16:55] local.INFO: TCP Data received {"connection_id":171103,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:16:55] local.INFO: Processing buffer {"connection_id":171103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:16:55] local.INFO: Packet analysis {"connection_id":171103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:16:55] local.INFO: Extracted packet for processing {"connection_id":171103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:16:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860668672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788518538000,"timestamp_ms":1788518538000,"timestamp_seconds":1788518538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c031b10"} 
[2026-09-04 16:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860668672001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860668672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:16:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860668672001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":171103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763498,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:16:55] local.INFO: GPS data processed {"connection_id":171103,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:16:55] local.INFO: Acknowledgment sent {"connection_id":171103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:16:58] local.INFO: TCP Data received {"connection_id":171104,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c065f00012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c065f00012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:16:58] local.INFO: Processing buffer {"connection_id":171104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c065f00012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:16:58] local.INFO: Packet analysis {"connection_id":171104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c06"} 
[2026-09-04 16:16:58] local.INFO: Extracted packet for processing {"connection_id":171104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c06"} 
[2026-09-04 16:16:58] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860795136001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788518752000,"timestamp_ms":1788518752000,"timestamp_seconds":1788518752,"priority":1,"record_length":96,"hex_timestamp":"000001a06c065f00"} 
[2026-09-04 16:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 16:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860795136001,"66":12526,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860795136001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:16:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:16:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860795136001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":171104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:16:58] local.INFO: GPS data processed {"connection_id":171104,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:16:58] local.INFO: Acknowledgment sent {"connection_id":171104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:16:59] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:16:59] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:16:59] local.INFO: IMEI packet received {"connection_id":173509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":173509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:17:04] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:17:04] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:17:04] local.INFO: IMEI packet received {"connection_id":173509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":173509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:17:05] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:17:05] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:17:05] local.INFO: Packet analysis {"connection_id":173509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:17:05] local.INFO: Extracted packet for processing {"connection_id":173509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:17:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860681728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788518589000,"timestamp_ms":1788518589000,"timestamp_seconds":1788518589,"priority":1,"record_length":96,"hex_timestamp":"000001a06c03e248"} 
[2026-09-04 16:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 16:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860681728001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860681728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:17:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:17:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:17:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860681728001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":173509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:17:05] local.INFO: GPS data processed {"connection_id":173509,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:17:05] local.INFO: Acknowledgment sent {"connection_id":173509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:17:27] local.INFO: TCP Data received {"connection_id":171103,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:17:27] local.INFO: Processing buffer {"connection_id":171103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:17:27] local.INFO: Packet analysis {"connection_id":171103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:17:27] local.INFO: Extracted packet for processing {"connection_id":171103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:17:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860668672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788518538000,"timestamp_ms":1788518538000,"timestamp_seconds":1788518538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c031b10"} 
[2026-09-04 16:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860668672001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860668672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:17:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:17:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860668672001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":171103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763501,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:17:27] local.INFO: GPS data processed {"connection_id":171103,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:17:27] local.INFO: Acknowledgment sent {"connection_id":171103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:17:30] local.INFO: TCP Data received {"connection_id":171104,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c06b108012d1a8c00071fae00003d013528..."} 
[2026-09-04 16:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c06b108012d1a8c00071fae00003d013528..."} 
[2026-09-04 16:17:30] local.INFO: Processing buffer {"connection_id":171104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c06b108012d1a8c00071fae00003d013528..."} 
[2026-09-04 16:17:30] local.INFO: Packet analysis {"connection_id":171104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c06"} 
[2026-09-04 16:17:30] local.INFO: Extracted packet for processing {"connection_id":171104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c06"} 
[2026-09-04 16:17:30] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860800512001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788518773000,"timestamp_ms":1788518773000,"timestamp_seconds":1788518773,"priority":1,"record_length":96,"hex_timestamp":"000001a06c06b108"} 
[2026-09-04 16:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 16:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860800512001,"66":12548,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860800512001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:17:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:17:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860800512001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":171104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:17:30] local.INFO: GPS data processed {"connection_id":171104,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:17:30] local.INFO: Acknowledgment sent {"connection_id":171104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:17:36] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:17:36] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:17:36] local.INFO: Packet analysis {"connection_id":173509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:17:36] local.INFO: Extracted packet for processing {"connection_id":173509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:17:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860681728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788518589000,"timestamp_ms":1788518589000,"timestamp_seconds":1788518589,"priority":1,"record_length":96,"hex_timestamp":"000001a06c03e248"} 
[2026-09-04 16:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 16:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860681728001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860681728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:17:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:17:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860681728001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":173509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:17:36] local.INFO: GPS data processed {"connection_id":173509,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:17:36] local.INFO: Acknowledgment sent {"connection_id":173509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:17:48] local.INFO: TCP Data received {"connection_id":172204,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:17:48] local.INFO: Processing buffer {"connection_id":172204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:17:48] local.INFO: IMEI packet received {"connection_id":172204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":172204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:17:49] local.INFO: TCP Data received {"connection_id":172203,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:17:49] local.INFO: Processing buffer {"connection_id":172203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:17:49] local.INFO: IMEI packet received {"connection_id":172203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":172203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:17:53] local.INFO: TCP Data received {"connection_id":172204,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:17:53] local.INFO: Processing buffer {"connection_id":172204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:17:53] local.INFO: IMEI packet received {"connection_id":172204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":172204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:17:54] local.INFO: TCP Data received {"connection_id":172204,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c070310012d1a8c00071fae00003d013528..."} 
[2026-09-04 16:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c070310012d1a8c00071fae00003d013528..."} 
[2026-09-04 16:17:54] local.INFO: Processing buffer {"connection_id":172204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c070310012d1a8c00071fae00003d013528..."} 
[2026-09-04 16:17:54] local.INFO: Packet analysis {"connection_id":172204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:17:54] local.INFO: Extracted packet for processing {"connection_id":172204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:17:54] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860805888001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788518794000,"timestamp_ms":1788518794000,"timestamp_seconds":1788518794,"priority":1,"record_length":96,"hex_timestamp":"000001a06c070310"} 
[2026-09-04 16:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 16:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184208433357,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:54] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2919235645,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-04 16:17:54] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3758173466,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:54] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748920,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:54] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:54] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,137,160,95,45,174,61,41,10,66,12,186,1,240,69,227,108,31,4,113,205,22,140,40,239,49,2,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-04 16:17:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395853157205278720,"timestamp_seconds":4395853157205278.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860805888001,"66":12548,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860805888001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:17:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:17:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860805888001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":172204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:17:54] local.INFO: GPS data processed {"connection_id":172204,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:17:54] local.INFO: Acknowledgment sent {"connection_id":172204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:17:54] local.INFO: TCP Data received {"connection_id":172203,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:17:54] local.INFO: Processing buffer {"connection_id":172203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:17:54] local.INFO: IMEI packet received {"connection_id":172203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":172203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:17:55] local.INFO: TCP Data received {"connection_id":172203,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:17:55] local.INFO: Processing buffer {"connection_id":172203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c031b10012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:17:55] local.INFO: Packet analysis {"connection_id":172203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:17:55] local.INFO: Extracted packet for processing {"connection_id":172203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:17:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860668672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788518538000,"timestamp_ms":1788518538000,"timestamp_seconds":1788518538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c031b10"} 
[2026-09-04 16:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860668672001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860668672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:17:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860668672001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":172203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763505,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:17:55] local.INFO: GPS data processed {"connection_id":172203,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:17:55] local.INFO: Acknowledgment sent {"connection_id":172203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:17:59] local.INFO: TCP Data received {"connection_id":171105,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:17:59] local.INFO: Processing buffer {"connection_id":171105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:17:59] local.INFO: IMEI packet received {"connection_id":171105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":171105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:18:04] local.INFO: TCP Data received {"connection_id":171105,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:18:04] local.INFO: Processing buffer {"connection_id":171105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:18:04] local.INFO: IMEI packet received {"connection_id":171105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":171105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:18:05] local.INFO: TCP Data received {"connection_id":171105,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:18:05] local.INFO: Processing buffer {"connection_id":171105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:18:05] local.INFO: Packet analysis {"connection_id":171105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:18:05] local.INFO: Extracted packet for processing {"connection_id":171105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860681728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788518589000,"timestamp_ms":1788518589000,"timestamp_seconds":1788518589,"priority":1,"record_length":96,"hex_timestamp":"000001a06c03e248"} 
[2026-09-04 16:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 16:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860681728001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860681728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:18:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:18:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860681728001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":171105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:18:05] local.INFO: GPS data processed {"connection_id":171105,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:18:05] local.INFO: Acknowledgment sent {"connection_id":171105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:18:25] local.INFO: TCP Data received {"connection_id":172204,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c075518012d1a8c00071fae00003d013526..."} 
[2026-09-04 16:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c075518012d1a8c00071fae00003d013526..."} 
[2026-09-04 16:18:25] local.INFO: Processing buffer {"connection_id":172204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c075518012d1a8c00071fae00003d013526..."} 
[2026-09-04 16:18:25] local.INFO: Packet analysis {"connection_id":172204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:18:25] local.INFO: Extracted packet for processing {"connection_id":172204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:18:25] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860811264001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788518815000,"timestamp_ms":1788518815000,"timestamp_seconds":1788518815,"priority":1,"record_length":96,"hex_timestamp":"000001a06c075518"} 
[2026-09-04 16:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 16:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:25] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2919235645,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-04 16:18:25] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3892391194,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:25] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:25] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,137,160,177,45,174,61,40,10,66,95,41,12,1,240,255,227,108,31,4,113,205,104,140,239,49,2,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-04 16:18:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395853157205278720,"timestamp_seconds":4395853157205278.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860811264001,"66":12461,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860811264001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:18:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:18:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860811264001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":172204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:18:25] local.INFO: GPS data processed {"connection_id":172204,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:18:25] local.INFO: Acknowledgment sent {"connection_id":172204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:18:27] local.INFO: TCP Data received {"connection_id":172203,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:18:27] local.INFO: Processing buffer {"connection_id":172203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:18:27] local.INFO: Packet analysis {"connection_id":172203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:18:27] local.INFO: Extracted packet for processing {"connection_id":172203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:18:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860745728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788518839000,"timestamp_ms":1788518839000,"timestamp_seconds":1788518839,"priority":1,"record_length":96,"hex_timestamp":"000001a06c07b2d8"} 
[2026-09-04 16:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860745728001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860745728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:18:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:18:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860745728001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":172203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763508,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:18:27] local.INFO: GPS data processed {"connection_id":172203,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:18:27] local.INFO: Acknowledgment sent {"connection_id":172203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:18:36] local.INFO: TCP Data received {"connection_id":171105,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:18:36] local.INFO: Processing buffer {"connection_id":171105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c03e248012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:18:36] local.INFO: Packet analysis {"connection_id":171105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:18:36] local.INFO: Extracted packet for processing {"connection_id":171105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c03"} 
[2026-09-04 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860681728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788518589000,"timestamp_ms":1788518589000,"timestamp_seconds":1788518589,"priority":1,"record_length":96,"hex_timestamp":"000001a06c03e248"} 
[2026-09-04 16:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 16:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860681728001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860681728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:18:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:18:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:18:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860681728001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":171105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:18:36] local.INFO: GPS data processed {"connection_id":171105,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:18:36] local.INFO: Acknowledgment sent {"connection_id":171105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:18:48] local.INFO: TCP Data received {"connection_id":173510,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:18:48] local.INFO: Processing buffer {"connection_id":173510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:18:48] local.INFO: IMEI packet received {"connection_id":173510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":173510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:18:48] local.INFO: TCP Data received {"connection_id":173511,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:18:48] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:18:48] local.INFO: IMEI packet received {"connection_id":173511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":173511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:18:53] local.INFO: TCP Data received {"connection_id":173510,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:18:53] local.INFO: Processing buffer {"connection_id":173510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:18:53] local.INFO: IMEI packet received {"connection_id":173510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":173510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:18:54] local.INFO: TCP Data received {"connection_id":173510,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c07a720012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c07a720012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:18:54] local.INFO: Processing buffer {"connection_id":173510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c07a720012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:18:54] local.INFO: Packet analysis {"connection_id":173510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:18:54] local.INFO: Extracted packet for processing {"connection_id":173510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:18:54] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860816640001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788518836000,"timestamp_ms":1788518836000,"timestamp_seconds":1788518836,"priority":1,"record_length":96,"hex_timestamp":"000001a06c07a720"} 
[2026-09-04 16:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 16:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860816640001,"66":12504,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860816640001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:18:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:18:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860816640001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":173510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:18:54] local.INFO: GPS data processed {"connection_id":173510,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:18:54] local.INFO: Acknowledgment sent {"connection_id":173510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:18:54] local.INFO: TCP Data received {"connection_id":173511,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:18:54] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:18:54] local.INFO: IMEI packet received {"connection_id":173511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":173511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:18:55] local.INFO: TCP Data received {"connection_id":173511,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:18:55] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:18:55] local.INFO: Packet analysis {"connection_id":173511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:18:55] local.INFO: Extracted packet for processing {"connection_id":173511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860745728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788518839000,"timestamp_ms":1788518839000,"timestamp_seconds":1788518839,"priority":1,"record_length":96,"hex_timestamp":"000001a06c07b2d8"} 
[2026-09-04 16:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860745728001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860745728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:18:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860745728001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":173511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763511,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:18:55] local.INFO: GPS data processed {"connection_id":173511,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:18:55] local.INFO: Acknowledgment sent {"connection_id":173511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:19:04] local.INFO: TCP Data received {"connection_id":170806,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:19:04] local.INFO: Processing buffer {"connection_id":170806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:19:04] local.INFO: IMEI packet received {"connection_id":170806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":170806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:19:09] local.INFO: TCP Data received {"connection_id":170806,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:19:09] local.INFO: Processing buffer {"connection_id":170806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:19:09] local.INFO: IMEI packet received {"connection_id":170806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":170806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:19:10] local.INFO: TCP Data received {"connection_id":170806,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:19:10] local.INFO: Processing buffer {"connection_id":170806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:19:10] local.INFO: Packet analysis {"connection_id":170806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:19:10] local.INFO: Extracted packet for processing {"connection_id":170806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:19:10] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860758784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788518890000,"timestamp_ms":1788518890000,"timestamp_seconds":1788518890,"priority":1,"record_length":96,"hex_timestamp":"000001a06c087a10"} 
[2026-09-04 16:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860758784001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860758784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:19:10] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860758784001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":170806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:19:10] local.INFO: GPS data processed {"connection_id":170806,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:19:10] local.INFO: Acknowledgment sent {"connection_id":170806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:19:14] local.INFO: TCP Data received {"connection_id":170806,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:19:14] local.INFO: Processing buffer {"connection_id":170806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:19:14] local.INFO: Packet analysis {"connection_id":170806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:19:14] local.INFO: Extracted packet for processing {"connection_id":170806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:19:14] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860758784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788518890000,"timestamp_ms":1788518890000,"timestamp_seconds":1788518890,"priority":1,"record_length":96,"hex_timestamp":"000001a06c087a10"} 
[2026-09-04 16:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":170806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":170806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":170806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860758784001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860758784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:19:14] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:19:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:19:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860758784001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":170806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:19:14] local.INFO: GPS data processed {"connection_id":170806,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:19:14] local.INFO: Acknowledgment sent {"connection_id":170806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:19:25] local.INFO: TCP Data received {"connection_id":173510,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c07f928012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c07f928012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:19:25] local.INFO: Processing buffer {"connection_id":173510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c07f928012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:19:25] local.INFO: Packet analysis {"connection_id":173510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:19:25] local.INFO: Extracted packet for processing {"connection_id":173510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:19:25] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860822016001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788518857000,"timestamp_ms":1788518857000,"timestamp_seconds":1788518857,"priority":1,"record_length":96,"hex_timestamp":"000001a06c07f928"} 
[2026-09-04 16:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 16:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860822016001,"66":12493,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860822016001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:19:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:19:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860822016001,"power":12493,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":173510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:19:25] local.INFO: GPS data processed {"connection_id":173510,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:19:25] local.INFO: Acknowledgment sent {"connection_id":173510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:19:27] local.INFO: TCP Data received {"connection_id":173511,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:19:27] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:19:27] local.INFO: Packet analysis {"connection_id":173511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:19:27] local.INFO: Extracted packet for processing {"connection_id":173511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:19:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860745728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788518839000,"timestamp_ms":1788518839000,"timestamp_seconds":1788518839,"priority":1,"record_length":96,"hex_timestamp":"000001a06c07b2d8"} 
[2026-09-04 16:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860745728001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860745728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:19:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:19:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860745728001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":173511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763515,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:19:27] local.INFO: GPS data processed {"connection_id":173511,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:19:27] local.INFO: Acknowledgment sent {"connection_id":173511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:19:53] local.INFO: TCP Data received {"connection_id":170807,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:19:53] local.INFO: Processing buffer {"connection_id":170807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:19:53] local.INFO: IMEI packet received {"connection_id":170807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":170807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:19:54] local.INFO: TCP Data received {"connection_id":170808,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:19:54] local.INFO: Processing buffer {"connection_id":170808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:19:54] local.INFO: IMEI packet received {"connection_id":170808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":170808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:19:58] local.INFO: TCP Data received {"connection_id":170807,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:19:58] local.INFO: Processing buffer {"connection_id":170807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:19:58] local.INFO: IMEI packet received {"connection_id":170807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":170807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:19:58] local.INFO: TCP Data received {"connection_id":170807,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c084b30012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c084b30012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:19:58] local.INFO: Processing buffer {"connection_id":170807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c084b30012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:19:58] local.INFO: Packet analysis {"connection_id":170807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:19:58] local.INFO: Extracted packet for processing {"connection_id":170807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:19:58] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860827392001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788518878000,"timestamp_ms":1788518878000,"timestamp_seconds":1788518878,"priority":1,"record_length":96,"hex_timestamp":"000001a06c084b30"} 
[2026-09-04 16:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 16:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860827392001,"66":12461,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860827392001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:19:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:19:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860827392001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":170807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:19:58] local.INFO: GPS data processed {"connection_id":170807,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:19:58] local.INFO: Acknowledgment sent {"connection_id":170807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:19:59] local.INFO: TCP Data received {"connection_id":170808,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:19:59] local.INFO: Processing buffer {"connection_id":170808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:19:59] local.INFO: IMEI packet received {"connection_id":170808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":170808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:19:59] local.INFO: TCP Data received {"connection_id":172205,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:19:59] local.INFO: Processing buffer {"connection_id":172205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:19:59] local.INFO: IMEI packet received {"connection_id":172205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":172205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:20:00] local.INFO: TCP Data received {"connection_id":170808,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:20:00] local.INFO: Processing buffer {"connection_id":170808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:20:00] local.INFO: Packet analysis {"connection_id":170808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:20:00] local.INFO: Extracted packet for processing {"connection_id":170808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860745728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788518839000,"timestamp_ms":1788518839000,"timestamp_seconds":1788518839,"priority":1,"record_length":96,"hex_timestamp":"000001a06c07b2d8"} 
[2026-09-04 16:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860745728001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860745728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:20:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:20:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860745728001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":170808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763517,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:20:00] local.INFO: GPS data processed {"connection_id":170808,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:20:00] local.INFO: Acknowledgment sent {"connection_id":170808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:20:00] local.INFO: TCP Data received {"connection_id":170807,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c089d38012d1a8c00071fae00003d01352a..."} 
[2026-09-04 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c089d38012d1a8c00071fae00003d01352a..."} 
[2026-09-04 16:20:00] local.INFO: Processing buffer {"connection_id":170807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c089d38012d1a8c00071fae00003d01352a..."} 
[2026-09-04 16:20:00] local.INFO: Packet analysis {"connection_id":170807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:20:00] local.INFO: Extracted packet for processing {"connection_id":170807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860832768001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788518899000,"timestamp_ms":1788518899000,"timestamp_seconds":1788518899,"priority":1,"record_length":96,"hex_timestamp":"000001a06c089d38"} 
[2026-09-04 16:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 16:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860832768001,"66":12461,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860832768001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:20:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860832768001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":170807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:20:00] local.INFO: GPS data processed {"connection_id":170807,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:20:00] local.INFO: Acknowledgment sent {"connection_id":170807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:20:04] local.INFO: TCP Data received {"connection_id":172205,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:20:04] local.INFO: Processing buffer {"connection_id":172205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:20:04] local.INFO: IMEI packet received {"connection_id":172205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":172205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:20:05] local.INFO: TCP Data received {"connection_id":172205,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:20:05] local.INFO: Processing buffer {"connection_id":172205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:20:05] local.INFO: Packet analysis {"connection_id":172205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:20:05] local.INFO: Extracted packet for processing {"connection_id":172205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860758784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788518890000,"timestamp_ms":1788518890000,"timestamp_seconds":1788518890,"priority":1,"record_length":96,"hex_timestamp":"000001a06c087a10"} 
[2026-09-04 16:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860758784001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860758784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:20:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:20:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:20:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860758784001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":172205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:20:05] local.INFO: GPS data processed {"connection_id":172205,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:20:05] local.INFO: Acknowledgment sent {"connection_id":172205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:20:05] local.INFO: TCP Data received {"connection_id":170808,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:20:05] local.INFO: Processing buffer {"connection_id":170808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:20:05] local.INFO: Packet analysis {"connection_id":170808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:20:05] local.INFO: Extracted packet for processing {"connection_id":170808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860745728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788518839000,"timestamp_ms":1788518839000,"timestamp_seconds":1788518839,"priority":1,"record_length":96,"hex_timestamp":"000001a06c07b2d8"} 
[2026-09-04 16:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860745728001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860745728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:20:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:20:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860745728001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":170808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763520,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:20:05] local.INFO: GPS data processed {"connection_id":170808,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:20:05] local.INFO: Acknowledgment sent {"connection_id":170808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:20:31] local.INFO: TCP Data received {"connection_id":170807,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c08ef40012d1a8c00071fae00003d01352b..."} 
[2026-09-04 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c08ef40012d1a8c00071fae00003d01352b..."} 
[2026-09-04 16:20:31] local.INFO: Processing buffer {"connection_id":170807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c08ef40012d1a8c00071fae00003d01352b..."} 
[2026-09-04 16:20:31] local.INFO: Packet analysis {"connection_id":170807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:20:31] local.INFO: Extracted packet for processing {"connection_id":170807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860838144001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788518920000,"timestamp_ms":1788518920000,"timestamp_seconds":1788518920,"priority":1,"record_length":96,"hex_timestamp":"000001a06c08ef40"} 
[2026-09-04 16:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 16:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":170807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":170807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":170807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860838144001,"66":12461,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860838144001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:20:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:20:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860838144001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":170807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:20:31] local.INFO: GPS data processed {"connection_id":170807,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:20:31] local.INFO: Acknowledgment sent {"connection_id":170807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:20:36] local.INFO: TCP Data received {"connection_id":172205,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:20:36] local.INFO: Processing buffer {"connection_id":172205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:20:36] local.INFO: Packet analysis {"connection_id":172205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:20:36] local.INFO: Extracted packet for processing {"connection_id":172205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:20:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860758784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788518890000,"timestamp_ms":1788518890000,"timestamp_seconds":1788518890,"priority":1,"record_length":96,"hex_timestamp":"000001a06c087a10"} 
[2026-09-04 16:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860758784001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860758784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:20:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:20:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:20:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860758784001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":172205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:20:36] local.INFO: GPS data processed {"connection_id":172205,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:20:36] local.INFO: Acknowledgment sent {"connection_id":172205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:20:48] local.INFO: TCP Data received {"connection_id":173512,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:20:48] local.INFO: Processing buffer {"connection_id":173512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:20:48] local.INFO: IMEI packet received {"connection_id":173512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":173512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:20:49] local.INFO: TCP Data received {"connection_id":170809,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:20:49] local.INFO: Processing buffer {"connection_id":170809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:20:49] local.INFO: IMEI packet received {"connection_id":170809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":170809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:20:53] local.INFO: TCP Data received {"connection_id":173512,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:20:53] local.INFO: Processing buffer {"connection_id":173512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:20:53] local.INFO: IMEI packet received {"connection_id":173512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":173512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:20:54] local.INFO: TCP Data received {"connection_id":173512,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c094148012d1a8c00071fae00003d013528..."} 
[2026-09-04 16:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c094148012d1a8c00071fae00003d013528..."} 
[2026-09-04 16:20:54] local.INFO: Processing buffer {"connection_id":173512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c094148012d1a8c00071fae00003d013528..."} 
[2026-09-04 16:20:54] local.INFO: Packet analysis {"connection_id":173512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c09"} 
[2026-09-04 16:20:54] local.INFO: Extracted packet for processing {"connection_id":173512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c09"} 
[2026-09-04 16:20:54] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860843520001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788518941000,"timestamp_ms":1788518941000,"timestamp_seconds":1788518941,"priority":1,"record_length":96,"hex_timestamp":"000001a06c094148"} 
[2026-09-04 16:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 16:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860843520001,"66":12461,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860843520001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:20:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:20:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860843520001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":173512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:20:54] local.INFO: GPS data processed {"connection_id":173512,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:20:54] local.INFO: Acknowledgment sent {"connection_id":173512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:20:54] local.INFO: TCP Data received {"connection_id":170809,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:20:54] local.INFO: Processing buffer {"connection_id":170809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:20:54] local.INFO: IMEI packet received {"connection_id":170809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":170809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:20:55] local.INFO: TCP Data received {"connection_id":170809,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:20:55] local.INFO: Processing buffer {"connection_id":170809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:20:55] local.INFO: Packet analysis {"connection_id":170809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:20:55] local.INFO: Extracted packet for processing {"connection_id":170809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:20:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860745728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788518839000,"timestamp_ms":1788518839000,"timestamp_seconds":1788518839,"priority":1,"record_length":96,"hex_timestamp":"000001a06c07b2d8"} 
[2026-09-04 16:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860745728001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860745728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:20:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860745728001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":170809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763524,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:20:55] local.INFO: GPS data processed {"connection_id":170809,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:20:55] local.INFO: Acknowledgment sent {"connection_id":170809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:20:59] local.INFO: TCP Data received {"connection_id":172206,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:20:59] local.INFO: Processing buffer {"connection_id":172206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:20:59] local.INFO: IMEI packet received {"connection_id":172206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":172206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:21:04] local.INFO: TCP Data received {"connection_id":172206,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:21:04] local.INFO: Processing buffer {"connection_id":172206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:21:04] local.INFO: IMEI packet received {"connection_id":172206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":172206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:21:05] local.INFO: TCP Data received {"connection_id":172206,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:21:05] local.INFO: Processing buffer {"connection_id":172206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:21:05] local.INFO: Packet analysis {"connection_id":172206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:21:05] local.INFO: Extracted packet for processing {"connection_id":172206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:21:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860758784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788518890000,"timestamp_ms":1788518890000,"timestamp_seconds":1788518890,"priority":1,"record_length":96,"hex_timestamp":"000001a06c087a10"} 
[2026-09-04 16:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860758784001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860758784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:21:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:21:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:21:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860758784001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":172206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:21:05] local.INFO: GPS data processed {"connection_id":172206,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:21:05] local.INFO: Acknowledgment sent {"connection_id":172206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:21:25] local.INFO: TCP Data received {"connection_id":173512,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c099350012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c099350012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:21:25] local.INFO: Processing buffer {"connection_id":173512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c099350012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:21:25] local.INFO: Packet analysis {"connection_id":173512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c09"} 
[2026-09-04 16:21:25] local.INFO: Extracted packet for processing {"connection_id":173512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c09"} 
[2026-09-04 16:21:25] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860848896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788518962000,"timestamp_ms":1788518962000,"timestamp_seconds":1788518962,"priority":1,"record_length":96,"hex_timestamp":"000001a06c099350"} 
[2026-09-04 16:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 16:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860848896001,"66":11080,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860848896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:21:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:21:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860848896001,"power":11080,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":173512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:21:25] local.INFO: GPS data processed {"connection_id":173512,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:21:25] local.INFO: Acknowledgment sent {"connection_id":173512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:21:27] local.INFO: TCP Data received {"connection_id":170809,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:21:27] local.INFO: Processing buffer {"connection_id":170809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:21:27] local.INFO: Packet analysis {"connection_id":170809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:21:27] local.INFO: Extracted packet for processing {"connection_id":170809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:21:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860745728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788518839000,"timestamp_ms":1788518839000,"timestamp_seconds":1788518839,"priority":1,"record_length":96,"hex_timestamp":"000001a06c07b2d8"} 
[2026-09-04 16:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860745728001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860745728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:21:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:21:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860745728001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":170809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763527,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:21:27] local.INFO: GPS data processed {"connection_id":170809,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:21:27] local.INFO: Acknowledgment sent {"connection_id":170809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:21:36] local.INFO: TCP Data received {"connection_id":172206,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:21:36] local.INFO: Processing buffer {"connection_id":172206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:21:36] local.INFO: Packet analysis {"connection_id":172206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:21:36] local.INFO: Extracted packet for processing {"connection_id":172206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:21:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860758784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788518890000,"timestamp_ms":1788518890000,"timestamp_seconds":1788518890,"priority":1,"record_length":96,"hex_timestamp":"000001a06c087a10"} 
[2026-09-04 16:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860758784001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860758784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:21:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:21:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860758784001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":172206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:21:36] local.INFO: GPS data processed {"connection_id":172206,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:21:36] local.INFO: Acknowledgment sent {"connection_id":172206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:21:48] local.INFO: TCP Data received {"connection_id":172207,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:21:48] local.INFO: Processing buffer {"connection_id":172207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:21:48] local.INFO: IMEI packet received {"connection_id":172207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":172207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:21:48] local.INFO: TCP Data received {"connection_id":171106,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:21:48] local.INFO: Processing buffer {"connection_id":171106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:21:48] local.INFO: IMEI packet received {"connection_id":171106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":171106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:21:53] local.INFO: TCP Data received {"connection_id":172207,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:21:53] local.INFO: Processing buffer {"connection_id":172207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:21:53] local.INFO: IMEI packet received {"connection_id":172207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":172207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:21:54] local.INFO: TCP Data received {"connection_id":172207,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c09e558012d1a8c00071fae00003d01352b..."} 
[2026-09-04 16:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c09e558012d1a8c00071fae00003d01352b..."} 
[2026-09-04 16:21:54] local.INFO: Processing buffer {"connection_id":172207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c09e558012d1a8c00071fae00003d01352b..."} 
[2026-09-04 16:21:54] local.INFO: Packet analysis {"connection_id":172207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c09"} 
[2026-09-04 16:21:54] local.INFO: Extracted packet for processing {"connection_id":172207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c09"} 
[2026-09-04 16:21:54] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860854272001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788518983000,"timestamp_ms":1788518983000,"timestamp_seconds":1788518983,"priority":1,"record_length":96,"hex_timestamp":"000001a06c09e558"} 
[2026-09-04 16:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-04 16:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1061,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860854272001,"66":12428,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860854272001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:21:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:21:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860854272001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":172207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:21:54] local.INFO: GPS data processed {"connection_id":172207,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:21:54] local.INFO: Acknowledgment sent {"connection_id":172207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:21:57] local.INFO: TCP Data received {"connection_id":171106,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:21:57] local.INFO: Processing buffer {"connection_id":171106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:21:57] local.INFO: IMEI packet received {"connection_id":171106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":171106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:21:58] local.INFO: TCP Data received {"connection_id":171106,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:21:58] local.INFO: Processing buffer {"connection_id":171106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:21:58] local.INFO: Packet analysis {"connection_id":171106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:21:58] local.INFO: Extracted packet for processing {"connection_id":171106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:21:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860745728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788518839000,"timestamp_ms":1788518839000,"timestamp_seconds":1788518839,"priority":1,"record_length":96,"hex_timestamp":"000001a06c07b2d8"} 
[2026-09-04 16:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171106,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171106,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860745728001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860745728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:21:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:21:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860745728001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":171106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:21:58] local.INFO: GPS data processed {"connection_id":171106,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:21:58] local.INFO: Acknowledgment sent {"connection_id":171106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:21:59] local.INFO: TCP Data received {"connection_id":171107,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:21:59] local.INFO: Processing buffer {"connection_id":171107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:21:59] local.INFO: IMEI packet received {"connection_id":171107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":171107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:22:04] local.INFO: TCP Data received {"connection_id":171107,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:22:04] local.INFO: Processing buffer {"connection_id":171107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:22:04] local.INFO: IMEI packet received {"connection_id":171107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":171107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:22:05] local.INFO: TCP Data received {"connection_id":171107,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:22:05] local.INFO: Processing buffer {"connection_id":171107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:22:05] local.INFO: Packet analysis {"connection_id":171107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:22:05] local.INFO: Extracted packet for processing {"connection_id":171107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:22:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860758784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788518890000,"timestamp_ms":1788518890000,"timestamp_seconds":1788518890,"priority":1,"record_length":96,"hex_timestamp":"000001a06c087a10"} 
[2026-09-04 16:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860758784001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860758784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:22:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:22:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:22:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860758784001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":171107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:22:05] local.INFO: GPS data processed {"connection_id":171107,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:22:05] local.INFO: Acknowledgment sent {"connection_id":171107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:22:25] local.INFO: TCP Data received {"connection_id":172207,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0a3760012d1a8c00071fae00003d01352b..."} 
[2026-09-04 16:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0a3760012d1a8c00071fae00003d01352b..."} 
[2026-09-04 16:22:25] local.INFO: Processing buffer {"connection_id":172207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0a3760012d1a8c00071fae00003d01352b..."} 
[2026-09-04 16:22:25] local.INFO: Packet analysis {"connection_id":172207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0a"} 
[2026-09-04 16:22:25] local.INFO: Extracted packet for processing {"connection_id":172207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0a"} 
[2026-09-04 16:22:25] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860859648001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788519004000,"timestamp_ms":1788519004000,"timestamp_seconds":1788519004,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0a3760"} 
[2026-09-04 16:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 16:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860859648001,"66":12461,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860859648001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:22:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:22:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860859648001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":172207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:22:25] local.INFO: GPS data processed {"connection_id":172207,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:22:25] local.INFO: Acknowledgment sent {"connection_id":172207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:22:30] local.INFO: TCP Data received {"connection_id":171106,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:22:30] local.INFO: Processing buffer {"connection_id":171106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:22:30] local.INFO: Packet analysis {"connection_id":171106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:22:30] local.INFO: Extracted packet for processing {"connection_id":171106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860745728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788518839000,"timestamp_ms":1788518839000,"timestamp_seconds":1788518839,"priority":1,"record_length":96,"hex_timestamp":"000001a06c07b2d8"} 
[2026-09-04 16:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171106,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171106,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860745728001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860745728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:22:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860745728001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":171106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763533,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:22:30] local.INFO: GPS data processed {"connection_id":171106,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:22:30] local.INFO: Acknowledgment sent {"connection_id":171106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:22:36] local.INFO: TCP Data received {"connection_id":171107,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:22:36] local.INFO: Processing buffer {"connection_id":171107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:22:36] local.INFO: Packet analysis {"connection_id":171107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:22:36] local.INFO: Extracted packet for processing {"connection_id":171107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:22:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860758784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788518890000,"timestamp_ms":1788518890000,"timestamp_seconds":1788518890,"priority":1,"record_length":96,"hex_timestamp":"000001a06c087a10"} 
[2026-09-04 16:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860758784001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860758784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:22:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:22:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:22:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860758784001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":171107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:22:36] local.INFO: GPS data processed {"connection_id":171107,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:22:36] local.INFO: Acknowledgment sent {"connection_id":171107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:22:48] local.INFO: TCP Data received {"connection_id":170810,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:22:48] local.INFO: Processing buffer {"connection_id":170810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:22:48] local.INFO: IMEI packet received {"connection_id":170810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":170810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:22:48] local.INFO: TCP Data received {"connection_id":170810,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:22:48] local.INFO: Processing buffer {"connection_id":170810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:22:48] local.INFO: IMEI packet received {"connection_id":170810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":170810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:22:48] local.INFO: TCP Data received {"connection_id":170811,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:22:48] local.INFO: Processing buffer {"connection_id":170811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:22:48] local.INFO: IMEI packet received {"connection_id":170811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":170811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:22:53] local.INFO: TCP Data received {"connection_id":170810,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:22:53] local.INFO: Processing buffer {"connection_id":170810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:22:53] local.INFO: IMEI packet received {"connection_id":170810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":170810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:22:54] local.INFO: TCP Data received {"connection_id":170811,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:22:54] local.INFO: Processing buffer {"connection_id":170811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:22:54] local.INFO: IMEI packet received {"connection_id":170811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":170811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:22:54] local.INFO: TCP Data received {"connection_id":170810,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0a8968012d1a8c00071fae00003d01352c..."} 
[2026-09-04 16:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0a8968012d1a8c00071fae00003d01352c..."} 
[2026-09-04 16:22:54] local.INFO: Processing buffer {"connection_id":170810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0a8968012d1a8c00071fae00003d01352c..."} 
[2026-09-04 16:22:54] local.INFO: Packet analysis {"connection_id":170810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0a"} 
[2026-09-04 16:22:54] local.INFO: Extracted packet for processing {"connection_id":170810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0a"} 
[2026-09-04 16:22:54] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860865024001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788519025000,"timestamp_ms":1788519025000,"timestamp_seconds":1788519025,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0a8968"} 
[2026-09-04 16:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 16:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860865024001,"66":12374,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860865024001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:22:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:22:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860865024001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":170810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:22:54] local.INFO: GPS data processed {"connection_id":170810,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:22:54] local.INFO: Acknowledgment sent {"connection_id":170810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:22:55] local.INFO: TCP Data received {"connection_id":170811,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:22:55] local.INFO: Processing buffer {"connection_id":170811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c07b2d8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:22:55] local.INFO: Packet analysis {"connection_id":170811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:22:55] local.INFO: Extracted packet for processing {"connection_id":170811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c07"} 
[2026-09-04 16:22:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860745728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788518839000,"timestamp_ms":1788518839000,"timestamp_seconds":1788518839,"priority":1,"record_length":96,"hex_timestamp":"000001a06c07b2d8"} 
[2026-09-04 16:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860745728001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860745728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:22:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:22:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860745728001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":170811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763536,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:22:55] local.INFO: GPS data processed {"connection_id":170811,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:22:55] local.INFO: Acknowledgment sent {"connection_id":170811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:22:59] local.INFO: TCP Data received {"connection_id":171108,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:22:59] local.INFO: Processing buffer {"connection_id":171108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:22:59] local.INFO: IMEI packet received {"connection_id":171108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":171108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:23:04] local.INFO: TCP Data received {"connection_id":171108,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:23:04] local.INFO: Processing buffer {"connection_id":171108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:23:04] local.INFO: IMEI packet received {"connection_id":171108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":171108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:23:04] local.INFO: TCP Data received {"connection_id":171108,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:23:04] local.INFO: Processing buffer {"connection_id":171108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:23:04] local.INFO: Packet analysis {"connection_id":171108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:23:04] local.INFO: Extracted packet for processing {"connection_id":171108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:23:04] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860758784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788518890000,"timestamp_ms":1788518890000,"timestamp_seconds":1788518890,"priority":1,"record_length":96,"hex_timestamp":"000001a06c087a10"} 
[2026-09-04 16:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860758784001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860758784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:23:04] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:23:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:23:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860758784001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":171108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:23:05] local.INFO: GPS data processed {"connection_id":171108,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:23:05] local.INFO: Acknowledgment sent {"connection_id":171108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:23:06] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:23:06] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:23:06] local.INFO: IMEI packet received {"connection_id":173513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 16:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":173513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:23:06] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:23:06] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:23:06] local.INFO: IMEI packet received {"connection_id":173513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":173513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:23:10] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:23:10] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:23:10] local.INFO: IMEI packet received {"connection_id":173513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":173513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:23:11] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-04 16:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-04 16:23:11] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-04 16:23:11] local.INFO: Packet analysis {"connection_id":173513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 16:23:11] local.INFO: Extracted packet for processing {"connection_id":173513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 16:23:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 16:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128131561773072384,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,168,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 16:23:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:23:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 16:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173513,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173513,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173513,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 16:23:11] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 16:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":173513,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 16:23:11] local.ERROR: GPS data processing failed {"connection_id":173513,"error":"No valid data to process"} 
[2026-09-04 16:23:11] local.INFO: Acknowledgment sent {"connection_id":173513,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 16:23:25] local.INFO: TCP Data received {"connection_id":170810,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0adb70012d1a8c00071fae00003d01352a..."} 
[2026-09-04 16:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0adb70012d1a8c00071fae00003d01352a..."} 
[2026-09-04 16:23:25] local.INFO: Processing buffer {"connection_id":170810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0adb70012d1a8c00071fae00003d01352a..."} 
[2026-09-04 16:23:25] local.INFO: Packet analysis {"connection_id":170810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0a"} 
[2026-09-04 16:23:25] local.INFO: Extracted packet for processing {"connection_id":170810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0a"} 
[2026-09-04 16:23:25] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860870400001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788519046000,"timestamp_ms":1788519046000,"timestamp_seconds":1788519046,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0adb70"} 
[2026-09-04 16:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 16:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860870400001,"66":12287,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860870400001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:23:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:23:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860870400001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":170810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:23:25] local.INFO: GPS data processed {"connection_id":170810,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:23:25] local.INFO: Acknowledgment sent {"connection_id":170810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:23:26] local.INFO: TCP Data received {"connection_id":170811,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:23:26] local.INFO: Processing buffer {"connection_id":170811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:23:26] local.INFO: Packet analysis {"connection_id":170811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:23:26] local.INFO: Extracted packet for processing {"connection_id":170811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:23:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860822784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788519140000,"timestamp_ms":1788519140000,"timestamp_seconds":1788519140,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0c4aa0"} 
[2026-09-04 16:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 16:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860822784001,"66":24897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860822784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:23:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:23:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860822784001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":170811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763539,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:23:26] local.INFO: GPS data processed {"connection_id":170811,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:23:26] local.INFO: Acknowledgment sent {"connection_id":170811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:23:35] local.INFO: TCP Data received {"connection_id":171108,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:23:35] local.INFO: Processing buffer {"connection_id":171108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c087a10012cb2a10007823b700047002b2e..."} 
[2026-09-04 16:23:35] local.INFO: Packet analysis {"connection_id":171108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:23:35] local.INFO: Extracted packet for processing {"connection_id":171108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c08"} 
[2026-09-04 16:23:35] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860758784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788518890000,"timestamp_ms":1788518890000,"timestamp_seconds":1788518890,"priority":1,"record_length":96,"hex_timestamp":"000001a06c087a10"} 
[2026-09-04 16:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860758784001,"66":26006,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860758784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:23:35] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:23:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:23:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860758784001,"power":26006,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":171108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:23:35] local.INFO: GPS data processed {"connection_id":171108,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:23:35] local.INFO: Acknowledgment sent {"connection_id":171108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:23:41] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-04 16:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-04 16:23:41] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-04 16:23:41] local.INFO: Packet analysis {"connection_id":173513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-04 16:23:41] local.INFO: Extracted packet for processing {"connection_id":173513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-04 16:23:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 16:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128131561773072384,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,168,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 16:23:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:23:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 16:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173513,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173513,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173513,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 16:23:41] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 16:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":173513,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 16:23:41] local.ERROR: GPS data processing failed {"connection_id":173513,"error":"No valid data to process"} 
[2026-09-04 16:23:41] local.INFO: Acknowledgment sent {"connection_id":173513,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 16:23:48] local.INFO: TCP Data received {"connection_id":171109,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:23:48] local.INFO: Processing buffer {"connection_id":171109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:23:48] local.INFO: IMEI packet received {"connection_id":171109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":171109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:23:48] local.INFO: TCP Data received {"connection_id":171109,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:23:48] local.INFO: Processing buffer {"connection_id":171109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:23:48] local.INFO: IMEI packet received {"connection_id":171109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":171109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:23:49] local.INFO: TCP Data received {"connection_id":171109,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:23:49] local.INFO: Processing buffer {"connection_id":171109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:23:49] local.INFO: IMEI packet received {"connection_id":171109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":171109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:23:49] local.INFO: TCP Data received {"connection_id":170812,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:23:49] local.INFO: Processing buffer {"connection_id":170812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:23:49] local.INFO: IMEI packet received {"connection_id":170812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":170812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:23:53] local.INFO: TCP Data received {"connection_id":171109,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:23:53] local.INFO: Processing buffer {"connection_id":171109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:23:53] local.INFO: IMEI packet received {"connection_id":171109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":171109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:23:54] local.INFO: TCP Data received {"connection_id":170812,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:23:54] local.INFO: Processing buffer {"connection_id":170812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:23:54] local.INFO: IMEI packet received {"connection_id":170812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":170812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:23:54] local.INFO: TCP Data received {"connection_id":171109,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0b2d78012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0b2d78012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:23:54] local.INFO: Processing buffer {"connection_id":171109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0b2d78012d1a8c00071fae00003d013529..."} 
[2026-09-04 16:23:54] local.INFO: Packet analysis {"connection_id":171109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0b"} 
[2026-09-04 16:23:54] local.INFO: Extracted packet for processing {"connection_id":171109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0b"} 
[2026-09-04 16:23:54] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119516672,"longitude_deg":75.6714496,"latitude_deg":11.9516672,"altitude":61,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d1a8c00","hex_latitude":"071fae00","is_valid_coordinates":true} 
[2026-09-04 16:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860875776001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17320881550262272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972321886208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788519067000,"timestamp_ms":1788519067000,"timestamp_seconds":1788519067,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0b2d78"} 
[2026-09-04 16:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 16:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860875776001,"66":11993,"101":206,"83":41984,"24":0,"16":17320881550262272,"45":1912903972321886208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860875776001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:23:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:23:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17320881550262272,"km_value":17320881550262.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972321886208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860875776001,"power":11993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912903972321886208}} 
[2026-09-04 16:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":171109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:23:54] local.INFO: GPS data processed {"connection_id":171109,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:23:54] local.INFO: Acknowledgment sent {"connection_id":171109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:23:55] local.INFO: TCP Data received {"connection_id":170812,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:23:55] local.INFO: Processing buffer {"connection_id":170812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:23:55] local.INFO: Packet analysis {"connection_id":170812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:23:55] local.INFO: Extracted packet for processing {"connection_id":170812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860822784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788519140000,"timestamp_ms":1788519140000,"timestamp_seconds":1788519140,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0c4aa0"} 
[2026-09-04 16:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 16:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860822784001,"66":24897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860822784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:23:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860822784001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":170812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763542,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:23:55] local.INFO: GPS data processed {"connection_id":170812,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:23:55] local.INFO: Acknowledgment sent {"connection_id":170812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:24:04] local.INFO: TCP Data received {"connection_id":171110,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:24:04] local.INFO: Processing buffer {"connection_id":171110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:24:04] local.INFO: IMEI packet received {"connection_id":171110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":171110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:24:09] local.INFO: TCP Data received {"connection_id":171110,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:24:09] local.INFO: Processing buffer {"connection_id":171110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:24:09] local.INFO: IMEI packet received {"connection_id":171110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":171110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:24:10] local.INFO: TCP Data received {"connection_id":171110,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:24:10] local.INFO: Processing buffer {"connection_id":171110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:24:10] local.INFO: Packet analysis {"connection_id":171110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:24:10] local.INFO: Extracted packet for processing {"connection_id":171110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860835840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788519191000,"timestamp_ms":1788519191000,"timestamp_seconds":1788519191,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0d11d8"} 
[2026-09-04 16:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860835840001,"66":25973,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860835840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:24:10] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860835840001,"power":25973,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":171110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:24:10] local.INFO: GPS data processed {"connection_id":171110,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:24:10] local.INFO: Acknowledgment sent {"connection_id":171110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:24:12] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0d9e780100000000000000000000000000..."} 
[2026-09-04 16:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0d9e780100000000000000000000000000..."} 
[2026-09-04 16:24:12] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0d9e780100000000000000000000000000..."} 
[2026-09-04 16:24:12] local.INFO: Packet analysis {"connection_id":173513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:24:12] local.INFO: Extracted packet for processing {"connection_id":173513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:24:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 16:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128131561773072384,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,168,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 16:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788519227000,"timestamp_ms":1788519227000,"timestamp_seconds":1788519227,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0d9e78"} 
[2026-09-04 16:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 16:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":173513,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-04 16:24:12] local.INFO: GPS data processed {"connection_id":173513,"processed":0,"errors":0,"total":1} 
[2026-09-04 16:24:12] local.INFO: Acknowledgment sent {"connection_id":173513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:24:15] local.INFO: TCP Data received {"connection_id":171110,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:24:15] local.INFO: Processing buffer {"connection_id":171110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:24:15] local.INFO: Packet analysis {"connection_id":171110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:24:15] local.INFO: Extracted packet for processing {"connection_id":171110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:24:15] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860835840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788519191000,"timestamp_ms":1788519191000,"timestamp_seconds":1788519191,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0d11d8"} 
[2026-09-04 16:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860835840001,"66":25973,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860835840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:24:15] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:24:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860835840001,"power":25973,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":171110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:24:15] local.INFO: GPS data processed {"connection_id":171110,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:24:15] local.INFO: Acknowledgment sent {"connection_id":171110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:24:25] local.INFO: TCP Data received {"connection_id":171109,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0d7768012d1a5c00071fdb380036011c2b..."} 
[2026-09-04 16:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0d7768012d1a5c00071fdb380036011c2b..."} 
[2026-09-04 16:24:25] local.INFO: Processing buffer {"connection_id":171109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0d7768012d1a5c00071fdb380036011c2b..."} 
[2026-09-04 16:24:25] local.INFO: Packet analysis {"connection_id":171109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:24:25] local.INFO: Extracted packet for processing {"connection_id":171109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:24:25] local.INFO: GPS Element Parsed {"raw_longitude":756702208,"raw_latitude":119528248,"longitude_deg":75.6702208,"latitude_deg":11.9528248,"altitude":54,"angle":284,"satellites":43,"speed":28,"hex_longitude":"2d1a5c00","hex_latitude":"071fdb38","is_valid_coordinates":true} 
[2026-09-04 16:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860918784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17321753428623360,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901785710744754176,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788519217000,"timestamp_ms":1788519217000,"timestamp_seconds":1788519217,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0d7768"} 
[2026-09-04 16:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-04 16:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860918784001,"66":13961,"101":206,"83":41984,"24":28,"16":17321753428623360,"45":1901785710744754176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 16:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860918784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:24:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 16:24:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17321753428623360,"km_value":17321753428623.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901785710744754176,"description":"Unknown IO ID 45"} 
[2026-09-04 16:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860918784001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1901785710744754176}} 
[2026-09-04 16:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":171109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:24:26] local.INFO: GPS data processed {"connection_id":171109,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:24:26] local.INFO: Acknowledgment sent {"connection_id":171109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:24:28] local.INFO: TCP Data received {"connection_id":170812,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:24:28] local.INFO: Processing buffer {"connection_id":170812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:24:28] local.INFO: Packet analysis {"connection_id":170812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:24:28] local.INFO: Extracted packet for processing {"connection_id":170812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:24:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860822784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788519140000,"timestamp_ms":1788519140000,"timestamp_seconds":1788519140,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0c4aa0"} 
[2026-09-04 16:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 16:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860822784001,"66":24897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860822784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:24:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:24:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860822784001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":170812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763546,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:24:28] local.INFO: GPS data processed {"connection_id":170812,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:24:28] local.INFO: Acknowledgment sent {"connection_id":170812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:24:49] local.INFO: TCP Data received {"connection_id":170814,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:24:49] local.INFO: Processing buffer {"connection_id":170814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:24:49] local.INFO: IMEI packet received {"connection_id":170814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":170814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:24:49] local.INFO: TCP Data received {"connection_id":170813,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:24:49] local.INFO: Processing buffer {"connection_id":170813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:24:49] local.INFO: IMEI packet received {"connection_id":170813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":170813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:24:50] local.INFO: TCP Data received {"connection_id":170814,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:24:50] local.INFO: Processing buffer {"connection_id":170814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:24:50] local.INFO: IMEI packet received {"connection_id":170814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":170814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:24:52] local.INFO: TCP Data received {"connection_id":170814,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:24:52] local.INFO: Processing buffer {"connection_id":170814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:24:52] local.INFO: IMEI packet received {"connection_id":170814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":170814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:24:53] local.INFO: TCP Data received {"connection_id":170814,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:24:53] local.INFO: Processing buffer {"connection_id":170814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:24:53] local.INFO: IMEI packet received {"connection_id":170814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":170814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:24:58] local.INFO: TCP Data received {"connection_id":170813,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:24:58] local.INFO: Processing buffer {"connection_id":170813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:24:58] local.INFO: IMEI packet received {"connection_id":170813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":170813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:24:59] local.INFO: TCP Data received {"connection_id":172208,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:24:59] local.INFO: Processing buffer {"connection_id":172208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:24:59] local.INFO: IMEI packet received {"connection_id":172208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":172208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:24:59] local.INFO: TCP Data received {"connection_id":170813,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:24:59] local.INFO: Processing buffer {"connection_id":170813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:24:59] local.INFO: Packet analysis {"connection_id":170813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:24:59] local.INFO: Extracted packet for processing {"connection_id":170813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860822784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788519140000,"timestamp_ms":1788519140000,"timestamp_seconds":1788519140,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0c4aa0"} 
[2026-09-04 16:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 16:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860822784001,"66":24897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860822784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:24:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:24:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860822784001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":170813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:24:59] local.INFO: GPS data processed {"connection_id":170813,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:24:59] local.INFO: Acknowledgment sent {"connection_id":170813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:25:04] local.INFO: TCP Data received {"connection_id":172208,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:25:04] local.INFO: Processing buffer {"connection_id":172208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:25:04] local.INFO: IMEI packet received {"connection_id":172208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":172208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:25:05] local.INFO: TCP Data received {"connection_id":172208,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:25:05] local.INFO: Processing buffer {"connection_id":172208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:25:05] local.INFO: Packet analysis {"connection_id":172208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:25:05] local.INFO: Extracted packet for processing {"connection_id":172208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:25:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860835840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:25:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788519191000,"timestamp_ms":1788519191000,"timestamp_seconds":1788519191,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0d11d8"} 
[2026-09-04 16:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860835840001,"66":25973,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860835840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:25:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:25:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860835840001,"power":25973,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":172208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:25:05] local.INFO: GPS data processed {"connection_id":172208,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:25:05] local.INFO: Acknowledgment sent {"connection_id":172208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:25:31] local.INFO: TCP Data received {"connection_id":170813,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:25:31] local.INFO: Processing buffer {"connection_id":170813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:25:31] local.INFO: Packet analysis {"connection_id":170813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:25:31] local.INFO: Extracted packet for processing {"connection_id":170813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860822784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788519140000,"timestamp_ms":1788519140000,"timestamp_seconds":1788519140,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0c4aa0"} 
[2026-09-04 16:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 16:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":170813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":170813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":170813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860822784001,"66":24897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860822784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:25:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860822784001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":170813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763549,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:25:31] local.INFO: GPS data processed {"connection_id":170813,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:25:31] local.INFO: Acknowledgment sent {"connection_id":170813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:25:36] local.INFO: TCP Data received {"connection_id":172208,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:25:36] local.INFO: Processing buffer {"connection_id":172208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:25:36] local.INFO: Packet analysis {"connection_id":172208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:25:36] local.INFO: Extracted packet for processing {"connection_id":172208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:25:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860835840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:25:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788519191000,"timestamp_ms":1788519191000,"timestamp_seconds":1788519191,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0d11d8"} 
[2026-09-04 16:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860835840001,"66":25973,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860835840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:25:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:25:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860835840001,"power":25973,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":172208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:25:36] local.INFO: GPS data processed {"connection_id":172208,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:25:36] local.INFO: Acknowledgment sent {"connection_id":172208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:25:48] local.INFO: TCP Data received {"connection_id":170816,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:25:48] local.INFO: Processing buffer {"connection_id":170816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:25:48] local.INFO: IMEI packet received {"connection_id":170816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":170816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:25:54] local.INFO: TCP Data received {"connection_id":170816,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:25:54] local.INFO: Processing buffer {"connection_id":170816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:25:54] local.INFO: IMEI packet received {"connection_id":170816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":170816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:25:56] local.INFO: TCP Data received {"connection_id":170816,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:25:56] local.INFO: Processing buffer {"connection_id":170816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:25:56] local.INFO: Packet analysis {"connection_id":170816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:25:56] local.INFO: Extracted packet for processing {"connection_id":170816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:25:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860822784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788519140000,"timestamp_ms":1788519140000,"timestamp_seconds":1788519140,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0c4aa0"} 
[2026-09-04 16:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 16:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860822784001,"66":24897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860822784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:25:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:25:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860822784001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":170816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763551,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:25:56] local.INFO: GPS data processed {"connection_id":170816,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:25:56] local.INFO: Acknowledgment sent {"connection_id":170816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:25:59] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:25:59] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:25:59] local.INFO: IMEI packet received {"connection_id":173514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":173514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:26:04] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:26:04] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:26:04] local.INFO: IMEI packet received {"connection_id":173514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":173514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:26:05] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:26:05] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:26:05] local.INFO: Packet analysis {"connection_id":173514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:26:05] local.INFO: Extracted packet for processing {"connection_id":173514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:26:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860835840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:26:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788519191000,"timestamp_ms":1788519191000,"timestamp_seconds":1788519191,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0d11d8"} 
[2026-09-04 16:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860835840001,"66":25973,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860835840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:26:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:26:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860835840001,"power":25973,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":173514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:26:05] local.INFO: GPS data processed {"connection_id":173514,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:26:05] local.INFO: Acknowledgment sent {"connection_id":173514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:26:28] local.INFO: TCP Data received {"connection_id":170816,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:26:28] local.INFO: Processing buffer {"connection_id":170816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:26:28] local.INFO: Packet analysis {"connection_id":170816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:26:28] local.INFO: Extracted packet for processing {"connection_id":170816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:26:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860822784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788519140000,"timestamp_ms":1788519140000,"timestamp_seconds":1788519140,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0c4aa0"} 
[2026-09-04 16:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 16:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860822784001,"66":24897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860822784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:26:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:26:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860822784001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":170816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:26:28] local.INFO: GPS data processed {"connection_id":170816,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:26:28] local.INFO: Acknowledgment sent {"connection_id":170816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:26:36] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:26:36] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:26:36] local.INFO: Packet analysis {"connection_id":173514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:26:36] local.INFO: Extracted packet for processing {"connection_id":173514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:26:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860835840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:26:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788519191000,"timestamp_ms":1788519191000,"timestamp_seconds":1788519191,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0d11d8"} 
[2026-09-04 16:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860835840001,"66":25973,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860835840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:26:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:26:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860835840001,"power":25973,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":173514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:26:36] local.INFO: GPS data processed {"connection_id":173514,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:26:36] local.INFO: Acknowledgment sent {"connection_id":173514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:26:48] local.INFO: TCP Data received {"connection_id":171112,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:26:48] local.INFO: Processing buffer {"connection_id":171112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:26:48] local.INFO: IMEI packet received {"connection_id":171112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":171112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:26:54] local.INFO: TCP Data received {"connection_id":171112,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:26:54] local.INFO: Processing buffer {"connection_id":171112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:26:54] local.INFO: IMEI packet received {"connection_id":171112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":171112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:26:55] local.INFO: TCP Data received {"connection_id":171112,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:26:55] local.INFO: Processing buffer {"connection_id":171112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:26:55] local.INFO: Packet analysis {"connection_id":171112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:26:55] local.INFO: Extracted packet for processing {"connection_id":171112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:26:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860822784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788519140000,"timestamp_ms":1788519140000,"timestamp_seconds":1788519140,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0c4aa0"} 
[2026-09-04 16:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 16:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860822784001,"66":24897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860822784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:26:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:26:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860822784001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":171112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763555,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:26:55] local.INFO: GPS data processed {"connection_id":171112,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:26:55] local.INFO: Acknowledgment sent {"connection_id":171112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:26:59] local.INFO: TCP Data received {"connection_id":170817,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:26:59] local.INFO: Processing buffer {"connection_id":170817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:26:59] local.INFO: IMEI packet received {"connection_id":170817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":170817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:27:04] local.INFO: TCP Data received {"connection_id":170817,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:27:04] local.INFO: Processing buffer {"connection_id":170817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:27:04] local.INFO: IMEI packet received {"connection_id":170817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":170817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:27:05] local.INFO: TCP Data received {"connection_id":170817,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:27:05] local.INFO: Processing buffer {"connection_id":170817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:27:05] local.INFO: Packet analysis {"connection_id":170817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:27:05] local.INFO: Extracted packet for processing {"connection_id":170817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:27:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860835840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:27:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788519191000,"timestamp_ms":1788519191000,"timestamp_seconds":1788519191,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0d11d8"} 
[2026-09-04 16:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860835840001,"66":25973,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860835840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:27:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:27:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860835840001,"power":25973,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":170817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:27:05] local.INFO: GPS data processed {"connection_id":170817,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:27:05] local.INFO: Acknowledgment sent {"connection_id":170817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:27:27] local.INFO: TCP Data received {"connection_id":171112,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:27:27] local.INFO: Processing buffer {"connection_id":171112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0c4aa0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:27:27] local.INFO: Packet analysis {"connection_id":171112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:27:27] local.INFO: Extracted packet for processing {"connection_id":171112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0c"} 
[2026-09-04 16:27:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860822784001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788519140000,"timestamp_ms":1788519140000,"timestamp_seconds":1788519140,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0c4aa0"} 
[2026-09-04 16:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 16:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860822784001,"66":24897,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860822784001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:27:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:27:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860822784001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":171112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:27:27] local.INFO: GPS data processed {"connection_id":171112,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:27:27] local.INFO: Acknowledgment sent {"connection_id":171112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:27:36] local.INFO: TCP Data received {"connection_id":170817,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:27:36] local.INFO: Processing buffer {"connection_id":170817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:27:36] local.INFO: Packet analysis {"connection_id":170817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:27:36] local.INFO: Extracted packet for processing {"connection_id":170817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:27:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860835840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:27:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788519191000,"timestamp_ms":1788519191000,"timestamp_seconds":1788519191,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0d11d8"} 
[2026-09-04 16:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860835840001,"66":25973,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860835840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:27:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:27:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860835840001,"power":25973,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":170817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:27:36] local.INFO: GPS data processed {"connection_id":170817,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:27:36] local.INFO: Acknowledgment sent {"connection_id":170817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:27:54] local.INFO: TCP Data received {"connection_id":173515,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:27:54] local.INFO: Processing buffer {"connection_id":173515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:27:54] local.INFO: IMEI packet received {"connection_id":173515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":173515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:27:59] local.INFO: TCP Data received {"connection_id":172210,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:27:59] local.INFO: Processing buffer {"connection_id":172210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:27:59] local.INFO: IMEI packet received {"connection_id":172210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":172210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:27:59] local.INFO: TCP Data received {"connection_id":173515,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:27:59] local.INFO: Processing buffer {"connection_id":173515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:27:59] local.INFO: IMEI packet received {"connection_id":173515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":173515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:28:00] local.INFO: TCP Data received {"connection_id":173515,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:28:00] local.INFO: Processing buffer {"connection_id":173515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:28:00] local.INFO: Packet analysis {"connection_id":173515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:28:00] local.INFO: Extracted packet for processing {"connection_id":173515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:28:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860899840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788519441000,"timestamp_ms":1788519441000,"timestamp_seconds":1788519441,"priority":1,"record_length":96,"hex_timestamp":"000001a06c10e268"} 
[2026-09-04 16:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 16:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860899840001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860899840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:28:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:28:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860899840001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":173515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763559,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:28:00] local.INFO: GPS data processed {"connection_id":173515,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:28:00] local.INFO: Acknowledgment sent {"connection_id":173515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:28:01] local.INFO: TCP Data received {"connection_id":173515,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:28:01] local.INFO: Processing buffer {"connection_id":173515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:28:01] local.INFO: Packet analysis {"connection_id":173515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:28:01] local.INFO: Extracted packet for processing {"connection_id":173515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:28:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860899840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788519441000,"timestamp_ms":1788519441000,"timestamp_seconds":1788519441,"priority":1,"record_length":96,"hex_timestamp":"000001a06c10e268"} 
[2026-09-04 16:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 16:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860899840001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860899840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:28:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:28:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860899840001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":173515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763560,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:28:01] local.INFO: GPS data processed {"connection_id":173515,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:28:01] local.INFO: Acknowledgment sent {"connection_id":173515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:28:04] local.INFO: TCP Data received {"connection_id":172210,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:28:04] local.INFO: Processing buffer {"connection_id":172210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:28:04] local.INFO: IMEI packet received {"connection_id":172210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":172210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:28:05] local.INFO: TCP Data received {"connection_id":172210,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:28:05] local.INFO: Processing buffer {"connection_id":172210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:28:05] local.INFO: Packet analysis {"connection_id":172210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:28:05] local.INFO: Extracted packet for processing {"connection_id":172210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:28:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860835840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788519191000,"timestamp_ms":1788519191000,"timestamp_seconds":1788519191,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0d11d8"} 
[2026-09-04 16:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860835840001,"66":25973,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860835840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:28:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:28:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:28:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860835840001,"power":25973,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":172210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:28:05] local.INFO: GPS data processed {"connection_id":172210,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:28:05] local.INFO: Acknowledgment sent {"connection_id":172210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:28:33] local.INFO: TCP Data received {"connection_id":173515,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:28:33] local.INFO: Processing buffer {"connection_id":173515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:28:33] local.INFO: Packet analysis {"connection_id":173515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:28:33] local.INFO: Extracted packet for processing {"connection_id":173515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:28:33] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860899840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788519441000,"timestamp_ms":1788519441000,"timestamp_seconds":1788519441,"priority":1,"record_length":96,"hex_timestamp":"000001a06c10e268"} 
[2026-09-04 16:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 16:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860899840001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860899840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:28:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:28:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860899840001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":173515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:28:33] local.INFO: GPS data processed {"connection_id":173515,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:28:33] local.INFO: Acknowledgment sent {"connection_id":173515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:28:36] local.INFO: TCP Data received {"connection_id":172210,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:28:36] local.INFO: Processing buffer {"connection_id":172210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c0d11d8012cb2a10007823b700047002b2a..."} 
[2026-09-04 16:28:36] local.INFO: Packet analysis {"connection_id":172210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:28:36] local.INFO: Extracted packet for processing {"connection_id":172210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c0d"} 
[2026-09-04 16:28:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":42,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860835840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788519191000,"timestamp_ms":1788519191000,"timestamp_seconds":1788519191,"priority":1,"record_length":96,"hex_timestamp":"000001a06c0d11d8"} 
[2026-09-04 16:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 16:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860835840001,"66":25973,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860835840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:28:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:28:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860835840001,"power":25973,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":172210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:28:36] local.INFO: GPS data processed {"connection_id":172210,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:28:36] local.INFO: Acknowledgment sent {"connection_id":172210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:28:48] local.INFO: TCP Data received {"connection_id":172212,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:28:48] local.INFO: Processing buffer {"connection_id":172212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:28:48] local.INFO: IMEI packet received {"connection_id":172212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":172212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:28:54] local.INFO: TCP Data received {"connection_id":172212,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:28:54] local.INFO: Processing buffer {"connection_id":172212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:28:54] local.INFO: IMEI packet received {"connection_id":172212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":172212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:28:55] local.INFO: TCP Data received {"connection_id":172212,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:28:55] local.INFO: Processing buffer {"connection_id":172212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:28:55] local.INFO: Packet analysis {"connection_id":172212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:28:55] local.INFO: Extracted packet for processing {"connection_id":172212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:28:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860899840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788519441000,"timestamp_ms":1788519441000,"timestamp_seconds":1788519441,"priority":1,"record_length":96,"hex_timestamp":"000001a06c10e268"} 
[2026-09-04 16:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 16:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860899840001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860899840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:28:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:28:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860899840001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":172212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763564,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:28:55] local.INFO: GPS data processed {"connection_id":172212,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:28:55] local.INFO: Acknowledgment sent {"connection_id":172212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:28:56] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:28:56] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:28:56] local.INFO: IMEI packet received {"connection_id":173516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 16:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":173516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:28:57] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:28:57] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:28:57] local.INFO: IMEI packet received {"connection_id":173516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":173516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:29:01] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:29:01] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:29:01] local.INFO: IMEI packet received {"connection_id":173516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":173516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:29:02] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.41","data_length":717,"data_hex":"00000000000002c18e09000000000000b7980100000000000000000000000000..."} 
[2026-09-04 16:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":717,"packet_hex":"00000000000002c18e09000000000000b7980100000000000000000000000000..."} 
[2026-09-04 16:29:02] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":717,"buffer_hex":"00000000000002c18e09000000000000b7980100000000000000000000000000..."} 
[2026-09-04 16:29:02] local.INFO: Packet analysis {"connection_id":173516,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e09000000000000"} 
[2026-09-04 16:29:02] local.INFO: Extracted packet for processing {"connection_id":173516,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e09000000000000"} 
[2026-09-04 16:29:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 16:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":717,"current_offset":40} 
[2026-09-04 16:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128131561773072384,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,185,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 16:29:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:29:02] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":9,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:29:02] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 16:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173516,"avl_records_parsed":0,"avl_records_expected":9,"crc_valid":false} 
[2026-09-04 16:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 16:29:02] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 16:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":173516,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 16:29:02] local.ERROR: GPS data processing failed {"connection_id":173516,"error":"No valid data to process"} 
[2026-09-04 16:29:02] local.INFO: Acknowledgment sent {"connection_id":173516,"records_acknowledged":0,"records_expected":9,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 16:29:04] local.INFO: TCP Data received {"connection_id":171113,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:29:04] local.INFO: Processing buffer {"connection_id":171113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:29:04] local.INFO: IMEI packet received {"connection_id":171113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":171113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:29:09] local.INFO: TCP Data received {"connection_id":171113,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:29:09] local.INFO: Processing buffer {"connection_id":171113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:29:09] local.INFO: IMEI packet received {"connection_id":171113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":171113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:29:10] local.INFO: TCP Data received {"connection_id":171113,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:29:10] local.INFO: Processing buffer {"connection_id":171113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:29:10] local.INFO: Packet analysis {"connection_id":171113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:29:10] local.INFO: Extracted packet for processing {"connection_id":171113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860912896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788519492000,"timestamp_ms":1788519492000,"timestamp_seconds":1788519492,"priority":1,"record_length":96,"hex_timestamp":"000001a06c11a9a0"} 
[2026-09-04 16:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 16:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860912896001,"66":25897,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860912896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:29:10] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860912896001,"power":25897,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":171113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:29:10] local.INFO: GPS data processed {"connection_id":171113,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:29:10] local.INFO: Acknowledgment sent {"connection_id":171113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:29:14] local.INFO: TCP Data received {"connection_id":171113,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:29:14] local.INFO: Processing buffer {"connection_id":171113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:29:14] local.INFO: Packet analysis {"connection_id":171113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:29:14] local.INFO: Extracted packet for processing {"connection_id":171113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:29:14] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860912896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788519492000,"timestamp_ms":1788519492000,"timestamp_seconds":1788519492,"priority":1,"record_length":96,"hex_timestamp":"000001a06c11a9a0"} 
[2026-09-04 16:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 16:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860912896001,"66":25897,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860912896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:29:14] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:29:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860912896001,"power":25897,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":171113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:29:14] local.INFO: GPS data processed {"connection_id":171113,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:29:14] local.INFO: Acknowledgment sent {"connection_id":171113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:29:28] local.INFO: TCP Data received {"connection_id":172212,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:29:28] local.INFO: Processing buffer {"connection_id":172212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:29:28] local.INFO: Packet analysis {"connection_id":172212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:29:28] local.INFO: Extracted packet for processing {"connection_id":172212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:29:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860899840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788519441000,"timestamp_ms":1788519441000,"timestamp_seconds":1788519441,"priority":1,"record_length":96,"hex_timestamp":"000001a06c10e268"} 
[2026-09-04 16:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 16:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860899840001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860899840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:29:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:29:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860899840001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":172212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763567,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:29:28] local.INFO: GPS data processed {"connection_id":172212,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:29:28] local.INFO: Acknowledgment sent {"connection_id":172212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:29:32] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.41","data_length":93,"data_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-09-04 16:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":93,"packet_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-09-04 16:29:32] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":93,"buffer_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-09-04 16:29:32] local.INFO: Packet analysis {"connection_id":173516,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-09-04 16:29:32] local.INFO: Extracted packet for processing {"connection_id":173516,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-09-04 16:29:32] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 16:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 16:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:29:32] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:29:32] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 16:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173516,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 16:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 16:29:32] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 16:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":173516,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 16:29:32] local.ERROR: GPS data processing failed {"connection_id":173516,"error":"No valid data to process"} 
[2026-09-04 16:29:32] local.INFO: Acknowledgment sent {"connection_id":173516,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 16:29:48] local.INFO: TCP Data received {"connection_id":170819,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:29:48] local.INFO: Processing buffer {"connection_id":170819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:29:48] local.INFO: IMEI packet received {"connection_id":170819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":170819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:29:54] local.INFO: TCP Data received {"connection_id":170819,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:29:54] local.INFO: Processing buffer {"connection_id":170819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:29:54] local.INFO: IMEI packet received {"connection_id":170819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":170819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:29:55] local.INFO: TCP Data received {"connection_id":170819,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:29:55] local.INFO: Processing buffer {"connection_id":170819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:29:55] local.INFO: Packet analysis {"connection_id":170819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:29:55] local.INFO: Extracted packet for processing {"connection_id":170819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:29:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860899840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788519441000,"timestamp_ms":1788519441000,"timestamp_seconds":1788519441,"priority":1,"record_length":96,"hex_timestamp":"000001a06c10e268"} 
[2026-09-04 16:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 16:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860899840001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860899840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:29:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:29:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860899840001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":170819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763568,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:29:55] local.INFO: GPS data processed {"connection_id":170819,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:29:55] local.INFO: Acknowledgment sent {"connection_id":170819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:29:58] local.INFO: TCP Data received {"connection_id":170818,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:29:58] local.INFO: Processing buffer {"connection_id":170818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:29:58] local.INFO: IMEI packet received {"connection_id":170818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":170818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:29:59] local.INFO: TCP Data received {"connection_id":170818,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c125d50012d181dc00721aaa0004e00162b..."} 
[2026-09-04 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c125d50012d181dc00721aaa0004e00162b..."} 
[2026-09-04 16:29:59] local.INFO: Processing buffer {"connection_id":170818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c125d50012d181dc00721aaa0004e00162b..."} 
[2026-09-04 16:29:59] local.INFO: Packet analysis {"connection_id":170818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c12"} 
[2026-09-04 16:29:59] local.INFO: Extracted packet for processing {"connection_id":170818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c12"} 
[2026-09-04 16:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646880,"longitude_deg":75.65552,"latitude_deg":11.964688,"altitude":78,"angle":22,"satellites":43,"speed":14,"hex_longitude":"2d181dc0","hex_latitude":"0721aaa0","is_valid_coordinates":true} 
[2026-09-04 16:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861001472001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332340523008000,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608578560,"note":"Value kept but may cause issues"} 
[2026-09-04 16:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788519538000,"timestamp_ms":1788519538000,"timestamp_seconds":1788519538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c125d50"} 
[2026-09-04 16:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-04 16:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861001472001,"66":13156,"105":206,"83":41984,"24":14,"16":17332340523008000,"45":1737615430608578560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861001472001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:29:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332340523008000,"km_value":17332340523008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608578560,"description":"Unknown IO ID 45"} 
[2026-09-04 16:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861001472001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737615430608578560}} 
[2026-09-04 16:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":170818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:29:59] local.INFO: GPS data processed {"connection_id":170818,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:29:59] local.INFO: Acknowledgment sent {"connection_id":170818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:29:59] local.INFO: TCP Data received {"connection_id":171114,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:29:59] local.INFO: Processing buffer {"connection_id":171114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:29:59] local.INFO: IMEI packet received {"connection_id":171114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":171114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:30:03] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.41","data_length":93,"data_hex":"00000000000000518e01000001a06c12f5a80100000000000000000000000000..."} 
[2026-09-04 16:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":93,"packet_hex":"00000000000000518e01000001a06c12f5a80100000000000000000000000000..."} 
[2026-09-04 16:30:03] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06c12f5a80100000000000000000000000000..."} 
[2026-09-04 16:30:03] local.INFO: Packet analysis {"connection_id":173516,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06c12"} 
[2026-09-04 16:30:03] local.INFO: Extracted packet for processing {"connection_id":173516,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06c12"} 
[2026-09-04 16:30:03] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 16:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 16:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:30:03] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:30:03] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 16:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173516,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 16:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 16:30:03] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 16:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":173516,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 16:30:03] local.ERROR: GPS data processing failed {"connection_id":173516,"error":"No valid data to process"} 
[2026-09-04 16:30:03] local.INFO: Acknowledgment sent {"connection_id":173516,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 16:30:04] local.INFO: TCP Data received {"connection_id":171114,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:30:04] local.INFO: Processing buffer {"connection_id":171114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:30:04] local.INFO: IMEI packet received {"connection_id":171114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":171114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:30:05] local.INFO: TCP Data received {"connection_id":171114,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:30:05] local.INFO: Processing buffer {"connection_id":171114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:30:05] local.INFO: Packet analysis {"connection_id":171114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:30:05] local.INFO: Extracted packet for processing {"connection_id":171114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860912896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788519492000,"timestamp_ms":1788519492000,"timestamp_seconds":1788519492,"priority":1,"record_length":96,"hex_timestamp":"000001a06c11a9a0"} 
[2026-09-04 16:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 16:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860912896001,"66":25897,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860912896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:30:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860912896001,"power":25897,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":171114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:30:05] local.INFO: GPS data processed {"connection_id":171114,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:30:05] local.INFO: Acknowledgment sent {"connection_id":171114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:30:28] local.INFO: TCP Data received {"connection_id":170819,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:30:28] local.INFO: Processing buffer {"connection_id":170819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:30:28] local.INFO: Packet analysis {"connection_id":170819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:30:28] local.INFO: Extracted packet for processing {"connection_id":170819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:30:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860899840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788519441000,"timestamp_ms":1788519441000,"timestamp_seconds":1788519441,"priority":1,"record_length":96,"hex_timestamp":"000001a06c10e268"} 
[2026-09-04 16:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 16:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860899840001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860899840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:30:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:30:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860899840001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":170819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763571,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:30:28] local.INFO: GPS data processed {"connection_id":170819,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:30:28] local.INFO: Acknowledgment sent {"connection_id":170819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:30:30] local.INFO: TCP Data received {"connection_id":170818,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c126520012d181f400721ad48004e00212b..."} 
[2026-09-04 16:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c126520012d181f400721ad48004e00212b..."} 
[2026-09-04 16:30:30] local.INFO: Processing buffer {"connection_id":170818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c126520012d181f400721ad48004e00212b..."} 
[2026-09-04 16:30:30] local.INFO: Packet analysis {"connection_id":170818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c12"} 
[2026-09-04 16:30:30] local.INFO: Extracted packet for processing {"connection_id":170818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c12"} 
[2026-09-04 16:30:30] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119647560,"longitude_deg":75.6555584,"latitude_deg":11.964756,"altitude":78,"angle":33,"satellites":43,"speed":18,"hex_longitude":"2d181f40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-09-04 16:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861001728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332379177713664,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097013760,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788519540000,"timestamp_ms":1788519540000,"timestamp_seconds":1788519540,"priority":1,"record_length":96,"hex_timestamp":"000001a06c126520"} 
[2026-09-04 16:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-04 16:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861001728001,"66":13222,"105":206,"83":41984,"24":18,"16":17332379177713664,"45":1737756168097013760},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861001728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:30:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:30:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332379177713664,"km_value":17332379177713.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097013760,"description":"Unknown IO ID 45"} 
[2026-09-04 16:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861001728001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1737756168097013760}} 
[2026-09-04 16:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":170818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:30:30] local.INFO: GPS data processed {"connection_id":170818,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:30:30] local.INFO: Acknowledgment sent {"connection_id":170818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:30:34] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.41","data_length":93,"data_hex":"00000000000000518e01000001a06c1347b00100000000000000000000000000..."} 
[2026-09-04 16:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":93,"packet_hex":"00000000000000518e01000001a06c1347b00100000000000000000000000000..."} 
[2026-09-04 16:30:34] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06c1347b00100000000000000000000000000..."} 
[2026-09-04 16:30:34] local.INFO: Packet analysis {"connection_id":173516,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06c13"} 
[2026-09-04 16:30:34] local.INFO: Extracted packet for processing {"connection_id":173516,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06c13"} 
[2026-09-04 16:30:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 16:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 16:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:30:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:30:34] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 16:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173516,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 16:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 16:30:34] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 16:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":173516,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 16:30:34] local.ERROR: GPS data processing failed {"connection_id":173516,"error":"No valid data to process"} 
[2026-09-04 16:30:34] local.INFO: Acknowledgment sent {"connection_id":173516,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 16:30:36] local.INFO: TCP Data received {"connection_id":171114,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:30:36] local.INFO: Processing buffer {"connection_id":171114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:30:36] local.INFO: Packet analysis {"connection_id":171114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:30:36] local.INFO: Extracted packet for processing {"connection_id":171114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860912896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788519492000,"timestamp_ms":1788519492000,"timestamp_seconds":1788519492,"priority":1,"record_length":96,"hex_timestamp":"000001a06c11a9a0"} 
[2026-09-04 16:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 16:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860912896001,"66":25897,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860912896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:30:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:30:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:30:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860912896001,"power":25897,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":171114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:30:36] local.INFO: GPS data processed {"connection_id":171114,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:30:36] local.INFO: Acknowledgment sent {"connection_id":171114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:30:48] local.INFO: TCP Data received {"connection_id":170820,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:30:48] local.INFO: Processing buffer {"connection_id":170820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:30:48] local.INFO: IMEI packet received {"connection_id":170820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":170820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:30:50] local.INFO: TCP Data received {"connection_id":170820,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:30:50] local.INFO: Processing buffer {"connection_id":170820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:30:50] local.INFO: IMEI packet received {"connection_id":170820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":170820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:30:53] local.INFO: TCP Data received {"connection_id":170820,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:30:53] local.INFO: Processing buffer {"connection_id":170820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:30:53] local.INFO: IMEI packet received {"connection_id":170820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":170820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:30:54] local.INFO: TCP Data received {"connection_id":170820,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c128078012d1825800721b6e8004e00062d..."} 
[2026-09-04 16:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c128078012d1825800721b6e8004e00062d..."} 
[2026-09-04 16:30:54] local.INFO: Processing buffer {"connection_id":170820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c128078012d1825800721b6e8004e00062d..."} 
[2026-09-04 16:30:54] local.INFO: Packet analysis {"connection_id":170820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c12"} 
[2026-09-04 16:30:54] local.INFO: Extracted packet for processing {"connection_id":170820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c12"} 
[2026-09-04 16:30:54] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650024,"longitude_deg":75.6557184,"latitude_deg":11.9650024,"altitude":78,"angle":6,"satellites":45,"speed":11,"hex_longitude":"2d182580","hex_latitude":"0721b6e8","is_valid_coordinates":true} 
[2026-09-04 16:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861002240001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332520911634432,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562253824,"note":"Value kept but may cause issues"} 
[2026-09-04 16:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788519547000,"timestamp_ms":1788519547000,"timestamp_seconds":1788519547,"priority":1,"record_length":96,"hex_timestamp":"000001a06c128078"} 
[2026-09-04 16:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 16:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861002240001,"66":13156,"105":206,"83":41984,"24":11,"16":17332520911634432,"45":1738178380562253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861002240001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:30:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:30:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332520911634432,"km_value":17332520911634.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562253824,"description":"Unknown IO ID 45"} 
[2026-09-04 16:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861002240001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1738178380562253824}} 
[2026-09-04 16:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":170820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:30:54] local.INFO: GPS data processed {"connection_id":170820,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:30:54] local.INFO: Acknowledgment sent {"connection_id":170820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:30:54] local.INFO: TCP Data received {"connection_id":170821,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:30:54] local.INFO: Processing buffer {"connection_id":170821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:30:54] local.INFO: IMEI packet received {"connection_id":170821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":170821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:30:59] local.INFO: TCP Data received {"connection_id":172213,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:30:59] local.INFO: Processing buffer {"connection_id":172213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:30:59] local.INFO: IMEI packet received {"connection_id":172213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":172213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:30:59] local.INFO: TCP Data received {"connection_id":170821,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:30:59] local.INFO: Processing buffer {"connection_id":170821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:30:59] local.INFO: IMEI packet received {"connection_id":170821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":170821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:31:00] local.INFO: TCP Data received {"connection_id":170821,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:31:00] local.INFO: Processing buffer {"connection_id":170821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:31:00] local.INFO: Packet analysis {"connection_id":170821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:31:00] local.INFO: Extracted packet for processing {"connection_id":170821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:31:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860899840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788519441000,"timestamp_ms":1788519441000,"timestamp_seconds":1788519441,"priority":1,"record_length":96,"hex_timestamp":"000001a06c10e268"} 
[2026-09-04 16:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 16:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860899840001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860899840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:31:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860899840001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":170821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763575,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:31:00] local.INFO: GPS data processed {"connection_id":170821,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:31:00] local.INFO: Acknowledgment sent {"connection_id":170821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:31:04] local.INFO: TCP Data received {"connection_id":172213,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:31:04] local.INFO: Processing buffer {"connection_id":172213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:31:04] local.INFO: IMEI packet received {"connection_id":172213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":172213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:31:04] local.INFO: TCP Data received {"connection_id":170821,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:31:04] local.INFO: Processing buffer {"connection_id":170821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:31:04] local.INFO: Packet analysis {"connection_id":170821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:31:04] local.INFO: Extracted packet for processing {"connection_id":170821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860899840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788519441000,"timestamp_ms":1788519441000,"timestamp_seconds":1788519441,"priority":1,"record_length":96,"hex_timestamp":"000001a06c10e268"} 
[2026-09-04 16:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 16:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860899840001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860899840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:31:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:31:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860899840001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:31:05] local.INFO: TCP Data received {"connection_id":172213,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:31:05] local.INFO: Processing buffer {"connection_id":172213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:31:05] local.INFO: Packet analysis {"connection_id":172213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:31:05] local.INFO: Extracted packet for processing {"connection_id":172213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:31:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860912896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788519492000,"timestamp_ms":1788519492000,"timestamp_seconds":1788519492,"priority":1,"record_length":96,"hex_timestamp":"000001a06c11a9a0"} 
[2026-09-04 16:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 16:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860912896001,"66":25897,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860912896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:31:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:31:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:31:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860912896001,"power":25897,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":170821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:31:05] local.INFO: GPS data processed {"connection_id":170821,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:31:05] local.INFO: Acknowledgment sent {"connection_id":170821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":172213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:31:05] local.INFO: GPS data processed {"connection_id":172213,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:31:05] local.INFO: Acknowledgment sent {"connection_id":172213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:31:06] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.41","data_length":93,"data_hex":"00000000000000518e01000001a06c1399b80100000000000000000000000000..."} 
[2026-09-04 16:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":93,"packet_hex":"00000000000000518e01000001a06c1399b80100000000000000000000000000..."} 
[2026-09-04 16:31:06] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06c1399b80100000000000000000000000000..."} 
[2026-09-04 16:31:06] local.INFO: Packet analysis {"connection_id":173516,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06c13"} 
[2026-09-04 16:31:06] local.INFO: Extracted packet for processing {"connection_id":173516,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06c13"} 
[2026-09-04 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 16:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:31:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:31:06] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 16:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173516,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 16:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 16:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 16:31:06] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 16:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":173516,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 16:31:06] local.ERROR: GPS data processing failed {"connection_id":173516,"error":"No valid data to process"} 
[2026-09-04 16:31:06] local.INFO: Acknowledgment sent {"connection_id":173516,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 16:31:25] local.INFO: TCP Data received {"connection_id":170820,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c128460012d1825000721b7e0004f01542d..."} 
[2026-09-04 16:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c128460012d1825000721b7e0004f01542d..."} 
[2026-09-04 16:31:25] local.INFO: Processing buffer {"connection_id":170820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c128460012d1825000721b7e0004f01542d..."} 
[2026-09-04 16:31:25] local.INFO: Packet analysis {"connection_id":170820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c12"} 
[2026-09-04 16:31:25] local.INFO: Extracted packet for processing {"connection_id":170820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c12"} 
[2026-09-04 16:31:25] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650272,"longitude_deg":75.6557056,"latitude_deg":11.9650272,"altitude":79,"angle":340,"satellites":45,"speed":8,"hex_longitude":"2d182500","hex_latitude":"0721b7e0","is_valid_coordinates":true} 
[2026-09-04 16:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861004032001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332533796536320,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167326208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788519548000,"timestamp_ms":1788519548000,"timestamp_seconds":1788519548,"priority":1,"record_length":96,"hex_timestamp":"000001a06c128460"} 
[2026-09-04 16:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-04 16:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861004032001,"66":13156,"105":206,"83":41984,"24":8,"16":17332533796536320,"45":1739937599167326208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861004032001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:31:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:31:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332533796536320,"km_value":17332533796536.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167326208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861004032001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739937599167326208}} 
[2026-09-04 16:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":170820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:31:25] local.INFO: GPS data processed {"connection_id":170820,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:31:25] local.INFO: Acknowledgment sent {"connection_id":170820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:31:36] local.INFO: TCP Data received {"connection_id":172213,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:31:36] local.INFO: Processing buffer {"connection_id":172213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:31:36] local.INFO: Packet analysis {"connection_id":172213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:31:36] local.INFO: Extracted packet for processing {"connection_id":172213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:31:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860912896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788519492000,"timestamp_ms":1788519492000,"timestamp_seconds":1788519492,"priority":1,"record_length":96,"hex_timestamp":"000001a06c11a9a0"} 
[2026-09-04 16:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 16:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860912896001,"66":25897,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860912896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:31:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:31:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:31:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860912896001,"power":25897,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":172213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:31:36] local.INFO: GPS data processed {"connection_id":172213,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:31:36] local.INFO: Acknowledgment sent {"connection_id":172213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:31:37] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.41","data_length":171,"data_hex":"000000000000009f8e02000001a06c13ebc00100000000000000000000000000..."} 
[2026-09-04 16:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":171,"packet_hex":"000000000000009f8e02000001a06c13ebc00100000000000000000000000000..."} 
[2026-09-04 16:31:37] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":171,"buffer_hex":"000000000000009f8e02000001a06c13ebc00100000000000000000000000000..."} 
[2026-09-04 16:31:37] local.INFO: Packet analysis {"connection_id":173516,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e02000001a06c13"} 
[2026-09-04 16:31:37] local.INFO: Extracted packet for processing {"connection_id":173516,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e02000001a06c13"} 
[2026-09-04 16:31:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 16:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-09-04 16:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128131561773072384,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 16:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788519640000,"timestamp_ms":1788519640000,"timestamp_seconds":1788519640,"priority":1,"record_length":96,"hex_timestamp":"000001a06c13ebc0"} 
[2026-09-04 16:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":171,"current_offset":136} 
[2026-09-04 16:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:31:37] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173516,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-09-04 16:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":173516,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-04 16:31:37] local.INFO: GPS data processed {"connection_id":173516,"processed":0,"errors":0,"total":1} 
[2026-09-04 16:31:37] local.INFO: Acknowledgment sent {"connection_id":173516,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:31:48] local.INFO: TCP Data received {"connection_id":170822,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:31:48] local.INFO: Processing buffer {"connection_id":170822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:31:48] local.INFO: IMEI packet received {"connection_id":170822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":170822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:31:53] local.INFO: TCP Data received {"connection_id":170823,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:31:53] local.INFO: Processing buffer {"connection_id":170823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:31:53] local.INFO: IMEI packet received {"connection_id":170823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":170823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:31:53] local.INFO: TCP Data received {"connection_id":170823,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:31:53] local.INFO: Processing buffer {"connection_id":170823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:31:53] local.INFO: IMEI packet received {"connection_id":170823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":170823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:31:54] local.INFO: TCP Data received {"connection_id":170822,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:31:54] local.INFO: Processing buffer {"connection_id":170822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:31:54] local.INFO: IMEI packet received {"connection_id":170822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":170822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:31:55] local.INFO: TCP Data received {"connection_id":170822,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:31:55] local.INFO: Processing buffer {"connection_id":170822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:31:55] local.INFO: Packet analysis {"connection_id":170822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:31:55] local.INFO: Extracted packet for processing {"connection_id":170822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860899840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788519441000,"timestamp_ms":1788519441000,"timestamp_seconds":1788519441,"priority":1,"record_length":96,"hex_timestamp":"000001a06c10e268"} 
[2026-09-04 16:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 16:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860899840001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860899840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:31:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860899840001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":170822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:31:55] local.INFO: GPS data processed {"connection_id":170822,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:31:55] local.INFO: Acknowledgment sent {"connection_id":170822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:31:58] local.INFO: TCP Data received {"connection_id":170823,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:31:58] local.INFO: Processing buffer {"connection_id":170823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:31:58] local.INFO: IMEI packet received {"connection_id":170823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":170823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:31:59] local.INFO: TCP Data received {"connection_id":170823,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c128848012d1824c00721b868004e01372d..."} 
[2026-09-04 16:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c128848012d1824c00721b868004e01372d..."} 
[2026-09-04 16:31:59] local.INFO: Processing buffer {"connection_id":170823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c128848012d1824c00721b868004e01372d..."} 
[2026-09-04 16:31:59] local.INFO: Packet analysis {"connection_id":170823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c12"} 
[2026-09-04 16:31:59] local.INFO: Extracted packet for processing {"connection_id":170823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c12"} 
[2026-09-04 16:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650408,"longitude_deg":75.6556992,"latitude_deg":11.9650408,"altitude":78,"angle":311,"satellites":45,"speed":5,"hex_longitude":"2d1824c0","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-09-04 16:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861004288001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332542386470912,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679034368,"note":"Value kept but may cause issues"} 
[2026-09-04 16:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788519549000,"timestamp_ms":1788519549000,"timestamp_seconds":1788519549,"priority":1,"record_length":96,"hex_timestamp":"000001a06c128848"} 
[2026-09-04 16:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-04 16:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861004288001,"66":13135,"105":206,"83":41984,"24":5,"16":17332542386470912,"45":1739796861679034368},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861004288001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:31:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332542386470912,"km_value":17332542386470.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679034368,"description":"Unknown IO ID 45"} 
[2026-09-04 16:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861004288001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739796861679034368}} 
[2026-09-04 16:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":170823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:31:59] local.INFO: GPS data processed {"connection_id":170823,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:31:59] local.INFO: Acknowledgment sent {"connection_id":170823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:32:03] local.INFO: TCP Data received {"connection_id":170823,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c12da50012d1824c00721b930004d01372b..."} 
[2026-09-04 16:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c12da50012d1824c00721b930004d01372b..."} 
[2026-09-04 16:32:03] local.INFO: Processing buffer {"connection_id":170823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c12da50012d1824c00721b930004d01372b..."} 
[2026-09-04 16:32:03] local.INFO: Packet analysis {"connection_id":170823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c12"} 
[2026-09-04 16:32:03] local.INFO: Extracted packet for processing {"connection_id":170823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c12"} 
[2026-09-04 16:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861004544001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934891520,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788519570000,"timestamp_ms":1788519570000,"timestamp_seconds":1788519570,"priority":1,"record_length":96,"hex_timestamp":"000001a06c12da50"} 
[2026-09-04 16:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-04 16:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":170823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":170823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":170823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861004544001,"66":13156,"105":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934891520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861004544001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:32:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934891520,"description":"Unknown IO ID 45"} 
[2026-09-04 16:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861004544001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934891520}} 
[2026-09-04 16:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":170823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:32:03] local.INFO: GPS data processed {"connection_id":170823,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:32:03] local.INFO: Acknowledgment sent {"connection_id":170823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:32:04] local.INFO: TCP Data received {"connection_id":171115,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:32:04] local.INFO: Processing buffer {"connection_id":171115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:32:04] local.INFO: IMEI packet received {"connection_id":171115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":171115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:32:08] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.41","data_length":249,"data_hex":"00000000000000ed8e03000001a06c143dc80100000000000000000000000000..."} 
[2026-09-04 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":249,"packet_hex":"00000000000000ed8e03000001a06c143dc80100000000000000000000000000..."} 
[2026-09-04 16:32:08] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":249,"buffer_hex":"00000000000000ed8e03000001a06c143dc80100000000000000000000000000..."} 
[2026-09-04 16:32:08] local.INFO: Packet analysis {"connection_id":173516,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e03000001a06c14"} 
[2026-09-04 16:32:08] local.INFO: Extracted packet for processing {"connection_id":173516,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e03000001a06c14"} 
[2026-09-04 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-09-04 16:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128131561773072384,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 16:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788519661000,"timestamp_ms":1788519661000,"timestamp_seconds":1788519661,"priority":1,"record_length":96,"hex_timestamp":"000001a06c143dc8"} 
[2026-09-04 16:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":249,"current_offset":136} 
[2026-09-04 16:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:32:08] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173516,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-09-04 16:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":173516,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-04 16:32:08] local.INFO: GPS data processed {"connection_id":173516,"processed":0,"errors":0,"total":1} 
[2026-09-04 16:32:08] local.INFO: Acknowledgment sent {"connection_id":173516,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:32:09] local.INFO: TCP Data received {"connection_id":171115,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:32:09] local.INFO: Processing buffer {"connection_id":171115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:32:09] local.INFO: IMEI packet received {"connection_id":171115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":171115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:32:10] local.INFO: TCP Data received {"connection_id":171115,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:32:10] local.INFO: Processing buffer {"connection_id":171115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:32:10] local.INFO: Packet analysis {"connection_id":171115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:32:10] local.INFO: Extracted packet for processing {"connection_id":171115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860912896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788519492000,"timestamp_ms":1788519492000,"timestamp_seconds":1788519492,"priority":1,"record_length":96,"hex_timestamp":"000001a06c11a9a0"} 
[2026-09-04 16:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 16:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860912896001,"66":25897,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860912896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:32:10] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860912896001,"power":25897,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":171115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:32:10] local.INFO: GPS data processed {"connection_id":171115,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:32:10] local.INFO: Acknowledgment sent {"connection_id":171115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:32:14] local.INFO: TCP Data received {"connection_id":171115,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:32:14] local.INFO: Processing buffer {"connection_id":171115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:32:14] local.INFO: Packet analysis {"connection_id":171115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:32:14] local.INFO: Extracted packet for processing {"connection_id":171115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:32:14] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860912896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788519492000,"timestamp_ms":1788519492000,"timestamp_seconds":1788519492,"priority":1,"record_length":96,"hex_timestamp":"000001a06c11a9a0"} 
[2026-09-04 16:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 16:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860912896001,"66":25897,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860912896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:32:14] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:32:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860912896001,"power":25897,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":171115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:32:14] local.INFO: GPS data processed {"connection_id":171115,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:32:14] local.INFO: Acknowledgment sent {"connection_id":171115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:32:26] local.INFO: TCP Data received {"connection_id":170822,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:32:26] local.INFO: Processing buffer {"connection_id":170822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:32:26] local.INFO: Packet analysis {"connection_id":170822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:32:26] local.INFO: Extracted packet for processing {"connection_id":170822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:32:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860899840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788519441000,"timestamp_ms":1788519441000,"timestamp_seconds":1788519441,"priority":1,"record_length":96,"hex_timestamp":"000001a06c10e268"} 
[2026-09-04 16:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 16:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860899840001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860899840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:32:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:32:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860899840001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":170822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763585,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:32:26] local.INFO: GPS data processed {"connection_id":170822,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:32:26] local.INFO: Acknowledgment sent {"connection_id":170822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:32:39] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.41","data_length":327,"data_hex":"000000000000013b8e04000001a06c148800012d7aeb0005dab8f0001f00cb06..."} 
[2026-09-04 16:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":327,"packet_hex":"000000000000013b8e04000001a06c148800012d7aeb0005dab8f0001f00cb06..."} 
[2026-09-04 16:32:39] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a06c148800012d7aeb0005dab8f0001f00cb06..."} 
[2026-09-04 16:32:39] local.INFO: Packet analysis {"connection_id":173516,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a06c14"} 
[2026-09-04 16:32:39] local.INFO: Extracted packet for processing {"connection_id":173516,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a06c14"} 
[2026-09-04 16:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763030272,"raw_latitude":98220272,"longitude_deg":76.3030272,"latitude_deg":9.8220272,"altitude":31,"angle":203,"satellites":6,"speed":0,"hex_longitude":"2d7aeb00","hex_latitude":"05dab8f0","is_valid_coordinates":true} 
[2026-09-04 16:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-09-04 16:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128131561773072384,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 16:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788519680000,"timestamp_ms":1788519680000,"timestamp_seconds":1788519680,"priority":1,"record_length":96,"hex_timestamp":"000001a06c148800"} 
[2026-09-04 16:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":327,"current_offset":136} 
[2026-09-04 16:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:32:39] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173516,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-09-04 16:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13830,"188":206,"85":15104,"24":0,"16":128131561773072384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16]} 
[2026-09-04 16:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-04 16:32:39] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-04 16:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128131561773072384,"km_value":128131561773072.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:32:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13830,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-04 16:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":173516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:32:39] local.INFO: GPS data processed {"connection_id":173516,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:32:39] local.INFO: Acknowledgment sent {"connection_id":173516,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:32:48] local.INFO: TCP Data received {"connection_id":172214,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:32:48] local.INFO: Processing buffer {"connection_id":172214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:32:48] local.INFO: IMEI packet received {"connection_id":172214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":172214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:32:49] local.INFO: TCP Data received {"connection_id":173517,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:32:49] local.INFO: Processing buffer {"connection_id":173517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:32:49] local.INFO: IMEI packet received {"connection_id":173517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":173517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:32:53] local.INFO: TCP Data received {"connection_id":172214,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:32:53] local.INFO: Processing buffer {"connection_id":172214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:32:53] local.INFO: IMEI packet received {"connection_id":172214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":172214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:32:54] local.INFO: TCP Data received {"connection_id":172214,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c132c58012d1824c00721b930004d013728..."} 
[2026-09-04 16:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c132c58012d1824c00721b930004d013728..."} 
[2026-09-04 16:32:54] local.INFO: Processing buffer {"connection_id":172214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c132c58012d1824c00721b930004d013728..."} 
[2026-09-04 16:32:54] local.INFO: Packet analysis {"connection_id":172214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c13"} 
[2026-09-04 16:32:54] local.INFO: Extracted packet for processing {"connection_id":172214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c13"} 
[2026-09-04 16:32:54] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861009920001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788519591000,"timestamp_ms":1788519591000,"timestamp_seconds":1788519591,"priority":1,"record_length":96,"hex_timestamp":"000001a06c132c58"} 
[2026-09-04 16:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-04 16:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861009920001,"66":13048,"105":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861009920001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:32:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:32:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861009920001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":172214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:32:54] local.INFO: GPS data processed {"connection_id":172214,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:32:54] local.INFO: Acknowledgment sent {"connection_id":172214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:32:54] local.INFO: TCP Data received {"connection_id":173517,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:32:54] local.INFO: Processing buffer {"connection_id":173517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:32:54] local.INFO: IMEI packet received {"connection_id":173517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":173517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:32:55] local.INFO: TCP Data received {"connection_id":173517,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:32:55] local.INFO: Processing buffer {"connection_id":173517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c10e268012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:32:55] local.INFO: Packet analysis {"connection_id":173517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:32:55] local.INFO: Extracted packet for processing {"connection_id":173517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c10"} 
[2026-09-04 16:32:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860899840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788519441000,"timestamp_ms":1788519441000,"timestamp_seconds":1788519441,"priority":1,"record_length":96,"hex_timestamp":"000001a06c10e268"} 
[2026-09-04 16:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 16:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860899840001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860899840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:32:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860899840001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":173517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763588,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:32:55] local.INFO: GPS data processed {"connection_id":173517,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:32:55] local.INFO: Acknowledgment sent {"connection_id":173517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:32:59] local.INFO: TCP Data received {"connection_id":173518,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:32:59] local.INFO: Processing buffer {"connection_id":173518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:32:59] local.INFO: IMEI packet received {"connection_id":173518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":173518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:33:04] local.INFO: TCP Data received {"connection_id":173518,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:33:04] local.INFO: Processing buffer {"connection_id":173518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:33:04] local.INFO: IMEI packet received {"connection_id":173518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":173518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:33:05] local.INFO: TCP Data received {"connection_id":173518,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:33:05] local.INFO: Processing buffer {"connection_id":173518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:33:05] local.INFO: Packet analysis {"connection_id":173518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:33:05] local.INFO: Extracted packet for processing {"connection_id":173518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860912896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788519492000,"timestamp_ms":1788519492000,"timestamp_seconds":1788519492,"priority":1,"record_length":96,"hex_timestamp":"000001a06c11a9a0"} 
[2026-09-04 16:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 16:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860912896001,"66":25897,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860912896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:33:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:33:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:33:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860912896001,"power":25897,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":173518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:33:05] local.INFO: GPS data processed {"connection_id":173518,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:33:05] local.INFO: Acknowledgment sent {"connection_id":173518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:33:10] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c15d408012d7ad28005dab508001900ba10..."} 
[2026-09-04 16:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c15d408012d7ad28005dab508001900ba10..."} 
[2026-09-04 16:33:10] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c15d408012d7ad28005dab508001900ba10..."} 
[2026-09-04 16:33:10] local.INFO: Packet analysis {"connection_id":173516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:33:10] local.INFO: Extracted packet for processing {"connection_id":173516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763024000,"raw_latitude":98219272,"longitude_deg":76.3024,"latitude_deg":9.8219272,"altitude":25,"angle":186,"satellites":16,"speed":1,"hex_longitude":"2d7ad280","hex_latitude":"05dab508","is_valid_coordinates":true} 
[2026-09-04 16:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861055232001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128131948320129024,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850206611624779776,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788519765000,"timestamp_ms":1788519765000,"timestamp_seconds":1788519765,"priority":1,"record_length":96,"hex_timestamp":"000001a06c15d408"} 
[2026-09-04 16:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-04 16:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861055232001,"66":13798,"229":206,"85":15104,"24":1,"16":128131948320129024,"45":8850206611624779776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861055232001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:33:10] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128131948320129024,"km_value":128131948320129.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850206611624779776,"description":"Unknown IO ID 45"} 
[2026-09-04 16:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861055232001,"power":13798,"unknown_229":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8850206611624779776}} 
[2026-09-04 16:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":173516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:33:10] local.INFO: GPS data processed {"connection_id":173516,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:33:10] local.INFO: Acknowledgment sent {"connection_id":173516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:33:24] local.INFO: TCP Data received {"connection_id":172214,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c137e60012d1824c00721b930004d013729..."} 
[2026-09-04 16:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c137e60012d1824c00721b930004d013729..."} 
[2026-09-04 16:33:24] local.INFO: Processing buffer {"connection_id":172214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c137e60012d1824c00721b930004d013729..."} 
[2026-09-04 16:33:24] local.INFO: Packet analysis {"connection_id":172214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c13"} 
[2026-09-04 16:33:24] local.INFO: Extracted packet for processing {"connection_id":172214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c13"} 
[2026-09-04 16:33:24] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861015296001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788519612000,"timestamp_ms":1788519612000,"timestamp_seconds":1788519612,"priority":1,"record_length":96,"hex_timestamp":"000001a06c137e60"} 
[2026-09-04 16:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-04 16:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861015296001,"66":13004,"105":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861015296001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:33:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:33:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861015296001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":172214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:33:25] local.INFO: GPS data processed {"connection_id":172214,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:33:25] local.INFO: Acknowledgment sent {"connection_id":172214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:33:26] local.INFO: TCP Data received {"connection_id":173517,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:33:26] local.INFO: Processing buffer {"connection_id":173517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:33:26] local.INFO: Packet analysis {"connection_id":173517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:33:26] local.INFO: Extracted packet for processing {"connection_id":173517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:33:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860976896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788519742000,"timestamp_ms":1788519742000,"timestamp_seconds":1788519742,"priority":1,"record_length":96,"hex_timestamp":"000001a06c157a30"} 
[2026-09-04 16:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860976896001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860976896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:33:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:33:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860976896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":173517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763592,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:33:26] local.INFO: GPS data processed {"connection_id":173517,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:33:26] local.INFO: Acknowledgment sent {"connection_id":173517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:33:36] local.INFO: TCP Data received {"connection_id":173518,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:33:36] local.INFO: Processing buffer {"connection_id":173518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c11a9a0012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:33:36] local.INFO: Packet analysis {"connection_id":173518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:33:36] local.INFO: Extracted packet for processing {"connection_id":173518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c11"} 
[2026-09-04 16:33:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860912896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788519492000,"timestamp_ms":1788519492000,"timestamp_seconds":1788519492,"priority":1,"record_length":96,"hex_timestamp":"000001a06c11a9a0"} 
[2026-09-04 16:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-04 16:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860912896001,"66":25897,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860912896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:33:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:33:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860912896001,"power":25897,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":173518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:33:36] local.INFO: GPS data processed {"connection_id":173518,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:33:36] local.INFO: Acknowledgment sent {"connection_id":173518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:33:40] local.INFO: TCP Data received {"connection_id":170824,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:33:40] local.INFO: Processing buffer {"connection_id":170824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:33:40] local.INFO: IMEI packet received {"connection_id":170824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 16:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":170824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:33:45] local.INFO: TCP Data received {"connection_id":170824,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:33:46] local.INFO: Processing buffer {"connection_id":170824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:33:46] local.INFO: IMEI packet received {"connection_id":170824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":170824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:33:46] local.INFO: TCP Data received {"connection_id":170824,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c161670012d7ad2c005dab488001800a910..."} 
[2026-09-04 16:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c161670012d7ad2c005dab488001800a910..."} 
[2026-09-04 16:33:46] local.INFO: Processing buffer {"connection_id":170824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c161670012d7ad2c005dab488001800a910..."} 
[2026-09-04 16:33:46] local.INFO: Packet analysis {"connection_id":170824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:33:46] local.INFO: Extracted packet for processing {"connection_id":170824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:33:46] local.INFO: GPS Element Parsed {"raw_longitude":763024064,"raw_latitude":98219144,"longitude_deg":76.3024064,"latitude_deg":9.8219144,"altitude":24,"angle":169,"satellites":16,"speed":1,"hex_longitude":"2d7ad2c0","hex_latitude":"05dab488","is_valid_coordinates":true} 
[2026-09-04 16:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861059840001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128131961205030912,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850276980368934912,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788519782000,"timestamp_ms":1788519782000,"timestamp_seconds":1788519782,"priority":1,"record_length":96,"hex_timestamp":"000001a06c161670"} 
[2026-09-04 16:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 16:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":170824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":170824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":170824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861059840001,"66":13678,"229":206,"85":15104,"24":1,"16":128131961205030912,"45":8850276980368934912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861059840001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:33:46] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:33:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128131961205030912,"km_value":128131961205030.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850276980368934912,"description":"Unknown IO ID 45"} 
[2026-09-04 16:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861059840001,"power":13678,"unknown_229":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8850276980368934912}} 
[2026-09-04 16:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":170824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:33:46] local.INFO: GPS data processed {"connection_id":170824,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:33:46] local.INFO: Acknowledgment sent {"connection_id":170824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:33:47] local.INFO: TCP Data received {"connection_id":170824,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c161e40012d7ad2c005dab450001800b511..."} 
[2026-09-04 16:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c161e40012d7ad2c005dab450001800b511..."} 
[2026-09-04 16:33:47] local.INFO: Processing buffer {"connection_id":170824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c161e40012d7ad2c005dab450001800b511..."} 
[2026-09-04 16:33:47] local.INFO: Packet analysis {"connection_id":170824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:33:47] local.INFO: Extracted packet for processing {"connection_id":170824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:33:47] local.INFO: GPS Element Parsed {"raw_longitude":763024064,"raw_latitude":98219088,"longitude_deg":76.3024064,"latitude_deg":9.8219088,"altitude":24,"angle":181,"satellites":17,"speed":2,"hex_longitude":"2d7ad2c0","hex_latitude":"05dab450","is_valid_coordinates":true} 
[2026-09-04 16:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861064192001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128131965499998208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850347349113079808,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788519784000,"timestamp_ms":1788519784000,"timestamp_seconds":1788519784,"priority":1,"record_length":96,"hex_timestamp":"000001a06c161e40"} 
[2026-09-04 16:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 16:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861064192001,"66":13678,"229":206,"85":15104,"24":2,"16":128131965499998208,"45":8850347349113079808},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861064192001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:33:47] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:33:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128131965499998208,"km_value":128131965499998.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850347349113079808,"description":"Unknown IO ID 45"} 
[2026-09-04 16:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861064192001,"power":13678,"unknown_229":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8850347349113079808}} 
[2026-09-04 16:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":170824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:33:47] local.INFO: GPS data processed {"connection_id":170824,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:33:47] local.INFO: Acknowledgment sent {"connection_id":170824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:33:48] local.INFO: TCP Data received {"connection_id":172215,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:33:48] local.INFO: Processing buffer {"connection_id":172215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:33:48] local.INFO: IMEI packet received {"connection_id":172215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":172215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:33:53] local.INFO: TCP Data received {"connection_id":172215,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:33:53] local.INFO: Processing buffer {"connection_id":172215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:33:53] local.INFO: IMEI packet received {"connection_id":172215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":172215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:33:54] local.INFO: TCP Data received {"connection_id":172216,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:33:54] local.INFO: Processing buffer {"connection_id":172216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:33:54] local.INFO: IMEI packet received {"connection_id":172216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":172216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:33:54] local.INFO: TCP Data received {"connection_id":172215,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c13d068012d1824c00721b930004d013729..."} 
[2026-09-04 16:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c13d068012d1824c00721b930004d013729..."} 
[2026-09-04 16:33:54] local.INFO: Processing buffer {"connection_id":172215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c13d068012d1824c00721b930004d013729..."} 
[2026-09-04 16:33:54] local.INFO: Packet analysis {"connection_id":172215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c13"} 
[2026-09-04 16:33:54] local.INFO: Extracted packet for processing {"connection_id":172215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c13"} 
[2026-09-04 16:33:54] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861020672001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788519633000,"timestamp_ms":1788519633000,"timestamp_seconds":1788519633,"priority":1,"record_length":96,"hex_timestamp":"000001a06c13d068"} 
[2026-09-04 16:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 16:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861020672001,"66":12961,"105":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861020672001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:33:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:33:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861020672001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":172215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:33:54] local.INFO: GPS data processed {"connection_id":172215,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:33:54] local.INFO: Acknowledgment sent {"connection_id":172215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:33:58] local.INFO: TCP Data received {"connection_id":172215,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c142270012d1824c00721b930004d01372a..."} 
[2026-09-04 16:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c142270012d1824c00721b930004d01372a..."} 
[2026-09-04 16:33:58] local.INFO: Processing buffer {"connection_id":172215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c142270012d1824c00721b930004d01372a..."} 
[2026-09-04 16:33:58] local.INFO: Packet analysis {"connection_id":172215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c14"} 
[2026-09-04 16:33:58] local.INFO: Extracted packet for processing {"connection_id":172215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c14"} 
[2026-09-04 16:33:58] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861026048001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788519654000,"timestamp_ms":1788519654000,"timestamp_seconds":1788519654,"priority":1,"record_length":96,"hex_timestamp":"000001a06c142270"} 
[2026-09-04 16:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-04 16:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861026048001,"66":13004,"105":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861026048001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:33:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:33:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861026048001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":172215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:33:58] local.INFO: GPS data processed {"connection_id":172215,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:33:58] local.INFO: Acknowledgment sent {"connection_id":172215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:33:59] local.INFO: TCP Data received {"connection_id":172216,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:33:59] local.INFO: Processing buffer {"connection_id":172216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:33:59] local.INFO: IMEI packet received {"connection_id":172216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":172216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:33:59] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:33:59] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:33:59] local.INFO: IMEI packet received {"connection_id":173519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":173519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:34:00] local.INFO: TCP Data received {"connection_id":172216,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:34:00] local.INFO: Processing buffer {"connection_id":172216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:34:00] local.INFO: Packet analysis {"connection_id":172216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:34:00] local.INFO: Extracted packet for processing {"connection_id":172216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:34:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860976896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788519742000,"timestamp_ms":1788519742000,"timestamp_seconds":1788519742,"priority":1,"record_length":96,"hex_timestamp":"000001a06c157a30"} 
[2026-09-04 16:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860976896001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860976896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:34:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:34:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860976896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":172216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763598,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:34:01] local.INFO: GPS data processed {"connection_id":172216,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:34:01] local.INFO: Acknowledgment sent {"connection_id":172216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:34:04] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:34:04] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:34:04] local.INFO: IMEI packet received {"connection_id":173519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":173519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:34:05] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:34:05] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:34:05] local.INFO: Packet analysis {"connection_id":173519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:34:05] local.INFO: Extracted packet for processing {"connection_id":173519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:34:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860989952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788519793000,"timestamp_ms":1788519793000,"timestamp_seconds":1788519793,"priority":1,"record_length":96,"hex_timestamp":"000001a06c164168"} 
[2026-09-04 16:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 16:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860989952001,"66":25875,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860989952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:34:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:34:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:34:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860989952001,"power":25875,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":173519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:34:05] local.INFO: GPS data processed {"connection_id":173519,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:34:05] local.INFO: Acknowledgment sent {"connection_id":173519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:34:05] local.INFO: TCP Data received {"connection_id":172216,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:34:05] local.INFO: Processing buffer {"connection_id":172216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:34:05] local.INFO: Packet analysis {"connection_id":172216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:34:05] local.INFO: Extracted packet for processing {"connection_id":172216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:34:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860976896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788519742000,"timestamp_ms":1788519742000,"timestamp_seconds":1788519742,"priority":1,"record_length":96,"hex_timestamp":"000001a06c157a30"} 
[2026-09-04 16:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860976896001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860976896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:34:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:34:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860976896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":172216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763600,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:34:05] local.INFO: GPS data processed {"connection_id":172216,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:34:05] local.INFO: Acknowledgment sent {"connection_id":172216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:34:18] local.INFO: TCP Data received {"connection_id":170824,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c166c60012d7ad2c005dab3f8001600bf12..."} 
[2026-09-04 16:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c166c60012d7ad2c005dab3f8001600bf12..."} 
[2026-09-04 16:34:18] local.INFO: Processing buffer {"connection_id":170824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c166c60012d7ad2c005dab3f8001600bf12..."} 
[2026-09-04 16:34:18] local.INFO: Packet analysis {"connection_id":170824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:34:18] local.INFO: Extracted packet for processing {"connection_id":170824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:34:18] local.INFO: GPS Element Parsed {"raw_longitude":763024064,"raw_latitude":98219000,"longitude_deg":76.3024064,"latitude_deg":9.8219,"altitude":22,"angle":191,"satellites":18,"speed":0,"hex_longitude":"2d7ad2c0","hex_latitude":"05dab3f8","is_valid_coordinates":true} 
[2026-09-04 16:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861064704001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128131974089932800,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850347349113065472,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788519804000,"timestamp_ms":1788519804000,"timestamp_seconds":1788519804,"priority":1,"record_length":96,"hex_timestamp":"000001a06c166c60"} 
[2026-09-04 16:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 16:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":170824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":170824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":170824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861064704001,"66":13580,"229":206,"85":15104,"24":0,"16":128131974089932800,"45":8850347349113065472},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861064704001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:34:18] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:34:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128131974089932800,"km_value":128131974089932.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850347349113065472,"description":"Unknown IO ID 45"} 
[2026-09-04 16:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861064704001,"power":13580,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8850347349113065472}} 
[2026-09-04 16:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":170824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:34:18] local.INFO: GPS data processed {"connection_id":170824,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:34:18] local.INFO: Acknowledgment sent {"connection_id":170824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:34:30] local.INFO: TCP Data received {"connection_id":172215,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c147478012d1824c00721b930004d013729..."} 
[2026-09-04 16:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c147478012d1824c00721b930004d013729..."} 
[2026-09-04 16:34:30] local.INFO: Processing buffer {"connection_id":172215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c147478012d1824c00721b930004d013729..."} 
[2026-09-04 16:34:30] local.INFO: Packet analysis {"connection_id":172215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c14"} 
[2026-09-04 16:34:30] local.INFO: Extracted packet for processing {"connection_id":172215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c14"} 
[2026-09-04 16:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861031424001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788519675000,"timestamp_ms":1788519675000,"timestamp_seconds":1788519675,"priority":1,"record_length":96,"hex_timestamp":"000001a06c147478"} 
[2026-09-04 16:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 16:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861031424001,"66":12982,"105":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861031424001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:34:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861031424001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":172215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:34:31] local.INFO: GPS data processed {"connection_id":172215,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:34:31] local.INFO: Acknowledgment sent {"connection_id":172215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:34:36] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:34:36] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:34:36] local.INFO: Packet analysis {"connection_id":173519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:34:36] local.INFO: Extracted packet for processing {"connection_id":173519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:34:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860989952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788519793000,"timestamp_ms":1788519793000,"timestamp_seconds":1788519793,"priority":1,"record_length":96,"hex_timestamp":"000001a06c164168"} 
[2026-09-04 16:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 16:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860989952001,"66":25875,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860989952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:34:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:34:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:34:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860989952001,"power":25875,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":173519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:34:36] local.INFO: GPS data processed {"connection_id":173519,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:34:36] local.INFO: Acknowledgment sent {"connection_id":173519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:34:49] local.INFO: TCP Data received {"connection_id":172218,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:34:49] local.INFO: Processing buffer {"connection_id":172218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:34:49] local.INFO: IMEI packet received {"connection_id":172218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":172218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:34:49] local.INFO: TCP Data received {"connection_id":170824,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c16be68012d7ad2c005dab3c8001600bf12..."} 
[2026-09-04 16:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c16be68012d7ad2c005dab3c8001600bf12..."} 
[2026-09-04 16:34:49] local.INFO: Processing buffer {"connection_id":170824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c16be68012d7ad2c005dab3c8001600bf12..."} 
[2026-09-04 16:34:49] local.INFO: Packet analysis {"connection_id":170824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:34:49] local.INFO: Extracted packet for processing {"connection_id":170824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:34:49] local.INFO: GPS Element Parsed {"raw_longitude":763024064,"raw_latitude":98218952,"longitude_deg":76.3024064,"latitude_deg":9.8218952,"altitude":22,"angle":191,"satellites":18,"speed":0,"hex_longitude":"2d7ad2c0","hex_latitude":"05dab3c8","is_valid_coordinates":true} 
[2026-09-04 16:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861069824001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128131978384900096,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850347349113042944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788519825000,"timestamp_ms":1788519825000,"timestamp_seconds":1788519825,"priority":1,"record_length":96,"hex_timestamp":"000001a06c16be68"} 
[2026-09-04 16:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630135,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4091715974535839744,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3042967577,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549775036,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797338830,"corrected_to":0} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3892391290,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-288004260149277099,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3669295104,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-3242585294834761701,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:49] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,229,85,24,241,157,16,55,160,30,45,192,180,17,10,66,22,212,128,1,240,230,227,108,218,4,113,205,133,210,104,13,239,53,188,2,199,5,25,122,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2797338830,"validated":0}]} 
[2026-09-04 16:34:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585477152864731136,"timestamp_seconds":1585477152864731.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":170824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":170824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":170824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861069824001,"66":13798,"229":206,"85":15104,"24":0,"16":128131978384900096,"45":8850347349113042944},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861069824001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:34:49] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:34:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128131978384900096,"km_value":128131978384900.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850347349113042944,"description":"Unknown IO ID 45"} 
[2026-09-04 16:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861069824001,"power":13798,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8850347349113042944}} 
[2026-09-04 16:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":170824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:34:49] local.INFO: GPS data processed {"connection_id":170824,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:34:49] local.INFO: Acknowledgment sent {"connection_id":170824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:34:49] local.INFO: TCP Data received {"connection_id":172217,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:34:49] local.INFO: Processing buffer {"connection_id":172217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:34:49] local.INFO: IMEI packet received {"connection_id":172217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":172217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:34:53] local.INFO: TCP Data received {"connection_id":172218,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:34:53] local.INFO: Processing buffer {"connection_id":172218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:34:53] local.INFO: IMEI packet received {"connection_id":172218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":172218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:34:54] local.INFO: TCP Data received {"connection_id":172218,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c14c680012d1824c00721b930004d01372d..."} 
[2026-09-04 16:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c14c680012d1824c00721b930004d01372d..."} 
[2026-09-04 16:34:54] local.INFO: Processing buffer {"connection_id":172218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c14c680012d1824c00721b930004d01372d..."} 
[2026-09-04 16:34:54] local.INFO: Packet analysis {"connection_id":172218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c14"} 
[2026-09-04 16:34:54] local.INFO: Extracted packet for processing {"connection_id":172218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c14"} 
[2026-09-04 16:34:54] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":45,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861036800001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788519696000,"timestamp_ms":1788519696000,"timestamp_seconds":1788519696,"priority":1,"record_length":96,"hex_timestamp":"000001a06c14c680"} 
[2026-09-04 16:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-04 16:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861036800001,"66":12972,"105":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861036800001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:34:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:34:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861036800001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":172218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:34:54] local.INFO: GPS data processed {"connection_id":172218,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:34:54] local.INFO: Acknowledgment sent {"connection_id":172218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:34:54] local.INFO: TCP Data received {"connection_id":172217,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:34:54] local.INFO: Processing buffer {"connection_id":172217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:34:54] local.INFO: IMEI packet received {"connection_id":172217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":172217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:34:55] local.INFO: TCP Data received {"connection_id":172217,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:34:55] local.INFO: Processing buffer {"connection_id":172217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:34:55] local.INFO: Packet analysis {"connection_id":172217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:34:55] local.INFO: Extracted packet for processing {"connection_id":172217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:34:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860976896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788519742000,"timestamp_ms":1788519742000,"timestamp_seconds":1788519742,"priority":1,"record_length":96,"hex_timestamp":"000001a06c157a30"} 
[2026-09-04 16:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860976896001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860976896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:34:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860976896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":172217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763606,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:34:55] local.INFO: GPS data processed {"connection_id":172217,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:34:55] local.INFO: Acknowledgment sent {"connection_id":172217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:34:59] local.INFO: TCP Data received {"connection_id":171116,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:34:59] local.INFO: Processing buffer {"connection_id":171116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:34:59] local.INFO: IMEI packet received {"connection_id":171116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":171116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:35:04] local.INFO: TCP Data received {"connection_id":171116,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:35:04] local.INFO: Processing buffer {"connection_id":171116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:35:04] local.INFO: IMEI packet received {"connection_id":171116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":171116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:35:05] local.INFO: TCP Data received {"connection_id":171116,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:35:05] local.INFO: Processing buffer {"connection_id":171116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:35:05] local.INFO: Packet analysis {"connection_id":171116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:35:05] local.INFO: Extracted packet for processing {"connection_id":171116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:35:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860989952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788519793000,"timestamp_ms":1788519793000,"timestamp_seconds":1788519793,"priority":1,"record_length":96,"hex_timestamp":"000001a06c164168"} 
[2026-09-04 16:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 16:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860989952001,"66":25875,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860989952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:35:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860989952001,"power":25875,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":171116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:35:05] local.INFO: GPS data processed {"connection_id":171116,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:35:05] local.INFO: Acknowledgment sent {"connection_id":171116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:35:19] local.INFO: TCP Data received {"connection_id":170824,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c171070012d7ad2c005dab3b0001600bf12..."} 
[2026-09-04 16:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c171070012d7ad2c005dab3b0001600bf12..."} 
[2026-09-04 16:35:19] local.INFO: Processing buffer {"connection_id":170824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c171070012d7ad2c005dab3b0001600bf12..."} 
[2026-09-04 16:35:19] local.INFO: Packet analysis {"connection_id":170824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c17"} 
[2026-09-04 16:35:19] local.INFO: Extracted packet for processing {"connection_id":170824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c17"} 
[2026-09-04 16:35:19] local.INFO: GPS Element Parsed {"raw_longitude":763024064,"raw_latitude":98218928,"longitude_deg":76.3024064,"latitude_deg":9.8218928,"altitude":22,"angle":191,"satellites":18,"speed":0,"hex_longitude":"2d7ad2c0","hex_latitude":"05dab3b0","is_valid_coordinates":true} 
[2026-09-04 16:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861075200001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128131982679867392,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850347349113030656,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788519846000,"timestamp_ms":1788519846000,"timestamp_seconds":1788519846,"priority":1,"record_length":96,"hex_timestamp":"000001a06c171070"} 
[2026-09-04 16:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 16:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":170824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":170824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":170824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861075200001,"66":13646,"229":206,"85":15104,"24":0,"16":128131982679867392,"45":8850347349113030656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861075200001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:35:19] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:35:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128131982679867392,"km_value":128131982679867.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850347349113030656,"description":"Unknown IO ID 45"} 
[2026-09-04 16:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861075200001,"power":13646,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8850347349113030656}} 
[2026-09-04 16:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":170824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:35:19] local.INFO: GPS data processed {"connection_id":170824,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:35:19] local.INFO: Acknowledgment sent {"connection_id":170824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:35:25] local.INFO: TCP Data received {"connection_id":172218,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c151888012d1824c00721b930004d01372c..."} 
[2026-09-04 16:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c151888012d1824c00721b930004d01372c..."} 
[2026-09-04 16:35:25] local.INFO: Processing buffer {"connection_id":172218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c151888012d1824c00721b930004d01372c..."} 
[2026-09-04 16:35:25] local.INFO: Packet analysis {"connection_id":172218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:35:25] local.INFO: Extracted packet for processing {"connection_id":172218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:35:25] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":44,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861042176001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788519717000,"timestamp_ms":1788519717000,"timestamp_seconds":1788519717,"priority":1,"record_length":96,"hex_timestamp":"000001a06c151888"} 
[2026-09-04 16:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-04 16:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861042176001,"66":12863,"105":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861042176001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:35:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:35:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861042176001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":172218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:35:25] local.INFO: GPS data processed {"connection_id":172218,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:35:25] local.INFO: Acknowledgment sent {"connection_id":172218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:35:27] local.INFO: TCP Data received {"connection_id":172217,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:35:27] local.INFO: Processing buffer {"connection_id":172217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:35:27] local.INFO: Packet analysis {"connection_id":172217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:35:27] local.INFO: Extracted packet for processing {"connection_id":172217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:35:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860976896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788519742000,"timestamp_ms":1788519742000,"timestamp_seconds":1788519742,"priority":1,"record_length":96,"hex_timestamp":"000001a06c157a30"} 
[2026-09-04 16:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860976896001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860976896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:35:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:35:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860976896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":172217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:35:28] local.INFO: GPS data processed {"connection_id":172217,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:35:28] local.INFO: Acknowledgment sent {"connection_id":172217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:35:32] local.INFO: TCP Data received {"connection_id":172219,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:35:32] local.INFO: Processing buffer {"connection_id":172219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:35:32] local.INFO: IMEI packet received {"connection_id":172219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 16:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":172219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:35:36] local.INFO: TCP Data received {"connection_id":172219,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:35:36] local.INFO: Processing buffer {"connection_id":172219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:35:36] local.INFO: IMEI packet received {"connection_id":172219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":172219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:35:36] local.INFO: TCP Data received {"connection_id":171116,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:35:36] local.INFO: Processing buffer {"connection_id":171116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:35:36] local.INFO: Packet analysis {"connection_id":171116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:35:36] local.INFO: Extracted packet for processing {"connection_id":171116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860989952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788519793000,"timestamp_ms":1788519793000,"timestamp_seconds":1788519793,"priority":1,"record_length":96,"hex_timestamp":"000001a06c164168"} 
[2026-09-04 16:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 16:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860989952001,"66":25875,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860989952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:35:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:35:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:35:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860989952001,"power":25875,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":171116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:35:36] local.INFO: GPS data processed {"connection_id":171116,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:35:36] local.INFO: Acknowledgment sent {"connection_id":171116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:35:41] local.INFO: TCP Data received {"connection_id":172219,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:35:41] local.INFO: Processing buffer {"connection_id":172219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:35:41] local.INFO: IMEI packet received {"connection_id":172219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":172219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:35:41] local.INFO: TCP Data received {"connection_id":172219,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c176278012d7ad30005dab428001600bf14..."} 
[2026-09-04 16:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c176278012d7ad30005dab428001600bf14..."} 
[2026-09-04 16:35:41] local.INFO: Processing buffer {"connection_id":172219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c176278012d7ad30005dab428001600bf14..."} 
[2026-09-04 16:35:41] local.INFO: Packet analysis {"connection_id":172219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c17"} 
[2026-09-04 16:35:41] local.INFO: Extracted packet for processing {"connection_id":172219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c17"} 
[2026-09-04 16:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763024128,"raw_latitude":98219048,"longitude_deg":76.3024128,"latitude_deg":9.8219048,"altitude":22,"angle":191,"satellites":20,"speed":0,"hex_longitude":"2d7ad300","hex_latitude":"05dab428","is_valid_coordinates":true} 
[2026-09-04 16:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861080576001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128131995564769280,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850347349113024512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788519867000,"timestamp_ms":1788519867000,"timestamp_seconds":1788519867,"priority":1,"record_length":96,"hex_timestamp":"000001a06c176278"} 
[2026-09-04 16:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-04 16:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861080576001,"66":13798,"229":206,"85":15104,"24":0,"16":128131995564769280,"45":8850347349113024512},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861080576001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:35:41] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128131995564769280,"km_value":128131995564769.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850347349113024512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861080576001,"power":13798,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8850347349113024512}} 
[2026-09-04 16:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":172219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:35:41] local.INFO: GPS data processed {"connection_id":172219,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:35:41] local.INFO: Acknowledgment sent {"connection_id":172219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:35:48] local.INFO: TCP Data received {"connection_id":171117,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:35:48] local.INFO: Processing buffer {"connection_id":171117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:35:48] local.INFO: IMEI packet received {"connection_id":171117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":171117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:35:48] local.INFO: TCP Data received {"connection_id":173520,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:35:48] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:35:48] local.INFO: IMEI packet received {"connection_id":173520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":173520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:35:53] local.INFO: TCP Data received {"connection_id":171117,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:35:53] local.INFO: Processing buffer {"connection_id":171117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:35:53] local.INFO: IMEI packet received {"connection_id":171117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":171117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:35:54] local.INFO: TCP Data received {"connection_id":171117,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c156a90012d1824c00721b930004d01372d..."} 
[2026-09-04 16:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c156a90012d1824c00721b930004d01372d..."} 
[2026-09-04 16:35:54] local.INFO: Processing buffer {"connection_id":171117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c156a90012d1824c00721b930004d01372d..."} 
[2026-09-04 16:35:54] local.INFO: Packet analysis {"connection_id":171117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:35:54] local.INFO: Extracted packet for processing {"connection_id":171117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:35:54] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":45,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861047552001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788519738000,"timestamp_ms":1788519738000,"timestamp_seconds":1788519738,"priority":1,"record_length":96,"hex_timestamp":"000001a06c156a90"} 
[2026-09-04 16:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 16:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861047552001,"66":12863,"105":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861047552001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:35:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:35:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861047552001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:35:54] local.INFO: TCP Data received {"connection_id":173520,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:35:54] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:35:54] local.INFO: IMEI packet received {"connection_id":173520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":173520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":171117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:35:54] local.INFO: GPS data processed {"connection_id":171117,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:35:54] local.INFO: Acknowledgment sent {"connection_id":171117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:35:55] local.INFO: TCP Data received {"connection_id":173520,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:35:55] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:35:55] local.INFO: Packet analysis {"connection_id":173520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:35:55] local.INFO: Extracted packet for processing {"connection_id":173520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860976896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788519742000,"timestamp_ms":1788519742000,"timestamp_seconds":1788519742,"priority":1,"record_length":96,"hex_timestamp":"000001a06c157a30"} 
[2026-09-04 16:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860976896001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860976896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:35:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860976896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":173520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763614,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:35:55] local.INFO: GPS data processed {"connection_id":173520,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:35:55] local.INFO: Acknowledgment sent {"connection_id":173520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:35:59] local.INFO: TCP Data received {"connection_id":172220,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:35:59] local.INFO: Processing buffer {"connection_id":172220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:35:59] local.INFO: IMEI packet received {"connection_id":172220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":172220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:36:04] local.INFO: TCP Data received {"connection_id":172220,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:36:04] local.INFO: Processing buffer {"connection_id":172220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:36:04] local.INFO: IMEI packet received {"connection_id":172220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":172220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:36:05] local.INFO: TCP Data received {"connection_id":172220,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:36:05] local.INFO: Processing buffer {"connection_id":172220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c164168012cb2a10007823b700047002b2b..."} 
[2026-09-04 16:36:05] local.INFO: Packet analysis {"connection_id":172220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:36:05] local.INFO: Extracted packet for processing {"connection_id":172220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:36:05] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":43,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860989952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788519793000,"timestamp_ms":1788519793000,"timestamp_seconds":1788519793,"priority":1,"record_length":96,"hex_timestamp":"000001a06c164168"} 
[2026-09-04 16:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 16:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860989952001,"66":25875,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860989952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:36:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:36:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860989952001,"power":25875,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":172220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:36:05] local.INFO: GPS data processed {"connection_id":172220,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:36:05] local.INFO: Acknowledgment sent {"connection_id":172220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:36:12] local.INFO: TCP Data received {"connection_id":172219,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c179d10012d7ad28005dab448001500fe15..."} 
[2026-09-04 16:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c179d10012d7ad28005dab448001500fe15..."} 
[2026-09-04 16:36:12] local.INFO: Processing buffer {"connection_id":172219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c179d10012d7ad28005dab448001500fe15..."} 
[2026-09-04 16:36:12] local.INFO: Packet analysis {"connection_id":172219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c17"} 
[2026-09-04 16:36:12] local.INFO: Extracted packet for processing {"connection_id":172219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c17"} 
[2026-09-04 16:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763024000,"raw_latitude":98219080,"longitude_deg":76.3024,"latitude_deg":9.821908,"altitude":21,"angle":254,"satellites":21,"speed":3,"hex_longitude":"2d7ad280","hex_latitude":"05dab448","is_valid_coordinates":true} 
[2026-09-04 16:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861085952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128132021334573056,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850417717857232896,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788519882000,"timestamp_ms":1788519882000,"timestamp_seconds":1788519882,"priority":1,"record_length":96,"hex_timestamp":"000001a06c179d10"} 
[2026-09-04 16:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 16:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861085952001,"66":13678,"229":206,"85":15104,"24":3,"16":128132021334573056,"45":8850417717857232896},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861085952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:36:12] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128132021334573056,"km_value":128132021334573.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850417717857232896,"description":"Unknown IO ID 45"} 
[2026-09-04 16:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861085952001,"power":13678,"unknown_229":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8850417717857232896}} 
[2026-09-04 16:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":172219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:36:12] local.INFO: GPS data processed {"connection_id":172219,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:36:12] local.INFO: Acknowledgment sent {"connection_id":172219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:36:25] local.INFO: TCP Data received {"connection_id":171117,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c15bc98012d1824c00721b930004d01372c..."} 
[2026-09-04 16:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c15bc98012d1824c00721b930004d01372c..."} 
[2026-09-04 16:36:25] local.INFO: Processing buffer {"connection_id":171117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c15bc98012d1824c00721b930004d01372c..."} 
[2026-09-04 16:36:25] local.INFO: Packet analysis {"connection_id":171117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:36:25] local.INFO: Extracted packet for processing {"connection_id":171117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:36:25] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":44,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861052928001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788519759000,"timestamp_ms":1788519759000,"timestamp_seconds":1788519759,"priority":1,"record_length":96,"hex_timestamp":"000001a06c15bc98"} 
[2026-09-04 16:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 16:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861052928001,"66":12885,"105":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861052928001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:36:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:36:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861052928001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":171117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:36:25] local.INFO: GPS data processed {"connection_id":171117,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:36:25] local.INFO: Acknowledgment sent {"connection_id":171117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:36:27] local.INFO: TCP Data received {"connection_id":173520,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:36:27] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:36:27] local.INFO: Packet analysis {"connection_id":173520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:36:27] local.INFO: Extracted packet for processing {"connection_id":173520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:36:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860976896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788519742000,"timestamp_ms":1788519742000,"timestamp_seconds":1788519742,"priority":1,"record_length":96,"hex_timestamp":"000001a06c157a30"} 
[2026-09-04 16:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860976896001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860976896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:36:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:36:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860976896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":173520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763618,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:36:27] local.INFO: GPS data processed {"connection_id":173520,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:36:27] local.INFO: Acknowledgment sent {"connection_id":173520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:36:35] local.INFO: TCP Data received {"connection_id":170825,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:36:35] local.INFO: Processing buffer {"connection_id":170825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:36:35] local.INFO: IMEI packet received {"connection_id":170825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 16:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":170825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:36:36] local.INFO: TCP Data received {"connection_id":172220,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c189328012cb2a10007823b700047002b29..."} 
[2026-09-04 16:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c189328012cb2a10007823b700047002b29..."} 
[2026-09-04 16:36:36] local.INFO: Processing buffer {"connection_id":172220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c189328012cb2a10007823b700047002b29..."} 
[2026-09-04 16:36:36] local.INFO: Packet analysis {"connection_id":172220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c18"} 
[2026-09-04 16:36:36] local.INFO: Extracted packet for processing {"connection_id":172220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c18"} 
[2026-09-04 16:36:36] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975408,"longitude_deg":74.9904128,"latitude_deg":12.5975408,"altitude":71,"angle":43,"satellites":41,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b70","is_valid_coordinates":true} 
[2026-09-04 16:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861067008001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788519945000,"timestamp_ms":1788519945000,"timestamp_seconds":1788519945,"priority":1,"record_length":96,"hex_timestamp":"000001a06c189328"} 
[2026-09-04 16:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 16:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861067008001,"66":25854,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861067008001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:36:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:36:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:36:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861067008001,"power":25854,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":172220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:36:36] local.INFO: GPS data processed {"connection_id":172220,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:36:36] local.INFO: Acknowledgment sent {"connection_id":172220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:36:36] local.INFO: TCP Data received {"connection_id":170825,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:36:36] local.INFO: Processing buffer {"connection_id":170825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:36:36] local.INFO: IMEI packet received {"connection_id":170825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":170825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:36:41] local.INFO: TCP Data received {"connection_id":170825,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:36:41] local.INFO: Processing buffer {"connection_id":170825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:36:41] local.INFO: IMEI packet received {"connection_id":170825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":170825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:36:41] local.INFO: TCP Data received {"connection_id":170825,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c17d3c0012d7ac94005dab260001700ef15..."} 
[2026-09-04 16:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c17d3c0012d7ac94005dab260001700ef15..."} 
[2026-09-04 16:36:41] local.INFO: Processing buffer {"connection_id":170825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c17d3c0012d7ac94005dab260001700ef15..."} 
[2026-09-04 16:36:41] local.INFO: Packet analysis {"connection_id":170825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c17"} 
[2026-09-04 16:36:41] local.INFO: Extracted packet for processing {"connection_id":170825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c17"} 
[2026-09-04 16:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763021632,"raw_latitude":98218592,"longitude_deg":76.3021632,"latitude_deg":9.8218592,"altitude":23,"angle":239,"satellites":21,"speed":1,"hex_longitude":"2d7ac940","hex_latitude":"05dab260","is_valid_coordinates":true} 
[2026-09-04 16:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861089792001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128132137298690048,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850276980368885760,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788519896000,"timestamp_ms":1788519896000,"timestamp_seconds":1788519896,"priority":1,"record_length":96,"hex_timestamp":"000001a06c17d3c0"} 
[2026-09-04 16:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 16:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861089792001,"66":13580,"229":206,"85":15104,"24":1,"16":128132137298690048,"45":8850276980368885760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861089792001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:36:41] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128132137298690048,"km_value":128132137298690.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850276980368885760,"description":"Unknown IO ID 45"} 
[2026-09-04 16:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861089792001,"power":13580,"unknown_229":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8850276980368885760}} 
[2026-09-04 16:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":170825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:36:41] local.INFO: GPS data processed {"connection_id":170825,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:36:41] local.INFO: Acknowledgment sent {"connection_id":170825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:36:47] local.INFO: TCP Data received {"connection_id":172221,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:36:47] local.INFO: Processing buffer {"connection_id":172221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:36:47] local.INFO: IMEI packet received {"connection_id":172221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":172221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:36:48] local.INFO: TCP Data received {"connection_id":172221,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:36:48] local.INFO: Processing buffer {"connection_id":172221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:36:48] local.INFO: IMEI packet received {"connection_id":172221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":172221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:36:48] local.INFO: TCP Data received {"connection_id":173521,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:36:48] local.INFO: Processing buffer {"connection_id":173521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:36:48] local.INFO: IMEI packet received {"connection_id":173521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":173521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:36:53] local.INFO: TCP Data received {"connection_id":172221,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:36:53] local.INFO: Processing buffer {"connection_id":172221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:36:53] local.INFO: IMEI packet received {"connection_id":172221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":172221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:36:54] local.INFO: TCP Data received {"connection_id":173521,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:36:54] local.INFO: Processing buffer {"connection_id":173521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:36:54] local.INFO: IMEI packet received {"connection_id":173521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":173521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:36:54] local.INFO: TCP Data received {"connection_id":172221,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c160ea0012d1824c00721b930004d01372b..."} 
[2026-09-04 16:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c160ea0012d1824c00721b930004d01372b..."} 
[2026-09-04 16:36:54] local.INFO: Processing buffer {"connection_id":172221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c160ea0012d1824c00721b930004d01372b..."} 
[2026-09-04 16:36:54] local.INFO: Packet analysis {"connection_id":172221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:36:54] local.INFO: Extracted packet for processing {"connection_id":172221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:36:54] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861058304001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788519780000,"timestamp_ms":1788519780000,"timestamp_seconds":1788519780,"priority":1,"record_length":96,"hex_timestamp":"000001a06c160ea0"} 
[2026-09-04 16:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 16:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861058304001,"66":12841,"105":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861058304001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:36:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:36:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861058304001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":172221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:36:54] local.INFO: GPS data processed {"connection_id":172221,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:36:54] local.INFO: Acknowledgment sent {"connection_id":172221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:36:55] local.INFO: TCP Data received {"connection_id":173521,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:36:55] local.INFO: Processing buffer {"connection_id":173521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:36:55] local.INFO: Packet analysis {"connection_id":173521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:36:55] local.INFO: Extracted packet for processing {"connection_id":173521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:36:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860976896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788519742000,"timestamp_ms":1788519742000,"timestamp_seconds":1788519742,"priority":1,"record_length":96,"hex_timestamp":"000001a06c157a30"} 
[2026-09-04 16:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860976896001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860976896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:36:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860976896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":173521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763622,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:36:56] local.INFO: GPS data processed {"connection_id":173521,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:36:56] local.INFO: Acknowledgment sent {"connection_id":173521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:36:59] local.INFO: TCP Data received {"connection_id":171118,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:36:59] local.INFO: Processing buffer {"connection_id":171118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:36:59] local.INFO: IMEI packet received {"connection_id":171118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":171118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:37:04] local.INFO: TCP Data received {"connection_id":171118,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:37:04] local.INFO: Processing buffer {"connection_id":171118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:37:04] local.INFO: IMEI packet received {"connection_id":171118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":171118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:37:05] local.INFO: TCP Data received {"connection_id":171118,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c189af8012cb2a04007823ae0004700bb27..."} 
[2026-09-04 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c189af8012cb2a04007823ae0004700bb27..."} 
[2026-09-04 16:37:05] local.INFO: Processing buffer {"connection_id":171118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c189af8012cb2a04007823ae0004700bb27..."} 
[2026-09-04 16:37:05] local.INFO: Packet analysis {"connection_id":171118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c18"} 
[2026-09-04 16:37:05] local.INFO: Extracted packet for processing {"connection_id":171118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c18"} 
[2026-09-04 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":749903936,"raw_latitude":125975264,"longitude_deg":74.9903936,"latitude_deg":12.5975264,"altitude":71,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2cb2a040","hex_latitude":"07823ae0","is_valid_coordinates":true} 
[2026-09-04 16:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861105920001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085194222927872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458258944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788519947000,"timestamp_ms":1788519947000,"timestamp_seconds":1788519947,"priority":1,"record_length":96,"hex_timestamp":"000001a06c189af8"} 
[2026-09-04 16:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 16:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861105920001,"66":19896,"243":206,"85":36096,"24":0,"16":398085194222927872,"44":-5575174831458258944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861105920001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:37:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085194222927872,"km_value":398085194222927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:37:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458258944,"description":"Unknown IO ID 44"} 
[2026-09-04 16:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861105920001,"power":19896,"unknown_243":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458258944}} 
[2026-09-04 16:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":171118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:37:05] local.INFO: GPS data processed {"connection_id":171118,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:37:05] local.INFO: Acknowledgment sent {"connection_id":171118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:37:13] local.INFO: TCP Data received {"connection_id":170825,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c19bff0012d7a3f0005da9438000b013a18..."} 
[2026-09-04 16:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c19bff0012d7a3f0005da9438000b013a18..."} 
[2026-09-04 16:37:13] local.INFO: Processing buffer {"connection_id":170825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c19bff0012d7a3f0005da9438000b013a18..."} 
[2026-09-04 16:37:13] local.INFO: Packet analysis {"connection_id":170825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:37:13] local.INFO: Extracted packet for processing {"connection_id":170825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:37:13] local.INFO: GPS Element Parsed {"raw_longitude":762986240,"raw_latitude":98210872,"longitude_deg":76.298624,"latitude_deg":9.8210872,"altitude":11,"angle":314,"satellites":24,"speed":8,"hex_longitude":"2d7a3f00","hex_latitude":"05da9438","is_valid_coordinates":true} 
[2026-09-04 16:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861125120001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128133893940314112,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896278618112,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788520022000,"timestamp_ms":1788520022000,"timestamp_seconds":1788520022,"priority":1,"record_length":96,"hex_timestamp":"000001a06c19bff0"} 
[2026-09-04 16:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-04 16:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":170825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":170825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":170825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861125120001,"66":13928,"229":206,"85":15104,"24":8,"16":128133893940314112,"45":8809040896278618112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861125120001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:37:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128133893940314112,"km_value":128133893940314.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896278618112,"description":"Unknown IO ID 45"} 
[2026-09-04 16:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861125120001,"power":13928,"unknown_229":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8809040896278618112}} 
[2026-09-04 16:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":170825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:37:13] local.INFO: GPS data processed {"connection_id":170825,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:37:13] local.INFO: Acknowledgment sent {"connection_id":170825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:37:25] local.INFO: TCP Data received {"connection_id":172221,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1660a8012d1824c00721b930004d01372c..."} 
[2026-09-04 16:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1660a8012d1824c00721b930004d01372c..."} 
[2026-09-04 16:37:25] local.INFO: Processing buffer {"connection_id":172221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1660a8012d1824c00721b930004d01372c..."} 
[2026-09-04 16:37:25] local.INFO: Packet analysis {"connection_id":172221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:37:25] local.INFO: Extracted packet for processing {"connection_id":172221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:37:25] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":44,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861063680001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788519801000,"timestamp_ms":1788519801000,"timestamp_seconds":1788519801,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1660a8"} 
[2026-09-04 16:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 16:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861063680001,"66":12841,"19":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-04 16:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861063680001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:37:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-04 16:37:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861063680001,"power":12841,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":172221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:37:25] local.INFO: GPS data processed {"connection_id":172221,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:37:25] local.INFO: Acknowledgment sent {"connection_id":172221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:37:27] local.INFO: TCP Data received {"connection_id":173521,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:37:27] local.INFO: Processing buffer {"connection_id":173521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:37:27] local.INFO: Packet analysis {"connection_id":173521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:37:27] local.INFO: Extracted packet for processing {"connection_id":173521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:37:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860976896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788519742000,"timestamp_ms":1788519742000,"timestamp_seconds":1788519742,"priority":1,"record_length":96,"hex_timestamp":"000001a06c157a30"} 
[2026-09-04 16:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860976896001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860976896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:37:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:37:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860976896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":173521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763626,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:37:27] local.INFO: GPS data processed {"connection_id":173521,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:37:27] local.INFO: Acknowledgment sent {"connection_id":173521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:37:35] local.INFO: TCP Data received {"connection_id":171118,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c198558012cb2a3c007823758004600b32c..."} 
[2026-09-04 16:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c198558012cb2a3c007823758004600b32c..."} 
[2026-09-04 16:37:35] local.INFO: Processing buffer {"connection_id":171118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c198558012cb2a3c007823758004600b32c..."} 
[2026-09-04 16:37:35] local.INFO: Packet analysis {"connection_id":171118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:37:35] local.INFO: Extracted packet for processing {"connection_id":171118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:37:35] local.INFO: GPS Element Parsed {"raw_longitude":749904832,"raw_latitude":125974360,"longitude_deg":74.9904832,"latitude_deg":12.597436,"altitude":70,"angle":179,"satellites":44,"speed":10,"hex_longitude":"2cb2a3c0","hex_latitude":"07823758","is_valid_coordinates":true} 
[2026-09-04 16:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861121536001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085293007175680,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574400775272501248,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788520007000,"timestamp_ms":1788520007000,"timestamp_seconds":1788520007,"priority":1,"record_length":96,"hex_timestamp":"000001a06c198558"} 
[2026-09-04 16:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 16:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861121536001,"66":27767,"243":206,"85":36096,"24":10,"16":398085293007175680,"44":-5574400775272501248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861121536001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:37:35] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:37:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085293007175680,"km_value":398085293007175.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574400775272501248,"description":"Unknown IO ID 44"} 
[2026-09-04 16:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861121536001,"power":27767,"unknown_243":206,"unknown_85":36096,"ignition":10,"odometer":null,"unknown_44":-5574400775272501248}} 
[2026-09-04 16:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":171118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:37:35] local.INFO: GPS data processed {"connection_id":171118,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:37:35] local.INFO: Acknowledgment sent {"connection_id":171118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:37:36] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:37:36] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:37:36] local.INFO: IMEI packet received {"connection_id":173522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 16:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":173522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:37:40] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:37:40] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:37:40] local.INFO: IMEI packet received {"connection_id":173522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":173522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:37:41] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c19c7c0012d7a3dc005da95d0000c014e19..."} 
[2026-09-04 16:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c19c7c0012d7a3dc005da95d0000c014e19..."} 
[2026-09-04 16:37:41] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c19c7c0012d7a3dc005da95d0000c014e19..."} 
[2026-09-04 16:37:41] local.INFO: Packet analysis {"connection_id":173522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:37:41] local.INFO: Extracted packet for processing {"connection_id":173522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:37:41] local.INFO: GPS Element Parsed {"raw_longitude":762985920,"raw_latitude":98211280,"longitude_deg":76.298592,"latitude_deg":9.821128,"altitude":12,"angle":334,"satellites":25,"speed":10,"hex_longitude":"2d7a3dc0","hex_latitude":"05da95d0","is_valid_coordinates":true} 
[2026-09-04 16:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861125632001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128133919710117888,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808759421301962752,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788520024000,"timestamp_ms":1788520024000,"timestamp_seconds":1788520024,"priority":1,"record_length":96,"hex_timestamp":"000001a06c19c7c0"} 
[2026-09-04 16:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 16:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861125632001,"66":13798,"229":206,"85":15104,"24":10,"16":128133919710117888,"45":8808759421301962752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861125632001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:37:41] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128133919710117888,"km_value":128133919710117.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808759421301962752,"description":"Unknown IO ID 45"} 
[2026-09-04 16:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861125632001,"power":13798,"unknown_229":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8808759421301962752}} 
[2026-09-04 16:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":173522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:37:41] local.INFO: GPS data processed {"connection_id":173522,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:37:41] local.INFO: Acknowledgment sent {"connection_id":173522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:37:48] local.INFO: TCP Data received {"connection_id":172222,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:37:48] local.INFO: Processing buffer {"connection_id":172222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:37:48] local.INFO: IMEI packet received {"connection_id":172222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":172222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:37:48] local.INFO: TCP Data received {"connection_id":171119,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:37:48] local.INFO: Processing buffer {"connection_id":171119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:37:48] local.INFO: IMEI packet received {"connection_id":171119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":171119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:37:53] local.INFO: TCP Data received {"connection_id":172222,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:37:53] local.INFO: Processing buffer {"connection_id":172222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:37:53] local.INFO: IMEI packet received {"connection_id":172222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":172222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:37:54] local.INFO: TCP Data received {"connection_id":172222,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c16b2b0012d1824c00721b930004d01372c..."} 
[2026-09-04 16:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c16b2b0012d1824c00721b930004d01372c..."} 
[2026-09-04 16:37:54] local.INFO: Processing buffer {"connection_id":172222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c16b2b0012d1824c00721b930004d01372c..."} 
[2026-09-04 16:37:54] local.INFO: Packet analysis {"connection_id":172222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:37:54] local.INFO: Extracted packet for processing {"connection_id":172222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c16"} 
[2026-09-04 16:37:54] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":44,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861069056001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788519822000,"timestamp_ms":1788519822000,"timestamp_seconds":1788519822,"priority":1,"record_length":96,"hex_timestamp":"000001a06c16b2b0"} 
[2026-09-04 16:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 16:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861069056001,"66":12841,"19":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-04 16:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861069056001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:37:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-04 16:37:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861069056001,"power":12841,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":172222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:37:54] local.INFO: GPS data processed {"connection_id":172222,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:37:54] local.INFO: Acknowledgment sent {"connection_id":172222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:37:55] local.INFO: TCP Data received {"connection_id":171119,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:37:55] local.INFO: Processing buffer {"connection_id":171119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:37:55] local.INFO: IMEI packet received {"connection_id":171119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":171119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:37:57] local.INFO: TCP Data received {"connection_id":171119,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:37:57] local.INFO: Processing buffer {"connection_id":171119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c157a30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:37:57] local.INFO: Packet analysis {"connection_id":171119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:37:57] local.INFO: Extracted packet for processing {"connection_id":171119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c15"} 
[2026-09-04 16:37:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457860976896001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788519742000,"timestamp_ms":1788519742000,"timestamp_seconds":1788519742,"priority":1,"record_length":96,"hex_timestamp":"000001a06c157a30"} 
[2026-09-04 16:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457860976896001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457860976896001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:37:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:37:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457860976896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":171119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763630,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:37:57] local.INFO: GPS data processed {"connection_id":171119,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:37:57] local.INFO: Acknowledgment sent {"connection_id":171119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:37:59] local.INFO: TCP Data received {"connection_id":171120,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:37:59] local.INFO: Processing buffer {"connection_id":171120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:37:59] local.INFO: IMEI packet received {"connection_id":171120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":171120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:38:02] local.INFO: TCP Data received {"connection_id":171120,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:38:02] local.INFO: Processing buffer {"connection_id":171120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:38:02] local.INFO: IMEI packet received {"connection_id":171120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":171120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:38:02] local.INFO: TCP Data received {"connection_id":171120,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c19a0b0012cb2a34007823058004600c02b..."} 
[2026-09-04 16:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c19a0b0012cb2a34007823058004600c02b..."} 
[2026-09-04 16:38:02] local.INFO: Processing buffer {"connection_id":171120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c19a0b0012cb2a34007823058004600c02b..."} 
[2026-09-04 16:38:02] local.INFO: Packet analysis {"connection_id":171120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:38:02] local.INFO: Extracted packet for processing {"connection_id":171120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:38:02] local.INFO: GPS Element Parsed {"raw_longitude":749904704,"raw_latitude":125972568,"longitude_deg":74.9904704,"latitude_deg":12.5972568,"altitude":70,"angle":192,"satellites":43,"speed":10,"hex_longitude":"2cb2a340","hex_latitude":"07823058","is_valid_coordinates":true} 
[2026-09-04 16:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861121792001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085378906521600,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574400775272572928,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788520014000,"timestamp_ms":1788520014000,"timestamp_seconds":1788520014,"priority":1,"record_length":96,"hex_timestamp":"000001a06c19a0b0"} 
[2026-09-04 16:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 16:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861121792001,"66":27919,"243":206,"85":36096,"24":10,"16":398085378906521600,"44":-5574400775272572928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861121792001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:38:02] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085378906521600,"km_value":398085378906521.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:38:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574400775272572928,"description":"Unknown IO ID 44"} 
[2026-09-04 16:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861121792001,"power":27919,"unknown_243":206,"unknown_85":36096,"ignition":10,"odometer":null,"unknown_44":-5574400775272572928}} 
[2026-09-04 16:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":171120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:38:02] local.INFO: GPS data processed {"connection_id":171120,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:38:02] local.INFO: Acknowledgment sent {"connection_id":171120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:38:19] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c19cba8012d7a3d8005da96d0000c015b19..."} 
[2026-09-04 16:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c19cba8012d7a3d8005da96d0000c015b19..."} 
[2026-09-04 16:38:19] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c19cba8012d7a3d8005da96d0000c015b19..."} 
[2026-09-04 16:38:19] local.INFO: Packet analysis {"connection_id":173522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:38:19] local.INFO: Extracted packet for processing {"connection_id":173522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:38:19] local.INFO: GPS Element Parsed {"raw_longitude":762985856,"raw_latitude":98211536,"longitude_deg":76.2985856,"latitude_deg":9.8211536,"altitude":12,"angle":347,"satellites":25,"speed":11,"hex_longitude":"2d7a3d80","hex_latitude":"05da96d0","is_valid_coordinates":true} 
[2026-09-04 16:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861126144001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128133932595019776,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808407577581178880,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788520025000,"timestamp_ms":1788520025000,"timestamp_seconds":1788520025,"priority":1,"record_length":96,"hex_timestamp":"000001a06c19cba8"} 
[2026-09-04 16:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 16:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861126144001,"66":13798,"229":206,"85":15104,"24":11,"16":128133932595019776,"45":8808407577581178880},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861126144001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:38:19] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:38:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128133932595019776,"km_value":128133932595019.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808407577581178880,"description":"Unknown IO ID 45"} 
[2026-09-04 16:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861126144001,"power":13798,"unknown_229":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8808407577581178880}} 
[2026-09-04 16:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":173522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:38:19] local.INFO: GPS data processed {"connection_id":173522,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:38:19] local.INFO: Acknowledgment sent {"connection_id":173522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:38:25] local.INFO: TCP Data received {"connection_id":172222,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1704b8012d1824c00721b930004d01372a..."} 
[2026-09-04 16:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1704b8012d1824c00721b930004d01372a..."} 
[2026-09-04 16:38:25] local.INFO: Processing buffer {"connection_id":172222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1704b8012d1824c00721b930004d01372a..."} 
[2026-09-04 16:38:25] local.INFO: Packet analysis {"connection_id":172222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c17"} 
[2026-09-04 16:38:25] local.INFO: Extracted packet for processing {"connection_id":172222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c17"} 
[2026-09-04 16:38:25] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861074432001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788519843000,"timestamp_ms":1788519843000,"timestamp_seconds":1788519843,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1704b8"} 
[2026-09-04 16:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 16:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861074432001,"66":12809,"19":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-04 16:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861074432001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:38:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-04 16:38:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861074432001,"power":12809,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":172222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:38:25] local.INFO: GPS data processed {"connection_id":172222,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:38:25] local.INFO: Acknowledgment sent {"connection_id":172222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:38:29] local.INFO: TCP Data received {"connection_id":171119,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:38:29] local.INFO: Processing buffer {"connection_id":171119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:38:29] local.INFO: Packet analysis {"connection_id":171119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:38:29] local.INFO: Extracted packet for processing {"connection_id":171119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:38:29] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861053952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788520043000,"timestamp_ms":1788520043000,"timestamp_seconds":1788520043,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1a11f8"} 
[2026-09-04 16:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861053952001,"66":24864,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861053952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:38:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:38:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861053952001,"power":24864,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":171119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:38:29] local.INFO: GPS data processed {"connection_id":171119,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:38:29] local.INFO: Acknowledgment sent {"connection_id":171119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:38:33] local.INFO: TCP Data received {"connection_id":171120,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c19a880012cb2a24007822e10004600ce2b..."} 
[2026-09-04 16:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c19a880012cb2a24007822e10004600ce2b..."} 
[2026-09-04 16:38:33] local.INFO: Processing buffer {"connection_id":171120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c19a880012cb2a24007822e10004600ce2b..."} 
[2026-09-04 16:38:33] local.INFO: Packet analysis {"connection_id":171120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:38:33] local.INFO: Extracted packet for processing {"connection_id":171120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:38:33] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125971984,"longitude_deg":74.9904448,"latitude_deg":12.5971984,"altitude":70,"angle":206,"satellites":43,"speed":12,"hex_longitude":"2cb2a240","hex_latitude":"07822e10","is_valid_coordinates":true} 
[2026-09-04 16:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861123584001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085413266259968,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512761387008,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788520016000,"timestamp_ms":1788520016000,"timestamp_seconds":1788520016,"priority":1,"record_length":96,"hex_timestamp":"000001a06c19a880"} 
[2026-09-04 16:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 16:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861123584001,"66":26832,"243":206,"85":36096,"24":12,"16":398085413266259968,"44":-5574541512761387008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861123584001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:38:33] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085413266259968,"km_value":398085413266259.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:38:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512761387008,"description":"Unknown IO ID 44"} 
[2026-09-04 16:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861123584001,"power":26832,"unknown_243":206,"unknown_85":36096,"ignition":12,"odometer":null,"unknown_44":-5574541512761387008}} 
[2026-09-04 16:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":171120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:38:34] local.INFO: GPS data processed {"connection_id":171120,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:38:34] local.INFO: Acknowledgment sent {"connection_id":171120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:38:35] local.INFO: TCP Data received {"connection_id":172223,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:38:35] local.INFO: Processing buffer {"connection_id":172223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:38:35] local.INFO: IMEI packet received {"connection_id":172223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 16:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":172223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:38:40] local.INFO: TCP Data received {"connection_id":172223,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:38:40] local.INFO: Processing buffer {"connection_id":172223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:38:40] local.INFO: IMEI packet received {"connection_id":172223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":172223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:38:41] local.INFO: TCP Data received {"connection_id":172223,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c19eae8012d7a3b0005daa388000b014919..."} 
[2026-09-04 16:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c19eae8012d7a3b0005daa388000b014919..."} 
[2026-09-04 16:38:41] local.INFO: Processing buffer {"connection_id":172223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c19eae8012d7a3b0005daa388000b014919..."} 
[2026-09-04 16:38:41] local.INFO: Packet analysis {"connection_id":172223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:38:41] local.INFO: Extracted packet for processing {"connection_id":172223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:38:41] local.INFO: GPS Element Parsed {"raw_longitude":762985216,"raw_latitude":98214792,"longitude_deg":76.2985216,"latitude_deg":9.8214792,"altitude":11,"angle":329,"satellites":25,"speed":10,"hex_longitude":"2d7a3b00","hex_latitude":"05daa388","is_valid_coordinates":true} 
[2026-09-04 16:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861126400001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128134095803777024,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808337208837066752,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788520033000,"timestamp_ms":1788520033000,"timestamp_seconds":1788520033,"priority":1,"record_length":96,"hex_timestamp":"000001a06c19eae8"} 
[2026-09-04 16:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 16:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861126400001,"66":13656,"229":206,"85":15104,"24":10,"16":128134095803777024,"45":8808337208837066752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861126400001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:38:41] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128134095803777024,"km_value":128134095803777.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808337208837066752,"description":"Unknown IO ID 45"} 
[2026-09-04 16:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861126400001,"power":13656,"unknown_229":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8808337208837066752}} 
[2026-09-04 16:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":172223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:38:41] local.INFO: GPS data processed {"connection_id":172223,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:38:41] local.INFO: Acknowledgment sent {"connection_id":172223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:38:53] local.INFO: TCP Data received {"connection_id":173523,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:38:53] local.INFO: Processing buffer {"connection_id":173523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:38:53] local.INFO: IMEI packet received {"connection_id":173523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":173523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:38:53] local.INFO: TCP Data received {"connection_id":173524,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:38:53] local.INFO: Processing buffer {"connection_id":173524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:38:53] local.INFO: IMEI packet received {"connection_id":173524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":173524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:38:58] local.INFO: TCP Data received {"connection_id":173523,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:38:58] local.INFO: Processing buffer {"connection_id":173523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:38:58] local.INFO: IMEI packet received {"connection_id":173523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":173523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:38:59] local.INFO: TCP Data received {"connection_id":173524,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:38:59] local.INFO: Processing buffer {"connection_id":173524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:38:59] local.INFO: IMEI packet received {"connection_id":173524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":173524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:38:59] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:38:59] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:38:59] local.INFO: IMEI packet received {"connection_id":173525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":173525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:38:59] local.INFO: TCP Data received {"connection_id":173523,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1756c0012d1824c00721b930004d01372c..."} 
[2026-09-04 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1756c0012d1824c00721b930004d01372c..."} 
[2026-09-04 16:38:59] local.INFO: Processing buffer {"connection_id":173523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1756c0012d1824c00721b930004d01372c..."} 
[2026-09-04 16:38:59] local.INFO: Packet analysis {"connection_id":173523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c17"} 
[2026-09-04 16:38:59] local.INFO: Extracted packet for processing {"connection_id":173523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c17"} 
[2026-09-04 16:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":44,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861079808001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788519864000,"timestamp_ms":1788519864000,"timestamp_seconds":1788519864,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1756c0"} 
[2026-09-04 16:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3942645760,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":108,"raw_value":1497024668687148224,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3106930765,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":106,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3221692857,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854281301347923,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2481651712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430026251793151789,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 16:38:59] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,19,83,24,241,157,16,147,160,178,45,192,185,77,44,10,66,96,14,1,240,41,227,108,33,4,113,205,106,36,48,239,50,105,2,61,7,164,235],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 16:38:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548776869425315840,"timestamp_seconds":5548776869425316.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861079808001,"66":12819,"19":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-04 16:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861079808001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:38:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-04 16:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861079808001,"power":12819,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":173523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:38:59] local.INFO: GPS data processed {"connection_id":173523,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:38:59] local.INFO: Acknowledgment sent {"connection_id":173523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:39:00] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:39:00] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:39:00] local.INFO: IMEI packet received {"connection_id":173525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":173525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:39:01] local.INFO: TCP Data received {"connection_id":173524,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:39:01] local.INFO: Processing buffer {"connection_id":173524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:39:01] local.INFO: Packet analysis {"connection_id":173524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:39:01] local.INFO: Extracted packet for processing {"connection_id":173524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:39:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861053952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788520043000,"timestamp_ms":1788520043000,"timestamp_seconds":1788520043,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1a11f8"} 
[2026-09-04 16:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861053952001,"66":24864,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861053952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:39:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:39:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861053952001,"power":24864,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":173524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:39:01] local.INFO: GPS data processed {"connection_id":173524,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:39:01] local.INFO: Acknowledgment sent {"connection_id":173524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:39:03] local.INFO: TCP Data received {"connection_id":173523,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c17a8c8012d1824c00721b930004d01372d..."} 
[2026-09-04 16:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c17a8c8012d1824c00721b930004d01372d..."} 
[2026-09-04 16:39:03] local.INFO: Processing buffer {"connection_id":173523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c17a8c8012d1824c00721b930004d01372d..."} 
[2026-09-04 16:39:03] local.INFO: Packet analysis {"connection_id":173523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c17"} 
[2026-09-04 16:39:03] local.INFO: Extracted packet for processing {"connection_id":173523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c17"} 
[2026-09-04 16:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650608,"longitude_deg":75.6556992,"latitude_deg":11.9650608,"altitude":77,"angle":311,"satellites":45,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b930","is_valid_coordinates":true} 
[2026-09-04 16:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861085184001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332611105947648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934942720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788519885000,"timestamp_ms":1788519885000,"timestamp_seconds":1788519885,"priority":1,"record_length":96,"hex_timestamp":"000001a06c17a8c8"} 
[2026-09-04 16:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3942645760,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503864102027264,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":108,"raw_value":1520114412870444224,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3106930765,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3221692857,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":21674909696524288,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182212529750272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854281301347923,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2481651712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430026251793151788,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195028224,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84750514109489593,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:03] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,19,83,24,241,157,16,147,160,4,45,192,185,77,42,10,66,178,44,96,1,240,41,227,108,33,113,205,188,36,48,239,50,105,2,61,7,164,235,69,128],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-04 16:39:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548776878015250432,"timestamp_seconds":5548776878015250.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861085184001,"66":12798,"19":206,"83":41984,"24":0,"16":17332611105947648,"45":1739726492934942720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-04 16:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861085184001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:39:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-04 16:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332611105947648,"km_value":17332611105947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934942720,"description":"Unknown IO ID 45"} 
[2026-09-04 16:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861085184001,"power":12798,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934942720}} 
[2026-09-04 16:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":173523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:39:03] local.INFO: GPS data processed {"connection_id":173523,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:39:03] local.INFO: Acknowledgment sent {"connection_id":173523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:39:04] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:39:04] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:39:04] local.INFO: IMEI packet received {"connection_id":173525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":173525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:39:04] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c19c7c0012cb29bc007822488004500d92c..."} 
[2026-09-04 16:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c19c7c0012cb29bc007822488004500d92c..."} 
[2026-09-04 16:39:04] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c19c7c0012cb29bc007822488004500d92c..."} 
[2026-09-04 16:39:04] local.INFO: Packet analysis {"connection_id":173525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:39:04] local.INFO: Extracted packet for processing {"connection_id":173525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c19"} 
[2026-09-04 16:39:04] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969544,"longitude_deg":74.9902784,"latitude_deg":12.5969544,"altitude":69,"angle":217,"satellites":44,"speed":15,"hex_longitude":"2cb29bc0","hex_latitude":"07822488","is_valid_coordinates":true} 
[2026-09-04 16:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861124096001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398085555000180736,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987738247168,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788520024000,"timestamp_ms":1788520024000,"timestamp_seconds":1788520024,"priority":1,"record_length":96,"hex_timestamp":"000001a06c19c7c0"} 
[2026-09-04 16:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-09-04 16:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861124096001,"66":27887,"243":206,"85":36096,"24":15,"16":398085555000180736,"44":-5574822987738247168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,44]} 
[2026-09-04 16:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861124096001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:39:04] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-04 16:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398085555000180736,"km_value":398085555000180.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:39:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987738247168,"description":"Unknown IO ID 44"} 
[2026-09-04 16:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861124096001,"power":27887,"unknown_243":206,"unknown_85":36096,"ignition":15,"odometer":null,"unknown_44":-5574822987738247168}} 
[2026-09-04 16:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":173525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:39:04] local.INFO: GPS data processed {"connection_id":173525,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:39:04] local.INFO: Acknowledgment sent {"connection_id":173525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:39:12] local.INFO: TCP Data received {"connection_id":172223,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1b5630012d7a31c005daa300000700b31a..."} 
[2026-09-04 16:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1b5630012d7a31c005daa300000700b31a..."} 
[2026-09-04 16:39:12] local.INFO: Processing buffer {"connection_id":172223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1b5630012d7a31c005daa300000700b31a..."} 
[2026-09-04 16:39:12] local.INFO: Packet analysis {"connection_id":172223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:39:12] local.INFO: Extracted packet for processing {"connection_id":172223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:39:12] local.INFO: GPS Element Parsed {"raw_longitude":762982848,"raw_latitude":98214656,"longitude_deg":76.2982848,"latitude_deg":9.8214656,"altitude":7,"angle":179,"satellites":26,"speed":2,"hex_longitude":"2d7a31c0","hex_latitude":"05daa300","is_valid_coordinates":true} 
[2026-09-04 16:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861152000001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128134340616912896,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805029877861570560,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788520126000,"timestamp_ms":1788520126000,"timestamp_seconds":1788520126,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1b5630"} 
[2026-09-04 16:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-04 16:39:12] local.WARNING: Large IO value detected {"io_id":24,"raw_value":562958559150080,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627276468480,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:12] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2760900619,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816803022,"corrected_to":0} 
[2026-09-04 16:39:12] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2147867301,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:12] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812327,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3668273152,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:12] local.WARNING: Large IO value detected {"io_id":96,"raw_value":1729713734730909146,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:12] local.WARNING: Large IO value detected {"io_id":165,"raw_value":-5188134674406768637,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:12] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,229,85,24,241,157,16,57,160,4,45,192,163,8,25,10,66,175,252,162,193,1,240,227,108,218,113,205,2,107,50,32,239,53,199,5,11,96,165],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2816803022,"validated":0}]} 
[2026-09-04 16:39:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576468560553967616,"timestamp_seconds":576468560553967.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861152000001,"66":13580,"229":206,"85":15104,"24":2,"16":128134340616912896,"45":8805029877861570560},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861152000001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:39:12] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128134340616912896,"km_value":128134340616912.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805029877861570560,"description":"Unknown IO ID 45"} 
[2026-09-04 16:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861152000001,"power":13580,"unknown_229":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8805029877861570560}} 
[2026-09-04 16:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":172223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:39:12] local.INFO: GPS data processed {"connection_id":172223,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:39:12] local.INFO: Acknowledgment sent {"connection_id":172223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:39:34] local.INFO: TCP Data received {"connection_id":173524,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:39:34] local.INFO: Processing buffer {"connection_id":173524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:39:34] local.INFO: Packet analysis {"connection_id":173524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:39:34] local.INFO: Extracted packet for processing {"connection_id":173524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861053952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788520043000,"timestamp_ms":1788520043000,"timestamp_seconds":1788520043,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1a11f8"} 
[2026-09-04 16:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861053952001,"66":24864,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861053952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:39:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:39:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861053952001,"power":24864,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":173524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763642,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:39:34] local.INFO: GPS data processed {"connection_id":173524,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:39:34] local.INFO: Acknowledgment sent {"connection_id":173524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:39:35] local.INFO: TCP Data received {"connection_id":171121,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:39:35] local.INFO: Processing buffer {"connection_id":171121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:39:35] local.INFO: IMEI packet received {"connection_id":171121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 16:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":171121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:39:37] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1b42a8012cb37c00078194a8004c00802d..."} 
[2026-09-04 16:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1b42a8012cb37c00078194a8004c00802d..."} 
[2026-09-04 16:39:37] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1b42a8012cb37c00078194a8004c00802d..."} 
[2026-09-04 16:39:37] local.INFO: Packet analysis {"connection_id":173525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:39:37] local.INFO: Extracted packet for processing {"connection_id":173525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:39:37] local.INFO: GPS Element Parsed {"raw_longitude":749960192,"raw_latitude":125932712,"longitude_deg":74.9960192,"latitude_deg":12.5932712,"altitude":76,"angle":128,"satellites":45,"speed":29,"hex_longitude":"2cb37c00","hex_latitude":"078194a8","is_valid_coordinates":true} 
[2026-09-04 16:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861148160001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398089128412971008,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5521202004683460608,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788520121000,"timestamp_ms":1788520121000,"timestamp_seconds":1788520121,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1b42a8"} 
[2026-09-04 16:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 16:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861148160001,"66":27974,"89":206,"85":36096,"24":29,"16":398089128412971008,"44":-5521202004683460608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-04 16:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861148160001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:39:37] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 16:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-04 16:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398089128412971008,"km_value":398089128412971.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:39:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5521202004683460608,"description":"Unknown IO ID 44"} 
[2026-09-04 16:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861148160001,"power":27974,"unknown_89":206,"unknown_85":36096,"ignition":29,"odometer":null,"unknown_44":-5521202004683460608}} 
[2026-09-04 16:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":173525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:39:37] local.INFO: GPS data processed {"connection_id":173525,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:39:37] local.INFO: Acknowledgment sent {"connection_id":173525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:39:41] local.INFO: TCP Data received {"connection_id":171121,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:39:41] local.INFO: Processing buffer {"connection_id":171121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 16:39:41] local.INFO: IMEI packet received {"connection_id":171121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 16:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":171121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:39:41] local.INFO: TCP Data received {"connection_id":171121,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1b61e8012d7a31c005daa298000700ad1a..."} 
[2026-09-04 16:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1b61e8012d7a31c005daa298000700ad1a..."} 
[2026-09-04 16:39:41] local.INFO: Processing buffer {"connection_id":171121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1b61e8012d7a31c005daa298000700ad1a..."} 
[2026-09-04 16:39:41] local.INFO: Packet analysis {"connection_id":171121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:39:41] local.INFO: Extracted packet for processing {"connection_id":171121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:39:41] local.INFO: GPS Element Parsed {"raw_longitude":762982848,"raw_latitude":98214552,"longitude_deg":76.2982848,"latitude_deg":9.8214552,"altitude":7,"angle":173,"satellites":26,"speed":0,"hex_longitude":"2d7a31c0","hex_latitude":"05daa298","is_valid_coordinates":true} 
[2026-09-04 16:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861152256001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128134344911880192,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805029877861515264,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788520129000,"timestamp_ms":1788520129000,"timestamp_seconds":1788520129,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1b61e8"} 
[2026-09-04 16:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630137,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435131365,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4091115641187074048,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2720006153,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816803022,"corrected_to":0} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2684431738,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2147867300,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271324000858539,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3668254720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3638914935551426571,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:41] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,229,85,24,241,157,16,57,160,82,45,192,163,8,26,10,66,4,25,175,252,1,240,93,227,108,218,113,205,115,50,144,239,53,2,199,5,11,3,122,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2816803022,"validated":0}]} 
[2026-09-04 16:39:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504600082516148224,"timestamp_seconds":504600082516148.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 16:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 16:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 16:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861152256001,"66":13624,"229":206,"85":15104,"24":0,"16":128134344911880192,"45":8805029877861515264},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 16:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 16:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 16:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861152256001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:39:41] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 16:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 16:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128134344911880192,"km_value":128134344911880.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805029877861515264,"description":"Unknown IO ID 45"} 
[2026-09-04 16:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861152256001,"power":13624,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805029877861515264}} 
[2026-09-04 16:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":171121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:39:42] local.INFO: GPS data processed {"connection_id":171121,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:39:42] local.INFO: Acknowledgment sent {"connection_id":171121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:39:46] local.INFO: TCP Data received {"connection_id":171122,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:39:46] local.INFO: Processing buffer {"connection_id":171122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:39:46] local.INFO: IMEI packet received {"connection_id":171122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":171122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:39:48] local.INFO: TCP Data received {"connection_id":171122,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:39:48] local.INFO: Processing buffer {"connection_id":171122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:39:48] local.INFO: IMEI packet received {"connection_id":171122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":171122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:39:48] local.INFO: TCP Data received {"connection_id":171123,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:39:48] local.INFO: Processing buffer {"connection_id":171123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:39:48] local.INFO: IMEI packet received {"connection_id":171123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":171123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:39:53] local.INFO: TCP Data received {"connection_id":171122,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:39:53] local.INFO: Processing buffer {"connection_id":171122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:39:53] local.INFO: IMEI packet received {"connection_id":171122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":171122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:39:54] local.INFO: TCP Data received {"connection_id":171122,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1b0810012d1820000721b0d0005000dc2d..."} 
[2026-09-04 16:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1b0810012d1820000721b0d0005000dc2d..."} 
[2026-09-04 16:39:54] local.INFO: Processing buffer {"connection_id":171122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1b0810012d1820000721b0d0005000dc2d..."} 
[2026-09-04 16:39:54] local.INFO: Packet analysis {"connection_id":171122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:39:54] local.INFO: Extracted packet for processing {"connection_id":171122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:39:54] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648464,"longitude_deg":75.6555776,"latitude_deg":11.9648464,"altitude":80,"angle":220,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0d0","is_valid_coordinates":true} 
[2026-09-04 16:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861141760001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332735659999232,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795091968,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788520106000,"timestamp_ms":1788520106000,"timestamp_seconds":1788520106,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1b0810"} 
[2026-09-04 16:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-04 16:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861141760001,"66":12645,"105":206,"83":41984,"24":0,"16":17332735659999232,"45":1738389486795091968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861141760001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:39:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:39:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332735659999232,"km_value":17332735659999.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795091968,"description":"Unknown IO ID 45"} 
[2026-09-04 16:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861141760001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795091968}} 
[2026-09-04 16:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":171122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:39:54] local.INFO: GPS data processed {"connection_id":171122,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:39:54] local.INFO: Acknowledgment sent {"connection_id":171122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:39:54] local.INFO: TCP Data received {"connection_id":171123,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:39:54] local.INFO: Processing buffer {"connection_id":171123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:39:54] local.INFO: IMEI packet received {"connection_id":171123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":171123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:39:56] local.INFO: TCP Data received {"connection_id":171123,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:39:56] local.INFO: Processing buffer {"connection_id":171123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:39:56] local.INFO: Packet analysis {"connection_id":171123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:39:56] local.INFO: Extracted packet for processing {"connection_id":171123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:39:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861053952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788520043000,"timestamp_ms":1788520043000,"timestamp_seconds":1788520043,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1a11f8"} 
[2026-09-04 16:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861053952001,"66":24864,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861053952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:39:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:39:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861053952001,"power":24864,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":171123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:39:56] local.INFO: GPS data processed {"connection_id":171123,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:39:56] local.INFO: Acknowledgment sent {"connection_id":171123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:39:58] local.INFO: TCP Data received {"connection_id":170826,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:39:59] local.INFO: Processing buffer {"connection_id":170826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:39:59] local.INFO: IMEI packet received {"connection_id":170826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":170826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:39:59] local.INFO: TCP Data received {"connection_id":170826,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:39:59] local.INFO: Processing buffer {"connection_id":170826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:39:59] local.INFO: IMEI packet received {"connection_id":170826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":170826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:40:04] local.INFO: TCP Data received {"connection_id":170826,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:40:04] local.INFO: Processing buffer {"connection_id":170826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:40:04] local.INFO: IMEI packet received {"connection_id":170826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":170826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:40:05] local.INFO: TCP Data received {"connection_id":170826,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1b7188012cb39ac007817e00004b00752d..."} 
[2026-09-04 16:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1b7188012cb39ac007817e00004b00752d..."} 
[2026-09-04 16:40:05] local.INFO: Processing buffer {"connection_id":170826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1b7188012cb39ac007817e00004b00752d..."} 
[2026-09-04 16:40:05] local.INFO: Packet analysis {"connection_id":170826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:40:05] local.INFO: Extracted packet for processing {"connection_id":170826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:40:05] local.INFO: GPS Element Parsed {"raw_longitude":749968064,"raw_latitude":125926912,"longitude_deg":74.9968064,"latitude_deg":12.5926912,"altitude":75,"angle":117,"satellites":45,"speed":38,"hex_longitude":"2cb39ac0","hex_latitude":"07817e00","is_valid_coordinates":true} 
[2026-09-04 16:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861150976001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398089592269438976,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5513531811569555456,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788520133000,"timestamp_ms":1788520133000,"timestamp_seconds":1788520133,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1b7188"} 
[2026-09-04 16:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 16:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861150976001,"66":28006,"242":206,"85":36864,"24":38,"16":398089592269438976,"44":-5513531811569555456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-09-04 16:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861150976001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:40:05] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-04 16:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 16:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398089592269438976,"km_value":398089592269439.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5513531811569555456,"description":"Unknown IO ID 44"} 
[2026-09-04 16:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861150976001,"power":28006,"unknown_242":206,"unknown_85":36864,"ignition":38,"odometer":null,"unknown_44":-5513531811569555456}} 
[2026-09-04 16:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":170826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:40:05] local.INFO: GPS data processed {"connection_id":170826,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:40:05] local.INFO: Acknowledgment sent {"connection_id":170826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:40:25] local.INFO: TCP Data received {"connection_id":171122,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1b5a18012d1820000721b0d0005000dc2b..."} 
[2026-09-04 16:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1b5a18012d1820000721b0d0005000dc2b..."} 
[2026-09-04 16:40:25] local.INFO: Processing buffer {"connection_id":171122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1b5a18012d1820000721b0d0005000dc2b..."} 
[2026-09-04 16:40:25] local.INFO: Packet analysis {"connection_id":171122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:40:25] local.INFO: Extracted packet for processing {"connection_id":171122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:40:25] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648464,"longitude_deg":75.6555776,"latitude_deg":11.9648464,"altitude":80,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0d0","is_valid_coordinates":true} 
[2026-09-04 16:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861147136001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332735659999232,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795018240,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788520127000,"timestamp_ms":1788520127000,"timestamp_seconds":1788520127,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1b5a18"} 
[2026-09-04 16:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-04 16:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861147136001,"66":12667,"105":206,"83":41984,"24":0,"16":17332735659999232,"45":1738389486795018240},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861147136001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:40:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:40:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332735659999232,"km_value":17332735659999.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795018240,"description":"Unknown IO ID 45"} 
[2026-09-04 16:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861147136001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795018240}} 
[2026-09-04 16:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":171122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:40:25] local.INFO: GPS data processed {"connection_id":171122,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:40:25] local.INFO: Acknowledgment sent {"connection_id":171122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:40:28] local.INFO: TCP Data received {"connection_id":171123,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:40:28] local.INFO: Processing buffer {"connection_id":171123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:40:28] local.INFO: Packet analysis {"connection_id":171123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:40:28] local.INFO: Extracted packet for processing {"connection_id":171123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:40:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861053952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788520043000,"timestamp_ms":1788520043000,"timestamp_seconds":1788520043,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1a11f8"} 
[2026-09-04 16:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861053952001,"66":24864,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861053952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:40:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:40:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861053952001,"power":24864,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":171123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763649,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:40:28] local.INFO: GPS data processed {"connection_id":171123,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:40:28] local.INFO: Acknowledgment sent {"connection_id":171123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:40:35] local.INFO: TCP Data received {"connection_id":170826,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1b7188012cb39ac007817e00004b00752d..."} 
[2026-09-04 16:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1b7188012cb39ac007817e00004b00752d..."} 
[2026-09-04 16:40:35] local.INFO: Processing buffer {"connection_id":170826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1b7188012cb39ac007817e00004b00752d..."} 
[2026-09-04 16:40:35] local.INFO: Packet analysis {"connection_id":170826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:40:35] local.INFO: Extracted packet for processing {"connection_id":170826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":749968064,"raw_latitude":125926912,"longitude_deg":74.9968064,"latitude_deg":12.5926912,"altitude":75,"angle":117,"satellites":45,"speed":38,"hex_longitude":"2cb39ac0","hex_latitude":"07817e00","is_valid_coordinates":true} 
[2026-09-04 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861154048001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398089592269438976,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5504876456037187584,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788520133000,"timestamp_ms":1788520133000,"timestamp_seconds":1788520133,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1b7188"} 
[2026-09-04 16:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 16:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861154048001,"66":28006,"242":206,"85":36864,"24":38,"16":398089592269438976,"44":-5504876456037187584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-09-04 16:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861154048001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:40:35] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-04 16:40:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 16:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398089592269438976,"km_value":398089592269439.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:40:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5504876456037187584,"description":"Unknown IO ID 44"} 
[2026-09-04 16:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861154048001,"power":28006,"unknown_242":206,"unknown_85":36864,"ignition":38,"odometer":null,"unknown_44":-5504876456037187584}} 
[2026-09-04 16:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":170826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:40:35] local.INFO: GPS data processed {"connection_id":170826,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:40:35] local.INFO: Acknowledgment sent {"connection_id":170826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:40:48] local.INFO: TCP Data received {"connection_id":173526,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:40:48] local.INFO: Processing buffer {"connection_id":173526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:40:48] local.INFO: IMEI packet received {"connection_id":173526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":173526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:40:53] local.INFO: TCP Data received {"connection_id":173526,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:40:53] local.INFO: Processing buffer {"connection_id":173526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:40:53] local.INFO: IMEI packet received {"connection_id":173526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":173526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:40:54] local.INFO: TCP Data received {"connection_id":173526,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1bac20012d1820000721b0d0005000dc2a..."} 
[2026-09-04 16:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1bac20012d1820000721b0d0005000dc2a..."} 
[2026-09-04 16:40:54] local.INFO: Processing buffer {"connection_id":173526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1bac20012d1820000721b0d0005000dc2a..."} 
[2026-09-04 16:40:54] local.INFO: Packet analysis {"connection_id":173526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:40:54] local.INFO: Extracted packet for processing {"connection_id":173526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:40:54] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648464,"longitude_deg":75.6555776,"latitude_deg":11.9648464,"altitude":80,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0d0","is_valid_coordinates":true} 
[2026-09-04 16:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861152512001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332735659999232,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795018240,"note":"Value kept but may cause issues"} 
[2026-09-04 16:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788520148000,"timestamp_ms":1788520148000,"timestamp_seconds":1788520148,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1bac20"} 
[2026-09-04 16:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-04 16:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861152512001,"66":12635,"105":206,"83":41984,"24":0,"16":17332735659999232,"45":1738389486795018240},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861152512001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:40:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:40:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332735659999232,"km_value":17332735659999.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795018240,"description":"Unknown IO ID 45"} 
[2026-09-04 16:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861152512001,"power":12635,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795018240}} 
[2026-09-04 16:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":173526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:40:54] local.INFO: GPS data processed {"connection_id":173526,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:40:54] local.INFO: Acknowledgment sent {"connection_id":173526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:40:54] local.INFO: TCP Data received {"connection_id":171124,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:40:54] local.INFO: Processing buffer {"connection_id":171124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:40:54] local.INFO: IMEI packet received {"connection_id":171124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":171124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:40:58] local.INFO: TCP Data received {"connection_id":172224,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:40:59] local.INFO: Processing buffer {"connection_id":172224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:40:59] local.INFO: IMEI packet received {"connection_id":172224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":172224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:40:59] local.INFO: TCP Data received {"connection_id":171124,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:40:59] local.INFO: Processing buffer {"connection_id":171124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:40:59] local.INFO: IMEI packet received {"connection_id":171124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":171124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:41:00] local.INFO: TCP Data received {"connection_id":171124,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:41:00] local.INFO: Processing buffer {"connection_id":171124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:41:00] local.INFO: Packet analysis {"connection_id":171124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:41:00] local.INFO: Extracted packet for processing {"connection_id":171124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:41:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861053952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788520043000,"timestamp_ms":1788520043000,"timestamp_seconds":1788520043,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1a11f8"} 
[2026-09-04 16:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861053952001,"66":24864,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861053952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:41:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:41:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861053952001,"power":24864,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":171124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763652,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:41:00] local.INFO: GPS data processed {"connection_id":171124,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:41:00] local.INFO: Acknowledgment sent {"connection_id":171124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:41:04] local.INFO: TCP Data received {"connection_id":172224,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:41:04] local.INFO: Processing buffer {"connection_id":172224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:41:04] local.INFO: IMEI packet received {"connection_id":172224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":172224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:41:05] local.INFO: TCP Data received {"connection_id":171124,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:41:05] local.INFO: Processing buffer {"connection_id":171124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:41:05] local.INFO: Packet analysis {"connection_id":171124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:41:05] local.INFO: Extracted packet for processing {"connection_id":171124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861053952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788520043000,"timestamp_ms":1788520043000,"timestamp_seconds":1788520043,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1a11f8"} 
[2026-09-04 16:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861053952001,"66":24864,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861053952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:41:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861053952001,"power":24864,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":171124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:41:05] local.INFO: GPS data processed {"connection_id":171124,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:41:05] local.INFO: Acknowledgment sent {"connection_id":171124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:41:05] local.INFO: TCP Data received {"connection_id":172224,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1c6b88012cb461c00780f6c0003d00592b..."} 
[2026-09-04 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1c6b88012cb461c00780f6c0003d00592b..."} 
[2026-09-04 16:41:05] local.INFO: Processing buffer {"connection_id":172224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1c6b88012cb461c00780f6c0003d00592b..."} 
[2026-09-04 16:41:05] local.INFO: Packet analysis {"connection_id":172224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1c"} 
[2026-09-04 16:41:05] local.INFO: Extracted packet for processing {"connection_id":172224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1c"} 
[2026-09-04 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":750019008,"raw_latitude":125892288,"longitude_deg":75.0019008,"latitude_deg":12.5892288,"altitude":61,"angle":89,"satellites":43,"speed":12,"hex_longitude":"2cb461c0","hex_latitude":"0780f6c0","is_valid_coordinates":true} 
[2026-09-04 16:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861168640001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398092684645892096,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5452733216610230272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788520197000,"timestamp_ms":1788520197000,"timestamp_seconds":1788520197,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1c6b88"} 
[2026-09-04 16:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 16:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861168640001,"66":27930,"239":206,"85":36864,"24":12,"16":398092684645892096,"44":-5452733216610230272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-04 16:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861168640001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:41:05] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-04 16:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 16:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398092684645892096,"km_value":398092684645892.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5452733216610230272,"description":"Unknown IO ID 44"} 
[2026-09-04 16:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861168640001,"power":27930,"unknown_239":206,"unknown_85":36864,"ignition":12,"odometer":null,"unknown_44":-5452733216610230272}} 
[2026-09-04 16:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":172224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:41:05] local.INFO: GPS data processed {"connection_id":172224,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:41:05] local.INFO: Acknowledgment sent {"connection_id":172224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:41:25] local.INFO: TCP Data received {"connection_id":173526,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1bfe28012d1820000721b0d0005000dc2b..."} 
[2026-09-04 16:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1bfe28012d1820000721b0d0005000dc2b..."} 
[2026-09-04 16:41:25] local.INFO: Processing buffer {"connection_id":173526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1bfe28012d1820000721b0d0005000dc2b..."} 
[2026-09-04 16:41:25] local.INFO: Packet analysis {"connection_id":173526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:41:25] local.INFO: Extracted packet for processing {"connection_id":173526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1b"} 
[2026-09-04 16:41:25] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648464,"longitude_deg":75.6555776,"latitude_deg":11.9648464,"altitude":80,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0d0","is_valid_coordinates":true} 
[2026-09-04 16:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861157888001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332735659999232,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795018240,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788520169000,"timestamp_ms":1788520169000,"timestamp_seconds":1788520169,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1bfe28"} 
[2026-09-04 16:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 16:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861157888001,"66":12613,"105":206,"83":41984,"24":0,"16":17332735659999232,"45":1738389486795018240},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861157888001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:41:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:41:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332735659999232,"km_value":17332735659999.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795018240,"description":"Unknown IO ID 45"} 
[2026-09-04 16:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861157888001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795018240}} 
[2026-09-04 16:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":173526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:41:25] local.INFO: GPS data processed {"connection_id":173526,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:41:25] local.INFO: Acknowledgment sent {"connection_id":173526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:41:37] local.INFO: TCP Data received {"connection_id":172224,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1ca238012cb469c00780f528003c00962d..."} 
[2026-09-04 16:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1ca238012cb469c00780f528003c00962d..."} 
[2026-09-04 16:41:37] local.INFO: Processing buffer {"connection_id":172224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1ca238012cb469c00780f528003c00962d..."} 
[2026-09-04 16:41:37] local.INFO: Packet analysis {"connection_id":172224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1c"} 
[2026-09-04 16:41:37] local.INFO: Extracted packet for processing {"connection_id":172224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1c"} 
[2026-09-04 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":750021056,"raw_latitude":125891880,"longitude_deg":75.0021056,"latitude_deg":12.589188,"altitude":60,"angle":150,"satellites":45,"speed":5,"hex_longitude":"2cb469c0","hex_latitude":"0780f528","is_valid_coordinates":true} 
[2026-09-04 16:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861170432001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398092787725107200,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5448862935680630784,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788520211000,"timestamp_ms":1788520211000,"timestamp_seconds":1788520211,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1ca238"} 
[2026-09-04 16:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 16:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861170432001,"66":27984,"239":206,"85":36864,"24":5,"16":398092787725107200,"44":-5448862935680630784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-04 16:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861170432001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:41:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-04 16:41:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 16:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398092787725107200,"km_value":398092787725107.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:41:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5448862935680630784,"description":"Unknown IO ID 44"} 
[2026-09-04 16:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861170432001,"power":27984,"unknown_239":206,"unknown_85":36864,"ignition":5,"odometer":null,"unknown_44":-5448862935680630784}} 
[2026-09-04 16:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":172224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:41:37] local.INFO: GPS data processed {"connection_id":172224,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:41:37] local.INFO: Acknowledgment sent {"connection_id":172224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:41:48] local.INFO: TCP Data received {"connection_id":173527,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:41:48] local.INFO: Processing buffer {"connection_id":173527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:41:48] local.INFO: IMEI packet received {"connection_id":173527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":173527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:41:49] local.INFO: TCP Data received {"connection_id":171125,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:41:49] local.INFO: Processing buffer {"connection_id":171125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:41:49] local.INFO: IMEI packet received {"connection_id":171125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":171125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:41:53] local.INFO: TCP Data received {"connection_id":173527,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:41:53] local.INFO: Processing buffer {"connection_id":173527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:41:53] local.INFO: IMEI packet received {"connection_id":173527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":173527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:41:54] local.INFO: TCP Data received {"connection_id":173527,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1c30f0012d181f800721afa0004c00cb2c..."} 
[2026-09-04 16:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1c30f0012d181f800721afa0004c00cb2c..."} 
[2026-09-04 16:41:54] local.INFO: Processing buffer {"connection_id":173527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1c30f0012d181f800721afa0004c00cb2c..."} 
[2026-09-04 16:41:54] local.INFO: Packet analysis {"connection_id":173527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1c"} 
[2026-09-04 16:41:54] local.INFO: Extracted packet for processing {"connection_id":173527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1c"} 
[2026-09-04 16:41:54] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648160,"longitude_deg":75.6555648,"latitude_deg":11.964816,"altitude":76,"angle":203,"satellites":44,"speed":1,"hex_longitude":"2d181f80","hex_latitude":"0721afa0","is_valid_coordinates":true} 
[2026-09-04 16:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861163264001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332752839868416,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795018240,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788520182000,"timestamp_ms":1788520182000,"timestamp_seconds":1788520182,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1c30f0"} 
[2026-09-04 16:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-04 16:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861163264001,"66":12602,"105":206,"83":41984,"24":1,"16":17332752839868416,"45":1738389486795018240},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861163264001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:41:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:41:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332752839868416,"km_value":17332752839868.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795018240,"description":"Unknown IO ID 45"} 
[2026-09-04 16:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861163264001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738389486795018240}} 
[2026-09-04 16:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":173527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:41:54] local.INFO: GPS data processed {"connection_id":173527,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:41:54] local.INFO: Acknowledgment sent {"connection_id":173527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:41:54] local.INFO: TCP Data received {"connection_id":171125,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:41:54] local.INFO: Processing buffer {"connection_id":171125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:41:54] local.INFO: IMEI packet received {"connection_id":171125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":171125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:41:55] local.INFO: TCP Data received {"connection_id":171125,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:41:55] local.INFO: Processing buffer {"connection_id":171125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:41:55] local.INFO: Packet analysis {"connection_id":171125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:41:55] local.INFO: Extracted packet for processing {"connection_id":171125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:41:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861053952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788520043000,"timestamp_ms":1788520043000,"timestamp_seconds":1788520043,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1a11f8"} 
[2026-09-04 16:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861053952001,"66":24864,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861053952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:41:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861053952001,"power":24864,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":171125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763658,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:41:55] local.INFO: GPS data processed {"connection_id":171125,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:41:55] local.INFO: Acknowledgment sent {"connection_id":171125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:41:59] local.INFO: TCP Data received {"connection_id":171126,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:41:59] local.INFO: Processing buffer {"connection_id":171126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:41:59] local.INFO: IMEI packet received {"connection_id":171126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":171126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:42:03] local.INFO: TCP Data received {"connection_id":171126,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:42:03] local.INFO: Processing buffer {"connection_id":171126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:42:03] local.INFO: IMEI packet received {"connection_id":171126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":171126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:42:04] local.INFO: TCP Data received {"connection_id":171126,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:42:04] local.INFO: Processing buffer {"connection_id":171126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:42:04] local.INFO: IMEI packet received {"connection_id":171126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":171126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:42:04] local.INFO: TCP Data received {"connection_id":171126,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1caa08012cb46a400780f3e0003c00ad2d..."} 
[2026-09-04 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1caa08012cb46a400780f3e0003c00ad2d..."} 
[2026-09-04 16:42:04] local.INFO: Processing buffer {"connection_id":171126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1caa08012cb46a400780f3e0003c00ad2d..."} 
[2026-09-04 16:42:04] local.INFO: Packet analysis {"connection_id":171126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1c"} 
[2026-09-04 16:42:04] local.INFO: Extracted packet for processing {"connection_id":171126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1c"} 
[2026-09-04 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":750021184,"raw_latitude":125891552,"longitude_deg":75.0021184,"latitude_deg":12.5891552,"altitude":60,"angle":173,"satellites":45,"speed":7,"hex_longitude":"2cb46a40","hex_latitude":"0780f3e0","is_valid_coordinates":true} 
[2026-09-04 16:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861174016001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398092809199943680,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5446611135867049984,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788520213000,"timestamp_ms":1788520213000,"timestamp_seconds":1788520213,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1caa08"} 
[2026-09-04 16:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 16:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861174016001,"66":27865,"239":206,"85":36864,"24":7,"16":398092809199943680,"44":-5446611135867049984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-04 16:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861174016001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:42:04] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-04 16:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 16:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398092809199943680,"km_value":398092809199943.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:42:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5446611135867049984,"description":"Unknown IO ID 44"} 
[2026-09-04 16:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861174016001,"power":27865,"unknown_239":206,"unknown_85":36864,"ignition":7,"odometer":null,"unknown_44":-5446611135867049984}} 
[2026-09-04 16:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":171126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:42:04] local.INFO: GPS data processed {"connection_id":171126,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:42:04] local.INFO: Acknowledgment sent {"connection_id":171126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:42:10] local.INFO: TCP Data received {"connection_id":171126,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1cadf0012cb46a400780f2f0003c00c32c..."} 
[2026-09-04 16:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1cadf0012cb46a400780f2f0003c00c32c..."} 
[2026-09-04 16:42:10] local.INFO: Processing buffer {"connection_id":171126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1cadf0012cb46a400780f2f0003c00c32c..."} 
[2026-09-04 16:42:10] local.INFO: Packet analysis {"connection_id":171126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1c"} 
[2026-09-04 16:42:10] local.INFO: Extracted packet for processing {"connection_id":171126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1c"} 
[2026-09-04 16:42:10] local.INFO: GPS Element Parsed {"raw_longitude":750021184,"raw_latitude":125891312,"longitude_deg":75.0021184,"latitude_deg":12.5891312,"altitude":60,"angle":195,"satellites":44,"speed":11,"hex_longitude":"2cb46a40","hex_latitude":"0780f2f0","is_valid_coordinates":true} 
[2026-09-04 16:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861174528001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398092817789878272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5446470398378778624,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788520214000,"timestamp_ms":1788520214000,"timestamp_seconds":1788520214,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1cadf0"} 
[2026-09-04 16:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 16:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861174528001,"66":27930,"239":206,"85":36864,"24":11,"16":398092817789878272,"44":-5446470398378778624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-04 16:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861174528001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:42:10] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-04 16:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 16:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398092817789878272,"km_value":398092817789878.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5446470398378778624,"description":"Unknown IO ID 44"} 
[2026-09-04 16:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861174528001,"power":27930,"unknown_239":206,"unknown_85":36864,"ignition":11,"odometer":null,"unknown_44":-5446470398378778624}} 
[2026-09-04 16:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":171126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:42:10] local.INFO: GPS data processed {"connection_id":171126,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:42:10] local.INFO: Acknowledgment sent {"connection_id":171126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:42:25] local.INFO: TCP Data received {"connection_id":173527,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1c82f8012d181f800721af40004c00d02c..."} 
[2026-09-04 16:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1c82f8012d181f800721af40004c00d02c..."} 
[2026-09-04 16:42:25] local.INFO: Processing buffer {"connection_id":173527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1c82f8012d181f800721af40004c00d02c..."} 
[2026-09-04 16:42:25] local.INFO: Packet analysis {"connection_id":173527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1c"} 
[2026-09-04 16:42:25] local.INFO: Extracted packet for processing {"connection_id":173527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1c"} 
[2026-09-04 16:42:25] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861166592001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306585088,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788520203000,"timestamp_ms":1788520203000,"timestamp_seconds":1788520203,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1c82f8"} 
[2026-09-04 16:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-04 16:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861166592001,"66":12526,"105":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306585088},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861166592001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:42:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:42:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306585088,"description":"Unknown IO ID 45"} 
[2026-09-04 16:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861166592001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306585088}} 
[2026-09-04 16:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":173527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:42:25] local.INFO: GPS data processed {"connection_id":173527,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:42:25] local.INFO: Acknowledgment sent {"connection_id":173527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:42:27] local.INFO: TCP Data received {"connection_id":171125,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:42:27] local.INFO: Processing buffer {"connection_id":171125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:42:27] local.INFO: Packet analysis {"connection_id":171125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:42:27] local.INFO: Extracted packet for processing {"connection_id":171125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:42:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861053952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788520043000,"timestamp_ms":1788520043000,"timestamp_seconds":1788520043,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1a11f8"} 
[2026-09-04 16:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861053952001,"66":24864,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861053952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:42:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:42:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861053952001,"power":24864,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":171125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763662,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:42:27] local.INFO: GPS data processed {"connection_id":171125,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:42:27] local.INFO: Acknowledgment sent {"connection_id":171125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:42:46] local.INFO: TCP Data received {"connection_id":171126,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1e1d20012cb42ac0077fc4e8004900b72c..."} 
[2026-09-04 16:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1e1d20012cb42ac0077fc4e8004900b72c..."} 
[2026-09-04 16:42:46] local.INFO: Processing buffer {"connection_id":171126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1e1d20012cb42ac0077fc4e8004900b72c..."} 
[2026-09-04 16:42:46] local.INFO: Packet analysis {"connection_id":171126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:42:46] local.INFO: Extracted packet for processing {"connection_id":171126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:42:46] local.INFO: GPS Element Parsed {"raw_longitude":750004928,"raw_latitude":125813992,"longitude_deg":75.0004928,"latitude_deg":12.5813992,"altitude":73,"angle":183,"satellites":44,"speed":52,"hex_longitude":"2cb42ac0","hex_latitude":"077fc4e8","is_valid_coordinates":true} 
[2026-09-04 16:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861197056001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398096674670510080,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5463358896998948864,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788520308000,"timestamp_ms":1788520308000,"timestamp_seconds":1788520308,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1e1d20"} 
[2026-09-04 16:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 16:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":171126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":171126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":171126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861197056001,"66":27887,"241":206,"85":36864,"24":52,"16":398096674670510080,"44":-5463358896998948864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,85,24,16,44]} 
[2026-09-04 16:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861197056001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:42:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-04 16:42:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 16:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398096674670510080,"km_value":398096674670510.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:42:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5463358896998948864,"description":"Unknown IO ID 44"} 
[2026-09-04 16:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861197056001,"power":27887,"unknown_241":206,"unknown_85":36864,"ignition":52,"odometer":null,"unknown_44":-5463358896998948864}} 
[2026-09-04 16:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":171126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:42:46] local.INFO: GPS data processed {"connection_id":171126,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:42:46] local.INFO: Acknowledgment sent {"connection_id":171126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:42:47] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:42:47] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:42:47] local.INFO: IMEI packet received {"connection_id":173529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":173529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:42:48] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:42:48] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:42:48] local.INFO: IMEI packet received {"connection_id":173529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":173529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:42:48] local.INFO: TCP Data received {"connection_id":173528,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:42:48] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:42:48] local.INFO: IMEI packet received {"connection_id":173528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":173528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:42:53] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:42:53] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:42:53] local.INFO: IMEI packet received {"connection_id":173529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":173529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:42:54] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1cd500012d181f800721af40004c00d02d..."} 
[2026-09-04 16:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1cd500012d181f800721af40004c00d02d..."} 
[2026-09-04 16:42:54] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1cd500012d181f800721af40004c00d02d..."} 
[2026-09-04 16:42:54] local.INFO: Packet analysis {"connection_id":173529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1c"} 
[2026-09-04 16:42:54] local.INFO: Extracted packet for processing {"connection_id":173529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1c"} 
[2026-09-04 16:42:54] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861171968001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788520224000,"timestamp_ms":1788520224000,"timestamp_seconds":1788520224,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1cd500"} 
[2026-09-04 16:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 16:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861171968001,"66":12548,"105":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861171968001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:42:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:42:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861171968001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":173529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:42:54] local.INFO: GPS data processed {"connection_id":173529,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:42:54] local.INFO: Acknowledgment sent {"connection_id":173529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:42:54] local.INFO: TCP Data received {"connection_id":173528,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:42:54] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:42:54] local.INFO: IMEI packet received {"connection_id":173528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":173528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:42:55] local.INFO: TCP Data received {"connection_id":173528,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:42:55] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1a11f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:42:55] local.INFO: Packet analysis {"connection_id":173528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:42:55] local.INFO: Extracted packet for processing {"connection_id":173528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1a"} 
[2026-09-04 16:42:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861053952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788520043000,"timestamp_ms":1788520043000,"timestamp_seconds":1788520043,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1a11f8"} 
[2026-09-04 16:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861053952001,"66":24864,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861053952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:42:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:42:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861053952001,"power":24864,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":173528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:42:55] local.INFO: GPS data processed {"connection_id":173528,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:42:55] local.INFO: Acknowledgment sent {"connection_id":173528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:43:01] local.INFO: TCP Data received {"connection_id":171127,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:43:01] local.INFO: Processing buffer {"connection_id":171127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:43:01] local.INFO: IMEI packet received {"connection_id":171127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":171127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:43:04] local.INFO: TCP Data received {"connection_id":171127,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:43:04] local.INFO: Processing buffer {"connection_id":171127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:43:04] local.INFO: IMEI packet received {"connection_id":171127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":171127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:43:05] local.INFO: TCP Data received {"connection_id":171127,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:43:05] local.INFO: Processing buffer {"connection_id":171127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:43:05] local.INFO: IMEI packet received {"connection_id":171127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":171127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:43:05] local.INFO: TCP Data received {"connection_id":171127,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1e3878012cb42800077fa188004700bc2d..."} 
[2026-09-04 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1e3878012cb42800077fa188004700bc2d..."} 
[2026-09-04 16:43:05] local.INFO: Processing buffer {"connection_id":171127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1e3878012cb42800077fa188004700bc2d..."} 
[2026-09-04 16:43:05] local.INFO: Packet analysis {"connection_id":171127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:43:05] local.INFO: Extracted packet for processing {"connection_id":171127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":750004224,"raw_latitude":125804936,"longitude_deg":75.0004224,"latitude_deg":12.5804936,"altitude":71,"angle":188,"satellites":45,"speed":50,"hex_longitude":"2cb42800","hex_latitude":"077fa188","is_valid_coordinates":true} 
[2026-09-04 16:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861198848001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398097112757174272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5464344059419760640,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788520315000,"timestamp_ms":1788520315000,"timestamp_seconds":1788520315,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1e3878"} 
[2026-09-04 16:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 16:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861198848001,"66":27876,"241":206,"85":36864,"24":50,"16":398097112757174272,"44":-5464344059419760640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,85,24,16,44]} 
[2026-09-04 16:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861198848001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:43:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-04 16:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 16:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398097112757174272,"km_value":398097112757174.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:43:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5464344059419760640,"description":"Unknown IO ID 44"} 
[2026-09-04 16:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861198848001,"power":27876,"unknown_241":206,"unknown_85":36864,"ignition":50,"odometer":null,"unknown_44":-5464344059419760640}} 
[2026-09-04 16:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":171127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:43:05] local.INFO: GPS data processed {"connection_id":171127,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:43:05] local.INFO: Acknowledgment sent {"connection_id":171127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:43:09] local.INFO: TCP Data received {"connection_id":171127,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1e53d0012cb41f00077f8028004700c72d..."} 
[2026-09-04 16:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1e53d0012cb41f00077f8028004700c72d..."} 
[2026-09-04 16:43:09] local.INFO: Processing buffer {"connection_id":171127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1e53d0012cb41f00077f8028004700c72d..."} 
[2026-09-04 16:43:09] local.INFO: Packet analysis {"connection_id":171127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:43:09] local.INFO: Extracted packet for processing {"connection_id":171127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:43:09] local.INFO: GPS Element Parsed {"raw_longitude":750001920,"raw_latitude":125796392,"longitude_deg":75.000192,"latitude_deg":12.5796392,"altitude":71,"angle":199,"satellites":45,"speed":49,"hex_longitude":"2cb41f00","hex_latitude":"077f8028","is_valid_coordinates":true} 
[2026-09-04 16:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861200640001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398097542253903872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465118115608033280,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788520322000,"timestamp_ms":1788520322000,"timestamp_seconds":1788520322,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1e53d0"} 
[2026-09-04 16:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861200640001,"66":27908,"241":206,"85":36864,"24":49,"16":398097542253903872,"44":-5465118115608033280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,85,24,16,44]} 
[2026-09-04 16:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861200640001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:43:09] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-04 16:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 16:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398097542253903872,"km_value":398097542253903.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:43:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465118115608033280,"description":"Unknown IO ID 44"} 
[2026-09-04 16:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861200640001,"power":27908,"unknown_241":206,"unknown_85":36864,"ignition":49,"odometer":null,"unknown_44":-5465118115608033280}} 
[2026-09-04 16:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":171127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:43:09] local.INFO: GPS data processed {"connection_id":171127,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:43:09] local.INFO: Acknowledgment sent {"connection_id":171127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:43:25] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1d2708012d181f800721af40004c00d02a..."} 
[2026-09-04 16:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1d2708012d181f800721af40004c00d02a..."} 
[2026-09-04 16:43:25] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1d2708012d181f800721af40004c00d02a..."} 
[2026-09-04 16:43:25] local.INFO: Packet analysis {"connection_id":173529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1d"} 
[2026-09-04 16:43:25] local.INFO: Extracted packet for processing {"connection_id":173529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1d"} 
[2026-09-04 16:43:25] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861177344001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788520245000,"timestamp_ms":1788520245000,"timestamp_seconds":1788520245,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1d2708"} 
[2026-09-04 16:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 16:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2966421584,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 16:43:25] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2483552256,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:25] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:25] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,148,160,130,45,128,175,76,44,10,66,48,254,1,240,69,227,108,33,4,113,205,90,32,208,43,239,49,2,61,7,80,106],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 16:43:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476606038574628864,"timestamp_seconds":5476606038574629.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861177344001,"66":12591,"105":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861177344001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:43:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:43:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861177344001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":173529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:43:25] local.INFO: GPS data processed {"connection_id":173529,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:43:25] local.INFO: Acknowledgment sent {"connection_id":173529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:43:28] local.INFO: TCP Data received {"connection_id":173528,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:43:28] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:43:28] local.INFO: Packet analysis {"connection_id":173528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:43:28] local.INFO: Extracted packet for processing {"connection_id":173528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:43:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861131008001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788520344000,"timestamp_ms":1788520344000,"timestamp_seconds":1788520344,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1ea9c0"} 
[2026-09-04 16:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-04 16:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861131008001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861131008001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:43:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:43:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861131008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":173528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763669,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:43:29] local.INFO: GPS data processed {"connection_id":173528,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:43:29] local.INFO: Acknowledgment sent {"connection_id":173528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:43:41] local.INFO: TCP Data received {"connection_id":171127,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1e7310012cb41040077f5c18004700ca2e..."} 
[2026-09-04 16:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1e7310012cb41040077f5c18004700ca2e..."} 
[2026-09-04 16:43:41] local.INFO: Processing buffer {"connection_id":171127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1e7310012cb41040077f5c18004700ca2e..."} 
[2026-09-04 16:43:41] local.INFO: Packet analysis {"connection_id":171127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:43:41] local.INFO: Extracted packet for processing {"connection_id":171127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:43:41] local.INFO: GPS Element Parsed {"raw_longitude":749998144,"raw_latitude":125787160,"longitude_deg":74.9998144,"latitude_deg":12.578716,"altitude":71,"angle":202,"satellites":46,"speed":49,"hex_longitude":"2cb41040","hex_latitude":"077f5c18","is_valid_coordinates":true} 
[2026-09-04 16:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861202432001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398098023290241024,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5467651390400616448,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788520330000,"timestamp_ms":1788520330000,"timestamp_seconds":1788520330,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1e7310"} 
[2026-09-04 16:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 16:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861202432001,"66":27865,"241":206,"85":36864,"24":49,"16":398098023290241024,"44":-5467651390400616448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,85,24,16,44]} 
[2026-09-04 16:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861202432001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:43:41] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-04 16:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 16:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398098023290241024,"km_value":398098023290241.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5467651390400616448,"description":"Unknown IO ID 44"} 
[2026-09-04 16:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861202432001,"power":27865,"unknown_241":206,"unknown_85":36864,"ignition":49,"odometer":null,"unknown_44":-5467651390400616448}} 
[2026-09-04 16:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":171127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:43:41] local.INFO: GPS data processed {"connection_id":171127,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:43:41] local.INFO: Acknowledgment sent {"connection_id":171127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:43:48] local.INFO: TCP Data received {"connection_id":170828,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:43:48] local.INFO: Processing buffer {"connection_id":170828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:43:48] local.INFO: IMEI packet received {"connection_id":170828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":170828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:43:48] local.INFO: TCP Data received {"connection_id":172226,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:43:48] local.INFO: Processing buffer {"connection_id":172226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:43:48] local.INFO: IMEI packet received {"connection_id":172226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":172226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:43:50] local.INFO: TCP Data received {"connection_id":170828,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:43:50] local.INFO: Processing buffer {"connection_id":170828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:43:50] local.INFO: IMEI packet received {"connection_id":170828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":170828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:43:53] local.INFO: TCP Data received {"connection_id":170828,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:43:53] local.INFO: Processing buffer {"connection_id":170828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:43:53] local.INFO: IMEI packet received {"connection_id":170828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":170828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:43:54] local.INFO: TCP Data received {"connection_id":172226,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:43:54] local.INFO: Processing buffer {"connection_id":172226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:43:54] local.INFO: IMEI packet received {"connection_id":172226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":172226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:43:55] local.INFO: TCP Data received {"connection_id":172226,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:43:55] local.INFO: Processing buffer {"connection_id":172226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:43:55] local.INFO: Packet analysis {"connection_id":172226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:43:55] local.INFO: Extracted packet for processing {"connection_id":172226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:43:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861131008001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788520344000,"timestamp_ms":1788520344000,"timestamp_seconds":1788520344,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1ea9c0"} 
[2026-09-04 16:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-04 16:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861131008001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861131008001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:43:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:43:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861131008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":172226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:43:55] local.INFO: GPS data processed {"connection_id":172226,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:43:55] local.INFO: Acknowledgment sent {"connection_id":172226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:43:58] local.INFO: TCP Data received {"connection_id":170828,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1d7910012d181f800721af40004c00d02a..."} 
[2026-09-04 16:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1d7910012d181f800721af40004c00d02a..."} 
[2026-09-04 16:43:58] local.INFO: Processing buffer {"connection_id":170828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1d7910012d181f800721af40004c00d02a..."} 
[2026-09-04 16:43:58] local.INFO: Packet analysis {"connection_id":170828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1d"} 
[2026-09-04 16:43:58] local.INFO: Extracted packet for processing {"connection_id":170828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1d"} 
[2026-09-04 16:43:58] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861182720001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788520266000,"timestamp_ms":1788520266000,"timestamp_seconds":1788520266,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1d7910"} 
[2026-09-04 16:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 16:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861182720001,"66":12580,"105":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861182720001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:43:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861182720001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":170828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:43:58] local.INFO: GPS data processed {"connection_id":170828,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:43:58] local.INFO: Acknowledgment sent {"connection_id":170828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:43:58] local.INFO: TCP Data received {"connection_id":170829,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:43:58] local.INFO: Processing buffer {"connection_id":170829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:43:58] local.INFO: IMEI packet received {"connection_id":170829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":170829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:44:01] local.INFO: TCP Data received {"connection_id":170829,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:44:01] local.INFO: Processing buffer {"connection_id":170829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:44:01] local.INFO: IMEI packet received {"connection_id":170829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":170829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:44:04] local.INFO: TCP Data received {"connection_id":170829,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:44:04] local.INFO: Processing buffer {"connection_id":170829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:44:04] local.INFO: IMEI packet received {"connection_id":170829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":170829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:44:05] local.INFO: TCP Data received {"connection_id":170829,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1e9250012cb40340077f3850004600bd2d..."} 
[2026-09-04 16:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1e9250012cb40340077f3850004600bd2d..."} 
[2026-09-04 16:44:05] local.INFO: Processing buffer {"connection_id":170829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1e9250012cb40340077f3850004600bd2d..."} 
[2026-09-04 16:44:05] local.INFO: Packet analysis {"connection_id":170829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:44:05] local.INFO: Extracted packet for processing {"connection_id":170829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:44:05] local.INFO: GPS Element Parsed {"raw_longitude":749994816,"raw_latitude":125778000,"longitude_deg":74.9994816,"latitude_deg":12.5778,"altitude":70,"angle":189,"satellites":45,"speed":46,"hex_longitude":"2cb40340","hex_latitude":"077f3850","is_valid_coordinates":true} 
[2026-09-04 16:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861204480001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398098495736643584,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5471803146309462016,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788520338000,"timestamp_ms":1788520338000,"timestamp_seconds":1788520338,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1e9250"} 
[2026-09-04 16:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 16:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861204480001,"66":27908,"33":206,"85":36864,"24":46,"16":398098495736643584,"44":-5471803146309462016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-09-04 16:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861204480001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:44:05] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 16:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 16:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398098495736643584,"km_value":398098495736643.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:44:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5471803146309462016,"description":"Unknown IO ID 44"} 
[2026-09-04 16:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861204480001,"power":27908,"unknown_33":206,"unknown_85":36864,"ignition":46,"odometer":null,"unknown_44":-5471803146309462016}} 
[2026-09-04 16:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":170829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:44:05] local.INFO: GPS data processed {"connection_id":170829,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:44:05] local.INFO: Acknowledgment sent {"connection_id":170829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:44:27] local.INFO: TCP Data received {"connection_id":172226,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:44:27] local.INFO: Processing buffer {"connection_id":172226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:44:27] local.INFO: Packet analysis {"connection_id":172226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:44:27] local.INFO: Extracted packet for processing {"connection_id":172226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:44:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861131008001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788520344000,"timestamp_ms":1788520344000,"timestamp_seconds":1788520344,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1ea9c0"} 
[2026-09-04 16:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-04 16:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861131008001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861131008001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:44:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:44:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861131008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":172226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:44:27] local.INFO: GPS data processed {"connection_id":172226,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:44:27] local.INFO: Acknowledgment sent {"connection_id":172226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:44:29] local.INFO: TCP Data received {"connection_id":170828,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1dcb18012d181f800721af40004c00d02a..."} 
[2026-09-04 16:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1dcb18012d181f800721af40004c00d02a..."} 
[2026-09-04 16:44:29] local.INFO: Processing buffer {"connection_id":170828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1dcb18012d181f800721af40004c00d02a..."} 
[2026-09-04 16:44:29] local.INFO: Packet analysis {"connection_id":170828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1d"} 
[2026-09-04 16:44:29] local.INFO: Extracted packet for processing {"connection_id":170828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1d"} 
[2026-09-04 16:44:29] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861188096001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788520287000,"timestamp_ms":1788520287000,"timestamp_seconds":1788520287,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1dcb18"} 
[2026-09-04 16:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-04 16:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":170828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":170828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":170828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861188096001,"66":12580,"105":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861188096001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:44:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:44:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861188096001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":170828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:44:29] local.INFO: GPS data processed {"connection_id":170828,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:44:29] local.INFO: Acknowledgment sent {"connection_id":170828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:44:48] local.INFO: TCP Data received {"connection_id":173531,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:44:48] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:44:48] local.INFO: IMEI packet received {"connection_id":173531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":173531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:44:53] local.INFO: TCP Data received {"connection_id":173530,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:44:53] local.INFO: Processing buffer {"connection_id":173530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:44:53] local.INFO: IMEI packet received {"connection_id":173530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":173530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:44:53] local.INFO: TCP Data received {"connection_id":173530,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:44:53] local.INFO: Processing buffer {"connection_id":173530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:44:53] local.INFO: IMEI packet received {"connection_id":173530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":173530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:44:54] local.INFO: TCP Data received {"connection_id":173531,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:44:54] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:44:54] local.INFO: IMEI packet received {"connection_id":173531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":173531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:44:55] local.INFO: TCP Data received {"connection_id":173531,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:44:55] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:44:55] local.INFO: Packet analysis {"connection_id":173531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:44:55] local.INFO: Extracted packet for processing {"connection_id":173531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:44:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861131008001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788520344000,"timestamp_ms":1788520344000,"timestamp_seconds":1788520344,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1ea9c0"} 
[2026-09-04 16:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-04 16:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861131008001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861131008001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:44:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:44:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861131008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":173531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763676,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:44:55] local.INFO: GPS data processed {"connection_id":173531,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:44:55] local.INFO: Acknowledgment sent {"connection_id":173531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:44:57] local.INFO: TCP Data received {"connection_id":170829,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1e9250012cb40340077f3850004600bd2d..."} 
[2026-09-04 16:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1e9250012cb40340077f3850004600bd2d..."} 
[2026-09-04 16:44:57] local.INFO: Processing buffer {"connection_id":170829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1e9250012cb40340077f3850004600bd2d..."} 
[2026-09-04 16:44:57] local.INFO: Packet analysis {"connection_id":170829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:44:57] local.INFO: Extracted packet for processing {"connection_id":170829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:44:57] local.INFO: GPS Element Parsed {"raw_longitude":749994816,"raw_latitude":125778000,"longitude_deg":74.9994816,"latitude_deg":12.5778,"altitude":70,"angle":189,"satellites":45,"speed":46,"hex_longitude":"2cb40340","hex_latitude":"077f3850","is_valid_coordinates":true} 
[2026-09-04 16:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861206528001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398098495736643584,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5475462321009045504,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788520338000,"timestamp_ms":1788520338000,"timestamp_seconds":1788520338,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1e9250"} 
[2026-09-04 16:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 16:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":170829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":170829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":170829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861206528001,"66":27908,"33":206,"85":36864,"24":46,"16":398098495736643584,"44":-5475462321009045504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-09-04 16:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861206528001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:44:57] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 16:44:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-09-04 16:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398098495736643584,"km_value":398098495736643.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:44:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5475462321009045504,"description":"Unknown IO ID 44"} 
[2026-09-04 16:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861206528001,"power":27908,"unknown_33":206,"unknown_85":36864,"ignition":46,"odometer":null,"unknown_44":-5475462321009045504}} 
[2026-09-04 16:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":170829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:44:57] local.INFO: GPS data processed {"connection_id":170829,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:44:57] local.INFO: Acknowledgment sent {"connection_id":170829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:44:58] local.INFO: TCP Data received {"connection_id":173530,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:44:58] local.INFO: Processing buffer {"connection_id":173530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:44:58] local.INFO: IMEI packet received {"connection_id":173530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":173530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:44:59] local.INFO: TCP Data received {"connection_id":173530,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1e1d20012d181f800721af40004c00d02b..."} 
[2026-09-04 16:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1e1d20012d181f800721af40004c00d02b..."} 
[2026-09-04 16:44:59] local.INFO: Processing buffer {"connection_id":173530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1e1d20012d181f800721af40004c00d02b..."} 
[2026-09-04 16:44:59] local.INFO: Packet analysis {"connection_id":173530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:44:59] local.INFO: Extracted packet for processing {"connection_id":173530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861193472001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788520308000,"timestamp_ms":1788520308000,"timestamp_seconds":1788520308,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1e1d20"} 
[2026-09-04 16:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-04 16:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861193472001,"66":12591,"105":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861193472001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:44:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861193472001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":173530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:44:59] local.INFO: GPS data processed {"connection_id":173530,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:44:59] local.INFO: Acknowledgment sent {"connection_id":173530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:45:00] local.INFO: TCP Data received {"connection_id":170830,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:45:00] local.INFO: Processing buffer {"connection_id":170830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:45:00] local.INFO: IMEI packet received {"connection_id":170830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":170830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:45:01] local.INFO: TCP Data received {"connection_id":170830,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:45:01] local.INFO: Processing buffer {"connection_id":170830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:45:01] local.INFO: IMEI packet received {"connection_id":170830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":170830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:45:02] local.INFO: TCP Data received {"connection_id":170830,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:45:02] local.INFO: Processing buffer {"connection_id":170830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:45:02] local.INFO: IMEI packet received {"connection_id":170830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":170830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:45:03] local.INFO: TCP Data received {"connection_id":170830,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:45:03] local.INFO: Processing buffer {"connection_id":170830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:45:03] local.INFO: IMEI packet received {"connection_id":170830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":170830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:45:03] local.INFO: TCP Data received {"connection_id":173530,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1e6f28012d181f800721af40004c00d02b..."} 
[2026-09-04 16:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1e6f28012d181f800721af40004c00d02b..."} 
[2026-09-04 16:45:03] local.INFO: Processing buffer {"connection_id":173530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1e6f28012d181f800721af40004c00d02b..."} 
[2026-09-04 16:45:03] local.INFO: Packet analysis {"connection_id":173530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:45:03] local.INFO: Extracted packet for processing {"connection_id":173530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861198848001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788520329000,"timestamp_ms":1788520329000,"timestamp_seconds":1788520329,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1e6f28"} 
[2026-09-04 16:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 16:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861198848001,"66":12526,"107":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861198848001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:45:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861198848001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":173530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:45:03] local.INFO: GPS data processed {"connection_id":173530,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:45:03] local.INFO: Acknowledgment sent {"connection_id":173530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:45:27] local.INFO: TCP Data received {"connection_id":173531,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:45:27] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:45:27] local.INFO: Packet analysis {"connection_id":173531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:45:27] local.INFO: Extracted packet for processing {"connection_id":173531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:45:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861131008001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788520344000,"timestamp_ms":1788520344000,"timestamp_seconds":1788520344,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1ea9c0"} 
[2026-09-04 16:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-04 16:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861131008001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861131008001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:45:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:45:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861131008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":173531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763680,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:45:28] local.INFO: GPS data processed {"connection_id":173531,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:45:28] local.INFO: Acknowledgment sent {"connection_id":173531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:45:48] local.INFO: TCP Data received {"connection_id":172227,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:45:48] local.INFO: Processing buffer {"connection_id":172227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:45:48] local.INFO: IMEI packet received {"connection_id":172227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":172227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:45:53] local.INFO: TCP Data received {"connection_id":172227,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:45:53] local.INFO: Processing buffer {"connection_id":172227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:45:53] local.INFO: IMEI packet received {"connection_id":172227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":172227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:45:54] local.INFO: TCP Data received {"connection_id":172227,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1ec130012d181f800721af40004c00d02e..."} 
[2026-09-04 16:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1ec130012d181f800721af40004c00d02e..."} 
[2026-09-04 16:45:54] local.INFO: Processing buffer {"connection_id":172227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1ec130012d181f800721af40004c00d02e..."} 
[2026-09-04 16:45:54] local.INFO: Packet analysis {"connection_id":172227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:45:54] local.INFO: Extracted packet for processing {"connection_id":172227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:45:54] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":46,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861204224001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788520350000,"timestamp_ms":1788520350000,"timestamp_seconds":1788520350,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1ec130"} 
[2026-09-04 16:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 16:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861204224001,"66":12558,"107":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861204224001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:45:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:45:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861204224001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":172227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:45:54] local.INFO: GPS data processed {"connection_id":172227,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:45:54] local.INFO: Acknowledgment sent {"connection_id":172227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:45:54] local.INFO: TCP Data received {"connection_id":172228,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:45:54] local.INFO: Processing buffer {"connection_id":172228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:45:54] local.INFO: IMEI packet received {"connection_id":172228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":172228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:45:58] local.INFO: TCP Data received {"connection_id":172228,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:45:58] local.INFO: Processing buffer {"connection_id":172228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:45:58] local.INFO: IMEI packet received {"connection_id":172228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":172228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:45:59] local.INFO: TCP Data received {"connection_id":172228,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:45:59] local.INFO: Processing buffer {"connection_id":172228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:45:59] local.INFO: Packet analysis {"connection_id":172228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:45:59] local.INFO: Extracted packet for processing {"connection_id":172228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861131008001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788520344000,"timestamp_ms":1788520344000,"timestamp_seconds":1788520344,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1ea9c0"} 
[2026-09-04 16:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-04 16:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861131008001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861131008001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:45:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:45:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861131008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":172228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763682,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:45:59] local.INFO: GPS data processed {"connection_id":172228,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:45:59] local.INFO: Acknowledgment sent {"connection_id":172228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:46:25] local.INFO: TCP Data received {"connection_id":172227,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1f1338012d181f800721af40004c00d02d..."} 
[2026-09-04 16:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1f1338012d181f800721af40004c00d02d..."} 
[2026-09-04 16:46:25] local.INFO: Processing buffer {"connection_id":172227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1f1338012d181f800721af40004c00d02d..."} 
[2026-09-04 16:46:25] local.INFO: Packet analysis {"connection_id":172227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1f"} 
[2026-09-04 16:46:25] local.INFO: Extracted packet for processing {"connection_id":172227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1f"} 
[2026-09-04 16:46:25] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861209600001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788520371000,"timestamp_ms":1788520371000,"timestamp_seconds":1788520371,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1f1338"} 
[2026-09-04 16:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 16:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:25] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":6145,"corrected_to":0} 
[2026-09-04 16:46:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381765883735872,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2940207180,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 16:46:25] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:25] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2483879936,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:25] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:25] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:25] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:25] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,107,83,24,241,157,16,148,160,111,45,128,175,76,43,10,66,29,105,203,1,240,36,227,108,33,4,113,205,39,31,64,42,239,49,2,61,7,106,88,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":203,"original":6145,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 16:46:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476606042869596160,"timestamp_seconds":5476606042869596.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861209600001,"66":12526,"107":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861209600001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:46:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:46:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861209600001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":172227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:46:25] local.INFO: GPS data processed {"connection_id":172227,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:46:25] local.INFO: Acknowledgment sent {"connection_id":172227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:46:31] local.INFO: TCP Data received {"connection_id":172228,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:46:31] local.INFO: Processing buffer {"connection_id":172228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:46:31] local.INFO: Packet analysis {"connection_id":172228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:46:31] local.INFO: Extracted packet for processing {"connection_id":172228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861131008001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788520344000,"timestamp_ms":1788520344000,"timestamp_seconds":1788520344,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1ea9c0"} 
[2026-09-04 16:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-04 16:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861131008001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861131008001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:46:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:46:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861131008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":172228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:46:31] local.INFO: GPS data processed {"connection_id":172228,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:46:31] local.INFO: Acknowledgment sent {"connection_id":172228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:46:48] local.INFO: TCP Data received {"connection_id":173532,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:46:48] local.INFO: Processing buffer {"connection_id":173532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:46:48] local.INFO: IMEI packet received {"connection_id":173532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":173532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:46:48] local.INFO: TCP Data received {"connection_id":173533,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:46:48] local.INFO: Processing buffer {"connection_id":173533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:46:48] local.INFO: IMEI packet received {"connection_id":173533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":173533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:46:53] local.INFO: TCP Data received {"connection_id":173532,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:46:53] local.INFO: Processing buffer {"connection_id":173532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:46:53] local.INFO: IMEI packet received {"connection_id":173532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":173532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:46:54] local.INFO: TCP Data received {"connection_id":173532,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1f6540012d181f800721af40004c00d02c..."} 
[2026-09-04 16:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1f6540012d181f800721af40004c00d02c..."} 
[2026-09-04 16:46:54] local.INFO: Processing buffer {"connection_id":173532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1f6540012d181f800721af40004c00d02c..."} 
[2026-09-04 16:46:54] local.INFO: Packet analysis {"connection_id":173532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1f"} 
[2026-09-04 16:46:54] local.INFO: Extracted packet for processing {"connection_id":173532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1f"} 
[2026-09-04 16:46:54] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861214976001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788520392000,"timestamp_ms":1788520392000,"timestamp_seconds":1788520392,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1f6540"} 
[2026-09-04 16:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 16:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861214976001,"66":12548,"107":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861214976001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:46:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:46:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861214976001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":173532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:46:54] local.INFO: GPS data processed {"connection_id":173532,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:46:54] local.INFO: Acknowledgment sent {"connection_id":173532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:46:54] local.INFO: TCP Data received {"connection_id":173533,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:46:54] local.INFO: Processing buffer {"connection_id":173533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:46:54] local.INFO: IMEI packet received {"connection_id":173533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":173533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:46:55] local.INFO: TCP Data received {"connection_id":173533,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:46:55] local.INFO: Processing buffer {"connection_id":173533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:46:55] local.INFO: Packet analysis {"connection_id":173533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:46:55] local.INFO: Extracted packet for processing {"connection_id":173533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:46:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861131008001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788520344000,"timestamp_ms":1788520344000,"timestamp_seconds":1788520344,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1ea9c0"} 
[2026-09-04 16:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-04 16:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861131008001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861131008001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:46:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:46:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861131008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":173533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763686,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:46:55] local.INFO: GPS data processed {"connection_id":173533,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:46:55] local.INFO: Acknowledgment sent {"connection_id":173533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:47:25] local.INFO: TCP Data received {"connection_id":173532,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1fb748012d181f800721af40004c00d029..."} 
[2026-09-04 16:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1fb748012d181f800721af40004c00d029..."} 
[2026-09-04 16:47:25] local.INFO: Processing buffer {"connection_id":173532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1fb748012d181f800721af40004c00d029..."} 
[2026-09-04 16:47:25] local.INFO: Packet analysis {"connection_id":173532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1f"} 
[2026-09-04 16:47:25] local.INFO: Extracted packet for processing {"connection_id":173532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1f"} 
[2026-09-04 16:47:25] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861220352001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788520413000,"timestamp_ms":1788520413000,"timestamp_seconds":1788520413,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1fb748"} 
[2026-09-04 16:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 16:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2940207180,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 16:47:25] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":402730264,"corrected_to":0} 
[2026-09-04 16:47:25] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:25] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2483879936,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:25] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:25] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,148,160,19,45,128,175,76,10,66,193,46,111,1,240,238,227,108,33,4,113,205,203,31,64,42,239,49,105,2,61,7,106],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":203,"original":402730264,"validated":0}]} 
[2026-09-04 16:47:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476606034279661568,"timestamp_seconds":5476606034279662.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861220352001,"66":12548,"107":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861220352001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:47:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:47:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861220352001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":173532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:47:25] local.INFO: GPS data processed {"connection_id":173532,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:47:25] local.INFO: Acknowledgment sent {"connection_id":173532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:47:28] local.INFO: TCP Data received {"connection_id":173533,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:47:28] local.INFO: Processing buffer {"connection_id":173533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:47:28] local.INFO: Packet analysis {"connection_id":173533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:47:28] local.INFO: Extracted packet for processing {"connection_id":173533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:47:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861131008001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788520344000,"timestamp_ms":1788520344000,"timestamp_seconds":1788520344,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1ea9c0"} 
[2026-09-04 16:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-04 16:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861131008001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861131008001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:47:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:47:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861131008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":173533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763688,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:47:28] local.INFO: GPS data processed {"connection_id":173533,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:47:28] local.INFO: Acknowledgment sent {"connection_id":173533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:47:48] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:47:48] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:47:48] local.INFO: IMEI packet received {"connection_id":173534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":173534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:47:48] local.INFO: TCP Data received {"connection_id":171128,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:47:48] local.INFO: Processing buffer {"connection_id":171128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:47:48] local.INFO: IMEI packet received {"connection_id":171128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":171128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:47:53] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:47:53] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:47:53] local.INFO: IMEI packet received {"connection_id":173534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":173534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:47:54] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c200950012d181f800721af40004c00d029..."} 
[2026-09-04 16:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c200950012d181f800721af40004c00d029..."} 
[2026-09-04 16:47:54] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c200950012d181f800721af40004c00d029..."} 
[2026-09-04 16:47:54] local.INFO: Packet analysis {"connection_id":173534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c20"} 
[2026-09-04 16:47:54] local.INFO: Extracted packet for processing {"connection_id":173534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c20"} 
[2026-09-04 16:47:54] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861225728001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788520434000,"timestamp_ms":1788520434000,"timestamp_seconds":1788520434,"priority":1,"record_length":96,"hex_timestamp":"000001a06c200950"} 
[2026-09-04 16:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 16:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:54] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2940207180,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-04 16:47:54] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:54] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2483879936,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:54] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:54] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,148,160,101,45,128,175,76,44,10,66,19,193,1,240,14,227,108,33,4,113,205,29,31,64,43,239,49,105,2,61,7,106],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-04 16:47:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476606021394759680,"timestamp_seconds":5476606021394760.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861225728001,"66":12504,"107":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861225728001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:47:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:47:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861225728001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":173534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:47:54] local.INFO: GPS data processed {"connection_id":173534,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:47:54] local.INFO: Acknowledgment sent {"connection_id":173534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:47:54] local.INFO: TCP Data received {"connection_id":171128,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:47:54] local.INFO: Processing buffer {"connection_id":171128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:47:54] local.INFO: IMEI packet received {"connection_id":171128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":171128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:47:55] local.INFO: TCP Data received {"connection_id":171128,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:47:55] local.INFO: Processing buffer {"connection_id":171128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c1ea9c0012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:47:55] local.INFO: Packet analysis {"connection_id":171128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:47:55] local.INFO: Extracted packet for processing {"connection_id":171128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c1e"} 
[2026-09-04 16:47:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861131008001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788520344000,"timestamp_ms":1788520344000,"timestamp_seconds":1788520344,"priority":1,"record_length":96,"hex_timestamp":"000001a06c1ea9c0"} 
[2026-09-04 16:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-04 16:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861131008001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861131008001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:47:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:47:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861131008001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":171128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:47:55] local.INFO: GPS data processed {"connection_id":171128,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:47:55] local.INFO: Acknowledgment sent {"connection_id":171128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:48:25] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c205b58012d181f800721af40004c00d029..."} 
[2026-09-04 16:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c205b58012d181f800721af40004c00d029..."} 
[2026-09-04 16:48:25] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c205b58012d181f800721af40004c00d029..."} 
[2026-09-04 16:48:25] local.INFO: Packet analysis {"connection_id":173534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c20"} 
[2026-09-04 16:48:25] local.INFO: Extracted packet for processing {"connection_id":173534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c20"} 
[2026-09-04 16:48:25] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861231104001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788520455000,"timestamp_ms":1788520455000,"timestamp_seconds":1788520455,"priority":1,"record_length":96,"hex_timestamp":"000001a06c205b58"} 
[2026-09-04 16:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 16:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861231104001,"66":12526,"107":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861231104001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:48:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:48:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861231104001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":173534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:48:25] local.INFO: GPS data processed {"connection_id":173534,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:48:25] local.INFO: Acknowledgment sent {"connection_id":173534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:48:26] local.INFO: TCP Data received {"connection_id":171128,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:48:26] local.INFO: Processing buffer {"connection_id":171128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:48:26] local.INFO: Packet analysis {"connection_id":171128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:48:26] local.INFO: Extracted packet for processing {"connection_id":171128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:48:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861208064001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788520645000,"timestamp_ms":1788520645000,"timestamp_seconds":1788520645,"priority":1,"record_length":96,"hex_timestamp":"000001a06c234188"} 
[2026-09-04 16:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861208064001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861208064001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:48:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:48:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861208064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":171128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763692,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:48:26] local.INFO: GPS data processed {"connection_id":171128,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:48:26] local.INFO: Acknowledgment sent {"connection_id":171128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:48:48] local.INFO: TCP Data received {"connection_id":170834,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:48:48] local.INFO: Processing buffer {"connection_id":170834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:48:48] local.INFO: IMEI packet received {"connection_id":170834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":170834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:48:53] local.INFO: TCP Data received {"connection_id":170834,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:48:53] local.INFO: Processing buffer {"connection_id":170834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:48:53] local.INFO: IMEI packet received {"connection_id":170834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":170834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:48:54] local.INFO: TCP Data received {"connection_id":170834,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c20ad60012d181f800721af40004c00d02a..."} 
[2026-09-04 16:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c20ad60012d181f800721af40004c00d02a..."} 
[2026-09-04 16:48:54] local.INFO: Processing buffer {"connection_id":170834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c20ad60012d181f800721af40004c00d02a..."} 
[2026-09-04 16:48:54] local.INFO: Packet analysis {"connection_id":170834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c20"} 
[2026-09-04 16:48:54] local.INFO: Extracted packet for processing {"connection_id":170834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c20"} 
[2026-09-04 16:48:54] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861236480001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788520476000,"timestamp_ms":1788520476000,"timestamp_seconds":1788520476,"priority":1,"record_length":96,"hex_timestamp":"000001a06c20ad60"} 
[2026-09-04 16:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 16:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861236480001,"66":12537,"107":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861236480001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:48:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:48:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861236480001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":170834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:48:54] local.INFO: GPS data processed {"connection_id":170834,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:48:54] local.INFO: Acknowledgment sent {"connection_id":170834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:48:54] local.INFO: TCP Data received {"connection_id":171129,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:48:54] local.INFO: Processing buffer {"connection_id":171129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:48:54] local.INFO: IMEI packet received {"connection_id":171129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":171129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:48:59] local.INFO: TCP Data received {"connection_id":171129,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:48:59] local.INFO: Processing buffer {"connection_id":171129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:48:59] local.INFO: IMEI packet received {"connection_id":171129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":171129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:49:00] local.INFO: TCP Data received {"connection_id":171129,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:49:00] local.INFO: Processing buffer {"connection_id":171129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:49:00] local.INFO: Packet analysis {"connection_id":171129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:49:00] local.INFO: Extracted packet for processing {"connection_id":171129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:49:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861208064001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788520645000,"timestamp_ms":1788520645000,"timestamp_seconds":1788520645,"priority":1,"record_length":96,"hex_timestamp":"000001a06c234188"} 
[2026-09-04 16:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861208064001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861208064001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:49:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:49:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861208064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":171129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763694,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:49:00] local.INFO: GPS data processed {"connection_id":171129,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:49:00] local.INFO: Acknowledgment sent {"connection_id":171129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:49:04] local.INFO: TCP Data received {"connection_id":171129,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:49:04] local.INFO: Processing buffer {"connection_id":171129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:49:04] local.INFO: Packet analysis {"connection_id":171129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:49:04] local.INFO: Extracted packet for processing {"connection_id":171129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861208064001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788520645000,"timestamp_ms":1788520645000,"timestamp_seconds":1788520645,"priority":1,"record_length":96,"hex_timestamp":"000001a06c234188"} 
[2026-09-04 16:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861208064001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861208064001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:49:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861208064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":171129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:49:05] local.INFO: GPS data processed {"connection_id":171129,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:49:05] local.INFO: Acknowledgment sent {"connection_id":171129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:49:25] local.INFO: TCP Data received {"connection_id":170834,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c20ff68012d181f800721af40004c00d02a..."} 
[2026-09-04 16:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c20ff68012d181f800721af40004c00d02a..."} 
[2026-09-04 16:49:25] local.INFO: Processing buffer {"connection_id":170834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c20ff68012d181f800721af40004c00d02a..."} 
[2026-09-04 16:49:25] local.INFO: Packet analysis {"connection_id":170834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c20"} 
[2026-09-04 16:49:25] local.INFO: Extracted packet for processing {"connection_id":170834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c20"} 
[2026-09-04 16:49:25] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861241856001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788520497000,"timestamp_ms":1788520497000,"timestamp_seconds":1788520497,"priority":1,"record_length":96,"hex_timestamp":"000001a06c20ff68"} 
[2026-09-04 16:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-04 16:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861241856001,"66":12504,"107":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861241856001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:49:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:49:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861241856001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":170834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:49:25] local.INFO: GPS data processed {"connection_id":170834,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:49:25] local.INFO: Acknowledgment sent {"connection_id":170834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:49:47] local.INFO: TCP Data received {"connection_id":170835,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:49:47] local.INFO: Processing buffer {"connection_id":170835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:49:47] local.INFO: IMEI packet received {"connection_id":170835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":170835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:49:49] local.INFO: TCP Data received {"connection_id":173535,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:49:49] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:49:49] local.INFO: IMEI packet received {"connection_id":173535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":173535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:49:53] local.INFO: TCP Data received {"connection_id":170835,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:49:53] local.INFO: Processing buffer {"connection_id":170835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:49:53] local.INFO: IMEI packet received {"connection_id":170835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":170835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:49:54] local.INFO: TCP Data received {"connection_id":170835,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c215170012d181f800721af40004c00d02a..."} 
[2026-09-04 16:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c215170012d181f800721af40004c00d02a..."} 
[2026-09-04 16:49:54] local.INFO: Processing buffer {"connection_id":170835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c215170012d181f800721af40004c00d02a..."} 
[2026-09-04 16:49:54] local.INFO: Packet analysis {"connection_id":170835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c21"} 
[2026-09-04 16:49:54] local.INFO: Extracted packet for processing {"connection_id":170835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c21"} 
[2026-09-04 16:49:54] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861247232001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788520518000,"timestamp_ms":1788520518000,"timestamp_seconds":1788520518,"priority":1,"record_length":96,"hex_timestamp":"000001a06c215170"} 
[2026-09-04 16:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 16:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861247232001,"66":12461,"107":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861247232001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:49:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:49:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861247232001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":170835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:49:54] local.INFO: GPS data processed {"connection_id":170835,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:49:54] local.INFO: Acknowledgment sent {"connection_id":170835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:49:54] local.INFO: TCP Data received {"connection_id":173535,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:49:54] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:49:54] local.INFO: IMEI packet received {"connection_id":173535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":173535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:49:55] local.INFO: TCP Data received {"connection_id":173535,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:49:55] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:49:55] local.INFO: Packet analysis {"connection_id":173535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:49:55] local.INFO: Extracted packet for processing {"connection_id":173535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861208064001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788520645000,"timestamp_ms":1788520645000,"timestamp_seconds":1788520645,"priority":1,"record_length":96,"hex_timestamp":"000001a06c234188"} 
[2026-09-04 16:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861208064001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861208064001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:49:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:49:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861208064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":173535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:49:55] local.INFO: GPS data processed {"connection_id":173535,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:49:55] local.INFO: Acknowledgment sent {"connection_id":173535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:50:04] local.INFO: TCP Data received {"connection_id":171131,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:50:04] local.INFO: Processing buffer {"connection_id":171131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:50:04] local.INFO: IMEI packet received {"connection_id":171131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":171131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:50:05] local.INFO: TCP Data received {"connection_id":171131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c247a08012cb36b80077afd90001600c129..."} 
[2026-09-04 16:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c247a08012cb36b80077afd90001600c129..."} 
[2026-09-04 16:50:05] local.INFO: Processing buffer {"connection_id":171131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c247a08012cb36b80077afd90001600c129..."} 
[2026-09-04 16:50:05] local.INFO: Packet analysis {"connection_id":171131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c24"} 
[2026-09-04 16:50:05] local.INFO: Extracted packet for processing {"connection_id":171131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c24"} 
[2026-09-04 16:50:05] local.INFO: GPS Element Parsed {"raw_longitude":749955968,"raw_latitude":125500816,"longitude_deg":74.9955968,"latitude_deg":12.5500816,"altitude":22,"angle":193,"satellites":41,"speed":7,"hex_longitude":"2cb36b80","hex_latitude":"077afd90","is_valid_coordinates":true} 
[2026-09-04 16:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861301760001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398114211021979648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5515924348979957760,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788520725000,"timestamp_ms":1788520725000,"timestamp_seconds":1788520725,"priority":1,"record_length":96,"hex_timestamp":"000001a06c247a08"} 
[2026-09-04 16:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 16:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861301760001,"66":27984,"47":206,"85":36608,"24":7,"16":398114211021979648,"44":-5515924348979957760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,44]} 
[2026-09-04 16:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861301760001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:50:05] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-04 16:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 16:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398114211021979648,"km_value":398114211021979.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:50:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5515924348979957760,"description":"Unknown IO ID 44"} 
[2026-09-04 16:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861301760001,"power":27984,"unknown_47":206,"unknown_85":36608,"ignition":7,"odometer":null,"unknown_44":-5515924348979957760}} 
[2026-09-04 16:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":171131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:50:05] local.INFO: GPS data processed {"connection_id":171131,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:50:05] local.INFO: Acknowledgment sent {"connection_id":171131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:50:25] local.INFO: TCP Data received {"connection_id":170835,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c21a378012d181f800721af40004c00d02a..."} 
[2026-09-04 16:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c21a378012d181f800721af40004c00d02a..."} 
[2026-09-04 16:50:25] local.INFO: Processing buffer {"connection_id":170835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c21a378012d181f800721af40004c00d02a..."} 
[2026-09-04 16:50:25] local.INFO: Packet analysis {"connection_id":170835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c21"} 
[2026-09-04 16:50:25] local.INFO: Extracted packet for processing {"connection_id":170835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c21"} 
[2026-09-04 16:50:25] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861252608001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788520539000,"timestamp_ms":1788520539000,"timestamp_seconds":1788520539,"priority":1,"record_length":96,"hex_timestamp":"000001a06c21a378"} 
[2026-09-04 16:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 16:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861252608001,"66":12526,"107":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861252608001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:50:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:50:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861252608001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":170835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:50:25] local.INFO: GPS data processed {"connection_id":170835,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:50:25] local.INFO: Acknowledgment sent {"connection_id":170835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:50:28] local.INFO: TCP Data received {"connection_id":173535,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:50:28] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:50:28] local.INFO: Packet analysis {"connection_id":173535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:50:28] local.INFO: Extracted packet for processing {"connection_id":173535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:50:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861208064001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788520645000,"timestamp_ms":1788520645000,"timestamp_seconds":1788520645,"priority":1,"record_length":96,"hex_timestamp":"000001a06c234188"} 
[2026-09-04 16:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861208064001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861208064001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:50:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:50:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861208064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":173535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:50:28] local.INFO: GPS data processed {"connection_id":173535,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:50:28] local.INFO: Acknowledgment sent {"connection_id":173535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:50:35] local.INFO: TCP Data received {"connection_id":171131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2485c0012cb36a00077afa18001500cc2b..."} 
[2026-09-04 16:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2485c0012cb36a00077afa18001500cc2b..."} 
[2026-09-04 16:50:35] local.INFO: Processing buffer {"connection_id":171131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2485c0012cb36a00077afa18001500cc2b..."} 
[2026-09-04 16:50:35] local.INFO: Packet analysis {"connection_id":171131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c24"} 
[2026-09-04 16:50:35] local.INFO: Extracted packet for processing {"connection_id":171131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c24"} 
[2026-09-04 16:50:35] local.INFO: GPS Element Parsed {"raw_longitude":749955584,"raw_latitude":125499928,"longitude_deg":74.9955584,"latitude_deg":12.5499928,"altitude":21,"angle":204,"satellites":43,"speed":17,"hex_longitude":"2cb36a00","hex_latitude":"077afa18","is_valid_coordinates":true} 
[2026-09-04 16:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861305600001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398114258266619904,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5518176148795846656,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788520728000,"timestamp_ms":1788520728000,"timestamp_seconds":1788520728,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2485c0"} 
[2026-09-04 16:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 16:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861305600001,"66":27919,"47":206,"85":36608,"24":17,"16":398114258266619904,"44":-5518176148795846656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,44]} 
[2026-09-04 16:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861305600001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:50:35] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-04 16:50:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 16:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398114258266619904,"km_value":398114258266619.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:50:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5518176148795846656,"description":"Unknown IO ID 44"} 
[2026-09-04 16:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861305600001,"power":27919,"unknown_47":206,"unknown_85":36608,"ignition":17,"odometer":null,"unknown_44":-5518176148795846656}} 
[2026-09-04 16:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":171131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:50:35] local.INFO: GPS data processed {"connection_id":171131,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:50:35] local.INFO: Acknowledgment sent {"connection_id":171131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:50:48] local.INFO: TCP Data received {"connection_id":172229,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:50:48] local.INFO: Processing buffer {"connection_id":172229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:50:48] local.INFO: IMEI packet received {"connection_id":172229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":172229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:50:48] local.INFO: TCP Data received {"connection_id":171132,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:50:48] local.INFO: Processing buffer {"connection_id":171132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:50:48] local.INFO: IMEI packet received {"connection_id":171132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":171132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:50:50] local.INFO: TCP Data received {"connection_id":172229,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:50:50] local.INFO: Processing buffer {"connection_id":172229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:50:50] local.INFO: IMEI packet received {"connection_id":172229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":172229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:50:53] local.INFO: TCP Data received {"connection_id":172229,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:50:53] local.INFO: Processing buffer {"connection_id":172229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:50:53] local.INFO: IMEI packet received {"connection_id":172229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":172229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:50:54] local.INFO: TCP Data received {"connection_id":172229,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2529d0012d181f800721af40004c00d02c..."} 
[2026-09-04 16:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2529d0012d181f800721af40004c00d02c..."} 
[2026-09-04 16:50:54] local.INFO: Processing buffer {"connection_id":172229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2529d0012d181f800721af40004c00d02c..."} 
[2026-09-04 16:50:54] local.INFO: Packet analysis {"connection_id":172229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c25"} 
[2026-09-04 16:50:54] local.INFO: Extracted packet for processing {"connection_id":172229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c25"} 
[2026-09-04 16:50:54] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861311744001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788520770000,"timestamp_ms":1788520770000,"timestamp_seconds":1788520770,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2529d0"} 
[2026-09-04 16:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 16:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861311744001,"66":12504,"107":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861311744001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:50:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:50:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861311744001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":172229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:50:54] local.INFO: GPS data processed {"connection_id":172229,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:50:54] local.INFO: Acknowledgment sent {"connection_id":172229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:50:54] local.INFO: TCP Data received {"connection_id":171132,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:50:54] local.INFO: Processing buffer {"connection_id":171132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:50:54] local.INFO: IMEI packet received {"connection_id":171132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":171132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:50:55] local.INFO: TCP Data received {"connection_id":171132,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:50:55] local.INFO: Processing buffer {"connection_id":171132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:50:55] local.INFO: Packet analysis {"connection_id":171132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:50:55] local.INFO: Extracted packet for processing {"connection_id":171132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:50:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861208064001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788520645000,"timestamp_ms":1788520645000,"timestamp_seconds":1788520645,"priority":1,"record_length":96,"hex_timestamp":"000001a06c234188"} 
[2026-09-04 16:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861208064001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861208064001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:50:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:50:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861208064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":171132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:50:55] local.INFO: GPS data processed {"connection_id":171132,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:50:55] local.INFO: Acknowledgment sent {"connection_id":171132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:50:58] local.INFO: TCP Data received {"connection_id":172229,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c257bd8012d181f800721af40004c00d02a..."} 
[2026-09-04 16:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c257bd8012d181f800721af40004c00d02a..."} 
[2026-09-04 16:50:58] local.INFO: Processing buffer {"connection_id":172229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c257bd8012d181f800721af40004c00d02a..."} 
[2026-09-04 16:50:58] local.INFO: Packet analysis {"connection_id":172229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c25"} 
[2026-09-04 16:50:58] local.INFO: Extracted packet for processing {"connection_id":172229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c25"} 
[2026-09-04 16:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861317120001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788520791000,"timestamp_ms":1788520791000,"timestamp_seconds":1788520791,"priority":1,"record_length":96,"hex_timestamp":"000001a06c257bd8"} 
[2026-09-04 16:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 16:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861317120001,"66":12461,"105":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861317120001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:50:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861317120001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":172229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:50:58] local.INFO: GPS data processed {"connection_id":172229,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:50:58] local.INFO: Acknowledgment sent {"connection_id":172229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:50:58] local.INFO: TCP Data received {"connection_id":173536,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:50:58] local.INFO: Processing buffer {"connection_id":173536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:50:58] local.INFO: IMEI packet received {"connection_id":173536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":173536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:50:59] local.INFO: TCP Data received {"connection_id":173536,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:50:59] local.INFO: Processing buffer {"connection_id":173536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:50:59] local.INFO: IMEI packet received {"connection_id":173536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":173536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:51:00] local.INFO: TCP Data received {"connection_id":173536,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:51:00] local.INFO: Processing buffer {"connection_id":173536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:51:00] local.INFO: IMEI packet received {"connection_id":173536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":173536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:51:02] local.INFO: TCP Data received {"connection_id":173536,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:51:02] local.INFO: Processing buffer {"connection_id":173536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:51:02] local.INFO: IMEI packet received {"connection_id":173536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":173536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:51:27] local.INFO: TCP Data received {"connection_id":171132,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:51:27] local.INFO: Processing buffer {"connection_id":171132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:51:27] local.INFO: Packet analysis {"connection_id":171132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:51:27] local.INFO: Extracted packet for processing {"connection_id":171132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861208064001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788520645000,"timestamp_ms":1788520645000,"timestamp_seconds":1788520645,"priority":1,"record_length":96,"hex_timestamp":"000001a06c234188"} 
[2026-09-04 16:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861208064001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861208064001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:51:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:51:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861208064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":171132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763706,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:51:27] local.INFO: GPS data processed {"connection_id":171132,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:51:27] local.INFO: Acknowledgment sent {"connection_id":171132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:51:29] local.INFO: TCP Data received {"connection_id":172229,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c25cde0012d181f800721af40004c00d02c..."} 
[2026-09-04 16:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c25cde0012d181f800721af40004c00d02c..."} 
[2026-09-04 16:51:29] local.INFO: Processing buffer {"connection_id":172229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c25cde0012d181f800721af40004c00d02c..."} 
[2026-09-04 16:51:29] local.INFO: Packet analysis {"connection_id":172229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c25"} 
[2026-09-04 16:51:29] local.INFO: Extracted packet for processing {"connection_id":172229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c25"} 
[2026-09-04 16:51:29] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648064,"longitude_deg":75.6555648,"latitude_deg":11.9648064,"altitude":76,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-09-04 16:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861322496001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332757134835712,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788520812000,"timestamp_ms":1788520812000,"timestamp_seconds":1788520812,"priority":1,"record_length":96,"hex_timestamp":"000001a06c25cde0"} 
[2026-09-04 16:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 16:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861322496001,"66":12428,"105":206,"83":41984,"24":0,"16":17332757134835712,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861322496001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:51:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332757134835712,"km_value":17332757134835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861322496001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":172229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:51:29] local.INFO: GPS data processed {"connection_id":172229,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:51:29] local.INFO: Acknowledgment sent {"connection_id":172229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:51:48] local.INFO: TCP Data received {"connection_id":173537,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:51:48] local.INFO: Processing buffer {"connection_id":173537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:51:48] local.INFO: IMEI packet received {"connection_id":173537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":173537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:51:48] local.INFO: TCP Data received {"connection_id":173538,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:51:48] local.INFO: Processing buffer {"connection_id":173538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:51:48] local.INFO: IMEI packet received {"connection_id":173538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":173538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:51:53] local.INFO: TCP Data received {"connection_id":173537,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:51:53] local.INFO: Processing buffer {"connection_id":173537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:51:53] local.INFO: IMEI packet received {"connection_id":173537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":173537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:51:54] local.INFO: TCP Data received {"connection_id":173537,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c261fe8012d181e000721ae38004f00ca2b..."} 
[2026-09-04 16:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c261fe8012d181e000721ae38004f00ca2b..."} 
[2026-09-04 16:51:54] local.INFO: Processing buffer {"connection_id":173537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c261fe8012d181e000721ae38004f00ca2b..."} 
[2026-09-04 16:51:54] local.INFO: Packet analysis {"connection_id":173537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c26"} 
[2026-09-04 16:51:54] local.INFO: Extracted packet for processing {"connection_id":173537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c26"} 
[2026-09-04 16:51:54] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647800,"longitude_deg":75.6555264,"latitude_deg":11.96478,"altitude":79,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-04 16:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861327872001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332782904639488,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306560512,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788520833000,"timestamp_ms":1788520833000,"timestamp_seconds":1788520833,"priority":1,"record_length":96,"hex_timestamp":"000001a06c261fe8"} 
[2026-09-04 16:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 16:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861327872001,"66":12504,"105":206,"83":41984,"24":0,"16":17332782904639488,"45":1738248749306560512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861327872001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:51:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:51:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332782904639488,"km_value":17332782904639.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306560512,"description":"Unknown IO ID 45"} 
[2026-09-04 16:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861327872001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306560512}} 
[2026-09-04 16:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":173537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:51:54] local.INFO: GPS data processed {"connection_id":173537,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:51:54] local.INFO: Acknowledgment sent {"connection_id":173537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:51:54] local.INFO: TCP Data received {"connection_id":173538,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:51:54] local.INFO: Processing buffer {"connection_id":173538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:51:54] local.INFO: IMEI packet received {"connection_id":173538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":173538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:51:54] local.INFO: TCP Data received {"connection_id":173537,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2671f0012d181e000721ae38004f00ca2a..."} 
[2026-09-04 16:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2671f0012d181e000721ae38004f00ca2a..."} 
[2026-09-04 16:51:54] local.INFO: Processing buffer {"connection_id":173537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2671f0012d181e000721ae38004f00ca2a..."} 
[2026-09-04 16:51:54] local.INFO: Packet analysis {"connection_id":173537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c26"} 
[2026-09-04 16:51:54] local.INFO: Extracted packet for processing {"connection_id":173537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c26"} 
[2026-09-04 16:51:54] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647800,"longitude_deg":75.6555264,"latitude_deg":11.96478,"altitude":79,"angle":202,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-04 16:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861333248001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332782904639488,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841426944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788520854000,"timestamp_ms":1788520854000,"timestamp_seconds":1788520854,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2671f0"} 
[2026-09-04 16:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 16:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861333248001,"66":12428,"105":206,"83":41984,"24":0,"16":17332782904639488,"45":1737826536841426944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861333248001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:51:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:51:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332782904639488,"km_value":17332782904639.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841426944,"description":"Unknown IO ID 45"} 
[2026-09-04 16:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861333248001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841426944}} 
[2026-09-04 16:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":173537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:51:55] local.INFO: GPS data processed {"connection_id":173537,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:51:55] local.INFO: Acknowledgment sent {"connection_id":173537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:51:56] local.INFO: TCP Data received {"connection_id":173538,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:51:56] local.INFO: Processing buffer {"connection_id":173538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:51:56] local.INFO: Packet analysis {"connection_id":173538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:51:56] local.INFO: Extracted packet for processing {"connection_id":173538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:51:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861208064001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788520645000,"timestamp_ms":1788520645000,"timestamp_seconds":1788520645,"priority":1,"record_length":96,"hex_timestamp":"000001a06c234188"} 
[2026-09-04 16:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861208064001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861208064001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:51:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:51:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861208064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":173538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763710,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:51:56] local.INFO: GPS data processed {"connection_id":173538,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:51:56] local.INFO: Acknowledgment sent {"connection_id":173538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:52:26] local.INFO: TCP Data received {"connection_id":173537,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c26c3f8012d181e000721ae38004f00ca29..."} 
[2026-09-04 16:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c26c3f8012d181e000721ae38004f00ca29..."} 
[2026-09-04 16:52:26] local.INFO: Processing buffer {"connection_id":173537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c26c3f8012d181e000721ae38004f00ca29..."} 
[2026-09-04 16:52:26] local.INFO: Packet analysis {"connection_id":173537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c26"} 
[2026-09-04 16:52:26] local.INFO: Extracted packet for processing {"connection_id":173537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c26"} 
[2026-09-04 16:52:26] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647800,"longitude_deg":75.6555264,"latitude_deg":11.96478,"altitude":79,"angle":202,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-04 16:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861338624001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332782904639488,"note":"Value kept but may cause issues"} 
[2026-09-04 16:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841426944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788520875000,"timestamp_ms":1788520875000,"timestamp_seconds":1788520875,"priority":1,"record_length":96,"hex_timestamp":"000001a06c26c3f8"} 
[2026-09-04 16:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 16:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861338624001,"66":12461,"105":206,"83":41984,"24":0,"16":17332782904639488,"45":1737826536841426944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861338624001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:52:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:52:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332782904639488,"km_value":17332782904639.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841426944,"description":"Unknown IO ID 45"} 
[2026-09-04 16:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861338624001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841426944}} 
[2026-09-04 16:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":173537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:52:26] local.INFO: GPS data processed {"connection_id":173537,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:52:26] local.INFO: Acknowledgment sent {"connection_id":173537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:52:27] local.INFO: TCP Data received {"connection_id":173538,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:52:27] local.INFO: Processing buffer {"connection_id":173538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:52:27] local.INFO: Packet analysis {"connection_id":173538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:52:27] local.INFO: Extracted packet for processing {"connection_id":173538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:52:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861208064001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788520645000,"timestamp_ms":1788520645000,"timestamp_seconds":1788520645,"priority":1,"record_length":96,"hex_timestamp":"000001a06c234188"} 
[2026-09-04 16:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861208064001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861208064001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:52:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:52:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861208064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":173538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:52:28] local.INFO: GPS data processed {"connection_id":173538,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:52:28] local.INFO: Acknowledgment sent {"connection_id":173538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:52:48] local.INFO: TCP Data received {"connection_id":171133,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:52:48] local.INFO: Processing buffer {"connection_id":171133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:52:48] local.INFO: IMEI packet received {"connection_id":171133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":171133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:52:53] local.INFO: TCP Data received {"connection_id":171133,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:52:53] local.INFO: Processing buffer {"connection_id":171133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:52:53] local.INFO: IMEI packet received {"connection_id":171133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":171133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:52:54] local.INFO: TCP Data received {"connection_id":171133,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c271600012d181e000721ae38004f00ca28..."} 
[2026-09-04 16:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c271600012d181e000721ae38004f00ca28..."} 
[2026-09-04 16:52:54] local.INFO: Processing buffer {"connection_id":171133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c271600012d181e000721ae38004f00ca28..."} 
[2026-09-04 16:52:54] local.INFO: Packet analysis {"connection_id":171133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:52:54] local.INFO: Extracted packet for processing {"connection_id":171133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:52:54] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647800,"longitude_deg":75.6555264,"latitude_deg":11.96478,"altitude":79,"angle":202,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-04 16:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861344000001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332782904639488,"note":"Value kept but may cause issues"} 
[2026-09-04 16:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841426944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788520896000,"timestamp_ms":1788520896000,"timestamp_seconds":1788520896,"priority":1,"record_length":96,"hex_timestamp":"000001a06c271600"} 
[2026-09-04 16:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 16:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861344000001,"66":12461,"105":206,"83":41984,"24":0,"16":17332782904639488,"45":1737826536841426944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861344000001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:52:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:52:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332782904639488,"km_value":17332782904639.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841426944,"description":"Unknown IO ID 45"} 
[2026-09-04 16:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861344000001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841426944}} 
[2026-09-04 16:52:54] local.INFO: TCP Data received {"connection_id":172230,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:52:54] local.INFO: Processing buffer {"connection_id":172230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:52:54] local.INFO: IMEI packet received {"connection_id":172230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":172230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":171133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:52:54] local.INFO: GPS data processed {"connection_id":171133,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:52:54] local.INFO: Acknowledgment sent {"connection_id":171133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:52:59] local.INFO: TCP Data received {"connection_id":172230,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:52:59] local.INFO: Processing buffer {"connection_id":172230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:52:59] local.INFO: IMEI packet received {"connection_id":172230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":172230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:53:00] local.INFO: TCP Data received {"connection_id":172230,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:53:00] local.INFO: Processing buffer {"connection_id":172230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:53:00] local.INFO: Packet analysis {"connection_id":172230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:53:00] local.INFO: Extracted packet for processing {"connection_id":172230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:53:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861208064001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788520645000,"timestamp_ms":1788520645000,"timestamp_seconds":1788520645,"priority":1,"record_length":96,"hex_timestamp":"000001a06c234188"} 
[2026-09-04 16:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861208064001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861208064001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:53:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:53:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861208064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":172230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763714,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:53:00] local.INFO: GPS data processed {"connection_id":172230,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:53:00] local.INFO: Acknowledgment sent {"connection_id":172230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:53:04] local.INFO: TCP Data received {"connection_id":172230,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:53:04] local.INFO: Processing buffer {"connection_id":172230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c234188012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:53:04] local.INFO: Packet analysis {"connection_id":172230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:53:04] local.INFO: Extracted packet for processing {"connection_id":172230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c23"} 
[2026-09-04 16:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861208064001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788520645000,"timestamp_ms":1788520645000,"timestamp_seconds":1788520645,"priority":1,"record_length":96,"hex_timestamp":"000001a06c234188"} 
[2026-09-04 16:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 16:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861208064001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861208064001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:53:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:53:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861208064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":172230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:53:05] local.INFO: GPS data processed {"connection_id":172230,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:53:05] local.INFO: Acknowledgment sent {"connection_id":172230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:53:25] local.INFO: TCP Data received {"connection_id":171133,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c276808012d181e000721ae38004f00ca27..."} 
[2026-09-04 16:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c276808012d181e000721ae38004f00ca27..."} 
[2026-09-04 16:53:25] local.INFO: Processing buffer {"connection_id":171133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c276808012d181e000721ae38004f00ca27..."} 
[2026-09-04 16:53:25] local.INFO: Packet analysis {"connection_id":171133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:53:25] local.INFO: Extracted packet for processing {"connection_id":171133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:53:25] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647800,"longitude_deg":75.6555264,"latitude_deg":11.96478,"altitude":79,"angle":202,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-04 16:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861349376001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332782904639488,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841426944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788520917000,"timestamp_ms":1788520917000,"timestamp_seconds":1788520917,"priority":1,"record_length":96,"hex_timestamp":"000001a06c276808"} 
[2026-09-04 16:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 16:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861349376001,"66":12406,"105":206,"83":41984,"24":0,"16":17332782904639488,"45":1737826536841426944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861349376001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:53:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:53:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332782904639488,"km_value":17332782904639.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841426944,"description":"Unknown IO ID 45"} 
[2026-09-04 16:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861349376001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841426944}} 
[2026-09-04 16:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":171133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:53:25] local.INFO: GPS data processed {"connection_id":171133,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:53:25] local.INFO: Acknowledgment sent {"connection_id":171133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:53:48] local.INFO: TCP Data received {"connection_id":172231,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:53:48] local.INFO: Processing buffer {"connection_id":172231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:53:48] local.INFO: IMEI packet received {"connection_id":172231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":172231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:53:48] local.INFO: TCP Data received {"connection_id":170838,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:53:48] local.INFO: Processing buffer {"connection_id":170838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:53:48] local.INFO: IMEI packet received {"connection_id":170838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":170838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:53:53] local.INFO: TCP Data received {"connection_id":172231,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:53:53] local.INFO: Processing buffer {"connection_id":172231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:53:53] local.INFO: IMEI packet received {"connection_id":172231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":172231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:53:54] local.INFO: TCP Data received {"connection_id":172231,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c27ba10012d181e000721ae38004f00ca2a..."} 
[2026-09-04 16:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c27ba10012d181e000721ae38004f00ca2a..."} 
[2026-09-04 16:53:54] local.INFO: Processing buffer {"connection_id":172231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c27ba10012d181e000721ae38004f00ca2a..."} 
[2026-09-04 16:53:54] local.INFO: Packet analysis {"connection_id":172231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:53:54] local.INFO: Extracted packet for processing {"connection_id":172231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:53:54] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647800,"longitude_deg":75.6555264,"latitude_deg":11.96478,"altitude":79,"angle":202,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-04 16:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861354752001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332782904639488,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841426944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788520938000,"timestamp_ms":1788520938000,"timestamp_seconds":1788520938,"priority":1,"record_length":96,"hex_timestamp":"000001a06c27ba10"} 
[2026-09-04 16:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 16:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861354752001,"66":12406,"105":206,"83":41984,"24":0,"16":17332782904639488,"45":1737826536841426944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:53:54] local.INFO: TCP Data received {"connection_id":170838,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861354752001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:53:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:53:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332782904639488,"km_value":17332782904639.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841426944,"description":"Unknown IO ID 45"} 
[2026-09-04 16:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861354752001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841426944}} 
[2026-09-04 16:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:53:54] local.INFO: Processing buffer {"connection_id":170838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:53:54] local.INFO: IMEI packet received {"connection_id":170838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":170838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":172231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:53:54] local.INFO: GPS data processed {"connection_id":172231,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:53:54] local.INFO: Acknowledgment sent {"connection_id":172231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:53:55] local.INFO: TCP Data received {"connection_id":170838,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:53:55] local.INFO: Processing buffer {"connection_id":170838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:53:55] local.INFO: Packet analysis {"connection_id":170838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:53:55] local.INFO: Extracted packet for processing {"connection_id":170838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:53:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861285120001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788520946000,"timestamp_ms":1788520946000,"timestamp_seconds":1788520946,"priority":1,"record_length":96,"hex_timestamp":"000001a06c27d950"} 
[2026-09-04 16:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 16:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861285120001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861285120001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:53:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861285120001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":170838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:53:55] local.INFO: GPS data processed {"connection_id":170838,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:53:55] local.INFO: Acknowledgment sent {"connection_id":170838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:54:25] local.INFO: TCP Data received {"connection_id":172231,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c280c18012d181e000721ae38004f00ca28..."} 
[2026-09-04 16:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c280c18012d181e000721ae38004f00ca28..."} 
[2026-09-04 16:54:25] local.INFO: Processing buffer {"connection_id":172231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c280c18012d181e000721ae38004f00ca28..."} 
[2026-09-04 16:54:25] local.INFO: Packet analysis {"connection_id":172231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c28"} 
[2026-09-04 16:54:25] local.INFO: Extracted packet for processing {"connection_id":172231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c28"} 
[2026-09-04 16:54:25] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647800,"longitude_deg":75.6555264,"latitude_deg":11.96478,"altitude":79,"angle":202,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-04 16:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861360128001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17332782904639488,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841426944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788520959000,"timestamp_ms":1788520959000,"timestamp_seconds":1788520959,"priority":1,"record_length":96,"hex_timestamp":"000001a06c280c18"} 
[2026-09-04 16:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 16:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861360128001,"66":12798,"105":206,"83":41984,"24":0,"16":17332782904639488,"45":1737826536841426944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861360128001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:54:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:54:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17332782904639488,"km_value":17332782904639.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841426944,"description":"Unknown IO ID 45"} 
[2026-09-04 16:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861360128001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841426944}} 
[2026-09-04 16:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":172231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:54:25] local.INFO: GPS data processed {"connection_id":172231,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:54:25] local.INFO: Acknowledgment sent {"connection_id":172231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:54:27] local.INFO: TCP Data received {"connection_id":170838,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:54:27] local.INFO: Processing buffer {"connection_id":170838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:54:27] local.INFO: Packet analysis {"connection_id":170838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:54:27] local.INFO: Extracted packet for processing {"connection_id":170838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:54:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861285120001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788520946000,"timestamp_ms":1788520946000,"timestamp_seconds":1788520946,"priority":1,"record_length":96,"hex_timestamp":"000001a06c27d950"} 
[2026-09-04 16:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 16:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861285120001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861285120001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:54:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:54:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861285120001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":170838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763720,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:54:27] local.INFO: GPS data processed {"connection_id":170838,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:54:27] local.INFO: Acknowledgment sent {"connection_id":170838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:54:47] local.INFO: TCP Data received {"connection_id":171134,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:54:47] local.INFO: Processing buffer {"connection_id":171134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:54:47] local.INFO: IMEI packet received {"connection_id":171134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":171134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:54:48] local.INFO: TCP Data received {"connection_id":170839,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:54:48] local.INFO: Processing buffer {"connection_id":170839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:54:48] local.INFO: IMEI packet received {"connection_id":170839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":170839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:54:51] local.INFO: TCP Data received {"connection_id":171134,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:54:51] local.INFO: Processing buffer {"connection_id":171134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:54:51] local.INFO: IMEI packet received {"connection_id":171134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":171134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:54:52] local.INFO: TCP Data received {"connection_id":171134,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:54:52] local.INFO: Processing buffer {"connection_id":171134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:54:52] local.INFO: IMEI packet received {"connection_id":171134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":171134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:54:52] local.INFO: TCP Data received {"connection_id":171134,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c295438012d17ec8007218930004c011c2b..."} 
[2026-09-04 16:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c295438012d17ec8007218930004c011c2b..."} 
[2026-09-04 16:54:52] local.INFO: Processing buffer {"connection_id":171134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c295438012d17ec8007218930004c011c2b..."} 
[2026-09-04 16:54:52] local.INFO: Packet analysis {"connection_id":171134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c29"} 
[2026-09-04 16:54:52] local.INFO: Extracted packet for processing {"connection_id":171134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c29"} 
[2026-09-04 16:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756542592,"raw_latitude":119638320,"longitude_deg":75.6542592,"latitude_deg":11.963832,"altitude":76,"angle":284,"satellites":43,"speed":9,"hex_longitude":"2d17ec80","hex_latitude":"07218930","is_valid_coordinates":true} 
[2026-09-04 16:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861385472001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17333684847771648,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726004587816972288,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788521043000,"timestamp_ms":1788521043000,"timestamp_seconds":1788521043,"priority":1,"record_length":96,"hex_timestamp":"000001a06c295438"} 
[2026-09-04 16:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 16:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861385472001,"66":14211,"107":206,"83":41984,"24":9,"16":17333684847771648,"45":1726004587816972288},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861385472001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:54:52] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17333684847771648,"km_value":17333684847771.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726004587816972288,"description":"Unknown IO ID 45"} 
[2026-09-04 16:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861385472001,"power":14211,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1726004587816972288}} 
[2026-09-04 16:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":171134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:54:52] local.INFO: GPS data processed {"connection_id":171134,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:54:52] local.INFO: Acknowledgment sent {"connection_id":171134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:54:53] local.INFO: TCP Data received {"connection_id":171134,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c297b48012d17e1c007218c18004c013226..."} 
[2026-09-04 16:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c297b48012d17e1c007218c18004c013226..."} 
[2026-09-04 16:54:53] local.INFO: Processing buffer {"connection_id":171134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c297b48012d17e1c007218c18004c013226..."} 
[2026-09-04 16:54:53] local.INFO: Packet analysis {"connection_id":171134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c29"} 
[2026-09-04 16:54:53] local.INFO: Extracted packet for processing {"connection_id":171134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c29"} 
[2026-09-04 16:54:53] local.INFO: GPS Element Parsed {"raw_longitude":756539840,"raw_latitude":119639064,"longitude_deg":75.653984,"latitude_deg":11.9639064,"altitude":76,"angle":306,"satellites":38,"speed":9,"hex_longitude":"2d17e1c0","hex_latitude":"07218c18","is_valid_coordinates":true} 
[2026-09-04 16:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861387008001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17333822286725120,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723893525491822592,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788521053000,"timestamp_ms":1788521053000,"timestamp_seconds":1788521053,"priority":1,"record_length":96,"hex_timestamp":"000001a06c297b48"} 
[2026-09-04 16:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 16:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861387008001,"66":14265,"107":206,"83":41984,"24":9,"16":17333822286725120,"45":1723893525491822592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861387008001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:54:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:54:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17333822286725120,"km_value":17333822286725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723893525491822592,"description":"Unknown IO ID 45"} 
[2026-09-04 16:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861387008001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1723893525491822592}} 
[2026-09-04 16:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":171134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:54:53] local.INFO: GPS data processed {"connection_id":171134,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:54:53] local.INFO: Acknowledgment sent {"connection_id":171134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:54:54] local.INFO: TCP Data received {"connection_id":170839,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:54:54] local.INFO: Processing buffer {"connection_id":170839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:54:54] local.INFO: IMEI packet received {"connection_id":170839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":170839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:54:56] local.INFO: TCP Data received {"connection_id":170839,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:54:56] local.INFO: Processing buffer {"connection_id":170839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:54:56] local.INFO: Packet analysis {"connection_id":170839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:54:56] local.INFO: Extracted packet for processing {"connection_id":170839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:54:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861285120001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788520946000,"timestamp_ms":1788520946000,"timestamp_seconds":1788520946,"priority":1,"record_length":96,"hex_timestamp":"000001a06c27d950"} 
[2026-09-04 16:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 16:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861285120001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861285120001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:54:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:54:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861285120001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":170839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763723,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:54:56] local.INFO: GPS data processed {"connection_id":170839,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:54:56] local.INFO: Acknowledgment sent {"connection_id":170839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:55:24] local.INFO: TCP Data received {"connection_id":171134,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c297f30012d17e14007218ce0004d014727..."} 
[2026-09-04 16:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c297f30012d17e14007218ce0004d014727..."} 
[2026-09-04 16:55:24] local.INFO: Processing buffer {"connection_id":171134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c297f30012d17e14007218ce0004d014727..."} 
[2026-09-04 16:55:24] local.INFO: Packet analysis {"connection_id":171134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c29"} 
[2026-09-04 16:55:24] local.INFO: Extracted packet for processing {"connection_id":171134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c29"} 
[2026-09-04 16:55:24] local.INFO: GPS Element Parsed {"raw_longitude":756539712,"raw_latitude":119639264,"longitude_deg":75.6539712,"latitude_deg":11.9639264,"altitude":77,"angle":327,"satellites":39,"speed":8,"hex_longitude":"2d17e140","hex_latitude":"07218ce0","is_valid_coordinates":true} 
[2026-09-04 16:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861389568001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17333835171627008,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720867669492373504,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788521054000,"timestamp_ms":1788521054000,"timestamp_seconds":1788521054,"priority":1,"record_length":96,"hex_timestamp":"000001a06c297f30"} 
[2026-09-04 16:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 16:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861389568001,"66":14265,"107":206,"83":41984,"24":8,"16":17333835171627008,"45":1720867669492373504},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 16:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861389568001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:55:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 16:55:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17333835171627008,"km_value":17333835171627.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720867669492373504,"description":"Unknown IO ID 45"} 
[2026-09-04 16:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861389568001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1720867669492373504}} 
[2026-09-04 16:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":171134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:55:24] local.INFO: GPS data processed {"connection_id":171134,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:55:24] local.INFO: Acknowledgment sent {"connection_id":171134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:55:27] local.INFO: TCP Data received {"connection_id":170839,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:55:27] local.INFO: Processing buffer {"connection_id":170839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:55:27] local.INFO: Packet analysis {"connection_id":170839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:55:27] local.INFO: Extracted packet for processing {"connection_id":170839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:55:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861285120001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788520946000,"timestamp_ms":1788520946000,"timestamp_seconds":1788520946,"priority":1,"record_length":96,"hex_timestamp":"000001a06c27d950"} 
[2026-09-04 16:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 16:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861285120001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861285120001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:55:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:55:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861285120001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":170839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:55:27] local.INFO: GPS data processed {"connection_id":170839,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:55:27] local.INFO: Acknowledgment sent {"connection_id":170839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:55:47] local.INFO: TCP Data received {"connection_id":172234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:55:47] local.INFO: Processing buffer {"connection_id":172234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:55:47] local.INFO: IMEI packet received {"connection_id":172234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":172234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:55:48] local.INFO: TCP Data received {"connection_id":171135,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:55:48] local.INFO: Processing buffer {"connection_id":171135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:55:48] local.INFO: IMEI packet received {"connection_id":171135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":171135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:55:49] local.INFO: TCP Data received {"connection_id":172234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:55:49] local.INFO: Processing buffer {"connection_id":172234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:55:49] local.INFO: IMEI packet received {"connection_id":172234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":172234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:55:51] local.INFO: TCP Data received {"connection_id":172234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:55:51] local.INFO: Processing buffer {"connection_id":172234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:55:51] local.INFO: IMEI packet received {"connection_id":172234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":172234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:55:52] local.INFO: TCP Data received {"connection_id":172234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:55:52] local.INFO: Processing buffer {"connection_id":172234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:55:52] local.INFO: IMEI packet received {"connection_id":172234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":172234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:55:53] local.INFO: TCP Data received {"connection_id":172234,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2a5220012d17ee800721e308004e000529..."} 
[2026-09-04 16:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2a5220012d17ee800721e308004e000529..."} 
[2026-09-04 16:55:53] local.INFO: Processing buffer {"connection_id":172234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2a5220012d17ee800721e308004e000529..."} 
[2026-09-04 16:55:53] local.INFO: Packet analysis {"connection_id":172234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:55:53] local.INFO: Extracted packet for processing {"connection_id":172234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:55:53] local.INFO: GPS Element Parsed {"raw_longitude":756543104,"raw_latitude":119661320,"longitude_deg":75.6543104,"latitude_deg":11.966132,"altitude":78,"angle":5,"satellites":41,"speed":19,"hex_longitude":"2d17ee80","hex_latitude":"0721e308","is_valid_coordinates":true} 
[2026-09-04 16:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861402112001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17334960453058560,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723400944287686656,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788521108000,"timestamp_ms":1788521108000,"timestamp_seconds":1788521108,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2a5220"} 
[2026-09-04 16:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 16:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861402112001,"66":14341,"105":206,"83":41984,"24":19,"16":17334960453058560,"45":1723400944287686656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861402112001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:55:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:55:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17334960453058560,"km_value":17334960453058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723400944287686656,"description":"Unknown IO ID 45"} 
[2026-09-04 16:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861402112001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1723400944287686656}} 
[2026-09-04 16:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":172234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:55:53] local.INFO: GPS data processed {"connection_id":172234,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:55:53] local.INFO: Acknowledgment sent {"connection_id":172234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:55:54] local.INFO: TCP Data received {"connection_id":171135,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:55:54] local.INFO: Processing buffer {"connection_id":171135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:55:54] local.INFO: IMEI packet received {"connection_id":171135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":171135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:55:55] local.INFO: TCP Data received {"connection_id":172234,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2a5dd8012d17ee400721e7f8004e016329..."} 
[2026-09-04 16:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2a5dd8012d17ee400721e7f8004e016329..."} 
[2026-09-04 16:55:55] local.INFO: Processing buffer {"connection_id":172234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2a5dd8012d17ee400721e7f8004e016329..."} 
[2026-09-04 16:55:55] local.INFO: Packet analysis {"connection_id":172234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:55:55] local.INFO: Extracted packet for processing {"connection_id":172234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756543040,"raw_latitude":119662584,"longitude_deg":75.654304,"latitude_deg":11.9662584,"altitude":78,"angle":355,"satellites":41,"speed":15,"hex_longitude":"2d17ee40","hex_latitude":"0721e7f8","is_valid_coordinates":true} 
[2026-09-04 16:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861403648001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17335020582600704,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724456475451131904,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788521111000,"timestamp_ms":1788521111000,"timestamp_seconds":1788521111,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2a5dd8"} 
[2026-09-04 16:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986410429,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":149,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503864124375040,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3024617553,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2818649367,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837546,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2507603968,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84750257485193627,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":104,"raw_value":22799576897425920,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,150,160,58,45,192,215,79,42,10,66,149,7,188,81,41,107,1,240,131,227,108,33,4,113,205,232,233,239,55,2,61,18,206,176,104],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-04 16:55:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620498008611422208,"timestamp_seconds":5620498008611422.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861403648001,"66":14265,"105":206,"83":41984,"24":15,"16":17335020582600704,"45":1724456475451131904},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861403648001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:55:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:55:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17335020582600704,"km_value":17335020582600.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724456475451131904,"description":"Unknown IO ID 45"} 
[2026-09-04 16:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861403648001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1724456475451131904}} 
[2026-09-04 16:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":172234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:55:55] local.INFO: GPS data processed {"connection_id":172234,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:55:55] local.INFO: Acknowledgment sent {"connection_id":172234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:55:55] local.INFO: TCP Data received {"connection_id":171135,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:55:55] local.INFO: Processing buffer {"connection_id":171135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:55:55] local.INFO: Packet analysis {"connection_id":171135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:55:55] local.INFO: Extracted packet for processing {"connection_id":171135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:55:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861285120001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788520946000,"timestamp_ms":1788520946000,"timestamp_seconds":1788520946,"priority":1,"record_length":96,"hex_timestamp":"000001a06c27d950"} 
[2026-09-04 16:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 16:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861285120001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861285120001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:55:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861285120001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":171135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:55:55] local.INFO: GPS data processed {"connection_id":171135,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:55:55] local.INFO: Acknowledgment sent {"connection_id":171135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:56:03] local.INFO: TCP Data received {"connection_id":173539,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:56:03] local.INFO: Processing buffer {"connection_id":173539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:56:03] local.INFO: IMEI packet received {"connection_id":173539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":173539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:56:04] local.INFO: TCP Data received {"connection_id":173539,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2a3e98012cb55cc007774380002e006a2c..."} 
[2026-09-04 16:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2a3e98012cb55cc007774380002e006a2c..."} 
[2026-09-04 16:56:04] local.INFO: Processing buffer {"connection_id":173539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2a3e98012cb55cc007774380002e006a2c..."} 
[2026-09-04 16:56:04] local.INFO: Packet analysis {"connection_id":173539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:56:04] local.INFO: Extracted packet for processing {"connection_id":173539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:56:04] local.INFO: GPS Element Parsed {"raw_longitude":750083264,"raw_latitude":125256576,"longitude_deg":75.0083264,"latitude_deg":12.5256576,"altitude":46,"angle":106,"satellites":44,"speed":38,"hex_longitude":"2cb55cc0","hex_latitude":"07774380","is_valid_coordinates":true} 
[2026-09-04 16:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861402112001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398128843975557120,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5379338616595750912,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788521103000,"timestamp_ms":1788521103000,"timestamp_seconds":1788521103,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2a3e98"} 
[2026-09-04 16:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 16:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861402112001,"66":27865,"22":206,"85":36608,"24":38,"16":398128843975557120,"44":-5379338616595750912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,85,24,16,44]} 
[2026-09-04 16:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861402112001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:56:04] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-04 16:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 16:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398128843975557120,"km_value":398128843975557.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:56:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5379338616595750912,"description":"Unknown IO ID 44"} 
[2026-09-04 16:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861402112001,"power":27865,"unknown_22":206,"unknown_85":36608,"ignition":38,"odometer":null,"unknown_44":-5379338616595750912}} 
[2026-09-04 16:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":173539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:56:04] local.INFO: GPS data processed {"connection_id":173539,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:56:04] local.INFO: Acknowledgment sent {"connection_id":173539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:56:26] local.INFO: TCP Data received {"connection_id":172234,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2a65a8012d17ee800721eb98004e000b28..."} 
[2026-09-04 16:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2a65a8012d17ee800721eb98004e000b28..."} 
[2026-09-04 16:56:26] local.INFO: Processing buffer {"connection_id":172234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2a65a8012d17ee800721eb98004e000b28..."} 
[2026-09-04 16:56:26] local.INFO: Packet analysis {"connection_id":172234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:56:26] local.INFO: Extracted packet for processing {"connection_id":172234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:56:26] local.INFO: GPS Element Parsed {"raw_longitude":756543104,"raw_latitude":119663512,"longitude_deg":75.6543104,"latitude_deg":11.9663512,"altitude":78,"angle":11,"satellites":40,"speed":20,"hex_longitude":"2d17ee80","hex_latitude":"0721eb98","is_valid_coordinates":true} 
[2026-09-04 16:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861404416001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17335067827240960,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724386106707277824,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788521113000,"timestamp_ms":1788521113000,"timestamp_seconds":1788521113,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2a65a8"} 
[2026-09-04 16:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 16:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861404416001,"66":14211,"105":206,"83":41984,"24":20,"16":17335067827240960,"45":1724386106707277824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861404416001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:56:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:56:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17335067827240960,"km_value":17335067827240.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724386106707277824,"description":"Unknown IO ID 45"} 
[2026-09-04 16:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861404416001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1724386106707277824}} 
[2026-09-04 16:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":172234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:56:26] local.INFO: GPS data processed {"connection_id":172234,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:56:26] local.INFO: Acknowledgment sent {"connection_id":172234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:56:27] local.INFO: TCP Data received {"connection_id":171135,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:56:27] local.INFO: Processing buffer {"connection_id":171135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:56:27] local.INFO: Packet analysis {"connection_id":171135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:56:27] local.INFO: Extracted packet for processing {"connection_id":171135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:56:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861285120001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788520946000,"timestamp_ms":1788520946000,"timestamp_seconds":1788520946,"priority":1,"record_length":96,"hex_timestamp":"000001a06c27d950"} 
[2026-09-04 16:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 16:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861285120001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861285120001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:56:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:56:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861285120001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":171135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763731,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:56:27] local.INFO: GPS data processed {"connection_id":171135,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:56:27] local.INFO: Acknowledgment sent {"connection_id":171135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:56:35] local.INFO: TCP Data received {"connection_id":173539,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2a8cb8012cb5800007773e20002d005e2b..."} 
[2026-09-04 16:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2a8cb8012cb5800007773e20002d005e2b..."} 
[2026-09-04 16:56:35] local.INFO: Processing buffer {"connection_id":173539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2a8cb8012cb5800007773e20002d005e2b..."} 
[2026-09-04 16:56:35] local.INFO: Packet analysis {"connection_id":173539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:56:35] local.INFO: Extracted packet for processing {"connection_id":173539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:56:35] local.INFO: GPS Element Parsed {"raw_longitude":750092288,"raw_latitude":125255200,"longitude_deg":75.0092288,"latitude_deg":12.52552,"altitude":45,"angle":94,"satellites":43,"speed":30,"hex_longitude":"2cb58000","hex_latitude":"07773e20","is_valid_coordinates":true} 
[2026-09-04 16:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861402368001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398129277767254016,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5378212716688998400,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788521123000,"timestamp_ms":1788521123000,"timestamp_seconds":1788521123,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2a8cb8"} 
[2026-09-04 16:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 16:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861402368001,"66":27887,"22":206,"85":36608,"24":30,"16":398129277767254016,"44":-5378212716688998400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,85,24,16,44]} 
[2026-09-04 16:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861402368001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:56:35] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-04 16:56:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 16:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398129277767254016,"km_value":398129277767254.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:56:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5378212716688998400,"description":"Unknown IO ID 44"} 
[2026-09-04 16:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861402368001,"power":27887,"unknown_22":206,"unknown_85":36608,"ignition":30,"odometer":null,"unknown_44":-5378212716688998400}} 
[2026-09-04 16:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":173539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:56:35] local.INFO: GPS data processed {"connection_id":173539,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:56:35] local.INFO: Acknowledgment sent {"connection_id":173539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:56:47] local.INFO: TCP Data received {"connection_id":170840,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:56:47] local.INFO: Processing buffer {"connection_id":170840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:56:47] local.INFO: IMEI packet received {"connection_id":170840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":170840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:56:53] local.INFO: TCP Data received {"connection_id":170840,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:56:53] local.INFO: Processing buffer {"connection_id":170840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:56:53] local.INFO: IMEI packet received {"connection_id":170840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":170840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:56:54] local.INFO: TCP Data received {"connection_id":170840,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2a7548012d17f1400721f3b0004e001829..."} 
[2026-09-04 16:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2a7548012d17f1400721f3b0004e001829..."} 
[2026-09-04 16:56:54] local.INFO: Processing buffer {"connection_id":170840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2a7548012d17f1400721f3b0004e001829..."} 
[2026-09-04 16:56:54] local.INFO: Packet analysis {"connection_id":170840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:56:54] local.INFO: Extracted packet for processing {"connection_id":170840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:56:54] local.INFO: GPS Element Parsed {"raw_longitude":756543808,"raw_latitude":119665584,"longitude_deg":75.6543808,"latitude_deg":11.9665584,"altitude":78,"angle":24,"satellites":41,"speed":23,"hex_longitude":"2d17f140","hex_latitude":"0721f3b0","is_valid_coordinates":true} 
[2026-09-04 16:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861404928001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17335175201423360,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724456475451693056,"note":"Value kept but may cause issues"} 
[2026-09-04 16:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788521117000,"timestamp_ms":1788521117000,"timestamp_seconds":1788521117,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2a7548"} 
[2026-09-04 16:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 16:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861404928001,"66":14211,"105":206,"83":41984,"24":23,"16":17335175201423360,"45":1724456475451693056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861404928001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:56:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:56:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17335175201423360,"km_value":17335175201423.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724456475451693056,"description":"Unknown IO ID 45"} 
[2026-09-04 16:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861404928001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1724456475451693056}} 
[2026-09-04 16:56:54] local.INFO: TCP Data received {"connection_id":171136,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:56:54] local.INFO: Processing buffer {"connection_id":171136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:56:54] local.INFO: IMEI packet received {"connection_id":171136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":171136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":170840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:56:54] local.INFO: GPS data processed {"connection_id":170840,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:56:54] local.INFO: Acknowledgment sent {"connection_id":170840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:56:58] local.INFO: TCP Data received {"connection_id":170841,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:56:59] local.INFO: Processing buffer {"connection_id":170841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:56:59] local.INFO: IMEI packet received {"connection_id":170841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":170841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:56:59] local.INFO: TCP Data received {"connection_id":170841,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:56:59] local.INFO: TCP Data received {"connection_id":171136,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:56:59] local.INFO: Processing buffer {"connection_id":170841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:56:59] local.INFO: IMEI packet received {"connection_id":170841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":170841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:56:59] local.INFO: Processing buffer {"connection_id":171136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:56:59] local.INFO: IMEI packet received {"connection_id":171136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":171136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:57:00] local.INFO: TCP Data received {"connection_id":171136,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:57:00] local.INFO: Processing buffer {"connection_id":171136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:57:00] local.INFO: Packet analysis {"connection_id":171136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:57:00] local.INFO: Extracted packet for processing {"connection_id":171136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:57:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861285120001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788520946000,"timestamp_ms":1788520946000,"timestamp_seconds":1788520946,"priority":1,"record_length":96,"hex_timestamp":"000001a06c27d950"} 
[2026-09-04 16:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 16:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861285120001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861285120001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:57:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861285120001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":171136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:57:00] local.INFO: GPS data processed {"connection_id":171136,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:57:00] local.INFO: Acknowledgment sent {"connection_id":171136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:57:04] local.INFO: TCP Data received {"connection_id":170841,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:57:04] local.INFO: Processing buffer {"connection_id":170841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:57:04] local.INFO: IMEI packet received {"connection_id":170841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":170841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:57:05] local.INFO: TCP Data received {"connection_id":170841,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2a8cb8012cb5800007773e20002d005e2b..."} 
[2026-09-04 16:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2a8cb8012cb5800007773e20002d005e2b..."} 
[2026-09-04 16:57:05] local.INFO: Processing buffer {"connection_id":170841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2a8cb8012cb5800007773e20002d005e2b..."} 
[2026-09-04 16:57:05] local.INFO: Packet analysis {"connection_id":170841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:57:05] local.INFO: Extracted packet for processing {"connection_id":170841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:57:05] local.INFO: GPS Element Parsed {"raw_longitude":750092288,"raw_latitude":125255200,"longitude_deg":75.0092288,"latitude_deg":12.52552,"altitude":45,"angle":94,"satellites":43,"speed":30,"hex_longitude":"2cb58000","hex_latitude":"07773e20","is_valid_coordinates":true} 
[2026-09-04 16:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861407488001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398129277767254016,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5368290723760300032,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788521123000,"timestamp_ms":1788521123000,"timestamp_seconds":1788521123,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2a8cb8"} 
[2026-09-04 16:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 16:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861407488001,"66":27887,"22":206,"85":36608,"24":30,"16":398129277767254016,"44":-5368290723760300032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,85,24,16,44]} 
[2026-09-04 16:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861407488001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:57:05] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-04 16:57:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 16:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398129277767254016,"km_value":398129277767254.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:57:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5368290723760300032,"description":"Unknown IO ID 44"} 
[2026-09-04 16:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861407488001,"power":27887,"unknown_22":206,"unknown_85":36608,"ignition":30,"odometer":null,"unknown_44":-5368290723760300032}} 
[2026-09-04 16:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":170841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:57:05] local.INFO: GPS data processed {"connection_id":170841,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:57:05] local.INFO: Acknowledgment sent {"connection_id":170841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:57:05] local.INFO: TCP Data received {"connection_id":171136,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:57:05] local.INFO: Processing buffer {"connection_id":171136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:57:05] local.INFO: Packet analysis {"connection_id":171136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:57:05] local.INFO: Extracted packet for processing {"connection_id":171136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861285120001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788520946000,"timestamp_ms":1788520946000,"timestamp_seconds":1788520946,"priority":1,"record_length":96,"hex_timestamp":"000001a06c27d950"} 
[2026-09-04 16:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 16:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861285120001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861285120001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:57:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861285120001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":171136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:57:05] local.INFO: GPS data processed {"connection_id":171136,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:57:05] local.INFO: Acknowledgment sent {"connection_id":171136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:57:25] local.INFO: TCP Data received {"connection_id":170840,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2a88d0012d17f4800721fe68004e000829..."} 
[2026-09-04 16:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2a88d0012d17f4800721fe68004e000829..."} 
[2026-09-04 16:57:25] local.INFO: Processing buffer {"connection_id":170840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2a88d0012d17f4800721fe68004e000829..."} 
[2026-09-04 16:57:25] local.INFO: Packet analysis {"connection_id":170840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:57:25] local.INFO: Extracted packet for processing {"connection_id":170840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:57:25] local.INFO: GPS Element Parsed {"raw_longitude":756544640,"raw_latitude":119668328,"longitude_deg":75.654464,"latitude_deg":11.9668328,"altitude":78,"angle":8,"satellites":41,"speed":22,"hex_longitude":"2d17f480","hex_latitude":"0721fe68","is_valid_coordinates":true} 
[2026-09-04 16:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861405952001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17335312640376832,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725230531638177792,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788521122000,"timestamp_ms":1788521122000,"timestamp_seconds":1788521122,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2a88d0"} 
[2026-09-04 16:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 16:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861405952001,"66":14352,"105":206,"83":41984,"24":22,"16":17335312640376832,"45":1725230531638177792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861405952001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:57:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:57:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17335312640376832,"km_value":17335312640376.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725230531638177792,"description":"Unknown IO ID 45"} 
[2026-09-04 16:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861405952001,"power":14352,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1725230531638177792}} 
[2026-09-04 16:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":170840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:57:25] local.INFO: GPS data processed {"connection_id":170840,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:57:25] local.INFO: Acknowledgment sent {"connection_id":170840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:57:36] local.INFO: TCP Data received {"connection_id":170841,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2adec0012cb5a500077738b0002f006c2d..."} 
[2026-09-04 16:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2adec0012cb5a500077738b0002f006c2d..."} 
[2026-09-04 16:57:36] local.INFO: Processing buffer {"connection_id":170841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2adec0012cb5a500077738b0002f006c2d..."} 
[2026-09-04 16:57:36] local.INFO: Packet analysis {"connection_id":170841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:57:36] local.INFO: Extracted packet for processing {"connection_id":170841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:57:36] local.INFO: GPS Element Parsed {"raw_longitude":750101760,"raw_latitude":125253808,"longitude_deg":75.010176,"latitude_deg":12.5253808,"altitude":47,"angle":108,"satellites":45,"speed":25,"hex_longitude":"2cb5a500","hex_latitude":"077738b0","is_valid_coordinates":true} 
[2026-09-04 16:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861407488001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398129733033787392,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5368290723760300032,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788521144000,"timestamp_ms":1788521144000,"timestamp_seconds":1788521144,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2adec0"} 
[2026-09-04 16:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 16:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861407488001,"66":27767,"191":206,"85":36608,"24":25,"16":398129733033787392,"44":-5368290723760300032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,44]} 
[2026-09-04 16:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861407488001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:57:36] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-04 16:57:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 16:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398129733033787392,"km_value":398129733033787.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:57:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5368290723760300032,"description":"Unknown IO ID 44"} 
[2026-09-04 16:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861407488001,"power":27767,"unknown_191":206,"unknown_85":36608,"ignition":25,"odometer":null,"unknown_44":-5368290723760300032}} 
[2026-09-04 16:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":170841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:57:36] local.INFO: GPS data processed {"connection_id":170841,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:57:36] local.INFO: Acknowledgment sent {"connection_id":170841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:57:49] local.INFO: TCP Data received {"connection_id":171137,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:57:49] local.INFO: Processing buffer {"connection_id":171137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:57:49] local.INFO: IMEI packet received {"connection_id":171137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":171137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:57:51] local.INFO: TCP Data received {"connection_id":172235,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:57:51] local.INFO: Processing buffer {"connection_id":172235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:57:51] local.INFO: IMEI packet received {"connection_id":172235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":172235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:57:52] local.INFO: TCP Data received {"connection_id":172235,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:57:52] local.INFO: Processing buffer {"connection_id":172235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:57:52] local.INFO: IMEI packet received {"connection_id":172235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":172235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:57:54] local.INFO: TCP Data received {"connection_id":171137,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:57:54] local.INFO: Processing buffer {"connection_id":171137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:57:54] local.INFO: IMEI packet received {"connection_id":171137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":171137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:57:55] local.INFO: TCP Data received {"connection_id":171137,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:57:55] local.INFO: Processing buffer {"connection_id":171137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c27d950012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:57:55] local.INFO: Packet analysis {"connection_id":171137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:57:55] local.INFO: Extracted packet for processing {"connection_id":171137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c27"} 
[2026-09-04 16:57:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861285120001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788520946000,"timestamp_ms":1788520946000,"timestamp_seconds":1788520946,"priority":1,"record_length":96,"hex_timestamp":"000001a06c27d950"} 
[2026-09-04 16:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 16:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861285120001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861285120001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:57:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:57:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861285120001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":171137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:57:55] local.INFO: GPS data processed {"connection_id":171137,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:57:55] local.INFO: Acknowledgment sent {"connection_id":171137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:57:58] local.INFO: TCP Data received {"connection_id":172235,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:57:58] local.INFO: Processing buffer {"connection_id":172235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:57:58] local.INFO: IMEI packet received {"connection_id":172235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":172235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:57:59] local.INFO: TCP Data received {"connection_id":170842,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:57:59] local.INFO: Processing buffer {"connection_id":170842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:57:59] local.INFO: IMEI packet received {"connection_id":170842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":170842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:57:59] local.INFO: TCP Data received {"connection_id":172235,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2a9c58012d17f50007220948004f016428..."} 
[2026-09-04 16:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2a9c58012d17f50007220948004f016428..."} 
[2026-09-04 16:57:59] local.INFO: Processing buffer {"connection_id":172235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2a9c58012d17f50007220948004f016428..."} 
[2026-09-04 16:57:59] local.INFO: Packet analysis {"connection_id":172235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:57:59] local.INFO: Extracted packet for processing {"connection_id":172235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756544768,"raw_latitude":119671112,"longitude_deg":75.6544768,"latitude_deg":11.9671112,"altitude":79,"angle":356,"satellites":40,"speed":21,"hex_longitude":"2d17f500","hex_latitude":"07220948","is_valid_coordinates":true} 
[2026-09-04 16:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861407232001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17335450079330304,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726145325313189888,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788521127000,"timestamp_ms":1788521127000,"timestamp_seconds":1788521127,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2a9c58"} 
[2026-09-04 16:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145600,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84750248895259065,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5992602322889342986,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503864130469888,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3808952398,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638384256608875,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6341332162427814144,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2952867095,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3221692887,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2515140608,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":48,"raw_value":22800985629921792,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-1657316821532409775,"note":"Value kept but may cause issues"} 
[2026-09-04 16:57:59] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,105,83,24,241,157,16,150,160,117,45,64,243,78,41,10,66,101,128,235,40,93,1,240,185,227,108,33,4,113,205,19,58,234,32,42,239,56,2,61,7,81,206,48,23],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 16:57:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620501307146502144,"timestamp_seconds":5620501307146502.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861407232001,"66":13993,"105":206,"83":41984,"24":21,"16":17335450079330304,"45":1726145325313189888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861407232001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:57:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:57:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17335450079330304,"km_value":17335450079330.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726145325313189888,"description":"Unknown IO ID 45"} 
[2026-09-04 16:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861407232001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1726145325313189888}} 
[2026-09-04 16:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":172235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:57:59] local.INFO: GPS data processed {"connection_id":172235,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:57:59] local.INFO: Acknowledgment sent {"connection_id":172235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:58:01] local.INFO: TCP Data received {"connection_id":172235,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2ad308012d17f18007222328004f01582b..."} 
[2026-09-04 16:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2ad308012d17f18007222328004f01582b..."} 
[2026-09-04 16:58:01] local.INFO: Processing buffer {"connection_id":172235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2ad308012d17f18007222328004f01582b..."} 
[2026-09-04 16:58:01] local.INFO: Packet analysis {"connection_id":172235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:58:01] local.INFO: Extracted packet for processing {"connection_id":172235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:58:01] local.INFO: GPS Element Parsed {"raw_longitude":756543872,"raw_latitude":119677736,"longitude_deg":75.6543872,"latitude_deg":11.9677736,"altitude":79,"angle":344,"satellites":43,"speed":20,"hex_longitude":"2d17f180","hex_latitude":"07222328","is_valid_coordinates":true} 
[2026-09-04 16:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861408512001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17335776496844800,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726286062802257920,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788521141000,"timestamp_ms":1788521141000,"timestamp_seconds":1788521141,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2ad308"} 
[2026-09-04 16:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 16:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861408512001,"66":14004,"105":206,"83":41984,"24":20,"16":17335776496844800,"45":1726286062802257920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861408512001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:58:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:58:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17335776496844800,"km_value":17335776496844.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726286062802257920,"description":"Unknown IO ID 45"} 
[2026-09-04 16:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861408512001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1726286062802257920}} 
[2026-09-04 16:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":172235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:58:01] local.INFO: GPS data processed {"connection_id":172235,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:58:01] local.INFO: Acknowledgment sent {"connection_id":172235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:58:04] local.INFO: TCP Data received {"connection_id":170842,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:58:04] local.INFO: Processing buffer {"connection_id":170842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:58:04] local.INFO: IMEI packet received {"connection_id":170842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":170842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:58:05] local.INFO: TCP Data received {"connection_id":170842,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2adec0012cb5a500077738b0002f006c2d..."} 
[2026-09-04 16:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2adec0012cb5a500077738b0002f006c2d..."} 
[2026-09-04 16:58:05] local.INFO: Processing buffer {"connection_id":170842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2adec0012cb5a500077738b0002f006c2d..."} 
[2026-09-04 16:58:05] local.INFO: Packet analysis {"connection_id":170842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:58:05] local.INFO: Extracted packet for processing {"connection_id":170842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2a"} 
[2026-09-04 16:58:05] local.INFO: GPS Element Parsed {"raw_longitude":750101760,"raw_latitude":125253808,"longitude_deg":75.010176,"latitude_deg":12.5253808,"altitude":47,"angle":108,"satellites":45,"speed":25,"hex_longitude":"2cb5a500","hex_latitude":"077738b0","is_valid_coordinates":true} 
[2026-09-04 16:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861412864001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398129733033787392,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5357876149622362112,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788521144000,"timestamp_ms":1788521144000,"timestamp_seconds":1788521144,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2adec0"} 
[2026-09-04 16:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 16:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861412864001,"66":27767,"191":206,"85":36608,"24":25,"16":398129733033787392,"44":-5357876149622362112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,44]} 
[2026-09-04 16:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861412864001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:58:05] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-04 16:58:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 16:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398129733033787392,"km_value":398129733033787.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5357876149622362112,"description":"Unknown IO ID 44"} 
[2026-09-04 16:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861412864001,"power":27767,"unknown_191":206,"unknown_85":36608,"ignition":25,"odometer":null,"unknown_44":-5357876149622362112}} 
[2026-09-04 16:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":170842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:58:05] local.INFO: GPS data processed {"connection_id":170842,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:58:05] local.INFO: Acknowledgment sent {"connection_id":170842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:58:26] local.INFO: TCP Data received {"connection_id":171137,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:58:26] local.INFO: Processing buffer {"connection_id":171137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:58:26] local.INFO: Packet analysis {"connection_id":171137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:58:26] local.INFO: Extracted packet for processing {"connection_id":171137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:58:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861362176001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788521246000,"timestamp_ms":1788521246000,"timestamp_seconds":1788521246,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2c6d30"} 
[2026-09-04 16:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861362176001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861362176001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:58:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:58:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861362176001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":171137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763743,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:58:26] local.INFO: GPS data processed {"connection_id":171137,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:58:26] local.INFO: Acknowledgment sent {"connection_id":171137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:58:33] local.INFO: TCP Data received {"connection_id":172235,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2c7500012d17e98007224360005600b82a..."} 
[2026-09-04 16:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2c7500012d17e98007224360005600b82a..."} 
[2026-09-04 16:58:33] local.INFO: Processing buffer {"connection_id":172235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2c7500012d17e98007224360005600b82a..."} 
[2026-09-04 16:58:33] local.INFO: Packet analysis {"connection_id":172235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:58:33] local.INFO: Extracted packet for processing {"connection_id":172235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756541824,"raw_latitude":119685984,"longitude_deg":75.6541824,"latitude_deg":11.9685984,"altitude":86,"angle":184,"satellites":42,"speed":3,"hex_longitude":"2d17e980","hex_latitude":"07224360","is_valid_coordinates":true} 
[2026-09-04 16:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861438976001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17336605425532928,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723049100573931520,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788521248000,"timestamp_ms":1788521248000,"timestamp_seconds":1788521248,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2c7500"} 
[2026-09-04 16:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 16:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861438976001,"66":12939,"105":206,"83":41984,"24":3,"16":17336605425532928,"45":1723049100573931520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861438976001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:58:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17336605425532928,"km_value":17336605425532.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723049100573931520,"description":"Unknown IO ID 45"} 
[2026-09-04 16:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861438976001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1723049100573931520}} 
[2026-09-04 16:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":172235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:58:33] local.INFO: GPS data processed {"connection_id":172235,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:58:33] local.INFO: Acknowledgment sent {"connection_id":172235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:58:36] local.INFO: TCP Data received {"connection_id":170842,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2cd6a8012cb64f4007761200003a00862e..."} 
[2026-09-04 16:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2cd6a8012cb64f4007761200003a00862e..."} 
[2026-09-04 16:58:36] local.INFO: Processing buffer {"connection_id":170842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2cd6a8012cb64f4007761200003a00862e..."} 
[2026-09-04 16:58:36] local.INFO: Packet analysis {"connection_id":170842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:58:36] local.INFO: Extracted packet for processing {"connection_id":170842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:58:36] local.INFO: GPS Element Parsed {"raw_longitude":750145344,"raw_latitude":125178368,"longitude_deg":75.0145344,"latitude_deg":12.5178368,"altitude":58,"angle":134,"satellites":46,"speed":5,"hex_longitude":"2cb64f40","hex_latitude":"07761200","is_valid_coordinates":true} 
[2026-09-04 16:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861445376001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398134079540690944,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5310236509833328640,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788521273000,"timestamp_ms":1788521273000,"timestamp_seconds":1788521273,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2cd6a8"} 
[2026-09-04 16:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 16:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861445376001,"66":27865,"224":206,"85":36608,"24":5,"16":398134079540690944,"44":-5310236509833328640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-04 16:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861445376001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:58:36] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 16:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 16:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398134079540690944,"km_value":398134079540690.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:58:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5310236509833328640,"description":"Unknown IO ID 44"} 
[2026-09-04 16:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861445376001,"power":27865,"unknown_224":206,"unknown_85":36608,"ignition":5,"odometer":null,"unknown_44":-5310236509833328640}} 
[2026-09-04 16:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":170842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:58:36] local.INFO: GPS data processed {"connection_id":170842,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:58:36] local.INFO: Acknowledgment sent {"connection_id":170842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:58:46] local.INFO: TCP Data received {"connection_id":171138,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:58:46] local.INFO: Processing buffer {"connection_id":171138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:58:46] local.INFO: IMEI packet received {"connection_id":171138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":171138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:58:48] local.INFO: TCP Data received {"connection_id":171138,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:58:48] local.INFO: Processing buffer {"connection_id":171138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:58:48] local.INFO: IMEI packet received {"connection_id":171138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":171138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:58:50] local.INFO: TCP Data received {"connection_id":171138,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:58:50] local.INFO: Processing buffer {"connection_id":171138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:58:50] local.INFO: IMEI packet received {"connection_id":171138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":171138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:58:51] local.INFO: TCP Data received {"connection_id":171138,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2c78e8012d17e9c0072243000056009c2a..."} 
[2026-09-04 16:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2c78e8012d17e9c0072243000056009c2a..."} 
[2026-09-04 16:58:51] local.INFO: Processing buffer {"connection_id":171138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2c78e8012d17e9c0072243000056009c2a..."} 
[2026-09-04 16:58:51] local.INFO: Packet analysis {"connection_id":171138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:58:51] local.INFO: Extracted packet for processing {"connection_id":171138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756541888,"raw_latitude":119685888,"longitude_deg":75.6541888,"latitude_deg":11.9685888,"altitude":86,"angle":156,"satellites":42,"speed":4,"hex_longitude":"2d17e9c0","hex_latitude":"07224300","is_valid_coordinates":true} 
[2026-09-04 16:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861439488001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17336609720500224,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723049100573892608,"note":"Value kept but may cause issues"} 
[2026-09-04 16:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788521249000,"timestamp_ms":1788521249000,"timestamp_seconds":1788521249,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2c78e8"} 
[2026-09-04 16:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-04 16:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861439488001,"66":14341,"105":206,"83":41984,"24":4,"16":17336609720500224,"45":1723049100573892608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861439488001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:58:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17336609720500224,"km_value":17336609720500.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723049100573892608,"description":"Unknown IO ID 45"} 
[2026-09-04 16:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861439488001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1723049100573892608}} 
[2026-09-04 16:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":171138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:58:51] local.INFO: GPS data processed {"connection_id":171138,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:58:51] local.INFO: Acknowledgment sent {"connection_id":171138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:58:54] local.INFO: TCP Data received {"connection_id":173540,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:58:54] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:58:54] local.INFO: IMEI packet received {"connection_id":173540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":173540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:58:58] local.INFO: TCP Data received {"connection_id":171139,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:58:58] local.INFO: Processing buffer {"connection_id":171139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:58:58] local.INFO: IMEI packet received {"connection_id":171139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":171139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:58:59] local.INFO: TCP Data received {"connection_id":173540,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:58:59] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:58:59] local.INFO: IMEI packet received {"connection_id":173540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":173540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:59:00] local.INFO: TCP Data received {"connection_id":173540,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:59:00] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:59:00] local.INFO: Packet analysis {"connection_id":173540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:59:00] local.INFO: Extracted packet for processing {"connection_id":173540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:59:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861362176001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788521246000,"timestamp_ms":1788521246000,"timestamp_seconds":1788521246,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2c6d30"} 
[2026-09-04 16:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861362176001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861362176001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:59:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:59:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861362176001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":173540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763747,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:59:00] local.INFO: GPS data processed {"connection_id":173540,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:59:00] local.INFO: Acknowledgment sent {"connection_id":173540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:59:04] local.INFO: TCP Data received {"connection_id":171139,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:59:04] local.INFO: Processing buffer {"connection_id":171139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:59:04] local.INFO: IMEI packet received {"connection_id":171139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 16:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":171139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:59:05] local.INFO: TCP Data received {"connection_id":171139,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2cde78012cb6504007761168003a00692e..."} 
[2026-09-04 16:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2cde78012cb6504007761168003a00692e..."} 
[2026-09-04 16:59:05] local.INFO: Processing buffer {"connection_id":171139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2cde78012cb6504007761168003a00692e..."} 
[2026-09-04 16:59:05] local.INFO: Packet analysis {"connection_id":171139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:59:05] local.INFO: Extracted packet for processing {"connection_id":171139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:59:05] local.INFO: GPS Element Parsed {"raw_longitude":750145600,"raw_latitude":125178216,"longitude_deg":75.01456,"latitude_deg":12.5178216,"altitude":58,"angle":105,"satellites":46,"speed":6,"hex_longitude":"2cb65040","hex_latitude":"07761168","is_valid_coordinates":true} 
[2026-09-04 16:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861445888001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398134092425592832,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5309955034856685568,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788521275000,"timestamp_ms":1788521275000,"timestamp_seconds":1788521275,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2cde78"} 
[2026-09-04 16:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 16:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861445888001,"66":27876,"224":206,"85":36608,"24":6,"16":398134092425592832,"44":-5309955034856685568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-04 16:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861445888001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:59:05] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 16:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 16:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398134092425592832,"km_value":398134092425592.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:59:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5309955034856685568,"description":"Unknown IO ID 44"} 
[2026-09-04 16:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861445888001,"power":27876,"unknown_224":206,"unknown_85":36608,"ignition":6,"odometer":null,"unknown_44":-5309955034856685568}} 
[2026-09-04 16:59:05] local.INFO: TCP Data received {"connection_id":173540,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:59:05] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:59:05] local.INFO: Packet analysis {"connection_id":173540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:59:05] local.INFO: Extracted packet for processing {"connection_id":173540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861362176001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788521246000,"timestamp_ms":1788521246000,"timestamp_seconds":1788521246,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2c6d30"} 
[2026-09-04 16:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861362176001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861362176001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:59:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861362176001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":171139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:59:05] local.INFO: GPS data processed {"connection_id":171139,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:59:05] local.INFO: Acknowledgment sent {"connection_id":171139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":173540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763749,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:59:05] local.INFO: GPS data processed {"connection_id":173540,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:59:05] local.INFO: Acknowledgment sent {"connection_id":173540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:59:22] local.INFO: TCP Data received {"connection_id":171138,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2cabb0012d17ee4007223658005700a925..."} 
[2026-09-04 16:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2cabb0012d17ee4007223658005700a925..."} 
[2026-09-04 16:59:22] local.INFO: Processing buffer {"connection_id":171138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2cabb0012d17ee4007223658005700a925..."} 
[2026-09-04 16:59:22] local.INFO: Packet analysis {"connection_id":171138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:59:22] local.INFO: Extracted packet for processing {"connection_id":171138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756543040,"raw_latitude":119682648,"longitude_deg":75.654304,"latitude_deg":11.9682648,"altitude":87,"angle":169,"satellites":37,"speed":13,"hex_longitude":"2d17ee40","hex_latitude":"07223658","is_valid_coordinates":true} 
[2026-09-04 16:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861439744001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17336777224224768,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723119469318045696,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788521262000,"timestamp_ms":1788521262000,"timestamp_seconds":1788521262,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2cabb0"} 
[2026-09-04 16:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 16:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986411027,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:22] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:22] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503864160944128,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 16:59:22] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2540830720,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:22] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84750241379066449,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:22] local.WARNING: Large IO value detected {"io_id":72,"raw_value":24207570155603200,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:22] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,151,160,117,45,128,67,86,42,10,66,109,40,101,64,1,240,5,227,108,34,4,113,205,7,58,230,104,239,56,2,61,206,88,72],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 16:59:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6197124791464624128,"timestamp_seconds":6197124791464624.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 16:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861439744001,"66":14374,"105":206,"83":41984,"24":13,"16":17336777224224768,"45":1723119469318045696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861439744001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:59:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17336777224224768,"km_value":17336777224224.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723119469318045696,"description":"Unknown IO ID 45"} 
[2026-09-04 16:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861439744001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1723119469318045696}} 
[2026-09-04 16:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":171138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:59:22] local.INFO: GPS data processed {"connection_id":171138,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:59:22] local.INFO: Acknowledgment sent {"connection_id":171138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:59:35] local.INFO: TCP Data received {"connection_id":171139,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2ce648012cb6520007761128003a00582d..."} 
[2026-09-04 16:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2ce648012cb6520007761128003a00582d..."} 
[2026-09-04 16:59:35] local.INFO: Processing buffer {"connection_id":171139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2ce648012cb6520007761128003a00582d..."} 
[2026-09-04 16:59:35] local.INFO: Packet analysis {"connection_id":171139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:59:35] local.INFO: Extracted packet for processing {"connection_id":171139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:59:35] local.INFO: GPS Element Parsed {"raw_longitude":750146048,"raw_latitude":125178152,"longitude_deg":75.0146048,"latitude_deg":12.5178152,"altitude":58,"angle":88,"satellites":45,"speed":10,"hex_longitude":"2cb65200","hex_latitude":"07761128","is_valid_coordinates":true} 
[2026-09-04 16:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861446400001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398134113900429312,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5309673559880013824,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788521277000,"timestamp_ms":1788521277000,"timestamp_seconds":1788521277,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2ce648"} 
[2026-09-04 16:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 16:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 16:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 16:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 16:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861446400001,"66":27767,"224":206,"85":36608,"24":10,"16":398134113900429312,"44":-5309673559880013824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-04 16:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 16:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 16:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861446400001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:59:35] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 16:59:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 16:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398134113900429312,"km_value":398134113900429.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:59:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5309673559880013824,"description":"Unknown IO ID 44"} 
[2026-09-04 16:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861446400001,"power":27767,"unknown_224":206,"unknown_85":36608,"ignition":10,"odometer":null,"unknown_44":-5309673559880013824}} 
[2026-09-04 16:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":171139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:59:35] local.INFO: GPS data processed {"connection_id":171139,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:59:35] local.INFO: Acknowledgment sent {"connection_id":171139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:59:48] local.INFO: TCP Data received {"connection_id":171140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:59:48] local.INFO: Processing buffer {"connection_id":171140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:59:48] local.INFO: IMEI packet received {"connection_id":171140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 16:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":171140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:59:51] local.INFO: TCP Data received {"connection_id":171140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:59:51] local.INFO: Processing buffer {"connection_id":171140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 16:59:51] local.INFO: IMEI packet received {"connection_id":171140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 16:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":171140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:59:52] local.INFO: TCP Data received {"connection_id":171140,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2cf5e8012d17f40007221240005000ac24..."} 
[2026-09-04 16:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2cf5e8012d17f40007221240005000ac24..."} 
[2026-09-04 16:59:52] local.INFO: Processing buffer {"connection_id":171140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2cf5e8012d17f40007221240005000ac24..."} 
[2026-09-04 16:59:52] local.INFO: Packet analysis {"connection_id":171140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:59:52] local.INFO: Extracted packet for processing {"connection_id":171140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756544512,"raw_latitude":119673408,"longitude_deg":75.6544512,"latitude_deg":11.9673408,"altitude":80,"angle":172,"satellites":36,"speed":22,"hex_longitude":"2d17f400","hex_latitude":"07221240","is_valid_coordinates":true} 
[2026-09-04 16:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861443072001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17337232490758144,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724386106712414208,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788521281000,"timestamp_ms":1788521281000,"timestamp_seconds":1788521281,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2cf5e8"} 
[2026-09-04 16:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 16:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-04 16:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 16:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 16:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 16:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861443072001,"66":14396,"105":206,"83":41984,"24":22,"16":17337232490758144,"45":1724386106712414208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 16:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 16:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 16:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861443072001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:59:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 16:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 16:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17337232490758144,"km_value":17337232490758.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724386106712414208,"description":"Unknown IO ID 45"} 
[2026-09-04 16:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861443072001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1724386106712414208}} 
[2026-09-04 16:59:52] local.INFO: TCP Data received {"connection_id":170843,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:59:52] local.INFO: Processing buffer {"connection_id":170843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:59:52] local.INFO: IMEI packet received {"connection_id":170843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 16:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":170843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 16:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":171140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:59:52] local.INFO: GPS data processed {"connection_id":171140,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:59:52] local.INFO: Acknowledgment sent {"connection_id":171140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:59:53] local.INFO: TCP Data received {"connection_id":170843,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:59:53] local.INFO: Processing buffer {"connection_id":170843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 16:59:53] local.INFO: IMEI packet received {"connection_id":170843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 16:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":170843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 16:59:55] local.INFO: TCP Data received {"connection_id":170843,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:59:55] local.INFO: Processing buffer {"connection_id":170843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 16:59:55] local.INFO: Packet analysis {"connection_id":170843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:59:55] local.INFO: Extracted packet for processing {"connection_id":170843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 16:59:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 16:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 16:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861362176001,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 16:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 16:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788521246000,"timestamp_ms":1788521246000,"timestamp_seconds":1788521246,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2c6d30"} 
[2026-09-04 16:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 16:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 16:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 16:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 16:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 16:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 16:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 16:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 16:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 16:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 16:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 16:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 16:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861362176001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 16:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 16:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 16:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861362176001,"description":"Unknown IO ID 0"} 
[2026-09-04 16:59:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 16:59:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 16:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 16:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 16:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861362176001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 16:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":170843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 16:59:55] local.INFO: GPS data processed {"connection_id":170843,"processed":1,"errors":0,"total":1} 
[2026-09-04 16:59:55] local.INFO: Acknowledgment sent {"connection_id":170843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 16:59:59] local.INFO: TCP Data received {"connection_id":172236,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:59:59] local.INFO: Processing buffer {"connection_id":172236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 16:59:59] local.INFO: IMEI packet received {"connection_id":172236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 16:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":172236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:00:00] local.INFO: TCP Data received {"connection_id":170843,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:00:00] local.INFO: Processing buffer {"connection_id":170843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:00:00] local.INFO: Packet analysis {"connection_id":170843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:00:00] local.INFO: Extracted packet for processing {"connection_id":170843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:00:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861362176001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788521246000,"timestamp_ms":1788521246000,"timestamp_seconds":1788521246,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2c6d30"} 
[2026-09-04 17:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861362176001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861362176001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:00:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861362176001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":170843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:00:00] local.INFO: GPS data processed {"connection_id":170843,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:00:00] local.INFO: Acknowledgment sent {"connection_id":170843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:00:03] local.INFO: TCP Data received {"connection_id":172236,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:00:03] local.INFO: Processing buffer {"connection_id":172236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:00:03] local.INFO: IMEI packet received {"connection_id":172236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":172236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:00:04] local.INFO: TCP Data received {"connection_id":172236,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2cea30012cb6530007761168003a004d2e..."} 
[2026-09-04 17:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2cea30012cb6530007761168003a004d2e..."} 
[2026-09-04 17:00:04] local.INFO: Processing buffer {"connection_id":172236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2cea30012cb6530007761168003a004d2e..."} 
[2026-09-04 17:00:04] local.INFO: Packet analysis {"connection_id":172236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:00:04] local.INFO: Extracted packet for processing {"connection_id":172236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:00:04] local.INFO: GPS Element Parsed {"raw_longitude":750146304,"raw_latitude":125178216,"longitude_deg":75.0146304,"latitude_deg":12.5178216,"altitude":58,"angle":77,"satellites":46,"speed":11,"hex_longitude":"2cb65300","hex_latitude":"07761168","is_valid_coordinates":true} 
[2026-09-04 17:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861446912001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398134126785331200,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5309180978670786560,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788521278000,"timestamp_ms":1788521278000,"timestamp_seconds":1788521278,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2cea30"} 
[2026-09-04 17:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 17:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861446912001,"66":27974,"224":206,"85":36608,"24":11,"16":398134126785331200,"44":-5309180978670786560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-04 17:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861446912001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:00:04] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 17:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398134126785331200,"km_value":398134126785331.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:00:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5309180978670786560,"description":"Unknown IO ID 44"} 
[2026-09-04 17:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861446912001,"power":27974,"unknown_224":206,"unknown_85":36608,"ignition":11,"odometer":null,"unknown_44":-5309180978670786560}} 
[2026-09-04 17:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":172236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:00:04] local.INFO: GPS data processed {"connection_id":172236,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:00:04] local.INFO: Acknowledgment sent {"connection_id":172236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:00:24] local.INFO: TCP Data received {"connection_id":171140,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2e3e08012d17e9c007218a58004c006228..."} 
[2026-09-04 17:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2e3e08012d17e9c007218a58004c006228..."} 
[2026-09-04 17:00:24] local.INFO: Processing buffer {"connection_id":171140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2e3e08012d17e9c007218a58004c006228..."} 
[2026-09-04 17:00:24] local.INFO: Packet analysis {"connection_id":171140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:00:24] local.INFO: Extracted packet for processing {"connection_id":171140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756541888,"raw_latitude":119638616,"longitude_deg":75.6541888,"latitude_deg":11.9638616,"altitude":76,"angle":98,"satellites":40,"speed":12,"hex_longitude":"2d17e9c0","hex_latitude":"07218a58","is_valid_coordinates":true} 
[2026-09-04 17:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861468928001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17339049261924352,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1722345413120043008,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788521365000,"timestamp_ms":1788521365000,"timestamp_seconds":1788521365,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2e3e08"} 
[2026-09-04 17:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 17:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861468928001,"66":14233,"107":206,"83":41984,"24":12,"16":17339049261924352,"45":1722345413120043008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 17:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861468928001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:00:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 17:00:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17339049261924352,"km_value":17339049261924.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1722345413120043008,"description":"Unknown IO ID 45"} 
[2026-09-04 17:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861468928001,"power":14233,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1722345413120043008}} 
[2026-09-04 17:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":171140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:00:24] local.INFO: GPS data processed {"connection_id":171140,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:00:24] local.INFO: Acknowledgment sent {"connection_id":171140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:00:33] local.INFO: TCP Data received {"connection_id":170843,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:00:33] local.INFO: Processing buffer {"connection_id":170843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:00:33] local.INFO: Packet analysis {"connection_id":170843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:00:33] local.INFO: Extracted packet for processing {"connection_id":170843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:00:33] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861362176001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788521246000,"timestamp_ms":1788521246000,"timestamp_seconds":1788521246,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2c6d30"} 
[2026-09-04 17:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":170843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":170843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":170843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861362176001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861362176001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:00:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:00:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861362176001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":170843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763757,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:00:33] local.INFO: GPS data processed {"connection_id":170843,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:00:33] local.INFO: Acknowledgment sent {"connection_id":170843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:00:36] local.INFO: TCP Data received {"connection_id":172236,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2e8458012cb70300077605000043006525..."} 
[2026-09-04 17:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2e8458012cb70300077605000043006525..."} 
[2026-09-04 17:00:36] local.INFO: Processing buffer {"connection_id":172236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2e8458012cb70300077605000043006525..."} 
[2026-09-04 17:00:36] local.INFO: Packet analysis {"connection_id":172236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:00:36] local.INFO: Extracted packet for processing {"connection_id":172236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:00:36] local.INFO: GPS Element Parsed {"raw_longitude":750191360,"raw_latitude":125175040,"longitude_deg":75.019136,"latitude_deg":12.517504,"altitude":67,"angle":101,"satellites":37,"speed":30,"hex_longitude":"2cb70300","hex_latitude":"07760500","is_valid_coordinates":true} 
[2026-09-04 17:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861469440001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398136282858913792,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5269915219420002304,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788521383000,"timestamp_ms":1788521383000,"timestamp_seconds":1788521383,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2e8458"} 
[2026-09-04 17:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861469440001,"66":27930,"224":206,"85":36608,"24":30,"16":398136282858913792,"44":-5269915219420002304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-04 17:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861469440001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:00:36] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 17:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398136282858913792,"km_value":398136282858913.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:00:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5269915219420002304,"description":"Unknown IO ID 44"} 
[2026-09-04 17:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861469440001,"power":27930,"unknown_224":206,"unknown_85":36608,"ignition":30,"odometer":null,"unknown_44":-5269915219420002304}} 
[2026-09-04 17:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":172236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:00:36] local.INFO: GPS data processed {"connection_id":172236,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:00:36] local.INFO: Acknowledgment sent {"connection_id":172236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:00:48] local.INFO: TCP Data received {"connection_id":170844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:00:48] local.INFO: Processing buffer {"connection_id":170844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:00:48] local.INFO: IMEI packet received {"connection_id":170844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":170844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:00:48] local.INFO: TCP Data received {"connection_id":173541,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:00:48] local.INFO: Processing buffer {"connection_id":173541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:00:48] local.INFO: IMEI packet received {"connection_id":173541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":173541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:00:53] local.INFO: TCP Data received {"connection_id":170844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:00:53] local.INFO: Processing buffer {"connection_id":170844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:00:53] local.INFO: IMEI packet received {"connection_id":170844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":170844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:00:54] local.INFO: TCP Data received {"connection_id":170844,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2e4da8012d17ecc007218998004c007028..."} 
[2026-09-04 17:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2e4da8012d17ecc007218998004c007028..."} 
[2026-09-04 17:00:54] local.INFO: Processing buffer {"connection_id":170844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2e4da8012d17ecc007218998004c007028..."} 
[2026-09-04 17:00:54] local.INFO: Packet analysis {"connection_id":170844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:00:54] local.INFO: Extracted packet for processing {"connection_id":170844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:00:54] local.INFO: GPS Element Parsed {"raw_longitude":756542656,"raw_latitude":119638424,"longitude_deg":75.6542656,"latitude_deg":11.9638424,"altitude":76,"angle":112,"satellites":40,"speed":8,"hex_longitude":"2d17ecc0","hex_latitude":"07218998","is_valid_coordinates":true} 
[2026-09-04 17:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861469440001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17339087916630016,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723119469305944064,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788521369000,"timestamp_ms":1788521369000,"timestamp_seconds":1788521369,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2e4da8"} 
[2026-09-04 17:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 17:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861469440001,"66":14265,"107":206,"83":41984,"24":8,"16":17339087916630016,"45":1723119469305944064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 17:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861469440001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:00:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 17:00:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17339087916630016,"km_value":17339087916630.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723119469305944064,"description":"Unknown IO ID 45"} 
[2026-09-04 17:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861469440001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1723119469305944064}} 
[2026-09-04 17:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":170844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:00:54] local.INFO: GPS data processed {"connection_id":170844,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:00:54] local.INFO: Acknowledgment sent {"connection_id":170844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:00:54] local.INFO: TCP Data received {"connection_id":173541,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:00:54] local.INFO: Processing buffer {"connection_id":173541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:00:54] local.INFO: IMEI packet received {"connection_id":173541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":173541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:00:55] local.INFO: TCP Data received {"connection_id":173541,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:00:55] local.INFO: Processing buffer {"connection_id":173541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:00:55] local.INFO: Packet analysis {"connection_id":173541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:00:55] local.INFO: Extracted packet for processing {"connection_id":173541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:00:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861362176001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788521246000,"timestamp_ms":1788521246000,"timestamp_seconds":1788521246,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2c6d30"} 
[2026-09-04 17:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861362176001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861362176001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:00:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861362176001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":173541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:00:55] local.INFO: GPS data processed {"connection_id":173541,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:00:55] local.INFO: Acknowledgment sent {"connection_id":173541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:00:59] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:00:59] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:00:59] local.INFO: IMEI packet received {"connection_id":173542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":173542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:00:59] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 17:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 17:00:59] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 17:00:59] local.INFO: IMEI packet received {"connection_id":173542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":173542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:01:04] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:01:04] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 17:01:04] local.INFO: IMEI packet received {"connection_id":173542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":173542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:01:05] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2eab68012cb71dc00775fc20004300722d..."} 
[2026-09-04 17:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2eab68012cb71dc00775fc20004300722d..."} 
[2026-09-04 17:01:05] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06c..."} 
[2026-09-04 17:01:05] local.INFO: IMEI packet received {"connection_id":173542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":173542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:01:06] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2eb338012cb721400775f9e00043007e2d..."} 
[2026-09-04 17:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2eb338012cb721400775f9e00043007e2d..."} 
[2026-09-04 17:01:06] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06c2eab68012cb71dc00775fc20004300722d..."} 
[2026-09-04 17:01:06] local.INFO: Packet analysis {"connection_id":173542,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:01:06] local.INFO: Extracted packet for processing {"connection_id":173542,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:01:06] local.INFO: GPS Element Parsed {"raw_longitude":750198208,"raw_latitude":125172768,"longitude_deg":75.0198208,"latitude_deg":12.5172768,"altitude":67,"angle":114,"satellites":45,"speed":23,"hex_longitude":"2cb71dc0","hex_latitude":"0775fc20","is_valid_coordinates":true} 
[2026-09-04 17:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861474048001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398136626456297472,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5259359907793797120,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788521393000,"timestamp_ms":1788521393000,"timestamp_seconds":1788521393,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2eab68"} 
[2026-09-04 17:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 17:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861474048001,"66":27887,"224":206,"85":36608,"24":23,"16":398136626456297472,"44":-5259359907793797120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-04 17:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861474048001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:01:06] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 17:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398136626456297472,"km_value":398136626456297.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5259359907793797120,"description":"Unknown IO ID 44"} 
[2026-09-04 17:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861474048001,"power":27887,"unknown_224":206,"unknown_85":36608,"ignition":23,"odometer":null,"unknown_44":-5259359907793797120}} 
[2026-09-04 17:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":173542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:01:06] local.INFO: GPS data processed {"connection_id":173542,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:01:06] local.INFO: Acknowledgment sent {"connection_id":173542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:01:06] local.INFO: Packet analysis {"connection_id":173542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:01:06] local.INFO: Extracted packet for processing {"connection_id":173542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:01:06] local.INFO: GPS Element Parsed {"raw_longitude":750199104,"raw_latitude":125172192,"longitude_deg":75.0199104,"latitude_deg":12.5172192,"altitude":67,"angle":126,"satellites":45,"speed":20,"hex_longitude":"2cb72140","hex_latitude":"0775f9e0","is_valid_coordinates":true} 
[2026-09-04 17:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861476608001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398136677995905024,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5251830452167368704,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788521395000,"timestamp_ms":1788521395000,"timestamp_seconds":1788521395,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2eb338"} 
[2026-09-04 17:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 17:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861476608001,"66":27821,"224":206,"85":36608,"24":20,"16":398136677995905024,"44":-5251830452167368704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-04 17:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861476608001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:01:06] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 17:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398136677995905024,"km_value":398136677995905.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5251830452167368704,"description":"Unknown IO ID 44"} 
[2026-09-04 17:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861476608001,"power":27821,"unknown_224":206,"unknown_85":36608,"ignition":20,"odometer":null,"unknown_44":-5251830452167368704}} 
[2026-09-04 17:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":173542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:01:06] local.INFO: GPS data processed {"connection_id":173542,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:01:06] local.INFO: Acknowledgment sent {"connection_id":173542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:01:24] local.INFO: TCP Data received {"connection_id":170844,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2e6900012d17f48007218648004b00852a..."} 
[2026-09-04 17:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2e6900012d17f48007218648004b00852a..."} 
[2026-09-04 17:01:24] local.INFO: Processing buffer {"connection_id":170844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2e6900012d17f48007218648004b00852a..."} 
[2026-09-04 17:01:24] local.INFO: Packet analysis {"connection_id":170844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:01:24] local.INFO: Extracted packet for processing {"connection_id":170844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756544640,"raw_latitude":119637576,"longitude_deg":75.654464,"latitude_deg":11.9637576,"altitude":75,"angle":133,"satellites":42,"speed":12,"hex_longitude":"2d17f480","hex_latitude":"07218648","is_valid_coordinates":true} 
[2026-09-04 17:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861470464001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17339190995845120,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723963894236026880,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788521376000,"timestamp_ms":1788521376000,"timestamp_seconds":1788521376,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2e6900"} 
[2026-09-04 17:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 17:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861470464001,"66":14265,"107":206,"83":41984,"24":12,"16":17339190995845120,"45":1723963894236026880},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 17:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861470464001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:01:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 17:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17339190995845120,"km_value":17339190995845.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723963894236026880,"description":"Unknown IO ID 45"} 
[2026-09-04 17:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861470464001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1723963894236026880}} 
[2026-09-04 17:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":170844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:01:25] local.INFO: GPS data processed {"connection_id":170844,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:01:25] local.INFO: Acknowledgment sent {"connection_id":170844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:01:27] local.INFO: TCP Data received {"connection_id":173541,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:01:27] local.INFO: Processing buffer {"connection_id":173541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:01:27] local.INFO: Packet analysis {"connection_id":173541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:01:27] local.INFO: Extracted packet for processing {"connection_id":173541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:01:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861362176001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788521246000,"timestamp_ms":1788521246000,"timestamp_seconds":1788521246,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2c6d30"} 
[2026-09-04 17:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861362176001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861362176001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:01:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:01:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861362176001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":173541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763764,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:01:27] local.INFO: GPS data processed {"connection_id":173541,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:01:27] local.INFO: Acknowledgment sent {"connection_id":173541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:01:37] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2ede30012cb740c00775e5000041007e2f..."} 
[2026-09-04 17:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2ede30012cb740c00775e5000041007e2f..."} 
[2026-09-04 17:01:37] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2ede30012cb740c00775e5000041007e2f..."} 
[2026-09-04 17:01:37] local.INFO: Packet analysis {"connection_id":173542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:01:37] local.INFO: Extracted packet for processing {"connection_id":173542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:01:37] local.INFO: GPS Element Parsed {"raw_longitude":750207168,"raw_latitude":125166848,"longitude_deg":75.0207168,"latitude_deg":12.5166848,"altitude":65,"angle":126,"satellites":47,"speed":44,"hex_longitude":"2cb740c0","hex_latitude":"0775e500","is_valid_coordinates":true} 
[2026-09-04 17:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861477120001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398137137557405696,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5250845289749028864,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788521406000,"timestamp_ms":1788521406000,"timestamp_seconds":1788521406,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2ede30"} 
[2026-09-04 17:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861477120001,"66":27930,"224":206,"85":36608,"24":44,"16":398137137557405696,"44":-5250845289749028864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-04 17:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861477120001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:01:37] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 17:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398137137557405696,"km_value":398137137557405.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5250845289749028864,"description":"Unknown IO ID 44"} 
[2026-09-04 17:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861477120001,"power":27930,"unknown_224":206,"unknown_85":36608,"ignition":44,"odometer":null,"unknown_44":-5250845289749028864}} 
[2026-09-04 17:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":173542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:01:37] local.INFO: GPS data processed {"connection_id":173542,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:01:37] local.INFO: Acknowledgment sent {"connection_id":173542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:01:48] local.INFO: TCP Data received {"connection_id":170845,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:01:48] local.INFO: Processing buffer {"connection_id":170845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:01:48] local.INFO: IMEI packet received {"connection_id":170845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":170845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:01:48] local.INFO: TCP Data received {"connection_id":170846,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:01:48] local.INFO: Processing buffer {"connection_id":170846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:01:48] local.INFO: IMEI packet received {"connection_id":170846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":170846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:01:53] local.INFO: TCP Data received {"connection_id":170845,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:01:53] local.INFO: Processing buffer {"connection_id":170845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:01:53] local.INFO: IMEI packet received {"connection_id":170845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":170845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:01:54] local.INFO: TCP Data received {"connection_id":170845,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2ea398012d17fa0007218338004b003d2a..."} 
[2026-09-04 17:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2ea398012d17fa0007218338004b003d2a..."} 
[2026-09-04 17:01:54] local.INFO: Processing buffer {"connection_id":170845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2ea398012d17fa0007218338004b003d2a..."} 
[2026-09-04 17:01:54] local.INFO: Packet analysis {"connection_id":170845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:01:54] local.INFO: Extracted packet for processing {"connection_id":170845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:01:54] local.INFO: GPS Element Parsed {"raw_longitude":756546048,"raw_latitude":119636792,"longitude_deg":75.6546048,"latitude_deg":11.9636792,"altitude":75,"angle":61,"satellites":42,"speed":6,"hex_longitude":"2d17fa00","hex_latitude":"07218338","is_valid_coordinates":true} 
[2026-09-04 17:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861472256001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17339272600223744,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726145325305317376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788521391000,"timestamp_ms":1788521391000,"timestamp_seconds":1788521391,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2ea398"} 
[2026-09-04 17:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 17:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861472256001,"66":14004,"105":206,"83":41984,"24":6,"16":17339272600223744,"45":1726145325305317376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861472256001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:01:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:01:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17339272600223744,"km_value":17339272600223.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726145325305317376,"description":"Unknown IO ID 45"} 
[2026-09-04 17:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861472256001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1726145325305317376}} 
[2026-09-04 17:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":170845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:01:54] local.INFO: GPS data processed {"connection_id":170845,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:01:54] local.INFO: Acknowledgment sent {"connection_id":170845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:01:54] local.INFO: TCP Data received {"connection_id":170846,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:01:54] local.INFO: Processing buffer {"connection_id":170846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:01:54] local.INFO: IMEI packet received {"connection_id":170846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":170846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:01:55] local.INFO: TCP Data received {"connection_id":170846,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:01:55] local.INFO: Processing buffer {"connection_id":170846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:01:55] local.INFO: Packet analysis {"connection_id":170846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:01:55] local.INFO: Extracted packet for processing {"connection_id":170846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861362176001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788521246000,"timestamp_ms":1788521246000,"timestamp_seconds":1788521246,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2c6d30"} 
[2026-09-04 17:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861362176001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861362176001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:01:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861362176001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":170846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763767,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:01:55] local.INFO: GPS data processed {"connection_id":170846,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:01:55] local.INFO: Acknowledgment sent {"connection_id":170846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:01:58] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:01:58] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:01:58] local.INFO: IMEI packet received {"connection_id":173543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":173543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:02:01] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:02:01] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:02:01] local.INFO: IMEI packet received {"connection_id":173543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":173543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:02:04] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:02:04] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:02:04] local.INFO: IMEI packet received {"connection_id":173543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":173543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:02:05] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2fd448012cb874c007753ea0004100692c..."} 
[2026-09-04 17:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2fd448012cb874c007753ea0004100692c..."} 
[2026-09-04 17:02:05] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2fd448012cb874c007753ea0004100692c..."} 
[2026-09-04 17:02:05] local.INFO: Packet analysis {"connection_id":173543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2f"} 
[2026-09-04 17:02:05] local.INFO: Extracted packet for processing {"connection_id":173543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2f"} 
[2026-09-04 17:02:05] local.INFO: GPS Element Parsed {"raw_longitude":750286016,"raw_latitude":125124256,"longitude_deg":75.0286016,"latitude_deg":12.5124256,"altitude":65,"angle":105,"satellites":44,"speed":56,"hex_longitude":"2cb874c0","hex_latitude":"07753ea0","is_valid_coordinates":true} 
[2026-09-04 17:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861496064001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398141423934767104,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5155284535168032768,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788521469000,"timestamp_ms":1788521469000,"timestamp_seconds":1788521469,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2fd448"} 
[2026-09-04 17:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861496064001,"66":27821,"159":206,"85":36608,"24":56,"16":398141423934767104,"44":-5155284535168032768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 17:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861496064001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:02:05] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 17:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398141423934767104,"km_value":398141423934767.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:02:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5155284535168032768,"description":"Unknown IO ID 44"} 
[2026-09-04 17:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861496064001,"power":27821,"unknown_159":206,"unknown_85":36608,"ignition":56,"odometer":null,"unknown_44":-5155284535168032768}} 
[2026-09-04 17:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":173543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:02:05] local.INFO: GPS data processed {"connection_id":173543,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:02:05] local.INFO: Acknowledgment sent {"connection_id":173543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:02:24] local.INFO: TCP Data received {"connection_id":170845,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2ebef0012d18028007218990004a00322b..."} 
[2026-09-04 17:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2ebef0012d18028007218990004a00322b..."} 
[2026-09-04 17:02:24] local.INFO: Processing buffer {"connection_id":170845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2ebef0012d18028007218990004a00322b..."} 
[2026-09-04 17:02:24] local.INFO: Packet analysis {"connection_id":170845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:02:24] local.INFO: Extracted packet for processing {"connection_id":170845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756548224,"raw_latitude":119638416,"longitude_deg":75.6548224,"latitude_deg":11.9638416,"altitude":74,"angle":50,"satellites":43,"speed":22,"hex_longitude":"2d180280","hex_latitude":"07218990","is_valid_coordinates":true} 
[2026-09-04 17:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861476096001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17339405744209920,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727693437677025280,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788521398000,"timestamp_ms":1788521398000,"timestamp_seconds":1788521398,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2ebef0"} 
[2026-09-04 17:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-04 17:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861476096001,"66":12972,"105":206,"83":41984,"24":22,"16":17339405744209920,"45":1727693437677025280},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861476096001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:02:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17339405744209920,"km_value":17339405744209.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727693437677025280,"description":"Unknown IO ID 45"} 
[2026-09-04 17:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861476096001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1727693437677025280}} 
[2026-09-04 17:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":170845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:02:25] local.INFO: GPS data processed {"connection_id":170845,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:02:25] local.INFO: Acknowledgment sent {"connection_id":170845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:02:27] local.INFO: TCP Data received {"connection_id":170846,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:02:27] local.INFO: Processing buffer {"connection_id":170846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:02:27] local.INFO: Packet analysis {"connection_id":170846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:02:27] local.INFO: Extracted packet for processing {"connection_id":170846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:02:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861362176001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788521246000,"timestamp_ms":1788521246000,"timestamp_seconds":1788521246,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2c6d30"} 
[2026-09-04 17:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861362176001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861362176001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:02:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:02:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861362176001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":170846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763770,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:02:27] local.INFO: GPS data processed {"connection_id":170846,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:02:27] local.INFO: Acknowledgment sent {"connection_id":170846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:02:36] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2fefa0012cb89b4007753600004400672d..."} 
[2026-09-04 17:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2fefa0012cb89b4007753600004400672d..."} 
[2026-09-04 17:02:36] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2fefa0012cb89b4007753600004400672d..."} 
[2026-09-04 17:02:36] local.INFO: Packet analysis {"connection_id":173543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2f"} 
[2026-09-04 17:02:36] local.INFO: Extracted packet for processing {"connection_id":173543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2f"} 
[2026-09-04 17:02:36] local.INFO: GPS Element Parsed {"raw_longitude":750295872,"raw_latitude":125122048,"longitude_deg":75.0295872,"latitude_deg":12.5122048,"altitude":68,"angle":103,"satellites":45,"speed":56,"hex_longitude":"2cb89b40","hex_latitude":"07753600","is_valid_coordinates":true} 
[2026-09-04 17:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861496064001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398141900676136960,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5155284535168032768,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788521476000,"timestamp_ms":1788521476000,"timestamp_seconds":1788521476,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2fefa0"} 
[2026-09-04 17:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861496064001,"66":27919,"159":206,"85":36608,"24":56,"16":398141900676136960,"44":-5155284535168032768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 17:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861496064001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:02:36] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 17:02:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398141900676136960,"km_value":398141900676136.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:02:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5155284535168032768,"description":"Unknown IO ID 44"} 
[2026-09-04 17:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861496064001,"power":27919,"unknown_159":206,"unknown_85":36608,"ignition":56,"odometer":null,"unknown_44":-5155284535168032768}} 
[2026-09-04 17:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":173543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:02:36] local.INFO: GPS data processed {"connection_id":173543,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:02:36] local.INFO: Acknowledgment sent {"connection_id":173543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:02:48] local.INFO: TCP Data received {"connection_id":171141,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:02:48] local.INFO: Processing buffer {"connection_id":171141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:02:48] local.INFO: IMEI packet received {"connection_id":171141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":171141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:02:48] local.INFO: TCP Data received {"connection_id":173544,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:02:48] local.INFO: Processing buffer {"connection_id":173544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:02:48] local.INFO: IMEI packet received {"connection_id":173544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":173544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:02:48] local.INFO: TCP Data received {"connection_id":171141,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:02:48] local.INFO: Processing buffer {"connection_id":171141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:02:48] local.INFO: IMEI packet received {"connection_id":171141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":171141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:02:53] local.INFO: TCP Data received {"connection_id":171141,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:02:53] local.INFO: Processing buffer {"connection_id":171141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:02:53] local.INFO: IMEI packet received {"connection_id":171141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":171141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:02:54] local.INFO: TCP Data received {"connection_id":171141,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2eda48012d180f4007219668004a002627..."} 
[2026-09-04 17:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2eda48012d180f4007219668004a002627..."} 
[2026-09-04 17:02:54] local.INFO: Processing buffer {"connection_id":171141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2eda48012d180f4007219668004a002627..."} 
[2026-09-04 17:02:54] local.INFO: Packet analysis {"connection_id":171141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:02:54] local.INFO: Extracted packet for processing {"connection_id":171141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2e"} 
[2026-09-04 17:02:54] local.INFO: GPS Element Parsed {"raw_longitude":756551488,"raw_latitude":119641704,"longitude_deg":75.6551488,"latitude_deg":11.9641704,"altitude":74,"angle":38,"satellites":39,"speed":26,"hex_longitude":"2d180f40","hex_latitude":"07219668","is_valid_coordinates":true} 
[2026-09-04 17:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861477888001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17339629082509312,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1730085974979481600,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788521405000,"timestamp_ms":1788521405000,"timestamp_seconds":1788521405,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2eda48"} 
[2026-09-04 17:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-04 17:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861477888001,"66":12950,"105":206,"83":41984,"24":26,"16":17339629082509312,"45":1730085974979481600},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861477888001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:02:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:02:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17339629082509312,"km_value":17339629082509.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1730085974979481600,"description":"Unknown IO ID 45"} 
[2026-09-04 17:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861477888001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1730085974979481600}} 
[2026-09-04 17:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":171141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:02:54] local.INFO: GPS data processed {"connection_id":171141,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:02:54] local.INFO: Acknowledgment sent {"connection_id":171141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:02:54] local.INFO: TCP Data received {"connection_id":173544,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:02:54] local.INFO: Processing buffer {"connection_id":173544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:02:54] local.INFO: IMEI packet received {"connection_id":173544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":173544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:02:55] local.INFO: TCP Data received {"connection_id":173544,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:02:55] local.INFO: Processing buffer {"connection_id":173544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2c6d30012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:02:55] local.INFO: Packet analysis {"connection_id":173544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:02:55] local.INFO: Extracted packet for processing {"connection_id":173544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2c"} 
[2026-09-04 17:02:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861362176001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788521246000,"timestamp_ms":1788521246000,"timestamp_seconds":1788521246,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2c6d30"} 
[2026-09-04 17:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861362176001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861362176001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:02:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:02:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861362176001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":173544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:02:55] local.INFO: GPS data processed {"connection_id":173544,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:02:55] local.INFO: Acknowledgment sent {"connection_id":173544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:02:58] local.INFO: TCP Data received {"connection_id":172237,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:02:58] local.INFO: Processing buffer {"connection_id":172237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:02:58] local.INFO: IMEI packet received {"connection_id":172237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":172237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:03:02] local.INFO: TCP Data received {"connection_id":172237,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:03:02] local.INFO: Processing buffer {"connection_id":172237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:03:02] local.INFO: IMEI packet received {"connection_id":172237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":172237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:03:03] local.INFO: TCP Data received {"connection_id":172237,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:03:03] local.INFO: Processing buffer {"connection_id":172237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:03:03] local.INFO: IMEI packet received {"connection_id":172237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":172237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:03:04] local.INFO: TCP Data received {"connection_id":172237,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c300af8012cb8c20007752d60004600672d..."} 
[2026-09-04 17:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c300af8012cb8c20007752d60004600672d..."} 
[2026-09-04 17:03:04] local.INFO: Processing buffer {"connection_id":172237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c300af8012cb8c20007752d60004600672d..."} 
[2026-09-04 17:03:04] local.INFO: Packet analysis {"connection_id":172237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c30"} 
[2026-09-04 17:03:04] local.INFO: Extracted packet for processing {"connection_id":172237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c30"} 
[2026-09-04 17:03:04] local.INFO: GPS Element Parsed {"raw_longitude":750305792,"raw_latitude":125119840,"longitude_deg":75.0305792,"latitude_deg":12.511984,"altitude":70,"angle":103,"satellites":45,"speed":56,"hex_longitude":"2cb8c200","hex_latitude":"07752d60","is_valid_coordinates":true} 
[2026-09-04 17:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861497856001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398142381712474112,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5144447748565237760,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788521483000,"timestamp_ms":1788521483000,"timestamp_seconds":1788521483,"priority":1,"record_length":96,"hex_timestamp":"000001a06c300af8"} 
[2026-09-04 17:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 17:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861497856001,"66":27876,"159":206,"85":36608,"24":56,"16":398142381712474112,"44":-5144447748565237760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 17:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861497856001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:03:04] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 17:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398142381712474112,"km_value":398142381712474.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5144447748565237760,"description":"Unknown IO ID 44"} 
[2026-09-04 17:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861497856001,"power":27876,"unknown_159":206,"unknown_85":36608,"ignition":56,"odometer":null,"unknown_44":-5144447748565237760}} 
[2026-09-04 17:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":172237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:03:04] local.INFO: GPS data processed {"connection_id":172237,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:03:04] local.INFO: Acknowledgment sent {"connection_id":172237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:03:09] local.INFO: TCP Data received {"connection_id":172237,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c302650012cb8e78007752560004900682d..."} 
[2026-09-04 17:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c302650012cb8e78007752560004900682d..."} 
[2026-09-04 17:03:09] local.INFO: Processing buffer {"connection_id":172237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c302650012cb8e78007752560004900682d..."} 
[2026-09-04 17:03:09] local.INFO: Packet analysis {"connection_id":172237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c30"} 
[2026-09-04 17:03:09] local.INFO: Extracted packet for processing {"connection_id":172237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c30"} 
[2026-09-04 17:03:09] local.INFO: GPS Element Parsed {"raw_longitude":750315392,"raw_latitude":125117792,"longitude_deg":75.0315392,"latitude_deg":12.5117792,"altitude":73,"angle":104,"satellites":45,"speed":53,"hex_longitude":"2cb8e780","hex_latitude":"07752560","is_valid_coordinates":true} 
[2026-09-04 17:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861499648001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398142849863909376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5133540593218265088,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788521490000,"timestamp_ms":1788521490000,"timestamp_seconds":1788521490,"priority":1,"record_length":96,"hex_timestamp":"000001a06c302650"} 
[2026-09-04 17:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 17:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861499648001,"66":27930,"159":206,"85":36608,"24":53,"16":398142849863909376,"44":-5133540593218265088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 17:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861499648001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:03:09] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 17:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398142849863909376,"km_value":398142849863909.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:03:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5133540593218265088,"description":"Unknown IO ID 44"} 
[2026-09-04 17:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861499648001,"power":27930,"unknown_159":206,"unknown_85":36608,"ignition":53,"odometer":null,"unknown_44":-5133540593218265088}} 
[2026-09-04 17:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":172237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:03:09] local.INFO: GPS data processed {"connection_id":172237,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:03:09] local.INFO: Acknowledgment sent {"connection_id":172237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:03:24] local.INFO: TCP Data received {"connection_id":171141,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2f10f8012d1823400721b3e8004a00202e..."} 
[2026-09-04 17:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2f10f8012d1823400721b3e8004a00202e..."} 
[2026-09-04 17:03:24] local.INFO: Processing buffer {"connection_id":171141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2f10f8012d1823400721b3e8004a00202e..."} 
[2026-09-04 17:03:24] local.INFO: Packet analysis {"connection_id":171141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2f"} 
[2026-09-04 17:03:24] local.INFO: Extracted packet for processing {"connection_id":171141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2f"} 
[2026-09-04 17:03:24] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649256,"longitude_deg":75.6556608,"latitude_deg":11.9649256,"altitude":74,"angle":32,"satellites":46,"speed":18,"hex_longitude":"2d182340","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-09-04 17:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861479680001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340067169173504,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733674780933384192,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788521419000,"timestamp_ms":1788521419000,"timestamp_seconds":1788521419,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2f10f8"} 
[2026-09-04 17:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 17:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861479680001,"66":13004,"105":206,"83":41984,"24":18,"16":17340067169173504,"45":1733674780933384192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861479680001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:03:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:03:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340067169173504,"km_value":17340067169173.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733674780933384192,"description":"Unknown IO ID 45"} 
[2026-09-04 17:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861479680001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1733674780933384192}} 
[2026-09-04 17:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":171141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:03:24] local.INFO: GPS data processed {"connection_id":171141,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:03:24] local.INFO: Acknowledgment sent {"connection_id":171141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:03:26] local.INFO: TCP Data received {"connection_id":173544,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:03:26] local.INFO: Processing buffer {"connection_id":173544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:03:26] local.INFO: Packet analysis {"connection_id":173544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:03:26] local.INFO: Extracted packet for processing {"connection_id":173544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:03:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861438976001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788521547000,"timestamp_ms":1788521547000,"timestamp_seconds":1788521547,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3104f8"} 
[2026-09-04 17:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861438976001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861438976001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:03:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:03:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861438976001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":173544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763777,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:03:26] local.INFO: GPS data processed {"connection_id":173544,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:03:26] local.INFO: Acknowledgment sent {"connection_id":173544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:03:40] local.INFO: TCP Data received {"connection_id":172237,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3041a8012cb90a8007751bc0004c006a2e..."} 
[2026-09-04 17:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3041a8012cb90a8007751bc0004c006a2e..."} 
[2026-09-04 17:03:40] local.INFO: Processing buffer {"connection_id":172237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3041a8012cb90a8007751bc0004c006a2e..."} 
[2026-09-04 17:03:40] local.INFO: Packet analysis {"connection_id":172237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c30"} 
[2026-09-04 17:03:40] local.INFO: Extracted packet for processing {"connection_id":172237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c30"} 
[2026-09-04 17:03:40] local.INFO: GPS Element Parsed {"raw_longitude":750324352,"raw_latitude":125115328,"longitude_deg":75.0324352,"latitude_deg":12.5115328,"altitude":76,"angle":106,"satellites":46,"speed":51,"hex_longitude":"2cb90a80","hex_latitude":"07751bc0","is_valid_coordinates":true} 
[2026-09-04 17:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861501440001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398143287950573568,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5122985281592139776,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788521497000,"timestamp_ms":1788521497000,"timestamp_seconds":1788521497,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3041a8"} 
[2026-09-04 17:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 17:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861501440001,"66":27919,"19":206,"85":36608,"24":51,"16":398143287950573568,"44":-5122985281592139776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,44]} 
[2026-09-04 17:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861501440001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:03:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-04 17:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398143287950573568,"km_value":398143287950573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5122985281592139776,"description":"Unknown IO ID 44"} 
[2026-09-04 17:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861501440001,"power":27919,"unknown_19":206,"unknown_85":36608,"ignition":51,"odometer":null,"unknown_44":-5122985281592139776}} 
[2026-09-04 17:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":172237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:03:40] local.INFO: GPS data processed {"connection_id":172237,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:03:40] local.INFO: Acknowledgment sent {"connection_id":172237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:03:48] local.INFO: TCP Data received {"connection_id":171142,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:03:48] local.INFO: Processing buffer {"connection_id":171142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:03:48] local.INFO: IMEI packet received {"connection_id":171142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":171142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:03:49] local.INFO: TCP Data received {"connection_id":171143,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:03:49] local.INFO: Processing buffer {"connection_id":171143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:03:49] local.INFO: IMEI packet received {"connection_id":171143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":171143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:03:51] local.INFO: TCP Data received {"connection_id":171142,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:03:51] local.INFO: Processing buffer {"connection_id":171142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:03:51] local.INFO: IMEI packet received {"connection_id":171142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":171142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:03:52] local.INFO: TCP Data received {"connection_id":171142,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2f18c8012d1825000721b6a8004a00142d..."} 
[2026-09-04 17:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2f18c8012d1825000721b6a8004a00142d..."} 
[2026-09-04 17:03:52] local.INFO: Processing buffer {"connection_id":171142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2f18c8012d1825000721b6a8004a00142d..."} 
[2026-09-04 17:03:52] local.INFO: Packet analysis {"connection_id":171142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2f"} 
[2026-09-04 17:03:52] local.INFO: Extracted packet for processing {"connection_id":171142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2f"} 
[2026-09-04 17:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119649960,"longitude_deg":75.6557056,"latitude_deg":11.964996,"altitude":74,"angle":20,"satellites":45,"speed":13,"hex_longitude":"2d182500","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-09-04 17:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861483264001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340105823879168,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469530624,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788521421000,"timestamp_ms":1788521421000,"timestamp_seconds":1788521421,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2f18c8"} 
[2026-09-04 17:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 17:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861483264001,"66":12950,"105":206,"83":41984,"24":13,"16":17340105823879168,"45":1739304280469530624},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861483264001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:03:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340105823879168,"km_value":17340105823879.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469530624,"description":"Unknown IO ID 45"} 
[2026-09-04 17:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861483264001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1739304280469530624}} 
[2026-09-04 17:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":171142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:03:52] local.INFO: GPS data processed {"connection_id":171142,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:03:52] local.INFO: Acknowledgment sent {"connection_id":171142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:03:54] local.INFO: TCP Data received {"connection_id":171143,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:03:54] local.INFO: Processing buffer {"connection_id":171143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:03:54] local.INFO: IMEI packet received {"connection_id":171143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":171143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:03:55] local.INFO: TCP Data received {"connection_id":171143,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:03:55] local.INFO: Processing buffer {"connection_id":171143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:03:55] local.INFO: Packet analysis {"connection_id":171143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:03:55] local.INFO: Extracted packet for processing {"connection_id":171143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:03:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861438976001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788521547000,"timestamp_ms":1788521547000,"timestamp_seconds":1788521547,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3104f8"} 
[2026-09-04 17:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861438976001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861438976001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:03:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861438976001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":171143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763780,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:03:55] local.INFO: GPS data processed {"connection_id":171143,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:03:55] local.INFO: Acknowledgment sent {"connection_id":171143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:03:58] local.INFO: TCP Data received {"connection_id":172238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:03:58] local.INFO: Processing buffer {"connection_id":172238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:03:58] local.INFO: IMEI packet received {"connection_id":172238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":172238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:04:01] local.INFO: TCP Data received {"connection_id":172238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:04:01] local.INFO: Processing buffer {"connection_id":172238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:04:01] local.INFO: IMEI packet received {"connection_id":172238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":172238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:04:04] local.INFO: TCP Data received {"connection_id":172238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:04:04] local.INFO: Processing buffer {"connection_id":172238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:04:04] local.INFO: IMEI packet received {"connection_id":172238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":172238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:04:05] local.INFO: TCP Data received {"connection_id":172238,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c317e10012cbaa5400774e060004f005e2d..."} 
[2026-09-04 17:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c317e10012cbaa5400774e060004f005e2d..."} 
[2026-09-04 17:04:05] local.INFO: Processing buffer {"connection_id":172238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c317e10012cbaa5400774e060004f005e2d..."} 
[2026-09-04 17:04:05] local.INFO: Packet analysis {"connection_id":172238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:04:05] local.INFO: Extracted packet for processing {"connection_id":172238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:04:05] local.INFO: GPS Element Parsed {"raw_longitude":750429504,"raw_latitude":125100128,"longitude_deg":75.0429504,"latitude_deg":12.5100128,"altitude":79,"angle":94,"satellites":45,"speed":39,"hex_longitude":"2cbaa540","hex_latitude":"0774e060","is_valid_coordinates":true} 
[2026-09-04 17:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861521408001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398148356011982848,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5008213859842697216,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788521578000,"timestamp_ms":1788521578000,"timestamp_seconds":1788521578,"priority":1,"record_length":96,"hex_timestamp":"000001a06c317e10"} 
[2026-09-04 17:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 17:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861521408001,"66":27843,"93":206,"85":36608,"24":39,"16":398148356011982848,"44":-5008213859842697216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-09-04 17:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861521408001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:04:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-04 17:04:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398148356011982848,"km_value":398148356011982.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:04:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5008213859842697216,"description":"Unknown IO ID 44"} 
[2026-09-04 17:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861521408001,"power":27843,"unknown_93":206,"unknown_85":36608,"ignition":39,"odometer":null,"unknown_44":-5008213859842697216}} 
[2026-09-04 17:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":172238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:04:05] local.INFO: GPS data processed {"connection_id":172238,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:04:05] local.INFO: Acknowledgment sent {"connection_id":172238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:04:23] local.INFO: TCP Data received {"connection_id":171142,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2f1cb0012d1825000721b7b8004a015d2c..."} 
[2026-09-04 17:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2f1cb0012d1825000721b7b8004a015d2c..."} 
[2026-09-04 17:04:23] local.INFO: Processing buffer {"connection_id":171142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2f1cb0012d1825000721b7b8004a015d2c..."} 
[2026-09-04 17:04:23] local.INFO: Packet analysis {"connection_id":171142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2f"} 
[2026-09-04 17:04:23] local.INFO: Extracted packet for processing {"connection_id":171142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2f"} 
[2026-09-04 17:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650232,"longitude_deg":75.6557056,"latitude_deg":11.9650232,"altitude":74,"angle":349,"satellites":44,"speed":9,"hex_longitude":"2d182500","hex_latitude":"0721b7b8","is_valid_coordinates":true} 
[2026-09-04 17:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861483776001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340118708781056,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861678954496,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788521422000,"timestamp_ms":1788521422000,"timestamp_seconds":1788521422,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2f1cb0"} 
[2026-09-04 17:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 17:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861483776001,"66":12950,"105":206,"83":41984,"24":9,"16":17340118708781056,"45":1739796861678954496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861483776001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:04:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340118708781056,"km_value":17340118708781.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861678954496,"description":"Unknown IO ID 45"} 
[2026-09-04 17:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861483776001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1739796861678954496}} 
[2026-09-04 17:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":171142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:04:23] local.INFO: GPS data processed {"connection_id":171142,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:04:23] local.INFO: Acknowledgment sent {"connection_id":171142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:04:27] local.INFO: TCP Data received {"connection_id":171143,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:04:27] local.INFO: Processing buffer {"connection_id":171143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:04:27] local.INFO: Packet analysis {"connection_id":171143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:04:27] local.INFO: Extracted packet for processing {"connection_id":171143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:04:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861438976001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788521547000,"timestamp_ms":1788521547000,"timestamp_seconds":1788521547,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3104f8"} 
[2026-09-04 17:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861438976001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861438976001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:04:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:04:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861438976001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":171143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:04:27] local.INFO: GPS data processed {"connection_id":171143,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:04:27] local.INFO: Acknowledgment sent {"connection_id":171143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:04:37] local.INFO: TCP Data received {"connection_id":172238,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c31a138012cbaca800774ddc00051005e2d..."} 
[2026-09-04 17:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c31a138012cbaca800774ddc00051005e2d..."} 
[2026-09-04 17:04:37] local.INFO: Processing buffer {"connection_id":172238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c31a138012cbaca800774ddc00051005e2d..."} 
[2026-09-04 17:04:37] local.INFO: Packet analysis {"connection_id":172238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:04:37] local.INFO: Extracted packet for processing {"connection_id":172238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:04:37] local.INFO: GPS Element Parsed {"raw_longitude":750439040,"raw_latitude":125099456,"longitude_deg":75.043904,"latitude_deg":12.5099456,"altitude":81,"angle":94,"satellites":45,"speed":43,"hex_longitude":"2cbaca80","hex_latitude":"0774ddc0","is_valid_coordinates":true} 
[2026-09-04 17:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861523968001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398148811278516224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4997517810727886848,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788521587000,"timestamp_ms":1788521587000,"timestamp_seconds":1788521587,"priority":1,"record_length":96,"hex_timestamp":"000001a06c31a138"} 
[2026-09-04 17:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 17:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861523968001,"66":27865,"93":206,"85":36608,"24":43,"16":398148811278516224,"44":-4997517810727886848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-09-04 17:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861523968001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:04:37] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-04 17:04:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398148811278516224,"km_value":398148811278516.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:04:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4997517810727886848,"description":"Unknown IO ID 44"} 
[2026-09-04 17:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861523968001,"power":27865,"unknown_93":206,"unknown_85":36608,"ignition":43,"odometer":null,"unknown_44":-4997517810727886848}} 
[2026-09-04 17:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":172238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:04:37] local.INFO: GPS data processed {"connection_id":172238,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:04:37] local.INFO: Acknowledgment sent {"connection_id":172238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:04:48] local.INFO: TCP Data received {"connection_id":173545,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:04:48] local.INFO: Processing buffer {"connection_id":173545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:04:48] local.INFO: IMEI packet received {"connection_id":173545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":173545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:04:48] local.INFO: TCP Data received {"connection_id":172239,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:04:48] local.INFO: Processing buffer {"connection_id":172239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:04:48] local.INFO: IMEI packet received {"connection_id":172239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":172239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:04:53] local.INFO: TCP Data received {"connection_id":173545,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:04:53] local.INFO: Processing buffer {"connection_id":173545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:04:53] local.INFO: IMEI packet received {"connection_id":173545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":173545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:04:54] local.INFO: TCP Data received {"connection_id":173545,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c2f2098012d1824c00721b850004a01382d..."} 
[2026-09-04 17:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c2f2098012d1824c00721b850004a01382d..."} 
[2026-09-04 17:04:54] local.INFO: Processing buffer {"connection_id":173545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c2f2098012d1824c00721b850004a01382d..."} 
[2026-09-04 17:04:54] local.INFO: Packet analysis {"connection_id":173545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c2f"} 
[2026-09-04 17:04:54] local.INFO: Extracted packet for processing {"connection_id":173545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c2f"} 
[2026-09-04 17:04:54] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650384,"longitude_deg":75.6556992,"latitude_deg":11.9650384,"altitude":74,"angle":312,"satellites":45,"speed":6,"hex_longitude":"2d1824c0","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-09-04 17:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861484032001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340127298715648,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679024128,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788521423000,"timestamp_ms":1788521423000,"timestamp_seconds":1788521423,"priority":1,"record_length":96,"hex_timestamp":"000001a06c2f2098"} 
[2026-09-04 17:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 17:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861484032001,"66":12993,"105":206,"83":41984,"24":6,"16":17340127298715648,"45":1739796861679024128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861484032001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:04:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:04:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340127298715648,"km_value":17340127298715.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679024128,"description":"Unknown IO ID 45"} 
[2026-09-04 17:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861484032001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739796861679024128}} 
[2026-09-04 17:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":173545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:04:54] local.INFO: GPS data processed {"connection_id":173545,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:04:54] local.INFO: Acknowledgment sent {"connection_id":173545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:04:54] local.INFO: TCP Data received {"connection_id":172239,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:04:54] local.INFO: Processing buffer {"connection_id":172239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:04:54] local.INFO: IMEI packet received {"connection_id":172239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":172239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:04:55] local.INFO: TCP Data received {"connection_id":172239,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:04:55] local.INFO: Processing buffer {"connection_id":172239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:04:55] local.INFO: Packet analysis {"connection_id":172239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:04:55] local.INFO: Extracted packet for processing {"connection_id":172239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:04:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861438976001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788521547000,"timestamp_ms":1788521547000,"timestamp_seconds":1788521547,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3104f8"} 
[2026-09-04 17:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861438976001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861438976001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:04:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:04:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861438976001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":172239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:04:55] local.INFO: GPS data processed {"connection_id":172239,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:04:55] local.INFO: Acknowledgment sent {"connection_id":172239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:05:00] local.INFO: TCP Data received {"connection_id":170847,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:00] local.INFO: Processing buffer {"connection_id":170847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:00] local.INFO: IMEI packet received {"connection_id":170847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":170847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:05:02] local.INFO: TCP Data received {"connection_id":170847,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:02] local.INFO: Processing buffer {"connection_id":170847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:02] local.INFO: IMEI packet received {"connection_id":170847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":170847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:05:03] local.INFO: TCP Data received {"connection_id":170847,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:03] local.INFO: Processing buffer {"connection_id":170847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:03] local.INFO: IMEI packet received {"connection_id":170847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":170847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:05:04] local.INFO: TCP Data received {"connection_id":170847,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:04] local.INFO: Processing buffer {"connection_id":170847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:04] local.INFO: IMEI packet received {"connection_id":170847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":170847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:05:05] local.INFO: TCP Data received {"connection_id":170847,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c31c078012cbaee000774db880052005d2d..."} 
[2026-09-04 17:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c31c078012cbaee000774db880052005d2d..."} 
[2026-09-04 17:05:05] local.INFO: Processing buffer {"connection_id":170847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c31c078012cbaee000774db880052005d2d..."} 
[2026-09-04 17:05:05] local.INFO: Packet analysis {"connection_id":170847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:05:05] local.INFO: Extracted packet for processing {"connection_id":170847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:05:05] local.INFO: GPS Element Parsed {"raw_longitude":750448128,"raw_latitude":125098888,"longitude_deg":75.0448128,"latitude_deg":12.5098888,"altitude":82,"angle":93,"satellites":45,"speed":44,"hex_longitude":"2cbaee00","hex_latitude":"0774db88","is_valid_coordinates":true} 
[2026-09-04 17:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861526272001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398149240775245824,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4987032867845586944,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788521595000,"timestamp_ms":1788521595000,"timestamp_seconds":1788521595,"priority":1,"record_length":96,"hex_timestamp":"000001a06c31c078"} 
[2026-09-04 17:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861526272001,"66":27865,"93":206,"85":36608,"24":44,"16":398149240775245824,"44":-4987032867845586944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-09-04 17:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861526272001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:05:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-04 17:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398149240775245824,"km_value":398149240775245.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:05:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4987032867845586944,"description":"Unknown IO ID 44"} 
[2026-09-04 17:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861526272001,"power":27865,"unknown_93":206,"unknown_85":36608,"ignition":44,"odometer":null,"unknown_44":-4987032867845586944}} 
[2026-09-04 17:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":170847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:05:05] local.INFO: GPS data processed {"connection_id":170847,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:05:05] local.INFO: Acknowledgment sent {"connection_id":170847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:05:10] local.INFO: TCP Data received {"connection_id":170847,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c31dfb8012cbb12800774db50005300582d..."} 
[2026-09-04 17:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c31dfb8012cbb12800774db50005300582d..."} 
[2026-09-04 17:05:10] local.INFO: Processing buffer {"connection_id":170847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c31dfb8012cbb12800774db50005300582d..."} 
[2026-09-04 17:05:10] local.INFO: Packet analysis {"connection_id":170847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:05:10] local.INFO: Extracted packet for processing {"connection_id":170847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:05:10] local.INFO: GPS Element Parsed {"raw_longitude":750457472,"raw_latitude":125098832,"longitude_deg":75.0457472,"latitude_deg":12.5098832,"altitude":83,"angle":88,"satellites":45,"speed":46,"hex_longitude":"2cbb1280","hex_latitude":"0774db50","is_valid_coordinates":true} 
[2026-09-04 17:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861528320001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398149683156877312,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4977040506172504064,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788521603000,"timestamp_ms":1788521603000,"timestamp_seconds":1788521603,"priority":1,"record_length":96,"hex_timestamp":"000001a06c31dfb8"} 
[2026-09-04 17:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861528320001,"66":27876,"93":206,"85":36608,"24":46,"16":398149683156877312,"44":-4977040506172504064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-09-04 17:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861528320001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:05:10] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-04 17:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398149683156877312,"km_value":398149683156877.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4977040506172504064,"description":"Unknown IO ID 44"} 
[2026-09-04 17:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861528320001,"power":27876,"unknown_93":206,"unknown_85":36608,"ignition":46,"odometer":null,"unknown_44":-4977040506172504064}} 
[2026-09-04 17:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":170847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:05:10] local.INFO: GPS data processed {"connection_id":170847,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:05:10] local.INFO: Acknowledgment sent {"connection_id":170847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:05:24] local.INFO: TCP Data received {"connection_id":173545,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c325cb8012d1821000721b380004b00d22b..."} 
[2026-09-04 17:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c325cb8012d1821000721b380004b00d22b..."} 
[2026-09-04 17:05:24] local.INFO: Processing buffer {"connection_id":173545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c325cb8012d1821000721b380004b00d22b..."} 
[2026-09-04 17:05:24] local.INFO: Packet analysis {"connection_id":173545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c32"} 
[2026-09-04 17:05:24] local.INFO: Extracted packet for processing {"connection_id":173545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c32"} 
[2026-09-04 17:05:24] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649152,"longitude_deg":75.6556032,"latitude_deg":11.9649152,"altitude":75,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b380","is_valid_coordinates":true} 
[2026-09-04 17:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861533184001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340221787996160,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771905024,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788521635000,"timestamp_ms":1788521635000,"timestamp_seconds":1788521635,"priority":1,"record_length":96,"hex_timestamp":"000001a06c325cb8"} 
[2026-09-04 17:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-04 17:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861533184001,"66":12558,"105":206,"83":41984,"24":0,"16":17340221787996160,"45":1738670961771905024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861533184001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:05:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340221787996160,"km_value":17340221787996.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771905024,"description":"Unknown IO ID 45"} 
[2026-09-04 17:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861533184001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771905024}} 
[2026-09-04 17:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":173545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:05:25] local.INFO: GPS data processed {"connection_id":173545,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:05:25] local.INFO: Acknowledgment sent {"connection_id":173545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:05:27] local.INFO: TCP Data received {"connection_id":172239,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:05:27] local.INFO: Processing buffer {"connection_id":172239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:05:27] local.INFO: Packet analysis {"connection_id":172239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:05:27] local.INFO: Extracted packet for processing {"connection_id":172239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:05:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861438976001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788521547000,"timestamp_ms":1788521547000,"timestamp_seconds":1788521547,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3104f8"} 
[2026-09-04 17:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861438976001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861438976001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:05:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:05:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861438976001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":172239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763790,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:05:27] local.INFO: GPS data processed {"connection_id":172239,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:05:27] local.INFO: Acknowledgment sent {"connection_id":172239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:05:41] local.INFO: TCP Data received {"connection_id":170847,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c333b60012cbc67c00774adc80054009d2f..."} 
[2026-09-04 17:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c333b60012cbc67c00774adc80054009d2f..."} 
[2026-09-04 17:05:41] local.INFO: Processing buffer {"connection_id":170847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c333b60012cbc67c00774adc80054009d2f..."} 
[2026-09-04 17:05:41] local.INFO: Packet analysis {"connection_id":170847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c33"} 
[2026-09-04 17:05:41] local.INFO: Extracted packet for processing {"connection_id":170847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c33"} 
[2026-09-04 17:05:41] local.INFO: GPS Element Parsed {"raw_longitude":750544832,"raw_latitude":125087176,"longitude_deg":75.0544832,"latitude_deg":12.5087176,"altitude":84,"angle":157,"satellites":47,"speed":38,"hex_longitude":"2cbc67c0","hex_latitude":"0774adc8","is_valid_coordinates":true} 
[2026-09-04 17:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861552640001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398153973829206016,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4871839233629466624,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788521692000,"timestamp_ms":1788521692000,"timestamp_seconds":1788521692,"priority":1,"record_length":96,"hex_timestamp":"000001a06c333b60"} 
[2026-09-04 17:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 17:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861552640001,"66":27484,"71":206,"85":36608,"24":38,"16":398153973829206016,"44":-4871839233629466624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,44]} 
[2026-09-04 17:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861552640001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:05:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-04 17:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398153973829206016,"km_value":398153973829206.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:05:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4871839233629466624,"description":"Unknown IO ID 44"} 
[2026-09-04 17:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861552640001,"power":27484,"unknown_71":206,"unknown_85":36608,"ignition":38,"odometer":null,"unknown_44":-4871839233629466624}} 
[2026-09-04 17:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":170847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:05:41] local.INFO: GPS data processed {"connection_id":170847,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:05:41] local.INFO: Acknowledgment sent {"connection_id":170847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:05:48] local.INFO: TCP Data received {"connection_id":172240,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:05:48] local.INFO: Processing buffer {"connection_id":172240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:05:48] local.INFO: IMEI packet received {"connection_id":172240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":172240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:05:48] local.INFO: TCP Data received {"connection_id":171144,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:05:48] local.INFO: Processing buffer {"connection_id":171144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:05:48] local.INFO: IMEI packet received {"connection_id":171144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":171144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:05:53] local.INFO: TCP Data received {"connection_id":172240,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:05:53] local.INFO: Processing buffer {"connection_id":172240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:05:53] local.INFO: IMEI packet received {"connection_id":172240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":172240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:05:54] local.INFO: TCP Data received {"connection_id":172240,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c32aec0012d1821000721b380004b00d22d..."} 
[2026-09-04 17:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c32aec0012d1821000721b380004b00d22d..."} 
[2026-09-04 17:05:54] local.INFO: Processing buffer {"connection_id":172240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c32aec0012d1821000721b380004b00d22d..."} 
[2026-09-04 17:05:54] local.INFO: Packet analysis {"connection_id":172240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c32"} 
[2026-09-04 17:05:54] local.INFO: Extracted packet for processing {"connection_id":172240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c32"} 
[2026-09-04 17:05:54] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649152,"longitude_deg":75.6556032,"latitude_deg":11.9649152,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b380","is_valid_coordinates":true} 
[2026-09-04 17:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861538560001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340221787996160,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771905024,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788521656000,"timestamp_ms":1788521656000,"timestamp_seconds":1788521656,"priority":1,"record_length":96,"hex_timestamp":"000001a06c32aec0"} 
[2026-09-04 17:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385889052341816,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3057123403,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2596995072,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:54] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,154,160,10,45,179,75,66,184,102,64,1,240,145,227,108,33,4,113,205,194,35,56,46,239,49,2,61,7,106,88,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 17:05:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404550634970021888,"timestamp_seconds":5404550634970022.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 17:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861538560001,"66":12526,"105":206,"83":41984,"24":0,"16":17340221787996160,"45":1738670961771905024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861538560001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:05:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:05:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340221787996160,"km_value":17340221787996.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771905024,"description":"Unknown IO ID 45"} 
[2026-09-04 17:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861538560001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771905024}} 
[2026-09-04 17:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":172240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:05:54] local.INFO: GPS data processed {"connection_id":172240,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:05:54] local.INFO: Acknowledgment sent {"connection_id":172240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:05:54] local.INFO: TCP Data received {"connection_id":171144,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:05:54] local.INFO: Processing buffer {"connection_id":171144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:05:54] local.INFO: IMEI packet received {"connection_id":171144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":171144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:05:55] local.INFO: TCP Data received {"connection_id":171144,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:05:55] local.INFO: Processing buffer {"connection_id":171144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:05:55] local.INFO: Packet analysis {"connection_id":171144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:05:55] local.INFO: Extracted packet for processing {"connection_id":171144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:05:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861438976001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788521547000,"timestamp_ms":1788521547000,"timestamp_seconds":1788521547,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3104f8"} 
[2026-09-04 17:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861438976001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861438976001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:05:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:05:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861438976001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":171144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763793,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:05:55] local.INFO: GPS data processed {"connection_id":171144,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:05:55] local.INFO: Acknowledgment sent {"connection_id":171144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:05:58] local.INFO: TCP Data received {"connection_id":171145,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:58] local.INFO: Processing buffer {"connection_id":171145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:58] local.INFO: IMEI packet received {"connection_id":171145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":171145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:05:59] local.INFO: TCP Data received {"connection_id":171145,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:59] local.INFO: Processing buffer {"connection_id":171145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:05:59] local.INFO: IMEI packet received {"connection_id":171145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":171145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:06:04] local.INFO: TCP Data received {"connection_id":171145,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:06:04] local.INFO: Processing buffer {"connection_id":171145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:06:04] local.INFO: IMEI packet received {"connection_id":171145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":171145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:06:05] local.INFO: TCP Data received {"connection_id":171145,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c334718012cbc6ac00774a2e0005300ab2f..."} 
[2026-09-04 17:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c334718012cbc6ac00774a2e0005300ab2f..."} 
[2026-09-04 17:06:05] local.INFO: Processing buffer {"connection_id":171145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c334718012cbc6ac00774a2e0005300ab2f..."} 
[2026-09-04 17:06:05] local.INFO: Packet analysis {"connection_id":171145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c33"} 
[2026-09-04 17:06:05] local.INFO: Extracted packet for processing {"connection_id":171145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c33"} 
[2026-09-04 17:06:05] local.INFO: GPS Element Parsed {"raw_longitude":750545600,"raw_latitude":125084384,"longitude_deg":75.05456,"latitude_deg":12.5084384,"altitude":83,"angle":171,"satellites":47,"speed":38,"hex_longitude":"2cbc6ac0","hex_latitude":"0774a2e0","is_valid_coordinates":true} 
[2026-09-04 17:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861553152001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398154115563126784,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4870713333723052032,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788521695000,"timestamp_ms":1788521695000,"timestamp_seconds":1788521695,"priority":1,"record_length":96,"hex_timestamp":"000001a06c334718"} 
[2026-09-04 17:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 17:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861553152001,"66":28050,"72":206,"85":36608,"24":38,"16":398154115563126784,"44":-4870713333723052032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-09-04 17:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861553152001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:06:05] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-04 17:06:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398154115563126784,"km_value":398154115563126.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:06:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4870713333723052032,"description":"Unknown IO ID 44"} 
[2026-09-04 17:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861553152001,"power":28050,"unknown_72":206,"unknown_85":36608,"ignition":38,"odometer":null,"unknown_44":-4870713333723052032}} 
[2026-09-04 17:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":171145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:06:05] local.INFO: GPS data processed {"connection_id":171145,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:06:05] local.INFO: Acknowledgment sent {"connection_id":171145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:06:24] local.INFO: TCP Data received {"connection_id":172240,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3300c8012d181f800721b158004b00d62c..."} 
[2026-09-04 17:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3300c8012d181f800721b158004b00d62c..."} 
[2026-09-04 17:06:24] local.INFO: Processing buffer {"connection_id":172240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3300c8012d181f800721b158004b00d62c..."} 
[2026-09-04 17:06:24] local.INFO: Packet analysis {"connection_id":172240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c33"} 
[2026-09-04 17:06:24] local.INFO: Extracted packet for processing {"connection_id":172240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c33"} 
[2026-09-04 17:06:24] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648600,"longitude_deg":75.6555648,"latitude_deg":11.96486,"altitude":75,"angle":214,"satellites":44,"speed":3,"hex_longitude":"2d181f80","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-09-04 17:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861543936001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340256147734528,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771905024,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788521677000,"timestamp_ms":1788521677000,"timestamp_seconds":1788521677,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3300c8"} 
[2026-09-04 17:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 17:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861543936001,"66":12504,"105":206,"83":41984,"24":3,"16":17340256147734528,"45":1738670961771905024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861543936001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:06:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:06:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340256147734528,"km_value":17340256147734.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771905024,"description":"Unknown IO ID 45"} 
[2026-09-04 17:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861543936001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738670961771905024}} 
[2026-09-04 17:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":172240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:06:24] local.INFO: GPS data processed {"connection_id":172240,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:06:24] local.INFO: Acknowledgment sent {"connection_id":172240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:06:27] local.INFO: TCP Data received {"connection_id":171144,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:06:27] local.INFO: Processing buffer {"connection_id":171144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:06:27] local.INFO: Packet analysis {"connection_id":171144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:06:27] local.INFO: Extracted packet for processing {"connection_id":171144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:06:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861438976001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788521547000,"timestamp_ms":1788521547000,"timestamp_seconds":1788521547,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3104f8"} 
[2026-09-04 17:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861438976001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861438976001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:06:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:06:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861438976001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":171144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763796,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:06:27] local.INFO: GPS data processed {"connection_id":171144,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:06:27] local.INFO: Acknowledgment sent {"connection_id":171144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:06:46] local.INFO: TCP Data received {"connection_id":171145,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c340e50012cbc1e4007740660004800862d..."} 
[2026-09-04 17:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c340e50012cbc1e4007740660004800862d..."} 
[2026-09-04 17:06:46] local.INFO: Processing buffer {"connection_id":171145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c340e50012cbc1e4007740660004800862d..."} 
[2026-09-04 17:06:46] local.INFO: Packet analysis {"connection_id":171145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c34"} 
[2026-09-04 17:06:46] local.INFO: Extracted packet for processing {"connection_id":171145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c34"} 
[2026-09-04 17:06:46] local.INFO: GPS Element Parsed {"raw_longitude":750526016,"raw_latitude":125044320,"longitude_deg":75.0526016,"latitude_deg":12.504432,"altitude":72,"angle":134,"satellites":45,"speed":34,"hex_longitude":"2cbc1e40","hex_latitude":"07740660","is_valid_coordinates":true} 
[2026-09-04 17:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861566720001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398156421960564736,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4892035063219691520,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788521746000,"timestamp_ms":1788521746000,"timestamp_seconds":1788521746,"priority":1,"record_length":96,"hex_timestamp":"000001a06c340e50"} 
[2026-09-04 17:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 17:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":171145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":171145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":171145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861566720001,"66":27930,"72":206,"85":36608,"24":34,"16":398156421960564736,"44":-4892035063219691520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-09-04 17:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861566720001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:06:46] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-04 17:06:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398156421960564736,"km_value":398156421960564.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:06:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4892035063219691520,"description":"Unknown IO ID 44"} 
[2026-09-04 17:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861566720001,"power":27930,"unknown_72":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-4892035063219691520}} 
[2026-09-04 17:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":171145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:06:46] local.INFO: GPS data processed {"connection_id":171145,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:06:46] local.INFO: Acknowledgment sent {"connection_id":171145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:06:47] local.INFO: TCP Data received {"connection_id":172241,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:06:47] local.INFO: Processing buffer {"connection_id":172241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:06:47] local.INFO: IMEI packet received {"connection_id":172241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":172241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:06:53] local.INFO: TCP Data received {"connection_id":172241,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:06:53] local.INFO: Processing buffer {"connection_id":172241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:06:53] local.INFO: IMEI packet received {"connection_id":172241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":172241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:06:54] local.INFO: TCP Data received {"connection_id":172241,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3352d0012d181f400721b128004b00dd2c..."} 
[2026-09-04 17:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3352d0012d181f400721b128004b00dd2c..."} 
[2026-09-04 17:06:54] local.INFO: Processing buffer {"connection_id":172241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3352d0012d181f400721b128004b00dd2c..."} 
[2026-09-04 17:06:54] local.INFO: Packet analysis {"connection_id":172241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c33"} 
[2026-09-04 17:06:54] local.INFO: Extracted packet for processing {"connection_id":172241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c33"} 
[2026-09-04 17:06:54] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648552,"longitude_deg":75.6555584,"latitude_deg":11.9648552,"altitude":75,"angle":221,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b128","is_valid_coordinates":true} 
[2026-09-04 17:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861549312001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340260442701824,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306697728,"note":"Value kept but may cause issues"} 
[2026-09-04 17:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788521698000,"timestamp_ms":1788521698000,"timestamp_seconds":1788521698,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3352d0"} 
[2026-09-04 17:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 17:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861549312001,"66":12472,"105":206,"83":41984,"24":0,"16":17340260442701824,"45":1738248749306697728},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861549312001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:06:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:06:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340260442701824,"km_value":17340260442701.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306697728,"description":"Unknown IO ID 45"} 
[2026-09-04 17:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861549312001,"power":12472,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306697728}} 
[2026-09-04 17:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":172241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:06:54] local.INFO: GPS data processed {"connection_id":172241,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:06:54] local.INFO: Acknowledgment sent {"connection_id":172241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:06:54] local.INFO: TCP Data received {"connection_id":170848,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:06:54] local.INFO: Processing buffer {"connection_id":170848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:06:54] local.INFO: IMEI packet received {"connection_id":170848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":170848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:06:57] local.INFO: TCP Data received {"connection_id":171146,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:06:57] local.INFO: Processing buffer {"connection_id":171146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:06:57] local.INFO: IMEI packet received {"connection_id":171146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":171146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:06:58] local.INFO: TCP Data received {"connection_id":171146,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:06:58] local.INFO: Processing buffer {"connection_id":171146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:06:58] local.INFO: IMEI packet received {"connection_id":171146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":171146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:06:59] local.INFO: TCP Data received {"connection_id":170848,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:06:59] local.INFO: Processing buffer {"connection_id":170848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:06:59] local.INFO: IMEI packet received {"connection_id":170848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":170848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:07:00] local.INFO: TCP Data received {"connection_id":170848,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:07:00] local.INFO: Processing buffer {"connection_id":170848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:07:00] local.INFO: Packet analysis {"connection_id":170848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:07:00] local.INFO: Extracted packet for processing {"connection_id":170848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861438976001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788521547000,"timestamp_ms":1788521547000,"timestamp_seconds":1788521547,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3104f8"} 
[2026-09-04 17:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861438976001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861438976001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:07:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861438976001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":170848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763799,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:07:00] local.INFO: GPS data processed {"connection_id":170848,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:07:00] local.INFO: Acknowledgment sent {"connection_id":170848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:07:04] local.INFO: TCP Data received {"connection_id":171146,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:07:04] local.INFO: Processing buffer {"connection_id":171146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:07:04] local.INFO: IMEI packet received {"connection_id":171146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":171146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:07:04] local.INFO: TCP Data received {"connection_id":170848,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:07:04] local.INFO: Processing buffer {"connection_id":170848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:07:04] local.INFO: Packet analysis {"connection_id":170848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:07:04] local.INFO: Extracted packet for processing {"connection_id":170848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861438976001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788521547000,"timestamp_ms":1788521547000,"timestamp_seconds":1788521547,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3104f8"} 
[2026-09-04 17:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861438976001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861438976001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:07:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:07:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861438976001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":170848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:07:05] local.INFO: GPS data processed {"connection_id":170848,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:07:05] local.INFO: Acknowledgment sent {"connection_id":170848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:07:05] local.INFO: TCP Data received {"connection_id":171146,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c341620012cbc240007740270004800772f..."} 
[2026-09-04 17:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c341620012cbc240007740270004800772f..."} 
[2026-09-04 17:07:05] local.INFO: Processing buffer {"connection_id":171146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c341620012cbc240007740270004800772f..."} 
[2026-09-04 17:07:05] local.INFO: Packet analysis {"connection_id":171146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c34"} 
[2026-09-04 17:07:05] local.INFO: Extracted packet for processing {"connection_id":171146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c34"} 
[2026-09-04 17:07:05] local.INFO: GPS Element Parsed {"raw_longitude":750527488,"raw_latitude":125043312,"longitude_deg":75.0527488,"latitude_deg":12.5043312,"altitude":72,"angle":119,"satellites":47,"speed":35,"hex_longitude":"2cbc2400","hex_latitude":"07740270","is_valid_coordinates":true} 
[2026-09-04 17:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861566976001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398156507859910656,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4891401744522256384,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788521748000,"timestamp_ms":1788521748000,"timestamp_seconds":1788521748,"priority":1,"record_length":96,"hex_timestamp":"000001a06c341620"} 
[2026-09-04 17:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 17:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861566976001,"66":27908,"72":206,"85":36608,"24":35,"16":398156507859910656,"44":-4891401744522256384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-09-04 17:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861566976001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:07:05] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-04 17:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-04 17:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398156507859910656,"km_value":398156507859910.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:07:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4891401744522256384,"description":"Unknown IO ID 44"} 
[2026-09-04 17:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861566976001,"power":27908,"unknown_72":206,"unknown_85":36608,"ignition":35,"odometer":null,"unknown_44":-4891401744522256384}} 
[2026-09-04 17:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":171146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:07:05] local.INFO: GPS data processed {"connection_id":171146,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:07:05] local.INFO: Acknowledgment sent {"connection_id":171146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:07:25] local.INFO: TCP Data received {"connection_id":172241,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c33a4d8012d181f400721b128004b00dd2d..."} 
[2026-09-04 17:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c33a4d8012d181f400721b128004b00dd2d..."} 
[2026-09-04 17:07:25] local.INFO: Processing buffer {"connection_id":172241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c33a4d8012d181f400721b128004b00dd2d..."} 
[2026-09-04 17:07:25] local.INFO: Packet analysis {"connection_id":172241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c33"} 
[2026-09-04 17:07:25] local.INFO: Extracted packet for processing {"connection_id":172241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c33"} 
[2026-09-04 17:07:25] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648552,"longitude_deg":75.6555584,"latitude_deg":11.9648552,"altitude":75,"angle":221,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b128","is_valid_coordinates":true} 
[2026-09-04 17:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861554688001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340260442701824,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562507776,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788521719000,"timestamp_ms":1788521719000,"timestamp_seconds":1788521719,"priority":1,"record_length":96,"hex_timestamp":"000001a06c33a4d8"} 
[2026-09-04 17:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 17:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861554688001,"66":12461,"105":206,"83":41984,"24":0,"16":17340260442701824,"45":1738178380562507776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861554688001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:07:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:07:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340260442701824,"km_value":17340260442701.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562507776,"description":"Unknown IO ID 45"} 
[2026-09-04 17:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861554688001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562507776}} 
[2026-09-04 17:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":172241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:07:25] local.INFO: GPS data processed {"connection_id":172241,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:07:25] local.INFO: Acknowledgment sent {"connection_id":172241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:07:36] local.INFO: TCP Data received {"connection_id":171146,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c34f8b0012cbc558007736840003d00e531..."} 
[2026-09-04 17:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c34f8b0012cbc558007736840003d00e531..."} 
[2026-09-04 17:07:36] local.INFO: Processing buffer {"connection_id":171146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c34f8b0012cbc558007736840003d00e531..."} 
[2026-09-04 17:07:36] local.INFO: Packet analysis {"connection_id":171146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c34"} 
[2026-09-04 17:07:36] local.INFO: Extracted packet for processing {"connection_id":171146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c34"} 
[2026-09-04 17:07:36] local.INFO: GPS Element Parsed {"raw_longitude":750540160,"raw_latitude":125003840,"longitude_deg":75.054016,"latitude_deg":12.500384,"altitude":61,"angle":229,"satellites":49,"speed":36,"hex_longitude":"2cbc5580","hex_latitude":"07736840","is_valid_coordinates":true} 
[2026-09-04 17:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861581824001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398159084840288256,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4874372508441270272,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788521806000,"timestamp_ms":1788521806000,"timestamp_seconds":1788521806,"priority":1,"record_length":96,"hex_timestamp":"000001a06c34f8b0"} 
[2026-09-04 17:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 17:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861581824001,"66":27604,"225":206,"85":37888,"24":36,"16":398159084840288256,"44":-4874372508441270272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-09-04 17:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861581824001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:07:36] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-04 17:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398159084840288256,"km_value":398159084840288.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:07:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4874372508441270272,"description":"Unknown IO ID 44"} 
[2026-09-04 17:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861581824001,"power":27604,"unknown_225":206,"unknown_85":37888,"ignition":36,"odometer":null,"unknown_44":-4874372508441270272}} 
[2026-09-04 17:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":171146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:07:36] local.INFO: GPS data processed {"connection_id":171146,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:07:36] local.INFO: Acknowledgment sent {"connection_id":171146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:07:47] local.INFO: TCP Data received {"connection_id":171147,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:07:47] local.INFO: Processing buffer {"connection_id":171147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:07:47] local.INFO: IMEI packet received {"connection_id":171147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":171147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:07:49] local.INFO: TCP Data received {"connection_id":171147,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:07:49] local.INFO: Processing buffer {"connection_id":171147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:07:49] local.INFO: IMEI packet received {"connection_id":171147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":171147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:07:49] local.INFO: TCP Data received {"connection_id":170849,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:07:49] local.INFO: Processing buffer {"connection_id":170849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:07:49] local.INFO: IMEI packet received {"connection_id":170849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":170849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:07:53] local.INFO: TCP Data received {"connection_id":171147,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:07:53] local.INFO: Processing buffer {"connection_id":171147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:07:53] local.INFO: IMEI packet received {"connection_id":171147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":171147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:07:54] local.INFO: TCP Data received {"connection_id":171147,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c33f6e0012d181f400721b128004b00dd2d..."} 
[2026-09-04 17:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c33f6e0012d181f400721b128004b00dd2d..."} 
[2026-09-04 17:07:54] local.INFO: Processing buffer {"connection_id":171147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c33f6e0012d181f400721b128004b00dd2d..."} 
[2026-09-04 17:07:54] local.INFO: Packet analysis {"connection_id":171147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c33"} 
[2026-09-04 17:07:54] local.INFO: Extracted packet for processing {"connection_id":171147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c33"} 
[2026-09-04 17:07:54] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648552,"longitude_deg":75.6555584,"latitude_deg":11.9648552,"altitude":75,"angle":221,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b128","is_valid_coordinates":true} 
[2026-09-04 17:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861560064001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340260442701824,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562507776,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788521740000,"timestamp_ms":1788521740000,"timestamp_seconds":1788521740,"priority":1,"record_length":96,"hex_timestamp":"000001a06c33f6e0"} 
[2026-09-04 17:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861560064001,"66":12461,"105":206,"83":41984,"24":0,"16":17340260442701824,"45":1738178380562507776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861560064001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:07:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:07:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340260442701824,"km_value":17340260442701.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562507776,"description":"Unknown IO ID 45"} 
[2026-09-04 17:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861560064001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562507776}} 
[2026-09-04 17:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":171147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:07:54] local.INFO: GPS data processed {"connection_id":171147,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:07:54] local.INFO: Acknowledgment sent {"connection_id":171147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:07:54] local.INFO: TCP Data received {"connection_id":170849,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:07:54] local.INFO: Processing buffer {"connection_id":170849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:07:54] local.INFO: IMEI packet received {"connection_id":170849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":170849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:07:55] local.INFO: TCP Data received {"connection_id":170849,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:07:55] local.INFO: Processing buffer {"connection_id":170849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3104f8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:07:55] local.INFO: Packet analysis {"connection_id":170849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:07:55] local.INFO: Extracted packet for processing {"connection_id":170849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c31"} 
[2026-09-04 17:07:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861438976001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788521547000,"timestamp_ms":1788521547000,"timestamp_seconds":1788521547,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3104f8"} 
[2026-09-04 17:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861438976001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861438976001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:07:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861438976001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":170849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763805,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:07:55] local.INFO: GPS data processed {"connection_id":170849,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:07:55] local.INFO: Acknowledgment sent {"connection_id":170849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:08:24] local.INFO: TCP Data received {"connection_id":171147,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3448e8012d181f400721b128004b00dd2d..."} 
[2026-09-04 17:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3448e8012d181f400721b128004b00dd2d..."} 
[2026-09-04 17:08:24] local.INFO: Processing buffer {"connection_id":171147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3448e8012d181f400721b128004b00dd2d..."} 
[2026-09-04 17:08:24] local.INFO: Packet analysis {"connection_id":171147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c34"} 
[2026-09-04 17:08:24] local.INFO: Extracted packet for processing {"connection_id":171147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c34"} 
[2026-09-04 17:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648552,"longitude_deg":75.6555584,"latitude_deg":11.9648552,"altitude":75,"angle":221,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b128","is_valid_coordinates":true} 
[2026-09-04 17:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861565440001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340260442701824,"note":"Value kept but may cause issues"} 
[2026-09-04 17:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562507776,"note":"Value kept but may cause issues"} 
[2026-09-04 17:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788521761000,"timestamp_ms":1788521761000,"timestamp_seconds":1788521761,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3448e8"} 
[2026-09-04 17:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861565440001,"66":12504,"105":206,"83":41984,"24":0,"16":17340260442701824,"45":1738178380562507776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861565440001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:08:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:08:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340260442701824,"km_value":17340260442701.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562507776,"description":"Unknown IO ID 45"} 
[2026-09-04 17:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861565440001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562507776}} 
[2026-09-04 17:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":171147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:08:24] local.INFO: GPS data processed {"connection_id":171147,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:08:24] local.INFO: Acknowledgment sent {"connection_id":171147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:08:26] local.INFO: TCP Data received {"connection_id":170849,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:08:26] local.INFO: Processing buffer {"connection_id":170849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:08:26] local.INFO: Packet analysis {"connection_id":170849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:08:26] local.INFO: Extracted packet for processing {"connection_id":170849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:08:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861516032001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788521848000,"timestamp_ms":1788521848000,"timestamp_seconds":1788521848,"priority":1,"record_length":96,"hex_timestamp":"000001a06c359cc0"} 
[2026-09-04 17:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861516032001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861516032001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:08:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:08:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861516032001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":170849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:08:26] local.INFO: GPS data processed {"connection_id":170849,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:08:26] local.INFO: Acknowledgment sent {"connection_id":170849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:08:41] local.INFO: TCP Data received {"connection_id":172242,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:08:41] local.INFO: Processing buffer {"connection_id":172242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:08:41] local.INFO: IMEI packet received {"connection_id":172242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":172242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:08:41] local.INFO: TCP Data received {"connection_id":172242,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:08:41] local.INFO: Processing buffer {"connection_id":172242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:08:41] local.INFO: IMEI packet received {"connection_id":172242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":172242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:08:41] local.INFO: TCP Data received {"connection_id":172242,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:08:41] local.INFO: Processing buffer {"connection_id":172242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:08:41] local.INFO: IMEI packet received {"connection_id":172242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":172242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:08:48] local.INFO: TCP Data received {"connection_id":171148,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:08:48] local.INFO: Processing buffer {"connection_id":171148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:08:48] local.INFO: IMEI packet received {"connection_id":171148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":171148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:08:52] local.INFO: TCP Data received {"connection_id":171149,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:08:52] local.INFO: Processing buffer {"connection_id":171149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:08:52] local.INFO: IMEI packet received {"connection_id":171149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":171149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:08:52] local.INFO: TCP Data received {"connection_id":171149,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:08:53] local.INFO: Processing buffer {"connection_id":171149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:08:53] local.INFO: IMEI packet received {"connection_id":171149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":171149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:08:54] local.INFO: TCP Data received {"connection_id":171148,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:08:54] local.INFO: Processing buffer {"connection_id":171148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:08:54] local.INFO: IMEI packet received {"connection_id":171148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":171148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:08:55] local.INFO: TCP Data received {"connection_id":171148,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:08:55] local.INFO: Processing buffer {"connection_id":171148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:08:55] local.INFO: Packet analysis {"connection_id":171148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:08:55] local.INFO: Extracted packet for processing {"connection_id":171148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861516032001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788521848000,"timestamp_ms":1788521848000,"timestamp_seconds":1788521848,"priority":1,"record_length":96,"hex_timestamp":"000001a06c359cc0"} 
[2026-09-04 17:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861516032001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861516032001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:08:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861516032001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":171148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763808,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:08:55] local.INFO: GPS data processed {"connection_id":171148,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:08:55] local.INFO: Acknowledgment sent {"connection_id":171148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:08:58] local.INFO: TCP Data received {"connection_id":171149,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:08:58] local.INFO: Processing buffer {"connection_id":171149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:08:58] local.INFO: IMEI packet received {"connection_id":171149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":171149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:08:59] local.INFO: TCP Data received {"connection_id":171149,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c346440012d181e800721afd8004c00d12c..."} 
[2026-09-04 17:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c346440012d181e800721afd8004c00d12c..."} 
[2026-09-04 17:08:59] local.INFO: Processing buffer {"connection_id":171149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c346440012d181e800721afd8004c00d12c..."} 
[2026-09-04 17:08:59] local.INFO: Packet analysis {"connection_id":171149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c34"} 
[2026-09-04 17:08:59] local.INFO: Extracted packet for processing {"connection_id":171149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c34"} 
[2026-09-04 17:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648216,"longitude_deg":75.6555392,"latitude_deg":11.9648216,"altitude":76,"angle":209,"satellites":44,"speed":1,"hex_longitude":"2d181e80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-09-04 17:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861570816001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340277622571008,"note":"Value kept but may cause issues"} 
[2026-09-04 17:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562507776,"note":"Value kept but may cause issues"} 
[2026-09-04 17:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788521768000,"timestamp_ms":1788521768000,"timestamp_seconds":1788521768,"priority":1,"record_length":96,"hex_timestamp":"000001a06c346440"} 
[2026-09-04 17:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 17:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861570816001,"66":12461,"105":206,"83":41984,"24":1,"16":17340277622571008,"45":1738178380562507776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861570816001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:08:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340277622571008,"km_value":17340277622571.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562507776,"description":"Unknown IO ID 45"} 
[2026-09-04 17:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861570816001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738178380562507776}} 
[2026-09-04 17:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":171149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:08:59] local.INFO: GPS data processed {"connection_id":171149,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:08:59] local.INFO: Acknowledgment sent {"connection_id":171149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:09:01] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:09:01] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:09:01] local.INFO: IMEI packet received {"connection_id":173546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":173546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:09:27] local.INFO: TCP Data received {"connection_id":171148,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:09:27] local.INFO: Processing buffer {"connection_id":171148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:09:27] local.INFO: Packet analysis {"connection_id":171148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:09:27] local.INFO: Extracted packet for processing {"connection_id":171148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:09:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861516032001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788521848000,"timestamp_ms":1788521848000,"timestamp_seconds":1788521848,"priority":1,"record_length":96,"hex_timestamp":"000001a06c359cc0"} 
[2026-09-04 17:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861516032001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861516032001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:09:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:09:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861516032001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":171148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:09:27] local.INFO: GPS data processed {"connection_id":171148,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:09:27] local.INFO: Acknowledgment sent {"connection_id":171148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:09:30] local.INFO: TCP Data received {"connection_id":171149,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c34b648012d181e400721af90004c00d02c..."} 
[2026-09-04 17:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c34b648012d181e400721af90004c00d02c..."} 
[2026-09-04 17:09:30] local.INFO: Processing buffer {"connection_id":171149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c34b648012d181e400721af90004c00d02c..."} 
[2026-09-04 17:09:30] local.INFO: Packet analysis {"connection_id":171149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c34"} 
[2026-09-04 17:09:30] local.INFO: Extracted packet for processing {"connection_id":171149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c34"} 
[2026-09-04 17:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":76,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-09-04 17:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861572608001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340286212505600,"note":"Value kept but may cause issues"} 
[2026-09-04 17:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329888768,"note":"Value kept but may cause issues"} 
[2026-09-04 17:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788521789000,"timestamp_ms":1788521789000,"timestamp_seconds":1788521789,"priority":1,"record_length":96,"hex_timestamp":"000001a06c34b648"} 
[2026-09-04 17:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861572608001,"66":12504,"105":206,"83":41984,"24":0,"16":17340286212505600,"45":1737967274329888768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861572608001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:09:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340286212505600,"km_value":17340286212505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329888768,"description":"Unknown IO ID 45"} 
[2026-09-04 17:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861572608001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329888768}} 
[2026-09-04 17:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":171149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:09:30] local.INFO: GPS data processed {"connection_id":171149,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:09:30] local.INFO: Acknowledgment sent {"connection_id":171149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:09:47] local.INFO: TCP Data received {"connection_id":173547,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:09:47] local.INFO: Processing buffer {"connection_id":173547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:09:47] local.INFO: IMEI packet received {"connection_id":173547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":173547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:09:48] local.INFO: TCP Data received {"connection_id":172243,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:09:48] local.INFO: Processing buffer {"connection_id":172243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:09:48] local.INFO: IMEI packet received {"connection_id":172243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":172243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:09:53] local.INFO: TCP Data received {"connection_id":173547,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:09:53] local.INFO: Processing buffer {"connection_id":173547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:09:53] local.INFO: IMEI packet received {"connection_id":173547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":173547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:09:54] local.INFO: TCP Data received {"connection_id":173547,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c350850012d181e400721af90004c00d02b..."} 
[2026-09-04 17:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c350850012d181e400721af90004c00d02b..."} 
[2026-09-04 17:09:54] local.INFO: Processing buffer {"connection_id":173547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c350850012d181e400721af90004c00d02b..."} 
[2026-09-04 17:09:54] local.INFO: Packet analysis {"connection_id":173547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:09:54] local.INFO: Extracted packet for processing {"connection_id":173547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:09:54] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":76,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-09-04 17:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861577984001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340286212505600,"note":"Value kept but may cause issues"} 
[2026-09-04 17:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-09-04 17:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788521810000,"timestamp_ms":1788521810000,"timestamp_seconds":1788521810,"priority":1,"record_length":96,"hex_timestamp":"000001a06c350850"} 
[2026-09-04 17:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 17:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861577984001,"66":12439,"105":206,"83":41984,"24":0,"16":17340286212505600,"45":1737896905585692672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861577984001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:09:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:09:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340286212505600,"km_value":17340286212505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-09-04 17:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861577984001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-09-04 17:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":173547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:09:54] local.INFO: GPS data processed {"connection_id":173547,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:09:54] local.INFO: Acknowledgment sent {"connection_id":173547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:09:54] local.INFO: TCP Data received {"connection_id":172243,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:09:54] local.INFO: Processing buffer {"connection_id":172243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:09:54] local.INFO: IMEI packet received {"connection_id":172243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":172243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:09:55] local.INFO: TCP Data received {"connection_id":172243,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:09:55] local.INFO: Processing buffer {"connection_id":172243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:09:55] local.INFO: Packet analysis {"connection_id":172243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:09:55] local.INFO: Extracted packet for processing {"connection_id":172243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861516032001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788521848000,"timestamp_ms":1788521848000,"timestamp_seconds":1788521848,"priority":1,"record_length":96,"hex_timestamp":"000001a06c359cc0"} 
[2026-09-04 17:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861516032001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861516032001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:09:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861516032001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":172243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763813,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:09:55] local.INFO: GPS data processed {"connection_id":172243,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:09:55] local.INFO: Acknowledgment sent {"connection_id":172243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:10:24] local.INFO: TCP Data received {"connection_id":173547,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c355a58012d181e400721af90004c00d029..."} 
[2026-09-04 17:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c355a58012d181e400721af90004c00d029..."} 
[2026-09-04 17:10:24] local.INFO: Processing buffer {"connection_id":173547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c355a58012d181e400721af90004c00d029..."} 
[2026-09-04 17:10:24] local.INFO: Packet analysis {"connection_id":173547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:10:24] local.INFO: Extracted packet for processing {"connection_id":173547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:10:24] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":76,"angle":208,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-09-04 17:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861583360001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340286212505600,"note":"Value kept but may cause issues"} 
[2026-09-04 17:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-09-04 17:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788521831000,"timestamp_ms":1788521831000,"timestamp_seconds":1788521831,"priority":1,"record_length":96,"hex_timestamp":"000001a06c355a58"} 
[2026-09-04 17:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 17:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861583360001,"66":12461,"105":206,"83":41984,"24":0,"16":17340286212505600,"45":1737896905585692672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861583360001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:10:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:10:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340286212505600,"km_value":17340286212505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-09-04 17:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861583360001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-09-04 17:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":173547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:10:25] local.INFO: GPS data processed {"connection_id":173547,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:10:25] local.INFO: Acknowledgment sent {"connection_id":173547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:10:27] local.INFO: TCP Data received {"connection_id":172243,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:10:27] local.INFO: Processing buffer {"connection_id":172243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:10:27] local.INFO: Packet analysis {"connection_id":172243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:10:27] local.INFO: Extracted packet for processing {"connection_id":172243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:10:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861516032001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788521848000,"timestamp_ms":1788521848000,"timestamp_seconds":1788521848,"priority":1,"record_length":96,"hex_timestamp":"000001a06c359cc0"} 
[2026-09-04 17:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861516032001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861516032001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:10:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861516032001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":172243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763815,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:10:27] local.INFO: GPS data processed {"connection_id":172243,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:10:27] local.INFO: Acknowledgment sent {"connection_id":172243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:10:49] local.INFO: TCP Data received {"connection_id":173548,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:10:49] local.INFO: Processing buffer {"connection_id":173548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:10:49] local.INFO: IMEI packet received {"connection_id":173548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":173548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:10:51] local.INFO: TCP Data received {"connection_id":173548,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:10:51] local.INFO: Processing buffer {"connection_id":173548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:10:51] local.INFO: IMEI packet received {"connection_id":173548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":173548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:10:52] local.INFO: TCP Data received {"connection_id":173548,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c35ac60012d181e400721af90004c00d025..."} 
[2026-09-04 17:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c35ac60012d181e400721af90004c00d025..."} 
[2026-09-04 17:10:52] local.INFO: Processing buffer {"connection_id":173548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c35ac60012d181e400721af90004c00d025..."} 
[2026-09-04 17:10:52] local.INFO: Packet analysis {"connection_id":173548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:10:52] local.INFO: Extracted packet for processing {"connection_id":173548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:10:52] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":76,"angle":208,"satellites":37,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-09-04 17:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861588736001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340286212505600,"note":"Value kept but may cause issues"} 
[2026-09-04 17:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-09-04 17:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788521852000,"timestamp_ms":1788521852000,"timestamp_seconds":1788521852,"priority":1,"record_length":96,"hex_timestamp":"000001a06c35ac60"} 
[2026-09-04 17:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861588736001,"66":12504,"105":206,"83":41984,"24":0,"16":17340286212505600,"45":1737896905585692672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861588736001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:10:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:10:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340286212505600,"km_value":17340286212505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-09-04 17:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861588736001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-09-04 17:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":173548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:10:52] local.INFO: GPS data processed {"connection_id":173548,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:10:52] local.INFO: Acknowledgment sent {"connection_id":173548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:10:53] local.INFO: TCP Data received {"connection_id":173548,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c35fe68012d181e400721af90004c00d029..."} 
[2026-09-04 17:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c35fe68012d181e400721af90004c00d029..."} 
[2026-09-04 17:10:53] local.INFO: Processing buffer {"connection_id":173548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c35fe68012d181e400721af90004c00d029..."} 
[2026-09-04 17:10:53] local.INFO: Packet analysis {"connection_id":173548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:10:53] local.INFO: Extracted packet for processing {"connection_id":173548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:10:53] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":76,"angle":208,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-09-04 17:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861594112001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340286212505600,"note":"Value kept but may cause issues"} 
[2026-09-04 17:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-09-04 17:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788521873000,"timestamp_ms":1788521873000,"timestamp_seconds":1788521873,"priority":1,"record_length":96,"hex_timestamp":"000001a06c35fe68"} 
[2026-09-04 17:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 17:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861594112001,"66":12504,"105":206,"83":41984,"24":0,"16":17340286212505600,"45":1737896905585692672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861594112001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:10:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:10:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340286212505600,"km_value":17340286212505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-09-04 17:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861594112001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-09-04 17:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":173548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:10:53] local.INFO: GPS data processed {"connection_id":173548,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:10:53] local.INFO: Acknowledgment sent {"connection_id":173548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:10:54] local.INFO: TCP Data received {"connection_id":172245,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:10:54] local.INFO: Processing buffer {"connection_id":172245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:10:54] local.INFO: IMEI packet received {"connection_id":172245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":172245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:10:59] local.INFO: TCP Data received {"connection_id":172245,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:10:59] local.INFO: Processing buffer {"connection_id":172245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:10:59] local.INFO: IMEI packet received {"connection_id":172245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":172245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:11:00] local.INFO: TCP Data received {"connection_id":172245,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:11:00] local.INFO: Processing buffer {"connection_id":172245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:11:00] local.INFO: Packet analysis {"connection_id":172245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:11:00] local.INFO: Extracted packet for processing {"connection_id":172245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:11:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861516032001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788521848000,"timestamp_ms":1788521848000,"timestamp_seconds":1788521848,"priority":1,"record_length":96,"hex_timestamp":"000001a06c359cc0"} 
[2026-09-04 17:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861516032001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861516032001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:11:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:11:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861516032001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":172245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763818,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:11:00] local.INFO: GPS data processed {"connection_id":172245,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:11:00] local.INFO: Acknowledgment sent {"connection_id":172245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:11:04] local.INFO: TCP Data received {"connection_id":172245,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:11:04] local.INFO: Processing buffer {"connection_id":172245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:11:04] local.INFO: Packet analysis {"connection_id":172245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:11:04] local.INFO: Extracted packet for processing {"connection_id":172245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861516032001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788521848000,"timestamp_ms":1788521848000,"timestamp_seconds":1788521848,"priority":1,"record_length":96,"hex_timestamp":"000001a06c359cc0"} 
[2026-09-04 17:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861516032001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861516032001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:11:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:11:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861516032001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":172245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:11:05] local.INFO: GPS data processed {"connection_id":172245,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:11:05] local.INFO: Acknowledgment sent {"connection_id":172245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:11:24] local.INFO: TCP Data received {"connection_id":173548,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c365070012d181e400721af90004c00d02a..."} 
[2026-09-04 17:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c365070012d181e400721af90004c00d02a..."} 
[2026-09-04 17:11:24] local.INFO: Processing buffer {"connection_id":173548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c365070012d181e400721af90004c00d02a..."} 
[2026-09-04 17:11:24] local.INFO: Packet analysis {"connection_id":173548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c36"} 
[2026-09-04 17:11:24] local.INFO: Extracted packet for processing {"connection_id":173548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c36"} 
[2026-09-04 17:11:24] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":76,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-09-04 17:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861599488001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340286212505600,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788521894000,"timestamp_ms":1788521894000,"timestamp_seconds":1788521894,"priority":1,"record_length":96,"hex_timestamp":"000001a06c365070"} 
[2026-09-04 17:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 17:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861599488001,"66":12504,"105":206,"83":41984,"24":0,"16":17340286212505600,"45":1737896905585692672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861599488001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:11:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:11:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340286212505600,"km_value":17340286212505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-09-04 17:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861599488001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-09-04 17:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":173548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:11:24] local.INFO: GPS data processed {"connection_id":173548,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:11:24] local.INFO: Acknowledgment sent {"connection_id":173548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:11:48] local.INFO: TCP Data received {"connection_id":172247,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:11:48] local.INFO: Processing buffer {"connection_id":172247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:11:48] local.INFO: IMEI packet received {"connection_id":172247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":172247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:11:49] local.INFO: TCP Data received {"connection_id":171150,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:11:49] local.INFO: Processing buffer {"connection_id":171150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:11:49] local.INFO: IMEI packet received {"connection_id":171150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":171150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:11:53] local.INFO: TCP Data received {"connection_id":172247,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:11:53] local.INFO: Processing buffer {"connection_id":172247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:11:53] local.INFO: IMEI packet received {"connection_id":172247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":172247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:11:54] local.INFO: TCP Data received {"connection_id":172247,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c36a278012d181e400721af90004c00d02a..."} 
[2026-09-04 17:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c36a278012d181e400721af90004c00d02a..."} 
[2026-09-04 17:11:54] local.INFO: Processing buffer {"connection_id":172247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c36a278012d181e400721af90004c00d02a..."} 
[2026-09-04 17:11:54] local.INFO: Packet analysis {"connection_id":172247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c36"} 
[2026-09-04 17:11:54] local.INFO: Extracted packet for processing {"connection_id":172247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c36"} 
[2026-09-04 17:11:54] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":76,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-09-04 17:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861604864001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340286212505600,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788521915000,"timestamp_ms":1788521915000,"timestamp_seconds":1788521915,"priority":1,"record_length":96,"hex_timestamp":"000001a06c36a278"} 
[2026-09-04 17:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 17:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861604864001,"66":12461,"105":206,"83":41984,"24":0,"16":17340286212505600,"45":1737896905585692672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861604864001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:11:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:11:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340286212505600,"km_value":17340286212505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-09-04 17:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861604864001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-09-04 17:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":172247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:11:54] local.INFO: GPS data processed {"connection_id":172247,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:11:54] local.INFO: Acknowledgment sent {"connection_id":172247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:11:54] local.INFO: TCP Data received {"connection_id":171150,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:11:54] local.INFO: Processing buffer {"connection_id":171150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:11:54] local.INFO: IMEI packet received {"connection_id":171150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":171150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:11:55] local.INFO: TCP Data received {"connection_id":171150,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:11:55] local.INFO: Processing buffer {"connection_id":171150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:11:55] local.INFO: Packet analysis {"connection_id":171150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:11:55] local.INFO: Extracted packet for processing {"connection_id":171150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:11:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861516032001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788521848000,"timestamp_ms":1788521848000,"timestamp_seconds":1788521848,"priority":1,"record_length":96,"hex_timestamp":"000001a06c359cc0"} 
[2026-09-04 17:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861516032001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861516032001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:11:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:11:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861516032001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":171150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763822,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:11:55] local.INFO: GPS data processed {"connection_id":171150,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:11:55] local.INFO: Acknowledgment sent {"connection_id":171150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:12:24] local.INFO: TCP Data received {"connection_id":172247,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c36f480012d181e400721af90004c00d02e..."} 
[2026-09-04 17:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c36f480012d181e400721af90004c00d02e..."} 
[2026-09-04 17:12:24] local.INFO: Processing buffer {"connection_id":172247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c36f480012d181e400721af90004c00d02e..."} 
[2026-09-04 17:12:24] local.INFO: Packet analysis {"connection_id":172247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c36"} 
[2026-09-04 17:12:24] local.INFO: Extracted packet for processing {"connection_id":172247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c36"} 
[2026-09-04 17:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":76,"angle":208,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-09-04 17:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861610240001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340286212505600,"note":"Value kept but may cause issues"} 
[2026-09-04 17:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-09-04 17:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788521936000,"timestamp_ms":1788521936000,"timestamp_seconds":1788521936,"priority":1,"record_length":96,"hex_timestamp":"000001a06c36f480"} 
[2026-09-04 17:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861610240001,"66":12406,"105":206,"83":41984,"24":0,"16":17340286212505600,"45":1737896905585692672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861610240001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:12:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340286212505600,"km_value":17340286212505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-09-04 17:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861610240001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-09-04 17:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":172247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:12:25] local.INFO: GPS data processed {"connection_id":172247,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:12:25] local.INFO: Acknowledgment sent {"connection_id":172247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:12:27] local.INFO: TCP Data received {"connection_id":171150,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:12:27] local.INFO: Processing buffer {"connection_id":171150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:12:27] local.INFO: Packet analysis {"connection_id":171150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:12:27] local.INFO: Extracted packet for processing {"connection_id":171150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:12:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861516032001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788521848000,"timestamp_ms":1788521848000,"timestamp_seconds":1788521848,"priority":1,"record_length":96,"hex_timestamp":"000001a06c359cc0"} 
[2026-09-04 17:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861516032001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861516032001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:12:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:12:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861516032001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":171150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763824,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:12:27] local.INFO: GPS data processed {"connection_id":171150,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:12:27] local.INFO: Acknowledgment sent {"connection_id":171150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:12:48] local.INFO: TCP Data received {"connection_id":170850,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:12:48] local.INFO: Processing buffer {"connection_id":170850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:12:48] local.INFO: IMEI packet received {"connection_id":170850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":170850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:12:49] local.INFO: TCP Data received {"connection_id":172248,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:12:49] local.INFO: Processing buffer {"connection_id":172248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:12:49] local.INFO: IMEI packet received {"connection_id":172248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":172248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:12:53] local.INFO: TCP Data received {"connection_id":170850,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:12:53] local.INFO: Processing buffer {"connection_id":170850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:12:53] local.INFO: IMEI packet received {"connection_id":170850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":170850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:12:54] local.INFO: TCP Data received {"connection_id":170850,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c374688012d181e400721af90004c00d02a..."} 
[2026-09-04 17:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c374688012d181e400721af90004c00d02a..."} 
[2026-09-04 17:12:54] local.INFO: Processing buffer {"connection_id":170850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c374688012d181e400721af90004c00d02a..."} 
[2026-09-04 17:12:54] local.INFO: Packet analysis {"connection_id":170850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c37"} 
[2026-09-04 17:12:54] local.INFO: Extracted packet for processing {"connection_id":170850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c37"} 
[2026-09-04 17:12:54] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":76,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-09-04 17:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861615616001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340286212505600,"note":"Value kept but may cause issues"} 
[2026-09-04 17:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-09-04 17:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788521957000,"timestamp_ms":1788521957000,"timestamp_seconds":1788521957,"priority":1,"record_length":96,"hex_timestamp":"000001a06c374688"} 
[2026-09-04 17:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 17:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861615616001,"66":12461,"105":206,"83":41984,"24":0,"16":17340286212505600,"45":1737896905585692672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861615616001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:12:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:12:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340286212505600,"km_value":17340286212505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-09-04 17:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861615616001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-09-04 17:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":170850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:12:54] local.INFO: GPS data processed {"connection_id":170850,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:12:54] local.INFO: Acknowledgment sent {"connection_id":170850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:12:54] local.INFO: TCP Data received {"connection_id":172248,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:12:54] local.INFO: Processing buffer {"connection_id":172248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:12:54] local.INFO: IMEI packet received {"connection_id":172248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":172248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:12:55] local.INFO: TCP Data received {"connection_id":172248,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:12:55] local.INFO: Processing buffer {"connection_id":172248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c359cc0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:12:55] local.INFO: Packet analysis {"connection_id":172248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:12:55] local.INFO: Extracted packet for processing {"connection_id":172248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c35"} 
[2026-09-04 17:12:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861516032001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788521848000,"timestamp_ms":1788521848000,"timestamp_seconds":1788521848,"priority":1,"record_length":96,"hex_timestamp":"000001a06c359cc0"} 
[2026-09-04 17:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861516032001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861516032001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:12:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:12:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861516032001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":172248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:12:55] local.INFO: GPS data processed {"connection_id":172248,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:12:55] local.INFO: Acknowledgment sent {"connection_id":172248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:13:24] local.INFO: TCP Data received {"connection_id":170850,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c379890012d181e400721af90004c00d029..."} 
[2026-09-04 17:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c379890012d181e400721af90004c00d029..."} 
[2026-09-04 17:13:24] local.INFO: Processing buffer {"connection_id":170850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c379890012d181e400721af90004c00d029..."} 
[2026-09-04 17:13:24] local.INFO: Packet analysis {"connection_id":170850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c37"} 
[2026-09-04 17:13:24] local.INFO: Extracted packet for processing {"connection_id":170850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c37"} 
[2026-09-04 17:13:24] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":76,"angle":208,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-09-04 17:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861620992001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340286212505600,"note":"Value kept but may cause issues"} 
[2026-09-04 17:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-09-04 17:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788521978000,"timestamp_ms":1788521978000,"timestamp_seconds":1788521978,"priority":1,"record_length":96,"hex_timestamp":"000001a06c379890"} 
[2026-09-04 17:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861620992001,"66":12428,"105":206,"83":41984,"24":0,"16":17340286212505600,"45":1737896905585692672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861620992001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:13:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:13:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340286212505600,"km_value":17340286212505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-09-04 17:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861620992001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-09-04 17:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":170850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:13:24] local.INFO: GPS data processed {"connection_id":170850,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:13:24] local.INFO: Acknowledgment sent {"connection_id":170850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:13:26] local.INFO: TCP Data received {"connection_id":172248,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:13:26] local.INFO: Processing buffer {"connection_id":172248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:13:26] local.INFO: Packet analysis {"connection_id":172248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:13:26] local.INFO: Extracted packet for processing {"connection_id":172248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861593088001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788522149000,"timestamp_ms":1788522149000,"timestamp_seconds":1788522149,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3a3488"} 
[2026-09-04 17:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861593088001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861593088001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:13:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:13:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861593088001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":172248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763828,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:13:26] local.INFO: GPS data processed {"connection_id":172248,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:13:26] local.INFO: Acknowledgment sent {"connection_id":172248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:13:48] local.INFO: TCP Data received {"connection_id":173550,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:13:48] local.INFO: Processing buffer {"connection_id":173550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:13:48] local.INFO: IMEI packet received {"connection_id":173550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":173550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:13:48] local.INFO: TCP Data received {"connection_id":173551,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:13:48] local.INFO: Processing buffer {"connection_id":173551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:13:48] local.INFO: IMEI packet received {"connection_id":173551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":173551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:13:53] local.INFO: TCP Data received {"connection_id":173550,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:13:53] local.INFO: Processing buffer {"connection_id":173550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:13:53] local.INFO: IMEI packet received {"connection_id":173550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":173550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:13:54] local.INFO: TCP Data received {"connection_id":173550,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c37ea98012d181e400721af90004c00d02b..."} 
[2026-09-04 17:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c37ea98012d181e400721af90004c00d02b..."} 
[2026-09-04 17:13:54] local.INFO: Processing buffer {"connection_id":173550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c37ea98012d181e400721af90004c00d02b..."} 
[2026-09-04 17:13:54] local.INFO: Packet analysis {"connection_id":173550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c37"} 
[2026-09-04 17:13:54] local.INFO: Extracted packet for processing {"connection_id":173550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c37"} 
[2026-09-04 17:13:54] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648144,"longitude_deg":75.6555328,"latitude_deg":11.9648144,"altitude":76,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-09-04 17:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861626368001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340286212505600,"note":"Value kept but may cause issues"} 
[2026-09-04 17:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-09-04 17:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788521999000,"timestamp_ms":1788521999000,"timestamp_seconds":1788521999,"priority":1,"record_length":96,"hex_timestamp":"000001a06c37ea98"} 
[2026-09-04 17:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 17:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861626368001,"66":12504,"105":206,"83":41984,"24":0,"16":17340286212505600,"45":1737896905585692672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861626368001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:13:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:13:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340286212505600,"km_value":17340286212505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-09-04 17:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861626368001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-09-04 17:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":173550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:13:54] local.INFO: GPS data processed {"connection_id":173550,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:13:54] local.INFO: Acknowledgment sent {"connection_id":173550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:13:54] local.INFO: TCP Data received {"connection_id":173551,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:13:54] local.INFO: Processing buffer {"connection_id":173551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:13:54] local.INFO: IMEI packet received {"connection_id":173551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":173551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:13:55] local.INFO: TCP Data received {"connection_id":173551,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:13:55] local.INFO: Processing buffer {"connection_id":173551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:13:55] local.INFO: Packet analysis {"connection_id":173551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:13:55] local.INFO: Extracted packet for processing {"connection_id":173551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861593088001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788522149000,"timestamp_ms":1788522149000,"timestamp_seconds":1788522149,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3a3488"} 
[2026-09-04 17:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861593088001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861593088001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:13:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:13:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861593088001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":173551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763830,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:13:55] local.INFO: GPS data processed {"connection_id":173551,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:13:55] local.INFO: Acknowledgment sent {"connection_id":173551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:14:04] local.INFO: TCP Data received {"connection_id":171151,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:14:04] local.INFO: Processing buffer {"connection_id":171151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:14:04] local.INFO: IMEI packet received {"connection_id":171151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":171151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:14:05] local.INFO: TCP Data received {"connection_id":171151,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3ad898012cbccb400770cac80053009a31..."} 
[2026-09-04 17:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3ad898012cbccb400770cac80053009a31..."} 
[2026-09-04 17:14:05] local.INFO: Processing buffer {"connection_id":171151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3ad898012cbccb400770cac80053009a31..."} 
[2026-09-04 17:14:05] local.INFO: Packet analysis {"connection_id":171151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:14:05] local.INFO: Extracted packet for processing {"connection_id":171151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:14:05] local.INFO: GPS Element Parsed {"raw_longitude":750570304,"raw_latitude":124832456,"longitude_deg":75.0570304,"latitude_deg":12.4832456,"altitude":83,"angle":154,"satellites":49,"speed":18,"hex_longitude":"2cbccb40","hex_latitude":"0770cac8","is_valid_coordinates":true} 
[2026-09-04 17:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861680128001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398173571764977664,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4843269523558619136,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788522191000,"timestamp_ms":1788522191000,"timestamp_seconds":1788522191,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3ad898"} 
[2026-09-04 17:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861680128001,"66":27930,"61":206,"85":37888,"24":18,"16":398173571764977664,"44":-4843269523558619136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-09-04 17:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861680128001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:14:05] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-04 17:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398173571764977664,"km_value":398173571764977.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:14:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4843269523558619136,"description":"Unknown IO ID 44"} 
[2026-09-04 17:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861680128001,"power":27930,"unknown_61":206,"unknown_85":37888,"ignition":18,"odometer":null,"unknown_44":-4843269523558619136}} 
[2026-09-04 17:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":171151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:14:05] local.INFO: GPS data processed {"connection_id":171151,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:14:05] local.INFO: Acknowledgment sent {"connection_id":171151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:14:24] local.INFO: TCP Data received {"connection_id":173550,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c382148012d181dc00721ae00004f00dd2a..."} 
[2026-09-04 17:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c382148012d181dc00721ae00004f00dd2a..."} 
[2026-09-04 17:14:24] local.INFO: Processing buffer {"connection_id":173550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c382148012d181dc00721ae00004f00dd2a..."} 
[2026-09-04 17:14:24] local.INFO: Packet analysis {"connection_id":173550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c38"} 
[2026-09-04 17:14:24] local.INFO: Extracted packet for processing {"connection_id":173550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c38"} 
[2026-09-04 17:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647744,"longitude_deg":75.65552,"latitude_deg":11.9647744,"altitude":79,"angle":221,"satellites":42,"speed":2,"hex_longitude":"2d181dc0","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-09-04 17:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861631744001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340307687342080,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585692672,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788522013000,"timestamp_ms":1788522013000,"timestamp_seconds":1788522013,"priority":1,"record_length":96,"hex_timestamp":"000001a06c382148"} 
[2026-09-04 17:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 17:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861631744001,"66":12461,"105":206,"83":41984,"24":2,"16":17340307687342080,"45":1737896905585692672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861631744001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:14:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:14:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340307687342080,"km_value":17340307687342.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585692672,"description":"Unknown IO ID 45"} 
[2026-09-04 17:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861631744001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737896905585692672}} 
[2026-09-04 17:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":173550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:14:24] local.INFO: GPS data processed {"connection_id":173550,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:14:24] local.INFO: Acknowledgment sent {"connection_id":173550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:14:27] local.INFO: TCP Data received {"connection_id":173551,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:14:27] local.INFO: Processing buffer {"connection_id":173551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:14:27] local.INFO: Packet analysis {"connection_id":173551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:14:27] local.INFO: Extracted packet for processing {"connection_id":173551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:14:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861593088001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788522149000,"timestamp_ms":1788522149000,"timestamp_seconds":1788522149,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3a3488"} 
[2026-09-04 17:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861593088001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861593088001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:14:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861593088001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":173551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:14:27] local.INFO: GPS data processed {"connection_id":173551,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:14:27] local.INFO: Acknowledgment sent {"connection_id":173551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:14:36] local.INFO: TCP Data received {"connection_id":171151,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3ae068012cbccd000770c7c00053008f31..."} 
[2026-09-04 17:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3ae068012cbccd000770c7c00053008f31..."} 
[2026-09-04 17:14:36] local.INFO: Processing buffer {"connection_id":171151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3ae068012cbccd000770c7c00053008f31..."} 
[2026-09-04 17:14:36] local.INFO: Packet analysis {"connection_id":171151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:14:36] local.INFO: Extracted packet for processing {"connection_id":171151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:14:36] local.INFO: GPS Element Parsed {"raw_longitude":750570752,"raw_latitude":124831680,"longitude_deg":75.0570752,"latitude_deg":12.483168,"altitude":83,"angle":143,"satellites":49,"speed":18,"hex_longitude":"2cbccd00","hex_latitude":"0770c7c0","is_valid_coordinates":true} 
[2026-09-04 17:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861680896001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398173614714650624,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4842706573605550080,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788522193000,"timestamp_ms":1788522193000,"timestamp_seconds":1788522193,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3ae068"} 
[2026-09-04 17:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 17:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861680896001,"66":27865,"61":206,"85":37888,"24":18,"16":398173614714650624,"44":-4842706573605550080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-09-04 17:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861680896001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:14:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-04 17:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398173614714650624,"km_value":398173614714650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:14:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4842706573605550080,"description":"Unknown IO ID 44"} 
[2026-09-04 17:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861680896001,"power":27865,"unknown_61":206,"unknown_85":37888,"ignition":18,"odometer":null,"unknown_44":-4842706573605550080}} 
[2026-09-04 17:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":171151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:14:36] local.INFO: GPS data processed {"connection_id":171151,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:14:36] local.INFO: Acknowledgment sent {"connection_id":171151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:14:47] local.INFO: TCP Data received {"connection_id":173552,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:14:47] local.INFO: Processing buffer {"connection_id":173552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:14:47] local.INFO: IMEI packet received {"connection_id":173552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":173552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:14:53] local.INFO: TCP Data received {"connection_id":173552,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:14:53] local.INFO: Processing buffer {"connection_id":173552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:14:53] local.INFO: IMEI packet received {"connection_id":173552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":173552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:14:54] local.INFO: TCP Data received {"connection_id":173552,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c387350012d181d400721adb8004f00df29..."} 
[2026-09-04 17:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c387350012d181d400721adb8004f00df29..."} 
[2026-09-04 17:14:54] local.INFO: Processing buffer {"connection_id":173552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c387350012d181d400721adb8004f00df29..."} 
[2026-09-04 17:14:54] local.INFO: Packet analysis {"connection_id":173552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c38"} 
[2026-09-04 17:14:54] local.INFO: Extracted packet for processing {"connection_id":173552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c38"} 
[2026-09-04 17:14:54] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647672,"longitude_deg":75.6555072,"latitude_deg":11.9647672,"altitude":79,"angle":223,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-09-04 17:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861635328001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340311982309376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097234944,"note":"Value kept but may cause issues"} 
[2026-09-04 17:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788522034000,"timestamp_ms":1788522034000,"timestamp_seconds":1788522034,"priority":1,"record_length":96,"hex_timestamp":"000001a06c387350"} 
[2026-09-04 17:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861635328001,"66":12461,"107":206,"83":41984,"24":0,"16":17340311982309376,"45":1737756168097234944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 17:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861635328001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:14:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 17:14:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340311982309376,"km_value":17340311982309.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097234944,"description":"Unknown IO ID 45"} 
[2026-09-04 17:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861635328001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097234944}} 
[2026-09-04 17:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":173552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:14:54] local.INFO: GPS data processed {"connection_id":173552,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:14:54] local.INFO: Acknowledgment sent {"connection_id":173552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:14:54] local.INFO: TCP Data received {"connection_id":172249,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:14:54] local.INFO: Processing buffer {"connection_id":172249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:14:54] local.INFO: IMEI packet received {"connection_id":172249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":172249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:14:59] local.INFO: TCP Data received {"connection_id":170852,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:14:59] local.INFO: Processing buffer {"connection_id":170852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:14:59] local.INFO: IMEI packet received {"connection_id":170852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":170852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:14:59] local.INFO: TCP Data received {"connection_id":172249,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:14:59] local.INFO: Processing buffer {"connection_id":172249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:14:59] local.INFO: IMEI packet received {"connection_id":172249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":172249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:15:00] local.INFO: TCP Data received {"connection_id":172249,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:15:00] local.INFO: Processing buffer {"connection_id":172249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:15:00] local.INFO: Packet analysis {"connection_id":172249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:15:00] local.INFO: Extracted packet for processing {"connection_id":172249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:15:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861593088001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788522149000,"timestamp_ms":1788522149000,"timestamp_seconds":1788522149,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3a3488"} 
[2026-09-04 17:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861593088001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861593088001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:15:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:15:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861593088001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":172249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763836,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:15:00] local.INFO: GPS data processed {"connection_id":172249,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:15:00] local.INFO: Acknowledgment sent {"connection_id":172249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:15:01] local.INFO: TCP Data received {"connection_id":170852,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:15:01] local.INFO: Processing buffer {"connection_id":170852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:15:01] local.INFO: IMEI packet received {"connection_id":170852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":170852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:15:04] local.INFO: TCP Data received {"connection_id":170852,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:15:04] local.INFO: Processing buffer {"connection_id":170852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:15:04] local.INFO: IMEI packet received {"connection_id":170852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":170852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:15:04] local.INFO: TCP Data received {"connection_id":172249,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:15:04] local.INFO: Processing buffer {"connection_id":172249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:15:04] local.INFO: Packet analysis {"connection_id":172249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:15:04] local.INFO: Extracted packet for processing {"connection_id":172249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861593088001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788522149000,"timestamp_ms":1788522149000,"timestamp_seconds":1788522149,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3a3488"} 
[2026-09-04 17:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861593088001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861593088001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:15:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:15:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861593088001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":172249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:15:05] local.INFO: GPS data processed {"connection_id":172249,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:15:05] local.INFO: Acknowledgment sent {"connection_id":172249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:15:05] local.INFO: TCP Data received {"connection_id":170852,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3afbc0012cbcd4400770bcf80054009e2f..."} 
[2026-09-04 17:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3afbc0012cbcd4400770bcf80054009e2f..."} 
[2026-09-04 17:15:05] local.INFO: Processing buffer {"connection_id":170852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3afbc0012cbcd4400770bcf80054009e2f..."} 
[2026-09-04 17:15:05] local.INFO: Packet analysis {"connection_id":170852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:15:05] local.INFO: Extracted packet for processing {"connection_id":170852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:15:05] local.INFO: GPS Element Parsed {"raw_longitude":750572608,"raw_latitude":124828920,"longitude_deg":75.0572608,"latitude_deg":12.482892,"altitude":84,"angle":158,"satellites":47,"speed":20,"hex_longitude":"2cbcd440","hex_latitude":"0770bcf8","is_valid_coordinates":true} 
[2026-09-04 17:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861681408001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398173773628440576,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4842213992396505088,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788522200000,"timestamp_ms":1788522200000,"timestamp_seconds":1788522200,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3afbc0"} 
[2026-09-04 17:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861681408001,"66":27800,"61":206,"85":37888,"24":20,"16":398173773628440576,"44":-4842213992396505088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-09-04 17:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861681408001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:15:05] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-04 17:15:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398173773628440576,"km_value":398173773628440.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4842213992396505088,"description":"Unknown IO ID 44"} 
[2026-09-04 17:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861681408001,"power":27800,"unknown_61":206,"unknown_85":37888,"ignition":20,"odometer":null,"unknown_44":-4842213992396505088}} 
[2026-09-04 17:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":170852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:15:05] local.INFO: GPS data processed {"connection_id":170852,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:15:05] local.INFO: Acknowledgment sent {"connection_id":170852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:15:24] local.INFO: TCP Data received {"connection_id":173552,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c38c558012d181d400721adb8004f00df2d..."} 
[2026-09-04 17:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c38c558012d181d400721adb8004f00df2d..."} 
[2026-09-04 17:15:24] local.INFO: Processing buffer {"connection_id":173552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c38c558012d181d400721adb8004f00df2d..."} 
[2026-09-04 17:15:24] local.INFO: Packet analysis {"connection_id":173552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c38"} 
[2026-09-04 17:15:24] local.INFO: Extracted packet for processing {"connection_id":173552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c38"} 
[2026-09-04 17:15:24] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647672,"longitude_deg":75.6555072,"latitude_deg":11.9647672,"altitude":79,"angle":223,"satellites":45,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-09-04 17:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861640704001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340311982309376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608861184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788522055000,"timestamp_ms":1788522055000,"timestamp_seconds":1788522055,"priority":1,"record_length":96,"hex_timestamp":"000001a06c38c558"} 
[2026-09-04 17:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861640704001,"66":12461,"107":206,"83":41984,"24":0,"16":17340311982309376,"45":1737615430608861184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 17:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861640704001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:15:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 17:15:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340311982309376,"km_value":17340311982309.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608861184,"description":"Unknown IO ID 45"} 
[2026-09-04 17:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861640704001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608861184}} 
[2026-09-04 17:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":173552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:15:25] local.INFO: GPS data processed {"connection_id":173552,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:15:25] local.INFO: Acknowledgment sent {"connection_id":173552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:15:36] local.INFO: TCP Data received {"connection_id":170852,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3c5f38012cbd2a40076f60d8005900ad32..."} 
[2026-09-04 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3c5f38012cbd2a40076f60d8005900ad32..."} 
[2026-09-04 17:15:36] local.INFO: Processing buffer {"connection_id":170852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3c5f38012cbd2a40076f60d8005900ad32..."} 
[2026-09-04 17:15:36] local.INFO: Packet analysis {"connection_id":170852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3c"} 
[2026-09-04 17:15:36] local.INFO: Extracted packet for processing {"connection_id":170852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3c"} 
[2026-09-04 17:15:36] local.INFO: GPS Element Parsed {"raw_longitude":750594624,"raw_latitude":124739800,"longitude_deg":75.0594624,"latitude_deg":12.47398,"altitude":89,"angle":173,"satellites":50,"speed":49,"hex_longitude":"2cbd2a40","hex_latitude":"076f60d8","is_valid_coordinates":true} 
[2026-09-04 17:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861705728001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398178261869264896,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4816951613259333632,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788522291000,"timestamp_ms":1788522291000,"timestamp_seconds":1788522291,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3c5f38"} 
[2026-09-04 17:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 17:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861705728001,"66":27843,"107":206,"85":37888,"24":49,"16":398178261869264896,"44":-4816951613259333632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,85,24,16,44]} 
[2026-09-04 17:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861705728001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:15:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 17:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398178261869264896,"km_value":398178261869264.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:15:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4816951613259333632,"description":"Unknown IO ID 44"} 
[2026-09-04 17:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861705728001,"power":27843,"unknown_107":206,"unknown_85":37888,"ignition":49,"odometer":null,"unknown_44":-4816951613259333632}} 
[2026-09-04 17:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":170852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:15:36] local.INFO: GPS data processed {"connection_id":170852,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:15:36] local.INFO: Acknowledgment sent {"connection_id":170852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:15:47] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:15:47] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:15:47] local.INFO: IMEI packet received {"connection_id":173553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":173553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:15:49] local.INFO: TCP Data received {"connection_id":171152,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:15:49] local.INFO: Processing buffer {"connection_id":171152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:15:49] local.INFO: IMEI packet received {"connection_id":171152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":171152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:15:53] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:15:53] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:15:53] local.INFO: IMEI packet received {"connection_id":173553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":173553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:15:54] local.INFO: TCP Data received {"connection_id":171152,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:15:54] local.INFO: Processing buffer {"connection_id":171152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:15:54] local.INFO: IMEI packet received {"connection_id":171152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":171152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:15:54] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c391760012d181d400721adb8004f00df2e..."} 
[2026-09-04 17:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c391760012d181d400721adb8004f00df2e..."} 
[2026-09-04 17:15:54] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c391760012d181d400721adb8004f00df2e..."} 
[2026-09-04 17:15:54] local.INFO: Packet analysis {"connection_id":173553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c39"} 
[2026-09-04 17:15:54] local.INFO: Extracted packet for processing {"connection_id":173553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c39"} 
[2026-09-04 17:15:54] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647672,"longitude_deg":75.6555072,"latitude_deg":11.9647672,"altitude":79,"angle":223,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-09-04 17:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861646080001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340311982309376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608861184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788522076000,"timestamp_ms":1788522076000,"timestamp_seconds":1788522076,"priority":1,"record_length":96,"hex_timestamp":"000001a06c391760"} 
[2026-09-04 17:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861646080001,"66":12504,"107":206,"83":41984,"24":0,"16":17340311982309376,"45":1737615430608861184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 17:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861646080001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:15:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 17:15:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340311982309376,"km_value":17340311982309.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608861184,"description":"Unknown IO ID 45"} 
[2026-09-04 17:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861646080001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608861184}} 
[2026-09-04 17:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":173553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:15:54] local.INFO: GPS data processed {"connection_id":173553,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:15:54] local.INFO: Acknowledgment sent {"connection_id":173553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:15:55] local.INFO: TCP Data received {"connection_id":171152,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:15:55] local.INFO: Processing buffer {"connection_id":171152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:15:55] local.INFO: Packet analysis {"connection_id":171152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:15:55] local.INFO: Extracted packet for processing {"connection_id":171152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:15:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861593088001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788522149000,"timestamp_ms":1788522149000,"timestamp_seconds":1788522149,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3a3488"} 
[2026-09-04 17:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171152,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171152,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861593088001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861593088001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:15:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:15:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861593088001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":171152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:15:55] local.INFO: GPS data processed {"connection_id":171152,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:15:55] local.INFO: Acknowledgment sent {"connection_id":171152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:16:08] local.INFO: TCP Data received {"connection_id":172250,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:16:08] local.INFO: Processing buffer {"connection_id":172250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:16:08] local.INFO: IMEI packet received {"connection_id":172250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":172250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:16:11] local.INFO: TCP Data received {"connection_id":172250,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:16:11] local.INFO: Processing buffer {"connection_id":172250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:16:11] local.INFO: IMEI packet received {"connection_id":172250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":172250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:16:11] local.INFO: TCP Data received {"connection_id":172250,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3c6af0012cbd2a00076f5258005800bc31..."} 
[2026-09-04 17:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3c6af0012cbd2a00076f5258005800bc31..."} 
[2026-09-04 17:16:11] local.INFO: Processing buffer {"connection_id":172250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3c6af0012cbd2a00076f5258005800bc31..."} 
[2026-09-04 17:16:11] local.INFO: Packet analysis {"connection_id":172250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3c"} 
[2026-09-04 17:16:11] local.INFO: Extracted packet for processing {"connection_id":172250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3c"} 
[2026-09-04 17:16:11] local.INFO: GPS Element Parsed {"raw_longitude":750594560,"raw_latitude":124736088,"longitude_deg":75.059456,"latitude_deg":12.4736088,"altitude":88,"angle":188,"satellites":49,"speed":50,"hex_longitude":"2cbd2a00","hex_latitude":"076f5258","is_valid_coordinates":true} 
[2026-09-04 17:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861706496001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398178442257891328,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4815966450841757696,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788522294000,"timestamp_ms":1788522294000,"timestamp_seconds":1788522294,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3c6af0"} 
[2026-09-04 17:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 17:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861706496001,"66":27919,"107":206,"85":37888,"24":50,"16":398178442257891328,"44":-4815966450841757696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,85,24,16,44]} 
[2026-09-04 17:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861706496001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:16:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 17:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398178442257891328,"km_value":398178442257891.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4815966450841757696,"description":"Unknown IO ID 44"} 
[2026-09-04 17:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861706496001,"power":27919,"unknown_107":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-4815966450841757696}} 
[2026-09-04 17:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":172250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:16:11] local.INFO: GPS data processed {"connection_id":172250,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:16:11] local.INFO: Acknowledgment sent {"connection_id":172250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:16:25] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c396968012d181d400721adb8004f00df2e..."} 
[2026-09-04 17:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c396968012d181d400721adb8004f00df2e..."} 
[2026-09-04 17:16:25] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c396968012d181d400721adb8004f00df2e..."} 
[2026-09-04 17:16:25] local.INFO: Packet analysis {"connection_id":173553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c39"} 
[2026-09-04 17:16:25] local.INFO: Extracted packet for processing {"connection_id":173553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c39"} 
[2026-09-04 17:16:25] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647672,"longitude_deg":75.6555072,"latitude_deg":11.9647672,"altitude":79,"angle":223,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-09-04 17:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861651456001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340311982309376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608861184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788522097000,"timestamp_ms":1788522097000,"timestamp_seconds":1788522097,"priority":1,"record_length":96,"hex_timestamp":"000001a06c396968"} 
[2026-09-04 17:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 17:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861651456001,"66":12461,"107":206,"83":41984,"24":0,"16":17340311982309376,"45":1737615430608861184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 17:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861651456001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:16:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 17:16:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340311982309376,"km_value":17340311982309.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608861184,"description":"Unknown IO ID 45"} 
[2026-09-04 17:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861651456001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608861184}} 
[2026-09-04 17:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":173553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:16:25] local.INFO: GPS data processed {"connection_id":173553,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:16:25] local.INFO: Acknowledgment sent {"connection_id":173553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:16:27] local.INFO: TCP Data received {"connection_id":171152,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:16:27] local.INFO: Processing buffer {"connection_id":171152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:16:27] local.INFO: Packet analysis {"connection_id":171152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:16:27] local.INFO: Extracted packet for processing {"connection_id":171152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:16:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861593088001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788522149000,"timestamp_ms":1788522149000,"timestamp_seconds":1788522149,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3a3488"} 
[2026-09-04 17:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171152,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171152,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861593088001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861593088001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:16:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:16:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861593088001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":171152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763845,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:16:27] local.INFO: GPS data processed {"connection_id":171152,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:16:27] local.INFO: Acknowledgment sent {"connection_id":171152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:16:41] local.INFO: TCP Data received {"connection_id":170853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:16:41] local.INFO: Processing buffer {"connection_id":170853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:16:41] local.INFO: IMEI packet received {"connection_id":170853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":170853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:16:42] local.INFO: TCP Data received {"connection_id":170853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:16:42] local.INFO: Processing buffer {"connection_id":170853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:16:42] local.INFO: IMEI packet received {"connection_id":170853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":170853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:16:42] local.INFO: TCP Data received {"connection_id":172250,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3d39f8012cbcff80076e51c0004900ab33..."} 
[2026-09-04 17:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3d39f8012cbcff80076e51c0004900ab33..."} 
[2026-09-04 17:16:42] local.INFO: Processing buffer {"connection_id":172250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3d39f8012cbcff80076e51c0004900ab33..."} 
[2026-09-04 17:16:42] local.INFO: Packet analysis {"connection_id":172250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3d"} 
[2026-09-04 17:16:42] local.INFO: Extracted packet for processing {"connection_id":172250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3d"} 
[2026-09-04 17:16:42] local.INFO: GPS Element Parsed {"raw_longitude":750583680,"raw_latitude":124670400,"longitude_deg":75.058368,"latitude_deg":12.46704,"altitude":73,"angle":171,"satellites":51,"speed":51,"hex_longitude":"2cbcff80","hex_latitude":"076e51c0","is_valid_coordinates":true} 
[2026-09-04 17:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861719040001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398181843871989760,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4830321674669438976,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788522347000,"timestamp_ms":1788522347000,"timestamp_seconds":1788522347,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3d39f8"} 
[2026-09-04 17:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 17:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":172250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":172250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":172250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861719040001,"66":27919,"105":206,"85":37888,"24":51,"16":398181843871989760,"44":-4830321674669438976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-04 17:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861719040001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:16:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398181843871989760,"km_value":398181843871989.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4830321674669438976,"description":"Unknown IO ID 44"} 
[2026-09-04 17:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861719040001,"power":27919,"unknown_105":206,"unknown_85":37888,"ignition":51,"odometer":null,"unknown_44":-4830321674669438976}} 
[2026-09-04 17:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":172250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:16:42] local.INFO: GPS data processed {"connection_id":172250,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:16:42] local.INFO: Acknowledgment sent {"connection_id":172250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:16:46] local.INFO: TCP Data received {"connection_id":170853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:16:46] local.INFO: Processing buffer {"connection_id":170853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:16:46] local.INFO: IMEI packet received {"connection_id":170853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":170853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:16:47] local.INFO: TCP Data received {"connection_id":170853,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-04 17:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170853,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-04 17:16:47] local.INFO: Processing buffer {"connection_id":170853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-04 17:16:47] local.INFO: Packet analysis {"connection_id":170853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 17:16:47] local.INFO: Extracted packet for processing {"connection_id":170853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-04 17:16:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-04 17:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128134344911880192,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 17:16:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 17:16:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 17:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":170853,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":170853,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 17:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":170853,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-04 17:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 17:16:47] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 17:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":170853,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 17:16:47] local.ERROR: GPS data processing failed {"connection_id":170853,"error":"No valid data to process"} 
[2026-09-04 17:16:47] local.INFO: Acknowledgment sent {"connection_id":170853,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 17:16:48] local.INFO: TCP Data received {"connection_id":171153,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:16:48] local.INFO: Processing buffer {"connection_id":171153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:16:48] local.INFO: IMEI packet received {"connection_id":171153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":171153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:16:53] local.INFO: TCP Data received {"connection_id":170854,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:16:53] local.INFO: Processing buffer {"connection_id":170854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:16:53] local.INFO: IMEI packet received {"connection_id":170854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":170854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:16:54] local.INFO: TCP Data received {"connection_id":171153,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:16:54] local.INFO: Processing buffer {"connection_id":171153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:16:54] local.INFO: IMEI packet received {"connection_id":171153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":171153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:16:55] local.INFO: TCP Data received {"connection_id":171153,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:16:55] local.INFO: Processing buffer {"connection_id":171153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:16:55] local.INFO: Packet analysis {"connection_id":171153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:16:55] local.INFO: Extracted packet for processing {"connection_id":171153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:16:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861593088001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788522149000,"timestamp_ms":1788522149000,"timestamp_seconds":1788522149,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3a3488"} 
[2026-09-04 17:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861593088001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861593088001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:16:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861593088001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":171153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763847,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:16:55] local.INFO: GPS data processed {"connection_id":171153,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:16:55] local.INFO: Acknowledgment sent {"connection_id":171153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:16:58] local.INFO: TCP Data received {"connection_id":170854,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:16:58] local.INFO: Processing buffer {"connection_id":170854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:16:58] local.INFO: IMEI packet received {"connection_id":170854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":170854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:16:59] local.INFO: TCP Data received {"connection_id":170854,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3cefc0012d181d400721adb8004f00df27..."} 
[2026-09-04 17:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3cefc0012d181d400721adb8004f00df27..."} 
[2026-09-04 17:16:59] local.INFO: Processing buffer {"connection_id":170854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3cefc0012d181d400721adb8004f00df27..."} 
[2026-09-04 17:16:59] local.INFO: Packet analysis {"connection_id":170854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3c"} 
[2026-09-04 17:16:59] local.INFO: Extracted packet for processing {"connection_id":170854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3c"} 
[2026-09-04 17:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647672,"longitude_deg":75.6555072,"latitude_deg":11.9647672,"altitude":79,"angle":223,"satellites":39,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-09-04 17:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861710592001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340311982309376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608861184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788522328000,"timestamp_ms":1788522328000,"timestamp_seconds":1788522328,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3cefc0"} 
[2026-09-04 17:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 17:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861710592001,"66":12385,"107":206,"83":41984,"24":0,"16":17340311982309376,"45":1737615430608861184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-04 17:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861710592001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:16:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-04 17:16:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340311982309376,"km_value":17340311982309.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608861184,"description":"Unknown IO ID 45"} 
[2026-09-04 17:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861710592001,"power":12385,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608861184}} 
[2026-09-04 17:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":170854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:16:59] local.INFO: GPS data processed {"connection_id":170854,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:16:59] local.INFO: Acknowledgment sent {"connection_id":170854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:16:59] local.INFO: TCP Data received {"connection_id":170855,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:16:59] local.INFO: Processing buffer {"connection_id":170855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:16:59] local.INFO: IMEI packet received {"connection_id":170855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":170855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:16:59] local.INFO: TCP Data received {"connection_id":170855,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:16:59] local.INFO: Processing buffer {"connection_id":170855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:16:59] local.INFO: IMEI packet received {"connection_id":170855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":170855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:17:03] local.INFO: TCP Data received {"connection_id":170854,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3d41c8012d181d400721adb8004f00df2a..."} 
[2026-09-04 17:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3d41c8012d181d400721adb8004f00df2a..."} 
[2026-09-04 17:17:03] local.INFO: Processing buffer {"connection_id":170854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3d41c8012d181d400721adb8004f00df2a..."} 
[2026-09-04 17:17:03] local.INFO: Packet analysis {"connection_id":170854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3d"} 
[2026-09-04 17:17:03] local.INFO: Extracted packet for processing {"connection_id":170854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3d"} 
[2026-09-04 17:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647672,"longitude_deg":75.6555072,"latitude_deg":11.9647672,"altitude":79,"angle":223,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-09-04 17:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861715968001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340311982309376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608861184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788522349000,"timestamp_ms":1788522349000,"timestamp_seconds":1788522349,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3d41c8"} 
[2026-09-04 17:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 17:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":170854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":170854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":170854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861715968001,"66":12385,"105":206,"83":41984,"24":0,"16":17340311982309376,"45":1737615430608861184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861715968001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:17:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340311982309376,"km_value":17340311982309.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608861184,"description":"Unknown IO ID 45"} 
[2026-09-04 17:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861715968001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608861184}} 
[2026-09-04 17:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":170854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:17:03] local.INFO: GPS data processed {"connection_id":170854,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:17:03] local.INFO: Acknowledgment sent {"connection_id":170854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:17:04] local.INFO: TCP Data received {"connection_id":170855,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:17:04] local.INFO: Processing buffer {"connection_id":170855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:17:04] local.INFO: IMEI packet received {"connection_id":170855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":170855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:17:05] local.INFO: TCP Data received {"connection_id":170855,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3d5168012cbd0180076e33b8004700b633..."} 
[2026-09-04 17:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3d5168012cbd0180076e33b8004700b633..."} 
[2026-09-04 17:17:05] local.INFO: Processing buffer {"connection_id":170855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3d5168012cbd0180076e33b8004700b633..."} 
[2026-09-04 17:17:05] local.INFO: Packet analysis {"connection_id":170855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3d"} 
[2026-09-04 17:17:05] local.INFO: Extracted packet for processing {"connection_id":170855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3d"} 
[2026-09-04 17:17:05] local.INFO: GPS Element Parsed {"raw_longitude":750584192,"raw_latitude":124662712,"longitude_deg":75.0584192,"latitude_deg":12.4662712,"altitude":71,"angle":182,"satellites":51,"speed":51,"hex_longitude":"2cbd0180","hex_latitude":"076e33b8","is_valid_coordinates":true} 
[2026-09-04 17:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861720832001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398182217534144512,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4827999506113904640,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788522353000,"timestamp_ms":1788522353000,"timestamp_seconds":1788522353,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3d5168"} 
[2026-09-04 17:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 17:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861720832001,"66":27800,"105":206,"85":37888,"24":51,"16":398182217534144512,"44":-4827999506113904640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-04 17:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861720832001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:17:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:17:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398182217534144512,"km_value":398182217534144.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:17:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4827999506113904640,"description":"Unknown IO ID 44"} 
[2026-09-04 17:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861720832001,"power":27800,"unknown_105":206,"unknown_85":37888,"ignition":51,"odometer":null,"unknown_44":-4827999506113904640}} 
[2026-09-04 17:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":170855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:17:05] local.INFO: GPS data processed {"connection_id":170855,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:17:05] local.INFO: Acknowledgment sent {"connection_id":170855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:17:27] local.INFO: TCP Data received {"connection_id":171153,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:17:27] local.INFO: Processing buffer {"connection_id":171153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:17:27] local.INFO: Packet analysis {"connection_id":171153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:17:27] local.INFO: Extracted packet for processing {"connection_id":171153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:17:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861593088001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788522149000,"timestamp_ms":1788522149000,"timestamp_seconds":1788522149,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3a3488"} 
[2026-09-04 17:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861593088001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861593088001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:17:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:17:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861593088001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":171153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763851,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:17:27] local.INFO: GPS data processed {"connection_id":171153,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:17:27] local.INFO: Acknowledgment sent {"connection_id":171153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:17:36] local.INFO: TCP Data received {"connection_id":170855,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3d6cc0012cbcfe80076e0f68004500b930..."} 
[2026-09-04 17:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3d6cc0012cbcfe80076e0f68004500b930..."} 
[2026-09-04 17:17:36] local.INFO: Processing buffer {"connection_id":170855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3d6cc0012cbcfe80076e0f68004500b930..."} 
[2026-09-04 17:17:36] local.INFO: Packet analysis {"connection_id":170855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3d"} 
[2026-09-04 17:17:36] local.INFO: Extracted packet for processing {"connection_id":170855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3d"} 
[2026-09-04 17:17:36] local.INFO: GPS Element Parsed {"raw_longitude":750583424,"raw_latitude":124653416,"longitude_deg":75.0583424,"latitude_deg":12.4653416,"altitude":69,"angle":185,"satellites":48,"speed":53,"hex_longitude":"2cbcfe80","hex_latitude":"076e0f68","is_valid_coordinates":true} 
[2026-09-04 17:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861722368001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398182668505710592,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4827436556162451456,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788522360000,"timestamp_ms":1788522360000,"timestamp_seconds":1788522360,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3d6cc0"} 
[2026-09-04 17:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 17:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861722368001,"66":27908,"105":206,"85":37888,"24":53,"16":398182668505710592,"44":-4827436556162451456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-04 17:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861722368001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:17:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398182668505710592,"km_value":398182668505710.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:17:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4827436556162451456,"description":"Unknown IO ID 44"} 
[2026-09-04 17:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861722368001,"power":27908,"unknown_105":206,"unknown_85":37888,"ignition":53,"odometer":null,"unknown_44":-4827436556162451456}} 
[2026-09-04 17:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":170855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:17:36] local.INFO: GPS data processed {"connection_id":170855,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:17:36] local.INFO: Acknowledgment sent {"connection_id":170855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:17:48] local.INFO: TCP Data received {"connection_id":173554,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:17:48] local.INFO: Processing buffer {"connection_id":173554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:17:48] local.INFO: IMEI packet received {"connection_id":173554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":173554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:17:48] local.INFO: TCP Data received {"connection_id":173555,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:17:48] local.INFO: Processing buffer {"connection_id":173555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:17:48] local.INFO: IMEI packet received {"connection_id":173555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":173555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:17:51] local.INFO: TCP Data received {"connection_id":173554,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:17:51] local.INFO: Processing buffer {"connection_id":173554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:17:51] local.INFO: IMEI packet received {"connection_id":173554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":173554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:17:52] local.INFO: TCP Data received {"connection_id":173554,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3d93d0012d181d400721adb8004f00df2c..."} 
[2026-09-04 17:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3d93d0012d181d400721adb8004f00df2c..."} 
[2026-09-04 17:17:52] local.INFO: Processing buffer {"connection_id":173554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3d93d0012d181d400721adb8004f00df2c..."} 
[2026-09-04 17:17:52] local.INFO: Packet analysis {"connection_id":173554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3d"} 
[2026-09-04 17:17:52] local.INFO: Extracted packet for processing {"connection_id":173554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3d"} 
[2026-09-04 17:17:52] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647672,"longitude_deg":75.6555072,"latitude_deg":11.9647672,"altitude":79,"angle":223,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-09-04 17:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861721344001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340311982309376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608861184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788522370000,"timestamp_ms":1788522370000,"timestamp_seconds":1788522370,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3d93d0"} 
[2026-09-04 17:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 17:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861721344001,"66":12461,"105":206,"83":41984,"24":0,"16":17340311982309376,"45":1737615430608861184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861721344001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:17:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:17:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340311982309376,"km_value":17340311982309.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608861184,"description":"Unknown IO ID 45"} 
[2026-09-04 17:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861721344001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608861184}} 
[2026-09-04 17:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":173554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:17:52] local.INFO: GPS data processed {"connection_id":173554,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:17:52] local.INFO: Acknowledgment sent {"connection_id":173554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:17:54] local.INFO: TCP Data received {"connection_id":173555,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:17:54] local.INFO: Processing buffer {"connection_id":173555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:17:54] local.INFO: IMEI packet received {"connection_id":173555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":173555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:17:55] local.INFO: TCP Data received {"connection_id":173555,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:17:55] local.INFO: Processing buffer {"connection_id":173555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3a3488012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:17:55] local.INFO: Packet analysis {"connection_id":173555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:17:55] local.INFO: Extracted packet for processing {"connection_id":173555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3a"} 
[2026-09-04 17:17:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861593088001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788522149000,"timestamp_ms":1788522149000,"timestamp_seconds":1788522149,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3a3488"} 
[2026-09-04 17:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861593088001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861593088001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:17:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861593088001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":173555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763854,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:17:55] local.INFO: GPS data processed {"connection_id":173555,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:17:55] local.INFO: Acknowledgment sent {"connection_id":173555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:17:58] local.INFO: TCP Data received {"connection_id":171154,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:17:58] local.INFO: Processing buffer {"connection_id":171154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:17:58] local.INFO: IMEI packet received {"connection_id":171154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":171154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:17:58] local.INFO: TCP Data received {"connection_id":171154,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:17:58] local.INFO: Processing buffer {"connection_id":171154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:17:58] local.INFO: IMEI packet received {"connection_id":171154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":171154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:18:04] local.INFO: TCP Data received {"connection_id":171154,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:18:04] local.INFO: Processing buffer {"connection_id":171154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:18:04] local.INFO: IMEI packet received {"connection_id":171154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":171154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:18:05] local.INFO: TCP Data received {"connection_id":171154,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3d8818012cbcfa40076deb90004400b82c..."} 
[2026-09-04 17:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3d8818012cbcfa40076deb90004400b82c..."} 
[2026-09-04 17:18:05] local.INFO: Processing buffer {"connection_id":171154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3d8818012cbcfa40076deb90004400b82c..."} 
[2026-09-04 17:18:05] local.INFO: Packet analysis {"connection_id":171154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3d"} 
[2026-09-04 17:18:05] local.INFO: Extracted packet for processing {"connection_id":171154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3d"} 
[2026-09-04 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":750582336,"raw_latitude":124644240,"longitude_deg":75.0582336,"latitude_deg":12.464424,"altitude":68,"angle":184,"satellites":44,"speed":52,"hex_longitude":"2cbcfa40","hex_latitude":"076deb90","is_valid_coordinates":true} 
[2026-09-04 17:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861724160001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398183115182309376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4828280981094963200,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788522367000,"timestamp_ms":1788522367000,"timestamp_seconds":1788522367,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3d8818"} 
[2026-09-04 17:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 17:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861724160001,"66":27713,"105":206,"85":37888,"24":52,"16":398183115182309376,"44":-4828280981094963200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-04 17:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861724160001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:18:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398183115182309376,"km_value":398183115182309.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:18:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4828280981094963200,"description":"Unknown IO ID 44"} 
[2026-09-04 17:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861724160001,"power":27713,"unknown_105":206,"unknown_85":37888,"ignition":52,"odometer":null,"unknown_44":-4828280981094963200}} 
[2026-09-04 17:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":171154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:18:05] local.INFO: GPS data processed {"connection_id":171154,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:18:05] local.INFO: Acknowledgment sent {"connection_id":171154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:18:23] local.INFO: TCP Data received {"connection_id":173554,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3de5d8012d181d400721adb8004f00df2d..."} 
[2026-09-04 17:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3de5d8012d181d400721adb8004f00df2d..."} 
[2026-09-04 17:18:23] local.INFO: Processing buffer {"connection_id":173554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3de5d8012d181d400721adb8004f00df2d..."} 
[2026-09-04 17:18:23] local.INFO: Packet analysis {"connection_id":173554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3d"} 
[2026-09-04 17:18:23] local.INFO: Extracted packet for processing {"connection_id":173554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3d"} 
[2026-09-04 17:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647672,"longitude_deg":75.6555072,"latitude_deg":11.9647672,"altitude":79,"angle":223,"satellites":45,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-09-04 17:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861726720001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340311982309376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608861184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788522391000,"timestamp_ms":1788522391000,"timestamp_seconds":1788522391,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3de5d8"} 
[2026-09-04 17:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861726720001,"66":12461,"105":206,"83":41984,"24":0,"16":17340311982309376,"45":1737615430608861184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861726720001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:18:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:18:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340311982309376,"km_value":17340311982309.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608861184,"description":"Unknown IO ID 45"} 
[2026-09-04 17:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861726720001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608861184}} 
[2026-09-04 17:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":173554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:18:23] local.INFO: GPS data processed {"connection_id":173554,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:18:23] local.INFO: Acknowledgment sent {"connection_id":173554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:18:26] local.INFO: TCP Data received {"connection_id":173555,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:18:26] local.INFO: Processing buffer {"connection_id":173555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:18:26] local.INFO: Packet analysis {"connection_id":173555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:18:26] local.INFO: Extracted packet for processing {"connection_id":173555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:18:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861670144001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788522450000,"timestamp_ms":1788522450000,"timestamp_seconds":1788522450,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3ecc50"} 
[2026-09-04 17:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 17:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861670144001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861670144001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:18:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:18:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861670144001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":173555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763857,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:18:27] local.INFO: GPS data processed {"connection_id":173555,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:18:27] local.INFO: Acknowledgment sent {"connection_id":173555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:18:36] local.INFO: TCP Data received {"connection_id":171154,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3f1688012cbd4580076bedd0003b00a032..."} 
[2026-09-04 17:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3f1688012cbd4580076bedd0003b00a032..."} 
[2026-09-04 17:18:36] local.INFO: Processing buffer {"connection_id":171154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3f1688012cbd4580076bedd0003b00a032..."} 
[2026-09-04 17:18:36] local.INFO: Packet analysis {"connection_id":171154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3f"} 
[2026-09-04 17:18:36] local.INFO: Extracted packet for processing {"connection_id":171154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3f"} 
[2026-09-04 17:18:36] local.INFO: GPS Element Parsed {"raw_longitude":750601600,"raw_latitude":124513744,"longitude_deg":75.06016,"latitude_deg":12.4513744,"altitude":59,"angle":160,"satellites":50,"speed":51,"hex_longitude":"2cbd4580","hex_latitude":"076bedd0","is_valid_coordinates":true} 
[2026-09-04 17:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861750272001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398189544748351488,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4810899901316630528,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788522469000,"timestamp_ms":1788522469000,"timestamp_seconds":1788522469,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3f1688"} 
[2026-09-04 17:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 17:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861750272001,"66":27767,"3":206,"85":37888,"24":51,"16":398189544748351488,"44":-4810899901316630528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-04 17:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861750272001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:18:36] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-04 17:18:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398189544748351488,"km_value":398189544748351.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:18:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4810899901316630528,"description":"Unknown IO ID 44"} 
[2026-09-04 17:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861750272001,"power":27767,"unknown_3":206,"unknown_85":37888,"ignition":51,"odometer":null,"unknown_44":-4810899901316630528}} 
[2026-09-04 17:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":171154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:18:36] local.INFO: GPS data processed {"connection_id":171154,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:18:36] local.INFO: Acknowledgment sent {"connection_id":171154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:18:48] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:18:48] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:18:48] local.INFO: IMEI packet received {"connection_id":173556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":173556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:18:53] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:18:53] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:18:53] local.INFO: IMEI packet received {"connection_id":173556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":173556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:18:54] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3e37e0012d181d400721adb8004f00df29..."} 
[2026-09-04 17:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3e37e0012d181d400721adb8004f00df29..."} 
[2026-09-04 17:18:54] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3e37e0012d181d400721adb8004f00df29..."} 
[2026-09-04 17:18:54] local.INFO: Packet analysis {"connection_id":173556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:18:54] local.INFO: Extracted packet for processing {"connection_id":173556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:18:54] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647672,"longitude_deg":75.6555072,"latitude_deg":11.9647672,"altitude":79,"angle":223,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-09-04 17:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861732096001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340311982309376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608861184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788522412000,"timestamp_ms":1788522412000,"timestamp_seconds":1788522412,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3e37e0"} 
[2026-09-04 17:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861732096001,"66":12439,"105":206,"83":41984,"24":0,"16":17340311982309376,"45":1737615430608861184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861732096001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:18:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:18:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340311982309376,"km_value":17340311982309.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608861184,"description":"Unknown IO ID 45"} 
[2026-09-04 17:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861732096001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608861184}} 
[2026-09-04 17:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":173556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:18:54] local.INFO: GPS data processed {"connection_id":173556,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:18:54] local.INFO: Acknowledgment sent {"connection_id":173556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:18:54] local.INFO: TCP Data received {"connection_id":170856,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:18:54] local.INFO: Processing buffer {"connection_id":170856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:18:54] local.INFO: IMEI packet received {"connection_id":170856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":170856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:18:58] local.INFO: TCP Data received {"connection_id":172251,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:18:58] local.INFO: Processing buffer {"connection_id":172251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:18:58] local.INFO: IMEI packet received {"connection_id":172251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":172251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:18:59] local.INFO: TCP Data received {"connection_id":170856,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:18:59] local.INFO: Processing buffer {"connection_id":170856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:18:59] local.INFO: IMEI packet received {"connection_id":170856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":170856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:18:59] local.INFO: TCP Data received {"connection_id":172251,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:18:59] local.INFO: Processing buffer {"connection_id":172251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:18:59] local.INFO: IMEI packet received {"connection_id":172251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":172251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:19:00] local.INFO: TCP Data received {"connection_id":170856,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:19:00] local.INFO: Processing buffer {"connection_id":170856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:19:00] local.INFO: Packet analysis {"connection_id":170856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:19:00] local.INFO: Extracted packet for processing {"connection_id":170856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:19:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861670144001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788522450000,"timestamp_ms":1788522450000,"timestamp_seconds":1788522450,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3ecc50"} 
[2026-09-04 17:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 17:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861670144001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861670144001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:19:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:19:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861670144001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":170856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763860,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:19:00] local.INFO: GPS data processed {"connection_id":170856,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:19:00] local.INFO: Acknowledgment sent {"connection_id":170856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:19:04] local.INFO: TCP Data received {"connection_id":172251,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:19:04] local.INFO: Processing buffer {"connection_id":172251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:19:04] local.INFO: IMEI packet received {"connection_id":172251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":172251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:19:04] local.INFO: TCP Data received {"connection_id":170856,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:19:04] local.INFO: Processing buffer {"connection_id":170856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:19:04] local.INFO: Packet analysis {"connection_id":170856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:19:04] local.INFO: Extracted packet for processing {"connection_id":170856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861670144001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788522450000,"timestamp_ms":1788522450000,"timestamp_seconds":1788522450,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3ecc50"} 
[2026-09-04 17:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 17:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861670144001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861670144001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:19:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861670144001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":170856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763861,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:19:04] local.INFO: GPS data processed {"connection_id":170856,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:19:04] local.INFO: Acknowledgment sent {"connection_id":170856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:19:05] local.INFO: TCP Data received {"connection_id":172251,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3f31e0012cbd5500076bcdf0003d009432..."} 
[2026-09-04 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3f31e0012cbd5500076bcdf0003d009432..."} 
[2026-09-04 17:19:05] local.INFO: Processing buffer {"connection_id":172251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3f31e0012cbd5500076bcdf0003d009432..."} 
[2026-09-04 17:19:05] local.INFO: Packet analysis {"connection_id":172251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3f"} 
[2026-09-04 17:19:05] local.INFO: Extracted packet for processing {"connection_id":172251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3f"} 
[2026-09-04 17:19:05] local.INFO: GPS Element Parsed {"raw_longitude":750605568,"raw_latitude":124505584,"longitude_deg":75.0605568,"latitude_deg":12.4505584,"altitude":61,"angle":148,"satellites":50,"speed":50,"hex_longitude":"2cbd5500","hex_latitude":"076bcdf0","is_valid_coordinates":true} 
[2026-09-04 17:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861752064001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398189987129982976,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4808296257784262656,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788522476000,"timestamp_ms":1788522476000,"timestamp_seconds":1788522476,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3f31e0"} 
[2026-09-04 17:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 17:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861752064001,"66":27865,"2":206,"85":37888,"24":50,"16":398189987129982976,"44":-4808296257784262656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-04 17:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861752064001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:19:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398189987129982976,"km_value":398189987129983.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:19:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4808296257784262656,"description":"Unknown IO ID 44"} 
[2026-09-04 17:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861752064001,"power":27865,"power_alt":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-4808296257784262656}} 
[2026-09-04 17:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":172251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:19:05] local.INFO: GPS data processed {"connection_id":172251,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:19:05] local.INFO: Acknowledgment sent {"connection_id":172251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:19:25] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3e89e8012d181d400721adb8004f00df28..."} 
[2026-09-04 17:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3e89e8012d181d400721adb8004f00df28..."} 
[2026-09-04 17:19:25] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3e89e8012d181d400721adb8004f00df28..."} 
[2026-09-04 17:19:25] local.INFO: Packet analysis {"connection_id":173556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:19:25] local.INFO: Extracted packet for processing {"connection_id":173556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:19:25] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647672,"longitude_deg":75.6555072,"latitude_deg":11.9647672,"altitude":79,"angle":223,"satellites":40,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-09-04 17:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861737472001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340311982309376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608861184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788522433000,"timestamp_ms":1788522433000,"timestamp_seconds":1788522433,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3e89e8"} 
[2026-09-04 17:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 17:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861737472001,"66":12428,"105":206,"83":41984,"24":0,"16":17340311982309376,"45":1737615430608861184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861737472001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:19:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:19:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340311982309376,"km_value":17340311982309.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608861184,"description":"Unknown IO ID 45"} 
[2026-09-04 17:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861737472001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608861184}} 
[2026-09-04 17:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":173556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:19:25] local.INFO: GPS data processed {"connection_id":173556,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:19:25] local.INFO: Acknowledgment sent {"connection_id":173556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:19:36] local.INFO: TCP Data received {"connection_id":172251,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3f31e0012cbd5500076bcdf0003d009432..."} 
[2026-09-04 17:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3f31e0012cbd5500076bcdf0003d009432..."} 
[2026-09-04 17:19:36] local.INFO: Processing buffer {"connection_id":172251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3f31e0012cbd5500076bcdf0003d009432..."} 
[2026-09-04 17:19:36] local.INFO: Packet analysis {"connection_id":172251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3f"} 
[2026-09-04 17:19:36] local.INFO: Extracted packet for processing {"connection_id":172251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3f"} 
[2026-09-04 17:19:36] local.INFO: GPS Element Parsed {"raw_longitude":750605568,"raw_latitude":124505584,"longitude_deg":75.0605568,"latitude_deg":12.4505584,"altitude":61,"angle":148,"satellites":50,"speed":50,"hex_longitude":"2cbd5500","hex_latitude":"076bcdf0","is_valid_coordinates":true} 
[2026-09-04 17:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861753856001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398189987129982976,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4803933395647336448,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788522476000,"timestamp_ms":1788522476000,"timestamp_seconds":1788522476,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3f31e0"} 
[2026-09-04 17:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861753856001,"66":27865,"2":206,"85":37888,"24":50,"16":398189987129982976,"44":-4803933395647336448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-04 17:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861753856001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398189987129982976,"km_value":398189987129983.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:19:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4803933395647336448,"description":"Unknown IO ID 44"} 
[2026-09-04 17:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861753856001,"power":27865,"power_alt":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-4803933395647336448}} 
[2026-09-04 17:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":172251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:19:36] local.INFO: GPS data processed {"connection_id":172251,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:19:36] local.INFO: Acknowledgment sent {"connection_id":172251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:19:48] local.INFO: TCP Data received {"connection_id":170857,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:19:48] local.INFO: Processing buffer {"connection_id":170857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:19:48] local.INFO: IMEI packet received {"connection_id":170857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":170857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:19:49] local.INFO: TCP Data received {"connection_id":171155,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:19:49] local.INFO: Processing buffer {"connection_id":171155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:19:49] local.INFO: IMEI packet received {"connection_id":171155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":171155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:19:53] local.INFO: TCP Data received {"connection_id":170857,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:19:53] local.INFO: Processing buffer {"connection_id":170857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:19:53] local.INFO: IMEI packet received {"connection_id":170857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":170857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:19:53] local.INFO: TCP Data received {"connection_id":171155,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:19:53] local.INFO: Processing buffer {"connection_id":171155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:19:53] local.INFO: IMEI packet received {"connection_id":171155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":171155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:19:54] local.INFO: TCP Data received {"connection_id":170857,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3edbf0012d181d400721adb8004f00df2b..."} 
[2026-09-04 17:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3edbf0012d181d400721adb8004f00df2b..."} 
[2026-09-04 17:19:54] local.INFO: Processing buffer {"connection_id":170857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3edbf0012d181d400721adb8004f00df2b..."} 
[2026-09-04 17:19:54] local.INFO: Packet analysis {"connection_id":170857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:19:54] local.INFO: Extracted packet for processing {"connection_id":170857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:19:54] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647672,"longitude_deg":75.6555072,"latitude_deg":11.9647672,"altitude":79,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-09-04 17:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861742848001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17340311982309376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608861184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788522454000,"timestamp_ms":1788522454000,"timestamp_seconds":1788522454,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3edbf0"} 
[2026-09-04 17:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 17:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861742848001,"66":12461,"105":206,"83":41984,"24":0,"16":17340311982309376,"45":1737615430608861184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861742848001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:19:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:19:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17340311982309376,"km_value":17340311982309.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608861184,"description":"Unknown IO ID 45"} 
[2026-09-04 17:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861742848001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608861184}} 
[2026-09-04 17:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":170857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:19:54] local.INFO: GPS data processed {"connection_id":170857,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:19:54] local.INFO: Acknowledgment sent {"connection_id":170857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:19:54] local.INFO: TCP Data received {"connection_id":171155,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:19:54] local.INFO: Processing buffer {"connection_id":171155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:19:54] local.INFO: Packet analysis {"connection_id":171155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:19:54] local.INFO: Extracted packet for processing {"connection_id":171155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:19:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861670144001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788522450000,"timestamp_ms":1788522450000,"timestamp_seconds":1788522450,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3ecc50"} 
[2026-09-04 17:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 17:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171155,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171155,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861670144001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861670144001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:19:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:19:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861670144001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":171155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763866,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:19:55] local.INFO: GPS data processed {"connection_id":171155,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:19:55] local.INFO: Acknowledgment sent {"connection_id":171155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:19:58] local.INFO: TCP Data received {"connection_id":172252,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:19:58] local.INFO: Processing buffer {"connection_id":172252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:19:58] local.INFO: IMEI packet received {"connection_id":172252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":172252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:20:04] local.INFO: TCP Data received {"connection_id":172252,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:20:04] local.INFO: Processing buffer {"connection_id":172252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:20:04] local.INFO: IMEI packet received {"connection_id":172252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":172252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:20:05] local.INFO: TCP Data received {"connection_id":172252,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3f4d38012cbd6980076bb390003f008933..."} 
[2026-09-04 17:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3f4d38012cbd6980076bb390003f008933..."} 
[2026-09-04 17:20:05] local.INFO: Processing buffer {"connection_id":172252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3f4d38012cbd6980076bb390003f008933..."} 
[2026-09-04 17:20:05] local.INFO: Packet analysis {"connection_id":172252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3f"} 
[2026-09-04 17:20:05] local.INFO: Extracted packet for processing {"connection_id":172252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3f"} 
[2026-09-04 17:20:05] local.INFO: GPS Element Parsed {"raw_longitude":750610816,"raw_latitude":124498832,"longitude_deg":75.0610816,"latitude_deg":12.4498832,"altitude":63,"angle":137,"satellites":51,"speed":46,"hex_longitude":"2cbd6980","hex_latitude":"076bb390","is_valid_coordinates":true} 
[2026-09-04 17:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861753856001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398190395151876096,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4803933395647336448,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788522483000,"timestamp_ms":1788522483000,"timestamp_seconds":1788522483,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3f4d38"} 
[2026-09-04 17:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861753856001,"66":27865,"2":206,"85":37888,"24":46,"16":398190395151876096,"44":-4803933395647336448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-04 17:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861753856001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:20:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398190395151876096,"km_value":398190395151876.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:20:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4803933395647336448,"description":"Unknown IO ID 44"} 
[2026-09-04 17:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861753856001,"power":27865,"power_alt":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-4803933395647336448}} 
[2026-09-04 17:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":172252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:20:05] local.INFO: GPS data processed {"connection_id":172252,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:20:05] local.INFO: Acknowledgment sent {"connection_id":172252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:20:25] local.INFO: TCP Data received {"connection_id":170857,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c40b0b0012d1892c007217c580049007227..."} 
[2026-09-04 17:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c40b0b0012d1892c007217c580049007227..."} 
[2026-09-04 17:20:25] local.INFO: Processing buffer {"connection_id":170857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c40b0b0012d1892c007217c580049007227..."} 
[2026-09-04 17:20:25] local.INFO: Packet analysis {"connection_id":170857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c40"} 
[2026-09-04 17:20:25] local.INFO: Extracted packet for processing {"connection_id":170857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c40"} 
[2026-09-04 17:20:25] local.INFO: GPS Element Parsed {"raw_longitude":756585152,"raw_latitude":119635032,"longitude_deg":75.6585152,"latitude_deg":11.9635032,"altitude":73,"angle":114,"satellites":39,"speed":40,"hex_longitude":"2d1892c0","hex_latitude":"07217c58","is_valid_coordinates":true} 
[2026-09-04 17:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861777920001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17341952659816448,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766607353207173120,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788522574000,"timestamp_ms":1788522574000,"timestamp_seconds":1788522574,"priority":1,"record_length":96,"hex_timestamp":"000001a06c40b0b0"} 
[2026-09-04 17:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 17:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861777920001,"66":13678,"106":206,"83":41984,"24":40,"16":17341952659816448,"45":1766607353207173120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-04 17:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861777920001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:20:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:20:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17341952659816448,"km_value":17341952659816.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766607353207173120,"description":"Unknown IO ID 45"} 
[2026-09-04 17:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861777920001,"power":13678,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1766607353207173120}} 
[2026-09-04 17:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":170857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:20:25] local.INFO: GPS data processed {"connection_id":170857,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:20:25] local.INFO: Acknowledgment sent {"connection_id":170857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:20:26] local.INFO: TCP Data received {"connection_id":171155,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:20:26] local.INFO: Processing buffer {"connection_id":171155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:20:26] local.INFO: Packet analysis {"connection_id":171155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:20:26] local.INFO: Extracted packet for processing {"connection_id":171155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:20:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861670144001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788522450000,"timestamp_ms":1788522450000,"timestamp_seconds":1788522450,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3ecc50"} 
[2026-09-04 17:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 17:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171155,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171155,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861670144001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861670144001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:20:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:20:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861670144001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":171155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:20:26] local.INFO: GPS data processed {"connection_id":171155,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:20:26] local.INFO: Acknowledgment sent {"connection_id":171155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:20:36] local.INFO: TCP Data received {"connection_id":172252,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c40c820012cbdcfc0076a3290004700a731..."} 
[2026-09-04 17:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c40c820012cbdcfc0076a3290004700a731..."} 
[2026-09-04 17:20:36] local.INFO: Processing buffer {"connection_id":172252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c40c820012cbdcfc0076a3290004700a731..."} 
[2026-09-04 17:20:36] local.INFO: Packet analysis {"connection_id":172252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c40"} 
[2026-09-04 17:20:36] local.INFO: Extracted packet for processing {"connection_id":172252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c40"} 
[2026-09-04 17:20:36] local.INFO: GPS Element Parsed {"raw_longitude":750636992,"raw_latitude":124400272,"longitude_deg":75.0636992,"latitude_deg":12.4400272,"altitude":71,"angle":167,"satellites":49,"speed":50,"hex_longitude":"2cbdcfc0","hex_latitude":"076a3290","is_valid_coordinates":true} 
[2026-09-04 17:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861778688001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398195570587467776,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4771352667117789184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788522580000,"timestamp_ms":1788522580000,"timestamp_seconds":1788522580,"priority":1,"record_length":96,"hex_timestamp":"000001a06c40c820"} 
[2026-09-04 17:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 17:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861778688001,"66":27919,"23":206,"85":37888,"24":50,"16":398195570587467776,"44":-4771352667117789184},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,44]} 
[2026-09-04 17:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861778688001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:20:36] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-04 17:20:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398195570587467776,"km_value":398195570587467.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:20:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4771352667117789184,"description":"Unknown IO ID 44"} 
[2026-09-04 17:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861778688001,"power":27919,"unknown_23":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-4771352667117789184}} 
[2026-09-04 17:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":172252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:20:36] local.INFO: GPS data processed {"connection_id":172252,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:20:36] local.INFO: Acknowledgment sent {"connection_id":172252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:20:46] local.INFO: TCP Data received {"connection_id":171156,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:20:46] local.INFO: Processing buffer {"connection_id":171156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:20:46] local.INFO: IMEI packet received {"connection_id":171156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":171156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:20:48] local.INFO: TCP Data received {"connection_id":171156,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:20:48] local.INFO: Processing buffer {"connection_id":171156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:20:48] local.INFO: IMEI packet received {"connection_id":171156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":171156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:20:48] local.INFO: TCP Data received {"connection_id":172253,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:20:48] local.INFO: Processing buffer {"connection_id":172253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:20:48] local.INFO: IMEI packet received {"connection_id":172253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":172253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:20:49] local.INFO: TCP Data received {"connection_id":171156,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:20:49] local.INFO: Processing buffer {"connection_id":171156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:20:49] local.INFO: IMEI packet received {"connection_id":171156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":171156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:20:53] local.INFO: TCP Data received {"connection_id":171156,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:20:53] local.INFO: Processing buffer {"connection_id":171156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:20:53] local.INFO: IMEI packet received {"connection_id":171156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":171156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:20:54] local.INFO: TCP Data received {"connection_id":172253,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:20:54] local.INFO: Processing buffer {"connection_id":172253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:20:54] local.INFO: IMEI packet received {"connection_id":172253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":172253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:20:54] local.INFO: TCP Data received {"connection_id":171156,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c40cff0012d18ae80072170a80048008027..."} 
[2026-09-04 17:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c40cff0012d18ae80072170a80048008027..."} 
[2026-09-04 17:20:54] local.INFO: Processing buffer {"connection_id":171156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c40cff0012d18ae80072170a80048008027..."} 
[2026-09-04 17:20:54] local.INFO: Packet analysis {"connection_id":171156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c40"} 
[2026-09-04 17:20:54] local.INFO: Extracted packet for processing {"connection_id":171156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c40"} 
[2026-09-04 17:20:54] local.INFO: GPS Element Parsed {"raw_longitude":756592256,"raw_latitude":119632040,"longitude_deg":75.6592256,"latitude_deg":11.963204,"altitude":72,"angle":128,"satellites":39,"speed":36,"hex_longitude":"2d18ae80","hex_latitude":"072170a8","is_valid_coordinates":true} 
[2026-09-04 17:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861778944001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17342322027003904,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770688740369127424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788522582000,"timestamp_ms":1788522582000,"timestamp_seconds":1788522582,"priority":1,"record_length":96,"hex_timestamp":"000001a06c40cff0"} 
[2026-09-04 17:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 17:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861778944001,"66":14352,"106":206,"83":41984,"24":36,"16":17342322027003904,"45":1770688740369127424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-04 17:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861778944001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:20:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:20:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17342322027003904,"km_value":17342322027003.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770688740369127424,"description":"Unknown IO ID 45"} 
[2026-09-04 17:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861778944001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1770688740369127424}} 
[2026-09-04 17:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":171156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:20:54] local.INFO: GPS data processed {"connection_id":171156,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:20:54] local.INFO: Acknowledgment sent {"connection_id":171156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:20:55] local.INFO: TCP Data received {"connection_id":172253,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:20:55] local.INFO: Processing buffer {"connection_id":172253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:20:55] local.INFO: Packet analysis {"connection_id":172253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:20:55] local.INFO: Extracted packet for processing {"connection_id":172253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:20:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861670144001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788522450000,"timestamp_ms":1788522450000,"timestamp_seconds":1788522450,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3ecc50"} 
[2026-09-04 17:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 17:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861670144001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861670144001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:20:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861670144001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":172253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763872,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:20:55] local.INFO: GPS data processed {"connection_id":172253,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:20:55] local.INFO: Acknowledgment sent {"connection_id":172253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:20:58] local.INFO: TCP Data received {"connection_id":172254,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:20:58] local.INFO: Processing buffer {"connection_id":172254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:20:58] local.INFO: IMEI packet received {"connection_id":172254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":172254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:21:02] local.INFO: TCP Data received {"connection_id":172254,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:21:02] local.INFO: Processing buffer {"connection_id":172254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:21:02] local.INFO: IMEI packet received {"connection_id":172254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":172254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:21:03] local.INFO: TCP Data received {"connection_id":172254,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:21:03] local.INFO: Processing buffer {"connection_id":172254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:21:03] local.INFO: IMEI packet received {"connection_id":172254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":172254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:21:04] local.INFO: TCP Data received {"connection_id":172254,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c40e378012cbdd780076a10c0004800a732..."} 
[2026-09-04 17:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c40e378012cbdd780076a10c0004800a732..."} 
[2026-09-04 17:21:04] local.INFO: Processing buffer {"connection_id":172254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c40e378012cbdd780076a10c0004800a732..."} 
[2026-09-04 17:21:04] local.INFO: Packet analysis {"connection_id":172254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c40"} 
[2026-09-04 17:21:04] local.INFO: Extracted packet for processing {"connection_id":172254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c40"} 
[2026-09-04 17:21:04] local.INFO: GPS Element Parsed {"raw_longitude":750638976,"raw_latitude":124391616,"longitude_deg":75.0638976,"latitude_deg":12.4391616,"altitude":72,"angle":167,"satellites":50,"speed":50,"hex_longitude":"2cbdd780","hex_latitude":"076a10c0","is_valid_coordinates":true} 
[2026-09-04 17:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861780480001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398196000084197376,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4769382342283063296,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788522587000,"timestamp_ms":1788522587000,"timestamp_seconds":1788522587,"priority":1,"record_length":96,"hex_timestamp":"000001a06c40e378"} 
[2026-09-04 17:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 17:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861780480001,"66":27930,"23":206,"85":37888,"24":50,"16":398196000084197376,"44":-4769382342283063296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,44]} 
[2026-09-04 17:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861780480001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:21:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-04 17:21:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398196000084197376,"km_value":398196000084197.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:21:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4769382342283063296,"description":"Unknown IO ID 44"} 
[2026-09-04 17:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861780480001,"power":27930,"unknown_23":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-4769382342283063296}} 
[2026-09-04 17:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":172254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:21:04] local.INFO: GPS data processed {"connection_id":172254,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:21:04] local.INFO: Acknowledgment sent {"connection_id":172254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:21:25] local.INFO: TCP Data received {"connection_id":171156,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c419340012d18e7000720ee10003b009322..."} 
[2026-09-04 17:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c419340012d18e7000720ee10003b009322..."} 
[2026-09-04 17:21:26] local.INFO: Processing buffer {"connection_id":171156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c419340012d18e7000720ee10003b009322..."} 
[2026-09-04 17:21:26] local.INFO: Packet analysis {"connection_id":171156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c41"} 
[2026-09-04 17:21:26] local.INFO: Extracted packet for processing {"connection_id":171156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c41"} 
[2026-09-04 17:21:26] local.INFO: GPS Element Parsed {"raw_longitude":756606720,"raw_latitude":119598608,"longitude_deg":75.660672,"latitude_deg":11.9598608,"altitude":59,"angle":147,"satellites":34,"speed":44,"hex_longitude":"2d18e700","hex_latitude":"0720ee10","is_valid_coordinates":true} 
[2026-09-04 17:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861792768001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17344160273006592,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791517888637192192,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788522632000,"timestamp_ms":1788522632000,"timestamp_seconds":1788522632,"priority":1,"record_length":96,"hex_timestamp":"000001a06c419340"} 
[2026-09-04 17:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-04 17:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861792768001,"66":14298,"103":206,"83":41984,"24":44,"16":17344160273006592,"45":1791517888637192192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861792768001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:21:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:21:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17344160273006592,"km_value":17344160273006.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791517888637192192,"description":"Unknown IO ID 45"} 
[2026-09-04 17:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861792768001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1791517888637192192}} 
[2026-09-04 17:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":171156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:21:26] local.INFO: GPS data processed {"connection_id":171156,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:21:26] local.INFO: Acknowledgment sent {"connection_id":171156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:21:27] local.INFO: TCP Data received {"connection_id":172253,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:21:27] local.INFO: Processing buffer {"connection_id":172253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:21:27] local.INFO: Packet analysis {"connection_id":172253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:21:27] local.INFO: Extracted packet for processing {"connection_id":172253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:21:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861670144001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788522450000,"timestamp_ms":1788522450000,"timestamp_seconds":1788522450,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3ecc50"} 
[2026-09-04 17:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 17:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861670144001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861670144001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:21:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:21:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861670144001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":172253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:21:27] local.INFO: GPS data processed {"connection_id":172253,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:21:27] local.INFO: Acknowledgment sent {"connection_id":172253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:21:45] local.INFO: TCP Data received {"connection_id":172254,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c40fed0012cbddf000769ede0004800a832..."} 
[2026-09-04 17:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c40fed0012cbddf000769ede0004800a832..."} 
[2026-09-04 17:21:45] local.INFO: Processing buffer {"connection_id":172254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c40fed0012cbddf000769ede0004800a832..."} 
[2026-09-04 17:21:45] local.INFO: Packet analysis {"connection_id":172254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c40"} 
[2026-09-04 17:21:45] local.INFO: Extracted packet for processing {"connection_id":172254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c40"} 
[2026-09-04 17:21:45] local.INFO: GPS Element Parsed {"raw_longitude":750640896,"raw_latitude":124382688,"longitude_deg":75.0640896,"latitude_deg":12.4382688,"altitude":72,"angle":168,"satellites":50,"speed":53,"hex_longitude":"2cbddf00","hex_latitude":"0769ede0","is_valid_coordinates":true} 
[2026-09-04 17:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861782272001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398196442465828864,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4767200911215771648,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788522594000,"timestamp_ms":1788522594000,"timestamp_seconds":1788522594,"priority":1,"record_length":96,"hex_timestamp":"000001a06c40fed0"} 
[2026-09-04 17:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 17:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861782272001,"66":27908,"23":206,"85":37888,"24":53,"16":398196442465828864,"44":-4767200911215771648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,44]} 
[2026-09-04 17:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861782272001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:21:45] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-04 17:21:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398196442465828864,"km_value":398196442465828.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:21:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4767200911215771648,"description":"Unknown IO ID 44"} 
[2026-09-04 17:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861782272001,"power":27908,"unknown_23":206,"unknown_85":37888,"ignition":53,"odometer":null,"unknown_44":-4767200911215771648}} 
[2026-09-04 17:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":172254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:21:45] local.INFO: GPS data processed {"connection_id":172254,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:21:45] local.INFO: Acknowledgment sent {"connection_id":172254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:21:46] local.INFO: TCP Data received {"connection_id":170858,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:21:46] local.INFO: Processing buffer {"connection_id":170858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:21:46] local.INFO: IMEI packet received {"connection_id":170858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":170858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:21:48] local.INFO: TCP Data received {"connection_id":172255,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:21:48] local.INFO: Processing buffer {"connection_id":172255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:21:48] local.INFO: IMEI packet received {"connection_id":172255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":172255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:21:48] local.INFO: TCP Data received {"connection_id":170858,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:21:48] local.INFO: Processing buffer {"connection_id":170858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:21:48] local.INFO: IMEI packet received {"connection_id":170858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":170858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:21:50] local.INFO: TCP Data received {"connection_id":170858,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:21:50] local.INFO: Processing buffer {"connection_id":170858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:21:50] local.INFO: IMEI packet received {"connection_id":170858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":170858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:21:53] local.INFO: TCP Data received {"connection_id":170858,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:21:53] local.INFO: Processing buffer {"connection_id":170858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:21:53] local.INFO: IMEI packet received {"connection_id":170858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":170858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:21:54] local.INFO: TCP Data received {"connection_id":170858,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c41aab0012d18f7000720d7a00036008723..."} 
[2026-09-04 17:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c41aab0012d18f7000720d7a00036008723..."} 
[2026-09-04 17:21:54] local.INFO: Processing buffer {"connection_id":170858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c41aab0012d18f7000720d7a00036008723..."} 
[2026-09-04 17:21:54] local.INFO: Packet analysis {"connection_id":170858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c41"} 
[2026-09-04 17:21:54] local.INFO: Extracted packet for processing {"connection_id":170858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c41"} 
[2026-09-04 17:21:54] local.INFO: GPS Element Parsed {"raw_longitude":756610816,"raw_latitude":119592864,"longitude_deg":75.6610816,"latitude_deg":11.9592864,"altitude":54,"angle":135,"satellites":35,"speed":46,"hex_longitude":"2d18f700","hex_latitude":"0720d7a0","is_valid_coordinates":true} 
[2026-09-04 17:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861793792001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17344495280455680,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794403007147675648,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788522638000,"timestamp_ms":1788522638000,"timestamp_seconds":1788522638,"priority":1,"record_length":96,"hex_timestamp":"000001a06c41aab0"} 
[2026-09-04 17:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 17:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861793792001,"66":14298,"103":206,"83":41984,"24":46,"16":17344495280455680,"45":1794403007147675648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861793792001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:21:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:21:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17344495280455680,"km_value":17344495280455.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794403007147675648,"description":"Unknown IO ID 45"} 
[2026-09-04 17:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861793792001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1794403007147675648}} 
[2026-09-04 17:21:54] local.INFO: TCP Data received {"connection_id":172255,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:21:54] local.INFO: Processing buffer {"connection_id":172255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:21:54] local.INFO: IMEI packet received {"connection_id":172255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":172255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":170858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:21:54] local.INFO: GPS data processed {"connection_id":170858,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:21:54] local.INFO: Acknowledgment sent {"connection_id":170858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:21:55] local.INFO: TCP Data received {"connection_id":172255,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:21:55] local.INFO: Processing buffer {"connection_id":172255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:21:55] local.INFO: Packet analysis {"connection_id":172255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:21:55] local.INFO: Extracted packet for processing {"connection_id":172255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:21:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861670144001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788522450000,"timestamp_ms":1788522450000,"timestamp_seconds":1788522450,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3ecc50"} 
[2026-09-04 17:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 17:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861670144001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861670144001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:21:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:21:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861670144001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":172255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:21:55] local.INFO: GPS data processed {"connection_id":172255,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:21:55] local.INFO: Acknowledgment sent {"connection_id":172255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:21:58] local.INFO: TCP Data received {"connection_id":171157,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:21:58] local.INFO: Processing buffer {"connection_id":171157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:21:58] local.INFO: IMEI packet received {"connection_id":171157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":171157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:21:59] local.INFO: TCP Data received {"connection_id":171157,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:21:59] local.INFO: Processing buffer {"connection_id":171157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:21:59] local.INFO: IMEI packet received {"connection_id":171157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":171157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:22:04] local.INFO: TCP Data received {"connection_id":171157,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:22:04] local.INFO: Processing buffer {"connection_id":171157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:22:04] local.INFO: IMEI packet received {"connection_id":171157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":171157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:22:04] local.INFO: TCP Data received {"connection_id":171157,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4200a0012cbea2c00768ce600045007b31..."} 
[2026-09-04 17:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4200a0012cbea2c00768ce600045007b31..."} 
[2026-09-04 17:22:04] local.INFO: Processing buffer {"connection_id":171157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4200a0012cbea2c00768ce600045007b31..."} 
[2026-09-04 17:22:05] local.INFO: Packet analysis {"connection_id":171157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c42"} 
[2026-09-04 17:22:05] local.INFO: Extracted packet for processing {"connection_id":171157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c42"} 
[2026-09-04 17:22:05] local.INFO: GPS Element Parsed {"raw_longitude":750691008,"raw_latitude":124309088,"longitude_deg":75.0691008,"latitude_deg":12.4309088,"altitude":69,"angle":123,"satellites":49,"speed":48,"hex_longitude":"2cbea2c0","hex_latitude":"0768ce60","is_valid_coordinates":true} 
[2026-09-04 17:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861800960001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398200866282143744,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4709991122220457984,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788522660000,"timestamp_ms":1788522660000,"timestamp_seconds":1788522660,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4200a0"} 
[2026-09-04 17:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 17:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861800960001,"66":27843,"229":206,"85":37888,"24":48,"16":398200866282143744,"44":-4709991122220457984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-09-04 17:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861800960001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:22:05] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 17:22:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398200866282143744,"km_value":398200866282143.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:22:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4709991122220457984,"description":"Unknown IO ID 44"} 
[2026-09-04 17:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861800960001,"power":27843,"unknown_229":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-4709991122220457984}} 
[2026-09-04 17:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":171157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:22:05] local.INFO: GPS data processed {"connection_id":171157,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:22:05] local.INFO: Acknowledgment sent {"connection_id":171157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:22:25] local.INFO: TCP Data received {"connection_id":170858,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4271e8012d19b9c00720aa380022007b25..."} 
[2026-09-04 17:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4271e8012d19b9c00720aa380022007b25..."} 
[2026-09-04 17:22:25] local.INFO: Processing buffer {"connection_id":170858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4271e8012d19b9c00720aa380022007b25..."} 
[2026-09-04 17:22:25] local.INFO: Packet analysis {"connection_id":170858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c42"} 
[2026-09-04 17:22:25] local.INFO: Extracted packet for processing {"connection_id":170858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c42"} 
[2026-09-04 17:22:25] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119581240,"longitude_deg":75.6660672,"latitude_deg":11.958124,"altitude":34,"angle":123,"satellites":37,"speed":19,"hex_longitude":"2d19b9c0","hex_latitude":"0720aa38","is_valid_coordinates":true} 
[2026-09-04 17:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861807104001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17347037901094912,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052532346880,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788522689000,"timestamp_ms":1788522689000,"timestamp_seconds":1788522689,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4271e8"} 
[2026-09-04 17:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-04 17:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861807104001,"66":14004,"103":206,"83":41984,"24":19,"16":17347037901094912,"45":1850135052532346880},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861807104001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:22:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:22:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17347037901094912,"km_value":17347037901094.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052532346880,"description":"Unknown IO ID 45"} 
[2026-09-04 17:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861807104001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1850135052532346880}} 
[2026-09-04 17:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":170858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:22:25] local.INFO: GPS data processed {"connection_id":170858,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:22:25] local.INFO: Acknowledgment sent {"connection_id":170858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:22:27] local.INFO: TCP Data received {"connection_id":172255,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:22:27] local.INFO: Processing buffer {"connection_id":172255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:22:27] local.INFO: Packet analysis {"connection_id":172255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:22:27] local.INFO: Extracted packet for processing {"connection_id":172255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:22:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861670144001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788522450000,"timestamp_ms":1788522450000,"timestamp_seconds":1788522450,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3ecc50"} 
[2026-09-04 17:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 17:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861670144001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861670144001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:22:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:22:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861670144001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":172255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763881,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:22:27] local.INFO: GPS data processed {"connection_id":172255,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:22:27] local.INFO: Acknowledgment sent {"connection_id":172255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:22:36] local.INFO: TCP Data received {"connection_id":171157,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c421428012cbeb7c00768c3600047007032..."} 
[2026-09-04 17:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c421428012cbeb7c00768c3600047007032..."} 
[2026-09-04 17:22:36] local.INFO: Processing buffer {"connection_id":171157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c421428012cbeb7c00768c3600047007032..."} 
[2026-09-04 17:22:36] local.INFO: Packet analysis {"connection_id":171157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c42"} 
[2026-09-04 17:22:36] local.INFO: Extracted packet for processing {"connection_id":171157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c42"} 
[2026-09-04 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":750696384,"raw_latitude":124306272,"longitude_deg":75.0696384,"latitude_deg":12.4306272,"altitude":71,"angle":112,"satellites":50,"speed":47,"hex_longitude":"2cbeb7c0","hex_latitude":"0768c360","is_valid_coordinates":true} 
[2026-09-04 17:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861800960001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398201158339919872,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4709991122220457984,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788522665000,"timestamp_ms":1788522665000,"timestamp_seconds":1788522665,"priority":1,"record_length":96,"hex_timestamp":"000001a06c421428"} 
[2026-09-04 17:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 17:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861800960001,"66":27930,"229":206,"85":37888,"24":47,"16":398201158339919872,"44":-4709991122220457984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-09-04 17:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861800960001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:22:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 17:22:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398201158339919872,"km_value":398201158339919.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:22:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4709991122220457984,"description":"Unknown IO ID 44"} 
[2026-09-04 17:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861800960001,"power":27930,"unknown_229":206,"unknown_85":37888,"ignition":47,"odometer":null,"unknown_44":-4709991122220457984}} 
[2026-09-04 17:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":171157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:22:36] local.INFO: GPS data processed {"connection_id":171157,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:22:36] local.INFO: Acknowledgment sent {"connection_id":171157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:22:47] local.INFO: TCP Data received {"connection_id":173557,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:22:47] local.INFO: Processing buffer {"connection_id":173557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:22:47] local.INFO: IMEI packet received {"connection_id":173557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":173557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:22:48] local.INFO: TCP Data received {"connection_id":170859,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:22:48] local.INFO: Processing buffer {"connection_id":170859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:22:48] local.INFO: IMEI packet received {"connection_id":170859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":170859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:22:52] local.INFO: TCP Data received {"connection_id":173557,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:22:52] local.INFO: Processing buffer {"connection_id":173557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:22:52] local.INFO: IMEI packet received {"connection_id":173557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":173557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:22:52] local.INFO: TCP Data received {"connection_id":173557,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4279b8012d19bc000720a7e80022009326..."} 
[2026-09-04 17:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4279b8012d19bc000720a7e80022009326..."} 
[2026-09-04 17:22:52] local.INFO: Processing buffer {"connection_id":173557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4279b8012d19bc000720a7e80022009326..."} 
[2026-09-04 17:22:52] local.INFO: Packet analysis {"connection_id":173557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c42"} 
[2026-09-04 17:22:52] local.INFO: Extracted packet for processing {"connection_id":173557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c42"} 
[2026-09-04 17:22:52] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119580648,"longitude_deg":75.6661248,"latitude_deg":11.9580648,"altitude":34,"angle":147,"satellites":38,"speed":13,"hex_longitude":"2d19bc00","hex_latitude":"0720a7e8","is_valid_coordinates":true} 
[2026-09-04 17:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861808384001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17347076555800576,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858485000192,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788522691000,"timestamp_ms":1788522691000,"timestamp_seconds":1788522691,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4279b8"} 
[2026-09-04 17:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-04 17:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861808384001,"66":13993,"103":206,"83":41984,"24":13,"16":17347076555800576,"45":1853723858485000192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861808384001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:22:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:22:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17347076555800576,"km_value":17347076555800.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858485000192,"description":"Unknown IO ID 45"} 
[2026-09-04 17:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861808384001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1853723858485000192}} 
[2026-09-04 17:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":173557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:22:52] local.INFO: GPS data processed {"connection_id":173557,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:22:52] local.INFO: Acknowledgment sent {"connection_id":173557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:22:54] local.INFO: TCP Data received {"connection_id":170859,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:22:54] local.INFO: Processing buffer {"connection_id":170859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:22:54] local.INFO: IMEI packet received {"connection_id":170859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":170859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:22:55] local.INFO: TCP Data received {"connection_id":170859,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:22:55] local.INFO: Processing buffer {"connection_id":170859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c3ecc50012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:22:55] local.INFO: Packet analysis {"connection_id":170859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:22:55] local.INFO: Extracted packet for processing {"connection_id":170859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c3e"} 
[2026-09-04 17:22:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861670144001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788522450000,"timestamp_ms":1788522450000,"timestamp_seconds":1788522450,"priority":1,"record_length":96,"hex_timestamp":"000001a06c3ecc50"} 
[2026-09-04 17:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 17:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861670144001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861670144001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:22:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:22:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861670144001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":170859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:22:55] local.INFO: GPS data processed {"connection_id":170859,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:22:55] local.INFO: Acknowledgment sent {"connection_id":170859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:23:00] local.INFO: TCP Data received {"connection_id":173558,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:23:00] local.INFO: Processing buffer {"connection_id":173558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:23:00] local.INFO: IMEI packet received {"connection_id":173558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":173558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:23:04] local.INFO: TCP Data received {"connection_id":173558,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:23:04] local.INFO: Processing buffer {"connection_id":173558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:23:04] local.INFO: IMEI packet received {"connection_id":173558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":173558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:23:08] local.INFO: TCP Data received {"connection_id":173558,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:23:08] local.INFO: Processing buffer {"connection_id":173558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:23:08] local.INFO: IMEI packet received {"connection_id":173558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":173558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:23:09] local.INFO: TCP Data received {"connection_id":173558,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c423368012cbedb800768b8c8004a006732..."} 
[2026-09-04 17:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c423368012cbedb800768b8c8004a006732..."} 
[2026-09-04 17:23:09] local.INFO: Processing buffer {"connection_id":173558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c423368012cbedb800768b8c8004a006732..."} 
[2026-09-04 17:23:09] local.INFO: Packet analysis {"connection_id":173558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c42"} 
[2026-09-04 17:23:09] local.INFO: Extracted packet for processing {"connection_id":173558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c42"} 
[2026-09-04 17:23:09] local.INFO: GPS Element Parsed {"raw_longitude":750705536,"raw_latitude":124303560,"longitude_deg":75.0705536,"latitude_deg":12.430356,"altitude":74,"angle":103,"satellites":50,"speed":46,"hex_longitude":"2cbedb80","hex_latitude":"0768b8c8","is_valid_coordinates":true} 
[2026-09-04 17:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861802240001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398201613606453248,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4704080147710255104,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788522673000,"timestamp_ms":1788522673000,"timestamp_seconds":1788522673,"priority":1,"record_length":96,"hex_timestamp":"000001a06c423368"} 
[2026-09-04 17:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 17:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861802240001,"66":27919,"229":206,"85":37888,"24":46,"16":398201613606453248,"44":-4704080147710255104},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-09-04 17:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861802240001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:23:09] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 17:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398201613606453248,"km_value":398201613606453.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:23:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4704080147710255104,"description":"Unknown IO ID 44"} 
[2026-09-04 17:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861802240001,"power":27919,"unknown_229":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-4704080147710255104}} 
[2026-09-04 17:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":173558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:23:09] local.INFO: GPS data processed {"connection_id":173558,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:23:09] local.INFO: Acknowledgment sent {"connection_id":173558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:23:09] local.INFO: TCP Data received {"connection_id":173558,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4252a8012cbefec00768b0c8004c006632..."} 
[2026-09-04 17:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4252a8012cbefec00768b0c8004c006632..."} 
[2026-09-04 17:23:09] local.INFO: Processing buffer {"connection_id":173558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4252a8012cbefec00768b0c8004c006632..."} 
[2026-09-04 17:23:09] local.INFO: Packet analysis {"connection_id":173558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c42"} 
[2026-09-04 17:23:09] local.INFO: Extracted packet for processing {"connection_id":173558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c42"} 
[2026-09-04 17:23:09] local.INFO: GPS Element Parsed {"raw_longitude":750714560,"raw_latitude":124301512,"longitude_deg":75.071456,"latitude_deg":12.4301512,"altitude":76,"angle":102,"satellites":50,"speed":44,"hex_longitude":"2cbefec0","hex_latitude":"0768b0c8","is_valid_coordinates":true} 
[2026-09-04 17:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861804288001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398202051693117440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4694017417293543424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788522681000,"timestamp_ms":1788522681000,"timestamp_seconds":1788522681,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4252a8"} 
[2026-09-04 17:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 17:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861804288001,"66":27974,"227":206,"85":37888,"24":44,"16":398202051693117440,"44":-4694017417293543424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,44]} 
[2026-09-04 17:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861804288001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:23:09] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 17:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398202051693117440,"km_value":398202051693117.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:23:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4694017417293543424,"description":"Unknown IO ID 44"} 
[2026-09-04 17:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861804288001,"power":27974,"unknown_227":206,"unknown_85":37888,"ignition":44,"odometer":null,"unknown_44":-4694017417293543424}} 
[2026-09-04 17:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":173558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:23:09] local.INFO: GPS data processed {"connection_id":173558,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:23:09] local.INFO: Acknowledgment sent {"connection_id":173558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:23:23] local.INFO: TCP Data received {"connection_id":173557,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c427da0012d19bc400720a6e8002200aa26..."} 
[2026-09-04 17:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c427da0012d19bc400720a6e8002200aa26..."} 
[2026-09-04 17:23:24] local.INFO: Processing buffer {"connection_id":173557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c427da0012d19bc400720a6e8002200aa26..."} 
[2026-09-04 17:23:24] local.INFO: Packet analysis {"connection_id":173557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c42"} 
[2026-09-04 17:23:24] local.INFO: Extracted packet for processing {"connection_id":173557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c42"} 
[2026-09-04 17:23:24] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119580392,"longitude_deg":75.6661312,"latitude_deg":11.9580392,"altitude":34,"angle":170,"satellites":38,"speed":8,"hex_longitude":"2d19bc40","hex_latitude":"0720a6e8","is_valid_coordinates":true} 
[2026-09-04 17:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861808896001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17347089440702464,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182447616,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788522692000,"timestamp_ms":1788522692000,"timestamp_seconds":1788522692,"priority":1,"record_length":96,"hex_timestamp":"000001a06c427da0"} 
[2026-09-04 17:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 17:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861808896001,"66":13993,"103":206,"83":41984,"24":8,"16":17347089440702464,"45":1854357177182447616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861808896001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:23:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:23:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17347089440702464,"km_value":17347089440702.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182447616,"description":"Unknown IO ID 45"} 
[2026-09-04 17:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861808896001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1854357177182447616}} 
[2026-09-04 17:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":173557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:23:24] local.INFO: GPS data processed {"connection_id":173557,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:23:24] local.INFO: Acknowledgment sent {"connection_id":173557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:23:27] local.INFO: TCP Data received {"connection_id":170859,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:23:27] local.INFO: Processing buffer {"connection_id":170859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:23:27] local.INFO: Packet analysis {"connection_id":170859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:23:27] local.INFO: Extracted packet for processing {"connection_id":170859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:23:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861747200001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788522751000,"timestamp_ms":1788522751000,"timestamp_seconds":1788522751,"priority":1,"record_length":96,"hex_timestamp":"000001a06c436418"} 
[2026-09-04 17:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861747200001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861747200001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:23:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:23:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861747200001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":170859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763888,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:23:27] local.INFO: GPS data processed {"connection_id":170859,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:23:27] local.INFO: Acknowledgment sent {"connection_id":170859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:23:44] local.INFO: TCP Data received {"connection_id":173558,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c439ac8012cc030000767a888004e009831..."} 
[2026-09-04 17:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c439ac8012cc030000767a888004e009831..."} 
[2026-09-04 17:23:44] local.INFO: Processing buffer {"connection_id":173558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c439ac8012cc030000767a888004e009831..."} 
[2026-09-04 17:23:44] local.INFO: Packet analysis {"connection_id":173558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:23:44] local.INFO: Extracted packet for processing {"connection_id":173558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:23:44] local.INFO: GPS Element Parsed {"raw_longitude":750792704,"raw_latitude":124233864,"longitude_deg":75.0792704,"latitude_deg":12.4233864,"altitude":78,"angle":152,"satellites":49,"speed":52,"hex_longitude":"2cc03000","hex_latitude":"0767a888","is_valid_coordinates":true} 
[2026-09-04 17:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861826048001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398207119754526720,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4602960262343491584,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788522765000,"timestamp_ms":1788522765000,"timestamp_seconds":1788522765,"priority":1,"record_length":96,"hex_timestamp":"000001a06c439ac8"} 
[2026-09-04 17:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 17:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861826048001,"66":27865,"42":206,"85":37888,"24":52,"16":398207119754526720,"44":-4602960262343491584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,44]} 
[2026-09-04 17:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861826048001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:23:44] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-04 17:23:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398207119754526720,"km_value":398207119754526.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:23:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4602960262343491584,"description":"Unknown IO ID 44"} 
[2026-09-04 17:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861826048001,"power":27865,"unknown_42":206,"unknown_85":37888,"ignition":52,"odometer":null,"unknown_44":-4602960262343491584}} 
[2026-09-04 17:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":173558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:23:44] local.INFO: GPS data processed {"connection_id":173558,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:23:44] local.INFO: Acknowledgment sent {"connection_id":173558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:23:47] local.INFO: TCP Data received {"connection_id":171158,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:23:47] local.INFO: Processing buffer {"connection_id":171158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:23:47] local.INFO: IMEI packet received {"connection_id":171158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":171158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:23:49] local.INFO: TCP Data received {"connection_id":172256,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:23:49] local.INFO: Processing buffer {"connection_id":172256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:23:49] local.INFO: IMEI packet received {"connection_id":172256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":172256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:23:51] local.INFO: TCP Data received {"connection_id":171158,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:23:51] local.INFO: Processing buffer {"connection_id":171158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:23:51] local.INFO: IMEI packet received {"connection_id":171158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":171158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:23:52] local.INFO: TCP Data received {"connection_id":171158,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:23:52] local.INFO: Processing buffer {"connection_id":171158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:23:52] local.INFO: IMEI packet received {"connection_id":171158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":171158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:23:52] local.INFO: TCP Data received {"connection_id":171158,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:23:52] local.INFO: Processing buffer {"connection_id":171158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:23:52] local.INFO: IMEI packet received {"connection_id":171158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":171158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:23:53] local.INFO: TCP Data received {"connection_id":171158,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c43e500012d19cc8007201a48002d009428..."} 
[2026-09-04 17:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c43e500012d19cc8007201a48002d009428..."} 
[2026-09-04 17:23:53] local.INFO: Processing buffer {"connection_id":171158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c43e500012d19cc8007201a48002d009428..."} 
[2026-09-04 17:23:53] local.INFO: Packet analysis {"connection_id":171158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:23:53] local.INFO: Extracted packet for processing {"connection_id":171158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119544392,"longitude_deg":75.6665472,"latitude_deg":11.9544392,"altitude":45,"angle":148,"satellites":40,"speed":31,"hex_longitude":"2d19cc80","hex_latitude":"07201a48","is_valid_coordinates":true} 
[2026-09-04 17:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861829632001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17348953456508928,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864617082880,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788522784000,"timestamp_ms":1788522784000,"timestamp_seconds":1788522784,"priority":1,"record_length":96,"hex_timestamp":"000001a06c43e500"} 
[2026-09-04 17:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-04 17:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861829632001,"66":14363,"101":206,"83":41984,"24":31,"16":17348953456508928,"45":1855060864617082880},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 17:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861829632001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:23:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 17:23:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17348953456508928,"km_value":17348953456508.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864617082880,"description":"Unknown IO ID 45"} 
[2026-09-04 17:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861829632001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1855060864617082880}} 
[2026-09-04 17:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":171158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:23:53] local.INFO: GPS data processed {"connection_id":171158,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:23:53] local.INFO: Acknowledgment sent {"connection_id":171158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:23:54] local.INFO: TCP Data received {"connection_id":172256,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:23:54] local.INFO: Processing buffer {"connection_id":172256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:23:54] local.INFO: IMEI packet received {"connection_id":172256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":172256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:23:54] local.INFO: TCP Data received {"connection_id":171158,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c43e500012d19cc8007201a48002d009428..."} 
[2026-09-04 17:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c43e500012d19cc8007201a48002d009428..."} 
[2026-09-04 17:23:54] local.INFO: Processing buffer {"connection_id":171158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c43e500012d19cc8007201a48002d009428..."} 
[2026-09-04 17:23:54] local.INFO: Packet analysis {"connection_id":171158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:23:54] local.INFO: Extracted packet for processing {"connection_id":171158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:23:54] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119544392,"longitude_deg":75.6665472,"latitude_deg":11.9544392,"altitude":45,"angle":148,"satellites":40,"speed":31,"hex_longitude":"2d19cc80","hex_latitude":"07201a48","is_valid_coordinates":true} 
[2026-09-04 17:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861832704001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17348953456508928,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859001514288891904,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788522784000,"timestamp_ms":1788522784000,"timestamp_seconds":1788522784,"priority":1,"record_length":96,"hex_timestamp":"000001a06c43e500"} 
[2026-09-04 17:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-04 17:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861832704001,"66":14363,"101":206,"83":41984,"24":31,"16":17348953456508928,"45":1859001514288891904},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 17:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861832704001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:23:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 17:23:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17348953456508928,"km_value":17348953456508.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859001514288891904,"description":"Unknown IO ID 45"} 
[2026-09-04 17:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861832704001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1859001514288891904}} 
[2026-09-04 17:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":171158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:23:54] local.INFO: GPS data processed {"connection_id":171158,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:23:54] local.INFO: Acknowledgment sent {"connection_id":171158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:23:55] local.INFO: TCP Data received {"connection_id":172256,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:23:55] local.INFO: Processing buffer {"connection_id":172256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:23:55] local.INFO: Packet analysis {"connection_id":172256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:23:55] local.INFO: Extracted packet for processing {"connection_id":172256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861747200001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788522751000,"timestamp_ms":1788522751000,"timestamp_seconds":1788522751,"priority":1,"record_length":96,"hex_timestamp":"000001a06c436418"} 
[2026-09-04 17:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861747200001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861747200001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:23:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861747200001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":172256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:23:55] local.INFO: GPS data processed {"connection_id":172256,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:23:55] local.INFO: Acknowledgment sent {"connection_id":172256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:23:58] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:23:58] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:23:58] local.INFO: IMEI packet received {"connection_id":173559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":173559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:24:00] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:24:00] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:24:00] local.INFO: IMEI packet received {"connection_id":173559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":173559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:24:04] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:24:04] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:24:04] local.INFO: IMEI packet received {"connection_id":173559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":173559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:24:05] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c43b620012cc04180076788a8004c009431..."} 
[2026-09-04 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c43b620012cc04180076788a8004c009431..."} 
[2026-09-04 17:24:05] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c43b620012cc04180076788a8004c009431..."} 
[2026-09-04 17:24:05] local.INFO: Packet analysis {"connection_id":173559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:24:05] local.INFO: Extracted packet for processing {"connection_id":173559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:24:05] local.INFO: GPS Element Parsed {"raw_longitude":750797184,"raw_latitude":124225704,"longitude_deg":75.0797184,"latitude_deg":12.4225704,"altitude":76,"angle":148,"satellites":49,"speed":53,"hex_longitude":"2cc04180","hex_latitude":"076788a8","is_valid_coordinates":true} 
[2026-09-04 17:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861827840001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398207570726092800,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4598175187741407232,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788522772000,"timestamp_ms":1788522772000,"timestamp_seconds":1788522772,"priority":1,"record_length":96,"hex_timestamp":"000001a06c43b620"} 
[2026-09-04 17:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861827840001,"66":27876,"42":206,"85":37888,"24":53,"16":398207570726092800,"44":-4598175187741407232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,44]} 
[2026-09-04 17:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861827840001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:24:05] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-04 17:24:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398207570726092800,"km_value":398207570726092.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:24:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4598175187741407232,"description":"Unknown IO ID 44"} 
[2026-09-04 17:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861827840001,"power":27876,"unknown_42":206,"unknown_85":37888,"ignition":53,"odometer":null,"unknown_44":-4598175187741407232}} 
[2026-09-04 17:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":173559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:24:05] local.INFO: GPS data processed {"connection_id":173559,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:24:05] local.INFO: Acknowledgment sent {"connection_id":173559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:24:25] local.INFO: TCP Data received {"connection_id":171158,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c445e18012d19c3c0071ff0c0002d01052c..."} 
[2026-09-04 17:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c445e18012d19c3c0071ff0c0002d01052c..."} 
[2026-09-04 17:24:25] local.INFO: Processing buffer {"connection_id":171158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c445e18012d19c3c0071ff0c0002d01052c..."} 
[2026-09-04 17:24:25] local.INFO: Packet analysis {"connection_id":171158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c44"} 
[2026-09-04 17:24:25] local.INFO: Extracted packet for processing {"connection_id":171158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c44"} 
[2026-09-04 17:24:25] local.INFO: GPS Element Parsed {"raw_longitude":756663232,"raw_latitude":119533760,"longitude_deg":75.6663232,"latitude_deg":11.953376,"altitude":45,"angle":261,"satellites":44,"speed":23,"hex_longitude":"2d19c3c0","hex_latitude":"071ff0c0","is_valid_coordinates":true} 
[2026-09-04 17:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861840128001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17349743730491392,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857664508146839552,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788522815000,"timestamp_ms":1788522815000,"timestamp_seconds":1788522815,"priority":1,"record_length":96,"hex_timestamp":"000001a06c445e18"} 
[2026-09-04 17:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 17:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861840128001,"66":14048,"101":206,"83":41984,"24":23,"16":17349743730491392,"45":1857664508146839552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 17:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861840128001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:24:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 17:24:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17349743730491392,"km_value":17349743730491.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857664508146839552,"description":"Unknown IO ID 45"} 
[2026-09-04 17:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861840128001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1857664508146839552}} 
[2026-09-04 17:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":171158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:24:25] local.INFO: GPS data processed {"connection_id":171158,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:24:25] local.INFO: Acknowledgment sent {"connection_id":171158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:24:26] local.INFO: TCP Data received {"connection_id":172256,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:24:26] local.INFO: Processing buffer {"connection_id":172256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:24:26] local.INFO: Packet analysis {"connection_id":172256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:24:26] local.INFO: Extracted packet for processing {"connection_id":172256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:24:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861747200001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788522751000,"timestamp_ms":1788522751000,"timestamp_seconds":1788522751,"priority":1,"record_length":96,"hex_timestamp":"000001a06c436418"} 
[2026-09-04 17:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861747200001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861747200001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:24:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:24:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861747200001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":172256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763895,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:24:27] local.INFO: GPS data processed {"connection_id":172256,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:24:27] local.INFO: Acknowledgment sent {"connection_id":172256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:24:43] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c43d178012cc0584007676b70004b008933..."} 
[2026-09-04 17:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c43d178012cc0584007676b70004b008933..."} 
[2026-09-04 17:24:43] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c43d178012cc0584007676b70004b008933..."} 
[2026-09-04 17:24:43] local.INFO: Packet analysis {"connection_id":173559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:24:43] local.INFO: Extracted packet for processing {"connection_id":173559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:24:43] local.INFO: GPS Element Parsed {"raw_longitude":750803008,"raw_latitude":124218224,"longitude_deg":75.0803008,"latitude_deg":12.4218224,"altitude":75,"angle":137,"satellites":51,"speed":50,"hex_longitude":"2cc05840","hex_latitude":"07676b70","is_valid_coordinates":true} 
[2026-09-04 17:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861829632001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398208021697658880,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4593249375651059712,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788522779000,"timestamp_ms":1788522779000,"timestamp_seconds":1788522779,"priority":1,"record_length":96,"hex_timestamp":"000001a06c43d178"} 
[2026-09-04 17:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 17:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861829632001,"66":27876,"42":206,"85":37888,"24":50,"16":398208021697658880,"44":-4593249375651059712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,44]} 
[2026-09-04 17:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861829632001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:24:43] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-04 17:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398208021697658880,"km_value":398208021697658.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:24:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4593249375651059712,"description":"Unknown IO ID 44"} 
[2026-09-04 17:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861829632001,"power":27876,"unknown_42":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-4593249375651059712}} 
[2026-09-04 17:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":173559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:24:43] local.INFO: GPS data processed {"connection_id":173559,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:24:43] local.INFO: Acknowledgment sent {"connection_id":173559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:24:47] local.INFO: TCP Data received {"connection_id":170861,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:24:47] local.INFO: Processing buffer {"connection_id":170861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:24:47] local.INFO: IMEI packet received {"connection_id":170861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":170861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:24:48] local.INFO: TCP Data received {"connection_id":170861,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:24:48] local.INFO: Processing buffer {"connection_id":170861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:24:48] local.INFO: IMEI packet received {"connection_id":170861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":170861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:24:49] local.INFO: TCP Data received {"connection_id":170860,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:24:49] local.INFO: Processing buffer {"connection_id":170860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:24:49] local.INFO: IMEI packet received {"connection_id":170860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":170860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:24:51] local.INFO: TCP Data received {"connection_id":170861,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:24:51] local.INFO: Processing buffer {"connection_id":170861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:24:51] local.INFO: IMEI packet received {"connection_id":170861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":170861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:24:52] local.INFO: TCP Data received {"connection_id":170861,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:24:52] local.INFO: Processing buffer {"connection_id":170861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:24:52] local.INFO: IMEI packet received {"connection_id":170861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":170861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:24:54] local.INFO: TCP Data received {"connection_id":170860,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:24:54] local.INFO: Processing buffer {"connection_id":170860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:24:54] local.INFO: IMEI packet received {"connection_id":170860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":170860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:24:55] local.INFO: TCP Data received {"connection_id":170860,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:24:55] local.INFO: Processing buffer {"connection_id":170860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:24:55] local.INFO: Packet analysis {"connection_id":170860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:24:55] local.INFO: Extracted packet for processing {"connection_id":170860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:24:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861747200001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788522751000,"timestamp_ms":1788522751000,"timestamp_seconds":1788522751,"priority":1,"record_length":96,"hex_timestamp":"000001a06c436418"} 
[2026-09-04 17:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861747200001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861747200001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:24:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:24:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861747200001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":170860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:24:55] local.INFO: GPS data processed {"connection_id":170860,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:24:55] local.INFO: Acknowledgment sent {"connection_id":170860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:24:59] local.INFO: TCP Data received {"connection_id":171159,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:24:59] local.INFO: Processing buffer {"connection_id":171159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:24:59] local.INFO: IMEI packet received {"connection_id":171159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":171159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:25:01] local.INFO: TCP Data received {"connection_id":171159,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:25:01] local.INFO: Processing buffer {"connection_id":171159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:25:01] local.INFO: IMEI packet received {"connection_id":171159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":171159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:25:04] local.INFO: TCP Data received {"connection_id":171159,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:25:04] local.INFO: Processing buffer {"connection_id":171159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:25:04] local.INFO: IMEI packet received {"connection_id":171159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":171159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:25:05] local.INFO: TCP Data received {"connection_id":171159,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c43ecd0012cc072c007675468004a008033..."} 
[2026-09-04 17:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c43ecd0012cc072c007675468004a008033..."} 
[2026-09-04 17:25:05] local.INFO: Processing buffer {"connection_id":171159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c43ecd0012cc072c007675468004a008033..."} 
[2026-09-04 17:25:05] local.INFO: Packet analysis {"connection_id":171159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:25:05] local.INFO: Extracted packet for processing {"connection_id":171159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:25:05] local.INFO: GPS Element Parsed {"raw_longitude":750809792,"raw_latitude":124212328,"longitude_deg":75.0809792,"latitude_deg":12.4212328,"altitude":74,"angle":128,"satellites":51,"speed":52,"hex_longitude":"2cc072c0","hex_latitude":"07675468","is_valid_coordinates":true} 
[2026-09-04 17:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861831424001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398208455489355776,"note":"Value kept but may cause issues"} 
[2026-09-04 17:25:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4586845819932807168,"note":"Value kept but may cause issues"} 
[2026-09-04 17:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788522786000,"timestamp_ms":1788522786000,"timestamp_seconds":1788522786,"priority":1,"record_length":96,"hex_timestamp":"000001a06c43ecd0"} 
[2026-09-04 17:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 17:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861831424001,"66":27821,"42":206,"85":37888,"24":52,"16":398208455489355776,"44":-4586845819932807168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,44]} 
[2026-09-04 17:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861831424001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:25:05] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-04 17:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-04 17:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398208455489355776,"km_value":398208455489355.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:25:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4586845819932807168,"description":"Unknown IO ID 44"} 
[2026-09-04 17:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861831424001,"power":27821,"unknown_42":206,"unknown_85":37888,"ignition":52,"odometer":null,"unknown_44":-4586845819932807168}} 
[2026-09-04 17:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":171159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:25:05] local.INFO: GPS data processed {"connection_id":171159,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:25:05] local.INFO: Acknowledgment sent {"connection_id":171159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:25:27] local.INFO: TCP Data received {"connection_id":170860,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:25:27] local.INFO: Processing buffer {"connection_id":170860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:25:27] local.INFO: Packet analysis {"connection_id":170860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:25:27] local.INFO: Extracted packet for processing {"connection_id":170860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:25:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861747200001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788522751000,"timestamp_ms":1788522751000,"timestamp_seconds":1788522751,"priority":1,"record_length":96,"hex_timestamp":"000001a06c436418"} 
[2026-09-04 17:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861747200001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861747200001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:25:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861747200001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":170860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763899,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:25:27] local.INFO: GPS data processed {"connection_id":170860,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:25:27] local.INFO: Acknowledgment sent {"connection_id":170860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:25:36] local.INFO: TCP Data received {"connection_id":171159,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c455818012cc1e8c0076665100058008c32..."} 
[2026-09-04 17:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c455818012cc1e8c0076665100058008c32..."} 
[2026-09-04 17:25:36] local.INFO: Processing buffer {"connection_id":171159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c455818012cc1e8c0076665100058008c32..."} 
[2026-09-04 17:25:36] local.INFO: Packet analysis {"connection_id":171159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c45"} 
[2026-09-04 17:25:36] local.INFO: Extracted packet for processing {"connection_id":171159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c45"} 
[2026-09-04 17:25:36] local.INFO: GPS Element Parsed {"raw_longitude":750905536,"raw_latitude":124151056,"longitude_deg":75.0905536,"latitude_deg":12.4151056,"altitude":88,"angle":140,"satellites":50,"speed":48,"hex_longitude":"2cc1e8c0","hex_latitude":"07666510","is_valid_coordinates":true} 
[2026-09-04 17:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861854976001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398213897212919808,"note":"Value kept but may cause issues"} 
[2026-09-04 17:25:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4481785284891009024,"note":"Value kept but may cause issues"} 
[2026-09-04 17:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788522879000,"timestamp_ms":1788522879000,"timestamp_seconds":1788522879,"priority":1,"record_length":96,"hex_timestamp":"000001a06c455818"} 
[2026-09-04 17:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 17:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861854976001,"66":27930,"211":206,"85":37120,"24":48,"16":398213897212919808,"44":-4481785284891009024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,44]} 
[2026-09-04 17:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861854976001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:25:36] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-04 17:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398213897212919808,"km_value":398213897212919.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:25:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4481785284891009024,"description":"Unknown IO ID 44"} 
[2026-09-04 17:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861854976001,"power":27930,"unknown_211":206,"unknown_85":37120,"ignition":48,"odometer":null,"unknown_44":-4481785284891009024}} 
[2026-09-04 17:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":171159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:25:36] local.INFO: GPS data processed {"connection_id":171159,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:25:36] local.INFO: Acknowledgment sent {"connection_id":171159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:25:48] local.INFO: TCP Data received {"connection_id":171160,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:25:48] local.INFO: Processing buffer {"connection_id":171160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:25:48] local.INFO: IMEI packet received {"connection_id":171160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":171160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:25:54] local.INFO: TCP Data received {"connection_id":171160,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:25:54] local.INFO: Processing buffer {"connection_id":171160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:25:54] local.INFO: IMEI packet received {"connection_id":171160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":171160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:25:55] local.INFO: TCP Data received {"connection_id":171160,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:25:55] local.INFO: Processing buffer {"connection_id":171160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:25:55] local.INFO: Packet analysis {"connection_id":171160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:25:55] local.INFO: Extracted packet for processing {"connection_id":171160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:25:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861747200001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788522751000,"timestamp_ms":1788522751000,"timestamp_seconds":1788522751,"priority":1,"record_length":96,"hex_timestamp":"000001a06c436418"} 
[2026-09-04 17:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861747200001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861747200001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:25:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:25:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861747200001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":171160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763901,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:25:55] local.INFO: GPS data processed {"connection_id":171160,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:25:55] local.INFO: Acknowledgment sent {"connection_id":171160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:25:58] local.INFO: TCP Data received {"connection_id":172258,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:25:58] local.INFO: Processing buffer {"connection_id":172258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:25:58] local.INFO: IMEI packet received {"connection_id":172258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":172258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:26:01] local.INFO: TCP Data received {"connection_id":172258,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:26:01] local.INFO: Processing buffer {"connection_id":172258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:26:01] local.INFO: IMEI packet received {"connection_id":172258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":172258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:26:04] local.INFO: TCP Data received {"connection_id":172258,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:26:04] local.INFO: Processing buffer {"connection_id":172258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:26:04] local.INFO: IMEI packet received {"connection_id":172258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":172258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:26:05] local.INFO: TCP Data received {"connection_id":172258,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c457758012cc1ffc0076645e00056009432..."} 
[2026-09-04 17:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c457758012cc1ffc0076645e00056009432..."} 
[2026-09-04 17:26:05] local.INFO: Processing buffer {"connection_id":172258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c457758012cc1ffc0076645e00056009432..."} 
[2026-09-04 17:26:05] local.INFO: Packet analysis {"connection_id":172258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c45"} 
[2026-09-04 17:26:05] local.INFO: Extracted packet for processing {"connection_id":172258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c45"} 
[2026-09-04 17:26:05] local.INFO: GPS Element Parsed {"raw_longitude":750911424,"raw_latitude":124143072,"longitude_deg":75.0911424,"latitude_deg":12.4143072,"altitude":86,"angle":148,"satellites":50,"speed":50,"hex_longitude":"2cc1ffc0","hex_latitude":"076645e0","is_valid_coordinates":true} 
[2026-09-04 17:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861857024001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398214373954289664,"note":"Value kept but may cause issues"} 
[2026-09-04 17:26:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4474115091777384448,"note":"Value kept but may cause issues"} 
[2026-09-04 17:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788522887000,"timestamp_ms":1788522887000,"timestamp_seconds":1788522887,"priority":1,"record_length":96,"hex_timestamp":"000001a06c457758"} 
[2026-09-04 17:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 17:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861857024001,"66":27843,"211":206,"85":37120,"24":50,"16":398214373954289664,"44":-4474115091777384448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,44]} 
[2026-09-04 17:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861857024001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:26:05] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-04 17:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398214373954289664,"km_value":398214373954289.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:26:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4474115091777384448,"description":"Unknown IO ID 44"} 
[2026-09-04 17:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861857024001,"power":27843,"unknown_211":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4474115091777384448}} 
[2026-09-04 17:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":172258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:26:05] local.INFO: GPS data processed {"connection_id":172258,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:26:05] local.INFO: Acknowledgment sent {"connection_id":172258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:26:27] local.INFO: TCP Data received {"connection_id":171160,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:26:27] local.INFO: Processing buffer {"connection_id":171160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:26:27] local.INFO: Packet analysis {"connection_id":171160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:26:27] local.INFO: Extracted packet for processing {"connection_id":171160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:26:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861747200001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788522751000,"timestamp_ms":1788522751000,"timestamp_seconds":1788522751,"priority":1,"record_length":96,"hex_timestamp":"000001a06c436418"} 
[2026-09-04 17:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861747200001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861747200001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:26:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:26:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861747200001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":171160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:26:27] local.INFO: GPS data processed {"connection_id":171160,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:26:27] local.INFO: Acknowledgment sent {"connection_id":171160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:26:36] local.INFO: TCP Data received {"connection_id":172258,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4592b0012cc20fc0076626c80054009b31..."} 
[2026-09-04 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4592b0012cc20fc0076626c80054009b31..."} 
[2026-09-04 17:26:36] local.INFO: Processing buffer {"connection_id":172258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4592b0012cc20fc0076626c80054009b31..."} 
[2026-09-04 17:26:36] local.INFO: Packet analysis {"connection_id":172258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c45"} 
[2026-09-04 17:26:36] local.INFO: Extracted packet for processing {"connection_id":172258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c45"} 
[2026-09-04 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":750915520,"raw_latitude":124135112,"longitude_deg":75.091552,"latitude_deg":12.4135112,"altitude":84,"angle":155,"satellites":49,"speed":51,"hex_longitude":"2cc20fc0","hex_latitude":"076626c8","is_valid_coordinates":true} 
[2026-09-04 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861859072001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398214807745986560,"note":"Value kept but may cause issues"} 
[2026-09-04 17:26:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4467641167315083264,"note":"Value kept but may cause issues"} 
[2026-09-04 17:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788522894000,"timestamp_ms":1788522894000,"timestamp_seconds":1788522894,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4592b0"} 
[2026-09-04 17:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 17:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861859072001,"66":27887,"211":206,"85":37120,"24":51,"16":398214807745986560,"44":-4467641167315083264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,44]} 
[2026-09-04 17:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861859072001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:26:36] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-04 17:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398214807745986560,"km_value":398214807745986.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:26:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4467641167315083264,"description":"Unknown IO ID 44"} 
[2026-09-04 17:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861859072001,"power":27887,"unknown_211":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4467641167315083264}} 
[2026-09-04 17:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":172258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:26:36] local.INFO: GPS data processed {"connection_id":172258,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:26:36] local.INFO: Acknowledgment sent {"connection_id":172258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:26:48] local.INFO: TCP Data received {"connection_id":173561,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:26:48] local.INFO: Processing buffer {"connection_id":173561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:26:48] local.INFO: IMEI packet received {"connection_id":173561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":173561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:26:54] local.INFO: TCP Data received {"connection_id":173561,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:26:54] local.INFO: Processing buffer {"connection_id":173561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:26:54] local.INFO: IMEI packet received {"connection_id":173561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":173561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:26:55] local.INFO: TCP Data received {"connection_id":173561,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:26:55] local.INFO: Processing buffer {"connection_id":173561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:26:55] local.INFO: Packet analysis {"connection_id":173561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:26:55] local.INFO: Extracted packet for processing {"connection_id":173561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:26:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861747200001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788522751000,"timestamp_ms":1788522751000,"timestamp_seconds":1788522751,"priority":1,"record_length":96,"hex_timestamp":"000001a06c436418"} 
[2026-09-04 17:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861747200001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861747200001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:26:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:26:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861747200001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":173561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763905,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:26:55] local.INFO: GPS data processed {"connection_id":173561,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:26:55] local.INFO: Acknowledgment sent {"connection_id":173561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:26:58] local.INFO: TCP Data received {"connection_id":171161,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:26:58] local.INFO: Processing buffer {"connection_id":171161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:26:58] local.INFO: IMEI packet received {"connection_id":171161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":171161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:27:00] local.INFO: TCP Data received {"connection_id":171161,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:27:00] local.INFO: Processing buffer {"connection_id":171161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:27:00] local.INFO: IMEI packet received {"connection_id":171161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":171161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:27:04] local.INFO: TCP Data received {"connection_id":171161,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:27:04] local.INFO: Processing buffer {"connection_id":171161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:27:04] local.INFO: IMEI packet received {"connection_id":171161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":171161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:27:05] local.INFO: TCP Data received {"connection_id":171161,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c45ae08012cc21f00076606000051009b32..."} 
[2026-09-04 17:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c45ae08012cc21f00076606000051009b32..."} 
[2026-09-04 17:27:05] local.INFO: Processing buffer {"connection_id":171161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c45ae08012cc21f00076606000051009b32..."} 
[2026-09-04 17:27:05] local.INFO: Packet analysis {"connection_id":171161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c45"} 
[2026-09-04 17:27:05] local.INFO: Extracted packet for processing {"connection_id":171161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c45"} 
[2026-09-04 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":750919424,"raw_latitude":124126720,"longitude_deg":75.0919424,"latitude_deg":12.412672,"altitude":81,"angle":155,"satellites":50,"speed":52,"hex_longitude":"2cc21f00","hex_latitude":"07660600","is_valid_coordinates":true} 
[2026-09-04 17:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861860864001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398215254422585344,"note":"Value kept but may cause issues"} 
[2026-09-04 17:27:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4463137567689750528,"note":"Value kept but may cause issues"} 
[2026-09-04 17:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788522901000,"timestamp_ms":1788522901000,"timestamp_seconds":1788522901,"priority":1,"record_length":96,"hex_timestamp":"000001a06c45ae08"} 
[2026-09-04 17:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 17:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861860864001,"66":27745,"211":206,"85":37120,"24":52,"16":398215254422585344,"44":-4463137567689750528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,44]} 
[2026-09-04 17:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861860864001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:27:05] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-04 17:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398215254422585344,"km_value":398215254422585.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:27:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4463137567689750528,"description":"Unknown IO ID 44"} 
[2026-09-04 17:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861860864001,"power":27745,"unknown_211":206,"unknown_85":37120,"ignition":52,"odometer":null,"unknown_44":-4463137567689750528}} 
[2026-09-04 17:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":171161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:27:05] local.INFO: GPS data processed {"connection_id":171161,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:27:05] local.INFO: Acknowledgment sent {"connection_id":171161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:27:27] local.INFO: TCP Data received {"connection_id":173561,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:27:27] local.INFO: Processing buffer {"connection_id":173561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:27:27] local.INFO: Packet analysis {"connection_id":173561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:27:27] local.INFO: Extracted packet for processing {"connection_id":173561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:27:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861747200001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788522751000,"timestamp_ms":1788522751000,"timestamp_seconds":1788522751,"priority":1,"record_length":96,"hex_timestamp":"000001a06c436418"} 
[2026-09-04 17:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861747200001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861747200001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:27:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:27:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861747200001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":173561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763907,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:27:27] local.INFO: GPS data processed {"connection_id":173561,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:27:27] local.INFO: Acknowledgment sent {"connection_id":173561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:27:36] local.INFO: TCP Data received {"connection_id":171161,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c474060012cc2eac0076467080057009d32..."} 
[2026-09-04 17:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c474060012cc2eac0076467080057009d32..."} 
[2026-09-04 17:27:36] local.INFO: Processing buffer {"connection_id":171161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c474060012cc2eac0076467080057009d32..."} 
[2026-09-04 17:27:36] local.INFO: Packet analysis {"connection_id":171161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:27:36] local.INFO: Extracted packet for processing {"connection_id":171161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:27:36] local.INFO: GPS Element Parsed {"raw_longitude":750971584,"raw_latitude":124020488,"longitude_deg":75.0971584,"latitude_deg":12.4020488,"altitude":87,"angle":157,"satellites":50,"speed":43,"hex_longitude":"2cc2eac0","hex_latitude":"07646708","is_valid_coordinates":true} 
[2026-09-04 17:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861886976001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398221198657323008,"note":"Value kept but may cause issues"} 
[2026-09-04 17:27:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4405153722514579456,"note":"Value kept but may cause issues"} 
[2026-09-04 17:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788523004000,"timestamp_ms":1788523004000,"timestamp_seconds":1788523004,"priority":1,"record_length":96,"hex_timestamp":"000001a06c474060"} 
[2026-09-04 17:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 17:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861886976001,"66":27908,"158":206,"85":37120,"24":43,"16":398221198657323008,"44":-4405153722514579456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-04 17:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861886976001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:27:36] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-04 17:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398221198657323008,"km_value":398221198657323.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:27:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4405153722514579456,"description":"Unknown IO ID 44"} 
[2026-09-04 17:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861886976001,"power":27908,"unknown_158":206,"unknown_85":37120,"ignition":43,"odometer":null,"unknown_44":-4405153722514579456}} 
[2026-09-04 17:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":171161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:27:36] local.INFO: GPS data processed {"connection_id":171161,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:27:36] local.INFO: Acknowledgment sent {"connection_id":171161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:27:54] local.INFO: TCP Data received {"connection_id":170862,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:27:54] local.INFO: Processing buffer {"connection_id":170862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:27:54] local.INFO: IMEI packet received {"connection_id":170862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":170862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:27:59] local.INFO: TCP Data received {"connection_id":170862,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:27:59] local.INFO: Processing buffer {"connection_id":170862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:27:59] local.INFO: IMEI packet received {"connection_id":170862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":170862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:28:00] local.INFO: TCP Data received {"connection_id":170862,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:28:00] local.INFO: Processing buffer {"connection_id":170862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:28:00] local.INFO: Packet analysis {"connection_id":170862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:28:00] local.INFO: Extracted packet for processing {"connection_id":170862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:28:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861747200001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788522751000,"timestamp_ms":1788522751000,"timestamp_seconds":1788522751,"priority":1,"record_length":96,"hex_timestamp":"000001a06c436418"} 
[2026-09-04 17:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861747200001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861747200001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:28:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:28:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861747200001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":170862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:28:00] local.INFO: GPS data processed {"connection_id":170862,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:28:00] local.INFO: Acknowledgment sent {"connection_id":170862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:28:04] local.INFO: TCP Data received {"connection_id":170862,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:28:04] local.INFO: Processing buffer {"connection_id":170862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c436418012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:28:04] local.INFO: Packet analysis {"connection_id":170862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:28:04] local.INFO: Extracted packet for processing {"connection_id":170862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c43"} 
[2026-09-04 17:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861747200001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788522751000,"timestamp_ms":1788522751000,"timestamp_seconds":1788522751,"priority":1,"record_length":96,"hex_timestamp":"000001a06c436418"} 
[2026-09-04 17:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861747200001,"66":25375,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861747200001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:28:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:28:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861747200001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":170862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763910,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:28:05] local.INFO: GPS data processed {"connection_id":170862,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:28:05] local.INFO: Acknowledgment sent {"connection_id":170862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:28:10] local.INFO: TCP Data received {"connection_id":171162,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:10] local.INFO: Processing buffer {"connection_id":171162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:10] local.INFO: IMEI packet received {"connection_id":171162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":171162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:28:13] local.INFO: TCP Data received {"connection_id":171162,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:13] local.INFO: Processing buffer {"connection_id":171162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:13] local.INFO: IMEI packet received {"connection_id":171162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":171162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:28:18] local.INFO: TCP Data received {"connection_id":171162,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:18] local.INFO: Processing buffer {"connection_id":171162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:18] local.INFO: IMEI packet received {"connection_id":171162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":171162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:28:19] local.INFO: TCP Data received {"connection_id":171162,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c475fa0012cc2f540076445f8005700a832..."} 
[2026-09-04 17:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c475fa0012cc2f540076445f8005700a832..."} 
[2026-09-04 17:28:19] local.INFO: Processing buffer {"connection_id":171162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c475fa0012cc2f540076445f8005700a832..."} 
[2026-09-04 17:28:19] local.INFO: Packet analysis {"connection_id":171162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:28:19] local.INFO: Extracted packet for processing {"connection_id":171162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:28:19] local.INFO: GPS Element Parsed {"raw_longitude":750974272,"raw_latitude":124012024,"longitude_deg":75.0974272,"latitude_deg":12.4012024,"altitude":87,"angle":168,"satellites":50,"speed":45,"hex_longitude":"2cc2f540","hex_latitude":"076445f8","is_valid_coordinates":true} 
[2026-09-04 17:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861889024001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398221628154052608,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4401494547819460608,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788523012000,"timestamp_ms":1788523012000,"timestamp_seconds":1788523012,"priority":1,"record_length":96,"hex_timestamp":"000001a06c475fa0"} 
[2026-09-04 17:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 17:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":171162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":171162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":171162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861889024001,"66":27919,"158":206,"85":37120,"24":45,"16":398221628154052608,"44":-4401494547819460608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-04 17:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861889024001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:28:19] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-04 17:28:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398221628154052608,"km_value":398221628154052.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:28:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4401494547819460608,"description":"Unknown IO ID 44"} 
[2026-09-04 17:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861889024001,"power":27919,"unknown_158":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4401494547819460608}} 
[2026-09-04 17:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":171162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:28:19] local.INFO: GPS data processed {"connection_id":171162,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:28:19] local.INFO: Acknowledgment sent {"connection_id":171162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:28:19] local.INFO: TCP Data received {"connection_id":171162,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c475fa0012cc2f540076445f8005700a832..."} 
[2026-09-04 17:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c475fa0012cc2f540076445f8005700a832..."} 
[2026-09-04 17:28:19] local.INFO: Processing buffer {"connection_id":171162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c475fa0012cc2f540076445f8005700a832..."} 
[2026-09-04 17:28:19] local.INFO: Packet analysis {"connection_id":171162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:28:19] local.INFO: Extracted packet for processing {"connection_id":171162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:28:19] local.INFO: GPS Element Parsed {"raw_longitude":750974272,"raw_latitude":124012024,"longitude_deg":75.0974272,"latitude_deg":12.4012024,"altitude":87,"angle":168,"satellites":50,"speed":45,"hex_longitude":"2cc2f540","hex_latitude":"076445f8","is_valid_coordinates":true} 
[2026-09-04 17:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861891072001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398221628154052608,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4398539060566165504,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788523012000,"timestamp_ms":1788523012000,"timestamp_seconds":1788523012,"priority":1,"record_length":96,"hex_timestamp":"000001a06c475fa0"} 
[2026-09-04 17:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 17:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":171162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":171162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":171162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861891072001,"66":27919,"158":206,"85":37120,"24":45,"16":398221628154052608,"44":-4398539060566165504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-04 17:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861891072001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:28:19] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-04 17:28:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398221628154052608,"km_value":398221628154052.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:28:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4398539060566165504,"description":"Unknown IO ID 44"} 
[2026-09-04 17:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861891072001,"power":27919,"unknown_158":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4398539060566165504}} 
[2026-09-04 17:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":171162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:28:20] local.INFO: GPS data processed {"connection_id":171162,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:28:20] local.INFO: Acknowledgment sent {"connection_id":171162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:28:48] local.INFO: TCP Data received {"connection_id":173563,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:28:48] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:28:48] local.INFO: IMEI packet received {"connection_id":173563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":173563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:28:54] local.INFO: TCP Data received {"connection_id":173563,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:28:54] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:28:54] local.INFO: IMEI packet received {"connection_id":173563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":173563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:28:56] local.INFO: TCP Data received {"connection_id":173563,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:28:56] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:28:56] local.INFO: Packet analysis {"connection_id":173563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:28:56] local.INFO: Extracted packet for processing {"connection_id":173563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:28:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861824256001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788523052000,"timestamp_ms":1788523052000,"timestamp_seconds":1788523052,"priority":1,"record_length":96,"hex_timestamp":"000001a06c47fbe0"} 
[2026-09-04 17:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861824256001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861824256001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:28:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:28:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861824256001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":173563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763913,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:28:56] local.INFO: GPS data processed {"connection_id":173563,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:28:56] local.INFO: Acknowledgment sent {"connection_id":173563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:28:56] local.INFO: TCP Data received {"connection_id":172259,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:56] local.INFO: Processing buffer {"connection_id":172259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:56] local.INFO: IMEI packet received {"connection_id":172259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":172259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:28:57] local.INFO: TCP Data received {"connection_id":172259,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:57] local.INFO: Processing buffer {"connection_id":172259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:57] local.INFO: IMEI packet received {"connection_id":172259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":172259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:28:59] local.INFO: TCP Data received {"connection_id":172259,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:59] local.INFO: Processing buffer {"connection_id":172259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:28:59] local.INFO: IMEI packet received {"connection_id":172259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":172259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:29:00] local.INFO: TCP Data received {"connection_id":172259,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:29:00] local.INFO: Processing buffer {"connection_id":172259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:29:00] local.INFO: IMEI packet received {"connection_id":172259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":172259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:29:26] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:29:26] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:29:26] local.INFO: IMEI packet received {"connection_id":172260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":172260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:29:27] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:29:27] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:29:27] local.INFO: IMEI packet received {"connection_id":172260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":172260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:29:27] local.INFO: TCP Data received {"connection_id":173563,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:29:27] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:29:27] local.INFO: Packet analysis {"connection_id":173563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:29:27] local.INFO: Extracted packet for processing {"connection_id":173563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:29:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861824256001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788523052000,"timestamp_ms":1788523052000,"timestamp_seconds":1788523052,"priority":1,"record_length":96,"hex_timestamp":"000001a06c47fbe0"} 
[2026-09-04 17:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861824256001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861824256001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:29:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:29:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861824256001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":173563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763914,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:29:27] local.INFO: GPS data processed {"connection_id":173563,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:29:27] local.INFO: Acknowledgment sent {"connection_id":173563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:29:32] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:29:32] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:29:32] local.INFO: IMEI packet received {"connection_id":172260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":172260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:29:33] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4874f8012d7b24c005d4aae8000000ae10..."} 
[2026-09-04 17:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4874f8012d7b24c005d4aae8000000ae10..."} 
[2026-09-04 17:29:33] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4874f8012d7b24c005d4aae8000000ae10..."} 
[2026-09-04 17:29:33] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c48"} 
[2026-09-04 17:29:33] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c48"} 
[2026-09-04 17:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763045056,"raw_latitude":97823464,"longitude_deg":76.3045056,"latitude_deg":9.7823464,"altitude":0,"angle":174,"satellites":16,"speed":24,"hex_longitude":"2d7b24c0","hex_latitude":"05d4aae8","is_valid_coordinates":true} 
[2026-09-04 17:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861904128001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128154149006082048,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872654240917182464,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788523083000,"timestamp_ms":1788523083000,"timestamp_seconds":1788523083,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4874f8"} 
[2026-09-04 17:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-04 17:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2017612633229755392,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:33] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:33] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:33] local.WARNING: Large IO value detected {"io_id":108,"raw_value":5152900831048830784,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2721775822,"corrected_to":0} 
[2026-09-04 17:29:33] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3221607732,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3077014076656665840,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:33] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3242817466648284757,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,59,19,24,241,158,16,75,160,3,45,192,222,10,66,74,216,2,173,128,1,240,181,108,213,4,113,205,35,8,239,51,199,5,33,53,204],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2721775822,"validated":0}]} 
[2026-09-04 17:29:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72237982666260480,"timestamp_seconds":72237982666260.48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 17:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861904128001,"66":13559,"59":206,"19":45824,"24":24,"16":128154149006082048,"45":8872654240917182464},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-09-04 17:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861904128001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:29:33] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-04 17:29:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128154149006082048,"km_value":128154149006082.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872654240917182464,"description":"Unknown IO ID 45"} 
[2026-09-04 17:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861904128001,"power":13559,"unknown_59":206,"unknown_19":45824,"ignition":24,"odometer":null,"unknown_45":8872654240917182464}} 
[2026-09-04 17:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:29:33] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:29:33] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:29:38] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c489ff0012d7b27c005d48658000000b110..."} 
[2026-09-04 17:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c489ff0012d7b27c005d48658000000b110..."} 
[2026-09-04 17:29:38] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c489ff0012d7b27c005d48658000000b110..."} 
[2026-09-04 17:29:38] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c48"} 
[2026-09-04 17:29:38] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c48"} 
[2026-09-04 17:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763045824,"raw_latitude":97814104,"longitude_deg":76.3045824,"latitude_deg":9.7814104,"altitude":0,"angle":177,"satellites":16,"speed":41,"hex_longitude":"2d7b27c0","hex_latitude":"05d48658","is_valid_coordinates":true} 
[2026-09-04 17:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861909248001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128154608567582720,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873428297102059520,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788523094000,"timestamp_ms":1788523094000,"timestamp_seconds":1788523094,"priority":1,"record_length":96,"hex_timestamp":"000001a06c489ff0"} 
[2026-09-04 17:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-04 17:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861909248001,"66":12982,"59":206,"19":45824,"24":41,"16":128154608567582720,"45":8873428297102059520},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-09-04 17:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861909248001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:29:38] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-04 17:29:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128154608567582720,"km_value":128154608567582.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873428297102059520,"description":"Unknown IO ID 45"} 
[2026-09-04 17:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861909248001,"power":12982,"unknown_59":206,"unknown_19":45824,"ignition":41,"odometer":null,"unknown_45":8873428297102059520}} 
[2026-09-04 17:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:29:38] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:29:38] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:29:48] local.INFO: TCP Data received {"connection_id":173564,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:29:48] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:29:48] local.INFO: IMEI packet received {"connection_id":173564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":173564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:29:52] local.INFO: TCP Data received {"connection_id":170864,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:29:52] local.INFO: Processing buffer {"connection_id":170864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:29:52] local.INFO: IMEI packet received {"connection_id":170864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":170864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:29:53] local.INFO: TCP Data received {"connection_id":170864,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c48fdb0012d196a0007206a500027014529..."} 
[2026-09-04 17:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c48fdb0012d196a0007206a500027014529..."} 
[2026-09-04 17:29:53] local.INFO: Processing buffer {"connection_id":170864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c48fdb0012d196a0007206a500027014529..."} 
[2026-09-04 17:29:53] local.INFO: Packet analysis {"connection_id":170864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c48"} 
[2026-09-04 17:29:53] local.INFO: Extracted packet for processing {"connection_id":170864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c48"} 
[2026-09-04 17:29:53] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119564880,"longitude_deg":75.6640256,"latitude_deg":11.956488,"altitude":39,"angle":325,"satellites":41,"speed":10,"hex_longitude":"2d196a00","hex_latitude":"07206a50","is_valid_coordinates":true} 
[2026-09-04 17:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861916672001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17352866171715584,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831839179041247232,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788523118000,"timestamp_ms":1788523118000,"timestamp_seconds":1788523118,"priority":1,"record_length":96,"hex_timestamp":"000001a06c48fdb0"} 
[2026-09-04 17:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 17:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861916672001,"66":13222,"103":206,"83":41984,"24":10,"16":17352866171715584,"45":1831839179041247232},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861916672001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:29:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:29:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17352866171715584,"km_value":17352866171715.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831839179041247232,"description":"Unknown IO ID 45"} 
[2026-09-04 17:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861916672001,"power":13222,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1831839179041247232}} 
[2026-09-04 17:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":170864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:29:53] local.INFO: GPS data processed {"connection_id":170864,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:29:53] local.INFO: Acknowledgment sent {"connection_id":170864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:29:54] local.INFO: TCP Data received {"connection_id":173564,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:29:54] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:29:54] local.INFO: IMEI packet received {"connection_id":173564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":173564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:29:55] local.INFO: TCP Data received {"connection_id":173564,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:29:55] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:29:55] local.INFO: Packet analysis {"connection_id":173564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:29:55] local.INFO: Extracted packet for processing {"connection_id":173564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:29:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861824256001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788523052000,"timestamp_ms":1788523052000,"timestamp_seconds":1788523052,"priority":1,"record_length":96,"hex_timestamp":"000001a06c47fbe0"} 
[2026-09-04 17:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861824256001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861824256001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:29:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:29:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861824256001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":173564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:29:55] local.INFO: GPS data processed {"connection_id":173564,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:29:55] local.INFO: Acknowledgment sent {"connection_id":173564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:30:09] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4a3248012d7b4e8005d368d8000000bf12..."} 
[2026-09-04 17:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4a3248012d7b4e8005d368d8000000bf12..."} 
[2026-09-04 17:30:09] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4a3248012d7b4e8005d368d8000000bf12..."} 
[2026-09-04 17:30:09] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4a"} 
[2026-09-04 17:30:09] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4a"} 
[2026-09-04 17:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763055744,"raw_latitude":97741016,"longitude_deg":76.3055744,"latitude_deg":9.7741016,"altitude":0,"angle":191,"satellites":18,"speed":12,"hex_longitude":"2d7b4e80","hex_latitude":"05d368d8","is_valid_coordinates":true} 
[2026-09-04 17:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861935104001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128158237814947840,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352336506880,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788523197000,"timestamp_ms":1788523197000,"timestamp_seconds":1788523197,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4a3248"} 
[2026-09-04 17:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 17:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861935104001,"66":13602,"165":206,"19":45824,"24":12,"16":128158237814947840,"45":8885461352336506880},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,19,24,16,45]} 
[2026-09-04 17:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861935104001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:30:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 17:30:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128158237814947840,"km_value":128158237814947.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352336506880,"description":"Unknown IO ID 45"} 
[2026-09-04 17:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861935104001,"power":13602,"unknown_165":206,"unknown_19":45824,"ignition":12,"odometer":null,"unknown_45":8885461352336506880}} 
[2026-09-04 17:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:30:09] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:30:09] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:30:24] local.INFO: TCP Data received {"connection_id":170864,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4924c0012d196540072072900028015329..."} 
[2026-09-04 17:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4924c0012d196540072072900028015329..."} 
[2026-09-04 17:30:24] local.INFO: Processing buffer {"connection_id":170864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4924c0012d196540072072900028015329..."} 
[2026-09-04 17:30:24] local.INFO: Packet analysis {"connection_id":170864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c49"} 
[2026-09-04 17:30:24] local.INFO: Extracted packet for processing {"connection_id":170864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c49"} 
[2026-09-04 17:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119566992,"longitude_deg":75.663904,"latitude_deg":11.9566992,"altitude":40,"angle":339,"satellites":41,"speed":9,"hex_longitude":"2d196540","hex_latitude":"07207290","is_valid_coordinates":true} 
[2026-09-04 17:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861918208001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17352986430799872,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229088137216,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788523128000,"timestamp_ms":1788523128000,"timestamp_seconds":1788523128,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4924c0"} 
[2026-09-04 17:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 17:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861918208001,"66":13135,"103":206,"83":41984,"24":9,"16":17352986430799872,"45":1831276229088137216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861918208001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:30:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17352986430799872,"km_value":17352986430799.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229088137216,"description":"Unknown IO ID 45"} 
[2026-09-04 17:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861918208001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1831276229088137216}} 
[2026-09-04 17:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":170864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:30:24] local.INFO: GPS data processed {"connection_id":170864,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:30:24] local.INFO: Acknowledgment sent {"connection_id":170864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:30:27] local.INFO: TCP Data received {"connection_id":173564,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:30:27] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:30:27] local.INFO: Packet analysis {"connection_id":173564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:30:27] local.INFO: Extracted packet for processing {"connection_id":173564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:30:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861824256001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788523052000,"timestamp_ms":1788523052000,"timestamp_seconds":1788523052,"priority":1,"record_length":96,"hex_timestamp":"000001a06c47fbe0"} 
[2026-09-04 17:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861824256001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861824256001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:30:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:30:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861824256001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":173564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:30:27] local.INFO: GPS data processed {"connection_id":173564,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:30:27] local.INFO: Acknowledgment sent {"connection_id":173564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:30:40] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4a3a18012d7b4e8005d36630000000b112..."} 
[2026-09-04 17:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4a3a18012d7b4e8005d36630000000b112..."} 
[2026-09-04 17:30:40] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4a3a18012d7b4e8005d36630000000b112..."} 
[2026-09-04 17:30:40] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4a"} 
[2026-09-04 17:30:40] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4a"} 
[2026-09-04 17:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763055744,"raw_latitude":97740336,"longitude_deg":76.3055744,"latitude_deg":9.7740336,"altitude":0,"angle":177,"satellites":18,"speed":11,"hex_longitude":"2d7b4e80","hex_latitude":"05d36630","is_valid_coordinates":true} 
[2026-09-04 17:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861938432001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128158272174686208,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885179877358622720,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788523199000,"timestamp_ms":1788523199000,"timestamp_seconds":1788523199,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4a3a18"} 
[2026-09-04 17:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-04 17:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861938432001,"66":13450,"165":206,"19":45824,"24":11,"16":128158272174686208,"45":8885179877358622720},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,19,24,16,45]} 
[2026-09-04 17:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861938432001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:30:40] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 17:30:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128158272174686208,"km_value":128158272174686.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885179877358622720,"description":"Unknown IO ID 45"} 
[2026-09-04 17:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861938432001,"power":13450,"unknown_165":206,"unknown_19":45824,"ignition":11,"odometer":null,"unknown_45":8885179877358622720}} 
[2026-09-04 17:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:30:40] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:30:40] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:30:47] local.INFO: TCP Data received {"connection_id":170865,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:30:47] local.INFO: Processing buffer {"connection_id":170865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:30:47] local.INFO: IMEI packet received {"connection_id":170865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":170865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:30:48] local.INFO: TCP Data received {"connection_id":171164,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:30:48] local.INFO: Processing buffer {"connection_id":171164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:30:48] local.INFO: IMEI packet received {"connection_id":171164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":171164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:30:53] local.INFO: TCP Data received {"connection_id":170865,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:30:53] local.INFO: Processing buffer {"connection_id":170865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:30:53] local.INFO: IMEI packet received {"connection_id":170865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":170865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:30:53] local.INFO: TCP Data received {"connection_id":170865,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c492c90012d196480072074280029015e29..."} 
[2026-09-04 17:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c492c90012d196480072074280029015e29..."} 
[2026-09-04 17:30:53] local.INFO: Processing buffer {"connection_id":170865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c492c90012d196480072074280029015e29..."} 
[2026-09-04 17:30:53] local.INFO: Packet analysis {"connection_id":170865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c49"} 
[2026-09-04 17:30:53] local.INFO: Extracted packet for processing {"connection_id":170865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c49"} 
[2026-09-04 17:30:53] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119567400,"longitude_deg":75.6638848,"latitude_deg":11.95674,"altitude":41,"angle":350,"satellites":41,"speed":8,"hex_longitude":"2d196480","hex_latitude":"07207428","is_valid_coordinates":true} 
[2026-09-04 17:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861920768001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353007905636352,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222949302272,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788523130000,"timestamp_ms":1788523130000,"timestamp_seconds":1788523130,"priority":1,"record_length":96,"hex_timestamp":"000001a06c492c90"} 
[2026-09-04 17:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-04 17:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861920768001,"66":13004,"103":206,"83":41984,"24":8,"16":17353007905636352,"45":1829939222949302272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861920768001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:30:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:30:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353007905636352,"km_value":17353007905636.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222949302272,"description":"Unknown IO ID 45"} 
[2026-09-04 17:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861920768001,"power":13004,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1829939222949302272}} 
[2026-09-04 17:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":170865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:30:53] local.INFO: GPS data processed {"connection_id":170865,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:30:53] local.INFO: Acknowledgment sent {"connection_id":170865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:30:54] local.INFO: TCP Data received {"connection_id":171164,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:30:54] local.INFO: Processing buffer {"connection_id":171164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:30:54] local.INFO: IMEI packet received {"connection_id":171164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":171164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:30:56] local.INFO: TCP Data received {"connection_id":171164,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:30:56] local.INFO: Processing buffer {"connection_id":171164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:30:56] local.INFO: Packet analysis {"connection_id":171164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:30:56] local.INFO: Extracted packet for processing {"connection_id":171164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:30:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861824256001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788523052000,"timestamp_ms":1788523052000,"timestamp_seconds":1788523052,"priority":1,"record_length":96,"hex_timestamp":"000001a06c47fbe0"} 
[2026-09-04 17:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861824256001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861824256001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:30:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:30:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861824256001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":171164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763924,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:30:56] local.INFO: GPS data processed {"connection_id":171164,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:30:56] local.INFO: Acknowledgment sent {"connection_id":171164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:31:12] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4a49b8012d7b4e4005d36210000000c312..."} 
[2026-09-04 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4a49b8012d7b4e4005d36210000000c312..."} 
[2026-09-04 17:31:12] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4a49b8012d7b4e4005d36210000000c312..."} 
[2026-09-04 17:31:12] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4a"} 
[2026-09-04 17:31:12] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4a"} 
[2026-09-04 17:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763055680,"raw_latitude":97739280,"longitude_deg":76.305568,"latitude_deg":9.773928,"altitude":0,"angle":195,"satellites":18,"speed":7,"hex_longitude":"2d7b4e40","hex_latitude":"05d36210","is_valid_coordinates":true} 
[2026-09-04 17:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861938944001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128158323714293760,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885179877358448640,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788523203000,"timestamp_ms":1788523203000,"timestamp_seconds":1788523203,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4a49b8"} 
[2026-09-04 17:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 17:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861938944001,"66":13178,"165":206,"19":45824,"24":7,"16":128158323714293760,"45":8885179877358448640},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,19,24,16,45]} 
[2026-09-04 17:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861938944001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:31:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 17:31:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128158323714293760,"km_value":128158323714293.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885179877358448640,"description":"Unknown IO ID 45"} 
[2026-09-04 17:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861938944001,"power":13178,"unknown_165":206,"unknown_19":45824,"ignition":7,"odometer":null,"unknown_45":8885179877358448640}} 
[2026-09-04 17:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:31:13] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:31:13] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:31:25] local.INFO: TCP Data received {"connection_id":170865,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c493848012d19640007207668002a01512a..."} 
[2026-09-04 17:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c493848012d19640007207668002a01512a..."} 
[2026-09-04 17:31:25] local.INFO: Processing buffer {"connection_id":170865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c493848012d19640007207668002a01512a..."} 
[2026-09-04 17:31:25] local.INFO: Packet analysis {"connection_id":170865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c49"} 
[2026-09-04 17:31:25] local.INFO: Extracted packet for processing {"connection_id":170865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c49"} 
[2026-09-04 17:31:25] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119567976,"longitude_deg":75.663872,"latitude_deg":11.9567976,"altitude":42,"angle":337,"satellites":42,"speed":7,"hex_longitude":"2d196400","hex_latitude":"07207668","is_valid_coordinates":true} 
[2026-09-04 17:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861921280001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353037970407424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116716873728,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788523133000,"timestamp_ms":1788523133000,"timestamp_seconds":1788523133,"priority":1,"record_length":96,"hex_timestamp":"000001a06c493848"} 
[2026-09-04 17:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 17:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861921280001,"66":13048,"103":206,"83":41984,"24":7,"16":17353037970407424,"45":1829728116716873728},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861921280001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:31:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:31:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353037970407424,"km_value":17353037970407.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116716873728,"description":"Unknown IO ID 45"} 
[2026-09-04 17:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861921280001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1829728116716873728}} 
[2026-09-04 17:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":170865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:31:25] local.INFO: GPS data processed {"connection_id":170865,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:31:25] local.INFO: Acknowledgment sent {"connection_id":170865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:31:27] local.INFO: TCP Data received {"connection_id":171164,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:31:27] local.INFO: Processing buffer {"connection_id":171164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:31:27] local.INFO: Packet analysis {"connection_id":171164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:31:27] local.INFO: Extracted packet for processing {"connection_id":171164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:31:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861824256001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788523052000,"timestamp_ms":1788523052000,"timestamp_seconds":1788523052,"priority":1,"record_length":96,"hex_timestamp":"000001a06c47fbe0"} 
[2026-09-04 17:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861824256001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861824256001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:31:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:31:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861824256001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":171164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763927,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:31:28] local.INFO: GPS data processed {"connection_id":171164,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:31:28] local.INFO: Acknowledgment sent {"connection_id":171164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:31:44] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4a8450012d7b4c4005d35b20000000b612..."} 
[2026-09-04 17:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4a8450012d7b4c4005d35b20000000b612..."} 
[2026-09-04 17:31:44] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4a8450012d7b4c4005d35b20000000b612..."} 
[2026-09-04 17:31:44] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4a"} 
[2026-09-04 17:31:44] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4a"} 
[2026-09-04 17:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763055168,"raw_latitude":97737504,"longitude_deg":76.3055168,"latitude_deg":9.7737504,"altitude":0,"angle":182,"satellites":18,"speed":14,"hex_longitude":"2d7b4c40","hex_latitude":"05d35b20","is_valid_coordinates":true} 
[2026-09-04 17:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861939968001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128158422498541568,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885109508614000640,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788523218000,"timestamp_ms":1788523218000,"timestamp_seconds":1788523218,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4a8450"} 
[2026-09-04 17:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-04 17:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861939968001,"66":13102,"165":206,"19":45824,"24":14,"16":128158422498541568,"45":8885109508614000640},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,19,24,16,45]} 
[2026-09-04 17:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861939968001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:31:44] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 17:31:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128158422498541568,"km_value":128158422498541.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885109508614000640,"description":"Unknown IO ID 45"} 
[2026-09-04 17:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861939968001,"power":13102,"unknown_165":206,"unknown_19":45824,"ignition":14,"odometer":null,"unknown_45":8885109508614000640}} 
[2026-09-04 17:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:31:44] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:31:44] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:31:47] local.INFO: TCP Data received {"connection_id":173565,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:31:47] local.INFO: Processing buffer {"connection_id":173565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:31:47] local.INFO: IMEI packet received {"connection_id":173565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":173565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:31:53] local.INFO: TCP Data received {"connection_id":173565,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:31:53] local.INFO: Processing buffer {"connection_id":173565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:31:53] local.INFO: IMEI packet received {"connection_id":173565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":173565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:31:53] local.INFO: TCP Data received {"connection_id":173565,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c498a50012d196200072079b0002b01492a..."} 
[2026-09-04 17:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c498a50012d196200072079b0002b01492a..."} 
[2026-09-04 17:31:53] local.INFO: Processing buffer {"connection_id":173565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c498a50012d196200072079b0002b01492a..."} 
[2026-09-04 17:31:53] local.INFO: Packet analysis {"connection_id":173565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c49"} 
[2026-09-04 17:31:53] local.INFO: Extracted packet for processing {"connection_id":173565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c49"} 
[2026-09-04 17:31:53] local.INFO: GPS Element Parsed {"raw_longitude":756638208,"raw_latitude":119568816,"longitude_deg":75.6638208,"latitude_deg":11.9568816,"altitude":43,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d196200","hex_latitude":"072079b0","is_valid_coordinates":true} 
[2026-09-04 17:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861922048001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353085215047680,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379228665856,"note":"Value kept but may cause issues"} 
[2026-09-04 17:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788523154000,"timestamp_ms":1788523154000,"timestamp_seconds":1788523154,"priority":1,"record_length":96,"hex_timestamp":"000001a06c498a50"} 
[2026-09-04 17:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-04 17:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861922048001,"66":12972,"103":206,"83":41984,"24":0,"16":17353085215047680,"45":1829587379228665856},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861922048001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:31:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:31:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353085215047680,"km_value":17353085215047.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379228665856,"description":"Unknown IO ID 45"} 
[2026-09-04 17:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861922048001,"power":12972,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379228665856}} 
[2026-09-04 17:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":173565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:31:54] local.INFO: GPS data processed {"connection_id":173565,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:31:54] local.INFO: Acknowledgment sent {"connection_id":173565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:31:54] local.INFO: TCP Data received {"connection_id":171165,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:31:54] local.INFO: Processing buffer {"connection_id":171165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:31:54] local.INFO: IMEI packet received {"connection_id":171165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":171165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:31:59] local.INFO: TCP Data received {"connection_id":171165,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:31:59] local.INFO: Processing buffer {"connection_id":171165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:31:59] local.INFO: IMEI packet received {"connection_id":171165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":171165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:32:01] local.INFO: TCP Data received {"connection_id":171165,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:32:01] local.INFO: Processing buffer {"connection_id":171165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:32:01] local.INFO: Packet analysis {"connection_id":171165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:32:01] local.INFO: Extracted packet for processing {"connection_id":171165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:32:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861824256001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788523052000,"timestamp_ms":1788523052000,"timestamp_seconds":1788523052,"priority":1,"record_length":96,"hex_timestamp":"000001a06c47fbe0"} 
[2026-09-04 17:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861824256001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861824256001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:32:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:32:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861824256001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":171165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763930,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:32:01] local.INFO: GPS data processed {"connection_id":171165,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:32:01] local.INFO: Acknowledgment sent {"connection_id":171165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:32:05] local.INFO: TCP Data received {"connection_id":171165,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:32:05] local.INFO: Processing buffer {"connection_id":171165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:32:05] local.INFO: Packet analysis {"connection_id":171165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:32:05] local.INFO: Extracted packet for processing {"connection_id":171165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861824256001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788523052000,"timestamp_ms":1788523052000,"timestamp_seconds":1788523052,"priority":1,"record_length":96,"hex_timestamp":"000001a06c47fbe0"} 
[2026-09-04 17:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861824256001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861824256001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:32:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861824256001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":171165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763931,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:32:05] local.INFO: GPS data processed {"connection_id":171165,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:32:05] local.INFO: Acknowledgment sent {"connection_id":171165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:32:15] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4bc888012d7b7a0005d24a80000000b212..."} 
[2026-09-04 17:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4bc888012d7b7a0005d24a80000000b212..."} 
[2026-09-04 17:32:15] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4bc888012d7b7a0005d24a80000000b212..."} 
[2026-09-04 17:32:15] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4b"} 
[2026-09-04 17:32:15] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4b"} 
[2026-09-04 17:32:15] local.INFO: GPS Element Parsed {"raw_longitude":763066880,"raw_latitude":97667712,"longitude_deg":76.306688,"latitude_deg":9.7667712,"altitude":0,"angle":178,"satellites":18,"speed":28,"hex_longitude":"2d7b7a00","hex_latitude":"05d24a80","is_valid_coordinates":true} 
[2026-09-04 17:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861964288001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128161888537149440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897001826362292224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788523301000,"timestamp_ms":1788523301000,"timestamp_seconds":1788523301,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4bc888"} 
[2026-09-04 17:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-04 17:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861964288001,"66":13526,"165":206,"19":45824,"24":28,"16":128161888537149440,"45":8897001826362292224},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,19,24,16,45]} 
[2026-09-04 17:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861964288001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:32:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 17:32:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128161888537149440,"km_value":128161888537149.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897001826362292224,"description":"Unknown IO ID 45"} 
[2026-09-04 17:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861964288001,"power":13526,"unknown_165":206,"unknown_19":45824,"ignition":28,"odometer":null,"unknown_45":8897001826362292224}} 
[2026-09-04 17:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:32:15] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:32:15] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:32:24] local.INFO: TCP Data received {"connection_id":173565,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4bc0b8012d194a00072075c8003400bd27..."} 
[2026-09-04 17:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4bc0b8012d194a00072075c8003400bd27..."} 
[2026-09-04 17:32:24] local.INFO: Processing buffer {"connection_id":173565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4bc0b8012d194a00072075c8003400bd27..."} 
[2026-09-04 17:32:24] local.INFO: Packet analysis {"connection_id":173565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4b"} 
[2026-09-04 17:32:24] local.INFO: Extracted packet for processing {"connection_id":173565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4b"} 
[2026-09-04 17:32:24] local.INFO: GPS Element Parsed {"raw_longitude":756632064,"raw_latitude":119567816,"longitude_deg":75.6632064,"latitude_deg":11.9567816,"altitude":52,"angle":189,"satellites":39,"speed":4,"hex_longitude":"2d194a00","hex_latitude":"072075c8","is_valid_coordinates":true} 
[2026-09-04 17:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861964288001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353437402365952,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822269029834174464,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788523299000,"timestamp_ms":1788523299000,"timestamp_seconds":1788523299,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4bc0b8"} 
[2026-09-04 17:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 17:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861964288001,"66":13613,"103":206,"83":41984,"24":4,"16":17353437402365952,"45":1822269029834174464},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861964288001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:32:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353437402365952,"km_value":17353437402365.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822269029834174464,"description":"Unknown IO ID 45"} 
[2026-09-04 17:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861964288001,"power":13613,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1822269029834174464}} 
[2026-09-04 17:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":173565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:32:25] local.INFO: GPS data processed {"connection_id":173565,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:32:25] local.INFO: Acknowledgment sent {"connection_id":173565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:32:47] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4bef98012d7b7e0005d22780000000a912..."} 
[2026-09-04 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4bef98012d7b7e0005d22780000000a912..."} 
[2026-09-04 17:32:47] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4bef98012d7b7e0005d22780000000a912..."} 
[2026-09-04 17:32:47] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4b"} 
[2026-09-04 17:32:47] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4b"} 
[2026-09-04 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":763067904,"raw_latitude":97658752,"longitude_deg":76.3067904,"latitude_deg":9.7658752,"altitude":0,"angle":169,"satellites":18,"speed":37,"hex_longitude":"2d7b7e00","hex_latitude":"05d22780","is_valid_coordinates":true} 
[2026-09-04 17:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861965056001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128162326623813632,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897424038826770432,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788523311000,"timestamp_ms":1788523311000,"timestamp_seconds":1788523311,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4bef98"} 
[2026-09-04 17:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 17:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861965056001,"66":13656,"165":206,"19":45824,"24":37,"16":128162326623813632,"45":8897424038826770432},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,19,24,16,45]} 
[2026-09-04 17:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861965056001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:32:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 17:32:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128162326623813632,"km_value":128162326623813.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897424038826770432,"description":"Unknown IO ID 45"} 
[2026-09-04 17:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861965056001,"power":13656,"unknown_165":206,"unknown_19":45824,"ignition":37,"odometer":null,"unknown_45":8897424038826770432}} 
[2026-09-04 17:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:32:47] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:32:47] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:32:49] local.INFO: TCP Data received {"connection_id":171167,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:32:49] local.INFO: Processing buffer {"connection_id":171167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:32:49] local.INFO: IMEI packet received {"connection_id":171167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":171167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:32:50] local.INFO: TCP Data received {"connection_id":173566,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:32:50] local.INFO: Processing buffer {"connection_id":173566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:32:50] local.INFO: IMEI packet received {"connection_id":173566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":173566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:32:53] local.INFO: TCP Data received {"connection_id":173566,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:32:53] local.INFO: Processing buffer {"connection_id":173566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:32:53] local.INFO: IMEI packet received {"connection_id":173566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":173566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:32:53] local.INFO: TCP Data received {"connection_id":173566,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:32:53] local.INFO: Processing buffer {"connection_id":173566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:32:53] local.INFO: IMEI packet received {"connection_id":173566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":173566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:32:54] local.INFO: TCP Data received {"connection_id":171167,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:32:54] local.INFO: Processing buffer {"connection_id":171167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:32:54] local.INFO: IMEI packet received {"connection_id":171167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":171167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:32:55] local.INFO: TCP Data received {"connection_id":171167,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:32:55] local.INFO: Processing buffer {"connection_id":171167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c47fbe0012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:32:55] local.INFO: Packet analysis {"connection_id":171167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:32:55] local.INFO: Extracted packet for processing {"connection_id":171167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c47"} 
[2026-09-04 17:32:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861824256001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788523052000,"timestamp_ms":1788523052000,"timestamp_seconds":1788523052,"priority":1,"record_length":96,"hex_timestamp":"000001a06c47fbe0"} 
[2026-09-04 17:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 17:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861824256001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861824256001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:32:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861824256001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":171167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763935,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:32:55] local.INFO: GPS data processed {"connection_id":171167,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:32:55] local.INFO: Acknowledgment sent {"connection_id":171167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:32:58] local.INFO: TCP Data received {"connection_id":173566,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:32:58] local.INFO: Processing buffer {"connection_id":173566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:32:58] local.INFO: IMEI packet received {"connection_id":173566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":173566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:32:58] local.INFO: TCP Data received {"connection_id":173566,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4bd058012d19494007207408003500d227..."} 
[2026-09-04 17:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4bd058012d19494007207408003500d227..."} 
[2026-09-04 17:32:58] local.INFO: Processing buffer {"connection_id":173566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4bd058012d19494007207408003500d227..."} 
[2026-09-04 17:32:58] local.INFO: Packet analysis {"connection_id":173566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4b"} 
[2026-09-04 17:32:58] local.INFO: Extracted packet for processing {"connection_id":173566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4b"} 
[2026-09-04 17:32:58] local.INFO: GPS Element Parsed {"raw_longitude":756631872,"raw_latitude":119567368,"longitude_deg":75.6631872,"latitude_deg":11.9567368,"altitude":53,"angle":210,"satellites":39,"speed":3,"hex_longitude":"2d194940","hex_latitude":"07207408","is_valid_coordinates":true} 
[2026-09-04 17:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861964544001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353463172169728,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822269029834147840,"note":"Value kept but may cause issues"} 
[2026-09-04 17:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788523303000,"timestamp_ms":1788523303000,"timestamp_seconds":1788523303,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4bd058"} 
[2026-09-04 17:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-04 17:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861964544001,"66":14363,"103":206,"83":41984,"24":3,"16":17353463172169728,"45":1822269029834147840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861964544001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:32:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:32:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353463172169728,"km_value":17353463172169.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822269029834147840,"description":"Unknown IO ID 45"} 
[2026-09-04 17:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861964544001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1822269029834147840}} 
[2026-09-04 17:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":173566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:32:59] local.INFO: GPS data processed {"connection_id":173566,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:32:59] local.INFO: Acknowledgment sent {"connection_id":173566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:33:03] local.INFO: TCP Data received {"connection_id":173566,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4bdc10012d19488007207340003400e127..."} 
[2026-09-04 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4bdc10012d19488007207340003400e127..."} 
[2026-09-04 17:33:03] local.INFO: Processing buffer {"connection_id":173566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4bdc10012d19488007207340003400e127..."} 
[2026-09-04 17:33:03] local.INFO: Packet analysis {"connection_id":173566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4b"} 
[2026-09-04 17:33:03] local.INFO: Extracted packet for processing {"connection_id":173566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4b"} 
[2026-09-04 17:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756631680,"raw_latitude":119567168,"longitude_deg":75.663168,"latitude_deg":11.9567168,"altitude":52,"angle":225,"satellites":39,"speed":4,"hex_longitude":"2d194880","hex_latitude":"07207340","is_valid_coordinates":true} 
[2026-09-04 17:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861965568001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353476057071616,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822057923601500160,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788523306000,"timestamp_ms":1788523306000,"timestamp_seconds":1788523306,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4bdc10"} 
[2026-09-04 17:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-04 17:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861965568001,"66":13928,"103":206,"83":41984,"24":4,"16":17353476057071616,"45":1822057923601500160},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861965568001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:33:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353476057071616,"km_value":17353476057071.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822057923601500160,"description":"Unknown IO ID 45"} 
[2026-09-04 17:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861965568001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1822057923601500160}} 
[2026-09-04 17:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":173566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:33:03] local.INFO: GPS data processed {"connection_id":173566,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:33:03] local.INFO: Acknowledgment sent {"connection_id":173566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:33:19] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c1a90012d7b820005d20520000000b012..."} 
[2026-09-04 17:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c1a90012d7b820005d20520000000b012..."} 
[2026-09-04 17:33:19] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c1a90012d7b820005d20520000000b012..."} 
[2026-09-04 17:33:19] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:33:19] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:33:19] local.INFO: GPS Element Parsed {"raw_longitude":763068928,"raw_latitude":97649952,"longitude_deg":76.3068928,"latitude_deg":9.7649952,"altitude":0,"angle":176,"satellites":18,"speed":28,"hex_longitude":"2d7b8200","hex_latitude":"05d20520","is_valid_coordinates":true} 
[2026-09-04 17:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861967616001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128162756120543232,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898549938731319296,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788523322000,"timestamp_ms":1788523322000,"timestamp_seconds":1788523322,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c1a90"} 
[2026-09-04 17:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-04 17:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861967616001,"66":13830,"164":206,"19":45824,"24":28,"16":128162756120543232,"45":8898549938731319296},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,19,24,16,45]} 
[2026-09-04 17:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861967616001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:33:19] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-04 17:33:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128162756120543232,"km_value":128162756120543.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898549938731319296,"description":"Unknown IO ID 45"} 
[2026-09-04 17:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861967616001,"power":13830,"unknown_164":206,"unknown_19":45824,"ignition":28,"odometer":null,"unknown_45":8898549938731319296}} 
[2026-09-04 17:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:33:19] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:33:19] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:33:26] local.INFO: TCP Data received {"connection_id":171167,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:33:26] local.INFO: Processing buffer {"connection_id":171167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:33:26] local.INFO: Packet analysis {"connection_id":171167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:33:26] local.INFO: Extracted packet for processing {"connection_id":171167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:33:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861901312001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788523353000,"timestamp_ms":1788523353000,"timestamp_seconds":1788523353,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c93a8"} 
[2026-09-04 17:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861901312001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861901312001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:33:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:33:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861901312001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":171167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:33:26] local.INFO: GPS data processed {"connection_id":171167,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:33:26] local.INFO: Acknowledgment sent {"connection_id":171167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:33:48] local.INFO: TCP Data received {"connection_id":173567,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:33:48] local.INFO: Processing buffer {"connection_id":173567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:33:48] local.INFO: IMEI packet received {"connection_id":173567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":173567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:33:48] local.INFO: TCP Data received {"connection_id":173568,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173568,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:33:48] local.INFO: Processing buffer {"connection_id":173568,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:33:48] local.INFO: IMEI packet received {"connection_id":173568,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":173568,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:33:52] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c4d58012d7b824005d1e1c8000000b112..."} 
[2026-09-04 17:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c4d58012d7b824005d1e1c8000000b112..."} 
[2026-09-04 17:33:52] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c4d58012d7b824005d1e1c8000000b112..."} 
[2026-09-04 17:33:52] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:33:52] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:33:52] local.INFO: GPS Element Parsed {"raw_longitude":763068992,"raw_latitude":97640904,"longitude_deg":76.3068992,"latitude_deg":9.7640904,"altitude":0,"angle":177,"satellites":18,"speed":26,"hex_longitude":"2d7b8240","hex_latitude":"05d1e1c8","is_valid_coordinates":true} 
[2026-09-04 17:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861970432001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128163198502174720,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899675838635909120,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788523335000,"timestamp_ms":1788523335000,"timestamp_seconds":1788523335,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c4d58"} 
[2026-09-04 17:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-04 17:33:52] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:52] local.WARNING: Large IO value detected {"io_id":24,"raw_value":14355232417972224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:52] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399856735272704,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-1152590021836929582,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":34817,"corrected_to":0} 
[2026-09-04 17:33:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2745499854,"corrected_to":0} 
[2026-09-04 17:33:52] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:52] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147865240,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:52] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812323,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3535515648,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:52] local.WARNING: Large IO value detected {"io_id":223,"raw_value":4035225268977270831,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:52] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,164,19,24,241,158,16,83,160,239,45,39,18,10,66,165,82,200,74,188,128,1,240,88,108,210,4,113,205,21,75,103,152,53,2,199,5,51,223],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":200,"original":34817,"validated":0},{"io_id":205,"original":2745499854,"validated":0}]} 
[2026-09-04 17:33:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":193591357734912,"timestamp_seconds":193591357734.912,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 17:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861970432001,"66":13689,"164":206,"19":45824,"24":26,"16":128163198502174720,"45":8899675838635909120},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,19,24,16,45]} 
[2026-09-04 17:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861970432001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:33:52] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-04 17:33:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128163198502174720,"km_value":128163198502174.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899675838635909120,"description":"Unknown IO ID 45"} 
[2026-09-04 17:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861970432001,"power":13689,"unknown_164":206,"unknown_19":45824,"ignition":26,"odometer":null,"unknown_45":8899675838635909120}} 
[2026-09-04 17:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:33:52] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:33:52] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:33:53] local.INFO: TCP Data received {"connection_id":173567,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:33:53] local.INFO: Processing buffer {"connection_id":173567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:33:53] local.INFO: IMEI packet received {"connection_id":173567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":173567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:33:54] local.INFO: TCP Data received {"connection_id":173567,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4bdff8012d194800072073180034010328..."} 
[2026-09-04 17:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4bdff8012d194800072073180034010328..."} 
[2026-09-04 17:33:54] local.INFO: Processing buffer {"connection_id":173567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4bdff8012d194800072073180034010328..."} 
[2026-09-04 17:33:54] local.INFO: Packet analysis {"connection_id":173567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4b"} 
[2026-09-04 17:33:54] local.INFO: Extracted packet for processing {"connection_id":173567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4b"} 
[2026-09-04 17:33:54] local.INFO: GPS Element Parsed {"raw_longitude":756631552,"raw_latitude":119567128,"longitude_deg":75.6631552,"latitude_deg":11.9567128,"altitude":52,"angle":259,"satellites":40,"speed":4,"hex_longitude":"2d194800","hex_latitude":"07207318","is_valid_coordinates":true} 
[2026-09-04 17:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861966336001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353484647006208,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821846817368915968,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788523307000,"timestamp_ms":1788523307000,"timestamp_seconds":1788523307,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4bdff8"} 
[2026-09-04 17:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 17:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861966336001,"66":13352,"103":206,"83":41984,"24":4,"16":17353484647006208,"45":1821846817368915968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861966336001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:33:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:33:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353484647006208,"km_value":17353484647006.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821846817368915968,"description":"Unknown IO ID 45"} 
[2026-09-04 17:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861966336001,"power":13352,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1821846817368915968}} 
[2026-09-04 17:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":173567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:33:54] local.INFO: GPS data processed {"connection_id":173567,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:33:54] local.INFO: Acknowledgment sent {"connection_id":173567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:33:54] local.INFO: TCP Data received {"connection_id":173568,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173568,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:33:54] local.INFO: Processing buffer {"connection_id":173568,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:33:54] local.INFO: IMEI packet received {"connection_id":173568,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":173568,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:33:55] local.INFO: TCP Data received {"connection_id":173568,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:33:55] local.INFO: Processing buffer {"connection_id":173568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:33:55] local.INFO: Packet analysis {"connection_id":173568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:33:55] local.INFO: Extracted packet for processing {"connection_id":173568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:33:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861901312001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788523353000,"timestamp_ms":1788523353000,"timestamp_seconds":1788523353,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c93a8"} 
[2026-09-04 17:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861901312001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861901312001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:33:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861901312001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":173568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763942,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:33:55] local.INFO: GPS data processed {"connection_id":173568,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:33:55] local.INFO: Acknowledgment sent {"connection_id":173568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:34:03] local.INFO: TCP Data received {"connection_id":172261,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:34:03] local.INFO: Processing buffer {"connection_id":172261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:34:03] local.INFO: IMEI packet received {"connection_id":172261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":172261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:34:03] local.INFO: TCP Data received {"connection_id":172261,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:34:03] local.INFO: Processing buffer {"connection_id":172261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:34:03] local.INFO: IMEI packet received {"connection_id":172261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":172261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:34:04] local.INFO: TCP Data received {"connection_id":172261,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c39d0012cc335c0075f3d10001500ac2b..."} 
[2026-09-04 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c39d0012cc335c0075f3d10001500ac2b..."} 
[2026-09-04 17:34:04] local.INFO: Processing buffer {"connection_id":172261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c39d0012cc335c0075f3d10001500ac2b..."} 
[2026-09-04 17:34:04] local.INFO: Packet analysis {"connection_id":172261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:34:04] local.INFO: Extracted packet for processing {"connection_id":172261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":750990784,"raw_latitude":123682064,"longitude_deg":75.0990784,"latitude_deg":12.3682064,"altitude":21,"angle":172,"satellites":43,"speed":38,"hex_longitude":"2cc335c0","hex_latitude":"075f3d10","is_valid_coordinates":true} 
[2026-09-04 17:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861969664001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398239787275780096,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668278104064,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788523330000,"timestamp_ms":1788523330000,"timestamp_seconds":1788523330,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c39d0"} 
[2026-09-04 17:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 17:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861969664001,"66":27821,"233":206,"85":37120,"24":38,"16":398239787275780096,"44":-4381861668278104064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,44]} 
[2026-09-04 17:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861969664001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:34:04] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-04 17:34:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398239787275780096,"km_value":398239787275780.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:34:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668278104064,"description":"Unknown IO ID 44"} 
[2026-09-04 17:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861969664001,"power":27821,"unknown_233":206,"unknown_85":37120,"ignition":38,"odometer":null,"unknown_44":-4381861668278104064}} 
[2026-09-04 17:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":172261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:34:04] local.INFO: GPS data processed {"connection_id":172261,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:34:04] local.INFO: Acknowledgment sent {"connection_id":172261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:34:09] local.INFO: TCP Data received {"connection_id":172261,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c5cf8012cc33980075f1750001400ae2c..."} 
[2026-09-04 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c5cf8012cc33980075f1750001400ae2c..."} 
[2026-09-04 17:34:09] local.INFO: Processing buffer {"connection_id":172261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c5cf8012cc33980075f1750001400ae2c..."} 
[2026-09-04 17:34:09] local.INFO: Packet analysis {"connection_id":172261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:34:09] local.INFO: Extracted packet for processing {"connection_id":172261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":750991744,"raw_latitude":123672400,"longitude_deg":75.0991744,"latitude_deg":12.36724,"altitude":20,"angle":174,"satellites":44,"speed":47,"hex_longitude":"2cc33980","hex_latitude":"075f1750","is_valid_coordinates":true} 
[2026-09-04 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861972480001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398240255427215360,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380383924652797952,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788523339000,"timestamp_ms":1788523339000,"timestamp_seconds":1788523339,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c5cf8"} 
[2026-09-04 17:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861972480001,"66":27974,"233":206,"85":37120,"24":47,"16":398240255427215360,"44":-4380383924652797952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,44]} 
[2026-09-04 17:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861972480001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:34:09] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-04 17:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398240255427215360,"km_value":398240255427215.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:34:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380383924652797952,"description":"Unknown IO ID 44"} 
[2026-09-04 17:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861972480001,"power":27974,"unknown_233":206,"unknown_85":37120,"ignition":47,"odometer":null,"unknown_44":-4380383924652797952}} 
[2026-09-04 17:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":172261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:34:09] local.INFO: GPS data processed {"connection_id":172261,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:34:09] local.INFO: Acknowledgment sent {"connection_id":172261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:34:23] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c9b78012d7b834005d1c378000100ab11..."} 
[2026-09-04 17:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c9b78012d7b834005d1c378000100ab11..."} 
[2026-09-04 17:34:23] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c9b78012d7b834005d1c378000100ab11..."} 
[2026-09-04 17:34:23] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:34:23] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:34:23] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":97633144,"longitude_deg":76.3069248,"latitude_deg":9.7633144,"altitude":1,"angle":171,"satellites":17,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05d1c378","is_valid_coordinates":true} 
[2026-09-04 17:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861973760001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128163585049231360,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899746207377770496,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788523355000,"timestamp_ms":1788523355000,"timestamp_seconds":1788523355,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c9b78"} 
[2026-09-04 17:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-04 17:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861973760001,"66":13450,"164":206,"19":45824,"24":0,"16":128163585049231360,"45":8899746207377770496},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,19,24,16,45]} 
[2026-09-04 17:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861973760001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:34:23] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-04 17:34:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128163585049231360,"km_value":128163585049231.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899746207377770496,"description":"Unknown IO ID 45"} 
[2026-09-04 17:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861973760001,"power":13450,"unknown_164":206,"unknown_19":45824,"ignition":0,"odometer":null,"unknown_45":8899746207377770496}} 
[2026-09-04 17:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:34:23] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:34:23] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:34:25] local.INFO: TCP Data received {"connection_id":173567,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4be3e0012d1947c0072073200033012128..."} 
[2026-09-04 17:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4be3e0012d1947c0072073200033012128..."} 
[2026-09-04 17:34:25] local.INFO: Processing buffer {"connection_id":173567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4be3e0012d1947c0072073200033012128..."} 
[2026-09-04 17:34:25] local.INFO: Packet analysis {"connection_id":173567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4b"} 
[2026-09-04 17:34:25] local.INFO: Extracted packet for processing {"connection_id":173567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4b"} 
[2026-09-04 17:34:25] local.INFO: GPS Element Parsed {"raw_longitude":756631488,"raw_latitude":119567136,"longitude_deg":75.6631488,"latitude_deg":11.9567136,"altitude":51,"angle":289,"satellites":40,"speed":5,"hex_longitude":"2d1947c0","hex_latitude":"07207320","is_valid_coordinates":true} 
[2026-09-04 17:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861966592001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353488941973504,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821706079880550400,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788523308000,"timestamp_ms":1788523308000,"timestamp_seconds":1788523308,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4be3e0"} 
[2026-09-04 17:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-04 17:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861966592001,"66":13352,"103":206,"83":41984,"24":5,"16":17353488941973504,"45":1821706079880550400},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861966592001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:34:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:34:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353488941973504,"km_value":17353488941973.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821706079880550400,"description":"Unknown IO ID 45"} 
[2026-09-04 17:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861966592001,"power":13352,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1821706079880550400}} 
[2026-09-04 17:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":173567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:34:25] local.INFO: GPS data processed {"connection_id":173567,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:34:25] local.INFO: Acknowledgment sent {"connection_id":173567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:34:27] local.INFO: TCP Data received {"connection_id":173568,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:34:27] local.INFO: Processing buffer {"connection_id":173568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:34:27] local.INFO: Packet analysis {"connection_id":173568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:34:27] local.INFO: Extracted packet for processing {"connection_id":173568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:34:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861901312001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788523353000,"timestamp_ms":1788523353000,"timestamp_seconds":1788523353,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c93a8"} 
[2026-09-04 17:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861901312001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861901312001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:34:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861901312001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":173568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:34:27] local.INFO: GPS data processed {"connection_id":173568,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:34:27] local.INFO: Acknowledgment sent {"connection_id":173568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:34:40] local.INFO: TCP Data received {"connection_id":172261,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4dc840012cc28bc0075ddc58001000d52b..."} 
[2026-09-04 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4dc840012cc28bc0075ddc58001000d52b..."} 
[2026-09-04 17:34:40] local.INFO: Processing buffer {"connection_id":172261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4dc840012cc28bc0075ddc58001000d52b..."} 
[2026-09-04 17:34:40] local.INFO: Packet analysis {"connection_id":172261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4d"} 
[2026-09-04 17:34:40] local.INFO: Extracted packet for processing {"connection_id":172261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4d"} 
[2026-09-04 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":750947264,"raw_latitude":123591768,"longitude_deg":75.0947264,"latitude_deg":12.3591768,"altitude":16,"angle":213,"satellites":43,"speed":54,"hex_longitude":"2cc28bc0","hex_latitude":"075ddc58","is_valid_coordinates":true} 
[2026-09-04 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861997568001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398245155984900096,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4424364389785862144,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788523432000,"timestamp_ms":1788523432000,"timestamp_seconds":1788523432,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4dc840"} 
[2026-09-04 17:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 17:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861997568001,"66":27713,"208":206,"85":37120,"24":54,"16":398245155984900096,"44":-4424364389785862144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-04 17:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861997568001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:34:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 17:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398245155984900096,"km_value":398245155984900.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4424364389785862144,"description":"Unknown IO ID 44"} 
[2026-09-04 17:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861997568001,"power":27713,"unknown_208":206,"unknown_85":37120,"ignition":54,"odometer":null,"unknown_44":-4424364389785862144}} 
[2026-09-04 17:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":172261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:34:40] local.INFO: GPS data processed {"connection_id":172261,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:34:40] local.INFO: Acknowledgment sent {"connection_id":172261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:34:48] local.INFO: TCP Data received {"connection_id":172262,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:34:48] local.INFO: Processing buffer {"connection_id":172262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:34:48] local.INFO: IMEI packet received {"connection_id":172262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":172262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:34:53] local.INFO: TCP Data received {"connection_id":172262,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:34:53] local.INFO: Processing buffer {"connection_id":172262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:34:53] local.INFO: IMEI packet received {"connection_id":172262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":172262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:34:54] local.INFO: TCP Data received {"connection_id":172262,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c35e8012d1946c0072073600033012228..."} 
[2026-09-04 17:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c35e8012d1946c0072073600033012228..."} 
[2026-09-04 17:34:54] local.INFO: Processing buffer {"connection_id":172262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c35e8012d1946c0072073600033012228..."} 
[2026-09-04 17:34:54] local.INFO: Packet analysis {"connection_id":172262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:34:54] local.INFO: Extracted packet for processing {"connection_id":172262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:34:54] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119567200,"longitude_deg":75.6631232,"latitude_deg":11.95672,"altitude":51,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d1946c0","hex_latitude":"07207360","is_valid_coordinates":true} 
[2026-09-04 17:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861966848001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353501826875392,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821635711136374784,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788523329000,"timestamp_ms":1788523329000,"timestamp_seconds":1788523329,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c35e8"} 
[2026-09-04 17:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-04 17:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861966848001,"66":12950,"103":206,"83":41984,"24":0,"16":17353501826875392,"45":1821635711136374784},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861966848001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:34:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:34:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353501826875392,"km_value":17353501826875.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821635711136374784,"description":"Unknown IO ID 45"} 
[2026-09-04 17:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861966848001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1821635711136374784}} 
[2026-09-04 17:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":172262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:34:54] local.INFO: GPS data processed {"connection_id":172262,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:34:54] local.INFO: Acknowledgment sent {"connection_id":172262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:34:54] local.INFO: TCP Data received {"connection_id":170868,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:34:54] local.INFO: Processing buffer {"connection_id":170868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:34:54] local.INFO: IMEI packet received {"connection_id":170868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":170868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:34:55] local.INFO: TCP Data received {"connection_id":172260,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4e54e0012d7b664005d146e0000000a011..."} 
[2026-09-04 17:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4e54e0012d7b664005d146e0000000a011..."} 
[2026-09-04 17:34:55] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4e54e0012d7b664005d146e0000000a011..."} 
[2026-09-04 17:34:55] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4e"} 
[2026-09-04 17:34:55] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4e"} 
[2026-09-04 17:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763061824,"raw_latitude":97601248,"longitude_deg":76.3061824,"latitude_deg":9.7601248,"altitude":0,"angle":160,"satellites":17,"speed":7,"hex_longitude":"2d7b6640","hex_latitude":"05d146e0","is_valid_coordinates":true} 
[2026-09-04 17:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862003712001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128165315921051648,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891583433043914752,"note":"Value kept but may cause issues"} 
[2026-09-04 17:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788523468000,"timestamp_ms":1788523468000,"timestamp_seconds":1788523468,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4e54e0"} 
[2026-09-04 17:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-04 17:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862003712001,"66":13439,"164":206,"19":45824,"24":7,"16":128165315921051648,"45":8891583433043914752},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,19,24,16,45]} 
[2026-09-04 17:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862003712001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:34:55] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-04 17:34:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128165315921051648,"km_value":128165315921051.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891583433043914752,"description":"Unknown IO ID 45"} 
[2026-09-04 17:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862003712001,"power":13439,"unknown_164":206,"unknown_19":45824,"ignition":7,"odometer":null,"unknown_45":8891583433043914752}} 
[2026-09-04 17:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:34:55] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:34:55] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:34:59] local.INFO: TCP Data received {"connection_id":170868,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:34:59] local.INFO: Processing buffer {"connection_id":170868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:34:59] local.INFO: IMEI packet received {"connection_id":170868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":170868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:35:00] local.INFO: TCP Data received {"connection_id":170868,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:35:00] local.INFO: Processing buffer {"connection_id":170868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:35:00] local.INFO: Packet analysis {"connection_id":170868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:35:00] local.INFO: Extracted packet for processing {"connection_id":170868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:35:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861901312001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788523353000,"timestamp_ms":1788523353000,"timestamp_seconds":1788523353,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c93a8"} 
[2026-09-04 17:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861901312001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861901312001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:35:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:35:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861901312001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":170868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:35:00] local.INFO: GPS data processed {"connection_id":170868,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:35:00] local.INFO: Acknowledgment sent {"connection_id":170868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:35:01] local.INFO: TCP Data received {"connection_id":171168,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:35:01] local.INFO: Processing buffer {"connection_id":171168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:35:01] local.INFO: IMEI packet received {"connection_id":171168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":171168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:35:04] local.INFO: TCP Data received {"connection_id":171168,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:35:04] local.INFO: Processing buffer {"connection_id":171168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:35:04] local.INFO: IMEI packet received {"connection_id":171168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":171168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:35:05] local.INFO: TCP Data received {"connection_id":170868,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:35:05] local.INFO: Processing buffer {"connection_id":170868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:35:05] local.INFO: Packet analysis {"connection_id":170868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:35:05] local.INFO: Extracted packet for processing {"connection_id":170868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861901312001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788523353000,"timestamp_ms":1788523353000,"timestamp_seconds":1788523353,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c93a8"} 
[2026-09-04 17:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861901312001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861901312001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:35:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861901312001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":170868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763952,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:35:05] local.INFO: GPS data processed {"connection_id":170868,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:35:05] local.INFO: Acknowledgment sent {"connection_id":170868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:35:09] local.INFO: TCP Data received {"connection_id":171168,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:35:09] local.INFO: Processing buffer {"connection_id":171168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:35:09] local.INFO: IMEI packet received {"connection_id":171168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":171168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:35:09] local.INFO: TCP Data received {"connection_id":171168,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4dd7e0012cc28180075dc910001000c92e..."} 
[2026-09-04 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4dd7e0012cc28180075dc910001000c92e..."} 
[2026-09-04 17:35:09] local.INFO: Processing buffer {"connection_id":171168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4dd7e0012cc28180075dc910001000c92e..."} 
[2026-09-04 17:35:09] local.INFO: Packet analysis {"connection_id":171168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4d"} 
[2026-09-04 17:35:09] local.INFO: Extracted packet for processing {"connection_id":171168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4d"} 
[2026-09-04 17:35:09] local.INFO: GPS Element Parsed {"raw_longitude":750944640,"raw_latitude":123586832,"longitude_deg":75.094464,"latitude_deg":12.3586832,"altitude":16,"angle":201,"satellites":46,"speed":55,"hex_longitude":"2cc28180","hex_latitude":"075dc910","is_valid_coordinates":true} 
[2026-09-04 17:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861998592001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398245422272872448,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4428234670716725248,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788523436000,"timestamp_ms":1788523436000,"timestamp_seconds":1788523436,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4dd7e0"} 
[2026-09-04 17:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 17:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861998592001,"66":27930,"255":206,"85":37120,"24":55,"16":398245422272872448,"44":-4428234670716725248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-04 17:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861998592001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:35:09] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-04 17:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398245422272872448,"km_value":398245422272872.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:35:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4428234670716725248,"description":"Unknown IO ID 44"} 
[2026-09-04 17:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861998592001,"power":27930,"unknown_255":206,"unknown_85":37120,"ignition":55,"odometer":null,"unknown_44":-4428234670716725248}} 
[2026-09-04 17:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":171168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:35:09] local.INFO: GPS data processed {"connection_id":171168,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:35:09] local.INFO: Acknowledgment sent {"connection_id":171168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:35:10] local.INFO: TCP Data received {"connection_id":171168,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4deb68012cc27ac0075daf08000f00bc2f..."} 
[2026-09-04 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4deb68012cc27ac0075daf08000f00bc2f..."} 
[2026-09-04 17:35:10] local.INFO: Processing buffer {"connection_id":171168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4deb68012cc27ac0075daf08000f00bc2f..."} 
[2026-09-04 17:35:10] local.INFO: Packet analysis {"connection_id":171168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4d"} 
[2026-09-04 17:35:10] local.INFO: Extracted packet for processing {"connection_id":171168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4d"} 
[2026-09-04 17:35:10] local.INFO: GPS Element Parsed {"raw_longitude":750942912,"raw_latitude":123580168,"longitude_deg":75.0942912,"latitude_deg":12.3580168,"altitude":15,"angle":188,"satellites":47,"speed":55,"hex_longitude":"2cc27ac0","hex_latitude":"075daf08","is_valid_coordinates":true} 
[2026-09-04 17:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861999616001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398245757280321536,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4431119789229273088,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788523441000,"timestamp_ms":1788523441000,"timestamp_seconds":1788523441,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4deb68"} 
[2026-09-04 17:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 17:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861999616001,"66":27745,"255":206,"85":37120,"24":55,"16":398245757280321536,"44":-4431119789229273088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-04 17:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861999616001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:35:10] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-04 17:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398245757280321536,"km_value":398245757280321.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4431119789229273088,"description":"Unknown IO ID 44"} 
[2026-09-04 17:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861999616001,"power":27745,"unknown_255":206,"unknown_85":37120,"ignition":55,"odometer":null,"unknown_44":-4431119789229273088}} 
[2026-09-04 17:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":171168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:35:10] local.INFO: GPS data processed {"connection_id":171168,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:35:10] local.INFO: Acknowledgment sent {"connection_id":171168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:35:25] local.INFO: TCP Data received {"connection_id":172262,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c41a0012d1947c0072073300033006a28..."} 
[2026-09-04 17:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c41a0012d1947c0072073300033006a28..."} 
[2026-09-04 17:35:25] local.INFO: Processing buffer {"connection_id":172262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c41a0012d1947c0072073300033006a28..."} 
[2026-09-04 17:35:25] local.INFO: Packet analysis {"connection_id":172262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:35:25] local.INFO: Extracted packet for processing {"connection_id":172262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:35:25] local.INFO: GPS Element Parsed {"raw_longitude":756631488,"raw_latitude":119567152,"longitude_deg":75.6631488,"latitude_deg":11.9567152,"altitude":51,"angle":106,"satellites":40,"speed":1,"hex_longitude":"2d1947c0","hex_latitude":"07207330","is_valid_coordinates":true} 
[2026-09-04 17:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861972224001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353510416809984,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821354236159680512,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788523332000,"timestamp_ms":1788523332000,"timestamp_seconds":1788523332,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c41a0"} 
[2026-09-04 17:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 17:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861972224001,"66":12939,"103":206,"83":41984,"24":1,"16":17353510416809984,"45":1821354236159680512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861972224001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:35:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:35:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353510416809984,"km_value":17353510416809.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821354236159680512,"description":"Unknown IO ID 45"} 
[2026-09-04 17:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861972224001,"power":12939,"unknown_103":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1821354236159680512}} 
[2026-09-04 17:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":172262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:35:25] local.INFO: GPS data processed {"connection_id":172262,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:35:25] local.INFO: Acknowledgment sent {"connection_id":172262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:35:30] local.INFO: TCP Data received {"connection_id":173569,"ip":"117.225.177.151","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:35:30] local.INFO: Processing buffer {"connection_id":173569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:35:30] local.INFO: IMEI packet received {"connection_id":173569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":173569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:35:31] local.INFO: TCP Data received {"connection_id":173569,"ip":"117.225.177.151","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:35:31] local.INFO: Processing buffer {"connection_id":173569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:35:31] local.INFO: IMEI packet received {"connection_id":173569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":173569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:35:37] local.INFO: TCP Data received {"connection_id":173569,"ip":"117.225.177.151","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:35:37] local.INFO: Processing buffer {"connection_id":173569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:35:37] local.INFO: IMEI packet received {"connection_id":173569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":173569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:35:39] local.INFO: TCP Data received {"connection_id":173569,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4e6480012d7b674005d141c0000000b012..."} 
[2026-09-04 17:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4e6480012d7b674005d141c0000000b012..."} 
[2026-09-04 17:35:39] local.INFO: Processing buffer {"connection_id":173569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4e6480012d7b674005d141c0000000b012..."} 
[2026-09-04 17:35:39] local.INFO: Packet analysis {"connection_id":173569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4e"} 
[2026-09-04 17:35:39] local.INFO: Extracted packet for processing {"connection_id":173569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4e"} 
[2026-09-04 17:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763062080,"raw_latitude":97599936,"longitude_deg":76.306208,"latitude_deg":9.7599936,"altitude":0,"angle":176,"satellites":18,"speed":13,"hex_longitude":"2d7b6740","hex_latitude":"05d141c0","is_valid_coordinates":true} 
[2026-09-04 17:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862007808001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128165380345561088,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891864908019720192,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788523472000,"timestamp_ms":1788523472000,"timestamp_seconds":1788523472,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4e6480"} 
[2026-09-04 17:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-04 17:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862007808001,"66":13646,"164":206,"19":45824,"24":13,"16":128165380345561088,"45":8891864908019720192},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,19,24,16,45]} 
[2026-09-04 17:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862007808001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:35:39] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-04 17:35:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128165380345561088,"km_value":128165380345561.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891864908019720192,"description":"Unknown IO ID 45"} 
[2026-09-04 17:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862007808001,"power":13646,"unknown_164":206,"unknown_19":45824,"ignition":13,"odometer":null,"unknown_45":8891864908019720192}} 
[2026-09-04 17:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":173569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:35:39] local.INFO: GPS data processed {"connection_id":173569,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:35:39] local.INFO: Acknowledgment sent {"connection_id":173569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:35:41] local.INFO: TCP Data received {"connection_id":173569,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4eaad0012d7b6bc005d11e80000000af12..."} 
[2026-09-04 17:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4eaad0012d7b6bc005d11e80000000af12..."} 
[2026-09-04 17:35:41] local.INFO: Processing buffer {"connection_id":173569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4eaad0012d7b6bc005d11e80000000af12..."} 
[2026-09-04 17:35:41] local.INFO: Packet analysis {"connection_id":173569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4e"} 
[2026-09-04 17:35:41] local.INFO: Extracted packet for processing {"connection_id":173569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4e"} 
[2026-09-04 17:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763063232,"raw_latitude":97590912,"longitude_deg":76.3063232,"latitude_deg":9.7590912,"altitude":0,"angle":175,"satellites":18,"speed":27,"hex_longitude":"2d7b6bc0","hex_latitude":"05d11e80","is_valid_coordinates":true} 
[2026-09-04 17:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862008832001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128165822727192576,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892146382996094976,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788523490000,"timestamp_ms":1788523490000,"timestamp_seconds":1788523490,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4eaad0"} 
[2026-09-04 17:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-04 17:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862008832001,"66":13646,"164":206,"19":45824,"24":27,"16":128165822727192576,"45":8892146382996094976},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,19,24,16,45]} 
[2026-09-04 17:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862008832001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:35:41] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-04 17:35:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128165822727192576,"km_value":128165822727192.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892146382996094976,"description":"Unknown IO ID 45"} 
[2026-09-04 17:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862008832001,"power":13646,"unknown_164":206,"unknown_19":45824,"ignition":27,"odometer":null,"unknown_45":8892146382996094976}} 
[2026-09-04 17:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":173569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:35:41] local.INFO: GPS data processed {"connection_id":173569,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:35:41] local.INFO: Acknowledgment sent {"connection_id":173569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:35:41] local.INFO: TCP Data received {"connection_id":171168,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4e06c0012cc27480075d89d0000f00bc2d..."} 
[2026-09-04 17:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4e06c0012cc27480075d89d0000f00bc2d..."} 
[2026-09-04 17:35:41] local.INFO: Processing buffer {"connection_id":171168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4e06c0012cc27480075d89d0000f00bc2d..."} 
[2026-09-04 17:35:41] local.INFO: Packet analysis {"connection_id":171168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4e"} 
[2026-09-04 17:35:41] local.INFO: Extracted packet for processing {"connection_id":171168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4e"} 
[2026-09-04 17:35:41] local.INFO: GPS Element Parsed {"raw_longitude":750941312,"raw_latitude":123570640,"longitude_deg":75.0941312,"latitude_deg":12.357064,"altitude":15,"angle":188,"satellites":45,"speed":54,"hex_longitude":"2cc27480","hex_latitude":"075d89d0","is_valid_coordinates":true} 
[2026-09-04 17:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862000896001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398246225431756800,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4433019745323776000,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788523448000,"timestamp_ms":1788523448000,"timestamp_seconds":1788523448,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4e06c0"} 
[2026-09-04 17:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 17:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862000896001,"66":27974,"255":206,"85":37120,"24":54,"16":398246225431756800,"44":-4433019745323776000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-04 17:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862000896001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:35:41] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-04 17:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398246225431756800,"km_value":398246225431756.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4433019745323776000,"description":"Unknown IO ID 44"} 
[2026-09-04 17:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862000896001,"power":27974,"unknown_255":206,"unknown_85":37120,"ignition":54,"odometer":null,"unknown_44":-4433019745323776000}} 
[2026-09-04 17:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":171168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:35:41] local.INFO: GPS data processed {"connection_id":171168,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:35:41] local.INFO: Acknowledgment sent {"connection_id":171168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:35:42] local.INFO: TCP Data received {"connection_id":173569,"ip":"117.225.177.151","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4ed1e0012d7b6f4005d10380000000a112..."} 
[2026-09-04 17:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4ed1e0012d7b6f4005d10380000000a112..."} 
[2026-09-04 17:35:42] local.INFO: Processing buffer {"connection_id":173569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4ed1e0012d7b6f4005d10380000000a112..."} 
[2026-09-04 17:35:42] local.INFO: Packet analysis {"connection_id":173569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4e"} 
[2026-09-04 17:35:42] local.INFO: Extracted packet for processing {"connection_id":173569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4e"} 
[2026-09-04 17:35:42] local.INFO: GPS Element Parsed {"raw_longitude":763064128,"raw_latitude":97584000,"longitude_deg":76.3064128,"latitude_deg":9.7584,"altitude":0,"angle":161,"satellites":18,"speed":26,"hex_longitude":"2d7b6f40","hex_latitude":"05d10380","is_valid_coordinates":true} 
[2026-09-04 17:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862013440001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128166157734641664,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893413020388982784,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788523500000,"timestamp_ms":1788523500000,"timestamp_seconds":1788523500,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4ed1e0"} 
[2026-09-04 17:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-04 17:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.177.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862013440001,"66":13798,"164":206,"19":45824,"24":26,"16":128166157734641664,"45":8893413020388982784},"client_ip":"117.225.177.151","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,19,24,16,45]} 
[2026-09-04 17:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862013440001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:35:42] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-04 17:35:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-09-04 17:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128166157734641664,"km_value":128166157734641.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893413020388982784,"description":"Unknown IO ID 45"} 
[2026-09-04 17:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862013440001,"power":13798,"unknown_164":206,"unknown_19":45824,"ignition":26,"odometer":null,"unknown_45":8893413020388982784}} 
[2026-09-04 17:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":173569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:35:42] local.INFO: GPS data processed {"connection_id":173569,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:35:42] local.INFO: Acknowledgment sent {"connection_id":173569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:35:48] local.INFO: TCP Data received {"connection_id":170869,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:35:48] local.INFO: Processing buffer {"connection_id":170869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:35:48] local.INFO: IMEI packet received {"connection_id":170869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":170869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:35:49] local.INFO: TCP Data received {"connection_id":172263,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:35:49] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:35:49] local.INFO: IMEI packet received {"connection_id":172263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":172263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:35:53] local.INFO: TCP Data received {"connection_id":170869,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:35:53] local.INFO: Processing buffer {"connection_id":170869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:35:53] local.INFO: IMEI packet received {"connection_id":170869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":170869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:35:54] local.INFO: TCP Data received {"connection_id":170869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c4d58012d194800072072c80032008328..."} 
[2026-09-04 17:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c4d58012d194800072072c80032008328..."} 
[2026-09-04 17:35:54] local.INFO: Processing buffer {"connection_id":170869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c4d58012d194800072072c80032008328..."} 
[2026-09-04 17:35:54] local.INFO: Packet analysis {"connection_id":170869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:35:54] local.INFO: Extracted packet for processing {"connection_id":170869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:35:54] local.INFO: GPS Element Parsed {"raw_longitude":756631552,"raw_latitude":119567048,"longitude_deg":75.6631552,"latitude_deg":11.9567048,"altitude":50,"angle":131,"satellites":40,"speed":1,"hex_longitude":"2d194800","hex_latitude":"072072c8","is_valid_coordinates":true} 
[2026-09-04 17:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861972992001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353519006744576,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821635711136378880,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788523335000,"timestamp_ms":1788523335000,"timestamp_seconds":1788523335,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c4d58"} 
[2026-09-04 17:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-04 17:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861972992001,"66":12950,"103":206,"83":41984,"24":1,"16":17353519006744576,"45":1821635711136378880},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861972992001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:35:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:35:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353519006744576,"km_value":17353519006744.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821635711136378880,"description":"Unknown IO ID 45"} 
[2026-09-04 17:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861972992001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1821635711136378880}} 
[2026-09-04 17:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":170869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:35:54] local.INFO: GPS data processed {"connection_id":170869,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:35:54] local.INFO: Acknowledgment sent {"connection_id":170869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:35:54] local.INFO: TCP Data received {"connection_id":172263,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:35:54] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:35:54] local.INFO: IMEI packet received {"connection_id":172263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":172263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:35:55] local.INFO: TCP Data received {"connection_id":172263,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:35:55] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:35:55] local.INFO: Packet analysis {"connection_id":172263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:35:55] local.INFO: Extracted packet for processing {"connection_id":172263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861901312001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788523353000,"timestamp_ms":1788523353000,"timestamp_seconds":1788523353,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c93a8"} 
[2026-09-04 17:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861901312001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861901312001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:35:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861901312001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":172263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763961,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:35:55] local.INFO: GPS data processed {"connection_id":172263,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:35:55] local.INFO: Acknowledgment sent {"connection_id":172263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:35:59] local.INFO: TCP Data received {"connection_id":170870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:35:59] local.INFO: Processing buffer {"connection_id":170870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:35:59] local.INFO: IMEI packet received {"connection_id":170870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":170870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:35:59] local.INFO: TCP Data received {"connection_id":172263,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:35:59] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:35:59] local.INFO: Packet analysis {"connection_id":172263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:35:59] local.INFO: Extracted packet for processing {"connection_id":172263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:35:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861901312001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788523353000,"timestamp_ms":1788523353000,"timestamp_seconds":1788523353,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c93a8"} 
[2026-09-04 17:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861901312001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861901312001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:35:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861901312001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":172263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763962,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:35:59] local.INFO: GPS data processed {"connection_id":172263,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:35:59] local.INFO: Acknowledgment sent {"connection_id":172263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:36:04] local.INFO: TCP Data received {"connection_id":170870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:04] local.INFO: Processing buffer {"connection_id":170870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:04] local.INFO: IMEI packet received {"connection_id":170870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":170870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:36:05] local.INFO: TCP Data received {"connection_id":170870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:05] local.INFO: Processing buffer {"connection_id":170870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:05] local.INFO: IMEI packet received {"connection_id":170870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":170870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:36:09] local.INFO: TCP Data received {"connection_id":170870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:09] local.INFO: Processing buffer {"connection_id":170870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:09] local.INFO: IMEI packet received {"connection_id":170870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":170870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:36:10] local.INFO: TCP Data received {"connection_id":170870,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4ee950012cc32340075ca868000b009c30..."} 
[2026-09-04 17:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4ee950012cc32340075ca868000b009c30..."} 
[2026-09-04 17:36:10] local.INFO: Processing buffer {"connection_id":170870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4ee950012cc32340075ca868000b009c30..."} 
[2026-09-04 17:36:10] local.INFO: Packet analysis {"connection_id":170870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4e"} 
[2026-09-04 17:36:10] local.INFO: Extracted packet for processing {"connection_id":170870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4e"} 
[2026-09-04 17:36:10] local.INFO: GPS Element Parsed {"raw_longitude":750986048,"raw_latitude":123512936,"longitude_deg":75.0986048,"latitude_deg":12.3512936,"altitude":11,"angle":156,"satellites":48,"speed":49,"hex_longitude":"2cc32340","hex_latitude":"075ca868","is_valid_coordinates":true} 
[2026-09-04 17:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862015744001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398249906218729472,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4389391123948656640,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788523506000,"timestamp_ms":1788523506000,"timestamp_seconds":1788523506,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4ee950"} 
[2026-09-04 17:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862015744001,"66":27843,"255":206,"85":37120,"24":49,"16":398249906218729472,"44":-4389391123948656640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-04 17:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862015744001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:36:10] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-04 17:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398249906218729472,"km_value":398249906218729.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4389391123948656640,"description":"Unknown IO ID 44"} 
[2026-09-04 17:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862015744001,"power":27843,"unknown_255":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4389391123948656640}} 
[2026-09-04 17:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":170870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:36:10] local.INFO: GPS data processed {"connection_id":170870,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:36:10] local.INFO: Acknowledgment sent {"connection_id":170870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:36:13] local.INFO: TCP Data received {"connection_id":170870,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4f0c78012cc331c0075c8530000e009d30..."} 
[2026-09-04 17:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4f0c78012cc331c0075c8530000e009d30..."} 
[2026-09-04 17:36:13] local.INFO: Processing buffer {"connection_id":170870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4f0c78012cc331c0075c8530000e009d30..."} 
[2026-09-04 17:36:13] local.INFO: Packet analysis {"connection_id":170870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4f"} 
[2026-09-04 17:36:13] local.INFO: Extracted packet for processing {"connection_id":170870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4f"} 
[2026-09-04 17:36:13] local.INFO: GPS Element Parsed {"raw_longitude":750989760,"raw_latitude":123503920,"longitude_deg":75.098976,"latitude_deg":12.350392,"altitude":14,"angle":157,"satellites":48,"speed":36,"hex_longitude":"2cc331c0","hex_latitude":"075c8530","is_valid_coordinates":true} 
[2026-09-04 17:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862017536001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398250378665132032,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4385591211765241856,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788523515000,"timestamp_ms":1788523515000,"timestamp_seconds":1788523515,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4f0c78"} 
[2026-09-04 17:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 17:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":170870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":170870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":170870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862017536001,"66":27865,"255":206,"85":37120,"24":36,"16":398250378665132032,"44":-4385591211765241856},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-04 17:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862017536001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:36:13] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-04 17:36:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398250378665132032,"km_value":398250378665132.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:36:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4385591211765241856,"description":"Unknown IO ID 44"} 
[2026-09-04 17:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862017536001,"power":27865,"unknown_255":206,"unknown_85":37120,"ignition":36,"odometer":null,"unknown_44":-4385591211765241856}} 
[2026-09-04 17:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":170870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:36:13] local.INFO: GPS data processed {"connection_id":170870,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:36:13] local.INFO: Acknowledgment sent {"connection_id":170870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:36:24] local.INFO: TCP Data received {"connection_id":170869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4edd98012d1946c007206f48003100b928..."} 
[2026-09-04 17:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4edd98012d1946c007206f48003100b928..."} 
[2026-09-04 17:36:24] local.INFO: Processing buffer {"connection_id":170869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4edd98012d1946c007206f48003100b928..."} 
[2026-09-04 17:36:24] local.INFO: Packet analysis {"connection_id":170869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4e"} 
[2026-09-04 17:36:24] local.INFO: Extracted packet for processing {"connection_id":170869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4e"} 
[2026-09-04 17:36:24] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119566152,"longitude_deg":75.6631232,"latitude_deg":11.9566152,"altitude":49,"angle":185,"satellites":40,"speed":0,"hex_longitude":"2d1946c0","hex_latitude":"07206f48","is_valid_coordinates":true} 
[2026-09-04 17:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862011392001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353574841319424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821354236159412224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788523503000,"timestamp_ms":1788523503000,"timestamp_seconds":1788523503,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4edd98"} 
[2026-09-04 17:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 17:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862011392001,"66":12819,"103":206,"83":41984,"24":0,"16":17353574841319424,"45":1821354236159412224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862011392001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:36:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:36:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353574841319424,"km_value":17353574841319.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821354236159412224,"description":"Unknown IO ID 45"} 
[2026-09-04 17:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862011392001,"power":12819,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1821354236159412224}} 
[2026-09-04 17:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":170869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:36:25] local.INFO: GPS data processed {"connection_id":170869,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:36:25] local.INFO: Acknowledgment sent {"connection_id":170869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:36:26] local.INFO: TCP Data received {"connection_id":173570,"ip":"117.225.177.151","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:36:26] local.INFO: Processing buffer {"connection_id":173570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:36:26] local.INFO: IMEI packet received {"connection_id":173570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":173570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:36:31] local.INFO: TCP Data received {"connection_id":172263,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:36:31] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:36:31] local.INFO: Packet analysis {"connection_id":172263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:36:31] local.INFO: Extracted packet for processing {"connection_id":172263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:36:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861901312001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788523353000,"timestamp_ms":1788523353000,"timestamp_seconds":1788523353,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c93a8"} 
[2026-09-04 17:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861901312001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861901312001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:36:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:36:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861901312001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":172263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763966,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:36:31] local.INFO: GPS data processed {"connection_id":172263,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:36:31] local.INFO: Acknowledgment sent {"connection_id":172263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:36:48] local.INFO: TCP Data received {"connection_id":173572,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:36:48] local.INFO: Processing buffer {"connection_id":173572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:36:48] local.INFO: IMEI packet received {"connection_id":173572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":173572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:36:49] local.INFO: TCP Data received {"connection_id":173571,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:36:49] local.INFO: Processing buffer {"connection_id":173571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:36:49] local.INFO: IMEI packet received {"connection_id":173571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":173571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:36:53] local.INFO: TCP Data received {"connection_id":173572,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:36:53] local.INFO: Processing buffer {"connection_id":173572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:36:53] local.INFO: IMEI packet received {"connection_id":173572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":173572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:36:54] local.INFO: TCP Data received {"connection_id":173572,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4f2fa0012d1946c007206f48003100b927..."} 
[2026-09-04 17:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4f2fa0012d1946c007206f48003100b927..."} 
[2026-09-04 17:36:54] local.INFO: Processing buffer {"connection_id":173572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4f2fa0012d1946c007206f48003100b927..."} 
[2026-09-04 17:36:54] local.INFO: Packet analysis {"connection_id":173572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4f"} 
[2026-09-04 17:36:54] local.INFO: Extracted packet for processing {"connection_id":173572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4f"} 
[2026-09-04 17:36:54] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119566152,"longitude_deg":75.6631232,"latitude_deg":11.9566152,"altitude":49,"angle":185,"satellites":39,"speed":0,"hex_longitude":"2d1946c0","hex_latitude":"07206f48","is_valid_coordinates":true} 
[2026-09-04 17:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862016768001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353574841319424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821354236159412224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788523524000,"timestamp_ms":1788523524000,"timestamp_seconds":1788523524,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4f2fa0"} 
[2026-09-04 17:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":166,"raw_value":4227858432,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3386932836790488659,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503864421777408,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":108,"raw_value":5521237226347382528,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675904093319069720,"corrected_to":0} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3221692527,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182234004586752,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2801532928,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2337315430869286439,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195025408,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84751759650005104,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:54] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,166,160,139,45,192,111,49,38,10,66,57,37,231,1,240,63,227,108,32,4,113,205,67,70,72,36,239,47,2,61,7,164,252,69,120],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":8675904093319069720,"validated":0}]} 
[2026-09-04 17:36:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531025689308299264,"timestamp_seconds":3531025689308299.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 17:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862016768001,"66":12798,"103":206,"83":41984,"24":0,"16":17353574841319424,"45":1821354236159412224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862016768001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:36:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:36:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353574841319424,"km_value":17353574841319.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821354236159412224,"description":"Unknown IO ID 45"} 
[2026-09-04 17:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862016768001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1821354236159412224}} 
[2026-09-04 17:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":173572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:36:54] local.INFO: GPS data processed {"connection_id":173572,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:36:54] local.INFO: Acknowledgment sent {"connection_id":173572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:36:54] local.INFO: TCP Data received {"connection_id":173571,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:36:54] local.INFO: Processing buffer {"connection_id":173571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:36:54] local.INFO: IMEI packet received {"connection_id":173571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":173571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:36:55] local.INFO: TCP Data received {"connection_id":173571,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:36:55] local.INFO: Processing buffer {"connection_id":173571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:36:55] local.INFO: Packet analysis {"connection_id":173571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:36:55] local.INFO: Extracted packet for processing {"connection_id":173571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:36:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861901312001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788523353000,"timestamp_ms":1788523353000,"timestamp_seconds":1788523353,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c93a8"} 
[2026-09-04 17:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861901312001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861901312001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:36:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861901312001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":173571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763968,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:36:55] local.INFO: GPS data processed {"connection_id":173571,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:36:55] local.INFO: Acknowledgment sent {"connection_id":173571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:36:59] local.INFO: TCP Data received {"connection_id":172264,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:59] local.INFO: Processing buffer {"connection_id":172264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:59] local.INFO: IMEI packet received {"connection_id":172264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":172264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:36:59] local.INFO: TCP Data received {"connection_id":172264,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:59] local.INFO: Processing buffer {"connection_id":172264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:36:59] local.INFO: IMEI packet received {"connection_id":172264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":172264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:37:04] local.INFO: TCP Data received {"connection_id":172264,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:37:04] local.INFO: Processing buffer {"connection_id":172264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:37:04] local.INFO: IMEI packet received {"connection_id":172264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":172264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:37:05] local.INFO: TCP Data received {"connection_id":172264,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4f3b58012cc33f40075c64200010009a32..."} 
[2026-09-04 17:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4f3b58012cc33f40075c64200010009a32..."} 
[2026-09-04 17:37:05] local.INFO: Processing buffer {"connection_id":172264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4f3b58012cc33f40075c64200010009a32..."} 
[2026-09-04 17:37:05] local.INFO: Packet analysis {"connection_id":172264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4f"} 
[2026-09-04 17:37:05] local.INFO: Extracted packet for processing {"connection_id":172264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4f"} 
[2026-09-04 17:37:05] local.INFO: GPS Element Parsed {"raw_longitude":750993216,"raw_latitude":123495456,"longitude_deg":75.0993216,"latitude_deg":12.3495456,"altitude":16,"angle":154,"satellites":50,"speed":26,"hex_longitude":"2cc33f40","hex_latitude":"075c6420","is_valid_coordinates":true} 
[2026-09-04 17:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862019840001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398250821046763520,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381509824605245440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788523527000,"timestamp_ms":1788523527000,"timestamp_seconds":1788523527,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4f3b58"} 
[2026-09-04 17:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862019840001,"66":27865,"255":206,"85":37120,"24":26,"16":398250821046763520,"44":-4381509824605245440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-04 17:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862019840001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:37:05] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-04 17:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398250821046763520,"km_value":398250821046763.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:37:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381509824605245440,"description":"Unknown IO ID 44"} 
[2026-09-04 17:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862019840001,"power":27865,"unknown_255":206,"unknown_85":37120,"ignition":26,"odometer":null,"unknown_44":-4381509824605245440}} 
[2026-09-04 17:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":172264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:37:05] local.INFO: GPS data processed {"connection_id":172264,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:37:05] local.INFO: Acknowledgment sent {"connection_id":172264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:37:25] local.INFO: TCP Data received {"connection_id":173572,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4f81a8012d1946c007206f48003100b924..."} 
[2026-09-04 17:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4f81a8012d1946c007206f48003100b924..."} 
[2026-09-04 17:37:25] local.INFO: Processing buffer {"connection_id":173572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4f81a8012d1946c007206f48003100b924..."} 
[2026-09-04 17:37:25] local.INFO: Packet analysis {"connection_id":173572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4f"} 
[2026-09-04 17:37:25] local.INFO: Extracted packet for processing {"connection_id":173572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4f"} 
[2026-09-04 17:37:25] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119566152,"longitude_deg":75.6631232,"latitude_deg":11.9566152,"altitude":49,"angle":185,"satellites":36,"speed":0,"hex_longitude":"2d1946c0","hex_latitude":"07206f48","is_valid_coordinates":true} 
[2026-09-04 17:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862022144001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353574841319424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821354236159412224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788523545000,"timestamp_ms":1788523545000,"timestamp_seconds":1788523545,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4f81a8"} 
[2026-09-04 17:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-04 17:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862022144001,"66":12776,"103":206,"83":41984,"24":0,"16":17353574841319424,"45":1821354236159412224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862022144001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:37:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:37:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353574841319424,"km_value":17353574841319.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821354236159412224,"description":"Unknown IO ID 45"} 
[2026-09-04 17:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862022144001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1821354236159412224}} 
[2026-09-04 17:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":173572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:37:25] local.INFO: GPS data processed {"connection_id":173572,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:37:25] local.INFO: Acknowledgment sent {"connection_id":173572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:37:27] local.INFO: TCP Data received {"connection_id":173571,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:37:27] local.INFO: Processing buffer {"connection_id":173571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:37:27] local.INFO: Packet analysis {"connection_id":173571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:37:27] local.INFO: Extracted packet for processing {"connection_id":173571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:37:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861901312001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788523353000,"timestamp_ms":1788523353000,"timestamp_seconds":1788523353,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c93a8"} 
[2026-09-04 17:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861901312001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861901312001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:37:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:37:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861901312001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":173571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:37:27] local.INFO: GPS data processed {"connection_id":173571,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:37:27] local.INFO: Acknowledgment sent {"connection_id":173571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:37:36] local.INFO: TCP Data received {"connection_id":172264,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c506ff0012cc3b5c0075b5ea8002100a031..."} 
[2026-09-04 17:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c506ff0012cc3b5c0075b5ea8002100a031..."} 
[2026-09-04 17:37:36] local.INFO: Processing buffer {"connection_id":172264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c506ff0012cc3b5c0075b5ea8002100a031..."} 
[2026-09-04 17:37:36] local.INFO: Packet analysis {"connection_id":172264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:37:36] local.INFO: Extracted packet for processing {"connection_id":172264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:37:36] local.INFO: GPS Element Parsed {"raw_longitude":751023552,"raw_latitude":123428520,"longitude_deg":75.1023552,"latitude_deg":12.342852,"altitude":33,"angle":160,"satellites":49,"speed":43,"hex_longitude":"2cc3b5c0","hex_latitude":"075b5ea8","is_valid_coordinates":true} 
[2026-09-04 17:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862041856001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398254566258245632,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4345832871325046784,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788523606000,"timestamp_ms":1788523606000,"timestamp_seconds":1788523606,"priority":1,"record_length":96,"hex_timestamp":"000001a06c506ff0"} 
[2026-09-04 17:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 17:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862041856001,"66":27800,"35":206,"85":37120,"24":43,"16":398254566258245632,"44":-4345832871325046784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-04 17:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862041856001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:37:36] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-04 17:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398254566258245632,"km_value":398254566258245.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:37:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4345832871325046784,"description":"Unknown IO ID 44"} 
[2026-09-04 17:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862041856001,"power":27800,"unknown_35":206,"unknown_85":37120,"ignition":43,"odometer":null,"unknown_44":-4345832871325046784}} 
[2026-09-04 17:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":172264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:37:36] local.INFO: GPS data processed {"connection_id":172264,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:37:36] local.INFO: Acknowledgment sent {"connection_id":172264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:37:47] local.INFO: TCP Data received {"connection_id":170872,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:37:47] local.INFO: Processing buffer {"connection_id":170872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:37:47] local.INFO: IMEI packet received {"connection_id":170872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":170872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:37:48] local.INFO: TCP Data received {"connection_id":170871,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:37:48] local.INFO: Processing buffer {"connection_id":170871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:37:48] local.INFO: IMEI packet received {"connection_id":170871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":170871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:37:53] local.INFO: TCP Data received {"connection_id":170872,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:37:53] local.INFO: Processing buffer {"connection_id":170872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:37:53] local.INFO: IMEI packet received {"connection_id":170872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":170872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:37:54] local.INFO: TCP Data received {"connection_id":170872,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4fd3b0012d1946c007206f48003100b927..."} 
[2026-09-04 17:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4fd3b0012d1946c007206f48003100b927..."} 
[2026-09-04 17:37:54] local.INFO: Processing buffer {"connection_id":170872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4fd3b0012d1946c007206f48003100b927..."} 
[2026-09-04 17:37:54] local.INFO: Packet analysis {"connection_id":170872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4f"} 
[2026-09-04 17:37:54] local.INFO: Extracted packet for processing {"connection_id":170872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4f"} 
[2026-09-04 17:37:54] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119566152,"longitude_deg":75.6631232,"latitude_deg":11.9566152,"altitude":49,"angle":185,"satellites":39,"speed":0,"hex_longitude":"2d1946c0","hex_latitude":"07206f48","is_valid_coordinates":true} 
[2026-09-04 17:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862027520001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353574841319424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821354236159412224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788523566000,"timestamp_ms":1788523566000,"timestamp_seconds":1788523566,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4fd3b0"} 
[2026-09-04 17:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 17:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862027520001,"66":12776,"103":206,"83":41984,"24":0,"16":17353574841319424,"45":1821354236159412224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862027520001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:37:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:37:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353574841319424,"km_value":17353574841319.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821354236159412224,"description":"Unknown IO ID 45"} 
[2026-09-04 17:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862027520001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1821354236159412224}} 
[2026-09-04 17:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":170872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:37:54] local.INFO: GPS data processed {"connection_id":170872,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:37:54] local.INFO: Acknowledgment sent {"connection_id":170872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:37:54] local.INFO: TCP Data received {"connection_id":170871,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:37:54] local.INFO: Processing buffer {"connection_id":170871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:37:54] local.INFO: IMEI packet received {"connection_id":170871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":170871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:37:55] local.INFO: TCP Data received {"connection_id":170871,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:37:55] local.INFO: Processing buffer {"connection_id":170871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c4c93a8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:37:55] local.INFO: Packet analysis {"connection_id":170871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:37:55] local.INFO: Extracted packet for processing {"connection_id":170871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c4c"} 
[2026-09-04 17:37:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861901312001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788523353000,"timestamp_ms":1788523353000,"timestamp_seconds":1788523353,"priority":1,"record_length":96,"hex_timestamp":"000001a06c4c93a8"} 
[2026-09-04 17:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861901312001,"66":25343,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861901312001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:37:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:37:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861901312001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":170871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:37:55] local.INFO: GPS data processed {"connection_id":170871,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:37:55] local.INFO: Acknowledgment sent {"connection_id":170871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:37:59] local.INFO: TCP Data received {"connection_id":172265,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:37:59] local.INFO: Processing buffer {"connection_id":172265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:37:59] local.INFO: IMEI packet received {"connection_id":172265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":172265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:38:00] local.INFO: TCP Data received {"connection_id":172265,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:38:00] local.INFO: Processing buffer {"connection_id":172265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:38:00] local.INFO: IMEI packet received {"connection_id":172265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":172265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:38:04] local.INFO: TCP Data received {"connection_id":172265,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:38:04] local.INFO: Processing buffer {"connection_id":172265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:38:04] local.INFO: IMEI packet received {"connection_id":172265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":172265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:38:05] local.INFO: TCP Data received {"connection_id":172265,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c507ba8012cc3bb80075b53400022009131..."} 
[2026-09-04 17:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c507ba8012cc3bb80075b53400022009131..."} 
[2026-09-04 17:38:05] local.INFO: Processing buffer {"connection_id":172265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c507ba8012cc3bb80075b53400022009131..."} 
[2026-09-04 17:38:05] local.INFO: Packet analysis {"connection_id":172265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:38:05] local.INFO: Extracted packet for processing {"connection_id":172265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:38:05] local.INFO: GPS Element Parsed {"raw_longitude":751025024,"raw_latitude":123425600,"longitude_deg":75.1025024,"latitude_deg":12.34256,"altitude":34,"angle":145,"satellites":49,"speed":43,"hex_longitude":"2cc3bb80","hex_latitude":"075b5340","is_valid_coordinates":true} 
[2026-09-04 17:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862043136001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398254725172035584,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344355127698741248,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788523609000,"timestamp_ms":1788523609000,"timestamp_seconds":1788523609,"priority":1,"record_length":96,"hex_timestamp":"000001a06c507ba8"} 
[2026-09-04 17:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 17:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862043136001,"66":27843,"35":206,"85":37120,"24":43,"16":398254725172035584,"44":-4344355127698741248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-04 17:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862043136001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:38:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-04 17:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398254725172035584,"km_value":398254725172035.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344355127698741248,"description":"Unknown IO ID 44"} 
[2026-09-04 17:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862043136001,"power":27843,"unknown_35":206,"unknown_85":37120,"ignition":43,"odometer":null,"unknown_44":-4344355127698741248}} 
[2026-09-04 17:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":172265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:38:05] local.INFO: GPS data processed {"connection_id":172265,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:38:05] local.INFO: Acknowledgment sent {"connection_id":172265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:38:25] local.INFO: TCP Data received {"connection_id":170872,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5025b8012d1946c007206f48003100b928..."} 
[2026-09-04 17:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5025b8012d1946c007206f48003100b928..."} 
[2026-09-04 17:38:25] local.INFO: Processing buffer {"connection_id":170872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5025b8012d1946c007206f48003100b928..."} 
[2026-09-04 17:38:25] local.INFO: Packet analysis {"connection_id":170872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:38:25] local.INFO: Extracted packet for processing {"connection_id":170872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:38:25] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119566152,"longitude_deg":75.6631232,"latitude_deg":11.9566152,"altitude":49,"angle":185,"satellites":40,"speed":0,"hex_longitude":"2d1946c0","hex_latitude":"07206f48","is_valid_coordinates":true} 
[2026-09-04 17:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862032896001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353574841319424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821354236159412224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788523587000,"timestamp_ms":1788523587000,"timestamp_seconds":1788523587,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5025b8"} 
[2026-09-04 17:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 17:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862032896001,"66":12765,"103":206,"83":41984,"24":0,"16":17353574841319424,"45":1821354236159412224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862032896001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:38:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:38:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353574841319424,"km_value":17353574841319.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821354236159412224,"description":"Unknown IO ID 45"} 
[2026-09-04 17:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862032896001,"power":12765,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1821354236159412224}} 
[2026-09-04 17:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":170872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:38:25] local.INFO: GPS data processed {"connection_id":170872,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:38:25] local.INFO: Acknowledgment sent {"connection_id":170872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:38:27] local.INFO: TCP Data received {"connection_id":170871,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:38:27] local.INFO: Processing buffer {"connection_id":170871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:38:27] local.INFO: Packet analysis {"connection_id":170871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:38:27] local.INFO: Extracted packet for processing {"connection_id":170871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:38:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861978368001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788523654000,"timestamp_ms":1788523654000,"timestamp_seconds":1788523654,"priority":1,"record_length":96,"hex_timestamp":"000001a06c512b70"} 
[2026-09-04 17:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861978368001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861978368001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:38:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:38:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861978368001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":170871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:38:27] local.INFO: GPS data processed {"connection_id":170871,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:38:27] local.INFO: Acknowledgment sent {"connection_id":170871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:38:36] local.INFO: TCP Data received {"connection_id":172265,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c509318012cc3ccc0075b40280024008632..."} 
[2026-09-04 17:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c509318012cc3ccc0075b40280024008632..."} 
[2026-09-04 17:38:36] local.INFO: Processing buffer {"connection_id":172265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c509318012cc3ccc0075b40280024008632..."} 
[2026-09-04 17:38:36] local.INFO: Packet analysis {"connection_id":172265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:38:36] local.INFO: Extracted packet for processing {"connection_id":172265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:38:36] local.INFO: GPS Element Parsed {"raw_longitude":751029440,"raw_latitude":123420712,"longitude_deg":75.102944,"latitude_deg":12.3420712,"altitude":36,"angle":134,"satellites":50,"speed":42,"hex_longitude":"2cc3ccc0","hex_latitude":"075b4028","is_valid_coordinates":true} 
[2026-09-04 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862043904001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398255042999615488,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4342736646583402496,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788523615000,"timestamp_ms":1788523615000,"timestamp_seconds":1788523615,"priority":1,"record_length":96,"hex_timestamp":"000001a06c509318"} 
[2026-09-04 17:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 17:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862043904001,"66":27800,"35":206,"85":37120,"24":42,"16":398255042999615488,"44":-4342736646583402496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-04 17:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862043904001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:38:36] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-04 17:38:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398255042999615488,"km_value":398255042999615.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:38:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4342736646583402496,"description":"Unknown IO ID 44"} 
[2026-09-04 17:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862043904001,"power":27800,"unknown_35":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4342736646583402496}} 
[2026-09-04 17:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":172265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:38:36] local.INFO: GPS data processed {"connection_id":172265,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:38:36] local.INFO: Acknowledgment sent {"connection_id":172265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:38:49] local.INFO: TCP Data received {"connection_id":171169,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:38:49] local.INFO: Processing buffer {"connection_id":171169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:38:49] local.INFO: IMEI packet received {"connection_id":171169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":171169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:38:53] local.INFO: TCP Data received {"connection_id":171169,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:38:53] local.INFO: Processing buffer {"connection_id":171169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:38:53] local.INFO: IMEI packet received {"connection_id":171169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":171169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:38:54] local.INFO: TCP Data received {"connection_id":173573,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:38:54] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:38:54] local.INFO: IMEI packet received {"connection_id":173573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":173573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:38:58] local.INFO: TCP Data received {"connection_id":171169,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:38:58] local.INFO: Processing buffer {"connection_id":171169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:38:58] local.INFO: IMEI packet received {"connection_id":171169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":171169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:38:58] local.INFO: TCP Data received {"connection_id":170873,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:38:58] local.INFO: Processing buffer {"connection_id":170873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:38:58] local.INFO: IMEI packet received {"connection_id":170873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":170873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:38:58] local.INFO: TCP Data received {"connection_id":171169,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5077c0012d1946c007206f48003100b928..."} 
[2026-09-04 17:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5077c0012d1946c007206f48003100b928..."} 
[2026-09-04 17:38:58] local.INFO: Processing buffer {"connection_id":171169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5077c0012d1946c007206f48003100b928..."} 
[2026-09-04 17:38:58] local.INFO: Packet analysis {"connection_id":171169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:38:58] local.INFO: Extracted packet for processing {"connection_id":171169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:38:58] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119566152,"longitude_deg":75.6631232,"latitude_deg":11.9566152,"altitude":49,"angle":185,"satellites":40,"speed":0,"hex_longitude":"2d1946c0","hex_latitude":"07206f48","is_valid_coordinates":true} 
[2026-09-04 17:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862038272001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353574841319424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821354236159412224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788523608000,"timestamp_ms":1788523608000,"timestamp_seconds":1788523608,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5077c0"} 
[2026-09-04 17:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-04 17:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862038272001,"66":12722,"103":206,"83":41984,"24":0,"16":17353574841319424,"45":1821354236159412224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862038272001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:38:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:38:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353574841319424,"km_value":17353574841319.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821354236159412224,"description":"Unknown IO ID 45"} 
[2026-09-04 17:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862038272001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1821354236159412224}} 
[2026-09-04 17:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":171169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:38:59] local.INFO: GPS data processed {"connection_id":171169,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:38:59] local.INFO: Acknowledgment sent {"connection_id":171169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:38:59] local.INFO: TCP Data received {"connection_id":173573,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:38:59] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:38:59] local.INFO: IMEI packet received {"connection_id":173573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":173573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:39:00] local.INFO: TCP Data received {"connection_id":173573,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:39:00] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:39:00] local.INFO: Packet analysis {"connection_id":173573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:39:00] local.INFO: Extracted packet for processing {"connection_id":173573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:39:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861978368001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788523654000,"timestamp_ms":1788523654000,"timestamp_seconds":1788523654,"priority":1,"record_length":96,"hex_timestamp":"000001a06c512b70"} 
[2026-09-04 17:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861978368001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861978368001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:39:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:39:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861978368001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":173573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:39:00] local.INFO: GPS data processed {"connection_id":173573,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:39:00] local.INFO: Acknowledgment sent {"connection_id":173573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:39:01] local.INFO: TCP Data received {"connection_id":173574,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:39:01] local.INFO: Processing buffer {"connection_id":173574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:39:01] local.INFO: IMEI packet received {"connection_id":173574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":173574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:39:03] local.INFO: TCP Data received {"connection_id":171169,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c50c9c8012d1946c007206f48003100b927..."} 
[2026-09-04 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c50c9c8012d1946c007206f48003100b927..."} 
[2026-09-04 17:39:03] local.INFO: Processing buffer {"connection_id":171169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c50c9c8012d1946c007206f48003100b927..."} 
[2026-09-04 17:39:03] local.INFO: Packet analysis {"connection_id":171169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:39:03] local.INFO: Extracted packet for processing {"connection_id":171169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119566152,"longitude_deg":75.6631232,"latitude_deg":11.9566152,"altitude":49,"angle":185,"satellites":39,"speed":0,"hex_longitude":"2d1946c0","hex_latitude":"07206f48","is_valid_coordinates":true} 
[2026-09-04 17:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862043648001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353574841319424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821354236159412224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788523629000,"timestamp_ms":1788523629000,"timestamp_seconds":1788523629,"priority":1,"record_length":96,"hex_timestamp":"000001a06c50c9c8"} 
[2026-09-04 17:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 17:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862043648001,"66":12722,"103":206,"83":41984,"24":0,"16":17353574841319424,"45":1821354236159412224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862043648001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:39:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353574841319424,"km_value":17353574841319.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821354236159412224,"description":"Unknown IO ID 45"} 
[2026-09-04 17:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862043648001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1821354236159412224}} 
[2026-09-04 17:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":171169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:39:03] local.INFO: GPS data processed {"connection_id":171169,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:39:03] local.INFO: Acknowledgment sent {"connection_id":171169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:39:05] local.INFO: TCP Data received {"connection_id":173573,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:39:05] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:39:05] local.INFO: Packet analysis {"connection_id":173573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:39:05] local.INFO: Extracted packet for processing {"connection_id":173573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:39:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861978368001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788523654000,"timestamp_ms":1788523654000,"timestamp_seconds":1788523654,"priority":1,"record_length":96,"hex_timestamp":"000001a06c512b70"} 
[2026-09-04 17:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861978368001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861978368001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:39:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861978368001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":173573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763982,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:39:05] local.INFO: GPS data processed {"connection_id":173573,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:39:05] local.INFO: Acknowledgment sent {"connection_id":173573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:39:05] local.INFO: TCP Data received {"connection_id":170873,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:39:05] local.INFO: Processing buffer {"connection_id":170873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:39:05] local.INFO: IMEI packet received {"connection_id":170873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":170873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:39:07] local.INFO: TCP Data received {"connection_id":170873,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c50b640012cc3e840075b25780026008630..."} 
[2026-09-04 17:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c50b640012cc3e840075b25780026008630..."} 
[2026-09-04 17:39:07] local.INFO: Processing buffer {"connection_id":170873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c50b640012cc3e840075b25780026008630..."} 
[2026-09-04 17:39:07] local.INFO: Packet analysis {"connection_id":170873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:39:07] local.INFO: Extracted packet for processing {"connection_id":170873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:39:07] local.INFO: GPS Element Parsed {"raw_longitude":751036480,"raw_latitude":123413880,"longitude_deg":75.103648,"latitude_deg":12.341388,"altitude":38,"angle":134,"satellites":48,"speed":42,"hex_longitude":"2cc3e840","hex_latitude":"075b2578","is_valid_coordinates":true} 
[2026-09-04 17:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862045440001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398255511151050752,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4337881203236395008,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788523624000,"timestamp_ms":1788523624000,"timestamp_seconds":1788523624,"priority":1,"record_length":96,"hex_timestamp":"000001a06c50b640"} 
[2026-09-04 17:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 17:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862045440001,"66":27908,"34":206,"85":37120,"24":42,"16":398255511151050752,"44":-4337881203236395008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-09-04 17:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862045440001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:39:07] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-04 17:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398255511151050752,"km_value":398255511151050.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4337881203236395008,"description":"Unknown IO ID 44"} 
[2026-09-04 17:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862045440001,"power":27908,"unknown_34":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4337881203236395008}} 
[2026-09-04 17:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":170873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:39:07] local.INFO: GPS data processed {"connection_id":170873,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:39:07] local.INFO: Acknowledgment sent {"connection_id":170873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:39:07] local.INFO: TCP Data received {"connection_id":170873,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c50d968012cc40300075b09780029008a30..."} 
[2026-09-04 17:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c50d968012cc40300075b09780029008a30..."} 
[2026-09-04 17:39:07] local.INFO: Processing buffer {"connection_id":170873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c50d968012cc40300075b09780029008a30..."} 
[2026-09-04 17:39:07] local.INFO: Packet analysis {"connection_id":170873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:39:07] local.INFO: Extracted packet for processing {"connection_id":170873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c50"} 
[2026-09-04 17:39:07] local.INFO: GPS Element Parsed {"raw_longitude":751043328,"raw_latitude":123406712,"longitude_deg":75.1043328,"latitude_deg":12.3406712,"altitude":41,"angle":138,"satellites":48,"speed":43,"hex_longitude":"2cc40300","hex_latitude":"075b0978","is_valid_coordinates":true} 
[2026-09-04 17:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862047744001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398255987892420608,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4330140641378600960,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788523633000,"timestamp_ms":1788523633000,"timestamp_seconds":1788523633,"priority":1,"record_length":96,"hex_timestamp":"000001a06c50d968"} 
[2026-09-04 17:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 17:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862047744001,"66":27876,"34":206,"85":37120,"24":43,"16":398255987892420608,"44":-4330140641378600960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-09-04 17:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862047744001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:39:07] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-04 17:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398255987892420608,"km_value":398255987892420.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4330140641378600960,"description":"Unknown IO ID 44"} 
[2026-09-04 17:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862047744001,"power":27876,"unknown_34":206,"unknown_85":37120,"ignition":43,"odometer":null,"unknown_44":-4330140641378600960}} 
[2026-09-04 17:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":170873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:39:08] local.INFO: GPS data processed {"connection_id":170873,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:39:08] local.INFO: Acknowledgment sent {"connection_id":170873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:39:38] local.INFO: TCP Data received {"connection_id":170873,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c526008012cc4cb80075981e0002b008e31..."} 
[2026-09-04 17:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c526008012cc4cb80075981e0002b008e31..."} 
[2026-09-04 17:39:38] local.INFO: Processing buffer {"connection_id":170873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c526008012cc4cb80075981e0002b008e31..."} 
[2026-09-04 17:39:38] local.INFO: Packet analysis {"connection_id":170873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c52"} 
[2026-09-04 17:39:38] local.INFO: Extracted packet for processing {"connection_id":170873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c52"} 
[2026-09-04 17:39:38] local.INFO: GPS Element Parsed {"raw_longitude":751094656,"raw_latitude":123306464,"longitude_deg":75.1094656,"latitude_deg":12.3306464,"altitude":43,"angle":142,"satellites":49,"speed":57,"hex_longitude":"2cc4cb80","hex_latitude":"075981e0","is_valid_coordinates":true} 
[2026-09-04 17:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862075648001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398261597119709184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4266175452948602880,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788523733000,"timestamp_ms":1788523733000,"timestamp_seconds":1788523733,"priority":1,"record_length":96,"hex_timestamp":"000001a06c526008"} 
[2026-09-04 17:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 17:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":170873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":170873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":170873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862075648001,"66":27995,"29":206,"85":37120,"24":57,"16":398261597119709184,"44":-4266175452948602880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-09-04 17:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862075648001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:39:38] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-04 17:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398261597119709184,"km_value":398261597119709.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:39:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4266175452948602880,"description":"Unknown IO ID 44"} 
[2026-09-04 17:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862075648001,"power":27995,"unknown_29":206,"unknown_85":37120,"ignition":57,"odometer":null,"unknown_44":-4266175452948602880}} 
[2026-09-04 17:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":170873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:39:38] local.INFO: GPS data processed {"connection_id":170873,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:39:38] local.INFO: Acknowledgment sent {"connection_id":170873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:39:48] local.INFO: TCP Data received {"connection_id":170874,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:39:48] local.INFO: Processing buffer {"connection_id":170874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:39:48] local.INFO: IMEI packet received {"connection_id":170874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":170874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:39:49] local.INFO: TCP Data received {"connection_id":173576,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:39:49] local.INFO: Processing buffer {"connection_id":173576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:39:49] local.INFO: IMEI packet received {"connection_id":173576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":173576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:39:53] local.INFO: TCP Data received {"connection_id":170874,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:39:53] local.INFO: Processing buffer {"connection_id":170874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:39:53] local.INFO: IMEI packet received {"connection_id":170874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":170874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:39:54] local.INFO: TCP Data received {"connection_id":170874,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c511bd0012d1946c007206f48003100b926..."} 
[2026-09-04 17:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c511bd0012d1946c007206f48003100b926..."} 
[2026-09-04 17:39:54] local.INFO: Processing buffer {"connection_id":170874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c511bd0012d1946c007206f48003100b926..."} 
[2026-09-04 17:39:54] local.INFO: Packet analysis {"connection_id":170874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:39:54] local.INFO: Extracted packet for processing {"connection_id":170874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:39:54] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119566152,"longitude_deg":75.6631232,"latitude_deg":11.9566152,"altitude":49,"angle":185,"satellites":38,"speed":0,"hex_longitude":"2d1946c0","hex_latitude":"07206f48","is_valid_coordinates":true} 
[2026-09-04 17:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862049024001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353574841319424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821354236159412224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788523650000,"timestamp_ms":1788523650000,"timestamp_seconds":1788523650,"priority":1,"record_length":96,"hex_timestamp":"000001a06c511bd0"} 
[2026-09-04 17:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 17:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862049024001,"66":12722,"103":206,"83":41984,"24":0,"16":17353574841319424,"45":1821354236159412224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862049024001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:39:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:39:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353574841319424,"km_value":17353574841319.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821354236159412224,"description":"Unknown IO ID 45"} 
[2026-09-04 17:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862049024001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1821354236159412224}} 
[2026-09-04 17:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":170874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:39:54] local.INFO: GPS data processed {"connection_id":170874,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:39:54] local.INFO: Acknowledgment sent {"connection_id":170874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:39:54] local.INFO: TCP Data received {"connection_id":173576,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:39:54] local.INFO: Processing buffer {"connection_id":173576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:39:54] local.INFO: IMEI packet received {"connection_id":173576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":173576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:39:55] local.INFO: TCP Data received {"connection_id":173576,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:39:55] local.INFO: Processing buffer {"connection_id":173576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:39:55] local.INFO: Packet analysis {"connection_id":173576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:39:55] local.INFO: Extracted packet for processing {"connection_id":173576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:39:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861978368001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788523654000,"timestamp_ms":1788523654000,"timestamp_seconds":1788523654,"priority":1,"record_length":96,"hex_timestamp":"000001a06c512b70"} 
[2026-09-04 17:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861978368001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861978368001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:39:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:39:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861978368001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":173576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:39:55] local.INFO: GPS data processed {"connection_id":173576,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:39:55] local.INFO: Acknowledgment sent {"connection_id":173576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:40:04] local.INFO: TCP Data received {"connection_id":172266,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:40:04] local.INFO: Processing buffer {"connection_id":172266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:40:04] local.INFO: IMEI packet received {"connection_id":172266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":172266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:40:08] local.INFO: TCP Data received {"connection_id":172266,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:40:08] local.INFO: Processing buffer {"connection_id":172266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:40:08] local.INFO: IMEI packet received {"connection_id":172266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":172266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:40:09] local.INFO: TCP Data received {"connection_id":172266,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c527b60012cc4e140075960f0002a009b31..."} 
[2026-09-04 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c527b60012cc4e140075960f0002a009b31..."} 
[2026-09-04 17:40:09] local.INFO: Processing buffer {"connection_id":172266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c527b60012cc4e140075960f0002a009b31..."} 
[2026-09-04 17:40:09] local.INFO: Packet analysis {"connection_id":172266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c52"} 
[2026-09-04 17:40:09] local.INFO: Extracted packet for processing {"connection_id":172266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c52"} 
[2026-09-04 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":751100224,"raw_latitude":123298032,"longitude_deg":75.1100224,"latitude_deg":12.3298032,"altitude":42,"angle":155,"satellites":49,"speed":56,"hex_longitude":"2cc4e140","hex_latitude":"075960f0","is_valid_coordinates":true} 
[2026-09-04 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862075648001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398262086745980928,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4266175452948602880,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788523740000,"timestamp_ms":1788523740000,"timestamp_seconds":1788523740,"priority":1,"record_length":96,"hex_timestamp":"000001a06c527b60"} 
[2026-09-04 17:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 17:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862075648001,"66":27974,"29":206,"85":37120,"24":56,"16":398262086745980928,"44":-4266175452948602880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-09-04 17:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862075648001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:40:09] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-04 17:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398262086745980928,"km_value":398262086745980.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:40:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4266175452948602880,"description":"Unknown IO ID 44"} 
[2026-09-04 17:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862075648001,"power":27974,"unknown_29":206,"unknown_85":37120,"ignition":56,"odometer":null,"unknown_44":-4266175452948602880}} 
[2026-09-04 17:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":172266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:40:09] local.INFO: GPS data processed {"connection_id":172266,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:40:09] local.INFO: Acknowledgment sent {"connection_id":172266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:40:25] local.INFO: TCP Data received {"connection_id":170874,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c516dd8012d1946c007206f48003100b928..."} 
[2026-09-04 17:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c516dd8012d1946c007206f48003100b928..."} 
[2026-09-04 17:40:25] local.INFO: Processing buffer {"connection_id":170874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c516dd8012d1946c007206f48003100b928..."} 
[2026-09-04 17:40:25] local.INFO: Packet analysis {"connection_id":170874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:40:25] local.INFO: Extracted packet for processing {"connection_id":170874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:40:25] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119566152,"longitude_deg":75.6631232,"latitude_deg":11.9566152,"altitude":49,"angle":185,"satellites":40,"speed":0,"hex_longitude":"2d1946c0","hex_latitude":"07206f48","is_valid_coordinates":true} 
[2026-09-04 17:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862054400001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353574841319424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821354236159412224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788523671000,"timestamp_ms":1788523671000,"timestamp_seconds":1788523671,"priority":1,"record_length":96,"hex_timestamp":"000001a06c516dd8"} 
[2026-09-04 17:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 17:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862054400001,"66":12689,"103":206,"83":41984,"24":0,"16":17353574841319424,"45":1821354236159412224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862054400001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:40:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:40:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353574841319424,"km_value":17353574841319.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821354236159412224,"description":"Unknown IO ID 45"} 
[2026-09-04 17:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862054400001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1821354236159412224}} 
[2026-09-04 17:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":170874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:40:25] local.INFO: GPS data processed {"connection_id":170874,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:40:25] local.INFO: Acknowledgment sent {"connection_id":170874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:40:27] local.INFO: TCP Data received {"connection_id":173576,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:40:27] local.INFO: Processing buffer {"connection_id":173576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:40:27] local.INFO: Packet analysis {"connection_id":173576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:40:27] local.INFO: Extracted packet for processing {"connection_id":173576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:40:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861978368001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788523654000,"timestamp_ms":1788523654000,"timestamp_seconds":1788523654,"priority":1,"record_length":96,"hex_timestamp":"000001a06c512b70"} 
[2026-09-04 17:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861978368001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861978368001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:40:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:40:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861978368001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":173576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:40:27] local.INFO: GPS data processed {"connection_id":173576,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:40:27] local.INFO: Acknowledgment sent {"connection_id":173576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:40:40] local.INFO: TCP Data received {"connection_id":172266,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c527b60012cc4e140075960f0002a009b31..."} 
[2026-09-04 17:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c527b60012cc4e140075960f0002a009b31..."} 
[2026-09-04 17:40:40] local.INFO: Processing buffer {"connection_id":172266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c527b60012cc4e140075960f0002a009b31..."} 
[2026-09-04 17:40:40] local.INFO: Packet analysis {"connection_id":172266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c52"} 
[2026-09-04 17:40:40] local.INFO: Extracted packet for processing {"connection_id":172266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c52"} 
[2026-09-04 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":751100224,"raw_latitude":123298032,"longitude_deg":75.1100224,"latitude_deg":12.3298032,"altitude":42,"angle":155,"satellites":49,"speed":56,"hex_longitude":"2cc4e140","hex_latitude":"075960f0","is_valid_coordinates":true} 
[2026-09-04 17:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862077440001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398262086745980928,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4260053372207304704,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788523740000,"timestamp_ms":1788523740000,"timestamp_seconds":1788523740,"priority":1,"record_length":96,"hex_timestamp":"000001a06c527b60"} 
[2026-09-04 17:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 17:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862077440001,"66":27974,"29":206,"85":37120,"24":56,"16":398262086745980928,"44":-4260053372207304704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-09-04 17:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862077440001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:40:40] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-04 17:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398262086745980928,"km_value":398262086745980.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:40:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4260053372207304704,"description":"Unknown IO ID 44"} 
[2026-09-04 17:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862077440001,"power":27974,"unknown_29":206,"unknown_85":37120,"ignition":56,"odometer":null,"unknown_44":-4260053372207304704}} 
[2026-09-04 17:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":172266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:40:40] local.INFO: GPS data processed {"connection_id":172266,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:40:40] local.INFO: Acknowledgment sent {"connection_id":172266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:40:48] local.INFO: TCP Data received {"connection_id":171170,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:40:48] local.INFO: Processing buffer {"connection_id":171170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:40:48] local.INFO: IMEI packet received {"connection_id":171170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":171170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:40:49] local.INFO: TCP Data received {"connection_id":172267,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:40:49] local.INFO: Processing buffer {"connection_id":172267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:40:49] local.INFO: IMEI packet received {"connection_id":172267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":172267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:40:51] local.INFO: TCP Data received {"connection_id":171170,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:40:51] local.INFO: Processing buffer {"connection_id":171170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:40:51] local.INFO: IMEI packet received {"connection_id":171170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":171170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:40:52] local.INFO: TCP Data received {"connection_id":171170,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c51bfe0012d1946c007206f48003100b928..."} 
[2026-09-04 17:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c51bfe0012d1946c007206f48003100b928..."} 
[2026-09-04 17:40:52] local.INFO: Processing buffer {"connection_id":171170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c51bfe0012d1946c007206f48003100b928..."} 
[2026-09-04 17:40:52] local.INFO: Packet analysis {"connection_id":171170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:40:52] local.INFO: Extracted packet for processing {"connection_id":171170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:40:52] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119566152,"longitude_deg":75.6631232,"latitude_deg":11.9566152,"altitude":49,"angle":185,"satellites":40,"speed":0,"hex_longitude":"2d1946c0","hex_latitude":"07206f48","is_valid_coordinates":true} 
[2026-09-04 17:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862059776001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353574841319424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821354236159412224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788523692000,"timestamp_ms":1788523692000,"timestamp_seconds":1788523692,"priority":1,"record_length":96,"hex_timestamp":"000001a06c51bfe0"} 
[2026-09-04 17:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-04 17:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862059776001,"66":12374,"103":206,"83":41984,"24":0,"16":17353574841319424,"45":1821354236159412224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862059776001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:40:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:40:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353574841319424,"km_value":17353574841319.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821354236159412224,"description":"Unknown IO ID 45"} 
[2026-09-04 17:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862059776001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1821354236159412224}} 
[2026-09-04 17:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":171170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:40:52] local.INFO: GPS data processed {"connection_id":171170,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:40:52] local.INFO: Acknowledgment sent {"connection_id":171170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:40:54] local.INFO: TCP Data received {"connection_id":172267,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:40:54] local.INFO: Processing buffer {"connection_id":172267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:40:54] local.INFO: IMEI packet received {"connection_id":172267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":172267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:40:55] local.INFO: TCP Data received {"connection_id":172267,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:40:55] local.INFO: Processing buffer {"connection_id":172267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:40:55] local.INFO: Packet analysis {"connection_id":172267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:40:55] local.INFO: Extracted packet for processing {"connection_id":172267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:40:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861978368001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788523654000,"timestamp_ms":1788523654000,"timestamp_seconds":1788523654,"priority":1,"record_length":96,"hex_timestamp":"000001a06c512b70"} 
[2026-09-04 17:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861978368001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861978368001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:40:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:40:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861978368001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":172267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:40:55] local.INFO: GPS data processed {"connection_id":172267,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:40:55] local.INFO: Acknowledgment sent {"connection_id":172267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:41:04] local.INFO: TCP Data received {"connection_id":172268,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:41:04] local.INFO: Processing buffer {"connection_id":172268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:41:04] local.INFO: IMEI packet received {"connection_id":172268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":172268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:41:04] local.INFO: TCP Data received {"connection_id":172268,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:41:04] local.INFO: Processing buffer {"connection_id":172268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:41:04] local.INFO: IMEI packet received {"connection_id":172268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":172268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:41:05] local.INFO: TCP Data received {"connection_id":172268,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c537178012cc4788007581340001f00c731..."} 
[2026-09-04 17:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c537178012cc4788007581340001f00c731..."} 
[2026-09-04 17:41:05] local.INFO: Processing buffer {"connection_id":172268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c537178012cc4788007581340001f00c731..."} 
[2026-09-04 17:41:05] local.INFO: Packet analysis {"connection_id":172268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c53"} 
[2026-09-04 17:41:05] local.INFO: Extracted packet for processing {"connection_id":172268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c53"} 
[2026-09-04 17:41:05] local.INFO: GPS Element Parsed {"raw_longitude":751073408,"raw_latitude":123212608,"longitude_deg":75.1073408,"latitude_deg":12.3212608,"altitude":31,"angle":199,"satellites":49,"speed":47,"hex_longitude":"2cc47880","hex_latitude":"07581340","is_valid_coordinates":true} 
[2026-09-04 17:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862091776001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398266489087459328,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4285808332596045824,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788523803000,"timestamp_ms":1788523803000,"timestamp_seconds":1788523803,"priority":1,"record_length":96,"hex_timestamp":"000001a06c537178"} 
[2026-09-04 17:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862091776001,"66":27908,"30":206,"85":37120,"24":47,"16":398266489087459328,"44":-4285808332596045824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,44]} 
[2026-09-04 17:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862091776001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:41:05] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 17:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398266489087459328,"km_value":398266489087459.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4285808332596045824,"description":"Unknown IO ID 44"} 
[2026-09-04 17:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862091776001,"power":27908,"unknown_30":206,"unknown_85":37120,"ignition":47,"odometer":null,"unknown_44":-4285808332596045824}} 
[2026-09-04 17:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":172268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:41:05] local.INFO: GPS data processed {"connection_id":172268,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:41:05] local.INFO: Acknowledgment sent {"connection_id":172268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:41:21] local.INFO: TCP Data received {"connection_id":172268,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c538500012cc4714007580248002000d331..."} 
[2026-09-04 17:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c538500012cc4714007580248002000d331..."} 
[2026-09-04 17:41:21] local.INFO: Processing buffer {"connection_id":172268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c538500012cc4714007580248002000d331..."} 
[2026-09-04 17:41:21] local.INFO: Packet analysis {"connection_id":172268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c53"} 
[2026-09-04 17:41:21] local.INFO: Extracted packet for processing {"connection_id":172268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c53"} 
[2026-09-04 17:41:21] local.INFO: GPS Element Parsed {"raw_longitude":751071552,"raw_latitude":123208264,"longitude_deg":75.1071552,"latitude_deg":12.3208264,"altitude":32,"angle":211,"satellites":49,"speed":22,"hex_longitude":"2cc47140","hex_latitude":"07580248","is_valid_coordinates":true} 
[2026-09-04 17:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862093568001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398266716720726016,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4289537876039614464,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788523808000,"timestamp_ms":1788523808000,"timestamp_seconds":1788523808,"priority":1,"record_length":96,"hex_timestamp":"000001a06c538500"} 
[2026-09-04 17:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 17:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862093568001,"66":27908,"30":206,"85":37120,"24":22,"16":398266716720726016,"44":-4289537876039614464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,44]} 
[2026-09-04 17:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862093568001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:41:21] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 17:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398266716720726016,"km_value":398266716720726.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4289537876039614464,"description":"Unknown IO ID 44"} 
[2026-09-04 17:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862093568001,"power":27908,"unknown_30":206,"unknown_85":37120,"ignition":22,"odometer":null,"unknown_44":-4289537876039614464}} 
[2026-09-04 17:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":172268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:41:21] local.INFO: GPS data processed {"connection_id":172268,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:41:21] local.INFO: Acknowledgment sent {"connection_id":172268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:41:23] local.INFO: TCP Data received {"connection_id":171170,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c53bbb0012d194ac0072078f80030005225..."} 
[2026-09-04 17:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c53bbb0012d194ac0072078f80030005225..."} 
[2026-09-04 17:41:23] local.INFO: Processing buffer {"connection_id":171170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c53bbb0012d194ac0072078f80030005225..."} 
[2026-09-04 17:41:23] local.INFO: Packet analysis {"connection_id":171170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c53"} 
[2026-09-04 17:41:23] local.INFO: Extracted packet for processing {"connection_id":171170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c53"} 
[2026-09-04 17:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756632256,"raw_latitude":119568632,"longitude_deg":75.6632256,"latitude_deg":11.9568632,"altitude":48,"angle":82,"satellites":37,"speed":8,"hex_longitude":"2d194ac0","hex_latitude":"072078f8","is_valid_coordinates":true} 
[2026-09-04 17:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862098176001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353716575240192,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822198661090162688,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788523822000,"timestamp_ms":1788523822000,"timestamp_seconds":1788523822,"priority":1,"record_length":96,"hex_timestamp":"000001a06c53bbb0"} 
[2026-09-04 17:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-04 17:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862098176001,"66":14135,"103":206,"83":41984,"24":8,"16":17353716575240192,"45":1822198661090162688},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862098176001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:41:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353716575240192,"km_value":17353716575240.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822198661090162688,"description":"Unknown IO ID 45"} 
[2026-09-04 17:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862098176001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1822198661090162688}} 
[2026-09-04 17:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":171170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:41:23] local.INFO: GPS data processed {"connection_id":171170,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:41:23] local.INFO: Acknowledgment sent {"connection_id":171170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:41:27] local.INFO: TCP Data received {"connection_id":172267,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:41:27] local.INFO: Processing buffer {"connection_id":172267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:41:27] local.INFO: Packet analysis {"connection_id":172267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:41:27] local.INFO: Extracted packet for processing {"connection_id":172267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:41:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861978368001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788523654000,"timestamp_ms":1788523654000,"timestamp_seconds":1788523654,"priority":1,"record_length":96,"hex_timestamp":"000001a06c512b70"} 
[2026-09-04 17:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861978368001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861978368001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:41:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:41:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861978368001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":172267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:41:27] local.INFO: GPS data processed {"connection_id":172267,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:41:27] local.INFO: Acknowledgment sent {"connection_id":172267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:41:48] local.INFO: TCP Data received {"connection_id":171171,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:41:48] local.INFO: Processing buffer {"connection_id":171171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:41:48] local.INFO: IMEI packet received {"connection_id":171171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":171171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:41:48] local.INFO: TCP Data received {"connection_id":171172,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:41:48] local.INFO: Processing buffer {"connection_id":171172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:41:48] local.INFO: IMEI packet received {"connection_id":171172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":171172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:41:52] local.INFO: TCP Data received {"connection_id":171171,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:41:52] local.INFO: Processing buffer {"connection_id":171171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:41:52] local.INFO: IMEI packet received {"connection_id":171171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":171171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:41:53] local.INFO: TCP Data received {"connection_id":171171,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c53bf98012d194b80072079100030005e25..."} 
[2026-09-04 17:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c53bf98012d194b80072079100030005e25..."} 
[2026-09-04 17:41:53] local.INFO: Processing buffer {"connection_id":171171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c53bf98012d194b80072079100030005e25..."} 
[2026-09-04 17:41:53] local.INFO: Packet analysis {"connection_id":171171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c53"} 
[2026-09-04 17:41:53] local.INFO: Extracted packet for processing {"connection_id":171171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c53"} 
[2026-09-04 17:41:53] local.INFO: GPS Element Parsed {"raw_longitude":756632448,"raw_latitude":119568656,"longitude_deg":75.6632448,"latitude_deg":11.9568656,"altitude":48,"angle":94,"satellites":37,"speed":7,"hex_longitude":"2d194b80","hex_latitude":"07207910","is_valid_coordinates":true} 
[2026-09-04 17:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862098432001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17353729460142080,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822480136066889728,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788523823000,"timestamp_ms":1788523823000,"timestamp_seconds":1788523823,"priority":1,"record_length":96,"hex_timestamp":"000001a06c53bf98"} 
[2026-09-04 17:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-04 17:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862098432001,"66":14233,"103":206,"83":41984,"24":7,"16":17353729460142080,"45":1822480136066889728},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862098432001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:41:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:41:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17353729460142080,"km_value":17353729460142.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822480136066889728,"description":"Unknown IO ID 45"} 
[2026-09-04 17:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862098432001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1822480136066889728}} 
[2026-09-04 17:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":171171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:41:53] local.INFO: GPS data processed {"connection_id":171171,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:41:53] local.INFO: Acknowledgment sent {"connection_id":171171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:41:54] local.INFO: TCP Data received {"connection_id":171172,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:41:54] local.INFO: Processing buffer {"connection_id":171172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:41:54] local.INFO: IMEI packet received {"connection_id":171172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":171172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:41:55] local.INFO: TCP Data received {"connection_id":171172,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:41:55] local.INFO: Processing buffer {"connection_id":171172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:41:55] local.INFO: Packet analysis {"connection_id":171172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:41:55] local.INFO: Extracted packet for processing {"connection_id":171172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:41:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861978368001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788523654000,"timestamp_ms":1788523654000,"timestamp_seconds":1788523654,"priority":1,"record_length":96,"hex_timestamp":"000001a06c512b70"} 
[2026-09-04 17:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861978368001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861978368001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:41:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861978368001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":171172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":763999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:41:55] local.INFO: GPS data processed {"connection_id":171172,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:41:55] local.INFO: Acknowledgment sent {"connection_id":171172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:41:59] local.INFO: TCP Data received {"connection_id":171173,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:41:59] local.INFO: Processing buffer {"connection_id":171173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:41:59] local.INFO: IMEI packet received {"connection_id":171173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":171173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:41:59] local.INFO: TCP Data received {"connection_id":171173,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:41:59] local.INFO: Processing buffer {"connection_id":171173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:41:59] local.INFO: IMEI packet received {"connection_id":171173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":171173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:42:04] local.INFO: TCP Data received {"connection_id":171173,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:42:04] local.INFO: Processing buffer {"connection_id":171173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:42:04] local.INFO: IMEI packet received {"connection_id":171173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":171173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:42:05] local.INFO: TCP Data received {"connection_id":171173,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c538cd0012cc46f400757ff88002000e031..."} 
[2026-09-04 17:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c538cd0012cc46f400757ff88002000e031..."} 
[2026-09-04 17:42:05] local.INFO: Processing buffer {"connection_id":171173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c538cd0012cc46f400757ff88002000e031..."} 
[2026-09-04 17:42:05] local.INFO: Packet analysis {"connection_id":171173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c53"} 
[2026-09-04 17:42:05] local.INFO: Extracted packet for processing {"connection_id":171173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c53"} 
[2026-09-04 17:42:05] local.INFO: GPS Element Parsed {"raw_longitude":751071040,"raw_latitude":123207560,"longitude_deg":75.107104,"latitude_deg":12.320756,"altitude":32,"angle":224,"satellites":49,"speed":15,"hex_longitude":"2cc46f40","hex_latitude":"0757ff88","is_valid_coordinates":true} 
[2026-09-04 17:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862094848001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398266759670398976,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4291578569621878784,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788523810000,"timestamp_ms":1788523810000,"timestamp_seconds":1788523810,"priority":1,"record_length":96,"hex_timestamp":"000001a06c538cd0"} 
[2026-09-04 17:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 17:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862094848001,"66":27821,"30":206,"85":37120,"24":15,"16":398266759670398976,"44":-4291578569621878784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,44]} 
[2026-09-04 17:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862094848001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:42:05] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 17:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398266759670398976,"km_value":398266759670399.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:42:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4291578569621878784,"description":"Unknown IO ID 44"} 
[2026-09-04 17:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862094848001,"power":27821,"unknown_30":206,"unknown_85":37120,"ignition":15,"odometer":null,"unknown_44":-4291578569621878784}} 
[2026-09-04 17:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":171173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:42:05] local.INFO: GPS data processed {"connection_id":171173,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:42:05] local.INFO: Acknowledgment sent {"connection_id":171173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:42:06] local.INFO: TCP Data received {"connection_id":171173,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5394a0012cc46d000757fd28002000d031..."} 
[2026-09-04 17:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5394a0012cc46d000757fd28002000d031..."} 
[2026-09-04 17:42:06] local.INFO: Processing buffer {"connection_id":171173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5394a0012cc46d000757fd28002000d031..."} 
[2026-09-04 17:42:06] local.INFO: Packet analysis {"connection_id":171173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c53"} 
[2026-09-04 17:42:06] local.INFO: Extracted packet for processing {"connection_id":171173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c53"} 
[2026-09-04 17:42:06] local.INFO: GPS Element Parsed {"raw_longitude":751070464,"raw_latitude":123206952,"longitude_deg":75.1070464,"latitude_deg":12.3206952,"altitude":32,"angle":208,"satellites":49,"speed":16,"hex_longitude":"2cc46d00","hex_latitude":"0757fd28","is_valid_coordinates":true} 
[2026-09-04 17:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862095360001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398266798325104640,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4292141519575480320,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788523812000,"timestamp_ms":1788523812000,"timestamp_seconds":1788523812,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5394a0"} 
[2026-09-04 17:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862095360001,"66":27919,"30":206,"85":37120,"24":16,"16":398266798325104640,"44":-4292141519575480320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,44]} 
[2026-09-04 17:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862095360001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:42:06] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 17:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-04 17:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398266798325104640,"km_value":398266798325104.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:42:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4292141519575480320,"description":"Unknown IO ID 44"} 
[2026-09-04 17:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862095360001,"power":27919,"unknown_30":206,"unknown_85":37120,"ignition":16,"odometer":null,"unknown_44":-4292141519575480320}} 
[2026-09-04 17:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":171173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:42:06] local.INFO: GPS data processed {"connection_id":171173,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:42:06] local.INFO: Acknowledgment sent {"connection_id":171173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:42:23] local.INFO: TCP Data received {"connection_id":171171,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c54a9f8012d195000072095e0002f000326..."} 
[2026-09-04 17:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c54a9f8012d195000072095e0002f000326..."} 
[2026-09-04 17:42:23] local.INFO: Processing buffer {"connection_id":171171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c54a9f8012d195000072095e0002f000326..."} 
[2026-09-04 17:42:23] local.INFO: Packet analysis {"connection_id":171171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c54"} 
[2026-09-04 17:42:23] local.INFO: Extracted packet for processing {"connection_id":171171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c54"} 
[2026-09-04 17:42:23] local.INFO: GPS Element Parsed {"raw_longitude":756633600,"raw_latitude":119576032,"longitude_deg":75.66336,"latitude_deg":11.9576032,"altitude":47,"angle":3,"satellites":38,"speed":10,"hex_longitude":"2d195000","hex_latitude":"072095e0","is_valid_coordinates":true} 
[2026-09-04 17:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862113792001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17354382295171072,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879696443392,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788523883000,"timestamp_ms":1788523883000,"timestamp_seconds":1788523883,"priority":1,"record_length":96,"hex_timestamp":"000001a06c54a9f8"} 
[2026-09-04 17:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 17:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986421300,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:23] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503864428331008,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:23] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2153250865,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-04 17:42:23] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:23] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743864,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:23] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2808086528,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84751868097929339,"corrected_to":0} 
[2026-09-04 17:42:23] local.WARNING: Large IO value detected {"io_id":128,"raw_value":13792313167840512,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:23] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,167,160,162,45,64,147,47,39,10,66,134,142,48,192,1,240,163,227,108,32,4,113,205,13,60,96,239,53,2,61,7,49,206,200,128],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":200,"original":84751868097929339,"validated":0}]} 
[2026-09-04 17:42:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3387094115380035584,"timestamp_seconds":3387094115380035.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 17:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862113792001,"66":14233,"103":206,"83":41984,"24":10,"16":17354382295171072,"45":1823957879696443392},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862113792001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:42:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:42:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17354382295171072,"km_value":17354382295171.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879696443392,"description":"Unknown IO ID 45"} 
[2026-09-04 17:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862113792001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1823957879696443392}} 
[2026-09-04 17:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":171171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:42:24] local.INFO: GPS data processed {"connection_id":171171,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:42:24] local.INFO: Acknowledgment sent {"connection_id":171171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:42:27] local.INFO: TCP Data received {"connection_id":171172,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:42:27] local.INFO: Processing buffer {"connection_id":171172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:42:27] local.INFO: Packet analysis {"connection_id":171172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:42:27] local.INFO: Extracted packet for processing {"connection_id":171172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:42:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861978368001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788523654000,"timestamp_ms":1788523654000,"timestamp_seconds":1788523654,"priority":1,"record_length":96,"hex_timestamp":"000001a06c512b70"} 
[2026-09-04 17:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861978368001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861978368001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:42:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:42:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861978368001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":171172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764003,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:42:27] local.INFO: GPS data processed {"connection_id":171172,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:42:27] local.INFO: Acknowledgment sent {"connection_id":171172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:42:37] local.INFO: TCP Data received {"connection_id":171173,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c54fc00012cc40b4007566220000d00ad32..."} 
[2026-09-04 17:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c54fc00012cc40b4007566220000d00ad32..."} 
[2026-09-04 17:42:37] local.INFO: Processing buffer {"connection_id":171173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c54fc00012cc40b4007566220000d00ad32..."} 
[2026-09-04 17:42:37] local.INFO: Packet analysis {"connection_id":171173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c54"} 
[2026-09-04 17:42:37] local.INFO: Extracted packet for processing {"connection_id":171173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c54"} 
[2026-09-04 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":751045440,"raw_latitude":123101728,"longitude_deg":75.104544,"latitude_deg":12.3101728,"altitude":13,"angle":173,"satellites":50,"speed":55,"hex_longitude":"2cc40b40","hex_latitude":"07566220","is_valid_coordinates":true} 
[2026-09-04 17:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862117632001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398272094019780608,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4321555654666250240,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788523904000,"timestamp_ms":1788523904000,"timestamp_seconds":1788523904,"priority":1,"record_length":96,"hex_timestamp":"000001a06c54fc00"} 
[2026-09-04 17:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862117632001,"66":27919,"35":206,"85":37632,"24":55,"16":398272094019780608,"44":-4321555654666250240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-04 17:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862117632001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:42:37] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-04 17:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398272094019780608,"km_value":398272094019780.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:42:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4321555654666250240,"description":"Unknown IO ID 44"} 
[2026-09-04 17:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862117632001,"power":27919,"unknown_35":206,"unknown_85":37632,"ignition":55,"odometer":null,"unknown_44":-4321555654666250240}} 
[2026-09-04 17:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":171173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:42:37] local.INFO: GPS data processed {"connection_id":171173,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:42:37] local.INFO: Acknowledgment sent {"connection_id":171173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:42:48] local.INFO: TCP Data received {"connection_id":171174,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:42:48] local.INFO: Processing buffer {"connection_id":171174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:42:48] local.INFO: IMEI packet received {"connection_id":171174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":171174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:42:48] local.INFO: TCP Data received {"connection_id":173578,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:42:48] local.INFO: Processing buffer {"connection_id":173578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:42:48] local.INFO: IMEI packet received {"connection_id":173578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":173578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:42:53] local.INFO: TCP Data received {"connection_id":171174,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:42:53] local.INFO: Processing buffer {"connection_id":171174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:42:53] local.INFO: IMEI packet received {"connection_id":171174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":171174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:42:53] local.INFO: TCP Data received {"connection_id":171174,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c54fc00012d19504007209b68002f000825..."} 
[2026-09-04 17:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c54fc00012d19504007209b68002f000825..."} 
[2026-09-04 17:42:53] local.INFO: Processing buffer {"connection_id":171174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c54fc00012d19504007209b68002f000825..."} 
[2026-09-04 17:42:53] local.INFO: Packet analysis {"connection_id":171174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c54"} 
[2026-09-04 17:42:53] local.INFO: Extracted packet for processing {"connection_id":171174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c54"} 
[2026-09-04 17:42:53] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119577448,"longitude_deg":75.6633664,"latitude_deg":11.9577448,"altitude":47,"angle":8,"satellites":37,"speed":6,"hex_longitude":"2d195040","hex_latitude":"07209b68","is_valid_coordinates":true} 
[2026-09-04 17:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862114048001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17354481079418880,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879696515072,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788523904000,"timestamp_ms":1788523904000,"timestamp_seconds":1788523904,"priority":1,"record_length":96,"hex_timestamp":"000001a06c54fc00"} 
[2026-09-04 17:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 17:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862114048001,"66":14396,"103":206,"83":41984,"24":6,"16":17354481079418880,"45":1823957879696515072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862114048001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:42:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:42:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17354481079418880,"km_value":17354481079418.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879696515072,"description":"Unknown IO ID 45"} 
[2026-09-04 17:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862114048001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1823957879696515072}} 
[2026-09-04 17:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":171174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:42:54] local.INFO: GPS data processed {"connection_id":171174,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:42:54] local.INFO: Acknowledgment sent {"connection_id":171174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:42:54] local.INFO: TCP Data received {"connection_id":173578,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:42:54] local.INFO: Processing buffer {"connection_id":173578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:42:54] local.INFO: IMEI packet received {"connection_id":173578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":173578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:42:55] local.INFO: TCP Data received {"connection_id":173578,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:42:55] local.INFO: Processing buffer {"connection_id":173578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c512b70012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:42:55] local.INFO: Packet analysis {"connection_id":173578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:42:55] local.INFO: Extracted packet for processing {"connection_id":173578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c51"} 
[2026-09-04 17:42:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457861978368001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788523654000,"timestamp_ms":1788523654000,"timestamp_seconds":1788523654,"priority":1,"record_length":96,"hex_timestamp":"000001a06c512b70"} 
[2026-09-04 17:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 17:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457861978368001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457861978368001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:42:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:42:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457861978368001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":173578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764006,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:42:55] local.INFO: GPS data processed {"connection_id":173578,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:42:55] local.INFO: Acknowledgment sent {"connection_id":173578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:42:58] local.INFO: TCP Data received {"connection_id":172270,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:42:58] local.INFO: Processing buffer {"connection_id":172270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:42:58] local.INFO: IMEI packet received {"connection_id":172270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":172270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:42:59] local.INFO: TCP Data received {"connection_id":172270,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:42:59] local.INFO: Processing buffer {"connection_id":172270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:42:59] local.INFO: IMEI packet received {"connection_id":172270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":172270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:43:00] local.INFO: TCP Data received {"connection_id":172270,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c551758012cc4114007563e28000e00a932..."} 
[2026-09-04 17:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c551758012cc4114007563e28000e00a932..."} 
[2026-09-04 17:43:00] local.INFO: Processing buffer {"connection_id":172270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c551758012cc4114007563e28000e00a932..."} 
[2026-09-04 17:43:00] local.INFO: Packet analysis {"connection_id":172270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:43:00] local.INFO: Extracted packet for processing {"connection_id":172270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:43:00] local.INFO: GPS Element Parsed {"raw_longitude":751046976,"raw_latitude":123092520,"longitude_deg":75.1046976,"latitude_deg":12.309252,"altitude":14,"angle":169,"satellites":50,"speed":51,"hex_longitude":"2cc41140","hex_latitude":"07563e28","is_valid_coordinates":true} 
[2026-09-04 17:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862119424001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398272544991346688,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4320289017273638912,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788523911000,"timestamp_ms":1788523911000,"timestamp_seconds":1788523911,"priority":1,"record_length":96,"hex_timestamp":"000001a06c551758"} 
[2026-09-04 17:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 17:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862119424001,"66":27767,"35":206,"85":37632,"24":51,"16":398272544991346688,"44":-4320289017273638912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-04 17:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862119424001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:43:00] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-04 17:43:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398272544991346688,"km_value":398272544991346.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:43:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4320289017273638912,"description":"Unknown IO ID 44"} 
[2026-09-04 17:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862119424001,"power":27767,"unknown_35":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-4320289017273638912}} 
[2026-09-04 17:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":172270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:43:00] local.INFO: GPS data processed {"connection_id":172270,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:43:00] local.INFO: Acknowledgment sent {"connection_id":172270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:43:25] local.INFO: TCP Data received {"connection_id":171174,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c54ffe8012d19508007209c10002f002125..."} 
[2026-09-04 17:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c54ffe8012d19508007209c10002f002125..."} 
[2026-09-04 17:43:25] local.INFO: Processing buffer {"connection_id":171174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c54ffe8012d19508007209c10002f002125..."} 
[2026-09-04 17:43:25] local.INFO: Packet analysis {"connection_id":171174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c54"} 
[2026-09-04 17:43:25] local.INFO: Extracted packet for processing {"connection_id":171174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c54"} 
[2026-09-04 17:43:25] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119577616,"longitude_deg":75.6633728,"latitude_deg":11.9577616,"altitude":47,"angle":33,"satellites":37,"speed":8,"hex_longitude":"2d195080","hex_latitude":"07209c10","is_valid_coordinates":true} 
[2026-09-04 17:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862119424001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17354489669353472,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824028248441055232,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788523905000,"timestamp_ms":1788523905000,"timestamp_seconds":1788523905,"priority":1,"record_length":96,"hex_timestamp":"000001a06c54ffe8"} 
[2026-09-04 17:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-04 17:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862119424001,"66":13559,"103":206,"83":41984,"24":8,"16":17354489669353472,"45":1824028248441055232},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862119424001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:43:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:43:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17354489669353472,"km_value":17354489669353.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824028248441055232,"description":"Unknown IO ID 45"} 
[2026-09-04 17:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862119424001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1824028248441055232}} 
[2026-09-04 17:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":171174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:43:25] local.INFO: GPS data processed {"connection_id":171174,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:43:25] local.INFO: Acknowledgment sent {"connection_id":171174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:43:27] local.INFO: TCP Data received {"connection_id":173578,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:43:27] local.INFO: Processing buffer {"connection_id":173578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:43:27] local.INFO: Packet analysis {"connection_id":173578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:43:27] local.INFO: Extracted packet for processing {"connection_id":173578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:43:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862055424001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788523955000,"timestamp_ms":1788523955000,"timestamp_seconds":1788523955,"priority":1,"record_length":96,"hex_timestamp":"000001a06c55c338"} 
[2026-09-04 17:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862055424001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862055424001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:43:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:43:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862055424001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":173578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764009,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:43:27] local.INFO: GPS data processed {"connection_id":173578,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:43:27] local.INFO: Acknowledgment sent {"connection_id":173578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:43:31] local.INFO: TCP Data received {"connection_id":172270,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5532b0012cc4194007561c40001100a532..."} 
[2026-09-04 17:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5532b0012cc4194007561c40001100a532..."} 
[2026-09-04 17:43:31] local.INFO: Processing buffer {"connection_id":172270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5532b0012cc4194007561c40001100a532..."} 
[2026-09-04 17:43:31] local.INFO: Packet analysis {"connection_id":172270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:43:31] local.INFO: Extracted packet for processing {"connection_id":172270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:43:31] local.INFO: GPS Element Parsed {"raw_longitude":751049024,"raw_latitude":123083840,"longitude_deg":75.1049024,"latitude_deg":12.308384,"altitude":17,"angle":165,"satellites":50,"speed":49,"hex_longitude":"2cc41940","hex_latitude":"07561c40","is_valid_coordinates":true} 
[2026-09-04 17:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862121216001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398272974488076288,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4318600167415732224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788523918000,"timestamp_ms":1788523918000,"timestamp_seconds":1788523918,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5532b0"} 
[2026-09-04 17:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 17:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862121216001,"66":27919,"33":206,"85":37632,"24":49,"16":398272974488076288,"44":-4318600167415732224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-09-04 17:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862121216001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:43:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 17:43:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398272974488076288,"km_value":398272974488076.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:43:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4318600167415732224,"description":"Unknown IO ID 44"} 
[2026-09-04 17:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862121216001,"power":27919,"unknown_33":206,"unknown_85":37632,"ignition":49,"odometer":null,"unknown_44":-4318600167415732224}} 
[2026-09-04 17:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":172270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:43:31] local.INFO: GPS data processed {"connection_id":172270,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:43:31] local.INFO: Acknowledgment sent {"connection_id":172270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:43:47] local.INFO: TCP Data received {"connection_id":172271,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:43:47] local.INFO: Processing buffer {"connection_id":172271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:43:47] local.INFO: IMEI packet received {"connection_id":172271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":172271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:43:48] local.INFO: TCP Data received {"connection_id":172271,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:43:48] local.INFO: Processing buffer {"connection_id":172271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:43:48] local.INFO: IMEI packet received {"connection_id":172271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":172271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:43:53] local.INFO: TCP Data received {"connection_id":172271,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:43:53] local.INFO: Processing buffer {"connection_id":172271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:43:53] local.INFO: IMEI packet received {"connection_id":172271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":172271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:43:53] local.INFO: TCP Data received {"connection_id":172271,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c55d2d8012d1952800720aa000030011922..."} 
[2026-09-04 17:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c55d2d8012d1952800720aa000030011922..."} 
[2026-09-04 17:43:53] local.INFO: Processing buffer {"connection_id":172271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c55d2d8012d1952800720aa000030011922..."} 
[2026-09-04 17:43:53] local.INFO: Packet analysis {"connection_id":172271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:43:53] local.INFO: Extracted packet for processing {"connection_id":172271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:43:53] local.INFO: GPS Element Parsed {"raw_longitude":756634240,"raw_latitude":119581184,"longitude_deg":75.663424,"latitude_deg":11.9581184,"altitude":48,"angle":281,"satellites":34,"speed":11,"hex_longitude":"2d195280","hex_latitude":"0720aa00","is_valid_coordinates":true} 
[2026-09-04 17:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862129408001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17354824676802560,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826561523232372736,"note":"Value kept but may cause issues"} 
[2026-09-04 17:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788523959000,"timestamp_ms":1788523959000,"timestamp_seconds":1788523959,"priority":1,"record_length":96,"hex_timestamp":"000001a06c55d2d8"} 
[2026-09-04 17:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 17:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862129408001,"66":14374,"103":206,"83":41984,"24":11,"16":17354824676802560,"45":1826561523232372736},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862129408001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:43:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:43:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17354824676802560,"km_value":17354824676802.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826561523232372736,"description":"Unknown IO ID 45"} 
[2026-09-04 17:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862129408001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1826561523232372736}} 
[2026-09-04 17:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":172271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:43:54] local.INFO: GPS data processed {"connection_id":172271,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:43:54] local.INFO: Acknowledgment sent {"connection_id":172271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:43:59] local.INFO: TCP Data received {"connection_id":170878,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:43:59] local.INFO: Processing buffer {"connection_id":170878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:43:59] local.INFO: IMEI packet received {"connection_id":170878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":170878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:43:59] local.INFO: TCP Data received {"connection_id":173579,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:43:59] local.INFO: Processing buffer {"connection_id":173579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:43:59] local.INFO: IMEI packet received {"connection_id":173579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":173579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:44:00] local.INFO: TCP Data received {"connection_id":173579,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:44:00] local.INFO: Processing buffer {"connection_id":173579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:44:00] local.INFO: IMEI packet received {"connection_id":173579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":173579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:44:01] local.INFO: TCP Data received {"connection_id":173579,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c566748012cc421c00754dc50000800bc2f..."} 
[2026-09-04 17:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c566748012cc421c00754dc50000800bc2f..."} 
[2026-09-04 17:44:01] local.INFO: Processing buffer {"connection_id":173579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c566748012cc421c00754dc50000800bc2f..."} 
[2026-09-04 17:44:01] local.INFO: Packet analysis {"connection_id":173579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c56"} 
[2026-09-04 17:44:01] local.INFO: Extracted packet for processing {"connection_id":173579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c56"} 
[2026-09-04 17:44:01] local.INFO: GPS Element Parsed {"raw_longitude":751051200,"raw_latitude":123001936,"longitude_deg":75.10512,"latitude_deg":12.3001936,"altitude":8,"angle":188,"satellites":47,"speed":60,"hex_longitude":"2cc421c0","hex_latitude":"0754dc50","is_valid_coordinates":true} 
[2026-09-04 17:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862141696001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398276994577465344,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4313041036646598656,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788523997000,"timestamp_ms":1788523997000,"timestamp_seconds":1788523997,"priority":1,"record_length":96,"hex_timestamp":"000001a06c566748"} 
[2026-09-04 17:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 17:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862141696001,"66":27865,"3":206,"85":37632,"24":60,"16":398276994577465344,"44":-4313041036646598656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-04 17:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862141696001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:44:01] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-04 17:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398276994577465344,"km_value":398276994577465.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:44:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4313041036646598656,"description":"Unknown IO ID 44"} 
[2026-09-04 17:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862141696001,"power":27865,"unknown_3":206,"unknown_85":37632,"ignition":60,"odometer":null,"unknown_44":-4313041036646598656}} 
[2026-09-04 17:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":173579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:44:01] local.INFO: GPS data processed {"connection_id":173579,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:44:01] local.INFO: Acknowledgment sent {"connection_id":173579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:44:02] local.INFO: TCP Data received {"connection_id":171175,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:44:02] local.INFO: Processing buffer {"connection_id":171175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:44:02] local.INFO: IMEI packet received {"connection_id":171175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":171175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:44:03] local.INFO: TCP Data received {"connection_id":171175,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c55c720012d7d4a4005ceb3e0000d006813..."} 
[2026-09-04 17:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c55c720012d7d4a4005ceb3e0000d006813..."} 
[2026-09-04 17:44:03] local.INFO: Processing buffer {"connection_id":171175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c55c720012d7d4a4005ceb3e0000d006813..."} 
[2026-09-04 17:44:03] local.INFO: Packet analysis {"connection_id":171175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:44:03] local.INFO: Extracted packet for processing {"connection_id":171175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:44:03] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97432544,"longitude_deg":76.3185728,"latitude_deg":9.7432544,"altitude":13,"angle":104,"satellites":19,"speed":9,"hex_longitude":"2d7d4a40","hex_latitude":"05ceb3e0","is_valid_coordinates":true} 
[2026-09-04 17:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862131200001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128179467838291968,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027043265541851136,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788523956000,"timestamp_ms":1788523956000,"timestamp_seconds":1788523956,"priority":1,"record_length":96,"hex_timestamp":"000001a06c55c720"} 
[2026-09-04 17:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-04 17:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862131200001,"66":13406,"99":206,"85":15104,"24":9,"16":128179467838291968,"45":9027043265541851136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-09-04 17:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862131200001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:44:03] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-04 17:44:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128179467838291968,"km_value":128179467838291.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027043265541851136,"description":"Unknown IO ID 45"} 
[2026-09-04 17:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862131200001,"power":13406,"unknown_99":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9027043265541851136}} 
[2026-09-04 17:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":171175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:44:03] local.INFO: GPS data processed {"connection_id":171175,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:44:03] local.INFO: Acknowledgment sent {"connection_id":171175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:44:04] local.INFO: TCP Data received {"connection_id":170878,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:44:04] local.INFO: Processing buffer {"connection_id":170878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:44:04] local.INFO: IMEI packet received {"connection_id":170878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":170878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:44:06] local.INFO: TCP Data received {"connection_id":170878,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:44:06] local.INFO: Processing buffer {"connection_id":170878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:44:06] local.INFO: Packet analysis {"connection_id":170878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:44:06] local.INFO: Extracted packet for processing {"connection_id":170878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862055424001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788523955000,"timestamp_ms":1788523955000,"timestamp_seconds":1788523955,"priority":1,"record_length":96,"hex_timestamp":"000001a06c55c338"} 
[2026-09-04 17:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":170878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":170878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":170878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862055424001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862055424001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:44:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862055424001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":170878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764014,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:44:06] local.INFO: GPS data processed {"connection_id":170878,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:44:06] local.INFO: Acknowledgment sent {"connection_id":170878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:44:21] local.INFO: TCP Data received {"connection_id":170879,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:44:21] local.INFO: Processing buffer {"connection_id":170879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:44:21] local.INFO: IMEI packet received {"connection_id":170879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":170879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:44:25] local.INFO: TCP Data received {"connection_id":172271,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c55f600012d1940400720af58002f012523..."} 
[2026-09-04 17:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c55f600012d1940400720af58002f012523..."} 
[2026-09-04 17:44:25] local.INFO: Processing buffer {"connection_id":172271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c55f600012d1940400720af58002f012523..."} 
[2026-09-04 17:44:25] local.INFO: Packet analysis {"connection_id":172271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:44:25] local.INFO: Extracted packet for processing {"connection_id":172271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:44:25] local.INFO: GPS Element Parsed {"raw_longitude":756629568,"raw_latitude":119582552,"longitude_deg":75.6629568,"latitude_deg":11.9582552,"altitude":47,"angle":293,"satellites":35,"speed":26,"hex_longitude":"2d194040","hex_latitude":"0720af58","is_valid_coordinates":true} 
[2026-09-04 17:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862133504001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17355056605036544,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824661567139610624,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788523968000,"timestamp_ms":1788523968000,"timestamp_seconds":1788523968,"priority":1,"record_length":96,"hex_timestamp":"000001a06c55f600"} 
[2026-09-04 17:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-04 17:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862133504001,"66":14276,"103":206,"83":41984,"24":26,"16":17355056605036544,"45":1824661567139610624},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862133504001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:44:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:44:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17355056605036544,"km_value":17355056605036.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824661567139610624,"description":"Unknown IO ID 45"} 
[2026-09-04 17:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862133504001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1824661567139610624}} 
[2026-09-04 17:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":172271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:44:25] local.INFO: GPS data processed {"connection_id":172271,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:44:25] local.INFO: Acknowledgment sent {"connection_id":172271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:44:25] local.INFO: TCP Data received {"connection_id":170879,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:44:25] local.INFO: Processing buffer {"connection_id":170879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:44:25] local.INFO: IMEI packet received {"connection_id":170879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":170879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:44:30] local.INFO: TCP Data received {"connection_id":170879,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c571328012d7d484005cdab70000900b314..."} 
[2026-09-04 17:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c571328012d7d484005cdab70000900b314..."} 
[2026-09-04 17:44:30] local.INFO: Processing buffer {"connection_id":170879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c571328012d7d484005cdab70000900b314..."} 
[2026-09-04 17:44:30] local.INFO: Packet analysis {"connection_id":170879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:44:30] local.INFO: Extracted packet for processing {"connection_id":170879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763185216,"raw_latitude":97364848,"longitude_deg":76.3185216,"latitude_deg":9.7364848,"altitude":9,"angle":179,"satellites":20,"speed":35,"hex_longitude":"2d7d4840","hex_latitude":"05cdab70","is_valid_coordinates":true} 
[2026-09-04 17:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862151168001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128182852272521216,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027113634271006720,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788524041000,"timestamp_ms":1788524041000,"timestamp_seconds":1788524041,"priority":1,"record_length":96,"hex_timestamp":"000001a06c571328"} 
[2026-09-04 17:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-04 17:44:30] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-1564999575623467003,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:30] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-5735334069610803456,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1549992142,"corrected_to":0} 
[2026-09-04 17:44:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3467485184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:30] local.WARNING: Large IO value detected {"io_id":252,"raw_value":57803950510724411,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:30] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,235,85,24,241,157,16,101,160,177,45,128,243,9,20,10,66,100,122,25,13,19,87,1,240,181,227,99,108,206,4,113,205,54,29,82,239,52,2,199,5,18,252],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1549992142,"validated":0}]} 
[2026-09-04 17:44:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648715244824297472,"timestamp_seconds":648715244824297.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 17:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862151168001,"66":13798,"235":206,"85":15104,"24":35,"16":128182852272521216,"45":9027113634271006720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-04 17:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862151168001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:44:30] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-04 17:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128182852272521216,"km_value":128182852272521.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027113634271006720,"description":"Unknown IO ID 45"} 
[2026-09-04 17:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862151168001,"power":13798,"unknown_235":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9027113634271006720}} 
[2026-09-04 17:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":170879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:44:30] local.INFO: GPS data processed {"connection_id":170879,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:44:30] local.INFO: Acknowledgment sent {"connection_id":170879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:44:31] local.INFO: TCP Data received {"connection_id":170879,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c573268012d7d494005cd88c0000900ae14..."} 
[2026-09-04 17:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c573268012d7d494005cd88c0000900ae14..."} 
[2026-09-04 17:44:31] local.INFO: Processing buffer {"connection_id":170879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c573268012d7d494005cd88c0000900ae14..."} 
[2026-09-04 17:44:31] local.INFO: Packet analysis {"connection_id":170879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:44:31] local.INFO: Extracted packet for processing {"connection_id":170879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763185472,"raw_latitude":97355968,"longitude_deg":76.3185472,"latitude_deg":9.7355968,"altitude":9,"angle":174,"satellites":20,"speed":50,"hex_longitude":"2d7d4940","hex_latitude":"05cd88c0","is_valid_coordinates":true} 
[2026-09-04 17:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862154496001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128183286064218112,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027535846733737984,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788524049000,"timestamp_ms":1788524049000,"timestamp_seconds":1788524049,"priority":1,"record_length":96,"hex_timestamp":"000001a06c573268"} 
[2026-09-04 17:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 17:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":170879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":170879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":170879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862154496001,"66":13906,"235":206,"85":15104,"24":50,"16":128183286064218112,"45":9027535846733737984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-04 17:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862154496001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:44:31] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-04 17:44:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128183286064218112,"km_value":128183286064218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027535846733737984,"description":"Unknown IO ID 45"} 
[2026-09-04 17:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862154496001,"power":13906,"unknown_235":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9027535846733737984}} 
[2026-09-04 17:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":170879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:44:31] local.INFO: GPS data processed {"connection_id":170879,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:44:31] local.INFO: Acknowledgment sent {"connection_id":170879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:44:33] local.INFO: TCP Data received {"connection_id":173579,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c567eb8012cc419400754ba60000800c732..."} 
[2026-09-04 17:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c567eb8012cc419400754ba60000800c732..."} 
[2026-09-04 17:44:33] local.INFO: Processing buffer {"connection_id":173579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c567eb8012cc419400754ba60000800c732..."} 
[2026-09-04 17:44:33] local.INFO: Packet analysis {"connection_id":173579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c56"} 
[2026-09-04 17:44:33] local.INFO: Extracted packet for processing {"connection_id":173579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c56"} 
[2026-09-04 17:44:33] local.INFO: GPS Element Parsed {"raw_longitude":751049024,"raw_latitude":122993248,"longitude_deg":75.1049024,"latitude_deg":12.2993248,"altitude":8,"angle":199,"satellites":50,"speed":58,"hex_longitude":"2cc41940","hex_latitude":"0754ba60","is_valid_coordinates":true} 
[2026-09-04 17:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862143232001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398277428369162240,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4313955830323195904,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788524003000,"timestamp_ms":1788524003000,"timestamp_seconds":1788524003,"priority":1,"record_length":96,"hex_timestamp":"000001a06c567eb8"} 
[2026-09-04 17:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862143232001,"66":27865,"3":206,"85":37632,"24":58,"16":398277428369162240,"44":-4313955830323195904},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-04 17:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862143232001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:44:33] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-04 17:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398277428369162240,"km_value":398277428369162.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:44:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4313955830323195904,"description":"Unknown IO ID 44"} 
[2026-09-04 17:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862143232001,"power":27865,"unknown_3":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-4313955830323195904}} 
[2026-09-04 17:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":173579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:44:33] local.INFO: GPS data processed {"connection_id":173579,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:44:33] local.INFO: Acknowledgment sent {"connection_id":173579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:44:47] local.INFO: TCP Data received {"connection_id":172273,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:44:47] local.INFO: Processing buffer {"connection_id":172273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:44:47] local.INFO: IMEI packet received {"connection_id":172273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":172273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:44:48] local.INFO: TCP Data received {"connection_id":172272,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:44:48] local.INFO: Processing buffer {"connection_id":172272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:44:48] local.INFO: IMEI packet received {"connection_id":172272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":172272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:44:48] local.INFO: TCP Data received {"connection_id":172273,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:44:48] local.INFO: Processing buffer {"connection_id":172273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:44:48] local.INFO: IMEI packet received {"connection_id":172273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":172273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:44:53] local.INFO: TCP Data received {"connection_id":172273,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:44:53] local.INFO: Processing buffer {"connection_id":172273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:44:53] local.INFO: IMEI packet received {"connection_id":172273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":172273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:44:54] local.INFO: TCP Data received {"connection_id":172273,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c56ffa0012d18cd0007212f60003e014724..."} 
[2026-09-04 17:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c56ffa0012d18cd0007212f60003e014724..."} 
[2026-09-04 17:44:54] local.INFO: Processing buffer {"connection_id":172273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c56ffa0012d18cd0007212f60003e014724..."} 
[2026-09-04 17:44:54] local.INFO: Packet analysis {"connection_id":172273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c56"} 
[2026-09-04 17:44:54] local.INFO: Extracted packet for processing {"connection_id":172273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c56"} 
[2026-09-04 17:44:54] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119615328,"longitude_deg":75.6600064,"latitude_deg":11.9615328,"altitude":62,"angle":327,"satellites":36,"speed":27,"hex_longitude":"2d18cd00","hex_latitude":"07212f60","is_valid_coordinates":true} 
[2026-09-04 17:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862152704001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17357341527638016,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787788345198950400,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788524036000,"timestamp_ms":1788524036000,"timestamp_seconds":1788524036,"priority":1,"record_length":96,"hex_timestamp":"000001a06c56ffa0"} 
[2026-09-04 17:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-04 17:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862152704001,"66":14298,"103":206,"83":41984,"24":27,"16":17357341527638016,"45":1787788345198950400},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862152704001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:44:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:44:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17357341527638016,"km_value":17357341527638.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787788345198950400,"description":"Unknown IO ID 45"} 
[2026-09-04 17:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862152704001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1787788345198950400}} 
[2026-09-04 17:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":172273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:44:54] local.INFO: GPS data processed {"connection_id":172273,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:44:54] local.INFO: Acknowledgment sent {"connection_id":172273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:44:54] local.INFO: TCP Data received {"connection_id":172272,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:44:54] local.INFO: Processing buffer {"connection_id":172272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:44:54] local.INFO: IMEI packet received {"connection_id":172272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":172272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:44:55] local.INFO: TCP Data received {"connection_id":172272,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:44:55] local.INFO: Processing buffer {"connection_id":172272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:44:55] local.INFO: Packet analysis {"connection_id":172272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:44:55] local.INFO: Extracted packet for processing {"connection_id":172272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:44:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862055424001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788523955000,"timestamp_ms":1788523955000,"timestamp_seconds":1788523955,"priority":1,"record_length":96,"hex_timestamp":"000001a06c55c338"} 
[2026-09-04 17:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862055424001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862055424001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:44:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:44:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862055424001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":172272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764020,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:44:55] local.INFO: GPS data processed {"connection_id":172272,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:44:55] local.INFO: Acknowledgment sent {"connection_id":172272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:44:58] local.INFO: TCP Data received {"connection_id":172274,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:44:58] local.INFO: Processing buffer {"connection_id":172274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:44:58] local.INFO: IMEI packet received {"connection_id":172274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":172274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:44:59] local.INFO: TCP Data received {"connection_id":172274,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:44:59] local.INFO: Processing buffer {"connection_id":172274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:44:59] local.INFO: IMEI packet received {"connection_id":172274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":172274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:45:02] local.INFO: TCP Data received {"connection_id":170879,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c574dc0012d7d4d0005cd64b0000b00af14..."} 
[2026-09-04 17:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c574dc0012d7d4d0005cd64b0000b00af14..."} 
[2026-09-04 17:45:02] local.INFO: Processing buffer {"connection_id":170879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c574dc0012d7d4d0005cd64b0000b00af14..."} 
[2026-09-04 17:45:02] local.INFO: Packet analysis {"connection_id":170879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:45:02] local.INFO: Extracted packet for processing {"connection_id":170879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763186432,"raw_latitude":97346736,"longitude_deg":76.3186432,"latitude_deg":9.7346736,"altitude":11,"angle":175,"satellites":20,"speed":56,"hex_longitude":"2d7d4d00","hex_latitude":"05cd64b0","is_valid_coordinates":true} 
[2026-09-04 17:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862156544001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128183732740816896,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027817321708175360,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788524056000,"timestamp_ms":1788524056000,"timestamp_seconds":1788524056,"priority":1,"record_length":96,"hex_timestamp":"000001a06c574dc0"} 
[2026-09-04 17:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-04 17:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":170879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":170879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":170879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862156544001,"66":13646,"235":206,"85":15104,"24":56,"16":128183732740816896,"45":9027817321708175360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-04 17:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862156544001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:45:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-04 17:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128183732740816896,"km_value":128183732740816.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027817321708175360,"description":"Unknown IO ID 45"} 
[2026-09-04 17:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862156544001,"power":13646,"unknown_235":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9027817321708175360}} 
[2026-09-04 17:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":170879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:45:02] local.INFO: GPS data processed {"connection_id":170879,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:45:02] local.INFO: Acknowledgment sent {"connection_id":170879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:45:04] local.INFO: TCP Data received {"connection_id":172274,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:45:04] local.INFO: Processing buffer {"connection_id":172274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:45:04] local.INFO: IMEI packet received {"connection_id":172274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":172274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:45:05] local.INFO: TCP Data received {"connection_id":172274,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c567eb8012cc419400754ba60000800c732..."} 
[2026-09-04 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c567eb8012cc419400754ba60000800c732..."} 
[2026-09-04 17:45:05] local.INFO: Processing buffer {"connection_id":172274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c567eb8012cc419400754ba60000800c732..."} 
[2026-09-04 17:45:05] local.INFO: Packet analysis {"connection_id":172274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c56"} 
[2026-09-04 17:45:05] local.INFO: Extracted packet for processing {"connection_id":172274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c56"} 
[2026-09-04 17:45:05] local.INFO: GPS Element Parsed {"raw_longitude":751049024,"raw_latitude":122993248,"longitude_deg":75.1049024,"latitude_deg":12.2993248,"altitude":8,"angle":199,"satellites":50,"speed":58,"hex_longitude":"2cc41940","hex_latitude":"0754ba60","is_valid_coordinates":true} 
[2026-09-04 17:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862144768001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398277428369162240,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4316348367627460608,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788524003000,"timestamp_ms":1788524003000,"timestamp_seconds":1788524003,"priority":1,"record_length":96,"hex_timestamp":"000001a06c567eb8"} 
[2026-09-04 17:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862144768001,"66":27865,"3":206,"85":37632,"24":58,"16":398277428369162240,"44":-4316348367627460608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-04 17:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862144768001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:45:05] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-04 17:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398277428369162240,"km_value":398277428369162.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:45:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4316348367627460608,"description":"Unknown IO ID 44"} 
[2026-09-04 17:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862144768001,"power":27865,"unknown_3":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-4316348367627460608}} 
[2026-09-04 17:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":172274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:45:05] local.INFO: GPS data processed {"connection_id":172274,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:45:05] local.INFO: Acknowledgment sent {"connection_id":172274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:45:15] local.INFO: TCP Data received {"connection_id":170880,"ip":"91.231.89.241","data_length":614,"data_hex":"16030302610100025d0303e51980fcda0d123dbb02727bef21c3008ff71d3420..."} 
[2026-09-04 17:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170880,"packet_length":614,"packet_hex":"16030302610100025d0303e51980fcda0d123dbb02727bef21c3008ff71d3420..."} 
[2026-09-04 17:45:15] local.INFO: Processing buffer {"connection_id":170880,"buffer_length":614,"buffer_hex":"16030302610100025d0303e51980fcda0d123dbb02727bef21c3008ff71d3420..."} 
[2026-09-04 17:45:15] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":170880,"buffer_length":614,"first_bytes_hex":"16030302610100025d0303e51980fcda"} 
[2026-09-04 17:45:21] local.INFO: TCP Data received {"connection_id":170882,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:45:21] local.INFO: Processing buffer {"connection_id":170882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:45:21] local.INFO: IMEI packet received {"connection_id":170882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":170882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:45:23] local.INFO: TCP Data received {"connection_id":170882,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:45:23] local.INFO: Processing buffer {"connection_id":170882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:45:23] local.INFO: IMEI packet received {"connection_id":170882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":170882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:45:25] local.INFO: TCP Data received {"connection_id":172273,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c571710012d18c48007213db80040015523..."} 
[2026-09-04 17:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c571710012d18c48007213db80040015523..."} 
[2026-09-04 17:45:25] local.INFO: Processing buffer {"connection_id":172273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c571710012d18c48007213db80040015523..."} 
[2026-09-04 17:45:25] local.INFO: Packet analysis {"connection_id":172273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:45:25] local.INFO: Extracted packet for processing {"connection_id":172273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:45:25] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119619000,"longitude_deg":75.6597888,"latitude_deg":11.9619,"altitude":64,"angle":341,"satellites":35,"speed":28,"hex_longitude":"2d18c480","hex_latitude":"07213db8","is_valid_coordinates":true} 
[2026-09-04 17:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862153216001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17357547686068224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657757478912,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788524042000,"timestamp_ms":1788524042000,"timestamp_seconds":1788524042,"priority":1,"record_length":96,"hex_timestamp":"000001a06c571710"} 
[2026-09-04 17:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 17:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862153216001,"66":14026,"103":206,"83":41984,"24":28,"16":17357547686068224,"45":1787084657757478912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862153216001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:45:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:45:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17357547686068224,"km_value":17357547686068.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657757478912,"description":"Unknown IO ID 45"} 
[2026-09-04 17:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862153216001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1787084657757478912}} 
[2026-09-04 17:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":172273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:45:25] local.INFO: GPS data processed {"connection_id":172273,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:45:25] local.INFO: Acknowledgment sent {"connection_id":172273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:45:26] local.INFO: TCP Data received {"connection_id":170882,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:45:26] local.INFO: Processing buffer {"connection_id":170882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:45:26] local.INFO: IMEI packet received {"connection_id":170882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":170882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:45:27] local.INFO: TCP Data received {"connection_id":172272,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:45:27] local.INFO: Processing buffer {"connection_id":172272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:45:27] local.INFO: Packet analysis {"connection_id":172272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:45:27] local.INFO: Extracted packet for processing {"connection_id":172272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:45:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862055424001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788523955000,"timestamp_ms":1788523955000,"timestamp_seconds":1788523955,"priority":1,"record_length":96,"hex_timestamp":"000001a06c55c338"} 
[2026-09-04 17:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862055424001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862055424001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:45:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:45:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862055424001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:45:27] local.INFO: TCP Data received {"connection_id":170882,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c576918012d7d500005cd3d28000b00ae14..."} 
[2026-09-04 17:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c576918012d7d500005cd3d28000b00ae14..."} 
[2026-09-04 17:45:27] local.INFO: Processing buffer {"connection_id":170882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c576918012d7d500005cd3d28000b00ae14..."} 
[2026-09-04 17:45:27] local.INFO: Packet analysis {"connection_id":170882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:45:27] local.INFO: Extracted packet for processing {"connection_id":170882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763187200,"raw_latitude":97336616,"longitude_deg":76.31872,"latitude_deg":9.7336616,"altitude":11,"angle":174,"satellites":20,"speed":59,"hex_longitude":"2d7d5000","hex_latitude":"05cd3d28","is_valid_coordinates":true} 
[2026-09-04 17:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862158336001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128184226662055936,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028872852868476928,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524063000,"timestamp_ms":1788524063000,"timestamp_seconds":1788524063,"priority":1,"record_length":96,"hex_timestamp":"000001a06c576918"} 
[2026-09-04 17:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-04 17:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862158336001,"66":13678,"235":206,"85":15104,"24":59,"16":128184226662055936,"45":9028872852868476928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-04 17:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862158336001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:45:27] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-04 17:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128184226662055936,"km_value":128184226662055.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028872852868476928,"description":"Unknown IO ID 45"} 
[2026-09-04 17:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862158336001,"power":13678,"unknown_235":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9028872852868476928}} 
[2026-09-04 17:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":172272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764024,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:45:27] local.INFO: GPS data processed {"connection_id":172272,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:45:27] local.INFO: Acknowledgment sent {"connection_id":172272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":170882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:45:27] local.INFO: GPS data processed {"connection_id":170882,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:45:27] local.INFO: Acknowledgment sent {"connection_id":170882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:45:32] local.INFO: TCP Data received {"connection_id":170882,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c578088012d7d538005cd18e8000d00af14..."} 
[2026-09-04 17:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c578088012d7d538005cd18e8000d00af14..."} 
[2026-09-04 17:45:32] local.INFO: Processing buffer {"connection_id":170882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c578088012d7d538005cd18e8000d00af14..."} 
[2026-09-04 17:45:32] local.INFO: Packet analysis {"connection_id":170882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:45:32] local.INFO: Extracted packet for processing {"connection_id":170882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763188096,"raw_latitude":97327336,"longitude_deg":76.3188096,"latitude_deg":9.7327336,"altitude":13,"angle":175,"satellites":20,"speed":59,"hex_longitude":"2d7d5380","hex_latitude":"05cd18e8","is_valid_coordinates":true} 
[2026-09-04 17:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862160128001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128184677633622016,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029717277796018176,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788524069000,"timestamp_ms":1788524069000,"timestamp_seconds":1788524069,"priority":1,"record_length":96,"hex_timestamp":"000001a06c578088"} 
[2026-09-04 17:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 17:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862160128001,"66":13624,"235":206,"85":15104,"24":59,"16":128184677633622016,"45":9029717277796018176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-04 17:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862160128001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:45:32] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-04 17:45:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128184677633622016,"km_value":128184677633622.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029717277796018176,"description":"Unknown IO ID 45"} 
[2026-09-04 17:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862160128001,"power":13624,"unknown_235":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9029717277796018176}} 
[2026-09-04 17:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":170882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:45:32] local.INFO: GPS data processed {"connection_id":170882,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:45:32] local.INFO: Acknowledgment sent {"connection_id":170882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:45:43] local.INFO: TCP Data received {"connection_id":172274,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c57a798012cc41400075342a8000b009e32..."} 
[2026-09-04 17:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c57a798012cc41400075342a8000b009e32..."} 
[2026-09-04 17:45:43] local.INFO: Processing buffer {"connection_id":172274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c57a798012cc41400075342a8000b009e32..."} 
[2026-09-04 17:45:43] local.INFO: Packet analysis {"connection_id":172274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:45:43] local.INFO: Extracted packet for processing {"connection_id":172274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:45:43] local.INFO: GPS Element Parsed {"raw_longitude":751047680,"raw_latitude":122897064,"longitude_deg":75.104768,"latitude_deg":12.2897064,"altitude":11,"angle":158,"satellites":50,"speed":55,"hex_longitude":"2cc41400","hex_latitude":"075342a8","is_valid_coordinates":true} 
[2026-09-04 17:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862162432001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398282633869524992,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4321696392207255552,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788524079000,"timestamp_ms":1788524079000,"timestamp_seconds":1788524079,"priority":1,"record_length":96,"hex_timestamp":"000001a06c57a798"} 
[2026-09-04 17:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 17:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":172274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":172274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":172274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862162432001,"66":27865,"185":206,"85":37632,"24":55,"16":398282633869524992,"44":-4321696392207255552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-09-04 17:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862162432001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:45:43] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-04 17:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398282633869524992,"km_value":398282633869525.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:45:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4321696392207255552,"description":"Unknown IO ID 44"} 
[2026-09-04 17:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862162432001,"power":27865,"unknown_185":206,"unknown_85":37632,"ignition":55,"odometer":null,"unknown_44":-4321696392207255552}} 
[2026-09-04 17:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":172274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:45:43] local.INFO: GPS data processed {"connection_id":172274,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:45:43] local.INFO: Acknowledgment sent {"connection_id":172274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:45:53] local.INFO: TCP Data received {"connection_id":172275,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:45:53] local.INFO: Processing buffer {"connection_id":172275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:45:53] local.INFO: IMEI packet received {"connection_id":172275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":172275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:45:54] local.INFO: TCP Data received {"connection_id":172276,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:45:54] local.INFO: Processing buffer {"connection_id":172276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:45:54] local.INFO: IMEI packet received {"connection_id":172276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":172276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:45:58] local.INFO: TCP Data received {"connection_id":172275,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:45:58] local.INFO: Processing buffer {"connection_id":172275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:45:58] local.INFO: IMEI packet received {"connection_id":172275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":172275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:45:58] local.INFO: TCP Data received {"connection_id":171176,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:45:58] local.INFO: Processing buffer {"connection_id":171176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:45:58] local.INFO: IMEI packet received {"connection_id":171176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":171176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:45:58] local.INFO: TCP Data received {"connection_id":172275,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5722c8012d18c300072145f80040016522..."} 
[2026-09-04 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5722c8012d18c300072145f80040016522..."} 
[2026-09-04 17:45:58] local.INFO: Processing buffer {"connection_id":172275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5722c8012d18c300072145f80040016522..."} 
[2026-09-04 17:45:58] local.INFO: Packet analysis {"connection_id":172275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:45:58] local.INFO: Extracted packet for processing {"connection_id":172275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119621112,"longitude_deg":75.6597504,"latitude_deg":11.9621112,"altitude":64,"angle":357,"satellites":34,"speed":28,"hex_longitude":"2d18c300","hex_latitude":"072145f8","is_valid_coordinates":true} 
[2026-09-04 17:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862154752001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17357650765283328,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120456378368,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788524045000,"timestamp_ms":1788524045000,"timestamp_seconds":1788524045,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5722c8"} 
[2026-09-04 17:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-04 17:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862154752001,"66":14070,"103":206,"83":41984,"24":28,"16":17357650765283328,"45":1784692120456378368},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862154752001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:45:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17357650765283328,"km_value":17357650765283.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120456378368,"description":"Unknown IO ID 45"} 
[2026-09-04 17:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862154752001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1784692120456378368}} 
[2026-09-04 17:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":172275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:45:59] local.INFO: GPS data processed {"connection_id":172275,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:45:59] local.INFO: Acknowledgment sent {"connection_id":172275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:45:59] local.INFO: TCP Data received {"connection_id":172276,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:45:59] local.INFO: Processing buffer {"connection_id":172276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:45:59] local.INFO: IMEI packet received {"connection_id":172276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":172276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:45:59] local.INFO: TCP Data received {"connection_id":172275,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c573a38012d18c1c0072151900041014f25..."} 
[2026-09-04 17:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c573a38012d18c1c0072151900041014f25..."} 
[2026-09-04 17:45:59] local.INFO: Processing buffer {"connection_id":172275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c573a38012d18c1c0072151900041014f25..."} 
[2026-09-04 17:45:59] local.INFO: Packet analysis {"connection_id":172275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:45:59] local.INFO: Extracted packet for processing {"connection_id":172275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756597184,"raw_latitude":119624080,"longitude_deg":75.6597184,"latitude_deg":11.962408,"altitude":65,"angle":335,"satellites":37,"speed":14,"hex_longitude":"2d18c1c0","hex_latitude":"07215190","is_valid_coordinates":true} 
[2026-09-04 17:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862155520001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17357796794171392,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907991853056,"note":"Value kept but may cause issues"} 
[2026-09-04 17:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788524051000,"timestamp_ms":1788524051000,"timestamp_seconds":1788524051,"priority":1,"record_length":96,"hex_timestamp":"000001a06c573a38"} 
[2026-09-04 17:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-04 17:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862155520001,"66":13580,"103":206,"83":41984,"24":14,"16":17357796794171392,"45":1784269907991853056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 17:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862155520001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:45:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 17:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17357796794171392,"km_value":17357796794171.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907991853056,"description":"Unknown IO ID 45"} 
[2026-09-04 17:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862155520001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1784269907991853056}} 
[2026-09-04 17:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":172275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:45:59] local.INFO: GPS data processed {"connection_id":172275,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:45:59] local.INFO: Acknowledgment sent {"connection_id":172275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:46:01] local.INFO: TCP Data received {"connection_id":172276,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:46:01] local.INFO: Processing buffer {"connection_id":172276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:46:01] local.INFO: Packet analysis {"connection_id":172276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:46:01] local.INFO: Extracted packet for processing {"connection_id":172276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:46:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862055424001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788523955000,"timestamp_ms":1788523955000,"timestamp_seconds":1788523955,"priority":1,"record_length":96,"hex_timestamp":"000001a06c55c338"} 
[2026-09-04 17:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862055424001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862055424001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:46:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:46:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862055424001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":172276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:46:01] local.INFO: GPS data processed {"connection_id":172276,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:46:01] local.INFO: Acknowledgment sent {"connection_id":172276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:46:02] local.INFO: TCP Data received {"connection_id":170882,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5797f8012d7d564005ccf520000e00ae14..."} 
[2026-09-04 17:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5797f8012d7d564005ccf520000e00ae14..."} 
[2026-09-04 17:46:02] local.INFO: Processing buffer {"connection_id":170882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5797f8012d7d564005ccf520000e00ae14..."} 
[2026-09-04 17:46:02] local.INFO: Packet analysis {"connection_id":170882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:46:02] local.INFO: Extracted packet for processing {"connection_id":170882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763188800,"raw_latitude":97318176,"longitude_deg":76.31888,"latitude_deg":9.7318176,"altitude":14,"angle":174,"satellites":20,"speed":60,"hex_longitude":"2d7d5640","hex_latitude":"05ccf520","is_valid_coordinates":true} 
[2026-09-04 17:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862161664001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128185124310220800,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030702440212129792,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788524075000,"timestamp_ms":1788524075000,"timestamp_seconds":1788524075,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5797f8"} 
[2026-09-04 17:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-04 17:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":170882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":170882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":170882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862161664001,"66":13678,"235":206,"85":15104,"24":60,"16":128185124310220800,"45":9030702440212129792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-04 17:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862161664001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:46:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-04 17:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128185124310220800,"km_value":128185124310220.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030702440212129792,"description":"Unknown IO ID 45"} 
[2026-09-04 17:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862161664001,"power":13678,"unknown_235":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":9030702440212129792}} 
[2026-09-04 17:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":170882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:46:02] local.INFO: GPS data processed {"connection_id":170882,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:46:02] local.INFO: Acknowledgment sent {"connection_id":170882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:46:03] local.INFO: TCP Data received {"connection_id":171176,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:46:03] local.INFO: Processing buffer {"connection_id":171176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:46:03] local.INFO: IMEI packet received {"connection_id":171176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":171176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:46:04] local.INFO: TCP Data received {"connection_id":172276,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:46:04] local.INFO: Processing buffer {"connection_id":172276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:46:04] local.INFO: Packet analysis {"connection_id":172276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:46:04] local.INFO: Extracted packet for processing {"connection_id":172276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862055424001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788523955000,"timestamp_ms":1788523955000,"timestamp_seconds":1788523955,"priority":1,"record_length":96,"hex_timestamp":"000001a06c55c338"} 
[2026-09-04 17:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862055424001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862055424001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:46:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:46:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862055424001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":172276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764032,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:46:04] local.INFO: GPS data processed {"connection_id":172276,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:46:04] local.INFO: Acknowledgment sent {"connection_id":172276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:46:05] local.INFO: TCP Data received {"connection_id":171176,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c57c2f0012cc422c007531e28000d009d32..."} 
[2026-09-04 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c57c2f0012cc422c007531e28000d009d32..."} 
[2026-09-04 17:46:05] local.INFO: Processing buffer {"connection_id":171176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c57c2f0012cc422c007531e28000d009d32..."} 
[2026-09-04 17:46:05] local.INFO: Packet analysis {"connection_id":171176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:46:05] local.INFO: Extracted packet for processing {"connection_id":171176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:46:05] local.INFO: GPS Element Parsed {"raw_longitude":751051456,"raw_latitude":122887720,"longitude_deg":75.1051456,"latitude_deg":12.288772,"altitude":13,"angle":157,"satellites":50,"speed":58,"hex_longitude":"2cc422c0","hex_latitude":"07531e28","is_valid_coordinates":true} 
[2026-09-04 17:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862164224001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398283123495796736,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4317826111279814656,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788524086000,"timestamp_ms":1788524086000,"timestamp_seconds":1788524086,"priority":1,"record_length":96,"hex_timestamp":"000001a06c57c2f0"} 
[2026-09-04 17:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862164224001,"66":27876,"185":206,"85":37632,"24":58,"16":398283123495796736,"44":-4317826111279814656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-09-04 17:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862164224001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:46:05] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-04 17:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398283123495796736,"km_value":398283123495796.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:46:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4317826111279814656,"description":"Unknown IO ID 44"} 
[2026-09-04 17:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862164224001,"power":27876,"unknown_185":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-4317826111279814656}} 
[2026-09-04 17:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":171176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:46:05] local.INFO: GPS data processed {"connection_id":171176,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:46:05] local.INFO: Acknowledgment sent {"connection_id":171176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:46:26] local.INFO: TCP Data received {"connection_id":173580,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:46:26] local.INFO: Processing buffer {"connection_id":173580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:46:26] local.INFO: IMEI packet received {"connection_id":173580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":173580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:46:26] local.INFO: TCP Data received {"connection_id":173580,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:46:26] local.INFO: Processing buffer {"connection_id":173580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:46:26] local.INFO: IMEI packet received {"connection_id":173580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":173580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:46:30] local.INFO: TCP Data received {"connection_id":172275,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c577ca0012d18be80072157000040014327..."} 
[2026-09-04 17:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c577ca0012d18be80072157000040014327..."} 
[2026-09-04 17:46:30] local.INFO: Processing buffer {"connection_id":172275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c577ca0012d18be80072157000040014327..."} 
[2026-09-04 17:46:30] local.INFO: Packet analysis {"connection_id":172275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:46:30] local.INFO: Extracted packet for processing {"connection_id":172275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:46:30] local.INFO: GPS Element Parsed {"raw_longitude":756596352,"raw_latitude":119625472,"longitude_deg":75.6596352,"latitude_deg":11.9625472,"altitude":64,"angle":323,"satellites":39,"speed":16,"hex_longitude":"2d18be80","hex_latitude":"07215700","is_valid_coordinates":true} 
[2026-09-04 17:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862157056001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17357882693517312,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783918064271724544,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788524068000,"timestamp_ms":1788524068000,"timestamp_seconds":1788524068,"priority":1,"record_length":96,"hex_timestamp":"000001a06c577ca0"} 
[2026-09-04 17:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751529385,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-2972367915766513607,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2854944768,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5270056109212696586,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637589687662695,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2147950874,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-6268784764291854765,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:30] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,170,160,34,45,69,64,10,66,23,128,61,35,255,1,240,218,227,108,33,4,113,205,27,224,208,168,36,239,56,2,7,58,29,54,164],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-04 17:46:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684112107775328256,"timestamp_seconds":4684112107775328.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 17:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862157056001,"66":14048,"106":206,"83":41984,"24":16,"16":17357882693517312,"45":1783918064271724544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-04 17:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862157056001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:46:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17357882693517312,"km_value":17357882693517.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783918064271724544,"description":"Unknown IO ID 45"} 
[2026-09-04 17:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862157056001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1783918064271724544}} 
[2026-09-04 17:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":172275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:46:30] local.INFO: GPS data processed {"connection_id":172275,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:46:30] local.INFO: Acknowledgment sent {"connection_id":172275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:46:31] local.INFO: TCP Data received {"connection_id":173580,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:46:31] local.INFO: Processing buffer {"connection_id":173580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:46:31] local.INFO: IMEI packet received {"connection_id":173580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":173580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:46:32] local.INFO: TCP Data received {"connection_id":173580,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c57af68012d7d588005ccd1c8000d00b216..."} 
[2026-09-04 17:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c57af68012d7d588005ccd1c8000d00b216..."} 
[2026-09-04 17:46:32] local.INFO: Processing buffer {"connection_id":173580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c57af68012d7d588005ccd1c8000d00b216..."} 
[2026-09-04 17:46:32] local.INFO: Packet analysis {"connection_id":173580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:46:32] local.INFO: Extracted packet for processing {"connection_id":173580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763189376,"raw_latitude":97309128,"longitude_deg":76.3189376,"latitude_deg":9.7309128,"altitude":13,"angle":178,"satellites":22,"speed":59,"hex_longitude":"2d7d5880","hex_latitude":"05ccd1c8","is_valid_coordinates":true} 
[2026-09-04 17:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862163200001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128185562396884992,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031476496395739136,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788524081000,"timestamp_ms":1788524081000,"timestamp_seconds":1788524081,"priority":1,"record_length":96,"hex_timestamp":"000001a06c57af68"} 
[2026-09-04 17:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 17:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862163200001,"66":13504,"129":206,"85":15104,"24":59,"16":128185562396884992,"45":9031476496395739136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-04 17:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862163200001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:46:32] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-04 17:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128185562396884992,"km_value":128185562396884.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031476496395739136,"description":"Unknown IO ID 45"} 
[2026-09-04 17:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862163200001,"power":13504,"unknown_129":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9031476496395739136}} 
[2026-09-04 17:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":173580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:46:32] local.INFO: GPS data processed {"connection_id":173580,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:46:32] local.INFO: Acknowledgment sent {"connection_id":173580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:46:36] local.INFO: TCP Data received {"connection_id":171176,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c57da60012cc430400752fd98000d009e32..."} 
[2026-09-04 17:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c57da60012cc430400752fd98000d009e32..."} 
[2026-09-04 17:46:36] local.INFO: Processing buffer {"connection_id":171176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c57da60012cc430400752fd98000d009e32..."} 
[2026-09-04 17:46:36] local.INFO: Packet analysis {"connection_id":171176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:46:36] local.INFO: Extracted packet for processing {"connection_id":171176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:46:36] local.INFO: GPS Element Parsed {"raw_longitude":751054912,"raw_latitude":122879384,"longitude_deg":75.1054912,"latitude_deg":12.2879384,"altitude":13,"angle":158,"satellites":50,"speed":60,"hex_longitude":"2cc43040","hex_latitude":"0752fd98","is_valid_coordinates":true} 
[2026-09-04 17:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862166016001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398283557287493632,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4313674355375724544,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788524092000,"timestamp_ms":1788524092000,"timestamp_seconds":1788524092,"priority":1,"record_length":96,"hex_timestamp":"000001a06c57da60"} 
[2026-09-04 17:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 17:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862166016001,"66":27974,"185":206,"85":37632,"24":60,"16":398283557287493632,"44":-4313674355375724544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-09-04 17:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862166016001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:46:36] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-04 17:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398283557287493632,"km_value":398283557287493.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:46:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4313674355375724544,"description":"Unknown IO ID 44"} 
[2026-09-04 17:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862166016001,"power":27974,"unknown_185":206,"unknown_85":37632,"ignition":60,"odometer":null,"unknown_44":-4313674355375724544}} 
[2026-09-04 17:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":171176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:46:36] local.INFO: GPS data processed {"connection_id":171176,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:46:36] local.INFO: Acknowledgment sent {"connection_id":171176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:46:36] local.INFO: TCP Data received {"connection_id":173580,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c57c6d8012d7d598005ccad10000b00b316..."} 
[2026-09-04 17:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c57c6d8012d7d598005ccad10000b00b316..."} 
[2026-09-04 17:46:36] local.INFO: Processing buffer {"connection_id":173580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c57c6d8012d7d598005ccad10000b00b316..."} 
[2026-09-04 17:46:36] local.INFO: Packet analysis {"connection_id":173580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:46:36] local.INFO: Extracted packet for processing {"connection_id":173580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c57"} 
[2026-09-04 17:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763189632,"raw_latitude":97299728,"longitude_deg":76.3189632,"latitude_deg":9.7299728,"altitude":11,"angle":179,"satellites":22,"speed":62,"hex_longitude":"2d7d5980","hex_latitude":"05ccad10","is_valid_coordinates":true} 
[2026-09-04 17:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862164736001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128186017663418368,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032109815091021824,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788524087000,"timestamp_ms":1788524087000,"timestamp_seconds":1788524087,"priority":1,"record_length":96,"hex_timestamp":"000001a06c57c6d8"} 
[2026-09-04 17:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-04 17:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862164736001,"66":12385,"129":206,"85":15104,"24":62,"16":128186017663418368,"45":9032109815091021824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-04 17:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862164736001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:46:36] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-04 17:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128186017663418368,"km_value":128186017663418.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032109815091021824,"description":"Unknown IO ID 45"} 
[2026-09-04 17:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862164736001,"power":12385,"unknown_129":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":9032109815091021824}} 
[2026-09-04 17:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":173580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:46:37] local.INFO: GPS data processed {"connection_id":173580,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:46:37] local.INFO: Acknowledgment sent {"connection_id":173580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:46:47] local.INFO: TCP Data received {"connection_id":172277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:46:47] local.INFO: Processing buffer {"connection_id":172277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:46:47] local.INFO: IMEI packet received {"connection_id":172277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":172277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:46:47] local.INFO: TCP Data received {"connection_id":172277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:46:47] local.INFO: Processing buffer {"connection_id":172277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:46:47] local.INFO: IMEI packet received {"connection_id":172277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":172277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:46:48] local.INFO: TCP Data received {"connection_id":172277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:46:48] local.INFO: Processing buffer {"connection_id":172277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:46:48] local.INFO: IMEI packet received {"connection_id":172277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":172277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:46:48] local.INFO: TCP Data received {"connection_id":172277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:46:48] local.INFO: Processing buffer {"connection_id":172277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:46:48] local.INFO: IMEI packet received {"connection_id":172277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":172277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:46:48] local.INFO: TCP Data received {"connection_id":172278,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:46:48] local.INFO: Processing buffer {"connection_id":172278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:46:48] local.INFO: IMEI packet received {"connection_id":172278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":172278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:46:54] local.INFO: TCP Data received {"connection_id":172278,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:46:54] local.INFO: Processing buffer {"connection_id":172278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:46:54] local.INFO: IMEI packet received {"connection_id":172278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":172278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:46:55] local.INFO: TCP Data received {"connection_id":172278,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:46:55] local.INFO: Processing buffer {"connection_id":172278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:46:55] local.INFO: Packet analysis {"connection_id":172278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:46:55] local.INFO: Extracted packet for processing {"connection_id":172278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:46:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862055424001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788523955000,"timestamp_ms":1788523955000,"timestamp_seconds":1788523955,"priority":1,"record_length":96,"hex_timestamp":"000001a06c55c338"} 
[2026-09-04 17:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862055424001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862055424001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:46:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:46:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862055424001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":172278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:46:55] local.INFO: GPS data processed {"connection_id":172278,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:46:55] local.INFO: Acknowledgment sent {"connection_id":172278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:46:58] local.INFO: TCP Data received {"connection_id":172279,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:46:58] local.INFO: Processing buffer {"connection_id":172279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:46:58] local.INFO: IMEI packet received {"connection_id":172279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":172279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:46:59] local.INFO: TCP Data received {"connection_id":172279,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:46:59] local.INFO: Processing buffer {"connection_id":172279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:46:59] local.INFO: IMEI packet received {"connection_id":172279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":172279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:47:04] local.INFO: TCP Data received {"connection_id":172279,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:47:04] local.INFO: Processing buffer {"connection_id":172279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:47:04] local.INFO: IMEI packet received {"connection_id":172279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":172279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:47:04] local.INFO: TCP Data received {"connection_id":172279,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c58ff58012cc4d14007518200000c009e32..."} 
[2026-09-04 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c58ff58012cc4d14007518200000c009e32..."} 
[2026-09-04 17:47:04] local.INFO: Processing buffer {"connection_id":172279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c58ff58012cc4d14007518200000c009e32..."} 
[2026-09-04 17:47:04] local.INFO: Packet analysis {"connection_id":172279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c58"} 
[2026-09-04 17:47:04] local.INFO: Extracted packet for processing {"connection_id":172279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c58"} 
[2026-09-04 17:47:04] local.INFO: GPS Element Parsed {"raw_longitude":751096128,"raw_latitude":122782208,"longitude_deg":75.1096128,"latitude_deg":12.2782208,"altitude":12,"angle":158,"satellites":50,"speed":56,"hex_longitude":"2cc4d140","hex_latitude":"07518200","is_valid_coordinates":true} 
[2026-09-04 17:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862184960001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398288655413673984,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4268779096614995968,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788524167000,"timestamp_ms":1788524167000,"timestamp_seconds":1788524167,"priority":1,"record_length":96,"hex_timestamp":"000001a06c58ff58"} 
[2026-09-04 17:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862184960001,"66":27821,"171":206,"85":37632,"24":56,"16":398288655413673984,"44":-4268779096614995968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-04 17:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862184960001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:47:04] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 17:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398288655413673984,"km_value":398288655413674.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:47:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4268779096614995968,"description":"Unknown IO ID 44"} 
[2026-09-04 17:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862184960001,"power":27821,"unknown_171":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-4268779096614995968}} 
[2026-09-04 17:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":172279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:47:05] local.INFO: GPS data processed {"connection_id":172279,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:47:05] local.INFO: Acknowledgment sent {"connection_id":172279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:47:19] local.INFO: TCP Data received {"connection_id":170883,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:47:19] local.INFO: Processing buffer {"connection_id":170883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:47:19] local.INFO: IMEI packet received {"connection_id":170883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":170883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:47:21] local.INFO: TCP Data received {"connection_id":170883,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:47:21] local.INFO: Processing buffer {"connection_id":170883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:47:21] local.INFO: IMEI packet received {"connection_id":170883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":170883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:47:25] local.INFO: TCP Data received {"connection_id":170883,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:47:25] local.INFO: Processing buffer {"connection_id":170883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:47:25] local.INFO: IMEI packet received {"connection_id":170883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":170883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:47:26] local.INFO: TCP Data received {"connection_id":170883,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c599f80012d7d2c4005cad4d0000900b718..."} 
[2026-09-04 17:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c599f80012d7d2c4005cad4d0000900b718..."} 
[2026-09-04 17:47:26] local.INFO: Processing buffer {"connection_id":170883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c599f80012d7d2c4005cad4d0000900b718..."} 
[2026-09-04 17:47:26] local.INFO: Packet analysis {"connection_id":170883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c59"} 
[2026-09-04 17:47:26] local.INFO: Extracted packet for processing {"connection_id":170883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c59"} 
[2026-09-04 17:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763178048,"raw_latitude":97178832,"longitude_deg":76.3178048,"latitude_deg":9.7178832,"altitude":9,"angle":183,"satellites":24,"speed":62,"hex_longitude":"2d7d2c40","hex_latitude":"05cad4d0","is_valid_coordinates":true} 
[2026-09-04 17:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862195712001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128191918948483072,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019936022317211648,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788524208000,"timestamp_ms":1788524208000,"timestamp_seconds":1788524208,"priority":1,"record_length":96,"hex_timestamp":"000001a06c599f80"} 
[2026-09-04 17:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-04 17:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862195712001,"66":13656,"131":206,"85":15104,"24":62,"16":128191918948483072,"45":9019936022317211648},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-04 17:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862195712001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:47:26] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 17:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128191918948483072,"km_value":128191918948483.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019936022317211648,"description":"Unknown IO ID 45"} 
[2026-09-04 17:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862195712001,"power":13656,"unknown_131":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":9019936022317211648}} 
[2026-09-04 17:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":170883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:47:26] local.INFO: GPS data processed {"connection_id":170883,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:47:26] local.INFO: Acknowledgment sent {"connection_id":170883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:47:27] local.INFO: TCP Data received {"connection_id":172278,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:47:27] local.INFO: Processing buffer {"connection_id":172278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:47:27] local.INFO: Packet analysis {"connection_id":172278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:47:27] local.INFO: Extracted packet for processing {"connection_id":172278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:47:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862055424001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788523955000,"timestamp_ms":1788523955000,"timestamp_seconds":1788523955,"priority":1,"record_length":96,"hex_timestamp":"000001a06c55c338"} 
[2026-09-04 17:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862055424001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862055424001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:47:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:47:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862055424001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":172278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:47:27] local.INFO: GPS data processed {"connection_id":172278,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:47:27] local.INFO: Acknowledgment sent {"connection_id":172278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:47:35] local.INFO: TCP Data received {"connection_id":172279,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c591ab0012cc4de0007515ee0000b00a133..."} 
[2026-09-04 17:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c591ab0012cc4de0007515ee0000b00a133..."} 
[2026-09-04 17:47:35] local.INFO: Processing buffer {"connection_id":172279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c591ab0012cc4de0007515ee0000b00a133..."} 
[2026-09-04 17:47:35] local.INFO: Packet analysis {"connection_id":172279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c59"} 
[2026-09-04 17:47:35] local.INFO: Extracted packet for processing {"connection_id":172279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c59"} 
[2026-09-04 17:47:35] local.INFO: GPS Element Parsed {"raw_longitude":751099392,"raw_latitude":122773216,"longitude_deg":75.1099392,"latitude_deg":12.2773216,"altitude":11,"angle":161,"satellites":51,"speed":50,"hex_longitude":"2cc4de00","hex_latitude":"07515ee0","is_valid_coordinates":true} 
[2026-09-04 17:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862186752001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398289119270141952,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4264556971966726144,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788524174000,"timestamp_ms":1788524174000,"timestamp_seconds":1788524174,"priority":1,"record_length":96,"hex_timestamp":"000001a06c591ab0"} 
[2026-09-04 17:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862186752001,"66":27908,"171":206,"85":37632,"24":50,"16":398289119270141952,"44":-4264556971966726144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-04 17:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862186752001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:47:35] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 17:47:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398289119270141952,"km_value":398289119270141.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:47:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4264556971966726144,"description":"Unknown IO ID 44"} 
[2026-09-04 17:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862186752001,"power":27908,"unknown_171":206,"unknown_85":37632,"ignition":50,"odometer":null,"unknown_44":-4264556971966726144}} 
[2026-09-04 17:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":172279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:47:35] local.INFO: GPS data processed {"connection_id":172279,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:47:35] local.INFO: Acknowledgment sent {"connection_id":172279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:47:49] local.INFO: TCP Data received {"connection_id":171177,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:47:49] local.INFO: Processing buffer {"connection_id":171177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:47:49] local.INFO: IMEI packet received {"connection_id":171177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":171177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:47:54] local.INFO: TCP Data received {"connection_id":171177,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:47:54] local.INFO: Processing buffer {"connection_id":171177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:47:54] local.INFO: IMEI packet received {"connection_id":171177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":171177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:47:55] local.INFO: TCP Data received {"connection_id":171177,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:47:55] local.INFO: Processing buffer {"connection_id":171177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c55c338012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:47:55] local.INFO: Packet analysis {"connection_id":171177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:47:55] local.INFO: Extracted packet for processing {"connection_id":171177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c55"} 
[2026-09-04 17:47:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862055424001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788523955000,"timestamp_ms":1788523955000,"timestamp_seconds":1788523955,"priority":1,"record_length":96,"hex_timestamp":"000001a06c55c338"} 
[2026-09-04 17:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862055424001,"66":25321,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862055424001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:47:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:47:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862055424001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":171177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:47:55] local.INFO: GPS data processed {"connection_id":171177,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:47:55] local.INFO: Acknowledgment sent {"connection_id":171177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:47:57] local.INFO: TCP Data received {"connection_id":170883,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c59b6f0012d7d284005caaf78000800b918..."} 
[2026-09-04 17:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c59b6f0012d7d284005caaf78000800b918..."} 
[2026-09-04 17:47:57] local.INFO: Processing buffer {"connection_id":170883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c59b6f0012d7d284005caaf78000800b918..."} 
[2026-09-04 17:47:57] local.INFO: Packet analysis {"connection_id":170883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c59"} 
[2026-09-04 17:47:57] local.INFO: Extracted packet for processing {"connection_id":170883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c59"} 
[2026-09-04 17:47:57] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":97169272,"longitude_deg":76.3177024,"latitude_deg":9.7169272,"altitude":8,"angle":185,"satellites":24,"speed":63,"hex_longitude":"2d7d2840","hex_latitude":"05caaf78","is_valid_coordinates":true} 
[2026-09-04 17:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862197248001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128192387099918336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019654547338219520,"note":"Value kept but may cause issues"} 
[2026-09-04 17:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788524214000,"timestamp_ms":1788524214000,"timestamp_seconds":1788524214,"priority":1,"record_length":96,"hex_timestamp":"000001a06c59b6f0"} 
[2026-09-04 17:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-04 17:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":170883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":170883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":170883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862197248001,"66":13820,"131":206,"85":15104,"24":63,"16":128192387099918336,"45":9019654547338219520},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-04 17:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862197248001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:47:57] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 17:47:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128192387099918336,"km_value":128192387099918.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019654547338219520,"description":"Unknown IO ID 45"} 
[2026-09-04 17:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862197248001,"power":13820,"unknown_131":206,"unknown_85":15104,"ignition":63,"odometer":null,"unknown_45":9019654547338219520}} 
[2026-09-04 17:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":170883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:47:57] local.INFO: GPS data processed {"connection_id":170883,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:47:57] local.INFO: Acknowledgment sent {"connection_id":170883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:48:04] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:48:04] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:48:04] local.INFO: IMEI packet received {"connection_id":172280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":172280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:48:08] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:48:08] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:48:08] local.INFO: IMEI packet received {"connection_id":172280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":172280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:48:08] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c593608012cc4eb8007513d78000c009b33..."} 
[2026-09-04 17:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c593608012cc4eb8007513d78000c009b33..."} 
[2026-09-04 17:48:08] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c593608012cc4eb8007513d78000c009b33..."} 
[2026-09-04 17:48:08] local.INFO: Packet analysis {"connection_id":172280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c59"} 
[2026-09-04 17:48:08] local.INFO: Extracted packet for processing {"connection_id":172280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c59"} 
[2026-09-04 17:48:08] local.INFO: GPS Element Parsed {"raw_longitude":751102848,"raw_latitude":122764664,"longitude_deg":75.1102848,"latitude_deg":12.2764664,"altitude":12,"angle":155,"satellites":51,"speed":53,"hex_longitude":"2cc4eb80","hex_latitude":"07513d78","is_valid_coordinates":true} 
[2026-09-04 17:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862188544001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398289565946740736,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4260968166015967232,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788524181000,"timestamp_ms":1788524181000,"timestamp_seconds":1788524181,"priority":1,"record_length":96,"hex_timestamp":"000001a06c593608"} 
[2026-09-04 17:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 17:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862188544001,"66":27887,"171":206,"85":37632,"24":53,"16":398289565946740736,"44":-4260968166015967232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-04 17:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862188544001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:48:08] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 17:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398289565946740736,"km_value":398289565946740.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:48:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4260968166015967232,"description":"Unknown IO ID 44"} 
[2026-09-04 17:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862188544001,"power":27887,"unknown_171":206,"unknown_85":37632,"ignition":53,"odometer":null,"unknown_44":-4260968166015967232}} 
[2026-09-04 17:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":172280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:48:08] local.INFO: GPS data processed {"connection_id":172280,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:48:08] local.INFO: Acknowledgment sent {"connection_id":172280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:48:09] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a06c595548012cc4f94007511bf0000c00a333..."} 
[2026-09-04 17:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":93,"packet_hex":"00000000000000518e01000001a06c595548012cc4f94007511bf0000c00a333..."} 
[2026-09-04 17:48:09] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06c595548012cc4f94007511bf0000c00a333..."} 
[2026-09-04 17:48:09] local.INFO: Packet analysis {"connection_id":172280,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06c59"} 
[2026-09-04 17:48:09] local.INFO: Extracted packet for processing {"connection_id":172280,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06c59"} 
[2026-09-04 17:48:09] local.INFO: GPS Element Parsed {"raw_longitude":751106368,"raw_latitude":122756080,"longitude_deg":75.1106368,"latitude_deg":12.275608,"altitude":12,"angle":163,"satellites":51,"speed":36,"hex_longitude":"2cc4f940","hex_latitude":"07511bf0","is_valid_coordinates":true} 
[2026-09-04 17:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 17:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:48:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:48:09] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 17:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172280,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 17:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172280,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-04 17:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172280,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-04 17:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 17:48:09] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 17:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":172280,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 17:48:09] local.ERROR: GPS data processing failed {"connection_id":172280,"error":"No valid data to process"} 
[2026-09-04 17:48:09] local.INFO: Acknowledgment sent {"connection_id":172280,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 17:48:21] local.INFO: TCP Data received {"connection_id":170885,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:48:21] local.INFO: Processing buffer {"connection_id":170885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:48:21] local.INFO: IMEI packet received {"connection_id":170885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":170885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:48:26] local.INFO: TCP Data received {"connection_id":171177,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:48:26] local.INFO: Processing buffer {"connection_id":171177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:48:26] local.INFO: Packet analysis {"connection_id":171177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:48:26] local.INFO: Extracted packet for processing {"connection_id":171177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:48:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862132480001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788524257000,"timestamp_ms":1788524257000,"timestamp_seconds":1788524257,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5a5ee8"} 
[2026-09-04 17:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862132480001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862132480001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:48:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:48:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862132480001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":171177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:48:26] local.INFO: GPS data processed {"connection_id":171177,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:48:26] local.INFO: Acknowledgment sent {"connection_id":171177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:48:26] local.INFO: TCP Data received {"connection_id":170885,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:48:26] local.INFO: Processing buffer {"connection_id":170885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:48:26] local.INFO: IMEI packet received {"connection_id":170885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":170885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:48:27] local.INFO: TCP Data received {"connection_id":170885,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c59ce60012d7d240005ca89e8000900ba18..."} 
[2026-09-04 17:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c59ce60012d7d240005ca89e8000900ba18..."} 
[2026-09-04 17:48:27] local.INFO: Processing buffer {"connection_id":170885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c59ce60012d7d240005ca89e8000900ba18..."} 
[2026-09-04 17:48:27] local.INFO: Packet analysis {"connection_id":170885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c59"} 
[2026-09-04 17:48:27] local.INFO: Extracted packet for processing {"connection_id":170885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c59"} 
[2026-09-04 17:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763175936,"raw_latitude":97159656,"longitude_deg":76.3175936,"latitude_deg":9.7159656,"altitude":9,"angle":186,"satellites":24,"speed":63,"hex_longitude":"2d7d2400","hex_latitude":"05ca89e8","is_valid_coordinates":true} 
[2026-09-04 17:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862198784001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128192855251353600,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647428929536,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524220000,"timestamp_ms":1788524220000,"timestamp_seconds":1788524220,"priority":1,"record_length":96,"hex_timestamp":"000001a06c59ce60"} 
[2026-09-04 17:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-04 17:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862198784001,"66":13515,"131":206,"85":15104,"24":63,"16":128192855251353600,"45":9018528647428929536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-04 17:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862198784001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:48:27] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 17:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128192855251353600,"km_value":128192855251353.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647428929536,"description":"Unknown IO ID 45"} 
[2026-09-04 17:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862198784001,"power":13515,"unknown_131":206,"unknown_85":15104,"ignition":63,"odometer":null,"unknown_45":9018528647428929536}} 
[2026-09-04 17:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":170885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:48:27] local.INFO: GPS data processed {"connection_id":170885,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:48:27] local.INFO: Acknowledgment sent {"connection_id":170885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:48:39] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a06c598fe0012cc501c00750f960000c00a433..."} 
[2026-09-04 17:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":93,"packet_hex":"00000000000000518e01000001a06c598fe0012cc501c00750f960000c00a433..."} 
[2026-09-04 17:48:39] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06c598fe0012cc501c00750f960000c00a433..."} 
[2026-09-04 17:48:39] local.INFO: Packet analysis {"connection_id":172280,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06c59"} 
[2026-09-04 17:48:39] local.INFO: Extracted packet for processing {"connection_id":172280,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06c59"} 
[2026-09-04 17:48:39] local.INFO: GPS Element Parsed {"raw_longitude":751108544,"raw_latitude":122747232,"longitude_deg":75.1108544,"latitude_deg":12.2747232,"altitude":12,"angle":164,"satellites":51,"speed":26,"hex_longitude":"2cc501c0","hex_latitude":"0750f960","is_valid_coordinates":true} 
[2026-09-04 17:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 17:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:48:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:48:39] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 17:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172280,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 17:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172280,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-04 17:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172280,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-04 17:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 17:48:39] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 17:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":172280,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 17:48:39] local.ERROR: GPS data processing failed {"connection_id":172280,"error":"No valid data to process"} 
[2026-09-04 17:48:39] local.INFO: Acknowledgment sent {"connection_id":172280,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 17:48:48] local.INFO: TCP Data received {"connection_id":170886,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:48:48] local.INFO: Processing buffer {"connection_id":170886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:48:48] local.INFO: IMEI packet received {"connection_id":170886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":170886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:48:54] local.INFO: TCP Data received {"connection_id":170886,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:48:54] local.INFO: Processing buffer {"connection_id":170886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:48:54] local.INFO: IMEI packet received {"connection_id":170886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":170886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:48:55] local.INFO: TCP Data received {"connection_id":170886,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:48:55] local.INFO: Processing buffer {"connection_id":170886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:48:55] local.INFO: Packet analysis {"connection_id":170886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:48:55] local.INFO: Extracted packet for processing {"connection_id":170886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:48:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862132480001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788524257000,"timestamp_ms":1788524257000,"timestamp_seconds":1788524257,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5a5ee8"} 
[2026-09-04 17:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862132480001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862132480001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:48:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862132480001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":170886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:48:55] local.INFO: GPS data processed {"connection_id":170886,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:48:55] local.INFO: Acknowledgment sent {"connection_id":170886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:48:58] local.INFO: TCP Data received {"connection_id":170887,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:48:58] local.INFO: Processing buffer {"connection_id":170887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:48:58] local.INFO: IMEI packet received {"connection_id":170887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":170887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:48:59] local.INFO: TCP Data received {"connection_id":170885,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ad030012d7d110005c93570000b00ac1a..."} 
[2026-09-04 17:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ad030012d7d110005c93570000b00ac1a..."} 
[2026-09-04 17:48:59] local.INFO: Processing buffer {"connection_id":170885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ad030012d7d110005c93570000b00ac1a..."} 
[2026-09-04 17:48:59] local.INFO: Packet analysis {"connection_id":170885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:48:59] local.INFO: Extracted packet for processing {"connection_id":170885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763171072,"raw_latitude":97072496,"longitude_deg":76.3171072,"latitude_deg":9.7072496,"altitude":11,"angle":172,"satellites":26,"speed":23,"hex_longitude":"2d7d1100","hex_latitude":"05c93570","is_valid_coordinates":true} 
[2026-09-04 17:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862215936001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128197102974009344,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011069560521932800,"note":"Value kept but may cause issues"} 
[2026-09-04 17:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788524286000,"timestamp_ms":1788524286000,"timestamp_seconds":1788524286,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ad030"} 
[2026-09-04 17:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 17:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862215936001,"66":13798,"131":206,"85":15104,"24":23,"16":128197102974009344,"45":9011069560521932800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-04 17:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862215936001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:48:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 17:48:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128197102974009344,"km_value":128197102974009.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011069560521932800,"description":"Unknown IO ID 45"} 
[2026-09-04 17:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862215936001,"power":13798,"unknown_131":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9011069560521932800}} 
[2026-09-04 17:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":170885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:48:59] local.INFO: GPS data processed {"connection_id":170885,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:48:59] local.INFO: Acknowledgment sent {"connection_id":170885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:49:01] local.INFO: TCP Data received {"connection_id":170887,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:49:01] local.INFO: Processing buffer {"connection_id":170887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:49:01] local.INFO: IMEI packet received {"connection_id":170887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":170887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:49:01] local.INFO: TCP Data received {"connection_id":170887,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c59bec0012cc50b400750d788000d00a533..."} 
[2026-09-04 17:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c59bec0012cc50b400750d788000d00a533..."} 
[2026-09-04 17:49:02] local.INFO: Processing buffer {"connection_id":170887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c59bec0012cc50b400750d788000d00a533..."} 
[2026-09-04 17:49:02] local.INFO: Packet analysis {"connection_id":170887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c59"} 
[2026-09-04 17:49:02] local.INFO: Extracted packet for processing {"connection_id":170887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c59"} 
[2026-09-04 17:49:02] local.INFO: GPS Element Parsed {"raw_longitude":751110976,"raw_latitude":122738568,"longitude_deg":75.1110976,"latitude_deg":12.2738568,"altitude":13,"angle":165,"satellites":51,"speed":31,"hex_longitude":"2cc50b40","hex_latitude":"0750d788","is_valid_coordinates":true} 
[2026-09-04 17:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862196224001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398290893091635200,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4250905435605213184,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788524216000,"timestamp_ms":1788524216000,"timestamp_seconds":1788524216,"priority":1,"record_length":96,"hex_timestamp":"000001a06c59bec0"} 
[2026-09-04 17:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":170887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":170887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":170887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862196224001,"66":27919,"171":206,"85":37632,"24":31,"16":398290893091635200,"44":-4250905435605213184},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-04 17:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862196224001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:49:02] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 17:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398290893091635200,"km_value":398290893091635.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:49:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4250905435605213184,"description":"Unknown IO ID 44"} 
[2026-09-04 17:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862196224001,"power":27919,"unknown_171":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-4250905435605213184}} 
[2026-09-04 17:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":170887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:49:02] local.INFO: GPS data processed {"connection_id":170887,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:49:02] local.INFO: Acknowledgment sent {"connection_id":170887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:49:21] local.INFO: TCP Data received {"connection_id":172282,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:49:21] local.INFO: Processing buffer {"connection_id":172282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:49:21] local.INFO: IMEI packet received {"connection_id":172282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":172282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:49:26] local.INFO: TCP Data received {"connection_id":172282,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:49:26] local.INFO: Processing buffer {"connection_id":172282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:49:26] local.INFO: IMEI packet received {"connection_id":172282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":172282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:49:27] local.INFO: TCP Data received {"connection_id":170886,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:49:27] local.INFO: Processing buffer {"connection_id":170886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:49:27] local.INFO: Packet analysis {"connection_id":170886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:49:27] local.INFO: Extracted packet for processing {"connection_id":170886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:49:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862132480001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524257000,"timestamp_ms":1788524257000,"timestamp_seconds":1788524257,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5a5ee8"} 
[2026-09-04 17:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862132480001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862132480001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:49:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:49:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862132480001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":170886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764051,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:49:27] local.INFO: GPS data processed {"connection_id":170886,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:49:27] local.INFO: Acknowledgment sent {"connection_id":170886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:49:28] local.INFO: TCP Data received {"connection_id":172282,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5b1e50012d7d140005c91340000a00b41a..."} 
[2026-09-04 17:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5b1e50012d7d140005c91340000a00b41a..."} 
[2026-09-04 17:49:28] local.INFO: Processing buffer {"connection_id":172282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5b1e50012d7d140005c91340000a00b41a..."} 
[2026-09-04 17:49:28] local.INFO: Packet analysis {"connection_id":172282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5b"} 
[2026-09-04 17:49:28] local.INFO: Extracted packet for processing {"connection_id":172282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5b"} 
[2026-09-04 17:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763171840,"raw_latitude":97063744,"longitude_deg":76.317184,"latitude_deg":9.7063744,"altitude":10,"angle":180,"satellites":26,"speed":0,"hex_longitude":"2d7d1400","hex_latitude":"05c91340","is_valid_coordinates":true} 
[2026-09-04 17:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862217216001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128197536765706240,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011984354195632128,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788524306000,"timestamp_ms":1788524306000,"timestamp_seconds":1788524306,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5b1e50"} 
[2026-09-04 17:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 17:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862217216001,"66":13135,"131":206,"85":15104,"24":0,"16":128197536765706240,"45":9011984354195632128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-04 17:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862217216001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:49:28] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 17:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128197536765706240,"km_value":128197536765706.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011984354195632128,"description":"Unknown IO ID 45"} 
[2026-09-04 17:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862217216001,"power":13135,"unknown_131":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9011984354195632128}} 
[2026-09-04 17:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":172282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:49:28] local.INFO: GPS data processed {"connection_id":172282,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:49:28] local.INFO: Acknowledgment sent {"connection_id":172282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:49:32] local.INFO: TCP Data received {"connection_id":170887,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c59e9b8012cc515c00750b5f8000f00a232..."} 
[2026-09-04 17:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c59e9b8012cc515c00750b5f8000f00a232..."} 
[2026-09-04 17:49:32] local.INFO: Processing buffer {"connection_id":170887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c59e9b8012cc515c00750b5f8000f00a232..."} 
[2026-09-04 17:49:32] local.INFO: Packet analysis {"connection_id":170887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c59"} 
[2026-09-04 17:49:32] local.INFO: Extracted packet for processing {"connection_id":170887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c59"} 
[2026-09-04 17:49:32] local.INFO: GPS Element Parsed {"raw_longitude":751113664,"raw_latitude":122729976,"longitude_deg":75.1113664,"latitude_deg":12.2729976,"altitude":15,"angle":162,"satellites":50,"speed":34,"hex_longitude":"2cc515c0","hex_latitude":"0750b5f8","is_valid_coordinates":true} 
[2026-09-04 17:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862199296001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398291326883332096,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4248231423328679936,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788524227000,"timestamp_ms":1788524227000,"timestamp_seconds":1788524227,"priority":1,"record_length":96,"hex_timestamp":"000001a06c59e9b8"} 
[2026-09-04 17:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 17:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862199296001,"66":27919,"171":206,"85":37632,"24":34,"16":398291326883332096,"44":-4248231423328679936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-04 17:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862199296001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:49:33] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 17:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398291326883332096,"km_value":398291326883332.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:49:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4248231423328679936,"description":"Unknown IO ID 44"} 
[2026-09-04 17:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862199296001,"power":27919,"unknown_171":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-4248231423328679936}} 
[2026-09-04 17:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":170887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:49:33] local.INFO: GPS data processed {"connection_id":170887,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:49:33] local.INFO: Acknowledgment sent {"connection_id":170887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:49:54] local.INFO: TCP Data received {"connection_id":173581,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:49:54] local.INFO: Processing buffer {"connection_id":173581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:49:54] local.INFO: IMEI packet received {"connection_id":173581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":173581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:49:58] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:49:58] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:49:58] local.INFO: IMEI packet received {"connection_id":173582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":173582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:49:59] local.INFO: TCP Data received {"connection_id":173581,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:49:59] local.INFO: Processing buffer {"connection_id":173581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:49:59] local.INFO: IMEI packet received {"connection_id":173581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":173581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:49:59] local.INFO: TCP Data received {"connection_id":172282,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5b6c70012d7d140005c91340000a00b41b..."} 
[2026-09-04 17:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5b6c70012d7d140005c91340000a00b41b..."} 
[2026-09-04 17:49:59] local.INFO: Processing buffer {"connection_id":172282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5b6c70012d7d140005c91340000a00b41b..."} 
[2026-09-04 17:49:59] local.INFO: Packet analysis {"connection_id":172282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5b"} 
[2026-09-04 17:49:59] local.INFO: Extracted packet for processing {"connection_id":172282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5b"} 
[2026-09-04 17:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763171840,"raw_latitude":97063744,"longitude_deg":76.317184,"latitude_deg":9.7063744,"altitude":10,"angle":180,"satellites":27,"speed":0,"hex_longitude":"2d7d1400","hex_latitude":"05c91340","is_valid_coordinates":true} 
[2026-09-04 17:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862222336001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128197536765706240,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012828779123523584,"note":"Value kept but may cause issues"} 
[2026-09-04 17:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788524326000,"timestamp_ms":1788524326000,"timestamp_seconds":1788524326,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5b6c70"} 
[2026-09-04 17:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-04 17:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862222336001,"66":13254,"131":206,"85":15104,"24":0,"16":128197536765706240,"45":9012828779123523584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-04 17:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862222336001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:49:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 17:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128197536765706240,"km_value":128197536765706.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012828779123523584,"description":"Unknown IO ID 45"} 
[2026-09-04 17:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862222336001,"power":13254,"unknown_131":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9012828779123523584}} 
[2026-09-04 17:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":172282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:49:59] local.INFO: GPS data processed {"connection_id":172282,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:49:59] local.INFO: Acknowledgment sent {"connection_id":172282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:50:00] local.INFO: TCP Data received {"connection_id":173581,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:50:00] local.INFO: Processing buffer {"connection_id":173581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:50:00] local.INFO: Packet analysis {"connection_id":173581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:50:00] local.INFO: Extracted packet for processing {"connection_id":173581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:50:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862132480001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788524257000,"timestamp_ms":1788524257000,"timestamp_seconds":1788524257,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5a5ee8"} 
[2026-09-04 17:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862132480001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862132480001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:50:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:50:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862132480001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":173581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764055,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:50:00] local.INFO: GPS data processed {"connection_id":173581,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:50:00] local.INFO: Acknowledgment sent {"connection_id":173581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:50:01] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:50:01] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:50:01] local.INFO: IMEI packet received {"connection_id":173582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":173582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:50:01] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5a14b0012cc52240075092700011009e33..."} 
[2026-09-04 17:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5a14b0012cc52240075092700011009e33..."} 
[2026-09-04 17:50:01] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5a14b0012cc52240075092700011009e33..."} 
[2026-09-04 17:50:01] local.INFO: Packet analysis {"connection_id":173582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:50:01] local.INFO: Extracted packet for processing {"connection_id":173582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:50:01] local.INFO: GPS Element Parsed {"raw_longitude":751116864,"raw_latitude":122720880,"longitude_deg":75.1116864,"latitude_deg":12.272088,"altitude":17,"angle":158,"satellites":51,"speed":34,"hex_longitude":"2cc52240","hex_latitude":"07509270","is_valid_coordinates":true} 
[2026-09-04 17:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862202112001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398291795034767360,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4245275936075417600,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788524238000,"timestamp_ms":1788524238000,"timestamp_seconds":1788524238,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5a14b0"} 
[2026-09-04 17:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 17:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862202112001,"66":27745,"171":206,"85":37632,"24":34,"16":398291795034767360,"44":-4245275936075417600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-04 17:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862202112001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:50:01] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 17:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398291795034767360,"km_value":398291795034767.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:50:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4245275936075417600,"description":"Unknown IO ID 44"} 
[2026-09-04 17:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862202112001,"power":27745,"unknown_171":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-4245275936075417600}} 
[2026-09-04 17:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":173582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:50:01] local.INFO: GPS data processed {"connection_id":173582,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:50:01] local.INFO: Acknowledgment sent {"connection_id":173582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:50:04] local.INFO: TCP Data received {"connection_id":173581,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:50:04] local.INFO: Processing buffer {"connection_id":173581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:50:04] local.INFO: Packet analysis {"connection_id":173581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:50:04] local.INFO: Extracted packet for processing {"connection_id":173581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:50:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862132480001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788524257000,"timestamp_ms":1788524257000,"timestamp_seconds":1788524257,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5a5ee8"} 
[2026-09-04 17:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862132480001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862132480001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:50:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:50:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862132480001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":173581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764057,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:50:05] local.INFO: GPS data processed {"connection_id":173581,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:50:05] local.INFO: Acknowledgment sent {"connection_id":173581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:50:21] local.INFO: TCP Data received {"connection_id":171178,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:50:21] local.INFO: Processing buffer {"connection_id":171178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:50:21] local.INFO: IMEI packet received {"connection_id":171178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":171178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:50:23] local.INFO: TCP Data received {"connection_id":171178,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:50:23] local.INFO: Processing buffer {"connection_id":171178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:50:23] local.INFO: IMEI packet received {"connection_id":171178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":171178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:50:26] local.INFO: TCP Data received {"connection_id":171178,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:50:26] local.INFO: Processing buffer {"connection_id":171178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:50:26] local.INFO: IMEI packet received {"connection_id":171178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":171178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:50:27] local.INFO: TCP Data received {"connection_id":171178,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5bbe78012d7d140005c91340000a00b419..."} 
[2026-09-04 17:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5bbe78012d7d140005c91340000a00b419..."} 
[2026-09-04 17:50:27] local.INFO: Processing buffer {"connection_id":171178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5bbe78012d7d140005c91340000a00b419..."} 
[2026-09-04 17:50:27] local.INFO: Packet analysis {"connection_id":171178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5b"} 
[2026-09-04 17:50:27] local.INFO: Extracted packet for processing {"connection_id":171178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5b"} 
[2026-09-04 17:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763171840,"raw_latitude":97063744,"longitude_deg":76.317184,"latitude_deg":9.7063744,"altitude":10,"angle":180,"satellites":25,"speed":0,"hex_longitude":"2d7d1400","hex_latitude":"05c91340","is_valid_coordinates":true} 
[2026-09-04 17:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862227456001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128197536765706240,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012828779123523584,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524347000,"timestamp_ms":1788524347000,"timestamp_seconds":1788524347,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5bbe78"} 
[2026-09-04 17:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-04 17:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862227456001,"66":13580,"131":206,"85":15104,"24":0,"16":128197536765706240,"45":9012828779123523584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-04 17:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862227456001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:50:27] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 17:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128197536765706240,"km_value":128197536765706.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012828779123523584,"description":"Unknown IO ID 45"} 
[2026-09-04 17:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862227456001,"power":13580,"unknown_131":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9012828779123523584}} 
[2026-09-04 17:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":171178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:50:27] local.INFO: GPS data processed {"connection_id":171178,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:50:27] local.INFO: Acknowledgment sent {"connection_id":171178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:50:34] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5a4390012cc531c0075072f80013009733..."} 
[2026-09-04 17:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5a4390012cc531c0075072f80013009733..."} 
[2026-09-04 17:50:34] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5a4390012cc531c0075072f80013009733..."} 
[2026-09-04 17:50:34] local.INFO: Packet analysis {"connection_id":173582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:50:34] local.INFO: Extracted packet for processing {"connection_id":173582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:50:34] local.INFO: GPS Element Parsed {"raw_longitude":751120832,"raw_latitude":122712824,"longitude_deg":75.1120832,"latitude_deg":12.2712824,"altitude":19,"angle":151,"satellites":51,"speed":25,"hex_longitude":"2cc531c0","hex_latitude":"075072f8","is_valid_coordinates":true} 
[2026-09-04 17:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862204928001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398292228826464256,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4241757498868862976,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788524250000,"timestamp_ms":1788524250000,"timestamp_seconds":1788524250,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5a4390"} 
[2026-09-04 17:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 17:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862204928001,"66":27865,"171":206,"85":37632,"24":25,"16":398292228826464256,"44":-4241757498868862976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-04 17:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862204928001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:50:34] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 17:50:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398292228826464256,"km_value":398292228826464.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:50:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4241757498868862976,"description":"Unknown IO ID 44"} 
[2026-09-04 17:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862204928001,"power":27865,"unknown_171":206,"unknown_85":37632,"ignition":25,"odometer":null,"unknown_44":-4241757498868862976}} 
[2026-09-04 17:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":173582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:50:34] local.INFO: GPS data processed {"connection_id":173582,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:50:34] local.INFO: Acknowledgment sent {"connection_id":173582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:50:49] local.INFO: TCP Data received {"connection_id":172283,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:50:49] local.INFO: Processing buffer {"connection_id":172283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:50:49] local.INFO: IMEI packet received {"connection_id":172283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":172283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:50:54] local.INFO: TCP Data received {"connection_id":172283,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:50:54] local.INFO: Processing buffer {"connection_id":172283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:50:54] local.INFO: IMEI packet received {"connection_id":172283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":172283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:50:55] local.INFO: TCP Data received {"connection_id":172283,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:50:55] local.INFO: Processing buffer {"connection_id":172283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:50:55] local.INFO: Packet analysis {"connection_id":172283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:50:55] local.INFO: Extracted packet for processing {"connection_id":172283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:50:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862132480001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788524257000,"timestamp_ms":1788524257000,"timestamp_seconds":1788524257,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5a5ee8"} 
[2026-09-04 17:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862132480001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862132480001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:50:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:50:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862132480001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":172283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764060,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:50:55] local.INFO: GPS data processed {"connection_id":172283,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:50:55] local.INFO: Acknowledgment sent {"connection_id":172283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:51:01] local.INFO: TCP Data received {"connection_id":171178,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5bc260012d7d144005c912e8000a00c013..."} 
[2026-09-04 17:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5bc260012d7d144005c912e8000a00c013..."} 
[2026-09-04 17:51:01] local.INFO: Processing buffer {"connection_id":171178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5bc260012d7d144005c912e8000a00c013..."} 
[2026-09-04 17:51:01] local.INFO: Packet analysis {"connection_id":171178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5b"} 
[2026-09-04 17:51:01] local.INFO: Extracted packet for processing {"connection_id":171178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5b"} 
[2026-09-04 17:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763171904,"raw_latitude":97063656,"longitude_deg":76.3171904,"latitude_deg":9.7063656,"altitude":10,"angle":192,"satellites":19,"speed":2,"hex_longitude":"2d7d1440","hex_latitude":"05c912e8","is_valid_coordinates":true} 
[2026-09-04 17:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862232832001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128197541060673536,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012828779123523584,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788524348000,"timestamp_ms":1788524348000,"timestamp_seconds":1788524348,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5bc260"} 
[2026-09-04 17:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630193,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":114,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4075179319654088704,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959387779,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894266574,"corrected_to":0} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3221302653,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2147862848,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3378763776,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":125,"raw_value":882711890122244104,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-8502569955659559339,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755670024126705,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:01] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,131,85,24,241,157,16,114,160,108,45,19,10,27,66,30,26,208,1,240,230,227,201,4,113,205,20,184,13,25,239,51,2,199,5,9,125,52,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2894266574,"validated":0}]} 
[2026-09-04 17:51:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720773959846461440,"timestamp_seconds":720773959846461.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 17:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862232832001,"66":13363,"131":206,"85":15104,"24":2,"16":128197541060673536,"45":9012828779123523584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-04 17:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862232832001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:51:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-04 17:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-04 17:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128197541060673536,"km_value":128197541060673.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012828779123523584,"description":"Unknown IO ID 45"} 
[2026-09-04 17:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862232832001,"power":13363,"unknown_131":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9012828779123523584}} 
[2026-09-04 17:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":171178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:51:01] local.INFO: GPS data processed {"connection_id":171178,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:51:01] local.INFO: Acknowledgment sent {"connection_id":171178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:51:03] local.INFO: TCP Data received {"connection_id":171179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:51:03] local.INFO: Processing buffer {"connection_id":171179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:51:03] local.INFO: IMEI packet received {"connection_id":171179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":171179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:51:09] local.INFO: TCP Data received {"connection_id":171179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:51:09] local.INFO: Processing buffer {"connection_id":171179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:51:09] local.INFO: IMEI packet received {"connection_id":171179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":171179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:51:09] local.INFO: TCP Data received {"connection_id":171179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:51:09] local.INFO: Processing buffer {"connection_id":171179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:51:09] local.INFO: IMEI packet received {"connection_id":171179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":171179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:51:10] local.INFO: TCP Data received {"connection_id":171179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5c9550012cc5c400074f0348000e00a333..."} 
[2026-09-04 17:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5c9550012cc5c400074f0348000e00a333..."} 
[2026-09-04 17:51:10] local.INFO: Processing buffer {"connection_id":171179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5c9550012cc5c400074f0348000e00a333..."} 
[2026-09-04 17:51:10] local.INFO: Packet analysis {"connection_id":171179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5c"} 
[2026-09-04 17:51:10] local.INFO: Extracted packet for processing {"connection_id":171179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5c"} 
[2026-09-04 17:51:10] local.INFO: GPS Element Parsed {"raw_longitude":751158272,"raw_latitude":122618696,"longitude_deg":75.1158272,"latitude_deg":12.2618696,"altitude":14,"angle":163,"satellites":51,"speed":46,"hex_longitude":"2cc5c400","hex_latitude":"074f0348","is_valid_coordinates":true} 
[2026-09-04 17:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862244608001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398297150858985472,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4198551089967480832,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788524402000,"timestamp_ms":1788524402000,"timestamp_seconds":1788524402,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5c9550"} 
[2026-09-04 17:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862244608001,"66":27843,"121":206,"85":37632,"24":46,"16":398297150858985472,"44":-4198551089967480832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-09-04 17:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862244608001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:51:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 17:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398297150858985472,"km_value":398297150858985.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4198551089967480832,"description":"Unknown IO ID 44"} 
[2026-09-04 17:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862244608001,"power":27843,"unknown_121":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-4198551089967480832}} 
[2026-09-04 17:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":171179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:51:10] local.INFO: GPS data processed {"connection_id":171179,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:51:10] local.INFO: Acknowledgment sent {"connection_id":171179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:51:18] local.INFO: TCP Data received {"connection_id":171179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5cb490012cc5d040074ede20000d00a233..."} 
[2026-09-04 17:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5cb490012cc5d040074ede20000d00a233..."} 
[2026-09-04 17:51:18] local.INFO: Processing buffer {"connection_id":171179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5cb490012cc5d040074ede20000d00a233..."} 
[2026-09-04 17:51:18] local.INFO: Packet analysis {"connection_id":171179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5c"} 
[2026-09-04 17:51:18] local.INFO: Extracted packet for processing {"connection_id":171179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5c"} 
[2026-09-04 17:51:18] local.INFO: GPS Element Parsed {"raw_longitude":751161408,"raw_latitude":122609184,"longitude_deg":75.1161408,"latitude_deg":12.2609184,"altitude":13,"angle":162,"satellites":51,"speed":53,"hex_longitude":"2cc5d040","hex_latitude":"074ede20","is_valid_coordinates":true} 
[2026-09-04 17:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862246912001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398297636190289920,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4196228921412073472,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788524410000,"timestamp_ms":1788524410000,"timestamp_seconds":1788524410,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5cb490"} 
[2026-09-04 17:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 17:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":171179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":171179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":171179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862246912001,"66":27767,"121":206,"85":37632,"24":53,"16":398297636190289920,"44":-4196228921412073472},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-09-04 17:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862246912001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:51:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-04 17:51:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398297636190289920,"km_value":398297636190289.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:51:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4196228921412073472,"description":"Unknown IO ID 44"} 
[2026-09-04 17:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862246912001,"power":27767,"unknown_121":206,"unknown_85":37632,"ignition":53,"odometer":null,"unknown_44":-4196228921412073472}} 
[2026-09-04 17:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":171179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:51:18] local.INFO: GPS data processed {"connection_id":171179,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:51:18] local.INFO: Acknowledgment sent {"connection_id":171179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:51:21] local.INFO: TCP Data received {"connection_id":170889,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:51:21] local.INFO: Processing buffer {"connection_id":170889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:51:21] local.INFO: IMEI packet received {"connection_id":170889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":170889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:51:24] local.INFO: TCP Data received {"connection_id":170889,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:51:24] local.INFO: Processing buffer {"connection_id":170889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:51:24] local.INFO: IMEI packet received {"connection_id":170889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":170889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:51:26] local.INFO: TCP Data received {"connection_id":170889,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:51:26] local.INFO: Processing buffer {"connection_id":170889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:51:26] local.INFO: IMEI packet received {"connection_id":170889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":170889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:51:27] local.INFO: TCP Data received {"connection_id":170889,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5d6458012d7d4dc005c7b920000800901c..."} 
[2026-09-04 17:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5d6458012d7d4dc005c7b920000800901c..."} 
[2026-09-04 17:51:27] local.INFO: Processing buffer {"connection_id":170889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5d6458012d7d4dc005c7b920000800901c..."} 
[2026-09-04 17:51:27] local.INFO: Packet analysis {"connection_id":170889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5d"} 
[2026-09-04 17:51:27] local.INFO: Extracted packet for processing {"connection_id":170889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5d"} 
[2026-09-04 17:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763186624,"raw_latitude":96975136,"longitude_deg":76.3186624,"latitude_deg":9.6975136,"altitude":8,"angle":144,"satellites":28,"speed":8,"hex_longitude":"2d7d4dc0","hex_latitude":"05c7b920","is_valid_coordinates":true} 
[2026-09-04 17:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862256640001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 17:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128201930517250048,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025987734263437312,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 17:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524455000,"timestamp_ms":1788524455000,"timestamp_seconds":1788524455,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5d6458"} 
[2026-09-04 17:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 17:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862256640001,"66":13319,"200":0,"85":12288,"24":8,"16":128201930517250048,"45":9025987734263437312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-04 17:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862256640001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128201930517250048,"km_value":128201930517250.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025987734263437312,"description":"Unknown IO ID 45"} 
[2026-09-04 17:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862256640001,"power":13319,"gsm_signal":0,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9025987734263437312}} 
[2026-09-04 17:51:27] local.INFO: TCP Data received {"connection_id":172283,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:51:27] local.INFO: Processing buffer {"connection_id":172283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:51:27] local.INFO: Packet analysis {"connection_id":172283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:51:27] local.INFO: Extracted packet for processing {"connection_id":172283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:51:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862132480001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524257000,"timestamp_ms":1788524257000,"timestamp_seconds":1788524257,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5a5ee8"} 
[2026-09-04 17:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862132480001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862132480001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:51:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:51:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862132480001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":170889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:51:27] local.INFO: GPS data processed {"connection_id":170889,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:51:27] local.INFO: Acknowledgment sent {"connection_id":170889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":172283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:51:27] local.INFO: GPS data processed {"connection_id":172283,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:51:27] local.INFO: Acknowledgment sent {"connection_id":172283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:51:48] local.INFO: TCP Data received {"connection_id":173583,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:51:48] local.INFO: Processing buffer {"connection_id":173583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:51:48] local.INFO: IMEI packet received {"connection_id":173583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":173583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:51:52] local.INFO: TCP Data received {"connection_id":171180,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:51:52] local.INFO: Processing buffer {"connection_id":171180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:51:52] local.INFO: IMEI packet received {"connection_id":171180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":171180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:51:52] local.INFO: TCP Data received {"connection_id":171180,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:51:52] local.INFO: Processing buffer {"connection_id":171180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:51:52] local.INFO: IMEI packet received {"connection_id":171180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":171180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:51:53] local.INFO: TCP Data received {"connection_id":171180,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5cfae0012d181ac00721b9e0004c014227..."} 
[2026-09-04 17:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5cfae0012d181ac00721b9e0004c014227..."} 
[2026-09-04 17:51:53] local.INFO: Processing buffer {"connection_id":171180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5cfae0012d181ac00721b9e0004c014227..."} 
[2026-09-04 17:51:53] local.INFO: Packet analysis {"connection_id":171180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5c"} 
[2026-09-04 17:51:53] local.INFO: Extracted packet for processing {"connection_id":171180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5c"} 
[2026-09-04 17:51:53] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119650784,"longitude_deg":75.6554432,"latitude_deg":11.9650784,"altitude":76,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d181ac0","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-09-04 17:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862248192001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17360665832325120,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743167881216,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788524428000,"timestamp_ms":1788524428000,"timestamp_seconds":1788524428,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5cfae0"} 
[2026-09-04 17:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-04 17:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":360287970357412864,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:53] local.WARNING: Large IO value detected {"io_id":108,"raw_value":6548181086690091200,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:53] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3118465100,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 17:51:53] local.WARNING: Large IO value detected {"io_id":14,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:53] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-576234895391535533,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:53] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2909143040,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:53] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430079028351281705,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:53] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:53] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,173,160,86,45,192,185,76,41,10,66,4,37,178,1,240,227,108,33,113,205,14,27,248,239,50,2,61,7,77,5,164,94],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 17:51:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476731361425358848,"timestamp_seconds":5476731361425359.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 17:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862248192001,"66":12743,"105":206,"83":41984,"24":0,"16":17360665832325120,"45":1736911743167881216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862248192001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:51:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:51:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17360665832325120,"km_value":17360665832325.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743167881216,"description":"Unknown IO ID 45"} 
[2026-09-04 17:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862248192001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736911743167881216}} 
[2026-09-04 17:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":171180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:51:53] local.INFO: GPS data processed {"connection_id":171180,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:51:53] local.INFO: Acknowledgment sent {"connection_id":171180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:51:54] local.INFO: TCP Data received {"connection_id":173583,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:51:54] local.INFO: Processing buffer {"connection_id":173583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:51:54] local.INFO: IMEI packet received {"connection_id":173583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":173583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:51:54] local.INFO: TCP Data received {"connection_id":171180,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5d4ce8012d181ac00721b9e0004c014225..."} 
[2026-09-04 17:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5d4ce8012d181ac00721b9e0004c014225..."} 
[2026-09-04 17:51:54] local.INFO: Processing buffer {"connection_id":171180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5d4ce8012d181ac00721b9e0004c014225..."} 
[2026-09-04 17:51:54] local.INFO: Packet analysis {"connection_id":171180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5d"} 
[2026-09-04 17:51:54] local.INFO: Extracted packet for processing {"connection_id":171180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5d"} 
[2026-09-04 17:51:54] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119650784,"longitude_deg":75.6554432,"latitude_deg":11.9650784,"altitude":76,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d181ac0","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-09-04 17:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862253568001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17360665832325120,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743167881216,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788524449000,"timestamp_ms":1788524449000,"timestamp_seconds":1788524449,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5d4ce8"} 
[2026-09-04 17:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-04 17:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862253568001,"66":14189,"105":206,"83":41984,"24":0,"16":17360665832325120,"45":1736911743167881216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862253568001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:51:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:51:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17360665832325120,"km_value":17360665832325.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743167881216,"description":"Unknown IO ID 45"} 
[2026-09-04 17:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862253568001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736911743167881216}} 
[2026-09-04 17:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":171180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:51:54] local.INFO: GPS data processed {"connection_id":171180,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:51:54] local.INFO: Acknowledgment sent {"connection_id":171180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:51:55] local.INFO: TCP Data received {"connection_id":173583,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:51:55] local.INFO: Processing buffer {"connection_id":173583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:51:55] local.INFO: Packet analysis {"connection_id":173583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:51:55] local.INFO: Extracted packet for processing {"connection_id":173583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:51:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862132480001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788524257000,"timestamp_ms":1788524257000,"timestamp_seconds":1788524257,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5a5ee8"} 
[2026-09-04 17:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862132480001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862132480001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:51:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:51:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862132480001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":173583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764068,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:51:55] local.INFO: GPS data processed {"connection_id":173583,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:51:55] local.INFO: Acknowledgment sent {"connection_id":173583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:51:58] local.INFO: TCP Data received {"connection_id":170889,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5d8398012d7d534005c7b0f8000a009c1a..."} 
[2026-09-04 17:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5d8398012d7d534005c7b0f8000a009c1a..."} 
[2026-09-04 17:51:58] local.INFO: Processing buffer {"connection_id":170889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5d8398012d7d534005c7b0f8000a009c1a..."} 
[2026-09-04 17:51:58] local.INFO: Packet analysis {"connection_id":170889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5d"} 
[2026-09-04 17:51:58] local.INFO: Extracted packet for processing {"connection_id":170889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5d"} 
[2026-09-04 17:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763188032,"raw_latitude":96973048,"longitude_deg":76.3188032,"latitude_deg":9.6973048,"altitude":10,"angle":156,"satellites":26,"speed":5,"hex_longitude":"2d7d5340","hex_latitude":"05c7b0f8","is_valid_coordinates":true} 
[2026-09-04 17:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862260480001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 17:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128202050776334336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029083959005880320,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 17:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788524463000,"timestamp_ms":1788524463000,"timestamp_seconds":1788524463,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5d8398"} 
[2026-09-04 17:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-04 17:51:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":-6705859810783520000,"corrected_to":0} 
[2026-09-04 17:51:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:58] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2499857832,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3363745792,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:58] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57887968660968752,"corrected_to":0} 
[2026-09-04 17:51:58] local.WARNING: Large IO value detected {"io_id":92,"raw_value":6255501177301614597,"note":"Value kept but may cause issues"} 
[2026-09-04 17:51:58] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,200,85,24,241,157,16,118,160,41,45,192,206,8,27,10,66,6,128,7,28,227,1,240,117,108,4,113,205,39,35,239,52,2,199,5,43,203,92],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":200,"original":-6705859810783520000,"validated":0},{"io_id":203,"original":57887968660968752,"validated":0}]} 
[2026-09-04 17:51:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576619202237431808,"timestamp_seconds":576619202237431.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 17:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862260480001,"66":13276,"200":0,"85":12288,"24":5,"16":128202050776334336,"45":9029083959005880320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-04 17:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862260480001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:51:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128202050776334336,"km_value":128202050776334.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029083959005880320,"description":"Unknown IO ID 45"} 
[2026-09-04 17:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862260480001,"power":13276,"gsm_signal":0,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9029083959005880320}} 
[2026-09-04 17:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":170889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:51:58] local.INFO: GPS data processed {"connection_id":170889,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:51:58] local.INFO: Acknowledgment sent {"connection_id":170889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:51:58] local.INFO: TCP Data received {"connection_id":170890,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:51:58] local.INFO: Processing buffer {"connection_id":170890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:51:58] local.INFO: IMEI packet received {"connection_id":170890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":170890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:52:04] local.INFO: TCP Data received {"connection_id":170890,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:52:04] local.INFO: Processing buffer {"connection_id":170890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:52:04] local.INFO: IMEI packet received {"connection_id":170890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":170890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:52:04] local.INFO: TCP Data received {"connection_id":170890,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ccfe8012cc5dc00074eb968000d00a133..."} 
[2026-09-04 17:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ccfe8012cc5dc00074eb968000d00a133..."} 
[2026-09-04 17:52:04] local.INFO: Processing buffer {"connection_id":170890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ccfe8012cc5dc00074eb968000d00a133..."} 
[2026-09-04 17:52:04] local.INFO: Packet analysis {"connection_id":170890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5c"} 
[2026-09-04 17:52:04] local.INFO: Extracted packet for processing {"connection_id":170890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5c"} 
[2026-09-04 17:52:04] local.INFO: GPS Element Parsed {"raw_longitude":751164416,"raw_latitude":122599784,"longitude_deg":75.1164416,"latitude_deg":12.2599784,"altitude":13,"angle":161,"satellites":51,"speed":58,"hex_longitude":"2cc5dc00","hex_latitude":"074eb968","is_valid_coordinates":true} 
[2026-09-04 17:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862248960001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398298112931659776,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4192780852949803008,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788524417000,"timestamp_ms":1788524417000,"timestamp_seconds":1788524417,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ccfe8"} 
[2026-09-04 17:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 17:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862248960001,"66":27745,"119":206,"85":37632,"24":58,"16":398298112931659776,"44":-4192780852949803008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-09-04 17:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862248960001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:52:04] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 17:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398298112931659776,"km_value":398298112931659.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:52:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4192780852949803008,"description":"Unknown IO ID 44"} 
[2026-09-04 17:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862248960001,"power":27745,"unknown_119":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-4192780852949803008}} 
[2026-09-04 17:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":170890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:52:04] local.INFO: GPS data processed {"connection_id":170890,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:52:04] local.INFO: Acknowledgment sent {"connection_id":170890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:52:25] local.INFO: TCP Data received {"connection_id":171180,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5d9ef0012d181ac00721b9e0004c014225..."} 
[2026-09-04 17:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5d9ef0012d181ac00721b9e0004c014225..."} 
[2026-09-04 17:52:25] local.INFO: Processing buffer {"connection_id":171180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5d9ef0012d181ac00721b9e0004c014225..."} 
[2026-09-04 17:52:25] local.INFO: Packet analysis {"connection_id":171180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5d"} 
[2026-09-04 17:52:25] local.INFO: Extracted packet for processing {"connection_id":171180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5d"} 
[2026-09-04 17:52:25] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119650784,"longitude_deg":75.6554432,"latitude_deg":11.9650784,"altitude":76,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d181ac0","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-09-04 17:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862258944001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17360665832325120,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743167881216,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788524470000,"timestamp_ms":1788524470000,"timestamp_seconds":1788524470,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5d9ef0"} 
[2026-09-04 17:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 17:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862258944001,"66":14189,"105":206,"83":41984,"24":0,"16":17360665832325120,"45":1736911743167881216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862258944001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:52:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:52:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17360665832325120,"km_value":17360665832325.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743167881216,"description":"Unknown IO ID 45"} 
[2026-09-04 17:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862258944001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736911743167881216}} 
[2026-09-04 17:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":171180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:52:25] local.INFO: GPS data processed {"connection_id":171180,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:52:25] local.INFO: Acknowledgment sent {"connection_id":171180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:52:27] local.INFO: TCP Data received {"connection_id":173583,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:52:27] local.INFO: Processing buffer {"connection_id":173583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:52:27] local.INFO: Packet analysis {"connection_id":173583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:52:27] local.INFO: Extracted packet for processing {"connection_id":173583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:52:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862132480001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524257000,"timestamp_ms":1788524257000,"timestamp_seconds":1788524257,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5a5ee8"} 
[2026-09-04 17:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862132480001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862132480001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:52:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:52:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862132480001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":173583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:52:27] local.INFO: GPS data processed {"connection_id":173583,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:52:27] local.INFO: Acknowledgment sent {"connection_id":173583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:52:27] local.INFO: TCP Data received {"connection_id":173584,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:52:27] local.INFO: Processing buffer {"connection_id":173584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:52:27] local.INFO: IMEI packet received {"connection_id":173584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":173584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:52:31] local.INFO: TCP Data received {"connection_id":173584,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:52:31] local.INFO: Processing buffer {"connection_id":173584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:52:31] local.INFO: IMEI packet received {"connection_id":173584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":173584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:52:33] local.INFO: TCP Data received {"connection_id":173584,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5dd1b8012d7d534005c7b0a80009009c1b..."} 
[2026-09-04 17:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5dd1b8012d7d534005c7b0a80009009c1b..."} 
[2026-09-04 17:52:33] local.INFO: Processing buffer {"connection_id":173584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5dd1b8012d7d534005c7b0a80009009c1b..."} 
[2026-09-04 17:52:33] local.INFO: Packet analysis {"connection_id":173584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5d"} 
[2026-09-04 17:52:33] local.INFO: Extracted packet for processing {"connection_id":173584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5d"} 
[2026-09-04 17:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763188032,"raw_latitude":96972968,"longitude_deg":76.3188032,"latitude_deg":9.6972968,"altitude":9,"angle":156,"satellites":27,"speed":0,"hex_longitude":"2d7d5340","hex_latitude":"05c7b0a8","is_valid_coordinates":true} 
[2026-09-04 17:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862262528001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128202059366268928,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030632071377254400,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788524483000,"timestamp_ms":1788524483000,"timestamp_seconds":1788524483,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5dd1b8"} 
[2026-09-04 17:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-04 17:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862262528001,"66":13417,"90":206,"85":12288,"24":0,"16":128202059366268928,"45":9030632071377254400},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,45]} 
[2026-09-04 17:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862262528001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:52:33] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-04 17:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128202059366268928,"km_value":128202059366268.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030632071377254400,"description":"Unknown IO ID 45"} 
[2026-09-04 17:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862262528001,"power":13417,"unknown_90":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9030632071377254400}} 
[2026-09-04 17:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":173584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:52:33] local.INFO: GPS data processed {"connection_id":173584,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:52:33] local.INFO: Acknowledgment sent {"connection_id":173584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:52:35] local.INFO: TCP Data received {"connection_id":173584,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5df4e0012d7d538005c7b0a80009007f1c..."} 
[2026-09-04 17:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5df4e0012d7d538005c7b0a80009007f1c..."} 
[2026-09-04 17:52:35] local.INFO: Processing buffer {"connection_id":173584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5df4e0012d7d538005c7b0a80009007f1c..."} 
[2026-09-04 17:52:35] local.INFO: Packet analysis {"connection_id":173584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5d"} 
[2026-09-04 17:52:35] local.INFO: Extracted packet for processing {"connection_id":173584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5d"} 
[2026-09-04 17:52:35] local.INFO: GPS Element Parsed {"raw_longitude":763188096,"raw_latitude":96972968,"longitude_deg":76.3188096,"latitude_deg":9.6972968,"altitude":9,"angle":127,"satellites":28,"speed":2,"hex_longitude":"2d7d5380","hex_latitude":"05c7b0a8","is_valid_coordinates":true} 
[2026-09-04 17:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862267648001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128202063661236224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030632071377233920,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788524492000,"timestamp_ms":1788524492000,"timestamp_seconds":1788524492,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5df4e0"} 
[2026-09-04 17:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-04 17:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862267648001,"66":13254,"90":206,"85":12288,"24":2,"16":128202063661236224,"45":9030632071377233920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,45]} 
[2026-09-04 17:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862267648001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:52:35] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-04 17:52:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128202063661236224,"km_value":128202063661236.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030632071377233920,"description":"Unknown IO ID 45"} 
[2026-09-04 17:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862267648001,"power":13254,"unknown_90":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":9030632071377233920}} 
[2026-09-04 17:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":173584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:52:35] local.INFO: GPS data processed {"connection_id":173584,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:52:35] local.INFO: Acknowledgment sent {"connection_id":173584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:52:35] local.INFO: TCP Data received {"connection_id":170890,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5e0098012cc6c980074d90000009007d32..."} 
[2026-09-04 17:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5e0098012cc6c980074d90000009007d32..."} 
[2026-09-04 17:52:35] local.INFO: Processing buffer {"connection_id":170890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5e0098012cc6c980074d90000009007d32..."} 
[2026-09-04 17:52:35] local.INFO: Packet analysis {"connection_id":170890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:52:35] local.INFO: Extracted packet for processing {"connection_id":170890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:52:35] local.INFO: GPS Element Parsed {"raw_longitude":751225216,"raw_latitude":122523648,"longitude_deg":75.1225216,"latitude_deg":12.2523648,"altitude":9,"angle":125,"satellites":50,"speed":27,"hex_longitude":"2cc6c980","hex_latitude":"074d9000","is_valid_coordinates":true} 
[2026-09-04 17:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862268928001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398303125158494208,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4127197183397552128,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788524495000,"timestamp_ms":1788524495000,"timestamp_seconds":1788524495,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5e0098"} 
[2026-09-04 17:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 17:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862268928001,"66":27865,"89":206,"85":37632,"24":27,"16":398303125158494208,"44":-4127197183397552128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-04 17:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862268928001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:52:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 17:52:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398303125158494208,"km_value":398303125158494.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:52:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4127197183397552128,"description":"Unknown IO ID 44"} 
[2026-09-04 17:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862268928001,"power":27865,"unknown_89":206,"unknown_85":37632,"ignition":27,"odometer":null,"unknown_44":-4127197183397552128}} 
[2026-09-04 17:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":170890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:52:35] local.INFO: GPS data processed {"connection_id":170890,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:52:35] local.INFO: Acknowledgment sent {"connection_id":170890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:52:47] local.INFO: TCP Data received {"connection_id":171181,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:52:47] local.INFO: Processing buffer {"connection_id":171181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:52:47] local.INFO: IMEI packet received {"connection_id":171181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":171181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:52:48] local.INFO: TCP Data received {"connection_id":171182,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:52:48] local.INFO: Processing buffer {"connection_id":171182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:52:48] local.INFO: IMEI packet received {"connection_id":171182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":171182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:52:53] local.INFO: TCP Data received {"connection_id":171181,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:52:53] local.INFO: Processing buffer {"connection_id":171181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:52:53] local.INFO: IMEI packet received {"connection_id":171181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":171181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:52:53] local.INFO: TCP Data received {"connection_id":171181,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5e1420012d1825c00721b8f0004c002329..."} 
[2026-09-04 17:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5e1420012d1825c00721b8f0004c002329..."} 
[2026-09-04 17:52:53] local.INFO: Processing buffer {"connection_id":171181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5e1420012d1825c00721b8f0004c002329..."} 
[2026-09-04 17:52:53] local.INFO: Packet analysis {"connection_id":171181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:52:53] local.INFO: Extracted packet for processing {"connection_id":171181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:52:53] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":76,"angle":35,"satellites":41,"speed":8,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-09-04 17:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862271488001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17360816156180480,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190674944,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788524500000,"timestamp_ms":1788524500000,"timestamp_seconds":1788524500,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5e1420"} 
[2026-09-04 17:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 17:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862271488001,"66":14243,"105":206,"83":41984,"24":8,"16":17360816156180480,"45":1739656124190674944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862271488001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:52:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:52:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17360816156180480,"km_value":17360816156180.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190674944,"description":"Unknown IO ID 45"} 
[2026-09-04 17:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862271488001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739656124190674944}} 
[2026-09-04 17:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":171181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:52:54] local.INFO: GPS data processed {"connection_id":171181,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:52:54] local.INFO: Acknowledgment sent {"connection_id":171181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:52:56] local.INFO: TCP Data received {"connection_id":171182,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:52:56] local.INFO: Processing buffer {"connection_id":171182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:52:56] local.INFO: IMEI packet received {"connection_id":171182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":171182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:52:57] local.INFO: TCP Data received {"connection_id":171182,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:52:57] local.INFO: Processing buffer {"connection_id":171182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5a5ee8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:52:57] local.INFO: Packet analysis {"connection_id":171182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:52:57] local.INFO: Extracted packet for processing {"connection_id":171182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5a"} 
[2026-09-04 17:52:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862132480001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788524257000,"timestamp_ms":1788524257000,"timestamp_seconds":1788524257,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5a5ee8"} 
[2026-09-04 17:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 17:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862132480001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862132480001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:52:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:52:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862132480001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":171182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:52:58] local.INFO: GPS data processed {"connection_id":171182,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:52:58] local.INFO: Acknowledgment sent {"connection_id":171182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:53:04] local.INFO: TCP Data received {"connection_id":173585,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:53:04] local.INFO: Processing buffer {"connection_id":173585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:53:04] local.INFO: IMEI packet received {"connection_id":173585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":173585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:53:06] local.INFO: TCP Data received {"connection_id":173584,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5e1fd8012d7d548005c7afc0000a00931d..."} 
[2026-09-04 17:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5e1fd8012d7d548005c7afc0000a00931d..."} 
[2026-09-04 17:53:06] local.INFO: Processing buffer {"connection_id":173584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5e1fd8012d7d548005c7afc0000a00931d..."} 
[2026-09-04 17:53:06] local.INFO: Packet analysis {"connection_id":173584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:06] local.INFO: Extracted packet for processing {"connection_id":173584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763188352,"raw_latitude":96972736,"longitude_deg":76.3188352,"latitude_deg":9.6972736,"altitude":10,"angle":147,"satellites":29,"speed":2,"hex_longitude":"2d7d5480","hex_latitude":"05c7afc0","is_valid_coordinates":true} 
[2026-09-04 17:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862269952001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128202080841105408,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030702440121411584,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788524503000,"timestamp_ms":1788524503000,"timestamp_seconds":1788524503,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5e1fd8"} 
[2026-09-04 17:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-04 17:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862269952001,"66":13613,"90":206,"85":12288,"24":2,"16":128202080841105408,"45":9030702440121411584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,45]} 
[2026-09-04 17:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862269952001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:53:06] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-04 17:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128202080841105408,"km_value":128202080841105.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030702440121411584,"description":"Unknown IO ID 45"} 
[2026-09-04 17:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862269952001,"power":13613,"unknown_90":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":9030702440121411584}} 
[2026-09-04 17:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":173584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:53:06] local.INFO: GPS data processed {"connection_id":173584,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:53:06] local.INFO: Acknowledgment sent {"connection_id":173584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:53:07] local.INFO: TCP Data received {"connection_id":173585,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:53:07] local.INFO: Processing buffer {"connection_id":173585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:53:07] local.INFO: IMEI packet received {"connection_id":173585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":173585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:53:08] local.INFO: TCP Data received {"connection_id":173585,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:53:08] local.INFO: Processing buffer {"connection_id":173585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:53:08] local.INFO: IMEI packet received {"connection_id":173585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":173585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:53:10] local.INFO: TCP Data received {"connection_id":173585,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5e2b90012cc6e840074d7cf00009007a33..."} 
[2026-09-04 17:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5e2b90012cc6e840074d7cf00009007a33..."} 
[2026-09-04 17:53:10] local.INFO: Processing buffer {"connection_id":173585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5e2b90012cc6e840074d7cf00009007a33..."} 
[2026-09-04 17:53:10] local.INFO: Packet analysis {"connection_id":173585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:10] local.INFO: Extracted packet for processing {"connection_id":173585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:10] local.INFO: GPS Element Parsed {"raw_longitude":751233088,"raw_latitude":122518768,"longitude_deg":75.1233088,"latitude_deg":12.2518768,"altitude":9,"angle":122,"satellites":51,"speed":37,"hex_longitude":"2cc6e840","hex_latitude":"074d7cf0","is_valid_coordinates":true} 
[2026-09-04 17:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862270720001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398303567540125696,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4122623215026569216,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788524506000,"timestamp_ms":1788524506000,"timestamp_seconds":1788524506,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5e2b90"} 
[2026-09-04 17:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862270720001,"66":27876,"89":206,"85":37632,"24":37,"16":398303567540125696,"44":-4122623215026569216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-04 17:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862270720001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:53:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 17:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398303567540125696,"km_value":398303567540125.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4122623215026569216,"description":"Unknown IO ID 44"} 
[2026-09-04 17:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862270720001,"power":27876,"unknown_89":206,"unknown_85":37632,"ignition":37,"odometer":null,"unknown_44":-4122623215026569216}} 
[2026-09-04 17:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":173585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:53:10] local.INFO: GPS data processed {"connection_id":173585,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:53:10] local.INFO: Acknowledgment sent {"connection_id":173585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:53:14] local.INFO: TCP Data received {"connection_id":173585,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5e52a0012cc70740074d6a800009007830..."} 
[2026-09-04 17:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5e52a0012cc70740074d6a800009007830..."} 
[2026-09-04 17:53:14] local.INFO: Processing buffer {"connection_id":173585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5e52a0012cc70740074d6a800009007830..."} 
[2026-09-04 17:53:14] local.INFO: Packet analysis {"connection_id":173585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:14] local.INFO: Extracted packet for processing {"connection_id":173585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:14] local.INFO: GPS Element Parsed {"raw_longitude":751241024,"raw_latitude":122514048,"longitude_deg":75.1241024,"latitude_deg":12.2514048,"altitude":9,"angle":120,"satellites":48,"speed":31,"hex_longitude":"2cc70740","hex_latitude":"074d6a80","is_valid_coordinates":true} 
[2026-09-04 17:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862273536001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398304005626789888,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4113967859493965824,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788524516000,"timestamp_ms":1788524516000,"timestamp_seconds":1788524516,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5e52a0"} 
[2026-09-04 17:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 17:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862273536001,"66":27908,"89":206,"85":37632,"24":31,"16":398304005626789888,"44":-4113967859493965824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-04 17:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862273536001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:53:14] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 17:53:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398304005626789888,"km_value":398304005626789.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:53:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4113967859493965824,"description":"Unknown IO ID 44"} 
[2026-09-04 17:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862273536001,"power":27908,"unknown_89":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-4113967859493965824}} 
[2026-09-04 17:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":173585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:53:14] local.INFO: GPS data processed {"connection_id":173585,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:53:14] local.INFO: Acknowledgment sent {"connection_id":173585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:53:21] local.INFO: TCP Data received {"connection_id":173586,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:53:21] local.INFO: Processing buffer {"connection_id":173586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:53:21] local.INFO: IMEI packet received {"connection_id":173586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":173586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:53:24] local.INFO: TCP Data received {"connection_id":173586,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:53:24] local.INFO: Processing buffer {"connection_id":173586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:53:24] local.INFO: IMEI packet received {"connection_id":173586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":173586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:53:25] local.INFO: TCP Data received {"connection_id":171181,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5e5688012d1839400721d6c0004e002126..."} 
[2026-09-04 17:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5e5688012d1839400721d6c0004e002126..."} 
[2026-09-04 17:53:25] local.INFO: Processing buffer {"connection_id":171181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5e5688012d1839400721d6c0004e002126..."} 
[2026-09-04 17:53:25] local.INFO: Packet analysis {"connection_id":171181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:25] local.INFO: Extracted packet for processing {"connection_id":171181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:25] local.INFO: GPS Element Parsed {"raw_longitude":756562240,"raw_latitude":119658176,"longitude_deg":75.656224,"latitude_deg":11.9658176,"altitude":78,"angle":33,"satellites":38,"speed":28,"hex_longitude":"2d183940","hex_latitude":"0721d6c0","is_valid_coordinates":true} 
[2026-09-04 17:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862272000001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17361258537811968,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788524517000,"timestamp_ms":1788524517000,"timestamp_seconds":1788524517,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5e5688"} 
[2026-09-04 17:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 17:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862272000001,"66":14243,"105":206,"83":41984,"24":28,"16":17361258537811968,"45":1740007967911636992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862272000001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:53:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:53:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17361258537811968,"km_value":17361258537811.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-09-04 17:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862272000001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-09-04 17:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":171181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:53:25] local.INFO: GPS data processed {"connection_id":171181,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:53:25] local.INFO: Acknowledgment sent {"connection_id":171181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:53:25] local.INFO: TCP Data received {"connection_id":173586,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5e4300012d7d554005c7aed0000a00881e..."} 
[2026-09-04 17:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5e4300012d7d554005c7aed0000a00881e..."} 
[2026-09-04 17:53:25] local.INFO: Processing buffer {"connection_id":173586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5e4300012d7d554005c7aed0000a00881e..."} 
[2026-09-04 17:53:25] local.INFO: Packet analysis {"connection_id":173586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:25] local.INFO: Extracted packet for processing {"connection_id":173586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:25] local.INFO: GPS Element Parsed {"raw_longitude":763188544,"raw_latitude":96972496,"longitude_deg":76.3188544,"latitude_deg":9.6972496,"altitude":10,"angle":136,"satellites":30,"speed":2,"hex_longitude":"2d7d5540","hex_latitude":"05c7aed0","is_valid_coordinates":true} 
[2026-09-04 17:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862272768001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128202098020974592,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030983915098062848,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788524512000,"timestamp_ms":1788524512000,"timestamp_seconds":1788524512,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5e4300"} 
[2026-09-04 17:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-04 17:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862272768001,"66":13472,"90":206,"85":12288,"24":2,"16":128202098020974592,"45":9030983915098062848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,45]} 
[2026-09-04 17:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862272768001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:53:25] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-04 17:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128202098020974592,"km_value":128202098020974.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030983915098062848,"description":"Unknown IO ID 45"} 
[2026-09-04 17:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862272768001,"power":13472,"unknown_90":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":9030983915098062848}} 
[2026-09-04 17:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":173586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:53:25] local.INFO: GPS data processed {"connection_id":173586,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:53:25] local.INFO: Acknowledgment sent {"connection_id":173586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:53:29] local.INFO: TCP Data received {"connection_id":171182,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:53:29] local.INFO: Processing buffer {"connection_id":171182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:53:29] local.INFO: Packet analysis {"connection_id":171182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:29] local.INFO: Extracted packet for processing {"connection_id":171182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:29] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862209792001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788524557000,"timestamp_ms":1788524557000,"timestamp_seconds":1788524557,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ef2c8"} 
[2026-09-04 17:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862209792001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862209792001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:53:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:53:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862209792001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":171182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:53:29] local.INFO: GPS data processed {"connection_id":171182,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:53:29] local.INFO: Acknowledgment sent {"connection_id":171182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:53:49] local.INFO: TCP Data received {"connection_id":170891,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:53:49] local.INFO: Processing buffer {"connection_id":170891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:53:49] local.INFO: IMEI packet received {"connection_id":170891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":170891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:53:51] local.INFO: TCP Data received {"connection_id":172285,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:53:51] local.INFO: Processing buffer {"connection_id":172285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:53:51] local.INFO: IMEI packet received {"connection_id":172285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":172285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:53:52] local.INFO: TCP Data received {"connection_id":172285,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:53:52] local.INFO: Processing buffer {"connection_id":172285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:53:52] local.INFO: IMEI packet received {"connection_id":172285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":172285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:53:54] local.INFO: TCP Data received {"connection_id":170891,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:53:54] local.INFO: Processing buffer {"connection_id":170891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:53:54] local.INFO: IMEI packet received {"connection_id":170891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":170891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:53:55] local.INFO: TCP Data received {"connection_id":170891,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:53:55] local.INFO: Processing buffer {"connection_id":170891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:53:55] local.INFO: Packet analysis {"connection_id":170891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:55] local.INFO: Extracted packet for processing {"connection_id":170891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862209792001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788524557000,"timestamp_ms":1788524557000,"timestamp_seconds":1788524557,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ef2c8"} 
[2026-09-04 17:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862209792001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862209792001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:53:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862209792001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":170891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:53:55] local.INFO: GPS data processed {"connection_id":170891,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:53:55] local.INFO: Acknowledgment sent {"connection_id":170891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:53:56] local.INFO: TCP Data received {"connection_id":173586,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5e9120012d7d568005c7ad40000b00881e..."} 
[2026-09-04 17:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5e9120012d7d568005c7ad40000b00881e..."} 
[2026-09-04 17:53:56] local.INFO: Processing buffer {"connection_id":173586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5e9120012d7d568005c7ad40000b00881e..."} 
[2026-09-04 17:53:56] local.INFO: Packet analysis {"connection_id":173586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:56] local.INFO: Extracted packet for processing {"connection_id":173586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763188864,"raw_latitude":96972096,"longitude_deg":76.3188864,"latitude_deg":9.6972096,"altitude":11,"angle":136,"satellites":30,"speed":0,"hex_longitude":"2d7d5680","hex_latitude":"05c7ad40","is_valid_coordinates":true} 
[2026-09-04 17:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862275072001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128202123790778368,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031195021330534400,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788524532000,"timestamp_ms":1788524532000,"timestamp_seconds":1788524532,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5e9120"} 
[2026-09-04 17:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-04 17:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862275072001,"66":13646,"90":206,"85":12288,"24":0,"16":128202123790778368,"45":9031195021330534400},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,45]} 
[2026-09-04 17:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862275072001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:53:56] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-04 17:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128202123790778368,"km_value":128202123790778.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031195021330534400,"description":"Unknown IO ID 45"} 
[2026-09-04 17:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862275072001,"power":13646,"unknown_90":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9031195021330534400}} 
[2026-09-04 17:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":173586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:53:56] local.INFO: GPS data processed {"connection_id":173586,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:53:56] local.INFO: Acknowledgment sent {"connection_id":173586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:53:58] local.INFO: TCP Data received {"connection_id":172285,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:53:58] local.INFO: Processing buffer {"connection_id":172285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:53:58] local.INFO: IMEI packet received {"connection_id":172285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":172285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:53:58] local.INFO: TCP Data received {"connection_id":172286,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:53:58] local.INFO: Processing buffer {"connection_id":172286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:53:58] local.INFO: IMEI packet received {"connection_id":172286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":172286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:53:58] local.INFO: TCP Data received {"connection_id":172285,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5e8180012d184d400721f4100052002026..."} 
[2026-09-04 17:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5e8180012d184d400721f4100052002026..."} 
[2026-09-04 17:53:58] local.INFO: Processing buffer {"connection_id":172285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5e8180012d184d400721f4100052002026..."} 
[2026-09-04 17:53:58] local.INFO: Packet analysis {"connection_id":172285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:58] local.INFO: Extracted packet for processing {"connection_id":172285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:53:58] local.INFO: GPS Element Parsed {"raw_longitude":756567360,"raw_latitude":119665680,"longitude_deg":75.656736,"latitude_deg":11.966568,"altitude":82,"angle":32,"satellites":38,"speed":35,"hex_longitude":"2d184d40","hex_latitude":"0721f410","is_valid_coordinates":true} 
[2026-09-04 17:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862276352001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17361692329508864,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745496729959448576,"note":"Value kept but may cause issues"} 
[2026-09-04 17:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788524528000,"timestamp_ms":1788524528000,"timestamp_seconds":1788524528,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5e8180"} 
[2026-09-04 17:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 17:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862276352001,"66":13993,"105":206,"83":41984,"24":35,"16":17361692329508864,"45":1745496729959448576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862276352001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:53:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:53:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17361692329508864,"km_value":17361692329508.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745496729959448576,"description":"Unknown IO ID 45"} 
[2026-09-04 17:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862276352001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1745496729959448576}} 
[2026-09-04 17:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":172285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:53:59] local.INFO: GPS data processed {"connection_id":172285,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:53:59] local.INFO: Acknowledgment sent {"connection_id":172285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:54:04] local.INFO: TCP Data received {"connection_id":172286,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:54:04] local.INFO: Processing buffer {"connection_id":172286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:54:04] local.INFO: IMEI packet received {"connection_id":172286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":172286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:54:05] local.INFO: TCP Data received {"connection_id":172286,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5e8568012cc727c0074d5790000a007830..."} 
[2026-09-04 17:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5e8568012cc727c0074d5790000a007830..."} 
[2026-09-04 17:54:05] local.INFO: Processing buffer {"connection_id":172286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5e8568012cc727c0074d5790000a007830..."} 
[2026-09-04 17:54:05] local.INFO: Packet analysis {"connection_id":172286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:54:05] local.INFO: Extracted packet for processing {"connection_id":172286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:54:05] local.INFO: GPS Element Parsed {"raw_longitude":751249344,"raw_latitude":122509200,"longitude_deg":75.1249344,"latitude_deg":12.25092,"altitude":10,"angle":120,"satellites":48,"speed":29,"hex_longitude":"2cc727c0","hex_latitude":"074d5790","is_valid_coordinates":true} 
[2026-09-04 17:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862276096001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398304465188290560,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4105242135217143808,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788524529000,"timestamp_ms":1788524529000,"timestamp_seconds":1788524529,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5e8568"} 
[2026-09-04 17:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 17:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862276096001,"66":27887,"89":206,"85":37632,"24":29,"16":398304465188290560,"44":-4105242135217143808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-04 17:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862276096001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:54:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 17:54:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398304465188290560,"km_value":398304465188290.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:54:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4105242135217143808,"description":"Unknown IO ID 44"} 
[2026-09-04 17:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862276096001,"power":27887,"unknown_89":206,"unknown_85":37632,"ignition":29,"odometer":null,"unknown_44":-4105242135217143808}} 
[2026-09-04 17:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":172286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:54:05] local.INFO: GPS data processed {"connection_id":172286,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:54:05] local.INFO: Acknowledgment sent {"connection_id":172286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:54:21] local.INFO: TCP Data received {"connection_id":171183,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:54:21] local.INFO: Processing buffer {"connection_id":171183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:54:21] local.INFO: IMEI packet received {"connection_id":171183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":171183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:54:23] local.INFO: TCP Data received {"connection_id":171183,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:54:23] local.INFO: Processing buffer {"connection_id":171183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:54:23] local.INFO: IMEI packet received {"connection_id":171183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":171183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:54:26] local.INFO: TCP Data received {"connection_id":171183,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:54:26] local.INFO: Processing buffer {"connection_id":171183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:54:26] local.INFO: IMEI packet received {"connection_id":171183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":171183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:54:27] local.INFO: TCP Data received {"connection_id":170891,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:54:27] local.INFO: Processing buffer {"connection_id":170891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:54:27] local.INFO: Packet analysis {"connection_id":170891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:54:27] local.INFO: Extracted packet for processing {"connection_id":170891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:54:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862209792001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524557000,"timestamp_ms":1788524557000,"timestamp_seconds":1788524557,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ef2c8"} 
[2026-09-04 17:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862209792001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862209792001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:54:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:54:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862209792001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":170891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:54:27] local.INFO: GPS data processed {"connection_id":170891,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:54:27] local.INFO: Acknowledgment sent {"connection_id":170891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:54:27] local.INFO: TCP Data received {"connection_id":171183,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c603ed0012d7e62c005c6d5f80007007d21..."} 
[2026-09-04 17:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c603ed0012d7e62c005c6d5f80007007d21..."} 
[2026-09-04 17:54:27] local.INFO: Processing buffer {"connection_id":171183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c603ed0012d7e62c005c6d5f80007007d21..."} 
[2026-09-04 17:54:27] local.INFO: Packet analysis {"connection_id":171183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:54:27] local.INFO: Extracted packet for processing {"connection_id":171183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763257536,"raw_latitude":96916984,"longitude_deg":76.3257536,"latitude_deg":9.6916984,"altitude":7,"angle":125,"satellites":33,"speed":55,"hex_longitude":"2d7e62c0","hex_latitude":"05c6d5f8","is_valid_coordinates":true} 
[2026-09-04 17:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862306560001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 17:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128206384398336000,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098115697030735872,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 17:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524642000,"timestamp_ms":1788524642000,"timestamp_seconds":1788524642,"priority":1,"record_length":96,"hex_timestamp":"000001a06c603ed0"} 
[2026-09-04 17:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 17:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862306560001,"66":13559,"200":0,"85":12288,"24":55,"16":128206384398336000,"45":9098115697030735872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-04 17:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862306560001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:54:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128206384398336000,"km_value":128206384398336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098115697030735872,"description":"Unknown IO ID 45"} 
[2026-09-04 17:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862306560001,"power":13559,"gsm_signal":0,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":9098115697030735872}} 
[2026-09-04 17:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":171183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:54:27] local.INFO: GPS data processed {"connection_id":171183,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:54:27] local.INFO: Acknowledgment sent {"connection_id":171183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:54:30] local.INFO: TCP Data received {"connection_id":172285,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ea890012d186280072212e80055002125..."} 
[2026-09-04 17:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ea890012d186280072212e80055002125..."} 
[2026-09-04 17:54:30] local.INFO: Processing buffer {"connection_id":172285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ea890012d186280072212e80055002125..."} 
[2026-09-04 17:54:30] local.INFO: Packet analysis {"connection_id":172285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:54:30] local.INFO: Extracted packet for processing {"connection_id":172285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:54:30] local.INFO: GPS Element Parsed {"raw_longitude":756572800,"raw_latitude":119673576,"longitude_deg":75.65728,"latitude_deg":11.9673576,"altitude":85,"angle":33,"satellites":37,"speed":38,"hex_longitude":"2d186280","hex_latitude":"072212e8","is_valid_coordinates":true} 
[2026-09-04 17:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862279168001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17362156185976832,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751126229495582720,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788524538000,"timestamp_ms":1788524538000,"timestamp_seconds":1788524538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ea890"} 
[2026-09-04 17:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 17:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862279168001,"66":14070,"105":206,"83":41984,"24":38,"16":17362156185976832,"45":1751126229495582720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862279168001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:54:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:54:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17362156185976832,"km_value":17362156185976.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751126229495582720,"description":"Unknown IO ID 45"} 
[2026-09-04 17:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862279168001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1751126229495582720}} 
[2026-09-04 17:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":172285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:54:30] local.INFO: GPS data processed {"connection_id":172285,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:54:30] local.INFO: Acknowledgment sent {"connection_id":172285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:54:35] local.INFO: TCP Data received {"connection_id":172286,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ebc18012cc74700074d4588000b007931..."} 
[2026-09-04 17:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ebc18012cc74700074d4588000b007931..."} 
[2026-09-04 17:54:35] local.INFO: Processing buffer {"connection_id":172286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ebc18012cc74700074d4588000b007931..."} 
[2026-09-04 17:54:35] local.INFO: Packet analysis {"connection_id":172286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:54:35] local.INFO: Extracted packet for processing {"connection_id":172286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:54:35] local.INFO: GPS Element Parsed {"raw_longitude":751257344,"raw_latitude":122504584,"longitude_deg":75.1257344,"latitude_deg":12.2504584,"altitude":11,"angle":121,"satellites":49,"speed":22,"hex_longitude":"2cc74700","hex_latitude":"074d4588","is_valid_coordinates":true} 
[2026-09-04 17:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862279424001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398304907569922048,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4096094198475288576,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788524543000,"timestamp_ms":1788524543000,"timestamp_seconds":1788524543,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ebc18"} 
[2026-09-04 17:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 17:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862279424001,"66":27800,"89":206,"85":37632,"24":22,"16":398304907569922048,"44":-4096094198475288576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-04 17:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862279424001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:54:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 17:54:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398304907569922048,"km_value":398304907569922.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4096094198475288576,"description":"Unknown IO ID 44"} 
[2026-09-04 17:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862279424001,"power":27800,"unknown_89":206,"unknown_85":37632,"ignition":22,"odometer":null,"unknown_44":-4096094198475288576}} 
[2026-09-04 17:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":172286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:54:35] local.INFO: GPS data processed {"connection_id":172286,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:54:35] local.INFO: Acknowledgment sent {"connection_id":172286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:54:48] local.INFO: TCP Data received {"connection_id":173587,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:54:48] local.INFO: Processing buffer {"connection_id":173587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:54:48] local.INFO: IMEI packet received {"connection_id":173587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":173587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:54:48] local.INFO: TCP Data received {"connection_id":170892,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:54:48] local.INFO: Processing buffer {"connection_id":170892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:54:48] local.INFO: IMEI packet received {"connection_id":170892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":170892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:54:52] local.INFO: TCP Data received {"connection_id":173587,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:54:52] local.INFO: Processing buffer {"connection_id":173587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:54:52] local.INFO: IMEI packet received {"connection_id":173587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":173587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:54:53] local.INFO: TCP Data received {"connection_id":173587,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ecfa0012d187700072231680059001f26..."} 
[2026-09-04 17:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ecfa0012d187700072231680059001f26..."} 
[2026-09-04 17:54:53] local.INFO: Processing buffer {"connection_id":173587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ecfa0012d187700072231680059001f26..."} 
[2026-09-04 17:54:53] local.INFO: Packet analysis {"connection_id":173587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:54:53] local.INFO: Extracted packet for processing {"connection_id":173587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:54:53] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119681384,"longitude_deg":75.6578048,"latitude_deg":11.9681384,"altitude":89,"angle":31,"satellites":38,"speed":37,"hex_longitude":"2d187700","hex_latitude":"07223168","is_valid_coordinates":true} 
[2026-09-04 17:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862281728001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17362607157542912,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757107572752705536,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788524548000,"timestamp_ms":1788524548000,"timestamp_seconds":1788524548,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ecfa0"} 
[2026-09-04 17:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-04 17:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862281728001,"66":12982,"105":206,"83":41984,"24":37,"16":17362607157542912,"45":1757107572752705536},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862281728001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:54:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:54:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17362607157542912,"km_value":17362607157542.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757107572752705536,"description":"Unknown IO ID 45"} 
[2026-09-04 17:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862281728001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1757107572752705536}} 
[2026-09-04 17:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":173587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:54:53] local.INFO: GPS data processed {"connection_id":173587,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:54:53] local.INFO: Acknowledgment sent {"connection_id":173587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:54:54] local.INFO: TCP Data received {"connection_id":170892,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:54:54] local.INFO: Processing buffer {"connection_id":170892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:54:54] local.INFO: IMEI packet received {"connection_id":170892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":170892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:54:55] local.INFO: TCP Data received {"connection_id":170892,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:54:55] local.INFO: Processing buffer {"connection_id":170892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:54:55] local.INFO: Packet analysis {"connection_id":170892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:54:55] local.INFO: Extracted packet for processing {"connection_id":170892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862209792001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788524557000,"timestamp_ms":1788524557000,"timestamp_seconds":1788524557,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ef2c8"} 
[2026-09-04 17:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862209792001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862209792001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:54:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:54:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862209792001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":170892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:54:55] local.INFO: GPS data processed {"connection_id":170892,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:54:55] local.INFO: Acknowledgment sent {"connection_id":170892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:54:58] local.INFO: TCP Data received {"connection_id":171183,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c605a28012d7e834005c6bf280008007c22..."} 
[2026-09-04 17:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c605a28012d7e834005c6bf280008007c22..."} 
[2026-09-04 17:54:58] local.INFO: Processing buffer {"connection_id":171183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c605a28012d7e834005c6bf280008007c22..."} 
[2026-09-04 17:54:58] local.INFO: Packet analysis {"connection_id":171183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:54:58] local.INFO: Extracted packet for processing {"connection_id":171183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:54:58] local.INFO: GPS Element Parsed {"raw_longitude":763265856,"raw_latitude":96911144,"longitude_deg":76.3265856,"latitude_deg":9.6911144,"altitude":8,"angle":124,"satellites":34,"speed":59,"hex_longitude":"2d7e8340","hex_latitude":"05c6bf28","is_valid_coordinates":true} 
[2026-09-04 17:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862308352001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 17:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128206869729640448,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107052527539845120,"note":"Value kept but may cause issues"} 
[2026-09-04 17:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 17:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788524649000,"timestamp_ms":1788524649000,"timestamp_seconds":1788524649,"priority":1,"record_length":96,"hex_timestamp":"000001a06c605a28"} 
[2026-09-04 17:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-04 17:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862308352001,"66":13515,"200":0,"85":12288,"24":59,"16":128206869729640448,"45":9107052527539845120},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-04 17:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862308352001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:54:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128206869729640448,"km_value":128206869729640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107052527539845120,"description":"Unknown IO ID 45"} 
[2026-09-04 17:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862308352001,"power":13515,"gsm_signal":0,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":9107052527539845120}} 
[2026-09-04 17:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":171183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:54:58] local.INFO: GPS data processed {"connection_id":171183,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:54:58] local.INFO: Acknowledgment sent {"connection_id":171183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:54:58] local.INFO: TCP Data received {"connection_id":172287,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:54:58] local.INFO: Processing buffer {"connection_id":172287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:54:58] local.INFO: IMEI packet received {"connection_id":172287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":172287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:54:59] local.INFO: TCP Data received {"connection_id":172287,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:54:59] local.INFO: Processing buffer {"connection_id":172287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:54:59] local.INFO: IMEI packet received {"connection_id":172287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":172287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:55:04] local.INFO: TCP Data received {"connection_id":172287,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:55:04] local.INFO: Processing buffer {"connection_id":172287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:55:04] local.INFO: IMEI packet received {"connection_id":172287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":172287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:55:04] local.INFO: TCP Data received {"connection_id":172287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c603700012cc87180074cf118000e009232..."} 
[2026-09-04 17:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c603700012cc87180074cf118000e009232..."} 
[2026-09-04 17:55:04] local.INFO: Processing buffer {"connection_id":172287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c603700012cc87180074cf118000e009232..."} 
[2026-09-04 17:55:04] local.INFO: Packet analysis {"connection_id":172287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:55:04] local.INFO: Extracted packet for processing {"connection_id":172287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:55:04] local.INFO: GPS Element Parsed {"raw_longitude":751333760,"raw_latitude":122482968,"longitude_deg":75.133376,"latitude_deg":12.2482968,"altitude":14,"angle":146,"satellites":50,"speed":56,"hex_longitude":"2cc87180","hex_latitude":"074cf118","is_valid_coordinates":true} 
[2026-09-04 17:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862306304001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398308884709638144,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4009470274397634560,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788524640000,"timestamp_ms":1788524640000,"timestamp_seconds":1788524640,"priority":1,"record_length":96,"hex_timestamp":"000001a06c603700"} 
[2026-09-04 17:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-04 17:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862306304001,"66":27919,"161":206,"85":37632,"24":56,"16":398308884709638144,"44":-4009470274397634560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-04 17:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862306304001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:55:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-04 17:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398308884709638144,"km_value":398308884709638.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:55:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4009470274397634560,"description":"Unknown IO ID 44"} 
[2026-09-04 17:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862306304001,"power":27919,"unknown_161":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-4009470274397634560}} 
[2026-09-04 17:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":172287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:55:04] local.INFO: GPS data processed {"connection_id":172287,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:55:04] local.INFO: Acknowledgment sent {"connection_id":172287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:55:21] local.INFO: TCP Data received {"connection_id":171184,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:55:21] local.INFO: Processing buffer {"connection_id":171184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:55:21] local.INFO: IMEI packet received {"connection_id":171184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":171184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:55:24] local.INFO: TCP Data received {"connection_id":173587,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ef6b0012d188b0007224f98005d002121..."} 
[2026-09-04 17:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ef6b0012d188b0007224f98005d002121..."} 
[2026-09-04 17:55:24] local.INFO: Processing buffer {"connection_id":173587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ef6b0012d188b0007224f98005d002121..."} 
[2026-09-04 17:55:24] local.INFO: Packet analysis {"connection_id":173587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:55:24] local.INFO: Extracted packet for processing {"connection_id":173587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:55:24] local.INFO: GPS Element Parsed {"raw_longitude":756583168,"raw_latitude":119689112,"longitude_deg":75.6583168,"latitude_deg":11.9689112,"altitude":93,"angle":33,"satellites":33,"speed":35,"hex_longitude":"2d188b00","hex_latitude":"07224f98","is_valid_coordinates":true} 
[2026-09-04 17:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862284288001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17363053834141696,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809777272832,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788524558000,"timestamp_ms":1788524558000,"timestamp_seconds":1788524558,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ef6b0"} 
[2026-09-04 17:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-04 17:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862284288001,"66":12819,"105":206,"83":41984,"24":35,"16":17363053834141696,"45":1762877809777272832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862284288001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:55:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:55:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17363053834141696,"km_value":17363053834141.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809777272832,"description":"Unknown IO ID 45"} 
[2026-09-04 17:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862284288001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1762877809777272832}} 
[2026-09-04 17:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":173587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:55:24] local.INFO: GPS data processed {"connection_id":173587,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:55:24] local.INFO: Acknowledgment sent {"connection_id":173587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:55:26] local.INFO: TCP Data received {"connection_id":171184,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:55:26] local.INFO: Processing buffer {"connection_id":171184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:55:26] local.INFO: IMEI packet received {"connection_id":171184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":171184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:55:27] local.INFO: TCP Data received {"connection_id":170892,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:55:27] local.INFO: Processing buffer {"connection_id":170892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:55:27] local.INFO: Packet analysis {"connection_id":170892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:55:27] local.INFO: Extracted packet for processing {"connection_id":170892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:55:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862209792001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524557000,"timestamp_ms":1788524557000,"timestamp_seconds":1788524557,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ef2c8"} 
[2026-09-04 17:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862209792001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862209792001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:55:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:55:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862209792001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":170892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:55:27] local.INFO: GPS data processed {"connection_id":170892,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:55:27] local.INFO: Acknowledgment sent {"connection_id":170892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:55:27] local.INFO: TCP Data received {"connection_id":171184,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c607198012d7ea00005c6ab280008007b20..."} 
[2026-09-04 17:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c607198012d7ea00005c6ab280008007b20..."} 
[2026-09-04 17:55:27] local.INFO: Processing buffer {"connection_id":171184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c607198012d7ea00005c6ab280008007b20..."} 
[2026-09-04 17:55:27] local.INFO: Packet analysis {"connection_id":171184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:55:27] local.INFO: Extracted packet for processing {"connection_id":171184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763273216,"raw_latitude":96906024,"longitude_deg":76.3273216,"latitude_deg":9.6906024,"altitude":8,"angle":123,"satellites":32,"speed":59,"hex_longitude":"2d7ea000","hex_latitude":"05c6ab28","is_valid_coordinates":true} 
[2026-09-04 17:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862310144001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 17:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128207299226370048,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116200464281446400,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 17:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524655000,"timestamp_ms":1788524655000,"timestamp_seconds":1788524655,"priority":1,"record_length":96,"hex_timestamp":"000001a06c607198"} 
[2026-09-04 17:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-04 17:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862310144001,"66":13493,"200":0,"85":12288,"24":59,"16":128207299226370048,"45":9116200464281446400},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-04 17:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862310144001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128207299226370048,"km_value":128207299226370.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116200464281446400,"description":"Unknown IO ID 45"} 
[2026-09-04 17:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862310144001,"power":13493,"gsm_signal":0,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":9116200464281446400}} 
[2026-09-04 17:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":171184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:55:27] local.INFO: GPS data processed {"connection_id":171184,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:55:27] local.INFO: Acknowledgment sent {"connection_id":171184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:55:37] local.INFO: TCP Data received {"connection_id":172287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c605258012cc883c0074cd060000d009c32..."} 
[2026-09-04 17:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c605258012cc883c0074cd060000d009c32..."} 
[2026-09-04 17:55:37] local.INFO: Processing buffer {"connection_id":172287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c605258012cc883c0074cd060000d009c32..."} 
[2026-09-04 17:55:37] local.INFO: Packet analysis {"connection_id":172287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:55:37] local.INFO: Extracted packet for processing {"connection_id":172287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:55:37] local.INFO: GPS Element Parsed {"raw_longitude":751338432,"raw_latitude":122474592,"longitude_deg":75.1338432,"latitude_deg":12.2474592,"altitude":13,"angle":156,"satellites":50,"speed":52,"hex_longitude":"2cc883c0","hex_latitude":"074cd060","is_valid_coordinates":true} 
[2026-09-04 17:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862307840001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398309348566106112,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4003277824911665152,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788524647000,"timestamp_ms":1788524647000,"timestamp_seconds":1788524647,"priority":1,"record_length":96,"hex_timestamp":"000001a06c605258"} 
[2026-09-04 17:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 17:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862307840001,"66":27865,"161":206,"85":37632,"24":52,"16":398309348566106112,"44":-4003277824911665152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-04 17:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862307840001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:55:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-04 17:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398309348566106112,"km_value":398309348566106.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:55:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4003277824911665152,"description":"Unknown IO ID 44"} 
[2026-09-04 17:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862307840001,"power":27865,"unknown_161":206,"unknown_85":37632,"ignition":52,"odometer":null,"unknown_44":-4003277824911665152}} 
[2026-09-04 17:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":172287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:55:37] local.INFO: GPS data processed {"connection_id":172287,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:55:37] local.INFO: Acknowledgment sent {"connection_id":172287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:55:48] local.INFO: TCP Data received {"connection_id":171185,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:55:48] local.INFO: Processing buffer {"connection_id":171185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:55:48] local.INFO: IMEI packet received {"connection_id":171185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":171185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:55:48] local.INFO: TCP Data received {"connection_id":170893,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:55:48] local.INFO: Processing buffer {"connection_id":170893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:55:48] local.INFO: IMEI packet received {"connection_id":170893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":170893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:55:48] local.INFO: TCP Data received {"connection_id":171185,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:55:48] local.INFO: Processing buffer {"connection_id":171185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:55:48] local.INFO: IMEI packet received {"connection_id":171185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":171185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:55:53] local.INFO: TCP Data received {"connection_id":171185,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:55:53] local.INFO: Processing buffer {"connection_id":171185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:55:53] local.INFO: IMEI packet received {"connection_id":171185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":171185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:55:53] local.INFO: TCP Data received {"connection_id":171185,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5f1dc0012d189ac0072268900063001624..."} 
[2026-09-04 17:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5f1dc0012d189ac0072268900063001624..."} 
[2026-09-04 17:55:53] local.INFO: Processing buffer {"connection_id":171185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5f1dc0012d189ac0072268900063001624..."} 
[2026-09-04 17:55:53] local.INFO: Packet analysis {"connection_id":171185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5f"} 
[2026-09-04 17:55:53] local.INFO: Extracted packet for processing {"connection_id":171185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5f"} 
[2026-09-04 17:55:53] local.INFO: GPS Element Parsed {"raw_longitude":756587200,"raw_latitude":119695504,"longitude_deg":75.65872,"latitude_deg":11.9695504,"altitude":99,"angle":22,"satellites":36,"speed":17,"hex_longitude":"2d189ac0","hex_latitude":"07226890","is_valid_coordinates":true} 
[2026-09-04 17:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862286848001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17363418906361856,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768507309313464320,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788524568000,"timestamp_ms":1788524568000,"timestamp_seconds":1788524568,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5f1dc0"} 
[2026-09-04 17:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":24,"raw_value":21392455366607360,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3221692856,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503864531943424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":108,"raw_value":6774680482011948032,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3602907214,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562538579525888,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182234004586752,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-5115863319780995501,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2912026624,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429480894008935719,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195373312,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84750508740780471,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:53] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,105,83,24,241,157,16,175,160,207,45,49,89,38,10,66,168,128,18,85,37,174,129,64,1,240,169,227,108,33,4,113,205,28,20,41,239,55,2,61,7,76,5,164,141,69,152],"length":625,"final_offset":755,"validated_count":47,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-04 17:55:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6701392671147229184,"timestamp_seconds":6701392671147229.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 17:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862286848001,"66":12743,"105":206,"83":41984,"24":17,"16":17363418906361856,"45":1768507309313464320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862286848001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:55:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:55:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17363418906361856,"km_value":17363418906361.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768507309313464320,"description":"Unknown IO ID 45"} 
[2026-09-04 17:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862286848001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1768507309313464320}} 
[2026-09-04 17:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":171185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:55:54] local.INFO: GPS data processed {"connection_id":171185,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:55:54] local.INFO: Acknowledgment sent {"connection_id":171185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:55:54] local.INFO: TCP Data received {"connection_id":170893,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:55:54] local.INFO: Processing buffer {"connection_id":170893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:55:54] local.INFO: IMEI packet received {"connection_id":170893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":170893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:55:55] local.INFO: TCP Data received {"connection_id":170893,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:55:55] local.INFO: Processing buffer {"connection_id":170893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:55:55] local.INFO: Packet analysis {"connection_id":170893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:55:55] local.INFO: Extracted packet for processing {"connection_id":170893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:55:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862209792001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788524557000,"timestamp_ms":1788524557000,"timestamp_seconds":1788524557,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ef2c8"} 
[2026-09-04 17:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862209792001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862209792001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:55:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862209792001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":170893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:55:55] local.INFO: GPS data processed {"connection_id":170893,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:55:55] local.INFO: Acknowledgment sent {"connection_id":170893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:55:58] local.INFO: TCP Data received {"connection_id":171184,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c608cf0012d7ec14005c696500008007c21..."} 
[2026-09-04 17:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c608cf0012d7ec14005c696500008007c21..."} 
[2026-09-04 17:55:58] local.INFO: Processing buffer {"connection_id":171184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c608cf0012d7ec14005c696500008007c21..."} 
[2026-09-04 17:55:58] local.INFO: Packet analysis {"connection_id":171184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:55:58] local.INFO: Extracted packet for processing {"connection_id":171184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763281728,"raw_latitude":96900688,"longitude_deg":76.3281728,"latitude_deg":9.6900688,"altitude":8,"angle":124,"satellites":33,"speed":53,"hex_longitude":"2d7ec140","hex_latitude":"05c69650","is_valid_coordinates":true} 
[2026-09-04 17:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862311680001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 17:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128207780262707200,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124292869860567040,"note":"Value kept but may cause issues"} 
[2026-09-04 17:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 17:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788524662000,"timestamp_ms":1788524662000,"timestamp_seconds":1788524662,"priority":1,"record_length":96,"hex_timestamp":"000001a06c608cf0"} 
[2026-09-04 17:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-04 17:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862311680001,"66":13765,"200":0,"85":12288,"24":53,"16":128207780262707200,"45":9124292869860567040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-04 17:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862311680001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:55:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128207780262707200,"km_value":128207780262707.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124292869860567040,"description":"Unknown IO ID 45"} 
[2026-09-04 17:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862311680001,"power":13765,"gsm_signal":0,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":9124292869860567040}} 
[2026-09-04 17:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":171184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:55:58] local.INFO: GPS data processed {"connection_id":171184,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:55:58] local.INFO: Acknowledgment sent {"connection_id":171184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:56:04] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:56:04] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:56:04] local.INFO: IMEI packet received {"connection_id":173588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":173588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:56:09] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:56:09] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:56:09] local.INFO: IMEI packet received {"connection_id":173588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":173588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:56:09] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c606db0012cc890c0074caeb8000c009f32..."} 
[2026-09-04 17:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c606db0012cc890c0074caeb8000c009f32..."} 
[2026-09-04 17:56:09] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c606db0012cc890c0074caeb8000c009f32..."} 
[2026-09-04 17:56:09] local.INFO: Packet analysis {"connection_id":173588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:56:09] local.INFO: Extracted packet for processing {"connection_id":173588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:56:09] local.INFO: GPS Element Parsed {"raw_longitude":751341760,"raw_latitude":122465976,"longitude_deg":75.134176,"latitude_deg":12.2465976,"altitude":12,"angle":159,"satellites":50,"speed":55,"hex_longitude":"2cc890c0","hex_latitude":"074caeb8","is_valid_coordinates":true} 
[2026-09-04 17:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862309632001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398309795242704896,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3998140906588839936,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788524654000,"timestamp_ms":1788524654000,"timestamp_seconds":1788524654,"priority":1,"record_length":96,"hex_timestamp":"000001a06c606db0"} 
[2026-09-04 17:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 17:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862309632001,"66":27821,"161":206,"85":37632,"24":55,"16":398309795242704896,"44":-3998140906588839936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-04 17:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862309632001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:56:09] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-04 17:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398309795242704896,"km_value":398309795242704.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:56:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3998140906588839936,"description":"Unknown IO ID 44"} 
[2026-09-04 17:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862309632001,"power":27821,"unknown_161":206,"unknown_85":37632,"ignition":55,"odometer":null,"unknown_44":-3998140906588839936}} 
[2026-09-04 17:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":173588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:56:09] local.INFO: GPS data processed {"connection_id":173588,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:56:09] local.INFO: Acknowledgment sent {"connection_id":173588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:56:14] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06c608908012cc89f80074c8a10000c009e30..."} 
[2026-09-04 17:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c608908012cc89f80074c8a10000c009e30..."} 
[2026-09-04 17:56:14] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c608908012cc89f80074c8a10000c009e30..."} 
[2026-09-04 17:56:14] local.INFO: Packet analysis {"connection_id":173588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:56:14] local.INFO: Extracted packet for processing {"connection_id":173588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:56:14] local.INFO: GPS Element Parsed {"raw_longitude":751345536,"raw_latitude":122456592,"longitude_deg":75.1345536,"latitude_deg":12.2456592,"altitude":12,"angle":158,"satellites":48,"speed":59,"hex_longitude":"2cc89f80","hex_latitude":"074c8a10","is_valid_coordinates":true} 
[2026-09-04 17:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862311424001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398310284868976640,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3994481731893807104,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788524661000,"timestamp_ms":1788524661000,"timestamp_seconds":1788524661,"priority":1,"record_length":96,"hex_timestamp":"000001a06c608908"} 
[2026-09-04 17:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862311424001,"66":27800,"161":206,"85":37632,"24":59,"16":398310284868976640,"44":-3994481731893807104},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-04 17:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862311424001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:56:14] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-04 17:56:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398310284868976640,"km_value":398310284868976.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:56:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3994481731893807104,"description":"Unknown IO ID 44"} 
[2026-09-04 17:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862311424001,"power":27800,"unknown_161":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3994481731893807104}} 
[2026-09-04 17:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":173588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:56:14] local.INFO: GPS data processed {"connection_id":173588,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:56:14] local.INFO: Acknowledgment sent {"connection_id":173588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:56:21] local.INFO: TCP Data received {"connection_id":172288,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:56:21] local.INFO: Processing buffer {"connection_id":172288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:56:21] local.INFO: IMEI packet received {"connection_id":172288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":172288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:56:25] local.INFO: TCP Data received {"connection_id":171185,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c618308012d189d0007226ae0006a00c02a..."} 
[2026-09-04 17:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c618308012d189d0007226ae0006a00c02a..."} 
[2026-09-04 17:56:25] local.INFO: Processing buffer {"connection_id":171185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c618308012d189d0007226ae0006a00c02a..."} 
[2026-09-04 17:56:25] local.INFO: Packet analysis {"connection_id":171185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c61"} 
[2026-09-04 17:56:25] local.INFO: Extracted packet for processing {"connection_id":171185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c61"} 
[2026-09-04 17:56:25] local.INFO: GPS Element Parsed {"raw_longitude":756587776,"raw_latitude":119696096,"longitude_deg":75.6587776,"latitude_deg":11.9696096,"altitude":106,"angle":192,"satellites":42,"speed":5,"hex_longitude":"2d189d00","hex_latitude":"07226ae0","is_valid_coordinates":true} 
[2026-09-04 17:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862329344001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17363603589955584,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773573858896072704,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788524725000,"timestamp_ms":1788524725000,"timestamp_seconds":1788524725,"priority":1,"record_length":96,"hex_timestamp":"000001a06c618308"} 
[2026-09-04 17:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 17:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862329344001,"66":12385,"105":206,"83":41984,"24":5,"16":17363603589955584,"45":1773573858896072704},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862329344001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:56:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:56:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17363603589955584,"km_value":17363603589955.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773573858896072704,"description":"Unknown IO ID 45"} 
[2026-09-04 17:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862329344001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1773573858896072704}} 
[2026-09-04 17:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":171185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:56:25] local.INFO: GPS data processed {"connection_id":171185,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:56:25] local.INFO: Acknowledgment sent {"connection_id":171185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:56:26] local.INFO: TCP Data received {"connection_id":172288,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:56:26] local.INFO: Processing buffer {"connection_id":172288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:56:26] local.INFO: IMEI packet received {"connection_id":172288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":172288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:56:27] local.INFO: TCP Data received {"connection_id":172288,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c60ac30012d7edf0005c682480008007622..."} 
[2026-09-04 17:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c60ac30012d7edf0005c682480008007622..."} 
[2026-09-04 17:56:27] local.INFO: Processing buffer {"connection_id":172288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c60ac30012d7edf0005c682480008007622..."} 
[2026-09-04 17:56:27] local.INFO: Packet analysis {"connection_id":172288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:56:27] local.INFO: Extracted packet for processing {"connection_id":172288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763289344,"raw_latitude":96895560,"longitude_deg":76.3289344,"latitude_deg":9.689556,"altitude":8,"angle":118,"satellites":34,"speed":33,"hex_longitude":"2d7edf00","hex_latitude":"05c68248","is_valid_coordinates":true} 
[2026-09-04 17:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862313472001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 17:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128208235529240576,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133651912834830336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 17:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524670000,"timestamp_ms":1788524670000,"timestamp_seconds":1788524670,"priority":1,"record_length":96,"hex_timestamp":"000001a06c60ac30"} 
[2026-09-04 17:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-04 17:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862313472001,"66":13624,"200":0,"85":12288,"24":33,"16":128208235529240576,"45":9133651912834830336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-04 17:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862313472001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128208235529240576,"km_value":128208235529240.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133651912834830336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862313472001,"power":13624,"gsm_signal":0,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9133651912834830336}} 
[2026-09-04 17:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":172288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:56:27] local.INFO: GPS data processed {"connection_id":172288,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:56:27] local.INFO: Acknowledgment sent {"connection_id":172288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:56:29] local.INFO: TCP Data received {"connection_id":170893,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:56:29] local.INFO: Processing buffer {"connection_id":170893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:56:29] local.INFO: Packet analysis {"connection_id":170893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:56:29] local.INFO: Extracted packet for processing {"connection_id":170893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:56:29] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862209792001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788524557000,"timestamp_ms":1788524557000,"timestamp_seconds":1788524557,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ef2c8"} 
[2026-09-04 17:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":170893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":170893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":170893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862209792001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862209792001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:56:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:56:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862209792001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":170893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764107,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:56:29] local.INFO: GPS data processed {"connection_id":170893,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:56:29] local.INFO: Acknowledgment sent {"connection_id":170893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:56:47] local.INFO: TCP Data received {"connection_id":172289,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:56:47] local.INFO: Processing buffer {"connection_id":172289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:56:47] local.INFO: IMEI packet received {"connection_id":172289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":172289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:56:53] local.INFO: TCP Data received {"connection_id":172289,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:56:53] local.INFO: Processing buffer {"connection_id":172289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:56:53] local.INFO: IMEI packet received {"connection_id":172289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":172289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:56:54] local.INFO: TCP Data received {"connection_id":172289,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c61a248012d18984007226018006a00cf2a..."} 
[2026-09-04 17:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c61a248012d18984007226018006a00cf2a..."} 
[2026-09-04 17:56:54] local.INFO: Processing buffer {"connection_id":172289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c61a248012d18984007226018006a00cf2a..."} 
[2026-09-04 17:56:54] local.INFO: Packet analysis {"connection_id":172289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c61"} 
[2026-09-04 17:56:54] local.INFO: Extracted packet for processing {"connection_id":172289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c61"} 
[2026-09-04 17:56:54] local.INFO: GPS Element Parsed {"raw_longitude":756586560,"raw_latitude":119693336,"longitude_deg":75.658656,"latitude_deg":11.9693336,"altitude":106,"angle":207,"satellites":42,"speed":27,"hex_longitude":"2d189840","hex_latitude":"07226018","is_valid_coordinates":true} 
[2026-09-04 17:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862329600001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17363749618843648,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773573858896044032,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788524733000,"timestamp_ms":1788524733000,"timestamp_seconds":1788524733,"priority":1,"record_length":96,"hex_timestamp":"000001a06c61a248"} 
[2026-09-04 17:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 17:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862329600001,"66":12776,"105":206,"83":41984,"24":27,"16":17363749618843648,"45":1773573858896044032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862329600001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:56:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:56:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17363749618843648,"km_value":17363749618843.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773573858896044032,"description":"Unknown IO ID 45"} 
[2026-09-04 17:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862329600001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1773573858896044032}} 
[2026-09-04 17:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":172289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:56:54] local.INFO: GPS data processed {"connection_id":172289,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:56:54] local.INFO: Acknowledgment sent {"connection_id":172289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:56:54] local.INFO: TCP Data received {"connection_id":170894,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:56:54] local.INFO: Processing buffer {"connection_id":170894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:56:54] local.INFO: IMEI packet received {"connection_id":170894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":170894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:56:58] local.INFO: TCP Data received {"connection_id":172288,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c62abe8012d7f374005c61f08000900d71f..."} 
[2026-09-04 17:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c62abe8012d7f374005c61f08000900d71f..."} 
[2026-09-04 17:56:58] local.INFO: Processing buffer {"connection_id":172288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c62abe8012d7f374005c61f08000900d71f..."} 
[2026-09-04 17:56:58] local.INFO: Packet analysis {"connection_id":172288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c62"} 
[2026-09-04 17:56:58] local.INFO: Extracted packet for processing {"connection_id":172288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c62"} 
[2026-09-04 17:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763311936,"raw_latitude":96870152,"longitude_deg":76.3311936,"latitude_deg":9.6870152,"altitude":9,"angle":215,"satellites":31,"speed":4,"hex_longitude":"2d7f3740","hex_latitude":"05c61f08","is_valid_coordinates":true} 
[2026-09-04 17:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862348800001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128209927746355200,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166936328823076864,"note":"Value kept but may cause issues"} 
[2026-09-04 17:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788524801000,"timestamp_ms":1788524801000,"timestamp_seconds":1788524801,"priority":1,"record_length":96,"hex_timestamp":"000001a06c62abe8"} 
[2026-09-04 17:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-04 17:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862348800001,"66":13319,"100":206,"85":12288,"24":4,"16":128209927746355200,"45":9166936328823076864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-04 17:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862348800001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:56:58] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-04 17:56:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128209927746355200,"km_value":128209927746355.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166936328823076864,"description":"Unknown IO ID 45"} 
[2026-09-04 17:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862348800001,"power":13319,"unknown_100":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":9166936328823076864}} 
[2026-09-04 17:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":172288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:56:58] local.INFO: GPS data processed {"connection_id":172288,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:56:58] local.INFO: Acknowledgment sent {"connection_id":172288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:56:59] local.INFO: TCP Data received {"connection_id":170894,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:56:59] local.INFO: Processing buffer {"connection_id":170894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:56:59] local.INFO: IMEI packet received {"connection_id":170894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":170894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:56:59] local.INFO: TCP Data received {"connection_id":171186,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:56:59] local.INFO: Processing buffer {"connection_id":171186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:56:59] local.INFO: IMEI packet received {"connection_id":171186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":171186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:57:00] local.INFO: TCP Data received {"connection_id":170894,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:57:00] local.INFO: Processing buffer {"connection_id":170894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:57:00] local.INFO: Packet analysis {"connection_id":170894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:57:00] local.INFO: Extracted packet for processing {"connection_id":170894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:57:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862209792001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788524557000,"timestamp_ms":1788524557000,"timestamp_seconds":1788524557,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ef2c8"} 
[2026-09-04 17:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862209792001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862209792001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:57:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862209792001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":170894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764110,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:57:00] local.INFO: GPS data processed {"connection_id":170894,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:57:00] local.INFO: Acknowledgment sent {"connection_id":170894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:57:04] local.INFO: TCP Data received {"connection_id":171186,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:57:04] local.INFO: Processing buffer {"connection_id":171186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:57:04] local.INFO: IMEI packet received {"connection_id":171186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":171186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:57:04] local.INFO: TCP Data received {"connection_id":170894,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:57:04] local.INFO: Processing buffer {"connection_id":170894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:57:04] local.INFO: Packet analysis {"connection_id":170894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:57:04] local.INFO: Extracted packet for processing {"connection_id":170894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862209792001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788524557000,"timestamp_ms":1788524557000,"timestamp_seconds":1788524557,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ef2c8"} 
[2026-09-04 17:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862209792001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862209792001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:57:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862209792001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":170894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764111,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:57:04] local.INFO: GPS data processed {"connection_id":170894,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:57:04] local.INFO: Acknowledgment sent {"connection_id":170894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:57:04] local.INFO: TCP Data received {"connection_id":171186,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06c60a078012cc8ae00074c69b8000c009632..."} 
[2026-09-04 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c60a078012cc8ae00074c69b8000c009632..."} 
[2026-09-04 17:57:04] local.INFO: Processing buffer {"connection_id":171186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c60a078012cc8ae00074c69b8000c009632..."} 
[2026-09-04 17:57:04] local.INFO: Packet analysis {"connection_id":171186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:57:04] local.INFO: Extracted packet for processing {"connection_id":171186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:57:04] local.INFO: GPS Element Parsed {"raw_longitude":751349248,"raw_latitude":122448312,"longitude_deg":75.1349248,"latitude_deg":12.2448312,"altitude":12,"angle":150,"satellites":50,"speed":60,"hex_longitude":"2cc8ae00","hex_latitude":"074c69b8","is_valid_coordinates":true} 
[2026-09-04 17:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862313216001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398310722955640832,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3990329975989727232,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788524667000,"timestamp_ms":1788524667000,"timestamp_seconds":1788524667,"priority":1,"record_length":96,"hex_timestamp":"000001a06c60a078"} 
[2026-09-04 17:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 17:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862313216001,"66":27821,"161":206,"85":37632,"24":60,"16":398310722955640832,"44":-3990329975989727232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-04 17:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862313216001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:57:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-04 17:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398310722955640832,"km_value":398310722955640.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:57:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3990329975989727232,"description":"Unknown IO ID 44"} 
[2026-09-04 17:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862313216001,"power":27821,"unknown_161":206,"unknown_85":37632,"ignition":60,"odometer":null,"unknown_44":-3990329975989727232}} 
[2026-09-04 17:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":171186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:57:05] local.INFO: GPS data processed {"connection_id":171186,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:57:05] local.INFO: Acknowledgment sent {"connection_id":171186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:57:24] local.INFO: TCP Data received {"connection_id":172289,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c61c958012d188480072241f8006300d428..."} 
[2026-09-04 17:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c61c958012d188480072241f8006300d428..."} 
[2026-09-04 17:57:24] local.INFO: Processing buffer {"connection_id":172289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c61c958012d188480072241f8006300d428..."} 
[2026-09-04 17:57:24] local.INFO: Packet analysis {"connection_id":172289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c61"} 
[2026-09-04 17:57:24] local.INFO: Extracted packet for processing {"connection_id":172289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c61"} 
[2026-09-04 17:57:24] local.INFO: GPS Element Parsed {"raw_longitude":756581504,"raw_latitude":119685624,"longitude_deg":75.6581504,"latitude_deg":11.9685624,"altitude":99,"angle":212,"satellites":40,"speed":43,"hex_longitude":"2d188480","hex_latitude":"072241f8","is_valid_coordinates":true} 
[2026-09-04 17:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862331648001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17364192000475136,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772236852755961856,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788524743000,"timestamp_ms":1788524743000,"timestamp_seconds":1788524743,"priority":1,"record_length":96,"hex_timestamp":"000001a06c61c958"} 
[2026-09-04 17:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 17:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862331648001,"66":12711,"105":206,"83":41984,"24":43,"16":17364192000475136,"45":1772236852755961856},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862331648001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:57:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:57:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17364192000475136,"km_value":17364192000475.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772236852755961856,"description":"Unknown IO ID 45"} 
[2026-09-04 17:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862331648001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1772236852755961856}} 
[2026-09-04 17:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":172289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:57:24] local.INFO: GPS data processed {"connection_id":172289,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:57:24] local.INFO: Acknowledgment sent {"connection_id":172289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:57:25] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:57:25] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:57:25] local.INFO: IMEI packet received {"connection_id":173589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":173589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:57:26] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:57:26] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:57:26] local.INFO: IMEI packet received {"connection_id":173589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":173589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:57:31] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:57:31] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:57:31] local.INFO: IMEI packet received {"connection_id":173589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":173589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:57:32] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c62cf10012d7f338005c61af0000900e519..."} 
[2026-09-04 17:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c62cf10012d7f338005c61af0000900e519..."} 
[2026-09-04 17:57:32] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c62cf10012d7f338005c61af0000900e519..."} 
[2026-09-04 17:57:32] local.INFO: Packet analysis {"connection_id":173589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c62"} 
[2026-09-04 17:57:32] local.INFO: Extracted packet for processing {"connection_id":173589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c62"} 
[2026-09-04 17:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763310976,"raw_latitude":96869104,"longitude_deg":76.3310976,"latitude_deg":9.6869104,"altitude":9,"angle":229,"satellites":25,"speed":6,"hex_longitude":"2d7f3380","hex_latitude":"05c61af0","is_valid_coordinates":true} 
[2026-09-04 17:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862349056001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128209987875897344,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166865960078870528,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788524810000,"timestamp_ms":1788524810000,"timestamp_seconds":1788524810,"priority":1,"record_length":96,"hex_timestamp":"000001a06c62cf10"} 
[2026-09-04 17:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-04 17:57:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:32] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3199807573909773824,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1315176654,"corrected_to":0} 
[2026-09-04 17:57:32] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3221603879,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:32] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812238,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3324790784,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:32] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57788561642902832,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:32] local.WARNING: Large IO value detected {"io_id":97,"raw_value":-3375446625795276795,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:32] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,100,85,24,241,157,16,126,160,168,45,128,31,9,32,10,66,164,1,240,252,227,108,198,4,113,205,35,49,72,239,53,2,199,5,214,97],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1315176654,"validated":0}]} 
[2026-09-04 17:57:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648754874485571584,"timestamp_seconds":648754874485571.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 17:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862349056001,"66":13678,"100":206,"85":12288,"24":6,"16":128209987875897344,"45":9166865960078870528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-04 17:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862349056001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:57:32] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-04 17:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128209987875897344,"km_value":128209987875897.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166865960078870528,"description":"Unknown IO ID 45"} 
[2026-09-04 17:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862349056001,"power":13678,"unknown_100":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9166865960078870528}} 
[2026-09-04 17:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":173589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:57:32] local.INFO: GPS data processed {"connection_id":173589,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:57:32] local.INFO: Acknowledgment sent {"connection_id":173589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:57:34] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c62e680012d7f2f8005c61a00000801040d..."} 
[2026-09-04 17:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c62e680012d7f2f8005c61a00000801040d..."} 
[2026-09-04 17:57:34] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c62e680012d7f2f8005c61a00000801040d..."} 
[2026-09-04 17:57:34] local.INFO: Packet analysis {"connection_id":173589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c62"} 
[2026-09-04 17:57:34] local.INFO: Extracted packet for processing {"connection_id":173589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c62"} 
[2026-09-04 17:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763309952,"raw_latitude":96868864,"longitude_deg":76.3309952,"latitude_deg":9.6868864,"altitude":8,"angle":260,"satellites":13,"speed":5,"hex_longitude":"2d7f2f80","hex_latitude":"05c61a00","is_valid_coordinates":true} 
[2026-09-04 17:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862351360001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128210052300406784,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165810428915937280,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788524816000,"timestamp_ms":1788524816000,"timestamp_seconds":1788524816,"priority":1,"record_length":96,"hex_timestamp":"000001a06c62e680"} 
[2026-09-04 17:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 17:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862351360001,"66":13450,"100":206,"85":12288,"24":5,"16":128210052300406784,"45":9165810428915937280},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-04 17:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862351360001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:57:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-04 17:57:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128210052300406784,"km_value":128210052300406.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165810428915937280,"description":"Unknown IO ID 45"} 
[2026-09-04 17:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862351360001,"power":13450,"unknown_100":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9165810428915937280}} 
[2026-09-04 17:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":173589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:57:34] local.INFO: GPS data processed {"connection_id":173589,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:57:34] local.INFO: Acknowledgment sent {"connection_id":173589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:57:36] local.INFO: TCP Data received {"connection_id":171186,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06c60b400012cc8bf80074c5220000d008932..."} 
[2026-09-04 17:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c60b400012cc8bf80074c5220000d008932..."} 
[2026-09-04 17:57:36] local.INFO: Processing buffer {"connection_id":171186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c60b400012cc8bf80074c5220000d008932..."} 
[2026-09-04 17:57:36] local.INFO: Packet analysis {"connection_id":171186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:57:36] local.INFO: Extracted packet for processing {"connection_id":171186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:57:36] local.INFO: GPS Element Parsed {"raw_longitude":751353728,"raw_latitude":122442272,"longitude_deg":75.1353728,"latitude_deg":12.2442272,"altitude":13,"angle":137,"satellites":50,"speed":58,"hex_longitude":"2cc8bf80","hex_latitude":"074c5220","is_valid_coordinates":true} 
[2026-09-04 17:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862314752001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398311083732893696,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3986248588829542400,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788524672000,"timestamp_ms":1788524672000,"timestamp_seconds":1788524672,"priority":1,"record_length":96,"hex_timestamp":"000001a06c60b400"} 
[2026-09-04 17:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862314752001,"66":27821,"161":206,"85":37632,"24":58,"16":398311083732893696,"44":-3986248588829542400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-04 17:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862314752001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:57:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-04 17:57:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398311083732893696,"km_value":398311083732893.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:57:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3986248588829542400,"description":"Unknown IO ID 44"} 
[2026-09-04 17:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862314752001,"power":27821,"unknown_161":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-3986248588829542400}} 
[2026-09-04 17:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":171186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:57:36] local.INFO: GPS data processed {"connection_id":171186,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:57:36] local.INFO: Acknowledgment sent {"connection_id":171186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:57:47] local.INFO: TCP Data received {"connection_id":172291,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:57:47] local.INFO: Processing buffer {"connection_id":172291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:57:47] local.INFO: IMEI packet received {"connection_id":172291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":172291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:57:49] local.INFO: TCP Data received {"connection_id":172290,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:57:49] local.INFO: Processing buffer {"connection_id":172290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:57:49] local.INFO: IMEI packet received {"connection_id":172290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":172290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:57:49] local.INFO: TCP Data received {"connection_id":172291,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:57:49] local.INFO: Processing buffer {"connection_id":172291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:57:49] local.INFO: IMEI packet received {"connection_id":172291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":172291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:57:53] local.INFO: TCP Data received {"connection_id":172291,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:57:53] local.INFO: Processing buffer {"connection_id":172291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:57:53] local.INFO: IMEI packet received {"connection_id":172291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":172291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:57:53] local.INFO: TCP Data received {"connection_id":172291,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c61e898012d187040072223a0005c00d524..."} 
[2026-09-04 17:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c61e898012d187040072223a0005c00d524..."} 
[2026-09-04 17:57:53] local.INFO: Processing buffer {"connection_id":172291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c61e898012d187040072223a0005c00d524..."} 
[2026-09-04 17:57:53] local.INFO: Packet analysis {"connection_id":172291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c61"} 
[2026-09-04 17:57:53] local.INFO: Extracted packet for processing {"connection_id":172291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c61"} 
[2026-09-04 17:57:53] local.INFO: GPS Element Parsed {"raw_longitude":756576320,"raw_latitude":119677856,"longitude_deg":75.657632,"latitude_deg":11.9677856,"altitude":92,"angle":213,"satellites":36,"speed":47,"hex_longitude":"2d187040","hex_latitude":"072223a0","is_valid_coordinates":true} 
[2026-09-04 17:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862334208001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17364642972041216,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766677721963952128,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788524751000,"timestamp_ms":1788524751000,"timestamp_seconds":1788524751,"priority":1,"record_length":96,"hex_timestamp":"000001a06c61e898"} 
[2026-09-04 17:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-04 17:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862334208001,"66":12613,"105":206,"83":41984,"24":47,"16":17364642972041216,"45":1766677721963952128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 17:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862334208001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:57:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 17:57:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 17:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17364642972041216,"km_value":17364642972041.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766677721963952128,"description":"Unknown IO ID 45"} 
[2026-09-04 17:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862334208001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1766677721963952128}} 
[2026-09-04 17:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":172291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:57:54] local.INFO: GPS data processed {"connection_id":172291,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:57:54] local.INFO: Acknowledgment sent {"connection_id":172291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:57:54] local.INFO: TCP Data received {"connection_id":172290,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:57:54] local.INFO: Processing buffer {"connection_id":172290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:57:54] local.INFO: IMEI packet received {"connection_id":172290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":172290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:57:55] local.INFO: TCP Data received {"connection_id":172290,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:57:55] local.INFO: Processing buffer {"connection_id":172290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c5ef2c8012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:57:55] local.INFO: Packet analysis {"connection_id":172290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:57:55] local.INFO: Extracted packet for processing {"connection_id":172290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c5e"} 
[2026-09-04 17:57:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862209792001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788524557000,"timestamp_ms":1788524557000,"timestamp_seconds":1788524557,"priority":1,"record_length":96,"hex_timestamp":"000001a06c5ef2c8"} 
[2026-09-04 17:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 17:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862209792001,"66":25299,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862209792001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:57:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:57:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862209792001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":172290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764118,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:57:55] local.INFO: GPS data processed {"connection_id":172290,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:57:55] local.INFO: Acknowledgment sent {"connection_id":172290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:57:59] local.INFO: TCP Data received {"connection_id":172292,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:57:59] local.INFO: Processing buffer {"connection_id":172292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:57:59] local.INFO: IMEI packet received {"connection_id":172292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":172292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:58:04] local.INFO: TCP Data received {"connection_id":172292,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:58:04] local.INFO: Processing buffer {"connection_id":172292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:58:04] local.INFO: IMEI packet received {"connection_id":172292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":172292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:58:04] local.INFO: TCP Data received {"connection_id":172292,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06c60c3a0012cc8d080074c4320000d007e31..."} 
[2026-09-04 17:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c60c3a0012cc8d080074c4320000d007e31..."} 
[2026-09-04 17:58:04] local.INFO: Processing buffer {"connection_id":172292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c60c3a0012cc8d080074c4320000d007e31..."} 
[2026-09-04 17:58:04] local.INFO: Packet analysis {"connection_id":172292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:58:04] local.INFO: Extracted packet for processing {"connection_id":172292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:58:04] local.INFO: GPS Element Parsed {"raw_longitude":751358080,"raw_latitude":122438432,"longitude_deg":75.135808,"latitude_deg":12.2438432,"altitude":13,"angle":126,"satellites":49,"speed":56,"hex_longitude":"2cc8d080","hex_latitude":"074c4320","is_valid_coordinates":true} 
[2026-09-04 17:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862316032001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398311362905767936,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3981322776738652160,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788524676000,"timestamp_ms":1788524676000,"timestamp_seconds":1788524676,"priority":1,"record_length":96,"hex_timestamp":"000001a06c60c3a0"} 
[2026-09-04 17:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 17:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862316032001,"66":27843,"161":206,"85":37632,"24":56,"16":398311362905767936,"44":-3981322776738652160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-04 17:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862316032001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:58:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-04 17:58:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398311362905767936,"km_value":398311362905767.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:58:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3981322776738652160,"description":"Unknown IO ID 44"} 
[2026-09-04 17:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862316032001,"power":27843,"unknown_161":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-3981322776738652160}} 
[2026-09-04 17:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":172292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:58:04] local.INFO: GPS data processed {"connection_id":172292,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:58:04] local.INFO: Acknowledgment sent {"connection_id":172292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:58:05] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c62ea68012d7f2d4005c61c20000801110e..."} 
[2026-09-04 17:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c62ea68012d7f2d4005c61c20000801110e..."} 
[2026-09-04 17:58:06] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c62ea68012d7f2d4005c61c20000801110e..."} 
[2026-09-04 17:58:06] local.INFO: Packet analysis {"connection_id":173589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c62"} 
[2026-09-04 17:58:06] local.INFO: Extracted packet for processing {"connection_id":173589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c62"} 
[2026-09-04 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763309376,"raw_latitude":96869408,"longitude_deg":76.3309376,"latitude_deg":9.6869408,"altitude":8,"angle":273,"satellites":14,"speed":4,"hex_longitude":"2d7f2d40","hex_latitude":"05c61c20","is_valid_coordinates":true} 
[2026-09-04 17:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862352896001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128210086660145152,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164684529009033216,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788524817000,"timestamp_ms":1788524817000,"timestamp_seconds":1788524817,"priority":1,"record_length":96,"hex_timestamp":"000001a06c62ea68"} 
[2026-09-04 17:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 17:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862352896001,"66":13450,"100":206,"85":12288,"24":4,"16":128210086660145152,"45":9164684529009033216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-04 17:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862352896001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:58:06] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-04 17:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128210086660145152,"km_value":128210086660145.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164684529009033216,"description":"Unknown IO ID 45"} 
[2026-09-04 17:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862352896001,"power":13450,"unknown_100":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":9164684529009033216}} 
[2026-09-04 17:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":173589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:58:06] local.INFO: GPS data processed {"connection_id":173589,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:58:06] local.INFO: Acknowledgment sent {"connection_id":173589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:58:25] local.INFO: TCP Data received {"connection_id":172291,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c637af0012d18a1c0072275b00069001429..."} 
[2026-09-04 17:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c637af0012d18a1c0072275b00069001429..."} 
[2026-09-04 17:58:25] local.INFO: Processing buffer {"connection_id":172291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c637af0012d18a1c0072275b00069001429..."} 
[2026-09-04 17:58:25] local.INFO: Packet analysis {"connection_id":172291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 17:58:25] local.INFO: Extracted packet for processing {"connection_id":172291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 17:58:25] local.INFO: GPS Element Parsed {"raw_longitude":756588992,"raw_latitude":119698864,"longitude_deg":75.6588992,"latitude_deg":11.9698864,"altitude":105,"angle":20,"satellites":41,"speed":27,"hex_longitude":"2d18a1c0","hex_latitude":"072275b0","is_valid_coordinates":true} 
[2026-09-04 17:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862359808001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17367108283269120,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770477634151092224,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788524854000,"timestamp_ms":1788524854000,"timestamp_seconds":1788524854,"priority":1,"record_length":96,"hex_timestamp":"000001a06c637af0"} 
[2026-09-04 17:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 17:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862359808001,"66":13961,"137":206,"83":42752,"24":27,"16":17367108283269120,"45":1770477634151092224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-04 17:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862359808001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:58:25] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 17:58:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 17:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17367108283269120,"km_value":17367108283269.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770477634151092224,"description":"Unknown IO ID 45"} 
[2026-09-04 17:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862359808001,"power":13961,"unknown_137":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1770477634151092224}} 
[2026-09-04 17:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":172291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:58:25] local.INFO: GPS data processed {"connection_id":172291,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:58:25] local.INFO: Acknowledgment sent {"connection_id":172291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:58:29] local.INFO: TCP Data received {"connection_id":171187,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:58:29] local.INFO: Processing buffer {"connection_id":171187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:58:29] local.INFO: IMEI packet received {"connection_id":171187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":171187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:58:31] local.INFO: TCP Data received {"connection_id":171187,"ip":"42.106.6.19","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-04 17:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171187,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-04 17:58:31] local.INFO: Processing buffer {"connection_id":171187,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-04 17:58:31] local.INFO: IMEI packet received {"connection_id":171187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":171187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:58:31] local.INFO: TCP Data received {"connection_id":172290,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:58:31] local.INFO: Processing buffer {"connection_id":172290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:58:31] local.INFO: Packet analysis {"connection_id":172290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 17:58:31] local.INFO: Extracted packet for processing {"connection_id":172290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 17:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862286592001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788524858000,"timestamp_ms":1788524858000,"timestamp_seconds":1788524858,"priority":1,"record_length":96,"hex_timestamp":"000001a06c638a90"} 
[2026-09-04 17:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 17:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862286592001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862286592001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:58:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862286592001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":172290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764122,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:58:31] local.INFO: GPS data processed {"connection_id":172290,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:58:31] local.INFO: Acknowledgment sent {"connection_id":172290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:58:34] local.INFO: TCP Data received {"connection_id":171187,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c62ee50012d7f2cc005c61d60000801000e..."} 
[2026-09-04 17:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c62ee50012d7f2cc005c61d60000801000e..."} 
[2026-09-04 17:58:35] local.INFO: Processing buffer {"connection_id":171187,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a06c..."} 
[2026-09-04 17:58:35] local.INFO: IMEI packet received {"connection_id":171187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":171187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:58:35] local.INFO: TCP Data received {"connection_id":172292,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06c60d340012cc8e440074c37c0000d007232..."} 
[2026-09-04 17:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c60d340012cc8e440074c37c0000d007232..."} 
[2026-09-04 17:58:35] local.INFO: Processing buffer {"connection_id":172292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c60d340012cc8e440074c37c0000d007232..."} 
[2026-09-04 17:58:35] local.INFO: Packet analysis {"connection_id":172292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:58:35] local.INFO: Extracted packet for processing {"connection_id":172292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:58:35] local.INFO: GPS Element Parsed {"raw_longitude":751363136,"raw_latitude":122435520,"longitude_deg":75.1363136,"latitude_deg":12.243552,"altitude":13,"angle":114,"satellites":50,"speed":57,"hex_longitude":"2cc8e440","hex_latitude":"074c37c0","is_valid_coordinates":true} 
[2026-09-04 17:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862317056001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398311642078642176,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3976537702135554048,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788524680000,"timestamp_ms":1788524680000,"timestamp_seconds":1788524680,"priority":1,"record_length":96,"hex_timestamp":"000001a06c60d340"} 
[2026-09-04 17:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 17:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862317056001,"66":27658,"161":206,"85":37632,"24":57,"16":398311642078642176,"44":-3976537702135554048},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-04 17:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862317056001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:58:35] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-04 17:58:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398311642078642176,"km_value":398311642078642.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:58:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3976537702135554048,"description":"Unknown IO ID 44"} 
[2026-09-04 17:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862317056001,"power":27658,"unknown_161":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-3976537702135554048}} 
[2026-09-04 17:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":172292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:58:35] local.INFO: GPS data processed {"connection_id":172292,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:58:35] local.INFO: Acknowledgment sent {"connection_id":172292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:58:36] local.INFO: TCP Data received {"connection_id":171187,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c62f238012d7f2c4005c61d40000800ea0f..."} 
[2026-09-04 17:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c62f238012d7f2c4005c61d40000800ea0f..."} 
[2026-09-04 17:58:36] local.INFO: Processing buffer {"connection_id":171187,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06c62ee50012d7f2cc005c61d60000801000e..."} 
[2026-09-04 17:58:36] local.INFO: Packet analysis {"connection_id":171187,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06c62"} 
[2026-09-04 17:58:36] local.INFO: Extracted packet for processing {"connection_id":171187,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c62"} 
[2026-09-04 17:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763309248,"raw_latitude":96869728,"longitude_deg":76.3309248,"latitude_deg":9.6869728,"altitude":8,"angle":256,"satellites":14,"speed":1,"hex_longitude":"2d7f2cc0","hex_latitude":"05c61d60","is_valid_coordinates":true} 
[2026-09-04 17:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862353152001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128210103840014336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164051210311573504,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788524818000,"timestamp_ms":1788524818000,"timestamp_seconds":1788524818,"priority":1,"record_length":96,"hex_timestamp":"000001a06c62ee50"} 
[2026-09-04 17:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 17:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862353152001,"66":13515,"100":206,"85":12288,"24":1,"16":128210103840014336,"45":9164051210311573504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-04 17:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862353152001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:58:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-04 17:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128210103840014336,"km_value":128210103840014.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164051210311573504,"description":"Unknown IO ID 45"} 
[2026-09-04 17:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862353152001,"power":13515,"unknown_100":206,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":9164051210311573504}} 
[2026-09-04 17:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":171187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:58:36] local.INFO: GPS data processed {"connection_id":171187,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:58:36] local.INFO: Acknowledgment sent {"connection_id":171187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:58:36] local.INFO: Packet analysis {"connection_id":171187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c62"} 
[2026-09-04 17:58:36] local.INFO: Extracted packet for processing {"connection_id":171187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c62"} 
[2026-09-04 17:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763309120,"raw_latitude":96869696,"longitude_deg":76.330912,"latitude_deg":9.6869696,"altitude":8,"angle":234,"satellites":15,"speed":0,"hex_longitude":"2d7f2c40","hex_latitude":"05c61d40","is_valid_coordinates":true} 
[2026-09-04 17:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862353408001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128210112429948928,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163910472823300096,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788524819000,"timestamp_ms":1788524819000,"timestamp_seconds":1788524819,"priority":1,"record_length":96,"hex_timestamp":"000001a06c62f238"} 
[2026-09-04 17:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-04 17:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862353408001,"66":13406,"100":206,"85":12288,"24":0,"16":128210112429948928,"45":9163910472823300096},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-04 17:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862353408001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:58:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-04 17:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128210112429948928,"km_value":128210112429948.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163910472823300096,"description":"Unknown IO ID 45"} 
[2026-09-04 17:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862353408001,"power":13406,"unknown_100":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9163910472823300096}} 
[2026-09-04 17:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":171187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:58:36] local.INFO: GPS data processed {"connection_id":171187,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:58:36] local.INFO: Acknowledgment sent {"connection_id":171187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:58:39] local.INFO: TCP Data received {"connection_id":171187,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c62f620012d7f2b4005c61d90000801120e..."} 
[2026-09-04 17:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c62f620012d7f2b4005c61d90000801120e..."} 
[2026-09-04 17:58:39] local.INFO: Processing buffer {"connection_id":171187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c62f620012d7f2b4005c61d90000801120e..."} 
[2026-09-04 17:58:39] local.INFO: Packet analysis {"connection_id":171187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c62"} 
[2026-09-04 17:58:39] local.INFO: Extracted packet for processing {"connection_id":171187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c62"} 
[2026-09-04 17:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763308864,"raw_latitude":96869776,"longitude_deg":76.3308864,"latitude_deg":9.6869776,"altitude":8,"angle":274,"satellites":14,"speed":0,"hex_longitude":"2d7f2b40","hex_latitude":"05c61d90","is_valid_coordinates":true} 
[2026-09-04 17:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862353664001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128210125314850816,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163769735334936576,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788524820000,"timestamp_ms":1788524820000,"timestamp_seconds":1788524820,"priority":1,"record_length":96,"hex_timestamp":"000001a06c62f620"} 
[2026-09-04 17:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-04 17:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862353664001,"66":13406,"100":206,"85":12288,"24":0,"16":128210125314850816,"45":9163769735334936576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-04 17:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862353664001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:58:39] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-04 17:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128210125314850816,"km_value":128210125314850.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163769735334936576,"description":"Unknown IO ID 45"} 
[2026-09-04 17:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862353664001,"power":13406,"unknown_100":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9163769735334936576}} 
[2026-09-04 17:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":171187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:58:40] local.INFO: GPS data processed {"connection_id":171187,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:58:40] local.INFO: Acknowledgment sent {"connection_id":171187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:58:48] local.INFO: TCP Data received {"connection_id":170895,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:58:48] local.INFO: Processing buffer {"connection_id":170895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:58:48] local.INFO: IMEI packet received {"connection_id":170895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":170895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:58:54] local.INFO: TCP Data received {"connection_id":170895,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:58:54] local.INFO: Processing buffer {"connection_id":170895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:58:54] local.INFO: IMEI packet received {"connection_id":170895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":170895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:58:55] local.INFO: TCP Data received {"connection_id":170895,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:58:55] local.INFO: Processing buffer {"connection_id":170895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:58:55] local.INFO: Packet analysis {"connection_id":170895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 17:58:55] local.INFO: Extracted packet for processing {"connection_id":170895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 17:58:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862286592001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788524858000,"timestamp_ms":1788524858000,"timestamp_seconds":1788524858,"priority":1,"record_length":96,"hex_timestamp":"000001a06c638a90"} 
[2026-09-04 17:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 17:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862286592001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862286592001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:58:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:58:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862286592001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":170895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:58:55] local.INFO: GPS data processed {"connection_id":170895,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:58:55] local.INFO: Acknowledgment sent {"connection_id":170895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:58:56] local.INFO: TCP Data received {"connection_id":173590,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:58:56] local.INFO: Processing buffer {"connection_id":173590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:58:56] local.INFO: IMEI packet received {"connection_id":173590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":173590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:58:58] local.INFO: TCP Data received {"connection_id":173590,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:58:58] local.INFO: Processing buffer {"connection_id":173590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:58:58] local.INFO: IMEI packet received {"connection_id":173590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":173590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:58:59] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:58:59] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:58:59] local.INFO: IMEI packet received {"connection_id":172293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":172293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:58:59] local.INFO: TCP Data received {"connection_id":173590,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:58:59] local.INFO: Processing buffer {"connection_id":173590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:58:59] local.INFO: IMEI packet received {"connection_id":173590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":173590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:59:03] local.INFO: TCP Data received {"connection_id":173590,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:03] local.INFO: Processing buffer {"connection_id":173590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:03] local.INFO: IMEI packet received {"connection_id":173590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":173590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:59:03] local.INFO: TCP Data received {"connection_id":173590,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c639648012d18a68007228860006c000829..."} 
[2026-09-04 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c639648012d18a68007228860006c000829..."} 
[2026-09-04 17:59:03] local.INFO: Processing buffer {"connection_id":173590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c639648012d18a68007228860006c000829..."} 
[2026-09-04 17:59:03] local.INFO: Packet analysis {"connection_id":173590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 17:59:03] local.INFO: Extracted packet for processing {"connection_id":173590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 17:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756590208,"raw_latitude":119703648,"longitude_deg":75.6590208,"latitude_deg":11.9703648,"altitude":108,"angle":8,"satellites":41,"speed":29,"hex_longitude":"2d18a680","hex_latitude":"07228860","is_valid_coordinates":true} 
[2026-09-04 17:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862362624001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17367348801437696,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774910865036128256,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788524861000,"timestamp_ms":1788524861000,"timestamp_seconds":1788524861,"priority":1,"record_length":96,"hex_timestamp":"000001a06c639648"} 
[2026-09-04 17:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-04 17:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862362624001,"66":14243,"137":206,"83":42752,"24":29,"16":17367348801437696,"45":1774910865036128256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-04 17:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862362624001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:59:03] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 17:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 17:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17367348801437696,"km_value":17367348801437.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774910865036128256,"description":"Unknown IO ID 45"} 
[2026-09-04 17:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862362624001,"power":14243,"unknown_137":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1774910865036128256}} 
[2026-09-04 17:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":173590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:59:03] local.INFO: GPS data processed {"connection_id":173590,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:59:03] local.INFO: Acknowledgment sent {"connection_id":173590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:59:04] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:59:04] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:59:04] local.INFO: IMEI packet received {"connection_id":172293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 17:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":172293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:59:04] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06c60e6c8012cc8ff80074c2f20000c006532..."} 
[2026-09-04 17:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c60e6c8012cc8ff80074c2f20000c006532..."} 
[2026-09-04 17:59:04] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c60e6c8012cc8ff80074c2f20000c006532..."} 
[2026-09-04 17:59:04] local.INFO: Packet analysis {"connection_id":172293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:59:04] local.INFO: Extracted packet for processing {"connection_id":172293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:59:04] local.INFO: GPS Element Parsed {"raw_longitude":751370112,"raw_latitude":122433312,"longitude_deg":75.1370112,"latitude_deg":12.2433312,"altitude":12,"angle":101,"satellites":50,"speed":57,"hex_longitude":"2cc8ff80","hex_latitude":"074c2f20","is_valid_coordinates":true} 
[2026-09-04 17:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862318080001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398311989970993152,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3970978571346264064,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788524685000,"timestamp_ms":1788524685000,"timestamp_seconds":1788524685,"priority":1,"record_length":96,"hex_timestamp":"000001a06c60e6c8"} 
[2026-09-04 17:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 17:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862318080001,"66":27767,"161":206,"85":37632,"24":57,"16":398311989970993152,"44":-3970978571346264064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-04 17:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862318080001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:59:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-04 17:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398311989970993152,"km_value":398311989970993.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:59:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3970978571346264064,"description":"Unknown IO ID 44"} 
[2026-09-04 17:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862318080001,"power":27767,"unknown_161":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-3970978571346264064}} 
[2026-09-04 17:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":172293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:59:04] local.INFO: GPS data processed {"connection_id":172293,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:59:04] local.INFO: Acknowledgment sent {"connection_id":172293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:59:26] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:59:26] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:59:26] local.INFO: IMEI packet received {"connection_id":173591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 17:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":173591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:59:27] local.INFO: TCP Data received {"connection_id":170895,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:59:27] local.INFO: Processing buffer {"connection_id":170895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 17:59:27] local.INFO: Packet analysis {"connection_id":170895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 17:59:27] local.INFO: Extracted packet for processing {"connection_id":170895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 17:59:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 17:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862286592001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524858000,"timestamp_ms":1788524858000,"timestamp_seconds":1788524858,"priority":1,"record_length":96,"hex_timestamp":"000001a06c638a90"} 
[2026-09-04 17:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 17:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 17:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 17:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 17:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 17:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862286592001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 17:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 17:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 17:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862286592001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:59:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 17:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 17:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 17:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862286592001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 17:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":170895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764130,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:59:27] local.INFO: GPS data processed {"connection_id":170895,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:59:27] local.INFO: Acknowledgment sent {"connection_id":170895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:59:29] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:59:29] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:59:29] local.INFO: IMEI packet received {"connection_id":173591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":173591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:59:31] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:59:31] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 17:59:31] local.INFO: IMEI packet received {"connection_id":173591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 17:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":173591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:59:31] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c649c00012d7dfb4005c63ef8000901171c..."} 
[2026-09-04 17:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c649c00012d7dfb4005c63ef8000901171c..."} 
[2026-09-04 17:59:32] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c649c00012d7dfb4005c63ef8000901171c..."} 
[2026-09-04 17:59:32] local.INFO: Packet analysis {"connection_id":173591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c64"} 
[2026-09-04 17:59:32] local.INFO: Extracted packet for processing {"connection_id":173591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c64"} 
[2026-09-04 17:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763231040,"raw_latitude":96878328,"longitude_deg":76.323104,"latitude_deg":9.6878328,"altitude":9,"angle":279,"satellites":28,"speed":40,"hex_longitude":"2d7dfb40","hex_latitude":"05c63ef8","is_valid_coordinates":true} 
[2026-09-04 17:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862378752001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128213887706202112,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089741816461809664,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788524928000,"timestamp_ms":1788524928000,"timestamp_seconds":1788524928,"priority":1,"record_length":96,"hex_timestamp":"000001a06c649c00"} 
[2026-09-04 17:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 17:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 17:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 17:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 17:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862378752001,"66":13830,"89":206,"85":12288,"24":40,"16":128213887706202112,"45":9089741816461809664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-09-04 17:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 17:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 17:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862378752001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:59:32] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 17:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 17:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128213887706202112,"km_value":128213887706202.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089741816461809664,"description":"Unknown IO ID 45"} 
[2026-09-04 17:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862378752001,"power":13830,"unknown_89":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9089741816461809664}} 
[2026-09-04 17:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":173591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:59:32] local.INFO: GPS data processed {"connection_id":173591,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:59:32] local.INFO: Acknowledgment sent {"connection_id":173591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:59:35] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06c60fa50012cc91c80074c2cb8000b005632..."} 
[2026-09-04 17:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c60fa50012cc91c80074c2cb8000b005632..."} 
[2026-09-04 17:59:35] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c60fa50012cc91c80074c2cb8000b005632..."} 
[2026-09-04 17:59:35] local.INFO: Packet analysis {"connection_id":172293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:59:35] local.INFO: Extracted packet for processing {"connection_id":172293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c60"} 
[2026-09-04 17:59:35] local.INFO: GPS Element Parsed {"raw_longitude":751377536,"raw_latitude":122432696,"longitude_deg":75.1377536,"latitude_deg":12.2432696,"altitude":11,"angle":86,"satellites":50,"speed":59,"hex_longitude":"2cc91c80","hex_latitude":"074c2cb8","is_valid_coordinates":true} 
[2026-09-04 17:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862319360001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398312342158311424,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3963308378231463936,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788524690000,"timestamp_ms":1788524690000,"timestamp_seconds":1788524690,"priority":1,"record_length":96,"hex_timestamp":"000001a06c60fa50"} 
[2026-09-04 17:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 17:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 17:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 17:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 17:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862319360001,"66":27919,"161":206,"85":37632,"24":59,"16":398312342158311424,"44":-3963308378231463936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-04 17:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 17:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 17:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862319360001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:59:35] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-04 17:59:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 17:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398312342158311424,"km_value":398312342158311.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:59:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3963308378231463936,"description":"Unknown IO ID 44"} 
[2026-09-04 17:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862319360001,"power":27919,"unknown_161":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3963308378231463936}} 
[2026-09-04 17:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":172293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:59:35] local.INFO: GPS data processed {"connection_id":172293,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:59:35] local.INFO: Acknowledgment sent {"connection_id":172293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:59:48] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:48] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:48] local.INFO: IMEI packet received {"connection_id":173592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 17:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":173592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:59:48] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:48] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:48] local.INFO: IMEI packet received {"connection_id":173592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":173592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:59:51] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:51] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:51] local.INFO: IMEI packet received {"connection_id":173592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":173592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:59:52] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:52] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 17:59:52] local.INFO: IMEI packet received {"connection_id":173592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 17:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":173592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 17:59:53] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c646168012d1901c0072303600059002622..."} 
[2026-09-04 17:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c646168012d1901c0072303600059002622..."} 
[2026-09-04 17:59:53] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c646168012d1901c0072303600059002622..."} 
[2026-09-04 17:59:53] local.INFO: Packet analysis {"connection_id":173592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c64"} 
[2026-09-04 17:59:53] local.INFO: Extracted packet for processing {"connection_id":173592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c64"} 
[2026-09-04 17:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756613568,"raw_latitude":119735136,"longitude_deg":75.6613568,"latitude_deg":11.9735136,"altitude":89,"angle":38,"satellites":34,"speed":43,"hex_longitude":"2d1901c0","hex_latitude":"07230360","is_valid_coordinates":true} 
[2026-09-04 17:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862377216001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17369891422076928,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800313981693116416,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788524913000,"timestamp_ms":1788524913000,"timestamp_seconds":1788524913,"priority":1,"record_length":96,"hex_timestamp":"000001a06c646168"} 
[2026-09-04 17:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-04 17:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862377216001,"66":13961,"186":206,"83":42752,"24":43,"16":17369891422076928,"45":1800313981693116416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-04 17:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862377216001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:59:53] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-04 17:59:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 17:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17369891422076928,"km_value":17369891422076.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800313981693116416,"description":"Unknown IO ID 45"} 
[2026-09-04 17:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862377216001,"power":13961,"unknown_186":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1800313981693116416}} 
[2026-09-04 17:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":173592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:59:53] local.INFO: GPS data processed {"connection_id":173592,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:59:53] local.INFO: Acknowledgment sent {"connection_id":173592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:59:54] local.INFO: TCP Data received {"connection_id":173593,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:59:54] local.INFO: Processing buffer {"connection_id":173593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:59:54] local.INFO: IMEI packet received {"connection_id":173593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 17:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":173593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:59:54] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6480a8012d191940072320c80056002d23..."} 
[2026-09-04 17:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6480a8012d191940072320c80056002d23..."} 
[2026-09-04 17:59:54] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6480a8012d191940072320c80056002d23..."} 
[2026-09-04 17:59:54] local.INFO: Packet analysis {"connection_id":173592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c64"} 
[2026-09-04 17:59:54] local.INFO: Extracted packet for processing {"connection_id":173592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c64"} 
[2026-09-04 17:59:54] local.INFO: GPS Element Parsed {"raw_longitude":756619584,"raw_latitude":119742664,"longitude_deg":75.6619584,"latitude_deg":11.9742664,"altitude":86,"angle":45,"satellites":35,"speed":49,"hex_longitude":"2d191940","hex_latitude":"072320c8","is_valid_coordinates":true} 
[2026-09-04 17:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 17:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862377728001,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17370355278544896,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801932462809636864,"note":"Value kept but may cause issues"} 
[2026-09-04 17:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 17:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788524921000,"timestamp_ms":1788524921000,"timestamp_seconds":1788524921,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6480a8"} 
[2026-09-04 17:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 17:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 17:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-04 17:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 17:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 17:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 17:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 17:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 17:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 17:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 17:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 17:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 17:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862377728001,"66":13993,"186":206,"83":42752,"24":49,"16":17370355278544896,"45":1801932462809636864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-04 17:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 17:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 17:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862377728001,"description":"Unknown IO ID 0"} 
[2026-09-04 17:59:54] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-04 17:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 17:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17370355278544896,"km_value":17370355278544.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 17:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801932462809636864,"description":"Unknown IO ID 45"} 
[2026-09-04 17:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862377728001,"power":13993,"unknown_186":206,"unknown_83":42752,"ignition":49,"odometer":null,"unknown_45":1801932462809636864}} 
[2026-09-04 17:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":173592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 17:59:54] local.INFO: GPS data processed {"connection_id":173592,"processed":1,"errors":0,"total":1} 
[2026-09-04 17:59:54] local.INFO: Acknowledgment sent {"connection_id":173592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 17:59:58] local.INFO: TCP Data received {"connection_id":172294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:59:58] local.INFO: Processing buffer {"connection_id":172294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 17:59:58] local.INFO: IMEI packet received {"connection_id":172294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 17:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":172294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 17:59:59] local.INFO: TCP Data received {"connection_id":173593,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:59:59] local.INFO: Processing buffer {"connection_id":173593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 17:59:59] local.INFO: IMEI packet received {"connection_id":173593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 17:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":173593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:00:00] local.INFO: TCP Data received {"connection_id":173593,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:00:00] local.INFO: Processing buffer {"connection_id":173593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:00:00] local.INFO: Packet analysis {"connection_id":173593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 18:00:00] local.INFO: Extracted packet for processing {"connection_id":173593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 18:00:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862286592001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788524858000,"timestamp_ms":1788524858000,"timestamp_seconds":1788524858,"priority":1,"record_length":96,"hex_timestamp":"000001a06c638a90"} 
[2026-09-04 18:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 18:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862286592001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862286592001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:00:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862286592001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":173593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764135,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:00:00] local.INFO: GPS data processed {"connection_id":173593,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:00:00] local.INFO: Acknowledgment sent {"connection_id":173593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:00:03] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c64b758012d7de20005c641700008010a1b..."} 
[2026-09-04 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c64b758012d7de20005c641700008010a1b..."} 
[2026-09-04 18:00:03] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c64b758012d7de20005c641700008010a1b..."} 
[2026-09-04 18:00:03] local.INFO: Packet analysis {"connection_id":173591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c64"} 
[2026-09-04 18:00:03] local.INFO: Extracted packet for processing {"connection_id":173591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c64"} 
[2026-09-04 18:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763224576,"raw_latitude":96878960,"longitude_deg":76.3224576,"latitude_deg":9.687896,"altitude":8,"angle":266,"satellites":27,"speed":37,"hex_longitude":"2d7de200","hex_latitude":"05c64170","is_valid_coordinates":true} 
[2026-09-04 18:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862381568001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128214209828749312,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9077919867440396288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788524935000,"timestamp_ms":1788524935000,"timestamp_seconds":1788524935,"priority":1,"record_length":96,"hex_timestamp":"000001a06c64b758"} 
[2026-09-04 18:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-04 18:00:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10696057720733696,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627271857408,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1315176654,"corrected_to":0} 
[2026-09-04 18:00:03] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:03] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2147862072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:03] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2305856208086499368,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3325585408,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:03] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-5187815272894954042,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:03] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,89,85,24,241,157,16,129,160,113,45,64,56,9,32,10,66,73,128,55,11,29,34,192,1,240,154,227,108,198,4,205,208,182,104,30,239,52,100,2,199,5,38,173],"length":528,"final_offset":658,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1315176654,"validated":0}]} 
[2026-09-04 18:00:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648825230347206656,"timestamp_seconds":648825230347206.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862381568001,"66":13722,"89":206,"85":12288,"24":37,"16":128214209828749312,"45":9077919867440396288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-09-04 18:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862381568001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:00:03] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 18:00:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128214209828749312,"km_value":128214209828749.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9077919867440396288,"description":"Unknown IO ID 45"} 
[2026-09-04 18:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862381568001,"power":13722,"unknown_89":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9077919867440396288}} 
[2026-09-04 18:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":173591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:00:03] local.INFO: GPS data processed {"connection_id":173591,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:00:03] local.INFO: Acknowledgment sent {"connection_id":173591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:00:04] local.INFO: TCP Data received {"connection_id":172294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:00:04] local.INFO: Processing buffer {"connection_id":172294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:00:04] local.INFO: IMEI packet received {"connection_id":172294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":172294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:00:04] local.INFO: TCP Data received {"connection_id":173593,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:00:04] local.INFO: Processing buffer {"connection_id":173593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:00:04] local.INFO: Packet analysis {"connection_id":173593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 18:00:04] local.INFO: Extracted packet for processing {"connection_id":173593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 18:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862286592001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788524858000,"timestamp_ms":1788524858000,"timestamp_seconds":1788524858,"priority":1,"record_length":96,"hex_timestamp":"000001a06c638a90"} 
[2026-09-04 18:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 18:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862286592001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862286592001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:00:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:00:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862286592001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":173593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:00:04] local.INFO: GPS data processed {"connection_id":173593,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:00:04] local.INFO: Acknowledgment sent {"connection_id":173593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:00:04] local.INFO: TCP Data received {"connection_id":172294,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6109f0012cc93440074c30c0000a004932..."} 
[2026-09-04 18:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6109f0012cc93440074c30c0000a004932..."} 
[2026-09-04 18:00:04] local.INFO: Processing buffer {"connection_id":172294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6109f0012cc93440074c30c0000a004932..."} 
[2026-09-04 18:00:04] local.INFO: Packet analysis {"connection_id":172294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c61"} 
[2026-09-04 18:00:04] local.INFO: Extracted packet for processing {"connection_id":172294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c61"} 
[2026-09-04 18:00:04] local.INFO: GPS Element Parsed {"raw_longitude":751383616,"raw_latitude":122433728,"longitude_deg":75.1383616,"latitude_deg":12.2433728,"altitude":10,"angle":73,"satellites":50,"speed":59,"hex_longitude":"2cc93440","hex_latitude":"074c30c0","is_valid_coordinates":true} 
[2026-09-04 18:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862320640001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398312634216087552,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3955145603907012608,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788524694000,"timestamp_ms":1788524694000,"timestamp_seconds":1788524694,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6109f0"} 
[2026-09-04 18:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 18:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862320640001,"66":27908,"161":206,"85":37632,"24":59,"16":398312634216087552,"44":-3955145603907012608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-04 18:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862320640001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:00:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-04 18:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398312634216087552,"km_value":398312634216087.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:00:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3955145603907012608,"description":"Unknown IO ID 44"} 
[2026-09-04 18:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862320640001,"power":27908,"unknown_161":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3955145603907012608}} 
[2026-09-04 18:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":172294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:00:05] local.INFO: GPS data processed {"connection_id":172294,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:00:05] local.INFO: Acknowledgment sent {"connection_id":172294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:00:21] local.INFO: TCP Data received {"connection_id":170896,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:00:21] local.INFO: Processing buffer {"connection_id":170896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:00:21] local.INFO: IMEI packet received {"connection_id":170896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":170896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:00:25] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c649fe8012d19330007233a480050002b25..."} 
[2026-09-04 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c649fe8012d19330007233a480050002b25..."} 
[2026-09-04 18:00:25] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c649fe8012d19330007233a480050002b25..."} 
[2026-09-04 18:00:25] local.INFO: Packet analysis {"connection_id":173592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c64"} 
[2026-09-04 18:00:25] local.INFO: Extracted packet for processing {"connection_id":173592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c64"} 
[2026-09-04 18:00:25] local.INFO: GPS Element Parsed {"raw_longitude":756626176,"raw_latitude":119749192,"longitude_deg":75.6626176,"latitude_deg":11.9749192,"altitude":80,"angle":43,"satellites":37,"speed":45,"hex_longitude":"2d193300","hex_latitude":"07233a48","is_valid_coordinates":true} 
[2026-09-04 18:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862379776001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17370801955143680,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808547124764264448,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788524929000,"timestamp_ms":1788524929000,"timestamp_seconds":1788524929,"priority":1,"record_length":96,"hex_timestamp":"000001a06c649fe8"} 
[2026-09-04 18:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 18:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862379776001,"66":13972,"186":206,"83":42752,"24":45,"16":17370801955143680,"45":1808547124764264448},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-04 18:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862379776001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:00:25] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-04 18:00:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17370801955143680,"km_value":17370801955143.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808547124764264448,"description":"Unknown IO ID 45"} 
[2026-09-04 18:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862379776001,"power":13972,"unknown_186":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1808547124764264448}} 
[2026-09-04 18:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":173592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:00:25] local.INFO: GPS data processed {"connection_id":173592,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:00:25] local.INFO: Acknowledgment sent {"connection_id":173592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:00:26] local.INFO: TCP Data received {"connection_id":170896,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:00:26] local.INFO: Processing buffer {"connection_id":170896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:00:26] local.INFO: IMEI packet received {"connection_id":170896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":170896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:00:27] local.INFO: TCP Data received {"connection_id":170896,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c64d698012d7dbd8005c63e70000801071a..."} 
[2026-09-04 18:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c64d698012d7dbd8005c63e70000801071a..."} 
[2026-09-04 18:00:27] local.INFO: Processing buffer {"connection_id":170896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c64d698012d7dbd8005c63e70000801071a..."} 
[2026-09-04 18:00:27] local.INFO: Packet analysis {"connection_id":170896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c64"} 
[2026-09-04 18:00:27] local.INFO: Extracted packet for processing {"connection_id":170896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c64"} 
[2026-09-04 18:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763215232,"raw_latitude":96878192,"longitude_deg":76.3215232,"latitude_deg":9.6878192,"altitude":8,"angle":263,"satellites":26,"speed":49,"hex_longitude":"2d7dbd80","hex_latitude":"05c63e70","is_valid_coordinates":true} 
[2026-09-04 18:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862383360001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128214639325478912,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070812624278614016,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524943000,"timestamp_ms":1788524943000,"timestamp_seconds":1788524943,"priority":1,"record_length":96,"hex_timestamp":"000001a06c64d698"} 
[2026-09-04 18:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-04 18:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862383360001,"66":13428,"245":206,"85":12288,"24":49,"16":128214639325478912,"45":9070812624278614016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-09-04 18:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862383360001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128214639325478912,"km_value":128214639325478.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070812624278614016,"description":"Unknown IO ID 45"} 
[2026-09-04 18:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862383360001,"power":13428,"geofence_id":206,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":9070812624278614016}} 
[2026-09-04 18:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":170896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:00:27] local.INFO: GPS data processed {"connection_id":170896,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:00:27] local.INFO: Acknowledgment sent {"connection_id":170896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:00:36] local.INFO: TCP Data received {"connection_id":172294,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c612160012cc95680074c3d00000a004332..."} 
[2026-09-04 18:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c612160012cc95680074c3d00000a004332..."} 
[2026-09-04 18:00:36] local.INFO: Processing buffer {"connection_id":172294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c612160012cc95680074c3d00000a004332..."} 
[2026-09-04 18:00:36] local.INFO: Packet analysis {"connection_id":172294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c61"} 
[2026-09-04 18:00:36] local.INFO: Extracted packet for processing {"connection_id":172294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c61"} 
[2026-09-04 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":751392384,"raw_latitude":122436864,"longitude_deg":75.1392384,"latitude_deg":12.2436864,"altitude":10,"angle":67,"satellites":50,"speed":59,"hex_longitude":"2cc95680","hex_latitude":"074c3d00","is_valid_coordinates":true} 
[2026-09-04 18:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862321664001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313076597719040,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3948460573209870336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788524700000,"timestamp_ms":1788524700000,"timestamp_seconds":1788524700,"priority":1,"record_length":96,"hex_timestamp":"000001a06c612160"} 
[2026-09-04 18:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862321664001,"66":27876,"161":206,"85":37632,"24":59,"16":398313076597719040,"44":-3948460573209870336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-04 18:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862321664001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:00:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-04 18:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313076597719040,"km_value":398313076597719.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:00:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3948460573209870336,"description":"Unknown IO ID 44"} 
[2026-09-04 18:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862321664001,"power":27876,"unknown_161":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3948460573209870336}} 
[2026-09-04 18:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":172294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:00:36] local.INFO: GPS data processed {"connection_id":172294,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:00:36] local.INFO: Acknowledgment sent {"connection_id":172294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:00:47] local.INFO: TCP Data received {"connection_id":173594,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:00:47] local.INFO: Processing buffer {"connection_id":173594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:00:47] local.INFO: IMEI packet received {"connection_id":173594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":173594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:00:49] local.INFO: TCP Data received {"connection_id":170897,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:00:49] local.INFO: Processing buffer {"connection_id":170897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:00:49] local.INFO: IMEI packet received {"connection_id":170897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":170897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:00:52] local.INFO: TCP Data received {"connection_id":173594,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:00:52] local.INFO: Processing buffer {"connection_id":173594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:00:52] local.INFO: IMEI packet received {"connection_id":173594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":173594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:00:52] local.INFO: TCP Data received {"connection_id":173594,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:00:52] local.INFO: Processing buffer {"connection_id":173594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:00:52] local.INFO: IMEI packet received {"connection_id":173594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":173594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:00:53] local.INFO: TCP Data received {"connection_id":173594,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c659600012d1a27800723b6100030003823..."} 
[2026-09-04 18:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c659600012d1a27800723b6100030003823..."} 
[2026-09-04 18:00:53] local.INFO: Processing buffer {"connection_id":173594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c659600012d1a27800723b6100030003823..."} 
[2026-09-04 18:00:53] local.INFO: Packet analysis {"connection_id":173594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:00:53] local.INFO: Extracted packet for processing {"connection_id":173594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756688768,"raw_latitude":119780880,"longitude_deg":75.6688768,"latitude_deg":11.978088,"altitude":48,"angle":56,"satellites":35,"speed":37,"hex_longitude":"2d1a2780","hex_latitude":"0723b610","is_valid_coordinates":true} 
[2026-09-04 18:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862396928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17374401137737728,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880815825044062208,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788524992000,"timestamp_ms":1788524992000,"timestamp_seconds":1788524992,"priority":1,"record_length":96,"hex_timestamp":"000001a06c659600"} 
[2026-09-04 18:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-04 18:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862396928001,"66":14026,"43":206,"83":42752,"24":37,"16":17374401137737728,"45":1880815825044062208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-04 18:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862396928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:00:53] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-04 18:00:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17374401137737728,"km_value":17374401137737.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880815825044062208,"description":"Unknown IO ID 45"} 
[2026-09-04 18:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862396928001,"power":14026,"unknown_43":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1880815825044062208}} 
[2026-09-04 18:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":173594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:00:53] local.INFO: GPS data processed {"connection_id":173594,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:00:53] local.INFO: Acknowledgment sent {"connection_id":173594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:00:54] local.INFO: TCP Data received {"connection_id":170897,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:00:54] local.INFO: Processing buffer {"connection_id":170897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:00:54] local.INFO: IMEI packet received {"connection_id":170897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":170897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:00:55] local.INFO: TCP Data received {"connection_id":170897,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:00:55] local.INFO: Processing buffer {"connection_id":170897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:00:55] local.INFO: Packet analysis {"connection_id":170897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 18:00:55] local.INFO: Extracted packet for processing {"connection_id":170897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 18:00:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862286592001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788524858000,"timestamp_ms":1788524858000,"timestamp_seconds":1788524858,"priority":1,"record_length":96,"hex_timestamp":"000001a06c638a90"} 
[2026-09-04 18:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 18:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862286592001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862286592001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:00:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862286592001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":170897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764143,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:00:55] local.INFO: GPS data processed {"connection_id":170897,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:00:55] local.INFO: Acknowledgment sent {"connection_id":170897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:00:58] local.INFO: TCP Data received {"connection_id":173594,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c65ad70012d1a37800723c3580030002c28..."} 
[2026-09-04 18:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c65ad70012d1a37800723c3580030002c28..."} 
[2026-09-04 18:00:58] local.INFO: Processing buffer {"connection_id":173594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c65ad70012d1a37800723c3580030002c28..."} 
[2026-09-04 18:00:58] local.INFO: Packet analysis {"connection_id":173594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:00:58] local.INFO: Extracted packet for processing {"connection_id":173594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:00:58] local.INFO: GPS Element Parsed {"raw_longitude":756692864,"raw_latitude":119784280,"longitude_deg":75.6692864,"latitude_deg":11.978428,"altitude":48,"angle":44,"satellites":40,"speed":32,"hex_longitude":"2d1a3780","hex_latitude":"0723c358","is_valid_coordinates":true} 
[2026-09-04 18:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862397952001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17374654540808192,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884615737230102528,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788524998000,"timestamp_ms":1788524998000,"timestamp_seconds":1788524998,"priority":1,"record_length":96,"hex_timestamp":"000001a06c65ad70"} 
[2026-09-04 18:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-04 18:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862397952001,"66":14374,"43":206,"83":42752,"24":32,"16":17374654540808192,"45":1884615737230102528},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-04 18:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862397952001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:00:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-04 18:00:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17374654540808192,"km_value":17374654540808.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884615737230102528,"description":"Unknown IO ID 45"} 
[2026-09-04 18:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862397952001,"power":14374,"unknown_43":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1884615737230102528}} 
[2026-09-04 18:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":173594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:00:58] local.INFO: GPS data processed {"connection_id":173594,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:00:58] local.INFO: Acknowledgment sent {"connection_id":173594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:00:58] local.INFO: TCP Data received {"connection_id":172295,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:00:58] local.INFO: Processing buffer {"connection_id":172295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:00:58] local.INFO: IMEI packet received {"connection_id":172295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":172295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:00:59] local.INFO: TCP Data received {"connection_id":170896,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c663240012d7d3b4005c5bb48000a00a11d..."} 
[2026-09-04 18:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c663240012d7d3b4005c5bb48000a00a11d..."} 
[2026-09-04 18:00:59] local.INFO: Processing buffer {"connection_id":170896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c663240012d7d3b4005c5bb48000a00a11d..."} 
[2026-09-04 18:00:59] local.INFO: Packet analysis {"connection_id":170896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c66"} 
[2026-09-04 18:00:59] local.INFO: Extracted packet for processing {"connection_id":170896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c66"} 
[2026-09-04 18:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763181888,"raw_latitude":96844616,"longitude_deg":76.3181888,"latitude_deg":9.6844616,"altitude":10,"angle":161,"satellites":29,"speed":32,"hex_longitude":"2d7d3b40","hex_latitude":"05c5bb48","is_valid_coordinates":true} 
[2026-09-04 18:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862406912001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128217950745264128,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022961878230108160,"note":"Value kept but may cause issues"} 
[2026-09-04 18:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788525032000,"timestamp_ms":1788525032000,"timestamp_seconds":1788525032,"priority":1,"record_length":96,"hex_timestamp":"000001a06c663240"} 
[2026-09-04 18:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-04 18:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862406912001,"66":13656,"229":206,"85":12288,"24":32,"16":128217950745264128,"45":9022961878230108160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 18:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862406912001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:00:59] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 18:00:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128217950745264128,"km_value":128217950745264.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022961878230108160,"description":"Unknown IO ID 45"} 
[2026-09-04 18:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862406912001,"power":13656,"unknown_229":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9022961878230108160}} 
[2026-09-04 18:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":170896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:00:59] local.INFO: GPS data processed {"connection_id":170896,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:00:59] local.INFO: Acknowledgment sent {"connection_id":170896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:01:03] local.INFO: TCP Data received {"connection_id":172295,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:01:03] local.INFO: Processing buffer {"connection_id":172295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:01:03] local.INFO: IMEI packet received {"connection_id":172295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":172295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:01:04] local.INFO: TCP Data received {"connection_id":172295,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c612930012cc96180074c4140000a004532..."} 
[2026-09-04 18:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c612930012cc96180074c4140000a004532..."} 
[2026-09-04 18:01:04] local.INFO: Processing buffer {"connection_id":172295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c612930012cc96180074c4140000a004532..."} 
[2026-09-04 18:01:04] local.INFO: Packet analysis {"connection_id":172295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c61"} 
[2026-09-04 18:01:04] local.INFO: Extracted packet for processing {"connection_id":172295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c61"} 
[2026-09-04 18:01:04] local.INFO: GPS Element Parsed {"raw_longitude":751395200,"raw_latitude":122437952,"longitude_deg":75.13952,"latitude_deg":12.2437952,"altitude":10,"angle":69,"satellites":50,"speed":59,"hex_longitude":"2cc96180","hex_latitude":"074c4140","is_valid_coordinates":true} 
[2026-09-04 18:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862323200001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3938820055256727552,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788524702000,"timestamp_ms":1788524702000,"timestamp_seconds":1788524702,"priority":1,"record_length":96,"hex_timestamp":"000001a06c612930"} 
[2026-09-04 18:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 18:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862323200001,"66":27930,"161":206,"85":37632,"24":59,"16":398313222626607104,"44":-3938820055256727552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-04 18:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862323200001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:01:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-04 18:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:01:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3938820055256727552,"description":"Unknown IO ID 44"} 
[2026-09-04 18:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862323200001,"power":27930,"unknown_161":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3938820055256727552}} 
[2026-09-04 18:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":172295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:01:04] local.INFO: GPS data processed {"connection_id":172295,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:01:04] local.INFO: Acknowledgment sent {"connection_id":172295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:01:26] local.INFO: TCP Data received {"connection_id":170898,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:01:26] local.INFO: Processing buffer {"connection_id":170898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:01:26] local.INFO: IMEI packet received {"connection_id":170898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":170898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:01:27] local.INFO: TCP Data received {"connection_id":170897,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:01:27] local.INFO: Processing buffer {"connection_id":170897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:01:27] local.INFO: Packet analysis {"connection_id":170897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 18:01:27] local.INFO: Extracted packet for processing {"connection_id":170897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 18:01:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862286592001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524858000,"timestamp_ms":1788524858000,"timestamp_seconds":1788524858,"priority":1,"record_length":96,"hex_timestamp":"000001a06c638a90"} 
[2026-09-04 18:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 18:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862286592001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862286592001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:01:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:01:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862286592001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":170897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:01:27] local.INFO: GPS data processed {"connection_id":170897,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:01:27] local.INFO: Acknowledgment sent {"connection_id":170897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:01:29] local.INFO: TCP Data received {"connection_id":173594,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c65bd10012d1a3fc00723cd000031002128..."} 
[2026-09-04 18:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c65bd10012d1a3fc00723cd000031002128..."} 
[2026-09-04 18:01:29] local.INFO: Processing buffer {"connection_id":173594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c65bd10012d1a3fc00723cd000031002128..."} 
[2026-09-04 18:01:29] local.INFO: Packet analysis {"connection_id":173594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:01:29] local.INFO: Extracted packet for processing {"connection_id":173594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:01:29] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119786752,"longitude_deg":75.6694976,"latitude_deg":11.9786752,"altitude":49,"angle":33,"satellites":40,"speed":31,"hex_longitude":"2d1a3fc0","hex_latitude":"0723cd00","is_valid_coordinates":true} 
[2026-09-04 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862399488001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17374809159630848,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889119336858343424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788525002000,"timestamp_ms":1788525002000,"timestamp_seconds":1788525002,"priority":1,"record_length":96,"hex_timestamp":"000001a06c65bd10"} 
[2026-09-04 18:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-04 18:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862399488001,"66":14298,"43":206,"83":42752,"24":31,"16":17374809159630848,"45":1889119336858343424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-04 18:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862399488001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:01:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-04 18:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17374809159630848,"km_value":17374809159630.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889119336858343424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862399488001,"power":14298,"unknown_43":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1889119336858343424}} 
[2026-09-04 18:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":173594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:01:29] local.INFO: GPS data processed {"connection_id":173594,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:01:29] local.INFO: Acknowledgment sent {"connection_id":173594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:01:31] local.INFO: TCP Data received {"connection_id":170898,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:01:31] local.INFO: Processing buffer {"connection_id":170898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:01:31] local.INFO: IMEI packet received {"connection_id":170898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":170898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:01:32] local.INFO: TCP Data received {"connection_id":170898,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c664d98012d7d40c005c5a6e0000a00b122..."} 
[2026-09-04 18:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c664d98012d7d40c005c5a6e0000a00b122..."} 
[2026-09-04 18:01:32] local.INFO: Processing buffer {"connection_id":170898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c664d98012d7d40c005c5a6e0000a00b122..."} 
[2026-09-04 18:01:32] local.INFO: Packet analysis {"connection_id":170898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c66"} 
[2026-09-04 18:01:32] local.INFO: Extracted packet for processing {"connection_id":170898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c66"} 
[2026-09-04 18:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":96839392,"longitude_deg":76.3183296,"latitude_deg":9.6839392,"altitude":10,"angle":177,"satellites":34,"speed":29,"hex_longitude":"2d7d40c0","hex_latitude":"05c5a6e0","is_valid_coordinates":true} 
[2026-09-04 18:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862408192001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128218212738269184,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023876671903320064,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788525039000,"timestamp_ms":1788525039000,"timestamp_seconds":1788525039,"priority":1,"record_length":96,"hex_timestamp":"000001a06c664d98"} 
[2026-09-04 18:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-04 18:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862408192001,"66":13472,"229":206,"85":12288,"24":29,"16":128218212738269184,"45":9023876671903320064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 18:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862408192001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:01:32] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 18:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128218212738269184,"km_value":128218212738269.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023876671903320064,"description":"Unknown IO ID 45"} 
[2026-09-04 18:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862408192001,"power":13472,"unknown_229":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9023876671903320064}} 
[2026-09-04 18:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":170898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:01:32] local.INFO: GPS data processed {"connection_id":170898,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:01:32] local.INFO: Acknowledgment sent {"connection_id":170898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:01:35] local.INFO: TCP Data received {"connection_id":172295,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:01:35] local.INFO: Processing buffer {"connection_id":172295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:01:35] local.INFO: Packet analysis {"connection_id":172295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:01:35] local.INFO: Extracted packet for processing {"connection_id":172295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:01:35] local.INFO: GPS Element Parsed {"raw_longitude":751418176,"raw_latitude":122440288,"longitude_deg":75.1418176,"latitude_deg":12.2440288,"altitude":15,"angle":71,"satellites":47,"speed":0,"hex_longitude":"2cc9bb40","hex_latitude":"074c4a60","is_valid_coordinates":true} 
[2026-09-04 18:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862323712001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3935723830512631808,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788525007000,"timestamp_ms":1788525007000,"timestamp_seconds":1788525007,"priority":1,"record_length":96,"hex_timestamp":"000001a06c65d098"} 
[2026-09-04 18:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862323712001,"66":26484,"159":206,"85":37632,"24":0,"16":398313222626607104,"44":-3935723830512631808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862323712001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:01:35] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:01:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:01:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3935723830512631808,"description":"Unknown IO ID 44"} 
[2026-09-04 18:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862323712001,"power":26484,"unknown_159":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3935723830512631808}} 
[2026-09-04 18:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":172295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:01:35] local.INFO: GPS data processed {"connection_id":172295,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:01:35] local.INFO: Acknowledgment sent {"connection_id":172295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:01:36] local.INFO: TCP Data received {"connection_id":170898,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c667c78012d7d424005c583f8000a00b122..."} 
[2026-09-04 18:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c667c78012d7d424005c583f8000a00b122..."} 
[2026-09-04 18:01:36] local.INFO: Processing buffer {"connection_id":170898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c667c78012d7d424005c583f8000a00b122..."} 
[2026-09-04 18:01:36] local.INFO: Packet analysis {"connection_id":170898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c66"} 
[2026-09-04 18:01:36] local.INFO: Extracted packet for processing {"connection_id":170898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c66"} 
[2026-09-04 18:01:36] local.INFO: GPS Element Parsed {"raw_longitude":763183680,"raw_latitude":96830456,"longitude_deg":76.318368,"latitude_deg":9.6830456,"altitude":10,"angle":177,"satellites":34,"speed":31,"hex_longitude":"2d7d4240","hex_latitude":"05c583f8","is_valid_coordinates":true} 
[2026-09-04 18:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862409984001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128218646529966080,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784273891328,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788525051000,"timestamp_ms":1788525051000,"timestamp_seconds":1788525051,"priority":1,"record_length":96,"hex_timestamp":"000001a06c667c78"} 
[2026-09-04 18:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-04 18:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862409984001,"66":13580,"229":206,"85":12288,"24":31,"16":128218646529966080,"45":9025424784273891328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-04 18:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862409984001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:01:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-04 18:01:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128218646529966080,"km_value":128218646529966.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784273891328,"description":"Unknown IO ID 45"} 
[2026-09-04 18:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862409984001,"power":13580,"unknown_229":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9025424784273891328}} 
[2026-09-04 18:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":170898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:01:36] local.INFO: GPS data processed {"connection_id":170898,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:01:36] local.INFO: Acknowledgment sent {"connection_id":170898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:01:47] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:01:47] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:01:47] local.INFO: IMEI packet received {"connection_id":173596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":173596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:01:48] local.INFO: TCP Data received {"connection_id":173595,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:01:48] local.INFO: Processing buffer {"connection_id":173595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:01:48] local.INFO: IMEI packet received {"connection_id":173595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:01:52] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:01:52] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:01:52] local.INFO: IMEI packet received {"connection_id":173596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":173596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:01:53] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c65ebf0012d1a52800723ec28002e001e27..."} 
[2026-09-04 18:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c65ebf0012d1a52800723ec28002e001e27..."} 
[2026-09-04 18:01:53] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c65ebf0012d1a52800723ec28002e001e27..."} 
[2026-09-04 18:01:53] local.INFO: Packet analysis {"connection_id":173596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:01:53] local.INFO: Extracted packet for processing {"connection_id":173596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756699776,"raw_latitude":119794728,"longitude_deg":75.6699776,"latitude_deg":11.9794728,"altitude":46,"angle":30,"satellites":39,"speed":30,"hex_longitude":"2d1a5280","hex_latitude":"0723ec28","is_valid_coordinates":true} 
[2026-09-04 18:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862400512001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17375260131196928,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891441505416839168,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788525014000,"timestamp_ms":1788525014000,"timestamp_seconds":1788525014,"priority":1,"record_length":96,"hex_timestamp":"000001a06c65ebf0"} 
[2026-09-04 18:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 18:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862400512001,"66":14265,"43":206,"83":42752,"24":30,"16":17375260131196928,"45":1891441505416839168},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-04 18:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862400512001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:01:53] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-04 18:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17375260131196928,"km_value":17375260131196.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891441505416839168,"description":"Unknown IO ID 45"} 
[2026-09-04 18:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862400512001,"power":14265,"unknown_43":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1891441505416839168}} 
[2026-09-04 18:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":173596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:01:53] local.INFO: GPS data processed {"connection_id":173596,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:01:53] local.INFO: Acknowledgment sent {"connection_id":173596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:01:54] local.INFO: TCP Data received {"connection_id":173595,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:01:54] local.INFO: Processing buffer {"connection_id":173595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:01:54] local.INFO: IMEI packet received {"connection_id":173595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":173595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:01:55] local.INFO: TCP Data received {"connection_id":173595,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:01:55] local.INFO: Processing buffer {"connection_id":173595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:01:55] local.INFO: Packet analysis {"connection_id":173595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 18:01:55] local.INFO: Extracted packet for processing {"connection_id":173595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 18:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862286592001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788524858000,"timestamp_ms":1788524858000,"timestamp_seconds":1788524858,"priority":1,"record_length":96,"hex_timestamp":"000001a06c638a90"} 
[2026-09-04 18:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 18:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862286592001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862286592001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:01:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862286592001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":173595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:01:55] local.INFO: GPS data processed {"connection_id":173595,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:01:55] local.INFO: Acknowledgment sent {"connection_id":173595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:01:59] local.INFO: TCP Data received {"connection_id":172296,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:01:59] local.INFO: Processing buffer {"connection_id":172296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:01:59] local.INFO: IMEI packet received {"connection_id":172296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":172296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:02:04] local.INFO: TCP Data received {"connection_id":172296,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:02:04] local.INFO: Processing buffer {"connection_id":172296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:02:04] local.INFO: IMEI packet received {"connection_id":172296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":172296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:02:04] local.INFO: TCP Data received {"connection_id":172296,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:02:04] local.INFO: Processing buffer {"connection_id":172296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:02:04] local.INFO: Packet analysis {"connection_id":172296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:02:04] local.INFO: Extracted packet for processing {"connection_id":172296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:02:04] local.INFO: GPS Element Parsed {"raw_longitude":751418176,"raw_latitude":122440288,"longitude_deg":75.1418176,"latitude_deg":12.2440288,"altitude":15,"angle":71,"satellites":47,"speed":0,"hex_longitude":"2cc9bb40","hex_latitude":"074c4a60","is_valid_coordinates":true} 
[2026-09-04 18:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862323712001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3935723830512631808,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788525007000,"timestamp_ms":1788525007000,"timestamp_seconds":1788525007,"priority":1,"record_length":96,"hex_timestamp":"000001a06c65d098"} 
[2026-09-04 18:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862323712001,"66":26484,"159":206,"85":37632,"24":0,"16":398313222626607104,"44":-3935723830512631808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862323712001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:02:04] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:02:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3935723830512631808,"description":"Unknown IO ID 44"} 
[2026-09-04 18:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862323712001,"power":26484,"unknown_159":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3935723830512631808}} 
[2026-09-04 18:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":172296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:02:04] local.INFO: GPS data processed {"connection_id":172296,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:02:04] local.INFO: Acknowledgment sent {"connection_id":172296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:02:21] local.INFO: TCP Data received {"connection_id":171188,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:02:21] local.INFO: Processing buffer {"connection_id":171188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:02:21] local.INFO: IMEI packet received {"connection_id":171188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":171188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:02:25] local.INFO: TCP Data received {"connection_id":171188,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:02:25] local.INFO: Processing buffer {"connection_id":171188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:02:25] local.INFO: IMEI packet received {"connection_id":171188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":171188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:02:26] local.INFO: TCP Data received {"connection_id":171188,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c66ab58012d7d420005c560f8000d00b222..."} 
[2026-09-04 18:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c66ab58012d7d420005c560f8000d00b222..."} 
[2026-09-04 18:02:26] local.INFO: Processing buffer {"connection_id":171188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c66ab58012d7d420005c560f8000d00b222..."} 
[2026-09-04 18:02:26] local.INFO: Packet analysis {"connection_id":171188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c66"} 
[2026-09-04 18:02:26] local.INFO: Extracted packet for processing {"connection_id":171188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c66"} 
[2026-09-04 18:02:26] local.INFO: GPS Element Parsed {"raw_longitude":763183616,"raw_latitude":96821496,"longitude_deg":76.3183616,"latitude_deg":9.6821496,"altitude":13,"angle":178,"satellites":34,"speed":30,"hex_longitude":"2d7d4200","hex_latitude":"05c560f8","is_valid_coordinates":true} 
[2026-09-04 18:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862413056001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128219080321662976,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996736669696,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788525063000,"timestamp_ms":1788525063000,"timestamp_seconds":1788525063,"priority":1,"record_length":96,"hex_timestamp":"000001a06c66ab58"} 
[2026-09-04 18:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630212,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4069973132096569344,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":197,"raw_value":4026007560,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470086117,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1508180174,"corrected_to":0} 
[2026-09-04 18:02:26] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2818649469,"corrected_to":0} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4467796586549792341,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2230452224,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3323121664,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030035849936902,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:26] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,229,85,24,241,157,16,134,160,77,45,192,166,10,34,66,133,50,64,187,29,30,1,240,181,227,108,197,4,113,205,35,247,51,248,33,239,52,2,199,5,6,36,125,48],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1508180174,"validated":0},{"io_id":247,"original":2818649469,"validated":0}]} 
[2026-09-04 18:02:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720770699968315392,"timestamp_seconds":720770699968315.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862413056001,"66":13820,"227":206,"85":12288,"24":30,"16":128219080321662976,"45":9025846996736669696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-04 18:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862413056001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:02:26] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 18:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128219080321662976,"km_value":128219080321662.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996736669696,"description":"Unknown IO ID 45"} 
[2026-09-04 18:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862413056001,"power":13820,"unknown_227":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9025846996736669696}} 
[2026-09-04 18:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":171188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:02:26] local.INFO: GPS data processed {"connection_id":171188,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:02:26] local.INFO: Acknowledgment sent {"connection_id":171188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:02:27] local.INFO: TCP Data received {"connection_id":173595,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:02:27] local.INFO: Processing buffer {"connection_id":173595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:02:27] local.INFO: Packet analysis {"connection_id":173595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 18:02:27] local.INFO: Extracted packet for processing {"connection_id":173595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 18:02:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862286592001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788524858000,"timestamp_ms":1788524858000,"timestamp_seconds":1788524858,"priority":1,"record_length":96,"hex_timestamp":"000001a06c638a90"} 
[2026-09-04 18:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 18:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862286592001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862286592001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:02:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:02:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862286592001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":173595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:02:27] local.INFO: GPS data processed {"connection_id":173595,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:02:27] local.INFO: Acknowledgment sent {"connection_id":173595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:02:27] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6710e8012d1a7700072443700039002f29..."} 
[2026-09-04 18:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6710e8012d1a7700072443700039002f29..."} 
[2026-09-04 18:02:27] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6710e8012d1a7700072443700039002f29..."} 
[2026-09-04 18:02:27] local.INFO: Packet analysis {"connection_id":173596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c67"} 
[2026-09-04 18:02:27] local.INFO: Extracted packet for processing {"connection_id":173596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c67"} 
[2026-09-04 18:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756709120,"raw_latitude":119817072,"longitude_deg":75.670912,"latitude_deg":11.9817072,"altitude":57,"angle":47,"satellites":41,"speed":14,"hex_longitude":"2d1a7700","hex_latitude":"07244370","is_valid_coordinates":true} 
[2026-09-04 18:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862422016001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17376613045895168,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906078204213383168,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525089000,"timestamp_ms":1788525089000,"timestamp_seconds":1788525089,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6710e8"} 
[2026-09-04 18:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-04 18:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862422016001,"66":13972,"186":206,"83":42752,"24":14,"16":17376613045895168,"45":1906078204213383168},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-04 18:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862422016001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:02:27] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-04 18:02:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17376613045895168,"km_value":17376613045895.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906078204213383168,"description":"Unknown IO ID 45"} 
[2026-09-04 18:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862422016001,"power":13972,"unknown_186":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1906078204213383168}} 
[2026-09-04 18:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":173596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:02:27] local.INFO: GPS data processed {"connection_id":173596,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:02:27] local.INFO: Acknowledgment sent {"connection_id":173596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:02:35] local.INFO: TCP Data received {"connection_id":172296,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:02:35] local.INFO: Processing buffer {"connection_id":172296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:02:35] local.INFO: Packet analysis {"connection_id":172296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:02:35] local.INFO: Extracted packet for processing {"connection_id":172296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:02:35] local.INFO: GPS Element Parsed {"raw_longitude":751418176,"raw_latitude":122440288,"longitude_deg":75.1418176,"latitude_deg":12.2440288,"altitude":15,"angle":71,"satellites":47,"speed":0,"hex_longitude":"2cc9bb40","hex_latitude":"074c4a60","is_valid_coordinates":true} 
[2026-09-04 18:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862323712001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3935723830512631808,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788525007000,"timestamp_ms":1788525007000,"timestamp_seconds":1788525007,"priority":1,"record_length":96,"hex_timestamp":"000001a06c65d098"} 
[2026-09-04 18:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862323712001,"66":26484,"159":206,"85":37632,"24":0,"16":398313222626607104,"44":-3935723830512631808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862323712001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:02:35] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:02:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:02:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3935723830512631808,"description":"Unknown IO ID 44"} 
[2026-09-04 18:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862323712001,"power":26484,"unknown_159":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3935723830512631808}} 
[2026-09-04 18:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":172296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:02:36] local.INFO: GPS data processed {"connection_id":172296,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:02:36] local.INFO: Acknowledgment sent {"connection_id":172296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:02:48] local.INFO: TCP Data received {"connection_id":172297,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:02:48] local.INFO: Processing buffer {"connection_id":172297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:02:48] local.INFO: IMEI packet received {"connection_id":172297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":172297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:02:52] local.INFO: TCP Data received {"connection_id":172298,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:02:52] local.INFO: Processing buffer {"connection_id":172298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:02:52] local.INFO: IMEI packet received {"connection_id":172298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":172298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:02:52] local.INFO: TCP Data received {"connection_id":172298,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:02:52] local.INFO: Processing buffer {"connection_id":172298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:02:52] local.INFO: IMEI packet received {"connection_id":172298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":172298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:02:53] local.INFO: TCP Data received {"connection_id":172297,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:02:53] local.INFO: Processing buffer {"connection_id":172297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:02:53] local.INFO: IMEI packet received {"connection_id":172297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":172297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:02:54] local.INFO: TCP Data received {"connection_id":172297,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:02:54] local.INFO: Processing buffer {"connection_id":172297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c638a90012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:02:54] local.INFO: Packet analysis {"connection_id":172297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 18:02:54] local.INFO: Extracted packet for processing {"connection_id":172297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c63"} 
[2026-09-04 18:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862286592001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788524858000,"timestamp_ms":1788524858000,"timestamp_seconds":1788524858,"priority":1,"record_length":96,"hex_timestamp":"000001a06c638a90"} 
[2026-09-04 18:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 18:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862286592001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862286592001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:02:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:02:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862286592001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":172297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:02:54] local.INFO: GPS data processed {"connection_id":172297,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:02:54] local.INFO: Acknowledgment sent {"connection_id":172297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:02:57] local.INFO: TCP Data received {"connection_id":172298,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:02:57] local.INFO: Processing buffer {"connection_id":172298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:02:57] local.INFO: IMEI packet received {"connection_id":172298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":172298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:02:57] local.INFO: TCP Data received {"connection_id":171188,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c684580012d7d45c005c447480010009c1f..."} 
[2026-09-04 18:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c684580012d7d45c005c447480010009c1f..."} 
[2026-09-04 18:02:57] local.INFO: Processing buffer {"connection_id":171188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c684580012d7d45c005c447480010009c1f..."} 
[2026-09-04 18:02:57] local.INFO: Packet analysis {"connection_id":171188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:02:57] local.INFO: Extracted packet for processing {"connection_id":171188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:02:57] local.INFO: GPS Element Parsed {"raw_longitude":763184576,"raw_latitude":96749384,"longitude_deg":76.3184576,"latitude_deg":9.6749384,"altitude":16,"angle":156,"satellites":31,"speed":2,"hex_longitude":"2d7d45c0","hex_latitude":"05c44748","is_valid_coordinates":true} 
[2026-09-04 18:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862438656001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128222602194845696,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026832159134648320,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788525168000,"timestamp_ms":1788525168000,"timestamp_seconds":1788525168,"priority":1,"record_length":96,"hex_timestamp":"000001a06c684580"} 
[2026-09-04 18:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-04 18:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862438656001,"66":13678,"227":206,"85":12288,"24":2,"16":128222602194845696,"45":9026832159134648320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-04 18:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862438656001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:02:57] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 18:02:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128222602194845696,"km_value":128222602194845.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026832159134648320,"description":"Unknown IO ID 45"} 
[2026-09-04 18:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862438656001,"power":13678,"unknown_227":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":9026832159134648320}} 
[2026-09-04 18:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":171188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:02:57] local.INFO: GPS data processed {"connection_id":171188,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:02:57] local.INFO: Acknowledgment sent {"connection_id":171188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:02:58] local.INFO: TCP Data received {"connection_id":172298,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c672470012d1a7c80072448f8003c002328..."} 
[2026-09-04 18:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c672470012d1a7c80072448f8003c002328..."} 
[2026-09-04 18:02:58] local.INFO: Processing buffer {"connection_id":172298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c672470012d1a7c80072448f8003c002328..."} 
[2026-09-04 18:02:58] local.INFO: Packet analysis {"connection_id":172298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c67"} 
[2026-09-04 18:02:58] local.INFO: Extracted packet for processing {"connection_id":172298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c67"} 
[2026-09-04 18:02:58] local.INFO: GPS Element Parsed {"raw_longitude":756710528,"raw_latitude":119818488,"longitude_deg":75.6710528,"latitude_deg":11.9818488,"altitude":60,"angle":35,"satellites":40,"speed":15,"hex_longitude":"2d1a7c80","hex_latitude":"072448f8","is_valid_coordinates":true} 
[2026-09-04 18:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862422784001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17376711830142976,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906992997887864832,"note":"Value kept but may cause issues"} 
[2026-09-04 18:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788525094000,"timestamp_ms":1788525094000,"timestamp_seconds":1788525094,"priority":1,"record_length":96,"hex_timestamp":"000001a06c672470"} 
[2026-09-04 18:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-04 18:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862422784001,"66":13993,"186":206,"83":42752,"24":15,"16":17376711830142976,"45":1906992997887864832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-04 18:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862422784001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:02:58] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-04 18:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17376711830142976,"km_value":17376711830142.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906992997887864832,"description":"Unknown IO ID 45"} 
[2026-09-04 18:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862422784001,"power":13993,"unknown_186":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1906992997887864832}} 
[2026-09-04 18:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":172298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:02:58] local.INFO: GPS data processed {"connection_id":172298,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:02:58] local.INFO: Acknowledgment sent {"connection_id":172298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:02:59] local.INFO: TCP Data received {"connection_id":170899,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:02:59] local.INFO: Processing buffer {"connection_id":170899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:02:59] local.INFO: IMEI packet received {"connection_id":170899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":170899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:03:04] local.INFO: TCP Data received {"connection_id":170899,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:03:04] local.INFO: Processing buffer {"connection_id":170899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:03:04] local.INFO: IMEI packet received {"connection_id":170899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":170899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:03:04] local.INFO: TCP Data received {"connection_id":170899,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:03:04] local.INFO: Processing buffer {"connection_id":170899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:03:04] local.INFO: Packet analysis {"connection_id":170899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:03:04] local.INFO: Extracted packet for processing {"connection_id":170899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:03:04] local.INFO: GPS Element Parsed {"raw_longitude":751418176,"raw_latitude":122440288,"longitude_deg":75.1418176,"latitude_deg":12.2440288,"altitude":15,"angle":71,"satellites":47,"speed":0,"hex_longitude":"2cc9bb40","hex_latitude":"074c4a60","is_valid_coordinates":true} 
[2026-09-04 18:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862323712001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3935723830512631808,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788525007000,"timestamp_ms":1788525007000,"timestamp_seconds":1788525007,"priority":1,"record_length":96,"hex_timestamp":"000001a06c65d098"} 
[2026-09-04 18:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862323712001,"66":26484,"159":206,"85":37632,"24":0,"16":398313222626607104,"44":-3935723830512631808},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862323712001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:03:04] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3935723830512631808,"description":"Unknown IO ID 44"} 
[2026-09-04 18:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862323712001,"power":26484,"unknown_159":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3935723830512631808}} 
[2026-09-04 18:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":170899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:03:04] local.INFO: GPS data processed {"connection_id":170899,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:03:04] local.INFO: Acknowledgment sent {"connection_id":170899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:03:18] local.INFO: TCP Data received {"connection_id":173597,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:03:18] local.INFO: Processing buffer {"connection_id":173597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:03:18] local.INFO: IMEI packet received {"connection_id":173597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":173597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:03:21] local.INFO: TCP Data received {"connection_id":173597,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:03:21] local.INFO: Processing buffer {"connection_id":173597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:03:21] local.INFO: IMEI packet received {"connection_id":173597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":173597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:03:26] local.INFO: TCP Data received {"connection_id":172297,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:03:26] local.INFO: Processing buffer {"connection_id":172297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:03:26] local.INFO: Packet analysis {"connection_id":172297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:03:26] local.INFO: Extracted packet for processing {"connection_id":172297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:03:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862363648001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788525159000,"timestamp_ms":1788525159000,"timestamp_seconds":1788525159,"priority":1,"record_length":96,"hex_timestamp":"000001a06c682258"} 
[2026-09-04 18:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862363648001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862363648001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:03:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:03:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862363648001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":172297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:03:26] local.INFO: GPS data processed {"connection_id":172297,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:03:26] local.INFO: Acknowledgment sent {"connection_id":172297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:03:26] local.INFO: TCP Data received {"connection_id":173597,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:03:26] local.INFO: Processing buffer {"connection_id":173597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:03:26] local.INFO: IMEI packet received {"connection_id":173597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":173597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:03:27] local.INFO: TCP Data received {"connection_id":173597,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c684968012d7d45c005c44688001000ab1f..."} 
[2026-09-04 18:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c684968012d7d45c005c44688001000ab1f..."} 
[2026-09-04 18:03:27] local.INFO: Processing buffer {"connection_id":173597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c684968012d7d45c005c44688001000ab1f..."} 
[2026-09-04 18:03:27] local.INFO: Packet analysis {"connection_id":173597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:03:27] local.INFO: Extracted packet for processing {"connection_id":173597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763184576,"raw_latitude":96749192,"longitude_deg":76.3184576,"latitude_deg":9.6749192,"altitude":16,"angle":171,"satellites":31,"speed":4,"hex_longitude":"2d7d45c0","hex_latitude":"05c44688","is_valid_coordinates":true} 
[2026-09-04 18:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862443008001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128222610784780288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026832159134402560,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525169000,"timestamp_ms":1788525169000,"timestamp_seconds":1788525169,"priority":1,"record_length":96,"hex_timestamp":"000001a06c684968"} 
[2026-09-04 18:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 18:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862443008001,"66":13646,"227":206,"85":12288,"24":4,"16":128222610784780288,"45":9026832159134402560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-04 18:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862443008001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:03:27] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 18:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128222610784780288,"km_value":128222610784780.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026832159134402560,"description":"Unknown IO ID 45"} 
[2026-09-04 18:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862443008001,"power":13646,"unknown_227":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":9026832159134402560}} 
[2026-09-04 18:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":173597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:03:27] local.INFO: GPS data processed {"connection_id":173597,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:03:27] local.INFO: Acknowledgment sent {"connection_id":173597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:03:29] local.INFO: TCP Data received {"connection_id":172298,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c675350012d1a85c007245a30004300172b..."} 
[2026-09-04 18:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c675350012d1a85c007245a30004300172b..."} 
[2026-09-04 18:03:29] local.INFO: Processing buffer {"connection_id":172298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c675350012d1a85c007245a30004300172b..."} 
[2026-09-04 18:03:29] local.INFO: Packet analysis {"connection_id":172298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c67"} 
[2026-09-04 18:03:29] local.INFO: Extracted packet for processing {"connection_id":172298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c67"} 
[2026-09-04 18:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756712896,"raw_latitude":119822896,"longitude_deg":75.6712896,"latitude_deg":11.9822896,"altitude":67,"angle":23,"satellites":43,"speed":16,"hex_longitude":"2d1a85c0","hex_latitude":"07245a30","is_valid_coordinates":true} 
[2026-09-04 18:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862424064001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17376952348311552,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908541110260135936,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788525106000,"timestamp_ms":1788525106000,"timestamp_seconds":1788525106,"priority":1,"record_length":96,"hex_timestamp":"000001a06c675350"} 
[2026-09-04 18:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 18:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862424064001,"66":13993,"186":206,"83":42752,"24":16,"16":17376952348311552,"45":1908541110260135936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-04 18:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862424064001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:03:29] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-04 18:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17376952348311552,"km_value":17376952348311.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908541110260135936,"description":"Unknown IO ID 45"} 
[2026-09-04 18:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862424064001,"power":13993,"unknown_186":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1908541110260135936}} 
[2026-09-04 18:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":172298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:03:29] local.INFO: GPS data processed {"connection_id":172298,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:03:29] local.INFO: Acknowledgment sent {"connection_id":172298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:03:35] local.INFO: TCP Data received {"connection_id":170899,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:03:35] local.INFO: Processing buffer {"connection_id":170899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:03:35] local.INFO: Packet analysis {"connection_id":170899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:03:35] local.INFO: Extracted packet for processing {"connection_id":170899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:03:35] local.INFO: GPS Element Parsed {"raw_longitude":751418176,"raw_latitude":122440288,"longitude_deg":75.1418176,"latitude_deg":12.2440288,"altitude":15,"angle":71,"satellites":47,"speed":0,"hex_longitude":"2cc9bb40","hex_latitude":"074c4a60","is_valid_coordinates":true} 
[2026-09-04 18:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862323712001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3935723830512631808,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788525007000,"timestamp_ms":1788525007000,"timestamp_seconds":1788525007,"priority":1,"record_length":96,"hex_timestamp":"000001a06c65d098"} 
[2026-09-04 18:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862323712001,"66":26484,"159":206,"85":37632,"24":0,"16":398313222626607104,"44":-3935723830512631808},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862323712001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:03:35] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:03:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:03:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3935723830512631808,"description":"Unknown IO ID 44"} 
[2026-09-04 18:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862323712001,"power":26484,"unknown_159":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3935723830512631808}} 
[2026-09-04 18:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":170899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:03:35] local.INFO: GPS data processed {"connection_id":170899,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:03:35] local.INFO: Acknowledgment sent {"connection_id":170899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:03:48] local.INFO: TCP Data received {"connection_id":173598,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:03:48] local.INFO: Processing buffer {"connection_id":173598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:03:48] local.INFO: IMEI packet received {"connection_id":173598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":173598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:03:53] local.INFO: TCP Data received {"connection_id":173598,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:03:53] local.INFO: Processing buffer {"connection_id":173598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:03:53] local.INFO: IMEI packet received {"connection_id":173598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":173598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:03:54] local.INFO: TCP Data received {"connection_id":170900,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:03:54] local.INFO: Processing buffer {"connection_id":170900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:03:54] local.INFO: IMEI packet received {"connection_id":170900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":170900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:03:54] local.INFO: TCP Data received {"connection_id":173598,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c677a60012d1a8b40072468600049000b2c..."} 
[2026-09-04 18:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c677a60012d1a8b40072468600049000b2c..."} 
[2026-09-04 18:03:54] local.INFO: Processing buffer {"connection_id":173598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c677a60012d1a8b40072468600049000b2c..."} 
[2026-09-04 18:03:54] local.INFO: Packet analysis {"connection_id":173598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c67"} 
[2026-09-04 18:03:54] local.INFO: Extracted packet for processing {"connection_id":173598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c67"} 
[2026-09-04 18:03:54] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119826528,"longitude_deg":75.6714304,"latitude_deg":11.9826528,"altitude":73,"angle":11,"satellites":44,"speed":15,"hex_longitude":"2d1a8b40","hex_latitude":"07246860","is_valid_coordinates":true} 
[2026-09-04 18:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862427136001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17377141326872576,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911144753795837952,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788525116000,"timestamp_ms":1788525116000,"timestamp_seconds":1788525116,"priority":1,"record_length":96,"hex_timestamp":"000001a06c677a60"} 
[2026-09-04 18:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-04 18:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862427136001,"66":13972,"137":206,"83":42752,"24":15,"16":17377141326872576,"45":1911144753795837952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-04 18:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862427136001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:03:54] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 18:03:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17377141326872576,"km_value":17377141326872.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911144753795837952,"description":"Unknown IO ID 45"} 
[2026-09-04 18:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862427136001,"power":13972,"unknown_137":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1911144753795837952}} 
[2026-09-04 18:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":173598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:03:54] local.INFO: GPS data processed {"connection_id":173598,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:03:54] local.INFO: Acknowledgment sent {"connection_id":173598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:03:58] local.INFO: TCP Data received {"connection_id":173597,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c685520012d7d458005c44348001000bb21..."} 
[2026-09-04 18:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c685520012d7d458005c44348001000bb21..."} 
[2026-09-04 18:03:58] local.INFO: Processing buffer {"connection_id":173597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c685520012d7d458005c44348001000bb21..."} 
[2026-09-04 18:03:58] local.INFO: Packet analysis {"connection_id":173597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:03:58] local.INFO: Extracted packet for processing {"connection_id":173597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763184512,"raw_latitude":96748360,"longitude_deg":76.3184512,"latitude_deg":9.674836,"altitude":16,"angle":187,"satellites":33,"speed":13,"hex_longitude":"2d7d4580","hex_latitude":"05c44348","is_valid_coordinates":true} 
[2026-09-04 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862443264001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128222649439485952,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026832159134353408,"note":"Value kept but may cause issues"} 
[2026-09-04 18:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788525172000,"timestamp_ms":1788525172000,"timestamp_seconds":1788525172,"priority":1,"record_length":96,"hex_timestamp":"000001a06c685520"} 
[2026-09-04 18:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-04 18:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862443264001,"66":12765,"227":206,"85":12288,"24":13,"16":128222649439485952,"45":9026832159134353408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-04 18:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862443264001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:03:58] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 18:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128222649439485952,"km_value":128222649439485.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026832159134353408,"description":"Unknown IO ID 45"} 
[2026-09-04 18:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862443264001,"power":12765,"unknown_227":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":9026832159134353408}} 
[2026-09-04 18:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":173597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:03:58] local.INFO: GPS data processed {"connection_id":173597,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:03:58] local.INFO: Acknowledgment sent {"connection_id":173597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:03:58] local.INFO: TCP Data received {"connection_id":173599,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:03:58] local.INFO: Processing buffer {"connection_id":173599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:03:58] local.INFO: IMEI packet received {"connection_id":173599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":173599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:03:59] local.INFO: TCP Data received {"connection_id":170900,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:03:59] local.INFO: Processing buffer {"connection_id":170900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:03:59] local.INFO: IMEI packet received {"connection_id":170900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":170900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:04:00] local.INFO: TCP Data received {"connection_id":170900,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:04:00] local.INFO: Processing buffer {"connection_id":170900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:04:00] local.INFO: Packet analysis {"connection_id":170900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:04:00] local.INFO: Extracted packet for processing {"connection_id":170900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:04:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862363648001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788525159000,"timestamp_ms":1788525159000,"timestamp_seconds":1788525159,"priority":1,"record_length":96,"hex_timestamp":"000001a06c682258"} 
[2026-09-04 18:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862363648001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862363648001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:04:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:04:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862363648001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":170900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:04:00] local.INFO: GPS data processed {"connection_id":170900,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:04:00] local.INFO: Acknowledgment sent {"connection_id":170900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:04:04] local.INFO: TCP Data received {"connection_id":173599,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:04:04] local.INFO: Processing buffer {"connection_id":173599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:04:04] local.INFO: IMEI packet received {"connection_id":173599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":173599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:04:04] local.INFO: TCP Data received {"connection_id":173599,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:04:04] local.INFO: Processing buffer {"connection_id":173599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:04:04] local.INFO: Packet analysis {"connection_id":173599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:04:04] local.INFO: Extracted packet for processing {"connection_id":173599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":751418176,"raw_latitude":122440288,"longitude_deg":75.1418176,"latitude_deg":12.2440288,"altitude":15,"angle":71,"satellites":47,"speed":0,"hex_longitude":"2cc9bb40","hex_latitude":"074c4a60","is_valid_coordinates":true} 
[2026-09-04 18:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862323712001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3935723830512631808,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788525007000,"timestamp_ms":1788525007000,"timestamp_seconds":1788525007,"priority":1,"record_length":96,"hex_timestamp":"000001a06c65d098"} 
[2026-09-04 18:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862323712001,"66":26484,"159":206,"85":37632,"24":0,"16":398313222626607104,"44":-3935723830512631808},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862323712001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:04:04] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:04:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:04:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3935723830512631808,"description":"Unknown IO ID 44"} 
[2026-09-04 18:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862323712001,"power":26484,"unknown_159":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3935723830512631808}} 
[2026-09-04 18:04:04] local.INFO: TCP Data received {"connection_id":170900,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:04:04] local.INFO: Processing buffer {"connection_id":170900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:04:04] local.INFO: Packet analysis {"connection_id":170900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:04:04] local.INFO: Extracted packet for processing {"connection_id":170900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862363648001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788525159000,"timestamp_ms":1788525159000,"timestamp_seconds":1788525159,"priority":1,"record_length":96,"hex_timestamp":"000001a06c682258"} 
[2026-09-04 18:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862363648001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862363648001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:04:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:04:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862363648001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":173599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:04:04] local.INFO: GPS data processed {"connection_id":173599,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:04:04] local.INFO: Acknowledgment sent {"connection_id":173599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":170900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:04:05] local.INFO: GPS data processed {"connection_id":170900,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:04:05] local.INFO: Acknowledgment sent {"connection_id":170900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:04:21] local.INFO: TCP Data received {"connection_id":171189,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:04:21] local.INFO: Processing buffer {"connection_id":171189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:04:21] local.INFO: IMEI packet received {"connection_id":171189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":171189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:04:25] local.INFO: TCP Data received {"connection_id":173598,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c68f930012d1ac8c00724e8c0004b014b28..."} 
[2026-09-04 18:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c68f930012d1ac8c00724e8c0004b014b28..."} 
[2026-09-04 18:04:25] local.INFO: Processing buffer {"connection_id":173598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c68f930012d1ac8c00724e8c0004b014b28..."} 
[2026-09-04 18:04:25] local.INFO: Packet analysis {"connection_id":173598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:04:25] local.INFO: Extracted packet for processing {"connection_id":173598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:04:25] local.INFO: GPS Element Parsed {"raw_longitude":756730048,"raw_latitude":119859392,"longitude_deg":75.6730048,"latitude_deg":11.9859392,"altitude":75,"angle":331,"satellites":40,"speed":7,"hex_longitude":"2d1ac8c0","hex_latitude":"0724e8c0","is_valid_coordinates":true} 
[2026-09-04 18:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862454272001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17379009637646336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930073945988874240,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788525214000,"timestamp_ms":1788525214000,"timestamp_seconds":1788525214,"priority":1,"record_length":96,"hex_timestamp":"000001a06c68f930"} 
[2026-09-04 18:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-04 18:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862454272001,"66":12863,"175":206,"83":42752,"24":7,"16":17379009637646336,"45":1930073945988874240},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-04 18:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862454272001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:04:25] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:04:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17379009637646336,"km_value":17379009637646.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930073945988874240,"description":"Unknown IO ID 45"} 
[2026-09-04 18:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862454272001,"power":12863,"unknown_175":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1930073945988874240}} 
[2026-09-04 18:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":173598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:04:25] local.INFO: GPS data processed {"connection_id":173598,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:04:25] local.INFO: Acknowledgment sent {"connection_id":173598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:04:26] local.INFO: TCP Data received {"connection_id":171189,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:04:26] local.INFO: Processing buffer {"connection_id":171189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:04:26] local.INFO: IMEI packet received {"connection_id":171189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":171189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:04:27] local.INFO: TCP Data received {"connection_id":171189,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c688400012d7d440005c41de0001000b621..."} 
[2026-09-04 18:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c688400012d7d440005c41de0001000b621..."} 
[2026-09-04 18:04:27] local.INFO: Processing buffer {"connection_id":171189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c688400012d7d440005c41de0001000b621..."} 
[2026-09-04 18:04:27] local.INFO: Packet analysis {"connection_id":171189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:04:27] local.INFO: Extracted packet for processing {"connection_id":171189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763184128,"raw_latitude":96738784,"longitude_deg":76.3184128,"latitude_deg":9.6738784,"altitude":16,"angle":182,"satellites":33,"speed":41,"hex_longitude":"2d7d4400","hex_latitude":"05c41de0","is_valid_coordinates":true} 
[2026-09-04 18:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862444032001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128223117590921216,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026761790389962752,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525184000,"timestamp_ms":1788525184000,"timestamp_seconds":1788525184,"priority":1,"record_length":96,"hex_timestamp":"000001a06c688400"} 
[2026-09-04 18:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-04 18:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862444032001,"66":13526,"227":206,"85":12288,"24":41,"16":128223117590921216,"45":9026761790389962752},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-04 18:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862444032001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:04:27] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 18:04:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128223117590921216,"km_value":128223117590921.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026761790389962752,"description":"Unknown IO ID 45"} 
[2026-09-04 18:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862444032001,"power":13526,"unknown_227":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9026761790389962752}} 
[2026-09-04 18:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":171189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:04:27] local.INFO: GPS data processed {"connection_id":171189,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:04:27] local.INFO: Acknowledgment sent {"connection_id":171189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:04:35] local.INFO: TCP Data received {"connection_id":173599,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:04:35] local.INFO: Processing buffer {"connection_id":173599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:04:35] local.INFO: Packet analysis {"connection_id":173599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:04:35] local.INFO: Extracted packet for processing {"connection_id":173599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":751418176,"raw_latitude":122440288,"longitude_deg":75.1418176,"latitude_deg":12.2440288,"altitude":15,"angle":71,"satellites":47,"speed":0,"hex_longitude":"2cc9bb40","hex_latitude":"074c4a60","is_valid_coordinates":true} 
[2026-09-04 18:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862323712001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3935723830512631808,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788525007000,"timestamp_ms":1788525007000,"timestamp_seconds":1788525007,"priority":1,"record_length":96,"hex_timestamp":"000001a06c65d098"} 
[2026-09-04 18:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862323712001,"66":26484,"159":206,"85":37632,"24":0,"16":398313222626607104,"44":-3935723830512631808},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862323712001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:04:35] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:04:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:04:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3935723830512631808,"description":"Unknown IO ID 44"} 
[2026-09-04 18:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862323712001,"power":26484,"unknown_159":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3935723830512631808}} 
[2026-09-04 18:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":173599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:04:35] local.INFO: GPS data processed {"connection_id":173599,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:04:35] local.INFO: Acknowledgment sent {"connection_id":173599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:04:48] local.INFO: TCP Data received {"connection_id":172299,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:04:48] local.INFO: Processing buffer {"connection_id":172299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:04:48] local.INFO: IMEI packet received {"connection_id":172299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":172299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:04:49] local.INFO: TCP Data received {"connection_id":172300,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:04:49] local.INFO: Processing buffer {"connection_id":172300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:04:49] local.INFO: IMEI packet received {"connection_id":172300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":172300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:04:50] local.INFO: TCP Data received {"connection_id":172299,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:04:50] local.INFO: Processing buffer {"connection_id":172299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:04:50] local.INFO: IMEI packet received {"connection_id":172299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":172299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:04:51] local.INFO: TCP Data received {"connection_id":172299,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c691c58012d1ac5c00724ef20004a015928..."} 
[2026-09-04 18:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c691c58012d1ac5c00724ef20004a015928..."} 
[2026-09-04 18:04:51] local.INFO: Processing buffer {"connection_id":172299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c691c58012d1ac5c00724ef20004a015928..."} 
[2026-09-04 18:04:51] local.INFO: Packet analysis {"connection_id":172299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c69"} 
[2026-09-04 18:04:51] local.INFO: Extracted packet for processing {"connection_id":172299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c69"} 
[2026-09-04 18:04:51] local.INFO: GPS Element Parsed {"raw_longitude":756729280,"raw_latitude":119861024,"longitude_deg":75.672928,"latitude_deg":11.9861024,"altitude":74,"angle":345,"satellites":40,"speed":7,"hex_longitude":"2d1ac5c0","hex_latitude":"0724ef20","is_valid_coordinates":true} 
[2026-09-04 18:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862454784001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17379095536992256,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930003577244794880,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788525223000,"timestamp_ms":1788525223000,"timestamp_seconds":1788525223,"priority":1,"record_length":96,"hex_timestamp":"000001a06c691c58"} 
[2026-09-04 18:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 18:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862454784001,"66":13015,"175":206,"83":42752,"24":7,"16":17379095536992256,"45":1930003577244794880},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-04 18:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862454784001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:04:51] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:04:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17379095536992256,"km_value":17379095536992.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930003577244794880,"description":"Unknown IO ID 45"} 
[2026-09-04 18:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862454784001,"power":13015,"unknown_175":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1930003577244794880}} 
[2026-09-04 18:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":172299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:04:51] local.INFO: GPS data processed {"connection_id":172299,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:04:51] local.INFO: Acknowledgment sent {"connection_id":172299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:04:54] local.INFO: TCP Data received {"connection_id":172300,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:04:54] local.INFO: Processing buffer {"connection_id":172300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:04:54] local.INFO: IMEI packet received {"connection_id":172300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":172300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:04:55] local.INFO: TCP Data received {"connection_id":172300,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:04:55] local.INFO: Processing buffer {"connection_id":172300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:04:55] local.INFO: Packet analysis {"connection_id":172300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:04:55] local.INFO: Extracted packet for processing {"connection_id":172300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:04:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862363648001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788525159000,"timestamp_ms":1788525159000,"timestamp_seconds":1788525159,"priority":1,"record_length":96,"hex_timestamp":"000001a06c682258"} 
[2026-09-04 18:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862363648001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862363648001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:04:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:04:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862363648001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":172300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:04:55] local.INFO: GPS data processed {"connection_id":172300,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:04:55] local.INFO: Acknowledgment sent {"connection_id":172300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:04:58] local.INFO: TCP Data received {"connection_id":171189,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c68a340012d7d40c005c3f938001000b720..."} 
[2026-09-04 18:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c68a340012d7d40c005c3f938001000b720..."} 
[2026-09-04 18:04:58] local.INFO: Processing buffer {"connection_id":171189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c68a340012d7d40c005c3f938001000b720..."} 
[2026-09-04 18:04:58] local.INFO: Packet analysis {"connection_id":171189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:04:58] local.INFO: Extracted packet for processing {"connection_id":171189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":96729400,"longitude_deg":76.3183296,"latitude_deg":9.67294,"altitude":16,"angle":183,"satellites":32,"speed":47,"hex_longitude":"2d7d40c0","hex_latitude":"05c3f938","is_valid_coordinates":true} 
[2026-09-04 18:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862447104001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128223572857454592,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026339577922445312,"note":"Value kept but may cause issues"} 
[2026-09-04 18:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788525192000,"timestamp_ms":1788525192000,"timestamp_seconds":1788525192,"priority":1,"record_length":96,"hex_timestamp":"000001a06c68a340"} 
[2026-09-04 18:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 18:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862447104001,"66":13493,"227":206,"85":12288,"24":47,"16":128223572857454592,"45":9026339577922445312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-04 18:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862447104001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:04:58] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 18:04:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128223572857454592,"km_value":128223572857454.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026339577922445312,"description":"Unknown IO ID 45"} 
[2026-09-04 18:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862447104001,"power":13493,"unknown_227":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9026339577922445312}} 
[2026-09-04 18:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":171189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:04:58] local.INFO: GPS data processed {"connection_id":171189,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:04:58] local.INFO: Acknowledgment sent {"connection_id":171189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:04:58] local.INFO: TCP Data received {"connection_id":170901,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:04:58] local.INFO: Processing buffer {"connection_id":170901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:04:58] local.INFO: IMEI packet received {"connection_id":170901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":170901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:05:04] local.INFO: TCP Data received {"connection_id":170901,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:05:04] local.INFO: Processing buffer {"connection_id":170901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:05:04] local.INFO: IMEI packet received {"connection_id":170901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":170901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:05:04] local.INFO: TCP Data received {"connection_id":170901,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:05:04] local.INFO: Processing buffer {"connection_id":170901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:05:04] local.INFO: Packet analysis {"connection_id":170901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:05:04] local.INFO: Extracted packet for processing {"connection_id":170901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":751418176,"raw_latitude":122440288,"longitude_deg":75.1418176,"latitude_deg":12.2440288,"altitude":15,"angle":71,"satellites":47,"speed":0,"hex_longitude":"2cc9bb40","hex_latitude":"074c4a60","is_valid_coordinates":true} 
[2026-09-04 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862323712001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3935723830512631808,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788525007000,"timestamp_ms":1788525007000,"timestamp_seconds":1788525007,"priority":1,"record_length":96,"hex_timestamp":"000001a06c65d098"} 
[2026-09-04 18:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862323712001,"66":26484,"159":206,"85":37632,"24":0,"16":398313222626607104,"44":-3935723830512631808},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862323712001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:05:04] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:05:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3935723830512631808,"description":"Unknown IO ID 44"} 
[2026-09-04 18:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862323712001,"power":26484,"unknown_159":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3935723830512631808}} 
[2026-09-04 18:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":170901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:05:04] local.INFO: GPS data processed {"connection_id":170901,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:05:04] local.INFO: Acknowledgment sent {"connection_id":170901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:05:21] local.INFO: TCP Data received {"connection_id":172301,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:05:21] local.INFO: Processing buffer {"connection_id":172301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:05:21] local.INFO: IMEI packet received {"connection_id":172301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":172301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:05:23] local.INFO: TCP Data received {"connection_id":172299,"ip":"42.109.136.4","data_length":93,"data_hex":"00000000000000518e01000001a06c692810012d1ac4c00724f1780049014927..."} 
[2026-09-04 18:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172299,"packet_length":93,"packet_hex":"00000000000000518e01000001a06c692810012d1ac4c00724f1780049014927..."} 
[2026-09-04 18:05:23] local.INFO: Processing buffer {"connection_id":172299,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06c692810012d1ac4c00724f1780049014927..."} 
[2026-09-04 18:05:23] local.INFO: Packet analysis {"connection_id":172299,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06c69"} 
[2026-09-04 18:05:23] local.INFO: Extracted packet for processing {"connection_id":172299,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06c69"} 
[2026-09-04 18:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756729024,"raw_latitude":119861624,"longitude_deg":75.6729024,"latitude_deg":11.9861624,"altitude":73,"angle":329,"satellites":39,"speed":7,"hex_longitude":"2d1ac4c0","hex_latitude":"0724f178","is_valid_coordinates":true} 
[2026-09-04 18:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-04 18:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:05:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:05:23] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-04 18:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172299,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-04 18:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172299,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 18:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172299,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-04 18:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-04 18:05:23] local.WARNING: DEBUG: No valid data to process  
[2026-09-04 18:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":172299,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-04 18:05:23] local.ERROR: GPS data processing failed {"connection_id":172299,"error":"No valid data to process"} 
[2026-09-04 18:05:23] local.INFO: Acknowledgment sent {"connection_id":172299,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-04 18:05:26] local.INFO: TCP Data received {"connection_id":172301,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:05:26] local.INFO: Processing buffer {"connection_id":172301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:05:26] local.INFO: IMEI packet received {"connection_id":172301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":172301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:05:27] local.INFO: TCP Data received {"connection_id":172300,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:05:27] local.INFO: Processing buffer {"connection_id":172300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:05:27] local.INFO: Packet analysis {"connection_id":172300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:05:27] local.INFO: Extracted packet for processing {"connection_id":172300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:05:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862363648001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525159000,"timestamp_ms":1788525159000,"timestamp_seconds":1788525159,"priority":1,"record_length":96,"hex_timestamp":"000001a06c682258"} 
[2026-09-04 18:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862363648001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862363648001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:05:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:05:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862363648001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":172300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:05:27] local.INFO: GPS data processed {"connection_id":172300,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:05:27] local.INFO: Acknowledgment sent {"connection_id":172300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:05:27] local.INFO: TCP Data received {"connection_id":172301,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c68b2e0012d7d414005c3e788001000ac20..."} 
[2026-09-04 18:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c68b2e0012d7d414005c3e788001000ac20..."} 
[2026-09-04 18:05:27] local.INFO: Processing buffer {"connection_id":172301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c68b2e0012d7d414005c3e788001000ac20..."} 
[2026-09-04 18:05:27] local.INFO: Packet analysis {"connection_id":172301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:05:27] local.INFO: Extracted packet for processing {"connection_id":172301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763183424,"raw_latitude":96724872,"longitude_deg":76.3183424,"latitude_deg":9.6724872,"altitude":16,"angle":172,"satellites":32,"speed":41,"hex_longitude":"2d7d4140","hex_latitude":"05c3e788","is_valid_coordinates":true} 
[2026-09-04 18:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862449152001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128223791900786688,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784245733376,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525196000,"timestamp_ms":1788525196000,"timestamp_seconds":1788525196,"priority":1,"record_length":96,"hex_timestamp":"000001a06c68b2e0"} 
[2026-09-04 18:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-04 18:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862449152001,"66":13559,"227":206,"85":12288,"24":41,"16":128223791900786688,"45":9025424784245733376},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-04 18:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862449152001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:05:27] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 18:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128223791900786688,"km_value":128223791900786.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784245733376,"description":"Unknown IO ID 45"} 
[2026-09-04 18:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862449152001,"power":13559,"unknown_227":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9025424784245733376}} 
[2026-09-04 18:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":172301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:05:27] local.INFO: GPS data processed {"connection_id":172301,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:05:27] local.INFO: Acknowledgment sent {"connection_id":172301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:05:35] local.INFO: TCP Data received {"connection_id":170901,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:05:35] local.INFO: Processing buffer {"connection_id":170901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c65d098012cc9bb40074c4a60000f00472f..."} 
[2026-09-04 18:05:35] local.INFO: Packet analysis {"connection_id":170901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:05:35] local.INFO: Extracted packet for processing {"connection_id":170901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c65"} 
[2026-09-04 18:05:35] local.INFO: GPS Element Parsed {"raw_longitude":751418176,"raw_latitude":122440288,"longitude_deg":75.1418176,"latitude_deg":12.2440288,"altitude":15,"angle":71,"satellites":47,"speed":0,"hex_longitude":"2cc9bb40","hex_latitude":"074c4a60","is_valid_coordinates":true} 
[2026-09-04 18:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862323712001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3935723830512631808,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788525007000,"timestamp_ms":1788525007000,"timestamp_seconds":1788525007,"priority":1,"record_length":96,"hex_timestamp":"000001a06c65d098"} 
[2026-09-04 18:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862323712001,"66":26484,"159":206,"85":37632,"24":0,"16":398313222626607104,"44":-3935723830512631808},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862323712001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:05:35] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:05:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:05:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3935723830512631808,"description":"Unknown IO ID 44"} 
[2026-09-04 18:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862323712001,"power":26484,"unknown_159":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3935723830512631808}} 
[2026-09-04 18:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":170901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:05:35] local.INFO: GPS data processed {"connection_id":170901,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:05:35] local.INFO: Acknowledgment sent {"connection_id":170901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:05:47] local.INFO: TCP Data received {"connection_id":171190,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:05:47] local.INFO: Processing buffer {"connection_id":171190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:05:47] local.INFO: IMEI packet received {"connection_id":171190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":171190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:05:48] local.INFO: TCP Data received {"connection_id":170902,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:05:48] local.INFO: Processing buffer {"connection_id":170902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:05:48] local.INFO: IMEI packet received {"connection_id":170902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":170902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:05:52] local.INFO: TCP Data received {"connection_id":171190,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:05:52] local.INFO: Processing buffer {"connection_id":171190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:05:52] local.INFO: IMEI packet received {"connection_id":171190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":171190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:05:53] local.INFO: TCP Data received {"connection_id":171190,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c693f80012d1ac2400724f2e0004a012226..."} 
[2026-09-04 18:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c693f80012d1ac2400724f2e0004a012226..."} 
[2026-09-04 18:05:53] local.INFO: Processing buffer {"connection_id":171190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c693f80012d1ac2400724f2e0004a012226..."} 
[2026-09-04 18:05:53] local.INFO: Packet analysis {"connection_id":171190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c69"} 
[2026-09-04 18:05:53] local.INFO: Extracted packet for processing {"connection_id":171190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c69"} 
[2026-09-04 18:05:53] local.INFO: GPS Element Parsed {"raw_longitude":756728384,"raw_latitude":119861984,"longitude_deg":75.6728384,"latitude_deg":11.9861984,"altitude":74,"angle":290,"satellites":38,"speed":5,"hex_longitude":"2d1ac240","hex_latitude":"0724f2e0","is_valid_coordinates":true} 
[2026-09-04 18:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862457856001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17379164256468992,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928877677338523648,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788525232000,"timestamp_ms":1788525232000,"timestamp_seconds":1788525232,"priority":1,"record_length":96,"hex_timestamp":"000001a06c693f80"} 
[2026-09-04 18:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-04 18:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862457856001,"66":13004,"175":206,"83":42752,"24":5,"16":17379164256468992,"45":1928877677338523648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-04 18:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862457856001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:05:53] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:05:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17379164256468992,"km_value":17379164256468.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928877677338523648,"description":"Unknown IO ID 45"} 
[2026-09-04 18:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862457856001,"power":13004,"unknown_175":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1928877677338523648}} 
[2026-09-04 18:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":171190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:05:53] local.INFO: GPS data processed {"connection_id":171190,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:05:53] local.INFO: Acknowledgment sent {"connection_id":171190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:05:54] local.INFO: TCP Data received {"connection_id":170902,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:05:54] local.INFO: Processing buffer {"connection_id":170902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:05:54] local.INFO: IMEI packet received {"connection_id":170902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":170902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:05:55] local.INFO: TCP Data received {"connection_id":170902,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:05:55] local.INFO: Processing buffer {"connection_id":170902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:05:55] local.INFO: Packet analysis {"connection_id":170902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:05:55] local.INFO: Extracted packet for processing {"connection_id":170902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:05:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862363648001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788525159000,"timestamp_ms":1788525159000,"timestamp_seconds":1788525159,"priority":1,"record_length":96,"hex_timestamp":"000001a06c682258"} 
[2026-09-04 18:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862363648001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862363648001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:05:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:05:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862363648001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":170902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:05:55] local.INFO: GPS data processed {"connection_id":170902,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:05:55] local.INFO: Acknowledgment sent {"connection_id":170902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:05:59] local.INFO: TCP Data received {"connection_id":172301,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6aaac8012d7d4f4005c28e50001000bf20..."} 
[2026-09-04 18:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6aaac8012d7d4f4005c28e50001000bf20..."} 
[2026-09-04 18:05:59] local.INFO: Processing buffer {"connection_id":172301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6aaac8012d7d4f4005c28e50001000bf20..."} 
[2026-09-04 18:05:59] local.INFO: Packet analysis {"connection_id":172301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6a"} 
[2026-09-04 18:05:59] local.INFO: Extracted packet for processing {"connection_id":172301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6a"} 
[2026-09-04 18:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763187008,"raw_latitude":96636496,"longitude_deg":76.3187008,"latitude_deg":9.6636496,"altitude":16,"angle":191,"satellites":32,"speed":39,"hex_longitude":"2d7d4f40","hex_latitude":"05c28e50","is_valid_coordinates":true} 
[2026-09-04 18:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862480896001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128228125522788352,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030983915014252544,"note":"Value kept but may cause issues"} 
[2026-09-04 18:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788525325000,"timestamp_ms":1788525325000,"timestamp_seconds":1788525325,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6aaac8"} 
[2026-09-04 18:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-04 18:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862480896001,"66":13798,"104":206,"85":12288,"24":39,"16":128228125522788352,"45":9030983915014252544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-04 18:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862480896001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:05:59] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 18:05:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128228125522788352,"km_value":128228125522788.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030983915014252544,"description":"Unknown IO ID 45"} 
[2026-09-04 18:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862480896001,"power":13798,"unknown_104":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9030983915014252544}} 
[2026-09-04 18:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":172301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:05:59] local.INFO: GPS data processed {"connection_id":172301,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:05:59] local.INFO: Acknowledgment sent {"connection_id":172301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:06:04] local.INFO: TCP Data received {"connection_id":170903,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:06:04] local.INFO: Processing buffer {"connection_id":170903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:06:04] local.INFO: IMEI packet received {"connection_id":170903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":170903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:06:09] local.INFO: TCP Data received {"connection_id":170903,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:06:09] local.INFO: Processing buffer {"connection_id":170903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:06:09] local.INFO: IMEI packet received {"connection_id":170903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":170903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:06:09] local.INFO: TCP Data received {"connection_id":170903,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6a6860012cc9bb40074c4a60000f004731..."} 
[2026-09-04 18:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6a6860012cc9bb40074c4a60000f004731..."} 
[2026-09-04 18:06:09] local.INFO: Processing buffer {"connection_id":170903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6a6860012cc9bb40074c4a60000f004731..."} 
[2026-09-04 18:06:09] local.INFO: Packet analysis {"connection_id":170903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6a"} 
[2026-09-04 18:06:09] local.INFO: Extracted packet for processing {"connection_id":170903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6a"} 
[2026-09-04 18:06:09] local.INFO: GPS Element Parsed {"raw_longitude":751418176,"raw_latitude":122440288,"longitude_deg":75.1418176,"latitude_deg":12.2440288,"altitude":15,"angle":71,"satellites":49,"speed":0,"hex_longitude":"2cc9bb40","hex_latitude":"074c4a60","is_valid_coordinates":true} 
[2026-09-04 18:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862401792001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3910461451352252416,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788525308000,"timestamp_ms":1788525308000,"timestamp_seconds":1788525308,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6a6860"} 
[2026-09-04 18:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 18:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862401792001,"66":26115,"159":206,"85":37632,"24":0,"16":398313222626607104,"44":-3910461451352252416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862401792001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:06:09] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:06:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3910461451352252416,"description":"Unknown IO ID 44"} 
[2026-09-04 18:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862401792001,"power":26115,"unknown_159":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3910461451352252416}} 
[2026-09-04 18:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":170903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:06:09] local.INFO: GPS data processed {"connection_id":170903,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:06:09] local.INFO: Acknowledgment sent {"connection_id":170903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:06:14] local.INFO: TCP Data received {"connection_id":170903,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6a6860012cc9bb40074c4a60000f004731..."} 
[2026-09-04 18:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6a6860012cc9bb40074c4a60000f004731..."} 
[2026-09-04 18:06:14] local.INFO: Processing buffer {"connection_id":170903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6a6860012cc9bb40074c4a60000f004731..."} 
[2026-09-04 18:06:14] local.INFO: Packet analysis {"connection_id":170903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6a"} 
[2026-09-04 18:06:14] local.INFO: Extracted packet for processing {"connection_id":170903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6a"} 
[2026-09-04 18:06:14] local.INFO: GPS Element Parsed {"raw_longitude":751418176,"raw_latitude":122440288,"longitude_deg":75.1418176,"latitude_deg":12.2440288,"altitude":15,"angle":71,"satellites":49,"speed":0,"hex_longitude":"2cc9bb40","hex_latitude":"074c4a60","is_valid_coordinates":true} 
[2026-09-04 18:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862401792001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3910461451352252416,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788525308000,"timestamp_ms":1788525308000,"timestamp_seconds":1788525308,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6a6860"} 
[2026-09-04 18:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 18:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":170903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":170903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":170903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862401792001,"66":26115,"159":206,"85":37632,"24":0,"16":398313222626607104,"44":-3910461451352252416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862401792001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:06:14] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:06:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3910461451352252416,"description":"Unknown IO ID 44"} 
[2026-09-04 18:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862401792001,"power":26115,"unknown_159":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3910461451352252416}} 
[2026-09-04 18:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":170903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:06:14] local.INFO: GPS data processed {"connection_id":170903,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:06:14] local.INFO: Acknowledgment sent {"connection_id":170903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:06:21] local.INFO: TCP Data received {"connection_id":170904,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:06:21] local.INFO: Processing buffer {"connection_id":170904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:06:21] local.INFO: IMEI packet received {"connection_id":170904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":170904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:06:24] local.INFO: TCP Data received {"connection_id":170904,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:06:24] local.INFO: Processing buffer {"connection_id":170904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:06:24] local.INFO: IMEI packet received {"connection_id":170904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":170904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:06:25] local.INFO: TCP Data received {"connection_id":171190,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c699188012d1ac0800724f2b00049012220..."} 
[2026-09-04 18:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c699188012d1ac0800724f2b00049012220..."} 
[2026-09-04 18:06:25] local.INFO: Processing buffer {"connection_id":171190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c699188012d1ac0800724f2b00049012220..."} 
[2026-09-04 18:06:25] local.INFO: Packet analysis {"connection_id":171190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c69"} 
[2026-09-04 18:06:25] local.INFO: Extracted packet for processing {"connection_id":171190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c69"} 
[2026-09-04 18:06:25] local.INFO: GPS Element Parsed {"raw_longitude":756727936,"raw_latitude":119861936,"longitude_deg":75.6727936,"latitude_deg":11.9861936,"altitude":73,"angle":290,"satellites":32,"speed":0,"hex_longitude":"2d1ac080","hex_latitude":"0724f2b0","is_valid_coordinates":true} 
[2026-09-04 18:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862459392001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17379190026272768,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928173989896839168,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788525253000,"timestamp_ms":1788525253000,"timestamp_seconds":1788525253,"priority":1,"record_length":96,"hex_timestamp":"000001a06c699188"} 
[2026-09-04 18:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-04 18:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862459392001,"66":12722,"175":206,"83":42752,"24":0,"16":17379190026272768,"45":1928173989896839168},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-04 18:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862459392001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:06:25] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:06:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17379190026272768,"km_value":17379190026272.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928173989896839168,"description":"Unknown IO ID 45"} 
[2026-09-04 18:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862459392001,"power":12722,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1928173989896839168}} 
[2026-09-04 18:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":171190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:06:25] local.INFO: GPS data processed {"connection_id":171190,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:06:25] local.INFO: Acknowledgment sent {"connection_id":171190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:06:26] local.INFO: TCP Data received {"connection_id":170904,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:06:26] local.INFO: Processing buffer {"connection_id":170904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:06:26] local.INFO: IMEI packet received {"connection_id":170904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":170904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:06:27] local.INFO: TCP Data received {"connection_id":170904,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6acdf0012d7d4a0005c26b28001000bb1f..."} 
[2026-09-04 18:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6acdf0012d7d4a0005c26b28001000bb1f..."} 
[2026-09-04 18:06:27] local.INFO: Processing buffer {"connection_id":170904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6acdf0012d7d4a0005c26b28001000bb1f..."} 
[2026-09-04 18:06:27] local.INFO: Packet analysis {"connection_id":170904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6a"} 
[2026-09-04 18:06:27] local.INFO: Extracted packet for processing {"connection_id":170904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6a"} 
[2026-09-04 18:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":96627496,"longitude_deg":76.3185664,"latitude_deg":9.6627496,"altitude":16,"angle":187,"satellites":31,"speed":40,"hex_longitude":"2d7d4a00","hex_latitude":"05c26b28","is_valid_coordinates":true} 
[2026-09-04 18:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862483200001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128228567904419840,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029506171384254464,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525334000,"timestamp_ms":1788525334000,"timestamp_seconds":1788525334,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6acdf0"} 
[2026-09-04 18:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 18:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862483200001,"66":13852,"104":206,"85":12288,"24":40,"16":128228567904419840,"45":9029506171384254464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-04 18:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862483200001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:06:27] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 18:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128228567904419840,"km_value":128228567904419.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029506171384254464,"description":"Unknown IO ID 45"} 
[2026-09-04 18:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862483200001,"power":13852,"unknown_104":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9029506171384254464}} 
[2026-09-04 18:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":170904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:06:27] local.INFO: GPS data processed {"connection_id":170904,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:06:27] local.INFO: Acknowledgment sent {"connection_id":170904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:06:27] local.INFO: TCP Data received {"connection_id":170902,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:06:27] local.INFO: Processing buffer {"connection_id":170902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:06:27] local.INFO: Packet analysis {"connection_id":170902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:06:27] local.INFO: Extracted packet for processing {"connection_id":170902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:06:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862363648001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525159000,"timestamp_ms":1788525159000,"timestamp_seconds":1788525159,"priority":1,"record_length":96,"hex_timestamp":"000001a06c682258"} 
[2026-09-04 18:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862363648001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862363648001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:06:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:06:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862363648001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":170902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764189,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:06:27] local.INFO: GPS data processed {"connection_id":170902,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:06:27] local.INFO: Acknowledgment sent {"connection_id":170902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:06:47] local.INFO: TCP Data received {"connection_id":173600,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:06:47] local.INFO: Processing buffer {"connection_id":173600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:06:47] local.INFO: IMEI packet received {"connection_id":173600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":173600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:06:48] local.INFO: TCP Data received {"connection_id":172302,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:06:48] local.INFO: Processing buffer {"connection_id":172302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:06:48] local.INFO: IMEI packet received {"connection_id":172302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":172302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:06:52] local.INFO: TCP Data received {"connection_id":173600,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:06:52] local.INFO: Processing buffer {"connection_id":173600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:06:52] local.INFO: IMEI packet received {"connection_id":173600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":173600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:06:53] local.INFO: TCP Data received {"connection_id":173600,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c69e390012d1ac0800724f2b0004901221e..."} 
[2026-09-04 18:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c69e390012d1ac0800724f2b0004901221e..."} 
[2026-09-04 18:06:53] local.INFO: Processing buffer {"connection_id":173600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c69e390012d1ac0800724f2b0004901221e..."} 
[2026-09-04 18:06:53] local.INFO: Packet analysis {"connection_id":173600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c69"} 
[2026-09-04 18:06:53] local.INFO: Extracted packet for processing {"connection_id":173600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c69"} 
[2026-09-04 18:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756727936,"raw_latitude":119861936,"longitude_deg":75.6727936,"latitude_deg":11.9861936,"altitude":73,"angle":290,"satellites":30,"speed":0,"hex_longitude":"2d1ac080","hex_latitude":"0724f2b0","is_valid_coordinates":true} 
[2026-09-04 18:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862464768001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17379190026272768,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927681408687583232,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788525274000,"timestamp_ms":1788525274000,"timestamp_seconds":1788525274,"priority":1,"record_length":96,"hex_timestamp":"000001a06c69e390"} 
[2026-09-04 18:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 18:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862464768001,"66":12841,"175":206,"83":42752,"24":0,"16":17379190026272768,"45":1927681408687583232},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-04 18:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862464768001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:06:53] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17379190026272768,"km_value":17379190026272.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927681408687583232,"description":"Unknown IO ID 45"} 
[2026-09-04 18:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862464768001,"power":12841,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1927681408687583232}} 
[2026-09-04 18:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":173600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:06:53] local.INFO: GPS data processed {"connection_id":173600,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:06:53] local.INFO: Acknowledgment sent {"connection_id":173600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:06:54] local.INFO: TCP Data received {"connection_id":172302,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:06:54] local.INFO: Processing buffer {"connection_id":172302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:06:54] local.INFO: IMEI packet received {"connection_id":172302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":172302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:06:55] local.INFO: TCP Data received {"connection_id":172302,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:06:55] local.INFO: Processing buffer {"connection_id":172302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:06:55] local.INFO: Packet analysis {"connection_id":172302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:06:55] local.INFO: Extracted packet for processing {"connection_id":172302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:06:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862363648001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788525159000,"timestamp_ms":1788525159000,"timestamp_seconds":1788525159,"priority":1,"record_length":96,"hex_timestamp":"000001a06c682258"} 
[2026-09-04 18:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172302,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172302,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862363648001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862363648001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:06:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:06:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862363648001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":172302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:06:55] local.INFO: GPS data processed {"connection_id":172302,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:06:55] local.INFO: Acknowledgment sent {"connection_id":172302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:06:58] local.INFO: TCP Data received {"connection_id":170904,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6af118012d7d454005c24840000f00b922..."} 
[2026-09-04 18:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6af118012d7d454005c24840000f00b922..."} 
[2026-09-04 18:06:58] local.INFO: Processing buffer {"connection_id":170904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6af118012d7d454005c24840000f00b922..."} 
[2026-09-04 18:06:58] local.INFO: Packet analysis {"connection_id":170904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6a"} 
[2026-09-04 18:06:58] local.INFO: Extracted packet for processing {"connection_id":170904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6a"} 
[2026-09-04 18:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763184448,"raw_latitude":96618560,"longitude_deg":76.3184448,"latitude_deg":9.661856,"altitude":15,"angle":185,"satellites":34,"speed":34,"hex_longitude":"2d7d4540","hex_latitude":"05c24840","is_valid_coordinates":true} 
[2026-09-04 18:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862485504001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128229005991084032,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427754219520,"note":"Value kept but may cause issues"} 
[2026-09-04 18:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788525343000,"timestamp_ms":1788525343000,"timestamp_seconds":1788525343,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6af118"} 
[2026-09-04 18:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-04 18:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862485504001,"66":13678,"104":206,"85":12288,"24":34,"16":128229005991084032,"45":9028028427754219520},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-04 18:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862485504001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:06:58] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 18:06:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128229005991084032,"km_value":128229005991084.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427754219520,"description":"Unknown IO ID 45"} 
[2026-09-04 18:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862485504001,"power":13678,"unknown_104":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9028028427754219520}} 
[2026-09-04 18:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":170904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:06:58] local.INFO: GPS data processed {"connection_id":170904,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:06:58] local.INFO: Acknowledgment sent {"connection_id":170904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:06:59] local.INFO: TCP Data received {"connection_id":171191,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:06:59] local.INFO: Processing buffer {"connection_id":171191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:06:59] local.INFO: IMEI packet received {"connection_id":171191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":171191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:07:04] local.INFO: TCP Data received {"connection_id":171191,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:07:04] local.INFO: Processing buffer {"connection_id":171191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:07:04] local.INFO: IMEI packet received {"connection_id":171191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":171191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:07:04] local.INFO: TCP Data received {"connection_id":171191,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6b52c0012cc9bb40074c4a60000f004732..."} 
[2026-09-04 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6b52c0012cc9bb40074c4a60000f004732..."} 
[2026-09-04 18:07:04] local.INFO: Processing buffer {"connection_id":171191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6b52c0012cc9bb40074c4a60000f004732..."} 
[2026-09-04 18:07:04] local.INFO: Packet analysis {"connection_id":171191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6b"} 
[2026-09-04 18:07:04] local.INFO: Extracted packet for processing {"connection_id":171191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6b"} 
[2026-09-04 18:07:04] local.INFO: GPS Element Parsed {"raw_longitude":751418176,"raw_latitude":122440288,"longitude_deg":75.1418176,"latitude_deg":12.2440288,"altitude":15,"angle":71,"satellites":50,"speed":0,"hex_longitude":"2cc9bb40","hex_latitude":"074c4a60","is_valid_coordinates":true} 
[2026-09-04 18:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862478848001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3910461451352252416,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788525368000,"timestamp_ms":1788525368000,"timestamp_seconds":1788525368,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6b52c0"} 
[2026-09-04 18:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-04 18:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862478848001,"66":26039,"159":206,"85":37632,"24":0,"16":398313222626607104,"44":-3910461451352252416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862478848001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:07:04] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:07:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3910461451352252416,"description":"Unknown IO ID 44"} 
[2026-09-04 18:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862478848001,"power":26039,"unknown_159":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3910461451352252416}} 
[2026-09-04 18:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":171191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:07:04] local.INFO: GPS data processed {"connection_id":171191,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:07:04] local.INFO: Acknowledgment sent {"connection_id":171191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:07:21] local.INFO: TCP Data received {"connection_id":172303,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:07:21] local.INFO: Processing buffer {"connection_id":172303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:07:21] local.INFO: IMEI packet received {"connection_id":172303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":172303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:07:24] local.INFO: TCP Data received {"connection_id":173600,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6a3598012d1ac0800724f2b00049012220..."} 
[2026-09-04 18:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6a3598012d1ac0800724f2b00049012220..."} 
[2026-09-04 18:07:24] local.INFO: Processing buffer {"connection_id":173600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6a3598012d1ac0800724f2b00049012220..."} 
[2026-09-04 18:07:24] local.INFO: Packet analysis {"connection_id":173600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6a"} 
[2026-09-04 18:07:24] local.INFO: Extracted packet for processing {"connection_id":173600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6a"} 
[2026-09-04 18:07:24] local.INFO: GPS Element Parsed {"raw_longitude":756727936,"raw_latitude":119861936,"longitude_deg":75.6727936,"latitude_deg":11.9861936,"altitude":73,"angle":290,"satellites":32,"speed":0,"hex_longitude":"2d1ac080","hex_latitude":"0724f2b0","is_valid_coordinates":true} 
[2026-09-04 18:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862470144001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17379190026272768,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927681408687583232,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788525295000,"timestamp_ms":1788525295000,"timestamp_seconds":1788525295,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6a3598"} 
[2026-09-04 18:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 18:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862470144001,"66":12776,"175":206,"83":42752,"24":0,"16":17379190026272768,"45":1927681408687583232},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-04 18:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862470144001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:07:24] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17379190026272768,"km_value":17379190026272.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927681408687583232,"description":"Unknown IO ID 45"} 
[2026-09-04 18:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862470144001,"power":12776,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1927681408687583232}} 
[2026-09-04 18:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":173600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:07:24] local.INFO: GPS data processed {"connection_id":173600,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:07:24] local.INFO: Acknowledgment sent {"connection_id":173600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:07:26] local.INFO: TCP Data received {"connection_id":172303,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:07:26] local.INFO: Processing buffer {"connection_id":172303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:07:26] local.INFO: IMEI packet received {"connection_id":172303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":172303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:07:26] local.INFO: TCP Data received {"connection_id":172302,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:07:26] local.INFO: Processing buffer {"connection_id":172302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:07:26] local.INFO: Packet analysis {"connection_id":172302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:07:26] local.INFO: Extracted packet for processing {"connection_id":172302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:07:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862363648001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788525159000,"timestamp_ms":1788525159000,"timestamp_seconds":1788525159,"priority":1,"record_length":96,"hex_timestamp":"000001a06c682258"} 
[2026-09-04 18:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172302,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172302,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862363648001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862363648001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:07:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:07:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862363648001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":172302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764195,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:07:26] local.INFO: GPS data processed {"connection_id":172302,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:07:26] local.INFO: Acknowledgment sent {"connection_id":172302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:07:27] local.INFO: TCP Data received {"connection_id":172303,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6b3f38012d7d430005c23278000e00b31f..."} 
[2026-09-04 18:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6b3f38012d7d430005c23278000e00b31f..."} 
[2026-09-04 18:07:27] local.INFO: Processing buffer {"connection_id":172303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6b3f38012d7d430005c23278000e00b31f..."} 
[2026-09-04 18:07:27] local.INFO: Packet analysis {"connection_id":172303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6b"} 
[2026-09-04 18:07:27] local.INFO: Extracted packet for processing {"connection_id":172303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6b"} 
[2026-09-04 18:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":96612984,"longitude_deg":76.3183872,"latitude_deg":9.6612984,"altitude":14,"angle":179,"satellites":31,"speed":0,"hex_longitude":"2d7d4300","hex_latitude":"05c23278","is_valid_coordinates":true} 
[2026-09-04 18:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862487808001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128229280868990976,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026691421612556288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525363000,"timestamp_ms":1788525363000,"timestamp_seconds":1788525363,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6b3f38"} 
[2026-09-04 18:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 18:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862487808001,"66":13787,"104":206,"85":12288,"24":0,"16":128229280868990976,"45":9026691421612556288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-04 18:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862487808001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:07:27] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 18:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128229280868990976,"km_value":128229280868990.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026691421612556288,"description":"Unknown IO ID 45"} 
[2026-09-04 18:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862487808001,"power":13787,"unknown_104":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9026691421612556288}} 
[2026-09-04 18:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":172303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:07:27] local.INFO: GPS data processed {"connection_id":172303,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:07:27] local.INFO: Acknowledgment sent {"connection_id":172303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:07:36] local.INFO: TCP Data received {"connection_id":171191,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6b6260012cc9c740074c4890000f006e32..."} 
[2026-09-04 18:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6b6260012cc9c740074c4890000f006e32..."} 
[2026-09-04 18:07:36] local.INFO: Processing buffer {"connection_id":171191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6b6260012cc9c740074c4890000f006e32..."} 
[2026-09-04 18:07:36] local.INFO: Packet analysis {"connection_id":171191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6b"} 
[2026-09-04 18:07:36] local.INFO: Extracted packet for processing {"connection_id":171191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6b"} 
[2026-09-04 18:07:36] local.INFO: GPS Element Parsed {"raw_longitude":751421248,"raw_latitude":122439824,"longitude_deg":75.1421248,"latitude_deg":12.2439824,"altitude":15,"angle":110,"satellites":50,"speed":0,"hex_longitude":"2cc9c740","hex_latitude":"074c4890","is_valid_coordinates":true} 
[2026-09-04 18:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862494208001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3910461451352252416,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788525372000,"timestamp_ms":1788525372000,"timestamp_seconds":1788525372,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6b6260"} 
[2026-09-04 18:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 18:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862494208001,"66":27658,"159":206,"85":37632,"24":0,"16":398313222626607104,"44":-3910461451352252416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862494208001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:07:36] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:07:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3910461451352252416,"description":"Unknown IO ID 44"} 
[2026-09-04 18:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862494208001,"power":27658,"unknown_159":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3910461451352252416}} 
[2026-09-04 18:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":171191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:07:36] local.INFO: GPS data processed {"connection_id":171191,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:07:36] local.INFO: Acknowledgment sent {"connection_id":171191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:07:47] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:07:47] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:07:47] local.INFO: IMEI packet received {"connection_id":173601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":173601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:07:48] local.INFO: TCP Data received {"connection_id":173602,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:07:48] local.INFO: Processing buffer {"connection_id":173602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:07:48] local.INFO: IMEI packet received {"connection_id":173602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":173602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:07:48] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:07:48] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:07:48] local.INFO: IMEI packet received {"connection_id":173601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":173601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:07:53] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:07:53] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:07:53] local.INFO: IMEI packet received {"connection_id":173601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":173601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:07:54] local.INFO: TCP Data received {"connection_id":173602,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:07:54] local.INFO: Processing buffer {"connection_id":173602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:07:54] local.INFO: IMEI packet received {"connection_id":173602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":173602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:07:54] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6c2998012d1ac3000724f2480046006e22..."} 
[2026-09-04 18:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6c2998012d1ac3000724f2480046006e22..."} 
[2026-09-04 18:07:54] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6c2998012d1ac3000724f2480046006e22..."} 
[2026-09-04 18:07:54] local.INFO: Packet analysis {"connection_id":173601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:07:54] local.INFO: Extracted packet for processing {"connection_id":173601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:07:54] local.INFO: GPS Element Parsed {"raw_longitude":756728576,"raw_latitude":119861832,"longitude_deg":75.6728576,"latitude_deg":11.9861832,"altitude":70,"angle":110,"satellites":34,"speed":7,"hex_longitude":"2d1ac300","hex_latitude":"0724f248","is_valid_coordinates":true} 
[2026-09-04 18:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862507776001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17379280220585984,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927962883664269312,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788525423000,"timestamp_ms":1788525423000,"timestamp_seconds":1788525423,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6c2998"} 
[2026-09-04 18:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 18:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862507776001,"66":14233,"175":206,"83":42752,"24":7,"16":17379280220585984,"45":1927962883664269312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-04 18:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862507776001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:07:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:07:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17379280220585984,"km_value":17379280220585.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927962883664269312,"description":"Unknown IO ID 45"} 
[2026-09-04 18:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862507776001,"power":14233,"unknown_175":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1927962883664269312}} 
[2026-09-04 18:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":173601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:07:54] local.INFO: GPS data processed {"connection_id":173601,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:07:54] local.INFO: Acknowledgment sent {"connection_id":173601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:07:55] local.INFO: TCP Data received {"connection_id":173602,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:07:55] local.INFO: Processing buffer {"connection_id":173602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c682258012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:07:55] local.INFO: Packet analysis {"connection_id":173602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:07:55] local.INFO: Extracted packet for processing {"connection_id":173602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c68"} 
[2026-09-04 18:07:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862363648001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788525159000,"timestamp_ms":1788525159000,"timestamp_seconds":1788525159,"priority":1,"record_length":96,"hex_timestamp":"000001a06c682258"} 
[2026-09-04 18:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862363648001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862363648001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:07:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862363648001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":173602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764199,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:07:55] local.INFO: GPS data processed {"connection_id":173602,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:07:55] local.INFO: Acknowledgment sent {"connection_id":173602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:07:58] local.INFO: TCP Data received {"connection_id":172303,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6b8588012d7d3fc005c20dd0000f00b821..."} 
[2026-09-04 18:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6b8588012d7d3fc005c20dd0000f00b821..."} 
[2026-09-04 18:07:58] local.INFO: Processing buffer {"connection_id":172303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6b8588012d7d3fc005c20dd0000f00b821..."} 
[2026-09-04 18:07:58] local.INFO: Packet analysis {"connection_id":172303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6b"} 
[2026-09-04 18:07:58] local.INFO: Extracted packet for processing {"connection_id":172303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6b"} 
[2026-09-04 18:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":96603600,"longitude_deg":76.318304,"latitude_deg":9.66036,"altitude":15,"angle":184,"satellites":33,"speed":36,"hex_longitude":"2d7d3fc0","hex_latitude":"05c20dd0","is_valid_coordinates":true} 
[2026-09-04 18:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862492928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128229736135524352,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058102913529856,"note":"Value kept but may cause issues"} 
[2026-09-04 18:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788525381000,"timestamp_ms":1788525381000,"timestamp_seconds":1788525381,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6b8588"} 
[2026-09-04 18:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-04 18:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862492928001,"66":13765,"104":206,"85":12288,"24":36,"16":128229736135524352,"45":9026058102913529856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-04 18:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862492928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:07:58] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 18:07:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128229736135524352,"km_value":128229736135524.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058102913529856,"description":"Unknown IO ID 45"} 
[2026-09-04 18:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862492928001,"power":13765,"unknown_104":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9026058102913529856}} 
[2026-09-04 18:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":172303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:07:58] local.INFO: GPS data processed {"connection_id":172303,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:07:58] local.INFO: Acknowledgment sent {"connection_id":172303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:08:09] local.INFO: TCP Data received {"connection_id":173603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:08:09] local.INFO: Processing buffer {"connection_id":173603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:08:09] local.INFO: IMEI packet received {"connection_id":173603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":173603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:08:14] local.INFO: TCP Data received {"connection_id":173603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:08:14] local.INFO: Processing buffer {"connection_id":173603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:08:14] local.INFO: IMEI packet received {"connection_id":173603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":173603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:08:15] local.INFO: TCP Data received {"connection_id":173603,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6bb468012cc9c740074c4890000f006e32..."} 
[2026-09-04 18:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6bb468012cc9c740074c4890000f006e32..."} 
[2026-09-04 18:08:15] local.INFO: Processing buffer {"connection_id":173603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6bb468012cc9c740074c4890000f006e32..."} 
[2026-09-04 18:08:15] local.INFO: Packet analysis {"connection_id":173603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6b"} 
[2026-09-04 18:08:15] local.INFO: Extracted packet for processing {"connection_id":173603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6b"} 
[2026-09-04 18:08:15] local.INFO: GPS Element Parsed {"raw_longitude":751421248,"raw_latitude":122439824,"longitude_deg":75.1421248,"latitude_deg":12.2439824,"altitude":15,"angle":110,"satellites":50,"speed":0,"hex_longitude":"2cc9c740","hex_latitude":"074c4890","is_valid_coordinates":true} 
[2026-09-04 18:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862495232001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313222626607104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3907083751631843328,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788525393000,"timestamp_ms":1788525393000,"timestamp_seconds":1788525393,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6bb468"} 
[2026-09-04 18:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 18:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862495232001,"66":27039,"159":206,"85":37632,"24":0,"16":398313222626607104,"44":-3907083751631843328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862495232001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:08:15] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:08:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313222626607104,"km_value":398313222626607.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:08:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3907083751631843328,"description":"Unknown IO ID 44"} 
[2026-09-04 18:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862495232001,"power":27039,"unknown_159":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3907083751631843328}} 
[2026-09-04 18:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":173603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:08:15] local.INFO: GPS data processed {"connection_id":173603,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:08:15] local.INFO: Acknowledgment sent {"connection_id":173603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:08:21] local.INFO: TCP Data received {"connection_id":170905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:08:21] local.INFO: Processing buffer {"connection_id":170905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:08:21] local.INFO: IMEI packet received {"connection_id":170905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":170905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:08:25] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6c2d80012d1ac4000724f1c80046007b22..."} 
[2026-09-04 18:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6c2d80012d1ac4000724f1c80046007b22..."} 
[2026-09-04 18:08:25] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6c2d80012d1ac4000724f1c80046007b22..."} 
[2026-09-04 18:08:25] local.INFO: Packet analysis {"connection_id":173601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:08:25] local.INFO: Extracted packet for processing {"connection_id":173601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:08:25] local.INFO: GPS Element Parsed {"raw_longitude":756728832,"raw_latitude":119861704,"longitude_deg":75.6728832,"latitude_deg":11.9861704,"altitude":70,"angle":123,"satellites":34,"speed":8,"hex_longitude":"2d1ac400","hex_latitude":"0724f1c8","is_valid_coordinates":true} 
[2026-09-04 18:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862508288001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17379293105487872,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928385096129333248,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788525424000,"timestamp_ms":1788525424000,"timestamp_seconds":1788525424,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6c2d80"} 
[2026-09-04 18:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 18:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862508288001,"66":14233,"175":206,"83":42752,"24":8,"16":17379293105487872,"45":1928385096129333248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-04 18:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862508288001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:08:25] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:08:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17379293105487872,"km_value":17379293105487.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928385096129333248,"description":"Unknown IO ID 45"} 
[2026-09-04 18:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862508288001,"power":14233,"unknown_175":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1928385096129333248}} 
[2026-09-04 18:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":173601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:08:25] local.INFO: GPS data processed {"connection_id":173601,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:08:25] local.INFO: Acknowledgment sent {"connection_id":173601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:08:26] local.INFO: TCP Data received {"connection_id":170905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:08:26] local.INFO: Processing buffer {"connection_id":170905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:08:26] local.INFO: IMEI packet received {"connection_id":170905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":170905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:08:27] local.INFO: TCP Data received {"connection_id":173602,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:08:27] local.INFO: Processing buffer {"connection_id":173602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:08:27] local.INFO: Packet analysis {"connection_id":173602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:08:27] local.INFO: Extracted packet for processing {"connection_id":173602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:08:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862440704001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525460000,"timestamp_ms":1788525460000,"timestamp_seconds":1788525460,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6cba20"} 
[2026-09-04 18:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862440704001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862440704001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:08:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:08:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862440704001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":173602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764203,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:08:27] local.INFO: GPS data processed {"connection_id":173602,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:08:27] local.INFO: Acknowledgment sent {"connection_id":173602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:08:27] local.INFO: TCP Data received {"connection_id":170905,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6ba8b0012d7d3c8005c1e720000e00b720..."} 
[2026-09-04 18:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6ba8b0012d7d3c8005c1e720000e00b720..."} 
[2026-09-04 18:08:27] local.INFO: Processing buffer {"connection_id":170905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6ba8b0012d7d3c8005c1e720000e00b720..."} 
[2026-09-04 18:08:27] local.INFO: Packet analysis {"connection_id":170905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6b"} 
[2026-09-04 18:08:27] local.INFO: Extracted packet for processing {"connection_id":170905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6b"} 
[2026-09-04 18:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":96593696,"longitude_deg":76.3182208,"latitude_deg":9.6593696,"altitude":14,"angle":183,"satellites":32,"speed":42,"hex_longitude":"2d7d3c80","hex_latitude":"05c1e720","is_valid_coordinates":true} 
[2026-09-04 18:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862497536001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128230221466828800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309236817920,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525390000,"timestamp_ms":1788525390000,"timestamp_seconds":1788525390,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6ba8b0"} 
[2026-09-04 18:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-04 18:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862497536001,"66":13243,"104":206,"85":12288,"24":42,"16":128230221466828800,"45":9025143309236817920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-04 18:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862497536001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:08:27] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 18:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128230221466828800,"km_value":128230221466828.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309236817920,"description":"Unknown IO ID 45"} 
[2026-09-04 18:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862497536001,"power":13243,"unknown_104":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9025143309236817920}} 
[2026-09-04 18:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":170905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:08:27] local.INFO: GPS data processed {"connection_id":170905,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:08:27] local.INFO: Acknowledgment sent {"connection_id":170905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:08:51] local.INFO: TCP Data received {"connection_id":171192,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:08:51] local.INFO: Processing buffer {"connection_id":171192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:08:51] local.INFO: IMEI packet received {"connection_id":171192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":171192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:08:52] local.INFO: TCP Data received {"connection_id":171192,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:08:52] local.INFO: Processing buffer {"connection_id":171192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:08:52] local.INFO: IMEI packet received {"connection_id":171192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":171192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:08:54] local.INFO: TCP Data received {"connection_id":172304,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:08:54] local.INFO: Processing buffer {"connection_id":172304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:08:54] local.INFO: IMEI packet received {"connection_id":172304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":172304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:08:58] local.INFO: TCP Data received {"connection_id":171192,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:08:58] local.INFO: Processing buffer {"connection_id":171192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:08:58] local.INFO: IMEI packet received {"connection_id":171192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":171192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:08:58] local.INFO: TCP Data received {"connection_id":170905,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6bf6d0012d7d3c4005c1dbc0000f00b020..."} 
[2026-09-04 18:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6bf6d0012d7d3c4005c1dbc0000f00b020..."} 
[2026-09-04 18:08:58] local.INFO: Processing buffer {"connection_id":170905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6bf6d0012d7d3c4005c1dbc0000f00b020..."} 
[2026-09-04 18:08:58] local.INFO: Packet analysis {"connection_id":170905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6b"} 
[2026-09-04 18:08:58] local.INFO: Extracted packet for processing {"connection_id":170905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6b"} 
[2026-09-04 18:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763182144,"raw_latitude":96590784,"longitude_deg":76.3182144,"latitude_deg":9.6590784,"altitude":15,"angle":176,"satellites":32,"speed":0,"hex_longitude":"2d7d3c40","hex_latitude":"05c1dbc0","is_valid_coordinates":true} 
[2026-09-04 18:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862499840001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128230363200749568,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515559972864,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788525410000,"timestamp_ms":1788525410000,"timestamp_seconds":1788525410,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6bf6d0"} 
[2026-09-04 18:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-04 18:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862499840001,"66":13722,"9":206,"85":12288,"24":0,"16":128230363200749568,"45":9024228515559972864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-04 18:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862499840001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:08:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-04 18:08:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128230363200749568,"km_value":128230363200749.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515559972864,"description":"Unknown IO ID 45"} 
[2026-09-04 18:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862499840001,"power":13722,"unknown_9":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9024228515559972864}} 
[2026-09-04 18:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":170905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:08:58] local.INFO: GPS data processed {"connection_id":170905,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:08:58] local.INFO: Acknowledgment sent {"connection_id":170905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:08:58] local.INFO: TCP Data received {"connection_id":171192,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6c3168012d1ac4800724f1500047008824..."} 
[2026-09-04 18:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6c3168012d1ac4800724f1500047008824..."} 
[2026-09-04 18:08:58] local.INFO: Processing buffer {"connection_id":171192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6c3168012d1ac4800724f1500047008824..."} 
[2026-09-04 18:08:58] local.INFO: Packet analysis {"connection_id":171192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:08:58] local.INFO: Extracted packet for processing {"connection_id":171192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:08:58] local.INFO: GPS Element Parsed {"raw_longitude":756728960,"raw_latitude":119861584,"longitude_deg":75.672896,"latitude_deg":11.9861584,"altitude":71,"angle":136,"satellites":36,"speed":7,"hex_longitude":"2d1ac480","hex_latitude":"0724f150","is_valid_coordinates":true} 
[2026-09-04 18:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862508544001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17379301695422464,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928666571106011136,"note":"Value kept but may cause issues"} 
[2026-09-04 18:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788525425000,"timestamp_ms":1788525425000,"timestamp_seconds":1788525425,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6c3168"} 
[2026-09-04 18:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 18:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862508544001,"66":14211,"175":206,"83":42752,"24":7,"16":17379301695422464,"45":1928666571106011136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-04 18:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862508544001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:08:58] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17379301695422464,"km_value":17379301695422.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928666571106011136,"description":"Unknown IO ID 45"} 
[2026-09-04 18:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862508544001,"power":14211,"unknown_175":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1928666571106011136}} 
[2026-09-04 18:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":171192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:08:58] local.INFO: GPS data processed {"connection_id":171192,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:08:58] local.INFO: Acknowledgment sent {"connection_id":171192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:08:59] local.INFO: TCP Data received {"connection_id":172304,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:08:59] local.INFO: Processing buffer {"connection_id":172304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:08:59] local.INFO: IMEI packet received {"connection_id":172304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":172304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:09:00] local.INFO: TCP Data received {"connection_id":171192,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6c3938012d1ac5400724efe8004700a327..."} 
[2026-09-04 18:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6c3938012d1ac5400724efe8004700a327..."} 
[2026-09-04 18:09:00] local.INFO: Processing buffer {"connection_id":171192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6c3938012d1ac5400724efe8004700a327..."} 
[2026-09-04 18:09:00] local.INFO: Packet analysis {"connection_id":171192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:09:00] local.INFO: Extracted packet for processing {"connection_id":171192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:09:00] local.INFO: GPS Element Parsed {"raw_longitude":756729152,"raw_latitude":119861224,"longitude_deg":75.6729152,"latitude_deg":11.9861224,"altitude":71,"angle":163,"satellites":39,"speed":8,"hex_longitude":"2d1ac540","hex_latitude":"0724efe8","is_valid_coordinates":true} 
[2026-09-04 18:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862508800001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17379318875291648,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928807308594335744,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788525427000,"timestamp_ms":1788525427000,"timestamp_seconds":1788525427,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6c3938"} 
[2026-09-04 18:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 18:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862508800001,"66":14211,"175":206,"83":42752,"24":8,"16":17379318875291648,"45":1928807308594335744},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-04 18:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862508800001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:09:00] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:09:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17379318875291648,"km_value":17379318875291.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928807308594335744,"description":"Unknown IO ID 45"} 
[2026-09-04 18:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862508800001,"power":14211,"unknown_175":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1928807308594335744}} 
[2026-09-04 18:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":171192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:09:00] local.INFO: GPS data processed {"connection_id":171192,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:09:00] local.INFO: Acknowledgment sent {"connection_id":171192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:09:00] local.INFO: TCP Data received {"connection_id":172304,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:09:00] local.INFO: Processing buffer {"connection_id":172304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:09:00] local.INFO: Packet analysis {"connection_id":172304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:09:00] local.INFO: Extracted packet for processing {"connection_id":172304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:09:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862440704001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788525460000,"timestamp_ms":1788525460000,"timestamp_seconds":1788525460,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6cba20"} 
[2026-09-04 18:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862440704001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862440704001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:09:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:09:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862440704001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":172304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764208,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:09:00] local.INFO: GPS data processed {"connection_id":172304,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:09:00] local.INFO: Acknowledgment sent {"connection_id":172304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:09:04] local.INFO: TCP Data received {"connection_id":173604,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:09:04] local.INFO: Processing buffer {"connection_id":173604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:09:04] local.INFO: IMEI packet received {"connection_id":173604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":173604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:09:08] local.INFO: TCP Data received {"connection_id":173604,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:09:08] local.INFO: Processing buffer {"connection_id":173604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:09:08] local.INFO: IMEI packet received {"connection_id":173604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":173604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:09:09] local.INFO: TCP Data received {"connection_id":173604,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6c0288012cc9c7c0074c47b00011007933..."} 
[2026-09-04 18:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6c0288012cc9c7c0074c47b00011007933..."} 
[2026-09-04 18:09:09] local.INFO: Processing buffer {"connection_id":173604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6c0288012cc9c7c0074c47b00011007933..."} 
[2026-09-04 18:09:09] local.INFO: Packet analysis {"connection_id":173604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:09:09] local.INFO: Extracted packet for processing {"connection_id":173604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:09:09] local.INFO: GPS Element Parsed {"raw_longitude":751421376,"raw_latitude":122439600,"longitude_deg":75.1421376,"latitude_deg":12.24396,"altitude":17,"angle":121,"satellites":51,"speed":5,"hex_longitude":"2cc9c7c0","hex_latitude":"074c47b0","is_valid_coordinates":true} 
[2026-09-04 18:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862500608001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313231216541696,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3907083751631843328,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788525413000,"timestamp_ms":1788525413000,"timestamp_seconds":1788525413,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6c0288"} 
[2026-09-04 18:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-09-04 18:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862500608001,"66":27767,"159":206,"85":37632,"24":5,"16":398313231216541696,"44":-3907083751631843328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-04 18:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862500608001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:09:09] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 18:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313231216541696,"km_value":398313231216541.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:09:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3907083751631843328,"description":"Unknown IO ID 44"} 
[2026-09-04 18:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862500608001,"power":27767,"unknown_159":206,"unknown_85":37632,"ignition":5,"odometer":null,"unknown_44":-3907083751631843328}} 
[2026-09-04 18:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":173604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:09:09] local.INFO: GPS data processed {"connection_id":173604,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:09:09] local.INFO: Acknowledgment sent {"connection_id":173604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:09:10] local.INFO: TCP Data received {"connection_id":173604,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6c44f0012cc9e7c0074c38d00011007132..."} 
[2026-09-04 18:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6c44f0012cc9e7c0074c38d00011007132..."} 
[2026-09-04 18:09:10] local.INFO: Processing buffer {"connection_id":173604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6c44f0012cc9e7c0074c38d00011007132..."} 
[2026-09-04 18:09:10] local.INFO: Packet analysis {"connection_id":173604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:09:10] local.INFO: Extracted packet for processing {"connection_id":173604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:09:10] local.INFO: GPS Element Parsed {"raw_longitude":751429568,"raw_latitude":122435792,"longitude_deg":75.1429568,"latitude_deg":12.2435792,"altitude":17,"angle":113,"satellites":50,"speed":32,"hex_longitude":"2cc9e7c0","hex_latitude":"074c38d0","is_valid_coordinates":true} 
[2026-09-04 18:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862505728001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398313665008238592,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3906943014143545344,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788525430000,"timestamp_ms":1788525430000,"timestamp_seconds":1788525430,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6c44f0"} 
[2026-09-04 18:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862505728001,"66":27908,"75":206,"85":37632,"24":32,"16":398313665008238592,"44":-3906943014143545344},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,44]} 
[2026-09-04 18:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862505728001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:09:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-04 18:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398313665008238592,"km_value":398313665008238.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3906943014143545344,"description":"Unknown IO ID 44"} 
[2026-09-04 18:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862505728001,"power":27908,"unknown_75":206,"unknown_85":37632,"ignition":32,"odometer":null,"unknown_44":-3906943014143545344}} 
[2026-09-04 18:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":173604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:09:10] local.INFO: GPS data processed {"connection_id":173604,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:09:10] local.INFO: Acknowledgment sent {"connection_id":173604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:09:23] local.INFO: TCP Data received {"connection_id":171193,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:09:23] local.INFO: Processing buffer {"connection_id":171193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:09:23] local.INFO: IMEI packet received {"connection_id":171193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":171193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:09:26] local.INFO: TCP Data received {"connection_id":171193,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:09:26] local.INFO: Processing buffer {"connection_id":171193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:09:26] local.INFO: IMEI packet received {"connection_id":171193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":171193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:09:31] local.INFO: TCP Data received {"connection_id":171192,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6db038012d1aa58007248988005b01052a..."} 
[2026-09-04 18:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6db038012d1aa58007248988005b01052a..."} 
[2026-09-04 18:09:31] local.INFO: Processing buffer {"connection_id":171192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6db038012d1aa58007248988005b01052a..."} 
[2026-09-04 18:09:31] local.INFO: Packet analysis {"connection_id":171192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6d"} 
[2026-09-04 18:09:31] local.INFO: Extracted packet for processing {"connection_id":171192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6d"} 
[2026-09-04 18:09:31] local.INFO: GPS Element Parsed {"raw_longitude":756721024,"raw_latitude":119835016,"longitude_deg":75.6721024,"latitude_deg":11.9835016,"altitude":91,"angle":261,"satellites":42,"speed":13,"hex_longitude":"2d1aa580","hex_latitude":"07248988","is_valid_coordinates":true} 
[2026-09-04 18:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862533376001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17380723329597440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920785271751337984,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788525523000,"timestamp_ms":1788525523000,"timestamp_seconds":1788525523,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6db038"} 
[2026-09-04 18:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 18:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862533376001,"66":13972,"177":206,"83":42752,"24":13,"16":17380723329597440,"45":1920785271751337984},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-09-04 18:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862533376001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:09:31] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-04 18:09:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17380723329597440,"km_value":17380723329597.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920785271751337984,"description":"Unknown IO ID 45"} 
[2026-09-04 18:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862533376001,"power":13972,"unknown_177":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1920785271751337984}} 
[2026-09-04 18:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":171192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:09:31] local.INFO: GPS data processed {"connection_id":171192,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:09:31] local.INFO: Acknowledgment sent {"connection_id":171192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:09:31] local.INFO: TCP Data received {"connection_id":171193,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:09:31] local.INFO: Processing buffer {"connection_id":171193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:09:31] local.INFO: IMEI packet received {"connection_id":171193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":171193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:09:32] local.INFO: TCP Data received {"connection_id":172304,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:09:32] local.INFO: Processing buffer {"connection_id":172304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:09:32] local.INFO: Packet analysis {"connection_id":172304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:09:32] local.INFO: Extracted packet for processing {"connection_id":172304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:09:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862440704001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788525460000,"timestamp_ms":1788525460000,"timestamp_seconds":1788525460,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6cba20"} 
[2026-09-04 18:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862440704001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862440704001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:09:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:09:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862440704001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":172304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764212,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:09:32] local.INFO: GPS data processed {"connection_id":172304,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:09:32] local.INFO: Acknowledgment sent {"connection_id":172304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:09:32] local.INFO: TCP Data received {"connection_id":171193,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6dd748012d7d290005c0e970000c00b822..."} 
[2026-09-04 18:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6dd748012d7d290005c0e970000c00b822..."} 
[2026-09-04 18:09:32] local.INFO: Processing buffer {"connection_id":171193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6dd748012d7d290005c0e970000c00b822..."} 
[2026-09-04 18:09:32] local.INFO: Packet analysis {"connection_id":171193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6d"} 
[2026-09-04 18:09:32] local.INFO: Extracted packet for processing {"connection_id":171193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6d"} 
[2026-09-04 18:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763177216,"raw_latitude":96528752,"longitude_deg":76.3177216,"latitude_deg":9.6528752,"altitude":12,"angle":184,"satellites":34,"speed":34,"hex_longitude":"2d7d2900","hex_latitude":"05c0e970","is_valid_coordinates":true} 
[2026-09-04 18:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862533888001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128233404037595136,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019443440940734464,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788525533000,"timestamp_ms":1788525533000,"timestamp_seconds":1788525533,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6dd748"} 
[2026-09-04 18:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 18:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862533888001,"66":13287,"9":206,"85":12288,"24":34,"16":128233404037595136,"45":9019443440940734464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-04 18:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862533888001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:09:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-04 18:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128233404037595136,"km_value":128233404037595.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019443440940734464,"description":"Unknown IO ID 45"} 
[2026-09-04 18:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862533888001,"power":13287,"unknown_9":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9019443440940734464}} 
[2026-09-04 18:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":171193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:09:32] local.INFO: GPS data processed {"connection_id":171193,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:09:32] local.INFO: Acknowledgment sent {"connection_id":171193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:09:33] local.INFO: TCP Data received {"connection_id":171193,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6de300012d7d294005c0dd98000d00ac23..."} 
[2026-09-04 18:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6de300012d7d294005c0dd98000d00ac23..."} 
[2026-09-04 18:09:33] local.INFO: Processing buffer {"connection_id":171193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6de300012d7d294005c0dd98000d00ac23..."} 
[2026-09-04 18:09:33] local.INFO: Packet analysis {"connection_id":171193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6d"} 
[2026-09-04 18:09:33] local.INFO: Extracted packet for processing {"connection_id":171193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6d"} 
[2026-09-04 18:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763177280,"raw_latitude":96525720,"longitude_deg":76.317728,"latitude_deg":9.652572,"altitude":13,"angle":172,"satellites":35,"speed":42,"hex_longitude":"2d7d2940","hex_latitude":"05c0dd98","is_valid_coordinates":true} 
[2026-09-04 18:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862536448001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128233550066483200,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018739753497489408,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788525536000,"timestamp_ms":1788525536000,"timestamp_seconds":1788525536,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6de300"} 
[2026-09-04 18:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-04 18:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862536448001,"66":13602,"9":206,"85":12288,"24":42,"16":128233550066483200,"45":9018739753497489408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-04 18:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862536448001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:09:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-04 18:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128233550066483200,"km_value":128233550066483.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018739753497489408,"description":"Unknown IO ID 45"} 
[2026-09-04 18:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862536448001,"power":13602,"unknown_9":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9018739753497489408}} 
[2026-09-04 18:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":171193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:09:33] local.INFO: GPS data processed {"connection_id":171193,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:09:33] local.INFO: Acknowledgment sent {"connection_id":171193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:09:41] local.INFO: TCP Data received {"connection_id":173604,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6c6c00012cca09c0074c2c200013006932..."} 
[2026-09-04 18:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6c6c00012cca09c0074c2c200013006932..."} 
[2026-09-04 18:09:41] local.INFO: Processing buffer {"connection_id":173604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6c6c00012cca09c0074c2c200013006932..."} 
[2026-09-04 18:09:41] local.INFO: Packet analysis {"connection_id":173604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:09:41] local.INFO: Extracted packet for processing {"connection_id":173604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:09:41] local.INFO: GPS Element Parsed {"raw_longitude":751438272,"raw_latitude":122432544,"longitude_deg":75.1438272,"latitude_deg":12.2432544,"altitude":19,"angle":105,"satellites":50,"speed":39,"hex_longitude":"2cca09c0","hex_latitude":"074c2c20","is_valid_coordinates":true} 
[2026-09-04 18:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862510080001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398314107389870080,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3897935814889779200,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788525440000,"timestamp_ms":1788525440000,"timestamp_seconds":1788525440,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6c6c00"} 
[2026-09-04 18:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862510080001,"66":27821,"75":206,"85":37632,"24":39,"16":398314107389870080,"44":-3897935814889779200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,44]} 
[2026-09-04 18:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862510080001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:09:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-04 18:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398314107389870080,"km_value":398314107389870.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3897935814889779200,"description":"Unknown IO ID 44"} 
[2026-09-04 18:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862510080001,"power":27821,"unknown_75":206,"unknown_85":37632,"ignition":39,"odometer":null,"unknown_44":-3897935814889779200}} 
[2026-09-04 18:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":173604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:09:41] local.INFO: GPS data processed {"connection_id":173604,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:09:41] local.INFO: Acknowledgment sent {"connection_id":173604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:09:48] local.INFO: TCP Data received {"connection_id":172305,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:09:48] local.INFO: Processing buffer {"connection_id":172305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:09:48] local.INFO: IMEI packet received {"connection_id":172305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":172305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:09:48] local.INFO: TCP Data received {"connection_id":172306,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:09:48] local.INFO: Processing buffer {"connection_id":172306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:09:48] local.INFO: IMEI packet received {"connection_id":172306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":172306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:09:51] local.INFO: TCP Data received {"connection_id":172305,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:09:51] local.INFO: Processing buffer {"connection_id":172305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:09:51] local.INFO: IMEI packet received {"connection_id":172305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":172305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:09:52] local.INFO: TCP Data received {"connection_id":172305,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6dc7a8012d1a9d4007248808005b00f82b..."} 
[2026-09-04 18:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6dc7a8012d1a9d4007248808005b00f82b..."} 
[2026-09-04 18:09:52] local.INFO: Processing buffer {"connection_id":172305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6dc7a8012d1a9d4007248808005b00f82b..."} 
[2026-09-04 18:09:52] local.INFO: Packet analysis {"connection_id":172305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6d"} 
[2026-09-04 18:09:52] local.INFO: Extracted packet for processing {"connection_id":172305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6d"} 
[2026-09-04 18:09:52] local.INFO: GPS Element Parsed {"raw_longitude":756718912,"raw_latitude":119834632,"longitude_deg":75.6718912,"latitude_deg":11.9834632,"altitude":91,"angle":248,"satellites":43,"speed":17,"hex_longitude":"2d1a9d40","hex_latitude":"07248808","is_valid_coordinates":true} 
[2026-09-04 18:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862533888001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17380826408812544,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920081584309504000,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788525529000,"timestamp_ms":1788525529000,"timestamp_seconds":1788525529,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6dc7a8"} 
[2026-09-04 18:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-04 18:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862533888001,"66":14004,"177":206,"83":42752,"24":17,"16":17380826408812544,"45":1920081584309504000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-09-04 18:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862533888001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:09:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-04 18:09:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17380826408812544,"km_value":17380826408812.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920081584309504000,"description":"Unknown IO ID 45"} 
[2026-09-04 18:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862533888001,"power":14004,"unknown_177":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1920081584309504000}} 
[2026-09-04 18:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":172305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:09:52] local.INFO: GPS data processed {"connection_id":172305,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:09:52] local.INFO: Acknowledgment sent {"connection_id":172305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:09:53] local.INFO: TCP Data received {"connection_id":172305,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6dcf78012d1a9a0007248630005b00e729..."} 
[2026-09-04 18:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6dcf78012d1a9a0007248630005b00e729..."} 
[2026-09-04 18:09:53] local.INFO: Processing buffer {"connection_id":172305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6dcf78012d1a9a0007248630005b00e729..."} 
[2026-09-04 18:09:53] local.INFO: Packet analysis {"connection_id":172305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6d"} 
[2026-09-04 18:09:53] local.INFO: Extracted packet for processing {"connection_id":172305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6d"} 
[2026-09-04 18:09:53] local.INFO: GPS Element Parsed {"raw_longitude":756718080,"raw_latitude":119834160,"longitude_deg":75.671808,"latitude_deg":11.983416,"altitude":91,"angle":231,"satellites":41,"speed":20,"hex_longitude":"2d1a9a00","hex_latitude":"07248630","is_valid_coordinates":true} 
[2026-09-04 18:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862535424001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17380869358485504,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917759415751542784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788525531000,"timestamp_ms":1788525531000,"timestamp_seconds":1788525531,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6dcf78"} 
[2026-09-04 18:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-04 18:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862535424001,"66":14004,"177":206,"83":42752,"24":20,"16":17380869358485504,"45":1917759415751542784},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-09-04 18:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862535424001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:09:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-04 18:09:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17380869358485504,"km_value":17380869358485.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917759415751542784,"description":"Unknown IO ID 45"} 
[2026-09-04 18:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862535424001,"power":14004,"unknown_177":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1917759415751542784}} 
[2026-09-04 18:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":172305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:09:53] local.INFO: GPS data processed {"connection_id":172305,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:09:53] local.INFO: Acknowledgment sent {"connection_id":172305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:09:54] local.INFO: TCP Data received {"connection_id":172306,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:09:54] local.INFO: Processing buffer {"connection_id":172306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:09:54] local.INFO: IMEI packet received {"connection_id":172306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":172306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:09:55] local.INFO: TCP Data received {"connection_id":172306,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:09:55] local.INFO: Processing buffer {"connection_id":172306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:09:55] local.INFO: Packet analysis {"connection_id":172306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:09:55] local.INFO: Extracted packet for processing {"connection_id":172306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862440704001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788525460000,"timestamp_ms":1788525460000,"timestamp_seconds":1788525460,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6cba20"} 
[2026-09-04 18:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862440704001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862440704001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:09:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862440704001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":172306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:09:55] local.INFO: GPS data processed {"connection_id":172306,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:09:55] local.INFO: Acknowledgment sent {"connection_id":172306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:09:58] local.INFO: TCP Data received {"connection_id":170906,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:09:58] local.INFO: Processing buffer {"connection_id":170906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:09:58] local.INFO: IMEI packet received {"connection_id":170906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":170906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:09:58] local.INFO: TCP Data received {"connection_id":170906,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:09:58] local.INFO: Processing buffer {"connection_id":170906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:09:58] local.INFO: IMEI packet received {"connection_id":170906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":170906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:10:04] local.INFO: TCP Data received {"connection_id":170906,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:10:04] local.INFO: Processing buffer {"connection_id":170906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:10:04] local.INFO: IMEI packet received {"connection_id":170906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":170906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:10:04] local.INFO: TCP Data received {"connection_id":171193,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6e0a10012d7d30c005c0bb30000c00a523..."} 
[2026-09-04 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6e0a10012d7d30c005c0bb30000c00a523..."} 
[2026-09-04 18:10:04] local.INFO: Processing buffer {"connection_id":171193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6e0a10012d7d30c005c0bb30000c00a523..."} 
[2026-09-04 18:10:04] local.INFO: Packet analysis {"connection_id":171193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6e"} 
[2026-09-04 18:10:04] local.INFO: Extracted packet for processing {"connection_id":171193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6e"} 
[2026-09-04 18:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":96516912,"longitude_deg":76.31792,"latitude_deg":9.6516912,"altitude":12,"angle":165,"satellites":35,"speed":35,"hex_longitude":"2d7d30c0","hex_latitude":"05c0bb30","is_valid_coordinates":true} 
[2026-09-04 18:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862537216001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128233988153147392,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122240890880,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788525546000,"timestamp_ms":1788525546000,"timestamp_seconds":1788525546,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6e0a10"} 
[2026-09-04 18:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-04 18:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862537216001,"66":13504,"9":206,"85":12288,"24":35,"16":128233988153147392,"45":9018810122240890880},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-04 18:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862537216001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:10:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-04 18:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128233988153147392,"km_value":128233988153147.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122240890880,"description":"Unknown IO ID 45"} 
[2026-09-04 18:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862537216001,"power":13504,"unknown_9":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9018810122240890880}} 
[2026-09-04 18:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":171193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:10:04] local.INFO: GPS data processed {"connection_id":171193,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:10:04] local.INFO: Acknowledgment sent {"connection_id":171193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:10:04] local.INFO: TCP Data received {"connection_id":170906,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6ddf18012ccb06c0074b7ed8000e00a532..."} 
[2026-09-04 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6ddf18012ccb06c0074b7ed8000e00a532..."} 
[2026-09-04 18:10:04] local.INFO: Processing buffer {"connection_id":170906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6ddf18012ccb06c0074b7ed8000e00a532..."} 
[2026-09-04 18:10:04] local.INFO: Packet analysis {"connection_id":170906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6d"} 
[2026-09-04 18:10:04] local.INFO: Extracted packet for processing {"connection_id":170906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6d"} 
[2026-09-04 18:10:04] local.INFO: GPS Element Parsed {"raw_longitude":751503040,"raw_latitude":122388184,"longitude_deg":75.150304,"latitude_deg":12.2388184,"altitude":14,"angle":165,"satellites":50,"speed":21,"hex_longitude":"2ccb06c0","hex_latitude":"074b7ed8","is_valid_coordinates":true} 
[2026-09-04 18:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862533632001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398318273508147200,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3820107983839305728,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788525535000,"timestamp_ms":1788525535000,"timestamp_seconds":1788525535,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6ddf18"} 
[2026-09-04 18:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862533632001,"66":27876,"103":206,"85":37632,"24":21,"16":398318273508147200,"44":-3820107983839305728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 18:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862533632001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:10:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 18:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398318273508147200,"km_value":398318273508147.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:10:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3820107983839305728,"description":"Unknown IO ID 44"} 
[2026-09-04 18:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862533632001,"power":27876,"unknown_103":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-3820107983839305728}} 
[2026-09-04 18:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":170906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:10:04] local.INFO: GPS data processed {"connection_id":170906,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:10:04] local.INFO: Acknowledgment sent {"connection_id":170906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:10:21] local.INFO: TCP Data received {"connection_id":171194,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:10:21] local.INFO: Processing buffer {"connection_id":171194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:10:21] local.INFO: IMEI packet received {"connection_id":171194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":171194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:10:24] local.INFO: TCP Data received {"connection_id":171194,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:10:24] local.INFO: Processing buffer {"connection_id":171194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:10:24] local.INFO: IMEI packet received {"connection_id":171194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":171194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:10:24] local.INFO: TCP Data received {"connection_id":172305,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6dead0012d1a8f4007247db0005900da2a..."} 
[2026-09-04 18:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6dead0012d1a8f4007247db0005900da2a..."} 
[2026-09-04 18:10:24] local.INFO: Processing buffer {"connection_id":172305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6dead0012d1a8f4007247db0005900da2a..."} 
[2026-09-04 18:10:24] local.INFO: Packet analysis {"connection_id":172305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6d"} 
[2026-09-04 18:10:24] local.INFO: Extracted packet for processing {"connection_id":172305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6d"} 
[2026-09-04 18:10:24] local.INFO: GPS Element Parsed {"raw_longitude":756715328,"raw_latitude":119831984,"longitude_deg":75.6715328,"latitude_deg":11.9831984,"altitude":89,"angle":218,"satellites":42,"speed":15,"hex_longitude":"2d1a8f40","hex_latitude":"07247db0","is_valid_coordinates":true} 
[2026-09-04 18:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862535936001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17381036862210048,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916844622077112320,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788525538000,"timestamp_ms":1788525538000,"timestamp_seconds":1788525538,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6dead0"} 
[2026-09-04 18:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-04 18:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862535936001,"66":13993,"177":206,"83":42752,"24":15,"16":17381036862210048,"45":1916844622077112320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-09-04 18:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862535936001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:10:24] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-04 18:10:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17381036862210048,"km_value":17381036862210.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916844622077112320,"description":"Unknown IO ID 45"} 
[2026-09-04 18:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862535936001,"power":13993,"unknown_177":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1916844622077112320}} 
[2026-09-04 18:10:24] local.INFO: TCP Data received {"connection_id":171194,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6e2d38012d7d39c005c095e8000d00a522..."} 
[2026-09-04 18:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6e2d38012d7d39c005c095e8000d00a522..."} 
[2026-09-04 18:10:24] local.INFO: Processing buffer {"connection_id":171194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6e2d38012d7d39c005c095e8000d00a522..."} 
[2026-09-04 18:10:24] local.INFO: Packet analysis {"connection_id":171194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6e"} 
[2026-09-04 18:10:24] local.INFO: Extracted packet for processing {"connection_id":171194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6e"} 
[2026-09-04 18:10:24] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":96507368,"longitude_deg":76.3181504,"latitude_deg":9.6507368,"altitude":13,"angle":165,"satellites":34,"speed":46,"hex_longitude":"2d7d39c0","hex_latitude":"05c095e8","is_valid_coordinates":true} 
[2026-09-04 18:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862539776001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128234464894517248,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921184563965952,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788525555000,"timestamp_ms":1788525555000,"timestamp_seconds":1788525555,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6e2d38"} 
[2026-09-04 18:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-04 18:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862539776001,"66":13504,"9":206,"85":12288,"24":46,"16":128234464894517248,"45":9020921184563965952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-04 18:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862539776001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:10:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-04 18:10:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128234464894517248,"km_value":128234464894517.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921184563965952,"description":"Unknown IO ID 45"} 
[2026-09-04 18:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862539776001,"power":13504,"unknown_9":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9020921184563965952}} 
[2026-09-04 18:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":172305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:10:24] local.INFO: GPS data processed {"connection_id":172305,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:10:24] local.INFO: Acknowledgment sent {"connection_id":172305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":171194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:10:24] local.INFO: GPS data processed {"connection_id":171194,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:10:24] local.INFO: Acknowledgment sent {"connection_id":171194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:10:27] local.INFO: TCP Data received {"connection_id":172306,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:10:27] local.INFO: Processing buffer {"connection_id":172306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:10:27] local.INFO: Packet analysis {"connection_id":172306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:10:27] local.INFO: Extracted packet for processing {"connection_id":172306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:10:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862440704001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525460000,"timestamp_ms":1788525460000,"timestamp_seconds":1788525460,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6cba20"} 
[2026-09-04 18:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862440704001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862440704001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:10:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862440704001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":172306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764223,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:10:27] local.INFO: GPS data processed {"connection_id":172306,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:10:27] local.INFO: Acknowledgment sent {"connection_id":172306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:10:35] local.INFO: TCP Data received {"connection_id":170906,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6e15c8012ccb0e80074b5bf8000e00a233..."} 
[2026-09-04 18:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6e15c8012ccb0e80074b5bf8000e00a233..."} 
[2026-09-04 18:10:35] local.INFO: Processing buffer {"connection_id":170906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6e15c8012ccb0e80074b5bf8000e00a233..."} 
[2026-09-04 18:10:35] local.INFO: Packet analysis {"connection_id":170906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6e"} 
[2026-09-04 18:10:35] local.INFO: Extracted packet for processing {"connection_id":170906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6e"} 
[2026-09-04 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":751505024,"raw_latitude":122379256,"longitude_deg":75.1505024,"latitude_deg":12.2379256,"altitude":14,"angle":162,"satellites":51,"speed":28,"hex_longitude":"2ccb0e80","hex_latitude":"074b5bf8","is_valid_coordinates":true} 
[2026-09-04 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862536960001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398318720184745984,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3817152496586008576,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788525549000,"timestamp_ms":1788525549000,"timestamp_seconds":1788525549,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6e15c8"} 
[2026-09-04 18:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 18:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862536960001,"66":27908,"103":206,"85":37632,"24":28,"16":398318720184745984,"44":-3817152496586008576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 18:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862536960001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:10:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 18:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398318720184745984,"km_value":398318720184746.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3817152496586008576,"description":"Unknown IO ID 44"} 
[2026-09-04 18:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862536960001,"power":27908,"unknown_103":206,"unknown_85":37632,"ignition":28,"odometer":null,"unknown_44":-3817152496586008576}} 
[2026-09-04 18:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":170906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:10:36] local.INFO: GPS data processed {"connection_id":170906,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:10:36] local.INFO: Acknowledgment sent {"connection_id":170906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:10:44] local.INFO: TCP Data received {"connection_id":170907,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:10:44] local.INFO: Processing buffer {"connection_id":170907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:10:44] local.INFO: IMEI packet received {"connection_id":170907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":170907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:10:45] local.INFO: TCP Data received {"connection_id":170907,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:10:45] local.INFO: Processing buffer {"connection_id":170907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:10:45] local.INFO: IMEI packet received {"connection_id":170907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":170907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:10:46] local.INFO: TCP Data received {"connection_id":170907,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:10:46] local.INFO: Processing buffer {"connection_id":170907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:10:46] local.INFO: IMEI packet received {"connection_id":170907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":170907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:10:47] local.INFO: TCP Data received {"connection_id":170907,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:10:47] local.INFO: Processing buffer {"connection_id":170907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:10:47] local.INFO: IMEI packet received {"connection_id":170907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":170907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:10:48] local.INFO: TCP Data received {"connection_id":172307,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:10:48] local.INFO: Processing buffer {"connection_id":172307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:10:48] local.INFO: IMEI packet received {"connection_id":172307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":172307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:10:54] local.INFO: TCP Data received {"connection_id":172307,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:10:54] local.INFO: Processing buffer {"connection_id":172307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:10:54] local.INFO: IMEI packet received {"connection_id":172307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":172307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:10:56] local.INFO: TCP Data received {"connection_id":172307,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:10:56] local.INFO: Processing buffer {"connection_id":172307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:10:56] local.INFO: Packet analysis {"connection_id":172307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:10:56] local.INFO: Extracted packet for processing {"connection_id":172307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:10:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862440704001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788525460000,"timestamp_ms":1788525460000,"timestamp_seconds":1788525460,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6cba20"} 
[2026-09-04 18:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862440704001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862440704001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:10:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:10:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862440704001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:10:56] local.INFO: TCP Data received {"connection_id":171194,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6f5de8012d7d070005bf8970000800ba1f..."} 
[2026-09-04 18:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6f5de8012d7d070005bf8970000800ba1f..."} 
[2026-09-04 18:10:56] local.INFO: Processing buffer {"connection_id":171194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6f5de8012d7d070005bf8970000800ba1f..."} 
[2026-09-04 18:10:56] local.INFO: Packet analysis {"connection_id":171194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6f"} 
[2026-09-04 18:10:56] local.INFO: Extracted packet for processing {"connection_id":171194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6f"} 
[2026-09-04 18:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763168512,"raw_latitude":96438640,"longitude_deg":76.3168512,"latitude_deg":9.643864,"altitude":8,"angle":186,"satellites":31,"speed":36,"hex_longitude":"2d7d0700","hex_latitude":"05bf8970","is_valid_coordinates":true} 
[2026-09-04 18:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862559744001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128237956702928896,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010788085384753152,"note":"Value kept but may cause issues"} 
[2026-09-04 18:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788525633000,"timestamp_ms":1788525633000,"timestamp_seconds":1788525633,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6f5de8"} 
[2026-09-04 18:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-04 18:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862559744001,"66":13493,"10":206,"85":12288,"24":36,"16":128237956702928896,"45":9010788085384753152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-04 18:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862559744001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:10:56] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-04 18:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128237956702928896,"km_value":128237956702928.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010788085384753152,"description":"Unknown IO ID 45"} 
[2026-09-04 18:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862559744001,"power":13493,"unknown_10":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9010788085384753152}} 
[2026-09-04 18:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":172307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:10:56] local.INFO: GPS data processed {"connection_id":172307,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:10:56] local.INFO: Acknowledgment sent {"connection_id":172307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":171194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:10:56] local.INFO: GPS data processed {"connection_id":171194,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:10:56] local.INFO: Acknowledgment sent {"connection_id":171194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:10:59] local.INFO: TCP Data received {"connection_id":170908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:10:59] local.INFO: Processing buffer {"connection_id":170908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:10:59] local.INFO: IMEI packet received {"connection_id":170908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":170908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:10:59] local.INFO: TCP Data received {"connection_id":170908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:10:59] local.INFO: Processing buffer {"connection_id":170908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:10:59] local.INFO: IMEI packet received {"connection_id":170908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":170908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:11:03] local.INFO: TCP Data received {"connection_id":170908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:11:03] local.INFO: Processing buffer {"connection_id":170908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:11:03] local.INFO: IMEI packet received {"connection_id":170908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":170908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:11:04] local.INFO: TCP Data received {"connection_id":170908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6e40c0012ccb1740074b3888000d00a833..."} 
[2026-09-04 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6e40c0012ccb1740074b3888000d00a833..."} 
[2026-09-04 18:11:04] local.INFO: Processing buffer {"connection_id":170908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6e40c0012ccb1740074b3888000d00a833..."} 
[2026-09-04 18:11:04] local.INFO: Packet analysis {"connection_id":170908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6e"} 
[2026-09-04 18:11:04] local.INFO: Extracted packet for processing {"connection_id":170908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6e"} 
[2026-09-04 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":751507264,"raw_latitude":122370184,"longitude_deg":75.1507264,"latitude_deg":12.2370184,"altitude":13,"angle":168,"satellites":51,"speed":37,"hex_longitude":"2ccb1740","hex_latitude":"074b3888","is_valid_coordinates":true} 
[2026-09-04 18:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862540544001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398319171156312064,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3814971065518786560,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788525560000,"timestamp_ms":1788525560000,"timestamp_seconds":1788525560,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6e40c0"} 
[2026-09-04 18:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862540544001,"66":27930,"103":206,"85":37632,"24":37,"16":398319171156312064,"44":-3814971065518786560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 18:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862540544001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:11:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 18:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398319171156312064,"km_value":398319171156312.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:11:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3814971065518786560,"description":"Unknown IO ID 44"} 
[2026-09-04 18:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862540544001,"power":27930,"unknown_103":206,"unknown_85":37632,"ignition":37,"odometer":null,"unknown_44":-3814971065518786560}} 
[2026-09-04 18:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":170908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:11:04] local.INFO: GPS data processed {"connection_id":170908,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:11:04] local.INFO: Acknowledgment sent {"connection_id":170908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:11:19] local.INFO: TCP Data received {"connection_id":172308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:11:19] local.INFO: Processing buffer {"connection_id":172308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:11:19] local.INFO: IMEI packet received {"connection_id":172308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":172308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:11:21] local.INFO: TCP Data received {"connection_id":172308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:11:21] local.INFO: Processing buffer {"connection_id":172308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:11:21] local.INFO: IMEI packet received {"connection_id":172308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":172308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:11:27] local.INFO: TCP Data received {"connection_id":172308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:11:27] local.INFO: Processing buffer {"connection_id":172308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:11:27] local.INFO: IMEI packet received {"connection_id":172308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":172308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:11:28] local.INFO: TCP Data received {"connection_id":172308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6f9498012d7d040005bf77b0000900fa21..."} 
[2026-09-04 18:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6f9498012d7d040005bf77b0000900fa21..."} 
[2026-09-04 18:11:28] local.INFO: Processing buffer {"connection_id":172308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6f9498012d7d040005bf77b0000900fa21..."} 
[2026-09-04 18:11:28] local.INFO: Packet analysis {"connection_id":172308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6f"} 
[2026-09-04 18:11:28] local.INFO: Extracted packet for processing {"connection_id":172308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6f"} 
[2026-09-04 18:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763167744,"raw_latitude":96434096,"longitude_deg":76.3167744,"latitude_deg":9.6434096,"altitude":9,"angle":250,"satellites":33,"speed":6,"hex_longitude":"2d7d0400","hex_latitude":"05bf77b0","is_valid_coordinates":true} 
[2026-09-04 18:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862562048001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128238192926130176,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009169604266258432,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788525647000,"timestamp_ms":1788525647000,"timestamp_seconds":1788525647,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6f9498"} 
[2026-09-04 18:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-04 18:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862562048001,"66":13580,"10":206,"85":12288,"24":6,"16":128238192926130176,"45":9009169604266258432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-04 18:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862562048001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:11:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-04 18:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128238192926130176,"km_value":128238192926130.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009169604266258432,"description":"Unknown IO ID 45"} 
[2026-09-04 18:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862562048001,"power":13580,"unknown_10":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9009169604266258432}} 
[2026-09-04 18:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":172308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:11:28] local.INFO: GPS data processed {"connection_id":172308,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:11:28] local.INFO: Acknowledgment sent {"connection_id":172308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:11:31] local.INFO: TCP Data received {"connection_id":172307,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:11:31] local.INFO: Processing buffer {"connection_id":172307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:11:31] local.INFO: Packet analysis {"connection_id":172307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:11:31] local.INFO: Extracted packet for processing {"connection_id":172307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862440704001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788525460000,"timestamp_ms":1788525460000,"timestamp_seconds":1788525460,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6cba20"} 
[2026-09-04 18:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862440704001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862440704001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:11:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862440704001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":172307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:11:31] local.INFO: GPS data processed {"connection_id":172307,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:11:31] local.INFO: Acknowledgment sent {"connection_id":172307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:11:35] local.INFO: TCP Data received {"connection_id":170908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6f7940012ccbaf00074a96e0000900a730..."} 
[2026-09-04 18:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6f7940012ccbaf00074a96e0000900a730..."} 
[2026-09-04 18:11:35] local.INFO: Processing buffer {"connection_id":170908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6f7940012ccbaf00074a96e0000900a730..."} 
[2026-09-04 18:11:35] local.INFO: Packet analysis {"connection_id":170908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6f"} 
[2026-09-04 18:11:35] local.INFO: Extracted packet for processing {"connection_id":170908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6f"} 
[2026-09-04 18:11:35] local.INFO: GPS Element Parsed {"raw_longitude":751546112,"raw_latitude":122328800,"longitude_deg":75.1546112,"latitude_deg":12.23288,"altitude":9,"angle":167,"satellites":48,"speed":28,"hex_longitude":"2ccbaf00","hex_latitude":"074a96e0","is_valid_coordinates":true} 
[2026-09-04 18:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862562560001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398322053079367680,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3770990600419932160,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788525640000,"timestamp_ms":1788525640000,"timestamp_seconds":1788525640,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6f7940"} 
[2026-09-04 18:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862562560001,"66":27876,"103":206,"85":37632,"24":28,"16":398322053079367680,"44":-3770990600419932160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 18:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862562560001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:11:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 18:11:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398322053079367680,"km_value":398322053079367.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:11:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3770990600419932160,"description":"Unknown IO ID 44"} 
[2026-09-04 18:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862562560001,"power":27876,"unknown_103":206,"unknown_85":37632,"ignition":28,"odometer":null,"unknown_44":-3770990600419932160}} 
[2026-09-04 18:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":170908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:11:35] local.INFO: GPS data processed {"connection_id":170908,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:11:35] local.INFO: Acknowledgment sent {"connection_id":170908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:11:48] local.INFO: TCP Data received {"connection_id":170910,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:11:48] local.INFO: Processing buffer {"connection_id":170910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:11:48] local.INFO: IMEI packet received {"connection_id":170910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":170910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:11:54] local.INFO: TCP Data received {"connection_id":170910,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:11:54] local.INFO: Processing buffer {"connection_id":170910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:11:54] local.INFO: IMEI packet received {"connection_id":170910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":170910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:11:55] local.INFO: TCP Data received {"connection_id":170910,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:11:55] local.INFO: Processing buffer {"connection_id":170910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:11:55] local.INFO: Packet analysis {"connection_id":170910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:11:55] local.INFO: Extracted packet for processing {"connection_id":170910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:11:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862440704001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788525460000,"timestamp_ms":1788525460000,"timestamp_seconds":1788525460,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6cba20"} 
[2026-09-04 18:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862440704001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862440704001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:11:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:11:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862440704001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":170910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:11:55] local.INFO: GPS data processed {"connection_id":170910,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:11:55] local.INFO: Acknowledgment sent {"connection_id":170910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:11:59] local.INFO: TCP Data received {"connection_id":170911,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:11:59] local.INFO: Processing buffer {"connection_id":170911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:11:59] local.INFO: IMEI packet received {"connection_id":170911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":170911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:12:00] local.INFO: TCP Data received {"connection_id":172308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6f9880012d7d030005bf77a0000901121f..."} 
[2026-09-04 18:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6f9880012d7d030005bf77a0000901121f..."} 
[2026-09-04 18:12:00] local.INFO: Processing buffer {"connection_id":172308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6f9880012d7d030005bf77a0000901121f..."} 
[2026-09-04 18:12:00] local.INFO: Packet analysis {"connection_id":172308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6f"} 
[2026-09-04 18:12:00] local.INFO: Extracted packet for processing {"connection_id":172308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6f"} 
[2026-09-04 18:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763167488,"raw_latitude":96434080,"longitude_deg":76.3167488,"latitude_deg":9.643408,"altitude":9,"angle":274,"satellites":31,"speed":10,"hex_longitude":"2d7d0300","hex_latitude":"05bf77a0","is_valid_coordinates":true} 
[2026-09-04 18:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862565632001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128238201516064768,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008325179334963200,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788525648000,"timestamp_ms":1788525648000,"timestamp_seconds":1788525648,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6f9880"} 
[2026-09-04 18:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630230,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4064952762004144128,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3111125002,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549775114,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2802450638,"corrected_to":0} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407207,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2529951744,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3220537344,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":125,"raw_value":4089274783847940108,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":53,"raw_value":5620718452269436501,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755566944911601,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:00] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,10,85,24,241,157,16,151,160,93,45,137,8,31,66,58,192,174,47,128,1,240,225,227,108,191,4,113,205,38,248,34,224,35,239,52,2,199,5,12,37,125,53,48],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2802450638,"validated":0}]} 
[2026-09-04 18:12:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648793365982609408,"timestamp_seconds":648793365982609.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862565632001,"66":13580,"10":206,"85":12288,"24":10,"16":128238201516064768,"45":9008325179334963200},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-04 18:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862565632001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:12:00] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-04 18:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128238201516064768,"km_value":128238201516064.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008325179334963200,"description":"Unknown IO ID 45"} 
[2026-09-04 18:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862565632001,"power":13580,"unknown_10":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9008325179334963200}} 
[2026-09-04 18:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":172308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:12:00] local.INFO: GPS data processed {"connection_id":172308,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:12:00] local.INFO: Acknowledgment sent {"connection_id":172308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:12:01] local.INFO: TCP Data received {"connection_id":170911,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:12:01] local.INFO: Processing buffer {"connection_id":170911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:12:01] local.INFO: IMEI packet received {"connection_id":170911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":170911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:12:04] local.INFO: TCP Data received {"connection_id":170911,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:12:04] local.INFO: Processing buffer {"connection_id":170911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:12:04] local.INFO: IMEI packet received {"connection_id":170911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":170911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:12:05] local.INFO: TCP Data received {"connection_id":170911,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6f8cc8012ccbb080074a87c0000900b530..."} 
[2026-09-04 18:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6f8cc8012ccbb080074a87c0000900b530..."} 
[2026-09-04 18:12:05] local.INFO: Processing buffer {"connection_id":170911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6f8cc8012ccbb080074a87c0000900b530..."} 
[2026-09-04 18:12:05] local.INFO: Packet analysis {"connection_id":170911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6f"} 
[2026-09-04 18:12:05] local.INFO: Extracted packet for processing {"connection_id":170911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6f"} 
[2026-09-04 18:12:05] local.INFO: GPS Element Parsed {"raw_longitude":751546496,"raw_latitude":122324928,"longitude_deg":75.1546496,"latitude_deg":12.2324928,"altitude":9,"angle":181,"satellites":48,"speed":33,"hex_longitude":"2ccbb080","hex_latitude":"074a87c0","is_valid_coordinates":true} 
[2026-09-04 18:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862563840001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398322242057928704,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3769794331769643008,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788525645000,"timestamp_ms":1788525645000,"timestamp_seconds":1788525645,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6f8cc8"} 
[2026-09-04 18:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 18:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862563840001,"66":27984,"103":206,"85":37632,"24":33,"16":398322242057928704,"44":-3769794331769643008},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 18:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862563840001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:12:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 18:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398322242057928704,"km_value":398322242057928.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:12:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3769794331769643008,"description":"Unknown IO ID 44"} 
[2026-09-04 18:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862563840001,"power":27984,"unknown_103":206,"unknown_85":37632,"ignition":33,"odometer":null,"unknown_44":-3769794331769643008}} 
[2026-09-04 18:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":170911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:12:05] local.INFO: GPS data processed {"connection_id":170911,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:12:05] local.INFO: Acknowledgment sent {"connection_id":170911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:12:27] local.INFO: TCP Data received {"connection_id":170910,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:12:27] local.INFO: Processing buffer {"connection_id":170910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:12:27] local.INFO: Packet analysis {"connection_id":170910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:12:27] local.INFO: Extracted packet for processing {"connection_id":170910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:12:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862440704001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525460000,"timestamp_ms":1788525460000,"timestamp_seconds":1788525460,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6cba20"} 
[2026-09-04 18:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862440704001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862440704001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:12:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:12:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862440704001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":170910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:12:27] local.INFO: GPS data processed {"connection_id":170910,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:12:27] local.INFO: Acknowledgment sent {"connection_id":170910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:12:35] local.INFO: TCP Data received {"connection_id":170911,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6f9c68012ccbaec0074a7aa0000900c12f..."} 
[2026-09-04 18:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6f9c68012ccbaec0074a7aa0000900c12f..."} 
[2026-09-04 18:12:35] local.INFO: Processing buffer {"connection_id":170911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6f9c68012ccbaec0074a7aa0000900c12f..."} 
[2026-09-04 18:12:35] local.INFO: Packet analysis {"connection_id":170911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6f"} 
[2026-09-04 18:12:35] local.INFO: Extracted packet for processing {"connection_id":170911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6f"} 
[2026-09-04 18:12:35] local.INFO: GPS Element Parsed {"raw_longitude":751546048,"raw_latitude":122321568,"longitude_deg":75.1546048,"latitude_deg":12.2321568,"altitude":9,"angle":193,"satellites":47,"speed":34,"hex_longitude":"2ccbaec0","hex_latitude":"074a7aa0","is_valid_coordinates":true} 
[2026-09-04 18:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862565120001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398322405266685952,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3769372119305568256,"note":"Value kept but may cause issues"} 
[2026-09-04 18:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788525649000,"timestamp_ms":1788525649000,"timestamp_seconds":1788525649,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6f9c68"} 
[2026-09-04 18:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 18:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862565120001,"66":27919,"103":206,"85":37632,"24":34,"16":398322405266685952,"44":-3769372119305568256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-04 18:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862565120001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:12:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 18:12:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398322405266685952,"km_value":398322405266685.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:12:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3769372119305568256,"description":"Unknown IO ID 44"} 
[2026-09-04 18:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862565120001,"power":27919,"unknown_103":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-3769372119305568256}} 
[2026-09-04 18:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":170911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:12:35] local.INFO: GPS data processed {"connection_id":170911,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:12:35] local.INFO: Acknowledgment sent {"connection_id":170911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:12:53] local.INFO: TCP Data received {"connection_id":170912,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:12:53] local.INFO: Processing buffer {"connection_id":170912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:12:53] local.INFO: IMEI packet received {"connection_id":170912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":170912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:12:53] local.INFO: TCP Data received {"connection_id":173606,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:12:53] local.INFO: Processing buffer {"connection_id":173606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:12:53] local.INFO: IMEI packet received {"connection_id":173606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":173606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:12:56] local.INFO: TCP Data received {"connection_id":170912,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:12:56] local.INFO: Processing buffer {"connection_id":170912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:12:56] local.INFO: IMEI packet received {"connection_id":170912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":170912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:12:58] local.INFO: TCP Data received {"connection_id":172309,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:12:58] local.INFO: Processing buffer {"connection_id":172309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:12:58] local.INFO: IMEI packet received {"connection_id":172309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":172309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:12:59] local.INFO: TCP Data received {"connection_id":173606,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:12:59] local.INFO: Processing buffer {"connection_id":173606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:12:59] local.INFO: IMEI packet received {"connection_id":173606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":173606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:13:00] local.INFO: TCP Data received {"connection_id":173606,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:13:00] local.INFO: Processing buffer {"connection_id":173606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:13:00] local.INFO: Packet analysis {"connection_id":173606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:13:00] local.INFO: Extracted packet for processing {"connection_id":173606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862440704001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788525460000,"timestamp_ms":1788525460000,"timestamp_seconds":1788525460,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6cba20"} 
[2026-09-04 18:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862440704001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862440704001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:13:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862440704001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":173606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764236,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:13:00] local.INFO: GPS data processed {"connection_id":173606,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:13:00] local.INFO: Acknowledgment sent {"connection_id":173606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:13:00] local.INFO: TCP Data received {"connection_id":170912,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:00] local.INFO: Processing buffer {"connection_id":170912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:00] local.INFO: IMEI packet received {"connection_id":170912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":170912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:13:01] local.INFO: TCP Data received {"connection_id":170912,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c70c548012d7be70005bf6ea0000d010520..."} 
[2026-09-04 18:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c70c548012d7be70005bf6ea0000d010520..."} 
[2026-09-04 18:13:01] local.INFO: Processing buffer {"connection_id":170912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c70c548012d7be70005bf6ea0000d010520..."} 
[2026-09-04 18:13:01] local.INFO: Packet analysis {"connection_id":170912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c70"} 
[2026-09-04 18:13:01] local.INFO: Extracted packet for processing {"connection_id":170912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c70"} 
[2026-09-04 18:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":96431776,"longitude_deg":76.3094784,"latitude_deg":9.6431776,"altitude":13,"angle":261,"satellites":32,"speed":41,"hex_longitude":"2d7be700","hex_latitude":"05bf6ea0","is_valid_coordinates":true} 
[2026-09-04 18:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862583296001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128241727684214784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938026803901360128,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788525725000,"timestamp_ms":1788525725000,"timestamp_seconds":1788525725,"priority":1,"record_length":96,"hex_timestamp":"000001a06c70c548"} 
[2026-09-04 18:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-04 18:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862583296001,"66":13820,"25":206,"85":12288,"24":41,"16":128241727684214784,"45":8938026803901360128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-04 18:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862583296001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:13:01] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-04 18:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128241727684214784,"km_value":128241727684214.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938026803901360128,"description":"Unknown IO ID 45"} 
[2026-09-04 18:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862583296001,"power":13820,"unknown_25":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":8938026803901360128}} 
[2026-09-04 18:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":170912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:13:01] local.INFO: GPS data processed {"connection_id":170912,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:13:01] local.INFO: Acknowledgment sent {"connection_id":170912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:13:02] local.INFO: TCP Data received {"connection_id":172309,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:13:02] local.INFO: Processing buffer {"connection_id":172309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:13:02] local.INFO: IMEI packet received {"connection_id":172309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":172309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:13:03] local.INFO: TCP Data received {"connection_id":172309,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:13:03] local.INFO: Processing buffer {"connection_id":172309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:13:03] local.INFO: IMEI packet received {"connection_id":172309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":172309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:13:04] local.INFO: TCP Data received {"connection_id":173606,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:13:04] local.INFO: Processing buffer {"connection_id":173606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c6cba20012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:13:04] local.INFO: Packet analysis {"connection_id":173606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:13:04] local.INFO: Extracted packet for processing {"connection_id":173606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c6c"} 
[2026-09-04 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862440704001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788525460000,"timestamp_ms":1788525460000,"timestamp_seconds":1788525460,"priority":1,"record_length":96,"hex_timestamp":"000001a06c6cba20"} 
[2026-09-04 18:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862440704001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862440704001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:13:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:13:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862440704001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:13:04] local.INFO: TCP Data received {"connection_id":172309,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c70b990012ccc17400749a438000d009131..."} 
[2026-09-04 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c70b990012ccc17400749a438000d009131..."} 
[2026-09-04 18:13:04] local.INFO: Processing buffer {"connection_id":172309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c70b990012ccc17400749a438000d009131..."} 
[2026-09-04 18:13:04] local.INFO: Packet analysis {"connection_id":172309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c70"} 
[2026-09-04 18:13:04] local.INFO: Extracted packet for processing {"connection_id":172309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c70"} 
[2026-09-04 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":751572800,"raw_latitude":122266680,"longitude_deg":75.15728,"latitude_deg":12.226668,"altitude":13,"angle":145,"satellites":49,"speed":50,"hex_longitude":"2ccc1740","hex_latitude":"0749a438","is_valid_coordinates":true} 
[2026-09-04 18:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862583552001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398325845535490048,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3744743058857123840,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788525722000,"timestamp_ms":1788525722000,"timestamp_seconds":1788525722,"priority":1,"record_length":96,"hex_timestamp":"000001a06c70b990"} 
[2026-09-04 18:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862583552001,"66":27919,"101":206,"85":37632,"24":50,"16":398325845535490048,"44":-3744743058857123840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-09-04 18:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862583552001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:13:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 18:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398325845535490048,"km_value":398325845535490.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:13:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3744743058857123840,"description":"Unknown IO ID 44"} 
[2026-09-04 18:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862583552001,"power":27919,"unknown_101":206,"unknown_85":37632,"ignition":50,"odometer":null,"unknown_44":-3744743058857123840}} 
[2026-09-04 18:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":172309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:13:04] local.INFO: GPS data processed {"connection_id":172309,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:13:04] local.INFO: Acknowledgment sent {"connection_id":172309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":173606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:13:04] local.INFO: GPS data processed {"connection_id":173606,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:13:04] local.INFO: Acknowledgment sent {"connection_id":173606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:13:25] local.INFO: TCP Data received {"connection_id":170913,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:25] local.INFO: Processing buffer {"connection_id":170913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:25] local.INFO: IMEI packet received {"connection_id":170913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":170913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:13:26] local.INFO: TCP Data received {"connection_id":170913,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:26] local.INFO: Processing buffer {"connection_id":170913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:26] local.INFO: IMEI packet received {"connection_id":170913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":170913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:13:28] local.INFO: TCP Data received {"connection_id":170913,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:28] local.INFO: Processing buffer {"connection_id":170913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:28] local.INFO: IMEI packet received {"connection_id":170913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":170913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:13:31] local.INFO: TCP Data received {"connection_id":170913,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:31] local.INFO: Processing buffer {"connection_id":170913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:13:31] local.INFO: IMEI packet received {"connection_id":170913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":170913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:13:32] local.INFO: TCP Data received {"connection_id":170913,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c70e488012d7bc4c005bf6668000c010120..."} 
[2026-09-04 18:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c70e488012d7bc4c005bf6668000c010120..."} 
[2026-09-04 18:13:32] local.INFO: Processing buffer {"connection_id":170913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c70e488012d7bc4c005bf6668000c010120..."} 
[2026-09-04 18:13:32] local.INFO: Packet analysis {"connection_id":170913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c70"} 
[2026-09-04 18:13:32] local.INFO: Extracted packet for processing {"connection_id":170913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c70"} 
[2026-09-04 18:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763086016,"raw_latitude":96429672,"longitude_deg":76.3086016,"latitude_deg":9.6429672,"altitude":12,"angle":257,"satellites":32,"speed":38,"hex_longitude":"2d7bc4c0","hex_latitude":"05bf6668","is_valid_coordinates":true} 
[2026-09-04 18:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862585600001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128242161475911680,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928104810971832320,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788525733000,"timestamp_ms":1788525733000,"timestamp_seconds":1788525733,"priority":1,"record_length":96,"hex_timestamp":"000001a06c70e488"} 
[2026-09-04 18:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-04 18:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":170913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":170913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":170913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862585600001,"66":13526,"25":206,"85":12288,"24":38,"16":128242161475911680,"45":8928104810971832320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-04 18:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862585600001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:13:32] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-04 18:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128242161475911680,"km_value":128242161475911.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928104810971832320,"description":"Unknown IO ID 45"} 
[2026-09-04 18:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862585600001,"power":13526,"unknown_25":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":8928104810971832320}} 
[2026-09-04 18:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":170913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:13:32] local.INFO: GPS data processed {"connection_id":170913,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:13:32] local.INFO: Acknowledgment sent {"connection_id":170913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:13:36] local.INFO: TCP Data received {"connection_id":170913,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7126f0012d7bb84005bf63a0000b011021..."} 
[2026-09-04 18:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7126f0012d7bb84005bf63a0000b011021..."} 
[2026-09-04 18:13:36] local.INFO: Processing buffer {"connection_id":170913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7126f0012d7bb84005bf63a0000b011021..."} 
[2026-09-04 18:13:36] local.INFO: Packet analysis {"connection_id":170913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:13:36] local.INFO: Extracted packet for processing {"connection_id":170913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763082816,"raw_latitude":96428960,"longitude_deg":76.3082816,"latitude_deg":9.642896,"altitude":11,"angle":272,"satellites":33,"speed":5,"hex_longitude":"2d7bb840","hex_latitude":"05bf63a0","is_valid_coordinates":true} 
[2026-09-04 18:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862587648001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128242324684668928,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918464293018953728,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788525750000,"timestamp_ms":1788525750000,"timestamp_seconds":1788525750,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7126f0"} 
[2026-09-04 18:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-04 18:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862587648001,"66":13678,"25":206,"85":12288,"24":5,"16":128242324684668928,"45":8918464293018953728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-04 18:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862587648001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:13:36] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-04 18:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128242324684668928,"km_value":128242324684668.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918464293018953728,"description":"Unknown IO ID 45"} 
[2026-09-04 18:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862587648001,"power":13678,"unknown_25":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":8918464293018953728}} 
[2026-09-04 18:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":170913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:13:36] local.INFO: GPS data processed {"connection_id":170913,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:13:36] local.INFO: Acknowledgment sent {"connection_id":170913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:13:36] local.INFO: TCP Data received {"connection_id":172309,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c70d4e8012ccc2b00074984f0000d009632..."} 
[2026-09-04 18:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c70d4e8012ccc2b00074984f0000d009632..."} 
[2026-09-04 18:13:36] local.INFO: Processing buffer {"connection_id":172309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c70d4e8012ccc2b00074984f0000d009632..."} 
[2026-09-04 18:13:36] local.INFO: Packet analysis {"connection_id":172309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c70"} 
[2026-09-04 18:13:36] local.INFO: Extracted packet for processing {"connection_id":172309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c70"} 
[2026-09-04 18:13:36] local.INFO: GPS Element Parsed {"raw_longitude":751577856,"raw_latitude":122258672,"longitude_deg":75.1577856,"latitude_deg":12.2258672,"altitude":13,"angle":150,"satellites":50,"speed":56,"hex_longitude":"2ccc2b00","hex_latitude":"074984f0","is_valid_coordinates":true} 
[2026-09-04 18:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862584832001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398326300802023424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3740450565463459840,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788525729000,"timestamp_ms":1788525729000,"timestamp_seconds":1788525729,"priority":1,"record_length":96,"hex_timestamp":"000001a06c70d4e8"} 
[2026-09-04 18:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 18:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862584832001,"66":27713,"101":206,"85":37632,"24":56,"16":398326300802023424,"44":-3740450565463459840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-09-04 18:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862584832001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:13:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 18:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398326300802023424,"km_value":398326300802023.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:13:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3740450565463459840,"description":"Unknown IO ID 44"} 
[2026-09-04 18:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862584832001,"power":27713,"unknown_101":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-3740450565463459840}} 
[2026-09-04 18:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":172309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:13:36] local.INFO: GPS data processed {"connection_id":172309,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:13:36] local.INFO: Acknowledgment sent {"connection_id":172309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:13:49] local.INFO: TCP Data received {"connection_id":172310,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:13:49] local.INFO: Processing buffer {"connection_id":172310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:13:49] local.INFO: IMEI packet received {"connection_id":172310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":172310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:13:54] local.INFO: TCP Data received {"connection_id":172310,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:13:54] local.INFO: Processing buffer {"connection_id":172310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:13:54] local.INFO: IMEI packet received {"connection_id":172310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":172310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:13:55] local.INFO: TCP Data received {"connection_id":172310,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:13:55] local.INFO: Processing buffer {"connection_id":172310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:13:55] local.INFO: Packet analysis {"connection_id":172310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:13:55] local.INFO: Extracted packet for processing {"connection_id":172310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862517760001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788525761000,"timestamp_ms":1788525761000,"timestamp_seconds":1788525761,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7151e8"} 
[2026-09-04 18:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862517760001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862517760001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:13:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:13:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862517760001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":172310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:13:55] local.INFO: GPS data processed {"connection_id":172310,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:13:55] local.INFO: Acknowledgment sent {"connection_id":172310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:14:03] local.INFO: TCP Data received {"connection_id":170914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:14:03] local.INFO: Processing buffer {"connection_id":170914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:14:03] local.INFO: IMEI packet received {"connection_id":170914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":170914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:14:03] local.INFO: TCP Data received {"connection_id":170914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:14:03] local.INFO: Processing buffer {"connection_id":170914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:14:03] local.INFO: IMEI packet received {"connection_id":170914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":170914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:14:09] local.INFO: TCP Data received {"connection_id":170914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:14:09] local.INFO: Processing buffer {"connection_id":170914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:14:09] local.INFO: IMEI packet received {"connection_id":170914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":170914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:14:09] local.INFO: TCP Data received {"connection_id":170914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c71a7d8012ccc2280074877c8000800b432..."} 
[2026-09-04 18:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c71a7d8012ccc2280074877c8000800b432..."} 
[2026-09-04 18:14:09] local.INFO: Processing buffer {"connection_id":170914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c71a7d8012ccc2280074877c8000800b432..."} 
[2026-09-04 18:14:09] local.INFO: Packet analysis {"connection_id":170914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:14:09] local.INFO: Extracted packet for processing {"connection_id":170914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:14:09] local.INFO: GPS Element Parsed {"raw_longitude":751575680,"raw_latitude":122189768,"longitude_deg":75.157568,"latitude_deg":12.2189768,"altitude":8,"angle":180,"satellites":50,"speed":23,"hex_longitude":"2ccc2280","hex_latitude":"074877c8","is_valid_coordinates":true} 
[2026-09-04 18:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862599680001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398329749660762112,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3737495078227255296,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788525783000,"timestamp_ms":1788525783000,"timestamp_seconds":1788525783,"priority":1,"record_length":96,"hex_timestamp":"000001a06c71a7d8"} 
[2026-09-04 18:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 18:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862599680001,"66":27930,"167":206,"85":37632,"24":23,"16":398329749660762112,"44":-3737495078227255296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-04 18:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862599680001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:14:09] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-04 18:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398329749660762112,"km_value":398329749660762.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:14:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3737495078227255296,"description":"Unknown IO ID 44"} 
[2026-09-04 18:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862599680001,"power":27930,"unknown_167":206,"unknown_85":37632,"ignition":23,"odometer":null,"unknown_44":-3737495078227255296}} 
[2026-09-04 18:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":170914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:14:09] local.INFO: GPS data processed {"connection_id":170914,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:14:09] local.INFO: Acknowledgment sent {"connection_id":170914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:14:14] local.INFO: TCP Data received {"connection_id":170914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c71c330012ccc22c007486740000700a832..."} 
[2026-09-04 18:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c71c330012ccc22c007486740000700a832..."} 
[2026-09-04 18:14:14] local.INFO: Processing buffer {"connection_id":170914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c71c330012ccc22c007486740000700a832..."} 
[2026-09-04 18:14:14] local.INFO: Packet analysis {"connection_id":170914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:14:14] local.INFO: Extracted packet for processing {"connection_id":170914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:14:14] local.INFO: GPS Element Parsed {"raw_longitude":751575744,"raw_latitude":122185536,"longitude_deg":75.1575744,"latitude_deg":12.2185536,"altitude":7,"angle":168,"satellites":50,"speed":21,"hex_longitude":"2ccc22c0","hex_latitude":"07486740","is_valid_coordinates":true} 
[2026-09-04 18:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862600448001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398329955819192320,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3737283971995154432,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788525790000,"timestamp_ms":1788525790000,"timestamp_seconds":1788525790,"priority":1,"record_length":96,"hex_timestamp":"000001a06c71c330"} 
[2026-09-04 18:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":170914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":170914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":170914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862600448001,"66":27832,"12":206,"85":37632,"24":21,"16":398329955819192320,"44":-3737283971995154432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,85,24,16,44]} 
[2026-09-04 18:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862600448001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:14:14] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-04 18:14:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398329955819192320,"km_value":398329955819192.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:14:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3737283971995154432,"description":"Unknown IO ID 44"} 
[2026-09-04 18:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862600448001,"power":27832,"unknown_12":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-3737283971995154432}} 
[2026-09-04 18:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":170914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:14:14] local.INFO: GPS data processed {"connection_id":170914,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:14:14] local.INFO: Acknowledgment sent {"connection_id":170914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:14:21] local.INFO: TCP Data received {"connection_id":171195,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:14:21] local.INFO: Processing buffer {"connection_id":171195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:14:21] local.INFO: IMEI packet received {"connection_id":171195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":171195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:14:23] local.INFO: TCP Data received {"connection_id":171195,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:14:23] local.INFO: Processing buffer {"connection_id":171195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:14:23] local.INFO: IMEI packet received {"connection_id":171195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":171195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:14:24] local.INFO: TCP Data received {"connection_id":171195,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:14:24] local.INFO: Processing buffer {"connection_id":171195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:14:24] local.INFO: IMEI packet received {"connection_id":171195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":171195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:14:26] local.INFO: TCP Data received {"connection_id":171195,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:14:26] local.INFO: Processing buffer {"connection_id":171195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:14:26] local.INFO: IMEI packet received {"connection_id":171195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":171195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:14:27] local.INFO: TCP Data received {"connection_id":172310,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:14:27] local.INFO: Processing buffer {"connection_id":172310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:14:27] local.INFO: Packet analysis {"connection_id":172310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:14:27] local.INFO: Extracted packet for processing {"connection_id":172310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:14:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862517760001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525761000,"timestamp_ms":1788525761000,"timestamp_seconds":1788525761,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7151e8"} 
[2026-09-04 18:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862517760001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862517760001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:14:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862517760001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":172310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764246,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:14:27] local.INFO: GPS data processed {"connection_id":172310,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:14:27] local.INFO: Acknowledgment sent {"connection_id":172310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:14:27] local.INFO: TCP Data received {"connection_id":171195,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c724030012d7a8a8005bf40e80009010d22..."} 
[2026-09-04 18:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c724030012d7a8a8005bf40e80009010d22..."} 
[2026-09-04 18:14:27] local.INFO: Processing buffer {"connection_id":171195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c724030012d7a8a8005bf40e80009010d22..."} 
[2026-09-04 18:14:27] local.INFO: Packet analysis {"connection_id":171195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:14:27] local.INFO: Extracted packet for processing {"connection_id":171195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763005568,"raw_latitude":96420072,"longitude_deg":76.3005568,"latitude_deg":9.6420072,"altitude":9,"angle":269,"satellites":34,"speed":32,"hex_longitude":"2d7a8a80","hex_latitude":"05bf40e8","is_valid_coordinates":true} 
[2026-09-04 18:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862608128001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128246052716281856,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839862405770321920,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525822000,"timestamp_ms":1788525822000,"timestamp_seconds":1788525822,"priority":1,"record_length":96,"hex_timestamp":"000001a06c724030"} 
[2026-09-04 18:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630236,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":297519265131528202,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549759085,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1751974094,"corrected_to":0} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2415996283,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2639659008,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3209912320,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":123,"raw_value":8016413656063410188,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292497952289195,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755614189551857,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:27] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,109,85,24,241,157,16,158,160,29,45,128,69,11,34,10,66,1,64,32,245,240,227,108,191,4,113,205,42,179,40,232,33,239,53,2,199,5,123,52,48],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1751974094,"validated":0}]} 
[2026-09-04 18:14:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792923951519301632,"timestamp_seconds":792923951519301.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862608128001,"66":13602,"44":206,"85":12288,"24":32,"16":128246052716281856,"45":8839862405770321920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-04 18:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862608128001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:14:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-04 18:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128246052716281856,"km_value":128246052716281.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839862405770321920,"description":"Unknown IO ID 45"} 
[2026-09-04 18:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862608128001,"power":13602,"unknown_44":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":8839862405770321920}} 
[2026-09-04 18:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":171195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:14:28] local.INFO: GPS data processed {"connection_id":171195,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:14:28] local.INFO: Acknowledgment sent {"connection_id":171195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:14:48] local.INFO: TCP Data received {"connection_id":173608,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:14:48] local.INFO: Processing buffer {"connection_id":173608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:14:48] local.INFO: IMEI packet received {"connection_id":173608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":173608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:14:54] local.INFO: TCP Data received {"connection_id":173608,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:14:54] local.INFO: Processing buffer {"connection_id":173608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:14:54] local.INFO: IMEI packet received {"connection_id":173608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":173608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:14:55] local.INFO: TCP Data received {"connection_id":173608,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:14:55] local.INFO: Processing buffer {"connection_id":173608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:14:55] local.INFO: Packet analysis {"connection_id":173608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:14:55] local.INFO: Extracted packet for processing {"connection_id":173608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862517760001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788525761000,"timestamp_ms":1788525761000,"timestamp_seconds":1788525761,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7151e8"} 
[2026-09-04 18:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862517760001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862517760001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:14:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:14:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862517760001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":173608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:14:55] local.INFO: GPS data processed {"connection_id":173608,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:14:55] local.INFO: Acknowledgment sent {"connection_id":173608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:14:58] local.INFO: TCP Data received {"connection_id":171196,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:14:58] local.INFO: Processing buffer {"connection_id":171196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:14:58] local.INFO: IMEI packet received {"connection_id":171196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":171196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:14:59] local.INFO: TCP Data received {"connection_id":171195,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c726358012d7a644005bf3ff80008010d22..."} 
[2026-09-04 18:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c726358012d7a644005bf3ff80008010d22..."} 
[2026-09-04 18:14:59] local.INFO: Processing buffer {"connection_id":171195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c726358012d7a644005bf3ff80008010d22..."} 
[2026-09-04 18:14:59] local.INFO: Packet analysis {"connection_id":171195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:14:59] local.INFO: Extracted packet for processing {"connection_id":171195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:14:59] local.INFO: GPS Element Parsed {"raw_longitude":762995776,"raw_latitude":96419832,"longitude_deg":76.2995776,"latitude_deg":9.6419832,"altitude":8,"angle":269,"satellites":34,"speed":49,"hex_longitude":"2d7a6440","hex_latitude":"05bf3ff8","is_valid_coordinates":true} 
[2026-09-04 18:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862610432001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128246525162684416,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830010781585172480,"note":"Value kept but may cause issues"} 
[2026-09-04 18:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788525831000,"timestamp_ms":1788525831000,"timestamp_seconds":1788525831,"priority":1,"record_length":96,"hex_timestamp":"000001a06c726358"} 
[2026-09-04 18:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-04 18:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862610432001,"66":13559,"44":206,"85":12288,"24":49,"16":128246525162684416,"45":8830010781585172480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-04 18:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862610432001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:14:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-04 18:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128246525162684416,"km_value":128246525162684.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830010781585172480,"description":"Unknown IO ID 45"} 
[2026-09-04 18:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862610432001,"power":13559,"unknown_44":206,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":8830010781585172480}} 
[2026-09-04 18:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":171195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:14:59] local.INFO: GPS data processed {"connection_id":171195,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:14:59] local.INFO: Acknowledgment sent {"connection_id":171195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:15:04] local.INFO: TCP Data received {"connection_id":171196,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:15:04] local.INFO: Processing buffer {"connection_id":171196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:15:04] local.INFO: IMEI packet received {"connection_id":171196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":171196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:15:05] local.INFO: TCP Data received {"connection_id":171196,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c71fdc8012ccc2a0007484310000800a433..."} 
[2026-09-04 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c71fdc8012ccc2a0007484310000800a433..."} 
[2026-09-04 18:15:05] local.INFO: Processing buffer {"connection_id":171196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c71fdc8012ccc2a0007484310000800a433..."} 
[2026-09-04 18:15:05] local.INFO: Packet analysis {"connection_id":171196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:15:05] local.INFO: Extracted packet for processing {"connection_id":171196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:15:05] local.INFO: GPS Element Parsed {"raw_longitude":751577600,"raw_latitude":122176272,"longitude_deg":75.15776,"latitude_deg":12.2176272,"altitude":8,"angle":164,"satellites":51,"speed":27,"hex_longitude":"2ccc2a00","hex_latitude":"07484310","is_valid_coordinates":true} 
[2026-09-04 18:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862602240001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398330411085725696,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3737213603252060160,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788525805000,"timestamp_ms":1788525805000,"timestamp_seconds":1788525805,"priority":1,"record_length":96,"hex_timestamp":"000001a06c71fdc8"} 
[2026-09-04 18:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 18:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862602240001,"66":27767,"12":206,"85":37632,"24":27,"16":398330411085725696,"44":-3737213603252060160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,85,24,16,44]} 
[2026-09-04 18:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862602240001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:15:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-04 18:15:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398330411085725696,"km_value":398330411085725.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3737213603252060160,"description":"Unknown IO ID 44"} 
[2026-09-04 18:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862602240001,"power":27767,"unknown_12":206,"unknown_85":37632,"ignition":27,"odometer":null,"unknown_44":-3737213603252060160}} 
[2026-09-04 18:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":171196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:15:05] local.INFO: GPS data processed {"connection_id":171196,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:15:05] local.INFO: Acknowledgment sent {"connection_id":171196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:15:26] local.INFO: TCP Data received {"connection_id":172311,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:15:26] local.INFO: Processing buffer {"connection_id":172311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:15:26] local.INFO: IMEI packet received {"connection_id":172311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":172311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:15:27] local.INFO: TCP Data received {"connection_id":173608,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:15:27] local.INFO: Processing buffer {"connection_id":173608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:15:27] local.INFO: Packet analysis {"connection_id":173608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:15:27] local.INFO: Extracted packet for processing {"connection_id":173608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:15:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862517760001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525761000,"timestamp_ms":1788525761000,"timestamp_seconds":1788525761,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7151e8"} 
[2026-09-04 18:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862517760001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862517760001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:15:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:15:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862517760001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":173608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:15:27] local.INFO: GPS data processed {"connection_id":173608,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:15:27] local.INFO: Acknowledgment sent {"connection_id":173608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:15:27] local.INFO: TCP Data received {"connection_id":172311,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:15:27] local.INFO: Processing buffer {"connection_id":172311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:15:27] local.INFO: IMEI packet received {"connection_id":172311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":172311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:15:28] local.INFO: TCP Data received {"connection_id":172311,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c728a68012d7a3fc005bf3f780006010721..."} 
[2026-09-04 18:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c728a68012d7a3fc005bf3f780006010721..."} 
[2026-09-04 18:15:28] local.INFO: Processing buffer {"connection_id":172311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c728a68012d7a3fc005bf3f780006010721..."} 
[2026-09-04 18:15:28] local.INFO: Packet analysis {"connection_id":172311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:15:28] local.INFO: Extracted packet for processing {"connection_id":172311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:15:28] local.INFO: GPS Element Parsed {"raw_longitude":762986432,"raw_latitude":96419704,"longitude_deg":76.2986432,"latitude_deg":9.6419704,"altitude":6,"angle":263,"satellites":33,"speed":21,"hex_longitude":"2d7a3fc0","hex_latitude":"05bf3f78","is_valid_coordinates":true} 
[2026-09-04 18:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862612736001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128246967544315904,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819244363725928448,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788525841000,"timestamp_ms":1788525841000,"timestamp_seconds":1788525841,"priority":1,"record_length":96,"hex_timestamp":"000001a06c728a68"} 
[2026-09-04 18:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-04 18:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862612736001,"66":12906,"44":206,"85":12288,"24":21,"16":128246967544315904,"45":8819244363725928448},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-04 18:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862612736001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:15:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-04 18:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128246967544315904,"km_value":128246967544315.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819244363725928448,"description":"Unknown IO ID 45"} 
[2026-09-04 18:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862612736001,"power":12906,"unknown_44":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":8819244363725928448}} 
[2026-09-04 18:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":172311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:15:28] local.INFO: GPS data processed {"connection_id":172311,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:15:28] local.INFO: Acknowledgment sent {"connection_id":172311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:15:31] local.INFO: TCP Data received {"connection_id":172311,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c72d888012d7a3bc005bf3f300006011324..."} 
[2026-09-04 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c72d888012d7a3bc005bf3f300006011324..."} 
[2026-09-04 18:15:31] local.INFO: Processing buffer {"connection_id":172311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c72d888012d7a3bc005bf3f300006011324..."} 
[2026-09-04 18:15:31] local.INFO: Packet analysis {"connection_id":172311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:15:31] local.INFO: Extracted packet for processing {"connection_id":172311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:15:31] local.INFO: GPS Element Parsed {"raw_longitude":762985408,"raw_latitude":96419632,"longitude_deg":76.2985408,"latitude_deg":9.6419632,"altitude":6,"angle":275,"satellites":36,"speed":1,"hex_longitude":"2d7a3bc0","hex_latitude":"05bf3f30","is_valid_coordinates":true} 
[2026-09-04 18:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862615296001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128247019083923456,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808970527075956736,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788525861000,"timestamp_ms":1788525861000,"timestamp_seconds":1788525861,"priority":1,"record_length":96,"hex_timestamp":"000001a06c72d888"} 
[2026-09-04 18:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-04 18:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862615296001,"66":13678,"44":206,"85":12288,"24":1,"16":128247019083923456,"45":8808970527075956736},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-04 18:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862615296001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:15:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-04 18:15:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128247019083923456,"km_value":128247019083923.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808970527075956736,"description":"Unknown IO ID 45"} 
[2026-09-04 18:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862615296001,"power":13678,"unknown_44":206,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":8808970527075956736}} 
[2026-09-04 18:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":172311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:15:31] local.INFO: GPS data processed {"connection_id":172311,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:15:31] local.INFO: Acknowledgment sent {"connection_id":172311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:15:36] local.INFO: TCP Data received {"connection_id":171196,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c723090012ccc35c007482208000800a033..."} 
[2026-09-04 18:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c723090012ccc35c007482208000800a033..."} 
[2026-09-04 18:15:36] local.INFO: Processing buffer {"connection_id":171196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c723090012ccc35c007482208000800a033..."} 
[2026-09-04 18:15:36] local.INFO: Packet analysis {"connection_id":171196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:15:36] local.INFO: Extracted packet for processing {"connection_id":171196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:15:36] local.INFO: GPS Element Parsed {"raw_longitude":751580608,"raw_latitude":122167816,"longitude_deg":75.1580608,"latitude_deg":12.2167816,"altitude":8,"angle":160,"satellites":51,"speed":29,"hex_longitude":"2ccc35c0","hex_latitude":"07482208","is_valid_coordinates":true} 
[2026-09-04 18:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862606080001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398330844877422592,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3735172909673279488,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788525818000,"timestamp_ms":1788525818000,"timestamp_seconds":1788525818,"priority":1,"record_length":96,"hex_timestamp":"000001a06c723090"} 
[2026-09-04 18:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862606080001,"66":28050,"12":206,"85":37632,"24":29,"16":398330844877422592,"44":-3735172909673279488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,85,24,16,44]} 
[2026-09-04 18:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862606080001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:15:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-04 18:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398330844877422592,"km_value":398330844877422.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:15:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3735172909673279488,"description":"Unknown IO ID 44"} 
[2026-09-04 18:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862606080001,"power":28050,"unknown_12":206,"unknown_85":37632,"ignition":29,"odometer":null,"unknown_44":-3735172909673279488}} 
[2026-09-04 18:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":171196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:15:36] local.INFO: GPS data processed {"connection_id":171196,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:15:36] local.INFO: Acknowledgment sent {"connection_id":171196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:15:48] local.INFO: TCP Data received {"connection_id":170915,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:15:48] local.INFO: Processing buffer {"connection_id":170915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:15:48] local.INFO: IMEI packet received {"connection_id":170915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":170915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:15:52] local.INFO: TCP Data received {"connection_id":173610,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:15:52] local.INFO: Processing buffer {"connection_id":173610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:15:52] local.INFO: IMEI packet received {"connection_id":173610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":173610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:15:52] local.INFO: TCP Data received {"connection_id":173610,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:15:52] local.INFO: Processing buffer {"connection_id":173610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:15:52] local.INFO: IMEI packet received {"connection_id":173610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":173610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:15:54] local.INFO: TCP Data received {"connection_id":170915,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:15:54] local.INFO: Processing buffer {"connection_id":170915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:15:54] local.INFO: IMEI packet received {"connection_id":170915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":170915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:15:55] local.INFO: TCP Data received {"connection_id":173610,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:15:55] local.INFO: Processing buffer {"connection_id":173610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:15:55] local.INFO: IMEI packet received {"connection_id":173610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":173610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:15:56] local.INFO: TCP Data received {"connection_id":170915,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:15:56] local.INFO: Processing buffer {"connection_id":170915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:15:56] local.INFO: Packet analysis {"connection_id":170915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:15:56] local.INFO: Extracted packet for processing {"connection_id":170915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:15:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862517760001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788525761000,"timestamp_ms":1788525761000,"timestamp_seconds":1788525761,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7151e8"} 
[2026-09-04 18:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862517760001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862517760001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:15:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:15:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862517760001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":170915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764255,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:15:56] local.INFO: GPS data processed {"connection_id":170915,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:15:56] local.INFO: Acknowledgment sent {"connection_id":170915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:15:56] local.INFO: TCP Data received {"connection_id":173610,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c72eff8012d196a4007238670004700d924..."} 
[2026-09-04 18:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c72eff8012d196a4007238670004700d924..."} 
[2026-09-04 18:15:56] local.INFO: Processing buffer {"connection_id":173610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c72eff8012d196a4007238670004700d924..."} 
[2026-09-04 18:15:56] local.INFO: Packet analysis {"connection_id":173610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:15:56] local.INFO: Extracted packet for processing {"connection_id":173610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119768688,"longitude_deg":75.664032,"latitude_deg":11.9768688,"altitude":71,"angle":217,"satellites":36,"speed":36,"hex_longitude":"2d196a40","hex_latitude":"07238670","is_valid_coordinates":true} 
[2026-09-04 18:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862621184001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17386289607213056,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833387291466131456,"note":"Value kept but may cause issues"} 
[2026-09-04 18:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788525867000,"timestamp_ms":1788525867000,"timestamp_seconds":1788525867,"priority":1,"record_length":96,"hex_timestamp":"000001a06c72eff8"} 
[2026-09-04 18:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 18:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862621184001,"66":13972,"186":206,"83":42752,"24":36,"16":17386289607213056,"45":1833387291466131456},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-04 18:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862621184001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:15:56] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-04 18:15:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17386289607213056,"km_value":17386289607213.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833387291466131456,"description":"Unknown IO ID 45"} 
[2026-09-04 18:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862621184001,"power":13972,"unknown_186":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1833387291466131456}} 
[2026-09-04 18:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":173610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:15:56] local.INFO: GPS data processed {"connection_id":173610,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:15:56] local.INFO: Acknowledgment sent {"connection_id":173610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:15:59] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:15:59] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:15:59] local.INFO: IMEI packet received {"connection_id":172312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":172312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:16:00] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 18:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 18:16:00] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 18:16:00] local.INFO: IMEI packet received {"connection_id":172312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":172312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:16:04] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:16:04] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 18:16:04] local.INFO: IMEI packet received {"connection_id":172312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":172312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:16:05] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c726740012ccc42400747ff78000800a133..."} 
[2026-09-04 18:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c726740012ccc42400747ff78000800a133..."} 
[2026-09-04 18:16:05] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06c..."} 
[2026-09-04 18:16:05] local.INFO: IMEI packet received {"connection_id":172312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":172312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:16:09] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c72b948012ccc4bc00747e618000700a232..."} 
[2026-09-04 18:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c72b948012ccc4bc00747e618000700a232..."} 
[2026-09-04 18:16:09] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06c726740012ccc42400747ff78000800a133..."} 
[2026-09-04 18:16:09] local.INFO: Packet analysis {"connection_id":172312,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:16:09] local.INFO: Extracted packet for processing {"connection_id":172312,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:16:09] local.INFO: GPS Element Parsed {"raw_longitude":751583808,"raw_latitude":122158968,"longitude_deg":75.1583808,"latitude_deg":12.2158968,"altitude":8,"angle":161,"satellites":51,"speed":24,"hex_longitude":"2ccc4240","hex_latitude":"0747ff78","is_valid_coordinates":true} 
[2026-09-04 18:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862609408001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398331300143955968,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3731865578699094016,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788525832000,"timestamp_ms":1788525832000,"timestamp_seconds":1788525832,"priority":1,"record_length":96,"hex_timestamp":"000001a06c726740"} 
[2026-09-04 18:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-04 18:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862609408001,"66":27919,"12":206,"85":37632,"24":24,"16":398331300143955968,"44":-3731865578699094016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,85,24,16,44]} 
[2026-09-04 18:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862609408001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:16:09] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-04 18:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398331300143955968,"km_value":398331300143955.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3731865578699094016,"description":"Unknown IO ID 44"} 
[2026-09-04 18:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862609408001,"power":27919,"unknown_12":206,"unknown_85":37632,"ignition":24,"odometer":null,"unknown_44":-3731865578699094016}} 
[2026-09-04 18:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":172312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:16:09] local.INFO: GPS data processed {"connection_id":172312,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:16:09] local.INFO: Acknowledgment sent {"connection_id":172312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:16:09] local.INFO: Packet analysis {"connection_id":172312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:16:09] local.INFO: Extracted packet for processing {"connection_id":172312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c72"} 
[2026-09-04 18:16:09] local.INFO: GPS Element Parsed {"raw_longitude":751586240,"raw_latitude":122152472,"longitude_deg":75.158624,"latitude_deg":12.2152472,"altitude":7,"angle":162,"satellites":50,"speed":0,"hex_longitude":"2ccc4bc0","hex_latitude":"0747e618","is_valid_coordinates":true} 
[2026-09-04 18:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862612992001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398331639446372352,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3728347141492475904,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788525853000,"timestamp_ms":1788525853000,"timestamp_seconds":1788525853,"priority":1,"record_length":96,"hex_timestamp":"000001a06c72b948"} 
[2026-09-04 18:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 18:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862612992001,"66":27800,"12":206,"85":37632,"24":0,"16":398331639446372352,"44":-3728347141492475904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,85,24,16,44]} 
[2026-09-04 18:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862612992001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:16:09] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-04 18:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398331639446372352,"km_value":398331639446372.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3728347141492475904,"description":"Unknown IO ID 44"} 
[2026-09-04 18:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862612992001,"power":27800,"unknown_12":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3728347141492475904}} 
[2026-09-04 18:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":172312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:16:09] local.INFO: GPS data processed {"connection_id":172312,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:16:09] local.INFO: Acknowledgment sent {"connection_id":172312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:16:10] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c730b50012ccc57000747c7780008009e2f..."} 
[2026-09-04 18:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c730b50012ccc57000747c7780008009e2f..."} 
[2026-09-04 18:16:10] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c730b50012ccc57000747c7780008009e2f..."} 
[2026-09-04 18:16:10] local.INFO: Packet analysis {"connection_id":172312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c73"} 
[2026-09-04 18:16:10] local.INFO: Extracted packet for processing {"connection_id":172312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c73"} 
[2026-09-04 18:16:10] local.INFO: GPS Element Parsed {"raw_longitude":751589120,"raw_latitude":122144632,"longitude_deg":75.158912,"latitude_deg":12.2144632,"altitude":8,"angle":158,"satellites":47,"speed":21,"hex_longitude":"2ccc5700","hex_latitude":"0747c778","is_valid_coordinates":true} 
[2026-09-04 18:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862618368001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398332043173298176,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3725673129215387648,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788525874000,"timestamp_ms":1788525874000,"timestamp_seconds":1788525874,"priority":1,"record_length":96,"hex_timestamp":"000001a06c730b50"} 
[2026-09-04 18:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 18:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862618368001,"66":27930,"12":206,"85":37632,"24":21,"16":398332043173298176,"44":-3725673129215387648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,85,24,16,44]} 
[2026-09-04 18:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862618368001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:16:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-04 18:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398332043173298176,"km_value":398332043173298.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3725673129215387648,"description":"Unknown IO ID 44"} 
[2026-09-04 18:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862618368001,"power":27930,"unknown_12":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-3725673129215387648}} 
[2026-09-04 18:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":172312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:16:10] local.INFO: GPS data processed {"connection_id":172312,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:16:10] local.INFO: Acknowledgment sent {"connection_id":172312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:16:16] local.INFO: TCP Data received {"connection_id":172311,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c740938012d7a468005be4b70000900a823..."} 
[2026-09-04 18:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c740938012d7a468005be4b70000900a823..."} 
[2026-09-04 18:16:16] local.INFO: Processing buffer {"connection_id":172311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c740938012d7a468005be4b70000900a823..."} 
[2026-09-04 18:16:16] local.INFO: Packet analysis {"connection_id":172311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c74"} 
[2026-09-04 18:16:16] local.INFO: Extracted packet for processing {"connection_id":172311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c74"} 
[2026-09-04 18:16:16] local.INFO: GPS Element Parsed {"raw_longitude":762988160,"raw_latitude":96357232,"longitude_deg":76.298816,"latitude_deg":9.6357232,"altitude":9,"angle":168,"satellites":35,"speed":39,"hex_longitude":"2d7a4680","hex_latitude":"05be4b70","is_valid_coordinates":true} 
[2026-09-04 18:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862638080001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808900158318080000,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128250081395605504,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 18:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788525939000,"timestamp_ms":1788525939000,"timestamp_seconds":1788525939,"priority":1,"record_length":96,"hex_timestamp":"000001a06c740938"} 
[2026-09-04 18:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-04 18:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862638080001,"66":13961,"45":8808900158318080000,"85":12288,"24":39,"16":128250081395605504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-04 18:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862638080001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808900158318080000,"description":"Unknown IO ID 45"} 
[2026-09-04 18:16:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128250081395605504,"km_value":128250081395605.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:16:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457862638080001,"power":13961,"unknown_45":8808900158318080000,"unknown_85":12288,"ignition":39,"odometer":null}} 
[2026-09-04 18:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":172311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:16:16] local.INFO: GPS data processed {"connection_id":172311,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:16:16] local.INFO: Acknowledgment sent {"connection_id":172311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:16:27] local.INFO: TCP Data received {"connection_id":170915,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:16:27] local.INFO: Processing buffer {"connection_id":170915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:16:27] local.INFO: Packet analysis {"connection_id":170915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:16:27] local.INFO: Extracted packet for processing {"connection_id":170915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:16:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862517760001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525761000,"timestamp_ms":1788525761000,"timestamp_seconds":1788525761,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7151e8"} 
[2026-09-04 18:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862517760001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862517760001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:16:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:16:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862517760001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":170915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764261,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:16:27] local.INFO: GPS data processed {"connection_id":170915,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:16:27] local.INFO: Acknowledgment sent {"connection_id":170915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:16:28] local.INFO: TCP Data received {"connection_id":173610,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c73f998012d18bfc007230120006400ee2a..."} 
[2026-09-04 18:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c73f998012d18bfc007230120006400ee2a..."} 
[2026-09-04 18:16:28] local.INFO: Processing buffer {"connection_id":173610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c73f998012d18bfc007230120006400ee2a..."} 
[2026-09-04 18:16:28] local.INFO: Packet analysis {"connection_id":173610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c73"} 
[2026-09-04 18:16:28] local.INFO: Extracted packet for processing {"connection_id":173610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c73"} 
[2026-09-04 18:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756596672,"raw_latitude":119734560,"longitude_deg":75.6596672,"latitude_deg":11.973456,"altitude":100,"angle":238,"satellites":42,"speed":35,"hex_longitude":"2d18bfc0","hex_latitude":"07230120","is_valid_coordinates":true} 
[2026-09-04 18:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862639104001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17389278904451072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269908020996096,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788525935000,"timestamp_ms":1788525935000,"timestamp_seconds":1788525935,"priority":1,"record_length":96,"hex_timestamp":"000001a06c73f998"} 
[2026-09-04 18:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 18:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862639104001,"66":14298,"137":206,"83":42752,"24":35,"16":17389278904451072,"45":1784269908020996096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-04 18:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862639104001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:16:28] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 18:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17389278904451072,"km_value":17389278904451.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269908020996096,"description":"Unknown IO ID 45"} 
[2026-09-04 18:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862639104001,"power":14298,"unknown_137":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1784269908020996096}} 
[2026-09-04 18:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":173610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:16:28] local.INFO: GPS data processed {"connection_id":173610,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:16:28] local.INFO: Acknowledgment sent {"connection_id":173610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:16:35] local.INFO: TCP Data received {"connection_id":172313,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:16:35] local.INFO: Processing buffer {"connection_id":172313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:16:35] local.INFO: IMEI packet received {"connection_id":172313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":172313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:16:41] local.INFO: TCP Data received {"connection_id":172313,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:16:41] local.INFO: Processing buffer {"connection_id":172313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:16:41] local.INFO: IMEI packet received {"connection_id":172313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":172313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:16:42] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c735d58012ccc5b800747bb480007009f30..."} 
[2026-09-04 18:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c735d58012ccc5b800747bb480007009f30..."} 
[2026-09-04 18:16:42] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c735d58012ccc5b800747bb480007009f30..."} 
[2026-09-04 18:16:42] local.INFO: Packet analysis {"connection_id":172312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c73"} 
[2026-09-04 18:16:42] local.INFO: Extracted packet for processing {"connection_id":172312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c73"} 
[2026-09-04 18:16:42] local.INFO: GPS Element Parsed {"raw_longitude":751590272,"raw_latitude":122141512,"longitude_deg":75.1590272,"latitude_deg":12.2141512,"altitude":7,"angle":159,"satellites":48,"speed":0,"hex_longitude":"2ccc5b80","hex_latitude":"0747bb48","is_valid_coordinates":true} 
[2026-09-04 18:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862623744001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398332206382055424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3722506535729399808,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788525895000,"timestamp_ms":1788525895000,"timestamp_seconds":1788525895,"priority":1,"record_length":96,"hex_timestamp":"000001a06c735d58"} 
[2026-09-04 18:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":172312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":172312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":172312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862623744001,"66":27908,"2":206,"85":37632,"24":0,"16":398332206382055424,"44":-3722506535729399808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-04 18:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862623744001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398332206382055424,"km_value":398332206382055.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3722506535729399808,"description":"Unknown IO ID 44"} 
[2026-09-04 18:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862623744001,"power":27908,"power_alt":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3722506535729399808}} 
[2026-09-04 18:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":172312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:16:42] local.INFO: GPS data processed {"connection_id":172312,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:16:42] local.INFO: Acknowledgment sent {"connection_id":172312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:16:43] local.INFO: TCP Data received {"connection_id":172313,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:16:43] local.INFO: Processing buffer {"connection_id":172313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:16:43] local.INFO: IMEI packet received {"connection_id":172313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":172313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:16:44] local.INFO: TCP Data received {"connection_id":172313,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c742c60012d7a4ec005be2730000b00a823..."} 
[2026-09-04 18:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c742c60012d7a4ec005be2730000b00a823..."} 
[2026-09-04 18:16:44] local.INFO: Processing buffer {"connection_id":172313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c742c60012d7a4ec005be2730000b00a823..."} 
[2026-09-04 18:16:44] local.INFO: Packet analysis {"connection_id":172313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c74"} 
[2026-09-04 18:16:44] local.INFO: Extracted packet for processing {"connection_id":172313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c74"} 
[2026-09-04 18:16:44] local.INFO: GPS Element Parsed {"raw_longitude":762990272,"raw_latitude":96347952,"longitude_deg":76.2990272,"latitude_deg":9.6347952,"altitude":11,"angle":168,"satellites":35,"speed":40,"hex_longitude":"2d7a4ec0","hex_latitude":"05be2730","is_valid_coordinates":true} 
[2026-09-04 18:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862640384001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810870483152760832,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128250540957106176,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 18:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788525948000,"timestamp_ms":1788525948000,"timestamp_seconds":1788525948,"priority":1,"record_length":96,"hex_timestamp":"000001a06c742c60"} 
[2026-09-04 18:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-04 18:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":172313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":172313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":172313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862640384001,"66":13689,"45":8810870483152760832,"85":12288,"24":40,"16":128250540957106176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-04 18:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862640384001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810870483152760832,"description":"Unknown IO ID 45"} 
[2026-09-04 18:16:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128250540957106176,"km_value":128250540957106.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:16:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457862640384001,"power":13689,"unknown_45":8810870483152760832,"unknown_85":12288,"ignition":40,"odometer":null}} 
[2026-09-04 18:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":172313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:16:44] local.INFO: GPS data processed {"connection_id":172313,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:16:44] local.INFO: Acknowledgment sent {"connection_id":172313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:16:46] local.INFO: TCP Data received {"connection_id":172313,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c744f88012d7a558005be0260000b00a823..."} 
[2026-09-04 18:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c744f88012d7a558005be0260000b00a823..."} 
[2026-09-04 18:16:46] local.INFO: Processing buffer {"connection_id":172313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c744f88012d7a558005be0260000b00a823..."} 
[2026-09-04 18:16:46] local.INFO: Packet analysis {"connection_id":172313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c74"} 
[2026-09-04 18:16:46] local.INFO: Extracted packet for processing {"connection_id":172313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c74"} 
[2026-09-04 18:16:46] local.INFO: GPS Element Parsed {"raw_longitude":762992000,"raw_latitude":96338528,"longitude_deg":76.2992,"latitude_deg":9.6338528,"altitude":11,"angle":168,"satellites":35,"speed":42,"hex_longitude":"2d7a5580","hex_latitude":"05be0260","is_valid_coordinates":true} 
[2026-09-04 18:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862642688001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813192651708248064,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128251004813574144,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 18:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788525957000,"timestamp_ms":1788525957000,"timestamp_seconds":1788525957,"priority":1,"record_length":96,"hex_timestamp":"000001a06c744f88"} 
[2026-09-04 18:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-04 18:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862642688001,"66":13830,"45":8813192651708248064,"85":12288,"24":42,"16":128251004813574144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-04 18:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862642688001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813192651708248064,"description":"Unknown IO ID 45"} 
[2026-09-04 18:16:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128251004813574144,"km_value":128251004813574.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:16:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457862642688001,"power":13830,"unknown_45":8813192651708248064,"unknown_85":12288,"ignition":42,"odometer":null}} 
[2026-09-04 18:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":172313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:16:46] local.INFO: GPS data processed {"connection_id":172313,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:16:46] local.INFO: Acknowledgment sent {"connection_id":172313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:16:48] local.INFO: TCP Data received {"connection_id":172314,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:16:48] local.INFO: Processing buffer {"connection_id":172314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:16:48] local.INFO: IMEI packet received {"connection_id":172314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":172314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:16:48] local.INFO: TCP Data received {"connection_id":171197,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:16:48] local.INFO: Processing buffer {"connection_id":171197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:16:48] local.INFO: IMEI packet received {"connection_id":171197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":171197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:16:51] local.INFO: TCP Data received {"connection_id":172314,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:16:51] local.INFO: Processing buffer {"connection_id":172314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:16:51] local.INFO: IMEI packet received {"connection_id":172314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":172314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:16:51] local.INFO: TCP Data received {"connection_id":172314,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c73fd80012d18bd000722fef0006400e329..."} 
[2026-09-04 18:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c73fd80012d18bd000722fef0006400e329..."} 
[2026-09-04 18:16:51] local.INFO: Processing buffer {"connection_id":172314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c73fd80012d18bd000722fef0006400e329..."} 
[2026-09-04 18:16:51] local.INFO: Packet analysis {"connection_id":172314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c73"} 
[2026-09-04 18:16:51] local.INFO: Extracted packet for processing {"connection_id":172314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c73"} 
[2026-09-04 18:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756595968,"raw_latitude":119734000,"longitude_deg":75.6595968,"latitude_deg":11.9734,"altitude":100,"angle":227,"satellites":41,"speed":34,"hex_longitude":"2d18bd00","hex_latitude":"0722fef0","is_valid_coordinates":true} 
[2026-09-04 18:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862639360001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17389321854124032,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783355114346586112,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788525936000,"timestamp_ms":1788525936000,"timestamp_seconds":1788525936,"priority":1,"record_length":96,"hex_timestamp":"000001a06c73fd80"} 
[2026-09-04 18:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 18:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862639360001,"66":14298,"137":206,"83":42752,"24":34,"16":17389321854124032,"45":1783355114346586112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-04 18:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862639360001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:16:51] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 18:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17389321854124032,"km_value":17389321854124.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783355114346586112,"description":"Unknown IO ID 45"} 
[2026-09-04 18:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862639360001,"power":14298,"unknown_137":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1783355114346586112}} 
[2026-09-04 18:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":172314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:16:52] local.INFO: GPS data processed {"connection_id":172314,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:16:52] local.INFO: Acknowledgment sent {"connection_id":172314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:16:54] local.INFO: TCP Data received {"connection_id":171197,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:16:54] local.INFO: Processing buffer {"connection_id":171197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:16:54] local.INFO: IMEI packet received {"connection_id":171197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":171197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:16:55] local.INFO: TCP Data received {"connection_id":171197,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:16:55] local.INFO: Processing buffer {"connection_id":171197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:16:55] local.INFO: Packet analysis {"connection_id":171197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:16:55] local.INFO: Extracted packet for processing {"connection_id":171197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:16:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862517760001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788525761000,"timestamp_ms":1788525761000,"timestamp_seconds":1788525761,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7151e8"} 
[2026-09-04 18:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862517760001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862517760001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:16:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862517760001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":171197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:16:55] local.INFO: GPS data processed {"connection_id":171197,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:16:55] local.INFO: Acknowledgment sent {"connection_id":171197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:16:59] local.INFO: TCP Data received {"connection_id":171198,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:16:59] local.INFO: Processing buffer {"connection_id":171198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:16:59] local.INFO: IMEI packet received {"connection_id":171198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":171198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:16:59] local.INFO: TCP Data received {"connection_id":171198,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:16:59] local.INFO: Processing buffer {"connection_id":171198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:16:59] local.INFO: IMEI packet received {"connection_id":171198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":171198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:17:04] local.INFO: TCP Data received {"connection_id":171198,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:17:04] local.INFO: Processing buffer {"connection_id":171198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:17:04] local.INFO: IMEI packet received {"connection_id":171198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":171198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:17:04] local.INFO: TCP Data received {"connection_id":171198,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c738850012ccc5d000747b6c0000900ab33..."} 
[2026-09-04 18:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c738850012ccc5d000747b6c0000900ab33..."} 
[2026-09-04 18:17:04] local.INFO: Processing buffer {"connection_id":171198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c738850012ccc5d000747b6c0000900ab33..."} 
[2026-09-04 18:17:04] local.INFO: Packet analysis {"connection_id":171198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c73"} 
[2026-09-04 18:17:04] local.INFO: Extracted packet for processing {"connection_id":171198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c73"} 
[2026-09-04 18:17:04] local.INFO: GPS Element Parsed {"raw_longitude":751590656,"raw_latitude":122140352,"longitude_deg":75.1590656,"latitude_deg":12.2140352,"altitude":9,"angle":171,"satellites":51,"speed":11,"hex_longitude":"2ccc5d00","hex_latitude":"0747b6c0","is_valid_coordinates":true} 
[2026-09-04 18:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862629120001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398332266511597568,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3721239898335000576,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788525906000,"timestamp_ms":1788525906000,"timestamp_seconds":1788525906,"priority":1,"record_length":96,"hex_timestamp":"000001a06c738850"} 
[2026-09-04 18:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862629120001,"66":27908,"2":206,"85":37632,"24":11,"16":398332266511597568,"44":-3721239898335000576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-04 18:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862629120001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:17:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398332266511597568,"km_value":398332266511597.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:17:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3721239898335000576,"description":"Unknown IO ID 44"} 
[2026-09-04 18:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862629120001,"power":27908,"power_alt":206,"unknown_85":37632,"ignition":11,"odometer":null,"unknown_44":-3721239898335000576}} 
[2026-09-04 18:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":171198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:17:04] local.INFO: GPS data processed {"connection_id":171198,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:17:04] local.INFO: Acknowledgment sent {"connection_id":171198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:17:22] local.INFO: TCP Data received {"connection_id":173611,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:17:22] local.INFO: Processing buffer {"connection_id":173611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:17:22] local.INFO: IMEI packet received {"connection_id":173611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":173611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:17:23] local.INFO: TCP Data received {"connection_id":172314,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c740550012d18b9400722f950006400ce2b..."} 
[2026-09-04 18:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c740550012d18b9400722f950006400ce2b..."} 
[2026-09-04 18:17:23] local.INFO: Processing buffer {"connection_id":172314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c740550012d18b9400722f950006400ce2b..."} 
[2026-09-04 18:17:23] local.INFO: Packet analysis {"connection_id":172314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c74"} 
[2026-09-04 18:17:23] local.INFO: Extracted packet for processing {"connection_id":172314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c74"} 
[2026-09-04 18:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756595008,"raw_latitude":119732560,"longitude_deg":75.6595008,"latitude_deg":11.973256,"altitude":100,"angle":206,"satellites":43,"speed":33,"hex_longitude":"2d18b940","hex_latitude":"0722f950","is_valid_coordinates":true} 
[2026-09-04 18:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862639616001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17389407753469952,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782581058160488448,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788525938000,"timestamp_ms":1788525938000,"timestamp_seconds":1788525938,"priority":1,"record_length":96,"hex_timestamp":"000001a06c740550"} 
[2026-09-04 18:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-04 18:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862639616001,"66":14233,"137":206,"83":42752,"24":33,"16":17389407753469952,"45":1782581058160488448},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-04 18:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862639616001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:17:23] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 18:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17389407753469952,"km_value":17389407753469.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782581058160488448,"description":"Unknown IO ID 45"} 
[2026-09-04 18:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862639616001,"power":14233,"unknown_137":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1782581058160488448}} 
[2026-09-04 18:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":172314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:17:23] local.INFO: GPS data processed {"connection_id":172314,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:17:23] local.INFO: Acknowledgment sent {"connection_id":172314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:17:25] local.INFO: TCP Data received {"connection_id":173611,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:17:25] local.INFO: Processing buffer {"connection_id":173611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:17:25] local.INFO: IMEI packet received {"connection_id":173611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":173611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:17:26] local.INFO: TCP Data received {"connection_id":173611,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7472b0012d7a5bc005bddfe0000b00ae23..."} 
[2026-09-04 18:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7472b0012d7a5bc005bddfe0000b00ae23..."} 
[2026-09-04 18:17:26] local.INFO: Processing buffer {"connection_id":173611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7472b0012d7a5bc005bddfe0000b00ae23..."} 
[2026-09-04 18:17:26] local.INFO: Packet analysis {"connection_id":173611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c74"} 
[2026-09-04 18:17:26] local.INFO: Extracted packet for processing {"connection_id":173611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c74"} 
[2026-09-04 18:17:26] local.INFO: GPS Element Parsed {"raw_longitude":762993600,"raw_latitude":96329696,"longitude_deg":76.29936,"latitude_deg":9.6329696,"altitude":11,"angle":174,"satellites":35,"speed":38,"hex_longitude":"2d7a5bc0","hex_latitude":"05bddfe0","is_valid_coordinates":true} 
[2026-09-04 18:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862644992001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815092607798632448,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128251442900238336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 18:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788525966000,"timestamp_ms":1788525966000,"timestamp_seconds":1788525966,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7472b0"} 
[2026-09-04 18:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-04 18:17:26] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10977532697444352,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:26] local.WARNING: Large IO value detected {"io_id":241,"raw_value":8070458231884939294,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627269661184,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:26] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2177892362,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2821521614,"corrected_to":0} 
[2026-09-04 18:17:26] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2713124864,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3201021952,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:26] local.WARNING: Large IO value detected {"io_id":97,"raw_value":4612017496478713278,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:26] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,45,85,24,241,157,16,163,160,44,192,39,11,35,10,66,9,128,75,162,230,1,240,93,227,108,190,4,113,205,41,171,69,184,34,239,53,2,199,5,97],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2821521614,"validated":0}]} 
[2026-09-04 18:17:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792818402697281536,"timestamp_seconds":792818402697281.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862644992001,"66":13928,"45":8815092607798632448,"85":12288,"24":38,"16":128251442900238336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-04 18:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862644992001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815092607798632448,"description":"Unknown IO ID 45"} 
[2026-09-04 18:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-04 18:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128251442900238336,"km_value":128251442900238.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:17:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457862644992001,"power":13928,"unknown_45":8815092607798632448,"unknown_85":12288,"ignition":38,"odometer":null}} 
[2026-09-04 18:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":173611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:17:26] local.INFO: GPS data processed {"connection_id":173611,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:17:26] local.INFO: Acknowledgment sent {"connection_id":173611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:17:27] local.INFO: TCP Data received {"connection_id":171197,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:17:27] local.INFO: Processing buffer {"connection_id":171197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:17:27] local.INFO: Packet analysis {"connection_id":171197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:17:27] local.INFO: Extracted packet for processing {"connection_id":171197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:17:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862517760001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788525761000,"timestamp_ms":1788525761000,"timestamp_seconds":1788525761,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7151e8"} 
[2026-09-04 18:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862517760001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862517760001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:17:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:17:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862517760001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":171197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:17:27] local.INFO: GPS data processed {"connection_id":171197,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:17:27] local.INFO: Acknowledgment sent {"connection_id":171197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:17:36] local.INFO: TCP Data received {"connection_id":171198,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7516c0012cccc600074627f0001a009834..."} 
[2026-09-04 18:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7516c0012cccc600074627f0001a009834..."} 
[2026-09-04 18:17:36] local.INFO: Processing buffer {"connection_id":171198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7516c0012cccc600074627f0001a009834..."} 
[2026-09-04 18:17:36] local.INFO: Packet analysis {"connection_id":171198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:17:36] local.INFO: Extracted packet for processing {"connection_id":171198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:17:36] local.INFO: GPS Element Parsed {"raw_longitude":751617536,"raw_latitude":122038256,"longitude_deg":75.1617536,"latitude_deg":12.2038256,"altitude":26,"angle":152,"satellites":52,"speed":60,"hex_longitude":"2cccc600","hex_latitude":"074627f0","is_valid_coordinates":true} 
[2026-09-04 18:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862656512001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398337467716993024,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3696751575385679872,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788526008000,"timestamp_ms":1788526008000,"timestamp_seconds":1788526008,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7516c0"} 
[2026-09-04 18:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 18:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862656512001,"66":27832,"239":206,"85":37632,"24":60,"16":398337467716993024,"44":-3696751575385679872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-04 18:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862656512001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:17:36] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-04 18:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398337467716993024,"km_value":398337467716993.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:17:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3696751575385679872,"description":"Unknown IO ID 44"} 
[2026-09-04 18:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862656512001,"power":27832,"unknown_239":206,"unknown_85":37632,"ignition":60,"odometer":null,"unknown_44":-3696751575385679872}} 
[2026-09-04 18:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":171198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:17:36] local.INFO: GPS data processed {"connection_id":171198,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:17:36] local.INFO: Acknowledgment sent {"connection_id":171198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:17:47] local.INFO: TCP Data received {"connection_id":170916,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:17:47] local.INFO: Processing buffer {"connection_id":170916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:17:47] local.INFO: IMEI packet received {"connection_id":170916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":170916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:17:47] local.INFO: TCP Data received {"connection_id":170916,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:17:47] local.INFO: Processing buffer {"connection_id":170916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:17:47] local.INFO: IMEI packet received {"connection_id":170916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":170916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:17:53] local.INFO: TCP Data received {"connection_id":170916,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:17:53] local.INFO: Processing buffer {"connection_id":170916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:17:53] local.INFO: IMEI packet received {"connection_id":170916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":170916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:17:53] local.INFO: TCP Data received {"connection_id":170916,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c743818012d18ab800722d768006800d62a..."} 
[2026-09-04 18:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c743818012d18ab800722d768006800d62a..."} 
[2026-09-04 18:17:53] local.INFO: Processing buffer {"connection_id":170916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c743818012d18ab800722d768006800d62a..."} 
[2026-09-04 18:17:53] local.INFO: Packet analysis {"connection_id":170916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c74"} 
[2026-09-04 18:17:53] local.INFO: Extracted packet for processing {"connection_id":170916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c74"} 
[2026-09-04 18:17:53] local.INFO: GPS Element Parsed {"raw_longitude":756591488,"raw_latitude":119723880,"longitude_deg":75.6591488,"latitude_deg":11.972388,"altitude":104,"angle":214,"satellites":42,"speed":27,"hex_longitude":"2d18ab80","hex_latitude":"0722d768","is_valid_coordinates":true} 
[2026-09-04 18:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862640128001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17389863020003328,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781525526997454848,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788525951000,"timestamp_ms":1788525951000,"timestamp_seconds":1788525951,"priority":1,"record_length":96,"hex_timestamp":"000001a06c743818"} 
[2026-09-04 18:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 18:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862640128001,"66":12982,"137":206,"83":42752,"24":27,"16":17389863020003328,"45":1781525526997454848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-04 18:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862640128001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:17:53] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 18:17:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-04 18:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17389863020003328,"km_value":17389863020003.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781525526997454848,"description":"Unknown IO ID 45"} 
[2026-09-04 18:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862640128001,"power":12982,"unknown_137":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1781525526997454848}} 
[2026-09-04 18:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":170916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:17:53] local.INFO: GPS data processed {"connection_id":170916,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:17:53] local.INFO: Acknowledgment sent {"connection_id":170916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:17:54] local.INFO: TCP Data received {"connection_id":172315,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:17:54] local.INFO: Processing buffer {"connection_id":172315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:17:54] local.INFO: IMEI packet received {"connection_id":172315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":172315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:17:56] local.INFO: TCP Data received {"connection_id":173611,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c75b6e8012d7a710005bd1178000a005a22..."} 
[2026-09-04 18:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c75b6e8012d7a710005bd1178000a005a22..."} 
[2026-09-04 18:17:56] local.INFO: Processing buffer {"connection_id":173611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c75b6e8012d7a710005bd1178000a005a22..."} 
[2026-09-04 18:17:56] local.INFO: Packet analysis {"connection_id":173611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:17:56] local.INFO: Extracted packet for processing {"connection_id":173611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:17:56] local.INFO: GPS Element Parsed {"raw_longitude":762999040,"raw_latitude":96276856,"longitude_deg":76.299904,"latitude_deg":9.6276856,"altitude":10,"angle":90,"satellites":34,"speed":9,"hex_longitude":"2d7a7100","hex_latitude":"05bd1178","is_valid_coordinates":true} 
[2026-09-04 18:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862667008001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128254092895059968,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822129482200563712,"note":"Value kept but may cause issues"} 
[2026-09-04 18:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788526049000,"timestamp_ms":1788526049000,"timestamp_seconds":1788526049,"priority":1,"record_length":96,"hex_timestamp":"000001a06c75b6e8"} 
[2026-09-04 18:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 18:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862667008001,"66":13580,"7":206,"85":12544,"24":9,"16":128254092895059968,"45":8822129482200563712},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-04 18:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862667008001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:17:56] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-04 18:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128254092895059968,"km_value":128254092895059.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822129482200563712,"description":"Unknown IO ID 45"} 
[2026-09-04 18:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862667008001,"power":13580,"unknown_7":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":8822129482200563712}} 
[2026-09-04 18:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":173611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:17:57] local.INFO: GPS data processed {"connection_id":173611,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:17:57] local.INFO: Acknowledgment sent {"connection_id":173611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:17:57] local.INFO: TCP Data received {"connection_id":171199,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:17:57] local.INFO: Processing buffer {"connection_id":171199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:17:57] local.INFO: IMEI packet received {"connection_id":171199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":171199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:17:58] local.INFO: TCP Data received {"connection_id":171199,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:17:58] local.INFO: Processing buffer {"connection_id":171199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:17:58] local.INFO: IMEI packet received {"connection_id":171199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":171199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:17:59] local.INFO: TCP Data received {"connection_id":172315,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:17:59] local.INFO: Processing buffer {"connection_id":172315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:17:59] local.INFO: IMEI packet received {"connection_id":172315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":172315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:18:04] local.INFO: TCP Data received {"connection_id":171199,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:18:04] local.INFO: Processing buffer {"connection_id":171199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:18:04] local.INFO: IMEI packet received {"connection_id":171199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":171199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:18:04] local.INFO: TCP Data received {"connection_id":172315,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:18:04] local.INFO: Processing buffer {"connection_id":172315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:18:04] local.INFO: Packet analysis {"connection_id":172315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:18:04] local.INFO: Extracted packet for processing {"connection_id":172315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862517760001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788525761000,"timestamp_ms":1788525761000,"timestamp_seconds":1788525761,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7151e8"} 
[2026-09-04 18:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862517760001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862517760001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:18:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:18:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862517760001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":172315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764275,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:18:04] local.INFO: GPS data processed {"connection_id":172315,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:18:04] local.INFO: Acknowledgment sent {"connection_id":172315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:18:10] local.INFO: TCP Data received {"connection_id":172315,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:18:10] local.INFO: Processing buffer {"connection_id":172315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7151e8012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:18:10] local.INFO: Packet analysis {"connection_id":172315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:18:10] local.INFO: Extracted packet for processing {"connection_id":172315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c71"} 
[2026-09-04 18:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862517760001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788525761000,"timestamp_ms":1788525761000,"timestamp_seconds":1788525761,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7151e8"} 
[2026-09-04 18:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862517760001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862517760001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:18:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:18:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862517760001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":172315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:18:10] local.INFO: GPS data processed {"connection_id":172315,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:18:10] local.INFO: Acknowledgment sent {"connection_id":172315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:18:12] local.INFO: TCP Data received {"connection_id":171199,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c752e30012cccd300074606e0001900a334..."} 
[2026-09-04 18:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c752e30012cccd300074606e0001900a334..."} 
[2026-09-04 18:18:12] local.INFO: Processing buffer {"connection_id":171199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c752e30012cccd300074606e0001900a334..."} 
[2026-09-04 18:18:12] local.INFO: Packet analysis {"connection_id":171199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:18:12] local.INFO: Extracted packet for processing {"connection_id":171199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:18:12] local.INFO: GPS Element Parsed {"raw_longitude":751620864,"raw_latitude":122029792,"longitude_deg":75.1620864,"latitude_deg":12.2029792,"altitude":25,"angle":163,"satellites":52,"speed":59,"hex_longitude":"2cccd300","hex_latitude":"074606e0","is_valid_coordinates":true} 
[2026-09-04 18:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862658048001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398337910098624512,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3691262813341749248,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788526014000,"timestamp_ms":1788526014000,"timestamp_seconds":1788526014,"priority":1,"record_length":96,"hex_timestamp":"000001a06c752e30"} 
[2026-09-04 18:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 18:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862658048001,"66":27865,"239":206,"85":37632,"24":59,"16":398337910098624512,"44":-3691262813341749248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-04 18:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862658048001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:18:12] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-04 18:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398337910098624512,"km_value":398337910098624.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3691262813341749248,"description":"Unknown IO ID 44"} 
[2026-09-04 18:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862658048001,"power":27865,"unknown_239":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3691262813341749248}} 
[2026-09-04 18:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":171199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:18:12] local.INFO: GPS data processed {"connection_id":171199,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:18:12] local.INFO: Acknowledgment sent {"connection_id":171199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:18:21] local.INFO: TCP Data received {"connection_id":170917,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:18:21] local.INFO: Processing buffer {"connection_id":170917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:18:21] local.INFO: IMEI packet received {"connection_id":170917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":170917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:18:25] local.INFO: TCP Data received {"connection_id":170916,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7568c8012d183bc00721d7e8005000d52b..."} 
[2026-09-04 18:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7568c8012d183bc00721d7e8005000d52b..."} 
[2026-09-04 18:18:25] local.INFO: Processing buffer {"connection_id":170916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7568c8012d183bc00721d7e8005000d52b..."} 
[2026-09-04 18:18:25] local.INFO: Packet analysis {"connection_id":170916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:18:25] local.INFO: Extracted packet for processing {"connection_id":170916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:18:25] local.INFO: GPS Element Parsed {"raw_longitude":756562880,"raw_latitude":119658472,"longitude_deg":75.656288,"latitude_deg":11.9658472,"altitude":80,"angle":213,"satellites":43,"speed":40,"hex_longitude":"2d183bc0","hex_latitude":"0721d7e8","is_valid_coordinates":true} 
[2026-09-04 18:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862661120001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393449317695488,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752181760658423808,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788526029000,"timestamp_ms":1788526029000,"timestamp_seconds":1788526029,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7568c8"} 
[2026-09-04 18:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 18:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862661120001,"66":12515,"105":206,"83":41984,"24":40,"16":17393449317695488,"45":1752181760658423808},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862661120001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:18:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:18:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393449317695488,"km_value":17393449317695.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752181760658423808,"description":"Unknown IO ID 45"} 
[2026-09-04 18:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862661120001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1752181760658423808}} 
[2026-09-04 18:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":170916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:18:25] local.INFO: GPS data processed {"connection_id":170916,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:18:25] local.INFO: Acknowledgment sent {"connection_id":170916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:18:26] local.INFO: TCP Data received {"connection_id":170917,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:18:26] local.INFO: Processing buffer {"connection_id":170917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:18:26] local.INFO: IMEI packet received {"connection_id":170917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":170917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:18:27] local.INFO: TCP Data received {"connection_id":170917,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c75f180012d7a96c005bd13f8000b005823..."} 
[2026-09-04 18:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c75f180012d7a96c005bd13f8000b005823..."} 
[2026-09-04 18:18:27] local.INFO: Processing buffer {"connection_id":170917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c75f180012d7a96c005bd13f8000b005823..."} 
[2026-09-04 18:18:27] local.INFO: Packet analysis {"connection_id":170917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:18:27] local.INFO: Extracted packet for processing {"connection_id":170917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763008704,"raw_latitude":96277496,"longitude_deg":76.3008704,"latitude_deg":9.6277496,"altitude":11,"angle":88,"satellites":35,"speed":38,"hex_longitude":"2d7a96c0","hex_latitude":"05bd13f8","is_valid_coordinates":true} 
[2026-09-04 18:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862668544001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128254556751527936,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822833169642387456,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526064000,"timestamp_ms":1788526064000,"timestamp_seconds":1788526064,"priority":1,"record_length":96,"hex_timestamp":"000001a06c75f180"} 
[2026-09-04 18:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630245,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4060538222818623488,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632689129972488,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1661403342,"corrected_to":0} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":69,"raw_value":2684431738,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2790850560,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3173629952,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":122,"raw_value":7151722518849519625,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292521121624491,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.WARNING: Large IO value detected {"io_id":49,"raw_value":6755575534846193,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:27] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,7,85,24,241,157,16,166,160,159,45,128,9,34,10,66,81,192,35,77,1,240,110,227,108,189,4,113,205,69,107,224,239,53,2,199,5,38,122,52,49],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1661403342,"validated":0}]} 
[2026-09-04 18:18:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720675042455257088,"timestamp_seconds":720675042455257.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862668544001,"66":13493,"7":206,"85":12544,"24":38,"16":128254556751527936,"45":8822833169642387456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-04 18:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862668544001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:18:27] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-04 18:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128254556751527936,"km_value":128254556751527.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822833169642387456,"description":"Unknown IO ID 45"} 
[2026-09-04 18:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862668544001,"power":13493,"unknown_7":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":8822833169642387456}} 
[2026-09-04 18:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":170917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:18:27] local.INFO: GPS data processed {"connection_id":170917,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:18:27] local.INFO: Acknowledgment sent {"connection_id":170917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:18:46] local.INFO: TCP Data received {"connection_id":171199,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c752e30012cccd300074606e0001900a334..."} 
[2026-09-04 18:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c752e30012cccd300074606e0001900a334..."} 
[2026-09-04 18:18:46] local.INFO: Processing buffer {"connection_id":171199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c752e30012cccd300074606e0001900a334..."} 
[2026-09-04 18:18:46] local.INFO: Packet analysis {"connection_id":171199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:18:46] local.INFO: Extracted packet for processing {"connection_id":171199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:18:46] local.INFO: GPS Element Parsed {"raw_longitude":751620864,"raw_latitude":122029792,"longitude_deg":75.1620864,"latitude_deg":12.2029792,"altitude":25,"angle":163,"satellites":52,"speed":59,"hex_longitude":"2cccd300","hex_latitude":"074606e0","is_valid_coordinates":true} 
[2026-09-04 18:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862659584001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398337910098624512,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3687603638646677504,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788526014000,"timestamp_ms":1788526014000,"timestamp_seconds":1788526014,"priority":1,"record_length":96,"hex_timestamp":"000001a06c752e30"} 
[2026-09-04 18:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 18:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":171199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":171199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":171199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862659584001,"66":27865,"239":206,"85":37632,"24":59,"16":398337910098624512,"44":-3687603638646677504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-09-04 18:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862659584001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:18:46] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-04 18:18:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398337910098624512,"km_value":398337910098624.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:18:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3687603638646677504,"description":"Unknown IO ID 44"} 
[2026-09-04 18:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862659584001,"power":27865,"unknown_239":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3687603638646677504}} 
[2026-09-04 18:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":171199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:18:46] local.INFO: GPS data processed {"connection_id":171199,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:18:46] local.INFO: Acknowledgment sent {"connection_id":171199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:18:48] local.INFO: TCP Data received {"connection_id":171200,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:18:48] local.INFO: Processing buffer {"connection_id":171200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:18:48] local.INFO: IMEI packet received {"connection_id":171200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":171200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:18:49] local.INFO: TCP Data received {"connection_id":171201,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:18:49] local.INFO: Processing buffer {"connection_id":171201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:18:49] local.INFO: IMEI packet received {"connection_id":171201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":171201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:18:53] local.INFO: TCP Data received {"connection_id":171200,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:18:53] local.INFO: Processing buffer {"connection_id":171200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:18:53] local.INFO: IMEI packet received {"connection_id":171200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":171200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:18:53] local.INFO: TCP Data received {"connection_id":171200,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7593c0012d1827c00721baa8004d00da2c..."} 
[2026-09-04 18:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7593c0012d1827c00721baa8004d00da2c..."} 
[2026-09-04 18:18:53] local.INFO: Processing buffer {"connection_id":171200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7593c0012d1827c00721baa8004d00da2c..."} 
[2026-09-04 18:18:53] local.INFO: Packet analysis {"connection_id":171200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:18:53] local.INFO: Extracted packet for processing {"connection_id":171200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756557760,"raw_latitude":119650984,"longitude_deg":75.655776,"latitude_deg":11.9650984,"altitude":77,"angle":218,"satellites":44,"speed":19,"hex_longitude":"2d1827c0","hex_latitude":"0721baa8","is_valid_coordinates":true} 
[2026-09-04 18:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862663424001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393883109392384,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746200417401300992,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788526040000,"timestamp_ms":1788526040000,"timestamp_seconds":1788526040,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7593c0"} 
[2026-09-04 18:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-04 18:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862663424001,"66":12548,"105":206,"83":41984,"24":19,"16":17393883109392384,"45":1746200417401300992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862663424001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:18:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393883109392384,"km_value":17393883109392.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746200417401300992,"description":"Unknown IO ID 45"} 
[2026-09-04 18:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862663424001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1746200417401300992}} 
[2026-09-04 18:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":171200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:18:54] local.INFO: GPS data processed {"connection_id":171200,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:18:54] local.INFO: Acknowledgment sent {"connection_id":171200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:18:54] local.INFO: TCP Data received {"connection_id":171201,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:18:54] local.INFO: Processing buffer {"connection_id":171201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:18:54] local.INFO: IMEI packet received {"connection_id":171201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":171201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:18:55] local.INFO: TCP Data received {"connection_id":171201,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:18:55] local.INFO: Processing buffer {"connection_id":171201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:18:55] local.INFO: Packet analysis {"connection_id":171201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:18:55] local.INFO: Extracted packet for processing {"connection_id":171201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862594816001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788526062000,"timestamp_ms":1788526062000,"timestamp_seconds":1788526062,"priority":1,"record_length":96,"hex_timestamp":"000001a06c75e9b0"} 
[2026-09-04 18:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862594816001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862594816001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:18:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862594816001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":171201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764282,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:18:55] local.INFO: GPS data processed {"connection_id":171201,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:18:55] local.INFO: Acknowledgment sent {"connection_id":171201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:18:58] local.INFO: TCP Data received {"connection_id":173612,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:18:58] local.INFO: Processing buffer {"connection_id":173612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:18:58] local.INFO: IMEI packet received {"connection_id":173612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":173612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:18:59] local.INFO: TCP Data received {"connection_id":170917,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7614a8012d7abd4005bd1530000a005622..."} 
[2026-09-04 18:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7614a8012d7abd4005bd1530000a005622..."} 
[2026-09-04 18:18:59] local.INFO: Processing buffer {"connection_id":170917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7614a8012d7abd4005bd1530000a005622..."} 
[2026-09-04 18:18:59] local.INFO: Packet analysis {"connection_id":170917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:18:59] local.INFO: Extracted packet for processing {"connection_id":170917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:18:59] local.INFO: GPS Element Parsed {"raw_longitude":763018560,"raw_latitude":96277808,"longitude_deg":76.301856,"latitude_deg":9.6277808,"altitude":10,"angle":86,"satellites":34,"speed":45,"hex_longitude":"2d7abd40","hex_latitude":"05bd1530","is_valid_coordinates":true} 
[2026-09-04 18:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862672384001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128255024902963200,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833458850013378560,"note":"Value kept but may cause issues"} 
[2026-09-04 18:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788526073000,"timestamp_ms":1788526073000,"timestamp_seconds":1788526073,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7614a8"} 
[2026-09-04 18:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-04 18:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":170917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":170917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":170917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862672384001,"66":13624,"7":206,"85":12544,"24":45,"16":128255024902963200,"45":8833458850013378560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-04 18:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862672384001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:18:59] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-04 18:18:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128255024902963200,"km_value":128255024902963.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833458850013378560,"description":"Unknown IO ID 45"} 
[2026-09-04 18:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862672384001,"power":13624,"unknown_7":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":8833458850013378560}} 
[2026-09-04 18:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":170917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:18:59] local.INFO: GPS data processed {"connection_id":170917,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:18:59] local.INFO: Acknowledgment sent {"connection_id":170917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:18:59] local.INFO: TCP Data received {"connection_id":173612,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:18:59] local.INFO: Processing buffer {"connection_id":173612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:18:59] local.INFO: IMEI packet received {"connection_id":173612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":173612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:19:03] local.INFO: TCP Data received {"connection_id":173612,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:19:03] local.INFO: Processing buffer {"connection_id":173612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:19:03] local.INFO: IMEI packet received {"connection_id":173612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":173612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:19:05] local.INFO: TCP Data received {"connection_id":173612,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c763bb8012ccd67c0074493e00013009b34..."} 
[2026-09-04 18:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c763bb8012ccd67c0074493e00013009b34..."} 
[2026-09-04 18:19:05] local.INFO: Processing buffer {"connection_id":173612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c763bb8012ccd67c0074493e00013009b34..."} 
[2026-09-04 18:19:05] local.INFO: Packet analysis {"connection_id":173612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:19:05] local.INFO: Extracted packet for processing {"connection_id":173612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:19:05] local.INFO: GPS Element Parsed {"raw_longitude":751658944,"raw_latitude":121934816,"longitude_deg":75.1658944,"latitude_deg":12.1934816,"altitude":19,"angle":155,"satellites":52,"speed":59,"hex_longitude":"2ccd67c0","hex_latitude":"074493e0","is_valid_coordinates":true} 
[2026-09-04 18:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862675712001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398342883670753280,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3650941522952423424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788526083000,"timestamp_ms":1788526083000,"timestamp_seconds":1788526083,"priority":1,"record_length":96,"hex_timestamp":"000001a06c763bb8"} 
[2026-09-04 18:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862675712001,"66":27865,"231":206,"85":37632,"24":59,"16":398342883670753280,"44":-3650941522952423424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-09-04 18:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862675712001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:19:05] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-04 18:19:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398342883670753280,"km_value":398342883670753.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:19:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3650941522952423424,"description":"Unknown IO ID 44"} 
[2026-09-04 18:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862675712001,"power":27865,"unknown_231":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3650941522952423424}} 
[2026-09-04 18:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":173612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:19:05] local.INFO: GPS data processed {"connection_id":173612,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:19:05] local.INFO: Acknowledgment sent {"connection_id":173612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:19:24] local.INFO: TCP Data received {"connection_id":172316,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:19:24] local.INFO: Processing buffer {"connection_id":172316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:19:24] local.INFO: IMEI packet received {"connection_id":172316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":172316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:19:25] local.INFO: TCP Data received {"connection_id":171200,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c75e5c8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c75e5c8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:19:25] local.INFO: Processing buffer {"connection_id":171200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c75e5c8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:19:25] local.INFO: Packet analysis {"connection_id":171200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:19:25] local.INFO: Extracted packet for processing {"connection_id":171200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:19:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862666240001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740570917865170944,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788526061000,"timestamp_ms":1788526061000,"timestamp_seconds":1788526061,"priority":1,"record_length":96,"hex_timestamp":"000001a06c75e5c8"} 
[2026-09-04 18:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:19:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:25] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":16384,"corrected_to":0} 
[2026-09-04 18:19:25] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":49152,"corrected_to":0} 
[2026-09-04 18:19:25] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1728053248,"corrected_to":0} 
[2026-09-04 18:19:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184209809613,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 18:19:25] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3381133312,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:25] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:25] local.WARNING: Large IO value detected {"io_id":35,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:25] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,203,160,104,45,192,215,80,43,10,66,69,246,42,202,34,1,240,233,227,108,4,113,205,44,220,146,144,41,239,49,2,61,7,106,35],"length":485,"final_offset":615,"validated_count":42,"validation_warnings":[{"io_id":203,"original":16384,"validated":0},{"io_id":246,"original":49152,"validated":0},{"io_id":202,"original":1728053248,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 18:19:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548674623435112448,"timestamp_seconds":5548674623435112.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862666240001,"66":12537,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1740570917865170944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862666240001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:19:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:19:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740570917865170944,"description":"Unknown IO ID 45"} 
[2026-09-04 18:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862666240001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740570917865170944}} 
[2026-09-04 18:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":171200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:19:25] local.INFO: GPS data processed {"connection_id":171200,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:19:25] local.INFO: Acknowledgment sent {"connection_id":171200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:19:26] local.INFO: TCP Data received {"connection_id":172316,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:19:26] local.INFO: Processing buffer {"connection_id":172316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:19:26] local.INFO: IMEI packet received {"connection_id":172316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":172316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:19:27] local.INFO: TCP Data received {"connection_id":171201,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:19:27] local.INFO: Processing buffer {"connection_id":171201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:19:27] local.INFO: Packet analysis {"connection_id":171201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:19:27] local.INFO: Extracted packet for processing {"connection_id":171201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:19:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862594816001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526062000,"timestamp_ms":1788526062000,"timestamp_seconds":1788526062,"priority":1,"record_length":96,"hex_timestamp":"000001a06c75e9b0"} 
[2026-09-04 18:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862594816001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862594816001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:19:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:19:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862594816001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":171201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:19:27] local.INFO: GPS data processed {"connection_id":171201,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:19:27] local.INFO: Acknowledgment sent {"connection_id":171201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:19:31] local.INFO: TCP Data received {"connection_id":172316,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:19:31] local.INFO: Processing buffer {"connection_id":172316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:19:31] local.INFO: IMEI packet received {"connection_id":172316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":172316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:19:32] local.INFO: TCP Data received {"connection_id":172316,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7633e8012d7ae1c005bd15f0000a005721..."} 
[2026-09-04 18:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7633e8012d7ae1c005bd15f0000a005721..."} 
[2026-09-04 18:19:32] local.INFO: Processing buffer {"connection_id":172316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7633e8012d7ae1c005bd15f0000a005721..."} 
[2026-09-04 18:19:32] local.INFO: Packet analysis {"connection_id":172316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:19:32] local.INFO: Extracted packet for processing {"connection_id":172316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763027904,"raw_latitude":96278000,"longitude_deg":76.3027904,"latitude_deg":9.6278,"altitude":10,"angle":87,"satellites":33,"speed":44,"hex_longitude":"2d7ae1c0","hex_latitude":"05bd15f0","is_valid_coordinates":true} 
[2026-09-04 18:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862674688001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128255471579561984,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844295636616818688,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788526081000,"timestamp_ms":1788526081000,"timestamp_seconds":1788526081,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7633e8"} 
[2026-09-04 18:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-04 18:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862674688001,"66":13820,"7":206,"85":12544,"24":44,"16":128255471579561984,"45":8844295636616818688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-04 18:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862674688001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:19:32] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-04 18:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128255471579561984,"km_value":128255471579561.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844295636616818688,"description":"Unknown IO ID 45"} 
[2026-09-04 18:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862674688001,"power":13820,"unknown_7":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":8844295636616818688}} 
[2026-09-04 18:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":172316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:19:32] local.INFO: GPS data processed {"connection_id":172316,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:19:32] local.INFO: Acknowledgment sent {"connection_id":172316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:19:35] local.INFO: TCP Data received {"connection_id":172316,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c765710012d7b080005bd17f0000a005821..."} 
[2026-09-04 18:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c765710012d7b080005bd17f0000a005821..."} 
[2026-09-04 18:19:35] local.INFO: Processing buffer {"connection_id":172316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c765710012d7b080005bd17f0000a005821..."} 
[2026-09-04 18:19:35] local.INFO: Packet analysis {"connection_id":172316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:19:35] local.INFO: Extracted packet for processing {"connection_id":172316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:19:35] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":96278512,"longitude_deg":76.3037696,"latitude_deg":9.6278512,"altitude":10,"angle":88,"satellites":33,"speed":43,"hex_longitude":"2d7b0800","hex_latitude":"05bd17f0","is_valid_coordinates":true} 
[2026-09-04 18:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862676736001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128255944025964544,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854569473266806784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788526090000,"timestamp_ms":1788526090000,"timestamp_seconds":1788526090,"priority":1,"record_length":96,"hex_timestamp":"000001a06c765710"} 
[2026-09-04 18:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-04 18:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862676736001,"66":13396,"7":206,"85":12544,"24":43,"16":128255944025964544,"45":8854569473266806784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-04 18:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862676736001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:19:35] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-04 18:19:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128255944025964544,"km_value":128255944025964.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854569473266806784,"description":"Unknown IO ID 45"} 
[2026-09-04 18:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862676736001,"power":13396,"unknown_7":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":8854569473266806784}} 
[2026-09-04 18:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":172316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:19:36] local.INFO: GPS data processed {"connection_id":172316,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:19:36] local.INFO: Acknowledgment sent {"connection_id":172316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:19:36] local.INFO: TCP Data received {"connection_id":173612,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c765710012ccd758007447128001200a134..."} 
[2026-09-04 18:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c765710012ccd758007447128001200a134..."} 
[2026-09-04 18:19:36] local.INFO: Processing buffer {"connection_id":173612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c765710012ccd758007447128001200a134..."} 
[2026-09-04 18:19:36] local.INFO: Packet analysis {"connection_id":173612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:19:36] local.INFO: Extracted packet for processing {"connection_id":173612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:19:36] local.INFO: GPS Element Parsed {"raw_longitude":751662464,"raw_latitude":121925928,"longitude_deg":75.1662464,"latitude_deg":12.1925928,"altitude":18,"angle":161,"satellites":52,"speed":45,"hex_longitude":"2ccd7580","hex_latitude":"07447128","is_valid_coordinates":true} 
[2026-09-04 18:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862677248001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398343343232253952,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3645734235885281280,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788526090000,"timestamp_ms":1788526090000,"timestamp_seconds":1788526090,"priority":1,"record_length":96,"hex_timestamp":"000001a06c765710"} 
[2026-09-04 18:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 18:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862677248001,"66":27821,"231":206,"85":37632,"24":45,"16":398343343232253952,"44":-3645734235885281280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-09-04 18:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862677248001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:19:36] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-04 18:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398343343232253952,"km_value":398343343232253.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:19:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3645734235885281280,"description":"Unknown IO ID 44"} 
[2026-09-04 18:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862677248001,"power":27821,"unknown_231":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3645734235885281280}} 
[2026-09-04 18:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":173612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:19:36] local.INFO: GPS data processed {"connection_id":173612,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:19:36] local.INFO: Acknowledgment sent {"connection_id":173612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:19:47] local.INFO: TCP Data received {"connection_id":170918,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:19:47] local.INFO: Processing buffer {"connection_id":170918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:19:47] local.INFO: IMEI packet received {"connection_id":170918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":170918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:19:48] local.INFO: TCP Data received {"connection_id":172317,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:19:48] local.INFO: Processing buffer {"connection_id":172317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:19:48] local.INFO: IMEI packet received {"connection_id":172317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":172317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:19:53] local.INFO: TCP Data received {"connection_id":170918,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:19:53] local.INFO: Processing buffer {"connection_id":170918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:19:53] local.INFO: IMEI packet received {"connection_id":170918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":170918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:19:53] local.INFO: TCP Data received {"connection_id":170918,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7637d0012d1822400721b4a0004c00da2a..."} 
[2026-09-04 18:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7637d0012d1822400721b4a0004c00da2a..."} 
[2026-09-04 18:19:53] local.INFO: Processing buffer {"connection_id":170918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7637d0012d1822400721b4a0004c00da2a..."} 
[2026-09-04 18:19:53] local.INFO: Packet analysis {"connection_id":170918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:19:53] local.INFO: Extracted packet for processing {"connection_id":170918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862671616001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788526082000,"timestamp_ms":1788526082000,"timestamp_seconds":1788526082,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7637d0"} 
[2026-09-04 18:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-04 18:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862671616001,"66":12548,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862671616001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:19:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:19:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862671616001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":170918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:19:54] local.INFO: GPS data processed {"connection_id":170918,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:19:54] local.INFO: Acknowledgment sent {"connection_id":170918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:19:54] local.INFO: TCP Data received {"connection_id":172317,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:19:54] local.INFO: Processing buffer {"connection_id":172317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:19:54] local.INFO: IMEI packet received {"connection_id":172317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":172317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:19:55] local.INFO: TCP Data received {"connection_id":172317,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:19:55] local.INFO: Processing buffer {"connection_id":172317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:19:55] local.INFO: Packet analysis {"connection_id":172317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:19:55] local.INFO: Extracted packet for processing {"connection_id":172317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:19:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862594816001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788526062000,"timestamp_ms":1788526062000,"timestamp_seconds":1788526062,"priority":1,"record_length":96,"hex_timestamp":"000001a06c75e9b0"} 
[2026-09-04 18:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862594816001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862594816001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:19:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862594816001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":172317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764291,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:19:55] local.INFO: GPS data processed {"connection_id":172317,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:19:55] local.INFO: Acknowledgment sent {"connection_id":172317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:20:04] local.INFO: TCP Data received {"connection_id":171202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:04] local.INFO: Processing buffer {"connection_id":171202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:04] local.INFO: IMEI packet received {"connection_id":171202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":171202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:20:04] local.INFO: TCP Data received {"connection_id":171202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:04] local.INFO: Processing buffer {"connection_id":171202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:04] local.INFO: IMEI packet received {"connection_id":171202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":171202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:20:10] local.INFO: TCP Data received {"connection_id":171202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:10] local.INFO: Processing buffer {"connection_id":171202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:10] local.INFO: IMEI packet received {"connection_id":171202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":171202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:20:11] local.INFO: TCP Data received {"connection_id":171202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:11] local.INFO: Processing buffer {"connection_id":171202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:11] local.INFO: IMEI packet received {"connection_id":171202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":171202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:20:18] local.INFO: TCP Data received {"connection_id":171202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7739a0012cce9e0007441920000b006034..."} 
[2026-09-04 18:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7739a0012cce9e0007441920000b006034..."} 
[2026-09-04 18:20:18] local.INFO: Processing buffer {"connection_id":171202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7739a0012cce9e0007441920000b006034..."} 
[2026-09-04 18:20:18] local.INFO: Packet analysis {"connection_id":171202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:20:18] local.INFO: Extracted packet for processing {"connection_id":171202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:20:18] local.INFO: GPS Element Parsed {"raw_longitude":751738368,"raw_latitude":121903392,"longitude_deg":75.1738368,"latitude_deg":12.1903392,"altitude":11,"angle":96,"satellites":52,"speed":47,"hex_longitude":"2cce9e00","hex_latitude":"07441920","is_valid_coordinates":true} 
[2026-09-04 18:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862692096001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398347320371970048,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3569173042227808256,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788526148000,"timestamp_ms":1788526148000,"timestamp_seconds":1788526148,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7739a0"} 
[2026-09-04 18:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":171202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":171202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":171202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862692096001,"66":27745,"167":206,"85":37632,"24":47,"16":398347320371970048,"44":-3569173042227808256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-04 18:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862692096001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:20:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-04 18:20:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398347320371970048,"km_value":398347320371970.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:20:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3569173042227808256,"description":"Unknown IO ID 44"} 
[2026-09-04 18:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862692096001,"power":27745,"unknown_167":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3569173042227808256}} 
[2026-09-04 18:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":171202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:20:18] local.INFO: GPS data processed {"connection_id":171202,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:20:18] local.INFO: Acknowledgment sent {"connection_id":171202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:20:20] local.INFO: TCP Data received {"connection_id":171202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7754f8012cceba8007441748000c005533..."} 
[2026-09-04 18:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7754f8012cceba8007441748000c005533..."} 
[2026-09-04 18:20:20] local.INFO: Processing buffer {"connection_id":171202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7754f8012cceba8007441748000c005533..."} 
[2026-09-04 18:20:20] local.INFO: Packet analysis {"connection_id":171202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:20:20] local.INFO: Extracted packet for processing {"connection_id":171202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:20:20] local.INFO: GPS Element Parsed {"raw_longitude":751745664,"raw_latitude":121902920,"longitude_deg":75.1745664,"latitude_deg":12.190292,"altitude":12,"angle":85,"satellites":51,"speed":42,"hex_longitude":"2cceba80","hex_latitude":"07441748","is_valid_coordinates":true} 
[2026-09-04 18:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862693888001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398347672559288320,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3558406624368844800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788526155000,"timestamp_ms":1788526155000,"timestamp_seconds":1788526155,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7754f8"} 
[2026-09-04 18:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862693888001,"66":26876,"167":206,"85":37632,"24":42,"16":398347672559288320,"44":-3558406624368844800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-04 18:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862693888001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:20:20] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-04 18:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398347672559288320,"km_value":398347672559288.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3558406624368844800,"description":"Unknown IO ID 44"} 
[2026-09-04 18:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862693888001,"power":26876,"unknown_167":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-3558406624368844800}} 
[2026-09-04 18:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":171202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:20:20] local.INFO: GPS data processed {"connection_id":171202,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:20:20] local.INFO: Acknowledgment sent {"connection_id":171202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:20:21] local.INFO: TCP Data received {"connection_id":171203,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:20:21] local.INFO: Processing buffer {"connection_id":171203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:20:21] local.INFO: IMEI packet received {"connection_id":171203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":171203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:20:25] local.INFO: TCP Data received {"connection_id":170918,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7689d8012d1822400721b4a0004c00da2b..."} 
[2026-09-04 18:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7689d8012d1822400721b4a0004c00da2b..."} 
[2026-09-04 18:20:25] local.INFO: Processing buffer {"connection_id":170918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7689d8012d1822400721b4a0004c00da2b..."} 
[2026-09-04 18:20:25] local.INFO: Packet analysis {"connection_id":170918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:20:25] local.INFO: Extracted packet for processing {"connection_id":170918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:20:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862676992001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788526103000,"timestamp_ms":1788526103000,"timestamp_seconds":1788526103,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7689d8"} 
[2026-09-04 18:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:20:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:25] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1073741824,"corrected_to":0} 
[2026-09-04 18:20:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184184905933,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4139778131,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 18:20:25] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692950,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:25] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143914,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:25] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3395747840,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:25] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:25] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,203,160,229,45,64,180,76,10,66,147,192,186,77,44,104,1,240,227,108,33,4,113,205,43,34,102,42,239,47,2,61,7,90,106],"length":485,"final_offset":615,"validated_count":41,"validation_warnings":[{"io_id":203,"original":1073741824,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 18:20:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476617020806004736,"timestamp_seconds":5476617020806005.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862676992001,"66":12558,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862676992001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:20:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:20:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862676992001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":170918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:20:25] local.INFO: GPS data processed {"connection_id":170918,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:20:25] local.INFO: Acknowledgment sent {"connection_id":170918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:20:26] local.INFO: TCP Data received {"connection_id":171203,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:20:26] local.INFO: Processing buffer {"connection_id":171203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:20:26] local.INFO: IMEI packet received {"connection_id":171203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":171203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:20:26] local.INFO: TCP Data received {"connection_id":171203,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c77e198012d7c0f8005bd35280006015622..."} 
[2026-09-04 18:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c77e198012d7c0f8005bd35280006015622..."} 
[2026-09-04 18:20:26] local.INFO: Processing buffer {"connection_id":171203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c77e198012d7c0f8005bd35280006015622..."} 
[2026-09-04 18:20:26] local.INFO: Packet analysis {"connection_id":171203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:20:26] local.INFO: Extracted packet for processing {"connection_id":171203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:20:26] local.INFO: GPS Element Parsed {"raw_longitude":763105152,"raw_latitude":96285992,"longitude_deg":76.3105152,"latitude_deg":9.6285992,"altitude":6,"angle":342,"satellites":34,"speed":8,"hex_longitude":"2d7c0f80","hex_latitude":"05bd3528","is_valid_coordinates":true} 
[2026-09-04 18:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862703872001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259388589735936,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939574916235255808,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788526191000,"timestamp_ms":1788526191000,"timestamp_seconds":1788526191,"priority":1,"record_length":96,"hex_timestamp":"000001a06c77e198"} 
[2026-09-04 18:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-04 18:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862703872001,"66":13472,"197":206,"85":12544,"24":8,"16":128259388589735936,"45":8939574916235255808},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862703872001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:20:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259388589735936,"km_value":128259388589735.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939574916235255808,"description":"Unknown IO ID 45"} 
[2026-09-04 18:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862703872001,"power":13472,"unknown_197":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8939574916235255808}} 
[2026-09-04 18:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":171203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:20:26] local.INFO: GPS data processed {"connection_id":171203,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:20:26] local.INFO: Acknowledgment sent {"connection_id":171203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:20:27] local.INFO: TCP Data received {"connection_id":172317,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:20:27] local.INFO: Processing buffer {"connection_id":172317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:20:27] local.INFO: Packet analysis {"connection_id":172317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:20:27] local.INFO: Extracted packet for processing {"connection_id":172317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:20:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862594816001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526062000,"timestamp_ms":1788526062000,"timestamp_seconds":1788526062,"priority":1,"record_length":96,"hex_timestamp":"000001a06c75e9b0"} 
[2026-09-04 18:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862594816001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862594816001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:20:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:20:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862594816001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":172317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764296,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:20:27] local.INFO: GPS data processed {"connection_id":172317,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:20:27] local.INFO: Acknowledgment sent {"connection_id":172317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:20:47] local.INFO: TCP Data received {"connection_id":170919,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:20:47] local.INFO: Processing buffer {"connection_id":170919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:20:47] local.INFO: IMEI packet received {"connection_id":170919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":170919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:20:48] local.INFO: TCP Data received {"connection_id":173613,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:20:48] local.INFO: Processing buffer {"connection_id":173613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:20:48] local.INFO: IMEI packet received {"connection_id":173613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":173613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:20:53] local.INFO: TCP Data received {"connection_id":170919,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:20:53] local.INFO: Processing buffer {"connection_id":170919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:20:53] local.INFO: IMEI packet received {"connection_id":170919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":170919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:20:54] local.INFO: TCP Data received {"connection_id":170919,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c76dbe0012d1822400721b4a0004c00da2b..."} 
[2026-09-04 18:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c76dbe0012d1822400721b4a0004c00da2b..."} 
[2026-09-04 18:20:54] local.INFO: Processing buffer {"connection_id":170919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c76dbe0012d1822400721b4a0004c00da2b..."} 
[2026-09-04 18:20:54] local.INFO: Packet analysis {"connection_id":170919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:20:54] local.INFO: Extracted packet for processing {"connection_id":170919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c76"} 
[2026-09-04 18:20:54] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862682368001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788526124000,"timestamp_ms":1788526124000,"timestamp_seconds":1788526124,"priority":1,"record_length":96,"hex_timestamp":"000001a06c76dbe0"} 
[2026-09-04 18:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2768240640,"corrected_to":0} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249484020465153656,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3622305872,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":69,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931242,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3402891264,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":43,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304410664962,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:54] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,203,160,55,45,64,180,76,42,10,66,229,147,192,1,240,4,227,108,33,113,205,40,69,81,239,48,2,61,7,85,43,106,91,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":203,"original":2768240640,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 18:20:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476617025100972032,"timestamp_seconds":5476617025100972.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862682368001,"66":12548,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862682368001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:20:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:20:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862682368001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:20:54] local.INFO: TCP Data received {"connection_id":173613,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:20:54] local.INFO: Processing buffer {"connection_id":173613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:20:54] local.INFO: IMEI packet received {"connection_id":173613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":173613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":170919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:20:54] local.INFO: GPS data processed {"connection_id":170919,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:20:54] local.INFO: Acknowledgment sent {"connection_id":170919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:20:55] local.INFO: TCP Data received {"connection_id":173613,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:20:55] local.INFO: Processing buffer {"connection_id":173613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:20:55] local.INFO: Packet analysis {"connection_id":173613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:20:55] local.INFO: Extracted packet for processing {"connection_id":173613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:20:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862594816001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788526062000,"timestamp_ms":1788526062000,"timestamp_seconds":1788526062,"priority":1,"record_length":96,"hex_timestamp":"000001a06c75e9b0"} 
[2026-09-04 18:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862594816001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862594816001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:20:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862594816001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":173613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:20:55] local.INFO: GPS data processed {"connection_id":173613,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:20:55] local.INFO: Acknowledgment sent {"connection_id":173613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:20:58] local.INFO: TCP Data received {"connection_id":171203,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c77f520012d7c0e4005bd38a00007016522..."} 
[2026-09-04 18:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c77f520012d7c0e4005bd38a00007016522..."} 
[2026-09-04 18:20:58] local.INFO: Processing buffer {"connection_id":171203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c77f520012d7c0e4005bd38a00007016522..."} 
[2026-09-04 18:20:58] local.INFO: Packet analysis {"connection_id":171203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:20:58] local.INFO: Extracted packet for processing {"connection_id":171203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:20:58] local.INFO: GPS Element Parsed {"raw_longitude":763104832,"raw_latitude":96286880,"longitude_deg":76.3104832,"latitude_deg":9.628688,"altitude":7,"angle":357,"satellites":34,"speed":8,"hex_longitude":"2d7c0e40","hex_latitude":"05bd38a0","is_valid_coordinates":true} 
[2026-09-04 18:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862704896001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259435834376192,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939504547491293184,"note":"Value kept but may cause issues"} 
[2026-09-04 18:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788526196000,"timestamp_ms":1788526196000,"timestamp_seconds":1788526196,"priority":1,"record_length":96,"hex_timestamp":"000001a06c77f520"} 
[2026-09-04 18:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-04 18:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862704896001,"66":13722,"197":206,"85":12544,"24":8,"16":128259435834376192,"45":8939504547491293184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862704896001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:20:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:20:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259435834376192,"km_value":128259435834376.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939504547491293184,"description":"Unknown IO ID 45"} 
[2026-09-04 18:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862704896001,"power":13722,"unknown_197":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8939504547491293184}} 
[2026-09-04 18:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":171203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:20:58] local.INFO: GPS data processed {"connection_id":171203,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:20:58] local.INFO: Acknowledgment sent {"connection_id":171203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:20:59] local.INFO: TCP Data received {"connection_id":172318,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:59] local.INFO: Processing buffer {"connection_id":172318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:59] local.INFO: IMEI packet received {"connection_id":172318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":172318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:20:59] local.INFO: TCP Data received {"connection_id":172318,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:59] local.INFO: Processing buffer {"connection_id":172318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:20:59] local.INFO: IMEI packet received {"connection_id":172318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":172318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:21:00] local.INFO: TCP Data received {"connection_id":172318,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c777438012ccedf4007441770000c005e33..."} 
[2026-09-04 18:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c777438012ccedf4007441770000c005e33..."} 
[2026-09-04 18:21:00] local.INFO: Processing buffer {"connection_id":172318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c777438012ccedf4007441770000c005e33..."} 
[2026-09-04 18:21:00] local.INFO: Packet analysis {"connection_id":172318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:21:00] local.INFO: Extracted packet for processing {"connection_id":172318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:21:00] local.INFO: GPS Element Parsed {"raw_longitude":751755072,"raw_latitude":121902960,"longitude_deg":75.1755072,"latitude_deg":12.190296,"altitude":12,"angle":94,"satellites":51,"speed":48,"hex_longitude":"2ccedf40","hex_latitude":"07441770","is_valid_coordinates":true} 
[2026-09-04 18:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862695680001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398348114940919808,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3550384587532711936,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788526163000,"timestamp_ms":1788526163000,"timestamp_seconds":1788526163,"priority":1,"record_length":96,"hex_timestamp":"000001a06c777438"} 
[2026-09-04 18:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-04 18:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862695680001,"66":27919,"167":206,"85":37632,"24":48,"16":398348114940919808,"44":-3550384587532711936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-04 18:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862695680001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:21:00] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-04 18:21:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398348114940919808,"km_value":398348114940919.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:21:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3550384587532711936,"description":"Unknown IO ID 44"} 
[2026-09-04 18:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862695680001,"power":27919,"unknown_167":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-3550384587532711936}} 
[2026-09-04 18:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":172318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:21:00] local.INFO: GPS data processed {"connection_id":172318,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:21:00] local.INFO: Acknowledgment sent {"connection_id":172318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:21:04] local.INFO: TCP Data received {"connection_id":172318,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7783d8012ccef280074413f0000c006b33..."} 
[2026-09-04 18:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7783d8012ccef280074413f0000c006b33..."} 
[2026-09-04 18:21:04] local.INFO: Processing buffer {"connection_id":172318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7783d8012ccef280074413f0000c006b33..."} 
[2026-09-04 18:21:04] local.INFO: Packet analysis {"connection_id":172318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:21:04] local.INFO: Extracted packet for processing {"connection_id":172318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:21:04] local.INFO: GPS Element Parsed {"raw_longitude":751760000,"raw_latitude":121902064,"longitude_deg":75.176,"latitude_deg":12.1902064,"altitude":12,"angle":107,"satellites":51,"speed":51,"hex_longitude":"2ccef280","hex_latitude":"074413f0","is_valid_coordinates":true} 
[2026-09-04 18:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862697728001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398348355459088384,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3540040382138585088,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788526167000,"timestamp_ms":1788526167000,"timestamp_seconds":1788526167,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7783d8"} 
[2026-09-04 18:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 18:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862697728001,"66":27865,"167":206,"85":37632,"24":51,"16":398348355459088384,"44":-3540040382138585088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-04 18:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862697728001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:21:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-04 18:21:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-04 18:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398348355459088384,"km_value":398348355459088.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:21:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3540040382138585088,"description":"Unknown IO ID 44"} 
[2026-09-04 18:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862697728001,"power":27865,"unknown_167":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-3540040382138585088}} 
[2026-09-04 18:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":172318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:21:04] local.INFO: GPS data processed {"connection_id":172318,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:21:04] local.INFO: Acknowledgment sent {"connection_id":172318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:21:21] local.INFO: TCP Data received {"connection_id":171204,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:21:21] local.INFO: Processing buffer {"connection_id":171204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:21:21] local.INFO: IMEI packet received {"connection_id":171204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":171204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:21:25] local.INFO: TCP Data received {"connection_id":170919,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c772de8012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c772de8012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:21:25] local.INFO: Processing buffer {"connection_id":170919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c772de8012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:21:25] local.INFO: Packet analysis {"connection_id":170919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:21:25] local.INFO: Extracted packet for processing {"connection_id":170919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:21:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862687744001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788526145000,"timestamp_ms":1788526145000,"timestamp_seconds":1788526145,"priority":1,"record_length":96,"hex_timestamp":"000001a06c772de8"} 
[2026-09-04 18:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:21:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:25] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3187671040,"corrected_to":0} 
[2026-09-04 18:21:25] local.WARNING: Large IO value detected {"io_id":43,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184194146509,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3131572301,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 18:21:25] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:25] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3221692887,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:25] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480618,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:25] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3409969152,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:25] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:25] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,203,160,137,45,64,180,76,43,10,66,55,42,229,1,240,249,227,108,33,4,113,205,19,104,59,232,239,48,2,61,7,106],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":203,"original":3187671040,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 18:21:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476617025100972032,"timestamp_seconds":5476617025100972.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862687744001,"66":12558,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862687744001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:21:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:21:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862687744001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":170919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:21:25] local.INFO: GPS data processed {"connection_id":170919,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:21:25] local.INFO: Acknowledgment sent {"connection_id":170919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:21:26] local.INFO: TCP Data received {"connection_id":171204,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:21:26] local.INFO: Processing buffer {"connection_id":171204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:21:26] local.INFO: IMEI packet received {"connection_id":171204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":171204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:21:27] local.INFO: TCP Data received {"connection_id":173613,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:21:27] local.INFO: Processing buffer {"connection_id":173613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:21:27] local.INFO: Packet analysis {"connection_id":173613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:21:27] local.INFO: Extracted packet for processing {"connection_id":173613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:21:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862594816001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526062000,"timestamp_ms":1788526062000,"timestamp_seconds":1788526062,"priority":1,"record_length":96,"hex_timestamp":"000001a06c75e9b0"} 
[2026-09-04 18:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862594816001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862594816001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:21:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:21:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862594816001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":173613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:21:27] local.INFO: GPS data processed {"connection_id":173613,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:21:27] local.INFO: Acknowledgment sent {"connection_id":173613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:21:27] local.INFO: TCP Data received {"connection_id":171204,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c781078012d7c0dc005bd3ed80008015323..."} 
[2026-09-04 18:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c781078012d7c0dc005bd3ed80008015323..."} 
[2026-09-04 18:21:27] local.INFO: Processing buffer {"connection_id":171204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c781078012d7c0dc005bd3ed80008015323..."} 
[2026-09-04 18:21:27] local.INFO: Packet analysis {"connection_id":171204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:21:27] local.INFO: Extracted packet for processing {"connection_id":171204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763104704,"raw_latitude":96288472,"longitude_deg":76.3104704,"latitude_deg":9.6288472,"altitude":8,"angle":339,"satellites":35,"speed":10,"hex_longitude":"2d7c0dc0","hex_latitude":"05bd3ed8","is_valid_coordinates":true} 
[2026-09-04 18:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862706176001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259513143787520,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939152703770632192,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526203000,"timestamp_ms":1788526203000,"timestamp_seconds":1788526203,"priority":1,"record_length":96,"hex_timestamp":"000001a06c781078"} 
[2026-09-04 18:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-04 18:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862706176001,"66":13798,"197":206,"85":12544,"24":10,"16":128259513143787520,"45":8939152703770632192},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862706176001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:21:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259513143787520,"km_value":128259513143787.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939152703770632192,"description":"Unknown IO ID 45"} 
[2026-09-04 18:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862706176001,"power":13798,"unknown_197":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":8939152703770632192}} 
[2026-09-04 18:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":171204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:21:27] local.INFO: GPS data processed {"connection_id":171204,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:21:27] local.INFO: Acknowledgment sent {"connection_id":171204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:21:35] local.INFO: TCP Data received {"connection_id":172318,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c78b0a0012cd01c80074307700016007c33..."} 
[2026-09-04 18:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c78b0a0012cd01c80074307700016007c33..."} 
[2026-09-04 18:21:35] local.INFO: Processing buffer {"connection_id":172318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c78b0a0012cd01c80074307700016007c33..."} 
[2026-09-04 18:21:35] local.INFO: Packet analysis {"connection_id":172318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:21:35] local.INFO: Extracted packet for processing {"connection_id":172318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:21:35] local.INFO: GPS Element Parsed {"raw_longitude":751836288,"raw_latitude":121833328,"longitude_deg":75.1836288,"latitude_deg":12.1833328,"altitude":22,"angle":124,"satellites":51,"speed":57,"hex_longitude":"2cd01c80","hex_latitude":"07430770","is_valid_coordinates":true} 
[2026-09-04 18:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862716672001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398353350506053632,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3459538538815721472,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788526244000,"timestamp_ms":1788526244000,"timestamp_seconds":1788526244,"priority":1,"record_length":96,"hex_timestamp":"000001a06c78b0a0"} 
[2026-09-04 18:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 18:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862716672001,"66":28104,"79":206,"83":43264,"24":57,"16":398353350506053632,"44":-3459538538815721472},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-04 18:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862716672001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:21:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 18:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398353350506053632,"km_value":398353350506053.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:21:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3459538538815721472,"description":"Unknown IO ID 44"} 
[2026-09-04 18:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862716672001,"power":28104,"unknown_79":206,"unknown_83":43264,"ignition":57,"odometer":null,"unknown_44":-3459538538815721472}} 
[2026-09-04 18:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":172318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:21:35] local.INFO: GPS data processed {"connection_id":172318,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:21:35] local.INFO: Acknowledgment sent {"connection_id":172318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:21:48] local.INFO: TCP Data received {"connection_id":170920,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:21:48] local.INFO: Processing buffer {"connection_id":170920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:21:48] local.INFO: IMEI packet received {"connection_id":170920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":170920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:21:53] local.INFO: TCP Data received {"connection_id":170920,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:21:53] local.INFO: Processing buffer {"connection_id":170920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:21:53] local.INFO: IMEI packet received {"connection_id":170920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":170920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:21:54] local.INFO: TCP Data received {"connection_id":173614,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:21:54] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:21:54] local.INFO: IMEI packet received {"connection_id":173614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":173614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:21:58] local.INFO: TCP Data received {"connection_id":170920,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:21:58] local.INFO: Processing buffer {"connection_id":170920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:21:58] local.INFO: IMEI packet received {"connection_id":170920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":170920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:21:58] local.INFO: TCP Data received {"connection_id":171204,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c78fad8012d7c080005bd4a18000a00fd24..."} 
[2026-09-04 18:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c78fad8012d7c080005bd4a18000a00fd24..."} 
[2026-09-04 18:21:58] local.INFO: Processing buffer {"connection_id":171204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c78fad8012d7c080005bd4a18000a00fd24..."} 
[2026-09-04 18:21:58] local.INFO: Packet analysis {"connection_id":171204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:21:58] local.INFO: Extracted packet for processing {"connection_id":171204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291352,"longitude_deg":76.3103232,"latitude_deg":9.6291352,"altitude":10,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a18","is_valid_coordinates":true} 
[2026-09-04 18:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862718208001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604591399878656,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788526263000,"timestamp_ms":1788526263000,"timestamp_seconds":1788526263,"priority":1,"record_length":96,"hex_timestamp":"000001a06c78fad8"} 
[2026-09-04 18:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-04 18:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862718208001,"66":13580,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937604591399878656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862718208001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:21:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:21:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604591399878656,"description":"Unknown IO ID 45"} 
[2026-09-04 18:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862718208001,"power":13580,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937604591399878656}} 
[2026-09-04 18:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":171204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:21:58] local.INFO: GPS data processed {"connection_id":171204,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:21:58] local.INFO: Acknowledgment sent {"connection_id":171204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:21:58] local.INFO: TCP Data received {"connection_id":170920,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c777ff0012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c777ff0012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:21:58] local.INFO: Processing buffer {"connection_id":170920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c777ff0012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:21:58] local.INFO: Packet analysis {"connection_id":170920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:21:58] local.INFO: Extracted packet for processing {"connection_id":170920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862693120001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788526166000,"timestamp_ms":1788526166000,"timestamp_seconds":1788526166,"priority":1,"record_length":96,"hex_timestamp":"000001a06c777ff0"} 
[2026-09-04 18:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3187671040,"corrected_to":0} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249436191709329088,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3030384716,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3221692858,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3416588288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":40,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304410599426,"note":"Value kept but may cause issues"} 
[2026-09-04 18:21:58] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,203,160,219,45,64,180,76,43,10,66,137,55,1,240,4,227,108,33,113,205,147,39,168,44,239,49,2,61,7,80,40,106,92,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":203,"original":3187671040,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 18:21:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476617029395939328,"timestamp_seconds":5476617029395939.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862693120001,"66":12548,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862693120001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:21:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862693120001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":170920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:21:59] local.INFO: GPS data processed {"connection_id":170920,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:21:59] local.INFO: Acknowledgment sent {"connection_id":170920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:21:59] local.INFO: TCP Data received {"connection_id":173614,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:21:59] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:21:59] local.INFO: IMEI packet received {"connection_id":173614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":173614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:21:59] local.INFO: TCP Data received {"connection_id":173615,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:21:59] local.INFO: Processing buffer {"connection_id":173615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:21:59] local.INFO: IMEI packet received {"connection_id":173615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":173615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:22:00] local.INFO: TCP Data received {"connection_id":173614,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:22:00] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:22:00] local.INFO: Packet analysis {"connection_id":173614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:22:00] local.INFO: Extracted packet for processing {"connection_id":173614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862594816001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788526062000,"timestamp_ms":1788526062000,"timestamp_seconds":1788526062,"priority":1,"record_length":96,"hex_timestamp":"000001a06c75e9b0"} 
[2026-09-04 18:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862594816001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862594816001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:22:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862594816001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":173614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764308,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:22:00] local.INFO: GPS data processed {"connection_id":173614,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:22:00] local.INFO: Acknowledgment sent {"connection_id":173614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:22:03] local.INFO: TCP Data received {"connection_id":173615,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:22:03] local.INFO: Processing buffer {"connection_id":173615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:22:03] local.INFO: IMEI packet received {"connection_id":173615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":173615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:22:03] local.INFO: TCP Data received {"connection_id":170920,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c77d1f8012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c77d1f8012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:22:03] local.INFO: Processing buffer {"connection_id":170920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c77d1f8012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:22:03] local.INFO: Packet analysis {"connection_id":170920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:22:03] local.INFO: Extracted packet for processing {"connection_id":170920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c77"} 
[2026-09-04 18:22:03] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862698496001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788526187000,"timestamp_ms":1788526187000,"timestamp_seconds":1788526187,"priority":1,"record_length":96,"hex_timestamp":"000001a06c77d1f8"} 
[2026-09-04 18:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:22:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:03] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3187671040,"corrected_to":0} 
[2026-09-04 18:22:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3030384716,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 18:22:03] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579370,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:03] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3418226688,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:03] local.WARNING: Large IO value detected {"io_id":19,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:03] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,203,160,45,64,180,76,44,10,66,219,43,137,1,240,14,227,108,33,4,113,205,229,34,239,48,2,61,7,77,19,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":203,"original":3187671040,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 18:22:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476617037985873920,"timestamp_seconds":5476617037985874.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":170920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":170920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":170920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862698496001,"66":12548,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862698496001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:22:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:22:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862698496001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":170920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:22:03] local.INFO: GPS data processed {"connection_id":170920,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:22:03] local.INFO: Acknowledgment sent {"connection_id":170920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:22:04] local.INFO: TCP Data received {"connection_id":173615,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c78cbf8012cd03e800742f0e00015007a34..."} 
[2026-09-04 18:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c78cbf8012cd03e800742f0e00015007a34..."} 
[2026-09-04 18:22:04] local.INFO: Processing buffer {"connection_id":173615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c78cbf8012cd03e800742f0e00015007a34..."} 
[2026-09-04 18:22:04] local.INFO: Packet analysis {"connection_id":173615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:22:04] local.INFO: Extracted packet for processing {"connection_id":173615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:22:04] local.INFO: GPS Element Parsed {"raw_longitude":751844992,"raw_latitude":121827552,"longitude_deg":75.1844992,"latitude_deg":12.1827552,"altitude":21,"angle":122,"satellites":52,"speed":60,"hex_longitude":"2cd03e80","hex_latitude":"0742f0e0","is_valid_coordinates":true} 
[2026-09-04 18:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862718464001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398353848722259968,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3450742445794955264,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788526251000,"timestamp_ms":1788526251000,"timestamp_seconds":1788526251,"priority":1,"record_length":96,"hex_timestamp":"000001a06c78cbf8"} 
[2026-09-04 18:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 18:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862718464001,"66":27930,"79":206,"83":43264,"24":60,"16":398353848722259968,"44":-3450742445794955264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-04 18:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862718464001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:22:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 18:22:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398353848722259968,"km_value":398353848722259.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:22:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3450742445794955264,"description":"Unknown IO ID 44"} 
[2026-09-04 18:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862718464001,"power":27930,"unknown_79":206,"unknown_83":43264,"ignition":60,"odometer":null,"unknown_44":-3450742445794955264}} 
[2026-09-04 18:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":173615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:22:04] local.INFO: GPS data processed {"connection_id":173615,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:22:04] local.INFO: Acknowledgment sent {"connection_id":173615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:22:04] local.INFO: TCP Data received {"connection_id":173614,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:22:04] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:22:04] local.INFO: Packet analysis {"connection_id":173614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:22:04] local.INFO: Extracted packet for processing {"connection_id":173614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:22:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862594816001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788526062000,"timestamp_ms":1788526062000,"timestamp_seconds":1788526062,"priority":1,"record_length":96,"hex_timestamp":"000001a06c75e9b0"} 
[2026-09-04 18:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862594816001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862594816001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:22:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:22:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862594816001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":173614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:22:04] local.INFO: GPS data processed {"connection_id":173614,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:22:04] local.INFO: Acknowledgment sent {"connection_id":173614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:22:21] local.INFO: TCP Data received {"connection_id":172319,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:22:21] local.INFO: Processing buffer {"connection_id":172319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:22:21] local.INFO: IMEI packet received {"connection_id":172319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":172319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:22:26] local.INFO: TCP Data received {"connection_id":172319,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:22:26] local.INFO: Processing buffer {"connection_id":172319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:22:26] local.INFO: IMEI packet received {"connection_id":172319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":172319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:22:27] local.INFO: TCP Data received {"connection_id":172319,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c794ce0012d7c080005bd4a18000a00fd26..."} 
[2026-09-04 18:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c794ce0012d7c080005bd4a18000a00fd26..."} 
[2026-09-04 18:22:27] local.INFO: Processing buffer {"connection_id":172319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c794ce0012d7c080005bd4a18000a00fd26..."} 
[2026-09-04 18:22:27] local.INFO: Packet analysis {"connection_id":172319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c79"} 
[2026-09-04 18:22:27] local.INFO: Extracted packet for processing {"connection_id":172319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c79"} 
[2026-09-04 18:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291352,"longitude_deg":76.3103232,"latitude_deg":9.6291352,"altitude":10,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a18","is_valid_coordinates":true} 
[2026-09-04 18:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862723328001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526284000,"timestamp_ms":1788526284000,"timestamp_seconds":1788526284,"priority":1,"record_length":96,"hex_timestamp":"000001a06c794ce0"} 
[2026-09-04 18:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630251,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":171,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4059011001167642624,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634926807951045,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3623955836,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3221601611,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026192833439543723,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2877423616,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3175802880,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":124,"raw_value":738596649441951753,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.WARNING: Large IO value detected {"io_id":49,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:27] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,197,85,24,241,157,16,171,160,172,45,192,74,10,36,66,164,64,141,1,240,227,108,189,4,113,205,125,11,136,33,239,52,2,199,5,9,7,124,49],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-09-04 18:22:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720854271439929344,"timestamp_seconds":720854271439929.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862723328001,"66":13363,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862723328001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:22:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862723328001,"power":13363,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":172319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:22:27] local.INFO: GPS data processed {"connection_id":172319,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:22:27] local.INFO: Acknowledgment sent {"connection_id":172319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:22:35] local.INFO: TCP Data received {"connection_id":173615,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c78e368012cd05d000742dce80013007b33..."} 
[2026-09-04 18:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c78e368012cd05d000742dce80013007b33..."} 
[2026-09-04 18:22:35] local.INFO: Processing buffer {"connection_id":173615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c78e368012cd05d000742dce80013007b33..."} 
[2026-09-04 18:22:35] local.INFO: Packet analysis {"connection_id":173615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:22:35] local.INFO: Extracted packet for processing {"connection_id":173615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:22:35] local.INFO: GPS Element Parsed {"raw_longitude":751852800,"raw_latitude":121822440,"longitude_deg":75.18528,"latitude_deg":12.182244,"altitude":19,"angle":123,"satellites":51,"speed":60,"hex_longitude":"2cd05d00","hex_latitude":"0742dce8","is_valid_coordinates":true} 
[2026-09-04 18:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862720256001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398354291103891456,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3441172296588271616,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788526257000,"timestamp_ms":1788526257000,"timestamp_seconds":1788526257,"priority":1,"record_length":96,"hex_timestamp":"000001a06c78e368"} 
[2026-09-04 18:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862720256001,"66":27919,"79":206,"83":43264,"24":60,"16":398354291103891456,"44":-3441172296588271616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-04 18:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862720256001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:22:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 18:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398354291103891456,"km_value":398354291103891.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:22:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3441172296588271616,"description":"Unknown IO ID 44"} 
[2026-09-04 18:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862720256001,"power":27919,"unknown_79":206,"unknown_83":43264,"ignition":60,"odometer":null,"unknown_44":-3441172296588271616}} 
[2026-09-04 18:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":173615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:22:35] local.INFO: GPS data processed {"connection_id":173615,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:22:35] local.INFO: Acknowledgment sent {"connection_id":173615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:22:48] local.INFO: TCP Data received {"connection_id":171205,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:22:48] local.INFO: Processing buffer {"connection_id":171205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:22:48] local.INFO: IMEI packet received {"connection_id":171205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":171205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:22:49] local.INFO: TCP Data received {"connection_id":170921,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:22:49] local.INFO: Processing buffer {"connection_id":170921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:22:49] local.INFO: IMEI packet received {"connection_id":170921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":170921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:22:52] local.INFO: TCP Data received {"connection_id":171205,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:22:52] local.INFO: Processing buffer {"connection_id":171205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:22:52] local.INFO: IMEI packet received {"connection_id":171205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":171205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:22:52] local.INFO: TCP Data received {"connection_id":171205,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c782400012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c782400012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:22:52] local.INFO: Processing buffer {"connection_id":171205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c782400012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:22:52] local.INFO: Packet analysis {"connection_id":171205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:22:52] local.INFO: Extracted packet for processing {"connection_id":171205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:22:52] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862703872001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788526208000,"timestamp_ms":1788526208000,"timestamp_seconds":1788526208,"priority":1,"record_length":96,"hex_timestamp":"000001a06c782400"} 
[2026-09-04 18:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:52] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3187671040,"corrected_to":0} 
[2026-09-04 18:22:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184196309197,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:52] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3030384716,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 18:22:52] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:52] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3418226688,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:52] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:52] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,203,160,127,45,64,180,76,46,10,66,44,219,1,240,4,227,108,33,113,205,55,34,42,239,49,2,61,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":203,"original":3187671040,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 18:22:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476617029395939328,"timestamp_seconds":5476617029395939.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862703872001,"66":12548,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862703872001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:22:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:22:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862703872001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":171205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:22:53] local.INFO: GPS data processed {"connection_id":171205,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:22:53] local.INFO: Acknowledgment sent {"connection_id":171205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:22:54] local.INFO: TCP Data received {"connection_id":170921,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:22:54] local.INFO: Processing buffer {"connection_id":170921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:22:54] local.INFO: IMEI packet received {"connection_id":170921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":170921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:22:56] local.INFO: TCP Data received {"connection_id":170921,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:22:56] local.INFO: Processing buffer {"connection_id":170921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c75e9b0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:22:56] local.INFO: Packet analysis {"connection_id":170921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:22:56] local.INFO: Extracted packet for processing {"connection_id":170921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c75"} 
[2026-09-04 18:22:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862594816001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788526062000,"timestamp_ms":1788526062000,"timestamp_seconds":1788526062,"priority":1,"record_length":96,"hex_timestamp":"000001a06c75e9b0"} 
[2026-09-04 18:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862594816001,"66":25278,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862594816001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:22:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:22:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862594816001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":170921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:22:56] local.INFO: GPS data processed {"connection_id":170921,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:22:56] local.INFO: Acknowledgment sent {"connection_id":170921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:22:56] local.INFO: TCP Data received {"connection_id":173616,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:22:56] local.INFO: Processing buffer {"connection_id":173616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:22:56] local.INFO: IMEI packet received {"connection_id":173616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":173616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:22:58] local.INFO: TCP Data received {"connection_id":172319,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c799ee8012d7c080005bd4a18000a00fd27..."} 
[2026-09-04 18:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c799ee8012d7c080005bd4a18000a00fd27..."} 
[2026-09-04 18:22:58] local.INFO: Processing buffer {"connection_id":172319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c799ee8012d7c080005bd4a18000a00fd27..."} 
[2026-09-04 18:22:58] local.INFO: Packet analysis {"connection_id":172319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c79"} 
[2026-09-04 18:22:58] local.INFO: Extracted packet for processing {"connection_id":172319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c79"} 
[2026-09-04 18:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291352,"longitude_deg":76.3103232,"latitude_deg":9.6291352,"altitude":10,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a18","is_valid_coordinates":true} 
[2026-09-04 18:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862728704001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788526305000,"timestamp_ms":1788526305000,"timestamp_seconds":1788526305,"priority":1,"record_length":96,"hex_timestamp":"000001a06c799ee8"} 
[2026-09-04 18:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-04 18:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862728704001,"66":13798,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862728704001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:22:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862728704001,"power":13798,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":172319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:22:58] local.INFO: GPS data processed {"connection_id":172319,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:22:58] local.INFO: Acknowledgment sent {"connection_id":172319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:22:58] local.INFO: TCP Data received {"connection_id":173616,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:22:58] local.INFO: Processing buffer {"connection_id":173616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:22:58] local.INFO: IMEI packet received {"connection_id":173616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":173616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:23:04] local.INFO: TCP Data received {"connection_id":173616,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:23:04] local.INFO: Processing buffer {"connection_id":173616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:23:04] local.INFO: IMEI packet received {"connection_id":173616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":173616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:23:04] local.INFO: TCP Data received {"connection_id":173616,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c78fad8012cd07a400742c8500011007e34..."} 
[2026-09-04 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c78fad8012cd07a400742c8500011007e34..."} 
[2026-09-04 18:23:04] local.INFO: Processing buffer {"connection_id":173616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c78fad8012cd07a400742c8500011007e34..."} 
[2026-09-04 18:23:04] local.INFO: Packet analysis {"connection_id":173616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:23:04] local.INFO: Extracted packet for processing {"connection_id":173616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:23:04] local.INFO: GPS Element Parsed {"raw_longitude":751860288,"raw_latitude":121817168,"longitude_deg":75.1860288,"latitude_deg":12.1817168,"altitude":17,"angle":126,"satellites":52,"speed":59,"hex_longitude":"2cd07a40","hex_latitude":"0742c850","is_valid_coordinates":true} 
[2026-09-04 18:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862721792001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398354729190555648,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3432587309799905280,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788526263000,"timestamp_ms":1788526263000,"timestamp_seconds":1788526263,"priority":1,"record_length":96,"hex_timestamp":"000001a06c78fad8"} 
[2026-09-04 18:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 18:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862721792001,"66":27800,"78":206,"83":43264,"24":59,"16":398354729190555648,"44":-3432587309799905280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,44]} 
[2026-09-04 18:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862721792001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:23:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-04 18:23:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398354729190555648,"km_value":398354729190555.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:23:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3432587309799905280,"description":"Unknown IO ID 44"} 
[2026-09-04 18:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862721792001,"power":27800,"unknown_78":206,"unknown_83":43264,"ignition":59,"odometer":null,"unknown_44":-3432587309799905280}} 
[2026-09-04 18:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":173616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:23:04] local.INFO: GPS data processed {"connection_id":173616,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:23:04] local.INFO: Acknowledgment sent {"connection_id":173616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:23:21] local.INFO: TCP Data received {"connection_id":172320,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:23:21] local.INFO: Processing buffer {"connection_id":172320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:23:21] local.INFO: IMEI packet received {"connection_id":172320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":172320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:23:24] local.INFO: TCP Data received {"connection_id":171205,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c787608012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c787608012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:23:24] local.INFO: Processing buffer {"connection_id":171205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c787608012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:23:24] local.INFO: Packet analysis {"connection_id":171205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:23:24] local.INFO: Extracted packet for processing {"connection_id":171205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:23:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862709248001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788526229000,"timestamp_ms":1788526229000,"timestamp_seconds":1788526229,"priority":1,"record_length":96,"hex_timestamp":"000001a06c787608"} 
[2026-09-04 18:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:24] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3187671040,"corrected_to":0} 
[2026-09-04 18:23:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3030384716,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 18:23:24] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:24] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3418226688,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:24] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:24] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,203,160,209,45,64,180,76,44,10,66,127,46,1,240,14,227,108,33,4,113,205,137,34,43,239,49,2,61,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":203,"original":3187671040,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 18:23:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476617033690906624,"timestamp_seconds":5476617033690907.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862709248001,"66":12526,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862709248001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:23:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:23:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862709248001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":171205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:23:24] local.INFO: GPS data processed {"connection_id":171205,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:23:24] local.INFO: Acknowledgment sent {"connection_id":171205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:23:26] local.INFO: TCP Data received {"connection_id":172320,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:23:26] local.INFO: Processing buffer {"connection_id":172320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:23:26] local.INFO: IMEI packet received {"connection_id":172320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":172320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:23:27] local.INFO: TCP Data received {"connection_id":172320,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c79f0f0012d7c080005bd4a18000a00fd28..."} 
[2026-09-04 18:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c79f0f0012d7c080005bd4a18000a00fd28..."} 
[2026-09-04 18:23:27] local.INFO: Processing buffer {"connection_id":172320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c79f0f0012d7c080005bd4a18000a00fd28..."} 
[2026-09-04 18:23:27] local.INFO: Packet analysis {"connection_id":172320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c79"} 
[2026-09-04 18:23:27] local.INFO: Extracted packet for processing {"connection_id":172320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c79"} 
[2026-09-04 18:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291352,"longitude_deg":76.3103232,"latitude_deg":9.6291352,"altitude":10,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a18","is_valid_coordinates":true} 
[2026-09-04 18:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862734080001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526326000,"timestamp_ms":1788526326000,"timestamp_seconds":1788526326,"priority":1,"record_length":96,"hex_timestamp":"000001a06c79f0f0"} 
[2026-09-04 18:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 18:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862734080001,"66":13656,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862734080001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:23:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862734080001,"power":13656,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":172320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:23:27] local.INFO: GPS data processed {"connection_id":172320,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:23:27] local.INFO: Acknowledgment sent {"connection_id":172320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:23:27] local.INFO: TCP Data received {"connection_id":170921,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:23:27] local.INFO: Processing buffer {"connection_id":170921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:23:27] local.INFO: Packet analysis {"connection_id":170921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:23:27] local.INFO: Extracted packet for processing {"connection_id":170921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:23:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862671872001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526363000,"timestamp_ms":1788526363000,"timestamp_seconds":1788526363,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a8178"} 
[2026-09-04 18:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862671872001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862671872001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:23:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:23:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862671872001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":170921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764320,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:23:28] local.INFO: GPS data processed {"connection_id":170921,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:23:28] local.INFO: Acknowledgment sent {"connection_id":170921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:23:35] local.INFO: TCP Data received {"connection_id":173616,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a79a8012cd1d0c007417da00015007934..."} 
[2026-09-04 18:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a79a8012cd1d0c007417da00015007934..."} 
[2026-09-04 18:23:35] local.INFO: Processing buffer {"connection_id":173616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a79a8012cd1d0c007417da00015007934..."} 
[2026-09-04 18:23:35] local.INFO: Packet analysis {"connection_id":173616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:23:35] local.INFO: Extracted packet for processing {"connection_id":173616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:23:35] local.INFO: GPS Element Parsed {"raw_longitude":751947968,"raw_latitude":121732512,"longitude_deg":75.1947968,"latitude_deg":12.1732512,"altitude":21,"angle":121,"satellites":52,"speed":48,"hex_longitude":"2cd1d0c0","hex_latitude":"07417da0","is_valid_coordinates":true} 
[2026-09-04 18:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862746880001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398360613295751168,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3334493280438130688,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788526361000,"timestamp_ms":1788526361000,"timestamp_seconds":1788526361,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a79a8"} 
[2026-09-04 18:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862746880001,"66":27930,"110":206,"83":43264,"24":48,"16":398360613295751168,"44":-3334493280438130688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-04 18:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862746880001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:23:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 18:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398360613295751168,"km_value":398360613295751.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:23:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3334493280438130688,"description":"Unknown IO ID 44"} 
[2026-09-04 18:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862746880001,"power":27930,"unknown_110":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-3334493280438130688}} 
[2026-09-04 18:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":173616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:23:35] local.INFO: GPS data processed {"connection_id":173616,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:23:35] local.INFO: Acknowledgment sent {"connection_id":173616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:23:48] local.INFO: TCP Data received {"connection_id":172321,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:23:48] local.INFO: Processing buffer {"connection_id":172321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:23:48] local.INFO: IMEI packet received {"connection_id":172321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":172321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:23:48] local.INFO: TCP Data received {"connection_id":172322,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:23:48] local.INFO: Processing buffer {"connection_id":172322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:23:48] local.INFO: IMEI packet received {"connection_id":172322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":172322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:23:53] local.INFO: TCP Data received {"connection_id":172321,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:23:53] local.INFO: Processing buffer {"connection_id":172321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:23:53] local.INFO: IMEI packet received {"connection_id":172321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":172321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:23:53] local.INFO: TCP Data received {"connection_id":172321,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c78c810012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c78c810012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:23:53] local.INFO: Processing buffer {"connection_id":172321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c78c810012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:23:53] local.INFO: Packet analysis {"connection_id":172321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:23:53] local.INFO: Extracted packet for processing {"connection_id":172321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c78"} 
[2026-09-04 18:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862714624001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788526250000,"timestamp_ms":1788526250000,"timestamp_seconds":1788526250,"priority":1,"record_length":96,"hex_timestamp":"000001a06c78c810"} 
[2026-09-04 18:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 18:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862714624001,"66":12504,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862714624001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:23:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:23:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862714624001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":172321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:23:54] local.INFO: GPS data processed {"connection_id":172321,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:23:54] local.INFO: Acknowledgment sent {"connection_id":172321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:23:54] local.INFO: TCP Data received {"connection_id":172322,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:23:54] local.INFO: Processing buffer {"connection_id":172322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:23:54] local.INFO: IMEI packet received {"connection_id":172322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":172322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:23:55] local.INFO: TCP Data received {"connection_id":172322,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:23:55] local.INFO: Processing buffer {"connection_id":172322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:23:55] local.INFO: Packet analysis {"connection_id":172322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:23:55] local.INFO: Extracted packet for processing {"connection_id":172322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862671872001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788526363000,"timestamp_ms":1788526363000,"timestamp_seconds":1788526363,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a8178"} 
[2026-09-04 18:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862671872001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862671872001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:23:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862671872001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":172322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764323,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:23:55] local.INFO: GPS data processed {"connection_id":172322,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:23:55] local.INFO: Acknowledgment sent {"connection_id":172322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:23:58] local.INFO: TCP Data received {"connection_id":172320,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a42f8012d7c080005bd4a18000a00fd29..."} 
[2026-09-04 18:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a42f8012d7c080005bd4a18000a00fd29..."} 
[2026-09-04 18:23:58] local.INFO: Processing buffer {"connection_id":172320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a42f8012d7c080005bd4a18000a00fd29..."} 
[2026-09-04 18:23:58] local.INFO: Packet analysis {"connection_id":172320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:23:58] local.INFO: Extracted packet for processing {"connection_id":172320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291352,"longitude_deg":76.3103232,"latitude_deg":9.6291352,"altitude":10,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a18","is_valid_coordinates":true} 
[2026-09-04 18:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862739456001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788526347000,"timestamp_ms":1788526347000,"timestamp_seconds":1788526347,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a42f8"} 
[2026-09-04 18:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-04 18:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862739456001,"66":13678,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862739456001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:23:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:23:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862739456001,"power":13678,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:23:59] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:23:59] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:23:59] local.INFO: IMEI packet received {"connection_id":173617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":173617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":172320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:23:59] local.INFO: GPS data processed {"connection_id":172320,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:23:59] local.INFO: Acknowledgment sent {"connection_id":172320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:24:01] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:24:01] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:24:01] local.INFO: IMEI packet received {"connection_id":173617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":173617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:24:04] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:24:04] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:24:04] local.INFO: IMEI packet received {"connection_id":173617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":173617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:24:04] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a98e8012cd1f30007416b980016007434..."} 
[2026-09-04 18:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a98e8012cd1f30007416b980016007434..."} 
[2026-09-04 18:24:04] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a98e8012cd1f30007416b980016007434..."} 
[2026-09-04 18:24:04] local.INFO: Packet analysis {"connection_id":173617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:24:04] local.INFO: Extracted packet for processing {"connection_id":173617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:24:04] local.INFO: GPS Element Parsed {"raw_longitude":751956736,"raw_latitude":121727896,"longitude_deg":75.1956736,"latitude_deg":12.1727896,"altitude":22,"angle":116,"satellites":52,"speed":49,"hex_longitude":"2cd1f300","hex_latitude":"07416b98","is_valid_coordinates":true} 
[2026-09-04 18:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862748416001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398361085742153728,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3327948987230740480,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788526369000,"timestamp_ms":1788526369000,"timestamp_seconds":1788526369,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a98e8"} 
[2026-09-04 18:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862748416001,"66":27919,"110":206,"83":43264,"24":49,"16":398361085742153728,"44":-3327948987230740480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-04 18:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862748416001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:24:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 18:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398361085742153728,"km_value":398361085742153.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:24:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3327948987230740480,"description":"Unknown IO ID 44"} 
[2026-09-04 18:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862748416001,"power":27919,"unknown_110":206,"unknown_83":43264,"ignition":49,"odometer":null,"unknown_44":-3327948987230740480}} 
[2026-09-04 18:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":173617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:24:04] local.INFO: GPS data processed {"connection_id":173617,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:24:04] local.INFO: Acknowledgment sent {"connection_id":173617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:24:08] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7ab440012cd212c007415bd80014007334..."} 
[2026-09-04 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7ab440012cd212c007415bd80014007334..."} 
[2026-09-04 18:24:08] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7ab440012cd212c007415bd80014007334..."} 
[2026-09-04 18:24:08] local.INFO: Packet analysis {"connection_id":173617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:24:08] local.INFO: Extracted packet for processing {"connection_id":173617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:24:08] local.INFO: GPS Element Parsed {"raw_longitude":751964864,"raw_latitude":121723864,"longitude_deg":75.1964864,"latitude_deg":12.1723864,"altitude":20,"angle":115,"satellites":52,"speed":52,"hex_longitude":"2cd212c0","hex_latitude":"07415bd8","is_valid_coordinates":true} 
[2026-09-04 18:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862750464001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398361519533850624,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3318308469279582208,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788526376000,"timestamp_ms":1788526376000,"timestamp_seconds":1788526376,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7ab440"} 
[2026-09-04 18:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 18:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862750464001,"66":27767,"110":206,"83":43264,"24":52,"16":398361519533850624,"44":-3318308469279582208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-04 18:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862750464001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:24:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 18:24:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398361519533850624,"km_value":398361519533850.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:24:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3318308469279582208,"description":"Unknown IO ID 44"} 
[2026-09-04 18:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862750464001,"power":27767,"unknown_110":206,"unknown_83":43264,"ignition":52,"odometer":null,"unknown_44":-3318308469279582208}} 
[2026-09-04 18:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":173617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:24:08] local.INFO: GPS data processed {"connection_id":173617,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:24:08] local.INFO: Acknowledgment sent {"connection_id":173617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:24:21] local.INFO: TCP Data received {"connection_id":171206,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:24:21] local.INFO: Processing buffer {"connection_id":171206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:24:21] local.INFO: IMEI packet received {"connection_id":171206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":171206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:24:25] local.INFO: TCP Data received {"connection_id":172321,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c791a18012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c791a18012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:24:25] local.INFO: Processing buffer {"connection_id":172321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c791a18012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:24:25] local.INFO: Packet analysis {"connection_id":172321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c79"} 
[2026-09-04 18:24:25] local.INFO: Extracted packet for processing {"connection_id":172321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c79"} 
[2026-09-04 18:24:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862720000001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788526271000,"timestamp_ms":1788526271000,"timestamp_seconds":1788526271,"priority":1,"record_length":96,"hex_timestamp":"000001a06c791a18"} 
[2026-09-04 18:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 18:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862720000001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862720000001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:24:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:24:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862720000001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":172321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:24:25] local.INFO: GPS data processed {"connection_id":172321,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:24:25] local.INFO: Acknowledgment sent {"connection_id":172321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:24:26] local.INFO: TCP Data received {"connection_id":171206,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:24:26] local.INFO: Processing buffer {"connection_id":171206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:24:26] local.INFO: IMEI packet received {"connection_id":171206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":171206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:24:27] local.INFO: TCP Data received {"connection_id":172322,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:24:27] local.INFO: Processing buffer {"connection_id":172322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:24:27] local.INFO: Packet analysis {"connection_id":172322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:24:27] local.INFO: Extracted packet for processing {"connection_id":172322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:24:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862671872001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526363000,"timestamp_ms":1788526363000,"timestamp_seconds":1788526363,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a8178"} 
[2026-09-04 18:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862671872001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862671872001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:24:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:24:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862671872001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":172322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764328,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:24:27] local.INFO: GPS data processed {"connection_id":172322,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:24:27] local.INFO: Acknowledgment sent {"connection_id":172322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:24:27] local.INFO: TCP Data received {"connection_id":171206,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a9500012d7c080005bd4a18000a00fd29..."} 
[2026-09-04 18:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a9500012d7c080005bd4a18000a00fd29..."} 
[2026-09-04 18:24:27] local.INFO: Processing buffer {"connection_id":171206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a9500012d7c080005bd4a18000a00fd29..."} 
[2026-09-04 18:24:27] local.INFO: Packet analysis {"connection_id":171206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:24:27] local.INFO: Extracted packet for processing {"connection_id":171206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291352,"longitude_deg":76.3103232,"latitude_deg":9.6291352,"altitude":10,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a18","is_valid_coordinates":true} 
[2026-09-04 18:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862744832001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526368000,"timestamp_ms":1788526368000,"timestamp_seconds":1788526368,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a9500"} 
[2026-09-04 18:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 18:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862744832001,"66":13678,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862744832001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:24:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862744832001,"power":13678,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":171206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:24:27] local.INFO: GPS data processed {"connection_id":171206,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:24:27] local.INFO: Acknowledgment sent {"connection_id":171206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:24:40] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7acf98012cd233c007414ba80013007334..."} 
[2026-09-04 18:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7acf98012cd233c007414ba80013007334..."} 
[2026-09-04 18:24:40] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7acf98012cd233c007414ba80013007334..."} 
[2026-09-04 18:24:40] local.INFO: Packet analysis {"connection_id":173617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:24:40] local.INFO: Extracted packet for processing {"connection_id":173617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:24:40] local.INFO: GPS Element Parsed {"raw_longitude":751973312,"raw_latitude":121719720,"longitude_deg":75.1973312,"latitude_deg":12.171972,"altitude":19,"angle":115,"satellites":52,"speed":52,"hex_longitude":"2cd233c0","hex_latitude":"07414ba8","is_valid_coordinates":true} 
[2026-09-04 18:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862752256001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398361966210449408,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3309371638770051072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788526383000,"timestamp_ms":1788526383000,"timestamp_seconds":1788526383,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7acf98"} 
[2026-09-04 18:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862752256001,"66":27930,"245":206,"83":43264,"24":52,"16":398361966210449408,"44":-3309371638770051072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 18:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862752256001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:24:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398361966210449408,"km_value":398361966210449.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:24:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3309371638770051072,"description":"Unknown IO ID 44"} 
[2026-09-04 18:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862752256001,"power":27930,"geofence_id":206,"unknown_83":43264,"ignition":52,"odometer":null,"unknown_44":-3309371638770051072}} 
[2026-09-04 18:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":173617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:24:40] local.INFO: GPS data processed {"connection_id":173617,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:24:40] local.INFO: Acknowledgment sent {"connection_id":173617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:24:48] local.INFO: TCP Data received {"connection_id":171207,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:24:48] local.INFO: Processing buffer {"connection_id":171207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:24:48] local.INFO: IMEI packet received {"connection_id":171207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":171207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:24:48] local.INFO: TCP Data received {"connection_id":170922,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:24:48] local.INFO: Processing buffer {"connection_id":170922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:24:48] local.INFO: IMEI packet received {"connection_id":170922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":170922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:24:53] local.INFO: TCP Data received {"connection_id":171207,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:24:53] local.INFO: Processing buffer {"connection_id":171207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:24:53] local.INFO: IMEI packet received {"connection_id":171207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":171207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:24:54] local.INFO: TCP Data received {"connection_id":171207,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c796c20012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c796c20012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:24:54] local.INFO: Processing buffer {"connection_id":171207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c796c20012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:24:54] local.INFO: Packet analysis {"connection_id":171207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c79"} 
[2026-09-04 18:24:54] local.INFO: Extracted packet for processing {"connection_id":171207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c79"} 
[2026-09-04 18:24:54] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862725376001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788526292000,"timestamp_ms":1788526292000,"timestamp_seconds":1788526292,"priority":1,"record_length":96,"hex_timestamp":"000001a06c796c20"} 
[2026-09-04 18:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862725376001,"66":12526,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862725376001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:24:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:24:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862725376001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:24:54] local.INFO: TCP Data received {"connection_id":170922,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:24:54] local.INFO: Processing buffer {"connection_id":170922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:24:54] local.INFO: IMEI packet received {"connection_id":170922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":170922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":171207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:24:54] local.INFO: GPS data processed {"connection_id":171207,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:24:54] local.INFO: Acknowledgment sent {"connection_id":171207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:24:55] local.INFO: TCP Data received {"connection_id":170922,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:24:55] local.INFO: Processing buffer {"connection_id":170922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:24:55] local.INFO: Packet analysis {"connection_id":170922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:24:55] local.INFO: Extracted packet for processing {"connection_id":170922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:24:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862671872001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788526363000,"timestamp_ms":1788526363000,"timestamp_seconds":1788526363,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a8178"} 
[2026-09-04 18:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862671872001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862671872001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:24:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:24:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862671872001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":170922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764332,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:24:55] local.INFO: GPS data processed {"connection_id":170922,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:24:55] local.INFO: Acknowledgment sent {"connection_id":170922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:24:59] local.INFO: TCP Data received {"connection_id":173618,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:24:59] local.INFO: Processing buffer {"connection_id":173618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:24:59] local.INFO: IMEI packet received {"connection_id":173618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":173618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:24:59] local.INFO: TCP Data received {"connection_id":171206,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7ae708012d7c080005bd4a18000a00fd29..."} 
[2026-09-04 18:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7ae708012d7c080005bd4a18000a00fd29..."} 
[2026-09-04 18:24:59] local.INFO: Processing buffer {"connection_id":171206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7ae708012d7c080005bd4a18000a00fd29..."} 
[2026-09-04 18:24:59] local.INFO: Packet analysis {"connection_id":171206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:24:59] local.INFO: Extracted packet for processing {"connection_id":171206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291352,"longitude_deg":76.3103232,"latitude_deg":9.6291352,"altitude":10,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a18","is_valid_coordinates":true} 
[2026-09-04 18:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862750208001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788526389000,"timestamp_ms":1788526389000,"timestamp_seconds":1788526389,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7ae708"} 
[2026-09-04 18:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 18:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862750208001,"66":13798,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862750208001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:24:59] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862750208001,"power":13798,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":171206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:24:59] local.INFO: GPS data processed {"connection_id":171206,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:24:59] local.INFO: Acknowledgment sent {"connection_id":171206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:25:04] local.INFO: TCP Data received {"connection_id":173618,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:25:04] local.INFO: Processing buffer {"connection_id":173618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:25:04] local.INFO: IMEI packet received {"connection_id":173618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":173618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:25:04] local.INFO: TCP Data received {"connection_id":173618,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7aeed8012cd25540074139e80012007932..."} 
[2026-09-04 18:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7aeed8012cd25540074139e80012007932..."} 
[2026-09-04 18:25:04] local.INFO: Processing buffer {"connection_id":173618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7aeed8012cd25540074139e80012007932..."} 
[2026-09-04 18:25:04] local.INFO: Packet analysis {"connection_id":173618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:25:04] local.INFO: Extracted packet for processing {"connection_id":173618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:25:04] local.INFO: GPS Element Parsed {"raw_longitude":751981888,"raw_latitude":121715176,"longitude_deg":75.1981888,"latitude_deg":12.1715176,"altitude":18,"angle":121,"satellites":50,"speed":49,"hex_longitude":"2cd25540","hex_latitude":"074139e8","is_valid_coordinates":true} 
[2026-09-04 18:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862754048001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398362430066917376,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3300082964539660288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788526391000,"timestamp_ms":1788526391000,"timestamp_seconds":1788526391,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7aeed8"} 
[2026-09-04 18:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862754048001,"66":27919,"245":206,"83":43264,"24":49,"16":398362430066917376,"44":-3300082964539660288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 18:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862754048001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:25:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398362430066917376,"km_value":398362430066917.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:25:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3300082964539660288,"description":"Unknown IO ID 44"} 
[2026-09-04 18:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862754048001,"power":27919,"geofence_id":206,"unknown_83":43264,"ignition":49,"odometer":null,"unknown_44":-3300082964539660288}} 
[2026-09-04 18:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":173618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:25:04] local.INFO: GPS data processed {"connection_id":173618,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:25:04] local.INFO: Acknowledgment sent {"connection_id":173618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:25:25] local.INFO: TCP Data received {"connection_id":171207,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c79be28012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c79be28012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:25:25] local.INFO: Processing buffer {"connection_id":171207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c79be28012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:25:25] local.INFO: Packet analysis {"connection_id":171207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c79"} 
[2026-09-04 18:25:25] local.INFO: Extracted packet for processing {"connection_id":171207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c79"} 
[2026-09-04 18:25:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862730752001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788526313000,"timestamp_ms":1788526313000,"timestamp_seconds":1788526313,"priority":1,"record_length":96,"hex_timestamp":"000001a06c79be28"} 
[2026-09-04 18:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 18:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862730752001,"66":12504,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862730752001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:25:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:25:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862730752001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":171207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:25:25] local.INFO: GPS data processed {"connection_id":171207,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:25:25] local.INFO: Acknowledgment sent {"connection_id":171207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:25:26] local.INFO: TCP Data received {"connection_id":170923,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:25:26] local.INFO: Processing buffer {"connection_id":170923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:25:26] local.INFO: IMEI packet received {"connection_id":170923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":170923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:25:27] local.INFO: TCP Data received {"connection_id":170922,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:25:27] local.INFO: Processing buffer {"connection_id":170922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:25:27] local.INFO: Packet analysis {"connection_id":170922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:25:27] local.INFO: Extracted packet for processing {"connection_id":170922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:25:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862671872001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526363000,"timestamp_ms":1788526363000,"timestamp_seconds":1788526363,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a8178"} 
[2026-09-04 18:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862671872001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862671872001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:25:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862671872001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":170922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764336,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:25:27] local.INFO: GPS data processed {"connection_id":170922,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:25:27] local.INFO: Acknowledgment sent {"connection_id":170922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:25:31] local.INFO: TCP Data received {"connection_id":170923,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:25:31] local.INFO: Processing buffer {"connection_id":170923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:25:31] local.INFO: IMEI packet received {"connection_id":170923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":170923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:25:33] local.INFO: TCP Data received {"connection_id":170923,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7b3910012d7c080005bd4a18000a00fd28..."} 
[2026-09-04 18:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7b3910012d7c080005bd4a18000a00fd28..."} 
[2026-09-04 18:25:33] local.INFO: Processing buffer {"connection_id":170923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7b3910012d7c080005bd4a18000a00fd28..."} 
[2026-09-04 18:25:33] local.INFO: Packet analysis {"connection_id":170923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:25:33] local.INFO: Extracted packet for processing {"connection_id":170923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291352,"longitude_deg":76.3103232,"latitude_deg":9.6291352,"altitude":10,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a18","is_valid_coordinates":true} 
[2026-09-04 18:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862755584001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788526410000,"timestamp_ms":1788526410000,"timestamp_seconds":1788526410,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7b3910"} 
[2026-09-04 18:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-04 18:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":170923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":170923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":170923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862755584001,"66":13678,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862755584001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:25:33] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862755584001,"power":13678,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":170923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:25:34] local.INFO: GPS data processed {"connection_id":170923,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:25:34] local.INFO: Acknowledgment sent {"connection_id":170923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:25:35] local.INFO: TCP Data received {"connection_id":173618,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7b0260012cd2694007412b480011008533..."} 
[2026-09-04 18:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7b0260012cd2694007412b480011008533..."} 
[2026-09-04 18:25:35] local.INFO: Processing buffer {"connection_id":173618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7b0260012cd2694007412b480011008533..."} 
[2026-09-04 18:25:35] local.INFO: Packet analysis {"connection_id":173618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:25:35] local.INFO: Extracted packet for processing {"connection_id":173618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:25:35] local.INFO: GPS Element Parsed {"raw_longitude":751987008,"raw_latitude":121711432,"longitude_deg":75.1987008,"latitude_deg":12.1711432,"altitude":17,"angle":133,"satellites":51,"speed":51,"hex_longitude":"2cd26940","hex_latitude":"07412b48","is_valid_coordinates":true} 
[2026-09-04 18:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862756096001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398362730714628096,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3290653552821016576,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788526396000,"timestamp_ms":1788526396000,"timestamp_seconds":1788526396,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7b0260"} 
[2026-09-04 18:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 18:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862756096001,"66":27843,"245":206,"83":43264,"24":51,"16":398362730714628096,"44":-3290653552821016576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 18:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862756096001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398362730714628096,"km_value":398362730714628.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:25:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3290653552821016576,"description":"Unknown IO ID 44"} 
[2026-09-04 18:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862756096001,"power":27843,"geofence_id":206,"unknown_83":43264,"ignition":51,"odometer":null,"unknown_44":-3290653552821016576}} 
[2026-09-04 18:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":173618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:25:35] local.INFO: GPS data processed {"connection_id":173618,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:25:35] local.INFO: Acknowledgment sent {"connection_id":173618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:25:36] local.INFO: TCP Data received {"connection_id":170923,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7b3cf8012d7c080005bd4a18000a00fd28..."} 
[2026-09-04 18:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7b3cf8012d7c080005bd4a18000a00fd28..."} 
[2026-09-04 18:25:36] local.INFO: Processing buffer {"connection_id":170923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7b3cf8012d7c080005bd4a18000a00fd28..."} 
[2026-09-04 18:25:36] local.INFO: Packet analysis {"connection_id":170923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:25:36] local.INFO: Extracted packet for processing {"connection_id":170923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291352,"longitude_deg":76.3103232,"latitude_deg":9.6291352,"altitude":10,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a18","is_valid_coordinates":true} 
[2026-09-04 18:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862760960001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788526411000,"timestamp_ms":1788526411000,"timestamp_seconds":1788526411,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7b3cf8"} 
[2026-09-04 18:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 18:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862760960001,"66":13830,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862760960001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:25:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862760960001,"power":13830,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":170923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:25:36] local.INFO: GPS data processed {"connection_id":170923,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:25:36] local.INFO: Acknowledgment sent {"connection_id":170923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:25:47] local.INFO: TCP Data received {"connection_id":170924,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:25:47] local.INFO: Processing buffer {"connection_id":170924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:25:47] local.INFO: IMEI packet received {"connection_id":170924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":170924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:25:48] local.INFO: TCP Data received {"connection_id":171208,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:25:48] local.INFO: Processing buffer {"connection_id":171208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:25:48] local.INFO: IMEI packet received {"connection_id":171208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":171208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:25:53] local.INFO: TCP Data received {"connection_id":170924,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:25:53] local.INFO: Processing buffer {"connection_id":170924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:25:53] local.INFO: IMEI packet received {"connection_id":170924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":170924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:25:53] local.INFO: TCP Data received {"connection_id":170924,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a1030012d1822400721b4a0004c00da2b..."} 
[2026-09-04 18:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a1030012d1822400721b4a0004c00da2b..."} 
[2026-09-04 18:25:53] local.INFO: Processing buffer {"connection_id":170924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a1030012d1822400721b4a0004c00da2b..."} 
[2026-09-04 18:25:53] local.INFO: Packet analysis {"connection_id":170924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:25:53] local.INFO: Extracted packet for processing {"connection_id":170924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862736128001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788526334000,"timestamp_ms":1788526334000,"timestamp_seconds":1788526334,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a1030"} 
[2026-09-04 18:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 18:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862736128001,"66":12526,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862736128001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:25:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:25:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862736128001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":170924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:25:54] local.INFO: GPS data processed {"connection_id":170924,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:25:54] local.INFO: Acknowledgment sent {"connection_id":170924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:25:54] local.INFO: TCP Data received {"connection_id":171208,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:25:54] local.INFO: Processing buffer {"connection_id":171208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:25:54] local.INFO: IMEI packet received {"connection_id":171208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":171208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:25:56] local.INFO: TCP Data received {"connection_id":171208,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:25:56] local.INFO: Processing buffer {"connection_id":171208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:25:56] local.INFO: Packet analysis {"connection_id":171208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:25:56] local.INFO: Extracted packet for processing {"connection_id":171208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:25:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862671872001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788526363000,"timestamp_ms":1788526363000,"timestamp_seconds":1788526363,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a8178"} 
[2026-09-04 18:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862671872001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862671872001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:25:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:25:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862671872001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":171208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764341,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:25:56] local.INFO: GPS data processed {"connection_id":171208,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:25:56] local.INFO: Acknowledgment sent {"connection_id":171208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:25:58] local.INFO: TCP Data received {"connection_id":172323,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:25:58] local.INFO: Processing buffer {"connection_id":172323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:25:58] local.INFO: IMEI packet received {"connection_id":172323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":172323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:26:04] local.INFO: TCP Data received {"connection_id":172323,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:26:04] local.INFO: Processing buffer {"connection_id":172323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:26:04] local.INFO: IMEI packet received {"connection_id":172323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":172323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:26:04] local.INFO: TCP Data received {"connection_id":172323,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7b1db8012cd2810007411070000f008d34..."} 
[2026-09-04 18:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7b1db8012cd2810007411070000f008d34..."} 
[2026-09-04 18:26:04] local.INFO: Processing buffer {"connection_id":172323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7b1db8012cd2810007411070000f008d34..."} 
[2026-09-04 18:26:04] local.INFO: Packet analysis {"connection_id":172323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:26:04] local.INFO: Extracted packet for processing {"connection_id":172323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:26:04] local.INFO: GPS Element Parsed {"raw_longitude":751993088,"raw_latitude":121704560,"longitude_deg":75.1993088,"latitude_deg":12.170456,"altitude":15,"angle":141,"satellites":52,"speed":51,"hex_longitude":"2cd28100","hex_latitude":"07411070","is_valid_coordinates":true} 
[2026-09-04 18:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862757376001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398363173096259584,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3285024053287761920,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788526403000,"timestamp_ms":1788526403000,"timestamp_seconds":1788526403,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7b1db8"} 
[2026-09-04 18:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 18:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862757376001,"66":27930,"245":206,"83":43264,"24":51,"16":398363173096259584,"44":-3285024053287761920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 18:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862757376001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:26:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398363173096259584,"km_value":398363173096259.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:26:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3285024053287761920,"description":"Unknown IO ID 44"} 
[2026-09-04 18:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862757376001,"power":27930,"geofence_id":206,"unknown_83":43264,"ignition":51,"odometer":null,"unknown_44":-3285024053287761920}} 
[2026-09-04 18:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":172323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:26:04] local.INFO: GPS data processed {"connection_id":172323,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:26:04] local.INFO: Acknowledgment sent {"connection_id":172323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:26:21] local.INFO: TCP Data received {"connection_id":170925,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:26:21] local.INFO: Processing buffer {"connection_id":170925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:26:21] local.INFO: IMEI packet received {"connection_id":170925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":170925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:26:25] local.INFO: TCP Data received {"connection_id":170924,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a6238012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a6238012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:26:25] local.INFO: Processing buffer {"connection_id":170924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a6238012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:26:25] local.INFO: Packet analysis {"connection_id":170924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:26:25] local.INFO: Extracted packet for processing {"connection_id":170924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:26:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862741504001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788526355000,"timestamp_ms":1788526355000,"timestamp_seconds":1788526355,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a6238"} 
[2026-09-04 18:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 18:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862741504001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862741504001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:26:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:26:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862741504001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":170924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:26:25] local.INFO: GPS data processed {"connection_id":170924,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:26:25] local.INFO: Acknowledgment sent {"connection_id":170924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:26:26] local.INFO: TCP Data received {"connection_id":170925,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:26:26] local.INFO: Processing buffer {"connection_id":170925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:26:26] local.INFO: IMEI packet received {"connection_id":170925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":170925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:26:27] local.INFO: TCP Data received {"connection_id":170925,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7b3cf8012d7c080005bd4a18000a00fd28..."} 
[2026-09-04 18:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7b3cf8012d7c080005bd4a18000a00fd28..."} 
[2026-09-04 18:26:27] local.INFO: Processing buffer {"connection_id":170925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7b3cf8012d7c080005bd4a18000a00fd28..."} 
[2026-09-04 18:26:27] local.INFO: Packet analysis {"connection_id":170925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:26:27] local.INFO: Extracted packet for processing {"connection_id":170925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291352,"longitude_deg":76.3103232,"latitude_deg":9.6291352,"altitude":10,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a18","is_valid_coordinates":true} 
[2026-09-04 18:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862761216001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526411000,"timestamp_ms":1788526411000,"timestamp_seconds":1788526411,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7b3cf8"} 
[2026-09-04 18:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-04 18:26:27] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627268988928,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:27] local.WARNING: Large IO value detected {"io_id":171,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:27] local.WARNING: Large IO value detected {"io_id":74,"raw_value":1729393256273674240,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-09-04 18:26:27] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2878341120,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3175749632,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:27] local.WARNING: Large IO value detected {"io_id":76,"raw_value":-2305511523503569475,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:27] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,197,85,24,241,157,16,171,160,57,45,74,10,40,66,231,41,149,1,240,110,227,108,189,4,113,205,8,239,53,2,199,5,76],"length":528,"final_offset":658,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-09-04 18:26:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720854288619798767,"timestamp_seconds":720854288619798.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862761216001,"66":13830,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862761216001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:26:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862761216001,"power":13830,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":170925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:26:27] local.INFO: GPS data processed {"connection_id":170925,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:26:27] local.INFO: Acknowledgment sent {"connection_id":170925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:26:27] local.INFO: TCP Data received {"connection_id":171208,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:26:27] local.INFO: Processing buffer {"connection_id":171208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:26:27] local.INFO: Packet analysis {"connection_id":171208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:26:27] local.INFO: Extracted packet for processing {"connection_id":171208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:26:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862671872001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526363000,"timestamp_ms":1788526363000,"timestamp_seconds":1788526363,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a8178"} 
[2026-09-04 18:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862671872001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862671872001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:26:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:26:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862671872001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":171208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:26:27] local.INFO: GPS data processed {"connection_id":171208,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:26:27] local.INFO: Acknowledgment sent {"connection_id":171208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:26:36] local.INFO: TCP Data received {"connection_id":172323,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7d2928012cd38bc0073fc6f80008009334..."} 
[2026-09-04 18:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7d2928012cd38bc0073fc6f80008009334..."} 
[2026-09-04 18:26:36] local.INFO: Processing buffer {"connection_id":172323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7d2928012cd38bc0073fc6f80008009334..."} 
[2026-09-04 18:26:36] local.INFO: Packet analysis {"connection_id":172323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7d"} 
[2026-09-04 18:26:36] local.INFO: Extracted packet for processing {"connection_id":172323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7d"} 
[2026-09-04 18:26:36] local.INFO: GPS Element Parsed {"raw_longitude":752061376,"raw_latitude":121620216,"longitude_deg":75.2061376,"latitude_deg":12.1620216,"altitude":8,"angle":147,"satellites":52,"speed":47,"hex_longitude":"2cd38bc0","hex_latitude":"073fc6f8","is_valid_coordinates":true} 
[2026-09-04 18:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862791424001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398368395776491520,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3209377653318246400,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788526537000,"timestamp_ms":1788526537000,"timestamp_seconds":1788526537,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7d2928"} 
[2026-09-04 18:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 18:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862791424001,"66":27767,"119":206,"83":43264,"24":47,"16":398368395776491520,"44":-3209377653318246400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,44]} 
[2026-09-04 18:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862791424001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:26:36] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 18:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398368395776491520,"km_value":398368395776491.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:26:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3209377653318246400,"description":"Unknown IO ID 44"} 
[2026-09-04 18:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862791424001,"power":27767,"unknown_119":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-3209377653318246400}} 
[2026-09-04 18:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":172323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:26:36] local.INFO: GPS data processed {"connection_id":172323,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:26:36] local.INFO: Acknowledgment sent {"connection_id":172323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:26:47] local.INFO: TCP Data received {"connection_id":173619,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:26:47] local.INFO: Processing buffer {"connection_id":173619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:26:47] local.INFO: IMEI packet received {"connection_id":173619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":173619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:26:53] local.INFO: TCP Data received {"connection_id":173619,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:26:53] local.INFO: Processing buffer {"connection_id":173619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:26:53] local.INFO: IMEI packet received {"connection_id":173619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":173619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:26:53] local.INFO: TCP Data received {"connection_id":173619,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7ab058012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7ab058012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:26:53] local.INFO: Processing buffer {"connection_id":173619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7ab058012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:26:53] local.INFO: Packet analysis {"connection_id":173619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:26:53] local.INFO: Extracted packet for processing {"connection_id":173619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:26:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862746880001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788526375000,"timestamp_ms":1788526375000,"timestamp_seconds":1788526375,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7ab058"} 
[2026-09-04 18:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862746880001,"66":12504,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862746880001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:26:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:26:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862746880001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":173619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:26:54] local.INFO: GPS data processed {"connection_id":173619,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:26:54] local.INFO: Acknowledgment sent {"connection_id":173619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:26:54] local.INFO: TCP Data received {"connection_id":173620,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:26:54] local.INFO: Processing buffer {"connection_id":173620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:26:54] local.INFO: IMEI packet received {"connection_id":173620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":173620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:26:58] local.INFO: TCP Data received {"connection_id":170925,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7b5c38012d7c080005bd4a18000a00fd2a..."} 
[2026-09-04 18:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7b5c38012d7c080005bd4a18000a00fd2a..."} 
[2026-09-04 18:26:58] local.INFO: Processing buffer {"connection_id":170925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7b5c38012d7c080005bd4a18000a00fd2a..."} 
[2026-09-04 18:26:58] local.INFO: Packet analysis {"connection_id":170925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:26:58] local.INFO: Extracted packet for processing {"connection_id":170925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291352,"longitude_deg":76.3103232,"latitude_deg":9.6291352,"altitude":10,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a18","is_valid_coordinates":true} 
[2026-09-04 18:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862761216001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788526419000,"timestamp_ms":1788526419000,"timestamp_seconds":1788526419,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7b5c38"} 
[2026-09-04 18:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-04 18:26:58] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627268988928,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:58] local.WARNING: Large IO value detected {"io_id":171,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:58] local.WARNING: Large IO value detected {"io_id":74,"raw_value":1729393256273739776,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":4160826748,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-09-04 18:26:58] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2878341120,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3175749632,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-1729050771200145987,"note":"Value kept but may cause issues"} 
[2026-09-04 18:26:58] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,197,85,24,241,157,16,171,160,60,45,74,10,40,66,57,231,1,240,230,227,108,189,4,113,205,8,41,239,53,2,199,5,158],"length":528,"final_offset":658,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-09-04 18:26:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720854288619798768,"timestamp_seconds":720854288619798.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862761216001,"66":13602,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862761216001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:26:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:26:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862761216001,"power":13602,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":170925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:26:58] local.INFO: GPS data processed {"connection_id":170925,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:26:58] local.INFO: Acknowledgment sent {"connection_id":170925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:26:59] local.INFO: TCP Data received {"connection_id":173620,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:26:59] local.INFO: Processing buffer {"connection_id":173620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:26:59] local.INFO: IMEI packet received {"connection_id":173620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":173620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:27:00] local.INFO: TCP Data received {"connection_id":173620,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:27:00] local.INFO: Processing buffer {"connection_id":173620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:27:00] local.INFO: Packet analysis {"connection_id":173620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:27:00] local.INFO: Extracted packet for processing {"connection_id":173620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:27:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862671872001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788526363000,"timestamp_ms":1788526363000,"timestamp_seconds":1788526363,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a8178"} 
[2026-09-04 18:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862671872001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862671872001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:27:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:27:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862671872001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":173620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764349,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:27:00] local.INFO: GPS data processed {"connection_id":173620,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:27:00] local.INFO: Acknowledgment sent {"connection_id":173620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:27:02] local.INFO: TCP Data received {"connection_id":171209,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:27:02] local.INFO: Processing buffer {"connection_id":171209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:27:02] local.INFO: IMEI packet received {"connection_id":171209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":171209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:27:03] local.INFO: TCP Data received {"connection_id":171209,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:27:03] local.INFO: Processing buffer {"connection_id":171209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:27:03] local.INFO: IMEI packet received {"connection_id":171209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":171209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:27:04] local.INFO: TCP Data received {"connection_id":173620,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:27:04] local.INFO: Processing buffer {"connection_id":173620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:27:04] local.INFO: Packet analysis {"connection_id":173620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:27:04] local.INFO: Extracted packet for processing {"connection_id":173620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862671872001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788526363000,"timestamp_ms":1788526363000,"timestamp_seconds":1788526363,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a8178"} 
[2026-09-04 18:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862671872001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862671872001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:27:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:27:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862671872001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":173620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:27:04] local.INFO: GPS data processed {"connection_id":173620,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:27:04] local.INFO: Acknowledgment sent {"connection_id":173620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:27:09] local.INFO: TCP Data received {"connection_id":171209,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:27:09] local.INFO: Processing buffer {"connection_id":171209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:27:09] local.INFO: IMEI packet received {"connection_id":171209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":171209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:27:09] local.INFO: TCP Data received {"connection_id":171209,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7d4868012cd39f40073fa5e0000a009534..."} 
[2026-09-04 18:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7d4868012cd39f40073fa5e0000a009534..."} 
[2026-09-04 18:27:09] local.INFO: Processing buffer {"connection_id":171209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7d4868012cd39f40073fa5e0000a009534..."} 
[2026-09-04 18:27:09] local.INFO: Packet analysis {"connection_id":171209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7d"} 
[2026-09-04 18:27:09] local.INFO: Extracted packet for processing {"connection_id":171209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7d"} 
[2026-09-04 18:27:09] local.INFO: GPS Element Parsed {"raw_longitude":752066368,"raw_latitude":121611744,"longitude_deg":75.2066368,"latitude_deg":12.1611744,"altitude":10,"angle":149,"satellites":52,"speed":48,"hex_longitude":"2cd39f40","hex_latitude":"073fa5e0","is_valid_coordinates":true} 
[2026-09-04 18:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862793472001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398368868222894080,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3203255572576667648,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788526545000,"timestamp_ms":1788526545000,"timestamp_seconds":1788526545,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7d4868"} 
[2026-09-04 18:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862793472001,"66":27843,"119":206,"83":43264,"24":48,"16":398368868222894080,"44":-3203255572576667648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,44]} 
[2026-09-04 18:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862793472001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:27:09] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 18:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398368868222894080,"km_value":398368868222894.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:27:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3203255572576667648,"description":"Unknown IO ID 44"} 
[2026-09-04 18:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862793472001,"power":27843,"unknown_119":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-3203255572576667648}} 
[2026-09-04 18:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":171209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:27:09] local.INFO: GPS data processed {"connection_id":171209,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:27:09] local.INFO: Acknowledgment sent {"connection_id":171209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:27:21] local.INFO: TCP Data received {"connection_id":170926,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:27:21] local.INFO: Processing buffer {"connection_id":170926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:27:21] local.INFO: IMEI packet received {"connection_id":170926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":170926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:27:25] local.INFO: TCP Data received {"connection_id":173619,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7b0648012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7b0648012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:27:25] local.INFO: Processing buffer {"connection_id":173619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7b0648012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:27:25] local.INFO: Packet analysis {"connection_id":173619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:27:25] local.INFO: Extracted packet for processing {"connection_id":173619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:27:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862752000001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788526397000,"timestamp_ms":1788526397000,"timestamp_seconds":1788526397,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7b0648"} 
[2026-09-04 18:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 18:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862752000001,"66":12504,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862752000001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:27:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:27:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862752000001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":173619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:27:25] local.INFO: GPS data processed {"connection_id":173619,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:27:25] local.INFO: Acknowledgment sent {"connection_id":173619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:27:26] local.INFO: TCP Data received {"connection_id":170926,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:27:26] local.INFO: Processing buffer {"connection_id":170926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:27:26] local.INFO: IMEI packet received {"connection_id":170926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":170926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:27:27] local.INFO: TCP Data received {"connection_id":170926,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7b5c38012d7c080005bd4a18000a00fd2a..."} 
[2026-09-04 18:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7b5c38012d7c080005bd4a18000a00fd2a..."} 
[2026-09-04 18:27:27] local.INFO: Processing buffer {"connection_id":170926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7b5c38012d7c080005bd4a18000a00fd2a..."} 
[2026-09-04 18:27:27] local.INFO: Packet analysis {"connection_id":170926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:27:27] local.INFO: Extracted packet for processing {"connection_id":170926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291352,"longitude_deg":76.3103232,"latitude_deg":9.6291352,"altitude":10,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a18","is_valid_coordinates":true} 
[2026-09-04 18:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862763264001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526419000,"timestamp_ms":1788526419000,"timestamp_seconds":1788526419,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7b5c38"} 
[2026-09-04 18:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-04 18:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862763264001,"66":13602,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862763264001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:27:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862763264001,"power":13602,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":170926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:27:27] local.INFO: GPS data processed {"connection_id":170926,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:27:27] local.INFO: Acknowledgment sent {"connection_id":170926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:27:41] local.INFO: TCP Data received {"connection_id":171209,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7d63c0012cd3b400073f8aa8000b008933..."} 
[2026-09-04 18:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7d63c0012cd3b400073f8aa8000b008933..."} 
[2026-09-04 18:27:41] local.INFO: Processing buffer {"connection_id":171209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7d63c0012cd3b400073f8aa8000b008933..."} 
[2026-09-04 18:27:41] local.INFO: Packet analysis {"connection_id":171209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7d"} 
[2026-09-04 18:27:41] local.INFO: Extracted packet for processing {"connection_id":171209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7d"} 
[2026-09-04 18:27:41] local.INFO: GPS Element Parsed {"raw_longitude":752071680,"raw_latitude":121604776,"longitude_deg":75.207168,"latitude_deg":12.1604776,"altitude":11,"angle":137,"satellites":51,"speed":49,"hex_longitude":"2cd3b400","hex_latitude":"073f8aa8","is_valid_coordinates":true} 
[2026-09-04 18:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862795520001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398369293424656384,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3197766810532978688,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788526552000,"timestamp_ms":1788526552000,"timestamp_seconds":1788526552,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7d63c0"} 
[2026-09-04 18:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 18:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862795520001,"66":27930,"119":206,"83":43264,"24":49,"16":398369293424656384,"44":-3197766810532978688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,44]} 
[2026-09-04 18:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862795520001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:27:41] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 18:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398369293424656384,"km_value":398369293424656.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3197766810532978688,"description":"Unknown IO ID 44"} 
[2026-09-04 18:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862795520001,"power":27930,"unknown_119":206,"unknown_83":43264,"ignition":49,"odometer":null,"unknown_44":-3197766810532978688}} 
[2026-09-04 18:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":171209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:27:41] local.INFO: GPS data processed {"connection_id":171209,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:27:41] local.INFO: Acknowledgment sent {"connection_id":171209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:27:47] local.INFO: TCP Data received {"connection_id":171211,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:27:47] local.INFO: Processing buffer {"connection_id":171211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:27:47] local.INFO: IMEI packet received {"connection_id":171211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":171211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:27:49] local.INFO: TCP Data received {"connection_id":171210,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:27:49] local.INFO: Processing buffer {"connection_id":171210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:27:49] local.INFO: IMEI packet received {"connection_id":171210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":171210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:27:53] local.INFO: TCP Data received {"connection_id":171211,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:27:53] local.INFO: Processing buffer {"connection_id":171211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:27:53] local.INFO: IMEI packet received {"connection_id":171211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":171211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:27:53] local.INFO: TCP Data received {"connection_id":171211,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7b5850012d1822400721b4a0004c00da2a..."} 
[2026-09-04 18:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7b5850012d1822400721b4a0004c00da2a..."} 
[2026-09-04 18:27:53] local.INFO: Processing buffer {"connection_id":171211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7b5850012d1822400721b4a0004c00da2a..."} 
[2026-09-04 18:27:53] local.INFO: Packet analysis {"connection_id":171211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:27:53] local.INFO: Extracted packet for processing {"connection_id":171211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:27:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862757632001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788526418000,"timestamp_ms":1788526418000,"timestamp_seconds":1788526418,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7b5850"} 
[2026-09-04 18:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 18:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862757632001,"66":12526,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862757632001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:27:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:27:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862757632001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":171211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:27:53] local.INFO: GPS data processed {"connection_id":171211,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:27:53] local.INFO: Acknowledgment sent {"connection_id":171211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:27:54] local.INFO: TCP Data received {"connection_id":171210,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:27:54] local.INFO: Processing buffer {"connection_id":171210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:27:54] local.INFO: IMEI packet received {"connection_id":171210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":171210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:27:55] local.INFO: TCP Data received {"connection_id":171210,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:27:55] local.INFO: Processing buffer {"connection_id":171210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7a8178012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:27:55] local.INFO: Packet analysis {"connection_id":171210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:27:55] local.INFO: Extracted packet for processing {"connection_id":171210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7a"} 
[2026-09-04 18:27:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862671872001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788526363000,"timestamp_ms":1788526363000,"timestamp_seconds":1788526363,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7a8178"} 
[2026-09-04 18:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 18:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862671872001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862671872001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:27:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:27:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862671872001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":171210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:27:55] local.INFO: GPS data processed {"connection_id":171210,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:27:55] local.INFO: Acknowledgment sent {"connection_id":171210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:27:58] local.INFO: TCP Data received {"connection_id":170926,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7b5c38012d7c080005bd4a18000a00fd2a..."} 
[2026-09-04 18:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7b5c38012d7c080005bd4a18000a00fd2a..."} 
[2026-09-04 18:27:58] local.INFO: Processing buffer {"connection_id":170926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7b5c38012d7c080005bd4a18000a00fd2a..."} 
[2026-09-04 18:27:58] local.INFO: Packet analysis {"connection_id":170926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:27:58] local.INFO: Extracted packet for processing {"connection_id":170926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291352,"longitude_deg":76.3103232,"latitude_deg":9.6291352,"altitude":10,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a18","is_valid_coordinates":true} 
[2026-09-04 18:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862763264001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788526419000,"timestamp_ms":1788526419000,"timestamp_seconds":1788526419,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7b5c38"} 
[2026-09-04 18:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-04 18:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862763264001,"66":13602,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862763264001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:27:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:27:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862763264001,"power":13602,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":170926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:27:58] local.INFO: GPS data processed {"connection_id":170926,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:27:58] local.INFO: Acknowledgment sent {"connection_id":170926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:27:58] local.INFO: TCP Data received {"connection_id":173621,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:27:58] local.INFO: Processing buffer {"connection_id":173621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:27:58] local.INFO: IMEI packet received {"connection_id":173621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":173621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:28:07] local.INFO: TCP Data received {"connection_id":173621,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:28:07] local.INFO: Processing buffer {"connection_id":173621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:28:07] local.INFO: IMEI packet received {"connection_id":173621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":173621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:28:08] local.INFO: TCP Data received {"connection_id":173621,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7e9c40012cd47440073e2fe0000b009234..."} 
[2026-09-04 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7e9c40012cd47440073e2fe0000b009234..."} 
[2026-09-04 18:28:08] local.INFO: Processing buffer {"connection_id":173621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7e9c40012cd47440073e2fe0000b009234..."} 
[2026-09-04 18:28:08] local.INFO: Packet analysis {"connection_id":173621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7e"} 
[2026-09-04 18:28:08] local.INFO: Extracted packet for processing {"connection_id":173621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7e"} 
[2026-09-04 18:28:08] local.INFO: GPS Element Parsed {"raw_longitude":752120896,"raw_latitude":121516000,"longitude_deg":75.2120896,"latitude_deg":12.1516,"altitude":11,"angle":146,"satellites":52,"speed":53,"hex_longitude":"2cd47440","hex_latitude":"073e2fe0","is_valid_coordinates":true} 
[2026-09-04 18:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862816000001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398374292766588928,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3143864352515414016,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788526632000,"timestamp_ms":1788526632000,"timestamp_seconds":1788526632,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7e9c40"} 
[2026-09-04 18:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862816000001,"66":27908,"118":206,"83":43264,"24":53,"16":398374292766588928,"44":-3143864352515414016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-09-04 18:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862816000001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:28:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 18:28:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398374292766588928,"km_value":398374292766588.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:28:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3143864352515414016,"description":"Unknown IO ID 44"} 
[2026-09-04 18:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862816000001,"power":27908,"unknown_118":206,"unknown_83":43264,"ignition":53,"odometer":null,"unknown_44":-3143864352515414016}} 
[2026-09-04 18:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":173621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:28:08] local.INFO: GPS data processed {"connection_id":173621,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:28:08] local.INFO: Acknowledgment sent {"connection_id":173621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:28:09] local.INFO: TCP Data received {"connection_id":173621,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7eb798012cd48580073e1090000c009e34..."} 
[2026-09-04 18:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7eb798012cd48580073e1090000c009e34..."} 
[2026-09-04 18:28:09] local.INFO: Processing buffer {"connection_id":173621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7eb798012cd48580073e1090000c009e34..."} 
[2026-09-04 18:28:09] local.INFO: Packet analysis {"connection_id":173621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7e"} 
[2026-09-04 18:28:09] local.INFO: Extracted packet for processing {"connection_id":173621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7e"} 
[2026-09-04 18:28:09] local.INFO: GPS Element Parsed {"raw_longitude":752125312,"raw_latitude":121507984,"longitude_deg":75.2125312,"latitude_deg":12.1507984,"altitude":12,"angle":158,"satellites":52,"speed":50,"hex_longitude":"2cd48580","hex_latitude":"073e1090","is_valid_coordinates":true} 
[2026-09-04 18:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862817792001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398374735148220416,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3137812640518119424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788526639000,"timestamp_ms":1788526639000,"timestamp_seconds":1788526639,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7eb798"} 
[2026-09-04 18:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862817792001,"66":27800,"118":206,"83":43264,"24":50,"16":398374735148220416,"44":-3137812640518119424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-09-04 18:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862817792001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:28:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 18:28:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398374735148220416,"km_value":398374735148220.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:28:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3137812640518119424,"description":"Unknown IO ID 44"} 
[2026-09-04 18:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862817792001,"power":27800,"unknown_118":206,"unknown_83":43264,"ignition":50,"odometer":null,"unknown_44":-3137812640518119424}} 
[2026-09-04 18:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":173621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:28:09] local.INFO: GPS data processed {"connection_id":173621,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:28:09] local.INFO: Acknowledgment sent {"connection_id":173621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:28:21] local.INFO: TCP Data received {"connection_id":170927,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:28:21] local.INFO: Processing buffer {"connection_id":170927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:28:21] local.INFO: IMEI packet received {"connection_id":170927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":170927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:28:25] local.INFO: TCP Data received {"connection_id":171211,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7baa58012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7baa58012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:28:25] local.INFO: Processing buffer {"connection_id":171211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7baa58012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:28:25] local.INFO: Packet analysis {"connection_id":171211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:28:25] local.INFO: Extracted packet for processing {"connection_id":171211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:28:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862763008001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788526439000,"timestamp_ms":1788526439000,"timestamp_seconds":1788526439,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7baa58"} 
[2026-09-04 18:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 18:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862763008001,"66":12515,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862763008001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:28:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:28:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862763008001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":171211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:28:25] local.INFO: GPS data processed {"connection_id":171211,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:28:25] local.INFO: Acknowledgment sent {"connection_id":171211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:28:26] local.INFO: TCP Data received {"connection_id":170927,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:28:26] local.INFO: Processing buffer {"connection_id":170927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:28:26] local.INFO: IMEI packet received {"connection_id":170927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":170927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:28:27] local.INFO: TCP Data received {"connection_id":170927,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7b5c38012d7c080005bd4a18000a00fd2a..."} 
[2026-09-04 18:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7b5c38012d7c080005bd4a18000a00fd2a..."} 
[2026-09-04 18:28:27] local.INFO: Processing buffer {"connection_id":170927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7b5c38012d7c080005bd4a18000a00fd2a..."} 
[2026-09-04 18:28:27] local.INFO: Packet analysis {"connection_id":170927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:28:27] local.INFO: Extracted packet for processing {"connection_id":170927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291352,"longitude_deg":76.3103232,"latitude_deg":9.6291352,"altitude":10,"angle":253,"satellites":42,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a18","is_valid_coordinates":true} 
[2026-09-04 18:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862763264001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526419000,"timestamp_ms":1788526419000,"timestamp_seconds":1788526419,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7b5c38"} 
[2026-09-04 18:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-04 18:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862763264001,"66":13602,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862763264001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:28:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:28:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862763264001,"power":13602,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":170927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:28:27] local.INFO: GPS data processed {"connection_id":170927,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:28:27] local.INFO: Acknowledgment sent {"connection_id":170927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:28:27] local.INFO: TCP Data received {"connection_id":171210,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:28:27] local.INFO: Processing buffer {"connection_id":171210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:28:27] local.INFO: Packet analysis {"connection_id":171210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:28:27] local.INFO: Extracted packet for processing {"connection_id":171210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:28:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862748928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526664000,"timestamp_ms":1788526664000,"timestamp_seconds":1788526664,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7f1940"} 
[2026-09-04 18:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862748928001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862748928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:28:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:28:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862748928001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":171210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764362,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:28:27] local.INFO: GPS data processed {"connection_id":171210,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:28:27] local.INFO: Acknowledgment sent {"connection_id":171210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:28:40] local.INFO: TCP Data received {"connection_id":173621,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7eb798012cd48580073e1090000c009e34..."} 
[2026-09-04 18:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7eb798012cd48580073e1090000c009e34..."} 
[2026-09-04 18:28:40] local.INFO: Processing buffer {"connection_id":173621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7eb798012cd48580073e1090000c009e34..."} 
[2026-09-04 18:28:40] local.INFO: Packet analysis {"connection_id":173621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7e"} 
[2026-09-04 18:28:40] local.INFO: Extracted packet for processing {"connection_id":173621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7e"} 
[2026-09-04 18:28:40] local.INFO: GPS Element Parsed {"raw_longitude":752125312,"raw_latitude":121507984,"longitude_deg":75.2125312,"latitude_deg":12.1507984,"altitude":12,"angle":158,"satellites":52,"speed":50,"hex_longitude":"2cd48580","hex_latitude":"073e1090","is_valid_coordinates":true} 
[2026-09-04 18:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862819584001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398374735148220416,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3132957197171912704,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788526639000,"timestamp_ms":1788526639000,"timestamp_seconds":1788526639,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7eb798"} 
[2026-09-04 18:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 18:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862819584001,"66":27800,"118":206,"83":43264,"24":50,"16":398374735148220416,"44":-3132957197171912704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-09-04 18:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862819584001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:28:40] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-04 18:28:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398374735148220416,"km_value":398374735148220.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3132957197171912704,"description":"Unknown IO ID 44"} 
[2026-09-04 18:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862819584001,"power":27800,"unknown_118":206,"unknown_83":43264,"ignition":50,"odometer":null,"unknown_44":-3132957197171912704}} 
[2026-09-04 18:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":173621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:28:40] local.INFO: GPS data processed {"connection_id":173621,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:28:40] local.INFO: Acknowledgment sent {"connection_id":173621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:28:48] local.INFO: TCP Data received {"connection_id":171212,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:28:48] local.INFO: Processing buffer {"connection_id":171212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:28:48] local.INFO: IMEI packet received {"connection_id":171212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":171212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:28:48] local.INFO: TCP Data received {"connection_id":172324,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:28:48] local.INFO: Processing buffer {"connection_id":172324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:28:48] local.INFO: IMEI packet received {"connection_id":172324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":172324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:28:53] local.INFO: TCP Data received {"connection_id":172324,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:28:53] local.INFO: Processing buffer {"connection_id":172324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:28:53] local.INFO: IMEI packet received {"connection_id":172324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":172324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:28:54] local.INFO: TCP Data received {"connection_id":171212,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:28:54] local.INFO: Processing buffer {"connection_id":171212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:28:54] local.INFO: IMEI packet received {"connection_id":171212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":171212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:28:56] local.INFO: TCP Data received {"connection_id":171212,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:28:56] local.INFO: Processing buffer {"connection_id":171212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:28:56] local.INFO: Packet analysis {"connection_id":171212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:28:56] local.INFO: Extracted packet for processing {"connection_id":171212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:28:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862748928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788526664000,"timestamp_ms":1788526664000,"timestamp_seconds":1788526664,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7f1940"} 
[2026-09-04 18:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862748928001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862748928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:28:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:28:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862748928001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":171212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764364,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:28:56] local.INFO: GPS data processed {"connection_id":171212,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:28:56] local.INFO: Acknowledgment sent {"connection_id":171212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:28:58] local.INFO: TCP Data received {"connection_id":172324,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:28:58] local.INFO: Processing buffer {"connection_id":172324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:28:58] local.INFO: IMEI packet received {"connection_id":172324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":172324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:28:58] local.INFO: TCP Data received {"connection_id":170927,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:28:58] local.INFO: Processing buffer {"connection_id":170927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:28:58] local.INFO: Packet analysis {"connection_id":170927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:28:58] local.INFO: Extracted packet for processing {"connection_id":170927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291440,"longitude_deg":76.310336,"latitude_deg":9.629144,"altitude":10,"angle":253,"satellites":46,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4a70","is_valid_coordinates":true} 
[2026-09-04 18:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862763264001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788526714000,"timestamp_ms":1788526714000,"timestamp_seconds":1788526714,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7fdc90"} 
[2026-09-04 18:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-04 18:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862763264001,"66":2275,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862763264001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:28:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:28:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862763264001,"power":2275,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":170927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:28:58] local.INFO: GPS data processed {"connection_id":170927,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:28:58] local.INFO: Acknowledgment sent {"connection_id":170927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:28:58] local.INFO: TCP Data received {"connection_id":172325,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:28:58] local.INFO: Processing buffer {"connection_id":172325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:28:58] local.INFO: IMEI packet received {"connection_id":172325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":172325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:28:58] local.INFO: TCP Data received {"connection_id":172324,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7bfc60012d1822400721b4a0004c00da2a..."} 
[2026-09-04 18:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7bfc60012d1822400721b4a0004c00da2a..."} 
[2026-09-04 18:28:58] local.INFO: Processing buffer {"connection_id":172324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7bfc60012d1822400721b4a0004c00da2a..."} 
[2026-09-04 18:28:58] local.INFO: Packet analysis {"connection_id":172324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:28:58] local.INFO: Extracted packet for processing {"connection_id":172324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7b"} 
[2026-09-04 18:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862768384001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788526460000,"timestamp_ms":1788526460000,"timestamp_seconds":1788526460,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7bfc60"} 
[2026-09-04 18:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-04 18:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862768384001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862768384001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:28:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862768384001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":172324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:28:58] local.INFO: GPS data processed {"connection_id":172324,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:28:58] local.INFO: Acknowledgment sent {"connection_id":172324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:29:03] local.INFO: TCP Data received {"connection_id":172325,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:29:03] local.INFO: Processing buffer {"connection_id":172325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:29:03] local.INFO: IMEI packet received {"connection_id":172325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":172325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:29:03] local.INFO: TCP Data received {"connection_id":172324,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7c4e68012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7c4e68012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:29:03] local.INFO: Processing buffer {"connection_id":172324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7c4e68012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:29:03] local.INFO: Packet analysis {"connection_id":172324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7c"} 
[2026-09-04 18:29:03] local.INFO: Extracted packet for processing {"connection_id":172324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7c"} 
[2026-09-04 18:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862773760001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788526481000,"timestamp_ms":1788526481000,"timestamp_seconds":1788526481,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7c4e68"} 
[2026-09-04 18:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862773760001,"66":12504,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862773760001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:29:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862773760001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":172324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:29:03] local.INFO: GPS data processed {"connection_id":172324,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:29:03] local.INFO: Acknowledgment sent {"connection_id":172324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:29:03] local.INFO: TCP Data received {"connection_id":172325,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7ed6d8012cd49200073dec60000c00a434..."} 
[2026-09-04 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7ed6d8012cd49200073dec60000c00a434..."} 
[2026-09-04 18:29:03] local.INFO: Processing buffer {"connection_id":172325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7ed6d8012cd49200073dec60000c00a434..."} 
[2026-09-04 18:29:03] local.INFO: Packet analysis {"connection_id":172325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7e"} 
[2026-09-04 18:29:03] local.INFO: Extracted packet for processing {"connection_id":172325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7e"} 
[2026-09-04 18:29:03] local.INFO: GPS Element Parsed {"raw_longitude":752128512,"raw_latitude":121498720,"longitude_deg":75.2128512,"latitude_deg":12.149872,"altitude":12,"angle":164,"satellites":52,"speed":49,"hex_longitude":"2cd49200","hex_latitude":"073dec60","is_valid_coordinates":true} 
[2026-09-04 18:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862819584001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398375211889590272,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3132957197171912704,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788526647000,"timestamp_ms":1788526647000,"timestamp_seconds":1788526647,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7ed6d8"} 
[2026-09-04 18:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 18:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862819584001,"66":27800,"181":206,"83":43264,"24":49,"16":398375211889590272,"44":-3132957197171912704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-04 18:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862819584001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:29:03] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 18:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398375211889590272,"km_value":398375211889590.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:29:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3132957197171912704,"description":"Unknown IO ID 44"} 
[2026-09-04 18:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862819584001,"power":27800,"unknown_181":206,"unknown_83":43264,"ignition":49,"odometer":null,"unknown_44":-3132957197171912704}} 
[2026-09-04 18:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":172325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:29:03] local.INFO: GPS data processed {"connection_id":172325,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:29:03] local.INFO: Acknowledgment sent {"connection_id":172325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:29:26] local.INFO: TCP Data received {"connection_id":173622,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:29:26] local.INFO: Processing buffer {"connection_id":173622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:29:26] local.INFO: IMEI packet received {"connection_id":173622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":173622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:29:27] local.INFO: TCP Data received {"connection_id":171212,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:29:27] local.INFO: Processing buffer {"connection_id":171212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:29:27] local.INFO: Packet analysis {"connection_id":171212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:29:27] local.INFO: Extracted packet for processing {"connection_id":171212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:29:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862748928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526664000,"timestamp_ms":1788526664000,"timestamp_seconds":1788526664,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7f1940"} 
[2026-09-04 18:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862748928001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862748928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:29:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:29:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862748928001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":171212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764369,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:29:27] local.INFO: GPS data processed {"connection_id":171212,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:29:27] local.INFO: Acknowledgment sent {"connection_id":171212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:29:31] local.INFO: TCP Data received {"connection_id":173622,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:29:31] local.INFO: Processing buffer {"connection_id":173622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:29:31] local.INFO: IMEI packet received {"connection_id":173622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":173622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:29:32] local.INFO: TCP Data received {"connection_id":173622,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:29:32] local.INFO: Processing buffer {"connection_id":173622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:29:32] local.INFO: Packet analysis {"connection_id":173622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:29:32] local.INFO: Extracted packet for processing {"connection_id":173622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291440,"longitude_deg":76.310336,"latitude_deg":9.629144,"altitude":10,"angle":253,"satellites":46,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4a70","is_valid_coordinates":true} 
[2026-09-04 18:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862763264001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788526714000,"timestamp_ms":1788526714000,"timestamp_seconds":1788526714,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7fdc90"} 
[2026-09-04 18:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-04 18:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862763264001,"66":2275,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862763264001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:29:32] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862763264001,"power":2275,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":173622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:29:32] local.INFO: GPS data processed {"connection_id":173622,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:29:32] local.INFO: Acknowledgment sent {"connection_id":173622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:29:34] local.INFO: TCP Data received {"connection_id":172325,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7ef618012cd49d00073dc638000d00a333..."} 
[2026-09-04 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7ef618012cd49d00073dc638000d00a333..."} 
[2026-09-04 18:29:34] local.INFO: Processing buffer {"connection_id":172325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7ef618012cd49d00073dc638000d00a333..."} 
[2026-09-04 18:29:34] local.INFO: Packet analysis {"connection_id":172325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7e"} 
[2026-09-04 18:29:34] local.INFO: Extracted packet for processing {"connection_id":172325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7e"} 
[2026-09-04 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":752131328,"raw_latitude":121488952,"longitude_deg":75.2131328,"latitude_deg":12.1488952,"altitude":13,"angle":163,"satellites":51,"speed":51,"hex_longitude":"2cd49d00","hex_latitude":"073dc638","is_valid_coordinates":true} 
[2026-09-04 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862821632001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398375701515862016,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3129438759965401088,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788526655000,"timestamp_ms":1788526655000,"timestamp_seconds":1788526655,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7ef618"} 
[2026-09-04 18:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 18:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862821632001,"66":27767,"181":206,"83":43264,"24":51,"16":398375701515862016,"44":-3129438759965401088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-04 18:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862821632001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:29:34] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 18:29:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398375701515862016,"km_value":398375701515862.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:29:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3129438759965401088,"description":"Unknown IO ID 44"} 
[2026-09-04 18:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862821632001,"power":27767,"unknown_181":206,"unknown_83":43264,"ignition":51,"odometer":null,"unknown_44":-3129438759965401088}} 
[2026-09-04 18:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":172325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:29:34] local.INFO: GPS data processed {"connection_id":172325,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:29:34] local.INFO: Acknowledgment sent {"connection_id":172325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:29:36] local.INFO: TCP Data received {"connection_id":173622,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:29:36] local.INFO: Processing buffer {"connection_id":173622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:29:36] local.INFO: Packet analysis {"connection_id":173622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:29:36] local.INFO: Extracted packet for processing {"connection_id":173622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291440,"longitude_deg":76.310336,"latitude_deg":9.629144,"altitude":10,"angle":253,"satellites":46,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4a70","is_valid_coordinates":true} 
[2026-09-04 18:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862763264001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788526714000,"timestamp_ms":1788526714000,"timestamp_seconds":1788526714,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7fdc90"} 
[2026-09-04 18:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-04 18:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862763264001,"66":2275,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862763264001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:29:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:29:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862763264001,"power":2275,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":173622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:29:36] local.INFO: GPS data processed {"connection_id":173622,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:29:36] local.INFO: Acknowledgment sent {"connection_id":173622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:29:48] local.INFO: TCP Data received {"connection_id":170928,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:29:48] local.INFO: Processing buffer {"connection_id":170928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:29:48] local.INFO: IMEI packet received {"connection_id":170928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":170928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:29:48] local.INFO: TCP Data received {"connection_id":171213,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:29:48] local.INFO: Processing buffer {"connection_id":171213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:29:48] local.INFO: IMEI packet received {"connection_id":171213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":171213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:29:52] local.INFO: TCP Data received {"connection_id":170928,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:29:52] local.INFO: Processing buffer {"connection_id":170928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:29:52] local.INFO: IMEI packet received {"connection_id":170928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":170928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:29:52] local.INFO: TCP Data received {"connection_id":170928,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7fd4c0012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7fd4c0012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:29:52] local.INFO: Processing buffer {"connection_id":170928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7fd4c0012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:29:52] local.INFO: Packet analysis {"connection_id":170928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:29:52] local.INFO: Extracted packet for processing {"connection_id":170928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:29:52] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862832896001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788526712000,"timestamp_ms":1788526712000,"timestamp_seconds":1788526712,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7fd4c0"} 
[2026-09-04 18:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 18:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":170928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":170928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":170928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862832896001,"66":12504,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862832896001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:29:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:29:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862832896001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":170928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:29:53] local.INFO: GPS data processed {"connection_id":170928,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:29:53] local.INFO: Acknowledgment sent {"connection_id":170928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:29:54] local.INFO: TCP Data received {"connection_id":171213,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:29:54] local.INFO: Processing buffer {"connection_id":171213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:29:54] local.INFO: IMEI packet received {"connection_id":171213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":171213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:29:55] local.INFO: TCP Data received {"connection_id":171213,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:29:55] local.INFO: Processing buffer {"connection_id":171213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:29:55] local.INFO: Packet analysis {"connection_id":171213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:29:55] local.INFO: Extracted packet for processing {"connection_id":171213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:29:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862748928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788526664000,"timestamp_ms":1788526664000,"timestamp_seconds":1788526664,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7f1940"} 
[2026-09-04 18:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862748928001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862748928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:29:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:29:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862748928001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":171213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764374,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:29:55] local.INFO: GPS data processed {"connection_id":171213,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:29:55] local.INFO: Acknowledgment sent {"connection_id":171213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:29:58] local.INFO: TCP Data received {"connection_id":173623,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:29:58] local.INFO: Processing buffer {"connection_id":173623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:29:58] local.INFO: IMEI packet received {"connection_id":173623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":173623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:30:04] local.INFO: TCP Data received {"connection_id":173623,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:30:04] local.INFO: Processing buffer {"connection_id":173623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:30:04] local.INFO: IMEI packet received {"connection_id":173623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":173623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:30:05] local.INFO: TCP Data received {"connection_id":173623,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8026c8012cd4f540073c2ef0000c00ae32..."} 
[2026-09-04 18:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8026c8012cd4f540073c2ef0000c00ae32..."} 
[2026-09-04 18:30:05] local.INFO: Processing buffer {"connection_id":173623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8026c8012cd4f540073c2ef0000c00ae32..."} 
[2026-09-04 18:30:05] local.INFO: Packet analysis {"connection_id":173623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c80"} 
[2026-09-04 18:30:05] local.INFO: Extracted packet for processing {"connection_id":173623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c80"} 
[2026-09-04 18:30:05] local.INFO: GPS Element Parsed {"raw_longitude":752153920,"raw_latitude":121384688,"longitude_deg":75.215392,"latitude_deg":12.1384688,"altitude":12,"angle":174,"satellites":50,"speed":51,"hex_longitude":"2cd4f540","hex_latitude":"073c2ef0","is_valid_coordinates":true} 
[2026-09-04 18:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862841856001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398380885541388288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3102839374692931584,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788526733000,"timestamp_ms":1788526733000,"timestamp_seconds":1788526733,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8026c8"} 
[2026-09-04 18:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 18:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862841856001,"66":27930,"135":206,"83":43264,"24":51,"16":398380885541388288,"44":-3102839374692931584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 18:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862841856001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:30:05] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 18:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398380885541388288,"km_value":398380885541388.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3102839374692931584,"description":"Unknown IO ID 44"} 
[2026-09-04 18:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862841856001,"power":27930,"unknown_135":206,"unknown_83":43264,"ignition":51,"odometer":null,"unknown_44":-3102839374692931584}} 
[2026-09-04 18:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":173623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:30:05] local.INFO: GPS data processed {"connection_id":173623,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:30:05] local.INFO: Acknowledgment sent {"connection_id":173623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:30:21] local.INFO: TCP Data received {"connection_id":172326,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:30:21] local.INFO: Processing buffer {"connection_id":172326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:30:21] local.INFO: IMEI packet received {"connection_id":172326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-04 18:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":172326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:30:24] local.INFO: TCP Data received {"connection_id":170928,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8026c8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8026c8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:30:24] local.INFO: Processing buffer {"connection_id":170928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8026c8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:30:24] local.INFO: Packet analysis {"connection_id":170928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c80"} 
[2026-09-04 18:30:24] local.INFO: Extracted packet for processing {"connection_id":170928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c80"} 
[2026-09-04 18:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862838272001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788526733000,"timestamp_ms":1788526733000,"timestamp_seconds":1788526733,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8026c8"} 
[2026-09-04 18:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 18:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862838272001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862838272001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:30:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862838272001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":170928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:30:24] local.INFO: GPS data processed {"connection_id":170928,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:30:24] local.INFO: Acknowledgment sent {"connection_id":170928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:30:26] local.INFO: TCP Data received {"connection_id":172326,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:30:26] local.INFO: Processing buffer {"connection_id":172326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-04 18:30:26] local.INFO: IMEI packet received {"connection_id":172326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-04 18:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":172326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:30:27] local.INFO: TCP Data received {"connection_id":172326,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:30:27] local.INFO: Processing buffer {"connection_id":172326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:30:27] local.INFO: Packet analysis {"connection_id":172326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:30:27] local.INFO: Extracted packet for processing {"connection_id":172326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291440,"longitude_deg":76.310336,"latitude_deg":9.629144,"altitude":10,"angle":253,"satellites":46,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4a70","is_valid_coordinates":true} 
[2026-09-04 18:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862763264001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526714000,"timestamp_ms":1788526714000,"timestamp_seconds":1788526714,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7fdc90"} 
[2026-09-04 18:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-04 18:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862763264001,"66":2275,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862763264001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:30:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862763264001,"power":2275,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":172326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:30:27] local.INFO: GPS data processed {"connection_id":172326,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:30:27] local.INFO: Acknowledgment sent {"connection_id":172326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:30:31] local.INFO: TCP Data received {"connection_id":171213,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:30:31] local.INFO: Processing buffer {"connection_id":171213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:30:31] local.INFO: Packet analysis {"connection_id":171213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:30:31] local.INFO: Extracted packet for processing {"connection_id":171213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862748928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788526664000,"timestamp_ms":1788526664000,"timestamp_seconds":1788526664,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7f1940"} 
[2026-09-04 18:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862748928001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862748928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:30:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862748928001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":171213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:30:31] local.INFO: GPS data processed {"connection_id":171213,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:30:31] local.INFO: Acknowledgment sent {"connection_id":171213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:30:36] local.INFO: TCP Data received {"connection_id":173623,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c804608012cd4f9c0073c0c90000c00ae32..."} 
[2026-09-04 18:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c804608012cd4f9c0073c0c90000c00ae32..."} 
[2026-09-04 18:30:36] local.INFO: Processing buffer {"connection_id":173623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c804608012cd4f9c0073c0c90000c00ae32..."} 
[2026-09-04 18:30:36] local.INFO: Packet analysis {"connection_id":173623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c80"} 
[2026-09-04 18:30:36] local.INFO: Extracted packet for processing {"connection_id":173623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c80"} 
[2026-09-04 18:30:36] local.INFO: GPS Element Parsed {"raw_longitude":752155072,"raw_latitude":121375888,"longitude_deg":75.2155072,"latitude_deg":12.1375888,"altitude":12,"angle":174,"satellites":50,"speed":39,"hex_longitude":"2cd4f9c0","hex_latitude":"073c0c90","is_valid_coordinates":true} 
[2026-09-04 18:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862843648001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398381319333085184,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3101502368556060672,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788526741000,"timestamp_ms":1788526741000,"timestamp_seconds":1788526741,"priority":1,"record_length":96,"hex_timestamp":"000001a06c804608"} 
[2026-09-04 18:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862843648001,"66":27832,"135":206,"83":43264,"24":39,"16":398381319333085184,"44":-3101502368556060672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 18:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862843648001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:30:36] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 18:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398381319333085184,"km_value":398381319333085.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:30:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3101502368556060672,"description":"Unknown IO ID 44"} 
[2026-09-04 18:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862843648001,"power":27832,"unknown_135":206,"unknown_83":43264,"ignition":39,"odometer":null,"unknown_44":-3101502368556060672}} 
[2026-09-04 18:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":173623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:30:36] local.INFO: GPS data processed {"connection_id":173623,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:30:36] local.INFO: Acknowledgment sent {"connection_id":173623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:30:48] local.INFO: TCP Data received {"connection_id":171214,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:30:48] local.INFO: Processing buffer {"connection_id":171214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:30:48] local.INFO: IMEI packet received {"connection_id":171214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":171214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:30:53] local.INFO: TCP Data received {"connection_id":171214,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:30:53] local.INFO: Processing buffer {"connection_id":171214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:30:53] local.INFO: IMEI packet received {"connection_id":171214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":171214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:30:53] local.INFO: TCP Data received {"connection_id":171214,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8078d0012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8078d0012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:30:53] local.INFO: Processing buffer {"connection_id":171214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8078d0012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:30:53] local.INFO: Packet analysis {"connection_id":171214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c80"} 
[2026-09-04 18:30:53] local.INFO: Extracted packet for processing {"connection_id":171214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c80"} 
[2026-09-04 18:30:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862843648001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788526754000,"timestamp_ms":1788526754000,"timestamp_seconds":1788526754,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8078d0"} 
[2026-09-04 18:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862843648001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862843648001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:30:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:30:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862843648001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":171214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:30:53] local.INFO: GPS data processed {"connection_id":171214,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:30:53] local.INFO: Acknowledgment sent {"connection_id":171214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:30:54] local.INFO: TCP Data received {"connection_id":173624,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:30:54] local.INFO: Processing buffer {"connection_id":173624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:30:54] local.INFO: IMEI packet received {"connection_id":173624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":173624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:30:58] local.INFO: TCP Data received {"connection_id":170929,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:30:58] local.INFO: Processing buffer {"connection_id":170929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:30:58] local.INFO: IMEI packet received {"connection_id":170929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":170929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:30:59] local.INFO: TCP Data received {"connection_id":173624,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:30:59] local.INFO: Processing buffer {"connection_id":173624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:30:59] local.INFO: IMEI packet received {"connection_id":173624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":173624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:30:59] local.INFO: TCP Data received {"connection_id":172326,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:30:59] local.INFO: Processing buffer {"connection_id":172326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7fdc90012d7c088005bd4a70000a00fd2e..."} 
[2026-09-04 18:30:59] local.INFO: Packet analysis {"connection_id":172326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:30:59] local.INFO: Extracted packet for processing {"connection_id":172326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291440,"longitude_deg":76.310336,"latitude_deg":9.629144,"altitude":10,"angle":253,"satellites":46,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4a70","is_valid_coordinates":true} 
[2026-09-04 18:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862763264001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167335424,"note":"Value kept but may cause issues"} 
[2026-09-04 18:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788526714000,"timestamp_ms":1788526714000,"timestamp_seconds":1788526714,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7fdc90"} 
[2026-09-04 18:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-04 18:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-04 18:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-04 18:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-04 18:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862763264001,"66":2275,"197":206,"85":12544,"24":0,"16":128259749366988800,"45":8937393485167335424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-04 18:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-04 18:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-04 18:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862763264001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:30:59] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 18:30:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-04 18:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167335424,"description":"Unknown IO ID 45"} 
[2026-09-04 18:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862763264001,"power":2275,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167335424}} 
[2026-09-04 18:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":172326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:30:59] local.INFO: GPS data processed {"connection_id":172326,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:30:59] local.INFO: Acknowledgment sent {"connection_id":172326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:31:01] local.INFO: TCP Data received {"connection_id":173624,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:31:01] local.INFO: Processing buffer {"connection_id":173624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:31:01] local.INFO: Packet analysis {"connection_id":173624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:31:01] local.INFO: Extracted packet for processing {"connection_id":173624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:31:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862748928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788526664000,"timestamp_ms":1788526664000,"timestamp_seconds":1788526664,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7f1940"} 
[2026-09-04 18:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862748928001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862748928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:31:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:31:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862748928001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":173624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764382,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:31:01] local.INFO: GPS data processed {"connection_id":173624,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:31:01] local.INFO: Acknowledgment sent {"connection_id":173624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:31:04] local.INFO: TCP Data received {"connection_id":170929,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:31:04] local.INFO: Processing buffer {"connection_id":170929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:31:04] local.INFO: IMEI packet received {"connection_id":170929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":170929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:31:04] local.INFO: TCP Data received {"connection_id":173624,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:31:04] local.INFO: Processing buffer {"connection_id":173624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:31:04] local.INFO: Packet analysis {"connection_id":173624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:31:04] local.INFO: Extracted packet for processing {"connection_id":173624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862748928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788526664000,"timestamp_ms":1788526664000,"timestamp_seconds":1788526664,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7f1940"} 
[2026-09-04 18:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862748928001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862748928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:31:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:31:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862748928001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":173624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764383,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:31:04] local.INFO: GPS data processed {"connection_id":173624,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:31:04] local.INFO: Acknowledgment sent {"connection_id":173624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:31:04] local.INFO: TCP Data received {"connection_id":170929,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8078d0012cd4ff40073bea50000b00ab32..."} 
[2026-09-04 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8078d0012cd4ff40073bea50000b00ab32..."} 
[2026-09-04 18:31:04] local.INFO: Processing buffer {"connection_id":170929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8078d0012cd4ff40073bea50000b00ab32..."} 
[2026-09-04 18:31:04] local.INFO: Packet analysis {"connection_id":170929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c80"} 
[2026-09-04 18:31:04] local.INFO: Extracted packet for processing {"connection_id":170929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c80"} 
[2026-09-04 18:31:04] local.INFO: GPS Element Parsed {"raw_longitude":752156480,"raw_latitude":121367120,"longitude_deg":75.215648,"latitude_deg":12.136712,"altitude":11,"angle":171,"satellites":50,"speed":23,"hex_longitude":"2cd4ff40","hex_latitude":"073bea50","is_valid_coordinates":true} 
[2026-09-04 18:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862845696001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398381748829814784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3100235731163115520,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788526754000,"timestamp_ms":1788526754000,"timestamp_seconds":1788526754,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8078d0"} 
[2026-09-04 18:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 18:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862845696001,"66":27865,"135":206,"83":43264,"24":23,"16":398381748829814784,"44":-3100235731163115520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 18:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862845696001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:31:04] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 18:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398381748829814784,"km_value":398381748829814.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:31:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3100235731163115520,"description":"Unknown IO ID 44"} 
[2026-09-04 18:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862845696001,"power":27865,"unknown_135":206,"unknown_83":43264,"ignition":23,"odometer":null,"unknown_44":-3100235731163115520}} 
[2026-09-04 18:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":170929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:31:04] local.INFO: GPS data processed {"connection_id":170929,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:31:04] local.INFO: Acknowledgment sent {"connection_id":170929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:31:24] local.INFO: TCP Data received {"connection_id":171214,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c80cad8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c80cad8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:31:24] local.INFO: Processing buffer {"connection_id":171214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c80cad8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:31:24] local.INFO: Packet analysis {"connection_id":171214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c80"} 
[2026-09-04 18:31:24] local.INFO: Extracted packet for processing {"connection_id":171214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c80"} 
[2026-09-04 18:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862849024001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788526775000,"timestamp_ms":1788526775000,"timestamp_seconds":1788526775,"priority":1,"record_length":96,"hex_timestamp":"000001a06c80cad8"} 
[2026-09-04 18:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862849024001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862849024001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:31:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:31:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862849024001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":171214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:31:24] local.INFO: GPS data processed {"connection_id":171214,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:31:24] local.INFO: Acknowledgment sent {"connection_id":171214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:31:36] local.INFO: TCP Data received {"connection_id":170929,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c80ab98012cd50080073bc600000c00b233..."} 
[2026-09-04 18:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c80ab98012cd50080073bc600000c00b233..."} 
[2026-09-04 18:31:36] local.INFO: Processing buffer {"connection_id":170929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c80ab98012cd50080073bc600000c00b233..."} 
[2026-09-04 18:31:36] local.INFO: Packet analysis {"connection_id":170929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c80"} 
[2026-09-04 18:31:36] local.INFO: Extracted packet for processing {"connection_id":170929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c80"} 
[2026-09-04 18:31:36] local.INFO: GPS Element Parsed {"raw_longitude":752156800,"raw_latitude":121357824,"longitude_deg":75.21568,"latitude_deg":12.1357824,"altitude":12,"angle":178,"satellites":51,"speed":36,"hex_longitude":"2cd50080","hex_latitude":"073bc600","is_valid_coordinates":true} 
[2026-09-04 18:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862849024001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398382199801380864,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098687618793451520,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788526767000,"timestamp_ms":1788526767000,"timestamp_seconds":1788526767,"priority":1,"record_length":96,"hex_timestamp":"000001a06c80ab98"} 
[2026-09-04 18:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 18:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862849024001,"66":27876,"135":206,"83":43264,"24":36,"16":398382199801380864,"44":-3098687618793451520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 18:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862849024001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:31:36] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 18:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398382199801380864,"km_value":398382199801380.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:31:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098687618793451520,"description":"Unknown IO ID 44"} 
[2026-09-04 18:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862849024001,"power":27876,"unknown_135":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3098687618793451520}} 
[2026-09-04 18:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":170929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:31:36] local.INFO: GPS data processed {"connection_id":170929,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:31:36] local.INFO: Acknowledgment sent {"connection_id":170929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:31:48] local.INFO: TCP Data received {"connection_id":170931,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:31:48] local.INFO: Processing buffer {"connection_id":170931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:31:48] local.INFO: IMEI packet received {"connection_id":170931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":170931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:31:49] local.INFO: TCP Data received {"connection_id":170930,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:31:49] local.INFO: Processing buffer {"connection_id":170930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:31:49] local.INFO: IMEI packet received {"connection_id":170930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":170930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:31:53] local.INFO: TCP Data received {"connection_id":170931,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:31:53] local.INFO: Processing buffer {"connection_id":170931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:31:53] local.INFO: IMEI packet received {"connection_id":170931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":170931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:31:53] local.INFO: TCP Data received {"connection_id":170931,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c811ce0012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c811ce0012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:31:53] local.INFO: Processing buffer {"connection_id":170931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c811ce0012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:31:53] local.INFO: Packet analysis {"connection_id":170931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c81"} 
[2026-09-04 18:31:53] local.INFO: Extracted packet for processing {"connection_id":170931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c81"} 
[2026-09-04 18:31:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862854400001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788526796000,"timestamp_ms":1788526796000,"timestamp_seconds":1788526796,"priority":1,"record_length":96,"hex_timestamp":"000001a06c811ce0"} 
[2026-09-04 18:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862854400001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862854400001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:31:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:31:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862854400001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":170931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:31:53] local.INFO: GPS data processed {"connection_id":170931,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:31:53] local.INFO: Acknowledgment sent {"connection_id":170931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:31:54] local.INFO: TCP Data received {"connection_id":170930,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:31:54] local.INFO: Processing buffer {"connection_id":170930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:31:54] local.INFO: IMEI packet received {"connection_id":170930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":170930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:31:55] local.INFO: TCP Data received {"connection_id":170930,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:31:55] local.INFO: Processing buffer {"connection_id":170930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:31:55] local.INFO: Packet analysis {"connection_id":170930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:31:55] local.INFO: Extracted packet for processing {"connection_id":170930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:31:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862748928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788526664000,"timestamp_ms":1788526664000,"timestamp_seconds":1788526664,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7f1940"} 
[2026-09-04 18:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862748928001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862748928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:31:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862748928001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":170930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764388,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:31:55] local.INFO: GPS data processed {"connection_id":170930,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:31:55] local.INFO: Acknowledgment sent {"connection_id":170930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:31:59] local.INFO: TCP Data received {"connection_id":171215,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:31:59] local.INFO: Processing buffer {"connection_id":171215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:31:59] local.INFO: IMEI packet received {"connection_id":171215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":171215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:32:06] local.INFO: TCP Data received {"connection_id":171215,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:32:06] local.INFO: Processing buffer {"connection_id":171215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:32:06] local.INFO: IMEI packet received {"connection_id":171215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":171215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:32:09] local.INFO: TCP Data received {"connection_id":171215,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:32:09] local.INFO: Processing buffer {"connection_id":171215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:32:09] local.INFO: IMEI packet received {"connection_id":171215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":171215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:32:10] local.INFO: TCP Data received {"connection_id":171215,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c822298012cd51880073ac4d0000d00b831..."} 
[2026-09-04 18:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c822298012cd51880073ac4d0000d00b831..."} 
[2026-09-04 18:32:10] local.INFO: Processing buffer {"connection_id":171215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c822298012cd51880073ac4d0000d00b831..."} 
[2026-09-04 18:32:10] local.INFO: Packet analysis {"connection_id":171215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:32:10] local.INFO: Extracted packet for processing {"connection_id":171215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:32:10] local.INFO: GPS Element Parsed {"raw_longitude":752162944,"raw_latitude":121291984,"longitude_deg":75.2162944,"latitude_deg":12.1291984,"altitude":13,"angle":184,"satellites":49,"speed":37,"hex_longitude":"2cd51880","hex_latitude":"073ac4d0","is_valid_coordinates":true} 
[2026-09-04 18:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862874368001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398385489746329600,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3090806319462465536,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788526863000,"timestamp_ms":1788526863000,"timestamp_seconds":1788526863,"priority":1,"record_length":96,"hex_timestamp":"000001a06c822298"} 
[2026-09-04 18:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 18:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862874368001,"66":27919,"137":206,"83":43264,"24":37,"16":398385489746329600,"44":-3090806319462465536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-04 18:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862874368001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:32:10] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 18:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398385489746329600,"km_value":398385489746329.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3090806319462465536,"description":"Unknown IO ID 44"} 
[2026-09-04 18:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862874368001,"power":27919,"unknown_137":206,"unknown_83":43264,"ignition":37,"odometer":null,"unknown_44":-3090806319462465536}} 
[2026-09-04 18:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":171215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:32:10] local.INFO: GPS data processed {"connection_id":171215,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:32:10] local.INFO: Acknowledgment sent {"connection_id":171215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:32:12] local.INFO: TCP Data received {"connection_id":171215,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8245c0012cd51900073aa320000d00ac31..."} 
[2026-09-04 18:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8245c0012cd51900073aa320000d00ac31..."} 
[2026-09-04 18:32:12] local.INFO: Processing buffer {"connection_id":171215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8245c0012cd51900073aa320000d00ac31..."} 
[2026-09-04 18:32:12] local.INFO: Packet analysis {"connection_id":171215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:32:12] local.INFO: Extracted packet for processing {"connection_id":171215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:32:12] local.INFO: GPS Element Parsed {"raw_longitude":752163072,"raw_latitude":121283360,"longitude_deg":75.2163072,"latitude_deg":12.128336,"altitude":13,"angle":172,"satellites":49,"speed":38,"hex_longitude":"2cd51900","hex_latitude":"073aa320","is_valid_coordinates":true} 
[2026-09-04 18:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862876928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398385910653124608,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091580375650742272,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788526872000,"timestamp_ms":1788526872000,"timestamp_seconds":1788526872,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8245c0"} 
[2026-09-04 18:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 18:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862876928001,"66":27800,"137":206,"83":43264,"24":38,"16":398385910653124608,"44":-3091580375650742272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-04 18:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862876928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:32:12] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 18:32:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398385910653124608,"km_value":398385910653124.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:32:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091580375650742272,"description":"Unknown IO ID 44"} 
[2026-09-04 18:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862876928001,"power":27800,"unknown_137":206,"unknown_83":43264,"ignition":38,"odometer":null,"unknown_44":-3091580375650742272}} 
[2026-09-04 18:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":171215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:32:12] local.INFO: GPS data processed {"connection_id":171215,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:32:12] local.INFO: Acknowledgment sent {"connection_id":171215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:32:25] local.INFO: TCP Data received {"connection_id":170931,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c816ee8012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c816ee8012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:32:25] local.INFO: Processing buffer {"connection_id":170931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c816ee8012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:32:25] local.INFO: Packet analysis {"connection_id":170931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c81"} 
[2026-09-04 18:32:25] local.INFO: Extracted packet for processing {"connection_id":170931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c81"} 
[2026-09-04 18:32:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862859776001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788526817000,"timestamp_ms":1788526817000,"timestamp_seconds":1788526817,"priority":1,"record_length":96,"hex_timestamp":"000001a06c816ee8"} 
[2026-09-04 18:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862859776001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862859776001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:32:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:32:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862859776001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":170931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:32:25] local.INFO: GPS data processed {"connection_id":170931,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:32:25] local.INFO: Acknowledgment sent {"connection_id":170931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:32:27] local.INFO: TCP Data received {"connection_id":170930,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:32:27] local.INFO: Processing buffer {"connection_id":170930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:32:27] local.INFO: Packet analysis {"connection_id":170930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:32:27] local.INFO: Extracted packet for processing {"connection_id":170930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:32:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862748928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526664000,"timestamp_ms":1788526664000,"timestamp_seconds":1788526664,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7f1940"} 
[2026-09-04 18:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862748928001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862748928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:32:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:32:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862748928001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":170930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764392,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:32:27] local.INFO: GPS data processed {"connection_id":170930,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:32:27] local.INFO: Acknowledgment sent {"connection_id":170930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:32:43] local.INFO: TCP Data received {"connection_id":171215,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c826cd0012cd51ec0073a7df0000c00ac31..."} 
[2026-09-04 18:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c826cd0012cd51ec0073a7df0000c00ac31..."} 
[2026-09-04 18:32:43] local.INFO: Processing buffer {"connection_id":171215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c826cd0012cd51ec0073a7df0000c00ac31..."} 
[2026-09-04 18:32:43] local.INFO: Packet analysis {"connection_id":171215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:32:43] local.INFO: Extracted packet for processing {"connection_id":171215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:32:43] local.INFO: GPS Element Parsed {"raw_longitude":752164544,"raw_latitude":121273840,"longitude_deg":75.2164544,"latitude_deg":12.127384,"altitude":12,"angle":172,"satellites":49,"speed":37,"hex_longitude":"2cd51ec0","hex_latitude":"073a7df0","is_valid_coordinates":true} 
[2026-09-04 18:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862879232001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398386374509592576,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091439638164594688,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788526882000,"timestamp_ms":1788526882000,"timestamp_seconds":1788526882,"priority":1,"record_length":96,"hex_timestamp":"000001a06c826cd0"} 
[2026-09-04 18:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 18:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862879232001,"66":27484,"137":206,"83":43264,"24":37,"16":398386374509592576,"44":-3091439638164594688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-04 18:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862879232001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:32:43] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 18:32:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398386374509592576,"km_value":398386374509592.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:32:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091439638164594688,"description":"Unknown IO ID 44"} 
[2026-09-04 18:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862879232001,"power":27484,"unknown_137":206,"unknown_83":43264,"ignition":37,"odometer":null,"unknown_44":-3091439638164594688}} 
[2026-09-04 18:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":171215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:32:43] local.INFO: GPS data processed {"connection_id":171215,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:32:43] local.INFO: Acknowledgment sent {"connection_id":171215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:32:47] local.INFO: TCP Data received {"connection_id":172328,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:32:47] local.INFO: Processing buffer {"connection_id":172328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:32:47] local.INFO: IMEI packet received {"connection_id":172328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":172328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:32:49] local.INFO: TCP Data received {"connection_id":172327,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:32:49] local.INFO: Processing buffer {"connection_id":172327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:32:49] local.INFO: IMEI packet received {"connection_id":172327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":172327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:32:54] local.INFO: TCP Data received {"connection_id":172327,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:32:54] local.INFO: Processing buffer {"connection_id":172327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:32:54] local.INFO: IMEI packet received {"connection_id":172327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":172327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:32:54] local.INFO: TCP Data received {"connection_id":172328,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:32:54] local.INFO: Processing buffer {"connection_id":172328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:32:54] local.INFO: IMEI packet received {"connection_id":172328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":172328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:32:55] local.INFO: TCP Data received {"connection_id":172328,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c81c0f0012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c81c0f0012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:32:55] local.INFO: Processing buffer {"connection_id":172328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c81c0f0012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:32:55] local.INFO: Packet analysis {"connection_id":172328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c81"} 
[2026-09-04 18:32:55] local.INFO: Extracted packet for processing {"connection_id":172328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c81"} 
[2026-09-04 18:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862865152001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788526838000,"timestamp_ms":1788526838000,"timestamp_seconds":1788526838,"priority":1,"record_length":96,"hex_timestamp":"000001a06c81c0f0"} 
[2026-09-04 18:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862865152001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862865152001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:32:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:32:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862865152001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":172328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:32:55] local.INFO: GPS data processed {"connection_id":172328,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:32:55] local.INFO: Acknowledgment sent {"connection_id":172328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:32:55] local.INFO: TCP Data received {"connection_id":172327,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:32:55] local.INFO: Processing buffer {"connection_id":172327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c7f1940012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:32:55] local.INFO: Packet analysis {"connection_id":172327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:32:55] local.INFO: Extracted packet for processing {"connection_id":172327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c7f"} 
[2026-09-04 18:32:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862748928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788526664000,"timestamp_ms":1788526664000,"timestamp_seconds":1788526664,"priority":1,"record_length":96,"hex_timestamp":"000001a06c7f1940"} 
[2026-09-04 18:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862748928001,"66":25267,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862748928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:32:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862748928001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":172327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764395,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:32:55] local.INFO: GPS data processed {"connection_id":172327,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:32:55] local.INFO: Acknowledgment sent {"connection_id":172327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:32:55] local.INFO: TCP Data received {"connection_id":173625,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:32:55] local.INFO: Processing buffer {"connection_id":173625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:32:55] local.INFO: IMEI packet received {"connection_id":173625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":173625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:32:59] local.INFO: TCP Data received {"connection_id":173625,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:32:59] local.INFO: Processing buffer {"connection_id":173625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:32:59] local.INFO: IMEI packet received {"connection_id":173625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":173625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:33:04] local.INFO: TCP Data received {"connection_id":173625,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:33:04] local.INFO: Processing buffer {"connection_id":173625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:33:04] local.INFO: IMEI packet received {"connection_id":173625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":173625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:33:05] local.INFO: TCP Data received {"connection_id":173625,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c829bb0012cd523c0073a5ad0000d00ab30..."} 
[2026-09-04 18:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c829bb0012cd523c0073a5ad0000d00ab30..."} 
[2026-09-04 18:33:05] local.INFO: Processing buffer {"connection_id":173625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c829bb0012cd523c0073a5ad0000d00ab30..."} 
[2026-09-04 18:33:05] local.INFO: Packet analysis {"connection_id":173625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:33:05] local.INFO: Extracted packet for processing {"connection_id":173625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:33:05] local.INFO: GPS Element Parsed {"raw_longitude":752165824,"raw_latitude":121264848,"longitude_deg":75.2165824,"latitude_deg":12.1264848,"altitude":13,"angle":171,"satellites":48,"speed":26,"hex_longitude":"2cd523c0","hex_latitude":"073a5ad0","is_valid_coordinates":true} 
[2026-09-04 18:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862881792001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398386816891224064,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3089821157050945536,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788526894000,"timestamp_ms":1788526894000,"timestamp_seconds":1788526894,"priority":1,"record_length":96,"hex_timestamp":"000001a06c829bb0"} 
[2026-09-04 18:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 18:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862881792001,"66":27919,"137":206,"83":43264,"24":26,"16":398386816891224064,"44":-3089821157050945536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-04 18:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862881792001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:33:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 18:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398386816891224064,"km_value":398386816891224.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:33:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3089821157050945536,"description":"Unknown IO ID 44"} 
[2026-09-04 18:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862881792001,"power":27919,"unknown_137":206,"unknown_83":43264,"ignition":26,"odometer":null,"unknown_44":-3089821157050945536}} 
[2026-09-04 18:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":173625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:33:05] local.INFO: GPS data processed {"connection_id":173625,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:33:05] local.INFO: Acknowledgment sent {"connection_id":173625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:33:27] local.INFO: TCP Data received {"connection_id":172328,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8212f8012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8212f8012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:33:27] local.INFO: Processing buffer {"connection_id":172328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8212f8012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:33:27] local.INFO: Packet analysis {"connection_id":172328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:33:27] local.INFO: Extracted packet for processing {"connection_id":172328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:33:27] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862870528001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526859000,"timestamp_ms":1788526859000,"timestamp_seconds":1788526859,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8212f8"} 
[2026-09-04 18:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862870528001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862870528001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:33:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:33:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862870528001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":172328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:33:27] local.INFO: GPS data processed {"connection_id":172328,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:33:27] local.INFO: Acknowledgment sent {"connection_id":172328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:33:27] local.INFO: TCP Data received {"connection_id":172327,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:33:27] local.INFO: Processing buffer {"connection_id":172327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:33:27] local.INFO: Packet analysis {"connection_id":172327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:33:27] local.INFO: Extracted packet for processing {"connection_id":172327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:33:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862825984001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526965000,"timestamp_ms":1788526965000,"timestamp_seconds":1788526965,"priority":1,"record_length":96,"hex_timestamp":"000001a06c83b108"} 
[2026-09-04 18:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 18:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862825984001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862825984001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:33:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:33:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862825984001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":172327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764398,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:33:27] local.INFO: GPS data processed {"connection_id":172327,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:33:27] local.INFO: Acknowledgment sent {"connection_id":172327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:33:36] local.INFO: TCP Data received {"connection_id":173625,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c82c6a8012cd52a40073a38b8000c00a832..."} 
[2026-09-04 18:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c82c6a8012cd52a40073a38b8000c00a832..."} 
[2026-09-04 18:33:36] local.INFO: Processing buffer {"connection_id":173625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c82c6a8012cd52a40073a38b8000c00a832..."} 
[2026-09-04 18:33:36] local.INFO: Packet analysis {"connection_id":173625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:33:36] local.INFO: Extracted packet for processing {"connection_id":173625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:33:36] local.INFO: GPS Element Parsed {"raw_longitude":752167488,"raw_latitude":121256120,"longitude_deg":75.2167488,"latitude_deg":12.125612,"altitude":12,"angle":168,"satellites":50,"speed":39,"hex_longitude":"2cd52a40","hex_latitude":"073a38b8","is_valid_coordinates":true} 
[2026-09-04 18:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862884864001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398387246387953664,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3088413782169694208,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788526905000,"timestamp_ms":1788526905000,"timestamp_seconds":1788526905,"priority":1,"record_length":96,"hex_timestamp":"000001a06c82c6a8"} 
[2026-09-04 18:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 18:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862884864001,"66":27908,"149":206,"83":43264,"24":39,"16":398387246387953664,"44":-3088413782169694208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 18:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862884864001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:33:36] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 18:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398387246387953664,"km_value":398387246387953.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:33:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3088413782169694208,"description":"Unknown IO ID 44"} 
[2026-09-04 18:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862884864001,"power":27908,"unknown_149":206,"unknown_83":43264,"ignition":39,"odometer":null,"unknown_44":-3088413782169694208}} 
[2026-09-04 18:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":173625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:33:36] local.INFO: GPS data processed {"connection_id":173625,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:33:36] local.INFO: Acknowledgment sent {"connection_id":173625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:33:47] local.INFO: TCP Data received {"connection_id":171216,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:33:47] local.INFO: Processing buffer {"connection_id":171216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:33:47] local.INFO: IMEI packet received {"connection_id":171216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":171216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:33:48] local.INFO: TCP Data received {"connection_id":171217,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:33:48] local.INFO: Processing buffer {"connection_id":171217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:33:48] local.INFO: IMEI packet received {"connection_id":171217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":171217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:33:53] local.INFO: TCP Data received {"connection_id":171216,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:33:53] local.INFO: Processing buffer {"connection_id":171216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:33:53] local.INFO: IMEI packet received {"connection_id":171216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":171216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:33:53] local.INFO: TCP Data received {"connection_id":171216,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c826500012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c826500012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:33:53] local.INFO: Processing buffer {"connection_id":171216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c826500012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:33:53] local.INFO: Packet analysis {"connection_id":171216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:33:53] local.INFO: Extracted packet for processing {"connection_id":171216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:33:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862875904001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788526880000,"timestamp_ms":1788526880000,"timestamp_seconds":1788526880,"priority":1,"record_length":96,"hex_timestamp":"000001a06c826500"} 
[2026-09-04 18:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862875904001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862875904001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:33:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:33:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862875904001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":171216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:33:54] local.INFO: GPS data processed {"connection_id":171216,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:33:54] local.INFO: Acknowledgment sent {"connection_id":171216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:33:54] local.INFO: TCP Data received {"connection_id":171217,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:33:54] local.INFO: Processing buffer {"connection_id":171217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:33:54] local.INFO: IMEI packet received {"connection_id":171217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":171217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:33:56] local.INFO: TCP Data received {"connection_id":171217,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:33:56] local.INFO: Processing buffer {"connection_id":171217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:33:56] local.INFO: Packet analysis {"connection_id":171217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:33:56] local.INFO: Extracted packet for processing {"connection_id":171217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:33:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862825984001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788526965000,"timestamp_ms":1788526965000,"timestamp_seconds":1788526965,"priority":1,"record_length":96,"hex_timestamp":"000001a06c83b108"} 
[2026-09-04 18:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 18:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862825984001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862825984001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:33:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:33:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862825984001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":171217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764401,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:33:56] local.INFO: GPS data processed {"connection_id":171217,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:33:56] local.INFO: Acknowledgment sent {"connection_id":171217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:33:58] local.INFO: TCP Data received {"connection_id":170932,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:33:58] local.INFO: Processing buffer {"connection_id":170932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:33:58] local.INFO: IMEI packet received {"connection_id":170932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":170932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:33:59] local.INFO: TCP Data received {"connection_id":170932,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:33:59] local.INFO: Processing buffer {"connection_id":170932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:33:59] local.INFO: IMEI packet received {"connection_id":170932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":170932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:34:04] local.INFO: TCP Data received {"connection_id":170932,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:34:04] local.INFO: Processing buffer {"connection_id":170932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:34:04] local.INFO: IMEI packet received {"connection_id":170932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":170932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:34:04] local.INFO: TCP Data received {"connection_id":170932,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c82e9d0012cd53280073a1370000c00a831..."} 
[2026-09-04 18:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c82e9d0012cd53280073a1370000c00a831..."} 
[2026-09-04 18:34:04] local.INFO: Processing buffer {"connection_id":170932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c82e9d0012cd53280073a1370000c00a831..."} 
[2026-09-04 18:34:04] local.INFO: Packet analysis {"connection_id":170932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:34:04] local.INFO: Extracted packet for processing {"connection_id":170932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:34:04] local.INFO: GPS Element Parsed {"raw_longitude":752169600,"raw_latitude":121246576,"longitude_deg":75.21696,"latitude_deg":12.1246576,"altitude":12,"angle":168,"satellites":49,"speed":42,"hex_longitude":"2cd53280","hex_latitude":"073a1370","is_valid_coordinates":true} 
[2026-09-04 18:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862887680001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398387723129323520,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3086584194823309312,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788526914000,"timestamp_ms":1788526914000,"timestamp_seconds":1788526914,"priority":1,"record_length":96,"hex_timestamp":"000001a06c82e9d0"} 
[2026-09-04 18:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862887680001,"66":27876,"149":206,"83":43264,"24":42,"16":398387723129323520,"44":-3086584194823309312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 18:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862887680001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:34:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 18:34:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398387723129323520,"km_value":398387723129323.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:34:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3086584194823309312,"description":"Unknown IO ID 44"} 
[2026-09-04 18:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862887680001,"power":27876,"unknown_149":206,"unknown_83":43264,"ignition":42,"odometer":null,"unknown_44":-3086584194823309312}} 
[2026-09-04 18:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":170932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:34:04] local.INFO: GPS data processed {"connection_id":170932,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:34:04] local.INFO: Acknowledgment sent {"connection_id":170932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:34:25] local.INFO: TCP Data received {"connection_id":171216,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c82b708012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c82b708012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:34:25] local.INFO: Processing buffer {"connection_id":171216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c82b708012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:34:25] local.INFO: Packet analysis {"connection_id":171216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:34:25] local.INFO: Extracted packet for processing {"connection_id":171216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c82"} 
[2026-09-04 18:34:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862881280001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788526901000,"timestamp_ms":1788526901000,"timestamp_seconds":1788526901,"priority":1,"record_length":96,"hex_timestamp":"000001a06c82b708"} 
[2026-09-04 18:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862881280001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862881280001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:34:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:34:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862881280001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":171216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:34:25] local.INFO: GPS data processed {"connection_id":171216,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:34:25] local.INFO: Acknowledgment sent {"connection_id":171216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:34:27] local.INFO: TCP Data received {"connection_id":171217,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:34:27] local.INFO: Processing buffer {"connection_id":171217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:34:27] local.INFO: Packet analysis {"connection_id":171217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:34:27] local.INFO: Extracted packet for processing {"connection_id":171217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:34:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862825984001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526965000,"timestamp_ms":1788526965000,"timestamp_seconds":1788526965,"priority":1,"record_length":96,"hex_timestamp":"000001a06c83b108"} 
[2026-09-04 18:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 18:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862825984001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862825984001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:34:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862825984001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":171217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:34:27] local.INFO: GPS data processed {"connection_id":171217,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:34:27] local.INFO: Acknowledgment sent {"connection_id":171217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:34:36] local.INFO: TCP Data received {"connection_id":170932,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c830910012cd53a800739f060000c00aa31..."} 
[2026-09-04 18:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c830910012cd53a800739f060000c00aa31..."} 
[2026-09-04 18:34:36] local.INFO: Processing buffer {"connection_id":170932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c830910012cd53a800739f060000c00aa31..."} 
[2026-09-04 18:34:36] local.INFO: Packet analysis {"connection_id":170932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:34:36] local.INFO: Extracted packet for processing {"connection_id":170932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:34:36] local.INFO: GPS Element Parsed {"raw_longitude":752171648,"raw_latitude":121237600,"longitude_deg":75.2171648,"latitude_deg":12.12376,"altitude":12,"angle":170,"satellites":49,"speed":43,"hex_longitude":"2cd53a80","hex_latitude":"0739f060","is_valid_coordinates":true} 
[2026-09-04 18:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862889984001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398388165510955008,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3084262026267889664,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788526922000,"timestamp_ms":1788526922000,"timestamp_seconds":1788526922,"priority":1,"record_length":96,"hex_timestamp":"000001a06c830910"} 
[2026-09-04 18:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 18:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862889984001,"66":27821,"149":206,"83":43264,"24":43,"16":398388165510955008,"44":-3084262026267889664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-04 18:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862889984001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:34:36] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-04 18:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398388165510955008,"km_value":398388165510955.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:34:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3084262026267889664,"description":"Unknown IO ID 44"} 
[2026-09-04 18:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862889984001,"power":27821,"unknown_149":206,"unknown_83":43264,"ignition":43,"odometer":null,"unknown_44":-3084262026267889664}} 
[2026-09-04 18:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":170932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:34:36] local.INFO: GPS data processed {"connection_id":170932,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:34:36] local.INFO: Acknowledgment sent {"connection_id":170932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:34:53] local.INFO: TCP Data received {"connection_id":173626,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:34:53] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:34:53] local.INFO: IMEI packet received {"connection_id":173626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":173626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:34:54] local.INFO: TCP Data received {"connection_id":171218,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:34:54] local.INFO: Processing buffer {"connection_id":171218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:34:54] local.INFO: IMEI packet received {"connection_id":171218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":171218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:34:58] local.INFO: TCP Data received {"connection_id":173626,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:34:58] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:34:58] local.INFO: IMEI packet received {"connection_id":173626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":173626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:34:58] local.INFO: TCP Data received {"connection_id":172329,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:34:58] local.INFO: Processing buffer {"connection_id":172329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:34:58] local.INFO: IMEI packet received {"connection_id":172329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":172329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:34:58] local.INFO: TCP Data received {"connection_id":173626,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c830910012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c830910012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:34:58] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c830910012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:34:58] local.INFO: Packet analysis {"connection_id":173626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:34:58] local.INFO: Extracted packet for processing {"connection_id":173626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862886656001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788526922000,"timestamp_ms":1788526922000,"timestamp_seconds":1788526922,"priority":1,"record_length":96,"hex_timestamp":"000001a06c830910"} 
[2026-09-04 18:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862886656001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862886656001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:34:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862886656001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":173626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:34:58] local.INFO: GPS data processed {"connection_id":173626,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:34:58] local.INFO: Acknowledgment sent {"connection_id":173626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:34:59] local.INFO: TCP Data received {"connection_id":171218,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:34:59] local.INFO: Processing buffer {"connection_id":171218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:34:59] local.INFO: IMEI packet received {"connection_id":171218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":171218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:35:03] local.INFO: TCP Data received {"connection_id":173626,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c835730012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c835730012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:35:03] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c835730012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:35:03] local.INFO: Packet analysis {"connection_id":173626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:35:03] local.INFO: Extracted packet for processing {"connection_id":173626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862892032001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788526942000,"timestamp_ms":1788526942000,"timestamp_seconds":1788526942,"priority":1,"record_length":96,"hex_timestamp":"000001a06c835730"} 
[2026-09-04 18:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862892032001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862892032001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:35:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862892032001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":173626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:35:03] local.INFO: GPS data processed {"connection_id":173626,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:35:03] local.INFO: Acknowledgment sent {"connection_id":173626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:35:04] local.INFO: TCP Data received {"connection_id":172329,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:35:04] local.INFO: Processing buffer {"connection_id":172329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:35:04] local.INFO: IMEI packet received {"connection_id":172329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":172329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:35:05] local.INFO: TCP Data received {"connection_id":171218,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:35:05] local.INFO: Processing buffer {"connection_id":171218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:35:05] local.INFO: Packet analysis {"connection_id":171218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:35:05] local.INFO: Extracted packet for processing {"connection_id":171218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862825984001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788526965000,"timestamp_ms":1788526965000,"timestamp_seconds":1788526965,"priority":1,"record_length":96,"hex_timestamp":"000001a06c83b108"} 
[2026-09-04 18:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 18:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862825984001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862825984001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:35:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862825984001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":171218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764408,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:35:05] local.INFO: GPS data processed {"connection_id":171218,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:35:05] local.INFO: Acknowledgment sent {"connection_id":171218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:35:05] local.INFO: TCP Data received {"connection_id":172329,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c849780012cd55c8007386ea0000d00a033..."} 
[2026-09-04 18:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c849780012cd55c8007386ea0000d00a033..."} 
[2026-09-04 18:35:05] local.INFO: Processing buffer {"connection_id":172329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c849780012cd55c8007386ea0000d00a033..."} 
[2026-09-04 18:35:05] local.INFO: Packet analysis {"connection_id":172329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c84"} 
[2026-09-04 18:35:05] local.INFO: Extracted packet for processing {"connection_id":172329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c84"} 
[2026-09-04 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":752180352,"raw_latitude":121138848,"longitude_deg":75.2180352,"latitude_deg":12.1138848,"altitude":13,"angle":160,"satellites":51,"speed":27,"hex_longitude":"2cd55c80","hex_latitude":"07386ea0","is_valid_coordinates":true} 
[2026-09-04 18:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862915072001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398393010234064896,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3075817776991903744,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788527024000,"timestamp_ms":1788527024000,"timestamp_seconds":1788527024,"priority":1,"record_length":96,"hex_timestamp":"000001a06c849780"} 
[2026-09-04 18:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 18:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862915072001,"66":27865,"150":206,"83":43264,"24":27,"16":398393010234064896,"44":-3075817776991903744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-04 18:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862915072001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:35:05] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-04 18:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398393010234064896,"km_value":398393010234064.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3075817776991903744,"description":"Unknown IO ID 44"} 
[2026-09-04 18:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862915072001,"power":27865,"unknown_150":206,"unknown_83":43264,"ignition":27,"odometer":null,"unknown_44":-3075817776991903744}} 
[2026-09-04 18:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":172329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:35:05] local.INFO: GPS data processed {"connection_id":172329,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:35:05] local.INFO: Acknowledgment sent {"connection_id":172329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:35:06] local.INFO: TCP Data received {"connection_id":171218,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:35:06] local.INFO: Processing buffer {"connection_id":171218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:35:06] local.INFO: Packet analysis {"connection_id":171218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:35:06] local.INFO: Extracted packet for processing {"connection_id":171218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862825984001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788526965000,"timestamp_ms":1788526965000,"timestamp_seconds":1788526965,"priority":1,"record_length":96,"hex_timestamp":"000001a06c83b108"} 
[2026-09-04 18:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 18:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862825984001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862825984001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:35:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:35:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862825984001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":171218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764410,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:35:06] local.INFO: GPS data processed {"connection_id":171218,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:35:06] local.INFO: Acknowledgment sent {"connection_id":171218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:35:36] local.INFO: TCP Data received {"connection_id":172329,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c84ca48012cd5684007384c50000d009f32..."} 
[2026-09-04 18:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c84ca48012cd5684007384c50000d009f32..."} 
[2026-09-04 18:35:36] local.INFO: Processing buffer {"connection_id":172329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c84ca48012cd5684007384c50000d009f32..."} 
[2026-09-04 18:35:36] local.INFO: Packet analysis {"connection_id":172329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c84"} 
[2026-09-04 18:35:36] local.INFO: Extracted packet for processing {"connection_id":172329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c84"} 
[2026-09-04 18:35:36] local.INFO: GPS Element Parsed {"raw_longitude":752183360,"raw_latitude":121130064,"longitude_deg":75.218336,"latitude_deg":12.1130064,"altitude":13,"angle":159,"satellites":50,"speed":26,"hex_longitude":"2cd56840","hex_latitude":"07384c50","is_valid_coordinates":true} 
[2026-09-04 18:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862918144001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398393456910663680,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3072440077273620480,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788527037000,"timestamp_ms":1788527037000,"timestamp_seconds":1788527037,"priority":1,"record_length":96,"hex_timestamp":"000001a06c84ca48"} 
[2026-09-04 18:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 18:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862918144001,"66":27887,"150":206,"83":43264,"24":26,"16":398393456910663680,"44":-3072440077273620480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-04 18:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862918144001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:35:36] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-04 18:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398393456910663680,"km_value":398393456910663.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:35:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3072440077273620480,"description":"Unknown IO ID 44"} 
[2026-09-04 18:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862918144001,"power":27887,"unknown_150":206,"unknown_83":43264,"ignition":26,"odometer":null,"unknown_44":-3072440077273620480}} 
[2026-09-04 18:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":172329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:35:36] local.INFO: GPS data processed {"connection_id":172329,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:35:36] local.INFO: Acknowledgment sent {"connection_id":172329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:35:48] local.INFO: TCP Data received {"connection_id":173627,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:35:48] local.INFO: Processing buffer {"connection_id":173627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:35:48] local.INFO: IMEI packet received {"connection_id":173627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":173627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:35:48] local.INFO: TCP Data received {"connection_id":173627,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:35:48] local.INFO: Processing buffer {"connection_id":173627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:35:48] local.INFO: IMEI packet received {"connection_id":173627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":173627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:35:49] local.INFO: TCP Data received {"connection_id":172330,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:35:49] local.INFO: Processing buffer {"connection_id":172330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:35:49] local.INFO: IMEI packet received {"connection_id":172330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":172330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:35:53] local.INFO: TCP Data received {"connection_id":173627,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:35:53] local.INFO: Processing buffer {"connection_id":173627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:35:53] local.INFO: IMEI packet received {"connection_id":173627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":173627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:35:53] local.INFO: TCP Data received {"connection_id":173627,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c83a938012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c83a938012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:35:53] local.INFO: Processing buffer {"connection_id":173627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c83a938012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:35:53] local.INFO: Packet analysis {"connection_id":173627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:35:53] local.INFO: Extracted packet for processing {"connection_id":173627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:35:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862897152001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788526963000,"timestamp_ms":1788526963000,"timestamp_seconds":1788526963,"priority":1,"record_length":96,"hex_timestamp":"000001a06c83a938"} 
[2026-09-04 18:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862897152001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862897152001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:35:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:35:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862897152001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":173627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:35:53] local.INFO: GPS data processed {"connection_id":173627,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:35:53] local.INFO: Acknowledgment sent {"connection_id":173627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:35:54] local.INFO: TCP Data received {"connection_id":172330,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:35:54] local.INFO: Processing buffer {"connection_id":172330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:35:54] local.INFO: IMEI packet received {"connection_id":172330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":172330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:35:55] local.INFO: TCP Data received {"connection_id":172330,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:35:55] local.INFO: Processing buffer {"connection_id":172330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:35:55] local.INFO: Packet analysis {"connection_id":172330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:35:55] local.INFO: Extracted packet for processing {"connection_id":172330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862825984001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788526965000,"timestamp_ms":1788526965000,"timestamp_seconds":1788526965,"priority":1,"record_length":96,"hex_timestamp":"000001a06c83b108"} 
[2026-09-04 18:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 18:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172330,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172330,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862825984001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862825984001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:35:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862825984001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":172330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764413,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:35:55] local.INFO: GPS data processed {"connection_id":172330,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:35:55] local.INFO: Acknowledgment sent {"connection_id":172330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:35:58] local.INFO: TCP Data received {"connection_id":173627,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c83fb40012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c83fb40012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:35:58] local.INFO: Processing buffer {"connection_id":173627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c83fb40012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:35:58] local.INFO: Packet analysis {"connection_id":173627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:35:58] local.INFO: Extracted packet for processing {"connection_id":173627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:35:58] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862902528001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788526984000,"timestamp_ms":1788526984000,"timestamp_seconds":1788526984,"priority":1,"record_length":96,"hex_timestamp":"000001a06c83fb40"} 
[2026-09-04 18:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862902528001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862902528001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:35:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862902528001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":173627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:35:58] local.INFO: GPS data processed {"connection_id":173627,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:35:58] local.INFO: Acknowledgment sent {"connection_id":173627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:35:58] local.INFO: TCP Data received {"connection_id":173628,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:35:58] local.INFO: Processing buffer {"connection_id":173628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:35:58] local.INFO: IMEI packet received {"connection_id":173628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":173628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:36:04] local.INFO: TCP Data received {"connection_id":173628,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:36:04] local.INFO: Processing buffer {"connection_id":173628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:36:04] local.INFO: IMEI packet received {"connection_id":173628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":173628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:36:05] local.INFO: TCP Data received {"connection_id":173628,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8504e0012cd57580073829c0000d009830..."} 
[2026-09-04 18:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8504e0012cd57580073829c0000d009830..."} 
[2026-09-04 18:36:05] local.INFO: Processing buffer {"connection_id":173628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8504e0012cd57580073829c0000d009830..."} 
[2026-09-04 18:36:05] local.INFO: Packet analysis {"connection_id":173628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c85"} 
[2026-09-04 18:36:05] local.INFO: Extracted packet for processing {"connection_id":173628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c85"} 
[2026-09-04 18:36:05] local.INFO: GPS Element Parsed {"raw_longitude":752186752,"raw_latitude":121121216,"longitude_deg":75.2186752,"latitude_deg":12.1121216,"altitude":13,"angle":152,"satellites":48,"speed":26,"hex_longitude":"2cd57580","hex_latitude":"073829c0","is_valid_coordinates":true} 
[2026-09-04 18:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862921472001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398393916472164352,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3069132746299518976,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788527052000,"timestamp_ms":1788527052000,"timestamp_seconds":1788527052,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8504e0"} 
[2026-09-04 18:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 18:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862921472001,"66":27908,"180":206,"83":43264,"24":26,"16":398393916472164352,"44":-3069132746299518976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-04 18:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862921472001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:36:05] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-04 18:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398393916472164352,"km_value":398393916472164.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:36:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3069132746299518976,"description":"Unknown IO ID 44"} 
[2026-09-04 18:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862921472001,"power":27908,"unknown_180":206,"unknown_83":43264,"ignition":26,"odometer":null,"unknown_44":-3069132746299518976}} 
[2026-09-04 18:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":173628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:36:05] local.INFO: GPS data processed {"connection_id":173628,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:36:05] local.INFO: Acknowledgment sent {"connection_id":173628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:36:27] local.INFO: TCP Data received {"connection_id":172330,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:36:27] local.INFO: Processing buffer {"connection_id":172330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:36:27] local.INFO: Packet analysis {"connection_id":172330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:36:27] local.INFO: Extracted packet for processing {"connection_id":172330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:36:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862825984001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788526965000,"timestamp_ms":1788526965000,"timestamp_seconds":1788526965,"priority":1,"record_length":96,"hex_timestamp":"000001a06c83b108"} 
[2026-09-04 18:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 18:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172330,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172330,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862825984001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862825984001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:36:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:36:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862825984001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":172330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764416,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:36:27] local.INFO: GPS data processed {"connection_id":172330,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:36:27] local.INFO: Acknowledgment sent {"connection_id":172330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:36:29] local.INFO: TCP Data received {"connection_id":173627,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c845130012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c845130012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:36:29] local.INFO: Processing buffer {"connection_id":173627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c845130012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:36:29] local.INFO: Packet analysis {"connection_id":173627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c84"} 
[2026-09-04 18:36:29] local.INFO: Extracted packet for processing {"connection_id":173627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c84"} 
[2026-09-04 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862907904001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788527006000,"timestamp_ms":1788527006000,"timestamp_seconds":1788527006,"priority":1,"record_length":96,"hex_timestamp":"000001a06c845130"} 
[2026-09-04 18:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862907904001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862907904001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:36:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862907904001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":173627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:36:29] local.INFO: GPS data processed {"connection_id":173627,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:36:29] local.INFO: Acknowledgment sent {"connection_id":173627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:36:36] local.INFO: TCP Data received {"connection_id":173628,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c869350012cd63480073757e80009005a2e..."} 
[2026-09-04 18:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c869350012cd63480073757e80009005a2e..."} 
[2026-09-04 18:36:36] local.INFO: Processing buffer {"connection_id":173628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c869350012cd63480073757e80009005a2e..."} 
[2026-09-04 18:36:36] local.INFO: Packet analysis {"connection_id":173628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c86"} 
[2026-09-04 18:36:36] local.INFO: Extracted packet for processing {"connection_id":173628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c86"} 
[2026-09-04 18:36:36] local.INFO: GPS Element Parsed {"raw_longitude":752235648,"raw_latitude":121067496,"longitude_deg":75.2235648,"latitude_deg":12.1067496,"altitude":9,"angle":90,"satellites":46,"speed":9,"hex_longitude":"2cd63480","hex_latitude":"073757e8","is_valid_coordinates":true} 
[2026-09-04 18:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862950656001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398397429755412480,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3012626644740855808,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788527154000,"timestamp_ms":1788527154000,"timestamp_seconds":1788527154,"priority":1,"record_length":96,"hex_timestamp":"000001a06c869350"} 
[2026-09-04 18:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 18:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862950656001,"66":27832,"181":206,"83":43264,"24":9,"16":398397429755412480,"44":-3012626644740855808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-04 18:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862950656001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:36:36] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 18:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398397429755412480,"km_value":398397429755412.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:36:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3012626644740855808,"description":"Unknown IO ID 44"} 
[2026-09-04 18:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862950656001,"power":27832,"unknown_181":206,"unknown_83":43264,"ignition":9,"odometer":null,"unknown_44":-3012626644740855808}} 
[2026-09-04 18:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":173628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:36:36] local.INFO: GPS data processed {"connection_id":173628,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:36:36] local.INFO: Acknowledgment sent {"connection_id":173628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:36:48] local.INFO: TCP Data received {"connection_id":172331,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:36:48] local.INFO: Processing buffer {"connection_id":172331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:36:48] local.INFO: IMEI packet received {"connection_id":172331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":172331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:36:48] local.INFO: TCP Data received {"connection_id":173629,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:36:48] local.INFO: Processing buffer {"connection_id":173629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:36:48] local.INFO: IMEI packet received {"connection_id":173629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":173629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:36:52] local.INFO: TCP Data received {"connection_id":172331,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:36:52] local.INFO: Processing buffer {"connection_id":172331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:36:52] local.INFO: IMEI packet received {"connection_id":172331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":172331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:36:52] local.INFO: TCP Data received {"connection_id":172331,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c84a338012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c84a338012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:36:52] local.INFO: Processing buffer {"connection_id":172331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c84a338012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:36:52] local.INFO: Packet analysis {"connection_id":172331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c84"} 
[2026-09-04 18:36:52] local.INFO: Extracted packet for processing {"connection_id":172331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c84"} 
[2026-09-04 18:36:52] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862913536001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788527027000,"timestamp_ms":1788527027000,"timestamp_seconds":1788527027,"priority":1,"record_length":96,"hex_timestamp":"000001a06c84a338"} 
[2026-09-04 18:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862913536001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862913536001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:36:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:36:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862913536001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":172331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:36:53] local.INFO: GPS data processed {"connection_id":172331,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:36:53] local.INFO: Acknowledgment sent {"connection_id":172331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:36:54] local.INFO: TCP Data received {"connection_id":173629,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:36:54] local.INFO: Processing buffer {"connection_id":173629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:36:54] local.INFO: IMEI packet received {"connection_id":173629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":173629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:36:55] local.INFO: TCP Data received {"connection_id":173629,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:36:55] local.INFO: Processing buffer {"connection_id":173629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:36:55] local.INFO: Packet analysis {"connection_id":173629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:36:55] local.INFO: Extracted packet for processing {"connection_id":173629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:36:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862825984001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788526965000,"timestamp_ms":1788526965000,"timestamp_seconds":1788526965,"priority":1,"record_length":96,"hex_timestamp":"000001a06c83b108"} 
[2026-09-04 18:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 18:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862825984001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862825984001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:36:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862825984001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":173629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764420,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:36:55] local.INFO: GPS data processed {"connection_id":173629,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:36:55] local.INFO: Acknowledgment sent {"connection_id":173629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:36:58] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:36:58] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:36:58] local.INFO: IMEI packet received {"connection_id":173630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":173630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:37:03] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:37:03] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:37:03] local.INFO: IMEI packet received {"connection_id":173630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":173630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:37:04] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c869b20012cd63600073758280008004b27..."} 
[2026-09-04 18:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c869b20012cd63600073758280008004b27..."} 
[2026-09-04 18:37:04] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c869b20012cd63600073758280008004b27..."} 
[2026-09-04 18:37:04] local.INFO: Packet analysis {"connection_id":173630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c86"} 
[2026-09-04 18:37:04] local.INFO: Extracted packet for processing {"connection_id":173630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c86"} 
[2026-09-04 18:37:04] local.INFO: GPS Element Parsed {"raw_longitude":752236032,"raw_latitude":121067560,"longitude_deg":75.2236032,"latitude_deg":12.106756,"altitude":8,"angle":75,"satellites":39,"speed":8,"hex_longitude":"2cd63600","hex_latitude":"07375828","is_valid_coordinates":true} 
[2026-09-04 18:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862951424001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398397446935281664,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3011641482322384896,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788527156000,"timestamp_ms":1788527156000,"timestamp_seconds":1788527156,"priority":1,"record_length":96,"hex_timestamp":"000001a06c869b20"} 
[2026-09-04 18:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 18:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862951424001,"66":27800,"181":206,"83":43264,"24":8,"16":398397446935281664,"44":-3011641482322384896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-04 18:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862951424001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:37:04] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 18:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398397446935281664,"km_value":398397446935281.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:37:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3011641482322384896,"description":"Unknown IO ID 44"} 
[2026-09-04 18:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862951424001,"power":27800,"unknown_181":206,"unknown_83":43264,"ignition":8,"odometer":null,"unknown_44":-3011641482322384896}} 
[2026-09-04 18:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":173630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:37:04] local.INFO: GPS data processed {"connection_id":173630,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:37:04] local.INFO: Acknowledgment sent {"connection_id":173630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:37:24] local.INFO: TCP Data received {"connection_id":172331,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c84f540012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c84f540012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:37:24] local.INFO: Processing buffer {"connection_id":172331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c84f540012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:37:24] local.INFO: Packet analysis {"connection_id":172331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c84"} 
[2026-09-04 18:37:24] local.INFO: Extracted packet for processing {"connection_id":172331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c84"} 
[2026-09-04 18:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862918912001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788527048000,"timestamp_ms":1788527048000,"timestamp_seconds":1788527048,"priority":1,"record_length":96,"hex_timestamp":"000001a06c84f540"} 
[2026-09-04 18:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862918912001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862918912001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:37:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:37:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862918912001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":172331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:37:24] local.INFO: GPS data processed {"connection_id":172331,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:37:24] local.INFO: Acknowledgment sent {"connection_id":172331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:37:26] local.INFO: TCP Data received {"connection_id":173629,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:37:26] local.INFO: Processing buffer {"connection_id":173629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:37:26] local.INFO: Packet analysis {"connection_id":173629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:37:26] local.INFO: Extracted packet for processing {"connection_id":173629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:37:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862825984001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788526965000,"timestamp_ms":1788526965000,"timestamp_seconds":1788526965,"priority":1,"record_length":96,"hex_timestamp":"000001a06c83b108"} 
[2026-09-04 18:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 18:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862825984001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862825984001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:37:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:37:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862825984001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":173629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764423,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:37:27] local.INFO: GPS data processed {"connection_id":173629,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:37:27] local.INFO: Acknowledgment sent {"connection_id":173629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:37:35] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c86a2f0012cd63780073758400008005728..."} 
[2026-09-04 18:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c86a2f0012cd63780073758400008005728..."} 
[2026-09-04 18:37:35] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c86a2f0012cd63780073758400008005728..."} 
[2026-09-04 18:37:35] local.INFO: Packet analysis {"connection_id":173630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c86"} 
[2026-09-04 18:37:35] local.INFO: Extracted packet for processing {"connection_id":173630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c86"} 
[2026-09-04 18:37:35] local.INFO: GPS Element Parsed {"raw_longitude":752236416,"raw_latitude":121067584,"longitude_deg":75.2236416,"latitude_deg":12.1067584,"altitude":8,"angle":87,"satellites":40,"speed":5,"hex_longitude":"2cd63780","hex_latitude":"07375840","is_valid_coordinates":true} 
[2026-09-04 18:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862951936001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398397464115150848,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3011219269857302528,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788527158000,"timestamp_ms":1788527158000,"timestamp_seconds":1788527158,"priority":1,"record_length":96,"hex_timestamp":"000001a06c86a2f0"} 
[2026-09-04 18:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 18:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862951936001,"66":27887,"181":206,"83":43264,"24":5,"16":398397464115150848,"44":-3011219269857302528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-04 18:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862951936001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:37:35] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 18:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-04 18:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398397464115150848,"km_value":398397464115150.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3011219269857302528,"description":"Unknown IO ID 44"} 
[2026-09-04 18:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862951936001,"power":27887,"unknown_181":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3011219269857302528}} 
[2026-09-04 18:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":173630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:37:35] local.INFO: GPS data processed {"connection_id":173630,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:37:35] local.INFO: Acknowledgment sent {"connection_id":173630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:37:48] local.INFO: TCP Data received {"connection_id":173631,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:37:48] local.INFO: Processing buffer {"connection_id":173631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:37:48] local.INFO: IMEI packet received {"connection_id":173631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":173631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:37:48] local.INFO: TCP Data received {"connection_id":170933,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:37:48] local.INFO: Processing buffer {"connection_id":170933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:37:48] local.INFO: IMEI packet received {"connection_id":170933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":170933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:37:53] local.INFO: TCP Data received {"connection_id":173631,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:37:53] local.INFO: Processing buffer {"connection_id":173631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:37:53] local.INFO: IMEI packet received {"connection_id":173631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":173631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:37:53] local.INFO: TCP Data received {"connection_id":173631,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c854748012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c854748012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:37:53] local.INFO: Processing buffer {"connection_id":173631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c854748012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:37:53] local.INFO: Packet analysis {"connection_id":173631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c85"} 
[2026-09-04 18:37:53] local.INFO: Extracted packet for processing {"connection_id":173631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c85"} 
[2026-09-04 18:37:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862924288001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788527069000,"timestamp_ms":1788527069000,"timestamp_seconds":1788527069,"priority":1,"record_length":96,"hex_timestamp":"000001a06c854748"} 
[2026-09-04 18:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862924288001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862924288001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:37:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:37:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862924288001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":173631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:37:53] local.INFO: GPS data processed {"connection_id":173631,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:37:53] local.INFO: Acknowledgment sent {"connection_id":173631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:37:54] local.INFO: TCP Data received {"connection_id":170933,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:37:54] local.INFO: Processing buffer {"connection_id":170933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:37:54] local.INFO: IMEI packet received {"connection_id":170933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":170933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:37:55] local.INFO: TCP Data received {"connection_id":170933,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:37:55] local.INFO: Processing buffer {"connection_id":170933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c83b108012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:37:55] local.INFO: Packet analysis {"connection_id":170933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:37:55] local.INFO: Extracted packet for processing {"connection_id":170933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c83"} 
[2026-09-04 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862825984001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788526965000,"timestamp_ms":1788526965000,"timestamp_seconds":1788526965,"priority":1,"record_length":96,"hex_timestamp":"000001a06c83b108"} 
[2026-09-04 18:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 18:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862825984001,"66":25245,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862825984001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:37:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:37:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862825984001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":170933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764426,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:37:55] local.INFO: GPS data processed {"connection_id":170933,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:37:55] local.INFO: Acknowledgment sent {"connection_id":170933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:37:58] local.INFO: TCP Data received {"connection_id":172332,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:37:58] local.INFO: Processing buffer {"connection_id":172332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:37:58] local.INFO: IMEI packet received {"connection_id":172332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":172332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:38:04] local.INFO: TCP Data received {"connection_id":172332,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:38:04] local.INFO: Processing buffer {"connection_id":172332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:38:04] local.INFO: IMEI packet received {"connection_id":172332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":172332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:38:05] local.INFO: TCP Data received {"connection_id":172332,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c877db0012cd6aa000736ef300009007b31..."} 
[2026-09-04 18:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c877db0012cd6aa000736ef300009007b31..."} 
[2026-09-04 18:38:05] local.INFO: Processing buffer {"connection_id":172332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c877db0012cd6aa000736ef300009007b31..."} 
[2026-09-04 18:38:05] local.INFO: Packet analysis {"connection_id":172332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c87"} 
[2026-09-04 18:38:05] local.INFO: Extracted packet for processing {"connection_id":172332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c87"} 
[2026-09-04 18:38:05] local.INFO: GPS Element Parsed {"raw_longitude":752265728,"raw_latitude":121040688,"longitude_deg":75.2265728,"latitude_deg":12.1040688,"altitude":9,"angle":123,"satellites":49,"speed":36,"hex_longitude":"2cd6aa00","hex_latitude":"0736ef30","is_valid_coordinates":true} 
[2026-09-04 18:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862964224001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398399439800107008,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2987716109307617280,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788527214000,"timestamp_ms":1788527214000,"timestamp_seconds":1788527214,"priority":1,"record_length":96,"hex_timestamp":"000001a06c877db0"} 
[2026-09-04 18:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 18:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862964224001,"66":27843,"165":206,"83":40960,"24":36,"16":398399439800107008,"44":-2987716109307617280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-04 18:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862964224001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:38:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 18:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398399439800107008,"km_value":398399439800107.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2987716109307617280,"description":"Unknown IO ID 44"} 
[2026-09-04 18:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862964224001,"power":27843,"unknown_165":206,"unknown_83":40960,"ignition":36,"odometer":null,"unknown_44":-2987716109307617280}} 
[2026-09-04 18:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":172332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:38:05] local.INFO: GPS data processed {"connection_id":172332,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:38:05] local.INFO: Acknowledgment sent {"connection_id":172332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:38:25] local.INFO: TCP Data received {"connection_id":173631,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c859950012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c859950012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:38:25] local.INFO: Processing buffer {"connection_id":173631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c859950012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:38:25] local.INFO: Packet analysis {"connection_id":173631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c85"} 
[2026-09-04 18:38:25] local.INFO: Extracted packet for processing {"connection_id":173631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c85"} 
[2026-09-04 18:38:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862929664001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788527090000,"timestamp_ms":1788527090000,"timestamp_seconds":1788527090,"priority":1,"record_length":96,"hex_timestamp":"000001a06c859950"} 
[2026-09-04 18:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862929664001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862929664001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:38:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:38:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862929664001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":173631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:38:25] local.INFO: GPS data processed {"connection_id":173631,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:38:25] local.INFO: Acknowledgment sent {"connection_id":173631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:38:26] local.INFO: TCP Data received {"connection_id":170933,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:38:26] local.INFO: Processing buffer {"connection_id":170933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:38:26] local.INFO: Packet analysis {"connection_id":170933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:38:26] local.INFO: Extracted packet for processing {"connection_id":170933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:38:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862903040001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788527266000,"timestamp_ms":1788527266000,"timestamp_seconds":1788527266,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8848d0"} 
[2026-09-04 18:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862903040001,"66":25191,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862903040001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:38:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:38:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862903040001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":170933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764429,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:38:27] local.INFO: GPS data processed {"connection_id":170933,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:38:27] local.INFO: Acknowledgment sent {"connection_id":170933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:38:36] local.INFO: TCP Data received {"connection_id":172332,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c87a0d8012cd6c2400736db780009008630..."} 
[2026-09-04 18:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c87a0d8012cd6c2400736db780009008630..."} 
[2026-09-04 18:38:36] local.INFO: Processing buffer {"connection_id":172332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c87a0d8012cd6c2400736db780009008630..."} 
[2026-09-04 18:38:36] local.INFO: Packet analysis {"connection_id":172332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c87"} 
[2026-09-04 18:38:36] local.INFO: Extracted packet for processing {"connection_id":172332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c87"} 
[2026-09-04 18:38:36] local.INFO: GPS Element Parsed {"raw_longitude":752271936,"raw_latitude":121035640,"longitude_deg":75.2271936,"latitude_deg":12.103564,"altitude":9,"angle":134,"satellites":48,"speed":35,"hex_longitude":"2cd6c240","hex_latitude":"0736db78","is_valid_coordinates":true} 
[2026-09-04 18:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862966784001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398399826347163648,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2978568172565745664,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788527223000,"timestamp_ms":1788527223000,"timestamp_seconds":1788527223,"priority":1,"record_length":96,"hex_timestamp":"000001a06c87a0d8"} 
[2026-09-04 18:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 18:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862966784001,"66":27908,"165":206,"83":40960,"24":35,"16":398399826347163648,"44":-2978568172565745664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-04 18:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862966784001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:38:36] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 18:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398399826347163648,"km_value":398399826347163.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:38:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2978568172565745664,"description":"Unknown IO ID 44"} 
[2026-09-04 18:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862966784001,"power":27908,"unknown_165":206,"unknown_83":40960,"ignition":35,"odometer":null,"unknown_44":-2978568172565745664}} 
[2026-09-04 18:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":172332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:38:36] local.INFO: GPS data processed {"connection_id":172332,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:38:36] local.INFO: Acknowledgment sent {"connection_id":172332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:38:47] local.INFO: TCP Data received {"connection_id":173632,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:38:47] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:38:47] local.INFO: IMEI packet received {"connection_id":173632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":173632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:38:53] local.INFO: TCP Data received {"connection_id":173632,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:38:53] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:38:53] local.INFO: IMEI packet received {"connection_id":173632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":173632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:38:53] local.INFO: TCP Data received {"connection_id":173632,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c85eb58012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c85eb58012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:38:53] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c85eb58012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:38:53] local.INFO: Packet analysis {"connection_id":173632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c85"} 
[2026-09-04 18:38:53] local.INFO: Extracted packet for processing {"connection_id":173632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c85"} 
[2026-09-04 18:38:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862935040001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788527111000,"timestamp_ms":1788527111000,"timestamp_seconds":1788527111,"priority":1,"record_length":96,"hex_timestamp":"000001a06c85eb58"} 
[2026-09-04 18:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862935040001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862935040001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:38:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:38:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862935040001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":173632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:38:53] local.INFO: GPS data processed {"connection_id":173632,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:38:53] local.INFO: Acknowledgment sent {"connection_id":173632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:38:54] local.INFO: TCP Data received {"connection_id":170934,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:38:54] local.INFO: Processing buffer {"connection_id":170934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:38:54] local.INFO: IMEI packet received {"connection_id":170934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":170934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:38:59] local.INFO: TCP Data received {"connection_id":170934,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:38:59] local.INFO: Processing buffer {"connection_id":170934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:38:59] local.INFO: IMEI packet received {"connection_id":170934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":170934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:39:01] local.INFO: TCP Data received {"connection_id":170934,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:39:01] local.INFO: Processing buffer {"connection_id":170934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:39:01] local.INFO: Packet analysis {"connection_id":170934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:39:01] local.INFO: Extracted packet for processing {"connection_id":170934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:39:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862903040001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788527266000,"timestamp_ms":1788527266000,"timestamp_seconds":1788527266,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8848d0"} 
[2026-09-04 18:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":170934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":170934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":170934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862903040001,"66":25191,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862903040001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:39:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:39:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862903040001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":170934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764432,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:39:01] local.INFO: GPS data processed {"connection_id":170934,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:39:01] local.INFO: Acknowledgment sent {"connection_id":170934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:39:04] local.INFO: TCP Data received {"connection_id":170935,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:39:04] local.INFO: Processing buffer {"connection_id":170935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:39:04] local.INFO: IMEI packet received {"connection_id":170935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":170935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:39:04] local.INFO: TCP Data received {"connection_id":170935,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:39:04] local.INFO: Processing buffer {"connection_id":170935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:39:04] local.INFO: IMEI packet received {"connection_id":170935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":170935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:39:05] local.INFO: TCP Data received {"connection_id":170935,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c87cfb8012cd6da800736c1d0000b008d33..."} 
[2026-09-04 18:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c87cfb8012cd6da800736c1d0000b008d33..."} 
[2026-09-04 18:39:05] local.INFO: Processing buffer {"connection_id":170935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c87cfb8012cd6da800736c1d0000b008d33..."} 
[2026-09-04 18:39:05] local.INFO: Packet analysis {"connection_id":170935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c87"} 
[2026-09-04 18:39:05] local.INFO: Extracted packet for processing {"connection_id":170935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c87"} 
[2026-09-04 18:39:05] local.INFO: GPS Element Parsed {"raw_longitude":752278144,"raw_latitude":121029072,"longitude_deg":75.2278144,"latitude_deg":12.1029072,"altitude":11,"angle":141,"satellites":51,"speed":25,"hex_longitude":"2cd6da80","hex_latitude":"0736c1d0","is_valid_coordinates":true} 
[2026-09-04 18:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862969088001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398400260138860544,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2971742404381804544,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788527235000,"timestamp_ms":1788527235000,"timestamp_seconds":1788527235,"priority":1,"record_length":96,"hex_timestamp":"000001a06c87cfb8"} 
[2026-09-04 18:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862969088001,"66":27908,"165":206,"83":40960,"24":25,"16":398400260138860544,"44":-2971742404381804544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-04 18:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862969088001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:39:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 18:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398400260138860544,"km_value":398400260138860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:39:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2971742404381804544,"description":"Unknown IO ID 44"} 
[2026-09-04 18:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862969088001,"power":27908,"unknown_165":206,"unknown_83":40960,"ignition":25,"odometer":null,"unknown_44":-2971742404381804544}} 
[2026-09-04 18:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":170935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:39:05] local.INFO: GPS data processed {"connection_id":170935,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:39:05] local.INFO: Acknowledgment sent {"connection_id":170935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:39:09] local.INFO: TCP Data received {"connection_id":170935,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c87fe98012cd6ea400736b070000c009c33..."} 
[2026-09-04 18:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c87fe98012cd6ea400736b070000c009c33..."} 
[2026-09-04 18:39:09] local.INFO: Processing buffer {"connection_id":170935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c87fe98012cd6ea400736b070000c009c33..."} 
[2026-09-04 18:39:09] local.INFO: Packet analysis {"connection_id":170935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c87"} 
[2026-09-04 18:39:09] local.INFO: Extracted packet for processing {"connection_id":170935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c87"} 
[2026-09-04 18:39:09] local.INFO: GPS Element Parsed {"raw_longitude":752282176,"raw_latitude":121024624,"longitude_deg":75.2282176,"latitude_deg":12.1024624,"altitude":12,"angle":156,"satellites":51,"speed":17,"hex_longitude":"2cd6ea40","hex_latitude":"0736b070","is_valid_coordinates":true} 
[2026-09-04 18:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862972160001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398400547901669376,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2964916636198252544,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788527247000,"timestamp_ms":1788527247000,"timestamp_seconds":1788527247,"priority":1,"record_length":96,"hex_timestamp":"000001a06c87fe98"} 
[2026-09-04 18:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862972160001,"66":27800,"165":206,"83":40960,"24":17,"16":398400547901669376,"44":-2964916636198252544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-04 18:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862972160001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:39:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-04 18:39:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398400547901669376,"km_value":398400547901669.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2964916636198252544,"description":"Unknown IO ID 44"} 
[2026-09-04 18:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862972160001,"power":27800,"unknown_165":206,"unknown_83":40960,"ignition":17,"odometer":null,"unknown_44":-2964916636198252544}} 
[2026-09-04 18:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":170935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:39:09] local.INFO: GPS data processed {"connection_id":170935,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:39:09] local.INFO: Acknowledgment sent {"connection_id":170935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:39:25] local.INFO: TCP Data received {"connection_id":173632,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c863d60012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c863d60012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:39:25] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c863d60012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:39:25] local.INFO: Packet analysis {"connection_id":173632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c86"} 
[2026-09-04 18:39:25] local.INFO: Extracted packet for processing {"connection_id":173632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c86"} 
[2026-09-04 18:39:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862940416001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788527132000,"timestamp_ms":1788527132000,"timestamp_seconds":1788527132,"priority":1,"record_length":96,"hex_timestamp":"000001a06c863d60"} 
[2026-09-04 18:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862940416001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862940416001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:39:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:39:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862940416001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":173632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:39:25] local.INFO: GPS data processed {"connection_id":173632,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:39:25] local.INFO: Acknowledgment sent {"connection_id":173632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:39:33] local.INFO: TCP Data received {"connection_id":170934,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:39:33] local.INFO: Processing buffer {"connection_id":170934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:39:33] local.INFO: Packet analysis {"connection_id":170934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:39:33] local.INFO: Extracted packet for processing {"connection_id":170934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:39:33] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862903040001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788527266000,"timestamp_ms":1788527266000,"timestamp_seconds":1788527266,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8848d0"} 
[2026-09-04 18:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":170934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":170934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":170934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862903040001,"66":25191,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862903040001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:39:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:39:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862903040001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":170934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:39:33] local.INFO: GPS data processed {"connection_id":170934,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:39:33] local.INFO: Acknowledgment sent {"connection_id":170934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:39:40] local.INFO: TCP Data received {"connection_id":170935,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c893330012cd83b40073604e8000e007632..."} 
[2026-09-04 18:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c893330012cd83b40073604e8000e007632..."} 
[2026-09-04 18:39:40] local.INFO: Processing buffer {"connection_id":170935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c893330012cd83b40073604e8000e007632..."} 
[2026-09-04 18:39:40] local.INFO: Packet analysis {"connection_id":170935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c89"} 
[2026-09-04 18:39:40] local.INFO: Extracted packet for processing {"connection_id":170935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c89"} 
[2026-09-04 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":752368448,"raw_latitude":120980712,"longitude_deg":75.2368448,"latitude_deg":12.0980712,"altitude":14,"angle":118,"satellites":50,"speed":56,"hex_longitude":"2cd83b40","hex_latitude":"073604e8","is_valid_coordinates":true} 
[2026-09-04 18:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862993664001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398405216531120128,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2875337224871344128,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788527326000,"timestamp_ms":1788527326000,"timestamp_seconds":1788527326,"priority":1,"record_length":96,"hex_timestamp":"000001a06c893330"} 
[2026-09-04 18:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 18:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862993664001,"66":27952,"175":206,"83":40960,"24":56,"16":398405216531120128,"44":-2875337224871344128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-04 18:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862993664001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:39:40] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:39:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398405216531120128,"km_value":398405216531120.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2875337224871344128,"description":"Unknown IO ID 44"} 
[2026-09-04 18:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862993664001,"power":27952,"unknown_175":206,"unknown_83":40960,"ignition":56,"odometer":null,"unknown_44":-2875337224871344128}} 
[2026-09-04 18:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":170935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:39:40] local.INFO: GPS data processed {"connection_id":170935,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:39:40] local.INFO: Acknowledgment sent {"connection_id":170935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:39:47] local.INFO: TCP Data received {"connection_id":173633,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:39:47] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:39:47] local.INFO: IMEI packet received {"connection_id":173633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":173633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:39:49] local.INFO: TCP Data received {"connection_id":170936,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:39:49] local.INFO: Processing buffer {"connection_id":170936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:39:49] local.INFO: IMEI packet received {"connection_id":170936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":170936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:39:53] local.INFO: TCP Data received {"connection_id":173633,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:39:53] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:39:53] local.INFO: IMEI packet received {"connection_id":173633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":173633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:39:53] local.INFO: TCP Data received {"connection_id":173633,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c868f68012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c868f68012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:39:53] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c868f68012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:39:53] local.INFO: Packet analysis {"connection_id":173633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c86"} 
[2026-09-04 18:39:53] local.INFO: Extracted packet for processing {"connection_id":173633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c86"} 
[2026-09-04 18:39:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862945792001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788527153000,"timestamp_ms":1788527153000,"timestamp_seconds":1788527153,"priority":1,"record_length":96,"hex_timestamp":"000001a06c868f68"} 
[2026-09-04 18:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862945792001,"66":12439,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862945792001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:39:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:39:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862945792001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":173633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:39:54] local.INFO: GPS data processed {"connection_id":173633,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:39:54] local.INFO: Acknowledgment sent {"connection_id":173633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:39:54] local.INFO: TCP Data received {"connection_id":170936,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:39:54] local.INFO: Processing buffer {"connection_id":170936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:39:54] local.INFO: IMEI packet received {"connection_id":170936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":170936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:39:54] local.INFO: TCP Data received {"connection_id":172333,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:39:54] local.INFO: Processing buffer {"connection_id":172333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:39:54] local.INFO: IMEI packet received {"connection_id":172333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":172333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:39:55] local.INFO: TCP Data received {"connection_id":170936,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:39:55] local.INFO: Processing buffer {"connection_id":170936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:39:55] local.INFO: Packet analysis {"connection_id":170936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:39:55] local.INFO: Extracted packet for processing {"connection_id":170936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:39:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862903040001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788527266000,"timestamp_ms":1788527266000,"timestamp_seconds":1788527266,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8848d0"} 
[2026-09-04 18:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862903040001,"66":25191,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862903040001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:39:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:39:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862903040001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":170936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:39:55] local.INFO: GPS data processed {"connection_id":170936,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:39:55] local.INFO: Acknowledgment sent {"connection_id":170936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:39:59] local.INFO: TCP Data received {"connection_id":172333,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:39:59] local.INFO: Processing buffer {"connection_id":172333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:39:59] local.INFO: IMEI packet received {"connection_id":172333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":172333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:40:00] local.INFO: TCP Data received {"connection_id":172333,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:40:00] local.INFO: Processing buffer {"connection_id":172333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:40:00] local.INFO: IMEI packet received {"connection_id":172333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":172333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:40:01] local.INFO: TCP Data received {"connection_id":172333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c894e88012cd85e400735f108000e007933..."} 
[2026-09-04 18:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c894e88012cd85e400735f108000e007933..."} 
[2026-09-04 18:40:01] local.INFO: Processing buffer {"connection_id":172333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c894e88012cd85e400735f108000e007933..."} 
[2026-09-04 18:40:01] local.INFO: Packet analysis {"connection_id":172333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c89"} 
[2026-09-04 18:40:01] local.INFO: Extracted packet for processing {"connection_id":172333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c89"} 
[2026-09-04 18:40:01] local.INFO: GPS Element Parsed {"raw_longitude":752377408,"raw_latitude":120975624,"longitude_deg":75.2377408,"latitude_deg":12.0975624,"altitude":14,"angle":121,"satellites":51,"speed":59,"hex_longitude":"2cd85e40","hex_latitude":"0735f108","is_valid_coordinates":true} 
[2026-09-04 18:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862995456001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398405706157391872,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2865626338175948800,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788527333000,"timestamp_ms":1788527333000,"timestamp_seconds":1788527333,"priority":1,"record_length":96,"hex_timestamp":"000001a06c894e88"} 
[2026-09-04 18:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-04 18:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862995456001,"66":27767,"175":206,"83":40960,"24":59,"16":398405706157391872,"44":-2865626338175948800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-04 18:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862995456001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:40:01] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:40:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398405706157391872,"km_value":398405706157391.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:40:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2865626338175948800,"description":"Unknown IO ID 44"} 
[2026-09-04 18:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862995456001,"power":27767,"unknown_175":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2865626338175948800}} 
[2026-09-04 18:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":172333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:40:01] local.INFO: GPS data processed {"connection_id":172333,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:40:01] local.INFO: Acknowledgment sent {"connection_id":172333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:40:04] local.INFO: TCP Data received {"connection_id":172333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8965f8012cd87c400735dde0000f007b33..."} 
[2026-09-04 18:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8965f8012cd87c400735dde0000f007b33..."} 
[2026-09-04 18:40:04] local.INFO: Processing buffer {"connection_id":172333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8965f8012cd87c400735dde0000f007b33..."} 
[2026-09-04 18:40:04] local.INFO: Packet analysis {"connection_id":172333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c89"} 
[2026-09-04 18:40:04] local.INFO: Extracted packet for processing {"connection_id":172333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c89"} 
[2026-09-04 18:40:04] local.INFO: GPS Element Parsed {"raw_longitude":752385088,"raw_latitude":120970720,"longitude_deg":75.2385088,"latitude_deg":12.097072,"altitude":15,"angle":123,"satellites":51,"speed":60,"hex_longitude":"2cd87c40","hex_latitude":"0735dde0","is_valid_coordinates":true} 
[2026-09-04 18:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862997248001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398406139949088768,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2855774713992378368,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788527339000,"timestamp_ms":1788527339000,"timestamp_seconds":1788527339,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8965f8"} 
[2026-09-04 18:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862997248001,"66":27865,"175":206,"83":40960,"24":60,"16":398406139949088768,"44":-2855774713992378368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-04 18:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862997248001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:40:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398406139949088768,"km_value":398406139949088.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:40:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2855774713992378368,"description":"Unknown IO ID 44"} 
[2026-09-04 18:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862997248001,"power":27865,"unknown_175":206,"unknown_83":40960,"ignition":60,"odometer":null,"unknown_44":-2855774713992378368}} 
[2026-09-04 18:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":172333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:40:04] local.INFO: GPS data processed {"connection_id":172333,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:40:04] local.INFO: Acknowledgment sent {"connection_id":172333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:40:25] local.INFO: TCP Data received {"connection_id":173633,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c86e170012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c86e170012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:40:25] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c86e170012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:40:25] local.INFO: Packet analysis {"connection_id":173633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c86"} 
[2026-09-04 18:40:25] local.INFO: Extracted packet for processing {"connection_id":173633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c86"} 
[2026-09-04 18:40:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862951168001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788527174000,"timestamp_ms":1788527174000,"timestamp_seconds":1788527174,"priority":1,"record_length":96,"hex_timestamp":"000001a06c86e170"} 
[2026-09-04 18:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 18:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862951168001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862951168001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:40:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:40:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862951168001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":173633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:40:25] local.INFO: GPS data processed {"connection_id":173633,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:40:25] local.INFO: Acknowledgment sent {"connection_id":173633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:40:26] local.INFO: TCP Data received {"connection_id":170936,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:40:26] local.INFO: Processing buffer {"connection_id":170936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:40:26] local.INFO: Packet analysis {"connection_id":170936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:40:26] local.INFO: Extracted packet for processing {"connection_id":170936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:40:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862903040001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788527266000,"timestamp_ms":1788527266000,"timestamp_seconds":1788527266,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8848d0"} 
[2026-09-04 18:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862903040001,"66":25191,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862903040001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:40:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:40:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862903040001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":170936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764443,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:40:27] local.INFO: GPS data processed {"connection_id":170936,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:40:27] local.INFO: Acknowledgment sent {"connection_id":170936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:40:39] local.INFO: TCP Data received {"connection_id":172333,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c897d68012cd89a000735ca08000e007c32..."} 
[2026-09-04 18:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c897d68012cd89a000735ca08000e007c32..."} 
[2026-09-04 18:40:39] local.INFO: Processing buffer {"connection_id":172333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c897d68012cd89a000735ca08000e007c32..."} 
[2026-09-04 18:40:39] local.INFO: Packet analysis {"connection_id":172333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c89"} 
[2026-09-04 18:40:39] local.INFO: Extracted packet for processing {"connection_id":172333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c89"} 
[2026-09-04 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":752392704,"raw_latitude":120965640,"longitude_deg":75.2392704,"latitude_deg":12.096564,"altitude":14,"angle":124,"satellites":50,"speed":59,"hex_longitude":"2cd89a00","hex_latitude":"0735ca08","is_valid_coordinates":true} 
[2026-09-04 18:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862998784001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398406578035752960,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2847330464692314112,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788527345000,"timestamp_ms":1788527345000,"timestamp_seconds":1788527345,"priority":1,"record_length":96,"hex_timestamp":"000001a06c897d68"} 
[2026-09-04 18:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 18:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862998784001,"66":27876,"175":206,"83":40960,"24":59,"16":398406578035752960,"44":-2847330464692314112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-04 18:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862998784001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:40:39] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:40:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398406578035752960,"km_value":398406578035752.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:40:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2847330464692314112,"description":"Unknown IO ID 44"} 
[2026-09-04 18:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862998784001,"power":27876,"unknown_175":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2847330464692314112}} 
[2026-09-04 18:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":172333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:40:39] local.INFO: GPS data processed {"connection_id":172333,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:40:39] local.INFO: Acknowledgment sent {"connection_id":172333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:40:48] local.INFO: TCP Data received {"connection_id":170937,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:40:48] local.INFO: Processing buffer {"connection_id":170937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:40:48] local.INFO: IMEI packet received {"connection_id":170937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":170937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:40:53] local.INFO: TCP Data received {"connection_id":170938,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:40:53] local.INFO: Processing buffer {"connection_id":170938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:40:53] local.INFO: IMEI packet received {"connection_id":170938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":170938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:40:54] local.INFO: TCP Data received {"connection_id":170937,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:40:54] local.INFO: Processing buffer {"connection_id":170937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:40:54] local.INFO: IMEI packet received {"connection_id":170937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":170937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:40:55] local.INFO: TCP Data received {"connection_id":170937,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:40:55] local.INFO: Processing buffer {"connection_id":170937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:40:55] local.INFO: Packet analysis {"connection_id":170937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:40:55] local.INFO: Extracted packet for processing {"connection_id":170937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:40:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862903040001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788527266000,"timestamp_ms":1788527266000,"timestamp_seconds":1788527266,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8848d0"} 
[2026-09-04 18:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862903040001,"66":25191,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862903040001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:40:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:40:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862903040001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":170937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764445,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:40:55] local.INFO: GPS data processed {"connection_id":170937,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:40:55] local.INFO: Acknowledgment sent {"connection_id":170937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:40:57] local.INFO: TCP Data received {"connection_id":173634,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:40:57] local.INFO: Processing buffer {"connection_id":173634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:40:57] local.INFO: IMEI packet received {"connection_id":173634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":173634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:40:58] local.INFO: TCP Data received {"connection_id":170938,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:40:58] local.INFO: Processing buffer {"connection_id":170938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:40:58] local.INFO: IMEI packet received {"connection_id":170938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":170938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:40:58] local.INFO: TCP Data received {"connection_id":173634,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:40:58] local.INFO: Processing buffer {"connection_id":173634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:40:58] local.INFO: IMEI packet received {"connection_id":173634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":173634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:40:58] local.INFO: TCP Data received {"connection_id":170938,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c873378012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c873378012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:40:58] local.INFO: Processing buffer {"connection_id":170938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c873378012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:40:58] local.INFO: Packet analysis {"connection_id":170938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c87"} 
[2026-09-04 18:40:58] local.INFO: Extracted packet for processing {"connection_id":170938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c87"} 
[2026-09-04 18:40:58] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862956544001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788527195000,"timestamp_ms":1788527195000,"timestamp_seconds":1788527195,"priority":1,"record_length":96,"hex_timestamp":"000001a06c873378"} 
[2026-09-04 18:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862956544001,"66":12406,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862956544001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:40:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:40:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862956544001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":170938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:40:58] local.INFO: GPS data processed {"connection_id":170938,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:40:58] local.INFO: Acknowledgment sent {"connection_id":170938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:41:03] local.INFO: TCP Data received {"connection_id":170938,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c878580012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c878580012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:41:03] local.INFO: Processing buffer {"connection_id":170938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c878580012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:41:03] local.INFO: Packet analysis {"connection_id":170938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c87"} 
[2026-09-04 18:41:03] local.INFO: Extracted packet for processing {"connection_id":170938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c87"} 
[2026-09-04 18:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862961920001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788527216000,"timestamp_ms":1788527216000,"timestamp_seconds":1788527216,"priority":1,"record_length":96,"hex_timestamp":"000001a06c878580"} 
[2026-09-04 18:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 18:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":170938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":170938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":170938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862961920001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862961920001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:41:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862961920001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":170938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:41:03] local.INFO: GPS data processed {"connection_id":170938,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:41:03] local.INFO: Acknowledgment sent {"connection_id":170938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:41:04] local.INFO: TCP Data received {"connection_id":173634,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:41:04] local.INFO: Processing buffer {"connection_id":173634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:41:04] local.INFO: IMEI packet received {"connection_id":173634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":173634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:41:06] local.INFO: TCP Data received {"connection_id":173634,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8994d8012cd8b8400735b728000e007932..."} 
[2026-09-04 18:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8994d8012cd8b8400735b728000e007932..."} 
[2026-09-04 18:41:06] local.INFO: Processing buffer {"connection_id":173634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8994d8012cd8b8400735b728000e007932..."} 
[2026-09-04 18:41:06] local.INFO: Packet analysis {"connection_id":173634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c89"} 
[2026-09-04 18:41:06] local.INFO: Extracted packet for processing {"connection_id":173634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c89"} 
[2026-09-04 18:41:06] local.INFO: GPS Element Parsed {"raw_longitude":752400448,"raw_latitude":120960808,"longitude_deg":75.2400448,"latitude_deg":12.0960808,"altitude":14,"angle":121,"satellites":50,"speed":59,"hex_longitude":"2cd8b840","hex_latitude":"0735b728","is_valid_coordinates":true} 
[2026-09-04 18:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863000320001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398407011827449856,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2838956584136472576,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788527351000,"timestamp_ms":1788527351000,"timestamp_seconds":1788527351,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8994d8"} 
[2026-09-04 18:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 18:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863000320001,"66":27930,"175":206,"83":40960,"24":59,"16":398407011827449856,"44":-2838956584136472576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-04 18:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863000320001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:41:06] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-04 18:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398407011827449856,"km_value":398407011827449.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:41:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2838956584136472576,"description":"Unknown IO ID 44"} 
[2026-09-04 18:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863000320001,"power":27930,"unknown_175":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2838956584136472576}} 
[2026-09-04 18:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":173634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:41:06] local.INFO: GPS data processed {"connection_id":173634,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:41:06] local.INFO: Acknowledgment sent {"connection_id":173634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:41:27] local.INFO: TCP Data received {"connection_id":170937,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:41:27] local.INFO: Processing buffer {"connection_id":170937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:41:27] local.INFO: Packet analysis {"connection_id":170937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:41:27] local.INFO: Extracted packet for processing {"connection_id":170937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:41:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862903040001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788527266000,"timestamp_ms":1788527266000,"timestamp_seconds":1788527266,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8848d0"} 
[2026-09-04 18:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862903040001,"66":25191,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862903040001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:41:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:41:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862903040001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":170937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764449,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:41:27] local.INFO: GPS data processed {"connection_id":170937,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:41:27] local.INFO: Acknowledgment sent {"connection_id":170937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:41:38] local.INFO: TCP Data received {"connection_id":173634,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8b0020012cda80800734b8580017007e32..."} 
[2026-09-04 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8b0020012cda80800734b8580017007e32..."} 
[2026-09-04 18:41:38] local.INFO: Processing buffer {"connection_id":173634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8b0020012cda80800734b8580017007e32..."} 
[2026-09-04 18:41:38] local.INFO: Packet analysis {"connection_id":173634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8b"} 
[2026-09-04 18:41:38] local.INFO: Extracted packet for processing {"connection_id":173634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8b"} 
[2026-09-04 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":752517248,"raw_latitude":120895576,"longitude_deg":75.2517248,"latitude_deg":12.0895576,"altitude":23,"angle":126,"satellites":50,"speed":59,"hex_longitude":"2cda8080","hex_latitude":"0734b858","is_valid_coordinates":true} 
[2026-09-04 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863024128001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398413441393491968,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2710111413563729920,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788527444000,"timestamp_ms":1788527444000,"timestamp_seconds":1788527444,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8b0020"} 
[2026-09-04 18:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863024128001,"66":27658,"174":206,"83":40960,"24":59,"16":398413441393491968,"44":-2710111413563729920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-09-04 18:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863024128001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:41:38] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-04 18:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398413441393491968,"km_value":398413441393491.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:41:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2710111413563729920,"description":"Unknown IO ID 44"} 
[2026-09-04 18:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863024128001,"power":27658,"unknown_174":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2710111413563729920}} 
[2026-09-04 18:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":173634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:41:38] local.INFO: GPS data processed {"connection_id":173634,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:41:38] local.INFO: Acknowledgment sent {"connection_id":173634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:41:46] local.INFO: TCP Data received {"connection_id":173635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:41:46] local.INFO: Processing buffer {"connection_id":173635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:41:46] local.INFO: IMEI packet received {"connection_id":173635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":173635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:41:47] local.INFO: TCP Data received {"connection_id":173635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:41:47] local.INFO: Processing buffer {"connection_id":173635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:41:47] local.INFO: IMEI packet received {"connection_id":173635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":173635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:41:48] local.INFO: TCP Data received {"connection_id":170939,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:41:48] local.INFO: Processing buffer {"connection_id":170939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:41:48] local.INFO: IMEI packet received {"connection_id":170939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":170939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:41:53] local.INFO: TCP Data received {"connection_id":173635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:41:53] local.INFO: Processing buffer {"connection_id":173635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:41:53] local.INFO: IMEI packet received {"connection_id":173635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":173635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:41:54] local.INFO: TCP Data received {"connection_id":170939,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:41:54] local.INFO: Processing buffer {"connection_id":170939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:41:54] local.INFO: IMEI packet received {"connection_id":170939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":170939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:41:54] local.INFO: TCP Data received {"connection_id":173635,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c87d3a0012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c87d3a0012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:41:54] local.INFO: Processing buffer {"connection_id":173635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c87d3a0012d1822400721b4a0004c00da2c..."} 
[2026-09-04 18:41:54] local.INFO: Packet analysis {"connection_id":173635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c87"} 
[2026-09-04 18:41:54] local.INFO: Extracted packet for processing {"connection_id":173635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c87"} 
[2026-09-04 18:41:54] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862967296001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788527236000,"timestamp_ms":1788527236000,"timestamp_seconds":1788527236,"priority":1,"record_length":96,"hex_timestamp":"000001a06c87d3a0"} 
[2026-09-04 18:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862967296001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862967296001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:41:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:41:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862967296001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":173635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:41:54] local.INFO: GPS data processed {"connection_id":173635,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:41:54] local.INFO: Acknowledgment sent {"connection_id":173635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:41:55] local.INFO: TCP Data received {"connection_id":170939,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:41:55] local.INFO: Processing buffer {"connection_id":170939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:41:55] local.INFO: Packet analysis {"connection_id":170939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:41:55] local.INFO: Extracted packet for processing {"connection_id":170939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862903040001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788527266000,"timestamp_ms":1788527266000,"timestamp_seconds":1788527266,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8848d0"} 
[2026-09-04 18:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862903040001,"66":25191,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862903040001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:41:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862903040001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":170939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764452,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:41:55] local.INFO: GPS data processed {"connection_id":170939,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:41:55] local.INFO: Acknowledgment sent {"connection_id":170939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:42:04] local.INFO: TCP Data received {"connection_id":172334,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:42:04] local.INFO: Processing buffer {"connection_id":172334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:42:04] local.INFO: IMEI packet received {"connection_id":172334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":172334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:42:09] local.INFO: TCP Data received {"connection_id":172334,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:42:09] local.INFO: Processing buffer {"connection_id":172334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:42:09] local.INFO: IMEI packet received {"connection_id":172334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":172334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:42:09] local.INFO: TCP Data received {"connection_id":172334,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8b1b78012cdaa1000734a0a00017007f32..."} 
[2026-09-04 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8b1b78012cdaa1000734a0a00017007f32..."} 
[2026-09-04 18:42:09] local.INFO: Processing buffer {"connection_id":172334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8b1b78012cdaa1000734a0a00017007f32..."} 
[2026-09-04 18:42:09] local.INFO: Packet analysis {"connection_id":172334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8b"} 
[2026-09-04 18:42:09] local.INFO: Extracted packet for processing {"connection_id":172334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8b"} 
[2026-09-04 18:42:09] local.INFO: GPS Element Parsed {"raw_longitude":752525568,"raw_latitude":120889504,"longitude_deg":75.2525568,"latitude_deg":12.0889504,"altitude":23,"angle":127,"satellites":50,"speed":55,"hex_longitude":"2cdaa100","hex_latitude":"0734a0a0","is_valid_coordinates":true} 
[2026-09-04 18:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863025664001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398413935314731008,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2702019007984674816,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788527451000,"timestamp_ms":1788527451000,"timestamp_seconds":1788527451,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8b1b78"} 
[2026-09-04 18:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 18:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863025664001,"66":27821,"174":206,"83":40960,"24":55,"16":398413935314731008,"44":-2702019007984674816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-09-04 18:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863025664001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:42:09] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-04 18:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398413935314731008,"km_value":398413935314731.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:42:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2702019007984674816,"description":"Unknown IO ID 44"} 
[2026-09-04 18:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863025664001,"power":27821,"unknown_174":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2702019007984674816}} 
[2026-09-04 18:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":172334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:42:09] local.INFO: GPS data processed {"connection_id":172334,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:42:09] local.INFO: Acknowledgment sent {"connection_id":172334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:42:25] local.INFO: TCP Data received {"connection_id":173635,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8825a8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8825a8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:42:25] local.INFO: Processing buffer {"connection_id":173635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8825a8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:42:25] local.INFO: Packet analysis {"connection_id":173635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:42:25] local.INFO: Extracted packet for processing {"connection_id":173635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:42:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862972416001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788527257000,"timestamp_ms":1788527257000,"timestamp_seconds":1788527257,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8825a8"} 
[2026-09-04 18:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862972416001,"66":12461,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862972416001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:42:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:42:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862972416001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":173635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:42:25] local.INFO: GPS data processed {"connection_id":173635,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:42:25] local.INFO: Acknowledgment sent {"connection_id":173635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:42:26] local.INFO: TCP Data received {"connection_id":170939,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:42:26] local.INFO: Processing buffer {"connection_id":170939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:42:26] local.INFO: Packet analysis {"connection_id":170939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:42:26] local.INFO: Extracted packet for processing {"connection_id":170939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:42:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862903040001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788527266000,"timestamp_ms":1788527266000,"timestamp_seconds":1788527266,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8848d0"} 
[2026-09-04 18:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862903040001,"66":25191,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862903040001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:42:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:42:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862903040001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":170939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:42:27] local.INFO: GPS data processed {"connection_id":170939,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:42:27] local.INFO: Acknowledgment sent {"connection_id":170939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:42:40] local.INFO: TCP Data received {"connection_id":172334,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8b36d0012cdabd00073488700017008631..."} 
[2026-09-04 18:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8b36d0012cdabd00073488700017008631..."} 
[2026-09-04 18:42:40] local.INFO: Processing buffer {"connection_id":172334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8b36d0012cdabd00073488700017008631..."} 
[2026-09-04 18:42:40] local.INFO: Packet analysis {"connection_id":172334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8b"} 
[2026-09-04 18:42:40] local.INFO: Extracted packet for processing {"connection_id":172334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8b"} 
[2026-09-04 18:42:40] local.INFO: GPS Element Parsed {"raw_longitude":752532736,"raw_latitude":120883312,"longitude_deg":75.2532736,"latitude_deg":12.0883312,"altitude":23,"angle":134,"satellites":49,"speed":51,"hex_longitude":"2cdabd00","hex_latitude":"07348870","is_valid_coordinates":true} 
[2026-09-04 18:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863027456001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398414386286297088,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2692871071243132928,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788527458000,"timestamp_ms":1788527458000,"timestamp_seconds":1788527458,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8b36d0"} 
[2026-09-04 18:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863027456001,"66":27974,"174":206,"83":40960,"24":51,"16":398414386286297088,"44":-2692871071243132928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-09-04 18:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863027456001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:42:40] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-04 18:42:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398414386286297088,"km_value":398414386286297.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2692871071243132928,"description":"Unknown IO ID 44"} 
[2026-09-04 18:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863027456001,"power":27974,"unknown_174":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2692871071243132928}} 
[2026-09-04 18:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":172334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:42:40] local.INFO: GPS data processed {"connection_id":172334,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:42:40] local.INFO: Acknowledgment sent {"connection_id":172334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:42:48] local.INFO: TCP Data received {"connection_id":170940,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:42:48] local.INFO: Processing buffer {"connection_id":170940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:42:48] local.INFO: IMEI packet received {"connection_id":170940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":170940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:42:48] local.INFO: TCP Data received {"connection_id":170940,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:42:48] local.INFO: Processing buffer {"connection_id":170940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:42:48] local.INFO: IMEI packet received {"connection_id":170940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":170940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:42:53] local.INFO: TCP Data received {"connection_id":170940,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:42:53] local.INFO: Processing buffer {"connection_id":170940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:42:53] local.INFO: IMEI packet received {"connection_id":170940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":170940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:42:54] local.INFO: TCP Data received {"connection_id":171219,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:42:54] local.INFO: Processing buffer {"connection_id":171219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:42:54] local.INFO: IMEI packet received {"connection_id":171219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":171219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:42:54] local.INFO: TCP Data received {"connection_id":170940,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8bac00012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8bac00012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:42:54] local.INFO: Processing buffer {"connection_id":170940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8bac00012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:42:54] local.INFO: Packet analysis {"connection_id":170940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8b"} 
[2026-09-04 18:42:54] local.INFO: Extracted packet for processing {"connection_id":170940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8b"} 
[2026-09-04 18:42:54] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863031808001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788527488000,"timestamp_ms":1788527488000,"timestamp_seconds":1788527488,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8bac00"} 
[2026-09-04 18:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863031808001,"66":12428,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863031808001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:42:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:42:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863031808001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":170940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:42:54] local.INFO: GPS data processed {"connection_id":170940,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:42:54] local.INFO: Acknowledgment sent {"connection_id":170940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:42:59] local.INFO: TCP Data received {"connection_id":171219,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:42:59] local.INFO: Processing buffer {"connection_id":171219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:42:59] local.INFO: IMEI packet received {"connection_id":171219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":171219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:43:00] local.INFO: TCP Data received {"connection_id":171219,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:43:00] local.INFO: Processing buffer {"connection_id":171219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:43:00] local.INFO: Packet analysis {"connection_id":171219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:43:00] local.INFO: Extracted packet for processing {"connection_id":171219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:43:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862903040001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788527266000,"timestamp_ms":1788527266000,"timestamp_seconds":1788527266,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8848d0"} 
[2026-09-04 18:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171219,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171219,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862903040001,"66":25191,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862903040001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:43:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:43:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862903040001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":171219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764458,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:43:01] local.INFO: GPS data processed {"connection_id":171219,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:43:01] local.INFO: Acknowledgment sent {"connection_id":171219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:43:04] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:43:04] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:43:04] local.INFO: IMEI packet received {"connection_id":173636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":173636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:43:05] local.INFO: TCP Data received {"connection_id":171219,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:43:05] local.INFO: Processing buffer {"connection_id":171219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8848d0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:43:05] local.INFO: Packet analysis {"connection_id":171219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:43:05] local.INFO: Extracted packet for processing {"connection_id":171219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c88"} 
[2026-09-04 18:43:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862903040001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788527266000,"timestamp_ms":1788527266000,"timestamp_seconds":1788527266,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8848d0"} 
[2026-09-04 18:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 18:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171219,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171219,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862903040001,"66":25191,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862903040001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:43:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:43:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862903040001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":171219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764459,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:43:05] local.INFO: GPS data processed {"connection_id":171219,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:43:05] local.INFO: Acknowledgment sent {"connection_id":171219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:43:08] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:43:08] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:43:08] local.INFO: IMEI packet received {"connection_id":173636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":173636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:43:09] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8b5610012cdad70007346be80016008e32..."} 
[2026-09-04 18:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8b5610012cdad70007346be80016008e32..."} 
[2026-09-04 18:43:09] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8b5610012cdad70007346be80016008e32..."} 
[2026-09-04 18:43:09] local.INFO: Packet analysis {"connection_id":173636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8b"} 
[2026-09-04 18:43:09] local.INFO: Extracted packet for processing {"connection_id":173636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8b"} 
[2026-09-04 18:43:09] local.INFO: GPS Element Parsed {"raw_longitude":752539392,"raw_latitude":120876008,"longitude_deg":75.2539392,"latitude_deg":12.0876008,"altitude":22,"angle":142,"satellites":50,"speed":46,"hex_longitude":"2cdad700","hex_latitude":"07346be8","is_valid_coordinates":true} 
[2026-09-04 18:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863029248001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398414863027666944,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2684989771896819712,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788527466000,"timestamp_ms":1788527466000,"timestamp_seconds":1788527466,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8b5610"} 
[2026-09-04 18:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 18:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863029248001,"66":27800,"225":206,"83":40960,"24":46,"16":398414863027666944,"44":-2684989771896819712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-04 18:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863029248001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:43:09] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-04 18:43:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398414863027666944,"km_value":398414863027666.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:43:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2684989771896819712,"description":"Unknown IO ID 44"} 
[2026-09-04 18:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863029248001,"power":27800,"unknown_225":206,"unknown_83":40960,"ignition":46,"odometer":null,"unknown_44":-2684989771896819712}} 
[2026-09-04 18:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":173636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:43:09] local.INFO: GPS data processed {"connection_id":173636,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:43:09] local.INFO: Acknowledgment sent {"connection_id":173636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:43:10] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8b7550012cdaee4007344dc00018009032..."} 
[2026-09-04 18:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8b7550012cdaee4007344dc00018009032..."} 
[2026-09-04 18:43:10] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8b7550012cdaee4007344dc00018009032..."} 
[2026-09-04 18:43:10] local.INFO: Packet analysis {"connection_id":173636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8b"} 
[2026-09-04 18:43:10] local.INFO: Extracted packet for processing {"connection_id":173636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8b"} 
[2026-09-04 18:43:10] local.INFO: GPS Element Parsed {"raw_longitude":752545344,"raw_latitude":120868288,"longitude_deg":75.2545344,"latitude_deg":12.0868288,"altitude":24,"angle":144,"satellites":50,"speed":49,"hex_longitude":"2cdaee40","hex_latitude":"07344dc0","is_valid_coordinates":true} 
[2026-09-04 18:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863031296001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398415331179102208,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2677671422504212480,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788527474000,"timestamp_ms":1788527474000,"timestamp_seconds":1788527474,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8b7550"} 
[2026-09-04 18:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 18:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863031296001,"66":27843,"225":206,"83":40960,"24":49,"16":398415331179102208,"44":-2677671422504212480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-04 18:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863031296001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:43:10] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-04 18:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398415331179102208,"km_value":398415331179102.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2677671422504212480,"description":"Unknown IO ID 44"} 
[2026-09-04 18:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863031296001,"power":27843,"unknown_225":206,"unknown_83":40960,"ignition":49,"odometer":null,"unknown_44":-2677671422504212480}} 
[2026-09-04 18:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":173636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:43:10] local.INFO: GPS data processed {"connection_id":173636,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:43:10] local.INFO: Acknowledgment sent {"connection_id":173636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:43:25] local.INFO: TCP Data received {"connection_id":170940,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8bfe08012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8bfe08012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:43:25] local.INFO: Processing buffer {"connection_id":170940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8bfe08012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:43:25] local.INFO: Packet analysis {"connection_id":170940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8b"} 
[2026-09-04 18:43:25] local.INFO: Extracted packet for processing {"connection_id":170940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8b"} 
[2026-09-04 18:43:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863036928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788527509000,"timestamp_ms":1788527509000,"timestamp_seconds":1788527509,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8bfe08"} 
[2026-09-04 18:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 18:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863036928001,"66":12406,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863036928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:43:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:43:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863036928001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":170940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:43:25] local.INFO: GPS data processed {"connection_id":170940,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:43:25] local.INFO: Acknowledgment sent {"connection_id":170940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:43:41] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8cd4e0012cdb684007338228001100ae30..."} 
[2026-09-04 18:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8cd4e0012cdb684007338228001100ae30..."} 
[2026-09-04 18:43:41] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8cd4e0012cdb684007338228001100ae30..."} 
[2026-09-04 18:43:41] local.INFO: Packet analysis {"connection_id":173636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:43:41] local.INFO: Extracted packet for processing {"connection_id":173636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:43:41] local.INFO: GPS Element Parsed {"raw_longitude":752576576,"raw_latitude":120816168,"longitude_deg":75.2576576,"latitude_deg":12.0816168,"altitude":17,"angle":174,"satellites":48,"speed":25,"hex_longitude":"2cdb6840","hex_latitude":"07338228","is_valid_coordinates":true} 
[2026-09-04 18:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863055616001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398418354836078592,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636857550896044032,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788527564000,"timestamp_ms":1788527564000,"timestamp_seconds":1788527564,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8cd4e0"} 
[2026-09-04 18:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 18:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863055616001,"66":27843,"146":206,"83":40960,"24":25,"16":398418354836078592,"44":-2636857550896044032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 18:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863055616001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:43:41] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 18:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398418354836078592,"km_value":398418354836078.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636857550896044032,"description":"Unknown IO ID 44"} 
[2026-09-04 18:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863055616001,"power":27843,"unknown_146":206,"unknown_83":40960,"ignition":25,"odometer":null,"unknown_44":-2636857550896044032}} 
[2026-09-04 18:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":173636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:43:42] local.INFO: GPS data processed {"connection_id":173636,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:43:42] local.INFO: Acknowledgment sent {"connection_id":173636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:43:48] local.INFO: TCP Data received {"connection_id":171220,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:43:48] local.INFO: Processing buffer {"connection_id":171220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:43:48] local.INFO: IMEI packet received {"connection_id":171220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":171220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:43:49] local.INFO: TCP Data received {"connection_id":170941,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:43:49] local.INFO: Processing buffer {"connection_id":170941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:43:49] local.INFO: IMEI packet received {"connection_id":170941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":170941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:43:52] local.INFO: TCP Data received {"connection_id":171220,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:43:52] local.INFO: Processing buffer {"connection_id":171220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:43:52] local.INFO: IMEI packet received {"connection_id":171220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":171220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:43:52] local.INFO: TCP Data received {"connection_id":171220,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8c5010012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8c5010012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:43:52] local.INFO: Processing buffer {"connection_id":171220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8c5010012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:43:52] local.INFO: Packet analysis {"connection_id":171220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:43:52] local.INFO: Extracted packet for processing {"connection_id":171220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:43:52] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863042304001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788527530000,"timestamp_ms":1788527530000,"timestamp_seconds":1788527530,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8c5010"} 
[2026-09-04 18:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 18:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863042304001,"66":12428,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863042304001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:43:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:43:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863042304001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":171220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:43:52] local.INFO: GPS data processed {"connection_id":171220,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:43:52] local.INFO: Acknowledgment sent {"connection_id":171220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:43:54] local.INFO: TCP Data received {"connection_id":170941,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:43:54] local.INFO: Processing buffer {"connection_id":170941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:43:54] local.INFO: IMEI packet received {"connection_id":170941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":170941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:43:55] local.INFO: TCP Data received {"connection_id":170941,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:43:55] local.INFO: Processing buffer {"connection_id":170941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:43:55] local.INFO: Packet analysis {"connection_id":170941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:43:55] local.INFO: Extracted packet for processing {"connection_id":170941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:43:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862980096001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788527567000,"timestamp_ms":1788527567000,"timestamp_seconds":1788527567,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8ce098"} 
[2026-09-04 18:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 18:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862980096001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862980096001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:43:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:43:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862980096001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":170941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:43:55] local.INFO: GPS data processed {"connection_id":170941,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:43:55] local.INFO: Acknowledgment sent {"connection_id":170941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:43:57] local.INFO: TCP Data received {"connection_id":172335,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:43:57] local.INFO: Processing buffer {"connection_id":172335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:43:57] local.INFO: IMEI packet received {"connection_id":172335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":172335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:43:58] local.INFO: TCP Data received {"connection_id":172335,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:43:58] local.INFO: Processing buffer {"connection_id":172335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:43:58] local.INFO: IMEI packet received {"connection_id":172335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":172335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:44:04] local.INFO: TCP Data received {"connection_id":172335,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:44:04] local.INFO: Processing buffer {"connection_id":172335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:44:04] local.INFO: IMEI packet received {"connection_id":172335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":172335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:44:04] local.INFO: TCP Data received {"connection_id":172335,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8cec50012cdb6b80073372900011009b2f..."} 
[2026-09-04 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8cec50012cdb6b80073372900011009b2f..."} 
[2026-09-04 18:44:04] local.INFO: Processing buffer {"connection_id":172335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8cec50012cdb6b80073372900011009b2f..."} 
[2026-09-04 18:44:04] local.INFO: Packet analysis {"connection_id":172335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:44:04] local.INFO: Extracted packet for processing {"connection_id":172335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:44:04] local.INFO: GPS Element Parsed {"raw_longitude":752577408,"raw_latitude":120812176,"longitude_deg":75.2577408,"latitude_deg":12.0812176,"altitude":17,"angle":155,"satellites":47,"speed":30,"hex_longitude":"2cdb6b80","hex_latitude":"07337290","is_valid_coordinates":true} 
[2026-09-04 18:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863056384001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398418552404574208,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636787182152308736,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788527570000,"timestamp_ms":1788527570000,"timestamp_seconds":1788527570,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8cec50"} 
[2026-09-04 18:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-04 18:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863056384001,"66":27876,"146":206,"83":40960,"24":30,"16":398418552404574208,"44":-2636787182152308736},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-04 18:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863056384001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:44:04] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-04 18:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398418552404574208,"km_value":398418552404574.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636787182152308736,"description":"Unknown IO ID 44"} 
[2026-09-04 18:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863056384001,"power":27876,"unknown_146":206,"unknown_83":40960,"ignition":30,"odometer":null,"unknown_44":-2636787182152308736}} 
[2026-09-04 18:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":172335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:44:04] local.INFO: GPS data processed {"connection_id":172335,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:44:04] local.INFO: Acknowledgment sent {"connection_id":172335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:44:23] local.INFO: TCP Data received {"connection_id":171220,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8ca218012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8ca218012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:44:23] local.INFO: Processing buffer {"connection_id":171220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8ca218012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:44:23] local.INFO: Packet analysis {"connection_id":171220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:44:23] local.INFO: Extracted packet for processing {"connection_id":171220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863047680001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788527551000,"timestamp_ms":1788527551000,"timestamp_seconds":1788527551,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8ca218"} 
[2026-09-04 18:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 18:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863047680001,"66":12428,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863047680001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:44:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:44:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863047680001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":171220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:44:24] local.INFO: GPS data processed {"connection_id":171220,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:44:24] local.INFO: Acknowledgment sent {"connection_id":171220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:44:28] local.INFO: TCP Data received {"connection_id":170941,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:44:28] local.INFO: Processing buffer {"connection_id":170941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:44:28] local.INFO: Packet analysis {"connection_id":170941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:44:28] local.INFO: Extracted packet for processing {"connection_id":170941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:44:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862980096001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788527567000,"timestamp_ms":1788527567000,"timestamp_seconds":1788527567,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8ce098"} 
[2026-09-04 18:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 18:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":170941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":170941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":170941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862980096001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862980096001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:44:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:44:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862980096001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":170941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764468,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:44:28] local.INFO: GPS data processed {"connection_id":170941,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:44:28] local.INFO: Acknowledgment sent {"connection_id":170941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:44:36] local.INFO: TCP Data received {"connection_id":172335,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8d1360012cdb7bc007335370001300972e..."} 
[2026-09-04 18:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8d1360012cdb7bc007335370001300972e..."} 
[2026-09-04 18:44:36] local.INFO: Processing buffer {"connection_id":172335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8d1360012cdb7bc007335370001300972e..."} 
[2026-09-04 18:44:36] local.INFO: Packet analysis {"connection_id":172335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8d"} 
[2026-09-04 18:44:36] local.INFO: Extracted packet for processing {"connection_id":172335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8d"} 
[2026-09-04 18:44:36] local.INFO: GPS Element Parsed {"raw_longitude":752581568,"raw_latitude":120804208,"longitude_deg":75.2581568,"latitude_deg":12.0804208,"altitude":19,"angle":151,"satellites":46,"speed":37,"hex_longitude":"2cdb7bc0","hex_latitude":"07335370","is_valid_coordinates":true} 
[2026-09-04 18:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863057920001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398418986196271104,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2635872388479021056,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788527580000,"timestamp_ms":1788527580000,"timestamp_seconds":1788527580,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8d1360"} 
[2026-09-04 18:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-04 18:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863057920001,"66":27865,"145":206,"83":40960,"24":37,"16":398418986196271104,"44":-2635872388479021056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-04 18:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863057920001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:44:36] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-04 18:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398418986196271104,"km_value":398418986196271.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:44:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2635872388479021056,"description":"Unknown IO ID 44"} 
[2026-09-04 18:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863057920001,"power":27865,"unknown_145":206,"unknown_83":40960,"ignition":37,"odometer":null,"unknown_44":-2635872388479021056}} 
[2026-09-04 18:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":172335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:44:36] local.INFO: GPS data processed {"connection_id":172335,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:44:36] local.INFO: Acknowledgment sent {"connection_id":172335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:44:47] local.INFO: TCP Data received {"connection_id":173638,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:44:47] local.INFO: Processing buffer {"connection_id":173638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:44:47] local.INFO: IMEI packet received {"connection_id":173638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":173638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:44:48] local.INFO: TCP Data received {"connection_id":173637,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:44:48] local.INFO: Processing buffer {"connection_id":173637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:44:48] local.INFO: IMEI packet received {"connection_id":173637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":173637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:44:53] local.INFO: TCP Data received {"connection_id":173638,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:44:53] local.INFO: Processing buffer {"connection_id":173638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:44:53] local.INFO: IMEI packet received {"connection_id":173638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":173638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:44:53] local.INFO: TCP Data received {"connection_id":173638,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8cf420012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8cf420012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:44:53] local.INFO: Processing buffer {"connection_id":173638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8cf420012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:44:53] local.INFO: Packet analysis {"connection_id":173638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:44:53] local.INFO: Extracted packet for processing {"connection_id":173638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:44:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863053056001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788527572000,"timestamp_ms":1788527572000,"timestamp_seconds":1788527572,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8cf420"} 
[2026-09-04 18:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 18:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863053056001,"66":12374,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863053056001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:44:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:44:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863053056001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":173638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:44:53] local.INFO: GPS data processed {"connection_id":173638,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:44:53] local.INFO: Acknowledgment sent {"connection_id":173638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:44:54] local.INFO: TCP Data received {"connection_id":173637,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:44:54] local.INFO: Processing buffer {"connection_id":173637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:44:54] local.INFO: IMEI packet received {"connection_id":173637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":173637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:44:55] local.INFO: TCP Data received {"connection_id":173637,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:44:55] local.INFO: Processing buffer {"connection_id":173637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:44:55] local.INFO: Packet analysis {"connection_id":173637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:44:55] local.INFO: Extracted packet for processing {"connection_id":173637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:44:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862980096001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788527567000,"timestamp_ms":1788527567000,"timestamp_seconds":1788527567,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8ce098"} 
[2026-09-04 18:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 18:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862980096001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862980096001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:44:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:44:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862980096001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":173637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:44:55] local.INFO: GPS data processed {"connection_id":173637,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:44:55] local.INFO: Acknowledgment sent {"connection_id":173637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:44:59] local.INFO: TCP Data received {"connection_id":172336,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:44:59] local.INFO: Processing buffer {"connection_id":172336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:44:59] local.INFO: IMEI packet received {"connection_id":172336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":172336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:44:59] local.INFO: TCP Data received {"connection_id":172336,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:44:59] local.INFO: Processing buffer {"connection_id":172336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:44:59] local.INFO: IMEI packet received {"connection_id":172336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":172336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:45:04] local.INFO: TCP Data received {"connection_id":172336,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:45:04] local.INFO: Processing buffer {"connection_id":172336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:45:04] local.INFO: IMEI packet received {"connection_id":172336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":172336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:45:04] local.INFO: TCP Data received {"connection_id":172336,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8d3a70012cdb8e40073332f00015009b30..."} 
[2026-09-04 18:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8d3a70012cdb8e40073332f00015009b30..."} 
[2026-09-04 18:45:04] local.INFO: Processing buffer {"connection_id":172336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8d3a70012cdb8e40073332f00015009b30..."} 
[2026-09-04 18:45:04] local.INFO: Packet analysis {"connection_id":172336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8d"} 
[2026-09-04 18:45:04] local.INFO: Extracted packet for processing {"connection_id":172336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8d"} 
[2026-09-04 18:45:04] local.INFO: GPS Element Parsed {"raw_longitude":752586304,"raw_latitude":120795888,"longitude_deg":75.2586304,"latitude_deg":12.0795888,"altitude":21,"angle":155,"satellites":48,"speed":38,"hex_longitude":"2cdb8e40","hex_latitude":"073332f0","is_valid_coordinates":true} 
[2026-09-04 18:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863060480001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398419445757771776,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2631298420109512704,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788527590000,"timestamp_ms":1788527590000,"timestamp_seconds":1788527590,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8d3a70"} 
[2026-09-04 18:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-04 18:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863060480001,"66":27876,"145":206,"83":40960,"24":38,"16":398419445757771776,"44":-2631298420109512704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-04 18:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863060480001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:45:04] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-04 18:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398419445757771776,"km_value":398419445757771.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:45:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2631298420109512704,"description":"Unknown IO ID 44"} 
[2026-09-04 18:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863060480001,"power":27876,"unknown_145":206,"unknown_83":40960,"ignition":38,"odometer":null,"unknown_44":-2631298420109512704}} 
[2026-09-04 18:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":172336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:45:04] local.INFO: GPS data processed {"connection_id":172336,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:45:04] local.INFO: Acknowledgment sent {"connection_id":172336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:45:24] local.INFO: TCP Data received {"connection_id":173638,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8d4a10012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8d4a10012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:45:24] local.INFO: Processing buffer {"connection_id":173638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8d4a10012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:45:24] local.INFO: Packet analysis {"connection_id":173638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8d"} 
[2026-09-04 18:45:24] local.INFO: Extracted packet for processing {"connection_id":173638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8d"} 
[2026-09-04 18:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863058432001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788527594000,"timestamp_ms":1788527594000,"timestamp_seconds":1788527594,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8d4a10"} 
[2026-09-04 18:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 18:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863058432001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863058432001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:45:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863058432001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":173638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:45:25] local.INFO: GPS data processed {"connection_id":173638,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:45:25] local.INFO: Acknowledgment sent {"connection_id":173638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:45:26] local.INFO: TCP Data received {"connection_id":173637,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:45:26] local.INFO: Processing buffer {"connection_id":173637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:45:26] local.INFO: Packet analysis {"connection_id":173637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:45:26] local.INFO: Extracted packet for processing {"connection_id":173637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:45:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862980096001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788527567000,"timestamp_ms":1788527567000,"timestamp_seconds":1788527567,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8ce098"} 
[2026-09-04 18:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 18:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862980096001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862980096001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:45:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:45:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862980096001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":173637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764474,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:45:27] local.INFO: GPS data processed {"connection_id":173637,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:45:27] local.INFO: Acknowledgment sent {"connection_id":173637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:45:36] local.INFO: TCP Data received {"connection_id":172336,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8ea5b8012cdba5c00731bdc8001900be30..."} 
[2026-09-04 18:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8ea5b8012cdba5c00731bdc8001900be30..."} 
[2026-09-04 18:45:36] local.INFO: Processing buffer {"connection_id":172336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8ea5b8012cdba5c00731bdc8001900be30..."} 
[2026-09-04 18:45:36] local.INFO: Packet analysis {"connection_id":172336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8e"} 
[2026-09-04 18:45:36] local.INFO: Extracted packet for processing {"connection_id":172336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8e"} 
[2026-09-04 18:45:36] local.INFO: GPS Element Parsed {"raw_longitude":752592320,"raw_latitude":120700360,"longitude_deg":75.259232,"latitude_deg":12.070036,"altitude":25,"angle":190,"satellites":48,"speed":42,"hex_longitude":"2cdba5c0","hex_latitude":"0731bdc8","is_valid_coordinates":true} 
[2026-09-04 18:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863084544001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398424144451993600,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2617224671298189312,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788527683000,"timestamp_ms":1788527683000,"timestamp_seconds":1788527683,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8ea5b8"} 
[2026-09-04 18:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 18:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863084544001,"66":27930,"144":206,"83":40960,"24":42,"16":398424144451993600,"44":-2617224671298189312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-04 18:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863084544001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:45:36] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-04 18:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398424144451993600,"km_value":398424144451993.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:45:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2617224671298189312,"description":"Unknown IO ID 44"} 
[2026-09-04 18:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863084544001,"power":27930,"unknown_144":206,"unknown_83":40960,"ignition":42,"odometer":null,"unknown_44":-2617224671298189312}} 
[2026-09-04 18:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":172336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:45:36] local.INFO: GPS data processed {"connection_id":172336,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:45:36] local.INFO: Acknowledgment sent {"connection_id":172336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:45:47] local.INFO: TCP Data received {"connection_id":172337,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:45:47] local.INFO: Processing buffer {"connection_id":172337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:45:47] local.INFO: IMEI packet received {"connection_id":172337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":172337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:45:48] local.INFO: TCP Data received {"connection_id":170942,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:45:48] local.INFO: Processing buffer {"connection_id":170942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:45:48] local.INFO: IMEI packet received {"connection_id":170942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":170942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:45:53] local.INFO: TCP Data received {"connection_id":172337,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:45:53] local.INFO: Processing buffer {"connection_id":172337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:45:53] local.INFO: IMEI packet received {"connection_id":172337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":172337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:45:53] local.INFO: TCP Data received {"connection_id":172337,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8d9c18012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8d9c18012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:45:53] local.INFO: Processing buffer {"connection_id":172337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8d9c18012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:45:53] local.INFO: Packet analysis {"connection_id":172337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8d"} 
[2026-09-04 18:45:53] local.INFO: Extracted packet for processing {"connection_id":172337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8d"} 
[2026-09-04 18:45:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863064064001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788527615000,"timestamp_ms":1788527615000,"timestamp_seconds":1788527615,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8d9c18"} 
[2026-09-04 18:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863064064001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863064064001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:45:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:45:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863064064001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":172337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:45:53] local.INFO: GPS data processed {"connection_id":172337,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:45:53] local.INFO: Acknowledgment sent {"connection_id":172337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:45:54] local.INFO: TCP Data received {"connection_id":170942,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:45:54] local.INFO: Processing buffer {"connection_id":170942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:45:54] local.INFO: IMEI packet received {"connection_id":170942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":170942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:45:55] local.INFO: TCP Data received {"connection_id":170942,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:45:55] local.INFO: Processing buffer {"connection_id":170942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:45:55] local.INFO: Packet analysis {"connection_id":170942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:45:55] local.INFO: Extracted packet for processing {"connection_id":170942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:45:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862980096001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788527567000,"timestamp_ms":1788527567000,"timestamp_seconds":1788527567,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8ce098"} 
[2026-09-04 18:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 18:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862980096001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862980096001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:45:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:45:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862980096001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":170942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764477,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:45:55] local.INFO: GPS data processed {"connection_id":170942,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:45:55] local.INFO: Acknowledgment sent {"connection_id":170942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:46:00] local.INFO: TCP Data received {"connection_id":171221,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:46:00] local.INFO: Processing buffer {"connection_id":171221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:46:00] local.INFO: IMEI packet received {"connection_id":171221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":171221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:46:04] local.INFO: TCP Data received {"connection_id":171221,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:46:04] local.INFO: Processing buffer {"connection_id":171221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:46:04] local.INFO: IMEI packet received {"connection_id":171221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":171221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:46:05] local.INFO: TCP Data received {"connection_id":171221,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8eb940012cdba4400731a7c0001800b131..."} 
[2026-09-04 18:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8eb940012cdba4400731a7c0001800b131..."} 
[2026-09-04 18:46:05] local.INFO: Processing buffer {"connection_id":171221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8eb940012cdba4400731a7c0001800b131..."} 
[2026-09-04 18:46:05] local.INFO: Packet analysis {"connection_id":171221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8e"} 
[2026-09-04 18:46:05] local.INFO: Extracted packet for processing {"connection_id":171221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8e"} 
[2026-09-04 18:46:05] local.INFO: GPS Element Parsed {"raw_longitude":752591936,"raw_latitude":120694720,"longitude_deg":75.2591936,"latitude_deg":12.069472,"altitude":24,"angle":177,"satellites":49,"speed":46,"hex_longitude":"2cdba440","hex_latitude":"0731a7c0","is_valid_coordinates":true} 
[2026-09-04 18:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863086848001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398424419329900544,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2619476471114250240,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788527688000,"timestamp_ms":1788527688000,"timestamp_seconds":1788527688,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8eb940"} 
[2026-09-04 18:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-04 18:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863086848001,"66":27745,"144":206,"83":40960,"24":46,"16":398424419329900544,"44":-2619476471114250240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-04 18:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863086848001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:46:05] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-04 18:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398424419329900544,"km_value":398424419329900.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:46:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2619476471114250240,"description":"Unknown IO ID 44"} 
[2026-09-04 18:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863086848001,"power":27745,"unknown_144":206,"unknown_83":40960,"ignition":46,"odometer":null,"unknown_44":-2619476471114250240}} 
[2026-09-04 18:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":171221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:46:05] local.INFO: GPS data processed {"connection_id":171221,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:46:05] local.INFO: Acknowledgment sent {"connection_id":171221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:46:24] local.INFO: TCP Data received {"connection_id":172337,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8dee20012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8dee20012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:46:25] local.INFO: Processing buffer {"connection_id":172337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8dee20012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:46:25] local.INFO: Packet analysis {"connection_id":172337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8d"} 
[2026-09-04 18:46:25] local.INFO: Extracted packet for processing {"connection_id":172337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8d"} 
[2026-09-04 18:46:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863069440001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788527636000,"timestamp_ms":1788527636000,"timestamp_seconds":1788527636,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8dee20"} 
[2026-09-04 18:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863069440001,"66":12211,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863069440001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:46:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:46:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863069440001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":172337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:46:25] local.INFO: GPS data processed {"connection_id":172337,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:46:25] local.INFO: Acknowledgment sent {"connection_id":172337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:46:26] local.INFO: TCP Data received {"connection_id":170942,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:46:26] local.INFO: Processing buffer {"connection_id":170942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:46:26] local.INFO: Packet analysis {"connection_id":170942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:46:26] local.INFO: Extracted packet for processing {"connection_id":170942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:46:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862980096001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788527567000,"timestamp_ms":1788527567000,"timestamp_seconds":1788527567,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8ce098"} 
[2026-09-04 18:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 18:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862980096001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862980096001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:46:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:46:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862980096001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":170942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764480,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:46:27] local.INFO: GPS data processed {"connection_id":170942,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:46:27] local.INFO: Acknowledgment sent {"connection_id":170942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:46:36] local.INFO: TCP Data received {"connection_id":171221,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8ed880012cdba880073183a0001a00a631..."} 
[2026-09-04 18:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8ed880012cdba880073183a0001a00a631..."} 
[2026-09-04 18:46:36] local.INFO: Processing buffer {"connection_id":171221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8ed880012cdba880073183a0001a00a631..."} 
[2026-09-04 18:46:36] local.INFO: Packet analysis {"connection_id":171221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8e"} 
[2026-09-04 18:46:36] local.INFO: Extracted packet for processing {"connection_id":171221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8e"} 
[2026-09-04 18:46:36] local.INFO: GPS Element Parsed {"raw_longitude":752593024,"raw_latitude":120685472,"longitude_deg":75.2593024,"latitude_deg":12.0685472,"altitude":26,"angle":166,"satellites":49,"speed":45,"hex_longitude":"2cdba880","hex_latitude":"073183a0","is_valid_coordinates":true} 
[2026-09-04 18:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863088128001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398424870301466624,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2619898683580760064,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788527696000,"timestamp_ms":1788527696000,"timestamp_seconds":1788527696,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8ed880"} 
[2026-09-04 18:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863088128001,"66":27713,"143":206,"83":40960,"24":45,"16":398424870301466624,"44":-2619898683580760064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,44]} 
[2026-09-04 18:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863088128001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:46:36] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-04 18:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398424870301466624,"km_value":398424870301466.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:46:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2619898683580760064,"description":"Unknown IO ID 44"} 
[2026-09-04 18:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863088128001,"power":27713,"unknown_143":206,"unknown_83":40960,"ignition":45,"odometer":null,"unknown_44":-2619898683580760064}} 
[2026-09-04 18:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":171221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:46:36] local.INFO: GPS data processed {"connection_id":171221,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:46:36] local.INFO: Acknowledgment sent {"connection_id":171221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:46:53] local.INFO: TCP Data received {"connection_id":171222,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:46:53] local.INFO: Processing buffer {"connection_id":171222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:46:53] local.INFO: IMEI packet received {"connection_id":171222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":171222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:46:54] local.INFO: TCP Data received {"connection_id":171223,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:46:54] local.INFO: Processing buffer {"connection_id":171223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:46:54] local.INFO: IMEI packet received {"connection_id":171223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":171223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:46:58] local.INFO: TCP Data received {"connection_id":171222,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:46:58] local.INFO: Processing buffer {"connection_id":171222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:46:58] local.INFO: IMEI packet received {"connection_id":171222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":171222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:46:58] local.INFO: TCP Data received {"connection_id":171224,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:46:58] local.INFO: Processing buffer {"connection_id":171224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:46:58] local.INFO: IMEI packet received {"connection_id":171224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":171224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:46:58] local.INFO: TCP Data received {"connection_id":171222,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8e4028012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8e4028012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:46:58] local.INFO: Processing buffer {"connection_id":171222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8e4028012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:46:58] local.INFO: Packet analysis {"connection_id":171222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8e"} 
[2026-09-04 18:46:58] local.INFO: Extracted packet for processing {"connection_id":171222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8e"} 
[2026-09-04 18:46:58] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863074816001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788527657000,"timestamp_ms":1788527657000,"timestamp_seconds":1788527657,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8e4028"} 
[2026-09-04 18:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-04 18:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863074816001,"66":12406,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863074816001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:46:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:46:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863074816001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":171222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:46:59] local.INFO: GPS data processed {"connection_id":171222,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:46:59] local.INFO: Acknowledgment sent {"connection_id":171222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:46:59] local.INFO: TCP Data received {"connection_id":171223,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:46:59] local.INFO: Processing buffer {"connection_id":171223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:46:59] local.INFO: IMEI packet received {"connection_id":171223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":171223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:47:00] local.INFO: TCP Data received {"connection_id":171223,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:47:00] local.INFO: Processing buffer {"connection_id":171223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:47:00] local.INFO: Packet analysis {"connection_id":171223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:47:00] local.INFO: Extracted packet for processing {"connection_id":171223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:47:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862980096001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788527567000,"timestamp_ms":1788527567000,"timestamp_seconds":1788527567,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8ce098"} 
[2026-09-04 18:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 18:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862980096001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862980096001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:47:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:47:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862980096001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":171223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764483,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:47:01] local.INFO: GPS data processed {"connection_id":171223,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:47:01] local.INFO: Acknowledgment sent {"connection_id":171223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:47:01] local.INFO: TCP Data received {"connection_id":171222,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8e9230012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8e9230012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:47:01] local.INFO: Processing buffer {"connection_id":171222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8e9230012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:47:01] local.INFO: Packet analysis {"connection_id":171222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8e"} 
[2026-09-04 18:47:01] local.INFO: Extracted packet for processing {"connection_id":171222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8e"} 
[2026-09-04 18:47:01] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863080192001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788527678000,"timestamp_ms":1788527678000,"timestamp_seconds":1788527678,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8e9230"} 
[2026-09-04 18:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 18:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863080192001,"66":12428,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863080192001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:47:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863080192001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":171222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:47:01] local.INFO: GPS data processed {"connection_id":171222,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:47:01] local.INFO: Acknowledgment sent {"connection_id":171222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:47:04] local.INFO: TCP Data received {"connection_id":171224,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:47:04] local.INFO: Processing buffer {"connection_id":171224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:47:04] local.INFO: IMEI packet received {"connection_id":171224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":171224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:47:04] local.INFO: TCP Data received {"connection_id":171224,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8eeff0012cdbb1c0073168e80017009b31..."} 
[2026-09-04 18:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8eeff0012cdbb1c0073168e80017009b31..."} 
[2026-09-04 18:47:04] local.INFO: Processing buffer {"connection_id":171224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8eeff0012cdbb1c0073168e80017009b31..."} 
[2026-09-04 18:47:04] local.INFO: Packet analysis {"connection_id":171224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8e"} 
[2026-09-04 18:47:04] local.INFO: Extracted packet for processing {"connection_id":171224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8e"} 
[2026-09-04 18:47:04] local.INFO: GPS Element Parsed {"raw_longitude":752595392,"raw_latitude":120678632,"longitude_deg":75.2595392,"latitude_deg":12.0678632,"altitude":23,"angle":155,"satellites":49,"speed":50,"hex_longitude":"2cdbb1c0","hex_latitude":"073168e8","is_valid_coordinates":true} 
[2026-09-04 18:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863090176001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398425222488784896,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2618702414932107264,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788527702000,"timestamp_ms":1788527702000,"timestamp_seconds":1788527702,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8eeff0"} 
[2026-09-04 18:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 18:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863090176001,"66":27767,"143":206,"83":40960,"24":50,"16":398425222488784896,"44":-2618702414932107264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,44]} 
[2026-09-04 18:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863090176001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:47:04] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-04 18:47:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398425222488784896,"km_value":398425222488784.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:47:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2618702414932107264,"description":"Unknown IO ID 44"} 
[2026-09-04 18:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863090176001,"power":27767,"unknown_143":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2618702414932107264}} 
[2026-09-04 18:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":171224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:47:04] local.INFO: GPS data processed {"connection_id":171224,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:47:04] local.INFO: Acknowledgment sent {"connection_id":171224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:47:05] local.INFO: TCP Data received {"connection_id":171223,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:47:05] local.INFO: Processing buffer {"connection_id":171223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:47:05] local.INFO: Packet analysis {"connection_id":171223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:47:05] local.INFO: Extracted packet for processing {"connection_id":171223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862980096001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788527567000,"timestamp_ms":1788527567000,"timestamp_seconds":1788527567,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8ce098"} 
[2026-09-04 18:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 18:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862980096001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862980096001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:47:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862980096001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":171223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764486,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:47:05] local.INFO: GPS data processed {"connection_id":171223,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:47:05] local.INFO: Acknowledgment sent {"connection_id":171223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:47:33] local.INFO: TCP Data received {"connection_id":171222,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8ee438012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8ee438012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:47:33] local.INFO: Processing buffer {"connection_id":171222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8ee438012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:47:33] local.INFO: Packet analysis {"connection_id":171222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8e"} 
[2026-09-04 18:47:33] local.INFO: Extracted packet for processing {"connection_id":171222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8e"} 
[2026-09-04 18:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863085568001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788527699000,"timestamp_ms":1788527699000,"timestamp_seconds":1788527699,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8ee438"} 
[2026-09-04 18:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 18:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863085568001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863085568001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:47:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:47:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863085568001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":171222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:47:33] local.INFO: GPS data processed {"connection_id":171222,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:47:33] local.INFO: Acknowledgment sent {"connection_id":171222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:47:36] local.INFO: TCP Data received {"connection_id":171224,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c907a78012cdc56c0072fcd980008009332..."} 
[2026-09-04 18:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c907a78012cdc56c0072fcd980008009332..."} 
[2026-09-04 18:47:36] local.INFO: Processing buffer {"connection_id":171224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c907a78012cdc56c0072fcd980008009332..."} 
[2026-09-04 18:47:36] local.INFO: Packet analysis {"connection_id":171224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c90"} 
[2026-09-04 18:47:36] local.INFO: Extracted packet for processing {"connection_id":171224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c90"} 
[2026-09-04 18:47:36] local.INFO: GPS Element Parsed {"raw_longitude":752637632,"raw_latitude":120573336,"longitude_deg":75.2637632,"latitude_deg":12.0573336,"altitude":8,"angle":147,"satellites":50,"speed":45,"hex_longitude":"2cdc56c0","hex_latitude":"072fcd98","is_valid_coordinates":true} 
[2026-09-04 18:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863115520001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398430840306008064,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2575284899801190400,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788527803000,"timestamp_ms":1788527803000,"timestamp_seconds":1788527803,"priority":1,"record_length":96,"hex_timestamp":"000001a06c907a78"} 
[2026-09-04 18:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863115520001,"66":27745,"95":206,"83":40960,"24":45,"16":398430840306008064,"44":-2575284899801190400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-04 18:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863115520001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:47:36] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-04 18:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398430840306008064,"km_value":398430840306008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:47:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2575284899801190400,"description":"Unknown IO ID 44"} 
[2026-09-04 18:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863115520001,"power":27745,"unknown_95":206,"unknown_83":40960,"ignition":45,"odometer":null,"unknown_44":-2575284899801190400}} 
[2026-09-04 18:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":171224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:47:36] local.INFO: GPS data processed {"connection_id":171224,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:47:36] local.INFO: Acknowledgment sent {"connection_id":171224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:47:48] local.INFO: TCP Data received {"connection_id":171225,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:47:48] local.INFO: Processing buffer {"connection_id":171225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:47:48] local.INFO: IMEI packet received {"connection_id":171225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":171225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:47:48] local.INFO: TCP Data received {"connection_id":171226,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:47:48] local.INFO: Processing buffer {"connection_id":171226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:47:48] local.INFO: IMEI packet received {"connection_id":171226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":171226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:47:53] local.INFO: TCP Data received {"connection_id":171225,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:47:53] local.INFO: Processing buffer {"connection_id":171225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:47:53] local.INFO: IMEI packet received {"connection_id":171225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":171225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:47:53] local.INFO: TCP Data received {"connection_id":171225,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8f3640012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8f3640012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:47:53] local.INFO: Processing buffer {"connection_id":171225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8f3640012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:47:53] local.INFO: Packet analysis {"connection_id":171225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8f"} 
[2026-09-04 18:47:53] local.INFO: Extracted packet for processing {"connection_id":171225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8f"} 
[2026-09-04 18:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863090944001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788527720000,"timestamp_ms":1788527720000,"timestamp_seconds":1788527720,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8f3640"} 
[2026-09-04 18:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863090944001,"66":12428,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863090944001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:47:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:47:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863090944001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":171225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:47:54] local.INFO: GPS data processed {"connection_id":171225,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:47:54] local.INFO: Acknowledgment sent {"connection_id":171225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:47:54] local.INFO: TCP Data received {"connection_id":171226,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:47:54] local.INFO: Processing buffer {"connection_id":171226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:47:54] local.INFO: IMEI packet received {"connection_id":171226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":171226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:47:55] local.INFO: TCP Data received {"connection_id":171226,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:47:55] local.INFO: Processing buffer {"connection_id":171226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:47:55] local.INFO: Packet analysis {"connection_id":171226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:47:55] local.INFO: Extracted packet for processing {"connection_id":171226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:47:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862980096001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788527567000,"timestamp_ms":1788527567000,"timestamp_seconds":1788527567,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8ce098"} 
[2026-09-04 18:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 18:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862980096001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862980096001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:47:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:47:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862980096001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":171226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:47:55] local.INFO: GPS data processed {"connection_id":171226,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:47:55] local.INFO: Acknowledgment sent {"connection_id":171226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:47:58] local.INFO: TCP Data received {"connection_id":172338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:47:58] local.INFO: Processing buffer {"connection_id":172338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:47:58] local.INFO: IMEI packet received {"connection_id":172338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":172338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:48:02] local.INFO: TCP Data received {"connection_id":172338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:48:02] local.INFO: Processing buffer {"connection_id":172338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:48:02] local.INFO: IMEI packet received {"connection_id":172338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":172338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:48:03] local.INFO: TCP Data received {"connection_id":172338,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:48:03] local.INFO: Processing buffer {"connection_id":172338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:48:03] local.INFO: IMEI packet received {"connection_id":172338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":172338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:48:04] local.INFO: TCP Data received {"connection_id":172338,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c909da0012cdc6e40072faf500008008731..."} 
[2026-09-04 18:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c909da0012cdc6e40072faf500008008731..."} 
[2026-09-04 18:48:04] local.INFO: Processing buffer {"connection_id":172338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c909da0012cdc6e40072faf500008008731..."} 
[2026-09-04 18:48:04] local.INFO: Packet analysis {"connection_id":172338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c90"} 
[2026-09-04 18:48:04] local.INFO: Extracted packet for processing {"connection_id":172338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c90"} 
[2026-09-04 18:48:04] local.INFO: GPS Element Parsed {"raw_longitude":752643648,"raw_latitude":120565584,"longitude_deg":75.2643648,"latitude_deg":12.0565584,"altitude":8,"angle":135,"satellites":49,"speed":45,"hex_longitude":"2cdc6e40","hex_latitude":"072faf50","is_valid_coordinates":true} 
[2026-09-04 18:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863117568001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398431312752410624,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2569655400268982272,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788527812000,"timestamp_ms":1788527812000,"timestamp_seconds":1788527812,"priority":1,"record_length":96,"hex_timestamp":"000001a06c909da0"} 
[2026-09-04 18:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863117568001,"66":27821,"95":206,"83":40960,"24":45,"16":398431312752410624,"44":-2569655400268982272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-04 18:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863117568001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:48:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-04 18:48:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398431312752410624,"km_value":398431312752410.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:48:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2569655400268982272,"description":"Unknown IO ID 44"} 
[2026-09-04 18:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863117568001,"power":27821,"unknown_95":206,"unknown_83":40960,"ignition":45,"odometer":null,"unknown_44":-2569655400268982272}} 
[2026-09-04 18:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":172338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:48:04] local.INFO: GPS data processed {"connection_id":172338,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:48:04] local.INFO: Acknowledgment sent {"connection_id":172338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:48:25] local.INFO: TCP Data received {"connection_id":171225,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8f8848012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8f8848012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:48:25] local.INFO: Processing buffer {"connection_id":171225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8f8848012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:48:25] local.INFO: Packet analysis {"connection_id":171225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8f"} 
[2026-09-04 18:48:25] local.INFO: Extracted packet for processing {"connection_id":171225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8f"} 
[2026-09-04 18:48:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863096320001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788527741000,"timestamp_ms":1788527741000,"timestamp_seconds":1788527741,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8f8848"} 
[2026-09-04 18:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 18:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863096320001,"66":12428,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863096320001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:48:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:48:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863096320001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":171225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:48:25] local.INFO: GPS data processed {"connection_id":171225,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:48:25] local.INFO: Acknowledgment sent {"connection_id":171225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:48:27] local.INFO: TCP Data received {"connection_id":171226,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:48:27] local.INFO: Processing buffer {"connection_id":171226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8ce098012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:48:27] local.INFO: Packet analysis {"connection_id":171226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:48:27] local.INFO: Extracted packet for processing {"connection_id":171226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8c"} 
[2026-09-04 18:48:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457862980096001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788527567000,"timestamp_ms":1788527567000,"timestamp_seconds":1788527567,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8ce098"} 
[2026-09-04 18:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-04 18:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457862980096001,"66":25223,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457862980096001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:48:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:48:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457862980096001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":171226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764493,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:48:27] local.INFO: GPS data processed {"connection_id":171226,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:48:27] local.INFO: Acknowledgment sent {"connection_id":171226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:48:35] local.INFO: TCP Data received {"connection_id":172338,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06c909da0012cdc6e40072faf500008008731..."} 
[2026-09-04 18:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c909da0012cdc6e40072faf500008008731..."} 
[2026-09-04 18:48:35] local.INFO: Processing buffer {"connection_id":172338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c909da0012cdc6e40072faf500008008731..."} 
[2026-09-04 18:48:35] local.INFO: Packet analysis {"connection_id":172338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c90"} 
[2026-09-04 18:48:35] local.INFO: Extracted packet for processing {"connection_id":172338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c90"} 
[2026-09-04 18:48:35] local.INFO: GPS Element Parsed {"raw_longitude":752643648,"raw_latitude":120565584,"longitude_deg":75.2643648,"latitude_deg":12.0565584,"altitude":8,"angle":135,"satellites":49,"speed":45,"hex_longitude":"2cdc6e40","hex_latitude":"072faf50","is_valid_coordinates":true} 
[2026-09-04 18:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863119872001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398431312752410624,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2563040738318266368,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788527812000,"timestamp_ms":1788527812000,"timestamp_seconds":1788527812,"priority":1,"record_length":96,"hex_timestamp":"000001a06c909da0"} 
[2026-09-04 18:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863119872001,"66":27821,"95":206,"83":40960,"24":45,"16":398431312752410624,"44":-2563040738318266368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-04 18:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863119872001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:48:35] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-04 18:48:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398431312752410624,"km_value":398431312752410.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:48:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2563040738318266368,"description":"Unknown IO ID 44"} 
[2026-09-04 18:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863119872001,"power":27821,"unknown_95":206,"unknown_83":40960,"ignition":45,"odometer":null,"unknown_44":-2563040738318266368}} 
[2026-09-04 18:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":172338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:48:35] local.INFO: GPS data processed {"connection_id":172338,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:48:35] local.INFO: Acknowledgment sent {"connection_id":172338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:48:45] local.INFO: TCP Data received {"connection_id":173639,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:48:45] local.INFO: Processing buffer {"connection_id":173639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:48:45] local.INFO: IMEI packet received {"connection_id":173639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":173639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:48:48] local.INFO: TCP Data received {"connection_id":173639,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:48:48] local.INFO: Processing buffer {"connection_id":173639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:48:48] local.INFO: IMEI packet received {"connection_id":173639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":173639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:48:48] local.INFO: TCP Data received {"connection_id":170943,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:48:48] local.INFO: Processing buffer {"connection_id":170943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:48:48] local.INFO: IMEI packet received {"connection_id":170943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":170943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:48:53] local.INFO: TCP Data received {"connection_id":173639,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:48:53] local.INFO: Processing buffer {"connection_id":173639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:48:53] local.INFO: IMEI packet received {"connection_id":173639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":173639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:48:53] local.INFO: TCP Data received {"connection_id":173639,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c8fd668012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c8fd668012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:48:53] local.INFO: Processing buffer {"connection_id":173639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c8fd668012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:48:53] local.INFO: Packet analysis {"connection_id":173639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c8f"} 
[2026-09-04 18:48:53] local.INFO: Extracted packet for processing {"connection_id":173639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c8f"} 
[2026-09-04 18:48:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863101696001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788527761000,"timestamp_ms":1788527761000,"timestamp_seconds":1788527761,"priority":1,"record_length":96,"hex_timestamp":"000001a06c8fd668"} 
[2026-09-04 18:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 18:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863101696001,"66":12428,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863101696001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:48:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:48:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863101696001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":173639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:48:53] local.INFO: GPS data processed {"connection_id":173639,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:48:53] local.INFO: Acknowledgment sent {"connection_id":173639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:48:54] local.INFO: TCP Data received {"connection_id":170943,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:48:54] local.INFO: Processing buffer {"connection_id":170943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:48:54] local.INFO: IMEI packet received {"connection_id":170943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":170943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:48:55] local.INFO: TCP Data received {"connection_id":170943,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:48:55] local.INFO: Processing buffer {"connection_id":170943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:48:55] local.INFO: Packet analysis {"connection_id":170943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:48:55] local.INFO: Extracted packet for processing {"connection_id":170943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:48:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863057152001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788527868000,"timestamp_ms":1788527868000,"timestamp_seconds":1788527868,"priority":1,"record_length":96,"hex_timestamp":"000001a06c917860"} 
[2026-09-04 18:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863057152001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863057152001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:48:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863057152001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":170943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:48:55] local.INFO: GPS data processed {"connection_id":170943,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:48:55] local.INFO: Acknowledgment sent {"connection_id":170943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:49:17] local.INFO: TCP Data received {"connection_id":170944,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:49:17] local.INFO: Processing buffer {"connection_id":170944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:49:17] local.INFO: IMEI packet received {"connection_id":170944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":170944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:49:19] local.INFO: TCP Data received {"connection_id":170944,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:49:19] local.INFO: Processing buffer {"connection_id":170944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:49:19] local.INFO: IMEI packet received {"connection_id":170944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":170944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:49:24] local.INFO: TCP Data received {"connection_id":173639,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c902870012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c902870012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:49:24] local.INFO: Processing buffer {"connection_id":173639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c902870012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:49:24] local.INFO: Packet analysis {"connection_id":173639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c90"} 
[2026-09-04 18:49:24] local.INFO: Extracted packet for processing {"connection_id":173639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c90"} 
[2026-09-04 18:49:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863106816001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788527782000,"timestamp_ms":1788527782000,"timestamp_seconds":1788527782,"priority":1,"record_length":96,"hex_timestamp":"000001a06c902870"} 
[2026-09-04 18:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 18:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863106816001,"66":12406,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863106816001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:49:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:49:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863106816001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":173639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:49:25] local.INFO: GPS data processed {"connection_id":173639,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:49:25] local.INFO: Acknowledgment sent {"connection_id":173639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:49:27] local.INFO: TCP Data received {"connection_id":170943,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:49:27] local.INFO: Processing buffer {"connection_id":170943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:49:27] local.INFO: Packet analysis {"connection_id":170943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:49:27] local.INFO: Extracted packet for processing {"connection_id":170943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:49:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863057152001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788527868000,"timestamp_ms":1788527868000,"timestamp_seconds":1788527868,"priority":1,"record_length":96,"hex_timestamp":"000001a06c917860"} 
[2026-09-04 18:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863057152001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863057152001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:49:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:49:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863057152001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":170943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764498,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:49:27] local.INFO: GPS data processed {"connection_id":170943,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:49:27] local.INFO: Acknowledgment sent {"connection_id":170943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:49:42] local.INFO: TCP Data received {"connection_id":170944,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:49:42] local.INFO: Processing buffer {"connection_id":170944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:49:42] local.INFO: IMEI packet received {"connection_id":170944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":170944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:49:43] local.INFO: TCP Data received {"connection_id":170944,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a06c90bce0012cdc88c0072f96780007008530..."} 
[2026-09-04 18:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c90bce0012cdc88c0072f96780007008530..."} 
[2026-09-04 18:49:43] local.INFO: Processing buffer {"connection_id":170944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c90bce0012cdc88c0072f96780007008530..."} 
[2026-09-04 18:49:43] local.INFO: Packet analysis {"connection_id":170944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c90"} 
[2026-09-04 18:49:43] local.INFO: Extracted packet for processing {"connection_id":170944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c90"} 
[2026-09-04 18:49:43] local.INFO: GPS Element Parsed {"raw_longitude":752650432,"raw_latitude":120559224,"longitude_deg":75.2650432,"latitude_deg":12.0559224,"altitude":7,"angle":133,"satellites":48,"speed":47,"hex_longitude":"2cdc88c0","hex_latitude":"072f9678","is_valid_coordinates":true} 
[2026-09-04 18:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863119872001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398431759429009408,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2563040738318266368,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788527820000,"timestamp_ms":1788527820000,"timestamp_seconds":1788527820,"priority":1,"record_length":96,"hex_timestamp":"000001a06c90bce0"} 
[2026-09-04 18:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":170944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":170944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":170944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863119872001,"66":27767,"95":206,"83":40960,"24":47,"16":398431759429009408,"44":-2563040738318266368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-04 18:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863119872001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:49:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-04 18:49:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398431759429009408,"km_value":398431759429009.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:49:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2563040738318266368,"description":"Unknown IO ID 44"} 
[2026-09-04 18:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863119872001,"power":27767,"unknown_95":206,"unknown_83":40960,"ignition":47,"odometer":null,"unknown_44":-2563040738318266368}} 
[2026-09-04 18:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":170944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:49:43] local.INFO: GPS data processed {"connection_id":170944,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:49:43] local.INFO: Acknowledgment sent {"connection_id":170944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:49:48] local.INFO: TCP Data received {"connection_id":170945,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:49:48] local.INFO: Processing buffer {"connection_id":170945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:49:48] local.INFO: IMEI packet received {"connection_id":170945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":170945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:49:48] local.INFO: TCP Data received {"connection_id":173640,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:49:48] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:49:48] local.INFO: IMEI packet received {"connection_id":173640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":173640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:49:48] local.INFO: TCP Data received {"connection_id":170945,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:49:48] local.INFO: Processing buffer {"connection_id":170945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:49:48] local.INFO: IMEI packet received {"connection_id":170945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":170945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:49:53] local.INFO: TCP Data received {"connection_id":170945,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:49:53] local.INFO: Processing buffer {"connection_id":170945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:49:53] local.INFO: IMEI packet received {"connection_id":170945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":170945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:49:53] local.INFO: TCP Data received {"connection_id":170945,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c907a78012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c907a78012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:49:53] local.INFO: Processing buffer {"connection_id":170945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c907a78012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:49:53] local.INFO: Packet analysis {"connection_id":170945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c90"} 
[2026-09-04 18:49:53] local.INFO: Extracted packet for processing {"connection_id":170945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c90"} 
[2026-09-04 18:49:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863112192001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788527803000,"timestamp_ms":1788527803000,"timestamp_seconds":1788527803,"priority":1,"record_length":96,"hex_timestamp":"000001a06c907a78"} 
[2026-09-04 18:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 18:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863112192001,"66":12428,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863112192001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:49:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:49:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863112192001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":170945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:49:53] local.INFO: GPS data processed {"connection_id":170945,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:49:53] local.INFO: Acknowledgment sent {"connection_id":170945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:49:54] local.INFO: TCP Data received {"connection_id":173640,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:49:54] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:49:54] local.INFO: IMEI packet received {"connection_id":173640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":173640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:49:55] local.INFO: TCP Data received {"connection_id":173640,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:49:55] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:49:55] local.INFO: Packet analysis {"connection_id":173640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:49:55] local.INFO: Extracted packet for processing {"connection_id":173640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863057152001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788527868000,"timestamp_ms":1788527868000,"timestamp_seconds":1788527868,"priority":1,"record_length":96,"hex_timestamp":"000001a06c917860"} 
[2026-09-04 18:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863057152001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863057152001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:49:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:49:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863057152001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":173640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764501,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:49:55] local.INFO: GPS data processed {"connection_id":173640,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:49:55] local.INFO: Acknowledgment sent {"connection_id":173640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:49:59] local.INFO: TCP Data received {"connection_id":172339,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:49:59] local.INFO: Processing buffer {"connection_id":172339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:49:59] local.INFO: IMEI packet received {"connection_id":172339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":172339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:50:25] local.INFO: TCP Data received {"connection_id":170945,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c90cc80012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c90cc80012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:50:25] local.INFO: Processing buffer {"connection_id":170945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c90cc80012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:50:25] local.INFO: Packet analysis {"connection_id":170945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c90"} 
[2026-09-04 18:50:25] local.INFO: Extracted packet for processing {"connection_id":170945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c90"} 
[2026-09-04 18:50:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863117568001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788527824000,"timestamp_ms":1788527824000,"timestamp_seconds":1788527824,"priority":1,"record_length":96,"hex_timestamp":"000001a06c90cc80"} 
[2026-09-04 18:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 18:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863117568001,"66":12428,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863117568001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:50:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:50:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863117568001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":170945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:50:25] local.INFO: GPS data processed {"connection_id":170945,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:50:25] local.INFO: Acknowledgment sent {"connection_id":170945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:50:27] local.INFO: TCP Data received {"connection_id":173640,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:50:27] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:50:27] local.INFO: Packet analysis {"connection_id":173640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:50:27] local.INFO: Extracted packet for processing {"connection_id":173640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:50:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863057152001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788527868000,"timestamp_ms":1788527868000,"timestamp_seconds":1788527868,"priority":1,"record_length":96,"hex_timestamp":"000001a06c917860"} 
[2026-09-04 18:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863057152001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863057152001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:50:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:50:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863057152001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":173640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764503,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:50:27] local.INFO: GPS data processed {"connection_id":173640,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:50:27] local.INFO: Acknowledgment sent {"connection_id":173640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:50:27] local.INFO: TCP Data received {"connection_id":172339,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:50:27] local.INFO: Processing buffer {"connection_id":172339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:50:27] local.INFO: IMEI packet received {"connection_id":172339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":172339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:50:28] local.INFO: TCP Data received {"connection_id":172339,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9266a8012cdcc6c0072ea620001e00cc30..."} 
[2026-09-04 18:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9266a8012cdcc6c0072ea620001e00cc30..."} 
[2026-09-04 18:50:28] local.INFO: Processing buffer {"connection_id":172339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9266a8012cdcc6c0072ea620001e00cc30..."} 
[2026-09-04 18:50:28] local.INFO: Packet analysis {"connection_id":172339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c92"} 
[2026-09-04 18:50:28] local.INFO: Extracted packet for processing {"connection_id":172339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c92"} 
[2026-09-04 18:50:28] local.INFO: GPS Element Parsed {"raw_longitude":752666304,"raw_latitude":120497696,"longitude_deg":75.2666304,"latitude_deg":12.0497696,"altitude":30,"angle":204,"satellites":48,"speed":31,"hex_longitude":"2cdcc6c0","hex_latitude":"072ea620","is_valid_coordinates":true} 
[2026-09-04 18:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863147264001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398435075143761920,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2535737665593047040,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788527929000,"timestamp_ms":1788527929000,"timestamp_seconds":1788527929,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9266a8"} 
[2026-09-04 18:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 18:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863147264001,"66":27713,"27":206,"83":40960,"24":31,"16":398435075143761920,"44":-2535737665593047040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 18:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863147264001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:50:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 18:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398435075143761920,"km_value":398435075143761.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:50:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2535737665593047040,"description":"Unknown IO ID 44"} 
[2026-09-04 18:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863147264001,"power":27713,"unknown_27":206,"unknown_83":40960,"ignition":31,"odometer":null,"unknown_44":-2535737665593047040}} 
[2026-09-04 18:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":172339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:50:28] local.INFO: GPS data processed {"connection_id":172339,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:50:28] local.INFO: Acknowledgment sent {"connection_id":172339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:50:28] local.INFO: TCP Data received {"connection_id":172339,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a06c929588012cdcb6c0072e86c8001700cc31..."} 
[2026-09-04 18:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c929588012cdcb6c0072e86c8001700cc31..."} 
[2026-09-04 18:50:28] local.INFO: Processing buffer {"connection_id":172339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c929588012cdcb6c0072e86c8001700cc31..."} 
[2026-09-04 18:50:28] local.INFO: Packet analysis {"connection_id":172339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c92"} 
[2026-09-04 18:50:28] local.INFO: Extracted packet for processing {"connection_id":172339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c92"} 
[2026-09-04 18:50:28] local.INFO: GPS Element Parsed {"raw_longitude":752662208,"raw_latitude":120489672,"longitude_deg":75.2662208,"latitude_deg":12.0489672,"altitude":23,"angle":204,"satellites":49,"speed":31,"hex_longitude":"2cdcb6c0","hex_latitude":"072e86c8","is_valid_coordinates":true} 
[2026-09-04 18:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863149824001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398435508935458816,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2538130202896752640,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788527941000,"timestamp_ms":1788527941000,"timestamp_seconds":1788527941,"priority":1,"record_length":96,"hex_timestamp":"000001a06c929588"} 
[2026-09-04 18:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 18:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863149824001,"66":27745,"27":206,"83":40960,"24":31,"16":398435508935458816,"44":-2538130202896752640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 18:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863149824001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:50:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 18:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398435508935458816,"km_value":398435508935458.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:50:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2538130202896752640,"description":"Unknown IO ID 44"} 
[2026-09-04 18:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863149824001,"power":27745,"unknown_27":206,"unknown_83":40960,"ignition":31,"odometer":null,"unknown_44":-2538130202896752640}} 
[2026-09-04 18:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":172339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:50:29] local.INFO: GPS data processed {"connection_id":172339,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:50:29] local.INFO: Acknowledgment sent {"connection_id":172339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:50:47] local.INFO: TCP Data received {"connection_id":171227,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:50:47] local.INFO: Processing buffer {"connection_id":171227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:50:47] local.INFO: IMEI packet received {"connection_id":171227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":171227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:50:52] local.INFO: TCP Data received {"connection_id":171227,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:50:52] local.INFO: Processing buffer {"connection_id":171227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:50:52] local.INFO: IMEI packet received {"connection_id":171227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":171227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:50:52] local.INFO: TCP Data received {"connection_id":171227,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c911e88012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c911e88012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:50:52] local.INFO: Processing buffer {"connection_id":171227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c911e88012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:50:52] local.INFO: Packet analysis {"connection_id":171227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:50:52] local.INFO: Extracted packet for processing {"connection_id":171227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863122944001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788527845000,"timestamp_ms":1788527845000,"timestamp_seconds":1788527845,"priority":1,"record_length":96,"hex_timestamp":"000001a06c911e88"} 
[2026-09-04 18:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 18:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863122944001,"66":12428,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863122944001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:50:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:50:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863122944001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":171227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:50:53] local.INFO: GPS data processed {"connection_id":171227,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:50:53] local.INFO: Acknowledgment sent {"connection_id":171227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:50:54] local.INFO: TCP Data received {"connection_id":172340,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:50:54] local.INFO: Processing buffer {"connection_id":172340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:50:54] local.INFO: IMEI packet received {"connection_id":172340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":172340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:50:59] local.INFO: TCP Data received {"connection_id":172340,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:50:59] local.INFO: Processing buffer {"connection_id":172340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:50:59] local.INFO: IMEI packet received {"connection_id":172340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":172340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:50:59] local.INFO: TCP Data received {"connection_id":172341,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:50:59] local.INFO: Processing buffer {"connection_id":172341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:50:59] local.INFO: IMEI packet received {"connection_id":172341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":172341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:51:00] local.INFO: TCP Data received {"connection_id":172340,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:51:00] local.INFO: Processing buffer {"connection_id":172340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:51:00] local.INFO: Packet analysis {"connection_id":172340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:51:00] local.INFO: Extracted packet for processing {"connection_id":172340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863057152001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788527868000,"timestamp_ms":1788527868000,"timestamp_seconds":1788527868,"priority":1,"record_length":96,"hex_timestamp":"000001a06c917860"} 
[2026-09-04 18:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863057152001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863057152001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:51:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863057152001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":172340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764507,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:51:01] local.INFO: GPS data processed {"connection_id":172340,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:51:01] local.INFO: Acknowledgment sent {"connection_id":172340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:51:04] local.INFO: TCP Data received {"connection_id":172341,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:51:04] local.INFO: Processing buffer {"connection_id":172341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:51:04] local.INFO: IMEI packet received {"connection_id":172341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":172341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:51:04] local.INFO: TCP Data received {"connection_id":172340,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:51:04] local.INFO: Processing buffer {"connection_id":172340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:51:04] local.INFO: Packet analysis {"connection_id":172340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:51:04] local.INFO: Extracted packet for processing {"connection_id":172340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863057152001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788527868000,"timestamp_ms":1788527868000,"timestamp_seconds":1788527868,"priority":1,"record_length":96,"hex_timestamp":"000001a06c917860"} 
[2026-09-04 18:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863057152001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863057152001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:51:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:51:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863057152001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":172340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764508,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:51:04] local.INFO: GPS data processed {"connection_id":172340,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:51:04] local.INFO: Acknowledgment sent {"connection_id":172340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:51:04] local.INFO: TCP Data received {"connection_id":172341,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a06c92c468012cdcaa00072e6630001000c62e..."} 
[2026-09-04 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c92c468012cdcaa00072e6630001000c62e..."} 
[2026-09-04 18:51:04] local.INFO: Processing buffer {"connection_id":172341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c92c468012cdcaa00072e6630001000c62e..."} 
[2026-09-04 18:51:04] local.INFO: Packet analysis {"connection_id":172341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c92"} 
[2026-09-04 18:51:04] local.INFO: Extracted packet for processing {"connection_id":172341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c92"} 
[2026-09-04 18:51:04] local.INFO: GPS Element Parsed {"raw_longitude":752658944,"raw_latitude":120481328,"longitude_deg":75.2658944,"latitude_deg":12.0481328,"altitude":16,"angle":198,"satellites":46,"speed":29,"hex_longitude":"2cdcaa00","hex_latitude":"072e6630","is_valid_coordinates":true} 
[2026-09-04 18:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863152896001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398435942727155712,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2542633802526177280,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788527953000,"timestamp_ms":1788527953000,"timestamp_seconds":1788527953,"priority":1,"record_length":96,"hex_timestamp":"000001a06c92c468"} 
[2026-09-04 18:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863152896001,"66":27821,"29":206,"83":40960,"24":29,"16":398435942727155712,"44":-2542633802526177280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-09-04 18:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863152896001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:51:04] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-04 18:51:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398435942727155712,"km_value":398435942727155.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:51:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2542633802526177280,"description":"Unknown IO ID 44"} 
[2026-09-04 18:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863152896001,"power":27821,"unknown_29":206,"unknown_83":40960,"ignition":29,"odometer":null,"unknown_44":-2542633802526177280}} 
[2026-09-04 18:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":172341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:51:04] local.INFO: GPS data processed {"connection_id":172341,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:51:04] local.INFO: Acknowledgment sent {"connection_id":172341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:51:23] local.INFO: TCP Data received {"connection_id":171227,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c917090012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c917090012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:51:23] local.INFO: Processing buffer {"connection_id":171227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c917090012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:51:23] local.INFO: Packet analysis {"connection_id":171227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:51:23] local.INFO: Extracted packet for processing {"connection_id":171227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863128320001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788527866000,"timestamp_ms":1788527866000,"timestamp_seconds":1788527866,"priority":1,"record_length":96,"hex_timestamp":"000001a06c917090"} 
[2026-09-04 18:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 18:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863128320001,"66":12406,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863128320001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:51:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863128320001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":171227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:51:24] local.INFO: GPS data processed {"connection_id":171227,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:51:24] local.INFO: Acknowledgment sent {"connection_id":171227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:51:35] local.INFO: TCP Data received {"connection_id":172341,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a06c92f348012cdca1c0072e4430000a00bd2f..."} 
[2026-09-04 18:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c92f348012cdca1c0072e4430000a00bd2f..."} 
[2026-09-04 18:51:35] local.INFO: Processing buffer {"connection_id":172341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c92f348012cdca1c0072e4430000a00bd2f..."} 
[2026-09-04 18:51:35] local.INFO: Packet analysis {"connection_id":172341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c92"} 
[2026-09-04 18:51:35] local.INFO: Extracted packet for processing {"connection_id":172341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c92"} 
[2026-09-04 18:51:35] local.INFO: GPS Element Parsed {"raw_longitude":752656832,"raw_latitude":120472624,"longitude_deg":75.2656832,"latitude_deg":12.0472624,"altitude":10,"angle":189,"satellites":47,"speed":29,"hex_longitude":"2cdca1c0","hex_latitude":"072e4430","is_valid_coordinates":true} 
[2026-09-04 18:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863155968001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398436376518852608,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2546222608481374208,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788527965000,"timestamp_ms":1788527965000,"timestamp_seconds":1788527965,"priority":1,"record_length":96,"hex_timestamp":"000001a06c92f348"} 
[2026-09-04 18:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 18:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863155968001,"66":27658,"29":206,"83":40960,"24":29,"16":398436376518852608,"44":-2546222608481374208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-09-04 18:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863155968001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:51:35] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-04 18:51:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398436376518852608,"km_value":398436376518852.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:51:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2546222608481374208,"description":"Unknown IO ID 44"} 
[2026-09-04 18:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863155968001,"power":27658,"unknown_29":206,"unknown_83":40960,"ignition":29,"odometer":null,"unknown_44":-2546222608481374208}} 
[2026-09-04 18:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":172341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:51:35] local.INFO: GPS data processed {"connection_id":172341,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:51:35] local.INFO: Acknowledgment sent {"connection_id":172341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:51:47] local.INFO: TCP Data received {"connection_id":170946,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:51:47] local.INFO: Processing buffer {"connection_id":170946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:51:47] local.INFO: IMEI packet received {"connection_id":170946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":170946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:51:49] local.INFO: TCP Data received {"connection_id":173641,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:51:49] local.INFO: Processing buffer {"connection_id":173641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:51:49] local.INFO: IMEI packet received {"connection_id":173641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":173641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:51:53] local.INFO: TCP Data received {"connection_id":170946,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:51:53] local.INFO: Processing buffer {"connection_id":170946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:51:53] local.INFO: IMEI packet received {"connection_id":170946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":170946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:51:53] local.INFO: TCP Data received {"connection_id":170946,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c91c680012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c91c680012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:51:53] local.INFO: Processing buffer {"connection_id":170946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c91c680012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:51:53] local.INFO: Packet analysis {"connection_id":170946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:51:53] local.INFO: Extracted packet for processing {"connection_id":170946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:51:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863133696001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788527888000,"timestamp_ms":1788527888000,"timestamp_seconds":1788527888,"priority":1,"record_length":96,"hex_timestamp":"000001a06c91c680"} 
[2026-09-04 18:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 18:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863133696001,"66":12428,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863133696001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:51:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:51:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863133696001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:51:54] local.INFO: TCP Data received {"connection_id":173641,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:51:54] local.INFO: Processing buffer {"connection_id":173641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:51:54] local.INFO: IMEI packet received {"connection_id":173641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":173641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":170946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:51:54] local.INFO: GPS data processed {"connection_id":170946,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:51:54] local.INFO: Acknowledgment sent {"connection_id":170946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:51:55] local.INFO: TCP Data received {"connection_id":173641,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:51:55] local.INFO: Processing buffer {"connection_id":173641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:51:55] local.INFO: Packet analysis {"connection_id":173641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:51:55] local.INFO: Extracted packet for processing {"connection_id":173641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:51:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863057152001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788527868000,"timestamp_ms":1788527868000,"timestamp_seconds":1788527868,"priority":1,"record_length":96,"hex_timestamp":"000001a06c917860"} 
[2026-09-04 18:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863057152001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863057152001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:51:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:51:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863057152001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":173641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764513,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:51:55] local.INFO: GPS data processed {"connection_id":173641,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:51:55] local.INFO: Acknowledgment sent {"connection_id":173641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:51:59] local.INFO: TCP Data received {"connection_id":172342,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:51:59] local.INFO: Processing buffer {"connection_id":172342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:51:59] local.INFO: IMEI packet received {"connection_id":172342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":172342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:52:04] local.INFO: TCP Data received {"connection_id":172342,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:52:04] local.INFO: Processing buffer {"connection_id":172342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:52:04] local.INFO: IMEI packet received {"connection_id":172342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":172342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:52:04] local.INFO: TCP Data received {"connection_id":172342,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06c932610012cdc9f00072e1f20000a00bc34..."} 
[2026-09-04 18:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c932610012cdc9f00072e1f20000a00bc34..."} 
[2026-09-04 18:52:04] local.INFO: Processing buffer {"connection_id":172342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c932610012cdc9f00072e1f20000a00bc34..."} 
[2026-09-04 18:52:04] local.INFO: Packet analysis {"connection_id":172342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:52:04] local.INFO: Extracted packet for processing {"connection_id":172342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:52:04] local.INFO: GPS Element Parsed {"raw_longitude":752656128,"raw_latitude":120463136,"longitude_deg":75.2656128,"latitude_deg":12.0463136,"altitude":10,"angle":188,"satellites":52,"speed":33,"hex_longitude":"2cdc9f00","hex_latitude":"072e1f20","is_valid_coordinates":true} 
[2026-09-04 18:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863159040001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398436840375320576,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2548544777041465344,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788527978000,"timestamp_ms":1788527978000,"timestamp_seconds":1788527978,"priority":1,"record_length":96,"hex_timestamp":"000001a06c932610"} 
[2026-09-04 18:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 18:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863159040001,"66":27691,"94":206,"83":40960,"24":33,"16":398436840375320576,"44":-2548544777041465344},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-09-04 18:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863159040001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:52:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-04 18:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398436840375320576,"km_value":398436840375320.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:52:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2548544777041465344,"description":"Unknown IO ID 44"} 
[2026-09-04 18:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863159040001,"power":27691,"unknown_94":206,"unknown_83":40960,"ignition":33,"odometer":null,"unknown_44":-2548544777041465344}} 
[2026-09-04 18:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":172342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:52:05] local.INFO: GPS data processed {"connection_id":172342,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:52:05] local.INFO: Acknowledgment sent {"connection_id":172342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:52:25] local.INFO: TCP Data received {"connection_id":170946,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c921888012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c921888012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:52:25] local.INFO: Processing buffer {"connection_id":170946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c921888012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:52:25] local.INFO: Packet analysis {"connection_id":170946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c92"} 
[2026-09-04 18:52:25] local.INFO: Extracted packet for processing {"connection_id":170946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c92"} 
[2026-09-04 18:52:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863139328001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788527909000,"timestamp_ms":1788527909000,"timestamp_seconds":1788527909,"priority":1,"record_length":96,"hex_timestamp":"000001a06c921888"} 
[2026-09-04 18:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 18:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863139328001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863139328001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:52:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:52:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863139328001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":170946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:52:25] local.INFO: GPS data processed {"connection_id":170946,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:52:25] local.INFO: Acknowledgment sent {"connection_id":170946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:52:26] local.INFO: TCP Data received {"connection_id":173641,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:52:26] local.INFO: Processing buffer {"connection_id":173641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:52:26] local.INFO: Packet analysis {"connection_id":173641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:52:26] local.INFO: Extracted packet for processing {"connection_id":173641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:52:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863057152001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788527868000,"timestamp_ms":1788527868000,"timestamp_seconds":1788527868,"priority":1,"record_length":96,"hex_timestamp":"000001a06c917860"} 
[2026-09-04 18:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863057152001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863057152001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:52:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:52:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863057152001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":173641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764516,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:52:27] local.INFO: GPS data processed {"connection_id":173641,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:52:27] local.INFO: Acknowledgment sent {"connection_id":173641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:52:36] local.INFO: TCP Data received {"connection_id":172342,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06c934d20012cdc9b40072dfba0000c00b433..."} 
[2026-09-04 18:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c934d20012cdc9b40072dfba0000c00b433..."} 
[2026-09-04 18:52:36] local.INFO: Processing buffer {"connection_id":172342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c934d20012cdc9b40072dfba0000c00b433..."} 
[2026-09-04 18:52:36] local.INFO: Packet analysis {"connection_id":172342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:52:36] local.INFO: Extracted packet for processing {"connection_id":172342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:52:36] local.INFO: GPS Element Parsed {"raw_longitude":752655168,"raw_latitude":120454048,"longitude_deg":75.2655168,"latitude_deg":12.0454048,"altitude":12,"angle":180,"satellites":51,"speed":36,"hex_longitude":"2cdc9b40","hex_latitude":"072dfba0","is_valid_coordinates":true} 
[2026-09-04 18:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863162368001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398437282756952064,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2549318833229848576,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788527988000,"timestamp_ms":1788527988000,"timestamp_seconds":1788527988,"priority":1,"record_length":96,"hex_timestamp":"000001a06c934d20"} 
[2026-09-04 18:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-04 18:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863162368001,"66":27767,"94":206,"83":40960,"24":36,"16":398437282756952064,"44":-2549318833229848576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-09-04 18:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863162368001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:52:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-04 18:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398437282756952064,"km_value":398437282756952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:52:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2549318833229848576,"description":"Unknown IO ID 44"} 
[2026-09-04 18:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863162368001,"power":27767,"unknown_94":206,"unknown_83":40960,"ignition":36,"odometer":null,"unknown_44":-2549318833229848576}} 
[2026-09-04 18:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":172342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:52:36] local.INFO: GPS data processed {"connection_id":172342,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:52:36] local.INFO: Acknowledgment sent {"connection_id":172342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:52:49] local.INFO: TCP Data received {"connection_id":171228,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:52:49] local.INFO: Processing buffer {"connection_id":171228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:52:49] local.INFO: IMEI packet received {"connection_id":171228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":171228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:52:53] local.INFO: TCP Data received {"connection_id":173642,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:52:53] local.INFO: Processing buffer {"connection_id":173642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:52:53] local.INFO: IMEI packet received {"connection_id":173642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":173642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:52:54] local.INFO: TCP Data received {"connection_id":171228,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:52:54] local.INFO: Processing buffer {"connection_id":171228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:52:54] local.INFO: IMEI packet received {"connection_id":171228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":171228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:52:55] local.INFO: TCP Data received {"connection_id":171228,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:52:55] local.INFO: Processing buffer {"connection_id":171228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:52:55] local.INFO: Packet analysis {"connection_id":171228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:52:55] local.INFO: Extracted packet for processing {"connection_id":171228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:52:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863057152001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788527868000,"timestamp_ms":1788527868000,"timestamp_seconds":1788527868,"priority":1,"record_length":96,"hex_timestamp":"000001a06c917860"} 
[2026-09-04 18:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863057152001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863057152001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:52:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:52:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863057152001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":171228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:52:55] local.INFO: GPS data processed {"connection_id":171228,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:52:55] local.INFO: Acknowledgment sent {"connection_id":171228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:52:58] local.INFO: TCP Data received {"connection_id":173642,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:52:58] local.INFO: Processing buffer {"connection_id":173642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:52:58] local.INFO: IMEI packet received {"connection_id":173642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":173642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:52:58] local.INFO: TCP Data received {"connection_id":173642,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c926a90012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c926a90012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:52:58] local.INFO: Processing buffer {"connection_id":173642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c926a90012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:52:58] local.INFO: Packet analysis {"connection_id":173642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c92"} 
[2026-09-04 18:52:58] local.INFO: Extracted packet for processing {"connection_id":173642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c92"} 
[2026-09-04 18:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863144704001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788527930000,"timestamp_ms":1788527930000,"timestamp_seconds":1788527930,"priority":1,"record_length":96,"hex_timestamp":"000001a06c926a90"} 
[2026-09-04 18:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863144704001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863144704001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:52:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863144704001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":173642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:52:58] local.INFO: GPS data processed {"connection_id":173642,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:52:58] local.INFO: Acknowledgment sent {"connection_id":173642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:52:58] local.INFO: TCP Data received {"connection_id":172343,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:52:58] local.INFO: Processing buffer {"connection_id":172343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:52:58] local.INFO: IMEI packet received {"connection_id":172343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":172343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:52:59] local.INFO: TCP Data received {"connection_id":173642,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c92bc98012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c92bc98012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:52:59] local.INFO: Processing buffer {"connection_id":173642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c92bc98012d1822400721b4a0004c00da2d..."} 
[2026-09-04 18:52:59] local.INFO: Packet analysis {"connection_id":173642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c92"} 
[2026-09-04 18:52:59] local.INFO: Extracted packet for processing {"connection_id":173642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c92"} 
[2026-09-04 18:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863150080001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788527951000,"timestamp_ms":1788527951000,"timestamp_seconds":1788527951,"priority":1,"record_length":96,"hex_timestamp":"000001a06c92bc98"} 
[2026-09-04 18:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863150080001,"66":12374,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863150080001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:52:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863150080001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":173642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:52:59] local.INFO: GPS data processed {"connection_id":173642,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:52:59] local.INFO: Acknowledgment sent {"connection_id":173642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:53:04] local.INFO: TCP Data received {"connection_id":172343,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:53:04] local.INFO: Processing buffer {"connection_id":172343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:53:04] local.INFO: IMEI packet received {"connection_id":172343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":172343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:53:04] local.INFO: TCP Data received {"connection_id":172343,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06c937048012cdc97c0072dd9f8000f00bf31..."} 
[2026-09-04 18:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c937048012cdc97c0072dd9f8000f00bf31..."} 
[2026-09-04 18:53:04] local.INFO: Processing buffer {"connection_id":172343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c937048012cdc97c0072dd9f8000f00bf31..."} 
[2026-09-04 18:53:04] local.INFO: Packet analysis {"connection_id":172343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:53:04] local.INFO: Extracted packet for processing {"connection_id":172343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:53:04] local.INFO: GPS Element Parsed {"raw_longitude":752654272,"raw_latitude":120445432,"longitude_deg":75.2654272,"latitude_deg":12.0445432,"altitude":15,"angle":191,"satellites":49,"speed":39,"hex_longitude":"2cdc97c0","hex_latitude":"072dd9f8","is_valid_coordinates":true} 
[2026-09-04 18:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863164928001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398437703663747072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550374364394840064,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788527997000,"timestamp_ms":1788527997000,"timestamp_seconds":1788527997,"priority":1,"record_length":96,"hex_timestamp":"000001a06c937048"} 
[2026-09-04 18:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863164928001,"66":27713,"94":206,"83":40960,"24":39,"16":398437703663747072,"44":-2550374364394840064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-09-04 18:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863164928001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:53:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-04 18:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398437703663747072,"km_value":398437703663747.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:53:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550374364394840064,"description":"Unknown IO ID 44"} 
[2026-09-04 18:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863164928001,"power":27713,"unknown_94":206,"unknown_83":40960,"ignition":39,"odometer":null,"unknown_44":-2550374364394840064}} 
[2026-09-04 18:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":172343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:53:04] local.INFO: GPS data processed {"connection_id":172343,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:53:04] local.INFO: Acknowledgment sent {"connection_id":172343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:53:27] local.INFO: TCP Data received {"connection_id":171228,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:53:27] local.INFO: Processing buffer {"connection_id":171228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c917860012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:53:27] local.INFO: Packet analysis {"connection_id":171228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:53:27] local.INFO: Extracted packet for processing {"connection_id":171228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c91"} 
[2026-09-04 18:53:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863057152001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788527868000,"timestamp_ms":1788527868000,"timestamp_seconds":1788527868,"priority":1,"record_length":96,"hex_timestamp":"000001a06c917860"} 
[2026-09-04 18:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-04 18:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863057152001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863057152001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:53:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:53:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863057152001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":171228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764522,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:53:27] local.INFO: GPS data processed {"connection_id":171228,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:53:27] local.INFO: Acknowledgment sent {"connection_id":171228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:53:30] local.INFO: TCP Data received {"connection_id":173642,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c930ea0012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c930ea0012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:53:30] local.INFO: Processing buffer {"connection_id":173642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c930ea0012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:53:30] local.INFO: Packet analysis {"connection_id":173642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:53:30] local.INFO: Extracted packet for processing {"connection_id":173642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863155456001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788527972000,"timestamp_ms":1788527972000,"timestamp_seconds":1788527972,"priority":1,"record_length":96,"hex_timestamp":"000001a06c930ea0"} 
[2026-09-04 18:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 18:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863155456001,"66":12406,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863155456001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:53:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:53:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863155456001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":173642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:53:30] local.INFO: GPS data processed {"connection_id":173642,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:53:30] local.INFO: Acknowledgment sent {"connection_id":173642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:53:35] local.INFO: TCP Data received {"connection_id":172343,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06c939b40012cdc92c0072db550001100b430..."} 
[2026-09-04 18:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c939b40012cdc92c0072db550001100b430..."} 
[2026-09-04 18:53:35] local.INFO: Processing buffer {"connection_id":172343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c939b40012cdc92c0072db550001100b430..."} 
[2026-09-04 18:53:35] local.INFO: Packet analysis {"connection_id":172343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:53:35] local.INFO: Extracted packet for processing {"connection_id":172343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:53:35] local.INFO: GPS Element Parsed {"raw_longitude":752652992,"raw_latitude":120436048,"longitude_deg":75.2652992,"latitude_deg":12.0436048,"altitude":17,"angle":180,"satellites":48,"speed":33,"hex_longitude":"2cdc92c0","hex_latitude":"072db550","is_valid_coordinates":true} 
[2026-09-04 18:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863167232001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438167520215040,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2551359526815533056,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788528008000,"timestamp_ms":1788528008000,"timestamp_seconds":1788528008,"priority":1,"record_length":96,"hex_timestamp":"000001a06c939b40"} 
[2026-09-04 18:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-04 18:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863167232001,"66":27082,"29":206,"83":40960,"24":33,"16":398438167520215040,"44":-2551359526815533056},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-09-04 18:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863167232001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:53:35] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-04 18:53:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438167520215040,"km_value":398438167520215.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:53:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2551359526815533056,"description":"Unknown IO ID 44"} 
[2026-09-04 18:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863167232001,"power":27082,"unknown_29":206,"unknown_83":40960,"ignition":33,"odometer":null,"unknown_44":-2551359526815533056}} 
[2026-09-04 18:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":172343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:53:35] local.INFO: GPS data processed {"connection_id":172343,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:53:35] local.INFO: Acknowledgment sent {"connection_id":172343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:53:48] local.INFO: TCP Data received {"connection_id":173643,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:53:48] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:53:48] local.INFO: IMEI packet received {"connection_id":173643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":173643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:53:48] local.INFO: TCP Data received {"connection_id":171229,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:53:48] local.INFO: Processing buffer {"connection_id":171229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:53:48] local.INFO: IMEI packet received {"connection_id":171229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":171229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:53:53] local.INFO: TCP Data received {"connection_id":173643,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:53:53] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:53:53] local.INFO: IMEI packet received {"connection_id":173643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":173643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:53:53] local.INFO: TCP Data received {"connection_id":173643,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c935cc0012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c935cc0012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:53:53] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c935cc0012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:53:53] local.INFO: Packet analysis {"connection_id":173643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:53:53] local.INFO: Extracted packet for processing {"connection_id":173643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:53:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863160832001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788527992000,"timestamp_ms":1788527992000,"timestamp_seconds":1788527992,"priority":1,"record_length":96,"hex_timestamp":"000001a06c935cc0"} 
[2026-09-04 18:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 18:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863160832001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863160832001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:53:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:53:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863160832001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":173643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:53:53] local.INFO: GPS data processed {"connection_id":173643,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:53:53] local.INFO: Acknowledgment sent {"connection_id":173643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:53:54] local.INFO: TCP Data received {"connection_id":171229,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:53:54] local.INFO: Processing buffer {"connection_id":171229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:53:54] local.INFO: IMEI packet received {"connection_id":171229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":171229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:53:55] local.INFO: TCP Data received {"connection_id":171229,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:53:55] local.INFO: Processing buffer {"connection_id":171229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:53:55] local.INFO: Packet analysis {"connection_id":171229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:53:55] local.INFO: Extracted packet for processing {"connection_id":171229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:53:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863134208001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788528169000,"timestamp_ms":1788528169000,"timestamp_seconds":1788528169,"priority":1,"record_length":96,"hex_timestamp":"000001a06c961028"} 
[2026-09-04 18:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 18:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863134208001,"66":25201,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863134208001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:53:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863134208001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":171229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764526,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:53:55] local.INFO: GPS data processed {"connection_id":171229,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:53:55] local.INFO: Acknowledgment sent {"connection_id":171229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:53:58] local.INFO: TCP Data received {"connection_id":172344,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:53:58] local.INFO: Processing buffer {"connection_id":172344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:53:58] local.INFO: IMEI packet received {"connection_id":172344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":172344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:54:04] local.INFO: TCP Data received {"connection_id":172344,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:54:04] local.INFO: Processing buffer {"connection_id":172344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:54:04] local.INFO: IMEI packet received {"connection_id":172344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":172344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:54:04] local.INFO: TCP Data received {"connection_id":172344,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06c939b40012cdc92c0072db550001100b430..."} 
[2026-09-04 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c939b40012cdc92c0072db550001100b430..."} 
[2026-09-04 18:54:04] local.INFO: Processing buffer {"connection_id":172344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c939b40012cdc92c0072db550001100b430..."} 
[2026-09-04 18:54:04] local.INFO: Packet analysis {"connection_id":172344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:54:04] local.INFO: Extracted packet for processing {"connection_id":172344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:54:04] local.INFO: GPS Element Parsed {"raw_longitude":752652992,"raw_latitude":120436048,"longitude_deg":75.2652992,"latitude_deg":12.0436048,"altitude":17,"angle":180,"satellites":48,"speed":33,"hex_longitude":"2cdc92c0","hex_latitude":"072db550","is_valid_coordinates":true} 
[2026-09-04 18:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863170048001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438167520215040,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552766901701488640,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528008000,"timestamp_ms":1788528008000,"timestamp_seconds":1788528008,"priority":1,"record_length":96,"hex_timestamp":"000001a06c939b40"} 
[2026-09-04 18:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-04 18:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863170048001,"66":27082,"29":206,"83":40960,"24":33,"16":398438167520215040,"44":-2552766901701488640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-09-04 18:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863170048001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:54:04] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-04 18:54:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438167520215040,"km_value":398438167520215.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:54:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552766901701488640,"description":"Unknown IO ID 44"} 
[2026-09-04 18:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863170048001,"power":27082,"unknown_29":206,"unknown_83":40960,"ignition":33,"odometer":null,"unknown_44":-2552766901701488640}} 
[2026-09-04 18:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":172344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:54:04] local.INFO: GPS data processed {"connection_id":172344,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:54:04] local.INFO: Acknowledgment sent {"connection_id":172344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:54:24] local.INFO: TCP Data received {"connection_id":173643,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c93aec8012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c93aec8012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:54:24] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c93aec8012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:54:24] local.INFO: Packet analysis {"connection_id":173643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:54:24] local.INFO: Extracted packet for processing {"connection_id":173643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:54:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863165952001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788528013000,"timestamp_ms":1788528013000,"timestamp_seconds":1788528013,"priority":1,"record_length":96,"hex_timestamp":"000001a06c93aec8"} 
[2026-09-04 18:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863165952001,"66":12298,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863165952001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:54:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:54:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863165952001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":173643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:54:25] local.INFO: GPS data processed {"connection_id":173643,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:54:25] local.INFO: Acknowledgment sent {"connection_id":173643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:54:27] local.INFO: TCP Data received {"connection_id":171229,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:54:27] local.INFO: Processing buffer {"connection_id":171229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:54:27] local.INFO: Packet analysis {"connection_id":171229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:54:27] local.INFO: Extracted packet for processing {"connection_id":171229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:54:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863134208001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788528169000,"timestamp_ms":1788528169000,"timestamp_seconds":1788528169,"priority":1,"record_length":96,"hex_timestamp":"000001a06c961028"} 
[2026-09-04 18:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 18:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863134208001,"66":25201,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863134208001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:54:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:54:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863134208001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":171229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764529,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:54:27] local.INFO: GPS data processed {"connection_id":171229,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:54:27] local.INFO: Acknowledgment sent {"connection_id":171229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:54:35] local.INFO: TCP Data received {"connection_id":172344,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06c93aae0012cdc9380072da7f8001200ad31..."} 
[2026-09-04 18:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c93aae0012cdc9380072da7f8001200ad31..."} 
[2026-09-04 18:54:35] local.INFO: Processing buffer {"connection_id":172344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c93aae0012cdc9380072da7f8001200ad31..."} 
[2026-09-04 18:54:35] local.INFO: Packet analysis {"connection_id":172344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:54:35] local.INFO: Extracted packet for processing {"connection_id":172344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:54:35] local.INFO: GPS Element Parsed {"raw_longitude":752653184,"raw_latitude":120432632,"longitude_deg":75.2653184,"latitude_deg":12.0432632,"altitude":18,"angle":173,"satellites":49,"speed":34,"hex_longitude":"2cdc9380","hex_latitude":"072da7f8","is_valid_coordinates":true} 
[2026-09-04 18:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863170048001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552766901701488640,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788528012000,"timestamp_ms":1788528012000,"timestamp_seconds":1788528012,"priority":1,"record_length":96,"hex_timestamp":"000001a06c93aae0"} 
[2026-09-04 18:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-04 18:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863170048001,"66":27767,"27":206,"83":40960,"24":34,"16":398438330728972288,"44":-2552766901701488640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 18:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863170048001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:54:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 18:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552766901701488640,"description":"Unknown IO ID 44"} 
[2026-09-04 18:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863170048001,"power":27767,"unknown_27":206,"unknown_83":40960,"ignition":34,"odometer":null,"unknown_44":-2552766901701488640}} 
[2026-09-04 18:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":172344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:54:35] local.INFO: GPS data processed {"connection_id":172344,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:54:35] local.INFO: Acknowledgment sent {"connection_id":172344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:54:48] local.INFO: TCP Data received {"connection_id":170947,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:54:48] local.INFO: Processing buffer {"connection_id":170947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:54:48] local.INFO: IMEI packet received {"connection_id":170947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":170947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:54:53] local.INFO: TCP Data received {"connection_id":170947,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:54:53] local.INFO: Processing buffer {"connection_id":170947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:54:53] local.INFO: IMEI packet received {"connection_id":170947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":170947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:54:53] local.INFO: TCP Data received {"connection_id":173644,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:54:53] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:54:53] local.INFO: IMEI packet received {"connection_id":173644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":173644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:54:53] local.INFO: TCP Data received {"connection_id":170947,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9400d0012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9400d0012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:54:53] local.INFO: Processing buffer {"connection_id":170947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9400d0012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:54:53] local.INFO: Packet analysis {"connection_id":170947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c94"} 
[2026-09-04 18:54:53] local.INFO: Extracted packet for processing {"connection_id":170947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c94"} 
[2026-09-04 18:54:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863171328001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788528034000,"timestamp_ms":1788528034000,"timestamp_seconds":1788528034,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9400d0"} 
[2026-09-04 18:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185661,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":-4755801206503243775,"corrected_to":0} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7823157791516596258,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513890431789695194,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":76,"raw_value":61412122457800704,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3498171892813594830,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2456457217,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3030384716,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 18:54:53] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3418226688,"note":"Value kept but may cause issues"} 
[2026-09-04 18:54:53] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,203,160,92,45,64,180,76,47,10,66,14,188,1,240,86,227,108,33,4,113,205,34,48,239,2,61,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":203,"original":-4755801206503243775,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 18:54:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476617037985873920,"timestamp_seconds":5476617037985874.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 18:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863171328001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863171328001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:54:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:54:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863171328001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":170947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:54:53] local.INFO: GPS data processed {"connection_id":170947,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:54:53] local.INFO: Acknowledgment sent {"connection_id":170947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:54:58] local.INFO: TCP Data received {"connection_id":172345,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:54:58] local.INFO: Processing buffer {"connection_id":172345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:54:58] local.INFO: IMEI packet received {"connection_id":172345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":172345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:54:59] local.INFO: TCP Data received {"connection_id":173644,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:54:59] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:54:59] local.INFO: IMEI packet received {"connection_id":173644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":173644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:55:01] local.INFO: TCP Data received {"connection_id":173644,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:55:01] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:55:01] local.INFO: Packet analysis {"connection_id":173644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:55:01] local.INFO: Extracted packet for processing {"connection_id":173644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:55:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863134208001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788528169000,"timestamp_ms":1788528169000,"timestamp_seconds":1788528169,"priority":1,"record_length":96,"hex_timestamp":"000001a06c961028"} 
[2026-09-04 18:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 18:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863134208001,"66":25201,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863134208001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:55:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:55:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863134208001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":173644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764532,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:55:01] local.INFO: GPS data processed {"connection_id":173644,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:55:01] local.INFO: Acknowledgment sent {"connection_id":173644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:55:04] local.INFO: TCP Data received {"connection_id":172345,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:55:04] local.INFO: Processing buffer {"connection_id":172345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:55:04] local.INFO: IMEI packet received {"connection_id":172345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":172345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:55:04] local.INFO: TCP Data received {"connection_id":172345,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a06c93aae0012cdc9380072da7f8001200ad31..."} 
[2026-09-04 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c93aae0012cdc9380072da7f8001200ad31..."} 
[2026-09-04 18:55:04] local.INFO: Processing buffer {"connection_id":172345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c93aae0012cdc9380072da7f8001200ad31..."} 
[2026-09-04 18:55:04] local.INFO: Packet analysis {"connection_id":172345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:55:04] local.INFO: Extracted packet for processing {"connection_id":172345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:55:04] local.INFO: GPS Element Parsed {"raw_longitude":752653184,"raw_latitude":120432632,"longitude_deg":75.2653184,"latitude_deg":12.0432632,"altitude":18,"angle":173,"satellites":49,"speed":34,"hex_longitude":"2cdc9380","hex_latitude":"072da7f8","is_valid_coordinates":true} 
[2026-09-04 18:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863170048001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552766901701488640,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528012000,"timestamp_ms":1788528012000,"timestamp_seconds":1788528012,"priority":1,"record_length":96,"hex_timestamp":"000001a06c93aae0"} 
[2026-09-04 18:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-04 18:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863170048001,"66":27767,"27":206,"83":40960,"24":34,"16":398438330728972288,"44":-2552766901701488640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 18:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863170048001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:55:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 18:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:55:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552766901701488640,"description":"Unknown IO ID 44"} 
[2026-09-04 18:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863170048001,"power":27767,"unknown_27":206,"unknown_83":40960,"ignition":34,"odometer":null,"unknown_44":-2552766901701488640}} 
[2026-09-04 18:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":172345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:55:04] local.INFO: GPS data processed {"connection_id":172345,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:55:04] local.INFO: Acknowledgment sent {"connection_id":172345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:55:24] local.INFO: TCP Data received {"connection_id":170947,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9452d8012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9452d8012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:55:24] local.INFO: Processing buffer {"connection_id":170947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9452d8012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:55:24] local.INFO: Packet analysis {"connection_id":170947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c94"} 
[2026-09-04 18:55:24] local.INFO: Extracted packet for processing {"connection_id":170947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c94"} 
[2026-09-04 18:55:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863176704001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788528055000,"timestamp_ms":1788528055000,"timestamp_seconds":1788528055,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9452d8"} 
[2026-09-04 18:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863176704001,"66":12406,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863176704001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:55:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:55:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863176704001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":170947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:55:25] local.INFO: GPS data processed {"connection_id":170947,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:55:25] local.INFO: Acknowledgment sent {"connection_id":170947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:55:33] local.INFO: TCP Data received {"connection_id":173644,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:55:33] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:55:33] local.INFO: Packet analysis {"connection_id":173644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:55:33] local.INFO: Extracted packet for processing {"connection_id":173644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:55:33] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863134208001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788528169000,"timestamp_ms":1788528169000,"timestamp_seconds":1788528169,"priority":1,"record_length":96,"hex_timestamp":"000001a06c961028"} 
[2026-09-04 18:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 18:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863134208001,"66":25201,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863134208001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:55:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:55:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863134208001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":173644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764535,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:55:33] local.INFO: GPS data processed {"connection_id":173644,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:55:33] local.INFO: Acknowledgment sent {"connection_id":173644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:55:35] local.INFO: TCP Data received {"connection_id":172345,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a06c93aae0012cdc9380072da7f8001200ad31..."} 
[2026-09-04 18:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c93aae0012cdc9380072da7f8001200ad31..."} 
[2026-09-04 18:55:35] local.INFO: Processing buffer {"connection_id":172345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c93aae0012cdc9380072da7f8001200ad31..."} 
[2026-09-04 18:55:35] local.INFO: Packet analysis {"connection_id":172345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:55:35] local.INFO: Extracted packet for processing {"connection_id":172345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c93"} 
[2026-09-04 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":752653184,"raw_latitude":120432632,"longitude_deg":75.2653184,"latitude_deg":12.0432632,"altitude":18,"angle":173,"satellites":49,"speed":34,"hex_longitude":"2cdc9380","hex_latitude":"072da7f8","is_valid_coordinates":true} 
[2026-09-04 18:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863170048001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552766901701488640,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788528012000,"timestamp_ms":1788528012000,"timestamp_seconds":1788528012,"priority":1,"record_length":96,"hex_timestamp":"000001a06c93aae0"} 
[2026-09-04 18:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-04 18:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863170048001,"66":27767,"27":206,"83":40960,"24":34,"16":398438330728972288,"44":-2552766901701488640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 18:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863170048001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:55:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 18:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:55:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552766901701488640,"description":"Unknown IO ID 44"} 
[2026-09-04 18:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863170048001,"power":27767,"unknown_27":206,"unknown_83":40960,"ignition":34,"odometer":null,"unknown_44":-2552766901701488640}} 
[2026-09-04 18:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":172345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:55:35] local.INFO: GPS data processed {"connection_id":172345,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:55:35] local.INFO: Acknowledgment sent {"connection_id":172345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:55:45] local.INFO: TCP Data received {"connection_id":173645,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:55:45] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:55:45] local.INFO: IMEI packet received {"connection_id":173645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":173645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:55:48] local.INFO: TCP Data received {"connection_id":173645,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:55:48] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:55:48] local.INFO: IMEI packet received {"connection_id":173645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":173645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:55:49] local.INFO: TCP Data received {"connection_id":171230,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:55:49] local.INFO: Processing buffer {"connection_id":171230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:55:49] local.INFO: IMEI packet received {"connection_id":171230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":171230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:55:53] local.INFO: TCP Data received {"connection_id":173645,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:55:53] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:55:53] local.INFO: IMEI packet received {"connection_id":173645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":173645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:55:53] local.INFO: TCP Data received {"connection_id":173645,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c94a4e0012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c94a4e0012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:55:53] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c94a4e0012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:55:53] local.INFO: Packet analysis {"connection_id":173645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c94"} 
[2026-09-04 18:55:53] local.INFO: Extracted packet for processing {"connection_id":173645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c94"} 
[2026-09-04 18:55:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863182080001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788528076000,"timestamp_ms":1788528076000,"timestamp_seconds":1788528076,"priority":1,"record_length":96,"hex_timestamp":"000001a06c94a4e0"} 
[2026-09-04 18:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 18:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863182080001,"66":12341,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863182080001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:55:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:55:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863182080001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":173645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:55:53] local.INFO: GPS data processed {"connection_id":173645,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:55:53] local.INFO: Acknowledgment sent {"connection_id":173645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:55:54] local.INFO: TCP Data received {"connection_id":171230,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:55:54] local.INFO: Processing buffer {"connection_id":171230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:55:54] local.INFO: IMEI packet received {"connection_id":171230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":171230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:55:55] local.INFO: TCP Data received {"connection_id":171230,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:55:55] local.INFO: Processing buffer {"connection_id":171230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:55:55] local.INFO: Packet analysis {"connection_id":171230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:55:55] local.INFO: Extracted packet for processing {"connection_id":171230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:55:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863134208001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788528169000,"timestamp_ms":1788528169000,"timestamp_seconds":1788528169,"priority":1,"record_length":96,"hex_timestamp":"000001a06c961028"} 
[2026-09-04 18:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 18:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863134208001,"66":25201,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863134208001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:55:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863134208001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":171230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764538,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:55:55] local.INFO: GPS data processed {"connection_id":171230,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:55:55] local.INFO: Acknowledgment sent {"connection_id":171230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:55:58] local.INFO: TCP Data received {"connection_id":172346,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:55:58] local.INFO: Processing buffer {"connection_id":172346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:55:58] local.INFO: IMEI packet received {"connection_id":172346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":172346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:56:04] local.INFO: TCP Data received {"connection_id":172346,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:56:04] local.INFO: Processing buffer {"connection_id":172346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:56:04] local.INFO: IMEI packet received {"connection_id":172346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":172346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:56:04] local.INFO: TCP Data received {"connection_id":172346,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:56:04] local.INFO: Processing buffer {"connection_id":172346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:56:04] local.INFO: Packet analysis {"connection_id":172346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:56:04] local.INFO: Extracted packet for processing {"connection_id":172346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:56:04] local.INFO: GPS Element Parsed {"raw_longitude":752655424,"raw_latitude":120416528,"longitude_deg":75.2655424,"latitude_deg":12.0416528,"altitude":20,"angle":174,"satellites":48,"speed":0,"hex_longitude":"2cdc9c40","hex_latitude":"072d6910","is_valid_coordinates":true} 
[2026-09-04 18:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863171072001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552555795469830144,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528317000,"timestamp_ms":1788528317000,"timestamp_seconds":1788528317,"priority":1,"record_length":96,"hex_timestamp":"000001a06c985248"} 
[2026-09-04 18:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863171072001,"66":26452,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2552555795469830144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 18:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863171072001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:56:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 18:56:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:56:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552555795469830144,"description":"Unknown IO ID 44"} 
[2026-09-04 18:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863171072001,"power":26452,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2552555795469830144}} 
[2026-09-04 18:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":172346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:56:04] local.INFO: GPS data processed {"connection_id":172346,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:56:04] local.INFO: Acknowledgment sent {"connection_id":172346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:56:24] local.INFO: TCP Data received {"connection_id":173645,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c94f6e8012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c94f6e8012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:56:24] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c94f6e8012d1822400721b4a0004c00da2f..."} 
[2026-09-04 18:56:24] local.INFO: Packet analysis {"connection_id":173645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c94"} 
[2026-09-04 18:56:24] local.INFO: Extracted packet for processing {"connection_id":173645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c94"} 
[2026-09-04 18:56:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863187456001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788528097000,"timestamp_ms":1788528097000,"timestamp_seconds":1788528097,"priority":1,"record_length":96,"hex_timestamp":"000001a06c94f6e8"} 
[2026-09-04 18:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 18:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863187456001,"66":12428,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863187456001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:56:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:56:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863187456001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":173645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:56:25] local.INFO: GPS data processed {"connection_id":173645,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:56:25] local.INFO: Acknowledgment sent {"connection_id":173645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:56:27] local.INFO: TCP Data received {"connection_id":171230,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:56:27] local.INFO: Processing buffer {"connection_id":171230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:56:27] local.INFO: Packet analysis {"connection_id":171230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:56:27] local.INFO: Extracted packet for processing {"connection_id":171230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:56:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863134208001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788528169000,"timestamp_ms":1788528169000,"timestamp_seconds":1788528169,"priority":1,"record_length":96,"hex_timestamp":"000001a06c961028"} 
[2026-09-04 18:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 18:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863134208001,"66":25201,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863134208001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:56:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:56:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863134208001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":171230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:56:27] local.INFO: GPS data processed {"connection_id":171230,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:56:27] local.INFO: Acknowledgment sent {"connection_id":171230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:56:35] local.INFO: TCP Data received {"connection_id":172346,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:56:35] local.INFO: Processing buffer {"connection_id":172346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:56:35] local.INFO: Packet analysis {"connection_id":172346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:56:35] local.INFO: Extracted packet for processing {"connection_id":172346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:56:35] local.INFO: GPS Element Parsed {"raw_longitude":752655424,"raw_latitude":120416528,"longitude_deg":75.2655424,"latitude_deg":12.0416528,"altitude":20,"angle":174,"satellites":48,"speed":0,"hex_longitude":"2cdc9c40","hex_latitude":"072d6910","is_valid_coordinates":true} 
[2026-09-04 18:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863171072001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552555795469830144,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788528317000,"timestamp_ms":1788528317000,"timestamp_seconds":1788528317,"priority":1,"record_length":96,"hex_timestamp":"000001a06c985248"} 
[2026-09-04 18:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863171072001,"66":26452,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2552555795469830144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 18:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863171072001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:56:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 18:56:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:56:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552555795469830144,"description":"Unknown IO ID 44"} 
[2026-09-04 18:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863171072001,"power":26452,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2552555795469830144}} 
[2026-09-04 18:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":172346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:56:35] local.INFO: GPS data processed {"connection_id":172346,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:56:35] local.INFO: Acknowledgment sent {"connection_id":172346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:56:48] local.INFO: TCP Data received {"connection_id":173646,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:56:48] local.INFO: Processing buffer {"connection_id":173646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:56:48] local.INFO: IMEI packet received {"connection_id":173646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":173646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:56:48] local.INFO: TCP Data received {"connection_id":171231,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:56:48] local.INFO: Processing buffer {"connection_id":171231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:56:48] local.INFO: IMEI packet received {"connection_id":171231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":171231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:56:48] local.INFO: TCP Data received {"connection_id":173646,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:56:48] local.INFO: Processing buffer {"connection_id":173646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:56:48] local.INFO: IMEI packet received {"connection_id":173646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":173646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:56:53] local.INFO: TCP Data received {"connection_id":173646,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:56:53] local.INFO: Processing buffer {"connection_id":173646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:56:53] local.INFO: IMEI packet received {"connection_id":173646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":173646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:56:54] local.INFO: TCP Data received {"connection_id":171231,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:56:54] local.INFO: Processing buffer {"connection_id":171231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:56:54] local.INFO: IMEI packet received {"connection_id":171231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":171231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:56:54] local.INFO: TCP Data received {"connection_id":173646,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c987d40012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c987d40012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:56:54] local.INFO: Processing buffer {"connection_id":173646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c987d40012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:56:54] local.INFO: Packet analysis {"connection_id":173646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:56:54] local.INFO: Extracted packet for processing {"connection_id":173646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:56:54] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863246592001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788528328000,"timestamp_ms":1788528328000,"timestamp_seconds":1788528328,"priority":1,"record_length":96,"hex_timestamp":"000001a06c987d40"} 
[2026-09-04 18:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 18:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863246592001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863246592001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:56:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:56:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863246592001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":173646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:56:54] local.INFO: GPS data processed {"connection_id":173646,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:56:54] local.INFO: Acknowledgment sent {"connection_id":173646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:56:55] local.INFO: TCP Data received {"connection_id":171231,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:56:55] local.INFO: Processing buffer {"connection_id":171231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:56:55] local.INFO: Packet analysis {"connection_id":171231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:56:55] local.INFO: Extracted packet for processing {"connection_id":171231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:56:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863134208001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788528169000,"timestamp_ms":1788528169000,"timestamp_seconds":1788528169,"priority":1,"record_length":96,"hex_timestamp":"000001a06c961028"} 
[2026-09-04 18:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 18:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863134208001,"66":25201,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863134208001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:56:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863134208001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":171231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764544,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:56:55] local.INFO: GPS data processed {"connection_id":171231,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:56:55] local.INFO: Acknowledgment sent {"connection_id":171231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:56:58] local.INFO: TCP Data received {"connection_id":171232,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:56:58] local.INFO: Processing buffer {"connection_id":171232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:56:58] local.INFO: IMEI packet received {"connection_id":171232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":171232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:57:03] local.INFO: TCP Data received {"connection_id":171232,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:57:03] local.INFO: Processing buffer {"connection_id":171232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:57:03] local.INFO: IMEI packet received {"connection_id":171232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":171232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:57:04] local.INFO: TCP Data received {"connection_id":171232,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:57:04] local.INFO: Processing buffer {"connection_id":171232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:57:04] local.INFO: Packet analysis {"connection_id":171232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:57:04] local.INFO: Extracted packet for processing {"connection_id":171232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":752655424,"raw_latitude":120416528,"longitude_deg":75.2655424,"latitude_deg":12.0416528,"altitude":20,"angle":174,"satellites":48,"speed":0,"hex_longitude":"2cdc9c40","hex_latitude":"072d6910","is_valid_coordinates":true} 
[2026-09-04 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863171072001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552555795469830144,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528317000,"timestamp_ms":1788528317000,"timestamp_seconds":1788528317,"priority":1,"record_length":96,"hex_timestamp":"000001a06c985248"} 
[2026-09-04 18:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863171072001,"66":26452,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2552555795469830144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 18:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863171072001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:57:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 18:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:57:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552555795469830144,"description":"Unknown IO ID 44"} 
[2026-09-04 18:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863171072001,"power":26452,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2552555795469830144}} 
[2026-09-04 18:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":171232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:57:04] local.INFO: GPS data processed {"connection_id":171232,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:57:04] local.INFO: Acknowledgment sent {"connection_id":171232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:57:25] local.INFO: TCP Data received {"connection_id":173646,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c98cf48012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c98cf48012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:57:25] local.INFO: Processing buffer {"connection_id":173646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c98cf48012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:57:25] local.INFO: Packet analysis {"connection_id":173646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:57:25] local.INFO: Extracted packet for processing {"connection_id":173646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:57:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863251968001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788528349000,"timestamp_ms":1788528349000,"timestamp_seconds":1788528349,"priority":1,"record_length":96,"hex_timestamp":"000001a06c98cf48"} 
[2026-09-04 18:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863251968001,"66":12341,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863251968001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:57:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:57:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863251968001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":173646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:57:25] local.INFO: GPS data processed {"connection_id":173646,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:57:25] local.INFO: Acknowledgment sent {"connection_id":173646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:57:27] local.INFO: TCP Data received {"connection_id":171231,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:57:27] local.INFO: Processing buffer {"connection_id":171231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:57:27] local.INFO: Packet analysis {"connection_id":171231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:57:27] local.INFO: Extracted packet for processing {"connection_id":171231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:57:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863134208001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788528169000,"timestamp_ms":1788528169000,"timestamp_seconds":1788528169,"priority":1,"record_length":96,"hex_timestamp":"000001a06c961028"} 
[2026-09-04 18:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 18:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863134208001,"66":25201,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863134208001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:57:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:57:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863134208001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":171231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:57:27] local.INFO: GPS data processed {"connection_id":171231,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:57:27] local.INFO: Acknowledgment sent {"connection_id":171231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:57:35] local.INFO: TCP Data received {"connection_id":171232,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:57:35] local.INFO: Processing buffer {"connection_id":171232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:57:35] local.INFO: Packet analysis {"connection_id":171232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:57:35] local.INFO: Extracted packet for processing {"connection_id":171232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:57:35] local.INFO: GPS Element Parsed {"raw_longitude":752655424,"raw_latitude":120416528,"longitude_deg":75.2655424,"latitude_deg":12.0416528,"altitude":20,"angle":174,"satellites":48,"speed":0,"hex_longitude":"2cdc9c40","hex_latitude":"072d6910","is_valid_coordinates":true} 
[2026-09-04 18:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863171072001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552555795469830144,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788528317000,"timestamp_ms":1788528317000,"timestamp_seconds":1788528317,"priority":1,"record_length":96,"hex_timestamp":"000001a06c985248"} 
[2026-09-04 18:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863171072001,"66":26452,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2552555795469830144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 18:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863171072001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:57:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 18:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:57:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552555795469830144,"description":"Unknown IO ID 44"} 
[2026-09-04 18:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863171072001,"power":26452,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2552555795469830144}} 
[2026-09-04 18:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":171232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:57:35] local.INFO: GPS data processed {"connection_id":171232,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:57:35] local.INFO: Acknowledgment sent {"connection_id":171232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:57:47] local.INFO: TCP Data received {"connection_id":172347,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:57:47] local.INFO: Processing buffer {"connection_id":172347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:57:47] local.INFO: IMEI packet received {"connection_id":172347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":172347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:57:48] local.INFO: TCP Data received {"connection_id":170948,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:57:48] local.INFO: Processing buffer {"connection_id":170948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:57:48] local.INFO: IMEI packet received {"connection_id":170948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":170948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:57:52] local.INFO: TCP Data received {"connection_id":172347,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:57:52] local.INFO: Processing buffer {"connection_id":172347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:57:52] local.INFO: IMEI packet received {"connection_id":172347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":172347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:57:52] local.INFO: TCP Data received {"connection_id":172347,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:57:52] local.INFO: Processing buffer {"connection_id":172347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:57:52] local.INFO: IMEI packet received {"connection_id":172347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":172347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:57:53] local.INFO: TCP Data received {"connection_id":172347,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c992150012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c992150012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:57:53] local.INFO: Processing buffer {"connection_id":172347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c992150012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:57:53] local.INFO: Packet analysis {"connection_id":172347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c99"} 
[2026-09-04 18:57:53] local.INFO: Extracted packet for processing {"connection_id":172347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c99"} 
[2026-09-04 18:57:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863257344001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788528370000,"timestamp_ms":1788528370000,"timestamp_seconds":1788528370,"priority":1,"record_length":96,"hex_timestamp":"000001a06c992150"} 
[2026-09-04 18:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 18:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863257344001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863257344001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:57:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:57:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863257344001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":172347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:57:53] local.INFO: GPS data processed {"connection_id":172347,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:57:53] local.INFO: Acknowledgment sent {"connection_id":172347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:57:54] local.INFO: TCP Data received {"connection_id":170948,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:57:54] local.INFO: Processing buffer {"connection_id":170948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:57:54] local.INFO: IMEI packet received {"connection_id":170948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":170948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:57:55] local.INFO: TCP Data received {"connection_id":170948,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:57:55] local.INFO: Processing buffer {"connection_id":170948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:57:55] local.INFO: Packet analysis {"connection_id":170948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:57:55] local.INFO: Extracted packet for processing {"connection_id":170948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:57:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863134208001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788528169000,"timestamp_ms":1788528169000,"timestamp_seconds":1788528169,"priority":1,"record_length":96,"hex_timestamp":"000001a06c961028"} 
[2026-09-04 18:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 18:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170948,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170948,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863134208001,"66":25201,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863134208001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:57:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:57:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863134208001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":170948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:57:55] local.INFO: GPS data processed {"connection_id":170948,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:57:55] local.INFO: Acknowledgment sent {"connection_id":170948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:57:58] local.INFO: TCP Data received {"connection_id":172347,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c997358012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c997358012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:57:58] local.INFO: Processing buffer {"connection_id":172347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c997358012d1822400721b4a0004c00da2e..."} 
[2026-09-04 18:57:58] local.INFO: Packet analysis {"connection_id":172347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c99"} 
[2026-09-04 18:57:58] local.INFO: Extracted packet for processing {"connection_id":172347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c99"} 
[2026-09-04 18:57:58] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863262720001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788528391000,"timestamp_ms":1788528391000,"timestamp_seconds":1788528391,"priority":1,"record_length":96,"hex_timestamp":"000001a06c997358"} 
[2026-09-04 18:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863262720001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863262720001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:57:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:57:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863262720001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":172347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:57:58] local.INFO: GPS data processed {"connection_id":172347,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:57:58] local.INFO: Acknowledgment sent {"connection_id":172347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:57:59] local.INFO: TCP Data received {"connection_id":172348,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:57:59] local.INFO: Processing buffer {"connection_id":172348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:57:59] local.INFO: IMEI packet received {"connection_id":172348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":172348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:58:04] local.INFO: TCP Data received {"connection_id":172348,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:58:04] local.INFO: Processing buffer {"connection_id":172348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:58:04] local.INFO: IMEI packet received {"connection_id":172348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":172348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:58:04] local.INFO: TCP Data received {"connection_id":172348,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:58:04] local.INFO: Processing buffer {"connection_id":172348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:58:04] local.INFO: Packet analysis {"connection_id":172348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:58:04] local.INFO: Extracted packet for processing {"connection_id":172348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:58:04] local.INFO: GPS Element Parsed {"raw_longitude":752655424,"raw_latitude":120416528,"longitude_deg":75.2655424,"latitude_deg":12.0416528,"altitude":20,"angle":174,"satellites":48,"speed":0,"hex_longitude":"2cdc9c40","hex_latitude":"072d6910","is_valid_coordinates":true} 
[2026-09-04 18:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863171072001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552555795469830144,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528317000,"timestamp_ms":1788528317000,"timestamp_seconds":1788528317,"priority":1,"record_length":96,"hex_timestamp":"000001a06c985248"} 
[2026-09-04 18:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863171072001,"66":26452,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2552555795469830144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 18:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863171072001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:58:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 18:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:58:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552555795469830144,"description":"Unknown IO ID 44"} 
[2026-09-04 18:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863171072001,"power":26452,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2552555795469830144}} 
[2026-09-04 18:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":172348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:58:04] local.INFO: GPS data processed {"connection_id":172348,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:58:04] local.INFO: Acknowledgment sent {"connection_id":172348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:58:26] local.INFO: TCP Data received {"connection_id":170948,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:58:26] local.INFO: Processing buffer {"connection_id":170948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c961028012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:58:26] local.INFO: Packet analysis {"connection_id":170948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:58:26] local.INFO: Extracted packet for processing {"connection_id":170948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c96"} 
[2026-09-04 18:58:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863134208001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788528169000,"timestamp_ms":1788528169000,"timestamp_seconds":1788528169,"priority":1,"record_length":96,"hex_timestamp":"000001a06c961028"} 
[2026-09-04 18:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 18:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170948,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170948,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863134208001,"66":25201,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863134208001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:58:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:58:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863134208001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":170948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:58:27] local.INFO: GPS data processed {"connection_id":170948,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:58:27] local.INFO: Acknowledgment sent {"connection_id":170948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:58:29] local.INFO: TCP Data received {"connection_id":172347,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c99c560012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c99c560012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:58:29] local.INFO: Processing buffer {"connection_id":172347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c99c560012d1822400721b4a0004c00da30..."} 
[2026-09-04 18:58:29] local.INFO: Packet analysis {"connection_id":172347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c99"} 
[2026-09-04 18:58:29] local.INFO: Extracted packet for processing {"connection_id":172347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c99"} 
[2026-09-04 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863268096001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788528412000,"timestamp_ms":1788528412000,"timestamp_seconds":1788528412,"priority":1,"record_length":96,"hex_timestamp":"000001a06c99c560"} 
[2026-09-04 18:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863268096001,"66":12341,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863268096001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:58:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:58:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863268096001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":172347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:58:29] local.INFO: GPS data processed {"connection_id":172347,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:58:29] local.INFO: Acknowledgment sent {"connection_id":172347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:58:35] local.INFO: TCP Data received {"connection_id":172348,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:58:35] local.INFO: Processing buffer {"connection_id":172348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:58:35] local.INFO: Packet analysis {"connection_id":172348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:58:35] local.INFO: Extracted packet for processing {"connection_id":172348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:58:35] local.INFO: GPS Element Parsed {"raw_longitude":752655424,"raw_latitude":120416528,"longitude_deg":75.2655424,"latitude_deg":12.0416528,"altitude":20,"angle":174,"satellites":48,"speed":0,"hex_longitude":"2cdc9c40","hex_latitude":"072d6910","is_valid_coordinates":true} 
[2026-09-04 18:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863171072001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552555795469830144,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788528317000,"timestamp_ms":1788528317000,"timestamp_seconds":1788528317,"priority":1,"record_length":96,"hex_timestamp":"000001a06c985248"} 
[2026-09-04 18:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863171072001,"66":26452,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2552555795469830144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 18:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863171072001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:58:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 18:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:58:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552555795469830144,"description":"Unknown IO ID 44"} 
[2026-09-04 18:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863171072001,"power":26452,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2552555795469830144}} 
[2026-09-04 18:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":172348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:58:35] local.INFO: GPS data processed {"connection_id":172348,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:58:35] local.INFO: Acknowledgment sent {"connection_id":172348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:58:47] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:58:47] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:58:47] local.INFO: IMEI packet received {"connection_id":173647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":173647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:58:53] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:58:53] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:58:53] local.INFO: IMEI packet received {"connection_id":173647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":173647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:58:53] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9a1768012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9a1768012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:58:53] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9a1768012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:58:53] local.INFO: Packet analysis {"connection_id":173647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 18:58:53] local.INFO: Extracted packet for processing {"connection_id":173647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 18:58:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863273472001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788528433000,"timestamp_ms":1788528433000,"timestamp_seconds":1788528433,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9a1768"} 
[2026-09-04 18:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 18:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863273472001,"66":12374,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863273472001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:58:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:58:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863273472001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":173647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:58:53] local.INFO: GPS data processed {"connection_id":173647,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:58:53] local.INFO: Acknowledgment sent {"connection_id":173647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:58:54] local.INFO: TCP Data received {"connection_id":173648,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:58:54] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:58:54] local.INFO: IMEI packet received {"connection_id":173648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":173648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:58:58] local.INFO: TCP Data received {"connection_id":170949,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:58:58] local.INFO: Processing buffer {"connection_id":170949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:58:58] local.INFO: IMEI packet received {"connection_id":170949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":170949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:58:59] local.INFO: TCP Data received {"connection_id":173648,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:58:59] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:58:59] local.INFO: IMEI packet received {"connection_id":173648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":173648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:59:01] local.INFO: TCP Data received {"connection_id":173648,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:59:01] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:59:01] local.INFO: Packet analysis {"connection_id":173648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 18:59:01] local.INFO: Extracted packet for processing {"connection_id":173648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 18:59:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863211264001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788528470000,"timestamp_ms":1788528470000,"timestamp_seconds":1788528470,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9aa7f0"} 
[2026-09-04 18:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 18:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863211264001,"66":25028,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863211264001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:59:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:59:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863211264001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":173648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:59:01] local.INFO: GPS data processed {"connection_id":173648,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:59:01] local.INFO: Acknowledgment sent {"connection_id":173648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:59:04] local.INFO: TCP Data received {"connection_id":173648,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:59:04] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:59:04] local.INFO: Packet analysis {"connection_id":173648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 18:59:04] local.INFO: Extracted packet for processing {"connection_id":173648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863211264001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528470000,"timestamp_ms":1788528470000,"timestamp_seconds":1788528470,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9aa7f0"} 
[2026-09-04 18:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 18:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863211264001,"66":25028,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863211264001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:59:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:59:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863211264001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:59:04] local.INFO: TCP Data received {"connection_id":170949,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:59:04] local.INFO: Processing buffer {"connection_id":170949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:59:04] local.INFO: IMEI packet received {"connection_id":170949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 18:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":170949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":173648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764558,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:59:04] local.INFO: GPS data processed {"connection_id":173648,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:59:04] local.INFO: Acknowledgment sent {"connection_id":173648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:59:04] local.INFO: TCP Data received {"connection_id":170949,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:59:04] local.INFO: Processing buffer {"connection_id":170949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:59:04] local.INFO: Packet analysis {"connection_id":170949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:59:04] local.INFO: Extracted packet for processing {"connection_id":170949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":752655424,"raw_latitude":120416528,"longitude_deg":75.2655424,"latitude_deg":12.0416528,"altitude":20,"angle":174,"satellites":48,"speed":0,"hex_longitude":"2cdc9c40","hex_latitude":"072d6910","is_valid_coordinates":true} 
[2026-09-04 18:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863171072001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552555795469830144,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528317000,"timestamp_ms":1788528317000,"timestamp_seconds":1788528317,"priority":1,"record_length":96,"hex_timestamp":"000001a06c985248"} 
[2026-09-04 18:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863171072001,"66":26452,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2552555795469830144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 18:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863171072001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:59:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 18:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:59:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552555795469830144,"description":"Unknown IO ID 44"} 
[2026-09-04 18:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863171072001,"power":26452,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2552555795469830144}} 
[2026-09-04 18:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":170949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:59:04] local.INFO: GPS data processed {"connection_id":170949,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:59:04] local.INFO: Acknowledgment sent {"connection_id":170949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:59:25] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9a6970012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9a6970012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:59:25] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9a6970012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:59:25] local.INFO: Packet analysis {"connection_id":173647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 18:59:25] local.INFO: Extracted packet for processing {"connection_id":173647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 18:59:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863278848001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788528454000,"timestamp_ms":1788528454000,"timestamp_seconds":1788528454,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9a6970"} 
[2026-09-04 18:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 18:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863278848001,"66":12374,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863278848001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:59:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:59:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863278848001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":173647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:59:25] local.INFO: GPS data processed {"connection_id":173647,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:59:25] local.INFO: Acknowledgment sent {"connection_id":173647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:59:35] local.INFO: TCP Data received {"connection_id":170949,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:59:35] local.INFO: Processing buffer {"connection_id":170949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 18:59:35] local.INFO: Packet analysis {"connection_id":170949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:59:35] local.INFO: Extracted packet for processing {"connection_id":170949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 18:59:35] local.INFO: GPS Element Parsed {"raw_longitude":752655424,"raw_latitude":120416528,"longitude_deg":75.2655424,"latitude_deg":12.0416528,"altitude":20,"angle":174,"satellites":48,"speed":0,"hex_longitude":"2cdc9c40","hex_latitude":"072d6910","is_valid_coordinates":true} 
[2026-09-04 18:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863171072001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552555795469830144,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788528317000,"timestamp_ms":1788528317000,"timestamp_seconds":1788528317,"priority":1,"record_length":96,"hex_timestamp":"000001a06c985248"} 
[2026-09-04 18:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 18:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 18:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 18:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 18:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863171072001,"66":26452,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2552555795469830144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 18:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 18:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 18:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863171072001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:59:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 18:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 18:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:59:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552555795469830144,"description":"Unknown IO ID 44"} 
[2026-09-04 18:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863171072001,"power":26452,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2552555795469830144}} 
[2026-09-04 18:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":170949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:59:35] local.INFO: GPS data processed {"connection_id":170949,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:59:35] local.INFO: Acknowledgment sent {"connection_id":170949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:59:49] local.INFO: TCP Data received {"connection_id":173649,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:59:49] local.INFO: Processing buffer {"connection_id":173649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:59:49] local.INFO: IMEI packet received {"connection_id":173649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 18:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":173649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:59:53] local.INFO: TCP Data received {"connection_id":172349,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:59:53] local.INFO: Processing buffer {"connection_id":172349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:59:53] local.INFO: IMEI packet received {"connection_id":172349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 18:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":172349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:59:54] local.INFO: TCP Data received {"connection_id":173649,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:59:54] local.INFO: Processing buffer {"connection_id":173649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 18:59:54] local.INFO: IMEI packet received {"connection_id":173649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 18:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":173649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:59:55] local.INFO: TCP Data received {"connection_id":173649,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:59:55] local.INFO: Processing buffer {"connection_id":173649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 18:59:55] local.INFO: Packet analysis {"connection_id":173649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 18:59:55] local.INFO: Extracted packet for processing {"connection_id":173649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 18:59:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 18:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863211264001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788528470000,"timestamp_ms":1788528470000,"timestamp_seconds":1788528470,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9aa7f0"} 
[2026-09-04 18:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 18:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 18:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 18:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 18:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 18:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863211264001,"66":25028,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 18:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 18:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 18:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863211264001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:59:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 18:59:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 18:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 18:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863211264001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 18:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":173649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:59:56] local.INFO: GPS data processed {"connection_id":173649,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:59:56] local.INFO: Acknowledgment sent {"connection_id":173649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:59:58] local.INFO: TCP Data received {"connection_id":172349,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:59:58] local.INFO: Processing buffer {"connection_id":172349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 18:59:58] local.INFO: IMEI packet received {"connection_id":172349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 18:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":172349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 18:59:58] local.INFO: TCP Data received {"connection_id":171233,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:59:58] local.INFO: Processing buffer {"connection_id":171233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 18:59:58] local.INFO: IMEI packet received {"connection_id":171233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 18:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":171233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 18:59:58] local.INFO: TCP Data received {"connection_id":172349,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9abb78012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9abb78012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:59:58] local.INFO: Processing buffer {"connection_id":172349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9abb78012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:59:58] local.INFO: Packet analysis {"connection_id":172349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 18:59:58] local.INFO: Extracted packet for processing {"connection_id":172349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 18:59:58] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863284224001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788528475000,"timestamp_ms":1788528475000,"timestamp_seconds":1788528475,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9abb78"} 
[2026-09-04 18:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 18:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863284224001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863284224001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:59:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:59:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863284224001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":172349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:59:58] local.INFO: GPS data processed {"connection_id":172349,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:59:58] local.INFO: Acknowledgment sent {"connection_id":172349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 18:59:59] local.INFO: TCP Data received {"connection_id":172349,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9b1168012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9b1168012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:59:59] local.INFO: Processing buffer {"connection_id":172349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9b1168012d1822400721b4a0004c00da31..."} 
[2026-09-04 18:59:59] local.INFO: Packet analysis {"connection_id":172349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9b"} 
[2026-09-04 18:59:59] local.INFO: Extracted packet for processing {"connection_id":172349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9b"} 
[2026-09-04 18:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 18:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 18:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863289600001,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 18:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 18:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788528497000,"timestamp_ms":1788528497000,"timestamp_seconds":1788528497,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9b1168"} 
[2026-09-04 18:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 18:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 18:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 18:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 18:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 18:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 18:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 18:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 18:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 18:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 18:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 18:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 18:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863289600001,"66":12341,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 18:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 18:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 18:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863289600001,"description":"Unknown IO ID 0"} 
[2026-09-04 18:59:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 18:59:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 18:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 18:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 18:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863289600001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 18:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":172349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 18:59:59] local.INFO: GPS data processed {"connection_id":172349,"processed":1,"errors":0,"total":1} 
[2026-09-04 18:59:59] local.INFO: Acknowledgment sent {"connection_id":172349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:00:04] local.INFO: TCP Data received {"connection_id":171233,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:00:04] local.INFO: Processing buffer {"connection_id":171233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:00:04] local.INFO: IMEI packet received {"connection_id":171233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":171233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:00:04] local.INFO: TCP Data received {"connection_id":171233,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 19:00:04] local.INFO: Processing buffer {"connection_id":171233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 19:00:04] local.INFO: Packet analysis {"connection_id":171233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 19:00:04] local.INFO: Extracted packet for processing {"connection_id":171233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":752655424,"raw_latitude":120416528,"longitude_deg":75.2655424,"latitude_deg":12.0416528,"altitude":20,"angle":174,"satellites":48,"speed":0,"hex_longitude":"2cdc9c40","hex_latitude":"072d6910","is_valid_coordinates":true} 
[2026-09-04 19:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863171072001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552555795469830144,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528317000,"timestamp_ms":1788528317000,"timestamp_seconds":1788528317,"priority":1,"record_length":96,"hex_timestamp":"000001a06c985248"} 
[2026-09-04 19:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 19:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863171072001,"66":26452,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2552555795469830144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 19:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863171072001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:00:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 19:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:00:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552555795469830144,"description":"Unknown IO ID 44"} 
[2026-09-04 19:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863171072001,"power":26452,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2552555795469830144}} 
[2026-09-04 19:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":171233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:00:04] local.INFO: GPS data processed {"connection_id":171233,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:00:04] local.INFO: Acknowledgment sent {"connection_id":171233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:00:27] local.INFO: TCP Data received {"connection_id":173649,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:00:27] local.INFO: Processing buffer {"connection_id":173649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:00:27] local.INFO: Packet analysis {"connection_id":173649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 19:00:27] local.INFO: Extracted packet for processing {"connection_id":173649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 19:00:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863211264001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788528470000,"timestamp_ms":1788528470000,"timestamp_seconds":1788528470,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9aa7f0"} 
[2026-09-04 19:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 19:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863211264001,"66":25028,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863211264001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:00:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:00:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863211264001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":173649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764566,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:00:27] local.INFO: GPS data processed {"connection_id":173649,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:00:27] local.INFO: Acknowledgment sent {"connection_id":173649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:00:30] local.INFO: TCP Data received {"connection_id":172349,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9b6370012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9b6370012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:00:30] local.INFO: Processing buffer {"connection_id":172349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9b6370012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:00:30] local.INFO: Packet analysis {"connection_id":172349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9b"} 
[2026-09-04 19:00:30] local.INFO: Extracted packet for processing {"connection_id":172349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9b"} 
[2026-09-04 19:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863295232001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788528518000,"timestamp_ms":1788528518000,"timestamp_seconds":1788528518,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9b6370"} 
[2026-09-04 19:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 19:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863295232001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863295232001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:00:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863295232001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":172349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:00:30] local.INFO: GPS data processed {"connection_id":172349,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:00:30] local.INFO: Acknowledgment sent {"connection_id":172349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:00:35] local.INFO: TCP Data received {"connection_id":171233,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 19:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 19:00:35] local.INFO: Processing buffer {"connection_id":171233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c985248012cdc9c40072d6910001400ae30..."} 
[2026-09-04 19:00:35] local.INFO: Packet analysis {"connection_id":171233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 19:00:35] local.INFO: Extracted packet for processing {"connection_id":171233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c98"} 
[2026-09-04 19:00:35] local.INFO: GPS Element Parsed {"raw_longitude":752655424,"raw_latitude":120416528,"longitude_deg":75.2655424,"latitude_deg":12.0416528,"altitude":20,"angle":174,"satellites":48,"speed":0,"hex_longitude":"2cdc9c40","hex_latitude":"072d6910","is_valid_coordinates":true} 
[2026-09-04 19:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863171072001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552555795469830144,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788528317000,"timestamp_ms":1788528317000,"timestamp_seconds":1788528317,"priority":1,"record_length":96,"hex_timestamp":"000001a06c985248"} 
[2026-09-04 19:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 19:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863171072001,"66":26452,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2552555795469830144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 19:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863171072001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:00:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 19:00:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:00:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552555795469830144,"description":"Unknown IO ID 44"} 
[2026-09-04 19:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863171072001,"power":26452,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2552555795469830144}} 
[2026-09-04 19:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":171233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:00:35] local.INFO: GPS data processed {"connection_id":171233,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:00:35] local.INFO: Acknowledgment sent {"connection_id":171233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:00:48] local.INFO: TCP Data received {"connection_id":172350,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:00:48] local.INFO: Processing buffer {"connection_id":172350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:00:48] local.INFO: IMEI packet received {"connection_id":172350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":172350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:00:48] local.INFO: TCP Data received {"connection_id":170950,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:00:48] local.INFO: Processing buffer {"connection_id":170950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:00:48] local.INFO: IMEI packet received {"connection_id":170950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":170950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:00:53] local.INFO: TCP Data received {"connection_id":172350,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:00:53] local.INFO: Processing buffer {"connection_id":172350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:00:53] local.INFO: IMEI packet received {"connection_id":172350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":172350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:00:53] local.INFO: TCP Data received {"connection_id":172350,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9bb578012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9bb578012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:00:53] local.INFO: Processing buffer {"connection_id":172350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9bb578012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:00:53] local.INFO: Packet analysis {"connection_id":172350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9b"} 
[2026-09-04 19:00:53] local.INFO: Extracted packet for processing {"connection_id":172350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9b"} 
[2026-09-04 19:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863300608001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788528539000,"timestamp_ms":1788528539000,"timestamp_seconds":1788528539,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9bb578"} 
[2026-09-04 19:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863300608001,"66":12341,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863300608001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:00:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:00:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863300608001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":172350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:00:53] local.INFO: GPS data processed {"connection_id":172350,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:00:53] local.INFO: Acknowledgment sent {"connection_id":172350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:00:54] local.INFO: TCP Data received {"connection_id":170950,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:00:54] local.INFO: Processing buffer {"connection_id":170950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:00:54] local.INFO: IMEI packet received {"connection_id":170950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":170950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:00:56] local.INFO: TCP Data received {"connection_id":170950,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:00:56] local.INFO: Processing buffer {"connection_id":170950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:00:56] local.INFO: Packet analysis {"connection_id":170950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 19:00:56] local.INFO: Extracted packet for processing {"connection_id":170950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 19:00:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863211264001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788528470000,"timestamp_ms":1788528470000,"timestamp_seconds":1788528470,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9aa7f0"} 
[2026-09-04 19:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 19:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863211264001,"66":25028,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863211264001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:00:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:00:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863211264001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":170950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:00:56] local.INFO: GPS data processed {"connection_id":170950,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:00:56] local.INFO: Acknowledgment sent {"connection_id":170950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:00:58] local.INFO: TCP Data received {"connection_id":171234,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:00:58] local.INFO: Processing buffer {"connection_id":171234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:00:58] local.INFO: IMEI packet received {"connection_id":171234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":171234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:01:04] local.INFO: TCP Data received {"connection_id":171234,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:01:04] local.INFO: Processing buffer {"connection_id":171234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:01:04] local.INFO: IMEI packet received {"connection_id":171234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":171234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:01:04] local.INFO: TCP Data received {"connection_id":171234,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9ce628012cdc9c40072d6910001400ae2f..."} 
[2026-09-04 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9ce628012cdc9c40072d6910001400ae2f..."} 
[2026-09-04 19:01:04] local.INFO: Processing buffer {"connection_id":171234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9ce628012cdc9c40072d6910001400ae2f..."} 
[2026-09-04 19:01:04] local.INFO: Packet analysis {"connection_id":171234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9c"} 
[2026-09-04 19:01:04] local.INFO: Extracted packet for processing {"connection_id":171234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9c"} 
[2026-09-04 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":752655424,"raw_latitude":120416528,"longitude_deg":75.2655424,"latitude_deg":12.0416528,"altitude":20,"angle":174,"satellites":47,"speed":0,"hex_longitude":"2cdc9c40","hex_latitude":"072d6910","is_valid_coordinates":true} 
[2026-09-04 19:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863249152001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550092889427734528,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528617000,"timestamp_ms":1788528617000,"timestamp_seconds":1788528617,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9ce628"} 
[2026-09-04 19:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 19:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863249152001,"66":26158,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2550092889427734528},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 19:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863249152001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:01:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 19:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:01:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550092889427734528,"description":"Unknown IO ID 44"} 
[2026-09-04 19:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863249152001,"power":26158,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2550092889427734528}} 
[2026-09-04 19:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":171234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:01:04] local.INFO: GPS data processed {"connection_id":171234,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:01:04] local.INFO: Acknowledgment sent {"connection_id":171234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:01:24] local.INFO: TCP Data received {"connection_id":172350,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9c0398012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9c0398012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:01:24] local.INFO: Processing buffer {"connection_id":172350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9c0398012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:01:24] local.INFO: Packet analysis {"connection_id":172350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9c"} 
[2026-09-04 19:01:24] local.INFO: Extracted packet for processing {"connection_id":172350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9c"} 
[2026-09-04 19:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863305984001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788528559000,"timestamp_ms":1788528559000,"timestamp_seconds":1788528559,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9c0398"} 
[2026-09-04 19:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 19:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863305984001,"66":12406,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863305984001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:01:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863305984001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":172350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:01:24] local.INFO: GPS data processed {"connection_id":172350,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:01:24] local.INFO: Acknowledgment sent {"connection_id":172350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:01:27] local.INFO: TCP Data received {"connection_id":170950,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:01:27] local.INFO: Processing buffer {"connection_id":170950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:01:27] local.INFO: Packet analysis {"connection_id":170950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 19:01:27] local.INFO: Extracted packet for processing {"connection_id":170950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 19:01:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863211264001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788528470000,"timestamp_ms":1788528470000,"timestamp_seconds":1788528470,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9aa7f0"} 
[2026-09-04 19:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 19:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863211264001,"66":25028,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863211264001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:01:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:01:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863211264001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":170950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764573,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:01:27] local.INFO: GPS data processed {"connection_id":170950,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:01:27] local.INFO: Acknowledgment sent {"connection_id":170950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:01:35] local.INFO: TCP Data received {"connection_id":171234,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9ce628012cdc9c40072d6910001400ae2f..."} 
[2026-09-04 19:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9ce628012cdc9c40072d6910001400ae2f..."} 
[2026-09-04 19:01:35] local.INFO: Processing buffer {"connection_id":171234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9ce628012cdc9c40072d6910001400ae2f..."} 
[2026-09-04 19:01:35] local.INFO: Packet analysis {"connection_id":171234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9c"} 
[2026-09-04 19:01:35] local.INFO: Extracted packet for processing {"connection_id":171234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9c"} 
[2026-09-04 19:01:35] local.INFO: GPS Element Parsed {"raw_longitude":752655424,"raw_latitude":120416528,"longitude_deg":75.2655424,"latitude_deg":12.0416528,"altitude":20,"angle":174,"satellites":47,"speed":0,"hex_longitude":"2cdc9c40","hex_latitude":"072d6910","is_valid_coordinates":true} 
[2026-09-04 19:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863249152001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550092889427734528,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788528617000,"timestamp_ms":1788528617000,"timestamp_seconds":1788528617,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9ce628"} 
[2026-09-04 19:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 19:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863249152001,"66":26158,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2550092889427734528},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 19:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863249152001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:01:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 19:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:01:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550092889427734528,"description":"Unknown IO ID 44"} 
[2026-09-04 19:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863249152001,"power":26158,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2550092889427734528}} 
[2026-09-04 19:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":171234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:01:35] local.INFO: GPS data processed {"connection_id":171234,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:01:35] local.INFO: Acknowledgment sent {"connection_id":171234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:01:48] local.INFO: TCP Data received {"connection_id":173650,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:01:48] local.INFO: Processing buffer {"connection_id":173650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:01:48] local.INFO: IMEI packet received {"connection_id":173650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:01:48] local.INFO: TCP Data received {"connection_id":171235,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:01:48] local.INFO: Processing buffer {"connection_id":171235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:01:48] local.INFO: IMEI packet received {"connection_id":171235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":171235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:01:53] local.INFO: TCP Data received {"connection_id":173650,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:01:53] local.INFO: Processing buffer {"connection_id":173650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:01:53] local.INFO: IMEI packet received {"connection_id":173650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":173650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:01:53] local.INFO: TCP Data received {"connection_id":173650,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9c55a0012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9c55a0012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:01:53] local.INFO: Processing buffer {"connection_id":173650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9c55a0012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:01:53] local.INFO: Packet analysis {"connection_id":173650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9c"} 
[2026-09-04 19:01:53] local.INFO: Extracted packet for processing {"connection_id":173650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9c"} 
[2026-09-04 19:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863311104001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788528580000,"timestamp_ms":1788528580000,"timestamp_seconds":1788528580,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9c55a0"} 
[2026-09-04 19:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 19:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863311104001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863311104001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:01:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863311104001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":173650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:01:53] local.INFO: GPS data processed {"connection_id":173650,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:01:53] local.INFO: Acknowledgment sent {"connection_id":173650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:01:54] local.INFO: TCP Data received {"connection_id":171235,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:01:54] local.INFO: Processing buffer {"connection_id":171235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:01:54] local.INFO: IMEI packet received {"connection_id":171235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":171235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:01:55] local.INFO: TCP Data received {"connection_id":171235,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:01:55] local.INFO: Processing buffer {"connection_id":171235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:01:55] local.INFO: Packet analysis {"connection_id":171235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 19:01:55] local.INFO: Extracted packet for processing {"connection_id":171235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 19:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863211264001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788528470000,"timestamp_ms":1788528470000,"timestamp_seconds":1788528470,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9aa7f0"} 
[2026-09-04 19:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 19:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863211264001,"66":25028,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863211264001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:01:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863211264001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":171235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:01:55] local.INFO: GPS data processed {"connection_id":171235,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:01:55] local.INFO: Acknowledgment sent {"connection_id":171235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:01:59] local.INFO: TCP Data received {"connection_id":171236,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:01:59] local.INFO: Processing buffer {"connection_id":171236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:01:59] local.INFO: IMEI packet received {"connection_id":171236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":171236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:02:04] local.INFO: TCP Data received {"connection_id":171236,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:02:04] local.INFO: Processing buffer {"connection_id":171236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:02:04] local.INFO: IMEI packet received {"connection_id":171236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":171236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:02:04] local.INFO: TCP Data received {"connection_id":171236,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9ce628012cdc9c40072d6910001400ae2f..."} 
[2026-09-04 19:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9ce628012cdc9c40072d6910001400ae2f..."} 
[2026-09-04 19:02:04] local.INFO: Processing buffer {"connection_id":171236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9ce628012cdc9c40072d6910001400ae2f..."} 
[2026-09-04 19:02:04] local.INFO: Packet analysis {"connection_id":171236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9c"} 
[2026-09-04 19:02:04] local.INFO: Extracted packet for processing {"connection_id":171236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9c"} 
[2026-09-04 19:02:04] local.INFO: GPS Element Parsed {"raw_longitude":752655424,"raw_latitude":120416528,"longitude_deg":75.2655424,"latitude_deg":12.0416528,"altitude":20,"angle":174,"satellites":47,"speed":0,"hex_longitude":"2cdc9c40","hex_latitude":"072d6910","is_valid_coordinates":true} 
[2026-09-04 19:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863249152001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550092889427734528,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528617000,"timestamp_ms":1788528617000,"timestamp_seconds":1788528617,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9ce628"} 
[2026-09-04 19:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 19:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863249152001,"66":26158,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2550092889427734528},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 19:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863249152001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:02:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 19:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:02:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550092889427734528,"description":"Unknown IO ID 44"} 
[2026-09-04 19:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863249152001,"power":26158,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2550092889427734528}} 
[2026-09-04 19:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":171236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:02:04] local.INFO: GPS data processed {"connection_id":171236,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:02:04] local.INFO: Acknowledgment sent {"connection_id":171236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:02:25] local.INFO: TCP Data received {"connection_id":173650,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9ca7a8012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9ca7a8012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:02:25] local.INFO: Processing buffer {"connection_id":173650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9ca7a8012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:02:25] local.INFO: Packet analysis {"connection_id":173650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9c"} 
[2026-09-04 19:02:25] local.INFO: Extracted packet for processing {"connection_id":173650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9c"} 
[2026-09-04 19:02:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863316480001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788528601000,"timestamp_ms":1788528601000,"timestamp_seconds":1788528601,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9ca7a8"} 
[2026-09-04 19:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863316480001,"66":12406,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863316480001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:02:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:02:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863316480001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":173650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:02:25] local.INFO: GPS data processed {"connection_id":173650,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:02:25] local.INFO: Acknowledgment sent {"connection_id":173650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:02:26] local.INFO: TCP Data received {"connection_id":171235,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:02:26] local.INFO: Processing buffer {"connection_id":171235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:02:26] local.INFO: Packet analysis {"connection_id":171235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 19:02:26] local.INFO: Extracted packet for processing {"connection_id":171235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 19:02:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863211264001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788528470000,"timestamp_ms":1788528470000,"timestamp_seconds":1788528470,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9aa7f0"} 
[2026-09-04 19:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 19:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863211264001,"66":25028,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863211264001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:02:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:02:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863211264001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":171235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764579,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:02:27] local.INFO: GPS data processed {"connection_id":171235,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:02:27] local.INFO: Acknowledgment sent {"connection_id":171235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:02:35] local.INFO: TCP Data received {"connection_id":171236,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9e16d8012cdc9c40072d6910001400ae30..."} 
[2026-09-04 19:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9e16d8012cdc9c40072d6910001400ae30..."} 
[2026-09-04 19:02:35] local.INFO: Processing buffer {"connection_id":171236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9e16d8012cdc9c40072d6910001400ae30..."} 
[2026-09-04 19:02:35] local.INFO: Packet analysis {"connection_id":171236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:02:35] local.INFO: Extracted packet for processing {"connection_id":171236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:02:35] local.INFO: GPS Element Parsed {"raw_longitude":752655424,"raw_latitude":120416528,"longitude_deg":75.2655424,"latitude_deg":12.0416528,"altitude":20,"angle":174,"satellites":48,"speed":0,"hex_longitude":"2cdc9c40","hex_latitude":"072d6910","is_valid_coordinates":true} 
[2026-09-04 19:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863325952001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550092889427734528,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788528695000,"timestamp_ms":1788528695000,"timestamp_seconds":1788528695,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9e16d8"} 
[2026-09-04 19:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 19:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863325952001,"66":26082,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2550092889427734528},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 19:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863325952001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:02:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 19:02:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:02:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550092889427734528,"description":"Unknown IO ID 44"} 
[2026-09-04 19:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863325952001,"power":26082,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2550092889427734528}} 
[2026-09-04 19:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":171236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:02:35] local.INFO: GPS data processed {"connection_id":171236,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:02:35] local.INFO: Acknowledgment sent {"connection_id":171236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:02:45] local.INFO: TCP Data received {"connection_id":171237,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:02:45] local.INFO: Processing buffer {"connection_id":171237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:02:45] local.INFO: IMEI packet received {"connection_id":171237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":171237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:02:47] local.INFO: TCP Data received {"connection_id":171237,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:02:47] local.INFO: Processing buffer {"connection_id":171237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:02:47] local.INFO: IMEI packet received {"connection_id":171237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":171237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:02:53] local.INFO: TCP Data received {"connection_id":171237,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:02:53] local.INFO: Processing buffer {"connection_id":171237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:02:53] local.INFO: IMEI packet received {"connection_id":171237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":171237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:02:54] local.INFO: TCP Data received {"connection_id":171237,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9cf9b0012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9cf9b0012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:02:54] local.INFO: Processing buffer {"connection_id":171237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9cf9b0012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:02:54] local.INFO: Packet analysis {"connection_id":171237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9c"} 
[2026-09-04 19:02:54] local.INFO: Extracted packet for processing {"connection_id":171237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9c"} 
[2026-09-04 19:02:54] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863321856001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788528622000,"timestamp_ms":1788528622000,"timestamp_seconds":1788528622,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9cf9b0"} 
[2026-09-04 19:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 19:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863321856001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863321856001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:02:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:02:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863321856001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:02:54] local.INFO: TCP Data received {"connection_id":170951,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:02:54] local.INFO: Processing buffer {"connection_id":170951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:02:54] local.INFO: IMEI packet received {"connection_id":170951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":170951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":171237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:02:54] local.INFO: GPS data processed {"connection_id":171237,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:02:54] local.INFO: Acknowledgment sent {"connection_id":171237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:02:58] local.INFO: TCP Data received {"connection_id":170951,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:02:58] local.INFO: Processing buffer {"connection_id":170951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:02:58] local.INFO: IMEI packet received {"connection_id":170951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":170951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:03:00] local.INFO: TCP Data received {"connection_id":170951,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:03:00] local.INFO: Processing buffer {"connection_id":170951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:03:00] local.INFO: Packet analysis {"connection_id":170951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 19:03:00] local.INFO: Extracted packet for processing {"connection_id":170951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 19:03:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863211264001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788528470000,"timestamp_ms":1788528470000,"timestamp_seconds":1788528470,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9aa7f0"} 
[2026-09-04 19:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 19:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863211264001,"66":25028,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863211264001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:03:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:03:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863211264001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":170951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764582,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:03:00] local.INFO: GPS data processed {"connection_id":170951,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:03:00] local.INFO: Acknowledgment sent {"connection_id":170951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:03:00] local.INFO: TCP Data received {"connection_id":172351,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:03:01] local.INFO: Processing buffer {"connection_id":172351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:03:01] local.INFO: IMEI packet received {"connection_id":172351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":172351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:03:01] local.INFO: TCP Data received {"connection_id":172351,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:03:01] local.INFO: Processing buffer {"connection_id":172351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:03:01] local.INFO: IMEI packet received {"connection_id":172351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":172351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:03:04] local.INFO: TCP Data received {"connection_id":172351,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:03:04] local.INFO: Processing buffer {"connection_id":172351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:03:04] local.INFO: IMEI packet received {"connection_id":172351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":172351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:03:04] local.INFO: TCP Data received {"connection_id":170951,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:03:04] local.INFO: Processing buffer {"connection_id":170951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9aa7f0012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:03:04] local.INFO: Packet analysis {"connection_id":170951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 19:03:04] local.INFO: Extracted packet for processing {"connection_id":170951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9a"} 
[2026-09-04 19:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863211264001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528470000,"timestamp_ms":1788528470000,"timestamp_seconds":1788528470,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9aa7f0"} 
[2026-09-04 19:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 19:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863211264001,"66":25028,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863211264001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:03:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:03:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863211264001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:03:04] local.INFO: TCP Data received {"connection_id":172351,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9e7c68012cdc9c00072d6150001400b131..."} 
[2026-09-04 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9e7c68012cdc9c00072d6150001400b131..."} 
[2026-09-04 19:03:04] local.INFO: Processing buffer {"connection_id":172351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9e7c68012cdc9c00072d6150001400b131..."} 
[2026-09-04 19:03:04] local.INFO: Packet analysis {"connection_id":172351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:03:04] local.INFO: Extracted packet for processing {"connection_id":172351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:03:04] local.INFO: GPS Element Parsed {"raw_longitude":752655360,"raw_latitude":120414544,"longitude_deg":75.265536,"latitude_deg":12.0414544,"altitude":20,"angle":177,"satellites":49,"speed":0,"hex_longitude":"2cdc9c00","hex_latitude":"072d6150","is_valid_coordinates":true} 
[2026-09-04 19:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863345920001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550092889427734528,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528721000,"timestamp_ms":1788528721000,"timestamp_seconds":1788528721,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9e7c68"} 
[2026-09-04 19:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-04 19:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863345920001,"66":27343,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2550092889427734528},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 19:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863345920001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:03:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 19:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550092889427734528,"description":"Unknown IO ID 44"} 
[2026-09-04 19:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863345920001,"power":27343,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2550092889427734528}} 
[2026-09-04 19:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":172351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:03:04] local.INFO: GPS data processed {"connection_id":172351,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:03:04] local.INFO: Acknowledgment sent {"connection_id":172351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":170951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764584,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:03:04] local.INFO: GPS data processed {"connection_id":170951,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:03:04] local.INFO: Acknowledgment sent {"connection_id":170951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:03:08] local.INFO: TCP Data received {"connection_id":172351,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9ece70012cdc9c00072d6150001400b130..."} 
[2026-09-04 19:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9ece70012cdc9c00072d6150001400b130..."} 
[2026-09-04 19:03:08] local.INFO: Processing buffer {"connection_id":172351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9ece70012cdc9c00072d6150001400b130..."} 
[2026-09-04 19:03:08] local.INFO: Packet analysis {"connection_id":172351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:03:08] local.INFO: Extracted packet for processing {"connection_id":172351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:03:08] local.INFO: GPS Element Parsed {"raw_longitude":752655360,"raw_latitude":120414544,"longitude_deg":75.265536,"latitude_deg":12.0414544,"altitude":20,"angle":177,"satellites":48,"speed":0,"hex_longitude":"2cdc9c00","hex_latitude":"072d6150","is_valid_coordinates":true} 
[2026-09-04 19:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863352576001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438330728972288,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550163258172420096,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788528742000,"timestamp_ms":1788528742000,"timestamp_seconds":1788528742,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9ece70"} 
[2026-09-04 19:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 19:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863352576001,"66":27376,"27":206,"83":40960,"24":0,"16":398438330728972288,"44":-2550163258172420096},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 19:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863352576001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:03:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 19:03:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438330728972288,"km_value":398438330728972.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:03:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550163258172420096,"description":"Unknown IO ID 44"} 
[2026-09-04 19:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863352576001,"power":27376,"unknown_27":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2550163258172420096}} 
[2026-09-04 19:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":172351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:03:08] local.INFO: GPS data processed {"connection_id":172351,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:03:08] local.INFO: Acknowledgment sent {"connection_id":172351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:03:25] local.INFO: TCP Data received {"connection_id":171237,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9d4bb8012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9d4bb8012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:03:25] local.INFO: Processing buffer {"connection_id":171237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9d4bb8012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:03:25] local.INFO: Packet analysis {"connection_id":171237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9d"} 
[2026-09-04 19:03:25] local.INFO: Extracted packet for processing {"connection_id":171237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9d"} 
[2026-09-04 19:03:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863327232001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788528643000,"timestamp_ms":1788528643000,"timestamp_seconds":1788528643,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9d4bb8"} 
[2026-09-04 19:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863327232001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863327232001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:03:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:03:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863327232001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":171237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:03:25] local.INFO: GPS data processed {"connection_id":171237,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:03:25] local.INFO: Acknowledgment sent {"connection_id":171237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:03:39] local.INFO: TCP Data received {"connection_id":172351,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9ee5e0012cdc9c00072d60d0001200ce31..."} 
[2026-09-04 19:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9ee5e0012cdc9c00072d60d0001200ce31..."} 
[2026-09-04 19:03:39] local.INFO: Processing buffer {"connection_id":172351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9ee5e0012cdc9c00072d60d0001200ce31..."} 
[2026-09-04 19:03:39] local.INFO: Packet analysis {"connection_id":172351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:03:39] local.INFO: Extracted packet for processing {"connection_id":172351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:03:39] local.INFO: GPS Element Parsed {"raw_longitude":752655360,"raw_latitude":120414416,"longitude_deg":75.265536,"latitude_deg":12.0414416,"altitude":18,"angle":206,"satellites":49,"speed":3,"hex_longitude":"2cdc9c00","hex_latitude":"072d60d0","is_valid_coordinates":true} 
[2026-09-04 19:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863357952001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438339318906880,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550163258172420096,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788528748000,"timestamp_ms":1788528748000,"timestamp_seconds":1788528748,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9ee5e0"} 
[2026-09-04 19:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 19:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863357952001,"66":27234,"27":206,"83":40960,"24":3,"16":398438339318906880,"44":-2550163258172420096},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 19:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863357952001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:03:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 19:03:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438339318906880,"km_value":398438339318906.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:03:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550163258172420096,"description":"Unknown IO ID 44"} 
[2026-09-04 19:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863357952001,"power":27234,"unknown_27":206,"unknown_83":40960,"ignition":3,"odometer":null,"unknown_44":-2550163258172420096}} 
[2026-09-04 19:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":172351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:03:39] local.INFO: GPS data processed {"connection_id":172351,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:03:39] local.INFO: Acknowledgment sent {"connection_id":172351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:03:47] local.INFO: TCP Data received {"connection_id":173652,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:03:47] local.INFO: Processing buffer {"connection_id":173652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:03:47] local.INFO: IMEI packet received {"connection_id":173652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":173652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:03:49] local.INFO: TCP Data received {"connection_id":173652,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:03:49] local.INFO: Processing buffer {"connection_id":173652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:03:49] local.INFO: IMEI packet received {"connection_id":173652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":173652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:03:49] local.INFO: TCP Data received {"connection_id":173651,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:03:49] local.INFO: Processing buffer {"connection_id":173651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:03:49] local.INFO: IMEI packet received {"connection_id":173651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":173651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:03:52] local.INFO: TCP Data received {"connection_id":173652,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:03:52] local.INFO: Processing buffer {"connection_id":173652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:03:52] local.INFO: IMEI packet received {"connection_id":173652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":173652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:03:53] local.INFO: TCP Data received {"connection_id":173652,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9d9dc0012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9d9dc0012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:03:53] local.INFO: Processing buffer {"connection_id":173652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9d9dc0012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:03:53] local.INFO: Packet analysis {"connection_id":173652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9d"} 
[2026-09-04 19:03:53] local.INFO: Extracted packet for processing {"connection_id":173652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9d"} 
[2026-09-04 19:03:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863332608001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788528664000,"timestamp_ms":1788528664000,"timestamp_seconds":1788528664,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9d9dc0"} 
[2026-09-04 19:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863332608001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863332608001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:03:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:03:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863332608001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":173652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:03:53] local.INFO: GPS data processed {"connection_id":173652,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:03:53] local.INFO: Acknowledgment sent {"connection_id":173652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:03:54] local.INFO: TCP Data received {"connection_id":173651,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:03:54] local.INFO: Processing buffer {"connection_id":173651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:03:54] local.INFO: IMEI packet received {"connection_id":173651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":173651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:03:55] local.INFO: TCP Data received {"connection_id":173651,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:03:55] local.INFO: Processing buffer {"connection_id":173651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:03:55] local.INFO: Packet analysis {"connection_id":173651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:03:55] local.INFO: Extracted packet for processing {"connection_id":173651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:03:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863288320001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788528771000,"timestamp_ms":1788528771000,"timestamp_seconds":1788528771,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9f3fb8"} 
[2026-09-04 19:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863288320001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863288320001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:03:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863288320001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":173651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764589,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:03:55] local.INFO: GPS data processed {"connection_id":173651,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:03:55] local.INFO: Acknowledgment sent {"connection_id":173651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:03:59] local.INFO: TCP Data received {"connection_id":170952,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:03:59] local.INFO: Processing buffer {"connection_id":170952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:03:59] local.INFO: IMEI packet received {"connection_id":170952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":170952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:04:04] local.INFO: TCP Data received {"connection_id":170952,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:04:04] local.INFO: Processing buffer {"connection_id":170952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:04:04] local.INFO: IMEI packet received {"connection_id":170952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":170952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:04:04] local.INFO: TCP Data received {"connection_id":170952,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9eedb0012cdc9b80072d5f98001200c030..."} 
[2026-09-04 19:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9eedb0012cdc9b80072d5f98001200c030..."} 
[2026-09-04 19:04:04] local.INFO: Processing buffer {"connection_id":170952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9eedb0012cdc9b80072d5f98001200c030..."} 
[2026-09-04 19:04:04] local.INFO: Packet analysis {"connection_id":170952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:04:04] local.INFO: Extracted packet for processing {"connection_id":170952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:04:04] local.INFO: GPS Element Parsed {"raw_longitude":752655232,"raw_latitude":120414104,"longitude_deg":75.2655232,"latitude_deg":12.0414104,"altitude":18,"angle":192,"satellites":48,"speed":9,"hex_longitude":"2cdc9b80","hex_latitude":"072d5f98","is_valid_coordinates":true} 
[2026-09-04 19:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863359488001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438352203808768,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550163258172452864,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528750000,"timestamp_ms":1788528750000,"timestamp_seconds":1788528750,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9eedb0"} 
[2026-09-04 19:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 19:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863359488001,"66":27180,"27":206,"83":40960,"24":9,"16":398438352203808768,"44":-2550163258172452864},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 19:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863359488001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:04:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 19:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438352203808768,"km_value":398438352203808.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:04:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550163258172452864,"description":"Unknown IO ID 44"} 
[2026-09-04 19:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863359488001,"power":27180,"unknown_27":206,"unknown_83":40960,"ignition":9,"odometer":null,"unknown_44":-2550163258172452864}} 
[2026-09-04 19:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":170952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:04:04] local.INFO: GPS data processed {"connection_id":170952,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:04:04] local.INFO: Acknowledgment sent {"connection_id":170952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:04:24] local.INFO: TCP Data received {"connection_id":173652,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9defc8012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9defc8012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:04:24] local.INFO: Processing buffer {"connection_id":173652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9defc8012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:04:24] local.INFO: Packet analysis {"connection_id":173652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9d"} 
[2026-09-04 19:04:24] local.INFO: Extracted packet for processing {"connection_id":173652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9d"} 
[2026-09-04 19:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863337984001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788528685000,"timestamp_ms":1788528685000,"timestamp_seconds":1788528685,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9defc8"} 
[2026-09-04 19:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863337984001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863337984001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:04:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:04:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863337984001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":173652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:04:24] local.INFO: GPS data processed {"connection_id":173652,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:04:24] local.INFO: Acknowledgment sent {"connection_id":173652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:04:26] local.INFO: TCP Data received {"connection_id":173651,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:04:26] local.INFO: Processing buffer {"connection_id":173651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:04:26] local.INFO: Packet analysis {"connection_id":173651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:04:26] local.INFO: Extracted packet for processing {"connection_id":173651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:04:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863288320001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788528771000,"timestamp_ms":1788528771000,"timestamp_seconds":1788528771,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9f3fb8"} 
[2026-09-04 19:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863288320001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863288320001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:04:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:04:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863288320001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":173651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764592,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:04:27] local.INFO: GPS data processed {"connection_id":173651,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:04:27] local.INFO: Acknowledgment sent {"connection_id":173651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:04:35] local.INFO: TCP Data received {"connection_id":170952,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9efd50012cdc9b00072d59c8001200b230..."} 
[2026-09-04 19:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9efd50012cdc9b00072d59c8001200b230..."} 
[2026-09-04 19:04:35] local.INFO: Processing buffer {"connection_id":170952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9efd50012cdc9b00072d59c8001200b230..."} 
[2026-09-04 19:04:35] local.INFO: Packet analysis {"connection_id":170952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:04:35] local.INFO: Extracted packet for processing {"connection_id":170952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:04:35] local.INFO: GPS Element Parsed {"raw_longitude":752655104,"raw_latitude":120412616,"longitude_deg":75.2655104,"latitude_deg":12.0412616,"altitude":18,"angle":178,"satellites":48,"speed":16,"hex_longitude":"2cdc9b00","hex_latitude":"072d59c8","is_valid_coordinates":true} 
[2026-09-04 19:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863360000001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438425218252800,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550303995660888064,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788528754000,"timestamp_ms":1788528754000,"timestamp_seconds":1788528754,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9efd50"} 
[2026-09-04 19:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 19:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863360000001,"66":27343,"27":206,"83":40960,"24":16,"16":398438425218252800,"44":-2550303995660888064},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-04 19:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863360000001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:04:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-04 19:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438425218252800,"km_value":398438425218252.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:04:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550303995660888064,"description":"Unknown IO ID 44"} 
[2026-09-04 19:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863360000001,"power":27343,"unknown_27":206,"unknown_83":40960,"ignition":16,"odometer":null,"unknown_44":-2550303995660888064}} 
[2026-09-04 19:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":170952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:04:35] local.INFO: GPS data processed {"connection_id":170952,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:04:35] local.INFO: Acknowledgment sent {"connection_id":170952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:04:47] local.INFO: TCP Data received {"connection_id":170953,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:04:47] local.INFO: Processing buffer {"connection_id":170953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:04:47] local.INFO: IMEI packet received {"connection_id":170953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":170953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:04:48] local.INFO: TCP Data received {"connection_id":172352,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:04:48] local.INFO: Processing buffer {"connection_id":172352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:04:48] local.INFO: IMEI packet received {"connection_id":172352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":172352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:04:51] local.INFO: TCP Data received {"connection_id":170953,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:04:51] local.INFO: Processing buffer {"connection_id":170953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:04:51] local.INFO: IMEI packet received {"connection_id":170953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":170953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:04:52] local.INFO: TCP Data received {"connection_id":170953,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:04:52] local.INFO: Processing buffer {"connection_id":170953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:04:52] local.INFO: IMEI packet received {"connection_id":170953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":170953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:04:53] local.INFO: TCP Data received {"connection_id":170953,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9e41d0012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9e41d0012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:04:53] local.INFO: Processing buffer {"connection_id":170953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9e41d0012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:04:53] local.INFO: Packet analysis {"connection_id":170953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:04:53] local.INFO: Extracted packet for processing {"connection_id":170953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:04:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863343360001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788528706000,"timestamp_ms":1788528706000,"timestamp_seconds":1788528706,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9e41d0"} 
[2026-09-04 19:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863343360001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863343360001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:04:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:04:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863343360001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":170953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:04:53] local.INFO: GPS data processed {"connection_id":170953,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:04:53] local.INFO: Acknowledgment sent {"connection_id":170953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:04:54] local.INFO: TCP Data received {"connection_id":172352,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:04:54] local.INFO: Processing buffer {"connection_id":172352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:04:54] local.INFO: IMEI packet received {"connection_id":172352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":172352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:04:56] local.INFO: TCP Data received {"connection_id":172352,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:04:56] local.INFO: Processing buffer {"connection_id":172352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:04:56] local.INFO: Packet analysis {"connection_id":172352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:04:56] local.INFO: Extracted packet for processing {"connection_id":172352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:04:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863288320001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788528771000,"timestamp_ms":1788528771000,"timestamp_seconds":1788528771,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9f3fb8"} 
[2026-09-04 19:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863288320001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863288320001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:04:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:04:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863288320001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":172352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764595,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:04:56] local.INFO: GPS data processed {"connection_id":172352,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:04:56] local.INFO: Acknowledgment sent {"connection_id":172352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:04:58] local.INFO: TCP Data received {"connection_id":170953,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9e93d8012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9e93d8012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:04:58] local.INFO: Processing buffer {"connection_id":170953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9e93d8012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:04:58] local.INFO: Packet analysis {"connection_id":170953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:04:58] local.INFO: Extracted packet for processing {"connection_id":170953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:04:58] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863348736001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788528727000,"timestamp_ms":1788528727000,"timestamp_seconds":1788528727,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9e93d8"} 
[2026-09-04 19:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863348736001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863348736001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:04:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863348736001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":170953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:04:58] local.INFO: GPS data processed {"connection_id":170953,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:04:58] local.INFO: Acknowledgment sent {"connection_id":170953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:05:15] local.INFO: TCP Data received {"connection_id":170954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:05:15] local.INFO: Processing buffer {"connection_id":170954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:05:15] local.INFO: IMEI packet received {"connection_id":170954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":170954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:05:19] local.INFO: TCP Data received {"connection_id":170954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:05:19] local.INFO: Processing buffer {"connection_id":170954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:05:19] local.INFO: IMEI packet received {"connection_id":170954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":170954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:05:24] local.INFO: TCP Data received {"connection_id":170954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:05:24] local.INFO: Processing buffer {"connection_id":170954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:05:24] local.INFO: IMEI packet received {"connection_id":170954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":170954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:05:28] local.INFO: TCP Data received {"connection_id":172352,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:05:28] local.INFO: Processing buffer {"connection_id":172352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:05:28] local.INFO: Packet analysis {"connection_id":172352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:05:28] local.INFO: Extracted packet for processing {"connection_id":172352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:05:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863288320001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788528771000,"timestamp_ms":1788528771000,"timestamp_seconds":1788528771,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9f3fb8"} 
[2026-09-04 19:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863288320001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863288320001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:05:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:05:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863288320001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":172352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764597,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:05:28] local.INFO: GPS data processed {"connection_id":172352,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:05:28] local.INFO: Acknowledgment sent {"connection_id":172352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:05:29] local.INFO: TCP Data received {"connection_id":170953,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9ee5e0012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9ee5e0012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:05:29] local.INFO: Processing buffer {"connection_id":170953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9ee5e0012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:05:29] local.INFO: Packet analysis {"connection_id":170953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:05:29] local.INFO: Extracted packet for processing {"connection_id":170953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9e"} 
[2026-09-04 19:05:29] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863354112001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788528748000,"timestamp_ms":1788528748000,"timestamp_seconds":1788528748,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9ee5e0"} 
[2026-09-04 19:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":170953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":170953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":170953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863354112001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863354112001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:05:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:05:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863354112001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":170953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:05:29] local.INFO: GPS data processed {"connection_id":170953,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:05:29] local.INFO: Acknowledgment sent {"connection_id":170953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:05:29] local.INFO: TCP Data received {"connection_id":170954,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9f3fb8012cdc9c00072d3410000f00b432..."} 
[2026-09-04 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9f3fb8012cdc9c00072d3410000f00b432..."} 
[2026-09-04 19:05:29] local.INFO: Processing buffer {"connection_id":170954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9f3fb8012cdc9c00072d3410000f00b432..."} 
[2026-09-04 19:05:29] local.INFO: Packet analysis {"connection_id":170954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:05:29] local.INFO: Extracted packet for processing {"connection_id":170954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:05:29] local.INFO: GPS Element Parsed {"raw_longitude":752655360,"raw_latitude":120402960,"longitude_deg":75.265536,"latitude_deg":12.040296,"altitude":15,"angle":180,"satellites":50,"speed":32,"hex_longitude":"2cdc9c00","hex_latitude":"072d3410","is_valid_coordinates":true} 
[2026-09-04 19:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863361024001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398438897664655360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550444733149624320,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788528771000,"timestamp_ms":1788528771000,"timestamp_seconds":1788528771,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9f3fb8"} 
[2026-09-04 19:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 19:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":170954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":170954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":170954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863361024001,"66":27397,"28":206,"83":40960,"24":32,"16":398438897664655360,"44":-2550444733149624320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-04 19:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863361024001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:05:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-04 19:05:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398438897664655360,"km_value":398438897664655.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:05:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550444733149624320,"description":"Unknown IO ID 44"} 
[2026-09-04 19:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863361024001,"power":27397,"unknown_28":206,"unknown_83":40960,"ignition":32,"odometer":null,"unknown_44":-2550444733149624320}} 
[2026-09-04 19:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":170954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:05:29] local.INFO: GPS data processed {"connection_id":170954,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:05:29] local.INFO: Acknowledgment sent {"connection_id":170954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:05:30] local.INFO: TCP Data received {"connection_id":170954,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9f6e98012cdc9d80072d1020000d00b130..."} 
[2026-09-04 19:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9f6e98012cdc9d80072d1020000d00b130..."} 
[2026-09-04 19:05:30] local.INFO: Processing buffer {"connection_id":170954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9f6e98012cdc9d80072d1020000d00b130..."} 
[2026-09-04 19:05:30] local.INFO: Packet analysis {"connection_id":170954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:05:30] local.INFO: Extracted packet for processing {"connection_id":170954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:05:30] local.INFO: GPS Element Parsed {"raw_longitude":752655744,"raw_latitude":120393760,"longitude_deg":75.2655744,"latitude_deg":12.039376,"altitude":13,"angle":177,"satellites":48,"speed":29,"hex_longitude":"2cdc9d80","hex_latitude":"072d1020","is_valid_coordinates":true} 
[2026-09-04 19:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863365376001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398439344341254144,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550163258175385600,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788528783000,"timestamp_ms":1788528783000,"timestamp_seconds":1788528783,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9f6e98"} 
[2026-09-04 19:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 19:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":170954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":170954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":170954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863365376001,"66":27300,"28":206,"83":40960,"24":29,"16":398439344341254144,"44":-2550163258175385600},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-04 19:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863365376001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:05:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-04 19:05:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398439344341254144,"km_value":398439344341254.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550163258175385600,"description":"Unknown IO ID 44"} 
[2026-09-04 19:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863365376001,"power":27300,"unknown_28":206,"unknown_83":40960,"ignition":29,"odometer":null,"unknown_44":-2550163258175385600}} 
[2026-09-04 19:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":170954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:05:30] local.INFO: GPS data processed {"connection_id":170954,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:05:30] local.INFO: Acknowledgment sent {"connection_id":170954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:05:48] local.INFO: TCP Data received {"connection_id":173653,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:05:48] local.INFO: Processing buffer {"connection_id":173653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:05:48] local.INFO: IMEI packet received {"connection_id":173653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":173653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:05:53] local.INFO: TCP Data received {"connection_id":170955,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:05:53] local.INFO: Processing buffer {"connection_id":170955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:05:53] local.INFO: IMEI packet received {"connection_id":170955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":170955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:05:54] local.INFO: TCP Data received {"connection_id":173653,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:05:54] local.INFO: Processing buffer {"connection_id":173653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:05:54] local.INFO: IMEI packet received {"connection_id":173653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":173653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:05:54] local.INFO: TCP Data received {"connection_id":170955,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:05:54] local.INFO: Processing buffer {"connection_id":170955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:05:54] local.INFO: IMEI packet received {"connection_id":170955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":170955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:05:55] local.INFO: TCP Data received {"connection_id":173653,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:05:55] local.INFO: Processing buffer {"connection_id":173653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:05:55] local.INFO: Packet analysis {"connection_id":173653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:05:55] local.INFO: Extracted packet for processing {"connection_id":173653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:05:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863288320001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788528771000,"timestamp_ms":1788528771000,"timestamp_seconds":1788528771,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9f3fb8"} 
[2026-09-04 19:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863288320001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863288320001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:05:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:05:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863288320001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":173653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764601,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:05:55] local.INFO: GPS data processed {"connection_id":173653,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:05:55] local.INFO: Acknowledgment sent {"connection_id":173653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:05:55] local.INFO: TCP Data received {"connection_id":170955,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9f37e8012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9f37e8012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:05:55] local.INFO: Processing buffer {"connection_id":170955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9f37e8012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:05:55] local.INFO: Packet analysis {"connection_id":170955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:05:55] local.INFO: Extracted packet for processing {"connection_id":170955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:05:55] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863359488001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788528769000,"timestamp_ms":1788528769000,"timestamp_seconds":1788528769,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9f37e8"} 
[2026-09-04 19:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863359488001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863359488001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:05:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:05:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863359488001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":170955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:05:55] local.INFO: GPS data processed {"connection_id":170955,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:05:55] local.INFO: Acknowledgment sent {"connection_id":170955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:05:57] local.INFO: TCP Data received {"connection_id":170955,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9f8dd8012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9f8dd8012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:05:57] local.INFO: Processing buffer {"connection_id":170955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9f8dd8012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:05:57] local.INFO: Packet analysis {"connection_id":170955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:05:57] local.INFO: Extracted packet for processing {"connection_id":170955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863364864001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788528791000,"timestamp_ms":1788528791000,"timestamp_seconds":1788528791,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9f8dd8"} 
[2026-09-04 19:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":170955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":170955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":170955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863364864001,"66":12341,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863364864001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:05:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863364864001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":170955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:05:58] local.INFO: GPS data processed {"connection_id":170955,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:05:58] local.INFO: Acknowledgment sent {"connection_id":170955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:05:59] local.INFO: TCP Data received {"connection_id":172353,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:05:59] local.INFO: Processing buffer {"connection_id":172353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:05:59] local.INFO: IMEI packet received {"connection_id":172353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":172353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:06:01] local.INFO: TCP Data received {"connection_id":172353,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:06:01] local.INFO: Processing buffer {"connection_id":172353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:06:01] local.INFO: IMEI packet received {"connection_id":172353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":172353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:06:01] local.INFO: TCP Data received {"connection_id":172353,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca11478012cdc9a80072c07b00022009130..."} 
[2026-09-04 19:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca11478012cdc9a80072c07b00022009130..."} 
[2026-09-04 19:06:01] local.INFO: Processing buffer {"connection_id":172353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca11478012cdc9a80072c07b00022009130..."} 
[2026-09-04 19:06:01] local.INFO: Packet analysis {"connection_id":172353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:06:01] local.INFO: Extracted packet for processing {"connection_id":172353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:06:01] local.INFO: GPS Element Parsed {"raw_longitude":752654976,"raw_latitude":120326064,"longitude_deg":75.2654976,"latitude_deg":12.0326064,"altitude":34,"angle":145,"satellites":48,"speed":26,"hex_longitude":"2cdc9a80","hex_latitude":"072c07b0","is_valid_coordinates":true} 
[2026-09-04 19:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863392512001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398442797494960128,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2556566813913231360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788528891000,"timestamp_ms":1788528891000,"timestamp_seconds":1788528891,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca11478"} 
[2026-09-04 19:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863392512001,"66":27332,"225":206,"83":40960,"24":26,"16":398442797494960128,"44":-2556566813913231360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-04 19:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863392512001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:06:01] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-04 19:06:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398442797494960128,"km_value":398442797494960.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:06:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2556566813913231360,"description":"Unknown IO ID 44"} 
[2026-09-04 19:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863392512001,"power":27332,"unknown_225":206,"unknown_83":40960,"ignition":26,"odometer":null,"unknown_44":-2556566813913231360}} 
[2026-09-04 19:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":172353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:06:01] local.INFO: GPS data processed {"connection_id":172353,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:06:01] local.INFO: Acknowledgment sent {"connection_id":172353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:06:26] local.INFO: TCP Data received {"connection_id":173653,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:06:26] local.INFO: Processing buffer {"connection_id":173653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:06:26] local.INFO: Packet analysis {"connection_id":173653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:06:26] local.INFO: Extracted packet for processing {"connection_id":173653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:06:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863288320001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788528771000,"timestamp_ms":1788528771000,"timestamp_seconds":1788528771,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9f3fb8"} 
[2026-09-04 19:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863288320001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863288320001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:06:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:06:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863288320001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":173653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764605,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:06:27] local.INFO: GPS data processed {"connection_id":173653,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:06:27] local.INFO: Acknowledgment sent {"connection_id":173653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:06:29] local.INFO: TCP Data received {"connection_id":170955,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9fdfe0012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9fdfe0012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:06:29] local.INFO: Processing buffer {"connection_id":170955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9fdfe0012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:06:29] local.INFO: Packet analysis {"connection_id":170955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:06:29] local.INFO: Extracted packet for processing {"connection_id":170955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:06:29] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863370496001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788528812000,"timestamp_ms":1788528812000,"timestamp_seconds":1788528812,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9fdfe0"} 
[2026-09-04 19:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 19:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":170955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":170955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":170955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863370496001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863370496001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:06:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:06:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863370496001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":170955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:06:29] local.INFO: GPS data processed {"connection_id":170955,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:06:29] local.INFO: Acknowledgment sent {"connection_id":170955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:06:33] local.INFO: TCP Data received {"connection_id":172353,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca152f8012cdcb100072be660001e009c31..."} 
[2026-09-04 19:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca152f8012cdcb100072be660001e009c31..."} 
[2026-09-04 19:06:33] local.INFO: Processing buffer {"connection_id":172353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca152f8012cdcb100072be660001e009c31..."} 
[2026-09-04 19:06:33] local.INFO: Packet analysis {"connection_id":172353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:06:33] local.INFO: Extracted packet for processing {"connection_id":172353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:06:33] local.INFO: GPS Element Parsed {"raw_longitude":752660736,"raw_latitude":120317536,"longitude_deg":75.2660736,"latitude_deg":12.0317536,"altitude":30,"angle":156,"satellites":49,"speed":29,"hex_longitude":"2cdcb100","hex_latitude":"072be660","is_valid_coordinates":true} 
[2026-09-04 19:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863396096001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398443295711166464,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550585470660136960,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788528907000,"timestamp_ms":1788528907000,"timestamp_seconds":1788528907,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca152f8"} 
[2026-09-04 19:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863396096001,"66":27376,"225":206,"83":40960,"24":29,"16":398443295711166464,"44":-2550585470660136960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-04 19:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863396096001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:06:33] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-04 19:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398443295711166464,"km_value":398443295711166.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:06:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550585470660136960,"description":"Unknown IO ID 44"} 
[2026-09-04 19:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863396096001,"power":27376,"unknown_225":206,"unknown_83":40960,"ignition":29,"odometer":null,"unknown_44":-2550585470660136960}} 
[2026-09-04 19:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":172353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:06:33] local.INFO: GPS data processed {"connection_id":172353,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:06:33] local.INFO: Acknowledgment sent {"connection_id":172353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:06:47] local.INFO: TCP Data received {"connection_id":172354,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:06:47] local.INFO: Processing buffer {"connection_id":172354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:06:47] local.INFO: IMEI packet received {"connection_id":172354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":172354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:06:52] local.INFO: TCP Data received {"connection_id":172354,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:06:52] local.INFO: Processing buffer {"connection_id":172354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:06:52] local.INFO: IMEI packet received {"connection_id":172354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":172354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:06:53] local.INFO: TCP Data received {"connection_id":172354,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca02e00012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca02e00012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:06:53] local.INFO: Processing buffer {"connection_id":172354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca02e00012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:06:53] local.INFO: Packet analysis {"connection_id":172354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca0"} 
[2026-09-04 19:06:53] local.INFO: Extracted packet for processing {"connection_id":172354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca0"} 
[2026-09-04 19:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863375872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788528832000,"timestamp_ms":1788528832000,"timestamp_seconds":1788528832,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca02e00"} 
[2026-09-04 19:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863375872001,"66":12374,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863375872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:06:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863375872001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":172354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:06:53] local.INFO: GPS data processed {"connection_id":172354,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:06:53] local.INFO: Acknowledgment sent {"connection_id":172354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:06:54] local.INFO: TCP Data received {"connection_id":172355,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:06:54] local.INFO: Processing buffer {"connection_id":172355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:06:54] local.INFO: IMEI packet received {"connection_id":172355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":172355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:06:59] local.INFO: TCP Data received {"connection_id":172355,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:06:59] local.INFO: Processing buffer {"connection_id":172355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:06:59] local.INFO: IMEI packet received {"connection_id":172355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":172355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:06:59] local.INFO: TCP Data received {"connection_id":171238,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:06:59] local.INFO: Processing buffer {"connection_id":171238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:06:59] local.INFO: IMEI packet received {"connection_id":171238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":171238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:06:59] local.INFO: TCP Data received {"connection_id":171238,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:06:59] local.INFO: Processing buffer {"connection_id":171238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:06:59] local.INFO: IMEI packet received {"connection_id":171238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":171238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:07:00] local.INFO: TCP Data received {"connection_id":172355,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:07:00] local.INFO: Processing buffer {"connection_id":172355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:07:00] local.INFO: Packet analysis {"connection_id":172355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:07:00] local.INFO: Extracted packet for processing {"connection_id":172355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863288320001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788528771000,"timestamp_ms":1788528771000,"timestamp_seconds":1788528771,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9f3fb8"} 
[2026-09-04 19:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863288320001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863288320001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:07:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863288320001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":172355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764609,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:07:01] local.INFO: GPS data processed {"connection_id":172355,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:07:01] local.INFO: Acknowledgment sent {"connection_id":172355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:07:04] local.INFO: TCP Data received {"connection_id":171238,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:07:04] local.INFO: Processing buffer {"connection_id":171238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:07:04] local.INFO: IMEI packet received {"connection_id":171238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":171238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:07:04] local.INFO: TCP Data received {"connection_id":172355,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:07:04] local.INFO: Processing buffer {"connection_id":172355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:07:04] local.INFO: Packet analysis {"connection_id":172355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:07:04] local.INFO: Extracted packet for processing {"connection_id":172355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863288320001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528771000,"timestamp_ms":1788528771000,"timestamp_seconds":1788528771,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9f3fb8"} 
[2026-09-04 19:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863288320001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863288320001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:07:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:07:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863288320001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":172355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:07:04] local.INFO: GPS data processed {"connection_id":172355,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:07:04] local.INFO: Acknowledgment sent {"connection_id":172355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:07:04] local.INFO: TCP Data received {"connection_id":171238,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca152f8012cdcb100072be660001e009c31..."} 
[2026-09-04 19:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca152f8012cdcb100072be660001e009c31..."} 
[2026-09-04 19:07:04] local.INFO: Processing buffer {"connection_id":171238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca152f8012cdcb100072be660001e009c31..."} 
[2026-09-04 19:07:04] local.INFO: Packet analysis {"connection_id":171238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:07:04] local.INFO: Extracted packet for processing {"connection_id":171238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:07:04] local.INFO: GPS Element Parsed {"raw_longitude":752660736,"raw_latitude":120317536,"longitude_deg":75.2660736,"latitude_deg":12.0317536,"altitude":30,"angle":156,"satellites":49,"speed":29,"hex_longitude":"2cdcb100","hex_latitude":"072be660","is_valid_coordinates":true} 
[2026-09-04 19:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863400192001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398443295711166464,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2544252283686330368,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528907000,"timestamp_ms":1788528907000,"timestamp_seconds":1788528907,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca152f8"} 
[2026-09-04 19:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 19:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863400192001,"66":27376,"225":206,"83":40960,"24":29,"16":398443295711166464,"44":-2544252283686330368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-04 19:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863400192001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:07:04] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-04 19:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398443295711166464,"km_value":398443295711166.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:07:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2544252283686330368,"description":"Unknown IO ID 44"} 
[2026-09-04 19:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863400192001,"power":27376,"unknown_225":206,"unknown_83":40960,"ignition":29,"odometer":null,"unknown_44":-2544252283686330368}} 
[2026-09-04 19:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":171238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:07:04] local.INFO: GPS data processed {"connection_id":171238,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:07:04] local.INFO: Acknowledgment sent {"connection_id":171238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:07:05] local.INFO: TCP Data received {"connection_id":171238,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca16680012cdcb4c0072bd828001b00ae31..."} 
[2026-09-04 19:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca16680012cdcb4c0072bd828001b00ae31..."} 
[2026-09-04 19:07:05] local.INFO: Processing buffer {"connection_id":171238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca16680012cdcb4c0072bd828001b00ae31..."} 
[2026-09-04 19:07:05] local.INFO: Packet analysis {"connection_id":171238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:07:05] local.INFO: Extracted packet for processing {"connection_id":171238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:07:05] local.INFO: GPS Element Parsed {"raw_longitude":752661696,"raw_latitude":120313896,"longitude_deg":75.2661696,"latitude_deg":12.0313896,"altitude":27,"angle":174,"satellites":49,"speed":30,"hex_longitude":"2cdcb4c0","hex_latitude":"072bd828","is_valid_coordinates":true} 
[2026-09-04 19:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863400192001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398443480394760192,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2544252283686330368,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788528912000,"timestamp_ms":1788528912000,"timestamp_seconds":1788528912,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca16680"} 
[2026-09-04 19:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 19:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863400192001,"66":27104,"225":206,"83":40960,"24":30,"16":398443480394760192,"44":-2544252283686330368},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-04 19:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863400192001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:07:05] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-04 19:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398443480394760192,"km_value":398443480394760.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:07:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2544252283686330368,"description":"Unknown IO ID 44"} 
[2026-09-04 19:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863400192001,"power":27104,"unknown_225":206,"unknown_83":40960,"ignition":30,"odometer":null,"unknown_44":-2544252283686330368}} 
[2026-09-04 19:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":171238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:07:05] local.INFO: GPS data processed {"connection_id":171238,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:07:05] local.INFO: Acknowledgment sent {"connection_id":171238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:07:25] local.INFO: TCP Data received {"connection_id":172354,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca08008012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca08008012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:07:25] local.INFO: Processing buffer {"connection_id":172354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca08008012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:07:25] local.INFO: Packet analysis {"connection_id":172354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca0"} 
[2026-09-04 19:07:25] local.INFO: Extracted packet for processing {"connection_id":172354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca0"} 
[2026-09-04 19:07:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863380992001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788528853000,"timestamp_ms":1788528853000,"timestamp_seconds":1788528853,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca08008"} 
[2026-09-04 19:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 19:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863380992001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863380992001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:07:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:07:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863380992001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":172354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:07:25] local.INFO: GPS data processed {"connection_id":172354,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:07:25] local.INFO: Acknowledgment sent {"connection_id":172354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:07:36] local.INFO: TCP Data received {"connection_id":171238,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca17620012cdcb440072bcd10001800bd2f..."} 
[2026-09-04 19:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca17620012cdcb440072bcd10001800bd2f..."} 
[2026-09-04 19:07:36] local.INFO: Processing buffer {"connection_id":171238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca17620012cdcb440072bcd10001800bd2f..."} 
[2026-09-04 19:07:36] local.INFO: Packet analysis {"connection_id":171238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:07:36] local.INFO: Extracted packet for processing {"connection_id":171238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:07:36] local.INFO: GPS Element Parsed {"raw_longitude":752661568,"raw_latitude":120311056,"longitude_deg":75.2661568,"latitude_deg":12.0311056,"altitude":24,"angle":189,"satellites":47,"speed":26,"hex_longitude":"2cdcb440","hex_latitude":"072bcd10","is_valid_coordinates":true} 
[2026-09-04 19:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863401472001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398443617833713664,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543196752524597248,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788528916000,"timestamp_ms":1788528916000,"timestamp_seconds":1788528916,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca17620"} 
[2026-09-04 19:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-04 19:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863401472001,"66":27484,"225":206,"83":40960,"24":26,"16":398443617833713664,"44":-2543196752524597248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-04 19:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863401472001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:07:36] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-04 19:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398443617833713664,"km_value":398443617833713.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:07:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543196752524597248,"description":"Unknown IO ID 44"} 
[2026-09-04 19:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863401472001,"power":27484,"unknown_225":206,"unknown_83":40960,"ignition":26,"odometer":null,"unknown_44":-2543196752524597248}} 
[2026-09-04 19:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":171238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:07:36] local.INFO: GPS data processed {"connection_id":171238,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:07:36] local.INFO: Acknowledgment sent {"connection_id":171238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:07:47] local.INFO: TCP Data received {"connection_id":173654,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:07:47] local.INFO: Processing buffer {"connection_id":173654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:07:47] local.INFO: IMEI packet received {"connection_id":173654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":173654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:07:49] local.INFO: TCP Data received {"connection_id":173655,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:07:49] local.INFO: Processing buffer {"connection_id":173655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:07:49] local.INFO: IMEI packet received {"connection_id":173655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":173655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:07:53] local.INFO: TCP Data received {"connection_id":173654,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:07:53] local.INFO: Processing buffer {"connection_id":173654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:07:53] local.INFO: IMEI packet received {"connection_id":173654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":173654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:07:53] local.INFO: TCP Data received {"connection_id":173654,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca0d210012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca0d210012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:07:53] local.INFO: Processing buffer {"connection_id":173654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca0d210012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:07:53] local.INFO: Packet analysis {"connection_id":173654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca0"} 
[2026-09-04 19:07:53] local.INFO: Extracted packet for processing {"connection_id":173654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca0"} 
[2026-09-04 19:07:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863386368001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788528874000,"timestamp_ms":1788528874000,"timestamp_seconds":1788528874,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca0d210"} 
[2026-09-04 19:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863386368001,"66":12341,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863386368001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:07:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:07:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863386368001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":173654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:07:53] local.INFO: GPS data processed {"connection_id":173654,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:07:53] local.INFO: Acknowledgment sent {"connection_id":173654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:07:54] local.INFO: TCP Data received {"connection_id":173655,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:07:54] local.INFO: Processing buffer {"connection_id":173655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:07:54] local.INFO: IMEI packet received {"connection_id":173655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":173655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:07:55] local.INFO: TCP Data received {"connection_id":173655,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:07:55] local.INFO: Processing buffer {"connection_id":173655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:07:55] local.INFO: Packet analysis {"connection_id":173655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:07:55] local.INFO: Extracted packet for processing {"connection_id":173655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:07:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863288320001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788528771000,"timestamp_ms":1788528771000,"timestamp_seconds":1788528771,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9f3fb8"} 
[2026-09-04 19:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863288320001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863288320001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:07:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863288320001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":173655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764616,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:07:55] local.INFO: GPS data processed {"connection_id":173655,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:07:55] local.INFO: Acknowledgment sent {"connection_id":173655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:07:59] local.INFO: TCP Data received {"connection_id":171239,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:07:59] local.INFO: Processing buffer {"connection_id":171239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:07:59] local.INFO: IMEI packet received {"connection_id":171239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":171239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:08:04] local.INFO: TCP Data received {"connection_id":171239,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:08:04] local.INFO: Processing buffer {"connection_id":171239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:08:04] local.INFO: IMEI packet received {"connection_id":171239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":171239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:08:04] local.INFO: TCP Data received {"connection_id":171239,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca18d90012cdcb280072bc060001400b12d..."} 
[2026-09-04 19:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca18d90012cdcb280072bc060001400b12d..."} 
[2026-09-04 19:08:04] local.INFO: Processing buffer {"connection_id":171239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca18d90012cdcb280072bc060001400b12d..."} 
[2026-09-04 19:08:04] local.INFO: Packet analysis {"connection_id":171239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:08:04] local.INFO: Extracted packet for processing {"connection_id":171239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:08:04] local.INFO: GPS Element Parsed {"raw_longitude":752661120,"raw_latitude":120307808,"longitude_deg":75.266112,"latitude_deg":12.0307808,"altitude":20,"angle":177,"satellites":45,"speed":18,"hex_longitude":"2cdcb280","hex_latitude":"072bc060","is_valid_coordinates":true} 
[2026-09-04 19:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863402496001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398443776747503616,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543337490013679616,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788528922000,"timestamp_ms":1788528922000,"timestamp_seconds":1788528922,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca18d90"} 
[2026-09-04 19:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 19:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863402496001,"66":27376,"225":206,"83":40960,"24":18,"16":398443776747503616,"44":-2543337490013679616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-04 19:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863402496001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:08:04] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-04 19:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398443776747503616,"km_value":398443776747503.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:08:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543337490013679616,"description":"Unknown IO ID 44"} 
[2026-09-04 19:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863402496001,"power":27376,"unknown_225":206,"unknown_83":40960,"ignition":18,"odometer":null,"unknown_44":-2543337490013679616}} 
[2026-09-04 19:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":171239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:08:04] local.INFO: GPS data processed {"connection_id":171239,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:08:04] local.INFO: Acknowledgment sent {"connection_id":171239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:08:24] local.INFO: TCP Data received {"connection_id":173654,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca12418012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca12418012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:08:24] local.INFO: Processing buffer {"connection_id":173654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca12418012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:08:24] local.INFO: Packet analysis {"connection_id":173654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:08:24] local.INFO: Extracted packet for processing {"connection_id":173654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863391744001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788528895000,"timestamp_ms":1788528895000,"timestamp_seconds":1788528895,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca12418"} 
[2026-09-04 19:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 19:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863391744001,"66":12319,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863391744001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:08:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:08:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863391744001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":173654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:08:24] local.INFO: GPS data processed {"connection_id":173654,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:08:24] local.INFO: Acknowledgment sent {"connection_id":173654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:08:26] local.INFO: TCP Data received {"connection_id":173655,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:08:26] local.INFO: Processing buffer {"connection_id":173655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06c9f3fb8012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:08:26] local.INFO: Packet analysis {"connection_id":173655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:08:26] local.INFO: Extracted packet for processing {"connection_id":173655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06c9f"} 
[2026-09-04 19:08:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863288320001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788528771000,"timestamp_ms":1788528771000,"timestamp_seconds":1788528771,"priority":1,"record_length":96,"hex_timestamp":"000001a06c9f3fb8"} 
[2026-09-04 19:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863288320001,"66":25212,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863288320001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:08:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:08:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863288320001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":173655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764619,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:08:27] local.INFO: GPS data processed {"connection_id":173655,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:08:27] local.INFO: Acknowledgment sent {"connection_id":173655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:08:36] local.INFO: TCP Data received {"connection_id":171239,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca39ce8012cdcc880072ac2f0000e009b31..."} 
[2026-09-04 19:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca39ce8012cdcc880072ac2f0000e009b31..."} 
[2026-09-04 19:08:36] local.INFO: Processing buffer {"connection_id":171239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca39ce8012cdcc880072ac2f0000e009b31..."} 
[2026-09-04 19:08:36] local.INFO: Packet analysis {"connection_id":171239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:08:36] local.INFO: Extracted packet for processing {"connection_id":171239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:08:36] local.INFO: GPS Element Parsed {"raw_longitude":752666752,"raw_latitude":120242928,"longitude_deg":75.2666752,"latitude_deg":12.0242928,"altitude":14,"angle":155,"satellites":49,"speed":27,"hex_longitude":"2cdcc880","hex_latitude":"072ac2f0","is_valid_coordinates":true} 
[2026-09-04 19:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863436288001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398446993678008320,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2539115365378928640,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788529057000,"timestamp_ms":1788529057000,"timestamp_seconds":1788529057,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca39ce8"} 
[2026-09-04 19:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 19:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863436288001,"66":27343,"43":206,"83":40960,"24":27,"16":398446993678008320,"44":-2539115365378928640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,44]} 
[2026-09-04 19:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863436288001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:08:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-04 19:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398446993678008320,"km_value":398446993678008.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:08:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2539115365378928640,"description":"Unknown IO ID 44"} 
[2026-09-04 19:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863436288001,"power":27343,"unknown_43":206,"unknown_83":40960,"ignition":27,"odometer":null,"unknown_44":-2539115365378928640}} 
[2026-09-04 19:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":171239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:08:36] local.INFO: GPS data processed {"connection_id":171239,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:08:36] local.INFO: Acknowledgment sent {"connection_id":171239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:08:48] local.INFO: TCP Data received {"connection_id":173656,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:08:48] local.INFO: Processing buffer {"connection_id":173656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:08:48] local.INFO: IMEI packet received {"connection_id":173656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":173656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:08:49] local.INFO: TCP Data received {"connection_id":172356,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:08:49] local.INFO: Processing buffer {"connection_id":172356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:08:49] local.INFO: IMEI packet received {"connection_id":172356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":172356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:08:53] local.INFO: TCP Data received {"connection_id":173656,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:08:53] local.INFO: Processing buffer {"connection_id":173656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:08:53] local.INFO: IMEI packet received {"connection_id":173656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":173656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:08:53] local.INFO: TCP Data received {"connection_id":173656,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca17620012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca17620012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:08:53] local.INFO: Processing buffer {"connection_id":173656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca17620012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:08:53] local.INFO: Packet analysis {"connection_id":173656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:08:53] local.INFO: Extracted packet for processing {"connection_id":173656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863397120001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788528916000,"timestamp_ms":1788528916000,"timestamp_seconds":1788528916,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca17620"} 
[2026-09-04 19:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 19:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863397120001,"66":12341,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863397120001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:08:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863397120001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:08:54] local.INFO: TCP Data received {"connection_id":172356,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":173656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:08:54] local.INFO: GPS data processed {"connection_id":173656,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:08:54] local.INFO: Acknowledgment sent {"connection_id":173656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:08:54] local.INFO: Processing buffer {"connection_id":172356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:08:54] local.INFO: IMEI packet received {"connection_id":172356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":172356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:08:55] local.INFO: TCP Data received {"connection_id":172356,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca3d780012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca3d780012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:08:55] local.INFO: Processing buffer {"connection_id":172356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca3d780012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:08:55] local.INFO: Packet analysis {"connection_id":172356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:08:55] local.INFO: Extracted packet for processing {"connection_id":172356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863365376001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788529072000,"timestamp_ms":1788529072000,"timestamp_seconds":1788529072,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca3d780"} 
[2026-09-04 19:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 19:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863365376001,"66":25104,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863365376001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:08:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863365376001,"power":25104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":172356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764622,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:08:55] local.INFO: GPS data processed {"connection_id":172356,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:08:55] local.INFO: Acknowledgment sent {"connection_id":172356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:08:58] local.INFO: TCP Data received {"connection_id":170956,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:08:58] local.INFO: Processing buffer {"connection_id":170956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:08:58] local.INFO: IMEI packet received {"connection_id":170956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":170956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:09:04] local.INFO: TCP Data received {"connection_id":170956,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:09:04] local.INFO: Processing buffer {"connection_id":170956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:09:04] local.INFO: IMEI packet received {"connection_id":170956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":170956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:09:05] local.INFO: TCP Data received {"connection_id":170956,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca3a4b8012cdccc00072abe78000e008932..."} 
[2026-09-04 19:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca3a4b8012cdccc00072abe78000e008932..."} 
[2026-09-04 19:09:05] local.INFO: Processing buffer {"connection_id":170956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca3a4b8012cdccc00072abe78000e008932..."} 
[2026-09-04 19:09:05] local.INFO: Packet analysis {"connection_id":170956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:09:05] local.INFO: Extracted packet for processing {"connection_id":170956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:09:05] local.INFO: GPS Element Parsed {"raw_longitude":752667648,"raw_latitude":120241784,"longitude_deg":75.2667648,"latitude_deg":12.0241784,"altitude":14,"angle":137,"satellites":50,"speed":26,"hex_longitude":"2cdccc00","hex_latitude":"072abe78","is_valid_coordinates":true} 
[2026-09-04 19:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863438592001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398447062397485056,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2537637621752729600,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788529059000,"timestamp_ms":1788529059000,"timestamp_seconds":1788529059,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca3a4b8"} 
[2026-09-04 19:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 19:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863438592001,"66":27397,"43":206,"83":40960,"24":26,"16":398447062397485056,"44":-2537637621752729600},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,44]} 
[2026-09-04 19:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863438592001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:09:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-04 19:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398447062397485056,"km_value":398447062397485.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:09:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2537637621752729600,"description":"Unknown IO ID 44"} 
[2026-09-04 19:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863438592001,"power":27397,"unknown_43":206,"unknown_83":40960,"ignition":26,"odometer":null,"unknown_44":-2537637621752729600}} 
[2026-09-04 19:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":170956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:09:05] local.INFO: GPS data processed {"connection_id":170956,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:09:05] local.INFO: Acknowledgment sent {"connection_id":170956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:09:25] local.INFO: TCP Data received {"connection_id":173656,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca1c828012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca1c828012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:09:25] local.INFO: Processing buffer {"connection_id":173656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca1c828012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:09:25] local.INFO: Packet analysis {"connection_id":173656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:09:25] local.INFO: Extracted packet for processing {"connection_id":173656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca1"} 
[2026-09-04 19:09:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863402496001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788528937000,"timestamp_ms":1788528937000,"timestamp_seconds":1788528937,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca1c828"} 
[2026-09-04 19:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 19:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863402496001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863402496001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:09:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:09:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863402496001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":173656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:09:25] local.INFO: GPS data processed {"connection_id":173656,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:09:25] local.INFO: Acknowledgment sent {"connection_id":173656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:09:26] local.INFO: TCP Data received {"connection_id":172356,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca3d780012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca3d780012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:09:26] local.INFO: Processing buffer {"connection_id":172356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca3d780012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:09:26] local.INFO: Packet analysis {"connection_id":172356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:09:26] local.INFO: Extracted packet for processing {"connection_id":172356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:09:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863365376001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788529072000,"timestamp_ms":1788529072000,"timestamp_seconds":1788529072,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca3d780"} 
[2026-09-04 19:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 19:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863365376001,"66":25104,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863365376001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:09:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:09:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863365376001,"power":25104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":172356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764625,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:09:27] local.INFO: GPS data processed {"connection_id":172356,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:09:27] local.INFO: Acknowledgment sent {"connection_id":172356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:09:36] local.INFO: TCP Data received {"connection_id":170956,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca3d780012cdce800072aa6c00010008332..."} 
[2026-09-04 19:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca3d780012cdce800072aa6c00010008332..."} 
[2026-09-04 19:09:36] local.INFO: Processing buffer {"connection_id":170956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca3d780012cdce800072aa6c00010008332..."} 
[2026-09-04 19:09:36] local.INFO: Packet analysis {"connection_id":170956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:09:36] local.INFO: Extracted packet for processing {"connection_id":170956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:09:36] local.INFO: GPS Element Parsed {"raw_longitude":752674816,"raw_latitude":120235712,"longitude_deg":75.2674816,"latitude_deg":12.0235712,"altitude":16,"angle":131,"satellites":50,"speed":27,"hex_longitude":"2cdce800","hex_latitude":"072aa6c0","is_valid_coordinates":true} 
[2026-09-04 19:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863439104001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398447513369051136,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2536652459334535168,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788529072000,"timestamp_ms":1788529072000,"timestamp_seconds":1788529072,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca3d780"} 
[2026-09-04 19:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 19:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863439104001,"66":27365,"43":206,"83":40960,"24":27,"16":398447513369051136,"44":-2536652459334535168},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,44]} 
[2026-09-04 19:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863439104001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:09:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-04 19:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398447513369051136,"km_value":398447513369051.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:09:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2536652459334535168,"description":"Unknown IO ID 44"} 
[2026-09-04 19:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863439104001,"power":27365,"unknown_43":206,"unknown_83":40960,"ignition":27,"odometer":null,"unknown_44":-2536652459334535168}} 
[2026-09-04 19:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":170956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:09:36] local.INFO: GPS data processed {"connection_id":170956,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:09:36] local.INFO: Acknowledgment sent {"connection_id":170956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:09:45] local.INFO: TCP Data received {"connection_id":171240,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:09:45] local.INFO: Processing buffer {"connection_id":171240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:09:45] local.INFO: IMEI packet received {"connection_id":171240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":171240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:09:47] local.INFO: TCP Data received {"connection_id":171240,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:09:47] local.INFO: Processing buffer {"connection_id":171240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:09:47] local.INFO: IMEI packet received {"connection_id":171240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":171240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:09:48] local.INFO: TCP Data received {"connection_id":173657,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:09:48] local.INFO: Processing buffer {"connection_id":173657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:09:48] local.INFO: IMEI packet received {"connection_id":173657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":173657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:09:52] local.INFO: TCP Data received {"connection_id":171240,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:09:52] local.INFO: Processing buffer {"connection_id":171240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:09:52] local.INFO: IMEI packet received {"connection_id":171240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":171240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:09:53] local.INFO: TCP Data received {"connection_id":171240,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca21a30012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca21a30012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:09:53] local.INFO: Processing buffer {"connection_id":171240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca21a30012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:09:53] local.INFO: Packet analysis {"connection_id":171240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca2"} 
[2026-09-04 19:09:53] local.INFO: Extracted packet for processing {"connection_id":171240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca2"} 
[2026-09-04 19:09:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863407872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788528958000,"timestamp_ms":1788528958000,"timestamp_seconds":1788528958,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca21a30"} 
[2026-09-04 19:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863407872001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863407872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:09:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:09:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863407872001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":171240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:09:53] local.INFO: GPS data processed {"connection_id":171240,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:09:53] local.INFO: Acknowledgment sent {"connection_id":171240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:09:54] local.INFO: TCP Data received {"connection_id":173657,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:09:54] local.INFO: Processing buffer {"connection_id":173657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:09:54] local.INFO: IMEI packet received {"connection_id":173657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":173657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:09:55] local.INFO: TCP Data received {"connection_id":173657,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca3d780012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca3d780012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:09:55] local.INFO: Processing buffer {"connection_id":173657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca3d780012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:09:55] local.INFO: Packet analysis {"connection_id":173657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:09:55] local.INFO: Extracted packet for processing {"connection_id":173657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863365376001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788529072000,"timestamp_ms":1788529072000,"timestamp_seconds":1788529072,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca3d780"} 
[2026-09-04 19:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 19:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863365376001,"66":25104,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863365376001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:09:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863365376001,"power":25104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":173657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:09:55] local.INFO: GPS data processed {"connection_id":173657,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:09:55] local.INFO: Acknowledgment sent {"connection_id":173657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:09:58] local.INFO: TCP Data received {"connection_id":170957,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:09:58] local.INFO: Processing buffer {"connection_id":170957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:09:58] local.INFO: IMEI packet received {"connection_id":170957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":170957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:10:04] local.INFO: TCP Data received {"connection_id":170957,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:10:04] local.INFO: Processing buffer {"connection_id":170957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:10:04] local.INFO: IMEI packet received {"connection_id":170957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":170957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:10:04] local.INFO: TCP Data received {"connection_id":170957,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca40a48012cdd0400072a8de8000d008332..."} 
[2026-09-04 19:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca40a48012cdd0400072a8de8000d008332..."} 
[2026-09-04 19:10:04] local.INFO: Processing buffer {"connection_id":170957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca40a48012cdd0400072a8de8000d008332..."} 
[2026-09-04 19:10:04] local.INFO: Packet analysis {"connection_id":170957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca4"} 
[2026-09-04 19:10:04] local.INFO: Extracted packet for processing {"connection_id":170957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca4"} 
[2026-09-04 19:10:04] local.INFO: GPS Element Parsed {"raw_longitude":752681984,"raw_latitude":120229352,"longitude_deg":75.2681984,"latitude_deg":12.0229352,"altitude":13,"angle":131,"satellites":50,"speed":24,"hex_longitude":"2cdd0400","hex_latitude":"072a8de8","is_valid_coordinates":true} 
[2026-09-04 19:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863442432001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398447972930551808,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2528771159988191232,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788529085000,"timestamp_ms":1788529085000,"timestamp_seconds":1788529085,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca40a48"} 
[2026-09-04 19:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 19:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863442432001,"66":27365,"43":206,"83":40960,"24":24,"16":398447972930551808,"44":-2528771159988191232},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,44]} 
[2026-09-04 19:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863442432001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:10:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-04 19:10:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398447972930551808,"km_value":398447972930551.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:10:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2528771159988191232,"description":"Unknown IO ID 44"} 
[2026-09-04 19:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863442432001,"power":27365,"unknown_43":206,"unknown_83":40960,"ignition":24,"odometer":null,"unknown_44":-2528771159988191232}} 
[2026-09-04 19:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":170957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:10:04] local.INFO: GPS data processed {"connection_id":170957,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:10:04] local.INFO: Acknowledgment sent {"connection_id":170957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:10:24] local.INFO: TCP Data received {"connection_id":171240,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca26c38012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca26c38012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:10:24] local.INFO: Processing buffer {"connection_id":171240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca26c38012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:10:24] local.INFO: Packet analysis {"connection_id":171240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca2"} 
[2026-09-04 19:10:24] local.INFO: Extracted packet for processing {"connection_id":171240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca2"} 
[2026-09-04 19:10:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863413248001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788528979000,"timestamp_ms":1788528979000,"timestamp_seconds":1788528979,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca26c38"} 
[2026-09-04 19:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863413248001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863413248001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:10:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:10:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863413248001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":171240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:10:24] local.INFO: GPS data processed {"connection_id":171240,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:10:24] local.INFO: Acknowledgment sent {"connection_id":171240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:10:26] local.INFO: TCP Data received {"connection_id":173657,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca52f40012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca52f40012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:10:26] local.INFO: Processing buffer {"connection_id":173657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca52f40012d34c58006aa5508000a00f027..."} 
[2026-09-04 19:10:26] local.INFO: Packet analysis {"connection_id":173657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:10:26] local.INFO: Extracted packet for processing {"connection_id":173657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:10:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111826184,"longitude_deg":75.8433152,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863442432001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788529160000,"timestamp_ms":1788529160000,"timestamp_seconds":1788529160,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca52f40"} 
[2026-09-04 19:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-04 19:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863442432001,"66":24995,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863442432001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:10:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:10:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863442432001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":173657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:10:26] local.INFO: GPS data processed {"connection_id":173657,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:10:26] local.INFO: Acknowledgment sent {"connection_id":173657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:10:35] local.INFO: TCP Data received {"connection_id":170957,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca43928012cdd2080072a75980008008232..."} 
[2026-09-04 19:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca43928012cdd2080072a75980008008232..."} 
[2026-09-04 19:10:35] local.INFO: Processing buffer {"connection_id":170957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca43928012cdd2080072a75980008008232..."} 
[2026-09-04 19:10:35] local.INFO: Packet analysis {"connection_id":170957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca4"} 
[2026-09-04 19:10:35] local.INFO: Extracted packet for processing {"connection_id":170957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca4"} 
[2026-09-04 19:10:35] local.INFO: GPS Element Parsed {"raw_longitude":752689280,"raw_latitude":120223128,"longitude_deg":75.268928,"latitude_deg":12.0223128,"altitude":8,"angle":130,"satellites":50,"speed":32,"hex_longitude":"2cdd2080","hex_latitude":"072a7598","is_valid_coordinates":true} 
[2026-09-04 19:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863445760001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398448432492052480,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2520889860641921024,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788529097000,"timestamp_ms":1788529097000,"timestamp_seconds":1788529097,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca43928"} 
[2026-09-04 19:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 19:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863445760001,"66":27376,"43":206,"83":40960,"24":32,"16":398448432492052480,"44":-2520889860641921024},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,44]} 
[2026-09-04 19:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863445760001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:10:35] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-04 19:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398448432492052480,"km_value":398448432492052.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:10:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2520889860641921024,"description":"Unknown IO ID 44"} 
[2026-09-04 19:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863445760001,"power":27376,"unknown_43":206,"unknown_83":40960,"ignition":32,"odometer":null,"unknown_44":-2520889860641921024}} 
[2026-09-04 19:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":170957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:10:35] local.INFO: GPS data processed {"connection_id":170957,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:10:35] local.INFO: Acknowledgment sent {"connection_id":170957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:10:47] local.INFO: TCP Data received {"connection_id":171241,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:10:47] local.INFO: Processing buffer {"connection_id":171241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:10:47] local.INFO: IMEI packet received {"connection_id":171241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":171241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:10:48] local.INFO: TCP Data received {"connection_id":171242,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:10:48] local.INFO: Processing buffer {"connection_id":171242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:10:48] local.INFO: IMEI packet received {"connection_id":171242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":171242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:10:48] local.INFO: TCP Data received {"connection_id":171241,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:10:48] local.INFO: Processing buffer {"connection_id":171241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:10:48] local.INFO: IMEI packet received {"connection_id":171241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":171241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:10:52] local.INFO: TCP Data received {"connection_id":171241,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:10:52] local.INFO: Processing buffer {"connection_id":171241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:10:52] local.INFO: IMEI packet received {"connection_id":171241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":171241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:10:53] local.INFO: TCP Data received {"connection_id":171241,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca2be40012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca2be40012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:10:53] local.INFO: Processing buffer {"connection_id":171241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca2be40012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:10:53] local.INFO: Packet analysis {"connection_id":171241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca2"} 
[2026-09-04 19:10:53] local.INFO: Extracted packet for processing {"connection_id":171241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca2"} 
[2026-09-04 19:10:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863418624001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788529000000,"timestamp_ms":1788529000000,"timestamp_seconds":1788529000,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca2be40"} 
[2026-09-04 19:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863418624001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863418624001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:10:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:10:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863418624001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":171241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:10:53] local.INFO: GPS data processed {"connection_id":171241,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:10:53] local.INFO: Acknowledgment sent {"connection_id":171241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:10:54] local.INFO: TCP Data received {"connection_id":171242,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:10:54] local.INFO: Processing buffer {"connection_id":171242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:10:54] local.INFO: IMEI packet received {"connection_id":171242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":171242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:10:55] local.INFO: TCP Data received {"connection_id":171242,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca594d0012d34c70006aa5508000a00f027..."} 
[2026-09-04 19:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca594d0012d34c70006aa5508000a00f027..."} 
[2026-09-04 19:10:55] local.INFO: Processing buffer {"connection_id":171242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca594d0012d34c70006aa5508000a00f027..."} 
[2026-09-04 19:10:55] local.INFO: Packet analysis {"connection_id":171242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:10:55] local.INFO: Extracted packet for processing {"connection_id":171242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:10:55] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826184,"longitude_deg":75.8433536,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863464960001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500110336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788529186000,"timestamp_ms":1788529186000,"timestamp_seconds":1788529186,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca594d0"} 
[2026-09-04 19:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-04 19:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863464960001,"66":27821,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3802586226500110336},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863464960001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:10:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:10:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500110336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863464960001,"power":27821,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226500110336}} 
[2026-09-04 19:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":171242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:10:55] local.INFO: GPS data processed {"connection_id":171242,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:10:55] local.INFO: Acknowledgment sent {"connection_id":171242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:10:58] local.INFO: TCP Data received {"connection_id":172357,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:10:58] local.INFO: Processing buffer {"connection_id":172357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:10:58] local.INFO: IMEI packet received {"connection_id":172357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":172357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:11:01] local.INFO: TCP Data received {"connection_id":172357,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:11:01] local.INFO: Processing buffer {"connection_id":172357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:11:01] local.INFO: IMEI packet received {"connection_id":172357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":172357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:11:03] local.INFO: TCP Data received {"connection_id":172357,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:11:03] local.INFO: Processing buffer {"connection_id":172357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:11:03] local.INFO: IMEI packet received {"connection_id":172357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":172357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:11:12] local.INFO: TCP Data received {"connection_id":172357,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca5b7f8012cde098007298e900009008c30..."} 
[2026-09-04 19:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca5b7f8012cde098007298e900009008c30..."} 
[2026-09-04 19:11:12] local.INFO: Processing buffer {"connection_id":172357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca5b7f8012cde098007298e900009008c30..."} 
[2026-09-04 19:11:12] local.INFO: Packet analysis {"connection_id":172357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:11:12] local.INFO: Extracted packet for processing {"connection_id":172357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:11:12] local.INFO: GPS Element Parsed {"raw_longitude":752748928,"raw_latitude":120163984,"longitude_deg":75.2748928,"latitude_deg":12.0163984,"altitude":9,"angle":140,"satellites":48,"speed":45,"hex_longitude":"2cde0980","hex_latitude":"07298e90","is_valid_coordinates":true} 
[2026-09-04 19:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863471872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398452478351245312,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2453476603734675456,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788529195000,"timestamp_ms":1788529195000,"timestamp_seconds":1788529195,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca5b7f8"} 
[2026-09-04 19:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 19:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863471872001,"66":27397,"53":206,"83":40960,"24":45,"16":398452478351245312,"44":-2453476603734675456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-09-04 19:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863471872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:11:12] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-04 19:11:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398452478351245312,"km_value":398452478351245.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2453476603734675456,"description":"Unknown IO ID 44"} 
[2026-09-04 19:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863471872001,"power":27397,"unknown_53":206,"unknown_83":40960,"ignition":45,"odometer":null,"unknown_44":-2453476603734675456}} 
[2026-09-04 19:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":172357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:11:12] local.INFO: GPS data processed {"connection_id":172357,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:11:12] local.INFO: Acknowledgment sent {"connection_id":172357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:11:25] local.INFO: TCP Data received {"connection_id":171241,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca31048012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca31048012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:11:25] local.INFO: Processing buffer {"connection_id":171241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca31048012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:11:25] local.INFO: Packet analysis {"connection_id":171241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:11:25] local.INFO: Extracted packet for processing {"connection_id":171241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:11:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863424000001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788529021000,"timestamp_ms":1788529021000,"timestamp_seconds":1788529021,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca31048"} 
[2026-09-04 19:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863424000001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863424000001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:11:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:11:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863424000001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":171241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:11:25] local.INFO: GPS data processed {"connection_id":171241,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:11:25] local.INFO: Acknowledgment sent {"connection_id":171241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:11:26] local.INFO: TCP Data received {"connection_id":171242,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca5e6d8012d34c70006aa5508000a00f027..."} 
[2026-09-04 19:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca5e6d8012d34c70006aa5508000a00f027..."} 
[2026-09-04 19:11:26] local.INFO: Processing buffer {"connection_id":171242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca5e6d8012d34c70006aa5508000a00f027..."} 
[2026-09-04 19:11:26] local.INFO: Packet analysis {"connection_id":171242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:11:26] local.INFO: Extracted packet for processing {"connection_id":171242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:11:26] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826184,"longitude_deg":75.8433536,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863471616001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788529207000,"timestamp_ms":1788529207000,"timestamp_seconds":1788529207,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca5e6d8"} 
[2026-09-04 19:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 19:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863471616001,"66":27800,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863471616001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:11:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:11:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 19:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863471616001,"power":27800,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 19:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":171242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764637,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:11:26] local.INFO: GPS data processed {"connection_id":171242,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:11:26] local.INFO: Acknowledgment sent {"connection_id":171242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:11:47] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:11:47] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:11:47] local.INFO: IMEI packet received {"connection_id":173658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":173658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:11:48] local.INFO: TCP Data received {"connection_id":170958,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:11:48] local.INFO: Processing buffer {"connection_id":170958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:11:48] local.INFO: IMEI packet received {"connection_id":170958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":170958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:11:51] local.INFO: TCP Data received {"connection_id":170958,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:11:51] local.INFO: Processing buffer {"connection_id":170958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:11:51] local.INFO: IMEI packet received {"connection_id":170958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":170958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:11:52] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:11:52] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:11:52] local.INFO: IMEI packet received {"connection_id":173658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":173658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:11:52] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:11:52] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:11:52] local.INFO: IMEI packet received {"connection_id":173658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":173658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:11:53] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca36250012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca36250012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:11:53] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca36250012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:11:53] local.INFO: Packet analysis {"connection_id":173658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:11:53] local.INFO: Extracted packet for processing {"connection_id":173658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863429376001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788529042000,"timestamp_ms":1788529042000,"timestamp_seconds":1788529042,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca36250"} 
[2026-09-04 19:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863429376001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863429376001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:11:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:11:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863429376001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:11:53] local.INFO: TCP Data received {"connection_id":170958,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:11:53] local.INFO: Processing buffer {"connection_id":170958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:11:53] local.INFO: IMEI packet received {"connection_id":170958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":170958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":173658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:11:53] local.INFO: GPS data processed {"connection_id":173658,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:11:53] local.INFO: Acknowledgment sent {"connection_id":173658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:11:54] local.INFO: TCP Data received {"connection_id":170958,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca638e0012d34c70006aa5508000a00f027..."} 
[2026-09-04 19:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca638e0012d34c70006aa5508000a00f027..."} 
[2026-09-04 19:11:54] local.INFO: Processing buffer {"connection_id":170958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca638e0012d34c70006aa5508000a00f027..."} 
[2026-09-04 19:11:54] local.INFO: Packet analysis {"connection_id":170958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:11:54] local.INFO: Extracted packet for processing {"connection_id":170958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826184,"longitude_deg":75.8433536,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863476992001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788529228000,"timestamp_ms":1788529228000,"timestamp_seconds":1788529228,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca638e0"} 
[2026-09-04 19:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 19:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863476992001,"66":27234,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863476992001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:11:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:11:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 19:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863476992001,"power":27234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 19:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":170958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764639,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:11:54] local.INFO: GPS data processed {"connection_id":170958,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:11:54] local.INFO: Acknowledgment sent {"connection_id":170958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:11:58] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca3b458012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca3b458012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:11:58] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca3b458012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:11:58] local.INFO: Packet analysis {"connection_id":173658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:11:58] local.INFO: Extracted packet for processing {"connection_id":173658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca3"} 
[2026-09-04 19:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863434752001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788529063000,"timestamp_ms":1788529063000,"timestamp_seconds":1788529063,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca3b458"} 
[2026-09-04 19:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863434752001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863434752001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:11:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863434752001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":173658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:11:58] local.INFO: GPS data processed {"connection_id":173658,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:11:58] local.INFO: Acknowledgment sent {"connection_id":173658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:11:58] local.INFO: TCP Data received {"connection_id":171243,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:11:58] local.INFO: Processing buffer {"connection_id":171243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:11:58] local.INFO: IMEI packet received {"connection_id":171243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":171243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:11:59] local.INFO: TCP Data received {"connection_id":171243,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:11:59] local.INFO: Processing buffer {"connection_id":171243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:11:59] local.INFO: IMEI packet received {"connection_id":171243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":171243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:12:04] local.INFO: TCP Data received {"connection_id":171243,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:12:04] local.INFO: Processing buffer {"connection_id":171243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:12:04] local.INFO: IMEI packet received {"connection_id":171243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":171243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:12:04] local.INFO: TCP Data received {"connection_id":171243,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca5fe48012cde3a8007295260000d008b30..."} 
[2026-09-04 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca5fe48012cde3a8007295260000d008b30..."} 
[2026-09-04 19:12:04] local.INFO: Processing buffer {"connection_id":171243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca5fe48012cde3a8007295260000d008b30..."} 
[2026-09-04 19:12:04] local.INFO: Packet analysis {"connection_id":171243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:12:04] local.INFO: Extracted packet for processing {"connection_id":171243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:12:04] local.INFO: GPS Element Parsed {"raw_longitude":752761472,"raw_latitude":120148576,"longitude_deg":75.2761472,"latitude_deg":12.0148576,"altitude":13,"angle":139,"satellites":48,"speed":43,"hex_longitude":"2cde3a80","hex_latitude":"07295260","is_valid_coordinates":true} 
[2026-09-04 19:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863476224001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398453436128952320,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2440528754809745408,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788529213000,"timestamp_ms":1788529213000,"timestamp_seconds":1788529213,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca5fe48"} 
[2026-09-04 19:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 19:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863476224001,"66":27365,"53":206,"83":40960,"24":43,"16":398453436128952320,"44":-2440528754809745408},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-09-04 19:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863476224001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:12:04] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-04 19:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398453436128952320,"km_value":398453436128952.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:12:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2440528754809745408,"description":"Unknown IO ID 44"} 
[2026-09-04 19:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863476224001,"power":27365,"unknown_53":206,"unknown_83":40960,"ignition":43,"odometer":null,"unknown_44":-2440528754809745408}} 
[2026-09-04 19:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":171243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:12:04] local.INFO: GPS data processed {"connection_id":171243,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:12:04] local.INFO: Acknowledgment sent {"connection_id":171243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:12:26] local.INFO: TCP Data received {"connection_id":170958,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca68ae8012d34c70006aa5508000a00f027..."} 
[2026-09-04 19:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca68ae8012d34c70006aa5508000a00f027..."} 
[2026-09-04 19:12:26] local.INFO: Processing buffer {"connection_id":170958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca68ae8012d34c70006aa5508000a00f027..."} 
[2026-09-04 19:12:26] local.INFO: Packet analysis {"connection_id":170958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:12:26] local.INFO: Extracted packet for processing {"connection_id":170958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:12:26] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826184,"longitude_deg":75.8433536,"latitude_deg":11.1826184,"altitude":10,"angle":240,"satellites":39,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa5508","is_valid_coordinates":true} 
[2026-09-04 19:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863482368001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788529249000,"timestamp_ms":1788529249000,"timestamp_seconds":1788529249,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca68ae8"} 
[2026-09-04 19:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 19:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863482368001,"66":26984,"106":206,"28":21760,"24":0,"16":467142117949440,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863482368001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:12:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:12:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 19:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863482368001,"power":26984,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 19:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":170958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764642,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:12:26] local.INFO: GPS data processed {"connection_id":170958,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:12:26] local.INFO: Acknowledgment sent {"connection_id":170958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:12:29] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca40a48012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca40a48012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:12:29] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca40a48012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:12:29] local.INFO: Packet analysis {"connection_id":173658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca4"} 
[2026-09-04 19:12:29] local.INFO: Extracted packet for processing {"connection_id":173658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca4"} 
[2026-09-04 19:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863440128001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788529085000,"timestamp_ms":1788529085000,"timestamp_seconds":1788529085,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca40a48"} 
[2026-09-04 19:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863440128001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863440128001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:12:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863440128001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":173658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:12:29] local.INFO: GPS data processed {"connection_id":173658,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:12:29] local.INFO: Acknowledgment sent {"connection_id":173658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:12:35] local.INFO: TCP Data received {"connection_id":171243,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca62170012cde53c007293520000d008a2f..."} 
[2026-09-04 19:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca62170012cde53c007293520000d008a2f..."} 
[2026-09-04 19:12:35] local.INFO: Processing buffer {"connection_id":171243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca62170012cde53c007293520000d008a2f..."} 
[2026-09-04 19:12:35] local.INFO: Packet analysis {"connection_id":171243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:12:35] local.INFO: Extracted packet for processing {"connection_id":171243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:12:35] local.INFO: GPS Element Parsed {"raw_longitude":752767936,"raw_latitude":120141088,"longitude_deg":75.2767936,"latitude_deg":12.0141088,"altitude":13,"angle":138,"satellites":47,"speed":42,"hex_longitude":"2cde53c0","hex_latitude":"07293520","is_valid_coordinates":true} 
[2026-09-04 19:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863478528001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398453908575354880,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2433491880393940992,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788529222000,"timestamp_ms":1788529222000,"timestamp_seconds":1788529222,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca62170"} 
[2026-09-04 19:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 19:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863478528001,"66":27397,"53":206,"83":40960,"24":42,"16":398453908575354880,"44":-2433491880393940992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-09-04 19:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863478528001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:12:35] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-04 19:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398453908575354880,"km_value":398453908575354.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:12:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2433491880393940992,"description":"Unknown IO ID 44"} 
[2026-09-04 19:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863478528001,"power":27397,"unknown_53":206,"unknown_83":40960,"ignition":42,"odometer":null,"unknown_44":-2433491880393940992}} 
[2026-09-04 19:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":171243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:12:35] local.INFO: GPS data processed {"connection_id":171243,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:12:35] local.INFO: Acknowledgment sent {"connection_id":171243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:12:52] local.INFO: TCP Data received {"connection_id":173659,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:12:52] local.INFO: Processing buffer {"connection_id":173659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:12:52] local.INFO: IMEI packet received {"connection_id":173659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":173659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:12:54] local.INFO: TCP Data received {"connection_id":173660,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:12:54] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:12:54] local.INFO: IMEI packet received {"connection_id":173660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":173660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:12:55] local.INFO: TCP Data received {"connection_id":173659,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:12:55] local.INFO: Processing buffer {"connection_id":173659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:12:55] local.INFO: IMEI packet received {"connection_id":173659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":173659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:12:55] local.INFO: TCP Data received {"connection_id":171244,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:12:55] local.INFO: Processing buffer {"connection_id":171244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:12:55] local.INFO: IMEI packet received {"connection_id":171244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":171244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:12:56] local.INFO: TCP Data received {"connection_id":173659,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca45868012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca45868012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:12:56] local.INFO: Processing buffer {"connection_id":173659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca45868012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:12:56] local.INFO: Packet analysis {"connection_id":173659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca4"} 
[2026-09-04 19:12:56] local.INFO: Extracted packet for processing {"connection_id":173659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca4"} 
[2026-09-04 19:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863445760001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788529105000,"timestamp_ms":1788529105000,"timestamp_seconds":1788529105,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca45868"} 
[2026-09-04 19:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863445760001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863445760001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:12:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:12:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863445760001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":173659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:12:57] local.INFO: GPS data processed {"connection_id":173659,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:12:57] local.INFO: Acknowledgment sent {"connection_id":173659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:12:58] local.INFO: TCP Data received {"connection_id":173660,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:12:58] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:12:58] local.INFO: IMEI packet received {"connection_id":173660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":173660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:12:58] local.INFO: TCP Data received {"connection_id":171244,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:12:58] local.INFO: Processing buffer {"connection_id":171244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:12:58] local.INFO: IMEI packet received {"connection_id":171244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":171244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:12:59] local.INFO: TCP Data received {"connection_id":173659,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca4aa70012d1822400721b4a0004c00da2b..."} 
[2026-09-04 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca4aa70012d1822400721b4a0004c00da2b..."} 
[2026-09-04 19:12:59] local.INFO: Processing buffer {"connection_id":173659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca4aa70012d1822400721b4a0004c00da2b..."} 
[2026-09-04 19:12:59] local.INFO: Packet analysis {"connection_id":173659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca4"} 
[2026-09-04 19:12:59] local.INFO: Extracted packet for processing {"connection_id":173659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca4"} 
[2026-09-04 19:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863450880001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788529126000,"timestamp_ms":1788529126000,"timestamp_seconds":1788529126,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca4aa70"} 
[2026-09-04 19:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863450880001,"66":12374,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863450880001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:12:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863450880001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":173659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:12:59] local.INFO: GPS data processed {"connection_id":173659,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:12:59] local.INFO: Acknowledgment sent {"connection_id":173659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:12:59] local.INFO: TCP Data received {"connection_id":173660,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca6c198012d34c60006aa44a00008000226..."} 
[2026-09-04 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca6c198012d34c60006aa44a00008000226..."} 
[2026-09-04 19:12:59] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca6c198012d34c60006aa44a00008000226..."} 
[2026-09-04 19:12:59] local.INFO: Packet analysis {"connection_id":173660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:12:59] local.INFO: Extracted packet for processing {"connection_id":173660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111821984,"longitude_deg":75.843328,"latitude_deg":11.1821984,"altitude":8,"angle":2,"satellites":38,"speed":4,"hex_longitude":"2d34c600","hex_latitude":"06aa44a0","is_valid_coordinates":true} 
[2026-09-04 19:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863487744001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467348276379648,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965176320,"note":"Value kept but may cause issues"} 
[2026-09-04 19:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788529263000,"timestamp_ms":1788529263000,"timestamp_seconds":1788529263,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca6c198"} 
[2026-09-04 19:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 19:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863487744001,"66":27267,"106":206,"28":21760,"24":4,"16":467348276379648,"45":3803008438965176320},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863487744001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:12:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467348276379648,"km_value":467348276379.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965176320,"description":"Unknown IO ID 45"} 
[2026-09-04 19:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863487744001,"power":27267,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3803008438965176320}} 
[2026-09-04 19:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":173660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:12:59] local.INFO: GPS data processed {"connection_id":173660,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:12:59] local.INFO: Acknowledgment sent {"connection_id":173660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:13:03] local.INFO: TCP Data received {"connection_id":171244,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:13:03] local.INFO: Processing buffer {"connection_id":171244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:13:03] local.INFO: IMEI packet received {"connection_id":171244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":171244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:13:04] local.INFO: TCP Data received {"connection_id":173660,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca6cd50012d34c60006aa46080008014d25..."} 
[2026-09-04 19:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca6cd50012d34c60006aa46080008014d25..."} 
[2026-09-04 19:13:04] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca6cd50012d34c60006aa46080008014d25..."} 
[2026-09-04 19:13:04] local.INFO: Packet analysis {"connection_id":173660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:13:04] local.INFO: Extracted packet for processing {"connection_id":173660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111822344,"longitude_deg":75.843328,"latitude_deg":11.1822344,"altitude":8,"angle":333,"satellites":37,"speed":3,"hex_longitude":"2d34c600","hex_latitude":"06aa4608","is_valid_coordinates":true} 
[2026-09-04 19:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863491328001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467365456248832,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987390464,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788529266000,"timestamp_ms":1788529266000,"timestamp_seconds":1788529266,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca6cd50"} 
[2026-09-04 19:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 19:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863491328001,"66":26810,"106":206,"28":21760,"24":3,"16":467365456248832,"45":3802726963987390464},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863491328001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:13:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:13:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467365456248832,"km_value":467365456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987390464,"description":"Unknown IO ID 45"} 
[2026-09-04 19:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863491328001,"power":26810,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3802726963987390464}} 
[2026-09-04 19:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":173660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764648,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:13:04] local.INFO: GPS data processed {"connection_id":173660,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:13:04] local.INFO: Acknowledgment sent {"connection_id":173660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:13:10] local.INFO: TCP Data received {"connection_id":171244,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca79488012cdf57c00727f4400008009032..."} 
[2026-09-04 19:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca79488012cdf57c00727f4400008009032..."} 
[2026-09-04 19:13:10] local.INFO: Processing buffer {"connection_id":171244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca79488012cdf57c00727f4400008009032..."} 
[2026-09-04 19:13:10] local.INFO: Packet analysis {"connection_id":171244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca7"} 
[2026-09-04 19:13:10] local.INFO: Extracted packet for processing {"connection_id":171244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca7"} 
[2026-09-04 19:13:10] local.INFO: GPS Element Parsed {"raw_longitude":752834496,"raw_latitude":120058944,"longitude_deg":75.2834496,"latitude_deg":12.0058944,"altitude":8,"angle":144,"satellites":50,"speed":38,"hex_longitude":"2cdf57c0","hex_latitude":"0727f440","is_valid_coordinates":true} 
[2026-09-04 19:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863502592001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398458998111600640,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2359886174005037056,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788529317000,"timestamp_ms":1788529317000,"timestamp_seconds":1788529317,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca79488"} 
[2026-09-04 19:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 19:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863502592001,"66":27104,"54":206,"83":40960,"24":38,"16":398458998111600640,"44":-2359886174005037056},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-09-04 19:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863502592001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:13:10] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-04 19:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398458998111600640,"km_value":398458998111600.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2359886174005037056,"description":"Unknown IO ID 44"} 
[2026-09-04 19:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863502592001,"power":27104,"unknown_54":206,"unknown_83":40960,"ignition":38,"odometer":null,"unknown_44":-2359886174005037056}} 
[2026-09-04 19:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":171244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:13:10] local.INFO: GPS data processed {"connection_id":171244,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:13:10] local.INFO: Acknowledgment sent {"connection_id":171244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:13:12] local.INFO: TCP Data received {"connection_id":171244,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca7bb98012cdf6e400727d5e80008008a32..."} 
[2026-09-04 19:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca7bb98012cdf6e400727d5e80008008a32..."} 
[2026-09-04 19:13:12] local.INFO: Processing buffer {"connection_id":171244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca7bb98012cdf6e400727d5e80008008a32..."} 
[2026-09-04 19:13:12] local.INFO: Packet analysis {"connection_id":171244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca7"} 
[2026-09-04 19:13:12] local.INFO: Extracted packet for processing {"connection_id":171244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca7"} 
[2026-09-04 19:13:12] local.INFO: GPS Element Parsed {"raw_longitude":752840256,"raw_latitude":120051176,"longitude_deg":75.2840256,"latitude_deg":12.0051176,"altitude":8,"angle":138,"satellites":50,"speed":37,"hex_longitude":"2cdf6e40","hex_latitude":"0727d5e8","is_valid_coordinates":true} 
[2026-09-04 19:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863505152001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398459466263035904,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2353201143310172160,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788529327000,"timestamp_ms":1788529327000,"timestamp_seconds":1788529327,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca7bb98"} 
[2026-09-04 19:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-04 19:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863505152001,"66":27300,"54":206,"83":40960,"24":37,"16":398459466263035904,"44":-2353201143310172160},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-09-04 19:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863505152001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:13:12] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-04 19:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398459466263035904,"km_value":398459466263035.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2353201143310172160,"description":"Unknown IO ID 44"} 
[2026-09-04 19:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863505152001,"power":27300,"unknown_54":206,"unknown_83":40960,"ignition":37,"odometer":null,"unknown_44":-2353201143310172160}} 
[2026-09-04 19:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":171244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:13:12] local.INFO: GPS data processed {"connection_id":171244,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:13:12] local.INFO: Acknowledgment sent {"connection_id":171244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:13:30] local.INFO: TCP Data received {"connection_id":173659,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca4fc78012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca4fc78012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:13:30] local.INFO: Processing buffer {"connection_id":173659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca4fc78012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:13:30] local.INFO: Packet analysis {"connection_id":173659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca4"} 
[2026-09-04 19:13:30] local.INFO: Extracted packet for processing {"connection_id":173659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca4"} 
[2026-09-04 19:13:30] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863456256001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788529147000,"timestamp_ms":1788529147000,"timestamp_seconds":1788529147,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca4fc78"} 
[2026-09-04 19:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 19:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863456256001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863456256001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:13:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:13:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863456256001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":173659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:13:31] local.INFO: GPS data processed {"connection_id":173659,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:13:31] local.INFO: Acknowledgment sent {"connection_id":173659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:13:43] local.INFO: TCP Data received {"connection_id":171244,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca7e2a8012cdf87c00727ba300008008831..."} 
[2026-09-04 19:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca7e2a8012cdf87c00727ba300008008831..."} 
[2026-09-04 19:13:43] local.INFO: Processing buffer {"connection_id":171244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca7e2a8012cdf87c00727ba300008008831..."} 
[2026-09-04 19:13:43] local.INFO: Packet analysis {"connection_id":171244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca7"} 
[2026-09-04 19:13:43] local.INFO: Extracted packet for processing {"connection_id":171244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca7"} 
[2026-09-04 19:13:43] local.INFO: GPS Element Parsed {"raw_longitude":752846784,"raw_latitude":120044080,"longitude_deg":75.2846784,"latitude_deg":12.004408,"altitude":8,"angle":136,"satellites":49,"speed":37,"hex_longitude":"2cdf87c0","hex_latitude":"0727ba30","is_valid_coordinates":true} 
[2026-09-04 19:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863507712001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398459925824536576,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2346867956336171008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788529337000,"timestamp_ms":1788529337000,"timestamp_seconds":1788529337,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca7e2a8"} 
[2026-09-04 19:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 19:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863507712001,"66":27223,"54":206,"83":40960,"24":37,"16":398459925824536576,"44":-2346867956336171008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-09-04 19:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863507712001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:13:43] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-04 19:13:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398459925824536576,"km_value":398459925824536.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:13:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2346867956336171008,"description":"Unknown IO ID 44"} 
[2026-09-04 19:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863507712001,"power":27223,"unknown_54":206,"unknown_83":40960,"ignition":37,"odometer":null,"unknown_44":-2346867956336171008}} 
[2026-09-04 19:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":171244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:13:44] local.INFO: GPS data processed {"connection_id":171244,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:13:44] local.INFO: Acknowledgment sent {"connection_id":171244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:13:48] local.INFO: TCP Data received {"connection_id":171245,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:13:48] local.INFO: Processing buffer {"connection_id":171245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:13:48] local.INFO: IMEI packet received {"connection_id":171245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":171245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:13:49] local.INFO: TCP Data received {"connection_id":170959,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:13:49] local.INFO: Processing buffer {"connection_id":170959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:13:49] local.INFO: IMEI packet received {"connection_id":170959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":170959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:13:53] local.INFO: TCP Data received {"connection_id":171245,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:13:53] local.INFO: Processing buffer {"connection_id":171245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:13:53] local.INFO: IMEI packet received {"connection_id":171245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":171245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:13:53] local.INFO: TCP Data received {"connection_id":170959,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:13:53] local.INFO: Processing buffer {"connection_id":170959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:13:53] local.INFO: IMEI packet received {"connection_id":170959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":170959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:13:54] local.INFO: TCP Data received {"connection_id":171245,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca54e80012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca54e80012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:13:54] local.INFO: Processing buffer {"connection_id":171245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca54e80012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:13:54] local.INFO: Packet analysis {"connection_id":171245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:13:54] local.INFO: Extracted packet for processing {"connection_id":171245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:13:54] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863461632001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788529168000,"timestamp_ms":1788529168000,"timestamp_seconds":1788529168,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca54e80"} 
[2026-09-04 19:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863461632001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863461632001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:13:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:13:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863461632001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":171245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:13:54] local.INFO: GPS data processed {"connection_id":171245,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:13:54] local.INFO: Acknowledgment sent {"connection_id":171245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:13:54] local.INFO: TCP Data received {"connection_id":170959,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca6d520012d34c60006aa46780008013a25..."} 
[2026-09-04 19:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca6d520012d34c60006aa46780008013a25..."} 
[2026-09-04 19:13:54] local.INFO: Processing buffer {"connection_id":170959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca6d520012d34c60006aa46780008013a25..."} 
[2026-09-04 19:13:54] local.INFO: Packet analysis {"connection_id":170959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:13:54] local.INFO: Extracted packet for processing {"connection_id":170959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:13:54] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111822456,"longitude_deg":75.843328,"latitude_deg":11.1822456,"altitude":8,"angle":314,"satellites":37,"speed":1,"hex_longitude":"2d34c600","hex_latitude":"06aa4678","is_valid_coordinates":true} 
[2026-09-04 19:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863492096001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467369751216128,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987482624,"note":"Value kept but may cause issues"} 
[2026-09-04 19:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788529268000,"timestamp_ms":1788529268000,"timestamp_seconds":1788529268,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca6d520"} 
[2026-09-04 19:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-09-04 19:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2392,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863492096001,"66":27006,"106":206,"28":21760,"24":1,"16":467369751216128,"45":3802726963987482624},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863492096001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:13:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:13:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467369751216128,"km_value":467369751216.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987482624,"description":"Unknown IO ID 45"} 
[2026-09-04 19:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863492096001,"power":27006,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3802726963987482624}} 
[2026-09-04 19:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":170959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764654,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:13:54] local.INFO: GPS data processed {"connection_id":170959,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:13:54] local.INFO: Acknowledgment sent {"connection_id":170959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:13:58] local.INFO: TCP Data received {"connection_id":172358,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:13:58] local.INFO: Processing buffer {"connection_id":172358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:13:58] local.INFO: IMEI packet received {"connection_id":172358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":172358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:13:59] local.INFO: TCP Data received {"connection_id":172358,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:13:59] local.INFO: Processing buffer {"connection_id":172358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:13:59] local.INFO: IMEI packet received {"connection_id":172358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":172358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:14:04] local.INFO: TCP Data received {"connection_id":172358,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:14:04] local.INFO: Processing buffer {"connection_id":172358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:14:04] local.INFO: IMEI packet received {"connection_id":172358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":172358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:14:04] local.INFO: TCP Data received {"connection_id":172358,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca809b8012cdfa08007279f380009008731..."} 
[2026-09-04 19:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca809b8012cdfa08007279f380009008731..."} 
[2026-09-04 19:14:04] local.INFO: Processing buffer {"connection_id":172358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca809b8012cdfa08007279f380009008731..."} 
[2026-09-04 19:14:04] local.INFO: Packet analysis {"connection_id":172358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca8"} 
[2026-09-04 19:14:04] local.INFO: Extracted packet for processing {"connection_id":172358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca8"} 
[2026-09-04 19:14:04] local.INFO: GPS Element Parsed {"raw_longitude":752853120,"raw_latitude":120037176,"longitude_deg":75.285312,"latitude_deg":12.0037176,"altitude":9,"angle":135,"satellites":49,"speed":34,"hex_longitude":"2cdfa080","hex_latitude":"07279f38","is_valid_coordinates":true} 
[2026-09-04 19:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863510272001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398460376796102656,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2339690344431865856,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788529347000,"timestamp_ms":1788529347000,"timestamp_seconds":1788529347,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca809b8"} 
[2026-09-04 19:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-04 19:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863510272001,"66":27321,"54":206,"83":40960,"24":34,"16":398460376796102656,"44":-2339690344431865856},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-09-04 19:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863510272001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:14:04] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-04 19:14:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-04 19:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398460376796102656,"km_value":398460376796102.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:14:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2339690344431865856,"description":"Unknown IO ID 44"} 
[2026-09-04 19:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863510272001,"power":27321,"unknown_54":206,"unknown_83":40960,"ignition":34,"odometer":null,"unknown_44":-2339690344431865856}} 
[2026-09-04 19:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":172358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:14:04] local.INFO: GPS data processed {"connection_id":172358,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:14:04] local.INFO: Acknowledgment sent {"connection_id":172358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:14:25] local.INFO: TCP Data received {"connection_id":171245,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca5a088012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca5a088012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:14:25] local.INFO: Processing buffer {"connection_id":171245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca5a088012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:14:25] local.INFO: Packet analysis {"connection_id":171245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:14:25] local.INFO: Extracted packet for processing {"connection_id":171245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:14:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863467008001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788529189000,"timestamp_ms":1788529189000,"timestamp_seconds":1788529189,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca5a088"} 
[2026-09-04 19:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863467008001,"66":12341,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863467008001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:14:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:14:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863467008001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":171245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:14:25] local.INFO: GPS data processed {"connection_id":171245,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:14:25] local.INFO: Acknowledgment sent {"connection_id":171245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:14:26] local.INFO: TCP Data received {"connection_id":170959,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca6e8a8012d34c50006aa47880008012f27..."} 
[2026-09-04 19:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca6e8a8012d34c50006aa47880008012f27..."} 
[2026-09-04 19:14:26] local.INFO: Processing buffer {"connection_id":170959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca6e8a8012d34c50006aa47880008012f27..."} 
[2026-09-04 19:14:26] local.INFO: Packet analysis {"connection_id":170959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:14:26] local.INFO: Extracted packet for processing {"connection_id":170959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:14:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111822728,"longitude_deg":75.8433024,"latitude_deg":11.1822728,"altitude":8,"angle":303,"satellites":39,"speed":3,"hex_longitude":"2d34c500","hex_latitude":"06aa4788","is_valid_coordinates":true} 
[2026-09-04 19:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863492608001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467391226052608,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987511296,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788529273000,"timestamp_ms":1788529273000,"timestamp_seconds":1788529273,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca6e8a8"} 
[2026-09-04 19:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-09-04 19:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1857,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863492608001,"66":26832,"106":206,"28":21760,"24":3,"16":467391226052608,"45":3802726963987511296},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863492608001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:14:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:14:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467391226052608,"km_value":467391226052.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987511296,"description":"Unknown IO ID 45"} 
[2026-09-04 19:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863492608001,"power":26832,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3802726963987511296}} 
[2026-09-04 19:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":170959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764657,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:14:26] local.INFO: GPS data processed {"connection_id":170959,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:14:26] local.INFO: Acknowledgment sent {"connection_id":170959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:14:35] local.INFO: TCP Data received {"connection_id":172358,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca93680012ce07dc00726d5e80005005b30..."} 
[2026-09-04 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca93680012ce07dc00726d5e80005005b30..."} 
[2026-09-04 19:14:35] local.INFO: Processing buffer {"connection_id":172358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca93680012ce07dc00726d5e80005005b30..."} 
[2026-09-04 19:14:35] local.INFO: Packet analysis {"connection_id":172358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca9"} 
[2026-09-04 19:14:35] local.INFO: Extracted packet for processing {"connection_id":172358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca9"} 
[2026-09-04 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":752909760,"raw_latitude":119985640,"longitude_deg":75.290976,"latitude_deg":11.998564,"altitude":5,"angle":91,"satellites":48,"speed":36,"hex_longitude":"2ce07dc0","hex_latitude":"0726d5e8","is_valid_coordinates":true} 
[2026-09-04 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863529984001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398464233676734464,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2281002811802570752,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788529424000,"timestamp_ms":1788529424000,"timestamp_seconds":1788529424,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca93680"} 
[2026-09-04 19:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863529984001,"66":27343,"151":206,"83":43008,"24":36,"16":398464233676734464,"44":-2281002811802570752},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-04 19:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863529984001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:14:35] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-04 19:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398464233676734464,"km_value":398464233676734.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:14:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2281002811802570752,"description":"Unknown IO ID 44"} 
[2026-09-04 19:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863529984001,"power":27343,"unknown_151":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-2281002811802570752}} 
[2026-09-04 19:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":172358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:14:35] local.INFO: GPS data processed {"connection_id":172358,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:14:35] local.INFO: Acknowledgment sent {"connection_id":172358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:14:48] local.INFO: TCP Data received {"connection_id":170960,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:14:48] local.INFO: Processing buffer {"connection_id":170960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:14:48] local.INFO: IMEI packet received {"connection_id":170960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":170960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:14:49] local.INFO: TCP Data received {"connection_id":170961,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:14:49] local.INFO: Processing buffer {"connection_id":170961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:14:49] local.INFO: IMEI packet received {"connection_id":170961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":170961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:14:52] local.INFO: TCP Data received {"connection_id":170960,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:14:52] local.INFO: Processing buffer {"connection_id":170960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:14:52] local.INFO: IMEI packet received {"connection_id":170960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":170960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:14:53] local.INFO: TCP Data received {"connection_id":170960,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca5f290012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca5f290012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:14:53] local.INFO: Processing buffer {"connection_id":170960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca5f290012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:14:53] local.INFO: Packet analysis {"connection_id":170960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:14:53] local.INFO: Extracted packet for processing {"connection_id":170960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca5"} 
[2026-09-04 19:14:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863472384001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788529210000,"timestamp_ms":1788529210000,"timestamp_seconds":1788529210,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca5f290"} 
[2026-09-04 19:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 19:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863472384001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863472384001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:14:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:14:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863472384001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":170960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:14:54] local.INFO: GPS data processed {"connection_id":170960,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:14:54] local.INFO: Acknowledgment sent {"connection_id":170960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:14:54] local.INFO: TCP Data received {"connection_id":170961,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:14:54] local.INFO: Processing buffer {"connection_id":170961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:14:54] local.INFO: IMEI packet received {"connection_id":170961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":170961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:14:55] local.INFO: TCP Data received {"connection_id":170961,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca6f460012d34c48006aa47e00009011e27..."} 
[2026-09-04 19:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca6f460012d34c48006aa47e00009011e27..."} 
[2026-09-04 19:14:55] local.INFO: Processing buffer {"connection_id":170961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca6f460012d34c48006aa47e00009011e27..."} 
[2026-09-04 19:14:55] local.INFO: Packet analysis {"connection_id":170961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:14:55] local.INFO: Extracted packet for processing {"connection_id":170961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111822816,"longitude_deg":75.8432896,"latitude_deg":11.1822816,"altitude":9,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa47e0","is_valid_coordinates":true} 
[2026-09-04 19:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863493888001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467395521019904,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010870272,"note":"Value kept but may cause issues"} 
[2026-09-04 19:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788529276000,"timestamp_ms":1788529276000,"timestamp_seconds":1788529276,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca6f460"} 
[2026-09-04 19:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-09-04 19:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863493888001,"66":27267,"106":206,"28":21760,"24":0,"16":467395521019904,"45":3802445489010870272},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863493888001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:14:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:14:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467395521019904,"km_value":467395521019.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010870272,"description":"Unknown IO ID 45"} 
[2026-09-04 19:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863493888001,"power":27267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802445489010870272}} 
[2026-09-04 19:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":170961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764660,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:14:55] local.INFO: GPS data processed {"connection_id":170961,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:14:55] local.INFO: Acknowledgment sent {"connection_id":170961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:14:58] local.INFO: TCP Data received {"connection_id":173661,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:14:58] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:14:58] local.INFO: IMEI packet received {"connection_id":173661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":173661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:15:03] local.INFO: TCP Data received {"connection_id":173661,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:15:03] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:15:03] local.INFO: IMEI packet received {"connection_id":173661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":173661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:15:04] local.INFO: TCP Data received {"connection_id":173661,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca94a08012ce090400726d3900006006831..."} 
[2026-09-04 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca94a08012ce090400726d3900006006831..."} 
[2026-09-04 19:15:04] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca94a08012ce090400726d3900006006831..."} 
[2026-09-04 19:15:04] local.INFO: Packet analysis {"connection_id":173661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca9"} 
[2026-09-04 19:15:04] local.INFO: Extracted packet for processing {"connection_id":173661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca9"} 
[2026-09-04 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":752914496,"raw_latitude":119985040,"longitude_deg":75.2914496,"latitude_deg":11.998504,"altitude":6,"angle":104,"satellites":49,"speed":38,"hex_longitude":"2ce09040","hex_latitude":"0726d390","is_valid_coordinates":true} 
[2026-09-04 19:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863532544001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398464461310001152,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2270447500176005120,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788529429000,"timestamp_ms":1788529429000,"timestamp_seconds":1788529429,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca94a08"} 
[2026-09-04 19:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 19:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863532544001,"66":27300,"151":206,"83":43008,"24":38,"16":398464461310001152,"44":-2270447500176005120},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-04 19:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863532544001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:15:04] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-04 19:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398464461310001152,"km_value":398464461310001.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:15:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2270447500176005120,"description":"Unknown IO ID 44"} 
[2026-09-04 19:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863532544001,"power":27300,"unknown_151":206,"unknown_83":43008,"ignition":38,"odometer":null,"unknown_44":-2270447500176005120}} 
[2026-09-04 19:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":173661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:15:04] local.INFO: GPS data processed {"connection_id":173661,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:15:04] local.INFO: Acknowledgment sent {"connection_id":173661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:15:25] local.INFO: TCP Data received {"connection_id":170960,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca978e8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca978e8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:15:25] local.INFO: Processing buffer {"connection_id":170960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca978e8012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:15:25] local.INFO: Packet analysis {"connection_id":170960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca9"} 
[2026-09-04 19:15:25] local.INFO: Extracted packet for processing {"connection_id":170960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca9"} 
[2026-09-04 19:15:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863531520001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788529441000,"timestamp_ms":1788529441000,"timestamp_seconds":1788529441,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca978e8"} 
[2026-09-04 19:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863531520001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863531520001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:15:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:15:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863531520001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":170960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:15:25] local.INFO: GPS data processed {"connection_id":170960,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:15:25] local.INFO: Acknowledgment sent {"connection_id":170960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:15:26] local.INFO: TCP Data received {"connection_id":170961,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca6fc30012d34c40006aa48080009010f28..."} 
[2026-09-04 19:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca6fc30012d34c40006aa48080009010f28..."} 
[2026-09-04 19:15:26] local.INFO: Processing buffer {"connection_id":170961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca6fc30012d34c40006aa48080009010f28..."} 
[2026-09-04 19:15:26] local.INFO: Packet analysis {"connection_id":170961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:15:26] local.INFO: Extracted packet for processing {"connection_id":170961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca6"} 
[2026-09-04 19:15:26] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":2,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 19:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863494656001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522537472,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788529278000,"timestamp_ms":1788529278000,"timestamp_seconds":1788529278,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca6fc30"} 
[2026-09-04 19:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 19:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863494656001,"66":27115,"106":206,"28":21760,"24":2,"16":467404110954496,"45":3802304751522537472},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863494656001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:15:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:15:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522537472,"description":"Unknown IO ID 45"} 
[2026-09-04 19:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863494656001,"power":27115,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3802304751522537472}} 
[2026-09-04 19:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":170961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:15:27] local.INFO: GPS data processed {"connection_id":170961,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:15:27] local.INFO: Acknowledgment sent {"connection_id":170961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:15:35] local.INFO: TCP Data received {"connection_id":173661,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca959a8012ce09e400726ce700007007531..."} 
[2026-09-04 19:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca959a8012ce09e400726ce700007007531..."} 
[2026-09-04 19:15:35] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca959a8012ce09e400726ce700007007531..."} 
[2026-09-04 19:15:35] local.INFO: Packet analysis {"connection_id":173661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca9"} 
[2026-09-04 19:15:35] local.INFO: Extracted packet for processing {"connection_id":173661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca9"} 
[2026-09-04 19:15:35] local.INFO: GPS Element Parsed {"raw_longitude":752918080,"raw_latitude":119983728,"longitude_deg":75.291808,"latitude_deg":11.9983728,"altitude":7,"angle":117,"satellites":49,"speed":36,"hex_longitude":"2ce09e40","hex_latitude":"0726ce70","is_valid_coordinates":true} 
[2026-09-04 19:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863533824001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398464645993594880,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2265240213107011584,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788529433000,"timestamp_ms":1788529433000,"timestamp_seconds":1788529433,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca959a8"} 
[2026-09-04 19:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 19:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863533824001,"66":27310,"151":206,"83":43008,"24":36,"16":398464645993594880,"44":-2265240213107011584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-04 19:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863533824001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:15:35] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-04 19:15:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398464645993594880,"km_value":398464645993594.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:15:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2265240213107011584,"description":"Unknown IO ID 44"} 
[2026-09-04 19:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863533824001,"power":27310,"unknown_151":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-2265240213107011584}} 
[2026-09-04 19:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":173661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:15:35] local.INFO: GPS data processed {"connection_id":173661,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:15:35] local.INFO: Acknowledgment sent {"connection_id":173661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:15:47] local.INFO: TCP Data received {"connection_id":172359,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:15:47] local.INFO: Processing buffer {"connection_id":172359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:15:47] local.INFO: IMEI packet received {"connection_id":172359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":172359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:15:48] local.INFO: TCP Data received {"connection_id":172360,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:15:48] local.INFO: Processing buffer {"connection_id":172360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:15:48] local.INFO: IMEI packet received {"connection_id":172360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":172360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:15:53] local.INFO: TCP Data received {"connection_id":172359,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:15:53] local.INFO: Processing buffer {"connection_id":172359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:15:53] local.INFO: IMEI packet received {"connection_id":172359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":172359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:15:53] local.INFO: TCP Data received {"connection_id":172359,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca9caf0012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca9caf0012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:15:53] local.INFO: Processing buffer {"connection_id":172359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca9caf0012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:15:53] local.INFO: Packet analysis {"connection_id":172359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca9"} 
[2026-09-04 19:15:53] local.INFO: Extracted packet for processing {"connection_id":172359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca9"} 
[2026-09-04 19:15:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863536896001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788529462000,"timestamp_ms":1788529462000,"timestamp_seconds":1788529462,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca9caf0"} 
[2026-09-04 19:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863536896001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863536896001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:15:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:15:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863536896001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":172359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:15:54] local.INFO: GPS data processed {"connection_id":172359,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:15:54] local.INFO: Acknowledgment sent {"connection_id":172359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:15:54] local.INFO: TCP Data received {"connection_id":172360,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:15:54] local.INFO: Processing buffer {"connection_id":172360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:15:54] local.INFO: IMEI packet received {"connection_id":172360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":172360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:15:55] local.INFO: TCP Data received {"connection_id":172360,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca74e38012d34c40006aa48080009010f28..."} 
[2026-09-04 19:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca74e38012d34c40006aa48080009010f28..."} 
[2026-09-04 19:15:55] local.INFO: Processing buffer {"connection_id":172360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca74e38012d34c40006aa48080009010f28..."} 
[2026-09-04 19:15:55] local.INFO: Packet analysis {"connection_id":172360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca7"} 
[2026-09-04 19:15:55] local.INFO: Extracted packet for processing {"connection_id":172360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca7"} 
[2026-09-04 19:15:55] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 19:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863495168001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788529299000,"timestamp_ms":1788529299000,"timestamp_seconds":1788529299,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca74e38"} 
[2026-09-04 19:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-04 19:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863495168001,"66":27397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863495168001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:15:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:15:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863495168001,"power":27397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 19:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":172360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764666,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:15:55] local.INFO: GPS data processed {"connection_id":172360,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:15:55] local.INFO: Acknowledgment sent {"connection_id":172360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:15:58] local.INFO: TCP Data received {"connection_id":172361,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:15:58] local.INFO: Processing buffer {"connection_id":172361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:15:58] local.INFO: IMEI packet received {"connection_id":172361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":172361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:16:04] local.INFO: TCP Data received {"connection_id":172361,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:16:04] local.INFO: Processing buffer {"connection_id":172361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:16:04] local.INFO: IMEI packet received {"connection_id":172361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":172361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:16:04] local.INFO: TCP Data received {"connection_id":172361,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca984a0012ce0c0800726b8b00007007d31..."} 
[2026-09-04 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca984a0012ce0c0800726b8b00007007d31..."} 
[2026-09-04 19:16:04] local.INFO: Processing buffer {"connection_id":172361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca984a0012ce0c0800726b8b00007007d31..."} 
[2026-09-04 19:16:04] local.INFO: Packet analysis {"connection_id":172361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca9"} 
[2026-09-04 19:16:04] local.INFO: Extracted packet for processing {"connection_id":172361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca9"} 
[2026-09-04 19:16:04] local.INFO: GPS Element Parsed {"raw_longitude":752926848,"raw_latitude":119978160,"longitude_deg":75.2926848,"latitude_deg":11.997816,"altitude":7,"angle":125,"satellites":49,"speed":36,"hex_longitude":"2ce0c080","hex_latitude":"0726b8b0","is_valid_coordinates":true} 
[2026-09-04 19:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863534848001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398465139914833920,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2261299563433398272,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788529444000,"timestamp_ms":1788529444000,"timestamp_seconds":1788529444,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca984a0"} 
[2026-09-04 19:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 19:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863534848001,"66":27365,"151":206,"83":43008,"24":36,"16":398465139914833920,"44":-2261299563433398272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-04 19:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863534848001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:16:04] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-04 19:16:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398465139914833920,"km_value":398465139914833.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:16:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2261299563433398272,"description":"Unknown IO ID 44"} 
[2026-09-04 19:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863534848001,"power":27365,"unknown_151":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-2261299563433398272}} 
[2026-09-04 19:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":172361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:16:04] local.INFO: GPS data processed {"connection_id":172361,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:16:04] local.INFO: Acknowledgment sent {"connection_id":172361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:16:25] local.INFO: TCP Data received {"connection_id":172359,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06caa1cf8012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06caa1cf8012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:16:25] local.INFO: Processing buffer {"connection_id":172359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06caa1cf8012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:16:25] local.INFO: Packet analysis {"connection_id":172359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06caa"} 
[2026-09-04 19:16:25] local.INFO: Extracted packet for processing {"connection_id":172359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06caa"} 
[2026-09-04 19:16:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863542272001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788529483000,"timestamp_ms":1788529483000,"timestamp_seconds":1788529483,"priority":1,"record_length":96,"hex_timestamp":"000001a06caa1cf8"} 
[2026-09-04 19:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863542272001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863542272001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:16:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:16:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863542272001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":172359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:16:25] local.INFO: GPS data processed {"connection_id":172359,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:16:25] local.INFO: Acknowledgment sent {"connection_id":172359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:16:27] local.INFO: TCP Data received {"connection_id":172360,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca78100012d34c40006aa48080009010f28..."} 
[2026-09-04 19:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca78100012d34c40006aa48080009010f28..."} 
[2026-09-04 19:16:27] local.INFO: Processing buffer {"connection_id":172360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca78100012d34c40006aa48080009010f28..."} 
[2026-09-04 19:16:27] local.INFO: Packet analysis {"connection_id":172360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca7"} 
[2026-09-04 19:16:27] local.INFO: Extracted packet for processing {"connection_id":172360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca7"} 
[2026-09-04 19:16:27] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 19:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863500544001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788529312000,"timestamp_ms":1788529312000,"timestamp_seconds":1788529312,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca78100"} 
[2026-09-04 19:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 19:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863500544001,"66":28006,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863500544001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:16:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:16:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863500544001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 19:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":172360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764669,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:16:27] local.INFO: GPS data processed {"connection_id":172360,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:16:27] local.INFO: Acknowledgment sent {"connection_id":172360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:16:35] local.INFO: TCP Data received {"connection_id":172361,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca9abb0012ce0df400726a4b00006007c32..."} 
[2026-09-04 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca9abb0012ce0df400726a4b00006007c32..."} 
[2026-09-04 19:16:35] local.INFO: Processing buffer {"connection_id":172361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca9abb0012ce0df400726a4b00006007c32..."} 
[2026-09-04 19:16:35] local.INFO: Packet analysis {"connection_id":172361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca9"} 
[2026-09-04 19:16:35] local.INFO: Extracted packet for processing {"connection_id":172361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca9"} 
[2026-09-04 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":752934720,"raw_latitude":119973040,"longitude_deg":75.293472,"latitude_deg":11.997304,"altitude":6,"angle":124,"satellites":50,"speed":38,"hex_longitude":"2ce0df40","hex_latitude":"0726a4b0","is_valid_coordinates":true} 
[2026-09-04 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863537664001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398465586591432704,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2251659045482483712,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788529454000,"timestamp_ms":1788529454000,"timestamp_seconds":1788529454,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca9abb0"} 
[2026-09-04 19:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 19:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863537664001,"66":27332,"151":206,"83":43008,"24":38,"16":398465586591432704,"44":-2251659045482483712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-04 19:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863537664001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:16:35] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-04 19:16:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398465586591432704,"km_value":398465586591432.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:16:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2251659045482483712,"description":"Unknown IO ID 44"} 
[2026-09-04 19:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863537664001,"power":27332,"unknown_151":206,"unknown_83":43008,"ignition":38,"odometer":null,"unknown_44":-2251659045482483712}} 
[2026-09-04 19:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":172361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:16:35] local.INFO: GPS data processed {"connection_id":172361,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:16:35] local.INFO: Acknowledgment sent {"connection_id":172361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:16:47] local.INFO: TCP Data received {"connection_id":171246,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:16:47] local.INFO: Processing buffer {"connection_id":171246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:16:47] local.INFO: IMEI packet received {"connection_id":171246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":171246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:16:48] local.INFO: TCP Data received {"connection_id":171247,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:16:48] local.INFO: Processing buffer {"connection_id":171247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:16:48] local.INFO: IMEI packet received {"connection_id":171247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":171247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:16:52] local.INFO: TCP Data received {"connection_id":171246,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:16:52] local.INFO: Processing buffer {"connection_id":171246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:16:52] local.INFO: IMEI packet received {"connection_id":171246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":171246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:16:53] local.INFO: TCP Data received {"connection_id":171246,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06caa6f00012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06caa6f00012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:16:53] local.INFO: Processing buffer {"connection_id":171246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06caa6f00012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:16:53] local.INFO: Packet analysis {"connection_id":171246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06caa"} 
[2026-09-04 19:16:53] local.INFO: Extracted packet for processing {"connection_id":171246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06caa"} 
[2026-09-04 19:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863547648001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788529504000,"timestamp_ms":1788529504000,"timestamp_seconds":1788529504,"priority":1,"record_length":96,"hex_timestamp":"000001a06caa6f00"} 
[2026-09-04 19:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863547648001,"66":12374,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863547648001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:16:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:16:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863547648001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":171246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:16:53] local.INFO: GPS data processed {"connection_id":171246,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:16:53] local.INFO: Acknowledgment sent {"connection_id":171246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:16:54] local.INFO: TCP Data received {"connection_id":171247,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:16:54] local.INFO: Processing buffer {"connection_id":171247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:16:54] local.INFO: IMEI packet received {"connection_id":171247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":171247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:16:56] local.INFO: TCP Data received {"connection_id":171247,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca78100012d34c40006aa48080009010f28..."} 
[2026-09-04 19:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca78100012d34c40006aa48080009010f28..."} 
[2026-09-04 19:16:56] local.INFO: Processing buffer {"connection_id":171247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca78100012d34c40006aa48080009010f28..."} 
[2026-09-04 19:16:56] local.INFO: Packet analysis {"connection_id":171247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca7"} 
[2026-09-04 19:16:56] local.INFO: Extracted packet for processing {"connection_id":171247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca7"} 
[2026-09-04 19:16:56] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 19:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863500544001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788529312000,"timestamp_ms":1788529312000,"timestamp_seconds":1788529312,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca78100"} 
[2026-09-04 19:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 19:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863500544001,"66":28006,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863500544001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:16:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:16:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863500544001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 19:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":171247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764672,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:16:56] local.INFO: GPS data processed {"connection_id":171247,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:16:56] local.INFO: Acknowledgment sent {"connection_id":171247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:16:59] local.INFO: TCP Data received {"connection_id":172362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:16:59] local.INFO: Processing buffer {"connection_id":172362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:16:59] local.INFO: IMEI packet received {"connection_id":172362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":172362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:17:03] local.INFO: TCP Data received {"connection_id":172362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:17:03] local.INFO: Processing buffer {"connection_id":172362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:17:03] local.INFO: IMEI packet received {"connection_id":172362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":172362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:17:04] local.INFO: TCP Data received {"connection_id":172362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:17:04] local.INFO: Processing buffer {"connection_id":172362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:17:04] local.INFO: IMEI packet received {"connection_id":172362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":172362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:17:07] local.INFO: TCP Data received {"connection_id":172362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:17:07] local.INFO: Processing buffer {"connection_id":172362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:17:07] local.INFO: IMEI packet received {"connection_id":172362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":172362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:17:07] local.INFO: TCP Data received {"connection_id":172362,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cab1ec8012ce2448007262678000a006930..."} 
[2026-09-04 19:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cab1ec8012ce2448007262678000a006930..."} 
[2026-09-04 19:17:07] local.INFO: Processing buffer {"connection_id":172362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cab1ec8012ce2448007262678000a006930..."} 
[2026-09-04 19:17:07] local.INFO: Packet analysis {"connection_id":172362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:17:07] local.INFO: Extracted packet for processing {"connection_id":172362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:17:07] local.INFO: GPS Element Parsed {"raw_longitude":753026176,"raw_latitude":119940728,"longitude_deg":75.3026176,"latitude_deg":11.9940728,"altitude":10,"angle":105,"satellites":48,"speed":44,"hex_longitude":"2ce24480","hex_latitude":"07262678","is_valid_coordinates":true} 
[2026-09-04 19:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863561984001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398470229451079680,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2151876166247411712,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788529549000,"timestamp_ms":1788529549000,"timestamp_seconds":1788529549,"priority":1,"record_length":96,"hex_timestamp":"000001a06cab1ec8"} 
[2026-09-04 19:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 19:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863561984001,"66":27321,"87":206,"83":43008,"24":44,"16":398470229451079680,"44":-2151876166247411712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-09-04 19:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863561984001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:17:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-04 19:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398470229451079680,"km_value":398470229451079.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:17:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2151876166247411712,"description":"Unknown IO ID 44"} 
[2026-09-04 19:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863561984001,"power":27321,"unknown_87":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-2151876166247411712}} 
[2026-09-04 19:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":172362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:17:07] local.INFO: GPS data processed {"connection_id":172362,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:17:07] local.INFO: Acknowledgment sent {"connection_id":172362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:17:08] local.INFO: TCP Data received {"connection_id":172362,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cab3e08012ce2678007261d00000a006b31..."} 
[2026-09-04 19:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cab3e08012ce2678007261d00000a006b31..."} 
[2026-09-04 19:17:08] local.INFO: Processing buffer {"connection_id":172362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cab3e08012ce2678007261d00000a006b31..."} 
[2026-09-04 19:17:08] local.INFO: Packet analysis {"connection_id":172362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:17:08] local.INFO: Extracted packet for processing {"connection_id":172362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:17:08] local.INFO: GPS Element Parsed {"raw_longitude":753035136,"raw_latitude":119938304,"longitude_deg":75.3035136,"latitude_deg":11.9938304,"altitude":10,"angle":107,"satellites":49,"speed":47,"hex_longitude":"2ce26780","hex_latitude":"07261d00","is_valid_coordinates":true} 
[2026-09-04 19:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863564544001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398470667537743872,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2142446754528331776,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788529557000,"timestamp_ms":1788529557000,"timestamp_seconds":1788529557,"priority":1,"record_length":96,"hex_timestamp":"000001a06cab3e08"} 
[2026-09-04 19:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 19:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863564544001,"66":27310,"87":206,"83":43008,"24":47,"16":398470667537743872,"44":-2142446754528331776},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-09-04 19:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863564544001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:17:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-04 19:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398470667537743872,"km_value":398470667537743.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:17:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2142446754528331776,"description":"Unknown IO ID 44"} 
[2026-09-04 19:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863564544001,"power":27310,"unknown_87":206,"unknown_83":43008,"ignition":47,"odometer":null,"unknown_44":-2142446754528331776}} 
[2026-09-04 19:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":172362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:17:08] local.INFO: GPS data processed {"connection_id":172362,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:17:08] local.INFO: Acknowledgment sent {"connection_id":172362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:17:24] local.INFO: TCP Data received {"connection_id":171246,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06caac108012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06caac108012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:17:24] local.INFO: Processing buffer {"connection_id":171246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06caac108012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:17:24] local.INFO: Packet analysis {"connection_id":171246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06caa"} 
[2026-09-04 19:17:24] local.INFO: Extracted packet for processing {"connection_id":171246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06caa"} 
[2026-09-04 19:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863553024001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788529525000,"timestamp_ms":1788529525000,"timestamp_seconds":1788529525,"priority":1,"record_length":96,"hex_timestamp":"000001a06caac108"} 
[2026-09-04 19:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 19:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863553024001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863553024001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:17:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863553024001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":171246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:17:24] local.INFO: GPS data processed {"connection_id":171246,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:17:24] local.INFO: Acknowledgment sent {"connection_id":171246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:17:27] local.INFO: TCP Data received {"connection_id":171247,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ca78100012d34c40006aa48080009010f28..."} 
[2026-09-04 19:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ca78100012d34c40006aa48080009010f28..."} 
[2026-09-04 19:17:27] local.INFO: Processing buffer {"connection_id":171247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ca78100012d34c40006aa48080009010f28..."} 
[2026-09-04 19:17:27] local.INFO: Packet analysis {"connection_id":171247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ca7"} 
[2026-09-04 19:17:27] local.INFO: Extracted packet for processing {"connection_id":171247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ca7"} 
[2026-09-04 19:17:27] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 19:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863500544001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788529312000,"timestamp_ms":1788529312000,"timestamp_seconds":1788529312,"priority":1,"record_length":96,"hex_timestamp":"000001a06ca78100"} 
[2026-09-04 19:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 19:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863500544001,"66":28006,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863500544001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:17:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:17:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863500544001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 19:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":171247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764676,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:17:27] local.INFO: GPS data processed {"connection_id":171247,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:17:27] local.INFO: Acknowledgment sent {"connection_id":171247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:17:39] local.INFO: TCP Data received {"connection_id":172362,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cab5d48012ce28c00072611580009006c2e..."} 
[2026-09-04 19:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cab5d48012ce28c00072611580009006c2e..."} 
[2026-09-04 19:17:39] local.INFO: Processing buffer {"connection_id":172362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cab5d48012ce28c00072611580009006c2e..."} 
[2026-09-04 19:17:39] local.INFO: Packet analysis {"connection_id":172362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:17:39] local.INFO: Extracted packet for processing {"connection_id":172362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:17:39] local.INFO: GPS Element Parsed {"raw_longitude":753044480,"raw_latitude":119935320,"longitude_deg":75.304448,"latitude_deg":11.993532,"altitude":9,"angle":108,"satellites":46,"speed":49,"hex_longitude":"2ce28c00","hex_latitude":"07261158","is_valid_coordinates":true} 
[2026-09-04 19:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863566592001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398471135689179136,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2132595130344079360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788529565000,"timestamp_ms":1788529565000,"timestamp_seconds":1788529565,"priority":1,"record_length":96,"hex_timestamp":"000001a06cab5d48"} 
[2026-09-04 19:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 19:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863566592001,"66":27484,"87":206,"83":43008,"24":49,"16":398471135689179136,"44":-2132595130344079360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-09-04 19:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863566592001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:17:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-04 19:17:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398471135689179136,"km_value":398471135689179.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:17:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2132595130344079360,"description":"Unknown IO ID 44"} 
[2026-09-04 19:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863566592001,"power":27484,"unknown_87":206,"unknown_83":43008,"ignition":49,"odometer":null,"unknown_44":-2132595130344079360}} 
[2026-09-04 19:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":172362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:17:39] local.INFO: GPS data processed {"connection_id":172362,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:17:39] local.INFO: Acknowledgment sent {"connection_id":172362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:17:47] local.INFO: TCP Data received {"connection_id":170962,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:17:47] local.INFO: Processing buffer {"connection_id":170962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:17:47] local.INFO: IMEI packet received {"connection_id":170962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":170962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:17:48] local.INFO: TCP Data received {"connection_id":170962,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:17:48] local.INFO: Processing buffer {"connection_id":170962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:17:48] local.INFO: IMEI packet received {"connection_id":170962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":170962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:17:53] local.INFO: TCP Data received {"connection_id":170962,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:17:53] local.INFO: Processing buffer {"connection_id":170962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:17:53] local.INFO: IMEI packet received {"connection_id":170962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":170962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:17:54] local.INFO: TCP Data received {"connection_id":171248,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:17:54] local.INFO: Processing buffer {"connection_id":171248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:17:54] local.INFO: IMEI packet received {"connection_id":171248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":171248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:17:54] local.INFO: TCP Data received {"connection_id":170962,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cab1310012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cab1310012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:17:54] local.INFO: Processing buffer {"connection_id":170962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cab1310012d1822400721b4a0004c00da2f..."} 
[2026-09-04 19:17:54] local.INFO: Packet analysis {"connection_id":170962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:17:54] local.INFO: Extracted packet for processing {"connection_id":170962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:17:54] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863558400001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788529546000,"timestamp_ms":1788529546000,"timestamp_seconds":1788529546,"priority":1,"record_length":96,"hex_timestamp":"000001a06cab1310"} 
[2026-09-04 19:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863558400001,"66":12374,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863558400001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:17:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:17:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863558400001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":170962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:17:54] local.INFO: GPS data processed {"connection_id":170962,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:17:54] local.INFO: Acknowledgment sent {"connection_id":170962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:17:59] local.INFO: TCP Data received {"connection_id":171249,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:17:59] local.INFO: Processing buffer {"connection_id":171249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:17:59] local.INFO: IMEI packet received {"connection_id":171249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":171249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:17:59] local.INFO: TCP Data received {"connection_id":171248,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:17:59] local.INFO: Processing buffer {"connection_id":171248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:17:59] local.INFO: IMEI packet received {"connection_id":171248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":171248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:18:00] local.INFO: TCP Data received {"connection_id":171248,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:18:00] local.INFO: Processing buffer {"connection_id":171248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:18:00] local.INFO: Packet analysis {"connection_id":171248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:18:00] local.INFO: Extracted packet for processing {"connection_id":171248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:18:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863503872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788529616000,"timestamp_ms":1788529616000,"timestamp_seconds":1788529616,"priority":1,"record_length":96,"hex_timestamp":"000001a06cac2480"} 
[2026-09-04 19:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 19:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863503872001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863503872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:18:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:18:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863503872001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 19:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":171248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764679,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:18:00] local.INFO: GPS data processed {"connection_id":171248,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:18:00] local.INFO: Acknowledgment sent {"connection_id":171248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:18:03] local.INFO: TCP Data received {"connection_id":171249,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:18:03] local.INFO: Processing buffer {"connection_id":171249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:18:03] local.INFO: IMEI packet received {"connection_id":171249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":171249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:18:04] local.INFO: TCP Data received {"connection_id":171249,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cab7c88012ce2b140072604000008006e2e..."} 
[2026-09-04 19:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cab7c88012ce2b140072604000008006e2e..."} 
[2026-09-04 19:18:04] local.INFO: Processing buffer {"connection_id":171249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cab7c88012ce2b140072604000008006e2e..."} 
[2026-09-04 19:18:04] local.INFO: Packet analysis {"connection_id":171249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:18:04] local.INFO: Extracted packet for processing {"connection_id":171249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:18:04] local.INFO: GPS Element Parsed {"raw_longitude":753054016,"raw_latitude":119931904,"longitude_deg":75.3054016,"latitude_deg":11.9931904,"altitude":8,"angle":110,"satellites":46,"speed":50,"hex_longitude":"2ce2b140","hex_latitude":"07260400","is_valid_coordinates":true} 
[2026-09-04 19:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863568640001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398471616725516288,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2122321293694904320,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788529573000,"timestamp_ms":1788529573000,"timestamp_seconds":1788529573,"priority":1,"record_length":96,"hex_timestamp":"000001a06cab7c88"} 
[2026-09-04 19:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 19:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863568640001,"66":27376,"87":206,"83":43008,"24":50,"16":398471616725516288,"44":-2122321293694904320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-09-04 19:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863568640001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:18:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-04 19:18:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398471616725516288,"km_value":398471616725516.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:18:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2122321293694904320,"description":"Unknown IO ID 44"} 
[2026-09-04 19:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863568640001,"power":27376,"unknown_87":206,"unknown_83":43008,"ignition":50,"odometer":null,"unknown_44":-2122321293694904320}} 
[2026-09-04 19:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":171249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:18:04] local.INFO: GPS data processed {"connection_id":171249,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:18:04] local.INFO: Acknowledgment sent {"connection_id":171249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:18:04] local.INFO: TCP Data received {"connection_id":171248,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:18:04] local.INFO: Processing buffer {"connection_id":171248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:18:04] local.INFO: Packet analysis {"connection_id":171248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:18:04] local.INFO: Extracted packet for processing {"connection_id":171248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863503872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788529616000,"timestamp_ms":1788529616000,"timestamp_seconds":1788529616,"priority":1,"record_length":96,"hex_timestamp":"000001a06cac2480"} 
[2026-09-04 19:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 19:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863503872001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863503872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:18:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:18:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863503872001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 19:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":171248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764681,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:18:05] local.INFO: GPS data processed {"connection_id":171248,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:18:05] local.INFO: Acknowledgment sent {"connection_id":171248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:18:25] local.INFO: TCP Data received {"connection_id":170962,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cab6518012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cab6518012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:18:25] local.INFO: Processing buffer {"connection_id":170962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cab6518012d1822400721b4a0004c00da31..."} 
[2026-09-04 19:18:25] local.INFO: Packet analysis {"connection_id":170962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:18:25] local.INFO: Extracted packet for processing {"connection_id":170962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:18:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863563776001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788529567000,"timestamp_ms":1788529567000,"timestamp_seconds":1788529567,"priority":1,"record_length":96,"hex_timestamp":"000001a06cab6518"} 
[2026-09-04 19:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 19:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863563776001,"66":12374,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863563776001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:18:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:18:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863563776001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":170962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:18:25] local.INFO: GPS data processed {"connection_id":170962,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:18:25] local.INFO: Acknowledgment sent {"connection_id":170962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:18:35] local.INFO: TCP Data received {"connection_id":171249,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cab9bc8012ce2d6800725f4400007007729..."} 
[2026-09-04 19:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cab9bc8012ce2d6800725f4400007007729..."} 
[2026-09-04 19:18:36] local.INFO: Processing buffer {"connection_id":171249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cab9bc8012ce2d6800725f4400007007729..."} 
[2026-09-04 19:18:36] local.INFO: Packet analysis {"connection_id":171249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:18:36] local.INFO: Extracted packet for processing {"connection_id":171249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:18:36] local.INFO: GPS Element Parsed {"raw_longitude":753063552,"raw_latitude":119927872,"longitude_deg":75.3063552,"latitude_deg":11.9927872,"altitude":7,"angle":119,"satellites":41,"speed":51,"hex_longitude":"2ce2d680","hex_latitude":"0725f440","is_valid_coordinates":true} 
[2026-09-04 19:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863570688001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398472110646755328,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2111836350813306880,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788529581000,"timestamp_ms":1788529581000,"timestamp_seconds":1788529581,"priority":1,"record_length":96,"hex_timestamp":"000001a06cab9bc8"} 
[2026-09-04 19:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 19:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863570688001,"66":27234,"87":206,"83":43008,"24":51,"16":398472110646755328,"44":-2111836350813306880},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-09-04 19:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863570688001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:18:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-04 19:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398472110646755328,"km_value":398472110646755.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:18:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2111836350813306880,"description":"Unknown IO ID 44"} 
[2026-09-04 19:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863570688001,"power":27234,"unknown_87":206,"unknown_83":43008,"ignition":51,"odometer":null,"unknown_44":-2111836350813306880}} 
[2026-09-04 19:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":171249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:18:36] local.INFO: GPS data processed {"connection_id":171249,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:18:36] local.INFO: Acknowledgment sent {"connection_id":171249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:18:47] local.INFO: TCP Data received {"connection_id":173662,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:18:47] local.INFO: Processing buffer {"connection_id":173662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:18:47] local.INFO: IMEI packet received {"connection_id":173662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":173662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:18:48] local.INFO: TCP Data received {"connection_id":170963,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:18:48] local.INFO: Processing buffer {"connection_id":170963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:18:48] local.INFO: IMEI packet received {"connection_id":170963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":170963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:18:52] local.INFO: TCP Data received {"connection_id":173662,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:18:52] local.INFO: Processing buffer {"connection_id":173662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:18:52] local.INFO: IMEI packet received {"connection_id":173662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":173662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:18:52] local.INFO: TCP Data received {"connection_id":173662,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:18:52] local.INFO: Processing buffer {"connection_id":173662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:18:52] local.INFO: IMEI packet received {"connection_id":173662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":173662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:18:53] local.INFO: TCP Data received {"connection_id":173662,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cabb720012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cabb720012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:18:53] local.INFO: Processing buffer {"connection_id":173662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cabb720012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:18:53] local.INFO: Packet analysis {"connection_id":173662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:18:53] local.INFO: Extracted packet for processing {"connection_id":173662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cab"} 
[2026-09-04 19:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863569152001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788529588000,"timestamp_ms":1788529588000,"timestamp_seconds":1788529588,"priority":1,"record_length":96,"hex_timestamp":"000001a06cabb720"} 
[2026-09-04 19:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 19:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863569152001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863569152001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:18:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863569152001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":173662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:18:53] local.INFO: GPS data processed {"connection_id":173662,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:18:53] local.INFO: Acknowledgment sent {"connection_id":173662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:18:54] local.INFO: TCP Data received {"connection_id":170963,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:18:54] local.INFO: Processing buffer {"connection_id":170963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:18:54] local.INFO: IMEI packet received {"connection_id":170963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":170963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:18:55] local.INFO: TCP Data received {"connection_id":170963,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:18:55] local.INFO: Processing buffer {"connection_id":170963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:18:55] local.INFO: Packet analysis {"connection_id":170963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:18:55] local.INFO: Extracted packet for processing {"connection_id":170963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863503872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788529616000,"timestamp_ms":1788529616000,"timestamp_seconds":1788529616,"priority":1,"record_length":96,"hex_timestamp":"000001a06cac2480"} 
[2026-09-04 19:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 19:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863503872001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863503872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:18:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863503872001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 19:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":170963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764685,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:18:55] local.INFO: GPS data processed {"connection_id":170963,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:18:55] local.INFO: Acknowledgment sent {"connection_id":170963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:19:12] local.INFO: TCP Data received {"connection_id":171250,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:19:12] local.INFO: Processing buffer {"connection_id":171250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:19:12] local.INFO: IMEI packet received {"connection_id":171250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":171250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:19:24] local.INFO: TCP Data received {"connection_id":173662,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cac0928012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cac0928012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:19:24] local.INFO: Processing buffer {"connection_id":173662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cac0928012d1822400721b4a0004c00da2e..."} 
[2026-09-04 19:19:24] local.INFO: Packet analysis {"connection_id":173662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:19:24] local.INFO: Extracted packet for processing {"connection_id":173662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863574528001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788529609000,"timestamp_ms":1788529609000,"timestamp_seconds":1788529609,"priority":1,"record_length":96,"hex_timestamp":"000001a06cac0928"} 
[2026-09-04 19:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863574528001,"66":12341,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863574528001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:19:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863574528001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":173662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:19:24] local.INFO: GPS data processed {"connection_id":173662,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:19:24] local.INFO: Acknowledgment sent {"connection_id":173662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:19:26] local.INFO: TCP Data received {"connection_id":170963,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:19:26] local.INFO: Processing buffer {"connection_id":170963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:19:26] local.INFO: Packet analysis {"connection_id":170963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:19:26] local.INFO: Extracted packet for processing {"connection_id":170963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:19:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863503872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788529616000,"timestamp_ms":1788529616000,"timestamp_seconds":1788529616,"priority":1,"record_length":96,"hex_timestamp":"000001a06cac2480"} 
[2026-09-04 19:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 19:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863503872001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863503872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:19:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:19:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863503872001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 19:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":170963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764687,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:19:27] local.INFO: GPS data processed {"connection_id":170963,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:19:27] local.INFO: Acknowledgment sent {"connection_id":170963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:19:48] local.INFO: TCP Data received {"connection_id":171251,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:19:48] local.INFO: Processing buffer {"connection_id":171251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:19:48] local.INFO: IMEI packet received {"connection_id":171251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":171251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:19:52] local.INFO: TCP Data received {"connection_id":170964,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:19:53] local.INFO: Processing buffer {"connection_id":170964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:19:53] local.INFO: IMEI packet received {"connection_id":170964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":170964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:19:54] local.INFO: TCP Data received {"connection_id":171251,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:19:54] local.INFO: Processing buffer {"connection_id":171251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:19:54] local.INFO: IMEI packet received {"connection_id":171251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":171251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:19:54] local.INFO: TCP Data received {"connection_id":170964,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:19:54] local.INFO: Processing buffer {"connection_id":170964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:19:54] local.INFO: IMEI packet received {"connection_id":170964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":170964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:19:55] local.INFO: TCP Data received {"connection_id":171251,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:19:55] local.INFO: Processing buffer {"connection_id":171251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:19:55] local.INFO: Packet analysis {"connection_id":171251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:19:55] local.INFO: Extracted packet for processing {"connection_id":171251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:19:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863503872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788529616000,"timestamp_ms":1788529616000,"timestamp_seconds":1788529616,"priority":1,"record_length":96,"hex_timestamp":"000001a06cac2480"} 
[2026-09-04 19:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 19:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863503872001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863503872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:19:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863503872001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 19:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":171251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764688,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:19:55] local.INFO: GPS data processed {"connection_id":171251,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:19:55] local.INFO: Acknowledgment sent {"connection_id":171251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:19:55] local.INFO: TCP Data received {"connection_id":170964,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cac5b30012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cac5b30012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:19:55] local.INFO: Processing buffer {"connection_id":170964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cac5b30012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:19:55] local.INFO: Packet analysis {"connection_id":170964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:19:55] local.INFO: Extracted packet for processing {"connection_id":170964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:19:55] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863579904001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788529630000,"timestamp_ms":1788529630000,"timestamp_seconds":1788529630,"priority":1,"record_length":96,"hex_timestamp":"000001a06cac5b30"} 
[2026-09-04 19:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 19:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863579904001,"66":12374,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863579904001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:19:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:19:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863579904001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":170964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:19:56] local.INFO: GPS data processed {"connection_id":170964,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:19:56] local.INFO: Acknowledgment sent {"connection_id":170964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:19:57] local.INFO: TCP Data received {"connection_id":170964,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cacad38012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cacad38012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:19:57] local.INFO: Processing buffer {"connection_id":170964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cacad38012d1822400721b4a0004c00da30..."} 
[2026-09-04 19:19:57] local.INFO: Packet analysis {"connection_id":170964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:19:57] local.INFO: Extracted packet for processing {"connection_id":170964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":48,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863585280001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788529651000,"timestamp_ms":1788529651000,"timestamp_seconds":1788529651,"priority":1,"record_length":96,"hex_timestamp":"000001a06cacad38"} 
[2026-09-04 19:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 19:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":170964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":170964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":170964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863585280001,"66":12374,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863585280001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:19:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863585280001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":170964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:19:58] local.INFO: GPS data processed {"connection_id":170964,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:19:58] local.INFO: Acknowledgment sent {"connection_id":170964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:20:26] local.INFO: TCP Data received {"connection_id":171251,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:20:26] local.INFO: Processing buffer {"connection_id":171251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:20:26] local.INFO: Packet analysis {"connection_id":171251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:20:26] local.INFO: Extracted packet for processing {"connection_id":171251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:20:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863503872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788529616000,"timestamp_ms":1788529616000,"timestamp_seconds":1788529616,"priority":1,"record_length":96,"hex_timestamp":"000001a06cac2480"} 
[2026-09-04 19:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 19:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863503872001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863503872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:20:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:20:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863503872001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 19:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":171251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764691,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:20:27] local.INFO: GPS data processed {"connection_id":171251,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:20:27] local.INFO: Acknowledgment sent {"connection_id":171251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:20:29] local.INFO: TCP Data received {"connection_id":170964,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cacff40012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cacff40012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:20:29] local.INFO: Processing buffer {"connection_id":170964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cacff40012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:20:29] local.INFO: Packet analysis {"connection_id":170964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:20:29] local.INFO: Extracted packet for processing {"connection_id":170964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863590656001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788529672000,"timestamp_ms":1788529672000,"timestamp_seconds":1788529672,"priority":1,"record_length":96,"hex_timestamp":"000001a06cacff40"} 
[2026-09-04 19:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 19:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":170964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":170964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":170964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863590656001,"66":12363,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863590656001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:20:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863590656001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":170964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:20:29] local.INFO: GPS data processed {"connection_id":170964,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:20:29] local.INFO: Acknowledgment sent {"connection_id":170964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:20:47] local.INFO: TCP Data received {"connection_id":171252,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:20:47] local.INFO: Processing buffer {"connection_id":171252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:20:47] local.INFO: IMEI packet received {"connection_id":171252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":171252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:20:48] local.INFO: TCP Data received {"connection_id":170966,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:20:48] local.INFO: Processing buffer {"connection_id":170966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:20:48] local.INFO: IMEI packet received {"connection_id":170966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":170966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:20:52] local.INFO: TCP Data received {"connection_id":171252,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:20:52] local.INFO: Processing buffer {"connection_id":171252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:20:52] local.INFO: IMEI packet received {"connection_id":171252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":171252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:20:53] local.INFO: TCP Data received {"connection_id":171252,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cad5148012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cad5148012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:20:53] local.INFO: Processing buffer {"connection_id":171252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cad5148012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:20:53] local.INFO: Packet analysis {"connection_id":171252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cad"} 
[2026-09-04 19:20:53] local.INFO: Extracted packet for processing {"connection_id":171252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cad"} 
[2026-09-04 19:20:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863596032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788529693000,"timestamp_ms":1788529693000,"timestamp_seconds":1788529693,"priority":1,"record_length":96,"hex_timestamp":"000001a06cad5148"} 
[2026-09-04 19:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 19:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863596032001,"66":12341,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863596032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:20:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:20:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863596032001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":171252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:20:53] local.INFO: GPS data processed {"connection_id":171252,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:20:53] local.INFO: Acknowledgment sent {"connection_id":171252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:20:54] local.INFO: TCP Data received {"connection_id":170966,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:20:54] local.INFO: Processing buffer {"connection_id":170966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:20:54] local.INFO: IMEI packet received {"connection_id":170966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":170966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:20:55] local.INFO: TCP Data received {"connection_id":170966,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:20:55] local.INFO: Processing buffer {"connection_id":170966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:20:55] local.INFO: Packet analysis {"connection_id":170966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:20:55] local.INFO: Extracted packet for processing {"connection_id":170966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:20:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863503872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788529616000,"timestamp_ms":1788529616000,"timestamp_seconds":1788529616,"priority":1,"record_length":96,"hex_timestamp":"000001a06cac2480"} 
[2026-09-04 19:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 19:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863503872001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863503872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:20:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863503872001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 19:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":170966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764694,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:20:55] local.INFO: GPS data processed {"connection_id":170966,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:20:55] local.INFO: Acknowledgment sent {"connection_id":170966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:21:25] local.INFO: TCP Data received {"connection_id":171252,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cada350012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cada350012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:21:25] local.INFO: Processing buffer {"connection_id":171252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cada350012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:21:25] local.INFO: Packet analysis {"connection_id":171252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cad"} 
[2026-09-04 19:21:25] local.INFO: Extracted packet for processing {"connection_id":171252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cad"} 
[2026-09-04 19:21:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863601408001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788529714000,"timestamp_ms":1788529714000,"timestamp_seconds":1788529714,"priority":1,"record_length":96,"hex_timestamp":"000001a06cada350"} 
[2026-09-04 19:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 19:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863601408001,"66":12385,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863601408001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:21:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:21:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863601408001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":171252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:21:25] local.INFO: GPS data processed {"connection_id":171252,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:21:25] local.INFO: Acknowledgment sent {"connection_id":171252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:21:26] local.INFO: TCP Data received {"connection_id":170966,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:21:26] local.INFO: Processing buffer {"connection_id":170966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:21:26] local.INFO: Packet analysis {"connection_id":170966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:21:26] local.INFO: Extracted packet for processing {"connection_id":170966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:21:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863503872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788529616000,"timestamp_ms":1788529616000,"timestamp_seconds":1788529616,"priority":1,"record_length":96,"hex_timestamp":"000001a06cac2480"} 
[2026-09-04 19:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 19:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863503872001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863503872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:21:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:21:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863503872001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 19:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":170966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764696,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:21:27] local.INFO: GPS data processed {"connection_id":170966,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:21:27] local.INFO: Acknowledgment sent {"connection_id":170966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:21:48] local.INFO: TCP Data received {"connection_id":173663,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:21:48] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:21:48] local.INFO: IMEI packet received {"connection_id":173663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":173663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:21:52] local.INFO: TCP Data received {"connection_id":173663,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:21:52] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:21:52] local.INFO: IMEI packet received {"connection_id":173663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":173663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:21:53] local.INFO: TCP Data received {"connection_id":173663,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cadf558012d1822400721b4a0004c00da29..."} 
[2026-09-04 19:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cadf558012d1822400721b4a0004c00da29..."} 
[2026-09-04 19:21:53] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cadf558012d1822400721b4a0004c00da29..."} 
[2026-09-04 19:21:53] local.INFO: Packet analysis {"connection_id":173663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cad"} 
[2026-09-04 19:21:53] local.INFO: Extracted packet for processing {"connection_id":173663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cad"} 
[2026-09-04 19:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863606784001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788529735000,"timestamp_ms":1788529735000,"timestamp_seconds":1788529735,"priority":1,"record_length":96,"hex_timestamp":"000001a06cadf558"} 
[2026-09-04 19:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863606784001,"66":12374,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863606784001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:21:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863606784001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":173663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:21:53] local.INFO: GPS data processed {"connection_id":173663,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:21:53] local.INFO: Acknowledgment sent {"connection_id":173663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:21:54] local.INFO: TCP Data received {"connection_id":170967,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:21:54] local.INFO: Processing buffer {"connection_id":170967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:21:54] local.INFO: IMEI packet received {"connection_id":170967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":170967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:21:59] local.INFO: TCP Data received {"connection_id":170967,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:21:59] local.INFO: Processing buffer {"connection_id":170967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:21:59] local.INFO: IMEI packet received {"connection_id":170967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":170967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:22:00] local.INFO: TCP Data received {"connection_id":170967,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:22:00] local.INFO: Processing buffer {"connection_id":170967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:22:00] local.INFO: Packet analysis {"connection_id":170967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:22:00] local.INFO: Extracted packet for processing {"connection_id":170967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863503872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788529616000,"timestamp_ms":1788529616000,"timestamp_seconds":1788529616,"priority":1,"record_length":96,"hex_timestamp":"000001a06cac2480"} 
[2026-09-04 19:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 19:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863503872001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863503872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:22:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863503872001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 19:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":170967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:22:00] local.INFO: GPS data processed {"connection_id":170967,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:22:00] local.INFO: Acknowledgment sent {"connection_id":170967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:22:04] local.INFO: TCP Data received {"connection_id":170967,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:22:04] local.INFO: Processing buffer {"connection_id":170967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cac2480012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:22:04] local.INFO: Packet analysis {"connection_id":170967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:22:04] local.INFO: Extracted packet for processing {"connection_id":170967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cac"} 
[2026-09-04 19:22:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863503872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788529616000,"timestamp_ms":1788529616000,"timestamp_seconds":1788529616,"priority":1,"record_length":96,"hex_timestamp":"000001a06cac2480"} 
[2026-09-04 19:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-04 19:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863503872001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863503872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:22:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:22:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863503872001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 19:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":170967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764699,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:22:04] local.INFO: GPS data processed {"connection_id":170967,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:22:04] local.INFO: Acknowledgment sent {"connection_id":170967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:22:24] local.INFO: TCP Data received {"connection_id":173663,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cae4760012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cae4760012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:22:24] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cae4760012d1822400721b4a0004c00da2c..."} 
[2026-09-04 19:22:24] local.INFO: Packet analysis {"connection_id":173663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cae"} 
[2026-09-04 19:22:24] local.INFO: Extracted packet for processing {"connection_id":173663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cae"} 
[2026-09-04 19:22:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863612160001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788529756000,"timestamp_ms":1788529756000,"timestamp_seconds":1788529756,"priority":1,"record_length":96,"hex_timestamp":"000001a06cae4760"} 
[2026-09-04 19:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-04 19:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863612160001,"66":12298,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863612160001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:22:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:22:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863612160001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":173663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:22:24] local.INFO: GPS data processed {"connection_id":173663,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:22:24] local.INFO: Acknowledgment sent {"connection_id":173663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:22:47] local.INFO: TCP Data received {"connection_id":172364,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:22:48] local.INFO: Processing buffer {"connection_id":172364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:22:48] local.INFO: IMEI packet received {"connection_id":172364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":172364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:22:49] local.INFO: TCP Data received {"connection_id":172363,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:22:49] local.INFO: Processing buffer {"connection_id":172363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:22:49] local.INFO: IMEI packet received {"connection_id":172363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":172363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:22:53] local.INFO: TCP Data received {"connection_id":172364,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:22:53] local.INFO: Processing buffer {"connection_id":172364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:22:53] local.INFO: IMEI packet received {"connection_id":172364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":172364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:22:53] local.INFO: TCP Data received {"connection_id":172364,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cae9968012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cae9968012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:22:53] local.INFO: Processing buffer {"connection_id":172364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cae9968012d1822400721b4a0004c00da2d..."} 
[2026-09-04 19:22:53] local.INFO: Packet analysis {"connection_id":172364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cae"} 
[2026-09-04 19:22:53] local.INFO: Extracted packet for processing {"connection_id":172364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cae"} 
[2026-09-04 19:22:53] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649440,"longitude_deg":75.6556352,"latitude_deg":11.964944,"altitude":76,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-09-04 19:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863617536001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17393990483574784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492867072,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788529777000,"timestamp_ms":1788529777000,"timestamp_seconds":1788529777,"priority":1,"record_length":96,"hex_timestamp":"000001a06cae9968"} 
[2026-09-04 19:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185661,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":-4755801206503243775,"corrected_to":0} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7830643919513524258,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513890431789695194,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":76,"raw_value":61414321481056256,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244071219406,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2902409217,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3030384716,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 19:22:53] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3418226688,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:53] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,203,160,245,45,64,180,76,41,10,66,163,81,1,240,53,227,108,33,4,113,205,173,34,48,239,2,61,7,46],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":203,"original":-4755801206503243775,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 19:22:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476617029395939328,"timestamp_seconds":5476617029395939.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 19:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863617536001,"66":12374,"105":206,"83":41984,"24":0,"16":17393990483574784,"45":1739022805492867072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863617536001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:22:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:22:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17393990483574784,"km_value":17393990483574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492867072,"description":"Unknown IO ID 45"} 
[2026-09-04 19:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863617536001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492867072}} 
[2026-09-04 19:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":172364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:22:53] local.INFO: GPS data processed {"connection_id":172364,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:22:53] local.INFO: Acknowledgment sent {"connection_id":172364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:22:54] local.INFO: TCP Data received {"connection_id":172363,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:22:54] local.INFO: Processing buffer {"connection_id":172363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:22:54] local.INFO: IMEI packet received {"connection_id":172363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":172363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:22:55] local.INFO: TCP Data received {"connection_id":172363,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:22:55] local.INFO: Processing buffer {"connection_id":172363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:22:55] local.INFO: Packet analysis {"connection_id":172363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:22:55] local.INFO: Extracted packet for processing {"connection_id":172363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:22:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863581696001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788529917000,"timestamp_ms":1788529917000,"timestamp_seconds":1788529917,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb0bc48"} 
[2026-09-04 19:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 19:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863581696001,"66":25908,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863581696001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:22:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:22:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863581696001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":172363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764702,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:22:55] local.INFO: GPS data processed {"connection_id":172363,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:22:55] local.INFO: Acknowledgment sent {"connection_id":172363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:23:25] local.INFO: TCP Data received {"connection_id":172364,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb14118012d181ec00721a958004e00a82d..."} 
[2026-09-04 19:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb14118012d181ec00721a958004e00a82d..."} 
[2026-09-04 19:23:25] local.INFO: Processing buffer {"connection_id":172364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb14118012d181ec00721a958004e00a82d..."} 
[2026-09-04 19:23:25] local.INFO: Packet analysis {"connection_id":172364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb1"} 
[2026-09-04 19:23:25] local.INFO: Extracted packet for processing {"connection_id":172364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb1"} 
[2026-09-04 19:23:25] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646552,"longitude_deg":75.6555456,"latitude_deg":11.9646552,"altitude":78,"angle":168,"satellites":45,"speed":6,"hex_longitude":"2d181ec0","hex_latitude":"0721a958","is_valid_coordinates":true} 
[2026-09-04 19:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863667200001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17394140807430144,"note":"Value kept but may cause issues"} 
[2026-09-04 19:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329501696,"note":"Value kept but may cause issues"} 
[2026-09-04 19:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788529951000,"timestamp_ms":1788529951000,"timestamp_seconds":1788529951,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb14118"} 
[2026-09-04 19:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-04 19:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863667200001,"66":13135,"105":206,"83":41984,"24":6,"16":17394140807430144,"45":1737967274329501696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863667200001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:23:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:23:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17394140807430144,"km_value":17394140807430.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329501696,"description":"Unknown IO ID 45"} 
[2026-09-04 19:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863667200001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737967274329501696}} 
[2026-09-04 19:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":172364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:23:25] local.INFO: GPS data processed {"connection_id":172364,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:23:25] local.INFO: Acknowledgment sent {"connection_id":172364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:23:27] local.INFO: TCP Data received {"connection_id":172363,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:23:27] local.INFO: Processing buffer {"connection_id":172363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:23:27] local.INFO: Packet analysis {"connection_id":172363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:23:27] local.INFO: Extracted packet for processing {"connection_id":172363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:23:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863581696001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788529917000,"timestamp_ms":1788529917000,"timestamp_seconds":1788529917,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb0bc48"} 
[2026-09-04 19:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 19:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863581696001,"66":25908,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863581696001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:23:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:23:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863581696001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":172363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:23:27] local.INFO: GPS data processed {"connection_id":172363,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:23:27] local.INFO: Acknowledgment sent {"connection_id":172363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:23:47] local.INFO: TCP Data received {"connection_id":173664,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:23:47] local.INFO: Processing buffer {"connection_id":173664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:23:47] local.INFO: IMEI packet received {"connection_id":173664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":173664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:23:48] local.INFO: TCP Data received {"connection_id":173665,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:23:48] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:23:48] local.INFO: IMEI packet received {"connection_id":173665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":173665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:23:52] local.INFO: TCP Data received {"connection_id":173664,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:23:52] local.INFO: Processing buffer {"connection_id":173664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:23:52] local.INFO: IMEI packet received {"connection_id":173664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":173664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:23:53] local.INFO: TCP Data received {"connection_id":173664,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb148e8012d181f400721a868004e00962e..."} 
[2026-09-04 19:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb148e8012d181f400721a868004e00962e..."} 
[2026-09-04 19:23:53] local.INFO: Processing buffer {"connection_id":173664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb148e8012d181f400721a868004e00962e..."} 
[2026-09-04 19:23:53] local.INFO: Packet analysis {"connection_id":173664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb1"} 
[2026-09-04 19:23:53] local.INFO: Extracted packet for processing {"connection_id":173664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb1"} 
[2026-09-04 19:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646312,"longitude_deg":75.6555584,"latitude_deg":11.9646312,"altitude":78,"angle":150,"satellites":46,"speed":3,"hex_longitude":"2d181f40","hex_latitude":"0721a868","is_valid_coordinates":true} 
[2026-09-04 19:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863667456001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17394153692332032,"note":"Value kept but may cause issues"} 
[2026-09-04 19:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073640448,"note":"Value kept but may cause issues"} 
[2026-09-04 19:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788529953000,"timestamp_ms":1788529953000,"timestamp_seconds":1788529953,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb148e8"} 
[2026-09-04 19:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-04 19:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863667456001,"66":13156,"105":206,"83":41984,"24":3,"16":17394153692332032,"45":1738037643073640448},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863667456001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:23:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:23:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17394153692332032,"km_value":17394153692332.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073640448,"description":"Unknown IO ID 45"} 
[2026-09-04 19:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863667456001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738037643073640448}} 
[2026-09-04 19:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":173664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:23:53] local.INFO: GPS data processed {"connection_id":173664,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:23:53] local.INFO: Acknowledgment sent {"connection_id":173664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:23:54] local.INFO: TCP Data received {"connection_id":173665,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:23:54] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:23:54] local.INFO: IMEI packet received {"connection_id":173665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":173665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:23:55] local.INFO: TCP Data received {"connection_id":173665,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:23:55] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:23:55] local.INFO: Packet analysis {"connection_id":173665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:23:55] local.INFO: Extracted packet for processing {"connection_id":173665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863581696001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788529917000,"timestamp_ms":1788529917000,"timestamp_seconds":1788529917,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb0bc48"} 
[2026-09-04 19:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 19:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863581696001,"66":25908,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863581696001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:23:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863581696001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":173665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764706,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:23:56] local.INFO: GPS data processed {"connection_id":173665,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:23:56] local.INFO: Acknowledgment sent {"connection_id":173665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:24:25] local.INFO: TCP Data received {"connection_id":173664,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb14cd0012d181f400721a830004f007e2e..."} 
[2026-09-04 19:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb14cd0012d181f400721a830004f007e2e..."} 
[2026-09-04 19:24:25] local.INFO: Processing buffer {"connection_id":173664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb14cd0012d181f400721a830004f007e2e..."} 
[2026-09-04 19:24:25] local.INFO: Packet analysis {"connection_id":173664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb1"} 
[2026-09-04 19:24:25] local.INFO: Extracted packet for processing {"connection_id":173664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb1"} 
[2026-09-04 19:24:25] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646256,"longitude_deg":75.6555584,"latitude_deg":11.9646256,"altitude":79,"angle":126,"satellites":46,"speed":2,"hex_longitude":"2d181f40","hex_latitude":"0721a830","is_valid_coordinates":true} 
[2026-09-04 19:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863667968001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17394153692332032,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561934336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788529954000,"timestamp_ms":1788529954000,"timestamp_seconds":1788529954,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb14cd0"} 
[2026-09-04 19:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-04 19:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863667968001,"66":13472,"105":206,"83":41984,"24":2,"16":17394153692332032,"45":1738178380561934336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863667968001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:24:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:24:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17394153692332032,"km_value":17394153692332.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561934336,"description":"Unknown IO ID 45"} 
[2026-09-04 19:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863667968001,"power":13472,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738178380561934336}} 
[2026-09-04 19:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":173664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:24:25] local.INFO: GPS data processed {"connection_id":173664,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:24:25] local.INFO: Acknowledgment sent {"connection_id":173664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:24:27] local.INFO: TCP Data received {"connection_id":173665,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:24:27] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:24:27] local.INFO: Packet analysis {"connection_id":173665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:24:27] local.INFO: Extracted packet for processing {"connection_id":173665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:24:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863581696001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788529917000,"timestamp_ms":1788529917000,"timestamp_seconds":1788529917,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb0bc48"} 
[2026-09-04 19:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 19:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863581696001,"66":25908,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863581696001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:24:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:24:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863581696001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":173665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:24:27] local.INFO: GPS data processed {"connection_id":173665,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:24:27] local.INFO: Acknowledgment sent {"connection_id":173665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:24:29] local.INFO: TCP Data received {"connection_id":171256,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:24:29] local.INFO: Processing buffer {"connection_id":171256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:24:29] local.INFO: IMEI packet received {"connection_id":171256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":171256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:24:29] local.INFO: TCP Data received {"connection_id":171256,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb125c0012ce53e0007231cd80009008f31..."} 
[2026-09-04 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb125c0012ce53e0007231cd80009008f31..."} 
[2026-09-04 19:24:29] local.INFO: Processing buffer {"connection_id":171256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb125c0012ce53e0007231cd80009008f31..."} 
[2026-09-04 19:24:29] local.INFO: Packet analysis {"connection_id":171256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb1"} 
[2026-09-04 19:24:29] local.INFO: Extracted packet for processing {"connection_id":171256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb1"} 
[2026-09-04 19:24:29] local.INFO: GPS Element Parsed {"raw_longitude":753221120,"raw_latitude":119741656,"longitude_deg":75.322112,"latitude_deg":11.9741656,"altitude":9,"angle":143,"satellites":49,"speed":48,"hex_longitude":"2ce53e00","hex_latitude":"07231cd8","is_valid_coordinates":true} 
[2026-09-04 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863663616001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398483926101786624,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1934577484276525056,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788529944000,"timestamp_ms":1788529944000,"timestamp_seconds":1788529944,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb125c0"} 
[2026-09-04 19:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-09-04 19:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863663616001,"66":27213,"73":206,"83":43008,"24":48,"16":398483926101786624,"44":-1934577484276525056},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-09-04 19:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863663616001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:24:29] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-04 19:24:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398483926101786624,"km_value":398483926101786.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:24:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1934577484276525056,"description":"Unknown IO ID 44"} 
[2026-09-04 19:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863663616001,"power":27213,"unknown_73":206,"unknown_83":43008,"ignition":48,"odometer":null,"unknown_44":-1934577484276525056}} 
[2026-09-04 19:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":171256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:24:29] local.INFO: GPS data processed {"connection_id":171256,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:24:29] local.INFO: Acknowledgment sent {"connection_id":171256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:24:46] local.INFO: TCP Data received {"connection_id":171257,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:24:46] local.INFO: Processing buffer {"connection_id":171257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:24:46] local.INFO: IMEI packet received {"connection_id":171257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":171257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:24:47] local.INFO: TCP Data received {"connection_id":171257,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:24:47] local.INFO: Processing buffer {"connection_id":171257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:24:47] local.INFO: IMEI packet received {"connection_id":171257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":171257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:24:48] local.INFO: TCP Data received {"connection_id":170968,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:24:48] local.INFO: Processing buffer {"connection_id":170968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:24:48] local.INFO: IMEI packet received {"connection_id":170968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":170968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:24:52] local.INFO: TCP Data received {"connection_id":171257,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:24:52] local.INFO: Processing buffer {"connection_id":171257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:24:52] local.INFO: IMEI packet received {"connection_id":171257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":171257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:24:53] local.INFO: TCP Data received {"connection_id":171257,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb19ed8012d181f400721a818004f007e2e..."} 
[2026-09-04 19:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb19ed8012d181f400721a818004f007e2e..."} 
[2026-09-04 19:24:53] local.INFO: Processing buffer {"connection_id":171257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb19ed8012d181f400721a818004f007e2e..."} 
[2026-09-04 19:24:53] local.INFO: Packet analysis {"connection_id":171257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb1"} 
[2026-09-04 19:24:53] local.INFO: Extracted packet for processing {"connection_id":171257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb1"} 
[2026-09-04 19:24:53] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646232,"longitude_deg":75.6555584,"latitude_deg":11.9646232,"altitude":79,"angle":126,"satellites":46,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721a818","is_valid_coordinates":true} 
[2026-09-04 19:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863668224001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17394157987299328,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561920000,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788529975000,"timestamp_ms":1788529975000,"timestamp_seconds":1788529975,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb19ed8"} 
[2026-09-04 19:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-04 19:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863668224001,"66":13580,"105":206,"83":41984,"24":0,"16":17394157987299328,"45":1738178380561920000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863668224001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:24:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:24:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17394157987299328,"km_value":17394157987299.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561920000,"description":"Unknown IO ID 45"} 
[2026-09-04 19:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863668224001,"power":13580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380561920000}} 
[2026-09-04 19:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":171257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:24:53] local.INFO: GPS data processed {"connection_id":171257,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:24:53] local.INFO: Acknowledgment sent {"connection_id":171257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:24:53] local.INFO: TCP Data received {"connection_id":170968,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:24:53] local.INFO: Processing buffer {"connection_id":170968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:24:53] local.INFO: IMEI packet received {"connection_id":170968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":170968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:24:55] local.INFO: TCP Data received {"connection_id":170968,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:24:55] local.INFO: Processing buffer {"connection_id":170968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:24:55] local.INFO: Packet analysis {"connection_id":170968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:24:55] local.INFO: Extracted packet for processing {"connection_id":170968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:24:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863581696001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788529917000,"timestamp_ms":1788529917000,"timestamp_seconds":1788529917,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb0bc48"} 
[2026-09-04 19:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 19:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863581696001,"66":25908,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863581696001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:24:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:24:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863581696001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":170968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764711,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:24:55] local.INFO: GPS data processed {"connection_id":170968,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:24:55] local.INFO: Acknowledgment sent {"connection_id":170968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:25:04] local.INFO: TCP Data received {"connection_id":171258,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:25:04] local.INFO: Processing buffer {"connection_id":171258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:25:04] local.INFO: IMEI packet received {"connection_id":171258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":171258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:25:08] local.INFO: TCP Data received {"connection_id":171258,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:25:08] local.INFO: Processing buffer {"connection_id":171258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:25:08] local.INFO: IMEI packet received {"connection_id":171258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":171258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:25:09] local.INFO: TCP Data received {"connection_id":171258,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb27998012ce631800721d1c0000a008e31..."} 
[2026-09-04 19:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb27998012ce631800721d1c0000a008e31..."} 
[2026-09-04 19:25:09] local.INFO: Processing buffer {"connection_id":171258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb27998012ce631800721d1c0000a008e31..."} 
[2026-09-04 19:25:09] local.INFO: Packet analysis {"connection_id":171258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:25:09] local.INFO: Extracted packet for processing {"connection_id":171258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:25:09] local.INFO: GPS Element Parsed {"raw_longitude":753283456,"raw_latitude":119656896,"longitude_deg":75.3283456,"latitude_deg":11.9656896,"altitude":10,"angle":142,"satellites":49,"speed":45,"hex_longitude":"2ce63180","hex_latitude":"0721d1c0","is_valid_coordinates":true} 
[2026-09-04 19:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863685888001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398489011343065088,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1865123533794820096,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788530031000,"timestamp_ms":1788530031000,"timestamp_seconds":1788530031,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb27998"} 
[2026-09-04 19:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 19:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863685888001,"66":26452,"157":206,"83":43008,"24":45,"16":398489011343065088,"44":-1865123533794820096},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-09-04 19:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863685888001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:25:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-04 19:25:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398489011343065088,"km_value":398489011343065.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:25:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1865123533794820096,"description":"Unknown IO ID 44"} 
[2026-09-04 19:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863685888001,"power":26452,"unknown_157":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1865123533794820096}} 
[2026-09-04 19:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":171258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:25:09] local.INFO: GPS data processed {"connection_id":171258,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:25:09] local.INFO: Acknowledgment sent {"connection_id":171258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:25:12] local.INFO: TCP Data received {"connection_id":171258,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb27998012ce631800721d1c0000a008e31..."} 
[2026-09-04 19:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb27998012ce631800721d1c0000a008e31..."} 
[2026-09-04 19:25:12] local.INFO: Processing buffer {"connection_id":171258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb27998012ce631800721d1c0000a008e31..."} 
[2026-09-04 19:25:12] local.INFO: Packet analysis {"connection_id":171258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:25:12] local.INFO: Extracted packet for processing {"connection_id":171258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:25:12] local.INFO: GPS Element Parsed {"raw_longitude":753283456,"raw_latitude":119656896,"longitude_deg":75.3283456,"latitude_deg":11.9656896,"altitude":10,"angle":142,"satellites":49,"speed":45,"hex_longitude":"2ce63180","hex_latitude":"0721d1c0","is_valid_coordinates":true} 
[2026-09-04 19:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863687936001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398489011343065088,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1859564403006783488,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788530031000,"timestamp_ms":1788530031000,"timestamp_seconds":1788530031,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb27998"} 
[2026-09-04 19:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 19:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863687936001,"66":26452,"157":206,"83":43008,"24":45,"16":398489011343065088,"44":-1859564403006783488},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-09-04 19:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863687936001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:25:12] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-04 19:25:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398489011343065088,"km_value":398489011343065.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1859564403006783488,"description":"Unknown IO ID 44"} 
[2026-09-04 19:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863687936001,"power":26452,"unknown_157":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1859564403006783488}} 
[2026-09-04 19:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":171258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:25:12] local.INFO: GPS data processed {"connection_id":171258,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:25:12] local.INFO: Acknowledgment sent {"connection_id":171258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:25:24] local.INFO: TCP Data received {"connection_id":171257,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb1f0e0012d181f400721a818004f007e2d..."} 
[2026-09-04 19:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb1f0e0012d181f400721a818004f007e2d..."} 
[2026-09-04 19:25:24] local.INFO: Processing buffer {"connection_id":171257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb1f0e0012d181f400721a818004f007e2d..."} 
[2026-09-04 19:25:24] local.INFO: Packet analysis {"connection_id":171257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb1"} 
[2026-09-04 19:25:24] local.INFO: Extracted packet for processing {"connection_id":171257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb1"} 
[2026-09-04 19:25:24] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646232,"longitude_deg":75.6555584,"latitude_deg":11.9646232,"altitude":79,"angle":126,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721a818","is_valid_coordinates":true} 
[2026-09-04 19:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863673600001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17394157987299328,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561913856,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788529996000,"timestamp_ms":1788529996000,"timestamp_seconds":1788529996,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb1f0e0"} 
[2026-09-04 19:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751529419,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2431951640104271949,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3774873600,"corrected_to":0} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2973577217,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2851078222,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18631658337823337,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951021,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040106,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3419668480,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-5980554448236130733,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:24] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,203,160,76,45,64,168,79,46,10,66,72,78,65,192,1,240,227,108,33,4,113,205,6,31,112,47,239,51,2,61,7,77,48,164],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":203,"original":3774873600,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 19:25:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692688665029902336,"timestamp_seconds":5692688665029902.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 19:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863673600001,"66":13624,"105":206,"83":41984,"24":0,"16":17394157987299328,"45":1738178380561913856},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863673600001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:25:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:25:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17394157987299328,"km_value":17394157987299.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561913856,"description":"Unknown IO ID 45"} 
[2026-09-04 19:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863673600001,"power":13624,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380561913856}} 
[2026-09-04 19:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":171257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:25:25] local.INFO: GPS data processed {"connection_id":171257,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:25:25] local.INFO: Acknowledgment sent {"connection_id":171257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:25:26] local.INFO: TCP Data received {"connection_id":170968,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:25:26] local.INFO: Processing buffer {"connection_id":170968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:25:26] local.INFO: Packet analysis {"connection_id":170968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:25:26] local.INFO: Extracted packet for processing {"connection_id":170968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:25:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863581696001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788529917000,"timestamp_ms":1788529917000,"timestamp_seconds":1788529917,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb0bc48"} 
[2026-09-04 19:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 19:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863581696001,"66":25908,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863581696001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:25:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:25:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863581696001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":170968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:25:27] local.INFO: GPS data processed {"connection_id":170968,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:25:27] local.INFO: Acknowledgment sent {"connection_id":170968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:25:43] local.INFO: TCP Data received {"connection_id":171258,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb298d8012ce648800721b470000b008b32..."} 
[2026-09-04 19:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb298d8012ce648800721b470000b008b32..."} 
[2026-09-04 19:25:43] local.INFO: Processing buffer {"connection_id":171258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb298d8012ce648800721b470000b008b32..."} 
[2026-09-04 19:25:43] local.INFO: Packet analysis {"connection_id":171258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:25:43] local.INFO: Extracted packet for processing {"connection_id":171258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:25:43] local.INFO: GPS Element Parsed {"raw_longitude":753289344,"raw_latitude":119649392,"longitude_deg":75.3289344,"latitude_deg":11.9649392,"altitude":11,"angle":139,"satellites":50,"speed":47,"hex_longitude":"2ce64880","hex_latitude":"0721b470","is_valid_coordinates":true} 
[2026-09-04 19:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863687936001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398489470904565760,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1859564403006783488,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788530039000,"timestamp_ms":1788530039000,"timestamp_seconds":1788530039,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb298d8"} 
[2026-09-04 19:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 19:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863687936001,"66":27321,"157":206,"83":43008,"24":47,"16":398489470904565760,"44":-1859564403006783488},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-09-04 19:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863687936001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:25:43] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-04 19:25:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398489470904565760,"km_value":398489470904565.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1859564403006783488,"description":"Unknown IO ID 44"} 
[2026-09-04 19:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863687936001,"power":27321,"unknown_157":206,"unknown_83":43008,"ignition":47,"odometer":null,"unknown_44":-1859564403006783488}} 
[2026-09-04 19:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":171258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:25:43] local.INFO: GPS data processed {"connection_id":171258,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:25:43] local.INFO: Acknowledgment sent {"connection_id":171258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:25:47] local.INFO: TCP Data received {"connection_id":170969,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:25:47] local.INFO: Processing buffer {"connection_id":170969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:25:47] local.INFO: IMEI packet received {"connection_id":170969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":170969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:25:49] local.INFO: TCP Data received {"connection_id":170969,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:25:49] local.INFO: Processing buffer {"connection_id":170969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:25:49] local.INFO: IMEI packet received {"connection_id":170969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":170969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:25:52] local.INFO: TCP Data received {"connection_id":170969,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:25:52] local.INFO: Processing buffer {"connection_id":170969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:25:52] local.INFO: IMEI packet received {"connection_id":170969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":170969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:25:53] local.INFO: TCP Data received {"connection_id":170969,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb20468012d1820400721a6b8004d008b2b..."} 
[2026-09-04 19:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb20468012d1820400721a6b8004d008b2b..."} 
[2026-09-04 19:25:53] local.INFO: Processing buffer {"connection_id":170969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb20468012d1820400721a6b8004d008b2b..."} 
[2026-09-04 19:25:53] local.INFO: Packet analysis {"connection_id":170969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:25:53] local.INFO: Extracted packet for processing {"connection_id":170969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645880,"longitude_deg":75.655584,"latitude_deg":11.964588,"altitude":77,"angle":139,"satellites":43,"speed":4,"hex_longitude":"2d182040","hex_latitude":"0721a6b8","is_valid_coordinates":true} 
[2026-09-04 19:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863678976001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17394179462135808,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561913856,"note":"Value kept but may cause issues"} 
[2026-09-04 19:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788530001000,"timestamp_ms":1788530001000,"timestamp_seconds":1788530001,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb20468"} 
[2026-09-04 19:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-04 19:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863678976001,"66":13689,"105":206,"83":41984,"24":4,"16":17394179462135808,"45":1738178380561913856},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863678976001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:25:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:25:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17394179462135808,"km_value":17394179462135.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561913856,"description":"Unknown IO ID 45"} 
[2026-09-04 19:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863678976001,"power":13689,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1738178380561913856}} 
[2026-09-04 19:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":170969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:25:53] local.INFO: GPS data processed {"connection_id":170969,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:25:53] local.INFO: Acknowledgment sent {"connection_id":170969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:25:53] local.INFO: TCP Data received {"connection_id":171259,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:25:53] local.INFO: Processing buffer {"connection_id":171259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:25:53] local.INFO: IMEI packet received {"connection_id":171259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":171259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:25:58] local.INFO: TCP Data received {"connection_id":171259,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:25:58] local.INFO: Processing buffer {"connection_id":171259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:25:58] local.INFO: IMEI packet received {"connection_id":171259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":171259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:26:00] local.INFO: TCP Data received {"connection_id":171259,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:26:00] local.INFO: Processing buffer {"connection_id":171259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:26:00] local.INFO: Packet analysis {"connection_id":171259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:26:00] local.INFO: Extracted packet for processing {"connection_id":171259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:26:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863581696001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788529917000,"timestamp_ms":1788529917000,"timestamp_seconds":1788529917,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb0bc48"} 
[2026-09-04 19:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 19:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863581696001,"66":25908,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863581696001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:26:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863581696001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":171259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:26:01] local.INFO: GPS data processed {"connection_id":171259,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:26:01] local.INFO: Acknowledgment sent {"connection_id":171259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:26:03] local.INFO: TCP Data received {"connection_id":170970,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:26:03] local.INFO: Processing buffer {"connection_id":170970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:26:03] local.INFO: IMEI packet received {"connection_id":170970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":170970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:26:05] local.INFO: TCP Data received {"connection_id":171259,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:26:05] local.INFO: Processing buffer {"connection_id":171259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:26:05] local.INFO: Packet analysis {"connection_id":171259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:26:05] local.INFO: Extracted packet for processing {"connection_id":171259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863581696001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788529917000,"timestamp_ms":1788529917000,"timestamp_seconds":1788529917,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb0bc48"} 
[2026-09-04 19:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 19:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863581696001,"66":25908,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863581696001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:26:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:26:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863581696001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":171259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:26:05] local.INFO: GPS data processed {"connection_id":171259,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:26:05] local.INFO: Acknowledgment sent {"connection_id":171259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:26:06] local.INFO: TCP Data received {"connection_id":170970,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:26:06] local.INFO: Processing buffer {"connection_id":170970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:26:06] local.INFO: IMEI packet received {"connection_id":170970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":170970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:26:09] local.INFO: TCP Data received {"connection_id":170970,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:26:09] local.INFO: Processing buffer {"connection_id":170970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:26:09] local.INFO: IMEI packet received {"connection_id":170970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":170970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:26:09] local.INFO: TCP Data received {"connection_id":170970,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb2b818012ce65ec007219728000b009132..."} 
[2026-09-04 19:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb2b818012ce65ec007219728000b009132..."} 
[2026-09-04 19:26:09] local.INFO: Processing buffer {"connection_id":170970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb2b818012ce65ec007219728000b009132..."} 
[2026-09-04 19:26:09] local.INFO: Packet analysis {"connection_id":170970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:26:09] local.INFO: Extracted packet for processing {"connection_id":170970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:26:09] local.INFO: GPS Element Parsed {"raw_longitude":753295040,"raw_latitude":119641896,"longitude_deg":75.329504,"latitude_deg":11.9641896,"altitude":11,"angle":145,"satellites":50,"speed":44,"hex_longitude":"2ce65ec0","hex_latitude":"07219728","is_valid_coordinates":true} 
[2026-09-04 19:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863689984001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398489921876131840,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1853090478544359424,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788530047000,"timestamp_ms":1788530047000,"timestamp_seconds":1788530047,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb2b818"} 
[2026-09-04 19:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 19:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863689984001,"66":27310,"155":206,"83":43008,"24":44,"16":398489921876131840,"44":-1853090478544359424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,44]} 
[2026-09-04 19:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863689984001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:26:09] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-04 19:26:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398489921876131840,"km_value":398489921876131.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:26:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1853090478544359424,"description":"Unknown IO ID 44"} 
[2026-09-04 19:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863689984001,"power":27310,"unknown_155":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1853090478544359424}} 
[2026-09-04 19:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":170970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:26:09] local.INFO: GPS data processed {"connection_id":170970,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:26:09] local.INFO: Acknowledgment sent {"connection_id":170970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:26:24] local.INFO: TCP Data received {"connection_id":170969,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb21408012d1822400721a4a0004d007d2b..."} 
[2026-09-04 19:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb21408012d1822400721a4a0004d007d2b..."} 
[2026-09-04 19:26:24] local.INFO: Processing buffer {"connection_id":170969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb21408012d1822400721a4a0004d007d2b..."} 
[2026-09-04 19:26:24] local.INFO: Packet analysis {"connection_id":170969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:26:24] local.INFO: Extracted packet for processing {"connection_id":170969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:26:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119645344,"longitude_deg":75.6556352,"latitude_deg":11.9645344,"altitude":77,"angle":125,"satellites":43,"speed":10,"hex_longitude":"2d182240","hex_latitude":"0721a4a0","is_valid_coordinates":true} 
[2026-09-04 19:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863680256001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17394213821874176,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538534400,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788530005000,"timestamp_ms":1788530005000,"timestamp_seconds":1788530005,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb21408"} 
[2026-09-04 19:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-04 19:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863680256001,"66":13863,"105":206,"83":41984,"24":10,"16":17394213821874176,"45":1738459855538534400},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863680256001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:26:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:26:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17394213821874176,"km_value":17394213821874.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538534400,"description":"Unknown IO ID 45"} 
[2026-09-04 19:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863680256001,"power":13863,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1738459855538534400}} 
[2026-09-04 19:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":170969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:26:24] local.INFO: GPS data processed {"connection_id":170969,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:26:24] local.INFO: Acknowledgment sent {"connection_id":170969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:26:40] local.INFO: TCP Data received {"connection_id":170970,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb2db40012ce67500072178e0000b009033..."} 
[2026-09-04 19:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb2db40012ce67500072178e0000b009033..."} 
[2026-09-04 19:26:40] local.INFO: Processing buffer {"connection_id":170970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb2db40012ce67500072178e0000b009033..."} 
[2026-09-04 19:26:40] local.INFO: Packet analysis {"connection_id":170970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:26:40] local.INFO: Extracted packet for processing {"connection_id":170970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:26:40] local.INFO: GPS Element Parsed {"raw_longitude":753300736,"raw_latitude":119634144,"longitude_deg":75.3300736,"latitude_deg":11.9634144,"altitude":11,"angle":144,"satellites":51,"speed":31,"hex_longitude":"2ce67500","hex_latitude":"072178e0","is_valid_coordinates":true} 
[2026-09-04 19:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863692032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398490385732599808,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1846827660314466304,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788530056000,"timestamp_ms":1788530056000,"timestamp_seconds":1788530056,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb2db40"} 
[2026-09-04 19:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 19:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863692032001,"66":27321,"155":206,"83":43008,"24":31,"16":398490385732599808,"44":-1846827660314466304},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,44]} 
[2026-09-04 19:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863692032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:26:40] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-04 19:26:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398490385732599808,"km_value":398490385732599.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:26:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1846827660314466304,"description":"Unknown IO ID 44"} 
[2026-09-04 19:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863692032001,"power":27321,"unknown_155":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1846827660314466304}} 
[2026-09-04 19:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":170970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:26:40] local.INFO: GPS data processed {"connection_id":170970,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:26:40] local.INFO: Acknowledgment sent {"connection_id":170970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:26:47] local.INFO: TCP Data received {"connection_id":170971,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:26:47] local.INFO: Processing buffer {"connection_id":170971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:26:47] local.INFO: IMEI packet received {"connection_id":170971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":170971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:26:48] local.INFO: TCP Data received {"connection_id":173666,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:26:48] local.INFO: Processing buffer {"connection_id":173666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:26:48] local.INFO: IMEI packet received {"connection_id":173666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":173666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:26:53] local.INFO: TCP Data received {"connection_id":170971,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:26:53] local.INFO: Processing buffer {"connection_id":170971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:26:53] local.INFO: IMEI packet received {"connection_id":170971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":170971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:26:54] local.INFO: TCP Data received {"connection_id":173666,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:26:54] local.INFO: Processing buffer {"connection_id":173666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:26:54] local.INFO: IMEI packet received {"connection_id":173666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":173666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:26:54] local.INFO: TCP Data received {"connection_id":170971,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb25288012d182ec0072199a0004d007028..."} 
[2026-09-04 19:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb25288012d182ec0072199a0004d007028..."} 
[2026-09-04 19:26:54] local.INFO: Processing buffer {"connection_id":170971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb25288012d182ec0072199a0004d007028..."} 
[2026-09-04 19:26:54] local.INFO: Packet analysis {"connection_id":170971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:26:54] local.INFO: Extracted packet for processing {"connection_id":170971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:26:54] local.INFO: GPS Element Parsed {"raw_longitude":756559552,"raw_latitude":119642528,"longitude_deg":75.6559552,"latitude_deg":11.9642528,"altitude":77,"angle":112,"satellites":40,"speed":9,"hex_longitude":"2d182ec0","hex_latitude":"072199a0","is_valid_coordinates":true} 
[2026-09-04 19:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863681280001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17394419980304384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805491818496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788530021000,"timestamp_ms":1788530021000,"timestamp_seconds":1788530021,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb25288"} 
[2026-09-04 19:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-04 19:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863681280001,"66":13319,"105":206,"83":41984,"24":9,"16":17394419980304384,"45":1739022805491818496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863681280001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:26:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:26:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17394419980304384,"km_value":17394419980304.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805491818496,"description":"Unknown IO ID 45"} 
[2026-09-04 19:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863681280001,"power":13319,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1739022805491818496}} 
[2026-09-04 19:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":170971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:26:54] local.INFO: GPS data processed {"connection_id":170971,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:26:54] local.INFO: Acknowledgment sent {"connection_id":170971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:26:55] local.INFO: TCP Data received {"connection_id":173666,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:26:55] local.INFO: Processing buffer {"connection_id":173666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:26:55] local.INFO: Packet analysis {"connection_id":173666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:26:55] local.INFO: Extracted packet for processing {"connection_id":173666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:26:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863581696001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788529917000,"timestamp_ms":1788529917000,"timestamp_seconds":1788529917,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb0bc48"} 
[2026-09-04 19:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 19:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863581696001,"66":25908,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863581696001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:26:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:26:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863581696001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":173666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764724,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:26:55] local.INFO: GPS data processed {"connection_id":173666,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:26:55] local.INFO: Acknowledgment sent {"connection_id":173666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:26:58] local.INFO: TCP Data received {"connection_id":172365,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:26:58] local.INFO: Processing buffer {"connection_id":172365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:26:58] local.INFO: IMEI packet received {"connection_id":172365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":172365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:27:04] local.INFO: TCP Data received {"connection_id":172365,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:27:04] local.INFO: Processing buffer {"connection_id":172365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:27:04] local.INFO: IMEI packet received {"connection_id":172365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":172365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:27:08] local.INFO: TCP Data received {"connection_id":172365,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb47568012ce74d4007203538000700a431..."} 
[2026-09-04 19:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb47568012ce74d4007203538000700a431..."} 
[2026-09-04 19:27:08] local.INFO: Processing buffer {"connection_id":172365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb47568012ce74d4007203538000700a431..."} 
[2026-09-04 19:27:08] local.INFO: Packet analysis {"connection_id":172365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb4"} 
[2026-09-04 19:27:08] local.INFO: Extracted packet for processing {"connection_id":172365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb4"} 
[2026-09-04 19:27:08] local.INFO: GPS Element Parsed {"raw_longitude":753356096,"raw_latitude":119551288,"longitude_deg":75.3356096,"latitude_deg":11.9551288,"altitude":7,"angle":164,"satellites":49,"speed":43,"hex_longitude":"2ce74d40","hex_latitude":"07203538","is_valid_coordinates":true} 
[2026-09-04 19:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863718912001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398495208980873216,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1783495790575450112,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788530161000,"timestamp_ms":1788530161000,"timestamp_seconds":1788530161,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb47568"} 
[2026-09-04 19:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 19:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863718912001,"66":27365,"145":206,"83":43008,"24":43,"16":398495208980873216,"44":-1783495790575450112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-04 19:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863718912001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:27:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-04 19:27:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398495208980873216,"km_value":398495208980873.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:27:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1783495790575450112,"description":"Unknown IO ID 44"} 
[2026-09-04 19:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863718912001,"power":27365,"unknown_145":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1783495790575450112}} 
[2026-09-04 19:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":172365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:27:08] local.INFO: GPS data processed {"connection_id":172365,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:27:08] local.INFO: Acknowledgment sent {"connection_id":172365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:27:25] local.INFO: TCP Data received {"connection_id":170971,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb269f8012d18314007219848004d006127..."} 
[2026-09-04 19:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb269f8012d18314007219848004d006127..."} 
[2026-09-04 19:27:25] local.INFO: Processing buffer {"connection_id":170971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb269f8012d18314007219848004d006127..."} 
[2026-09-04 19:27:25] local.INFO: Packet analysis {"connection_id":170971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:27:25] local.INFO: Extracted packet for processing {"connection_id":170971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb2"} 
[2026-09-04 19:27:25] local.INFO: GPS Element Parsed {"raw_longitude":756560192,"raw_latitude":119642184,"longitude_deg":75.6560192,"latitude_deg":11.9642184,"altitude":77,"angle":97,"satellites":39,"speed":5,"hex_longitude":"2d183140","hex_latitude":"07219848","is_valid_coordinates":true} 
[2026-09-04 19:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863685376001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17394454340042752,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742541242699980800,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788530027000,"timestamp_ms":1788530027000,"timestamp_seconds":1788530027,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb269f8"} 
[2026-09-04 19:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-04 19:27:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:25] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3841982464,"corrected_to":0} 
[2026-09-04 19:27:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:25] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2979977217,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-6244240548330722048,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-04 19:27:25] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:25] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407146,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:25] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3420717056,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:25] local.WARNING: Large IO value detected {"io_id":100,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:25] local.WARNING: Large IO value detected {"io_id":177,"raw_value":4690500305096196103,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:25] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,204,160,20,45,64,164,77,43,10,66,203,4,166,240,1,56,227,108,33,113,205,76,31,48,46,239,52,2,61,7,78,3,100,177],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":203,"original":3841982464,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-04 19:27:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548558058022043648,"timestamp_seconds":5548558058022044.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 19:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863685376001,"66":13254,"105":206,"83":41984,"24":5,"16":17394454340042752,"45":1742541242699980800},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-04 19:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863685376001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:27:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:27:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17394454340042752,"km_value":17394454340042.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742541242699980800,"description":"Unknown IO ID 45"} 
[2026-09-04 19:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863685376001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1742541242699980800}} 
[2026-09-04 19:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":170971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:27:25] local.INFO: GPS data processed {"connection_id":170971,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:27:25] local.INFO: Acknowledgment sent {"connection_id":170971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:27:27] local.INFO: TCP Data received {"connection_id":173666,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:27:27] local.INFO: Processing buffer {"connection_id":173666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb0bc48012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:27:27] local.INFO: Packet analysis {"connection_id":173666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:27:27] local.INFO: Extracted packet for processing {"connection_id":173666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb0"} 
[2026-09-04 19:27:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863581696001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788529917000,"timestamp_ms":1788529917000,"timestamp_seconds":1788529917,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb0bc48"} 
[2026-09-04 19:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 19:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863581696001,"66":25908,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863581696001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:27:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:27:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863581696001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":173666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764727,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:27:27] local.INFO: GPS data processed {"connection_id":173666,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:27:27] local.INFO: Acknowledgment sent {"connection_id":173666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:27:39] local.INFO: TCP Data received {"connection_id":172365,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb494a8012ce75800072013a00007009d30..."} 
[2026-09-04 19:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb494a8012ce75800072013a00007009d30..."} 
[2026-09-04 19:27:39] local.INFO: Processing buffer {"connection_id":172365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb494a8012ce75800072013a00007009d30..."} 
[2026-09-04 19:27:39] local.INFO: Packet analysis {"connection_id":172365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb4"} 
[2026-09-04 19:27:39] local.INFO: Extracted packet for processing {"connection_id":172365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb4"} 
[2026-09-04 19:27:39] local.INFO: GPS Element Parsed {"raw_longitude":753358848,"raw_latitude":119542688,"longitude_deg":75.3358848,"latitude_deg":11.9542688,"altitude":7,"angle":157,"satellites":48,"speed":44,"hex_longitude":"2ce75800","hex_latitude":"072013a0","is_valid_coordinates":true} 
[2026-09-04 19:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863721216001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398495647067537408,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1779695878392170496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788530169000,"timestamp_ms":1788530169000,"timestamp_seconds":1788530169,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb494a8"} 
[2026-09-04 19:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 19:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863721216001,"66":27463,"145":206,"83":43008,"24":44,"16":398495647067537408,"44":-1779695878392170496},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-04 19:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863721216001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:27:39] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-04 19:27:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398495647067537408,"km_value":398495647067537.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:27:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1779695878392170496,"description":"Unknown IO ID 44"} 
[2026-09-04 19:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863721216001,"power":27463,"unknown_145":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1779695878392170496}} 
[2026-09-04 19:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":172365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:27:39] local.INFO: GPS data processed {"connection_id":172365,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:27:39] local.INFO: Acknowledgment sent {"connection_id":172365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:27:48] local.INFO: TCP Data received {"connection_id":171260,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:27:48] local.INFO: Processing buffer {"connection_id":171260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:27:48] local.INFO: IMEI packet received {"connection_id":171260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":171260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:27:53] local.INFO: TCP Data received {"connection_id":171261,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:27:53] local.INFO: Processing buffer {"connection_id":171261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:27:53] local.INFO: IMEI packet received {"connection_id":171261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":171261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:27:54] local.INFO: TCP Data received {"connection_id":171260,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:27:54] local.INFO: Processing buffer {"connection_id":171260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:27:54] local.INFO: IMEI packet received {"connection_id":171260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":171260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:27:55] local.INFO: TCP Data received {"connection_id":171260,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:27:55] local.INFO: Processing buffer {"connection_id":171260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:27:55] local.INFO: Packet analysis {"connection_id":171260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:27:55] local.INFO: Extracted packet for processing {"connection_id":171260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:27:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863658752001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788530218000,"timestamp_ms":1788530218000,"timestamp_seconds":1788530218,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb55410"} 
[2026-09-04 19:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 19:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863658752001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863658752001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:27:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:27:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863658752001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":171260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764729,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:27:55] local.INFO: GPS data processed {"connection_id":171260,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:27:55] local.INFO: Acknowledgment sent {"connection_id":171260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:27:57] local.INFO: TCP Data received {"connection_id":171261,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:27:57] local.INFO: Processing buffer {"connection_id":171261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:27:57] local.INFO: IMEI packet received {"connection_id":171261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":171261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:27:58] local.INFO: TCP Data received {"connection_id":170972,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:27:58] local.INFO: Processing buffer {"connection_id":170972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:27:58] local.INFO: IMEI packet received {"connection_id":170972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":170972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:27:58] local.INFO: TCP Data received {"connection_id":171261,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb51590012d18648007218328005000682b..."} 
[2026-09-04 19:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb51590012d18648007218328005000682b..."} 
[2026-09-04 19:27:58] local.INFO: Processing buffer {"connection_id":171261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb51590012d18648007218328005000682b..."} 
[2026-09-04 19:27:58] local.INFO: Packet analysis {"connection_id":171261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:27:58] local.INFO: Extracted packet for processing {"connection_id":171261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:27:58] local.INFO: GPS Element Parsed {"raw_longitude":756573312,"raw_latitude":119636776,"longitude_deg":75.6573312,"latitude_deg":11.9636776,"altitude":80,"angle":104,"satellites":43,"speed":30,"hex_longitude":"2d186480","hex_latitude":"07218328","is_valid_coordinates":true} 
[2026-09-04 19:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863728384001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17395137239842816,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748522585954516992,"note":"Value kept but may cause issues"} 
[2026-09-04 19:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788530202000,"timestamp_ms":1788530202000,"timestamp_seconds":1788530202,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb51590"} 
[2026-09-04 19:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 19:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863728384001,"66":13504,"106":206,"83":41984,"24":30,"16":17395137239842816,"45":1748522585954516992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-04 19:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863728384001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:27:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17395137239842816,"km_value":17395137239842.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748522585954516992,"description":"Unknown IO ID 45"} 
[2026-09-04 19:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863728384001,"power":13504,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1748522585954516992}} 
[2026-09-04 19:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":171261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:27:59] local.INFO: GPS data processed {"connection_id":171261,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:27:59] local.INFO: Acknowledgment sent {"connection_id":171261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:28:00] local.INFO: TCP Data received {"connection_id":171261,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb52530012d18700007218198004f00552a..."} 
[2026-09-04 19:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb52530012d18700007218198004f00552a..."} 
[2026-09-04 19:28:00] local.INFO: Processing buffer {"connection_id":171261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb52530012d18700007218198004f00552a..."} 
[2026-09-04 19:28:00] local.INFO: Packet analysis {"connection_id":171261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:28:00] local.INFO: Extracted packet for processing {"connection_id":171261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:28:00] local.INFO: GPS Element Parsed {"raw_longitude":756576256,"raw_latitude":119636376,"longitude_deg":75.6576256,"latitude_deg":11.9636376,"altitude":79,"angle":85,"satellites":42,"speed":27,"hex_longitude":"2d187000","hex_latitude":"07218198","is_valid_coordinates":true} 
[2026-09-04 19:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863731712001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17395274678796288,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757670522696706048,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788530206000,"timestamp_ms":1788530206000,"timestamp_seconds":1788530206,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb52530"} 
[2026-09-04 19:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-04 19:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863731712001,"66":13537,"106":206,"83":41984,"24":27,"16":17395274678796288,"45":1757670522696706048},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-04 19:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863731712001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:28:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:28:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17395274678796288,"km_value":17395274678796.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757670522696706048,"description":"Unknown IO ID 45"} 
[2026-09-04 19:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863731712001,"power":13537,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1757670522696706048}} 
[2026-09-04 19:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":171261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:28:00] local.INFO: GPS data processed {"connection_id":171261,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:28:00] local.INFO: Acknowledgment sent {"connection_id":171261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:28:04] local.INFO: TCP Data received {"connection_id":170972,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:28:04] local.INFO: Processing buffer {"connection_id":170972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:28:04] local.INFO: IMEI packet received {"connection_id":170972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":170972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:28:04] local.INFO: TCP Data received {"connection_id":170972,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb4bbb8012ce76900071ff2c00006009430..."} 
[2026-09-04 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb4bbb8012ce76900071ff2c00006009430..."} 
[2026-09-04 19:28:04] local.INFO: Processing buffer {"connection_id":170972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb4bbb8012ce76900071ff2c00006009430..."} 
[2026-09-04 19:28:04] local.INFO: Packet analysis {"connection_id":170972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb4"} 
[2026-09-04 19:28:04] local.INFO: Extracted packet for processing {"connection_id":170972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb4"} 
[2026-09-04 19:28:04] local.INFO: GPS Element Parsed {"raw_longitude":753363200,"raw_latitude":119534272,"longitude_deg":75.33632,"latitude_deg":11.9534272,"altitude":6,"angle":148,"satellites":48,"speed":30,"hex_longitude":"2ce76900","hex_latitude":"071ff2c0","is_valid_coordinates":true} 
[2026-09-04 19:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863723264001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398496102334070784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1776670022394732544,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788530179000,"timestamp_ms":1788530179000,"timestamp_seconds":1788530179,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb4bbb8"} 
[2026-09-04 19:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 19:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863723264001,"66":27365,"145":206,"83":43008,"24":30,"16":398496102334070784,"44":-1776670022394732544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-04 19:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863723264001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:28:04] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-04 19:28:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398496102334070784,"km_value":398496102334070.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:28:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1776670022394732544,"description":"Unknown IO ID 44"} 
[2026-09-04 19:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863723264001,"power":27365,"unknown_145":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-1776670022394732544}} 
[2026-09-04 19:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":170972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:28:04] local.INFO: GPS data processed {"connection_id":170972,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:28:04] local.INFO: Acknowledgment sent {"connection_id":170972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:28:27] local.INFO: TCP Data received {"connection_id":171260,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:28:27] local.INFO: Processing buffer {"connection_id":171260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:28:27] local.INFO: Packet analysis {"connection_id":171260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:28:27] local.INFO: Extracted packet for processing {"connection_id":171260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:28:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863658752001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788530218000,"timestamp_ms":1788530218000,"timestamp_seconds":1788530218,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb55410"} 
[2026-09-04 19:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 19:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863658752001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863658752001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:28:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:28:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863658752001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":171260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764733,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:28:27] local.INFO: GPS data processed {"connection_id":171260,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:28:27] local.INFO: Acknowledgment sent {"connection_id":171260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:28:31] local.INFO: TCP Data received {"connection_id":171261,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb53ca0012d188280072181e8004e006227..."} 
[2026-09-04 19:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb53ca0012d188280072181e8004e006227..."} 
[2026-09-04 19:28:31] local.INFO: Processing buffer {"connection_id":171261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb53ca0012d188280072181e8004e006227..."} 
[2026-09-04 19:28:31] local.INFO: Packet analysis {"connection_id":171261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:28:31] local.INFO: Extracted packet for processing {"connection_id":171261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:28:31] local.INFO: GPS Element Parsed {"raw_longitude":756580992,"raw_latitude":119636456,"longitude_deg":75.6580992,"latitude_deg":11.9636456,"altitude":78,"angle":98,"satellites":39,"speed":33,"hex_longitude":"2d188280","hex_latitude":"072181e8","is_valid_coordinates":true} 
[2026-09-04 19:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863732736001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17395502312062976,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760907484928776192,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788530212000,"timestamp_ms":1788530212000,"timestamp_seconds":1788530212,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb53ca0"} 
[2026-09-04 19:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-04 19:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863732736001,"66":13515,"106":206,"83":41984,"24":33,"16":17395502312062976,"45":1760907484928776192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-04 19:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863732736001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:28:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:28:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17395502312062976,"km_value":17395502312062.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760907484928776192,"description":"Unknown IO ID 45"} 
[2026-09-04 19:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863732736001,"power":13515,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1760907484928776192}} 
[2026-09-04 19:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":171261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:28:31] local.INFO: GPS data processed {"connection_id":171261,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:28:31] local.INFO: Acknowledgment sent {"connection_id":171261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:28:35] local.INFO: TCP Data received {"connection_id":170972,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb4e6b0012ce77ec0071fd3f00007009130..."} 
[2026-09-04 19:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb4e6b0012ce77ec0071fd3f00007009130..."} 
[2026-09-04 19:28:35] local.INFO: Processing buffer {"connection_id":170972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb4e6b0012ce77ec0071fd3f00007009130..."} 
[2026-09-04 19:28:35] local.INFO: Packet analysis {"connection_id":170972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb4"} 
[2026-09-04 19:28:35] local.INFO: Extracted packet for processing {"connection_id":170972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb4"} 
[2026-09-04 19:28:35] local.INFO: GPS Element Parsed {"raw_longitude":753368768,"raw_latitude":119526384,"longitude_deg":75.3368768,"latitude_deg":11.9526384,"altitude":7,"angle":145,"satellites":48,"speed":36,"hex_longitude":"2ce77ec0","hex_latitude":"071fd3f0","is_valid_coordinates":true} 
[2026-09-04 19:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863725824001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398496570485506048,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1771884947792805888,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788530190000,"timestamp_ms":1788530190000,"timestamp_seconds":1788530190,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb4e6b0"} 
[2026-09-04 19:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 19:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863725824001,"66":27365,"144":206,"83":43008,"24":36,"16":398496570485506048,"44":-1771884947792805888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-04 19:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863725824001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:28:35] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-04 19:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398496570485506048,"km_value":398496570485506.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:28:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1771884947792805888,"description":"Unknown IO ID 44"} 
[2026-09-04 19:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863725824001,"power":27365,"unknown_144":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-1771884947792805888}} 
[2026-09-04 19:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":170972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:28:35] local.INFO: GPS data processed {"connection_id":170972,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:28:35] local.INFO: Acknowledgment sent {"connection_id":170972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:28:48] local.INFO: TCP Data received {"connection_id":172366,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:28:48] local.INFO: Processing buffer {"connection_id":172366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:28:48] local.INFO: IMEI packet received {"connection_id":172366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":172366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:28:48] local.INFO: TCP Data received {"connection_id":172367,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:28:48] local.INFO: Processing buffer {"connection_id":172367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:28:48] local.INFO: IMEI packet received {"connection_id":172367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":172367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:28:52] local.INFO: TCP Data received {"connection_id":172366,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:28:53] local.INFO: Processing buffer {"connection_id":172366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:28:53] local.INFO: IMEI packet received {"connection_id":172366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":172366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:28:53] local.INFO: TCP Data received {"connection_id":172367,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:28:53] local.INFO: Processing buffer {"connection_id":172367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:28:53] local.INFO: IMEI packet received {"connection_id":172367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":172367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:28:54] local.INFO: TCP Data received {"connection_id":172366,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb54858012d188b4007217fb0004e007328..."} 
[2026-09-04 19:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb54858012d188b4007217fb0004e007328..."} 
[2026-09-04 19:28:54] local.INFO: Processing buffer {"connection_id":172366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb54858012d188b4007217fb0004e007328..."} 
[2026-09-04 19:28:54] local.INFO: Packet analysis {"connection_id":172366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:28:54] local.INFO: Extracted packet for processing {"connection_id":172366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:28:54] local.INFO: GPS Element Parsed {"raw_longitude":756583232,"raw_latitude":119635888,"longitude_deg":75.6583232,"latitude_deg":11.9635888,"altitude":78,"angle":115,"satellites":40,"speed":29,"hex_longitude":"2d188b40","hex_latitude":"07217fb0","is_valid_coordinates":true} 
[2026-09-04 19:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863734272001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17395613981212672,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766114771997943808,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788530215000,"timestamp_ms":1788530215000,"timestamp_seconds":1788530215,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb54858"} 
[2026-09-04 19:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-04 19:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863734272001,"66":13472,"106":206,"83":41984,"24":29,"16":17395613981212672,"45":1766114771997943808},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-04 19:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863734272001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:28:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:28:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17395613981212672,"km_value":17395613981212.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766114771997943808,"description":"Unknown IO ID 45"} 
[2026-09-04 19:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863734272001,"power":13472,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1766114771997943808}} 
[2026-09-04 19:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":172366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:28:54] local.INFO: GPS data processed {"connection_id":172366,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:28:54] local.INFO: Acknowledgment sent {"connection_id":172366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:28:55] local.INFO: TCP Data received {"connection_id":172367,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:28:55] local.INFO: Processing buffer {"connection_id":172367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:28:55] local.INFO: Packet analysis {"connection_id":172367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:28:55] local.INFO: Extracted packet for processing {"connection_id":172367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:28:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863658752001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788530218000,"timestamp_ms":1788530218000,"timestamp_seconds":1788530218,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb55410"} 
[2026-09-04 19:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 19:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863658752001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863658752001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:28:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:28:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863658752001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":172367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764737,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:28:55] local.INFO: GPS data processed {"connection_id":172367,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:28:55] local.INFO: Acknowledgment sent {"connection_id":172367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:28:58] local.INFO: TCP Data received {"connection_id":172366,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb57738012d18ac8007217270004b007729..."} 
[2026-09-04 19:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb57738012d18ac8007217270004b007729..."} 
[2026-09-04 19:28:58] local.INFO: Processing buffer {"connection_id":172366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb57738012d18ac8007217270004b007729..."} 
[2026-09-04 19:28:58] local.INFO: Packet analysis {"connection_id":172366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:28:58] local.INFO: Extracted packet for processing {"connection_id":172366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632496,"longitude_deg":75.6591744,"latitude_deg":11.9632496,"altitude":75,"angle":119,"satellites":41,"speed":25,"hex_longitude":"2d18ac80","hex_latitude":"07217270","is_valid_coordinates":true} 
[2026-09-04 19:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863735040001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17396047772909568,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768577678044016640,"note":"Value kept but may cause issues"} 
[2026-09-04 19:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788530227000,"timestamp_ms":1788530227000,"timestamp_seconds":1788530227,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb57738"} 
[2026-09-04 19:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-04 19:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863735040001,"66":13091,"106":206,"83":41984,"24":25,"16":17396047772909568,"45":1768577678044016640},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-04 19:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863735040001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:28:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17396047772909568,"km_value":17396047772909.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768577678044016640,"description":"Unknown IO ID 45"} 
[2026-09-04 19:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863735040001,"power":13091,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1768577678044016640}} 
[2026-09-04 19:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":172366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:28:58] local.INFO: GPS data processed {"connection_id":172366,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:28:58] local.INFO: Acknowledgment sent {"connection_id":172366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:29:04] local.INFO: TCP Data received {"connection_id":170973,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:29:04] local.INFO: Processing buffer {"connection_id":170973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:29:04] local.INFO: IMEI packet received {"connection_id":170973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":170973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:29:08] local.INFO: TCP Data received {"connection_id":170973,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:29:08] local.INFO: Processing buffer {"connection_id":170973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:29:08] local.INFO: IMEI packet received {"connection_id":170973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":170973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:29:08] local.INFO: TCP Data received {"connection_id":170973,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb511a8012ce79200071fb510000700982f..."} 
[2026-09-04 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb511a8012ce79200071fb510000700982f..."} 
[2026-09-04 19:29:08] local.INFO: Processing buffer {"connection_id":170973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb511a8012ce79200071fb510000700982f..."} 
[2026-09-04 19:29:08] local.INFO: Packet analysis {"connection_id":170973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:29:08] local.INFO: Extracted packet for processing {"connection_id":170973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:29:08] local.INFO: GPS Element Parsed {"raw_longitude":753373696,"raw_latitude":119518480,"longitude_deg":75.3373696,"latitude_deg":11.951848,"altitude":7,"angle":152,"satellites":47,"speed":34,"hex_longitude":"2ce79200","hex_latitude":"071fb510","is_valid_coordinates":true} 
[2026-09-04 19:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863728640001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398497021457072128,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1765762867051368448,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788530201000,"timestamp_ms":1788530201000,"timestamp_seconds":1788530201,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb511a8"} 
[2026-09-04 19:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 19:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":170973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":170973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":170973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863728640001,"66":27376,"144":206,"83":43008,"24":34,"16":398497021457072128,"44":-1765762867051368448},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-04 19:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863728640001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:29:08] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-04 19:29:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398497021457072128,"km_value":398497021457072.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:29:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1765762867051368448,"description":"Unknown IO ID 44"} 
[2026-09-04 19:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863728640001,"power":27376,"unknown_144":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1765762867051368448}} 
[2026-09-04 19:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":170973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:29:08] local.INFO: GPS data processed {"connection_id":170973,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:29:08] local.INFO: Acknowledgment sent {"connection_id":170973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:29:09] local.INFO: TCP Data received {"connection_id":170973,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb534d0012ce7a2c0071f9c800008008d30..."} 
[2026-09-04 19:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb534d0012ce7a2c0071f9c800008008d30..."} 
[2026-09-04 19:29:09] local.INFO: Processing buffer {"connection_id":170973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb534d0012ce7a2c0071f9c800008008d30..."} 
[2026-09-04 19:29:09] local.INFO: Packet analysis {"connection_id":170973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:29:09] local.INFO: Extracted packet for processing {"connection_id":170973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:29:09] local.INFO: GPS Element Parsed {"raw_longitude":753377984,"raw_latitude":119512192,"longitude_deg":75.3377984,"latitude_deg":11.9512192,"altitude":8,"angle":141,"satellites":48,"speed":31,"hex_longitude":"2ce7a2c0","hex_latitude":"071f9c80","is_valid_coordinates":true} 
[2026-09-04 19:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863731456001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398497386529292288,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1760344473751711744,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788530210000,"timestamp_ms":1788530210000,"timestamp_seconds":1788530210,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb534d0"} 
[2026-09-04 19:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 19:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863731456001,"66":27365,"144":206,"83":43008,"24":31,"16":398497386529292288,"44":-1760344473751711744},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-04 19:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863731456001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:29:09] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-04 19:29:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398497386529292288,"km_value":398497386529292.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:29:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1760344473751711744,"description":"Unknown IO ID 44"} 
[2026-09-04 19:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863731456001,"power":27365,"unknown_144":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1760344473751711744}} 
[2026-09-04 19:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":170973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:29:09] local.INFO: GPS data processed {"connection_id":170973,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:29:09] local.INFO: Acknowledgment sent {"connection_id":170973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:29:26] local.INFO: TCP Data received {"connection_id":172367,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:29:26] local.INFO: Processing buffer {"connection_id":172367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:29:26] local.INFO: Packet analysis {"connection_id":172367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:29:26] local.INFO: Extracted packet for processing {"connection_id":172367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:29:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863658752001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788530218000,"timestamp_ms":1788530218000,"timestamp_seconds":1788530218,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb55410"} 
[2026-09-04 19:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 19:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863658752001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863658752001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:29:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:29:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863658752001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":172367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764741,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:29:27] local.INFO: GPS data processed {"connection_id":172367,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:29:27] local.INFO: Acknowledgment sent {"connection_id":172367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:29:29] local.INFO: TCP Data received {"connection_id":172366,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb57f08012d18b00007216f78004b008c2c..."} 
[2026-09-04 19:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb57f08012d18b00007216f78004b008c2c..."} 
[2026-09-04 19:29:30] local.INFO: Processing buffer {"connection_id":172366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb57f08012d18b00007216f78004b008c2c..."} 
[2026-09-04 19:29:30] local.INFO: Packet analysis {"connection_id":172366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:29:30] local.INFO: Extracted packet for processing {"connection_id":172366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756592640,"raw_latitude":119631736,"longitude_deg":75.659264,"latitude_deg":11.9631736,"altitude":75,"angle":140,"satellites":44,"speed":21,"hex_longitude":"2d18b000","hex_latitude":"07216f78","is_valid_coordinates":true} 
[2026-09-04 19:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863738112001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17396103607484416,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018777600,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788530229000,"timestamp_ms":1788530229000,"timestamp_seconds":1788530229,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb57f08"} 
[2026-09-04 19:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 19:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863738112001,"66":13080,"106":206,"83":41984,"24":21,"16":17396103607484416,"45":1777936721018777600},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-04 19:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863738112001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:29:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:29:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17396103607484416,"km_value":17396103607484.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018777600,"description":"Unknown IO ID 45"} 
[2026-09-04 19:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863738112001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1777936721018777600}} 
[2026-09-04 19:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":172366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:29:30] local.INFO: GPS data processed {"connection_id":172366,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:29:30] local.INFO: Acknowledgment sent {"connection_id":172366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:29:40] local.INFO: TCP Data received {"connection_id":170973,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb55028012ce7b180071f8ec8000700812e..."} 
[2026-09-04 19:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb55028012ce7b180071f8ec8000700812e..."} 
[2026-09-04 19:29:40] local.INFO: Processing buffer {"connection_id":170973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb55028012ce7b180071f8ec8000700812e..."} 
[2026-09-04 19:29:40] local.INFO: Packet analysis {"connection_id":170973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:29:40] local.INFO: Extracted packet for processing {"connection_id":170973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:29:40] local.INFO: GPS Element Parsed {"raw_longitude":753381760,"raw_latitude":119508680,"longitude_deg":75.338176,"latitude_deg":11.950868,"altitude":7,"angle":129,"satellites":46,"speed":30,"hex_longitude":"2ce7b180","hex_latitude":"071f8ec8","is_valid_coordinates":true} 
[2026-09-04 19:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863733760001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398497631342428160,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1755629767893417984,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788530217000,"timestamp_ms":1788530217000,"timestamp_seconds":1788530217,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb55028"} 
[2026-09-04 19:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 19:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863733760001,"66":27343,"144":206,"83":43008,"24":30,"16":398497631342428160,"44":-1755629767893417984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-04 19:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863733760001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:29:40] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-04 19:29:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398497631342428160,"km_value":398497631342428.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:29:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1755629767893417984,"description":"Unknown IO ID 44"} 
[2026-09-04 19:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863733760001,"power":27343,"unknown_144":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-1755629767893417984}} 
[2026-09-04 19:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":170973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:29:40] local.INFO: GPS data processed {"connection_id":170973,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:29:40] local.INFO: Acknowledgment sent {"connection_id":170973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:29:47] local.INFO: TCP Data received {"connection_id":172368,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:29:47] local.INFO: Processing buffer {"connection_id":172368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:29:47] local.INFO: IMEI packet received {"connection_id":172368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":172368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:29:47] local.INFO: TCP Data received {"connection_id":172368,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:29:47] local.INFO: Processing buffer {"connection_id":172368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:29:47] local.INFO: IMEI packet received {"connection_id":172368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":172368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:29:52] local.INFO: TCP Data received {"connection_id":172368,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:29:52] local.INFO: Processing buffer {"connection_id":172368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:29:52] local.INFO: IMEI packet received {"connection_id":172368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":172368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:29:53] local.INFO: TCP Data received {"connection_id":172368,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb71160012d18d6c007210140003800a32c..."} 
[2026-09-04 19:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb71160012d18d6c007210140003800a32c..."} 
[2026-09-04 19:29:53] local.INFO: Processing buffer {"connection_id":172368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb71160012d18d6c007210140003800a32c..."} 
[2026-09-04 19:29:53] local.INFO: Packet analysis {"connection_id":172368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:29:53] local.INFO: Extracted packet for processing {"connection_id":172368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:29:53] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119603520,"longitude_deg":75.660256,"latitude_deg":11.960352,"altitude":56,"angle":163,"satellites":44,"speed":2,"hex_longitude":"2d18d6c0","hex_latitude":"07210140","is_valid_coordinates":true} 
[2026-09-04 19:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863763200001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17397611141005312,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789688301289172992,"note":"Value kept but may cause issues"} 
[2026-09-04 19:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788530332000,"timestamp_ms":1788530332000,"timestamp_seconds":1788530332,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb71160"} 
[2026-09-04 19:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-04 19:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863763200001,"66":13102,"103":206,"83":41984,"24":2,"16":17397611141005312,"45":1789688301289172992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863763200001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:29:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:29:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17397611141005312,"km_value":17397611141005.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789688301289172992,"description":"Unknown IO ID 45"} 
[2026-09-04 19:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863763200001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1789688301289172992}} 
[2026-09-04 19:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":172368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:29:53] local.INFO: GPS data processed {"connection_id":172368,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:29:53] local.INFO: Acknowledgment sent {"connection_id":172368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:29:53] local.INFO: TCP Data received {"connection_id":171262,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:29:53] local.INFO: Processing buffer {"connection_id":171262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:29:53] local.INFO: IMEI packet received {"connection_id":171262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":171262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:29:58] local.INFO: TCP Data received {"connection_id":170974,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:29:58] local.INFO: Processing buffer {"connection_id":170974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:29:58] local.INFO: IMEI packet received {"connection_id":170974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":170974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:29:58] local.INFO: TCP Data received {"connection_id":171262,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:29:58] local.INFO: Processing buffer {"connection_id":171262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:29:58] local.INFO: IMEI packet received {"connection_id":171262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":171262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:29:59] local.INFO: TCP Data received {"connection_id":170974,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:29:59] local.INFO: Processing buffer {"connection_id":170974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:29:59] local.INFO: IMEI packet received {"connection_id":170974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":170974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:30:00] local.INFO: TCP Data received {"connection_id":171262,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:30:00] local.INFO: Processing buffer {"connection_id":171262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:30:00] local.INFO: Packet analysis {"connection_id":171262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:30:00] local.INFO: Extracted packet for processing {"connection_id":171262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:30:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863658752001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788530218000,"timestamp_ms":1788530218000,"timestamp_seconds":1788530218,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb55410"} 
[2026-09-04 19:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 19:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863658752001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863658752001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:30:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863658752001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":171262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764745,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:30:01] local.INFO: GPS data processed {"connection_id":171262,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:30:01] local.INFO: Acknowledgment sent {"connection_id":171262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:30:03] local.INFO: TCP Data received {"connection_id":170974,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:30:03] local.INFO: Processing buffer {"connection_id":170974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:30:03] local.INFO: IMEI packet received {"connection_id":170974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":170974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:30:04] local.INFO: TCP Data received {"connection_id":170974,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb71160012ce87cc0071e52c8000800932e..."} 
[2026-09-04 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb71160012ce87cc0071e52c8000800932e..."} 
[2026-09-04 19:30:04] local.INFO: Processing buffer {"connection_id":170974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb71160012ce87cc0071e52c8000800932e..."} 
[2026-09-04 19:30:04] local.INFO: Packet analysis {"connection_id":170974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:30:04] local.INFO: Extracted packet for processing {"connection_id":170974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:30:04] local.INFO: GPS Element Parsed {"raw_longitude":753433792,"raw_latitude":119427784,"longitude_deg":75.3433792,"latitude_deg":11.9427784,"altitude":8,"angle":147,"satellites":46,"speed":26,"hex_longitude":"2ce87cc0","hex_latitude":"071e52c8","is_valid_coordinates":true} 
[2026-09-04 19:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863761920001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398502360101421056,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1699194035082555392,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788530332000,"timestamp_ms":1788530332000,"timestamp_seconds":1788530332,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb71160"} 
[2026-09-04 19:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 19:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863761920001,"66":27245,"111":206,"83":43008,"24":26,"16":398502360101421056,"44":-1699194035082555392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-09-04 19:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863761920001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:30:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 19:30:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398502360101421056,"km_value":398502360101421.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:30:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1699194035082555392,"description":"Unknown IO ID 44"} 
[2026-09-04 19:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863761920001,"power":27245,"unknown_111":206,"unknown_83":43008,"ignition":26,"odometer":null,"unknown_44":-1699194035082555392}} 
[2026-09-04 19:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":170974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:30:04] local.INFO: GPS data processed {"connection_id":170974,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:30:04] local.INFO: Acknowledgment sent {"connection_id":170974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:30:04] local.INFO: TCP Data received {"connection_id":171262,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:30:04] local.INFO: Processing buffer {"connection_id":171262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:30:04] local.INFO: Packet analysis {"connection_id":171262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:30:04] local.INFO: Extracted packet for processing {"connection_id":171262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863658752001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788530218000,"timestamp_ms":1788530218000,"timestamp_seconds":1788530218,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb55410"} 
[2026-09-04 19:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 19:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863658752001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863658752001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:30:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:30:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863658752001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":171262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764747,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:30:05] local.INFO: GPS data processed {"connection_id":171262,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:30:05] local.INFO: Acknowledgment sent {"connection_id":171262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:30:24] local.INFO: TCP Data received {"connection_id":172368,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb71930012d18d70007210118003800922d..."} 
[2026-09-04 19:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb71930012d18d70007210118003800922d..."} 
[2026-09-04 19:30:24] local.INFO: Processing buffer {"connection_id":172368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb71930012d18d70007210118003800922d..."} 
[2026-09-04 19:30:24] local.INFO: Packet analysis {"connection_id":172368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:30:24] local.INFO: Extracted packet for processing {"connection_id":172368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119603480,"longitude_deg":75.6602624,"latitude_deg":11.960348,"altitude":56,"angle":146,"satellites":45,"speed":0,"hex_longitude":"2d18d700","hex_latitude":"07210118","is_valid_coordinates":true} 
[2026-09-04 19:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863764992001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17397615435972608,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777384960,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788530334000,"timestamp_ms":1788530334000,"timestamp_seconds":1788530334,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb71930"} 
[2026-09-04 19:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-04 19:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863764992001,"66":13015,"103":206,"83":41984,"24":0,"16":17397615435972608,"45":1789829038777384960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863764992001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:30:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17397615435972608,"km_value":17397615435972.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777384960,"description":"Unknown IO ID 45"} 
[2026-09-04 19:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863764992001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777384960}} 
[2026-09-04 19:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":172368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:30:24] local.INFO: GPS data processed {"connection_id":172368,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:30:24] local.INFO: Acknowledgment sent {"connection_id":172368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:30:35] local.INFO: TCP Data received {"connection_id":170974,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb73c58012ce88d40071e3ba8000800872f..."} 
[2026-09-04 19:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb73c58012ce88d40071e3ba8000800872f..."} 
[2026-09-04 19:30:35] local.INFO: Processing buffer {"connection_id":170974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb73c58012ce88d40071e3ba8000800872f..."} 
[2026-09-04 19:30:35] local.INFO: Packet analysis {"connection_id":170974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:30:35] local.INFO: Extracted packet for processing {"connection_id":170974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":753438016,"raw_latitude":119421864,"longitude_deg":75.3438016,"latitude_deg":11.9421864,"altitude":8,"angle":135,"satellites":47,"speed":26,"hex_longitude":"2ce88d40","hex_latitude":"071e3ba8","is_valid_coordinates":true} 
[2026-09-04 19:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863764992001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398502712288739328,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1694268222992103424,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788530343000,"timestamp_ms":1788530343000,"timestamp_seconds":1788530343,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb73c58"} 
[2026-09-04 19:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 19:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863764992001,"66":27310,"111":206,"83":43008,"24":26,"16":398502712288739328,"44":-1694268222992103424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-09-04 19:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863764992001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:30:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 19:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398502712288739328,"km_value":398502712288739.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:30:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1694268222992103424,"description":"Unknown IO ID 44"} 
[2026-09-04 19:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863764992001,"power":27310,"unknown_111":206,"unknown_83":43008,"ignition":26,"odometer":null,"unknown_44":-1694268222992103424}} 
[2026-09-04 19:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":170974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:30:35] local.INFO: GPS data processed {"connection_id":170974,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:30:35] local.INFO: Acknowledgment sent {"connection_id":170974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:30:45] local.INFO: TCP Data received {"connection_id":172370,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:30:45] local.INFO: Processing buffer {"connection_id":172370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:30:45] local.INFO: IMEI packet received {"connection_id":172370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":172370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:30:47] local.INFO: TCP Data received {"connection_id":172370,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:30:47] local.INFO: Processing buffer {"connection_id":172370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:30:47] local.INFO: IMEI packet received {"connection_id":172370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":172370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:30:49] local.INFO: TCP Data received {"connection_id":172369,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:30:49] local.INFO: Processing buffer {"connection_id":172369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:30:49] local.INFO: IMEI packet received {"connection_id":172369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":172369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:30:51] local.INFO: TCP Data received {"connection_id":172370,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:30:51] local.INFO: Processing buffer {"connection_id":172370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:30:51] local.INFO: IMEI packet received {"connection_id":172370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":172370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:30:51] local.INFO: TCP Data received {"connection_id":172370,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb74fe0012d18da800720fca8003800862d..."} 
[2026-09-04 19:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb74fe0012d18da800720fca8003800862d..."} 
[2026-09-04 19:30:51] local.INFO: Processing buffer {"connection_id":172370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb74fe0012d18da800720fca8003800862d..."} 
[2026-09-04 19:30:51] local.INFO: Packet analysis {"connection_id":172370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:30:51] local.INFO: Extracted packet for processing {"connection_id":172370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756603520,"raw_latitude":119602344,"longitude_deg":75.660352,"latitude_deg":11.9602344,"altitude":56,"angle":134,"satellites":45,"speed":3,"hex_longitude":"2d18da80","hex_latitude":"0720fca8","is_valid_coordinates":true} 
[2026-09-04 19:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863765504001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17397688450416640,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789899407521552384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788530348000,"timestamp_ms":1788530348000,"timestamp_seconds":1788530348,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb74fe0"} 
[2026-09-04 19:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-04 19:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863765504001,"66":12885,"103":206,"83":41984,"24":3,"16":17397688450416640,"45":1789899407521552384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863765504001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:30:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17397688450416640,"km_value":17397688450416.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789899407521552384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863765504001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1789899407521552384}} 
[2026-09-04 19:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":172370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:30:51] local.INFO: GPS data processed {"connection_id":172370,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:30:51] local.INFO: Acknowledgment sent {"connection_id":172370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:30:54] local.INFO: TCP Data received {"connection_id":172369,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:30:54] local.INFO: Processing buffer {"connection_id":172369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:30:54] local.INFO: IMEI packet received {"connection_id":172369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":172369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:30:59] local.INFO: TCP Data received {"connection_id":171263,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:30:59] local.INFO: Processing buffer {"connection_id":171263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:30:59] local.INFO: IMEI packet received {"connection_id":171263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":171263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:31:01] local.INFO: TCP Data received {"connection_id":172369,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:31:01] local.INFO: Processing buffer {"connection_id":172369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:31:01] local.INFO: Packet analysis {"connection_id":172369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:31:01] local.INFO: Extracted packet for processing {"connection_id":172369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:31:01] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863658752001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788530218000,"timestamp_ms":1788530218000,"timestamp_seconds":1788530218,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb55410"} 
[2026-09-04 19:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 19:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863658752001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863658752001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:31:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:31:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863658752001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":172369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764751,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:31:01] local.INFO: GPS data processed {"connection_id":172369,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:31:01] local.INFO: Acknowledgment sent {"connection_id":172369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:31:03] local.INFO: TCP Data received {"connection_id":171263,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:31:03] local.INFO: Processing buffer {"connection_id":171263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:31:03] local.INFO: IMEI packet received {"connection_id":171263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":171263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:31:04] local.INFO: TCP Data received {"connection_id":171263,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb74fe0012ce89780071e33580008007b30..."} 
[2026-09-04 19:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb74fe0012ce89780071e33580008007b30..."} 
[2026-09-04 19:31:04] local.INFO: Processing buffer {"connection_id":171263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb74fe0012ce89780071e33580008007b30..."} 
[2026-09-04 19:31:04] local.INFO: Packet analysis {"connection_id":171263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:31:04] local.INFO: Extracted packet for processing {"connection_id":171263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:31:04] local.INFO: GPS Element Parsed {"raw_longitude":753440640,"raw_latitude":119419736,"longitude_deg":75.344064,"latitude_deg":11.9419736,"altitude":8,"angle":123,"satellites":48,"speed":28,"hex_longitude":"2ce89780","hex_latitude":"071e3358","is_valid_coordinates":true} 
[2026-09-04 19:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863767808001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398502875497496576,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1689623885877893120,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788530348000,"timestamp_ms":1788530348000,"timestamp_seconds":1788530348,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb74fe0"} 
[2026-09-04 19:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 19:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863767808001,"66":27300,"111":206,"83":43008,"24":28,"16":398502875497496576,"44":-1689623885877893120},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-09-04 19:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863767808001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:31:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 19:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398502875497496576,"km_value":398502875497496.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:31:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1689623885877893120,"description":"Unknown IO ID 44"} 
[2026-09-04 19:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863767808001,"power":27300,"unknown_111":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-1689623885877893120}} 
[2026-09-04 19:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":171263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:31:04] local.INFO: GPS data processed {"connection_id":171263,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:31:04] local.INFO: Acknowledgment sent {"connection_id":171263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:31:22] local.INFO: TCP Data received {"connection_id":172370,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb7a1e8012d18e0800720f750003900852d..."} 
[2026-09-04 19:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb7a1e8012d18e0800720f750003900852d..."} 
[2026-09-04 19:31:22] local.INFO: Processing buffer {"connection_id":172370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb7a1e8012d18e0800720f750003900852d..."} 
[2026-09-04 19:31:22] local.INFO: Packet analysis {"connection_id":172370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:31:22] local.INFO: Extracted packet for processing {"connection_id":172370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:31:22] local.INFO: GPS Element Parsed {"raw_longitude":756605056,"raw_latitude":119600976,"longitude_deg":75.6605056,"latitude_deg":11.9600976,"altitude":57,"angle":133,"satellites":45,"speed":5,"hex_longitude":"2d18e080","hex_latitude":"0720f750","is_valid_coordinates":true} 
[2026-09-04 19:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863769088001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17397791529631744,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790884569939748864,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788530369000,"timestamp_ms":1788530369000,"timestamp_seconds":1788530369,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb7a1e8"} 
[2026-09-04 19:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-04 19:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863769088001,"66":12841,"103":206,"83":41984,"24":5,"16":17397791529631744,"45":1790884569939748864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863769088001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:31:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17397791529631744,"km_value":17397791529631.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790884569939748864,"description":"Unknown IO ID 45"} 
[2026-09-04 19:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863769088001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1790884569939748864}} 
[2026-09-04 19:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":172370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:31:23] local.INFO: GPS data processed {"connection_id":172370,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:31:23] local.INFO: Acknowledgment sent {"connection_id":172370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:31:33] local.INFO: TCP Data received {"connection_id":172369,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:31:33] local.INFO: Processing buffer {"connection_id":172369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:31:33] local.INFO: Packet analysis {"connection_id":172369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:31:33] local.INFO: Extracted packet for processing {"connection_id":172369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:31:33] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863658752001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788530218000,"timestamp_ms":1788530218000,"timestamp_seconds":1788530218,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb55410"} 
[2026-09-04 19:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 19:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863658752001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863658752001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:31:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:31:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863658752001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":172369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:31:33] local.INFO: GPS data processed {"connection_id":172369,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:31:33] local.INFO: Acknowledgment sent {"connection_id":172369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:31:35] local.INFO: TCP Data received {"connection_id":171263,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb77ec0012ce8b4c0071e1f800009007b2f..."} 
[2026-09-04 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb77ec0012ce8b4c0071e1f800009007b2f..."} 
[2026-09-04 19:31:35] local.INFO: Processing buffer {"connection_id":171263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb77ec0012ce8b4c0071e1f800009007b2f..."} 
[2026-09-04 19:31:35] local.INFO: Packet analysis {"connection_id":171263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:31:35] local.INFO: Extracted packet for processing {"connection_id":171263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":753448128,"raw_latitude":119414656,"longitude_deg":75.3448128,"latitude_deg":11.9414656,"altitude":9,"angle":123,"satellites":47,"speed":30,"hex_longitude":"2ce8b4c0","hex_latitude":"071e1f80","is_valid_coordinates":true} 
[2026-09-04 19:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863769088001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398503309289193472,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1686738767367153664,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788530360000,"timestamp_ms":1788530360000,"timestamp_seconds":1788530360,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb77ec0"} 
[2026-09-04 19:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 19:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863769088001,"66":27267,"111":206,"83":43008,"24":30,"16":398503309289193472,"44":-1686738767367153664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-09-04 19:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863769088001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:31:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 19:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398503309289193472,"km_value":398503309289193.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:31:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1686738767367153664,"description":"Unknown IO ID 44"} 
[2026-09-04 19:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863769088001,"power":27267,"unknown_111":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-1686738767367153664}} 
[2026-09-04 19:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":171263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:31:35] local.INFO: GPS data processed {"connection_id":171263,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:31:35] local.INFO: Acknowledgment sent {"connection_id":171263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:31:47] local.INFO: TCP Data received {"connection_id":172372,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:31:47] local.INFO: Processing buffer {"connection_id":172372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:31:47] local.INFO: IMEI packet received {"connection_id":172372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":172372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:31:48] local.INFO: TCP Data received {"connection_id":172372,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:31:48] local.INFO: Processing buffer {"connection_id":172372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:31:48] local.INFO: IMEI packet received {"connection_id":172372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":172372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:31:48] local.INFO: TCP Data received {"connection_id":172371,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:31:48] local.INFO: Processing buffer {"connection_id":172371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:31:48] local.INFO: IMEI packet received {"connection_id":172371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":172371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:31:52] local.INFO: TCP Data received {"connection_id":172372,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:31:52] local.INFO: Processing buffer {"connection_id":172372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:31:52] local.INFO: IMEI packet received {"connection_id":172372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":172372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:31:53] local.INFO: TCP Data received {"connection_id":172372,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb7b958012d18e2400720f550003900782e..."} 
[2026-09-04 19:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb7b958012d18e2400720f550003900782e..."} 
[2026-09-04 19:31:53] local.INFO: Processing buffer {"connection_id":172372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb7b958012d18e2400720f550003900782e..."} 
[2026-09-04 19:31:53] local.INFO: Packet analysis {"connection_id":172372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:31:53] local.INFO: Extracted packet for processing {"connection_id":172372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:31:53] local.INFO: GPS Element Parsed {"raw_longitude":756605504,"raw_latitude":119600464,"longitude_deg":75.6605504,"latitude_deg":11.9600464,"altitude":57,"angle":120,"satellites":46,"speed":3,"hex_longitude":"2d18e240","hex_latitude":"0720f550","is_valid_coordinates":true} 
[2026-09-04 19:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863774464001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17397821594402816,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792573419799662592,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788530375000,"timestamp_ms":1788530375000,"timestamp_seconds":1788530375,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb7b958"} 
[2026-09-04 19:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-04 19:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863774464001,"66":12678,"103":206,"83":41984,"24":3,"16":17397821594402816,"45":1792573419799662592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863774464001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:31:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:31:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17397821594402816,"km_value":17397821594402.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792573419799662592,"description":"Unknown IO ID 45"} 
[2026-09-04 19:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863774464001,"power":12678,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1792573419799662592}} 
[2026-09-04 19:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":172372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:31:53] local.INFO: GPS data processed {"connection_id":172372,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:31:53] local.INFO: Acknowledgment sent {"connection_id":172372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:31:53] local.INFO: TCP Data received {"connection_id":172371,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:31:53] local.INFO: Processing buffer {"connection_id":172371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:31:53] local.INFO: IMEI packet received {"connection_id":172371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":172371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:31:55] local.INFO: TCP Data received {"connection_id":172371,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:31:55] local.INFO: Processing buffer {"connection_id":172371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:31:55] local.INFO: Packet analysis {"connection_id":172371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:31:55] local.INFO: Extracted packet for processing {"connection_id":172371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:31:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863658752001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788530218000,"timestamp_ms":1788530218000,"timestamp_seconds":1788530218,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb55410"} 
[2026-09-04 19:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 19:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863658752001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863658752001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:31:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863658752001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":172371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764757,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:31:55] local.INFO: GPS data processed {"connection_id":172371,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:31:55] local.INFO: Acknowledgment sent {"connection_id":172371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:31:58] local.INFO: TCP Data received {"connection_id":171264,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:31:58] local.INFO: Processing buffer {"connection_id":171264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:31:58] local.INFO: IMEI packet received {"connection_id":171264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":171264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:32:00] local.INFO: TCP Data received {"connection_id":171264,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:32:00] local.INFO: Processing buffer {"connection_id":171264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:32:00] local.INFO: IMEI packet received {"connection_id":171264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":171264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:32:03] local.INFO: TCP Data received {"connection_id":171264,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:32:03] local.INFO: Processing buffer {"connection_id":171264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:32:03] local.INFO: IMEI packet received {"connection_id":171264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":171264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:32:04] local.INFO: TCP Data received {"connection_id":171264,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb7b958012ce8d440071e0c88000d007730..."} 
[2026-09-04 19:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb7b958012ce8d440071e0c88000d007730..."} 
[2026-09-04 19:32:04] local.INFO: Processing buffer {"connection_id":171264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb7b958012ce8d440071e0c88000d007730..."} 
[2026-09-04 19:32:04] local.INFO: Packet analysis {"connection_id":171264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:32:04] local.INFO: Extracted packet for processing {"connection_id":171264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":753456192,"raw_latitude":119409800,"longitude_deg":75.3456192,"latitude_deg":11.94098,"altitude":13,"angle":119,"satellites":48,"speed":23,"hex_longitude":"2ce8d440","hex_latitude":"071e0c88","is_valid_coordinates":true} 
[2026-09-04 19:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863772160001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398503755965792256,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1678505624299667456,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788530375000,"timestamp_ms":1788530375000,"timestamp_seconds":1788530375,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb7b958"} 
[2026-09-04 19:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 19:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863772160001,"66":27300,"111":206,"83":43008,"24":23,"16":398503755965792256,"44":-1678505624299667456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-09-04 19:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863772160001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:32:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 19:32:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398503755965792256,"km_value":398503755965792.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:32:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1678505624299667456,"description":"Unknown IO ID 44"} 
[2026-09-04 19:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863772160001,"power":27300,"unknown_111":206,"unknown_83":43008,"ignition":23,"odometer":null,"unknown_44":-1678505624299667456}} 
[2026-09-04 19:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":171264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:32:04] local.INFO: GPS data processed {"connection_id":171264,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:32:04] local.INFO: Acknowledgment sent {"connection_id":171264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:32:24] local.INFO: TCP Data received {"connection_id":172372,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb92888012d18f5c00720d9100037008429..."} 
[2026-09-04 19:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb92888012d18f5c00720d9100037008429..."} 
[2026-09-04 19:32:24] local.INFO: Processing buffer {"connection_id":172372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb92888012d18f5c00720d9100037008429..."} 
[2026-09-04 19:32:24] local.INFO: Packet analysis {"connection_id":172372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:32:24] local.INFO: Extracted packet for processing {"connection_id":172372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:32:24] local.INFO: GPS Element Parsed {"raw_longitude":756610496,"raw_latitude":119593232,"longitude_deg":75.6610496,"latitude_deg":11.9593232,"altitude":55,"angle":132,"satellites":41,"speed":4,"hex_longitude":"2d18f5c0","hex_latitude":"0720d910","is_valid_coordinates":true} 
[2026-09-04 19:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863797504001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17398272565968896,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797780706866978816,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788530469000,"timestamp_ms":1788530469000,"timestamp_seconds":1788530469,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb92888"} 
[2026-09-04 19:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 19:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863797504001,"66":12156,"103":206,"83":41984,"24":4,"16":17398272565968896,"45":1797780706866978816},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863797504001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:32:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17398272565968896,"km_value":17398272565968.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797780706866978816,"description":"Unknown IO ID 45"} 
[2026-09-04 19:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863797504001,"power":12156,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1797780706866978816}} 
[2026-09-04 19:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":172372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:32:24] local.INFO: GPS data processed {"connection_id":172372,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:32:24] local.INFO: Acknowledgment sent {"connection_id":172372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:32:27] local.INFO: TCP Data received {"connection_id":172371,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:32:27] local.INFO: Processing buffer {"connection_id":172371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb55410012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:32:27] local.INFO: Packet analysis {"connection_id":172371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:32:27] local.INFO: Extracted packet for processing {"connection_id":172371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb5"} 
[2026-09-04 19:32:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863658752001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788530218000,"timestamp_ms":1788530218000,"timestamp_seconds":1788530218,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb55410"} 
[2026-09-04 19:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 19:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863658752001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863658752001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:32:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:32:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863658752001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":172371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:32:27] local.INFO: GPS data processed {"connection_id":172371,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:32:27] local.INFO: Acknowledgment sent {"connection_id":172371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:32:35] local.INFO: TCP Data received {"connection_id":171264,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb7f3f0012ce8f500071dfba00010007630..."} 
[2026-09-04 19:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb7f3f0012ce8f500071dfba00010007630..."} 
[2026-09-04 19:32:35] local.INFO: Processing buffer {"connection_id":171264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb7f3f0012ce8f500071dfba00010007630..."} 
[2026-09-04 19:32:35] local.INFO: Packet analysis {"connection_id":171264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:32:35] local.INFO: Extracted packet for processing {"connection_id":171264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb7"} 
[2026-09-04 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":753464576,"raw_latitude":119405472,"longitude_deg":75.3464576,"latitude_deg":11.9405472,"altitude":16,"angle":118,"satellites":48,"speed":22,"hex_longitude":"2ce8f500","hex_latitude":"071dfba0","is_valid_coordinates":true} 
[2026-09-04 19:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863776000001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398504206937358336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1669639162534524928,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788530390000,"timestamp_ms":1788530390000,"timestamp_seconds":1788530390,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb7f3f0"} 
[2026-09-04 19:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 19:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863776000001,"66":27158,"111":206,"83":43008,"24":22,"16":398504206937358336,"44":-1669639162534524928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-09-04 19:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863776000001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:32:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 19:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398504206937358336,"km_value":398504206937358.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:32:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1669639162534524928,"description":"Unknown IO ID 44"} 
[2026-09-04 19:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863776000001,"power":27158,"unknown_111":206,"unknown_83":43008,"ignition":22,"odometer":null,"unknown_44":-1669639162534524928}} 
[2026-09-04 19:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":171264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:32:35] local.INFO: GPS data processed {"connection_id":171264,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:32:35] local.INFO: Acknowledgment sent {"connection_id":171264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:32:47] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:32:47] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:32:47] local.INFO: IMEI packet received {"connection_id":173667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":173667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:32:52] local.INFO: TCP Data received {"connection_id":170975,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:32:52] local.INFO: Processing buffer {"connection_id":170975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:32:52] local.INFO: IMEI packet received {"connection_id":170975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":170975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:32:52] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:32:52] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:32:52] local.INFO: IMEI packet received {"connection_id":173667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":173667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:32:53] local.INFO: TCP Data received {"connection_id":170975,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:32:53] local.INFO: Processing buffer {"connection_id":170975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:32:53] local.INFO: IMEI packet received {"connection_id":170975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":170975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:32:53] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb97a90012d18fcc00720d2b0003700812e..."} 
[2026-09-04 19:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb97a90012d18fcc00720d2b0003700812e..."} 
[2026-09-04 19:32:53] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb97a90012d18fcc00720d2b0003700812e..."} 
[2026-09-04 19:32:53] local.INFO: Packet analysis {"connection_id":173667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:32:53] local.INFO: Extracted packet for processing {"connection_id":173667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:32:53] local.INFO: GPS Element Parsed {"raw_longitude":756612288,"raw_latitude":119591600,"longitude_deg":75.6612288,"latitude_deg":11.95916,"altitude":55,"angle":129,"satellites":46,"speed":2,"hex_longitude":"2d18fcc0","hex_latitude":"0720d2b0","is_valid_coordinates":true} 
[2026-09-04 19:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863800064001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17398392825053184,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798554763052781568,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788530490000,"timestamp_ms":1788530490000,"timestamp_seconds":1788530490,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb97a90"} 
[2026-09-04 19:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 19:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863800064001,"66":12232,"103":206,"83":41984,"24":2,"16":17398392825053184,"45":1798554763052781568},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863800064001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:32:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:32:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17398392825053184,"km_value":17398392825053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798554763052781568,"description":"Unknown IO ID 45"} 
[2026-09-04 19:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863800064001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1798554763052781568}} 
[2026-09-04 19:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":173667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:32:53] local.INFO: GPS data processed {"connection_id":173667,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:32:53] local.INFO: Acknowledgment sent {"connection_id":173667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:32:54] local.INFO: TCP Data received {"connection_id":170975,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:32:54] local.INFO: Processing buffer {"connection_id":170975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:32:54] local.INFO: Packet analysis {"connection_id":170975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:32:54] local.INFO: Extracted packet for processing {"connection_id":170975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863735808001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788530519000,"timestamp_ms":1788530519000,"timestamp_seconds":1788530519,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb9ebd8"} 
[2026-09-04 19:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-04 19:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863735808001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863735808001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:32:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:32:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863735808001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":170975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764763,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:32:54] local.INFO: GPS data processed {"connection_id":170975,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:32:54] local.INFO: Acknowledgment sent {"connection_id":170975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:32:58] local.INFO: TCP Data received {"connection_id":172373,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:32:58] local.INFO: Processing buffer {"connection_id":172373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:32:58] local.INFO: IMEI packet received {"connection_id":172373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":172373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:33:03] local.INFO: TCP Data received {"connection_id":170975,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:33:03] local.INFO: Processing buffer {"connection_id":170975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:33:03] local.INFO: Packet analysis {"connection_id":170975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:33:03] local.INFO: Extracted packet for processing {"connection_id":170975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863735808001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788530519000,"timestamp_ms":1788530519000,"timestamp_seconds":1788530519,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb9ebd8"} 
[2026-09-04 19:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-04 19:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":170975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":170975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":170975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863735808001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863735808001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:33:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:33:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863735808001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":170975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764764,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:33:03] local.INFO: GPS data processed {"connection_id":170975,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:33:03] local.INFO: Acknowledgment sent {"connection_id":170975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:33:04] local.INFO: TCP Data received {"connection_id":172373,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:33:04] local.INFO: Processing buffer {"connection_id":172373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:33:04] local.INFO: IMEI packet received {"connection_id":172373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":172373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:33:05] local.INFO: TCP Data received {"connection_id":172373,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb83658012ce91600071dec180011007631..."} 
[2026-09-04 19:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb83658012ce91600071dec180011007631..."} 
[2026-09-04 19:33:05] local.INFO: Processing buffer {"connection_id":172373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb83658012ce91600071dec180011007631..."} 
[2026-09-04 19:33:05] local.INFO: Packet analysis {"connection_id":172373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb8"} 
[2026-09-04 19:33:05] local.INFO: Extracted packet for processing {"connection_id":172373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb8"} 
[2026-09-04 19:33:05] local.INFO: GPS Element Parsed {"raw_longitude":753473024,"raw_latitude":119401496,"longitude_deg":75.3473024,"latitude_deg":11.9401496,"altitude":17,"angle":118,"satellites":49,"speed":22,"hex_longitude":"2ce91600","hex_latitude":"071dec18","is_valid_coordinates":true} 
[2026-09-04 19:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863779840001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398504653613957120,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1660420857048358912,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788530407000,"timestamp_ms":1788530407000,"timestamp_seconds":1788530407,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb83658"} 
[2026-09-04 19:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 19:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863779840001,"66":27300,"111":206,"83":43008,"24":22,"16":398504653613957120,"44":-1660420857048358912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-09-04 19:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863779840001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:33:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 19:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398504653613957120,"km_value":398504653613957.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:33:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1660420857048358912,"description":"Unknown IO ID 44"} 
[2026-09-04 19:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863779840001,"power":27300,"unknown_111":206,"unknown_83":43008,"ignition":22,"odometer":null,"unknown_44":-1660420857048358912}} 
[2026-09-04 19:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":172373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:33:05] local.INFO: GPS data processed {"connection_id":172373,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:33:05] local.INFO: Acknowledgment sent {"connection_id":172373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:33:24] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb9b140012d1900800720d090003600752e..."} 
[2026-09-04 19:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb9b140012d1900800720d090003600752e..."} 
[2026-09-04 19:33:24] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb9b140012d1900800720d090003600752e..."} 
[2026-09-04 19:33:24] local.INFO: Packet analysis {"connection_id":173667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:33:24] local.INFO: Extracted packet for processing {"connection_id":173667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:33:24] local.INFO: GPS Element Parsed {"raw_longitude":756613248,"raw_latitude":119591056,"longitude_deg":75.6613248,"latitude_deg":11.9591056,"altitude":54,"angle":117,"satellites":46,"speed":3,"hex_longitude":"2d190080","hex_latitude":"0720d090","is_valid_coordinates":true} 
[2026-09-04 19:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863805440001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17398444364660736,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800525087889338368,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788530504000,"timestamp_ms":1788530504000,"timestamp_seconds":1788530504,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb9b140"} 
[2026-09-04 19:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-04 19:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863805440001,"66":12189,"103":206,"83":41984,"24":3,"16":17398444364660736,"45":1800525087889338368},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863805440001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:33:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:33:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17398444364660736,"km_value":17398444364660.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800525087889338368,"description":"Unknown IO ID 45"} 
[2026-09-04 19:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863805440001,"power":12189,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1800525087889338368}} 
[2026-09-04 19:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":173667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:33:25] local.INFO: GPS data processed {"connection_id":173667,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:33:25] local.INFO: Acknowledgment sent {"connection_id":173667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:33:37] local.INFO: TCP Data received {"connection_id":172373,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cba8c00012ce9aa00071d36e00007000b30..."} 
[2026-09-04 19:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cba8c00012ce9aa00071d36e00007000b30..."} 
[2026-09-04 19:33:37] local.INFO: Processing buffer {"connection_id":172373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cba8c00012ce9aa00071d36e00007000b30..."} 
[2026-09-04 19:33:37] local.INFO: Packet analysis {"connection_id":172373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cba"} 
[2026-09-04 19:33:37] local.INFO: Extracted packet for processing {"connection_id":172373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cba"} 
[2026-09-04 19:33:37] local.INFO: GPS Element Parsed {"raw_longitude":753510912,"raw_latitude":119355104,"longitude_deg":75.3510912,"latitude_deg":11.9355104,"altitude":7,"angle":11,"satellites":48,"speed":12,"hex_longitude":"2ce9aa00","hex_latitude":"071d36e0","is_valid_coordinates":true} 
[2026-09-04 19:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863823104001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398507634321260544,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609544255020871680,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788530560000,"timestamp_ms":1788530560000,"timestamp_seconds":1788530560,"priority":1,"record_length":96,"hex_timestamp":"000001a06cba8c00"} 
[2026-09-04 19:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 19:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863823104001,"66":27213,"110":206,"83":43008,"24":12,"16":398507634321260544,"44":-1609544255020871680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-04 19:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863823104001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:33:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 19:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398507634321260544,"km_value":398507634321260.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609544255020871680,"description":"Unknown IO ID 44"} 
[2026-09-04 19:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863823104001,"power":27213,"unknown_110":206,"unknown_83":43008,"ignition":12,"odometer":null,"unknown_44":-1609544255020871680}} 
[2026-09-04 19:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":172373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:33:37] local.INFO: GPS data processed {"connection_id":172373,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:33:37] local.INFO: Acknowledgment sent {"connection_id":172373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:33:48] local.INFO: TCP Data received {"connection_id":171265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:33:48] local.INFO: Processing buffer {"connection_id":171265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:33:48] local.INFO: IMEI packet received {"connection_id":171265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":171265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:33:49] local.INFO: TCP Data received {"connection_id":172374,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:33:49] local.INFO: Processing buffer {"connection_id":172374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:33:49] local.INFO: IMEI packet received {"connection_id":172374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":172374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:33:52] local.INFO: TCP Data received {"connection_id":171265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:33:52] local.INFO: Processing buffer {"connection_id":171265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:33:52] local.INFO: IMEI packet received {"connection_id":171265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":171265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:33:53] local.INFO: TCP Data received {"connection_id":171265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:33:53] local.INFO: Processing buffer {"connection_id":171265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:33:53] local.INFO: IMEI packet received {"connection_id":171265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":171265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:33:54] local.INFO: TCP Data received {"connection_id":172374,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:33:54] local.INFO: Processing buffer {"connection_id":172374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:33:54] local.INFO: IMEI packet received {"connection_id":172374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":172374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:33:54] local.INFO: TCP Data received {"connection_id":171265,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb9f790012d1905c00720cd48003600802d..."} 
[2026-09-04 19:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb9f790012d1905c00720cd48003600802d..."} 
[2026-09-04 19:33:54] local.INFO: Processing buffer {"connection_id":171265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb9f790012d1905c00720cd48003600802d..."} 
[2026-09-04 19:33:54] local.INFO: Packet analysis {"connection_id":171265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:33:54] local.INFO: Extracted packet for processing {"connection_id":171265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:33:54] local.INFO: GPS Element Parsed {"raw_longitude":756614592,"raw_latitude":119590216,"longitude_deg":75.6614592,"latitude_deg":11.9590216,"altitude":54,"angle":128,"satellites":45,"speed":4,"hex_longitude":"2d1905c0","hex_latitude":"0720cd48","is_valid_coordinates":true} 
[2026-09-04 19:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863809024001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17398525969039360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801580619051864064,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788530522000,"timestamp_ms":1788530522000,"timestamp_seconds":1788530522,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb9f790"} 
[2026-09-04 19:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-04 19:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863809024001,"66":12145,"103":206,"83":41984,"24":4,"16":17398525969039360,"45":1801580619051864064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863809024001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:33:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:33:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17398525969039360,"km_value":17398525969039.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801580619051864064,"description":"Unknown IO ID 45"} 
[2026-09-04 19:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863809024001,"power":12145,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1801580619051864064}} 
[2026-09-04 19:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":171265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:33:54] local.INFO: GPS data processed {"connection_id":171265,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:33:54] local.INFO: Acknowledgment sent {"connection_id":171265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:33:55] local.INFO: TCP Data received {"connection_id":172374,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:33:55] local.INFO: Processing buffer {"connection_id":172374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:33:55] local.INFO: Packet analysis {"connection_id":172374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:33:55] local.INFO: Extracted packet for processing {"connection_id":172374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:33:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863735808001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788530519000,"timestamp_ms":1788530519000,"timestamp_seconds":1788530519,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb9ebd8"} 
[2026-09-04 19:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-04 19:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863735808001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863735808001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:33:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863735808001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":172374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764769,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:33:55] local.INFO: GPS data processed {"connection_id":172374,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:33:55] local.INFO: Acknowledgment sent {"connection_id":172374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:33:57] local.INFO: TCP Data received {"connection_id":171265,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cba3610012d190bc00720c9a00035007429..."} 
[2026-09-04 19:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cba3610012d190bc00720c9a00035007429..."} 
[2026-09-04 19:33:57] local.INFO: Processing buffer {"connection_id":171265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cba3610012d190bc00720c9a00035007429..."} 
[2026-09-04 19:33:57] local.INFO: Packet analysis {"connection_id":171265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cba"} 
[2026-09-04 19:33:57] local.INFO: Extracted packet for processing {"connection_id":171265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cba"} 
[2026-09-04 19:33:57] local.INFO: GPS Element Parsed {"raw_longitude":756616128,"raw_latitude":119589280,"longitude_deg":75.6616128,"latitude_deg":11.958928,"altitude":53,"angle":116,"satellites":41,"speed":4,"hex_longitude":"2d190bc0","hex_latitude":"0720c9a0","is_valid_coordinates":true} 
[2026-09-04 19:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863813632001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17398611868385280,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803058362679379968,"note":"Value kept but may cause issues"} 
[2026-09-04 19:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788530538000,"timestamp_ms":1788530538000,"timestamp_seconds":1788530538,"priority":1,"record_length":96,"hex_timestamp":"000001a06cba3610"} 
[2026-09-04 19:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-04 19:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863813632001,"66":12037,"103":206,"83":41984,"24":4,"16":17398611868385280,"45":1803058362679379968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863813632001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:33:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17398611868385280,"km_value":17398611868385.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803058362679379968,"description":"Unknown IO ID 45"} 
[2026-09-04 19:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863813632001,"power":12037,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1803058362679379968}} 
[2026-09-04 19:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":171265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:33:57] local.INFO: GPS data processed {"connection_id":171265,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:33:57] local.INFO: Acknowledgment sent {"connection_id":171265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:33:58] local.INFO: TCP Data received {"connection_id":170976,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:33:58] local.INFO: Processing buffer {"connection_id":170976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:33:58] local.INFO: IMEI packet received {"connection_id":170976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":170976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:34:03] local.INFO: TCP Data received {"connection_id":170976,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:34:03] local.INFO: Processing buffer {"connection_id":170976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:34:03] local.INFO: IMEI packet received {"connection_id":170976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":170976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:34:03] local.INFO: TCP Data received {"connection_id":170976,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:34:03] local.INFO: Processing buffer {"connection_id":170976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:34:03] local.INFO: IMEI packet received {"connection_id":170976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":170976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:34:04] local.INFO: TCP Data received {"connection_id":170976,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cba8fe8012ce9aa40071d38280007016630..."} 
[2026-09-04 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cba8fe8012ce9aa40071d38280007016630..."} 
[2026-09-04 19:34:04] local.INFO: Processing buffer {"connection_id":170976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cba8fe8012ce9aa40071d38280007016630..."} 
[2026-09-04 19:34:04] local.INFO: Packet analysis {"connection_id":170976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cba"} 
[2026-09-04 19:34:04] local.INFO: Extracted packet for processing {"connection_id":170976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cba"} 
[2026-09-04 19:34:04] local.INFO: GPS Element Parsed {"raw_longitude":753510976,"raw_latitude":119355432,"longitude_deg":75.3510976,"latitude_deg":11.9355432,"altitude":7,"angle":358,"satellites":48,"speed":12,"hex_longitude":"2ce9aa40","hex_latitude":"071d3828","is_valid_coordinates":true} 
[2026-09-04 19:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863823360001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398507651501129728,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609473886276624384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788530561000,"timestamp_ms":1788530561000,"timestamp_seconds":1788530561,"priority":1,"record_length":96,"hex_timestamp":"000001a06cba8fe8"} 
[2026-09-04 19:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 19:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863823360001,"66":27213,"110":206,"83":43008,"24":12,"16":398507651501129728,"44":-1609473886276624384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-04 19:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863823360001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:34:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 19:34:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398507651501129728,"km_value":398507651501129.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:34:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609473886276624384,"description":"Unknown IO ID 44"} 
[2026-09-04 19:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863823360001,"power":27213,"unknown_110":206,"unknown_83":43008,"ignition":12,"odometer":null,"unknown_44":-1609473886276624384}} 
[2026-09-04 19:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":170976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:34:04] local.INFO: GPS data processed {"connection_id":170976,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:34:04] local.INFO: Acknowledgment sent {"connection_id":170976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:34:09] local.INFO: TCP Data received {"connection_id":170976,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbaa370012ce9a940071d41780007015b31..."} 
[2026-09-04 19:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbaa370012ce9a940071d41780007015b31..."} 
[2026-09-04 19:34:09] local.INFO: Processing buffer {"connection_id":170976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbaa370012ce9a940071d41780007015b31..."} 
[2026-09-04 19:34:09] local.INFO: Packet analysis {"connection_id":170976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cba"} 
[2026-09-04 19:34:09] local.INFO: Extracted packet for processing {"connection_id":170976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cba"} 
[2026-09-04 19:34:09] local.INFO: GPS Element Parsed {"raw_longitude":753510720,"raw_latitude":119357816,"longitude_deg":75.351072,"latitude_deg":11.9357816,"altitude":7,"angle":347,"satellites":49,"speed":25,"hex_longitude":"2ce9a940","hex_latitude":"071d4178","is_valid_coordinates":true} 
[2026-09-04 19:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863823616001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398507767465246720,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609403517532362752,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788530566000,"timestamp_ms":1788530566000,"timestamp_seconds":1788530566,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbaa370"} 
[2026-09-04 19:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 19:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863823616001,"66":27267,"110":206,"83":43008,"24":25,"16":398507767465246720,"44":-1609403517532362752},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-04 19:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863823616001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:34:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 19:34:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398507767465246720,"km_value":398507767465246.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:34:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609403517532362752,"description":"Unknown IO ID 44"} 
[2026-09-04 19:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863823616001,"power":27267,"unknown_110":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-1609403517532362752}} 
[2026-09-04 19:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":170976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:34:09] local.INFO: GPS data processed {"connection_id":170976,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:34:09] local.INFO: Acknowledgment sent {"connection_id":170976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:34:27] local.INFO: TCP Data received {"connection_id":172374,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:34:27] local.INFO: Processing buffer {"connection_id":172374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:34:27] local.INFO: Packet analysis {"connection_id":172374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:34:27] local.INFO: Extracted packet for processing {"connection_id":172374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:34:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863735808001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788530519000,"timestamp_ms":1788530519000,"timestamp_seconds":1788530519,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb9ebd8"} 
[2026-09-04 19:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-04 19:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863735808001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863735808001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:34:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863735808001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":172374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:34:27] local.INFO: GPS data processed {"connection_id":172374,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:34:27] local.INFO: Acknowledgment sent {"connection_id":172374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:34:40] local.INFO: TCP Data received {"connection_id":170976,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbad250012ce9a400071d64280007016730..."} 
[2026-09-04 19:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbad250012ce9a400071d64280007016730..."} 
[2026-09-04 19:34:40] local.INFO: Processing buffer {"connection_id":170976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbad250012ce9a400071d64280007016730..."} 
[2026-09-04 19:34:40] local.INFO: Packet analysis {"connection_id":170976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cba"} 
[2026-09-04 19:34:40] local.INFO: Extracted packet for processing {"connection_id":170976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cba"} 
[2026-09-04 19:34:40] local.INFO: GPS Element Parsed {"raw_longitude":753509376,"raw_latitude":119366696,"longitude_deg":75.3509376,"latitude_deg":11.9366696,"altitude":7,"angle":359,"satellites":48,"speed":34,"hex_longitude":"2ce9a400","hex_latitude":"071d6428","is_valid_coordinates":true} 
[2026-09-04 19:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863824896001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398508205551910912,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609684992508463104,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788530578000,"timestamp_ms":1788530578000,"timestamp_seconds":1788530578,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbad250"} 
[2026-09-04 19:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 19:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":170976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":170976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":170976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863824896001,"66":27234,"76":206,"83":43008,"24":34,"16":398508205551910912,"44":-1609684992508463104},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-04 19:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863824896001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:34:40] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-04 19:34:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398508205551910912,"km_value":398508205551910.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609684992508463104,"description":"Unknown IO ID 44"} 
[2026-09-04 19:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863824896001,"power":27234,"unknown_76":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1609684992508463104}} 
[2026-09-04 19:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":170976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:34:40] local.INFO: GPS data processed {"connection_id":170976,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:34:40] local.INFO: Acknowledgment sent {"connection_id":170976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:34:47] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:34:47] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:34:47] local.INFO: IMEI packet received {"connection_id":172375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":172375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:34:47] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:34:47] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:34:47] local.INFO: IMEI packet received {"connection_id":172375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":172375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:34:48] local.INFO: TCP Data received {"connection_id":172376,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:34:48] local.INFO: Processing buffer {"connection_id":172376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:34:48] local.INFO: IMEI packet received {"connection_id":172376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":172376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:34:52] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:34:52] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:34:52] local.INFO: IMEI packet received {"connection_id":172375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":172375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:34:53] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbba928012d193ac00720b330002c008528..."} 
[2026-09-04 19:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbba928012d193ac00720b330002c008528..."} 
[2026-09-04 19:34:53] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbba928012d193ac00720b330002c008528..."} 
[2026-09-04 19:34:53] local.INFO: Packet analysis {"connection_id":172375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbb"} 
[2026-09-04 19:34:53] local.INFO: Extracted packet for processing {"connection_id":172375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbb"} 
[2026-09-04 19:34:53] local.INFO: GPS Element Parsed {"raw_longitude":756628160,"raw_latitude":119583536,"longitude_deg":75.662816,"latitude_deg":11.9583536,"altitude":44,"angle":133,"satellites":40,"speed":5,"hex_longitude":"2d193ac0","hex_latitude":"0720b330","is_valid_coordinates":true} 
[2026-09-04 19:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863841024001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17399264703414272,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817483955234187264,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788530633000,"timestamp_ms":1788530633000,"timestamp_seconds":1788530633,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbba928"} 
[2026-09-04 19:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 19:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863841024001,"66":13678,"103":206,"83":41984,"24":5,"16":17399264703414272,"45":1817483955234187264},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863841024001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:34:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:34:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17399264703414272,"km_value":17399264703414.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817483955234187264,"description":"Unknown IO ID 45"} 
[2026-09-04 19:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863841024001,"power":13678,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1817483955234187264}} 
[2026-09-04 19:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":172375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:34:54] local.INFO: GPS data processed {"connection_id":172375,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:34:54] local.INFO: Acknowledgment sent {"connection_id":172375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:34:54] local.INFO: TCP Data received {"connection_id":172376,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:34:54] local.INFO: Processing buffer {"connection_id":172376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:34:54] local.INFO: IMEI packet received {"connection_id":172376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":172376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:34:55] local.INFO: TCP Data received {"connection_id":172376,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:34:55] local.INFO: Processing buffer {"connection_id":172376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:34:55] local.INFO: Packet analysis {"connection_id":172376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:34:55] local.INFO: Extracted packet for processing {"connection_id":172376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:34:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863735808001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788530519000,"timestamp_ms":1788530519000,"timestamp_seconds":1788530519,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb9ebd8"} 
[2026-09-04 19:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-04 19:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863735808001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863735808001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:34:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863735808001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":172376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764776,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:34:56] local.INFO: GPS data processed {"connection_id":172376,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:34:56] local.INFO: Acknowledgment sent {"connection_id":172376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:34:58] local.INFO: TCP Data received {"connection_id":171266,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:34:58] local.INFO: Processing buffer {"connection_id":171266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:34:58] local.INFO: IMEI packet received {"connection_id":171266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":171266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:35:04] local.INFO: TCP Data received {"connection_id":171266,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:35:04] local.INFO: Processing buffer {"connection_id":171266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:35:04] local.INFO: IMEI packet received {"connection_id":171266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":171266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:35:05] local.INFO: TCP Data received {"connection_id":171266,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbad250012ce9a400071d64280007016730..."} 
[2026-09-04 19:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbad250012ce9a400071d64280007016730..."} 
[2026-09-04 19:35:05] local.INFO: Processing buffer {"connection_id":171266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbad250012ce9a400071d64280007016730..."} 
[2026-09-04 19:35:05] local.INFO: Packet analysis {"connection_id":171266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cba"} 
[2026-09-04 19:35:05] local.INFO: Extracted packet for processing {"connection_id":171266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cba"} 
[2026-09-04 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":753509376,"raw_latitude":119366696,"longitude_deg":75.3509376,"latitude_deg":11.9366696,"altitude":7,"angle":359,"satellites":48,"speed":34,"hex_longitude":"2ce9a400","hex_latitude":"071d6428","is_valid_coordinates":true} 
[2026-09-04 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863827968001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398508205551910912,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1611162736133920768,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788530578000,"timestamp_ms":1788530578000,"timestamp_seconds":1788530578,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbad250"} 
[2026-09-04 19:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 19:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863827968001,"66":27234,"76":206,"83":43008,"24":34,"16":398508205551910912,"44":-1611162736133920768},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-04 19:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863827968001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:35:05] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-04 19:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398508205551910912,"km_value":398508205551910.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1611162736133920768,"description":"Unknown IO ID 44"} 
[2026-09-04 19:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863827968001,"power":27234,"unknown_76":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1611162736133920768}} 
[2026-09-04 19:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":171266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:35:05] local.INFO: GPS data processed {"connection_id":171266,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:35:05] local.INFO: Acknowledgment sent {"connection_id":171266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:35:24] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbbb8c8012d193e400720b0b8002c00732a..."} 
[2026-09-04 19:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbbb8c8012d193e400720b0b8002c00732a..."} 
[2026-09-04 19:35:24] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbbb8c8012d193e400720b0b8002c00732a..."} 
[2026-09-04 19:35:24] local.INFO: Packet analysis {"connection_id":172375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbb"} 
[2026-09-04 19:35:24] local.INFO: Extracted packet for processing {"connection_id":172375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbb"} 
[2026-09-04 19:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756629056,"raw_latitude":119582904,"longitude_deg":75.6629056,"latitude_deg":11.9582904,"altitude":44,"angle":115,"satellites":42,"speed":16,"hex_longitude":"2d193e40","hex_latitude":"0720b0b8","is_valid_coordinates":true} 
[2026-09-04 19:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863842048001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17399316243021824,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817976536443334656,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788530637000,"timestamp_ms":1788530637000,"timestamp_seconds":1788530637,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbbb8c8"} 
[2026-09-04 19:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-04 19:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863842048001,"66":13656,"103":206,"83":41984,"24":16,"16":17399316243021824,"45":1817976536443334656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863842048001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:35:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:35:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17399316243021824,"km_value":17399316243021.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817976536443334656,"description":"Unknown IO ID 45"} 
[2026-09-04 19:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863842048001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1817976536443334656}} 
[2026-09-04 19:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":172375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:35:25] local.INFO: GPS data processed {"connection_id":172375,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:35:25] local.INFO: Acknowledgment sent {"connection_id":172375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:35:27] local.INFO: TCP Data received {"connection_id":172376,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:35:27] local.INFO: Processing buffer {"connection_id":172376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:35:27] local.INFO: Packet analysis {"connection_id":172376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:35:27] local.INFO: Extracted packet for processing {"connection_id":172376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:35:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863735808001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788530519000,"timestamp_ms":1788530519000,"timestamp_seconds":1788530519,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb9ebd8"} 
[2026-09-04 19:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-04 19:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863735808001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863735808001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:35:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:35:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863735808001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":172376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764779,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:35:27] local.INFO: GPS data processed {"connection_id":172376,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:35:27] local.INFO: Acknowledgment sent {"connection_id":172376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:35:41] local.INFO: TCP Data received {"connection_id":171266,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbc7060012cea22c0071e9e10000800a22f..."} 
[2026-09-04 19:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbc7060012cea22c0071e9e10000800a22f..."} 
[2026-09-04 19:35:41] local.INFO: Processing buffer {"connection_id":171266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbc7060012cea22c0071e9e10000800a22f..."} 
[2026-09-04 19:35:41] local.INFO: Packet analysis {"connection_id":171266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbc"} 
[2026-09-04 19:35:41] local.INFO: Extracted packet for processing {"connection_id":171266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbc"} 
[2026-09-04 19:35:41] local.INFO: GPS Element Parsed {"raw_longitude":753541824,"raw_latitude":119447056,"longitude_deg":75.3541824,"latitude_deg":11.9447056,"altitude":8,"angle":162,"satellites":47,"speed":6,"hex_longitude":"2cea22c0","hex_latitude":"071e9e10","is_valid_coordinates":true} 
[2026-09-04 19:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863854848001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398512534878945280,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1575626520303577088,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788530684000,"timestamp_ms":1788530684000,"timestamp_seconds":1788530684,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbc7060"} 
[2026-09-04 19:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 19:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863854848001,"66":27321,"68":206,"83":43008,"24":6,"16":398512534878945280,"44":-1575626520303577088},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-04 19:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863854848001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:35:41] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-04 19:35:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398512534878945280,"km_value":398512534878945.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1575626520303577088,"description":"Unknown IO ID 44"} 
[2026-09-04 19:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863854848001,"power":27321,"unknown_68":206,"unknown_83":43008,"ignition":6,"odometer":null,"unknown_44":-1575626520303577088}} 
[2026-09-04 19:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":171266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:35:41] local.INFO: GPS data processed {"connection_id":171266,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:35:41] local.INFO: Acknowledgment sent {"connection_id":171266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:35:47] local.INFO: TCP Data received {"connection_id":170977,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:35:47] local.INFO: Processing buffer {"connection_id":170977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:35:47] local.INFO: IMEI packet received {"connection_id":170977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":170977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:35:48] local.INFO: TCP Data received {"connection_id":172377,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:35:48] local.INFO: Processing buffer {"connection_id":172377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:35:48] local.INFO: IMEI packet received {"connection_id":172377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":172377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:35:51] local.INFO: TCP Data received {"connection_id":170977,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:35:51] local.INFO: Processing buffer {"connection_id":170977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:35:51] local.INFO: IMEI packet received {"connection_id":170977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":170977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:35:52] local.INFO: TCP Data received {"connection_id":170977,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbcba98012d195b400720a9c0002f00ac2a..."} 
[2026-09-04 19:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbcba98012d195b400720a9c0002f00ac2a..."} 
[2026-09-04 19:35:52] local.INFO: Processing buffer {"connection_id":170977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbcba98012d195b400720a9c0002f00ac2a..."} 
[2026-09-04 19:35:52] local.INFO: Packet analysis {"connection_id":170977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbc"} 
[2026-09-04 19:35:52] local.INFO: Extracted packet for processing {"connection_id":170977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbc"} 
[2026-09-04 19:35:52] local.INFO: GPS Element Parsed {"raw_longitude":756636480,"raw_latitude":119581120,"longitude_deg":75.663648,"latitude_deg":11.958112,"altitude":47,"angle":172,"satellites":42,"speed":5,"hex_longitude":"2d195b40","hex_latitude":"0720a9c0","is_valid_coordinates":true} 
[2026-09-04 19:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863859712001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17399694200143872,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827054104441667584,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788530703000,"timestamp_ms":1788530703000,"timestamp_seconds":1788530703,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbcba98"} 
[2026-09-04 19:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-04 19:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":170977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":170977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":170977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863859712001,"66":13493,"103":206,"83":41984,"24":5,"16":17399694200143872,"45":1827054104441667584},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863859712001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:35:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:35:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17399694200143872,"km_value":17399694200143.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827054104441667584,"description":"Unknown IO ID 45"} 
[2026-09-04 19:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863859712001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1827054104441667584}} 
[2026-09-04 19:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":170977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:35:52] local.INFO: GPS data processed {"connection_id":170977,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:35:52] local.INFO: Acknowledgment sent {"connection_id":170977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:35:53] local.INFO: TCP Data received {"connection_id":172377,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:35:53] local.INFO: Processing buffer {"connection_id":172377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:35:53] local.INFO: IMEI packet received {"connection_id":172377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":172377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:35:55] local.INFO: TCP Data received {"connection_id":172377,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:35:55] local.INFO: Processing buffer {"connection_id":172377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:35:55] local.INFO: Packet analysis {"connection_id":172377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:35:55] local.INFO: Extracted packet for processing {"connection_id":172377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863735808001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788530519000,"timestamp_ms":1788530519000,"timestamp_seconds":1788530519,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb9ebd8"} 
[2026-09-04 19:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-04 19:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863735808001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863735808001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:35:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863735808001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":172377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764782,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:35:55] local.INFO: GPS data processed {"connection_id":172377,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:35:55] local.INFO: Acknowledgment sent {"connection_id":172377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:36:04] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:36:04] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:36:04] local.INFO: IMEI packet received {"connection_id":172378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":172378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:36:05] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:36:05] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:36:05] local.INFO: IMEI packet received {"connection_id":172378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":172378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:36:08] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:36:08] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:36:08] local.INFO: IMEI packet received {"connection_id":172378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":172378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:36:10] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbc7c18012cea2300071e9bb8000700b130..."} 
[2026-09-04 19:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbc7c18012cea2300071e9bb8000700b130..."} 
[2026-09-04 19:36:10] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbc7c18012cea2300071e9bb8000700b130..."} 
[2026-09-04 19:36:10] local.INFO: Packet analysis {"connection_id":172378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbc"} 
[2026-09-04 19:36:10] local.INFO: Extracted packet for processing {"connection_id":172378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbc"} 
[2026-09-04 19:36:10] local.INFO: GPS Element Parsed {"raw_longitude":753541888,"raw_latitude":119446456,"longitude_deg":75.3541888,"latitude_deg":11.9446456,"altitude":7,"angle":177,"satellites":48,"speed":11,"hex_longitude":"2cea2300","hex_latitude":"071e9bb8","is_valid_coordinates":true} 
[2026-09-04 19:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863855104001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398512564943716352,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1575485782815272960,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788530687000,"timestamp_ms":1788530687000,"timestamp_seconds":1788530687,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbc7c18"} 
[2026-09-04 19:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 19:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863855104001,"66":27213,"68":206,"83":43008,"24":11,"16":398512564943716352,"44":-1575485782815272960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-04 19:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863855104001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:36:10] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-04 19:36:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398512564943716352,"km_value":398512564943716.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1575485782815272960,"description":"Unknown IO ID 44"} 
[2026-09-04 19:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863855104001,"power":27213,"unknown_68":206,"unknown_83":43008,"ignition":11,"odometer":null,"unknown_44":-1575485782815272960}} 
[2026-09-04 19:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":172378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:36:10] local.INFO: GPS data processed {"connection_id":172378,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:36:10] local.INFO: Acknowledgment sent {"connection_id":172378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:36:11] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbc8000012cea2300071e9a50000700bd30..."} 
[2026-09-04 19:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbc8000012cea2300071e9a50000700bd30..."} 
[2026-09-04 19:36:11] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbc8000012cea2300071e9a50000700bd30..."} 
[2026-09-04 19:36:11] local.INFO: Packet analysis {"connection_id":172378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbc"} 
[2026-09-04 19:36:11] local.INFO: Extracted packet for processing {"connection_id":172378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbc"} 
[2026-09-04 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":753541888,"raw_latitude":119446096,"longitude_deg":75.3541888,"latitude_deg":11.9446096,"altitude":7,"angle":189,"satellites":48,"speed":15,"hex_longitude":"2cea2300","hex_latitude":"071e9a50","is_valid_coordinates":true} 
[2026-09-04 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863855872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398512582123585536,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1575415414071248896,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788530688000,"timestamp_ms":1788530688000,"timestamp_seconds":1788530688,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbc8000"} 
[2026-09-04 19:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 19:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863855872001,"66":27213,"68":206,"83":43008,"24":15,"16":398512582123585536,"44":-1575415414071248896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-04 19:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863855872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:36:11] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-04 19:36:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398512582123585536,"km_value":398512582123585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:36:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1575415414071248896,"description":"Unknown IO ID 44"} 
[2026-09-04 19:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863855872001,"power":27213,"unknown_68":206,"unknown_83":43008,"ignition":15,"odometer":null,"unknown_44":-1575415414071248896}} 
[2026-09-04 19:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":172378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:36:11] local.INFO: GPS data processed {"connection_id":172378,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:36:11] local.INFO: Acknowledgment sent {"connection_id":172378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:36:23] local.INFO: TCP Data received {"connection_id":170977,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbd33b0012d194fc0072094a0002a00a127..."} 
[2026-09-04 19:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbd33b0012d194fc0072094a0002a00a127..."} 
[2026-09-04 19:36:23] local.INFO: Processing buffer {"connection_id":170977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbd33b0012d194fc0072094a0002a00a127..."} 
[2026-09-04 19:36:23] local.INFO: Packet analysis {"connection_id":170977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbd"} 
[2026-09-04 19:36:23] local.INFO: Extracted packet for processing {"connection_id":170977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbd"} 
[2026-09-04 19:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756633536,"raw_latitude":119575712,"longitude_deg":75.6633536,"latitude_deg":11.9575712,"altitude":42,"angle":161,"satellites":39,"speed":12,"hex_longitude":"2d194fc0","hex_latitude":"072094a0","is_valid_coordinates":true} 
[2026-09-04 19:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863867648001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17400033502560256,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823817142208151552,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788530734000,"timestamp_ms":1788530734000,"timestamp_seconds":1788530734,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbd33b0"} 
[2026-09-04 19:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-04 19:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":170977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":170977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":170977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863867648001,"66":13537,"103":206,"83":41984,"24":12,"16":17400033502560256,"45":1823817142208151552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863867648001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:36:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17400033502560256,"km_value":17400033502560.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823817142208151552,"description":"Unknown IO ID 45"} 
[2026-09-04 19:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863867648001,"power":13537,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1823817142208151552}} 
[2026-09-04 19:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":170977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:36:23] local.INFO: GPS data processed {"connection_id":170977,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:36:23] local.INFO: Acknowledgment sent {"connection_id":170977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:36:27] local.INFO: TCP Data received {"connection_id":172377,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:36:27] local.INFO: Processing buffer {"connection_id":172377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:36:27] local.INFO: Packet analysis {"connection_id":172377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:36:27] local.INFO: Extracted packet for processing {"connection_id":172377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:36:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863735808001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788530519000,"timestamp_ms":1788530519000,"timestamp_seconds":1788530519,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb9ebd8"} 
[2026-09-04 19:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-04 19:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863735808001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863735808001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:36:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:36:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863735808001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":172377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:36:27] local.INFO: GPS data processed {"connection_id":172377,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:36:27] local.INFO: Acknowledgment sent {"connection_id":172377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:36:32] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbcaee0012cea1bc0071e7770000700bc31..."} 
[2026-09-04 19:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbcaee0012cea1bc0071e7770000700bc31..."} 
[2026-09-04 19:36:32] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbcaee0012cea1bc0071e7770000700bc31..."} 
[2026-09-04 19:36:32] local.INFO: Packet analysis {"connection_id":172378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbc"} 
[2026-09-04 19:36:32] local.INFO: Extracted packet for processing {"connection_id":172378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbc"} 
[2026-09-04 19:36:32] local.INFO: GPS Element Parsed {"raw_longitude":753540032,"raw_latitude":119437168,"longitude_deg":75.3540032,"latitude_deg":11.9437168,"altitude":7,"angle":188,"satellites":49,"speed":41,"hex_longitude":"2cea1bc0","hex_latitude":"071e7770","is_valid_coordinates":true} 
[2026-09-04 19:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863856128001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398513024505217024,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1575415414071341056,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788530700000,"timestamp_ms":1788530700000,"timestamp_seconds":1788530700,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbcaee0"} 
[2026-09-04 19:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 19:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863856128001,"66":27376,"68":206,"83":43008,"24":41,"16":398513024505217024,"44":-1575415414071341056},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-04 19:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863856128001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:36:32] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-04 19:36:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398513024505217024,"km_value":398513024505217.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:36:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1575415414071341056,"description":"Unknown IO ID 44"} 
[2026-09-04 19:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863856128001,"power":27376,"unknown_68":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-1575415414071341056}} 
[2026-09-04 19:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":172378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:36:32] local.INFO: GPS data processed {"connection_id":172378,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:36:32] local.INFO: Acknowledgment sent {"connection_id":172378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:36:46] local.INFO: TCP Data received {"connection_id":173668,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:36:46] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:36:46] local.INFO: IMEI packet received {"connection_id":173668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":173668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:36:47] local.INFO: TCP Data received {"connection_id":173668,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:36:47] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:36:47] local.INFO: IMEI packet received {"connection_id":173668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":173668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:36:48] local.INFO: TCP Data received {"connection_id":171267,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:36:48] local.INFO: Processing buffer {"connection_id":171267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:36:48] local.INFO: IMEI packet received {"connection_id":171267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":171267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:36:52] local.INFO: TCP Data received {"connection_id":173668,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:36:52] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:36:52] local.INFO: IMEI packet received {"connection_id":173668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":173668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:36:53] local.INFO: TCP Data received {"connection_id":173668,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbd3798012d195040072093b0002a008b27..."} 
[2026-09-04 19:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbd3798012d195040072093b0002a008b27..."} 
[2026-09-04 19:36:53] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbd3798012d195040072093b0002a008b27..."} 
[2026-09-04 19:36:53] local.INFO: Packet analysis {"connection_id":173668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbd"} 
[2026-09-04 19:36:53] local.INFO: Extracted packet for processing {"connection_id":173668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbd"} 
[2026-09-04 19:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119575472,"longitude_deg":75.6633664,"latitude_deg":11.9575472,"altitude":42,"angle":139,"satellites":39,"speed":11,"hex_longitude":"2d195040","hex_latitude":"072093b0","is_valid_coordinates":true} 
[2026-09-04 19:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863867904001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17400046387462144,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823887510952255488,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788530735000,"timestamp_ms":1788530735000,"timestamp_seconds":1788530735,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbd3798"} 
[2026-09-04 19:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-04 19:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863867904001,"66":13537,"103":206,"83":41984,"24":11,"16":17400046387462144,"45":1823887510952255488},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863867904001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:36:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:36:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17400046387462144,"km_value":17400046387462.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823887510952255488,"description":"Unknown IO ID 45"} 
[2026-09-04 19:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863867904001,"power":13537,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1823887510952255488}} 
[2026-09-04 19:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":173668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:36:53] local.INFO: GPS data processed {"connection_id":173668,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:36:53] local.INFO: Acknowledgment sent {"connection_id":173668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:36:53] local.INFO: TCP Data received {"connection_id":171267,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:36:53] local.INFO: Processing buffer {"connection_id":171267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:36:53] local.INFO: IMEI packet received {"connection_id":171267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":171267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:36:55] local.INFO: TCP Data received {"connection_id":171267,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:36:55] local.INFO: Processing buffer {"connection_id":171267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:36:55] local.INFO: Packet analysis {"connection_id":171267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:36:55] local.INFO: Extracted packet for processing {"connection_id":171267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:36:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863735808001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788530519000,"timestamp_ms":1788530519000,"timestamp_seconds":1788530519,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb9ebd8"} 
[2026-09-04 19:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-04 19:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863735808001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863735808001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:36:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863735808001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":171267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764789,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:36:55] local.INFO: GPS data processed {"connection_id":171267,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:36:55] local.INFO: Acknowledgment sent {"connection_id":171267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:37:24] local.INFO: TCP Data received {"connection_id":173668,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbd3b80012d195140072092f0002a007f27..."} 
[2026-09-04 19:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbd3b80012d195140072092f0002a007f27..."} 
[2026-09-04 19:37:24] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbd3b80012d195140072092f0002a007f27..."} 
[2026-09-04 19:37:24] local.INFO: Packet analysis {"connection_id":173668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbd"} 
[2026-09-04 19:37:24] local.INFO: Extracted packet for processing {"connection_id":173668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbd"} 
[2026-09-04 19:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756633920,"raw_latitude":119575280,"longitude_deg":75.663392,"latitude_deg":11.957528,"altitude":42,"angle":127,"satellites":39,"speed":11,"hex_longitude":"2d195140","hex_latitude":"072092f0","is_valid_coordinates":true} 
[2026-09-04 19:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863868160001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17400059272364032,"note":"Value kept but may cause issues"} 
[2026-09-04 19:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824028248440549376,"note":"Value kept but may cause issues"} 
[2026-09-04 19:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788530736000,"timestamp_ms":1788530736000,"timestamp_seconds":1788530736,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbd3b80"} 
[2026-09-04 19:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-04 19:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863868160001,"66":12515,"103":206,"83":41984,"24":11,"16":17400059272364032,"45":1824028248440549376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863868160001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:37:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:37:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17400059272364032,"km_value":17400059272364.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824028248440549376,"description":"Unknown IO ID 45"} 
[2026-09-04 19:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863868160001,"power":12515,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1824028248440549376}} 
[2026-09-04 19:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":173668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:37:24] local.INFO: GPS data processed {"connection_id":173668,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:37:24] local.INFO: Acknowledgment sent {"connection_id":173668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:37:27] local.INFO: TCP Data received {"connection_id":171267,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:37:27] local.INFO: Processing buffer {"connection_id":171267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cb9ebd8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:37:27] local.INFO: Packet analysis {"connection_id":171267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:37:27] local.INFO: Extracted packet for processing {"connection_id":171267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cb9"} 
[2026-09-04 19:37:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863735808001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788530519000,"timestamp_ms":1788530519000,"timestamp_seconds":1788530519,"priority":1,"record_length":96,"hex_timestamp":"000001a06cb9ebd8"} 
[2026-09-04 19:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-04 19:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863735808001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863735808001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:37:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:37:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863735808001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":171267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764791,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:37:27] local.INFO: GPS data processed {"connection_id":171267,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:37:27] local.INFO: Acknowledgment sent {"connection_id":171267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:37:28] local.INFO: TCP Data received {"connection_id":171268,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:37:28] local.INFO: Processing buffer {"connection_id":171268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:37:28] local.INFO: IMEI packet received {"connection_id":171268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":171268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:37:34] local.INFO: TCP Data received {"connection_id":171268,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:37:34] local.INFO: Processing buffer {"connection_id":171268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:37:34] local.INFO: IMEI packet received {"connection_id":171268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":171268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:37:35] local.INFO: TCP Data received {"connection_id":171268,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbcce20012cea1800071e5420000700b72d..."} 
[2026-09-04 19:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbcce20012cea1800071e5420000700b72d..."} 
[2026-09-04 19:37:35] local.INFO: Processing buffer {"connection_id":171268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbcce20012cea1800071e5420000700b72d..."} 
[2026-09-04 19:37:35] local.INFO: Packet analysis {"connection_id":171268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbc"} 
[2026-09-04 19:37:35] local.INFO: Extracted packet for processing {"connection_id":171268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbc"} 
[2026-09-04 19:37:35] local.INFO: GPS Element Parsed {"raw_longitude":753539072,"raw_latitude":119428128,"longitude_deg":75.3539072,"latitude_deg":11.9428128,"altitude":7,"angle":183,"satellites":45,"speed":45,"hex_longitude":"2cea1800","hex_latitude":"071e5420","is_valid_coordinates":true} 
[2026-09-04 19:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863859200001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398513462591881216,"note":"Value kept but may cause issues"} 
[2026-09-04 19:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1577456107654778880,"note":"Value kept but may cause issues"} 
[2026-09-04 19:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788530708000,"timestamp_ms":1788530708000,"timestamp_seconds":1788530708,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbcce20"} 
[2026-09-04 19:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 19:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863859200001,"66":27332,"109":206,"83":43008,"24":45,"16":398513462591881216,"44":-1577456107654778880},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-04 19:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863859200001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:37:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-04 19:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398513462591881216,"km_value":398513462591881.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1577456107654778880,"description":"Unknown IO ID 44"} 
[2026-09-04 19:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863859200001,"power":27332,"unknown_109":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1577456107654778880}} 
[2026-09-04 19:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":171268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:37:35] local.INFO: GPS data processed {"connection_id":171268,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:37:35] local.INFO: Acknowledgment sent {"connection_id":171268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:37:47] local.INFO: TCP Data received {"connection_id":172379,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:37:47] local.INFO: Processing buffer {"connection_id":172379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:37:47] local.INFO: IMEI packet received {"connection_id":172379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":172379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:37:48] local.INFO: TCP Data received {"connection_id":172379,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:37:48] local.INFO: Processing buffer {"connection_id":172379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:37:48] local.INFO: IMEI packet received {"connection_id":172379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":172379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:37:52] local.INFO: TCP Data received {"connection_id":172379,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:37:52] local.INFO: Processing buffer {"connection_id":172379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:37:52] local.INFO: IMEI packet received {"connection_id":172379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":172379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:37:52] local.INFO: TCP Data received {"connection_id":172379,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbe7018012d196d4007203828002a00ad2a..."} 
[2026-09-04 19:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbe7018012d196d4007203828002a00ad2a..."} 
[2026-09-04 19:37:52] local.INFO: Processing buffer {"connection_id":172379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbe7018012d196d4007203828002a00ad2a..."} 
[2026-09-04 19:37:52] local.INFO: Packet analysis {"connection_id":172379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:37:52] local.INFO: Extracted packet for processing {"connection_id":172379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756641088,"raw_latitude":119552040,"longitude_deg":75.6641088,"latitude_deg":11.955204,"altitude":42,"angle":173,"satellites":42,"speed":10,"hex_longitude":"2d196d40","hex_latitude":"07203828","is_valid_coordinates":true} 
[2026-09-04 19:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863886336001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17401300517912576,"note":"Value kept but may cause issues"} 
[2026-09-04 19:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832402128992581632,"note":"Value kept but may cause issues"} 
[2026-09-04 19:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788530815000,"timestamp_ms":1788530815000,"timestamp_seconds":1788530815,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbe7018"} 
[2026-09-04 19:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-04 19:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863886336001,"66":13472,"103":206,"83":41984,"24":10,"16":17401300517912576,"45":1832402128992581632},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863886336001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:37:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:37:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17401300517912576,"km_value":17401300517912.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832402128992581632,"description":"Unknown IO ID 45"} 
[2026-09-04 19:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863886336001,"power":13472,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1832402128992581632}} 
[2026-09-04 19:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":172379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:37:52] local.INFO: GPS data processed {"connection_id":172379,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:37:52] local.INFO: Acknowledgment sent {"connection_id":172379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:37:54] local.INFO: TCP Data received {"connection_id":172380,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:37:54] local.INFO: Processing buffer {"connection_id":172380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:37:54] local.INFO: IMEI packet received {"connection_id":172380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":172380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:37:58] local.INFO: TCP Data received {"connection_id":172380,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:37:58] local.INFO: Processing buffer {"connection_id":172380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:37:58] local.INFO: IMEI packet received {"connection_id":172380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":172380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:38:00] local.INFO: TCP Data received {"connection_id":172380,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:38:00] local.INFO: Processing buffer {"connection_id":172380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:38:00] local.INFO: Packet analysis {"connection_id":172380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:38:00] local.INFO: Extracted packet for processing {"connection_id":172380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:38:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863812864001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788530820000,"timestamp_ms":1788530820000,"timestamp_seconds":1788530820,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbe83a0"} 
[2026-09-04 19:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863812864001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863812864001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:38:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:38:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863812864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":172380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:38:00] local.INFO: GPS data processed {"connection_id":172380,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:38:00] local.INFO: Acknowledgment sent {"connection_id":172380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:38:04] local.INFO: TCP Data received {"connection_id":170978,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:38:04] local.INFO: Processing buffer {"connection_id":170978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:38:04] local.INFO: IMEI packet received {"connection_id":170978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":170978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:38:08] local.INFO: TCP Data received {"connection_id":170978,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:38:08] local.INFO: Processing buffer {"connection_id":170978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:38:08] local.INFO: IMEI packet received {"connection_id":170978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":170978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:38:09] local.INFO: TCP Data received {"connection_id":170978,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbced60012cea1580071e2ea0000600b62f..."} 
[2026-09-04 19:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbced60012cea1580071e2ea0000600b62f..."} 
[2026-09-04 19:38:09] local.INFO: Processing buffer {"connection_id":170978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbced60012cea1580071e2ea0000600b62f..."} 
[2026-09-04 19:38:09] local.INFO: Packet analysis {"connection_id":170978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbc"} 
[2026-09-04 19:38:09] local.INFO: Extracted packet for processing {"connection_id":170978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbc"} 
[2026-09-04 19:38:09] local.INFO: GPS Element Parsed {"raw_longitude":753538432,"raw_latitude":119418528,"longitude_deg":75.3538432,"latitude_deg":11.9418528,"altitude":6,"angle":182,"satellites":47,"speed":48,"hex_longitude":"2cea1580","hex_latitude":"071e2ea0","is_valid_coordinates":true} 
[2026-09-04 19:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863861248001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398513930743316480,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1578511638819758080,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788530716000,"timestamp_ms":1788530716000,"timestamp_seconds":1788530716,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbced60"} 
[2026-09-04 19:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863861248001,"66":27213,"109":206,"83":43008,"24":48,"16":398513930743316480,"44":-1578511638819758080},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-04 19:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863861248001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:38:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-04 19:38:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398513930743316480,"km_value":398513930743316.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:38:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1578511638819758080,"description":"Unknown IO ID 44"} 
[2026-09-04 19:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863861248001,"power":27213,"unknown_109":206,"unknown_83":43008,"ignition":48,"odometer":null,"unknown_44":-1578511638819758080}} 
[2026-09-04 19:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":170978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:38:09] local.INFO: GPS data processed {"connection_id":170978,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:38:09] local.INFO: Acknowledgment sent {"connection_id":170978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:38:10] local.INFO: TCP Data received {"connection_id":170978,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbd0ca0012cea12c0071e0788000600b730..."} 
[2026-09-04 19:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbd0ca0012cea12c0071e0788000600b730..."} 
[2026-09-04 19:38:10] local.INFO: Processing buffer {"connection_id":170978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbd0ca0012cea12c0071e0788000600b730..."} 
[2026-09-04 19:38:10] local.INFO: Packet analysis {"connection_id":170978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbd"} 
[2026-09-04 19:38:10] local.INFO: Extracted packet for processing {"connection_id":170978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbd"} 
[2026-09-04 19:38:10] local.INFO: GPS Element Parsed {"raw_longitude":753537728,"raw_latitude":119408520,"longitude_deg":75.3537728,"latitude_deg":11.940852,"altitude":6,"angle":183,"satellites":48,"speed":49,"hex_longitude":"2cea12c0","hex_latitude":"071e0788","is_valid_coordinates":true} 
[2026-09-04 19:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863863296001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398514416074620928,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579215326263992320,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788530724000,"timestamp_ms":1788530724000,"timestamp_seconds":1788530724,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbd0ca0"} 
[2026-09-04 19:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 19:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863863296001,"66":27245,"109":206,"83":43008,"24":49,"16":398514416074620928,"44":-1579215326263992320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-04 19:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863863296001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:38:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-04 19:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398514416074620928,"km_value":398514416074620.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579215326263992320,"description":"Unknown IO ID 44"} 
[2026-09-04 19:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863863296001,"power":27245,"unknown_109":206,"unknown_83":43008,"ignition":49,"odometer":null,"unknown_44":-1579215326263992320}} 
[2026-09-04 19:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":170978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:38:10] local.INFO: GPS data processed {"connection_id":170978,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:38:10] local.INFO: Acknowledgment sent {"connection_id":170978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:38:23] local.INFO: TCP Data received {"connection_id":172379,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbe8b70012d196d4007203638002d00e827..."} 
[2026-09-04 19:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbe8b70012d196d4007203638002d00e827..."} 
[2026-09-04 19:38:23] local.INFO: Processing buffer {"connection_id":172379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbe8b70012d196d4007203638002d00e827..."} 
[2026-09-04 19:38:23] local.INFO: Packet analysis {"connection_id":172379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:38:23] local.INFO: Extracted packet for processing {"connection_id":172379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756641088,"raw_latitude":119551544,"longitude_deg":75.6641088,"latitude_deg":11.9551544,"altitude":45,"angle":232,"satellites":39,"speed":8,"hex_longitude":"2d196d40","hex_latitude":"07203638","is_valid_coordinates":true} 
[2026-09-04 19:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863888640001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17401334877650944,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832191022759159808,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788530822000,"timestamp_ms":1788530822000,"timestamp_seconds":1788530822,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbe8b70"} 
[2026-09-04 19:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-04 19:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863888640001,"66":13493,"103":206,"83":41984,"24":8,"16":17401334877650944,"45":1832191022759159808},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-04 19:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863888640001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:38:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:38:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17401334877650944,"km_value":17401334877650.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832191022759159808,"description":"Unknown IO ID 45"} 
[2026-09-04 19:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863888640001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1832191022759159808}} 
[2026-09-04 19:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":172379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:38:24] local.INFO: GPS data processed {"connection_id":172379,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:38:24] local.INFO: Acknowledgment sent {"connection_id":172379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:38:31] local.INFO: TCP Data received {"connection_id":172380,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:38:31] local.INFO: Processing buffer {"connection_id":172380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:38:31] local.INFO: Packet analysis {"connection_id":172380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:38:31] local.INFO: Extracted packet for processing {"connection_id":172380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863812864001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788530820000,"timestamp_ms":1788530820000,"timestamp_seconds":1788530820,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbe83a0"} 
[2026-09-04 19:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863812864001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863812864001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:38:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863812864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":172380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764798,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:38:31] local.INFO: GPS data processed {"connection_id":172380,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:38:31] local.INFO: Acknowledgment sent {"connection_id":172380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:38:42] local.INFO: TCP Data received {"connection_id":170978,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbd2be0012cea1080071de308000600b72e..."} 
[2026-09-04 19:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbd2be0012cea1080071de308000600b72e..."} 
[2026-09-04 19:38:42] local.INFO: Processing buffer {"connection_id":170978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbd2be0012cea1080071de308000600b72e..."} 
[2026-09-04 19:38:42] local.INFO: Packet analysis {"connection_id":170978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbd"} 
[2026-09-04 19:38:42] local.INFO: Extracted packet for processing {"connection_id":170978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbd"} 
[2026-09-04 19:38:42] local.INFO: GPS Element Parsed {"raw_longitude":753537152,"raw_latitude":119399176,"longitude_deg":75.3537152,"latitude_deg":11.9399176,"altitude":6,"angle":183,"satellites":46,"speed":43,"hex_longitude":"2cea1080","hex_latitude":"071de308","is_valid_coordinates":true} 
[2026-09-04 19:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863865344001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398514871341154304,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579989382452508672,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788530732000,"timestamp_ms":1788530732000,"timestamp_seconds":1788530732,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbd2be0"} 
[2026-09-04 19:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 19:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":170978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":170978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":170978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863865344001,"66":27332,"109":206,"83":43008,"24":43,"16":398514871341154304,"44":-1579989382452508672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-04 19:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863865344001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:38:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-04 19:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-04 19:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398514871341154304,"km_value":398514871341154.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579989382452508672,"description":"Unknown IO ID 44"} 
[2026-09-04 19:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863865344001,"power":27332,"unknown_109":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1579989382452508672}} 
[2026-09-04 19:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":170978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:38:42] local.INFO: GPS data processed {"connection_id":170978,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:38:42] local.INFO: Acknowledgment sent {"connection_id":170978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:38:47] local.INFO: TCP Data received {"connection_id":172381,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:38:47] local.INFO: Processing buffer {"connection_id":172381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:38:47] local.INFO: IMEI packet received {"connection_id":172381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":172381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:38:47] local.INFO: TCP Data received {"connection_id":172381,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:38:48] local.INFO: Processing buffer {"connection_id":172381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:38:48] local.INFO: IMEI packet received {"connection_id":172381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":172381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:38:49] local.INFO: TCP Data received {"connection_id":173669,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:38:49] local.INFO: Processing buffer {"connection_id":173669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:38:49] local.INFO: IMEI packet received {"connection_id":173669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":173669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:38:49] local.INFO: TCP Data received {"connection_id":172381,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:38:49] local.INFO: Processing buffer {"connection_id":172381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:38:49] local.INFO: IMEI packet received {"connection_id":172381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":172381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:38:53] local.INFO: TCP Data received {"connection_id":173669,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:38:53] local.INFO: Processing buffer {"connection_id":173669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:38:53] local.INFO: IMEI packet received {"connection_id":173669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":173669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:38:54] local.INFO: TCP Data received {"connection_id":172381,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:38:54] local.INFO: Processing buffer {"connection_id":172381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:38:54] local.INFO: IMEI packet received {"connection_id":172381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":172381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:38:55] local.INFO: TCP Data received {"connection_id":173669,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:38:55] local.INFO: Processing buffer {"connection_id":173669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:38:55] local.INFO: Packet analysis {"connection_id":173669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:38:55] local.INFO: Extracted packet for processing {"connection_id":173669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:38:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863812864001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788530820000,"timestamp_ms":1788530820000,"timestamp_seconds":1788530820,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbe83a0"} 
[2026-09-04 19:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863812864001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863812864001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:38:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863812864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":173669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:38:55] local.INFO: GPS data processed {"connection_id":173669,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:38:55] local.INFO: Acknowledgment sent {"connection_id":173669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:39:03] local.INFO: TCP Data received {"connection_id":170979,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:39:03] local.INFO: Processing buffer {"connection_id":170979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:39:03] local.INFO: IMEI packet received {"connection_id":170979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":170979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:39:06] local.INFO: TCP Data received {"connection_id":170979,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:39:06] local.INFO: Processing buffer {"connection_id":170979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:39:06] local.INFO: IMEI packet received {"connection_id":170979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":170979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:39:07] local.INFO: TCP Data received {"connection_id":170979,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbf5690012ce9f440071c5538000a00b72f..."} 
[2026-09-04 19:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbf5690012ce9f440071c5538000a00b72f..."} 
[2026-09-04 19:39:07] local.INFO: Processing buffer {"connection_id":170979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbf5690012ce9f440071c5538000a00b72f..."} 
[2026-09-04 19:39:07] local.INFO: Packet analysis {"connection_id":170979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbf"} 
[2026-09-04 19:39:07] local.INFO: Extracted packet for processing {"connection_id":170979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbf"} 
[2026-09-04 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":753529920,"raw_latitude":119297336,"longitude_deg":75.352992,"latitude_deg":11.9297336,"altitude":10,"angle":183,"satellites":47,"speed":38,"hex_longitude":"2ce9f440","hex_latitude":"071c5538","is_valid_coordinates":true} 
[2026-09-04 19:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863900928001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398519827733413888,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587870681826529280,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788530874000,"timestamp_ms":1788530874000,"timestamp_seconds":1788530874,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbf5690"} 
[2026-09-04 19:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 19:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":170979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":170979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":170979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863900928001,"66":27267,"209":206,"83":41216,"24":38,"16":398519827733413888,"44":-1587870681826529280},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-04 19:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863900928001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:39:07] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-04 19:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398519827733413888,"km_value":398519827733413.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587870681826529280,"description":"Unknown IO ID 44"} 
[2026-09-04 19:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863900928001,"power":27267,"unknown_209":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1587870681826529280}} 
[2026-09-04 19:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":170979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:39:07] local.INFO: GPS data processed {"connection_id":170979,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:39:07] local.INFO: Acknowledgment sent {"connection_id":170979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:39:09] local.INFO: TCP Data received {"connection_id":170979,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbf8188012ce9f480071c3160000d00b12b..."} 
[2026-09-04 19:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbf8188012ce9f480071c3160000d00b12b..."} 
[2026-09-04 19:39:09] local.INFO: Processing buffer {"connection_id":170979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbf8188012ce9f480071c3160000d00b12b..."} 
[2026-09-04 19:39:09] local.INFO: Packet analysis {"connection_id":170979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbf"} 
[2026-09-04 19:39:09] local.INFO: Extracted packet for processing {"connection_id":170979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbf"} 
[2026-09-04 19:39:09] local.INFO: GPS Element Parsed {"raw_longitude":753529984,"raw_latitude":119288160,"longitude_deg":75.3529984,"latitude_deg":11.928816,"altitude":13,"angle":177,"satellites":43,"speed":30,"hex_longitude":"2ce9f480","hex_latitude":"071c3160","is_valid_coordinates":true} 
[2026-09-04 19:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863903744001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398520270115045376,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588574369270646784,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788530885000,"timestamp_ms":1788530885000,"timestamp_seconds":1788530885,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbf8188"} 
[2026-09-04 19:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 19:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":170979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":170979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":170979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863903744001,"66":27321,"209":206,"83":41216,"24":30,"16":398520270115045376,"44":-1588574369270646784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-04 19:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863903744001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:39:09] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-04 19:39:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398520270115045376,"km_value":398520270115045.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588574369270646784,"description":"Unknown IO ID 44"} 
[2026-09-04 19:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863903744001,"power":27321,"unknown_209":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1588574369270646784}} 
[2026-09-04 19:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":170979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:39:09] local.INFO: GPS data processed {"connection_id":170979,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:39:09] local.INFO: Acknowledgment sent {"connection_id":170979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:39:26] local.INFO: TCP Data received {"connection_id":173669,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:39:26] local.INFO: Processing buffer {"connection_id":173669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:39:26] local.INFO: Packet analysis {"connection_id":173669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:39:26] local.INFO: Extracted packet for processing {"connection_id":173669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:39:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863812864001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788530820000,"timestamp_ms":1788530820000,"timestamp_seconds":1788530820,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbe83a0"} 
[2026-09-04 19:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863812864001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863812864001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:39:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:39:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863812864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":173669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:39:27] local.INFO: GPS data processed {"connection_id":173669,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:39:27] local.INFO: Acknowledgment sent {"connection_id":173669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:39:41] local.INFO: TCP Data received {"connection_id":170979,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbfac80012ce9f9c0071c1268000e00a528..."} 
[2026-09-04 19:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbfac80012ce9f9c0071c1268000e00a528..."} 
[2026-09-04 19:39:41] local.INFO: Processing buffer {"connection_id":170979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbfac80012ce9f9c0071c1268000e00a528..."} 
[2026-09-04 19:39:41] local.INFO: Packet analysis {"connection_id":170979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbf"} 
[2026-09-04 19:39:41] local.INFO: Extracted packet for processing {"connection_id":170979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbf"} 
[2026-09-04 19:39:41] local.INFO: GPS Element Parsed {"raw_longitude":753531328,"raw_latitude":119280232,"longitude_deg":75.3531328,"latitude_deg":11.9280232,"altitude":14,"angle":165,"satellites":40,"speed":30,"hex_longitude":"2ce9f9c0","hex_latitude":"071c1268","is_valid_coordinates":true} 
[2026-09-04 19:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863906560001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398520660957069312,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588504000528818176,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788530896000,"timestamp_ms":1788530896000,"timestamp_seconds":1788530896,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbfac80"} 
[2026-09-04 19:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 19:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":170979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":170979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":170979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863906560001,"66":27213,"209":206,"83":41216,"24":30,"16":398520660957069312,"44":-1588504000528818176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-04 19:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863906560001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:39:41] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-04 19:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398520660957069312,"km_value":398520660957069.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588504000528818176,"description":"Unknown IO ID 44"} 
[2026-09-04 19:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863906560001,"power":27213,"unknown_209":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1588504000528818176}} 
[2026-09-04 19:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":170979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:39:41] local.INFO: GPS data processed {"connection_id":170979,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:39:41] local.INFO: Acknowledgment sent {"connection_id":170979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:39:48] local.INFO: TCP Data received {"connection_id":171269,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:39:48] local.INFO: Processing buffer {"connection_id":171269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:39:48] local.INFO: IMEI packet received {"connection_id":171269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":171269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:39:53] local.INFO: TCP Data received {"connection_id":171269,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:39:53] local.INFO: Processing buffer {"connection_id":171269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:39:53] local.INFO: IMEI packet received {"connection_id":171269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":171269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:39:55] local.INFO: TCP Data received {"connection_id":171269,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:39:55] local.INFO: Processing buffer {"connection_id":171269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:39:55] local.INFO: Packet analysis {"connection_id":171269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:39:55] local.INFO: Extracted packet for processing {"connection_id":171269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:39:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863812864001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788530820000,"timestamp_ms":1788530820000,"timestamp_seconds":1788530820,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbe83a0"} 
[2026-09-04 19:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863812864001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863812864001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:39:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:39:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863812864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":171269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764805,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:39:55] local.INFO: GPS data processed {"connection_id":171269,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:39:55] local.INFO: Acknowledgment sent {"connection_id":171269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:39:58] local.INFO: TCP Data received {"connection_id":170980,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:39:58] local.INFO: Processing buffer {"connection_id":170980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:39:58] local.INFO: IMEI packet received {"connection_id":170980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":170980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:40:01] local.INFO: TCP Data received {"connection_id":170980,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:40:01] local.INFO: Processing buffer {"connection_id":170980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:40:01] local.INFO: IMEI packet received {"connection_id":170980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":170980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:40:03] local.INFO: TCP Data received {"connection_id":170980,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbfd778012cea04c0071beee0001100a02d..."} 
[2026-09-04 19:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbfd778012cea04c0071beee0001100a02d..."} 
[2026-09-04 19:40:03] local.INFO: Processing buffer {"connection_id":170980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbfd778012cea04c0071beee0001100a02d..."} 
[2026-09-04 19:40:03] local.INFO: Packet analysis {"connection_id":170980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbf"} 
[2026-09-04 19:40:03] local.INFO: Extracted packet for processing {"connection_id":170980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbf"} 
[2026-09-04 19:40:03] local.INFO: GPS Element Parsed {"raw_longitude":753534144,"raw_latitude":119271136,"longitude_deg":75.3534144,"latitude_deg":11.9271136,"altitude":17,"angle":160,"satellites":45,"speed":35,"hex_longitude":"2cea04c0","hex_latitude":"071beee0","is_valid_coordinates":true} 
[2026-09-04 19:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863909376001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398521124813537280,"note":"Value kept but may cause issues"} 
[2026-09-04 19:40:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587026256903116800,"note":"Value kept but may cause issues"} 
[2026-09-04 19:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788530907000,"timestamp_ms":1788530907000,"timestamp_seconds":1788530907,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbfd778"} 
[2026-09-04 19:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 19:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":170980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":170980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":170980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863909376001,"66":27376,"245":206,"83":41216,"24":35,"16":398521124813537280,"44":-1587026256903116800},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 19:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863909376001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:40:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398521124813537280,"km_value":398521124813537.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:40:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587026256903116800,"description":"Unknown IO ID 44"} 
[2026-09-04 19:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863909376001,"power":27376,"geofence_id":206,"unknown_83":41216,"ignition":35,"odometer":null,"unknown_44":-1587026256903116800}} 
[2026-09-04 19:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":170980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:40:03] local.INFO: GPS data processed {"connection_id":170980,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:40:03] local.INFO: Acknowledgment sent {"connection_id":170980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:40:26] local.INFO: TCP Data received {"connection_id":171269,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:40:26] local.INFO: Processing buffer {"connection_id":171269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:40:26] local.INFO: Packet analysis {"connection_id":171269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:40:26] local.INFO: Extracted packet for processing {"connection_id":171269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:40:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863812864001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788530820000,"timestamp_ms":1788530820000,"timestamp_seconds":1788530820,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbe83a0"} 
[2026-09-04 19:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863812864001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863812864001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:40:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:40:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863812864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":171269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:40:27] local.INFO: GPS data processed {"connection_id":171269,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:40:27] local.INFO: Acknowledgment sent {"connection_id":171269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:40:35] local.INFO: TCP Data received {"connection_id":170980,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbffe88012cea1100071bcdc8001000a231..."} 
[2026-09-04 19:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbffe88012cea1100071bcdc8001000a231..."} 
[2026-09-04 19:40:35] local.INFO: Processing buffer {"connection_id":170980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbffe88012cea1100071bcdc8001000a231..."} 
[2026-09-04 19:40:35] local.INFO: Packet analysis {"connection_id":170980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbf"} 
[2026-09-04 19:40:35] local.INFO: Extracted packet for processing {"connection_id":170980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbf"} 
[2026-09-04 19:40:35] local.INFO: GPS Element Parsed {"raw_longitude":753537280,"raw_latitude":119262664,"longitude_deg":75.353728,"latitude_deg":11.9262664,"altitude":16,"angle":162,"satellites":49,"speed":39,"hex_longitude":"2cea1100","hex_latitude":"071bcdc8","is_valid_coordinates":true} 
[2026-09-04 19:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863912192001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398521558605234176,"note":"Value kept but may cause issues"} 
[2026-09-04 19:40:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583930032161628160,"note":"Value kept but may cause issues"} 
[2026-09-04 19:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788530917000,"timestamp_ms":1788530917000,"timestamp_seconds":1788530917,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbffe88"} 
[2026-09-04 19:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 19:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863912192001,"66":27397,"245":206,"83":41216,"24":39,"16":398521558605234176,"44":-1583930032161628160},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 19:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863912192001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:40:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398521558605234176,"km_value":398521558605234.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:40:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583930032161628160,"description":"Unknown IO ID 44"} 
[2026-09-04 19:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863912192001,"power":27397,"geofence_id":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1583930032161628160}} 
[2026-09-04 19:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":170980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:40:35] local.INFO: GPS data processed {"connection_id":170980,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:40:35] local.INFO: Acknowledgment sent {"connection_id":170980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:40:53] local.INFO: TCP Data received {"connection_id":171270,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:40:53] local.INFO: Processing buffer {"connection_id":171270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:40:53] local.INFO: IMEI packet received {"connection_id":171270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":171270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:40:58] local.INFO: TCP Data received {"connection_id":171271,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:40:58] local.INFO: Processing buffer {"connection_id":171271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:40:58] local.INFO: IMEI packet received {"connection_id":171271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":171271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:40:58] local.INFO: TCP Data received {"connection_id":171270,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:40:58] local.INFO: Processing buffer {"connection_id":171270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:40:58] local.INFO: IMEI packet received {"connection_id":171270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":171270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:41:00] local.INFO: TCP Data received {"connection_id":171270,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:41:00] local.INFO: Processing buffer {"connection_id":171270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:41:00] local.INFO: Packet analysis {"connection_id":171270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:41:00] local.INFO: Extracted packet for processing {"connection_id":171270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:41:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863812864001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788530820000,"timestamp_ms":1788530820000,"timestamp_seconds":1788530820,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbe83a0"} 
[2026-09-04 19:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863812864001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863812864001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:41:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:41:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863812864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":171270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764809,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:41:00] local.INFO: GPS data processed {"connection_id":171270,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:41:00] local.INFO: Acknowledgment sent {"connection_id":171270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:41:03] local.INFO: TCP Data received {"connection_id":171271,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:41:03] local.INFO: Processing buffer {"connection_id":171271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:41:03] local.INFO: IMEI packet received {"connection_id":171271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":171271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:41:05] local.INFO: TCP Data received {"connection_id":171270,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:41:05] local.INFO: Processing buffer {"connection_id":171270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:41:05] local.INFO: Packet analysis {"connection_id":171270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:41:05] local.INFO: Extracted packet for processing {"connection_id":171270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863812864001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788530820000,"timestamp_ms":1788530820000,"timestamp_seconds":1788530820,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbe83a0"} 
[2026-09-04 19:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863812864001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863812864001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:41:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863812864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":171270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:41:05] local.INFO: GPS data processed {"connection_id":171270,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:41:05] local.INFO: Acknowledgment sent {"connection_id":171270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:41:05] local.INFO: TCP Data received {"connection_id":171271,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc021b0012cea1d80071bac50000e009f2c..."} 
[2026-09-04 19:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc021b0012cea1d80071bac50000e009f2c..."} 
[2026-09-04 19:41:05] local.INFO: Processing buffer {"connection_id":171271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc021b0012cea1d80071bac50000e009f2c..."} 
[2026-09-04 19:41:05] local.INFO: Packet analysis {"connection_id":171271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc0"} 
[2026-09-04 19:41:05] local.INFO: Extracted packet for processing {"connection_id":171271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc0"} 
[2026-09-04 19:41:05] local.INFO: GPS Element Parsed {"raw_longitude":753540480,"raw_latitude":119254096,"longitude_deg":75.354048,"latitude_deg":11.9254096,"altitude":14,"angle":159,"satellites":44,"speed":39,"hex_longitude":"2cea1d80","hex_latitude":"071bac50","is_valid_coordinates":true} 
[2026-09-04 19:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863914752001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398522000986865664,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580481963699091456,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788530926000,"timestamp_ms":1788530926000,"timestamp_seconds":1788530926,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc021b0"} 
[2026-09-04 19:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 19:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863914752001,"66":27484,"245":206,"83":41216,"24":39,"16":398522000986865664,"44":-1580481963699091456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 19:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863914752001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398522000986865664,"km_value":398522000986865.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580481963699091456,"description":"Unknown IO ID 44"} 
[2026-09-04 19:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863914752001,"power":27484,"geofence_id":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1580481963699091456}} 
[2026-09-04 19:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":171271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:41:05] local.INFO: GPS data processed {"connection_id":171271,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:41:05] local.INFO: Acknowledgment sent {"connection_id":171271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:41:37] local.INFO: TCP Data received {"connection_id":171271,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc048c0012cea2900071b8a00000c00a22e..."} 
[2026-09-04 19:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc048c0012cea2900071b8a00000c00a22e..."} 
[2026-09-04 19:41:37] local.INFO: Processing buffer {"connection_id":171271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc048c0012cea2900071b8a00000c00a22e..."} 
[2026-09-04 19:41:37] local.INFO: Packet analysis {"connection_id":171271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc0"} 
[2026-09-04 19:41:37] local.INFO: Extracted packet for processing {"connection_id":171271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc0"} 
[2026-09-04 19:41:37] local.INFO: GPS Element Parsed {"raw_longitude":753543424,"raw_latitude":119245312,"longitude_deg":75.3543424,"latitude_deg":11.9245312,"altitude":12,"angle":162,"satellites":46,"speed":37,"hex_longitude":"2cea2900","hex_latitude":"071b8a00","is_valid_coordinates":true} 
[2026-09-04 19:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863917056001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398522451958431744,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1576963526492401664,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788530936000,"timestamp_ms":1788530936000,"timestamp_seconds":1788530936,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc048c0"} 
[2026-09-04 19:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 19:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863917056001,"66":27539,"245":206,"83":41216,"24":37,"16":398522451958431744,"44":-1576963526492401664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 19:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863917056001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398522451958431744,"km_value":398522451958431.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:41:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1576963526492401664,"description":"Unknown IO ID 44"} 
[2026-09-04 19:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863917056001,"power":27539,"geofence_id":206,"unknown_83":41216,"ignition":37,"odometer":null,"unknown_44":-1576963526492401664}} 
[2026-09-04 19:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":171271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:41:37] local.INFO: GPS data processed {"connection_id":171271,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:41:37] local.INFO: Acknowledgment sent {"connection_id":171271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:41:49] local.INFO: TCP Data received {"connection_id":173671,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:41:49] local.INFO: Processing buffer {"connection_id":173671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:41:49] local.INFO: IMEI packet received {"connection_id":173671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":173671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:41:53] local.INFO: TCP Data received {"connection_id":173671,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:41:53] local.INFO: Processing buffer {"connection_id":173671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:41:53] local.INFO: IMEI packet received {"connection_id":173671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":173671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:41:55] local.INFO: TCP Data received {"connection_id":173671,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:41:55] local.INFO: Processing buffer {"connection_id":173671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:41:55] local.INFO: Packet analysis {"connection_id":173671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:41:55] local.INFO: Extracted packet for processing {"connection_id":173671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:41:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863812864001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788530820000,"timestamp_ms":1788530820000,"timestamp_seconds":1788530820,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbe83a0"} 
[2026-09-04 19:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863812864001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863812864001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:41:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863812864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":173671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764813,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:41:55] local.INFO: GPS data processed {"connection_id":173671,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:41:55] local.INFO: Acknowledgment sent {"connection_id":173671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:41:58] local.INFO: TCP Data received {"connection_id":172384,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:41:58] local.INFO: Processing buffer {"connection_id":172384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:41:58] local.INFO: IMEI packet received {"connection_id":172384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":172384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:42:03] local.INFO: TCP Data received {"connection_id":172384,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:42:03] local.INFO: Processing buffer {"connection_id":172384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:42:03] local.INFO: IMEI packet received {"connection_id":172384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":172384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:42:05] local.INFO: TCP Data received {"connection_id":172384,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc073b8012cea3400071b6748000c00a52c..."} 
[2026-09-04 19:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc073b8012cea3400071b6748000c00a52c..."} 
[2026-09-04 19:42:05] local.INFO: Processing buffer {"connection_id":172384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc073b8012cea3400071b6748000c00a52c..."} 
[2026-09-04 19:42:05] local.INFO: Packet analysis {"connection_id":172384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc0"} 
[2026-09-04 19:42:05] local.INFO: Extracted packet for processing {"connection_id":172384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc0"} 
[2026-09-04 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":753546240,"raw_latitude":119236424,"longitude_deg":75.354624,"latitude_deg":11.9236424,"altitude":12,"angle":165,"satellites":44,"speed":35,"hex_longitude":"2cea3400","hex_latitude":"071b6748","is_valid_coordinates":true} 
[2026-09-04 19:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863919616001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398522902929997824,"note":"Value kept but may cause issues"} 
[2026-09-04 19:42:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1573726564262477824,"note":"Value kept but may cause issues"} 
[2026-09-04 19:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788530947000,"timestamp_ms":1788530947000,"timestamp_seconds":1788530947,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc073b8"} 
[2026-09-04 19:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-04 19:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863919616001,"66":27397,"245":206,"83":41216,"24":35,"16":398522902929997824,"44":-1573726564262477824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 19:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863919616001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398522902929997824,"km_value":398522902929997.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:42:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1573726564262477824,"description":"Unknown IO ID 44"} 
[2026-09-04 19:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863919616001,"power":27397,"geofence_id":206,"unknown_83":41216,"ignition":35,"odometer":null,"unknown_44":-1573726564262477824}} 
[2026-09-04 19:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":172384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:42:05] local.INFO: GPS data processed {"connection_id":172384,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:42:05] local.INFO: Acknowledgment sent {"connection_id":172384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:42:26] local.INFO: TCP Data received {"connection_id":173671,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:42:26] local.INFO: Processing buffer {"connection_id":173671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cbe83a0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:42:26] local.INFO: Packet analysis {"connection_id":173671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:42:26] local.INFO: Extracted packet for processing {"connection_id":173671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cbe"} 
[2026-09-04 19:42:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863812864001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788530820000,"timestamp_ms":1788530820000,"timestamp_seconds":1788530820,"priority":1,"record_length":96,"hex_timestamp":"000001a06cbe83a0"} 
[2026-09-04 19:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863812864001,"66":25756,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863812864001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:42:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:42:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863812864001,"power":25756,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":173671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764815,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:42:27] local.INFO: GPS data processed {"connection_id":173671,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:42:27] local.INFO: Acknowledgment sent {"connection_id":173671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:42:36] local.INFO: TCP Data received {"connection_id":172384,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc0b238012cea3e40071b45b8000a00a32f..."} 
[2026-09-04 19:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc0b238012cea3e40071b45b8000a00a32f..."} 
[2026-09-04 19:42:36] local.INFO: Processing buffer {"connection_id":172384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc0b238012cea3e40071b45b8000a00a32f..."} 
[2026-09-04 19:42:36] local.INFO: Packet analysis {"connection_id":172384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc0"} 
[2026-09-04 19:42:36] local.INFO: Extracted packet for processing {"connection_id":172384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc0"} 
[2026-09-04 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":753548864,"raw_latitude":119227832,"longitude_deg":75.3548864,"latitude_deg":11.9227832,"altitude":10,"angle":163,"satellites":47,"speed":8,"hex_longitude":"2cea3e40","hex_latitude":"071b45b8","is_valid_coordinates":true} 
[2026-09-04 19:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863922432001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398523336721694720,"note":"Value kept but may cause issues"} 
[2026-09-04 19:42:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1570630339520935936,"note":"Value kept but may cause issues"} 
[2026-09-04 19:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788530963000,"timestamp_ms":1788530963000,"timestamp_seconds":1788530963,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc0b238"} 
[2026-09-04 19:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 19:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863922432001,"66":27365,"245":206,"83":41216,"24":8,"16":398523336721694720,"44":-1570630339520935936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 19:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863922432001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398523336721694720,"km_value":398523336721694.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:42:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1570630339520935936,"description":"Unknown IO ID 44"} 
[2026-09-04 19:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863922432001,"power":27365,"geofence_id":206,"unknown_83":41216,"ignition":8,"odometer":null,"unknown_44":-1570630339520935936}} 
[2026-09-04 19:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":172384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:42:36] local.INFO: GPS data processed {"connection_id":172384,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:42:36] local.INFO: Acknowledgment sent {"connection_id":172384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:42:49] local.INFO: TCP Data received {"connection_id":173673,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:42:49] local.INFO: Processing buffer {"connection_id":173673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:42:49] local.INFO: IMEI packet received {"connection_id":173673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":173673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:42:53] local.INFO: TCP Data received {"connection_id":173673,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:42:53] local.INFO: Processing buffer {"connection_id":173673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:42:53] local.INFO: IMEI packet received {"connection_id":173673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":173673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:42:55] local.INFO: TCP Data received {"connection_id":173673,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:42:55] local.INFO: Processing buffer {"connection_id":173673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:42:55] local.INFO: Packet analysis {"connection_id":173673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:42:55] local.INFO: Extracted packet for processing {"connection_id":173673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:42:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863889920001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788531121000,"timestamp_ms":1788531121000,"timestamp_seconds":1788531121,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc31b68"} 
[2026-09-04 19:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863889920001,"66":25691,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863889920001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:42:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:42:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863889920001,"power":25691,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":173673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:42:55] local.INFO: GPS data processed {"connection_id":173673,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:42:55] local.INFO: Acknowledgment sent {"connection_id":173673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:43:03] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:43:03] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:43:03] local.INFO: IMEI packet received {"connection_id":173674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":173674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:43:08] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:43:08] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:43:08] local.INFO: IMEI packet received {"connection_id":173674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":173674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:43:10] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc10440012cea42c0071b37d0000900a130..."} 
[2026-09-04 19:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc10440012cea42c0071b37d0000900a130..."} 
[2026-09-04 19:43:10] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc10440012cea42c0071b37d0000900a130..."} 
[2026-09-04 19:43:10] local.INFO: Packet analysis {"connection_id":173674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc1"} 
[2026-09-04 19:43:10] local.INFO: Extracted packet for processing {"connection_id":173674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc1"} 
[2026-09-04 19:43:10] local.INFO: GPS Element Parsed {"raw_longitude":753550016,"raw_latitude":119224272,"longitude_deg":75.3550016,"latitude_deg":11.9224272,"altitude":9,"angle":161,"satellites":48,"speed":3,"hex_longitude":"2cea42c0","hex_latitude":"071b37d0","is_valid_coordinates":true} 
[2026-09-04 19:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863926528001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398523525700255744,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1567745221011851264,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788530984000,"timestamp_ms":1788530984000,"timestamp_seconds":1788530984,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc10440"} 
[2026-09-04 19:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 19:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863926528001,"66":27332,"245":206,"83":41216,"24":3,"16":398523525700255744,"44":-1567745221011851264},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 19:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863926528001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398523525700255744,"km_value":398523525700255.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1567745221011851264,"description":"Unknown IO ID 44"} 
[2026-09-04 19:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863926528001,"power":27332,"geofence_id":206,"unknown_83":41216,"ignition":3,"odometer":null,"unknown_44":-1567745221011851264}} 
[2026-09-04 19:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":173674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:43:10] local.INFO: GPS data processed {"connection_id":173674,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:43:10] local.INFO: Acknowledgment sent {"connection_id":173674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:43:27] local.INFO: TCP Data received {"connection_id":173673,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:43:27] local.INFO: Processing buffer {"connection_id":173673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:43:27] local.INFO: Packet analysis {"connection_id":173673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:43:27] local.INFO: Extracted packet for processing {"connection_id":173673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:43:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863889920001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788531121000,"timestamp_ms":1788531121000,"timestamp_seconds":1788531121,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc31b68"} 
[2026-09-04 19:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863889920001,"66":25691,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863889920001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:43:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:43:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863889920001,"power":25691,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":173673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:43:27] local.INFO: GPS data processed {"connection_id":173673,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:43:27] local.INFO: Acknowledgment sent {"connection_id":173673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:43:41] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc15648012cea4740071b2968000a00a032..."} 
[2026-09-04 19:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc15648012cea4740071b2968000a00a032..."} 
[2026-09-04 19:43:41] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc15648012cea4740071b2968000a00a032..."} 
[2026-09-04 19:43:41] local.INFO: Packet analysis {"connection_id":173674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc1"} 
[2026-09-04 19:43:41] local.INFO: Extracted packet for processing {"connection_id":173674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc1"} 
[2026-09-04 19:43:41] local.INFO: GPS Element Parsed {"raw_longitude":753551168,"raw_latitude":119220584,"longitude_deg":75.3551168,"latitude_deg":11.9220584,"altitude":10,"angle":160,"satellites":50,"speed":9,"hex_longitude":"2cea4740","hex_latitude":"071b2968","is_valid_coordinates":true} 
[2026-09-04 19:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863931904001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398523714678816768,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1566478583617564672,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788531005000,"timestamp_ms":1788531005000,"timestamp_seconds":1788531005,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc15648"} 
[2026-09-04 19:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863931904001,"66":27332,"245":206,"83":41216,"24":9,"16":398523714678816768,"44":-1566478583617564672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 19:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863931904001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398523714678816768,"km_value":398523714678816.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1566478583617564672,"description":"Unknown IO ID 44"} 
[2026-09-04 19:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863931904001,"power":27332,"geofence_id":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1566478583617564672}} 
[2026-09-04 19:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":173674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:43:41] local.INFO: GPS data processed {"connection_id":173674,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:43:41] local.INFO: Acknowledgment sent {"connection_id":173674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:43:48] local.INFO: TCP Data received {"connection_id":172385,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:43:48] local.INFO: Processing buffer {"connection_id":172385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:43:48] local.INFO: IMEI packet received {"connection_id":172385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":172385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:43:52] local.INFO: TCP Data received {"connection_id":173675,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:43:52] local.INFO: Processing buffer {"connection_id":173675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:43:52] local.INFO: IMEI packet received {"connection_id":173675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":173675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:43:53] local.INFO: TCP Data received {"connection_id":173675,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc1b020012d1a75c0071fd1380031008d2c..."} 
[2026-09-04 19:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc1b020012d1a75c0071fd1380031008d2c..."} 
[2026-09-04 19:43:53] local.INFO: Processing buffer {"connection_id":173675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc1b020012d1a75c0071fd1380031008d2c..."} 
[2026-09-04 19:43:53] local.INFO: Packet analysis {"connection_id":173675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc1"} 
[2026-09-04 19:43:53] local.INFO: Extracted packet for processing {"connection_id":173675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc1"} 
[2026-09-04 19:43:53] local.INFO: GPS Element Parsed {"raw_longitude":756708800,"raw_latitude":119525688,"longitude_deg":75.67088,"latitude_deg":11.9525688,"altitude":49,"angle":141,"satellites":44,"speed":32,"hex_longitude":"2d1a75c0","hex_latitude":"071fd138","is_valid_coordinates":true} 
[2026-09-04 19:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863942656001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17406299859845120,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905444885441648640,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788531028000,"timestamp_ms":1788531028000,"timestamp_seconds":1788531028,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc1b020"} 
[2026-09-04 19:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-04 19:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863942656001,"66":12667,"101":206,"83":41984,"24":32,"16":17406299859845120,"45":1905444885441648640},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863942656001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:43:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:43:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17406299859845120,"km_value":17406299859845.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905444885441648640,"description":"Unknown IO ID 45"} 
[2026-09-04 19:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863942656001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1905444885441648640}} 
[2026-09-04 19:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":173675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:43:53] local.INFO: GPS data processed {"connection_id":173675,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:43:53] local.INFO: Acknowledgment sent {"connection_id":173675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:43:53] local.INFO: TCP Data received {"connection_id":172385,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:43:53] local.INFO: Processing buffer {"connection_id":172385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:43:53] local.INFO: IMEI packet received {"connection_id":172385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":172385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:43:56] local.INFO: TCP Data received {"connection_id":172385,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:43:56] local.INFO: Processing buffer {"connection_id":172385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:43:56] local.INFO: Packet analysis {"connection_id":172385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:43:56] local.INFO: Extracted packet for processing {"connection_id":172385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:43:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863889920001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788531121000,"timestamp_ms":1788531121000,"timestamp_seconds":1788531121,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc31b68"} 
[2026-09-04 19:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863889920001,"66":25691,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863889920001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:43:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:43:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863889920001,"power":25691,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":172385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764822,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:43:56] local.INFO: GPS data processed {"connection_id":172385,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:43:56] local.INFO: Acknowledgment sent {"connection_id":172385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:43:58] local.INFO: TCP Data received {"connection_id":171272,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:43:58] local.INFO: Processing buffer {"connection_id":171272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:43:58] local.INFO: IMEI packet received {"connection_id":171272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":171272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:44:03] local.INFO: TCP Data received {"connection_id":171272,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:44:03] local.INFO: Processing buffer {"connection_id":171272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:44:03] local.INFO: IMEI packet received {"connection_id":171272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":171272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:44:04] local.INFO: TCP Data received {"connection_id":171272,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc1a850012cea4c00071b17f0000900a62f..."} 
[2026-09-04 19:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc1a850012cea4c00071b17f0000900a62f..."} 
[2026-09-04 19:44:04] local.INFO: Processing buffer {"connection_id":171272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc1a850012cea4c00071b17f0000900a62f..."} 
[2026-09-04 19:44:04] local.INFO: Packet analysis {"connection_id":171272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc1"} 
[2026-09-04 19:44:04] local.INFO: Extracted packet for processing {"connection_id":171272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc1"} 
[2026-09-04 19:44:04] local.INFO: GPS Element Parsed {"raw_longitude":753552384,"raw_latitude":119216112,"longitude_deg":75.3552384,"latitude_deg":11.9216112,"altitude":9,"angle":166,"satellites":47,"speed":6,"hex_longitude":"2cea4c00","hex_latitude":"071b17f0","is_valid_coordinates":true} 
[2026-09-04 19:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863937280001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398523942312083456,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1565211946223310848,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531026000,"timestamp_ms":1788531026000,"timestamp_seconds":1788531026,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc1a850"} 
[2026-09-04 19:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863937280001,"66":27365,"245":206,"83":41216,"24":6,"16":398523942312083456,"44":-1565211946223310848},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 19:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863937280001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398523942312083456,"km_value":398523942312083.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1565211946223310848,"description":"Unknown IO ID 44"} 
[2026-09-04 19:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863937280001,"power":27365,"geofence_id":206,"unknown_83":41216,"ignition":6,"odometer":null,"unknown_44":-1565211946223310848}} 
[2026-09-04 19:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":171272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:44:04] local.INFO: GPS data processed {"connection_id":171272,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:44:04] local.INFO: Acknowledgment sent {"connection_id":171272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:44:24] local.INFO: TCP Data received {"connection_id":173675,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc1db18012d1a8a40071fb3100034009027..."} 
[2026-09-04 19:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc1db18012d1a8a40071fb3100034009027..."} 
[2026-09-04 19:44:24] local.INFO: Processing buffer {"connection_id":173675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc1db18012d1a8a40071fb3100034009027..."} 
[2026-09-04 19:44:24] local.INFO: Packet analysis {"connection_id":173675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc1"} 
[2026-09-04 19:44:24] local.INFO: Extracted packet for processing {"connection_id":173675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc1"} 
[2026-09-04 19:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756714048,"raw_latitude":119517968,"longitude_deg":75.6714048,"latitude_deg":11.9517968,"altitude":52,"angle":144,"satellites":39,"speed":34,"hex_longitude":"2d1a8a40","hex_latitude":"071fb310","is_valid_coordinates":true} 
[2026-09-04 19:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863943168001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17406750831411200,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906641154092382208,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788531039000,"timestamp_ms":1788531039000,"timestamp_seconds":1788531039,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc1db18"} 
[2026-09-04 19:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-04 19:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863943168001,"66":13993,"101":206,"83":41984,"24":34,"16":17406750831411200,"45":1906641154092382208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863943168001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:44:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17406750831411200,"km_value":17406750831411.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906641154092382208,"description":"Unknown IO ID 45"} 
[2026-09-04 19:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863943168001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1906641154092382208}} 
[2026-09-04 19:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":173675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:44:24] local.INFO: GPS data processed {"connection_id":173675,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:44:24] local.INFO: Acknowledgment sent {"connection_id":173675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:44:28] local.INFO: TCP Data received {"connection_id":172385,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:44:28] local.INFO: Processing buffer {"connection_id":172385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:44:28] local.INFO: Packet analysis {"connection_id":172385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:44:28] local.INFO: Extracted packet for processing {"connection_id":172385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:44:28] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863889920001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788531121000,"timestamp_ms":1788531121000,"timestamp_seconds":1788531121,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc31b68"} 
[2026-09-04 19:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863889920001,"66":25691,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863889920001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:44:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:44:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863889920001,"power":25691,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":172385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764825,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:44:28] local.INFO: GPS data processed {"connection_id":172385,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:44:28] local.INFO: Acknowledgment sent {"connection_id":172385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:44:35] local.INFO: TCP Data received {"connection_id":171272,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc1fa58012cea4f40071b0ce8000800a42e..."} 
[2026-09-04 19:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc1fa58012cea4f40071b0ce8000800a42e..."} 
[2026-09-04 19:44:35] local.INFO: Processing buffer {"connection_id":171272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc1fa58012cea4f40071b0ce8000800a42e..."} 
[2026-09-04 19:44:35] local.INFO: Packet analysis {"connection_id":171272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc1"} 
[2026-09-04 19:44:35] local.INFO: Extracted packet for processing {"connection_id":171272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc1"} 
[2026-09-04 19:44:35] local.INFO: GPS Element Parsed {"raw_longitude":753553216,"raw_latitude":119213288,"longitude_deg":75.3553216,"latitude_deg":11.9213288,"altitude":8,"angle":164,"satellites":46,"speed":5,"hex_longitude":"2cea4f40","hex_latitude":"071b0ce8","is_valid_coordinates":true} 
[2026-09-04 19:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863942656001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398524088340971520,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1563874940085080064,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788531047000,"timestamp_ms":1788531047000,"timestamp_seconds":1788531047,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc1fa58"} 
[2026-09-04 19:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 19:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863942656001,"66":27213,"245":206,"83":41216,"24":5,"16":398524088340971520,"44":-1563874940085080064},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 19:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863942656001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398524088340971520,"km_value":398524088340971.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:44:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1563874940085080064,"description":"Unknown IO ID 44"} 
[2026-09-04 19:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863942656001,"power":27213,"geofence_id":206,"unknown_83":41216,"ignition":5,"odometer":null,"unknown_44":-1563874940085080064}} 
[2026-09-04 19:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":171272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:44:35] local.INFO: GPS data processed {"connection_id":171272,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:44:35] local.INFO: Acknowledgment sent {"connection_id":171272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:44:47] local.INFO: TCP Data received {"connection_id":173676,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:44:47] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:44:47] local.INFO: IMEI packet received {"connection_id":173676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":173676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:44:48] local.INFO: TCP Data received {"connection_id":171273,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:44:48] local.INFO: Processing buffer {"connection_id":171273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:44:48] local.INFO: IMEI packet received {"connection_id":171273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":171273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:44:48] local.INFO: TCP Data received {"connection_id":173676,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:44:48] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:44:48] local.INFO: IMEI packet received {"connection_id":173676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":173676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:44:52] local.INFO: TCP Data received {"connection_id":173676,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:44:52] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:44:52] local.INFO: IMEI packet received {"connection_id":173676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":173676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:44:53] local.INFO: TCP Data received {"connection_id":173676,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc46f40012d1ac540071f91e8003700682a..."} 
[2026-09-04 19:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc46f40012d1ac540071f91e8003700682a..."} 
[2026-09-04 19:44:53] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc46f40012d1ac540071f91e8003700682a..."} 
[2026-09-04 19:44:53] local.INFO: Packet analysis {"connection_id":173676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc4"} 
[2026-09-04 19:44:53] local.INFO: Extracted packet for processing {"connection_id":173676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc4"} 
[2026-09-04 19:44:53] local.INFO: GPS Element Parsed {"raw_longitude":756729152,"raw_latitude":119509480,"longitude_deg":75.6729152,"latitude_deg":11.950948,"altitude":55,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d1ac540","hex_latitude":"071f91e8","is_valid_coordinates":true} 
[2026-09-04 19:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863983872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17407609824870400,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736730112,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788531208000,"timestamp_ms":1788531208000,"timestamp_seconds":1788531208,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc46f40"} 
[2026-09-04 19:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 19:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863983872001,"66":12504,"101":206,"83":41984,"24":0,"16":17407609824870400,"45":1929018414736730112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863983872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:44:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:44:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17407609824870400,"km_value":17407609824870.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736730112,"description":"Unknown IO ID 45"} 
[2026-09-04 19:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863983872001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1929018414736730112}} 
[2026-09-04 19:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":173676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:44:53] local.INFO: GPS data processed {"connection_id":173676,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:44:53] local.INFO: Acknowledgment sent {"connection_id":173676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:44:53] local.INFO: TCP Data received {"connection_id":171273,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:44:53] local.INFO: Processing buffer {"connection_id":171273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:44:53] local.INFO: IMEI packet received {"connection_id":171273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":171273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:44:55] local.INFO: TCP Data received {"connection_id":171273,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:44:55] local.INFO: Processing buffer {"connection_id":171273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:44:55] local.INFO: Packet analysis {"connection_id":171273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:44:55] local.INFO: Extracted packet for processing {"connection_id":171273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:44:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863889920001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788531121000,"timestamp_ms":1788531121000,"timestamp_seconds":1788531121,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc31b68"} 
[2026-09-04 19:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171273,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171273,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863889920001,"66":25691,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863889920001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:44:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:44:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863889920001,"power":25691,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":171273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764828,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:44:55] local.INFO: GPS data processed {"connection_id":171273,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:44:55] local.INFO: Acknowledgment sent {"connection_id":171273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:44:58] local.INFO: TCP Data received {"connection_id":172386,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:44:58] local.INFO: Processing buffer {"connection_id":172386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:44:58] local.INFO: IMEI packet received {"connection_id":172386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":172386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:45:03] local.INFO: TCP Data received {"connection_id":172386,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:45:03] local.INFO: Processing buffer {"connection_id":172386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:45:03] local.INFO: IMEI packet received {"connection_id":172386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":172386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:45:03] local.INFO: TCP Data received {"connection_id":172386,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:45:03] local.INFO: Processing buffer {"connection_id":172386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:45:03] local.INFO: IMEI packet received {"connection_id":172386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":172386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:45:04] local.INFO: TCP Data received {"connection_id":172386,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc24c60012cea5080071b0a30000800a428..."} 
[2026-09-04 19:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc24c60012cea5080071b0a30000800a428..."} 
[2026-09-04 19:45:04] local.INFO: Processing buffer {"connection_id":172386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc24c60012cea5080071b0a30000800a428..."} 
[2026-09-04 19:45:04] local.INFO: Packet analysis {"connection_id":172386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc2"} 
[2026-09-04 19:45:04] local.INFO: Extracted packet for processing {"connection_id":172386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc2"} 
[2026-09-04 19:45:04] local.INFO: GPS Element Parsed {"raw_longitude":753553536,"raw_latitude":119212592,"longitude_deg":75.3553536,"latitude_deg":11.9212592,"altitude":8,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2cea5080","hex_latitude":"071b0a30","is_valid_coordinates":true} 
[2026-09-04 19:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863948032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398524126995677184,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1562960146411493376,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531068000,"timestamp_ms":1788531068000,"timestamp_seconds":1788531068,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc24c60"} 
[2026-09-04 19:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 19:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863948032001,"66":27321,"245":206,"83":41216,"24":0,"16":398524126995677184,"44":-1562960146411493376},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 19:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863948032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398524126995677184,"km_value":398524126995677.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:45:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1562960146411493376,"description":"Unknown IO ID 44"} 
[2026-09-04 19:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863948032001,"power":27321,"geofence_id":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1562960146411493376}} 
[2026-09-04 19:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":172386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:45:05] local.INFO: GPS data processed {"connection_id":172386,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:45:05] local.INFO: Acknowledgment sent {"connection_id":172386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:45:08] local.INFO: TCP Data received {"connection_id":172386,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc29e68012cea5080071b0a30000800a431..."} 
[2026-09-04 19:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc29e68012cea5080071b0a30000800a431..."} 
[2026-09-04 19:45:08] local.INFO: Processing buffer {"connection_id":172386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc29e68012cea5080071b0a30000800a431..."} 
[2026-09-04 19:45:08] local.INFO: Packet analysis {"connection_id":172386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc2"} 
[2026-09-04 19:45:08] local.INFO: Extracted packet for processing {"connection_id":172386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc2"} 
[2026-09-04 19:45:08] local.INFO: GPS Element Parsed {"raw_longitude":753553536,"raw_latitude":119212592,"longitude_deg":75.3553536,"latitude_deg":11.9212592,"altitude":8,"angle":164,"satellites":49,"speed":0,"hex_longitude":"2cea5080","hex_latitude":"071b0a30","is_valid_coordinates":true} 
[2026-09-04 19:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863953408001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398524126995677184,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1562608302690783232,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788531089000,"timestamp_ms":1788531089000,"timestamp_seconds":1788531089,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc29e68"} 
[2026-09-04 19:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 19:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863953408001,"66":27376,"245":206,"83":41216,"24":0,"16":398524126995677184,"44":-1562608302690783232},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 19:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863953408001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398524126995677184,"km_value":398524126995677.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:45:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1562608302690783232,"description":"Unknown IO ID 44"} 
[2026-09-04 19:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863953408001,"power":27376,"geofence_id":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1562608302690783232}} 
[2026-09-04 19:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":172386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:45:08] local.INFO: GPS data processed {"connection_id":172386,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:45:08] local.INFO: Acknowledgment sent {"connection_id":172386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:45:24] local.INFO: TCP Data received {"connection_id":173676,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc4c148012d1ac540071f91e8003700682a..."} 
[2026-09-04 19:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc4c148012d1ac540071f91e8003700682a..."} 
[2026-09-04 19:45:24] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc4c148012d1ac540071f91e8003700682a..."} 
[2026-09-04 19:45:24] local.INFO: Packet analysis {"connection_id":173676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc4"} 
[2026-09-04 19:45:24] local.INFO: Extracted packet for processing {"connection_id":173676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc4"} 
[2026-09-04 19:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756729152,"raw_latitude":119509480,"longitude_deg":75.6729152,"latitude_deg":11.950948,"altitude":55,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d1ac540","hex_latitude":"071f91e8","is_valid_coordinates":true} 
[2026-09-04 19:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863989248001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17407609824870400,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736730112,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788531229000,"timestamp_ms":1788531229000,"timestamp_seconds":1788531229,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc4c148"} 
[2026-09-04 19:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 19:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863989248001,"66":12428,"101":206,"83":41984,"24":0,"16":17407609824870400,"45":1929018414736730112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863989248001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:45:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17407609824870400,"km_value":17407609824870.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736730112,"description":"Unknown IO ID 45"} 
[2026-09-04 19:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863989248001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1929018414736730112}} 
[2026-09-04 19:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":173676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:45:24] local.INFO: GPS data processed {"connection_id":173676,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:45:24] local.INFO: Acknowledgment sent {"connection_id":173676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:45:26] local.INFO: TCP Data received {"connection_id":171273,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:45:26] local.INFO: Processing buffer {"connection_id":171273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:45:26] local.INFO: Packet analysis {"connection_id":171273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:45:26] local.INFO: Extracted packet for processing {"connection_id":171273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:45:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863889920001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788531121000,"timestamp_ms":1788531121000,"timestamp_seconds":1788531121,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc31b68"} 
[2026-09-04 19:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171273,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171273,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863889920001,"66":25691,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863889920001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:45:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:45:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863889920001,"power":25691,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":171273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764832,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:45:27] local.INFO: GPS data processed {"connection_id":171273,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:45:27] local.INFO: Acknowledgment sent {"connection_id":171273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:45:39] local.INFO: TCP Data received {"connection_id":172386,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc2f070012cea5280071b0208000800a632..."} 
[2026-09-04 19:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc2f070012cea5280071b0208000800a632..."} 
[2026-09-04 19:45:39] local.INFO: Processing buffer {"connection_id":172386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc2f070012cea5280071b0208000800a632..."} 
[2026-09-04 19:45:39] local.INFO: Packet analysis {"connection_id":172386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc2"} 
[2026-09-04 19:45:39] local.INFO: Extracted packet for processing {"connection_id":172386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc2"} 
[2026-09-04 19:45:39] local.INFO: GPS Element Parsed {"raw_longitude":753554048,"raw_latitude":119210504,"longitude_deg":75.3554048,"latitude_deg":11.9210504,"altitude":8,"angle":166,"satellites":50,"speed":2,"hex_longitude":"2cea5280","hex_latitude":"071b0208","is_valid_coordinates":true} 
[2026-09-04 19:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863958784001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398524234369859584,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1562608302690783232,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788531110000,"timestamp_ms":1788531110000,"timestamp_seconds":1788531110,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc2f070"} 
[2026-09-04 19:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 19:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863958784001,"66":27463,"245":206,"83":41216,"24":2,"16":398524234369859584,"44":-1562608302690783232},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-04 19:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863958784001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:45:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398524234369859584,"km_value":398524234369859.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:45:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1562608302690783232,"description":"Unknown IO ID 44"} 
[2026-09-04 19:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863958784001,"power":27463,"geofence_id":206,"unknown_83":41216,"ignition":2,"odometer":null,"unknown_44":-1562608302690783232}} 
[2026-09-04 19:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":172386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:45:39] local.INFO: GPS data processed {"connection_id":172386,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:45:39] local.INFO: Acknowledgment sent {"connection_id":172386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:45:52] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:45:52] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:45:52] local.INFO: IMEI packet received {"connection_id":172387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":172387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:45:52] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:45:52] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:45:52] local.INFO: IMEI packet received {"connection_id":172387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":172387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:45:53] local.INFO: TCP Data received {"connection_id":172388,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:45:53] local.INFO: Processing buffer {"connection_id":172388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:45:53] local.INFO: IMEI packet received {"connection_id":172388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":172388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:45:57] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:45:57] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:45:57] local.INFO: IMEI packet received {"connection_id":172387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":172387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:45:58] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc51350012d1ac540071f91e8003700682d..."} 
[2026-09-04 19:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc51350012d1ac540071f91e8003700682d..."} 
[2026-09-04 19:45:58] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc51350012d1ac540071f91e8003700682d..."} 
[2026-09-04 19:45:58] local.INFO: Packet analysis {"connection_id":172387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:45:58] local.INFO: Extracted packet for processing {"connection_id":172387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756729152,"raw_latitude":119509480,"longitude_deg":75.6729152,"latitude_deg":11.950948,"altitude":55,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d1ac540","hex_latitude":"071f91e8","is_valid_coordinates":true} 
[2026-09-04 19:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863994624001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17407609824870400,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736730112,"note":"Value kept but may cause issues"} 
[2026-09-04 19:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788531250000,"timestamp_ms":1788531250000,"timestamp_seconds":1788531250,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc51350"} 
[2026-09-04 19:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-04 19:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863994624001,"66":12015,"101":206,"83":41984,"24":0,"16":17407609824870400,"45":1929018414736730112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863994624001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:45:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17407609824870400,"km_value":17407609824870.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736730112,"description":"Unknown IO ID 45"} 
[2026-09-04 19:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863994624001,"power":12015,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1929018414736730112}} 
[2026-09-04 19:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":172387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:45:58] local.INFO: GPS data processed {"connection_id":172387,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:45:58] local.INFO: Acknowledgment sent {"connection_id":172387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:45:58] local.INFO: TCP Data received {"connection_id":172388,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:45:58] local.INFO: Processing buffer {"connection_id":172388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:45:58] local.INFO: IMEI packet received {"connection_id":172388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":172388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:46:00] local.INFO: TCP Data received {"connection_id":172388,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:46:00] local.INFO: Processing buffer {"connection_id":172388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:46:00] local.INFO: Packet analysis {"connection_id":172388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:46:00] local.INFO: Extracted packet for processing {"connection_id":172388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:46:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863889920001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788531121000,"timestamp_ms":1788531121000,"timestamp_seconds":1788531121,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc31b68"} 
[2026-09-04 19:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863889920001,"66":25691,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863889920001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:46:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863889920001,"power":25691,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":172388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:46:00] local.INFO: GPS data processed {"connection_id":172388,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:46:00] local.INFO: Acknowledgment sent {"connection_id":172388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:46:03] local.INFO: TCP Data received {"connection_id":171274,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:46:03] local.INFO: Processing buffer {"connection_id":171274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:46:03] local.INFO: IMEI packet received {"connection_id":171274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":171274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:46:03] local.INFO: TCP Data received {"connection_id":171274,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:46:03] local.INFO: Processing buffer {"connection_id":171274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:46:03] local.INFO: IMEI packet received {"connection_id":171274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":171274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:46:04] local.INFO: TCP Data received {"connection_id":172388,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:46:04] local.INFO: Processing buffer {"connection_id":172388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:46:04] local.INFO: Packet analysis {"connection_id":172388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:46:04] local.INFO: Extracted packet for processing {"connection_id":172388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863889920001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531121000,"timestamp_ms":1788531121000,"timestamp_seconds":1788531121,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc31b68"} 
[2026-09-04 19:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863889920001,"66":25691,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863889920001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:46:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:46:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863889920001,"power":25691,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":172388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764836,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:46:04] local.INFO: GPS data processed {"connection_id":172388,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:46:04] local.INFO: Acknowledgment sent {"connection_id":172388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:46:08] local.INFO: TCP Data received {"connection_id":171274,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:46:08] local.INFO: Processing buffer {"connection_id":171274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:46:08] local.INFO: IMEI packet received {"connection_id":171274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":171274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:46:09] local.INFO: TCP Data received {"connection_id":171274,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc5d6a0012cea6c00071aafd8001300b92e..."} 
[2026-09-04 19:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc5d6a0012cea6c00071aafd8001300b92e..."} 
[2026-09-04 19:46:09] local.INFO: Processing buffer {"connection_id":171274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc5d6a0012cea6c00071aafd8001300b92e..."} 
[2026-09-04 19:46:09] local.INFO: Packet analysis {"connection_id":171274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:46:09] local.INFO: Extracted packet for processing {"connection_id":171274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:46:09] local.INFO: GPS Element Parsed {"raw_longitude":753560576,"raw_latitude":119189464,"longitude_deg":75.3560576,"latitude_deg":11.9189464,"altitude":19,"angle":185,"satellites":46,"speed":3,"hex_longitude":"2cea6c00","hex_latitude":"071aafd8","is_valid_coordinates":true} 
[2026-09-04 19:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864009984001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398525333881487360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1555149215813752832,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788531300000,"timestamp_ms":1788531300000,"timestamp_seconds":1788531300,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc5d6a0"} 
[2026-09-04 19:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 19:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864009984001,"66":27463,"105":206,"83":41216,"24":3,"16":398525333881487360,"44":-1555149215813752832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864009984001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:46:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:46:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398525333881487360,"km_value":398525333881487.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:46:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1555149215813752832,"description":"Unknown IO ID 44"} 
[2026-09-04 19:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864009984001,"power":27463,"unknown_105":206,"unknown_83":41216,"ignition":3,"odometer":null,"unknown_44":-1555149215813752832}} 
[2026-09-04 19:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":171274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:46:09] local.INFO: GPS data processed {"connection_id":171274,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:46:09] local.INFO: Acknowledgment sent {"connection_id":171274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:46:14] local.INFO: TCP Data received {"connection_id":171274,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc5de70012cea6bc0071aaed8001300ae2c..."} 
[2026-09-04 19:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc5de70012cea6bc0071aaed8001300ae2c..."} 
[2026-09-04 19:46:14] local.INFO: Processing buffer {"connection_id":171274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc5de70012cea6bc0071aaed8001300ae2c..."} 
[2026-09-04 19:46:14] local.INFO: Packet analysis {"connection_id":171274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:46:14] local.INFO: Extracted packet for processing {"connection_id":171274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:46:14] local.INFO: GPS Element Parsed {"raw_longitude":753560512,"raw_latitude":119189208,"longitude_deg":75.3560512,"latitude_deg":11.9189208,"altitude":19,"angle":174,"satellites":44,"speed":5,"hex_longitude":"2cea6bc0","hex_latitude":"071aaed8","is_valid_coordinates":true} 
[2026-09-04 19:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864012800001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398525346766389248,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1554867740837160960,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788531302000,"timestamp_ms":1788531302000,"timestamp_seconds":1788531302,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc5de70"} 
[2026-09-04 19:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 19:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864012800001,"66":27267,"105":206,"83":41216,"24":5,"16":398525346766389248,"44":-1554867740837160960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864012800001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:46:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:46:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398525346766389248,"km_value":398525346766389.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:46:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1554867740837160960,"description":"Unknown IO ID 44"} 
[2026-09-04 19:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864012800001,"power":27267,"unknown_105":206,"unknown_83":41216,"ignition":5,"odometer":null,"unknown_44":-1554867740837160960}} 
[2026-09-04 19:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":171274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:46:14] local.INFO: GPS data processed {"connection_id":171274,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:46:14] local.INFO: Acknowledgment sent {"connection_id":171274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:46:30] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc56558012d1ac540071f91e8003700682d..."} 
[2026-09-04 19:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc56558012d1ac540071f91e8003700682d..."} 
[2026-09-04 19:46:30] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc56558012d1ac540071f91e8003700682d..."} 
[2026-09-04 19:46:30] local.INFO: Packet analysis {"connection_id":172387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:46:30] local.INFO: Extracted packet for processing {"connection_id":172387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:46:30] local.INFO: GPS Element Parsed {"raw_longitude":756729152,"raw_latitude":119509480,"longitude_deg":75.6729152,"latitude_deg":11.950948,"altitude":55,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d1ac540","hex_latitude":"071f91e8","is_valid_coordinates":true} 
[2026-09-04 19:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864000000001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17407609824870400,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736730112,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788531271000,"timestamp_ms":1788531271000,"timestamp_seconds":1788531271,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc56558"} 
[2026-09-04 19:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-04 19:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864000000001,"66":12439,"101":206,"83":41984,"24":0,"16":17407609824870400,"45":1929018414736730112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864000000001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:46:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17407609824870400,"km_value":17407609824870.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736730112,"description":"Unknown IO ID 45"} 
[2026-09-04 19:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864000000001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1929018414736730112}} 
[2026-09-04 19:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":172387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:46:30] local.INFO: GPS data processed {"connection_id":172387,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:46:30] local.INFO: Acknowledgment sent {"connection_id":172387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:46:47] local.INFO: TCP Data received {"connection_id":170981,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:46:47] local.INFO: Processing buffer {"connection_id":170981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:46:47] local.INFO: IMEI packet received {"connection_id":170981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":170981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:46:48] local.INFO: TCP Data received {"connection_id":172389,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:46:48] local.INFO: Processing buffer {"connection_id":172389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:46:48] local.INFO: IMEI packet received {"connection_id":172389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":172389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:46:52] local.INFO: TCP Data received {"connection_id":170981,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:46:52] local.INFO: Processing buffer {"connection_id":170981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:46:52] local.INFO: IMEI packet received {"connection_id":170981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":170981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:46:53] local.INFO: TCP Data received {"connection_id":172389,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:46:53] local.INFO: Processing buffer {"connection_id":172389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:46:53] local.INFO: IMEI packet received {"connection_id":172389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":172389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:46:54] local.INFO: TCP Data received {"connection_id":170981,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc5b760012d1ac540071f91e8003700682c..."} 
[2026-09-04 19:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc5b760012d1ac540071f91e8003700682c..."} 
[2026-09-04 19:46:54] local.INFO: Processing buffer {"connection_id":170981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc5b760012d1ac540071f91e8003700682c..."} 
[2026-09-04 19:46:54] local.INFO: Packet analysis {"connection_id":170981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:46:54] local.INFO: Extracted packet for processing {"connection_id":170981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:46:54] local.INFO: GPS Element Parsed {"raw_longitude":756729152,"raw_latitude":119509480,"longitude_deg":75.6729152,"latitude_deg":11.950948,"altitude":55,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d1ac540","hex_latitude":"071f91e8","is_valid_coordinates":true} 
[2026-09-04 19:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864005376001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17407609824870400,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736730112,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788531292000,"timestamp_ms":1788531292000,"timestamp_seconds":1788531292,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc5b760"} 
[2026-09-04 19:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 19:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":170981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":170981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":170981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864005376001,"66":12406,"101":206,"83":41984,"24":0,"16":17407609824870400,"45":1929018414736730112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864005376001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:46:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:46:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17407609824870400,"km_value":17407609824870.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736730112,"description":"Unknown IO ID 45"} 
[2026-09-04 19:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864005376001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1929018414736730112}} 
[2026-09-04 19:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":170981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:46:54] local.INFO: GPS data processed {"connection_id":170981,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:46:54] local.INFO: Acknowledgment sent {"connection_id":170981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:46:54] local.INFO: TCP Data received {"connection_id":172389,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:46:54] local.INFO: Processing buffer {"connection_id":172389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:46:54] local.INFO: Packet analysis {"connection_id":172389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:46:54] local.INFO: Extracted packet for processing {"connection_id":172389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:46:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863889920001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788531121000,"timestamp_ms":1788531121000,"timestamp_seconds":1788531121,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc31b68"} 
[2026-09-04 19:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863889920001,"66":25691,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863889920001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:46:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:46:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863889920001,"power":25691,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":172389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764841,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:46:54] local.INFO: GPS data processed {"connection_id":172389,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:46:54] local.INFO: Acknowledgment sent {"connection_id":172389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:46:58] local.INFO: TCP Data received {"connection_id":172390,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:46:58] local.INFO: Processing buffer {"connection_id":172390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:46:58] local.INFO: IMEI packet received {"connection_id":172390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":172390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:47:03] local.INFO: TCP Data received {"connection_id":172390,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:47:03] local.INFO: Processing buffer {"connection_id":172390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:47:03] local.INFO: IMEI packet received {"connection_id":172390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":172390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:47:04] local.INFO: TCP Data received {"connection_id":172390,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc5e258012cea6c00071aae180013009b2c..."} 
[2026-09-04 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc5e258012cea6c00071aae180013009b2c..."} 
[2026-09-04 19:47:04] local.INFO: Processing buffer {"connection_id":172390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc5e258012cea6c00071aae180013009b2c..."} 
[2026-09-04 19:47:04] local.INFO: Packet analysis {"connection_id":172390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:47:04] local.INFO: Extracted packet for processing {"connection_id":172390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:47:04] local.INFO: GPS Element Parsed {"raw_longitude":753560576,"raw_latitude":119189016,"longitude_deg":75.3560576,"latitude_deg":11.9189016,"altitude":19,"angle":155,"satellites":44,"speed":8,"hex_longitude":"2cea6c00","hex_latitude":"071aae18","is_valid_coordinates":true} 
[2026-09-04 19:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864013312001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398525359651291136,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1554938109581404160,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531303000,"timestamp_ms":1788531303000,"timestamp_seconds":1788531303,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc5e258"} 
[2026-09-04 19:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 19:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864013312001,"66":27376,"105":206,"83":41216,"24":8,"16":398525359651291136,"44":-1554938109581404160},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864013312001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:47:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:47:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398525359651291136,"km_value":398525359651291.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:47:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1554938109581404160,"description":"Unknown IO ID 44"} 
[2026-09-04 19:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864013312001,"power":27376,"unknown_105":206,"unknown_83":41216,"ignition":8,"odometer":null,"unknown_44":-1554938109581404160}} 
[2026-09-04 19:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":172390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:47:04] local.INFO: GPS data processed {"connection_id":172390,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:47:04] local.INFO: Acknowledgment sent {"connection_id":172390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:47:25] local.INFO: TCP Data received {"connection_id":170981,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc60968012d1ac540071f91e8003700682b..."} 
[2026-09-04 19:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc60968012d1ac540071f91e8003700682b..."} 
[2026-09-04 19:47:25] local.INFO: Processing buffer {"connection_id":170981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc60968012d1ac540071f91e8003700682b..."} 
[2026-09-04 19:47:25] local.INFO: Packet analysis {"connection_id":170981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc6"} 
[2026-09-04 19:47:25] local.INFO: Extracted packet for processing {"connection_id":170981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc6"} 
[2026-09-04 19:47:25] local.INFO: GPS Element Parsed {"raw_longitude":756729152,"raw_latitude":119509480,"longitude_deg":75.6729152,"latitude_deg":11.950948,"altitude":55,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d1ac540","hex_latitude":"071f91e8","is_valid_coordinates":true} 
[2026-09-04 19:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864010752001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17407609824870400,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736730112,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788531313000,"timestamp_ms":1788531313000,"timestamp_seconds":1788531313,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc60968"} 
[2026-09-04 19:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 19:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":170981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":170981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":170981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864010752001,"66":12385,"101":206,"83":41984,"24":0,"16":17407609824870400,"45":1929018414736730112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864010752001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:47:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:47:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17407609824870400,"km_value":17407609824870.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736730112,"description":"Unknown IO ID 45"} 
[2026-09-04 19:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864010752001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1929018414736730112}} 
[2026-09-04 19:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":170981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:47:25] local.INFO: GPS data processed {"connection_id":170981,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:47:25] local.INFO: Acknowledgment sent {"connection_id":170981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:47:26] local.INFO: TCP Data received {"connection_id":172389,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:47:26] local.INFO: Processing buffer {"connection_id":172389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc31b68012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:47:26] local.INFO: Packet analysis {"connection_id":172389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:47:26] local.INFO: Extracted packet for processing {"connection_id":172389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc3"} 
[2026-09-04 19:47:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863889920001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788531121000,"timestamp_ms":1788531121000,"timestamp_seconds":1788531121,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc31b68"} 
[2026-09-04 19:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 19:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863889920001,"66":25691,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863889920001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:47:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:47:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863889920001,"power":25691,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":172389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764844,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:47:26] local.INFO: GPS data processed {"connection_id":172389,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:47:26] local.INFO: Acknowledgment sent {"connection_id":172389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:47:35] local.INFO: TCP Data received {"connection_id":172390,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc5ee10012cea6d80071aab78001200902a..."} 
[2026-09-04 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc5ee10012cea6d80071aab78001200902a..."} 
[2026-09-04 19:47:35] local.INFO: Processing buffer {"connection_id":172390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc5ee10012cea6d80071aab78001200902a..."} 
[2026-09-04 19:47:35] local.INFO: Packet analysis {"connection_id":172390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:47:35] local.INFO: Extracted packet for processing {"connection_id":172390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":753560960,"raw_latitude":119188344,"longitude_deg":75.356096,"latitude_deg":11.9188344,"altitude":18,"angle":144,"satellites":42,"speed":9,"hex_longitude":"2cea6d80","hex_latitude":"071aab78","is_valid_coordinates":true} 
[2026-09-04 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864013568001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398525394011029504,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1554867740837275648,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788531306000,"timestamp_ms":1788531306000,"timestamp_seconds":1788531306,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc5ee10"} 
[2026-09-04 19:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 19:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864013568001,"66":27365,"105":206,"83":41216,"24":9,"16":398525394011029504,"44":-1554867740837275648},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864013568001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:47:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398525394011029504,"km_value":398525394011029.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:47:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1554867740837275648,"description":"Unknown IO ID 44"} 
[2026-09-04 19:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864013568001,"power":27365,"unknown_105":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1554867740837275648}} 
[2026-09-04 19:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":172390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:47:35] local.INFO: GPS data processed {"connection_id":172390,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:47:35] local.INFO: Acknowledgment sent {"connection_id":172390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:47:47] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:47:47] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:47:47] local.INFO: IMEI packet received {"connection_id":173677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":173677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:47:47] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:47:47] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:47:47] local.INFO: IMEI packet received {"connection_id":173677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":173677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:47:48] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:47:48] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:47:48] local.INFO: IMEI packet received {"connection_id":173677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":173677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:47:48] local.INFO: TCP Data received {"connection_id":170982,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:47:48] local.INFO: Processing buffer {"connection_id":170982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:47:48] local.INFO: IMEI packet received {"connection_id":170982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":170982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:47:49] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:47:49] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:47:49] local.INFO: IMEI packet received {"connection_id":173677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":173677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:47:50] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc7b330012d1a73c0071fd2300037013b2d..."} 
[2026-09-04 19:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc7b330012d1a73c0071fd2300037013b2d..."} 
[2026-09-04 19:47:50] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc7b330012d1a73c0071fd2300037013b2d..."} 
[2026-09-04 19:47:50] local.INFO: Packet analysis {"connection_id":173677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:47:50] local.INFO: Extracted packet for processing {"connection_id":173677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756708288,"raw_latitude":119525936,"longitude_deg":75.6708288,"latitude_deg":11.9525936,"altitude":55,"angle":315,"satellites":45,"speed":27,"hex_longitude":"2d1a73c0","hex_latitude":"071fd230","is_valid_coordinates":true} 
[2026-09-04 19:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864040704001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17408954149634048,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911637334927128576,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788531422000,"timestamp_ms":1788531422000,"timestamp_seconds":1788531422,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc7b330"} 
[2026-09-04 19:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-04 19:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864040704001,"66":13493,"101":206,"83":41984,"24":27,"16":17408954149634048,"45":1911637334927128576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864040704001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:47:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17408954149634048,"km_value":17408954149634.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911637334927128576,"description":"Unknown IO ID 45"} 
[2026-09-04 19:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864040704001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1911637334927128576}} 
[2026-09-04 19:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":173677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:47:50] local.INFO: GPS data processed {"connection_id":173677,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:47:50] local.INFO: Acknowledgment sent {"connection_id":173677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:47:53] local.INFO: TCP Data received {"connection_id":170982,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:47:53] local.INFO: Processing buffer {"connection_id":170982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:47:53] local.INFO: IMEI packet received {"connection_id":170982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":170982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:47:55] local.INFO: TCP Data received {"connection_id":170982,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:47:55] local.INFO: Processing buffer {"connection_id":170982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:47:55] local.INFO: Packet analysis {"connection_id":170982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:47:55] local.INFO: Extracted packet for processing {"connection_id":170982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:47:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863966976001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788531422000,"timestamp_ms":1788531422000,"timestamp_seconds":1788531422,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc7b330"} 
[2026-09-04 19:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 19:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863966976001,"66":25680,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863966976001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:47:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:47:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863966976001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":170982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764847,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:47:55] local.INFO: GPS data processed {"connection_id":170982,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:47:55] local.INFO: Acknowledgment sent {"connection_id":170982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:47:58] local.INFO: TCP Data received {"connection_id":170983,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:47:58] local.INFO: Processing buffer {"connection_id":170983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:47:58] local.INFO: IMEI packet received {"connection_id":170983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":170983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:48:03] local.INFO: TCP Data received {"connection_id":170983,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:48:03] local.INFO: Processing buffer {"connection_id":170983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:48:03] local.INFO: IMEI packet received {"connection_id":170983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":170983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:48:05] local.INFO: TCP Data received {"connection_id":170983,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc5f9c8012cea6e40071aa8f0001200a12c..."} 
[2026-09-04 19:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc5f9c8012cea6e40071aa8f0001200a12c..."} 
[2026-09-04 19:48:05] local.INFO: Processing buffer {"connection_id":170983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc5f9c8012cea6e40071aa8f0001200a12c..."} 
[2026-09-04 19:48:05] local.INFO: Packet analysis {"connection_id":170983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:48:05] local.INFO: Extracted packet for processing {"connection_id":170983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc5"} 
[2026-09-04 19:48:05] local.INFO: GPS Element Parsed {"raw_longitude":753561152,"raw_latitude":119187696,"longitude_deg":75.3561152,"latitude_deg":11.9187696,"altitude":18,"angle":161,"satellites":44,"speed":7,"hex_longitude":"2cea6e40","hex_latitude":"071aa8f0","is_valid_coordinates":true} 
[2026-09-04 19:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864014336001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398525428370767872,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1554445528372381696,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788531309000,"timestamp_ms":1788531309000,"timestamp_seconds":1788531309,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc5f9c8"} 
[2026-09-04 19:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 19:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864014336001,"66":27267,"105":206,"83":41216,"24":7,"16":398525428370767872,"44":-1554445528372381696},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864014336001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:48:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398525428370767872,"km_value":398525428370767.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:48:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1554445528372381696,"description":"Unknown IO ID 44"} 
[2026-09-04 19:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864014336001,"power":27267,"unknown_105":206,"unknown_83":41216,"ignition":7,"odometer":null,"unknown_44":-1554445528372381696}} 
[2026-09-04 19:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":170983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:48:05] local.INFO: GPS data processed {"connection_id":170983,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:48:05] local.INFO: Acknowledgment sent {"connection_id":170983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:48:21] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc7bee8012d1a6dc0071fd708003601302c..."} 
[2026-09-04 19:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc7bee8012d1a6dc0071fd708003601302c..."} 
[2026-09-04 19:48:21] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc7bee8012d1a6dc0071fd708003601302c..."} 
[2026-09-04 19:48:21] local.INFO: Packet analysis {"connection_id":173677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:48:21] local.INFO: Extracted packet for processing {"connection_id":173677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:48:21] local.INFO: GPS Element Parsed {"raw_longitude":756706752,"raw_latitude":119527176,"longitude_deg":75.6706752,"latitude_deg":11.9527176,"altitude":54,"angle":304,"satellites":44,"speed":23,"hex_longitude":"2d1a6dc0","hex_latitude":"071fd708","is_valid_coordinates":true} 
[2026-09-04 19:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864044032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17409048638914560,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906078204139024384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788531425000,"timestamp_ms":1788531425000,"timestamp_seconds":1788531425,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc7bee8"} 
[2026-09-04 19:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-04 19:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864044032001,"66":13493,"101":206,"83":41984,"24":23,"16":17409048638914560,"45":1906078204139024384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864044032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:48:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17409048638914560,"km_value":17409048638914.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906078204139024384,"description":"Unknown IO ID 45"} 
[2026-09-04 19:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864044032001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1906078204139024384}} 
[2026-09-04 19:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":173677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:48:21] local.INFO: GPS data processed {"connection_id":173677,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:48:21] local.INFO: Acknowledgment sent {"connection_id":173677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:48:26] local.INFO: TCP Data received {"connection_id":170982,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:48:26] local.INFO: Processing buffer {"connection_id":170982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:48:26] local.INFO: Packet analysis {"connection_id":170982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:48:26] local.INFO: Extracted packet for processing {"connection_id":170982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:48:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863966976001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788531422000,"timestamp_ms":1788531422000,"timestamp_seconds":1788531422,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc7b330"} 
[2026-09-04 19:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 19:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863966976001,"66":25680,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863966976001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:48:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:48:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863966976001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":170982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764850,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:48:26] local.INFO: GPS data processed {"connection_id":170982,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:48:26] local.INFO: Acknowledgment sent {"connection_id":170982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:48:36] local.INFO: TCP Data received {"connection_id":170983,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc63c30012cea73c0071a9b30001300961f..."} 
[2026-09-04 19:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc63c30012cea73c0071a9b30001300961f..."} 
[2026-09-04 19:48:36] local.INFO: Processing buffer {"connection_id":170983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc63c30012cea73c0071a9b30001300961f..."} 
[2026-09-04 19:48:36] local.INFO: Packet analysis {"connection_id":170983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc6"} 
[2026-09-04 19:48:36] local.INFO: Extracted packet for processing {"connection_id":170983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc6"} 
[2026-09-04 19:48:36] local.INFO: GPS Element Parsed {"raw_longitude":753562560,"raw_latitude":119184176,"longitude_deg":75.356256,"latitude_deg":11.9184176,"altitude":19,"angle":150,"satellites":31,"speed":5,"hex_longitude":"2cea73c0","hex_latitude":"071a9b30","is_valid_coordinates":true} 
[2026-09-04 19:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864015104001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398525613054361600,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1554234422140014592,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788531326000,"timestamp_ms":1788531326000,"timestamp_seconds":1788531326,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc63c30"} 
[2026-09-04 19:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 19:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":170983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":170983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":170983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864015104001,"66":27180,"105":206,"83":41216,"24":5,"16":398525613054361600,"44":-1554234422140014592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864015104001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:48:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398525613054361600,"km_value":398525613054361.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:48:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1554234422140014592,"description":"Unknown IO ID 44"} 
[2026-09-04 19:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864015104001,"power":27180,"unknown_105":206,"unknown_83":41216,"ignition":5,"odometer":null,"unknown_44":-1554234422140014592}} 
[2026-09-04 19:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":170983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:48:36] local.INFO: GPS data processed {"connection_id":170983,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:48:36] local.INFO: Acknowledgment sent {"connection_id":170983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:48:47] local.INFO: TCP Data received {"connection_id":172391,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:48:47] local.INFO: Processing buffer {"connection_id":172391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:48:47] local.INFO: IMEI packet received {"connection_id":172391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":172391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:48:47] local.INFO: TCP Data received {"connection_id":172391,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:48:47] local.INFO: Processing buffer {"connection_id":172391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:48:47] local.INFO: IMEI packet received {"connection_id":172391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":172391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:48:48] local.INFO: TCP Data received {"connection_id":171275,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:48:48] local.INFO: Processing buffer {"connection_id":171275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:48:48] local.INFO: IMEI packet received {"connection_id":171275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":171275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:48:48] local.INFO: TCP Data received {"connection_id":172391,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:48:48] local.INFO: Processing buffer {"connection_id":172391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:48:48] local.INFO: IMEI packet received {"connection_id":172391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":172391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:48:52] local.INFO: TCP Data received {"connection_id":172391,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:48:52] local.INFO: Processing buffer {"connection_id":172391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:48:52] local.INFO: IMEI packet received {"connection_id":172391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":172391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:48:53] local.INFO: TCP Data received {"connection_id":172391,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc87a68012d19f4c0071ffb70002c01032e..."} 
[2026-09-04 19:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc87a68012d19f4c0071ffb70002c01032e..."} 
[2026-09-04 19:48:53] local.INFO: Processing buffer {"connection_id":172391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc87a68012d19f4c0071ffb70002c01032e..."} 
[2026-09-04 19:48:53] local.INFO: Packet analysis {"connection_id":172391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc8"} 
[2026-09-04 19:48:53] local.INFO: Extracted packet for processing {"connection_id":172391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc8"} 
[2026-09-04 19:48:53] local.INFO: GPS Element Parsed {"raw_longitude":756675776,"raw_latitude":119536496,"longitude_deg":75.6675776,"latitude_deg":11.9536496,"altitude":44,"angle":259,"satellites":46,"speed":22,"hex_longitude":"2d19f4c0","hex_latitude":"071ffb70","is_valid_coordinates":true} 
[2026-09-04 19:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864056576001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17410603417075712,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871527150750507008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788531473000,"timestamp_ms":1788531473000,"timestamp_seconds":1788531473,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc87a68"} 
[2026-09-04 19:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 19:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864056576001,"66":13276,"101":206,"83":41984,"24":22,"16":17410603417075712,"45":1871527150750507008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864056576001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:48:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:48:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17410603417075712,"km_value":17410603417075.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871527150750507008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864056576001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1871527150750507008}} 
[2026-09-04 19:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":172391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:48:53] local.INFO: GPS data processed {"connection_id":172391,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:48:53] local.INFO: Acknowledgment sent {"connection_id":172391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:48:53] local.INFO: TCP Data received {"connection_id":171275,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:48:53] local.INFO: Processing buffer {"connection_id":171275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:48:53] local.INFO: IMEI packet received {"connection_id":171275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":171275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:48:55] local.INFO: TCP Data received {"connection_id":171275,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:48:55] local.INFO: Processing buffer {"connection_id":171275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:48:55] local.INFO: Packet analysis {"connection_id":171275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:48:55] local.INFO: Extracted packet for processing {"connection_id":171275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:48:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863966976001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788531422000,"timestamp_ms":1788531422000,"timestamp_seconds":1788531422,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc7b330"} 
[2026-09-04 19:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 19:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863966976001,"66":25680,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863966976001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:48:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863966976001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":171275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764853,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:48:55] local.INFO: GPS data processed {"connection_id":171275,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:48:55] local.INFO: Acknowledgment sent {"connection_id":171275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:48:58] local.INFO: TCP Data received {"connection_id":170984,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:48:58] local.INFO: Processing buffer {"connection_id":170984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:48:58] local.INFO: IMEI packet received {"connection_id":170984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":170984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:49:03] local.INFO: TCP Data received {"connection_id":170984,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:49:03] local.INFO: Processing buffer {"connection_id":170984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:49:03] local.INFO: IMEI packet received {"connection_id":170984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":170984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:49:04] local.INFO: TCP Data received {"connection_id":170984,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc66b10012cea7700071a95d80017008921..."} 
[2026-09-04 19:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc66b10012cea7700071a95d80017008921..."} 
[2026-09-04 19:49:04] local.INFO: Processing buffer {"connection_id":170984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc66b10012cea7700071a95d80017008921..."} 
[2026-09-04 19:49:04] local.INFO: Packet analysis {"connection_id":170984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc6"} 
[2026-09-04 19:49:04] local.INFO: Extracted packet for processing {"connection_id":170984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc6"} 
[2026-09-04 19:49:04] local.INFO: GPS Element Parsed {"raw_longitude":753563392,"raw_latitude":119182808,"longitude_deg":75.3563392,"latitude_deg":11.9182808,"altitude":23,"angle":137,"satellites":33,"speed":4,"hex_longitude":"2cea7700","hex_latitude":"071a95d8","is_valid_coordinates":true} 
[2026-09-04 19:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864019456001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398525690363772928,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1552686309769007104,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531338000,"timestamp_ms":1788531338000,"timestamp_seconds":1788531338,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc66b10"} 
[2026-09-04 19:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 19:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864019456001,"66":27300,"105":206,"83":41216,"24":4,"16":398525690363772928,"44":-1552686309769007104},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864019456001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:49:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398525690363772928,"km_value":398525690363772.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:49:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1552686309769007104,"description":"Unknown IO ID 44"} 
[2026-09-04 19:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864019456001,"power":27300,"unknown_105":206,"unknown_83":41216,"ignition":4,"odometer":null,"unknown_44":-1552686309769007104}} 
[2026-09-04 19:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":170984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:49:04] local.INFO: GPS data processed {"connection_id":170984,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:49:04] local.INFO: Acknowledgment sent {"connection_id":170984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:49:24] local.INFO: TCP Data received {"connection_id":172391,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc88620012d19ee40071ffad8002d01102e..."} 
[2026-09-04 19:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc88620012d19ee40071ffad8002d01102e..."} 
[2026-09-04 19:49:24] local.INFO: Processing buffer {"connection_id":172391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc88620012d19ee40071ffad8002d01102e..."} 
[2026-09-04 19:49:24] local.INFO: Packet analysis {"connection_id":172391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc8"} 
[2026-09-04 19:49:24] local.INFO: Extracted packet for processing {"connection_id":172391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc8"} 
[2026-09-04 19:49:24] local.INFO: GPS Element Parsed {"raw_longitude":756674112,"raw_latitude":119536344,"longitude_deg":75.6674112,"latitude_deg":11.9536344,"altitude":45,"angle":272,"satellites":46,"speed":20,"hex_longitude":"2d19ee40","hex_latitude":"071ffad8","is_valid_coordinates":true} 
[2026-09-04 19:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864057088001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17410685021454336,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870330882099474432,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788531476000,"timestamp_ms":1788531476000,"timestamp_seconds":1788531476,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc88620"} 
[2026-09-04 19:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-04 19:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864057088001,"66":13580,"101":206,"83":41984,"24":20,"16":17410685021454336,"45":1870330882099474432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864057088001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:49:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:49:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17410685021454336,"km_value":17410685021454.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870330882099474432,"description":"Unknown IO ID 45"} 
[2026-09-04 19:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864057088001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1870330882099474432}} 
[2026-09-04 19:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":172391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:49:24] local.INFO: GPS data processed {"connection_id":172391,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:49:24] local.INFO: Acknowledgment sent {"connection_id":172391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:49:27] local.INFO: TCP Data received {"connection_id":171275,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:49:27] local.INFO: Processing buffer {"connection_id":171275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:49:27] local.INFO: Packet analysis {"connection_id":171275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:49:27] local.INFO: Extracted packet for processing {"connection_id":171275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:49:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863966976001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788531422000,"timestamp_ms":1788531422000,"timestamp_seconds":1788531422,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc7b330"} 
[2026-09-04 19:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 19:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863966976001,"66":25680,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863966976001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:49:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:49:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863966976001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":171275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764856,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:49:27] local.INFO: GPS data processed {"connection_id":171275,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:49:27] local.INFO: Acknowledgment sent {"connection_id":171275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:49:35] local.INFO: TCP Data received {"connection_id":170984,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc68668012cea7940071a92f00018009523..."} 
[2026-09-04 19:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc68668012cea7940071a92f00018009523..."} 
[2026-09-04 19:49:35] local.INFO: Processing buffer {"connection_id":170984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc68668012cea7940071a92f00018009523..."} 
[2026-09-04 19:49:35] local.INFO: Packet analysis {"connection_id":170984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc6"} 
[2026-09-04 19:49:35] local.INFO: Extracted packet for processing {"connection_id":170984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc6"} 
[2026-09-04 19:49:35] local.INFO: GPS Element Parsed {"raw_longitude":753563968,"raw_latitude":119182064,"longitude_deg":75.3563968,"latitude_deg":11.9182064,"altitude":24,"angle":149,"satellites":35,"speed":5,"hex_longitude":"2cea7940","hex_latitude":"071a92f0","is_valid_coordinates":true} 
[2026-09-04 19:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864022528001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398525737608413184,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1551771516095047680,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788531345000,"timestamp_ms":1788531345000,"timestamp_seconds":1788531345,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc68668"} 
[2026-09-04 19:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 19:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864022528001,"66":27245,"105":206,"83":41216,"24":5,"16":398525737608413184,"44":-1551771516095047680},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864022528001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:49:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398525737608413184,"km_value":398525737608413.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:49:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1551771516095047680,"description":"Unknown IO ID 44"} 
[2026-09-04 19:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864022528001,"power":27245,"unknown_105":206,"unknown_83":41216,"ignition":5,"odometer":null,"unknown_44":-1551771516095047680}} 
[2026-09-04 19:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":170984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:49:35] local.INFO: GPS data processed {"connection_id":170984,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:49:35] local.INFO: Acknowledgment sent {"connection_id":170984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:49:47] local.INFO: TCP Data received {"connection_id":171276,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:49:47] local.INFO: Processing buffer {"connection_id":171276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:49:47] local.INFO: IMEI packet received {"connection_id":171276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":171276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:49:52] local.INFO: TCP Data received {"connection_id":171276,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:49:53] local.INFO: Processing buffer {"connection_id":171276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:49:53] local.INFO: IMEI packet received {"connection_id":171276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":171276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:49:53] local.INFO: TCP Data received {"connection_id":173678,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:49:53] local.INFO: Processing buffer {"connection_id":173678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:49:53] local.INFO: IMEI packet received {"connection_id":173678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":173678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:49:53] local.INFO: TCP Data received {"connection_id":171276,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc88a08012d19ec40071ffb38002d011f2e..."} 
[2026-09-04 19:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc88a08012d19ec40071ffb38002d011f2e..."} 
[2026-09-04 19:49:53] local.INFO: Processing buffer {"connection_id":171276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc88a08012d19ec40071ffb38002d011f2e..."} 
[2026-09-04 19:49:53] local.INFO: Packet analysis {"connection_id":171276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc8"} 
[2026-09-04 19:49:53] local.INFO: Extracted packet for processing {"connection_id":171276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc8"} 
[2026-09-04 19:49:53] local.INFO: GPS Element Parsed {"raw_longitude":756673600,"raw_latitude":119536440,"longitude_deg":75.66736,"latitude_deg":11.953644,"altitude":45,"angle":287,"satellites":46,"speed":20,"hex_longitude":"2d19ec40","hex_latitude":"071ffb38","is_valid_coordinates":true} 
[2026-09-04 19:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864057856001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17410710791258112,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868501294750816256,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788531477000,"timestamp_ms":1788531477000,"timestamp_seconds":1788531477,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc88a08"} 
[2026-09-04 19:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751529433,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2750573596970582026,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3358601217,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4000317486,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635068541859941,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":73,"raw_value":2147950565,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3655467008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":26,"raw_value":6395119304282472500,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854341363781203,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-09-04 19:49:53] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,101,83,24,241,157,16,218,160,122,45,192,251,44,46,10,66,114,98,64,1,240,215,227,108,31,4,113,205,28,253,73,40,42,239,53,2,61,7,51,29,26,50,164],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-04 19:49:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242890996439318528,"timestamp_seconds":3242890996439318.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 19:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864057856001,"66":13580,"101":206,"83":41984,"24":20,"16":17410710791258112,"45":1868501294750816256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864057856001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:49:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:49:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17410710791258112,"km_value":17410710791258.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868501294750816256,"description":"Unknown IO ID 45"} 
[2026-09-04 19:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864057856001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1868501294750816256}} 
[2026-09-04 19:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":171276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:49:54] local.INFO: GPS data processed {"connection_id":171276,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:49:54] local.INFO: Acknowledgment sent {"connection_id":171276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:49:58] local.INFO: TCP Data received {"connection_id":172392,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:49:58] local.INFO: Processing buffer {"connection_id":172392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:49:58] local.INFO: IMEI packet received {"connection_id":172392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":172392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:49:58] local.INFO: TCP Data received {"connection_id":173678,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:49:58] local.INFO: Processing buffer {"connection_id":173678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:49:58] local.INFO: IMEI packet received {"connection_id":173678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":173678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:50:00] local.INFO: TCP Data received {"connection_id":173678,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:50:00] local.INFO: Processing buffer {"connection_id":173678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:50:00] local.INFO: Packet analysis {"connection_id":173678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:50:00] local.INFO: Extracted packet for processing {"connection_id":173678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:50:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863966976001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788531422000,"timestamp_ms":1788531422000,"timestamp_seconds":1788531422,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc7b330"} 
[2026-09-04 19:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 19:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863966976001,"66":25680,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863966976001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:50:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:50:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863966976001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":173678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:50:00] local.INFO: GPS data processed {"connection_id":173678,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:50:00] local.INFO: Acknowledgment sent {"connection_id":173678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:50:03] local.INFO: TCP Data received {"connection_id":172392,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:50:03] local.INFO: Processing buffer {"connection_id":172392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:50:03] local.INFO: IMEI packet received {"connection_id":172392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":172392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:50:04] local.INFO: TCP Data received {"connection_id":172392,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc6dc58012cea7e40071a8d50001a009e1c..."} 
[2026-09-04 19:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc6dc58012cea7e40071a8d50001a009e1c..."} 
[2026-09-04 19:50:04] local.INFO: Processing buffer {"connection_id":172392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc6dc58012cea7e40071a8d50001a009e1c..."} 
[2026-09-04 19:50:04] local.INFO: Packet analysis {"connection_id":172392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc6"} 
[2026-09-04 19:50:04] local.INFO: Extracted packet for processing {"connection_id":172392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc6"} 
[2026-09-04 19:50:04] local.INFO: GPS Element Parsed {"raw_longitude":753565248,"raw_latitude":119180624,"longitude_deg":75.3565248,"latitude_deg":11.9180624,"altitude":26,"angle":158,"satellites":28,"speed":0,"hex_longitude":"2cea7e40","hex_latitude":"071a8d50","is_valid_coordinates":true} 
[2026-09-04 19:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864024320001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398525832097693696,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1551138197397639168,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531367000,"timestamp_ms":1788531367000,"timestamp_seconds":1788531367,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc6dc58"} 
[2026-09-04 19:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 19:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864024320001,"66":27245,"105":206,"83":41216,"24":0,"16":398525832097693696,"44":-1551138197397639168},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864024320001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:50:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:50:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398525832097693696,"km_value":398525832097693.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:50:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1551138197397639168,"description":"Unknown IO ID 44"} 
[2026-09-04 19:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864024320001,"power":27245,"unknown_105":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1551138197397639168}} 
[2026-09-04 19:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":172392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:50:04] local.INFO: GPS data processed {"connection_id":172392,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:50:04] local.INFO: Acknowledgment sent {"connection_id":172392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:50:04] local.INFO: TCP Data received {"connection_id":173678,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:50:04] local.INFO: Processing buffer {"connection_id":173678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:50:04] local.INFO: Packet analysis {"connection_id":173678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:50:04] local.INFO: Extracted packet for processing {"connection_id":173678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:50:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863966976001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531422000,"timestamp_ms":1788531422000,"timestamp_seconds":1788531422,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc7b330"} 
[2026-09-04 19:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 19:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863966976001,"66":25680,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863966976001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:50:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:50:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863966976001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":173678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764861,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:50:04] local.INFO: GPS data processed {"connection_id":173678,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:50:04] local.INFO: Acknowledgment sent {"connection_id":173678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:50:25] local.INFO: TCP Data received {"connection_id":171276,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc88df0012d19eac0071ffbe8002e012b2e..."} 
[2026-09-04 19:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc88df0012d19eac0071ffbe8002e012b2e..."} 
[2026-09-04 19:50:25] local.INFO: Processing buffer {"connection_id":171276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc88df0012d19eac0071ffbe8002e012b2e..."} 
[2026-09-04 19:50:25] local.INFO: Packet analysis {"connection_id":171276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc8"} 
[2026-09-04 19:50:25] local.INFO: Extracted packet for processing {"connection_id":171276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc8"} 
[2026-09-04 19:50:25] local.INFO: GPS Element Parsed {"raw_longitude":756673216,"raw_latitude":119536616,"longitude_deg":75.6673216,"latitude_deg":11.9536616,"altitude":46,"angle":299,"satellites":46,"speed":18,"hex_longitude":"2d19eac0","hex_latitude":"071ffbe8","is_valid_coordinates":true} 
[2026-09-04 19:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864058112001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17410732266094592,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867938344797419520,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788531478000,"timestamp_ms":1788531478000,"timestamp_seconds":1788531478,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc88df0"} 
[2026-09-04 19:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751529433,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3687040844486934538,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3361929217,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4178575404,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132248677,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540359791169107,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3662413824,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":26,"raw_value":6016816935638401075,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:25] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,218,160,134,45,64,250,46,10,66,122,192,251,44,114,1,240,116,227,108,31,4,113,205,25,48,37,112,239,52,2,61,7,49,29,26,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-04 19:50:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242907489113735168,"timestamp_seconds":3242907489113735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 19:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864058112001,"66":12461,"101":206,"83":41984,"24":18,"16":17410732266094592,"45":1867938344797419520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864058112001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:50:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:50:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17410732266094592,"km_value":17410732266094.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867938344797419520,"description":"Unknown IO ID 45"} 
[2026-09-04 19:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864058112001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1867938344797419520}} 
[2026-09-04 19:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":171276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:50:25] local.INFO: GPS data processed {"connection_id":171276,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:50:25] local.INFO: Acknowledgment sent {"connection_id":171276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:50:35] local.INFO: TCP Data received {"connection_id":172392,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc73248012cea7e40071a8d50001a009e21..."} 
[2026-09-04 19:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc73248012cea7e40071a8d50001a009e21..."} 
[2026-09-04 19:50:35] local.INFO: Processing buffer {"connection_id":172392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc73248012cea7e40071a8d50001a009e21..."} 
[2026-09-04 19:50:35] local.INFO: Packet analysis {"connection_id":172392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:50:35] local.INFO: Extracted packet for processing {"connection_id":172392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:50:35] local.INFO: GPS Element Parsed {"raw_longitude":753565248,"raw_latitude":119180624,"longitude_deg":75.3565248,"latitude_deg":11.9180624,"altitude":26,"angle":158,"satellites":33,"speed":0,"hex_longitude":"2cea7e40","hex_latitude":"071a8d50","is_valid_coordinates":true} 
[2026-09-04 19:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864029952001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398525832097693696,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1549730822514454528,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788531389000,"timestamp_ms":1788531389000,"timestamp_seconds":1788531389,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc73248"} 
[2026-09-04 19:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 19:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864029952001,"66":27908,"105":206,"83":41216,"24":0,"16":398525832097693696,"44":-1549730822514454528},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864029952001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:50:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398525832097693696,"km_value":398525832097693.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:50:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1549730822514454528,"description":"Unknown IO ID 44"} 
[2026-09-04 19:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864029952001,"power":27908,"unknown_105":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1549730822514454528}} 
[2026-09-04 19:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":172392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:50:35] local.INFO: GPS data processed {"connection_id":172392,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:50:35] local.INFO: Acknowledgment sent {"connection_id":172392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:50:47] local.INFO: TCP Data received {"connection_id":171277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:50:47] local.INFO: Processing buffer {"connection_id":171277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:50:47] local.INFO: IMEI packet received {"connection_id":171277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":171277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:50:48] local.INFO: TCP Data received {"connection_id":170985,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:50:48] local.INFO: Processing buffer {"connection_id":170985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:50:48] local.INFO: IMEI packet received {"connection_id":170985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":170985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:50:52] local.INFO: TCP Data received {"connection_id":171277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:50:52] local.INFO: Processing buffer {"connection_id":171277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:50:52] local.INFO: IMEI packet received {"connection_id":171277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":171277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:50:53] local.INFO: TCP Data received {"connection_id":171277,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc9e1c8012d19c64007202388002f013929..."} 
[2026-09-04 19:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc9e1c8012d19c64007202388002f013929..."} 
[2026-09-04 19:50:53] local.INFO: Processing buffer {"connection_id":171277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc9e1c8012d19c64007202388002f013929..."} 
[2026-09-04 19:50:53] local.INFO: Packet analysis {"connection_id":171277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc9"} 
[2026-09-04 19:50:53] local.INFO: Extracted packet for processing {"connection_id":171277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc9"} 
[2026-09-04 19:50:53] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864075264001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788531565000,"timestamp_ms":1788531565000,"timestamp_seconds":1788531565,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc9e1c8"} 
[2026-09-04 19:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 19:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864075264001,"66":12776,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864075264001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:50:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:50:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864075264001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:50:53] local.INFO: TCP Data received {"connection_id":170985,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:50:53] local.INFO: Processing buffer {"connection_id":170985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:50:53] local.INFO: IMEI packet received {"connection_id":170985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":170985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":171277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:50:53] local.INFO: GPS data processed {"connection_id":171277,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:50:53] local.INFO: Acknowledgment sent {"connection_id":171277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:50:55] local.INFO: TCP Data received {"connection_id":170985,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:50:55] local.INFO: Processing buffer {"connection_id":170985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:50:55] local.INFO: Packet analysis {"connection_id":170985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:50:55] local.INFO: Extracted packet for processing {"connection_id":170985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:50:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863966976001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788531422000,"timestamp_ms":1788531422000,"timestamp_seconds":1788531422,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc7b330"} 
[2026-09-04 19:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 19:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863966976001,"66":25680,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863966976001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:50:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:50:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863966976001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":170985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764865,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:50:55] local.INFO: GPS data processed {"connection_id":170985,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:50:55] local.INFO: Acknowledgment sent {"connection_id":170985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:51:03] local.INFO: TCP Data received {"connection_id":172393,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:51:03] local.INFO: Processing buffer {"connection_id":172393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:51:03] local.INFO: IMEI packet received {"connection_id":172393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":172393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:51:08] local.INFO: TCP Data received {"connection_id":172393,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:51:08] local.INFO: Processing buffer {"connection_id":172393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:51:08] local.INFO: IMEI packet received {"connection_id":172393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":172393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:51:09] local.INFO: TCP Data received {"connection_id":172393,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc78c20012cea7e40071a8d50001a009e1d..."} 
[2026-09-04 19:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc78c20012cea7e40071a8d50001a009e1d..."} 
[2026-09-04 19:51:09] local.INFO: Processing buffer {"connection_id":172393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc78c20012cea7e40071a8d50001a009e1d..."} 
[2026-09-04 19:51:09] local.INFO: Packet analysis {"connection_id":172393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:51:09] local.INFO: Extracted packet for processing {"connection_id":172393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:51:09] local.INFO: GPS Element Parsed {"raw_longitude":753565248,"raw_latitude":119180624,"longitude_deg":75.3565248,"latitude_deg":11.9180624,"altitude":26,"angle":158,"satellites":29,"speed":0,"hex_longitude":"2cea7e40","hex_latitude":"071a8d50","is_valid_coordinates":true} 
[2026-09-04 19:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864035584001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398525832097693696,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1549730822514454528,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788531412000,"timestamp_ms":1788531412000,"timestamp_seconds":1788531412,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc78c20"} 
[2026-09-04 19:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 19:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864035584001,"66":27919,"105":206,"83":41216,"24":0,"16":398525832097693696,"44":-1549730822514454528},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864035584001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:51:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:51:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398525832097693696,"km_value":398525832097693.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:51:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1549730822514454528,"description":"Unknown IO ID 44"} 
[2026-09-04 19:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864035584001,"power":27919,"unknown_105":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1549730822514454528}} 
[2026-09-04 19:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":172393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:51:09] local.INFO: GPS data processed {"connection_id":172393,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:51:09] local.INFO: Acknowledgment sent {"connection_id":172393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:51:25] local.INFO: TCP Data received {"connection_id":171277,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cca33d0012d19c64007202388002f013929..."} 
[2026-09-04 19:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cca33d0012d19c64007202388002f013929..."} 
[2026-09-04 19:51:25] local.INFO: Processing buffer {"connection_id":171277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cca33d0012d19c64007202388002f013929..."} 
[2026-09-04 19:51:25] local.INFO: Packet analysis {"connection_id":171277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cca"} 
[2026-09-04 19:51:25] local.INFO: Extracted packet for processing {"connection_id":171277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cca"} 
[2026-09-04 19:51:25] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864080640001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788531586000,"timestamp_ms":1788531586000,"timestamp_seconds":1788531586,"priority":1,"record_length":96,"hex_timestamp":"000001a06cca33d0"} 
[2026-09-04 19:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 19:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864080640001,"66":12776,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864080640001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:51:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:51:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864080640001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":171277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:51:25] local.INFO: GPS data processed {"connection_id":171277,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:51:25] local.INFO: Acknowledgment sent {"connection_id":171277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:51:27] local.INFO: TCP Data received {"connection_id":170985,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:51:27] local.INFO: Processing buffer {"connection_id":170985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:51:27] local.INFO: Packet analysis {"connection_id":170985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:51:27] local.INFO: Extracted packet for processing {"connection_id":170985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:51:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863966976001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788531422000,"timestamp_ms":1788531422000,"timestamp_seconds":1788531422,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc7b330"} 
[2026-09-04 19:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 19:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863966976001,"66":25680,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863966976001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:51:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:51:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863966976001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":170985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764868,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:51:27] local.INFO: GPS data processed {"connection_id":170985,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:51:27] local.INFO: Acknowledgment sent {"connection_id":170985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:51:40] local.INFO: TCP Data received {"connection_id":172393,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccad7e0012cea8480071a82a0001d008c2f..."} 
[2026-09-04 19:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccad7e0012cea8480071a82a0001d008c2f..."} 
[2026-09-04 19:51:40] local.INFO: Processing buffer {"connection_id":172393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccad7e0012cea8480071a82a0001d008c2f..."} 
[2026-09-04 19:51:40] local.INFO: Packet analysis {"connection_id":172393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cca"} 
[2026-09-04 19:51:40] local.INFO: Extracted packet for processing {"connection_id":172393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cca"} 
[2026-09-04 19:51:40] local.INFO: GPS Element Parsed {"raw_longitude":753566848,"raw_latitude":119177888,"longitude_deg":75.3566848,"latitude_deg":11.9177888,"altitude":29,"angle":140,"satellites":47,"speed":0,"hex_longitude":"2cea8480","hex_latitude":"071a82a0","is_valid_coordinates":true} 
[2026-09-04 19:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864091392001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398526003896385536,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1549238241305442304,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788531628000,"timestamp_ms":1788531628000,"timestamp_seconds":1788531628,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccad7e0"} 
[2026-09-04 19:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 19:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864091392001,"66":27908,"105":206,"83":41216,"24":0,"16":398526003896385536,"44":-1549238241305442304},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864091392001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:51:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:51:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398526003896385536,"km_value":398526003896385.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:51:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1549238241305442304,"description":"Unknown IO ID 44"} 
[2026-09-04 19:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864091392001,"power":27908,"unknown_105":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1549238241305442304}} 
[2026-09-04 19:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":172393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:51:40] local.INFO: GPS data processed {"connection_id":172393,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:51:40] local.INFO: Acknowledgment sent {"connection_id":172393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:51:48] local.INFO: TCP Data received {"connection_id":170987,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:51:48] local.INFO: Processing buffer {"connection_id":170987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:51:48] local.INFO: IMEI packet received {"connection_id":170987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":170987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:51:49] local.INFO: TCP Data received {"connection_id":170986,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:51:49] local.INFO: Processing buffer {"connection_id":170986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:51:49] local.INFO: IMEI packet received {"connection_id":170986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":170986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:51:52] local.INFO: TCP Data received {"connection_id":170987,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:51:52] local.INFO: Processing buffer {"connection_id":170987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:51:52] local.INFO: IMEI packet received {"connection_id":170987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":170987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:51:53] local.INFO: TCP Data received {"connection_id":170986,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:51:53] local.INFO: Processing buffer {"connection_id":170986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:51:53] local.INFO: IMEI packet received {"connection_id":170986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":170986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:51:55] local.INFO: TCP Data received {"connection_id":170986,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:51:55] local.INFO: Processing buffer {"connection_id":170986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:51:55] local.INFO: Packet analysis {"connection_id":170986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:51:55] local.INFO: Extracted packet for processing {"connection_id":170986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:51:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863966976001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788531422000,"timestamp_ms":1788531422000,"timestamp_seconds":1788531422,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc7b330"} 
[2026-09-04 19:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 19:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863966976001,"66":25680,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863966976001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:51:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:51:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863966976001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":170986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764870,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:51:55] local.INFO: GPS data processed {"connection_id":170986,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:51:55] local.INFO: Acknowledgment sent {"connection_id":170986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:51:57] local.INFO: TCP Data received {"connection_id":170987,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:51:57] local.INFO: Processing buffer {"connection_id":170987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:51:57] local.INFO: IMEI packet received {"connection_id":170987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":170987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:51:58] local.INFO: TCP Data received {"connection_id":170987,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cca85d8012d19c64007202388002f013924..."} 
[2026-09-04 19:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cca85d8012d19c64007202388002f013924..."} 
[2026-09-04 19:51:58] local.INFO: Processing buffer {"connection_id":170987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cca85d8012d19c64007202388002f013924..."} 
[2026-09-04 19:51:58] local.INFO: Packet analysis {"connection_id":170987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cca"} 
[2026-09-04 19:51:58] local.INFO: Extracted packet for processing {"connection_id":170987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cca"} 
[2026-09-04 19:51:58] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864086016001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788531607000,"timestamp_ms":1788531607000,"timestamp_seconds":1788531607,"priority":1,"record_length":96,"hex_timestamp":"000001a06cca85d8"} 
[2026-09-04 19:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 19:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":170987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":170987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":170987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864086016001,"66":12765,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864086016001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:51:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:51:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864086016001,"power":12765,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":170987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:51:58] local.INFO: GPS data processed {"connection_id":170987,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:51:58] local.INFO: Acknowledgment sent {"connection_id":170987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:51:58] local.INFO: TCP Data received {"connection_id":171278,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:51:58] local.INFO: Processing buffer {"connection_id":171278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:51:58] local.INFO: IMEI packet received {"connection_id":171278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":171278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:52:03] local.INFO: TCP Data received {"connection_id":170987,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccad7e0012d19c64007202388002f013926..."} 
[2026-09-04 19:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccad7e0012d19c64007202388002f013926..."} 
[2026-09-04 19:52:03] local.INFO: Processing buffer {"connection_id":170987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccad7e0012d19c64007202388002f013926..."} 
[2026-09-04 19:52:03] local.INFO: Packet analysis {"connection_id":170987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cca"} 
[2026-09-04 19:52:03] local.INFO: Extracted packet for processing {"connection_id":170987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cca"} 
[2026-09-04 19:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864091392001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788531628000,"timestamp_ms":1788531628000,"timestamp_seconds":1788531628,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccad7e0"} 
[2026-09-04 19:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-04 19:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":170987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":170987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":170987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864091392001,"66":12722,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864091392001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:52:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864091392001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":170987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:52:03] local.INFO: GPS data processed {"connection_id":170987,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:52:03] local.INFO: Acknowledgment sent {"connection_id":170987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:52:03] local.INFO: TCP Data received {"connection_id":171278,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:52:03] local.INFO: Processing buffer {"connection_id":171278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:52:03] local.INFO: IMEI packet received {"connection_id":171278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":171278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:52:04] local.INFO: TCP Data received {"connection_id":171278,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccb2218012cea8700071a7f88001c009031..."} 
[2026-09-04 19:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccb2218012cea8700071a7f88001c009031..."} 
[2026-09-04 19:52:04] local.INFO: Processing buffer {"connection_id":171278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccb2218012cea8700071a7f88001c009031..."} 
[2026-09-04 19:52:04] local.INFO: Packet analysis {"connection_id":171278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccb"} 
[2026-09-04 19:52:04] local.INFO: Extracted packet for processing {"connection_id":171278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccb"} 
[2026-09-04 19:52:04] local.INFO: GPS Element Parsed {"raw_longitude":753567488,"raw_latitude":119177096,"longitude_deg":75.3567488,"latitude_deg":11.9177096,"altitude":28,"angle":144,"satellites":49,"speed":0,"hex_longitude":"2cea8700","hex_latitude":"071a7f88","is_valid_coordinates":true} 
[2026-09-04 19:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864096768001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398526059730960384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1547971603910713344,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531647000,"timestamp_ms":1788531647000,"timestamp_seconds":1788531647,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccb2218"} 
[2026-09-04 19:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 19:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864096768001,"66":27800,"105":206,"83":41216,"24":0,"16":398526059730960384,"44":-1547971603910713344},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864096768001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:52:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398526059730960384,"km_value":398526059730960.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:52:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1547971603910713344,"description":"Unknown IO ID 44"} 
[2026-09-04 19:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864096768001,"power":27800,"unknown_105":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1547971603910713344}} 
[2026-09-04 19:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":171278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:52:04] local.INFO: GPS data processed {"connection_id":171278,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:52:04] local.INFO: Acknowledgment sent {"connection_id":171278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:52:26] local.INFO: TCP Data received {"connection_id":170986,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:52:26] local.INFO: Processing buffer {"connection_id":170986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cc7b330012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:52:26] local.INFO: Packet analysis {"connection_id":170986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:52:26] local.INFO: Extracted packet for processing {"connection_id":170986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cc7"} 
[2026-09-04 19:52:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457863966976001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788531422000,"timestamp_ms":1788531422000,"timestamp_seconds":1788531422,"priority":1,"record_length":96,"hex_timestamp":"000001a06cc7b330"} 
[2026-09-04 19:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-04 19:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":170986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":170986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":170986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457863966976001,"66":25680,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457863966976001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:52:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:52:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457863966976001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":170986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764874,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:52:27] local.INFO: GPS data processed {"connection_id":170986,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:52:27] local.INFO: Acknowledgment sent {"connection_id":170986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:52:35] local.INFO: TCP Data received {"connection_id":171278,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccb7038012cea8700071a7f88001c00902e..."} 
[2026-09-04 19:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccb7038012cea8700071a7f88001c00902e..."} 
[2026-09-04 19:52:35] local.INFO: Processing buffer {"connection_id":171278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccb7038012cea8700071a7f88001c00902e..."} 
[2026-09-04 19:52:35] local.INFO: Packet analysis {"connection_id":171278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccb"} 
[2026-09-04 19:52:35] local.INFO: Extracted packet for processing {"connection_id":171278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccb"} 
[2026-09-04 19:52:35] local.INFO: GPS Element Parsed {"raw_longitude":753567488,"raw_latitude":119177096,"longitude_deg":75.3567488,"latitude_deg":11.9177096,"altitude":28,"angle":144,"satellites":46,"speed":0,"hex_longitude":"2cea8700","hex_latitude":"071a7f88","is_valid_coordinates":true} 
[2026-09-04 19:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864101632001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398526059730960384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1547267916469139456,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788531667000,"timestamp_ms":1788531667000,"timestamp_seconds":1788531667,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccb7038"} 
[2026-09-04 19:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-04 19:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864101632001,"66":27669,"105":206,"83":41216,"24":0,"16":398526059730960384,"44":-1547267916469139456},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864101632001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:52:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398526059730960384,"km_value":398526059730960.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:52:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1547267916469139456,"description":"Unknown IO ID 44"} 
[2026-09-04 19:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864101632001,"power":27669,"unknown_105":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1547267916469139456}} 
[2026-09-04 19:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":171278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:52:35] local.INFO: GPS data processed {"connection_id":171278,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:52:35] local.INFO: Acknowledgment sent {"connection_id":171278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:52:47] local.INFO: TCP Data received {"connection_id":170988,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:52:47] local.INFO: Processing buffer {"connection_id":170988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:52:47] local.INFO: IMEI packet received {"connection_id":170988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":170988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:52:48] local.INFO: TCP Data received {"connection_id":172394,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:52:48] local.INFO: Processing buffer {"connection_id":172394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:52:48] local.INFO: IMEI packet received {"connection_id":172394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":172394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:52:52] local.INFO: TCP Data received {"connection_id":170988,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:52:52] local.INFO: Processing buffer {"connection_id":170988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:52:52] local.INFO: IMEI packet received {"connection_id":170988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":170988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:52:52] local.INFO: TCP Data received {"connection_id":170988,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccb29e8012d19c64007202388002f013928..."} 
[2026-09-04 19:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccb29e8012d19c64007202388002f013928..."} 
[2026-09-04 19:52:52] local.INFO: Processing buffer {"connection_id":170988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccb29e8012d19c64007202388002f013928..."} 
[2026-09-04 19:52:52] local.INFO: Packet analysis {"connection_id":170988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccb"} 
[2026-09-04 19:52:52] local.INFO: Extracted packet for processing {"connection_id":170988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccb"} 
[2026-09-04 19:52:52] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864096768001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788531649000,"timestamp_ms":1788531649000,"timestamp_seconds":1788531649,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccb29e8"} 
[2026-09-04 19:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 19:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":170988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":170988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":170988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864096768001,"66":11656,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864096768001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:52:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:52:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864096768001,"power":11656,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":170988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:52:53] local.INFO: GPS data processed {"connection_id":170988,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:52:53] local.INFO: Acknowledgment sent {"connection_id":170988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:52:53] local.INFO: TCP Data received {"connection_id":170988,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccb7bf0012d19c64007202388002f013929..."} 
[2026-09-04 19:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccb7bf0012d19c64007202388002f013929..."} 
[2026-09-04 19:52:53] local.INFO: Processing buffer {"connection_id":170988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccb7bf0012d19c64007202388002f013929..."} 
[2026-09-04 19:52:53] local.INFO: Packet analysis {"connection_id":170988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccb"} 
[2026-09-04 19:52:53] local.INFO: Extracted packet for processing {"connection_id":170988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccb"} 
[2026-09-04 19:52:53] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864102144001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788531670000,"timestamp_ms":1788531670000,"timestamp_seconds":1788531670,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccb7bf0"} 
[2026-09-04 19:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-09-04 19:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864102144001,"66":12558,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864102144001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:52:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:52:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864102144001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":170988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:52:53] local.INFO: GPS data processed {"connection_id":170988,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:52:53] local.INFO: Acknowledgment sent {"connection_id":170988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:52:53] local.INFO: TCP Data received {"connection_id":172394,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:52:53] local.INFO: Processing buffer {"connection_id":172394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:52:53] local.INFO: IMEI packet received {"connection_id":172394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":172394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:52:55] local.INFO: TCP Data received {"connection_id":172394,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:52:55] local.INFO: Processing buffer {"connection_id":172394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:52:55] local.INFO: Packet analysis {"connection_id":172394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:52:55] local.INFO: Extracted packet for processing {"connection_id":172394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:52:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864044032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788531723000,"timestamp_ms":1788531723000,"timestamp_seconds":1788531723,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccc4af8"} 
[2026-09-04 19:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 19:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864044032001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864044032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:52:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:52:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864044032001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":172394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:52:55] local.INFO: GPS data processed {"connection_id":172394,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:52:55] local.INFO: Acknowledgment sent {"connection_id":172394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:52:56] local.INFO: TCP Data received {"connection_id":171279,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:52:56] local.INFO: Processing buffer {"connection_id":171279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:52:56] local.INFO: IMEI packet received {"connection_id":171279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":171279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:52:58] local.INFO: TCP Data received {"connection_id":171279,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:52:58] local.INFO: Processing buffer {"connection_id":171279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:52:58] local.INFO: IMEI packet received {"connection_id":171279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":171279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:53:03] local.INFO: TCP Data received {"connection_id":171279,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:53:03] local.INFO: Processing buffer {"connection_id":171279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:53:03] local.INFO: IMEI packet received {"connection_id":171279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":171279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:53:04] local.INFO: TCP Data received {"connection_id":171279,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccbbe58012cea8700071a7f88001c00902f..."} 
[2026-09-04 19:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccbbe58012cea8700071a7f88001c00902f..."} 
[2026-09-04 19:53:04] local.INFO: Processing buffer {"connection_id":171279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccbbe58012cea8700071a7f88001c00902f..."} 
[2026-09-04 19:53:04] local.INFO: Packet analysis {"connection_id":171279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccb"} 
[2026-09-04 19:53:04] local.INFO: Extracted packet for processing {"connection_id":171279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccb"} 
[2026-09-04 19:53:04] local.INFO: GPS Element Parsed {"raw_longitude":753567488,"raw_latitude":119177096,"longitude_deg":75.3567488,"latitude_deg":11.9177096,"altitude":28,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2cea8700","hex_latitude":"071a7f88","is_valid_coordinates":true} 
[2026-09-04 19:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864106752001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398526059730960384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1547267916469139456,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531687000,"timestamp_ms":1788531687000,"timestamp_seconds":1788531687,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccbbe58"} 
[2026-09-04 19:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-04 19:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864106752001,"66":27245,"105":206,"83":41216,"24":0,"16":398526059730960384,"44":-1547267916469139456},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864106752001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:53:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398526059730960384,"km_value":398526059730960.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:53:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1547267916469139456,"description":"Unknown IO ID 44"} 
[2026-09-04 19:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864106752001,"power":27245,"unknown_105":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1547267916469139456}} 
[2026-09-04 19:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":171279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:53:04] local.INFO: GPS data processed {"connection_id":171279,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:53:04] local.INFO: Acknowledgment sent {"connection_id":171279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:53:24] local.INFO: TCP Data received {"connection_id":170988,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccbcdf8012d19c64007202388002f013929..."} 
[2026-09-04 19:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccbcdf8012d19c64007202388002f013929..."} 
[2026-09-04 19:53:24] local.INFO: Processing buffer {"connection_id":170988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccbcdf8012d19c64007202388002f013929..."} 
[2026-09-04 19:53:24] local.INFO: Packet analysis {"connection_id":170988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccb"} 
[2026-09-04 19:53:24] local.INFO: Extracted packet for processing {"connection_id":170988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccb"} 
[2026-09-04 19:53:24] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864107520001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788531691000,"timestamp_ms":1788531691000,"timestamp_seconds":1788531691,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccbcdf8"} 
[2026-09-04 19:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249847409057997528,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3392393217,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366712,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3684040704,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408174594,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:24] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,219,160,41,45,64,35,47,40,10,66,215,38,133,1,240,221,227,108,32,4,113,205,225,198,136,239,49,2,61,7,120,93,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-04 19:53:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3387051243015766016,"timestamp_seconds":3387051243015766.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 19:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864107520001,"66":12613,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864107520001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:53:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:53:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864107520001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":170988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:53:25] local.INFO: GPS data processed {"connection_id":170988,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:53:25] local.INFO: Acknowledgment sent {"connection_id":170988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:53:26] local.INFO: TCP Data received {"connection_id":172394,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:53:26] local.INFO: Processing buffer {"connection_id":172394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:53:26] local.INFO: Packet analysis {"connection_id":172394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:53:26] local.INFO: Extracted packet for processing {"connection_id":172394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:53:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864044032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788531723000,"timestamp_ms":1788531723000,"timestamp_seconds":1788531723,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccc4af8"} 
[2026-09-04 19:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 19:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864044032001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864044032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:53:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:53:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864044032001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":172394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764881,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:53:27] local.INFO: GPS data processed {"connection_id":172394,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:53:27] local.INFO: Acknowledgment sent {"connection_id":172394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:53:35] local.INFO: TCP Data received {"connection_id":171279,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccc0890012cea8700071a7f88001c009030..."} 
[2026-09-04 19:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccc0890012cea8700071a7f88001c009030..."} 
[2026-09-04 19:53:35] local.INFO: Processing buffer {"connection_id":171279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccc0890012cea8700071a7f88001c009030..."} 
[2026-09-04 19:53:35] local.INFO: Packet analysis {"connection_id":171279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:53:35] local.INFO: Extracted packet for processing {"connection_id":171279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:53:35] local.INFO: GPS Element Parsed {"raw_longitude":753567488,"raw_latitude":119177096,"longitude_deg":75.3567488,"latitude_deg":11.9177096,"altitude":28,"angle":144,"satellites":48,"speed":0,"hex_longitude":"2cea8700","hex_latitude":"071a7f88","is_valid_coordinates":true} 
[2026-09-04 19:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864111872001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398526059730960384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1547267916469139456,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788531706000,"timestamp_ms":1788531706000,"timestamp_seconds":1788531706,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccc0890"} 
[2026-09-04 19:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 19:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864111872001,"66":27376,"105":206,"83":41216,"24":0,"16":398526059730960384,"44":-1547267916469139456},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864111872001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:53:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:53:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398526059730960384,"km_value":398526059730960.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:53:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1547267916469139456,"description":"Unknown IO ID 44"} 
[2026-09-04 19:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864111872001,"power":27376,"unknown_105":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1547267916469139456}} 
[2026-09-04 19:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":171279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:53:35] local.INFO: GPS data processed {"connection_id":171279,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:53:35] local.INFO: Acknowledgment sent {"connection_id":171279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:53:47] local.INFO: TCP Data received {"connection_id":172395,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:53:47] local.INFO: Processing buffer {"connection_id":172395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:53:47] local.INFO: IMEI packet received {"connection_id":172395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":172395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:53:52] local.INFO: TCP Data received {"connection_id":172395,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:53:52] local.INFO: Processing buffer {"connection_id":172395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:53:52] local.INFO: IMEI packet received {"connection_id":172395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":172395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:53:53] local.INFO: TCP Data received {"connection_id":172395,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccc2000012d19c64007202388002f013929..."} 
[2026-09-04 19:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccc2000012d19c64007202388002f013929..."} 
[2026-09-04 19:53:53] local.INFO: Processing buffer {"connection_id":172395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccc2000012d19c64007202388002f013929..."} 
[2026-09-04 19:53:53] local.INFO: Packet analysis {"connection_id":172395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:53:53] local.INFO: Extracted packet for processing {"connection_id":172395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:53:53] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864112896001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788531712000,"timestamp_ms":1788531712000,"timestamp_seconds":1788531712,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccc2000"} 
[2026-09-04 19:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-04 19:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864112896001,"66":12591,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864112896001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:53:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:53:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864112896001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:53:53] local.INFO: TCP Data received {"connection_id":170989,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:53:53] local.INFO: Processing buffer {"connection_id":170989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:53:53] local.INFO: IMEI packet received {"connection_id":170989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":170989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":172395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:53:54] local.INFO: GPS data processed {"connection_id":172395,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:53:54] local.INFO: Acknowledgment sent {"connection_id":172395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:53:58] local.INFO: TCP Data received {"connection_id":170989,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:53:58] local.INFO: Processing buffer {"connection_id":170989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:53:58] local.INFO: IMEI packet received {"connection_id":170989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":170989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:53:59] local.INFO: TCP Data received {"connection_id":173679,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:53:59] local.INFO: Processing buffer {"connection_id":173679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:53:59] local.INFO: IMEI packet received {"connection_id":173679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":173679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:54:00] local.INFO: TCP Data received {"connection_id":170989,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:54:00] local.INFO: Processing buffer {"connection_id":170989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:54:00] local.INFO: Packet analysis {"connection_id":170989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:54:00] local.INFO: Extracted packet for processing {"connection_id":170989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:54:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864044032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788531723000,"timestamp_ms":1788531723000,"timestamp_seconds":1788531723,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccc4af8"} 
[2026-09-04 19:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 19:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":170989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":170989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":170989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864044032001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864044032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:54:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864044032001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":170989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:54:00] local.INFO: GPS data processed {"connection_id":170989,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:54:00] local.INFO: Acknowledgment sent {"connection_id":170989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:54:03] local.INFO: TCP Data received {"connection_id":173679,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:54:03] local.INFO: Processing buffer {"connection_id":173679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:54:03] local.INFO: IMEI packet received {"connection_id":173679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":173679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:54:04] local.INFO: TCP Data received {"connection_id":173679,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccc56b0012cea8880071a7db8001f008833..."} 
[2026-09-04 19:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccc56b0012cea8880071a7db8001f008833..."} 
[2026-09-04 19:54:04] local.INFO: Processing buffer {"connection_id":173679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccc56b0012cea8880071a7db8001f008833..."} 
[2026-09-04 19:54:04] local.INFO: Packet analysis {"connection_id":173679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:54:04] local.INFO: Extracted packet for processing {"connection_id":173679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:54:04] local.INFO: GPS Element Parsed {"raw_longitude":753567872,"raw_latitude":119176632,"longitude_deg":75.3567872,"latitude_deg":11.9176632,"altitude":31,"angle":136,"satellites":51,"speed":1,"hex_longitude":"2cea8880","hex_latitude":"071a7db8","is_valid_coordinates":true} 
[2026-09-04 19:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864116736001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398526089795731456,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1547267916469139456,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531726000,"timestamp_ms":1788531726000,"timestamp_seconds":1788531726,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccc56b0"} 
[2026-09-04 19:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 19:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864116736001,"66":27289,"105":206,"83":41216,"24":1,"16":398526089795731456,"44":-1547267916469139456},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864116736001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:54:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:54:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398526089795731456,"km_value":398526089795731.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:54:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1547267916469139456,"description":"Unknown IO ID 44"} 
[2026-09-04 19:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864116736001,"power":27289,"unknown_105":206,"unknown_83":41216,"ignition":1,"odometer":null,"unknown_44":-1547267916469139456}} 
[2026-09-04 19:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":173679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:54:04] local.INFO: GPS data processed {"connection_id":173679,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:54:04] local.INFO: Acknowledgment sent {"connection_id":173679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:54:05] local.INFO: TCP Data received {"connection_id":170989,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:54:05] local.INFO: Processing buffer {"connection_id":170989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:54:05] local.INFO: Packet analysis {"connection_id":170989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:54:05] local.INFO: Extracted packet for processing {"connection_id":170989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864044032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788531723000,"timestamp_ms":1788531723000,"timestamp_seconds":1788531723,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccc4af8"} 
[2026-09-04 19:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 19:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":170989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":170989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":170989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864044032001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864044032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:54:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864044032001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":170989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764886,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:54:05] local.INFO: GPS data processed {"connection_id":170989,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:54:05] local.INFO: Acknowledgment sent {"connection_id":170989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:54:25] local.INFO: TCP Data received {"connection_id":172395,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccc7208012d19c64007202388002f013925..."} 
[2026-09-04 19:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccc7208012d19c64007202388002f013925..."} 
[2026-09-04 19:54:25] local.INFO: Processing buffer {"connection_id":172395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccc7208012d19c64007202388002f013925..."} 
[2026-09-04 19:54:25] local.INFO: Packet analysis {"connection_id":172395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:54:25] local.INFO: Extracted packet for processing {"connection_id":172395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:54:25] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864118272001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788531733000,"timestamp_ms":1788531733000,"timestamp_seconds":1788531733,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccc7208"} 
[2026-09-04 19:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 19:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864118272001,"66":12558,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864118272001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:54:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:54:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864118272001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":172395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:54:25] local.INFO: GPS data processed {"connection_id":172395,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:54:25] local.INFO: Acknowledgment sent {"connection_id":172395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:54:35] local.INFO: TCP Data received {"connection_id":173679,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccca0e8012cea8940071a7d08001f008232..."} 
[2026-09-04 19:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccca0e8012cea8940071a7d08001f008232..."} 
[2026-09-04 19:54:35] local.INFO: Processing buffer {"connection_id":173679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccca0e8012cea8940071a7d08001f008232..."} 
[2026-09-04 19:54:35] local.INFO: Packet analysis {"connection_id":173679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:54:35] local.INFO: Extracted packet for processing {"connection_id":173679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:54:35] local.INFO: GPS Element Parsed {"raw_longitude":753568064,"raw_latitude":119176456,"longitude_deg":75.3568064,"latitude_deg":11.9176456,"altitude":31,"angle":130,"satellites":50,"speed":0,"hex_longitude":"2cea8940","hex_latitude":"071a7d08","is_valid_coordinates":true} 
[2026-09-04 19:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864121856001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398526102680633344,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1546845704004192256,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788531745000,"timestamp_ms":1788531745000,"timestamp_seconds":1788531745,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccca0e8"} 
[2026-09-04 19:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 19:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864121856001,"66":27332,"105":206,"83":41216,"24":0,"16":398526102680633344,"44":-1546845704004192256},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864121856001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:54:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398526102680633344,"km_value":398526102680633.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1546845704004192256,"description":"Unknown IO ID 44"} 
[2026-09-04 19:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864121856001,"power":27332,"unknown_105":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1546845704004192256}} 
[2026-09-04 19:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":173679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:54:35] local.INFO: GPS data processed {"connection_id":173679,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:54:35] local.INFO: Acknowledgment sent {"connection_id":173679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:54:47] local.INFO: TCP Data received {"connection_id":171280,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:54:47] local.INFO: Processing buffer {"connection_id":171280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:54:47] local.INFO: IMEI packet received {"connection_id":171280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":171280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:54:48] local.INFO: TCP Data received {"connection_id":173680,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:54:48] local.INFO: Processing buffer {"connection_id":173680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:54:48] local.INFO: IMEI packet received {"connection_id":173680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":173680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:54:52] local.INFO: TCP Data received {"connection_id":171280,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:54:52] local.INFO: Processing buffer {"connection_id":171280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:54:52] local.INFO: IMEI packet received {"connection_id":171280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":171280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:54:53] local.INFO: TCP Data received {"connection_id":173680,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:54:53] local.INFO: Processing buffer {"connection_id":173680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:54:53] local.INFO: IMEI packet received {"connection_id":173680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":173680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:54:54] local.INFO: TCP Data received {"connection_id":171280,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cccc410012d19c64007202388002f01392a..."} 
[2026-09-04 19:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cccc410012d19c64007202388002f01392a..."} 
[2026-09-04 19:54:54] local.INFO: Processing buffer {"connection_id":171280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cccc410012d19c64007202388002f01392a..."} 
[2026-09-04 19:54:54] local.INFO: Packet analysis {"connection_id":171280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:54:54] local.INFO: Extracted packet for processing {"connection_id":171280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:54:54] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864123648001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788531754000,"timestamp_ms":1788531754000,"timestamp_seconds":1788531754,"priority":1,"record_length":96,"hex_timestamp":"000001a06cccc410"} 
[2026-09-04 19:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249846584424276872,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3408521217,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397048,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3684040704,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:54] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,219,160,32,45,64,35,47,41,10,66,205,123,1,240,14,227,108,4,113,215,198,136,38,239,49,2,61,7,120,93,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-04 19:54:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3387051225835896832,"timestamp_seconds":3387051225835897.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 19:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864123648001,"66":12526,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864123648001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:54:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:54:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864123648001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":171280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:54:54] local.INFO: GPS data processed {"connection_id":171280,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:54:54] local.INFO: Acknowledgment sent {"connection_id":171280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:54:55] local.INFO: TCP Data received {"connection_id":173680,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:54:55] local.INFO: Processing buffer {"connection_id":173680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:54:55] local.INFO: Packet analysis {"connection_id":173680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:54:55] local.INFO: Extracted packet for processing {"connection_id":173680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864044032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788531723000,"timestamp_ms":1788531723000,"timestamp_seconds":1788531723,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccc4af8"} 
[2026-09-04 19:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 19:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864044032001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864044032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:54:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:54:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864044032001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":173680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764890,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:54:55] local.INFO: GPS data processed {"connection_id":173680,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:54:55] local.INFO: Acknowledgment sent {"connection_id":173680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:54:59] local.INFO: TCP Data received {"connection_id":172396,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:54:59] local.INFO: Processing buffer {"connection_id":172396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:54:59] local.INFO: IMEI packet received {"connection_id":172396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":172396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:55:03] local.INFO: TCP Data received {"connection_id":172396,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:55:03] local.INFO: Processing buffer {"connection_id":172396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:55:03] local.INFO: IMEI packet received {"connection_id":172396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":172396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:55:04] local.INFO: TCP Data received {"connection_id":172396,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccceb20012cea8d40071a7958001f008633..."} 
[2026-09-04 19:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccceb20012cea8d40071a7958001f008633..."} 
[2026-09-04 19:55:04] local.INFO: Processing buffer {"connection_id":172396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccceb20012cea8d40071a7958001f008633..."} 
[2026-09-04 19:55:04] local.INFO: Packet analysis {"connection_id":172396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:55:04] local.INFO: Extracted packet for processing {"connection_id":172396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:55:04] local.INFO: GPS Element Parsed {"raw_longitude":753569088,"raw_latitude":119175512,"longitude_deg":75.3569088,"latitude_deg":11.9175512,"altitude":31,"angle":134,"satellites":51,"speed":10,"hex_longitude":"2cea8d40","hex_latitude":"071a7958","is_valid_coordinates":true} 
[2026-09-04 19:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864126720001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398526171400110080,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1546634597771704320,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531764000,"timestamp_ms":1788531764000,"timestamp_seconds":1788531764,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccceb20"} 
[2026-09-04 19:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 19:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864126720001,"66":27213,"105":206,"83":41216,"24":10,"16":398526171400110080,"44":-1546634597771704320},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-04 19:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864126720001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:55:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-04 19:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398526171400110080,"km_value":398526171400110.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:55:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1546634597771704320,"description":"Unknown IO ID 44"} 
[2026-09-04 19:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864126720001,"power":27213,"unknown_105":206,"unknown_83":41216,"ignition":10,"odometer":null,"unknown_44":-1546634597771704320}} 
[2026-09-04 19:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":172396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:55:04] local.INFO: GPS data processed {"connection_id":172396,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:55:04] local.INFO: Acknowledgment sent {"connection_id":172396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:55:25] local.INFO: TCP Data received {"connection_id":171280,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccd1618012d19c64007202388002f013929..."} 
[2026-09-04 19:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccd1618012d19c64007202388002f013929..."} 
[2026-09-04 19:55:25] local.INFO: Processing buffer {"connection_id":171280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccd1618012d19c64007202388002f013929..."} 
[2026-09-04 19:55:25] local.INFO: Packet analysis {"connection_id":171280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccd"} 
[2026-09-04 19:55:25] local.INFO: Extracted packet for processing {"connection_id":171280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccd"} 
[2026-09-04 19:55:25] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864129024001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788531775000,"timestamp_ms":1788531775000,"timestamp_seconds":1788531775,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccd1618"} 
[2026-09-04 19:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-04 19:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864129024001,"66":12515,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864129024001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:55:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:55:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864129024001,"power":12515,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":171280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:55:25] local.INFO: GPS data processed {"connection_id":171280,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:55:25] local.INFO: Acknowledgment sent {"connection_id":171280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:55:27] local.INFO: TCP Data received {"connection_id":173680,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:55:27] local.INFO: Processing buffer {"connection_id":173680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:55:27] local.INFO: Packet analysis {"connection_id":173680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:55:27] local.INFO: Extracted packet for processing {"connection_id":173680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:55:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864044032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788531723000,"timestamp_ms":1788531723000,"timestamp_seconds":1788531723,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccc4af8"} 
[2026-09-04 19:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 19:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864044032001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864044032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:55:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:55:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864044032001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":173680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764893,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:55:27] local.INFO: GPS data processed {"connection_id":173680,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:55:27] local.INFO: Acknowledgment sent {"connection_id":173680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:55:35] local.INFO: TCP Data received {"connection_id":172396,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccd0678012cea91c0071a7558001e007733..."} 
[2026-09-04 19:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccd0678012cea91c0071a7558001e007733..."} 
[2026-09-04 19:55:35] local.INFO: Processing buffer {"connection_id":172396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccd0678012cea91c0071a7558001e007733..."} 
[2026-09-04 19:55:35] local.INFO: Packet analysis {"connection_id":172396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccd"} 
[2026-09-04 19:55:35] local.INFO: Extracted packet for processing {"connection_id":172396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccd"} 
[2026-09-04 19:55:35] local.INFO: GPS Element Parsed {"raw_longitude":753570240,"raw_latitude":119174488,"longitude_deg":75.357024,"latitude_deg":11.9174488,"altitude":30,"angle":119,"satellites":51,"speed":6,"hex_longitude":"2cea91c0","hex_latitude":"071a7558","is_valid_coordinates":true} 
[2026-09-04 19:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864131584001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398526244414554112,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1545508697865103360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788531771000,"timestamp_ms":1788531771000,"timestamp_seconds":1788531771,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccd0678"} 
[2026-09-04 19:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 19:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864131584001,"66":27463,"103":206,"83":41216,"24":6,"16":398526244414554112,"44":-1545508697865103360},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-04 19:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864131584001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:55:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398526244414554112,"km_value":398526244414554.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:55:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1545508697865103360,"description":"Unknown IO ID 44"} 
[2026-09-04 19:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864131584001,"power":27463,"unknown_103":206,"unknown_83":41216,"ignition":6,"odometer":null,"unknown_44":-1545508697865103360}} 
[2026-09-04 19:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":172396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:55:35] local.INFO: GPS data processed {"connection_id":172396,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:55:35] local.INFO: Acknowledgment sent {"connection_id":172396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:55:48] local.INFO: TCP Data received {"connection_id":171281,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:55:48] local.INFO: Processing buffer {"connection_id":171281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:55:48] local.INFO: IMEI packet received {"connection_id":171281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":171281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:55:49] local.INFO: TCP Data received {"connection_id":170990,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:55:49] local.INFO: Processing buffer {"connection_id":170990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:55:49] local.INFO: IMEI packet received {"connection_id":170990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":170990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:55:52] local.INFO: TCP Data received {"connection_id":171281,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:55:52] local.INFO: Processing buffer {"connection_id":171281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:55:52] local.INFO: IMEI packet received {"connection_id":171281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":171281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:55:53] local.INFO: TCP Data received {"connection_id":170990,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:55:53] local.INFO: Processing buffer {"connection_id":170990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:55:53] local.INFO: IMEI packet received {"connection_id":170990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":170990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:55:53] local.INFO: TCP Data received {"connection_id":171281,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccd6820012d19c64007202388002f01392a..."} 
[2026-09-04 19:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccd6820012d19c64007202388002f01392a..."} 
[2026-09-04 19:55:54] local.INFO: Processing buffer {"connection_id":171281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccd6820012d19c64007202388002f01392a..."} 
[2026-09-04 19:55:54] local.INFO: Packet analysis {"connection_id":171281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccd"} 
[2026-09-04 19:55:54] local.INFO: Extracted packet for processing {"connection_id":171281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccd"} 
[2026-09-04 19:55:54] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864134400001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788531796000,"timestamp_ms":1788531796000,"timestamp_seconds":1788531796,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccd6820"} 
[2026-09-04 19:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-04 19:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864134400001,"66":12461,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864134400001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:55:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:55:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864134400001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":171281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:55:54] local.INFO: GPS data processed {"connection_id":171281,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:55:54] local.INFO: Acknowledgment sent {"connection_id":171281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:55:55] local.INFO: TCP Data received {"connection_id":170990,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:55:55] local.INFO: Processing buffer {"connection_id":170990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:55:55] local.INFO: Packet analysis {"connection_id":170990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:55:55] local.INFO: Extracted packet for processing {"connection_id":170990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:55:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864044032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788531723000,"timestamp_ms":1788531723000,"timestamp_seconds":1788531723,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccc4af8"} 
[2026-09-04 19:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 19:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":170990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":170990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":170990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864044032001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864044032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:55:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864044032001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":170990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764896,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:55:56] local.INFO: GPS data processed {"connection_id":170990,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:55:56] local.INFO: Acknowledgment sent {"connection_id":170990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:55:58] local.INFO: TCP Data received {"connection_id":171282,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:55:58] local.INFO: Processing buffer {"connection_id":171282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:55:58] local.INFO: IMEI packet received {"connection_id":171282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":171282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:56:03] local.INFO: TCP Data received {"connection_id":171282,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:56:03] local.INFO: Processing buffer {"connection_id":171282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:56:03] local.INFO: IMEI packet received {"connection_id":171282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":171282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:56:04] local.INFO: TCP Data received {"connection_id":171282,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccd50b0012ceaa100071a6b28001c007633..."} 
[2026-09-04 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccd50b0012ceaa100071a6b28001c007633..."} 
[2026-09-04 19:56:04] local.INFO: Processing buffer {"connection_id":171282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccd50b0012ceaa100071a6b28001c007633..."} 
[2026-09-04 19:56:04] local.INFO: Packet analysis {"connection_id":171282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccd"} 
[2026-09-04 19:56:04] local.INFO: Extracted packet for processing {"connection_id":171282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccd"} 
[2026-09-04 19:56:04] local.INFO: GPS Element Parsed {"raw_longitude":753574144,"raw_latitude":119171880,"longitude_deg":75.3574144,"latitude_deg":11.917188,"altitude":28,"angle":118,"satellites":51,"speed":14,"hex_longitude":"2ceaa100","hex_latitude":"071a6b28","is_valid_coordinates":true} 
[2026-09-04 19:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864133376001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398526472047820800,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1544242060470167552,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531790000,"timestamp_ms":1788531790000,"timestamp_seconds":1788531790,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccd50b0"} 
[2026-09-04 19:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 19:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864133376001,"66":27213,"103":206,"83":41216,"24":14,"16":398526472047820800,"44":-1544242060470167552},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-04 19:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864133376001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:56:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:56:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398526472047820800,"km_value":398526472047820.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:56:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1544242060470167552,"description":"Unknown IO ID 44"} 
[2026-09-04 19:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864133376001,"power":27213,"unknown_103":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1544242060470167552}} 
[2026-09-04 19:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":171282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:56:04] local.INFO: GPS data processed {"connection_id":171282,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:56:04] local.INFO: Acknowledgment sent {"connection_id":171282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:56:25] local.INFO: TCP Data received {"connection_id":171281,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccdba28012d19c64007202388002f013928..."} 
[2026-09-04 19:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccdba28012d19c64007202388002f013928..."} 
[2026-09-04 19:56:25] local.INFO: Processing buffer {"connection_id":171281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccdba28012d19c64007202388002f013928..."} 
[2026-09-04 19:56:25] local.INFO: Packet analysis {"connection_id":171281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccd"} 
[2026-09-04 19:56:25] local.INFO: Extracted packet for processing {"connection_id":171281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccd"} 
[2026-09-04 19:56:25] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864139776001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788531817000,"timestamp_ms":1788531817000,"timestamp_seconds":1788531817,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccdba28"} 
[2026-09-04 19:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 19:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864139776001,"66":12504,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864139776001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:56:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:56:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864139776001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":171281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:56:25] local.INFO: GPS data processed {"connection_id":171281,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:56:25] local.INFO: Acknowledgment sent {"connection_id":171281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:56:27] local.INFO: TCP Data received {"connection_id":170990,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:56:27] local.INFO: Processing buffer {"connection_id":170990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:56:27] local.INFO: Packet analysis {"connection_id":170990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:56:27] local.INFO: Extracted packet for processing {"connection_id":170990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:56:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864044032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788531723000,"timestamp_ms":1788531723000,"timestamp_seconds":1788531723,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccc4af8"} 
[2026-09-04 19:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 19:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864044032001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864044032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:56:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:56:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864044032001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":170990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764899,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:56:27] local.INFO: GPS data processed {"connection_id":170990,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:56:27] local.INFO: Acknowledgment sent {"connection_id":170990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:56:35] local.INFO: TCP Data received {"connection_id":171282,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccd9ae8012ceab100071a63e0001d006d33..."} 
[2026-09-04 19:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccd9ae8012ceab100071a63e0001d006d33..."} 
[2026-09-04 19:56:35] local.INFO: Processing buffer {"connection_id":171282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccd9ae8012ceab100071a63e0001d006d33..."} 
[2026-09-04 19:56:35] local.INFO: Packet analysis {"connection_id":171282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccd"} 
[2026-09-04 19:56:35] local.INFO: Extracted packet for processing {"connection_id":171282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccd"} 
[2026-09-04 19:56:35] local.INFO: GPS Element Parsed {"raw_longitude":753578240,"raw_latitude":119170016,"longitude_deg":75.357824,"latitude_deg":11.9170016,"altitude":29,"angle":109,"satellites":51,"speed":0,"hex_longitude":"2ceab100","hex_latitude":"071a63e0","is_valid_coordinates":true} 
[2026-09-04 19:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864138240001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398526686796185600,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1539949567075997696,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788531809000,"timestamp_ms":1788531809000,"timestamp_seconds":1788531809,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccd9ae8"} 
[2026-09-04 19:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 19:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864138240001,"66":27310,"103":206,"83":41216,"24":0,"16":398526686796185600,"44":-1539949567075997696},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-04 19:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864138240001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:56:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:56:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398526686796185600,"km_value":398526686796185.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:56:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1539949567075997696,"description":"Unknown IO ID 44"} 
[2026-09-04 19:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864138240001,"power":27310,"unknown_103":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1539949567075997696}} 
[2026-09-04 19:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":171282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:56:35] local.INFO: GPS data processed {"connection_id":171282,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:56:35] local.INFO: Acknowledgment sent {"connection_id":171282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:56:47] local.INFO: TCP Data received {"connection_id":172397,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:56:47] local.INFO: Processing buffer {"connection_id":172397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:56:47] local.INFO: IMEI packet received {"connection_id":172397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":172397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:56:48] local.INFO: TCP Data received {"connection_id":172398,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:56:48] local.INFO: Processing buffer {"connection_id":172398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:56:48] local.INFO: IMEI packet received {"connection_id":172398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":172398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:56:52] local.INFO: TCP Data received {"connection_id":172397,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:56:52] local.INFO: Processing buffer {"connection_id":172397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:56:52] local.INFO: IMEI packet received {"connection_id":172397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":172397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:56:53] local.INFO: TCP Data received {"connection_id":172397,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cce0c30012d19c64007202388002f013929..."} 
[2026-09-04 19:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cce0c30012d19c64007202388002f013929..."} 
[2026-09-04 19:56:53] local.INFO: Processing buffer {"connection_id":172397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cce0c30012d19c64007202388002f013929..."} 
[2026-09-04 19:56:53] local.INFO: Packet analysis {"connection_id":172397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cce"} 
[2026-09-04 19:56:53] local.INFO: Extracted packet for processing {"connection_id":172397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cce"} 
[2026-09-04 19:56:53] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864145152001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788531838000,"timestamp_ms":1788531838000,"timestamp_seconds":1788531838,"priority":1,"record_length":96,"hex_timestamp":"000001a06cce0c30"} 
[2026-09-04 19:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-04 19:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864145152001,"66":12461,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864145152001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:56:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:56:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864145152001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":172397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:56:53] local.INFO: GPS data processed {"connection_id":172397,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:56:53] local.INFO: Acknowledgment sent {"connection_id":172397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:56:53] local.INFO: TCP Data received {"connection_id":172398,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:56:53] local.INFO: Processing buffer {"connection_id":172398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:56:53] local.INFO: IMEI packet received {"connection_id":172398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":172398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:56:55] local.INFO: TCP Data received {"connection_id":172398,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:56:55] local.INFO: Processing buffer {"connection_id":172398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:56:55] local.INFO: Packet analysis {"connection_id":172398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:56:55] local.INFO: Extracted packet for processing {"connection_id":172398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:56:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864044032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788531723000,"timestamp_ms":1788531723000,"timestamp_seconds":1788531723,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccc4af8"} 
[2026-09-04 19:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 19:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864044032001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864044032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:56:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864044032001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":172398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764902,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:56:55] local.INFO: GPS data processed {"connection_id":172398,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:56:55] local.INFO: Acknowledgment sent {"connection_id":172398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:57:03] local.INFO: TCP Data received {"connection_id":173681,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:57:03] local.INFO: Processing buffer {"connection_id":173681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:57:03] local.INFO: IMEI packet received {"connection_id":173681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":173681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:57:08] local.INFO: TCP Data received {"connection_id":173681,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:57:08] local.INFO: Processing buffer {"connection_id":173681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:57:08] local.INFO: IMEI packet received {"connection_id":173681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":173681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:57:09] local.INFO: TCP Data received {"connection_id":173681,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccdecf0012ceab100071a63e0001d006d33..."} 
[2026-09-04 19:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccdecf0012ceab100071a63e0001d006d33..."} 
[2026-09-04 19:57:09] local.INFO: Processing buffer {"connection_id":173681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccdecf0012ceab100071a63e0001d006d33..."} 
[2026-09-04 19:57:09] local.INFO: Packet analysis {"connection_id":173681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccd"} 
[2026-09-04 19:57:09] local.INFO: Extracted packet for processing {"connection_id":173681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccd"} 
[2026-09-04 19:57:09] local.INFO: GPS Element Parsed {"raw_longitude":753578240,"raw_latitude":119170016,"longitude_deg":75.357824,"latitude_deg":11.9170016,"altitude":29,"angle":109,"satellites":51,"speed":0,"hex_longitude":"2ceab100","hex_latitude":"071a63e0","is_valid_coordinates":true} 
[2026-09-04 19:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864143104001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398526686796185600,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1535445967449104384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788531830000,"timestamp_ms":1788531830000,"timestamp_seconds":1788531830,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccdecf0"} 
[2026-09-04 19:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 19:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864143104001,"66":27343,"103":206,"83":41216,"24":0,"16":398526686796185600,"44":-1535445967449104384},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-04 19:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864143104001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:57:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 19:57:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398526686796185600,"km_value":398526686796185.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:57:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1535445967449104384,"description":"Unknown IO ID 44"} 
[2026-09-04 19:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864143104001,"power":27343,"unknown_103":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1535445967449104384}} 
[2026-09-04 19:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":173681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:57:09] local.INFO: GPS data processed {"connection_id":173681,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:57:09] local.INFO: Acknowledgment sent {"connection_id":173681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:57:14] local.INFO: TCP Data received {"connection_id":173681,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cce3ef8012ceac000071a5dd8001f006e32..."} 
[2026-09-04 19:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cce3ef8012ceac000071a5dd8001f006e32..."} 
[2026-09-04 19:57:14] local.INFO: Processing buffer {"connection_id":173681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cce3ef8012ceac000071a5dd8001f006e32..."} 
[2026-09-04 19:57:14] local.INFO: Packet analysis {"connection_id":173681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cce"} 
[2026-09-04 19:57:14] local.INFO: Extracted packet for processing {"connection_id":173681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cce"} 
[2026-09-04 19:57:14] local.INFO: GPS Element Parsed {"raw_longitude":753582080,"raw_latitude":119168472,"longitude_deg":75.358208,"latitude_deg":11.9168472,"altitude":31,"angle":110,"satellites":50,"speed":7,"hex_longitude":"2ceac000","hex_latitude":"071a5dd8","is_valid_coordinates":true} 
[2026-09-04 19:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864148480001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398526884364681216,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1535445967449104384,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788531851000,"timestamp_ms":1788531851000,"timestamp_seconds":1788531851,"priority":1,"record_length":96,"hex_timestamp":"000001a06cce3ef8"} 
[2026-09-04 19:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 19:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864148480001,"66":27484,"104":206,"83":41216,"24":7,"16":398526884364681216,"44":-1535445967449104384},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 19:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864148480001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:57:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 19:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398526884364681216,"km_value":398526884364681.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:57:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1535445967449104384,"description":"Unknown IO ID 44"} 
[2026-09-04 19:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864148480001,"power":27484,"unknown_104":206,"unknown_83":41216,"ignition":7,"odometer":null,"unknown_44":-1535445967449104384}} 
[2026-09-04 19:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":173681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:57:14] local.INFO: GPS data processed {"connection_id":173681,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:57:14] local.INFO: Acknowledgment sent {"connection_id":173681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:57:24] local.INFO: TCP Data received {"connection_id":172397,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cce5e38012d19c64007202388002f013925..."} 
[2026-09-04 19:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cce5e38012d19c64007202388002f013925..."} 
[2026-09-04 19:57:24] local.INFO: Processing buffer {"connection_id":172397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cce5e38012d19c64007202388002f013925..."} 
[2026-09-04 19:57:24] local.INFO: Packet analysis {"connection_id":172397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cce"} 
[2026-09-04 19:57:24] local.INFO: Extracted packet for processing {"connection_id":172397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cce"} 
[2026-09-04 19:57:24] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864150528001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788531859000,"timestamp_ms":1788531859000,"timestamp_seconds":1788531859,"priority":1,"record_length":96,"hex_timestamp":"000001a06cce5e38"} 
[2026-09-04 19:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 19:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864150528001,"66":12461,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864150528001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:57:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:57:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864150528001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":172397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:57:25] local.INFO: GPS data processed {"connection_id":172397,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:57:25] local.INFO: Acknowledgment sent {"connection_id":172397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:57:27] local.INFO: TCP Data received {"connection_id":172398,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:57:27] local.INFO: Processing buffer {"connection_id":172398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccc4af8012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:57:27] local.INFO: Packet analysis {"connection_id":172398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:57:27] local.INFO: Extracted packet for processing {"connection_id":172398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccc"} 
[2026-09-04 19:57:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864044032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788531723000,"timestamp_ms":1788531723000,"timestamp_seconds":1788531723,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccc4af8"} 
[2026-09-04 19:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 19:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864044032001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864044032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:57:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:57:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864044032001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":172398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764906,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:57:27] local.INFO: GPS data processed {"connection_id":172398,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:57:27] local.INFO: Acknowledgment sent {"connection_id":172398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:57:47] local.INFO: TCP Data received {"connection_id":171283,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:57:47] local.INFO: Processing buffer {"connection_id":171283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:57:47] local.INFO: IMEI packet received {"connection_id":171283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":171283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:57:48] local.INFO: TCP Data received {"connection_id":173682,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:57:48] local.INFO: Processing buffer {"connection_id":173682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:57:48] local.INFO: IMEI packet received {"connection_id":173682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":173682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:57:52] local.INFO: TCP Data received {"connection_id":171283,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:57:52] local.INFO: Processing buffer {"connection_id":171283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:57:52] local.INFO: IMEI packet received {"connection_id":171283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":171283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:57:53] local.INFO: TCP Data received {"connection_id":171283,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cceb040012d19c64007202388002f013928..."} 
[2026-09-04 19:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cceb040012d19c64007202388002f013928..."} 
[2026-09-04 19:57:53] local.INFO: Processing buffer {"connection_id":171283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cceb040012d19c64007202388002f013928..."} 
[2026-09-04 19:57:53] local.INFO: Packet analysis {"connection_id":171283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cce"} 
[2026-09-04 19:57:53] local.INFO: Extracted packet for processing {"connection_id":171283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cce"} 
[2026-09-04 19:57:53] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864155904001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788531880000,"timestamp_ms":1788531880000,"timestamp_seconds":1788531880,"priority":1,"record_length":96,"hex_timestamp":"000001a06cceb040"} 
[2026-09-04 19:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 19:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864155904001,"66":12461,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864155904001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:57:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:57:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864155904001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":171283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:57:53] local.INFO: GPS data processed {"connection_id":171283,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:57:53] local.INFO: Acknowledgment sent {"connection_id":171283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:57:53] local.INFO: TCP Data received {"connection_id":173682,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:57:53] local.INFO: Processing buffer {"connection_id":173682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:57:53] local.INFO: IMEI packet received {"connection_id":173682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":173682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:57:55] local.INFO: TCP Data received {"connection_id":173682,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:57:55] local.INFO: Processing buffer {"connection_id":173682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:57:55] local.INFO: Packet analysis {"connection_id":173682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 19:57:55] local.INFO: Extracted packet for processing {"connection_id":173682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 19:57:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864121088001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788532024000,"timestamp_ms":1788532024000,"timestamp_seconds":1788532024,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd0e2c0"} 
[2026-09-04 19:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 19:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864121088001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864121088001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:57:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:57:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864121088001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":173682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764908,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:57:55] local.INFO: GPS data processed {"connection_id":173682,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:57:55] local.INFO: Acknowledgment sent {"connection_id":173682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:57:59] local.INFO: TCP Data received {"connection_id":171284,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:57:59] local.INFO: Processing buffer {"connection_id":171284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:57:59] local.INFO: IMEI packet received {"connection_id":171284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":171284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:57:59] local.INFO: TCP Data received {"connection_id":171284,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:57:59] local.INFO: Processing buffer {"connection_id":171284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:57:59] local.INFO: IMEI packet received {"connection_id":171284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":171284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:58:03] local.INFO: TCP Data received {"connection_id":171284,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:58:03] local.INFO: Processing buffer {"connection_id":171284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:58:03] local.INFO: IMEI packet received {"connection_id":171284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":171284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:58:04] local.INFO: TCP Data received {"connection_id":171284,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cce9100012ceaca00071a59280023006e33..."} 
[2026-09-04 19:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cce9100012ceaca00071a59280023006e33..."} 
[2026-09-04 19:58:04] local.INFO: Processing buffer {"connection_id":171284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cce9100012ceaca00071a59280023006e33..."} 
[2026-09-04 19:58:04] local.INFO: Packet analysis {"connection_id":171284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cce"} 
[2026-09-04 19:58:04] local.INFO: Extracted packet for processing {"connection_id":171284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cce"} 
[2026-09-04 19:58:04] local.INFO: GPS Element Parsed {"raw_longitude":753584640,"raw_latitude":119167272,"longitude_deg":75.358464,"latitude_deg":11.9167272,"altitude":35,"angle":110,"satellites":51,"speed":7,"hex_longitude":"2ceaca00","hex_latitude":"071a5928","is_valid_coordinates":true} 
[2026-09-04 19:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864153856001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398527021803634688,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1531223842798839808,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531872000,"timestamp_ms":1788531872000,"timestamp_seconds":1788531872,"priority":1,"record_length":96,"hex_timestamp":"000001a06cce9100"} 
[2026-09-04 19:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 19:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864153856001,"66":27463,"104":206,"83":41216,"24":7,"16":398527021803634688,"44":-1531223842798839808},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 19:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864153856001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:58:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 19:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398527021803634688,"km_value":398527021803634.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:58:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1531223842798839808,"description":"Unknown IO ID 44"} 
[2026-09-04 19:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864153856001,"power":27463,"unknown_104":206,"unknown_83":41216,"ignition":7,"odometer":null,"unknown_44":-1531223842798839808}} 
[2026-09-04 19:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":171284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:58:04] local.INFO: GPS data processed {"connection_id":171284,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:58:04] local.INFO: Acknowledgment sent {"connection_id":171284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:58:09] local.INFO: TCP Data received {"connection_id":171284,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccee308012ceacf40071a55b00021006f32..."} 
[2026-09-04 19:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccee308012ceacf40071a55b00021006f32..."} 
[2026-09-04 19:58:09] local.INFO: Processing buffer {"connection_id":171284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccee308012ceacf40071a55b00021006f32..."} 
[2026-09-04 19:58:09] local.INFO: Packet analysis {"connection_id":171284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cce"} 
[2026-09-04 19:58:09] local.INFO: Extracted packet for processing {"connection_id":171284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cce"} 
[2026-09-04 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":753585984,"raw_latitude":119166384,"longitude_deg":75.3585984,"latitude_deg":11.9166384,"altitude":33,"angle":111,"satellites":50,"speed":5,"hex_longitude":"2ceacf40","hex_latitude":"071a55b0","is_valid_coordinates":true} 
[2026-09-04 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864159232001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398527099113046016,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1528409093032040448,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788531893000,"timestamp_ms":1788531893000,"timestamp_seconds":1788531893,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccee308"} 
[2026-09-04 19:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 19:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864159232001,"66":27397,"104":206,"83":41216,"24":5,"16":398527099113046016,"44":-1528409093032040448},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 19:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864159232001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:58:09] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 19:58:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398527099113046016,"km_value":398527099113046.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:58:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1528409093032040448,"description":"Unknown IO ID 44"} 
[2026-09-04 19:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864159232001,"power":27397,"unknown_104":206,"unknown_83":41216,"ignition":5,"odometer":null,"unknown_44":-1528409093032040448}} 
[2026-09-04 19:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":171284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:58:09] local.INFO: GPS data processed {"connection_id":171284,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:58:09] local.INFO: Acknowledgment sent {"connection_id":171284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:58:24] local.INFO: TCP Data received {"connection_id":171283,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccf0248012d19c64007202388002f013929..."} 
[2026-09-04 19:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccf0248012d19c64007202388002f013929..."} 
[2026-09-04 19:58:24] local.INFO: Processing buffer {"connection_id":171283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccf0248012d19c64007202388002f013929..."} 
[2026-09-04 19:58:24] local.INFO: Packet analysis {"connection_id":171283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccf"} 
[2026-09-04 19:58:24] local.INFO: Extracted packet for processing {"connection_id":171283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccf"} 
[2026-09-04 19:58:24] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":41,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864161280001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788531901000,"timestamp_ms":1788531901000,"timestamp_seconds":1788531901,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccf0248"} 
[2026-09-04 19:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 19:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864161280001,"66":12461,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864161280001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:58:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:58:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864161280001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":171283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:58:24] local.INFO: GPS data processed {"connection_id":171283,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:58:24] local.INFO: Acknowledgment sent {"connection_id":171283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:58:27] local.INFO: TCP Data received {"connection_id":173682,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:58:27] local.INFO: Processing buffer {"connection_id":173682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:58:27] local.INFO: Packet analysis {"connection_id":173682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 19:58:27] local.INFO: Extracted packet for processing {"connection_id":173682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 19:58:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864121088001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788532024000,"timestamp_ms":1788532024000,"timestamp_seconds":1788532024,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd0e2c0"} 
[2026-09-04 19:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 19:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864121088001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864121088001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:58:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:58:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864121088001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":173682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764912,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:58:27] local.INFO: GPS data processed {"connection_id":173682,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:58:27] local.INFO: Acknowledgment sent {"connection_id":173682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:58:40] local.INFO: TCP Data received {"connection_id":171284,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccf3510012ceadd40071a50480021006b32..."} 
[2026-09-04 19:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccf3510012ceadd40071a50480021006b32..."} 
[2026-09-04 19:58:40] local.INFO: Processing buffer {"connection_id":171284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccf3510012ceadd40071a50480021006b32..."} 
[2026-09-04 19:58:40] local.INFO: Packet analysis {"connection_id":171284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccf"} 
[2026-09-04 19:58:40] local.INFO: Extracted packet for processing {"connection_id":171284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccf"} 
[2026-09-04 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":753589568,"raw_latitude":119165000,"longitude_deg":75.3589568,"latitude_deg":11.9165,"altitude":33,"angle":107,"satellites":50,"speed":12,"hex_longitude":"2ceadd40","hex_latitude":"071a5048","is_valid_coordinates":true} 
[2026-09-04 19:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864164608001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398527283796639744,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1526931349404536832,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788531914000,"timestamp_ms":1788531914000,"timestamp_seconds":1788531914,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccf3510"} 
[2026-09-04 19:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 19:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864164608001,"66":27397,"104":206,"83":41216,"24":12,"16":398527283796639744,"44":-1526931349404536832},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 19:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864164608001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:58:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 19:58:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398527283796639744,"km_value":398527283796639.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:58:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1526931349404536832,"description":"Unknown IO ID 44"} 
[2026-09-04 19:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864164608001,"power":27397,"unknown_104":206,"unknown_83":41216,"ignition":12,"odometer":null,"unknown_44":-1526931349404536832}} 
[2026-09-04 19:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":171284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:58:40] local.INFO: GPS data processed {"connection_id":171284,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:58:40] local.INFO: Acknowledgment sent {"connection_id":171284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:58:48] local.INFO: TCP Data received {"connection_id":172399,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:58:48] local.INFO: Processing buffer {"connection_id":172399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:58:48] local.INFO: IMEI packet received {"connection_id":172399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":172399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:58:49] local.INFO: TCP Data received {"connection_id":173683,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:58:49] local.INFO: Processing buffer {"connection_id":173683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:58:49] local.INFO: IMEI packet received {"connection_id":173683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":173683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:58:52] local.INFO: TCP Data received {"connection_id":172399,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:58:52] local.INFO: Processing buffer {"connection_id":172399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:58:52] local.INFO: IMEI packet received {"connection_id":172399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":172399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:58:53] local.INFO: TCP Data received {"connection_id":173683,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:58:53] local.INFO: Processing buffer {"connection_id":173683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:58:53] local.INFO: IMEI packet received {"connection_id":173683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":173683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:58:55] local.INFO: TCP Data received {"connection_id":173683,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:58:55] local.INFO: Processing buffer {"connection_id":173683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:58:55] local.INFO: Packet analysis {"connection_id":173683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 19:58:55] local.INFO: Extracted packet for processing {"connection_id":173683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 19:58:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864121088001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788532024000,"timestamp_ms":1788532024000,"timestamp_seconds":1788532024,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd0e2c0"} 
[2026-09-04 19:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 19:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864121088001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864121088001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:58:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:58:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864121088001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":173683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764914,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:58:55] local.INFO: GPS data processed {"connection_id":173683,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:58:55] local.INFO: Acknowledgment sent {"connection_id":173683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:58:57] local.INFO: TCP Data received {"connection_id":172399,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:58:57] local.INFO: Processing buffer {"connection_id":172399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:58:57] local.INFO: IMEI packet received {"connection_id":172399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":172399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:58:58] local.INFO: TCP Data received {"connection_id":172399,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccf5450012d19c64007202388002f013923..."} 
[2026-09-04 19:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccf5450012d19c64007202388002f013923..."} 
[2026-09-04 19:58:58] local.INFO: Processing buffer {"connection_id":172399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccf5450012d19c64007202388002f013923..."} 
[2026-09-04 19:58:58] local.INFO: Packet analysis {"connection_id":172399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccf"} 
[2026-09-04 19:58:58] local.INFO: Extracted packet for processing {"connection_id":172399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccf"} 
[2026-09-04 19:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864166656001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788531922000,"timestamp_ms":1788531922000,"timestamp_seconds":1788531922,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccf5450"} 
[2026-09-04 19:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 19:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864166656001,"66":12385,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864166656001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:58:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864166656001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":172399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:58:58] local.INFO: GPS data processed {"connection_id":172399,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:58:58] local.INFO: Acknowledgment sent {"connection_id":172399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:58:58] local.INFO: TCP Data received {"connection_id":173684,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:58:58] local.INFO: Processing buffer {"connection_id":173684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:58:58] local.INFO: IMEI packet received {"connection_id":173684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":173684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:59:03] local.INFO: TCP Data received {"connection_id":172399,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccfa658012d19c64007202388002f013924..."} 
[2026-09-04 19:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccfa658012d19c64007202388002f013924..."} 
[2026-09-04 19:59:03] local.INFO: Processing buffer {"connection_id":172399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccfa658012d19c64007202388002f013924..."} 
[2026-09-04 19:59:03] local.INFO: Packet analysis {"connection_id":172399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccf"} 
[2026-09-04 19:59:03] local.INFO: Extracted packet for processing {"connection_id":172399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccf"} 
[2026-09-04 19:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864172032001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788531943000,"timestamp_ms":1788531943000,"timestamp_seconds":1788531943,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccfa658"} 
[2026-09-04 19:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864172032001,"66":12363,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864172032001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:59:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864172032001,"power":12363,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":172399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:59:03] local.INFO: GPS data processed {"connection_id":172399,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:59:03] local.INFO: Acknowledgment sent {"connection_id":172399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:59:03] local.INFO: TCP Data received {"connection_id":173684,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:59:03] local.INFO: Processing buffer {"connection_id":173684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:59:03] local.INFO: IMEI packet received {"connection_id":173684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 19:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":173684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:59:04] local.INFO: TCP Data received {"connection_id":173684,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccf8718012ceae440071a4d500022007232..."} 
[2026-09-04 19:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccf8718012ceae440071a4d500022007232..."} 
[2026-09-04 19:59:04] local.INFO: Processing buffer {"connection_id":173684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccf8718012ceae440071a4d500022007232..."} 
[2026-09-04 19:59:04] local.INFO: Packet analysis {"connection_id":173684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccf"} 
[2026-09-04 19:59:04] local.INFO: Extracted packet for processing {"connection_id":173684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccf"} 
[2026-09-04 19:59:04] local.INFO: GPS Element Parsed {"raw_longitude":753591360,"raw_latitude":119164240,"longitude_deg":75.359136,"latitude_deg":11.916424,"altitude":34,"angle":114,"satellites":50,"speed":6,"hex_longitude":"2ceae440","hex_latitude":"071a4d50","is_valid_coordinates":true} 
[2026-09-04 19:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864169984001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398527382580887552,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1522990699730941952,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531935000,"timestamp_ms":1788531935000,"timestamp_seconds":1788531935,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccf8718"} 
[2026-09-04 19:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 19:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864169984001,"66":27321,"104":206,"83":41216,"24":6,"16":398527382580887552,"44":-1522990699730941952},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 19:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864169984001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:59:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 19:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398527382580887552,"km_value":398527382580887.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:59:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1522990699730941952,"description":"Unknown IO ID 44"} 
[2026-09-04 19:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864169984001,"power":27321,"unknown_104":206,"unknown_83":41216,"ignition":6,"odometer":null,"unknown_44":-1522990699730941952}} 
[2026-09-04 19:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":173684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:59:04] local.INFO: GPS data processed {"connection_id":173684,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:59:04] local.INFO: Acknowledgment sent {"connection_id":173684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:59:27] local.INFO: TCP Data received {"connection_id":173683,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:59:27] local.INFO: Processing buffer {"connection_id":173683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:59:27] local.INFO: Packet analysis {"connection_id":173683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 19:59:27] local.INFO: Extracted packet for processing {"connection_id":173683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 19:59:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864121088001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788532024000,"timestamp_ms":1788532024000,"timestamp_seconds":1788532024,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd0e2c0"} 
[2026-09-04 19:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 19:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864121088001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864121088001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:59:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864121088001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":173683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:59:27] local.INFO: GPS data processed {"connection_id":173683,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:59:27] local.INFO: Acknowledgment sent {"connection_id":173683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:59:35] local.INFO: TCP Data received {"connection_id":173684,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccfd920012ceaea80071a4a780022006f33..."} 
[2026-09-04 19:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccfd920012ceaea80071a4a780022006f33..."} 
[2026-09-04 19:59:35] local.INFO: Processing buffer {"connection_id":173684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccfd920012ceaea80071a4a780022006f33..."} 
[2026-09-04 19:59:35] local.INFO: Packet analysis {"connection_id":173684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccf"} 
[2026-09-04 19:59:35] local.INFO: Extracted packet for processing {"connection_id":173684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccf"} 
[2026-09-04 19:59:35] local.INFO: GPS Element Parsed {"raw_longitude":753592960,"raw_latitude":119163512,"longitude_deg":75.359296,"latitude_deg":11.9163512,"altitude":34,"angle":111,"satellites":51,"speed":8,"hex_longitude":"2ceaea80","hex_latitude":"071a4a78","is_valid_coordinates":true} 
[2026-09-04 19:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864175360001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398527468480233472,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1521020374894161920,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788531956000,"timestamp_ms":1788531956000,"timestamp_seconds":1788531956,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccfd920"} 
[2026-09-04 19:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 19:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 19:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 19:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 19:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864175360001,"66":27365,"104":206,"83":41216,"24":8,"16":398527468480233472,"44":-1521020374894161920},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 19:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 19:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 19:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864175360001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:59:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 19:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 19:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398527468480233472,"km_value":398527468480233.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:59:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1521020374894161920,"description":"Unknown IO ID 44"} 
[2026-09-04 19:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864175360001,"power":27365,"unknown_104":206,"unknown_83":41216,"ignition":8,"odometer":null,"unknown_44":-1521020374894161920}} 
[2026-09-04 19:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":173684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:59:35] local.INFO: GPS data processed {"connection_id":173684,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:59:35] local.INFO: Acknowledgment sent {"connection_id":173684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:59:47] local.INFO: TCP Data received {"connection_id":170991,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:59:47] local.INFO: Processing buffer {"connection_id":170991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:59:47] local.INFO: IMEI packet received {"connection_id":170991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 19:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":170991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:59:48] local.INFO: TCP Data received {"connection_id":171285,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:59:48] local.INFO: Processing buffer {"connection_id":171285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:59:48] local.INFO: IMEI packet received {"connection_id":171285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 19:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":171285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 19:59:52] local.INFO: TCP Data received {"connection_id":170991,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:59:52] local.INFO: Processing buffer {"connection_id":170991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 19:59:52] local.INFO: IMEI packet received {"connection_id":170991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 19:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":170991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:59:52] local.INFO: TCP Data received {"connection_id":170991,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ccff860012d19c64007202388002f013923..."} 
[2026-09-04 19:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ccff860012d19c64007202388002f013923..."} 
[2026-09-04 19:59:52] local.INFO: Processing buffer {"connection_id":170991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ccff860012d19c64007202388002f013923..."} 
[2026-09-04 19:59:52] local.INFO: Packet analysis {"connection_id":170991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ccf"} 
[2026-09-04 19:59:52] local.INFO: Extracted packet for processing {"connection_id":170991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ccf"} 
[2026-09-04 19:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864177408001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788531964000,"timestamp_ms":1788531964000,"timestamp_seconds":1788531964,"priority":1,"record_length":96,"hex_timestamp":"000001a06ccff860"} 
[2026-09-04 19:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 19:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":170991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":170991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":170991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864177408001,"66":12385,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864177408001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:59:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864177408001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":170991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:59:52] local.INFO: GPS data processed {"connection_id":170991,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:59:52] local.INFO: Acknowledgment sent {"connection_id":170991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:59:53] local.INFO: TCP Data received {"connection_id":170991,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd04a68012d19c64007202388002f013923..."} 
[2026-09-04 19:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd04a68012d19c64007202388002f013923..."} 
[2026-09-04 19:59:53] local.INFO: Processing buffer {"connection_id":170991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd04a68012d19c64007202388002f013923..."} 
[2026-09-04 19:59:53] local.INFO: Packet analysis {"connection_id":170991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 19:59:53] local.INFO: Extracted packet for processing {"connection_id":170991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 19:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 19:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864182784001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788531985000,"timestamp_ms":1788531985000,"timestamp_seconds":1788531985,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd04a68"} 
[2026-09-04 19:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 19:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 19:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 19:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 19:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 19:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864182784001,"66":12287,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 19:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 19:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 19:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864182784001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:59:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 19:59:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 19:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 19:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864182784001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 19:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":170991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:59:53] local.INFO: GPS data processed {"connection_id":170991,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:59:53] local.INFO: Acknowledgment sent {"connection_id":170991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:59:53] local.INFO: TCP Data received {"connection_id":171285,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:59:53] local.INFO: Processing buffer {"connection_id":171285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 19:59:53] local.INFO: IMEI packet received {"connection_id":171285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 19:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":171285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 19:59:56] local.INFO: TCP Data received {"connection_id":171285,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:59:56] local.INFO: Processing buffer {"connection_id":171285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 19:59:56] local.INFO: Packet analysis {"connection_id":171285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 19:59:56] local.INFO: Extracted packet for processing {"connection_id":171285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 19:59:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 19:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 19:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864121088001,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 19:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 19:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788532024000,"timestamp_ms":1788532024000,"timestamp_seconds":1788532024,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd0e2c0"} 
[2026-09-04 19:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 19:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 19:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 19:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 19:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 19:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 19:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 19:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 19:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 19:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 19:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 19:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 19:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864121088001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 19:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 19:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 19:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864121088001,"description":"Unknown IO ID 0"} 
[2026-09-04 19:59:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 19:59:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 19:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 19:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 19:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864121088001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 19:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":171285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764922,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 19:59:56] local.INFO: GPS data processed {"connection_id":171285,"processed":1,"errors":0,"total":1} 
[2026-09-04 19:59:56] local.INFO: Acknowledgment sent {"connection_id":171285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 19:59:58] local.INFO: TCP Data received {"connection_id":172400,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:59:58] local.INFO: Processing buffer {"connection_id":172400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 19:59:58] local.INFO: IMEI packet received {"connection_id":172400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 19:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":172400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:00:03] local.INFO: TCP Data received {"connection_id":172400,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:00:03] local.INFO: Processing buffer {"connection_id":172400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:00:03] local.INFO: IMEI packet received {"connection_id":172400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":172400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:00:04] local.INFO: TCP Data received {"connection_id":172400,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd02b28012ceafd80071a41f80021007431..."} 
[2026-09-04 20:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd02b28012ceafd80071a41f80021007431..."} 
[2026-09-04 20:00:04] local.INFO: Processing buffer {"connection_id":172400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd02b28012ceafd80071a41f80021007431..."} 
[2026-09-04 20:00:04] local.INFO: Packet analysis {"connection_id":172400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:00:04] local.INFO: Extracted packet for processing {"connection_id":172400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:00:04] local.INFO: GPS Element Parsed {"raw_longitude":753597824,"raw_latitude":119161336,"longitude_deg":75.3597824,"latitude_deg":11.9161336,"altitude":33,"angle":116,"satellites":49,"speed":8,"hex_longitude":"2ceafd80","hex_latitude":"071a41f8","is_valid_coordinates":true} 
[2026-09-04 20:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864180736001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398527721883303936,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1519261156289906688,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788531977000,"timestamp_ms":1788531977000,"timestamp_seconds":1788531977,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd02b28"} 
[2026-09-04 20:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 20:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864180736001,"66":27463,"104":206,"83":41216,"24":8,"16":398527721883303936,"44":-1519261156289906688},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864180736001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:00:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398527721883303936,"km_value":398527721883303.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:00:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1519261156289906688,"description":"Unknown IO ID 44"} 
[2026-09-04 20:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864180736001,"power":27463,"unknown_104":206,"unknown_83":41216,"ignition":8,"odometer":null,"unknown_44":-1519261156289906688}} 
[2026-09-04 20:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":172400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:00:04] local.INFO: GPS data processed {"connection_id":172400,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:00:04] local.INFO: Acknowledgment sent {"connection_id":172400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:00:24] local.INFO: TCP Data received {"connection_id":170991,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd09c70012d19c64007202388002f013923..."} 
[2026-09-04 20:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd09c70012d19c64007202388002f013923..."} 
[2026-09-04 20:00:24] local.INFO: Processing buffer {"connection_id":170991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd09c70012d19c64007202388002f013923..."} 
[2026-09-04 20:00:24] local.INFO: Packet analysis {"connection_id":170991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:00:24] local.INFO: Extracted packet for processing {"connection_id":170991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 20:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864188160001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788532006000,"timestamp_ms":1788532006000,"timestamp_seconds":1788532006,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd09c70"} 
[2026-09-04 20:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 20:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864188160001,"66":12385,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 20:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864188160001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:00:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 20:00:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 20:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864188160001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 20:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":170991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:00:24] local.INFO: GPS data processed {"connection_id":170991,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:00:24] local.INFO: Acknowledgment sent {"connection_id":170991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:00:28] local.INFO: TCP Data received {"connection_id":171285,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:00:28] local.INFO: Processing buffer {"connection_id":171285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:00:28] local.INFO: Packet analysis {"connection_id":171285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:00:28] local.INFO: Extracted packet for processing {"connection_id":171285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:00:28] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864121088001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788532024000,"timestamp_ms":1788532024000,"timestamp_seconds":1788532024,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd0e2c0"} 
[2026-09-04 20:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864121088001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864121088001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:00:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:00:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864121088001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":171285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:00:28] local.INFO: GPS data processed {"connection_id":171285,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:00:28] local.INFO: Acknowledgment sent {"connection_id":171285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:00:35] local.INFO: TCP Data received {"connection_id":172400,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd32cb0012ceb7000071a0a80001c008b32..."} 
[2026-09-04 20:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd32cb0012ceb7000071a0a80001c008b32..."} 
[2026-09-04 20:00:35] local.INFO: Processing buffer {"connection_id":172400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd32cb0012ceb7000071a0a80001c008b32..."} 
[2026-09-04 20:00:35] local.INFO: Packet analysis {"connection_id":172400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd3"} 
[2026-09-04 20:00:35] local.INFO: Extracted packet for processing {"connection_id":172400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd3"} 
[2026-09-04 20:00:35] local.INFO: GPS Element Parsed {"raw_longitude":753627136,"raw_latitude":119147136,"longitude_deg":75.3627136,"latitude_deg":11.9147136,"altitude":28,"angle":139,"satellites":50,"speed":15,"hex_longitude":"2ceb7000","hex_latitude":"071a0a80","is_valid_coordinates":true} 
[2026-09-04 20:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864235520001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398529289546366976,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482810146809823232,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788532174000,"timestamp_ms":1788532174000,"timestamp_seconds":1788532174,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd32cb0"} 
[2026-09-04 20:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 20:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864235520001,"66":27365,"135":206,"83":41216,"24":15,"16":398529289546366976,"44":-1482810146809823232},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 20:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864235520001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:00:35] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 20:00:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398529289546366976,"km_value":398529289546367.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:00:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482810146809823232,"description":"Unknown IO ID 44"} 
[2026-09-04 20:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864235520001,"power":27365,"unknown_135":206,"unknown_83":41216,"ignition":15,"odometer":null,"unknown_44":-1482810146809823232}} 
[2026-09-04 20:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":172400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:00:35] local.INFO: GPS data processed {"connection_id":172400,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:00:35] local.INFO: Acknowledgment sent {"connection_id":172400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:00:47] local.INFO: TCP Data received {"connection_id":173685,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:00:47] local.INFO: Processing buffer {"connection_id":173685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:00:47] local.INFO: IMEI packet received {"connection_id":173685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":173685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:00:48] local.INFO: TCP Data received {"connection_id":170992,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:00:48] local.INFO: Processing buffer {"connection_id":170992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:00:48] local.INFO: IMEI packet received {"connection_id":170992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":170992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:00:52] local.INFO: TCP Data received {"connection_id":173685,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:00:52] local.INFO: Processing buffer {"connection_id":173685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:00:52] local.INFO: IMEI packet received {"connection_id":173685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":173685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:00:53] local.INFO: TCP Data received {"connection_id":170992,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:00:53] local.INFO: Processing buffer {"connection_id":170992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:00:53] local.INFO: IMEI packet received {"connection_id":170992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":170992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:00:54] local.INFO: TCP Data received {"connection_id":173685,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd0ee78012d19c64007202388002f013925..."} 
[2026-09-04 20:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd0ee78012d19c64007202388002f013925..."} 
[2026-09-04 20:00:54] local.INFO: Processing buffer {"connection_id":173685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd0ee78012d19c64007202388002f013925..."} 
[2026-09-04 20:00:54] local.INFO: Packet analysis {"connection_id":173685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:00:54] local.INFO: Extracted packet for processing {"connection_id":173685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:00:54] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 20:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864193536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788532027000,"timestamp_ms":1788532027000,"timestamp_seconds":1788532027,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd0ee78"} 
[2026-09-04 20:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 20:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864193536001,"66":12385,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 20:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864193536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:00:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 20:00:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 20:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864193536001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 20:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":173685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:00:54] local.INFO: GPS data processed {"connection_id":173685,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:00:54] local.INFO: Acknowledgment sent {"connection_id":173685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:00:56] local.INFO: TCP Data received {"connection_id":170992,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:00:56] local.INFO: Processing buffer {"connection_id":170992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:00:56] local.INFO: Packet analysis {"connection_id":170992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:00:56] local.INFO: Extracted packet for processing {"connection_id":170992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:00:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864121088001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788532024000,"timestamp_ms":1788532024000,"timestamp_seconds":1788532024,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd0e2c0"} 
[2026-09-04 20:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":170992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":170992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":170992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864121088001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864121088001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:00:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:00:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864121088001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":170992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764928,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:00:56] local.INFO: GPS data processed {"connection_id":170992,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:00:56] local.INFO: Acknowledgment sent {"connection_id":170992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:00:58] local.INFO: TCP Data received {"connection_id":173686,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:00:58] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:00:58] local.INFO: IMEI packet received {"connection_id":173686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":173686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:01:00] local.INFO: TCP Data received {"connection_id":173686,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:01:00] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:01:00] local.INFO: IMEI packet received {"connection_id":173686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":173686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:01:03] local.INFO: TCP Data received {"connection_id":173686,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:01:03] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:01:03] local.INFO: IMEI packet received {"connection_id":173686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":173686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:01:04] local.INFO: TCP Data received {"connection_id":173686,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd33868012ceb7300071a0670001c009731..."} 
[2026-09-04 20:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd33868012ceb7300071a0670001c009731..."} 
[2026-09-04 20:01:04] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd33868012ceb7300071a0670001c009731..."} 
[2026-09-04 20:01:04] local.INFO: Packet analysis {"connection_id":173686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd3"} 
[2026-09-04 20:01:04] local.INFO: Extracted packet for processing {"connection_id":173686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd3"} 
[2026-09-04 20:01:04] local.INFO: GPS Element Parsed {"raw_longitude":753627904,"raw_latitude":119146096,"longitude_deg":75.3627904,"latitude_deg":11.9146096,"altitude":28,"angle":151,"satellites":49,"speed":17,"hex_longitude":"2ceb7300","hex_latitude":"071a0670","is_valid_coordinates":true} 
[2026-09-04 20:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864236544001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398529353970876416,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481684246903226368,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788532177000,"timestamp_ms":1788532177000,"timestamp_seconds":1788532177,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd33868"} 
[2026-09-04 20:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 20:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864236544001,"66":27267,"135":206,"83":41216,"24":17,"16":398529353970876416,"44":-1481684246903226368},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 20:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864236544001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:01:04] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 20:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398529353970876416,"km_value":398529353970876.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:01:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481684246903226368,"description":"Unknown IO ID 44"} 
[2026-09-04 20:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864236544001,"power":27267,"unknown_135":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1481684246903226368}} 
[2026-09-04 20:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":173686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:01:04] local.INFO: GPS data processed {"connection_id":173686,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:01:04] local.INFO: Acknowledgment sent {"connection_id":173686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:01:25] local.INFO: TCP Data received {"connection_id":173685,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd14080012d19c64007202388002f013928..."} 
[2026-09-04 20:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd14080012d19c64007202388002f013928..."} 
[2026-09-04 20:01:25] local.INFO: Processing buffer {"connection_id":173685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd14080012d19c64007202388002f013928..."} 
[2026-09-04 20:01:25] local.INFO: Packet analysis {"connection_id":173685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd1"} 
[2026-09-04 20:01:25] local.INFO: Extracted packet for processing {"connection_id":173685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd1"} 
[2026-09-04 20:01:25] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 20:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864198912001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788532048000,"timestamp_ms":1788532048000,"timestamp_seconds":1788532048,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd14080"} 
[2026-09-04 20:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-04 20:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864198912001,"66":12298,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 20:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864198912001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:01:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 20:01:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 20:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864198912001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 20:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":173685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:01:25] local.INFO: GPS data processed {"connection_id":173685,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:01:25] local.INFO: Acknowledgment sent {"connection_id":173685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:01:27] local.INFO: TCP Data received {"connection_id":170992,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:01:27] local.INFO: Processing buffer {"connection_id":170992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:01:27] local.INFO: Packet analysis {"connection_id":170992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:01:27] local.INFO: Extracted packet for processing {"connection_id":170992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:01:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864121088001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788532024000,"timestamp_ms":1788532024000,"timestamp_seconds":1788532024,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd0e2c0"} 
[2026-09-04 20:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":170992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":170992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":170992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864121088001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864121088001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:01:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:01:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864121088001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":170992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764931,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:01:27] local.INFO: GPS data processed {"connection_id":170992,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:01:27] local.INFO: Acknowledgment sent {"connection_id":170992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:01:35] local.INFO: TCP Data received {"connection_id":173686,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd37ad0012ceb80400719e5d00018009c31..."} 
[2026-09-04 20:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd37ad0012ceb80400719e5d00018009c31..."} 
[2026-09-04 20:01:35] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd37ad0012ceb80400719e5d00018009c31..."} 
[2026-09-04 20:01:35] local.INFO: Packet analysis {"connection_id":173686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd3"} 
[2026-09-04 20:01:35] local.INFO: Extracted packet for processing {"connection_id":173686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd3"} 
[2026-09-04 20:01:35] local.INFO: GPS Element Parsed {"raw_longitude":753631296,"raw_latitude":119137744,"longitude_deg":75.3631296,"latitude_deg":11.9137744,"altitude":24,"angle":156,"satellites":49,"speed":22,"hex_longitude":"2ceb8040","hex_latitude":"0719e5d0","is_valid_coordinates":true} 
[2026-09-04 20:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864237312001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398529787762573312,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480839821973360640,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788532194000,"timestamp_ms":1788532194000,"timestamp_seconds":1788532194,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd37ad0"} 
[2026-09-04 20:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 20:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864237312001,"66":27484,"137":206,"83":41216,"24":22,"16":398529787762573312,"44":-1480839821973360640},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-04 20:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864237312001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:01:35] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 20:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398529787762573312,"km_value":398529787762573.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:01:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480839821973360640,"description":"Unknown IO ID 44"} 
[2026-09-04 20:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864237312001,"power":27484,"unknown_137":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1480839821973360640}} 
[2026-09-04 20:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":173686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:01:35] local.INFO: GPS data processed {"connection_id":173686,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:01:35] local.INFO: Acknowledgment sent {"connection_id":173686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:01:47] local.INFO: TCP Data received {"connection_id":171286,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:01:47] local.INFO: Processing buffer {"connection_id":171286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:01:47] local.INFO: IMEI packet received {"connection_id":171286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":171286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:01:48] local.INFO: TCP Data received {"connection_id":171287,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:01:48] local.INFO: Processing buffer {"connection_id":171287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:01:48] local.INFO: IMEI packet received {"connection_id":171287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":171287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:01:52] local.INFO: TCP Data received {"connection_id":171286,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:01:52] local.INFO: Processing buffer {"connection_id":171286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:01:52] local.INFO: IMEI packet received {"connection_id":171286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":171286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:01:53] local.INFO: TCP Data received {"connection_id":171286,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd19288012d19c64007202388002f013926..."} 
[2026-09-04 20:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd19288012d19c64007202388002f013926..."} 
[2026-09-04 20:01:53] local.INFO: Processing buffer {"connection_id":171286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd19288012d19c64007202388002f013926..."} 
[2026-09-04 20:01:53] local.INFO: Packet analysis {"connection_id":171286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd1"} 
[2026-09-04 20:01:53] local.INFO: Extracted packet for processing {"connection_id":171286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd1"} 
[2026-09-04 20:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 20:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864204288001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788532069000,"timestamp_ms":1788532069000,"timestamp_seconds":1788532069,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd19288"} 
[2026-09-04 20:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185661,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":219,"raw_value":-7638104968020361215,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":7840487984555956678,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513449424545841465,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":47,"raw_value":88140150617407488,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049655502,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3489161217,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-04 20:01:53] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3684040704,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:53] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,219,160,238,45,64,35,47,37,10,66,156,74,1,240,255,227,108,32,4,113,205,166,198,136,36,239,48,2,61,7,41],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-04 20:01:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3387051238720798720,"timestamp_seconds":3387051238720798.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-04 20:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864204288001,"66":12287,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 20:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864204288001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:01:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 20:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 20:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864204288001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 20:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":171286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:01:53] local.INFO: GPS data processed {"connection_id":171286,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:01:53] local.INFO: Acknowledgment sent {"connection_id":171286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:01:53] local.INFO: TCP Data received {"connection_id":171287,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:01:53] local.INFO: Processing buffer {"connection_id":171287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:01:53] local.INFO: IMEI packet received {"connection_id":171287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":171287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:01:55] local.INFO: TCP Data received {"connection_id":171287,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:01:55] local.INFO: Processing buffer {"connection_id":171287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:01:55] local.INFO: Packet analysis {"connection_id":171287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:01:55] local.INFO: Extracted packet for processing {"connection_id":171287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864121088001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788532024000,"timestamp_ms":1788532024000,"timestamp_seconds":1788532024,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd0e2c0"} 
[2026-09-04 20:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864121088001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864121088001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:01:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864121088001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":171287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764934,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:01:55] local.INFO: GPS data processed {"connection_id":171287,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:01:55] local.INFO: Acknowledgment sent {"connection_id":171287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:01:58] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:01:58] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:01:58] local.INFO: IMEI packet received {"connection_id":173687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":173687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:02:02] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:02:02] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:02:02] local.INFO: IMEI packet received {"connection_id":173687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":173687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:02:03] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:02:03] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:02:03] local.INFO: IMEI packet received {"connection_id":173687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":173687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:02:04] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd3b180012ceb90400719c568001a009531..."} 
[2026-09-04 20:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd3b180012ceb90400719c568001a009531..."} 
[2026-09-04 20:02:04] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd3b180012ceb90400719c568001a009531..."} 
[2026-09-04 20:02:04] local.INFO: Packet analysis {"connection_id":173687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd3"} 
[2026-09-04 20:02:04] local.INFO: Extracted packet for processing {"connection_id":173687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd3"} 
[2026-09-04 20:02:04] local.INFO: GPS Element Parsed {"raw_longitude":753635392,"raw_latitude":119129448,"longitude_deg":75.3635392,"latitude_deg":11.9129448,"altitude":26,"angle":149,"satellites":49,"speed":26,"hex_longitude":"2ceb9040","hex_latitude":"0719c568","is_valid_coordinates":true} 
[2026-09-04 20:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864241664001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398530234439172096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1477110278534082560,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788532208000,"timestamp_ms":1788532208000,"timestamp_seconds":1788532208,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd3b180"} 
[2026-09-04 20:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 20:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864241664001,"66":27234,"137":206,"83":41216,"24":26,"16":398530234439172096,"44":-1477110278534082560},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-04 20:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864241664001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:02:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 20:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398530234439172096,"km_value":398530234439172.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:02:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1477110278534082560,"description":"Unknown IO ID 44"} 
[2026-09-04 20:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864241664001,"power":27234,"unknown_137":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1477110278534082560}} 
[2026-09-04 20:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":173687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:02:04] local.INFO: GPS data processed {"connection_id":173687,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:02:04] local.INFO: Acknowledgment sent {"connection_id":173687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:02:09] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd3e830012ceba2000719a6d0001b009730..."} 
[2026-09-04 20:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd3e830012ceba2000719a6d0001b009730..."} 
[2026-09-04 20:02:09] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd3e830012ceba2000719a6d0001b009730..."} 
[2026-09-04 20:02:09] local.INFO: Packet analysis {"connection_id":173687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd3"} 
[2026-09-04 20:02:09] local.INFO: Extracted packet for processing {"connection_id":173687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd3"} 
[2026-09-04 20:02:09] local.INFO: GPS Element Parsed {"raw_longitude":753639936,"raw_latitude":119121616,"longitude_deg":75.3639936,"latitude_deg":11.9121616,"altitude":27,"angle":151,"satellites":48,"speed":24,"hex_longitude":"2ceba200","hex_latitude":"0719a6d0","is_valid_coordinates":true} 
[2026-09-04 20:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864245248001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398530672525836288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1472606678908835840,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788532222000,"timestamp_ms":1788532222000,"timestamp_seconds":1788532222,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd3e830"} 
[2026-09-04 20:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 20:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864245248001,"66":27245,"137":206,"83":41216,"24":24,"16":398530672525836288,"44":-1472606678908835840},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-04 20:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864245248001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:02:09] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 20:02:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398530672525836288,"km_value":398530672525836.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:02:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1472606678908835840,"description":"Unknown IO ID 44"} 
[2026-09-04 20:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864245248001,"power":27245,"unknown_137":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1472606678908835840}} 
[2026-09-04 20:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":173687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:02:09] local.INFO: GPS data processed {"connection_id":173687,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:02:09] local.INFO: Acknowledgment sent {"connection_id":173687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:02:24] local.INFO: TCP Data received {"connection_id":171286,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd1e490012d19c64007202388002f013926..."} 
[2026-09-04 20:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd1e490012d19c64007202388002f013926..."} 
[2026-09-04 20:02:24] local.INFO: Processing buffer {"connection_id":171286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd1e490012d19c64007202388002f013926..."} 
[2026-09-04 20:02:24] local.INFO: Packet analysis {"connection_id":171286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd1"} 
[2026-09-04 20:02:24] local.INFO: Extracted packet for processing {"connection_id":171286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd1"} 
[2026-09-04 20:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 20:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864209664001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788532090000,"timestamp_ms":1788532090000,"timestamp_seconds":1788532090,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd1e490"} 
[2026-09-04 20:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 20:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864209664001,"66":11450,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 20:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864209664001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:02:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 20:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 20:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864209664001,"power":11450,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 20:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":171286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:02:25] local.INFO: GPS data processed {"connection_id":171286,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:02:25] local.INFO: Acknowledgment sent {"connection_id":171286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:02:27] local.INFO: TCP Data received {"connection_id":171287,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:02:27] local.INFO: Processing buffer {"connection_id":171287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd0e2c0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:02:27] local.INFO: Packet analysis {"connection_id":171287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:02:27] local.INFO: Extracted packet for processing {"connection_id":171287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd0"} 
[2026-09-04 20:02:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864121088001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788532024000,"timestamp_ms":1788532024000,"timestamp_seconds":1788532024,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd0e2c0"} 
[2026-09-04 20:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864121088001,"66":25647,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864121088001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:02:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:02:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864121088001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":171287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764938,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:02:27] local.INFO: GPS data processed {"connection_id":171287,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:02:27] local.INFO: Acknowledgment sent {"connection_id":171287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:02:40] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd43a38012cebab8007199680001e009532..."} 
[2026-09-04 20:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd43a38012cebab8007199680001e009532..."} 
[2026-09-04 20:02:40] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd43a38012cebab8007199680001e009532..."} 
[2026-09-04 20:02:40] local.INFO: Packet analysis {"connection_id":173687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd4"} 
[2026-09-04 20:02:40] local.INFO: Extracted packet for processing {"connection_id":173687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd4"} 
[2026-09-04 20:02:40] local.INFO: GPS Element Parsed {"raw_longitude":753642368,"raw_latitude":119117440,"longitude_deg":75.3642368,"latitude_deg":11.911744,"altitude":30,"angle":149,"satellites":50,"speed":0,"hex_longitude":"2cebab80","hex_latitude":"07199680","is_valid_coordinates":true} 
[2026-09-04 20:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864248832001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398530913044004864,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1467610498074226688,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788532243000,"timestamp_ms":1788532243000,"timestamp_seconds":1788532243,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd43a38"} 
[2026-09-04 20:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 20:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864248832001,"66":27397,"137":206,"83":41216,"24":0,"16":398530913044004864,"44":-1467610498074226688},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-04 20:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864248832001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:02:40] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 20:02:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398530913044004864,"km_value":398530913044004.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:02:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1467610498074226688,"description":"Unknown IO ID 44"} 
[2026-09-04 20:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864248832001,"power":27397,"unknown_137":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1467610498074226688}} 
[2026-09-04 20:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":173687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:02:40] local.INFO: GPS data processed {"connection_id":173687,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:02:40] local.INFO: Acknowledgment sent {"connection_id":173687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:02:48] local.INFO: TCP Data received {"connection_id":173688,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:02:48] local.INFO: Processing buffer {"connection_id":173688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:02:48] local.INFO: IMEI packet received {"connection_id":173688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":173688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:02:52] local.INFO: TCP Data received {"connection_id":173688,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:02:52] local.INFO: Processing buffer {"connection_id":173688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:02:52] local.INFO: IMEI packet received {"connection_id":173688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":173688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:02:53] local.INFO: TCP Data received {"connection_id":173688,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd23698012d19c64007202388002f013925..."} 
[2026-09-04 20:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd23698012d19c64007202388002f013925..."} 
[2026-09-04 20:02:53] local.INFO: Processing buffer {"connection_id":173688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd23698012d19c64007202388002f013925..."} 
[2026-09-04 20:02:53] local.INFO: Packet analysis {"connection_id":173688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd2"} 
[2026-09-04 20:02:53] local.INFO: Extracted packet for processing {"connection_id":173688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd2"} 
[2026-09-04 20:02:53] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119546760,"longitude_deg":75.6663872,"latitude_deg":11.954676,"altitude":47,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d19c640","hex_latitude":"07202388","is_valid_coordinates":true} 
[2026-09-04 20:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864215040001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411410870927360,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295685056512,"note":"Value kept but may cause issues"} 
[2026-09-04 20:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788532111000,"timestamp_ms":1788532111000,"timestamp_seconds":1788532111,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd23698"} 
[2026-09-04 20:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-09-04 20:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2092,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864215040001,"66":12374,"101":206,"83":41984,"24":0,"16":17411410870927360,"45":1857242295685056512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 20:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864215040001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:02:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 20:02:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411410870927360,"km_value":17411410870927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295685056512,"description":"Unknown IO ID 45"} 
[2026-09-04 20:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864215040001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857242295685056512}} 
[2026-09-04 20:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":173688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:02:53] local.INFO: GPS data processed {"connection_id":173688,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:02:53] local.INFO: Acknowledgment sent {"connection_id":173688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:02:53] local.INFO: TCP Data received {"connection_id":171288,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:02:53] local.INFO: Processing buffer {"connection_id":171288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:02:53] local.INFO: IMEI packet received {"connection_id":171288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":171288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:02:58] local.INFO: TCP Data received {"connection_id":172401,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:02:58] local.INFO: Processing buffer {"connection_id":172401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:02:58] local.INFO: IMEI packet received {"connection_id":172401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":172401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:02:58] local.INFO: TCP Data received {"connection_id":171288,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:02:58] local.INFO: Processing buffer {"connection_id":171288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:02:58] local.INFO: IMEI packet received {"connection_id":171288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":171288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:02:59] local.INFO: TCP Data received {"connection_id":172401,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:02:59] local.INFO: Processing buffer {"connection_id":172401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:02:59] local.INFO: IMEI packet received {"connection_id":172401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":172401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:03:00] local.INFO: TCP Data received {"connection_id":171288,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:03:00] local.INFO: Processing buffer {"connection_id":171288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:03:00] local.INFO: Packet analysis {"connection_id":171288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:03:00] local.INFO: Extracted packet for processing {"connection_id":171288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:03:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864198144001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788532325000,"timestamp_ms":1788532325000,"timestamp_seconds":1788532325,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd57a88"} 
[2026-09-04 20:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864198144001,"66":25549,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864198144001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:03:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:03:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864198144001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":171288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764941,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:03:00] local.INFO: GPS data processed {"connection_id":171288,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:03:00] local.INFO: Acknowledgment sent {"connection_id":171288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:03:03] local.INFO: TCP Data received {"connection_id":172401,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:03:03] local.INFO: Processing buffer {"connection_id":172401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:03:03] local.INFO: IMEI packet received {"connection_id":172401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":172401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:03:04] local.INFO: TCP Data received {"connection_id":172401,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd48c40012cebb6c007198440001f009631..."} 
[2026-09-04 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd48c40012cebb6c007198440001f009631..."} 
[2026-09-04 20:03:04] local.INFO: Processing buffer {"connection_id":172401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd48c40012cebb6c007198440001f009631..."} 
[2026-09-04 20:03:04] local.INFO: Packet analysis {"connection_id":172401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd4"} 
[2026-09-04 20:03:04] local.INFO: Extracted packet for processing {"connection_id":172401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd4"} 
[2026-09-04 20:03:04] local.INFO: GPS Element Parsed {"raw_longitude":753645248,"raw_latitude":119112768,"longitude_deg":75.3645248,"latitude_deg":11.9112768,"altitude":31,"angle":150,"satellites":49,"speed":19,"hex_longitude":"2cebb6c0","hex_latitude":"07198440","is_valid_coordinates":true} 
[2026-09-04 20:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864254208001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398531175037009920,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1464936485796544512,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788532264000,"timestamp_ms":1788532264000,"timestamp_seconds":1788532264,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd48c40"} 
[2026-09-04 20:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 20:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864254208001,"66":27343,"136":206,"83":41216,"24":19,"16":398531175037009920,"44":-1464936485796544512},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-09-04 20:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864254208001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:03:04] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-04 20:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398531175037009920,"km_value":398531175037009.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1464936485796544512,"description":"Unknown IO ID 44"} 
[2026-09-04 20:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864254208001,"power":27343,"unknown_136":206,"unknown_83":41216,"ignition":19,"odometer":null,"unknown_44":-1464936485796544512}} 
[2026-09-04 20:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":172401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:03:04] local.INFO: GPS data processed {"connection_id":172401,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:03:04] local.INFO: Acknowledgment sent {"connection_id":172401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:03:05] local.INFO: TCP Data received {"connection_id":171288,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:03:05] local.INFO: Processing buffer {"connection_id":171288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:03:05] local.INFO: Packet analysis {"connection_id":171288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:03:05] local.INFO: Extracted packet for processing {"connection_id":171288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864198144001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788532325000,"timestamp_ms":1788532325000,"timestamp_seconds":1788532325,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd57a88"} 
[2026-09-04 20:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864198144001,"66":25549,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864198144001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:03:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:03:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864198144001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":171288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:03:05] local.INFO: GPS data processed {"connection_id":171288,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:03:05] local.INFO: Acknowledgment sent {"connection_id":171288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:03:24] local.INFO: TCP Data received {"connection_id":173688,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd5f788012d19c880072023600035007824..."} 
[2026-09-04 20:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd5f788012d19c880072023600035007824..."} 
[2026-09-04 20:03:24] local.INFO: Processing buffer {"connection_id":173688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd5f788012d19c880072023600035007824..."} 
[2026-09-04 20:03:24] local.INFO: Packet analysis {"connection_id":173688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:03:24] local.INFO: Extracted packet for processing {"connection_id":173688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:03:24] local.INFO: GPS Element Parsed {"raw_longitude":756664448,"raw_latitude":119546720,"longitude_deg":75.6664448,"latitude_deg":11.954672,"altitude":53,"angle":120,"satellites":36,"speed":4,"hex_longitude":"2d19c880","hex_latitude":"07202360","is_valid_coordinates":true} 
[2026-09-04 20:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864283136001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17411436640731136,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857805245638486016,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788532357000,"timestamp_ms":1788532357000,"timestamp_seconds":1788532357,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd5f788"} 
[2026-09-04 20:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-04 20:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864283136001,"66":12722,"101":206,"83":41984,"24":4,"16":17411436640731136,"45":1857805245638486016},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-04 20:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864283136001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:03:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-04 20:03:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17411436640731136,"km_value":17411436640731.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857805245638486016,"description":"Unknown IO ID 45"} 
[2026-09-04 20:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864283136001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1857805245638486016}} 
[2026-09-04 20:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":173688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:03:25] local.INFO: GPS data processed {"connection_id":173688,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:03:25] local.INFO: Acknowledgment sent {"connection_id":173688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:03:36] local.INFO: TCP Data received {"connection_id":172401,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd63220012cec2a80071906d8001500b332..."} 
[2026-09-04 20:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd63220012cec2a80071906d8001500b332..."} 
[2026-09-04 20:03:36] local.INFO: Processing buffer {"connection_id":172401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd63220012cec2a80071906d8001500b332..."} 
[2026-09-04 20:03:36] local.INFO: Packet analysis {"connection_id":172401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd6"} 
[2026-09-04 20:03:36] local.INFO: Extracted packet for processing {"connection_id":172401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd6"} 
[2026-09-04 20:03:36] local.INFO: GPS Element Parsed {"raw_longitude":753674880,"raw_latitude":119080664,"longitude_deg":75.367488,"latitude_deg":11.9080664,"altitude":21,"angle":179,"satellites":50,"speed":9,"hex_longitude":"2cec2a80","hex_latitude":"071906d8","is_valid_coordinates":true} 
[2026-09-04 20:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864286976001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398533361175363584,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1429189163763634176,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788532372000,"timestamp_ms":1788532372000,"timestamp_seconds":1788532372,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd63220"} 
[2026-09-04 20:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-04 20:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864286976001,"66":27169,"138":206,"83":41216,"24":9,"16":398533361175363584,"44":-1429189163763634176},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-09-04 20:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864286976001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:03:36] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 20:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398533361175363584,"km_value":398533361175363.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:03:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1429189163763634176,"description":"Unknown IO ID 44"} 
[2026-09-04 20:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864286976001,"power":27169,"unknown_138":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1429189163763634176}} 
[2026-09-04 20:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":172401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:03:36] local.INFO: GPS data processed {"connection_id":172401,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:03:36] local.INFO: Acknowledgment sent {"connection_id":172401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:03:46] local.INFO: TCP Data received {"connection_id":171290,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:03:46] local.INFO: Processing buffer {"connection_id":171290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:03:46] local.INFO: IMEI packet received {"connection_id":171290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":171290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:03:47] local.INFO: TCP Data received {"connection_id":171290,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:03:47] local.INFO: Processing buffer {"connection_id":171290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:03:47] local.INFO: IMEI packet received {"connection_id":171290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":171290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:03:48] local.INFO: TCP Data received {"connection_id":171290,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:03:48] local.INFO: Processing buffer {"connection_id":171290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:03:48] local.INFO: IMEI packet received {"connection_id":171290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":171290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:03:49] local.INFO: TCP Data received {"connection_id":171289,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:03:49] local.INFO: Processing buffer {"connection_id":171289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:03:49] local.INFO: IMEI packet received {"connection_id":171289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":171289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:03:49] local.INFO: TCP Data received {"connection_id":171290,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:03:49] local.INFO: Processing buffer {"connection_id":171290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:03:49] local.INFO: IMEI packet received {"connection_id":171290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":171290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:03:53] local.INFO: TCP Data received {"connection_id":171289,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:03:53] local.INFO: Processing buffer {"connection_id":171289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:03:53] local.INFO: IMEI packet received {"connection_id":171289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":171289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:03:55] local.INFO: TCP Data received {"connection_id":171289,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:03:55] local.INFO: Processing buffer {"connection_id":171289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:03:55] local.INFO: Packet analysis {"connection_id":171289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:03:55] local.INFO: Extracted packet for processing {"connection_id":171289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:03:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864198144001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788532325000,"timestamp_ms":1788532325000,"timestamp_seconds":1788532325,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd57a88"} 
[2026-09-04 20:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864198144001,"66":25549,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864198144001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:03:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864198144001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":171289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764946,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:03:55] local.INFO: GPS data processed {"connection_id":171289,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:03:55] local.INFO: Acknowledgment sent {"connection_id":171289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:03:58] local.INFO: TCP Data received {"connection_id":171291,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:03:58] local.INFO: Processing buffer {"connection_id":171291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:03:58] local.INFO: IMEI packet received {"connection_id":171291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":171291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:03:59] local.INFO: TCP Data received {"connection_id":171291,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:03:59] local.INFO: Processing buffer {"connection_id":171291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:03:59] local.INFO: IMEI packet received {"connection_id":171291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":171291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:04:02] local.INFO: TCP Data received {"connection_id":171291,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:04:03] local.INFO: Processing buffer {"connection_id":171291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:04:03] local.INFO: IMEI packet received {"connection_id":171291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":171291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:04:03] local.INFO: TCP Data received {"connection_id":171291,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:04:03] local.INFO: Processing buffer {"connection_id":171291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:04:03] local.INFO: IMEI packet received {"connection_id":171291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":171291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:04:04] local.INFO: TCP Data received {"connection_id":171291,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd63608012cec2a80071905d0001500c832..."} 
[2026-09-04 20:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd63608012cec2a80071905d0001500c832..."} 
[2026-09-04 20:04:04] local.INFO: Processing buffer {"connection_id":171291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd63608012cec2a80071905d0001500c832..."} 
[2026-09-04 20:04:04] local.INFO: Packet analysis {"connection_id":171291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd6"} 
[2026-09-04 20:04:04] local.INFO: Extracted packet for processing {"connection_id":171291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd6"} 
[2026-09-04 20:04:04] local.INFO: GPS Element Parsed {"raw_longitude":753674880,"raw_latitude":119080400,"longitude_deg":75.367488,"latitude_deg":11.90804,"altitude":21,"angle":200,"satellites":50,"speed":7,"hex_longitude":"2cec2a80","hex_latitude":"071905d0","is_valid_coordinates":true} 
[2026-09-04 20:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864287232001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398533374060265472,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1429189163763705856,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788532373000,"timestamp_ms":1788532373000,"timestamp_seconds":1788532373,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd63608"} 
[2026-09-04 20:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-04 20:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864287232001,"66":27169,"138":206,"83":41216,"24":7,"16":398533374060265472,"44":-1429189163763705856},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-09-04 20:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864287232001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:04:04] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 20:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398533374060265472,"km_value":398533374060265.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:04:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1429189163763705856,"description":"Unknown IO ID 44"} 
[2026-09-04 20:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864287232001,"power":27169,"unknown_138":206,"unknown_83":41216,"ignition":7,"odometer":null,"unknown_44":-1429189163763705856}} 
[2026-09-04 20:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":171291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:04:04] local.INFO: GPS data processed {"connection_id":171291,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:04:04] local.INFO: Acknowledgment sent {"connection_id":171291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:04:08] local.INFO: TCP Data received {"connection_id":171291,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd639f0012cec2a0007190500001500dc32..."} 
[2026-09-04 20:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd639f0012cec2a0007190500001500dc32..."} 
[2026-09-04 20:04:08] local.INFO: Processing buffer {"connection_id":171291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd639f0012cec2a0007190500001500dc32..."} 
[2026-09-04 20:04:08] local.INFO: Packet analysis {"connection_id":171291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd6"} 
[2026-09-04 20:04:08] local.INFO: Extracted packet for processing {"connection_id":171291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd6"} 
[2026-09-04 20:04:08] local.INFO: GPS Element Parsed {"raw_longitude":753674752,"raw_latitude":119080192,"longitude_deg":75.3674752,"latitude_deg":11.9080192,"altitude":21,"angle":220,"satellites":50,"speed":6,"hex_longitude":"2cec2a00","hex_latitude":"07190500","is_valid_coordinates":true} 
[2026-09-04 20:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864287488001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398533386945167360,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1429189163763773440,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788532374000,"timestamp_ms":1788532374000,"timestamp_seconds":1788532374,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd639f0"} 
[2026-09-04 20:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-04 20:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864287488001,"66":27169,"138":206,"83":41216,"24":6,"16":398533386945167360,"44":-1429189163763773440},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-09-04 20:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864287488001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:04:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 20:04:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398533386945167360,"km_value":398533386945167.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:04:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1429189163763773440,"description":"Unknown IO ID 44"} 
[2026-09-04 20:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864287488001,"power":27169,"unknown_138":206,"unknown_83":41216,"ignition":6,"odometer":null,"unknown_44":-1429189163763773440}} 
[2026-09-04 20:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":171291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:04:08] local.INFO: GPS data processed {"connection_id":171291,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:04:08] local.INFO: Acknowledgment sent {"connection_id":171291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:04:26] local.INFO: TCP Data received {"connection_id":171289,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:04:26] local.INFO: Processing buffer {"connection_id":171289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:04:26] local.INFO: Packet analysis {"connection_id":171289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:04:26] local.INFO: Extracted packet for processing {"connection_id":171289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:04:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864198144001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788532325000,"timestamp_ms":1788532325000,"timestamp_seconds":1788532325,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd57a88"} 
[2026-09-04 20:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864198144001,"66":25549,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864198144001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:04:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:04:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864198144001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":171289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:04:26] local.INFO: GPS data processed {"connection_id":171289,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:04:26] local.INFO: Acknowledgment sent {"connection_id":171289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:04:39] local.INFO: TCP Data received {"connection_id":171291,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd64990012cec2880071903d0001600fc31..."} 
[2026-09-04 20:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd64990012cec2880071903d0001600fc31..."} 
[2026-09-04 20:04:39] local.INFO: Processing buffer {"connection_id":171291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd64990012cec2880071903d0001600fc31..."} 
[2026-09-04 20:04:39] local.INFO: Packet analysis {"connection_id":171291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd6"} 
[2026-09-04 20:04:39] local.INFO: Extracted packet for processing {"connection_id":171291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd6"} 
[2026-09-04 20:04:39] local.INFO: GPS Element Parsed {"raw_longitude":753674368,"raw_latitude":119079888,"longitude_deg":75.3674368,"latitude_deg":11.9079888,"altitude":22,"angle":252,"satellites":49,"speed":7,"hex_longitude":"2cec2880","hex_latitude":"071903d0","is_valid_coordinates":true} 
[2026-09-04 20:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864287744001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398533408420003840,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1429329901252182016,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788532378000,"timestamp_ms":1788532378000,"timestamp_seconds":1788532378,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd64990"} 
[2026-09-04 20:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-04 20:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864287744001,"66":27332,"138":206,"83":41216,"24":7,"16":398533408420003840,"44":-1429329901252182016},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-09-04 20:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864287744001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:04:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-04 20:04:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398533408420003840,"km_value":398533408420003.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:04:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1429329901252182016,"description":"Unknown IO ID 44"} 
[2026-09-04 20:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864287744001,"power":27332,"unknown_138":206,"unknown_83":41216,"ignition":7,"odometer":null,"unknown_44":-1429329901252182016}} 
[2026-09-04 20:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":171291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:04:39] local.INFO: GPS data processed {"connection_id":171291,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:04:39] local.INFO: Acknowledgment sent {"connection_id":171291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:04:48] local.INFO: TCP Data received {"connection_id":172402,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:04:48] local.INFO: Processing buffer {"connection_id":172402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:04:48] local.INFO: IMEI packet received {"connection_id":172402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":172402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:04:53] local.INFO: TCP Data received {"connection_id":172402,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:04:53] local.INFO: Processing buffer {"connection_id":172402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:04:53] local.INFO: IMEI packet received {"connection_id":172402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":172402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:04:55] local.INFO: TCP Data received {"connection_id":172402,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:04:55] local.INFO: Processing buffer {"connection_id":172402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:04:55] local.INFO: Packet analysis {"connection_id":172402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:04:55] local.INFO: Extracted packet for processing {"connection_id":172402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:04:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864198144001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788532325000,"timestamp_ms":1788532325000,"timestamp_seconds":1788532325,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd57a88"} 
[2026-09-04 20:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864198144001,"66":25549,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864198144001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:04:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:04:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864198144001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":172402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:04:55] local.INFO: GPS data processed {"connection_id":172402,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:04:55] local.INFO: Acknowledgment sent {"connection_id":172402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:05:01] local.INFO: TCP Data received {"connection_id":171292,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:05:01] local.INFO: Processing buffer {"connection_id":171292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:05:01] local.INFO: IMEI packet received {"connection_id":171292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":171292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:05:03] local.INFO: TCP Data received {"connection_id":171292,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:05:03] local.INFO: Processing buffer {"connection_id":171292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:05:03] local.INFO: IMEI packet received {"connection_id":171292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":171292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:05:08] local.INFO: TCP Data received {"connection_id":171292,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:05:08] local.INFO: Processing buffer {"connection_id":171292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:05:08] local.INFO: IMEI packet received {"connection_id":171292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":171292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:05:10] local.INFO: TCP Data received {"connection_id":171292,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd72068012cebc24007197080001a014e2b..."} 
[2026-09-04 20:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd72068012cebc24007197080001a014e2b..."} 
[2026-09-04 20:05:10] local.INFO: Processing buffer {"connection_id":171292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd72068012cebc24007197080001a014e2b..."} 
[2026-09-04 20:05:10] local.INFO: Packet analysis {"connection_id":171292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:05:10] local.INFO: Extracted packet for processing {"connection_id":171292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":753648192,"raw_latitude":119107712,"longitude_deg":75.3648192,"latitude_deg":11.9107712,"altitude":26,"angle":334,"satellites":43,"speed":32,"hex_longitude":"2cebc240","hex_latitude":"07197080","is_valid_coordinates":true} 
[2026-09-04 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864300288001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398535306795548672,"note":"Value kept but may cause issues"} 
[2026-09-04 20:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1453888592965197824,"note":"Value kept but may cause issues"} 
[2026-09-04 20:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788532433000,"timestamp_ms":1788532433000,"timestamp_seconds":1788532433,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd72068"} 
[2026-09-04 20:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 20:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864300288001,"66":27343,"135":206,"83":41216,"24":32,"16":398535306795548672,"44":-1453888592965197824},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 20:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864300288001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:05:10] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 20:05:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398535306795548672,"km_value":398535306795548.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1453888592965197824,"description":"Unknown IO ID 44"} 
[2026-09-04 20:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864300288001,"power":27343,"unknown_135":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1453888592965197824}} 
[2026-09-04 20:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":171292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:05:10] local.INFO: GPS data processed {"connection_id":171292,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:05:10] local.INFO: Acknowledgment sent {"connection_id":171292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:05:13] local.INFO: TCP Data received {"connection_id":171292,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd74778012cebaf8007198fe8001a01472d..."} 
[2026-09-04 20:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd74778012cebaf8007198fe8001a01472d..."} 
[2026-09-04 20:05:13] local.INFO: Processing buffer {"connection_id":171292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd74778012cebaf8007198fe8001a01472d..."} 
[2026-09-04 20:05:13] local.INFO: Packet analysis {"connection_id":171292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:05:13] local.INFO: Extracted packet for processing {"connection_id":171292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:05:13] local.INFO: GPS Element Parsed {"raw_longitude":753643392,"raw_latitude":119115752,"longitude_deg":75.3643392,"latitude_deg":11.9115752,"altitude":26,"angle":327,"satellites":45,"speed":37,"hex_longitude":"2cebaf80","hex_latitude":"07198fe8","is_valid_coordinates":true} 
[2026-09-04 20:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864302848001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398535762062082048,"note":"Value kept but may cause issues"} 
[2026-09-04 20:05:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1458532930078867456,"note":"Value kept but may cause issues"} 
[2026-09-04 20:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788532443000,"timestamp_ms":1788532443000,"timestamp_seconds":1788532443,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd74778"} 
[2026-09-04 20:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 20:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864302848001,"66":27517,"135":206,"83":41216,"24":37,"16":398535762062082048,"44":-1458532930078867456},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 20:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864302848001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:05:14] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 20:05:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398535762062082048,"km_value":398535762062082.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:05:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1458532930078867456,"description":"Unknown IO ID 44"} 
[2026-09-04 20:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864302848001,"power":27517,"unknown_135":206,"unknown_83":41216,"ignition":37,"odometer":null,"unknown_44":-1458532930078867456}} 
[2026-09-04 20:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":171292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:05:14] local.INFO: GPS data processed {"connection_id":171292,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:05:14] local.INFO: Acknowledgment sent {"connection_id":171292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:05:26] local.INFO: TCP Data received {"connection_id":172402,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:05:26] local.INFO: Processing buffer {"connection_id":172402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:05:26] local.INFO: Packet analysis {"connection_id":172402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:05:26] local.INFO: Extracted packet for processing {"connection_id":172402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:05:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864198144001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788532325000,"timestamp_ms":1788532325000,"timestamp_seconds":1788532325,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd57a88"} 
[2026-09-04 20:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864198144001,"66":25549,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864198144001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:05:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:05:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864198144001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":172402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764954,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:05:26] local.INFO: GPS data processed {"connection_id":172402,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:05:26] local.INFO: Acknowledgment sent {"connection_id":172402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:05:48] local.INFO: TCP Data received {"connection_id":173689,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:05:48] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:05:48] local.INFO: IMEI packet received {"connection_id":173689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":173689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:05:53] local.INFO: TCP Data received {"connection_id":173689,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:05:53] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:05:53] local.INFO: IMEI packet received {"connection_id":173689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":173689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:05:55] local.INFO: TCP Data received {"connection_id":173689,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:05:55] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:05:55] local.INFO: Packet analysis {"connection_id":173689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:05:55] local.INFO: Extracted packet for processing {"connection_id":173689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:05:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864198144001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788532325000,"timestamp_ms":1788532325000,"timestamp_seconds":1788532325,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd57a88"} 
[2026-09-04 20:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864198144001,"66":25549,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864198144001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:05:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:05:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864198144001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":173689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764955,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:05:55] local.INFO: GPS data processed {"connection_id":173689,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:05:55] local.INFO: Acknowledgment sent {"connection_id":173689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:05:58] local.INFO: TCP Data received {"connection_id":173691,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:05:58] local.INFO: Processing buffer {"connection_id":173691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:05:58] local.INFO: IMEI packet received {"connection_id":173691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":173691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:06:04] local.INFO: TCP Data received {"connection_id":173691,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:06:04] local.INFO: Processing buffer {"connection_id":173691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:06:04] local.INFO: IMEI packet received {"connection_id":173691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":173691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:06:04] local.INFO: TCP Data received {"connection_id":173691,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd76aa0012ceb9dc00719ae18001801482e..."} 
[2026-09-04 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd76aa0012ceb9dc00719ae18001801482e..."} 
[2026-09-04 20:06:04] local.INFO: Processing buffer {"connection_id":173691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd76aa0012ceb9dc00719ae18001801482e..."} 
[2026-09-04 20:06:04] local.INFO: Packet analysis {"connection_id":173691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:06:04] local.INFO: Extracted packet for processing {"connection_id":173691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:06:04] local.INFO: GPS Element Parsed {"raw_longitude":753638848,"raw_latitude":119123480,"longitude_deg":75.3638848,"latitude_deg":11.912348,"altitude":24,"angle":328,"satellites":46,"speed":43,"hex_longitude":"2ceb9dc0","hex_latitude":"0719ae18","is_valid_coordinates":true} 
[2026-09-04 20:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864305408001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398536191558811648,"note":"Value kept but may cause issues"} 
[2026-09-04 20:06:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1463810585890134016,"note":"Value kept but may cause issues"} 
[2026-09-04 20:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788532452000,"timestamp_ms":1788532452000,"timestamp_seconds":1788532452,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd76aa0"} 
[2026-09-04 20:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-04 20:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864305408001,"66":27343,"135":206,"83":41216,"24":43,"16":398536191558811648,"44":-1463810585890134016},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 20:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864305408001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:06:04] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 20:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398536191558811648,"km_value":398536191558811.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:06:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1463810585890134016,"description":"Unknown IO ID 44"} 
[2026-09-04 20:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864305408001,"power":27343,"unknown_135":206,"unknown_83":41216,"ignition":43,"odometer":null,"unknown_44":-1463810585890134016}} 
[2026-09-04 20:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":173691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:06:04] local.INFO: GPS data processed {"connection_id":173691,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:06:04] local.INFO: Acknowledgment sent {"connection_id":173691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:06:05] local.INFO: TCP Data received {"connection_id":173691,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd791b0012ceb8b400719cf580016014e2d..."} 
[2026-09-04 20:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd791b0012ceb8b400719cf580016014e2d..."} 
[2026-09-04 20:06:05] local.INFO: Processing buffer {"connection_id":173691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd791b0012ceb8b400719cf580016014e2d..."} 
[2026-09-04 20:06:05] local.INFO: Packet analysis {"connection_id":173691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:06:05] local.INFO: Extracted packet for processing {"connection_id":173691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:06:05] local.INFO: GPS Element Parsed {"raw_longitude":753634112,"raw_latitude":119131992,"longitude_deg":75.3634112,"latitude_deg":11.9131992,"altitude":22,"angle":334,"satellites":45,"speed":36,"hex_longitude":"2ceb8b40","hex_latitude":"0719cf58","is_valid_coordinates":true} 
[2026-09-04 20:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864307712001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398536664005214208,"note":"Value kept but may cause issues"} 
[2026-09-04 20:06:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1468806766724769792,"note":"Value kept but may cause issues"} 
[2026-09-04 20:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788532462000,"timestamp_ms":1788532462000,"timestamp_seconds":1788532462,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd791b0"} 
[2026-09-04 20:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 20:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864307712001,"66":27213,"135":206,"83":41216,"24":36,"16":398536664005214208,"44":-1468806766724769792},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 20:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864307712001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:06:05] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 20:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398536664005214208,"km_value":398536664005214.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:06:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1468806766724769792,"description":"Unknown IO ID 44"} 
[2026-09-04 20:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864307712001,"power":27213,"unknown_135":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1468806766724769792}} 
[2026-09-04 20:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":173691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:06:05] local.INFO: GPS data processed {"connection_id":173691,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:06:05] local.INFO: Acknowledgment sent {"connection_id":173691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:06:26] local.INFO: TCP Data received {"connection_id":173689,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:06:26] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:06:26] local.INFO: Packet analysis {"connection_id":173689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:06:26] local.INFO: Extracted packet for processing {"connection_id":173689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:06:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864198144001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788532325000,"timestamp_ms":1788532325000,"timestamp_seconds":1788532325,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd57a88"} 
[2026-09-04 20:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864198144001,"66":25549,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864198144001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:06:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:06:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864198144001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":173689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764958,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:06:26] local.INFO: GPS data processed {"connection_id":173689,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:06:26] local.INFO: Acknowledgment sent {"connection_id":173689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:06:36] local.INFO: TCP Data received {"connection_id":173691,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd7e3b8012ceb7c000719ee100017015430..."} 
[2026-09-04 20:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd7e3b8012ceb7c000719ee100017015430..."} 
[2026-09-04 20:06:36] local.INFO: Processing buffer {"connection_id":173691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd7e3b8012ceb7c000719ee100017015430..."} 
[2026-09-04 20:06:36] local.INFO: Packet analysis {"connection_id":173691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:06:36] local.INFO: Extracted packet for processing {"connection_id":173691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:06:36] local.INFO: GPS Element Parsed {"raw_longitude":753630208,"raw_latitude":119139856,"longitude_deg":75.3630208,"latitude_deg":11.9139856,"altitude":23,"angle":340,"satellites":48,"speed":0,"hex_longitude":"2ceb7c00","hex_latitude":"0719ee10","is_valid_coordinates":true} 
[2026-09-04 20:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864310272001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398537089206976512,"note":"Value kept but may cause issues"} 
[2026-09-04 20:06:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1474014053791737856,"note":"Value kept but may cause issues"} 
[2026-09-04 20:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788532483000,"timestamp_ms":1788532483000,"timestamp_seconds":1788532483,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd7e3b8"} 
[2026-09-04 20:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 20:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864310272001,"66":27376,"135":206,"83":41216,"24":0,"16":398537089206976512,"44":-1474014053791737856},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 20:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864310272001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:06:36] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 20:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398537089206976512,"km_value":398537089206976.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:06:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1474014053791737856,"description":"Unknown IO ID 44"} 
[2026-09-04 20:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864310272001,"power":27376,"unknown_135":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1474014053791737856}} 
[2026-09-04 20:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":173691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:06:36] local.INFO: GPS data processed {"connection_id":173691,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:06:36] local.INFO: Acknowledgment sent {"connection_id":173691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:06:53] local.INFO: TCP Data received {"connection_id":172404,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:06:53] local.INFO: Processing buffer {"connection_id":172404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:06:53] local.INFO: IMEI packet received {"connection_id":172404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":172404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:06:58] local.INFO: TCP Data received {"connection_id":172404,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:06:58] local.INFO: Processing buffer {"connection_id":172404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:06:58] local.INFO: IMEI packet received {"connection_id":172404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":172404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:06:58] local.INFO: TCP Data received {"connection_id":172405,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:06:58] local.INFO: Processing buffer {"connection_id":172405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:06:58] local.INFO: IMEI packet received {"connection_id":172405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":172405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:07:00] local.INFO: TCP Data received {"connection_id":172404,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:07:00] local.INFO: Processing buffer {"connection_id":172404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:07:00] local.INFO: Packet analysis {"connection_id":172404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:07:00] local.INFO: Extracted packet for processing {"connection_id":172404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864198144001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788532325000,"timestamp_ms":1788532325000,"timestamp_seconds":1788532325,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd57a88"} 
[2026-09-04 20:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864198144001,"66":25549,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864198144001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:07:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864198144001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":172404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764960,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:07:00] local.INFO: GPS data processed {"connection_id":172404,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:07:00] local.INFO: Acknowledgment sent {"connection_id":172404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:07:03] local.INFO: TCP Data received {"connection_id":172405,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:07:03] local.INFO: Processing buffer {"connection_id":172405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:07:03] local.INFO: IMEI packet received {"connection_id":172405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":172405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:07:04] local.INFO: TCP Data received {"connection_id":172405,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd835c0012ceb7a000719f388001a015430..."} 
[2026-09-04 20:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd835c0012ceb7a000719f388001a015430..."} 
[2026-09-04 20:07:04] local.INFO: Processing buffer {"connection_id":172405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd835c0012ceb7a000719f388001a015430..."} 
[2026-09-04 20:07:04] local.INFO: Packet analysis {"connection_id":172405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd8"} 
[2026-09-04 20:07:04] local.INFO: Extracted packet for processing {"connection_id":172405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd8"} 
[2026-09-04 20:07:04] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":119141256,"longitude_deg":75.3629696,"latitude_deg":11.9141256,"altitude":26,"angle":340,"satellites":48,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0719f388","is_valid_coordinates":true} 
[2026-09-04 20:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864315648001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398537162221420544,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478306547184562176,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788532504000,"timestamp_ms":1788532504000,"timestamp_seconds":1788532504,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd835c0"} 
[2026-09-04 20:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 20:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864315648001,"66":27245,"135":206,"83":41216,"24":0,"16":398537162221420544,"44":-1478306547184562176},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 20:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864315648001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:07:04] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 20:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398537162221420544,"km_value":398537162221420.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:07:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478306547184562176,"description":"Unknown IO ID 44"} 
[2026-09-04 20:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864315648001,"power":27245,"unknown_135":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1478306547184562176}} 
[2026-09-04 20:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":172405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:07:04] local.INFO: GPS data processed {"connection_id":172405,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:07:04] local.INFO: Acknowledgment sent {"connection_id":172405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:07:04] local.INFO: TCP Data received {"connection_id":172404,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:07:04] local.INFO: Processing buffer {"connection_id":172404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd57a88012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:07:04] local.INFO: Packet analysis {"connection_id":172404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:07:04] local.INFO: Extracted packet for processing {"connection_id":172404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd5"} 
[2026-09-04 20:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864198144001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788532325000,"timestamp_ms":1788532325000,"timestamp_seconds":1788532325,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd57a88"} 
[2026-09-04 20:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-04 20:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864198144001,"66":25549,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864198144001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:07:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:07:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864198144001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":172404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764962,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:07:04] local.INFO: GPS data processed {"connection_id":172404,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:07:04] local.INFO: Acknowledgment sent {"connection_id":172404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:07:09] local.INFO: TCP Data received {"connection_id":172405,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd887c8012ceb7480071a0130001b01552f..."} 
[2026-09-04 20:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd887c8012ceb7480071a0130001b01552f..."} 
[2026-09-04 20:07:09] local.INFO: Processing buffer {"connection_id":172405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd887c8012ceb7480071a0130001b01552f..."} 
[2026-09-04 20:07:09] local.INFO: Packet analysis {"connection_id":172405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd8"} 
[2026-09-04 20:07:09] local.INFO: Extracted packet for processing {"connection_id":172405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd8"} 
[2026-09-04 20:07:09] local.INFO: GPS Element Parsed {"raw_longitude":753628288,"raw_latitude":119144752,"longitude_deg":75.3628288,"latitude_deg":11.9144752,"altitude":27,"angle":341,"satellites":47,"speed":11,"hex_longitude":"2ceb7480","hex_latitude":"071a0130","is_valid_coordinates":true} 
[2026-09-04 20:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864321024001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398537346905014272,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497137625088,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788532525000,"timestamp_ms":1788532525000,"timestamp_seconds":1788532525,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd887c8"} 
[2026-09-04 20:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 20:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864321024001,"66":27365,"135":206,"83":41216,"24":11,"16":398537346905014272,"44":-1478869497137625088},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 20:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864321024001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:07:09] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 20:07:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398537346905014272,"km_value":398537346905014.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:07:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497137625088,"description":"Unknown IO ID 44"} 
[2026-09-04 20:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864321024001,"power":27365,"unknown_135":206,"unknown_83":41216,"ignition":11,"odometer":null,"unknown_44":-1478869497137625088}} 
[2026-09-04 20:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":172405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:07:09] local.INFO: GPS data processed {"connection_id":172405,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:07:09] local.INFO: Acknowledgment sent {"connection_id":172405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:07:40] local.INFO: TCP Data received {"connection_id":172405,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd89768012ceb7180071a0688001b014a32..."} 
[2026-09-04 20:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd89768012ceb7180071a0688001b014a32..."} 
[2026-09-04 20:07:40] local.INFO: Processing buffer {"connection_id":172405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd89768012ceb7180071a0688001b014a32..."} 
[2026-09-04 20:07:40] local.INFO: Packet analysis {"connection_id":172405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd8"} 
[2026-09-04 20:07:40] local.INFO: Extracted packet for processing {"connection_id":172405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd8"} 
[2026-09-04 20:07:40] local.INFO: GPS Element Parsed {"raw_longitude":753627520,"raw_latitude":119146120,"longitude_deg":75.362752,"latitude_deg":11.914612,"altitude":27,"angle":330,"satellites":50,"speed":16,"hex_longitude":"2ceb7180","hex_latitude":"071a0688","is_valid_coordinates":true} 
[2026-09-04 20:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864326400001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398537424214425600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480417609508638720,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788532529000,"timestamp_ms":1788532529000,"timestamp_seconds":1788532529,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd89768"} 
[2026-09-04 20:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 20:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864326400001,"66":27332,"135":206,"83":41216,"24":16,"16":398537424214425600,"44":-1480417609508638720},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 20:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864326400001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:07:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 20:07:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398537424214425600,"km_value":398537424214425.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:07:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480417609508638720,"description":"Unknown IO ID 44"} 
[2026-09-04 20:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864326400001,"power":27332,"unknown_135":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1480417609508638720}} 
[2026-09-04 20:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":172405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:07:40] local.INFO: GPS data processed {"connection_id":172405,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:07:40] local.INFO: Acknowledgment sent {"connection_id":172405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:07:53] local.INFO: TCP Data received {"connection_id":172407,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:07:53] local.INFO: Processing buffer {"connection_id":172407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:07:53] local.INFO: IMEI packet received {"connection_id":172407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":172407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:07:53] local.INFO: TCP Data received {"connection_id":172407,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:07:53] local.INFO: Processing buffer {"connection_id":172407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:07:53] local.INFO: IMEI packet received {"connection_id":172407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":172407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:07:54] local.INFO: TCP Data received {"connection_id":172407,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:07:54] local.INFO: Processing buffer {"connection_id":172407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:07:54] local.INFO: Packet analysis {"connection_id":172407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:07:54] local.INFO: Extracted packet for processing {"connection_id":172407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:07:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864275200001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788532626000,"timestamp_ms":1788532626000,"timestamp_seconds":1788532626,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda1250"} 
[2026-09-04 20:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 20:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864275200001,"66":25625,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864275200001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:07:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:07:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864275200001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":172407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:07:55] local.INFO: GPS data processed {"connection_id":172407,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:07:55] local.INFO: Acknowledgment sent {"connection_id":172407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:07:59] local.INFO: TCP Data received {"connection_id":170994,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:07:59] local.INFO: Processing buffer {"connection_id":170994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:07:59] local.INFO: IMEI packet received {"connection_id":170994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":170994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:07:59] local.INFO: TCP Data received {"connection_id":172407,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:07:59] local.INFO: Processing buffer {"connection_id":172407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:07:59] local.INFO: Packet analysis {"connection_id":172407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:07:59] local.INFO: Extracted packet for processing {"connection_id":172407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864275200001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788532626000,"timestamp_ms":1788532626000,"timestamp_seconds":1788532626,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda1250"} 
[2026-09-04 20:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 20:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864275200001,"66":25625,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864275200001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:07:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864275200001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":172407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764966,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:07:59] local.INFO: GPS data processed {"connection_id":172407,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:07:59] local.INFO: Acknowledgment sent {"connection_id":172407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:08:03] local.INFO: TCP Data received {"connection_id":170994,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:08:03] local.INFO: Processing buffer {"connection_id":170994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:08:03] local.INFO: IMEI packet received {"connection_id":170994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":170994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:08:04] local.INFO: TCP Data received {"connection_id":170994,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd8a320012ceb6e00071a0b70001b013c30..."} 
[2026-09-04 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd8a320012ceb6e00071a0b70001b013c30..."} 
[2026-09-04 20:08:04] local.INFO: Processing buffer {"connection_id":170994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd8a320012ceb6e00071a0b70001b013c30..."} 
[2026-09-04 20:08:04] local.INFO: Packet analysis {"connection_id":170994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd8"} 
[2026-09-04 20:08:04] local.INFO: Extracted packet for processing {"connection_id":170994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd8"} 
[2026-09-04 20:08:04] local.INFO: GPS Element Parsed {"raw_longitude":753626624,"raw_latitude":119147376,"longitude_deg":75.3626624,"latitude_deg":11.9147376,"altitude":27,"angle":316,"satellites":48,"speed":22,"hex_longitude":"2ceb6e00","hex_latitude":"071a0b70","is_valid_coordinates":true} 
[2026-09-04 20:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864327424001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398537497228869632,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481262034438420480,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788532532000,"timestamp_ms":1788532532000,"timestamp_seconds":1788532532,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd8a320"} 
[2026-09-04 20:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 20:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":170994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":170994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":170994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864327424001,"66":27332,"135":206,"83":41216,"24":22,"16":398537497228869632,"44":-1481262034438420480},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 20:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864327424001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:08:04] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 20:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398537497228869632,"km_value":398537497228869.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:08:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481262034438420480,"description":"Unknown IO ID 44"} 
[2026-09-04 20:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864327424001,"power":27332,"unknown_135":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1481262034438420480}} 
[2026-09-04 20:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":170994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:08:04] local.INFO: GPS data processed {"connection_id":170994,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:08:04] local.INFO: Acknowledgment sent {"connection_id":170994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:08:31] local.INFO: TCP Data received {"connection_id":172407,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:08:31] local.INFO: Processing buffer {"connection_id":172407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:08:31] local.INFO: Packet analysis {"connection_id":172407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:08:31] local.INFO: Extracted packet for processing {"connection_id":172407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864275200001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788532626000,"timestamp_ms":1788532626000,"timestamp_seconds":1788532626,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda1250"} 
[2026-09-04 20:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 20:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864275200001,"66":25625,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864275200001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:08:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864275200001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":172407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764968,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:08:31] local.INFO: GPS data processed {"connection_id":172407,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:08:31] local.INFO: Acknowledgment sent {"connection_id":172407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:08:35] local.INFO: TCP Data received {"connection_id":170994,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd8aed8012ceb6800071a1038001a013028..."} 
[2026-09-04 20:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd8aed8012ceb6800071a1038001a013028..."} 
[2026-09-04 20:08:35] local.INFO: Processing buffer {"connection_id":170994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd8aed8012ceb6800071a1038001a013028..."} 
[2026-09-04 20:08:35] local.INFO: Packet analysis {"connection_id":170994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd8"} 
[2026-09-04 20:08:35] local.INFO: Extracted packet for processing {"connection_id":170994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd8"} 
[2026-09-04 20:08:35] local.INFO: GPS Element Parsed {"raw_longitude":753625088,"raw_latitude":119148600,"longitude_deg":75.3625088,"latitude_deg":11.91486,"altitude":26,"angle":304,"satellites":40,"speed":27,"hex_longitude":"2ceb6800","hex_latitude":"071a1038","is_valid_coordinates":true} 
[2026-09-04 20:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864328192001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398537591718150144,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482247196856586240,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788532535000,"timestamp_ms":1788532535000,"timestamp_seconds":1788532535,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd8aed8"} 
[2026-09-04 20:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 20:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":170994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":170994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":170994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864328192001,"66":27365,"135":206,"83":41216,"24":27,"16":398537591718150144,"44":-1482247196856586240},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 20:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864328192001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:08:35] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 20:08:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398537591718150144,"km_value":398537591718150.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:08:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482247196856586240,"description":"Unknown IO ID 44"} 
[2026-09-04 20:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864328192001,"power":27365,"unknown_135":206,"unknown_83":41216,"ignition":27,"odometer":null,"unknown_44":-1482247196856586240}} 
[2026-09-04 20:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":170994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:08:35] local.INFO: GPS data processed {"connection_id":170994,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:08:35] local.INFO: Acknowledgment sent {"connection_id":170994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:08:48] local.INFO: TCP Data received {"connection_id":173693,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:08:48] local.INFO: Processing buffer {"connection_id":173693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:08:48] local.INFO: IMEI packet received {"connection_id":173693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":173693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:08:52] local.INFO: TCP Data received {"connection_id":173692,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:08:52] local.INFO: Processing buffer {"connection_id":173692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:08:52] local.INFO: IMEI packet received {"connection_id":173692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":173692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:08:53] local.INFO: TCP Data received {"connection_id":173692,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd7b4d8012d197000071febf0003f011128..."} 
[2026-09-04 20:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd7b4d8012d197000071febf0003f011128..."} 
[2026-09-04 20:08:53] local.INFO: Processing buffer {"connection_id":173692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd7b4d8012d197000071febf0003f011128..."} 
[2026-09-04 20:08:53] local.INFO: Packet analysis {"connection_id":173692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:08:53] local.INFO: Extracted packet for processing {"connection_id":173692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119532528,"longitude_deg":75.6641792,"latitude_deg":11.9532528,"altitude":63,"angle":273,"satellites":40,"speed":11,"hex_longitude":"2d197000","hex_latitude":"071febf0","is_valid_coordinates":true} 
[2026-09-04 20:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864310528001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835779828707203072,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788532471000,"timestamp_ms":1788532471000,"timestamp_seconds":1788532471,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd7b4d8"} 
[2026-09-04 20:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-04 20:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864310528001,"66":13222,"102":206,"83":41984,"24":11,"16":17413390850850816,"45":1835779828707203072},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864310528001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:08:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835779828707203072,"description":"Unknown IO ID 45"} 
[2026-09-04 20:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864310528001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1835779828707203072}} 
[2026-09-04 20:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":173692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:08:53] local.INFO: GPS data processed {"connection_id":173692,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:08:53] local.INFO: Acknowledgment sent {"connection_id":173692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:08:53] local.INFO: TCP Data received {"connection_id":173693,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:08:53] local.INFO: Processing buffer {"connection_id":173693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:08:53] local.INFO: IMEI packet received {"connection_id":173693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":173693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:08:55] local.INFO: TCP Data received {"connection_id":173693,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:08:55] local.INFO: Processing buffer {"connection_id":173693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:08:55] local.INFO: Packet analysis {"connection_id":173693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:08:55] local.INFO: Extracted packet for processing {"connection_id":173693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864275200001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788532626000,"timestamp_ms":1788532626000,"timestamp_seconds":1788532626,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda1250"} 
[2026-09-04 20:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 20:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864275200001,"66":25625,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864275200001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:08:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864275200001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":173693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:08:55] local.INFO: GPS data processed {"connection_id":173693,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:08:55] local.INFO: Acknowledgment sent {"connection_id":173693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:08:59] local.INFO: TCP Data received {"connection_id":173694,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:08:59] local.INFO: Processing buffer {"connection_id":173694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:08:59] local.INFO: IMEI packet received {"connection_id":173694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":173694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:09:03] local.INFO: TCP Data received {"connection_id":173694,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:09:03] local.INFO: Processing buffer {"connection_id":173694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:09:03] local.INFO: IMEI packet received {"connection_id":173694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":173694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:09:06] local.INFO: TCP Data received {"connection_id":173694,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd900e0012ceb50c0071a1d60001b01272f..."} 
[2026-09-04 20:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd900e0012ceb50c0071a1d60001b01272f..."} 
[2026-09-04 20:09:06] local.INFO: Processing buffer {"connection_id":173694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd900e0012ceb50c0071a1d60001b01272f..."} 
[2026-09-04 20:09:06] local.INFO: Packet analysis {"connection_id":173694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd9"} 
[2026-09-04 20:09:06] local.INFO: Extracted packet for processing {"connection_id":173694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd9"} 
[2026-09-04 20:09:06] local.INFO: GPS Element Parsed {"raw_longitude":753619136,"raw_latitude":119151968,"longitude_deg":75.3619136,"latitude_deg":11.9151968,"altitude":27,"angle":295,"satellites":47,"speed":20,"hex_longitude":"2ceb50c0","hex_latitude":"071a1d60","is_valid_coordinates":true} 
[2026-09-04 20:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864328960001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398537918135664640,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936046716536832,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788532556000,"timestamp_ms":1788532556000,"timestamp_seconds":1788532556,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd900e0"} 
[2026-09-04 20:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 20:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864328960001,"66":27245,"104":206,"83":41216,"24":20,"16":398537918135664640,"44":-1483936046716536832},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864328960001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:09:06] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398537918135664640,"km_value":398537918135664.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936046716536832,"description":"Unknown IO ID 44"} 
[2026-09-04 20:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864328960001,"power":27245,"unknown_104":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1483936046716536832}} 
[2026-09-04 20:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":173694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:09:06] local.INFO: GPS data processed {"connection_id":173694,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:09:06] local.INFO: Acknowledgment sent {"connection_id":173694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:09:24] local.INFO: TCP Data received {"connection_id":173692,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd7b4d8012d197000071febf0003f011128..."} 
[2026-09-04 20:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd7b4d8012d197000071febf0003f011128..."} 
[2026-09-04 20:09:24] local.INFO: Processing buffer {"connection_id":173692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd7b4d8012d197000071febf0003f011128..."} 
[2026-09-04 20:09:24] local.INFO: Packet analysis {"connection_id":173692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:09:24] local.INFO: Extracted packet for processing {"connection_id":173692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119532528,"longitude_deg":75.6641792,"latitude_deg":11.9532528,"altitude":63,"angle":273,"satellites":40,"speed":11,"hex_longitude":"2d197000","hex_latitude":"071febf0","is_valid_coordinates":true} 
[2026-09-04 20:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864312576001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078940119040,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788532471000,"timestamp_ms":1788532471000,"timestamp_seconds":1788532471,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd7b4d8"} 
[2026-09-04 20:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 20:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864312576001,"66":13222,"102":206,"83":41984,"24":11,"16":17413390850850816,"45":1832965078940119040},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864312576001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:09:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078940119040,"description":"Unknown IO ID 45"} 
[2026-09-04 20:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864312576001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1832965078940119040}} 
[2026-09-04 20:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":173692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:09:24] local.INFO: GPS data processed {"connection_id":173692,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:09:24] local.INFO: Acknowledgment sent {"connection_id":173692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:09:26] local.INFO: TCP Data received {"connection_id":173693,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:09:26] local.INFO: Processing buffer {"connection_id":173693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:09:26] local.INFO: Packet analysis {"connection_id":173693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:09:26] local.INFO: Extracted packet for processing {"connection_id":173693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:09:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864275200001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788532626000,"timestamp_ms":1788532626000,"timestamp_seconds":1788532626,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda1250"} 
[2026-09-04 20:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 20:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864275200001,"66":25625,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864275200001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:09:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:09:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864275200001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":173693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:09:26] local.INFO: GPS data processed {"connection_id":173693,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:09:26] local.INFO: Acknowledgment sent {"connection_id":173693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:09:37] local.INFO: TCP Data received {"connection_id":173694,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd94b18012ceb30c0071a2cc0001c012230..."} 
[2026-09-04 20:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd94b18012ceb30c0071a2cc0001c012230..."} 
[2026-09-04 20:09:37] local.INFO: Processing buffer {"connection_id":173694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd94b18012ceb30c0071a2cc0001c012230..."} 
[2026-09-04 20:09:37] local.INFO: Packet analysis {"connection_id":173694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd9"} 
[2026-09-04 20:09:37] local.INFO: Extracted packet for processing {"connection_id":173694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd9"} 
[2026-09-04 20:09:37] local.INFO: GPS Element Parsed {"raw_longitude":753610944,"raw_latitude":119155904,"longitude_deg":75.3610944,"latitude_deg":11.9155904,"altitude":28,"angle":290,"satellites":48,"speed":18,"hex_longitude":"2ceb30c0","hex_latitude":"071a2cc0","is_valid_coordinates":true} 
[2026-09-04 20:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864334336001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398538356222328832,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1490480339924197376,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788532575000,"timestamp_ms":1788532575000,"timestamp_seconds":1788532575,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd94b18"} 
[2026-09-04 20:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 20:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864334336001,"66":27484,"104":206,"83":41216,"24":18,"16":398538356222328832,"44":-1490480339924197376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864334336001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:09:37] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398538356222328832,"km_value":398538356222328.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:09:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1490480339924197376,"description":"Unknown IO ID 44"} 
[2026-09-04 20:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864334336001,"power":27484,"unknown_104":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1490480339924197376}} 
[2026-09-04 20:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":173694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:09:37] local.INFO: GPS data processed {"connection_id":173694,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:09:37] local.INFO: Acknowledgment sent {"connection_id":173694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:09:47] local.INFO: TCP Data received {"connection_id":170995,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:09:47] local.INFO: Processing buffer {"connection_id":170995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:09:47] local.INFO: IMEI packet received {"connection_id":170995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":170995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:09:48] local.INFO: TCP Data received {"connection_id":173695,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:09:48] local.INFO: Processing buffer {"connection_id":173695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:09:48] local.INFO: IMEI packet received {"connection_id":173695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":173695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:09:52] local.INFO: TCP Data received {"connection_id":170995,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:09:52] local.INFO: Processing buffer {"connection_id":170995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:09:52] local.INFO: IMEI packet received {"connection_id":170995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":170995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:09:53] local.INFO: TCP Data received {"connection_id":170995,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd7b4d8012d197000071febf0003f011128..."} 
[2026-09-04 20:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd7b4d8012d197000071febf0003f011128..."} 
[2026-09-04 20:09:53] local.INFO: Processing buffer {"connection_id":170995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd7b4d8012d197000071febf0003f011128..."} 
[2026-09-04 20:09:53] local.INFO: Packet analysis {"connection_id":170995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:09:53] local.INFO: Extracted packet for processing {"connection_id":170995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd7"} 
[2026-09-04 20:09:53] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119532528,"longitude_deg":75.6641792,"latitude_deg":11.9532528,"altitude":63,"angle":273,"satellites":40,"speed":11,"hex_longitude":"2d197000","hex_latitude":"071febf0","is_valid_coordinates":true} 
[2026-09-04 20:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864312576001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078940119040,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788532471000,"timestamp_ms":1788532471000,"timestamp_seconds":1788532471,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd7b4d8"} 
[2026-09-04 20:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 20:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864312576001,"66":13222,"102":206,"83":41984,"24":11,"16":17413390850850816,"45":1832965078940119040},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864312576001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:09:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:09:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078940119040,"description":"Unknown IO ID 45"} 
[2026-09-04 20:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864312576001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1832965078940119040}} 
[2026-09-04 20:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":170995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:09:53] local.INFO: GPS data processed {"connection_id":170995,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:09:53] local.INFO: Acknowledgment sent {"connection_id":170995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:09:53] local.INFO: TCP Data received {"connection_id":173695,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:09:53] local.INFO: Processing buffer {"connection_id":173695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:09:53] local.INFO: IMEI packet received {"connection_id":173695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":173695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:09:55] local.INFO: TCP Data received {"connection_id":173695,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:09:55] local.INFO: Processing buffer {"connection_id":173695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:09:55] local.INFO: Packet analysis {"connection_id":173695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:09:55] local.INFO: Extracted packet for processing {"connection_id":173695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864275200001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788532626000,"timestamp_ms":1788532626000,"timestamp_seconds":1788532626,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda1250"} 
[2026-09-04 20:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 20:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864275200001,"66":25625,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864275200001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:09:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864275200001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":173695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:09:55] local.INFO: GPS data processed {"connection_id":173695,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:09:55] local.INFO: Acknowledgment sent {"connection_id":173695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:09:58] local.INFO: TCP Data received {"connection_id":171293,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:09:58] local.INFO: Processing buffer {"connection_id":171293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:09:58] local.INFO: IMEI packet received {"connection_id":171293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":171293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:10:03] local.INFO: TCP Data received {"connection_id":171293,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:10:03] local.INFO: Processing buffer {"connection_id":171293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:10:03] local.INFO: IMEI packet received {"connection_id":171293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":171293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:10:04] local.INFO: TCP Data received {"connection_id":171293,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd98d80012ceb0ec0071a3a78001d01272f..."} 
[2026-09-04 20:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd98d80012ceb0ec0071a3a78001d01272f..."} 
[2026-09-04 20:10:04] local.INFO: Processing buffer {"connection_id":171293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd98d80012ceb0ec0071a3a78001d01272f..."} 
[2026-09-04 20:10:04] local.INFO: Packet analysis {"connection_id":171293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd9"} 
[2026-09-04 20:10:04] local.INFO: Extracted packet for processing {"connection_id":171293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd9"} 
[2026-09-04 20:10:04] local.INFO: GPS Element Parsed {"raw_longitude":753602240,"raw_latitude":119159416,"longitude_deg":75.360224,"latitude_deg":11.9159416,"altitude":29,"angle":295,"satellites":47,"speed":19,"hex_longitude":"2ceb0ec0","hex_latitude":"071a3a78","is_valid_coordinates":true} 
[2026-09-04 20:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864339200001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398538798603960320,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1499487539177930752,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788532592000,"timestamp_ms":1788532592000,"timestamp_seconds":1788532592,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd98d80"} 
[2026-09-04 20:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 20:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864339200001,"66":27365,"104":206,"83":41216,"24":19,"16":398538798603960320,"44":-1499487539177930752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864339200001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:10:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:10:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398538798603960320,"km_value":398538798603960.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:10:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1499487539177930752,"description":"Unknown IO ID 44"} 
[2026-09-04 20:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864339200001,"power":27365,"unknown_104":206,"unknown_83":41216,"ignition":19,"odometer":null,"unknown_44":-1499487539177930752}} 
[2026-09-04 20:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":171293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:10:04] local.INFO: GPS data processed {"connection_id":171293,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:10:04] local.INFO: Acknowledgment sent {"connection_id":171293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:10:24] local.INFO: TCP Data received {"connection_id":170995,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:10:24] local.INFO: Processing buffer {"connection_id":170995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:10:24] local.INFO: Packet analysis {"connection_id":170995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:10:24] local.INFO: Extracted packet for processing {"connection_id":170995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:10:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864312576001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078940119040,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788532775000,"timestamp_ms":1788532775000,"timestamp_seconds":1788532775,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdc5858"} 
[2026-09-04 20:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 20:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864312576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1832965078940119040},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864312576001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:10:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:10:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078940119040,"description":"Unknown IO ID 45"} 
[2026-09-04 20:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864312576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832965078940119040}} 
[2026-09-04 20:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":170995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:10:24] local.INFO: GPS data processed {"connection_id":170995,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:10:24] local.INFO: Acknowledgment sent {"connection_id":170995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:10:27] local.INFO: TCP Data received {"connection_id":173695,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:10:27] local.INFO: Processing buffer {"connection_id":173695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:10:27] local.INFO: Packet analysis {"connection_id":173695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:10:27] local.INFO: Extracted packet for processing {"connection_id":173695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:10:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864275200001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788532626000,"timestamp_ms":1788532626000,"timestamp_seconds":1788532626,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda1250"} 
[2026-09-04 20:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 20:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864275200001,"66":25625,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864275200001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:10:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864275200001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":173695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:10:27] local.INFO: GPS data processed {"connection_id":173695,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:10:27] local.INFO: Acknowledgment sent {"connection_id":173695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:10:35] local.INFO: TCP Data received {"connection_id":171293,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06cd9b0a8012ceb0440071a3f70001d013630..."} 
[2026-09-04 20:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cd9b0a8012ceb0440071a3f70001d013630..."} 
[2026-09-04 20:10:35] local.INFO: Processing buffer {"connection_id":171293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cd9b0a8012ceb0440071a3f70001d013630..."} 
[2026-09-04 20:10:35] local.INFO: Packet analysis {"connection_id":171293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cd9"} 
[2026-09-04 20:10:35] local.INFO: Extracted packet for processing {"connection_id":171293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cd9"} 
[2026-09-04 20:10:35] local.INFO: GPS Element Parsed {"raw_longitude":753599552,"raw_latitude":119160688,"longitude_deg":75.3599552,"latitude_deg":11.9160688,"altitude":29,"angle":310,"satellites":48,"speed":5,"hex_longitude":"2ceb0440","hex_latitude":"071a3f70","is_valid_coordinates":true} 
[2026-09-04 20:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864343552001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398538940337881088,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1509057688385193984,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788532601000,"timestamp_ms":1788532601000,"timestamp_seconds":1788532601,"priority":1,"record_length":96,"hex_timestamp":"000001a06cd9b0a8"} 
[2026-09-04 20:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 20:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864343552001,"66":27463,"104":206,"83":41216,"24":5,"16":398538940337881088,"44":-1509057688385193984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864343552001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:10:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398538940337881088,"km_value":398538940337881.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:10:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1509057688385193984,"description":"Unknown IO ID 44"} 
[2026-09-04 20:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864343552001,"power":27463,"unknown_104":206,"unknown_83":41216,"ignition":5,"odometer":null,"unknown_44":-1509057688385193984}} 
[2026-09-04 20:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":171293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:10:35] local.INFO: GPS data processed {"connection_id":171293,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:10:35] local.INFO: Acknowledgment sent {"connection_id":171293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:10:47] local.INFO: TCP Data received {"connection_id":170996,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:10:47] local.INFO: Processing buffer {"connection_id":170996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:10:47] local.INFO: IMEI packet received {"connection_id":170996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":170996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:10:52] local.INFO: TCP Data received {"connection_id":170996,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:10:52] local.INFO: Processing buffer {"connection_id":170996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:10:52] local.INFO: IMEI packet received {"connection_id":170996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":170996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:10:53] local.INFO: TCP Data received {"connection_id":170996,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:10:53] local.INFO: Processing buffer {"connection_id":170996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:10:53] local.INFO: Packet analysis {"connection_id":170996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:10:53] local.INFO: Extracted packet for processing {"connection_id":170996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:10:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864312576001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078940119040,"note":"Value kept but may cause issues"} 
[2026-09-04 20:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788532775000,"timestamp_ms":1788532775000,"timestamp_seconds":1788532775,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdc5858"} 
[2026-09-04 20:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 20:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864312576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1832965078940119040},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864312576001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:10:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:10:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078940119040,"description":"Unknown IO ID 45"} 
[2026-09-04 20:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864312576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832965078940119040}} 
[2026-09-04 20:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":170996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:10:53] local.INFO: GPS data processed {"connection_id":170996,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:10:53] local.INFO: Acknowledgment sent {"connection_id":170996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:10:53] local.INFO: TCP Data received {"connection_id":172408,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:10:53] local.INFO: Processing buffer {"connection_id":172408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:10:53] local.INFO: IMEI packet received {"connection_id":172408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":172408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:10:58] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:10:58] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:10:58] local.INFO: IMEI packet received {"connection_id":173696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":173696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:10:58] local.INFO: TCP Data received {"connection_id":172408,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:10:58] local.INFO: Processing buffer {"connection_id":172408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:10:58] local.INFO: IMEI packet received {"connection_id":172408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":172408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:11:00] local.INFO: TCP Data received {"connection_id":172408,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:11:00] local.INFO: Processing buffer {"connection_id":172408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:11:00] local.INFO: Packet analysis {"connection_id":172408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:11:00] local.INFO: Extracted packet for processing {"connection_id":172408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:11:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864275200001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788532626000,"timestamp_ms":1788532626000,"timestamp_seconds":1788532626,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda1250"} 
[2026-09-04 20:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 20:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864275200001,"66":25625,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864275200001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:11:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:11:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864275200001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":172408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:11:00] local.INFO: GPS data processed {"connection_id":172408,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:11:00] local.INFO: Acknowledgment sent {"connection_id":172408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:11:03] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:11:03] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:11:03] local.INFO: IMEI packet received {"connection_id":173696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":173696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:11:04] local.INFO: TCP Data received {"connection_id":172408,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:11:04] local.INFO: Processing buffer {"connection_id":172408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:11:04] local.INFO: Packet analysis {"connection_id":172408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:11:04] local.INFO: Extracted packet for processing {"connection_id":172408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864275200001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788532626000,"timestamp_ms":1788532626000,"timestamp_seconds":1788532626,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda1250"} 
[2026-09-04 20:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 20:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864275200001,"66":25625,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864275200001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:11:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:11:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864275200001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":172408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764984,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:11:04] local.INFO: GPS data processed {"connection_id":172408,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:11:04] local.INFO: Acknowledgment sent {"connection_id":172408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:11:06] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda02b0012ceb0640071a3e70001c01362d..."} 
[2026-09-04 20:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda02b0012ceb0640071a3e70001c01362d..."} 
[2026-09-04 20:11:06] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda02b0012ceb0640071a3e70001c01362d..."} 
[2026-09-04 20:11:06] local.INFO: Packet analysis {"connection_id":173696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:11:06] local.INFO: Extracted packet for processing {"connection_id":173696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119160432,"longitude_deg":75.3600064,"latitude_deg":11.9160432,"altitude":28,"angle":310,"satellites":45,"speed":1,"hex_longitude":"2ceb0640","hex_latitude":"071a3e70","is_valid_coordinates":true} 
[2026-09-04 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864345856001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539004762390528,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512013175640330240,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788532622000,"timestamp_ms":1788532622000,"timestamp_seconds":1788532622,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda02b0"} 
[2026-09-04 20:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 20:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864345856001,"66":27821,"104":206,"83":41216,"24":1,"16":398539004762390528,"44":-1512013175640330240},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864345856001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:11:06] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539004762390528,"km_value":398539004762390.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512013175640330240,"description":"Unknown IO ID 44"} 
[2026-09-04 20:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864345856001,"power":27821,"unknown_104":206,"unknown_83":41216,"ignition":1,"odometer":null,"unknown_44":-1512013175640330240}} 
[2026-09-04 20:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":173696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:11:06] local.INFO: GPS data processed {"connection_id":173696,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:11:06] local.INFO: Acknowledgment sent {"connection_id":173696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:11:24] local.INFO: TCP Data received {"connection_id":170996,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:11:24] local.INFO: Processing buffer {"connection_id":170996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:11:24] local.INFO: Packet analysis {"connection_id":170996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:11:24] local.INFO: Extracted packet for processing {"connection_id":170996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:11:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864312576001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078940119040,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788532775000,"timestamp_ms":1788532775000,"timestamp_seconds":1788532775,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdc5858"} 
[2026-09-04 20:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 20:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864312576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1832965078940119040},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864312576001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:11:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:11:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078940119040,"description":"Unknown IO ID 45"} 
[2026-09-04 20:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864312576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832965078940119040}} 
[2026-09-04 20:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":170996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:11:24] local.INFO: GPS data processed {"connection_id":170996,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:11:24] local.INFO: Acknowledgment sent {"connection_id":170996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:11:36] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda25d8012ceb0700071a3cb0001c01362f..."} 
[2026-09-04 20:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda25d8012ceb0700071a3cb0001c01362f..."} 
[2026-09-04 20:11:36] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda25d8012ceb0700071a3cb0001c01362f..."} 
[2026-09-04 20:11:36] local.INFO: Packet analysis {"connection_id":173696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:11:36] local.INFO: Extracted packet for processing {"connection_id":173696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:11:36] local.INFO: GPS Element Parsed {"raw_longitude":753600256,"raw_latitude":119159984,"longitude_deg":75.3600256,"latitude_deg":11.9159984,"altitude":28,"angle":310,"satellites":47,"speed":2,"hex_longitude":"2ceb0700","hex_latitude":"071a3cb0","is_valid_coordinates":true} 
[2026-09-04 20:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864351232001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686974464,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788532631000,"timestamp_ms":1788532631000,"timestamp_seconds":1788532631,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda25d8"} 
[2026-09-04 20:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 20:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864351232001,"66":27919,"104":206,"83":41216,"24":2,"16":398539034827161600,"44":-1511450225686974464},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864351232001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:11:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:11:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686974464,"description":"Unknown IO ID 44"} 
[2026-09-04 20:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864351232001,"power":27919,"unknown_104":206,"unknown_83":41216,"ignition":2,"odometer":null,"unknown_44":-1511450225686974464}} 
[2026-09-04 20:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":173696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:11:37] local.INFO: GPS data processed {"connection_id":173696,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:11:37] local.INFO: Acknowledgment sent {"connection_id":173696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:11:47] local.INFO: TCP Data received {"connection_id":171294,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:11:47] local.INFO: Processing buffer {"connection_id":171294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:11:47] local.INFO: IMEI packet received {"connection_id":171294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":171294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:11:48] local.INFO: TCP Data received {"connection_id":171295,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:11:48] local.INFO: Processing buffer {"connection_id":171295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:11:48] local.INFO: IMEI packet received {"connection_id":171295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":171295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:11:52] local.INFO: TCP Data received {"connection_id":171294,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:11:52] local.INFO: Processing buffer {"connection_id":171294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:11:52] local.INFO: IMEI packet received {"connection_id":171294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":171294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:11:53] local.INFO: TCP Data received {"connection_id":171294,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:11:53] local.INFO: Processing buffer {"connection_id":171294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:11:53] local.INFO: Packet analysis {"connection_id":171294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:11:53] local.INFO: Extracted packet for processing {"connection_id":171294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864312576001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078940119040,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788532775000,"timestamp_ms":1788532775000,"timestamp_seconds":1788532775,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdc5858"} 
[2026-09-04 20:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 20:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864312576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1832965078940119040},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864312576001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:11:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:11:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078940119040,"description":"Unknown IO ID 45"} 
[2026-09-04 20:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864312576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832965078940119040}} 
[2026-09-04 20:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":171294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:11:53] local.INFO: GPS data processed {"connection_id":171294,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:11:53] local.INFO: Acknowledgment sent {"connection_id":171294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:11:53] local.INFO: TCP Data received {"connection_id":171295,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:11:53] local.INFO: Processing buffer {"connection_id":171295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:11:53] local.INFO: IMEI packet received {"connection_id":171295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":171295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:11:55] local.INFO: TCP Data received {"connection_id":171295,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:11:55] local.INFO: Processing buffer {"connection_id":171295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:11:55] local.INFO: Packet analysis {"connection_id":171295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:11:55] local.INFO: Extracted packet for processing {"connection_id":171295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:11:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864275200001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788532626000,"timestamp_ms":1788532626000,"timestamp_seconds":1788532626,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda1250"} 
[2026-09-04 20:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 20:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171295,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171295,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864275200001,"66":25625,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864275200001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:11:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:11:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864275200001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":171295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:11:55] local.INFO: GPS data processed {"connection_id":171295,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:11:55] local.INFO: Acknowledgment sent {"connection_id":171295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:12:03] local.INFO: TCP Data received {"connection_id":170997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:12:03] local.INFO: Processing buffer {"connection_id":170997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:12:03] local.INFO: IMEI packet received {"connection_id":170997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":170997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:12:08] local.INFO: TCP Data received {"connection_id":170997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:12:08] local.INFO: Processing buffer {"connection_id":170997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:12:08] local.INFO: IMEI packet received {"connection_id":170997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":170997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:12:10] local.INFO: TCP Data received {"connection_id":170997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda25d8012ceb0700071a3cb0001c01362f..."} 
[2026-09-04 20:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda25d8012ceb0700071a3cb0001c01362f..."} 
[2026-09-04 20:12:10] local.INFO: Processing buffer {"connection_id":170997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda25d8012ceb0700071a3cb0001c01362f..."} 
[2026-09-04 20:12:10] local.INFO: Packet analysis {"connection_id":170997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:12:10] local.INFO: Extracted packet for processing {"connection_id":170997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:12:10] local.INFO: GPS Element Parsed {"raw_longitude":753600256,"raw_latitude":119159984,"longitude_deg":75.3600256,"latitude_deg":11.9159984,"altitude":28,"angle":310,"satellites":47,"speed":2,"hex_longitude":"2ceb0700","hex_latitude":"071a3cb0","is_valid_coordinates":true} 
[2026-09-04 20:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864351232001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686974464,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788532631000,"timestamp_ms":1788532631000,"timestamp_seconds":1788532631,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda25d8"} 
[2026-09-04 20:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 20:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":170997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":170997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":170997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864351232001,"66":27919,"104":206,"83":41216,"24":2,"16":398539034827161600,"44":-1511450225686974464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864351232001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:12:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686974464,"description":"Unknown IO ID 44"} 
[2026-09-04 20:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864351232001,"power":27919,"unknown_104":206,"unknown_83":41216,"ignition":2,"odometer":null,"unknown_44":-1511450225686974464}} 
[2026-09-04 20:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":170997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:12:10] local.INFO: GPS data processed {"connection_id":170997,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:12:10] local.INFO: Acknowledgment sent {"connection_id":170997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:12:14] local.INFO: TCP Data received {"connection_id":170997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda25d8012ceb0700071a3cb0001c01362f..."} 
[2026-09-04 20:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda25d8012ceb0700071a3cb0001c01362f..."} 
[2026-09-04 20:12:14] local.INFO: Processing buffer {"connection_id":170997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda25d8012ceb0700071a3cb0001c01362f..."} 
[2026-09-04 20:12:14] local.INFO: Packet analysis {"connection_id":170997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:12:14] local.INFO: Extracted packet for processing {"connection_id":170997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:12:14] local.INFO: GPS Element Parsed {"raw_longitude":753600256,"raw_latitude":119159984,"longitude_deg":75.3600256,"latitude_deg":11.9159984,"altitude":28,"angle":310,"satellites":47,"speed":2,"hex_longitude":"2ceb0700","hex_latitude":"071a3cb0","is_valid_coordinates":true} 
[2026-09-04 20:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864351232001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686974464,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788532631000,"timestamp_ms":1788532631000,"timestamp_seconds":1788532631,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda25d8"} 
[2026-09-04 20:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-04 20:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":170997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":170997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":170997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864351232001,"66":27919,"104":206,"83":41216,"24":2,"16":398539034827161600,"44":-1511450225686974464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864351232001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:12:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:12:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:12:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686974464,"description":"Unknown IO ID 44"} 
[2026-09-04 20:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864351232001,"power":27919,"unknown_104":206,"unknown_83":41216,"ignition":2,"odometer":null,"unknown_44":-1511450225686974464}} 
[2026-09-04 20:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":170997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:12:14] local.INFO: GPS data processed {"connection_id":170997,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:12:14] local.INFO: Acknowledgment sent {"connection_id":170997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:12:17] local.INFO: TCP Data received {"connection_id":172409,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:12:17] local.INFO: Processing buffer {"connection_id":172409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:12:17] local.INFO: IMEI packet received {"connection_id":172409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":172409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:12:22] local.INFO: TCP Data received {"connection_id":172409,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:12:22] local.INFO: Processing buffer {"connection_id":172409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:12:22] local.INFO: IMEI packet received {"connection_id":172409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":172409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:12:23] local.INFO: TCP Data received {"connection_id":172409,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:12:23] local.INFO: Processing buffer {"connection_id":172409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:12:23] local.INFO: Packet analysis {"connection_id":172409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:12:23] local.INFO: Extracted packet for processing {"connection_id":172409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864312576001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078940119040,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788532775000,"timestamp_ms":1788532775000,"timestamp_seconds":1788532775,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdc5858"} 
[2026-09-04 20:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 20:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864312576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1832965078940119040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864312576001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:12:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078940119040,"description":"Unknown IO ID 45"} 
[2026-09-04 20:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864312576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832965078940119040}} 
[2026-09-04 20:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":172409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:12:23] local.INFO: GPS data processed {"connection_id":172409,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:12:23] local.INFO: Acknowledgment sent {"connection_id":172409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:12:26] local.INFO: TCP Data received {"connection_id":171295,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:12:26] local.INFO: Processing buffer {"connection_id":171295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cda1250012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:12:26] local.INFO: Packet analysis {"connection_id":171295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:12:26] local.INFO: Extracted packet for processing {"connection_id":171295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cda"} 
[2026-09-04 20:12:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864275200001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788532626000,"timestamp_ms":1788532626000,"timestamp_seconds":1788532626,"priority":1,"record_length":96,"hex_timestamp":"000001a06cda1250"} 
[2026-09-04 20:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-04 20:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171295,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171295,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864275200001,"66":25625,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864275200001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:12:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:12:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864275200001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":171295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:12:27] local.INFO: GPS data processed {"connection_id":171295,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:12:27] local.INFO: Acknowledgment sent {"connection_id":171295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:12:43] local.INFO: TCP Data received {"connection_id":170998,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:12:43] local.INFO: Processing buffer {"connection_id":170998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:12:43] local.INFO: IMEI packet received {"connection_id":170998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":170998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:12:47] local.INFO: TCP Data received {"connection_id":170998,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:12:47] local.INFO: Processing buffer {"connection_id":170998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:12:47] local.INFO: IMEI packet received {"connection_id":170998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":170998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:12:48] local.INFO: TCP Data received {"connection_id":170998,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:12:48] local.INFO: Processing buffer {"connection_id":170998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:12:48] local.INFO: Packet analysis {"connection_id":170998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:12:48] local.INFO: Extracted packet for processing {"connection_id":170998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864312576001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078940119040,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788532775000,"timestamp_ms":1788532775000,"timestamp_seconds":1788532775,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdc5858"} 
[2026-09-04 20:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 20:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":170998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":170998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":170998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864312576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1832965078940119040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864312576001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:12:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078940119040,"description":"Unknown IO ID 45"} 
[2026-09-04 20:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864312576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832965078940119040}} 
[2026-09-04 20:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":170998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:12:48] local.INFO: GPS data processed {"connection_id":170998,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:12:48] local.INFO: Acknowledgment sent {"connection_id":170998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:12:48] local.INFO: TCP Data received {"connection_id":172410,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:12:48] local.INFO: Processing buffer {"connection_id":172410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:12:48] local.INFO: IMEI packet received {"connection_id":172410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":172410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:12:53] local.INFO: TCP Data received {"connection_id":172410,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:12:53] local.INFO: Processing buffer {"connection_id":172410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:12:53] local.INFO: IMEI packet received {"connection_id":172410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":172410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:12:54] local.INFO: TCP Data received {"connection_id":172411,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:12:54] local.INFO: Processing buffer {"connection_id":172411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:12:54] local.INFO: IMEI packet received {"connection_id":172411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":172411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:12:58] local.INFO: TCP Data received {"connection_id":172410,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:12:58] local.INFO: Processing buffer {"connection_id":172410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:12:58] local.INFO: Packet analysis {"connection_id":172410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:12:58] local.INFO: Extracted packet for processing {"connection_id":172410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:12:58] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864352256001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788532927000,"timestamp_ms":1788532927000,"timestamp_seconds":1788532927,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdeaa18"} 
[2026-09-04 20:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 20:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864352256001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864352256001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:12:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:12:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864352256001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":172410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764995,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:12:58] local.INFO: GPS data processed {"connection_id":172410,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:12:58] local.INFO: Acknowledgment sent {"connection_id":172410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:12:58] local.INFO: TCP Data received {"connection_id":172411,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:12:58] local.INFO: Processing buffer {"connection_id":172411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:12:58] local.INFO: IMEI packet received {"connection_id":172411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":172411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:13:03] local.INFO: TCP Data received {"connection_id":172411,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:13:03] local.INFO: Processing buffer {"connection_id":172411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:13:03] local.INFO: IMEI packet received {"connection_id":172411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":172411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:13:06] local.INFO: TCP Data received {"connection_id":172411,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:13:06] local.INFO: Processing buffer {"connection_id":172411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:13:06] local.INFO: Packet analysis {"connection_id":172411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:13:06] local.INFO: Extracted packet for processing {"connection_id":172411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:13:06] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":49,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864353536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454556160,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788532936000,"timestamp_ms":1788532936000,"timestamp_seconds":1788532936,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdecd40"} 
[2026-09-04 20:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 20:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864353536001,"66":26484,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511239119454556160},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864353536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:13:06] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:13:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454556160,"description":"Unknown IO ID 44"} 
[2026-09-04 20:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864353536001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454556160}} 
[2026-09-04 20:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":172411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:13:06] local.INFO: GPS data processed {"connection_id":172411,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:13:06] local.INFO: Acknowledgment sent {"connection_id":172411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:13:19] local.INFO: TCP Data received {"connection_id":170998,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:13:19] local.INFO: Processing buffer {"connection_id":170998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:13:19] local.INFO: Packet analysis {"connection_id":170998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:13:19] local.INFO: Extracted packet for processing {"connection_id":170998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864312576001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078940119040,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788532775000,"timestamp_ms":1788532775000,"timestamp_seconds":1788532775,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdc5858"} 
[2026-09-04 20:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 20:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":170998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":170998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":170998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864312576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1832965078940119040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864312576001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:13:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078940119040,"description":"Unknown IO ID 45"} 
[2026-09-04 20:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864312576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832965078940119040}} 
[2026-09-04 20:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":170998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:13:19] local.INFO: GPS data processed {"connection_id":170998,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:13:19] local.INFO: Acknowledgment sent {"connection_id":170998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:13:30] local.INFO: TCP Data received {"connection_id":172410,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:13:30] local.INFO: Processing buffer {"connection_id":172410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:13:30] local.INFO: Packet analysis {"connection_id":172410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:13:30] local.INFO: Extracted packet for processing {"connection_id":172410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:13:30] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864352256001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788532927000,"timestamp_ms":1788532927000,"timestamp_seconds":1788532927,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdeaa18"} 
[2026-09-04 20:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 20:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864352256001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864352256001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:13:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:13:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864352256001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":172410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764998,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:13:30] local.INFO: GPS data processed {"connection_id":172410,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:13:30] local.INFO: Acknowledgment sent {"connection_id":172410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:13:37] local.INFO: TCP Data received {"connection_id":172411,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:13:37] local.INFO: Processing buffer {"connection_id":172411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:13:37] local.INFO: Packet analysis {"connection_id":172411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:13:37] local.INFO: Extracted packet for processing {"connection_id":172411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:13:37] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":49,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864353536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454556160,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788532936000,"timestamp_ms":1788532936000,"timestamp_seconds":1788532936,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdecd40"} 
[2026-09-04 20:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 20:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864353536001,"66":26484,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511239119454556160},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864353536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:13:37] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:13:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454556160,"description":"Unknown IO ID 44"} 
[2026-09-04 20:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864353536001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454556160}} 
[2026-09-04 20:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":172411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":764999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:13:37] local.INFO: GPS data processed {"connection_id":172411,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:13:37] local.INFO: Acknowledgment sent {"connection_id":172411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:13:47] local.INFO: TCP Data received {"connection_id":170999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:13:47] local.INFO: Processing buffer {"connection_id":170999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:13:47] local.INFO: IMEI packet received {"connection_id":170999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":170999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:13:48] local.INFO: TCP Data received {"connection_id":171296,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:13:48] local.INFO: Processing buffer {"connection_id":171296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:13:48] local.INFO: IMEI packet received {"connection_id":171296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":171296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:13:52] local.INFO: TCP Data received {"connection_id":170999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:13:52] local.INFO: Processing buffer {"connection_id":170999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:13:52] local.INFO: IMEI packet received {"connection_id":170999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":170999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:13:53] local.INFO: TCP Data received {"connection_id":170999,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:13:53] local.INFO: Processing buffer {"connection_id":170999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:13:53] local.INFO: Packet analysis {"connection_id":170999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:13:53] local.INFO: Extracted packet for processing {"connection_id":170999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:13:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864312576001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078940119040,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788532775000,"timestamp_ms":1788532775000,"timestamp_seconds":1788532775,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdc5858"} 
[2026-09-04 20:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 20:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":170999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":170999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":170999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864312576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1832965078940119040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864312576001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:13:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:13:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078940119040,"description":"Unknown IO ID 45"} 
[2026-09-04 20:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864312576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832965078940119040}} 
[2026-09-04 20:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":170999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:13:53] local.INFO: GPS data processed {"connection_id":170999,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:13:53] local.INFO: Acknowledgment sent {"connection_id":170999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:13:53] local.INFO: TCP Data received {"connection_id":171296,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:13:53] local.INFO: Processing buffer {"connection_id":171296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:13:53] local.INFO: IMEI packet received {"connection_id":171296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":171296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:13:55] local.INFO: TCP Data received {"connection_id":171296,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:13:55] local.INFO: Processing buffer {"connection_id":171296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:13:55] local.INFO: Packet analysis {"connection_id":171296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:13:55] local.INFO: Extracted packet for processing {"connection_id":171296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864352256001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788532927000,"timestamp_ms":1788532927000,"timestamp_seconds":1788532927,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdeaa18"} 
[2026-09-04 20:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 20:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864352256001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864352256001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:13:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:13:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864352256001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":171296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765001,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:13:55] local.INFO: GPS data processed {"connection_id":171296,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:13:55] local.INFO: Acknowledgment sent {"connection_id":171296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:13:59] local.INFO: TCP Data received {"connection_id":171000,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:13:59] local.INFO: Processing buffer {"connection_id":171000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:13:59] local.INFO: IMEI packet received {"connection_id":171000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":171000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:14:03] local.INFO: TCP Data received {"connection_id":171000,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:14:03] local.INFO: Processing buffer {"connection_id":171000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:14:03] local.INFO: IMEI packet received {"connection_id":171000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":171000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:14:04] local.INFO: TCP Data received {"connection_id":171000,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:14:04] local.INFO: Processing buffer {"connection_id":171000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:14:04] local.INFO: Packet analysis {"connection_id":171000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:14:04] local.INFO: Extracted packet for processing {"connection_id":171000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:14:04] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":49,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864353536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454556160,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788532936000,"timestamp_ms":1788532936000,"timestamp_seconds":1788532936,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdecd40"} 
[2026-09-04 20:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 20:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864353536001,"66":26484,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511239119454556160},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864353536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:14:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:14:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:14:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454556160,"description":"Unknown IO ID 44"} 
[2026-09-04 20:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864353536001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454556160}} 
[2026-09-04 20:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":171000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:14:04] local.INFO: GPS data processed {"connection_id":171000,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:14:04] local.INFO: Acknowledgment sent {"connection_id":171000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:14:24] local.INFO: TCP Data received {"connection_id":170999,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":170999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:14:24] local.INFO: Processing buffer {"connection_id":170999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:14:24] local.INFO: Packet analysis {"connection_id":170999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:14:24] local.INFO: Extracted packet for processing {"connection_id":170999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864312576001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078940119040,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788532775000,"timestamp_ms":1788532775000,"timestamp_seconds":1788532775,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdc5858"} 
[2026-09-04 20:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 20:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":170999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":170999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":170999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864312576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1832965078940119040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864312576001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:14:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:14:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078940119040,"description":"Unknown IO ID 45"} 
[2026-09-04 20:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864312576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832965078940119040}} 
[2026-09-04 20:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":170999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:14:24] local.INFO: GPS data processed {"connection_id":170999,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:14:24] local.INFO: Acknowledgment sent {"connection_id":170999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:14:26] local.INFO: TCP Data received {"connection_id":171296,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:14:26] local.INFO: Processing buffer {"connection_id":171296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:14:26] local.INFO: Packet analysis {"connection_id":171296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:14:26] local.INFO: Extracted packet for processing {"connection_id":171296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:14:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864352256001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788532927000,"timestamp_ms":1788532927000,"timestamp_seconds":1788532927,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdeaa18"} 
[2026-09-04 20:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 20:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864352256001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864352256001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:14:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:14:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864352256001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":171296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765004,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:14:26] local.INFO: GPS data processed {"connection_id":171296,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:14:26] local.INFO: Acknowledgment sent {"connection_id":171296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:14:35] local.INFO: TCP Data received {"connection_id":171000,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:14:35] local.INFO: Processing buffer {"connection_id":171000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:14:35] local.INFO: Packet analysis {"connection_id":171000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:14:35] local.INFO: Extracted packet for processing {"connection_id":171000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:14:35] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":49,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864353536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454556160,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788532936000,"timestamp_ms":1788532936000,"timestamp_seconds":1788532936,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdecd40"} 
[2026-09-04 20:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 20:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864353536001,"66":26484,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511239119454556160},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864353536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:14:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:14:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454556160,"description":"Unknown IO ID 44"} 
[2026-09-04 20:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864353536001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454556160}} 
[2026-09-04 20:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":171000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:14:35] local.INFO: GPS data processed {"connection_id":171000,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:14:35] local.INFO: Acknowledgment sent {"connection_id":171000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:14:52] local.INFO: TCP Data received {"connection_id":171001,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:14:52] local.INFO: Processing buffer {"connection_id":171001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:14:52] local.INFO: IMEI packet received {"connection_id":171001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":171001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:14:53] local.INFO: TCP Data received {"connection_id":171002,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:14:53] local.INFO: Processing buffer {"connection_id":171002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:14:53] local.INFO: IMEI packet received {"connection_id":171002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":171002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:14:57] local.INFO: TCP Data received {"connection_id":171001,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:14:57] local.INFO: Processing buffer {"connection_id":171001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:14:57] local.INFO: IMEI packet received {"connection_id":171001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":171001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:14:58] local.INFO: TCP Data received {"connection_id":172412,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:14:58] local.INFO: TCP Data received {"connection_id":171001,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:14:58] local.INFO: Processing buffer {"connection_id":172412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:14:58] local.INFO: IMEI packet received {"connection_id":172412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":172412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:14:58] local.INFO: Processing buffer {"connection_id":171001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:14:58] local.INFO: Packet analysis {"connection_id":171001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:14:58] local.INFO: Extracted packet for processing {"connection_id":171001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864312576001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078940119040,"note":"Value kept but may cause issues"} 
[2026-09-04 20:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788532775000,"timestamp_ms":1788532775000,"timestamp_seconds":1788532775,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdc5858"} 
[2026-09-04 20:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 20:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864312576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1832965078940119040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864312576001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:14:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078940119040,"description":"Unknown IO ID 45"} 
[2026-09-04 20:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864312576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832965078940119040}} 
[2026-09-04 20:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":171001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:14:58] local.INFO: GPS data processed {"connection_id":171001,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:14:58] local.INFO: Acknowledgment sent {"connection_id":171001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:14:58] local.INFO: TCP Data received {"connection_id":171002,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:14:58] local.INFO: Processing buffer {"connection_id":171002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:14:58] local.INFO: IMEI packet received {"connection_id":171002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":171002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:15:00] local.INFO: TCP Data received {"connection_id":171002,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:15:00] local.INFO: Processing buffer {"connection_id":171002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:15:00] local.INFO: Packet analysis {"connection_id":171002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:15:00] local.INFO: Extracted packet for processing {"connection_id":171002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:15:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864352256001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788532927000,"timestamp_ms":1788532927000,"timestamp_seconds":1788532927,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdeaa18"} 
[2026-09-04 20:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 20:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864352256001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864352256001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:15:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:15:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864352256001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":171002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765007,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:15:00] local.INFO: GPS data processed {"connection_id":171002,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:15:00] local.INFO: Acknowledgment sent {"connection_id":171002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:15:03] local.INFO: TCP Data received {"connection_id":171001,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:15:03] local.INFO: Processing buffer {"connection_id":171001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdc5858012d1965c0071fef80004001152d..."} 
[2026-09-04 20:15:03] local.INFO: Packet analysis {"connection_id":171001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:15:03] local.INFO: Extracted packet for processing {"connection_id":171001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cdc"} 
[2026-09-04 20:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864312576001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078940119040,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788532775000,"timestamp_ms":1788532775000,"timestamp_seconds":1788532775,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdc5858"} 
[2026-09-04 20:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-04 20:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864312576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1832965078940119040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864312576001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:15:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078940119040,"description":"Unknown IO ID 45"} 
[2026-09-04 20:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864312576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832965078940119040}} 
[2026-09-04 20:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":171001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:15:03] local.INFO: GPS data processed {"connection_id":171001,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:15:03] local.INFO: Acknowledgment sent {"connection_id":171001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:15:03] local.INFO: TCP Data received {"connection_id":172412,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:15:03] local.INFO: Processing buffer {"connection_id":172412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:15:03] local.INFO: IMEI packet received {"connection_id":172412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":172412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:15:04] local.INFO: TCP Data received {"connection_id":171002,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:15:04] local.INFO: Processing buffer {"connection_id":171002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:15:04] local.INFO: Packet analysis {"connection_id":171002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:15:04] local.INFO: Extracted packet for processing {"connection_id":171002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864352256001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788532927000,"timestamp_ms":1788532927000,"timestamp_seconds":1788532927,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdeaa18"} 
[2026-09-04 20:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 20:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864352256001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864352256001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:15:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:15:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864352256001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":171002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765009,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:15:05] local.INFO: GPS data processed {"connection_id":171002,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:15:05] local.INFO: Acknowledgment sent {"connection_id":171002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:15:05] local.INFO: TCP Data received {"connection_id":172412,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:15:05] local.INFO: Processing buffer {"connection_id":172412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:15:05] local.INFO: Packet analysis {"connection_id":172412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:15:05] local.INFO: Extracted packet for processing {"connection_id":172412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:15:05] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":49,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864353536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454556160,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788532936000,"timestamp_ms":1788532936000,"timestamp_seconds":1788532936,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdecd40"} 
[2026-09-04 20:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 20:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864353536001,"66":26484,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511239119454556160},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864353536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:15:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454556160,"description":"Unknown IO ID 44"} 
[2026-09-04 20:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864353536001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454556160}} 
[2026-09-04 20:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":172412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:15:05] local.INFO: GPS data processed {"connection_id":172412,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:15:05] local.INFO: Acknowledgment sent {"connection_id":172412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:15:36] local.INFO: TCP Data received {"connection_id":172412,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:15:36] local.INFO: Processing buffer {"connection_id":172412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:15:36] local.INFO: Packet analysis {"connection_id":172412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:15:36] local.INFO: Extracted packet for processing {"connection_id":172412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:15:36] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":49,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864353536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454556160,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788532936000,"timestamp_ms":1788532936000,"timestamp_seconds":1788532936,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdecd40"} 
[2026-09-04 20:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 20:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864353536001,"66":26484,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511239119454556160},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864353536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:15:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:15:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454556160,"description":"Unknown IO ID 44"} 
[2026-09-04 20:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864353536001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454556160}} 
[2026-09-04 20:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":172412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:15:36] local.INFO: GPS data processed {"connection_id":172412,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:15:36] local.INFO: Acknowledgment sent {"connection_id":172412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:15:47] local.INFO: TCP Data received {"connection_id":171003,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:15:47] local.INFO: Processing buffer {"connection_id":171003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:15:47] local.INFO: IMEI packet received {"connection_id":171003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":171003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:15:48] local.INFO: TCP Data received {"connection_id":171297,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:15:48] local.INFO: Processing buffer {"connection_id":171297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:15:48] local.INFO: IMEI packet received {"connection_id":171297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":171297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:15:52] local.INFO: TCP Data received {"connection_id":171003,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:15:52] local.INFO: Processing buffer {"connection_id":171003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:15:52] local.INFO: IMEI packet received {"connection_id":171003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":171003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:15:53] local.INFO: TCP Data received {"connection_id":171003,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:15:53] local.INFO: Processing buffer {"connection_id":171003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:15:53] local.INFO: Packet analysis {"connection_id":171003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:15:53] local.INFO: Extracted packet for processing {"connection_id":171003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:15:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864390400001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533076000,"timestamp_ms":1788533076000,"timestamp_seconds":1788533076,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce0f020"} 
[2026-09-04 20:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864390400001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864390400001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:15:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:15:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864390400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":171003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:15:53] local.INFO: GPS data processed {"connection_id":171003,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:15:53] local.INFO: Acknowledgment sent {"connection_id":171003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:15:53] local.INFO: TCP Data received {"connection_id":171297,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:15:53] local.INFO: Processing buffer {"connection_id":171297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:15:53] local.INFO: IMEI packet received {"connection_id":171297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":171297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:15:58] local.INFO: TCP Data received {"connection_id":171297,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:15:58] local.INFO: Processing buffer {"connection_id":171297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:15:58] local.INFO: Packet analysis {"connection_id":171297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:15:58] local.INFO: Extracted packet for processing {"connection_id":171297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:15:58] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864352256001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788532927000,"timestamp_ms":1788532927000,"timestamp_seconds":1788532927,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdeaa18"} 
[2026-09-04 20:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 20:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864352256001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864352256001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:15:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:15:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864352256001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":171297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765013,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:15:58] local.INFO: GPS data processed {"connection_id":171297,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:15:58] local.INFO: Acknowledgment sent {"connection_id":171297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:15:58] local.INFO: TCP Data received {"connection_id":171298,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:15:58] local.INFO: Processing buffer {"connection_id":171298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:15:58] local.INFO: IMEI packet received {"connection_id":171298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":171298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:16:03] local.INFO: TCP Data received {"connection_id":171298,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:16:03] local.INFO: Processing buffer {"connection_id":171298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:16:03] local.INFO: IMEI packet received {"connection_id":171298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":171298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:16:05] local.INFO: TCP Data received {"connection_id":171298,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:16:05] local.INFO: Processing buffer {"connection_id":171298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:16:05] local.INFO: Packet analysis {"connection_id":171298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:16:05] local.INFO: Extracted packet for processing {"connection_id":171298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:16:05] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":49,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864353536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454556160,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788532936000,"timestamp_ms":1788532936000,"timestamp_seconds":1788532936,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdecd40"} 
[2026-09-04 20:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 20:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864353536001,"66":26484,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511239119454556160},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864353536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:16:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:16:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454556160,"description":"Unknown IO ID 44"} 
[2026-09-04 20:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864353536001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454556160}} 
[2026-09-04 20:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":171298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:16:05] local.INFO: GPS data processed {"connection_id":171298,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:16:05] local.INFO: Acknowledgment sent {"connection_id":171298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:16:24] local.INFO: TCP Data received {"connection_id":171003,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:16:24] local.INFO: Processing buffer {"connection_id":171003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:16:24] local.INFO: Packet analysis {"connection_id":171003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:16:24] local.INFO: Extracted packet for processing {"connection_id":171003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:16:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864390400001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533076000,"timestamp_ms":1788533076000,"timestamp_seconds":1788533076,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce0f020"} 
[2026-09-04 20:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864390400001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864390400001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:16:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:16:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864390400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":171003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:16:24] local.INFO: GPS data processed {"connection_id":171003,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:16:24] local.INFO: Acknowledgment sent {"connection_id":171003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:16:30] local.INFO: TCP Data received {"connection_id":171297,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:16:30] local.INFO: Processing buffer {"connection_id":171297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:16:30] local.INFO: Packet analysis {"connection_id":171297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:16:30] local.INFO: Extracted packet for processing {"connection_id":171297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864352256001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788532927000,"timestamp_ms":1788532927000,"timestamp_seconds":1788532927,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdeaa18"} 
[2026-09-04 20:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 20:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864352256001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864352256001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:16:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:16:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864352256001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":171297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765016,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:16:30] local.INFO: GPS data processed {"connection_id":171297,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:16:30] local.INFO: Acknowledgment sent {"connection_id":171297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:16:36] local.INFO: TCP Data received {"connection_id":171298,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:16:36] local.INFO: Processing buffer {"connection_id":171298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:16:36] local.INFO: Packet analysis {"connection_id":171298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:16:36] local.INFO: Extracted packet for processing {"connection_id":171298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:16:36] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":49,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864353536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454556160,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788532936000,"timestamp_ms":1788532936000,"timestamp_seconds":1788532936,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdecd40"} 
[2026-09-04 20:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 20:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864353536001,"66":26484,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511239119454556160},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864353536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:16:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:16:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454556160,"description":"Unknown IO ID 44"} 
[2026-09-04 20:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864353536001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454556160}} 
[2026-09-04 20:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":171298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:16:36] local.INFO: GPS data processed {"connection_id":171298,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:16:36] local.INFO: Acknowledgment sent {"connection_id":171298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:16:47] local.INFO: TCP Data received {"connection_id":173697,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:16:47] local.INFO: Processing buffer {"connection_id":173697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:16:47] local.INFO: IMEI packet received {"connection_id":173697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":173697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:16:48] local.INFO: TCP Data received {"connection_id":173698,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:16:48] local.INFO: Processing buffer {"connection_id":173698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:16:48] local.INFO: IMEI packet received {"connection_id":173698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":173698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:16:53] local.INFO: TCP Data received {"connection_id":173697,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:16:53] local.INFO: Processing buffer {"connection_id":173697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:16:53] local.INFO: IMEI packet received {"connection_id":173697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":173697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:16:53] local.INFO: TCP Data received {"connection_id":173697,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:16:53] local.INFO: Processing buffer {"connection_id":173697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:16:53] local.INFO: Packet analysis {"connection_id":173697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:16:53] local.INFO: Extracted packet for processing {"connection_id":173697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864390400001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533076000,"timestamp_ms":1788533076000,"timestamp_seconds":1788533076,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce0f020"} 
[2026-09-04 20:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864390400001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864390400001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:16:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:16:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864390400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":173697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:16:53] local.INFO: GPS data processed {"connection_id":173697,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:16:53] local.INFO: Acknowledgment sent {"connection_id":173697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:16:53] local.INFO: TCP Data received {"connection_id":173698,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:16:53] local.INFO: Processing buffer {"connection_id":173698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:16:53] local.INFO: IMEI packet received {"connection_id":173698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":173698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:16:55] local.INFO: TCP Data received {"connection_id":173698,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:16:55] local.INFO: Processing buffer {"connection_id":173698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:16:55] local.INFO: Packet analysis {"connection_id":173698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:16:55] local.INFO: Extracted packet for processing {"connection_id":173698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:16:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864352256001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788532927000,"timestamp_ms":1788532927000,"timestamp_seconds":1788532927,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdeaa18"} 
[2026-09-04 20:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 20:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864352256001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864352256001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:16:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864352256001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":173698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765019,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:16:55] local.INFO: GPS data processed {"connection_id":173698,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:16:55] local.INFO: Acknowledgment sent {"connection_id":173698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:17:03] local.INFO: TCP Data received {"connection_id":173699,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:17:03] local.INFO: Processing buffer {"connection_id":173699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:17:03] local.INFO: IMEI packet received {"connection_id":173699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":173699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:17:08] local.INFO: TCP Data received {"connection_id":173699,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:17:08] local.INFO: Processing buffer {"connection_id":173699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:17:08] local.INFO: IMEI packet received {"connection_id":173699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":173699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:17:10] local.INFO: TCP Data received {"connection_id":173699,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:17:10] local.INFO: Processing buffer {"connection_id":173699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:17:10] local.INFO: Packet analysis {"connection_id":173699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:17:10] local.INFO: Extracted packet for processing {"connection_id":173699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:17:10] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":49,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864353536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454556160,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788532936000,"timestamp_ms":1788532936000,"timestamp_seconds":1788532936,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdecd40"} 
[2026-09-04 20:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 20:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864353536001,"66":26484,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511239119454556160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864353536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:17:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454556160,"description":"Unknown IO ID 44"} 
[2026-09-04 20:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864353536001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454556160}} 
[2026-09-04 20:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":173699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:17:10] local.INFO: GPS data processed {"connection_id":173699,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:17:10] local.INFO: Acknowledgment sent {"connection_id":173699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:17:15] local.INFO: TCP Data received {"connection_id":173699,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:17:15] local.INFO: Processing buffer {"connection_id":173699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdecd40012ceb0740071a3a58001d013631..."} 
[2026-09-04 20:17:15] local.INFO: Packet analysis {"connection_id":173699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:17:15] local.INFO: Extracted packet for processing {"connection_id":173699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:17:15] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":49,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864353536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454556160,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788532936000,"timestamp_ms":1788532936000,"timestamp_seconds":1788532936,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdecd40"} 
[2026-09-04 20:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-04 20:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864353536001,"66":26484,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511239119454556160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864353536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:17:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:17:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454556160,"description":"Unknown IO ID 44"} 
[2026-09-04 20:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864353536001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454556160}} 
[2026-09-04 20:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":173699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:17:15] local.INFO: GPS data processed {"connection_id":173699,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:17:15] local.INFO: Acknowledgment sent {"connection_id":173699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:17:24] local.INFO: TCP Data received {"connection_id":173697,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:17:24] local.INFO: Processing buffer {"connection_id":173697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:17:24] local.INFO: Packet analysis {"connection_id":173697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:17:24] local.INFO: Extracted packet for processing {"connection_id":173697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864390400001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533076000,"timestamp_ms":1788533076000,"timestamp_seconds":1788533076,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce0f020"} 
[2026-09-04 20:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864390400001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864390400001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:17:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864390400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":173697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:17:24] local.INFO: GPS data processed {"connection_id":173697,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:17:24] local.INFO: Acknowledgment sent {"connection_id":173697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:17:27] local.INFO: TCP Data received {"connection_id":173698,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:17:27] local.INFO: Processing buffer {"connection_id":173698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cdeaa18012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:17:27] local.INFO: Packet analysis {"connection_id":173698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:17:27] local.INFO: Extracted packet for processing {"connection_id":173698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cde"} 
[2026-09-04 20:17:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864352256001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788532927000,"timestamp_ms":1788532927000,"timestamp_seconds":1788532927,"priority":1,"record_length":96,"hex_timestamp":"000001a06cdeaa18"} 
[2026-09-04 20:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-04 20:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864352256001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864352256001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:17:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:17:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864352256001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":173698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:17:27] local.INFO: GPS data processed {"connection_id":173698,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:17:27] local.INFO: Acknowledgment sent {"connection_id":173698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:17:47] local.INFO: TCP Data received {"connection_id":171299,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:17:47] local.INFO: Processing buffer {"connection_id":171299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:17:47] local.INFO: IMEI packet received {"connection_id":171299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":171299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:17:48] local.INFO: TCP Data received {"connection_id":171004,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:17:48] local.INFO: Processing buffer {"connection_id":171004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:17:48] local.INFO: IMEI packet received {"connection_id":171004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":171004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:17:52] local.INFO: TCP Data received {"connection_id":171299,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:17:52] local.INFO: Processing buffer {"connection_id":171299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:17:52] local.INFO: IMEI packet received {"connection_id":171299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":171299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:17:53] local.INFO: TCP Data received {"connection_id":171299,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:17:53] local.INFO: Processing buffer {"connection_id":171299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:17:53] local.INFO: Packet analysis {"connection_id":171299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:17:53] local.INFO: Extracted packet for processing {"connection_id":171299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:17:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864390400001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533076000,"timestamp_ms":1788533076000,"timestamp_seconds":1788533076,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce0f020"} 
[2026-09-04 20:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864390400001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864390400001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:17:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:17:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864390400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":171299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:17:53] local.INFO: GPS data processed {"connection_id":171299,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:17:53] local.INFO: Acknowledgment sent {"connection_id":171299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:17:53] local.INFO: TCP Data received {"connection_id":171004,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:17:53] local.INFO: Processing buffer {"connection_id":171004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:17:53] local.INFO: IMEI packet received {"connection_id":171004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":171004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:17:55] local.INFO: TCP Data received {"connection_id":171004,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:17:55] local.INFO: Processing buffer {"connection_id":171004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:17:55] local.INFO: Packet analysis {"connection_id":171004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:17:55] local.INFO: Extracted packet for processing {"connection_id":171004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:17:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864429312001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788533228000,"timestamp_ms":1788533228000,"timestamp_seconds":1788533228,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce341e0"} 
[2026-09-04 20:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864429312001,"66":25528,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864429312001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:17:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864429312001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":171004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765025,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:17:55] local.INFO: GPS data processed {"connection_id":171004,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:17:55] local.INFO: Acknowledgment sent {"connection_id":171004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:17:55] local.INFO: TCP Data received {"connection_id":171005,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:17:55] local.INFO: Processing buffer {"connection_id":171005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:17:55] local.INFO: IMEI packet received {"connection_id":171005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":171005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:17:59] local.INFO: TCP Data received {"connection_id":171005,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:17:59] local.INFO: Processing buffer {"connection_id":171005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:17:59] local.INFO: IMEI packet received {"connection_id":171005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":171005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:18:04] local.INFO: TCP Data received {"connection_id":171005,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:18:04] local.INFO: Processing buffer {"connection_id":171005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:18:04] local.INFO: IMEI packet received {"connection_id":171005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":171005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:18:12] local.INFO: TCP Data received {"connection_id":171005,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:18:12] local.INFO: Processing buffer {"connection_id":171005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:18:12] local.INFO: Packet analysis {"connection_id":171005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:18:12] local.INFO: Extracted packet for processing {"connection_id":171005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:18:12] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":48,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864431616001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788533237000,"timestamp_ms":1788533237000,"timestamp_seconds":1788533237,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce36508"} 
[2026-09-04 20:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 20:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864431616001,"66":26136,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864431616001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:18:12] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864431616001,"power":26136,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":171005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:18:13] local.INFO: GPS data processed {"connection_id":171005,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:18:13] local.INFO: Acknowledgment sent {"connection_id":171005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:18:24] local.INFO: TCP Data received {"connection_id":171299,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:18:24] local.INFO: Processing buffer {"connection_id":171299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:18:24] local.INFO: Packet analysis {"connection_id":171299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:18:24] local.INFO: Extracted packet for processing {"connection_id":171299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864390400001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533076000,"timestamp_ms":1788533076000,"timestamp_seconds":1788533076,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce0f020"} 
[2026-09-04 20:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864390400001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864390400001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:18:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864390400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":171299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:18:25] local.INFO: GPS data processed {"connection_id":171299,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:18:25] local.INFO: Acknowledgment sent {"connection_id":171299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:18:26] local.INFO: TCP Data received {"connection_id":171004,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:18:26] local.INFO: Processing buffer {"connection_id":171004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:18:26] local.INFO: Packet analysis {"connection_id":171004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:18:26] local.INFO: Extracted packet for processing {"connection_id":171004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:18:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864429312001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788533228000,"timestamp_ms":1788533228000,"timestamp_seconds":1788533228,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce341e0"} 
[2026-09-04 20:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864429312001,"66":25528,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864429312001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:18:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:18:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864429312001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":171004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765028,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:18:26] local.INFO: GPS data processed {"connection_id":171004,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:18:26] local.INFO: Acknowledgment sent {"connection_id":171004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:18:43] local.INFO: TCP Data received {"connection_id":171005,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:18:43] local.INFO: Processing buffer {"connection_id":171005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:18:43] local.INFO: Packet analysis {"connection_id":171005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:18:43] local.INFO: Extracted packet for processing {"connection_id":171005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:18:43] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":48,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864431616001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788533237000,"timestamp_ms":1788533237000,"timestamp_seconds":1788533237,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce36508"} 
[2026-09-04 20:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 20:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864431616001,"66":26136,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864431616001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:18:43] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:18:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:18:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864431616001,"power":26136,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":171005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:18:43] local.INFO: GPS data processed {"connection_id":171005,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:18:43] local.INFO: Acknowledgment sent {"connection_id":171005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:18:48] local.INFO: TCP Data received {"connection_id":171006,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:18:48] local.INFO: Processing buffer {"connection_id":171006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:18:48] local.INFO: IMEI packet received {"connection_id":171006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":171006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:18:52] local.INFO: TCP Data received {"connection_id":172413,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:18:52] local.INFO: Processing buffer {"connection_id":172413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:18:52] local.INFO: IMEI packet received {"connection_id":172413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":172413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:18:53] local.INFO: TCP Data received {"connection_id":171006,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:18:53] local.INFO: Processing buffer {"connection_id":171006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:18:53] local.INFO: IMEI packet received {"connection_id":171006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":171006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:18:55] local.INFO: TCP Data received {"connection_id":171006,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:18:55] local.INFO: Processing buffer {"connection_id":171006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:18:55] local.INFO: Packet analysis {"connection_id":171006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:18:55] local.INFO: Extracted packet for processing {"connection_id":171006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864429312001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788533228000,"timestamp_ms":1788533228000,"timestamp_seconds":1788533228,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce341e0"} 
[2026-09-04 20:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864429312001,"66":25528,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864429312001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:18:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864429312001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":171006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:18:55] local.INFO: GPS data processed {"connection_id":171006,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:18:55] local.INFO: Acknowledgment sent {"connection_id":171006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:18:57] local.INFO: TCP Data received {"connection_id":172413,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:18:57] local.INFO: Processing buffer {"connection_id":172413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:18:57] local.INFO: IMEI packet received {"connection_id":172413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":172413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:18:58] local.INFO: TCP Data received {"connection_id":172413,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:18:58] local.INFO: Processing buffer {"connection_id":172413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:18:58] local.INFO: Packet analysis {"connection_id":172413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:18:58] local.INFO: Extracted packet for processing {"connection_id":172413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864390400001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788533076000,"timestamp_ms":1788533076000,"timestamp_seconds":1788533076,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce0f020"} 
[2026-09-04 20:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864390400001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864390400001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:18:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864390400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":172413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:18:58] local.INFO: GPS data processed {"connection_id":172413,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:18:58] local.INFO: Acknowledgment sent {"connection_id":172413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:18:59] local.INFO: TCP Data received {"connection_id":173700,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:18:59] local.INFO: Processing buffer {"connection_id":173700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:18:59] local.INFO: IMEI packet received {"connection_id":173700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":173700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:19:03] local.INFO: TCP Data received {"connection_id":172413,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:19:03] local.INFO: Processing buffer {"connection_id":172413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:19:03] local.INFO: Packet analysis {"connection_id":172413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:19:03] local.INFO: Extracted packet for processing {"connection_id":172413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864390400001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788533076000,"timestamp_ms":1788533076000,"timestamp_seconds":1788533076,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce0f020"} 
[2026-09-04 20:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864390400001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864390400001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:19:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864390400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":172413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:19:03] local.INFO: GPS data processed {"connection_id":172413,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:19:03] local.INFO: Acknowledgment sent {"connection_id":172413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:19:03] local.INFO: TCP Data received {"connection_id":173700,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:19:03] local.INFO: Processing buffer {"connection_id":173700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:19:03] local.INFO: IMEI packet received {"connection_id":173700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":173700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:19:05] local.INFO: TCP Data received {"connection_id":173700,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:19:05] local.INFO: Processing buffer {"connection_id":173700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:19:05] local.INFO: Packet analysis {"connection_id":173700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:19:05] local.INFO: Extracted packet for processing {"connection_id":173700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":48,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864431616001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788533237000,"timestamp_ms":1788533237000,"timestamp_seconds":1788533237,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce36508"} 
[2026-09-04 20:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 20:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864431616001,"66":26136,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864431616001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:19:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:19:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864431616001,"power":26136,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":173700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:19:05] local.INFO: GPS data processed {"connection_id":173700,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:19:05] local.INFO: Acknowledgment sent {"connection_id":173700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:19:29] local.INFO: TCP Data received {"connection_id":171006,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:19:29] local.INFO: Processing buffer {"connection_id":171006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:19:29] local.INFO: Packet analysis {"connection_id":171006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:19:29] local.INFO: Extracted packet for processing {"connection_id":171006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:19:29] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864429312001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788533228000,"timestamp_ms":1788533228000,"timestamp_seconds":1788533228,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce341e0"} 
[2026-09-04 20:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864429312001,"66":25528,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864429312001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:19:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:19:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864429312001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":171006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765034,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:19:29] local.INFO: GPS data processed {"connection_id":171006,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:19:29] local.INFO: Acknowledgment sent {"connection_id":171006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:19:36] local.INFO: TCP Data received {"connection_id":173700,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:19:36] local.INFO: Processing buffer {"connection_id":173700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:19:36] local.INFO: Packet analysis {"connection_id":173700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:19:36] local.INFO: Extracted packet for processing {"connection_id":173700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:19:36] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":48,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864431616001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788533237000,"timestamp_ms":1788533237000,"timestamp_seconds":1788533237,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce36508"} 
[2026-09-04 20:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 20:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864431616001,"66":26136,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864431616001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:19:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:19:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864431616001,"power":26136,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":173700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:19:36] local.INFO: GPS data processed {"connection_id":173700,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:19:36] local.INFO: Acknowledgment sent {"connection_id":173700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:19:47] local.INFO: TCP Data received {"connection_id":171300,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:19:47] local.INFO: Processing buffer {"connection_id":171300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:19:47] local.INFO: IMEI packet received {"connection_id":171300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":171300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:19:49] local.INFO: TCP Data received {"connection_id":173701,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:19:49] local.INFO: Processing buffer {"connection_id":173701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:19:49] local.INFO: IMEI packet received {"connection_id":173701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":173701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:19:52] local.INFO: TCP Data received {"connection_id":171300,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:19:52] local.INFO: Processing buffer {"connection_id":171300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:19:52] local.INFO: IMEI packet received {"connection_id":171300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":171300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:19:53] local.INFO: TCP Data received {"connection_id":171300,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:19:53] local.INFO: Processing buffer {"connection_id":171300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce0f020012d1965c0071fef80004001152c..."} 
[2026-09-04 20:19:53] local.INFO: Packet analysis {"connection_id":171300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:19:53] local.INFO: Extracted packet for processing {"connection_id":171300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce0"} 
[2026-09-04 20:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864390400001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533076000,"timestamp_ms":1788533076000,"timestamp_seconds":1788533076,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce0f020"} 
[2026-09-04 20:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864390400001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864390400001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:19:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:19:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864390400001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":171300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:19:53] local.INFO: GPS data processed {"connection_id":171300,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:19:53] local.INFO: Acknowledgment sent {"connection_id":171300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:19:53] local.INFO: TCP Data received {"connection_id":173701,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:19:53] local.INFO: Processing buffer {"connection_id":173701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:19:53] local.INFO: IMEI packet received {"connection_id":173701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":173701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:19:55] local.INFO: TCP Data received {"connection_id":173701,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:19:55] local.INFO: Processing buffer {"connection_id":173701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:19:55] local.INFO: Packet analysis {"connection_id":173701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:19:55] local.INFO: Extracted packet for processing {"connection_id":173701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:19:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864429312001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788533228000,"timestamp_ms":1788533228000,"timestamp_seconds":1788533228,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce341e0"} 
[2026-09-04 20:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173701,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173701,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864429312001,"66":25528,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864429312001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:19:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864429312001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":173701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765037,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:19:55] local.INFO: GPS data processed {"connection_id":173701,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:19:55] local.INFO: Acknowledgment sent {"connection_id":173701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:19:58] local.INFO: TCP Data received {"connection_id":172414,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:19:58] local.INFO: Processing buffer {"connection_id":172414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:19:58] local.INFO: IMEI packet received {"connection_id":172414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":172414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:20:04] local.INFO: TCP Data received {"connection_id":172414,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:20:04] local.INFO: Processing buffer {"connection_id":172414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:20:04] local.INFO: IMEI packet received {"connection_id":172414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":172414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:20:05] local.INFO: TCP Data received {"connection_id":172414,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:20:05] local.INFO: Processing buffer {"connection_id":172414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:20:05] local.INFO: Packet analysis {"connection_id":172414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:20:05] local.INFO: Extracted packet for processing {"connection_id":172414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:20:05] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":48,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864431616001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788533237000,"timestamp_ms":1788533237000,"timestamp_seconds":1788533237,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce36508"} 
[2026-09-04 20:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 20:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864431616001,"66":26136,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864431616001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:20:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:20:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864431616001,"power":26136,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":172414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:20:05] local.INFO: GPS data processed {"connection_id":172414,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:20:05] local.INFO: Acknowledgment sent {"connection_id":172414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:20:24] local.INFO: TCP Data received {"connection_id":171300,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:20:24] local.INFO: Processing buffer {"connection_id":171300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:20:24] local.INFO: Packet analysis {"connection_id":171300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:20:24] local.INFO: Extracted packet for processing {"connection_id":171300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864467456001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533377000,"timestamp_ms":1788533377000,"timestamp_seconds":1788533377,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce587e8"} 
[2026-09-04 20:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864467456001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864467456001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:20:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:20:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864467456001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":171300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:20:24] local.INFO: GPS data processed {"connection_id":171300,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:20:24] local.INFO: Acknowledgment sent {"connection_id":171300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:20:26] local.INFO: TCP Data received {"connection_id":173701,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:20:26] local.INFO: Processing buffer {"connection_id":173701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:20:26] local.INFO: Packet analysis {"connection_id":173701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:20:26] local.INFO: Extracted packet for processing {"connection_id":173701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:20:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864429312001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788533228000,"timestamp_ms":1788533228000,"timestamp_seconds":1788533228,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce341e0"} 
[2026-09-04 20:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173701,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173701,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864429312001,"66":25528,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864429312001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:20:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:20:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864429312001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":173701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765040,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:20:26] local.INFO: GPS data processed {"connection_id":173701,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:20:26] local.INFO: Acknowledgment sent {"connection_id":173701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:20:36] local.INFO: TCP Data received {"connection_id":172414,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:20:36] local.INFO: Processing buffer {"connection_id":172414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:20:36] local.INFO: Packet analysis {"connection_id":172414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:20:36] local.INFO: Extracted packet for processing {"connection_id":172414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:20:36] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":48,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864431616001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788533237000,"timestamp_ms":1788533237000,"timestamp_seconds":1788533237,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce36508"} 
[2026-09-04 20:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 20:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864431616001,"66":26136,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864431616001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:20:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:20:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864431616001,"power":26136,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":172414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:20:36] local.INFO: GPS data processed {"connection_id":172414,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:20:36] local.INFO: Acknowledgment sent {"connection_id":172414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:20:47] local.INFO: TCP Data received {"connection_id":171301,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:20:47] local.INFO: Processing buffer {"connection_id":171301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:20:47] local.INFO: IMEI packet received {"connection_id":171301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":171301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:20:48] local.INFO: TCP Data received {"connection_id":172415,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:20:48] local.INFO: Processing buffer {"connection_id":172415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:20:48] local.INFO: IMEI packet received {"connection_id":172415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":172415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:20:52] local.INFO: TCP Data received {"connection_id":171301,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:20:52] local.INFO: Processing buffer {"connection_id":171301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:20:52] local.INFO: IMEI packet received {"connection_id":171301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":171301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:20:53] local.INFO: TCP Data received {"connection_id":171301,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:20:53] local.INFO: Processing buffer {"connection_id":171301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:20:53] local.INFO: Packet analysis {"connection_id":171301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:20:53] local.INFO: Extracted packet for processing {"connection_id":171301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:20:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864467456001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533377000,"timestamp_ms":1788533377000,"timestamp_seconds":1788533377,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce587e8"} 
[2026-09-04 20:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864467456001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864467456001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:20:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:20:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864467456001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":171301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:20:53] local.INFO: GPS data processed {"connection_id":171301,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:20:53] local.INFO: Acknowledgment sent {"connection_id":171301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:20:53] local.INFO: TCP Data received {"connection_id":172415,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:20:53] local.INFO: Processing buffer {"connection_id":172415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:20:53] local.INFO: IMEI packet received {"connection_id":172415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":172415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:20:55] local.INFO: TCP Data received {"connection_id":172415,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:20:55] local.INFO: Processing buffer {"connection_id":172415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:20:55] local.INFO: Packet analysis {"connection_id":172415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:20:55] local.INFO: Extracted packet for processing {"connection_id":172415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:20:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864429312001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788533228000,"timestamp_ms":1788533228000,"timestamp_seconds":1788533228,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce341e0"} 
[2026-09-04 20:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864429312001,"66":25528,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864429312001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:20:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864429312001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":172415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:20:55] local.INFO: GPS data processed {"connection_id":172415,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:20:55] local.INFO: Acknowledgment sent {"connection_id":172415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:20:58] local.INFO: TCP Data received {"connection_id":171007,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:20:58] local.INFO: Processing buffer {"connection_id":171007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:20:58] local.INFO: IMEI packet received {"connection_id":171007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":171007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:21:03] local.INFO: TCP Data received {"connection_id":171007,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:21:03] local.INFO: Processing buffer {"connection_id":171007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:21:03] local.INFO: IMEI packet received {"connection_id":171007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":171007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:21:05] local.INFO: TCP Data received {"connection_id":171007,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:21:05] local.INFO: Processing buffer {"connection_id":171007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:21:05] local.INFO: Packet analysis {"connection_id":171007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:21:05] local.INFO: Extracted packet for processing {"connection_id":171007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":48,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864431616001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788533237000,"timestamp_ms":1788533237000,"timestamp_seconds":1788533237,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce36508"} 
[2026-09-04 20:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 20:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864431616001,"66":26136,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864431616001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:21:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:21:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864431616001,"power":26136,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":171007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:21:05] local.INFO: GPS data processed {"connection_id":171007,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:21:05] local.INFO: Acknowledgment sent {"connection_id":171007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:21:24] local.INFO: TCP Data received {"connection_id":171301,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:21:24] local.INFO: Processing buffer {"connection_id":171301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:21:24] local.INFO: Packet analysis {"connection_id":171301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:21:24] local.INFO: Extracted packet for processing {"connection_id":171301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:21:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864467456001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533377000,"timestamp_ms":1788533377000,"timestamp_seconds":1788533377,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce587e8"} 
[2026-09-04 20:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864467456001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864467456001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:21:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:21:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864467456001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":171301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:21:24] local.INFO: GPS data processed {"connection_id":171301,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:21:24] local.INFO: Acknowledgment sent {"connection_id":171301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:21:26] local.INFO: TCP Data received {"connection_id":172415,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:21:26] local.INFO: Processing buffer {"connection_id":172415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:21:26] local.INFO: Packet analysis {"connection_id":172415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:21:26] local.INFO: Extracted packet for processing {"connection_id":172415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:21:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864429312001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788533228000,"timestamp_ms":1788533228000,"timestamp_seconds":1788533228,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce341e0"} 
[2026-09-04 20:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864429312001,"66":25528,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864429312001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:21:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:21:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864429312001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":172415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:21:26] local.INFO: GPS data processed {"connection_id":172415,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:21:26] local.INFO: Acknowledgment sent {"connection_id":172415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:21:37] local.INFO: TCP Data received {"connection_id":171007,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:21:37] local.INFO: Processing buffer {"connection_id":171007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:21:37] local.INFO: Packet analysis {"connection_id":171007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:21:37] local.INFO: Extracted packet for processing {"connection_id":171007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:21:37] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":48,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864431616001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788533237000,"timestamp_ms":1788533237000,"timestamp_seconds":1788533237,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce36508"} 
[2026-09-04 20:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 20:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864431616001,"66":26136,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864431616001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:21:37] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864431616001,"power":26136,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":171007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:21:37] local.INFO: GPS data processed {"connection_id":171007,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:21:37] local.INFO: Acknowledgment sent {"connection_id":171007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:21:47] local.INFO: TCP Data received {"connection_id":173702,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:21:47] local.INFO: Processing buffer {"connection_id":173702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:21:47] local.INFO: IMEI packet received {"connection_id":173702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":173702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:21:48] local.INFO: TCP Data received {"connection_id":172416,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:21:48] local.INFO: Processing buffer {"connection_id":172416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:21:48] local.INFO: IMEI packet received {"connection_id":172416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":172416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:21:52] local.INFO: TCP Data received {"connection_id":173702,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:21:52] local.INFO: Processing buffer {"connection_id":173702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:21:52] local.INFO: IMEI packet received {"connection_id":173702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":173702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:21:53] local.INFO: TCP Data received {"connection_id":173702,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:21:53] local.INFO: Processing buffer {"connection_id":173702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:21:53] local.INFO: Packet analysis {"connection_id":173702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:21:53] local.INFO: Extracted packet for processing {"connection_id":173702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864467456001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533377000,"timestamp_ms":1788533377000,"timestamp_seconds":1788533377,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce587e8"} 
[2026-09-04 20:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864467456001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864467456001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:21:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864467456001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":173702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:21:53] local.INFO: GPS data processed {"connection_id":173702,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:21:53] local.INFO: Acknowledgment sent {"connection_id":173702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:21:53] local.INFO: TCP Data received {"connection_id":172416,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:21:53] local.INFO: Processing buffer {"connection_id":172416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:21:53] local.INFO: IMEI packet received {"connection_id":172416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":172416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:21:55] local.INFO: TCP Data received {"connection_id":172416,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:21:55] local.INFO: Processing buffer {"connection_id":172416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:21:55] local.INFO: Packet analysis {"connection_id":172416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:21:55] local.INFO: Extracted packet for processing {"connection_id":172416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:21:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864429312001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788533228000,"timestamp_ms":1788533228000,"timestamp_seconds":1788533228,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce341e0"} 
[2026-09-04 20:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864429312001,"66":25528,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864429312001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:21:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:21:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864429312001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":172416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765049,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:21:55] local.INFO: GPS data processed {"connection_id":172416,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:21:55] local.INFO: Acknowledgment sent {"connection_id":172416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:21:58] local.INFO: TCP Data received {"connection_id":172417,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:21:58] local.INFO: Processing buffer {"connection_id":172417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:21:58] local.INFO: IMEI packet received {"connection_id":172417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":172417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:22:03] local.INFO: TCP Data received {"connection_id":172417,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:22:03] local.INFO: Processing buffer {"connection_id":172417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:22:03] local.INFO: IMEI packet received {"connection_id":172417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":172417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:22:04] local.INFO: TCP Data received {"connection_id":172417,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:22:04] local.INFO: Processing buffer {"connection_id":172417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:22:04] local.INFO: Packet analysis {"connection_id":172417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:22:04] local.INFO: Extracted packet for processing {"connection_id":172417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:22:04] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":48,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864431616001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788533237000,"timestamp_ms":1788533237000,"timestamp_seconds":1788533237,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce36508"} 
[2026-09-04 20:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 20:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864431616001,"66":26136,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864431616001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:22:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:22:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:22:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864431616001,"power":26136,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":172417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:22:04] local.INFO: GPS data processed {"connection_id":172417,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:22:04] local.INFO: Acknowledgment sent {"connection_id":172417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:22:24] local.INFO: TCP Data received {"connection_id":173702,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:22:24] local.INFO: Processing buffer {"connection_id":173702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:22:24] local.INFO: Packet analysis {"connection_id":173702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:22:24] local.INFO: Extracted packet for processing {"connection_id":173702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:22:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864467456001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533377000,"timestamp_ms":1788533377000,"timestamp_seconds":1788533377,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce587e8"} 
[2026-09-04 20:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864467456001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864467456001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:22:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:22:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864467456001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":173702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:22:25] local.INFO: GPS data processed {"connection_id":173702,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:22:25] local.INFO: Acknowledgment sent {"connection_id":173702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:22:27] local.INFO: TCP Data received {"connection_id":172416,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:22:27] local.INFO: Processing buffer {"connection_id":172416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce341e0012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:22:27] local.INFO: Packet analysis {"connection_id":172416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:22:27] local.INFO: Extracted packet for processing {"connection_id":172416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:22:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864429312001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788533228000,"timestamp_ms":1788533228000,"timestamp_seconds":1788533228,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce341e0"} 
[2026-09-04 20:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864429312001,"66":25528,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864429312001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:22:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:22:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864429312001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":172416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:22:27] local.INFO: GPS data processed {"connection_id":172416,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:22:27] local.INFO: Acknowledgment sent {"connection_id":172416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:22:35] local.INFO: TCP Data received {"connection_id":172417,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:22:35] local.INFO: Processing buffer {"connection_id":172417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce36508012ceb0740071a3a58001d013630..."} 
[2026-09-04 20:22:35] local.INFO: Packet analysis {"connection_id":172417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:22:35] local.INFO: Extracted packet for processing {"connection_id":172417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce3"} 
[2026-09-04 20:22:35] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":48,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864431616001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788533237000,"timestamp_ms":1788533237000,"timestamp_seconds":1788533237,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce36508"} 
[2026-09-04 20:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 20:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864431616001,"66":26136,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864431616001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:22:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:22:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864431616001,"power":26136,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":172417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:22:35] local.INFO: GPS data processed {"connection_id":172417,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:22:35] local.INFO: Acknowledgment sent {"connection_id":172417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:22:47] local.INFO: TCP Data received {"connection_id":171008,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:22:47] local.INFO: Processing buffer {"connection_id":171008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:22:47] local.INFO: IMEI packet received {"connection_id":171008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":171008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:22:52] local.INFO: TCP Data received {"connection_id":171008,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:22:52] local.INFO: Processing buffer {"connection_id":171008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:22:52] local.INFO: IMEI packet received {"connection_id":171008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":171008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:22:53] local.INFO: TCP Data received {"connection_id":171008,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:22:53] local.INFO: Processing buffer {"connection_id":171008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:22:53] local.INFO: Packet analysis {"connection_id":171008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:22:53] local.INFO: Extracted packet for processing {"connection_id":171008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:22:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864467456001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533377000,"timestamp_ms":1788533377000,"timestamp_seconds":1788533377,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce587e8"} 
[2026-09-04 20:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864467456001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864467456001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:22:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:22:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864467456001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":171008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:22:53] local.INFO: GPS data processed {"connection_id":171008,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:22:53] local.INFO: Acknowledgment sent {"connection_id":171008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:22:53] local.INFO: TCP Data received {"connection_id":171009,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:22:53] local.INFO: Processing buffer {"connection_id":171009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:22:53] local.INFO: IMEI packet received {"connection_id":171009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":171009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:22:58] local.INFO: TCP Data received {"connection_id":171009,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:22:58] local.INFO: Processing buffer {"connection_id":171009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:22:58] local.INFO: IMEI packet received {"connection_id":171009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":171009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:23:02] local.INFO: TCP Data received {"connection_id":171009,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:23:02] local.INFO: Processing buffer {"connection_id":171009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:23:02] local.INFO: Packet analysis {"connection_id":171009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:23:02] local.INFO: Extracted packet for processing {"connection_id":171009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:23:02] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864506368001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788533529000,"timestamp_ms":1788533529000,"timestamp_seconds":1788533529,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7d9a8"} 
[2026-09-04 20:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 20:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864506368001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864506368001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:23:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:23:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864506368001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":171009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765055,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:23:02] local.INFO: GPS data processed {"connection_id":171009,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:23:02] local.INFO: Acknowledgment sent {"connection_id":171009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:23:03] local.INFO: TCP Data received {"connection_id":173703,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:23:03] local.INFO: Processing buffer {"connection_id":173703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:23:03] local.INFO: IMEI packet received {"connection_id":173703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":173703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:23:08] local.INFO: TCP Data received {"connection_id":173703,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:23:08] local.INFO: Processing buffer {"connection_id":173703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:23:08] local.INFO: IMEI packet received {"connection_id":173703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":173703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:23:09] local.INFO: TCP Data received {"connection_id":173703,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:23:09] local.INFO: Processing buffer {"connection_id":173703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:23:09] local.INFO: Packet analysis {"connection_id":173703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:23:09] local.INFO: Extracted packet for processing {"connection_id":173703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:23:09] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":47,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864508672001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788533538000,"timestamp_ms":1788533538000,"timestamp_seconds":1788533538,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7fcd0"} 
[2026-09-04 20:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 20:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864508672001,"66":26039,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864508672001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:23:09] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:23:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:23:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864508672001,"power":26039,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":173703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:23:09] local.INFO: GPS data processed {"connection_id":173703,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:23:09] local.INFO: Acknowledgment sent {"connection_id":173703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:23:14] local.INFO: TCP Data received {"connection_id":173703,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:23:14] local.INFO: Processing buffer {"connection_id":173703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:23:14] local.INFO: Packet analysis {"connection_id":173703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:23:14] local.INFO: Extracted packet for processing {"connection_id":173703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:23:14] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":47,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864508672001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788533538000,"timestamp_ms":1788533538000,"timestamp_seconds":1788533538,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7fcd0"} 
[2026-09-04 20:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 20:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864508672001,"66":26039,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864508672001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:23:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:23:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:23:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864508672001,"power":26039,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":173703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:23:14] local.INFO: GPS data processed {"connection_id":173703,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:23:14] local.INFO: Acknowledgment sent {"connection_id":173703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:23:24] local.INFO: TCP Data received {"connection_id":171008,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:23:24] local.INFO: Processing buffer {"connection_id":171008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:23:24] local.INFO: Packet analysis {"connection_id":171008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:23:24] local.INFO: Extracted packet for processing {"connection_id":171008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:23:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864467456001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533377000,"timestamp_ms":1788533377000,"timestamp_seconds":1788533377,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce587e8"} 
[2026-09-04 20:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864467456001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864467456001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:23:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:23:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864467456001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":171008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:23:24] local.INFO: GPS data processed {"connection_id":171008,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:23:24] local.INFO: Acknowledgment sent {"connection_id":171008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:23:48] local.INFO: TCP Data received {"connection_id":172418,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:23:48] local.INFO: Processing buffer {"connection_id":172418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:23:48] local.INFO: IMEI packet received {"connection_id":172418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":172418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:23:52] local.INFO: TCP Data received {"connection_id":173704,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:23:52] local.INFO: Processing buffer {"connection_id":173704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:23:52] local.INFO: IMEI packet received {"connection_id":173704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":173704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:23:53] local.INFO: TCP Data received {"connection_id":172418,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:23:53] local.INFO: Processing buffer {"connection_id":172418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:23:53] local.INFO: IMEI packet received {"connection_id":172418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":172418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:23:55] local.INFO: TCP Data received {"connection_id":172418,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:23:55] local.INFO: Processing buffer {"connection_id":172418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:23:55] local.INFO: Packet analysis {"connection_id":172418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:23:55] local.INFO: Extracted packet for processing {"connection_id":172418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864506368001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788533529000,"timestamp_ms":1788533529000,"timestamp_seconds":1788533529,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7d9a8"} 
[2026-09-04 20:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 20:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864506368001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864506368001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:23:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864506368001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":172418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765059,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:23:55] local.INFO: GPS data processed {"connection_id":172418,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:23:55] local.INFO: Acknowledgment sent {"connection_id":172418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:23:57] local.INFO: TCP Data received {"connection_id":173704,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:23:57] local.INFO: Processing buffer {"connection_id":173704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:23:57] local.INFO: IMEI packet received {"connection_id":173704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":173704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:23:58] local.INFO: TCP Data received {"connection_id":173704,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:23:58] local.INFO: Processing buffer {"connection_id":173704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:23:58] local.INFO: Packet analysis {"connection_id":173704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:23:58] local.INFO: Extracted packet for processing {"connection_id":173704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864467456001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788533377000,"timestamp_ms":1788533377000,"timestamp_seconds":1788533377,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce587e8"} 
[2026-09-04 20:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864467456001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864467456001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:23:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864467456001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":173704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:23:58] local.INFO: GPS data processed {"connection_id":173704,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:23:58] local.INFO: Acknowledgment sent {"connection_id":173704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:23:59] local.INFO: TCP Data received {"connection_id":173705,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:23:59] local.INFO: Processing buffer {"connection_id":173705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:23:59] local.INFO: IMEI packet received {"connection_id":173705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":173705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:24:03] local.INFO: TCP Data received {"connection_id":173704,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:24:03] local.INFO: Processing buffer {"connection_id":173704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:24:03] local.INFO: Packet analysis {"connection_id":173704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:24:03] local.INFO: Extracted packet for processing {"connection_id":173704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864467456001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788533377000,"timestamp_ms":1788533377000,"timestamp_seconds":1788533377,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce587e8"} 
[2026-09-04 20:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864467456001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864467456001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:24:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864467456001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":173704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:24:03] local.INFO: GPS data processed {"connection_id":173704,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:24:03] local.INFO: Acknowledgment sent {"connection_id":173704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:24:03] local.INFO: TCP Data received {"connection_id":173705,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:24:03] local.INFO: Processing buffer {"connection_id":173705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:24:03] local.INFO: IMEI packet received {"connection_id":173705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":173705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:24:04] local.INFO: TCP Data received {"connection_id":173705,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:24:04] local.INFO: Processing buffer {"connection_id":173705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:24:04] local.INFO: Packet analysis {"connection_id":173705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:24:04] local.INFO: Extracted packet for processing {"connection_id":173705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:24:04] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":47,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864508672001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788533538000,"timestamp_ms":1788533538000,"timestamp_seconds":1788533538,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7fcd0"} 
[2026-09-04 20:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 20:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864508672001,"66":26039,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864508672001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:24:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:24:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864508672001,"power":26039,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":173705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:24:04] local.INFO: GPS data processed {"connection_id":173705,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:24:04] local.INFO: Acknowledgment sent {"connection_id":173705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:24:27] local.INFO: TCP Data received {"connection_id":172418,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:24:27] local.INFO: Processing buffer {"connection_id":172418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:24:27] local.INFO: Packet analysis {"connection_id":172418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:24:27] local.INFO: Extracted packet for processing {"connection_id":172418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:24:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864506368001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788533529000,"timestamp_ms":1788533529000,"timestamp_seconds":1788533529,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7d9a8"} 
[2026-09-04 20:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 20:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864506368001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864506368001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:24:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:24:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864506368001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":172418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765063,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:24:27] local.INFO: GPS data processed {"connection_id":172418,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:24:27] local.INFO: Acknowledgment sent {"connection_id":172418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:24:35] local.INFO: TCP Data received {"connection_id":173705,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:24:35] local.INFO: Processing buffer {"connection_id":173705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:24:35] local.INFO: Packet analysis {"connection_id":173705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:24:35] local.INFO: Extracted packet for processing {"connection_id":173705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:24:35] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":47,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864508672001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788533538000,"timestamp_ms":1788533538000,"timestamp_seconds":1788533538,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7fcd0"} 
[2026-09-04 20:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 20:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864508672001,"66":26039,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864508672001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:24:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:24:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864508672001,"power":26039,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":173705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:24:35] local.INFO: GPS data processed {"connection_id":173705,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:24:35] local.INFO: Acknowledgment sent {"connection_id":173705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:24:47] local.INFO: TCP Data received {"connection_id":171010,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:24:47] local.INFO: Processing buffer {"connection_id":171010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:24:47] local.INFO: IMEI packet received {"connection_id":171010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":171010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:24:48] local.INFO: TCP Data received {"connection_id":171011,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:24:48] local.INFO: Processing buffer {"connection_id":171011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:24:48] local.INFO: IMEI packet received {"connection_id":171011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":171011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:24:52] local.INFO: TCP Data received {"connection_id":171010,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:24:52] local.INFO: Processing buffer {"connection_id":171010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:24:52] local.INFO: IMEI packet received {"connection_id":171010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":171010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:24:53] local.INFO: TCP Data received {"connection_id":171010,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:24:53] local.INFO: Processing buffer {"connection_id":171010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce587e8012d1965c0071fef80004001152e..."} 
[2026-09-04 20:24:53] local.INFO: Packet analysis {"connection_id":171010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:24:53] local.INFO: Extracted packet for processing {"connection_id":171010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce5"} 
[2026-09-04 20:24:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864467456001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533377000,"timestamp_ms":1788533377000,"timestamp_seconds":1788533377,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce587e8"} 
[2026-09-04 20:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864467456001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864467456001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:24:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:24:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864467456001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":171010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:24:53] local.INFO: GPS data processed {"connection_id":171010,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:24:53] local.INFO: Acknowledgment sent {"connection_id":171010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:24:53] local.INFO: TCP Data received {"connection_id":171011,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:24:53] local.INFO: Processing buffer {"connection_id":171011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:24:53] local.INFO: IMEI packet received {"connection_id":171011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":171011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:24:55] local.INFO: TCP Data received {"connection_id":171011,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:24:55] local.INFO: Processing buffer {"connection_id":171011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:24:55] local.INFO: Packet analysis {"connection_id":171011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:24:55] local.INFO: Extracted packet for processing {"connection_id":171011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:24:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864506368001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788533529000,"timestamp_ms":1788533529000,"timestamp_seconds":1788533529,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7d9a8"} 
[2026-09-04 20:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 20:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864506368001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864506368001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:24:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:24:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864506368001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":171011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765066,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:24:55] local.INFO: GPS data processed {"connection_id":171011,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:24:55] local.INFO: Acknowledgment sent {"connection_id":171011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:24:58] local.INFO: TCP Data received {"connection_id":173706,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:24:58] local.INFO: Processing buffer {"connection_id":173706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:24:58] local.INFO: IMEI packet received {"connection_id":173706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":173706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:25:03] local.INFO: TCP Data received {"connection_id":173706,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:25:03] local.INFO: Processing buffer {"connection_id":173706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:25:03] local.INFO: IMEI packet received {"connection_id":173706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":173706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:25:05] local.INFO: TCP Data received {"connection_id":173706,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:25:05] local.INFO: Processing buffer {"connection_id":173706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:25:05] local.INFO: Packet analysis {"connection_id":173706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:25:05] local.INFO: Extracted packet for processing {"connection_id":173706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:25:05] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":47,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864508672001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788533538000,"timestamp_ms":1788533538000,"timestamp_seconds":1788533538,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7fcd0"} 
[2026-09-04 20:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 20:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864508672001,"66":26039,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864508672001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:25:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:25:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864508672001,"power":26039,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":173706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:25:05] local.INFO: GPS data processed {"connection_id":173706,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:25:05] local.INFO: Acknowledgment sent {"connection_id":173706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:25:24] local.INFO: TCP Data received {"connection_id":171010,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:25:24] local.INFO: Processing buffer {"connection_id":171010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:25:24] local.INFO: Packet analysis {"connection_id":171010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:25:24] local.INFO: Extracted packet for processing {"connection_id":171010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:25:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864544512001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533678000,"timestamp_ms":1788533678000,"timestamp_seconds":1788533678,"priority":1,"record_length":96,"hex_timestamp":"000001a06cea1fb0"} 
[2026-09-04 20:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864544512001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864544512001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:25:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:25:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864544512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":171010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:25:24] local.INFO: GPS data processed {"connection_id":171010,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:25:24] local.INFO: Acknowledgment sent {"connection_id":171010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:25:26] local.INFO: TCP Data received {"connection_id":171011,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:25:26] local.INFO: Processing buffer {"connection_id":171011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:25:26] local.INFO: Packet analysis {"connection_id":171011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:25:26] local.INFO: Extracted packet for processing {"connection_id":171011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:25:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864506368001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788533529000,"timestamp_ms":1788533529000,"timestamp_seconds":1788533529,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7d9a8"} 
[2026-09-04 20:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 20:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864506368001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864506368001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:25:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:25:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864506368001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":171011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765069,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:25:26] local.INFO: GPS data processed {"connection_id":171011,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:25:26] local.INFO: Acknowledgment sent {"connection_id":171011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:25:36] local.INFO: TCP Data received {"connection_id":173706,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:25:36] local.INFO: Processing buffer {"connection_id":173706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:25:36] local.INFO: Packet analysis {"connection_id":173706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:25:36] local.INFO: Extracted packet for processing {"connection_id":173706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:25:36] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":47,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864508672001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788533538000,"timestamp_ms":1788533538000,"timestamp_seconds":1788533538,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7fcd0"} 
[2026-09-04 20:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 20:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864508672001,"66":26039,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864508672001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:25:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:25:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864508672001,"power":26039,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":173706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:25:36] local.INFO: GPS data processed {"connection_id":173706,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:25:36] local.INFO: Acknowledgment sent {"connection_id":173706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:25:47] local.INFO: TCP Data received {"connection_id":171012,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:25:47] local.INFO: Processing buffer {"connection_id":171012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:25:47] local.INFO: IMEI packet received {"connection_id":171012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":171012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:25:52] local.INFO: TCP Data received {"connection_id":171012,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:25:52] local.INFO: Processing buffer {"connection_id":171012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:25:52] local.INFO: IMEI packet received {"connection_id":171012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":171012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:25:53] local.INFO: TCP Data received {"connection_id":171012,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:25:53] local.INFO: Processing buffer {"connection_id":171012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:25:53] local.INFO: Packet analysis {"connection_id":171012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:25:53] local.INFO: Extracted packet for processing {"connection_id":171012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864544512001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533678000,"timestamp_ms":1788533678000,"timestamp_seconds":1788533678,"priority":1,"record_length":96,"hex_timestamp":"000001a06cea1fb0"} 
[2026-09-04 20:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864544512001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864544512001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:25:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:25:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864544512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":171012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:25:53] local.INFO: GPS data processed {"connection_id":171012,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:25:53] local.INFO: Acknowledgment sent {"connection_id":171012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:25:53] local.INFO: TCP Data received {"connection_id":172419,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:25:53] local.INFO: Processing buffer {"connection_id":172419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:25:53] local.INFO: IMEI packet received {"connection_id":172419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":172419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:25:58] local.INFO: TCP Data received {"connection_id":171013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:25:58] local.INFO: Processing buffer {"connection_id":171013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:25:58] local.INFO: IMEI packet received {"connection_id":171013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":171013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:25:58] local.INFO: TCP Data received {"connection_id":172419,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:25:58] local.INFO: Processing buffer {"connection_id":172419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:25:58] local.INFO: IMEI packet received {"connection_id":172419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":172419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:26:00] local.INFO: TCP Data received {"connection_id":172419,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:26:00] local.INFO: Processing buffer {"connection_id":172419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:26:00] local.INFO: Packet analysis {"connection_id":172419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:26:00] local.INFO: Extracted packet for processing {"connection_id":172419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:26:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864506368001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788533529000,"timestamp_ms":1788533529000,"timestamp_seconds":1788533529,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7d9a8"} 
[2026-09-04 20:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 20:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864506368001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864506368001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:26:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864506368001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":172419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:26:00] local.INFO: GPS data processed {"connection_id":172419,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:26:00] local.INFO: Acknowledgment sent {"connection_id":172419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:26:03] local.INFO: TCP Data received {"connection_id":171013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:26:03] local.INFO: Processing buffer {"connection_id":171013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:26:03] local.INFO: IMEI packet received {"connection_id":171013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":171013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:26:04] local.INFO: TCP Data received {"connection_id":172419,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:26:04] local.INFO: Processing buffer {"connection_id":172419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:26:04] local.INFO: Packet analysis {"connection_id":172419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:26:04] local.INFO: Extracted packet for processing {"connection_id":172419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:26:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864506368001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788533529000,"timestamp_ms":1788533529000,"timestamp_seconds":1788533529,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7d9a8"} 
[2026-09-04 20:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 20:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864506368001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864506368001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:26:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:26:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864506368001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":172419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765073,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:26:04] local.INFO: GPS data processed {"connection_id":172419,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:26:04] local.INFO: Acknowledgment sent {"connection_id":172419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:26:05] local.INFO: TCP Data received {"connection_id":171013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:26:05] local.INFO: Processing buffer {"connection_id":171013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:26:05] local.INFO: Packet analysis {"connection_id":171013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:26:05] local.INFO: Extracted packet for processing {"connection_id":171013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:26:05] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":47,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864508672001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788533538000,"timestamp_ms":1788533538000,"timestamp_seconds":1788533538,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7fcd0"} 
[2026-09-04 20:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 20:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864508672001,"66":26039,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864508672001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:26:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:26:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864508672001,"power":26039,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":171013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:26:05] local.INFO: GPS data processed {"connection_id":171013,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:26:05] local.INFO: Acknowledgment sent {"connection_id":171013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:26:24] local.INFO: TCP Data received {"connection_id":171012,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:26:24] local.INFO: Processing buffer {"connection_id":171012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:26:24] local.INFO: Packet analysis {"connection_id":171012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:26:24] local.INFO: Extracted packet for processing {"connection_id":171012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:26:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864544512001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533678000,"timestamp_ms":1788533678000,"timestamp_seconds":1788533678,"priority":1,"record_length":96,"hex_timestamp":"000001a06cea1fb0"} 
[2026-09-04 20:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864544512001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864544512001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:26:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:26:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864544512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":171012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:26:24] local.INFO: GPS data processed {"connection_id":171012,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:26:24] local.INFO: Acknowledgment sent {"connection_id":171012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:26:36] local.INFO: TCP Data received {"connection_id":171013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:26:36] local.INFO: Processing buffer {"connection_id":171013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:26:36] local.INFO: Packet analysis {"connection_id":171013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:26:36] local.INFO: Extracted packet for processing {"connection_id":171013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:26:36] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":47,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864508672001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788533538000,"timestamp_ms":1788533538000,"timestamp_seconds":1788533538,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7fcd0"} 
[2026-09-04 20:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 20:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864508672001,"66":26039,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864508672001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:26:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:26:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864508672001,"power":26039,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":171013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:26:36] local.INFO: GPS data processed {"connection_id":171013,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:26:36] local.INFO: Acknowledgment sent {"connection_id":171013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:26:47] local.INFO: TCP Data received {"connection_id":172421,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:26:47] local.INFO: Processing buffer {"connection_id":172421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:26:47] local.INFO: IMEI packet received {"connection_id":172421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":172421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:26:49] local.INFO: TCP Data received {"connection_id":172420,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:26:49] local.INFO: Processing buffer {"connection_id":172420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:26:49] local.INFO: IMEI packet received {"connection_id":172420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":172420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:26:52] local.INFO: TCP Data received {"connection_id":172421,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:26:52] local.INFO: Processing buffer {"connection_id":172421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:26:52] local.INFO: IMEI packet received {"connection_id":172421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":172421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:26:53] local.INFO: TCP Data received {"connection_id":172421,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:26:53] local.INFO: Processing buffer {"connection_id":172421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:26:53] local.INFO: Packet analysis {"connection_id":172421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:26:53] local.INFO: Extracted packet for processing {"connection_id":172421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:26:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864544512001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533678000,"timestamp_ms":1788533678000,"timestamp_seconds":1788533678,"priority":1,"record_length":96,"hex_timestamp":"000001a06cea1fb0"} 
[2026-09-04 20:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864544512001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864544512001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:26:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:26:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864544512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":172421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:26:53] local.INFO: GPS data processed {"connection_id":172421,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:26:53] local.INFO: Acknowledgment sent {"connection_id":172421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:26:53] local.INFO: TCP Data received {"connection_id":172420,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:26:53] local.INFO: Processing buffer {"connection_id":172420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:26:53] local.INFO: IMEI packet received {"connection_id":172420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":172420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:26:55] local.INFO: TCP Data received {"connection_id":172420,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:26:55] local.INFO: Processing buffer {"connection_id":172420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:26:55] local.INFO: Packet analysis {"connection_id":172420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:26:55] local.INFO: Extracted packet for processing {"connection_id":172420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:26:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864506368001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788533529000,"timestamp_ms":1788533529000,"timestamp_seconds":1788533529,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7d9a8"} 
[2026-09-04 20:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 20:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864506368001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864506368001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:26:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:26:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864506368001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":172420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765078,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:26:56] local.INFO: GPS data processed {"connection_id":172420,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:26:56] local.INFO: Acknowledgment sent {"connection_id":172420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:26:58] local.INFO: TCP Data received {"connection_id":171302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:26:58] local.INFO: Processing buffer {"connection_id":171302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:26:58] local.INFO: IMEI packet received {"connection_id":171302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":171302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:26:59] local.INFO: TCP Data received {"connection_id":172420,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:26:59] local.INFO: Processing buffer {"connection_id":172420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:26:59] local.INFO: Packet analysis {"connection_id":172420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:26:59] local.INFO: Extracted packet for processing {"connection_id":172420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864506368001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788533529000,"timestamp_ms":1788533529000,"timestamp_seconds":1788533529,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7d9a8"} 
[2026-09-04 20:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 20:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864506368001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864506368001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:26:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864506368001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":172420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:27:00] local.INFO: GPS data processed {"connection_id":172420,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:27:00] local.INFO: Acknowledgment sent {"connection_id":172420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:27:03] local.INFO: TCP Data received {"connection_id":171302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:27:03] local.INFO: Processing buffer {"connection_id":171302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:27:03] local.INFO: IMEI packet received {"connection_id":171302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":171302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:27:04] local.INFO: TCP Data received {"connection_id":171302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:27:04] local.INFO: Processing buffer {"connection_id":171302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:27:04] local.INFO: Packet analysis {"connection_id":171302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:27:04] local.INFO: Extracted packet for processing {"connection_id":171302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:27:04] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":47,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864508672001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788533538000,"timestamp_ms":1788533538000,"timestamp_seconds":1788533538,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7fcd0"} 
[2026-09-04 20:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 20:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864508672001,"66":26039,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864508672001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:27:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:27:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:27:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864508672001,"power":26039,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":171302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:27:04] local.INFO: GPS data processed {"connection_id":171302,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:27:04] local.INFO: Acknowledgment sent {"connection_id":171302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:27:24] local.INFO: TCP Data received {"connection_id":172421,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:27:24] local.INFO: Processing buffer {"connection_id":172421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:27:24] local.INFO: Packet analysis {"connection_id":172421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:27:24] local.INFO: Extracted packet for processing {"connection_id":172421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:27:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864544512001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533678000,"timestamp_ms":1788533678000,"timestamp_seconds":1788533678,"priority":1,"record_length":96,"hex_timestamp":"000001a06cea1fb0"} 
[2026-09-04 20:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864544512001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864544512001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:27:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:27:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864544512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":172421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:27:24] local.INFO: GPS data processed {"connection_id":172421,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:27:24] local.INFO: Acknowledgment sent {"connection_id":172421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:27:31] local.INFO: TCP Data received {"connection_id":172420,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:27:31] local.INFO: Processing buffer {"connection_id":172420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7d9a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:27:31] local.INFO: Packet analysis {"connection_id":172420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:27:31] local.INFO: Extracted packet for processing {"connection_id":172420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864506368001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788533529000,"timestamp_ms":1788533529000,"timestamp_seconds":1788533529,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7d9a8"} 
[2026-09-04 20:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-04 20:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864506368001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864506368001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:27:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864506368001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":172420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765082,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:27:31] local.INFO: GPS data processed {"connection_id":172420,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:27:31] local.INFO: Acknowledgment sent {"connection_id":172420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:27:35] local.INFO: TCP Data received {"connection_id":171302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:27:35] local.INFO: Processing buffer {"connection_id":171302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ce7fcd0012ceb0740071a3a58001d01362f..."} 
[2026-09-04 20:27:35] local.INFO: Packet analysis {"connection_id":171302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:27:35] local.INFO: Extracted packet for processing {"connection_id":171302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ce7"} 
[2026-09-04 20:27:35] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":47,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864508672001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788533538000,"timestamp_ms":1788533538000,"timestamp_seconds":1788533538,"priority":1,"record_length":96,"hex_timestamp":"000001a06ce7fcd0"} 
[2026-09-04 20:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-04 20:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864508672001,"66":26039,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864508672001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:27:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:27:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:27:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864508672001,"power":26039,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":171302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:27:35] local.INFO: GPS data processed {"connection_id":171302,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:27:35] local.INFO: Acknowledgment sent {"connection_id":171302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:27:47] local.INFO: TCP Data received {"connection_id":171015,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:27:47] local.INFO: Processing buffer {"connection_id":171015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:27:47] local.INFO: IMEI packet received {"connection_id":171015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":171015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:27:48] local.INFO: TCP Data received {"connection_id":171014,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:27:48] local.INFO: Processing buffer {"connection_id":171014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:27:48] local.INFO: IMEI packet received {"connection_id":171014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":171014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:27:49] local.INFO: TCP Data received {"connection_id":171014,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:27:49] local.INFO: Processing buffer {"connection_id":171014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:27:49] local.INFO: IMEI packet received {"connection_id":171014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":171014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:27:52] local.INFO: TCP Data received {"connection_id":171015,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:27:52] local.INFO: Processing buffer {"connection_id":171015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:27:52] local.INFO: IMEI packet received {"connection_id":171015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":171015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:27:53] local.INFO: TCP Data received {"connection_id":171015,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:27:53] local.INFO: Processing buffer {"connection_id":171015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:27:53] local.INFO: Packet analysis {"connection_id":171015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:27:53] local.INFO: Extracted packet for processing {"connection_id":171015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:27:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864544512001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533678000,"timestamp_ms":1788533678000,"timestamp_seconds":1788533678,"priority":1,"record_length":96,"hex_timestamp":"000001a06cea1fb0"} 
[2026-09-04 20:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864544512001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864544512001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:27:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:27:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864544512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":171015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:27:53] local.INFO: GPS data processed {"connection_id":171015,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:27:53] local.INFO: Acknowledgment sent {"connection_id":171015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:27:53] local.INFO: TCP Data received {"connection_id":171014,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:27:53] local.INFO: Processing buffer {"connection_id":171014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:27:53] local.INFO: IMEI packet received {"connection_id":171014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":171014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:27:55] local.INFO: TCP Data received {"connection_id":171014,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:27:55] local.INFO: Processing buffer {"connection_id":171014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:27:55] local.INFO: Packet analysis {"connection_id":171014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:27:55] local.INFO: Extracted packet for processing {"connection_id":171014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:27:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864583424001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788533830000,"timestamp_ms":1788533830000,"timestamp_seconds":1788533830,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec7170"} 
[2026-09-04 20:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864583424001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864583424001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:27:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:27:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864583424001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":171014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765085,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:27:55] local.INFO: GPS data processed {"connection_id":171014,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:27:55] local.INFO: Acknowledgment sent {"connection_id":171014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:27:58] local.INFO: TCP Data received {"connection_id":172422,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:27:58] local.INFO: Processing buffer {"connection_id":172422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:27:58] local.INFO: IMEI packet received {"connection_id":172422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":172422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:28:03] local.INFO: TCP Data received {"connection_id":172422,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:28:03] local.INFO: Processing buffer {"connection_id":172422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:28:03] local.INFO: IMEI packet received {"connection_id":172422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":172422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:28:05] local.INFO: TCP Data received {"connection_id":172422,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:28:05] local.INFO: Processing buffer {"connection_id":172422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:28:05] local.INFO: Packet analysis {"connection_id":172422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:28:05] local.INFO: Extracted packet for processing {"connection_id":172422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:28:05] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864585728001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788533839000,"timestamp_ms":1788533839000,"timestamp_seconds":1788533839,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec9498"} 
[2026-09-04 20:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 20:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864585728001,"66":25952,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864585728001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:28:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:28:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864585728001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":172422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:28:05] local.INFO: GPS data processed {"connection_id":172422,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:28:05] local.INFO: Acknowledgment sent {"connection_id":172422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:28:24] local.INFO: TCP Data received {"connection_id":171015,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:28:24] local.INFO: Processing buffer {"connection_id":171015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:28:24] local.INFO: Packet analysis {"connection_id":171015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:28:24] local.INFO: Extracted packet for processing {"connection_id":171015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:28:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864544512001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533678000,"timestamp_ms":1788533678000,"timestamp_seconds":1788533678,"priority":1,"record_length":96,"hex_timestamp":"000001a06cea1fb0"} 
[2026-09-04 20:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864544512001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864544512001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:28:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:28:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864544512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":171015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:28:24] local.INFO: GPS data processed {"connection_id":171015,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:28:24] local.INFO: Acknowledgment sent {"connection_id":171015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:28:26] local.INFO: TCP Data received {"connection_id":171014,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:28:26] local.INFO: Processing buffer {"connection_id":171014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:28:26] local.INFO: Packet analysis {"connection_id":171014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:28:26] local.INFO: Extracted packet for processing {"connection_id":171014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:28:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864583424001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788533830000,"timestamp_ms":1788533830000,"timestamp_seconds":1788533830,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec7170"} 
[2026-09-04 20:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864583424001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864583424001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:28:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:28:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864583424001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":171014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:28:26] local.INFO: GPS data processed {"connection_id":171014,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:28:26] local.INFO: Acknowledgment sent {"connection_id":171014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:28:36] local.INFO: TCP Data received {"connection_id":172422,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:28:36] local.INFO: Processing buffer {"connection_id":172422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:28:36] local.INFO: Packet analysis {"connection_id":172422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:28:36] local.INFO: Extracted packet for processing {"connection_id":172422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:28:36] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864585728001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788533839000,"timestamp_ms":1788533839000,"timestamp_seconds":1788533839,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec9498"} 
[2026-09-04 20:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 20:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864585728001,"66":25952,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864585728001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:28:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:28:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864585728001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":172422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:28:37] local.INFO: GPS data processed {"connection_id":172422,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:28:37] local.INFO: Acknowledgment sent {"connection_id":172422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:28:49] local.INFO: TCP Data received {"connection_id":173707,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:28:49] local.INFO: Processing buffer {"connection_id":173707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:28:49] local.INFO: IMEI packet received {"connection_id":173707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":173707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:28:52] local.INFO: TCP Data received {"connection_id":171303,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:28:52] local.INFO: Processing buffer {"connection_id":171303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:28:52] local.INFO: IMEI packet received {"connection_id":171303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":171303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:28:53] local.INFO: TCP Data received {"connection_id":173707,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:28:53] local.INFO: Processing buffer {"connection_id":173707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:28:53] local.INFO: IMEI packet received {"connection_id":173707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":173707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:28:55] local.INFO: TCP Data received {"connection_id":173707,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:28:55] local.INFO: Processing buffer {"connection_id":173707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:28:55] local.INFO: Packet analysis {"connection_id":173707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:28:55] local.INFO: Extracted packet for processing {"connection_id":173707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:28:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864583424001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788533830000,"timestamp_ms":1788533830000,"timestamp_seconds":1788533830,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec7170"} 
[2026-09-04 20:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864583424001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864583424001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:28:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:28:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864583424001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":173707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:28:56] local.INFO: GPS data processed {"connection_id":173707,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:28:56] local.INFO: Acknowledgment sent {"connection_id":173707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:28:57] local.INFO: TCP Data received {"connection_id":171303,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:28:57] local.INFO: Processing buffer {"connection_id":171303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:28:57] local.INFO: IMEI packet received {"connection_id":171303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":171303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:28:58] local.INFO: TCP Data received {"connection_id":171303,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:28:58] local.INFO: Processing buffer {"connection_id":171303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:28:58] local.INFO: Packet analysis {"connection_id":171303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:28:58] local.INFO: Extracted packet for processing {"connection_id":171303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864544512001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788533678000,"timestamp_ms":1788533678000,"timestamp_seconds":1788533678,"priority":1,"record_length":96,"hex_timestamp":"000001a06cea1fb0"} 
[2026-09-04 20:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864544512001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864544512001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:28:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864544512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":171303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:28:58] local.INFO: GPS data processed {"connection_id":171303,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:28:58] local.INFO: Acknowledgment sent {"connection_id":171303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:28:59] local.INFO: TCP Data received {"connection_id":171304,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:28:59] local.INFO: Processing buffer {"connection_id":171304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:28:59] local.INFO: IMEI packet received {"connection_id":171304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":171304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:29:03] local.INFO: TCP Data received {"connection_id":171303,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:29:03] local.INFO: Processing buffer {"connection_id":171303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:29:03] local.INFO: Packet analysis {"connection_id":171303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:29:03] local.INFO: Extracted packet for processing {"connection_id":171303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864544512001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788533678000,"timestamp_ms":1788533678000,"timestamp_seconds":1788533678,"priority":1,"record_length":96,"hex_timestamp":"000001a06cea1fb0"} 
[2026-09-04 20:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864544512001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864544512001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:29:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864544512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":171303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:29:03] local.INFO: GPS data processed {"connection_id":171303,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:29:03] local.INFO: Acknowledgment sent {"connection_id":171303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:29:03] local.INFO: TCP Data received {"connection_id":171304,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:29:03] local.INFO: Processing buffer {"connection_id":171304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:29:03] local.INFO: IMEI packet received {"connection_id":171304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":171304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:29:05] local.INFO: TCP Data received {"connection_id":171304,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:29:05] local.INFO: Processing buffer {"connection_id":171304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:29:05] local.INFO: Packet analysis {"connection_id":171304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:29:05] local.INFO: Extracted packet for processing {"connection_id":171304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:29:05] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864585728001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788533839000,"timestamp_ms":1788533839000,"timestamp_seconds":1788533839,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec9498"} 
[2026-09-04 20:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 20:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864585728001,"66":25952,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864585728001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:29:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:29:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864585728001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":171304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:29:05] local.INFO: GPS data processed {"connection_id":171304,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:29:05] local.INFO: Acknowledgment sent {"connection_id":171304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:29:27] local.INFO: TCP Data received {"connection_id":173707,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:29:27] local.INFO: Processing buffer {"connection_id":173707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:29:27] local.INFO: Packet analysis {"connection_id":173707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:29:27] local.INFO: Extracted packet for processing {"connection_id":173707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:29:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864583424001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788533830000,"timestamp_ms":1788533830000,"timestamp_seconds":1788533830,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec7170"} 
[2026-09-04 20:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864583424001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864583424001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:29:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:29:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864583424001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":173707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765094,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:29:27] local.INFO: GPS data processed {"connection_id":173707,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:29:27] local.INFO: Acknowledgment sent {"connection_id":173707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:29:36] local.INFO: TCP Data received {"connection_id":171304,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:29:36] local.INFO: Processing buffer {"connection_id":171304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:29:36] local.INFO: Packet analysis {"connection_id":171304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:29:36] local.INFO: Extracted packet for processing {"connection_id":171304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:29:36] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864585728001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788533839000,"timestamp_ms":1788533839000,"timestamp_seconds":1788533839,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec9498"} 
[2026-09-04 20:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 20:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864585728001,"66":25952,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864585728001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:29:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:29:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864585728001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":171304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:29:37] local.INFO: GPS data processed {"connection_id":171304,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:29:37] local.INFO: Acknowledgment sent {"connection_id":171304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:29:47] local.INFO: TCP Data received {"connection_id":171016,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:29:47] local.INFO: Processing buffer {"connection_id":171016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:29:47] local.INFO: IMEI packet received {"connection_id":171016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":171016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:29:48] local.INFO: TCP Data received {"connection_id":171305,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:29:48] local.INFO: Processing buffer {"connection_id":171305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:29:48] local.INFO: IMEI packet received {"connection_id":171305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":171305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:29:52] local.INFO: TCP Data received {"connection_id":171016,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:29:52] local.INFO: Processing buffer {"connection_id":171016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:29:52] local.INFO: IMEI packet received {"connection_id":171016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":171016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:29:53] local.INFO: TCP Data received {"connection_id":171016,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:29:53] local.INFO: Processing buffer {"connection_id":171016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cea1fb0012d1965c0071fef80004001152c..."} 
[2026-09-04 20:29:53] local.INFO: Packet analysis {"connection_id":171016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:29:53] local.INFO: Extracted packet for processing {"connection_id":171016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cea"} 
[2026-09-04 20:29:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864544512001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533678000,"timestamp_ms":1788533678000,"timestamp_seconds":1788533678,"priority":1,"record_length":96,"hex_timestamp":"000001a06cea1fb0"} 
[2026-09-04 20:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864544512001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864544512001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:29:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:29:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864544512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":171016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:29:53] local.INFO: GPS data processed {"connection_id":171016,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:29:53] local.INFO: Acknowledgment sent {"connection_id":171016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:29:54] local.INFO: TCP Data received {"connection_id":171305,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:29:54] local.INFO: Processing buffer {"connection_id":171305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:29:54] local.INFO: IMEI packet received {"connection_id":171305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":171305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:29:55] local.INFO: TCP Data received {"connection_id":171305,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:29:55] local.INFO: Processing buffer {"connection_id":171305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:29:55] local.INFO: Packet analysis {"connection_id":171305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:29:55] local.INFO: Extracted packet for processing {"connection_id":171305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:29:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864583424001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788533830000,"timestamp_ms":1788533830000,"timestamp_seconds":1788533830,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec7170"} 
[2026-09-04 20:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864583424001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864583424001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:29:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:29:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864583424001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":171305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:29:55] local.INFO: GPS data processed {"connection_id":171305,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:29:55] local.INFO: Acknowledgment sent {"connection_id":171305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:29:58] local.INFO: TCP Data received {"connection_id":171017,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:29:58] local.INFO: Processing buffer {"connection_id":171017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:29:58] local.INFO: IMEI packet received {"connection_id":171017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":171017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:30:03] local.INFO: TCP Data received {"connection_id":171017,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:30:03] local.INFO: Processing buffer {"connection_id":171017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:30:03] local.INFO: IMEI packet received {"connection_id":171017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":171017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:30:05] local.INFO: TCP Data received {"connection_id":171017,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:30:05] local.INFO: Processing buffer {"connection_id":171017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:30:05] local.INFO: Packet analysis {"connection_id":171017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:30:05] local.INFO: Extracted packet for processing {"connection_id":171017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:30:05] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864585728001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788533839000,"timestamp_ms":1788533839000,"timestamp_seconds":1788533839,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec9498"} 
[2026-09-04 20:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 20:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864585728001,"66":25952,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864585728001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:30:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864585728001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":171017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:30:05] local.INFO: GPS data processed {"connection_id":171017,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:30:05] local.INFO: Acknowledgment sent {"connection_id":171017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:30:24] local.INFO: TCP Data received {"connection_id":171016,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:30:24] local.INFO: Processing buffer {"connection_id":171016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:30:24] local.INFO: Packet analysis {"connection_id":171016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:30:24] local.INFO: Extracted packet for processing {"connection_id":171016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864621568001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533979000,"timestamp_ms":1788533979000,"timestamp_seconds":1788533979,"priority":1,"record_length":96,"hex_timestamp":"000001a06ceeb778"} 
[2026-09-04 20:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864621568001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864621568001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:30:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864621568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":171016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:30:24] local.INFO: GPS data processed {"connection_id":171016,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:30:24] local.INFO: Acknowledgment sent {"connection_id":171016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:30:27] local.INFO: TCP Data received {"connection_id":171305,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:30:27] local.INFO: Processing buffer {"connection_id":171305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:30:27] local.INFO: Packet analysis {"connection_id":171305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:30:27] local.INFO: Extracted packet for processing {"connection_id":171305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:30:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864583424001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788533830000,"timestamp_ms":1788533830000,"timestamp_seconds":1788533830,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec7170"} 
[2026-09-04 20:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864583424001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864583424001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:30:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:30:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864583424001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":171305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765100,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:30:27] local.INFO: GPS data processed {"connection_id":171305,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:30:27] local.INFO: Acknowledgment sent {"connection_id":171305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:30:36] local.INFO: TCP Data received {"connection_id":171017,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:30:36] local.INFO: Processing buffer {"connection_id":171017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:30:36] local.INFO: Packet analysis {"connection_id":171017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:30:36] local.INFO: Extracted packet for processing {"connection_id":171017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:30:36] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864585728001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788533839000,"timestamp_ms":1788533839000,"timestamp_seconds":1788533839,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec9498"} 
[2026-09-04 20:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 20:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864585728001,"66":25952,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864585728001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:30:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:30:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864585728001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":171017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:30:36] local.INFO: GPS data processed {"connection_id":171017,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:30:36] local.INFO: Acknowledgment sent {"connection_id":171017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:30:47] local.INFO: TCP Data received {"connection_id":171018,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:30:47] local.INFO: Processing buffer {"connection_id":171018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:30:47] local.INFO: IMEI packet received {"connection_id":171018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":171018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:30:48] local.INFO: TCP Data received {"connection_id":173708,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:30:48] local.INFO: Processing buffer {"connection_id":173708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:30:48] local.INFO: IMEI packet received {"connection_id":173708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":173708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:30:52] local.INFO: TCP Data received {"connection_id":171018,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:30:52] local.INFO: Processing buffer {"connection_id":171018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:30:52] local.INFO: IMEI packet received {"connection_id":171018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":171018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:30:53] local.INFO: TCP Data received {"connection_id":171018,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:30:53] local.INFO: Processing buffer {"connection_id":171018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:30:53] local.INFO: Packet analysis {"connection_id":171018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:30:53] local.INFO: Extracted packet for processing {"connection_id":171018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:30:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864621568001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533979000,"timestamp_ms":1788533979000,"timestamp_seconds":1788533979,"priority":1,"record_length":96,"hex_timestamp":"000001a06ceeb778"} 
[2026-09-04 20:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864621568001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864621568001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:30:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:30:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864621568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":171018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:30:53] local.INFO: GPS data processed {"connection_id":171018,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:30:53] local.INFO: Acknowledgment sent {"connection_id":171018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:30:53] local.INFO: TCP Data received {"connection_id":173708,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:30:53] local.INFO: Processing buffer {"connection_id":173708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:30:53] local.INFO: IMEI packet received {"connection_id":173708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":173708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:30:55] local.INFO: TCP Data received {"connection_id":173708,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:30:55] local.INFO: Processing buffer {"connection_id":173708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:30:55] local.INFO: Packet analysis {"connection_id":173708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:30:55] local.INFO: Extracted packet for processing {"connection_id":173708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:30:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864583424001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788533830000,"timestamp_ms":1788533830000,"timestamp_seconds":1788533830,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec7170"} 
[2026-09-04 20:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864583424001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864583424001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:30:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:30:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864583424001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":173708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:30:55] local.INFO: GPS data processed {"connection_id":173708,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:30:55] local.INFO: Acknowledgment sent {"connection_id":173708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:30:58] local.INFO: TCP Data received {"connection_id":172423,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:30:58] local.INFO: Processing buffer {"connection_id":172423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:30:58] local.INFO: IMEI packet received {"connection_id":172423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":172423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:31:03] local.INFO: TCP Data received {"connection_id":172423,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:31:03] local.INFO: Processing buffer {"connection_id":172423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:31:03] local.INFO: IMEI packet received {"connection_id":172423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":172423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:31:05] local.INFO: TCP Data received {"connection_id":172423,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:31:05] local.INFO: Processing buffer {"connection_id":172423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:31:05] local.INFO: Packet analysis {"connection_id":172423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:31:05] local.INFO: Extracted packet for processing {"connection_id":172423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:31:05] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864585728001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788533839000,"timestamp_ms":1788533839000,"timestamp_seconds":1788533839,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec9498"} 
[2026-09-04 20:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 20:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864585728001,"66":25952,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864585728001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:31:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:31:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864585728001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":172423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:31:05] local.INFO: GPS data processed {"connection_id":172423,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:31:05] local.INFO: Acknowledgment sent {"connection_id":172423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:31:24] local.INFO: TCP Data received {"connection_id":171018,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:31:24] local.INFO: Processing buffer {"connection_id":171018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:31:24] local.INFO: Packet analysis {"connection_id":171018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:31:24] local.INFO: Extracted packet for processing {"connection_id":171018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864621568001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533979000,"timestamp_ms":1788533979000,"timestamp_seconds":1788533979,"priority":1,"record_length":96,"hex_timestamp":"000001a06ceeb778"} 
[2026-09-04 20:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864621568001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864621568001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:31:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:31:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864621568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":171018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:31:24] local.INFO: GPS data processed {"connection_id":171018,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:31:24] local.INFO: Acknowledgment sent {"connection_id":171018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:31:27] local.INFO: TCP Data received {"connection_id":173708,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:31:27] local.INFO: Processing buffer {"connection_id":173708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:31:27] local.INFO: Packet analysis {"connection_id":173708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:31:27] local.INFO: Extracted packet for processing {"connection_id":173708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:31:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864583424001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788533830000,"timestamp_ms":1788533830000,"timestamp_seconds":1788533830,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec7170"} 
[2026-09-04 20:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864583424001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864583424001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:31:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:31:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864583424001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":173708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765106,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:31:27] local.INFO: GPS data processed {"connection_id":173708,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:31:27] local.INFO: Acknowledgment sent {"connection_id":173708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:31:37] local.INFO: TCP Data received {"connection_id":172423,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:31:37] local.INFO: Processing buffer {"connection_id":172423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:31:37] local.INFO: Packet analysis {"connection_id":172423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:31:37] local.INFO: Extracted packet for processing {"connection_id":172423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:31:37] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864585728001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788533839000,"timestamp_ms":1788533839000,"timestamp_seconds":1788533839,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec9498"} 
[2026-09-04 20:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 20:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864585728001,"66":25952,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864585728001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:31:37] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:31:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864585728001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":172423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:31:37] local.INFO: GPS data processed {"connection_id":172423,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:31:37] local.INFO: Acknowledgment sent {"connection_id":172423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:31:48] local.INFO: TCP Data received {"connection_id":172424,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:31:48] local.INFO: Processing buffer {"connection_id":172424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:31:48] local.INFO: IMEI packet received {"connection_id":172424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":172424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:31:52] local.INFO: TCP Data received {"connection_id":172424,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:31:52] local.INFO: Processing buffer {"connection_id":172424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:31:52] local.INFO: IMEI packet received {"connection_id":172424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":172424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:31:53] local.INFO: TCP Data received {"connection_id":172424,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:31:53] local.INFO: Processing buffer {"connection_id":172424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:31:53] local.INFO: Packet analysis {"connection_id":172424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:31:53] local.INFO: Extracted packet for processing {"connection_id":172424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:31:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864621568001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533979000,"timestamp_ms":1788533979000,"timestamp_seconds":1788533979,"priority":1,"record_length":96,"hex_timestamp":"000001a06ceeb778"} 
[2026-09-04 20:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864621568001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864621568001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:31:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:31:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864621568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":172424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:31:53] local.INFO: GPS data processed {"connection_id":172424,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:31:53] local.INFO: Acknowledgment sent {"connection_id":172424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:31:53] local.INFO: TCP Data received {"connection_id":172425,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:31:53] local.INFO: Processing buffer {"connection_id":172425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:31:53] local.INFO: IMEI packet received {"connection_id":172425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":172425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:31:58] local.INFO: TCP Data received {"connection_id":173709,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:31:58] local.INFO: Processing buffer {"connection_id":173709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:31:58] local.INFO: IMEI packet received {"connection_id":173709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":173709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:31:58] local.INFO: TCP Data received {"connection_id":172425,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:31:58] local.INFO: Processing buffer {"connection_id":172425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:31:58] local.INFO: IMEI packet received {"connection_id":172425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":172425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:32:00] local.INFO: TCP Data received {"connection_id":172425,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:32:00] local.INFO: Processing buffer {"connection_id":172425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:32:00] local.INFO: Packet analysis {"connection_id":172425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:32:00] local.INFO: Extracted packet for processing {"connection_id":172425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:32:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864583424001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788533830000,"timestamp_ms":1788533830000,"timestamp_seconds":1788533830,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec7170"} 
[2026-09-04 20:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864583424001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864583424001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:32:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:32:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864583424001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":172425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:32:00] local.INFO: GPS data processed {"connection_id":172425,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:32:00] local.INFO: Acknowledgment sent {"connection_id":172425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:32:03] local.INFO: TCP Data received {"connection_id":173709,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:32:03] local.INFO: Processing buffer {"connection_id":173709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:32:03] local.INFO: IMEI packet received {"connection_id":173709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":173709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:32:04] local.INFO: TCP Data received {"connection_id":172425,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:32:04] local.INFO: Processing buffer {"connection_id":172425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec7170012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:32:04] local.INFO: Packet analysis {"connection_id":172425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:32:04] local.INFO: Extracted packet for processing {"connection_id":172425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864583424001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788533830000,"timestamp_ms":1788533830000,"timestamp_seconds":1788533830,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec7170"} 
[2026-09-04 20:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864583424001,"66":25495,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864583424001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:32:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864583424001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":172425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765110,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:32:04] local.INFO: GPS data processed {"connection_id":172425,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:32:04] local.INFO: Acknowledgment sent {"connection_id":172425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:32:05] local.INFO: TCP Data received {"connection_id":173709,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:32:05] local.INFO: Processing buffer {"connection_id":173709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:32:05] local.INFO: Packet analysis {"connection_id":173709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:32:05] local.INFO: Extracted packet for processing {"connection_id":173709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864585728001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788533839000,"timestamp_ms":1788533839000,"timestamp_seconds":1788533839,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec9498"} 
[2026-09-04 20:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 20:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864585728001,"66":25952,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864585728001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:32:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:32:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864585728001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":173709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:32:05] local.INFO: GPS data processed {"connection_id":173709,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:32:05] local.INFO: Acknowledgment sent {"connection_id":173709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:32:24] local.INFO: TCP Data received {"connection_id":172424,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:32:24] local.INFO: Processing buffer {"connection_id":172424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:32:24] local.INFO: Packet analysis {"connection_id":172424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:32:24] local.INFO: Extracted packet for processing {"connection_id":172424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:32:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864621568001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533979000,"timestamp_ms":1788533979000,"timestamp_seconds":1788533979,"priority":1,"record_length":96,"hex_timestamp":"000001a06ceeb778"} 
[2026-09-04 20:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864621568001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864621568001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:32:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864621568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":172424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:32:24] local.INFO: GPS data processed {"connection_id":172424,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:32:24] local.INFO: Acknowledgment sent {"connection_id":172424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:32:36] local.INFO: TCP Data received {"connection_id":173709,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:32:36] local.INFO: Processing buffer {"connection_id":173709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cec9498012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:32:36] local.INFO: Packet analysis {"connection_id":173709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:32:36] local.INFO: Extracted packet for processing {"connection_id":173709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cec"} 
[2026-09-04 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864585728001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788533839000,"timestamp_ms":1788533839000,"timestamp_seconds":1788533839,"priority":1,"record_length":96,"hex_timestamp":"000001a06cec9498"} 
[2026-09-04 20:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-04 20:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864585728001,"66":25952,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864585728001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:32:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:32:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864585728001,"power":25952,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":173709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:32:36] local.INFO: GPS data processed {"connection_id":173709,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:32:36] local.INFO: Acknowledgment sent {"connection_id":173709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:32:47] local.INFO: TCP Data received {"connection_id":171307,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:32:47] local.INFO: Processing buffer {"connection_id":171307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:32:47] local.INFO: IMEI packet received {"connection_id":171307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":171307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:32:48] local.INFO: TCP Data received {"connection_id":171306,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:32:48] local.INFO: Processing buffer {"connection_id":171306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:32:48] local.INFO: IMEI packet received {"connection_id":171306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":171306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:32:49] local.INFO: TCP Data received {"connection_id":171306,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:32:49] local.INFO: Processing buffer {"connection_id":171306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:32:49] local.INFO: IMEI packet received {"connection_id":171306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":171306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:32:52] local.INFO: TCP Data received {"connection_id":171307,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:32:52] local.INFO: Processing buffer {"connection_id":171307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:32:52] local.INFO: IMEI packet received {"connection_id":171307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":171307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:32:53] local.INFO: TCP Data received {"connection_id":171307,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:32:53] local.INFO: Processing buffer {"connection_id":171307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:32:53] local.INFO: Packet analysis {"connection_id":171307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:32:53] local.INFO: Extracted packet for processing {"connection_id":171307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:32:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864621568001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533979000,"timestamp_ms":1788533979000,"timestamp_seconds":1788533979,"priority":1,"record_length":96,"hex_timestamp":"000001a06ceeb778"} 
[2026-09-04 20:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864621568001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864621568001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:32:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:32:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864621568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":171307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:32:53] local.INFO: GPS data processed {"connection_id":171307,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:32:53] local.INFO: Acknowledgment sent {"connection_id":171307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:32:53] local.INFO: TCP Data received {"connection_id":171306,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:32:53] local.INFO: Processing buffer {"connection_id":171306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:32:53] local.INFO: IMEI packet received {"connection_id":171306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":171306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:32:55] local.INFO: TCP Data received {"connection_id":171306,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:32:55] local.INFO: Processing buffer {"connection_id":171306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:32:55] local.INFO: Packet analysis {"connection_id":171306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:32:55] local.INFO: Extracted packet for processing {"connection_id":171306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:32:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864660480001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788534131000,"timestamp_ms":1788534131000,"timestamp_seconds":1788534131,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf10938"} 
[2026-09-04 20:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864660480001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864660480001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:32:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864660480001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":171306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:32:55] local.INFO: GPS data processed {"connection_id":171306,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:32:55] local.INFO: Acknowledgment sent {"connection_id":171306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:33:03] local.INFO: TCP Data received {"connection_id":171019,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:33:03] local.INFO: Processing buffer {"connection_id":171019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:33:03] local.INFO: IMEI packet received {"connection_id":171019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":171019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:33:08] local.INFO: TCP Data received {"connection_id":171019,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:33:08] local.INFO: Processing buffer {"connection_id":171019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:33:08] local.INFO: IMEI packet received {"connection_id":171019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":171019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:33:10] local.INFO: TCP Data received {"connection_id":171019,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:33:10] local.INFO: Processing buffer {"connection_id":171019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:33:10] local.INFO: Packet analysis {"connection_id":171019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:33:10] local.INFO: Extracted packet for processing {"connection_id":171019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:33:10] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864662784001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788534140000,"timestamp_ms":1788534140000,"timestamp_seconds":1788534140,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf12c60"} 
[2026-09-04 20:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 20:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864662784001,"66":25908,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864662784001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:33:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864662784001,"power":25908,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":171019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:33:10] local.INFO: GPS data processed {"connection_id":171019,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:33:10] local.INFO: Acknowledgment sent {"connection_id":171019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:33:14] local.INFO: TCP Data received {"connection_id":171019,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:33:14] local.INFO: Processing buffer {"connection_id":171019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:33:14] local.INFO: Packet analysis {"connection_id":171019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:33:14] local.INFO: Extracted packet for processing {"connection_id":171019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:33:14] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864662784001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788534140000,"timestamp_ms":1788534140000,"timestamp_seconds":1788534140,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf12c60"} 
[2026-09-04 20:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 20:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864662784001,"66":25908,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864662784001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:33:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:33:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864662784001,"power":25908,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":171019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:33:14] local.INFO: GPS data processed {"connection_id":171019,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:33:14] local.INFO: Acknowledgment sent {"connection_id":171019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:33:24] local.INFO: TCP Data received {"connection_id":171307,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:33:24] local.INFO: Processing buffer {"connection_id":171307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:33:24] local.INFO: Packet analysis {"connection_id":171307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:33:24] local.INFO: Extracted packet for processing {"connection_id":171307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:33:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864621568001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533979000,"timestamp_ms":1788533979000,"timestamp_seconds":1788533979,"priority":1,"record_length":96,"hex_timestamp":"000001a06ceeb778"} 
[2026-09-04 20:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864621568001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864621568001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:33:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:33:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864621568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":171307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:33:24] local.INFO: GPS data processed {"connection_id":171307,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:33:24] local.INFO: Acknowledgment sent {"connection_id":171307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:33:27] local.INFO: TCP Data received {"connection_id":171306,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:33:27] local.INFO: Processing buffer {"connection_id":171306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:33:27] local.INFO: Packet analysis {"connection_id":171306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:33:27] local.INFO: Extracted packet for processing {"connection_id":171306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:33:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864660480001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788534131000,"timestamp_ms":1788534131000,"timestamp_seconds":1788534131,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf10938"} 
[2026-09-04 20:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864660480001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864660480001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:33:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:33:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864660480001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":171306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:33:27] local.INFO: GPS data processed {"connection_id":171306,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:33:27] local.INFO: Acknowledgment sent {"connection_id":171306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:33:47] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:33:47] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:33:47] local.INFO: IMEI packet received {"connection_id":173710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":173710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:33:48] local.INFO: TCP Data received {"connection_id":172426,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:33:48] local.INFO: Processing buffer {"connection_id":172426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:33:48] local.INFO: IMEI packet received {"connection_id":172426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":172426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:33:52] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:33:52] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:33:52] local.INFO: IMEI packet received {"connection_id":173710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":173710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:33:53] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:33:53] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:33:53] local.INFO: Packet analysis {"connection_id":173710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:33:53] local.INFO: Extracted packet for processing {"connection_id":173710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:33:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864621568001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788533979000,"timestamp_ms":1788533979000,"timestamp_seconds":1788533979,"priority":1,"record_length":96,"hex_timestamp":"000001a06ceeb778"} 
[2026-09-04 20:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864621568001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864621568001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:33:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:33:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864621568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":173710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:33:53] local.INFO: GPS data processed {"connection_id":173710,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:33:53] local.INFO: Acknowledgment sent {"connection_id":173710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:33:53] local.INFO: TCP Data received {"connection_id":172426,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:33:53] local.INFO: Processing buffer {"connection_id":172426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:33:53] local.INFO: IMEI packet received {"connection_id":172426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":172426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:33:55] local.INFO: TCP Data received {"connection_id":172426,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:33:55] local.INFO: Processing buffer {"connection_id":172426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:33:55] local.INFO: Packet analysis {"connection_id":172426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:33:55] local.INFO: Extracted packet for processing {"connection_id":172426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:33:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864660480001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788534131000,"timestamp_ms":1788534131000,"timestamp_seconds":1788534131,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf10938"} 
[2026-09-04 20:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864660480001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864660480001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:33:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864660480001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":172426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:33:55] local.INFO: GPS data processed {"connection_id":172426,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:33:55] local.INFO: Acknowledgment sent {"connection_id":172426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:33:58] local.INFO: TCP Data received {"connection_id":171020,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:33:58] local.INFO: Processing buffer {"connection_id":171020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:33:58] local.INFO: IMEI packet received {"connection_id":171020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":171020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:34:03] local.INFO: TCP Data received {"connection_id":171020,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:34:03] local.INFO: Processing buffer {"connection_id":171020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:34:03] local.INFO: IMEI packet received {"connection_id":171020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":171020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:34:05] local.INFO: TCP Data received {"connection_id":171020,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:34:05] local.INFO: Processing buffer {"connection_id":171020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:34:05] local.INFO: Packet analysis {"connection_id":171020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:34:05] local.INFO: Extracted packet for processing {"connection_id":171020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:34:05] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864662784001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788534140000,"timestamp_ms":1788534140000,"timestamp_seconds":1788534140,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf12c60"} 
[2026-09-04 20:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 20:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864662784001,"66":25908,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864662784001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:34:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:34:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864662784001,"power":25908,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":171020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:34:05] local.INFO: GPS data processed {"connection_id":171020,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:34:05] local.INFO: Acknowledgment sent {"connection_id":171020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:34:24] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:34:24] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:34:24] local.INFO: Packet analysis {"connection_id":173710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:34:24] local.INFO: Extracted packet for processing {"connection_id":173710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:34:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864621568001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788533979000,"timestamp_ms":1788533979000,"timestamp_seconds":1788533979,"priority":1,"record_length":96,"hex_timestamp":"000001a06ceeb778"} 
[2026-09-04 20:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864621568001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864621568001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:34:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:34:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864621568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":173710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:34:24] local.INFO: GPS data processed {"connection_id":173710,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:34:24] local.INFO: Acknowledgment sent {"connection_id":173710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:34:27] local.INFO: TCP Data received {"connection_id":172426,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:34:27] local.INFO: Processing buffer {"connection_id":172426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:34:27] local.INFO: Packet analysis {"connection_id":172426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:34:27] local.INFO: Extracted packet for processing {"connection_id":172426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:34:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864660480001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788534131000,"timestamp_ms":1788534131000,"timestamp_seconds":1788534131,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf10938"} 
[2026-09-04 20:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864660480001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864660480001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:34:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864660480001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":172426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765124,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:34:27] local.INFO: GPS data processed {"connection_id":172426,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:34:27] local.INFO: Acknowledgment sent {"connection_id":172426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:34:36] local.INFO: TCP Data received {"connection_id":171020,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:34:36] local.INFO: Processing buffer {"connection_id":171020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:34:36] local.INFO: Packet analysis {"connection_id":171020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:34:36] local.INFO: Extracted packet for processing {"connection_id":171020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:34:36] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864662784001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788534140000,"timestamp_ms":1788534140000,"timestamp_seconds":1788534140,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf12c60"} 
[2026-09-04 20:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 20:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864662784001,"66":25908,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864662784001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:34:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:34:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864662784001,"power":25908,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":171020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:34:36] local.INFO: GPS data processed {"connection_id":171020,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:34:36] local.INFO: Acknowledgment sent {"connection_id":171020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:34:52] local.INFO: TCP Data received {"connection_id":171021,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:34:52] local.INFO: Processing buffer {"connection_id":171021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:34:52] local.INFO: IMEI packet received {"connection_id":171021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":171021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:34:53] local.INFO: TCP Data received {"connection_id":171022,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:34:53] local.INFO: Processing buffer {"connection_id":171022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:34:53] local.INFO: IMEI packet received {"connection_id":171022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":171022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:34:57] local.INFO: TCP Data received {"connection_id":171021,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:34:57] local.INFO: Processing buffer {"connection_id":171021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:34:57] local.INFO: IMEI packet received {"connection_id":171021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":171021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:34:58] local.INFO: TCP Data received {"connection_id":171021,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:34:58] local.INFO: Processing buffer {"connection_id":171021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:34:58] local.INFO: Packet analysis {"connection_id":171021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:34:58] local.INFO: Extracted packet for processing {"connection_id":171021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864621568001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788533979000,"timestamp_ms":1788533979000,"timestamp_seconds":1788533979,"priority":1,"record_length":96,"hex_timestamp":"000001a06ceeb778"} 
[2026-09-04 20:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864621568001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864621568001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:34:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864621568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":171021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:34:58] local.INFO: GPS data processed {"connection_id":171021,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:34:58] local.INFO: Acknowledgment sent {"connection_id":171021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:34:58] local.INFO: TCP Data received {"connection_id":171022,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:34:58] local.INFO: Processing buffer {"connection_id":171022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:34:58] local.INFO: IMEI packet received {"connection_id":171022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":171022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:34:59] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:34:59] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:34:59] local.INFO: IMEI packet received {"connection_id":173711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":173711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:35:00] local.INFO: TCP Data received {"connection_id":171022,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:35:00] local.INFO: Processing buffer {"connection_id":171022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:35:00] local.INFO: Packet analysis {"connection_id":171022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:35:00] local.INFO: Extracted packet for processing {"connection_id":171022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:35:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864660480001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788534131000,"timestamp_ms":1788534131000,"timestamp_seconds":1788534131,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf10938"} 
[2026-09-04 20:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864660480001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864660480001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:35:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:35:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864660480001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":171022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:35:00] local.INFO: GPS data processed {"connection_id":171022,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:35:00] local.INFO: Acknowledgment sent {"connection_id":171022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:35:03] local.INFO: TCP Data received {"connection_id":171021,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:35:03] local.INFO: Processing buffer {"connection_id":171021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ceeb778012d1965c0071fef80004001152c..."} 
[2026-09-04 20:35:03] local.INFO: Packet analysis {"connection_id":171021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:35:03] local.INFO: Extracted packet for processing {"connection_id":171021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cee"} 
[2026-09-04 20:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864621568001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788533979000,"timestamp_ms":1788533979000,"timestamp_seconds":1788533979,"priority":1,"record_length":96,"hex_timestamp":"000001a06ceeb778"} 
[2026-09-04 20:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864621568001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864621568001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:35:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864621568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":171021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:35:03] local.INFO: GPS data processed {"connection_id":171021,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:35:03] local.INFO: Acknowledgment sent {"connection_id":171021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:35:03] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:35:03] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:35:03] local.INFO: IMEI packet received {"connection_id":173711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":173711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:35:04] local.INFO: TCP Data received {"connection_id":171022,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:35:04] local.INFO: Processing buffer {"connection_id":171022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:35:04] local.INFO: Packet analysis {"connection_id":171022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:35:04] local.INFO: Extracted packet for processing {"connection_id":171022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864660480001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788534131000,"timestamp_ms":1788534131000,"timestamp_seconds":1788534131,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf10938"} 
[2026-09-04 20:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864660480001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864660480001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:35:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:35:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864660480001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":171022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765129,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:35:04] local.INFO: GPS data processed {"connection_id":171022,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:35:04] local.INFO: Acknowledgment sent {"connection_id":171022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:35:04] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:35:04] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:35:04] local.INFO: Packet analysis {"connection_id":173711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:35:04] local.INFO: Extracted packet for processing {"connection_id":173711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:35:04] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864662784001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788534140000,"timestamp_ms":1788534140000,"timestamp_seconds":1788534140,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf12c60"} 
[2026-09-04 20:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 20:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864662784001,"66":25908,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864662784001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:35:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:35:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:35:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864662784001,"power":25908,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":173711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:35:04] local.INFO: GPS data processed {"connection_id":173711,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:35:04] local.INFO: Acknowledgment sent {"connection_id":173711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:35:35] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:35:35] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:35:35] local.INFO: Packet analysis {"connection_id":173711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:35:35] local.INFO: Extracted packet for processing {"connection_id":173711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:35:35] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864662784001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788534140000,"timestamp_ms":1788534140000,"timestamp_seconds":1788534140,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf12c60"} 
[2026-09-04 20:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 20:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864662784001,"66":25908,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864662784001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:35:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:35:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864662784001,"power":25908,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":173711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:35:35] local.INFO: GPS data processed {"connection_id":173711,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:35:35] local.INFO: Acknowledgment sent {"connection_id":173711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:35:47] local.INFO: TCP Data received {"connection_id":172427,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:35:47] local.INFO: Processing buffer {"connection_id":172427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:35:47] local.INFO: IMEI packet received {"connection_id":172427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":172427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:35:48] local.INFO: TCP Data received {"connection_id":171308,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:35:48] local.INFO: Processing buffer {"connection_id":171308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:35:48] local.INFO: IMEI packet received {"connection_id":171308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":171308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:35:52] local.INFO: TCP Data received {"connection_id":172427,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:35:52] local.INFO: Processing buffer {"connection_id":172427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:35:52] local.INFO: IMEI packet received {"connection_id":172427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":172427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:35:53] local.INFO: TCP Data received {"connection_id":172427,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:35:53] local.INFO: Processing buffer {"connection_id":172427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:35:53] local.INFO: Packet analysis {"connection_id":172427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:35:53] local.INFO: Extracted packet for processing {"connection_id":172427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:35:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864698624001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788534280000,"timestamp_ms":1788534280000,"timestamp_seconds":1788534280,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf34f40"} 
[2026-09-04 20:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864698624001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864698624001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:35:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:35:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864698624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":172427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:35:53] local.INFO: GPS data processed {"connection_id":172427,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:35:53] local.INFO: Acknowledgment sent {"connection_id":172427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:35:54] local.INFO: TCP Data received {"connection_id":171308,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:35:54] local.INFO: Processing buffer {"connection_id":171308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:35:54] local.INFO: IMEI packet received {"connection_id":171308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":171308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:35:55] local.INFO: TCP Data received {"connection_id":171308,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:35:55] local.INFO: Processing buffer {"connection_id":171308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:35:55] local.INFO: Packet analysis {"connection_id":171308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:35:55] local.INFO: Extracted packet for processing {"connection_id":171308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864660480001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788534131000,"timestamp_ms":1788534131000,"timestamp_seconds":1788534131,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf10938"} 
[2026-09-04 20:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864660480001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864660480001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:35:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864660480001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":171308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:35:55] local.INFO: GPS data processed {"connection_id":171308,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:35:55] local.INFO: Acknowledgment sent {"connection_id":171308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:35:58] local.INFO: TCP Data received {"connection_id":171309,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:35:58] local.INFO: Processing buffer {"connection_id":171309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:35:58] local.INFO: IMEI packet received {"connection_id":171309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":171309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:36:00] local.INFO: TCP Data received {"connection_id":171308,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:36:00] local.INFO: Processing buffer {"connection_id":171308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:36:00] local.INFO: Packet analysis {"connection_id":171308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:36:00] local.INFO: Extracted packet for processing {"connection_id":171308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:36:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864660480001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788534131000,"timestamp_ms":1788534131000,"timestamp_seconds":1788534131,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf10938"} 
[2026-09-04 20:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864660480001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864660480001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:36:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:36:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864660480001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":171308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765134,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:36:00] local.INFO: GPS data processed {"connection_id":171308,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:36:00] local.INFO: Acknowledgment sent {"connection_id":171308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:36:03] local.INFO: TCP Data received {"connection_id":171309,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:36:03] local.INFO: Processing buffer {"connection_id":171309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:36:03] local.INFO: IMEI packet received {"connection_id":171309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":171309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:36:06] local.INFO: TCP Data received {"connection_id":171309,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:36:06] local.INFO: Processing buffer {"connection_id":171309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:36:06] local.INFO: Packet analysis {"connection_id":171309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:36:06] local.INFO: Extracted packet for processing {"connection_id":171309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:36:06] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864662784001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788534140000,"timestamp_ms":1788534140000,"timestamp_seconds":1788534140,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf12c60"} 
[2026-09-04 20:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 20:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864662784001,"66":25908,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864662784001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:36:06] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:36:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864662784001,"power":25908,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":171309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:36:06] local.INFO: GPS data processed {"connection_id":171309,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:36:06] local.INFO: Acknowledgment sent {"connection_id":171309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:36:24] local.INFO: TCP Data received {"connection_id":172427,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:36:24] local.INFO: Processing buffer {"connection_id":172427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:36:24] local.INFO: Packet analysis {"connection_id":172427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:36:24] local.INFO: Extracted packet for processing {"connection_id":172427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:36:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864698624001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788534280000,"timestamp_ms":1788534280000,"timestamp_seconds":1788534280,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf34f40"} 
[2026-09-04 20:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864698624001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864698624001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:36:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:36:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864698624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":172427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:36:24] local.INFO: GPS data processed {"connection_id":172427,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:36:24] local.INFO: Acknowledgment sent {"connection_id":172427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:36:31] local.INFO: TCP Data received {"connection_id":171308,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:36:31] local.INFO: Processing buffer {"connection_id":171308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:36:31] local.INFO: Packet analysis {"connection_id":171308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:36:31] local.INFO: Extracted packet for processing {"connection_id":171308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:36:31] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864660480001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788534131000,"timestamp_ms":1788534131000,"timestamp_seconds":1788534131,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf10938"} 
[2026-09-04 20:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864660480001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864660480001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:36:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:36:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864660480001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":171308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:36:31] local.INFO: GPS data processed {"connection_id":171308,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:36:31] local.INFO: Acknowledgment sent {"connection_id":171308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:36:37] local.INFO: TCP Data received {"connection_id":171309,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:36:37] local.INFO: Processing buffer {"connection_id":171309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:36:37] local.INFO: Packet analysis {"connection_id":171309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:36:37] local.INFO: Extracted packet for processing {"connection_id":171309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:36:37] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864662784001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788534140000,"timestamp_ms":1788534140000,"timestamp_seconds":1788534140,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf12c60"} 
[2026-09-04 20:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 20:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864662784001,"66":25908,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864662784001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:36:37] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864662784001,"power":25908,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":171309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:36:37] local.INFO: GPS data processed {"connection_id":171309,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:36:37] local.INFO: Acknowledgment sent {"connection_id":171309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:36:47] local.INFO: TCP Data received {"connection_id":173712,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:36:47] local.INFO: Processing buffer {"connection_id":173712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:36:47] local.INFO: IMEI packet received {"connection_id":173712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":173712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:36:48] local.INFO: TCP Data received {"connection_id":173713,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:36:48] local.INFO: Processing buffer {"connection_id":173713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:36:48] local.INFO: IMEI packet received {"connection_id":173713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":173713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:36:52] local.INFO: TCP Data received {"connection_id":173712,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:36:52] local.INFO: Processing buffer {"connection_id":173712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:36:52] local.INFO: IMEI packet received {"connection_id":173712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":173712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:36:53] local.INFO: TCP Data received {"connection_id":173712,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:36:53] local.INFO: Processing buffer {"connection_id":173712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:36:53] local.INFO: Packet analysis {"connection_id":173712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:36:53] local.INFO: Extracted packet for processing {"connection_id":173712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864698624001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788534280000,"timestamp_ms":1788534280000,"timestamp_seconds":1788534280,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf34f40"} 
[2026-09-04 20:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864698624001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864698624001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:36:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:36:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864698624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":173712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:36:53] local.INFO: GPS data processed {"connection_id":173712,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:36:53] local.INFO: Acknowledgment sent {"connection_id":173712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:36:53] local.INFO: TCP Data received {"connection_id":173713,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:36:53] local.INFO: Processing buffer {"connection_id":173713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:36:53] local.INFO: IMEI packet received {"connection_id":173713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":173713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:36:55] local.INFO: TCP Data received {"connection_id":173713,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:36:55] local.INFO: Processing buffer {"connection_id":173713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:36:55] local.INFO: Packet analysis {"connection_id":173713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:36:55] local.INFO: Extracted packet for processing {"connection_id":173713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:36:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864660480001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788534131000,"timestamp_ms":1788534131000,"timestamp_seconds":1788534131,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf10938"} 
[2026-09-04 20:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864660480001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864660480001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:36:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864660480001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":173713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:36:55] local.INFO: GPS data processed {"connection_id":173713,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:36:55] local.INFO: Acknowledgment sent {"connection_id":173713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:36:58] local.INFO: TCP Data received {"connection_id":171023,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:36:58] local.INFO: Processing buffer {"connection_id":171023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:36:58] local.INFO: IMEI packet received {"connection_id":171023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":171023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:37:03] local.INFO: TCP Data received {"connection_id":171023,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:37:03] local.INFO: Processing buffer {"connection_id":171023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:37:03] local.INFO: IMEI packet received {"connection_id":171023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":171023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:37:06] local.INFO: TCP Data received {"connection_id":171023,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:37:06] local.INFO: Processing buffer {"connection_id":171023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:37:06] local.INFO: Packet analysis {"connection_id":171023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:37:06] local.INFO: Extracted packet for processing {"connection_id":171023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:37:06] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864662784001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788534140000,"timestamp_ms":1788534140000,"timestamp_seconds":1788534140,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf12c60"} 
[2026-09-04 20:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 20:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864662784001,"66":25908,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864662784001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:37:06] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864662784001,"power":25908,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":171023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:37:06] local.INFO: GPS data processed {"connection_id":171023,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:37:06] local.INFO: Acknowledgment sent {"connection_id":171023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:37:24] local.INFO: TCP Data received {"connection_id":173712,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:37:24] local.INFO: Processing buffer {"connection_id":173712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:37:24] local.INFO: Packet analysis {"connection_id":173712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:37:24] local.INFO: Extracted packet for processing {"connection_id":173712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864698624001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788534280000,"timestamp_ms":1788534280000,"timestamp_seconds":1788534280,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf34f40"} 
[2026-09-04 20:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864698624001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864698624001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:37:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:37:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864698624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":173712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:37:24] local.INFO: GPS data processed {"connection_id":173712,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:37:24] local.INFO: Acknowledgment sent {"connection_id":173712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:37:26] local.INFO: TCP Data received {"connection_id":173713,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:37:26] local.INFO: Processing buffer {"connection_id":173713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf10938012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:37:26] local.INFO: Packet analysis {"connection_id":173713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:37:26] local.INFO: Extracted packet for processing {"connection_id":173713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:37:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864660480001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788534131000,"timestamp_ms":1788534131000,"timestamp_seconds":1788534131,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf10938"} 
[2026-09-04 20:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-04 20:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864660480001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864660480001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:37:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:37:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864660480001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":173713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765143,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:37:26] local.INFO: GPS data processed {"connection_id":173713,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:37:26] local.INFO: Acknowledgment sent {"connection_id":173713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:37:37] local.INFO: TCP Data received {"connection_id":171023,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:37:37] local.INFO: Processing buffer {"connection_id":171023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf12c60012ceb0740071a3a58001d013629..."} 
[2026-09-04 20:37:37] local.INFO: Packet analysis {"connection_id":171023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:37:37] local.INFO: Extracted packet for processing {"connection_id":171023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf1"} 
[2026-09-04 20:37:37] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864662784001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788534140000,"timestamp_ms":1788534140000,"timestamp_seconds":1788534140,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf12c60"} 
[2026-09-04 20:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 20:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864662784001,"66":25908,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864662784001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:37:37] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:37:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864662784001,"power":25908,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":171023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:37:37] local.INFO: GPS data processed {"connection_id":171023,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:37:37] local.INFO: Acknowledgment sent {"connection_id":171023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:37:47] local.INFO: TCP Data received {"connection_id":171310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:37:47] local.INFO: Processing buffer {"connection_id":171310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:37:47] local.INFO: IMEI packet received {"connection_id":171310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":171310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:37:48] local.INFO: TCP Data received {"connection_id":172428,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:37:48] local.INFO: Processing buffer {"connection_id":172428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:37:48] local.INFO: IMEI packet received {"connection_id":172428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":172428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:37:50] local.INFO: TCP Data received {"connection_id":172428,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:37:50] local.INFO: Processing buffer {"connection_id":172428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:37:50] local.INFO: IMEI packet received {"connection_id":172428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":172428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:37:52] local.INFO: TCP Data received {"connection_id":171310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:37:52] local.INFO: Processing buffer {"connection_id":171310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:37:52] local.INFO: IMEI packet received {"connection_id":171310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":171310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:37:53] local.INFO: TCP Data received {"connection_id":171310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:37:53] local.INFO: Processing buffer {"connection_id":171310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:37:53] local.INFO: Packet analysis {"connection_id":171310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:37:53] local.INFO: Extracted packet for processing {"connection_id":171310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:37:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864698624001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788534280000,"timestamp_ms":1788534280000,"timestamp_seconds":1788534280,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf34f40"} 
[2026-09-04 20:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864698624001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864698624001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:37:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:37:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864698624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":171310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:37:53] local.INFO: GPS data processed {"connection_id":171310,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:37:53] local.INFO: Acknowledgment sent {"connection_id":171310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:37:54] local.INFO: TCP Data received {"connection_id":172428,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:37:54] local.INFO: Processing buffer {"connection_id":172428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:37:54] local.INFO: IMEI packet received {"connection_id":172428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":172428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:37:57] local.INFO: TCP Data received {"connection_id":172428,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:37:57] local.INFO: Processing buffer {"connection_id":172428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:37:57] local.INFO: Packet analysis {"connection_id":172428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:37:57] local.INFO: Extracted packet for processing {"connection_id":172428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:37:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864737536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788534432000,"timestamp_ms":1788534432000,"timestamp_seconds":1788534432,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf5a100"} 
[2026-09-04 20:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864737536001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864737536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:37:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:37:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864737536001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":172428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765146,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:37:57] local.INFO: GPS data processed {"connection_id":172428,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:37:57] local.INFO: Acknowledgment sent {"connection_id":172428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:37:59] local.INFO: TCP Data received {"connection_id":173714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:37:59] local.INFO: Processing buffer {"connection_id":173714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:37:59] local.INFO: IMEI packet received {"connection_id":173714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":173714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:38:03] local.INFO: TCP Data received {"connection_id":173714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:38:03] local.INFO: Processing buffer {"connection_id":173714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:38:03] local.INFO: IMEI packet received {"connection_id":173714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":173714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:38:08] local.INFO: TCP Data received {"connection_id":173714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:38:08] local.INFO: Processing buffer {"connection_id":173714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:38:08] local.INFO: IMEI packet received {"connection_id":173714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":173714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:38:10] local.INFO: TCP Data received {"connection_id":173714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf5c428012ceb0740071a3a58001d01362d..."} 
[2026-09-04 20:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf5c428012ceb0740071a3a58001d01362d..."} 
[2026-09-04 20:38:10] local.INFO: Processing buffer {"connection_id":173714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf5c428012ceb0740071a3a58001d01362d..."} 
[2026-09-04 20:38:10] local.INFO: Packet analysis {"connection_id":173714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:38:10] local.INFO: Extracted packet for processing {"connection_id":173714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:38:10] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864739840001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788534441000,"timestamp_ms":1788534441000,"timestamp_seconds":1788534441,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf5c428"} 
[2026-09-04 20:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 20:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864739840001,"66":25832,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864739840001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:38:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864739840001,"power":25832,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":173714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:38:10] local.INFO: GPS data processed {"connection_id":173714,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:38:10] local.INFO: Acknowledgment sent {"connection_id":173714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:38:14] local.INFO: TCP Data received {"connection_id":173714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf5c428012ceb0740071a3a58001d01362d..."} 
[2026-09-04 20:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf5c428012ceb0740071a3a58001d01362d..."} 
[2026-09-04 20:38:14] local.INFO: Processing buffer {"connection_id":173714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf5c428012ceb0740071a3a58001d01362d..."} 
[2026-09-04 20:38:14] local.INFO: Packet analysis {"connection_id":173714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:38:14] local.INFO: Extracted packet for processing {"connection_id":173714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:38:14] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864739840001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788534441000,"timestamp_ms":1788534441000,"timestamp_seconds":1788534441,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf5c428"} 
[2026-09-04 20:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 20:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864739840001,"66":25832,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864739840001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:38:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:38:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:38:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864739840001,"power":25832,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":173714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:38:14] local.INFO: GPS data processed {"connection_id":173714,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:38:14] local.INFO: Acknowledgment sent {"connection_id":173714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:38:24] local.INFO: TCP Data received {"connection_id":171310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:38:24] local.INFO: Processing buffer {"connection_id":171310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:38:24] local.INFO: Packet analysis {"connection_id":171310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:38:24] local.INFO: Extracted packet for processing {"connection_id":171310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:38:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864698624001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788534280000,"timestamp_ms":1788534280000,"timestamp_seconds":1788534280,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf34f40"} 
[2026-09-04 20:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864698624001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864698624001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:38:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:38:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864698624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":171310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:38:24] local.INFO: GPS data processed {"connection_id":171310,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:38:24] local.INFO: Acknowledgment sent {"connection_id":171310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:38:28] local.INFO: TCP Data received {"connection_id":172428,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:38:28] local.INFO: Processing buffer {"connection_id":172428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:38:28] local.INFO: Packet analysis {"connection_id":172428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:38:28] local.INFO: Extracted packet for processing {"connection_id":172428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:38:28] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864737536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788534432000,"timestamp_ms":1788534432000,"timestamp_seconds":1788534432,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf5a100"} 
[2026-09-04 20:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864737536001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864737536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:38:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:38:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864737536001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":172428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:38:29] local.INFO: GPS data processed {"connection_id":172428,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:38:29] local.INFO: Acknowledgment sent {"connection_id":172428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:38:47] local.INFO: TCP Data received {"connection_id":171024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:38:47] local.INFO: Processing buffer {"connection_id":171024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:38:47] local.INFO: IMEI packet received {"connection_id":171024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":171024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:38:48] local.INFO: TCP Data received {"connection_id":173715,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:38:48] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:38:48] local.INFO: IMEI packet received {"connection_id":173715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":173715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:38:52] local.INFO: TCP Data received {"connection_id":171024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:38:52] local.INFO: Processing buffer {"connection_id":171024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:38:52] local.INFO: IMEI packet received {"connection_id":171024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":171024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:38:53] local.INFO: TCP Data received {"connection_id":171024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:38:53] local.INFO: Processing buffer {"connection_id":171024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:38:53] local.INFO: Packet analysis {"connection_id":171024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:38:53] local.INFO: Extracted packet for processing {"connection_id":171024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:38:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864698624001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788534280000,"timestamp_ms":1788534280000,"timestamp_seconds":1788534280,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf34f40"} 
[2026-09-04 20:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864698624001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864698624001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:38:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:38:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864698624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":171024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:38:53] local.INFO: GPS data processed {"connection_id":171024,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:38:53] local.INFO: Acknowledgment sent {"connection_id":171024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:38:53] local.INFO: TCP Data received {"connection_id":173715,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:38:53] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:38:53] local.INFO: IMEI packet received {"connection_id":173715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":173715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:38:54] local.INFO: TCP Data received {"connection_id":173715,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:38:54] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:38:54] local.INFO: Packet analysis {"connection_id":173715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:38:54] local.INFO: Extracted packet for processing {"connection_id":173715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864737536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788534432000,"timestamp_ms":1788534432000,"timestamp_seconds":1788534432,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf5a100"} 
[2026-09-04 20:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864737536001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864737536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:38:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:38:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864737536001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":173715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765152,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:38:54] local.INFO: GPS data processed {"connection_id":173715,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:38:54] local.INFO: Acknowledgment sent {"connection_id":173715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:39:02] local.INFO: TCP Data received {"connection_id":171311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:39:02] local.INFO: Processing buffer {"connection_id":171311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:39:02] local.INFO: IMEI packet received {"connection_id":171311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":171311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:39:03] local.INFO: TCP Data received {"connection_id":171311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:39:03] local.INFO: Processing buffer {"connection_id":171311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:39:03] local.INFO: IMEI packet received {"connection_id":171311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":171311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:39:04] local.INFO: TCP Data received {"connection_id":171311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf5c428012ceb0740071a3a58001d01362d..."} 
[2026-09-04 20:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf5c428012ceb0740071a3a58001d01362d..."} 
[2026-09-04 20:39:04] local.INFO: Processing buffer {"connection_id":171311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf5c428012ceb0740071a3a58001d01362d..."} 
[2026-09-04 20:39:04] local.INFO: Packet analysis {"connection_id":171311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:39:04] local.INFO: Extracted packet for processing {"connection_id":171311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:39:04] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864739840001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788534441000,"timestamp_ms":1788534441000,"timestamp_seconds":1788534441,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf5c428"} 
[2026-09-04 20:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 20:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864739840001,"66":25832,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864739840001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:39:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:39:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:39:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864739840001,"power":25832,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":171311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:39:04] local.INFO: GPS data processed {"connection_id":171311,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:39:04] local.INFO: Acknowledgment sent {"connection_id":171311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:39:09] local.INFO: TCP Data received {"connection_id":171311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf5c428012ceb0740071a3a58001d01362d..."} 
[2026-09-04 20:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf5c428012ceb0740071a3a58001d01362d..."} 
[2026-09-04 20:39:09] local.INFO: Processing buffer {"connection_id":171311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf5c428012ceb0740071a3a58001d01362d..."} 
[2026-09-04 20:39:09] local.INFO: Packet analysis {"connection_id":171311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:39:09] local.INFO: Extracted packet for processing {"connection_id":171311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:39:09] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864739840001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788534441000,"timestamp_ms":1788534441000,"timestamp_seconds":1788534441,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf5c428"} 
[2026-09-04 20:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-04 20:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864739840001,"66":25832,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864739840001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:39:09] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:39:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864739840001,"power":25832,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":171311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:39:09] local.INFO: GPS data processed {"connection_id":171311,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:39:09] local.INFO: Acknowledgment sent {"connection_id":171311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:39:24] local.INFO: TCP Data received {"connection_id":171024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:39:24] local.INFO: Processing buffer {"connection_id":171024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:39:24] local.INFO: Packet analysis {"connection_id":171024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:39:24] local.INFO: Extracted packet for processing {"connection_id":171024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:39:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864698624001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788534280000,"timestamp_ms":1788534280000,"timestamp_seconds":1788534280,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf34f40"} 
[2026-09-04 20:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864698624001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864698624001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:39:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864698624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":171024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:39:24] local.INFO: GPS data processed {"connection_id":171024,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:39:24] local.INFO: Acknowledgment sent {"connection_id":171024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:39:26] local.INFO: TCP Data received {"connection_id":173715,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:39:26] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:39:26] local.INFO: Packet analysis {"connection_id":173715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:39:26] local.INFO: Extracted packet for processing {"connection_id":173715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:39:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864737536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788534432000,"timestamp_ms":1788534432000,"timestamp_seconds":1788534432,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf5a100"} 
[2026-09-04 20:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864737536001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864737536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:39:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:39:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864737536001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":173715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:39:26] local.INFO: GPS data processed {"connection_id":173715,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:39:26] local.INFO: Acknowledgment sent {"connection_id":173715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:39:40] local.INFO: TCP Data received {"connection_id":171311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf70090012ceb0740071a3a58001d01362a..."} 
[2026-09-04 20:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf70090012ceb0740071a3a58001d01362a..."} 
[2026-09-04 20:39:40] local.INFO: Processing buffer {"connection_id":171311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf70090012ceb0740071a3a58001d01362a..."} 
[2026-09-04 20:39:40] local.INFO: Packet analysis {"connection_id":171311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:39:40] local.INFO: Extracted packet for processing {"connection_id":171311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:39:40] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159384,"longitude_deg":75.360032,"latitude_deg":11.9159384,"altitude":29,"angle":310,"satellites":42,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3a58","is_valid_coordinates":true} 
[2026-09-04 20:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864816896001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788534522000,"timestamp_ms":1788534522000,"timestamp_seconds":1788534522,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf70090"} 
[2026-09-04 20:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-04 20:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864816896001,"66":25756,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864816896001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:39:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:39:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864816896001,"power":25756,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":171311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:39:40] local.INFO: GPS data processed {"connection_id":171311,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:39:40] local.INFO: Acknowledgment sent {"connection_id":171311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:39:47] local.INFO: TCP Data received {"connection_id":171312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:39:47] local.INFO: Processing buffer {"connection_id":171312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:39:47] local.INFO: IMEI packet received {"connection_id":171312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":171312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:39:48] local.INFO: TCP Data received {"connection_id":171025,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:39:48] local.INFO: Processing buffer {"connection_id":171025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:39:48] local.INFO: IMEI packet received {"connection_id":171025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":171025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:39:52] local.INFO: TCP Data received {"connection_id":171312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:39:52] local.INFO: Processing buffer {"connection_id":171312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:39:52] local.INFO: IMEI packet received {"connection_id":171312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":171312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:39:53] local.INFO: TCP Data received {"connection_id":171312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:39:53] local.INFO: Processing buffer {"connection_id":171312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf34f40012d1965c0071fef800040011529..."} 
[2026-09-04 20:39:53] local.INFO: Packet analysis {"connection_id":171312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:39:53] local.INFO: Extracted packet for processing {"connection_id":171312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf3"} 
[2026-09-04 20:39:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864698624001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788534280000,"timestamp_ms":1788534280000,"timestamp_seconds":1788534280,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf34f40"} 
[2026-09-04 20:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864698624001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864698624001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:39:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:39:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864698624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":171312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:39:53] local.INFO: GPS data processed {"connection_id":171312,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:39:53] local.INFO: Acknowledgment sent {"connection_id":171312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:39:53] local.INFO: TCP Data received {"connection_id":171025,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:39:53] local.INFO: Processing buffer {"connection_id":171025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:39:53] local.INFO: IMEI packet received {"connection_id":171025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":171025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:39:55] local.INFO: TCP Data received {"connection_id":171025,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:39:55] local.INFO: Processing buffer {"connection_id":171025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:39:55] local.INFO: Packet analysis {"connection_id":171025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:39:55] local.INFO: Extracted packet for processing {"connection_id":171025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:39:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864737536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788534432000,"timestamp_ms":1788534432000,"timestamp_seconds":1788534432,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf5a100"} 
[2026-09-04 20:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864737536001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864737536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:39:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:39:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864737536001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":171025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:39:55] local.INFO: GPS data processed {"connection_id":171025,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:39:55] local.INFO: Acknowledgment sent {"connection_id":171025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:39:58] local.INFO: TCP Data received {"connection_id":171313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:39:58] local.INFO: Processing buffer {"connection_id":171313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:39:58] local.INFO: IMEI packet received {"connection_id":171313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":171313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:40:03] local.INFO: TCP Data received {"connection_id":171313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:40:03] local.INFO: Processing buffer {"connection_id":171313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:40:03] local.INFO: IMEI packet received {"connection_id":171313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":171313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:40:04] local.INFO: TCP Data received {"connection_id":171313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf75e50012ceb05c0071a39d8001d01362c..."} 
[2026-09-04 20:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf75e50012ceb05c0071a39d8001d01362c..."} 
[2026-09-04 20:40:04] local.INFO: Processing buffer {"connection_id":171313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf75e50012ceb05c0071a39d8001d01362c..."} 
[2026-09-04 20:40:04] local.INFO: Packet analysis {"connection_id":171313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:40:04] local.INFO: Extracted packet for processing {"connection_id":171313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:40:04] local.INFO: GPS Element Parsed {"raw_longitude":753599936,"raw_latitude":119159256,"longitude_deg":75.3599936,"latitude_deg":11.9159256,"altitude":29,"angle":310,"satellites":44,"speed":0,"hex_longitude":"2ceb05c0","hex_latitude":"071a39d8","is_valid_coordinates":true} 
[2026-09-04 20:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864837632001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710532096,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788534546000,"timestamp_ms":1788534546000,"timestamp_seconds":1788534546,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf75e50"} 
[2026-09-04 20:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-04 20:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864837632001,"66":26984,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511168750710532096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864837632001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:40:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:40:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710532096,"description":"Unknown IO ID 44"} 
[2026-09-04 20:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864837632001,"power":26984,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710532096}} 
[2026-09-04 20:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":171313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:40:04] local.INFO: GPS data processed {"connection_id":171313,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:40:04] local.INFO: Acknowledgment sent {"connection_id":171313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:40:24] local.INFO: TCP Data received {"connection_id":171312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:40:24] local.INFO: Processing buffer {"connection_id":171312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:40:24] local.INFO: Packet analysis {"connection_id":171312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:40:24] local.INFO: Extracted packet for processing {"connection_id":171312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:40:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864775680001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788534581000,"timestamp_ms":1788534581000,"timestamp_seconds":1788534581,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf7e708"} 
[2026-09-04 20:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864775680001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864775680001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:40:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:40:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864775680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":171312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:40:24] local.INFO: GPS data processed {"connection_id":171312,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:40:24] local.INFO: Acknowledgment sent {"connection_id":171312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:40:27] local.INFO: TCP Data received {"connection_id":171025,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:40:27] local.INFO: Processing buffer {"connection_id":171025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:40:27] local.INFO: Packet analysis {"connection_id":171025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:40:27] local.INFO: Extracted packet for processing {"connection_id":171025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:40:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864737536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788534432000,"timestamp_ms":1788534432000,"timestamp_seconds":1788534432,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf5a100"} 
[2026-09-04 20:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864737536001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864737536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:40:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:40:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864737536001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":171025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:40:27] local.INFO: GPS data processed {"connection_id":171025,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:40:27] local.INFO: Acknowledgment sent {"connection_id":171025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:40:35] local.INFO: TCP Data received {"connection_id":171313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf7b058012ceb05c0071a39d8001d01362c..."} 
[2026-09-04 20:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf7b058012ceb05c0071a39d8001d01362c..."} 
[2026-09-04 20:40:35] local.INFO: Processing buffer {"connection_id":171313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf7b058012ceb05c0071a39d8001d01362c..."} 
[2026-09-04 20:40:35] local.INFO: Packet analysis {"connection_id":171313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:40:35] local.INFO: Extracted packet for processing {"connection_id":171313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:40:35] local.INFO: GPS Element Parsed {"raw_longitude":753599936,"raw_latitude":119159256,"longitude_deg":75.3599936,"latitude_deg":11.9159256,"altitude":29,"angle":310,"satellites":44,"speed":0,"hex_longitude":"2ceb05c0","hex_latitude":"071a39d8","is_valid_coordinates":true} 
[2026-09-04 20:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864843776001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539034827161600,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511590963175630848,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788534567000,"timestamp_ms":1788534567000,"timestamp_seconds":1788534567,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf7b058"} 
[2026-09-04 20:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-04 20:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864843776001,"66":27365,"104":206,"83":41216,"24":0,"16":398539034827161600,"44":-1511590963175630848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864843776001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:40:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:40:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539034827161600,"km_value":398539034827161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:40:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511590963175630848,"description":"Unknown IO ID 44"} 
[2026-09-04 20:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864843776001,"power":27365,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511590963175630848}} 
[2026-09-04 20:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":171313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:40:35] local.INFO: GPS data processed {"connection_id":171313,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:40:35] local.INFO: Acknowledgment sent {"connection_id":171313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:40:48] local.INFO: TCP Data received {"connection_id":172429,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:40:48] local.INFO: Processing buffer {"connection_id":172429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:40:48] local.INFO: IMEI packet received {"connection_id":172429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":172429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:40:52] local.INFO: TCP Data received {"connection_id":171314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:40:52] local.INFO: Processing buffer {"connection_id":171314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:40:52] local.INFO: IMEI packet received {"connection_id":171314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":171314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:40:53] local.INFO: TCP Data received {"connection_id":172429,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:40:53] local.INFO: Processing buffer {"connection_id":172429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:40:53] local.INFO: IMEI packet received {"connection_id":172429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":172429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:40:55] local.INFO: TCP Data received {"connection_id":172429,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:40:55] local.INFO: Processing buffer {"connection_id":172429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:40:55] local.INFO: Packet analysis {"connection_id":172429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:40:55] local.INFO: Extracted packet for processing {"connection_id":172429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:40:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864737536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788534432000,"timestamp_ms":1788534432000,"timestamp_seconds":1788534432,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf5a100"} 
[2026-09-04 20:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864737536001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864737536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:40:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:40:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864737536001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":172429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765164,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:40:55] local.INFO: GPS data processed {"connection_id":172429,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:40:55] local.INFO: Acknowledgment sent {"connection_id":172429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:40:57] local.INFO: TCP Data received {"connection_id":171314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:40:57] local.INFO: Processing buffer {"connection_id":171314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:40:57] local.INFO: IMEI packet received {"connection_id":171314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":171314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:40:58] local.INFO: TCP Data received {"connection_id":171314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:40:58] local.INFO: Processing buffer {"connection_id":171314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:40:58] local.INFO: Packet analysis {"connection_id":171314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:40:58] local.INFO: Extracted packet for processing {"connection_id":171314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:40:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864775680001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788534581000,"timestamp_ms":1788534581000,"timestamp_seconds":1788534581,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf7e708"} 
[2026-09-04 20:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864775680001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864775680001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:40:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:40:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864775680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":171314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:40:58] local.INFO: GPS data processed {"connection_id":171314,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:40:58] local.INFO: Acknowledgment sent {"connection_id":171314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:41:03] local.INFO: TCP Data received {"connection_id":171314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:41:03] local.INFO: Processing buffer {"connection_id":171314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:41:03] local.INFO: Packet analysis {"connection_id":171314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:41:03] local.INFO: Extracted packet for processing {"connection_id":171314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864775680001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788534581000,"timestamp_ms":1788534581000,"timestamp_seconds":1788534581,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf7e708"} 
[2026-09-04 20:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864775680001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864775680001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:41:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864775680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":171314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:41:03] local.INFO: GPS data processed {"connection_id":171314,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:41:03] local.INFO: Acknowledgment sent {"connection_id":171314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:41:03] local.INFO: TCP Data received {"connection_id":173716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:41:03] local.INFO: Processing buffer {"connection_id":173716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:41:03] local.INFO: IMEI packet received {"connection_id":173716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":173716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:41:08] local.INFO: TCP Data received {"connection_id":173716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:41:08] local.INFO: Processing buffer {"connection_id":173716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:41:08] local.INFO: IMEI packet received {"connection_id":173716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":173716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:41:09] local.INFO: TCP Data received {"connection_id":173716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf7fe78012ceb0740071a3c280030001429..."} 
[2026-09-04 20:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf7fe78012ceb0740071a3c280030001429..."} 
[2026-09-04 20:41:09] local.INFO: Processing buffer {"connection_id":173716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf7fe78012ceb0740071a3c280030001429..."} 
[2026-09-04 20:41:09] local.INFO: Packet analysis {"connection_id":173716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:41:09] local.INFO: Extracted packet for processing {"connection_id":173716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:41:09] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159848,"longitude_deg":75.360032,"latitude_deg":11.9159848,"altitude":48,"angle":20,"satellites":41,"speed":2,"hex_longitude":"2ceb0740","hex_latitude":"071a3c28","is_valid_coordinates":true} 
[2026-09-04 20:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864849152001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539069186899968,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511590963175630848,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788534587000,"timestamp_ms":1788534587000,"timestamp_seconds":1788534587,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf7fe78"} 
[2026-09-04 20:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 20:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864849152001,"66":27397,"104":206,"83":41216,"24":2,"16":398539069186899968,"44":-1511590963175630848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864849152001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:41:09] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:41:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539069186899968,"km_value":398539069186899.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:41:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511590963175630848,"description":"Unknown IO ID 44"} 
[2026-09-04 20:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864849152001,"power":27397,"unknown_104":206,"unknown_83":41216,"ignition":2,"odometer":null,"unknown_44":-1511590963175630848}} 
[2026-09-04 20:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":173716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:41:09] local.INFO: GPS data processed {"connection_id":173716,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:41:09] local.INFO: Acknowledgment sent {"connection_id":173716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:41:26] local.INFO: TCP Data received {"connection_id":172429,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:41:26] local.INFO: Processing buffer {"connection_id":172429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:41:26] local.INFO: Packet analysis {"connection_id":172429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:41:26] local.INFO: Extracted packet for processing {"connection_id":172429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:41:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864737536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788534432000,"timestamp_ms":1788534432000,"timestamp_seconds":1788534432,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf5a100"} 
[2026-09-04 20:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864737536001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864737536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:41:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:41:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864737536001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":172429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765168,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:41:26] local.INFO: GPS data processed {"connection_id":172429,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:41:26] local.INFO: Acknowledgment sent {"connection_id":172429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:41:40] local.INFO: TCP Data received {"connection_id":173716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf819d0012ceb0780071a3dd8002f00082c..."} 
[2026-09-04 20:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf819d0012ceb0780071a3dd8002f00082c..."} 
[2026-09-04 20:41:40] local.INFO: Processing buffer {"connection_id":173716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf819d0012ceb0780071a3dd8002f00082c..."} 
[2026-09-04 20:41:40] local.INFO: Packet analysis {"connection_id":173716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf8"} 
[2026-09-04 20:41:40] local.INFO: Extracted packet for processing {"connection_id":173716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf8"} 
[2026-09-04 20:41:40] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119160280,"longitude_deg":75.3600384,"latitude_deg":11.916028,"altitude":47,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3dd8","is_valid_coordinates":true} 
[2026-09-04 20:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864854272001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398539090661736448,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710413312,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788534594000,"timestamp_ms":1788534594000,"timestamp_seconds":1788534594,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf819d0"} 
[2026-09-04 20:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 20:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864854272001,"66":27343,"104":206,"83":41216,"24":0,"16":398539090661736448,"44":-1511168750710413312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864854272001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:41:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:41:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398539090661736448,"km_value":398539090661736.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:41:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710413312,"description":"Unknown IO ID 44"} 
[2026-09-04 20:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864854272001,"power":27343,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710413312}} 
[2026-09-04 20:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":173716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:41:40] local.INFO: GPS data processed {"connection_id":173716,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:41:40] local.INFO: Acknowledgment sent {"connection_id":173716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:41:47] local.INFO: TCP Data received {"connection_id":171315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:41:47] local.INFO: Processing buffer {"connection_id":171315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:41:47] local.INFO: IMEI packet received {"connection_id":171315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":171315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:41:52] local.INFO: TCP Data received {"connection_id":171315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:41:52] local.INFO: Processing buffer {"connection_id":171315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:41:52] local.INFO: IMEI packet received {"connection_id":171315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":171315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:41:53] local.INFO: TCP Data received {"connection_id":171315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:41:53] local.INFO: Processing buffer {"connection_id":171315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:41:53] local.INFO: Packet analysis {"connection_id":171315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:41:53] local.INFO: Extracted packet for processing {"connection_id":171315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:41:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864775680001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788534581000,"timestamp_ms":1788534581000,"timestamp_seconds":1788534581,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf7e708"} 
[2026-09-04 20:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864775680001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864775680001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:41:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:41:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864775680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":171315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:41:53] local.INFO: GPS data processed {"connection_id":171315,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:41:53] local.INFO: Acknowledgment sent {"connection_id":171315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:41:53] local.INFO: TCP Data received {"connection_id":171316,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:41:53] local.INFO: Processing buffer {"connection_id":171316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:41:53] local.INFO: IMEI packet received {"connection_id":171316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":171316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:41:58] local.INFO: TCP Data received {"connection_id":171316,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:41:58] local.INFO: Processing buffer {"connection_id":171316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:41:58] local.INFO: IMEI packet received {"connection_id":171316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":171316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:41:59] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:41:59] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:41:59] local.INFO: IMEI packet received {"connection_id":172430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":172430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:42:00] local.INFO: TCP Data received {"connection_id":171316,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:42:00] local.INFO: Processing buffer {"connection_id":171316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:42:00] local.INFO: Packet analysis {"connection_id":171316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:42:00] local.INFO: Extracted packet for processing {"connection_id":171316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:42:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864737536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788534432000,"timestamp_ms":1788534432000,"timestamp_seconds":1788534432,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf5a100"} 
[2026-09-04 20:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864737536001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864737536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:42:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864737536001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":171316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:42:01] local.INFO: GPS data processed {"connection_id":171316,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:42:01] local.INFO: Acknowledgment sent {"connection_id":171316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:42:03] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:42:03] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:42:03] local.INFO: IMEI packet received {"connection_id":172430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":172430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:42:04] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf92758012cea9500071a7198001c001f31..."} 
[2026-09-04 20:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf92758012cea9500071a7198001c001f31..."} 
[2026-09-04 20:42:04] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf92758012cea9500071a7198001c001f31..."} 
[2026-09-04 20:42:04] local.INFO: Packet analysis {"connection_id":172430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf9"} 
[2026-09-04 20:42:04] local.INFO: Extracted packet for processing {"connection_id":172430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf9"} 
[2026-09-04 20:42:04] local.INFO: GPS Element Parsed {"raw_longitude":753571072,"raw_latitude":119173528,"longitude_deg":75.3571072,"latitude_deg":11.9173528,"altitude":28,"angle":31,"satellites":49,"speed":7,"hex_longitude":"2cea9500","hex_latitude":"071a7198","is_valid_coordinates":true} 
[2026-09-04 20:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864873216001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398540658324799488,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1543397635540369408,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788534663000,"timestamp_ms":1788534663000,"timestamp_seconds":1788534663,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf92758"} 
[2026-09-04 20:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 20:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864873216001,"66":27267,"103":206,"83":41216,"24":7,"16":398540658324799488,"44":-1543397635540369408},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-04 20:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864873216001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:42:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 20:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398540658324799488,"km_value":398540658324799.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:42:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1543397635540369408,"description":"Unknown IO ID 44"} 
[2026-09-04 20:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864873216001,"power":27267,"unknown_103":206,"unknown_83":41216,"ignition":7,"odometer":null,"unknown_44":-1543397635540369408}} 
[2026-09-04 20:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":172430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:42:04] local.INFO: GPS data processed {"connection_id":172430,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:42:04] local.INFO: Acknowledgment sent {"connection_id":172430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:42:04] local.INFO: TCP Data received {"connection_id":171316,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:42:04] local.INFO: Processing buffer {"connection_id":171316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf5a100012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:42:04] local.INFO: Packet analysis {"connection_id":171316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:42:04] local.INFO: Extracted packet for processing {"connection_id":171316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf5"} 
[2026-09-04 20:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864737536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788534432000,"timestamp_ms":1788534432000,"timestamp_seconds":1788534432,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf5a100"} 
[2026-09-04 20:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864737536001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864737536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:42:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864737536001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":171316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:42:04] local.INFO: GPS data processed {"connection_id":171316,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:42:04] local.INFO: Acknowledgment sent {"connection_id":171316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:42:24] local.INFO: TCP Data received {"connection_id":171315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:42:24] local.INFO: Processing buffer {"connection_id":171315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:42:24] local.INFO: Packet analysis {"connection_id":171315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:42:24] local.INFO: Extracted packet for processing {"connection_id":171315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:42:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864775680001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788534581000,"timestamp_ms":1788534581000,"timestamp_seconds":1788534581,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf7e708"} 
[2026-09-04 20:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864775680001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864775680001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:42:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:42:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864775680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":171315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:42:24] local.INFO: GPS data processed {"connection_id":171315,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:42:24] local.INFO: Acknowledgment sent {"connection_id":171315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:42:34] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf92b40012cea95c0071a7230001c003630..."} 
[2026-09-04 20:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf92b40012cea95c0071a7230001c003630..."} 
[2026-09-04 20:42:34] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf92b40012cea95c0071a7230001c003630..."} 
[2026-09-04 20:42:34] local.INFO: Packet analysis {"connection_id":172430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf9"} 
[2026-09-04 20:42:34] local.INFO: Extracted packet for processing {"connection_id":172430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf9"} 
[2026-09-04 20:42:34] local.INFO: GPS Element Parsed {"raw_longitude":753571264,"raw_latitude":119173680,"longitude_deg":75.3571264,"latitude_deg":11.917368,"altitude":28,"angle":54,"satellites":48,"speed":9,"hex_longitude":"2cea95c0","hex_latitude":"071a7230","is_valid_coordinates":true} 
[2026-09-04 20:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864873728001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398540671209701376,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1543327266796103680,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788534664000,"timestamp_ms":1788534664000,"timestamp_seconds":1788534664,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf92b40"} 
[2026-09-04 20:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 20:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864873728001,"66":27267,"103":206,"83":41216,"24":9,"16":398540671209701376,"44":-1543327266796103680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-04 20:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864873728001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:42:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-04 20:42:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398540671209701376,"km_value":398540671209701.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:42:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1543327266796103680,"description":"Unknown IO ID 44"} 
[2026-09-04 20:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864873728001,"power":27267,"unknown_103":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1543327266796103680}} 
[2026-09-04 20:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":172430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:42:35] local.INFO: GPS data processed {"connection_id":172430,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:42:35] local.INFO: Acknowledgment sent {"connection_id":172430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:42:47] local.INFO: TCP Data received {"connection_id":171317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:42:47] local.INFO: Processing buffer {"connection_id":171317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:42:47] local.INFO: IMEI packet received {"connection_id":171317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":171317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:42:48] local.INFO: TCP Data received {"connection_id":172431,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:42:48] local.INFO: Processing buffer {"connection_id":172431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:42:48] local.INFO: IMEI packet received {"connection_id":172431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":172431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:42:51] local.INFO: TCP Data received {"connection_id":172431,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:42:51] local.INFO: Processing buffer {"connection_id":172431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:42:51] local.INFO: IMEI packet received {"connection_id":172431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":172431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:42:52] local.INFO: TCP Data received {"connection_id":171317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:42:52] local.INFO: Processing buffer {"connection_id":171317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:42:52] local.INFO: IMEI packet received {"connection_id":171317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":171317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:42:53] local.INFO: TCP Data received {"connection_id":171317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:42:53] local.INFO: Processing buffer {"connection_id":171317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:42:53] local.INFO: Packet analysis {"connection_id":171317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:42:53] local.INFO: Extracted packet for processing {"connection_id":171317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:42:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864775680001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788534581000,"timestamp_ms":1788534581000,"timestamp_seconds":1788534581,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf7e708"} 
[2026-09-04 20:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864775680001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864775680001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:42:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:42:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864775680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":171317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:42:53] local.INFO: GPS data processed {"connection_id":171317,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:42:53] local.INFO: Acknowledgment sent {"connection_id":171317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:42:53] local.INFO: TCP Data received {"connection_id":172431,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:42:53] local.INFO: Processing buffer {"connection_id":172431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:42:53] local.INFO: Packet analysis {"connection_id":172431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:42:53] local.INFO: Extracted packet for processing {"connection_id":172431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:42:53] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864814592001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788534733000,"timestamp_ms":1788534733000,"timestamp_seconds":1788534733,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfa38c8"} 
[2026-09-04 20:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 20:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864814592001,"66":25462,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864814592001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:42:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:42:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864814592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":172431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765177,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:42:53] local.INFO: GPS data processed {"connection_id":172431,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:42:53] local.INFO: Acknowledgment sent {"connection_id":172431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:42:58] local.INFO: TCP Data received {"connection_id":171026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:42:58] local.INFO: Processing buffer {"connection_id":171026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:42:58] local.INFO: IMEI packet received {"connection_id":171026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":171026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:43:03] local.INFO: TCP Data received {"connection_id":171026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:43:03] local.INFO: Processing buffer {"connection_id":171026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:43:03] local.INFO: IMEI packet received {"connection_id":171026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":171026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:43:04] local.INFO: TCP Data received {"connection_id":171026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf92f28012cea9680071a7290001b004731..."} 
[2026-09-04 20:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf92f28012cea9680071a7290001b004731..."} 
[2026-09-04 20:43:04] local.INFO: Processing buffer {"connection_id":171026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf92f28012cea9680071a7290001b004731..."} 
[2026-09-04 20:43:04] local.INFO: Packet analysis {"connection_id":171026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf9"} 
[2026-09-04 20:43:04] local.INFO: Extracted packet for processing {"connection_id":171026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf9"} 
[2026-09-04 20:43:04] local.INFO: GPS Element Parsed {"raw_longitude":753571456,"raw_latitude":119173776,"longitude_deg":75.3571456,"latitude_deg":11.9173776,"altitude":27,"angle":71,"satellites":49,"speed":11,"hex_longitude":"2cea9680","hex_latitude":"071a7290","is_valid_coordinates":true} 
[2026-09-04 20:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864873984001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398540679799635968,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1543116160563531776,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788534665000,"timestamp_ms":1788534665000,"timestamp_seconds":1788534665,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf92f28"} 
[2026-09-04 20:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 20:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864873984001,"66":27376,"104":206,"83":41216,"24":11,"16":398540679799635968,"44":-1543116160563531776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864873984001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:43:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398540679799635968,"km_value":398540679799635.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:43:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1543116160563531776,"description":"Unknown IO ID 44"} 
[2026-09-04 20:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864873984001,"power":27376,"unknown_104":206,"unknown_83":41216,"ignition":11,"odometer":null,"unknown_44":-1543116160563531776}} 
[2026-09-04 20:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":171026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:43:04] local.INFO: GPS data processed {"connection_id":171026,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:43:04] local.INFO: Acknowledgment sent {"connection_id":171026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:43:24] local.INFO: TCP Data received {"connection_id":171317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:43:24] local.INFO: Processing buffer {"connection_id":171317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:43:24] local.INFO: Packet analysis {"connection_id":171317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:43:24] local.INFO: Extracted packet for processing {"connection_id":171317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:43:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864775680001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788534581000,"timestamp_ms":1788534581000,"timestamp_seconds":1788534581,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf7e708"} 
[2026-09-04 20:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864775680001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864775680001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:43:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:43:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864775680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":171317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:43:24] local.INFO: GPS data processed {"connection_id":171317,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:43:24] local.INFO: Acknowledgment sent {"connection_id":171317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:43:30] local.INFO: TCP Data received {"connection_id":172431,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:43:30] local.INFO: Processing buffer {"connection_id":172431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:43:30] local.INFO: Packet analysis {"connection_id":172431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:43:30] local.INFO: Extracted packet for processing {"connection_id":172431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:43:30] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864814592001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788534733000,"timestamp_ms":1788534733000,"timestamp_seconds":1788534733,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfa38c8"} 
[2026-09-04 20:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 20:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864814592001,"66":25462,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864814592001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:43:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:43:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864814592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":172431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765180,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:43:30] local.INFO: GPS data processed {"connection_id":172431,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:43:30] local.INFO: Acknowledgment sent {"connection_id":172431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:43:34] local.INFO: TCP Data received {"connection_id":171026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf93310012cea97c0071a7298001b005f30..."} 
[2026-09-04 20:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf93310012cea97c0071a7298001b005f30..."} 
[2026-09-04 20:43:34] local.INFO: Processing buffer {"connection_id":171026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf93310012cea97c0071a7298001b005f30..."} 
[2026-09-04 20:43:34] local.INFO: Packet analysis {"connection_id":171026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf9"} 
[2026-09-04 20:43:34] local.INFO: Extracted packet for processing {"connection_id":171026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf9"} 
[2026-09-04 20:43:34] local.INFO: GPS Element Parsed {"raw_longitude":753571776,"raw_latitude":119173784,"longitude_deg":75.3571776,"latitude_deg":11.9173784,"altitude":27,"angle":95,"satellites":48,"speed":14,"hex_longitude":"2cea97c0","hex_latitude":"071a7298","is_valid_coordinates":true} 
[2026-09-04 20:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864874240001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398540696979505152,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1542905054330974208,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788534666000,"timestamp_ms":1788534666000,"timestamp_seconds":1788534666,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf93310"} 
[2026-09-04 20:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 20:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864874240001,"66":27376,"104":206,"83":41216,"24":14,"16":398540696979505152,"44":-1542905054330974208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864874240001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:43:34] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:43:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398540696979505152,"km_value":398540696979505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:43:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1542905054330974208,"description":"Unknown IO ID 44"} 
[2026-09-04 20:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864874240001,"power":27376,"unknown_104":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1542905054330974208}} 
[2026-09-04 20:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":171026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:43:34] local.INFO: GPS data processed {"connection_id":171026,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:43:34] local.INFO: Acknowledgment sent {"connection_id":171026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:43:47] local.INFO: TCP Data received {"connection_id":171027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:43:47] local.INFO: Processing buffer {"connection_id":171027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:43:47] local.INFO: IMEI packet received {"connection_id":171027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":171027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:43:52] local.INFO: TCP Data received {"connection_id":171027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:43:52] local.INFO: Processing buffer {"connection_id":171027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:43:52] local.INFO: IMEI packet received {"connection_id":171027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":171027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:43:53] local.INFO: TCP Data received {"connection_id":171027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:43:53] local.INFO: Processing buffer {"connection_id":171027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:43:53] local.INFO: Packet analysis {"connection_id":171027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:43:53] local.INFO: Extracted packet for processing {"connection_id":171027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:43:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864775680001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788534581000,"timestamp_ms":1788534581000,"timestamp_seconds":1788534581,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf7e708"} 
[2026-09-04 20:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864775680001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864775680001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:43:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:43:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864775680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":171027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:43:53] local.INFO: GPS data processed {"connection_id":171027,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:43:53] local.INFO: Acknowledgment sent {"connection_id":171027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:43:53] local.INFO: TCP Data received {"connection_id":173717,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:43:53] local.INFO: Processing buffer {"connection_id":173717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:43:53] local.INFO: IMEI packet received {"connection_id":173717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":173717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:43:58] local.INFO: TCP Data received {"connection_id":173717,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:43:58] local.INFO: Processing buffer {"connection_id":173717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:43:58] local.INFO: IMEI packet received {"connection_id":173717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":173717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:43:58] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:43:58] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:43:58] local.INFO: IMEI packet received {"connection_id":172432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":172432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:44:00] local.INFO: TCP Data received {"connection_id":173717,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:44:00] local.INFO: Processing buffer {"connection_id":173717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:44:00] local.INFO: Packet analysis {"connection_id":173717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:44:00] local.INFO: Extracted packet for processing {"connection_id":173717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:44:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864814592001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788534733000,"timestamp_ms":1788534733000,"timestamp_seconds":1788534733,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfa38c8"} 
[2026-09-04 20:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 20:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864814592001,"66":25462,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864814592001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:44:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864814592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":173717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:44:00] local.INFO: GPS data processed {"connection_id":173717,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:44:00] local.INFO: Acknowledgment sent {"connection_id":173717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:44:03] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:44:03] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:44:03] local.INFO: IMEI packet received {"connection_id":172432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":172432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:44:04] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf936f8012cea9940071a7220001b007032..."} 
[2026-09-04 20:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf936f8012cea9940071a7220001b007032..."} 
[2026-09-04 20:44:04] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf936f8012cea9940071a7220001b007032..."} 
[2026-09-04 20:44:04] local.INFO: Packet analysis {"connection_id":172432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf9"} 
[2026-09-04 20:44:04] local.INFO: Extracted packet for processing {"connection_id":172432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf9"} 
[2026-09-04 20:44:04] local.INFO: GPS Element Parsed {"raw_longitude":753572160,"raw_latitude":119173664,"longitude_deg":75.357216,"latitude_deg":11.9173664,"altitude":27,"angle":112,"satellites":50,"speed":14,"hex_longitude":"2cea9940","hex_latitude":"071a7220","is_valid_coordinates":true} 
[2026-09-04 20:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864874496001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398540714159374336,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1542553210610083840,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788534667000,"timestamp_ms":1788534667000,"timestamp_seconds":1788534667,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf936f8"} 
[2026-09-04 20:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 20:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864874496001,"66":27397,"104":206,"83":41216,"24":14,"16":398540714159374336,"44":-1542553210610083840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-04 20:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864874496001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:44:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-04 20:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398540714159374336,"km_value":398540714159374.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1542553210610083840,"description":"Unknown IO ID 44"} 
[2026-09-04 20:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864874496001,"power":27397,"unknown_104":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1542553210610083840}} 
[2026-09-04 20:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":172432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:44:04] local.INFO: GPS data processed {"connection_id":172432,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:44:04] local.INFO: Acknowledgment sent {"connection_id":172432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:44:24] local.INFO: TCP Data received {"connection_id":171027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:44:24] local.INFO: Processing buffer {"connection_id":171027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:44:24] local.INFO: Packet analysis {"connection_id":171027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:44:24] local.INFO: Extracted packet for processing {"connection_id":171027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864775680001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788534581000,"timestamp_ms":1788534581000,"timestamp_seconds":1788534581,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf7e708"} 
[2026-09-04 20:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864775680001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864775680001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:44:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864775680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":171027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:44:24] local.INFO: GPS data processed {"connection_id":171027,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:44:24] local.INFO: Acknowledgment sent {"connection_id":171027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:44:32] local.INFO: TCP Data received {"connection_id":173717,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:44:32] local.INFO: Processing buffer {"connection_id":173717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:44:32] local.INFO: Packet analysis {"connection_id":173717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:44:32] local.INFO: Extracted packet for processing {"connection_id":173717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:44:32] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864814592001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788534733000,"timestamp_ms":1788534733000,"timestamp_seconds":1788534733,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfa38c8"} 
[2026-09-04 20:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 20:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864814592001,"66":25462,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864814592001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:44:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:44:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864814592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":173717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:44:32] local.INFO: GPS data processed {"connection_id":173717,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:44:32] local.INFO: Acknowledgment sent {"connection_id":173717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:44:35] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfb7148012ceb70c0071a0948001f008b32..."} 
[2026-09-04 20:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfb7148012ceb70c0071a0948001f008b32..."} 
[2026-09-04 20:44:35] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfb7148012ceb70c0071a0948001f008b32..."} 
[2026-09-04 20:44:35] local.INFO: Packet analysis {"connection_id":172432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfb"} 
[2026-09-04 20:44:35] local.INFO: Extracted packet for processing {"connection_id":172432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfb"} 
[2026-09-04 20:44:35] local.INFO: GPS Element Parsed {"raw_longitude":753627328,"raw_latitude":119146824,"longitude_deg":75.3627328,"latitude_deg":11.9146824,"altitude":31,"angle":139,"satellites":50,"speed":7,"hex_longitude":"2ceb70c0","hex_latitude":"071a0948","is_valid_coordinates":true} 
[2026-09-04 20:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864910848001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398543660506939392,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481965721879863296,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788534813000,"timestamp_ms":1788534813000,"timestamp_seconds":1788534813,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfb7148"} 
[2026-09-04 20:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 20:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864910848001,"66":27365,"135":206,"83":41216,"24":7,"16":398543660506939392,"44":-1481965721879863296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 20:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864910848001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:44:35] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 20:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398543660506939392,"km_value":398543660506939.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:44:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481965721879863296,"description":"Unknown IO ID 44"} 
[2026-09-04 20:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864910848001,"power":27365,"unknown_135":206,"unknown_83":41216,"ignition":7,"odometer":null,"unknown_44":-1481965721879863296}} 
[2026-09-04 20:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":172432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:44:35] local.INFO: GPS data processed {"connection_id":172432,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:44:35] local.INFO: Acknowledgment sent {"connection_id":172432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:44:47] local.INFO: TCP Data received {"connection_id":172433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:44:47] local.INFO: Processing buffer {"connection_id":172433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:44:47] local.INFO: IMEI packet received {"connection_id":172433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":172433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:44:52] local.INFO: TCP Data received {"connection_id":172433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:44:52] local.INFO: Processing buffer {"connection_id":172433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:44:52] local.INFO: IMEI packet received {"connection_id":172433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":172433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:44:53] local.INFO: TCP Data received {"connection_id":172433,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:44:53] local.INFO: Processing buffer {"connection_id":172433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cf7e708012d1965c0071fef800040011529..."} 
[2026-09-04 20:44:53] local.INFO: Packet analysis {"connection_id":172433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:44:53] local.INFO: Extracted packet for processing {"connection_id":172433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cf7"} 
[2026-09-04 20:44:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864775680001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788534581000,"timestamp_ms":1788534581000,"timestamp_seconds":1788534581,"priority":1,"record_length":96,"hex_timestamp":"000001a06cf7e708"} 
[2026-09-04 20:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864775680001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864775680001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:44:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:44:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864775680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":172433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:44:53] local.INFO: GPS data processed {"connection_id":172433,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:44:53] local.INFO: Acknowledgment sent {"connection_id":172433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:44:53] local.INFO: TCP Data received {"connection_id":173718,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:44:53] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:44:53] local.INFO: IMEI packet received {"connection_id":173718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":173718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:44:58] local.INFO: TCP Data received {"connection_id":171028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:44:58] local.INFO: Processing buffer {"connection_id":171028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:44:58] local.INFO: IMEI packet received {"connection_id":171028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":171028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:44:58] local.INFO: TCP Data received {"connection_id":173718,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:44:58] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:44:58] local.INFO: IMEI packet received {"connection_id":173718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":173718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:45:00] local.INFO: TCP Data received {"connection_id":173718,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:45:00] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:45:00] local.INFO: Packet analysis {"connection_id":173718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:45:00] local.INFO: Extracted packet for processing {"connection_id":173718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:45:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864814592001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788534733000,"timestamp_ms":1788534733000,"timestamp_seconds":1788534733,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfa38c8"} 
[2026-09-04 20:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 20:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864814592001,"66":25462,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864814592001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:45:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864814592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":173718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765189,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:45:00] local.INFO: GPS data processed {"connection_id":173718,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:45:00] local.INFO: Acknowledgment sent {"connection_id":173718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:45:03] local.INFO: TCP Data received {"connection_id":171028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:45:03] local.INFO: Processing buffer {"connection_id":171028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:45:03] local.INFO: IMEI packet received {"connection_id":171028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":171028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:45:04] local.INFO: TCP Data received {"connection_id":173718,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:45:04] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:45:04] local.INFO: Packet analysis {"connection_id":173718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:45:04] local.INFO: Extracted packet for processing {"connection_id":173718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864814592001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788534733000,"timestamp_ms":1788534733000,"timestamp_seconds":1788534733,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfa38c8"} 
[2026-09-04 20:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 20:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864814592001,"66":25462,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864814592001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:45:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:45:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864814592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":173718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765190,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:45:04] local.INFO: GPS data processed {"connection_id":173718,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:45:04] local.INFO: Acknowledgment sent {"connection_id":173718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:45:04] local.INFO: TCP Data received {"connection_id":171028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfb7d00012ceb7240071a06700020009931..."} 
[2026-09-04 20:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfb7d00012ceb7240071a06700020009931..."} 
[2026-09-04 20:45:04] local.INFO: Processing buffer {"connection_id":171028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfb7d00012ceb7240071a06700020009931..."} 
[2026-09-04 20:45:04] local.INFO: Packet analysis {"connection_id":171028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfb"} 
[2026-09-04 20:45:04] local.INFO: Extracted packet for processing {"connection_id":171028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfb"} 
[2026-09-04 20:45:04] local.INFO: GPS Element Parsed {"raw_longitude":753627712,"raw_latitude":119146096,"longitude_deg":75.3627712,"latitude_deg":11.9146096,"altitude":32,"angle":153,"satellites":49,"speed":13,"hex_longitude":"2ceb7240","hex_latitude":"071a0670","is_valid_coordinates":true} 
[2026-09-04 20:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864912128001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398543699161645056,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481473140670773248,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788534816000,"timestamp_ms":1788534816000,"timestamp_seconds":1788534816,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfb7d00"} 
[2026-09-04 20:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 20:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864912128001,"66":27397,"135":206,"83":41216,"24":13,"16":398543699161645056,"44":-1481473140670773248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-04 20:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864912128001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:45:04] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 20:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398543699161645056,"km_value":398543699161645.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:45:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481473140670773248,"description":"Unknown IO ID 44"} 
[2026-09-04 20:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864912128001,"power":27397,"unknown_135":206,"unknown_83":41216,"ignition":13,"odometer":null,"unknown_44":-1481473140670773248}} 
[2026-09-04 20:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":171028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:45:04] local.INFO: GPS data processed {"connection_id":171028,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:45:04] local.INFO: Acknowledgment sent {"connection_id":171028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:45:24] local.INFO: TCP Data received {"connection_id":172433,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:45:24] local.INFO: Processing buffer {"connection_id":172433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:45:24] local.INFO: Packet analysis {"connection_id":172433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:45:24] local.INFO: Extracted packet for processing {"connection_id":172433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864852736001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788534882000,"timestamp_ms":1788534882000,"timestamp_seconds":1788534882,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfc7ed0"} 
[2026-09-04 20:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864852736001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864852736001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:45:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864852736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":172433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:45:24] local.INFO: GPS data processed {"connection_id":172433,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:45:24] local.INFO: Acknowledgment sent {"connection_id":172433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:45:35] local.INFO: TCP Data received {"connection_id":171028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfbcb20012ceb80c00719e498001d009c2f..."} 
[2026-09-04 20:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfbcb20012ceb80c00719e498001d009c2f..."} 
[2026-09-04 20:45:35] local.INFO: Processing buffer {"connection_id":171028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfbcb20012ceb80c00719e498001d009c2f..."} 
[2026-09-04 20:45:35] local.INFO: Packet analysis {"connection_id":171028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfb"} 
[2026-09-04 20:45:35] local.INFO: Extracted packet for processing {"connection_id":171028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfb"} 
[2026-09-04 20:45:35] local.INFO: GPS Element Parsed {"raw_longitude":753631424,"raw_latitude":119137432,"longitude_deg":75.3631424,"latitude_deg":11.9137432,"altitude":29,"angle":156,"satellites":47,"speed":28,"hex_longitude":"2ceb80c0","hex_latitude":"0719e498","is_valid_coordinates":true} 
[2026-09-04 20:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864912896001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398544154428178432,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481050928205893632,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788534836000,"timestamp_ms":1788534836000,"timestamp_seconds":1788534836,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfbcb20"} 
[2026-09-04 20:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 20:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864912896001,"66":26289,"137":206,"83":41216,"24":28,"16":398544154428178432,"44":-1481050928205893632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-04 20:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864912896001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:45:35] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 20:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398544154428178432,"km_value":398544154428178.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:45:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481050928205893632,"description":"Unknown IO ID 44"} 
[2026-09-04 20:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864912896001,"power":26289,"unknown_137":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1481050928205893632}} 
[2026-09-04 20:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":171028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:45:35] local.INFO: GPS data processed {"connection_id":171028,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:45:35] local.INFO: Acknowledgment sent {"connection_id":171028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:45:47] local.INFO: TCP Data received {"connection_id":172434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:45:47] local.INFO: Processing buffer {"connection_id":172434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:45:47] local.INFO: IMEI packet received {"connection_id":172434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":172434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:45:48] local.INFO: TCP Data received {"connection_id":173719,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:45:48] local.INFO: Processing buffer {"connection_id":173719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:45:48] local.INFO: IMEI packet received {"connection_id":173719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":173719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:45:52] local.INFO: TCP Data received {"connection_id":172434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:45:52] local.INFO: Processing buffer {"connection_id":172434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:45:52] local.INFO: IMEI packet received {"connection_id":172434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":172434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:45:53] local.INFO: TCP Data received {"connection_id":172434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:45:53] local.INFO: Processing buffer {"connection_id":172434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:45:53] local.INFO: Packet analysis {"connection_id":172434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:45:53] local.INFO: Extracted packet for processing {"connection_id":172434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:45:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864852736001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788534882000,"timestamp_ms":1788534882000,"timestamp_seconds":1788534882,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfc7ed0"} 
[2026-09-04 20:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864852736001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864852736001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:45:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:45:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864852736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":172434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:45:53] local.INFO: GPS data processed {"connection_id":172434,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:45:53] local.INFO: Acknowledgment sent {"connection_id":172434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:45:53] local.INFO: TCP Data received {"connection_id":173719,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:45:53] local.INFO: Processing buffer {"connection_id":173719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:45:53] local.INFO: IMEI packet received {"connection_id":173719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":173719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:45:55] local.INFO: TCP Data received {"connection_id":173719,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:45:55] local.INFO: Processing buffer {"connection_id":173719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:45:55] local.INFO: Packet analysis {"connection_id":173719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:45:55] local.INFO: Extracted packet for processing {"connection_id":173719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:45:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864814592001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788534733000,"timestamp_ms":1788534733000,"timestamp_seconds":1788534733,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfa38c8"} 
[2026-09-04 20:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 20:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864814592001,"66":25462,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864814592001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:45:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:45:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864814592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":173719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765195,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:45:55] local.INFO: GPS data processed {"connection_id":173719,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:45:55] local.INFO: Acknowledgment sent {"connection_id":173719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:45:58] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:45:58] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:45:58] local.INFO: IMEI packet received {"connection_id":173720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":173720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:46:03] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:46:03] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:46:03] local.INFO: IMEI packet received {"connection_id":173720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":173720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:46:04] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfbf618012ceb90800719c540001d00972c..."} 
[2026-09-04 20:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfbf618012ceb90800719c540001d00972c..."} 
[2026-09-04 20:46:04] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfbf618012ceb90800719c540001d00972c..."} 
[2026-09-04 20:46:04] local.INFO: Packet analysis {"connection_id":173720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfb"} 
[2026-09-04 20:46:04] local.INFO: Extracted packet for processing {"connection_id":173720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfb"} 
[2026-09-04 20:46:04] local.INFO: GPS Element Parsed {"raw_longitude":753635456,"raw_latitude":119129408,"longitude_deg":75.3635456,"latitude_deg":11.9129408,"altitude":29,"angle":151,"satellites":44,"speed":34,"hex_longitude":"2ceb9080","hex_latitude":"0719c540","is_valid_coordinates":true} 
[2026-09-04 20:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864918016001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398544588219875328,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1476969541045807104,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788534847000,"timestamp_ms":1788534847000,"timestamp_seconds":1788534847,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfbf618"} 
[2026-09-04 20:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-04 20:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864918016001,"66":27365,"137":206,"83":41216,"24":34,"16":398544588219875328,"44":-1476969541045807104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-04 20:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864918016001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:46:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-04 20:46:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398544588219875328,"km_value":398544588219875.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:46:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1476969541045807104,"description":"Unknown IO ID 44"} 
[2026-09-04 20:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864918016001,"power":27365,"unknown_137":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1476969541045807104}} 
[2026-09-04 20:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":173720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:46:04] local.INFO: GPS data processed {"connection_id":173720,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:46:04] local.INFO: Acknowledgment sent {"connection_id":173720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:46:24] local.INFO: TCP Data received {"connection_id":172434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:46:24] local.INFO: Processing buffer {"connection_id":172434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:46:24] local.INFO: Packet analysis {"connection_id":172434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:46:24] local.INFO: Extracted packet for processing {"connection_id":172434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864852736001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788534882000,"timestamp_ms":1788534882000,"timestamp_seconds":1788534882,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfc7ed0"} 
[2026-09-04 20:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864852736001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864852736001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:46:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:46:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864852736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":172434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:46:24] local.INFO: GPS data processed {"connection_id":172434,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:46:24] local.INFO: Acknowledgment sent {"connection_id":172434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:46:27] local.INFO: TCP Data received {"connection_id":173719,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:46:27] local.INFO: Processing buffer {"connection_id":173719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:46:27] local.INFO: Packet analysis {"connection_id":173719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:46:27] local.INFO: Extracted packet for processing {"connection_id":173719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:46:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864814592001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788534733000,"timestamp_ms":1788534733000,"timestamp_seconds":1788534733,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfa38c8"} 
[2026-09-04 20:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 20:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864814592001,"66":25462,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864814592001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:46:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:46:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864814592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":173719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765198,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:46:27] local.INFO: GPS data processed {"connection_id":173719,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:46:27] local.INFO: Acknowledgment sent {"connection_id":173719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:46:35] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfd55a8012cec3ac00718ea80001e008f2d..."} 
[2026-09-04 20:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfd55a8012cec3ac00718ea80001e008f2d..."} 
[2026-09-04 20:46:35] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfd55a8012cec3ac00718ea80001e008f2d..."} 
[2026-09-04 20:46:35] local.INFO: Packet analysis {"connection_id":173720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfd"} 
[2026-09-04 20:46:35] local.INFO: Extracted packet for processing {"connection_id":173720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfd"} 
[2026-09-04 20:46:35] local.INFO: GPS Element Parsed {"raw_longitude":753679040,"raw_latitude":119073408,"longitude_deg":75.367904,"latitude_deg":11.9073408,"altitude":30,"angle":143,"satellites":45,"speed":39,"hex_longitude":"2cec3ac0","hex_latitude":"0718ea80","is_valid_coordinates":true} 
[2026-09-04 20:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864941312001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398548071438352384,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1431300226089007104,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788534937000,"timestamp_ms":1788534937000,"timestamp_seconds":1788534937,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfd55a8"} 
[2026-09-04 20:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 20:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864941312001,"66":27321,"115":206,"83":41216,"24":39,"16":398548071438352384,"44":-1431300226089007104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-09-04 20:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864941312001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:46:35] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-04 20:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398548071438352384,"km_value":398548071438352.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:46:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1431300226089007104,"description":"Unknown IO ID 44"} 
[2026-09-04 20:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864941312001,"power":27321,"unknown_115":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1431300226089007104}} 
[2026-09-04 20:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":173720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:46:35] local.INFO: GPS data processed {"connection_id":173720,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:46:35] local.INFO: Acknowledgment sent {"connection_id":173720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:46:47] local.INFO: TCP Data received {"connection_id":171029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:46:47] local.INFO: Processing buffer {"connection_id":171029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:46:47] local.INFO: IMEI packet received {"connection_id":171029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":171029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:46:48] local.INFO: TCP Data received {"connection_id":172435,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:46:48] local.INFO: Processing buffer {"connection_id":172435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:46:48] local.INFO: IMEI packet received {"connection_id":172435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":172435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:46:52] local.INFO: TCP Data received {"connection_id":171029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:46:52] local.INFO: Processing buffer {"connection_id":171029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:46:52] local.INFO: IMEI packet received {"connection_id":171029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":171029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:46:53] local.INFO: TCP Data received {"connection_id":171029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:46:53] local.INFO: Processing buffer {"connection_id":171029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:46:53] local.INFO: Packet analysis {"connection_id":171029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:46:53] local.INFO: Extracted packet for processing {"connection_id":171029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:46:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864852736001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788534882000,"timestamp_ms":1788534882000,"timestamp_seconds":1788534882,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfc7ed0"} 
[2026-09-04 20:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864852736001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864852736001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:46:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:46:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864852736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":171029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:46:53] local.INFO: GPS data processed {"connection_id":171029,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:46:53] local.INFO: Acknowledgment sent {"connection_id":171029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:46:53] local.INFO: TCP Data received {"connection_id":172435,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:46:53] local.INFO: Processing buffer {"connection_id":172435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:46:53] local.INFO: IMEI packet received {"connection_id":172435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":172435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:46:55] local.INFO: TCP Data received {"connection_id":172435,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:46:55] local.INFO: Processing buffer {"connection_id":172435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:46:55] local.INFO: Packet analysis {"connection_id":172435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:46:55] local.INFO: Extracted packet for processing {"connection_id":172435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:46:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864814592001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788534733000,"timestamp_ms":1788534733000,"timestamp_seconds":1788534733,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfa38c8"} 
[2026-09-04 20:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 20:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864814592001,"66":25462,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864814592001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:46:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:46:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864814592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":172435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:46:55] local.INFO: GPS data processed {"connection_id":172435,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:46:55] local.INFO: Acknowledgment sent {"connection_id":172435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:47:08] local.INFO: TCP Data received {"connection_id":173721,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:47:08] local.INFO: Processing buffer {"connection_id":173721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:47:08] local.INFO: IMEI packet received {"connection_id":173721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":173721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:47:13] local.INFO: TCP Data received {"connection_id":173721,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:47:13] local.INFO: Processing buffer {"connection_id":173721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:47:13] local.INFO: IMEI packet received {"connection_id":173721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":173721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:47:14] local.INFO: TCP Data received {"connection_id":173721,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfd74e8012cec4a800718d370001e009c2e..."} 
[2026-09-04 20:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfd74e8012cec4a800718d370001e009c2e..."} 
[2026-09-04 20:47:14] local.INFO: Processing buffer {"connection_id":173721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfd74e8012cec4a800718d370001e009c2e..."} 
[2026-09-04 20:47:14] local.INFO: Packet analysis {"connection_id":173721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfd"} 
[2026-09-04 20:47:14] local.INFO: Extracted packet for processing {"connection_id":173721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfd"} 
[2026-09-04 20:47:14] local.INFO: GPS Element Parsed {"raw_longitude":753683072,"raw_latitude":119067504,"longitude_deg":75.3683072,"latitude_deg":11.9067504,"altitude":30,"angle":156,"satellites":46,"speed":32,"hex_longitude":"2cec4a80","hex_latitude":"0718d370","is_valid_coordinates":true} 
[2026-09-04 20:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864943872001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398548415035736064,"note":"Value kept but may cause issues"} 
[2026-09-04 20:47:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1424615195394015232,"note":"Value kept but may cause issues"} 
[2026-09-04 20:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788534945000,"timestamp_ms":1788534945000,"timestamp_seconds":1788534945,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfd74e8"} 
[2026-09-04 20:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 20:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864943872001,"66":27463,"115":206,"83":41216,"24":32,"16":398548415035736064,"44":-1424615195394015232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-09-04 20:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864943872001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:47:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-04 20:47:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398548415035736064,"km_value":398548415035736.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:47:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1424615195394015232,"description":"Unknown IO ID 44"} 
[2026-09-04 20:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864943872001,"power":27463,"unknown_115":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1424615195394015232}} 
[2026-09-04 20:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":173721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:47:14] local.INFO: GPS data processed {"connection_id":173721,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:47:14] local.INFO: Acknowledgment sent {"connection_id":173721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:47:24] local.INFO: TCP Data received {"connection_id":171029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:47:24] local.INFO: Processing buffer {"connection_id":171029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:47:24] local.INFO: Packet analysis {"connection_id":171029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:47:24] local.INFO: Extracted packet for processing {"connection_id":171029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:47:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864852736001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788534882000,"timestamp_ms":1788534882000,"timestamp_seconds":1788534882,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfc7ed0"} 
[2026-09-04 20:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864852736001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864852736001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:47:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:47:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864852736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":171029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:47:24] local.INFO: GPS data processed {"connection_id":171029,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:47:24] local.INFO: Acknowledgment sent {"connection_id":171029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:47:27] local.INFO: TCP Data received {"connection_id":172435,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:47:27] local.INFO: Processing buffer {"connection_id":172435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfa38c8012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:47:27] local.INFO: Packet analysis {"connection_id":172435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:47:27] local.INFO: Extracted packet for processing {"connection_id":172435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfa"} 
[2026-09-04 20:47:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864814592001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788534733000,"timestamp_ms":1788534733000,"timestamp_seconds":1788534733,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfa38c8"} 
[2026-09-04 20:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 20:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864814592001,"66":25462,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864814592001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:47:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:47:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864814592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":172435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:47:27] local.INFO: GPS data processed {"connection_id":172435,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:47:27] local.INFO: Acknowledgment sent {"connection_id":172435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:47:47] local.INFO: TCP Data received {"connection_id":171318,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:47:47] local.INFO: Processing buffer {"connection_id":171318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:47:47] local.INFO: IMEI packet received {"connection_id":171318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":171318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:47:52] local.INFO: TCP Data received {"connection_id":171318,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:47:52] local.INFO: Processing buffer {"connection_id":171318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:47:52] local.INFO: IMEI packet received {"connection_id":171318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":171318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:47:52] local.INFO: TCP Data received {"connection_id":171319,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:47:52] local.INFO: Processing buffer {"connection_id":171319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:47:52] local.INFO: IMEI packet received {"connection_id":171319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":171319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:47:53] local.INFO: TCP Data received {"connection_id":171318,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:47:53] local.INFO: Processing buffer {"connection_id":171318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:47:53] local.INFO: Packet analysis {"connection_id":171318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:47:53] local.INFO: Extracted packet for processing {"connection_id":171318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864852736001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788534882000,"timestamp_ms":1788534882000,"timestamp_seconds":1788534882,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfc7ed0"} 
[2026-09-04 20:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864852736001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864852736001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:47:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:47:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864852736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":171318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:47:53] local.INFO: GPS data processed {"connection_id":171318,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:47:53] local.INFO: Acknowledgment sent {"connection_id":171318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:47:53] local.INFO: TCP Data received {"connection_id":171319,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:47:53] local.INFO: Processing buffer {"connection_id":171319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:47:53] local.INFO: IMEI packet received {"connection_id":171319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":171319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:47:58] local.INFO: TCP Data received {"connection_id":171320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:47:58] local.INFO: Processing buffer {"connection_id":171320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:47:58] local.INFO: IMEI packet received {"connection_id":171320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":171320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:47:58] local.INFO: TCP Data received {"connection_id":171319,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:47:58] local.INFO: Processing buffer {"connection_id":171319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:47:58] local.INFO: IMEI packet received {"connection_id":171319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":171319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:48:00] local.INFO: TCP Data received {"connection_id":171319,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:48:00] local.INFO: Processing buffer {"connection_id":171319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:48:00] local.INFO: Packet analysis {"connection_id":171319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:48:00] local.INFO: Extracted packet for processing {"connection_id":171319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:48:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864891648001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788535034000,"timestamp_ms":1788535034000,"timestamp_seconds":1788535034,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfed090"} 
[2026-09-04 20:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171319,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171319,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864891648001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864891648001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:48:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:48:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864891648001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":171319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765206,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:48:01] local.INFO: GPS data processed {"connection_id":171319,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:48:01] local.INFO: Acknowledgment sent {"connection_id":171319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:48:04] local.INFO: TCP Data received {"connection_id":171319,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:48:04] local.INFO: Processing buffer {"connection_id":171319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:48:04] local.INFO: Packet analysis {"connection_id":171319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:48:04] local.INFO: Extracted packet for processing {"connection_id":171319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864891648001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535034000,"timestamp_ms":1788535034000,"timestamp_seconds":1788535034,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfed090"} 
[2026-09-04 20:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171319,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171319,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864891648001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864891648001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:48:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:48:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864891648001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":171319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:48:04] local.INFO: GPS data processed {"connection_id":171319,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:48:04] local.INFO: Acknowledgment sent {"connection_id":171319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:48:04] local.INFO: TCP Data received {"connection_id":171320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:48:04] local.INFO: Processing buffer {"connection_id":171320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:48:04] local.INFO: IMEI packet received {"connection_id":171320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":171320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:48:05] local.INFO: TCP Data received {"connection_id":171320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfd9bf8012cec56400718b1e8001e00a02b..."} 
[2026-09-04 20:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfd9bf8012cec56400718b1e8001e00a02b..."} 
[2026-09-04 20:48:05] local.INFO: Processing buffer {"connection_id":171320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfd9bf8012cec56400718b1e8001e00a02b..."} 
[2026-09-04 20:48:05] local.INFO: Packet analysis {"connection_id":171320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfd"} 
[2026-09-04 20:48:05] local.INFO: Extracted packet for processing {"connection_id":171320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfd"} 
[2026-09-04 20:48:05] local.INFO: GPS Element Parsed {"raw_longitude":753686080,"raw_latitude":119058920,"longitude_deg":75.368608,"latitude_deg":11.905892,"altitude":30,"angle":160,"satellites":43,"speed":38,"hex_longitude":"2cec5640","hex_latitude":"0718b1e8","is_valid_coordinates":true} 
[2026-09-04 20:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864945920001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398548853122400256,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1420181964512333824,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788534955000,"timestamp_ms":1788534955000,"timestamp_seconds":1788534955,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfd9bf8"} 
[2026-09-04 20:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 20:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864945920001,"66":27365,"115":206,"83":41216,"24":38,"16":398548853122400256,"44":-1420181964512333824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-09-04 20:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864945920001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:48:05] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-04 20:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398548853122400256,"km_value":398548853122400.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:48:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1420181964512333824,"description":"Unknown IO ID 44"} 
[2026-09-04 20:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864945920001,"power":27365,"unknown_115":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1420181964512333824}} 
[2026-09-04 20:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":171320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:48:05] local.INFO: GPS data processed {"connection_id":171320,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:48:05] local.INFO: Acknowledgment sent {"connection_id":171320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:48:24] local.INFO: TCP Data received {"connection_id":171318,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:48:24] local.INFO: Processing buffer {"connection_id":171318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:48:24] local.INFO: Packet analysis {"connection_id":171318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:48:24] local.INFO: Extracted packet for processing {"connection_id":171318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:48:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864852736001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788534882000,"timestamp_ms":1788534882000,"timestamp_seconds":1788534882,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfc7ed0"} 
[2026-09-04 20:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864852736001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864852736001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:48:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:48:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864852736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":171318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:48:24] local.INFO: GPS data processed {"connection_id":171318,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:48:24] local.INFO: Acknowledgment sent {"connection_id":171318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:48:38] local.INFO: TCP Data received {"connection_id":171320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cff0f10012cec4d4007176db8002300b82d..."} 
[2026-09-04 20:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cff0f10012cec4d4007176db8002300b82d..."} 
[2026-09-04 20:48:38] local.INFO: Processing buffer {"connection_id":171320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cff0f10012cec4d4007176db8002300b82d..."} 
[2026-09-04 20:48:38] local.INFO: Packet analysis {"connection_id":171320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cff"} 
[2026-09-04 20:48:38] local.INFO: Extracted packet for processing {"connection_id":171320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cff"} 
[2026-09-04 20:48:38] local.INFO: GPS Element Parsed {"raw_longitude":753683776,"raw_latitude":118975928,"longitude_deg":75.3683776,"latitude_deg":11.8975928,"altitude":35,"angle":184,"satellites":45,"speed":34,"hex_longitude":"2cec4d40","hex_latitude":"07176db8","is_valid_coordinates":true} 
[2026-09-04 20:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864969728001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398552997765840896,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418704220905598976,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788535050000,"timestamp_ms":1788535050000,"timestamp_seconds":1788535050,"priority":1,"record_length":96,"hex_timestamp":"000001a06cff0f10"} 
[2026-09-04 20:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 20:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864969728001,"66":27158,"65":206,"83":41216,"24":34,"16":398552997765840896,"44":-1418704220905598976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,83,24,16,44]} 
[2026-09-04 20:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864969728001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:48:38] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-04 20:48:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398552997765840896,"km_value":398552997765840.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:48:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418704220905598976,"description":"Unknown IO ID 44"} 
[2026-09-04 20:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864969728001,"power":27158,"unknown_65":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1418704220905598976}} 
[2026-09-04 20:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":171320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:48:38] local.INFO: GPS data processed {"connection_id":171320,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:48:38] local.INFO: Acknowledgment sent {"connection_id":171320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:48:49] local.INFO: TCP Data received {"connection_id":172436,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:48:49] local.INFO: Processing buffer {"connection_id":172436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:48:49] local.INFO: IMEI packet received {"connection_id":172436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":172436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:48:52] local.INFO: TCP Data received {"connection_id":172437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:48:52] local.INFO: Processing buffer {"connection_id":172437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:48:52] local.INFO: IMEI packet received {"connection_id":172437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":172437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:48:53] local.INFO: TCP Data received {"connection_id":172436,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:48:53] local.INFO: Processing buffer {"connection_id":172436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:48:53] local.INFO: IMEI packet received {"connection_id":172436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":172436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:48:55] local.INFO: TCP Data received {"connection_id":172436,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:48:55] local.INFO: Processing buffer {"connection_id":172436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:48:55] local.INFO: Packet analysis {"connection_id":172436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:48:55] local.INFO: Extracted packet for processing {"connection_id":172436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:48:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864891648001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788535034000,"timestamp_ms":1788535034000,"timestamp_seconds":1788535034,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfed090"} 
[2026-09-04 20:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864891648001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864891648001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:48:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864891648001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":172436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765211,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:48:55] local.INFO: GPS data processed {"connection_id":172436,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:48:55] local.INFO: Acknowledgment sent {"connection_id":172436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:48:57] local.INFO: TCP Data received {"connection_id":172437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:48:57] local.INFO: Processing buffer {"connection_id":172437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:48:57] local.INFO: IMEI packet received {"connection_id":172437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":172437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:48:58] local.INFO: TCP Data received {"connection_id":171030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:48:58] local.INFO: Processing buffer {"connection_id":171030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:48:58] local.INFO: IMEI packet received {"connection_id":171030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":171030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:48:58] local.INFO: TCP Data received {"connection_id":172437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:48:58] local.INFO: Processing buffer {"connection_id":172437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:48:58] local.INFO: Packet analysis {"connection_id":172437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:48:58] local.INFO: Extracted packet for processing {"connection_id":172437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:48:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864852736001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788534882000,"timestamp_ms":1788534882000,"timestamp_seconds":1788534882,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfc7ed0"} 
[2026-09-04 20:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864852736001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864852736001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:48:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864852736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":172437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:48:58] local.INFO: GPS data processed {"connection_id":172437,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:48:58] local.INFO: Acknowledgment sent {"connection_id":172437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:48:59] local.INFO: TCP Data received {"connection_id":171030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:48:59] local.INFO: Processing buffer {"connection_id":171030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:48:59] local.INFO: IMEI packet received {"connection_id":171030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":171030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:49:03] local.INFO: TCP Data received {"connection_id":172437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:49:03] local.INFO: Processing buffer {"connection_id":172437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:49:03] local.INFO: Packet analysis {"connection_id":172437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:49:03] local.INFO: Extracted packet for processing {"connection_id":172437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864852736001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788534882000,"timestamp_ms":1788534882000,"timestamp_seconds":1788534882,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfc7ed0"} 
[2026-09-04 20:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864852736001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864852736001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:49:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864852736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":172437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:49:03] local.INFO: GPS data processed {"connection_id":172437,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:49:03] local.INFO: Acknowledgment sent {"connection_id":172437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:49:03] local.INFO: TCP Data received {"connection_id":171030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:49:03] local.INFO: Processing buffer {"connection_id":171030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:49:03] local.INFO: IMEI packet received {"connection_id":171030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":171030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:49:04] local.INFO: TCP Data received {"connection_id":171030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cff45c0012cec498007174918002300bb2c..."} 
[2026-09-04 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cff45c0012cec498007174918002300bb2c..."} 
[2026-09-04 20:49:04] local.INFO: Processing buffer {"connection_id":171030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cff45c0012cec498007174918002300bb2c..."} 
[2026-09-04 20:49:04] local.INFO: Packet analysis {"connection_id":171030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cff"} 
[2026-09-04 20:49:04] local.INFO: Extracted packet for processing {"connection_id":171030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cff"} 
[2026-09-04 20:49:04] local.INFO: GPS Element Parsed {"raw_longitude":753682816,"raw_latitude":118966552,"longitude_deg":75.3682816,"latitude_deg":11.8966552,"altitude":35,"angle":187,"satellites":44,"speed":27,"hex_longitude":"2cec4980","hex_latitude":"07174918","is_valid_coordinates":true} 
[2026-09-04 20:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864972800001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398553457327341568,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1419407908349822976,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535064000,"timestamp_ms":1788535064000,"timestamp_seconds":1788535064,"priority":1,"record_length":96,"hex_timestamp":"000001a06cff45c0"} 
[2026-09-04 20:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 20:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864972800001,"66":27463,"65":206,"83":41216,"24":27,"16":398553457327341568,"44":-1419407908349822976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,83,24,16,44]} 
[2026-09-04 20:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864972800001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:49:04] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-04 20:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398553457327341568,"km_value":398553457327341.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:49:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1419407908349822976,"description":"Unknown IO ID 44"} 
[2026-09-04 20:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864972800001,"power":27463,"unknown_65":206,"unknown_83":41216,"ignition":27,"odometer":null,"unknown_44":-1419407908349822976}} 
[2026-09-04 20:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":171030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:49:04] local.INFO: GPS data processed {"connection_id":171030,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:49:04] local.INFO: Acknowledgment sent {"connection_id":171030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:49:26] local.INFO: TCP Data received {"connection_id":172436,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:49:26] local.INFO: Processing buffer {"connection_id":172436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:49:26] local.INFO: Packet analysis {"connection_id":172436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:49:26] local.INFO: Extracted packet for processing {"connection_id":172436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:49:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864891648001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788535034000,"timestamp_ms":1788535034000,"timestamp_seconds":1788535034,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfed090"} 
[2026-09-04 20:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864891648001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864891648001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:49:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:49:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864891648001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":172436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765215,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:49:26] local.INFO: GPS data processed {"connection_id":172436,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:49:26] local.INFO: Acknowledgment sent {"connection_id":172436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:49:35] local.INFO: TCP Data received {"connection_id":171030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cff70b8012cec468007172628002600b92b..."} 
[2026-09-04 20:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cff70b8012cec468007172628002600b92b..."} 
[2026-09-04 20:49:35] local.INFO: Processing buffer {"connection_id":171030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cff70b8012cec468007172628002600b92b..."} 
[2026-09-04 20:49:35] local.INFO: Packet analysis {"connection_id":171030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cff"} 
[2026-09-04 20:49:35] local.INFO: Extracted packet for processing {"connection_id":171030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cff"} 
[2026-09-04 20:49:35] local.INFO: GPS Element Parsed {"raw_longitude":753682048,"raw_latitude":118957608,"longitude_deg":75.3682048,"latitude_deg":11.8957608,"altitude":38,"angle":185,"satellites":43,"speed":34,"hex_longitude":"2cec4680","hex_latitude":"07172628","is_valid_coordinates":true} 
[2026-09-04 20:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864976384001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398553891119038464,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1420463439514888192,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788535075000,"timestamp_ms":1788535075000,"timestamp_seconds":1788535075,"priority":1,"record_length":96,"hex_timestamp":"000001a06cff70b8"} 
[2026-09-04 20:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 20:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864976384001,"66":27321,"193":206,"83":41216,"24":34,"16":398553891119038464,"44":-1420463439514888192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-09-04 20:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864976384001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:49:35] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-04 20:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398553891119038464,"km_value":398553891119038.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:49:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1420463439514888192,"description":"Unknown IO ID 44"} 
[2026-09-04 20:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864976384001,"power":27321,"unknown_193":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1420463439514888192}} 
[2026-09-04 20:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":171030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:49:35] local.INFO: GPS data processed {"connection_id":171030,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:49:35] local.INFO: Acknowledgment sent {"connection_id":171030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:49:47] local.INFO: TCP Data received {"connection_id":171031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:49:47] local.INFO: Processing buffer {"connection_id":171031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:49:47] local.INFO: IMEI packet received {"connection_id":171031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":171031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:49:48] local.INFO: TCP Data received {"connection_id":171321,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:49:48] local.INFO: Processing buffer {"connection_id":171321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:49:48] local.INFO: IMEI packet received {"connection_id":171321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":171321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:49:52] local.INFO: TCP Data received {"connection_id":171031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:49:52] local.INFO: Processing buffer {"connection_id":171031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:49:52] local.INFO: IMEI packet received {"connection_id":171031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":171031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:49:53] local.INFO: TCP Data received {"connection_id":171031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:49:53] local.INFO: Processing buffer {"connection_id":171031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfc7ed0012d1965c0071fef80004001152a..."} 
[2026-09-04 20:49:53] local.INFO: Packet analysis {"connection_id":171031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:49:53] local.INFO: Extracted packet for processing {"connection_id":171031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfc"} 
[2026-09-04 20:49:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864852736001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788534882000,"timestamp_ms":1788534882000,"timestamp_seconds":1788534882,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfc7ed0"} 
[2026-09-04 20:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 20:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864852736001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864852736001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:49:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:49:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864852736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":171031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:49:53] local.INFO: GPS data processed {"connection_id":171031,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:49:53] local.INFO: Acknowledgment sent {"connection_id":171031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:49:53] local.INFO: TCP Data received {"connection_id":171321,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:49:53] local.INFO: Processing buffer {"connection_id":171321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:49:53] local.INFO: IMEI packet received {"connection_id":171321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":171321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:49:55] local.INFO: TCP Data received {"connection_id":171321,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:49:55] local.INFO: Processing buffer {"connection_id":171321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:49:55] local.INFO: Packet analysis {"connection_id":171321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:49:55] local.INFO: Extracted packet for processing {"connection_id":171321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864891648001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788535034000,"timestamp_ms":1788535034000,"timestamp_seconds":1788535034,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfed090"} 
[2026-09-04 20:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864891648001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864891648001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:49:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:49:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864891648001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":171321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:49:55] local.INFO: GPS data processed {"connection_id":171321,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:49:55] local.INFO: Acknowledgment sent {"connection_id":171321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:49:58] local.INFO: TCP Data received {"connection_id":171322,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:49:58] local.INFO: Processing buffer {"connection_id":171322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:49:58] local.INFO: IMEI packet received {"connection_id":171322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":171322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:50:03] local.INFO: TCP Data received {"connection_id":171322,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:50:03] local.INFO: Processing buffer {"connection_id":171322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:50:03] local.INFO: IMEI packet received {"connection_id":171322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":171322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:50:04] local.INFO: TCP Data received {"connection_id":171322,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cff97c8012cec4440071703a0002500b32f..."} 
[2026-09-04 20:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cff97c8012cec4440071703a0002500b32f..."} 
[2026-09-04 20:50:04] local.INFO: Processing buffer {"connection_id":171322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cff97c8012cec4440071703a0002500b32f..."} 
[2026-09-04 20:50:04] local.INFO: Packet analysis {"connection_id":171322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cff"} 
[2026-09-04 20:50:04] local.INFO: Extracted packet for processing {"connection_id":171322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cff"} 
[2026-09-04 20:50:04] local.INFO: GPS Element Parsed {"raw_longitude":753681472,"raw_latitude":118948768,"longitude_deg":75.3681472,"latitude_deg":11.8948768,"altitude":37,"angle":179,"satellites":47,"speed":26,"hex_longitude":"2cec4440","hex_latitude":"071703a0","is_valid_coordinates":true} 
[2026-09-04 20:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864979200001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398554320615768064,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421307864447309824,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535085000,"timestamp_ms":1788535085000,"timestamp_seconds":1788535085,"priority":1,"record_length":96,"hex_timestamp":"000001a06cff97c8"} 
[2026-09-04 20:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 20:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864979200001,"66":27180,"193":206,"83":41216,"24":26,"16":398554320615768064,"44":-1421307864447309824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-09-04 20:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864979200001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:50:04] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-04 20:50:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398554320615768064,"km_value":398554320615768.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:50:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421307864447309824,"description":"Unknown IO ID 44"} 
[2026-09-04 20:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864979200001,"power":27180,"unknown_193":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1421307864447309824}} 
[2026-09-04 20:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":171322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:50:04] local.INFO: GPS data processed {"connection_id":171322,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:50:04] local.INFO: Acknowledgment sent {"connection_id":171322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:50:23] local.INFO: TCP Data received {"connection_id":171031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:50:23] local.INFO: Processing buffer {"connection_id":171031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:50:23] local.INFO: Packet analysis {"connection_id":171031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:50:23] local.INFO: Extracted packet for processing {"connection_id":171031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:50:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864929792001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788535183000,"timestamp_ms":1788535183000,"timestamp_seconds":1788535183,"priority":1,"record_length":96,"hex_timestamp":"000001a06d011698"} 
[2026-09-04 20:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864929792001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864929792001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:50:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:50:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864929792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":171031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:50:24] local.INFO: GPS data processed {"connection_id":171031,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:50:24] local.INFO: Acknowledgment sent {"connection_id":171031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:50:26] local.INFO: TCP Data received {"connection_id":171321,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:50:26] local.INFO: Processing buffer {"connection_id":171321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:50:26] local.INFO: Packet analysis {"connection_id":171321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:50:26] local.INFO: Extracted packet for processing {"connection_id":171321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:50:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864891648001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788535034000,"timestamp_ms":1788535034000,"timestamp_seconds":1788535034,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfed090"} 
[2026-09-04 20:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864891648001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864891648001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:50:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:50:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864891648001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":171321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:50:26] local.INFO: GPS data processed {"connection_id":171321,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:50:26] local.INFO: Acknowledgment sent {"connection_id":171321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:50:34] local.INFO: TCP Data received {"connection_id":171322,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06cffaf38012cec46800716f3f8002400a631..."} 
[2026-09-04 20:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cffaf38012cec46800716f3f8002400a631..."} 
[2026-09-04 20:50:34] local.INFO: Processing buffer {"connection_id":171322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cffaf38012cec46800716f3f8002400a631..."} 
[2026-09-04 20:50:34] local.INFO: Packet analysis {"connection_id":171322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cff"} 
[2026-09-04 20:50:34] local.INFO: Extracted packet for processing {"connection_id":171322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cff"} 
[2026-09-04 20:50:34] local.INFO: GPS Element Parsed {"raw_longitude":753682048,"raw_latitude":118944760,"longitude_deg":75.3682048,"latitude_deg":11.894476,"altitude":36,"angle":166,"satellites":49,"speed":33,"hex_longitude":"2cec4680","hex_latitude":"0716f3f8","is_valid_coordinates":true} 
[2026-09-04 20:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864981760001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398554518184263680,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421941183147171840,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788535091000,"timestamp_ms":1788535091000,"timestamp_seconds":1788535091,"priority":1,"record_length":96,"hex_timestamp":"000001a06cffaf38"} 
[2026-09-04 20:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 20:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864981760001,"66":27300,"193":206,"83":41216,"24":33,"16":398554518184263680,"44":-1421941183147171840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-09-04 20:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864981760001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:50:34] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-04 20:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398554518184263680,"km_value":398554518184263.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:50:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421941183147171840,"description":"Unknown IO ID 44"} 
[2026-09-04 20:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864981760001,"power":27300,"unknown_193":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1421941183147171840}} 
[2026-09-04 20:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":171322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:50:34] local.INFO: GPS data processed {"connection_id":171322,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:50:34] local.INFO: Acknowledgment sent {"connection_id":171322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:50:47] local.INFO: TCP Data received {"connection_id":173722,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:50:47] local.INFO: Processing buffer {"connection_id":173722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:50:47] local.INFO: IMEI packet received {"connection_id":173722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":173722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:50:48] local.INFO: TCP Data received {"connection_id":173723,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:50:48] local.INFO: Processing buffer {"connection_id":173723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:50:48] local.INFO: IMEI packet received {"connection_id":173723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":173723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:50:52] local.INFO: TCP Data received {"connection_id":173722,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:50:52] local.INFO: Processing buffer {"connection_id":173722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:50:52] local.INFO: IMEI packet received {"connection_id":173722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":173722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:50:53] local.INFO: TCP Data received {"connection_id":173722,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:50:53] local.INFO: Processing buffer {"connection_id":173722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:50:53] local.INFO: Packet analysis {"connection_id":173722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:50:53] local.INFO: Extracted packet for processing {"connection_id":173722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:50:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864929792001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788535183000,"timestamp_ms":1788535183000,"timestamp_seconds":1788535183,"priority":1,"record_length":96,"hex_timestamp":"000001a06d011698"} 
[2026-09-04 20:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864929792001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864929792001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:50:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:50:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864929792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":173722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:50:53] local.INFO: GPS data processed {"connection_id":173722,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:50:53] local.INFO: Acknowledgment sent {"connection_id":173722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:50:53] local.INFO: TCP Data received {"connection_id":173723,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:50:53] local.INFO: Processing buffer {"connection_id":173723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:50:53] local.INFO: IMEI packet received {"connection_id":173723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":173723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:50:54] local.INFO: TCP Data received {"connection_id":173723,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:50:54] local.INFO: Processing buffer {"connection_id":173723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:50:54] local.INFO: Packet analysis {"connection_id":173723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:50:54] local.INFO: Extracted packet for processing {"connection_id":173723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:50:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864891648001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788535034000,"timestamp_ms":1788535034000,"timestamp_seconds":1788535034,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfed090"} 
[2026-09-04 20:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864891648001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864891648001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:50:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:50:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864891648001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":173723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:50:54] local.INFO: GPS data processed {"connection_id":173723,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:50:54] local.INFO: Acknowledgment sent {"connection_id":173723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:51:08] local.INFO: TCP Data received {"connection_id":171032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:51:08] local.INFO: Processing buffer {"connection_id":171032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:51:08] local.INFO: IMEI packet received {"connection_id":171032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":171032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:51:13] local.INFO: TCP Data received {"connection_id":171032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:51:13] local.INFO: Processing buffer {"connection_id":171032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:51:13] local.INFO: IMEI packet received {"connection_id":171032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":171032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:51:14] local.INFO: TCP Data received {"connection_id":171032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d015ce8012cece800071598b0001d009a2f..."} 
[2026-09-04 20:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d015ce8012cece800071598b0001d009a2f..."} 
[2026-09-04 20:51:14] local.INFO: Processing buffer {"connection_id":171032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d015ce8012cece800071598b0001d009a2f..."} 
[2026-09-04 20:51:14] local.INFO: Packet analysis {"connection_id":171032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:51:14] local.INFO: Extracted packet for processing {"connection_id":171032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":753723392,"raw_latitude":118855856,"longitude_deg":75.3723392,"latitude_deg":11.8855856,"altitude":29,"angle":154,"satellites":47,"speed":29,"hex_longitude":"2cece800","hex_latitude":"071598b0","is_valid_coordinates":true} 
[2026-09-04 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865008640001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398559289892929536,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1379790305406437376,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788535201000,"timestamp_ms":1788535201000,"timestamp_seconds":1788535201,"priority":1,"record_length":96,"hex_timestamp":"000001a06d015ce8"} 
[2026-09-04 20:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 20:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865008640001,"66":27300,"192":206,"83":41216,"24":29,"16":398559289892929536,"44":-1379790305406437376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-04 20:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865008640001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:51:14] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-04 20:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398559289892929536,"km_value":398559289892929.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:51:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1379790305406437376,"description":"Unknown IO ID 44"} 
[2026-09-04 20:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865008640001,"power":27300,"unknown_192":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1379790305406437376}} 
[2026-09-04 20:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":171032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:51:14] local.INFO: GPS data processed {"connection_id":171032,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:51:14] local.INFO: Acknowledgment sent {"connection_id":171032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:51:15] local.INFO: TCP Data received {"connection_id":171032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d018bc8012cecfac0071579c8001a00942c..."} 
[2026-09-04 20:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d018bc8012cecfac0071579c8001a00942c..."} 
[2026-09-04 20:51:15] local.INFO: Processing buffer {"connection_id":171032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d018bc8012cecfac0071579c8001a00942c..."} 
[2026-09-04 20:51:15] local.INFO: Packet analysis {"connection_id":171032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:51:15] local.INFO: Extracted packet for processing {"connection_id":171032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:51:15] local.INFO: GPS Element Parsed {"raw_longitude":753728192,"raw_latitude":118847944,"longitude_deg":75.3728192,"latitude_deg":11.8847944,"altitude":26,"angle":148,"satellites":44,"speed":34,"hex_longitude":"2cecfac0","hex_latitude":"071579c8","is_valid_coordinates":true} 
[2026-09-04 20:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865011456001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398559736569528320,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1375849655734587392,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788535213000,"timestamp_ms":1788535213000,"timestamp_seconds":1788535213,"priority":1,"record_length":96,"hex_timestamp":"000001a06d018bc8"} 
[2026-09-04 20:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 20:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865011456001,"66":27397,"192":206,"83":41216,"24":34,"16":398559736569528320,"44":-1375849655734587392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-04 20:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865011456001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:51:15] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-04 20:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398559736569528320,"km_value":398559736569528.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:51:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1375849655734587392,"description":"Unknown IO ID 44"} 
[2026-09-04 20:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865011456001,"power":27397,"unknown_192":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1375849655734587392}} 
[2026-09-04 20:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":171032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:51:15] local.INFO: GPS data processed {"connection_id":171032,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:51:15] local.INFO: Acknowledgment sent {"connection_id":171032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:51:24] local.INFO: TCP Data received {"connection_id":173722,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:51:24] local.INFO: Processing buffer {"connection_id":173722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:51:24] local.INFO: Packet analysis {"connection_id":173722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:51:24] local.INFO: Extracted packet for processing {"connection_id":173722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:51:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864929792001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788535183000,"timestamp_ms":1788535183000,"timestamp_seconds":1788535183,"priority":1,"record_length":96,"hex_timestamp":"000001a06d011698"} 
[2026-09-04 20:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864929792001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864929792001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:51:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:51:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864929792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":173722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:51:24] local.INFO: GPS data processed {"connection_id":173722,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:51:24] local.INFO: Acknowledgment sent {"connection_id":173722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:51:26] local.INFO: TCP Data received {"connection_id":173723,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:51:26] local.INFO: Processing buffer {"connection_id":173723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:51:26] local.INFO: Packet analysis {"connection_id":173723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:51:26] local.INFO: Extracted packet for processing {"connection_id":173723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:51:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864891648001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788535034000,"timestamp_ms":1788535034000,"timestamp_seconds":1788535034,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfed090"} 
[2026-09-04 20:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864891648001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864891648001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:51:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:51:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864891648001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":173723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:51:26] local.INFO: GPS data processed {"connection_id":173723,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:51:26] local.INFO: Acknowledgment sent {"connection_id":173723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:51:47] local.INFO: TCP Data received {"connection_id":172438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:51:47] local.INFO: Processing buffer {"connection_id":172438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:51:47] local.INFO: IMEI packet received {"connection_id":172438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":172438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:51:52] local.INFO: TCP Data received {"connection_id":172438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:51:52] local.INFO: Processing buffer {"connection_id":172438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:51:52] local.INFO: IMEI packet received {"connection_id":172438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":172438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:51:53] local.INFO: TCP Data received {"connection_id":172438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:51:53] local.INFO: Processing buffer {"connection_id":172438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:51:53] local.INFO: Packet analysis {"connection_id":172438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:51:53] local.INFO: Extracted packet for processing {"connection_id":172438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:51:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864929792001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788535183000,"timestamp_ms":1788535183000,"timestamp_seconds":1788535183,"priority":1,"record_length":96,"hex_timestamp":"000001a06d011698"} 
[2026-09-04 20:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864929792001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864929792001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:51:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:51:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864929792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":172438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:51:53] local.INFO: GPS data processed {"connection_id":172438,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:51:53] local.INFO: Acknowledgment sent {"connection_id":172438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:51:53] local.INFO: TCP Data received {"connection_id":171323,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:51:53] local.INFO: Processing buffer {"connection_id":171323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:51:53] local.INFO: IMEI packet received {"connection_id":171323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":171323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:51:58] local.INFO: TCP Data received {"connection_id":171033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:51:58] local.INFO: Processing buffer {"connection_id":171033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:51:58] local.INFO: IMEI packet received {"connection_id":171033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":171033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:51:58] local.INFO: TCP Data received {"connection_id":171323,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:51:58] local.INFO: Processing buffer {"connection_id":171323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:51:58] local.INFO: IMEI packet received {"connection_id":171323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":171323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:52:00] local.INFO: TCP Data received {"connection_id":171323,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:52:00] local.INFO: Processing buffer {"connection_id":171323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:52:00] local.INFO: Packet analysis {"connection_id":171323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:52:00] local.INFO: Extracted packet for processing {"connection_id":171323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:52:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864891648001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788535034000,"timestamp_ms":1788535034000,"timestamp_seconds":1788535034,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfed090"} 
[2026-09-04 20:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864891648001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864891648001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:52:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:52:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864891648001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":171323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765230,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:52:01] local.INFO: GPS data processed {"connection_id":171323,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:52:01] local.INFO: Acknowledgment sent {"connection_id":171323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:52:03] local.INFO: TCP Data received {"connection_id":171033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:52:03] local.INFO: Processing buffer {"connection_id":171033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:52:03] local.INFO: IMEI packet received {"connection_id":171033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":171033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:52:04] local.INFO: TCP Data received {"connection_id":171323,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:52:04] local.INFO: Processing buffer {"connection_id":171323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06cfed090012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:52:04] local.INFO: Packet analysis {"connection_id":171323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:52:04] local.INFO: Extracted packet for processing {"connection_id":171323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06cfe"} 
[2026-09-04 20:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864891648001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535034000,"timestamp_ms":1788535034000,"timestamp_seconds":1788535034,"priority":1,"record_length":96,"hex_timestamp":"000001a06cfed090"} 
[2026-09-04 20:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864891648001,"66":25397,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864891648001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:52:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:52:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864891648001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":171323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:52:04] local.INFO: GPS data processed {"connection_id":171323,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:52:04] local.INFO: Acknowledgment sent {"connection_id":171323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:52:05] local.INFO: TCP Data received {"connection_id":171033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d01b6c0012ced0ac007155af8001a009f2f..."} 
[2026-09-04 20:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d01b6c0012ced0ac007155af8001a009f2f..."} 
[2026-09-04 20:52:05] local.INFO: Processing buffer {"connection_id":171033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d01b6c0012ced0ac007155af8001a009f2f..."} 
[2026-09-04 20:52:05] local.INFO: Packet analysis {"connection_id":171033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:52:05] local.INFO: Extracted packet for processing {"connection_id":171033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:52:05] local.INFO: GPS Element Parsed {"raw_longitude":753732288,"raw_latitude":118840056,"longitude_deg":75.3732288,"latitude_deg":11.8840056,"altitude":26,"angle":159,"satellites":47,"speed":30,"hex_longitude":"2ced0ac0","hex_latitude":"07155af8","is_valid_coordinates":true} 
[2026-09-04 20:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865014528001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398560166066257920,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1370571999923288064,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788535224000,"timestamp_ms":1788535224000,"timestamp_seconds":1788535224,"priority":1,"record_length":96,"hex_timestamp":"000001a06d01b6c0"} 
[2026-09-04 20:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 20:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865014528001,"66":27463,"192":206,"83":41216,"24":30,"16":398560166066257920,"44":-1370571999923288064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-04 20:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865014528001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:52:05] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-04 20:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398560166066257920,"km_value":398560166066257.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:52:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1370571999923288064,"description":"Unknown IO ID 44"} 
[2026-09-04 20:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865014528001,"power":27463,"unknown_192":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1370571999923288064}} 
[2026-09-04 20:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":171033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:52:05] local.INFO: GPS data processed {"connection_id":171033,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:52:05] local.INFO: Acknowledgment sent {"connection_id":171033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:52:24] local.INFO: TCP Data received {"connection_id":172438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:52:24] local.INFO: Processing buffer {"connection_id":172438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:52:24] local.INFO: Packet analysis {"connection_id":172438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:52:24] local.INFO: Extracted packet for processing {"connection_id":172438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864929792001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788535183000,"timestamp_ms":1788535183000,"timestamp_seconds":1788535183,"priority":1,"record_length":96,"hex_timestamp":"000001a06d011698"} 
[2026-09-04 20:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864929792001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864929792001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:52:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:52:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864929792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":172438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:52:24] local.INFO: GPS data processed {"connection_id":172438,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:52:24] local.INFO: Acknowledgment sent {"connection_id":172438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:52:35] local.INFO: TCP Data received {"connection_id":171033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d01e1b8012ced1840071537c0001900a12f..."} 
[2026-09-04 20:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d01e1b8012ced1840071537c0001900a12f..."} 
[2026-09-04 20:52:35] local.INFO: Processing buffer {"connection_id":171033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d01e1b8012ced1840071537c0001900a12f..."} 
[2026-09-04 20:52:35] local.INFO: Packet analysis {"connection_id":171033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:52:35] local.INFO: Extracted packet for processing {"connection_id":171033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:52:35] local.INFO: GPS Element Parsed {"raw_longitude":753735744,"raw_latitude":118831040,"longitude_deg":75.3735744,"latitude_deg":11.883104,"altitude":25,"angle":161,"satellites":47,"speed":39,"hex_longitude":"2ced1840","hex_latitude":"071537c0","is_valid_coordinates":true} 
[2026-09-04 20:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865017344001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398560634217693184,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1366068400297936896,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788535235000,"timestamp_ms":1788535235000,"timestamp_seconds":1788535235,"priority":1,"record_length":96,"hex_timestamp":"000001a06d01e1b8"} 
[2026-09-04 20:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 20:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865017344001,"66":27376,"28":206,"83":41216,"24":39,"16":398560634217693184,"44":-1366068400297936896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-04 20:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865017344001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:52:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-04 20:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398560634217693184,"km_value":398560634217693.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:52:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1366068400297936896,"description":"Unknown IO ID 44"} 
[2026-09-04 20:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865017344001,"power":27376,"unknown_28":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1366068400297936896}} 
[2026-09-04 20:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":171033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:52:35] local.INFO: GPS data processed {"connection_id":171033,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:52:35] local.INFO: Acknowledgment sent {"connection_id":171033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:52:47] local.INFO: TCP Data received {"connection_id":171034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:52:47] local.INFO: Processing buffer {"connection_id":171034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:52:47] local.INFO: IMEI packet received {"connection_id":171034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":171034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:52:48] local.INFO: TCP Data received {"connection_id":171324,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:52:48] local.INFO: Processing buffer {"connection_id":171324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:52:48] local.INFO: IMEI packet received {"connection_id":171324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":171324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:52:52] local.INFO: TCP Data received {"connection_id":171034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:52:52] local.INFO: Processing buffer {"connection_id":171034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:52:52] local.INFO: IMEI packet received {"connection_id":171034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":171034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:52:53] local.INFO: TCP Data received {"connection_id":171034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:52:53] local.INFO: Processing buffer {"connection_id":171034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:52:53] local.INFO: Packet analysis {"connection_id":171034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:52:53] local.INFO: Extracted packet for processing {"connection_id":171034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:52:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864929792001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788535183000,"timestamp_ms":1788535183000,"timestamp_seconds":1788535183,"priority":1,"record_length":96,"hex_timestamp":"000001a06d011698"} 
[2026-09-04 20:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864929792001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864929792001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:52:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:52:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864929792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":171034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:52:53] local.INFO: GPS data processed {"connection_id":171034,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:52:53] local.INFO: Acknowledgment sent {"connection_id":171034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:52:53] local.INFO: TCP Data received {"connection_id":171324,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:52:53] local.INFO: Processing buffer {"connection_id":171324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:52:53] local.INFO: IMEI packet received {"connection_id":171324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":171324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:52:57] local.INFO: TCP Data received {"connection_id":171324,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:52:57] local.INFO: Processing buffer {"connection_id":171324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:52:57] local.INFO: Packet analysis {"connection_id":171324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:52:57] local.INFO: Extracted packet for processing {"connection_id":171324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:52:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864968704001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788535335000,"timestamp_ms":1788535335000,"timestamp_seconds":1788535335,"priority":1,"record_length":96,"hex_timestamp":"000001a06d036858"} 
[2026-09-04 20:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864968704001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864968704001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:52:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:52:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864968704001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":171324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765236,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:52:57] local.INFO: GPS data processed {"connection_id":171324,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:52:57] local.INFO: Acknowledgment sent {"connection_id":171324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:52:58] local.INFO: TCP Data received {"connection_id":171325,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:52:58] local.INFO: Processing buffer {"connection_id":171325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:52:58] local.INFO: IMEI packet received {"connection_id":171325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":171325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:53:03] local.INFO: TCP Data received {"connection_id":171325,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:53:03] local.INFO: Processing buffer {"connection_id":171325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:53:03] local.INFO: IMEI packet received {"connection_id":171325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":171325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:53:04] local.INFO: TCP Data received {"connection_id":171325,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0204e0012ced214007151520001800a62c..."} 
[2026-09-04 20:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0204e0012ced214007151520001800a62c..."} 
[2026-09-04 20:53:04] local.INFO: Processing buffer {"connection_id":171325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0204e0012ced214007151520001800a62c..."} 
[2026-09-04 20:53:04] local.INFO: Packet analysis {"connection_id":171325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d02"} 
[2026-09-04 20:53:04] local.INFO: Extracted packet for processing {"connection_id":171325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d02"} 
[2026-09-04 20:53:04] local.INFO: GPS Element Parsed {"raw_longitude":753738048,"raw_latitude":118822176,"longitude_deg":75.3738048,"latitude_deg":11.8822176,"altitude":24,"angle":166,"satellites":44,"speed":41,"hex_longitude":"2ced2140","hex_latitude":"07151520","is_valid_coordinates":true} 
[2026-09-04 20:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865020160001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398561076599324672,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1362268488114651136,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535244000,"timestamp_ms":1788535244000,"timestamp_seconds":1788535244,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0204e0"} 
[2026-09-04 20:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 20:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865020160001,"66":27343,"28":206,"83":41216,"24":41,"16":398561076599324672,"44":-1362268488114651136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-04 20:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865020160001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:53:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-04 20:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398561076599324672,"km_value":398561076599324.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:53:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1362268488114651136,"description":"Unknown IO ID 44"} 
[2026-09-04 20:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865020160001,"power":27343,"unknown_28":206,"unknown_83":41216,"ignition":41,"odometer":null,"unknown_44":-1362268488114651136}} 
[2026-09-04 20:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":171325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:53:04] local.INFO: GPS data processed {"connection_id":171325,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:53:04] local.INFO: Acknowledgment sent {"connection_id":171325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:53:24] local.INFO: TCP Data received {"connection_id":171034,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:53:24] local.INFO: Processing buffer {"connection_id":171034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:53:24] local.INFO: Packet analysis {"connection_id":171034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:53:24] local.INFO: Extracted packet for processing {"connection_id":171034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:53:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864929792001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788535183000,"timestamp_ms":1788535183000,"timestamp_seconds":1788535183,"priority":1,"record_length":96,"hex_timestamp":"000001a06d011698"} 
[2026-09-04 20:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864929792001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864929792001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:53:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:53:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864929792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":171034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:53:24] local.INFO: GPS data processed {"connection_id":171034,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:53:24] local.INFO: Acknowledgment sent {"connection_id":171034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:53:33] local.INFO: TCP Data received {"connection_id":171324,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:53:33] local.INFO: Processing buffer {"connection_id":171324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:53:33] local.INFO: Packet analysis {"connection_id":171324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:53:33] local.INFO: Extracted packet for processing {"connection_id":171324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:53:33] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864968704001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788535335000,"timestamp_ms":1788535335000,"timestamp_seconds":1788535335,"priority":1,"record_length":96,"hex_timestamp":"000001a06d036858"} 
[2026-09-04 20:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864968704001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864968704001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:53:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:53:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864968704001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":171324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:53:33] local.INFO: GPS data processed {"connection_id":171324,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:53:33] local.INFO: Acknowledgment sent {"connection_id":171324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:53:35] local.INFO: TCP Data received {"connection_id":171325,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d03c230012ced1e4007142160001800ab32..."} 
[2026-09-04 20:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d03c230012ced1e4007142160001800ab32..."} 
[2026-09-04 20:53:35] local.INFO: Processing buffer {"connection_id":171325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d03c230012ced1e4007142160001800ab32..."} 
[2026-09-04 20:53:35] local.INFO: Packet analysis {"connection_id":171325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:53:35] local.INFO: Extracted packet for processing {"connection_id":171325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:53:35] local.INFO: GPS Element Parsed {"raw_longitude":753737280,"raw_latitude":118759776,"longitude_deg":75.373728,"latitude_deg":11.8759776,"altitude":24,"angle":171,"satellites":50,"speed":8,"hex_longitude":"2ced1e40","hex_latitude":"07142160","is_valid_coordinates":true} 
[2026-09-04 20:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865050880001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398564233400287232,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1360509269528205312,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788535358000,"timestamp_ms":1788535358000,"timestamp_seconds":1788535358,"priority":1,"record_length":96,"hex_timestamp":"000001a06d03c230"} 
[2026-09-04 20:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 20:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865050880001,"66":27397,"26":206,"83":41216,"24":8,"16":398564233400287232,"44":-1360509269528205312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-09-04 20:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865050880001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:53:35] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-04 20:53:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398564233400287232,"km_value":398564233400287.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:53:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1360509269528205312,"description":"Unknown IO ID 44"} 
[2026-09-04 20:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865050880001,"power":27397,"unknown_26":206,"unknown_83":41216,"ignition":8,"odometer":null,"unknown_44":-1360509269528205312}} 
[2026-09-04 20:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":171325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:53:35] local.INFO: GPS data processed {"connection_id":171325,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:53:35] local.INFO: Acknowledgment sent {"connection_id":171325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:53:47] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:53:47] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:53:47] local.INFO: IMEI packet received {"connection_id":173724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":173724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:53:48] local.INFO: TCP Data received {"connection_id":171326,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:53:48] local.INFO: Processing buffer {"connection_id":171326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:53:48] local.INFO: IMEI packet received {"connection_id":171326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":171326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:53:52] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:53:52] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:53:52] local.INFO: IMEI packet received {"connection_id":173724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":173724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:53:53] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:53:53] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:53:53] local.INFO: Packet analysis {"connection_id":173724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:53:53] local.INFO: Extracted packet for processing {"connection_id":173724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:53:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864929792001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788535183000,"timestamp_ms":1788535183000,"timestamp_seconds":1788535183,"priority":1,"record_length":96,"hex_timestamp":"000001a06d011698"} 
[2026-09-04 20:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864929792001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864929792001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:53:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:53:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864929792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":173724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:53:53] local.INFO: GPS data processed {"connection_id":173724,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:53:53] local.INFO: Acknowledgment sent {"connection_id":173724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:53:53] local.INFO: TCP Data received {"connection_id":171326,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:53:53] local.INFO: Processing buffer {"connection_id":171326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:53:53] local.INFO: IMEI packet received {"connection_id":171326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":171326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:53:55] local.INFO: TCP Data received {"connection_id":171326,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:53:55] local.INFO: Processing buffer {"connection_id":171326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:53:55] local.INFO: Packet analysis {"connection_id":171326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:53:55] local.INFO: Extracted packet for processing {"connection_id":171326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:53:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864968704001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788535335000,"timestamp_ms":1788535335000,"timestamp_seconds":1788535335,"priority":1,"record_length":96,"hex_timestamp":"000001a06d036858"} 
[2026-09-04 20:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864968704001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864968704001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:53:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864968704001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":171326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765242,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:53:55] local.INFO: GPS data processed {"connection_id":171326,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:53:55] local.INFO: Acknowledgment sent {"connection_id":171326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:53:58] local.INFO: TCP Data received {"connection_id":172439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:53:58] local.INFO: Processing buffer {"connection_id":172439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:53:58] local.INFO: IMEI packet received {"connection_id":172439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":172439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:54:03] local.INFO: TCP Data received {"connection_id":172439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:54:03] local.INFO: Processing buffer {"connection_id":172439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:54:03] local.INFO: IMEI packet received {"connection_id":172439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":172439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:54:04] local.INFO: TCP Data received {"connection_id":172439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d03f4f8012ced21c0071415200018009e31..."} 
[2026-09-04 20:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d03f4f8012ced21c0071415200018009e31..."} 
[2026-09-04 20:54:04] local.INFO: Processing buffer {"connection_id":172439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d03f4f8012ced21c0071415200018009e31..."} 
[2026-09-04 20:54:04] local.INFO: Packet analysis {"connection_id":172439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:54:04] local.INFO: Extracted packet for processing {"connection_id":172439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:54:04] local.INFO: GPS Element Parsed {"raw_longitude":753738176,"raw_latitude":118756640,"longitude_deg":75.3738176,"latitude_deg":11.875664,"altitude":24,"angle":158,"satellites":49,"speed":18,"hex_longitude":"2ced21c0","hex_latitude":"07141520","is_valid_coordinates":true} 
[2026-09-04 20:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865051648001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398564396609044480,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1360579638272630784,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535371000,"timestamp_ms":1788535371000,"timestamp_seconds":1788535371,"priority":1,"record_length":96,"hex_timestamp":"000001a06d03f4f8"} 
[2026-09-04 20:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 20:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865051648001,"66":27376,"26":206,"83":41216,"24":18,"16":398564396609044480,"44":-1360579638272630784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-09-04 20:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865051648001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:54:04] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-04 20:54:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398564396609044480,"km_value":398564396609044.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:54:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1360579638272630784,"description":"Unknown IO ID 44"} 
[2026-09-04 20:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865051648001,"power":27376,"unknown_26":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1360579638272630784}} 
[2026-09-04 20:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":172439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:54:04] local.INFO: GPS data processed {"connection_id":172439,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:54:04] local.INFO: Acknowledgment sent {"connection_id":172439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:54:24] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:54:24] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:54:24] local.INFO: Packet analysis {"connection_id":173724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:54:24] local.INFO: Extracted packet for processing {"connection_id":173724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:54:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864929792001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788535183000,"timestamp_ms":1788535183000,"timestamp_seconds":1788535183,"priority":1,"record_length":96,"hex_timestamp":"000001a06d011698"} 
[2026-09-04 20:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864929792001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864929792001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:54:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:54:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864929792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":173724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:54:24] local.INFO: GPS data processed {"connection_id":173724,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:54:24] local.INFO: Acknowledgment sent {"connection_id":173724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:54:26] local.INFO: TCP Data received {"connection_id":171326,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:54:26] local.INFO: Processing buffer {"connection_id":171326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:54:26] local.INFO: Packet analysis {"connection_id":171326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:54:26] local.INFO: Extracted packet for processing {"connection_id":171326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:54:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864968704001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788535335000,"timestamp_ms":1788535335000,"timestamp_seconds":1788535335,"priority":1,"record_length":96,"hex_timestamp":"000001a06d036858"} 
[2026-09-04 20:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864968704001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864968704001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:54:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:54:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864968704001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":171326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:54:26] local.INFO: GPS data processed {"connection_id":171326,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:54:26] local.INFO: Acknowledgment sent {"connection_id":171326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:54:35] local.INFO: TCP Data received {"connection_id":172439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d040880012ced2700071409c80019009231..."} 
[2026-09-04 20:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d040880012ced2700071409c80019009231..."} 
[2026-09-04 20:54:35] local.INFO: Processing buffer {"connection_id":172439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d040880012ced2700071409c80019009231..."} 
[2026-09-04 20:54:35] local.INFO: Packet analysis {"connection_id":172439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d04"} 
[2026-09-04 20:54:35] local.INFO: Extracted packet for processing {"connection_id":172439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d04"} 
[2026-09-04 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":753739520,"raw_latitude":118753736,"longitude_deg":75.373952,"latitude_deg":11.8753736,"altitude":25,"angle":146,"satellites":49,"speed":28,"hex_longitude":"2ced2700","hex_latitude":"071409c8","is_valid_coordinates":true} 
[2026-09-04 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865054976001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398564551227867136,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359594475854946304,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788535376000,"timestamp_ms":1788535376000,"timestamp_seconds":1788535376,"priority":1,"record_length":96,"hex_timestamp":"000001a06d040880"} 
[2026-09-04 20:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 20:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865054976001,"66":27332,"26":206,"83":41216,"24":28,"16":398564551227867136,"44":-1359594475854946304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-09-04 20:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865054976001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:54:35] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-04 20:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398564551227867136,"km_value":398564551227867.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359594475854946304,"description":"Unknown IO ID 44"} 
[2026-09-04 20:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865054976001,"power":27332,"unknown_26":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1359594475854946304}} 
[2026-09-04 20:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":172439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:54:35] local.INFO: GPS data processed {"connection_id":172439,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:54:35] local.INFO: Acknowledgment sent {"connection_id":172439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:54:47] local.INFO: TCP Data received {"connection_id":172440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:54:47] local.INFO: Processing buffer {"connection_id":172440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:54:47] local.INFO: IMEI packet received {"connection_id":172440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":172440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:54:48] local.INFO: TCP Data received {"connection_id":171035,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:54:48] local.INFO: Processing buffer {"connection_id":171035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:54:48] local.INFO: IMEI packet received {"connection_id":171035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":171035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:54:52] local.INFO: TCP Data received {"connection_id":172440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:54:52] local.INFO: Processing buffer {"connection_id":172440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:54:52] local.INFO: IMEI packet received {"connection_id":172440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":172440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:54:53] local.INFO: TCP Data received {"connection_id":172440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:54:53] local.INFO: Processing buffer {"connection_id":172440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d011698012d1965c0071fef800040011528..."} 
[2026-09-04 20:54:53] local.INFO: Packet analysis {"connection_id":172440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:54:53] local.INFO: Extracted packet for processing {"connection_id":172440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d01"} 
[2026-09-04 20:54:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864929792001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788535183000,"timestamp_ms":1788535183000,"timestamp_seconds":1788535183,"priority":1,"record_length":96,"hex_timestamp":"000001a06d011698"} 
[2026-09-04 20:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864929792001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864929792001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:54:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:54:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864929792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":172440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:54:53] local.INFO: GPS data processed {"connection_id":172440,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:54:53] local.INFO: Acknowledgment sent {"connection_id":172440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:54:53] local.INFO: TCP Data received {"connection_id":171035,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:54:53] local.INFO: Processing buffer {"connection_id":171035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:54:53] local.INFO: IMEI packet received {"connection_id":171035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":171035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:54:55] local.INFO: TCP Data received {"connection_id":171035,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:54:55] local.INFO: Processing buffer {"connection_id":171035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:54:55] local.INFO: Packet analysis {"connection_id":171035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:54:55] local.INFO: Extracted packet for processing {"connection_id":171035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864968704001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788535335000,"timestamp_ms":1788535335000,"timestamp_seconds":1788535335,"priority":1,"record_length":96,"hex_timestamp":"000001a06d036858"} 
[2026-09-04 20:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864968704001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864968704001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:54:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:54:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864968704001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":171035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:54:55] local.INFO: GPS data processed {"connection_id":171035,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:54:55] local.INFO: Acknowledgment sent {"connection_id":171035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:54:58] local.INFO: TCP Data received {"connection_id":171327,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:54:58] local.INFO: Processing buffer {"connection_id":171327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:54:58] local.INFO: IMEI packet received {"connection_id":171327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":171327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:54:59] local.INFO: TCP Data received {"connection_id":171327,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:54:59] local.INFO: Processing buffer {"connection_id":171327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:54:59] local.INFO: IMEI packet received {"connection_id":171327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":171327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:55:03] local.INFO: TCP Data received {"connection_id":171327,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:55:03] local.INFO: Processing buffer {"connection_id":171327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:55:03] local.INFO: IMEI packet received {"connection_id":171327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":171327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:55:04] local.INFO: TCP Data received {"connection_id":171327,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d041c08012ced2ec007140000001a008731..."} 
[2026-09-04 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d041c08012ced2ec007140000001a008731..."} 
[2026-09-04 20:55:04] local.INFO: Processing buffer {"connection_id":171327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d041c08012ced2ec007140000001a008731..."} 
[2026-09-04 20:55:04] local.INFO: Packet analysis {"connection_id":171327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d04"} 
[2026-09-04 20:55:04] local.INFO: Extracted packet for processing {"connection_id":171327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d04"} 
[2026-09-04 20:55:04] local.INFO: GPS Element Parsed {"raw_longitude":753741504,"raw_latitude":118751232,"longitude_deg":75.3741504,"latitude_deg":11.8751232,"altitude":26,"angle":135,"satellites":49,"speed":17,"hex_longitude":"2ced2ec0","hex_latitude":"07140000","is_valid_coordinates":true} 
[2026-09-04 20:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865056256001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398564705846689792,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358116732227958784,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535381000,"timestamp_ms":1788535381000,"timestamp_seconds":1788535381,"priority":1,"record_length":96,"hex_timestamp":"000001a06d041c08"} 
[2026-09-04 20:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 20:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865056256001,"66":27343,"26":206,"83":41216,"24":17,"16":398564705846689792,"44":-1358116732227958784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-09-04 20:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865056256001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:55:04] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-04 20:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398564705846689792,"km_value":398564705846689.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:55:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358116732227958784,"description":"Unknown IO ID 44"} 
[2026-09-04 20:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865056256001,"power":27343,"unknown_26":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1358116732227958784}} 
[2026-09-04 20:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":171327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:55:04] local.INFO: GPS data processed {"connection_id":171327,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:55:04] local.INFO: Acknowledgment sent {"connection_id":171327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:55:24] local.INFO: TCP Data received {"connection_id":172440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:55:24] local.INFO: Processing buffer {"connection_id":172440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:55:24] local.INFO: Packet analysis {"connection_id":172440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:55:24] local.INFO: Extracted packet for processing {"connection_id":172440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:55:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865006848001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788535484000,"timestamp_ms":1788535484000,"timestamp_seconds":1788535484,"priority":1,"record_length":96,"hex_timestamp":"000001a06d05ae60"} 
[2026-09-04 20:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865006848001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865006848001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:55:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:55:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865006848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":172440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:55:24] local.INFO: GPS data processed {"connection_id":172440,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:55:24] local.INFO: Acknowledgment sent {"connection_id":172440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:55:26] local.INFO: TCP Data received {"connection_id":171035,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:55:26] local.INFO: Processing buffer {"connection_id":171035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:55:26] local.INFO: Packet analysis {"connection_id":171035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:55:26] local.INFO: Extracted packet for processing {"connection_id":171035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:55:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864968704001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788535335000,"timestamp_ms":1788535335000,"timestamp_seconds":1788535335,"priority":1,"record_length":96,"hex_timestamp":"000001a06d036858"} 
[2026-09-04 20:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864968704001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864968704001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:55:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:55:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864968704001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":171035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:55:27] local.INFO: GPS data processed {"connection_id":171035,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:55:27] local.INFO: Acknowledgment sent {"connection_id":171035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:55:35] local.INFO: TCP Data received {"connection_id":171327,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d042f90012ced35000713fa58001a007932..."} 
[2026-09-04 20:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d042f90012ced35000713fa58001a007932..."} 
[2026-09-04 20:55:35] local.INFO: Processing buffer {"connection_id":171327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d042f90012ced35000713fa58001a007932..."} 
[2026-09-04 20:55:35] local.INFO: Packet analysis {"connection_id":171327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d04"} 
[2026-09-04 20:55:35] local.INFO: Extracted packet for processing {"connection_id":171327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d04"} 
[2026-09-04 20:55:35] local.INFO: GPS Element Parsed {"raw_longitude":753743104,"raw_latitude":118749784,"longitude_deg":75.3743104,"latitude_deg":11.8749784,"altitude":26,"angle":121,"satellites":50,"speed":21,"hex_longitude":"2ced3500","hex_latitude":"0713fa58","is_valid_coordinates":true} 
[2026-09-04 20:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865057536001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398564808925904896,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1355935301159092224,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788535386000,"timestamp_ms":1788535386000,"timestamp_seconds":1788535386,"priority":1,"record_length":96,"hex_timestamp":"000001a06d042f90"} 
[2026-09-04 20:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 20:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865057536001,"66":27332,"26":206,"83":41216,"24":21,"16":398564808925904896,"44":-1355935301159092224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-09-04 20:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865057536001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:55:35] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-04 20:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398564808925904896,"km_value":398564808925904.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:55:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1355935301159092224,"description":"Unknown IO ID 44"} 
[2026-09-04 20:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865057536001,"power":27332,"unknown_26":206,"unknown_83":41216,"ignition":21,"odometer":null,"unknown_44":-1355935301159092224}} 
[2026-09-04 20:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":171327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:55:35] local.INFO: GPS data processed {"connection_id":171327,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:55:35] local.INFO: Acknowledgment sent {"connection_id":171327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:55:52] local.INFO: TCP Data received {"connection_id":172441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:55:52] local.INFO: Processing buffer {"connection_id":172441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:55:52] local.INFO: IMEI packet received {"connection_id":172441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":172441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:55:53] local.INFO: TCP Data received {"connection_id":172442,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:55:53] local.INFO: Processing buffer {"connection_id":172442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:55:53] local.INFO: IMEI packet received {"connection_id":172442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":172442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:55:57] local.INFO: TCP Data received {"connection_id":172441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:55:57] local.INFO: Processing buffer {"connection_id":172441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:55:57] local.INFO: IMEI packet received {"connection_id":172441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":172441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:55:58] local.INFO: TCP Data received {"connection_id":173725,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:55:58] local.INFO: Processing buffer {"connection_id":173725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:55:58] local.INFO: IMEI packet received {"connection_id":173725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":173725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:55:58] local.INFO: TCP Data received {"connection_id":172441,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:55:58] local.INFO: Processing buffer {"connection_id":172441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:55:58] local.INFO: Packet analysis {"connection_id":172441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:55:58] local.INFO: Extracted packet for processing {"connection_id":172441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:55:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865006848001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788535484000,"timestamp_ms":1788535484000,"timestamp_seconds":1788535484,"priority":1,"record_length":96,"hex_timestamp":"000001a06d05ae60"} 
[2026-09-04 20:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865006848001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865006848001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:55:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:55:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865006848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":172441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:55:58] local.INFO: GPS data processed {"connection_id":172441,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:55:58] local.INFO: Acknowledgment sent {"connection_id":172441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:55:58] local.INFO: TCP Data received {"connection_id":172442,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:55:58] local.INFO: Processing buffer {"connection_id":172442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:55:58] local.INFO: IMEI packet received {"connection_id":172442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":172442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:56:00] local.INFO: TCP Data received {"connection_id":172442,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:56:00] local.INFO: Processing buffer {"connection_id":172442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:56:00] local.INFO: Packet analysis {"connection_id":172442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:56:00] local.INFO: Extracted packet for processing {"connection_id":172442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:56:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864968704001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788535335000,"timestamp_ms":1788535335000,"timestamp_seconds":1788535335,"priority":1,"record_length":96,"hex_timestamp":"000001a06d036858"} 
[2026-09-04 20:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864968704001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864968704001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:56:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:56:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864968704001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":172442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765254,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:56:00] local.INFO: GPS data processed {"connection_id":172442,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:56:00] local.INFO: Acknowledgment sent {"connection_id":172442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:56:03] local.INFO: TCP Data received {"connection_id":172441,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:56:03] local.INFO: Processing buffer {"connection_id":172441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:56:03] local.INFO: Packet analysis {"connection_id":172441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:56:03] local.INFO: Extracted packet for processing {"connection_id":172441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:56:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865006848001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788535484000,"timestamp_ms":1788535484000,"timestamp_seconds":1788535484,"priority":1,"record_length":96,"hex_timestamp":"000001a06d05ae60"} 
[2026-09-04 20:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865006848001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865006848001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:56:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:56:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865006848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":172441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:56:03] local.INFO: GPS data processed {"connection_id":172441,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:56:03] local.INFO: Acknowledgment sent {"connection_id":172441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:56:03] local.INFO: TCP Data received {"connection_id":173725,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:56:03] local.INFO: Processing buffer {"connection_id":173725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:56:03] local.INFO: IMEI packet received {"connection_id":173725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":173725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:56:04] local.INFO: TCP Data received {"connection_id":172442,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:56:04] local.INFO: Processing buffer {"connection_id":172442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:56:04] local.INFO: Packet analysis {"connection_id":172442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:56:04] local.INFO: Extracted packet for processing {"connection_id":172442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864968704001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535335000,"timestamp_ms":1788535335000,"timestamp_seconds":1788535335,"priority":1,"record_length":96,"hex_timestamp":"000001a06d036858"} 
[2026-09-04 20:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864968704001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864968704001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:56:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864968704001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":172442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:56:04] local.INFO: GPS data processed {"connection_id":172442,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:56:04] local.INFO: Acknowledgment sent {"connection_id":172442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:56:05] local.INFO: TCP Data received {"connection_id":173725,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d043f30012ced3c000713f758001a006c32..."} 
[2026-09-04 20:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d043f30012ced3c000713f758001a006c32..."} 
[2026-09-04 20:56:05] local.INFO: Processing buffer {"connection_id":173725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d043f30012ced3c000713f758001a006c32..."} 
[2026-09-04 20:56:05] local.INFO: Packet analysis {"connection_id":173725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d04"} 
[2026-09-04 20:56:05] local.INFO: Extracted packet for processing {"connection_id":173725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d04"} 
[2026-09-04 20:56:05] local.INFO: GPS Element Parsed {"raw_longitude":753744896,"raw_latitude":118749016,"longitude_deg":75.3744896,"latitude_deg":11.8749016,"altitude":26,"angle":108,"satellites":50,"speed":11,"hex_longitude":"2ced3c00","hex_latitude":"0713f758","is_valid_coordinates":true} 
[2026-09-04 20:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865058816001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398564899120218112,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1354176082555021312,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788535390000,"timestamp_ms":1788535390000,"timestamp_seconds":1788535390,"priority":1,"record_length":96,"hex_timestamp":"000001a06d043f30"} 
[2026-09-04 20:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 20:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865058816001,"66":27376,"26":206,"83":41216,"24":11,"16":398564899120218112,"44":-1354176082555021312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-09-04 20:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865058816001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:56:05] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-04 20:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398564899120218112,"km_value":398564899120218.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:56:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1354176082555021312,"description":"Unknown IO ID 44"} 
[2026-09-04 20:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865058816001,"power":27376,"unknown_26":206,"unknown_83":41216,"ignition":11,"odometer":null,"unknown_44":-1354176082555021312}} 
[2026-09-04 20:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":173725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:56:05] local.INFO: GPS data processed {"connection_id":173725,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:56:05] local.INFO: Acknowledgment sent {"connection_id":173725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:56:36] local.INFO: TCP Data received {"connection_id":173725,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0613f0012cee94800713dcc0002800532f..."} 
[2026-09-04 20:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0613f0012cee94800713dcc0002800532f..."} 
[2026-09-04 20:56:36] local.INFO: Processing buffer {"connection_id":173725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0613f0012cee94800713dcc0002800532f..."} 
[2026-09-04 20:56:36] local.INFO: Packet analysis {"connection_id":173725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d06"} 
[2026-09-04 20:56:36] local.INFO: Extracted packet for processing {"connection_id":173725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d06"} 
[2026-09-04 20:56:36] local.INFO: GPS Element Parsed {"raw_longitude":753833088,"raw_latitude":118742208,"longitude_deg":75.3833088,"latitude_deg":11.8742208,"altitude":40,"angle":83,"satellites":47,"speed":26,"hex_longitude":"2cee9480","hex_latitude":"0713dcc0","is_valid_coordinates":true} 
[2026-09-04 20:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865086976001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398569116778102784,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265300358660710400,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788535510000,"timestamp_ms":1788535510000,"timestamp_seconds":1788535510,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0613f0"} 
[2026-09-04 20:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 20:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865086976001,"66":27267,"38":206,"83":41216,"24":26,"16":398569116778102784,"44":-1265300358660710400},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-04 20:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865086976001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:56:36] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-04 20:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398569116778102784,"km_value":398569116778102.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:56:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265300358660710400,"description":"Unknown IO ID 44"} 
[2026-09-04 20:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865086976001,"power":27267,"unknown_38":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1265300358660710400}} 
[2026-09-04 20:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":173725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:56:36] local.INFO: GPS data processed {"connection_id":173725,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:56:36] local.INFO: Acknowledgment sent {"connection_id":173725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:56:47] local.INFO: TCP Data received {"connection_id":171328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:56:47] local.INFO: Processing buffer {"connection_id":171328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:56:47] local.INFO: IMEI packet received {"connection_id":171328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":171328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:56:49] local.INFO: TCP Data received {"connection_id":172443,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:56:49] local.INFO: Processing buffer {"connection_id":172443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:56:49] local.INFO: IMEI packet received {"connection_id":172443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":172443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:56:52] local.INFO: TCP Data received {"connection_id":171328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:56:52] local.INFO: Processing buffer {"connection_id":171328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:56:52] local.INFO: IMEI packet received {"connection_id":171328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":171328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:56:53] local.INFO: TCP Data received {"connection_id":171328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:56:53] local.INFO: Processing buffer {"connection_id":171328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:56:53] local.INFO: Packet analysis {"connection_id":171328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:56:53] local.INFO: Extracted packet for processing {"connection_id":171328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:56:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865006848001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788535484000,"timestamp_ms":1788535484000,"timestamp_seconds":1788535484,"priority":1,"record_length":96,"hex_timestamp":"000001a06d05ae60"} 
[2026-09-04 20:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865006848001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865006848001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:56:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:56:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865006848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":171328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:56:53] local.INFO: GPS data processed {"connection_id":171328,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:56:53] local.INFO: Acknowledgment sent {"connection_id":171328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:56:53] local.INFO: TCP Data received {"connection_id":172443,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:56:53] local.INFO: Processing buffer {"connection_id":172443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:56:53] local.INFO: IMEI packet received {"connection_id":172443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":172443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:56:55] local.INFO: TCP Data received {"connection_id":172443,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:56:55] local.INFO: Processing buffer {"connection_id":172443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:56:55] local.INFO: Packet analysis {"connection_id":172443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:56:55] local.INFO: Extracted packet for processing {"connection_id":172443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:56:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864968704001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788535335000,"timestamp_ms":1788535335000,"timestamp_seconds":1788535335,"priority":1,"record_length":96,"hex_timestamp":"000001a06d036858"} 
[2026-09-04 20:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864968704001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864968704001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:56:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864968704001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":172443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765260,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:56:55] local.INFO: GPS data processed {"connection_id":172443,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:56:55] local.INFO: Acknowledgment sent {"connection_id":172443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:57:08] local.INFO: TCP Data received {"connection_id":172444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:57:08] local.INFO: Processing buffer {"connection_id":172444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:57:08] local.INFO: IMEI packet received {"connection_id":172444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":172444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:57:13] local.INFO: TCP Data received {"connection_id":172444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:57:13] local.INFO: Processing buffer {"connection_id":172444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:57:13] local.INFO: IMEI packet received {"connection_id":172444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":172444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:57:14] local.INFO: TCP Data received {"connection_id":172444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d065270012ceeb9800713e270002d005831..."} 
[2026-09-04 20:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d065270012ceeb9800713e270002d005831..."} 
[2026-09-04 20:57:14] local.INFO: Processing buffer {"connection_id":172444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d065270012ceeb9800713e270002d005831..."} 
[2026-09-04 20:57:14] local.INFO: Packet analysis {"connection_id":172444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d06"} 
[2026-09-04 20:57:14] local.INFO: Extracted packet for processing {"connection_id":172444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d06"} 
[2026-09-04 20:57:14] local.INFO: GPS Element Parsed {"raw_longitude":753842560,"raw_latitude":118743664,"longitude_deg":75.384256,"latitude_deg":11.8743664,"altitude":45,"angle":88,"satellites":49,"speed":25,"hex_longitude":"2ceeb980","hex_latitude":"0713e270","is_valid_coordinates":true} 
[2026-09-04 20:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865090560001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398569572044636160,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1255237628243165184,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788535526000,"timestamp_ms":1788535526000,"timestamp_seconds":1788535526,"priority":1,"record_length":96,"hex_timestamp":"000001a06d065270"} 
[2026-09-04 20:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 20:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865090560001,"66":27365,"38":206,"83":41216,"24":25,"16":398569572044636160,"44":-1255237628243165184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-04 20:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865090560001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:57:14] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-04 20:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398569572044636160,"km_value":398569572044636.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:57:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1255237628243165184,"description":"Unknown IO ID 44"} 
[2026-09-04 20:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865090560001,"power":27365,"unknown_38":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1255237628243165184}} 
[2026-09-04 20:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":172444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:57:14] local.INFO: GPS data processed {"connection_id":172444,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:57:14] local.INFO: Acknowledgment sent {"connection_id":172444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:57:24] local.INFO: TCP Data received {"connection_id":171328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:57:24] local.INFO: Processing buffer {"connection_id":171328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:57:24] local.INFO: Packet analysis {"connection_id":171328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:57:24] local.INFO: Extracted packet for processing {"connection_id":171328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:57:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865006848001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788535484000,"timestamp_ms":1788535484000,"timestamp_seconds":1788535484,"priority":1,"record_length":96,"hex_timestamp":"000001a06d05ae60"} 
[2026-09-04 20:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865006848001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865006848001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:57:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:57:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865006848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":171328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:57:24] local.INFO: GPS data processed {"connection_id":171328,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:57:24] local.INFO: Acknowledgment sent {"connection_id":171328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:57:26] local.INFO: TCP Data received {"connection_id":172443,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:57:26] local.INFO: Processing buffer {"connection_id":172443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d036858012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:57:26] local.INFO: Packet analysis {"connection_id":172443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:57:26] local.INFO: Extracted packet for processing {"connection_id":172443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d03"} 
[2026-09-04 20:57:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457864968704001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788535335000,"timestamp_ms":1788535335000,"timestamp_seconds":1788535335,"priority":1,"record_length":96,"hex_timestamp":"000001a06d036858"} 
[2026-09-04 20:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-04 20:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457864968704001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457864968704001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:57:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:57:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457864968704001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":172443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:57:26] local.INFO: GPS data processed {"connection_id":172443,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:57:26] local.INFO: Acknowledgment sent {"connection_id":172443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:57:47] local.INFO: TCP Data received {"connection_id":171036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:57:47] local.INFO: Processing buffer {"connection_id":171036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:57:47] local.INFO: IMEI packet received {"connection_id":171036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":171036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:57:48] local.INFO: TCP Data received {"connection_id":171037,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:57:48] local.INFO: Processing buffer {"connection_id":171037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:57:48] local.INFO: IMEI packet received {"connection_id":171037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":171037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:57:52] local.INFO: TCP Data received {"connection_id":171036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:57:52] local.INFO: Processing buffer {"connection_id":171036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:57:52] local.INFO: IMEI packet received {"connection_id":171036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":171036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:57:53] local.INFO: TCP Data received {"connection_id":171036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:57:53] local.INFO: Processing buffer {"connection_id":171036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:57:53] local.INFO: Packet analysis {"connection_id":171036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:57:53] local.INFO: Extracted packet for processing {"connection_id":171036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:57:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865006848001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788535484000,"timestamp_ms":1788535484000,"timestamp_seconds":1788535484,"priority":1,"record_length":96,"hex_timestamp":"000001a06d05ae60"} 
[2026-09-04 20:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865006848001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865006848001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:57:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:57:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865006848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":171036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:57:53] local.INFO: GPS data processed {"connection_id":171036,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:57:53] local.INFO: Acknowledgment sent {"connection_id":171036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:57:53] local.INFO: TCP Data received {"connection_id":171037,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:57:53] local.INFO: Processing buffer {"connection_id":171037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:57:53] local.INFO: IMEI packet received {"connection_id":171037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":171037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:57:55] local.INFO: TCP Data received {"connection_id":171037,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:57:55] local.INFO: Processing buffer {"connection_id":171037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:57:55] local.INFO: Packet analysis {"connection_id":171037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 20:57:55] local.INFO: Extracted packet for processing {"connection_id":171037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 20:57:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865045760001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788535636000,"timestamp_ms":1788535636000,"timestamp_seconds":1788535636,"priority":1,"record_length":96,"hex_timestamp":"000001a06d080020"} 
[2026-09-04 20:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 20:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865045760001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865045760001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:57:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:57:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865045760001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":171037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765265,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:57:55] local.INFO: GPS data processed {"connection_id":171037,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:57:55] local.INFO: Acknowledgment sent {"connection_id":171037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:57:58] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:57:58] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:57:58] local.INFO: IMEI packet received {"connection_id":173726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":173726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:58:01] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:58:01] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:58:01] local.INFO: IMEI packet received {"connection_id":173726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":173726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:58:03] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:58:03] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:58:03] local.INFO: IMEI packet received {"connection_id":173726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":173726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:58:04] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d068d08012ceedec00713e1a0002e006031..."} 
[2026-09-04 20:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d068d08012ceedec00713e1a0002e006031..."} 
[2026-09-04 20:58:04] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d068d08012ceedec00713e1a0002e006031..."} 
[2026-09-04 20:58:04] local.INFO: Packet analysis {"connection_id":173726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d06"} 
[2026-09-04 20:58:04] local.INFO: Extracted packet for processing {"connection_id":173726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d06"} 
[2026-09-04 20:58:04] local.INFO: GPS Element Parsed {"raw_longitude":753852096,"raw_latitude":118743456,"longitude_deg":75.3852096,"latitude_deg":11.8743456,"altitude":46,"angle":96,"satellites":49,"speed":22,"hex_longitude":"2ceedec0","hex_latitude":"0713e1a0","is_valid_coordinates":true} 
[2026-09-04 20:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865094656001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398570027311169536,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1244823054104498176,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535541000,"timestamp_ms":1788535541000,"timestamp_seconds":1788535541,"priority":1,"record_length":96,"hex_timestamp":"000001a06d068d08"} 
[2026-09-04 20:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 20:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865094656001,"66":27332,"37":206,"83":41216,"24":22,"16":398570027311169536,"44":-1244823054104498176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-09-04 20:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865094656001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:58:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-04 20:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398570027311169536,"km_value":398570027311169.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:58:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1244823054104498176,"description":"Unknown IO ID 44"} 
[2026-09-04 20:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865094656001,"power":27332,"unknown_37":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1244823054104498176}} 
[2026-09-04 20:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":173726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:58:04] local.INFO: GPS data processed {"connection_id":173726,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:58:04] local.INFO: Acknowledgment sent {"connection_id":173726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:58:23] local.INFO: TCP Data received {"connection_id":171036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:58:23] local.INFO: Processing buffer {"connection_id":171036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:58:23] local.INFO: Packet analysis {"connection_id":171036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:58:23] local.INFO: Extracted packet for processing {"connection_id":171036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865006848001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788535484000,"timestamp_ms":1788535484000,"timestamp_seconds":1788535484,"priority":1,"record_length":96,"hex_timestamp":"000001a06d05ae60"} 
[2026-09-04 20:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865006848001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865006848001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:58:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865006848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":171036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:58:24] local.INFO: GPS data processed {"connection_id":171036,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:58:24] local.INFO: Acknowledgment sent {"connection_id":171036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:58:26] local.INFO: TCP Data received {"connection_id":171037,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:58:26] local.INFO: Processing buffer {"connection_id":171037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:58:26] local.INFO: Packet analysis {"connection_id":171037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 20:58:26] local.INFO: Extracted packet for processing {"connection_id":171037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 20:58:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865045760001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788535636000,"timestamp_ms":1788535636000,"timestamp_seconds":1788535636,"priority":1,"record_length":96,"hex_timestamp":"000001a06d080020"} 
[2026-09-04 20:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 20:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865045760001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865045760001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:58:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:58:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865045760001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":171037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765268,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:58:26] local.INFO: GPS data processed {"connection_id":171037,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:58:26] local.INFO: Acknowledgment sent {"connection_id":171037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:58:34] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d06d358012cef04c00713dbd0002f006232..."} 
[2026-09-04 20:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d06d358012cef04c00713dbd0002f006232..."} 
[2026-09-04 20:58:34] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d06d358012cef04c00713dbd0002f006232..."} 
[2026-09-04 20:58:34] local.INFO: Packet analysis {"connection_id":173726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d06"} 
[2026-09-04 20:58:34] local.INFO: Extracted packet for processing {"connection_id":173726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d06"} 
[2026-09-04 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":753861824,"raw_latitude":118741968,"longitude_deg":75.3861824,"latitude_deg":11.8741968,"altitude":47,"angle":98,"satellites":50,"speed":34,"hex_longitude":"2cef04c0","hex_latitude":"0713dbd0","is_valid_coordinates":true} 
[2026-09-04 20:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865098496001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398570495462604800,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1234338111222079488,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788535559000,"timestamp_ms":1788535559000,"timestamp_seconds":1788535559,"priority":1,"record_length":96,"hex_timestamp":"000001a06d06d358"} 
[2026-09-04 20:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 20:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865098496001,"66":27397,"37":206,"83":41216,"24":34,"16":398570495462604800,"44":-1234338111222079488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-09-04 20:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865098496001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:58:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-04 20:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-04 20:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398570495462604800,"km_value":398570495462604.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:58:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1234338111222079488,"description":"Unknown IO ID 44"} 
[2026-09-04 20:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865098496001,"power":27397,"unknown_37":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1234338111222079488}} 
[2026-09-04 20:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":173726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:58:34] local.INFO: GPS data processed {"connection_id":173726,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:58:34] local.INFO: Acknowledgment sent {"connection_id":173726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:58:47] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:58:47] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:58:47] local.INFO: IMEI packet received {"connection_id":173727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":173727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:58:48] local.INFO: TCP Data received {"connection_id":173728,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:58:48] local.INFO: Processing buffer {"connection_id":173728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:58:48] local.INFO: IMEI packet received {"connection_id":173728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":173728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:58:52] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:58:52] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:58:52] local.INFO: IMEI packet received {"connection_id":173727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":173727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:58:53] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:58:53] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:58:53] local.INFO: Packet analysis {"connection_id":173727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:58:53] local.INFO: Extracted packet for processing {"connection_id":173727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:58:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865006848001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788535484000,"timestamp_ms":1788535484000,"timestamp_seconds":1788535484,"priority":1,"record_length":96,"hex_timestamp":"000001a06d05ae60"} 
[2026-09-04 20:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865006848001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865006848001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:58:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:58:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865006848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":173727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:58:53] local.INFO: GPS data processed {"connection_id":173727,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:58:53] local.INFO: Acknowledgment sent {"connection_id":173727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:58:53] local.INFO: TCP Data received {"connection_id":173728,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:58:53] local.INFO: Processing buffer {"connection_id":173728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:58:53] local.INFO: IMEI packet received {"connection_id":173728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":173728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:58:55] local.INFO: TCP Data received {"connection_id":173728,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:58:55] local.INFO: Processing buffer {"connection_id":173728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:58:55] local.INFO: Packet analysis {"connection_id":173728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 20:58:55] local.INFO: Extracted packet for processing {"connection_id":173728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 20:58:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865045760001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788535636000,"timestamp_ms":1788535636000,"timestamp_seconds":1788535636,"priority":1,"record_length":96,"hex_timestamp":"000001a06d080020"} 
[2026-09-04 20:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 20:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865045760001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865045760001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:58:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:58:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865045760001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":173728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:58:55] local.INFO: GPS data processed {"connection_id":173728,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:58:55] local.INFO: Acknowledgment sent {"connection_id":173728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:58:58] local.INFO: TCP Data received {"connection_id":172445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:58:58] local.INFO: Processing buffer {"connection_id":172445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:58:58] local.INFO: IMEI packet received {"connection_id":172445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":172445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:58:58] local.INFO: TCP Data received {"connection_id":172445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:58:58] local.INFO: Processing buffer {"connection_id":172445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:58:58] local.INFO: IMEI packet received {"connection_id":172445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":172445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:59:03] local.INFO: TCP Data received {"connection_id":172445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:59:03] local.INFO: Processing buffer {"connection_id":172445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:59:03] local.INFO: IMEI packet received {"connection_id":172445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 20:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":172445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:59:04] local.INFO: TCP Data received {"connection_id":172445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0884f0012cf0128007138778002600792f..."} 
[2026-09-04 20:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0884f0012cf0128007138778002600792f..."} 
[2026-09-04 20:59:04] local.INFO: Processing buffer {"connection_id":172445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0884f0012cf0128007138778002600792f..."} 
[2026-09-04 20:59:04] local.INFO: Packet analysis {"connection_id":172445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 20:59:04] local.INFO: Extracted packet for processing {"connection_id":172445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 20:59:04] local.INFO: GPS Element Parsed {"raw_longitude":753930880,"raw_latitude":118720376,"longitude_deg":75.393088,"latitude_deg":11.8720376,"altitude":38,"angle":121,"satellites":47,"speed":16,"hex_longitude":"2cf01280","hex_latitude":"07138778","is_valid_coordinates":true} 
[2026-09-04 20:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865127680001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398574051695525888,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1156510280166576128,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535670000,"timestamp_ms":1788535670000,"timestamp_seconds":1788535670,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0884f0"} 
[2026-09-04 20:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 20:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865127680001,"66":27300,"15":206,"83":41472,"24":16,"16":398574051695525888,"44":-1156510280166576128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-09-04 20:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865127680001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:59:04] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-04 20:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 20:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398574051695525888,"km_value":398574051695525.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:59:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1156510280166576128,"description":"Unknown IO ID 44"} 
[2026-09-04 20:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865127680001,"power":27300,"unknown_15":206,"unknown_83":41472,"ignition":16,"odometer":null,"unknown_44":-1156510280166576128}} 
[2026-09-04 20:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":172445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:59:04] local.INFO: GPS data processed {"connection_id":172445,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:59:04] local.INFO: Acknowledgment sent {"connection_id":172445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:59:23] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:59:23] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:59:23] local.INFO: Packet analysis {"connection_id":173727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:59:23] local.INFO: Extracted packet for processing {"connection_id":173727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865006848001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788535484000,"timestamp_ms":1788535484000,"timestamp_seconds":1788535484,"priority":1,"record_length":96,"hex_timestamp":"000001a06d05ae60"} 
[2026-09-04 20:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865006848001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865006848001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:59:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865006848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":173727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:59:24] local.INFO: GPS data processed {"connection_id":173727,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:59:24] local.INFO: Acknowledgment sent {"connection_id":173727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:59:26] local.INFO: TCP Data received {"connection_id":173728,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:59:26] local.INFO: Processing buffer {"connection_id":173728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:59:26] local.INFO: Packet analysis {"connection_id":173728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 20:59:26] local.INFO: Extracted packet for processing {"connection_id":173728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 20:59:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865045760001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788535636000,"timestamp_ms":1788535636000,"timestamp_seconds":1788535636,"priority":1,"record_length":96,"hex_timestamp":"000001a06d080020"} 
[2026-09-04 20:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 20:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865045760001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865045760001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:59:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:59:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865045760001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":173728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765274,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:59:26] local.INFO: GPS data processed {"connection_id":173728,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:59:26] local.INFO: Acknowledgment sent {"connection_id":173728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:59:35] local.INFO: TCP Data received {"connection_id":172445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d08c370012cf0328007137520002800722f..."} 
[2026-09-04 20:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d08c370012cf0328007137520002800722f..."} 
[2026-09-04 20:59:35] local.INFO: Processing buffer {"connection_id":172445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d08c370012cf0328007137520002800722f..."} 
[2026-09-04 20:59:35] local.INFO: Packet analysis {"connection_id":172445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 20:59:35] local.INFO: Extracted packet for processing {"connection_id":172445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 20:59:35] local.INFO: GPS Element Parsed {"raw_longitude":753939072,"raw_latitude":118715680,"longitude_deg":75.3939072,"latitude_deg":11.871568,"altitude":40,"angle":114,"satellites":47,"speed":25,"hex_longitude":"2cf03280","hex_latitude":"07137520","is_valid_coordinates":true} 
[2026-09-04 20:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865131520001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398574502667091968,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1147714187145283584,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788535686000,"timestamp_ms":1788535686000,"timestamp_seconds":1788535686,"priority":1,"record_length":96,"hex_timestamp":"000001a06d08c370"} 
[2026-09-04 20:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 20:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 20:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 20:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 20:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 20:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865131520001,"66":27234,"15":206,"83":41472,"24":25,"16":398574502667091968,"44":-1147714187145283584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-09-04 20:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 20:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 20:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865131520001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:59:35] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-04 20:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 20:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398574502667091968,"km_value":398574502667091.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:59:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1147714187145283584,"description":"Unknown IO ID 44"} 
[2026-09-04 20:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865131520001,"power":27234,"unknown_15":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-1147714187145283584}} 
[2026-09-04 20:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":172445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:59:35] local.INFO: GPS data processed {"connection_id":172445,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:59:35] local.INFO: Acknowledgment sent {"connection_id":172445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:59:47] local.INFO: TCP Data received {"connection_id":171329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:59:47] local.INFO: Processing buffer {"connection_id":171329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:59:47] local.INFO: IMEI packet received {"connection_id":171329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 20:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":171329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:59:48] local.INFO: TCP Data received {"connection_id":171038,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:59:48] local.INFO: Processing buffer {"connection_id":171038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:59:48] local.INFO: IMEI packet received {"connection_id":171038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 20:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":171038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 20:59:52] local.INFO: TCP Data received {"connection_id":171329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:59:52] local.INFO: Processing buffer {"connection_id":171329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 20:59:52] local.INFO: IMEI packet received {"connection_id":171329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 20:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":171329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:59:53] local.INFO: TCP Data received {"connection_id":171329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:59:53] local.INFO: Processing buffer {"connection_id":171329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d05ae60012d1965c0071fef800040011522..."} 
[2026-09-04 20:59:53] local.INFO: Packet analysis {"connection_id":171329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:59:53] local.INFO: Extracted packet for processing {"connection_id":171329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d05"} 
[2026-09-04 20:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 20:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865006848001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788535484000,"timestamp_ms":1788535484000,"timestamp_seconds":1788535484,"priority":1,"record_length":96,"hex_timestamp":"000001a06d05ae60"} 
[2026-09-04 20:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 20:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 20:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 20:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 20:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865006848001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 20:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 20:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 20:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865006848001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:59:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 20:59:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 20:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 20:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865006848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 20:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":171329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:59:53] local.INFO: GPS data processed {"connection_id":171329,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:59:53] local.INFO: Acknowledgment sent {"connection_id":171329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:59:53] local.INFO: TCP Data received {"connection_id":171038,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:59:53] local.INFO: Processing buffer {"connection_id":171038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 20:59:53] local.INFO: IMEI packet received {"connection_id":171038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 20:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":171038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 20:59:55] local.INFO: TCP Data received {"connection_id":171038,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:59:55] local.INFO: Processing buffer {"connection_id":171038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 20:59:55] local.INFO: Packet analysis {"connection_id":171038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 20:59:55] local.INFO: Extracted packet for processing {"connection_id":171038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 20:59:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 20:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 20:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865045760001,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 20:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 20:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788535636000,"timestamp_ms":1788535636000,"timestamp_seconds":1788535636,"priority":1,"record_length":96,"hex_timestamp":"000001a06d080020"} 
[2026-09-04 20:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 20:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 20:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 20:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 20:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 20:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 20:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 20:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 20:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 20:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 20:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 20:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 20:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865045760001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 20:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 20:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 20:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865045760001,"description":"Unknown IO ID 0"} 
[2026-09-04 20:59:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 20:59:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 20:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 20:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 20:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865045760001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 20:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":171038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765277,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 20:59:55] local.INFO: GPS data processed {"connection_id":171038,"processed":1,"errors":0,"total":1} 
[2026-09-04 20:59:55] local.INFO: Acknowledgment sent {"connection_id":171038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 20:59:58] local.INFO: TCP Data received {"connection_id":171039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:59:58] local.INFO: Processing buffer {"connection_id":171039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 20:59:58] local.INFO: IMEI packet received {"connection_id":171039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 20:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":171039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:00:03] local.INFO: TCP Data received {"connection_id":171039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:00:03] local.INFO: Processing buffer {"connection_id":171039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:00:03] local.INFO: IMEI packet received {"connection_id":171039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":171039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:00:04] local.INFO: TCP Data received {"connection_id":171039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d08fa20012cf0524007136ba8002a006532..."} 
[2026-09-04 21:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d08fa20012cf0524007136ba8002a006532..."} 
[2026-09-04 21:00:04] local.INFO: Processing buffer {"connection_id":171039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d08fa20012cf0524007136ba8002a006532..."} 
[2026-09-04 21:00:04] local.INFO: Packet analysis {"connection_id":171039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 21:00:04] local.INFO: Extracted packet for processing {"connection_id":171039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 21:00:04] local.INFO: GPS Element Parsed {"raw_longitude":753947200,"raw_latitude":118713256,"longitude_deg":75.39472,"latitude_deg":11.8713256,"altitude":42,"angle":101,"satellites":50,"speed":26,"hex_longitude":"2cf05240","hex_latitude":"07136ba8","is_valid_coordinates":true} 
[2026-09-04 21:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865135616001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398574910688985088,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1138706987891744768,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 21:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535700000,"timestamp_ms":1788535700000,"timestamp_seconds":1788535700,"priority":1,"record_length":96,"hex_timestamp":"000001a06d08fa20"} 
[2026-09-04 21:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 21:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865135616001,"66":27267,"16":398574910688985088,"83":41472,"24":26,"44":-1138706987891744768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-09-04 21:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865135616001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398574910688985088,"km_value":398574910688985.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:00:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1138706987891744768,"description":"Unknown IO ID 44"} 
[2026-09-04 21:00:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457865135616001,"power":27267,"odometer":null,"unknown_83":41472,"ignition":26,"unknown_44":-1138706987891744768}} 
[2026-09-04 21:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":171039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:00:04] local.INFO: GPS data processed {"connection_id":171039,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:00:04] local.INFO: Acknowledgment sent {"connection_id":171039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:00:24] local.INFO: TCP Data received {"connection_id":171329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:00:24] local.INFO: Processing buffer {"connection_id":171329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:00:24] local.INFO: Packet analysis {"connection_id":171329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:00:24] local.INFO: Extracted packet for processing {"connection_id":171329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865083904001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788535785000,"timestamp_ms":1788535785000,"timestamp_seconds":1788535785,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0a4628"} 
[2026-09-04 21:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865083904001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865083904001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:00:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:00:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865083904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":171329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:00:24] local.INFO: GPS data processed {"connection_id":171329,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:00:24] local.INFO: Acknowledgment sent {"connection_id":171329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:00:26] local.INFO: TCP Data received {"connection_id":171038,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:00:26] local.INFO: Processing buffer {"connection_id":171038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:00:26] local.INFO: Packet analysis {"connection_id":171038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 21:00:26] local.INFO: Extracted packet for processing {"connection_id":171038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 21:00:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865045760001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788535636000,"timestamp_ms":1788535636000,"timestamp_seconds":1788535636,"priority":1,"record_length":96,"hex_timestamp":"000001a06d080020"} 
[2026-09-04 21:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865045760001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865045760001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:00:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:00:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865045760001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":171038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:00:26] local.INFO: GPS data processed {"connection_id":171038,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:00:26] local.INFO: Acknowledgment sent {"connection_id":171038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:00:42] local.INFO: TCP Data received {"connection_id":171039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d091960012cf06880071369b0002a005930..."} 
[2026-09-04 21:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d091960012cf06880071369b0002a005930..."} 
[2026-09-04 21:00:42] local.INFO: Processing buffer {"connection_id":171039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d091960012cf06880071369b0002a005930..."} 
[2026-09-04 21:00:42] local.INFO: Packet analysis {"connection_id":171039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d09"} 
[2026-09-04 21:00:42] local.INFO: Extracted packet for processing {"connection_id":171039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d09"} 
[2026-09-04 21:00:42] local.INFO: GPS Element Parsed {"raw_longitude":753952896,"raw_latitude":118712752,"longitude_deg":75.3952896,"latitude_deg":11.8712752,"altitude":42,"angle":89,"satellites":48,"speed":25,"hex_longitude":"2cf06880","hex_latitude":"071369b0","is_valid_coordinates":true} 
[2026-09-04 21:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865139200001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398575176976957440,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1129770157381801984,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 21:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788535708000,"timestamp_ms":1788535708000,"timestamp_seconds":1788535708,"priority":1,"record_length":96,"hex_timestamp":"000001a06d091960"} 
[2026-09-04 21:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 21:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865139200001,"66":27267,"16":398575176976957440,"83":41472,"24":25,"44":-1129770157381801984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-09-04 21:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865139200001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398575176976957440,"km_value":398575176976957.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1129770157381801984,"description":"Unknown IO ID 44"} 
[2026-09-04 21:00:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457865139200001,"power":27267,"odometer":null,"unknown_83":41472,"ignition":25,"unknown_44":-1129770157381801984}} 
[2026-09-04 21:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":171039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:00:42] local.INFO: GPS data processed {"connection_id":171039,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:00:42] local.INFO: Acknowledgment sent {"connection_id":171039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:00:47] local.INFO: TCP Data received {"connection_id":172446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:00:47] local.INFO: Processing buffer {"connection_id":172446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:00:47] local.INFO: IMEI packet received {"connection_id":172446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":172446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:00:48] local.INFO: TCP Data received {"connection_id":171040,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:00:48] local.INFO: Processing buffer {"connection_id":171040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:00:48] local.INFO: IMEI packet received {"connection_id":171040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":171040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:00:52] local.INFO: TCP Data received {"connection_id":172446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:00:52] local.INFO: Processing buffer {"connection_id":172446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:00:52] local.INFO: IMEI packet received {"connection_id":172446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":172446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:00:53] local.INFO: TCP Data received {"connection_id":172446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:00:53] local.INFO: Processing buffer {"connection_id":172446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:00:53] local.INFO: Packet analysis {"connection_id":172446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:00:53] local.INFO: Extracted packet for processing {"connection_id":172446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865083904001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788535785000,"timestamp_ms":1788535785000,"timestamp_seconds":1788535785,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0a4628"} 
[2026-09-04 21:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865083904001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865083904001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:00:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:00:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865083904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":172446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:00:53] local.INFO: GPS data processed {"connection_id":172446,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:00:53] local.INFO: Acknowledgment sent {"connection_id":172446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:00:53] local.INFO: TCP Data received {"connection_id":171040,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:00:53] local.INFO: Processing buffer {"connection_id":171040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:00:53] local.INFO: IMEI packet received {"connection_id":171040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":171040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:00:55] local.INFO: TCP Data received {"connection_id":171040,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:00:55] local.INFO: Processing buffer {"connection_id":171040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:00:55] local.INFO: Packet analysis {"connection_id":171040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 21:00:55] local.INFO: Extracted packet for processing {"connection_id":171040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 21:00:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865045760001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788535636000,"timestamp_ms":1788535636000,"timestamp_seconds":1788535636,"priority":1,"record_length":96,"hex_timestamp":"000001a06d080020"} 
[2026-09-04 21:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865045760001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865045760001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:00:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865045760001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":171040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765283,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:00:55] local.INFO: GPS data processed {"connection_id":171040,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:00:55] local.INFO: Acknowledgment sent {"connection_id":171040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:01:03] local.INFO: TCP Data received {"connection_id":171330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:01:03] local.INFO: Processing buffer {"connection_id":171330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:01:03] local.INFO: IMEI packet received {"connection_id":171330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":171330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:01:04] local.INFO: TCP Data received {"connection_id":171330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:01:04] local.INFO: Processing buffer {"connection_id":171330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:01:04] local.INFO: IMEI packet received {"connection_id":171330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":171330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:01:05] local.INFO: TCP Data received {"connection_id":171330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d092ce8012cf0738007136b20002a004d30..."} 
[2026-09-04 21:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d092ce8012cf0738007136b20002a004d30..."} 
[2026-09-04 21:01:05] local.INFO: Processing buffer {"connection_id":171330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d092ce8012cf0738007136b20002a004d30..."} 
[2026-09-04 21:01:05] local.INFO: Packet analysis {"connection_id":171330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d09"} 
[2026-09-04 21:01:05] local.INFO: Extracted packet for processing {"connection_id":171330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d09"} 
[2026-09-04 21:01:05] local.INFO: GPS Element Parsed {"raw_longitude":753955712,"raw_latitude":118713120,"longitude_deg":75.3955712,"latitude_deg":11.871312,"altitude":42,"angle":77,"satellites":48,"speed":17,"hex_longitude":"2cf07380","hex_latitude":"07136b20","is_valid_coordinates":true} 
[2026-09-04 21:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865141248001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398575314415910912,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1123507339150118912,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 21:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788535713000,"timestamp_ms":1788535713000,"timestamp_seconds":1788535713,"priority":1,"record_length":96,"hex_timestamp":"000001a06d092ce8"} 
[2026-09-04 21:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 21:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865141248001,"66":27365,"16":398575314415910912,"83":41472,"24":17,"44":-1123507339150118912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-09-04 21:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865141248001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398575314415910912,"km_value":398575314415910.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1123507339150118912,"description":"Unknown IO ID 44"} 
[2026-09-04 21:01:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457865141248001,"power":27365,"odometer":null,"unknown_83":41472,"ignition":17,"unknown_44":-1123507339150118912}} 
[2026-09-04 21:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":171330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:01:05] local.INFO: GPS data processed {"connection_id":171330,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:01:05] local.INFO: Acknowledgment sent {"connection_id":171330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:01:08] local.INFO: TCP Data received {"connection_id":171330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d096780012cf0898007137200002e004132..."} 
[2026-09-04 21:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d096780012cf0898007137200002e004132..."} 
[2026-09-04 21:01:08] local.INFO: Processing buffer {"connection_id":171330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d096780012cf0898007137200002e004132..."} 
[2026-09-04 21:01:08] local.INFO: Packet analysis {"connection_id":171330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d09"} 
[2026-09-04 21:01:08] local.INFO: Extracted packet for processing {"connection_id":171330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d09"} 
[2026-09-04 21:01:08] local.INFO: GPS Element Parsed {"raw_longitude":753961344,"raw_latitude":118714880,"longitude_deg":75.3961344,"latitude_deg":11.871488,"altitude":46,"angle":65,"satellites":50,"speed":14,"hex_longitude":"2cf08980","hex_latitude":"07137200","is_valid_coordinates":true} 
[2026-09-04 21:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865142528001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398575593588785152,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1120411114406207488,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 21:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788535728000,"timestamp_ms":1788535728000,"timestamp_seconds":1788535728,"priority":1,"record_length":96,"hex_timestamp":"000001a06d096780"} 
[2026-09-04 21:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 21:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865142528001,"66":27484,"16":398575593588785152,"83":41472,"24":14,"44":-1120411114406207488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-09-04 21:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865142528001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398575593588785152,"km_value":398575593588785.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:01:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:01:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1120411114406207488,"description":"Unknown IO ID 44"} 
[2026-09-04 21:01:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457865142528001,"power":27484,"odometer":null,"unknown_83":41472,"ignition":14,"unknown_44":-1120411114406207488}} 
[2026-09-04 21:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":171330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:01:08] local.INFO: GPS data processed {"connection_id":171330,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:01:08] local.INFO: Acknowledgment sent {"connection_id":171330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:01:24] local.INFO: TCP Data received {"connection_id":172446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:01:24] local.INFO: Processing buffer {"connection_id":172446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:01:24] local.INFO: Packet analysis {"connection_id":172446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:01:24] local.INFO: Extracted packet for processing {"connection_id":172446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865083904001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788535785000,"timestamp_ms":1788535785000,"timestamp_seconds":1788535785,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0a4628"} 
[2026-09-04 21:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865083904001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865083904001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:01:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865083904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":172446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:01:24] local.INFO: GPS data processed {"connection_id":172446,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:01:24] local.INFO: Acknowledgment sent {"connection_id":172446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:01:27] local.INFO: TCP Data received {"connection_id":171040,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:01:27] local.INFO: Processing buffer {"connection_id":171040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:01:27] local.INFO: Packet analysis {"connection_id":171040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 21:01:27] local.INFO: Extracted packet for processing {"connection_id":171040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 21:01:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865045760001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788535636000,"timestamp_ms":1788535636000,"timestamp_seconds":1788535636,"priority":1,"record_length":96,"hex_timestamp":"000001a06d080020"} 
[2026-09-04 21:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865045760001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865045760001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:01:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:01:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865045760001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":171040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:01:27] local.INFO: GPS data processed {"connection_id":171040,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:01:27] local.INFO: Acknowledgment sent {"connection_id":171040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:01:40] local.INFO: TCP Data received {"connection_id":171330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0b0590012cf17d4007132a48002000832d..."} 
[2026-09-04 21:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0b0590012cf17d4007132a48002000832d..."} 
[2026-09-04 21:01:40] local.INFO: Processing buffer {"connection_id":171330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0b0590012cf17d4007132a48002000832d..."} 
[2026-09-04 21:01:40] local.INFO: Packet analysis {"connection_id":171330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0b"} 
[2026-09-04 21:01:40] local.INFO: Extracted packet for processing {"connection_id":171330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0b"} 
[2026-09-04 21:01:40] local.INFO: GPS Element Parsed {"raw_longitude":754023744,"raw_latitude":118696520,"longitude_deg":75.4023744,"latitude_deg":11.869652,"altitude":32,"angle":131,"satellites":45,"speed":46,"hex_longitude":"2cf17d40","hex_latitude":"07132a48","is_valid_coordinates":true} 
[2026-09-04 21:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865171456001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398578900713603072,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1053349701207576576,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788535834000,"timestamp_ms":1788535834000,"timestamp_seconds":1788535834,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0b0590"} 
[2026-09-04 21:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865171456001,"66":27332,"23":206,"83":41472,"24":46,"16":398578900713603072,"44":-1053349701207576576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-09-04 21:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865171456001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:01:40] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-04 21:01:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398578900713603072,"km_value":398578900713603.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:01:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1053349701207576576,"description":"Unknown IO ID 44"} 
[2026-09-04 21:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865171456001,"power":27332,"unknown_23":206,"unknown_83":41472,"ignition":46,"odometer":null,"unknown_44":-1053349701207576576}} 
[2026-09-04 21:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":171330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:01:40] local.INFO: GPS data processed {"connection_id":171330,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:01:40] local.INFO: Acknowledgment sent {"connection_id":171330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:01:47] local.INFO: TCP Data received {"connection_id":173729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:01:47] local.INFO: Processing buffer {"connection_id":173729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:01:47] local.INFO: IMEI packet received {"connection_id":173729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":173729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:01:48] local.INFO: TCP Data received {"connection_id":172447,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:01:48] local.INFO: Processing buffer {"connection_id":172447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:01:48] local.INFO: IMEI packet received {"connection_id":172447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":172447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:01:52] local.INFO: TCP Data received {"connection_id":173729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:01:52] local.INFO: Processing buffer {"connection_id":173729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:01:52] local.INFO: IMEI packet received {"connection_id":173729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":173729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:01:53] local.INFO: TCP Data received {"connection_id":173729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:01:53] local.INFO: Processing buffer {"connection_id":173729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:01:53] local.INFO: Packet analysis {"connection_id":173729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:01:53] local.INFO: Extracted packet for processing {"connection_id":173729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865083904001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788535785000,"timestamp_ms":1788535785000,"timestamp_seconds":1788535785,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0a4628"} 
[2026-09-04 21:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865083904001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865083904001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:01:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865083904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":173729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:01:53] local.INFO: GPS data processed {"connection_id":173729,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:01:53] local.INFO: Acknowledgment sent {"connection_id":173729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:01:53] local.INFO: TCP Data received {"connection_id":172447,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:01:53] local.INFO: Processing buffer {"connection_id":172447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:01:53] local.INFO: IMEI packet received {"connection_id":172447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":172447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:01:55] local.INFO: TCP Data received {"connection_id":172447,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:01:55] local.INFO: Processing buffer {"connection_id":172447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:01:55] local.INFO: Packet analysis {"connection_id":172447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 21:01:55] local.INFO: Extracted packet for processing {"connection_id":172447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 21:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865045760001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788535636000,"timestamp_ms":1788535636000,"timestamp_seconds":1788535636,"priority":1,"record_length":96,"hex_timestamp":"000001a06d080020"} 
[2026-09-04 21:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865045760001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865045760001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:01:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865045760001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":172447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765290,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:01:55] local.INFO: GPS data processed {"connection_id":172447,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:01:55] local.INFO: Acknowledgment sent {"connection_id":172447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:01:58] local.INFO: TCP Data received {"connection_id":171331,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:01:58] local.INFO: Processing buffer {"connection_id":171331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:01:58] local.INFO: IMEI packet received {"connection_id":171331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":171331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:02:02] local.INFO: TCP Data received {"connection_id":171331,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:02:02] local.INFO: Processing buffer {"connection_id":171331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:02:02] local.INFO: IMEI packet received {"connection_id":171331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":171331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:02:03] local.INFO: TCP Data received {"connection_id":171331,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0b24d0012cf19840071312b80018008531..."} 
[2026-09-04 21:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0b24d0012cf19840071312b80018008531..."} 
[2026-09-04 21:02:03] local.INFO: Processing buffer {"connection_id":171331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0b24d0012cf19840071312b80018008531..."} 
[2026-09-04 21:02:03] local.INFO: Packet analysis {"connection_id":171331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0b"} 
[2026-09-04 21:02:03] local.INFO: Extracted packet for processing {"connection_id":171331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0b"} 
[2026-09-04 21:02:03] local.INFO: GPS Element Parsed {"raw_longitude":754030656,"raw_latitude":118690488,"longitude_deg":75.4030656,"latitude_deg":11.8690488,"altitude":24,"angle":133,"satellites":49,"speed":40,"hex_longitude":"2cf19840","hex_latitude":"071312b8","is_valid_coordinates":true} 
[2026-09-04 21:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865173504001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398579343095234560,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1045609139349600256,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788535842000,"timestamp_ms":1788535842000,"timestamp_seconds":1788535842,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0b24d0"} 
[2026-09-04 21:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 21:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865173504001,"66":27365,"197":206,"83":41472,"24":40,"16":398579343095234560,"44":-1045609139349600256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-09-04 21:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865173504001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:02:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 21:02:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398579343095234560,"km_value":398579343095234.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:02:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1045609139349600256,"description":"Unknown IO ID 44"} 
[2026-09-04 21:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865173504001,"power":27365,"unknown_197":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-1045609139349600256}} 
[2026-09-04 21:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":171331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:02:03] local.INFO: GPS data processed {"connection_id":171331,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:02:03] local.INFO: Acknowledgment sent {"connection_id":171331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:02:24] local.INFO: TCP Data received {"connection_id":173729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:02:24] local.INFO: Processing buffer {"connection_id":173729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:02:24] local.INFO: Packet analysis {"connection_id":173729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:02:24] local.INFO: Extracted packet for processing {"connection_id":173729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865083904001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788535785000,"timestamp_ms":1788535785000,"timestamp_seconds":1788535785,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0a4628"} 
[2026-09-04 21:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865083904001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865083904001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:02:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865083904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":173729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:02:24] local.INFO: GPS data processed {"connection_id":173729,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:02:24] local.INFO: Acknowledgment sent {"connection_id":173729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:02:26] local.INFO: TCP Data received {"connection_id":172447,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:02:26] local.INFO: Processing buffer {"connection_id":172447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d080020012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:02:26] local.INFO: Packet analysis {"connection_id":172447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 21:02:26] local.INFO: Extracted packet for processing {"connection_id":172447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d08"} 
[2026-09-04 21:02:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865045760001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788535636000,"timestamp_ms":1788535636000,"timestamp_seconds":1788535636,"priority":1,"record_length":96,"hex_timestamp":"000001a06d080020"} 
[2026-09-04 21:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865045760001,"66":25419,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865045760001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:02:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:02:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865045760001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":172447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:02:26] local.INFO: GPS data processed {"connection_id":172447,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:02:26] local.INFO: Acknowledgment sent {"connection_id":172447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:02:34] local.INFO: TCP Data received {"connection_id":171331,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0b4fc8012cf1b2800712f960000f00862f..."} 
[2026-09-04 21:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0b4fc8012cf1b2800712f960000f00862f..."} 
[2026-09-04 21:02:34] local.INFO: Processing buffer {"connection_id":171331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0b4fc8012cf1b2800712f960000f00862f..."} 
[2026-09-04 21:02:34] local.INFO: Packet analysis {"connection_id":171331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0b"} 
[2026-09-04 21:02:34] local.INFO: Extracted packet for processing {"connection_id":171331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0b"} 
[2026-09-04 21:02:34] local.INFO: GPS Element Parsed {"raw_longitude":754037376,"raw_latitude":118684000,"longitude_deg":75.4037376,"latitude_deg":11.8684,"altitude":15,"angle":134,"satellites":47,"speed":25,"hex_longitude":"2cf1b280","hex_latitude":"0712f960","is_valid_coordinates":true} 
[2026-09-04 21:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865175552001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398579789771833344,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1038009314979956736,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788535853000,"timestamp_ms":1788535853000,"timestamp_seconds":1788535853,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0b4fc8"} 
[2026-09-04 21:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 21:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865175552001,"66":27321,"197":206,"83":41472,"24":25,"16":398579789771833344,"44":-1038009314979956736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-09-04 21:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865175552001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:02:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 21:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398579789771833344,"km_value":398579789771833.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:02:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1038009314979956736,"description":"Unknown IO ID 44"} 
[2026-09-04 21:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865175552001,"power":27321,"unknown_197":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-1038009314979956736}} 
[2026-09-04 21:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":171331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:02:34] local.INFO: GPS data processed {"connection_id":171331,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:02:34] local.INFO: Acknowledgment sent {"connection_id":171331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:02:52] local.INFO: TCP Data received {"connection_id":172448,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:02:52] local.INFO: Processing buffer {"connection_id":172448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:02:52] local.INFO: IMEI packet received {"connection_id":172448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":172448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:02:53] local.INFO: TCP Data received {"connection_id":173730,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:02:53] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:02:53] local.INFO: IMEI packet received {"connection_id":173730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":173730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:02:55] local.INFO: TCP Data received {"connection_id":173730,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:02:55] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:02:55] local.INFO: IMEI packet received {"connection_id":173730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":173730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:02:56] local.INFO: TCP Data received {"connection_id":173730,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:02:56] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:02:56] local.INFO: Packet analysis {"connection_id":173730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:02:56] local.INFO: Extracted packet for processing {"connection_id":173730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:02:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865122816001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788535937000,"timestamp_ms":1788535937000,"timestamp_seconds":1788535937,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0c97e8"} 
[2026-09-04 21:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865122816001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865122816001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:02:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:02:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865122816001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":173730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:02:56] local.INFO: GPS data processed {"connection_id":173730,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:02:56] local.INFO: Acknowledgment sent {"connection_id":173730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:02:57] local.INFO: TCP Data received {"connection_id":172448,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:02:57] local.INFO: Processing buffer {"connection_id":172448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:02:57] local.INFO: IMEI packet received {"connection_id":172448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":172448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:02:58] local.INFO: TCP Data received {"connection_id":172448,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:02:58] local.INFO: Processing buffer {"connection_id":172448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:02:58] local.INFO: Packet analysis {"connection_id":172448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:02:58] local.INFO: Extracted packet for processing {"connection_id":172448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:02:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865083904001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788535785000,"timestamp_ms":1788535785000,"timestamp_seconds":1788535785,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0a4628"} 
[2026-09-04 21:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865083904001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865083904001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:02:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865083904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:02:58] local.INFO: TCP Data received {"connection_id":173731,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:02:58] local.INFO: Processing buffer {"connection_id":173731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:02:58] local.INFO: IMEI packet received {"connection_id":173731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":173731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":172448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:02:58] local.INFO: GPS data processed {"connection_id":172448,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:02:58] local.INFO: Acknowledgment sent {"connection_id":172448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:02:59] local.INFO: TCP Data received {"connection_id":173730,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:02:59] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:02:59] local.INFO: Packet analysis {"connection_id":173730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:02:59] local.INFO: Extracted packet for processing {"connection_id":173730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865122816001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788535937000,"timestamp_ms":1788535937000,"timestamp_seconds":1788535937,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0c97e8"} 
[2026-09-04 21:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865122816001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865122816001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:02:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:02:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865122816001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":173730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765297,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:02:59] local.INFO: GPS data processed {"connection_id":173730,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:02:59] local.INFO: Acknowledgment sent {"connection_id":173730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:03:03] local.INFO: TCP Data received {"connection_id":172448,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:03:03] local.INFO: Processing buffer {"connection_id":172448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:03:03] local.INFO: Packet analysis {"connection_id":172448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:03:03] local.INFO: Extracted packet for processing {"connection_id":172448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865083904001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788535785000,"timestamp_ms":1788535785000,"timestamp_seconds":1788535785,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0a4628"} 
[2026-09-04 21:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865083904001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865083904001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:03:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865083904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":172448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:03:03] local.INFO: GPS data processed {"connection_id":172448,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:03:03] local.INFO: Acknowledgment sent {"connection_id":172448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:03:03] local.INFO: TCP Data received {"connection_id":173731,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:03:03] local.INFO: Processing buffer {"connection_id":173731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:03:03] local.INFO: IMEI packet received {"connection_id":173731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":173731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:03:04] local.INFO: TCP Data received {"connection_id":173731,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0b9618012cf1cd800712e010000c008530..."} 
[2026-09-04 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0b9618012cf1cd800712e010000c008530..."} 
[2026-09-04 21:03:04] local.INFO: Processing buffer {"connection_id":173731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0b9618012cf1cd800712e010000c008530..."} 
[2026-09-04 21:03:04] local.INFO: Packet analysis {"connection_id":173731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0b"} 
[2026-09-04 21:03:04] local.INFO: Extracted packet for processing {"connection_id":173731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0b"} 
[2026-09-04 21:03:04] local.INFO: GPS Element Parsed {"raw_longitude":754044288,"raw_latitude":118677520,"longitude_deg":75.4044288,"latitude_deg":11.867752,"altitude":12,"angle":133,"satellites":48,"speed":25,"hex_longitude":"2cf1cd80","hex_latitude":"0712e010","is_valid_coordinates":true} 
[2026-09-04 21:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865178368001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398580240743399424,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1030620596842962944,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535871000,"timestamp_ms":1788535871000,"timestamp_seconds":1788535871,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0b9618"} 
[2026-09-04 21:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 21:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865178368001,"66":27245,"197":206,"83":41472,"24":25,"16":398580240743399424,"44":-1030620596842962944},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-09-04 21:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865178368001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:03:04] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 21:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398580240743399424,"km_value":398580240743399.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1030620596842962944,"description":"Unknown IO ID 44"} 
[2026-09-04 21:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865178368001,"power":27245,"unknown_197":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-1030620596842962944}} 
[2026-09-04 21:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":173731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:03:04] local.INFO: GPS data processed {"connection_id":173731,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:03:04] local.INFO: Acknowledgment sent {"connection_id":173731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:03:31] local.INFO: TCP Data received {"connection_id":173730,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:03:31] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:03:31] local.INFO: Packet analysis {"connection_id":173730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:03:31] local.INFO: Extracted packet for processing {"connection_id":173730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865122816001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788535937000,"timestamp_ms":1788535937000,"timestamp_seconds":1788535937,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0c97e8"} 
[2026-09-04 21:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865122816001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865122816001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:03:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:03:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865122816001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":173730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765300,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:03:31] local.INFO: GPS data processed {"connection_id":173730,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:03:31] local.INFO: Acknowledgment sent {"connection_id":173730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:03:35] local.INFO: TCP Data received {"connection_id":173731,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0ba1d0012cf1d4400712dad8000c007830..."} 
[2026-09-04 21:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0ba1d0012cf1d4400712dad8000c007830..."} 
[2026-09-04 21:03:35] local.INFO: Processing buffer {"connection_id":173731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0ba1d0012cf1d4400712dad8000c007830..."} 
[2026-09-04 21:03:35] local.INFO: Packet analysis {"connection_id":173731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0b"} 
[2026-09-04 21:03:35] local.INFO: Extracted packet for processing {"connection_id":173731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0b"} 
[2026-09-04 21:03:35] local.INFO: GPS Element Parsed {"raw_longitude":754046016,"raw_latitude":118676184,"longitude_deg":75.4046016,"latitude_deg":11.8676184,"altitude":12,"angle":120,"satellites":48,"speed":32,"hex_longitude":"2cf1d440","hex_latitude":"0712dad8","is_valid_coordinates":true} 
[2026-09-04 21:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865182976001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398580348117581824,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1023020772473434112,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788535874000,"timestamp_ms":1788535874000,"timestamp_seconds":1788535874,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0ba1d0"} 
[2026-09-04 21:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 21:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865182976001,"66":27376,"197":206,"83":41472,"24":32,"16":398580348117581824,"44":-1023020772473434112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-09-04 21:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865182976001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:03:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 21:03:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398580348117581824,"km_value":398580348117581.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:03:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1023020772473434112,"description":"Unknown IO ID 44"} 
[2026-09-04 21:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865182976001,"power":27376,"unknown_197":206,"unknown_83":41472,"ignition":32,"odometer":null,"unknown_44":-1023020772473434112}} 
[2026-09-04 21:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":173731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:03:35] local.INFO: GPS data processed {"connection_id":173731,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:03:35] local.INFO: Acknowledgment sent {"connection_id":173731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:03:47] local.INFO: TCP Data received {"connection_id":171332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:03:47] local.INFO: Processing buffer {"connection_id":171332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:03:47] local.INFO: IMEI packet received {"connection_id":171332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":171332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:03:48] local.INFO: TCP Data received {"connection_id":171041,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:03:48] local.INFO: Processing buffer {"connection_id":171041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:03:48] local.INFO: IMEI packet received {"connection_id":171041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":171041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:03:52] local.INFO: TCP Data received {"connection_id":171332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:03:52] local.INFO: Processing buffer {"connection_id":171332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:03:52] local.INFO: IMEI packet received {"connection_id":171332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":171332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:03:53] local.INFO: TCP Data received {"connection_id":171332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:03:53] local.INFO: Processing buffer {"connection_id":171332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:03:53] local.INFO: Packet analysis {"connection_id":171332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:03:53] local.INFO: Extracted packet for processing {"connection_id":171332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:03:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865083904001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788535785000,"timestamp_ms":1788535785000,"timestamp_seconds":1788535785,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0a4628"} 
[2026-09-04 21:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865083904001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865083904001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:03:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:03:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865083904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":171332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:03:53] local.INFO: GPS data processed {"connection_id":171332,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:03:53] local.INFO: Acknowledgment sent {"connection_id":171332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:03:53] local.INFO: TCP Data received {"connection_id":171041,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:03:53] local.INFO: Processing buffer {"connection_id":171041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:03:53] local.INFO: IMEI packet received {"connection_id":171041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":171041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:03:55] local.INFO: TCP Data received {"connection_id":171041,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:03:55] local.INFO: Processing buffer {"connection_id":171041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:03:55] local.INFO: Packet analysis {"connection_id":171041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:03:55] local.INFO: Extracted packet for processing {"connection_id":171041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:03:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865122816001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788535937000,"timestamp_ms":1788535937000,"timestamp_seconds":1788535937,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0c97e8"} 
[2026-09-04 21:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865122816001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865122816001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:03:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865122816001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":171041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:03:55] local.INFO: GPS data processed {"connection_id":171041,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:03:55] local.INFO: Acknowledgment sent {"connection_id":171041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:03:57] local.INFO: TCP Data received {"connection_id":172449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:03:57] local.INFO: Processing buffer {"connection_id":172449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:03:57] local.INFO: IMEI packet received {"connection_id":172449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":172449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:03:58] local.INFO: TCP Data received {"connection_id":172449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:03:58] local.INFO: Processing buffer {"connection_id":172449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:03:58] local.INFO: IMEI packet received {"connection_id":172449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":172449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:04:03] local.INFO: TCP Data received {"connection_id":172449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:04:03] local.INFO: Processing buffer {"connection_id":172449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:04:03] local.INFO: IMEI packet received {"connection_id":172449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":172449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:04:04] local.INFO: TCP Data received {"connection_id":172449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0d3fe0012cf25b80071252e0000b008a31..."} 
[2026-09-04 21:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0d3fe0012cf25b80071252e0000b008a31..."} 
[2026-09-04 21:04:04] local.INFO: Processing buffer {"connection_id":172449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0d3fe0012cf25b80071252e0000b008a31..."} 
[2026-09-04 21:04:04] local.INFO: Packet analysis {"connection_id":172449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0d"} 
[2026-09-04 21:04:04] local.INFO: Extracted packet for processing {"connection_id":172449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0d"} 
[2026-09-04 21:04:04] local.INFO: GPS Element Parsed {"raw_longitude":754080640,"raw_latitude":118641376,"longitude_deg":75.408064,"latitude_deg":11.8641376,"altitude":11,"angle":138,"satellites":49,"speed":9,"hex_longitude":"2cf25b80","hex_latitude":"071252e0","is_valid_coordinates":true} 
[2026-09-04 21:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865210112001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398582822018744320,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-983473538254696448,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535980000,"timestamp_ms":1788535980000,"timestamp_seconds":1788535980,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0d3fe0"} 
[2026-09-04 21:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 21:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865210112001,"66":26180,"23":206,"83":41472,"24":9,"16":398582822018744320,"44":-983473538254696448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-09-04 21:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865210112001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:04:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-04 21:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398582822018744320,"km_value":398582822018744.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:04:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-983473538254696448,"description":"Unknown IO ID 44"} 
[2026-09-04 21:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865210112001,"power":26180,"unknown_23":206,"unknown_83":41472,"ignition":9,"odometer":null,"unknown_44":-983473538254696448}} 
[2026-09-04 21:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":172449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:04:04] local.INFO: GPS data processed {"connection_id":172449,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:04:04] local.INFO: Acknowledgment sent {"connection_id":172449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:04:24] local.INFO: TCP Data received {"connection_id":171332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:04:24] local.INFO: Processing buffer {"connection_id":171332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:04:24] local.INFO: Packet analysis {"connection_id":171332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:04:24] local.INFO: Extracted packet for processing {"connection_id":171332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865083904001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788535785000,"timestamp_ms":1788535785000,"timestamp_seconds":1788535785,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0a4628"} 
[2026-09-04 21:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865083904001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865083904001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:04:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:04:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865083904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":171332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:04:24] local.INFO: GPS data processed {"connection_id":171332,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:04:24] local.INFO: Acknowledgment sent {"connection_id":171332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:04:26] local.INFO: TCP Data received {"connection_id":171041,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:04:26] local.INFO: Processing buffer {"connection_id":171041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:04:26] local.INFO: Packet analysis {"connection_id":171041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:04:26] local.INFO: Extracted packet for processing {"connection_id":171041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:04:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865122816001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788535937000,"timestamp_ms":1788535937000,"timestamp_seconds":1788535937,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0c97e8"} 
[2026-09-04 21:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865122816001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865122816001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:04:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:04:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865122816001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":171041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:04:26] local.INFO: GPS data processed {"connection_id":171041,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:04:26] local.INFO: Acknowledgment sent {"connection_id":171041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:04:35] local.INFO: TCP Data received {"connection_id":172449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0d47b0012cf25d00071251b0000b007d30..."} 
[2026-09-04 21:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0d47b0012cf25d00071251b0000b007d30..."} 
[2026-09-04 21:04:35] local.INFO: Processing buffer {"connection_id":172449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0d47b0012cf25d00071251b0000b007d30..."} 
[2026-09-04 21:04:35] local.INFO: Packet analysis {"connection_id":172449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0d"} 
[2026-09-04 21:04:35] local.INFO: Extracted packet for processing {"connection_id":172449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0d"} 
[2026-09-04 21:04:35] local.INFO: GPS Element Parsed {"raw_longitude":754081024,"raw_latitude":118641072,"longitude_deg":75.4081024,"latitude_deg":11.8641072,"altitude":11,"angle":125,"satellites":48,"speed":8,"hex_longitude":"2cf25d00","hex_latitude":"071251b0","is_valid_coordinates":true} 
[2026-09-04 21:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865210880001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398582847788548096,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-983051325789773824,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788535982000,"timestamp_ms":1788535982000,"timestamp_seconds":1788535982,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0d47b0"} 
[2026-09-04 21:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 21:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865210880001,"66":27376,"23":206,"83":41472,"24":8,"16":398582847788548096,"44":-983051325789773824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-09-04 21:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865210880001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:04:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-04 21:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398582847788548096,"km_value":398582847788548.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:04:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-983051325789773824,"description":"Unknown IO ID 44"} 
[2026-09-04 21:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865210880001,"power":27376,"unknown_23":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-983051325789773824}} 
[2026-09-04 21:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":172449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:04:35] local.INFO: GPS data processed {"connection_id":172449,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:04:35] local.INFO: Acknowledgment sent {"connection_id":172449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:04:47] local.INFO: TCP Data received {"connection_id":173732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:04:47] local.INFO: Processing buffer {"connection_id":173732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:04:47] local.INFO: IMEI packet received {"connection_id":173732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":173732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:04:48] local.INFO: TCP Data received {"connection_id":172450,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:04:48] local.INFO: Processing buffer {"connection_id":172450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:04:48] local.INFO: IMEI packet received {"connection_id":172450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":172450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:04:52] local.INFO: TCP Data received {"connection_id":173732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:04:52] local.INFO: Processing buffer {"connection_id":173732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:04:52] local.INFO: IMEI packet received {"connection_id":173732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":173732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:04:53] local.INFO: TCP Data received {"connection_id":173732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:04:53] local.INFO: Processing buffer {"connection_id":173732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:04:53] local.INFO: Packet analysis {"connection_id":173732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:04:53] local.INFO: Extracted packet for processing {"connection_id":173732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:04:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865083904001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788535785000,"timestamp_ms":1788535785000,"timestamp_seconds":1788535785,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0a4628"} 
[2026-09-04 21:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865083904001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865083904001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:04:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:04:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865083904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":173732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:04:53] local.INFO: GPS data processed {"connection_id":173732,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:04:53] local.INFO: Acknowledgment sent {"connection_id":173732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:04:53] local.INFO: TCP Data received {"connection_id":172450,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:04:53] local.INFO: Processing buffer {"connection_id":172450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:04:53] local.INFO: IMEI packet received {"connection_id":172450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":172450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:04:55] local.INFO: TCP Data received {"connection_id":172450,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:04:55] local.INFO: Processing buffer {"connection_id":172450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:04:55] local.INFO: Packet analysis {"connection_id":172450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:04:55] local.INFO: Extracted packet for processing {"connection_id":172450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:04:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865122816001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788535937000,"timestamp_ms":1788535937000,"timestamp_seconds":1788535937,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0c97e8"} 
[2026-09-04 21:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865122816001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865122816001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:04:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:04:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865122816001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":172450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:04:55] local.INFO: GPS data processed {"connection_id":172450,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:04:55] local.INFO: Acknowledgment sent {"connection_id":172450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:04:57] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:04:57] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:04:57] local.INFO: IMEI packet received {"connection_id":173733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":173733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:04:58] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:04:58] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:04:58] local.INFO: IMEI packet received {"connection_id":173733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":173733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:05:01] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:05:01] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:05:01] local.INFO: IMEI packet received {"connection_id":173733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":173733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:05:03] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:05:03] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:05:03] local.INFO: IMEI packet received {"connection_id":173733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":173733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:05:04] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0d5b38012cf25fc007125030000b007130..."} 
[2026-09-04 21:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0d5b38012cf25fc007125030000b007130..."} 
[2026-09-04 21:05:04] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0d5b38012cf25fc007125030000b007130..."} 
[2026-09-04 21:05:04] local.INFO: Packet analysis {"connection_id":173733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0d"} 
[2026-09-04 21:05:04] local.INFO: Extracted packet for processing {"connection_id":173733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0d"} 
[2026-09-04 21:05:04] local.INFO: GPS Element Parsed {"raw_longitude":754081728,"raw_latitude":118640688,"longitude_deg":75.4081728,"latitude_deg":11.8640688,"altitude":11,"angle":113,"satellites":48,"speed":6,"hex_longitude":"2cf25fc0","hex_latitude":"07125030","is_valid_coordinates":true} 
[2026-09-04 21:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865211392001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398582886443253760,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-982629113324785664,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535987000,"timestamp_ms":1788535987000,"timestamp_seconds":1788535987,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0d5b38"} 
[2026-09-04 21:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865211392001,"66":27397,"23":206,"83":41472,"24":6,"16":398582886443253760,"44":-982629113324785664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-09-04 21:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865211392001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:05:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-04 21:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398582886443253760,"km_value":398582886443253.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:05:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-982629113324785664,"description":"Unknown IO ID 44"} 
[2026-09-04 21:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865211392001,"power":27397,"unknown_23":206,"unknown_83":41472,"ignition":6,"odometer":null,"unknown_44":-982629113324785664}} 
[2026-09-04 21:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":173733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:05:04] local.INFO: GPS data processed {"connection_id":173733,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:05:04] local.INFO: Acknowledgment sent {"connection_id":173733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:05:07] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0d8a18012cf2714007124700000c007d32..."} 
[2026-09-04 21:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0d8a18012cf2714007124700000c007d32..."} 
[2026-09-04 21:05:07] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0d8a18012cf2714007124700000c007d32..."} 
[2026-09-04 21:05:07] local.INFO: Packet analysis {"connection_id":173733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0d"} 
[2026-09-04 21:05:07] local.INFO: Extracted packet for processing {"connection_id":173733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0d"} 
[2026-09-04 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":754086208,"raw_latitude":118638336,"longitude_deg":75.4086208,"latitude_deg":11.8638336,"altitude":12,"angle":125,"satellites":50,"speed":28,"hex_longitude":"2cf27140","hex_latitude":"07124700","is_valid_coordinates":true} 
[2026-09-04 21:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865212672001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398583126961422336,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-981855057138929664,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788535999000,"timestamp_ms":1788535999000,"timestamp_seconds":1788535999,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0d8a18"} 
[2026-09-04 21:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865212672001,"66":27365,"21":206,"83":41472,"24":28,"16":398583126961422336,"44":-981855057138929664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,44]} 
[2026-09-04 21:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865212672001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:05:07] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-04 21:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398583126961422336,"km_value":398583126961422.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:05:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-981855057138929664,"description":"Unknown IO ID 44"} 
[2026-09-04 21:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865212672001,"power":27365,"unknown_21":206,"unknown_83":41472,"ignition":28,"odometer":null,"unknown_44":-981855057138929664}} 
[2026-09-04 21:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":173733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:05:07] local.INFO: GPS data processed {"connection_id":173733,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:05:07] local.INFO: Acknowledgment sent {"connection_id":173733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:05:23] local.INFO: TCP Data received {"connection_id":173732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:05:23] local.INFO: Processing buffer {"connection_id":173732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0a4628012d1965c0071fef80004001152a..."} 
[2026-09-04 21:05:23] local.INFO: Packet analysis {"connection_id":173732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:05:23] local.INFO: Extracted packet for processing {"connection_id":173732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0a"} 
[2026-09-04 21:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":64,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865083904001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788535785000,"timestamp_ms":1788535785000,"timestamp_seconds":1788535785,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0a4628"} 
[2026-09-04 21:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865083904001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865083904001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:05:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:05:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865083904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":173732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:05:24] local.INFO: GPS data processed {"connection_id":173732,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:05:24] local.INFO: Acknowledgment sent {"connection_id":173732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:05:26] local.INFO: TCP Data received {"connection_id":172450,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:05:26] local.INFO: Processing buffer {"connection_id":172450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:05:26] local.INFO: Packet analysis {"connection_id":172450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:05:26] local.INFO: Extracted packet for processing {"connection_id":172450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:05:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865122816001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788535937000,"timestamp_ms":1788535937000,"timestamp_seconds":1788535937,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0c97e8"} 
[2026-09-04 21:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865122816001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865122816001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:05:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:05:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865122816001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":172450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765313,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:05:26] local.INFO: GPS data processed {"connection_id":172450,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:05:26] local.INFO: Acknowledgment sent {"connection_id":172450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:05:38] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0ef948012cf3048007113150002300a031..."} 
[2026-09-04 21:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0ef948012cf3048007113150002300a031..."} 
[2026-09-04 21:05:38] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0ef948012cf3048007113150002300a031..."} 
[2026-09-04 21:05:38] local.INFO: Packet analysis {"connection_id":173733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:05:38] local.INFO: Extracted packet for processing {"connection_id":173733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:05:38] local.INFO: GPS Element Parsed {"raw_longitude":754123904,"raw_latitude":118567248,"longitude_deg":75.4123904,"latitude_deg":11.8567248,"altitude":35,"angle":160,"satellites":49,"speed":33,"hex_longitude":"2cf30480","hex_latitude":"07113150","is_valid_coordinates":true} 
[2026-09-04 21:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865239552001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398587550777737216,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-935693160976973824,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788536093000,"timestamp_ms":1788536093000,"timestamp_seconds":1788536093,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0ef948"} 
[2026-09-04 21:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865239552001,"66":27343,"22":206,"83":41472,"24":33,"16":398587550777737216,"44":-935693160976973824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,83,24,16,44]} 
[2026-09-04 21:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865239552001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:05:38] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-04 21:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398587550777737216,"km_value":398587550777737.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:05:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-935693160976973824,"description":"Unknown IO ID 44"} 
[2026-09-04 21:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865239552001,"power":27343,"unknown_22":206,"unknown_83":41472,"ignition":33,"odometer":null,"unknown_44":-935693160976973824}} 
[2026-09-04 21:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":173733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:05:38] local.INFO: GPS data processed {"connection_id":173733,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:05:38] local.INFO: Acknowledgment sent {"connection_id":173733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:05:47] local.INFO: TCP Data received {"connection_id":171042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:05:47] local.INFO: Processing buffer {"connection_id":171042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:05:47] local.INFO: IMEI packet received {"connection_id":171042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":171042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:05:48] local.INFO: TCP Data received {"connection_id":171333,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:05:48] local.INFO: Processing buffer {"connection_id":171333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:05:48] local.INFO: IMEI packet received {"connection_id":171333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":171333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:05:52] local.INFO: TCP Data received {"connection_id":171042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:05:52] local.INFO: Processing buffer {"connection_id":171042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:05:52] local.INFO: IMEI packet received {"connection_id":171042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":171042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:05:53] local.INFO: TCP Data received {"connection_id":171042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:05:53] local.INFO: Processing buffer {"connection_id":171042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:05:53] local.INFO: Packet analysis {"connection_id":171042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:05:53] local.INFO: Extracted packet for processing {"connection_id":171042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:05:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865160960001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536086000,"timestamp_ms":1788536086000,"timestamp_seconds":1788536086,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0eddf0"} 
[2026-09-04 21:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865160960001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865160960001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:05:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:05:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865160960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":171042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:05:53] local.INFO: GPS data processed {"connection_id":171042,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:05:53] local.INFO: Acknowledgment sent {"connection_id":171042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:05:53] local.INFO: TCP Data received {"connection_id":171333,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:05:53] local.INFO: Processing buffer {"connection_id":171333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:05:53] local.INFO: IMEI packet received {"connection_id":171333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":171333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:05:55] local.INFO: TCP Data received {"connection_id":171333,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:05:55] local.INFO: Processing buffer {"connection_id":171333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:05:55] local.INFO: Packet analysis {"connection_id":171333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:05:55] local.INFO: Extracted packet for processing {"connection_id":171333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:05:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865122816001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788535937000,"timestamp_ms":1788535937000,"timestamp_seconds":1788535937,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0c97e8"} 
[2026-09-04 21:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865122816001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865122816001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:05:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:05:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865122816001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":171333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765316,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:05:55] local.INFO: GPS data processed {"connection_id":171333,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:05:55] local.INFO: Acknowledgment sent {"connection_id":171333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:05:58] local.INFO: TCP Data received {"connection_id":172451,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:05:58] local.INFO: Processing buffer {"connection_id":172451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:05:58] local.INFO: IMEI packet received {"connection_id":172451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":172451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:05:59] local.INFO: TCP Data received {"connection_id":172451,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:05:59] local.INFO: Processing buffer {"connection_id":172451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:05:59] local.INFO: IMEI packet received {"connection_id":172451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":172451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:06:03] local.INFO: TCP Data received {"connection_id":172451,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:06:03] local.INFO: Processing buffer {"connection_id":172451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:06:03] local.INFO: IMEI packet received {"connection_id":172451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":172451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:06:04] local.INFO: TCP Data received {"connection_id":172451,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0f0118012cf3078007112ba00024009130..."} 
[2026-09-04 21:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0f0118012cf3078007112ba00024009130..."} 
[2026-09-04 21:06:04] local.INFO: Processing buffer {"connection_id":172451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0f0118012cf3078007112ba00024009130..."} 
[2026-09-04 21:06:04] local.INFO: Packet analysis {"connection_id":172451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0f"} 
[2026-09-04 21:06:04] local.INFO: Extracted packet for processing {"connection_id":172451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0f"} 
[2026-09-04 21:06:04] local.INFO: GPS Element Parsed {"raw_longitude":754124672,"raw_latitude":118565792,"longitude_deg":75.4124672,"latitude_deg":11.8565792,"altitude":36,"angle":145,"satellites":48,"speed":32,"hex_longitude":"2cf30780","hex_latitude":"07112ba0","is_valid_coordinates":true} 
[2026-09-04 21:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865239808001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398587632382115840,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-935482054744649728,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788536095000,"timestamp_ms":1788536095000,"timestamp_seconds":1788536095,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0f0118"} 
[2026-09-04 21:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 21:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865239808001,"66":27343,"22":206,"83":41472,"24":32,"16":398587632382115840,"44":-935482054744649728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,83,24,16,44]} 
[2026-09-04 21:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865239808001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:06:04] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-04 21:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398587632382115840,"km_value":398587632382115.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:06:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-935482054744649728,"description":"Unknown IO ID 44"} 
[2026-09-04 21:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865239808001,"power":27343,"unknown_22":206,"unknown_83":41472,"ignition":32,"odometer":null,"unknown_44":-935482054744649728}} 
[2026-09-04 21:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":172451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:06:04] local.INFO: GPS data processed {"connection_id":172451,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:06:04] local.INFO: Acknowledgment sent {"connection_id":172451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:06:24] local.INFO: TCP Data received {"connection_id":171042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:06:24] local.INFO: Processing buffer {"connection_id":171042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:06:24] local.INFO: Packet analysis {"connection_id":171042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:06:24] local.INFO: Extracted packet for processing {"connection_id":171042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:06:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865160960001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788536086000,"timestamp_ms":1788536086000,"timestamp_seconds":1788536086,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0eddf0"} 
[2026-09-04 21:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865160960001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865160960001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:06:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:06:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865160960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":171042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:06:24] local.INFO: GPS data processed {"connection_id":171042,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:06:24] local.INFO: Acknowledgment sent {"connection_id":171042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:06:27] local.INFO: TCP Data received {"connection_id":171333,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:06:27] local.INFO: Processing buffer {"connection_id":171333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:06:27] local.INFO: Packet analysis {"connection_id":171333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:06:27] local.INFO: Extracted packet for processing {"connection_id":171333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:06:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865122816001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788535937000,"timestamp_ms":1788535937000,"timestamp_seconds":1788535937,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0c97e8"} 
[2026-09-04 21:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865122816001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865122816001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:06:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:06:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865122816001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":171333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:06:27] local.INFO: GPS data processed {"connection_id":171333,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:06:27] local.INFO: Acknowledgment sent {"connection_id":171333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:06:35] local.INFO: TCP Data received {"connection_id":172451,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0f0cd0012cf30dc0071124580025008432..."} 
[2026-09-04 21:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0f0cd0012cf30dc0071124580025008432..."} 
[2026-09-04 21:06:35] local.INFO: Processing buffer {"connection_id":172451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0f0cd0012cf30dc0071124580025008432..."} 
[2026-09-04 21:06:35] local.INFO: Packet analysis {"connection_id":172451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0f"} 
[2026-09-04 21:06:35] local.INFO: Extracted packet for processing {"connection_id":172451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0f"} 
[2026-09-04 21:06:35] local.INFO: GPS Element Parsed {"raw_longitude":754126272,"raw_latitude":118563928,"longitude_deg":75.4126272,"latitude_deg":11.8563928,"altitude":37,"angle":132,"satellites":50,"speed":32,"hex_longitude":"2cf30dc0","hex_latitude":"07112458","is_valid_coordinates":true} 
[2026-09-04 21:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865240320001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398587752641200128,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-934637629814890496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788536098000,"timestamp_ms":1788536098000,"timestamp_seconds":1788536098,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0f0cd0"} 
[2026-09-04 21:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 21:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865240320001,"66":27267,"22":206,"83":41472,"24":32,"16":398587752641200128,"44":-934637629814890496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,83,24,16,44]} 
[2026-09-04 21:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865240320001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:06:35] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-04 21:06:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398587752641200128,"km_value":398587752641200.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:06:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-934637629814890496,"description":"Unknown IO ID 44"} 
[2026-09-04 21:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865240320001,"power":27267,"unknown_22":206,"unknown_83":41472,"ignition":32,"odometer":null,"unknown_44":-934637629814890496}} 
[2026-09-04 21:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":172451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:06:35] local.INFO: GPS data processed {"connection_id":172451,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:06:35] local.INFO: Acknowledgment sent {"connection_id":172451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:06:47] local.INFO: TCP Data received {"connection_id":172452,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:06:47] local.INFO: Processing buffer {"connection_id":172452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:06:47] local.INFO: IMEI packet received {"connection_id":172452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":172452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:06:52] local.INFO: TCP Data received {"connection_id":172452,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:06:52] local.INFO: Processing buffer {"connection_id":172452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:06:52] local.INFO: IMEI packet received {"connection_id":172452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":172452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:06:53] local.INFO: TCP Data received {"connection_id":172452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:06:53] local.INFO: Processing buffer {"connection_id":172452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:06:53] local.INFO: Packet analysis {"connection_id":172452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:06:53] local.INFO: Extracted packet for processing {"connection_id":172452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865160960001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536086000,"timestamp_ms":1788536086000,"timestamp_seconds":1788536086,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0eddf0"} 
[2026-09-04 21:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865160960001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865160960001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:06:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865160960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":172452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:06:53] local.INFO: GPS data processed {"connection_id":172452,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:06:53] local.INFO: Acknowledgment sent {"connection_id":172452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:06:53] local.INFO: TCP Data received {"connection_id":173734,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:06:53] local.INFO: Processing buffer {"connection_id":173734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:06:53] local.INFO: IMEI packet received {"connection_id":173734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":173734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:06:58] local.INFO: TCP Data received {"connection_id":173735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:06:58] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:06:58] local.INFO: IMEI packet received {"connection_id":173735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":173735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:06:58] local.INFO: TCP Data received {"connection_id":173734,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:06:58] local.INFO: Processing buffer {"connection_id":173734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:06:58] local.INFO: IMEI packet received {"connection_id":173734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":173734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:06:59] local.INFO: TCP Data received {"connection_id":173735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:06:59] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:06:59] local.INFO: IMEI packet received {"connection_id":173735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":173735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:07:00] local.INFO: TCP Data received {"connection_id":173734,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:07:00] local.INFO: Processing buffer {"connection_id":173734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:07:00] local.INFO: Packet analysis {"connection_id":173734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:07:00] local.INFO: Extracted packet for processing {"connection_id":173734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865122816001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788535937000,"timestamp_ms":1788535937000,"timestamp_seconds":1788535937,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0c97e8"} 
[2026-09-04 21:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865122816001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865122816001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:07:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865122816001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":173734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765322,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:07:00] local.INFO: GPS data processed {"connection_id":173734,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:07:00] local.INFO: Acknowledgment sent {"connection_id":173734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:07:00] local.INFO: TCP Data received {"connection_id":173735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:07:00] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:07:00] local.INFO: IMEI packet received {"connection_id":173735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":173735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:07:03] local.INFO: TCP Data received {"connection_id":173735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:07:03] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:07:03] local.INFO: IMEI packet received {"connection_id":173735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":173735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:07:04] local.INFO: TCP Data received {"connection_id":173735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0f33e0012cf326c007110c48002600902e..."} 
[2026-09-04 21:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0f33e0012cf326c007110c48002600902e..."} 
[2026-09-04 21:07:04] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0f33e0012cf326c007110c48002600902e..."} 
[2026-09-04 21:07:04] local.INFO: Packet analysis {"connection_id":173735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0f"} 
[2026-09-04 21:07:04] local.INFO: Extracted packet for processing {"connection_id":173735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0f"} 
[2026-09-04 21:07:04] local.INFO: GPS Element Parsed {"raw_longitude":754132672,"raw_latitude":118557768,"longitude_deg":75.4132672,"latitude_deg":11.8557768,"altitude":38,"angle":144,"satellites":46,"speed":37,"hex_longitude":"2cf326c0","hex_latitude":"07110c48","is_valid_coordinates":true} 
[2026-09-04 21:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865241088001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398588177842962432,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-932878411210926080,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788536108000,"timestamp_ms":1788536108000,"timestamp_seconds":1788536108,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0f33e0"} 
[2026-09-04 21:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 21:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865241088001,"66":27245,"22":206,"83":41472,"24":37,"16":398588177842962432,"44":-932878411210926080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,83,24,16,44]} 
[2026-09-04 21:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865241088001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:07:04] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-04 21:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398588177842962432,"km_value":398588177842962.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:07:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-932878411210926080,"description":"Unknown IO ID 44"} 
[2026-09-04 21:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865241088001,"power":27245,"unknown_22":206,"unknown_83":41472,"ignition":37,"odometer":null,"unknown_44":-932878411210926080}} 
[2026-09-04 21:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":173735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:07:04] local.INFO: GPS data processed {"connection_id":173735,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:07:04] local.INFO: Acknowledgment sent {"connection_id":173735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:07:04] local.INFO: TCP Data received {"connection_id":173734,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:07:04] local.INFO: Processing buffer {"connection_id":173734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:07:04] local.INFO: Packet analysis {"connection_id":173734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:07:04] local.INFO: Extracted packet for processing {"connection_id":173734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865122816001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788535937000,"timestamp_ms":1788535937000,"timestamp_seconds":1788535937,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0c97e8"} 
[2026-09-04 21:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865122816001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865122816001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:07:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:07:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865122816001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":173734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765324,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:07:04] local.INFO: GPS data processed {"connection_id":173734,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:07:04] local.INFO: Acknowledgment sent {"connection_id":173734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:07:23] local.INFO: TCP Data received {"connection_id":172452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:07:23] local.INFO: Processing buffer {"connection_id":172452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:07:23] local.INFO: Packet analysis {"connection_id":172452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:07:23] local.INFO: Extracted packet for processing {"connection_id":172452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865160960001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788536086000,"timestamp_ms":1788536086000,"timestamp_seconds":1788536086,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0eddf0"} 
[2026-09-04 21:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865160960001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865160960001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:07:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865160960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":172452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:07:23] local.INFO: GPS data processed {"connection_id":172452,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:07:23] local.INFO: Acknowledgment sent {"connection_id":172452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:07:35] local.INFO: TCP Data received {"connection_id":173735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0f4380012cf32f400710ff280025009b2f..."} 
[2026-09-04 21:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0f4380012cf32f400710ff280025009b2f..."} 
[2026-09-04 21:07:35] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0f4380012cf32f400710ff280025009b2f..."} 
[2026-09-04 21:07:35] local.INFO: Packet analysis {"connection_id":173735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0f"} 
[2026-09-04 21:07:35] local.INFO: Extracted packet for processing {"connection_id":173735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0f"} 
[2026-09-04 21:07:35] local.INFO: GPS Element Parsed {"raw_longitude":754134848,"raw_latitude":118554408,"longitude_deg":75.4134848,"latitude_deg":11.8554408,"altitude":37,"angle":155,"satellites":47,"speed":42,"hex_longitude":"2cf32f40","hex_latitude":"0710ff28","is_valid_coordinates":true} 
[2026-09-04 21:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865243648001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398588371116490752,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-925841536794736640,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788536112000,"timestamp_ms":1788536112000,"timestamp_seconds":1788536112,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0f4380"} 
[2026-09-04 21:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 21:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865243648001,"66":27321,"22":206,"83":41472,"24":42,"16":398588371116490752,"44":-925841536794736640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,83,24,16,44]} 
[2026-09-04 21:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865243648001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:07:35] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-04 21:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398588371116490752,"km_value":398588371116490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:07:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-925841536794736640,"description":"Unknown IO ID 44"} 
[2026-09-04 21:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865243648001,"power":27321,"unknown_22":206,"unknown_83":41472,"ignition":42,"odometer":null,"unknown_44":-925841536794736640}} 
[2026-09-04 21:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":173735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:07:35] local.INFO: GPS data processed {"connection_id":173735,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:07:35] local.INFO: Acknowledgment sent {"connection_id":173735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:07:47] local.INFO: TCP Data received {"connection_id":172453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:07:47] local.INFO: Processing buffer {"connection_id":172453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:07:47] local.INFO: IMEI packet received {"connection_id":172453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":172453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:07:48] local.INFO: TCP Data received {"connection_id":173736,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:07:48] local.INFO: Processing buffer {"connection_id":173736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:07:48] local.INFO: IMEI packet received {"connection_id":173736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":173736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:07:52] local.INFO: TCP Data received {"connection_id":172453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:07:52] local.INFO: Processing buffer {"connection_id":172453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:07:52] local.INFO: IMEI packet received {"connection_id":172453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":172453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:07:53] local.INFO: TCP Data received {"connection_id":172453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:07:53] local.INFO: Processing buffer {"connection_id":172453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:07:53] local.INFO: Packet analysis {"connection_id":172453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:07:53] local.INFO: Extracted packet for processing {"connection_id":172453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:07:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865160960001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536086000,"timestamp_ms":1788536086000,"timestamp_seconds":1788536086,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0eddf0"} 
[2026-09-04 21:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865160960001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865160960001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:07:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:07:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865160960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":172453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:07:53] local.INFO: GPS data processed {"connection_id":172453,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:07:53] local.INFO: Acknowledgment sent {"connection_id":172453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:07:53] local.INFO: TCP Data received {"connection_id":173736,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:07:53] local.INFO: Processing buffer {"connection_id":173736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:07:53] local.INFO: IMEI packet received {"connection_id":173736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":173736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:07:55] local.INFO: TCP Data received {"connection_id":173736,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:07:55] local.INFO: Processing buffer {"connection_id":173736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0c97e8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:07:55] local.INFO: Packet analysis {"connection_id":173736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:07:55] local.INFO: Extracted packet for processing {"connection_id":173736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0c"} 
[2026-09-04 21:07:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865122816001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788535937000,"timestamp_ms":1788535937000,"timestamp_seconds":1788535937,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0c97e8"} 
[2026-09-04 21:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-04 21:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865122816001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865122816001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:07:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865122816001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":173736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765328,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:07:55] local.INFO: GPS data processed {"connection_id":173736,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:07:55] local.INFO: Acknowledgment sent {"connection_id":173736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:07:58] local.INFO: TCP Data received {"connection_id":172454,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:07:58] local.INFO: Processing buffer {"connection_id":172454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:07:58] local.INFO: IMEI packet received {"connection_id":172454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":172454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:07:58] local.INFO: TCP Data received {"connection_id":172454,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:07:58] local.INFO: Processing buffer {"connection_id":172454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:07:58] local.INFO: IMEI packet received {"connection_id":172454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":172454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:08:03] local.INFO: TCP Data received {"connection_id":172454,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:08:03] local.INFO: Processing buffer {"connection_id":172454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:08:03] local.INFO: IMEI packet received {"connection_id":172454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":172454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:08:04] local.INFO: TCP Data received {"connection_id":172454,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d10c638012cf3e3c0070fd9a0002b00ab2f..."} 
[2026-09-04 21:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d10c638012cf3e3c0070fd9a0002b00ab2f..."} 
[2026-09-04 21:08:04] local.INFO: Processing buffer {"connection_id":172454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d10c638012cf3e3c0070fd9a0002b00ab2f..."} 
[2026-09-04 21:08:04] local.INFO: Packet analysis {"connection_id":172454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d10"} 
[2026-09-04 21:08:04] local.INFO: Extracted packet for processing {"connection_id":172454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d10"} 
[2026-09-04 21:08:04] local.INFO: GPS Element Parsed {"raw_longitude":754181056,"raw_latitude":118479264,"longitude_deg":75.4181056,"latitude_deg":11.8479264,"altitude":43,"angle":171,"satellites":47,"speed":39,"hex_longitude":"2cf3e3c0","hex_latitude":"070fd9a0","is_valid_coordinates":true} 
[2026-09-04 21:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865267456001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398592743393198080,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-874261247330164736,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788536211000,"timestamp_ms":1788536211000,"timestamp_seconds":1788536211,"priority":1,"record_length":96,"hex_timestamp":"000001a06d10c638"} 
[2026-09-04 21:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 21:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865267456001,"66":27365,"216":206,"83":41472,"24":39,"16":398592743393198080,"44":-874261247330164736},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-04 21:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865267456001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:08:04] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-04 21:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398592743393198080,"km_value":398592743393198.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:08:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-874261247330164736,"description":"Unknown IO ID 44"} 
[2026-09-04 21:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865267456001,"power":27365,"unknown_216":206,"unknown_83":41472,"ignition":39,"odometer":null,"unknown_44":-874261247330164736}} 
[2026-09-04 21:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":172454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:08:04] local.INFO: GPS data processed {"connection_id":172454,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:08:04] local.INFO: Acknowledgment sent {"connection_id":172454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:08:24] local.INFO: TCP Data received {"connection_id":172453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:08:24] local.INFO: Processing buffer {"connection_id":172453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:08:24] local.INFO: Packet analysis {"connection_id":172453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:08:24] local.INFO: Extracted packet for processing {"connection_id":172453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865160960001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788536086000,"timestamp_ms":1788536086000,"timestamp_seconds":1788536086,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0eddf0"} 
[2026-09-04 21:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865160960001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865160960001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:08:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:08:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865160960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":172453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:08:24] local.INFO: GPS data processed {"connection_id":172453,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:08:24] local.INFO: Acknowledgment sent {"connection_id":172453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:08:27] local.INFO: TCP Data received {"connection_id":173736,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:08:27] local.INFO: Processing buffer {"connection_id":173736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:08:27] local.INFO: Packet analysis {"connection_id":173736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:08:27] local.INFO: Extracted packet for processing {"connection_id":173736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:08:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865199872001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788536238000,"timestamp_ms":1788536238000,"timestamp_seconds":1788536238,"priority":1,"record_length":96,"hex_timestamp":"000001a06d112fb0"} 
[2026-09-04 21:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865199872001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865199872001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:08:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:08:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865199872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":173736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:08:27] local.INFO: GPS data processed {"connection_id":173736,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:08:27] local.INFO: Acknowledgment sent {"connection_id":173736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:08:35] local.INFO: TCP Data received {"connection_id":172454,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d10ed48012cf3ea40070fb5c0002900a830..."} 
[2026-09-04 21:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d10ed48012cf3ea40070fb5c0002900a830..."} 
[2026-09-04 21:08:35] local.INFO: Processing buffer {"connection_id":172454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d10ed48012cf3ea40070fb5c0002900a830..."} 
[2026-09-04 21:08:35] local.INFO: Packet analysis {"connection_id":172454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d10"} 
[2026-09-04 21:08:35] local.INFO: Extracted packet for processing {"connection_id":172454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d10"} 
[2026-09-04 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":754182720,"raw_latitude":118470080,"longitude_deg":75.418272,"latitude_deg":11.847008,"altitude":41,"angle":168,"satellites":48,"speed":37,"hex_longitude":"2cf3ea40","hex_latitude":"070fb5c0","is_valid_coordinates":true} 
[2026-09-04 21:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865270016001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398593198659731456,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-872642766216519680,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788536221000,"timestamp_ms":1788536221000,"timestamp_seconds":1788536221,"priority":1,"record_length":96,"hex_timestamp":"000001a06d10ed48"} 
[2026-09-04 21:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 21:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865270016001,"66":26593,"216":206,"83":41472,"24":37,"16":398593198659731456,"44":-872642766216519680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-09-04 21:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865270016001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:08:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-04 21:08:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398593198659731456,"km_value":398593198659731.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:08:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-872642766216519680,"description":"Unknown IO ID 44"} 
[2026-09-04 21:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865270016001,"power":26593,"unknown_216":206,"unknown_83":41472,"ignition":37,"odometer":null,"unknown_44":-872642766216519680}} 
[2026-09-04 21:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":172454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:08:35] local.INFO: GPS data processed {"connection_id":172454,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:08:35] local.INFO: Acknowledgment sent {"connection_id":172454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:08:47] local.INFO: TCP Data received {"connection_id":173737,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:08:47] local.INFO: Processing buffer {"connection_id":173737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:08:47] local.INFO: IMEI packet received {"connection_id":173737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":173737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:08:52] local.INFO: TCP Data received {"connection_id":173737,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:08:52] local.INFO: Processing buffer {"connection_id":173737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:08:52] local.INFO: IMEI packet received {"connection_id":173737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":173737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:08:53] local.INFO: TCP Data received {"connection_id":173737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:08:53] local.INFO: Processing buffer {"connection_id":173737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:08:53] local.INFO: Packet analysis {"connection_id":173737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:08:53] local.INFO: Extracted packet for processing {"connection_id":173737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865160960001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536086000,"timestamp_ms":1788536086000,"timestamp_seconds":1788536086,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0eddf0"} 
[2026-09-04 21:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865160960001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865160960001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:08:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865160960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":173737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:08:53] local.INFO: GPS data processed {"connection_id":173737,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:08:53] local.INFO: Acknowledgment sent {"connection_id":173737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:08:53] local.INFO: TCP Data received {"connection_id":171043,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:08:53] local.INFO: Processing buffer {"connection_id":171043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:08:53] local.INFO: IMEI packet received {"connection_id":171043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":171043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:08:58] local.INFO: TCP Data received {"connection_id":171043,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:08:58] local.INFO: Processing buffer {"connection_id":171043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:08:58] local.INFO: IMEI packet received {"connection_id":171043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":171043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:08:59] local.INFO: TCP Data received {"connection_id":171334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:08:59] local.INFO: Processing buffer {"connection_id":171334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:08:59] local.INFO: IMEI packet received {"connection_id":171334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":171334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:09:03] local.INFO: TCP Data received {"connection_id":171334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:09:03] local.INFO: Processing buffer {"connection_id":171334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:09:03] local.INFO: IMEI packet received {"connection_id":171334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":171334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:09:04] local.INFO: TCP Data received {"connection_id":171043,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:09:04] local.INFO: Processing buffer {"connection_id":171043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:09:04] local.INFO: Packet analysis {"connection_id":171043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:09:04] local.INFO: Extracted packet for processing {"connection_id":171043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865199872001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788536238000,"timestamp_ms":1788536238000,"timestamp_seconds":1788536238,"priority":1,"record_length":96,"hex_timestamp":"000001a06d112fb0"} 
[2026-09-04 21:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865199872001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865199872001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:09:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:09:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865199872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":171043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765334,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:09:04] local.INFO: GPS data processed {"connection_id":171043,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:09:04] local.INFO: Acknowledgment sent {"connection_id":171043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:09:05] local.INFO: TCP Data received {"connection_id":171043,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:09:05] local.INFO: Processing buffer {"connection_id":171043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:09:05] local.INFO: Packet analysis {"connection_id":171043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:09:05] local.INFO: Extracted packet for processing {"connection_id":171043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865199872001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788536238000,"timestamp_ms":1788536238000,"timestamp_seconds":1788536238,"priority":1,"record_length":96,"hex_timestamp":"000001a06d112fb0"} 
[2026-09-04 21:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865199872001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865199872001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:09:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:09:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865199872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":171043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:09:05] local.INFO: GPS data processed {"connection_id":171043,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:09:05] local.INFO: Acknowledgment sent {"connection_id":171043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:09:10] local.INFO: TCP Data received {"connection_id":171334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:09:10] local.INFO: Processing buffer {"connection_id":171334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:09:10] local.INFO: IMEI packet received {"connection_id":171334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":171334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:09:11] local.INFO: TCP Data received {"connection_id":171334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d111458012cf3f340070f9290002c00a32e..."} 
[2026-09-04 21:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d111458012cf3f340070f9290002c00a32e..."} 
[2026-09-04 21:09:11] local.INFO: Processing buffer {"connection_id":171334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d111458012cf3f340070f9290002c00a32e..."} 
[2026-09-04 21:09:11] local.INFO: Packet analysis {"connection_id":171334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:09:11] local.INFO: Extracted packet for processing {"connection_id":171334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:09:11] local.INFO: GPS Element Parsed {"raw_longitude":754185024,"raw_latitude":118461072,"longitude_deg":75.4185024,"latitude_deg":11.8461072,"altitude":44,"angle":163,"satellites":46,"speed":36,"hex_longitude":"2cf3f340","hex_latitude":"070f9290","is_valid_coordinates":true} 
[2026-09-04 21:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865272576001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398593645336330240,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-870813178870251520,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788536231000,"timestamp_ms":1788536231000,"timestamp_seconds":1788536231,"priority":1,"record_length":96,"hex_timestamp":"000001a06d111458"} 
[2026-09-04 21:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-04 21:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865272576001,"66":27300,"35":206,"83":41472,"24":36,"16":398593645336330240,"44":-870813178870251520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-09-04 21:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865272576001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:09:11] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-04 21:09:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398593645336330240,"km_value":398593645336330.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-870813178870251520,"description":"Unknown IO ID 44"} 
[2026-09-04 21:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865272576001,"power":27300,"unknown_35":206,"unknown_83":41472,"ignition":36,"odometer":null,"unknown_44":-870813178870251520}} 
[2026-09-04 21:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":171334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:09:11] local.INFO: GPS data processed {"connection_id":171334,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:09:11] local.INFO: Acknowledgment sent {"connection_id":171334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:09:12] local.INFO: TCP Data received {"connection_id":171334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d113780012cf40000070f71f8002c009e2e..."} 
[2026-09-04 21:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d113780012cf40000070f71f8002c009e2e..."} 
[2026-09-04 21:09:12] local.INFO: Processing buffer {"connection_id":171334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d113780012cf40000070f71f8002c009e2e..."} 
[2026-09-04 21:09:12] local.INFO: Packet analysis {"connection_id":171334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:09:12] local.INFO: Extracted packet for processing {"connection_id":171334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:09:12] local.INFO: GPS Element Parsed {"raw_longitude":754188288,"raw_latitude":118452728,"longitude_deg":75.4188288,"latitude_deg":11.8452728,"altitude":44,"angle":158,"satellites":46,"speed":40,"hex_longitude":"2cf40000","hex_latitude":"070f71f8","is_valid_coordinates":true} 
[2026-09-04 21:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865275136001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398594079128027136,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-868279904082161664,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788536240000,"timestamp_ms":1788536240000,"timestamp_seconds":1788536240,"priority":1,"record_length":96,"hex_timestamp":"000001a06d113780"} 
[2026-09-04 21:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 21:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865275136001,"66":27463,"227":206,"83":41472,"24":40,"16":398594079128027136,"44":-868279904082161664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-09-04 21:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865275136001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:09:12] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-04 21:09:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398594079128027136,"km_value":398594079128027.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-868279904082161664,"description":"Unknown IO ID 44"} 
[2026-09-04 21:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865275136001,"power":27463,"unknown_227":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-868279904082161664}} 
[2026-09-04 21:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":171334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:09:12] local.INFO: GPS data processed {"connection_id":171334,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:09:12] local.INFO: Acknowledgment sent {"connection_id":171334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:09:24] local.INFO: TCP Data received {"connection_id":173737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:09:24] local.INFO: Processing buffer {"connection_id":173737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:09:24] local.INFO: Packet analysis {"connection_id":173737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:09:24] local.INFO: Extracted packet for processing {"connection_id":173737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865160960001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788536086000,"timestamp_ms":1788536086000,"timestamp_seconds":1788536086,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0eddf0"} 
[2026-09-04 21:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865160960001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865160960001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:09:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865160960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":173737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:09:24] local.INFO: GPS data processed {"connection_id":173737,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:09:24] local.INFO: Acknowledgment sent {"connection_id":173737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:09:43] local.INFO: TCP Data received {"connection_id":171334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d12b268012cf4b9c0070e2ff8002000962f..."} 
[2026-09-04 21:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d12b268012cf4b9c0070e2ff8002000962f..."} 
[2026-09-04 21:09:43] local.INFO: Processing buffer {"connection_id":171334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d12b268012cf4b9c0070e2ff8002000962f..."} 
[2026-09-04 21:09:43] local.INFO: Packet analysis {"connection_id":171334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d12"} 
[2026-09-04 21:09:43] local.INFO: Extracted packet for processing {"connection_id":171334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d12"} 
[2026-09-04 21:09:43] local.INFO: GPS Element Parsed {"raw_longitude":754235840,"raw_latitude":118370296,"longitude_deg":75.423584,"latitude_deg":11.8370296,"altitude":32,"angle":150,"satellites":47,"speed":33,"hex_longitude":"2cf4b9c0","hex_latitude":"070e2ff8","is_valid_coordinates":true} 
[2026-09-04 21:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865302016001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398598807887020032,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-812829333693212672,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788536337000,"timestamp_ms":1788536337000,"timestamp_seconds":1788536337,"priority":1,"record_length":96,"hex_timestamp":"000001a06d12b268"} 
[2026-09-04 21:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 21:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865302016001,"66":27321,"132":206,"83":41728,"24":33,"16":398598807887020032,"44":-812829333693212672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,44]} 
[2026-09-04 21:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865302016001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:09:43] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-04 21:09:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398598807887020032,"km_value":398598807887020.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:09:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-812829333693212672,"description":"Unknown IO ID 44"} 
[2026-09-04 21:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865302016001,"power":27321,"unknown_132":206,"unknown_83":41728,"ignition":33,"odometer":null,"unknown_44":-812829333693212672}} 
[2026-09-04 21:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":171334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:09:43] local.INFO: GPS data processed {"connection_id":171334,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:09:43] local.INFO: Acknowledgment sent {"connection_id":171334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:09:48] local.INFO: TCP Data received {"connection_id":171335,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:09:48] local.INFO: Processing buffer {"connection_id":171335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:09:48] local.INFO: IMEI packet received {"connection_id":171335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":171335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:09:52] local.INFO: TCP Data received {"connection_id":172455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:09:52] local.INFO: Processing buffer {"connection_id":172455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:09:52] local.INFO: IMEI packet received {"connection_id":172455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":172455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:09:53] local.INFO: TCP Data received {"connection_id":171335,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:09:53] local.INFO: Processing buffer {"connection_id":171335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:09:53] local.INFO: IMEI packet received {"connection_id":171335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":171335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:09:55] local.INFO: TCP Data received {"connection_id":171335,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:09:55] local.INFO: Processing buffer {"connection_id":171335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:09:55] local.INFO: Packet analysis {"connection_id":171335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:09:55] local.INFO: Extracted packet for processing {"connection_id":171335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865199872001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788536238000,"timestamp_ms":1788536238000,"timestamp_seconds":1788536238,"priority":1,"record_length":96,"hex_timestamp":"000001a06d112fb0"} 
[2026-09-04 21:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865199872001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865199872001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:09:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865199872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":171335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:09:55] local.INFO: GPS data processed {"connection_id":171335,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:09:55] local.INFO: Acknowledgment sent {"connection_id":171335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:09:57] local.INFO: TCP Data received {"connection_id":172455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:09:57] local.INFO: Processing buffer {"connection_id":172455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:09:57] local.INFO: IMEI packet received {"connection_id":172455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":172455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:09:58] local.INFO: TCP Data received {"connection_id":172455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:09:58] local.INFO: Processing buffer {"connection_id":172455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:09:58] local.INFO: Packet analysis {"connection_id":172455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:09:58] local.INFO: Extracted packet for processing {"connection_id":172455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:09:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865160960001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788536086000,"timestamp_ms":1788536086000,"timestamp_seconds":1788536086,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0eddf0"} 
[2026-09-04 21:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865160960001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865160960001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:09:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:09:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865160960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":172455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:09:58] local.INFO: GPS data processed {"connection_id":172455,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:09:58] local.INFO: Acknowledgment sent {"connection_id":172455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:10:02] local.INFO: TCP Data received {"connection_id":172455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:10:02] local.INFO: Processing buffer {"connection_id":172455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d0eddf0012d1965c0071fef80004701152b..."} 
[2026-09-04 21:10:02] local.INFO: Packet analysis {"connection_id":172455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:10:02] local.INFO: Extracted packet for processing {"connection_id":172455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d0e"} 
[2026-09-04 21:10:02] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865160960001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788536086000,"timestamp_ms":1788536086000,"timestamp_seconds":1788536086,"priority":1,"record_length":96,"hex_timestamp":"000001a06d0eddf0"} 
[2026-09-04 21:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865160960001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865160960001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:10:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:10:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865160960001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":172455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:10:02] local.INFO: GPS data processed {"connection_id":172455,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:10:02] local.INFO: Acknowledgment sent {"connection_id":172455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:10:08] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:10:08] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:10:08] local.INFO: IMEI packet received {"connection_id":173738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":173738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:10:08] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:10:08] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:10:08] local.INFO: IMEI packet received {"connection_id":173738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":173738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:10:11] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:10:11] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:10:11] local.INFO: IMEI packet received {"connection_id":173738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":173738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:10:12] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d132f68012cf51680070def00001200652d..."} 
[2026-09-04 21:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d132f68012cf51680070def00001200652d..."} 
[2026-09-04 21:10:12] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06d..."} 
[2026-09-04 21:10:12] local.INFO: IMEI packet received {"connection_id":173738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":173738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:10:12] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d133350012cf51a00070dee00001100702b..."} 
[2026-09-04 21:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d133350012cf51a00070dee00001100702b..."} 
[2026-09-04 21:10:12] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06d132f68012cf51680070def00001200652d..."} 
[2026-09-04 21:10:12] local.INFO: Packet analysis {"connection_id":173738,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:10:12] local.INFO: Extracted packet for processing {"connection_id":173738,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:10:12] local.INFO: GPS Element Parsed {"raw_longitude":754259584,"raw_latitude":118353664,"longitude_deg":75.4259584,"latitude_deg":11.8353664,"altitude":18,"angle":101,"satellites":45,"speed":35,"hex_longitude":"2cf51680","hex_latitude":"070def00","is_valid_coordinates":true} 
[2026-09-04 21:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865309440001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398600298240671744,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-790522441793323008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788536369000,"timestamp_ms":1788536369000,"timestamp_seconds":1788536369,"priority":1,"record_length":96,"hex_timestamp":"000001a06d132f68"} 
[2026-09-04 21:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865309440001,"66":27180,"226":206,"83":41472,"24":35,"16":398600298240671744,"44":-790522441793323008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,44]} 
[2026-09-04 21:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865309440001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:10:12] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-04 21:10:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-04 21:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398600298240671744,"km_value":398600298240671.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:10:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-790522441793323008,"description":"Unknown IO ID 44"} 
[2026-09-04 21:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865309440001,"power":27180,"unknown_226":206,"unknown_83":41472,"ignition":35,"odometer":null,"unknown_44":-790522441793323008}} 
[2026-09-04 21:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":173738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:10:12] local.INFO: GPS data processed {"connection_id":173738,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:10:12] local.INFO: Acknowledgment sent {"connection_id":173738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:10:12] local.INFO: Packet analysis {"connection_id":173738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:10:12] local.INFO: Extracted packet for processing {"connection_id":173738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:10:12] local.INFO: GPS Element Parsed {"raw_longitude":754260480,"raw_latitude":118353408,"longitude_deg":75.426048,"latitude_deg":11.8353408,"altitude":17,"angle":112,"satellites":43,"speed":35,"hex_longitude":"2cf51a00","hex_latitude":"070dee00","is_valid_coordinates":true} 
[2026-09-04 21:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865310464001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398600345485312000,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-786300317142679552,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788536370000,"timestamp_ms":1788536370000,"timestamp_seconds":1788536370,"priority":1,"record_length":96,"hex_timestamp":"000001a06d133350"} 
[2026-09-04 21:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 21:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865310464001,"66":27180,"39":206,"83":41728,"24":35,"16":398600345485312000,"44":-786300317142679552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-04 21:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865310464001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:10:12] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-04 21:10:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398600345485312000,"km_value":398600345485312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:10:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-786300317142679552,"description":"Unknown IO ID 44"} 
[2026-09-04 21:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865310464001,"power":27180,"unknown_39":206,"unknown_83":41728,"ignition":35,"odometer":null,"unknown_44":-786300317142679552}} 
[2026-09-04 21:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":173738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:10:12] local.INFO: GPS data processed {"connection_id":173738,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:10:12] local.INFO: Acknowledgment sent {"connection_id":173738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:10:27] local.INFO: TCP Data received {"connection_id":171335,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:10:27] local.INFO: Processing buffer {"connection_id":171335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:10:27] local.INFO: Packet analysis {"connection_id":171335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:10:27] local.INFO: Extracted packet for processing {"connection_id":171335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:10:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865199872001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788536238000,"timestamp_ms":1788536238000,"timestamp_seconds":1788536238,"priority":1,"record_length":96,"hex_timestamp":"000001a06d112fb0"} 
[2026-09-04 21:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865199872001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865199872001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:10:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865199872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":171335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:10:27] local.INFO: GPS data processed {"connection_id":171335,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:10:27] local.INFO: Acknowledgment sent {"connection_id":171335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:10:43] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d133b20012cf51fc0070dea20001100872c..."} 
[2026-09-04 21:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d133b20012cf51fc0070dea20001100872c..."} 
[2026-09-04 21:10:43] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d133b20012cf51fc0070dea20001100872c..."} 
[2026-09-04 21:10:43] local.INFO: Packet analysis {"connection_id":173738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:10:43] local.INFO: Extracted packet for processing {"connection_id":173738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:10:43] local.INFO: GPS Element Parsed {"raw_longitude":754261952,"raw_latitude":118352416,"longitude_deg":75.4261952,"latitude_deg":11.8352416,"altitude":17,"angle":135,"satellites":44,"speed":35,"hex_longitude":"2cf51fc0","hex_latitude":"070dea20","is_valid_coordinates":true} 
[2026-09-04 21:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865310720001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398600427089690624,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-785315154724257792,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788536372000,"timestamp_ms":1788536372000,"timestamp_seconds":1788536372,"priority":1,"record_length":96,"hex_timestamp":"000001a06d133b20"} 
[2026-09-04 21:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 21:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865310720001,"66":27267,"39":206,"83":41728,"24":35,"16":398600427089690624,"44":-785315154724257792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-04 21:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865310720001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:10:43] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-04 21:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398600427089690624,"km_value":398600427089690.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:10:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-785315154724257792,"description":"Unknown IO ID 44"} 
[2026-09-04 21:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865310720001,"power":27267,"unknown_39":206,"unknown_83":41728,"ignition":35,"odometer":null,"unknown_44":-785315154724257792}} 
[2026-09-04 21:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":173738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:10:43] local.INFO: GPS data processed {"connection_id":173738,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:10:43] local.INFO: Acknowledgment sent {"connection_id":173738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:10:47] local.INFO: TCP Data received {"connection_id":171044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:10:47] local.INFO: Processing buffer {"connection_id":171044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:10:47] local.INFO: IMEI packet received {"connection_id":171044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":171044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:10:49] local.INFO: TCP Data received {"connection_id":171045,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:10:49] local.INFO: Processing buffer {"connection_id":171045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:10:49] local.INFO: IMEI packet received {"connection_id":171045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":171045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:10:52] local.INFO: TCP Data received {"connection_id":171044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:10:52] local.INFO: Processing buffer {"connection_id":171044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:10:52] local.INFO: IMEI packet received {"connection_id":171044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":171044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:10:53] local.INFO: TCP Data received {"connection_id":171044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:10:53] local.INFO: Processing buffer {"connection_id":171044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:10:53] local.INFO: Packet analysis {"connection_id":171044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:10:53] local.INFO: Extracted packet for processing {"connection_id":171044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:10:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865238016001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536387000,"timestamp_ms":1788536387000,"timestamp_seconds":1788536387,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1375b8"} 
[2026-09-04 21:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865238016001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865238016001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:10:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:10:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865238016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":171044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:10:53] local.INFO: GPS data processed {"connection_id":171044,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:10:53] local.INFO: Acknowledgment sent {"connection_id":171044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:10:53] local.INFO: TCP Data received {"connection_id":171045,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:10:53] local.INFO: Processing buffer {"connection_id":171045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:10:53] local.INFO: IMEI packet received {"connection_id":171045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":171045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:10:55] local.INFO: TCP Data received {"connection_id":171045,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:10:55] local.INFO: Processing buffer {"connection_id":171045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:10:55] local.INFO: Packet analysis {"connection_id":171045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:10:55] local.INFO: Extracted packet for processing {"connection_id":171045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865199872001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788536238000,"timestamp_ms":1788536238000,"timestamp_seconds":1788536238,"priority":1,"record_length":96,"hex_timestamp":"000001a06d112fb0"} 
[2026-09-04 21:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865199872001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865199872001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:10:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:10:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865199872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":171045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:10:55] local.INFO: GPS data processed {"connection_id":171045,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:10:55] local.INFO: Acknowledgment sent {"connection_id":171045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:10:58] local.INFO: TCP Data received {"connection_id":172456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:10:58] local.INFO: Processing buffer {"connection_id":172456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:10:58] local.INFO: IMEI packet received {"connection_id":172456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":172456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:11:06] local.INFO: TCP Data received {"connection_id":172456,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172456,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:11:06] local.INFO: Processing buffer {"connection_id":172456,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:11:06] local.INFO: IMEI packet received {"connection_id":172456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":172456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:11:08] local.INFO: TCP Data received {"connection_id":172456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:11:08] local.INFO: Processing buffer {"connection_id":172456,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:11:08] local.INFO: IMEI packet received {"connection_id":172456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":172456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:11:09] local.INFO: TCP Data received {"connection_id":172456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1342f0012cf523c0070de430001000942e..."} 
[2026-09-04 21:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1342f0012cf523c0070de430001000942e..."} 
[2026-09-04 21:11:09] local.INFO: Processing buffer {"connection_id":172456,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06d..."} 
[2026-09-04 21:11:09] local.INFO: IMEI packet received {"connection_id":172456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":172456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:11:09] local.INFO: TCP Data received {"connection_id":172456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d135290012cf52b00070dd4e8000e00a030..."} 
[2026-09-04 21:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d135290012cf52b00070dd4e8000e00a030..."} 
[2026-09-04 21:11:09] local.INFO: Processing buffer {"connection_id":172456,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06d1342f0012cf523c0070de430001000942e..."} 
[2026-09-04 21:11:09] local.INFO: Packet analysis {"connection_id":172456,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:11:09] local.INFO: Extracted packet for processing {"connection_id":172456,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:11:09] local.INFO: GPS Element Parsed {"raw_longitude":754262976,"raw_latitude":118350896,"longitude_deg":75.4262976,"latitude_deg":11.8350896,"altitude":16,"angle":148,"satellites":46,"speed":38,"hex_longitude":"2cf523c0","hex_latitude":"070de430","is_valid_coordinates":true} 
[2026-09-04 21:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865311232001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398600517284003840,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-783696673608425472,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788536374000,"timestamp_ms":1788536374000,"timestamp_seconds":1788536374,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1342f0"} 
[2026-09-04 21:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 21:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865311232001,"66":27104,"39":206,"83":41728,"24":38,"16":398600517284003840,"44":-783696673608425472},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-04 21:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865311232001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:11:09] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-04 21:11:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398600517284003840,"km_value":398600517284003.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:11:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-783696673608425472,"description":"Unknown IO ID 44"} 
[2026-09-04 21:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865311232001,"power":27104,"unknown_39":206,"unknown_83":41728,"ignition":38,"odometer":null,"unknown_44":-783696673608425472}} 
[2026-09-04 21:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":172456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:11:09] local.INFO: GPS data processed {"connection_id":172456,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:11:09] local.INFO: Acknowledgment sent {"connection_id":172456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:11:09] local.INFO: Packet analysis {"connection_id":172456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:11:09] local.INFO: Extracted packet for processing {"connection_id":172456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:11:09] local.INFO: GPS Element Parsed {"raw_longitude":754264832,"raw_latitude":118346984,"longitude_deg":75.4264832,"latitude_deg":11.8346984,"altitude":14,"angle":160,"satellites":48,"speed":45,"hex_longitude":"2cf52b00","hex_latitude":"070dd4e8","is_valid_coordinates":true} 
[2026-09-04 21:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865311744001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398600727737401344,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-782570773701971968,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788536378000,"timestamp_ms":1788536378000,"timestamp_seconds":1788536378,"priority":1,"record_length":96,"hex_timestamp":"000001a06d135290"} 
[2026-09-04 21:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-04 21:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865311744001,"66":26321,"39":206,"83":41728,"24":45,"16":398600727737401344,"44":-782570773701971968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-04 21:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865311744001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:11:09] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-04 21:11:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398600727737401344,"km_value":398600727737401.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:11:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-782570773701971968,"description":"Unknown IO ID 44"} 
[2026-09-04 21:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865311744001,"power":26321,"unknown_39":206,"unknown_83":41728,"ignition":45,"odometer":null,"unknown_44":-782570773701971968}} 
[2026-09-04 21:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":172456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:11:09] local.INFO: GPS data processed {"connection_id":172456,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:11:09] local.INFO: Acknowledgment sent {"connection_id":172456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:11:13] local.INFO: TCP Data received {"connection_id":172456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1375b8012cf533c0070db100000d00a82f..."} 
[2026-09-04 21:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1375b8012cf533c0070db100000d00a82f..."} 
[2026-09-04 21:11:13] local.INFO: Processing buffer {"connection_id":172456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1375b8012cf533c0070db100000d00a82f..."} 
[2026-09-04 21:11:13] local.INFO: Packet analysis {"connection_id":172456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:11:13] local.INFO: Extracted packet for processing {"connection_id":172456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:11:13] local.INFO: GPS Element Parsed {"raw_longitude":754267072,"raw_latitude":118337792,"longitude_deg":75.4267072,"latitude_deg":11.8337792,"altitude":13,"angle":168,"satellites":47,"speed":44,"hex_longitude":"2cf533c0","hex_latitude":"070db100","is_valid_coordinates":true} 
[2026-09-04 21:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865312768001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398601187298902016,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-780530080121821184,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788536387000,"timestamp_ms":1788536387000,"timestamp_seconds":1788536387,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1375b8"} 
[2026-09-04 21:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-04 21:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865312768001,"66":26604,"39":206,"83":41728,"24":44,"16":398601187298902016,"44":-780530080121821184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-04 21:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865312768001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:11:13] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-04 21:11:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398601187298902016,"km_value":398601187298902.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:11:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-780530080121821184,"description":"Unknown IO ID 44"} 
[2026-09-04 21:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865312768001,"power":26604,"unknown_39":206,"unknown_83":41728,"ignition":44,"odometer":null,"unknown_44":-780530080121821184}} 
[2026-09-04 21:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":172456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:11:13] local.INFO: GPS data processed {"connection_id":172456,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:11:13] local.INFO: Acknowledgment sent {"connection_id":172456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:11:24] local.INFO: TCP Data received {"connection_id":171044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:11:24] local.INFO: Processing buffer {"connection_id":171044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:11:24] local.INFO: Packet analysis {"connection_id":171044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:11:24] local.INFO: Extracted packet for processing {"connection_id":171044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:11:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865238016001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788536387000,"timestamp_ms":1788536387000,"timestamp_seconds":1788536387,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1375b8"} 
[2026-09-04 21:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865238016001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865238016001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:11:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:11:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865238016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":171044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:11:24] local.INFO: GPS data processed {"connection_id":171044,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:11:24] local.INFO: Acknowledgment sent {"connection_id":171044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:11:27] local.INFO: TCP Data received {"connection_id":171045,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:11:27] local.INFO: Processing buffer {"connection_id":171045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:11:27] local.INFO: Packet analysis {"connection_id":171045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:11:27] local.INFO: Extracted packet for processing {"connection_id":171045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:11:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865199872001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788536238000,"timestamp_ms":1788536238000,"timestamp_seconds":1788536238,"priority":1,"record_length":96,"hex_timestamp":"000001a06d112fb0"} 
[2026-09-04 21:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865199872001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865199872001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:11:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:11:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865199872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":171045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765353,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:11:27] local.INFO: GPS data processed {"connection_id":171045,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:11:27] local.INFO: Acknowledgment sent {"connection_id":171045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:11:47] local.INFO: TCP Data received {"connection_id":171336,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:11:47] local.INFO: Processing buffer {"connection_id":171336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:11:47] local.INFO: IMEI packet received {"connection_id":171336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":171336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:11:48] local.INFO: TCP Data received {"connection_id":171337,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:11:48] local.INFO: Processing buffer {"connection_id":171337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:11:48] local.INFO: IMEI packet received {"connection_id":171337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":171337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:11:52] local.INFO: TCP Data received {"connection_id":171336,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:11:52] local.INFO: Processing buffer {"connection_id":171336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:11:52] local.INFO: IMEI packet received {"connection_id":171336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":171336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:11:53] local.INFO: TCP Data received {"connection_id":171336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:11:53] local.INFO: Processing buffer {"connection_id":171336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:11:53] local.INFO: Packet analysis {"connection_id":171336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:11:53] local.INFO: Extracted packet for processing {"connection_id":171336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865238016001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536387000,"timestamp_ms":1788536387000,"timestamp_seconds":1788536387,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1375b8"} 
[2026-09-04 21:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865238016001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865238016001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:11:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:11:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865238016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":171336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:11:53] local.INFO: GPS data processed {"connection_id":171336,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:11:53] local.INFO: Acknowledgment sent {"connection_id":171336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:11:53] local.INFO: TCP Data received {"connection_id":171337,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:11:53] local.INFO: Processing buffer {"connection_id":171337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:11:53] local.INFO: IMEI packet received {"connection_id":171337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":171337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:11:55] local.INFO: TCP Data received {"connection_id":171337,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:11:55] local.INFO: Processing buffer {"connection_id":171337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:11:55] local.INFO: Packet analysis {"connection_id":171337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:11:55] local.INFO: Extracted packet for processing {"connection_id":171337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:11:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865199872001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788536238000,"timestamp_ms":1788536238000,"timestamp_seconds":1788536238,"priority":1,"record_length":96,"hex_timestamp":"000001a06d112fb0"} 
[2026-09-04 21:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865199872001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865199872001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:11:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:11:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865199872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":171337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:11:55] local.INFO: GPS data processed {"connection_id":171337,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:11:55] local.INFO: Acknowledgment sent {"connection_id":171337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:12:02] local.INFO: TCP Data received {"connection_id":172457,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:12:02] local.INFO: Processing buffer {"connection_id":172457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:12:02] local.INFO: IMEI packet received {"connection_id":172457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":172457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:12:03] local.INFO: TCP Data received {"connection_id":172457,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:12:03] local.INFO: Processing buffer {"connection_id":172457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:12:03] local.INFO: IMEI packet received {"connection_id":172457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":172457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:12:08] local.INFO: TCP Data received {"connection_id":172457,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:12:08] local.INFO: Processing buffer {"connection_id":172457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:12:08] local.INFO: IMEI packet received {"connection_id":172457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":172457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:12:09] local.INFO: TCP Data received {"connection_id":172457,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1492e0012cf59c00070c7d30000600962f..."} 
[2026-09-04 21:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1492e0012cf59c00070c7d30000600962f..."} 
[2026-09-04 21:12:09] local.INFO: Processing buffer {"connection_id":172457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1492e0012cf59c00070c7d30000600962f..."} 
[2026-09-04 21:12:09] local.INFO: Packet analysis {"connection_id":172457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d14"} 
[2026-09-04 21:12:09] local.INFO: Extracted packet for processing {"connection_id":172457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d14"} 
[2026-09-04 21:12:09] local.INFO: GPS Element Parsed {"raw_longitude":754293760,"raw_latitude":118258992,"longitude_deg":75.429376,"latitude_deg":11.8258992,"altitude":6,"angle":150,"satellites":47,"speed":50,"hex_longitude":"2cf59c00","hex_latitude":"070c7d30","is_valid_coordinates":true} 
[2026-09-04 21:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865331712001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398605267517833216,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-754493644796454912,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788536460000,"timestamp_ms":1788536460000,"timestamp_seconds":1788536460,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1492e0"} 
[2026-09-04 21:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 21:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865331712001,"66":27343,"38":206,"83":41728,"24":50,"16":398605267517833216,"44":-754493644796454912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-04 21:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865331712001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:12:09] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-04 21:12:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398605267517833216,"km_value":398605267517833.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-754493644796454912,"description":"Unknown IO ID 44"} 
[2026-09-04 21:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865331712001,"power":27343,"unknown_38":206,"unknown_83":41728,"ignition":50,"odometer":null,"unknown_44":-754493644796454912}} 
[2026-09-04 21:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":172457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:12:09] local.INFO: GPS data processed {"connection_id":172457,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:12:09] local.INFO: Acknowledgment sent {"connection_id":172457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:12:24] local.INFO: TCP Data received {"connection_id":171336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:12:24] local.INFO: Processing buffer {"connection_id":171336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:12:24] local.INFO: Packet analysis {"connection_id":171336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:12:24] local.INFO: Extracted packet for processing {"connection_id":171336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865238016001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788536387000,"timestamp_ms":1788536387000,"timestamp_seconds":1788536387,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1375b8"} 
[2026-09-04 21:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865238016001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865238016001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:12:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865238016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":171336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:12:24] local.INFO: GPS data processed {"connection_id":171336,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:12:24] local.INFO: Acknowledgment sent {"connection_id":171336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:12:27] local.INFO: TCP Data received {"connection_id":171337,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:12:27] local.INFO: Processing buffer {"connection_id":171337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d112fb0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:12:27] local.INFO: Packet analysis {"connection_id":171337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:12:27] local.INFO: Extracted packet for processing {"connection_id":171337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d11"} 
[2026-09-04 21:12:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865199872001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788536238000,"timestamp_ms":1788536238000,"timestamp_seconds":1788536238,"priority":1,"record_length":96,"hex_timestamp":"000001a06d112fb0"} 
[2026-09-04 21:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865199872001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865199872001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:12:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:12:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865199872001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":171337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:12:27] local.INFO: GPS data processed {"connection_id":171337,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:12:27] local.INFO: Acknowledgment sent {"connection_id":171337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:12:40] local.INFO: TCP Data received {"connection_id":172457,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d14b220012cf5ad00070c5ec8000400952f..."} 
[2026-09-04 21:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d14b220012cf5ad00070c5ec8000400952f..."} 
[2026-09-04 21:12:40] local.INFO: Processing buffer {"connection_id":172457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d14b220012cf5ad00070c5ec8000400952f..."} 
[2026-09-04 21:12:40] local.INFO: Packet analysis {"connection_id":172457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d14"} 
[2026-09-04 21:12:40] local.INFO: Extracted packet for processing {"connection_id":172457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d14"} 
[2026-09-04 21:12:40] local.INFO: GPS Element Parsed {"raw_longitude":754298112,"raw_latitude":118251208,"longitude_deg":75.4298112,"latitude_deg":11.8251208,"altitude":4,"angle":149,"satellites":47,"speed":45,"hex_longitude":"2cf5ad00","hex_latitude":"070c5ec8","is_valid_coordinates":true} 
[2026-09-04 21:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865333760001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398605701309530112,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-748723407776043008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788536468000,"timestamp_ms":1788536468000,"timestamp_seconds":1788536468,"priority":1,"record_length":96,"hex_timestamp":"000001a06d14b220"} 
[2026-09-04 21:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 21:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865333760001,"66":27365,"38":206,"83":41728,"24":45,"16":398605701309530112,"44":-748723407776043008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-04 21:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865333760001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:12:40] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-04 21:12:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398605701309530112,"km_value":398605701309530.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:12:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-748723407776043008,"description":"Unknown IO ID 44"} 
[2026-09-04 21:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865333760001,"power":27365,"unknown_38":206,"unknown_83":41728,"ignition":45,"odometer":null,"unknown_44":-748723407776043008}} 
[2026-09-04 21:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":172457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:12:40] local.INFO: GPS data processed {"connection_id":172457,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:12:40] local.INFO: Acknowledgment sent {"connection_id":172457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:12:47] local.INFO: TCP Data received {"connection_id":171046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:12:47] local.INFO: Processing buffer {"connection_id":171046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:12:47] local.INFO: IMEI packet received {"connection_id":171046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":171046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:12:52] local.INFO: TCP Data received {"connection_id":171046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:12:52] local.INFO: Processing buffer {"connection_id":171046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:12:52] local.INFO: IMEI packet received {"connection_id":171046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":171046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:12:53] local.INFO: TCP Data received {"connection_id":171046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:12:53] local.INFO: Processing buffer {"connection_id":171046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:12:53] local.INFO: Packet analysis {"connection_id":171046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:12:53] local.INFO: Extracted packet for processing {"connection_id":171046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:12:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865238016001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536387000,"timestamp_ms":1788536387000,"timestamp_seconds":1788536387,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1375b8"} 
[2026-09-04 21:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865238016001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865238016001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:12:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:12:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865238016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":171046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:12:53] local.INFO: GPS data processed {"connection_id":171046,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:12:53] local.INFO: Acknowledgment sent {"connection_id":171046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:12:53] local.INFO: TCP Data received {"connection_id":171047,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:12:53] local.INFO: Processing buffer {"connection_id":171047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:12:53] local.INFO: IMEI packet received {"connection_id":171047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":171047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:12:57] local.INFO: TCP Data received {"connection_id":171047,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:12:57] local.INFO: Processing buffer {"connection_id":171047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:12:57] local.INFO: IMEI packet received {"connection_id":171047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":171047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:12:58] local.INFO: TCP Data received {"connection_id":172458,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:12:58] local.INFO: Processing buffer {"connection_id":172458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:12:58] local.INFO: IMEI packet received {"connection_id":172458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":172458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:12:59] local.INFO: TCP Data received {"connection_id":171047,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:12:59] local.INFO: Processing buffer {"connection_id":171047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:12:59] local.INFO: Packet analysis {"connection_id":171047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:12:59] local.INFO: Extracted packet for processing {"connection_id":171047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865276928001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788536539000,"timestamp_ms":1788536539000,"timestamp_seconds":1788536539,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15c778"} 
[2026-09-04 21:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171047,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171047,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865276928001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865276928001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:12:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865276928001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":171047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765361,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:12:59] local.INFO: GPS data processed {"connection_id":171047,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:12:59] local.INFO: Acknowledgment sent {"connection_id":171047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:13:00] local.INFO: TCP Data received {"connection_id":171047,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:13:00] local.INFO: Processing buffer {"connection_id":171047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:13:00] local.INFO: Packet analysis {"connection_id":171047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:13:00] local.INFO: Extracted packet for processing {"connection_id":171047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865276928001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788536539000,"timestamp_ms":1788536539000,"timestamp_seconds":1788536539,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15c778"} 
[2026-09-04 21:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171047,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171047,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865276928001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865276928001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:13:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865276928001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":171047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765362,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:13:01] local.INFO: GPS data processed {"connection_id":171047,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:13:01] local.INFO: Acknowledgment sent {"connection_id":171047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:13:01] local.INFO: TCP Data received {"connection_id":172458,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:13:01] local.INFO: Processing buffer {"connection_id":172458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:13:01] local.INFO: IMEI packet received {"connection_id":172458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":172458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:13:02] local.INFO: TCP Data received {"connection_id":172458,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d159898012cf61680070b95700006006332..."} 
[2026-09-04 21:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d159898012cf61680070b95700006006332..."} 
[2026-09-04 21:13:02] local.INFO: Processing buffer {"connection_id":172458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d159898012cf61680070b95700006006332..."} 
[2026-09-04 21:13:02] local.INFO: Packet analysis {"connection_id":172458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:13:02] local.INFO: Extracted packet for processing {"connection_id":172458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:13:02] local.INFO: GPS Element Parsed {"raw_longitude":754325120,"raw_latitude":118199664,"longitude_deg":75.432512,"latitude_deg":11.8199664,"altitude":6,"angle":99,"satellites":50,"speed":9,"hex_longitude":"2cf61680","hex_latitude":"070b9570","is_valid_coordinates":true} 
[2026-09-04 21:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865350400001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-714876041841735680,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398608548872847360,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 21:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788536527000,"timestamp_ms":1788536527000,"timestamp_seconds":1788536527,"priority":1,"record_length":96,"hex_timestamp":"000001a06d159898"} 
[2026-09-04 21:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 21:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865350400001,"66":27463,"44":-714876041841735680,"83":41728,"24":9,"16":398608548872847360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-04 21:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865350400001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:13:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-714876041841735680,"description":"Unknown IO ID 44"} 
[2026-09-04 21:13:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398608548872847360,"km_value":398608548872847.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:13:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457865350400001,"power":27463,"unknown_44":-714876041841735680,"unknown_83":41728,"ignition":9,"odometer":null}} 
[2026-09-04 21:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":172458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:13:02] local.INFO: GPS data processed {"connection_id":172458,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:13:02] local.INFO: Acknowledgment sent {"connection_id":172458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:13:24] local.INFO: TCP Data received {"connection_id":171046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:13:24] local.INFO: Processing buffer {"connection_id":171046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:13:24] local.INFO: Packet analysis {"connection_id":171046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:13:24] local.INFO: Extracted packet for processing {"connection_id":171046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:13:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865238016001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788536387000,"timestamp_ms":1788536387000,"timestamp_seconds":1788536387,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1375b8"} 
[2026-09-04 21:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865238016001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865238016001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:13:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:13:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865238016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":171046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:13:24] local.INFO: GPS data processed {"connection_id":171046,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:13:24] local.INFO: Acknowledgment sent {"connection_id":171046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:13:32] local.INFO: TCP Data received {"connection_id":171047,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:13:32] local.INFO: Processing buffer {"connection_id":171047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:13:32] local.INFO: Packet analysis {"connection_id":171047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:13:32] local.INFO: Extracted packet for processing {"connection_id":171047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:13:32] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865276928001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788536539000,"timestamp_ms":1788536539000,"timestamp_seconds":1788536539,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15c778"} 
[2026-09-04 21:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171047,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171047,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865276928001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865276928001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:13:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:13:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865276928001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":171047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:13:32] local.INFO: GPS data processed {"connection_id":171047,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:13:32] local.INFO: Acknowledgment sent {"connection_id":171047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:13:33] local.INFO: TCP Data received {"connection_id":172458,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15a068012cf61880070b95700007005431..."} 
[2026-09-04 21:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15a068012cf61880070b95700007005431..."} 
[2026-09-04 21:13:33] local.INFO: Processing buffer {"connection_id":172458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d15a068012cf61880070b95700007005431..."} 
[2026-09-04 21:13:33] local.INFO: Packet analysis {"connection_id":172458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:13:33] local.INFO: Extracted packet for processing {"connection_id":172458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:13:33] local.INFO: GPS Element Parsed {"raw_longitude":754325632,"raw_latitude":118199664,"longitude_deg":75.4325632,"latitude_deg":11.8199664,"altitude":7,"angle":84,"satellites":49,"speed":9,"hex_longitude":"2cf61880","hex_latitude":"070b9570","is_valid_coordinates":true} 
[2026-09-04 21:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865350912001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-714242723144175616,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398608574642651136,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 21:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788536529000,"timestamp_ms":1788536529000,"timestamp_seconds":1788536529,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15a068"} 
[2026-09-04 21:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 21:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865350912001,"66":27343,"44":-714242723144175616,"83":41728,"24":9,"16":398608574642651136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-04 21:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865350912001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:13:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-714242723144175616,"description":"Unknown IO ID 44"} 
[2026-09-04 21:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398608574642651136,"km_value":398608574642651.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:13:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457865350912001,"power":27343,"unknown_44":-714242723144175616,"unknown_83":41728,"ignition":9,"odometer":null}} 
[2026-09-04 21:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":172458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:13:33] local.INFO: GPS data processed {"connection_id":172458,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:13:33] local.INFO: Acknowledgment sent {"connection_id":172458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:13:47] local.INFO: TCP Data received {"connection_id":171048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:13:47] local.INFO: Processing buffer {"connection_id":171048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:13:47] local.INFO: IMEI packet received {"connection_id":171048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":171048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:13:48] local.INFO: TCP Data received {"connection_id":171049,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:13:48] local.INFO: Processing buffer {"connection_id":171049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:13:48] local.INFO: IMEI packet received {"connection_id":171049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":171049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:13:52] local.INFO: TCP Data received {"connection_id":171048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:13:52] local.INFO: Processing buffer {"connection_id":171048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:13:52] local.INFO: IMEI packet received {"connection_id":171048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":171048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:13:53] local.INFO: TCP Data received {"connection_id":171048,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:13:53] local.INFO: Processing buffer {"connection_id":171048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:13:53] local.INFO: Packet analysis {"connection_id":171048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:13:53] local.INFO: Extracted packet for processing {"connection_id":171048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:13:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865238016001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536387000,"timestamp_ms":1788536387000,"timestamp_seconds":1788536387,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1375b8"} 
[2026-09-04 21:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865238016001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865238016001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:13:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:13:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865238016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":171048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:13:53] local.INFO: GPS data processed {"connection_id":171048,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:13:53] local.INFO: Acknowledgment sent {"connection_id":171048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:13:53] local.INFO: TCP Data received {"connection_id":171049,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:13:53] local.INFO: Processing buffer {"connection_id":171049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:13:53] local.INFO: IMEI packet received {"connection_id":171049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":171049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:13:55] local.INFO: TCP Data received {"connection_id":171049,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:13:55] local.INFO: Processing buffer {"connection_id":171049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:13:55] local.INFO: Packet analysis {"connection_id":171049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:13:55] local.INFO: Extracted packet for processing {"connection_id":171049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865276928001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788536539000,"timestamp_ms":1788536539000,"timestamp_seconds":1788536539,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15c778"} 
[2026-09-04 21:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171049,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171049,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865276928001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865276928001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:13:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:13:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865276928001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":171049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:13:55] local.INFO: GPS data processed {"connection_id":171049,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:13:55] local.INFO: Acknowledgment sent {"connection_id":171049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:13:58] local.INFO: TCP Data received {"connection_id":172459,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:13:58] local.INFO: Processing buffer {"connection_id":172459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:13:58] local.INFO: IMEI packet received {"connection_id":172459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":172459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:14:01] local.INFO: TCP Data received {"connection_id":172459,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:14:01] local.INFO: Processing buffer {"connection_id":172459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:14:01] local.INFO: IMEI packet received {"connection_id":172459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":172459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:14:05] local.INFO: TCP Data received {"connection_id":172459,"ip":"42.106.6.14","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06d..."} 
[2026-09-04 21:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172459,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06d..."} 
[2026-09-04 21:14:05] local.INFO: Processing buffer {"connection_id":172459,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06d..."} 
[2026-09-04 21:14:05] local.INFO: IMEI packet received {"connection_id":172459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":172459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:14:09] local.INFO: TCP Data received {"connection_id":172459,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15bfa8012cf61e80070b96d00007005332..."} 
[2026-09-04 21:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15bfa8012cf61e80070b96d00007005332..."} 
[2026-09-04 21:14:09] local.INFO: Processing buffer {"connection_id":172459,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06d15a838012cf61a00070b95b80007004832..."} 
[2026-09-04 21:14:09] local.INFO: Packet analysis {"connection_id":172459,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:14:09] local.INFO: Extracted packet for processing {"connection_id":172459,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:14:09] local.INFO: GPS Element Parsed {"raw_longitude":754326016,"raw_latitude":118199736,"longitude_deg":75.4326016,"latitude_deg":11.8199736,"altitude":7,"angle":72,"satellites":50,"speed":6,"hex_longitude":"2cf61a00","hex_latitude":"070b95b8","is_valid_coordinates":true} 
[2026-09-04 21:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865351424001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713679773190754304,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398608591822520320,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 21:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788536531000,"timestamp_ms":1788536531000,"timestamp_seconds":1788536531,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15a838"} 
[2026-09-04 21:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 21:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865351424001,"66":27397,"44":-713679773190754304,"83":41728,"24":6,"16":398608591822520320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-04 21:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865351424001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:14:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713679773190754304,"description":"Unknown IO ID 44"} 
[2026-09-04 21:14:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398608591822520320,"km_value":398608591822520.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:14:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457865351424001,"power":27397,"unknown_44":-713679773190754304,"unknown_83":41728,"ignition":6,"odometer":null}} 
[2026-09-04 21:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":172459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:14:09] local.INFO: GPS data processed {"connection_id":172459,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:14:09] local.INFO: Acknowledgment sent {"connection_id":172459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:14:09] local.INFO: Packet analysis {"connection_id":172459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:14:09] local.INFO: Extracted packet for processing {"connection_id":172459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:14:09] local.INFO: GPS Element Parsed {"raw_longitude":754327168,"raw_latitude":118200016,"longitude_deg":75.4327168,"latitude_deg":11.8200016,"altitude":7,"angle":83,"satellites":50,"speed":9,"hex_longitude":"2cf61e80","hex_latitude":"070b96d0","is_valid_coordinates":true} 
[2026-09-04 21:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865351936001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713257560725669888,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398608647657095168,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 21:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788536537000,"timestamp_ms":1788536537000,"timestamp_seconds":1788536537,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15bfa8"} 
[2026-09-04 21:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865351936001,"66":27321,"44":-713257560725669888,"83":41728,"24":9,"16":398608647657095168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-04 21:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865351936001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:14:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713257560725669888,"description":"Unknown IO ID 44"} 
[2026-09-04 21:14:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398608647657095168,"km_value":398608647657095.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:14:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457865351936001,"power":27321,"unknown_44":-713257560725669888,"unknown_83":41728,"ignition":9,"odometer":null}} 
[2026-09-04 21:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":172459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:14:09] local.INFO: GPS data processed {"connection_id":172459,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:14:09] local.INFO: Acknowledgment sent {"connection_id":172459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:14:13] local.INFO: TCP Data received {"connection_id":172459,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15d718012cf624c0070b97600007005e31..."} 
[2026-09-04 21:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15d718012cf624c0070b97600007005e31..."} 
[2026-09-04 21:14:13] local.INFO: Processing buffer {"connection_id":172459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d15d718012cf624c0070b97600007005e31..."} 
[2026-09-04 21:14:13] local.INFO: Packet analysis {"connection_id":172459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:14:13] local.INFO: Extracted packet for processing {"connection_id":172459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:14:13] local.INFO: GPS Element Parsed {"raw_longitude":754328768,"raw_latitude":118200160,"longitude_deg":75.4328768,"latitude_deg":11.820016,"altitude":7,"angle":94,"satellites":49,"speed":9,"hex_longitude":"2cf624c0","hex_latitude":"070b9760","is_valid_coordinates":true} 
[2026-09-04 21:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865353472001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711990923330400256,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398608724966506496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 21:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788536543000,"timestamp_ms":1788536543000,"timestamp_seconds":1788536543,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15d718"} 
[2026-09-04 21:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 21:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865353472001,"66":27376,"44":-711990923330400256,"83":41728,"24":9,"16":398608724966506496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-04 21:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865353472001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:14:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711990923330400256,"description":"Unknown IO ID 44"} 
[2026-09-04 21:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398608724966506496,"km_value":398608724966506.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:14:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457865353472001,"power":27376,"unknown_44":-711990923330400256,"unknown_83":41728,"ignition":9,"odometer":null}} 
[2026-09-04 21:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":172459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:14:13] local.INFO: GPS data processed {"connection_id":172459,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:14:13] local.INFO: Acknowledgment sent {"connection_id":172459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:14:24] local.INFO: TCP Data received {"connection_id":171048,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:14:24] local.INFO: Processing buffer {"connection_id":171048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:14:24] local.INFO: Packet analysis {"connection_id":171048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:14:24] local.INFO: Extracted packet for processing {"connection_id":171048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865238016001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788536387000,"timestamp_ms":1788536387000,"timestamp_seconds":1788536387,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1375b8"} 
[2026-09-04 21:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865238016001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865238016001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:14:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:14:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865238016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":171048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:14:24] local.INFO: GPS data processed {"connection_id":171048,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:14:24] local.INFO: Acknowledgment sent {"connection_id":171048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:14:34] local.INFO: TCP Data received {"connection_id":171049,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:14:34] local.INFO: Processing buffer {"connection_id":171049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:14:34] local.INFO: Packet analysis {"connection_id":171049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:14:34] local.INFO: Extracted packet for processing {"connection_id":171049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865276928001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788536539000,"timestamp_ms":1788536539000,"timestamp_seconds":1788536539,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15c778"} 
[2026-09-04 21:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171049,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171049,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865276928001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865276928001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:14:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:14:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865276928001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":171049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765373,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:14:34] local.INFO: GPS data processed {"connection_id":171049,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:14:34] local.INFO: Acknowledgment sent {"connection_id":171049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:14:47] local.INFO: TCP Data received {"connection_id":171338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:14:47] local.INFO: Processing buffer {"connection_id":171338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:14:47] local.INFO: IMEI packet received {"connection_id":171338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":171338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:14:48] local.INFO: TCP Data received {"connection_id":171050,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:14:48] local.INFO: Processing buffer {"connection_id":171050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:14:48] local.INFO: IMEI packet received {"connection_id":171050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":171050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:14:52] local.INFO: TCP Data received {"connection_id":171338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:14:52] local.INFO: Processing buffer {"connection_id":171338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:14:52] local.INFO: IMEI packet received {"connection_id":171338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":171338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:14:53] local.INFO: TCP Data received {"connection_id":171338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:14:53] local.INFO: Processing buffer {"connection_id":171338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:14:53] local.INFO: Packet analysis {"connection_id":171338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:14:53] local.INFO: Extracted packet for processing {"connection_id":171338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:14:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865238016001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536387000,"timestamp_ms":1788536387000,"timestamp_seconds":1788536387,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1375b8"} 
[2026-09-04 21:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865238016001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865238016001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:14:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:14:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865238016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":171338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:14:53] local.INFO: GPS data processed {"connection_id":171338,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:14:53] local.INFO: Acknowledgment sent {"connection_id":171338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:14:53] local.INFO: TCP Data received {"connection_id":171050,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:14:53] local.INFO: Processing buffer {"connection_id":171050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:14:53] local.INFO: IMEI packet received {"connection_id":171050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":171050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:14:55] local.INFO: TCP Data received {"connection_id":171050,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:14:55] local.INFO: Processing buffer {"connection_id":171050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:14:55] local.INFO: Packet analysis {"connection_id":171050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:14:55] local.INFO: Extracted packet for processing {"connection_id":171050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865276928001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788536539000,"timestamp_ms":1788536539000,"timestamp_seconds":1788536539,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15c778"} 
[2026-09-04 21:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865276928001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865276928001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:14:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:14:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865276928001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":171050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:14:55] local.INFO: GPS data processed {"connection_id":171050,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:14:55] local.INFO: Acknowledgment sent {"connection_id":171050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:14:58] local.INFO: TCP Data received {"connection_id":171339,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:14:58] local.INFO: Processing buffer {"connection_id":171339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:14:58] local.INFO: IMEI packet received {"connection_id":171339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":171339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:15:03] local.INFO: TCP Data received {"connection_id":171339,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:15:03] local.INFO: Processing buffer {"connection_id":171339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:15:03] local.INFO: IMEI packet received {"connection_id":171339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":171339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:15:04] local.INFO: TCP Data received {"connection_id":171339,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d175200012cf6f140070ab6f0000e00912e..."} 
[2026-09-04 21:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d175200012cf6f140070ab6f0000e00912e..."} 
[2026-09-04 21:15:04] local.INFO: Processing buffer {"connection_id":171339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d175200012cf6f140070ab6f0000e00912e..."} 
[2026-09-04 21:15:04] local.INFO: Packet analysis {"connection_id":171339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d17"} 
[2026-09-04 21:15:04] local.INFO: Extracted packet for processing {"connection_id":171339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d17"} 
[2026-09-04 21:15:04] local.INFO: GPS Element Parsed {"raw_longitude":754381120,"raw_latitude":118142704,"longitude_deg":75.438112,"latitude_deg":11.8142704,"altitude":14,"angle":145,"satellites":46,"speed":40,"hex_longitude":"2cf6f140","hex_latitude":"070ab6f0","is_valid_coordinates":true} 
[2026-09-04 21:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865377280001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398612474472955904,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-658792152744722432,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788536640000,"timestamp_ms":1788536640000,"timestamp_seconds":1788536640,"priority":1,"record_length":96,"hex_timestamp":"000001a06d175200"} 
[2026-09-04 21:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865377280001,"66":27343,"12":206,"83":41728,"24":40,"16":398612474472955904,"44":-658792152744722432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-04 21:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865377280001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:15:04] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-04 21:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398612474472955904,"km_value":398612474472955.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:15:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-658792152744722432,"description":"Unknown IO ID 44"} 
[2026-09-04 21:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865377280001,"power":27343,"unknown_12":206,"unknown_83":41728,"ignition":40,"odometer":null,"unknown_44":-658792152744722432}} 
[2026-09-04 21:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":171339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:15:04] local.INFO: GPS data processed {"connection_id":171339,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:15:04] local.INFO: Acknowledgment sent {"connection_id":171339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:15:23] local.INFO: TCP Data received {"connection_id":171338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:15:23] local.INFO: Processing buffer {"connection_id":171338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1375b8012d1965c0071fef80004701152b..."} 
[2026-09-04 21:15:23] local.INFO: Packet analysis {"connection_id":171338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:15:23] local.INFO: Extracted packet for processing {"connection_id":171338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d13"} 
[2026-09-04 21:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865238016001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788536387000,"timestamp_ms":1788536387000,"timestamp_seconds":1788536387,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1375b8"} 
[2026-09-04 21:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865238016001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865238016001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:15:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865238016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":171338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:15:23] local.INFO: GPS data processed {"connection_id":171338,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:15:23] local.INFO: Acknowledgment sent {"connection_id":171338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:15:26] local.INFO: TCP Data received {"connection_id":171050,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:15:26] local.INFO: Processing buffer {"connection_id":171050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:15:26] local.INFO: Packet analysis {"connection_id":171050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:15:26] local.INFO: Extracted packet for processing {"connection_id":171050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:15:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865276928001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788536539000,"timestamp_ms":1788536539000,"timestamp_seconds":1788536539,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15c778"} 
[2026-09-04 21:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865276928001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865276928001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:15:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:15:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865276928001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":171050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:15:26] local.INFO: GPS data processed {"connection_id":171050,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:15:26] local.INFO: Acknowledgment sent {"connection_id":171050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:15:35] local.INFO: TCP Data received {"connection_id":171339,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d177528012cf706c0070a9868000f00902f..."} 
[2026-09-04 21:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d177528012cf706c0070a9868000f00902f..."} 
[2026-09-04 21:15:35] local.INFO: Processing buffer {"connection_id":171339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d177528012cf706c0070a9868000f00902f..."} 
[2026-09-04 21:15:35] local.INFO: Packet analysis {"connection_id":171339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d17"} 
[2026-09-04 21:15:35] local.INFO: Extracted packet for processing {"connection_id":171339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d17"} 
[2026-09-04 21:15:35] local.INFO: GPS Element Parsed {"raw_longitude":754386624,"raw_latitude":118134888,"longitude_deg":75.4386624,"latitude_deg":11.8134888,"altitude":15,"angle":144,"satellites":47,"speed":42,"hex_longitude":"2cf706c0","hex_latitude":"070a9868","is_valid_coordinates":true} 
[2026-09-04 21:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865379840001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398612934034456576,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652670072003301376,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788536649000,"timestamp_ms":1788536649000,"timestamp_seconds":1788536649,"priority":1,"record_length":96,"hex_timestamp":"000001a06d177528"} 
[2026-09-04 21:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 21:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865379840001,"66":27463,"12":206,"83":41728,"24":42,"16":398612934034456576,"44":-652670072003301376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-04 21:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865379840001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:15:35] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-04 21:15:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398612934034456576,"km_value":398612934034456.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:15:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652670072003301376,"description":"Unknown IO ID 44"} 
[2026-09-04 21:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865379840001,"power":27463,"unknown_12":206,"unknown_83":41728,"ignition":42,"odometer":null,"unknown_44":-652670072003301376}} 
[2026-09-04 21:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":171339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:15:35] local.INFO: GPS data processed {"connection_id":171339,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:15:35] local.INFO: Acknowledgment sent {"connection_id":171339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:15:52] local.INFO: TCP Data received {"connection_id":171340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:15:52] local.INFO: Processing buffer {"connection_id":171340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:15:52] local.INFO: IMEI packet received {"connection_id":171340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":171340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:15:53] local.INFO: TCP Data received {"connection_id":171341,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:15:53] local.INFO: Processing buffer {"connection_id":171341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:15:53] local.INFO: IMEI packet received {"connection_id":171341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":171341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:15:57] local.INFO: TCP Data received {"connection_id":171340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:15:57] local.INFO: Processing buffer {"connection_id":171340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:15:57] local.INFO: IMEI packet received {"connection_id":171340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":171340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:15:58] local.INFO: TCP Data received {"connection_id":171340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:15:58] local.INFO: Processing buffer {"connection_id":171340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:15:58] local.INFO: Packet analysis {"connection_id":171340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:15:58] local.INFO: Extracted packet for processing {"connection_id":171340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:15:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865315072001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788536688000,"timestamp_ms":1788536688000,"timestamp_seconds":1788536688,"priority":1,"record_length":96,"hex_timestamp":"000001a06d180d80"} 
[2026-09-04 21:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865315072001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865315072001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:15:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:15:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865315072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":171340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:15:58] local.INFO: GPS data processed {"connection_id":171340,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:15:58] local.INFO: Acknowledgment sent {"connection_id":171340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:15:58] local.INFO: TCP Data received {"connection_id":171341,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:15:58] local.INFO: Processing buffer {"connection_id":171341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:15:58] local.INFO: IMEI packet received {"connection_id":171341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":171341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:16:00] local.INFO: TCP Data received {"connection_id":171341,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:16:00] local.INFO: Processing buffer {"connection_id":171341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:16:00] local.INFO: Packet analysis {"connection_id":171341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:16:00] local.INFO: Extracted packet for processing {"connection_id":171341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:16:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865276928001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788536539000,"timestamp_ms":1788536539000,"timestamp_seconds":1788536539,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15c778"} 
[2026-09-04 21:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865276928001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865276928001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:16:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865276928001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":171341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765381,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:16:00] local.INFO: GPS data processed {"connection_id":171341,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:16:00] local.INFO: Acknowledgment sent {"connection_id":171341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:16:01] local.INFO: TCP Data received {"connection_id":172460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:16:01] local.INFO: Processing buffer {"connection_id":172460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:16:01] local.INFO: IMEI packet received {"connection_id":172460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":172460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:16:02] local.INFO: TCP Data received {"connection_id":171340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:16:02] local.INFO: Processing buffer {"connection_id":171340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:16:02] local.INFO: Packet analysis {"connection_id":171340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:16:02] local.INFO: Extracted packet for processing {"connection_id":171340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:16:02] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865315072001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788536688000,"timestamp_ms":1788536688000,"timestamp_seconds":1788536688,"priority":1,"record_length":96,"hex_timestamp":"000001a06d180d80"} 
[2026-09-04 21:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865315072001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865315072001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:16:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:16:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865315072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":171340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:16:02] local.INFO: GPS data processed {"connection_id":171340,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:16:02] local.INFO: Acknowledgment sent {"connection_id":171340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:16:03] local.INFO: TCP Data received {"connection_id":172460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:16:03] local.INFO: Processing buffer {"connection_id":172460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:16:03] local.INFO: IMEI packet received {"connection_id":172460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":172460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:16:04] local.INFO: TCP Data received {"connection_id":171341,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:16:04] local.INFO: Processing buffer {"connection_id":171341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:16:04] local.INFO: Packet analysis {"connection_id":171341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:16:04] local.INFO: Extracted packet for processing {"connection_id":171341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865276928001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788536539000,"timestamp_ms":1788536539000,"timestamp_seconds":1788536539,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15c778"} 
[2026-09-04 21:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865276928001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865276928001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:16:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:16:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865276928001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":171341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765383,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:16:04] local.INFO: GPS data processed {"connection_id":171341,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:16:04] local.INFO: Acknowledgment sent {"connection_id":171341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:16:08] local.INFO: TCP Data received {"connection_id":172460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:16:08] local.INFO: Processing buffer {"connection_id":172460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:16:08] local.INFO: IMEI packet received {"connection_id":172460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":172460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:16:09] local.INFO: TCP Data received {"connection_id":172460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d179850012cf71e00070a7aa80010008d30..."} 
[2026-09-04 21:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d179850012cf71e00070a7aa80010008d30..."} 
[2026-09-04 21:16:09] local.INFO: Processing buffer {"connection_id":172460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d179850012cf71e00070a7aa80010008d30..."} 
[2026-09-04 21:16:09] local.INFO: Packet analysis {"connection_id":172460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d17"} 
[2026-09-04 21:16:09] local.INFO: Extracted packet for processing {"connection_id":172460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d17"} 
[2026-09-04 21:16:09] local.INFO: GPS Element Parsed {"raw_longitude":754392576,"raw_latitude":118127272,"longitude_deg":75.4392576,"latitude_deg":11.8127272,"altitude":16,"angle":141,"satellites":48,"speed":44,"hex_longitude":"2cf71e00","hex_latitude":"070a7aa8","is_valid_coordinates":true} 
[2026-09-04 21:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865382144001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398613397890924544,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-646618360006023168,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788536658000,"timestamp_ms":1788536658000,"timestamp_seconds":1788536658,"priority":1,"record_length":96,"hex_timestamp":"000001a06d179850"} 
[2026-09-04 21:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 21:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865382144001,"66":27332,"197":206,"83":41728,"24":44,"16":398613397890924544,"44":-646618360006023168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-09-04 21:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865382144001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:16:09] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-04 21:16:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398613397890924544,"km_value":398613397890924.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-646618360006023168,"description":"Unknown IO ID 44"} 
[2026-09-04 21:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865382144001,"power":27332,"unknown_197":206,"unknown_83":41728,"ignition":44,"odometer":null,"unknown_44":-646618360006023168}} 
[2026-09-04 21:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":172460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:16:09] local.INFO: GPS data processed {"connection_id":172460,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:16:09] local.INFO: Acknowledgment sent {"connection_id":172460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:16:40] local.INFO: TCP Data received {"connection_id":172460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d18f010012cf84a4007090bf0000c00a530..."} 
[2026-09-04 21:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d18f010012cf84a4007090bf0000c00a530..."} 
[2026-09-04 21:16:40] local.INFO: Processing buffer {"connection_id":172460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d18f010012cf84a4007090bf0000c00a530..."} 
[2026-09-04 21:16:40] local.INFO: Packet analysis {"connection_id":172460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:16:40] local.INFO: Extracted packet for processing {"connection_id":172460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:16:40] local.INFO: GPS Element Parsed {"raw_longitude":754469440,"raw_latitude":118033392,"longitude_deg":75.446944,"latitude_deg":11.8033392,"altitude":12,"angle":165,"satellites":48,"speed":54,"hex_longitude":"2cf84a40","hex_latitude":"07090bf0","is_valid_coordinates":true} 
[2026-09-04 21:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865405952001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398619251931348992,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-557672267390099456,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788536746000,"timestamp_ms":1788536746000,"timestamp_seconds":1788536746,"priority":1,"record_length":96,"hex_timestamp":"000001a06d18f010"} 
[2026-09-04 21:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865405952001,"66":27267,"31":206,"83":41728,"24":54,"16":398619251931348992,"44":-557672267390099456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-04 21:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865405952001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:16:40] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 21:16:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398619251931348992,"km_value":398619251931349.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-557672267390099456,"description":"Unknown IO ID 44"} 
[2026-09-04 21:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865405952001,"power":27267,"unknown_31":206,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-557672267390099456}} 
[2026-09-04 21:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":172460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:16:40] local.INFO: GPS data processed {"connection_id":172460,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:16:40] local.INFO: Acknowledgment sent {"connection_id":172460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:16:47] local.INFO: TCP Data received {"connection_id":171051,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:16:47] local.INFO: Processing buffer {"connection_id":171051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:16:47] local.INFO: IMEI packet received {"connection_id":171051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":171051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:16:48] local.INFO: TCP Data received {"connection_id":171342,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:16:48] local.INFO: Processing buffer {"connection_id":171342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:16:48] local.INFO: IMEI packet received {"connection_id":171342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":171342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:16:52] local.INFO: TCP Data received {"connection_id":171051,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:16:52] local.INFO: Processing buffer {"connection_id":171051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:16:52] local.INFO: IMEI packet received {"connection_id":171051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":171051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:16:53] local.INFO: TCP Data received {"connection_id":171051,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:16:53] local.INFO: Processing buffer {"connection_id":171051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:16:53] local.INFO: Packet analysis {"connection_id":171051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:16:53] local.INFO: Extracted packet for processing {"connection_id":171051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865315072001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536688000,"timestamp_ms":1788536688000,"timestamp_seconds":1788536688,"priority":1,"record_length":96,"hex_timestamp":"000001a06d180d80"} 
[2026-09-04 21:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865315072001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865315072001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:16:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:16:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865315072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":171051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:16:53] local.INFO: GPS data processed {"connection_id":171051,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:16:53] local.INFO: Acknowledgment sent {"connection_id":171051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:16:53] local.INFO: TCP Data received {"connection_id":171342,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:16:53] local.INFO: Processing buffer {"connection_id":171342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:16:53] local.INFO: IMEI packet received {"connection_id":171342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":171342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:16:55] local.INFO: TCP Data received {"connection_id":171342,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:16:55] local.INFO: Processing buffer {"connection_id":171342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:16:55] local.INFO: Packet analysis {"connection_id":171342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:16:55] local.INFO: Extracted packet for processing {"connection_id":171342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:16:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865276928001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788536539000,"timestamp_ms":1788536539000,"timestamp_seconds":1788536539,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15c778"} 
[2026-09-04 21:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865276928001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865276928001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:16:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865276928001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":171342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765387,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:16:55] local.INFO: GPS data processed {"connection_id":171342,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:16:55] local.INFO: Acknowledgment sent {"connection_id":171342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:17:05] local.INFO: TCP Data received {"connection_id":172461,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:17:05] local.INFO: Processing buffer {"connection_id":172461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:17:05] local.INFO: IMEI packet received {"connection_id":172461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":172461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:17:07] local.INFO: TCP Data received {"connection_id":172461,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:17:07] local.INFO: Processing buffer {"connection_id":172461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:17:07] local.INFO: IMEI packet received {"connection_id":172461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":172461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:17:08] local.INFO: TCP Data received {"connection_id":172461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d190b68012cf853800708e8a0000b009d31..."} 
[2026-09-04 21:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d190b68012cf853800708e8a0000b009d31..."} 
[2026-09-04 21:17:08] local.INFO: Processing buffer {"connection_id":172461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d190b68012cf853800708e8a0000b009d31..."} 
[2026-09-04 21:17:08] local.INFO: Packet analysis {"connection_id":172461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d19"} 
[2026-09-04 21:17:08] local.INFO: Extracted packet for processing {"connection_id":172461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d19"} 
[2026-09-04 21:17:08] local.INFO: GPS Element Parsed {"raw_longitude":754471808,"raw_latitude":118024352,"longitude_deg":75.4471808,"latitude_deg":11.8024352,"altitude":11,"angle":157,"satellites":49,"speed":51,"hex_longitude":"2cf85380","hex_latitude":"0708e8a0","is_valid_coordinates":true} 
[2026-09-04 21:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865406976001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398619702902915072,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-555561205066108928,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788536753000,"timestamp_ms":1788536753000,"timestamp_seconds":1788536753,"priority":1,"record_length":96,"hex_timestamp":"000001a06d190b68"} 
[2026-09-04 21:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 21:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865406976001,"66":27376,"31":206,"83":41728,"24":51,"16":398619702902915072,"44":-555561205066108928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-04 21:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865406976001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:17:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-04 21:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398619702902915072,"km_value":398619702902915.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:17:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-555561205066108928,"description":"Unknown IO ID 44"} 
[2026-09-04 21:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865406976001,"power":27376,"unknown_31":206,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-555561205066108928}} 
[2026-09-04 21:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":172461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:17:08] local.INFO: GPS data processed {"connection_id":172461,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:17:08] local.INFO: Acknowledgment sent {"connection_id":172461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:17:10] local.INFO: TCP Data received {"connection_id":172461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d192aa8012cf866800708c6f8000d009431..."} 
[2026-09-04 21:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d192aa8012cf866800708c6f8000d009431..."} 
[2026-09-04 21:17:10] local.INFO: Processing buffer {"connection_id":172461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d192aa8012cf866800708c6f8000d009431..."} 
[2026-09-04 21:17:10] local.INFO: Packet analysis {"connection_id":172461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d19"} 
[2026-09-04 21:17:10] local.INFO: Extracted packet for processing {"connection_id":172461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d19"} 
[2026-09-04 21:17:10] local.INFO: GPS Element Parsed {"raw_longitude":754476672,"raw_latitude":118015736,"longitude_deg":75.4476672,"latitude_deg":11.8015736,"altitude":13,"angle":148,"satellites":49,"speed":48,"hex_longitude":"2cf86680","hex_latitude":"0708c6f8","is_valid_coordinates":true} 
[2026-09-04 21:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865408768001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398620183939252224,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-552957561533849600,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788536761000,"timestamp_ms":1788536761000,"timestamp_seconds":1788536761,"priority":1,"record_length":96,"hex_timestamp":"000001a06d192aa8"} 
[2026-09-04 21:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865408768001,"66":27300,"30":206,"83":41728,"24":48,"16":398620183939252224,"44":-552957561533849600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-09-04 21:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865408768001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:17:10] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 21:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398620183939252224,"km_value":398620183939252.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-552957561533849600,"description":"Unknown IO ID 44"} 
[2026-09-04 21:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865408768001,"power":27300,"unknown_30":206,"unknown_83":41728,"ignition":48,"odometer":null,"unknown_44":-552957561533849600}} 
[2026-09-04 21:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":172461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:17:10] local.INFO: GPS data processed {"connection_id":172461,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:17:10] local.INFO: Acknowledgment sent {"connection_id":172461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:17:24] local.INFO: TCP Data received {"connection_id":171051,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:17:24] local.INFO: Processing buffer {"connection_id":171051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:17:24] local.INFO: Packet analysis {"connection_id":171051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:17:24] local.INFO: Extracted packet for processing {"connection_id":171051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865315072001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788536688000,"timestamp_ms":1788536688000,"timestamp_seconds":1788536688,"priority":1,"record_length":96,"hex_timestamp":"000001a06d180d80"} 
[2026-09-04 21:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865315072001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865315072001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:17:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865315072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":171051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:17:24] local.INFO: GPS data processed {"connection_id":171051,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:17:24] local.INFO: Acknowledgment sent {"connection_id":171051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:17:26] local.INFO: TCP Data received {"connection_id":171342,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:17:26] local.INFO: Processing buffer {"connection_id":171342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:17:26] local.INFO: Packet analysis {"connection_id":171342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:17:26] local.INFO: Extracted packet for processing {"connection_id":171342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:17:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865276928001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788536539000,"timestamp_ms":1788536539000,"timestamp_seconds":1788536539,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15c778"} 
[2026-09-04 21:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865276928001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865276928001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:17:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:17:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865276928001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":171342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765391,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:17:26] local.INFO: GPS data processed {"connection_id":171342,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:17:26] local.INFO: Acknowledgment sent {"connection_id":171342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:17:41] local.INFO: TCP Data received {"connection_id":172461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1949e8012cf87bc00708a608000f009230..."} 
[2026-09-04 21:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1949e8012cf87bc00708a608000f009230..."} 
[2026-09-04 21:17:41] local.INFO: Processing buffer {"connection_id":172461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1949e8012cf87bc00708a608000f009230..."} 
[2026-09-04 21:17:41] local.INFO: Packet analysis {"connection_id":172461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d19"} 
[2026-09-04 21:17:41] local.INFO: Extracted packet for processing {"connection_id":172461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d19"} 
[2026-09-04 21:17:41] local.INFO: GPS Element Parsed {"raw_longitude":754482112,"raw_latitude":118007304,"longitude_deg":75.4482112,"latitude_deg":11.8007304,"altitude":15,"angle":146,"satellites":48,"speed":50,"hex_longitude":"2cf87bc0","hex_latitude":"0708a608","is_valid_coordinates":true} 
[2026-09-04 21:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865410816001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398620664975589376,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-547609536978552832,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788536769000,"timestamp_ms":1788536769000,"timestamp_seconds":1788536769,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1949e8"} 
[2026-09-04 21:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 21:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865410816001,"66":27365,"30":206,"83":41728,"24":50,"16":398620664975589376,"44":-547609536978552832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-09-04 21:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865410816001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:17:41] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 21:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398620664975589376,"km_value":398620664975589.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-547609536978552832,"description":"Unknown IO ID 44"} 
[2026-09-04 21:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865410816001,"power":27365,"unknown_30":206,"unknown_83":41728,"ignition":50,"odometer":null,"unknown_44":-547609536978552832}} 
[2026-09-04 21:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":172461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:17:41] local.INFO: GPS data processed {"connection_id":172461,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:17:41] local.INFO: Acknowledgment sent {"connection_id":172461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:17:47] local.INFO: TCP Data received {"connection_id":171052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:17:47] local.INFO: Processing buffer {"connection_id":171052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:17:47] local.INFO: IMEI packet received {"connection_id":171052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":171052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:17:48] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:17:48] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:17:48] local.INFO: IMEI packet received {"connection_id":173739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":173739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:17:52] local.INFO: TCP Data received {"connection_id":171052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:17:52] local.INFO: Processing buffer {"connection_id":171052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:17:52] local.INFO: IMEI packet received {"connection_id":171052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":171052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:17:53] local.INFO: TCP Data received {"connection_id":171052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:17:53] local.INFO: Processing buffer {"connection_id":171052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:17:53] local.INFO: Packet analysis {"connection_id":171052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:17:53] local.INFO: Extracted packet for processing {"connection_id":171052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:17:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865315072001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536688000,"timestamp_ms":1788536688000,"timestamp_seconds":1788536688,"priority":1,"record_length":96,"hex_timestamp":"000001a06d180d80"} 
[2026-09-04 21:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865315072001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865315072001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:17:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:17:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865315072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":171052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:17:53] local.INFO: GPS data processed {"connection_id":171052,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:17:53] local.INFO: Acknowledgment sent {"connection_id":171052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:17:53] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:17:53] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:17:53] local.INFO: IMEI packet received {"connection_id":173739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":173739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:17:55] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:17:55] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d15c778012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:17:55] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:17:55] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d15"} 
[2026-09-04 21:17:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865276928001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788536539000,"timestamp_ms":1788536539000,"timestamp_seconds":1788536539,"priority":1,"record_length":96,"hex_timestamp":"000001a06d15c778"} 
[2026-09-04 21:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865276928001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865276928001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:17:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865276928001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:17:55] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:17:55] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:17:56] local.INFO: TCP Data received {"connection_id":171053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:17:56] local.INFO: Processing buffer {"connection_id":171053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:17:56] local.INFO: IMEI packet received {"connection_id":171053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":171053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:17:59] local.INFO: TCP Data received {"connection_id":171053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:17:59] local.INFO: Processing buffer {"connection_id":171053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:17:59] local.INFO: IMEI packet received {"connection_id":171053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":171053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:18:03] local.INFO: TCP Data received {"connection_id":171053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:18:03] local.INFO: Processing buffer {"connection_id":171053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:18:03] local.INFO: IMEI packet received {"connection_id":171053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":171053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:18:04] local.INFO: TCP Data received {"connection_id":171053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d196540012cf89040070889780011009030..."} 
[2026-09-04 21:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d196540012cf89040070889780011009030..."} 
[2026-09-04 21:18:04] local.INFO: Processing buffer {"connection_id":171053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d196540012cf89040070889780011009030..."} 
[2026-09-04 21:18:04] local.INFO: Packet analysis {"connection_id":171053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d19"} 
[2026-09-04 21:18:04] local.INFO: Extracted packet for processing {"connection_id":171053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d19"} 
[2026-09-04 21:18:04] local.INFO: GPS Element Parsed {"raw_longitude":754487360,"raw_latitude":117999992,"longitude_deg":75.448736,"latitude_deg":11.7999992,"altitude":17,"angle":144,"satellites":48,"speed":51,"hex_longitude":"2cf89040","hex_latitude":"07088978","is_valid_coordinates":true} 
[2026-09-04 21:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865412864001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398621098767286272,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-541628193725609984,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788536776000,"timestamp_ms":1788536776000,"timestamp_seconds":1788536776,"priority":1,"record_length":96,"hex_timestamp":"000001a06d196540"} 
[2026-09-04 21:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 21:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865412864001,"66":27245,"30":206,"83":41728,"24":51,"16":398621098767286272,"44":-541628193725609984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-09-04 21:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865412864001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:18:04] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-04 21:18:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398621098767286272,"km_value":398621098767286.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:18:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-541628193725609984,"description":"Unknown IO ID 44"} 
[2026-09-04 21:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865412864001,"power":27245,"unknown_30":206,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-541628193725609984}} 
[2026-09-04 21:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":171053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:18:04] local.INFO: GPS data processed {"connection_id":171053,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:18:04] local.INFO: Acknowledgment sent {"connection_id":171053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:18:24] local.INFO: TCP Data received {"connection_id":171052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:18:24] local.INFO: Processing buffer {"connection_id":171052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:18:24] local.INFO: Packet analysis {"connection_id":171052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:18:24] local.INFO: Extracted packet for processing {"connection_id":171052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865315072001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788536688000,"timestamp_ms":1788536688000,"timestamp_seconds":1788536688,"priority":1,"record_length":96,"hex_timestamp":"000001a06d180d80"} 
[2026-09-04 21:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865315072001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865315072001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:18:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865315072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":171052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:18:24] local.INFO: GPS data processed {"connection_id":171052,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:18:24] local.INFO: Acknowledgment sent {"connection_id":171052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:18:27] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:18:27] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:18:27] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:18:27] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:18:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865353984001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788536840000,"timestamp_ms":1788536840000,"timestamp_seconds":1788536840,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1a5f40"} 
[2026-09-04 21:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865353984001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865353984001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:18:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:18:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865353984001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765397,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:18:27] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:18:27] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:18:35] local.INFO: TCP Data received {"connection_id":171053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ac4d0012cf97dc007070c300010009e31..."} 
[2026-09-04 21:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ac4d0012cf97dc007070c300010009e31..."} 
[2026-09-04 21:18:35] local.INFO: Processing buffer {"connection_id":171053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ac4d0012cf97dc007070c300010009e31..."} 
[2026-09-04 21:18:35] local.INFO: Packet analysis {"connection_id":171053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:18:35] local.INFO: Extracted packet for processing {"connection_id":171053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:18:35] local.INFO: GPS Element Parsed {"raw_longitude":754548160,"raw_latitude":117902384,"longitude_deg":75.454816,"latitude_deg":11.7902384,"altitude":16,"angle":158,"satellites":49,"speed":57,"hex_longitude":"2cf97dc0","hex_latitude":"07070c30","is_valid_coordinates":true} 
[2026-09-04 21:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865435904001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398626682224771072,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-472596455711705088,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 21:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788536866000,"timestamp_ms":1788536866000,"timestamp_seconds":1788536866,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ac4d0"} 
[2026-09-04 21:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 21:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865435904001,"66":27332,"83":41728,"24":57,"16":398626682224771072,"44":-472596455711705088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-04 21:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865435904001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:18:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398626682224771072,"km_value":398626682224771.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:18:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-472596455711705088,"description":"Unknown IO ID 44"} 
[2026-09-04 21:18:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457865435904001,"power":27332,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-472596455711705088}} 
[2026-09-04 21:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":171053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:18:35] local.INFO: GPS data processed {"connection_id":171053,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:18:35] local.INFO: Acknowledgment sent {"connection_id":171053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:18:47] local.INFO: TCP Data received {"connection_id":172462,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:18:47] local.INFO: Processing buffer {"connection_id":172462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:18:47] local.INFO: IMEI packet received {"connection_id":172462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":172462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:18:48] local.INFO: TCP Data received {"connection_id":171343,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:18:48] local.INFO: Processing buffer {"connection_id":171343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:18:48] local.INFO: IMEI packet received {"connection_id":171343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":171343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:18:52] local.INFO: TCP Data received {"connection_id":172462,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:18:52] local.INFO: Processing buffer {"connection_id":172462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:18:52] local.INFO: IMEI packet received {"connection_id":172462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":172462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:18:53] local.INFO: TCP Data received {"connection_id":172462,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:18:53] local.INFO: Processing buffer {"connection_id":172462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:18:53] local.INFO: Packet analysis {"connection_id":172462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:18:53] local.INFO: Extracted packet for processing {"connection_id":172462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865315072001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536688000,"timestamp_ms":1788536688000,"timestamp_seconds":1788536688,"priority":1,"record_length":96,"hex_timestamp":"000001a06d180d80"} 
[2026-09-04 21:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865315072001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865315072001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:18:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865315072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":172462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:18:53] local.INFO: GPS data processed {"connection_id":172462,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:18:53] local.INFO: Acknowledgment sent {"connection_id":172462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:18:53] local.INFO: TCP Data received {"connection_id":171343,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:18:53] local.INFO: Processing buffer {"connection_id":171343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:18:53] local.INFO: IMEI packet received {"connection_id":171343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":171343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:18:55] local.INFO: TCP Data received {"connection_id":171343,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:18:55] local.INFO: Processing buffer {"connection_id":171343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:18:55] local.INFO: Packet analysis {"connection_id":171343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:18:55] local.INFO: Extracted packet for processing {"connection_id":171343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865353984001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788536840000,"timestamp_ms":1788536840000,"timestamp_seconds":1788536840,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1a5f40"} 
[2026-09-04 21:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865353984001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865353984001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:18:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865353984001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":171343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765400,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:18:55] local.INFO: GPS data processed {"connection_id":171343,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:18:55] local.INFO: Acknowledgment sent {"connection_id":171343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:18:58] local.INFO: TCP Data received {"connection_id":173740,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:18:58] local.INFO: Processing buffer {"connection_id":173740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:18:58] local.INFO: IMEI packet received {"connection_id":173740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":173740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:19:02] local.INFO: TCP Data received {"connection_id":173740,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:19:02] local.INFO: Processing buffer {"connection_id":173740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:19:02] local.INFO: IMEI packet received {"connection_id":173740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":173740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:19:03] local.INFO: TCP Data received {"connection_id":173740,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ad858012cf98b000706f2b80011009331..."} 
[2026-09-04 21:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ad858012cf98b000706f2b80011009331..."} 
[2026-09-04 21:19:03] local.INFO: Processing buffer {"connection_id":173740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ad858012cf98b000706f2b80011009331..."} 
[2026-09-04 21:19:03] local.INFO: Packet analysis {"connection_id":173740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:19:03] local.INFO: Extracted packet for processing {"connection_id":173740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:19:03] local.INFO: GPS Element Parsed {"raw_longitude":754551552,"raw_latitude":117895864,"longitude_deg":75.4551552,"latitude_deg":11.7895864,"altitude":17,"angle":147,"satellites":49,"speed":59,"hex_longitude":"2cf98b00","hex_latitude":"0706f2b8","is_valid_coordinates":true} 
[2026-09-04 21:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865437696001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398627034412089344,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-469007649761120256,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 21:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788536871000,"timestamp_ms":1788536871000,"timestamp_seconds":1788536871,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ad858"} 
[2026-09-04 21:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 21:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865437696001,"66":27137,"83":41728,"24":59,"16":398627034412089344,"44":-469007649761120256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-04 21:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865437696001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398627034412089344,"km_value":398627034412089.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-469007649761120256,"description":"Unknown IO ID 44"} 
[2026-09-04 21:19:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457865437696001,"power":27137,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-469007649761120256}} 
[2026-09-04 21:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":173740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:19:03] local.INFO: GPS data processed {"connection_id":173740,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:19:03] local.INFO: Acknowledgment sent {"connection_id":173740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:19:23] local.INFO: TCP Data received {"connection_id":172462,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:19:23] local.INFO: Processing buffer {"connection_id":172462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:19:23] local.INFO: Packet analysis {"connection_id":172462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:19:23] local.INFO: Extracted packet for processing {"connection_id":172462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865315072001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788536688000,"timestamp_ms":1788536688000,"timestamp_seconds":1788536688,"priority":1,"record_length":96,"hex_timestamp":"000001a06d180d80"} 
[2026-09-04 21:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865315072001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865315072001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:19:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865315072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":172462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:19:23] local.INFO: GPS data processed {"connection_id":172462,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:19:23] local.INFO: Acknowledgment sent {"connection_id":172462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:19:34] local.INFO: TCP Data received {"connection_id":173740,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1aebe0012cf99dc00706dc500011008531..."} 
[2026-09-04 21:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1aebe0012cf99dc00706dc500011008531..."} 
[2026-09-04 21:19:34] local.INFO: Processing buffer {"connection_id":173740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1aebe0012cf99dc00706dc500011008531..."} 
[2026-09-04 21:19:34] local.INFO: Packet analysis {"connection_id":173740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:19:34] local.INFO: Extracted packet for processing {"connection_id":173740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:19:34] local.INFO: GPS Element Parsed {"raw_longitude":754556352,"raw_latitude":117890128,"longitude_deg":75.4556352,"latitude_deg":11.7890128,"altitude":17,"angle":133,"satellites":49,"speed":60,"hex_longitude":"2cf99dc0","hex_latitude":"0706dc50","is_valid_coordinates":true} 
[2026-09-04 21:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865438976001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398627395189342208,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-465278106321373184,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 21:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788536876000,"timestamp_ms":1788536876000,"timestamp_seconds":1788536876,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1aebe0"} 
[2026-09-04 21:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-09-04 21:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865438976001,"66":27365,"83":41728,"24":60,"16":398627395189342208,"44":-465278106321373184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-04 21:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865438976001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-04 21:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398627395189342208,"km_value":398627395189342.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:19:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-465278106321373184,"description":"Unknown IO ID 44"} 
[2026-09-04 21:19:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457865438976001,"power":27365,"unknown_83":41728,"ignition":60,"odometer":null,"unknown_44":-465278106321373184}} 
[2026-09-04 21:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":173740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:19:34] local.INFO: GPS data processed {"connection_id":173740,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:19:34] local.INFO: Acknowledgment sent {"connection_id":173740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:19:47] local.INFO: TCP Data received {"connection_id":171054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:19:47] local.INFO: Processing buffer {"connection_id":171054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:19:47] local.INFO: IMEI packet received {"connection_id":171054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":171054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:19:48] local.INFO: TCP Data received {"connection_id":172463,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:19:48] local.INFO: Processing buffer {"connection_id":172463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:19:48] local.INFO: IMEI packet received {"connection_id":172463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":172463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:19:52] local.INFO: TCP Data received {"connection_id":171054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:19:52] local.INFO: Processing buffer {"connection_id":171054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:19:52] local.INFO: IMEI packet received {"connection_id":171054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":171054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:19:53] local.INFO: TCP Data received {"connection_id":171054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:19:53] local.INFO: Processing buffer {"connection_id":171054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:19:53] local.INFO: Packet analysis {"connection_id":171054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:19:53] local.INFO: Extracted packet for processing {"connection_id":171054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865315072001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536688000,"timestamp_ms":1788536688000,"timestamp_seconds":1788536688,"priority":1,"record_length":96,"hex_timestamp":"000001a06d180d80"} 
[2026-09-04 21:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865315072001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865315072001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:19:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:19:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865315072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":171054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:19:53] local.INFO: GPS data processed {"connection_id":171054,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:19:53] local.INFO: Acknowledgment sent {"connection_id":171054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:19:53] local.INFO: TCP Data received {"connection_id":172463,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:19:53] local.INFO: Processing buffer {"connection_id":172463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:19:53] local.INFO: IMEI packet received {"connection_id":172463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":172463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:19:55] local.INFO: TCP Data received {"connection_id":172463,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:19:55] local.INFO: Processing buffer {"connection_id":172463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:19:55] local.INFO: Packet analysis {"connection_id":172463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:19:55] local.INFO: Extracted packet for processing {"connection_id":172463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:19:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865353984001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788536840000,"timestamp_ms":1788536840000,"timestamp_seconds":1788536840,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1a5f40"} 
[2026-09-04 21:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865353984001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865353984001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:19:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865353984001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":172463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765405,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:19:55] local.INFO: GPS data processed {"connection_id":172463,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:19:55] local.INFO: Acknowledgment sent {"connection_id":172463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:19:58] local.INFO: TCP Data received {"connection_id":172464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:19:58] local.INFO: Processing buffer {"connection_id":172464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:19:58] local.INFO: IMEI packet received {"connection_id":172464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":172464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:20:01] local.INFO: TCP Data received {"connection_id":172464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:20:01] local.INFO: Processing buffer {"connection_id":172464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:20:01] local.INFO: IMEI packet received {"connection_id":172464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":172464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:20:04] local.INFO: TCP Data received {"connection_id":172464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:20:04] local.INFO: Processing buffer {"connection_id":172464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:20:04] local.INFO: IMEI packet received {"connection_id":172464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":172464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:20:04] local.INFO: TCP Data received {"connection_id":172464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1c0520012cfb234007069748000d006130..."} 
[2026-09-04 21:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1c0520012cfb234007069748000d006130..."} 
[2026-09-04 21:20:04] local.INFO: Processing buffer {"connection_id":172464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1c0520012cfb234007069748000d006130..."} 
[2026-09-04 21:20:04] local.INFO: Packet analysis {"connection_id":172464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:20:04] local.INFO: Extracted packet for processing {"connection_id":172464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:20:04] local.INFO: GPS Element Parsed {"raw_longitude":754656064,"raw_latitude":117872456,"longitude_deg":75.4656064,"latitude_deg":11.7872456,"altitude":13,"angle":97,"satellites":48,"speed":57,"hex_longitude":"2cfb2340","hex_latitude":"07069748","is_valid_coordinates":true} 
[2026-09-04 21:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865456896001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398632265682255872,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-361765683641733120,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788536948000,"timestamp_ms":1788536948000,"timestamp_seconds":1788536948,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1c0520"} 
[2026-09-04 21:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865456896001,"66":26941,"239":206,"94":10240,"24":57,"16":398632265682255872,"44":-361765683641733120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,94,24,16,44]} 
[2026-09-04 21:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865456896001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:20:04] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-04 21:20:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398632265682255872,"km_value":398632265682255.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:20:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-361765683641733120,"description":"Unknown IO ID 44"} 
[2026-09-04 21:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865456896001,"power":26941,"unknown_239":206,"unknown_94":10240,"ignition":57,"odometer":null,"unknown_44":-361765683641733120}} 
[2026-09-04 21:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":172464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:20:04] local.INFO: GPS data processed {"connection_id":172464,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:20:04] local.INFO: Acknowledgment sent {"connection_id":172464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:20:23] local.INFO: TCP Data received {"connection_id":171054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:20:23] local.INFO: Processing buffer {"connection_id":171054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d180d80012d1965c0071fef80004701152b..."} 
[2026-09-04 21:20:23] local.INFO: Packet analysis {"connection_id":171054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:20:23] local.INFO: Extracted packet for processing {"connection_id":171054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d18"} 
[2026-09-04 21:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865315072001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788536688000,"timestamp_ms":1788536688000,"timestamp_seconds":1788536688,"priority":1,"record_length":96,"hex_timestamp":"000001a06d180d80"} 
[2026-09-04 21:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865315072001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865315072001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:20:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865315072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":171054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:20:23] local.INFO: GPS data processed {"connection_id":171054,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:20:23] local.INFO: Acknowledgment sent {"connection_id":171054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:20:26] local.INFO: TCP Data received {"connection_id":172463,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:20:26] local.INFO: Processing buffer {"connection_id":172463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:20:26] local.INFO: Packet analysis {"connection_id":172463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:20:26] local.INFO: Extracted packet for processing {"connection_id":172463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:20:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865353984001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788536840000,"timestamp_ms":1788536840000,"timestamp_seconds":1788536840,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1a5f40"} 
[2026-09-04 21:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865353984001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865353984001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:20:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:20:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865353984001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":172463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765408,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:20:26] local.INFO: GPS data processed {"connection_id":172463,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:20:26] local.INFO: Acknowledgment sent {"connection_id":172463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:20:36] local.INFO: TCP Data received {"connection_id":172464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1c2078012cfb49c0070693580010005f2f..."} 
[2026-09-04 21:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1c2078012cfb49c0070693580010005f2f..."} 
[2026-09-04 21:20:36] local.INFO: Processing buffer {"connection_id":172464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1c2078012cfb49c0070693580010005f2f..."} 
[2026-09-04 21:20:36] local.INFO: Packet analysis {"connection_id":172464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:20:36] local.INFO: Extracted packet for processing {"connection_id":172464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:20:36] local.INFO: GPS Element Parsed {"raw_longitude":754665920,"raw_latitude":117871448,"longitude_deg":75.466592,"latitude_deg":11.7871448,"altitude":16,"angle":95,"satellites":47,"speed":53,"hex_longitude":"2cfb49c0","hex_latitude":"07069358","is_valid_coordinates":true} 
[2026-09-04 21:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865458688001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398632733833691136,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-350365947085240320,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,94,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 21:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788536955000,"timestamp_ms":1788536955000,"timestamp_seconds":1788536955,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1c2078"} 
[2026-09-04 21:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-09-04 21:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865458688001,"66":27332,"24":53,"94":10240,"16":398632733833691136,"44":-350365947085240320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,94,16,44]} 
[2026-09-04 21:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865458688001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:20:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398632733833691136,"km_value":398632733833691.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:20:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-350365947085240320,"description":"Unknown IO ID 44"} 
[2026-09-04 21:20:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457865458688001,"power":27332,"ignition":53,"unknown_94":10240,"odometer":null,"unknown_44":-350365947085240320}} 
[2026-09-04 21:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":172464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:20:36] local.INFO: GPS data processed {"connection_id":172464,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:20:36] local.INFO: Acknowledgment sent {"connection_id":172464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:20:47] local.INFO: TCP Data received {"connection_id":171055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:20:47] local.INFO: Processing buffer {"connection_id":171055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:20:47] local.INFO: IMEI packet received {"connection_id":171055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":171055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:20:48] local.INFO: TCP Data received {"connection_id":171344,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:20:48] local.INFO: Processing buffer {"connection_id":171344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:20:48] local.INFO: IMEI packet received {"connection_id":171344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":171344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:20:52] local.INFO: TCP Data received {"connection_id":171055,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:20:52] local.INFO: Processing buffer {"connection_id":171055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:20:52] local.INFO: IMEI packet received {"connection_id":171055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":171055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:20:53] local.INFO: TCP Data received {"connection_id":171055,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:20:53] local.INFO: Processing buffer {"connection_id":171055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:20:53] local.INFO: Packet analysis {"connection_id":171055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:20:53] local.INFO: Extracted packet for processing {"connection_id":171055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:20:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865392128001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536989000,"timestamp_ms":1788536989000,"timestamp_seconds":1788536989,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ca548"} 
[2026-09-04 21:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865392128001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865392128001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:20:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:20:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865392128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":171055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:20:53] local.INFO: GPS data processed {"connection_id":171055,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:20:53] local.INFO: Acknowledgment sent {"connection_id":171055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:20:53] local.INFO: TCP Data received {"connection_id":171344,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:20:53] local.INFO: Processing buffer {"connection_id":171344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:20:53] local.INFO: IMEI packet received {"connection_id":171344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":171344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:20:55] local.INFO: TCP Data received {"connection_id":171344,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:20:55] local.INFO: Processing buffer {"connection_id":171344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:20:55] local.INFO: Packet analysis {"connection_id":171344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:20:55] local.INFO: Extracted packet for processing {"connection_id":171344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:20:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865353984001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788536840000,"timestamp_ms":1788536840000,"timestamp_seconds":1788536840,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1a5f40"} 
[2026-09-04 21:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865353984001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865353984001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:20:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865353984001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":171344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765411,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:20:55] local.INFO: GPS data processed {"connection_id":171344,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:20:55] local.INFO: Acknowledgment sent {"connection_id":171344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:20:58] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:20:58] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:20:58] local.INFO: IMEI packet received {"connection_id":173741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":173741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:21:01] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:21:01] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:21:01] local.INFO: IMEI packet received {"connection_id":173741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":173741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:21:04] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:21:04] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:21:04] local.INFO: IMEI packet received {"connection_id":173741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":173741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:21:04] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1c3bd0012cfb6f80070690000010005e31..."} 
[2026-09-04 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1c3bd0012cfb6f80070690000010005e31..."} 
[2026-09-04 21:21:04] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1c3bd0012cfb6f80070690000010005e31..."} 
[2026-09-04 21:21:04] local.INFO: Packet analysis {"connection_id":173741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:21:04] local.INFO: Extracted packet for processing {"connection_id":173741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:21:04] local.INFO: GPS Element Parsed {"raw_longitude":754675584,"raw_latitude":117870592,"longitude_deg":75.4675584,"latitude_deg":11.7870592,"altitude":16,"angle":94,"satellites":49,"speed":55,"hex_longitude":"2cfb6f80","hex_latitude":"07069000","is_valid_coordinates":true} 
[2026-09-04 21:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865460480001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398633197690159104,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-339529160482138112,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,94,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 21:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788536962000,"timestamp_ms":1788536962000,"timestamp_seconds":1788536962,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1c3bd0"} 
[2026-09-04 21:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 21:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865460480001,"66":27332,"24":55,"94":10240,"16":398633197690159104,"44":-339529160482138112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,94,16,44]} 
[2026-09-04 21:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865460480001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:21:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398633197690159104,"km_value":398633197690159.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:21:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-339529160482138112,"description":"Unknown IO ID 44"} 
[2026-09-04 21:21:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457865460480001,"power":27332,"ignition":55,"unknown_94":10240,"odometer":null,"unknown_44":-339529160482138112}} 
[2026-09-04 21:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":173741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:21:04] local.INFO: GPS data processed {"connection_id":173741,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:21:04] local.INFO: Acknowledgment sent {"connection_id":173741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:21:23] local.INFO: TCP Data received {"connection_id":171055,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:21:23] local.INFO: Processing buffer {"connection_id":171055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:21:23] local.INFO: Packet analysis {"connection_id":171055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:21:23] local.INFO: Extracted packet for processing {"connection_id":171055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:21:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865392128001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788536989000,"timestamp_ms":1788536989000,"timestamp_seconds":1788536989,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ca548"} 
[2026-09-04 21:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865392128001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865392128001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:21:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:21:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865392128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":171055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:21:23] local.INFO: GPS data processed {"connection_id":171055,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:21:23] local.INFO: Acknowledgment sent {"connection_id":171055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:21:26] local.INFO: TCP Data received {"connection_id":171344,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:21:26] local.INFO: Processing buffer {"connection_id":171344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:21:26] local.INFO: Packet analysis {"connection_id":171344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:21:26] local.INFO: Extracted packet for processing {"connection_id":171344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:21:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865353984001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788536840000,"timestamp_ms":1788536840000,"timestamp_seconds":1788536840,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1a5f40"} 
[2026-09-04 21:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865353984001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865353984001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:21:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:21:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865353984001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":171344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:21:26] local.INFO: GPS data processed {"connection_id":171344,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:21:26] local.INFO: Acknowledgment sent {"connection_id":171344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:21:35] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1d7450012cfd1880070600c8000e008331..."} 
[2026-09-04 21:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1d7450012cfd1880070600c8000e008331..."} 
[2026-09-04 21:21:35] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1d7450012cfd1880070600c8000e008331..."} 
[2026-09-04 21:21:35] local.INFO: Packet analysis {"connection_id":173741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1d"} 
[2026-09-04 21:21:35] local.INFO: Extracted packet for processing {"connection_id":173741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1d"} 
[2026-09-04 21:21:35] local.INFO: GPS Element Parsed {"raw_longitude":754784384,"raw_latitude":117833928,"longitude_deg":75.4784384,"latitude_deg":11.7833928,"altitude":14,"angle":131,"satellites":49,"speed":57,"hex_longitude":"2cfd1880","hex_latitude":"070600c8","is_valid_coordinates":true} 
[2026-09-04 21:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865480960001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398638836982218752,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-217720864318439424,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788537042000,"timestamp_ms":1788537042000,"timestamp_seconds":1788537042,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1d7450"} 
[2026-09-04 21:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 21:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865480960001,"66":27267,"213":206,"94":10240,"24":57,"16":398638836982218752,"44":-217720864318439424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-04 21:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865480960001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:21:35] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-04 21:21:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398638836982218752,"km_value":398638836982218.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:21:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-217720864318439424,"description":"Unknown IO ID 44"} 
[2026-09-04 21:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865480960001,"power":27267,"unknown_213":206,"unknown_94":10240,"ignition":57,"odometer":null,"unknown_44":-217720864318439424}} 
[2026-09-04 21:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":173741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:21:35] local.INFO: GPS data processed {"connection_id":173741,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:21:35] local.INFO: Acknowledgment sent {"connection_id":173741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:21:47] local.INFO: TCP Data received {"connection_id":173742,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:21:47] local.INFO: Processing buffer {"connection_id":173742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:21:47] local.INFO: IMEI packet received {"connection_id":173742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":173742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:21:48] local.INFO: TCP Data received {"connection_id":171345,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:21:48] local.INFO: Processing buffer {"connection_id":171345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:21:48] local.INFO: IMEI packet received {"connection_id":171345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":171345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:21:52] local.INFO: TCP Data received {"connection_id":173742,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:21:52] local.INFO: Processing buffer {"connection_id":173742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:21:52] local.INFO: IMEI packet received {"connection_id":173742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":173742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:21:53] local.INFO: TCP Data received {"connection_id":173742,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:21:53] local.INFO: Processing buffer {"connection_id":173742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:21:53] local.INFO: Packet analysis {"connection_id":173742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:21:53] local.INFO: Extracted packet for processing {"connection_id":173742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865392128001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:53] local.INFO: TCP Data received {"connection_id":171345,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536989000,"timestamp_ms":1788536989000,"timestamp_seconds":1788536989,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ca548"} 
[2026-09-04 21:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:21:53] local.INFO: Processing buffer {"connection_id":171345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:21:53] local.INFO: IMEI packet received {"connection_id":171345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865392128001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":171345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865392128001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:21:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865392128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":173742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:21:53] local.INFO: GPS data processed {"connection_id":173742,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:21:53] local.INFO: Acknowledgment sent {"connection_id":173742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:21:54] local.INFO: TCP Data received {"connection_id":171345,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:21:54] local.INFO: Processing buffer {"connection_id":171345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:21:54] local.INFO: Packet analysis {"connection_id":171345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:21:54] local.INFO: Extracted packet for processing {"connection_id":171345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:21:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865353984001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788536840000,"timestamp_ms":1788536840000,"timestamp_seconds":1788536840,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1a5f40"} 
[2026-09-04 21:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865353984001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865353984001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:21:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:21:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865353984001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":171345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:21:54] local.INFO: GPS data processed {"connection_id":171345,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:21:54] local.INFO: Acknowledgment sent {"connection_id":171345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:22:01] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:22:01] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:22:01] local.INFO: IMEI packet received {"connection_id":173743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":173743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:22:03] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:22:03] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:22:03] local.INFO: IMEI packet received {"connection_id":173743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":173743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:22:07] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:22:07] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:22:07] local.INFO: IMEI packet received {"connection_id":173743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":173743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:22:08] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1d8fa8012cfd36000705e748000f008330..."} 
[2026-09-04 21:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1d8fa8012cfd36000705e748000f008330..."} 
[2026-09-04 21:22:08] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1d8fa8012cfd36000705e748000f008330..."} 
[2026-09-04 21:22:08] local.INFO: Packet analysis {"connection_id":173743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1d"} 
[2026-09-04 21:22:08] local.INFO: Extracted packet for processing {"connection_id":173743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1d"} 
[2026-09-04 21:22:08] local.INFO: GPS Element Parsed {"raw_longitude":754791936,"raw_latitude":117827400,"longitude_deg":75.4791936,"latitude_deg":11.78274,"altitude":15,"angle":131,"satellites":48,"speed":54,"hex_longitude":"2cfd3600","hex_latitude":"0705e748","is_valid_coordinates":true} 
[2026-09-04 21:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865482752001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398639318018555904,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-209276615018887168,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788537049000,"timestamp_ms":1788537049000,"timestamp_seconds":1788537049,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1d8fa8"} 
[2026-09-04 21:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 21:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865482752001,"66":27397,"213":206,"94":10240,"24":54,"16":398639318018555904,"44":-209276615018887168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-04 21:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865482752001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:22:08] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-04 21:22:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398639318018555904,"km_value":398639318018555.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:22:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-209276615018887168,"description":"Unknown IO ID 44"} 
[2026-09-04 21:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865482752001,"power":27397,"unknown_213":206,"unknown_94":10240,"ignition":54,"odometer":null,"unknown_44":-209276615018887168}} 
[2026-09-04 21:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":173743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:22:08] local.INFO: GPS data processed {"connection_id":173743,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:22:08] local.INFO: Acknowledgment sent {"connection_id":173743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:22:24] local.INFO: TCP Data received {"connection_id":173742,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:22:24] local.INFO: Processing buffer {"connection_id":173742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:22:24] local.INFO: Packet analysis {"connection_id":173742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:22:24] local.INFO: Extracted packet for processing {"connection_id":173742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:22:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865392128001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788536989000,"timestamp_ms":1788536989000,"timestamp_seconds":1788536989,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ca548"} 
[2026-09-04 21:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865392128001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865392128001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:22:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:22:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865392128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":173742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:22:24] local.INFO: GPS data processed {"connection_id":173742,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:22:24] local.INFO: Acknowledgment sent {"connection_id":173742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:22:26] local.INFO: TCP Data received {"connection_id":171345,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:22:26] local.INFO: Processing buffer {"connection_id":171345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:22:26] local.INFO: Packet analysis {"connection_id":171345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:22:26] local.INFO: Extracted packet for processing {"connection_id":171345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:22:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865353984001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788536840000,"timestamp_ms":1788536840000,"timestamp_seconds":1788536840,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1a5f40"} 
[2026-09-04 21:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865353984001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865353984001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:22:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:22:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865353984001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":171345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765420,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:22:26] local.INFO: GPS data processed {"connection_id":171345,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:22:26] local.INFO: Acknowledgment sent {"connection_id":171345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:22:39] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1dab00012cfd52400705cec80010008331..."} 
[2026-09-04 21:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1dab00012cfd52400705cec80010008331..."} 
[2026-09-04 21:22:39] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1dab00012cfd52400705cec80010008331..."} 
[2026-09-04 21:22:39] local.INFO: Packet analysis {"connection_id":173743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1d"} 
[2026-09-04 21:22:39] local.INFO: Extracted packet for processing {"connection_id":173743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1d"} 
[2026-09-04 21:22:39] local.INFO: GPS Element Parsed {"raw_longitude":754799168,"raw_latitude":117821128,"longitude_deg":75.4799168,"latitude_deg":11.7821128,"altitude":16,"angle":131,"satellites":49,"speed":52,"hex_longitude":"2cfd5240","hex_latitude":"0705cec8","is_valid_coordinates":true} 
[2026-09-04 21:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865484544001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398639777580056576,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-200973103207593984,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788537056000,"timestamp_ms":1788537056000,"timestamp_seconds":1788537056,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1dab00"} 
[2026-09-04 21:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865484544001,"66":27115,"213":206,"94":10240,"24":52,"16":398639777580056576,"44":-200973103207593984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-04 21:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865484544001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:22:39] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-04 21:22:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398639777580056576,"km_value":398639777580056.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:22:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-200973103207593984,"description":"Unknown IO ID 44"} 
[2026-09-04 21:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865484544001,"power":27115,"unknown_213":206,"unknown_94":10240,"ignition":52,"odometer":null,"unknown_44":-200973103207593984}} 
[2026-09-04 21:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":173743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:22:39] local.INFO: GPS data processed {"connection_id":173743,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:22:39] local.INFO: Acknowledgment sent {"connection_id":173743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:22:52] local.INFO: TCP Data received {"connection_id":171346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:22:52] local.INFO: Processing buffer {"connection_id":171346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:22:52] local.INFO: IMEI packet received {"connection_id":171346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":171346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:22:53] local.INFO: TCP Data received {"connection_id":171056,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:22:53] local.INFO: Processing buffer {"connection_id":171056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:22:53] local.INFO: IMEI packet received {"connection_id":171056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":171056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:22:57] local.INFO: TCP Data received {"connection_id":171346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:22:57] local.INFO: Processing buffer {"connection_id":171346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:22:57] local.INFO: IMEI packet received {"connection_id":171346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":171346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:22:58] local.INFO: TCP Data received {"connection_id":171346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:22:58] local.INFO: Processing buffer {"connection_id":171346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:22:58] local.INFO: Packet analysis {"connection_id":171346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:22:58] local.INFO: Extracted packet for processing {"connection_id":171346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:22:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865392128001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788536989000,"timestamp_ms":1788536989000,"timestamp_seconds":1788536989,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ca548"} 
[2026-09-04 21:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865392128001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865392128001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:22:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865392128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":171346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:22:58] local.INFO: GPS data processed {"connection_id":171346,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:22:58] local.INFO: Acknowledgment sent {"connection_id":171346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:22:58] local.INFO: TCP Data received {"connection_id":173744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:22:58] local.INFO: Processing buffer {"connection_id":173744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:22:58] local.INFO: IMEI packet received {"connection_id":173744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":173744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:22:58] local.INFO: TCP Data received {"connection_id":171056,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:22:58] local.INFO: Processing buffer {"connection_id":171056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:22:58] local.INFO: IMEI packet received {"connection_id":171056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":171056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:23:00] local.INFO: TCP Data received {"connection_id":171056,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:23:00] local.INFO: Processing buffer {"connection_id":171056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1a5f40012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:23:00] local.INFO: Packet analysis {"connection_id":171056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:23:00] local.INFO: Extracted packet for processing {"connection_id":171056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1a"} 
[2026-09-04 21:23:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865353984001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788536840000,"timestamp_ms":1788536840000,"timestamp_seconds":1788536840,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1a5f40"} 
[2026-09-04 21:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171056,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171056,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865353984001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865353984001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:23:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:23:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865353984001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":171056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765423,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:23:00] local.INFO: GPS data processed {"connection_id":171056,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:23:00] local.INFO: Acknowledgment sent {"connection_id":171056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:23:00] local.INFO: TCP Data received {"connection_id":173744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:23:00] local.INFO: Processing buffer {"connection_id":173744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:23:00] local.INFO: IMEI packet received {"connection_id":173744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":173744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:23:01] local.INFO: TCP Data received {"connection_id":171056,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:23:01] local.INFO: Processing buffer {"connection_id":171056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:23:01] local.INFO: Packet analysis {"connection_id":171056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:23:01] local.INFO: Extracted packet for processing {"connection_id":171056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:23:01] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865431040001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788537141000,"timestamp_ms":1788537141000,"timestamp_seconds":1788537141,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ef708"} 
[2026-09-04 21:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171056,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171056,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865431040001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865431040001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:23:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:23:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865431040001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":171056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765424,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:23:01] local.INFO: GPS data processed {"connection_id":171056,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:23:01] local.INFO: Acknowledgment sent {"connection_id":171056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:23:02] local.INFO: TCP Data received {"connection_id":171346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:23:02] local.INFO: Processing buffer {"connection_id":171346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:23:02] local.INFO: Packet analysis {"connection_id":171346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:23:02] local.INFO: Extracted packet for processing {"connection_id":171346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:23:02] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865392128001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788536989000,"timestamp_ms":1788536989000,"timestamp_seconds":1788536989,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ca548"} 
[2026-09-04 21:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865392128001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865392128001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:23:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:23:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865392128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":171346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:23:02] local.INFO: GPS data processed {"connection_id":171346,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:23:02] local.INFO: Acknowledgment sent {"connection_id":171346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:23:03] local.INFO: TCP Data received {"connection_id":173744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:23:03] local.INFO: Processing buffer {"connection_id":173744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:23:03] local.INFO: IMEI packet received {"connection_id":173744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":173744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:23:04] local.INFO: TCP Data received {"connection_id":173744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ec440012cfe8dc00704c4f8000d007e32..."} 
[2026-09-04 21:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ec440012cfe8dc00704c4f8000d007e32..."} 
[2026-09-04 21:23:04] local.INFO: Processing buffer {"connection_id":173744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ec440012cfe8dc00704c4f8000d007e32..."} 
[2026-09-04 21:23:04] local.INFO: Packet analysis {"connection_id":173744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:23:04] local.INFO: Extracted packet for processing {"connection_id":173744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:23:04] local.INFO: GPS Element Parsed {"raw_longitude":754879936,"raw_latitude":117753080,"longitude_deg":75.4879936,"latitude_deg":11.775308,"altitude":13,"angle":126,"satellites":50,"speed":57,"hex_longitude":"2cfe8dc0","hex_latitude":"0704c4f8","is_valid_coordinates":true} 
[2026-09-04 21:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865502976001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398644832756563968,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-113152910491355136,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788537128000,"timestamp_ms":1788537128000,"timestamp_seconds":1788537128,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ec440"} 
[2026-09-04 21:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-04 21:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865502976001,"66":27332,"212":206,"94":10240,"24":57,"16":398644832756563968,"44":-113152910491355136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-04 21:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865502976001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:23:04] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-04 21:23:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398644832756563968,"km_value":398644832756563.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:23:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-113152910491355136,"description":"Unknown IO ID 44"} 
[2026-09-04 21:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865502976001,"power":27332,"unknown_212":206,"unknown_94":10240,"ignition":57,"odometer":null,"unknown_44":-113152910491355136}} 
[2026-09-04 21:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":173744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:23:04] local.INFO: GPS data processed {"connection_id":173744,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:23:04] local.INFO: Acknowledgment sent {"connection_id":173744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:23:32] local.INFO: TCP Data received {"connection_id":171056,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:23:32] local.INFO: Processing buffer {"connection_id":171056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:23:32] local.INFO: Packet analysis {"connection_id":171056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:23:32] local.INFO: Extracted packet for processing {"connection_id":171056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:23:32] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865431040001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788537141000,"timestamp_ms":1788537141000,"timestamp_seconds":1788537141,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ef708"} 
[2026-09-04 21:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171056,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171056,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865431040001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865431040001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:23:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865431040001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":171056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:23:32] local.INFO: GPS data processed {"connection_id":171056,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:23:32] local.INFO: Acknowledgment sent {"connection_id":171056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:23:35] local.INFO: TCP Data received {"connection_id":173744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1edf98012cfeadc00704acf8000c007e30..."} 
[2026-09-04 21:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1edf98012cfeadc00704acf8000c007e30..."} 
[2026-09-04 21:23:35] local.INFO: Processing buffer {"connection_id":173744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1edf98012cfeadc00704acf8000c007e30..."} 
[2026-09-04 21:23:35] local.INFO: Packet analysis {"connection_id":173744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:23:35] local.INFO: Extracted packet for processing {"connection_id":173744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:23:35] local.INFO: GPS Element Parsed {"raw_longitude":754888128,"raw_latitude":117746936,"longitude_deg":75.4888128,"latitude_deg":11.7746936,"altitude":12,"angle":126,"satellites":48,"speed":58,"hex_longitude":"2cfeadc0","hex_latitude":"0704acf8","is_valid_coordinates":true} 
[2026-09-04 21:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865504768001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398645326677803008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-104216079982331904,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788537135000,"timestamp_ms":1788537135000,"timestamp_seconds":1788537135,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1edf98"} 
[2026-09-04 21:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 21:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865504768001,"66":27234,"212":206,"94":10240,"24":58,"16":398645326677803008,"44":-104216079982331904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-04 21:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865504768001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:23:35] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-04 21:23:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398645326677803008,"km_value":398645326677803.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:23:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-104216079982331904,"description":"Unknown IO ID 44"} 
[2026-09-04 21:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865504768001,"power":27234,"unknown_212":206,"unknown_94":10240,"ignition":58,"odometer":null,"unknown_44":-104216079982331904}} 
[2026-09-04 21:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":173744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:23:35] local.INFO: GPS data processed {"connection_id":173744,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:23:35] local.INFO: Acknowledgment sent {"connection_id":173744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:23:47] local.INFO: TCP Data received {"connection_id":171347,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:23:47] local.INFO: Processing buffer {"connection_id":171347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:23:47] local.INFO: IMEI packet received {"connection_id":171347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":171347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:23:48] local.INFO: TCP Data received {"connection_id":172465,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:23:48] local.INFO: Processing buffer {"connection_id":172465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:23:48] local.INFO: IMEI packet received {"connection_id":172465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":172465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:23:52] local.INFO: TCP Data received {"connection_id":171347,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:23:52] local.INFO: Processing buffer {"connection_id":171347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:23:52] local.INFO: IMEI packet received {"connection_id":171347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":171347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:23:53] local.INFO: TCP Data received {"connection_id":171347,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:23:53] local.INFO: Processing buffer {"connection_id":171347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:23:53] local.INFO: Packet analysis {"connection_id":171347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:23:53] local.INFO: Extracted packet for processing {"connection_id":171347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865392128001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536989000,"timestamp_ms":1788536989000,"timestamp_seconds":1788536989,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ca548"} 
[2026-09-04 21:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865392128001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865392128001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:23:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:23:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865392128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":171347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:23:53] local.INFO: GPS data processed {"connection_id":171347,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:23:53] local.INFO: Acknowledgment sent {"connection_id":171347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:23:53] local.INFO: TCP Data received {"connection_id":172465,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:23:53] local.INFO: Processing buffer {"connection_id":172465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:23:53] local.INFO: IMEI packet received {"connection_id":172465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":172465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:23:54] local.INFO: TCP Data received {"connection_id":172465,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:23:54] local.INFO: Processing buffer {"connection_id":172465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:23:54] local.INFO: Packet analysis {"connection_id":172465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:23:54] local.INFO: Extracted packet for processing {"connection_id":172465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:23:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865431040001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788537141000,"timestamp_ms":1788537141000,"timestamp_seconds":1788537141,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ef708"} 
[2026-09-04 21:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865431040001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865431040001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:23:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:23:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865431040001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":172465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765430,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:23:55] local.INFO: GPS data processed {"connection_id":172465,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:23:55] local.INFO: Acknowledgment sent {"connection_id":172465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:23:58] local.INFO: TCP Data received {"connection_id":172466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:23:58] local.INFO: Processing buffer {"connection_id":172466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:23:58] local.INFO: IMEI packet received {"connection_id":172466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":172466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:24:03] local.INFO: TCP Data received {"connection_id":172466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:24:03] local.INFO: Processing buffer {"connection_id":172466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:24:03] local.INFO: IMEI packet received {"connection_id":172466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":172466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:24:04] local.INFO: TCP Data received {"connection_id":172466,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1efaf0012cfecdc007049430000e00812e..."} 
[2026-09-04 21:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1efaf0012cfecdc007049430000e00812e..."} 
[2026-09-04 21:24:04] local.INFO: Processing buffer {"connection_id":172466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1efaf0012cfecdc007049430000e00812e..."} 
[2026-09-04 21:24:04] local.INFO: Packet analysis {"connection_id":172466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:24:04] local.INFO: Extracted packet for processing {"connection_id":172466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:24:04] local.INFO: GPS Element Parsed {"raw_longitude":754896320,"raw_latitude":117740592,"longitude_deg":75.489632,"latitude_deg":11.7740592,"altitude":14,"angle":129,"satellites":46,"speed":57,"hex_longitude":"2cfecdc0","hex_latitude":"07049430","is_valid_coordinates":true} 
[2026-09-04 21:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865506560001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398645820599042048,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-95208880729163776,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788537142000,"timestamp_ms":1788537142000,"timestamp_seconds":1788537142,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1efaf0"} 
[2026-09-04 21:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 21:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865506560001,"66":27267,"91":206,"94":10240,"24":57,"16":398645820599042048,"44":-95208880729163776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,94,24,16,44]} 
[2026-09-04 21:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865506560001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:24:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 21:24:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398645820599042048,"km_value":398645820599042.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:24:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-95208880729163776,"description":"Unknown IO ID 44"} 
[2026-09-04 21:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865506560001,"power":27267,"unknown_91":206,"unknown_94":10240,"ignition":57,"odometer":null,"unknown_44":-95208880729163776}} 
[2026-09-04 21:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":172466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:24:04] local.INFO: GPS data processed {"connection_id":172466,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:24:04] local.INFO: Acknowledgment sent {"connection_id":172466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:24:24] local.INFO: TCP Data received {"connection_id":171347,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:24:24] local.INFO: Processing buffer {"connection_id":171347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:24:24] local.INFO: Packet analysis {"connection_id":171347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:24:24] local.INFO: Extracted packet for processing {"connection_id":171347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:24:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865392128001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788536989000,"timestamp_ms":1788536989000,"timestamp_seconds":1788536989,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ca548"} 
[2026-09-04 21:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865392128001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865392128001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:24:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:24:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865392128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":171347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:24:24] local.INFO: GPS data processed {"connection_id":171347,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:24:24] local.INFO: Acknowledgment sent {"connection_id":171347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:24:26] local.INFO: TCP Data received {"connection_id":172465,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:24:26] local.INFO: Processing buffer {"connection_id":172465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:24:26] local.INFO: Packet analysis {"connection_id":172465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:24:26] local.INFO: Extracted packet for processing {"connection_id":172465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:24:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865431040001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788537141000,"timestamp_ms":1788537141000,"timestamp_seconds":1788537141,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ef708"} 
[2026-09-04 21:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865431040001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865431040001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:24:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:24:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865431040001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":172465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:24:26] local.INFO: GPS data processed {"connection_id":172465,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:24:26] local.INFO: Acknowledgment sent {"connection_id":172465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:24:35] local.INFO: TCP Data received {"connection_id":172466,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1f1648012cfeeb4007047b90001000822d..."} 
[2026-09-04 21:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1f1648012cfeeb4007047b90001000822d..."} 
[2026-09-04 21:24:35] local.INFO: Processing buffer {"connection_id":172466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1f1648012cfeeb4007047b90001000822d..."} 
[2026-09-04 21:24:35] local.INFO: Packet analysis {"connection_id":172466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1f"} 
[2026-09-04 21:24:35] local.INFO: Extracted packet for processing {"connection_id":172466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1f"} 
[2026-09-04 21:24:35] local.INFO: GPS Element Parsed {"raw_longitude":754903872,"raw_latitude":117734288,"longitude_deg":75.4903872,"latitude_deg":11.7734288,"altitude":16,"angle":130,"satellites":45,"speed":54,"hex_longitude":"2cfeeb40","hex_latitude":"07047b90","is_valid_coordinates":true} 
[2026-09-04 21:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865508352001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398646288750477312,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-86201681476046848,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788537149000,"timestamp_ms":1788537149000,"timestamp_seconds":1788537149,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1f1648"} 
[2026-09-04 21:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 21:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865508352001,"66":27310,"91":206,"94":10240,"24":54,"16":398646288750477312,"44":-86201681476046848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,94,24,16,44]} 
[2026-09-04 21:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865508352001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:24:35] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 21:24:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398646288750477312,"km_value":398646288750477.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:24:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-86201681476046848,"description":"Unknown IO ID 44"} 
[2026-09-04 21:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865508352001,"power":27310,"unknown_91":206,"unknown_94":10240,"ignition":54,"odometer":null,"unknown_44":-86201681476046848}} 
[2026-09-04 21:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":172466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:24:35] local.INFO: GPS data processed {"connection_id":172466,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:24:35] local.INFO: Acknowledgment sent {"connection_id":172466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:24:47] local.INFO: TCP Data received {"connection_id":171348,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:24:47] local.INFO: Processing buffer {"connection_id":171348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:24:47] local.INFO: IMEI packet received {"connection_id":171348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":171348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:24:48] local.INFO: TCP Data received {"connection_id":171349,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:24:48] local.INFO: Processing buffer {"connection_id":171349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:24:48] local.INFO: IMEI packet received {"connection_id":171349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":171349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:24:52] local.INFO: TCP Data received {"connection_id":171348,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:24:52] local.INFO: Processing buffer {"connection_id":171348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:24:52] local.INFO: IMEI packet received {"connection_id":171348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":171348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:24:53] local.INFO: TCP Data received {"connection_id":171348,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:24:53] local.INFO: Processing buffer {"connection_id":171348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:24:53] local.INFO: Packet analysis {"connection_id":171348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:24:53] local.INFO: Extracted packet for processing {"connection_id":171348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:24:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865392128001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788536989000,"timestamp_ms":1788536989000,"timestamp_seconds":1788536989,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ca548"} 
[2026-09-04 21:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865392128001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865392128001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:24:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:24:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865392128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":171348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:24:53] local.INFO: GPS data processed {"connection_id":171348,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:24:53] local.INFO: Acknowledgment sent {"connection_id":171348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:24:53] local.INFO: TCP Data received {"connection_id":171349,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:24:53] local.INFO: Processing buffer {"connection_id":171349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:24:53] local.INFO: IMEI packet received {"connection_id":171349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":171349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:24:55] local.INFO: TCP Data received {"connection_id":171349,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:24:55] local.INFO: Processing buffer {"connection_id":171349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:24:55] local.INFO: Packet analysis {"connection_id":171349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:24:55] local.INFO: Extracted packet for processing {"connection_id":171349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:24:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865431040001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788537141000,"timestamp_ms":1788537141000,"timestamp_seconds":1788537141,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ef708"} 
[2026-09-04 21:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865431040001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865431040001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:24:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:24:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865431040001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":171349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:24:55] local.INFO: GPS data processed {"connection_id":171349,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:24:55] local.INFO: Acknowledgment sent {"connection_id":171349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:24:58] local.INFO: TCP Data received {"connection_id":171057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:24:58] local.INFO: Processing buffer {"connection_id":171057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:24:58] local.INFO: IMEI packet received {"connection_id":171057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":171057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:25:03] local.INFO: TCP Data received {"connection_id":171057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:25:03] local.INFO: Processing buffer {"connection_id":171057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:25:03] local.INFO: IMEI packet received {"connection_id":171057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":171057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:25:04] local.INFO: TCP Data received {"connection_id":171057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1f31a0012cff07c0070464880010007d2e..."} 
[2026-09-04 21:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1f31a0012cff07c0070464880010007d2e..."} 
[2026-09-04 21:25:04] local.INFO: Processing buffer {"connection_id":171057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1f31a0012cff07c0070464880010007d2e..."} 
[2026-09-04 21:25:04] local.INFO: Packet analysis {"connection_id":171057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1f"} 
[2026-09-04 21:25:04] local.INFO: Extracted packet for processing {"connection_id":171057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1f"} 
[2026-09-04 21:25:04] local.INFO: GPS Element Parsed {"raw_longitude":754911168,"raw_latitude":117728392,"longitude_deg":75.4911168,"latitude_deg":11.7728392,"altitude":16,"angle":125,"satellites":46,"speed":52,"hex_longitude":"2cff07c0","hex_latitude":"07046488","is_valid_coordinates":true} 
[2026-09-04 21:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865510144001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398646739722043392,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-77898169664696320,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788537156000,"timestamp_ms":1788537156000,"timestamp_seconds":1788537156,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1f31a0"} 
[2026-09-04 21:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 21:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865510144001,"66":27484,"91":206,"94":10240,"24":52,"16":398646739722043392,"44":-77898169664696320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,94,24,16,44]} 
[2026-09-04 21:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865510144001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:25:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 21:25:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398646739722043392,"km_value":398646739722043.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:25:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-77898169664696320,"description":"Unknown IO ID 44"} 
[2026-09-04 21:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865510144001,"power":27484,"unknown_91":206,"unknown_94":10240,"ignition":52,"odometer":null,"unknown_44":-77898169664696320}} 
[2026-09-04 21:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":171057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:25:04] local.INFO: GPS data processed {"connection_id":171057,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:25:04] local.INFO: Acknowledgment sent {"connection_id":171057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:25:23] local.INFO: TCP Data received {"connection_id":171348,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:25:23] local.INFO: Processing buffer {"connection_id":171348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ca548012d1965c0071fef800047011523..."} 
[2026-09-04 21:25:23] local.INFO: Packet analysis {"connection_id":171348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:25:23] local.INFO: Extracted packet for processing {"connection_id":171348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1c"} 
[2026-09-04 21:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865392128001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788536989000,"timestamp_ms":1788536989000,"timestamp_seconds":1788536989,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ca548"} 
[2026-09-04 21:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865392128001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865392128001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:25:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865392128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":171348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:25:23] local.INFO: GPS data processed {"connection_id":171348,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:25:23] local.INFO: Acknowledgment sent {"connection_id":171348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:25:27] local.INFO: TCP Data received {"connection_id":171349,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:25:27] local.INFO: Processing buffer {"connection_id":171349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:25:27] local.INFO: Packet analysis {"connection_id":171349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:25:27] local.INFO: Extracted packet for processing {"connection_id":171349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:25:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865431040001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788537141000,"timestamp_ms":1788537141000,"timestamp_seconds":1788537141,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ef708"} 
[2026-09-04 21:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865431040001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865431040001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:25:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865431040001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":171349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:25:27] local.INFO: GPS data processed {"connection_id":171349,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:25:27] local.INFO: Acknowledgment sent {"connection_id":171349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:25:35] local.INFO: TCP Data received {"connection_id":171057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1f50e0012cff280007045270001100712f..."} 
[2026-09-04 21:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1f50e0012cff280007045270001100712f..."} 
[2026-09-04 21:25:35] local.INFO: Processing buffer {"connection_id":171057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1f50e0012cff280007045270001100712f..."} 
[2026-09-04 21:25:35] local.INFO: Packet analysis {"connection_id":171057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1f"} 
[2026-09-04 21:25:35] local.INFO: Extracted packet for processing {"connection_id":171057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1f"} 
[2026-09-04 21:25:35] local.INFO: GPS Element Parsed {"raw_longitude":754919424,"raw_latitude":117723760,"longitude_deg":75.4919424,"latitude_deg":11.772376,"altitude":17,"angle":113,"satellites":47,"speed":36,"hex_longitude":"2cff2800","hex_latitude":"07045270","is_valid_coordinates":true} 
[2026-09-04 21:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865511936001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398647190693609472,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-69876132829952000,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788537164000,"timestamp_ms":1788537164000,"timestamp_seconds":1788537164,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1f50e0"} 
[2026-09-04 21:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 21:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865511936001,"66":27321,"91":206,"94":10240,"24":36,"16":398647190693609472,"44":-69876132829952000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,94,24,16,44]} 
[2026-09-04 21:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865511936001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:25:35] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 21:25:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398647190693609472,"km_value":398647190693609.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:25:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-69876132829952000,"description":"Unknown IO ID 44"} 
[2026-09-04 21:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865511936001,"power":27321,"unknown_91":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_44":-69876132829952000}} 
[2026-09-04 21:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":171057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:25:36] local.INFO: GPS data processed {"connection_id":171057,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:25:36] local.INFO: Acknowledgment sent {"connection_id":171057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:25:47] local.INFO: TCP Data received {"connection_id":172467,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:25:47] local.INFO: Processing buffer {"connection_id":172467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:25:47] local.INFO: IMEI packet received {"connection_id":172467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":172467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:25:52] local.INFO: TCP Data received {"connection_id":172467,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:25:52] local.INFO: Processing buffer {"connection_id":172467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:25:52] local.INFO: IMEI packet received {"connection_id":172467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":172467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:25:53] local.INFO: TCP Data received {"connection_id":172467,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:25:53] local.INFO: Processing buffer {"connection_id":172467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:25:53] local.INFO: Packet analysis {"connection_id":172467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:25:53] local.INFO: Extracted packet for processing {"connection_id":172467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865469184001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788537290000,"timestamp_ms":1788537290000,"timestamp_seconds":1788537290,"priority":1,"record_length":96,"hex_timestamp":"000001a06d213d10"} 
[2026-09-04 21:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865469184001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865469184001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:25:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:25:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865469184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":172467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:25:53] local.INFO: GPS data processed {"connection_id":172467,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:25:53] local.INFO: Acknowledgment sent {"connection_id":172467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:25:53] local.INFO: TCP Data received {"connection_id":172468,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:25:53] local.INFO: Processing buffer {"connection_id":172468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:25:53] local.INFO: IMEI packet received {"connection_id":172468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":172468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:25:58] local.INFO: TCP Data received {"connection_id":172468,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:25:58] local.INFO: Processing buffer {"connection_id":172468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:25:58] local.INFO: IMEI packet received {"connection_id":172468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":172468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:25:59] local.INFO: TCP Data received {"connection_id":172468,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:25:59] local.INFO: Processing buffer {"connection_id":172468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:25:59] local.INFO: Packet analysis {"connection_id":172468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:25:59] local.INFO: Extracted packet for processing {"connection_id":172468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865431040001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788537141000,"timestamp_ms":1788537141000,"timestamp_seconds":1788537141,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ef708"} 
[2026-09-04 21:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865431040001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865431040001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:26:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865431040001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":172468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765442,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:26:00] local.INFO: GPS data processed {"connection_id":172468,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:26:00] local.INFO: Acknowledgment sent {"connection_id":172468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:26:03] local.INFO: TCP Data received {"connection_id":173745,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:26:03] local.INFO: Processing buffer {"connection_id":173745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:26:03] local.INFO: IMEI packet received {"connection_id":173745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":173745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:26:04] local.INFO: TCP Data received {"connection_id":172468,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:26:04] local.INFO: Processing buffer {"connection_id":172468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:26:04] local.INFO: Packet analysis {"connection_id":172468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:26:04] local.INFO: Extracted packet for processing {"connection_id":172468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:26:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865431040001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788537141000,"timestamp_ms":1788537141000,"timestamp_seconds":1788537141,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ef708"} 
[2026-09-04 21:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865431040001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865431040001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:26:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:26:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865431040001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":172468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765443,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:26:04] local.INFO: GPS data processed {"connection_id":172468,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:26:04] local.INFO: Acknowledgment sent {"connection_id":172468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:26:06] local.INFO: TCP Data received {"connection_id":173745,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:26:06] local.INFO: Processing buffer {"connection_id":173745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:26:06] local.INFO: IMEI packet received {"connection_id":173745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":173745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:26:07] local.INFO: TCP Data received {"connection_id":173745,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1f50e0012cff280007045270001100712f..."} 
[2026-09-04 21:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1f50e0012cff280007045270001100712f..."} 
[2026-09-04 21:26:07] local.INFO: Processing buffer {"connection_id":173745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1f50e0012cff280007045270001100712f..."} 
[2026-09-04 21:26:07] local.INFO: Packet analysis {"connection_id":173745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1f"} 
[2026-09-04 21:26:07] local.INFO: Extracted packet for processing {"connection_id":173745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1f"} 
[2026-09-04 21:26:07] local.INFO: GPS Element Parsed {"raw_longitude":754919424,"raw_latitude":117723760,"longitude_deg":75.4919424,"latitude_deg":11.772376,"altitude":17,"angle":113,"satellites":47,"speed":36,"hex_longitude":"2cff2800","hex_latitude":"07045270","is_valid_coordinates":true} 
[2026-09-04 21:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865513984001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398647190693609472,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-60798564832219136,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788537164000,"timestamp_ms":1788537164000,"timestamp_seconds":1788537164,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1f50e0"} 
[2026-09-04 21:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 21:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865513984001,"66":27321,"91":206,"94":10240,"24":36,"16":398647190693609472,"44":-60798564832219136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,94,24,16,44]} 
[2026-09-04 21:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865513984001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:26:07] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 21:26:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398647190693609472,"km_value":398647190693609.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:26:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-60798564832219136,"description":"Unknown IO ID 44"} 
[2026-09-04 21:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865513984001,"power":27321,"unknown_91":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_44":-60798564832219136}} 
[2026-09-04 21:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":173745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:26:07] local.INFO: GPS data processed {"connection_id":173745,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:26:07] local.INFO: Acknowledgment sent {"connection_id":173745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:26:24] local.INFO: TCP Data received {"connection_id":172467,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:26:24] local.INFO: Processing buffer {"connection_id":172467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:26:24] local.INFO: Packet analysis {"connection_id":172467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:26:24] local.INFO: Extracted packet for processing {"connection_id":172467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:26:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865469184001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788537290000,"timestamp_ms":1788537290000,"timestamp_seconds":1788537290,"priority":1,"record_length":96,"hex_timestamp":"000001a06d213d10"} 
[2026-09-04 21:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865469184001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865469184001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:26:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:26:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865469184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":172467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:26:24] local.INFO: GPS data processed {"connection_id":172467,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:26:24] local.INFO: Acknowledgment sent {"connection_id":172467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:26:37] local.INFO: TCP Data received {"connection_id":173745,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1fa2e8012cff4140070448600010006e30..."} 
[2026-09-04 21:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1fa2e8012cff4140070448600010006e30..."} 
[2026-09-04 21:26:37] local.INFO: Processing buffer {"connection_id":173745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1fa2e8012cff4140070448600010006e30..."} 
[2026-09-04 21:26:37] local.INFO: Packet analysis {"connection_id":173745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1f"} 
[2026-09-04 21:26:37] local.INFO: Extracted packet for processing {"connection_id":173745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1f"} 
[2026-09-04 21:26:37] local.INFO: GPS Element Parsed {"raw_longitude":754925888,"raw_latitude":117721184,"longitude_deg":75.4925888,"latitude_deg":11.7721184,"altitude":16,"angle":110,"satellites":48,"speed":2,"hex_longitude":"2cff4140","hex_latitude":"07044860","is_valid_coordinates":true} 
[2026-09-04 21:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865513984001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398647525701058560,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-60798564832219136,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788537185000,"timestamp_ms":1788537185000,"timestamp_seconds":1788537185,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1fa2e8"} 
[2026-09-04 21:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 21:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865513984001,"66":27234,"212":206,"94":10240,"24":2,"16":398647525701058560,"44":-60798564832219136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-04 21:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865513984001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:26:37] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-04 21:26:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398647525701058560,"km_value":398647525701058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-60798564832219136,"description":"Unknown IO ID 44"} 
[2026-09-04 21:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865513984001,"power":27234,"unknown_212":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_44":-60798564832219136}} 
[2026-09-04 21:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":173745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:26:37] local.INFO: GPS data processed {"connection_id":173745,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:26:37] local.INFO: Acknowledgment sent {"connection_id":173745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:26:47] local.INFO: TCP Data received {"connection_id":171351,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:26:47] local.INFO: Processing buffer {"connection_id":171351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:26:47] local.INFO: IMEI packet received {"connection_id":171351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":171351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:26:48] local.INFO: TCP Data received {"connection_id":171350,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:26:48] local.INFO: Processing buffer {"connection_id":171350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:26:48] local.INFO: IMEI packet received {"connection_id":171350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":171350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:26:52] local.INFO: TCP Data received {"connection_id":171351,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:26:52] local.INFO: Processing buffer {"connection_id":171351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:26:52] local.INFO: IMEI packet received {"connection_id":171351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":171351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:26:53] local.INFO: TCP Data received {"connection_id":171351,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:26:53] local.INFO: Processing buffer {"connection_id":171351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:26:53] local.INFO: Packet analysis {"connection_id":171351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:26:53] local.INFO: Extracted packet for processing {"connection_id":171351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:26:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865469184001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788537290000,"timestamp_ms":1788537290000,"timestamp_seconds":1788537290,"priority":1,"record_length":96,"hex_timestamp":"000001a06d213d10"} 
[2026-09-04 21:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865469184001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865469184001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:26:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:26:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865469184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":171351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:26:53] local.INFO: GPS data processed {"connection_id":171351,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:26:53] local.INFO: Acknowledgment sent {"connection_id":171351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:26:56] local.INFO: TCP Data received {"connection_id":171350,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:26:56] local.INFO: Processing buffer {"connection_id":171350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:26:56] local.INFO: IMEI packet received {"connection_id":171350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":171350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:26:57] local.INFO: TCP Data received {"connection_id":171350,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:26:57] local.INFO: Processing buffer {"connection_id":171350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:26:57] local.INFO: Packet analysis {"connection_id":171350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:26:57] local.INFO: Extracted packet for processing {"connection_id":171350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:26:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865431040001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788537141000,"timestamp_ms":1788537141000,"timestamp_seconds":1788537141,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ef708"} 
[2026-09-04 21:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865431040001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865431040001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:26:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:26:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865431040001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":171350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:26:57] local.INFO: GPS data processed {"connection_id":171350,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:26:57] local.INFO: Acknowledgment sent {"connection_id":171350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:26:58] local.INFO: TCP Data received {"connection_id":171352,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:26:58] local.INFO: Processing buffer {"connection_id":171352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:26:58] local.INFO: IMEI packet received {"connection_id":171352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":171352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:27:03] local.INFO: TCP Data received {"connection_id":171352,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:27:03] local.INFO: Processing buffer {"connection_id":171352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:27:03] local.INFO: IMEI packet received {"connection_id":171352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":171352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:27:04] local.INFO: TCP Data received {"connection_id":171352,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ff4f0012cff4900070445800010007130..."} 
[2026-09-04 21:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ff4f0012cff4900070445800010007130..."} 
[2026-09-04 21:27:04] local.INFO: Processing buffer {"connection_id":171352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ff4f0012cff4900070445800010007130..."} 
[2026-09-04 21:27:04] local.INFO: Packet analysis {"connection_id":171352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1f"} 
[2026-09-04 21:27:04] local.INFO: Extracted packet for processing {"connection_id":171352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1f"} 
[2026-09-04 21:27:04] local.INFO: GPS Element Parsed {"raw_longitude":754927872,"raw_latitude":117720448,"longitude_deg":75.4927872,"latitude_deg":11.7720448,"altitude":16,"angle":113,"satellites":48,"speed":0,"hex_longitude":"2cff4900","hex_latitude":"07044580","is_valid_coordinates":true} 
[2026-09-04 21:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865519360001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398647628780273664,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-53691321670934528,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788537206000,"timestamp_ms":1788537206000,"timestamp_seconds":1788537206,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ff4f0"} 
[2026-09-04 21:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 21:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865519360001,"66":27223,"91":206,"94":10240,"24":0,"16":398647628780273664,"44":-53691321670934528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,94,24,16,44]} 
[2026-09-04 21:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865519360001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:27:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 21:27:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398647628780273664,"km_value":398647628780273.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:27:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-53691321670934528,"description":"Unknown IO ID 44"} 
[2026-09-04 21:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865519360001,"power":27223,"unknown_91":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-53691321670934528}} 
[2026-09-04 21:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":171352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:27:04] local.INFO: GPS data processed {"connection_id":171352,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:27:04] local.INFO: Acknowledgment sent {"connection_id":171352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:27:23] local.INFO: TCP Data received {"connection_id":171351,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:27:23] local.INFO: Processing buffer {"connection_id":171351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:27:23] local.INFO: Packet analysis {"connection_id":171351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:27:23] local.INFO: Extracted packet for processing {"connection_id":171351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865469184001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788537290000,"timestamp_ms":1788537290000,"timestamp_seconds":1788537290,"priority":1,"record_length":96,"hex_timestamp":"000001a06d213d10"} 
[2026-09-04 21:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865469184001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865469184001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:27:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865469184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":171351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:27:24] local.INFO: GPS data processed {"connection_id":171351,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:27:24] local.INFO: Acknowledgment sent {"connection_id":171351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:27:29] local.INFO: TCP Data received {"connection_id":171350,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:27:29] local.INFO: Processing buffer {"connection_id":171350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:27:29] local.INFO: Packet analysis {"connection_id":171350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:27:29] local.INFO: Extracted packet for processing {"connection_id":171350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:27:29] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865431040001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788537141000,"timestamp_ms":1788537141000,"timestamp_seconds":1788537141,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ef708"} 
[2026-09-04 21:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865431040001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865431040001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:27:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:27:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865431040001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":171350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765451,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:27:29] local.INFO: GPS data processed {"connection_id":171350,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:27:29] local.INFO: Acknowledgment sent {"connection_id":171350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:27:35] local.INFO: TCP Data received {"connection_id":171352,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d22eac0012cffb58007041d480012006e2f..."} 
[2026-09-04 21:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d22eac0012cffb58007041d480012006e2f..."} 
[2026-09-04 21:27:35] local.INFO: Processing buffer {"connection_id":171352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d22eac0012cffb58007041d480012006e2f..."} 
[2026-09-04 21:27:35] local.INFO: Packet analysis {"connection_id":171352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d22"} 
[2026-09-04 21:27:35] local.INFO: Extracted packet for processing {"connection_id":171352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d22"} 
[2026-09-04 21:27:35] local.INFO: GPS Element Parsed {"raw_longitude":754955648,"raw_latitude":117710152,"longitude_deg":75.4955648,"latitude_deg":11.7710152,"altitude":18,"angle":110,"satellites":47,"speed":46,"hex_longitude":"2cffb580","hex_latitude":"07041d48","is_valid_coordinates":true} 
[2026-09-04 21:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865572096001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398649054709415936,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-30821479815139328,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788537400000,"timestamp_ms":1788537400000,"timestamp_seconds":1788537400,"priority":1,"record_length":96,"hex_timestamp":"000001a06d22eac0"} 
[2026-09-04 21:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 21:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865572096001,"66":27365,"89":206,"94":10240,"24":46,"16":398649054709415936,"44":-30821479815139328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,44]} 
[2026-09-04 21:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865572096001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:27:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 21:27:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398649054709415936,"km_value":398649054709415.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:27:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-30821479815139328,"description":"Unknown IO ID 44"} 
[2026-09-04 21:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865572096001,"power":27365,"unknown_89":206,"unknown_94":10240,"ignition":46,"odometer":null,"unknown_44":-30821479815139328}} 
[2026-09-04 21:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":171352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:27:35] local.INFO: GPS data processed {"connection_id":171352,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:27:35] local.INFO: Acknowledgment sent {"connection_id":171352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:27:47] local.INFO: TCP Data received {"connection_id":171058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:27:47] local.INFO: Processing buffer {"connection_id":171058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:27:47] local.INFO: IMEI packet received {"connection_id":171058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":171058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:27:49] local.INFO: TCP Data received {"connection_id":171059,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:27:49] local.INFO: Processing buffer {"connection_id":171059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:27:49] local.INFO: IMEI packet received {"connection_id":171059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":171059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:27:52] local.INFO: TCP Data received {"connection_id":171058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:27:52] local.INFO: Processing buffer {"connection_id":171058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:27:52] local.INFO: IMEI packet received {"connection_id":171058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":171058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:27:53] local.INFO: TCP Data received {"connection_id":171058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:27:53] local.INFO: Processing buffer {"connection_id":171058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:27:53] local.INFO: Packet analysis {"connection_id":171058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:27:53] local.INFO: Extracted packet for processing {"connection_id":171058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:27:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865469184001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788537290000,"timestamp_ms":1788537290000,"timestamp_seconds":1788537290,"priority":1,"record_length":96,"hex_timestamp":"000001a06d213d10"} 
[2026-09-04 21:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865469184001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865469184001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:27:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:27:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865469184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":171058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:27:53] local.INFO: GPS data processed {"connection_id":171058,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:27:53] local.INFO: Acknowledgment sent {"connection_id":171058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:27:53] local.INFO: TCP Data received {"connection_id":171059,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:27:53] local.INFO: Processing buffer {"connection_id":171059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:27:53] local.INFO: IMEI packet received {"connection_id":171059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":171059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:27:54] local.INFO: TCP Data received {"connection_id":171059,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:27:54] local.INFO: Processing buffer {"connection_id":171059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d1ef708012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:27:54] local.INFO: Packet analysis {"connection_id":171059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:27:54] local.INFO: Extracted packet for processing {"connection_id":171059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d1e"} 
[2026-09-04 21:27:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865431040001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788537141000,"timestamp_ms":1788537141000,"timestamp_seconds":1788537141,"priority":1,"record_length":96,"hex_timestamp":"000001a06d1ef708"} 
[2026-09-04 21:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865431040001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865431040001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:27:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:27:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865431040001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":171059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765454,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:27:54] local.INFO: GPS data processed {"connection_id":171059,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:27:54] local.INFO: Acknowledgment sent {"connection_id":171059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:28:00] local.INFO: TCP Data received {"connection_id":171060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:28:00] local.INFO: Processing buffer {"connection_id":171060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:28:00] local.INFO: IMEI packet received {"connection_id":171060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":171060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:28:24] local.INFO: TCP Data received {"connection_id":171058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:28:24] local.INFO: Processing buffer {"connection_id":171058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:28:24] local.INFO: Packet analysis {"connection_id":171058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:28:24] local.INFO: Extracted packet for processing {"connection_id":171058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:28:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865469184001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788537290000,"timestamp_ms":1788537290000,"timestamp_seconds":1788537290,"priority":1,"record_length":96,"hex_timestamp":"000001a06d213d10"} 
[2026-09-04 21:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865469184001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865469184001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:28:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:28:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865469184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":171058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:28:24] local.INFO: GPS data processed {"connection_id":171058,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:28:24] local.INFO: Acknowledgment sent {"connection_id":171058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:28:26] local.INFO: TCP Data received {"connection_id":171059,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:28:26] local.INFO: Processing buffer {"connection_id":171059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:28:26] local.INFO: Packet analysis {"connection_id":171059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:28:26] local.INFO: Extracted packet for processing {"connection_id":171059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:28:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865508096001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788537442000,"timestamp_ms":1788537442000,"timestamp_seconds":1788537442,"priority":1,"record_length":96,"hex_timestamp":"000001a06d238ed0"} 
[2026-09-04 21:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865508096001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865508096001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:28:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:28:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865508096001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":171059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765456,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:28:26] local.INFO: GPS data processed {"connection_id":171059,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:28:26] local.INFO: Acknowledgment sent {"connection_id":171059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:28:32] local.INFO: TCP Data received {"connection_id":171060,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171060,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:28:32] local.INFO: Processing buffer {"connection_id":171060,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:28:32] local.INFO: IMEI packet received {"connection_id":171060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":171060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:28:33] local.INFO: TCP Data received {"connection_id":171060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:28:33] local.INFO: Processing buffer {"connection_id":171060,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:28:33] local.INFO: IMEI packet received {"connection_id":171060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":171060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:28:35] local.INFO: TCP Data received {"connection_id":171060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d230a00012cffd8c0070410a00011006f30..."} 
[2026-09-04 21:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d230a00012cffd8c0070410a00011006f30..."} 
[2026-09-04 21:28:35] local.INFO: Processing buffer {"connection_id":171060,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06d..."} 
[2026-09-04 21:28:35] local.INFO: IMEI packet received {"connection_id":171060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":171060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:28:36] local.INFO: TCP Data received {"connection_id":171060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d232940012cfffd8007040258000f006f2f..."} 
[2026-09-04 21:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d232940012cfffd8007040258000f006f2f..."} 
[2026-09-04 21:28:36] local.INFO: Processing buffer {"connection_id":171060,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06d230a00012cffd8c0070410a00011006f30..."} 
[2026-09-04 21:28:36] local.INFO: Packet analysis {"connection_id":171060,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:28:36] local.INFO: Extracted packet for processing {"connection_id":171060,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:28:36] local.INFO: GPS Element Parsed {"raw_longitude":754964672,"raw_latitude":117706912,"longitude_deg":75.4964672,"latitude_deg":11.7706912,"altitude":17,"angle":111,"satellites":48,"speed":48,"hex_longitude":"2cffd8c0","hex_latitude":"070410a0","is_valid_coordinates":true} 
[2026-09-04 21:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865574400001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398649509975949312,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-20969855631144960,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788537408000,"timestamp_ms":1788537408000,"timestamp_seconds":1788537408,"priority":1,"record_length":96,"hex_timestamp":"000001a06d230a00"} 
[2026-09-04 21:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 21:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865574400001,"66":27213,"89":206,"94":10240,"24":48,"16":398649509975949312,"44":-20969855631144960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,44]} 
[2026-09-04 21:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865574400001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:28:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 21:28:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398649509975949312,"km_value":398649509975949.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:28:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-20969855631144960,"description":"Unknown IO ID 44"} 
[2026-09-04 21:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865574400001,"power":27213,"unknown_89":206,"unknown_94":10240,"ignition":48,"odometer":null,"unknown_44":-20969855631144960}} 
[2026-09-04 21:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":171060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:28:36] local.INFO: GPS data processed {"connection_id":171060,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:28:36] local.INFO: Acknowledgment sent {"connection_id":171060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:28:36] local.INFO: Packet analysis {"connection_id":171060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:28:36] local.INFO: Extracted packet for processing {"connection_id":171060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:28:36] local.INFO: GPS Element Parsed {"raw_longitude":754974080,"raw_latitude":117703256,"longitude_deg":75.497408,"latitude_deg":11.7703256,"altitude":15,"angle":111,"satellites":47,"speed":49,"hex_longitude":"2cfffd80","hex_latitude":"07040258","is_valid_coordinates":true} 
[2026-09-04 21:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865576448001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398649986717319168,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-11047862702923776,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788537416000,"timestamp_ms":1788537416000,"timestamp_seconds":1788537416,"priority":1,"record_length":96,"hex_timestamp":"000001a06d232940"} 
[2026-09-04 21:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 21:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865576448001,"66":27365,"89":206,"94":10240,"24":49,"16":398649986717319168,"44":-11047862702923776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,44]} 
[2026-09-04 21:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865576448001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:28:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 21:28:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398649986717319168,"km_value":398649986717319.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:28:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-11047862702923776,"description":"Unknown IO ID 44"} 
[2026-09-04 21:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865576448001,"power":27365,"unknown_89":206,"unknown_94":10240,"ignition":49,"odometer":null,"unknown_44":-11047862702923776}} 
[2026-09-04 21:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":171060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:28:36] local.INFO: GPS data processed {"connection_id":171060,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:28:36] local.INFO: Acknowledgment sent {"connection_id":171060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:28:37] local.INFO: TCP Data received {"connection_id":171060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d234880012d0023000703f420000f006e30..."} 
[2026-09-04 21:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d234880012d0023000703f420000f006e30..."} 
[2026-09-04 21:28:37] local.INFO: Processing buffer {"connection_id":171060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d234880012d0023000703f420000f006e30..."} 
[2026-09-04 21:28:37] local.INFO: Packet analysis {"connection_id":171060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:28:37] local.INFO: Extracted packet for processing {"connection_id":171060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":754983680,"raw_latitude":117699616,"longitude_deg":75.498368,"latitude_deg":11.7699616,"altitude":15,"angle":110,"satellites":48,"speed":49,"hex_longitude":"2d002300","hex_latitude":"0703f420","is_valid_coordinates":true} 
[2026-09-04 21:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865578496001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398650476343590912,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-703657309743104,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788537424000,"timestamp_ms":1788537424000,"timestamp_seconds":1788537424,"priority":1,"record_length":96,"hex_timestamp":"000001a06d234880"} 
[2026-09-04 21:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 21:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865578496001,"66":27321,"89":206,"94":10240,"24":49,"16":398650476343590912,"44":-703657309743104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,44]} 
[2026-09-04 21:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865578496001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:28:37] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 21:28:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398650476343590912,"km_value":398650476343590.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:28:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-703657309743104,"description":"Unknown IO ID 44"} 
[2026-09-04 21:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865578496001,"power":27321,"unknown_89":206,"unknown_94":10240,"ignition":49,"odometer":null,"unknown_44":-703657309743104}} 
[2026-09-04 21:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":171060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:28:37] local.INFO: GPS data processed {"connection_id":171060,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:28:37] local.INFO: Acknowledgment sent {"connection_id":171060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:28:47] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:28:47] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:28:47] local.INFO: IMEI packet received {"connection_id":173746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":173746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:28:48] local.INFO: TCP Data received {"connection_id":172469,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:28:48] local.INFO: Processing buffer {"connection_id":172469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:28:48] local.INFO: IMEI packet received {"connection_id":172469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":172469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:28:52] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:28:52] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:28:52] local.INFO: IMEI packet received {"connection_id":173746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":173746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:28:53] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:28:53] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:28:53] local.INFO: Packet analysis {"connection_id":173746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:28:53] local.INFO: Extracted packet for processing {"connection_id":173746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:28:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865469184001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788537290000,"timestamp_ms":1788537290000,"timestamp_seconds":1788537290,"priority":1,"record_length":96,"hex_timestamp":"000001a06d213d10"} 
[2026-09-04 21:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865469184001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865469184001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:28:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:28:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865469184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":173746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:28:53] local.INFO: GPS data processed {"connection_id":173746,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:28:53] local.INFO: Acknowledgment sent {"connection_id":173746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:28:53] local.INFO: TCP Data received {"connection_id":172469,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:28:53] local.INFO: Processing buffer {"connection_id":172469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:28:53] local.INFO: IMEI packet received {"connection_id":172469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":172469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:28:55] local.INFO: TCP Data received {"connection_id":172469,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:28:55] local.INFO: Processing buffer {"connection_id":172469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:28:55] local.INFO: Packet analysis {"connection_id":172469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:28:55] local.INFO: Extracted packet for processing {"connection_id":172469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:28:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865508096001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788537442000,"timestamp_ms":1788537442000,"timestamp_seconds":1788537442,"priority":1,"record_length":96,"hex_timestamp":"000001a06d238ed0"} 
[2026-09-04 21:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865508096001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865508096001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:28:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:28:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865508096001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":172469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765461,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:28:55] local.INFO: GPS data processed {"connection_id":172469,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:28:55] local.INFO: Acknowledgment sent {"connection_id":172469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:28:59] local.INFO: TCP Data received {"connection_id":171353,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:28:59] local.INFO: Processing buffer {"connection_id":171353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:28:59] local.INFO: IMEI packet received {"connection_id":171353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":171353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:29:06] local.INFO: TCP Data received {"connection_id":171353,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171353,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:29:06] local.INFO: Processing buffer {"connection_id":171353,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 21:29:06] local.INFO: IMEI packet received {"connection_id":171353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":171353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:29:13] local.INFO: TCP Data received {"connection_id":171353,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2367c0012d0047000703e6c00010006e31..."} 
[2026-09-04 21:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2367c0012d0047000703e6c00010006e31..."} 
[2026-09-04 21:29:13] local.INFO: Processing buffer {"connection_id":171353,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06d..."} 
[2026-09-04 21:29:13] local.INFO: IMEI packet received {"connection_id":171353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":171353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:29:16] local.INFO: TCP Data received {"connection_id":171353,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d238ae8012d006a800703d9a00013006e31..."} 
[2026-09-04 21:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d238ae8012d006a800703d9a00013006e31..."} 
[2026-09-04 21:29:16] local.INFO: Processing buffer {"connection_id":171353,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06d2367c0012d0047000703e6c00010006e31..."} 
[2026-09-04 21:29:16] local.INFO: Packet analysis {"connection_id":171353,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:29:16] local.INFO: Extracted packet for processing {"connection_id":171353,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:29:16] local.INFO: GPS Element Parsed {"raw_longitude":754992896,"raw_latitude":117696192,"longitude_deg":75.4992896,"latitude_deg":11.7696192,"altitude":16,"angle":110,"satellites":49,"speed":45,"hex_longitude":"2d004700","hex_latitude":"0703e6c0","is_valid_coordinates":true} 
[2026-09-04 21:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865580544001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398650944495026176,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9851654315974656,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788537432000,"timestamp_ms":1788537432000,"timestamp_seconds":1788537432,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2367c0"} 
[2026-09-04 21:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 21:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865580544001,"66":27321,"89":206,"94":10240,"24":45,"16":398650944495026176,"45":9851654315974656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-09-04 21:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865580544001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:29:16] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 21:29:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398650944495026176,"km_value":398650944495026.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9851654315974656,"description":"Unknown IO ID 45"} 
[2026-09-04 21:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865580544001,"power":27321,"unknown_89":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_45":9851654315974656}} 
[2026-09-04 21:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":171353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:29:16] local.INFO: GPS data processed {"connection_id":171353,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:29:16] local.INFO: Acknowledgment sent {"connection_id":171353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:29:16] local.INFO: Packet analysis {"connection_id":171353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:29:16] local.INFO: Extracted packet for processing {"connection_id":171353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:29:16] local.INFO: GPS Element Parsed {"raw_longitude":755001984,"raw_latitude":117692832,"longitude_deg":75.5001984,"latitude_deg":11.7692832,"altitude":19,"angle":110,"satellites":49,"speed":40,"hex_longitude":"2d006a80","hex_latitude":"0703d9a0","is_valid_coordinates":true} 
[2026-09-04 21:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865582592001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398651408351494144,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":19984753476681728,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788537441000,"timestamp_ms":1788537441000,"timestamp_seconds":1788537441,"priority":1,"record_length":96,"hex_timestamp":"000001a06d238ae8"} 
[2026-09-04 21:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 21:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865582592001,"66":27332,"89":206,"94":10240,"24":40,"16":398651408351494144,"45":19984753476681728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-09-04 21:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865582592001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:29:16] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 21:29:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398651408351494144,"km_value":398651408351494.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":19984753476681728,"description":"Unknown IO ID 45"} 
[2026-09-04 21:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865582592001,"power":27332,"unknown_89":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":19984753476681728}} 
[2026-09-04 21:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":171353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:29:16] local.INFO: GPS data processed {"connection_id":171353,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:29:16] local.INFO: Acknowledgment sent {"connection_id":171353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:29:18] local.INFO: TCP Data received {"connection_id":171353,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d23ae10012d008c400703ccf80015006f2f..."} 
[2026-09-04 21:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d23ae10012d008c400703ccf80015006f2f..."} 
[2026-09-04 21:29:18] local.INFO: Processing buffer {"connection_id":171353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d23ae10012d008c400703ccf80015006f2f..."} 
[2026-09-04 21:29:18] local.INFO: Packet analysis {"connection_id":171353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:29:18] local.INFO: Extracted packet for processing {"connection_id":171353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:29:18] local.INFO: GPS Element Parsed {"raw_longitude":755010624,"raw_latitude":117689592,"longitude_deg":75.5010624,"latitude_deg":11.7689592,"altitude":21,"angle":111,"satellites":47,"speed":40,"hex_longitude":"2d008c40","hex_latitude":"0703ccf8","is_valid_coordinates":true} 
[2026-09-04 21:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865584896001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398651846438158336,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":29977115149049856,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788537450000,"timestamp_ms":1788537450000,"timestamp_seconds":1788537450,"priority":1,"record_length":96,"hex_timestamp":"000001a06d23ae10"} 
[2026-09-04 21:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 21:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":171353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":171353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":171353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865584896001,"66":27397,"89":206,"94":10240,"24":40,"16":398651846438158336,"45":29977115149049856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-09-04 21:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865584896001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:29:18] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-04 21:29:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-04 21:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398651846438158336,"km_value":398651846438158.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":29977115149049856,"description":"Unknown IO ID 45"} 
[2026-09-04 21:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865584896001,"power":27397,"unknown_89":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":29977115149049856}} 
[2026-09-04 21:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":171353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:29:18] local.INFO: GPS data processed {"connection_id":171353,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:29:18] local.INFO: Acknowledgment sent {"connection_id":171353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:29:24] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:29:24] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:29:24] local.INFO: Packet analysis {"connection_id":173746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:29:24] local.INFO: Extracted packet for processing {"connection_id":173746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:29:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865469184001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788537290000,"timestamp_ms":1788537290000,"timestamp_seconds":1788537290,"priority":1,"record_length":96,"hex_timestamp":"000001a06d213d10"} 
[2026-09-04 21:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865469184001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865469184001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:29:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:29:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865469184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":173746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:29:24] local.INFO: GPS data processed {"connection_id":173746,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:29:24] local.INFO: Acknowledgment sent {"connection_id":173746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:29:26] local.INFO: TCP Data received {"connection_id":172469,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:29:26] local.INFO: Processing buffer {"connection_id":172469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:29:26] local.INFO: Packet analysis {"connection_id":172469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:29:26] local.INFO: Extracted packet for processing {"connection_id":172469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:29:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865508096001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788537442000,"timestamp_ms":1788537442000,"timestamp_seconds":1788537442,"priority":1,"record_length":96,"hex_timestamp":"000001a06d238ed0"} 
[2026-09-04 21:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865508096001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865508096001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:29:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:29:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865508096001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":172469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765466,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:29:27] local.INFO: GPS data processed {"connection_id":172469,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:29:27] local.INFO: Acknowledgment sent {"connection_id":172469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:29:47] local.INFO: TCP Data received {"connection_id":171354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:29:47] local.INFO: Processing buffer {"connection_id":171354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:29:47] local.INFO: IMEI packet received {"connection_id":171354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":171354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:29:52] local.INFO: TCP Data received {"connection_id":171354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:29:52] local.INFO: Processing buffer {"connection_id":171354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:29:52] local.INFO: IMEI packet received {"connection_id":171354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":171354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:29:53] local.INFO: TCP Data received {"connection_id":171354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:29:53] local.INFO: Processing buffer {"connection_id":171354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:29:53] local.INFO: Packet analysis {"connection_id":171354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:29:53] local.INFO: Extracted packet for processing {"connection_id":171354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:29:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865469184001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788537290000,"timestamp_ms":1788537290000,"timestamp_seconds":1788537290,"priority":1,"record_length":96,"hex_timestamp":"000001a06d213d10"} 
[2026-09-04 21:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865469184001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865469184001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:29:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:29:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865469184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":171354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:29:53] local.INFO: GPS data processed {"connection_id":171354,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:29:53] local.INFO: Acknowledgment sent {"connection_id":171354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:29:53] local.INFO: TCP Data received {"connection_id":173747,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:29:53] local.INFO: Processing buffer {"connection_id":173747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:29:53] local.INFO: IMEI packet received {"connection_id":173747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":173747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:29:58] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:29:58] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:29:58] local.INFO: IMEI packet received {"connection_id":173748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":173748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:29:58] local.INFO: TCP Data received {"connection_id":173747,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:29:58] local.INFO: Processing buffer {"connection_id":173747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:29:58] local.INFO: IMEI packet received {"connection_id":173747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":173747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:30:00] local.INFO: TCP Data received {"connection_id":173747,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:30:00] local.INFO: Processing buffer {"connection_id":173747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:30:00] local.INFO: Packet analysis {"connection_id":173747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:30:00] local.INFO: Extracted packet for processing {"connection_id":173747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:30:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865508096001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788537442000,"timestamp_ms":1788537442000,"timestamp_seconds":1788537442,"priority":1,"record_length":96,"hex_timestamp":"000001a06d238ed0"} 
[2026-09-04 21:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865508096001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865508096001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:30:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865508096001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":173747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765468,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:30:00] local.INFO: GPS data processed {"connection_id":173747,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:30:00] local.INFO: Acknowledgment sent {"connection_id":173747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:30:02] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:30:02] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:30:02] local.INFO: IMEI packet received {"connection_id":173748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":173748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:30:03] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:30:03] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:30:03] local.INFO: IMEI packet received {"connection_id":173748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":173748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:30:04] local.INFO: TCP Data received {"connection_id":173747,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:30:04] local.INFO: Processing buffer {"connection_id":173747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:30:04] local.INFO: Packet analysis {"connection_id":173747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:30:04] local.INFO: Extracted packet for processing {"connection_id":173747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865508096001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788537442000,"timestamp_ms":1788537442000,"timestamp_seconds":1788537442,"priority":1,"record_length":96,"hex_timestamp":"000001a06d238ed0"} 
[2026-09-04 21:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865508096001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865508096001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:30:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:30:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865508096001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":173747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:30:04] local.INFO: GPS data processed {"connection_id":173747,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:30:04] local.INFO: Acknowledgment sent {"connection_id":173747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:30:04] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d24ee60012d01f5c0070319a8001400942d..."} 
[2026-09-04 21:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d24ee60012d01f5c0070319a8001400942d..."} 
[2026-09-04 21:30:04] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d24ee60012d01f5c0070319a8001400942d..."} 
[2026-09-04 21:30:04] local.INFO: Packet analysis {"connection_id":173748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d24"} 
[2026-09-04 21:30:04] local.INFO: Extracted packet for processing {"connection_id":173748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d24"} 
[2026-09-04 21:30:04] local.INFO: GPS Element Parsed {"raw_longitude":755103168,"raw_latitude":117643688,"longitude_deg":75.5103168,"latitude_deg":11.7643688,"altitude":20,"angle":148,"satellites":45,"speed":55,"hex_longitude":"2d01f5c0","hex_latitude":"070319a8","is_valid_coordinates":true} 
[2026-09-04 21:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865606400001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398656871549894656,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":134685806474872832,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788537532000,"timestamp_ms":1788537532000,"timestamp_seconds":1788537532,"priority":1,"record_length":96,"hex_timestamp":"000001a06d24ee60"} 
[2026-09-04 21:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 21:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865606400001,"66":27267,"79":206,"94":11008,"24":55,"16":398656871549894656,"45":134685806474872832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-04 21:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865606400001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:30:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 21:30:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398656871549894656,"km_value":398656871549894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":134685806474872832,"description":"Unknown IO ID 45"} 
[2026-09-04 21:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865606400001,"power":27267,"unknown_79":206,"unknown_94":11008,"ignition":55,"odometer":null,"unknown_45":134685806474872832}} 
[2026-09-04 21:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":173748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:30:04] local.INFO: GPS data processed {"connection_id":173748,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:30:04] local.INFO: Acknowledgment sent {"connection_id":173748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:30:10] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2509b8012d0207000702f7480015009d30..."} 
[2026-09-04 21:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2509b8012d0207000702f7480015009d30..."} 
[2026-09-04 21:30:10] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2509b8012d0207000702f7480015009d30..."} 
[2026-09-04 21:30:10] local.INFO: Packet analysis {"connection_id":173748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:30:10] local.INFO: Extracted packet for processing {"connection_id":173748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:30:10] local.INFO: GPS Element Parsed {"raw_longitude":755107584,"raw_latitude":117634888,"longitude_deg":75.5107584,"latitude_deg":11.7634888,"altitude":21,"angle":157,"satellites":48,"speed":56,"hex_longitude":"2d020700","hex_latitude":"0702f748","is_valid_coordinates":true} 
[2026-09-04 21:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865608192001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398657348291264512,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":141230099681355776,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788537539000,"timestamp_ms":1788537539000,"timestamp_seconds":1788537539,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2509b8"} 
[2026-09-04 21:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 21:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865608192001,"66":27321,"79":206,"94":11008,"24":56,"16":398657348291264512,"45":141230099681355776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-04 21:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865608192001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:30:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 21:30:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398657348291264512,"km_value":398657348291264.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":141230099681355776,"description":"Unknown IO ID 45"} 
[2026-09-04 21:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865608192001,"power":27321,"unknown_79":206,"unknown_94":11008,"ignition":56,"odometer":null,"unknown_45":141230099681355776}} 
[2026-09-04 21:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":173748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:30:10] local.INFO: GPS data processed {"connection_id":173748,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:30:10] local.INFO: Acknowledgment sent {"connection_id":173748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:30:24] local.INFO: TCP Data received {"connection_id":171354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:30:24] local.INFO: Processing buffer {"connection_id":171354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d213d10012d1965c0071fef80004701152a..."} 
[2026-09-04 21:30:24] local.INFO: Packet analysis {"connection_id":171354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:30:24] local.INFO: Extracted packet for processing {"connection_id":171354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d21"} 
[2026-09-04 21:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865469184001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788537290000,"timestamp_ms":1788537290000,"timestamp_seconds":1788537290,"priority":1,"record_length":96,"hex_timestamp":"000001a06d213d10"} 
[2026-09-04 21:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865469184001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865469184001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:30:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865469184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":171354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:30:24] local.INFO: GPS data processed {"connection_id":171354,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:30:24] local.INFO: Acknowledgment sent {"connection_id":171354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:30:42] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d252510012d0213800702d150001200a330..."} 
[2026-09-04 21:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d252510012d0213800702d150001200a330..."} 
[2026-09-04 21:30:42] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d252510012d0213800702d150001200a330..."} 
[2026-09-04 21:30:42] local.INFO: Packet analysis {"connection_id":173748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:30:42] local.INFO: Extracted packet for processing {"connection_id":173748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:30:42] local.INFO: GPS Element Parsed {"raw_longitude":755110784,"raw_latitude":117625168,"longitude_deg":75.5110784,"latitude_deg":11.7625168,"altitude":18,"angle":163,"satellites":48,"speed":60,"hex_longitude":"2d021380","hex_latitude":"0702d150","is_valid_coordinates":true} 
[2026-09-04 21:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865609984001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398657842212503552,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":146085543027361792,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788537546000,"timestamp_ms":1788537546000,"timestamp_seconds":1788537546,"priority":1,"record_length":96,"hex_timestamp":"000001a06d252510"} 
[2026-09-04 21:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 21:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865609984001,"66":27376,"79":206,"94":11008,"24":60,"16":398657842212503552,"45":146085543027361792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-04 21:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865609984001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:30:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 21:30:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398657842212503552,"km_value":398657842212503.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":146085543027361792,"description":"Unknown IO ID 45"} 
[2026-09-04 21:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865609984001,"power":27376,"unknown_79":206,"unknown_94":11008,"ignition":60,"odometer":null,"unknown_45":146085543027361792}} 
[2026-09-04 21:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":173748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:30:42] local.INFO: GPS data processed {"connection_id":173748,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:30:42] local.INFO: Acknowledgment sent {"connection_id":173748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:30:48] local.INFO: TCP Data received {"connection_id":173749,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:30:48] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:30:48] local.INFO: IMEI packet received {"connection_id":173749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":173749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:30:52] local.INFO: TCP Data received {"connection_id":171355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:30:52] local.INFO: Processing buffer {"connection_id":171355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:30:52] local.INFO: IMEI packet received {"connection_id":171355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":171355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:30:53] local.INFO: TCP Data received {"connection_id":173749,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:30:53] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:30:53] local.INFO: IMEI packet received {"connection_id":173749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":173749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:30:54] local.INFO: TCP Data received {"connection_id":173749,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:30:54] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:30:54] local.INFO: Packet analysis {"connection_id":173749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:30:54] local.INFO: Extracted packet for processing {"connection_id":173749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:30:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865508096001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788537442000,"timestamp_ms":1788537442000,"timestamp_seconds":1788537442,"priority":1,"record_length":96,"hex_timestamp":"000001a06d238ed0"} 
[2026-09-04 21:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865508096001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865508096001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:30:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:30:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865508096001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":173749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765474,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:30:54] local.INFO: GPS data processed {"connection_id":173749,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:30:54] local.INFO: Acknowledgment sent {"connection_id":173749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:30:57] local.INFO: TCP Data received {"connection_id":171355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:30:57] local.INFO: Processing buffer {"connection_id":171355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:30:57] local.INFO: IMEI packet received {"connection_id":171355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":171355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:30:58] local.INFO: TCP Data received {"connection_id":171061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:30:58] local.INFO: Processing buffer {"connection_id":171061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:30:58] local.INFO: IMEI packet received {"connection_id":171061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":171061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:30:58] local.INFO: TCP Data received {"connection_id":171355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:30:58] local.INFO: Processing buffer {"connection_id":171355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:30:58] local.INFO: Packet analysis {"connection_id":171355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:30:58] local.INFO: Extracted packet for processing {"connection_id":171355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:30:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865546240001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788537591000,"timestamp_ms":1788537591000,"timestamp_seconds":1788537591,"priority":1,"record_length":96,"hex_timestamp":"000001a06d25d4d8"} 
[2026-09-04 21:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865546240001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865546240001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:30:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:30:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865546240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":171355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:30:58] local.INFO: GPS data processed {"connection_id":171355,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:30:58] local.INFO: Acknowledgment sent {"connection_id":171355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:31:01] local.INFO: TCP Data received {"connection_id":171061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:31:01] local.INFO: Processing buffer {"connection_id":171061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:31:01] local.INFO: IMEI packet received {"connection_id":171061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":171061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:31:02] local.INFO: TCP Data received {"connection_id":171355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:31:02] local.INFO: Processing buffer {"connection_id":171355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:31:02] local.INFO: Packet analysis {"connection_id":171355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:31:02] local.INFO: Extracted packet for processing {"connection_id":171355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865546240001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788537591000,"timestamp_ms":1788537591000,"timestamp_seconds":1788537591,"priority":1,"record_length":96,"hex_timestamp":"000001a06d25d4d8"} 
[2026-09-04 21:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865546240001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865546240001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:31:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:31:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865546240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":171355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:31:03] local.INFO: GPS data processed {"connection_id":171355,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:31:03] local.INFO: Acknowledgment sent {"connection_id":171355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:31:03] local.INFO: TCP Data received {"connection_id":171061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:31:03] local.INFO: Processing buffer {"connection_id":171061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:31:03] local.INFO: IMEI packet received {"connection_id":171061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":171061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:31:04] local.INFO: TCP Data received {"connection_id":171061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d253c80012d021e800702ae68001000a130..."} 
[2026-09-04 21:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d253c80012d021e800702ae68001000a130..."} 
[2026-09-04 21:31:04] local.INFO: Processing buffer {"connection_id":171061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d253c80012d021e800702ae68001000a130..."} 
[2026-09-04 21:31:04] local.INFO: Packet analysis {"connection_id":171061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:31:04] local.INFO: Extracted packet for processing {"connection_id":171061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:31:04] local.INFO: GPS Element Parsed {"raw_longitude":755113600,"raw_latitude":117616232,"longitude_deg":75.51136,"latitude_deg":11.7616232,"altitude":16,"angle":161,"satellites":48,"speed":62,"hex_longitude":"2d021e80","hex_latitude":"0702ae68","is_valid_coordinates":true} 
[2026-09-04 21:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865611776001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398658297479036928,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":149603980233756672,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788537552000,"timestamp_ms":1788537552000,"timestamp_seconds":1788537552,"priority":1,"record_length":96,"hex_timestamp":"000001a06d253c80"} 
[2026-09-04 21:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865611776001,"66":27321,"79":206,"94":11008,"24":62,"16":398658297479036928,"45":149603980233756672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-04 21:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865611776001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:31:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 21:31:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398658297479036928,"km_value":398658297479036.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":149603980233756672,"description":"Unknown IO ID 45"} 
[2026-09-04 21:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865611776001,"power":27321,"unknown_79":206,"unknown_94":11008,"ignition":62,"odometer":null,"unknown_45":149603980233756672}} 
[2026-09-04 21:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":171061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:31:04] local.INFO: GPS data processed {"connection_id":171061,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:31:04] local.INFO: Acknowledgment sent {"connection_id":171061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:31:26] local.INFO: TCP Data received {"connection_id":173749,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:31:26] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:31:26] local.INFO: Packet analysis {"connection_id":173749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:31:26] local.INFO: Extracted packet for processing {"connection_id":173749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:31:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865508096001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788537442000,"timestamp_ms":1788537442000,"timestamp_seconds":1788537442,"priority":1,"record_length":96,"hex_timestamp":"000001a06d238ed0"} 
[2026-09-04 21:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865508096001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865508096001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:31:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:31:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865508096001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":173749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:31:26] local.INFO: GPS data processed {"connection_id":173749,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:31:26] local.INFO: Acknowledgment sent {"connection_id":173749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:31:35] local.INFO: TCP Data received {"connection_id":171061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d269c10012d02c5000700c4e0000900a431..."} 
[2026-09-04 21:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d269c10012d02c5000700c4e0000900a431..."} 
[2026-09-04 21:31:35] local.INFO: Processing buffer {"connection_id":171061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d269c10012d02c5000700c4e0000900a431..."} 
[2026-09-04 21:31:35] local.INFO: Packet analysis {"connection_id":171061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d26"} 
[2026-09-04 21:31:35] local.INFO: Extracted packet for processing {"connection_id":171061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d26"} 
[2026-09-04 21:31:35] local.INFO: GPS Element Parsed {"raw_longitude":755156224,"raw_latitude":117490912,"longitude_deg":75.5156224,"latitude_deg":11.7490912,"altitude":9,"angle":164,"satellites":49,"speed":57,"hex_longitude":"2d02c500","hex_latitude":"0700c4e0","is_valid_coordinates":true} 
[2026-09-04 21:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865634560001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398664701275275264,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":196328826335801344,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788537642000,"timestamp_ms":1788537642000,"timestamp_seconds":1788537642,"priority":1,"record_length":96,"hex_timestamp":"000001a06d269c10"} 
[2026-09-04 21:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 21:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865634560001,"66":27376,"79":206,"94":11008,"24":57,"16":398664701275275264,"45":196328826335801344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-04 21:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865634560001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:31:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 21:31:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398664701275275264,"km_value":398664701275275.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":196328826335801344,"description":"Unknown IO ID 45"} 
[2026-09-04 21:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865634560001,"power":27376,"unknown_79":206,"unknown_94":11008,"ignition":57,"odometer":null,"unknown_45":196328826335801344}} 
[2026-09-04 21:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":171061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:31:35] local.INFO: GPS data processed {"connection_id":171061,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:31:35] local.INFO: Acknowledgment sent {"connection_id":171061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:31:47] local.INFO: TCP Data received {"connection_id":171356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:31:47] local.INFO: Processing buffer {"connection_id":171356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:31:47] local.INFO: IMEI packet received {"connection_id":171356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":171356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:31:48] local.INFO: TCP Data received {"connection_id":172470,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:31:48] local.INFO: Processing buffer {"connection_id":172470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:31:48] local.INFO: IMEI packet received {"connection_id":172470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":172470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:31:52] local.INFO: TCP Data received {"connection_id":171356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:31:52] local.INFO: Processing buffer {"connection_id":171356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:31:52] local.INFO: IMEI packet received {"connection_id":171356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":171356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:31:53] local.INFO: TCP Data received {"connection_id":171356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:31:53] local.INFO: Processing buffer {"connection_id":171356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:31:53] local.INFO: Packet analysis {"connection_id":171356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:31:53] local.INFO: Extracted packet for processing {"connection_id":171356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:31:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865546240001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788537591000,"timestamp_ms":1788537591000,"timestamp_seconds":1788537591,"priority":1,"record_length":96,"hex_timestamp":"000001a06d25d4d8"} 
[2026-09-04 21:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865546240001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865546240001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:31:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:31:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865546240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":171356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:31:53] local.INFO: GPS data processed {"connection_id":171356,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:31:53] local.INFO: Acknowledgment sent {"connection_id":171356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:31:53] local.INFO: TCP Data received {"connection_id":172470,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:31:53] local.INFO: Processing buffer {"connection_id":172470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:31:53] local.INFO: IMEI packet received {"connection_id":172470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":172470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:31:55] local.INFO: TCP Data received {"connection_id":172470,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:31:55] local.INFO: Processing buffer {"connection_id":172470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:31:55] local.INFO: Packet analysis {"connection_id":172470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:31:55] local.INFO: Extracted packet for processing {"connection_id":172470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:31:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865508096001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788537442000,"timestamp_ms":1788537442000,"timestamp_seconds":1788537442,"priority":1,"record_length":96,"hex_timestamp":"000001a06d238ed0"} 
[2026-09-04 21:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865508096001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865508096001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:31:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865508096001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":172470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:31:55] local.INFO: GPS data processed {"connection_id":172470,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:31:55] local.INFO: Acknowledgment sent {"connection_id":172470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:32:03] local.INFO: TCP Data received {"connection_id":172471,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:03] local.INFO: Processing buffer {"connection_id":172471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:03] local.INFO: IMEI packet received {"connection_id":172471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":172471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:32:03] local.INFO: TCP Data received {"connection_id":172471,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:03] local.INFO: Processing buffer {"connection_id":172471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:03] local.INFO: IMEI packet received {"connection_id":172471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":172471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:32:08] local.INFO: TCP Data received {"connection_id":172471,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:08] local.INFO: Processing buffer {"connection_id":172471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:08] local.INFO: IMEI packet received {"connection_id":172471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":172471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:32:09] local.INFO: TCP Data received {"connection_id":172471,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d26b768012d02cfc007009e70000a00a532..."} 
[2026-09-04 21:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d26b768012d02cfc007009e70000a00a532..."} 
[2026-09-04 21:32:09] local.INFO: Processing buffer {"connection_id":172471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d26b768012d02cfc007009e70000a00a532..."} 
[2026-09-04 21:32:09] local.INFO: Packet analysis {"connection_id":172471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d26"} 
[2026-09-04 21:32:09] local.INFO: Extracted packet for processing {"connection_id":172471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d26"} 
[2026-09-04 21:32:09] local.INFO: GPS Element Parsed {"raw_longitude":755158976,"raw_latitude":117481072,"longitude_deg":75.5158976,"latitude_deg":11.7481072,"altitude":10,"angle":165,"satellites":50,"speed":58,"hex_longitude":"2d02cfc0","hex_latitude":"07009e70","is_valid_coordinates":true} 
[2026-09-04 21:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865636352001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398665195196514304,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":199565788565528576,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788537649000,"timestamp_ms":1788537649000,"timestamp_seconds":1788537649,"priority":1,"record_length":96,"hex_timestamp":"000001a06d26b768"} 
[2026-09-04 21:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865636352001,"66":27365,"111":206,"94":11008,"24":58,"16":398665195196514304,"45":199565788565528576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-09-04 21:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865636352001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:32:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 21:32:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398665195196514304,"km_value":398665195196514.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":199565788565528576,"description":"Unknown IO ID 45"} 
[2026-09-04 21:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865636352001,"power":27365,"unknown_111":206,"unknown_94":11008,"ignition":58,"odometer":null,"unknown_45":199565788565528576}} 
[2026-09-04 21:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":172471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:32:09] local.INFO: GPS data processed {"connection_id":172471,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:32:09] local.INFO: Acknowledgment sent {"connection_id":172471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:32:10] local.INFO: TCP Data received {"connection_id":172471,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d26ced8012d02d90007007c88000c00a232..."} 
[2026-09-04 21:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d26ced8012d02d90007007c88000c00a232..."} 
[2026-09-04 21:32:10] local.INFO: Processing buffer {"connection_id":172471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d26ced8012d02d90007007c88000c00a232..."} 
[2026-09-04 21:32:10] local.INFO: Packet analysis {"connection_id":172471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d26"} 
[2026-09-04 21:32:10] local.INFO: Extracted packet for processing {"connection_id":172471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d26"} 
[2026-09-04 21:32:10] local.INFO: GPS Element Parsed {"raw_longitude":755161344,"raw_latitude":117472392,"longitude_deg":75.5161344,"latitude_deg":11.7472392,"altitude":12,"angle":162,"satellites":50,"speed":60,"hex_longitude":"2d02d900","hex_latitude":"07007c88","is_valid_coordinates":true} 
[2026-09-04 21:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865638144001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398665633283178496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":202591644562649088,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788537655000,"timestamp_ms":1788537655000,"timestamp_seconds":1788537655,"priority":1,"record_length":96,"hex_timestamp":"000001a06d26ced8"} 
[2026-09-04 21:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 21:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865638144001,"66":27289,"111":206,"94":11008,"24":60,"16":398665633283178496,"45":202591644562649088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-09-04 21:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865638144001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:32:10] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 21:32:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398665633283178496,"km_value":398665633283178.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":202591644562649088,"description":"Unknown IO ID 45"} 
[2026-09-04 21:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865638144001,"power":27289,"unknown_111":206,"unknown_94":11008,"ignition":60,"odometer":null,"unknown_45":202591644562649088}} 
[2026-09-04 21:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":172471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:32:10] local.INFO: GPS data processed {"connection_id":172471,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:32:10] local.INFO: Acknowledgment sent {"connection_id":172471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:32:13] local.INFO: TCP Data received {"connection_id":172471,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d26e648012d02e38007005ae0000c00a232..."} 
[2026-09-04 21:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d26e648012d02e38007005ae0000c00a232..."} 
[2026-09-04 21:32:13] local.INFO: Processing buffer {"connection_id":172471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d26e648012d02e38007005ae0000c00a232..."} 
[2026-09-04 21:32:13] local.INFO: Packet analysis {"connection_id":172471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d26"} 
[2026-09-04 21:32:13] local.INFO: Extracted packet for processing {"connection_id":172471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d26"} 
[2026-09-04 21:32:13] local.INFO: GPS Element Parsed {"raw_longitude":755164032,"raw_latitude":117463776,"longitude_deg":75.5164032,"latitude_deg":11.7463776,"altitude":12,"angle":162,"satellites":50,"speed":59,"hex_longitude":"2d02e380","hex_latitude":"07005ae0","is_valid_coordinates":true} 
[2026-09-04 21:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865639680001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398666067074875392,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":205195288095000576,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788537661000,"timestamp_ms":1788537661000,"timestamp_seconds":1788537661,"priority":1,"record_length":96,"hex_timestamp":"000001a06d26e648"} 
[2026-09-04 21:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 21:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865639680001,"66":27365,"111":206,"94":11008,"24":59,"16":398666067074875392,"45":205195288095000576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-09-04 21:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865639680001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:32:13] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 21:32:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398666067074875392,"km_value":398666067074875.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":205195288095000576,"description":"Unknown IO ID 45"} 
[2026-09-04 21:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865639680001,"power":27365,"unknown_111":206,"unknown_94":11008,"ignition":59,"odometer":null,"unknown_45":205195288095000576}} 
[2026-09-04 21:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":172471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:32:13] local.INFO: GPS data processed {"connection_id":172471,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:32:13] local.INFO: Acknowledgment sent {"connection_id":172471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:32:24] local.INFO: TCP Data received {"connection_id":171356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:32:24] local.INFO: Processing buffer {"connection_id":171356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:32:24] local.INFO: Packet analysis {"connection_id":171356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:32:24] local.INFO: Extracted packet for processing {"connection_id":171356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:32:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865546240001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788537591000,"timestamp_ms":1788537591000,"timestamp_seconds":1788537591,"priority":1,"record_length":96,"hex_timestamp":"000001a06d25d4d8"} 
[2026-09-04 21:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865546240001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865546240001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:32:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865546240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":171356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:32:24] local.INFO: GPS data processed {"connection_id":171356,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:32:24] local.INFO: Acknowledgment sent {"connection_id":171356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:32:26] local.INFO: TCP Data received {"connection_id":172470,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:32:26] local.INFO: Processing buffer {"connection_id":172470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:32:26] local.INFO: Packet analysis {"connection_id":172470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:32:26] local.INFO: Extracted packet for processing {"connection_id":172470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:32:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865508096001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788537442000,"timestamp_ms":1788537442000,"timestamp_seconds":1788537442,"priority":1,"record_length":96,"hex_timestamp":"000001a06d238ed0"} 
[2026-09-04 21:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865508096001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865508096001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:32:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:32:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865508096001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":172470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765486,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:32:27] local.INFO: GPS data processed {"connection_id":172470,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:32:27] local.INFO: Acknowledgment sent {"connection_id":172470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:32:47] local.INFO: TCP Data received {"connection_id":171357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:32:47] local.INFO: Processing buffer {"connection_id":171357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:32:47] local.INFO: IMEI packet received {"connection_id":171357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":171357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:32:48] local.INFO: TCP Data received {"connection_id":171358,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:32:48] local.INFO: Processing buffer {"connection_id":171358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:32:48] local.INFO: IMEI packet received {"connection_id":171358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":171358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:32:52] local.INFO: TCP Data received {"connection_id":171357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:32:52] local.INFO: Processing buffer {"connection_id":171357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:32:52] local.INFO: IMEI packet received {"connection_id":171357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":171357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:32:53] local.INFO: TCP Data received {"connection_id":171357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:32:53] local.INFO: Processing buffer {"connection_id":171357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:32:53] local.INFO: Packet analysis {"connection_id":171357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:32:53] local.INFO: Extracted packet for processing {"connection_id":171357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:32:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865546240001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788537591000,"timestamp_ms":1788537591000,"timestamp_seconds":1788537591,"priority":1,"record_length":96,"hex_timestamp":"000001a06d25d4d8"} 
[2026-09-04 21:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865546240001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865546240001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:32:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:32:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865546240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":171357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:32:53] local.INFO: GPS data processed {"connection_id":171357,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:32:53] local.INFO: Acknowledgment sent {"connection_id":171357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:32:53] local.INFO: TCP Data received {"connection_id":171358,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:32:53] local.INFO: Processing buffer {"connection_id":171358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:32:53] local.INFO: IMEI packet received {"connection_id":171358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":171358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:32:55] local.INFO: TCP Data received {"connection_id":171358,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:32:55] local.INFO: Processing buffer {"connection_id":171358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d238ed0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:32:55] local.INFO: Packet analysis {"connection_id":171358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:32:55] local.INFO: Extracted packet for processing {"connection_id":171358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d23"} 
[2026-09-04 21:32:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865508096001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788537442000,"timestamp_ms":1788537442000,"timestamp_seconds":1788537442,"priority":1,"record_length":96,"hex_timestamp":"000001a06d238ed0"} 
[2026-09-04 21:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865508096001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865508096001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:32:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865508096001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":171358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765488,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:32:55] local.INFO: GPS data processed {"connection_id":171358,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:32:55] local.INFO: Acknowledgment sent {"connection_id":171358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:32:55] local.INFO: TCP Data received {"connection_id":172472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:55] local.INFO: Processing buffer {"connection_id":172472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:55] local.INFO: IMEI packet received {"connection_id":172472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":172472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:32:58] local.INFO: TCP Data received {"connection_id":172472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:58] local.INFO: Processing buffer {"connection_id":172472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:32:58] local.INFO: IMEI packet received {"connection_id":172472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":172472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:33:01] local.INFO: TCP Data received {"connection_id":172472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:33:01] local.INFO: Processing buffer {"connection_id":172472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:33:01] local.INFO: IMEI packet received {"connection_id":172472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":172472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:33:02] local.INFO: TCP Data received {"connection_id":172472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d27f3d0012d03ad4006ff1008000f00742d..."} 
[2026-09-04 21:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d27f3d0012d03ad4006ff1008000f00742d..."} 
[2026-09-04 21:33:02] local.INFO: Processing buffer {"connection_id":172472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d27f3d0012d03ad4006ff1008000f00742d..."} 
[2026-09-04 21:33:02] local.INFO: Packet analysis {"connection_id":172472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d27"} 
[2026-09-04 21:33:02] local.INFO: Extracted packet for processing {"connection_id":172472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d27"} 
[2026-09-04 21:33:02] local.INFO: GPS Element Parsed {"raw_longitude":755215680,"raw_latitude":117379080,"longitude_deg":75.521568,"latitude_deg":11.737908,"altitude":15,"angle":116,"satellites":45,"speed":58,"hex_longitude":"2d03ad40","hex_latitude":"06ff1008","is_valid_coordinates":true} 
[2026-09-04 21:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865657088001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398671027762102272,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":255016358950205440,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788537730000,"timestamp_ms":1788537730000,"timestamp_seconds":1788537730,"priority":1,"record_length":96,"hex_timestamp":"000001a06d27f3d0"} 
[2026-09-04 21:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865657088001,"66":27332,"109":206,"94":11008,"24":58,"16":398671027762102272,"45":255016358950205440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,94,24,16,45]} 
[2026-09-04 21:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865657088001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:33:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-04 21:33:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398671027762102272,"km_value":398671027762102.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":255016358950205440,"description":"Unknown IO ID 45"} 
[2026-09-04 21:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865657088001,"power":27332,"unknown_109":206,"unknown_94":11008,"ignition":58,"odometer":null,"unknown_45":255016358950205440}} 
[2026-09-04 21:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":172472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:33:02] local.INFO: GPS data processed {"connection_id":172472,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:33:02] local.INFO: Acknowledgment sent {"connection_id":172472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:33:03] local.INFO: TCP Data received {"connection_id":172472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d280f28012d03d3c006ff01680010006c2f..."} 
[2026-09-04 21:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d280f28012d03d3c006ff01680010006c2f..."} 
[2026-09-04 21:33:03] local.INFO: Processing buffer {"connection_id":172472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d280f28012d03d3c006ff01680010006c2f..."} 
[2026-09-04 21:33:03] local.INFO: Packet analysis {"connection_id":172472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:33:03] local.INFO: Extracted packet for processing {"connection_id":172472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:33:03] local.INFO: GPS Element Parsed {"raw_longitude":755225536,"raw_latitude":117375336,"longitude_deg":75.5225536,"latitude_deg":11.7375336,"altitude":16,"angle":108,"satellites":47,"speed":59,"hex_longitude":"2d03d3c0","hex_latitude":"06ff0168","is_valid_coordinates":true} 
[2026-09-04 21:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865658880001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398671530273275904,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":264938351877949440,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788537737000,"timestamp_ms":1788537737000,"timestamp_seconds":1788537737,"priority":1,"record_length":96,"hex_timestamp":"000001a06d280f28"} 
[2026-09-04 21:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 21:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865658880001,"66":27180,"209":206,"94":11008,"24":59,"16":398671530273275904,"45":264938351877949440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,94,24,16,45]} 
[2026-09-04 21:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865658880001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:33:03] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-04 21:33:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398671530273275904,"km_value":398671530273275.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":264938351877949440,"description":"Unknown IO ID 45"} 
[2026-09-04 21:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865658880001,"power":27180,"unknown_209":206,"unknown_94":11008,"ignition":59,"odometer":null,"unknown_45":264938351877949440}} 
[2026-09-04 21:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":172472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:33:03] local.INFO: GPS data processed {"connection_id":172472,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:33:03] local.INFO: Acknowledgment sent {"connection_id":172472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:33:23] local.INFO: TCP Data received {"connection_id":171357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:33:23] local.INFO: Processing buffer {"connection_id":171357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:33:23] local.INFO: Packet analysis {"connection_id":171357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:33:23] local.INFO: Extracted packet for processing {"connection_id":171357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865546240001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788537591000,"timestamp_ms":1788537591000,"timestamp_seconds":1788537591,"priority":1,"record_length":96,"hex_timestamp":"000001a06d25d4d8"} 
[2026-09-04 21:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865546240001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865546240001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:33:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865546240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":171357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:33:24] local.INFO: GPS data processed {"connection_id":171357,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:33:24] local.INFO: Acknowledgment sent {"connection_id":171357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:33:27] local.INFO: TCP Data received {"connection_id":171358,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:33:27] local.INFO: Processing buffer {"connection_id":171358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:33:27] local.INFO: Packet analysis {"connection_id":171358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:33:27] local.INFO: Extracted packet for processing {"connection_id":171358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:33:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865585152001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788537743000,"timestamp_ms":1788537743000,"timestamp_seconds":1788537743,"priority":1,"record_length":96,"hex_timestamp":"000001a06d282698"} 
[2026-09-04 21:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865585152001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865585152001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:33:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:33:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865585152001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":171358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765492,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:33:27] local.INFO: GPS data processed {"connection_id":171358,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:33:27] local.INFO: Acknowledgment sent {"connection_id":171358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:33:34] local.INFO: TCP Data received {"connection_id":172472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d282698012d03f60006fef718001100662e..."} 
[2026-09-04 21:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d282698012d03f60006fef718001100662e..."} 
[2026-09-04 21:33:34] local.INFO: Processing buffer {"connection_id":172472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d282698012d03f60006fef718001100662e..."} 
[2026-09-04 21:33:34] local.INFO: Packet analysis {"connection_id":172472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:33:34] local.INFO: Extracted packet for processing {"connection_id":172472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:33:34] local.INFO: GPS Element Parsed {"raw_longitude":755234304,"raw_latitude":117372696,"longitude_deg":75.5234304,"latitude_deg":11.7372696,"altitude":17,"angle":102,"satellites":46,"speed":59,"hex_longitude":"2d03f600","hex_latitude":"06fef718","is_valid_coordinates":true} 
[2026-09-04 21:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865660672001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398671968359940096,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":275775138480351232,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788537743000,"timestamp_ms":1788537743000,"timestamp_seconds":1788537743,"priority":1,"record_length":96,"hex_timestamp":"000001a06d282698"} 
[2026-09-04 21:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 21:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865660672001,"66":27517,"209":206,"94":11008,"24":59,"16":398671968359940096,"45":275775138480351232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,94,24,16,45]} 
[2026-09-04 21:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865660672001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:33:34] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-04 21:33:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398671968359940096,"km_value":398671968359940.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":275775138480351232,"description":"Unknown IO ID 45"} 
[2026-09-04 21:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865660672001,"power":27517,"unknown_209":206,"unknown_94":11008,"ignition":59,"odometer":null,"unknown_45":275775138480351232}} 
[2026-09-04 21:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":172472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:33:34] local.INFO: GPS data processed {"connection_id":172472,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:33:34] local.INFO: Acknowledgment sent {"connection_id":172472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:33:47] local.INFO: TCP Data received {"connection_id":172473,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:33:47] local.INFO: Processing buffer {"connection_id":172473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:33:47] local.INFO: IMEI packet received {"connection_id":172473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":172473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:33:52] local.INFO: TCP Data received {"connection_id":172473,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:33:52] local.INFO: Processing buffer {"connection_id":172473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:33:52] local.INFO: IMEI packet received {"connection_id":172473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":172473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:33:53] local.INFO: TCP Data received {"connection_id":172473,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:33:53] local.INFO: Processing buffer {"connection_id":172473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:33:53] local.INFO: Packet analysis {"connection_id":172473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:33:53] local.INFO: Extracted packet for processing {"connection_id":172473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:33:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865546240001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788537591000,"timestamp_ms":1788537591000,"timestamp_seconds":1788537591,"priority":1,"record_length":96,"hex_timestamp":"000001a06d25d4d8"} 
[2026-09-04 21:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865546240001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865546240001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:33:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:33:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865546240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":172473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:33:53] local.INFO: GPS data processed {"connection_id":172473,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:33:53] local.INFO: Acknowledgment sent {"connection_id":172473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:33:53] local.INFO: TCP Data received {"connection_id":171359,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:33:53] local.INFO: Processing buffer {"connection_id":171359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:33:53] local.INFO: IMEI packet received {"connection_id":171359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":171359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:33:58] local.INFO: TCP Data received {"connection_id":173750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:33:58] local.INFO: Processing buffer {"connection_id":173750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:33:58] local.INFO: IMEI packet received {"connection_id":173750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":173750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:33:58] local.INFO: TCP Data received {"connection_id":171359,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:33:58] local.INFO: Processing buffer {"connection_id":171359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:33:58] local.INFO: IMEI packet received {"connection_id":171359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":171359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:33:59] local.INFO: TCP Data received {"connection_id":171359,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:33:59] local.INFO: Processing buffer {"connection_id":171359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:33:59] local.INFO: Packet analysis {"connection_id":171359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:33:59] local.INFO: Extracted packet for processing {"connection_id":171359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:33:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865585152001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788537743000,"timestamp_ms":1788537743000,"timestamp_seconds":1788537743,"priority":1,"record_length":96,"hex_timestamp":"000001a06d282698"} 
[2026-09-04 21:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865585152001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865585152001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:33:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:33:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865585152001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":171359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765495,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:34:00] local.INFO: GPS data processed {"connection_id":171359,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:34:00] local.INFO: Acknowledgment sent {"connection_id":171359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:34:03] local.INFO: TCP Data received {"connection_id":173750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:34:03] local.INFO: Processing buffer {"connection_id":173750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:34:03] local.INFO: IMEI packet received {"connection_id":173750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":173750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:34:04] local.INFO: TCP Data received {"connection_id":173750,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2841f0012d041d0006fef0b0001200622e..."} 
[2026-09-04 21:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2841f0012d041d0006fef0b0001200622e..."} 
[2026-09-04 21:34:04] local.INFO: Processing buffer {"connection_id":173750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2841f0012d041d0006fef0b0001200622e..."} 
[2026-09-04 21:34:04] local.INFO: Packet analysis {"connection_id":173750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:34:04] local.INFO: Extracted packet for processing {"connection_id":173750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:34:04] local.INFO: GPS Element Parsed {"raw_longitude":755244288,"raw_latitude":117371056,"longitude_deg":75.5244288,"latitude_deg":11.7371056,"altitude":18,"angle":98,"satellites":46,"speed":53,"hex_longitude":"2d041d00","hex_latitude":"06fef0b0","is_valid_coordinates":true} 
[2026-09-04 21:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865662208001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398672449396277248,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":285415656432015360,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788537750000,"timestamp_ms":1788537750000,"timestamp_seconds":1788537750,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2841f0"} 
[2026-09-04 21:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-04 21:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865662208001,"66":27376,"209":206,"94":11008,"24":53,"16":398672449396277248,"45":285415656432015360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,94,24,16,45]} 
[2026-09-04 21:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865662208001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:34:04] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-04 21:34:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398672449396277248,"km_value":398672449396277.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":285415656432015360,"description":"Unknown IO ID 45"} 
[2026-09-04 21:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865662208001,"power":27376,"unknown_209":206,"unknown_94":11008,"ignition":53,"odometer":null,"unknown_45":285415656432015360}} 
[2026-09-04 21:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":173750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:34:04] local.INFO: GPS data processed {"connection_id":173750,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:34:04] local.INFO: Acknowledgment sent {"connection_id":173750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:34:04] local.INFO: TCP Data received {"connection_id":171359,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:34:04] local.INFO: Processing buffer {"connection_id":171359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:34:04] local.INFO: Packet analysis {"connection_id":171359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:34:04] local.INFO: Extracted packet for processing {"connection_id":171359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865585152001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788537743000,"timestamp_ms":1788537743000,"timestamp_seconds":1788537743,"priority":1,"record_length":96,"hex_timestamp":"000001a06d282698"} 
[2026-09-04 21:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865585152001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865585152001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:34:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:34:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865585152001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":171359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765497,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:34:04] local.INFO: GPS data processed {"connection_id":171359,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:34:04] local.INFO: Acknowledgment sent {"connection_id":171359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:34:24] local.INFO: TCP Data received {"connection_id":172473,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:34:24] local.INFO: Processing buffer {"connection_id":172473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:34:24] local.INFO: Packet analysis {"connection_id":172473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:34:24] local.INFO: Extracted packet for processing {"connection_id":172473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:34:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865546240001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788537591000,"timestamp_ms":1788537591000,"timestamp_seconds":1788537591,"priority":1,"record_length":96,"hex_timestamp":"000001a06d25d4d8"} 
[2026-09-04 21:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865546240001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865546240001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:34:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:34:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865546240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":172473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:34:24] local.INFO: GPS data processed {"connection_id":172473,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:34:24] local.INFO: Acknowledgment sent {"connection_id":172473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:34:35] local.INFO: TCP Data received {"connection_id":173750,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d285d48012d04404006feebb8001500602f..."} 
[2026-09-04 21:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d285d48012d04404006feebb8001500602f..."} 
[2026-09-04 21:34:35] local.INFO: Processing buffer {"connection_id":173750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d285d48012d04404006feebb8001500602f..."} 
[2026-09-04 21:34:35] local.INFO: Packet analysis {"connection_id":173750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:34:35] local.INFO: Extracted packet for processing {"connection_id":173750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:34:35] local.INFO: GPS Element Parsed {"raw_longitude":755253312,"raw_latitude":117369784,"longitude_deg":75.5253312,"latitude_deg":11.7369784,"altitude":21,"angle":96,"satellites":47,"speed":51,"hex_longitude":"2d044040","hex_latitude":"06feebb8","is_valid_coordinates":true} 
[2026-09-04 21:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865664000001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398672878893006848,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":296393180523311104,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788537757000,"timestamp_ms":1788537757000,"timestamp_seconds":1788537757,"priority":1,"record_length":96,"hex_timestamp":"000001a06d285d48"} 
[2026-09-04 21:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865664000001,"66":27376,"209":206,"94":11008,"24":51,"16":398672878893006848,"45":296393180523311104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,94,24,16,45]} 
[2026-09-04 21:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865664000001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:34:35] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-04 21:34:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398672878893006848,"km_value":398672878893006.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":296393180523311104,"description":"Unknown IO ID 45"} 
[2026-09-04 21:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865664000001,"power":27376,"unknown_209":206,"unknown_94":11008,"ignition":51,"odometer":null,"unknown_45":296393180523311104}} 
[2026-09-04 21:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":173750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:34:35] local.INFO: GPS data processed {"connection_id":173750,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:34:35] local.INFO: Acknowledgment sent {"connection_id":173750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:34:47] local.INFO: TCP Data received {"connection_id":171062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:34:47] local.INFO: Processing buffer {"connection_id":171062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:34:47] local.INFO: IMEI packet received {"connection_id":171062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":171062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:34:48] local.INFO: TCP Data received {"connection_id":173751,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:34:48] local.INFO: Processing buffer {"connection_id":173751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:34:48] local.INFO: IMEI packet received {"connection_id":173751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":173751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:34:52] local.INFO: TCP Data received {"connection_id":171062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:34:52] local.INFO: Processing buffer {"connection_id":171062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:34:52] local.INFO: IMEI packet received {"connection_id":171062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":171062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:34:53] local.INFO: TCP Data received {"connection_id":171062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:34:53] local.INFO: Processing buffer {"connection_id":171062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:34:53] local.INFO: Packet analysis {"connection_id":171062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:34:53] local.INFO: Extracted packet for processing {"connection_id":171062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:34:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865546240001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788537591000,"timestamp_ms":1788537591000,"timestamp_seconds":1788537591,"priority":1,"record_length":96,"hex_timestamp":"000001a06d25d4d8"} 
[2026-09-04 21:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865546240001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865546240001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:34:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:34:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865546240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":171062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:34:53] local.INFO: GPS data processed {"connection_id":171062,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:34:53] local.INFO: Acknowledgment sent {"connection_id":171062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:34:53] local.INFO: TCP Data received {"connection_id":173751,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:34:53] local.INFO: Processing buffer {"connection_id":173751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:34:53] local.INFO: IMEI packet received {"connection_id":173751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":173751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:34:54] local.INFO: TCP Data received {"connection_id":173751,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:34:54] local.INFO: Processing buffer {"connection_id":173751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:34:54] local.INFO: Packet analysis {"connection_id":173751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:34:54] local.INFO: Extracted packet for processing {"connection_id":173751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:34:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865585152001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788537743000,"timestamp_ms":1788537743000,"timestamp_seconds":1788537743,"priority":1,"record_length":96,"hex_timestamp":"000001a06d282698"} 
[2026-09-04 21:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865585152001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865585152001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:34:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:34:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865585152001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":173751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765501,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:34:54] local.INFO: GPS data processed {"connection_id":173751,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:34:54] local.INFO: Acknowledgment sent {"connection_id":173751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:34:58] local.INFO: TCP Data received {"connection_id":171360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:34:58] local.INFO: Processing buffer {"connection_id":171360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:34:58] local.INFO: IMEI packet received {"connection_id":171360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":171360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:35:00] local.INFO: TCP Data received {"connection_id":171360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:35:00] local.INFO: Processing buffer {"connection_id":171360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:35:00] local.INFO: IMEI packet received {"connection_id":171360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":171360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:35:04] local.INFO: TCP Data received {"connection_id":171360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:35:04] local.INFO: Processing buffer {"connection_id":171360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:35:04] local.INFO: IMEI packet received {"connection_id":171360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":171360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:35:05] local.INFO: TCP Data received {"connection_id":171360,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d298df8012d05c50006fe7aa0001b008b2e..."} 
[2026-09-04 21:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d298df8012d05c50006fe7aa0001b008b2e..."} 
[2026-09-04 21:35:05] local.INFO: Processing buffer {"connection_id":171360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d298df8012d05c50006fe7aa0001b008b2e..."} 
[2026-09-04 21:35:05] local.INFO: Packet analysis {"connection_id":171360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d29"} 
[2026-09-04 21:35:05] local.INFO: Extracted packet for processing {"connection_id":171360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d29"} 
[2026-09-04 21:35:05] local.INFO: GPS Element Parsed {"raw_longitude":755352832,"raw_latitude":117340832,"longitude_deg":75.5352832,"latitude_deg":11.7340832,"altitude":27,"angle":139,"satellites":46,"speed":54,"hex_longitude":"2d05c500","hex_latitude":"06fe7aa0","is_valid_coordinates":true} 
[2026-09-04 21:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865683968001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398677925479579648,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":408209115015608320,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788537835000,"timestamp_ms":1788537835000,"timestamp_seconds":1788537835,"priority":1,"record_length":96,"hex_timestamp":"000001a06d298df8"} 
[2026-09-04 21:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 21:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865683968001,"66":27310,"208":206,"94":11008,"24":54,"16":398677925479579648,"45":408209115015608320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-04 21:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865683968001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:35:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 21:35:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398677925479579648,"km_value":398677925479579.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":408209115015608320,"description":"Unknown IO ID 45"} 
[2026-09-04 21:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865683968001,"power":27310,"unknown_208":206,"unknown_94":11008,"ignition":54,"odometer":null,"unknown_45":408209115015608320}} 
[2026-09-04 21:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":171360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:35:05] local.INFO: GPS data processed {"connection_id":171360,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:35:05] local.INFO: Acknowledgment sent {"connection_id":171360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:35:24] local.INFO: TCP Data received {"connection_id":171062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:35:24] local.INFO: Processing buffer {"connection_id":171062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d25d4d8012d1965c0071fef80004701152a..."} 
[2026-09-04 21:35:24] local.INFO: Packet analysis {"connection_id":171062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:35:24] local.INFO: Extracted packet for processing {"connection_id":171062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d25"} 
[2026-09-04 21:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865546240001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788537591000,"timestamp_ms":1788537591000,"timestamp_seconds":1788537591,"priority":1,"record_length":96,"hex_timestamp":"000001a06d25d4d8"} 
[2026-09-04 21:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865546240001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865546240001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:35:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:35:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865546240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":171062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:35:24] local.INFO: GPS data processed {"connection_id":171062,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:35:24] local.INFO: Acknowledgment sent {"connection_id":171062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:35:26] local.INFO: TCP Data received {"connection_id":173751,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:35:26] local.INFO: Processing buffer {"connection_id":173751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:35:26] local.INFO: Packet analysis {"connection_id":173751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:35:26] local.INFO: Extracted packet for processing {"connection_id":173751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:35:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865585152001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788537743000,"timestamp_ms":1788537743000,"timestamp_seconds":1788537743,"priority":1,"record_length":96,"hex_timestamp":"000001a06d282698"} 
[2026-09-04 21:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865585152001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865585152001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:35:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:35:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865585152001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":173751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765504,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:35:26] local.INFO: GPS data processed {"connection_id":173751,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:35:26] local.INFO: Acknowledgment sent {"connection_id":173751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:35:36] local.INFO: TCP Data received {"connection_id":171360,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d29a950012d05dc0006fe5d08001b009030..."} 
[2026-09-04 21:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d29a950012d05dc0006fe5d08001b009030..."} 
[2026-09-04 21:35:36] local.INFO: Processing buffer {"connection_id":171360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d29a950012d05dc0006fe5d08001b009030..."} 
[2026-09-04 21:35:36] local.INFO: Packet analysis {"connection_id":171360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d29"} 
[2026-09-04 21:35:36] local.INFO: Extracted packet for processing {"connection_id":171360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d29"} 
[2026-09-04 21:35:36] local.INFO: GPS Element Parsed {"raw_longitude":755358720,"raw_latitude":117333256,"longitude_deg":75.535872,"latitude_deg":11.7333256,"altitude":27,"angle":144,"satellites":48,"speed":54,"hex_longitude":"2d05dc00","hex_latitude":"06fe5d08","is_valid_coordinates":true} 
[2026-09-04 21:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865685760001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398678389336047616,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415738570640891904,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788537842000,"timestamp_ms":1788537842000,"timestamp_seconds":1788537842,"priority":1,"record_length":96,"hex_timestamp":"000001a06d29a950"} 
[2026-09-04 21:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 21:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865685760001,"66":27234,"208":206,"94":11008,"24":54,"16":398678389336047616,"45":415738570640891904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-04 21:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865685760001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:35:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 21:35:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398678389336047616,"km_value":398678389336047.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":415738570640891904,"description":"Unknown IO ID 45"} 
[2026-09-04 21:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865685760001,"power":27234,"unknown_208":206,"unknown_94":11008,"ignition":54,"odometer":null,"unknown_45":415738570640891904}} 
[2026-09-04 21:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":171360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:35:36] local.INFO: GPS data processed {"connection_id":171360,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:35:36] local.INFO: Acknowledgment sent {"connection_id":171360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:35:47] local.INFO: TCP Data received {"connection_id":172475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:35:47] local.INFO: Processing buffer {"connection_id":172475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:35:47] local.INFO: IMEI packet received {"connection_id":172475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":172475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:35:49] local.INFO: TCP Data received {"connection_id":172474,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:35:49] local.INFO: Processing buffer {"connection_id":172474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:35:49] local.INFO: IMEI packet received {"connection_id":172474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":172474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:35:52] local.INFO: TCP Data received {"connection_id":172475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:35:52] local.INFO: Processing buffer {"connection_id":172475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:35:52] local.INFO: IMEI packet received {"connection_id":172475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":172475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:35:53] local.INFO: TCP Data received {"connection_id":172475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:35:53] local.INFO: Processing buffer {"connection_id":172475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:35:53] local.INFO: Packet analysis {"connection_id":172475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:35:53] local.INFO: Extracted packet for processing {"connection_id":172475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:35:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865623296001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788537892000,"timestamp_ms":1788537892000,"timestamp_seconds":1788537892,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2a6ca0"} 
[2026-09-04 21:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865623296001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865623296001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:35:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:35:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865623296001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":172475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:35:53] local.INFO: GPS data processed {"connection_id":172475,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:35:53] local.INFO: Acknowledgment sent {"connection_id":172475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:35:53] local.INFO: TCP Data received {"connection_id":172474,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:35:53] local.INFO: Processing buffer {"connection_id":172474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:35:53] local.INFO: IMEI packet received {"connection_id":172474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":172474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:35:55] local.INFO: TCP Data received {"connection_id":172474,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:35:55] local.INFO: Processing buffer {"connection_id":172474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:35:55] local.INFO: Packet analysis {"connection_id":172474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:35:55] local.INFO: Extracted packet for processing {"connection_id":172474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865585152001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788537743000,"timestamp_ms":1788537743000,"timestamp_seconds":1788537743,"priority":1,"record_length":96,"hex_timestamp":"000001a06d282698"} 
[2026-09-04 21:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865585152001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865585152001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:35:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865585152001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":172474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765507,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:35:55] local.INFO: GPS data processed {"connection_id":172474,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:35:55] local.INFO: Acknowledgment sent {"connection_id":172474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:36:00] local.INFO: TCP Data received {"connection_id":171361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:36:00] local.INFO: Processing buffer {"connection_id":171361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:36:00] local.INFO: IMEI packet received {"connection_id":171361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":171361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:36:02] local.INFO: TCP Data received {"connection_id":171361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:36:02] local.INFO: Processing buffer {"connection_id":171361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:36:02] local.INFO: IMEI packet received {"connection_id":171361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":171361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:36:03] local.INFO: TCP Data received {"connection_id":171361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:36:03] local.INFO: Processing buffer {"connection_id":171361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:36:03] local.INFO: IMEI packet received {"connection_id":171361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":171361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:36:14] local.INFO: TCP Data received {"connection_id":171361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:36:14] local.INFO: Processing buffer {"connection_id":171361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:36:14] local.INFO: IMEI packet received {"connection_id":171361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":171361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:36:15] local.INFO: TCP Data received {"connection_id":171361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d29c4a8012d05f1c006fe3d58001b00902e..."} 
[2026-09-04 21:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d29c4a8012d05f1c006fe3d58001b00902e..."} 
[2026-09-04 21:36:15] local.INFO: Processing buffer {"connection_id":171361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d29c4a8012d05f1c006fe3d58001b00902e..."} 
[2026-09-04 21:36:15] local.INFO: Packet analysis {"connection_id":171361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d29"} 
[2026-09-04 21:36:15] local.INFO: Extracted packet for processing {"connection_id":171361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d29"} 
[2026-09-04 21:36:15] local.INFO: GPS Element Parsed {"raw_longitude":755364288,"raw_latitude":117325144,"longitude_deg":75.5364288,"latitude_deg":11.7325144,"altitude":27,"angle":144,"satellites":46,"speed":56,"hex_longitude":"2d05f1c0","hex_latitude":"06fe3d58","is_valid_coordinates":true} 
[2026-09-04 21:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865687552001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398678861782450176,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":422212495103297536,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788537849000,"timestamp_ms":1788537849000,"timestamp_seconds":1788537849,"priority":1,"record_length":96,"hex_timestamp":"000001a06d29c4a8"} 
[2026-09-04 21:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 21:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865687552001,"66":27234,"208":206,"94":11008,"24":56,"16":398678861782450176,"45":422212495103297536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-04 21:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865687552001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:36:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 21:36:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398678861782450176,"km_value":398678861782450.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":422212495103297536,"description":"Unknown IO ID 45"} 
[2026-09-04 21:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865687552001,"power":27234,"unknown_208":206,"unknown_94":11008,"ignition":56,"odometer":null,"unknown_45":422212495103297536}} 
[2026-09-04 21:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":171361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:36:15] local.INFO: GPS data processed {"connection_id":171361,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:36:15] local.INFO: Acknowledgment sent {"connection_id":171361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:36:17] local.INFO: TCP Data received {"connection_id":171361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d29e000012d060a4006fe1dd0001b008e2d..."} 
[2026-09-04 21:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d29e000012d060a4006fe1dd0001b008e2d..."} 
[2026-09-04 21:36:17] local.INFO: Processing buffer {"connection_id":171361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d29e000012d060a4006fe1dd0001b008e2d..."} 
[2026-09-04 21:36:17] local.INFO: Packet analysis {"connection_id":171361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d29"} 
[2026-09-04 21:36:17] local.INFO: Extracted packet for processing {"connection_id":171361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d29"} 
[2026-09-04 21:36:17] local.INFO: GPS Element Parsed {"raw_longitude":755370560,"raw_latitude":117317072,"longitude_deg":75.537056,"latitude_deg":11.7317072,"altitude":27,"angle":142,"satellites":45,"speed":58,"hex_longitude":"2d060a40","hex_latitude":"06fe1dd0","is_valid_coordinates":true} 
[2026-09-04 21:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865689344001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398679351408721920,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":428334575844677632,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788537856000,"timestamp_ms":1788537856000,"timestamp_seconds":1788537856,"priority":1,"record_length":96,"hex_timestamp":"000001a06d29e000"} 
[2026-09-04 21:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 21:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865689344001,"66":27376,"208":206,"94":11008,"24":58,"16":398679351408721920,"45":428334575844677632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-04 21:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865689344001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:36:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 21:36:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398679351408721920,"km_value":398679351408721.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":428334575844677632,"description":"Unknown IO ID 45"} 
[2026-09-04 21:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865689344001,"power":27376,"unknown_208":206,"unknown_94":11008,"ignition":58,"odometer":null,"unknown_45":428334575844677632}} 
[2026-09-04 21:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":171361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:36:17] local.INFO: GPS data processed {"connection_id":171361,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:36:17] local.INFO: Acknowledgment sent {"connection_id":171361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:36:24] local.INFO: TCP Data received {"connection_id":172475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:36:24] local.INFO: Processing buffer {"connection_id":172475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:36:24] local.INFO: Packet analysis {"connection_id":172475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:36:24] local.INFO: Extracted packet for processing {"connection_id":172475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:36:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865623296001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788537892000,"timestamp_ms":1788537892000,"timestamp_seconds":1788537892,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2a6ca0"} 
[2026-09-04 21:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865623296001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865623296001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:36:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:36:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865623296001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":172475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:36:24] local.INFO: GPS data processed {"connection_id":172475,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:36:24] local.INFO: Acknowledgment sent {"connection_id":172475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:36:26] local.INFO: TCP Data received {"connection_id":172474,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:36:26] local.INFO: Processing buffer {"connection_id":172474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:36:26] local.INFO: Packet analysis {"connection_id":172474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:36:26] local.INFO: Extracted packet for processing {"connection_id":172474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:36:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865585152001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788537743000,"timestamp_ms":1788537743000,"timestamp_seconds":1788537743,"priority":1,"record_length":96,"hex_timestamp":"000001a06d282698"} 
[2026-09-04 21:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865585152001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865585152001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:36:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:36:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865585152001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":172474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765511,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:36:26] local.INFO: GPS data processed {"connection_id":172474,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:36:26] local.INFO: Acknowledgment sent {"connection_id":172474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:36:48] local.INFO: TCP Data received {"connection_id":172476,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:36:48] local.INFO: Processing buffer {"connection_id":172476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:36:48] local.INFO: IMEI packet received {"connection_id":172476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":172476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:36:52] local.INFO: TCP Data received {"connection_id":173752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:36:52] local.INFO: Processing buffer {"connection_id":173752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:36:52] local.INFO: IMEI packet received {"connection_id":173752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":173752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:36:53] local.INFO: TCP Data received {"connection_id":172476,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:36:53] local.INFO: Processing buffer {"connection_id":172476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:36:53] local.INFO: IMEI packet received {"connection_id":172476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":172476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:36:55] local.INFO: TCP Data received {"connection_id":172476,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:36:55] local.INFO: Processing buffer {"connection_id":172476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:36:55] local.INFO: Packet analysis {"connection_id":172476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:36:55] local.INFO: Extracted packet for processing {"connection_id":172476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:36:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865585152001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788537743000,"timestamp_ms":1788537743000,"timestamp_seconds":1788537743,"priority":1,"record_length":96,"hex_timestamp":"000001a06d282698"} 
[2026-09-04 21:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865585152001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865585152001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:36:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865585152001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":172476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:36:55] local.INFO: GPS data processed {"connection_id":172476,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:36:55] local.INFO: Acknowledgment sent {"connection_id":172476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:36:57] local.INFO: TCP Data received {"connection_id":173752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:36:57] local.INFO: Processing buffer {"connection_id":173752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:36:57] local.INFO: IMEI packet received {"connection_id":173752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":173752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:36:58] local.INFO: TCP Data received {"connection_id":173752,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:36:58] local.INFO: Processing buffer {"connection_id":173752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:36:58] local.INFO: Packet analysis {"connection_id":173752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:36:58] local.INFO: Extracted packet for processing {"connection_id":173752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865623296001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788537892000,"timestamp_ms":1788537892000,"timestamp_seconds":1788537892,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2a6ca0"} 
[2026-09-04 21:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865623296001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865623296001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:36:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865623296001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":173752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:36:58] local.INFO: GPS data processed {"connection_id":173752,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:36:58] local.INFO: Acknowledgment sent {"connection_id":173752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:37:03] local.INFO: TCP Data received {"connection_id":173752,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:37:03] local.INFO: Processing buffer {"connection_id":173752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:37:03] local.INFO: Packet analysis {"connection_id":173752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:37:03] local.INFO: Extracted packet for processing {"connection_id":173752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865623296001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788537892000,"timestamp_ms":1788537892000,"timestamp_seconds":1788537892,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2a6ca0"} 
[2026-09-04 21:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865623296001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865623296001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:37:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865623296001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":173752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:37:03] local.INFO: GPS data processed {"connection_id":173752,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:37:03] local.INFO: Acknowledgment sent {"connection_id":173752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:37:07] local.INFO: TCP Data received {"connection_id":171362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:37:07] local.INFO: Processing buffer {"connection_id":171362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:37:07] local.INFO: IMEI packet received {"connection_id":171362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":171362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:37:08] local.INFO: TCP Data received {"connection_id":171362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:37:08] local.INFO: Processing buffer {"connection_id":171362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:37:08] local.INFO: IMEI packet received {"connection_id":171362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":171362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:37:09] local.INFO: TCP Data received {"connection_id":171362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d29f770012d06204006fe02a0001b008b2c..."} 
[2026-09-04 21:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d29f770012d06204006fe02a0001b008b2c..."} 
[2026-09-04 21:37:09] local.INFO: Processing buffer {"connection_id":171362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d29f770012d06204006fe02a0001b008b2c..."} 
[2026-09-04 21:37:09] local.INFO: Packet analysis {"connection_id":171362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d29"} 
[2026-09-04 21:37:09] local.INFO: Extracted packet for processing {"connection_id":171362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d29"} 
[2026-09-04 21:37:09] local.INFO: GPS Element Parsed {"raw_longitude":755376192,"raw_latitude":117310112,"longitude_deg":75.5376192,"latitude_deg":11.7310112,"altitude":27,"angle":139,"satellites":44,"speed":59,"hex_longitude":"2d062040","hex_latitude":"06fe02a0","is_valid_coordinates":true} 
[2026-09-04 21:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865691136001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398679785200418816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":435230712772022272,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788537862000,"timestamp_ms":1788537862000,"timestamp_seconds":1788537862,"priority":1,"record_length":96,"hex_timestamp":"000001a06d29f770"} 
[2026-09-04 21:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865691136001,"66":27484,"208":206,"94":11008,"24":59,"16":398679785200418816,"45":435230712772022272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-04 21:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865691136001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:37:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 21:37:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398679785200418816,"km_value":398679785200418.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":435230712772022272,"description":"Unknown IO ID 45"} 
[2026-09-04 21:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865691136001,"power":27484,"unknown_208":206,"unknown_94":11008,"ignition":59,"odometer":null,"unknown_45":435230712772022272}} 
[2026-09-04 21:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":171362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:37:09] local.INFO: GPS data processed {"connection_id":171362,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:37:09] local.INFO: Acknowledgment sent {"connection_id":171362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:37:11] local.INFO: TCP Data received {"connection_id":171362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2a12c8012d06384006fde6e8001b008b2b..."} 
[2026-09-04 21:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2a12c8012d06384006fde6e8001b008b2b..."} 
[2026-09-04 21:37:11] local.INFO: Processing buffer {"connection_id":171362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2a12c8012d06384006fde6e8001b008b2b..."} 
[2026-09-04 21:37:11] local.INFO: Packet analysis {"connection_id":171362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:37:11] local.INFO: Extracted packet for processing {"connection_id":171362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:37:11] local.INFO: GPS Element Parsed {"raw_longitude":755382336,"raw_latitude":117303016,"longitude_deg":75.5382336,"latitude_deg":11.7303016,"altitude":27,"angle":139,"satellites":43,"speed":41,"hex_longitude":"2d063840","hex_latitude":"06fde6e8","is_valid_coordinates":true} 
[2026-09-04 21:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865692672001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398680231877017600,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":441423162257874944,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788537869000,"timestamp_ms":1788537869000,"timestamp_seconds":1788537869,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2a12c8"} 
[2026-09-04 21:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 21:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865692672001,"66":26876,"208":206,"94":11008,"24":41,"16":398680231877017600,"45":441423162257874944},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-04 21:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865692672001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:37:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 21:37:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398680231877017600,"km_value":398680231877017.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":441423162257874944,"description":"Unknown IO ID 45"} 
[2026-09-04 21:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865692672001,"power":26876,"unknown_208":206,"unknown_94":11008,"ignition":41,"odometer":null,"unknown_45":441423162257874944}} 
[2026-09-04 21:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":171362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:37:11] local.INFO: GPS data processed {"connection_id":171362,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:37:11] local.INFO: Acknowledgment sent {"connection_id":171362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:37:27] local.INFO: TCP Data received {"connection_id":172476,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:37:27] local.INFO: Processing buffer {"connection_id":172476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:37:27] local.INFO: Packet analysis {"connection_id":172476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:37:27] local.INFO: Extracted packet for processing {"connection_id":172476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:37:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865585152001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788537743000,"timestamp_ms":1788537743000,"timestamp_seconds":1788537743,"priority":1,"record_length":96,"hex_timestamp":"000001a06d282698"} 
[2026-09-04 21:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865585152001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865585152001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:37:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:37:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865585152001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":172476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765517,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:37:27] local.INFO: GPS data processed {"connection_id":172476,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:37:27] local.INFO: Acknowledgment sent {"connection_id":172476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:37:47] local.INFO: TCP Data received {"connection_id":171063,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:37:47] local.INFO: Processing buffer {"connection_id":171063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:37:47] local.INFO: IMEI packet received {"connection_id":171063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":171063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:37:48] local.INFO: TCP Data received {"connection_id":171363,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:37:48] local.INFO: Processing buffer {"connection_id":171363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:37:48] local.INFO: IMEI packet received {"connection_id":171363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":171363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:37:48] local.INFO: TCP Data received {"connection_id":171362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2a3dc0012d064c0006fdd2580018007f28..."} 
[2026-09-04 21:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2a3dc0012d064c0006fdd2580018007f28..."} 
[2026-09-04 21:37:48] local.INFO: Processing buffer {"connection_id":171362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2a3dc0012d064c0006fdd2580018007f28..."} 
[2026-09-04 21:37:48] local.INFO: Packet analysis {"connection_id":171362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:37:48] local.INFO: Extracted packet for processing {"connection_id":171362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:37:48] local.INFO: GPS Element Parsed {"raw_longitude":755387392,"raw_latitude":117297752,"longitude_deg":75.5387392,"latitude_deg":11.7297752,"altitude":24,"angle":127,"satellites":40,"speed":10,"hex_longitude":"2d064c00","hex_latitude":"06fdd258","is_valid_coordinates":true} 
[2026-09-04 21:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865694464001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398680588359303168,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":448178561697114112,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788537880000,"timestamp_ms":1788537880000,"timestamp_seconds":1788537880,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2a3dc0"} 
[2026-09-04 21:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-04 21:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":171362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":171362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":171362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865694464001,"66":27539,"208":206,"94":11008,"24":10,"16":398680588359303168,"45":448178561697114112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-04 21:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865694464001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:37:48] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 21:37:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398680588359303168,"km_value":398680588359303.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":448178561697114112,"description":"Unknown IO ID 45"} 
[2026-09-04 21:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865694464001,"power":27539,"unknown_208":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":448178561697114112}} 
[2026-09-04 21:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":171362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:37:48] local.INFO: GPS data processed {"connection_id":171362,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:37:48] local.INFO: Acknowledgment sent {"connection_id":171362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:37:52] local.INFO: TCP Data received {"connection_id":171063,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:37:52] local.INFO: Processing buffer {"connection_id":171063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:37:52] local.INFO: IMEI packet received {"connection_id":171063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":171063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:37:53] local.INFO: TCP Data received {"connection_id":171363,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:37:53] local.INFO: Processing buffer {"connection_id":171363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:37:53] local.INFO: IMEI packet received {"connection_id":171363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":171363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:37:53] local.INFO: TCP Data received {"connection_id":171063,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:37:53] local.INFO: Processing buffer {"connection_id":171063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:37:53] local.INFO: Packet analysis {"connection_id":171063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:37:53] local.INFO: Extracted packet for processing {"connection_id":171063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:37:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865623296001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788537892000,"timestamp_ms":1788537892000,"timestamp_seconds":1788537892,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2a6ca0"} 
[2026-09-04 21:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865623296001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865623296001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:37:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:37:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865623296001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":171063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:37:53] local.INFO: GPS data processed {"connection_id":171063,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:37:53] local.INFO: Acknowledgment sent {"connection_id":171063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:37:54] local.INFO: TCP Data received {"connection_id":171363,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:37:54] local.INFO: Processing buffer {"connection_id":171363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d282698012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:37:54] local.INFO: Packet analysis {"connection_id":171363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:37:54] local.INFO: Extracted packet for processing {"connection_id":171363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d28"} 
[2026-09-04 21:37:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865585152001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788537743000,"timestamp_ms":1788537743000,"timestamp_seconds":1788537743,"priority":1,"record_length":96,"hex_timestamp":"000001a06d282698"} 
[2026-09-04 21:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865585152001,"66":25375,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865585152001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:37:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:37:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865585152001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":171363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765520,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:37:54] local.INFO: GPS data processed {"connection_id":171363,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:37:54] local.INFO: Acknowledgment sent {"connection_id":171363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:37:58] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:37:58] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:37:58] local.INFO: IMEI packet received {"connection_id":173753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":173753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:38:03] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:38:03] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:38:03] local.INFO: IMEI packet received {"connection_id":173753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":173753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:38:04] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2a8fc8012d064e8006fdd0b80017007a29..."} 
[2026-09-04 21:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2a8fc8012d064e8006fdd0b80017007a29..."} 
[2026-09-04 21:38:04] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2a8fc8012d064e8006fdd0b80017007a29..."} 
[2026-09-04 21:38:04] local.INFO: Packet analysis {"connection_id":173753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:38:04] local.INFO: Extracted packet for processing {"connection_id":173753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:38:04] local.INFO: GPS Element Parsed {"raw_longitude":755388032,"raw_latitude":117297336,"longitude_deg":75.5388032,"latitude_deg":11.7297336,"altitude":23,"angle":122,"satellites":41,"speed":0,"hex_longitude":"2d064e80","hex_latitude":"06fdd0b8","is_valid_coordinates":true} 
[2026-09-04 21:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865697280001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398680622719041536,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":453737692485801984,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788537901000,"timestamp_ms":1788537901000,"timestamp_seconds":1788537901,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2a8fc8"} 
[2026-09-04 21:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-04 21:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865697280001,"66":27300,"208":206,"94":11008,"24":0,"16":398680622719041536,"45":453737692485801984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-04 21:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865697280001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:38:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 21:38:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398680622719041536,"km_value":398680622719041.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":453737692485801984,"description":"Unknown IO ID 45"} 
[2026-09-04 21:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865697280001,"power":27300,"unknown_208":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":453737692485801984}} 
[2026-09-04 21:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":173753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:38:04] local.INFO: GPS data processed {"connection_id":173753,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:38:04] local.INFO: Acknowledgment sent {"connection_id":173753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:38:24] local.INFO: TCP Data received {"connection_id":171063,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:38:24] local.INFO: Processing buffer {"connection_id":171063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:38:24] local.INFO: Packet analysis {"connection_id":171063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:38:24] local.INFO: Extracted packet for processing {"connection_id":171063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:38:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865623296001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788537892000,"timestamp_ms":1788537892000,"timestamp_seconds":1788537892,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2a6ca0"} 
[2026-09-04 21:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865623296001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865623296001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:38:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:38:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865623296001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":171063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:38:24] local.INFO: GPS data processed {"connection_id":171063,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:38:24] local.INFO: Acknowledgment sent {"connection_id":171063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:38:25] local.INFO: TCP Data received {"connection_id":171363,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:38:25] local.INFO: Processing buffer {"connection_id":171363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:38:25] local.INFO: Packet analysis {"connection_id":171363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:38:25] local.INFO: Extracted packet for processing {"connection_id":171363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865662208001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788538044000,"timestamp_ms":1788538044000,"timestamp_seconds":1788538044,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2cbe60"} 
[2026-09-04 21:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865662208001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865662208001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:38:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:38:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865662208001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":171363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765523,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:38:25] local.INFO: GPS data processed {"connection_id":171363,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:38:25] local.INFO: Acknowledgment sent {"connection_id":171363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:38:35] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2ae1d0012d06518006fdcd18001a007a28..."} 
[2026-09-04 21:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2ae1d0012d06518006fdcd18001a007a28..."} 
[2026-09-04 21:38:35] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2ae1d0012d06518006fdcd18001a007a28..."} 
[2026-09-04 21:38:35] local.INFO: Packet analysis {"connection_id":173753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:38:35] local.INFO: Extracted packet for processing {"connection_id":173753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:38:35] local.INFO: GPS Element Parsed {"raw_longitude":755388800,"raw_latitude":117296408,"longitude_deg":75.53888,"latitude_deg":11.7296408,"altitude":26,"angle":122,"satellites":40,"speed":3,"hex_longitude":"2d065180","hex_latitude":"06fdcd18","is_valid_coordinates":true} 
[2026-09-04 21:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865702656001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398680682848583680,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":454441379927472128,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788537922000,"timestamp_ms":1788537922000,"timestamp_seconds":1788537922,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2ae1d0"} 
[2026-09-04 21:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 21:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865702656001,"66":27213,"208":206,"94":11008,"24":3,"16":398680682848583680,"45":454441379927472128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-04 21:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865702656001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:38:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 21:38:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398680682848583680,"km_value":398680682848583.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":454441379927472128,"description":"Unknown IO ID 45"} 
[2026-09-04 21:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865702656001,"power":27213,"unknown_208":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":454441379927472128}} 
[2026-09-04 21:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":173753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:38:35] local.INFO: GPS data processed {"connection_id":173753,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:38:35] local.INFO: Acknowledgment sent {"connection_id":173753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:38:47] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:38:47] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:38:47] local.INFO: IMEI packet received {"connection_id":173754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":173754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:38:48] local.INFO: TCP Data received {"connection_id":172477,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:38:48] local.INFO: Processing buffer {"connection_id":172477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:38:48] local.INFO: IMEI packet received {"connection_id":172477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":172477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:38:52] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:38:52] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:38:52] local.INFO: IMEI packet received {"connection_id":173754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":173754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:38:53] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:38:53] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:38:53] local.INFO: Packet analysis {"connection_id":173754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:38:53] local.INFO: Extracted packet for processing {"connection_id":173754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:38:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865623296001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788537892000,"timestamp_ms":1788537892000,"timestamp_seconds":1788537892,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2a6ca0"} 
[2026-09-04 21:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865623296001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865623296001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:38:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:38:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865623296001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":173754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:38:53] local.INFO: GPS data processed {"connection_id":173754,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:38:53] local.INFO: Acknowledgment sent {"connection_id":173754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:38:53] local.INFO: TCP Data received {"connection_id":172477,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:38:53] local.INFO: Processing buffer {"connection_id":172477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:38:53] local.INFO: IMEI packet received {"connection_id":172477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":172477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:38:56] local.INFO: TCP Data received {"connection_id":172477,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:38:56] local.INFO: Processing buffer {"connection_id":172477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:38:56] local.INFO: Packet analysis {"connection_id":172477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:38:56] local.INFO: Extracted packet for processing {"connection_id":172477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:38:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865662208001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788538044000,"timestamp_ms":1788538044000,"timestamp_seconds":1788538044,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2cbe60"} 
[2026-09-04 21:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865662208001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865662208001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:38:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:38:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865662208001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":172477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765526,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:38:56] local.INFO: GPS data processed {"connection_id":172477,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:38:56] local.INFO: Acknowledgment sent {"connection_id":172477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:38:58] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:38:58] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:38:58] local.INFO: IMEI packet received {"connection_id":173755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":173755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:39:01] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:39:01] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:39:01] local.INFO: IMEI packet received {"connection_id":173755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":173755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:39:03] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:39:03] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:39:03] local.INFO: IMEI packet received {"connection_id":173755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":173755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:39:05] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2ae9a0012d06520006fdcc58001a008729..."} 
[2026-09-04 21:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2ae9a0012d06520006fdcc58001a008729..."} 
[2026-09-04 21:39:05] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2ae9a0012d06520006fdcc58001a008729..."} 
[2026-09-04 21:39:05] local.INFO: Packet analysis {"connection_id":173755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:39:05] local.INFO: Extracted packet for processing {"connection_id":173755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":755388928,"raw_latitude":117296216,"longitude_deg":75.5388928,"latitude_deg":11.7296216,"altitude":26,"angle":135,"satellites":41,"speed":5,"hex_longitude":"2d065200","hex_latitude":"06fdcc58","is_valid_coordinates":true} 
[2026-09-04 21:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865708032001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398680695733485568,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":455285804857366528,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788537924000,"timestamp_ms":1788537924000,"timestamp_seconds":1788537924,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2ae9a0"} 
[2026-09-04 21:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 21:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865708032001,"66":27321,"208":206,"94":11008,"24":5,"16":398680695733485568,"45":455285804857366528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-04 21:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865708032001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:39:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 21:39:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398680695733485568,"km_value":398680695733485.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":455285804857366528,"description":"Unknown IO ID 45"} 
[2026-09-04 21:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865708032001,"power":27321,"unknown_208":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":455285804857366528}} 
[2026-09-04 21:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":173755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:39:05] local.INFO: GPS data processed {"connection_id":173755,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:39:05] local.INFO: Acknowledgment sent {"connection_id":173755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:39:10] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2b3ba8012d0655c006fdc7d8001c008a2e..."} 
[2026-09-04 21:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2b3ba8012d0655c006fdc7d8001c008a2e..."} 
[2026-09-04 21:39:10] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2b3ba8012d0655c006fdc7d8001c008a2e..."} 
[2026-09-04 21:39:10] local.INFO: Packet analysis {"connection_id":173755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2b"} 
[2026-09-04 21:39:10] local.INFO: Extracted packet for processing {"connection_id":173755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2b"} 
[2026-09-04 21:39:10] local.INFO: GPS Element Parsed {"raw_longitude":755389888,"raw_latitude":117295064,"longitude_deg":75.5389888,"latitude_deg":11.7295064,"altitude":28,"angle":138,"satellites":46,"speed":0,"hex_longitude":"2d0655c0","hex_latitude":"06fdc7d8","is_valid_coordinates":true} 
[2026-09-04 21:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865708544001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398680768747929600,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":455426542345672704,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788537945000,"timestamp_ms":1788537945000,"timestamp_seconds":1788537945,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2b3ba8"} 
[2026-09-04 21:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 21:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865708544001,"66":27267,"208":206,"94":11008,"24":0,"16":398680768747929600,"45":455426542345672704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-04 21:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865708544001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:39:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 21:39:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398680768747929600,"km_value":398680768747929.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":455426542345672704,"description":"Unknown IO ID 45"} 
[2026-09-04 21:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865708544001,"power":27267,"unknown_208":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":455426542345672704}} 
[2026-09-04 21:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":173755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:39:10] local.INFO: GPS data processed {"connection_id":173755,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:39:10] local.INFO: Acknowledgment sent {"connection_id":173755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:39:24] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:39:24] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:39:24] local.INFO: Packet analysis {"connection_id":173754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:39:24] local.INFO: Extracted packet for processing {"connection_id":173754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:39:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865623296001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788537892000,"timestamp_ms":1788537892000,"timestamp_seconds":1788537892,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2a6ca0"} 
[2026-09-04 21:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865623296001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865623296001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:39:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865623296001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":173754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:39:24] local.INFO: GPS data processed {"connection_id":173754,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:39:24] local.INFO: Acknowledgment sent {"connection_id":173754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:39:28] local.INFO: TCP Data received {"connection_id":172477,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:39:28] local.INFO: Processing buffer {"connection_id":172477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:39:28] local.INFO: Packet analysis {"connection_id":172477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:39:28] local.INFO: Extracted packet for processing {"connection_id":172477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:39:28] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865662208001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788538044000,"timestamp_ms":1788538044000,"timestamp_seconds":1788538044,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2cbe60"} 
[2026-09-04 21:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865662208001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865662208001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:39:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:39:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865662208001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":172477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:39:28] local.INFO: GPS data processed {"connection_id":172477,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:39:28] local.INFO: Acknowledgment sent {"connection_id":172477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:39:42] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2b8db0012d065c0006fdc150001c00912f..."} 
[2026-09-04 21:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2b8db0012d065c0006fdc150001c00912f..."} 
[2026-09-04 21:39:42] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2b8db0012d065c0006fdc150001c00912f..."} 
[2026-09-04 21:39:42] local.INFO: Packet analysis {"connection_id":173755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2b"} 
[2026-09-04 21:39:42] local.INFO: Extracted packet for processing {"connection_id":173755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2b"} 
[2026-09-04 21:39:42] local.INFO: GPS Element Parsed {"raw_longitude":755391488,"raw_latitude":117293392,"longitude_deg":75.5391488,"latitude_deg":11.7293392,"altitude":28,"angle":145,"satellites":47,"speed":7,"hex_longitude":"2d065c00","hex_latitude":"06fdc150","is_valid_coordinates":true} 
[2026-09-04 21:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865713920001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398680884712046592,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":456482073508042752,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788537966000,"timestamp_ms":1788537966000,"timestamp_seconds":1788537966,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2b8db0"} 
[2026-09-04 21:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 21:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865713920001,"66":27180,"208":206,"94":11008,"24":7,"16":398680884712046592,"45":456482073508042752},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-04 21:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865713920001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:39:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 21:39:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398680884712046592,"km_value":398680884712046.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":456482073508042752,"description":"Unknown IO ID 45"} 
[2026-09-04 21:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865713920001,"power":27180,"unknown_208":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":456482073508042752}} 
[2026-09-04 21:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":173755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:39:42] local.INFO: GPS data processed {"connection_id":173755,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:39:42] local.INFO: Acknowledgment sent {"connection_id":173755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:39:47] local.INFO: TCP Data received {"connection_id":171364,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:39:47] local.INFO: Processing buffer {"connection_id":171364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:39:47] local.INFO: IMEI packet received {"connection_id":171364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":171364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:39:48] local.INFO: TCP Data received {"connection_id":171064,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:39:48] local.INFO: Processing buffer {"connection_id":171064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:39:48] local.INFO: IMEI packet received {"connection_id":171064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":171064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:39:52] local.INFO: TCP Data received {"connection_id":171364,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:39:52] local.INFO: Processing buffer {"connection_id":171364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:39:52] local.INFO: IMEI packet received {"connection_id":171364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":171364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:39:53] local.INFO: TCP Data received {"connection_id":171364,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:39:53] local.INFO: Processing buffer {"connection_id":171364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:39:53] local.INFO: Packet analysis {"connection_id":171364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:39:53] local.INFO: Extracted packet for processing {"connection_id":171364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:39:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865623296001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788537892000,"timestamp_ms":1788537892000,"timestamp_seconds":1788537892,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2a6ca0"} 
[2026-09-04 21:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865623296001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865623296001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:39:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:39:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865623296001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":171364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:39:53] local.INFO: GPS data processed {"connection_id":171364,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:39:53] local.INFO: Acknowledgment sent {"connection_id":171364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:39:53] local.INFO: TCP Data received {"connection_id":171064,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:39:53] local.INFO: Processing buffer {"connection_id":171064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:39:53] local.INFO: IMEI packet received {"connection_id":171064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":171064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:39:54] local.INFO: TCP Data received {"connection_id":171064,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:39:54] local.INFO: Processing buffer {"connection_id":171064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:39:54] local.INFO: Packet analysis {"connection_id":171064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:39:54] local.INFO: Extracted packet for processing {"connection_id":171064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:39:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865662208001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788538044000,"timestamp_ms":1788538044000,"timestamp_seconds":1788538044,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2cbe60"} 
[2026-09-04 21:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171064,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171064,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865662208001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865662208001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:39:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:39:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865662208001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":171064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765533,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:39:55] local.INFO: GPS data processed {"connection_id":171064,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:39:55] local.INFO: Acknowledgment sent {"connection_id":171064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:39:58] local.INFO: TCP Data received {"connection_id":171365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:39:58] local.INFO: Processing buffer {"connection_id":171365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:39:58] local.INFO: IMEI packet received {"connection_id":171365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":171365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:40:02] local.INFO: TCP Data received {"connection_id":171365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:40:02] local.INFO: Processing buffer {"connection_id":171365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:40:02] local.INFO: IMEI packet received {"connection_id":171365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":171365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:40:03] local.INFO: TCP Data received {"connection_id":171365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:40:03] local.INFO: Processing buffer {"connection_id":171365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:40:03] local.INFO: IMEI packet received {"connection_id":171365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":171365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:40:04] local.INFO: TCP Data received {"connection_id":171365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2bdfb8012d0662c006fdb8d00019008c2c..."} 
[2026-09-04 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2bdfb8012d0662c006fdb8d00019008c2c..."} 
[2026-09-04 21:40:04] local.INFO: Processing buffer {"connection_id":171365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2bdfb8012d0662c006fdb8d00019008c2c..."} 
[2026-09-04 21:40:04] local.INFO: Packet analysis {"connection_id":171365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2b"} 
[2026-09-04 21:40:04] local.INFO: Extracted packet for processing {"connection_id":171365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2b"} 
[2026-09-04 21:40:04] local.INFO: GPS Element Parsed {"raw_longitude":755393216,"raw_latitude":117291216,"longitude_deg":75.5393216,"latitude_deg":11.7291216,"altitude":25,"angle":140,"satellites":44,"speed":6,"hex_longitude":"2d0662c0","hex_latitude":"06fdb8d0","is_valid_coordinates":true} 
[2026-09-04 21:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865719296001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398681022151000064,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":458241292112056320,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788537987000,"timestamp_ms":1788537987000,"timestamp_seconds":1788537987,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2bdfb8"} 
[2026-09-04 21:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 21:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865719296001,"66":27300,"208":206,"94":11008,"24":6,"16":398681022151000064,"45":458241292112056320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-04 21:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865719296001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:40:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-04 21:40:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398681022151000064,"km_value":398681022151000.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":458241292112056320,"description":"Unknown IO ID 45"} 
[2026-09-04 21:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865719296001,"power":27300,"unknown_208":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":458241292112056320}} 
[2026-09-04 21:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":171365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:40:04] local.INFO: GPS data processed {"connection_id":171365,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:40:04] local.INFO: Acknowledgment sent {"connection_id":171365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:40:08] local.INFO: TCP Data received {"connection_id":171365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2c31c0012d06694006fdb0f00016008e2d..."} 
[2026-09-04 21:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2c31c0012d06694006fdb0f00016008e2d..."} 
[2026-09-04 21:40:08] local.INFO: Processing buffer {"connection_id":171365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2c31c0012d06694006fdb0f00016008e2d..."} 
[2026-09-04 21:40:08] local.INFO: Packet analysis {"connection_id":171365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:40:08] local.INFO: Extracted packet for processing {"connection_id":171365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:40:08] local.INFO: GPS Element Parsed {"raw_longitude":755394880,"raw_latitude":117289200,"longitude_deg":75.539488,"latitude_deg":11.72892,"altitude":22,"angle":142,"satellites":45,"speed":3,"hex_longitude":"2d066940","hex_latitude":"06fdb0f0","is_valid_coordinates":true} 
[2026-09-04 21:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865724672001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398681151000018944,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":460141248204296192,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788538008000,"timestamp_ms":1788538008000,"timestamp_seconds":1788538008,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2c31c0"} 
[2026-09-04 21:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 21:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865724672001,"66":27343,"95":206,"94":11008,"24":3,"16":398681151000018944,"45":460141248204296192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-04 21:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865724672001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:40:08] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-04 21:40:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398681151000018944,"km_value":398681151000018.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":460141248204296192,"description":"Unknown IO ID 45"} 
[2026-09-04 21:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865724672001,"power":27343,"unknown_95":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":460141248204296192}} 
[2026-09-04 21:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":171365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:40:08] local.INFO: GPS data processed {"connection_id":171365,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:40:08] local.INFO: Acknowledgment sent {"connection_id":171365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:40:24] local.INFO: TCP Data received {"connection_id":171364,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:40:24] local.INFO: Processing buffer {"connection_id":171364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2a6ca0012d1965c0071fef800047011528..."} 
[2026-09-04 21:40:24] local.INFO: Packet analysis {"connection_id":171364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:40:24] local.INFO: Extracted packet for processing {"connection_id":171364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2a"} 
[2026-09-04 21:40:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865623296001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788537892000,"timestamp_ms":1788537892000,"timestamp_seconds":1788537892,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2a6ca0"} 
[2026-09-04 21:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865623296001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865623296001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:40:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:40:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865623296001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":171364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:40:24] local.INFO: GPS data processed {"connection_id":171364,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:40:24] local.INFO: Acknowledgment sent {"connection_id":171364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:40:26] local.INFO: TCP Data received {"connection_id":171064,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:40:26] local.INFO: Processing buffer {"connection_id":171064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:40:26] local.INFO: Packet analysis {"connection_id":171064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:40:26] local.INFO: Extracted packet for processing {"connection_id":171064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:40:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865662208001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788538044000,"timestamp_ms":1788538044000,"timestamp_seconds":1788538044,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2cbe60"} 
[2026-09-04 21:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171064,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171064,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865662208001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865662208001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:40:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:40:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865662208001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":171064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765537,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:40:27] local.INFO: GPS data processed {"connection_id":171064,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:40:27] local.INFO: Acknowledgment sent {"connection_id":171064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:40:39] local.INFO: TCP Data received {"connection_id":171365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2c83c8012d066f4006fda9400015008f2f..."} 
[2026-09-04 21:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2c83c8012d066f4006fda9400015008f2f..."} 
[2026-09-04 21:40:39] local.INFO: Processing buffer {"connection_id":171365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2c83c8012d066f4006fda9400015008f2f..."} 
[2026-09-04 21:40:39] local.INFO: Packet analysis {"connection_id":171365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:40:39] local.INFO: Extracted packet for processing {"connection_id":171365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:40:39] local.INFO: GPS Element Parsed {"raw_longitude":755396416,"raw_latitude":117287232,"longitude_deg":75.5396416,"latitude_deg":11.7287232,"altitude":21,"angle":143,"satellites":47,"speed":0,"hex_longitude":"2d066f40","hex_latitude":"06fda940","is_valid_coordinates":true} 
[2026-09-04 21:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865730048001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398681271259103232,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":461970835552399360,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788538029000,"timestamp_ms":1788538029000,"timestamp_seconds":1788538029,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2c83c8"} 
[2026-09-04 21:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 21:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865730048001,"66":27376,"95":206,"94":11008,"24":0,"16":398681271259103232,"45":461970835552399360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-04 21:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865730048001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:40:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-04 21:40:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398681271259103232,"km_value":398681271259103.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":461970835552399360,"description":"Unknown IO ID 45"} 
[2026-09-04 21:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865730048001,"power":27376,"unknown_95":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":461970835552399360}} 
[2026-09-04 21:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":171365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:40:39] local.INFO: GPS data processed {"connection_id":171365,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:40:39] local.INFO: Acknowledgment sent {"connection_id":171365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:40:47] local.INFO: TCP Data received {"connection_id":171366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:40:47] local.INFO: Processing buffer {"connection_id":171366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:40:47] local.INFO: IMEI packet received {"connection_id":171366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":171366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:40:48] local.INFO: TCP Data received {"connection_id":172478,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:40:48] local.INFO: Processing buffer {"connection_id":172478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:40:48] local.INFO: IMEI packet received {"connection_id":172478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":172478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:40:52] local.INFO: TCP Data received {"connection_id":171366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:40:52] local.INFO: Processing buffer {"connection_id":171366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:40:52] local.INFO: IMEI packet received {"connection_id":171366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":171366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:40:53] local.INFO: TCP Data received {"connection_id":171366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:40:53] local.INFO: Processing buffer {"connection_id":171366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:40:53] local.INFO: Packet analysis {"connection_id":171366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:40:53] local.INFO: Extracted packet for processing {"connection_id":171366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:40:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865700352001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788538193000,"timestamp_ms":1788538193000,"timestamp_seconds":1788538193,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2f0468"} 
[2026-09-04 21:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865700352001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865700352001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:40:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:40:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865700352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":171366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:40:53] local.INFO: GPS data processed {"connection_id":171366,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:40:53] local.INFO: Acknowledgment sent {"connection_id":171366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:40:53] local.INFO: TCP Data received {"connection_id":172478,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:40:53] local.INFO: Processing buffer {"connection_id":172478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:40:53] local.INFO: IMEI packet received {"connection_id":172478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":172478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:40:54] local.INFO: TCP Data received {"connection_id":172478,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:40:54] local.INFO: Processing buffer {"connection_id":172478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:40:54] local.INFO: Packet analysis {"connection_id":172478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:40:54] local.INFO: Extracted packet for processing {"connection_id":172478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:40:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865662208001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788538044000,"timestamp_ms":1788538044000,"timestamp_seconds":1788538044,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2cbe60"} 
[2026-09-04 21:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865662208001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865662208001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:40:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:40:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865662208001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":172478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:40:55] local.INFO: GPS data processed {"connection_id":172478,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:40:55] local.INFO: Acknowledgment sent {"connection_id":172478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:40:58] local.INFO: TCP Data received {"connection_id":172479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:40:58] local.INFO: Processing buffer {"connection_id":172479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:40:58] local.INFO: IMEI packet received {"connection_id":172479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":172479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:41:03] local.INFO: TCP Data received {"connection_id":172479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:41:03] local.INFO: Processing buffer {"connection_id":172479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:41:03] local.INFO: IMEI packet received {"connection_id":172479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":172479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:41:04] local.INFO: TCP Data received {"connection_id":172479,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2cd5d0012d067f0006fd96b00013008c2e..."} 
[2026-09-04 21:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2cd5d0012d067f0006fd96b00013008c2e..."} 
[2026-09-04 21:41:04] local.INFO: Processing buffer {"connection_id":172479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2cd5d0012d067f0006fd96b00013008c2e..."} 
[2026-09-04 21:41:04] local.INFO: Packet analysis {"connection_id":172479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:41:04] local.INFO: Extracted packet for processing {"connection_id":172479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:41:04] local.INFO: GPS Element Parsed {"raw_longitude":755400448,"raw_latitude":117282480,"longitude_deg":75.5400448,"latitude_deg":11.728248,"altitude":19,"angle":140,"satellites":46,"speed":26,"hex_longitude":"2d067f00","hex_latitude":"06fd96b0","is_valid_coordinates":true} 
[2026-09-04 21:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865735424001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398681571906813952,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":463659685412159488,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788538050000,"timestamp_ms":1788538050000,"timestamp_seconds":1788538050,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2cd5d0"} 
[2026-09-04 21:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865735424001,"66":27376,"232":206,"94":11008,"24":26,"16":398681571906813952,"45":463659685412159488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-04 21:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865735424001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:41:04] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-04 21:41:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398681571906813952,"km_value":398681571906813.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":463659685412159488,"description":"Unknown IO ID 45"} 
[2026-09-04 21:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865735424001,"power":27376,"unknown_232":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":463659685412159488}} 
[2026-09-04 21:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":172479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:41:04] local.INFO: GPS data processed {"connection_id":172479,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:41:04] local.INFO: Acknowledgment sent {"connection_id":172479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:41:24] local.INFO: TCP Data received {"connection_id":171366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:41:24] local.INFO: Processing buffer {"connection_id":171366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:41:24] local.INFO: Packet analysis {"connection_id":171366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:41:24] local.INFO: Extracted packet for processing {"connection_id":171366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:41:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865700352001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788538193000,"timestamp_ms":1788538193000,"timestamp_seconds":1788538193,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2f0468"} 
[2026-09-04 21:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865700352001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865700352001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:41:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865700352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":171366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:41:24] local.INFO: GPS data processed {"connection_id":171366,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:41:24] local.INFO: Acknowledgment sent {"connection_id":171366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:41:26] local.INFO: TCP Data received {"connection_id":172478,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:41:26] local.INFO: Processing buffer {"connection_id":172478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:41:26] local.INFO: Packet analysis {"connection_id":172478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:41:26] local.INFO: Extracted packet for processing {"connection_id":172478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:41:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865662208001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788538044000,"timestamp_ms":1788538044000,"timestamp_seconds":1788538044,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2cbe60"} 
[2026-09-04 21:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865662208001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865662208001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:41:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:41:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865662208001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":172478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:41:26] local.INFO: GPS data processed {"connection_id":172478,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:41:26] local.INFO: Acknowledgment sent {"connection_id":172478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:41:39] local.INFO: TCP Data received {"connection_id":172479,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2d04b0012d06960006fd7a180011008e28..."} 
[2026-09-04 21:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2d04b0012d06960006fd7a180011008e28..."} 
[2026-09-04 21:41:39] local.INFO: Processing buffer {"connection_id":172479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2d04b0012d06960006fd7a180011008e28..."} 
[2026-09-04 21:41:39] local.INFO: Packet analysis {"connection_id":172479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2d"} 
[2026-09-04 21:41:39] local.INFO: Extracted packet for processing {"connection_id":172479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2d"} 
[2026-09-04 21:41:39] local.INFO: GPS Element Parsed {"raw_longitude":755406336,"raw_latitude":117275160,"longitude_deg":75.5406336,"latitude_deg":11.727516,"altitude":17,"angle":142,"satellites":40,"speed":30,"hex_longitude":"2d069600","hex_latitude":"06fd7a18","is_valid_coordinates":true} 
[2026-09-04 21:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865740800001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398682022878380032,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":468092916294135808,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788538062000,"timestamp_ms":1788538062000,"timestamp_seconds":1788538062,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2d04b0"} 
[2026-09-04 21:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865740800001,"66":27213,"232":206,"94":11008,"24":30,"16":398682022878380032,"45":468092916294135808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-04 21:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865740800001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:41:39] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-04 21:41:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398682022878380032,"km_value":398682022878380.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":468092916294135808,"description":"Unknown IO ID 45"} 
[2026-09-04 21:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865740800001,"power":27213,"unknown_232":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":468092916294135808}} 
[2026-09-04 21:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":172479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:41:39] local.INFO: GPS data processed {"connection_id":172479,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:41:39] local.INFO: Acknowledgment sent {"connection_id":172479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:41:47] local.INFO: TCP Data received {"connection_id":173756,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:41:47] local.INFO: Processing buffer {"connection_id":173756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:41:47] local.INFO: IMEI packet received {"connection_id":173756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":173756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:41:48] local.INFO: TCP Data received {"connection_id":171065,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:41:48] local.INFO: Processing buffer {"connection_id":171065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:41:48] local.INFO: IMEI packet received {"connection_id":171065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":171065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:41:52] local.INFO: TCP Data received {"connection_id":173756,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:41:52] local.INFO: Processing buffer {"connection_id":173756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:41:52] local.INFO: IMEI packet received {"connection_id":173756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":173756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:41:53] local.INFO: TCP Data received {"connection_id":173756,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:41:53] local.INFO: Processing buffer {"connection_id":173756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:41:53] local.INFO: Packet analysis {"connection_id":173756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:41:53] local.INFO: Extracted packet for processing {"connection_id":173756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:41:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865700352001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788538193000,"timestamp_ms":1788538193000,"timestamp_seconds":1788538193,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2f0468"} 
[2026-09-04 21:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865700352001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865700352001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:41:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:41:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865700352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":173756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:41:53] local.INFO: GPS data processed {"connection_id":173756,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:41:53] local.INFO: Acknowledgment sent {"connection_id":173756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:41:53] local.INFO: TCP Data received {"connection_id":171065,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:41:53] local.INFO: Processing buffer {"connection_id":171065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:41:53] local.INFO: IMEI packet received {"connection_id":171065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":171065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:41:55] local.INFO: TCP Data received {"connection_id":171065,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:41:55] local.INFO: Processing buffer {"connection_id":171065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:41:55] local.INFO: Packet analysis {"connection_id":171065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:41:55] local.INFO: Extracted packet for processing {"connection_id":171065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:41:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865662208001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788538044000,"timestamp_ms":1788538044000,"timestamp_seconds":1788538044,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2cbe60"} 
[2026-09-04 21:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171065,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171065,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865662208001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865662208001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:41:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865662208001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":171065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765546,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:41:55] local.INFO: GPS data processed {"connection_id":171065,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:41:55] local.INFO: Acknowledgment sent {"connection_id":171065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:42:03] local.INFO: TCP Data received {"connection_id":172480,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:42:03] local.INFO: Processing buffer {"connection_id":172480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:42:03] local.INFO: IMEI packet received {"connection_id":172480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":172480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:42:08] local.INFO: TCP Data received {"connection_id":172480,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:42:08] local.INFO: Processing buffer {"connection_id":172480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:42:08] local.INFO: IMEI packet received {"connection_id":172480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":172480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:42:08] local.INFO: TCP Data received {"connection_id":172480,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2d4330012d06ad8006fd5d480015008b30..."} 
[2026-09-04 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2d4330012d06ad8006fd5d480015008b30..."} 
[2026-09-04 21:42:08] local.INFO: Processing buffer {"connection_id":172480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2d4330012d06ad8006fd5d480015008b30..."} 
[2026-09-04 21:42:08] local.INFO: Packet analysis {"connection_id":172480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2d"} 
[2026-09-04 21:42:08] local.INFO: Extracted packet for processing {"connection_id":172480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2d"} 
[2026-09-04 21:42:08] local.INFO: GPS Element Parsed {"raw_longitude":755412352,"raw_latitude":117267784,"longitude_deg":75.5412352,"latitude_deg":11.7267784,"altitude":21,"angle":139,"satellites":48,"speed":25,"hex_longitude":"2d06ad80","hex_latitude":"06fd5d48","is_valid_coordinates":true} 
[2026-09-04 21:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865743872001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398682482439880704,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":474566840756606976,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788538078000,"timestamp_ms":1788538078000,"timestamp_seconds":1788538078,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2d4330"} 
[2026-09-04 21:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 21:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865743872001,"66":27169,"232":206,"94":11008,"24":25,"16":398682482439880704,"45":474566840756606976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-04 21:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865743872001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:42:08] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-04 21:42:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398682482439880704,"km_value":398682482439880.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":474566840756606976,"description":"Unknown IO ID 45"} 
[2026-09-04 21:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865743872001,"power":27169,"unknown_232":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":474566840756606976}} 
[2026-09-04 21:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":172480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:42:08] local.INFO: GPS data processed {"connection_id":172480,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:42:08] local.INFO: Acknowledgment sent {"connection_id":172480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:42:12] local.INFO: TCP Data received {"connection_id":172480,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2d75f8012d06c50006fd40500012008d2c..."} 
[2026-09-04 21:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2d75f8012d06c50006fd40500012008d2c..."} 
[2026-09-04 21:42:12] local.INFO: Processing buffer {"connection_id":172480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2d75f8012d06c50006fd40500012008d2c..."} 
[2026-09-04 21:42:12] local.INFO: Packet analysis {"connection_id":172480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2d"} 
[2026-09-04 21:42:12] local.INFO: Extracted packet for processing {"connection_id":172480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2d"} 
[2026-09-04 21:42:12] local.INFO: GPS Element Parsed {"raw_longitude":755418368,"raw_latitude":117260368,"longitude_deg":75.5418368,"latitude_deg":11.7260368,"altitude":18,"angle":141,"satellites":44,"speed":31,"hex_longitude":"2d06c500","hex_latitude":"06fd4050","is_valid_coordinates":true} 
[2026-09-04 21:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865747968001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398682942001381376,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":481181502707419136,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788538091000,"timestamp_ms":1788538091000,"timestamp_seconds":1788538091,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2d75f8"} 
[2026-09-04 21:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-04 21:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865747968001,"66":27321,"232":206,"94":11008,"24":31,"16":398682942001381376,"45":481181502707419136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-04 21:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865747968001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:42:12] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-04 21:42:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398682942001381376,"km_value":398682942001381.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":481181502707419136,"description":"Unknown IO ID 45"} 
[2026-09-04 21:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865747968001,"power":27321,"unknown_232":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":481181502707419136}} 
[2026-09-04 21:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":172480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:42:12] local.INFO: GPS data processed {"connection_id":172480,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:42:12] local.INFO: Acknowledgment sent {"connection_id":172480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:42:24] local.INFO: TCP Data received {"connection_id":173756,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:42:24] local.INFO: Processing buffer {"connection_id":173756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:42:24] local.INFO: Packet analysis {"connection_id":173756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:42:24] local.INFO: Extracted packet for processing {"connection_id":173756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:42:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865700352001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788538193000,"timestamp_ms":1788538193000,"timestamp_seconds":1788538193,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2f0468"} 
[2026-09-04 21:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865700352001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865700352001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:42:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:42:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865700352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":173756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:42:24] local.INFO: GPS data processed {"connection_id":173756,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:42:24] local.INFO: Acknowledgment sent {"connection_id":173756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:42:26] local.INFO: TCP Data received {"connection_id":171065,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:42:26] local.INFO: Processing buffer {"connection_id":171065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:42:26] local.INFO: Packet analysis {"connection_id":171065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:42:26] local.INFO: Extracted packet for processing {"connection_id":171065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:42:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865662208001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788538044000,"timestamp_ms":1788538044000,"timestamp_seconds":1788538044,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2cbe60"} 
[2026-09-04 21:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171065,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171065,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865662208001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865662208001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:42:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:42:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865662208001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":171065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:42:26] local.INFO: GPS data processed {"connection_id":171065,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:42:26] local.INFO: Acknowledgment sent {"connection_id":171065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:42:43] local.INFO: TCP Data received {"connection_id":172480,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2da4d8012d06dc0006fd23c8000e008d2e..."} 
[2026-09-04 21:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2da4d8012d06dc0006fd23c8000e008d2e..."} 
[2026-09-04 21:42:43] local.INFO: Processing buffer {"connection_id":172480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2da4d8012d06dc0006fd23c8000e008d2e..."} 
[2026-09-04 21:42:43] local.INFO: Packet analysis {"connection_id":172480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2d"} 
[2026-09-04 21:42:43] local.INFO: Extracted packet for processing {"connection_id":172480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2d"} 
[2026-09-04 21:42:43] local.INFO: GPS Element Parsed {"raw_longitude":755424256,"raw_latitude":117253064,"longitude_deg":75.5424256,"latitude_deg":11.7253064,"altitude":14,"angle":141,"satellites":46,"speed":26,"hex_longitude":"2d06dc00","hex_latitude":"06fd23c8","is_valid_coordinates":true} 
[2026-09-04 21:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865751296001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398683392972947456,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":487796164658221056,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788538103000,"timestamp_ms":1788538103000,"timestamp_seconds":1788538103,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2da4d8"} 
[2026-09-04 21:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 21:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":172480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":172480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":172480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865751296001,"66":27397,"232":206,"94":11008,"24":26,"16":398683392972947456,"45":487796164658221056},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-04 21:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865751296001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:42:43] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-04 21:42:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398683392972947456,"km_value":398683392972947.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":487796164658221056,"description":"Unknown IO ID 45"} 
[2026-09-04 21:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865751296001,"power":27397,"unknown_232":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":487796164658221056}} 
[2026-09-04 21:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":172480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:42:43] local.INFO: GPS data processed {"connection_id":172480,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:42:43] local.INFO: Acknowledgment sent {"connection_id":172480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:42:47] local.INFO: TCP Data received {"connection_id":171367,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:42:47] local.INFO: Processing buffer {"connection_id":171367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:42:47] local.INFO: IMEI packet received {"connection_id":171367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":171367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:42:48] local.INFO: TCP Data received {"connection_id":171066,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:42:48] local.INFO: Processing buffer {"connection_id":171066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:42:48] local.INFO: IMEI packet received {"connection_id":171066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":171066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:42:52] local.INFO: TCP Data received {"connection_id":171367,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:42:52] local.INFO: Processing buffer {"connection_id":171367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:42:52] local.INFO: IMEI packet received {"connection_id":171367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":171367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:42:53] local.INFO: TCP Data received {"connection_id":171367,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:42:53] local.INFO: Processing buffer {"connection_id":171367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:42:53] local.INFO: Packet analysis {"connection_id":171367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:42:53] local.INFO: Extracted packet for processing {"connection_id":171367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:42:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865700352001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788538193000,"timestamp_ms":1788538193000,"timestamp_seconds":1788538193,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2f0468"} 
[2026-09-04 21:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865700352001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865700352001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:42:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:42:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865700352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":171367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:42:53] local.INFO: GPS data processed {"connection_id":171367,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:42:53] local.INFO: Acknowledgment sent {"connection_id":171367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:42:53] local.INFO: TCP Data received {"connection_id":171066,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:42:53] local.INFO: Processing buffer {"connection_id":171066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:42:53] local.INFO: IMEI packet received {"connection_id":171066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":171066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:42:54] local.INFO: TCP Data received {"connection_id":171066,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:42:54] local.INFO: Processing buffer {"connection_id":171066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2cbe60012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:42:54] local.INFO: Packet analysis {"connection_id":171066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:42:54] local.INFO: Extracted packet for processing {"connection_id":171066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2c"} 
[2026-09-04 21:42:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865662208001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788538044000,"timestamp_ms":1788538044000,"timestamp_seconds":1788538044,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2cbe60"} 
[2026-09-04 21:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-04 21:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865662208001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865662208001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:42:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:42:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865662208001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":171066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:42:55] local.INFO: GPS data processed {"connection_id":171066,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:42:55] local.INFO: Acknowledgment sent {"connection_id":171066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:42:58] local.INFO: TCP Data received {"connection_id":171067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:42:58] local.INFO: Processing buffer {"connection_id":171067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:42:58] local.INFO: IMEI packet received {"connection_id":171067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":171067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:43:07] local.INFO: TCP Data received {"connection_id":171067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:43:07] local.INFO: Processing buffer {"connection_id":171067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:43:07] local.INFO: IMEI packet received {"connection_id":171067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":171067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:43:10] local.INFO: TCP Data received {"connection_id":171067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2df2f8012d06f30006fd0830000b008d2e..."} 
[2026-09-04 21:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2df2f8012d06f30006fd0830000b008d2e..."} 
[2026-09-04 21:43:10] local.INFO: Processing buffer {"connection_id":171067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2df2f8012d06f30006fd0830000b008d2e..."} 
[2026-09-04 21:43:10] local.INFO: Packet analysis {"connection_id":171067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2d"} 
[2026-09-04 21:43:10] local.INFO: Extracted packet for processing {"connection_id":171067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2d"} 
[2026-09-04 21:43:10] local.INFO: GPS Element Parsed {"raw_longitude":755430144,"raw_latitude":117246000,"longitude_deg":75.5430144,"latitude_deg":11.7246,"altitude":11,"angle":141,"satellites":46,"speed":13,"hex_longitude":"2d06f300","hex_latitude":"06fd0830","is_valid_coordinates":true} 
[2026-09-04 21:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865754368001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398683835354578944,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":494270089120696320,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788538123000,"timestamp_ms":1788538123000,"timestamp_seconds":1788538123,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2df2f8"} 
[2026-09-04 21:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865754368001,"66":27397,"232":206,"94":11008,"24":13,"16":398683835354578944,"45":494270089120696320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-04 21:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865754368001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:43:10] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-04 21:43:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398683835354578944,"km_value":398683835354578.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":494270089120696320,"description":"Unknown IO ID 45"} 
[2026-09-04 21:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865754368001,"power":27397,"unknown_232":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":494270089120696320}} 
[2026-09-04 21:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":171067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:43:10] local.INFO: GPS data processed {"connection_id":171067,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:43:10] local.INFO: Acknowledgment sent {"connection_id":171067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:43:15] local.INFO: TCP Data received {"connection_id":171067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2e4118012d070b4006fcec28000b00892d..."} 
[2026-09-04 21:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2e4118012d070b4006fcec28000b00892d..."} 
[2026-09-04 21:43:15] local.INFO: Processing buffer {"connection_id":171067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2e4118012d070b4006fcec28000b00892d..."} 
[2026-09-04 21:43:15] local.INFO: Packet analysis {"connection_id":171067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2e"} 
[2026-09-04 21:43:15] local.INFO: Extracted packet for processing {"connection_id":171067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2e"} 
[2026-09-04 21:43:15] local.INFO: GPS Element Parsed {"raw_longitude":755436352,"raw_latitude":117238824,"longitude_deg":75.5436352,"latitude_deg":11.7238824,"altitude":11,"angle":137,"satellites":45,"speed":25,"hex_longitude":"2d070b40","hex_latitude":"06fcec28","is_valid_coordinates":true} 
[2026-09-04 21:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865759488001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398684290621112320,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":500744013583233024,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788538143000,"timestamp_ms":1788538143000,"timestamp_seconds":1788538143,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2e4118"} 
[2026-09-04 21:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865759488001,"66":27343,"232":206,"94":11008,"24":25,"16":398684290621112320,"45":500744013583233024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-04 21:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865759488001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:43:15] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-04 21:43:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398684290621112320,"km_value":398684290621112.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":500744013583233024,"description":"Unknown IO ID 45"} 
[2026-09-04 21:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865759488001,"power":27343,"unknown_232":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":500744013583233024}} 
[2026-09-04 21:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":171067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:43:15] local.INFO: GPS data processed {"connection_id":171067,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:43:15] local.INFO: Acknowledgment sent {"connection_id":171067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:43:23] local.INFO: TCP Data received {"connection_id":171367,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:43:23] local.INFO: Processing buffer {"connection_id":171367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:43:23] local.INFO: Packet analysis {"connection_id":171367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:43:23] local.INFO: Extracted packet for processing {"connection_id":171367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:43:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865700352001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788538193000,"timestamp_ms":1788538193000,"timestamp_seconds":1788538193,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2f0468"} 
[2026-09-04 21:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865700352001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865700352001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:43:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:43:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865700352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":171367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:43:23] local.INFO: GPS data processed {"connection_id":171367,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:43:23] local.INFO: Acknowledgment sent {"connection_id":171367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:43:26] local.INFO: TCP Data received {"connection_id":171066,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:43:26] local.INFO: Processing buffer {"connection_id":171066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:43:26] local.INFO: Packet analysis {"connection_id":171066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:43:26] local.INFO: Extracted packet for processing {"connection_id":171066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:43:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865739264001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788538345000,"timestamp_ms":1788538345000,"timestamp_seconds":1788538345,"priority":1,"record_length":96,"hex_timestamp":"000001a06d315628"} 
[2026-09-04 21:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 21:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865739264001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865739264001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:43:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:43:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865739264001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":171066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:43:26] local.INFO: GPS data processed {"connection_id":171066,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:43:26] local.INFO: Acknowledgment sent {"connection_id":171066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:43:49] local.INFO: TCP Data received {"connection_id":171368,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:43:49] local.INFO: Processing buffer {"connection_id":171368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:43:49] local.INFO: IMEI packet received {"connection_id":171368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":171368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:43:52] local.INFO: TCP Data received {"connection_id":172481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:43:52] local.INFO: Processing buffer {"connection_id":172481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:43:52] local.INFO: IMEI packet received {"connection_id":172481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":172481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:43:53] local.INFO: TCP Data received {"connection_id":171368,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:43:53] local.INFO: Processing buffer {"connection_id":171368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:43:53] local.INFO: IMEI packet received {"connection_id":171368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":171368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:43:54] local.INFO: TCP Data received {"connection_id":171368,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:43:54] local.INFO: Processing buffer {"connection_id":171368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:43:54] local.INFO: Packet analysis {"connection_id":171368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:43:54] local.INFO: Extracted packet for processing {"connection_id":171368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865739264001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788538345000,"timestamp_ms":1788538345000,"timestamp_seconds":1788538345,"priority":1,"record_length":96,"hex_timestamp":"000001a06d315628"} 
[2026-09-04 21:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 21:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865739264001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865739264001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:43:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:43:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865739264001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":171368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765558,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:43:55] local.INFO: GPS data processed {"connection_id":171368,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:43:55] local.INFO: Acknowledgment sent {"connection_id":171368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:43:57] local.INFO: TCP Data received {"connection_id":171369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:43:57] local.INFO: Processing buffer {"connection_id":171369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:43:57] local.INFO: IMEI packet received {"connection_id":171369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":171369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:43:57] local.INFO: TCP Data received {"connection_id":172481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:43:57] local.INFO: Processing buffer {"connection_id":172481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:43:57] local.INFO: IMEI packet received {"connection_id":172481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":172481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:43:58] local.INFO: TCP Data received {"connection_id":172481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:43:58] local.INFO: Processing buffer {"connection_id":172481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:43:58] local.INFO: Packet analysis {"connection_id":172481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:43:58] local.INFO: Extracted packet for processing {"connection_id":172481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:43:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865700352001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788538193000,"timestamp_ms":1788538193000,"timestamp_seconds":1788538193,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2f0468"} 
[2026-09-04 21:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865700352001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865700352001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:43:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865700352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:43:58] local.INFO: TCP Data received {"connection_id":171369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:43:58] local.INFO: Processing buffer {"connection_id":171369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:43:58] local.INFO: IMEI packet received {"connection_id":171369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":171369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":172481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:43:58] local.INFO: GPS data processed {"connection_id":172481,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:43:58] local.INFO: Acknowledgment sent {"connection_id":172481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:44:02] local.INFO: TCP Data received {"connection_id":172481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:44:02] local.INFO: Processing buffer {"connection_id":172481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:44:02] local.INFO: Packet analysis {"connection_id":172481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:44:02] local.INFO: Extracted packet for processing {"connection_id":172481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:44:02] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865700352001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788538193000,"timestamp_ms":1788538193000,"timestamp_seconds":1788538193,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2f0468"} 
[2026-09-04 21:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865700352001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865700352001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:44:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:44:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865700352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":172481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:44:02] local.INFO: GPS data processed {"connection_id":172481,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:44:02] local.INFO: Acknowledgment sent {"connection_id":172481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:44:03] local.INFO: TCP Data received {"connection_id":171369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:44:03] local.INFO: Processing buffer {"connection_id":171369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:44:03] local.INFO: IMEI packet received {"connection_id":171369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":171369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:44:04] local.INFO: TCP Data received {"connection_id":171369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d31b3e8012d080d8006fbb960000b00952e..."} 
[2026-09-04 21:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d31b3e8012d080d8006fbb960000b00952e..."} 
[2026-09-04 21:44:04] local.INFO: Processing buffer {"connection_id":171369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d31b3e8012d080d8006fbb960000b00952e..."} 
[2026-09-04 21:44:04] local.INFO: Packet analysis {"connection_id":171369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:44:04] local.INFO: Extracted packet for processing {"connection_id":171369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:44:04] local.INFO: GPS Element Parsed {"raw_longitude":755502464,"raw_latitude":117160288,"longitude_deg":75.5502464,"latitude_deg":11.7160288,"altitude":11,"angle":149,"satellites":46,"speed":39,"hex_longitude":"2d080d80","hex_latitude":"06fbb960","is_valid_coordinates":true} 
[2026-09-04 21:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865820160001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398689238423437312,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":574208982484736000,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788538369000,"timestamp_ms":1788538369000,"timestamp_seconds":1788538369,"priority":1,"record_length":96,"hex_timestamp":"000001a06d31b3e8"} 
[2026-09-04 21:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 21:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865820160001,"66":27376,"171":206,"94":11008,"24":39,"16":398689238423437312,"45":574208982484736000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,94,24,16,45]} 
[2026-09-04 21:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865820160001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:44:04] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 21:44:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398689238423437312,"km_value":398689238423437.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":574208982484736000,"description":"Unknown IO ID 45"} 
[2026-09-04 21:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865820160001,"power":27376,"unknown_171":206,"unknown_94":11008,"ignition":39,"odometer":null,"unknown_45":574208982484736000}} 
[2026-09-04 21:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":171369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:44:04] local.INFO: GPS data processed {"connection_id":171369,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:44:04] local.INFO: Acknowledgment sent {"connection_id":171369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:44:26] local.INFO: TCP Data received {"connection_id":171368,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:44:26] local.INFO: Processing buffer {"connection_id":171368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:44:26] local.INFO: Packet analysis {"connection_id":171368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:44:26] local.INFO: Extracted packet for processing {"connection_id":171368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:44:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865739264001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788538345000,"timestamp_ms":1788538345000,"timestamp_seconds":1788538345,"priority":1,"record_length":96,"hex_timestamp":"000001a06d315628"} 
[2026-09-04 21:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 21:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865739264001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865739264001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:44:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:44:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865739264001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":171368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:44:26] local.INFO: GPS data processed {"connection_id":171368,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:44:26] local.INFO: Acknowledgment sent {"connection_id":171368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:44:40] local.INFO: TCP Data received {"connection_id":171369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d31d710012d081f8006fb99e0000b009a2b..."} 
[2026-09-04 21:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d31d710012d081f8006fb99e0000b009a2b..."} 
[2026-09-04 21:44:40] local.INFO: Processing buffer {"connection_id":171369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d31d710012d081f8006fb99e0000b009a2b..."} 
[2026-09-04 21:44:40] local.INFO: Packet analysis {"connection_id":171369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:44:40] local.INFO: Extracted packet for processing {"connection_id":171369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:44:40] local.INFO: GPS Element Parsed {"raw_longitude":755507072,"raw_latitude":117152224,"longitude_deg":75.5507072,"latitude_deg":11.7152224,"altitude":11,"angle":154,"satellites":43,"speed":36,"hex_longitude":"2d081f80","hex_latitude":"06fb99e0","is_valid_coordinates":true} 
[2026-09-04 21:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865822464001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398689689395003392,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":580260694482051072,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788538378000,"timestamp_ms":1788538378000,"timestamp_seconds":1788538378,"priority":1,"record_length":96,"hex_timestamp":"000001a06d31d710"} 
[2026-09-04 21:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865822464001,"66":27365,"171":206,"94":11008,"24":36,"16":398689689395003392,"45":580260694482051072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,94,24,16,45]} 
[2026-09-04 21:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865822464001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:44:40] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 21:44:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398689689395003392,"km_value":398689689395003.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":580260694482051072,"description":"Unknown IO ID 45"} 
[2026-09-04 21:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865822464001,"power":27365,"unknown_171":206,"unknown_94":11008,"ignition":36,"odometer":null,"unknown_45":580260694482051072}} 
[2026-09-04 21:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":171369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:44:40] local.INFO: GPS data processed {"connection_id":171369,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:44:40] local.INFO: Acknowledgment sent {"connection_id":171369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:44:47] local.INFO: TCP Data received {"connection_id":171370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:44:47] local.INFO: Processing buffer {"connection_id":171370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:44:47] local.INFO: IMEI packet received {"connection_id":171370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":171370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:44:48] local.INFO: TCP Data received {"connection_id":172482,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:44:48] local.INFO: Processing buffer {"connection_id":172482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:44:48] local.INFO: IMEI packet received {"connection_id":172482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":172482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:44:52] local.INFO: TCP Data received {"connection_id":171370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:44:52] local.INFO: Processing buffer {"connection_id":171370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:44:52] local.INFO: IMEI packet received {"connection_id":171370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":171370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:44:53] local.INFO: TCP Data received {"connection_id":171370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:44:53] local.INFO: Processing buffer {"connection_id":171370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:44:53] local.INFO: Packet analysis {"connection_id":171370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:44:53] local.INFO: Extracted packet for processing {"connection_id":171370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:44:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865700352001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788538193000,"timestamp_ms":1788538193000,"timestamp_seconds":1788538193,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2f0468"} 
[2026-09-04 21:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865700352001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865700352001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:44:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:44:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865700352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":171370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:44:53] local.INFO: GPS data processed {"connection_id":171370,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:44:53] local.INFO: Acknowledgment sent {"connection_id":171370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:44:53] local.INFO: TCP Data received {"connection_id":172482,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:44:53] local.INFO: Processing buffer {"connection_id":172482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:44:53] local.INFO: IMEI packet received {"connection_id":172482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":172482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:44:54] local.INFO: TCP Data received {"connection_id":172482,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:44:54] local.INFO: Processing buffer {"connection_id":172482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:44:54] local.INFO: Packet analysis {"connection_id":172482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:44:54] local.INFO: Extracted packet for processing {"connection_id":172482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:44:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865739264001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788538345000,"timestamp_ms":1788538345000,"timestamp_seconds":1788538345,"priority":1,"record_length":96,"hex_timestamp":"000001a06d315628"} 
[2026-09-04 21:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 21:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865739264001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865739264001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:44:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:44:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865739264001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":172482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765565,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:44:55] local.INFO: GPS data processed {"connection_id":172482,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:44:55] local.INFO: Acknowledgment sent {"connection_id":172482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:45:08] local.INFO: TCP Data received {"connection_id":172483,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:45:08] local.INFO: Processing buffer {"connection_id":172483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:45:08] local.INFO: IMEI packet received {"connection_id":172483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":172483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:45:12] local.INFO: TCP Data received {"connection_id":172483,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:45:12] local.INFO: Processing buffer {"connection_id":172483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:45:12] local.INFO: IMEI packet received {"connection_id":172483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":172483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:45:13] local.INFO: TCP Data received {"connection_id":172483,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d32f050012d083b8006fa2718000c00c131..."} 
[2026-09-04 21:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d32f050012d083b8006fa2718000c00c131..."} 
[2026-09-04 21:45:13] local.INFO: Processing buffer {"connection_id":172483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d32f050012d083b8006fa2718000c00c131..."} 
[2026-09-04 21:45:13] local.INFO: Packet analysis {"connection_id":172483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d32"} 
[2026-09-04 21:45:13] local.INFO: Extracted packet for processing {"connection_id":172483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d32"} 
[2026-09-04 21:45:13] local.INFO: GPS Element Parsed {"raw_longitude":755514240,"raw_latitude":117057304,"longitude_deg":75.551424,"latitude_deg":11.7057304,"altitude":12,"angle":193,"satellites":49,"speed":58,"hex_longitude":"2d083b80","hex_latitude":"06fa2718","is_valid_coordinates":true} 
[2026-09-04 21:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865841664001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398694366614388736,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":595178868223576064,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788538450000,"timestamp_ms":1788538450000,"timestamp_seconds":1788538450,"priority":1,"record_length":96,"hex_timestamp":"000001a06d32f050"} 
[2026-09-04 21:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 21:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865841664001,"66":27397,"171":206,"94":11008,"24":58,"16":398694366614388736,"45":595178868223576064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,94,24,16,45]} 
[2026-09-04 21:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865841664001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:45:13] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 21:45:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398694366614388736,"km_value":398694366614388.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":595178868223576064,"description":"Unknown IO ID 45"} 
[2026-09-04 21:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865841664001,"power":27397,"unknown_171":206,"unknown_94":11008,"ignition":58,"odometer":null,"unknown_45":595178868223576064}} 
[2026-09-04 21:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":172483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:45:13] local.INFO: GPS data processed {"connection_id":172483,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:45:13] local.INFO: Acknowledgment sent {"connection_id":172483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:45:24] local.INFO: TCP Data received {"connection_id":171370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:45:24] local.INFO: Processing buffer {"connection_id":171370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d2f0468012d1965c0071fef800047011528..."} 
[2026-09-04 21:45:24] local.INFO: Packet analysis {"connection_id":171370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:45:24] local.INFO: Extracted packet for processing {"connection_id":171370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d2f"} 
[2026-09-04 21:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865700352001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788538193000,"timestamp_ms":1788538193000,"timestamp_seconds":1788538193,"priority":1,"record_length":96,"hex_timestamp":"000001a06d2f0468"} 
[2026-09-04 21:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 21:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865700352001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865700352001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:45:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865700352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":171370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:45:24] local.INFO: GPS data processed {"connection_id":171370,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:45:24] local.INFO: Acknowledgment sent {"connection_id":171370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:45:26] local.INFO: TCP Data received {"connection_id":172482,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:45:26] local.INFO: Processing buffer {"connection_id":172482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:45:26] local.INFO: Packet analysis {"connection_id":172482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:45:26] local.INFO: Extracted packet for processing {"connection_id":172482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:45:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865739264001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788538345000,"timestamp_ms":1788538345000,"timestamp_seconds":1788538345,"priority":1,"record_length":96,"hex_timestamp":"000001a06d315628"} 
[2026-09-04 21:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 21:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865739264001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865739264001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:45:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:45:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865739264001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":172482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765568,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:45:26] local.INFO: GPS data processed {"connection_id":172482,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:45:26] local.INFO: Acknowledgment sent {"connection_id":172482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:45:47] local.INFO: TCP Data received {"connection_id":173757,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:45:47] local.INFO: Processing buffer {"connection_id":173757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:45:47] local.INFO: IMEI packet received {"connection_id":173757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":173757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:45:48] local.INFO: TCP Data received {"connection_id":171068,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:45:48] local.INFO: Processing buffer {"connection_id":171068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:45:48] local.INFO: IMEI packet received {"connection_id":171068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":171068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:45:52] local.INFO: TCP Data received {"connection_id":173757,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:45:52] local.INFO: Processing buffer {"connection_id":173757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:45:52] local.INFO: IMEI packet received {"connection_id":173757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":173757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:45:53] local.INFO: TCP Data received {"connection_id":173757,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:45:53] local.INFO: Processing buffer {"connection_id":173757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:45:53] local.INFO: Packet analysis {"connection_id":173757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:45:53] local.INFO: Extracted packet for processing {"connection_id":173757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:45:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865777408001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788538494000,"timestamp_ms":1788538494000,"timestamp_seconds":1788538494,"priority":1,"record_length":96,"hex_timestamp":"000001a06d339c30"} 
[2026-09-04 21:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865777408001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865777408001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:45:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:45:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865777408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":173757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:45:53] local.INFO: GPS data processed {"connection_id":173757,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:45:53] local.INFO: Acknowledgment sent {"connection_id":173757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:45:53] local.INFO: TCP Data received {"connection_id":171068,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:45:53] local.INFO: Processing buffer {"connection_id":171068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:45:53] local.INFO: IMEI packet received {"connection_id":171068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":171068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:45:54] local.INFO: TCP Data received {"connection_id":171068,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:45:54] local.INFO: Processing buffer {"connection_id":171068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:45:54] local.INFO: Packet analysis {"connection_id":171068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:45:54] local.INFO: Extracted packet for processing {"connection_id":171068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:45:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865739264001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788538345000,"timestamp_ms":1788538345000,"timestamp_seconds":1788538345,"priority":1,"record_length":96,"hex_timestamp":"000001a06d315628"} 
[2026-09-04 21:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 21:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865739264001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865739264001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:45:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:45:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865739264001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":171068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:45:55] local.INFO: GPS data processed {"connection_id":171068,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:45:55] local.INFO: Acknowledgment sent {"connection_id":171068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:45:57] local.INFO: TCP Data received {"connection_id":173758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:45:57] local.INFO: Processing buffer {"connection_id":173758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:45:57] local.INFO: IMEI packet received {"connection_id":173758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":173758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:45:58] local.INFO: TCP Data received {"connection_id":173758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:45:58] local.INFO: Processing buffer {"connection_id":173758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:45:58] local.INFO: IMEI packet received {"connection_id":173758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":173758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:46:03] local.INFO: TCP Data received {"connection_id":173758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:46:03] local.INFO: Processing buffer {"connection_id":173758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:46:03] local.INFO: IMEI packet received {"connection_id":173758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":173758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:46:04] local.INFO: TCP Data received {"connection_id":173758,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3307c0012d08324006fa0598000d00c432..."} 
[2026-09-04 21:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3307c0012d08324006fa0598000d00c432..."} 
[2026-09-04 21:46:04] local.INFO: Processing buffer {"connection_id":173758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3307c0012d08324006fa0598000d00c432..."} 
[2026-09-04 21:46:04] local.INFO: Packet analysis {"connection_id":173758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:46:04] local.INFO: Extracted packet for processing {"connection_id":173758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:46:04] local.INFO: GPS Element Parsed {"raw_longitude":755511872,"raw_latitude":117048728,"longitude_deg":75.5511872,"latitude_deg":11.7048728,"altitude":13,"angle":196,"satellites":50,"speed":59,"hex_longitude":"2d083240","hex_latitude":"06fa0598","is_valid_coordinates":true} 
[2026-09-04 21:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865843200001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398694800406085632,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":593208543384377344,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788538456000,"timestamp_ms":1788538456000,"timestamp_seconds":1788538456,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3307c0"} 
[2026-09-04 21:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865843200001,"66":27234,"171":206,"94":11008,"24":59,"16":398694800406085632,"45":593208543384377344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,94,24,16,45]} 
[2026-09-04 21:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865843200001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:46:04] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 21:46:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-04 21:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398694800406085632,"km_value":398694800406085.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":593208543384377344,"description":"Unknown IO ID 45"} 
[2026-09-04 21:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865843200001,"power":27234,"unknown_171":206,"unknown_94":11008,"ignition":59,"odometer":null,"unknown_45":593208543384377344}} 
[2026-09-04 21:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":173758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:46:04] local.INFO: GPS data processed {"connection_id":173758,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:46:04] local.INFO: Acknowledgment sent {"connection_id":173758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:46:23] local.INFO: TCP Data received {"connection_id":173757,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:46:23] local.INFO: Processing buffer {"connection_id":173757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:46:23] local.INFO: Packet analysis {"connection_id":173757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:46:23] local.INFO: Extracted packet for processing {"connection_id":173757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865777408001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788538494000,"timestamp_ms":1788538494000,"timestamp_seconds":1788538494,"priority":1,"record_length":96,"hex_timestamp":"000001a06d339c30"} 
[2026-09-04 21:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865777408001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865777408001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:46:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865777408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":173757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:46:23] local.INFO: GPS data processed {"connection_id":173757,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:46:23] local.INFO: Acknowledgment sent {"connection_id":173757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:46:26] local.INFO: TCP Data received {"connection_id":171068,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:46:26] local.INFO: Processing buffer {"connection_id":171068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:46:26] local.INFO: Packet analysis {"connection_id":171068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:46:26] local.INFO: Extracted packet for processing {"connection_id":171068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:46:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865739264001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788538345000,"timestamp_ms":1788538345000,"timestamp_seconds":1788538345,"priority":1,"record_length":96,"hex_timestamp":"000001a06d315628"} 
[2026-09-04 21:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 21:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865739264001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865739264001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:46:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:46:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865739264001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":171068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765573,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:46:26] local.INFO: GPS data processed {"connection_id":171068,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:46:26] local.INFO: Acknowledgment sent {"connection_id":171068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:46:35] local.INFO: TCP Data received {"connection_id":173758,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d344810012d07a2c006f84080001400c430..."} 
[2026-09-04 21:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d344810012d07a2c006f84080001400c430..."} 
[2026-09-04 21:46:35] local.INFO: Processing buffer {"connection_id":173758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d344810012d07a2c006f84080001400c430..."} 
[2026-09-04 21:46:35] local.INFO: Packet analysis {"connection_id":173758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d34"} 
[2026-09-04 21:46:35] local.INFO: Extracted packet for processing {"connection_id":173758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d34"} 
[2026-09-04 21:46:35] local.INFO: GPS Element Parsed {"raw_longitude":755475136,"raw_latitude":116932736,"longitude_deg":75.5475136,"latitude_deg":11.6932736,"altitude":20,"angle":196,"satellites":48,"speed":60,"hex_longitude":"2d07a2c0","hex_latitude":"06f84080","is_valid_coordinates":true} 
[2026-09-04 21:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865864192001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398700688806248448,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":552957621685104640,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788538538000,"timestamp_ms":1788538538000,"timestamp_seconds":1788538538,"priority":1,"record_length":96,"hex_timestamp":"000001a06d344810"} 
[2026-09-04 21:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865864192001,"66":27213,"41":206,"80":6400,"24":60,"16":398700688806248448,"45":552957621685104640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-09-04 21:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865864192001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:46:35] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-04 21:46:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398700688806248448,"km_value":398700688806248.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":552957621685104640,"description":"Unknown IO ID 45"} 
[2026-09-04 21:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865864192001,"power":27213,"unknown_41":206,"unknown_80":6400,"ignition":60,"odometer":null,"unknown_45":552957621685104640}} 
[2026-09-04 21:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":173758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:46:35] local.INFO: GPS data processed {"connection_id":173758,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:46:35] local.INFO: Acknowledgment sent {"connection_id":173758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:46:47] local.INFO: TCP Data received {"connection_id":171371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:46:47] local.INFO: Processing buffer {"connection_id":171371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:46:47] local.INFO: IMEI packet received {"connection_id":171371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":171371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:46:48] local.INFO: TCP Data received {"connection_id":171372,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:46:48] local.INFO: Processing buffer {"connection_id":171372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:46:48] local.INFO: IMEI packet received {"connection_id":171372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":171372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:46:52] local.INFO: TCP Data received {"connection_id":171371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:46:52] local.INFO: Processing buffer {"connection_id":171371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:46:52] local.INFO: IMEI packet received {"connection_id":171371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":171371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:46:53] local.INFO: TCP Data received {"connection_id":171371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:46:53] local.INFO: Processing buffer {"connection_id":171371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:46:53] local.INFO: Packet analysis {"connection_id":171371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:46:53] local.INFO: Extracted packet for processing {"connection_id":171371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:46:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865777408001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788538494000,"timestamp_ms":1788538494000,"timestamp_seconds":1788538494,"priority":1,"record_length":96,"hex_timestamp":"000001a06d339c30"} 
[2026-09-04 21:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865777408001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865777408001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:46:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:46:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865777408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":171371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:46:53] local.INFO: GPS data processed {"connection_id":171371,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:46:53] local.INFO: Acknowledgment sent {"connection_id":171371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:46:53] local.INFO: TCP Data received {"connection_id":171372,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:46:53] local.INFO: Processing buffer {"connection_id":171372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:46:53] local.INFO: IMEI packet received {"connection_id":171372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":171372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:46:54] local.INFO: TCP Data received {"connection_id":171372,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:46:54] local.INFO: Processing buffer {"connection_id":171372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:46:54] local.INFO: Packet analysis {"connection_id":171372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:46:54] local.INFO: Extracted packet for processing {"connection_id":171372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:46:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865739264001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788538345000,"timestamp_ms":1788538345000,"timestamp_seconds":1788538345,"priority":1,"record_length":96,"hex_timestamp":"000001a06d315628"} 
[2026-09-04 21:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 21:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865739264001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865739264001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:46:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:46:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865739264001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":171372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:46:55] local.INFO: GPS data processed {"connection_id":171372,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:46:55] local.INFO: Acknowledgment sent {"connection_id":171372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:47:03] local.INFO: TCP Data received {"connection_id":171373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:03] local.INFO: Processing buffer {"connection_id":171373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:03] local.INFO: IMEI packet received {"connection_id":171373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":171373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:47:03] local.INFO: TCP Data received {"connection_id":171373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:03] local.INFO: Processing buffer {"connection_id":171373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:03] local.INFO: IMEI packet received {"connection_id":171373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":171373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:47:08] local.INFO: TCP Data received {"connection_id":171373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:08] local.INFO: Processing buffer {"connection_id":171373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:08] local.INFO: IMEI packet received {"connection_id":171373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":171373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:47:09] local.INFO: TCP Data received {"connection_id":171373,"ip":"42.106.6.14","data_length":1348,"data_hex":"000000000000030f8e0a000001a06d345f80012d07978006f81f00001400c62f..."} 
[2026-09-04 21:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171373,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a06d345f80012d07978006f81f00001400c62f..."} 
[2026-09-04 21:47:09] local.INFO: Processing buffer {"connection_id":171373,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a06d345f80012d07978006f81f00001400c62f..."} 
[2026-09-04 21:47:09] local.INFO: Packet analysis {"connection_id":171373,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a06d34"} 
[2026-09-04 21:47:09] local.INFO: Extracted packet for processing {"connection_id":171373,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06d34"} 
[2026-09-04 21:47:09] local.INFO: GPS Element Parsed {"raw_longitude":755472256,"raw_latitude":116924160,"longitude_deg":75.5472256,"latitude_deg":11.692416,"altitude":20,"angle":198,"satellites":47,"speed":59,"hex_longitude":"2d079780","hex_latitude":"06f81f00","is_valid_coordinates":true} 
[2026-09-04 21:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865865728001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398701126892912640,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":550213240659935232,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788538544000,"timestamp_ms":1788538544000,"timestamp_seconds":1788538544,"priority":1,"record_length":96,"hex_timestamp":"000001a06d345f80"} 
[2026-09-04 21:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 21:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865865728001,"66":27267,"41":206,"80":6400,"24":59,"16":398701126892912640,"45":550213240659935232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-09-04 21:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865865728001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:47:09] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-04 21:47:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398701126892912640,"km_value":398701126892912.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":550213240659935232,"description":"Unknown IO ID 45"} 
[2026-09-04 21:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865865728001,"power":27267,"unknown_41":206,"unknown_80":6400,"ignition":59,"odometer":null,"unknown_45":550213240659935232}} 
[2026-09-04 21:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":171373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:47:09] local.INFO: GPS data processed {"connection_id":171373,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:47:09] local.INFO: Acknowledgment sent {"connection_id":171373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:47:09] local.INFO: Packet analysis {"connection_id":171373,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06d34"} 
[2026-09-04 21:47:09] local.INFO: Incomplete packet, waiting for more data {"connection_id":171373,"needed":795,"available":553} 
[2026-09-04 21:47:09] local.INFO: TCP Data received {"connection_id":171373,"ip":"42.106.6.14","data_length":242,"data_hex":"000000000001a06d33c728012d07d8c006f8f798001100c42f003a0000000a00..."} 
[2026-09-04 21:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171373,"packet_length":242,"packet_hex":"000000000001a06d33c728012d07d8c006f8f798001100c42f003a0000000a00..."} 
[2026-09-04 21:47:09] local.INFO: Processing buffer {"connection_id":171373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3476f0012d078c0006f7fdd8001400c632..."} 
[2026-09-04 21:47:09] local.INFO: Packet analysis {"connection_id":171373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d34"} 
[2026-09-04 21:47:09] local.INFO: Extracted packet for processing {"connection_id":171373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d34"} 
[2026-09-04 21:47:09] local.INFO: GPS Element Parsed {"raw_longitude":755469312,"raw_latitude":116915672,"longitude_deg":75.5469312,"latitude_deg":11.6915672,"altitude":20,"angle":198,"satellites":50,"speed":59,"hex_longitude":"2d078c00","hex_latitude":"06f7fdd8","is_valid_coordinates":true} 
[2026-09-04 21:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865867264001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398701560684609536,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":547046647169744896,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788538550000,"timestamp_ms":1788538550000,"timestamp_seconds":1788538550,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3476f0"} 
[2026-09-04 21:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 21:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865867264001,"66":27343,"41":206,"80":6400,"24":59,"16":398701560684609536,"45":547046647169744896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-09-04 21:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865867264001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:47:09] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-04 21:47:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398701560684609536,"km_value":398701560684609.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":547046647169744896,"description":"Unknown IO ID 45"} 
[2026-09-04 21:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865867264001,"power":27343,"unknown_41":206,"unknown_80":6400,"ignition":59,"odometer":null,"unknown_45":547046647169744896}} 
[2026-09-04 21:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":171373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:47:09] local.INFO: GPS data processed {"connection_id":171373,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:47:09] local.INFO: Acknowledgment sent {"connection_id":171373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:47:13] local.INFO: TCP Data received {"connection_id":171373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d349248012d077f0006f7d918001200c432..."} 
[2026-09-04 21:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d349248012d077f0006f7d918001200c432..."} 
[2026-09-04 21:47:13] local.INFO: Processing buffer {"connection_id":171373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d349248012d077f0006f7d918001200c432..."} 
[2026-09-04 21:47:13] local.INFO: Packet analysis {"connection_id":171373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d34"} 
[2026-09-04 21:47:13] local.INFO: Extracted packet for processing {"connection_id":171373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d34"} 
[2026-09-04 21:47:13] local.INFO: GPS Element Parsed {"raw_longitude":755465984,"raw_latitude":116906264,"longitude_deg":75.5465984,"latitude_deg":11.6906264,"altitude":18,"angle":196,"satellites":50,"speed":54,"hex_longitude":"2d077f00","hex_latitude":"06f7d918","is_valid_coordinates":true} 
[2026-09-04 21:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865868800001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398702046015913984,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":543809684935399424,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788538557000,"timestamp_ms":1788538557000,"timestamp_seconds":1788538557,"priority":1,"record_length":96,"hex_timestamp":"000001a06d349248"} 
[2026-09-04 21:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 21:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865868800001,"66":27115,"41":206,"80":6400,"24":54,"16":398702046015913984,"45":543809684935399424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-09-04 21:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865868800001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:47:13] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-04 21:47:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398702046015913984,"km_value":398702046015914.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":543809684935399424,"description":"Unknown IO ID 45"} 
[2026-09-04 21:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865868800001,"power":27115,"unknown_41":206,"unknown_80":6400,"ignition":54,"odometer":null,"unknown_45":543809684935399424}} 
[2026-09-04 21:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":171373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:47:13] local.INFO: GPS data processed {"connection_id":171373,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:47:13] local.INFO: Acknowledgment sent {"connection_id":171373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:47:23] local.INFO: TCP Data received {"connection_id":171371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:47:23] local.INFO: Processing buffer {"connection_id":171371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:47:23] local.INFO: Packet analysis {"connection_id":171371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:47:23] local.INFO: Extracted packet for processing {"connection_id":171371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865777408001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788538494000,"timestamp_ms":1788538494000,"timestamp_seconds":1788538494,"priority":1,"record_length":96,"hex_timestamp":"000001a06d339c30"} 
[2026-09-04 21:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865777408001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865777408001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:47:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865777408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":171371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:47:23] local.INFO: GPS data processed {"connection_id":171371,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:47:23] local.INFO: Acknowledgment sent {"connection_id":171371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:47:26] local.INFO: TCP Data received {"connection_id":171372,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:47:26] local.INFO: Processing buffer {"connection_id":171372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:47:26] local.INFO: Packet analysis {"connection_id":171372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:47:26] local.INFO: Extracted packet for processing {"connection_id":171372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:47:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865739264001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788538345000,"timestamp_ms":1788538345000,"timestamp_seconds":1788538345,"priority":1,"record_length":96,"hex_timestamp":"000001a06d315628"} 
[2026-09-04 21:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 21:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865739264001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865739264001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:47:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:47:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865739264001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":171372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765581,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:47:26] local.INFO: GPS data processed {"connection_id":171372,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:47:26] local.INFO: Acknowledgment sent {"connection_id":171372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:47:47] local.INFO: TCP Data received {"connection_id":172484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:47:47] local.INFO: Processing buffer {"connection_id":172484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:47:47] local.INFO: IMEI packet received {"connection_id":172484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":172484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:47:52] local.INFO: TCP Data received {"connection_id":172484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:47:52] local.INFO: Processing buffer {"connection_id":172484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:47:52] local.INFO: IMEI packet received {"connection_id":172484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":172484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:47:53] local.INFO: TCP Data received {"connection_id":172484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:47:53] local.INFO: Processing buffer {"connection_id":172484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:47:53] local.INFO: Packet analysis {"connection_id":172484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:47:53] local.INFO: Extracted packet for processing {"connection_id":172484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865777408001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788538494000,"timestamp_ms":1788538494000,"timestamp_seconds":1788538494,"priority":1,"record_length":96,"hex_timestamp":"000001a06d339c30"} 
[2026-09-04 21:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865777408001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865777408001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:47:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:47:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865777408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":172484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:47:53] local.INFO: GPS data processed {"connection_id":172484,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:47:53] local.INFO: Acknowledgment sent {"connection_id":172484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:47:53] local.INFO: TCP Data received {"connection_id":172485,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:47:53] local.INFO: Processing buffer {"connection_id":172485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:47:53] local.INFO: IMEI packet received {"connection_id":172485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":172485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:47:57] local.INFO: TCP Data received {"connection_id":171069,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:57] local.INFO: Processing buffer {"connection_id":171069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:57] local.INFO: IMEI packet received {"connection_id":171069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":171069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:47:58] local.INFO: TCP Data received {"connection_id":171069,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:58] local.INFO: Processing buffer {"connection_id":171069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:47:58] local.INFO: IMEI packet received {"connection_id":171069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":171069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:47:58] local.INFO: TCP Data received {"connection_id":172485,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:47:58] local.INFO: Processing buffer {"connection_id":172485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:47:58] local.INFO: IMEI packet received {"connection_id":172485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":172485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:47:59] local.INFO: TCP Data received {"connection_id":172485,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:47:59] local.INFO: Processing buffer {"connection_id":172485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:47:59] local.INFO: Packet analysis {"connection_id":172485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:47:59] local.INFO: Extracted packet for processing {"connection_id":172485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865739264001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788538345000,"timestamp_ms":1788538345000,"timestamp_seconds":1788538345,"priority":1,"record_length":96,"hex_timestamp":"000001a06d315628"} 
[2026-09-04 21:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 21:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865739264001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865739264001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:47:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865739264001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":172485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765583,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:48:00] local.INFO: GPS data processed {"connection_id":172485,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:48:00] local.INFO: Acknowledgment sent {"connection_id":172485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:48:03] local.INFO: TCP Data received {"connection_id":171069,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:48:03] local.INFO: Processing buffer {"connection_id":171069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:48:03] local.INFO: IMEI packet received {"connection_id":171069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":171069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:48:04] local.INFO: TCP Data received {"connection_id":172485,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:48:04] local.INFO: Processing buffer {"connection_id":172485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d315628012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:48:04] local.INFO: Packet analysis {"connection_id":172485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:48:04] local.INFO: Extracted packet for processing {"connection_id":172485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d31"} 
[2026-09-04 21:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865739264001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788538345000,"timestamp_ms":1788538345000,"timestamp_seconds":1788538345,"priority":1,"record_length":96,"hex_timestamp":"000001a06d315628"} 
[2026-09-04 21:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 21:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865739264001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865739264001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:48:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:48:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865739264001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":172485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765584,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:48:04] local.INFO: GPS data processed {"connection_id":172485,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:48:04] local.INFO: Acknowledgment sent {"connection_id":172485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:48:04] local.INFO: TCP Data received {"connection_id":171069,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d359fd0012d07af0006f68de00010008d2f..."} 
[2026-09-04 21:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d359fd0012d07af0006f68de00010008d2f..."} 
[2026-09-04 21:48:04] local.INFO: Processing buffer {"connection_id":171069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d359fd0012d07af0006f68de00010008d2f..."} 
[2026-09-04 21:48:04] local.INFO: Packet analysis {"connection_id":171069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:48:04] local.INFO: Extracted packet for processing {"connection_id":171069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:48:04] local.INFO: GPS Element Parsed {"raw_longitude":755478272,"raw_latitude":116821472,"longitude_deg":75.5478272,"latitude_deg":11.6821472,"altitude":16,"angle":141,"satellites":47,"speed":60,"hex_longitude":"2d07af00","hex_latitude":"06f68de0","is_valid_coordinates":true} 
[2026-09-04 21:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865886720001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398706572911443968,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":547046647145287680,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788538626000,"timestamp_ms":1788538626000,"timestamp_seconds":1788538626,"priority":1,"record_length":96,"hex_timestamp":"000001a06d359fd0"} 
[2026-09-04 21:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 21:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865886720001,"66":27397,"42":206,"80":6400,"24":60,"16":398706572911443968,"45":547046647145287680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-04 21:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865886720001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:48:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-04 21:48:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398706572911443968,"km_value":398706572911443.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":547046647145287680,"description":"Unknown IO ID 45"} 
[2026-09-04 21:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865886720001,"power":27397,"unknown_42":206,"unknown_80":6400,"ignition":60,"odometer":null,"unknown_45":547046647145287680}} 
[2026-09-04 21:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":171069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:48:04] local.INFO: GPS data processed {"connection_id":171069,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:48:04] local.INFO: Acknowledgment sent {"connection_id":171069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:48:24] local.INFO: TCP Data received {"connection_id":172484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:48:24] local.INFO: Processing buffer {"connection_id":172484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:48:24] local.INFO: Packet analysis {"connection_id":172484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:48:24] local.INFO: Extracted packet for processing {"connection_id":172484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:48:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865777408001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788538494000,"timestamp_ms":1788538494000,"timestamp_seconds":1788538494,"priority":1,"record_length":96,"hex_timestamp":"000001a06d339c30"} 
[2026-09-04 21:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865777408001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865777408001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:48:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:48:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865777408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":172484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:48:24] local.INFO: GPS data processed {"connection_id":172484,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:48:24] local.INFO: Acknowledgment sent {"connection_id":172484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:48:36] local.INFO: TCP Data received {"connection_id":171069,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d35b740012d07c58006f67290000e008c2e..."} 
[2026-09-04 21:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d35b740012d07c58006f67290000e008c2e..."} 
[2026-09-04 21:48:36] local.INFO: Processing buffer {"connection_id":171069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d35b740012d07c58006f67290000e008c2e..."} 
[2026-09-04 21:48:36] local.INFO: Packet analysis {"connection_id":171069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:48:36] local.INFO: Extracted packet for processing {"connection_id":171069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:48:36] local.INFO: GPS Element Parsed {"raw_longitude":755484032,"raw_latitude":116814480,"longitude_deg":75.5484032,"latitude_deg":11.681448,"altitude":14,"angle":140,"satellites":46,"speed":59,"hex_longitude":"2d07c580","hex_latitude":"06f67290","is_valid_coordinates":true} 
[2026-09-04 21:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865888256001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398707010998108160,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":553661309096157184,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788538632000,"timestamp_ms":1788538632000,"timestamp_seconds":1788538632,"priority":1,"record_length":96,"hex_timestamp":"000001a06d35b740"} 
[2026-09-04 21:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865888256001,"66":27376,"42":206,"80":6400,"24":59,"16":398707010998108160,"45":553661309096157184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-04 21:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865888256001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:48:36] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-04 21:48:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398707010998108160,"km_value":398707010998108.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":553661309096157184,"description":"Unknown IO ID 45"} 
[2026-09-04 21:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865888256001,"power":27376,"unknown_42":206,"unknown_80":6400,"ignition":59,"odometer":null,"unknown_45":553661309096157184}} 
[2026-09-04 21:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":171069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:48:36] local.INFO: GPS data processed {"connection_id":171069,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:48:36] local.INFO: Acknowledgment sent {"connection_id":171069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:48:47] local.INFO: TCP Data received {"connection_id":171374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:48:47] local.INFO: Processing buffer {"connection_id":171374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:48:47] local.INFO: IMEI packet received {"connection_id":171374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":171374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:48:48] local.INFO: TCP Data received {"connection_id":171070,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:48:48] local.INFO: Processing buffer {"connection_id":171070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:48:48] local.INFO: IMEI packet received {"connection_id":171070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":171070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:48:52] local.INFO: TCP Data received {"connection_id":171374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:48:52] local.INFO: Processing buffer {"connection_id":171374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:48:52] local.INFO: IMEI packet received {"connection_id":171374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":171374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:48:53] local.INFO: TCP Data received {"connection_id":171374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:48:53] local.INFO: Processing buffer {"connection_id":171374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:48:53] local.INFO: Packet analysis {"connection_id":171374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:48:53] local.INFO: Extracted packet for processing {"connection_id":171374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:48:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865777408001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788538494000,"timestamp_ms":1788538494000,"timestamp_seconds":1788538494,"priority":1,"record_length":96,"hex_timestamp":"000001a06d339c30"} 
[2026-09-04 21:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865777408001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865777408001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:48:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:48:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865777408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":171374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:48:53] local.INFO: GPS data processed {"connection_id":171374,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:48:53] local.INFO: Acknowledgment sent {"connection_id":171374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:48:53] local.INFO: TCP Data received {"connection_id":171070,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:48:53] local.INFO: Processing buffer {"connection_id":171070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:48:53] local.INFO: IMEI packet received {"connection_id":171070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":171070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:48:54] local.INFO: TCP Data received {"connection_id":171070,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:48:54] local.INFO: Processing buffer {"connection_id":171070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:48:54] local.INFO: Packet analysis {"connection_id":171070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:48:54] local.INFO: Extracted packet for processing {"connection_id":171070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:48:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865816320001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788538646000,"timestamp_ms":1788538646000,"timestamp_seconds":1788538646,"priority":1,"record_length":96,"hex_timestamp":"000001a06d35edf0"} 
[2026-09-04 21:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865816320001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865816320001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:48:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:48:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865816320001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":171070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765589,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:48:55] local.INFO: GPS data processed {"connection_id":171070,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:48:55] local.INFO: Acknowledgment sent {"connection_id":171070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:48:58] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:48:58] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:48:58] local.INFO: IMEI packet received {"connection_id":173759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":173759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:49:03] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:49:03] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:49:03] local.INFO: IMEI packet received {"connection_id":173759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":173759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:49:05] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d35d298012d07ddc006f653e8000d008e2f..."} 
[2026-09-04 21:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d35d298012d07ddc006f653e8000d008e2f..."} 
[2026-09-04 21:49:05] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d35d298012d07ddc006f653e8000d008e2f..."} 
[2026-09-04 21:49:05] local.INFO: Packet analysis {"connection_id":173759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:49:05] local.INFO: Extracted packet for processing {"connection_id":173759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:49:05] local.INFO: GPS Element Parsed {"raw_longitude":755490240,"raw_latitude":116806632,"longitude_deg":75.549024,"latitude_deg":11.6806632,"altitude":13,"angle":142,"satellites":47,"speed":54,"hex_longitude":"2d07ddc0","hex_latitude":"06f653e8","is_valid_coordinates":true} 
[2026-09-04 21:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865889792001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398707492034445312,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":559994496070356992,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788538639000,"timestamp_ms":1788538639000,"timestamp_seconds":1788538639,"priority":1,"record_length":96,"hex_timestamp":"000001a06d35d298"} 
[2026-09-04 21:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865889792001,"66":27463,"42":206,"80":6400,"24":54,"16":398707492034445312,"45":559994496070356992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-04 21:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865889792001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:49:05] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-04 21:49:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398707492034445312,"km_value":398707492034445.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":559994496070356992,"description":"Unknown IO ID 45"} 
[2026-09-04 21:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865889792001,"power":27463,"unknown_42":206,"unknown_80":6400,"ignition":54,"odometer":null,"unknown_45":559994496070356992}} 
[2026-09-04 21:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":173759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:49:05] local.INFO: GPS data processed {"connection_id":173759,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:49:05] local.INFO: Acknowledgment sent {"connection_id":173759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:49:23] local.INFO: TCP Data received {"connection_id":171374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:49:23] local.INFO: Processing buffer {"connection_id":171374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:49:23] local.INFO: Packet analysis {"connection_id":171374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:49:23] local.INFO: Extracted packet for processing {"connection_id":171374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865777408001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788538494000,"timestamp_ms":1788538494000,"timestamp_seconds":1788538494,"priority":1,"record_length":96,"hex_timestamp":"000001a06d339c30"} 
[2026-09-04 21:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865777408001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865777408001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:49:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865777408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":171374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:49:24] local.INFO: GPS data processed {"connection_id":171374,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:49:24] local.INFO: Acknowledgment sent {"connection_id":171374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:49:26] local.INFO: TCP Data received {"connection_id":171070,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:49:26] local.INFO: Processing buffer {"connection_id":171070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:49:26] local.INFO: Packet analysis {"connection_id":171070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:49:26] local.INFO: Extracted packet for processing {"connection_id":171070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:49:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865816320001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788538646000,"timestamp_ms":1788538646000,"timestamp_seconds":1788538646,"priority":1,"record_length":96,"hex_timestamp":"000001a06d35edf0"} 
[2026-09-04 21:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865816320001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865816320001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:49:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:49:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865816320001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":171070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765592,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:49:26] local.INFO: GPS data processed {"connection_id":171070,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:49:26] local.INFO: Acknowledgment sent {"connection_id":171070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:49:36] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d370f00012d08b24006f54400000d00a430..."} 
[2026-09-04 21:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d370f00012d08b24006f54400000d00a430..."} 
[2026-09-04 21:49:36] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d370f00012d08b24006f54400000d00a430..."} 
[2026-09-04 21:49:36] local.INFO: Packet analysis {"connection_id":173759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d37"} 
[2026-09-04 21:49:36] local.INFO: Extracted packet for processing {"connection_id":173759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d37"} 
[2026-09-04 21:49:36] local.INFO: GPS Element Parsed {"raw_longitude":755544640,"raw_latitude":116737024,"longitude_deg":75.554464,"latitude_deg":11.6737024,"altitude":13,"angle":164,"satellites":48,"speed":14,"hex_longitude":"2d08b240","hex_latitude":"06f54400","is_valid_coordinates":true} 
[2026-09-04 21:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865911808001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398711761231937536,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":626563328042749952,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788538720000,"timestamp_ms":1788538720000,"timestamp_seconds":1788538720,"priority":1,"record_length":96,"hex_timestamp":"000001a06d370f00"} 
[2026-09-04 21:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 21:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865911808001,"66":27397,"12":206,"80":6400,"24":14,"16":398711761231937536,"45":626563328042749952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-04 21:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865911808001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:49:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-04 21:49:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398711761231937536,"km_value":398711761231937.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":626563328042749952,"description":"Unknown IO ID 45"} 
[2026-09-04 21:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865911808001,"power":27397,"unknown_12":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":626563328042749952}} 
[2026-09-04 21:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":173759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:49:36] local.INFO: GPS data processed {"connection_id":173759,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:49:36] local.INFO: Acknowledgment sent {"connection_id":173759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:49:47] local.INFO: TCP Data received {"connection_id":172486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:49:47] local.INFO: Processing buffer {"connection_id":172486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:49:47] local.INFO: IMEI packet received {"connection_id":172486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":172486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:49:48] local.INFO: TCP Data received {"connection_id":172487,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:49:48] local.INFO: Processing buffer {"connection_id":172487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:49:48] local.INFO: IMEI packet received {"connection_id":172487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":172487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:49:52] local.INFO: TCP Data received {"connection_id":172486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:49:52] local.INFO: Processing buffer {"connection_id":172486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:49:52] local.INFO: IMEI packet received {"connection_id":172486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":172486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:49:53] local.INFO: TCP Data received {"connection_id":172486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:49:53] local.INFO: Processing buffer {"connection_id":172486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:49:53] local.INFO: Packet analysis {"connection_id":172486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:49:53] local.INFO: Extracted packet for processing {"connection_id":172486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:49:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865777408001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788538494000,"timestamp_ms":1788538494000,"timestamp_seconds":1788538494,"priority":1,"record_length":96,"hex_timestamp":"000001a06d339c30"} 
[2026-09-04 21:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865777408001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865777408001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:49:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:49:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865777408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":172486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:49:53] local.INFO: GPS data processed {"connection_id":172486,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:49:53] local.INFO: Acknowledgment sent {"connection_id":172486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:49:53] local.INFO: TCP Data received {"connection_id":172487,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:49:53] local.INFO: Processing buffer {"connection_id":172487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:49:53] local.INFO: IMEI packet received {"connection_id":172487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":172487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:49:55] local.INFO: TCP Data received {"connection_id":172487,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:49:55] local.INFO: Processing buffer {"connection_id":172487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:49:55] local.INFO: Packet analysis {"connection_id":172487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:49:55] local.INFO: Extracted packet for processing {"connection_id":172487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865816320001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788538646000,"timestamp_ms":1788538646000,"timestamp_seconds":1788538646,"priority":1,"record_length":96,"hex_timestamp":"000001a06d35edf0"} 
[2026-09-04 21:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865816320001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865816320001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:49:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:49:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865816320001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":172487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765595,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:49:55] local.INFO: GPS data processed {"connection_id":172487,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:49:55] local.INFO: Acknowledgment sent {"connection_id":172487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:49:59] local.INFO: TCP Data received {"connection_id":171375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:49:59] local.INFO: Processing buffer {"connection_id":171375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:49:59] local.INFO: IMEI packet received {"connection_id":171375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":171375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:50:03] local.INFO: TCP Data received {"connection_id":171375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:50:03] local.INFO: Processing buffer {"connection_id":171375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:50:03] local.INFO: IMEI packet received {"connection_id":171375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":171375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:50:04] local.INFO: TCP Data received {"connection_id":171375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3716d0012d08b3c006f540b0000d009730..."} 
[2026-09-04 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3716d0012d08b3c006f540b0000d009730..."} 
[2026-09-04 21:50:04] local.INFO: Processing buffer {"connection_id":171375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3716d0012d08b3c006f540b0000d009730..."} 
[2026-09-04 21:50:04] local.INFO: Packet analysis {"connection_id":171375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d37"} 
[2026-09-04 21:50:04] local.INFO: Extracted packet for processing {"connection_id":171375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d37"} 
[2026-09-04 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":755545024,"raw_latitude":116736176,"longitude_deg":75.5545024,"latitude_deg":11.6736176,"altitude":13,"angle":151,"satellites":48,"speed":21,"hex_longitude":"2d08b3c0","hex_latitude":"06f540b0","is_valid_coordinates":true} 
[2026-09-04 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865912320001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398711808476577792,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":626633696786776064,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788538722000,"timestamp_ms":1788538722000,"timestamp_seconds":1788538722,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3716d0"} 
[2026-09-04 21:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865912320001,"66":27343,"12":206,"80":6400,"24":21,"16":398711808476577792,"45":626633696786776064},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-04 21:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865912320001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:50:04] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-04 21:50:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398711808476577792,"km_value":398711808476577.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":626633696786776064,"description":"Unknown IO ID 45"} 
[2026-09-04 21:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865912320001,"power":27343,"unknown_12":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":626633696786776064}} 
[2026-09-04 21:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":171375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:50:04] local.INFO: GPS data processed {"connection_id":171375,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:50:04] local.INFO: Acknowledgment sent {"connection_id":171375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:50:24] local.INFO: TCP Data received {"connection_id":172486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:50:24] local.INFO: Processing buffer {"connection_id":172486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d339c30012d1965c0071fef800047011526..."} 
[2026-09-04 21:50:24] local.INFO: Packet analysis {"connection_id":172486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:50:24] local.INFO: Extracted packet for processing {"connection_id":172486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d33"} 
[2026-09-04 21:50:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865777408001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788538494000,"timestamp_ms":1788538494000,"timestamp_seconds":1788538494,"priority":1,"record_length":96,"hex_timestamp":"000001a06d339c30"} 
[2026-09-04 21:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865777408001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865777408001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:50:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:50:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865777408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":172486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:50:24] local.INFO: GPS data processed {"connection_id":172486,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:50:24] local.INFO: Acknowledgment sent {"connection_id":172486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:50:26] local.INFO: TCP Data received {"connection_id":172487,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:50:26] local.INFO: Processing buffer {"connection_id":172487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:50:26] local.INFO: Packet analysis {"connection_id":172487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:50:26] local.INFO: Extracted packet for processing {"connection_id":172487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:50:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865816320001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788538646000,"timestamp_ms":1788538646000,"timestamp_seconds":1788538646,"priority":1,"record_length":96,"hex_timestamp":"000001a06d35edf0"} 
[2026-09-04 21:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865816320001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865816320001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:50:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:50:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865816320001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":172487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765598,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:50:26] local.INFO: GPS data processed {"connection_id":172487,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:50:26] local.INFO: Acknowledgment sent {"connection_id":172487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:50:36] local.INFO: TCP Data received {"connection_id":171375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3741c8012d08c80006f52508000d008c30..."} 
[2026-09-04 21:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3741c8012d08c80006f52508000d008c30..."} 
[2026-09-04 21:50:36] local.INFO: Processing buffer {"connection_id":171375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3741c8012d08c80006f52508000d008c30..."} 
[2026-09-04 21:50:36] local.INFO: Packet analysis {"connection_id":171375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d37"} 
[2026-09-04 21:50:36] local.INFO: Extracted packet for processing {"connection_id":171375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d37"} 
[2026-09-04 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":755550208,"raw_latitude":116729096,"longitude_deg":75.5550208,"latitude_deg":11.6729096,"altitude":13,"angle":140,"satellites":48,"speed":39,"hex_longitude":"2d08c800","hex_latitude":"06f52508","is_valid_coordinates":true} 
[2026-09-04 21:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865912832001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398712229383372800,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":627055909251624960,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788538733000,"timestamp_ms":1788538733000,"timestamp_seconds":1788538733,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3741c8"} 
[2026-09-04 21:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 21:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865912832001,"66":27300,"12":206,"80":6400,"24":39,"16":398712229383372800,"45":627055909251624960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-04 21:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865912832001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:50:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-04 21:50:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398712229383372800,"km_value":398712229383372.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":627055909251624960,"description":"Unknown IO ID 45"} 
[2026-09-04 21:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865912832001,"power":27300,"unknown_12":206,"unknown_80":6400,"ignition":39,"odometer":null,"unknown_45":627055909251624960}} 
[2026-09-04 21:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":171375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:50:36] local.INFO: GPS data processed {"connection_id":171375,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:50:36] local.INFO: Acknowledgment sent {"connection_id":171375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:50:47] local.INFO: TCP Data received {"connection_id":172488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:50:47] local.INFO: Processing buffer {"connection_id":172488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:50:47] local.INFO: IMEI packet received {"connection_id":172488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":172488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:50:52] local.INFO: TCP Data received {"connection_id":172488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:50:52] local.INFO: Processing buffer {"connection_id":172488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:50:52] local.INFO: IMEI packet received {"connection_id":172488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":172488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:50:52] local.INFO: TCP Data received {"connection_id":172488,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:50:52] local.INFO: Processing buffer {"connection_id":172488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:50:52] local.INFO: Packet analysis {"connection_id":172488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:50:52] local.INFO: Extracted packet for processing {"connection_id":172488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865854464001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788538795000,"timestamp_ms":1788538795000,"timestamp_seconds":1788538795,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3833f8"} 
[2026-09-04 21:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865854464001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865854464001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:50:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:50:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865854464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":172488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:50:53] local.INFO: GPS data processed {"connection_id":172488,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:50:53] local.INFO: Acknowledgment sent {"connection_id":172488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:50:53] local.INFO: TCP Data received {"connection_id":171071,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:50:53] local.INFO: Processing buffer {"connection_id":171071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:50:53] local.INFO: IMEI packet received {"connection_id":171071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":171071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:50:58] local.INFO: TCP Data received {"connection_id":173760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:50:58] local.INFO: Processing buffer {"connection_id":173760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:50:58] local.INFO: IMEI packet received {"connection_id":173760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":173760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:50:58] local.INFO: TCP Data received {"connection_id":171071,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:50:58] local.INFO: Processing buffer {"connection_id":171071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:50:58] local.INFO: IMEI packet received {"connection_id":171071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":171071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:50:59] local.INFO: TCP Data received {"connection_id":171071,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:50:59] local.INFO: Processing buffer {"connection_id":171071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:50:59] local.INFO: Packet analysis {"connection_id":171071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:50:59] local.INFO: Extracted packet for processing {"connection_id":171071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:50:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865816320001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788538646000,"timestamp_ms":1788538646000,"timestamp_seconds":1788538646,"priority":1,"record_length":96,"hex_timestamp":"000001a06d35edf0"} 
[2026-09-04 21:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171071,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171071,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865816320001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865816320001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:50:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:50:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865816320001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":171071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765601,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:51:00] local.INFO: GPS data processed {"connection_id":171071,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:51:00] local.INFO: Acknowledgment sent {"connection_id":171071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:51:00] local.INFO: TCP Data received {"connection_id":173760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:51:00] local.INFO: Processing buffer {"connection_id":173760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:51:00] local.INFO: IMEI packet received {"connection_id":173760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":173760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:51:03] local.INFO: TCP Data received {"connection_id":173760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:51:03] local.INFO: Processing buffer {"connection_id":173760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:51:03] local.INFO: IMEI packet received {"connection_id":173760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":173760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:51:04] local.INFO: TCP Data received {"connection_id":171071,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:51:04] local.INFO: Processing buffer {"connection_id":171071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:51:04] local.INFO: Packet analysis {"connection_id":171071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:51:04] local.INFO: Extracted packet for processing {"connection_id":171071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865816320001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788538646000,"timestamp_ms":1788538646000,"timestamp_seconds":1788538646,"priority":1,"record_length":96,"hex_timestamp":"000001a06d35edf0"} 
[2026-09-04 21:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171071,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171071,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865816320001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865816320001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:51:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:51:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865816320001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":171071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765602,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:51:04] local.INFO: GPS data processed {"connection_id":171071,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:51:04] local.INFO: Acknowledgment sent {"connection_id":171071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:51:04] local.INFO: TCP Data received {"connection_id":173760,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3770a8012d08dec006f50a00000d00882f..."} 
[2026-09-04 21:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3770a8012d08dec006f50a00000d00882f..."} 
[2026-09-04 21:51:04] local.INFO: Processing buffer {"connection_id":173760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3770a8012d08dec006f50a00000d00882f..."} 
[2026-09-04 21:51:04] local.INFO: Packet analysis {"connection_id":173760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d37"} 
[2026-09-04 21:51:04] local.INFO: Extracted packet for processing {"connection_id":173760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d37"} 
[2026-09-04 21:51:04] local.INFO: GPS Element Parsed {"raw_longitude":755556032,"raw_latitude":116722176,"longitude_deg":75.5556032,"latitude_deg":11.6722176,"altitude":13,"angle":136,"satellites":47,"speed":31,"hex_longitude":"2d08dec0","hex_latitude":"06f50a00","is_valid_coordinates":true} 
[2026-09-04 21:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865915648001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398712663175069696,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":632755777528203264,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788538745000,"timestamp_ms":1788538745000,"timestamp_seconds":1788538745,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3770a8"} 
[2026-09-04 21:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 21:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865915648001,"66":27267,"12":206,"80":6400,"24":31,"16":398712663175069696,"45":632755777528203264},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-04 21:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865915648001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:51:04] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-04 21:51:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398712663175069696,"km_value":398712663175069.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":632755777528203264,"description":"Unknown IO ID 45"} 
[2026-09-04 21:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865915648001,"power":27267,"unknown_12":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":632755777528203264}} 
[2026-09-04 21:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":173760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:51:04] local.INFO: GPS data processed {"connection_id":173760,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:51:04] local.INFO: Acknowledgment sent {"connection_id":173760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:51:23] local.INFO: TCP Data received {"connection_id":172488,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:51:23] local.INFO: Processing buffer {"connection_id":172488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:51:23] local.INFO: Packet analysis {"connection_id":172488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:51:23] local.INFO: Extracted packet for processing {"connection_id":172488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865854464001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788538795000,"timestamp_ms":1788538795000,"timestamp_seconds":1788538795,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3833f8"} 
[2026-09-04 21:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865854464001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865854464001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:51:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865854464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":172488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:51:23] local.INFO: GPS data processed {"connection_id":172488,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:51:23] local.INFO: Acknowledgment sent {"connection_id":172488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:51:36] local.INFO: TCP Data received {"connection_id":173760,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d379ba0012d08f84006f4f1d8000d008730..."} 
[2026-09-04 21:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d379ba0012d08f84006f4f1d8000d008730..."} 
[2026-09-04 21:51:36] local.INFO: Processing buffer {"connection_id":173760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d379ba0012d08f84006f4f1d8000d008730..."} 
[2026-09-04 21:51:36] local.INFO: Packet analysis {"connection_id":173760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d37"} 
[2026-09-04 21:51:36] local.INFO: Extracted packet for processing {"connection_id":173760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d37"} 
[2026-09-04 21:51:36] local.INFO: GPS Element Parsed {"raw_longitude":755562560,"raw_latitude":116715992,"longitude_deg":75.556256,"latitude_deg":11.6715992,"altitude":13,"angle":135,"satellites":48,"speed":24,"hex_longitude":"2d08f840","hex_latitude":"06f4f1d8","is_valid_coordinates":true} 
[2026-09-04 21:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865918720001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398713096966766592,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":639159333246599168,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788538756000,"timestamp_ms":1788538756000,"timestamp_seconds":1788538756,"priority":1,"record_length":96,"hex_timestamp":"000001a06d379ba0"} 
[2026-09-04 21:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 21:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865918720001,"66":27332,"12":206,"80":6400,"24":24,"16":398713096966766592,"45":639159333246599168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-04 21:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865918720001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:51:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-04 21:51:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398713096966766592,"km_value":398713096966766.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":639159333246599168,"description":"Unknown IO ID 45"} 
[2026-09-04 21:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865918720001,"power":27332,"unknown_12":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":639159333246599168}} 
[2026-09-04 21:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":173760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:51:36] local.INFO: GPS data processed {"connection_id":173760,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:51:36] local.INFO: Acknowledgment sent {"connection_id":173760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:51:47] local.INFO: TCP Data received {"connection_id":173761,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:51:47] local.INFO: Processing buffer {"connection_id":173761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:51:47] local.INFO: IMEI packet received {"connection_id":173761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":173761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:51:48] local.INFO: TCP Data received {"connection_id":172489,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:51:48] local.INFO: Processing buffer {"connection_id":172489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:51:48] local.INFO: IMEI packet received {"connection_id":172489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":172489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:51:52] local.INFO: TCP Data received {"connection_id":173761,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:51:52] local.INFO: Processing buffer {"connection_id":173761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:51:52] local.INFO: IMEI packet received {"connection_id":173761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":173761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:51:53] local.INFO: TCP Data received {"connection_id":173761,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:51:53] local.INFO: Processing buffer {"connection_id":173761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:51:53] local.INFO: Packet analysis {"connection_id":173761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:51:53] local.INFO: Extracted packet for processing {"connection_id":173761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:51:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865854464001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788538795000,"timestamp_ms":1788538795000,"timestamp_seconds":1788538795,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3833f8"} 
[2026-09-04 21:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865854464001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865854464001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:51:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:51:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865854464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":173761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:51:53] local.INFO: GPS data processed {"connection_id":173761,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:51:53] local.INFO: Acknowledgment sent {"connection_id":173761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:51:53] local.INFO: TCP Data received {"connection_id":172489,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:51:53] local.INFO: Processing buffer {"connection_id":172489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:51:53] local.INFO: IMEI packet received {"connection_id":172489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":172489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:51:54] local.INFO: TCP Data received {"connection_id":172489,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:51:54] local.INFO: Processing buffer {"connection_id":172489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:51:54] local.INFO: Packet analysis {"connection_id":172489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:51:54] local.INFO: Extracted packet for processing {"connection_id":172489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:51:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865816320001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788538646000,"timestamp_ms":1788538646000,"timestamp_seconds":1788538646,"priority":1,"record_length":96,"hex_timestamp":"000001a06d35edf0"} 
[2026-09-04 21:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865816320001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865816320001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:51:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:51:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865816320001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":172489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765607,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:51:55] local.INFO: GPS data processed {"connection_id":172489,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:51:55] local.INFO: Acknowledgment sent {"connection_id":172489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:52:02] local.INFO: TCP Data received {"connection_id":171376,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:02] local.INFO: Processing buffer {"connection_id":171376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:02] local.INFO: IMEI packet received {"connection_id":171376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":171376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:52:03] local.INFO: TCP Data received {"connection_id":171376,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:03] local.INFO: Processing buffer {"connection_id":171376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:03] local.INFO: IMEI packet received {"connection_id":171376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":171376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:52:08] local.INFO: TCP Data received {"connection_id":171376,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:08] local.INFO: Processing buffer {"connection_id":171376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:08] local.INFO: IMEI packet received {"connection_id":171376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":171376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:52:09] local.INFO: TCP Data received {"connection_id":171376,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d392240012d09838006f3e080001000a92e..."} 
[2026-09-04 21:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d392240012d09838006f3e080001000a92e..."} 
[2026-09-04 21:52:09] local.INFO: Processing buffer {"connection_id":171376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d392240012d09838006f3e080001000a92e..."} 
[2026-09-04 21:52:09] local.INFO: Packet analysis {"connection_id":171376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d39"} 
[2026-09-04 21:52:09] local.INFO: Extracted packet for processing {"connection_id":171376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d39"} 
[2026-09-04 21:52:09] local.INFO: GPS Element Parsed {"raw_longitude":755598208,"raw_latitude":116646016,"longitude_deg":75.5598208,"latitude_deg":11.6646016,"altitude":16,"angle":169,"satellites":46,"speed":21,"hex_longitude":"2d098380","hex_latitude":"06f3e080","is_valid_coordinates":true} 
[2026-09-04 21:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865944064001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398716958142365696,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":682858323363710976,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788538856000,"timestamp_ms":1788538856000,"timestamp_seconds":1788538856,"priority":1,"record_length":96,"hex_timestamp":"000001a06d392240"} 
[2026-09-04 21:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865944064001,"66":27365,"81":206,"80":6400,"24":21,"16":398716958142365696,"45":682858323363710976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-04 21:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865944064001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-04 21:52:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398716958142365696,"km_value":398716958142365.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":682858323363710976,"description":"Unknown IO ID 45"} 
[2026-09-04 21:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865944064001,"power":27365,"unknown_81":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":682858323363710976}} 
[2026-09-04 21:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":171376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:52:09] local.INFO: GPS data processed {"connection_id":171376,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:52:09] local.INFO: Acknowledgment sent {"connection_id":171376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:52:13] local.INFO: TCP Data received {"connection_id":171376,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d397060012d098d8006f3bf00001200a42d..."} 
[2026-09-04 21:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d397060012d098d8006f3bf00001200a42d..."} 
[2026-09-04 21:52:13] local.INFO: Processing buffer {"connection_id":171376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d397060012d098d8006f3bf00001200a42d..."} 
[2026-09-04 21:52:13] local.INFO: Packet analysis {"connection_id":171376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d39"} 
[2026-09-04 21:52:13] local.INFO: Extracted packet for processing {"connection_id":171376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d39"} 
[2026-09-04 21:52:13] local.INFO: GPS Element Parsed {"raw_longitude":755600768,"raw_latitude":116637440,"longitude_deg":75.5600768,"latitude_deg":11.663744,"altitude":18,"angle":164,"satellites":45,"speed":10,"hex_longitude":"2d098d80","hex_latitude":"06f3bf00","is_valid_coordinates":true} 
[2026-09-04 21:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865947136001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398717391934062592,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":685532335640182784,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788538876000,"timestamp_ms":1788538876000,"timestamp_seconds":1788538876,"priority":1,"record_length":96,"hex_timestamp":"000001a06d397060"} 
[2026-09-04 21:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 21:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865947136001,"66":27365,"81":206,"80":6400,"24":10,"16":398717391934062592,"45":685532335640182784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-04 21:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865947136001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:52:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-04 21:52:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398717391934062592,"km_value":398717391934062.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":685532335640182784,"description":"Unknown IO ID 45"} 
[2026-09-04 21:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865947136001,"power":27365,"unknown_81":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":685532335640182784}} 
[2026-09-04 21:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":171376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:52:13] local.INFO: GPS data processed {"connection_id":171376,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:52:13] local.INFO: Acknowledgment sent {"connection_id":171376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:52:23] local.INFO: TCP Data received {"connection_id":173761,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:52:23] local.INFO: Processing buffer {"connection_id":173761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:52:23] local.INFO: Packet analysis {"connection_id":173761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:52:23] local.INFO: Extracted packet for processing {"connection_id":173761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865854464001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788538795000,"timestamp_ms":1788538795000,"timestamp_seconds":1788538795,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3833f8"} 
[2026-09-04 21:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865854464001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865854464001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:52:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:52:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865854464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":173761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:52:24] local.INFO: GPS data processed {"connection_id":173761,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:52:24] local.INFO: Acknowledgment sent {"connection_id":173761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:52:26] local.INFO: TCP Data received {"connection_id":172489,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:52:26] local.INFO: Processing buffer {"connection_id":172489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:52:26] local.INFO: Packet analysis {"connection_id":172489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:52:26] local.INFO: Extracted packet for processing {"connection_id":172489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:52:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865816320001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788538646000,"timestamp_ms":1788538646000,"timestamp_seconds":1788538646,"priority":1,"record_length":96,"hex_timestamp":"000001a06d35edf0"} 
[2026-09-04 21:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865816320001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865816320001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:52:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:52:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865816320001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":172489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765611,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:52:26] local.INFO: GPS data processed {"connection_id":172489,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:52:26] local.INFO: Acknowledgment sent {"connection_id":172489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:52:47] local.INFO: TCP Data received {"connection_id":171072,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:52:47] local.INFO: Processing buffer {"connection_id":171072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:52:47] local.INFO: IMEI packet received {"connection_id":171072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":171072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:52:49] local.INFO: TCP Data received {"connection_id":173762,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:52:49] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:52:49] local.INFO: IMEI packet received {"connection_id":173762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":173762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:52:52] local.INFO: TCP Data received {"connection_id":171072,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:52:52] local.INFO: Processing buffer {"connection_id":171072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:52:52] local.INFO: IMEI packet received {"connection_id":171072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":171072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:52:53] local.INFO: TCP Data received {"connection_id":171072,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:52:53] local.INFO: Processing buffer {"connection_id":171072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:52:53] local.INFO: Packet analysis {"connection_id":171072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:52:53] local.INFO: Extracted packet for processing {"connection_id":171072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:52:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865854464001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788538795000,"timestamp_ms":1788538795000,"timestamp_seconds":1788538795,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3833f8"} 
[2026-09-04 21:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865854464001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865854464001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:52:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:52:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865854464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":171072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:52:53] local.INFO: GPS data processed {"connection_id":171072,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:52:53] local.INFO: Acknowledgment sent {"connection_id":171072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:52:53] local.INFO: TCP Data received {"connection_id":173762,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:52:53] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:52:53] local.INFO: IMEI packet received {"connection_id":173762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":173762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:52:55] local.INFO: TCP Data received {"connection_id":173762,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:52:55] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d35edf0012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:52:55] local.INFO: Packet analysis {"connection_id":173762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:52:55] local.INFO: Extracted packet for processing {"connection_id":173762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d35"} 
[2026-09-04 21:52:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865816320001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788538646000,"timestamp_ms":1788538646000,"timestamp_seconds":1788538646,"priority":1,"record_length":96,"hex_timestamp":"000001a06d35edf0"} 
[2026-09-04 21:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865816320001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865816320001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:52:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:52:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865816320001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":173762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:52:55] local.INFO: GPS data processed {"connection_id":173762,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:52:55] local.INFO: Acknowledgment sent {"connection_id":173762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:52:56] local.INFO: TCP Data received {"connection_id":171073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:56] local.INFO: Processing buffer {"connection_id":171073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:56] local.INFO: IMEI packet received {"connection_id":171073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":171073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:52:58] local.INFO: TCP Data received {"connection_id":171073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:58] local.INFO: Processing buffer {"connection_id":171073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:52:58] local.INFO: IMEI packet received {"connection_id":171073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":171073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:53:00] local.INFO: TCP Data received {"connection_id":171073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:53:00] local.INFO: Processing buffer {"connection_id":171073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:53:00] local.INFO: IMEI packet received {"connection_id":171073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":171073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:53:01] local.INFO: TCP Data received {"connection_id":171073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d398fa0012d098ec006f3b898001300b02d..."} 
[2026-09-04 21:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d398fa0012d098ec006f3b898001300b02d..."} 
[2026-09-04 21:53:01] local.INFO: Processing buffer {"connection_id":171073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d398fa0012d098ec006f3b898001300b02d..."} 
[2026-09-04 21:53:01] local.INFO: Packet analysis {"connection_id":171073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d39"} 
[2026-09-04 21:53:01] local.INFO: Extracted packet for processing {"connection_id":171073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d39"} 
[2026-09-04 21:53:01] local.INFO: GPS Element Parsed {"raw_longitude":755601088,"raw_latitude":116635800,"longitude_deg":75.5601088,"latitude_deg":11.66358,"altitude":19,"angle":176,"satellites":45,"speed":10,"hex_longitude":"2d098ec0","hex_latitude":"06f3b898","is_valid_coordinates":true} 
[2026-09-04 21:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865952256001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398717473538441216,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":688347085405093888,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788538884000,"timestamp_ms":1788538884000,"timestamp_seconds":1788538884,"priority":1,"record_length":96,"hex_timestamp":"000001a06d398fa0"} 
[2026-09-04 21:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 21:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865952256001,"66":27397,"81":206,"80":6400,"24":10,"16":398717473538441216,"45":688347085405093888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-04 21:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865952256001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:53:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-04 21:53:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398717473538441216,"km_value":398717473538441.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":688347085405093888,"description":"Unknown IO ID 45"} 
[2026-09-04 21:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865952256001,"power":27397,"unknown_81":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":688347085405093888}} 
[2026-09-04 21:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":171073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:53:01] local.INFO: GPS data processed {"connection_id":171073,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:53:01] local.INFO: Acknowledgment sent {"connection_id":171073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:53:24] local.INFO: TCP Data received {"connection_id":171072,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:53:24] local.INFO: Processing buffer {"connection_id":171072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:53:24] local.INFO: Packet analysis {"connection_id":171072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:53:24] local.INFO: Extracted packet for processing {"connection_id":171072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:53:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865854464001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788538795000,"timestamp_ms":1788538795000,"timestamp_seconds":1788538795,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3833f8"} 
[2026-09-04 21:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865854464001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865854464001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:53:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:53:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865854464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":171072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:53:24] local.INFO: GPS data processed {"connection_id":171072,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:53:24] local.INFO: Acknowledgment sent {"connection_id":171072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:53:26] local.INFO: TCP Data received {"connection_id":173762,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:53:26] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:53:26] local.INFO: Packet analysis {"connection_id":173762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:53:26] local.INFO: Extracted packet for processing {"connection_id":173762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:53:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865893376001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788538947000,"timestamp_ms":1788538947000,"timestamp_seconds":1788538947,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3a85b8"} 
[2026-09-04 21:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 21:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865893376001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865893376001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:53:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:53:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865893376001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":173762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765616,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:53:26] local.INFO: GPS data processed {"connection_id":173762,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:53:26] local.INFO: Acknowledgment sent {"connection_id":173762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:53:32] local.INFO: TCP Data received {"connection_id":171073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d39e1a8012d09940006f39a48001500a52c..."} 
[2026-09-04 21:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d39e1a8012d09940006f39a48001500a52c..."} 
[2026-09-04 21:53:32] local.INFO: Processing buffer {"connection_id":171073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d39e1a8012d09940006f39a48001500a52c..."} 
[2026-09-04 21:53:32] local.INFO: Packet analysis {"connection_id":171073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d39"} 
[2026-09-04 21:53:32] local.INFO: Extracted packet for processing {"connection_id":171073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d39"} 
[2026-09-04 21:53:32] local.INFO: GPS Element Parsed {"raw_longitude":755602432,"raw_latitude":116628040,"longitude_deg":75.5602432,"latitude_deg":11.662804,"altitude":21,"angle":165,"satellites":44,"speed":20,"hex_longitude":"2d099400","hex_latitude":"06f39a48","is_valid_coordinates":true} 
[2026-09-04 21:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865954304001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398717855790530560,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":688698929125562368,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788538905000,"timestamp_ms":1788538905000,"timestamp_seconds":1788538905,"priority":1,"record_length":96,"hex_timestamp":"000001a06d39e1a8"} 
[2026-09-04 21:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865954304001,"66":27376,"81":206,"80":6400,"24":20,"16":398717855790530560,"45":688698929125562368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-04 21:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865954304001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:53:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-04 21:53:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398717855790530560,"km_value":398717855790530.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":688698929125562368,"description":"Unknown IO ID 45"} 
[2026-09-04 21:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865954304001,"power":27376,"unknown_81":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":688698929125562368}} 
[2026-09-04 21:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":171073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:53:32] local.INFO: GPS data processed {"connection_id":171073,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:53:32] local.INFO: Acknowledgment sent {"connection_id":171073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:53:47] local.INFO: TCP Data received {"connection_id":171074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:53:47] local.INFO: Processing buffer {"connection_id":171074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:53:47] local.INFO: IMEI packet received {"connection_id":171074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":171074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:53:48] local.INFO: TCP Data received {"connection_id":171075,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:53:48] local.INFO: Processing buffer {"connection_id":171075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:53:48] local.INFO: IMEI packet received {"connection_id":171075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":171075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:53:52] local.INFO: TCP Data received {"connection_id":171074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:53:52] local.INFO: Processing buffer {"connection_id":171074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:53:52] local.INFO: IMEI packet received {"connection_id":171074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":171074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:53:53] local.INFO: TCP Data received {"connection_id":171074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:53:53] local.INFO: Processing buffer {"connection_id":171074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:53:53] local.INFO: Packet analysis {"connection_id":171074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:53:53] local.INFO: Extracted packet for processing {"connection_id":171074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:53:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865854464001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788538795000,"timestamp_ms":1788538795000,"timestamp_seconds":1788538795,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3833f8"} 
[2026-09-04 21:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865854464001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865854464001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:53:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:53:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865854464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":171074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:53:53] local.INFO: GPS data processed {"connection_id":171074,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:53:53] local.INFO: Acknowledgment sent {"connection_id":171074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:53:53] local.INFO: TCP Data received {"connection_id":171075,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:53:53] local.INFO: Processing buffer {"connection_id":171075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:53:53] local.INFO: IMEI packet received {"connection_id":171075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":171075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:53:55] local.INFO: TCP Data received {"connection_id":171075,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:53:55] local.INFO: Processing buffer {"connection_id":171075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:53:55] local.INFO: Packet analysis {"connection_id":171075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:53:55] local.INFO: Extracted packet for processing {"connection_id":171075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:53:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865893376001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788538947000,"timestamp_ms":1788538947000,"timestamp_seconds":1788538947,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3a85b8"} 
[2026-09-04 21:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 21:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865893376001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865893376001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:53:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865893376001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":171075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765619,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:53:55] local.INFO: GPS data processed {"connection_id":171075,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:53:55] local.INFO: Acknowledgment sent {"connection_id":171075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:53:58] local.INFO: TCP Data received {"connection_id":173763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:53:58] local.INFO: Processing buffer {"connection_id":173763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:53:58] local.INFO: IMEI packet received {"connection_id":173763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":173763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:54:03] local.INFO: TCP Data received {"connection_id":173763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:54:03] local.INFO: Processing buffer {"connection_id":173763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:54:03] local.INFO: IMEI packet received {"connection_id":173763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":173763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:54:04] local.INFO: TCP Data received {"connection_id":173763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d39e1a8012d09940006f39a48001500a52c..."} 
[2026-09-04 21:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d39e1a8012d09940006f39a48001500a52c..."} 
[2026-09-04 21:54:04] local.INFO: Processing buffer {"connection_id":173763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d39e1a8012d09940006f39a48001500a52c..."} 
[2026-09-04 21:54:04] local.INFO: Packet analysis {"connection_id":173763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d39"} 
[2026-09-04 21:54:04] local.INFO: Extracted packet for processing {"connection_id":173763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d39"} 
[2026-09-04 21:54:04] local.INFO: GPS Element Parsed {"raw_longitude":755602432,"raw_latitude":116628040,"longitude_deg":75.5602432,"latitude_deg":11.662804,"altitude":21,"angle":165,"satellites":44,"speed":20,"hex_longitude":"2d099400","hex_latitude":"06f39a48","is_valid_coordinates":true} 
[2026-09-04 21:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865959680001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398717855790530560,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":690176672751306752,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788538905000,"timestamp_ms":1788538905000,"timestamp_seconds":1788538905,"priority":1,"record_length":96,"hex_timestamp":"000001a06d39e1a8"} 
[2026-09-04 21:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865959680001,"66":27376,"81":206,"80":6400,"24":20,"16":398717855790530560,"45":690176672751306752},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-04 21:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865959680001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:54:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-04 21:54:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398717855790530560,"km_value":398717855790530.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":690176672751306752,"description":"Unknown IO ID 45"} 
[2026-09-04 21:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865959680001,"power":27376,"unknown_81":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":690176672751306752}} 
[2026-09-04 21:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":173763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:54:04] local.INFO: GPS data processed {"connection_id":173763,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:54:04] local.INFO: Acknowledgment sent {"connection_id":173763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:54:24] local.INFO: TCP Data received {"connection_id":171074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:54:24] local.INFO: Processing buffer {"connection_id":171074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:54:24] local.INFO: Packet analysis {"connection_id":171074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:54:24] local.INFO: Extracted packet for processing {"connection_id":171074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:54:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865854464001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788538795000,"timestamp_ms":1788538795000,"timestamp_seconds":1788538795,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3833f8"} 
[2026-09-04 21:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865854464001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865854464001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:54:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:54:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865854464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":171074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:54:24] local.INFO: GPS data processed {"connection_id":171074,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:54:24] local.INFO: Acknowledgment sent {"connection_id":171074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:54:27] local.INFO: TCP Data received {"connection_id":171075,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:54:27] local.INFO: Processing buffer {"connection_id":171075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:54:27] local.INFO: Packet analysis {"connection_id":171075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:54:27] local.INFO: Extracted packet for processing {"connection_id":171075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:54:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865893376001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788538947000,"timestamp_ms":1788538947000,"timestamp_seconds":1788538947,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3a85b8"} 
[2026-09-04 21:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 21:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865893376001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865893376001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:54:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:54:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865893376001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":171075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765622,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:54:27] local.INFO: GPS data processed {"connection_id":171075,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:54:27] local.INFO: Acknowledgment sent {"connection_id":171075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:54:35] local.INFO: TCP Data received {"connection_id":173763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3a1c40012d099a8006f375b0001600ab2c..."} 
[2026-09-04 21:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3a1c40012d099a8006f375b0001600ab2c..."} 
[2026-09-04 21:54:35] local.INFO: Processing buffer {"connection_id":173763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3a1c40012d099a8006f375b0001600ab2c..."} 
[2026-09-04 21:54:35] local.INFO: Packet analysis {"connection_id":173763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:54:35] local.INFO: Extracted packet for processing {"connection_id":173763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:54:35] local.INFO: GPS Element Parsed {"raw_longitude":755604096,"raw_latitude":116618672,"longitude_deg":75.5604096,"latitude_deg":11.6618672,"altitude":22,"angle":171,"satellites":44,"speed":30,"hex_longitude":"2d099a80","hex_latitude":"06f375b0","is_valid_coordinates":true} 
[2026-09-04 21:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865959680001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398718319646998528,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":690176672751306752,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788538920000,"timestamp_ms":1788538920000,"timestamp_seconds":1788538920,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3a1c40"} 
[2026-09-04 21:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 21:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865959680001,"66":26484,"82":206,"80":6400,"24":30,"16":398718319646998528,"45":690176672751306752},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-09-04 21:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865959680001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:54:35] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-04 21:54:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398718319646998528,"km_value":398718319646998.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":690176672751306752,"description":"Unknown IO ID 45"} 
[2026-09-04 21:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865959680001,"power":26484,"unknown_82":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":690176672751306752}} 
[2026-09-04 21:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":173763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:54:35] local.INFO: GPS data processed {"connection_id":173763,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:54:35] local.INFO: Acknowledgment sent {"connection_id":173763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:54:47] local.INFO: TCP Data received {"connection_id":172490,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:54:47] local.INFO: Processing buffer {"connection_id":172490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:54:47] local.INFO: IMEI packet received {"connection_id":172490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":172490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:54:52] local.INFO: TCP Data received {"connection_id":172490,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:54:52] local.INFO: Processing buffer {"connection_id":172490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:54:52] local.INFO: IMEI packet received {"connection_id":172490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":172490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:54:53] local.INFO: TCP Data received {"connection_id":172490,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:54:53] local.INFO: Processing buffer {"connection_id":172490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:54:53] local.INFO: Packet analysis {"connection_id":172490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:54:53] local.INFO: Extracted packet for processing {"connection_id":172490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:54:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865854464001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788538795000,"timestamp_ms":1788538795000,"timestamp_seconds":1788538795,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3833f8"} 
[2026-09-04 21:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865854464001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865854464001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:54:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:54:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865854464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":172490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:54:53] local.INFO: GPS data processed {"connection_id":172490,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:54:53] local.INFO: Acknowledgment sent {"connection_id":172490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:54:53] local.INFO: TCP Data received {"connection_id":172491,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:54:53] local.INFO: Processing buffer {"connection_id":172491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:54:53] local.INFO: IMEI packet received {"connection_id":172491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":172491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:54:58] local.INFO: TCP Data received {"connection_id":171377,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:54:58] local.INFO: Processing buffer {"connection_id":171377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:54:58] local.INFO: IMEI packet received {"connection_id":171377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":171377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:55:01] local.INFO: TCP Data received {"connection_id":172491,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:55:01] local.INFO: Processing buffer {"connection_id":172491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:55:01] local.INFO: IMEI packet received {"connection_id":172491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":172491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:55:03] local.INFO: TCP Data received {"connection_id":171377,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:55:03] local.INFO: Processing buffer {"connection_id":171377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:55:03] local.INFO: IMEI packet received {"connection_id":171377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":171377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:55:03] local.INFO: TCP Data received {"connection_id":172491,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:55:03] local.INFO: Processing buffer {"connection_id":172491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:55:03] local.INFO: Packet analysis {"connection_id":172491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:55:03] local.INFO: Extracted packet for processing {"connection_id":172491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865893376001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788538947000,"timestamp_ms":1788538947000,"timestamp_seconds":1788538947,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3a85b8"} 
[2026-09-04 21:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 21:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865893376001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865893376001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:55:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:55:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865893376001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":172491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765625,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:55:03] local.INFO: GPS data processed {"connection_id":172491,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:55:03] local.INFO: Acknowledgment sent {"connection_id":172491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:55:04] local.INFO: TCP Data received {"connection_id":171377,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3a4350012d099d8006f35330001600ae2c..."} 
[2026-09-04 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3a4350012d099d8006f35330001600ae2c..."} 
[2026-09-04 21:55:04] local.INFO: Processing buffer {"connection_id":171377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3a4350012d099d8006f35330001600ae2c..."} 
[2026-09-04 21:55:04] local.INFO: Packet analysis {"connection_id":171377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:55:04] local.INFO: Extracted packet for processing {"connection_id":171377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:55:04] local.INFO: GPS Element Parsed {"raw_longitude":755604864,"raw_latitude":116609840,"longitude_deg":75.5604864,"latitude_deg":11.660984,"altitude":22,"angle":174,"satellites":44,"speed":40,"hex_longitude":"2d099d80","hex_latitude":"06f35330","is_valid_coordinates":true} 
[2026-09-04 21:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865963520001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398718749143728128,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":692006260097527808,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788538930000,"timestamp_ms":1788538930000,"timestamp_seconds":1788538930,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3a4350"} 
[2026-09-04 21:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-04 21:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865963520001,"66":27332,"82":206,"80":6400,"24":40,"16":398718749143728128,"45":692006260097527808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-09-04 21:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865963520001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:55:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-04 21:55:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398718749143728128,"km_value":398718749143728.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":692006260097527808,"description":"Unknown IO ID 45"} 
[2026-09-04 21:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865963520001,"power":27332,"unknown_82":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":692006260097527808}} 
[2026-09-04 21:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":171377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:55:04] local.INFO: GPS data processed {"connection_id":171377,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:55:04] local.INFO: Acknowledgment sent {"connection_id":171377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:55:05] local.INFO: TCP Data received {"connection_id":172491,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:55:05] local.INFO: Processing buffer {"connection_id":172491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:55:05] local.INFO: Packet analysis {"connection_id":172491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:55:05] local.INFO: Extracted packet for processing {"connection_id":172491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865893376001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788538947000,"timestamp_ms":1788538947000,"timestamp_seconds":1788538947,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3a85b8"} 
[2026-09-04 21:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 21:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865893376001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865893376001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:55:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865893376001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":172491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765627,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:55:05] local.INFO: GPS data processed {"connection_id":172491,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:55:05] local.INFO: Acknowledgment sent {"connection_id":172491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:55:24] local.INFO: TCP Data received {"connection_id":172490,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:55:24] local.INFO: Processing buffer {"connection_id":172490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3833f8012d1965c0071fef800047011526..."} 
[2026-09-04 21:55:24] local.INFO: Packet analysis {"connection_id":172490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:55:24] local.INFO: Extracted packet for processing {"connection_id":172490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d38"} 
[2026-09-04 21:55:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865854464001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788538795000,"timestamp_ms":1788538795000,"timestamp_seconds":1788538795,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3833f8"} 
[2026-09-04 21:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865854464001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865854464001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:55:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:55:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865854464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":172490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:55:24] local.INFO: GPS data processed {"connection_id":172490,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:55:24] local.INFO: Acknowledgment sent {"connection_id":172490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:55:35] local.INFO: TCP Data received {"connection_id":171377,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3a6290012d09a34006f33358001700a02d..."} 
[2026-09-04 21:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3a6290012d09a34006f33358001700a02d..."} 
[2026-09-04 21:55:35] local.INFO: Processing buffer {"connection_id":171377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3a6290012d09a34006f33358001700a02d..."} 
[2026-09-04 21:55:35] local.INFO: Packet analysis {"connection_id":171377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:55:35] local.INFO: Extracted packet for processing {"connection_id":171377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:55:35] local.INFO: GPS Element Parsed {"raw_longitude":755606336,"raw_latitude":116601688,"longitude_deg":75.5606336,"latitude_deg":11.6601688,"altitude":23,"angle":160,"satellites":45,"speed":40,"hex_longitude":"2d09a340","hex_latitude":"06f33358","is_valid_coordinates":true} 
[2026-09-04 21:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865966080001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398719148575686656,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":692850685025398784,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788538938000,"timestamp_ms":1788538938000,"timestamp_seconds":1788538938,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3a6290"} 
[2026-09-04 21:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 21:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865966080001,"66":27397,"82":206,"80":6400,"24":40,"16":398719148575686656,"45":692850685025398784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-09-04 21:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865966080001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:55:35] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-04 21:55:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398719148575686656,"km_value":398719148575686.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":692850685025398784,"description":"Unknown IO ID 45"} 
[2026-09-04 21:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865966080001,"power":27397,"unknown_82":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":692850685025398784}} 
[2026-09-04 21:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":171377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:55:35] local.INFO: GPS data processed {"connection_id":171377,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:55:35] local.INFO: Acknowledgment sent {"connection_id":171377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:55:47] local.INFO: TCP Data received {"connection_id":173765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:55:47] local.INFO: Processing buffer {"connection_id":173765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:55:47] local.INFO: IMEI packet received {"connection_id":173765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":173765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:55:48] local.INFO: TCP Data received {"connection_id":173764,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:55:48] local.INFO: Processing buffer {"connection_id":173764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:55:48] local.INFO: IMEI packet received {"connection_id":173764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":173764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:55:52] local.INFO: TCP Data received {"connection_id":173765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:55:52] local.INFO: Processing buffer {"connection_id":173765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:55:52] local.INFO: IMEI packet received {"connection_id":173765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":173765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:55:52] local.INFO: TCP Data received {"connection_id":173765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:55:52] local.INFO: Processing buffer {"connection_id":173765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:55:52] local.INFO: Packet analysis {"connection_id":173765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:55:52] local.INFO: Extracted packet for processing {"connection_id":173765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:55:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865931520001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788539096000,"timestamp_ms":1788539096000,"timestamp_seconds":1788539096,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3ccbc0"} 
[2026-09-04 21:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865931520001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865931520001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:55:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:55:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865931520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":173765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:55:53] local.INFO: GPS data processed {"connection_id":173765,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:55:53] local.INFO: Acknowledgment sent {"connection_id":173765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:55:53] local.INFO: TCP Data received {"connection_id":173764,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:55:53] local.INFO: Processing buffer {"connection_id":173764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:55:53] local.INFO: IMEI packet received {"connection_id":173764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":173764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:55:54] local.INFO: TCP Data received {"connection_id":173764,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:55:54] local.INFO: Processing buffer {"connection_id":173764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:55:54] local.INFO: Packet analysis {"connection_id":173764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:55:54] local.INFO: Extracted packet for processing {"connection_id":173764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:55:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865893376001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788538947000,"timestamp_ms":1788538947000,"timestamp_seconds":1788538947,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3a85b8"} 
[2026-09-04 21:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 21:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865893376001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865893376001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:55:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:55:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865893376001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":173764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:55:55] local.INFO: GPS data processed {"connection_id":173764,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:55:55] local.INFO: Acknowledgment sent {"connection_id":173764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:55:58] local.INFO: TCP Data received {"connection_id":172492,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:55:58] local.INFO: Processing buffer {"connection_id":172492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:55:58] local.INFO: IMEI packet received {"connection_id":172492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":172492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:55:59] local.INFO: TCP Data received {"connection_id":172492,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:55:59] local.INFO: Processing buffer {"connection_id":172492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:55:59] local.INFO: IMEI packet received {"connection_id":172492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":172492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:56:02] local.INFO: TCP Data received {"connection_id":172492,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:56:02] local.INFO: Processing buffer {"connection_id":172492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:56:02] local.INFO: IMEI packet received {"connection_id":172492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":172492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:56:03] local.INFO: TCP Data received {"connection_id":172492,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3c98f8012d09ebc006f1dbe80007009e2f..."} 
[2026-09-04 21:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3c98f8012d09ebc006f1dbe80007009e2f..."} 
[2026-09-04 21:56:03] local.INFO: Processing buffer {"connection_id":172492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3c98f8012d09ebc006f1dbe80007009e2f..."} 
[2026-09-04 21:56:03] local.INFO: Packet analysis {"connection_id":172492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:56:03] local.INFO: Extracted packet for processing {"connection_id":172492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:56:03] local.INFO: GPS Element Parsed {"raw_longitude":755624896,"raw_latitude":116513768,"longitude_deg":75.5624896,"latitude_deg":11.6513768,"altitude":7,"angle":158,"satellites":47,"speed":20,"hex_longitude":"2d09ebc0","hex_latitude":"06f1dbe8","is_valid_coordinates":true} 
[2026-09-04 21:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866001152001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398723525147361280,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":712061352163549184,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788539083000,"timestamp_ms":1788539083000,"timestamp_seconds":1788539083,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3c98f8"} 
[2026-09-04 21:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 21:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866001152001,"66":27289,"113":206,"80":6400,"24":20,"16":398723525147361280,"45":712061352163549184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-04 21:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866001152001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:56:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-04 21:56:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398723525147361280,"km_value":398723525147361.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":712061352163549184,"description":"Unknown IO ID 45"} 
[2026-09-04 21:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866001152001,"power":27289,"unknown_113":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":712061352163549184}} 
[2026-09-04 21:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":172492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:56:03] local.INFO: GPS data processed {"connection_id":172492,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:56:03] local.INFO: Acknowledgment sent {"connection_id":172492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:56:24] local.INFO: TCP Data received {"connection_id":173765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:56:24] local.INFO: Processing buffer {"connection_id":173765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:56:24] local.INFO: Packet analysis {"connection_id":173765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:56:24] local.INFO: Extracted packet for processing {"connection_id":173765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:56:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865931520001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788539096000,"timestamp_ms":1788539096000,"timestamp_seconds":1788539096,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3ccbc0"} 
[2026-09-04 21:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865931520001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865931520001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:56:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:56:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865931520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":173765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:56:24] local.INFO: GPS data processed {"connection_id":173765,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:56:24] local.INFO: Acknowledgment sent {"connection_id":173765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:56:26] local.INFO: TCP Data received {"connection_id":173764,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:56:26] local.INFO: Processing buffer {"connection_id":173764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:56:26] local.INFO: Packet analysis {"connection_id":173764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:56:26] local.INFO: Extracted packet for processing {"connection_id":173764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:56:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865893376001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788538947000,"timestamp_ms":1788538947000,"timestamp_seconds":1788538947,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3a85b8"} 
[2026-09-04 21:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 21:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865893376001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865893376001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:56:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:56:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865893376001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":173764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:56:26] local.INFO: GPS data processed {"connection_id":173764,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:56:26] local.INFO: Acknowledgment sent {"connection_id":173764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:56:34] local.INFO: TCP Data received {"connection_id":172492,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3cd778012d09f64006f1c660000b00932e..."} 
[2026-09-04 21:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3cd778012d09f64006f1c660000b00932e..."} 
[2026-09-04 21:56:34] local.INFO: Processing buffer {"connection_id":172492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3cd778012d09f64006f1c660000b00932e..."} 
[2026-09-04 21:56:34] local.INFO: Packet analysis {"connection_id":172492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:56:34] local.INFO: Extracted packet for processing {"connection_id":172492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:56:34] local.INFO: GPS Element Parsed {"raw_longitude":755627584,"raw_latitude":116508256,"longitude_deg":75.5627584,"latitude_deg":11.6508256,"altitude":11,"angle":147,"satellites":46,"speed":13,"hex_longitude":"2d09f640","hex_latitude":"06f1c660","is_valid_coordinates":true} 
[2026-09-04 21:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866005248001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398723821500104704,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714876101928413184,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788539099000,"timestamp_ms":1788539099000,"timestamp_seconds":1788539099,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3cd778"} 
[2026-09-04 21:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 21:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866005248001,"66":27343,"113":206,"80":6400,"24":13,"16":398723821500104704,"45":714876101928413184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-04 21:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866005248001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:56:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-04 21:56:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398723821500104704,"km_value":398723821500104.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":714876101928413184,"description":"Unknown IO ID 45"} 
[2026-09-04 21:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866005248001,"power":27343,"unknown_113":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":714876101928413184}} 
[2026-09-04 21:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":172492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:56:34] local.INFO: GPS data processed {"connection_id":172492,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:56:34] local.INFO: Acknowledgment sent {"connection_id":172492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:56:48] local.INFO: TCP Data received {"connection_id":171076,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:56:48] local.INFO: Processing buffer {"connection_id":171076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:56:48] local.INFO: IMEI packet received {"connection_id":171076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":171076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:56:52] local.INFO: TCP Data received {"connection_id":172493,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:56:52] local.INFO: Processing buffer {"connection_id":172493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:56:52] local.INFO: IMEI packet received {"connection_id":172493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":172493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:56:53] local.INFO: TCP Data received {"connection_id":171076,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:56:53] local.INFO: Processing buffer {"connection_id":171076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:56:53] local.INFO: IMEI packet received {"connection_id":171076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":171076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:56:55] local.INFO: TCP Data received {"connection_id":171076,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:56:55] local.INFO: Processing buffer {"connection_id":171076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:56:55] local.INFO: Packet analysis {"connection_id":171076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:56:55] local.INFO: Extracted packet for processing {"connection_id":171076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:56:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865893376001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788538947000,"timestamp_ms":1788538947000,"timestamp_seconds":1788538947,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3a85b8"} 
[2026-09-04 21:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 21:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865893376001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865893376001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:56:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865893376001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":171076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765636,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:56:55] local.INFO: GPS data processed {"connection_id":171076,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:56:55] local.INFO: Acknowledgment sent {"connection_id":171076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:56:57] local.INFO: TCP Data received {"connection_id":172493,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:56:57] local.INFO: Processing buffer {"connection_id":172493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:56:57] local.INFO: IMEI packet received {"connection_id":172493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":172493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:56:58] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:56:58] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:56:58] local.INFO: IMEI packet received {"connection_id":173766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":173766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:56:58] local.INFO: TCP Data received {"connection_id":172493,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:56:58] local.INFO: Processing buffer {"connection_id":172493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:56:58] local.INFO: Packet analysis {"connection_id":172493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:56:58] local.INFO: Extracted packet for processing {"connection_id":172493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865931520001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788539096000,"timestamp_ms":1788539096000,"timestamp_seconds":1788539096,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3ccbc0"} 
[2026-09-04 21:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865931520001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865931520001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:56:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:56:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865931520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":172493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:56:58] local.INFO: GPS data processed {"connection_id":172493,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:56:58] local.INFO: Acknowledgment sent {"connection_id":172493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:56:58] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:56:58] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:56:58] local.INFO: IMEI packet received {"connection_id":173766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":173766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:57:03] local.INFO: TCP Data received {"connection_id":172493,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:57:03] local.INFO: Processing buffer {"connection_id":172493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:57:03] local.INFO: Packet analysis {"connection_id":172493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:57:03] local.INFO: Extracted packet for processing {"connection_id":172493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865931520001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788539096000,"timestamp_ms":1788539096000,"timestamp_seconds":1788539096,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3ccbc0"} 
[2026-09-04 21:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865931520001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865931520001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:57:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865931520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":172493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:57:03] local.INFO: GPS data processed {"connection_id":172493,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:57:03] local.INFO: Acknowledgment sent {"connection_id":172493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:57:03] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:57:03] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:57:03] local.INFO: IMEI packet received {"connection_id":173766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":173766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:57:04] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3d2980012d0a08c006f1aba0001100982e..."} 
[2026-09-04 21:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3d2980012d0a08c006f1aba0001100982e..."} 
[2026-09-04 21:57:04] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3d2980012d0a08c006f1aba0001100982e..."} 
[2026-09-04 21:57:04] local.INFO: Packet analysis {"connection_id":173766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3d"} 
[2026-09-04 21:57:04] local.INFO: Extracted packet for processing {"connection_id":173766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3d"} 
[2026-09-04 21:57:04] local.INFO: GPS Element Parsed {"raw_longitude":755632320,"raw_latitude":116501408,"longitude_deg":75.563232,"latitude_deg":11.6501408,"altitude":17,"angle":152,"satellites":46,"speed":20,"hex_longitude":"2d0a08c0","hex_latitude":"06f1aba0","is_valid_coordinates":true} 
[2026-09-04 21:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866009344001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398724225227030528,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":717831589182464000,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788539120000,"timestamp_ms":1788539120000,"timestamp_seconds":1788539120,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3d2980"} 
[2026-09-04 21:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 21:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866009344001,"66":27104,"113":206,"80":6400,"24":20,"16":398724225227030528,"45":717831589182464000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-04 21:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866009344001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:57:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-04 21:57:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398724225227030528,"km_value":398724225227030.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":717831589182464000,"description":"Unknown IO ID 45"} 
[2026-09-04 21:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866009344001,"power":27104,"unknown_113":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":717831589182464000}} 
[2026-09-04 21:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":173766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:57:04] local.INFO: GPS data processed {"connection_id":173766,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:57:04] local.INFO: Acknowledgment sent {"connection_id":173766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:57:26] local.INFO: TCP Data received {"connection_id":171076,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:57:26] local.INFO: Processing buffer {"connection_id":171076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:57:26] local.INFO: Packet analysis {"connection_id":171076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:57:26] local.INFO: Extracted packet for processing {"connection_id":171076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:57:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865893376001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788538947000,"timestamp_ms":1788538947000,"timestamp_seconds":1788538947,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3a85b8"} 
[2026-09-04 21:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 21:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865893376001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865893376001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:57:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:57:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865893376001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":171076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765640,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:57:27] local.INFO: GPS data processed {"connection_id":171076,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:57:27] local.INFO: Acknowledgment sent {"connection_id":171076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:57:34] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3d3920012d0a0d8006f1a4000012008a2f..."} 
[2026-09-04 21:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3d3920012d0a0d8006f1a4000012008a2f..."} 
[2026-09-04 21:57:34] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3d3920012d0a0d8006f1a4000012008a2f..."} 
[2026-09-04 21:57:34] local.INFO: Packet analysis {"connection_id":173766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3d"} 
[2026-09-04 21:57:34] local.INFO: Extracted packet for processing {"connection_id":173766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3d"} 
[2026-09-04 21:57:34] local.INFO: GPS Element Parsed {"raw_longitude":755633536,"raw_latitude":116499456,"longitude_deg":75.5633536,"latitude_deg":11.6499456,"altitude":18,"angle":138,"satellites":47,"speed":25,"hex_longitude":"2d0a0d80","hex_latitude":"06f1a400","is_valid_coordinates":true} 
[2026-09-04 21:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866014720001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398724336896180224,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":723038876249858048,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788539124000,"timestamp_ms":1788539124000,"timestamp_seconds":1788539124,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3d3920"} 
[2026-09-04 21:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-04 21:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866014720001,"66":27397,"113":206,"80":6400,"24":25,"16":398724336896180224,"45":723038876249858048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-04 21:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866014720001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:57:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-04 21:57:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398724336896180224,"km_value":398724336896180.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":723038876249858048,"description":"Unknown IO ID 45"} 
[2026-09-04 21:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866014720001,"power":27397,"unknown_113":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":723038876249858048}} 
[2026-09-04 21:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":173766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:57:34] local.INFO: GPS data processed {"connection_id":173766,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:57:34] local.INFO: Acknowledgment sent {"connection_id":173766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:57:47] local.INFO: TCP Data received {"connection_id":173767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:57:47] local.INFO: Processing buffer {"connection_id":173767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:57:47] local.INFO: IMEI packet received {"connection_id":173767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":173767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:57:48] local.INFO: TCP Data received {"connection_id":173768,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:57:48] local.INFO: Processing buffer {"connection_id":173768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:57:48] local.INFO: IMEI packet received {"connection_id":173768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":173768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:57:52] local.INFO: TCP Data received {"connection_id":173767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:57:52] local.INFO: Processing buffer {"connection_id":173767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:57:52] local.INFO: IMEI packet received {"connection_id":173767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":173767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:57:53] local.INFO: TCP Data received {"connection_id":173767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:57:53] local.INFO: Processing buffer {"connection_id":173767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:57:53] local.INFO: Packet analysis {"connection_id":173767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:57:53] local.INFO: Extracted packet for processing {"connection_id":173767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:57:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865931520001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539096000,"timestamp_ms":1788539096000,"timestamp_seconds":1788539096,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3ccbc0"} 
[2026-09-04 21:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865931520001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865931520001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:57:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:57:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865931520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":173767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:57:53] local.INFO: GPS data processed {"connection_id":173767,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:57:53] local.INFO: Acknowledgment sent {"connection_id":173767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:57:53] local.INFO: TCP Data received {"connection_id":173768,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:57:53] local.INFO: Processing buffer {"connection_id":173768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:57:53] local.INFO: IMEI packet received {"connection_id":173768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":173768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:57:54] local.INFO: TCP Data received {"connection_id":173768,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:57:54] local.INFO: Processing buffer {"connection_id":173768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3a85b8012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:57:54] local.INFO: Packet analysis {"connection_id":173768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:57:54] local.INFO: Extracted packet for processing {"connection_id":173768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3a"} 
[2026-09-04 21:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865893376001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788538947000,"timestamp_ms":1788538947000,"timestamp_seconds":1788538947,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3a85b8"} 
[2026-09-04 21:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 21:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865893376001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865893376001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:57:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:57:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865893376001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":173768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:57:55] local.INFO: GPS data processed {"connection_id":173768,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:57:55] local.INFO: Acknowledgment sent {"connection_id":173768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:57:58] local.INFO: TCP Data received {"connection_id":171077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:57:58] local.INFO: Processing buffer {"connection_id":171077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:57:58] local.INFO: IMEI packet received {"connection_id":171077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":171077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:58:03] local.INFO: TCP Data received {"connection_id":171077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:58:03] local.INFO: Processing buffer {"connection_id":171077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:58:03] local.INFO: IMEI packet received {"connection_id":171077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":171077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:58:04] local.INFO: TCP Data received {"connection_id":171077,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3d5860012d0a1d0006f197100012007e2e..."} 
[2026-09-04 21:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3d5860012d0a1d0006f197100012007e2e..."} 
[2026-09-04 21:58:04] local.INFO: Processing buffer {"connection_id":171077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3d5860012d0a1d0006f197100012007e2e..."} 
[2026-09-04 21:58:04] local.INFO: Packet analysis {"connection_id":171077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3d"} 
[2026-09-04 21:58:04] local.INFO: Extracted packet for processing {"connection_id":171077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3d"} 
[2026-09-04 21:58:04] local.INFO: GPS Element Parsed {"raw_longitude":755637504,"raw_latitude":116496144,"longitude_deg":75.5637504,"latitude_deg":11.6496144,"altitude":18,"angle":126,"satellites":46,"speed":25,"hex_longitude":"2d0a1d00","hex_latitude":"06f19710","is_valid_coordinates":true} 
[2026-09-04 21:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866015744001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398724586004283392,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":724375882388733952,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788539132000,"timestamp_ms":1788539132000,"timestamp_seconds":1788539132,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3d5860"} 
[2026-09-04 21:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 21:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866015744001,"66":26289,"113":206,"80":6400,"24":25,"16":398724586004283392,"45":724375882388733952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-04 21:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866015744001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:58:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-04 21:58:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398724586004283392,"km_value":398724586004283.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":724375882388733952,"description":"Unknown IO ID 45"} 
[2026-09-04 21:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866015744001,"power":26289,"unknown_113":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":724375882388733952}} 
[2026-09-04 21:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":171077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:58:04] local.INFO: GPS data processed {"connection_id":171077,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:58:04] local.INFO: Acknowledgment sent {"connection_id":171077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:58:24] local.INFO: TCP Data received {"connection_id":173767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:58:24] local.INFO: Processing buffer {"connection_id":173767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:58:24] local.INFO: Packet analysis {"connection_id":173767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:58:24] local.INFO: Extracted packet for processing {"connection_id":173767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:58:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865931520001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788539096000,"timestamp_ms":1788539096000,"timestamp_seconds":1788539096,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3ccbc0"} 
[2026-09-04 21:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865931520001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865931520001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:58:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:58:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865931520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":173767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:58:24] local.INFO: GPS data processed {"connection_id":173767,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:58:24] local.INFO: Acknowledgment sent {"connection_id":173767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:58:26] local.INFO: TCP Data received {"connection_id":173768,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:58:26] local.INFO: Processing buffer {"connection_id":173768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:58:26] local.INFO: Packet analysis {"connection_id":173768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 21:58:26] local.INFO: Extracted packet for processing {"connection_id":173768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 21:58:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865970432001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788539248000,"timestamp_ms":1788539248000,"timestamp_seconds":1788539248,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3f1d80"} 
[2026-09-04 21:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865970432001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865970432001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:58:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:58:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865970432001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":173768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:58:26] local.INFO: GPS data processed {"connection_id":173768,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:58:26] local.INFO: Acknowledgment sent {"connection_id":173768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:58:35] local.INFO: TCP Data received {"connection_id":171077,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3f6f88012d0b0dc006f0f228000d00852f..."} 
[2026-09-04 21:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3f6f88012d0b0dc006f0f228000d00852f..."} 
[2026-09-04 21:58:35] local.INFO: Processing buffer {"connection_id":171077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3f6f88012d0b0dc006f0f228000d00852f..."} 
[2026-09-04 21:58:35] local.INFO: Packet analysis {"connection_id":171077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 21:58:35] local.INFO: Extracted packet for processing {"connection_id":171077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 21:58:35] local.INFO: GPS Element Parsed {"raw_longitude":755699136,"raw_latitude":116453928,"longitude_deg":75.5699136,"latitude_deg":11.6453928,"altitude":13,"angle":133,"satellites":47,"speed":4,"hex_longitude":"2d0b0dc0","hex_latitude":"06f0f228","is_valid_coordinates":true} 
[2026-09-04 21:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866047488001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398728189481844736,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791929876788731904,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788539269000,"timestamp_ms":1788539269000,"timestamp_seconds":1788539269,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3f6f88"} 
[2026-09-04 21:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 21:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866047488001,"66":26452,"111":206,"80":6400,"24":4,"16":398728189481844736,"45":791929876788731904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-04 21:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866047488001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:58:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 21:58:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398728189481844736,"km_value":398728189481844.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":791929876788731904,"description":"Unknown IO ID 45"} 
[2026-09-04 21:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866047488001,"power":26452,"unknown_111":206,"unknown_80":6400,"ignition":4,"odometer":null,"unknown_45":791929876788731904}} 
[2026-09-04 21:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":171077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:58:35] local.INFO: GPS data processed {"connection_id":171077,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:58:35] local.INFO: Acknowledgment sent {"connection_id":171077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:58:47] local.INFO: TCP Data received {"connection_id":173769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:58:47] local.INFO: Processing buffer {"connection_id":173769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:58:47] local.INFO: IMEI packet received {"connection_id":173769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":173769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:58:49] local.INFO: TCP Data received {"connection_id":173770,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:58:49] local.INFO: Processing buffer {"connection_id":173770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:58:49] local.INFO: IMEI packet received {"connection_id":173770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":173770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:58:52] local.INFO: TCP Data received {"connection_id":173769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:58:52] local.INFO: Processing buffer {"connection_id":173769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:58:52] local.INFO: IMEI packet received {"connection_id":173769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":173769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:58:53] local.INFO: TCP Data received {"connection_id":173769,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:58:53] local.INFO: Processing buffer {"connection_id":173769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:58:53] local.INFO: Packet analysis {"connection_id":173769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:58:53] local.INFO: Extracted packet for processing {"connection_id":173769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:58:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865931520001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539096000,"timestamp_ms":1788539096000,"timestamp_seconds":1788539096,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3ccbc0"} 
[2026-09-04 21:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865931520001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865931520001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:58:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:58:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865931520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":173769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:58:53] local.INFO: GPS data processed {"connection_id":173769,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:58:53] local.INFO: Acknowledgment sent {"connection_id":173769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:58:53] local.INFO: TCP Data received {"connection_id":173770,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:58:53] local.INFO: Processing buffer {"connection_id":173770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:58:53] local.INFO: IMEI packet received {"connection_id":173770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":173770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:58:54] local.INFO: TCP Data received {"connection_id":173770,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:58:54] local.INFO: Processing buffer {"connection_id":173770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:58:54] local.INFO: Packet analysis {"connection_id":173770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 21:58:54] local.INFO: Extracted packet for processing {"connection_id":173770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 21:58:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865970432001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788539248000,"timestamp_ms":1788539248000,"timestamp_seconds":1788539248,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3f1d80"} 
[2026-09-04 21:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173770,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173770,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865970432001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865970432001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:58:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:58:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865970432001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":173770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765649,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:58:55] local.INFO: GPS data processed {"connection_id":173770,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:58:55] local.INFO: Acknowledgment sent {"connection_id":173770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:58:58] local.INFO: TCP Data received {"connection_id":172494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:58:58] local.INFO: Processing buffer {"connection_id":172494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:58:58] local.INFO: IMEI packet received {"connection_id":172494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":172494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:59:01] local.INFO: TCP Data received {"connection_id":172494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:59:01] local.INFO: Processing buffer {"connection_id":172494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:59:01] local.INFO: IMEI packet received {"connection_id":172494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":172494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:59:03] local.INFO: TCP Data received {"connection_id":172494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:59:03] local.INFO: Processing buffer {"connection_id":172494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:59:03] local.INFO: IMEI packet received {"connection_id":172494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 21:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":172494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:59:08] local.INFO: TCP Data received {"connection_id":172494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3f7f28012d0b100006f0eff8000f00912f..."} 
[2026-09-04 21:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3f7f28012d0b100006f0eff8000f00912f..."} 
[2026-09-04 21:59:08] local.INFO: Processing buffer {"connection_id":172494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3f7f28012d0b100006f0eff8000f00912f..."} 
[2026-09-04 21:59:08] local.INFO: Packet analysis {"connection_id":172494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 21:59:08] local.INFO: Extracted packet for processing {"connection_id":172494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 21:59:08] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":116453368,"longitude_deg":75.5699712,"latitude_deg":11.6453368,"altitude":15,"angle":145,"satellites":47,"speed":8,"hex_longitude":"2d0b1000","hex_latitude":"06f0eff8","is_valid_coordinates":true} 
[2026-09-04 21:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866052864001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398728228136550400,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796503845159184384,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788539273000,"timestamp_ms":1788539273000,"timestamp_seconds":1788539273,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3f7f28"} 
[2026-09-04 21:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-04 21:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866052864001,"66":27332,"111":206,"80":6400,"24":8,"16":398728228136550400,"45":796503845159184384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-04 21:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866052864001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:59:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 21:59:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398728228136550400,"km_value":398728228136550.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":796503845159184384,"description":"Unknown IO ID 45"} 
[2026-09-04 21:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866052864001,"power":27332,"unknown_111":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":796503845159184384}} 
[2026-09-04 21:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":172494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:59:08] local.INFO: GPS data processed {"connection_id":172494,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:59:08] local.INFO: Acknowledgment sent {"connection_id":172494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:59:23] local.INFO: TCP Data received {"connection_id":173769,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:59:23] local.INFO: Processing buffer {"connection_id":173769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:59:23] local.INFO: Packet analysis {"connection_id":173769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:59:23] local.INFO: Extracted packet for processing {"connection_id":173769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865931520001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788539096000,"timestamp_ms":1788539096000,"timestamp_seconds":1788539096,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3ccbc0"} 
[2026-09-04 21:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865931520001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865931520001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:59:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865931520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":173769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:59:23] local.INFO: GPS data processed {"connection_id":173769,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:59:23] local.INFO: Acknowledgment sent {"connection_id":173769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:59:26] local.INFO: TCP Data received {"connection_id":173770,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:59:26] local.INFO: Processing buffer {"connection_id":173770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:59:26] local.INFO: Packet analysis {"connection_id":173770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 21:59:26] local.INFO: Extracted packet for processing {"connection_id":173770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 21:59:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865970432001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788539248000,"timestamp_ms":1788539248000,"timestamp_seconds":1788539248,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3f1d80"} 
[2026-09-04 21:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173770,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173770,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865970432001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865970432001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:59:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:59:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865970432001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":173770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765652,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:59:26] local.INFO: GPS data processed {"connection_id":173770,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:59:26] local.INFO: Acknowledgment sent {"connection_id":173770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:59:40] local.INFO: TCP Data received {"connection_id":172494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3f86f8012d0b108006f0eea0000f00a52e..."} 
[2026-09-04 21:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3f86f8012d0b108006f0eea0000f00a52e..."} 
[2026-09-04 21:59:40] local.INFO: Processing buffer {"connection_id":172494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3f86f8012d0b108006f0eea0000f00a52e..."} 
[2026-09-04 21:59:40] local.INFO: Packet analysis {"connection_id":172494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 21:59:40] local.INFO: Extracted packet for processing {"connection_id":172494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 21:59:40] local.INFO: GPS Element Parsed {"raw_longitude":755699840,"raw_latitude":116453024,"longitude_deg":75.569984,"latitude_deg":11.6453024,"altitude":15,"angle":165,"satellites":46,"speed":5,"hex_longitude":"2d0b1080","hex_latitude":"06f0eea0","is_valid_coordinates":true} 
[2026-09-04 21:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866053888001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398728245316419584,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137163856640000,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788539275000,"timestamp_ms":1788539275000,"timestamp_seconds":1788539275,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3f86f8"} 
[2026-09-04 21:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 21:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 21:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 21:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 21:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 21:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866053888001,"66":27397,"111":206,"80":6400,"24":5,"16":398728245316419584,"45":797137163856640000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-04 21:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 21:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 21:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866053888001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:59:40] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-04 21:59:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 21:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398728245316419584,"km_value":398728245316419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137163856640000,"description":"Unknown IO ID 45"} 
[2026-09-04 21:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866053888001,"power":27397,"unknown_111":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":797137163856640000}} 
[2026-09-04 21:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":172494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:59:40] local.INFO: GPS data processed {"connection_id":172494,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:59:40] local.INFO: Acknowledgment sent {"connection_id":172494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:59:47] local.INFO: TCP Data received {"connection_id":171378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:59:47] local.INFO: Processing buffer {"connection_id":171378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:59:47] local.INFO: IMEI packet received {"connection_id":171378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 21:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":171378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:59:48] local.INFO: TCP Data received {"connection_id":173771,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:59:48] local.INFO: Processing buffer {"connection_id":173771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:59:48] local.INFO: IMEI packet received {"connection_id":173771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 21:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":173771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 21:59:52] local.INFO: TCP Data received {"connection_id":171378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:59:52] local.INFO: Processing buffer {"connection_id":171378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 21:59:52] local.INFO: IMEI packet received {"connection_id":171378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 21:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":171378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:59:53] local.INFO: TCP Data received {"connection_id":171378,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:59:53] local.INFO: Processing buffer {"connection_id":171378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 21:59:53] local.INFO: Packet analysis {"connection_id":171378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:59:53] local.INFO: Extracted packet for processing {"connection_id":171378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 21:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 21:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865931520001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539096000,"timestamp_ms":1788539096000,"timestamp_seconds":1788539096,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3ccbc0"} 
[2026-09-04 21:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 21:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 21:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 21:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 21:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865931520001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 21:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 21:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 21:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865931520001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:59:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 21:59:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 21:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 21:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865931520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 21:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":171378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:59:53] local.INFO: GPS data processed {"connection_id":171378,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:59:53] local.INFO: Acknowledgment sent {"connection_id":171378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:59:53] local.INFO: TCP Data received {"connection_id":173771,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:59:53] local.INFO: Processing buffer {"connection_id":173771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 21:59:53] local.INFO: IMEI packet received {"connection_id":173771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 21:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":173771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 21:59:55] local.INFO: TCP Data received {"connection_id":173771,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:59:55] local.INFO: Processing buffer {"connection_id":173771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 21:59:55] local.INFO: Packet analysis {"connection_id":173771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 21:59:55] local.INFO: Extracted packet for processing {"connection_id":173771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 21:59:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 21:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 21:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865970432001,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 21:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 21:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788539248000,"timestamp_ms":1788539248000,"timestamp_seconds":1788539248,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3f1d80"} 
[2026-09-04 21:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 21:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 21:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 21:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 21:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 21:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 21:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 21:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 21:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 21:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 21:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 21:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 21:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865970432001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 21:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 21:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 21:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865970432001,"description":"Unknown IO ID 0"} 
[2026-09-04 21:59:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 21:59:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 21:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 21:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 21:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865970432001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 21:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":173771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 21:59:55] local.INFO: GPS data processed {"connection_id":173771,"processed":1,"errors":0,"total":1} 
[2026-09-04 21:59:55] local.INFO: Acknowledgment sent {"connection_id":173771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 21:59:58] local.INFO: TCP Data received {"connection_id":171078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:59:58] local.INFO: Processing buffer {"connection_id":171078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 21:59:58] local.INFO: IMEI packet received {"connection_id":171078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 21:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":171078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:00:03] local.INFO: TCP Data received {"connection_id":171078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:00:03] local.INFO: Processing buffer {"connection_id":171078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:00:03] local.INFO: IMEI packet received {"connection_id":171078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":171078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:00:05] local.INFO: TCP Data received {"connection_id":171078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d407928012d0b63c006f037e0000f00a72f..."} 
[2026-09-04 22:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d407928012d0b63c006f037e0000f00a72f..."} 
[2026-09-04 22:00:05] local.INFO: Processing buffer {"connection_id":171078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d407928012d0b63c006f037e0000f00a72f..."} 
[2026-09-04 22:00:05] local.INFO: Packet analysis {"connection_id":171078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d40"} 
[2026-09-04 22:00:05] local.INFO: Extracted packet for processing {"connection_id":171078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d40"} 
[2026-09-04 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":755721152,"raw_latitude":116406240,"longitude_deg":75.5721152,"latitude_deg":11.640624,"altitude":15,"angle":167,"satellites":47,"speed":54,"hex_longitude":"2d0b63c0","hex_latitude":"06f037e0","is_valid_coordinates":true} 
[2026-09-04 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866068480001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398730762167255040,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818388524588595200,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788539337000,"timestamp_ms":1788539337000,"timestamp_seconds":1788539337,"priority":1,"record_length":96,"hex_timestamp":"000001a06d407928"} 
[2026-09-04 22:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-04 22:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866068480001,"66":27343,"155":206,"80":6400,"24":54,"16":398730762167255040,"45":818388524588595200},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-09-04 22:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866068480001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:00:05] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-04 22:00:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398730762167255040,"km_value":398730762167255.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":818388524588595200,"description":"Unknown IO ID 45"} 
[2026-09-04 22:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866068480001,"power":27343,"unknown_155":206,"unknown_80":6400,"ignition":54,"odometer":null,"unknown_45":818388524588595200}} 
[2026-09-04 22:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":171078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:00:05] local.INFO: GPS data processed {"connection_id":171078,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:00:05] local.INFO: Acknowledgment sent {"connection_id":171078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:00:24] local.INFO: TCP Data received {"connection_id":171378,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 22:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 22:00:24] local.INFO: Processing buffer {"connection_id":171378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3ccbc0012d1965c0071fef800047011526..."} 
[2026-09-04 22:00:24] local.INFO: Packet analysis {"connection_id":171378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 22:00:24] local.INFO: Extracted packet for processing {"connection_id":171378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3c"} 
[2026-09-04 22:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865931520001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788539096000,"timestamp_ms":1788539096000,"timestamp_seconds":1788539096,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3ccbc0"} 
[2026-09-04 22:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865931520001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865931520001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:00:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:00:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865931520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":171378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:00:24] local.INFO: GPS data processed {"connection_id":171378,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:00:24] local.INFO: Acknowledgment sent {"connection_id":171378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:00:27] local.INFO: TCP Data received {"connection_id":173771,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:00:27] local.INFO: Processing buffer {"connection_id":173771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:00:27] local.INFO: Packet analysis {"connection_id":173771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 22:00:27] local.INFO: Extracted packet for processing {"connection_id":173771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 22:00:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865970432001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788539248000,"timestamp_ms":1788539248000,"timestamp_seconds":1788539248,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3f1d80"} 
[2026-09-04 22:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865970432001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865970432001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:00:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:00:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865970432001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":173771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765658,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:00:27] local.INFO: GPS data processed {"connection_id":173771,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:00:27] local.INFO: Acknowledgment sent {"connection_id":173771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:00:36] local.INFO: TCP Data received {"connection_id":171078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d409480012d0b6bc006f012d0000f00a72f..."} 
[2026-09-04 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d409480012d0b6bc006f012d0000f00a72f..."} 
[2026-09-04 22:00:36] local.INFO: Processing buffer {"connection_id":171078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d409480012d0b6bc006f012d0000f00a72f..."} 
[2026-09-04 22:00:36] local.INFO: Packet analysis {"connection_id":171078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d40"} 
[2026-09-04 22:00:36] local.INFO: Extracted packet for processing {"connection_id":171078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d40"} 
[2026-09-04 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":755723200,"raw_latitude":116396752,"longitude_deg":75.57232,"latitude_deg":11.6396752,"altitude":15,"angle":167,"satellites":47,"speed":55,"hex_longitude":"2d0b6bc0","hex_latitude":"06f012d0","is_valid_coordinates":true} 
[2026-09-04 22:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866070272001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398731234613657600,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820710693144092672,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788539344000,"timestamp_ms":1788539344000,"timestamp_seconds":1788539344,"priority":1,"record_length":96,"hex_timestamp":"000001a06d409480"} 
[2026-09-04 22:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 22:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866070272001,"66":27397,"155":206,"80":6400,"24":55,"16":398731234613657600,"45":820710693144092672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-09-04 22:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866070272001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:00:36] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-04 22:00:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398731234613657600,"km_value":398731234613657.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":820710693144092672,"description":"Unknown IO ID 45"} 
[2026-09-04 22:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866070272001,"power":27397,"unknown_155":206,"unknown_80":6400,"ignition":55,"odometer":null,"unknown_45":820710693144092672}} 
[2026-09-04 22:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":171078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:00:36] local.INFO: GPS data processed {"connection_id":171078,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:00:36] local.INFO: Acknowledgment sent {"connection_id":171078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:00:47] local.INFO: TCP Data received {"connection_id":171079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:00:47] local.INFO: Processing buffer {"connection_id":171079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:00:47] local.INFO: IMEI packet received {"connection_id":171079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":171079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:00:48] local.INFO: TCP Data received {"connection_id":171379,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:00:48] local.INFO: Processing buffer {"connection_id":171379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:00:48] local.INFO: IMEI packet received {"connection_id":171379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":171379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:00:52] local.INFO: TCP Data received {"connection_id":171079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:00:52] local.INFO: Processing buffer {"connection_id":171079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:00:52] local.INFO: IMEI packet received {"connection_id":171079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":171079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:00:53] local.INFO: TCP Data received {"connection_id":171079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:00:53] local.INFO: Processing buffer {"connection_id":171079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:00:53] local.INFO: Packet analysis {"connection_id":171079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:00:53] local.INFO: Extracted packet for processing {"connection_id":171079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866008576001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539397000,"timestamp_ms":1788539397000,"timestamp_seconds":1788539397,"priority":1,"record_length":96,"hex_timestamp":"000001a06d416388"} 
[2026-09-04 22:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866008576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866008576001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:00:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:00:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866008576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":171079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:00:53] local.INFO: GPS data processed {"connection_id":171079,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:00:53] local.INFO: Acknowledgment sent {"connection_id":171079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:00:53] local.INFO: TCP Data received {"connection_id":171379,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:00:53] local.INFO: Processing buffer {"connection_id":171379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:00:53] local.INFO: IMEI packet received {"connection_id":171379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":171379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:00:54] local.INFO: TCP Data received {"connection_id":171379,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:00:54] local.INFO: Processing buffer {"connection_id":171379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:00:54] local.INFO: Packet analysis {"connection_id":171379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 22:00:54] local.INFO: Extracted packet for processing {"connection_id":171379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 22:00:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865970432001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788539248000,"timestamp_ms":1788539248000,"timestamp_seconds":1788539248,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3f1d80"} 
[2026-09-04 22:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865970432001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865970432001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:00:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:00:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865970432001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":171379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765661,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:00:55] local.INFO: GPS data processed {"connection_id":171379,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:00:55] local.INFO: Acknowledgment sent {"connection_id":171379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:01:03] local.INFO: TCP Data received {"connection_id":171380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:03] local.INFO: Processing buffer {"connection_id":171380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:03] local.INFO: IMEI packet received {"connection_id":171380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":171380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:01:04] local.INFO: TCP Data received {"connection_id":171380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:04] local.INFO: Processing buffer {"connection_id":171380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:04] local.INFO: IMEI packet received {"connection_id":171380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":171380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:01:08] local.INFO: TCP Data received {"connection_id":171380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:08] local.INFO: Processing buffer {"connection_id":171380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:08] local.INFO: IMEI packet received {"connection_id":171380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":171380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:01:10] local.INFO: TCP Data received {"connection_id":171380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d40afd8012d0b73c006efeec0001100a72f..."} 
[2026-09-04 22:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d40afd8012d0b73c006efeec0001100a72f..."} 
[2026-09-04 22:01:10] local.INFO: Processing buffer {"connection_id":171380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d40afd8012d0b73c006efeec0001100a72f..."} 
[2026-09-04 22:01:10] local.INFO: Packet analysis {"connection_id":171380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d40"} 
[2026-09-04 22:01:10] local.INFO: Extracted packet for processing {"connection_id":171380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d40"} 
[2026-09-04 22:01:10] local.INFO: GPS Element Parsed {"raw_longitude":755725248,"raw_latitude":116387520,"longitude_deg":75.5725248,"latitude_deg":11.638752,"altitude":17,"angle":167,"satellites":47,"speed":51,"hex_longitude":"2d0b73c0","hex_latitude":"06efeec0","is_valid_coordinates":true} 
[2026-09-04 22:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866072064001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398731689880190976,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822962492955348992,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788539351000,"timestamp_ms":1788539351000,"timestamp_seconds":1788539351,"priority":1,"record_length":96,"hex_timestamp":"000001a06d40afd8"} 
[2026-09-04 22:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 22:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866072064001,"66":27343,"155":206,"80":6400,"24":51,"16":398731689880190976,"45":822962492955348992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-09-04 22:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866072064001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:01:10] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-04 22:01:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398731689880190976,"km_value":398731689880191.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":822962492955348992,"description":"Unknown IO ID 45"} 
[2026-09-04 22:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866072064001,"power":27343,"unknown_155":206,"unknown_80":6400,"ignition":51,"odometer":null,"unknown_45":822962492955348992}} 
[2026-09-04 22:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":171380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:01:10] local.INFO: GPS data processed {"connection_id":171380,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:01:10] local.INFO: Acknowledgment sent {"connection_id":171380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:01:14] local.INFO: TCP Data received {"connection_id":171380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d40cf18012d0b7bc006efc910001300a830..."} 
[2026-09-04 22:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d40cf18012d0b7bc006efc910001300a830..."} 
[2026-09-04 22:01:14] local.INFO: Processing buffer {"connection_id":171380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d40cf18012d0b7bc006efc910001300a830..."} 
[2026-09-04 22:01:14] local.INFO: Packet analysis {"connection_id":171380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d40"} 
[2026-09-04 22:01:14] local.INFO: Extracted packet for processing {"connection_id":171380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d40"} 
[2026-09-04 22:01:14] local.INFO: GPS Element Parsed {"raw_longitude":755727296,"raw_latitude":116377872,"longitude_deg":75.5727296,"latitude_deg":11.6377872,"altitude":19,"angle":168,"satellites":48,"speed":43,"hex_longitude":"2d0b7bc0","hex_latitude":"06efc910","is_valid_coordinates":true} 
[2026-09-04 22:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866073856001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398732170916528128,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":825214292766670848,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788539359000,"timestamp_ms":1788539359000,"timestamp_seconds":1788539359,"priority":1,"record_length":96,"hex_timestamp":"000001a06d40cf18"} 
[2026-09-04 22:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 22:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866073856001,"66":27463,"155":206,"80":6400,"24":43,"16":398732170916528128,"45":825214292766670848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-09-04 22:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866073856001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:01:14] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-04 22:01:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398732170916528128,"km_value":398732170916528.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":825214292766670848,"description":"Unknown IO ID 45"} 
[2026-09-04 22:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866073856001,"power":27463,"unknown_155":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":825214292766670848}} 
[2026-09-04 22:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":171380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:01:14] local.INFO: GPS data processed {"connection_id":171380,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:01:14] local.INFO: Acknowledgment sent {"connection_id":171380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:01:24] local.INFO: TCP Data received {"connection_id":171079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:01:24] local.INFO: Processing buffer {"connection_id":171079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:01:24] local.INFO: Packet analysis {"connection_id":171079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:01:24] local.INFO: Extracted packet for processing {"connection_id":171079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866008576001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788539397000,"timestamp_ms":1788539397000,"timestamp_seconds":1788539397,"priority":1,"record_length":96,"hex_timestamp":"000001a06d416388"} 
[2026-09-04 22:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866008576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866008576001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:01:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866008576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":171079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:01:24] local.INFO: GPS data processed {"connection_id":171079,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:01:24] local.INFO: Acknowledgment sent {"connection_id":171079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:01:26] local.INFO: TCP Data received {"connection_id":171379,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:01:26] local.INFO: Processing buffer {"connection_id":171379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:01:26] local.INFO: Packet analysis {"connection_id":171379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 22:01:26] local.INFO: Extracted packet for processing {"connection_id":171379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 22:01:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865970432001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788539248000,"timestamp_ms":1788539248000,"timestamp_seconds":1788539248,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3f1d80"} 
[2026-09-04 22:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865970432001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865970432001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:01:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:01:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865970432001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":171379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:01:26] local.INFO: GPS data processed {"connection_id":171379,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:01:26] local.INFO: Acknowledgment sent {"connection_id":171379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:01:47] local.INFO: TCP Data received {"connection_id":171080,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:01:47] local.INFO: Processing buffer {"connection_id":171080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:01:47] local.INFO: IMEI packet received {"connection_id":171080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":171080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:01:48] local.INFO: TCP Data received {"connection_id":172495,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:01:48] local.INFO: Processing buffer {"connection_id":172495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:01:48] local.INFO: IMEI packet received {"connection_id":172495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":172495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:01:52] local.INFO: TCP Data received {"connection_id":171080,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:01:52] local.INFO: Processing buffer {"connection_id":171080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:01:52] local.INFO: IMEI packet received {"connection_id":171080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":171080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:01:53] local.INFO: TCP Data received {"connection_id":171080,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:01:53] local.INFO: Processing buffer {"connection_id":171080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:01:53] local.INFO: Packet analysis {"connection_id":171080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:01:53] local.INFO: Extracted packet for processing {"connection_id":171080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866008576001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539397000,"timestamp_ms":1788539397000,"timestamp_seconds":1788539397,"priority":1,"record_length":96,"hex_timestamp":"000001a06d416388"} 
[2026-09-04 22:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866008576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866008576001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:01:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866008576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":171080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:01:53] local.INFO: GPS data processed {"connection_id":171080,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:01:53] local.INFO: Acknowledgment sent {"connection_id":171080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:01:53] local.INFO: TCP Data received {"connection_id":172495,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:01:53] local.INFO: Processing buffer {"connection_id":172495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:01:53] local.INFO: IMEI packet received {"connection_id":172495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":172495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:01:54] local.INFO: TCP Data received {"connection_id":172495,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:01:54] local.INFO: Processing buffer {"connection_id":172495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:01:54] local.INFO: Packet analysis {"connection_id":172495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 22:01:54] local.INFO: Extracted packet for processing {"connection_id":172495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 22:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865970432001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788539248000,"timestamp_ms":1788539248000,"timestamp_seconds":1788539248,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3f1d80"} 
[2026-09-04 22:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865970432001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865970432001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:01:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:01:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865970432001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":172495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765667,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:01:55] local.INFO: GPS data processed {"connection_id":172495,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:01:55] local.INFO: Acknowledgment sent {"connection_id":172495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:01:56] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:56] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:56] local.INFO: IMEI packet received {"connection_id":173772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":173772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:01:58] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:58] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:01:58] local.INFO: IMEI packet received {"connection_id":173772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":173772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:02:03] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:02:03] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:02:03] local.INFO: IMEI packet received {"connection_id":173772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":173772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:02:05] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d423678012d0bec8006ee85580013009931..."} 
[2026-09-04 22:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d423678012d0bec8006ee85580013009931..."} 
[2026-09-04 22:02:05] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d423678012d0bec8006ee85580013009931..."} 
[2026-09-04 22:02:05] local.INFO: Packet analysis {"connection_id":173772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d42"} 
[2026-09-04 22:02:05] local.INFO: Extracted packet for processing {"connection_id":173772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d42"} 
[2026-09-04 22:02:05] local.INFO: GPS Element Parsed {"raw_longitude":755756160,"raw_latitude":116295000,"longitude_deg":75.575616,"latitude_deg":11.6295,"altitude":19,"angle":153,"satellites":49,"speed":20,"hex_longitude":"2d0bec80","hex_latitude":"06ee8558","is_valid_coordinates":true} 
[2026-09-04 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866096896001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398736431524085760,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":858076496274931712,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788539451000,"timestamp_ms":1788539451000,"timestamp_seconds":1788539451,"priority":1,"record_length":96,"hex_timestamp":"000001a06d423678"} 
[2026-09-04 22:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 22:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866096896001,"66":27376,"157":206,"80":6400,"24":20,"16":398736431524085760,"45":858076496274931712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-09-04 22:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866096896001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:02:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-04 22:02:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398736431524085760,"km_value":398736431524085.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":858076496274931712,"description":"Unknown IO ID 45"} 
[2026-09-04 22:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866096896001,"power":27376,"unknown_157":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":858076496274931712}} 
[2026-09-04 22:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":173772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:02:05] local.INFO: GPS data processed {"connection_id":173772,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:02:05] local.INFO: Acknowledgment sent {"connection_id":173772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:02:24] local.INFO: TCP Data received {"connection_id":171080,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:02:24] local.INFO: Processing buffer {"connection_id":171080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:02:24] local.INFO: Packet analysis {"connection_id":171080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:02:24] local.INFO: Extracted packet for processing {"connection_id":171080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866008576001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788539397000,"timestamp_ms":1788539397000,"timestamp_seconds":1788539397,"priority":1,"record_length":96,"hex_timestamp":"000001a06d416388"} 
[2026-09-04 22:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866008576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866008576001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:02:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866008576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":171080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:02:24] local.INFO: GPS data processed {"connection_id":171080,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:02:24] local.INFO: Acknowledgment sent {"connection_id":171080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:02:26] local.INFO: TCP Data received {"connection_id":172495,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:02:26] local.INFO: Processing buffer {"connection_id":172495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:02:26] local.INFO: Packet analysis {"connection_id":172495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 22:02:26] local.INFO: Extracted packet for processing {"connection_id":172495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 22:02:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865970432001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788539248000,"timestamp_ms":1788539248000,"timestamp_seconds":1788539248,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3f1d80"} 
[2026-09-04 22:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865970432001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865970432001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:02:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:02:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865970432001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":172495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:02:26] local.INFO: GPS data processed {"connection_id":172495,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:02:26] local.INFO: Acknowledgment sent {"connection_id":172495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:02:38] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d426d28012d0bfdc006ee66a00014008831..."} 
[2026-09-04 22:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d426d28012d0bfdc006ee66a00014008831..."} 
[2026-09-04 22:02:38] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d426d28012d0bfdc006ee66a00014008831..."} 
[2026-09-04 22:02:38] local.INFO: Packet analysis {"connection_id":173772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d42"} 
[2026-09-04 22:02:38] local.INFO: Extracted packet for processing {"connection_id":173772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d42"} 
[2026-09-04 22:02:38] local.INFO: GPS Element Parsed {"raw_longitude":755760576,"raw_latitude":116287136,"longitude_deg":75.5760576,"latitude_deg":11.6287136,"altitude":20,"angle":136,"satellites":49,"speed":18,"hex_longitude":"2d0bfdc0","hex_latitude":"06ee66a0","is_valid_coordinates":true} 
[2026-09-04 22:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866099456001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398736865315782656,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":859202396180797440,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788539465000,"timestamp_ms":1788539465000,"timestamp_seconds":1788539465,"priority":1,"record_length":96,"hex_timestamp":"000001a06d426d28"} 
[2026-09-04 22:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 22:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866099456001,"66":27310,"157":206,"80":6400,"24":18,"16":398736865315782656,"45":859202396180797440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-09-04 22:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866099456001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:02:38] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-04 22:02:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398736865315782656,"km_value":398736865315782.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":859202396180797440,"description":"Unknown IO ID 45"} 
[2026-09-04 22:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866099456001,"power":27310,"unknown_157":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":859202396180797440}} 
[2026-09-04 22:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":173772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:02:38] local.INFO: GPS data processed {"connection_id":173772,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:02:38] local.INFO: Acknowledgment sent {"connection_id":173772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:02:47] local.INFO: TCP Data received {"connection_id":171081,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:02:47] local.INFO: Processing buffer {"connection_id":171081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:02:47] local.INFO: IMEI packet received {"connection_id":171081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":171081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:02:52] local.INFO: TCP Data received {"connection_id":171081,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:02:52] local.INFO: Processing buffer {"connection_id":171081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:02:52] local.INFO: IMEI packet received {"connection_id":171081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":171081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:02:53] local.INFO: TCP Data received {"connection_id":171081,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:02:53] local.INFO: Processing buffer {"connection_id":171081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:02:53] local.INFO: Packet analysis {"connection_id":171081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:02:53] local.INFO: Extracted packet for processing {"connection_id":171081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:02:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866008576001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539397000,"timestamp_ms":1788539397000,"timestamp_seconds":1788539397,"priority":1,"record_length":96,"hex_timestamp":"000001a06d416388"} 
[2026-09-04 22:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866008576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866008576001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:02:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:02:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866008576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":171081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:02:53] local.INFO: GPS data processed {"connection_id":171081,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:02:53] local.INFO: Acknowledgment sent {"connection_id":171081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:02:53] local.INFO: TCP Data received {"connection_id":171082,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:02:53] local.INFO: Processing buffer {"connection_id":171082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:02:53] local.INFO: IMEI packet received {"connection_id":171082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":171082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:02:58] local.INFO: TCP Data received {"connection_id":171381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:02:58] local.INFO: Processing buffer {"connection_id":171381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:02:58] local.INFO: IMEI packet received {"connection_id":171381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":171381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:02:58] local.INFO: TCP Data received {"connection_id":171082,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:02:58] local.INFO: Processing buffer {"connection_id":171082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:02:58] local.INFO: IMEI packet received {"connection_id":171082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":171082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:03:00] local.INFO: TCP Data received {"connection_id":171082,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:03:00] local.INFO: Processing buffer {"connection_id":171082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:03:00] local.INFO: Packet analysis {"connection_id":171082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 22:03:00] local.INFO: Extracted packet for processing {"connection_id":171082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 22:03:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865970432001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788539248000,"timestamp_ms":1788539248000,"timestamp_seconds":1788539248,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3f1d80"} 
[2026-09-04 22:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865970432001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865970432001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:03:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:03:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865970432001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":171082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765673,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:03:00] local.INFO: GPS data processed {"connection_id":171082,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:03:00] local.INFO: Acknowledgment sent {"connection_id":171082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:03:03] local.INFO: TCP Data received {"connection_id":171381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:03:03] local.INFO: Processing buffer {"connection_id":171381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:03:03] local.INFO: IMEI packet received {"connection_id":171381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":171381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:03:04] local.INFO: TCP Data received {"connection_id":171082,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:03:04] local.INFO: Processing buffer {"connection_id":171082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d3f1d80012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:03:04] local.INFO: Packet analysis {"connection_id":171082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 22:03:04] local.INFO: Extracted packet for processing {"connection_id":171082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d3f"} 
[2026-09-04 22:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457865970432001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788539248000,"timestamp_ms":1788539248000,"timestamp_seconds":1788539248,"priority":1,"record_length":96,"hex_timestamp":"000001a06d3f1d80"} 
[2026-09-04 22:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457865970432001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457865970432001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:03:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:03:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457865970432001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":171082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:03:04] local.INFO: GPS data processed {"connection_id":171082,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:03:04] local.INFO: Acknowledgment sent {"connection_id":171082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:03:04] local.INFO: TCP Data received {"connection_id":171381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d426d28012d0bfdc006ee66a00014008831..."} 
[2026-09-04 22:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d426d28012d0bfdc006ee66a00014008831..."} 
[2026-09-04 22:03:05] local.INFO: Processing buffer {"connection_id":171381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d426d28012d0bfdc006ee66a00014008831..."} 
[2026-09-04 22:03:05] local.INFO: Packet analysis {"connection_id":171381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d42"} 
[2026-09-04 22:03:05] local.INFO: Extracted packet for processing {"connection_id":171381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d42"} 
[2026-09-04 22:03:05] local.INFO: GPS Element Parsed {"raw_longitude":755760576,"raw_latitude":116287136,"longitude_deg":75.5760576,"latitude_deg":11.6287136,"altitude":20,"angle":136,"satellites":49,"speed":18,"hex_longitude":"2d0bfdc0","hex_latitude":"06ee66a0","is_valid_coordinates":true} 
[2026-09-04 22:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866103040001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398736865315782656,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864057839527043072,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788539465000,"timestamp_ms":1788539465000,"timestamp_seconds":1788539465,"priority":1,"record_length":96,"hex_timestamp":"000001a06d426d28"} 
[2026-09-04 22:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 22:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866103040001,"66":27310,"157":206,"80":6400,"24":18,"16":398736865315782656,"45":864057839527043072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-09-04 22:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866103040001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:03:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-04 22:03:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398736865315782656,"km_value":398736865315782.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":864057839527043072,"description":"Unknown IO ID 45"} 
[2026-09-04 22:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866103040001,"power":27310,"unknown_157":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":864057839527043072}} 
[2026-09-04 22:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":171381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:03:05] local.INFO: GPS data processed {"connection_id":171381,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:03:05] local.INFO: Acknowledgment sent {"connection_id":171381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:03:24] local.INFO: TCP Data received {"connection_id":171081,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:03:24] local.INFO: Processing buffer {"connection_id":171081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:03:24] local.INFO: Packet analysis {"connection_id":171081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:03:24] local.INFO: Extracted packet for processing {"connection_id":171081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:03:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866008576001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788539397000,"timestamp_ms":1788539397000,"timestamp_seconds":1788539397,"priority":1,"record_length":96,"hex_timestamp":"000001a06d416388"} 
[2026-09-04 22:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866008576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866008576001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:03:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:03:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866008576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":171081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:03:24] local.INFO: GPS data processed {"connection_id":171081,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:03:24] local.INFO: Acknowledgment sent {"connection_id":171081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:03:36] local.INFO: TCP Data received {"connection_id":171381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d427110012d0bff4006ee65700013007d31..."} 
[2026-09-04 22:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d427110012d0bff4006ee65700013007d31..."} 
[2026-09-04 22:03:36] local.INFO: Processing buffer {"connection_id":171381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d427110012d0bff4006ee65700013007d31..."} 
[2026-09-04 22:03:36] local.INFO: Packet analysis {"connection_id":171381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d42"} 
[2026-09-04 22:03:36] local.INFO: Extracted packet for processing {"connection_id":171381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d42"} 
[2026-09-04 22:03:36] local.INFO: GPS Element Parsed {"raw_longitude":755760960,"raw_latitude":116286832,"longitude_deg":75.576096,"latitude_deg":11.6286832,"altitude":19,"angle":125,"satellites":49,"speed":17,"hex_longitude":"2d0bff40","hex_latitude":"06ee6570","is_valid_coordinates":true} 
[2026-09-04 22:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866103040001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398736891085586432,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864057839527043072,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788539466000,"timestamp_ms":1788539466000,"timestamp_seconds":1788539466,"priority":1,"record_length":96,"hex_timestamp":"000001a06d427110"} 
[2026-09-04 22:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 22:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866103040001,"66":27310,"157":206,"80":6400,"24":17,"16":398736891085586432,"45":864057839527043072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-09-04 22:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866103040001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:03:36] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-04 22:03:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398736891085586432,"km_value":398736891085586.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":864057839527043072,"description":"Unknown IO ID 45"} 
[2026-09-04 22:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866103040001,"power":27310,"unknown_157":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":864057839527043072}} 
[2026-09-04 22:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":171381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:03:36] local.INFO: GPS data processed {"connection_id":171381,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:03:36] local.INFO: Acknowledgment sent {"connection_id":171381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:03:48] local.INFO: TCP Data received {"connection_id":173773,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:03:48] local.INFO: Processing buffer {"connection_id":173773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:03:48] local.INFO: IMEI packet received {"connection_id":173773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":173773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:03:52] local.INFO: TCP Data received {"connection_id":173774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:03:52] local.INFO: Processing buffer {"connection_id":173774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:03:52] local.INFO: IMEI packet received {"connection_id":173774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":173774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:03:53] local.INFO: TCP Data received {"connection_id":173773,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:03:53] local.INFO: Processing buffer {"connection_id":173773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:03:53] local.INFO: IMEI packet received {"connection_id":173773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":173773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:03:55] local.INFO: TCP Data received {"connection_id":173773,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:03:55] local.INFO: Processing buffer {"connection_id":173773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:03:55] local.INFO: Packet analysis {"connection_id":173773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:03:55] local.INFO: Extracted packet for processing {"connection_id":173773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:03:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866047488001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788539549000,"timestamp_ms":1788539549000,"timestamp_seconds":1788539549,"priority":1,"record_length":96,"hex_timestamp":"000001a06d43b548"} 
[2026-09-04 22:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866047488001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866047488001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:03:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866047488001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":173773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765678,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:03:55] local.INFO: GPS data processed {"connection_id":173773,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:03:55] local.INFO: Acknowledgment sent {"connection_id":173773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:03:57] local.INFO: TCP Data received {"connection_id":173774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:03:57] local.INFO: Processing buffer {"connection_id":173774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:03:57] local.INFO: IMEI packet received {"connection_id":173774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":173774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:03:58] local.INFO: TCP Data received {"connection_id":173774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:03:58] local.INFO: Processing buffer {"connection_id":173774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:03:58] local.INFO: Packet analysis {"connection_id":173774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:03:58] local.INFO: Extracted packet for processing {"connection_id":173774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866008576001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788539397000,"timestamp_ms":1788539397000,"timestamp_seconds":1788539397,"priority":1,"record_length":96,"hex_timestamp":"000001a06d416388"} 
[2026-09-04 22:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866008576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866008576001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:03:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866008576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":173774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:03:58] local.INFO: GPS data processed {"connection_id":173774,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:03:58] local.INFO: Acknowledgment sent {"connection_id":173774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:03:58] local.INFO: TCP Data received {"connection_id":173775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:03:58] local.INFO: Processing buffer {"connection_id":173775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:03:58] local.INFO: IMEI packet received {"connection_id":173775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":173775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:04:02] local.INFO: TCP Data received {"connection_id":173774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:04:02] local.INFO: Processing buffer {"connection_id":173774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:04:02] local.INFO: Packet analysis {"connection_id":173774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:04:02] local.INFO: Extracted packet for processing {"connection_id":173774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:04:02] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866008576001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788539397000,"timestamp_ms":1788539397000,"timestamp_seconds":1788539397,"priority":1,"record_length":96,"hex_timestamp":"000001a06d416388"} 
[2026-09-04 22:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866008576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866008576001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:04:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:04:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866008576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":173774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:04:02] local.INFO: GPS data processed {"connection_id":173774,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:04:02] local.INFO: Acknowledgment sent {"connection_id":173774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:04:03] local.INFO: TCP Data received {"connection_id":173775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:04:03] local.INFO: Processing buffer {"connection_id":173775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:04:03] local.INFO: IMEI packet received {"connection_id":173775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":173775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:04:04] local.INFO: TCP Data received {"connection_id":173775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4278e0012d0c020006ee63f00014007031..."} 
[2026-09-04 22:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4278e0012d0c020006ee63f00014007031..."} 
[2026-09-04 22:04:04] local.INFO: Processing buffer {"connection_id":173775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4278e0012d0c020006ee63f00014007031..."} 
[2026-09-04 22:04:04] local.INFO: Packet analysis {"connection_id":173775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d42"} 
[2026-09-04 22:04:04] local.INFO: Extracted packet for processing {"connection_id":173775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d42"} 
[2026-09-04 22:04:04] local.INFO: GPS Element Parsed {"raw_longitude":755761664,"raw_latitude":116286448,"longitude_deg":75.5761664,"latitude_deg":11.6286448,"altitude":20,"angle":112,"satellites":49,"speed":15,"hex_longitude":"2d0c0200","hex_latitude":"06ee63f0","is_valid_coordinates":true} 
[2026-09-04 22:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866103296001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398736925445324800,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864480051992031232,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788539468000,"timestamp_ms":1788539468000,"timestamp_seconds":1788539468,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4278e0"} 
[2026-09-04 22:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 22:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866103296001,"66":27300,"157":206,"80":6400,"24":15,"16":398736925445324800,"45":864480051992031232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-09-04 22:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866103296001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:04:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-04 22:04:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398736925445324800,"km_value":398736925445324.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":864480051992031232,"description":"Unknown IO ID 45"} 
[2026-09-04 22:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866103296001,"power":27300,"unknown_157":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":864480051992031232}} 
[2026-09-04 22:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":173775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:04:04] local.INFO: GPS data processed {"connection_id":173775,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:04:04] local.INFO: Acknowledgment sent {"connection_id":173775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:04:27] local.INFO: TCP Data received {"connection_id":173773,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:04:27] local.INFO: Processing buffer {"connection_id":173773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:04:27] local.INFO: Packet analysis {"connection_id":173773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:04:27] local.INFO: Extracted packet for processing {"connection_id":173773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:04:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866047488001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788539549000,"timestamp_ms":1788539549000,"timestamp_seconds":1788539549,"priority":1,"record_length":96,"hex_timestamp":"000001a06d43b548"} 
[2026-09-04 22:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866047488001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866047488001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:04:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:04:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866047488001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":173773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765682,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:04:27] local.INFO: GPS data processed {"connection_id":173773,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:04:27] local.INFO: Acknowledgment sent {"connection_id":173773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:04:35] local.INFO: TCP Data received {"connection_id":173775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4470c8012d0c658006ed58a0000900bd30..."} 
[2026-09-04 22:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4470c8012d0c658006ed58a0000900bd30..."} 
[2026-09-04 22:04:35] local.INFO: Processing buffer {"connection_id":173775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4470c8012d0c658006ed58a0000900bd30..."} 
[2026-09-04 22:04:35] local.INFO: Packet analysis {"connection_id":173775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d44"} 
[2026-09-04 22:04:35] local.INFO: Extracted packet for processing {"connection_id":173775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d44"} 
[2026-09-04 22:04:35] local.INFO: GPS Element Parsed {"raw_longitude":755787136,"raw_latitude":116218016,"longitude_deg":75.5787136,"latitude_deg":11.6218016,"altitude":9,"angle":189,"satellites":48,"speed":31,"hex_longitude":"2d0c6580","hex_latitude":"06ed58a0","is_valid_coordinates":true} 
[2026-09-04 22:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866134016001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398740614822232064,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894457136996392960,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788539597000,"timestamp_ms":1788539597000,"timestamp_seconds":1788539597,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4470c8"} 
[2026-09-04 22:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 22:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866134016001,"66":27376,"240":206,"80":6400,"24":31,"16":398740614822232064,"45":894457136996392960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-04 22:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866134016001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:04:35] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-04 22:04:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398740614822232064,"km_value":398740614822232.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":894457136996392960,"description":"Unknown IO ID 45"} 
[2026-09-04 22:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866134016001,"power":27376,"unknown_240":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":894457136996392960}} 
[2026-09-04 22:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":173775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:04:35] local.INFO: GPS data processed {"connection_id":173775,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:04:35] local.INFO: Acknowledgment sent {"connection_id":173775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:04:47] local.INFO: TCP Data received {"connection_id":173776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:04:47] local.INFO: Processing buffer {"connection_id":173776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:04:47] local.INFO: IMEI packet received {"connection_id":173776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":173776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:04:48] local.INFO: TCP Data received {"connection_id":171382,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:04:48] local.INFO: Processing buffer {"connection_id":171382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:04:48] local.INFO: IMEI packet received {"connection_id":171382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":171382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:04:52] local.INFO: TCP Data received {"connection_id":173776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:04:52] local.INFO: Processing buffer {"connection_id":173776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:04:52] local.INFO: IMEI packet received {"connection_id":173776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":173776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:04:53] local.INFO: TCP Data received {"connection_id":173776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:04:53] local.INFO: Processing buffer {"connection_id":173776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:04:53] local.INFO: Packet analysis {"connection_id":173776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:04:53] local.INFO: Extracted packet for processing {"connection_id":173776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:04:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866008576001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539397000,"timestamp_ms":1788539397000,"timestamp_seconds":1788539397,"priority":1,"record_length":96,"hex_timestamp":"000001a06d416388"} 
[2026-09-04 22:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866008576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866008576001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:04:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:04:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866008576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:04:53] local.INFO: TCP Data received {"connection_id":171382,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:04:53] local.INFO: Processing buffer {"connection_id":171382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:04:53] local.INFO: IMEI packet received {"connection_id":171382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":171382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":173776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:04:53] local.INFO: GPS data processed {"connection_id":173776,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:04:53] local.INFO: Acknowledgment sent {"connection_id":173776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:04:54] local.INFO: TCP Data received {"connection_id":171382,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:04:54] local.INFO: Processing buffer {"connection_id":171382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:04:54] local.INFO: Packet analysis {"connection_id":171382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:04:54] local.INFO: Extracted packet for processing {"connection_id":171382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:04:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866047488001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788539549000,"timestamp_ms":1788539549000,"timestamp_seconds":1788539549,"priority":1,"record_length":96,"hex_timestamp":"000001a06d43b548"} 
[2026-09-04 22:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866047488001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866047488001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:04:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:04:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866047488001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":171382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765685,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:04:54] local.INFO: GPS data processed {"connection_id":171382,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:04:54] local.INFO: Acknowledgment sent {"connection_id":171382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:04:58] local.INFO: TCP Data received {"connection_id":171083,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:04:58] local.INFO: Processing buffer {"connection_id":171083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:04:58] local.INFO: IMEI packet received {"connection_id":171083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":171083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:05:03] local.INFO: TCP Data received {"connection_id":171083,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:05:03] local.INFO: Processing buffer {"connection_id":171083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:05:03] local.INFO: IMEI packet received {"connection_id":171083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":171083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:05:04] local.INFO: TCP Data received {"connection_id":171083,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d44a390012d0c608006ed34c0000800be2d..."} 
[2026-09-04 22:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d44a390012d0c608006ed34c0000800be2d..."} 
[2026-09-04 22:05:04] local.INFO: Processing buffer {"connection_id":171083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d44a390012d0c608006ed34c0000800be2d..."} 
[2026-09-04 22:05:04] local.INFO: Packet analysis {"connection_id":171083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d44"} 
[2026-09-04 22:05:04] local.INFO: Extracted packet for processing {"connection_id":171083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d44"} 
[2026-09-04 22:05:04] local.INFO: GPS Element Parsed {"raw_longitude":755785856,"raw_latitude":116208832,"longitude_deg":75.5785856,"latitude_deg":11.6208832,"altitude":8,"angle":190,"satellites":45,"speed":18,"hex_longitude":"2d0c6080","hex_latitude":"06ed34c0","is_valid_coordinates":true} 
[2026-09-04 22:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866136832001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398741061498830848,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893260868343078912,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788539610000,"timestamp_ms":1788539610000,"timestamp_seconds":1788539610,"priority":1,"record_length":96,"hex_timestamp":"000001a06d44a390"} 
[2026-09-04 22:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 22:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866136832001,"66":27300,"240":206,"80":6400,"24":18,"16":398741061498830848,"45":893260868343078912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-04 22:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866136832001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:05:04] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-04 22:05:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398741061498830848,"km_value":398741061498830.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":893260868343078912,"description":"Unknown IO ID 45"} 
[2026-09-04 22:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866136832001,"power":27300,"unknown_240":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":893260868343078912}} 
[2026-09-04 22:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":171083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:05:04] local.INFO: GPS data processed {"connection_id":171083,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:05:04] local.INFO: Acknowledgment sent {"connection_id":171083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:05:24] local.INFO: TCP Data received {"connection_id":173776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:05:24] local.INFO: Processing buffer {"connection_id":173776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d416388012d1965c0071fef800047011524..."} 
[2026-09-04 22:05:24] local.INFO: Packet analysis {"connection_id":173776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:05:24] local.INFO: Extracted packet for processing {"connection_id":173776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d41"} 
[2026-09-04 22:05:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866008576001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788539397000,"timestamp_ms":1788539397000,"timestamp_seconds":1788539397,"priority":1,"record_length":96,"hex_timestamp":"000001a06d416388"} 
[2026-09-04 22:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866008576001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866008576001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:05:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866008576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":173776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:05:24] local.INFO: GPS data processed {"connection_id":173776,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:05:24] local.INFO: Acknowledgment sent {"connection_id":173776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:05:26] local.INFO: TCP Data received {"connection_id":171382,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:05:26] local.INFO: Processing buffer {"connection_id":171382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:05:26] local.INFO: Packet analysis {"connection_id":171382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:05:26] local.INFO: Extracted packet for processing {"connection_id":171382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:05:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866047488001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788539549000,"timestamp_ms":1788539549000,"timestamp_seconds":1788539549,"priority":1,"record_length":96,"hex_timestamp":"000001a06d43b548"} 
[2026-09-04 22:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866047488001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866047488001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:05:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:05:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866047488001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":171382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765688,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:05:26] local.INFO: GPS data processed {"connection_id":171382,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:05:26] local.INFO: Acknowledgment sent {"connection_id":171382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:05:36] local.INFO: TCP Data received {"connection_id":171083,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d44f598012d0c5b8006ed1580000900bb2c..."} 
[2026-09-04 22:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d44f598012d0c5b8006ed1580000900bb2c..."} 
[2026-09-04 22:05:36] local.INFO: Processing buffer {"connection_id":171083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d44f598012d0c5b8006ed1580000900bb2c..."} 
[2026-09-04 22:05:36] local.INFO: Packet analysis {"connection_id":171083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d44"} 
[2026-09-04 22:05:36] local.INFO: Extracted packet for processing {"connection_id":171083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d44"} 
[2026-09-04 22:05:36] local.INFO: GPS Element Parsed {"raw_longitude":755784576,"raw_latitude":116200832,"longitude_deg":75.5784576,"latitude_deg":11.6200832,"altitude":9,"angle":187,"satellites":44,"speed":20,"hex_longitude":"2d0c5b80","hex_latitude":"06ed1580","is_valid_coordinates":true} 
[2026-09-04 22:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866140160001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398741456635822080,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891853493457174528,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788539631000,"timestamp_ms":1788539631000,"timestamp_seconds":1788539631,"priority":1,"record_length":96,"hex_timestamp":"000001a06d44f598"} 
[2026-09-04 22:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 22:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866140160001,"66":27343,"240":206,"80":6400,"24":20,"16":398741456635822080,"45":891853493457174528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-04 22:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866140160001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:05:36] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-04 22:05:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398741456635822080,"km_value":398741456635822.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":891853493457174528,"description":"Unknown IO ID 45"} 
[2026-09-04 22:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866140160001,"power":27343,"unknown_240":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":891853493457174528}} 
[2026-09-04 22:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":171083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:05:36] local.INFO: GPS data processed {"connection_id":171083,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:05:36] local.INFO: Acknowledgment sent {"connection_id":171083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:05:47] local.INFO: TCP Data received {"connection_id":171084,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:05:47] local.INFO: Processing buffer {"connection_id":171084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:05:47] local.INFO: IMEI packet received {"connection_id":171084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":171084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:05:48] local.INFO: TCP Data received {"connection_id":172496,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:05:48] local.INFO: Processing buffer {"connection_id":172496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:05:48] local.INFO: IMEI packet received {"connection_id":172496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":172496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:05:52] local.INFO: TCP Data received {"connection_id":171084,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:05:52] local.INFO: Processing buffer {"connection_id":171084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:05:52] local.INFO: IMEI packet received {"connection_id":171084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":171084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:05:53] local.INFO: TCP Data received {"connection_id":171084,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:05:53] local.INFO: Processing buffer {"connection_id":171084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:05:53] local.INFO: Packet analysis {"connection_id":171084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:05:53] local.INFO: Extracted packet for processing {"connection_id":171084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:05:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866085632001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539698000,"timestamp_ms":1788539698000,"timestamp_seconds":1788539698,"priority":1,"record_length":96,"hex_timestamp":"000001a06d45fb50"} 
[2026-09-04 22:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866085632001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866085632001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:05:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:05:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866085632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":171084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:05:53] local.INFO: GPS data processed {"connection_id":171084,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:05:53] local.INFO: Acknowledgment sent {"connection_id":171084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:05:53] local.INFO: TCP Data received {"connection_id":172496,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:05:53] local.INFO: Processing buffer {"connection_id":172496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:05:53] local.INFO: IMEI packet received {"connection_id":172496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":172496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:05:54] local.INFO: TCP Data received {"connection_id":172496,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:05:54] local.INFO: Processing buffer {"connection_id":172496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:05:54] local.INFO: Packet analysis {"connection_id":172496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:05:54] local.INFO: Extracted packet for processing {"connection_id":172496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:05:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866047488001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788539549000,"timestamp_ms":1788539549000,"timestamp_seconds":1788539549,"priority":1,"record_length":96,"hex_timestamp":"000001a06d43b548"} 
[2026-09-04 22:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866047488001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866047488001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:05:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:05:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866047488001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":172496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765691,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:05:55] local.INFO: GPS data processed {"connection_id":172496,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:05:55] local.INFO: Acknowledgment sent {"connection_id":172496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:05:58] local.INFO: TCP Data received {"connection_id":173777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:05:58] local.INFO: Processing buffer {"connection_id":173777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:05:58] local.INFO: IMEI packet received {"connection_id":173777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":173777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:06:03] local.INFO: TCP Data received {"connection_id":173777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:06:03] local.INFO: Processing buffer {"connection_id":173777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:06:03] local.INFO: IMEI packet received {"connection_id":173777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":173777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:06:04] local.INFO: TCP Data received {"connection_id":173777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4518c0012d0c598006ed07b0000900cc2f..."} 
[2026-09-04 22:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4518c0012d0c598006ed07b0000900cc2f..."} 
[2026-09-04 22:06:04] local.INFO: Processing buffer {"connection_id":173777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4518c0012d0c598006ed07b0000900cc2f..."} 
[2026-09-04 22:06:04] local.INFO: Packet analysis {"connection_id":173777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:06:04] local.INFO: Extracted packet for processing {"connection_id":173777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:06:04] local.INFO: GPS Element Parsed {"raw_longitude":755784064,"raw_latitude":116197296,"longitude_deg":75.5784064,"latitude_deg":11.6197296,"altitude":9,"angle":204,"satellites":47,"speed":12,"hex_longitude":"2d0c5980","hex_latitude":"06ed07b0","is_valid_coordinates":true} 
[2026-09-04 22:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866145536001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398741628434513920,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890446118571573248,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788539640000,"timestamp_ms":1788539640000,"timestamp_seconds":1788539640,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4518c0"} 
[2026-09-04 22:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 22:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866145536001,"66":27365,"240":206,"80":6400,"24":12,"16":398741628434513920,"45":890446118571573248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-04 22:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866145536001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:06:04] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-04 22:06:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398741628434513920,"km_value":398741628434513.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":890446118571573248,"description":"Unknown IO ID 45"} 
[2026-09-04 22:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866145536001,"power":27365,"unknown_240":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":890446118571573248}} 
[2026-09-04 22:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":173777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:06:04] local.INFO: GPS data processed {"connection_id":173777,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:06:04] local.INFO: Acknowledgment sent {"connection_id":173777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:06:23] local.INFO: TCP Data received {"connection_id":171084,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:06:23] local.INFO: Processing buffer {"connection_id":171084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:06:23] local.INFO: Packet analysis {"connection_id":171084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:06:23] local.INFO: Extracted packet for processing {"connection_id":171084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866085632001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788539698000,"timestamp_ms":1788539698000,"timestamp_seconds":1788539698,"priority":1,"record_length":96,"hex_timestamp":"000001a06d45fb50"} 
[2026-09-04 22:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866085632001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866085632001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:06:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866085632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":171084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:06:24] local.INFO: GPS data processed {"connection_id":171084,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:06:24] local.INFO: Acknowledgment sent {"connection_id":171084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:06:26] local.INFO: TCP Data received {"connection_id":172496,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:06:26] local.INFO: Processing buffer {"connection_id":172496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:06:26] local.INFO: Packet analysis {"connection_id":172496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:06:26] local.INFO: Extracted packet for processing {"connection_id":172496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:06:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866047488001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788539549000,"timestamp_ms":1788539549000,"timestamp_seconds":1788539549,"priority":1,"record_length":96,"hex_timestamp":"000001a06d43b548"} 
[2026-09-04 22:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866047488001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866047488001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:06:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:06:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866047488001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":172496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765694,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:06:26] local.INFO: GPS data processed {"connection_id":172496,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:06:26] local.INFO: Acknowledgment sent {"connection_id":172496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:06:35] local.INFO: TCP Data received {"connection_id":173777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d468bd8012d0c45c006ec6a88001400b92f..."} 
[2026-09-04 22:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d468bd8012d0c45c006ec6a88001400b92f..."} 
[2026-09-04 22:06:35] local.INFO: Processing buffer {"connection_id":173777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d468bd8012d0c45c006ec6a88001400b92f..."} 
[2026-09-04 22:06:35] local.INFO: Packet analysis {"connection_id":173777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d46"} 
[2026-09-04 22:06:35] local.INFO: Extracted packet for processing {"connection_id":173777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d46"} 
[2026-09-04 22:06:35] local.INFO: GPS Element Parsed {"raw_longitude":755779008,"raw_latitude":116157064,"longitude_deg":75.5779008,"latitude_deg":11.6157064,"altitude":20,"angle":185,"satellites":47,"speed":12,"hex_longitude":"2d0c45c0","hex_latitude":"06ec6a88","is_valid_coordinates":true} 
[2026-09-04 22:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866166784001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398743651364110336,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884957356516096000,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788539735000,"timestamp_ms":1788539735000,"timestamp_seconds":1788539735,"priority":1,"record_length":96,"hex_timestamp":"000001a06d468bd8"} 
[2026-09-04 22:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 22:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866166784001,"66":27289,"241":206,"80":6400,"24":12,"16":398743651364110336,"45":884957356516096000},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-04 22:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866166784001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:06:35] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-04 22:06:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398743651364110336,"km_value":398743651364110.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":884957356516096000,"description":"Unknown IO ID 45"} 
[2026-09-04 22:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866166784001,"power":27289,"unknown_241":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":884957356516096000}} 
[2026-09-04 22:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":173777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:06:35] local.INFO: GPS data processed {"connection_id":173777,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:06:35] local.INFO: Acknowledgment sent {"connection_id":173777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:06:47] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:06:47] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:06:47] local.INFO: IMEI packet received {"connection_id":173778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":173778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:06:52] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:06:52] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:06:52] local.INFO: IMEI packet received {"connection_id":173778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":173778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:06:53] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:06:53] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:06:53] local.INFO: Packet analysis {"connection_id":173778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:06:53] local.INFO: Extracted packet for processing {"connection_id":173778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866085632001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539698000,"timestamp_ms":1788539698000,"timestamp_seconds":1788539698,"priority":1,"record_length":96,"hex_timestamp":"000001a06d45fb50"} 
[2026-09-04 22:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866085632001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866085632001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:06:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866085632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":173778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:06:53] local.INFO: GPS data processed {"connection_id":173778,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:06:53] local.INFO: Acknowledgment sent {"connection_id":173778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:06:53] local.INFO: TCP Data received {"connection_id":173779,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:06:53] local.INFO: Processing buffer {"connection_id":173779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:06:53] local.INFO: IMEI packet received {"connection_id":173779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":173779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:06:58] local.INFO: TCP Data received {"connection_id":171085,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:06:58] local.INFO: Processing buffer {"connection_id":171085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:06:58] local.INFO: IMEI packet received {"connection_id":171085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":171085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:06:58] local.INFO: TCP Data received {"connection_id":173779,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:06:58] local.INFO: Processing buffer {"connection_id":173779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:06:58] local.INFO: IMEI packet received {"connection_id":173779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":173779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:06:59] local.INFO: TCP Data received {"connection_id":171085,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:06:59] local.INFO: Processing buffer {"connection_id":171085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:06:59] local.INFO: IMEI packet received {"connection_id":171085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":171085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:07:00] local.INFO: TCP Data received {"connection_id":173779,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:07:00] local.INFO: Processing buffer {"connection_id":173779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:07:00] local.INFO: Packet analysis {"connection_id":173779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:07:00] local.INFO: Extracted packet for processing {"connection_id":173779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866047488001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788539549000,"timestamp_ms":1788539549000,"timestamp_seconds":1788539549,"priority":1,"record_length":96,"hex_timestamp":"000001a06d43b548"} 
[2026-09-04 22:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866047488001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866047488001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:07:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866047488001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":173779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765697,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:07:00] local.INFO: GPS data processed {"connection_id":173779,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:07:00] local.INFO: Acknowledgment sent {"connection_id":173779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:07:03] local.INFO: TCP Data received {"connection_id":171085,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:07:03] local.INFO: Processing buffer {"connection_id":171085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:07:03] local.INFO: IMEI packet received {"connection_id":171085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":171085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:07:04] local.INFO: TCP Data received {"connection_id":171085,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d469790012d0c458006ec6668001400ae2e..."} 
[2026-09-04 22:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d469790012d0c458006ec6668001400ae2e..."} 
[2026-09-04 22:07:04] local.INFO: Processing buffer {"connection_id":171085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d469790012d0c458006ec6668001400ae2e..."} 
[2026-09-04 22:07:04] local.INFO: Packet analysis {"connection_id":171085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d46"} 
[2026-09-04 22:07:04] local.INFO: Extracted packet for processing {"connection_id":171085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d46"} 
[2026-09-04 22:07:04] local.INFO: GPS Element Parsed {"raw_longitude":755778944,"raw_latitude":116156008,"longitude_deg":75.5778944,"latitude_deg":11.6156008,"altitude":20,"angle":174,"satellites":46,"speed":16,"hex_longitude":"2d0c4580","hex_latitude":"06ec6668","is_valid_coordinates":true} 
[2026-09-04 22:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866172160001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398743702903717888,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884324037816911872,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788539738000,"timestamp_ms":1788539738000,"timestamp_seconds":1788539738,"priority":1,"record_length":96,"hex_timestamp":"000001a06d469790"} 
[2026-09-04 22:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-04 22:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866172160001,"66":27539,"241":206,"80":6400,"24":16,"16":398743702903717888,"45":884324037816911872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-04 22:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866172160001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:07:04] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-04 22:07:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398743702903717888,"km_value":398743702903717.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":884324037816911872,"description":"Unknown IO ID 45"} 
[2026-09-04 22:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866172160001,"power":27539,"unknown_241":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":884324037816911872}} 
[2026-09-04 22:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":171085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:07:04] local.INFO: GPS data processed {"connection_id":171085,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:07:04] local.INFO: Acknowledgment sent {"connection_id":171085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:07:24] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:07:24] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:07:24] local.INFO: Packet analysis {"connection_id":173778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:07:24] local.INFO: Extracted packet for processing {"connection_id":173778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:07:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866085632001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788539698000,"timestamp_ms":1788539698000,"timestamp_seconds":1788539698,"priority":1,"record_length":96,"hex_timestamp":"000001a06d45fb50"} 
[2026-09-04 22:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866085632001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866085632001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:07:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866085632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":173778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:07:24] local.INFO: GPS data processed {"connection_id":173778,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:07:24] local.INFO: Acknowledgment sent {"connection_id":173778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:07:32] local.INFO: TCP Data received {"connection_id":173779,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:07:32] local.INFO: Processing buffer {"connection_id":173779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:07:32] local.INFO: Packet analysis {"connection_id":173779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:07:32] local.INFO: Extracted packet for processing {"connection_id":173779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:07:32] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866047488001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788539549000,"timestamp_ms":1788539549000,"timestamp_seconds":1788539549,"priority":1,"record_length":96,"hex_timestamp":"000001a06d43b548"} 
[2026-09-04 22:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866047488001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866047488001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:07:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:07:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866047488001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":173779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:07:32] local.INFO: GPS data processed {"connection_id":173779,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:07:32] local.INFO: Acknowledgment sent {"connection_id":173779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:07:35] local.INFO: TCP Data received {"connection_id":171085,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d46bab8012d0c494006ec5718001600a230..."} 
[2026-09-04 22:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d46bab8012d0c494006ec5718001600a230..."} 
[2026-09-04 22:07:35] local.INFO: Processing buffer {"connection_id":171085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d46bab8012d0c494006ec5718001600a230..."} 
[2026-09-04 22:07:35] local.INFO: Packet analysis {"connection_id":171085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d46"} 
[2026-09-04 22:07:35] local.INFO: Extracted packet for processing {"connection_id":171085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d46"} 
[2026-09-04 22:07:35] local.INFO: GPS Element Parsed {"raw_longitude":755779904,"raw_latitude":116152088,"longitude_deg":75.5779904,"latitude_deg":11.6152088,"altitude":22,"angle":162,"satellites":48,"speed":17,"hex_longitude":"2d0c4940","hex_latitude":"06ec5718","is_valid_coordinates":true} 
[2026-09-04 22:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866172928001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398743900472213504,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884253669072463872,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788539747000,"timestamp_ms":1788539747000,"timestamp_seconds":1788539747,"priority":1,"record_length":96,"hex_timestamp":"000001a06d46bab8"} 
[2026-09-04 22:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-04 22:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866172928001,"66":27332,"241":206,"80":6400,"24":17,"16":398743900472213504,"45":884253669072463872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-04 22:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866172928001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:07:35] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-04 22:07:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398743900472213504,"km_value":398743900472213.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":884253669072463872,"description":"Unknown IO ID 45"} 
[2026-09-04 22:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866172928001,"power":27332,"unknown_241":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":884253669072463872}} 
[2026-09-04 22:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":171085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:07:35] local.INFO: GPS data processed {"connection_id":171085,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:07:35] local.INFO: Acknowledgment sent {"connection_id":171085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:07:47] local.INFO: TCP Data received {"connection_id":173780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:07:47] local.INFO: Processing buffer {"connection_id":173780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:07:47] local.INFO: IMEI packet received {"connection_id":173780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":173780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:07:49] local.INFO: TCP Data received {"connection_id":173781,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:07:49] local.INFO: Processing buffer {"connection_id":173781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:07:49] local.INFO: IMEI packet received {"connection_id":173781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":173781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:07:52] local.INFO: TCP Data received {"connection_id":173780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:07:52] local.INFO: Processing buffer {"connection_id":173780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:07:52] local.INFO: IMEI packet received {"connection_id":173780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":173780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:07:53] local.INFO: TCP Data received {"connection_id":173780,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:07:53] local.INFO: Processing buffer {"connection_id":173780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:07:53] local.INFO: Packet analysis {"connection_id":173780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:07:53] local.INFO: Extracted packet for processing {"connection_id":173780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:07:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866085632001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539698000,"timestamp_ms":1788539698000,"timestamp_seconds":1788539698,"priority":1,"record_length":96,"hex_timestamp":"000001a06d45fb50"} 
[2026-09-04 22:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866085632001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866085632001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:07:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:07:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866085632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":173780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:07:53] local.INFO: GPS data processed {"connection_id":173780,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:07:53] local.INFO: Acknowledgment sent {"connection_id":173780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:07:53] local.INFO: TCP Data received {"connection_id":173781,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:07:53] local.INFO: Processing buffer {"connection_id":173781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:07:53] local.INFO: IMEI packet received {"connection_id":173781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":173781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:07:54] local.INFO: TCP Data received {"connection_id":173781,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:07:54] local.INFO: Processing buffer {"connection_id":173781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d43b548012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:07:54] local.INFO: Packet analysis {"connection_id":173781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:07:54] local.INFO: Extracted packet for processing {"connection_id":173781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d43"} 
[2026-09-04 22:07:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866047488001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788539549000,"timestamp_ms":1788539549000,"timestamp_seconds":1788539549,"priority":1,"record_length":96,"hex_timestamp":"000001a06d43b548"} 
[2026-09-04 22:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866047488001,"66":25299,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866047488001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:07:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:07:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866047488001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":173781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765703,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:07:55] local.INFO: GPS data processed {"connection_id":173781,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:07:55] local.INFO: Acknowledgment sent {"connection_id":173781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:08:03] local.INFO: TCP Data received {"connection_id":173782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:03] local.INFO: Processing buffer {"connection_id":173782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:03] local.INFO: IMEI packet received {"connection_id":173782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":173782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:08:06] local.INFO: TCP Data received {"connection_id":173782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:06] local.INFO: Processing buffer {"connection_id":173782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:06] local.INFO: IMEI packet received {"connection_id":173782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":173782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:08:07] local.INFO: TCP Data received {"connection_id":173782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d46e998012d0c514006ec45100017009730..."} 
[2026-09-04 22:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d46e998012d0c514006ec45100017009730..."} 
[2026-09-04 22:08:07] local.INFO: Processing buffer {"connection_id":173782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d46e998012d0c514006ec45100017009730..."} 
[2026-09-04 22:08:07] local.INFO: Packet analysis {"connection_id":173782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d46"} 
[2026-09-04 22:08:07] local.INFO: Extracted packet for processing {"connection_id":173782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d46"} 
[2026-09-04 22:08:07] local.INFO: GPS Element Parsed {"raw_longitude":755781952,"raw_latitude":116147472,"longitude_deg":75.5781952,"latitude_deg":11.6147472,"altitude":23,"angle":151,"satellites":48,"speed":18,"hex_longitude":"2d0c5140","hex_latitude":"06ec4510","is_valid_coordinates":true} 
[2026-09-04 22:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866175232001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398744145285349376,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885309200234125312,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788539759000,"timestamp_ms":1788539759000,"timestamp_seconds":1788539759,"priority":1,"record_length":96,"hex_timestamp":"000001a06d46e998"} 
[2026-09-04 22:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 22:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866175232001,"66":27376,"241":206,"80":6400,"24":18,"16":398744145285349376,"45":885309200234125312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-04 22:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866175232001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:08:07] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-04 22:08:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398744145285349376,"km_value":398744145285349.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":885309200234125312,"description":"Unknown IO ID 45"} 
[2026-09-04 22:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866175232001,"power":27376,"unknown_241":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":885309200234125312}} 
[2026-09-04 22:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":173782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:08:07] local.INFO: GPS data processed {"connection_id":173782,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:08:07] local.INFO: Acknowledgment sent {"connection_id":173782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:08:08] local.INFO: TCP Data received {"connection_id":173782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d473ba0012d0c5d0006ec2b080018009b30..."} 
[2026-09-04 22:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d473ba0012d0c5d0006ec2b080018009b30..."} 
[2026-09-04 22:08:08] local.INFO: Processing buffer {"connection_id":173782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d473ba0012d0c5d0006ec2b080018009b30..."} 
[2026-09-04 22:08:08] local.INFO: Packet analysis {"connection_id":173782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d47"} 
[2026-09-04 22:08:08] local.INFO: Extracted packet for processing {"connection_id":173782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d47"} 
[2026-09-04 22:08:08] local.INFO: GPS Element Parsed {"raw_longitude":755784960,"raw_latitude":116140808,"longitude_deg":75.578496,"latitude_deg":11.6140808,"altitude":24,"angle":155,"satellites":48,"speed":16,"hex_longitude":"2d0c5d00","hex_latitude":"06ec2b08","is_valid_coordinates":true} 
[2026-09-04 22:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866178304001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398744501767634944,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887561000046628864,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788539780000,"timestamp_ms":1788539780000,"timestamp_seconds":1788539780,"priority":1,"record_length":96,"hex_timestamp":"000001a06d473ba0"} 
[2026-09-04 22:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 22:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866178304001,"66":27376,"238":206,"80":6400,"24":16,"16":398744501767634944,"45":887561000046628864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-04 22:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866178304001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:08:08] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-04 22:08:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398744501767634944,"km_value":398744501767634.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":887561000046628864,"description":"Unknown IO ID 45"} 
[2026-09-04 22:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866178304001,"power":27376,"unknown_238":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":887561000046628864}} 
[2026-09-04 22:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":173782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:08:08] local.INFO: GPS data processed {"connection_id":173782,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:08:08] local.INFO: Acknowledgment sent {"connection_id":173782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:08:24] local.INFO: TCP Data received {"connection_id":173780,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:08:24] local.INFO: Processing buffer {"connection_id":173780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:08:24] local.INFO: Packet analysis {"connection_id":173780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:08:24] local.INFO: Extracted packet for processing {"connection_id":173780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866085632001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788539698000,"timestamp_ms":1788539698000,"timestamp_seconds":1788539698,"priority":1,"record_length":96,"hex_timestamp":"000001a06d45fb50"} 
[2026-09-04 22:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866085632001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866085632001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:08:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:08:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866085632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":173780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:08:24] local.INFO: GPS data processed {"connection_id":173780,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:08:24] local.INFO: Acknowledgment sent {"connection_id":173780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:08:26] local.INFO: TCP Data received {"connection_id":173781,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:08:26] local.INFO: Processing buffer {"connection_id":173781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:08:26] local.INFO: Packet analysis {"connection_id":173781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:08:26] local.INFO: Extracted packet for processing {"connection_id":173781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:08:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866124544001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788539850000,"timestamp_ms":1788539850000,"timestamp_seconds":1788539850,"priority":1,"record_length":96,"hex_timestamp":"000001a06d484d10"} 
[2026-09-04 22:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 22:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866124544001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866124544001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:08:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:08:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866124544001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":173781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765707,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:08:26] local.INFO: GPS data processed {"connection_id":173781,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:08:26] local.INFO: Acknowledgment sent {"connection_id":173781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:08:39] local.INFO: TCP Data received {"connection_id":173782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d476698012d0c63c006ec1758001800a830..."} 
[2026-09-04 22:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d476698012d0c63c006ec1758001800a830..."} 
[2026-09-04 22:08:39] local.INFO: Processing buffer {"connection_id":173782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d476698012d0c63c006ec1758001800a830..."} 
[2026-09-04 22:08:39] local.INFO: Packet analysis {"connection_id":173782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d47"} 
[2026-09-04 22:08:39] local.INFO: Extracted packet for processing {"connection_id":173782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d47"} 
[2026-09-04 22:08:39] local.INFO: GPS Element Parsed {"raw_longitude":755786688,"raw_latitude":116135768,"longitude_deg":75.5786688,"latitude_deg":11.6135768,"altitude":24,"angle":168,"satellites":48,"speed":23,"hex_longitude":"2d0c63c0","hex_latitude":"06ec1758","is_valid_coordinates":true} 
[2026-09-04 22:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866183680001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398744759465672704,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890868331021273088,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788539791000,"timestamp_ms":1788539791000,"timestamp_seconds":1788539791,"priority":1,"record_length":96,"hex_timestamp":"000001a06d476698"} 
[2026-09-04 22:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 22:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866183680001,"66":27300,"238":206,"80":6400,"24":23,"16":398744759465672704,"45":890868331021273088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-04 22:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866183680001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:08:39] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-04 22:08:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398744759465672704,"km_value":398744759465672.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":890868331021273088,"description":"Unknown IO ID 45"} 
[2026-09-04 22:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866183680001,"power":27300,"unknown_238":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":890868331021273088}} 
[2026-09-04 22:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":173782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:08:39] local.INFO: GPS data processed {"connection_id":173782,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:08:39] local.INFO: Acknowledgment sent {"connection_id":173782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:08:47] local.INFO: TCP Data received {"connection_id":173783,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:08:47] local.INFO: Processing buffer {"connection_id":173783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:08:47] local.INFO: IMEI packet received {"connection_id":173783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":173783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:08:48] local.INFO: TCP Data received {"connection_id":172497,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:08:48] local.INFO: Processing buffer {"connection_id":172497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:08:48] local.INFO: IMEI packet received {"connection_id":172497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":172497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:08:52] local.INFO: TCP Data received {"connection_id":173783,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:08:52] local.INFO: Processing buffer {"connection_id":173783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:08:52] local.INFO: IMEI packet received {"connection_id":173783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":173783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:08:53] local.INFO: TCP Data received {"connection_id":173783,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:08:53] local.INFO: Processing buffer {"connection_id":173783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:08:53] local.INFO: Packet analysis {"connection_id":173783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:08:53] local.INFO: Extracted packet for processing {"connection_id":173783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866085632001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539698000,"timestamp_ms":1788539698000,"timestamp_seconds":1788539698,"priority":1,"record_length":96,"hex_timestamp":"000001a06d45fb50"} 
[2026-09-04 22:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866085632001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866085632001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:08:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866085632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":173783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:08:53] local.INFO: GPS data processed {"connection_id":173783,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:08:53] local.INFO: Acknowledgment sent {"connection_id":173783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:08:53] local.INFO: TCP Data received {"connection_id":172497,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:08:53] local.INFO: Processing buffer {"connection_id":172497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:08:53] local.INFO: IMEI packet received {"connection_id":172497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":172497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:08:55] local.INFO: TCP Data received {"connection_id":172497,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:08:55] local.INFO: Processing buffer {"connection_id":172497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:08:55] local.INFO: Packet analysis {"connection_id":172497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:08:55] local.INFO: Extracted packet for processing {"connection_id":172497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866124544001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788539850000,"timestamp_ms":1788539850000,"timestamp_seconds":1788539850,"priority":1,"record_length":96,"hex_timestamp":"000001a06d484d10"} 
[2026-09-04 22:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 22:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866124544001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866124544001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:08:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866124544001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":172497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765710,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:08:55] local.INFO: GPS data processed {"connection_id":172497,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:08:55] local.INFO: Acknowledgment sent {"connection_id":172497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:08:56] local.INFO: TCP Data received {"connection_id":171383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:56] local.INFO: Processing buffer {"connection_id":171383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:56] local.INFO: IMEI packet received {"connection_id":171383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":171383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:08:58] local.INFO: TCP Data received {"connection_id":171383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:58] local.INFO: Processing buffer {"connection_id":171383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:58] local.INFO: IMEI packet received {"connection_id":171383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":171383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:08:58] local.INFO: TCP Data received {"connection_id":171383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:58] local.INFO: Processing buffer {"connection_id":171383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:08:58] local.INFO: IMEI packet received {"connection_id":171383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":171383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:09:01] local.INFO: TCP Data received {"connection_id":171383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:09:01] local.INFO: Processing buffer {"connection_id":171383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:09:01] local.INFO: IMEI packet received {"connection_id":171383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":171383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:09:02] local.INFO: TCP Data received {"connection_id":171383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d479578012d0c684006ebf460001500b02e..."} 
[2026-09-04 22:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d479578012d0c684006ebf460001500b02e..."} 
[2026-09-04 22:09:02] local.INFO: Processing buffer {"connection_id":171383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d479578012d0c684006ebf460001500b02e..."} 
[2026-09-04 22:09:02] local.INFO: Packet analysis {"connection_id":171383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d47"} 
[2026-09-04 22:09:02] local.INFO: Extracted packet for processing {"connection_id":171383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d47"} 
[2026-09-04 22:09:02] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":116126816,"longitude_deg":75.578784,"latitude_deg":11.6126816,"altitude":21,"angle":176,"satellites":46,"speed":36,"hex_longitude":"2d0c6840","hex_latitude":"06ebf460","is_valid_coordinates":true} 
[2026-09-04 22:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866186496001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398745197552336896,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892768287112779776,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788539803000,"timestamp_ms":1788539803000,"timestamp_seconds":1788539803,"priority":1,"record_length":96,"hex_timestamp":"000001a06d479578"} 
[2026-09-04 22:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 22:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866186496001,"66":27365,"238":206,"80":6400,"24":36,"16":398745197552336896,"45":892768287112779776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-04 22:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866186496001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:09:02] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-04 22:09:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398745197552336896,"km_value":398745197552336.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":892768287112779776,"description":"Unknown IO ID 45"} 
[2026-09-04 22:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866186496001,"power":27365,"unknown_238":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":892768287112779776}} 
[2026-09-04 22:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":171383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:09:02] local.INFO: GPS data processed {"connection_id":171383,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:09:02] local.INFO: Acknowledgment sent {"connection_id":171383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:09:03] local.INFO: TCP Data received {"connection_id":171383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d47bc88012d0c6b0006ebcfe8001300ac30..."} 
[2026-09-04 22:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d47bc88012d0c6b0006ebcfe8001300ac30..."} 
[2026-09-04 22:09:03] local.INFO: Processing buffer {"connection_id":171383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d47bc88012d0c6b0006ebcfe8001300ac30..."} 
[2026-09-04 22:09:03] local.INFO: Packet analysis {"connection_id":171383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d47"} 
[2026-09-04 22:09:03] local.INFO: Extracted packet for processing {"connection_id":171383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d47"} 
[2026-09-04 22:09:03] local.INFO: GPS Element Parsed {"raw_longitude":755788544,"raw_latitude":116117480,"longitude_deg":75.5788544,"latitude_deg":11.611748,"altitude":19,"angle":172,"satellites":48,"speed":36,"hex_longitude":"2d0c6b00","hex_latitude":"06ebcfe8","is_valid_coordinates":true} 
[2026-09-04 22:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866189568001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398745652818870272,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894034924505686016,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788539813000,"timestamp_ms":1788539813000,"timestamp_seconds":1788539813,"priority":1,"record_length":96,"hex_timestamp":"000001a06d47bc88"} 
[2026-09-04 22:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 22:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866189568001,"66":27343,"238":206,"80":6400,"24":36,"16":398745652818870272,"45":894034924505686016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-04 22:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866189568001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:09:03] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-04 22:09:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398745652818870272,"km_value":398745652818870.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":894034924505686016,"description":"Unknown IO ID 45"} 
[2026-09-04 22:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866189568001,"power":27343,"unknown_238":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":894034924505686016}} 
[2026-09-04 22:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":171383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:09:03] local.INFO: GPS data processed {"connection_id":171383,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:09:03] local.INFO: Acknowledgment sent {"connection_id":171383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:09:23] local.INFO: TCP Data received {"connection_id":173783,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:09:23] local.INFO: Processing buffer {"connection_id":173783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:09:23] local.INFO: Packet analysis {"connection_id":173783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:09:23] local.INFO: Extracted packet for processing {"connection_id":173783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:09:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866085632001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788539698000,"timestamp_ms":1788539698000,"timestamp_seconds":1788539698,"priority":1,"record_length":96,"hex_timestamp":"000001a06d45fb50"} 
[2026-09-04 22:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866085632001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866085632001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:09:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:09:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866085632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":173783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:09:24] local.INFO: GPS data processed {"connection_id":173783,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:09:24] local.INFO: Acknowledgment sent {"connection_id":173783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:09:26] local.INFO: TCP Data received {"connection_id":172497,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:09:26] local.INFO: Processing buffer {"connection_id":172497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:09:26] local.INFO: Packet analysis {"connection_id":172497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:09:26] local.INFO: Extracted packet for processing {"connection_id":172497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:09:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866124544001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788539850000,"timestamp_ms":1788539850000,"timestamp_seconds":1788539850,"priority":1,"record_length":96,"hex_timestamp":"000001a06d484d10"} 
[2026-09-04 22:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 22:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866124544001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866124544001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:09:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:09:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866124544001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":172497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765714,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:09:26] local.INFO: GPS data processed {"connection_id":172497,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:09:26] local.INFO: Acknowledgment sent {"connection_id":172497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:09:34] local.INFO: TCP Data received {"connection_id":171383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4952c8012d0d2a8006eb20700013007230..."} 
[2026-09-04 22:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4952c8012d0d2a8006eb20700013007230..."} 
[2026-09-04 22:09:34] local.INFO: Processing buffer {"connection_id":171383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4952c8012d0d2a8006eb20700013007230..."} 
[2026-09-04 22:09:34] local.INFO: Packet analysis {"connection_id":171383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d49"} 
[2026-09-04 22:09:34] local.INFO: Extracted packet for processing {"connection_id":171383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d49"} 
[2026-09-04 22:09:34] local.INFO: GPS Element Parsed {"raw_longitude":755837568,"raw_latitude":116072560,"longitude_deg":75.5837568,"latitude_deg":11.607256,"altitude":19,"angle":114,"satellites":48,"speed":33,"hex_longitude":"2d0d2a80","hex_latitude":"06eb2070","is_valid_coordinates":true} 
[2026-09-04 22:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866215936001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398748972828590080,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":939915345696739328,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788539917000,"timestamp_ms":1788539917000,"timestamp_seconds":1788539917,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4952c8"} 
[2026-09-04 22:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 22:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866215936001,"66":27321,"84":206,"80":6400,"24":33,"16":398748972828590080,"45":939915345696739328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-04 22:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866215936001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:09:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-04 22:09:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398748972828590080,"km_value":398748972828590.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":939915345696739328,"description":"Unknown IO ID 45"} 
[2026-09-04 22:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866215936001,"power":27321,"unknown_84":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":939915345696739328}} 
[2026-09-04 22:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":171383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:09:35] local.INFO: GPS data processed {"connection_id":171383,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:09:35] local.INFO: Acknowledgment sent {"connection_id":171383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:09:47] local.INFO: TCP Data received {"connection_id":171086,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:09:47] local.INFO: Processing buffer {"connection_id":171086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:09:47] local.INFO: IMEI packet received {"connection_id":171086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":171086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:09:52] local.INFO: TCP Data received {"connection_id":171086,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:09:52] local.INFO: Processing buffer {"connection_id":171086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:09:52] local.INFO: IMEI packet received {"connection_id":171086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":171086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:09:53] local.INFO: TCP Data received {"connection_id":171086,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:09:53] local.INFO: Processing buffer {"connection_id":171086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:09:53] local.INFO: Packet analysis {"connection_id":171086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:09:53] local.INFO: Extracted packet for processing {"connection_id":171086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:09:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866085632001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539698000,"timestamp_ms":1788539698000,"timestamp_seconds":1788539698,"priority":1,"record_length":96,"hex_timestamp":"000001a06d45fb50"} 
[2026-09-04 22:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866085632001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866085632001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:09:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:09:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866085632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":171086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:09:53] local.INFO: GPS data processed {"connection_id":171086,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:09:53] local.INFO: Acknowledgment sent {"connection_id":171086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:09:53] local.INFO: TCP Data received {"connection_id":171087,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:09:53] local.INFO: Processing buffer {"connection_id":171087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:09:53] local.INFO: IMEI packet received {"connection_id":171087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":171087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:09:56] local.INFO: TCP Data received {"connection_id":171088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:09:56] local.INFO: Processing buffer {"connection_id":171088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:09:56] local.INFO: IMEI packet received {"connection_id":171088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":171088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:09:58] local.INFO: TCP Data received {"connection_id":171088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:09:58] local.INFO: Processing buffer {"connection_id":171088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:09:58] local.INFO: IMEI packet received {"connection_id":171088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":171088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:09:58] local.INFO: TCP Data received {"connection_id":171087,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:09:58] local.INFO: Processing buffer {"connection_id":171087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:09:58] local.INFO: IMEI packet received {"connection_id":171087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":171087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:09:59] local.INFO: TCP Data received {"connection_id":171088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:09:59] local.INFO: Processing buffer {"connection_id":171088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:09:59] local.INFO: IMEI packet received {"connection_id":171088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":171088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:10:00] local.INFO: TCP Data received {"connection_id":171087,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:10:00] local.INFO: Processing buffer {"connection_id":171087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:10:00] local.INFO: Packet analysis {"connection_id":171087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:10:00] local.INFO: Extracted packet for processing {"connection_id":171087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:10:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866124544001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788539850000,"timestamp_ms":1788539850000,"timestamp_seconds":1788539850,"priority":1,"record_length":96,"hex_timestamp":"000001a06d484d10"} 
[2026-09-04 22:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 22:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866124544001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866124544001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:10:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:10:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866124544001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":171087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765717,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:10:00] local.INFO: GPS data processed {"connection_id":171087,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:10:00] local.INFO: Acknowledgment sent {"connection_id":171087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:10:03] local.INFO: TCP Data received {"connection_id":171088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:10:03] local.INFO: Processing buffer {"connection_id":171088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:10:03] local.INFO: IMEI packet received {"connection_id":171088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":171088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:10:04] local.INFO: TCP Data received {"connection_id":171088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d496268012d0d364006eb1c400013006730..."} 
[2026-09-04 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d496268012d0d364006eb1c400013006730..."} 
[2026-09-04 22:10:04] local.INFO: Processing buffer {"connection_id":171088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d496268012d0d364006eb1c400013006730..."} 
[2026-09-04 22:10:04] local.INFO: Packet analysis {"connection_id":171088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d49"} 
[2026-09-04 22:10:04] local.INFO: Extracted packet for processing {"connection_id":171088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d49"} 
[2026-09-04 22:10:04] local.INFO: GPS Element Parsed {"raw_longitude":755840576,"raw_latitude":116071488,"longitude_deg":75.5840576,"latitude_deg":11.6071488,"altitude":19,"angle":103,"satellites":48,"speed":28,"hex_longitude":"2d0d3640","hex_latitude":"06eb1c40","is_valid_coordinates":true} 
[2026-09-04 22:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866218752001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398749127447412736,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948711438717841408,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788539921000,"timestamp_ms":1788539921000,"timestamp_seconds":1788539921,"priority":1,"record_length":96,"hex_timestamp":"000001a06d496268"} 
[2026-09-04 22:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 22:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866218752001,"66":27234,"84":206,"80":6400,"24":28,"16":398749127447412736,"45":948711438717841408},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-04 22:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866218752001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:10:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-04 22:10:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398749127447412736,"km_value":398749127447412.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":948711438717841408,"description":"Unknown IO ID 45"} 
[2026-09-04 22:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866218752001,"power":27234,"unknown_84":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":948711438717841408}} 
[2026-09-04 22:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":171088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:10:04] local.INFO: GPS data processed {"connection_id":171088,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:10:04] local.INFO: Acknowledgment sent {"connection_id":171088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:10:05] local.INFO: TCP Data received {"connection_id":171087,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:10:05] local.INFO: Processing buffer {"connection_id":171087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:10:05] local.INFO: Packet analysis {"connection_id":171087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:10:05] local.INFO: Extracted packet for processing {"connection_id":171087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866124544001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788539850000,"timestamp_ms":1788539850000,"timestamp_seconds":1788539850,"priority":1,"record_length":96,"hex_timestamp":"000001a06d484d10"} 
[2026-09-04 22:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 22:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866124544001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866124544001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:10:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866124544001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":171087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:10:05] local.INFO: GPS data processed {"connection_id":171087,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:10:05] local.INFO: Acknowledgment sent {"connection_id":171087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:10:09] local.INFO: TCP Data received {"connection_id":171088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d499530012d0d4fc006eb15a80018007230..."} 
[2026-09-04 22:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d499530012d0d4fc006eb15a80018007230..."} 
[2026-09-04 22:10:09] local.INFO: Processing buffer {"connection_id":171088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d499530012d0d4fc006eb15a80018007230..."} 
[2026-09-04 22:10:09] local.INFO: Packet analysis {"connection_id":171088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d49"} 
[2026-09-04 22:10:09] local.INFO: Extracted packet for processing {"connection_id":171088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d49"} 
[2026-09-04 22:10:09] local.INFO: GPS Element Parsed {"raw_longitude":755847104,"raw_latitude":116069800,"longitude_deg":75.5847104,"latitude_deg":11.60698,"altitude":24,"angle":114,"satellites":48,"speed":18,"hex_longitude":"2d0d4fc0","hex_latitude":"06eb15a8","is_valid_coordinates":true} 
[2026-09-04 22:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866219776001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398749445274992640,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952018769693917184,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788539934000,"timestamp_ms":1788539934000,"timestamp_seconds":1788539934,"priority":1,"record_length":96,"hex_timestamp":"000001a06d499530"} 
[2026-09-04 22:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 22:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866219776001,"66":27365,"82":206,"80":6400,"24":18,"16":398749445274992640,"45":952018769693917184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-09-04 22:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866219776001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:10:09] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-04 22:10:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398749445274992640,"km_value":398749445274992.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":952018769693917184,"description":"Unknown IO ID 45"} 
[2026-09-04 22:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866219776001,"power":27365,"unknown_82":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":952018769693917184}} 
[2026-09-04 22:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":171088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:10:09] local.INFO: GPS data processed {"connection_id":171088,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:10:09] local.INFO: Acknowledgment sent {"connection_id":171088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:10:23] local.INFO: TCP Data received {"connection_id":171086,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:10:23] local.INFO: Processing buffer {"connection_id":171086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d45fb50012d1965c0071fef800047011523..."} 
[2026-09-04 22:10:23] local.INFO: Packet analysis {"connection_id":171086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:10:23] local.INFO: Extracted packet for processing {"connection_id":171086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d45"} 
[2026-09-04 22:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866085632001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788539698000,"timestamp_ms":1788539698000,"timestamp_seconds":1788539698,"priority":1,"record_length":96,"hex_timestamp":"000001a06d45fb50"} 
[2026-09-04 22:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866085632001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866085632001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:10:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:10:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866085632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":171086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:10:24] local.INFO: GPS data processed {"connection_id":171086,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:10:24] local.INFO: Acknowledgment sent {"connection_id":171086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:10:39] local.INFO: TCP Data received {"connection_id":171088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d49cbe0012d0d72c006eb0710001b006f2f..."} 
[2026-09-04 22:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d49cbe0012d0d72c006eb0710001b006f2f..."} 
[2026-09-04 22:10:39] local.INFO: Processing buffer {"connection_id":171088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d49cbe0012d0d72c006eb0710001b006f2f..."} 
[2026-09-04 22:10:39] local.INFO: Packet analysis {"connection_id":171088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d49"} 
[2026-09-04 22:10:39] local.INFO: Extracted packet for processing {"connection_id":171088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d49"} 
[2026-09-04 22:10:39] local.INFO: GPS Element Parsed {"raw_longitude":755856064,"raw_latitude":116066064,"longitude_deg":75.5856064,"latitude_deg":11.6066064,"altitude":27,"angle":111,"satellites":47,"speed":33,"hex_longitude":"2d0d72c0","hex_latitude":"06eb0710","is_valid_coordinates":true} 
[2026-09-04 22:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866223104001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398749913426427904,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":959196381599606784,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788539948000,"timestamp_ms":1788539948000,"timestamp_seconds":1788539948,"priority":1,"record_length":96,"hex_timestamp":"000001a06d49cbe0"} 
[2026-09-04 22:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 22:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866223104001,"66":27267,"82":206,"80":6400,"24":33,"16":398749913426427904,"45":959196381599606784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-09-04 22:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866223104001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:10:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-04 22:10:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398749913426427904,"km_value":398749913426427.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":959196381599606784,"description":"Unknown IO ID 45"} 
[2026-09-04 22:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866223104001,"power":27267,"unknown_82":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":959196381599606784}} 
[2026-09-04 22:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":171088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:10:39] local.INFO: GPS data processed {"connection_id":171088,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:10:39] local.INFO: Acknowledgment sent {"connection_id":171088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:10:48] local.INFO: TCP Data received {"connection_id":173784,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:10:48] local.INFO: Processing buffer {"connection_id":173784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:10:48] local.INFO: IMEI packet received {"connection_id":173784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":173784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:10:52] local.INFO: TCP Data received {"connection_id":172498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:10:52] local.INFO: Processing buffer {"connection_id":172498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:10:52] local.INFO: IMEI packet received {"connection_id":172498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":172498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:10:53] local.INFO: TCP Data received {"connection_id":173784,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:10:53] local.INFO: Processing buffer {"connection_id":173784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:10:53] local.INFO: IMEI packet received {"connection_id":173784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":173784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:10:55] local.INFO: TCP Data received {"connection_id":173784,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:10:55] local.INFO: Processing buffer {"connection_id":173784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:10:55] local.INFO: Packet analysis {"connection_id":173784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:10:55] local.INFO: Extracted packet for processing {"connection_id":173784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:10:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866124544001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788539850000,"timestamp_ms":1788539850000,"timestamp_seconds":1788539850,"priority":1,"record_length":96,"hex_timestamp":"000001a06d484d10"} 
[2026-09-04 22:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 22:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866124544001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866124544001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:10:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:10:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866124544001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":173784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765723,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:10:55] local.INFO: GPS data processed {"connection_id":173784,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:10:55] local.INFO: Acknowledgment sent {"connection_id":173784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:10:57] local.INFO: TCP Data received {"connection_id":172498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:10:57] local.INFO: Processing buffer {"connection_id":172498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:10:57] local.INFO: IMEI packet received {"connection_id":172498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":172498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:10:58] local.INFO: TCP Data received {"connection_id":172498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:10:58] local.INFO: Processing buffer {"connection_id":172498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:10:58] local.INFO: Packet analysis {"connection_id":172498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:10:58] local.INFO: Extracted packet for processing {"connection_id":172498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:10:58] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866162688001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788539999000,"timestamp_ms":1788539999000,"timestamp_seconds":1788539999,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4a9318"} 
[2026-09-04 22:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866162688001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866162688001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:10:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866162688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":172498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:10:58] local.INFO: GPS data processed {"connection_id":172498,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:10:58] local.INFO: Acknowledgment sent {"connection_id":172498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:10:58] local.INFO: TCP Data received {"connection_id":171089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:10:58] local.INFO: Processing buffer {"connection_id":171089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:10:58] local.INFO: IMEI packet received {"connection_id":171089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":171089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:11:02] local.INFO: TCP Data received {"connection_id":172498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:11:02] local.INFO: Processing buffer {"connection_id":172498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:11:02] local.INFO: Packet analysis {"connection_id":172498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:11:02] local.INFO: Extracted packet for processing {"connection_id":172498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:11:02] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866162688001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788539999000,"timestamp_ms":1788539999000,"timestamp_seconds":1788539999,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4a9318"} 
[2026-09-04 22:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866162688001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866162688001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:11:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:11:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866162688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":172498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:11:02] local.INFO: GPS data processed {"connection_id":172498,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:11:02] local.INFO: Acknowledgment sent {"connection_id":172498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:11:03] local.INFO: TCP Data received {"connection_id":171089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:11:03] local.INFO: Processing buffer {"connection_id":171089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:11:03] local.INFO: IMEI packet received {"connection_id":171089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":171089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:11:04] local.INFO: TCP Data received {"connection_id":171089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d49f2f0012d0d960006eafac8001f00732e..."} 
[2026-09-04 22:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d49f2f0012d0d960006eafac8001f00732e..."} 
[2026-09-04 22:11:04] local.INFO: Processing buffer {"connection_id":171089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d49f2f0012d0d960006eafac8001f00732e..."} 
[2026-09-04 22:11:04] local.INFO: Packet analysis {"connection_id":171089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d49"} 
[2026-09-04 22:11:04] local.INFO: Extracted packet for processing {"connection_id":171089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d49"} 
[2026-09-04 22:11:04] local.INFO: GPS Element Parsed {"raw_longitude":755865088,"raw_latitude":116062920,"longitude_deg":75.5865088,"latitude_deg":11.606292,"altitude":31,"angle":115,"satellites":46,"speed":35,"hex_longitude":"2d0d9600","hex_latitude":"06eafac8","is_valid_coordinates":true} 
[2026-09-04 22:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866226688001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398750364397993984,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":969048005783523328,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788539958000,"timestamp_ms":1788539958000,"timestamp_seconds":1788539958,"priority":1,"record_length":96,"hex_timestamp":"000001a06d49f2f0"} 
[2026-09-04 22:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 22:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866226688001,"66":27300,"2":206,"80":6400,"24":35,"16":398750364397993984,"45":969048005783523328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-09-04 22:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866226688001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:11:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398750364397993984,"km_value":398750364397994.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":969048005783523328,"description":"Unknown IO ID 45"} 
[2026-09-04 22:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866226688001,"power":27300,"power_alt":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":969048005783523328}} 
[2026-09-04 22:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":171089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:11:04] local.INFO: GPS data processed {"connection_id":171089,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:11:04] local.INFO: Acknowledgment sent {"connection_id":171089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:11:26] local.INFO: TCP Data received {"connection_id":173784,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:11:26] local.INFO: Processing buffer {"connection_id":173784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:11:26] local.INFO: Packet analysis {"connection_id":173784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:11:26] local.INFO: Extracted packet for processing {"connection_id":173784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:11:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866124544001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788539850000,"timestamp_ms":1788539850000,"timestamp_seconds":1788539850,"priority":1,"record_length":96,"hex_timestamp":"000001a06d484d10"} 
[2026-09-04 22:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 22:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866124544001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866124544001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:11:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:11:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866124544001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":173784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765727,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:11:26] local.INFO: GPS data processed {"connection_id":173784,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:11:26] local.INFO: Acknowledgment sent {"connection_id":173784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:11:42] local.INFO: TCP Data received {"connection_id":171089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d49fea8012d0d9d8006eaf5d00020007f2f..."} 
[2026-09-04 22:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d49fea8012d0d9d8006eaf5d00020007f2f..."} 
[2026-09-04 22:11:42] local.INFO: Processing buffer {"connection_id":171089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d49fea8012d0d9d8006eaf5d00020007f2f..."} 
[2026-09-04 22:11:42] local.INFO: Packet analysis {"connection_id":171089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d49"} 
[2026-09-04 22:11:42] local.INFO: Extracted packet for processing {"connection_id":171089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d49"} 
[2026-09-04 22:11:42] local.INFO: GPS Element Parsed {"raw_longitude":755867008,"raw_latitude":116061648,"longitude_deg":75.5867008,"latitude_deg":11.6061648,"altitude":32,"angle":127,"satellites":47,"speed":28,"hex_longitude":"2d0d9d80","hex_latitude":"06eaf5d0","is_valid_coordinates":true} 
[2026-09-04 22:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866229248001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398750476067143680,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":978969998711769088,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788539961000,"timestamp_ms":1788539961000,"timestamp_seconds":1788539961,"priority":1,"record_length":96,"hex_timestamp":"000001a06d49fea8"} 
[2026-09-04 22:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 22:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866229248001,"66":27321,"2":206,"80":6400,"24":28,"16":398750476067143680,"45":978969998711769088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-09-04 22:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866229248001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:11:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398750476067143680,"km_value":398750476067143.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":978969998711769088,"description":"Unknown IO ID 45"} 
[2026-09-04 22:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866229248001,"power":27321,"power_alt":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":978969998711769088}} 
[2026-09-04 22:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":171089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:11:42] local.INFO: GPS data processed {"connection_id":171089,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:11:42] local.INFO: Acknowledgment sent {"connection_id":171089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:11:47] local.INFO: TCP Data received {"connection_id":171384,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:11:47] local.INFO: Processing buffer {"connection_id":171384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:11:47] local.INFO: IMEI packet received {"connection_id":171384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":171384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:11:48] local.INFO: TCP Data received {"connection_id":171385,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:11:48] local.INFO: Processing buffer {"connection_id":171385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:11:48] local.INFO: IMEI packet received {"connection_id":171385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":171385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:11:52] local.INFO: TCP Data received {"connection_id":171384,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:11:52] local.INFO: Processing buffer {"connection_id":171384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:11:52] local.INFO: IMEI packet received {"connection_id":171384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":171384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:11:53] local.INFO: TCP Data received {"connection_id":171384,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:11:53] local.INFO: Processing buffer {"connection_id":171384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:11:53] local.INFO: Packet analysis {"connection_id":171384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:11:53] local.INFO: Extracted packet for processing {"connection_id":171384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866162688001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539999000,"timestamp_ms":1788539999000,"timestamp_seconds":1788539999,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4a9318"} 
[2026-09-04 22:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866162688001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866162688001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:11:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:11:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866162688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":171384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:11:53] local.INFO: GPS data processed {"connection_id":171384,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:11:53] local.INFO: Acknowledgment sent {"connection_id":171384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:11:53] local.INFO: TCP Data received {"connection_id":171385,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:11:53] local.INFO: Processing buffer {"connection_id":171385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:11:53] local.INFO: IMEI packet received {"connection_id":171385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":171385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:11:54] local.INFO: TCP Data received {"connection_id":171385,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:11:54] local.INFO: Processing buffer {"connection_id":171385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:11:54] local.INFO: Packet analysis {"connection_id":171385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:11:54] local.INFO: Extracted packet for processing {"connection_id":171385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866124544001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788539850000,"timestamp_ms":1788539850000,"timestamp_seconds":1788539850,"priority":1,"record_length":96,"hex_timestamp":"000001a06d484d10"} 
[2026-09-04 22:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 22:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866124544001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866124544001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:11:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:11:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866124544001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":171385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765730,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:11:55] local.INFO: GPS data processed {"connection_id":171385,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:11:55] local.INFO: Acknowledgment sent {"connection_id":171385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:12:03] local.INFO: TCP Data received {"connection_id":171386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:12:03] local.INFO: Processing buffer {"connection_id":171386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:12:03] local.INFO: IMEI packet received {"connection_id":171386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":171386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:12:06] local.INFO: TCP Data received {"connection_id":171386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:12:06] local.INFO: Processing buffer {"connection_id":171386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:12:06] local.INFO: IMEI packet received {"connection_id":171386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":171386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:12:07] local.INFO: TCP Data received {"connection_id":171386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4a21d0012d0db44006eae8300020007330..."} 
[2026-09-04 22:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4a21d0012d0db44006eae8300020007330..."} 
[2026-09-04 22:12:07] local.INFO: Processing buffer {"connection_id":171386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4a21d0012d0db44006eae8300020007330..."} 
[2026-09-04 22:12:07] local.INFO: Packet analysis {"connection_id":171386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:12:07] local.INFO: Extracted packet for processing {"connection_id":171386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:12:07] local.INFO: GPS Element Parsed {"raw_longitude":755872832,"raw_latitude":116058160,"longitude_deg":75.5872832,"latitude_deg":11.605816,"altitude":32,"angle":115,"satellites":48,"speed":30,"hex_longitude":"2d0db440","hex_latitude":"06eae830","is_valid_coordinates":true} 
[2026-09-04 22:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866230016001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398750798189690880,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981081061036773376,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788539970000,"timestamp_ms":1788539970000,"timestamp_seconds":1788539970,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4a21d0"} 
[2026-09-04 22:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 22:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866230016001,"66":27397,"2":206,"80":6400,"24":30,"16":398750798189690880,"45":981081061036773376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-09-04 22:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866230016001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:12:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398750798189690880,"km_value":398750798189690.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":981081061036773376,"description":"Unknown IO ID 45"} 
[2026-09-04 22:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866230016001,"power":27397,"power_alt":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":981081061036773376}} 
[2026-09-04 22:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":171386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:12:07] local.INFO: GPS data processed {"connection_id":171386,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:12:07] local.INFO: Acknowledgment sent {"connection_id":171386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:12:24] local.INFO: TCP Data received {"connection_id":171384,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:12:24] local.INFO: Processing buffer {"connection_id":171384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:12:24] local.INFO: Packet analysis {"connection_id":171384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:12:24] local.INFO: Extracted packet for processing {"connection_id":171384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866162688001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788539999000,"timestamp_ms":1788539999000,"timestamp_seconds":1788539999,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4a9318"} 
[2026-09-04 22:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866162688001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866162688001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:12:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866162688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":171384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:12:24] local.INFO: GPS data processed {"connection_id":171384,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:12:24] local.INFO: Acknowledgment sent {"connection_id":171384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:12:26] local.INFO: TCP Data received {"connection_id":171385,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:12:26] local.INFO: Processing buffer {"connection_id":171385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:12:26] local.INFO: Packet analysis {"connection_id":171385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:12:26] local.INFO: Extracted packet for processing {"connection_id":171385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:12:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866124544001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788539850000,"timestamp_ms":1788539850000,"timestamp_seconds":1788539850,"priority":1,"record_length":96,"hex_timestamp":"000001a06d484d10"} 
[2026-09-04 22:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 22:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866124544001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866124544001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:12:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:12:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866124544001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":171385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765733,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:12:26] local.INFO: GPS data processed {"connection_id":171385,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:12:26] local.INFO: Acknowledgment sent {"connection_id":171385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:12:38] local.INFO: TCP Data received {"connection_id":171386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4a5498012d0dd38006ead9200020006630..."} 
[2026-09-04 22:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4a5498012d0dd38006ead9200020006630..."} 
[2026-09-04 22:12:38] local.INFO: Processing buffer {"connection_id":171386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4a5498012d0dd38006ead9200020006630..."} 
[2026-09-04 22:12:38] local.INFO: Packet analysis {"connection_id":171386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:12:38] local.INFO: Extracted packet for processing {"connection_id":171386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:12:38] local.INFO: GPS Element Parsed {"raw_longitude":755880832,"raw_latitude":116054304,"longitude_deg":75.5880832,"latitude_deg":11.6054304,"altitude":32,"angle":102,"satellites":48,"speed":21,"hex_longitude":"2d0dd380","hex_latitude":"06ead920","is_valid_coordinates":true} 
[2026-09-04 22:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866232320001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398751223391453184,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":987484616756047872,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788539983000,"timestamp_ms":1788539983000,"timestamp_seconds":1788539983,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4a5498"} 
[2026-09-04 22:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 22:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866232320001,"66":27365,"34":206,"80":6400,"24":21,"16":398751223391453184,"45":987484616756047872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,80,24,16,45]} 
[2026-09-04 22:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866232320001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:12:38] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-04 22:12:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398751223391453184,"km_value":398751223391453.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":987484616756047872,"description":"Unknown IO ID 45"} 
[2026-09-04 22:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866232320001,"power":27365,"unknown_34":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":987484616756047872}} 
[2026-09-04 22:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":171386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:12:38] local.INFO: GPS data processed {"connection_id":171386,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:12:38] local.INFO: Acknowledgment sent {"connection_id":171386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:12:47] local.INFO: TCP Data received {"connection_id":173785,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:12:47] local.INFO: Processing buffer {"connection_id":173785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:12:47] local.INFO: IMEI packet received {"connection_id":173785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":173785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:12:48] local.INFO: TCP Data received {"connection_id":172499,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:12:48] local.INFO: Processing buffer {"connection_id":172499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:12:48] local.INFO: IMEI packet received {"connection_id":172499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":172499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:12:52] local.INFO: TCP Data received {"connection_id":173785,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:12:52] local.INFO: Processing buffer {"connection_id":173785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:12:52] local.INFO: IMEI packet received {"connection_id":173785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":173785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:12:53] local.INFO: TCP Data received {"connection_id":173785,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:12:53] local.INFO: Processing buffer {"connection_id":173785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:12:53] local.INFO: Packet analysis {"connection_id":173785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:12:53] local.INFO: Extracted packet for processing {"connection_id":173785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:12:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866162688001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539999000,"timestamp_ms":1788539999000,"timestamp_seconds":1788539999,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4a9318"} 
[2026-09-04 22:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866162688001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866162688001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:12:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:12:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866162688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:12:53] local.INFO: TCP Data received {"connection_id":172499,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:12:53] local.INFO: Processing buffer {"connection_id":172499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:12:53] local.INFO: IMEI packet received {"connection_id":172499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":172499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":173785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:12:53] local.INFO: GPS data processed {"connection_id":173785,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:12:53] local.INFO: Acknowledgment sent {"connection_id":173785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:12:56] local.INFO: TCP Data received {"connection_id":171090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:12:56] local.INFO: Processing buffer {"connection_id":171090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:12:56] local.INFO: IMEI packet received {"connection_id":171090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":171090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:12:58] local.INFO: TCP Data received {"connection_id":172499,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:12:58] local.INFO: Processing buffer {"connection_id":172499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d484d10012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:12:58] local.INFO: Packet analysis {"connection_id":172499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:12:58] local.INFO: Extracted packet for processing {"connection_id":172499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d48"} 
[2026-09-04 22:12:58] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866124544001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788539850000,"timestamp_ms":1788539850000,"timestamp_seconds":1788539850,"priority":1,"record_length":96,"hex_timestamp":"000001a06d484d10"} 
[2026-09-04 22:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-04 22:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866124544001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866124544001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:12:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:12:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866124544001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":172499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:12:58] local.INFO: GPS data processed {"connection_id":172499,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:12:58] local.INFO: Acknowledgment sent {"connection_id":172499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:12:58] local.INFO: TCP Data received {"connection_id":171090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:12:58] local.INFO: Processing buffer {"connection_id":171090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:12:58] local.INFO: IMEI packet received {"connection_id":171090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":171090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:13:03] local.INFO: TCP Data received {"connection_id":171090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:13:03] local.INFO: Processing buffer {"connection_id":171090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:13:03] local.INFO: IMEI packet received {"connection_id":171090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":171090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:13:04] local.INFO: TCP Data received {"connection_id":171090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4c2958012d0e978006ea0990001400912f..."} 
[2026-09-04 22:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4c2958012d0e978006ea0990001400912f..."} 
[2026-09-04 22:13:04] local.INFO: Processing buffer {"connection_id":171090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4c2958012d0e978006ea0990001400912f..."} 
[2026-09-04 22:13:04] local.INFO: Packet analysis {"connection_id":171090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:13:04] local.INFO: Extracted packet for processing {"connection_id":171090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:13:04] local.INFO: GPS Element Parsed {"raw_longitude":755931008,"raw_latitude":116001168,"longitude_deg":75.5931008,"latitude_deg":11.6001168,"altitude":20,"angle":145,"satellites":47,"speed":27,"hex_longitude":"2d0e9780","hex_latitude":"06ea0990","is_valid_coordinates":true} 
[2026-09-04 22:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866262528001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398754831163981824,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1045749936922585088,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788540103000,"timestamp_ms":1788540103000,"timestamp_seconds":1788540103,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4c2958"} 
[2026-09-04 22:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 22:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866262528001,"66":27365,"1":206,"80":6400,"24":27,"16":398754831163981824,"45":1045749936922585088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-09-04 22:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866262528001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:13:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398754831163981824,"km_value":398754831163981.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1045749936922585088,"description":"Unknown IO ID 45"} 
[2026-09-04 22:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866262528001,"power":27365,"imei":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":1045749936922585088}} 
[2026-09-04 22:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":171090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:13:04] local.INFO: GPS data processed {"connection_id":171090,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:13:04] local.INFO: Acknowledgment sent {"connection_id":171090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:13:24] local.INFO: TCP Data received {"connection_id":173785,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:13:24] local.INFO: Processing buffer {"connection_id":173785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:13:24] local.INFO: Packet analysis {"connection_id":173785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:13:24] local.INFO: Extracted packet for processing {"connection_id":173785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:13:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866162688001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788539999000,"timestamp_ms":1788539999000,"timestamp_seconds":1788539999,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4a9318"} 
[2026-09-04 22:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866162688001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866162688001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:13:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:13:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866162688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":173785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:13:24] local.INFO: GPS data processed {"connection_id":173785,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:13:24] local.INFO: Acknowledgment sent {"connection_id":173785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:13:29] local.INFO: TCP Data received {"connection_id":172499,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:13:29] local.INFO: Processing buffer {"connection_id":172499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:13:29] local.INFO: Packet analysis {"connection_id":172499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:13:29] local.INFO: Extracted packet for processing {"connection_id":172499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:13:29] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866201600001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788540151000,"timestamp_ms":1788540151000,"timestamp_seconds":1788540151,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4ce4d8"} 
[2026-09-04 22:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866201600001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866201600001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:13:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:13:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866201600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":172499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:13:29] local.INFO: GPS data processed {"connection_id":172499,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:13:29] local.INFO: Acknowledgment sent {"connection_id":172499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:13:35] local.INFO: TCP Data received {"connection_id":171090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4c6bc0012d0eab4006e9ec08001300902f..."} 
[2026-09-04 22:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4c6bc0012d0eab4006e9ec08001300902f..."} 
[2026-09-04 22:13:35] local.INFO: Processing buffer {"connection_id":171090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4c6bc0012d0eab4006e9ec08001300902f..."} 
[2026-09-04 22:13:35] local.INFO: Packet analysis {"connection_id":171090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:13:35] local.INFO: Extracted packet for processing {"connection_id":171090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:13:35] local.INFO: GPS Element Parsed {"raw_longitude":755936064,"raw_latitude":115993608,"longitude_deg":75.5936064,"latitude_deg":11.5993608,"altitude":19,"angle":144,"satellites":47,"speed":18,"hex_longitude":"2d0eab40","hex_latitude":"06e9ec08","is_valid_coordinates":true} 
[2026-09-04 22:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866266368001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398755273545613312,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1051449805198954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788540120000,"timestamp_ms":1788540120000,"timestamp_seconds":1788540120,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4c6bc0"} 
[2026-09-04 22:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 22:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866266368001,"66":27300,"1":206,"80":6400,"24":18,"16":398755273545613312,"45":1051449805198954496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-09-04 22:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866266368001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:13:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398755273545613312,"km_value":398755273545613.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1051449805198954496,"description":"Unknown IO ID 45"} 
[2026-09-04 22:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866266368001,"power":27300,"imei":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":1051449805198954496}} 
[2026-09-04 22:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":171090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:13:35] local.INFO: GPS data processed {"connection_id":171090,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:13:35] local.INFO: Acknowledgment sent {"connection_id":171090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:13:47] local.INFO: TCP Data received {"connection_id":172500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:13:47] local.INFO: Processing buffer {"connection_id":172500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:13:47] local.INFO: IMEI packet received {"connection_id":172500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":172500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:13:48] local.INFO: TCP Data received {"connection_id":173786,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:13:48] local.INFO: Processing buffer {"connection_id":173786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:13:48] local.INFO: IMEI packet received {"connection_id":173786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":173786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:13:52] local.INFO: TCP Data received {"connection_id":172500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:13:52] local.INFO: Processing buffer {"connection_id":172500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:13:52] local.INFO: IMEI packet received {"connection_id":172500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":172500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:13:53] local.INFO: TCP Data received {"connection_id":172500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:13:53] local.INFO: Processing buffer {"connection_id":172500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:13:53] local.INFO: Packet analysis {"connection_id":172500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:13:53] local.INFO: Extracted packet for processing {"connection_id":172500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:13:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866162688001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539999000,"timestamp_ms":1788539999000,"timestamp_seconds":1788539999,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4a9318"} 
[2026-09-04 22:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866162688001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866162688001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:13:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:13:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866162688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:13:53] local.INFO: TCP Data received {"connection_id":173786,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:13:53] local.INFO: Processing buffer {"connection_id":173786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:13:53] local.INFO: IMEI packet received {"connection_id":173786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":173786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":172500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:13:53] local.INFO: GPS data processed {"connection_id":172500,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:13:53] local.INFO: Acknowledgment sent {"connection_id":172500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:13:55] local.INFO: TCP Data received {"connection_id":173786,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:13:55] local.INFO: Processing buffer {"connection_id":173786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:13:55] local.INFO: Packet analysis {"connection_id":173786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:13:55] local.INFO: Extracted packet for processing {"connection_id":173786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866201600001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788540151000,"timestamp_ms":1788540151000,"timestamp_seconds":1788540151,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4ce4d8"} 
[2026-09-04 22:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866201600001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866201600001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:13:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:13:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866201600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":173786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:13:55] local.INFO: GPS data processed {"connection_id":173786,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:13:55] local.INFO: Acknowledgment sent {"connection_id":173786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:13:58] local.INFO: TCP Data received {"connection_id":171387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:13:58] local.INFO: Processing buffer {"connection_id":171387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:13:58] local.INFO: IMEI packet received {"connection_id":171387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":171387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:14:01] local.INFO: TCP Data received {"connection_id":171387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:14:01] local.INFO: Processing buffer {"connection_id":171387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:14:01] local.INFO: IMEI packet received {"connection_id":171387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":171387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:14:02] local.INFO: TCP Data received {"connection_id":171387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4cb210012d0ec0c006e9ce28001300922c..."} 
[2026-09-04 22:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4cb210012d0ec0c006e9ce28001300922c..."} 
[2026-09-04 22:14:02] local.INFO: Processing buffer {"connection_id":171387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4cb210012d0ec0c006e9ce28001300922c..."} 
[2026-09-04 22:14:02] local.INFO: Packet analysis {"connection_id":171387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:14:02] local.INFO: Extracted packet for processing {"connection_id":171387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:14:02] local.INFO: GPS Element Parsed {"raw_longitude":755941568,"raw_latitude":115985960,"longitude_deg":75.5941568,"latitude_deg":11.598596,"altitude":19,"angle":146,"satellites":44,"speed":23,"hex_longitude":"2d0ec0c0","hex_latitude":"06e9ce28","is_valid_coordinates":true} 
[2026-09-04 22:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866270720001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398755724517179392,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1057008935987054592,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788540138000,"timestamp_ms":1788540138000,"timestamp_seconds":1788540138,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4cb210"} 
[2026-09-04 22:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 22:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866270720001,"66":27223,"1":206,"80":6400,"24":23,"16":398755724517179392,"45":1057008935987054592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-09-04 22:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866270720001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:14:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398755724517179392,"km_value":398755724517179.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1057008935987054592,"description":"Unknown IO ID 45"} 
[2026-09-04 22:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866270720001,"power":27223,"imei":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":1057008935987054592}} 
[2026-09-04 22:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":171387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:14:02] local.INFO: GPS data processed {"connection_id":171387,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:14:02] local.INFO: Acknowledgment sent {"connection_id":171387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:14:24] local.INFO: TCP Data received {"connection_id":172500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:14:24] local.INFO: Processing buffer {"connection_id":172500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:14:24] local.INFO: Packet analysis {"connection_id":172500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:14:24] local.INFO: Extracted packet for processing {"connection_id":172500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866162688001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788539999000,"timestamp_ms":1788539999000,"timestamp_seconds":1788539999,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4a9318"} 
[2026-09-04 22:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866162688001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866162688001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:14:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:14:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866162688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":172500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:14:24] local.INFO: GPS data processed {"connection_id":172500,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:14:24] local.INFO: Acknowledgment sent {"connection_id":172500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:14:27] local.INFO: TCP Data received {"connection_id":173786,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:14:27] local.INFO: Processing buffer {"connection_id":173786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:14:27] local.INFO: Packet analysis {"connection_id":173786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:14:27] local.INFO: Extracted packet for processing {"connection_id":173786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:14:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866201600001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788540151000,"timestamp_ms":1788540151000,"timestamp_seconds":1788540151,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4ce4d8"} 
[2026-09-04 22:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866201600001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866201600001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:14:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866201600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":173786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765745,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:14:27] local.INFO: GPS data processed {"connection_id":173786,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:14:27] local.INFO: Acknowledgment sent {"connection_id":173786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:14:33] local.INFO: TCP Data received {"connection_id":171387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4cf090012d0ed3c006e9af48001600992c..."} 
[2026-09-04 22:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4cf090012d0ed3c006e9af48001600992c..."} 
[2026-09-04 22:14:33] local.INFO: Processing buffer {"connection_id":171387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4cf090012d0ed3c006e9af48001600992c..."} 
[2026-09-04 22:14:33] local.INFO: Packet analysis {"connection_id":171387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:14:33] local.INFO: Extracted packet for processing {"connection_id":171387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:14:33] local.INFO: GPS Element Parsed {"raw_longitude":755946432,"raw_latitude":115978056,"longitude_deg":75.5946432,"latitude_deg":11.5978056,"altitude":22,"angle":153,"satellites":44,"speed":24,"hex_longitude":"2d0ed3c0","hex_latitude":"06e9af48","is_valid_coordinates":true} 
[2026-09-04 22:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866275328001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398756175488745472,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1063060647984375808,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788540154000,"timestamp_ms":1788540154000,"timestamp_seconds":1788540154,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4cf090"} 
[2026-09-04 22:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-04 22:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866275328001,"66":27267,"102":206,"80":6400,"24":24,"16":398756175488745472,"45":1063060647984375808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,80,24,16,45]} 
[2026-09-04 22:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866275328001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:14:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:14:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398756175488745472,"km_value":398756175488745.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1063060647984375808,"description":"Unknown IO ID 45"} 
[2026-09-04 22:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866275328001,"power":27267,"unknown_102":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":1063060647984375808}} 
[2026-09-04 22:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":171387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:14:33] local.INFO: GPS data processed {"connection_id":171387,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:14:33] local.INFO: Acknowledgment sent {"connection_id":171387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:14:47] local.INFO: TCP Data received {"connection_id":172501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:14:47] local.INFO: Processing buffer {"connection_id":172501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:14:47] local.INFO: IMEI packet received {"connection_id":172501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":172501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:14:48] local.INFO: TCP Data received {"connection_id":171091,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:14:48] local.INFO: Processing buffer {"connection_id":171091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:14:48] local.INFO: IMEI packet received {"connection_id":171091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":171091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:14:52] local.INFO: TCP Data received {"connection_id":172501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:14:52] local.INFO: Processing buffer {"connection_id":172501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:14:52] local.INFO: IMEI packet received {"connection_id":172501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":172501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:14:53] local.INFO: TCP Data received {"connection_id":172501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:14:53] local.INFO: Processing buffer {"connection_id":172501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:14:53] local.INFO: Packet analysis {"connection_id":172501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:14:53] local.INFO: Extracted packet for processing {"connection_id":172501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:14:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866162688001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788539999000,"timestamp_ms":1788539999000,"timestamp_seconds":1788539999,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4a9318"} 
[2026-09-04 22:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866162688001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866162688001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:14:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:14:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866162688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":172501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:14:53] local.INFO: GPS data processed {"connection_id":172501,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:14:53] local.INFO: Acknowledgment sent {"connection_id":172501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:14:53] local.INFO: TCP Data received {"connection_id":171091,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:14:53] local.INFO: Processing buffer {"connection_id":171091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:14:53] local.INFO: IMEI packet received {"connection_id":171091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":171091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:14:54] local.INFO: TCP Data received {"connection_id":171091,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:14:54] local.INFO: Processing buffer {"connection_id":171091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:14:54] local.INFO: Packet analysis {"connection_id":171091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:14:54] local.INFO: Extracted packet for processing {"connection_id":171091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:14:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866201600001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788540151000,"timestamp_ms":1788540151000,"timestamp_seconds":1788540151,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4ce4d8"} 
[2026-09-04 22:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866201600001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866201600001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:14:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:14:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866201600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":171091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:14:55] local.INFO: GPS data processed {"connection_id":171091,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:14:55] local.INFO: Acknowledgment sent {"connection_id":171091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:14:58] local.INFO: TCP Data received {"connection_id":173787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:14:58] local.INFO: Processing buffer {"connection_id":173787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:14:58] local.INFO: IMEI packet received {"connection_id":173787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":173787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:15:02] local.INFO: TCP Data received {"connection_id":173787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:15:02] local.INFO: Processing buffer {"connection_id":173787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:15:02] local.INFO: IMEI packet received {"connection_id":173787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":173787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:15:03] local.INFO: TCP Data received {"connection_id":173787,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4d13b8012d0ede8006e996f0001600a42a..."} 
[2026-09-04 22:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4d13b8012d0ede8006e996f0001600a42a..."} 
[2026-09-04 22:15:03] local.INFO: Processing buffer {"connection_id":173787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4d13b8012d0ede8006e996f0001600a42a..."} 
[2026-09-04 22:15:03] local.INFO: Packet analysis {"connection_id":173787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4d"} 
[2026-09-04 22:15:03] local.INFO: Extracted packet for processing {"connection_id":173787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4d"} 
[2026-09-04 22:15:03] local.INFO: GPS Element Parsed {"raw_longitude":755949184,"raw_latitude":115971824,"longitude_deg":75.5949184,"latitude_deg":11.5971824,"altitude":22,"angle":164,"satellites":42,"speed":31,"hex_longitude":"2d0ede80","hex_latitude":"06e996f0","is_valid_coordinates":true} 
[2026-09-04 22:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866279424001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398756506201227264,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1068408672539854848,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788540163000,"timestamp_ms":1788540163000,"timestamp_seconds":1788540163,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4d13b8"} 
[2026-09-04 22:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 22:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866279424001,"66":27213,"102":206,"80":6400,"24":31,"16":398756506201227264,"45":1068408672539854848},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,80,24,16,45]} 
[2026-09-04 22:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866279424001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:15:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:15:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398756506201227264,"km_value":398756506201227.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1068408672539854848,"description":"Unknown IO ID 45"} 
[2026-09-04 22:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866279424001,"power":27213,"unknown_102":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":1068408672539854848}} 
[2026-09-04 22:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":173787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:15:03] local.INFO: GPS data processed {"connection_id":173787,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:15:03] local.INFO: Acknowledgment sent {"connection_id":173787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:15:23] local.INFO: TCP Data received {"connection_id":172501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:15:23] local.INFO: Processing buffer {"connection_id":172501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4a9318012d1965c0071fef800047011523..."} 
[2026-09-04 22:15:23] local.INFO: Packet analysis {"connection_id":172501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:15:23] local.INFO: Extracted packet for processing {"connection_id":172501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4a"} 
[2026-09-04 22:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866162688001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788539999000,"timestamp_ms":1788539999000,"timestamp_seconds":1788539999,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4a9318"} 
[2026-09-04 22:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866162688001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866162688001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:15:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866162688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":172501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:15:24] local.INFO: GPS data processed {"connection_id":172501,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:15:24] local.INFO: Acknowledgment sent {"connection_id":172501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:15:26] local.INFO: TCP Data received {"connection_id":171091,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:15:26] local.INFO: Processing buffer {"connection_id":171091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:15:26] local.INFO: Packet analysis {"connection_id":171091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:15:26] local.INFO: Extracted packet for processing {"connection_id":171091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:15:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866201600001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788540151000,"timestamp_ms":1788540151000,"timestamp_seconds":1788540151,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4ce4d8"} 
[2026-09-04 22:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866201600001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866201600001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:15:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:15:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866201600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":171091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765751,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:15:26] local.INFO: GPS data processed {"connection_id":171091,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:15:26] local.INFO: Acknowledgment sent {"connection_id":171091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:15:34] local.INFO: TCP Data received {"connection_id":173787,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4ef818012d0ebb0006e90490000a00c72e..."} 
[2026-09-04 22:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4ef818012d0ebb0006e90490000a00c72e..."} 
[2026-09-04 22:15:34] local.INFO: Processing buffer {"connection_id":173787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4ef818012d0ebb0006e90490000a00c72e..."} 
[2026-09-04 22:15:34] local.INFO: Packet analysis {"connection_id":173787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4e"} 
[2026-09-04 22:15:34] local.INFO: Extracted packet for processing {"connection_id":173787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4e"} 
[2026-09-04 22:15:34] local.INFO: GPS Element Parsed {"raw_longitude":755940096,"raw_latitude":115934352,"longitude_deg":75.5940096,"latitude_deg":11.5934352,"altitude":10,"angle":199,"satellites":46,"speed":16,"hex_longitude":"2d0ebb00","hex_latitude":"06e90490","is_valid_coordinates":true} 
[2026-09-04 22:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866311936001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398758477591216128,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1062779172995117056,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788540287000,"timestamp_ms":1788540287000,"timestamp_seconds":1788540287,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4ef818"} 
[2026-09-04 22:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 22:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866311936001,"66":27376,"176":206,"80":6400,"24":16,"16":398758477591216128,"45":1062779172995117056},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-04 22:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866311936001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:15:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-04 22:15:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398758477591216128,"km_value":398758477591216.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1062779172995117056,"description":"Unknown IO ID 45"} 
[2026-09-04 22:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866311936001,"power":27376,"unknown_176":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":1062779172995117056}} 
[2026-09-04 22:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":173787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:15:34] local.INFO: GPS data processed {"connection_id":173787,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:15:34] local.INFO: Acknowledgment sent {"connection_id":173787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:15:47] local.INFO: TCP Data received {"connection_id":171092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:15:47] local.INFO: Processing buffer {"connection_id":171092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:15:47] local.INFO: IMEI packet received {"connection_id":171092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":171092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:15:48] local.INFO: TCP Data received {"connection_id":172502,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:15:48] local.INFO: Processing buffer {"connection_id":172502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:15:48] local.INFO: IMEI packet received {"connection_id":172502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":172502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:15:52] local.INFO: TCP Data received {"connection_id":171092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:15:52] local.INFO: Processing buffer {"connection_id":171092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:15:52] local.INFO: IMEI packet received {"connection_id":171092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":171092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:15:53] local.INFO: TCP Data received {"connection_id":171092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:15:53] local.INFO: Processing buffer {"connection_id":171092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:15:53] local.INFO: Packet analysis {"connection_id":171092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:15:53] local.INFO: Extracted packet for processing {"connection_id":171092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:15:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866239744001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788540300000,"timestamp_ms":1788540300000,"timestamp_seconds":1788540300,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4f2ae0"} 
[2026-09-04 22:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866239744001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866239744001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:15:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:15:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866239744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":171092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:15:53] local.INFO: GPS data processed {"connection_id":171092,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:15:53] local.INFO: Acknowledgment sent {"connection_id":171092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:15:53] local.INFO: TCP Data received {"connection_id":172502,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:15:53] local.INFO: Processing buffer {"connection_id":172502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:15:53] local.INFO: IMEI packet received {"connection_id":172502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":172502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:15:54] local.INFO: TCP Data received {"connection_id":172502,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:15:54] local.INFO: Processing buffer {"connection_id":172502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:15:54] local.INFO: Packet analysis {"connection_id":172502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:15:54] local.INFO: Extracted packet for processing {"connection_id":172502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866201600001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788540151000,"timestamp_ms":1788540151000,"timestamp_seconds":1788540151,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4ce4d8"} 
[2026-09-04 22:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866201600001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866201600001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:15:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:15:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866201600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":172502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:15:55] local.INFO: GPS data processed {"connection_id":172502,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:15:55] local.INFO: Acknowledgment sent {"connection_id":172502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:15:58] local.INFO: TCP Data received {"connection_id":173788,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:15:58] local.INFO: Processing buffer {"connection_id":173788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:15:58] local.INFO: IMEI packet received {"connection_id":173788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":173788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:16:03] local.INFO: TCP Data received {"connection_id":173788,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:16:03] local.INFO: Processing buffer {"connection_id":173788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:16:03] local.INFO: IMEI packet received {"connection_id":173788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":173788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:16:04] local.INFO: TCP Data received {"connection_id":173788,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4f03d0012d0eba0006e8ffa8000a00b72e..."} 
[2026-09-04 22:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4f03d0012d0eba0006e8ffa8000a00b72e..."} 
[2026-09-04 22:16:04] local.INFO: Processing buffer {"connection_id":173788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4f03d0012d0eba0006e8ffa8000a00b72e..."} 
[2026-09-04 22:16:04] local.INFO: Packet analysis {"connection_id":173788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:16:04] local.INFO: Extracted packet for processing {"connection_id":173788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:16:04] local.INFO: GPS Element Parsed {"raw_longitude":755939840,"raw_latitude":115933096,"longitude_deg":75.593984,"latitude_deg":11.5933096,"altitude":10,"angle":183,"satellites":46,"speed":17,"hex_longitude":"2d0eba00","hex_latitude":"06e8ffa8","is_valid_coordinates":true} 
[2026-09-04 22:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866313472001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398758537720758272,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1061442166855077888,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788540290000,"timestamp_ms":1788540290000,"timestamp_seconds":1788540290,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4f03d0"} 
[2026-09-04 22:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 22:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866313472001,"66":27321,"176":206,"80":6400,"24":17,"16":398758537720758272,"45":1061442166855077888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-04 22:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866313472001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:16:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-04 22:16:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398758537720758272,"km_value":398758537720758.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1061442166855077888,"description":"Unknown IO ID 45"} 
[2026-09-04 22:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866313472001,"power":27321,"unknown_176":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":1061442166855077888}} 
[2026-09-04 22:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":173788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:16:04] local.INFO: GPS data processed {"connection_id":173788,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:16:04] local.INFO: Acknowledgment sent {"connection_id":173788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:16:24] local.INFO: TCP Data received {"connection_id":171092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:16:24] local.INFO: Processing buffer {"connection_id":171092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:16:24] local.INFO: Packet analysis {"connection_id":171092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:16:24] local.INFO: Extracted packet for processing {"connection_id":171092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:16:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866239744001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788540300000,"timestamp_ms":1788540300000,"timestamp_seconds":1788540300,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4f2ae0"} 
[2026-09-04 22:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866239744001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866239744001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:16:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:16:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866239744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":171092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:16:24] local.INFO: GPS data processed {"connection_id":171092,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:16:24] local.INFO: Acknowledgment sent {"connection_id":171092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:16:26] local.INFO: TCP Data received {"connection_id":172502,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:16:26] local.INFO: Processing buffer {"connection_id":172502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:16:26] local.INFO: Packet analysis {"connection_id":172502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:16:26] local.INFO: Extracted packet for processing {"connection_id":172502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:16:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866201600001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788540151000,"timestamp_ms":1788540151000,"timestamp_seconds":1788540151,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4ce4d8"} 
[2026-09-04 22:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866201600001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866201600001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:16:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:16:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866201600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":172502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765757,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:16:26] local.INFO: GPS data processed {"connection_id":172502,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:16:26] local.INFO: Acknowledgment sent {"connection_id":172502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:16:36] local.INFO: TCP Data received {"connection_id":173788,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4f0ba0012d0eba0006e8fc38000900ab2e..."} 
[2026-09-04 22:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4f0ba0012d0eba0006e8fc38000900ab2e..."} 
[2026-09-04 22:16:36] local.INFO: Processing buffer {"connection_id":173788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4f0ba0012d0eba0006e8fc38000900ab2e..."} 
[2026-09-04 22:16:36] local.INFO: Packet analysis {"connection_id":173788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:16:36] local.INFO: Extracted packet for processing {"connection_id":173788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:16:36] local.INFO: GPS Element Parsed {"raw_longitude":755939840,"raw_latitude":115932216,"longitude_deg":75.593984,"latitude_deg":11.5932216,"altitude":9,"angle":171,"satellites":46,"speed":17,"hex_longitude":"2d0eba00","hex_latitude":"06e8fc38","is_valid_coordinates":true} 
[2026-09-04 22:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866314240001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398758580670431232,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1061160691878045696,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788540292000,"timestamp_ms":1788540292000,"timestamp_seconds":1788540292,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4f0ba0"} 
[2026-09-04 22:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 22:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866314240001,"66":27332,"176":206,"80":6400,"24":17,"16":398758580670431232,"45":1061160691878045696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-04 22:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866314240001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:16:36] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-04 22:16:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398758580670431232,"km_value":398758580670431.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1061160691878045696,"description":"Unknown IO ID 45"} 
[2026-09-04 22:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866314240001,"power":27332,"unknown_176":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":1061160691878045696}} 
[2026-09-04 22:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":173788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:16:36] local.INFO: GPS data processed {"connection_id":173788,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:16:36] local.INFO: Acknowledgment sent {"connection_id":173788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:16:47] local.INFO: TCP Data received {"connection_id":173789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:16:47] local.INFO: Processing buffer {"connection_id":173789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:16:47] local.INFO: IMEI packet received {"connection_id":173789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":173789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:16:48] local.INFO: TCP Data received {"connection_id":172503,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:16:48] local.INFO: Processing buffer {"connection_id":172503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:16:48] local.INFO: IMEI packet received {"connection_id":172503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":172503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:16:52] local.INFO: TCP Data received {"connection_id":173789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:16:52] local.INFO: Processing buffer {"connection_id":173789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:16:52] local.INFO: IMEI packet received {"connection_id":173789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":173789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:16:53] local.INFO: TCP Data received {"connection_id":173789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:16:53] local.INFO: Processing buffer {"connection_id":173789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:16:53] local.INFO: Packet analysis {"connection_id":173789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:16:53] local.INFO: Extracted packet for processing {"connection_id":173789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866239744001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788540300000,"timestamp_ms":1788540300000,"timestamp_seconds":1788540300,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4f2ae0"} 
[2026-09-04 22:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866239744001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866239744001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:16:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:16:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866239744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":173789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:16:53] local.INFO: GPS data processed {"connection_id":173789,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:16:53] local.INFO: Acknowledgment sent {"connection_id":173789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:16:53] local.INFO: TCP Data received {"connection_id":172503,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:16:53] local.INFO: Processing buffer {"connection_id":172503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:16:53] local.INFO: IMEI packet received {"connection_id":172503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":172503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:16:54] local.INFO: TCP Data received {"connection_id":172503,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:16:54] local.INFO: Processing buffer {"connection_id":172503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:16:54] local.INFO: Packet analysis {"connection_id":172503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:16:54] local.INFO: Extracted packet for processing {"connection_id":172503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:16:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866201600001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788540151000,"timestamp_ms":1788540151000,"timestamp_seconds":1788540151,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4ce4d8"} 
[2026-09-04 22:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866201600001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866201600001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:16:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:16:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866201600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":172503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:16:55] local.INFO: GPS data processed {"connection_id":172503,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:16:55] local.INFO: Acknowledgment sent {"connection_id":172503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:17:00] local.INFO: TCP Data received {"connection_id":171093,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:17:00] local.INFO: Processing buffer {"connection_id":171093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:17:00] local.INFO: IMEI packet received {"connection_id":171093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":171093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:17:03] local.INFO: TCP Data received {"connection_id":171093,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:17:03] local.INFO: Processing buffer {"connection_id":171093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:17:03] local.INFO: IMEI packet received {"connection_id":171093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":171093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:17:08] local.INFO: TCP Data received {"connection_id":171093,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:17:08] local.INFO: Processing buffer {"connection_id":171093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:17:08] local.INFO: IMEI packet received {"connection_id":171093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":171093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:17:09] local.INFO: TCP Data received {"connection_id":171093,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4f2310012d0ebc8006e8f1a8000900bb2d..."} 
[2026-09-04 22:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4f2310012d0ebc8006e8f1a8000900bb2d..."} 
[2026-09-04 22:17:09] local.INFO: Processing buffer {"connection_id":171093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4f2310012d0ebc8006e8f1a8000900bb2d..."} 
[2026-09-04 22:17:09] local.INFO: Packet analysis {"connection_id":171093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:17:09] local.INFO: Extracted packet for processing {"connection_id":171093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:17:09] local.INFO: GPS Element Parsed {"raw_longitude":755940480,"raw_latitude":115929512,"longitude_deg":75.594048,"latitude_deg":11.5929512,"altitude":9,"angle":187,"satellites":45,"speed":17,"hex_longitude":"2d0ebc80","hex_latitude":"06e8f1a8","is_valid_coordinates":true} 
[2026-09-04 22:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866314752001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398758718109384704,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1061160691877820416,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788540298000,"timestamp_ms":1788540298000,"timestamp_seconds":1788540298,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4f2310"} 
[2026-09-04 22:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 22:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866314752001,"66":27245,"176":206,"80":6400,"24":17,"16":398758718109384704,"45":1061160691877820416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-04 22:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866314752001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:17:09] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-04 22:17:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398758718109384704,"km_value":398758718109384.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1061160691877820416,"description":"Unknown IO ID 45"} 
[2026-09-04 22:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866314752001,"power":27245,"unknown_176":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":1061160691877820416}} 
[2026-09-04 22:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":171093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:17:09] local.INFO: GPS data processed {"connection_id":171093,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:17:09] local.INFO: Acknowledgment sent {"connection_id":171093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:17:13] local.INFO: TCP Data received {"connection_id":171093,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4f2ae0012d0ebb8006e8ee40000900c92d..."} 
[2026-09-04 22:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4f2ae0012d0ebb8006e8ee40000900c92d..."} 
[2026-09-04 22:17:13] local.INFO: Processing buffer {"connection_id":171093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4f2ae0012d0ebb8006e8ee40000900c92d..."} 
[2026-09-04 22:17:13] local.INFO: Packet analysis {"connection_id":171093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:17:13] local.INFO: Extracted packet for processing {"connection_id":171093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:17:13] local.INFO: GPS Element Parsed {"raw_longitude":755940224,"raw_latitude":115928640,"longitude_deg":75.5940224,"latitude_deg":11.592864,"altitude":9,"angle":201,"satellites":45,"speed":17,"hex_longitude":"2d0ebb80","hex_latitude":"06e8ee40","is_valid_coordinates":true} 
[2026-09-04 22:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866316288001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398758761059057664,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1061864379318904832,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788540300000,"timestamp_ms":1788540300000,"timestamp_seconds":1788540300,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4f2ae0"} 
[2026-09-04 22:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 22:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866316288001,"66":27321,"176":206,"80":6400,"24":17,"16":398758761059057664,"45":1061864379318904832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-04 22:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866316288001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:17:13] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-04 22:17:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398758761059057664,"km_value":398758761059057.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1061864379318904832,"description":"Unknown IO ID 45"} 
[2026-09-04 22:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866316288001,"power":27321,"unknown_176":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":1061864379318904832}} 
[2026-09-04 22:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":171093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:17:13] local.INFO: GPS data processed {"connection_id":171093,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:17:13] local.INFO: Acknowledgment sent {"connection_id":171093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:17:24] local.INFO: TCP Data received {"connection_id":173789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:17:24] local.INFO: Processing buffer {"connection_id":173789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:17:24] local.INFO: Packet analysis {"connection_id":173789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:17:24] local.INFO: Extracted packet for processing {"connection_id":173789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866239744001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788540300000,"timestamp_ms":1788540300000,"timestamp_seconds":1788540300,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4f2ae0"} 
[2026-09-04 22:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866239744001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866239744001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:17:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866239744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":173789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:17:24] local.INFO: GPS data processed {"connection_id":173789,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:17:24] local.INFO: Acknowledgment sent {"connection_id":173789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:17:26] local.INFO: TCP Data received {"connection_id":172503,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:17:26] local.INFO: Processing buffer {"connection_id":172503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:17:26] local.INFO: Packet analysis {"connection_id":172503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:17:26] local.INFO: Extracted packet for processing {"connection_id":172503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:17:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866201600001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788540151000,"timestamp_ms":1788540151000,"timestamp_seconds":1788540151,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4ce4d8"} 
[2026-09-04 22:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866201600001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866201600001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:17:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:17:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866201600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":172503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765764,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:17:26] local.INFO: GPS data processed {"connection_id":172503,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:17:26] local.INFO: Acknowledgment sent {"connection_id":172503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:17:47] local.INFO: TCP Data received {"connection_id":173790,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:17:47] local.INFO: Processing buffer {"connection_id":173790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:17:47] local.INFO: IMEI packet received {"connection_id":173790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":173790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:17:52] local.INFO: TCP Data received {"connection_id":173790,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:17:52] local.INFO: Processing buffer {"connection_id":173790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:17:52] local.INFO: IMEI packet received {"connection_id":173790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":173790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:17:53] local.INFO: TCP Data received {"connection_id":173790,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:17:53] local.INFO: Processing buffer {"connection_id":173790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:17:53] local.INFO: Packet analysis {"connection_id":173790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:17:53] local.INFO: Extracted packet for processing {"connection_id":173790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:17:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866239744001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788540300000,"timestamp_ms":1788540300000,"timestamp_seconds":1788540300,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4f2ae0"} 
[2026-09-04 22:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866239744001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866239744001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:17:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:17:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866239744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":173790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:17:53] local.INFO: GPS data processed {"connection_id":173790,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:17:53] local.INFO: Acknowledgment sent {"connection_id":173790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:17:53] local.INFO: TCP Data received {"connection_id":173791,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:17:53] local.INFO: Processing buffer {"connection_id":173791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:17:53] local.INFO: IMEI packet received {"connection_id":173791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":173791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:17:58] local.INFO: TCP Data received {"connection_id":171388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:17:58] local.INFO: Processing buffer {"connection_id":171388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:17:58] local.INFO: IMEI packet received {"connection_id":171388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":171388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:17:58] local.INFO: TCP Data received {"connection_id":173791,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:17:58] local.INFO: Processing buffer {"connection_id":173791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:17:58] local.INFO: IMEI packet received {"connection_id":173791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":173791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:17:59] local.INFO: TCP Data received {"connection_id":173791,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:17:59] local.INFO: Processing buffer {"connection_id":173791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:17:59] local.INFO: Packet analysis {"connection_id":173791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:17:59] local.INFO: Extracted packet for processing {"connection_id":173791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866201600001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788540151000,"timestamp_ms":1788540151000,"timestamp_seconds":1788540151,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4ce4d8"} 
[2026-09-04 22:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866201600001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866201600001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:17:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:17:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866201600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":173791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765766,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:18:00] local.INFO: GPS data processed {"connection_id":173791,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:18:00] local.INFO: Acknowledgment sent {"connection_id":173791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:18:00] local.INFO: TCP Data received {"connection_id":171388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:18:00] local.INFO: Processing buffer {"connection_id":171388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:18:00] local.INFO: IMEI packet received {"connection_id":171388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":171388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:18:01] local.INFO: TCP Data received {"connection_id":171388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d50b180012d0e7e8006e81fb8000600b52f..."} 
[2026-09-04 22:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d50b180012d0e7e8006e81fb8000600b52f..."} 
[2026-09-04 22:18:01] local.INFO: Processing buffer {"connection_id":171388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d50b180012d0e7e8006e81fb8000600b52f..."} 
[2026-09-04 22:18:01] local.INFO: Packet analysis {"connection_id":171388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d50"} 
[2026-09-04 22:18:01] local.INFO: Extracted packet for processing {"connection_id":171388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d50"} 
[2026-09-04 22:18:01] local.INFO: GPS Element Parsed {"raw_longitude":755924608,"raw_latitude":115875768,"longitude_deg":75.5924608,"latitude_deg":11.5875768,"altitude":6,"angle":181,"satellites":47,"speed":25,"hex_longitude":"2d0e7e80","hex_latitude":"06e81fb8","is_valid_coordinates":true} 
[2026-09-04 22:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866337792001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398761479773356032,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044694405728139264,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788540400000,"timestamp_ms":1788540400000,"timestamp_seconds":1788540400,"priority":1,"record_length":96,"hex_timestamp":"000001a06d50b180"} 
[2026-09-04 22:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 22:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866337792001,"66":27245,"177":206,"80":6400,"24":25,"16":398761479773356032,"45":1044694405728139264},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-04 22:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866337792001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:18:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-04 22:18:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398761479773356032,"km_value":398761479773356.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044694405728139264,"description":"Unknown IO ID 45"} 
[2026-09-04 22:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866337792001,"power":27245,"unknown_177":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":1044694405728139264}} 
[2026-09-04 22:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":171388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:18:01] local.INFO: GPS data processed {"connection_id":171388,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:18:01] local.INFO: Acknowledgment sent {"connection_id":171388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:18:04] local.INFO: TCP Data received {"connection_id":173791,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:18:04] local.INFO: Processing buffer {"connection_id":173791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4ce4d8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:18:04] local.INFO: Packet analysis {"connection_id":173791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:18:04] local.INFO: Extracted packet for processing {"connection_id":173791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4c"} 
[2026-09-04 22:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866201600001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788540151000,"timestamp_ms":1788540151000,"timestamp_seconds":1788540151,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4ce4d8"} 
[2026-09-04 22:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866201600001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866201600001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:18:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:18:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866201600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":173791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:18:04] local.INFO: GPS data processed {"connection_id":173791,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:18:04] local.INFO: Acknowledgment sent {"connection_id":173791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:18:23] local.INFO: TCP Data received {"connection_id":173790,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:18:23] local.INFO: Processing buffer {"connection_id":173790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:18:23] local.INFO: Packet analysis {"connection_id":173790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:18:23] local.INFO: Extracted packet for processing {"connection_id":173790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866239744001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788540300000,"timestamp_ms":1788540300000,"timestamp_seconds":1788540300,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4f2ae0"} 
[2026-09-04 22:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866239744001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866239744001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:18:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:18:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866239744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":173790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:18:23] local.INFO: GPS data processed {"connection_id":173790,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:18:23] local.INFO: Acknowledgment sent {"connection_id":173790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:18:32] local.INFO: TCP Data received {"connection_id":171388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d50f7d0012d0e81c006e80170000700a92c..."} 
[2026-09-04 22:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d50f7d0012d0e81c006e80170000700a92c..."} 
[2026-09-04 22:18:32] local.INFO: Processing buffer {"connection_id":171388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d50f7d0012d0e81c006e80170000700a92c..."} 
[2026-09-04 22:18:32] local.INFO: Packet analysis {"connection_id":171388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d50"} 
[2026-09-04 22:18:32] local.INFO: Extracted packet for processing {"connection_id":171388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d50"} 
[2026-09-04 22:18:32] local.INFO: GPS Element Parsed {"raw_longitude":755925440,"raw_latitude":115868016,"longitude_deg":75.592544,"latitude_deg":11.5868016,"altitude":7,"angle":169,"satellites":44,"speed":19,"hex_longitude":"2d0e81c0","hex_latitude":"06e80170","is_valid_coordinates":true} 
[2026-09-04 22:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866342400001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398761857730478080,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044412930749085696,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788540418000,"timestamp_ms":1788540418000,"timestamp_seconds":1788540418,"priority":1,"record_length":96,"hex_timestamp":"000001a06d50f7d0"} 
[2026-09-04 22:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 22:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866342400001,"66":27463,"177":206,"80":6400,"24":19,"16":398761857730478080,"45":1044412930749085696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-04 22:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866342400001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:18:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-04 22:18:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398761857730478080,"km_value":398761857730478.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044412930749085696,"description":"Unknown IO ID 45"} 
[2026-09-04 22:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866342400001,"power":27463,"unknown_177":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":1044412930749085696}} 
[2026-09-04 22:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":171388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:18:32] local.INFO: GPS data processed {"connection_id":171388,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:18:32] local.INFO: Acknowledgment sent {"connection_id":171388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:18:47] local.INFO: TCP Data received {"connection_id":171094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:18:47] local.INFO: Processing buffer {"connection_id":171094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:18:47] local.INFO: IMEI packet received {"connection_id":171094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":171094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:18:48] local.INFO: TCP Data received {"connection_id":172504,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:18:48] local.INFO: Processing buffer {"connection_id":172504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:18:48] local.INFO: IMEI packet received {"connection_id":172504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":172504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:18:52] local.INFO: TCP Data received {"connection_id":171094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:18:52] local.INFO: Processing buffer {"connection_id":171094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:18:52] local.INFO: IMEI packet received {"connection_id":171094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":171094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:18:52] local.INFO: TCP Data received {"connection_id":171094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:18:52] local.INFO: Processing buffer {"connection_id":171094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:18:52] local.INFO: Packet analysis {"connection_id":171094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:18:52] local.INFO: Extracted packet for processing {"connection_id":171094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:18:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866239744001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788540300000,"timestamp_ms":1788540300000,"timestamp_seconds":1788540300,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4f2ae0"} 
[2026-09-04 22:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866239744001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866239744001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:18:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:18:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866239744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":171094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:18:53] local.INFO: GPS data processed {"connection_id":171094,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:18:53] local.INFO: Acknowledgment sent {"connection_id":171094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:18:53] local.INFO: TCP Data received {"connection_id":172504,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:18:53] local.INFO: Processing buffer {"connection_id":172504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:18:53] local.INFO: IMEI packet received {"connection_id":172504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":172504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:18:54] local.INFO: TCP Data received {"connection_id":172504,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:18:54] local.INFO: Processing buffer {"connection_id":172504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:18:54] local.INFO: Packet analysis {"connection_id":172504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:18:54] local.INFO: Extracted packet for processing {"connection_id":172504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:18:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866278656001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788540452000,"timestamp_ms":1788540452000,"timestamp_seconds":1788540452,"priority":1,"record_length":96,"hex_timestamp":"000001a06d517ca0"} 
[2026-09-04 22:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866278656001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866278656001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:18:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:18:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866278656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":172504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765772,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:18:54] local.INFO: GPS data processed {"connection_id":172504,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:18:54] local.INFO: Acknowledgment sent {"connection_id":172504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:18:58] local.INFO: TCP Data received {"connection_id":171389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:18:58] local.INFO: Processing buffer {"connection_id":171389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:18:58] local.INFO: IMEI packet received {"connection_id":171389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":171389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:19:03] local.INFO: TCP Data received {"connection_id":171389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:19:03] local.INFO: Processing buffer {"connection_id":171389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:19:03] local.INFO: IMEI packet received {"connection_id":171389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":171389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:19:04] local.INFO: TCP Data received {"connection_id":171389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d513e20012d0e898006e7dd80000800aa2d..."} 
[2026-09-04 22:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d513e20012d0e898006e7dd80000800aa2d..."} 
[2026-09-04 22:19:04] local.INFO: Processing buffer {"connection_id":171389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d513e20012d0e898006e7dd80000800aa2d..."} 
[2026-09-04 22:19:04] local.INFO: Packet analysis {"connection_id":171389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:19:04] local.INFO: Extracted packet for processing {"connection_id":171389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:19:04] local.INFO: GPS Element Parsed {"raw_longitude":755927424,"raw_latitude":115858816,"longitude_deg":75.5927424,"latitude_deg":11.5858816,"altitude":8,"angle":170,"satellites":45,"speed":23,"hex_longitude":"2d0e8980","hex_latitude":"06e7dd80","is_valid_coordinates":true} 
[2026-09-04 22:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866347008001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398762317291978752,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1045327724421410816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788540436000,"timestamp_ms":1788540436000,"timestamp_seconds":1788540436,"priority":1,"record_length":96,"hex_timestamp":"000001a06d513e20"} 
[2026-09-04 22:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 22:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866347008001,"66":27365,"98":206,"80":6400,"24":23,"16":398762317291978752,"45":1045327724421410816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-09-04 22:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866347008001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:19:04] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-04 22:19:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398762317291978752,"km_value":398762317291978.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1045327724421410816,"description":"Unknown IO ID 45"} 
[2026-09-04 22:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866347008001,"power":27365,"unknown_98":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":1045327724421410816}} 
[2026-09-04 22:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":171389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:19:04] local.INFO: GPS data processed {"connection_id":171389,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:19:04] local.INFO: Acknowledgment sent {"connection_id":171389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:19:24] local.INFO: TCP Data received {"connection_id":171094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:19:24] local.INFO: Processing buffer {"connection_id":171094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:19:24] local.INFO: Packet analysis {"connection_id":171094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:19:24] local.INFO: Extracted packet for processing {"connection_id":171094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866239744001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788540300000,"timestamp_ms":1788540300000,"timestamp_seconds":1788540300,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4f2ae0"} 
[2026-09-04 22:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866239744001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866239744001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:19:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866239744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":171094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:19:24] local.INFO: GPS data processed {"connection_id":171094,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:19:24] local.INFO: Acknowledgment sent {"connection_id":171094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:19:26] local.INFO: TCP Data received {"connection_id":172504,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:19:26] local.INFO: Processing buffer {"connection_id":172504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:19:26] local.INFO: Packet analysis {"connection_id":172504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:19:26] local.INFO: Extracted packet for processing {"connection_id":172504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:19:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866278656001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788540452000,"timestamp_ms":1788540452000,"timestamp_seconds":1788540452,"priority":1,"record_length":96,"hex_timestamp":"000001a06d517ca0"} 
[2026-09-04 22:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866278656001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866278656001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:19:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:19:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866278656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":172504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765775,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:19:26] local.INFO: GPS data processed {"connection_id":172504,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:19:26] local.INFO: Acknowledgment sent {"connection_id":172504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:19:35] local.INFO: TCP Data received {"connection_id":171389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d515590012d0e8cc006e7d1180007009f2f..."} 
[2026-09-04 22:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d515590012d0e8cc006e7d1180007009f2f..."} 
[2026-09-04 22:19:35] local.INFO: Processing buffer {"connection_id":171389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d515590012d0e8cc006e7d1180007009f2f..."} 
[2026-09-04 22:19:35] local.INFO: Packet analysis {"connection_id":171389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:19:35] local.INFO: Extracted packet for processing {"connection_id":171389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:19:35] local.INFO: GPS Element Parsed {"raw_longitude":755928256,"raw_latitude":115855640,"longitude_deg":75.5928256,"latitude_deg":11.585564,"altitude":7,"angle":159,"satellites":47,"speed":14,"hex_longitude":"2d0e8cc0","hex_latitude":"06e7d118","is_valid_coordinates":true} 
[2026-09-04 22:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866351616001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398762476205768704,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1047509155488563200,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788540442000,"timestamp_ms":1788540442000,"timestamp_seconds":1788540442,"priority":1,"record_length":96,"hex_timestamp":"000001a06d515590"} 
[2026-09-04 22:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 22:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866351616001,"66":27343,"98":206,"80":6400,"24":14,"16":398762476205768704,"45":1047509155488563200},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-09-04 22:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866351616001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:19:35] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-04 22:19:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398762476205768704,"km_value":398762476205768.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1047509155488563200,"description":"Unknown IO ID 45"} 
[2026-09-04 22:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866351616001,"power":27343,"unknown_98":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":1047509155488563200}} 
[2026-09-04 22:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":171389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:19:35] local.INFO: GPS data processed {"connection_id":171389,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:19:35] local.INFO: Acknowledgment sent {"connection_id":171389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:19:47] local.INFO: TCP Data received {"connection_id":172505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:19:47] local.INFO: Processing buffer {"connection_id":172505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:19:47] local.INFO: IMEI packet received {"connection_id":172505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":172505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:19:48] local.INFO: TCP Data received {"connection_id":171390,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:19:48] local.INFO: Processing buffer {"connection_id":171390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:19:48] local.INFO: IMEI packet received {"connection_id":171390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":171390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:19:52] local.INFO: TCP Data received {"connection_id":172505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:19:52] local.INFO: Processing buffer {"connection_id":172505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:19:52] local.INFO: IMEI packet received {"connection_id":172505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":172505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:19:52] local.INFO: TCP Data received {"connection_id":172505,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:19:52] local.INFO: Processing buffer {"connection_id":172505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:19:52] local.INFO: Packet analysis {"connection_id":172505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:19:52] local.INFO: Extracted packet for processing {"connection_id":172505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866239744001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788540300000,"timestamp_ms":1788540300000,"timestamp_seconds":1788540300,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4f2ae0"} 
[2026-09-04 22:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866239744001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866239744001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:19:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866239744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":172505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:19:53] local.INFO: GPS data processed {"connection_id":172505,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:19:53] local.INFO: Acknowledgment sent {"connection_id":172505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:19:53] local.INFO: TCP Data received {"connection_id":171390,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:19:53] local.INFO: Processing buffer {"connection_id":171390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:19:53] local.INFO: IMEI packet received {"connection_id":171390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":171390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:19:54] local.INFO: TCP Data received {"connection_id":171390,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:19:54] local.INFO: Processing buffer {"connection_id":171390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:19:54] local.INFO: Packet analysis {"connection_id":171390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:19:54] local.INFO: Extracted packet for processing {"connection_id":171390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:19:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866278656001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788540452000,"timestamp_ms":1788540452000,"timestamp_seconds":1788540452,"priority":1,"record_length":96,"hex_timestamp":"000001a06d517ca0"} 
[2026-09-04 22:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866278656001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866278656001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:19:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:19:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866278656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":171390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765778,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:19:55] local.INFO: GPS data processed {"connection_id":171390,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:19:55] local.INFO: Acknowledgment sent {"connection_id":171390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:19:58] local.INFO: TCP Data received {"connection_id":171095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:19:58] local.INFO: Processing buffer {"connection_id":171095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:19:58] local.INFO: IMEI packet received {"connection_id":171095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":171095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:20:04] local.INFO: TCP Data received {"connection_id":171095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:20:04] local.INFO: Processing buffer {"connection_id":171095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:20:04] local.INFO: IMEI packet received {"connection_id":171095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":171095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:20:06] local.INFO: TCP Data received {"connection_id":171095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d51a798012d0e948006e7bdb8000700a02f..."} 
[2026-09-04 22:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d51a798012d0e948006e7bdb8000700a02f..."} 
[2026-09-04 22:20:06] local.INFO: Processing buffer {"connection_id":171095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d51a798012d0e948006e7bdb8000700a02f..."} 
[2026-09-04 22:20:06] local.INFO: Packet analysis {"connection_id":171095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:20:06] local.INFO: Extracted packet for processing {"connection_id":171095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:20:06] local.INFO: GPS Element Parsed {"raw_longitude":755930240,"raw_latitude":115850680,"longitude_deg":75.593024,"latitude_deg":11.585068,"altitude":7,"angle":160,"satellites":47,"speed":8,"hex_longitude":"2d0e9480","hex_latitude":"06e7bdb8","is_valid_coordinates":true} 
[2026-09-04 22:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866353152001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398762733903806464,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1048423949162059776,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788540463000,"timestamp_ms":1788540463000,"timestamp_seconds":1788540463,"priority":1,"record_length":96,"hex_timestamp":"000001a06d51a798"} 
[2026-09-04 22:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 22:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866353152001,"66":27332,"98":206,"80":6400,"24":8,"16":398762733903806464,"45":1048423949162059776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-09-04 22:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866353152001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:20:06] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-04 22:20:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398762733903806464,"km_value":398762733903806.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1048423949162059776,"description":"Unknown IO ID 45"} 
[2026-09-04 22:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866353152001,"power":27332,"unknown_98":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":1048423949162059776}} 
[2026-09-04 22:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":171095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:20:06] local.INFO: GPS data processed {"connection_id":171095,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:20:06] local.INFO: Acknowledgment sent {"connection_id":171095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:20:23] local.INFO: TCP Data received {"connection_id":172505,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:20:23] local.INFO: Processing buffer {"connection_id":172505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d4f2ae0012d1965c0071fef800047011524..."} 
[2026-09-04 22:20:23] local.INFO: Packet analysis {"connection_id":172505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:20:23] local.INFO: Extracted packet for processing {"connection_id":172505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d4f"} 
[2026-09-04 22:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866239744001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788540300000,"timestamp_ms":1788540300000,"timestamp_seconds":1788540300,"priority":1,"record_length":96,"hex_timestamp":"000001a06d4f2ae0"} 
[2026-09-04 22:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866239744001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866239744001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:20:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866239744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":172505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:20:23] local.INFO: GPS data processed {"connection_id":172505,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:20:23] local.INFO: Acknowledgment sent {"connection_id":172505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:20:26] local.INFO: TCP Data received {"connection_id":171390,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:20:26] local.INFO: Processing buffer {"connection_id":171390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:20:26] local.INFO: Packet analysis {"connection_id":171390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:20:26] local.INFO: Extracted packet for processing {"connection_id":171390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:20:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866278656001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788540452000,"timestamp_ms":1788540452000,"timestamp_seconds":1788540452,"priority":1,"record_length":96,"hex_timestamp":"000001a06d517ca0"} 
[2026-09-04 22:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866278656001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866278656001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:20:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:20:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866278656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":171390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765781,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:20:26] local.INFO: GPS data processed {"connection_id":171390,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:20:26] local.INFO: Acknowledgment sent {"connection_id":171390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:20:37] local.INFO: TCP Data received {"connection_id":171095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d51d678012d0e994006e7b1b8000700932f..."} 
[2026-09-04 22:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d51d678012d0e994006e7b1b8000700932f..."} 
[2026-09-04 22:20:37] local.INFO: Processing buffer {"connection_id":171095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d51d678012d0e994006e7b1b8000700932f..."} 
[2026-09-04 22:20:37] local.INFO: Packet analysis {"connection_id":171095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:20:37] local.INFO: Extracted packet for processing {"connection_id":171095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:20:37] local.INFO: GPS Element Parsed {"raw_longitude":755931456,"raw_latitude":115847608,"longitude_deg":75.5931456,"latitude_deg":11.5847608,"altitude":7,"angle":147,"satellites":47,"speed":11,"hex_longitude":"2d0e9940","hex_latitude":"06e7b1b8","is_valid_coordinates":true} 
[2026-09-04 22:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866358528001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398762897112563712,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050605380230297600,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788540475000,"timestamp_ms":1788540475000,"timestamp_seconds":1788540475,"priority":1,"record_length":96,"hex_timestamp":"000001a06d51d678"} 
[2026-09-04 22:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 22:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866358528001,"66":27376,"98":206,"80":6400,"24":11,"16":398762897112563712,"45":1050605380230297600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-09-04 22:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866358528001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:20:37] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-04 22:20:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398762897112563712,"km_value":398762897112563.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050605380230297600,"description":"Unknown IO ID 45"} 
[2026-09-04 22:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866358528001,"power":27376,"unknown_98":206,"unknown_80":6400,"ignition":11,"odometer":null,"unknown_45":1050605380230297600}} 
[2026-09-04 22:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":171095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:20:37] local.INFO: GPS data processed {"connection_id":171095,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:20:37] local.INFO: Acknowledgment sent {"connection_id":171095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:20:47] local.INFO: TCP Data received {"connection_id":171096,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:20:47] local.INFO: Processing buffer {"connection_id":171096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:20:47] local.INFO: IMEI packet received {"connection_id":171096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":171096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:20:48] local.INFO: TCP Data received {"connection_id":172506,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:20:48] local.INFO: Processing buffer {"connection_id":172506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:20:48] local.INFO: IMEI packet received {"connection_id":172506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":172506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:20:52] local.INFO: TCP Data received {"connection_id":171096,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:20:52] local.INFO: Processing buffer {"connection_id":171096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:20:52] local.INFO: IMEI packet received {"connection_id":171096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":171096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:20:53] local.INFO: TCP Data received {"connection_id":171096,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:20:53] local.INFO: Processing buffer {"connection_id":171096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:20:53] local.INFO: Packet analysis {"connection_id":171096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:20:53] local.INFO: Extracted packet for processing {"connection_id":171096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:20:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866316800001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788540601000,"timestamp_ms":1788540601000,"timestamp_seconds":1788540601,"priority":1,"record_length":96,"hex_timestamp":"000001a06d53c2a8"} 
[2026-09-04 22:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866316800001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866316800001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:20:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:20:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866316800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":171096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:20:53] local.INFO: GPS data processed {"connection_id":171096,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:20:53] local.INFO: Acknowledgment sent {"connection_id":171096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:20:53] local.INFO: TCP Data received {"connection_id":172506,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:20:53] local.INFO: Processing buffer {"connection_id":172506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:20:53] local.INFO: IMEI packet received {"connection_id":172506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":172506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:20:54] local.INFO: TCP Data received {"connection_id":172506,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:20:54] local.INFO: Processing buffer {"connection_id":172506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:20:54] local.INFO: Packet analysis {"connection_id":172506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:20:54] local.INFO: Extracted packet for processing {"connection_id":172506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:20:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866278656001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788540452000,"timestamp_ms":1788540452000,"timestamp_seconds":1788540452,"priority":1,"record_length":96,"hex_timestamp":"000001a06d517ca0"} 
[2026-09-04 22:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866278656001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866278656001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:20:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:20:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866278656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":172506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765784,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:20:54] local.INFO: GPS data processed {"connection_id":172506,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:20:54] local.INFO: Acknowledgment sent {"connection_id":172506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:20:58] local.INFO: TCP Data received {"connection_id":173792,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:20:58] local.INFO: Processing buffer {"connection_id":173792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:20:58] local.INFO: IMEI packet received {"connection_id":173792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":173792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:20:59] local.INFO: TCP Data received {"connection_id":173792,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:20:59] local.INFO: Processing buffer {"connection_id":173792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:20:59] local.INFO: IMEI packet received {"connection_id":173792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":173792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:21:03] local.INFO: TCP Data received {"connection_id":173792,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:21:03] local.INFO: Processing buffer {"connection_id":173792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:21:03] local.INFO: IMEI packet received {"connection_id":173792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":173792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:21:04] local.INFO: TCP Data received {"connection_id":173792,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d53a368012d0f508006e6e6d0000f00812f..."} 
[2026-09-04 22:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d53a368012d0f508006e6e6d0000f00812f..."} 
[2026-09-04 22:21:04] local.INFO: Processing buffer {"connection_id":173792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d53a368012d0f508006e6e6d0000f00812f..."} 
[2026-09-04 22:21:04] local.INFO: Packet analysis {"connection_id":173792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:21:04] local.INFO: Extracted packet for processing {"connection_id":173792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:21:04] local.INFO: GPS Element Parsed {"raw_longitude":755978368,"raw_latitude":115795664,"longitude_deg":75.5978368,"latitude_deg":11.5795664,"altitude":15,"angle":129,"satellites":47,"speed":50,"hex_longitude":"2d0f5080","hex_latitude":"06e6e6d0","is_valid_coordinates":true} 
[2026-09-04 22:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866389760001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398766285841760256,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1095500639003160576,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788540593000,"timestamp_ms":1788540593000,"timestamp_seconds":1788540593,"priority":1,"record_length":96,"hex_timestamp":"000001a06d53a368"} 
[2026-09-04 22:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 22:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866389760001,"66":27169,"74":206,"80":6400,"24":50,"16":398766285841760256,"45":1095500639003160576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-09-04 22:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866389760001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:21:04] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-04 22:21:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398766285841760256,"km_value":398766285841760.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1095500639003160576,"description":"Unknown IO ID 45"} 
[2026-09-04 22:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866389760001,"power":27169,"unknown_74":206,"unknown_80":6400,"ignition":50,"odometer":null,"unknown_45":1095500639003160576}} 
[2026-09-04 22:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":173792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:21:04] local.INFO: GPS data processed {"connection_id":173792,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:21:04] local.INFO: Acknowledgment sent {"connection_id":173792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:21:23] local.INFO: TCP Data received {"connection_id":171096,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:21:23] local.INFO: Processing buffer {"connection_id":171096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:21:23] local.INFO: Packet analysis {"connection_id":171096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:21:23] local.INFO: Extracted packet for processing {"connection_id":171096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:21:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866316800001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788540601000,"timestamp_ms":1788540601000,"timestamp_seconds":1788540601,"priority":1,"record_length":96,"hex_timestamp":"000001a06d53c2a8"} 
[2026-09-04 22:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866316800001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866316800001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:21:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:21:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866316800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":171096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:21:24] local.INFO: GPS data processed {"connection_id":171096,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:21:24] local.INFO: Acknowledgment sent {"connection_id":171096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:21:26] local.INFO: TCP Data received {"connection_id":172506,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:21:26] local.INFO: Processing buffer {"connection_id":172506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:21:26] local.INFO: Packet analysis {"connection_id":172506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:21:26] local.INFO: Extracted packet for processing {"connection_id":172506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:21:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866278656001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788540452000,"timestamp_ms":1788540452000,"timestamp_seconds":1788540452,"priority":1,"record_length":96,"hex_timestamp":"000001a06d517ca0"} 
[2026-09-04 22:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866278656001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866278656001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:21:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:21:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866278656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":172506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:21:26] local.INFO: GPS data processed {"connection_id":172506,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:21:26] local.INFO: Acknowledgment sent {"connection_id":172506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:21:36] local.INFO: TCP Data received {"connection_id":173792,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d53bec0012d0f6f0006e6d158000c00792e..."} 
[2026-09-04 22:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d53bec0012d0f6f0006e6d158000c00792e..."} 
[2026-09-04 22:21:36] local.INFO: Processing buffer {"connection_id":173792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d53bec0012d0f6f0006e6d158000c00792e..."} 
[2026-09-04 22:21:36] local.INFO: Packet analysis {"connection_id":173792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:21:36] local.INFO: Extracted packet for processing {"connection_id":173792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:21:36] local.INFO: GPS Element Parsed {"raw_longitude":755986176,"raw_latitude":115790168,"longitude_deg":75.5986176,"latitude_deg":11.5790168,"altitude":12,"angle":121,"satellites":46,"speed":57,"hex_longitude":"2d0f6f00","hex_latitude":"06e6d158","is_valid_coordinates":true} 
[2026-09-04 22:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866391808001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398766741108293632,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1103522675837816832,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788540600000,"timestamp_ms":1788540600000,"timestamp_seconds":1788540600,"priority":1,"record_length":96,"hex_timestamp":"000001a06d53bec0"} 
[2026-09-04 22:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-04 22:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866391808001,"66":27158,"73":206,"80":6400,"24":57,"16":398766741108293632,"45":1103522675837816832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-09-04 22:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866391808001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:21:36] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-04 22:21:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398766741108293632,"km_value":398766741108293.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1103522675837816832,"description":"Unknown IO ID 45"} 
[2026-09-04 22:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866391808001,"power":27158,"unknown_73":206,"unknown_80":6400,"ignition":57,"odometer":null,"unknown_45":1103522675837816832}} 
[2026-09-04 22:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":173792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:21:36] local.INFO: GPS data processed {"connection_id":173792,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:21:36] local.INFO: Acknowledgment sent {"connection_id":173792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:21:47] local.INFO: TCP Data received {"connection_id":171097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:21:47] local.INFO: Processing buffer {"connection_id":171097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:21:47] local.INFO: IMEI packet received {"connection_id":171097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":171097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:21:52] local.INFO: TCP Data received {"connection_id":171097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:21:52] local.INFO: Processing buffer {"connection_id":171097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:21:52] local.INFO: IMEI packet received {"connection_id":171097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":171097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:21:53] local.INFO: TCP Data received {"connection_id":171097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:21:53] local.INFO: Processing buffer {"connection_id":171097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:21:53] local.INFO: Packet analysis {"connection_id":171097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:21:53] local.INFO: Extracted packet for processing {"connection_id":171097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866316800001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788540601000,"timestamp_ms":1788540601000,"timestamp_seconds":1788540601,"priority":1,"record_length":96,"hex_timestamp":"000001a06d53c2a8"} 
[2026-09-04 22:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866316800001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866316800001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:21:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866316800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":171097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:21:53] local.INFO: GPS data processed {"connection_id":171097,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:21:53] local.INFO: Acknowledgment sent {"connection_id":171097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:21:53] local.INFO: TCP Data received {"connection_id":171391,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:21:53] local.INFO: Processing buffer {"connection_id":171391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:21:53] local.INFO: IMEI packet received {"connection_id":171391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":171391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:21:58] local.INFO: TCP Data received {"connection_id":171391,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:21:58] local.INFO: Processing buffer {"connection_id":171391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:21:58] local.INFO: IMEI packet received {"connection_id":171391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":171391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:22:00] local.INFO: TCP Data received {"connection_id":171391,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:22:00] local.INFO: Processing buffer {"connection_id":171391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:22:00] local.INFO: Packet analysis {"connection_id":171391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:22:00] local.INFO: Extracted packet for processing {"connection_id":171391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866278656001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788540452000,"timestamp_ms":1788540452000,"timestamp_seconds":1788540452,"priority":1,"record_length":96,"hex_timestamp":"000001a06d517ca0"} 
[2026-09-04 22:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866278656001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866278656001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:22:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866278656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":171391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765790,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:22:00] local.INFO: GPS data processed {"connection_id":171391,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:22:00] local.INFO: Acknowledgment sent {"connection_id":171391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:22:03] local.INFO: TCP Data received {"connection_id":172507,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:03] local.INFO: Processing buffer {"connection_id":172507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:03] local.INFO: IMEI packet received {"connection_id":172507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":172507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:22:04] local.INFO: TCP Data received {"connection_id":172507,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:04] local.INFO: Processing buffer {"connection_id":172507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:04] local.INFO: IMEI packet received {"connection_id":172507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":172507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:22:04] local.INFO: TCP Data received {"connection_id":171391,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:22:04] local.INFO: Processing buffer {"connection_id":171391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:22:04] local.INFO: Packet analysis {"connection_id":171391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:22:04] local.INFO: Extracted packet for processing {"connection_id":171391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:22:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866278656001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788540452000,"timestamp_ms":1788540452000,"timestamp_seconds":1788540452,"priority":1,"record_length":96,"hex_timestamp":"000001a06d517ca0"} 
[2026-09-04 22:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866278656001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866278656001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:22:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:22:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866278656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":171391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765791,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:22:04] local.INFO: GPS data processed {"connection_id":171391,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:22:04] local.INFO: Acknowledgment sent {"connection_id":171391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:22:08] local.INFO: TCP Data received {"connection_id":172507,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:08] local.INFO: Processing buffer {"connection_id":172507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:08] local.INFO: IMEI packet received {"connection_id":172507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":172507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:22:09] local.INFO: TCP Data received {"connection_id":172507,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d53d630012d0f8f0006e6c158000a00722d..."} 
[2026-09-04 22:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d53d630012d0f8f0006e6c158000a00722d..."} 
[2026-09-04 22:22:09] local.INFO: Processing buffer {"connection_id":172507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d53d630012d0f8f0006e6c158000a00722d..."} 
[2026-09-04 22:22:09] local.INFO: Packet analysis {"connection_id":172507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:22:09] local.INFO: Extracted packet for processing {"connection_id":172507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:22:09] local.INFO: GPS Element Parsed {"raw_longitude":755994368,"raw_latitude":115786072,"longitude_deg":75.5994368,"latitude_deg":11.5786072,"altitude":10,"angle":114,"satellites":45,"speed":58,"hex_longitude":"2d0f8f00","hex_latitude":"06e6c158","is_valid_coordinates":true} 
[2026-09-04 22:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866393600001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398767174899990528,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1112107662626084864,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788540606000,"timestamp_ms":1788540606000,"timestamp_seconds":1788540606,"priority":1,"record_length":96,"hex_timestamp":"000001a06d53d630"} 
[2026-09-04 22:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-04 22:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866393600001,"66":27300,"73":206,"80":6400,"24":58,"16":398767174899990528,"45":1112107662626084864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-09-04 22:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866393600001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:22:09] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-04 22:22:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398767174899990528,"km_value":398767174899990.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1112107662626084864,"description":"Unknown IO ID 45"} 
[2026-09-04 22:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866393600001,"power":27300,"unknown_73":206,"unknown_80":6400,"ignition":58,"odometer":null,"unknown_45":1112107662626084864}} 
[2026-09-04 22:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":172507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:22:09] local.INFO: GPS data processed {"connection_id":172507,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:22:09] local.INFO: Acknowledgment sent {"connection_id":172507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:22:10] local.INFO: TCP Data received {"connection_id":172507,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d53f188012d0fb30006e6b1c0000900702d..."} 
[2026-09-04 22:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d53f188012d0fb30006e6b1c0000900702d..."} 
[2026-09-04 22:22:10] local.INFO: Processing buffer {"connection_id":172507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d53f188012d0fb30006e6b1c0000900702d..."} 
[2026-09-04 22:22:10] local.INFO: Packet analysis {"connection_id":172507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:22:10] local.INFO: Extracted packet for processing {"connection_id":172507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756003584,"raw_latitude":115782080,"longitude_deg":75.6003584,"latitude_deg":11.578208,"altitude":9,"angle":112,"satellites":45,"speed":48,"hex_longitude":"2d0fb300","hex_latitude":"06e6b1c0","is_valid_coordinates":true} 
[2026-09-04 22:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866395136001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398767655936327680,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1121114861879777280,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788540613000,"timestamp_ms":1788540613000,"timestamp_seconds":1788540613,"priority":1,"record_length":96,"hex_timestamp":"000001a06d53f188"} 
[2026-09-04 22:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 22:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866395136001,"66":27343,"73":206,"80":6400,"24":48,"16":398767655936327680,"45":1121114861879777280},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-09-04 22:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866395136001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:22:10] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-04 22:22:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398767655936327680,"km_value":398767655936327.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1121114861879777280,"description":"Unknown IO ID 45"} 
[2026-09-04 22:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866395136001,"power":27343,"unknown_73":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":1121114861879777280}} 
[2026-09-04 22:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":172507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:22:10] local.INFO: GPS data processed {"connection_id":172507,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:22:10] local.INFO: Acknowledgment sent {"connection_id":172507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:22:16] local.INFO: TCP Data received {"connection_id":172507,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5410c8012d0fd60006e6a270000a00712d..."} 
[2026-09-04 22:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5410c8012d0fd60006e6a270000a00712d..."} 
[2026-09-04 22:22:16] local.INFO: Processing buffer {"connection_id":172507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5410c8012d0fd60006e6a270000a00712d..."} 
[2026-09-04 22:22:16] local.INFO: Packet analysis {"connection_id":172507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d54"} 
[2026-09-04 22:22:16] local.INFO: Extracted packet for processing {"connection_id":172507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d54"} 
[2026-09-04 22:22:16] local.INFO: GPS Element Parsed {"raw_longitude":756012544,"raw_latitude":115778160,"longitude_deg":75.6012544,"latitude_deg":11.577816,"altitude":10,"angle":113,"satellites":45,"speed":49,"hex_longitude":"2d0fd600","hex_latitude":"06e6a270","is_valid_coordinates":true} 
[2026-09-04 22:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866396928001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398768124087762944,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1131247961040338944,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788540621000,"timestamp_ms":1788540621000,"timestamp_seconds":1788540621,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5410c8"} 
[2026-09-04 22:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 22:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866396928001,"66":27376,"246":206,"80":6400,"24":49,"16":398768124087762944,"45":1131247961040338944},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-09-04 22:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866396928001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:22:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398768124087762944,"km_value":398768124087762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1131247961040338944,"description":"Unknown IO ID 45"} 
[2026-09-04 22:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866396928001,"power":27376,"main_input_voltage":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":1131247961040338944}} 
[2026-09-04 22:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":172507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:22:16] local.INFO: GPS data processed {"connection_id":172507,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:22:16] local.INFO: Acknowledgment sent {"connection_id":172507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:22:23] local.INFO: TCP Data received {"connection_id":171097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:22:23] local.INFO: Processing buffer {"connection_id":171097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:22:23] local.INFO: Packet analysis {"connection_id":171097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:22:23] local.INFO: Extracted packet for processing {"connection_id":171097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:22:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866316800001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788540601000,"timestamp_ms":1788540601000,"timestamp_seconds":1788540601,"priority":1,"record_length":96,"hex_timestamp":"000001a06d53c2a8"} 
[2026-09-04 22:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866316800001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866316800001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:22:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:22:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866316800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":171097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:22:23] local.INFO: GPS data processed {"connection_id":171097,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:22:23] local.INFO: Acknowledgment sent {"connection_id":171097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:22:48] local.INFO: TCP Data received {"connection_id":173793,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:22:48] local.INFO: Processing buffer {"connection_id":173793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:22:48] local.INFO: IMEI packet received {"connection_id":173793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":173793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:22:52] local.INFO: TCP Data received {"connection_id":173794,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:22:52] local.INFO: Processing buffer {"connection_id":173794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:22:52] local.INFO: IMEI packet received {"connection_id":173794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":173794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:22:53] local.INFO: TCP Data received {"connection_id":173793,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:22:53] local.INFO: Processing buffer {"connection_id":173793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:22:53] local.INFO: IMEI packet received {"connection_id":173793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":173793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:22:54] local.INFO: TCP Data received {"connection_id":173793,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:22:54] local.INFO: Processing buffer {"connection_id":173793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d517ca0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:22:54] local.INFO: Packet analysis {"connection_id":173793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:22:54] local.INFO: Extracted packet for processing {"connection_id":173793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d51"} 
[2026-09-04 22:22:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866278656001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788540452000,"timestamp_ms":1788540452000,"timestamp_seconds":1788540452,"priority":1,"record_length":96,"hex_timestamp":"000001a06d517ca0"} 
[2026-09-04 22:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866278656001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866278656001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:22:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:22:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866278656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":173793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765796,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:22:55] local.INFO: GPS data processed {"connection_id":173793,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:22:55] local.INFO: Acknowledgment sent {"connection_id":173793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:22:55] local.INFO: TCP Data received {"connection_id":171392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:55] local.INFO: Processing buffer {"connection_id":171392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:55] local.INFO: IMEI packet received {"connection_id":171392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":171392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:22:57] local.INFO: TCP Data received {"connection_id":173794,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:22:57] local.INFO: Processing buffer {"connection_id":173794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:22:57] local.INFO: IMEI packet received {"connection_id":173794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":173794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:22:57] local.INFO: TCP Data received {"connection_id":173794,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:22:57] local.INFO: Processing buffer {"connection_id":173794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:22:57] local.INFO: Packet analysis {"connection_id":173794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:22:57] local.INFO: Extracted packet for processing {"connection_id":173794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866316800001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788540601000,"timestamp_ms":1788540601000,"timestamp_seconds":1788540601,"priority":1,"record_length":96,"hex_timestamp":"000001a06d53c2a8"} 
[2026-09-04 22:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866316800001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866316800001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:22:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866316800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":173794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:22:58] local.INFO: GPS data processed {"connection_id":173794,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:22:58] local.INFO: Acknowledgment sent {"connection_id":173794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:22:58] local.INFO: TCP Data received {"connection_id":171392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:58] local.INFO: Processing buffer {"connection_id":171392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:22:58] local.INFO: IMEI packet received {"connection_id":171392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":171392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:23:03] local.INFO: TCP Data received {"connection_id":171392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:23:03] local.INFO: Processing buffer {"connection_id":171392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:23:03] local.INFO: IMEI packet received {"connection_id":171392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":171392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:23:05] local.INFO: TCP Data received {"connection_id":171392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5558e8012d10cdc006e555d0001100b42f..."} 
[2026-09-04 22:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5558e8012d10cdc006e555d0001100b42f..."} 
[2026-09-04 22:23:05] local.INFO: Processing buffer {"connection_id":171392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5558e8012d10cdc006e555d0001100b42f..."} 
[2026-09-04 22:23:05] local.INFO: Packet analysis {"connection_id":171392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d55"} 
[2026-09-04 22:23:05] local.INFO: Extracted packet for processing {"connection_id":171392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d55"} 
[2026-09-04 22:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756075968,"raw_latitude":115693008,"longitude_deg":75.6075968,"latitude_deg":11.5693008,"altitude":17,"angle":180,"satellites":47,"speed":47,"hex_longitude":"2d10cdc0","hex_latitude":"06e555d0","is_valid_coordinates":true} 
[2026-09-04 22:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866418432001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398773527156621312,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210835010684956672,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788540705000,"timestamp_ms":1788540705000,"timestamp_seconds":1788540705,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5558e8"} 
[2026-09-04 22:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 22:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866418432001,"66":27365,"245":206,"80":6400,"24":47,"16":398773527156621312,"45":1210835010684956672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-04 22:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866418432001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:23:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398773527156621312,"km_value":398773527156621.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210835010684956672,"description":"Unknown IO ID 45"} 
[2026-09-04 22:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866418432001,"power":27365,"geofence_id":206,"unknown_80":6400,"ignition":47,"odometer":null,"unknown_45":1210835010684956672}} 
[2026-09-04 22:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":171392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:23:05] local.INFO: GPS data processed {"connection_id":171392,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:23:05] local.INFO: Acknowledgment sent {"connection_id":171392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:23:26] local.INFO: TCP Data received {"connection_id":173793,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:23:26] local.INFO: Processing buffer {"connection_id":173793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:23:26] local.INFO: Packet analysis {"connection_id":173793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:23:26] local.INFO: Extracted packet for processing {"connection_id":173793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:23:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866355712001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788540753000,"timestamp_ms":1788540753000,"timestamp_seconds":1788540753,"priority":1,"record_length":96,"hex_timestamp":"000001a06d561468"} 
[2026-09-04 22:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866355712001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866355712001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:23:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:23:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866355712001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":173793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765799,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:23:26] local.INFO: GPS data processed {"connection_id":173793,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:23:26] local.INFO: Acknowledgment sent {"connection_id":173793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:23:28] local.INFO: TCP Data received {"connection_id":173794,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:23:28] local.INFO: Processing buffer {"connection_id":173794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:23:28] local.INFO: Packet analysis {"connection_id":173794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:23:28] local.INFO: Extracted packet for processing {"connection_id":173794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866316800001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788540601000,"timestamp_ms":1788540601000,"timestamp_seconds":1788540601,"priority":1,"record_length":96,"hex_timestamp":"000001a06d53c2a8"} 
[2026-09-04 22:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866316800001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866316800001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:23:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866316800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":173794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:23:28] local.INFO: GPS data processed {"connection_id":173794,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:23:28] local.INFO: Acknowledgment sent {"connection_id":173794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:23:36] local.INFO: TCP Data received {"connection_id":171392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d557828012d10ce4006e52fd0001100ad2e..."} 
[2026-09-04 22:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d557828012d10ce4006e52fd0001100ad2e..."} 
[2026-09-04 22:23:36] local.INFO: Processing buffer {"connection_id":171392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d557828012d10ce4006e52fd0001100ad2e..."} 
[2026-09-04 22:23:36] local.INFO: Packet analysis {"connection_id":171392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d55"} 
[2026-09-04 22:23:36] local.INFO: Extracted packet for processing {"connection_id":171392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d55"} 
[2026-09-04 22:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":115683280,"longitude_deg":75.6076096,"latitude_deg":11.568328,"altitude":17,"angle":173,"satellites":46,"speed":49,"hex_longitude":"2d10ce40","hex_latitude":"06e52fd0","is_valid_coordinates":true} 
[2026-09-04 22:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866420480001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398773999603023872,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210835010682474496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788540713000,"timestamp_ms":1788540713000,"timestamp_seconds":1788540713,"priority":1,"record_length":96,"hex_timestamp":"000001a06d557828"} 
[2026-09-04 22:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 22:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866420480001,"66":27332,"245":206,"80":6400,"24":49,"16":398773999603023872,"45":1210835010682474496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-04 22:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866420480001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:23:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-04 22:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398773999603023872,"km_value":398773999603023.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210835010682474496,"description":"Unknown IO ID 45"} 
[2026-09-04 22:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866420480001,"power":27332,"geofence_id":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":1210835010682474496}} 
[2026-09-04 22:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":171392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:23:36] local.INFO: GPS data processed {"connection_id":171392,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:23:36] local.INFO: Acknowledgment sent {"connection_id":171392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:23:47] local.INFO: TCP Data received {"connection_id":171393,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:23:47] local.INFO: Processing buffer {"connection_id":171393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:23:47] local.INFO: IMEI packet received {"connection_id":171393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":171393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:23:48] local.INFO: TCP Data received {"connection_id":171098,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:23:48] local.INFO: Processing buffer {"connection_id":171098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:23:48] local.INFO: IMEI packet received {"connection_id":171098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":171098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:23:52] local.INFO: TCP Data received {"connection_id":171393,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:23:52] local.INFO: Processing buffer {"connection_id":171393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:23:52] local.INFO: IMEI packet received {"connection_id":171393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":171393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:23:52] local.INFO: TCP Data received {"connection_id":171393,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:23:52] local.INFO: Processing buffer {"connection_id":171393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:23:52] local.INFO: Packet analysis {"connection_id":171393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:23:52] local.INFO: Extracted packet for processing {"connection_id":171393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:23:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866316800001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788540601000,"timestamp_ms":1788540601000,"timestamp_seconds":1788540601,"priority":1,"record_length":96,"hex_timestamp":"000001a06d53c2a8"} 
[2026-09-04 22:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866316800001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866316800001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:23:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:23:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866316800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":171393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:23:53] local.INFO: GPS data processed {"connection_id":171393,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:23:53] local.INFO: Acknowledgment sent {"connection_id":171393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:23:53] local.INFO: TCP Data received {"connection_id":171098,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:23:53] local.INFO: Processing buffer {"connection_id":171098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:23:53] local.INFO: IMEI packet received {"connection_id":171098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":171098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:23:54] local.INFO: TCP Data received {"connection_id":171098,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:23:54] local.INFO: Processing buffer {"connection_id":171098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:23:54] local.INFO: Packet analysis {"connection_id":171098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:23:54] local.INFO: Extracted packet for processing {"connection_id":171098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:23:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866355712001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788540753000,"timestamp_ms":1788540753000,"timestamp_seconds":1788540753,"priority":1,"record_length":96,"hex_timestamp":"000001a06d561468"} 
[2026-09-04 22:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866355712001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866355712001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:23:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:23:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866355712001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":171098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:23:55] local.INFO: GPS data processed {"connection_id":171098,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:23:55] local.INFO: Acknowledgment sent {"connection_id":171098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:23:56] local.INFO: TCP Data received {"connection_id":171099,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:23:56] local.INFO: Processing buffer {"connection_id":171099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:23:56] local.INFO: IMEI packet received {"connection_id":171099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":171099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:23:58] local.INFO: TCP Data received {"connection_id":171099,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:23:58] local.INFO: Processing buffer {"connection_id":171099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:23:58] local.INFO: IMEI packet received {"connection_id":171099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":171099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:24:03] local.INFO: TCP Data received {"connection_id":171099,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:24:03] local.INFO: Processing buffer {"connection_id":171099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:24:03] local.INFO: IMEI packet received {"connection_id":171099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":171099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:24:06] local.INFO: TCP Data received {"connection_id":171099,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d559380012d10d60006e510b0001000a02e..."} 
[2026-09-04 22:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d559380012d10d60006e510b0001000a02e..."} 
[2026-09-04 22:24:06] local.INFO: Processing buffer {"connection_id":171099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d559380012d10d60006e510b0001000a02e..."} 
[2026-09-04 22:24:06] local.INFO: Packet analysis {"connection_id":171099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d55"} 
[2026-09-04 22:24:06] local.INFO: Extracted packet for processing {"connection_id":171099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d55"} 
[2026-09-04 22:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756078080,"raw_latitude":115675312,"longitude_deg":75.607808,"latitude_deg":11.5675312,"altitude":16,"angle":160,"satellites":46,"speed":37,"hex_longitude":"2d10d600","hex_latitude":"06e510b0","is_valid_coordinates":true} 
[2026-09-04 22:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866422528001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398774399034982400,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975748168339456,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788540720000,"timestamp_ms":1788540720000,"timestamp_seconds":1788540720,"priority":1,"record_length":96,"hex_timestamp":"000001a06d559380"} 
[2026-09-04 22:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 22:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866422528001,"66":27321,"110":206,"81":20480,"24":37,"16":398774399034982400,"45":1210975748168339456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-04 22:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866422528001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:24:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-04 22:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398774399034982400,"km_value":398774399034982.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975748168339456,"description":"Unknown IO ID 45"} 
[2026-09-04 22:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866422528001,"power":27321,"unknown_110":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1210975748168339456}} 
[2026-09-04 22:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":171099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:24:06] local.INFO: GPS data processed {"connection_id":171099,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:24:06] local.INFO: Acknowledgment sent {"connection_id":171099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:24:23] local.INFO: TCP Data received {"connection_id":171393,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:24:23] local.INFO: Processing buffer {"connection_id":171393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:24:23] local.INFO: Packet analysis {"connection_id":171393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:24:23] local.INFO: Extracted packet for processing {"connection_id":171393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866316800001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788540601000,"timestamp_ms":1788540601000,"timestamp_seconds":1788540601,"priority":1,"record_length":96,"hex_timestamp":"000001a06d53c2a8"} 
[2026-09-04 22:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866316800001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866316800001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:24:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866316800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":171393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:24:23] local.INFO: GPS data processed {"connection_id":171393,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:24:23] local.INFO: Acknowledgment sent {"connection_id":171393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:24:26] local.INFO: TCP Data received {"connection_id":171098,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:24:26] local.INFO: Processing buffer {"connection_id":171098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:24:26] local.INFO: Packet analysis {"connection_id":171098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:24:26] local.INFO: Extracted packet for processing {"connection_id":171098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:24:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866355712001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788540753000,"timestamp_ms":1788540753000,"timestamp_seconds":1788540753,"priority":1,"record_length":96,"hex_timestamp":"000001a06d561468"} 
[2026-09-04 22:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866355712001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866355712001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:24:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:24:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866355712001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":171098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765806,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:24:26] local.INFO: GPS data processed {"connection_id":171098,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:24:26] local.INFO: Acknowledgment sent {"connection_id":171098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:24:37] local.INFO: TCP Data received {"connection_id":171099,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d571a20012d11678006e34068001400a82d..."} 
[2026-09-04 22:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d571a20012d11678006e34068001400a82d..."} 
[2026-09-04 22:24:37] local.INFO: Processing buffer {"connection_id":171099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d571a20012d11678006e34068001400a82d..."} 
[2026-09-04 22:24:37] local.INFO: Packet analysis {"connection_id":171099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d57"} 
[2026-09-04 22:24:37] local.INFO: Extracted packet for processing {"connection_id":171099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d57"} 
[2026-09-04 22:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756115328,"raw_latitude":115556456,"longitude_deg":75.6115328,"latitude_deg":11.5556456,"altitude":20,"angle":168,"satellites":45,"speed":52,"hex_longitude":"2d116780","hex_latitude":"06e34068","is_valid_coordinates":true} 
[2026-09-04 22:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866447872001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398780515068411904,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1252352569714876416,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788540820000,"timestamp_ms":1788540820000,"timestamp_seconds":1788540820,"priority":1,"record_length":96,"hex_timestamp":"000001a06d571a20"} 
[2026-09-04 22:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 22:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866447872001,"66":27321,"108":206,"81":20480,"24":52,"16":398780515068411904,"45":1252352569714876416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-04 22:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866447872001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:24:37] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-04 22:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398780515068411904,"km_value":398780515068411.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1252352569714876416,"description":"Unknown IO ID 45"} 
[2026-09-04 22:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866447872001,"power":27321,"unknown_108":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1252352569714876416}} 
[2026-09-04 22:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":171099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:24:37] local.INFO: GPS data processed {"connection_id":171099,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:24:37] local.INFO: Acknowledgment sent {"connection_id":171099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:24:47] local.INFO: TCP Data received {"connection_id":171394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:24:47] local.INFO: Processing buffer {"connection_id":171394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:24:47] local.INFO: IMEI packet received {"connection_id":171394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":171394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:24:52] local.INFO: TCP Data received {"connection_id":171394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:24:52] local.INFO: Processing buffer {"connection_id":171394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:24:52] local.INFO: IMEI packet received {"connection_id":171394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":171394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:24:52] local.INFO: TCP Data received {"connection_id":171394,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:24:52] local.INFO: Processing buffer {"connection_id":171394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:24:52] local.INFO: Packet analysis {"connection_id":171394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:24:52] local.INFO: Extracted packet for processing {"connection_id":171394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:24:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866316800001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788540601000,"timestamp_ms":1788540601000,"timestamp_seconds":1788540601,"priority":1,"record_length":96,"hex_timestamp":"000001a06d53c2a8"} 
[2026-09-04 22:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866316800001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866316800001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:24:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:24:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866316800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":171394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:24:53] local.INFO: GPS data processed {"connection_id":171394,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:24:53] local.INFO: Acknowledgment sent {"connection_id":171394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:24:53] local.INFO: TCP Data received {"connection_id":171395,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:24:53] local.INFO: Processing buffer {"connection_id":171395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:24:53] local.INFO: IMEI packet received {"connection_id":171395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":171395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:24:58] local.INFO: TCP Data received {"connection_id":172508,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:24:58] local.INFO: Processing buffer {"connection_id":172508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:24:58] local.INFO: IMEI packet received {"connection_id":172508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":172508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:24:58] local.INFO: TCP Data received {"connection_id":171395,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:24:58] local.INFO: Processing buffer {"connection_id":171395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:24:58] local.INFO: IMEI packet received {"connection_id":171395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":171395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:24:59] local.INFO: TCP Data received {"connection_id":172508,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:24:59] local.INFO: Processing buffer {"connection_id":172508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:24:59] local.INFO: IMEI packet received {"connection_id":172508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":172508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:25:00] local.INFO: TCP Data received {"connection_id":171395,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:25:00] local.INFO: Processing buffer {"connection_id":171395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:25:00] local.INFO: Packet analysis {"connection_id":171395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:25:00] local.INFO: Extracted packet for processing {"connection_id":171395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866355712001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788540753000,"timestamp_ms":1788540753000,"timestamp_seconds":1788540753,"priority":1,"record_length":96,"hex_timestamp":"000001a06d561468"} 
[2026-09-04 22:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171395,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171395,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866355712001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866355712001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:25:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866355712001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":171395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765809,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:25:00] local.INFO: GPS data processed {"connection_id":171395,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:25:00] local.INFO: Acknowledgment sent {"connection_id":171395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:25:03] local.INFO: TCP Data received {"connection_id":172508,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:25:03] local.INFO: Processing buffer {"connection_id":172508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:25:03] local.INFO: IMEI packet received {"connection_id":172508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":172508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:25:04] local.INFO: TCP Data received {"connection_id":171395,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:25:04] local.INFO: Processing buffer {"connection_id":171395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:25:04] local.INFO: Packet analysis {"connection_id":171395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:25:04] local.INFO: Extracted packet for processing {"connection_id":171395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:25:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866355712001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788540753000,"timestamp_ms":1788540753000,"timestamp_seconds":1788540753,"priority":1,"record_length":96,"hex_timestamp":"000001a06d561468"} 
[2026-09-04 22:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171395,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171395,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866355712001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866355712001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:25:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:25:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866355712001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":171395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:25:04] local.INFO: GPS data processed {"connection_id":171395,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:25:04] local.INFO: Acknowledgment sent {"connection_id":171395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:25:05] local.INFO: TCP Data received {"connection_id":172508,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d573960012d116f8006e31bc0001200a62e..."} 
[2026-09-04 22:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d573960012d116f8006e31bc0001200a62e..."} 
[2026-09-04 22:25:05] local.INFO: Processing buffer {"connection_id":172508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d573960012d116f8006e31bc0001200a62e..."} 
[2026-09-04 22:25:05] local.INFO: Packet analysis {"connection_id":172508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d57"} 
[2026-09-04 22:25:05] local.INFO: Extracted packet for processing {"connection_id":172508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d57"} 
[2026-09-04 22:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756117376,"raw_latitude":115547072,"longitude_deg":75.6117376,"latitude_deg":11.5547072,"altitude":18,"angle":166,"satellites":46,"speed":40,"hex_longitude":"2d116f80","hex_latitude":"06e31bc0","is_valid_coordinates":true} 
[2026-09-04 22:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866449920001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398780983219847168,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1254111788316780544,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788540828000,"timestamp_ms":1788540828000,"timestamp_seconds":1788540828,"priority":1,"record_length":96,"hex_timestamp":"000001a06d573960"} 
[2026-09-04 22:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 22:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866449920001,"66":27343,"108":206,"81":20480,"24":40,"16":398780983219847168,"45":1254111788316780544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-04 22:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866449920001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:25:05] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-04 22:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398780983219847168,"km_value":398780983219847.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1254111788316780544,"description":"Unknown IO ID 45"} 
[2026-09-04 22:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866449920001,"power":27343,"unknown_108":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1254111788316780544}} 
[2026-09-04 22:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":172508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:25:05] local.INFO: GPS data processed {"connection_id":172508,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:25:05] local.INFO: Acknowledgment sent {"connection_id":172508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:25:07] local.INFO: TCP Data received {"connection_id":172508,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5758a0012d117a8006e2fa980010009f2e..."} 
[2026-09-04 22:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5758a0012d117a8006e2fa980010009f2e..."} 
[2026-09-04 22:25:07] local.INFO: Processing buffer {"connection_id":172508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5758a0012d117a8006e2fa980010009f2e..."} 
[2026-09-04 22:25:07] local.INFO: Packet analysis {"connection_id":172508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d57"} 
[2026-09-04 22:25:07] local.INFO: Extracted packet for processing {"connection_id":172508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d57"} 
[2026-09-04 22:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756120192,"raw_latitude":115538584,"longitude_deg":75.6120192,"latitude_deg":11.5538584,"altitude":16,"angle":159,"satellites":46,"speed":39,"hex_longitude":"2d117a80","hex_latitude":"06e2fa98","is_valid_coordinates":true} 
[2026-09-04 22:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866451968001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398781417011544064,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1256363588128063488,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788540836000,"timestamp_ms":1788540836000,"timestamp_seconds":1788540836,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5758a0"} 
[2026-09-04 22:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 22:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866451968001,"66":27234,"108":206,"81":20480,"24":39,"16":398781417011544064,"45":1256363588128063488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-04 22:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866451968001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:25:07] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-04 22:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398781417011544064,"km_value":398781417011544.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1256363588128063488,"description":"Unknown IO ID 45"} 
[2026-09-04 22:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866451968001,"power":27234,"unknown_108":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1256363588128063488}} 
[2026-09-04 22:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":172508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:25:07] local.INFO: GPS data processed {"connection_id":172508,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:25:07] local.INFO: Acknowledgment sent {"connection_id":172508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:25:23] local.INFO: TCP Data received {"connection_id":171394,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:25:23] local.INFO: Processing buffer {"connection_id":171394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d53c2a8012d1965c0071fef800047011524..."} 
[2026-09-04 22:25:23] local.INFO: Packet analysis {"connection_id":171394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:25:23] local.INFO: Extracted packet for processing {"connection_id":171394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d53"} 
[2026-09-04 22:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866316800001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788540601000,"timestamp_ms":1788540601000,"timestamp_seconds":1788540601,"priority":1,"record_length":96,"hex_timestamp":"000001a06d53c2a8"} 
[2026-09-04 22:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866316800001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866316800001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:25:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866316800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":171394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:25:23] local.INFO: GPS data processed {"connection_id":171394,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:25:23] local.INFO: Acknowledgment sent {"connection_id":171394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:25:38] local.INFO: TCP Data received {"connection_id":172508,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5777e0012d11878006e2d858000f00a32f..."} 
[2026-09-04 22:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5777e0012d11878006e2d858000f00a32f..."} 
[2026-09-04 22:25:38] local.INFO: Processing buffer {"connection_id":172508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5777e0012d11878006e2d858000f00a32f..."} 
[2026-09-04 22:25:38] local.INFO: Packet analysis {"connection_id":172508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d57"} 
[2026-09-04 22:25:38] local.INFO: Extracted packet for processing {"connection_id":172508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d57"} 
[2026-09-04 22:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756123520,"raw_latitude":115529816,"longitude_deg":75.612352,"latitude_deg":11.5529816,"altitude":15,"angle":163,"satellites":47,"speed":52,"hex_longitude":"2d118780","hex_latitude":"06e2d858","is_valid_coordinates":true} 
[2026-09-04 22:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866454016001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398781867983110144,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1259459812869707776,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788540844000,"timestamp_ms":1788540844000,"timestamp_seconds":1788540844,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5777e0"} 
[2026-09-04 22:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 22:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866454016001,"66":27343,"108":206,"81":20480,"24":52,"16":398781867983110144,"45":1259459812869707776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-04 22:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866454016001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:25:38] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-04 22:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398781867983110144,"km_value":398781867983110.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1259459812869707776,"description":"Unknown IO ID 45"} 
[2026-09-04 22:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866454016001,"power":27343,"unknown_108":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1259459812869707776}} 
[2026-09-04 22:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":172508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:25:38] local.INFO: GPS data processed {"connection_id":172508,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:25:38] local.INFO: Acknowledgment sent {"connection_id":172508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:25:47] local.INFO: TCP Data received {"connection_id":171100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:25:47] local.INFO: Processing buffer {"connection_id":171100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:25:47] local.INFO: IMEI packet received {"connection_id":171100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":171100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:25:48] local.INFO: TCP Data received {"connection_id":171101,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:25:48] local.INFO: Processing buffer {"connection_id":171101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:25:48] local.INFO: IMEI packet received {"connection_id":171101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":171101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:25:52] local.INFO: TCP Data received {"connection_id":171100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:25:52] local.INFO: Processing buffer {"connection_id":171100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:25:52] local.INFO: IMEI packet received {"connection_id":171100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":171100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:25:53] local.INFO: TCP Data received {"connection_id":171100,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:25:53] local.INFO: Processing buffer {"connection_id":171100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:25:53] local.INFO: Packet analysis {"connection_id":171100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:25:53] local.INFO: Extracted packet for processing {"connection_id":171100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866393856001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788540902000,"timestamp_ms":1788540902000,"timestamp_seconds":1788540902,"priority":1,"record_length":96,"hex_timestamp":"000001a06d585a70"} 
[2026-09-04 22:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866393856001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866393856001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:25:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:25:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866393856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":171100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:25:53] local.INFO: GPS data processed {"connection_id":171100,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:25:53] local.INFO: Acknowledgment sent {"connection_id":171100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:25:53] local.INFO: TCP Data received {"connection_id":171101,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:25:53] local.INFO: Processing buffer {"connection_id":171101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:25:53] local.INFO: IMEI packet received {"connection_id":171101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":171101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:25:55] local.INFO: TCP Data received {"connection_id":171101,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:25:55] local.INFO: Processing buffer {"connection_id":171101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:25:55] local.INFO: Packet analysis {"connection_id":171101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:25:55] local.INFO: Extracted packet for processing {"connection_id":171101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:25:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866355712001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788540753000,"timestamp_ms":1788540753000,"timestamp_seconds":1788540753,"priority":1,"record_length":96,"hex_timestamp":"000001a06d561468"} 
[2026-09-04 22:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866355712001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866355712001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:25:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:25:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866355712001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":171101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:25:55] local.INFO: GPS data processed {"connection_id":171101,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:25:55] local.INFO: Acknowledgment sent {"connection_id":171101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:25:58] local.INFO: TCP Data received {"connection_id":172509,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:25:58] local.INFO: Processing buffer {"connection_id":172509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:25:58] local.INFO: IMEI packet received {"connection_id":172509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":172509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:26:00] local.INFO: TCP Data received {"connection_id":172509,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:26:00] local.INFO: Processing buffer {"connection_id":172509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:26:00] local.INFO: IMEI packet received {"connection_id":172509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":172509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:26:04] local.INFO: TCP Data received {"connection_id":172509,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:26:04] local.INFO: Processing buffer {"connection_id":172509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:26:04] local.INFO: IMEI packet received {"connection_id":172509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":172509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:26:06] local.INFO: TCP Data received {"connection_id":172509,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d578f50012d118e0006e2b730000c00ae2e..."} 
[2026-09-04 22:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d578f50012d118e0006e2b730000c00ae2e..."} 
[2026-09-04 22:26:06] local.INFO: Processing buffer {"connection_id":172509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d578f50012d118e0006e2b730000c00ae2e..."} 
[2026-09-04 22:26:06] local.INFO: Packet analysis {"connection_id":172509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d57"} 
[2026-09-04 22:26:06] local.INFO: Extracted packet for processing {"connection_id":172509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d57"} 
[2026-09-04 22:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756125184,"raw_latitude":115521328,"longitude_deg":75.6125184,"latitude_deg":11.5521328,"altitude":12,"angle":174,"satellites":46,"speed":61,"hex_longitude":"2d118e00","hex_latitude":"06e2b730","is_valid_coordinates":true} 
[2026-09-04 22:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866456064001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398782288889905152,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263118987564701696,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788540850000,"timestamp_ms":1788540850000,"timestamp_seconds":1788540850,"priority":1,"record_length":96,"hex_timestamp":"000001a06d578f50"} 
[2026-09-04 22:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 22:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866456064001,"66":27300,"108":206,"81":20480,"24":61,"16":398782288889905152,"45":1263118987564701696},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-04 22:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866456064001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:26:06] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-04 22:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398782288889905152,"km_value":398782288889905.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263118987564701696,"description":"Unknown IO ID 45"} 
[2026-09-04 22:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866456064001,"power":27300,"unknown_108":206,"unknown_81":20480,"ignition":61,"odometer":null,"unknown_45":1263118987564701696}} 
[2026-09-04 22:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":172509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:26:06] local.INFO: GPS data processed {"connection_id":172509,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:26:06] local.INFO: Acknowledgment sent {"connection_id":172509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:26:07] local.INFO: TCP Data received {"connection_id":172509,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d57a2d8012d118dc006e29958000b00ba2e..."} 
[2026-09-04 22:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d57a2d8012d118dc006e29958000b00ba2e..."} 
[2026-09-04 22:26:07] local.INFO: Processing buffer {"connection_id":172509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d57a2d8012d118dc006e29958000b00ba2e..."} 
[2026-09-04 22:26:07] local.INFO: Packet analysis {"connection_id":172509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d57"} 
[2026-09-04 22:26:07] local.INFO: Extracted packet for processing {"connection_id":172509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d57"} 
[2026-09-04 22:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756125120,"raw_latitude":115513688,"longitude_deg":75.612512,"latitude_deg":11.5513688,"altitude":11,"angle":186,"satellites":46,"speed":59,"hex_longitude":"2d118dc0","hex_latitude":"06e29958","is_valid_coordinates":true} 
[2026-09-04 22:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866457600001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398782658257092608,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1264948574911148032,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788540855000,"timestamp_ms":1788540855000,"timestamp_seconds":1788540855,"priority":1,"record_length":96,"hex_timestamp":"000001a06d57a2d8"} 
[2026-09-04 22:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 22:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866457600001,"66":27234,"108":206,"81":20480,"24":59,"16":398782658257092608,"45":1264948574911148032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-04 22:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866457600001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:26:07] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-04 22:26:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398782658257092608,"km_value":398782658257092.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1264948574911148032,"description":"Unknown IO ID 45"} 
[2026-09-04 22:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866457600001,"power":27234,"unknown_108":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1264948574911148032}} 
[2026-09-04 22:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":172509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:26:07] local.INFO: GPS data processed {"connection_id":172509,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:26:07] local.INFO: Acknowledgment sent {"connection_id":172509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:26:24] local.INFO: TCP Data received {"connection_id":171100,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:26:24] local.INFO: Processing buffer {"connection_id":171100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:26:24] local.INFO: Packet analysis {"connection_id":171100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:26:24] local.INFO: Extracted packet for processing {"connection_id":171100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:26:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866393856001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788540902000,"timestamp_ms":1788540902000,"timestamp_seconds":1788540902,"priority":1,"record_length":96,"hex_timestamp":"000001a06d585a70"} 
[2026-09-04 22:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866393856001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866393856001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:26:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:26:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866393856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":171100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:26:24] local.INFO: GPS data processed {"connection_id":171100,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:26:24] local.INFO: Acknowledgment sent {"connection_id":171100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:26:26] local.INFO: TCP Data received {"connection_id":171101,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:26:26] local.INFO: Processing buffer {"connection_id":171101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:26:26] local.INFO: Packet analysis {"connection_id":171101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:26:26] local.INFO: Extracted packet for processing {"connection_id":171101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:26:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866355712001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788540753000,"timestamp_ms":1788540753000,"timestamp_seconds":1788540753,"priority":1,"record_length":96,"hex_timestamp":"000001a06d561468"} 
[2026-09-04 22:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866355712001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866355712001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:26:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:26:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866355712001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":171101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:26:26] local.INFO: GPS data processed {"connection_id":171101,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:26:26] local.INFO: Acknowledgment sent {"connection_id":171101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:26:38] local.INFO: TCP Data received {"connection_id":172509,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d58f2c8012d11cb0006e0c508000a00ac2f..."} 
[2026-09-04 22:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d58f2c8012d11cb0006e0c508000a00ac2f..."} 
[2026-09-04 22:26:38] local.INFO: Processing buffer {"connection_id":172509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d58f2c8012d11cb0006e0c508000a00ac2f..."} 
[2026-09-04 22:26:38] local.INFO: Packet analysis {"connection_id":172509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:26:38] local.INFO: Extracted packet for processing {"connection_id":172509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756140800,"raw_latitude":115393800,"longitude_deg":75.61408,"latitude_deg":11.53938,"altitude":10,"angle":172,"satellites":47,"speed":52,"hex_longitude":"2d11cb00","hex_latitude":"06e0c508","is_valid_coordinates":true} 
[2026-09-04 22:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866479104001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398788602491830272,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1281063017297637376,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788540941000,"timestamp_ms":1788540941000,"timestamp_seconds":1788540941,"priority":1,"record_length":96,"hex_timestamp":"000001a06d58f2c8"} 
[2026-09-04 22:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 22:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866479104001,"66":27180,"98":206,"81":20480,"24":52,"16":398788602491830272,"45":1281063017297637376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-09-04 22:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866479104001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:26:38] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-04 22:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398788602491830272,"km_value":398788602491830.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1281063017297637376,"description":"Unknown IO ID 45"} 
[2026-09-04 22:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866479104001,"power":27180,"unknown_98":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1281063017297637376}} 
[2026-09-04 22:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":172509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:26:38] local.INFO: GPS data processed {"connection_id":172509,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:26:38] local.INFO: Acknowledgment sent {"connection_id":172509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:26:47] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:26:47] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:26:47] local.INFO: IMEI packet received {"connection_id":173795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":173795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:26:49] local.INFO: TCP Data received {"connection_id":171396,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:26:49] local.INFO: Processing buffer {"connection_id":171396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:26:49] local.INFO: IMEI packet received {"connection_id":171396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":171396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:26:52] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:26:52] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:26:52] local.INFO: IMEI packet received {"connection_id":173795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":173795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:26:52] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:26:52] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:26:52] local.INFO: Packet analysis {"connection_id":173795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:26:52] local.INFO: Extracted packet for processing {"connection_id":173795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866393856001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788540902000,"timestamp_ms":1788540902000,"timestamp_seconds":1788540902,"priority":1,"record_length":96,"hex_timestamp":"000001a06d585a70"} 
[2026-09-04 22:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866393856001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866393856001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:26:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:26:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866393856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":173795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:26:53] local.INFO: GPS data processed {"connection_id":173795,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:26:53] local.INFO: Acknowledgment sent {"connection_id":173795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:26:53] local.INFO: TCP Data received {"connection_id":171396,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:26:53] local.INFO: Processing buffer {"connection_id":171396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:26:53] local.INFO: IMEI packet received {"connection_id":171396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":171396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:26:55] local.INFO: TCP Data received {"connection_id":171396,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:26:55] local.INFO: Processing buffer {"connection_id":171396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:26:55] local.INFO: Packet analysis {"connection_id":171396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:26:55] local.INFO: Extracted packet for processing {"connection_id":171396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:26:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866355712001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788540753000,"timestamp_ms":1788540753000,"timestamp_seconds":1788540753,"priority":1,"record_length":96,"hex_timestamp":"000001a06d561468"} 
[2026-09-04 22:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866355712001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866355712001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:26:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:26:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866355712001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":171396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:26:55] local.INFO: GPS data processed {"connection_id":171396,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:26:55] local.INFO: Acknowledgment sent {"connection_id":171396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:26:58] local.INFO: TCP Data received {"connection_id":172510,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:26:58] local.INFO: Processing buffer {"connection_id":172510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:26:58] local.INFO: IMEI packet received {"connection_id":172510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":172510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:26:58] local.INFO: TCP Data received {"connection_id":172510,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:26:58] local.INFO: Processing buffer {"connection_id":172510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:26:58] local.INFO: IMEI packet received {"connection_id":172510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":172510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:27:03] local.INFO: TCP Data received {"connection_id":172510,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:27:03] local.INFO: Processing buffer {"connection_id":172510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:27:03] local.INFO: IMEI packet received {"connection_id":172510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":172510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:27:04] local.INFO: TCP Data received {"connection_id":172510,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d591208012d11cf4006e09e38000c00ae2f..."} 
[2026-09-04 22:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d591208012d11cf4006e09e38000c00ae2f..."} 
[2026-09-04 22:27:04] local.INFO: Processing buffer {"connection_id":172510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d591208012d11cf4006e09e38000c00ae2f..."} 
[2026-09-04 22:27:04] local.INFO: Packet analysis {"connection_id":172510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d59"} 
[2026-09-04 22:27:04] local.INFO: Extracted packet for processing {"connection_id":172510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d59"} 
[2026-09-04 22:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756141888,"raw_latitude":115383864,"longitude_deg":75.6141888,"latitude_deg":11.5383864,"altitude":12,"angle":174,"satellites":47,"speed":47,"hex_longitude":"2d11cf40","hex_latitude":"06e09e38","is_valid_coordinates":true} 
[2026-09-04 22:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866480896001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398789087823134720,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1282118548457850880,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788540949000,"timestamp_ms":1788540949000,"timestamp_seconds":1788540949,"priority":1,"record_length":96,"hex_timestamp":"000001a06d591208"} 
[2026-09-04 22:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-04 22:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866480896001,"66":27267,"97":206,"81":20480,"24":47,"16":398789087823134720,"45":1282118548457850880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 22:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866480896001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:27:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 22:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398789087823134720,"km_value":398789087823134.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1282118548457850880,"description":"Unknown IO ID 45"} 
[2026-09-04 22:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866480896001,"power":27267,"unknown_97":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1282118548457850880}} 
[2026-09-04 22:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":172510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:27:04] local.INFO: GPS data processed {"connection_id":172510,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:27:04] local.INFO: Acknowledgment sent {"connection_id":172510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:27:23] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:27:23] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:27:23] local.INFO: Packet analysis {"connection_id":173795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:27:23] local.INFO: Extracted packet for processing {"connection_id":173795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866393856001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788540902000,"timestamp_ms":1788540902000,"timestamp_seconds":1788540902,"priority":1,"record_length":96,"hex_timestamp":"000001a06d585a70"} 
[2026-09-04 22:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866393856001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866393856001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:27:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866393856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":173795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:27:23] local.INFO: GPS data processed {"connection_id":173795,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:27:23] local.INFO: Acknowledgment sent {"connection_id":173795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:27:27] local.INFO: TCP Data received {"connection_id":171396,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:27:27] local.INFO: Processing buffer {"connection_id":171396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:27:27] local.INFO: Packet analysis {"connection_id":171396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:27:27] local.INFO: Extracted packet for processing {"connection_id":171396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:27:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866355712001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788540753000,"timestamp_ms":1788540753000,"timestamp_seconds":1788540753,"priority":1,"record_length":96,"hex_timestamp":"000001a06d561468"} 
[2026-09-04 22:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866355712001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866355712001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:27:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:27:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866355712001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":171396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:27:27] local.INFO: GPS data processed {"connection_id":171396,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:27:27] local.INFO: Acknowledgment sent {"connection_id":171396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:27:36] local.INFO: TCP Data received {"connection_id":172510,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d593148012d11d68006e079b8000d00a32e..."} 
[2026-09-04 22:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d593148012d11d68006e079b8000d00a32e..."} 
[2026-09-04 22:27:36] local.INFO: Processing buffer {"connection_id":172510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d593148012d11d68006e079b8000d00a32e..."} 
[2026-09-04 22:27:36] local.INFO: Packet analysis {"connection_id":172510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d59"} 
[2026-09-04 22:27:36] local.INFO: Extracted packet for processing {"connection_id":172510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d59"} 
[2026-09-04 22:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756143744,"raw_latitude":115374520,"longitude_deg":75.6143744,"latitude_deg":11.537452,"altitude":13,"angle":163,"satellites":46,"speed":48,"hex_longitude":"2d11d680","hex_latitude":"06e079b8","is_valid_coordinates":true} 
[2026-09-04 22:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866482944001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398789547384635392,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1283314817106327552,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788540957000,"timestamp_ms":1788540957000,"timestamp_seconds":1788540957,"priority":1,"record_length":96,"hex_timestamp":"000001a06d593148"} 
[2026-09-04 22:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 22:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866482944001,"66":27267,"97":206,"81":20480,"24":48,"16":398789547384635392,"45":1283314817106327552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 22:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866482944001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:27:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 22:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398789547384635392,"km_value":398789547384635.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1283314817106327552,"description":"Unknown IO ID 45"} 
[2026-09-04 22:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866482944001,"power":27267,"unknown_97":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1283314817106327552}} 
[2026-09-04 22:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":172510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:27:36] local.INFO: GPS data processed {"connection_id":172510,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:27:36] local.INFO: Acknowledgment sent {"connection_id":172510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:27:47] local.INFO: TCP Data received {"connection_id":171397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:27:47] local.INFO: Processing buffer {"connection_id":171397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:27:47] local.INFO: IMEI packet received {"connection_id":171397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":171397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:27:48] local.INFO: TCP Data received {"connection_id":172511,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:27:48] local.INFO: Processing buffer {"connection_id":172511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:27:48] local.INFO: IMEI packet received {"connection_id":172511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":172511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:27:52] local.INFO: TCP Data received {"connection_id":171397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:27:52] local.INFO: Processing buffer {"connection_id":171397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:27:52] local.INFO: IMEI packet received {"connection_id":171397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":171397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:27:52] local.INFO: TCP Data received {"connection_id":171397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:27:52] local.INFO: Processing buffer {"connection_id":171397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:27:52] local.INFO: Packet analysis {"connection_id":171397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:27:52] local.INFO: Extracted packet for processing {"connection_id":171397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:27:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866393856001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788540902000,"timestamp_ms":1788540902000,"timestamp_seconds":1788540902,"priority":1,"record_length":96,"hex_timestamp":"000001a06d585a70"} 
[2026-09-04 22:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866393856001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866393856001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:27:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:27:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866393856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":171397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:27:53] local.INFO: GPS data processed {"connection_id":171397,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:27:53] local.INFO: Acknowledgment sent {"connection_id":171397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:27:53] local.INFO: TCP Data received {"connection_id":172511,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:27:53] local.INFO: Processing buffer {"connection_id":172511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:27:53] local.INFO: IMEI packet received {"connection_id":172511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":172511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:27:54] local.INFO: TCP Data received {"connection_id":172511,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:27:54] local.INFO: Processing buffer {"connection_id":172511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d561468012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:27:54] local.INFO: Packet analysis {"connection_id":172511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:27:54] local.INFO: Extracted packet for processing {"connection_id":172511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d56"} 
[2026-09-04 22:27:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866355712001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788540753000,"timestamp_ms":1788540753000,"timestamp_seconds":1788540753,"priority":1,"record_length":96,"hex_timestamp":"000001a06d561468"} 
[2026-09-04 22:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866355712001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866355712001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:27:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:27:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866355712001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":172511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:27:55] local.INFO: GPS data processed {"connection_id":172511,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:27:55] local.INFO: Acknowledgment sent {"connection_id":172511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:27:58] local.INFO: TCP Data received {"connection_id":171102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:27:58] local.INFO: Processing buffer {"connection_id":171102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:27:58] local.INFO: IMEI packet received {"connection_id":171102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":171102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:28:02] local.INFO: TCP Data received {"connection_id":171102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:28:02] local.INFO: Processing buffer {"connection_id":171102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:28:02] local.INFO: IMEI packet received {"connection_id":171102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":171102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:28:03] local.INFO: TCP Data received {"connection_id":171102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:28:03] local.INFO: Processing buffer {"connection_id":171102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:28:03] local.INFO: IMEI packet received {"connection_id":171102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":171102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:28:04] local.INFO: TCP Data received {"connection_id":171102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d595088012d11e18006e05498000f00a12e..."} 
[2026-09-04 22:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d595088012d11e18006e05498000f00a12e..."} 
[2026-09-04 22:28:04] local.INFO: Processing buffer {"connection_id":171102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d595088012d11e18006e05498000f00a12e..."} 
[2026-09-04 22:28:04] local.INFO: Packet analysis {"connection_id":171102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d59"} 
[2026-09-04 22:28:04] local.INFO: Extracted packet for processing {"connection_id":171102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d59"} 
[2026-09-04 22:28:04] local.INFO: GPS Element Parsed {"raw_longitude":756146560,"raw_latitude":115365016,"longitude_deg":75.614656,"latitude_deg":11.5365016,"altitude":15,"angle":161,"satellites":46,"speed":48,"hex_longitude":"2d11e180","hex_latitude":"06e05498","is_valid_coordinates":true} 
[2026-09-04 22:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866484992001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398790028420972544,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1285355510685087744,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788540965000,"timestamp_ms":1788540965000,"timestamp_seconds":1788540965,"priority":1,"record_length":96,"hex_timestamp":"000001a06d595088"} 
[2026-09-04 22:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 22:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866484992001,"66":27267,"97":206,"81":20480,"24":48,"16":398790028420972544,"45":1285355510685087744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 22:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866484992001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:28:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 22:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398790028420972544,"km_value":398790028420972.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1285355510685087744,"description":"Unknown IO ID 45"} 
[2026-09-04 22:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866484992001,"power":27267,"unknown_97":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1285355510685087744}} 
[2026-09-04 22:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":171102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:28:04] local.INFO: GPS data processed {"connection_id":171102,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:28:04] local.INFO: Acknowledgment sent {"connection_id":171102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:28:09] local.INFO: TCP Data received {"connection_id":171102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d596fc8012d11ed0006e030e0001100a32f..."} 
[2026-09-04 22:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d596fc8012d11ed0006e030e0001100a32f..."} 
[2026-09-04 22:28:09] local.INFO: Processing buffer {"connection_id":171102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d596fc8012d11ed0006e030e0001100a32f..."} 
[2026-09-04 22:28:09] local.INFO: Packet analysis {"connection_id":171102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d59"} 
[2026-09-04 22:28:09] local.INFO: Extracted packet for processing {"connection_id":171102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d59"} 
[2026-09-04 22:28:09] local.INFO: GPS Element Parsed {"raw_longitude":756149504,"raw_latitude":115355872,"longitude_deg":75.6149504,"latitude_deg":11.5355872,"altitude":17,"angle":163,"satellites":47,"speed":48,"hex_longitude":"2d11ed00","hex_latitude":"06e030e0","is_valid_coordinates":true} 
[2026-09-04 22:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866487040001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398790496572407808,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1288451735426471936,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788540973000,"timestamp_ms":1788540973000,"timestamp_seconds":1788540973,"priority":1,"record_length":96,"hex_timestamp":"000001a06d596fc8"} 
[2026-09-04 22:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 22:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866487040001,"66":27321,"97":206,"81":20480,"24":48,"16":398790496572407808,"45":1288451735426471936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 22:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866487040001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 22:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398790496572407808,"km_value":398790496572407.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1288451735426471936,"description":"Unknown IO ID 45"} 
[2026-09-04 22:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866487040001,"power":27321,"unknown_97":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1288451735426471936}} 
[2026-09-04 22:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":171102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:28:09] local.INFO: GPS data processed {"connection_id":171102,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:28:09] local.INFO: Acknowledgment sent {"connection_id":171102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:28:23] local.INFO: TCP Data received {"connection_id":171397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:28:23] local.INFO: Processing buffer {"connection_id":171397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:28:23] local.INFO: Packet analysis {"connection_id":171397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:28:23] local.INFO: Extracted packet for processing {"connection_id":171397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:28:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866393856001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788540902000,"timestamp_ms":1788540902000,"timestamp_seconds":1788540902,"priority":1,"record_length":96,"hex_timestamp":"000001a06d585a70"} 
[2026-09-04 22:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866393856001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866393856001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:28:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:28:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866393856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":171397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:28:23] local.INFO: GPS data processed {"connection_id":171397,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:28:23] local.INFO: Acknowledgment sent {"connection_id":171397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:28:26] local.INFO: TCP Data received {"connection_id":172511,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:28:26] local.INFO: Processing buffer {"connection_id":172511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:28:26] local.INFO: Packet analysis {"connection_id":172511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:28:26] local.INFO: Extracted packet for processing {"connection_id":172511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:28:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866432768001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788541054000,"timestamp_ms":1788541054000,"timestamp_seconds":1788541054,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5aac30"} 
[2026-09-04 22:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866432768001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866432768001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:28:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:28:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866432768001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":172511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:28:26] local.INFO: GPS data processed {"connection_id":172511,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:28:26] local.INFO: Acknowledgment sent {"connection_id":172511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:28:40] local.INFO: TCP Data received {"connection_id":171102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5acb70012d124f8006de8b98000d00a22f..."} 
[2026-09-04 22:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5acb70012d124f8006de8b98000d00a22f..."} 
[2026-09-04 22:28:40] local.INFO: Processing buffer {"connection_id":171102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5acb70012d124f8006de8b98000d00a22f..."} 
[2026-09-04 22:28:40] local.INFO: Packet analysis {"connection_id":171102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:28:40] local.INFO: Extracted packet for processing {"connection_id":171102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:28:40] local.INFO: GPS Element Parsed {"raw_longitude":756174720,"raw_latitude":115248024,"longitude_deg":75.617472,"latitude_deg":11.5248024,"altitude":13,"angle":162,"satellites":47,"speed":22,"hex_longitude":"2d124f80","hex_latitude":"06de8b98","is_valid_coordinates":true} 
[2026-09-04 22:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866509056001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398795865281527808,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1316528864325586944,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788541062000,"timestamp_ms":1788541062000,"timestamp_seconds":1788541062,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5acb70"} 
[2026-09-04 22:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 22:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866509056001,"66":27267,"231":206,"81":20480,"24":22,"16":398795865281527808,"45":1316528864325586944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-04 22:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866509056001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:28:40] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-04 22:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398795865281527808,"km_value":398795865281527.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1316528864325586944,"description":"Unknown IO ID 45"} 
[2026-09-04 22:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866509056001,"power":27267,"unknown_231":206,"unknown_81":20480,"ignition":22,"odometer":null,"unknown_45":1316528864325586944}} 
[2026-09-04 22:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":171102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:28:40] local.INFO: GPS data processed {"connection_id":171102,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:28:40] local.INFO: Acknowledgment sent {"connection_id":171102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:28:47] local.INFO: TCP Data received {"connection_id":171103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:28:47] local.INFO: Processing buffer {"connection_id":171103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:28:47] local.INFO: IMEI packet received {"connection_id":171103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":171103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:28:52] local.INFO: TCP Data received {"connection_id":171103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:28:52] local.INFO: Processing buffer {"connection_id":171103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:28:52] local.INFO: IMEI packet received {"connection_id":171103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":171103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:28:53] local.INFO: TCP Data received {"connection_id":171103,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:28:53] local.INFO: Processing buffer {"connection_id":171103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:28:53] local.INFO: Packet analysis {"connection_id":171103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:28:53] local.INFO: Extracted packet for processing {"connection_id":171103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:28:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866393856001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788540902000,"timestamp_ms":1788540902000,"timestamp_seconds":1788540902,"priority":1,"record_length":96,"hex_timestamp":"000001a06d585a70"} 
[2026-09-04 22:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866393856001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866393856001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:28:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:28:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866393856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":171103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:28:53] local.INFO: GPS data processed {"connection_id":171103,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:28:53] local.INFO: Acknowledgment sent {"connection_id":171103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:28:53] local.INFO: TCP Data received {"connection_id":171398,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:28:53] local.INFO: Processing buffer {"connection_id":171398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:28:53] local.INFO: IMEI packet received {"connection_id":171398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":171398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:28:58] local.INFO: TCP Data received {"connection_id":171399,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:28:58] local.INFO: Processing buffer {"connection_id":171399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:28:58] local.INFO: IMEI packet received {"connection_id":171399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":171399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:28:58] local.INFO: TCP Data received {"connection_id":171398,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:28:58] local.INFO: Processing buffer {"connection_id":171398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:28:58] local.INFO: IMEI packet received {"connection_id":171398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":171398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:28:59] local.INFO: TCP Data received {"connection_id":171398,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:28:59] local.INFO: Processing buffer {"connection_id":171398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:28:59] local.INFO: Packet analysis {"connection_id":171398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:28:59] local.INFO: Extracted packet for processing {"connection_id":171398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866432768001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788541054000,"timestamp_ms":1788541054000,"timestamp_seconds":1788541054,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5aac30"} 
[2026-09-04 22:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866432768001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866432768001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:28:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:28:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866432768001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":171398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765836,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:28:59] local.INFO: GPS data processed {"connection_id":171398,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:28:59] local.INFO: Acknowledgment sent {"connection_id":171398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:29:03] local.INFO: TCP Data received {"connection_id":171399,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:29:03] local.INFO: Processing buffer {"connection_id":171399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:29:03] local.INFO: IMEI packet received {"connection_id":171399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":171399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:29:04] local.INFO: TCP Data received {"connection_id":171398,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:29:04] local.INFO: Processing buffer {"connection_id":171398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:29:04] local.INFO: Packet analysis {"connection_id":171398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:29:04] local.INFO: Extracted packet for processing {"connection_id":171398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866432768001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541054000,"timestamp_ms":1788541054000,"timestamp_seconds":1788541054,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5aac30"} 
[2026-09-04 22:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866432768001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866432768001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:29:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866432768001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":171398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:29:04] local.INFO: GPS data processed {"connection_id":171398,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:29:04] local.INFO: Acknowledgment sent {"connection_id":171398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:29:04] local.INFO: TCP Data received {"connection_id":171399,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5ae6c8012d12530006de82d8000d00952f..."} 
[2026-09-04 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5ae6c8012d12530006de82d8000d00952f..."} 
[2026-09-04 22:29:04] local.INFO: Processing buffer {"connection_id":171399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5ae6c8012d12530006de82d8000d00952f..."} 
[2026-09-04 22:29:04] local.INFO: Packet analysis {"connection_id":171399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:29:04] local.INFO: Extracted packet for processing {"connection_id":171399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:29:04] local.INFO: GPS Element Parsed {"raw_longitude":756175616,"raw_latitude":115245784,"longitude_deg":75.6175616,"latitude_deg":11.5245784,"altitude":13,"angle":149,"satellites":47,"speed":14,"hex_longitude":"2d125300","hex_latitude":"06de82d8","is_valid_coordinates":true} 
[2026-09-04 22:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866511872001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398795985540612096,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1319413982834694144,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541069000,"timestamp_ms":1788541069000,"timestamp_seconds":1788541069,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5ae6c8"} 
[2026-09-04 22:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 22:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866511872001,"66":27234,"231":206,"81":20480,"24":14,"16":398795985540612096,"45":1319413982834694144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-04 22:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866511872001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:29:04] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-04 22:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398795985540612096,"km_value":398795985540612.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1319413982834694144,"description":"Unknown IO ID 45"} 
[2026-09-04 22:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866511872001,"power":27234,"unknown_231":206,"unknown_81":20480,"ignition":14,"odometer":null,"unknown_45":1319413982834694144}} 
[2026-09-04 22:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":171399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:29:04] local.INFO: GPS data processed {"connection_id":171399,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:29:04] local.INFO: Acknowledgment sent {"connection_id":171399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:29:24] local.INFO: TCP Data received {"connection_id":171103,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:29:24] local.INFO: Processing buffer {"connection_id":171103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:29:24] local.INFO: Packet analysis {"connection_id":171103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:29:24] local.INFO: Extracted packet for processing {"connection_id":171103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:29:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866393856001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788540902000,"timestamp_ms":1788540902000,"timestamp_seconds":1788540902,"priority":1,"record_length":96,"hex_timestamp":"000001a06d585a70"} 
[2026-09-04 22:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866393856001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866393856001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:29:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:29:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866393856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":171103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:29:24] local.INFO: GPS data processed {"connection_id":171103,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:29:24] local.INFO: Acknowledgment sent {"connection_id":171103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:29:35] local.INFO: TCP Data received {"connection_id":171399,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5afa50012d12568006de7a98000e00a32f..."} 
[2026-09-04 22:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5afa50012d12568006de7a98000e00a32f..."} 
[2026-09-04 22:29:35] local.INFO: Processing buffer {"connection_id":171399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5afa50012d12568006de7a98000e00a32f..."} 
[2026-09-04 22:29:35] local.INFO: Packet analysis {"connection_id":171399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:29:35] local.INFO: Extracted packet for processing {"connection_id":171399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756176512,"raw_latitude":115243672,"longitude_deg":75.6176512,"latitude_deg":11.5243672,"altitude":14,"angle":163,"satellites":47,"speed":21,"hex_longitude":"2d125680","hex_latitude":"06de7a98","is_valid_coordinates":true} 
[2026-09-04 22:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866513664001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398796097209761792,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1320399145252608000,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788541074000,"timestamp_ms":1788541074000,"timestamp_seconds":1788541074,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5afa50"} 
[2026-09-04 22:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 22:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866513664001,"66":27300,"231":206,"81":20480,"24":21,"16":398796097209761792,"45":1320399145252608000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-04 22:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866513664001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:29:35] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-04 22:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398796097209761792,"km_value":398796097209761.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1320399145252608000,"description":"Unknown IO ID 45"} 
[2026-09-04 22:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866513664001,"power":27300,"unknown_231":206,"unknown_81":20480,"ignition":21,"odometer":null,"unknown_45":1320399145252608000}} 
[2026-09-04 22:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":171399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:29:35] local.INFO: GPS data processed {"connection_id":171399,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:29:35] local.INFO: Acknowledgment sent {"connection_id":171399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:29:47] local.INFO: TCP Data received {"connection_id":172512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:29:47] local.INFO: Processing buffer {"connection_id":172512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:29:47] local.INFO: IMEI packet received {"connection_id":172512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":172512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:29:52] local.INFO: TCP Data received {"connection_id":172512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:29:52] local.INFO: Processing buffer {"connection_id":172512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:29:52] local.INFO: IMEI packet received {"connection_id":172512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":172512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:29:53] local.INFO: TCP Data received {"connection_id":172512,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:29:53] local.INFO: Processing buffer {"connection_id":172512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:29:53] local.INFO: Packet analysis {"connection_id":172512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:29:53] local.INFO: Extracted packet for processing {"connection_id":172512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:29:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866393856001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788540902000,"timestamp_ms":1788540902000,"timestamp_seconds":1788540902,"priority":1,"record_length":96,"hex_timestamp":"000001a06d585a70"} 
[2026-09-04 22:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866393856001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866393856001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:29:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:29:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866393856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":172512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:29:53] local.INFO: GPS data processed {"connection_id":172512,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:29:53] local.INFO: Acknowledgment sent {"connection_id":172512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:29:53] local.INFO: TCP Data received {"connection_id":173796,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:29:53] local.INFO: Processing buffer {"connection_id":173796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:29:53] local.INFO: IMEI packet received {"connection_id":173796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":173796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:29:58] local.INFO: TCP Data received {"connection_id":173796,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:29:58] local.INFO: Processing buffer {"connection_id":173796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:29:58] local.INFO: IMEI packet received {"connection_id":173796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":173796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:30:00] local.INFO: TCP Data received {"connection_id":173796,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:30:00] local.INFO: Processing buffer {"connection_id":173796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:30:00] local.INFO: Packet analysis {"connection_id":173796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:30:00] local.INFO: Extracted packet for processing {"connection_id":173796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:30:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866432768001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788541054000,"timestamp_ms":1788541054000,"timestamp_seconds":1788541054,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5aac30"} 
[2026-09-04 22:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866432768001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866432768001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:30:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866432768001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":173796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:30:00] local.INFO: GPS data processed {"connection_id":173796,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:30:00] local.INFO: Acknowledgment sent {"connection_id":173796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:30:03] local.INFO: TCP Data received {"connection_id":171400,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:30:03] local.INFO: Processing buffer {"connection_id":171400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:30:03] local.INFO: IMEI packet received {"connection_id":171400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":171400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:30:05] local.INFO: TCP Data received {"connection_id":173796,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:30:05] local.INFO: Processing buffer {"connection_id":173796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:30:05] local.INFO: Packet analysis {"connection_id":173796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:30:05] local.INFO: Extracted packet for processing {"connection_id":173796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866432768001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788541054000,"timestamp_ms":1788541054000,"timestamp_seconds":1788541054,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5aac30"} 
[2026-09-04 22:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866432768001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866432768001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:30:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:30:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866432768001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":173796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765843,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:30:05] local.INFO: GPS data processed {"connection_id":173796,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:30:05] local.INFO: Acknowledgment sent {"connection_id":173796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:30:12] local.INFO: TCP Data received {"connection_id":171400,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:30:12] local.INFO: Processing buffer {"connection_id":171400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:30:12] local.INFO: IMEI packet received {"connection_id":171400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":171400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:30:13] local.INFO: TCP Data received {"connection_id":171400,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5b3100012d125e4006de56d0000e00a92d..."} 
[2026-09-04 22:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5b3100012d125e4006de56d0000e00a92d..."} 
[2026-09-04 22:30:13] local.INFO: Processing buffer {"connection_id":171400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5b3100012d125e4006de56d0000e00a92d..."} 
[2026-09-04 22:30:13] local.INFO: Packet analysis {"connection_id":171400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5b"} 
[2026-09-04 22:30:13] local.INFO: Extracted packet for processing {"connection_id":171400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5b"} 
[2026-09-04 22:30:13] local.INFO: GPS Element Parsed {"raw_longitude":756178496,"raw_latitude":115234512,"longitude_deg":75.6178496,"latitude_deg":11.5234512,"altitude":14,"angle":169,"satellites":45,"speed":32,"hex_longitude":"2d125e40","hex_latitude":"06de56d0","is_valid_coordinates":true} 
[2026-09-04 22:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866514944001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398796548181327872,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1321384307670554624,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788541088000,"timestamp_ms":1788541088000,"timestamp_seconds":1788541088,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5b3100"} 
[2026-09-04 22:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 22:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866514944001,"66":27267,"67":206,"81":20480,"24":32,"16":398796548181327872,"45":1321384307670554624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-04 22:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866514944001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:30:13] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-04 22:30:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398796548181327872,"km_value":398796548181327.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1321384307670554624,"description":"Unknown IO ID 45"} 
[2026-09-04 22:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866514944001,"power":27267,"unknown_67":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":1321384307670554624}} 
[2026-09-04 22:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":171400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:30:13] local.INFO: GPS data processed {"connection_id":171400,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:30:13] local.INFO: Acknowledgment sent {"connection_id":171400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:30:24] local.INFO: TCP Data received {"connection_id":172512,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:30:24] local.INFO: Processing buffer {"connection_id":172512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d585a70012d1965c0071fef800047011523..."} 
[2026-09-04 22:30:24] local.INFO: Packet analysis {"connection_id":172512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:30:24] local.INFO: Extracted packet for processing {"connection_id":172512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d58"} 
[2026-09-04 22:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866393856001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788540902000,"timestamp_ms":1788540902000,"timestamp_seconds":1788540902,"priority":1,"record_length":96,"hex_timestamp":"000001a06d585a70"} 
[2026-09-04 22:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866393856001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866393856001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:30:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866393856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":172512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:30:24] local.INFO: GPS data processed {"connection_id":172512,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:30:24] local.INFO: Acknowledgment sent {"connection_id":172512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:30:48] local.INFO: TCP Data received {"connection_id":173797,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:30:48] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:30:48] local.INFO: IMEI packet received {"connection_id":173797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":173797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:30:52] local.INFO: TCP Data received {"connection_id":173798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:30:52] local.INFO: Processing buffer {"connection_id":173798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:30:52] local.INFO: IMEI packet received {"connection_id":173798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":173798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:30:53] local.INFO: TCP Data received {"connection_id":173797,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:30:53] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:30:53] local.INFO: IMEI packet received {"connection_id":173797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":173797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:30:55] local.INFO: TCP Data received {"connection_id":173797,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:30:55] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:30:55] local.INFO: Packet analysis {"connection_id":173797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:30:55] local.INFO: Extracted packet for processing {"connection_id":173797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:30:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866432768001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788541054000,"timestamp_ms":1788541054000,"timestamp_seconds":1788541054,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5aac30"} 
[2026-09-04 22:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866432768001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866432768001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:30:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:30:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866432768001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":173797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765846,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:30:55] local.INFO: GPS data processed {"connection_id":173797,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:30:55] local.INFO: Acknowledgment sent {"connection_id":173797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:30:57] local.INFO: TCP Data received {"connection_id":173798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:30:57] local.INFO: Processing buffer {"connection_id":173798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:30:57] local.INFO: IMEI packet received {"connection_id":173798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":173798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:30:57] local.INFO: TCP Data received {"connection_id":171401,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:30:57] local.INFO: Processing buffer {"connection_id":171401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:30:57] local.INFO: IMEI packet received {"connection_id":171401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":171401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:30:57] local.INFO: TCP Data received {"connection_id":173798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:30:57] local.INFO: Processing buffer {"connection_id":173798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:30:57] local.INFO: Packet analysis {"connection_id":173798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:30:57] local.INFO: Extracted packet for processing {"connection_id":173798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:30:57] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866470912001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788541203000,"timestamp_ms":1788541203000,"timestamp_seconds":1788541203,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5cf238"} 
[2026-09-04 22:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866470912001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866470912001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:30:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866470912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":173798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:30:58] local.INFO: GPS data processed {"connection_id":173798,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:30:58] local.INFO: Acknowledgment sent {"connection_id":173798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:30:58] local.INFO: TCP Data received {"connection_id":171401,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:30:58] local.INFO: Processing buffer {"connection_id":171401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:30:58] local.INFO: IMEI packet received {"connection_id":171401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":171401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:31:02] local.INFO: TCP Data received {"connection_id":173798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:31:02] local.INFO: Processing buffer {"connection_id":173798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:31:02] local.INFO: Packet analysis {"connection_id":173798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:31:02] local.INFO: Extracted packet for processing {"connection_id":173798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866470912001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788541203000,"timestamp_ms":1788541203000,"timestamp_seconds":1788541203,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5cf238"} 
[2026-09-04 22:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866470912001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866470912001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:31:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:31:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866470912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":173798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:31:02] local.INFO: GPS data processed {"connection_id":173798,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:31:02] local.INFO: Acknowledgment sent {"connection_id":173798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:31:03] local.INFO: TCP Data received {"connection_id":171401,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:31:03] local.INFO: Processing buffer {"connection_id":171401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:31:03] local.INFO: IMEI packet received {"connection_id":171401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":171401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:31:04] local.INFO: TCP Data received {"connection_id":171401,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5cafd0012d12d5c006dce9a80013009b2c..."} 
[2026-09-04 22:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5cafd0012d12d5c006dce9a80013009b2c..."} 
[2026-09-04 22:31:04] local.INFO: Processing buffer {"connection_id":171401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5cafd0012d12d5c006dce9a80013009b2c..."} 
[2026-09-04 22:31:04] local.INFO: Packet analysis {"connection_id":171401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:31:04] local.INFO: Extracted packet for processing {"connection_id":171401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756209088,"raw_latitude":115141032,"longitude_deg":75.6209088,"latitude_deg":11.5141032,"altitude":19,"angle":155,"satellites":44,"speed":42,"hex_longitude":"2d12d5c0","hex_latitude":"06dce9a8","is_valid_coordinates":true} 
[2026-09-04 22:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866541312001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398801375724568576,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1353753929968218112,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541186000,"timestamp_ms":1788541186000,"timestamp_seconds":1788541186,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5cafd0"} 
[2026-09-04 22:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 22:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866541312001,"66":27321,"67":206,"81":20480,"24":42,"16":398801375724568576,"45":1353753929968218112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-04 22:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866541312001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:31:04] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-04 22:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398801375724568576,"km_value":398801375724568.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1353753929968218112,"description":"Unknown IO ID 45"} 
[2026-09-04 22:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866541312001,"power":27321,"unknown_67":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1353753929968218112}} 
[2026-09-04 22:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":171401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:31:04] local.INFO: GPS data processed {"connection_id":171401,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:31:04] local.INFO: Acknowledgment sent {"connection_id":171401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:31:26] local.INFO: TCP Data received {"connection_id":173797,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:31:26] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:31:26] local.INFO: Packet analysis {"connection_id":173797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:31:26] local.INFO: Extracted packet for processing {"connection_id":173797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:31:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866432768001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788541054000,"timestamp_ms":1788541054000,"timestamp_seconds":1788541054,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5aac30"} 
[2026-09-04 22:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866432768001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866432768001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:31:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:31:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866432768001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":173797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765850,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:31:26] local.INFO: GPS data processed {"connection_id":173797,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:31:26] local.INFO: Acknowledgment sent {"connection_id":173797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:31:35] local.INFO: TCP Data received {"connection_id":171401,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5cd2f8012d12e94006dcc838001200942e..."} 
[2026-09-04 22:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5cd2f8012d12e94006dcc838001200942e..."} 
[2026-09-04 22:31:35] local.INFO: Processing buffer {"connection_id":171401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5cd2f8012d12e94006dcc838001200942e..."} 
[2026-09-04 22:31:35] local.INFO: Packet analysis {"connection_id":171401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:31:35] local.INFO: Extracted packet for processing {"connection_id":171401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756214080,"raw_latitude":115132472,"longitude_deg":75.621408,"latitude_deg":11.5132472,"altitude":18,"angle":148,"satellites":46,"speed":43,"hex_longitude":"2d12e940","hex_latitude":"06dcc838","is_valid_coordinates":true} 
[2026-09-04 22:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866543616001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398801852465938432,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1357201998430709760,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788541195000,"timestamp_ms":1788541195000,"timestamp_seconds":1788541195,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5cd2f8"} 
[2026-09-04 22:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 22:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866543616001,"66":27267,"67":206,"81":20480,"24":43,"16":398801852465938432,"45":1357201998430709760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-04 22:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866543616001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:31:35] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-04 22:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398801852465938432,"km_value":398801852465938.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1357201998430709760,"description":"Unknown IO ID 45"} 
[2026-09-04 22:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866543616001,"power":27267,"unknown_67":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1357201998430709760}} 
[2026-09-04 22:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":171401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:31:35] local.INFO: GPS data processed {"connection_id":171401,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:31:35] local.INFO: Acknowledgment sent {"connection_id":171401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:31:48] local.INFO: TCP Data received {"connection_id":171104,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:31:48] local.INFO: Processing buffer {"connection_id":171104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:31:48] local.INFO: IMEI packet received {"connection_id":171104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":171104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:31:52] local.INFO: TCP Data received {"connection_id":171105,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:31:52] local.INFO: Processing buffer {"connection_id":171105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:31:52] local.INFO: IMEI packet received {"connection_id":171105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":171105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:31:53] local.INFO: TCP Data received {"connection_id":171104,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:31:53] local.INFO: Processing buffer {"connection_id":171104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:31:53] local.INFO: IMEI packet received {"connection_id":171104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":171104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:31:55] local.INFO: TCP Data received {"connection_id":171104,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:31:55] local.INFO: Processing buffer {"connection_id":171104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:31:55] local.INFO: Packet analysis {"connection_id":171104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:31:55] local.INFO: Extracted packet for processing {"connection_id":171104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:31:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866432768001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788541054000,"timestamp_ms":1788541054000,"timestamp_seconds":1788541054,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5aac30"} 
[2026-09-04 22:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866432768001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866432768001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:31:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866432768001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":171104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765852,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:31:55] local.INFO: GPS data processed {"connection_id":171104,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:31:55] local.INFO: Acknowledgment sent {"connection_id":171104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:31:56] local.INFO: TCP Data received {"connection_id":171402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:31:56] local.INFO: Processing buffer {"connection_id":171402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:31:56] local.INFO: IMEI packet received {"connection_id":171402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":171402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:31:57] local.INFO: TCP Data received {"connection_id":171105,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:31:57] local.INFO: Processing buffer {"connection_id":171105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:31:57] local.INFO: IMEI packet received {"connection_id":171105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":171105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:31:57] local.INFO: TCP Data received {"connection_id":171105,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:31:57] local.INFO: Processing buffer {"connection_id":171105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:31:57] local.INFO: Packet analysis {"connection_id":171105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:31:57] local.INFO: Extracted packet for processing {"connection_id":171105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866470912001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788541203000,"timestamp_ms":1788541203000,"timestamp_seconds":1788541203,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5cf238"} 
[2026-09-04 22:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866470912001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866470912001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:31:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:31:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866470912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":171105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:31:58] local.INFO: GPS data processed {"connection_id":171105,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:31:58] local.INFO: Acknowledgment sent {"connection_id":171105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:31:58] local.INFO: TCP Data received {"connection_id":171402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:31:58] local.INFO: Processing buffer {"connection_id":171402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:31:58] local.INFO: IMEI packet received {"connection_id":171402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":171402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:32:02] local.INFO: TCP Data received {"connection_id":171105,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:32:02] local.INFO: Processing buffer {"connection_id":171105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:32:02] local.INFO: Packet analysis {"connection_id":171105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:32:02] local.INFO: Extracted packet for processing {"connection_id":171105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866470912001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788541203000,"timestamp_ms":1788541203000,"timestamp_seconds":1788541203,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5cf238"} 
[2026-09-04 22:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866470912001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866470912001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:32:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:32:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866470912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":171105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:32:02] local.INFO: GPS data processed {"connection_id":171105,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:32:02] local.INFO: Acknowledgment sent {"connection_id":171105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:32:03] local.INFO: TCP Data received {"connection_id":171402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:32:03] local.INFO: Processing buffer {"connection_id":171402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:32:03] local.INFO: IMEI packet received {"connection_id":171402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":171402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:32:04] local.INFO: TCP Data received {"connection_id":171402,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5cf238012d12fcc006dca918000f00922d..."} 
[2026-09-04 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5cf238012d12fcc006dca918000f00922d..."} 
[2026-09-04 22:32:04] local.INFO: Processing buffer {"connection_id":171402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5cf238012d12fcc006dca918000f00922d..."} 
[2026-09-04 22:32:04] local.INFO: Packet analysis {"connection_id":171402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:32:04] local.INFO: Extracted packet for processing {"connection_id":171402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756219072,"raw_latitude":115124504,"longitude_deg":75.6219072,"latitude_deg":11.5124504,"altitude":15,"angle":146,"satellites":45,"speed":48,"hex_longitude":"2d12fcc0","hex_latitude":"06dca918","is_valid_coordinates":true} 
[2026-09-04 22:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866545920001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398802307732471808,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1362690760474376192,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541203000,"timestamp_ms":1788541203000,"timestamp_seconds":1788541203,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5cf238"} 
[2026-09-04 22:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 22:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866545920001,"66":27321,"152":206,"81":20480,"24":48,"16":398802307732471808,"45":1362690760474376192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-04 22:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866545920001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:32:04] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-04 22:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398802307732471808,"km_value":398802307732471.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1362690760474376192,"description":"Unknown IO ID 45"} 
[2026-09-04 22:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866545920001,"power":27321,"unknown_152":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1362690760474376192}} 
[2026-09-04 22:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":171402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:32:04] local.INFO: GPS data processed {"connection_id":171402,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:32:04] local.INFO: Acknowledgment sent {"connection_id":171402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:32:27] local.INFO: TCP Data received {"connection_id":171104,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:32:27] local.INFO: Processing buffer {"connection_id":171104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:32:27] local.INFO: Packet analysis {"connection_id":171104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:32:27] local.INFO: Extracted packet for processing {"connection_id":171104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:32:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866432768001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788541054000,"timestamp_ms":1788541054000,"timestamp_seconds":1788541054,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5aac30"} 
[2026-09-04 22:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866432768001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866432768001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:32:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:32:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866432768001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":171104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765856,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:32:27] local.INFO: GPS data processed {"connection_id":171104,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:32:27] local.INFO: Acknowledgment sent {"connection_id":171104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:32:35] local.INFO: TCP Data received {"connection_id":171402,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5e78d8012d13a90006db1260001000ad2b..."} 
[2026-09-04 22:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5e78d8012d13a90006db1260001000ad2b..."} 
[2026-09-04 22:32:35] local.INFO: Processing buffer {"connection_id":171402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5e78d8012d13a90006db1260001000ad2b..."} 
[2026-09-04 22:32:35] local.INFO: Packet analysis {"connection_id":171402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5e"} 
[2026-09-04 22:32:35] local.INFO: Extracted packet for processing {"connection_id":171402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5e"} 
[2026-09-04 22:32:35] local.INFO: GPS Element Parsed {"raw_longitude":756263168,"raw_latitude":115020384,"longitude_deg":75.6263168,"latitude_deg":11.5020384,"altitude":16,"angle":173,"satellites":43,"speed":47,"hex_longitude":"2d13a900","hex_latitude":"06db1260","is_valid_coordinates":true} 
[2026-09-04 22:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866571520001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398807800995643392,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1414482156162725888,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788541303000,"timestamp_ms":1788541303000,"timestamp_seconds":1788541303,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5e78d8"} 
[2026-09-04 22:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 22:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866571520001,"66":27321,"152":206,"81":20480,"24":47,"16":398807800995643392,"45":1414482156162725888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-04 22:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866571520001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:32:35] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-04 22:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398807800995643392,"km_value":398807800995643.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1414482156162725888,"description":"Unknown IO ID 45"} 
[2026-09-04 22:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866571520001,"power":27321,"unknown_152":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1414482156162725888}} 
[2026-09-04 22:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":171402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:32:35] local.INFO: GPS data processed {"connection_id":171402,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:32:35] local.INFO: Acknowledgment sent {"connection_id":171402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:32:47] local.INFO: TCP Data received {"connection_id":172513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:32:47] local.INFO: Processing buffer {"connection_id":172513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:32:47] local.INFO: IMEI packet received {"connection_id":172513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":172513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:32:48] local.INFO: TCP Data received {"connection_id":172514,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:32:48] local.INFO: Processing buffer {"connection_id":172514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:32:48] local.INFO: IMEI packet received {"connection_id":172514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":172514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:32:52] local.INFO: TCP Data received {"connection_id":172513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:32:52] local.INFO: Processing buffer {"connection_id":172513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:32:52] local.INFO: IMEI packet received {"connection_id":172513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":172513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:32:53] local.INFO: TCP Data received {"connection_id":172513,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:32:53] local.INFO: Processing buffer {"connection_id":172513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:32:53] local.INFO: Packet analysis {"connection_id":172513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:32:53] local.INFO: Extracted packet for processing {"connection_id":172513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:32:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866470912001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788541203000,"timestamp_ms":1788541203000,"timestamp_seconds":1788541203,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5cf238"} 
[2026-09-04 22:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866470912001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866470912001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:32:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:32:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866470912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":172513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:32:53] local.INFO: GPS data processed {"connection_id":172513,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:32:53] local.INFO: Acknowledgment sent {"connection_id":172513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:32:53] local.INFO: TCP Data received {"connection_id":172514,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:32:53] local.INFO: Processing buffer {"connection_id":172514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:32:53] local.INFO: IMEI packet received {"connection_id":172514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":172514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:32:55] local.INFO: TCP Data received {"connection_id":172514,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:32:55] local.INFO: Processing buffer {"connection_id":172514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5aac30012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:32:55] local.INFO: Packet analysis {"connection_id":172514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:32:55] local.INFO: Extracted packet for processing {"connection_id":172514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5a"} 
[2026-09-04 22:32:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866432768001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788541054000,"timestamp_ms":1788541054000,"timestamp_seconds":1788541054,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5aac30"} 
[2026-09-04 22:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866432768001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866432768001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:32:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866432768001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":172514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:32:55] local.INFO: GPS data processed {"connection_id":172514,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:32:55] local.INFO: Acknowledgment sent {"connection_id":172514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:32:58] local.INFO: TCP Data received {"connection_id":171403,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:32:58] local.INFO: Processing buffer {"connection_id":171403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:32:58] local.INFO: IMEI packet received {"connection_id":171403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":171403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:32:58] local.INFO: TCP Data received {"connection_id":171403,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:32:58] local.INFO: Processing buffer {"connection_id":171403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:32:58] local.INFO: IMEI packet received {"connection_id":171403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":171403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:33:03] local.INFO: TCP Data received {"connection_id":171403,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:33:04] local.INFO: Processing buffer {"connection_id":171403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:33:04] local.INFO: IMEI packet received {"connection_id":171403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":171403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:33:04] local.INFO: TCP Data received {"connection_id":171403,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5e78d8012d13a90006db1260001000ad2b..."} 
[2026-09-04 22:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5e78d8012d13a90006db1260001000ad2b..."} 
[2026-09-04 22:33:04] local.INFO: Processing buffer {"connection_id":171403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5e78d8012d13a90006db1260001000ad2b..."} 
[2026-09-04 22:33:04] local.INFO: Packet analysis {"connection_id":171403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5e"} 
[2026-09-04 22:33:04] local.INFO: Extracted packet for processing {"connection_id":171403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5e"} 
[2026-09-04 22:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756263168,"raw_latitude":115020384,"longitude_deg":75.6263168,"latitude_deg":11.5020384,"altitude":16,"angle":173,"satellites":43,"speed":47,"hex_longitude":"2d13a900","hex_latitude":"06db1260","is_valid_coordinates":true} 
[2026-09-04 22:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866573568001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398807800995643392,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1416663587229949952,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541303000,"timestamp_ms":1788541303000,"timestamp_seconds":1788541303,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5e78d8"} 
[2026-09-04 22:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 22:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866573568001,"66":27321,"152":206,"81":20480,"24":47,"16":398807800995643392,"45":1416663587229949952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-04 22:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866573568001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:33:04] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-04 22:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398807800995643392,"km_value":398807800995643.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1416663587229949952,"description":"Unknown IO ID 45"} 
[2026-09-04 22:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866573568001,"power":27321,"unknown_152":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1416663587229949952}} 
[2026-09-04 22:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":171403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:33:04] local.INFO: GPS data processed {"connection_id":171403,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:33:04] local.INFO: Acknowledgment sent {"connection_id":171403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:33:23] local.INFO: TCP Data received {"connection_id":172513,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:33:24] local.INFO: Processing buffer {"connection_id":172513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:33:24] local.INFO: Packet analysis {"connection_id":172513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:33:24] local.INFO: Extracted packet for processing {"connection_id":172513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:33:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866470912001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788541203000,"timestamp_ms":1788541203000,"timestamp_seconds":1788541203,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5cf238"} 
[2026-09-04 22:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866470912001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866470912001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:33:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:33:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866470912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":172513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:33:24] local.INFO: GPS data processed {"connection_id":172513,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:33:24] local.INFO: Acknowledgment sent {"connection_id":172513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:33:28] local.INFO: TCP Data received {"connection_id":172514,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:33:28] local.INFO: Processing buffer {"connection_id":172514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:33:28] local.INFO: Packet analysis {"connection_id":172514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:33:28] local.INFO: Extracted packet for processing {"connection_id":172514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:33:28] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866509824001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788541355000,"timestamp_ms":1788541355000,"timestamp_seconds":1788541355,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5f43f8"} 
[2026-09-04 22:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866509824001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866509824001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:33:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:33:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866509824001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":172514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765862,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:33:28] local.INFO: GPS data processed {"connection_id":172514,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:33:28] local.INFO: Acknowledgment sent {"connection_id":172514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:33:36] local.INFO: TCP Data received {"connection_id":171403,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5e9818012d13aa4006daeb80000f00b42c..."} 
[2026-09-04 22:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5e9818012d13aa4006daeb80000f00b42c..."} 
[2026-09-04 22:33:36] local.INFO: Processing buffer {"connection_id":171403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5e9818012d13aa4006daeb80000f00b42c..."} 
[2026-09-04 22:33:36] local.INFO: Packet analysis {"connection_id":171403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5e"} 
[2026-09-04 22:33:36] local.INFO: Extracted packet for processing {"connection_id":171403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5e"} 
[2026-09-04 22:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756263488,"raw_latitude":115010432,"longitude_deg":75.6263488,"latitude_deg":11.5010432,"altitude":15,"angle":180,"satellites":44,"speed":50,"hex_longitude":"2d13aa40","hex_latitude":"06daeb80","is_valid_coordinates":true} 
[2026-09-04 22:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866573568001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398808282031980544,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1416663587229949952,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788541311000,"timestamp_ms":1788541311000,"timestamp_seconds":1788541311,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5e9818"} 
[2026-09-04 22:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 22:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866573568001,"66":27245,"88":206,"81":20480,"24":50,"16":398808282031980544,"45":1416663587229949952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-09-04 22:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866573568001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:33:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-04 22:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398808282031980544,"km_value":398808282031980.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1416663587229949952,"description":"Unknown IO ID 45"} 
[2026-09-04 22:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866573568001,"power":27245,"unknown_88":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1416663587229949952}} 
[2026-09-04 22:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":171403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:33:36] local.INFO: GPS data processed {"connection_id":171403,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:33:36] local.INFO: Acknowledgment sent {"connection_id":171403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:33:47] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:33:47] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:33:47] local.INFO: IMEI packet received {"connection_id":171404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":171404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:33:48] local.INFO: TCP Data received {"connection_id":172515,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:33:48] local.INFO: Processing buffer {"connection_id":172515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:33:48] local.INFO: IMEI packet received {"connection_id":172515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":172515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:33:52] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:33:52] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:33:52] local.INFO: IMEI packet received {"connection_id":171404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":171404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:33:53] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:33:53] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:33:53] local.INFO: Packet analysis {"connection_id":171404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:33:53] local.INFO: Extracted packet for processing {"connection_id":171404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:33:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866470912001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788541203000,"timestamp_ms":1788541203000,"timestamp_seconds":1788541203,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5cf238"} 
[2026-09-04 22:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866470912001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866470912001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:33:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:33:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866470912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":171404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:33:53] local.INFO: GPS data processed {"connection_id":171404,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:33:53] local.INFO: Acknowledgment sent {"connection_id":171404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:33:53] local.INFO: TCP Data received {"connection_id":172515,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:33:53] local.INFO: Processing buffer {"connection_id":172515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:33:53] local.INFO: IMEI packet received {"connection_id":172515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":172515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:33:55] local.INFO: TCP Data received {"connection_id":172515,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:33:55] local.INFO: Processing buffer {"connection_id":172515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:33:55] local.INFO: Packet analysis {"connection_id":172515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:33:55] local.INFO: Extracted packet for processing {"connection_id":172515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:33:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866509824001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788541355000,"timestamp_ms":1788541355000,"timestamp_seconds":1788541355,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5f43f8"} 
[2026-09-04 22:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866509824001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866509824001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:33:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866509824001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":172515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765865,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:33:55] local.INFO: GPS data processed {"connection_id":172515,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:33:55] local.INFO: Acknowledgment sent {"connection_id":172515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:33:58] local.INFO: TCP Data received {"connection_id":171106,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:33:58] local.INFO: Processing buffer {"connection_id":171106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:33:58] local.INFO: IMEI packet received {"connection_id":171106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":171106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:34:02] local.INFO: TCP Data received {"connection_id":171106,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:34:02] local.INFO: Processing buffer {"connection_id":171106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:34:02] local.INFO: IMEI packet received {"connection_id":171106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":171106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:34:03] local.INFO: TCP Data received {"connection_id":171106,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:34:03] local.INFO: Processing buffer {"connection_id":171106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:34:03] local.INFO: IMEI packet received {"connection_id":171106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":171106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:34:04] local.INFO: TCP Data received {"connection_id":171106,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5eb370012d13aa4006dac8b0000e00b02d..."} 
[2026-09-04 22:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5eb370012d13aa4006dac8b0000e00b02d..."} 
[2026-09-04 22:34:04] local.INFO: Processing buffer {"connection_id":171106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5eb370012d13aa4006dac8b0000e00b02d..."} 
[2026-09-04 22:34:04] local.INFO: Packet analysis {"connection_id":171106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5e"} 
[2026-09-04 22:34:04] local.INFO: Extracted packet for processing {"connection_id":171106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5e"} 
[2026-09-04 22:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756263488,"raw_latitude":115001520,"longitude_deg":75.6263488,"latitude_deg":11.500152,"altitude":14,"angle":176,"satellites":45,"speed":50,"hex_longitude":"2d13aa40","hex_latitude":"06dac8b0","is_valid_coordinates":true} 
[2026-09-04 22:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866575616001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398808715823677440,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1417015430948290560,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541318000,"timestamp_ms":1788541318000,"timestamp_seconds":1788541318,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5eb370"} 
[2026-09-04 22:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 22:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866575616001,"66":27343,"88":206,"81":20480,"24":50,"16":398808715823677440,"45":1417015430948290560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-09-04 22:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866575616001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:34:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-04 22:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398808715823677440,"km_value":398808715823677.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1417015430948290560,"description":"Unknown IO ID 45"} 
[2026-09-04 22:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866575616001,"power":27343,"unknown_88":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1417015430948290560}} 
[2026-09-04 22:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":171106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:34:04] local.INFO: GPS data processed {"connection_id":171106,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:34:04] local.INFO: Acknowledgment sent {"connection_id":171106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:34:08] local.INFO: TCP Data received {"connection_id":171106,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5ecae0012d13af8006daab88000e00a42d..."} 
[2026-09-04 22:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5ecae0012d13af8006daab88000e00a42d..."} 
[2026-09-04 22:34:08] local.INFO: Processing buffer {"connection_id":171106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5ecae0012d13af8006daab88000e00a42d..."} 
[2026-09-04 22:34:08] local.INFO: Packet analysis {"connection_id":171106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5e"} 
[2026-09-04 22:34:08] local.INFO: Extracted packet for processing {"connection_id":171106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5e"} 
[2026-09-04 22:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756264832,"raw_latitude":114994056,"longitude_deg":75.6264832,"latitude_deg":11.4994056,"altitude":14,"angle":164,"satellites":45,"speed":49,"hex_longitude":"2d13af80","hex_latitude":"06daab88","is_valid_coordinates":true} 
[2026-09-04 22:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866577408001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398809085190864896,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1417015430946009088,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788541324000,"timestamp_ms":1788541324000,"timestamp_seconds":1788541324,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5ecae0"} 
[2026-09-04 22:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 22:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866577408001,"66":27234,"88":206,"81":20480,"24":49,"16":398809085190864896,"45":1417015430946009088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-09-04 22:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866577408001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:34:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-04 22:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398809085190864896,"km_value":398809085190864.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1417015430946009088,"description":"Unknown IO ID 45"} 
[2026-09-04 22:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866577408001,"power":27234,"unknown_88":206,"unknown_81":20480,"ignition":49,"odometer":null,"unknown_45":1417015430946009088}} 
[2026-09-04 22:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":171106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:34:08] local.INFO: GPS data processed {"connection_id":171106,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:34:08] local.INFO: Acknowledgment sent {"connection_id":171106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:34:24] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:34:24] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:34:24] local.INFO: Packet analysis {"connection_id":171404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:34:24] local.INFO: Extracted packet for processing {"connection_id":171404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:34:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866470912001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788541203000,"timestamp_ms":1788541203000,"timestamp_seconds":1788541203,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5cf238"} 
[2026-09-04 22:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866470912001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866470912001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:34:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:34:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866470912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":171404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:34:24] local.INFO: GPS data processed {"connection_id":171404,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:34:24] local.INFO: Acknowledgment sent {"connection_id":171404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:34:27] local.INFO: TCP Data received {"connection_id":172515,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:34:27] local.INFO: Processing buffer {"connection_id":172515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:34:27] local.INFO: Packet analysis {"connection_id":172515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:34:27] local.INFO: Extracted packet for processing {"connection_id":172515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:34:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866509824001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788541355000,"timestamp_ms":1788541355000,"timestamp_seconds":1788541355,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5f43f8"} 
[2026-09-04 22:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866509824001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866509824001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:34:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866509824001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":172515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:34:27] local.INFO: GPS data processed {"connection_id":172515,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:34:27] local.INFO: Acknowledgment sent {"connection_id":172515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:34:41] local.INFO: TCP Data received {"connection_id":171106,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d603628012d13fa8006d90698001000932c..."} 
[2026-09-04 22:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d603628012d13fa8006d90698001000932c..."} 
[2026-09-04 22:34:41] local.INFO: Processing buffer {"connection_id":171106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d603628012d13fa8006d90698001000932c..."} 
[2026-09-04 22:34:41] local.INFO: Packet analysis {"connection_id":171106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d60"} 
[2026-09-04 22:34:41] local.INFO: Extracted packet for processing {"connection_id":171106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d60"} 
[2026-09-04 22:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756284032,"raw_latitude":114886296,"longitude_deg":75.6284032,"latitude_deg":11.4886296,"altitude":16,"angle":147,"satellites":44,"speed":48,"hex_longitude":"2d13fa80","hex_latitude":"06d90698","is_valid_coordinates":true} 
[2026-09-04 22:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866600704001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398814483964755968,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1433833560777111552,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788541417000,"timestamp_ms":1788541417000,"timestamp_seconds":1788541417,"priority":1,"record_length":96,"hex_timestamp":"000001a06d603628"} 
[2026-09-04 22:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 22:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866600704001,"66":27332,"184":206,"81":20480,"24":48,"16":398814483964755968,"45":1433833560777111552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-04 22:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866600704001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:34:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-04 22:34:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398814483964755968,"km_value":398814483964755.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1433833560777111552,"description":"Unknown IO ID 45"} 
[2026-09-04 22:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866600704001,"power":27332,"unknown_184":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1433833560777111552}} 
[2026-09-04 22:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":171106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:34:41] local.INFO: GPS data processed {"connection_id":171106,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:34:41] local.INFO: Acknowledgment sent {"connection_id":171106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:34:47] local.INFO: TCP Data received {"connection_id":171405,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:34:47] local.INFO: Processing buffer {"connection_id":171405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:34:47] local.INFO: IMEI packet received {"connection_id":171405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":171405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:34:49] local.INFO: TCP Data received {"connection_id":171406,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:34:49] local.INFO: Processing buffer {"connection_id":171406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:34:49] local.INFO: IMEI packet received {"connection_id":171406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":171406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:34:52] local.INFO: TCP Data received {"connection_id":171405,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:34:52] local.INFO: Processing buffer {"connection_id":171405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:34:52] local.INFO: IMEI packet received {"connection_id":171405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":171405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:34:52] local.INFO: TCP Data received {"connection_id":171405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:34:52] local.INFO: Processing buffer {"connection_id":171405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:34:52] local.INFO: Packet analysis {"connection_id":171405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:34:52] local.INFO: Extracted packet for processing {"connection_id":171405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866470912001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788541203000,"timestamp_ms":1788541203000,"timestamp_seconds":1788541203,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5cf238"} 
[2026-09-04 22:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866470912001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866470912001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:34:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:34:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866470912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":171405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:34:53] local.INFO: GPS data processed {"connection_id":171405,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:34:53] local.INFO: Acknowledgment sent {"connection_id":171405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:34:53] local.INFO: TCP Data received {"connection_id":171406,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:34:53] local.INFO: Processing buffer {"connection_id":171406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:34:53] local.INFO: IMEI packet received {"connection_id":171406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":171406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:34:54] local.INFO: TCP Data received {"connection_id":171406,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:34:54] local.INFO: Processing buffer {"connection_id":171406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:34:54] local.INFO: Packet analysis {"connection_id":171406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:34:54] local.INFO: Extracted packet for processing {"connection_id":171406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:34:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866509824001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788541355000,"timestamp_ms":1788541355000,"timestamp_seconds":1788541355,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5f43f8"} 
[2026-09-04 22:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866509824001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866509824001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:34:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:34:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866509824001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":171406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765872,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:34:54] local.INFO: GPS data processed {"connection_id":171406,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:34:54] local.INFO: Acknowledgment sent {"connection_id":171406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:34:58] local.INFO: TCP Data received {"connection_id":171407,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:34:58] local.INFO: Processing buffer {"connection_id":171407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:34:58] local.INFO: IMEI packet received {"connection_id":171407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":171407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:35:02] local.INFO: TCP Data received {"connection_id":171407,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:35:02] local.INFO: Processing buffer {"connection_id":171407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:35:02] local.INFO: IMEI packet received {"connection_id":171407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":171407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:35:03] local.INFO: TCP Data received {"connection_id":171407,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:35:03] local.INFO: Processing buffer {"connection_id":171407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:35:03] local.INFO: IMEI packet received {"connection_id":171407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":171407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:35:04] local.INFO: TCP Data received {"connection_id":171407,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d605568012d140e4006d8e6e8001000942c..."} 
[2026-09-04 22:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d605568012d140e4006d8e6e8001000942c..."} 
[2026-09-04 22:35:04] local.INFO: Processing buffer {"connection_id":171407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d605568012d140e4006d8e6e8001000942c..."} 
[2026-09-04 22:35:04] local.INFO: Packet analysis {"connection_id":171407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d60"} 
[2026-09-04 22:35:04] local.INFO: Extracted packet for processing {"connection_id":171407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d60"} 
[2026-09-04 22:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756289088,"raw_latitude":114878184,"longitude_deg":75.6289088,"latitude_deg":11.4878184,"altitude":16,"angle":148,"satellites":44,"speed":46,"hex_longitude":"2d140e40","hex_latitude":"06d8e6e8","is_valid_coordinates":true} 
[2026-09-04 22:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866602752001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398814943526256640,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1439603797797541888,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541425000,"timestamp_ms":1788541425000,"timestamp_seconds":1788541425,"priority":1,"record_length":96,"hex_timestamp":"000001a06d605568"} 
[2026-09-04 22:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 22:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866602752001,"66":27365,"184":206,"81":20480,"24":46,"16":398814943526256640,"45":1439603797797541888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-04 22:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866602752001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:35:04] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-04 22:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398814943526256640,"km_value":398814943526256.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1439603797797541888,"description":"Unknown IO ID 45"} 
[2026-09-04 22:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866602752001,"power":27365,"unknown_184":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1439603797797541888}} 
[2026-09-04 22:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":171407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:35:04] local.INFO: GPS data processed {"connection_id":171407,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:35:04] local.INFO: Acknowledgment sent {"connection_id":171407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:35:23] local.INFO: TCP Data received {"connection_id":171405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:35:23] local.INFO: Processing buffer {"connection_id":171405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5cf238012d1965c0071fef800047011521..."} 
[2026-09-04 22:35:23] local.INFO: Packet analysis {"connection_id":171405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:35:23] local.INFO: Extracted packet for processing {"connection_id":171405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5c"} 
[2026-09-04 22:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866470912001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788541203000,"timestamp_ms":1788541203000,"timestamp_seconds":1788541203,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5cf238"} 
[2026-09-04 22:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866470912001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866470912001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:35:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:35:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866470912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":171405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:35:23] local.INFO: GPS data processed {"connection_id":171405,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:35:23] local.INFO: Acknowledgment sent {"connection_id":171405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:35:26] local.INFO: TCP Data received {"connection_id":171406,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:35:26] local.INFO: Processing buffer {"connection_id":171406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:35:26] local.INFO: Packet analysis {"connection_id":171406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:35:26] local.INFO: Extracted packet for processing {"connection_id":171406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:35:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866509824001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788541355000,"timestamp_ms":1788541355000,"timestamp_seconds":1788541355,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5f43f8"} 
[2026-09-04 22:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866509824001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866509824001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:35:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:35:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866509824001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":171406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:35:27] local.INFO: GPS data processed {"connection_id":171406,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:35:27] local.INFO: Acknowledgment sent {"connection_id":171406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:35:36] local.INFO: TCP Data received {"connection_id":171407,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6074a8012d141fc006d8c6800012009a2b..."} 
[2026-09-04 22:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6074a8012d141fc006d8c6800012009a2b..."} 
[2026-09-04 22:35:36] local.INFO: Processing buffer {"connection_id":171407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6074a8012d141fc006d8c6800012009a2b..."} 
[2026-09-04 22:35:36] local.INFO: Packet analysis {"connection_id":171407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d60"} 
[2026-09-04 22:35:36] local.INFO: Extracted packet for processing {"connection_id":171407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d60"} 
[2026-09-04 22:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756293568,"raw_latitude":114869888,"longitude_deg":75.6293568,"latitude_deg":11.4869888,"altitude":18,"angle":154,"satellites":43,"speed":46,"hex_longitude":"2d141fc0","hex_latitude":"06d8c680","is_valid_coordinates":true} 
[2026-09-04 22:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866604800001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398815403087757312,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1445162928585500672,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788541433000,"timestamp_ms":1788541433000,"timestamp_seconds":1788541433,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6074a8"} 
[2026-09-04 22:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 22:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866604800001,"66":27365,"184":206,"81":20480,"24":46,"16":398815403087757312,"45":1445162928585500672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-04 22:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866604800001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:35:36] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-04 22:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398815403087757312,"km_value":398815403087757.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1445162928585500672,"description":"Unknown IO ID 45"} 
[2026-09-04 22:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866604800001,"power":27365,"unknown_184":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1445162928585500672}} 
[2026-09-04 22:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":171407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:35:36] local.INFO: GPS data processed {"connection_id":171407,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:35:36] local.INFO: Acknowledgment sent {"connection_id":171407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:35:47] local.INFO: TCP Data received {"connection_id":173799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:35:47] local.INFO: Processing buffer {"connection_id":173799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:35:47] local.INFO: IMEI packet received {"connection_id":173799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":173799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:35:48] local.INFO: TCP Data received {"connection_id":171107,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:35:48] local.INFO: Processing buffer {"connection_id":171107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:35:48] local.INFO: IMEI packet received {"connection_id":171107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":171107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:35:52] local.INFO: TCP Data received {"connection_id":173799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:35:52] local.INFO: Processing buffer {"connection_id":173799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:35:52] local.INFO: IMEI packet received {"connection_id":173799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":173799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:35:52] local.INFO: TCP Data received {"connection_id":173799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:35:52] local.INFO: Processing buffer {"connection_id":173799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:35:52] local.INFO: Packet analysis {"connection_id":173799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:35:52] local.INFO: Extracted packet for processing {"connection_id":173799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:35:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866547968001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788541504000,"timestamp_ms":1788541504000,"timestamp_seconds":1788541504,"priority":1,"record_length":96,"hex_timestamp":"000001a06d618a00"} 
[2026-09-04 22:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866547968001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866547968001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:35:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:35:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866547968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":173799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:35:53] local.INFO: GPS data processed {"connection_id":173799,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:35:53] local.INFO: Acknowledgment sent {"connection_id":173799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:35:53] local.INFO: TCP Data received {"connection_id":171107,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:35:53] local.INFO: Processing buffer {"connection_id":171107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:35:53] local.INFO: IMEI packet received {"connection_id":171107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":171107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:35:55] local.INFO: TCP Data received {"connection_id":171107,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:35:55] local.INFO: Processing buffer {"connection_id":171107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:35:55] local.INFO: Packet analysis {"connection_id":171107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:35:55] local.INFO: Extracted packet for processing {"connection_id":171107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866509824001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788541355000,"timestamp_ms":1788541355000,"timestamp_seconds":1788541355,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5f43f8"} 
[2026-09-04 22:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866509824001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866509824001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:35:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866509824001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":171107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:35:55] local.INFO: GPS data processed {"connection_id":171107,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:35:55] local.INFO: Acknowledgment sent {"connection_id":171107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:36:03] local.INFO: TCP Data received {"connection_id":172516,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:36:03] local.INFO: Processing buffer {"connection_id":172516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:36:03] local.INFO: IMEI packet received {"connection_id":172516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":172516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:36:04] local.INFO: TCP Data received {"connection_id":172516,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:36:04] local.INFO: Processing buffer {"connection_id":172516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:36:04] local.INFO: IMEI packet received {"connection_id":172516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":172516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:36:05] local.INFO: TCP Data received {"connection_id":172516,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6093e8012d142ec006d8a6680012009a2c..."} 
[2026-09-04 22:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6093e8012d142ec006d8a6680012009a2c..."} 
[2026-09-04 22:36:05] local.INFO: Processing buffer {"connection_id":172516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6093e8012d142ec006d8a6680012009a2c..."} 
[2026-09-04 22:36:05] local.INFO: Packet analysis {"connection_id":172516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d60"} 
[2026-09-04 22:36:05] local.INFO: Extracted packet for processing {"connection_id":172516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d60"} 
[2026-09-04 22:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756297408,"raw_latitude":114861672,"longitude_deg":75.6297408,"latitude_deg":11.4861672,"altitude":18,"angle":154,"satellites":44,"speed":46,"hex_longitude":"2d142ec0","hex_latitude":"06d8a668","is_valid_coordinates":true} 
[2026-09-04 22:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866606848001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398815841174421504,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1450088740675813376,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788541441000,"timestamp_ms":1788541441000,"timestamp_seconds":1788541441,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6093e8"} 
[2026-09-04 22:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 22:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866606848001,"66":27300,"184":206,"81":20480,"24":46,"16":398815841174421504,"45":1450088740675813376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-04 22:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866606848001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:36:05] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-04 22:36:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398815841174421504,"km_value":398815841174421.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1450088740675813376,"description":"Unknown IO ID 45"} 
[2026-09-04 22:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866606848001,"power":27300,"unknown_184":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1450088740675813376}} 
[2026-09-04 22:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":172516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:36:05] local.INFO: GPS data processed {"connection_id":172516,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:36:05] local.INFO: Acknowledgment sent {"connection_id":172516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:36:09] local.INFO: TCP Data received {"connection_id":172516,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d60b328012d143ec006d883c80012009e2c..."} 
[2026-09-04 22:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d60b328012d143ec006d883c80012009e2c..."} 
[2026-09-04 22:36:09] local.INFO: Processing buffer {"connection_id":172516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d60b328012d143ec006d883c80012009e2c..."} 
[2026-09-04 22:36:09] local.INFO: Packet analysis {"connection_id":172516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d60"} 
[2026-09-04 22:36:09] local.INFO: Extracted packet for processing {"connection_id":172516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d60"} 
[2026-09-04 22:36:09] local.INFO: GPS Element Parsed {"raw_longitude":756301504,"raw_latitude":114852808,"longitude_deg":75.6301504,"latitude_deg":11.4852808,"altitude":18,"angle":158,"satellites":44,"speed":50,"hex_longitude":"2d143ec0","hex_latitude":"06d883c8","is_valid_coordinates":true} 
[2026-09-04 22:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866608896001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398816309325856768,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1454310865324369920,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788541449000,"timestamp_ms":1788541449000,"timestamp_seconds":1788541449,"priority":1,"record_length":96,"hex_timestamp":"000001a06d60b328"} 
[2026-09-04 22:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 22:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866608896001,"66":27332,"184":206,"81":20480,"24":50,"16":398816309325856768,"45":1454310865324369920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-04 22:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866608896001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:36:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-04 22:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398816309325856768,"km_value":398816309325856.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1454310865324369920,"description":"Unknown IO ID 45"} 
[2026-09-04 22:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866608896001,"power":27332,"unknown_184":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1454310865324369920}} 
[2026-09-04 22:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":172516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:36:09] local.INFO: GPS data processed {"connection_id":172516,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:36:09] local.INFO: Acknowledgment sent {"connection_id":172516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:36:23] local.INFO: TCP Data received {"connection_id":173799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:36:23] local.INFO: Processing buffer {"connection_id":173799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:36:23] local.INFO: Packet analysis {"connection_id":173799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:36:23] local.INFO: Extracted packet for processing {"connection_id":173799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866547968001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788541504000,"timestamp_ms":1788541504000,"timestamp_seconds":1788541504,"priority":1,"record_length":96,"hex_timestamp":"000001a06d618a00"} 
[2026-09-04 22:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866547968001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866547968001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:36:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866547968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":173799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:36:24] local.INFO: GPS data processed {"connection_id":173799,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:36:24] local.INFO: Acknowledgment sent {"connection_id":173799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:36:27] local.INFO: TCP Data received {"connection_id":171107,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:36:27] local.INFO: Processing buffer {"connection_id":171107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:36:27] local.INFO: Packet analysis {"connection_id":171107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:36:27] local.INFO: Extracted packet for processing {"connection_id":171107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:36:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866509824001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788541355000,"timestamp_ms":1788541355000,"timestamp_seconds":1788541355,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5f43f8"} 
[2026-09-04 22:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866509824001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866509824001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:36:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:36:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866509824001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":171107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765882,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:36:27] local.INFO: GPS data processed {"connection_id":171107,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:36:27] local.INFO: Acknowledgment sent {"connection_id":171107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:36:40] local.INFO: TCP Data received {"connection_id":172516,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6212b8012d15558006d748c0000e00882a..."} 
[2026-09-04 22:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6212b8012d15558006d748c0000e00882a..."} 
[2026-09-04 22:36:40] local.INFO: Processing buffer {"connection_id":172516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6212b8012d15558006d748c0000e00882a..."} 
[2026-09-04 22:36:40] local.INFO: Packet analysis {"connection_id":172516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d62"} 
[2026-09-04 22:36:40] local.INFO: Extracted packet for processing {"connection_id":172516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d62"} 
[2026-09-04 22:36:40] local.INFO: GPS Element Parsed {"raw_longitude":756372864,"raw_latitude":114772160,"longitude_deg":75.6372864,"latitude_deg":11.477216,"altitude":14,"angle":136,"satellites":42,"speed":43,"hex_longitude":"2d155580","hex_latitude":"06d748c0","is_valid_coordinates":true} 
[2026-09-04 22:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866631680001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398821519121186816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1530379477759254528,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788541539000,"timestamp_ms":1788541539000,"timestamp_seconds":1788541539,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6212b8"} 
[2026-09-04 22:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-04 22:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866631680001,"66":27343,"46":206,"81":20480,"24":43,"16":398821519121186816,"45":1530379477759254528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-04 22:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866631680001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:36:40] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-04 22:36:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398821519121186816,"km_value":398821519121186.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1530379477759254528,"description":"Unknown IO ID 45"} 
[2026-09-04 22:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866631680001,"power":27343,"unknown_46":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1530379477759254528}} 
[2026-09-04 22:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":172516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:36:40] local.INFO: GPS data processed {"connection_id":172516,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:36:40] local.INFO: Acknowledgment sent {"connection_id":172516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:36:47] local.INFO: TCP Data received {"connection_id":172517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:36:47] local.INFO: Processing buffer {"connection_id":172517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:36:47] local.INFO: IMEI packet received {"connection_id":172517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":172517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:36:48] local.INFO: TCP Data received {"connection_id":173800,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:36:48] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:36:48] local.INFO: IMEI packet received {"connection_id":173800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":173800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:36:52] local.INFO: TCP Data received {"connection_id":172517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:36:52] local.INFO: Processing buffer {"connection_id":172517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:36:52] local.INFO: IMEI packet received {"connection_id":172517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":172517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:36:53] local.INFO: TCP Data received {"connection_id":172517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:36:53] local.INFO: Processing buffer {"connection_id":172517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:36:53] local.INFO: Packet analysis {"connection_id":172517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:36:53] local.INFO: Extracted packet for processing {"connection_id":172517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866547968001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788541504000,"timestamp_ms":1788541504000,"timestamp_seconds":1788541504,"priority":1,"record_length":96,"hex_timestamp":"000001a06d618a00"} 
[2026-09-04 22:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866547968001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866547968001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:36:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:36:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866547968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":172517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:36:53] local.INFO: GPS data processed {"connection_id":172517,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:36:53] local.INFO: Acknowledgment sent {"connection_id":172517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:36:53] local.INFO: TCP Data received {"connection_id":173800,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:36:53] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:36:53] local.INFO: IMEI packet received {"connection_id":173800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":173800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:36:54] local.INFO: TCP Data received {"connection_id":173800,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:36:54] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:36:54] local.INFO: Packet analysis {"connection_id":173800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:36:54] local.INFO: Extracted packet for processing {"connection_id":173800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866509824001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788541355000,"timestamp_ms":1788541355000,"timestamp_seconds":1788541355,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5f43f8"} 
[2026-09-04 22:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866509824001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866509824001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:36:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:36:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866509824001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":173800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765885,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:36:55] local.INFO: GPS data processed {"connection_id":173800,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:36:55] local.INFO: Acknowledgment sent {"connection_id":173800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:36:58] local.INFO: TCP Data received {"connection_id":172518,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:36:58] local.INFO: Processing buffer {"connection_id":172518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:36:58] local.INFO: IMEI packet received {"connection_id":172518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":172518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:37:03] local.INFO: TCP Data received {"connection_id":172518,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:37:03] local.INFO: Processing buffer {"connection_id":172518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:37:03] local.INFO: IMEI packet received {"connection_id":172518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":172518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:37:04] local.INFO: TCP Data received {"connection_id":172518,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6231f8012d156d4006d72f30000e00892a..."} 
[2026-09-04 22:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6231f8012d156d4006d72f30000e00892a..."} 
[2026-09-04 22:37:04] local.INFO: Processing buffer {"connection_id":172518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6231f8012d156d4006d72f30000e00892a..."} 
[2026-09-04 22:37:04] local.INFO: Packet analysis {"connection_id":172518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d62"} 
[2026-09-04 22:37:04] local.INFO: Extracted packet for processing {"connection_id":172518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d62"} 
[2026-09-04 22:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756378944,"raw_latitude":114765616,"longitude_deg":75.6378944,"latitude_deg":11.4765616,"altitude":14,"angle":137,"satellites":42,"speed":44,"hex_longitude":"2d156d40","hex_latitude":"06d72f30","is_valid_coordinates":true} 
[2026-09-04 22:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866633984001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398821948617916416,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1537275614686920704,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541547000,"timestamp_ms":1788541547000,"timestamp_seconds":1788541547,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6231f8"} 
[2026-09-04 22:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 22:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866633984001,"66":27245,"46":206,"81":20480,"24":44,"16":398821948617916416,"45":1537275614686920704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-04 22:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866633984001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:37:04] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-04 22:37:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398821948617916416,"km_value":398821948617916.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1537275614686920704,"description":"Unknown IO ID 45"} 
[2026-09-04 22:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866633984001,"power":27245,"unknown_46":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1537275614686920704}} 
[2026-09-04 22:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":172518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:37:04] local.INFO: GPS data processed {"connection_id":172518,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:37:04] local.INFO: Acknowledgment sent {"connection_id":172518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:37:23] local.INFO: TCP Data received {"connection_id":172517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:37:23] local.INFO: Processing buffer {"connection_id":172517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:37:23] local.INFO: Packet analysis {"connection_id":172517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:37:23] local.INFO: Extracted packet for processing {"connection_id":172517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:37:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866547968001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788541504000,"timestamp_ms":1788541504000,"timestamp_seconds":1788541504,"priority":1,"record_length":96,"hex_timestamp":"000001a06d618a00"} 
[2026-09-04 22:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866547968001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866547968001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:37:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:37:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866547968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":172517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:37:23] local.INFO: GPS data processed {"connection_id":172517,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:37:23] local.INFO: Acknowledgment sent {"connection_id":172517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:37:27] local.INFO: TCP Data received {"connection_id":173800,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:37:27] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:37:27] local.INFO: Packet analysis {"connection_id":173800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:37:27] local.INFO: Extracted packet for processing {"connection_id":173800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:37:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866509824001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788541355000,"timestamp_ms":1788541355000,"timestamp_seconds":1788541355,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5f43f8"} 
[2026-09-04 22:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866509824001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866509824001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:37:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:37:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866509824001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":173800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765888,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:37:27] local.INFO: GPS data processed {"connection_id":173800,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:37:27] local.INFO: Acknowledgment sent {"connection_id":173800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:37:35] local.INFO: TCP Data received {"connection_id":172518,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d625908012d15884006d71528000f008326..."} 
[2026-09-04 22:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d625908012d15884006d71528000f008326..."} 
[2026-09-04 22:37:35] local.INFO: Processing buffer {"connection_id":172518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d625908012d15884006d71528000f008326..."} 
[2026-09-04 22:37:35] local.INFO: Packet analysis {"connection_id":172518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d62"} 
[2026-09-04 22:37:35] local.INFO: Extracted packet for processing {"connection_id":172518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d62"} 
[2026-09-04 22:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756385856,"raw_latitude":114758952,"longitude_deg":75.6385856,"latitude_deg":11.4758952,"altitude":15,"angle":131,"satellites":38,"speed":36,"hex_longitude":"2d158840","hex_latitude":"06d71528","is_valid_coordinates":true} 
[2026-09-04 22:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866636032001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398822412474384384,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1543960645382123520,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788541557000,"timestamp_ms":1788541557000,"timestamp_seconds":1788541557,"priority":1,"record_length":96,"hex_timestamp":"000001a06d625908"} 
[2026-09-04 22:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 22:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866636032001,"66":27300,"46":206,"81":20480,"24":36,"16":398822412474384384,"45":1543960645382123520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-04 22:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866636032001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:37:35] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-04 22:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398822412474384384,"km_value":398822412474384.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1543960645382123520,"description":"Unknown IO ID 45"} 
[2026-09-04 22:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866636032001,"power":27300,"unknown_46":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":1543960645382123520}} 
[2026-09-04 22:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":172518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:37:35] local.INFO: GPS data processed {"connection_id":172518,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:37:35] local.INFO: Acknowledgment sent {"connection_id":172518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:37:47] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:37:47] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:37:47] local.INFO: IMEI packet received {"connection_id":173801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":173801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:37:52] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:37:52] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:37:52] local.INFO: IMEI packet received {"connection_id":173801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":173801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:37:52] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:37:53] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:37:53] local.INFO: Packet analysis {"connection_id":173801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:37:53] local.INFO: Extracted packet for processing {"connection_id":173801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:37:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866547968001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788541504000,"timestamp_ms":1788541504000,"timestamp_seconds":1788541504,"priority":1,"record_length":96,"hex_timestamp":"000001a06d618a00"} 
[2026-09-04 22:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866547968001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866547968001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:37:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:37:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866547968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":173801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:37:53] local.INFO: GPS data processed {"connection_id":173801,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:37:53] local.INFO: Acknowledgment sent {"connection_id":173801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:37:53] local.INFO: TCP Data received {"connection_id":171408,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:37:53] local.INFO: Processing buffer {"connection_id":171408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:37:53] local.INFO: IMEI packet received {"connection_id":171408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":171408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:37:55] local.INFO: TCP Data received {"connection_id":171409,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:37:55] local.INFO: Processing buffer {"connection_id":171409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:37:55] local.INFO: IMEI packet received {"connection_id":171409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":171409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:37:58] local.INFO: TCP Data received {"connection_id":171409,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:37:58] local.INFO: Processing buffer {"connection_id":171409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:37:58] local.INFO: IMEI packet received {"connection_id":171409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":171409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:37:58] local.INFO: TCP Data received {"connection_id":171408,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:37:58] local.INFO: Processing buffer {"connection_id":171408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:37:58] local.INFO: IMEI packet received {"connection_id":171408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":171408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:38:00] local.INFO: TCP Data received {"connection_id":171408,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:38:00] local.INFO: Processing buffer {"connection_id":171408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:38:00] local.INFO: Packet analysis {"connection_id":171408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:38:00] local.INFO: Extracted packet for processing {"connection_id":171408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:38:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866509824001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788541355000,"timestamp_ms":1788541355000,"timestamp_seconds":1788541355,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5f43f8"} 
[2026-09-04 22:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866509824001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866509824001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:38:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:38:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866509824001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":171408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765891,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:38:00] local.INFO: GPS data processed {"connection_id":171408,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:38:00] local.INFO: Acknowledgment sent {"connection_id":171408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:38:03] local.INFO: TCP Data received {"connection_id":171409,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:38:03] local.INFO: Processing buffer {"connection_id":171409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:38:03] local.INFO: IMEI packet received {"connection_id":171409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":171409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:38:04] local.INFO: TCP Data received {"connection_id":171409,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d634368012d15b98006d6ca380012008b2c..."} 
[2026-09-04 22:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d634368012d15b98006d6ca380012008b2c..."} 
[2026-09-04 22:38:04] local.INFO: Processing buffer {"connection_id":171409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d634368012d15b98006d6ca380012008b2c..."} 
[2026-09-04 22:38:04] local.INFO: Packet analysis {"connection_id":171409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:38:04] local.INFO: Extracted packet for processing {"connection_id":171409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756398464,"raw_latitude":114739768,"longitude_deg":75.6398464,"latitude_deg":11.4739768,"altitude":18,"angle":139,"satellites":44,"speed":26,"hex_longitude":"2d15b980","hex_latitude":"06d6ca38","is_valid_coordinates":true} 
[2026-09-04 22:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866651392001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398823610770259968,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1563241681281564672,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541617000,"timestamp_ms":1788541617000,"timestamp_seconds":1788541617,"priority":1,"record_length":96,"hex_timestamp":"000001a06d634368"} 
[2026-09-04 22:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 22:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866651392001,"66":27376,"44":206,"81":20480,"24":26,"16":398823610770259968,"45":1563241681281564672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-04 22:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866651392001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:38:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-04 22:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398823610770259968,"km_value":398823610770259.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1563241681281564672,"description":"Unknown IO ID 45"} 
[2026-09-04 22:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866651392001,"power":27376,"unknown_44":206,"unknown_81":20480,"ignition":26,"odometer":null,"unknown_45":1563241681281564672}} 
[2026-09-04 22:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":171409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:38:04] local.INFO: GPS data processed {"connection_id":171409,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:38:04] local.INFO: Acknowledgment sent {"connection_id":171409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:38:04] local.INFO: TCP Data received {"connection_id":171408,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:38:04] local.INFO: Processing buffer {"connection_id":171408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d5f43f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:38:04] local.INFO: Packet analysis {"connection_id":171408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:38:04] local.INFO: Extracted packet for processing {"connection_id":171408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d5f"} 
[2026-09-04 22:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866509824001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541355000,"timestamp_ms":1788541355000,"timestamp_seconds":1788541355,"priority":1,"record_length":96,"hex_timestamp":"000001a06d5f43f8"} 
[2026-09-04 22:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866509824001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866509824001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:38:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866509824001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":171408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765893,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:38:04] local.INFO: GPS data processed {"connection_id":171408,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:38:04] local.INFO: Acknowledgment sent {"connection_id":171408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:38:23] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:38:23] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:38:23] local.INFO: Packet analysis {"connection_id":173801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:38:23] local.INFO: Extracted packet for processing {"connection_id":173801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866547968001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788541504000,"timestamp_ms":1788541504000,"timestamp_seconds":1788541504,"priority":1,"record_length":96,"hex_timestamp":"000001a06d618a00"} 
[2026-09-04 22:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866547968001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866547968001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:38:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:38:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866547968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":173801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:38:24] local.INFO: GPS data processed {"connection_id":173801,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:38:24] local.INFO: Acknowledgment sent {"connection_id":173801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:38:35] local.INFO: TCP Data received {"connection_id":171409,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d634f20012d15bfc006d6c4b0001200802c..."} 
[2026-09-04 22:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d634f20012d15bfc006d6c4b0001200802c..."} 
[2026-09-04 22:38:35] local.INFO: Processing buffer {"connection_id":171409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d634f20012d15bfc006d6c4b0001200802c..."} 
[2026-09-04 22:38:35] local.INFO: Packet analysis {"connection_id":171409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:38:35] local.INFO: Extracted packet for processing {"connection_id":171409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756400064,"raw_latitude":114738352,"longitude_deg":75.6400064,"latitude_deg":11.4738352,"altitude":18,"angle":128,"satellites":44,"speed":28,"hex_longitude":"2d15bfc0","hex_latitude":"06d6c4b0","is_valid_coordinates":true} 
[2026-09-04 22:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866653952001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398823713849475072,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1565423112349693952,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788541620000,"timestamp_ms":1788541620000,"timestamp_seconds":1788541620,"priority":1,"record_length":96,"hex_timestamp":"000001a06d634f20"} 
[2026-09-04 22:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 22:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866653952001,"66":27332,"44":206,"81":20480,"24":28,"16":398823713849475072,"45":1565423112349693952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-04 22:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866653952001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:38:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-04 22:38:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398823713849475072,"km_value":398823713849475.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1565423112349693952,"description":"Unknown IO ID 45"} 
[2026-09-04 22:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866653952001,"power":27332,"unknown_44":206,"unknown_81":20480,"ignition":28,"odometer":null,"unknown_45":1565423112349693952}} 
[2026-09-04 22:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":171409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:38:35] local.INFO: GPS data processed {"connection_id":171409,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:38:35] local.INFO: Acknowledgment sent {"connection_id":171409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:38:48] local.INFO: TCP Data received {"connection_id":171410,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:38:48] local.INFO: Processing buffer {"connection_id":171410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:38:48] local.INFO: IMEI packet received {"connection_id":171410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":171410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:38:52] local.INFO: TCP Data received {"connection_id":172519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:38:52] local.INFO: Processing buffer {"connection_id":172519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:38:52] local.INFO: IMEI packet received {"connection_id":172519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":172519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:38:53] local.INFO: TCP Data received {"connection_id":171410,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:38:53] local.INFO: Processing buffer {"connection_id":171410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:38:53] local.INFO: IMEI packet received {"connection_id":171410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":171410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:38:54] local.INFO: TCP Data received {"connection_id":171410,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:38:54] local.INFO: Processing buffer {"connection_id":171410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:38:54] local.INFO: Packet analysis {"connection_id":171410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:38:54] local.INFO: Extracted packet for processing {"connection_id":171410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866586880001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788541656000,"timestamp_ms":1788541656000,"timestamp_seconds":1788541656,"priority":1,"record_length":96,"hex_timestamp":"000001a06d63dbc0"} 
[2026-09-04 22:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866586880001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866586880001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:38:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:38:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866586880001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":171410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765896,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:38:54] local.INFO: GPS data processed {"connection_id":171410,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:38:54] local.INFO: Acknowledgment sent {"connection_id":171410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:38:57] local.INFO: TCP Data received {"connection_id":172519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:38:57] local.INFO: Processing buffer {"connection_id":172519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:38:57] local.INFO: IMEI packet received {"connection_id":172519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":172519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:38:57] local.INFO: TCP Data received {"connection_id":172519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:38:57] local.INFO: Processing buffer {"connection_id":172519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:38:57] local.INFO: Packet analysis {"connection_id":172519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:38:57] local.INFO: Extracted packet for processing {"connection_id":172519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866547968001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788541504000,"timestamp_ms":1788541504000,"timestamp_seconds":1788541504,"priority":1,"record_length":96,"hex_timestamp":"000001a06d618a00"} 
[2026-09-04 22:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866547968001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866547968001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:38:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866547968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":172519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:38:58] local.INFO: GPS data processed {"connection_id":172519,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:38:58] local.INFO: Acknowledgment sent {"connection_id":172519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:38:59] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:38:59] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:38:59] local.INFO: IMEI packet received {"connection_id":173802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":173802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:39:02] local.INFO: TCP Data received {"connection_id":172519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:39:02] local.INFO: Processing buffer {"connection_id":172519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:39:02] local.INFO: Packet analysis {"connection_id":172519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:39:02] local.INFO: Extracted packet for processing {"connection_id":172519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:39:02] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866547968001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788541504000,"timestamp_ms":1788541504000,"timestamp_seconds":1788541504,"priority":1,"record_length":96,"hex_timestamp":"000001a06d618a00"} 
[2026-09-04 22:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866547968001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866547968001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:39:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:39:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866547968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":172519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:39:02] local.INFO: GPS data processed {"connection_id":172519,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:39:02] local.INFO: Acknowledgment sent {"connection_id":172519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:39:03] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:39:03] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:39:03] local.INFO: IMEI packet received {"connection_id":173802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":173802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:39:04] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6362a8012d15cd8006d6bc38001200742d..."} 
[2026-09-04 22:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6362a8012d15cd8006d6bc38001200742d..."} 
[2026-09-04 22:39:04] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6362a8012d15cd8006d6bc38001200742d..."} 
[2026-09-04 22:39:04] local.INFO: Packet analysis {"connection_id":173802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:39:04] local.INFO: Extracted packet for processing {"connection_id":173802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756403584,"raw_latitude":114736184,"longitude_deg":75.6403584,"latitude_deg":11.4736184,"altitude":18,"angle":116,"satellites":45,"speed":33,"hex_longitude":"2d15cd80","hex_latitude":"06d6bc38","is_valid_coordinates":true} 
[2026-09-04 22:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866654720001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398823911417970688,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1567182330953773056,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541625000,"timestamp_ms":1788541625000,"timestamp_seconds":1788541625,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6362a8"} 
[2026-09-04 22:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 22:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866654720001,"66":27245,"44":206,"81":20480,"24":33,"16":398823911417970688,"45":1567182330953773056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-04 22:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866654720001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:39:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-04 22:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398823911417970688,"km_value":398823911417970.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1567182330953773056,"description":"Unknown IO ID 45"} 
[2026-09-04 22:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866654720001,"power":27245,"unknown_44":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1567182330953773056}} 
[2026-09-04 22:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":173802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:39:04] local.INFO: GPS data processed {"connection_id":173802,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:39:04] local.INFO: Acknowledgment sent {"connection_id":173802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:39:26] local.INFO: TCP Data received {"connection_id":171410,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:39:26] local.INFO: Processing buffer {"connection_id":171410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:39:26] local.INFO: Packet analysis {"connection_id":171410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:39:26] local.INFO: Extracted packet for processing {"connection_id":171410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:39:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866586880001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788541656000,"timestamp_ms":1788541656000,"timestamp_seconds":1788541656,"priority":1,"record_length":96,"hex_timestamp":"000001a06d63dbc0"} 
[2026-09-04 22:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866586880001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866586880001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:39:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:39:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866586880001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":171410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765900,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:39:27] local.INFO: GPS data processed {"connection_id":171410,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:39:27] local.INFO: Acknowledgment sent {"connection_id":171410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:39:36] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d639188012d15ee4006d6ab28001400742b..."} 
[2026-09-04 22:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d639188012d15ee4006d6ab28001400742b..."} 
[2026-09-04 22:39:36] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d639188012d15ee4006d6ab28001400742b..."} 
[2026-09-04 22:39:36] local.INFO: Packet analysis {"connection_id":173802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:39:36] local.INFO: Extracted packet for processing {"connection_id":173802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756411968,"raw_latitude":114731816,"longitude_deg":75.6411968,"latitude_deg":11.4731816,"altitude":20,"angle":116,"satellites":43,"speed":30,"hex_longitude":"2d15ee40","hex_latitude":"06d6ab28","is_valid_coordinates":true} 
[2026-09-04 22:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866656000001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398824362389536768,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1571052611882989568,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788541637000,"timestamp_ms":1788541637000,"timestamp_seconds":1788541637,"priority":1,"record_length":96,"hex_timestamp":"000001a06d639188"} 
[2026-09-04 22:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 22:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866656000001,"66":27245,"44":206,"81":20480,"24":30,"16":398824362389536768,"45":1571052611882989568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-04 22:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866656000001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:39:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-04 22:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398824362389536768,"km_value":398824362389536.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1571052611882989568,"description":"Unknown IO ID 45"} 
[2026-09-04 22:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866656000001,"power":27245,"unknown_44":206,"unknown_81":20480,"ignition":30,"odometer":null,"unknown_45":1571052611882989568}} 
[2026-09-04 22:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":173802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:39:36] local.INFO: GPS data processed {"connection_id":173802,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:39:36] local.INFO: Acknowledgment sent {"connection_id":173802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:39:47] local.INFO: TCP Data received {"connection_id":171108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:39:47] local.INFO: Processing buffer {"connection_id":171108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:39:47] local.INFO: IMEI packet received {"connection_id":171108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":171108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:39:52] local.INFO: TCP Data received {"connection_id":171108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:39:52] local.INFO: Processing buffer {"connection_id":171108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:39:52] local.INFO: IMEI packet received {"connection_id":171108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":171108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:39:52] local.INFO: TCP Data received {"connection_id":171108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:39:52] local.INFO: Processing buffer {"connection_id":171108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:39:52] local.INFO: Packet analysis {"connection_id":171108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:39:52] local.INFO: Extracted packet for processing {"connection_id":171108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:39:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866547968001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788541504000,"timestamp_ms":1788541504000,"timestamp_seconds":1788541504,"priority":1,"record_length":96,"hex_timestamp":"000001a06d618a00"} 
[2026-09-04 22:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866547968001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866547968001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:39:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:39:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866547968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":171108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:39:53] local.INFO: GPS data processed {"connection_id":171108,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:39:53] local.INFO: Acknowledgment sent {"connection_id":171108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:39:54] local.INFO: TCP Data received {"connection_id":173803,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:39:54] local.INFO: Processing buffer {"connection_id":173803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:39:54] local.INFO: IMEI packet received {"connection_id":173803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":173803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:39:58] local.INFO: TCP Data received {"connection_id":171109,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:39:58] local.INFO: Processing buffer {"connection_id":171109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:39:58] local.INFO: IMEI packet received {"connection_id":171109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":171109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:39:58] local.INFO: TCP Data received {"connection_id":173803,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:39:58] local.INFO: Processing buffer {"connection_id":173803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:39:58] local.INFO: IMEI packet received {"connection_id":173803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":173803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:40:00] local.INFO: TCP Data received {"connection_id":173803,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:40:00] local.INFO: Processing buffer {"connection_id":173803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:40:00] local.INFO: Packet analysis {"connection_id":173803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:40:00] local.INFO: Extracted packet for processing {"connection_id":173803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:40:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866586880001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788541656000,"timestamp_ms":1788541656000,"timestamp_seconds":1788541656,"priority":1,"record_length":96,"hex_timestamp":"000001a06d63dbc0"} 
[2026-09-04 22:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866586880001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866586880001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:40:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:40:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866586880001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":173803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:40:00] local.INFO: GPS data processed {"connection_id":173803,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:40:00] local.INFO: Acknowledgment sent {"connection_id":173803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:40:03] local.INFO: TCP Data received {"connection_id":171109,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:40:03] local.INFO: Processing buffer {"connection_id":171109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:40:03] local.INFO: IMEI packet received {"connection_id":171109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":171109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:40:04] local.INFO: TCP Data received {"connection_id":171109,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d63c838012d160dc006d69a200017007b2b..."} 
[2026-09-04 22:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d63c838012d160dc006d69a200017007b2b..."} 
[2026-09-04 22:40:04] local.INFO: Processing buffer {"connection_id":171109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d63c838012d160dc006d69a200017007b2b..."} 
[2026-09-04 22:40:04] local.INFO: Packet analysis {"connection_id":171109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:40:04] local.INFO: Extracted packet for processing {"connection_id":171109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756420032,"raw_latitude":114727456,"longitude_deg":75.6420032,"latitude_deg":11.4727456,"altitude":23,"angle":123,"satellites":43,"speed":23,"hex_longitude":"2d160dc0","hex_latitude":"06d69a20","is_valid_coordinates":true} 
[2026-09-04 22:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866659072001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398824800476200960,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1580270917369145344,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541651000,"timestamp_ms":1788541651000,"timestamp_seconds":1788541651,"priority":1,"record_length":96,"hex_timestamp":"000001a06d63c838"} 
[2026-09-04 22:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 22:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866659072001,"66":27397,"44":206,"81":20480,"24":23,"16":398824800476200960,"45":1580270917369145344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-04 22:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866659072001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:40:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-04 22:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398824800476200960,"km_value":398824800476200.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1580270917369145344,"description":"Unknown IO ID 45"} 
[2026-09-04 22:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866659072001,"power":27397,"unknown_44":206,"unknown_81":20480,"ignition":23,"odometer":null,"unknown_45":1580270917369145344}} 
[2026-09-04 22:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":171109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:40:04] local.INFO: GPS data processed {"connection_id":171109,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:40:04] local.INFO: Acknowledgment sent {"connection_id":171109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:40:05] local.INFO: TCP Data received {"connection_id":173803,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:40:05] local.INFO: Processing buffer {"connection_id":173803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:40:05] local.INFO: Packet analysis {"connection_id":173803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:40:05] local.INFO: Extracted packet for processing {"connection_id":173803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866586880001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788541656000,"timestamp_ms":1788541656000,"timestamp_seconds":1788541656,"priority":1,"record_length":96,"hex_timestamp":"000001a06d63dbc0"} 
[2026-09-04 22:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866586880001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866586880001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:40:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:40:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866586880001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":173803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765905,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:40:05] local.INFO: GPS data processed {"connection_id":173803,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:40:05] local.INFO: Acknowledgment sent {"connection_id":173803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:40:23] local.INFO: TCP Data received {"connection_id":171108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:40:23] local.INFO: Processing buffer {"connection_id":171108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d618a00012d1965c0071fef800047011523..."} 
[2026-09-04 22:40:23] local.INFO: Packet analysis {"connection_id":171108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:40:23] local.INFO: Extracted packet for processing {"connection_id":171108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d61"} 
[2026-09-04 22:40:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866547968001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788541504000,"timestamp_ms":1788541504000,"timestamp_seconds":1788541504,"priority":1,"record_length":96,"hex_timestamp":"000001a06d618a00"} 
[2026-09-04 22:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866547968001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866547968001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:40:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:40:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866547968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":171108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:40:24] local.INFO: GPS data processed {"connection_id":171108,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:40:24] local.INFO: Acknowledgment sent {"connection_id":171108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:40:35] local.INFO: TCP Data received {"connection_id":171109,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d659140012d178f4006d63b180008006528..."} 
[2026-09-04 22:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d659140012d178f4006d63b180008006528..."} 
[2026-09-04 22:40:35] local.INFO: Processing buffer {"connection_id":171109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d659140012d178f4006d63b180008006528..."} 
[2026-09-04 22:40:35] local.INFO: Packet analysis {"connection_id":171109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d65"} 
[2026-09-04 22:40:35] local.INFO: Extracted packet for processing {"connection_id":171109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d65"} 
[2026-09-04 22:40:35] local.INFO: GPS Element Parsed {"raw_longitude":756518720,"raw_latitude":114703128,"longitude_deg":75.651872,"latitude_deg":11.4703128,"altitude":8,"angle":101,"satellites":40,"speed":32,"hex_longitude":"2d178f40","hex_latitude":"06d63b18","is_valid_coordinates":true} 
[2026-09-04 22:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866689792001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398829722508722176,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1687512883489157120,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788541768000,"timestamp_ms":1788541768000,"timestamp_seconds":1788541768,"priority":1,"record_length":96,"hex_timestamp":"000001a06d659140"} 
[2026-09-04 22:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 22:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866689792001,"66":27376,"160":206,"81":20480,"24":32,"16":398829722508722176,"45":1687512883489157120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-04 22:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866689792001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:40:35] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-04 22:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398829722508722176,"km_value":398829722508722.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1687512883489157120,"description":"Unknown IO ID 45"} 
[2026-09-04 22:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866689792001,"power":27376,"unknown_160":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":1687512883489157120}} 
[2026-09-04 22:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":171109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:40:35] local.INFO: GPS data processed {"connection_id":171109,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:40:35] local.INFO: Acknowledgment sent {"connection_id":171109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:40:43] local.INFO: TCP Data received {"connection_id":173804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:40:43] local.INFO: Processing buffer {"connection_id":173804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:40:43] local.INFO: IMEI packet received {"connection_id":173804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":173804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:40:47] local.INFO: TCP Data received {"connection_id":173804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:40:47] local.INFO: Processing buffer {"connection_id":173804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:40:47] local.INFO: IMEI packet received {"connection_id":173804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":173804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:40:48] local.INFO: TCP Data received {"connection_id":173805,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:40:48] local.INFO: Processing buffer {"connection_id":173805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:40:48] local.INFO: IMEI packet received {"connection_id":173805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":173805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:40:52] local.INFO: TCP Data received {"connection_id":173804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:40:52] local.INFO: Processing buffer {"connection_id":173804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:40:52] local.INFO: IMEI packet received {"connection_id":173804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":173804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:40:52] local.INFO: TCP Data received {"connection_id":173804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:40:53] local.INFO: Processing buffer {"connection_id":173804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:40:53] local.INFO: Packet analysis {"connection_id":173804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:40:53] local.INFO: Extracted packet for processing {"connection_id":173804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:40:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866625024001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788541805000,"timestamp_ms":1788541805000,"timestamp_seconds":1788541805,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6621c8"} 
[2026-09-04 22:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866625024001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866625024001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:40:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:40:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866625024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":173804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:40:53] local.INFO: GPS data processed {"connection_id":173804,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:40:53] local.INFO: Acknowledgment sent {"connection_id":173804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:40:53] local.INFO: TCP Data received {"connection_id":173805,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:40:53] local.INFO: Processing buffer {"connection_id":173805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:40:53] local.INFO: IMEI packet received {"connection_id":173805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":173805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:40:55] local.INFO: TCP Data received {"connection_id":173805,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:40:55] local.INFO: Processing buffer {"connection_id":173805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:40:55] local.INFO: Packet analysis {"connection_id":173805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:40:55] local.INFO: Extracted packet for processing {"connection_id":173805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:40:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866586880001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788541656000,"timestamp_ms":1788541656000,"timestamp_seconds":1788541656,"priority":1,"record_length":96,"hex_timestamp":"000001a06d63dbc0"} 
[2026-09-04 22:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866586880001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866586880001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:40:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:40:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866586880001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":173805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:40:55] local.INFO: GPS data processed {"connection_id":173805,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:40:55] local.INFO: Acknowledgment sent {"connection_id":173805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:41:08] local.INFO: TCP Data received {"connection_id":171411,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:41:08] local.INFO: Processing buffer {"connection_id":171411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:41:08] local.INFO: IMEI packet received {"connection_id":171411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":171411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:41:13] local.INFO: TCP Data received {"connection_id":171411,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:41:13] local.INFO: Processing buffer {"connection_id":171411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:41:13] local.INFO: IMEI packet received {"connection_id":171411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":171411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:41:14] local.INFO: TCP Data received {"connection_id":171411,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d65bc38012d17b24006d632e80007006927..."} 
[2026-09-04 22:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d65bc38012d17b24006d632e80007006927..."} 
[2026-09-04 22:41:14] local.INFO: Processing buffer {"connection_id":171411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d65bc38012d17b24006d632e80007006927..."} 
[2026-09-04 22:41:14] local.INFO: Packet analysis {"connection_id":171411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d65"} 
[2026-09-04 22:41:14] local.INFO: Extracted packet for processing {"connection_id":171411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d65"} 
[2026-09-04 22:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756527680,"raw_latitude":114701032,"longitude_deg":75.652768,"latitude_deg":11.4701032,"altitude":7,"angle":105,"satellites":39,"speed":30,"hex_longitude":"2d17b240","hex_latitude":"06d632e8","is_valid_coordinates":true} 
[2026-09-04 22:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866692608001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398830160595386368,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1697645982650144768,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788541779000,"timestamp_ms":1788541779000,"timestamp_seconds":1788541779,"priority":1,"record_length":96,"hex_timestamp":"000001a06d65bc38"} 
[2026-09-04 22:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 22:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866692608001,"66":27343,"160":206,"81":20480,"24":30,"16":398830160595386368,"45":1697645982650144768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-04 22:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866692608001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:41:14] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-04 22:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398830160595386368,"km_value":398830160595386.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1697645982650144768,"description":"Unknown IO ID 45"} 
[2026-09-04 22:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866692608001,"power":27343,"unknown_160":206,"unknown_81":20480,"ignition":30,"odometer":null,"unknown_45":1697645982650144768}} 
[2026-09-04 22:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":171411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:41:14] local.INFO: GPS data processed {"connection_id":171411,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:41:14] local.INFO: Acknowledgment sent {"connection_id":171411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:41:24] local.INFO: TCP Data received {"connection_id":173804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:41:24] local.INFO: Processing buffer {"connection_id":173804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:41:24] local.INFO: Packet analysis {"connection_id":173804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:41:24] local.INFO: Extracted packet for processing {"connection_id":173804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:41:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866625024001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788541805000,"timestamp_ms":1788541805000,"timestamp_seconds":1788541805,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6621c8"} 
[2026-09-04 22:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866625024001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866625024001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:41:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866625024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":173804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:41:24] local.INFO: GPS data processed {"connection_id":173804,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:41:24] local.INFO: Acknowledgment sent {"connection_id":173804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:41:26] local.INFO: TCP Data received {"connection_id":173805,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:41:26] local.INFO: Processing buffer {"connection_id":173805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:41:26] local.INFO: Packet analysis {"connection_id":173805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:41:26] local.INFO: Extracted packet for processing {"connection_id":173805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:41:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866586880001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788541656000,"timestamp_ms":1788541656000,"timestamp_seconds":1788541656,"priority":1,"record_length":96,"hex_timestamp":"000001a06d63dbc0"} 
[2026-09-04 22:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866586880001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866586880001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:41:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:41:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866586880001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":173805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765912,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:41:26] local.INFO: GPS data processed {"connection_id":173805,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:41:26] local.INFO: Acknowledgment sent {"connection_id":173805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:41:47] local.INFO: TCP Data received {"connection_id":171110,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:41:47] local.INFO: Processing buffer {"connection_id":171110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:41:47] local.INFO: IMEI packet received {"connection_id":171110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":171110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:41:49] local.INFO: TCP Data received {"connection_id":172520,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:41:49] local.INFO: Processing buffer {"connection_id":172520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:41:49] local.INFO: IMEI packet received {"connection_id":172520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":172520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:41:52] local.INFO: TCP Data received {"connection_id":171110,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:41:52] local.INFO: Processing buffer {"connection_id":171110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:41:52] local.INFO: IMEI packet received {"connection_id":171110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":171110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:41:52] local.INFO: TCP Data received {"connection_id":171110,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:41:52] local.INFO: Processing buffer {"connection_id":171110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:41:52] local.INFO: Packet analysis {"connection_id":171110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:41:52] local.INFO: Extracted packet for processing {"connection_id":171110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:41:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866625024001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788541805000,"timestamp_ms":1788541805000,"timestamp_seconds":1788541805,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6621c8"} 
[2026-09-04 22:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866625024001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866625024001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:41:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:41:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866625024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":171110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:41:53] local.INFO: GPS data processed {"connection_id":171110,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:41:53] local.INFO: Acknowledgment sent {"connection_id":171110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:41:53] local.INFO: TCP Data received {"connection_id":172520,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:41:53] local.INFO: Processing buffer {"connection_id":172520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:41:53] local.INFO: IMEI packet received {"connection_id":172520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":172520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:41:55] local.INFO: TCP Data received {"connection_id":172520,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:41:55] local.INFO: Processing buffer {"connection_id":172520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:41:55] local.INFO: Packet analysis {"connection_id":172520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:41:55] local.INFO: Extracted packet for processing {"connection_id":172520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:41:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866586880001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788541656000,"timestamp_ms":1788541656000,"timestamp_seconds":1788541656,"priority":1,"record_length":96,"hex_timestamp":"000001a06d63dbc0"} 
[2026-09-04 22:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866586880001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866586880001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:41:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866586880001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":172520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765914,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:41:55] local.INFO: GPS data processed {"connection_id":172520,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:41:55] local.INFO: Acknowledgment sent {"connection_id":172520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:42:03] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:42:03] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:42:03] local.INFO: IMEI packet received {"connection_id":173806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":173806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:42:04] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:42:04] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:42:04] local.INFO: IMEI packet received {"connection_id":173806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":173806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:42:08] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:42:08] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:42:08] local.INFO: IMEI packet received {"connection_id":173806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":173806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:42:09] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d66e900012d18c78006d604080009007124..."} 
[2026-09-04 22:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d66e900012d18c78006d604080009007124..."} 
[2026-09-04 22:42:09] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d66e900012d18c78006d604080009007124..."} 
[2026-09-04 22:42:09] local.INFO: Packet analysis {"connection_id":173806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:42:09] local.INFO: Extracted packet for processing {"connection_id":173806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:42:09] local.INFO: GPS Element Parsed {"raw_longitude":756598656,"raw_latitude":114689032,"longitude_deg":75.6598656,"latitude_deg":11.4689032,"altitude":9,"angle":113,"satellites":36,"speed":49,"hex_longitude":"2d18c780","hex_latitude":"06d60408","is_valid_coordinates":true} 
[2026-09-04 22:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866713088001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398833703943405568,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776740451103416320,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788541856000,"timestamp_ms":1788541856000,"timestamp_seconds":1788541856,"priority":1,"record_length":96,"hex_timestamp":"000001a06d66e900"} 
[2026-09-04 22:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 22:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866713088001,"66":27267,"159":206,"81":20480,"24":49,"16":398833703943405568,"45":1776740451103416320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-04 22:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866713088001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:42:09] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 22:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398833703943405568,"km_value":398833703943405.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776740451103416320,"description":"Unknown IO ID 45"} 
[2026-09-04 22:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866713088001,"power":27267,"unknown_159":206,"unknown_81":20480,"ignition":49,"odometer":null,"unknown_45":1776740451103416320}} 
[2026-09-04 22:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":173806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:42:09] local.INFO: GPS data processed {"connection_id":173806,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:42:09] local.INFO: Acknowledgment sent {"connection_id":173806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:42:23] local.INFO: TCP Data received {"connection_id":171110,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:42:23] local.INFO: Processing buffer {"connection_id":171110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:42:23] local.INFO: Packet analysis {"connection_id":171110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:42:23] local.INFO: Extracted packet for processing {"connection_id":171110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:42:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866625024001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788541805000,"timestamp_ms":1788541805000,"timestamp_seconds":1788541805,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6621c8"} 
[2026-09-04 22:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866625024001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866625024001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:42:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:42:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866625024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":171110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:42:23] local.INFO: GPS data processed {"connection_id":171110,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:42:23] local.INFO: Acknowledgment sent {"connection_id":171110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:42:26] local.INFO: TCP Data received {"connection_id":172520,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:42:26] local.INFO: Processing buffer {"connection_id":172520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:42:26] local.INFO: Packet analysis {"connection_id":172520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:42:26] local.INFO: Extracted packet for processing {"connection_id":172520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:42:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866586880001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788541656000,"timestamp_ms":1788541656000,"timestamp_seconds":1788541656,"priority":1,"record_length":96,"hex_timestamp":"000001a06d63dbc0"} 
[2026-09-04 22:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866586880001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866586880001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:42:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:42:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866586880001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":172520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765917,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:42:26] local.INFO: GPS data processed {"connection_id":172520,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:42:26] local.INFO: Acknowledgment sent {"connection_id":172520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:42:41] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d670458012d18eb0006d5f810000b006b27..."} 
[2026-09-04 22:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d670458012d18eb0006d5f810000b006b27..."} 
[2026-09-04 22:42:41] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d670458012d18eb0006d5f810000b006b27..."} 
[2026-09-04 22:42:41] local.INFO: Packet analysis {"connection_id":173806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d67"} 
[2026-09-04 22:42:41] local.INFO: Extracted packet for processing {"connection_id":173806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d67"} 
[2026-09-04 22:42:41] local.INFO: GPS Element Parsed {"raw_longitude":756607744,"raw_latitude":114685968,"longitude_deg":75.6607744,"latitude_deg":11.4685968,"altitude":11,"angle":107,"satellites":39,"speed":56,"hex_longitude":"2d18eb00","hex_latitude":"06d5f810","is_valid_coordinates":true} 
[2026-09-04 22:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866715136001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398834159209938944,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785536544124438528,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788541863000,"timestamp_ms":1788541863000,"timestamp_seconds":1788541863,"priority":1,"record_length":96,"hex_timestamp":"000001a06d670458"} 
[2026-09-04 22:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 22:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866715136001,"66":27234,"159":206,"81":20480,"24":56,"16":398834159209938944,"45":1785536544124438528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-04 22:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866715136001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:42:41] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 22:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398834159209938944,"km_value":398834159209938.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785536544124438528,"description":"Unknown IO ID 45"} 
[2026-09-04 22:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866715136001,"power":27234,"unknown_159":206,"unknown_81":20480,"ignition":56,"odometer":null,"unknown_45":1785536544124438528}} 
[2026-09-04 22:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":173806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:42:41] local.INFO: GPS data processed {"connection_id":173806,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:42:41] local.INFO: Acknowledgment sent {"connection_id":173806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:42:47] local.INFO: TCP Data received {"connection_id":173807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:42:47] local.INFO: Processing buffer {"connection_id":173807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:42:47] local.INFO: IMEI packet received {"connection_id":173807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":173807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:42:48] local.INFO: TCP Data received {"connection_id":173808,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:42:48] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:42:48] local.INFO: IMEI packet received {"connection_id":173808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":173808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:42:52] local.INFO: TCP Data received {"connection_id":173807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:42:52] local.INFO: Processing buffer {"connection_id":173807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:42:52] local.INFO: IMEI packet received {"connection_id":173807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":173807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:42:53] local.INFO: TCP Data received {"connection_id":173807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:42:53] local.INFO: Processing buffer {"connection_id":173807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:42:53] local.INFO: Packet analysis {"connection_id":173807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:42:53] local.INFO: Extracted packet for processing {"connection_id":173807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:42:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866625024001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788541805000,"timestamp_ms":1788541805000,"timestamp_seconds":1788541805,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6621c8"} 
[2026-09-04 22:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866625024001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866625024001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:42:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:42:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866625024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":173807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:42:53] local.INFO: GPS data processed {"connection_id":173807,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:42:53] local.INFO: Acknowledgment sent {"connection_id":173807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:42:53] local.INFO: TCP Data received {"connection_id":173808,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:42:53] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:42:53] local.INFO: IMEI packet received {"connection_id":173808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":173808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:42:56] local.INFO: TCP Data received {"connection_id":173808,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:42:56] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d63dbc0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:42:56] local.INFO: Packet analysis {"connection_id":173808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:42:56] local.INFO: Extracted packet for processing {"connection_id":173808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d63"} 
[2026-09-04 22:42:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866586880001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788541656000,"timestamp_ms":1788541656000,"timestamp_seconds":1788541656,"priority":1,"record_length":96,"hex_timestamp":"000001a06d63dbc0"} 
[2026-09-04 22:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866586880001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866586880001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:42:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:42:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866586880001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":173808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765920,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:42:56] local.INFO: GPS data processed {"connection_id":173808,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:42:56] local.INFO: Acknowledgment sent {"connection_id":173808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:42:58] local.INFO: TCP Data received {"connection_id":171412,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:42:58] local.INFO: Processing buffer {"connection_id":171412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:42:58] local.INFO: IMEI packet received {"connection_id":171412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":171412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:43:01] local.INFO: TCP Data received {"connection_id":171412,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:43:01] local.INFO: Processing buffer {"connection_id":171412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:43:01] local.INFO: IMEI packet received {"connection_id":171412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":171412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:43:03] local.INFO: TCP Data received {"connection_id":171412,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:43:03] local.INFO: Processing buffer {"connection_id":171412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:43:03] local.INFO: IMEI packet received {"connection_id":171412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":171412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:43:04] local.INFO: TCP Data received {"connection_id":171412,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d671fb0012d19100006d5ed10000c006a29..."} 
[2026-09-04 22:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d671fb0012d19100006d5ed10000c006a29..."} 
[2026-09-04 22:43:04] local.INFO: Processing buffer {"connection_id":171412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d671fb0012d19100006d5ed10000c006a29..."} 
[2026-09-04 22:43:04] local.INFO: Packet analysis {"connection_id":171412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d67"} 
[2026-09-04 22:43:04] local.INFO: Extracted packet for processing {"connection_id":171412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d67"} 
[2026-09-04 22:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756617216,"raw_latitude":114683152,"longitude_deg":75.6617216,"latitude_deg":11.4683152,"altitude":12,"angle":106,"satellites":41,"speed":49,"hex_longitude":"2d191000","hex_latitude":"06d5ed10","is_valid_coordinates":true} 
[2026-09-04 22:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866716928001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398834627361374208,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795528905796882432,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541870000,"timestamp_ms":1788541870000,"timestamp_seconds":1788541870,"priority":1,"record_length":96,"hex_timestamp":"000001a06d671fb0"} 
[2026-09-04 22:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 22:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866716928001,"66":27343,"159":206,"81":20480,"24":49,"16":398834627361374208,"45":1795528905796882432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-04 22:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866716928001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:43:04] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-04 22:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398834627361374208,"km_value":398834627361374.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795528905796882432,"description":"Unknown IO ID 45"} 
[2026-09-04 22:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866716928001,"power":27343,"unknown_159":206,"unknown_81":20480,"ignition":49,"odometer":null,"unknown_45":1795528905796882432}} 
[2026-09-04 22:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":171412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:43:04] local.INFO: GPS data processed {"connection_id":171412,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:43:04] local.INFO: Acknowledgment sent {"connection_id":171412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:43:23] local.INFO: TCP Data received {"connection_id":173807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:43:23] local.INFO: Processing buffer {"connection_id":173807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:43:23] local.INFO: Packet analysis {"connection_id":173807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:43:23] local.INFO: Extracted packet for processing {"connection_id":173807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:43:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866625024001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788541805000,"timestamp_ms":1788541805000,"timestamp_seconds":1788541805,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6621c8"} 
[2026-09-04 22:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866625024001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866625024001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:43:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:43:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866625024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":173807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:43:24] local.INFO: GPS data processed {"connection_id":173807,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:43:24] local.INFO: Acknowledgment sent {"connection_id":173807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:43:29] local.INFO: TCP Data received {"connection_id":173808,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:43:29] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:43:29] local.INFO: Packet analysis {"connection_id":173808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:43:29] local.INFO: Extracted packet for processing {"connection_id":173808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:43:29] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866663936001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788541957000,"timestamp_ms":1788541957000,"timestamp_seconds":1788541957,"priority":1,"record_length":96,"hex_timestamp":"000001a06d687388"} 
[2026-09-04 22:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866663936001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866663936001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:43:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:43:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866663936001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":173808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765923,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:43:29] local.INFO: GPS data processed {"connection_id":173808,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:43:29] local.INFO: Acknowledgment sent {"connection_id":173808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:43:35] local.INFO: TCP Data received {"connection_id":171412,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d687f40012d1abfc006d51e00000b00752b..."} 
[2026-09-04 22:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d687f40012d1abfc006d51e00000b00752b..."} 
[2026-09-04 22:43:35] local.INFO: Processing buffer {"connection_id":171412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d687f40012d1abfc006d51e00000b00752b..."} 
[2026-09-04 22:43:35] local.INFO: Packet analysis {"connection_id":171412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:43:35] local.INFO: Extracted packet for processing {"connection_id":171412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756727744,"raw_latitude":114630144,"longitude_deg":75.6727744,"latitude_deg":11.4630144,"altitude":11,"angle":117,"satellites":43,"speed":46,"hex_longitude":"2d1abfc0","hex_latitude":"06d51e00","is_valid_coordinates":true} 
[2026-09-04 22:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866739456001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398840528646438912,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917829783164522496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788541960000,"timestamp_ms":1788541960000,"timestamp_seconds":1788541960,"priority":1,"record_length":96,"hex_timestamp":"000001a06d687f40"} 
[2026-09-04 22:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 22:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866739456001,"66":27343,"244":206,"81":20480,"24":46,"16":398840528646438912,"45":1917829783164522496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-09-04 22:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866739456001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:43:35] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-04 22:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398840528646438912,"km_value":398840528646438.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917829783164522496,"description":"Unknown IO ID 45"} 
[2026-09-04 22:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866739456001,"power":27343,"unknown_244":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1917829783164522496}} 
[2026-09-04 22:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":171412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:43:35] local.INFO: GPS data processed {"connection_id":171412,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:43:35] local.INFO: Acknowledgment sent {"connection_id":171412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:43:47] local.INFO: TCP Data received {"connection_id":173809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:43:47] local.INFO: Processing buffer {"connection_id":173809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:43:47] local.INFO: IMEI packet received {"connection_id":173809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":173809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:43:52] local.INFO: TCP Data received {"connection_id":173809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:43:52] local.INFO: Processing buffer {"connection_id":173809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:43:52] local.INFO: IMEI packet received {"connection_id":173809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":173809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:43:52] local.INFO: TCP Data received {"connection_id":173809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:43:52] local.INFO: Processing buffer {"connection_id":173809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:43:52] local.INFO: Packet analysis {"connection_id":173809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:43:52] local.INFO: Extracted packet for processing {"connection_id":173809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:43:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866625024001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788541805000,"timestamp_ms":1788541805000,"timestamp_seconds":1788541805,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6621c8"} 
[2026-09-04 22:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866625024001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866625024001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:43:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:43:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866625024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":173809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:43:53] local.INFO: GPS data processed {"connection_id":173809,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:43:53] local.INFO: Acknowledgment sent {"connection_id":173809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:43:53] local.INFO: TCP Data received {"connection_id":171413,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:43:53] local.INFO: Processing buffer {"connection_id":171413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:43:53] local.INFO: IMEI packet received {"connection_id":171413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":171413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:43:58] local.INFO: TCP Data received {"connection_id":171413,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:43:58] local.INFO: Processing buffer {"connection_id":171413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:43:58] local.INFO: IMEI packet received {"connection_id":171413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":171413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:44:00] local.INFO: TCP Data received {"connection_id":171413,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:44:00] local.INFO: Processing buffer {"connection_id":171413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:44:00] local.INFO: Packet analysis {"connection_id":171413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:44:00] local.INFO: Extracted packet for processing {"connection_id":171413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:44:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866663936001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788541957000,"timestamp_ms":1788541957000,"timestamp_seconds":1788541957,"priority":1,"record_length":96,"hex_timestamp":"000001a06d687388"} 
[2026-09-04 22:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866663936001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866663936001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:44:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866663936001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":171413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765926,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:44:00] local.INFO: GPS data processed {"connection_id":171413,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:44:00] local.INFO: Acknowledgment sent {"connection_id":171413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:44:00] local.INFO: TCP Data received {"connection_id":171111,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:00] local.INFO: Processing buffer {"connection_id":171111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:00] local.INFO: IMEI packet received {"connection_id":171111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":171111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:44:03] local.INFO: TCP Data received {"connection_id":171111,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:03] local.INFO: Processing buffer {"connection_id":171111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:03] local.INFO: IMEI packet received {"connection_id":171111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":171111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:44:03] local.INFO: TCP Data received {"connection_id":171111,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:03] local.INFO: Processing buffer {"connection_id":171111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:03] local.INFO: IMEI packet received {"connection_id":171111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":171111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:44:04] local.INFO: TCP Data received {"connection_id":171413,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:44:04] local.INFO: Processing buffer {"connection_id":171413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:44:04] local.INFO: Packet analysis {"connection_id":171413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:44:04] local.INFO: Extracted packet for processing {"connection_id":171413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866663936001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541957000,"timestamp_ms":1788541957000,"timestamp_seconds":1788541957,"priority":1,"record_length":96,"hex_timestamp":"000001a06d687388"} 
[2026-09-04 22:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866663936001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866663936001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:44:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866663936001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":171413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765927,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:44:05] local.INFO: GPS data processed {"connection_id":171413,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:44:05] local.INFO: Acknowledgment sent {"connection_id":171413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:44:08] local.INFO: TCP Data received {"connection_id":171111,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:08] local.INFO: Processing buffer {"connection_id":171111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:08] local.INFO: IMEI packet received {"connection_id":171111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":171111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:44:09] local.INFO: TCP Data received {"connection_id":171111,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d689a98012d1adf0006d50cf0000b00782a..."} 
[2026-09-04 22:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d689a98012d1adf0006d50cf0000b00782a..."} 
[2026-09-04 22:44:09] local.INFO: Processing buffer {"connection_id":171111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d689a98012d1adf0006d50cf0000b00782a..."} 
[2026-09-04 22:44:09] local.INFO: Packet analysis {"connection_id":171111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:44:09] local.INFO: Extracted packet for processing {"connection_id":171111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:44:09] local.INFO: GPS Element Parsed {"raw_longitude":756735744,"raw_latitude":114625776,"longitude_deg":75.6735744,"latitude_deg":11.4625776,"altitude":11,"angle":120,"satellites":42,"speed":54,"hex_longitude":"2d1adf00","hex_latitude":"06d50cf0","is_valid_coordinates":true} 
[2026-09-04 22:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866741760001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398840962438135808,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927470301115711488,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788541967000,"timestamp_ms":1788541967000,"timestamp_seconds":1788541967,"priority":1,"record_length":96,"hex_timestamp":"000001a06d689a98"} 
[2026-09-04 22:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 22:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866741760001,"66":27310,"244":206,"81":20480,"24":54,"16":398840962438135808,"45":1927470301115711488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-09-04 22:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866741760001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:44:09] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-04 22:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398840962438135808,"km_value":398840962438135.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927470301115711488,"description":"Unknown IO ID 45"} 
[2026-09-04 22:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866741760001,"power":27310,"unknown_244":206,"unknown_81":20480,"ignition":54,"odometer":null,"unknown_45":1927470301115711488}} 
[2026-09-04 22:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":171111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:44:09] local.INFO: GPS data processed {"connection_id":171111,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:44:09] local.INFO: Acknowledgment sent {"connection_id":171111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:44:10] local.INFO: TCP Data received {"connection_id":171111,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d68b5f0012d1afe4006d4fa98000b007729..."} 
[2026-09-04 22:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d68b5f0012d1afe4006d4fa98000b007729..."} 
[2026-09-04 22:44:10] local.INFO: Processing buffer {"connection_id":171111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d68b5f0012d1afe4006d4fa98000b007729..."} 
[2026-09-04 22:44:10] local.INFO: Packet analysis {"connection_id":171111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:44:10] local.INFO: Extracted packet for processing {"connection_id":171111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:44:10] local.INFO: GPS Element Parsed {"raw_longitude":756743744,"raw_latitude":114621080,"longitude_deg":75.6743744,"latitude_deg":11.462108,"altitude":11,"angle":119,"satellites":41,"speed":44,"hex_longitude":"2d1afe40","hex_latitude":"06d4fa98","is_valid_coordinates":true} 
[2026-09-04 22:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866743552001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398841409114734592,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936266394136801280,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788541974000,"timestamp_ms":1788541974000,"timestamp_seconds":1788541974,"priority":1,"record_length":96,"hex_timestamp":"000001a06d68b5f0"} 
[2026-09-04 22:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 22:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866743552001,"66":27321,"244":206,"81":20480,"24":44,"16":398841409114734592,"45":1936266394136801280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-09-04 22:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866743552001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:44:10] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-04 22:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398841409114734592,"km_value":398841409114734.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936266394136801280,"description":"Unknown IO ID 45"} 
[2026-09-04 22:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866743552001,"power":27321,"unknown_244":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1936266394136801280}} 
[2026-09-04 22:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":171111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:44:10] local.INFO: GPS data processed {"connection_id":171111,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:44:10] local.INFO: Acknowledgment sent {"connection_id":171111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:44:14] local.INFO: TCP Data received {"connection_id":171111,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d68d918012d1b1f4006d4e850000e00722a..."} 
[2026-09-04 22:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d68d918012d1b1f4006d4e850000e00722a..."} 
[2026-09-04 22:44:14] local.INFO: Processing buffer {"connection_id":171111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d68d918012d1b1f4006d4e850000e00722a..."} 
[2026-09-04 22:44:14] local.INFO: Packet analysis {"connection_id":171111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:44:14] local.INFO: Extracted packet for processing {"connection_id":171111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756752192,"raw_latitude":114616400,"longitude_deg":75.6752192,"latitude_deg":11.46164,"altitude":14,"angle":114,"satellites":42,"speed":39,"hex_longitude":"2d1b1f40","hex_latitude":"06d4e850","is_valid_coordinates":true} 
[2026-09-04 22:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866745344001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398841868676235264,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945062487157807104,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788541983000,"timestamp_ms":1788541983000,"timestamp_seconds":1788541983,"priority":1,"record_length":96,"hex_timestamp":"000001a06d68d918"} 
[2026-09-04 22:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 22:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866745344001,"66":27213,"244":206,"81":20480,"24":39,"16":398841868676235264,"45":1945062487157807104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-09-04 22:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866745344001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:44:14] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-04 22:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398841868676235264,"km_value":398841868676235.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945062487157807104,"description":"Unknown IO ID 45"} 
[2026-09-04 22:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866745344001,"power":27213,"unknown_244":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1945062487157807104}} 
[2026-09-04 22:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":171111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:44:14] local.INFO: GPS data processed {"connection_id":171111,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:44:14] local.INFO: Acknowledgment sent {"connection_id":171111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:44:23] local.INFO: TCP Data received {"connection_id":173809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:44:23] local.INFO: Processing buffer {"connection_id":173809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:44:23] local.INFO: Packet analysis {"connection_id":173809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:44:23] local.INFO: Extracted packet for processing {"connection_id":173809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866625024001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788541805000,"timestamp_ms":1788541805000,"timestamp_seconds":1788541805,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6621c8"} 
[2026-09-04 22:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866625024001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866625024001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:44:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:44:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866625024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":173809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:44:23] local.INFO: GPS data processed {"connection_id":173809,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:44:23] local.INFO: Acknowledgment sent {"connection_id":173809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:44:47] local.INFO: TCP Data received {"connection_id":172522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:44:47] local.INFO: Processing buffer {"connection_id":172522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:44:47] local.INFO: IMEI packet received {"connection_id":172522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":172522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:44:48] local.INFO: TCP Data received {"connection_id":172521,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:44:48] local.INFO: Processing buffer {"connection_id":172521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:44:48] local.INFO: IMEI packet received {"connection_id":172521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":172521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:44:52] local.INFO: TCP Data received {"connection_id":172522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:44:52] local.INFO: Processing buffer {"connection_id":172522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:44:52] local.INFO: IMEI packet received {"connection_id":172522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":172522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:44:52] local.INFO: TCP Data received {"connection_id":172522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:44:52] local.INFO: Processing buffer {"connection_id":172522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:44:52] local.INFO: Packet analysis {"connection_id":172522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:44:52] local.INFO: Extracted packet for processing {"connection_id":172522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866625024001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788541805000,"timestamp_ms":1788541805000,"timestamp_seconds":1788541805,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6621c8"} 
[2026-09-04 22:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866625024001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866625024001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:44:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866625024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":172522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:44:53] local.INFO: GPS data processed {"connection_id":172522,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:44:53] local.INFO: Acknowledgment sent {"connection_id":172522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:44:53] local.INFO: TCP Data received {"connection_id":172521,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:44:53] local.INFO: Processing buffer {"connection_id":172521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:44:53] local.INFO: IMEI packet received {"connection_id":172521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":172521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:44:54] local.INFO: TCP Data received {"connection_id":172521,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:44:54] local.INFO: Processing buffer {"connection_id":172521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:44:54] local.INFO: Packet analysis {"connection_id":172521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:44:54] local.INFO: Extracted packet for processing {"connection_id":172521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:44:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866663936001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788541957000,"timestamp_ms":1788541957000,"timestamp_seconds":1788541957,"priority":1,"record_length":96,"hex_timestamp":"000001a06d687388"} 
[2026-09-04 22:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866663936001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866663936001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:44:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:44:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866663936001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":172521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765933,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:44:55] local.INFO: GPS data processed {"connection_id":172521,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:44:55] local.INFO: Acknowledgment sent {"connection_id":172521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:44:58] local.INFO: TCP Data received {"connection_id":173810,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:58] local.INFO: Processing buffer {"connection_id":173810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:44:58] local.INFO: IMEI packet received {"connection_id":173810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":173810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:45:03] local.INFO: TCP Data received {"connection_id":173810,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:45:03] local.INFO: Processing buffer {"connection_id":173810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:45:03] local.INFO: IMEI packet received {"connection_id":173810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":173810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:45:04] local.INFO: TCP Data received {"connection_id":173810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d690410012d1b428006d4dad0000e006a2a..."} 
[2026-09-04 22:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d690410012d1b428006d4dad0000e006a2a..."} 
[2026-09-04 22:45:04] local.INFO: Processing buffer {"connection_id":173810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d690410012d1b428006d4dad0000e006a2a..."} 
[2026-09-04 22:45:04] local.INFO: Packet analysis {"connection_id":173810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d69"} 
[2026-09-04 22:45:04] local.INFO: Extracted packet for processing {"connection_id":173810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d69"} 
[2026-09-04 22:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756761216,"raw_latitude":114612944,"longitude_deg":75.6761216,"latitude_deg":11.4612944,"altitude":14,"angle":106,"satellites":42,"speed":32,"hex_longitude":"2d1b4280","hex_latitude":"06d4dad0","is_valid_coordinates":true} 
[2026-09-04 22:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866747648001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398842328237735936,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1954351161388060672,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788541994000,"timestamp_ms":1788541994000,"timestamp_seconds":1788541994,"priority":1,"record_length":96,"hex_timestamp":"000001a06d690410"} 
[2026-09-04 22:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 22:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866747648001,"66":27397,"244":206,"81":20480,"24":32,"16":398842328237735936,"45":1954351161388060672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-09-04 22:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866747648001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:45:04] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-04 22:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398842328237735936,"km_value":398842328237735.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1954351161388060672,"description":"Unknown IO ID 45"} 
[2026-09-04 22:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866747648001,"power":27397,"unknown_244":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":1954351161388060672}} 
[2026-09-04 22:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":173810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:45:04] local.INFO: GPS data processed {"connection_id":173810,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:45:04] local.INFO: Acknowledgment sent {"connection_id":173810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:45:23] local.INFO: TCP Data received {"connection_id":172522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:45:23] local.INFO: Processing buffer {"connection_id":172522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6621c8012d1965c0071fef800047011522..."} 
[2026-09-04 22:45:23] local.INFO: Packet analysis {"connection_id":172522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:45:23] local.INFO: Extracted packet for processing {"connection_id":172522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d66"} 
[2026-09-04 22:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866625024001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788541805000,"timestamp_ms":1788541805000,"timestamp_seconds":1788541805,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6621c8"} 
[2026-09-04 22:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-04 22:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866625024001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866625024001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:45:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:45:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866625024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":172522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:45:23] local.INFO: GPS data processed {"connection_id":172522,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:45:23] local.INFO: Acknowledgment sent {"connection_id":172522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:45:27] local.INFO: TCP Data received {"connection_id":172521,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:45:27] local.INFO: Processing buffer {"connection_id":172521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:45:27] local.INFO: Packet analysis {"connection_id":172521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:45:27] local.INFO: Extracted packet for processing {"connection_id":172521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:45:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866663936001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788541957000,"timestamp_ms":1788541957000,"timestamp_seconds":1788541957,"priority":1,"record_length":96,"hex_timestamp":"000001a06d687388"} 
[2026-09-04 22:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866663936001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866663936001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:45:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:45:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866663936001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":172521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:45:27] local.INFO: GPS data processed {"connection_id":172521,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:45:27] local.INFO: Acknowledgment sent {"connection_id":172521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:45:36] local.INFO: TCP Data received {"connection_id":173810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06d692350012d1b5ec006d4d148000d00762a..."} 
[2026-09-04 22:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d692350012d1b5ec006d4d148000d00762a..."} 
[2026-09-04 22:45:36] local.INFO: Processing buffer {"connection_id":173810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d692350012d1b5ec006d4d148000d00762a..."} 
[2026-09-04 22:45:36] local.INFO: Packet analysis {"connection_id":173810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d69"} 
[2026-09-04 22:45:36] local.INFO: Extracted packet for processing {"connection_id":173810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d69"} 
[2026-09-04 22:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756768448,"raw_latitude":114610504,"longitude_deg":75.6768448,"latitude_deg":11.4610504,"altitude":13,"angle":118,"satellites":42,"speed":37,"hex_longitude":"2d1b5ec0","hex_latitude":"06d4d148","is_valid_coordinates":true} 
[2026-09-04 22:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866750464001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398842689014988800,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964273154316226560,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788542002000,"timestamp_ms":1788542002000,"timestamp_seconds":1788542002,"priority":1,"record_length":96,"hex_timestamp":"000001a06d692350"} 
[2026-09-04 22:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 22:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866750464001,"66":27267,"14":206,"81":20480,"24":37,"16":398842689014988800,"45":1964273154316226560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,81,24,16,45]} 
[2026-09-04 22:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866750464001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:45:36] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-04 22:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-04 22:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398842689014988800,"km_value":398842689014988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964273154316226560,"description":"Unknown IO ID 45"} 
[2026-09-04 22:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866750464001,"power":27267,"unknown_14":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1964273154316226560}} 
[2026-09-04 22:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":173810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:45:36] local.INFO: GPS data processed {"connection_id":173810,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:45:36] local.INFO: Acknowledgment sent {"connection_id":173810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:45:47] local.INFO: TCP Data received {"connection_id":171415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:45:47] local.INFO: Processing buffer {"connection_id":171415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:45:47] local.INFO: IMEI packet received {"connection_id":171415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":171415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:45:48] local.INFO: TCP Data received {"connection_id":171414,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:45:48] local.INFO: Processing buffer {"connection_id":171414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:45:48] local.INFO: IMEI packet received {"connection_id":171414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":171414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:45:52] local.INFO: TCP Data received {"connection_id":171415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:45:52] local.INFO: Processing buffer {"connection_id":171415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:45:52] local.INFO: IMEI packet received {"connection_id":171415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":171415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:45:52] local.INFO: TCP Data received {"connection_id":171415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:45:52] local.INFO: Processing buffer {"connection_id":171415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:45:52] local.INFO: Packet analysis {"connection_id":171415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:45:52] local.INFO: Extracted packet for processing {"connection_id":171415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:45:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866702080001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788542106000,"timestamp_ms":1788542106000,"timestamp_seconds":1788542106,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6ab990"} 
[2026-09-04 22:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866702080001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866702080001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:45:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:45:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866702080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":171415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:45:53] local.INFO: GPS data processed {"connection_id":171415,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:45:53] local.INFO: Acknowledgment sent {"connection_id":171415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:45:53] local.INFO: TCP Data received {"connection_id":171414,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:45:53] local.INFO: Processing buffer {"connection_id":171414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:45:53] local.INFO: IMEI packet received {"connection_id":171414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":171414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:45:54] local.INFO: TCP Data received {"connection_id":171414,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:45:54] local.INFO: Processing buffer {"connection_id":171414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:45:54] local.INFO: Packet analysis {"connection_id":171414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:45:54] local.INFO: Extracted packet for processing {"connection_id":171414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:45:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866663936001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788541957000,"timestamp_ms":1788541957000,"timestamp_seconds":1788541957,"priority":1,"record_length":96,"hex_timestamp":"000001a06d687388"} 
[2026-09-04 22:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866663936001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866663936001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:45:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:45:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866663936001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":171414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:45:55] local.INFO: GPS data processed {"connection_id":171414,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:45:55] local.INFO: Acknowledgment sent {"connection_id":171414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:45:55] local.INFO: TCP Data received {"connection_id":172523,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:45:55] local.INFO: Processing buffer {"connection_id":172523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:45:55] local.INFO: IMEI packet received {"connection_id":172523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":172523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:45:57] local.INFO: TCP Data received {"connection_id":172523,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:45:57] local.INFO: Processing buffer {"connection_id":172523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:45:57] local.INFO: IMEI packet received {"connection_id":172523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":172523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:45:58] local.INFO: TCP Data received {"connection_id":172523,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:45:58] local.INFO: Processing buffer {"connection_id":172523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:45:58] local.INFO: IMEI packet received {"connection_id":172523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":172523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:46:00] local.INFO: TCP Data received {"connection_id":172523,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:46:00] local.INFO: Processing buffer {"connection_id":172523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:46:00] local.INFO: IMEI packet received {"connection_id":172523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":172523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:46:23] local.INFO: TCP Data received {"connection_id":171415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:46:23] local.INFO: Processing buffer {"connection_id":171415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:46:23] local.INFO: Packet analysis {"connection_id":171415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:46:23] local.INFO: Extracted packet for processing {"connection_id":171415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866702080001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788542106000,"timestamp_ms":1788542106000,"timestamp_seconds":1788542106,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6ab990"} 
[2026-09-04 22:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866702080001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866702080001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:46:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866702080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":171415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:46:23] local.INFO: GPS data processed {"connection_id":171415,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:46:23] local.INFO: Acknowledgment sent {"connection_id":171415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:46:27] local.INFO: TCP Data received {"connection_id":171414,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:46:27] local.INFO: Processing buffer {"connection_id":171414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:46:27] local.INFO: Packet analysis {"connection_id":171414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:46:27] local.INFO: Extracted packet for processing {"connection_id":171414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:46:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866663936001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788541957000,"timestamp_ms":1788541957000,"timestamp_seconds":1788541957,"priority":1,"record_length":96,"hex_timestamp":"000001a06d687388"} 
[2026-09-04 22:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866663936001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866663936001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:46:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:46:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866663936001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":171414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765941,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:46:27] local.INFO: GPS data processed {"connection_id":171414,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:46:27] local.INFO: Acknowledgment sent {"connection_id":171414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:46:47] local.INFO: TCP Data received {"connection_id":172524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:46:47] local.INFO: Processing buffer {"connection_id":172524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:46:47] local.INFO: IMEI packet received {"connection_id":172524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":172524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:46:48] local.INFO: TCP Data received {"connection_id":172525,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:46:48] local.INFO: Processing buffer {"connection_id":172525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:46:48] local.INFO: IMEI packet received {"connection_id":172525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":172525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:46:52] local.INFO: TCP Data received {"connection_id":172524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:46:52] local.INFO: Processing buffer {"connection_id":172524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:46:52] local.INFO: IMEI packet received {"connection_id":172524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":172524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:46:52] local.INFO: TCP Data received {"connection_id":172524,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:46:52] local.INFO: Processing buffer {"connection_id":172524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:46:52] local.INFO: Packet analysis {"connection_id":172524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:46:52] local.INFO: Extracted packet for processing {"connection_id":172524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:46:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866702080001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788542106000,"timestamp_ms":1788542106000,"timestamp_seconds":1788542106,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6ab990"} 
[2026-09-04 22:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866702080001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866702080001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:46:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:46:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866702080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":172524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:46:53] local.INFO: GPS data processed {"connection_id":172524,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:46:53] local.INFO: Acknowledgment sent {"connection_id":172524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:46:53] local.INFO: TCP Data received {"connection_id":172525,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:46:53] local.INFO: Processing buffer {"connection_id":172525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:46:53] local.INFO: IMEI packet received {"connection_id":172525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":172525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:46:54] local.INFO: TCP Data received {"connection_id":172525,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:46:54] local.INFO: Processing buffer {"connection_id":172525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:46:54] local.INFO: Packet analysis {"connection_id":172525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:46:54] local.INFO: Extracted packet for processing {"connection_id":172525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:46:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866663936001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788541957000,"timestamp_ms":1788541957000,"timestamp_seconds":1788541957,"priority":1,"record_length":96,"hex_timestamp":"000001a06d687388"} 
[2026-09-04 22:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866663936001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866663936001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:46:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:46:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866663936001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":172525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:46:55] local.INFO: GPS data processed {"connection_id":172525,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:46:55] local.INFO: Acknowledgment sent {"connection_id":172525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:47:23] local.INFO: TCP Data received {"connection_id":172524,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:47:23] local.INFO: Processing buffer {"connection_id":172524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:47:23] local.INFO: Packet analysis {"connection_id":172524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:47:23] local.INFO: Extracted packet for processing {"connection_id":172524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866702080001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788542106000,"timestamp_ms":1788542106000,"timestamp_seconds":1788542106,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6ab990"} 
[2026-09-04 22:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866702080001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866702080001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:47:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866702080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":172524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:47:23] local.INFO: GPS data processed {"connection_id":172524,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:47:23] local.INFO: Acknowledgment sent {"connection_id":172524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:47:26] local.INFO: TCP Data received {"connection_id":172525,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:47:26] local.INFO: Processing buffer {"connection_id":172525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:47:26] local.INFO: Packet analysis {"connection_id":172525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:47:26] local.INFO: Extracted packet for processing {"connection_id":172525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:47:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866663936001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788541957000,"timestamp_ms":1788541957000,"timestamp_seconds":1788541957,"priority":1,"record_length":96,"hex_timestamp":"000001a06d687388"} 
[2026-09-04 22:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866663936001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866663936001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:47:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:47:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866663936001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":172525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:47:26] local.INFO: GPS data processed {"connection_id":172525,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:47:26] local.INFO: Acknowledgment sent {"connection_id":172525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:47:47] local.INFO: TCP Data received {"connection_id":171416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:47:47] local.INFO: Processing buffer {"connection_id":171416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:47:47] local.INFO: IMEI packet received {"connection_id":171416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":171416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:47:48] local.INFO: TCP Data received {"connection_id":172526,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:47:48] local.INFO: Processing buffer {"connection_id":172526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:47:48] local.INFO: IMEI packet received {"connection_id":172526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":172526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:47:52] local.INFO: TCP Data received {"connection_id":171416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:47:52] local.INFO: Processing buffer {"connection_id":171416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:47:52] local.INFO: IMEI packet received {"connection_id":171416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":171416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:47:53] local.INFO: TCP Data received {"connection_id":171416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:47:53] local.INFO: Processing buffer {"connection_id":171416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:47:53] local.INFO: Packet analysis {"connection_id":171416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:47:53] local.INFO: Extracted packet for processing {"connection_id":171416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866702080001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788542106000,"timestamp_ms":1788542106000,"timestamp_seconds":1788542106,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6ab990"} 
[2026-09-04 22:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866702080001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866702080001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:47:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:47:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866702080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":171416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:47:53] local.INFO: GPS data processed {"connection_id":171416,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:47:53] local.INFO: Acknowledgment sent {"connection_id":171416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:47:53] local.INFO: TCP Data received {"connection_id":172526,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:47:53] local.INFO: Processing buffer {"connection_id":172526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:47:53] local.INFO: IMEI packet received {"connection_id":172526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":172526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:47:54] local.INFO: TCP Data received {"connection_id":172526,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:47:54] local.INFO: Processing buffer {"connection_id":172526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d687388012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:47:54] local.INFO: Packet analysis {"connection_id":172526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:47:54] local.INFO: Extracted packet for processing {"connection_id":172526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d68"} 
[2026-09-04 22:47:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866663936001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788541957000,"timestamp_ms":1788541957000,"timestamp_seconds":1788541957,"priority":1,"record_length":96,"hex_timestamp":"000001a06d687388"} 
[2026-09-04 22:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866663936001,"66":25343,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866663936001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:47:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:47:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866663936001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":172526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:47:55] local.INFO: GPS data processed {"connection_id":172526,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:47:55] local.INFO: Acknowledgment sent {"connection_id":172526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:48:24] local.INFO: TCP Data received {"connection_id":171416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:48:24] local.INFO: Processing buffer {"connection_id":171416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:48:24] local.INFO: Packet analysis {"connection_id":171416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:48:24] local.INFO: Extracted packet for processing {"connection_id":171416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:48:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866702080001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788542106000,"timestamp_ms":1788542106000,"timestamp_seconds":1788542106,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6ab990"} 
[2026-09-04 22:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866702080001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866702080001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:48:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:48:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866702080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":171416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:48:24] local.INFO: GPS data processed {"connection_id":171416,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:48:24] local.INFO: Acknowledgment sent {"connection_id":171416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:48:26] local.INFO: TCP Data received {"connection_id":172526,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:48:26] local.INFO: Processing buffer {"connection_id":172526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:48:26] local.INFO: Packet analysis {"connection_id":172526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:48:26] local.INFO: Extracted packet for processing {"connection_id":172526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:48:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866740992001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788542258000,"timestamp_ms":1788542258000,"timestamp_seconds":1788542258,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6d0b50"} 
[2026-09-04 22:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866740992001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866740992001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:48:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:48:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866740992001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":172526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:48:26] local.INFO: GPS data processed {"connection_id":172526,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:48:26] local.INFO: Acknowledgment sent {"connection_id":172526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:48:47] local.INFO: TCP Data received {"connection_id":171418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:48:47] local.INFO: Processing buffer {"connection_id":171418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:48:47] local.INFO: IMEI packet received {"connection_id":171418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":171418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:48:48] local.INFO: TCP Data received {"connection_id":171113,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:48:48] local.INFO: Processing buffer {"connection_id":171113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:48:48] local.INFO: IMEI packet received {"connection_id":171113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":171113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:48:52] local.INFO: TCP Data received {"connection_id":171418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:48:52] local.INFO: Processing buffer {"connection_id":171418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:48:52] local.INFO: IMEI packet received {"connection_id":171418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":171418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:48:52] local.INFO: TCP Data received {"connection_id":171418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:48:52] local.INFO: Processing buffer {"connection_id":171418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:48:52] local.INFO: Packet analysis {"connection_id":171418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:48:52] local.INFO: Extracted packet for processing {"connection_id":171418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866702080001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788542106000,"timestamp_ms":1788542106000,"timestamp_seconds":1788542106,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6ab990"} 
[2026-09-04 22:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866702080001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866702080001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:48:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866702080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":171418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:48:53] local.INFO: GPS data processed {"connection_id":171418,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:48:53] local.INFO: Acknowledgment sent {"connection_id":171418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:48:53] local.INFO: TCP Data received {"connection_id":171113,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:48:53] local.INFO: Processing buffer {"connection_id":171113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:48:53] local.INFO: IMEI packet received {"connection_id":171113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":171113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:48:56] local.INFO: TCP Data received {"connection_id":171113,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:48:56] local.INFO: Processing buffer {"connection_id":171113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:48:56] local.INFO: Packet analysis {"connection_id":171113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:48:56] local.INFO: Extracted packet for processing {"connection_id":171113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:48:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866740992001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788542258000,"timestamp_ms":1788542258000,"timestamp_seconds":1788542258,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6d0b50"} 
[2026-09-04 22:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866740992001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866740992001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:48:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:48:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866740992001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":171113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:48:56] local.INFO: GPS data processed {"connection_id":171113,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:48:56] local.INFO: Acknowledgment sent {"connection_id":171113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:49:23] local.INFO: TCP Data received {"connection_id":171418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:49:23] local.INFO: Processing buffer {"connection_id":171418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:49:23] local.INFO: Packet analysis {"connection_id":171418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:49:23] local.INFO: Extracted packet for processing {"connection_id":171418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866702080001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788542106000,"timestamp_ms":1788542106000,"timestamp_seconds":1788542106,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6ab990"} 
[2026-09-04 22:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866702080001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866702080001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:49:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866702080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":171418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:49:23] local.INFO: GPS data processed {"connection_id":171418,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:49:23] local.INFO: Acknowledgment sent {"connection_id":171418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:49:29] local.INFO: TCP Data received {"connection_id":171113,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:49:29] local.INFO: Processing buffer {"connection_id":171113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:49:29] local.INFO: Packet analysis {"connection_id":171113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:49:29] local.INFO: Extracted packet for processing {"connection_id":171113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:49:29] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866740992001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788542258000,"timestamp_ms":1788542258000,"timestamp_seconds":1788542258,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6d0b50"} 
[2026-09-04 22:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866740992001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866740992001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:49:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:49:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866740992001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":171113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:49:29] local.INFO: GPS data processed {"connection_id":171113,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:49:29] local.INFO: Acknowledgment sent {"connection_id":171113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:49:47] local.INFO: TCP Data received {"connection_id":172527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:49:47] local.INFO: Processing buffer {"connection_id":172527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:49:47] local.INFO: IMEI packet received {"connection_id":172527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":172527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:49:48] local.INFO: TCP Data received {"connection_id":171115,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:49:48] local.INFO: Processing buffer {"connection_id":171115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:49:48] local.INFO: IMEI packet received {"connection_id":171115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":171115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:49:52] local.INFO: TCP Data received {"connection_id":172527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:49:52] local.INFO: Processing buffer {"connection_id":172527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:49:52] local.INFO: IMEI packet received {"connection_id":172527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":172527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:49:52] local.INFO: TCP Data received {"connection_id":172527,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:49:52] local.INFO: Processing buffer {"connection_id":172527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:49:52] local.INFO: Packet analysis {"connection_id":172527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:49:52] local.INFO: Extracted packet for processing {"connection_id":172527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:49:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866702080001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788542106000,"timestamp_ms":1788542106000,"timestamp_seconds":1788542106,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6ab990"} 
[2026-09-04 22:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866702080001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866702080001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:49:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:49:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866702080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":172527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:49:53] local.INFO: GPS data processed {"connection_id":172527,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:49:53] local.INFO: Acknowledgment sent {"connection_id":172527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:49:53] local.INFO: TCP Data received {"connection_id":171115,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:49:53] local.INFO: Processing buffer {"connection_id":171115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:49:53] local.INFO: IMEI packet received {"connection_id":171115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":171115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:49:55] local.INFO: TCP Data received {"connection_id":171115,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:49:55] local.INFO: Processing buffer {"connection_id":171115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:49:55] local.INFO: Packet analysis {"connection_id":171115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:49:55] local.INFO: Extracted packet for processing {"connection_id":171115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866740992001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788542258000,"timestamp_ms":1788542258000,"timestamp_seconds":1788542258,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6d0b50"} 
[2026-09-04 22:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866740992001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866740992001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:49:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:49:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866740992001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":171115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765955,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:49:55] local.INFO: GPS data processed {"connection_id":171115,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:49:55] local.INFO: Acknowledgment sent {"connection_id":171115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:50:23] local.INFO: TCP Data received {"connection_id":172527,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:50:23] local.INFO: Processing buffer {"connection_id":172527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6ab990012d1965c0071fef800047011522..."} 
[2026-09-04 22:50:23] local.INFO: Packet analysis {"connection_id":172527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:50:23] local.INFO: Extracted packet for processing {"connection_id":172527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6a"} 
[2026-09-04 22:50:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866702080001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788542106000,"timestamp_ms":1788542106000,"timestamp_seconds":1788542106,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6ab990"} 
[2026-09-04 22:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866702080001,"66":2155,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866702080001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:50:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:50:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866702080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":172527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:50:23] local.INFO: GPS data processed {"connection_id":172527,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:50:23] local.INFO: Acknowledgment sent {"connection_id":172527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:50:27] local.INFO: TCP Data received {"connection_id":171115,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:50:27] local.INFO: Processing buffer {"connection_id":171115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:50:27] local.INFO: Packet analysis {"connection_id":171115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:50:27] local.INFO: Extracted packet for processing {"connection_id":171115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:50:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866740992001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788542258000,"timestamp_ms":1788542258000,"timestamp_seconds":1788542258,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6d0b50"} 
[2026-09-04 22:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866740992001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866740992001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:50:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:50:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866740992001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":171115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:50:27] local.INFO: GPS data processed {"connection_id":171115,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:50:27] local.INFO: Acknowledgment sent {"connection_id":171115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:50:45] local.INFO: TCP Data received {"connection_id":171116,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:50:45] local.INFO: Processing buffer {"connection_id":171116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:50:45] local.INFO: IMEI packet received {"connection_id":171116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":171116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:50:47] local.INFO: TCP Data received {"connection_id":171116,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:50:47] local.INFO: Processing buffer {"connection_id":171116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:50:47] local.INFO: IMEI packet received {"connection_id":171116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":171116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:50:48] local.INFO: TCP Data received {"connection_id":171420,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:50:48] local.INFO: Processing buffer {"connection_id":171420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:50:48] local.INFO: IMEI packet received {"connection_id":171420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":171420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:50:52] local.INFO: TCP Data received {"connection_id":171116,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:50:52] local.INFO: Processing buffer {"connection_id":171116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:50:52] local.INFO: IMEI packet received {"connection_id":171116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":171116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:50:52] local.INFO: TCP Data received {"connection_id":171116,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:50:52] local.INFO: Processing buffer {"connection_id":171116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:50:52] local.INFO: Packet analysis {"connection_id":171116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:50:52] local.INFO: Extracted packet for processing {"connection_id":171116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866779136001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788542407000,"timestamp_ms":1788542407000,"timestamp_seconds":1788542407,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6f5158"} 
[2026-09-04 22:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866779136001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866779136001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:50:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:50:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866779136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":171116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:50:52] local.INFO: GPS data processed {"connection_id":171116,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:50:52] local.INFO: Acknowledgment sent {"connection_id":171116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:50:53] local.INFO: TCP Data received {"connection_id":171420,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:50:53] local.INFO: Processing buffer {"connection_id":171420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:50:53] local.INFO: IMEI packet received {"connection_id":171420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":171420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:50:57] local.INFO: TCP Data received {"connection_id":171420,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:50:57] local.INFO: Processing buffer {"connection_id":171420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:50:57] local.INFO: Packet analysis {"connection_id":171420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:50:57] local.INFO: Extracted packet for processing {"connection_id":171420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:50:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866740992001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788542258000,"timestamp_ms":1788542258000,"timestamp_seconds":1788542258,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6d0b50"} 
[2026-09-04 22:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866740992001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866740992001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:50:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:50:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866740992001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":171420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:50:58] local.INFO: GPS data processed {"connection_id":171420,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:50:58] local.INFO: Acknowledgment sent {"connection_id":171420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:51:03] local.INFO: TCP Data received {"connection_id":171117,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:51:03] local.INFO: Processing buffer {"connection_id":171117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:51:03] local.INFO: IMEI packet received {"connection_id":171117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":171117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:51:04] local.INFO: TCP Data received {"connection_id":171117,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6e7e68012d1e2d4006d179f00013009c29..."} 
[2026-09-04 22:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6e7e68012d1e2d4006d179f00013009c29..."} 
[2026-09-04 22:51:04] local.INFO: Processing buffer {"connection_id":171117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6e7e68012d1e2d4006d179f00013009c29..."} 
[2026-09-04 22:51:04] local.INFO: Packet analysis {"connection_id":171117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6e"} 
[2026-09-04 22:51:04] local.INFO: Extracted packet for processing {"connection_id":171117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6e"} 
[2026-09-04 22:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756952384,"raw_latitude":114391536,"longitude_deg":75.6952384,"latitude_deg":11.4391536,"altitude":19,"angle":156,"satellites":41,"speed":36,"hex_longitude":"2d1e2d40","hex_latitude":"06d179f0","is_valid_coordinates":true} 
[2026-09-04 22:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866839296001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398856883881902080,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2170664680934938624,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788542353000,"timestamp_ms":1788542353000,"timestamp_seconds":1788542353,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6e7e68"} 
[2026-09-04 22:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 22:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866839296001,"66":27332,"153":206,"81":22528,"24":36,"16":398856883881902080,"45":2170664680934938624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-09-04 22:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866839296001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:51:04] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-04 22:51:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398856883881902080,"km_value":398856883881902.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2170664680934938624,"description":"Unknown IO ID 45"} 
[2026-09-04 22:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866839296001,"power":27332,"unknown_153":206,"unknown_81":22528,"ignition":36,"odometer":null,"unknown_45":2170664680934938624}} 
[2026-09-04 22:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":171117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:51:04] local.INFO: GPS data processed {"connection_id":171117,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:51:04] local.INFO: Acknowledgment sent {"connection_id":171117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:51:23] local.INFO: TCP Data received {"connection_id":171116,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:51:23] local.INFO: Processing buffer {"connection_id":171116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:51:23] local.INFO: Packet analysis {"connection_id":171116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:51:23] local.INFO: Extracted packet for processing {"connection_id":171116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866779136001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788542407000,"timestamp_ms":1788542407000,"timestamp_seconds":1788542407,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6f5158"} 
[2026-09-04 22:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866779136001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866779136001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:51:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866779136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":171116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:51:23] local.INFO: GPS data processed {"connection_id":171116,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:51:23] local.INFO: Acknowledgment sent {"connection_id":171116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:51:29] local.INFO: TCP Data received {"connection_id":171420,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:51:29] local.INFO: Processing buffer {"connection_id":171420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:51:29] local.INFO: Packet analysis {"connection_id":171420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:51:29] local.INFO: Extracted packet for processing {"connection_id":171420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:51:29] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866740992001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788542258000,"timestamp_ms":1788542258000,"timestamp_seconds":1788542258,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6d0b50"} 
[2026-09-04 22:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866740992001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866740992001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:51:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:51:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866740992001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":171420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765962,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:51:29] local.INFO: GPS data processed {"connection_id":171420,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:51:29] local.INFO: Acknowledgment sent {"connection_id":171420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:51:35] local.INFO: TCP Data received {"connection_id":171117,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6ea190012d1e3d0006d15ae80013009529..."} 
[2026-09-04 22:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6ea190012d1e3d0006d15ae80013009529..."} 
[2026-09-04 22:51:35] local.INFO: Processing buffer {"connection_id":171117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6ea190012d1e3d0006d15ae80013009529..."} 
[2026-09-04 22:51:35] local.INFO: Packet analysis {"connection_id":171117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6e"} 
[2026-09-04 22:51:35] local.INFO: Extracted packet for processing {"connection_id":171117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6e"} 
[2026-09-04 22:51:35] local.INFO: GPS Element Parsed {"raw_longitude":756956416,"raw_latitude":114383592,"longitude_deg":75.6956416,"latitude_deg":11.4383592,"altitude":19,"angle":149,"satellites":41,"speed":39,"hex_longitude":"2d1e3d00","hex_latitude":"06d15ae8","is_valid_coordinates":true} 
[2026-09-04 22:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866842368001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398857317673598976,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2174464593118228480,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788542362000,"timestamp_ms":1788542362000,"timestamp_seconds":1788542362,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6ea190"} 
[2026-09-04 22:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 22:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866842368001,"66":27267,"153":206,"81":22528,"24":39,"16":398857317673598976,"45":2174464593118228480},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-09-04 22:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866842368001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:51:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-04 22:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398857317673598976,"km_value":398857317673599.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2174464593118228480,"description":"Unknown IO ID 45"} 
[2026-09-04 22:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866842368001,"power":27267,"unknown_153":206,"unknown_81":22528,"ignition":39,"odometer":null,"unknown_45":2174464593118228480}} 
[2026-09-04 22:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":171117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:51:35] local.INFO: GPS data processed {"connection_id":171117,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:51:35] local.INFO: Acknowledgment sent {"connection_id":171117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:51:47] local.INFO: TCP Data received {"connection_id":171118,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:51:47] local.INFO: Processing buffer {"connection_id":171118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:51:47] local.INFO: IMEI packet received {"connection_id":171118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":171118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:51:48] local.INFO: TCP Data received {"connection_id":173812,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:51:48] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:51:48] local.INFO: IMEI packet received {"connection_id":173812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":173812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:51:52] local.INFO: TCP Data received {"connection_id":171118,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:51:52] local.INFO: Processing buffer {"connection_id":171118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:51:52] local.INFO: IMEI packet received {"connection_id":171118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":171118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:51:52] local.INFO: TCP Data received {"connection_id":171118,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:51:52] local.INFO: Processing buffer {"connection_id":171118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:51:52] local.INFO: Packet analysis {"connection_id":171118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:51:52] local.INFO: Extracted packet for processing {"connection_id":171118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:51:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866779136001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788542407000,"timestamp_ms":1788542407000,"timestamp_seconds":1788542407,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6f5158"} 
[2026-09-04 22:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866779136001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866779136001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:51:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:51:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866779136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":171118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:51:53] local.INFO: GPS data processed {"connection_id":171118,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:51:53] local.INFO: Acknowledgment sent {"connection_id":171118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:51:53] local.INFO: TCP Data received {"connection_id":173812,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:51:53] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:51:53] local.INFO: IMEI packet received {"connection_id":173812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":173812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:51:55] local.INFO: TCP Data received {"connection_id":173812,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:51:55] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:51:55] local.INFO: Packet analysis {"connection_id":173812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:51:55] local.INFO: Extracted packet for processing {"connection_id":173812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:51:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866740992001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788542258000,"timestamp_ms":1788542258000,"timestamp_seconds":1788542258,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6d0b50"} 
[2026-09-04 22:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866740992001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866740992001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:51:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:51:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866740992001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":173812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:51:55] local.INFO: GPS data processed {"connection_id":173812,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:51:55] local.INFO: Acknowledgment sent {"connection_id":173812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:51:58] local.INFO: TCP Data received {"connection_id":171421,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:51:58] local.INFO: Processing buffer {"connection_id":171421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:51:58] local.INFO: IMEI packet received {"connection_id":171421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":171421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:51:59] local.INFO: TCP Data received {"connection_id":171421,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:51:59] local.INFO: Processing buffer {"connection_id":171421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:51:59] local.INFO: IMEI packet received {"connection_id":171421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":171421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:52:03] local.INFO: TCP Data received {"connection_id":171421,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:52:03] local.INFO: Processing buffer {"connection_id":171421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:52:03] local.INFO: IMEI packet received {"connection_id":171421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":171421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:52:04] local.INFO: TCP Data received {"connection_id":171421,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6ec8a0012d1e528006d13d38001300922b..."} 
[2026-09-04 22:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6ec8a0012d1e528006d13d38001300922b..."} 
[2026-09-04 22:52:04] local.INFO: Processing buffer {"connection_id":171421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6ec8a0012d1e528006d13d38001300922b..."} 
[2026-09-04 22:52:04] local.INFO: Packet analysis {"connection_id":171421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6e"} 
[2026-09-04 22:52:04] local.INFO: Extracted packet for processing {"connection_id":171421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6e"} 
[2026-09-04 22:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756961920,"raw_latitude":114375992,"longitude_deg":75.696192,"latitude_deg":11.4375992,"altitude":19,"angle":146,"satellites":43,"speed":32,"hex_longitude":"2d1e5280","hex_latitude":"06d13d38","is_valid_coordinates":true} 
[2026-09-04 22:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866844672001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398857768645165056,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2178897823999387648,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788542372000,"timestamp_ms":1788542372000,"timestamp_seconds":1788542372,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6ec8a0"} 
[2026-09-04 22:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 22:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866844672001,"66":27321,"153":206,"81":22528,"24":32,"16":398857768645165056,"45":2178897823999387648},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-09-04 22:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866844672001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:52:04] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-04 22:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398857768645165056,"km_value":398857768645165.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2178897823999387648,"description":"Unknown IO ID 45"} 
[2026-09-04 22:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866844672001,"power":27321,"unknown_153":206,"unknown_81":22528,"ignition":32,"odometer":null,"unknown_45":2178897823999387648}} 
[2026-09-04 22:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":171421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:52:04] local.INFO: GPS data processed {"connection_id":171421,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:52:04] local.INFO: Acknowledgment sent {"connection_id":171421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:52:24] local.INFO: TCP Data received {"connection_id":171118,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:52:24] local.INFO: Processing buffer {"connection_id":171118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:52:24] local.INFO: Packet analysis {"connection_id":171118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:52:24] local.INFO: Extracted packet for processing {"connection_id":171118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866779136001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788542407000,"timestamp_ms":1788542407000,"timestamp_seconds":1788542407,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6f5158"} 
[2026-09-04 22:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866779136001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866779136001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:52:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:52:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866779136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":171118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:52:24] local.INFO: GPS data processed {"connection_id":171118,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:52:24] local.INFO: Acknowledgment sent {"connection_id":171118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:52:27] local.INFO: TCP Data received {"connection_id":173812,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:52:27] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:52:27] local.INFO: Packet analysis {"connection_id":173812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:52:27] local.INFO: Extracted packet for processing {"connection_id":173812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:52:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866740992001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788542258000,"timestamp_ms":1788542258000,"timestamp_seconds":1788542258,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6d0b50"} 
[2026-09-04 22:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866740992001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866740992001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:52:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:52:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866740992001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":173812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765968,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:52:27] local.INFO: GPS data processed {"connection_id":173812,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:52:27] local.INFO: Acknowledgment sent {"connection_id":173812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:52:36] local.INFO: TCP Data received {"connection_id":171421,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d70cc40012d1f5c4006cfb3580010008e2a..."} 
[2026-09-04 22:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d70cc40012d1f5c4006cfb3580010008e2a..."} 
[2026-09-04 22:52:36] local.INFO: Processing buffer {"connection_id":171421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d70cc40012d1f5c4006cfb3580010008e2a..."} 
[2026-09-04 22:52:36] local.INFO: Packet analysis {"connection_id":171421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d70"} 
[2026-09-04 22:52:36] local.INFO: Extracted packet for processing {"connection_id":171421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d70"} 
[2026-09-04 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":757029952,"raw_latitude":114275160,"longitude_deg":75.7029952,"latitude_deg":11.427516,"altitude":16,"angle":142,"satellites":42,"speed":43,"hex_longitude":"2d1f5c40","hex_latitude":"06cfb358","is_valid_coordinates":true} 
[2026-09-04 22:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866878464001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398863635570491392,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2253488692802009088,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 22:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788542504000,"timestamp_ms":1788542504000,"timestamp_seconds":1788542504,"priority":1,"record_length":96,"hex_timestamp":"000001a06d70cc40"} 
[2026-09-04 22:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 22:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866878464001,"66":27365,"81":22528,"24":43,"16":398863635570491392,"45":2253488692802009088},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-04 22:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866878464001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398863635570491392,"km_value":398863635570491.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2253488692802009088,"description":"Unknown IO ID 45"} 
[2026-09-04 22:52:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457866878464001,"power":27365,"unknown_81":22528,"ignition":43,"odometer":null,"unknown_45":2253488692802009088}} 
[2026-09-04 22:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":171421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:52:36] local.INFO: GPS data processed {"connection_id":171421,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:52:36] local.INFO: Acknowledgment sent {"connection_id":171421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:52:52] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:52:52] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:52:52] local.INFO: IMEI packet received {"connection_id":173813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":173813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:52:53] local.INFO: TCP Data received {"connection_id":171422,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:52:53] local.INFO: Processing buffer {"connection_id":171422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:52:53] local.INFO: IMEI packet received {"connection_id":171422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":171422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:52:57] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:52:57] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:52:57] local.INFO: IMEI packet received {"connection_id":173813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":173813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:52:57] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:52:57] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:52:57] local.INFO: Packet analysis {"connection_id":173813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:52:57] local.INFO: Extracted packet for processing {"connection_id":173813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866779136001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788542407000,"timestamp_ms":1788542407000,"timestamp_seconds":1788542407,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6f5158"} 
[2026-09-04 22:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866779136001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866779136001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:52:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866779136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":173813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:52:57] local.INFO: GPS data processed {"connection_id":173813,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:52:57] local.INFO: Acknowledgment sent {"connection_id":173813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:52:58] local.INFO: TCP Data received {"connection_id":171422,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:52:58] local.INFO: Processing buffer {"connection_id":171422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:52:58] local.INFO: IMEI packet received {"connection_id":171422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":171422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:53:00] local.INFO: TCP Data received {"connection_id":171422,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:53:00] local.INFO: Processing buffer {"connection_id":171422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:53:00] local.INFO: Packet analysis {"connection_id":171422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:53:00] local.INFO: Extracted packet for processing {"connection_id":171422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:53:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866740992001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788542258000,"timestamp_ms":1788542258000,"timestamp_seconds":1788542258,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6d0b50"} 
[2026-09-04 22:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866740992001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866740992001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:53:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:53:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866740992001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":171422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:53:00] local.INFO: GPS data processed {"connection_id":171422,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:53:00] local.INFO: Acknowledgment sent {"connection_id":171422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:53:02] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:53:02] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:53:02] local.INFO: Packet analysis {"connection_id":173813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:53:02] local.INFO: Extracted packet for processing {"connection_id":173813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:53:02] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866779136001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788542407000,"timestamp_ms":1788542407000,"timestamp_seconds":1788542407,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6f5158"} 
[2026-09-04 22:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866779136001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866779136001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:53:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:53:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866779136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":173813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:53:02] local.INFO: GPS data processed {"connection_id":173813,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:53:02] local.INFO: Acknowledgment sent {"connection_id":173813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:53:03] local.INFO: TCP Data received {"connection_id":171119,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:03] local.INFO: Processing buffer {"connection_id":171119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:03] local.INFO: IMEI packet received {"connection_id":171119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":171119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:53:04] local.INFO: TCP Data received {"connection_id":171119,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:04] local.INFO: Processing buffer {"connection_id":171119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:04] local.INFO: IMEI packet received {"connection_id":171119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":171119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:53:04] local.INFO: TCP Data received {"connection_id":171422,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:53:04] local.INFO: Processing buffer {"connection_id":171422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6d0b50012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:53:04] local.INFO: Packet analysis {"connection_id":171422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:53:04] local.INFO: Extracted packet for processing {"connection_id":171422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6d"} 
[2026-09-04 22:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866740992001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788542258000,"timestamp_ms":1788542258000,"timestamp_seconds":1788542258,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6d0b50"} 
[2026-09-04 22:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-04 22:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866740992001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866740992001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:53:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:53:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866740992001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":171422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765973,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:53:04] local.INFO: GPS data processed {"connection_id":171422,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:53:04] local.INFO: Acknowledgment sent {"connection_id":171422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:53:08] local.INFO: TCP Data received {"connection_id":171119,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:08] local.INFO: Processing buffer {"connection_id":171119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:08] local.INFO: IMEI packet received {"connection_id":171119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":171119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:53:09] local.INFO: TCP Data received {"connection_id":171119,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d70dfc8012d1f6bc006cfa308001100802a..."} 
[2026-09-04 22:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d70dfc8012d1f6bc006cfa308001100802a..."} 
[2026-09-04 22:53:09] local.INFO: Processing buffer {"connection_id":171119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d70dfc8012d1f6bc006cfa308001100802a..."} 
[2026-09-04 22:53:09] local.INFO: Packet analysis {"connection_id":171119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d70"} 
[2026-09-04 22:53:09] local.INFO: Extracted packet for processing {"connection_id":171119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d70"} 
[2026-09-04 22:53:09] local.INFO: GPS Element Parsed {"raw_longitude":757033920,"raw_latitude":114270984,"longitude_deg":75.703392,"latitude_deg":11.4270984,"altitude":17,"angle":128,"satellites":42,"speed":46,"hex_longitude":"2d1f6bc0","hex_latitude":"06cfa308","is_valid_coordinates":true} 
[2026-09-04 22:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866881024001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398863914743365632,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2259751511031764992,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-04 22:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788542509000,"timestamp_ms":1788542509000,"timestamp_seconds":1788542509,"priority":1,"record_length":96,"hex_timestamp":"000001a06d70dfc8"} 
[2026-09-04 22:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 22:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866881024001,"66":27376,"81":22528,"24":46,"16":398863914743365632,"45":2259751511031764992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-04 22:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866881024001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398863914743365632,"km_value":398863914743365.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2259751511031764992,"description":"Unknown IO ID 45"} 
[2026-09-04 22:53:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457866881024001,"power":27376,"unknown_81":22528,"ignition":46,"odometer":null,"unknown_45":2259751511031764992}} 
[2026-09-04 22:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":171119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:53:09] local.INFO: GPS data processed {"connection_id":171119,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:53:09] local.INFO: Acknowledgment sent {"connection_id":171119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:53:41] local.INFO: TCP Data received {"connection_id":171119,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d70eb80012d1f77c006cf9b70001100742a..."} 
[2026-09-04 22:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d70eb80012d1f77c006cf9b70001100742a..."} 
[2026-09-04 22:53:41] local.INFO: Processing buffer {"connection_id":171119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d70eb80012d1f77c006cf9b70001100742a..."} 
[2026-09-04 22:53:41] local.INFO: Packet analysis {"connection_id":171119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d70"} 
[2026-09-04 22:53:41] local.INFO: Extracted packet for processing {"connection_id":171119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d70"} 
[2026-09-04 22:53:41] local.INFO: GPS Element Parsed {"raw_longitude":757036992,"raw_latitude":114269040,"longitude_deg":75.7036992,"latitude_deg":11.426904,"altitude":17,"angle":116,"satellites":42,"speed":47,"hex_longitude":"2d1f77c0","hex_latitude":"06cf9b70","is_valid_coordinates":true} 
[2026-09-04 22:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866882304001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398864086542057472,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2264114373169711104,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788542512000,"timestamp_ms":1788542512000,"timestamp_seconds":1788542512,"priority":1,"record_length":96,"hex_timestamp":"000001a06d70eb80"} 
[2026-09-04 22:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 22:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866882304001,"66":27332,"79":206,"81":22528,"24":47,"16":398864086542057472,"45":2264114373169711104},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-04 22:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866882304001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:53:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 22:53:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398864086542057472,"km_value":398864086542057.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2264114373169711104,"description":"Unknown IO ID 45"} 
[2026-09-04 22:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866882304001,"power":27332,"unknown_79":206,"unknown_81":22528,"ignition":47,"odometer":null,"unknown_45":2264114373169711104}} 
[2026-09-04 22:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":171119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:53:41] local.INFO: GPS data processed {"connection_id":171119,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:53:41] local.INFO: Acknowledgment sent {"connection_id":171119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:53:47] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:53:47] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:53:47] local.INFO: IMEI packet received {"connection_id":173814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":173814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:53:48] local.INFO: TCP Data received {"connection_id":171120,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:53:48] local.INFO: Processing buffer {"connection_id":171120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:53:48] local.INFO: IMEI packet received {"connection_id":171120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":171120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:53:52] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:53:52] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:53:52] local.INFO: IMEI packet received {"connection_id":173814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":173814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:53:52] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:53:52] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:53:52] local.INFO: Packet analysis {"connection_id":173814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:53:52] local.INFO: Extracted packet for processing {"connection_id":173814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:53:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866779136001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788542407000,"timestamp_ms":1788542407000,"timestamp_seconds":1788542407,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6f5158"} 
[2026-09-04 22:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866779136001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866779136001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:53:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:53:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866779136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":173814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:53:52] local.INFO: GPS data processed {"connection_id":173814,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:53:52] local.INFO: Acknowledgment sent {"connection_id":173814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:53:53] local.INFO: TCP Data received {"connection_id":171120,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:53:53] local.INFO: Processing buffer {"connection_id":171120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:53:53] local.INFO: IMEI packet received {"connection_id":171120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":171120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:53:55] local.INFO: TCP Data received {"connection_id":171120,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:53:55] local.INFO: Processing buffer {"connection_id":171120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:53:55] local.INFO: Packet analysis {"connection_id":171120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:53:55] local.INFO: Extracted packet for processing {"connection_id":171120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:53:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866818048001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788542559000,"timestamp_ms":1788542559000,"timestamp_seconds":1788542559,"priority":1,"record_length":96,"hex_timestamp":"000001a06d71a318"} 
[2026-09-04 22:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866818048001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866818048001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:53:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866818048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":171120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:53:55] local.INFO: GPS data processed {"connection_id":171120,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:53:55] local.INFO: Acknowledgment sent {"connection_id":171120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:53:56] local.INFO: TCP Data received {"connection_id":171121,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:56] local.INFO: Processing buffer {"connection_id":171121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:56] local.INFO: IMEI packet received {"connection_id":171121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":171121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:53:57] local.INFO: TCP Data received {"connection_id":171121,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:57] local.INFO: Processing buffer {"connection_id":171121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:57] local.INFO: IMEI packet received {"connection_id":171121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":171121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:53:57] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:53:57] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:53:57] local.INFO: Packet analysis {"connection_id":173814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:53:57] local.INFO: Extracted packet for processing {"connection_id":173814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866779136001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788542407000,"timestamp_ms":1788542407000,"timestamp_seconds":1788542407,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6f5158"} 
[2026-09-04 22:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866779136001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866779136001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:53:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866779136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":173814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:53:57] local.INFO: GPS data processed {"connection_id":173814,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:53:57] local.INFO: Acknowledgment sent {"connection_id":173814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:53:58] local.INFO: TCP Data received {"connection_id":171121,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:58] local.INFO: Processing buffer {"connection_id":171121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:53:58] local.INFO: IMEI packet received {"connection_id":171121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":171121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:54:03] local.INFO: TCP Data received {"connection_id":171121,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:54:03] local.INFO: Processing buffer {"connection_id":171121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:54:03] local.INFO: IMEI packet received {"connection_id":171121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":171121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:54:03] local.INFO: TCP Data received {"connection_id":171121,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d710ea8012d1f9a0006cf8bd8000f006f2b..."} 
[2026-09-04 22:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d710ea8012d1f9a0006cf8bd8000f006f2b..."} 
[2026-09-04 22:54:03] local.INFO: Processing buffer {"connection_id":171121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d710ea8012d1f9a0006cf8bd8000f006f2b..."} 
[2026-09-04 22:54:03] local.INFO: Packet analysis {"connection_id":171121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:54:03] local.INFO: Extracted packet for processing {"connection_id":171121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:54:03] local.INFO: GPS Element Parsed {"raw_longitude":757045760,"raw_latitude":114265048,"longitude_deg":75.704576,"latitude_deg":11.4265048,"altitude":15,"angle":111,"satellites":43,"speed":38,"hex_longitude":"2d1f9a00","hex_latitude":"06cf8bd8","is_valid_coordinates":true} 
[2026-09-04 22:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866883072001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398864546103558144,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2267492072889741312,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788542521000,"timestamp_ms":1788542521000,"timestamp_seconds":1788542521,"priority":1,"record_length":96,"hex_timestamp":"000001a06d710ea8"} 
[2026-09-04 22:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 22:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866883072001,"66":27343,"79":206,"81":22528,"24":38,"16":398864546103558144,"45":2267492072889741312},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-04 22:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866883072001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:54:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 22:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398864546103558144,"km_value":398864546103558.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2267492072889741312,"description":"Unknown IO ID 45"} 
[2026-09-04 22:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866883072001,"power":27343,"unknown_79":206,"unknown_81":22528,"ignition":38,"odometer":null,"unknown_45":2267492072889741312}} 
[2026-09-04 22:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":171121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:54:04] local.INFO: GPS data processed {"connection_id":171121,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:54:04] local.INFO: Acknowledgment sent {"connection_id":171121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:54:27] local.INFO: TCP Data received {"connection_id":171120,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:54:27] local.INFO: Processing buffer {"connection_id":171120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:54:27] local.INFO: Packet analysis {"connection_id":171120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:54:27] local.INFO: Extracted packet for processing {"connection_id":171120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:54:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866818048001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788542559000,"timestamp_ms":1788542559000,"timestamp_seconds":1788542559,"priority":1,"record_length":96,"hex_timestamp":"000001a06d71a318"} 
[2026-09-04 22:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866818048001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866818048001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:54:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:54:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866818048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":171120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:54:27] local.INFO: GPS data processed {"connection_id":171120,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:54:27] local.INFO: Acknowledgment sent {"connection_id":171120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:54:28] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:54:28] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:54:28] local.INFO: Packet analysis {"connection_id":173814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:54:28] local.INFO: Extracted packet for processing {"connection_id":173814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866779136001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788542407000,"timestamp_ms":1788542407000,"timestamp_seconds":1788542407,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6f5158"} 
[2026-09-04 22:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866779136001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866779136001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:54:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866779136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":173814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:54:29] local.INFO: GPS data processed {"connection_id":173814,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:54:29] local.INFO: Acknowledgment sent {"connection_id":173814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:54:34] local.INFO: TCP Data received {"connection_id":171121,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d726280012d20ae0006cef780000a009c28..."} 
[2026-09-04 22:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d726280012d20ae0006cef780000a009c28..."} 
[2026-09-04 22:54:34] local.INFO: Processing buffer {"connection_id":171121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d726280012d20ae0006cef780000a009c28..."} 
[2026-09-04 22:54:34] local.INFO: Packet analysis {"connection_id":171121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d72"} 
[2026-09-04 22:54:34] local.INFO: Extracted packet for processing {"connection_id":171121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d72"} 
[2026-09-04 22:54:34] local.INFO: GPS Element Parsed {"raw_longitude":757116416,"raw_latitude":114227072,"longitude_deg":75.7116416,"latitude_deg":11.4227072,"altitude":10,"angle":156,"satellites":40,"speed":14,"hex_longitude":"2d20ae00","hex_latitude":"06cef780","is_valid_coordinates":true} 
[2026-09-04 22:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866907392001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398868420164059136,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2354608578171029504,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788542608000,"timestamp_ms":1788542608000,"timestamp_seconds":1788542608,"priority":1,"record_length":96,"hex_timestamp":"000001a06d726280"} 
[2026-09-04 22:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 22:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866907392001,"66":27365,"61":206,"81":22528,"24":14,"16":398868420164059136,"45":2354608578171029504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-04 22:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866907392001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:54:34] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-04 22:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398868420164059136,"km_value":398868420164059.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2354608578171029504,"description":"Unknown IO ID 45"} 
[2026-09-04 22:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866907392001,"power":27365,"unknown_61":206,"unknown_81":22528,"ignition":14,"odometer":null,"unknown_45":2354608578171029504}} 
[2026-09-04 22:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":171121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:54:34] local.INFO: GPS data processed {"connection_id":171121,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:54:34] local.INFO: Acknowledgment sent {"connection_id":171121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:54:47] local.INFO: TCP Data received {"connection_id":171122,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:54:47] local.INFO: Processing buffer {"connection_id":171122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:54:47] local.INFO: IMEI packet received {"connection_id":171122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":171122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:54:48] local.INFO: TCP Data received {"connection_id":171423,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:54:48] local.INFO: Processing buffer {"connection_id":171423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:54:48] local.INFO: IMEI packet received {"connection_id":171423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":171423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:54:52] local.INFO: TCP Data received {"connection_id":171122,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:54:52] local.INFO: Processing buffer {"connection_id":171122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:54:52] local.INFO: IMEI packet received {"connection_id":171122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":171122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:54:52] local.INFO: TCP Data received {"connection_id":171122,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:54:52] local.INFO: Processing buffer {"connection_id":171122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:54:52] local.INFO: Packet analysis {"connection_id":171122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:54:52] local.INFO: Extracted packet for processing {"connection_id":171122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866779136001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788542407000,"timestamp_ms":1788542407000,"timestamp_seconds":1788542407,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6f5158"} 
[2026-09-04 22:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866779136001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866779136001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:54:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866779136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":171122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:54:52] local.INFO: GPS data processed {"connection_id":171122,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:54:52] local.INFO: Acknowledgment sent {"connection_id":171122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:54:53] local.INFO: TCP Data received {"connection_id":171423,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:54:53] local.INFO: Processing buffer {"connection_id":171423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:54:53] local.INFO: IMEI packet received {"connection_id":171423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":171423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:54:54] local.INFO: TCP Data received {"connection_id":171423,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:54:54] local.INFO: Processing buffer {"connection_id":171423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:54:54] local.INFO: Packet analysis {"connection_id":171423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:54:54] local.INFO: Extracted packet for processing {"connection_id":171423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:54:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866818048001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788542559000,"timestamp_ms":1788542559000,"timestamp_seconds":1788542559,"priority":1,"record_length":96,"hex_timestamp":"000001a06d71a318"} 
[2026-09-04 22:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866818048001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866818048001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:54:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:54:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866818048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":171423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765984,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:54:54] local.INFO: GPS data processed {"connection_id":171423,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:54:54] local.INFO: Acknowledgment sent {"connection_id":171423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:54:57] local.INFO: TCP Data received {"connection_id":172528,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:54:57] local.INFO: Processing buffer {"connection_id":172528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:54:57] local.INFO: IMEI packet received {"connection_id":172528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":172528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:54:58] local.INFO: TCP Data received {"connection_id":172528,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:54:58] local.INFO: Processing buffer {"connection_id":172528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:54:58] local.INFO: IMEI packet received {"connection_id":172528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":172528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:55:04] local.INFO: TCP Data received {"connection_id":172528,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:55:04] local.INFO: Processing buffer {"connection_id":172528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:55:04] local.INFO: IMEI packet received {"connection_id":172528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":172528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:55:06] local.INFO: TCP Data received {"connection_id":172528,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d72b0a0012d20bb8006ced8f0000f008f27..."} 
[2026-09-04 22:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d72b0a0012d20bb8006ced8f0000f008f27..."} 
[2026-09-04 22:55:06] local.INFO: Processing buffer {"connection_id":172528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d72b0a0012d20bb8006ced8f0000f008f27..."} 
[2026-09-04 22:55:06] local.INFO: Packet analysis {"connection_id":172528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d72"} 
[2026-09-04 22:55:06] local.INFO: Extracted packet for processing {"connection_id":172528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d72"} 
[2026-09-04 22:55:06] local.INFO: GPS Element Parsed {"raw_longitude":757119872,"raw_latitude":114219248,"longitude_deg":75.7119872,"latitude_deg":11.4219248,"altitude":15,"angle":143,"satellites":39,"speed":26,"hex_longitude":"2d20bb80","hex_latitude":"06ced8f0","is_valid_coordinates":true} 
[2026-09-04 22:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866907648001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398868836775886848,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2354819684403478528,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788542628000,"timestamp_ms":1788542628000,"timestamp_seconds":1788542628,"priority":1,"record_length":96,"hex_timestamp":"000001a06d72b0a0"} 
[2026-09-04 22:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 22:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866907648001,"66":27365,"60":206,"81":22528,"24":26,"16":398868836775886848,"45":2354819684403478528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-09-04 22:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866907648001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:55:06] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-04 22:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398868836775886848,"km_value":398868836775886.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2354819684403478528,"description":"Unknown IO ID 45"} 
[2026-09-04 22:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866907648001,"power":27365,"unknown_60":206,"unknown_81":22528,"ignition":26,"odometer":null,"unknown_45":2354819684403478528}} 
[2026-09-04 22:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":172528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:55:06] local.INFO: GPS data processed {"connection_id":172528,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:55:06] local.INFO: Acknowledgment sent {"connection_id":172528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:55:23] local.INFO: TCP Data received {"connection_id":171122,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:55:23] local.INFO: Processing buffer {"connection_id":171122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d6f5158012d1965c0071fef800047011524..."} 
[2026-09-04 22:55:23] local.INFO: Packet analysis {"connection_id":171122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:55:23] local.INFO: Extracted packet for processing {"connection_id":171122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d6f"} 
[2026-09-04 22:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866779136001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788542407000,"timestamp_ms":1788542407000,"timestamp_seconds":1788542407,"priority":1,"record_length":96,"hex_timestamp":"000001a06d6f5158"} 
[2026-09-04 22:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-04 22:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866779136001,"66":2166,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866779136001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:55:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866779136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":171122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:55:23] local.INFO: GPS data processed {"connection_id":171122,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:55:23] local.INFO: Acknowledgment sent {"connection_id":171122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:55:26] local.INFO: TCP Data received {"connection_id":171423,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:55:26] local.INFO: Processing buffer {"connection_id":171423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:55:26] local.INFO: Packet analysis {"connection_id":171423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:55:26] local.INFO: Extracted packet for processing {"connection_id":171423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:55:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866818048001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788542559000,"timestamp_ms":1788542559000,"timestamp_seconds":1788542559,"priority":1,"record_length":96,"hex_timestamp":"000001a06d71a318"} 
[2026-09-04 22:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866818048001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866818048001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:55:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:55:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866818048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":171423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:55:26] local.INFO: GPS data processed {"connection_id":171423,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:55:26] local.INFO: Acknowledgment sent {"connection_id":171423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:55:38] local.INFO: TCP Data received {"connection_id":172528,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d72cbf8012d20c70006cec8a0000f009e2b..."} 
[2026-09-04 22:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d72cbf8012d20c70006cec8a0000f009e2b..."} 
[2026-09-04 22:55:38] local.INFO: Processing buffer {"connection_id":172528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d72cbf8012d20c70006cec8a0000f009e2b..."} 
[2026-09-04 22:55:38] local.INFO: Packet analysis {"connection_id":172528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d72"} 
[2026-09-04 22:55:38] local.INFO: Extracted packet for processing {"connection_id":172528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d72"} 
[2026-09-04 22:55:38] local.INFO: GPS Element Parsed {"raw_longitude":757122816,"raw_latitude":114215072,"longitude_deg":75.7122816,"latitude_deg":11.4215072,"altitude":15,"angle":158,"satellites":43,"speed":30,"hex_longitude":"2d20c700","hex_latitude":"06cec8a0","is_valid_coordinates":true} 
[2026-09-04 22:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866912768001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398869085883990016,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2358619596587069440,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788542635000,"timestamp_ms":1788542635000,"timestamp_seconds":1788542635,"priority":1,"record_length":96,"hex_timestamp":"000001a06d72cbf8"} 
[2026-09-04 22:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 22:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866912768001,"66":27365,"60":206,"81":22528,"24":30,"16":398869085883990016,"45":2358619596587069440},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-09-04 22:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866912768001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:55:38] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-04 22:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398869085883990016,"km_value":398869085883990.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2358619596587069440,"description":"Unknown IO ID 45"} 
[2026-09-04 22:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866912768001,"power":27365,"unknown_60":206,"unknown_81":22528,"ignition":30,"odometer":null,"unknown_45":2358619596587069440}} 
[2026-09-04 22:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":172528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:55:38] local.INFO: GPS data processed {"connection_id":172528,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:55:38] local.INFO: Acknowledgment sent {"connection_id":172528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:55:46] local.INFO: TCP Data received {"connection_id":172529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:55:46] local.INFO: Processing buffer {"connection_id":172529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:55:46] local.INFO: IMEI packet received {"connection_id":172529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":172529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:55:47] local.INFO: TCP Data received {"connection_id":172529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:55:47] local.INFO: Processing buffer {"connection_id":172529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:55:47] local.INFO: IMEI packet received {"connection_id":172529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":172529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:55:48] local.INFO: TCP Data received {"connection_id":173815,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:55:48] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:55:48] local.INFO: IMEI packet received {"connection_id":173815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":173815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:55:52] local.INFO: TCP Data received {"connection_id":172529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:55:52] local.INFO: Processing buffer {"connection_id":172529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:55:52] local.INFO: IMEI packet received {"connection_id":172529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":172529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:55:53] local.INFO: TCP Data received {"connection_id":172529,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:55:53] local.INFO: Processing buffer {"connection_id":172529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:55:53] local.INFO: Packet analysis {"connection_id":172529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d73"} 
[2026-09-04 22:55:53] local.INFO: Extracted packet for processing {"connection_id":172529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d73"} 
[2026-09-04 22:55:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866856192001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788542708000,"timestamp_ms":1788542708000,"timestamp_seconds":1788542708,"priority":1,"record_length":96,"hex_timestamp":"000001a06d73e920"} 
[2026-09-04 22:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866856192001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866856192001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:55:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:55:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866856192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":172529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:55:53] local.INFO: GPS data processed {"connection_id":172529,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:55:53] local.INFO: Acknowledgment sent {"connection_id":172529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:55:53] local.INFO: TCP Data received {"connection_id":173815,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:55:53] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:55:53] local.INFO: IMEI packet received {"connection_id":173815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":173815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:55:54] local.INFO: TCP Data received {"connection_id":173815,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:55:54] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:55:54] local.INFO: Packet analysis {"connection_id":173815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:55:54] local.INFO: Extracted packet for processing {"connection_id":173815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:55:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866818048001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788542559000,"timestamp_ms":1788542559000,"timestamp_seconds":1788542559,"priority":1,"record_length":96,"hex_timestamp":"000001a06d71a318"} 
[2026-09-04 22:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866818048001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866818048001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:55:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:55:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866818048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":173815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:55:54] local.INFO: GPS data processed {"connection_id":173815,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:55:54] local.INFO: Acknowledgment sent {"connection_id":173815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:55:57] local.INFO: TCP Data received {"connection_id":171424,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:55:57] local.INFO: Processing buffer {"connection_id":171424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:55:57] local.INFO: IMEI packet received {"connection_id":171424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":171424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:55:58] local.INFO: TCP Data received {"connection_id":171424,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:55:58] local.INFO: Processing buffer {"connection_id":171424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:55:58] local.INFO: IMEI packet received {"connection_id":171424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":171424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:56:13] local.INFO: TCP Data received {"connection_id":171424,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:56:13] local.INFO: Processing buffer {"connection_id":171424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:56:13] local.INFO: IMEI packet received {"connection_id":171424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":171424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:56:14] local.INFO: TCP Data received {"connection_id":171424,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d72d7b0012d20c90006cebfb8000f00ac2b..."} 
[2026-09-04 22:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d72d7b0012d20c90006cebfb8000f00ac2b..."} 
[2026-09-04 22:56:14] local.INFO: Processing buffer {"connection_id":171424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d72d7b0012d20c90006cebfb8000f00ac2b..."} 
[2026-09-04 22:56:14] local.INFO: Packet analysis {"connection_id":171424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d72"} 
[2026-09-04 22:56:14] local.INFO: Extracted packet for processing {"connection_id":171424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d72"} 
[2026-09-04 22:56:14] local.INFO: GPS Element Parsed {"raw_longitude":757123328,"raw_latitude":114212792,"longitude_deg":75.7123328,"latitude_deg":11.4212792,"altitude":15,"angle":172,"satellites":43,"speed":31,"hex_longitude":"2d20c900","hex_latitude":"06cebfb8","is_valid_coordinates":true} 
[2026-09-04 22:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866914560001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398869197553139712,"note":"Value kept but may cause issues"} 
[2026-09-04 22:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2361856558818172928,"note":"Value kept but may cause issues"} 
[2026-09-04 22:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788542638000,"timestamp_ms":1788542638000,"timestamp_seconds":1788542638,"priority":1,"record_length":96,"hex_timestamp":"000001a06d72d7b0"} 
[2026-09-04 22:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 22:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866914560001,"66":27343,"60":206,"81":22528,"24":31,"16":398869197553139712,"45":2361856558818172928},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-09-04 22:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866914560001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:56:14] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-04 22:56:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398869197553139712,"km_value":398869197553139.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2361856558818172928,"description":"Unknown IO ID 45"} 
[2026-09-04 22:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866914560001,"power":27343,"unknown_60":206,"unknown_81":22528,"ignition":31,"odometer":null,"unknown_45":2361856558818172928}} 
[2026-09-04 22:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":171424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:56:14] local.INFO: GPS data processed {"connection_id":171424,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:56:14] local.INFO: Acknowledgment sent {"connection_id":171424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:56:23] local.INFO: TCP Data received {"connection_id":172529,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:56:23] local.INFO: Processing buffer {"connection_id":172529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:56:23] local.INFO: Packet analysis {"connection_id":172529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d73"} 
[2026-09-04 22:56:23] local.INFO: Extracted packet for processing {"connection_id":172529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d73"} 
[2026-09-04 22:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866856192001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788542708000,"timestamp_ms":1788542708000,"timestamp_seconds":1788542708,"priority":1,"record_length":96,"hex_timestamp":"000001a06d73e920"} 
[2026-09-04 22:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:56:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866856192001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866856192001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:56:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:56:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866856192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":172529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:56:23] local.INFO: GPS data processed {"connection_id":172529,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:56:23] local.INFO: Acknowledgment sent {"connection_id":172529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:56:26] local.INFO: TCP Data received {"connection_id":173815,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:56:26] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:56:26] local.INFO: Packet analysis {"connection_id":173815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:56:26] local.INFO: Extracted packet for processing {"connection_id":173815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:56:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866818048001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788542559000,"timestamp_ms":1788542559000,"timestamp_seconds":1788542559,"priority":1,"record_length":96,"hex_timestamp":"000001a06d71a318"} 
[2026-09-04 22:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866818048001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866818048001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:56:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:56:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866818048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":173815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:56:26] local.INFO: GPS data processed {"connection_id":173815,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:56:26] local.INFO: Acknowledgment sent {"connection_id":173815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:56:47] local.INFO: TCP Data received {"connection_id":171425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:56:47] local.INFO: Processing buffer {"connection_id":171425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:56:47] local.INFO: IMEI packet received {"connection_id":171425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":171425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:56:52] local.INFO: TCP Data received {"connection_id":171425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:56:52] local.INFO: Processing buffer {"connection_id":171425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:56:52] local.INFO: IMEI packet received {"connection_id":171425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":171425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:56:53] local.INFO: TCP Data received {"connection_id":171425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:56:53] local.INFO: Processing buffer {"connection_id":171425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:56:53] local.INFO: Packet analysis {"connection_id":171425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d73"} 
[2026-09-04 22:56:53] local.INFO: Extracted packet for processing {"connection_id":171425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d73"} 
[2026-09-04 22:56:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866856192001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788542708000,"timestamp_ms":1788542708000,"timestamp_seconds":1788542708,"priority":1,"record_length":96,"hex_timestamp":"000001a06d73e920"} 
[2026-09-04 22:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866856192001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866856192001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:56:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:56:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866856192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":171425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:56:53] local.INFO: GPS data processed {"connection_id":171425,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:56:53] local.INFO: Acknowledgment sent {"connection_id":171425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:56:53] local.INFO: TCP Data received {"connection_id":171123,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:56:53] local.INFO: Processing buffer {"connection_id":171123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:56:53] local.INFO: IMEI packet received {"connection_id":171123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":171123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:56:58] local.INFO: TCP Data received {"connection_id":172530,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:56:58] local.INFO: Processing buffer {"connection_id":172530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:56:58] local.INFO: IMEI packet received {"connection_id":172530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":172530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:56:58] local.INFO: TCP Data received {"connection_id":171123,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:56:58] local.INFO: Processing buffer {"connection_id":171123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:56:58] local.INFO: IMEI packet received {"connection_id":171123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":171123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:57:00] local.INFO: TCP Data received {"connection_id":171123,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:57:00] local.INFO: Processing buffer {"connection_id":171123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:57:00] local.INFO: Packet analysis {"connection_id":171123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:57:00] local.INFO: Extracted packet for processing {"connection_id":171123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:57:00] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866818048001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788542559000,"timestamp_ms":1788542559000,"timestamp_seconds":1788542559,"priority":1,"record_length":96,"hex_timestamp":"000001a06d71a318"} 
[2026-09-04 22:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866818048001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866818048001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:57:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866818048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":171123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765995,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:57:00] local.INFO: GPS data processed {"connection_id":171123,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:57:00] local.INFO: Acknowledgment sent {"connection_id":171123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:57:03] local.INFO: TCP Data received {"connection_id":172530,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:57:03] local.INFO: Processing buffer {"connection_id":172530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:57:03] local.INFO: IMEI packet received {"connection_id":172530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":172530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:57:03] local.INFO: TCP Data received {"connection_id":171123,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:57:03] local.INFO: Processing buffer {"connection_id":171123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:57:03] local.INFO: Packet analysis {"connection_id":171123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:57:03] local.INFO: Extracted packet for processing {"connection_id":171123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866818048001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788542559000,"timestamp_ms":1788542559000,"timestamp_seconds":1788542559,"priority":1,"record_length":96,"hex_timestamp":"000001a06d71a318"} 
[2026-09-04 22:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866818048001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866818048001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:57:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:57:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866818048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":171123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765996,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:57:03] local.INFO: GPS data processed {"connection_id":171123,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:57:03] local.INFO: Acknowledgment sent {"connection_id":171123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:57:04] local.INFO: TCP Data received {"connection_id":172530,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d748d30012d21570006cd91d0000b00882d..."} 
[2026-09-04 22:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d748d30012d21570006cd91d0000b00882d..."} 
[2026-09-04 22:57:04] local.INFO: Processing buffer {"connection_id":172530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d748d30012d21570006cd91d0000b00882d..."} 
[2026-09-04 22:57:04] local.INFO: Packet analysis {"connection_id":172530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d74"} 
[2026-09-04 22:57:04] local.INFO: Extracted packet for processing {"connection_id":172530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d74"} 
[2026-09-04 22:57:04] local.INFO: GPS Element Parsed {"raw_longitude":757159680,"raw_latitude":114135504,"longitude_deg":75.715968,"latitude_deg":11.4135504,"altitude":11,"angle":136,"satellites":45,"speed":51,"hex_longitude":"2d215700","hex_latitude":"06cd91d0","is_valid_coordinates":true} 
[2026-09-04 22:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866941952001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398873475340566528,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2394507656097927168,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788542750000,"timestamp_ms":1788542750000,"timestamp_seconds":1788542750,"priority":1,"record_length":96,"hex_timestamp":"000001a06d748d30"} 
[2026-09-04 22:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 22:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866941952001,"66":27267,"181":206,"81":22528,"24":51,"16":398873475340566528,"45":2394507656097927168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-04 22:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866941952001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:57:04] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 22:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398873475340566528,"km_value":398873475340566.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2394507656097927168,"description":"Unknown IO ID 45"} 
[2026-09-04 22:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866941952001,"power":27267,"unknown_181":206,"unknown_81":22528,"ignition":51,"odometer":null,"unknown_45":2394507656097927168}} 
[2026-09-04 22:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":172530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:57:04] local.INFO: GPS data processed {"connection_id":172530,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:57:04] local.INFO: Acknowledgment sent {"connection_id":172530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:57:23] local.INFO: TCP Data received {"connection_id":171425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:57:23] local.INFO: Processing buffer {"connection_id":171425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:57:23] local.INFO: Packet analysis {"connection_id":171425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d73"} 
[2026-09-04 22:57:23] local.INFO: Extracted packet for processing {"connection_id":171425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d73"} 
[2026-09-04 22:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866856192001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788542708000,"timestamp_ms":1788542708000,"timestamp_seconds":1788542708,"priority":1,"record_length":96,"hex_timestamp":"000001a06d73e920"} 
[2026-09-04 22:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866856192001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866856192001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:57:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866856192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":171425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:57:23] local.INFO: GPS data processed {"connection_id":171425,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:57:23] local.INFO: Acknowledgment sent {"connection_id":171425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:57:35] local.INFO: TCP Data received {"connection_id":172530,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d74a888012d216f4006cd75a0000b008c2b..."} 
[2026-09-04 22:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d74a888012d216f4006cd75a0000b008c2b..."} 
[2026-09-04 22:57:35] local.INFO: Processing buffer {"connection_id":172530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d74a888012d216f4006cd75a0000b008c2b..."} 
[2026-09-04 22:57:35] local.INFO: Packet analysis {"connection_id":172530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d74"} 
[2026-09-04 22:57:35] local.INFO: Extracted packet for processing {"connection_id":172530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d74"} 
[2026-09-04 22:57:35] local.INFO: GPS Element Parsed {"raw_longitude":757165888,"raw_latitude":114128288,"longitude_deg":75.7165888,"latitude_deg":11.4128288,"altitude":11,"angle":140,"satellites":43,"speed":56,"hex_longitude":"2d216f40","hex_latitude":"06cd75a0","is_valid_coordinates":true} 
[2026-09-04 22:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866944000001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398873934902067200,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2402388955444137984,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788542757000,"timestamp_ms":1788542757000,"timestamp_seconds":1788542757,"priority":1,"record_length":96,"hex_timestamp":"000001a06d74a888"} 
[2026-09-04 22:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 22:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866944000001,"66":27321,"181":206,"81":22528,"24":56,"16":398873934902067200,"45":2402388955444137984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-04 22:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866944000001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:57:35] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 22:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398873934902067200,"km_value":398873934902067.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2402388955444137984,"description":"Unknown IO ID 45"} 
[2026-09-04 22:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866944000001,"power":27321,"unknown_181":206,"unknown_81":22528,"ignition":56,"odometer":null,"unknown_45":2402388955444137984}} 
[2026-09-04 22:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":172530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":765999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:57:35] local.INFO: GPS data processed {"connection_id":172530,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:57:35] local.INFO: Acknowledgment sent {"connection_id":172530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:57:47] local.INFO: TCP Data received {"connection_id":172532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:57:47] local.INFO: Processing buffer {"connection_id":172532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:57:47] local.INFO: IMEI packet received {"connection_id":172532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":172532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:57:48] local.INFO: TCP Data received {"connection_id":172531,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:57:48] local.INFO: Processing buffer {"connection_id":172531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:57:48] local.INFO: IMEI packet received {"connection_id":172531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":172531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:57:52] local.INFO: TCP Data received {"connection_id":172532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:57:52] local.INFO: Processing buffer {"connection_id":172532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:57:52] local.INFO: IMEI packet received {"connection_id":172532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":172532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:57:53] local.INFO: TCP Data received {"connection_id":172532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:57:53] local.INFO: Processing buffer {"connection_id":172532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:57:53] local.INFO: Packet analysis {"connection_id":172532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d73"} 
[2026-09-04 22:57:53] local.INFO: Extracted packet for processing {"connection_id":172532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d73"} 
[2026-09-04 22:57:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866856192001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788542708000,"timestamp_ms":1788542708000,"timestamp_seconds":1788542708,"priority":1,"record_length":96,"hex_timestamp":"000001a06d73e920"} 
[2026-09-04 22:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866856192001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866856192001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:57:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:57:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866856192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":172532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:57:53] local.INFO: GPS data processed {"connection_id":172532,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:57:53] local.INFO: Acknowledgment sent {"connection_id":172532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:57:53] local.INFO: TCP Data received {"connection_id":172531,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:57:53] local.INFO: Processing buffer {"connection_id":172531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:57:53] local.INFO: IMEI packet received {"connection_id":172531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":172531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:57:54] local.INFO: TCP Data received {"connection_id":172531,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:57:54] local.INFO: Processing buffer {"connection_id":172531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d71a318012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:57:54] local.INFO: Packet analysis {"connection_id":172531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:57:54] local.INFO: Extracted packet for processing {"connection_id":172531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d71"} 
[2026-09-04 22:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866818048001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788542559000,"timestamp_ms":1788542559000,"timestamp_seconds":1788542559,"priority":1,"record_length":96,"hex_timestamp":"000001a06d71a318"} 
[2026-09-04 22:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866818048001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866818048001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:57:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:57:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866818048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":172531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766001,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:57:54] local.INFO: GPS data processed {"connection_id":172531,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:57:54] local.INFO: Acknowledgment sent {"connection_id":172531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:57:58] local.INFO: TCP Data received {"connection_id":171124,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:57:58] local.INFO: Processing buffer {"connection_id":171124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:57:58] local.INFO: IMEI packet received {"connection_id":171124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":171124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:58:00] local.INFO: TCP Data received {"connection_id":171124,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:58:00] local.INFO: Processing buffer {"connection_id":171124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:58:00] local.INFO: IMEI packet received {"connection_id":171124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":171124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:58:03] local.INFO: TCP Data received {"connection_id":171124,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:58:03] local.INFO: Processing buffer {"connection_id":171124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:58:03] local.INFO: IMEI packet received {"connection_id":171124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":171124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:58:04] local.INFO: TCP Data received {"connection_id":171124,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d758b18012d21efc006cc5550000a00962c..."} 
[2026-09-04 22:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d758b18012d21efc006cc5550000a00962c..."} 
[2026-09-04 22:58:04] local.INFO: Processing buffer {"connection_id":171124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d758b18012d21efc006cc5550000a00962c..."} 
[2026-09-04 22:58:04] local.INFO: Packet analysis {"connection_id":171124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d75"} 
[2026-09-04 22:58:04] local.INFO: Extracted packet for processing {"connection_id":171124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d75"} 
[2026-09-04 22:58:04] local.INFO: GPS Element Parsed {"raw_longitude":757198784,"raw_latitude":114054480,"longitude_deg":75.7198784,"latitude_deg":11.405448,"altitude":10,"angle":150,"satellites":44,"speed":59,"hex_longitude":"2d21efc0","hex_latitude":"06cc5550","is_valid_coordinates":true} 
[2026-09-04 22:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866959104001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398877890566946816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2440599183513874432,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788542815000,"timestamp_ms":1788542815000,"timestamp_seconds":1788542815,"priority":1,"record_length":96,"hex_timestamp":"000001a06d758b18"} 
[2026-09-04 22:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 22:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866959104001,"66":27300,"179":206,"81":22528,"24":59,"16":398877890566946816,"45":2440599183513874432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-04 22:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866959104001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:58:04] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-04 22:58:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398877890566946816,"km_value":398877890566946.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2440599183513874432,"description":"Unknown IO ID 45"} 
[2026-09-04 22:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866959104001,"power":27300,"unknown_179":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2440599183513874432}} 
[2026-09-04 22:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":171124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:58:04] local.INFO: GPS data processed {"connection_id":171124,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:58:04] local.INFO: Acknowledgment sent {"connection_id":171124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:58:23] local.INFO: TCP Data received {"connection_id":172532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:58:23] local.INFO: Processing buffer {"connection_id":172532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:58:23] local.INFO: Packet analysis {"connection_id":172532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d73"} 
[2026-09-04 22:58:23] local.INFO: Extracted packet for processing {"connection_id":172532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d73"} 
[2026-09-04 22:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866856192001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788542708000,"timestamp_ms":1788542708000,"timestamp_seconds":1788542708,"priority":1,"record_length":96,"hex_timestamp":"000001a06d73e920"} 
[2026-09-04 22:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866856192001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866856192001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:58:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866856192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":172532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:58:23] local.INFO: GPS data processed {"connection_id":172532,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:58:23] local.INFO: Acknowledgment sent {"connection_id":172532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:58:26] local.INFO: TCP Data received {"connection_id":172531,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:58:26] local.INFO: Processing buffer {"connection_id":172531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:58:26] local.INFO: Packet analysis {"connection_id":172531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 22:58:26] local.INFO: Extracted packet for processing {"connection_id":172531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 22:58:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866895104001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788542860000,"timestamp_ms":1788542860000,"timestamp_seconds":1788542860,"priority":1,"record_length":96,"hex_timestamp":"000001a06d763ae0"} 
[2026-09-04 22:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866895104001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866895104001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:58:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:58:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866895104001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":172531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766004,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:58:26] local.INFO: GPS data processed {"connection_id":172531,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:58:26] local.INFO: Acknowledgment sent {"connection_id":172531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:58:35] local.INFO: TCP Data received {"connection_id":171124,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d75a670012d22024006cc3450000a00972c..."} 
[2026-09-04 22:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d75a670012d22024006cc3450000a00972c..."} 
[2026-09-04 22:58:35] local.INFO: Processing buffer {"connection_id":171124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d75a670012d22024006cc3450000a00972c..."} 
[2026-09-04 22:58:35] local.INFO: Packet analysis {"connection_id":171124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d75"} 
[2026-09-04 22:58:35] local.INFO: Extracted packet for processing {"connection_id":171124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d75"} 
[2026-09-04 22:58:35] local.INFO: GPS Element Parsed {"raw_longitude":757203520,"raw_latitude":114046032,"longitude_deg":75.720352,"latitude_deg":11.4046032,"altitude":10,"angle":151,"satellites":44,"speed":48,"hex_longitude":"2d220240","hex_latitude":"06cc3450","is_valid_coordinates":true} 
[2026-09-04 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866960640001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398878354423414784,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2445384258115948544,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788542822000,"timestamp_ms":1788542822000,"timestamp_seconds":1788542822,"priority":1,"record_length":96,"hex_timestamp":"000001a06d75a670"} 
[2026-09-04 22:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 22:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866960640001,"66":27343,"179":206,"81":22528,"24":48,"16":398878354423414784,"45":2445384258115948544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-04 22:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866960640001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:58:35] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-04 22:58:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398878354423414784,"km_value":398878354423414.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2445384258115948544,"description":"Unknown IO ID 45"} 
[2026-09-04 22:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866960640001,"power":27343,"unknown_179":206,"unknown_81":22528,"ignition":48,"odometer":null,"unknown_45":2445384258115948544}} 
[2026-09-04 22:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":171124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:58:35] local.INFO: GPS data processed {"connection_id":171124,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:58:35] local.INFO: Acknowledgment sent {"connection_id":171124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:58:47] local.INFO: TCP Data received {"connection_id":171125,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:58:47] local.INFO: Processing buffer {"connection_id":171125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:58:47] local.INFO: IMEI packet received {"connection_id":171125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-04 22:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":171125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:58:48] local.INFO: TCP Data received {"connection_id":173816,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:58:48] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:58:48] local.INFO: IMEI packet received {"connection_id":173816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":173816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:58:52] local.INFO: TCP Data received {"connection_id":171125,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:58:52] local.INFO: Processing buffer {"connection_id":171125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-04 22:58:52] local.INFO: IMEI packet received {"connection_id":171125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-04 22:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":171125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:58:53] local.INFO: TCP Data received {"connection_id":171125,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:58:53] local.INFO: Processing buffer {"connection_id":171125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d73e920012d1965c0071fef800047011522..."} 
[2026-09-04 22:58:53] local.INFO: Packet analysis {"connection_id":171125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d73"} 
[2026-09-04 22:58:53] local.INFO: Extracted packet for processing {"connection_id":171125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d73"} 
[2026-09-04 22:58:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533440,"longitude_deg":75.6639168,"latitude_deg":11.953344,"altitude":71,"angle":277,"satellites":34,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-04 22:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866856192001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429068288,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788542708000,"timestamp_ms":1788542708000,"timestamp_seconds":1788542708,"priority":1,"record_length":96,"hex_timestamp":"000001a06d73e920"} 
[2026-09-04 22:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-04 22:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-04 22:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-04 22:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-04 22:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866856192001,"66":2144,"102":206,"83":41984,"24":0,"16":17413390850850816,"45":1830079960429068288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-04 22:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-04 22:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-04 22:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866856192001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:58:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-04 22:58:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-04 22:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17413390850850816,"km_value":17413390850850.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429068288,"description":"Unknown IO ID 45"} 
[2026-09-04 22:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866856192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429068288}} 
[2026-09-04 22:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":171125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:58:53] local.INFO: GPS data processed {"connection_id":171125,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:58:53] local.INFO: Acknowledgment sent {"connection_id":171125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:58:53] local.INFO: TCP Data received {"connection_id":173816,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:58:53] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:58:53] local.INFO: IMEI packet received {"connection_id":173816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":173816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:58:54] local.INFO: TCP Data received {"connection_id":173816,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:58:54] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:58:54] local.INFO: Packet analysis {"connection_id":173816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 22:58:54] local.INFO: Extracted packet for processing {"connection_id":173816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 22:58:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866895104001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788542860000,"timestamp_ms":1788542860000,"timestamp_seconds":1788542860,"priority":1,"record_length":96,"hex_timestamp":"000001a06d763ae0"} 
[2026-09-04 22:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866895104001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866895104001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:58:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:58:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866895104001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":173816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766007,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:58:54] local.INFO: GPS data processed {"connection_id":173816,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:58:54] local.INFO: Acknowledgment sent {"connection_id":173816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:59:03] local.INFO: TCP Data received {"connection_id":173817,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:59:03] local.INFO: Processing buffer {"connection_id":173817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:59:03] local.INFO: IMEI packet received {"connection_id":173817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":173817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:59:04] local.INFO: TCP Data received {"connection_id":173817,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:59:04] local.INFO: Processing buffer {"connection_id":173817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:59:04] local.INFO: IMEI packet received {"connection_id":173817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":173817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:59:05] local.INFO: TCP Data received {"connection_id":173817,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7698a0012d22d20006cb1d18000e00a230..."} 
[2026-09-04 22:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7698a0012d22d20006cb1d18000e00a230..."} 
[2026-09-04 22:59:05] local.INFO: Processing buffer {"connection_id":173817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7698a0012d22d20006cb1d18000e00a230..."} 
[2026-09-04 22:59:05] local.INFO: Packet analysis {"connection_id":173817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 22:59:05] local.INFO: Extracted packet for processing {"connection_id":173817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 22:59:05] local.INFO: GPS Element Parsed {"raw_longitude":757256704,"raw_latitude":113974552,"longitude_deg":75.7256704,"latitude_deg":11.3974552,"altitude":14,"angle":162,"satellites":48,"speed":57,"hex_longitude":"2d22d200","hex_latitude":"06cb1d18","is_valid_coordinates":true} 
[2026-09-04 22:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866978304001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398882709520252928,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2509067971576272896,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788542884000,"timestamp_ms":1788542884000,"timestamp_seconds":1788542884,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7698a0"} 
[2026-09-04 22:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 22:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866978304001,"66":27310,"171":206,"81":22528,"24":57,"16":398882709520252928,"45":2509067971576272896},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,81,24,16,45]} 
[2026-09-04 22:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866978304001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:59:05] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 22:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398882709520252928,"km_value":398882709520252.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2509067971576272896,"description":"Unknown IO ID 45"} 
[2026-09-04 22:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866978304001,"power":27310,"unknown_171":206,"unknown_81":22528,"ignition":57,"odometer":null,"unknown_45":2509067971576272896}} 
[2026-09-04 22:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":173817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:59:05] local.INFO: GPS data processed {"connection_id":173817,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:59:05] local.INFO: Acknowledgment sent {"connection_id":173817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:59:09] local.INFO: TCP Data received {"connection_id":173817,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d76b3f8012d22dcc006caf778001100a52d..."} 
[2026-09-04 22:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d76b3f8012d22dcc006caf778001100a52d..."} 
[2026-09-04 22:59:09] local.INFO: Processing buffer {"connection_id":173817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d76b3f8012d22dcc006caf778001100a52d..."} 
[2026-09-04 22:59:09] local.INFO: Packet analysis {"connection_id":173817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 22:59:09] local.INFO: Extracted packet for processing {"connection_id":173817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 22:59:09] local.INFO: GPS Element Parsed {"raw_longitude":757259456,"raw_latitude":113964920,"longitude_deg":75.7259456,"latitude_deg":11.396492,"altitude":17,"angle":165,"satellites":45,"speed":56,"hex_longitude":"2d22dcc0","hex_latitude":"06caf778","is_valid_coordinates":true} 
[2026-09-04 22:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866978304001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398883194851557376,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2509067971576272896,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788542891000,"timestamp_ms":1788542891000,"timestamp_seconds":1788542891,"priority":1,"record_length":96,"hex_timestamp":"000001a06d76b3f8"} 
[2026-09-04 22:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 22:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866978304001,"66":27213,"171":206,"81":22528,"24":56,"16":398883194851557376,"45":2509067971576272896},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,81,24,16,45]} 
[2026-09-04 22:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866978304001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:59:09] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 22:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398883194851557376,"km_value":398883194851557.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2509067971576272896,"description":"Unknown IO ID 45"} 
[2026-09-04 22:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866978304001,"power":27213,"unknown_171":206,"unknown_81":22528,"ignition":56,"odometer":null,"unknown_45":2509067971576272896}} 
[2026-09-04 22:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":173817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:59:09] local.INFO: GPS data processed {"connection_id":173817,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:59:09] local.INFO: Acknowledgment sent {"connection_id":173817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:59:26] local.INFO: TCP Data received {"connection_id":173816,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:59:26] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:59:26] local.INFO: Packet analysis {"connection_id":173816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 22:59:26] local.INFO: Extracted packet for processing {"connection_id":173816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 22:59:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866895104001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788542860000,"timestamp_ms":1788542860000,"timestamp_seconds":1788542860,"priority":1,"record_length":96,"hex_timestamp":"000001a06d763ae0"} 
[2026-09-04 22:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866895104001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866895104001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:59:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:59:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866895104001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":173816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766010,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:59:26] local.INFO: GPS data processed {"connection_id":173816,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:59:26] local.INFO: Acknowledgment sent {"connection_id":173816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:59:41] local.INFO: TCP Data received {"connection_id":173817,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d76cf50012d22e6c006cad2d8001300a230..."} 
[2026-09-04 22:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d76cf50012d22e6c006cad2d8001300a230..."} 
[2026-09-04 22:59:41] local.INFO: Processing buffer {"connection_id":173817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d76cf50012d22e6c006cad2d8001300a230..."} 
[2026-09-04 22:59:41] local.INFO: Packet analysis {"connection_id":173817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 22:59:41] local.INFO: Extracted packet for processing {"connection_id":173817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 22:59:41] local.INFO: GPS Element Parsed {"raw_longitude":757262016,"raw_latitude":113955544,"longitude_deg":75.7262016,"latitude_deg":11.3955544,"altitude":19,"angle":162,"satellites":48,"speed":54,"hex_longitude":"2d22e6c0","hex_latitude":"06cad2d8","is_valid_coordinates":true} 
[2026-09-04 22:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866980096001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398883667297959936,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2512093827573446656,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788542898000,"timestamp_ms":1788542898000,"timestamp_seconds":1788542898,"priority":1,"record_length":96,"hex_timestamp":"000001a06d76cf50"} 
[2026-09-04 22:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 22:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 22:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 22:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 22:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 22:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866980096001,"66":27332,"171":206,"81":22528,"24":54,"16":398883667297959936,"45":2512093827573446656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,81,24,16,45]} 
[2026-09-04 22:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 22:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 22:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866980096001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:59:41] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 22:59:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 22:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398883667297959936,"km_value":398883667297959.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2512093827573446656,"description":"Unknown IO ID 45"} 
[2026-09-04 22:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866980096001,"power":27332,"unknown_171":206,"unknown_81":22528,"ignition":54,"odometer":null,"unknown_45":2512093827573446656}} 
[2026-09-04 22:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":173817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:59:41] local.INFO: GPS data processed {"connection_id":173817,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:59:41] local.INFO: Acknowledgment sent {"connection_id":173817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:59:48] local.INFO: TCP Data received {"connection_id":171126,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:59:48] local.INFO: Processing buffer {"connection_id":171126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:59:48] local.INFO: IMEI packet received {"connection_id":171126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 22:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":171126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:59:53] local.INFO: TCP Data received {"connection_id":171126,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:59:53] local.INFO: Processing buffer {"connection_id":171126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 22:59:53] local.INFO: IMEI packet received {"connection_id":171126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 22:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":171126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 22:59:54] local.INFO: TCP Data received {"connection_id":171126,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:59:54] local.INFO: Processing buffer {"connection_id":171126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 22:59:54] local.INFO: Packet analysis {"connection_id":171126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 22:59:54] local.INFO: Extracted packet for processing {"connection_id":171126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 22:59:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 22:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 22:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866895104001,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 22:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 22:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788542860000,"timestamp_ms":1788542860000,"timestamp_seconds":1788542860,"priority":1,"record_length":96,"hex_timestamp":"000001a06d763ae0"} 
[2026-09-04 22:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 22:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 22:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 22:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 22:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 22:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 22:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 22:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 22:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 22:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 22:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 22:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 22:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866895104001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 22:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 22:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 22:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866895104001,"description":"Unknown IO ID 0"} 
[2026-09-04 22:59:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 22:59:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 22:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 22:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 22:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866895104001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 22:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":171126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 22:59:54] local.INFO: GPS data processed {"connection_id":171126,"processed":1,"errors":0,"total":1} 
[2026-09-04 22:59:54] local.INFO: Acknowledgment sent {"connection_id":171126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 22:59:58] local.INFO: TCP Data received {"connection_id":172533,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:59:58] local.INFO: Processing buffer {"connection_id":172533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:59:58] local.INFO: IMEI packet received {"connection_id":172533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 22:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":172533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 22:59:59] local.INFO: TCP Data received {"connection_id":172533,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:59:59] local.INFO: Processing buffer {"connection_id":172533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 22:59:59] local.INFO: IMEI packet received {"connection_id":172533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 22:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":172533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:00:00] local.INFO: TCP Data received {"connection_id":172533,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d76ee90012d22f54006cab1680013009730..."} 
[2026-09-04 23:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d76ee90012d22f54006cab1680013009730..."} 
[2026-09-04 23:00:00] local.INFO: Processing buffer {"connection_id":172533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d76ee90012d22f54006cab1680013009730..."} 
[2026-09-04 23:00:00] local.INFO: Packet analysis {"connection_id":172533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 23:00:00] local.INFO: Extracted packet for processing {"connection_id":172533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 23:00:00] local.INFO: GPS Element Parsed {"raw_longitude":757265728,"raw_latitude":113946984,"longitude_deg":75.7265728,"latitude_deg":11.3946984,"altitude":19,"angle":151,"satellites":48,"speed":46,"hex_longitude":"2d22f540","hex_latitude":"06cab168","is_valid_coordinates":true} 
[2026-09-04 23:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866981888001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398884118269526016,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2514908577338152960,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788542906000,"timestamp_ms":1788542906000,"timestamp_seconds":1788542906,"priority":1,"record_length":96,"hex_timestamp":"000001a06d76ee90"} 
[2026-09-04 23:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 23:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866981888001,"66":27310,"171":206,"81":22528,"24":46,"16":398884118269526016,"45":2514908577338152960},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,81,24,16,45]} 
[2026-09-04 23:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866981888001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:00:00] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 23:00:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 23:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398884118269526016,"km_value":398884118269526.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2514908577338152960,"description":"Unknown IO ID 45"} 
[2026-09-04 23:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866981888001,"power":27310,"unknown_171":206,"unknown_81":22528,"ignition":46,"odometer":null,"unknown_45":2514908577338152960}} 
[2026-09-04 23:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":172533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:00:00] local.INFO: GPS data processed {"connection_id":172533,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:00:00] local.INFO: Acknowledgment sent {"connection_id":172533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:00:03] local.INFO: TCP Data received {"connection_id":172533,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7709e8012d23088006ca93e80011008f2e..."} 
[2026-09-04 23:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7709e8012d23088006ca93e80011008f2e..."} 
[2026-09-04 23:00:03] local.INFO: Processing buffer {"connection_id":172533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7709e8012d23088006ca93e80011008f2e..."} 
[2026-09-04 23:00:03] local.INFO: Packet analysis {"connection_id":172533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d77"} 
[2026-09-04 23:00:03] local.INFO: Extracted packet for processing {"connection_id":172533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d77"} 
[2026-09-04 23:00:03] local.INFO: GPS Element Parsed {"raw_longitude":757270656,"raw_latitude":113939432,"longitude_deg":75.7270656,"latitude_deg":11.3939432,"altitude":17,"angle":143,"satellites":46,"speed":55,"hex_longitude":"2d230880","hex_latitude":"06ca93e8","is_valid_coordinates":true} 
[2026-09-04 23:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866983936001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398884552061222912,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2518989964498266112,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788542913000,"timestamp_ms":1788542913000,"timestamp_seconds":1788542913,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7709e8"} 
[2026-09-04 23:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 23:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866983936001,"66":27245,"171":206,"81":22528,"24":55,"16":398884552061222912,"45":2518989964498266112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,81,24,16,45]} 
[2026-09-04 23:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866983936001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:00:03] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-04 23:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 23:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398884552061222912,"km_value":398884552061222.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2518989964498266112,"description":"Unknown IO ID 45"} 
[2026-09-04 23:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866983936001,"power":27245,"unknown_171":206,"unknown_81":22528,"ignition":55,"odometer":null,"unknown_45":2518989964498266112}} 
[2026-09-04 23:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":172533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:00:03] local.INFO: GPS data processed {"connection_id":172533,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:00:03] local.INFO: Acknowledgment sent {"connection_id":172533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:00:26] local.INFO: TCP Data received {"connection_id":171126,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:00:26] local.INFO: Processing buffer {"connection_id":171126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:00:26] local.INFO: Packet analysis {"connection_id":171126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 23:00:26] local.INFO: Extracted packet for processing {"connection_id":171126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 23:00:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866895104001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788542860000,"timestamp_ms":1788542860000,"timestamp_seconds":1788542860,"priority":1,"record_length":96,"hex_timestamp":"000001a06d763ae0"} 
[2026-09-04 23:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866895104001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866895104001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:00:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:00:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866895104001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":171126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:00:26] local.INFO: GPS data processed {"connection_id":171126,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:00:26] local.INFO: Acknowledgment sent {"connection_id":171126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:00:36] local.INFO: TCP Data received {"connection_id":172533,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d780000012d241a0006c9c2e8000d00a02c..."} 
[2026-09-04 23:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d780000012d241a0006c9c2e8000d00a02c..."} 
[2026-09-04 23:00:36] local.INFO: Processing buffer {"connection_id":172533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d780000012d241a0006c9c2e8000d00a02c..."} 
[2026-09-04 23:00:36] local.INFO: Packet analysis {"connection_id":172533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d78"} 
[2026-09-04 23:00:36] local.INFO: Extracted packet for processing {"connection_id":172533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d78"} 
[2026-09-04 23:00:36] local.INFO: GPS Element Parsed {"raw_longitude":757340672,"raw_latitude":113885928,"longitude_deg":75.7340672,"latitude_deg":11.3885928,"altitude":13,"angle":160,"satellites":44,"speed":50,"hex_longitude":"2d241a00","hex_latitude":"06c9c2e8","is_valid_coordinates":true} 
[2026-09-04 23:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867000064001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398889040302047232,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2597451114243133440,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788542976000,"timestamp_ms":1788542976000,"timestamp_seconds":1788542976,"priority":1,"record_length":96,"hex_timestamp":"000001a06d780000"} 
[2026-09-04 23:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 23:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867000064001,"66":27115,"47":206,"81":22528,"24":50,"16":398889040302047232,"45":2597451114243133440},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-04 23:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867000064001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:00:36] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-04 23:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 23:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398889040302047232,"km_value":398889040302047.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2597451114243133440,"description":"Unknown IO ID 45"} 
[2026-09-04 23:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867000064001,"power":27115,"unknown_47":206,"unknown_81":22528,"ignition":50,"odometer":null,"unknown_45":2597451114243133440}} 
[2026-09-04 23:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":172533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:00:36] local.INFO: GPS data processed {"connection_id":172533,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:00:36] local.INFO: Acknowledgment sent {"connection_id":172533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:00:53] local.INFO: TCP Data received {"connection_id":171127,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:00:53] local.INFO: Processing buffer {"connection_id":171127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:00:53] local.INFO: IMEI packet received {"connection_id":171127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":171127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:00:58] local.INFO: TCP Data received {"connection_id":171127,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:00:58] local.INFO: Processing buffer {"connection_id":171127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:00:58] local.INFO: IMEI packet received {"connection_id":171127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":171127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:00:58] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:00:58] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:00:58] local.INFO: IMEI packet received {"connection_id":173818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":173818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:00:59] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 23:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 23:00:59] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 23:00:59] local.INFO: IMEI packet received {"connection_id":173818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":173818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:00:59] local.INFO: TCP Data received {"connection_id":171127,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:00:59] local.INFO: Processing buffer {"connection_id":171127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:00:59] local.INFO: Packet analysis {"connection_id":171127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 23:00:59] local.INFO: Extracted packet for processing {"connection_id":171127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 23:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866895104001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788542860000,"timestamp_ms":1788542860000,"timestamp_seconds":1788542860,"priority":1,"record_length":96,"hex_timestamp":"000001a06d763ae0"} 
[2026-09-04 23:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866895104001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866895104001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:00:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:00:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866895104001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":171127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766017,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:00:59] local.INFO: GPS data processed {"connection_id":171127,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:00:59] local.INFO: Acknowledgment sent {"connection_id":171127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:01:03] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:01:03] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 23:01:03] local.INFO: IMEI packet received {"connection_id":173818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":173818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:01:04] local.INFO: TCP Data received {"connection_id":171127,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:01:04] local.INFO: Processing buffer {"connection_id":171127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:01:04] local.INFO: Packet analysis {"connection_id":171127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 23:01:04] local.INFO: Extracted packet for processing {"connection_id":171127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 23:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866895104001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788542860000,"timestamp_ms":1788542860000,"timestamp_seconds":1788542860,"priority":1,"record_length":96,"hex_timestamp":"000001a06d763ae0"} 
[2026-09-04 23:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866895104001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866895104001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:01:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:01:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866895104001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":171127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766018,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:01:04] local.INFO: GPS data processed {"connection_id":171127,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:01:04] local.INFO: Acknowledgment sent {"connection_id":171127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:01:04] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d781f40012d2425c006c9a1b0000d00a22d..."} 
[2026-09-04 23:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d781f40012d2425c006c9a1b0000d00a22d..."} 
[2026-09-04 23:01:04] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06d..."} 
[2026-09-04 23:01:04] local.INFO: IMEI packet received {"connection_id":173818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":173818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:01:05] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d783e80012d24310006c97c30000c00a42d..."} 
[2026-09-04 23:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d783e80012d24310006c97c30000c00a42d..."} 
[2026-09-04 23:01:05] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06d781f40012d2425c006c9a1b0000d00a22d..."} 
[2026-09-04 23:01:05] local.INFO: Packet analysis {"connection_id":173818,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06d78"} 
[2026-09-04 23:01:05] local.INFO: Extracted packet for processing {"connection_id":173818,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d78"} 
[2026-09-04 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":757343680,"raw_latitude":113877424,"longitude_deg":75.734368,"latitude_deg":11.3877424,"altitude":13,"angle":162,"satellites":45,"speed":47,"hex_longitude":"2d2425c0","hex_latitude":"06c9a1b0","is_valid_coordinates":true} 
[2026-09-04 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867001856001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398889474093744128,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2601391763914680320,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788542984000,"timestamp_ms":1788542984000,"timestamp_seconds":1788542984,"priority":1,"record_length":96,"hex_timestamp":"000001a06d781f40"} 
[2026-09-04 23:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-04 23:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867001856001,"66":27104,"79":206,"81":22528,"24":47,"16":398889474093744128,"45":2601391763914680320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-04 23:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867001856001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:01:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 23:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 23:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398889474093744128,"km_value":398889474093744.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2601391763914680320,"description":"Unknown IO ID 45"} 
[2026-09-04 23:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867001856001,"power":27104,"unknown_79":206,"unknown_81":22528,"ignition":47,"odometer":null,"unknown_45":2601391763914680320}} 
[2026-09-04 23:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":173818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:01:05] local.INFO: GPS data processed {"connection_id":173818,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:01:05] local.INFO: Acknowledgment sent {"connection_id":173818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:01:05] local.INFO: Packet analysis {"connection_id":173818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d78"} 
[2026-09-04 23:01:05] local.INFO: Extracted packet for processing {"connection_id":173818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d78"} 
[2026-09-04 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":757346560,"raw_latitude":113867824,"longitude_deg":75.734656,"latitude_deg":11.3867824,"altitude":12,"angle":164,"satellites":45,"speed":51,"hex_longitude":"2d243100","hex_latitude":"06c97c30","is_valid_coordinates":true} 
[2026-09-04 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867003904001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398889959425048576,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2604699094888853504,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788542992000,"timestamp_ms":1788542992000,"timestamp_seconds":1788542992,"priority":1,"record_length":96,"hex_timestamp":"000001a06d783e80"} 
[2026-09-04 23:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-04 23:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867003904001,"66":27267,"79":206,"81":22528,"24":51,"16":398889959425048576,"45":2604699094888853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-04 23:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867003904001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:01:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 23:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 23:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398889959425048576,"km_value":398889959425048.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2604699094888853504,"description":"Unknown IO ID 45"} 
[2026-09-04 23:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867003904001,"power":27267,"unknown_79":206,"unknown_81":22528,"ignition":51,"odometer":null,"unknown_45":2604699094888853504}} 
[2026-09-04 23:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":173818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:01:05] local.INFO: GPS data processed {"connection_id":173818,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:01:05] local.INFO: Acknowledgment sent {"connection_id":173818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:01:36] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d785dc0012d2439c006c95980000d00aa2d..."} 
[2026-09-04 23:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d785dc0012d2439c006c95980000d00aa2d..."} 
[2026-09-04 23:01:36] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d785dc0012d2439c006c95980000d00aa2d..."} 
[2026-09-04 23:01:36] local.INFO: Packet analysis {"connection_id":173818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d78"} 
[2026-09-04 23:01:36] local.INFO: Extracted packet for processing {"connection_id":173818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d78"} 
[2026-09-04 23:01:36] local.INFO: GPS Element Parsed {"raw_longitude":757348800,"raw_latitude":113858944,"longitude_deg":75.73488,"latitude_deg":11.3858944,"altitude":13,"angle":170,"satellites":45,"speed":34,"hex_longitude":"2d2439c0","hex_latitude":"06c95980","is_valid_coordinates":true} 
[2026-09-04 23:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867005952001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398890401806680064,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2607865688374390784,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788543000000,"timestamp_ms":1788543000000,"timestamp_seconds":1788543000,"priority":1,"record_length":96,"hex_timestamp":"000001a06d785dc0"} 
[2026-09-04 23:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 23:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867005952001,"66":27321,"79":206,"81":22528,"24":34,"16":398890401806680064,"45":2607865688374390784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-04 23:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867005952001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:01:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 23:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 23:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398890401806680064,"km_value":398890401806680.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2607865688374390784,"description":"Unknown IO ID 45"} 
[2026-09-04 23:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867005952001,"power":27321,"unknown_79":206,"unknown_81":22528,"ignition":34,"odometer":null,"unknown_45":2607865688374390784}} 
[2026-09-04 23:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":173818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:01:36] local.INFO: GPS data processed {"connection_id":173818,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:01:36] local.INFO: Acknowledgment sent {"connection_id":173818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:01:48] local.INFO: TCP Data received {"connection_id":172534,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:01:48] local.INFO: Processing buffer {"connection_id":172534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:01:48] local.INFO: IMEI packet received {"connection_id":172534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":172534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:01:53] local.INFO: TCP Data received {"connection_id":172534,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:01:53] local.INFO: Processing buffer {"connection_id":172534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:01:53] local.INFO: IMEI packet received {"connection_id":172534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":172534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:01:54] local.INFO: TCP Data received {"connection_id":172534,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:01:54] local.INFO: Processing buffer {"connection_id":172534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:01:54] local.INFO: Packet analysis {"connection_id":172534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 23:01:54] local.INFO: Extracted packet for processing {"connection_id":172534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 23:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866895104001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788542860000,"timestamp_ms":1788542860000,"timestamp_seconds":1788542860,"priority":1,"record_length":96,"hex_timestamp":"000001a06d763ae0"} 
[2026-09-04 23:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866895104001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866895104001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:01:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:01:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866895104001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":172534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766022,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:01:54] local.INFO: GPS data processed {"connection_id":172534,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:01:54] local.INFO: Acknowledgment sent {"connection_id":172534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:01:58] local.INFO: TCP Data received {"connection_id":171426,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:01:58] local.INFO: Processing buffer {"connection_id":171426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:01:58] local.INFO: IMEI packet received {"connection_id":171426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":171426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:01:59] local.INFO: TCP Data received {"connection_id":171426,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:01:59] local.INFO: Processing buffer {"connection_id":171426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:01:59] local.INFO: IMEI packet received {"connection_id":171426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":171426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:02:03] local.INFO: TCP Data received {"connection_id":171426,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:02:03] local.INFO: Processing buffer {"connection_id":171426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:02:03] local.INFO: IMEI packet received {"connection_id":171426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":171426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:02:04] local.INFO: TCP Data received {"connection_id":171426,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7888b8012d24418006c93508001000a42d..."} 
[2026-09-04 23:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7888b8012d24418006c93508001000a42d..."} 
[2026-09-04 23:02:04] local.INFO: Processing buffer {"connection_id":171426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7888b8012d24418006c93508001000a42d..."} 
[2026-09-04 23:02:04] local.INFO: Packet analysis {"connection_id":171426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d78"} 
[2026-09-04 23:02:04] local.INFO: Extracted packet for processing {"connection_id":171426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d78"} 
[2026-09-04 23:02:04] local.INFO: GPS Element Parsed {"raw_longitude":757350784,"raw_latitude":113849608,"longitude_deg":75.7350784,"latitude_deg":11.3849608,"altitude":16,"angle":164,"satellites":45,"speed":38,"hex_longitude":"2d244180","hex_latitude":"06c93508","is_valid_coordinates":true} 
[2026-09-04 23:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867008000001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398890865663148032,"note":"Value kept but may cause issues"} 
[2026-09-04 23:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2610328594418335744,"note":"Value kept but may cause issues"} 
[2026-09-04 23:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788543011000,"timestamp_ms":1788543011000,"timestamp_seconds":1788543011,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7888b8"} 
[2026-09-04 23:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-04 23:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867008000001,"66":27245,"46":206,"81":22528,"24":38,"16":398890865663148032,"45":2610328594418335744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-04 23:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867008000001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:02:04] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-04 23:02:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 23:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398890865663148032,"km_value":398890865663148.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2610328594418335744,"description":"Unknown IO ID 45"} 
[2026-09-04 23:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867008000001,"power":27245,"unknown_46":206,"unknown_81":22528,"ignition":38,"odometer":null,"unknown_45":2610328594418335744}} 
[2026-09-04 23:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":171426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:02:04] local.INFO: GPS data processed {"connection_id":171426,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:02:04] local.INFO: Acknowledgment sent {"connection_id":171426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:02:26] local.INFO: TCP Data received {"connection_id":172534,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:02:26] local.INFO: Processing buffer {"connection_id":172534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:02:26] local.INFO: Packet analysis {"connection_id":172534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 23:02:26] local.INFO: Extracted packet for processing {"connection_id":172534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 23:02:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866895104001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788542860000,"timestamp_ms":1788542860000,"timestamp_seconds":1788542860,"priority":1,"record_length":96,"hex_timestamp":"000001a06d763ae0"} 
[2026-09-04 23:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866895104001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866895104001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:02:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:02:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866895104001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":172534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766024,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:02:26] local.INFO: GPS data processed {"connection_id":172534,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:02:26] local.INFO: Acknowledgment sent {"connection_id":172534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:02:35] local.INFO: TCP Data received {"connection_id":171426,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d79e848012d24f24006c78258001400ae2e..."} 
[2026-09-04 23:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d79e848012d24f24006c78258001400ae2e..."} 
[2026-09-04 23:02:35] local.INFO: Processing buffer {"connection_id":171426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d79e848012d24f24006c78258001400ae2e..."} 
[2026-09-04 23:02:35] local.INFO: Packet analysis {"connection_id":171426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d79"} 
[2026-09-04 23:02:35] local.INFO: Extracted packet for processing {"connection_id":171426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d79"} 
[2026-09-04 23:02:35] local.INFO: GPS Element Parsed {"raw_longitude":757396032,"raw_latitude":113738328,"longitude_deg":75.7396032,"latitude_deg":11.3738328,"altitude":20,"angle":174,"satellites":46,"speed":53,"hex_longitude":"2d24f240","hex_latitude":"06c78258","is_valid_coordinates":true} 
[2026-09-04 23:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867032064001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398896771243180032,"note":"Value kept but may cause issues"} 
[2026-09-04 23:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2661134827686195200,"note":"Value kept but may cause issues"} 
[2026-09-04 23:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788543101000,"timestamp_ms":1788543101000,"timestamp_seconds":1788543101,"priority":1,"record_length":96,"hex_timestamp":"000001a06d79e848"} 
[2026-09-04 23:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 23:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867032064001,"66":27234,"78":206,"81":22528,"24":53,"16":398896771243180032,"45":2661134827686195200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-04 23:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867032064001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:02:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-04 23:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 23:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398896771243180032,"km_value":398896771243180.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2661134827686195200,"description":"Unknown IO ID 45"} 
[2026-09-04 23:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867032064001,"power":27234,"unknown_78":206,"unknown_81":22528,"ignition":53,"odometer":null,"unknown_45":2661134827686195200}} 
[2026-09-04 23:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":171426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:02:35] local.INFO: GPS data processed {"connection_id":171426,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:02:35] local.INFO: Acknowledgment sent {"connection_id":171426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:02:48] local.INFO: TCP Data received {"connection_id":173819,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:02:48] local.INFO: Processing buffer {"connection_id":173819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:02:48] local.INFO: IMEI packet received {"connection_id":173819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":173819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:02:53] local.INFO: TCP Data received {"connection_id":173819,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:02:53] local.INFO: Processing buffer {"connection_id":173819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:02:53] local.INFO: IMEI packet received {"connection_id":173819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":173819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:02:55] local.INFO: TCP Data received {"connection_id":173819,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:02:55] local.INFO: Processing buffer {"connection_id":173819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d763ae0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:02:55] local.INFO: Packet analysis {"connection_id":173819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 23:02:55] local.INFO: Extracted packet for processing {"connection_id":173819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d76"} 
[2026-09-04 23:02:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866895104001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788542860000,"timestamp_ms":1788542860000,"timestamp_seconds":1788542860,"priority":1,"record_length":96,"hex_timestamp":"000001a06d763ae0"} 
[2026-09-04 23:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866895104001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866895104001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:02:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:02:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866895104001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":173819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766026,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:02:55] local.INFO: GPS data processed {"connection_id":173819,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:02:55] local.INFO: Acknowledgment sent {"connection_id":173819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:02:58] local.INFO: TCP Data received {"connection_id":171427,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:02:58] local.INFO: Processing buffer {"connection_id":171427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:02:58] local.INFO: IMEI packet received {"connection_id":171427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":171427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:02:58] local.INFO: TCP Data received {"connection_id":171427,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:02:58] local.INFO: Processing buffer {"connection_id":171427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:02:58] local.INFO: IMEI packet received {"connection_id":171427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":171427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:03:04] local.INFO: TCP Data received {"connection_id":171427,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:03:04] local.INFO: Processing buffer {"connection_id":171427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:03:04] local.INFO: IMEI packet received {"connection_id":171427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":171427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:03:05] local.INFO: TCP Data received {"connection_id":171427,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7a0788012d24f70006c75c58001500a82f..."} 
[2026-09-04 23:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7a0788012d24f70006c75c58001500a82f..."} 
[2026-09-04 23:03:05] local.INFO: Processing buffer {"connection_id":171427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7a0788012d24f70006c75c58001500a82f..."} 
[2026-09-04 23:03:05] local.INFO: Packet analysis {"connection_id":171427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:03:05] local.INFO: Extracted packet for processing {"connection_id":171427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":757397248,"raw_latitude":113728600,"longitude_deg":75.7397248,"latitude_deg":11.37286,"altitude":21,"angle":168,"satellites":47,"speed":51,"hex_longitude":"2d24f700","hex_latitude":"06c75c58","is_valid_coordinates":true} 
[2026-09-04 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867033856001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398897247984549888,"note":"Value kept but may cause issues"} 
[2026-09-04 23:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2662260727590574080,"note":"Value kept but may cause issues"} 
[2026-09-04 23:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788543109000,"timestamp_ms":1788543109000,"timestamp_seconds":1788543109,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7a0788"} 
[2026-09-04 23:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 23:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867033856001,"66":27332,"78":206,"81":22528,"24":51,"16":398897247984549888,"45":2662260727590574080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-04 23:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867033856001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:03:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-04 23:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-04 23:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398897247984549888,"km_value":398897247984549.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2662260727590574080,"description":"Unknown IO ID 45"} 
[2026-09-04 23:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867033856001,"power":27332,"unknown_78":206,"unknown_81":22528,"ignition":51,"odometer":null,"unknown_45":2662260727590574080}} 
[2026-09-04 23:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":171427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:03:05] local.INFO: GPS data processed {"connection_id":171427,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:03:05] local.INFO: Acknowledgment sent {"connection_id":171427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:03:27] local.INFO: TCP Data received {"connection_id":173819,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:03:27] local.INFO: Processing buffer {"connection_id":173819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:03:27] local.INFO: Packet analysis {"connection_id":173819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:03:27] local.INFO: Extracted packet for processing {"connection_id":173819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:03:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866972160001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788543161000,"timestamp_ms":1788543161000,"timestamp_seconds":1788543161,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7ad2a8"} 
[2026-09-04 23:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866972160001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866972160001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:03:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:03:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866972160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":173819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766028,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:03:27] local.INFO: GPS data processed {"connection_id":173819,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:03:27] local.INFO: Acknowledgment sent {"connection_id":173819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:03:38] local.INFO: TCP Data received {"connection_id":171427,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7a22e0012d2501c006c738d0001500a12e..."} 
[2026-09-04 23:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7a22e0012d2501c006c738d0001500a12e..."} 
[2026-09-04 23:03:38] local.INFO: Processing buffer {"connection_id":171427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7a22e0012d2501c006c738d0001500a12e..."} 
[2026-09-04 23:03:38] local.INFO: Packet analysis {"connection_id":171427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:03:38] local.INFO: Extracted packet for processing {"connection_id":171427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:03:38] local.INFO: GPS Element Parsed {"raw_longitude":757400000,"raw_latitude":113719504,"longitude_deg":75.74,"latitude_deg":11.3719504,"altitude":21,"angle":161,"satellites":46,"speed":57,"hex_longitude":"2d2501c0","hex_latitude":"06c738d0","is_valid_coordinates":true} 
[2026-09-04 23:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867035904001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398897707546050560,"note":"Value kept but may cause issues"} 
[2026-09-04 23:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2663597733727459328,"note":"Value kept but may cause issues"} 
[2026-09-04 23:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788543116000,"timestamp_ms":1788543116000,"timestamp_seconds":1788543116,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7a22e0"} 
[2026-09-04 23:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 23:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867035904001,"66":27104,"87":206,"81":20992,"24":57,"16":398897707546050560,"45":2663597733727459328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,81,24,16,45]} 
[2026-09-04 23:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867035904001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:03:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-04 23:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398897707546050560,"km_value":398897707546050.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2663597733727459328,"description":"Unknown IO ID 45"} 
[2026-09-04 23:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867035904001,"power":27104,"unknown_87":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2663597733727459328}} 
[2026-09-04 23:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":171427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:03:38] local.INFO: GPS data processed {"connection_id":171427,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:03:38] local.INFO: Acknowledgment sent {"connection_id":171427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:03:48] local.INFO: TCP Data received {"connection_id":172535,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:03:48] local.INFO: Processing buffer {"connection_id":172535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:03:48] local.INFO: IMEI packet received {"connection_id":172535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":172535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:03:53] local.INFO: TCP Data received {"connection_id":172535,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:03:53] local.INFO: Processing buffer {"connection_id":172535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:03:53] local.INFO: IMEI packet received {"connection_id":172535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":172535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:03:56] local.INFO: TCP Data received {"connection_id":172535,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:03:56] local.INFO: Processing buffer {"connection_id":172535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:03:56] local.INFO: Packet analysis {"connection_id":172535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:03:56] local.INFO: Extracted packet for processing {"connection_id":172535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:03:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866972160001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788543161000,"timestamp_ms":1788543161000,"timestamp_seconds":1788543161,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7ad2a8"} 
[2026-09-04 23:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866972160001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866972160001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:03:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:03:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866972160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":172535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:03:56] local.INFO: GPS data processed {"connection_id":172535,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:03:56] local.INFO: Acknowledgment sent {"connection_id":172535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:03:58] local.INFO: TCP Data received {"connection_id":171128,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:03:58] local.INFO: Processing buffer {"connection_id":171128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:03:58] local.INFO: IMEI packet received {"connection_id":171128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":171128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:04:01] local.INFO: TCP Data received {"connection_id":171128,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:04:01] local.INFO: Processing buffer {"connection_id":171128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:04:01] local.INFO: IMEI packet received {"connection_id":171128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":171128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:04:19] local.INFO: TCP Data received {"connection_id":171128,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:04:19] local.INFO: Processing buffer {"connection_id":171128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:04:19] local.INFO: IMEI packet received {"connection_id":171128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":171128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:04:21] local.INFO: TCP Data received {"connection_id":171128,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7b3450012d25c7c006c5d7a8001000902d..."} 
[2026-09-04 23:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7b3450012d25c7c006c5d7a8001000902d..."} 
[2026-09-04 23:04:21] local.INFO: Processing buffer {"connection_id":171128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7b3450012d25c7c006c5d7a8001000902d..."} 
[2026-09-04 23:04:21] local.INFO: Packet analysis {"connection_id":171128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7b"} 
[2026-09-04 23:04:21] local.INFO: Extracted packet for processing {"connection_id":171128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7b"} 
[2026-09-04 23:04:21] local.INFO: GPS Element Parsed {"raw_longitude":757450688,"raw_latitude":113629096,"longitude_deg":75.7450688,"latitude_deg":11.3629096,"altitude":16,"angle":144,"satellites":45,"speed":57,"hex_longitude":"2d25c7c0","hex_latitude":"06c5d7a8","is_valid_coordinates":true} 
[2026-09-04 23:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867054080001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398902715477917696,"note":"Value kept but may cause issues"} 
[2026-09-04 23:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2716866873046364160,"note":"Value kept but may cause issues"} 
[2026-09-04 23:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788543186000,"timestamp_ms":1788543186000,"timestamp_seconds":1788543186,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7b3450"} 
[2026-09-04 23:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 23:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867054080001,"66":27365,"135":206,"81":20992,"24":57,"16":398902715477917696,"45":2716866873046364160},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,81,24,16,45]} 
[2026-09-04 23:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867054080001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:04:21] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 23:04:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398902715477917696,"km_value":398902715477917.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2716866873046364160,"description":"Unknown IO ID 45"} 
[2026-09-04 23:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867054080001,"power":27365,"unknown_135":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2716866873046364160}} 
[2026-09-04 23:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":171128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:04:21] local.INFO: GPS data processed {"connection_id":171128,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:04:21] local.INFO: Acknowledgment sent {"connection_id":171128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:04:23] local.INFO: TCP Data received {"connection_id":171128,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7b5390012d25de4006c5b740001000912f..."} 
[2026-09-04 23:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7b5390012d25de4006c5b740001000912f..."} 
[2026-09-04 23:04:23] local.INFO: Processing buffer {"connection_id":171128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7b5390012d25de4006c5b740001000912f..."} 
[2026-09-04 23:04:23] local.INFO: Packet analysis {"connection_id":171128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7b"} 
[2026-09-04 23:04:23] local.INFO: Extracted packet for processing {"connection_id":171128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7b"} 
[2026-09-04 23:04:23] local.INFO: GPS Element Parsed {"raw_longitude":757456448,"raw_latitude":113620800,"longitude_deg":75.7456448,"latitude_deg":11.36208,"altitude":16,"angle":145,"satellites":47,"speed":45,"hex_longitude":"2d25de40","hex_latitude":"06c5b740","is_valid_coordinates":true} 
[2026-09-04 23:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867055616001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398903200809222144,"note":"Value kept but may cause issues"} 
[2026-09-04 23:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2722355635090335744,"note":"Value kept but may cause issues"} 
[2026-09-04 23:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788543194000,"timestamp_ms":1788543194000,"timestamp_seconds":1788543194,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7b5390"} 
[2026-09-04 23:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 23:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867055616001,"66":26702,"135":206,"81":20992,"24":45,"16":398903200809222144,"45":2722355635090335744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,81,24,16,45]} 
[2026-09-04 23:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867055616001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:04:23] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 23:04:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398903200809222144,"km_value":398903200809222.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2722355635090335744,"description":"Unknown IO ID 45"} 
[2026-09-04 23:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867055616001,"power":26702,"unknown_135":206,"unknown_81":20992,"ignition":45,"odometer":null,"unknown_45":2722355635090335744}} 
[2026-09-04 23:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":171128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:04:23] local.INFO: GPS data processed {"connection_id":171128,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:04:23] local.INFO: Acknowledgment sent {"connection_id":171128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:04:28] local.INFO: TCP Data received {"connection_id":172535,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:04:28] local.INFO: Processing buffer {"connection_id":172535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:04:28] local.INFO: Packet analysis {"connection_id":172535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:04:28] local.INFO: Extracted packet for processing {"connection_id":172535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:04:28] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866972160001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788543161000,"timestamp_ms":1788543161000,"timestamp_seconds":1788543161,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7ad2a8"} 
[2026-09-04 23:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866972160001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866972160001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:04:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:04:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866972160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":172535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766033,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:04:28] local.INFO: GPS data processed {"connection_id":172535,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:04:28] local.INFO: Acknowledgment sent {"connection_id":172535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:04:48] local.INFO: TCP Data received {"connection_id":171428,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:04:48] local.INFO: Processing buffer {"connection_id":171428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:04:48] local.INFO: IMEI packet received {"connection_id":171428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":171428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:04:53] local.INFO: TCP Data received {"connection_id":171428,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:04:53] local.INFO: Processing buffer {"connection_id":171428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:04:53] local.INFO: IMEI packet received {"connection_id":171428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":171428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:04:56] local.INFO: TCP Data received {"connection_id":171428,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:04:56] local.INFO: Processing buffer {"connection_id":171428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:04:56] local.INFO: Packet analysis {"connection_id":171428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:04:56] local.INFO: Extracted packet for processing {"connection_id":171428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:04:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866972160001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788543161000,"timestamp_ms":1788543161000,"timestamp_seconds":1788543161,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7ad2a8"} 
[2026-09-04 23:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866972160001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866972160001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:04:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:04:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866972160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":171428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766034,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:04:56] local.INFO: GPS data processed {"connection_id":171428,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:04:56] local.INFO: Acknowledgment sent {"connection_id":171428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:05:00] local.INFO: TCP Data received {"connection_id":172536,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:05:00] local.INFO: Processing buffer {"connection_id":172536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:05:00] local.INFO: IMEI packet received {"connection_id":172536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":172536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:05:03] local.INFO: TCP Data received {"connection_id":172536,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:05:03] local.INFO: Processing buffer {"connection_id":172536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:05:03] local.INFO: IMEI packet received {"connection_id":172536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":172536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:05:07] local.INFO: TCP Data received {"connection_id":172536,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:05:07] local.INFO: Processing buffer {"connection_id":172536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:05:07] local.INFO: IMEI packet received {"connection_id":172536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":172536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:05:08] local.INFO: TCP Data received {"connection_id":172536,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7b76b8012d25f60006c59a780012008c2f..."} 
[2026-09-04 23:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7b76b8012d25f60006c59a780012008c2f..."} 
[2026-09-04 23:05:08] local.INFO: Processing buffer {"connection_id":172536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7b76b8012d25f60006c59a780012008c2f..."} 
[2026-09-04 23:05:08] local.INFO: Packet analysis {"connection_id":172536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7b"} 
[2026-09-04 23:05:08] local.INFO: Extracted packet for processing {"connection_id":172536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7b"} 
[2026-09-04 23:05:08] local.INFO: GPS Element Parsed {"raw_longitude":757462528,"raw_latitude":113613432,"longitude_deg":75.7462528,"latitude_deg":11.3613432,"altitude":18,"angle":140,"satellites":47,"speed":40,"hex_longitude":"2d25f600","hex_latitude":"06c59a78","is_valid_coordinates":true} 
[2026-09-04 23:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867057664001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398903660370722816,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2728688822064201728,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788543203000,"timestamp_ms":1788543203000,"timestamp_seconds":1788543203,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7b76b8"} 
[2026-09-04 23:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-04 23:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867057664001,"66":27343,"135":206,"81":20992,"24":40,"16":398903660370722816,"45":2728688822064201728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,81,24,16,45]} 
[2026-09-04 23:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867057664001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:05:08] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 23:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398903660370722816,"km_value":398903660370722.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2728688822064201728,"description":"Unknown IO ID 45"} 
[2026-09-04 23:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867057664001,"power":27343,"unknown_135":206,"unknown_81":20992,"ignition":40,"odometer":null,"unknown_45":2728688822064201728}} 
[2026-09-04 23:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":172536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:05:08] local.INFO: GPS data processed {"connection_id":172536,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:05:08] local.INFO: Acknowledgment sent {"connection_id":172536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:05:08] local.INFO: TCP Data received {"connection_id":172536,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7b99e0012d260d8006c57ee00014008c2f..."} 
[2026-09-04 23:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7b99e0012d260d8006c57ee00014008c2f..."} 
[2026-09-04 23:05:08] local.INFO: Processing buffer {"connection_id":172536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7b99e0012d260d8006c57ee00014008c2f..."} 
[2026-09-04 23:05:08] local.INFO: Packet analysis {"connection_id":172536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7b"} 
[2026-09-04 23:05:08] local.INFO: Extracted packet for processing {"connection_id":172536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7b"} 
[2026-09-04 23:05:08] local.INFO: GPS Element Parsed {"raw_longitude":757468544,"raw_latitude":113606368,"longitude_deg":75.7468544,"latitude_deg":11.3606368,"altitude":20,"angle":140,"satellites":47,"speed":42,"hex_longitude":"2d260d80","hex_latitude":"06c57ee0","is_valid_coordinates":true} 
[2026-09-04 23:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867059968001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398904107047321600,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2735373852759193600,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788543212000,"timestamp_ms":1788543212000,"timestamp_seconds":1788543212,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7b99e0"} 
[2026-09-04 23:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 23:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867059968001,"66":27267,"135":206,"81":20992,"24":42,"16":398904107047321600,"45":2735373852759193600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,81,24,16,45]} 
[2026-09-04 23:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867059968001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:05:08] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 23:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398904107047321600,"km_value":398904107047321.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2735373852759193600,"description":"Unknown IO ID 45"} 
[2026-09-04 23:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867059968001,"power":27267,"unknown_135":206,"unknown_81":20992,"ignition":42,"odometer":null,"unknown_45":2735373852759193600}} 
[2026-09-04 23:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":172536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:05:08] local.INFO: GPS data processed {"connection_id":172536,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:05:08] local.INFO: Acknowledgment sent {"connection_id":172536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:05:28] local.INFO: TCP Data received {"connection_id":171428,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:05:28] local.INFO: Processing buffer {"connection_id":171428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:05:28] local.INFO: Packet analysis {"connection_id":171428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:05:28] local.INFO: Extracted packet for processing {"connection_id":171428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:05:28] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866972160001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788543161000,"timestamp_ms":1788543161000,"timestamp_seconds":1788543161,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7ad2a8"} 
[2026-09-04 23:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866972160001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866972160001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:05:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:05:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866972160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":171428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766037,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:05:28] local.INFO: GPS data processed {"connection_id":171428,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:05:28] local.INFO: Acknowledgment sent {"connection_id":171428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:05:39] local.INFO: TCP Data received {"connection_id":172536,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7bbd08012d26274006c561000015008c2f..."} 
[2026-09-04 23:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7bbd08012d26274006c561000015008c2f..."} 
[2026-09-04 23:05:39] local.INFO: Processing buffer {"connection_id":172536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7bbd08012d26274006c561000015008c2f..."} 
[2026-09-04 23:05:39] local.INFO: Packet analysis {"connection_id":172536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7b"} 
[2026-09-04 23:05:39] local.INFO: Extracted packet for processing {"connection_id":172536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7b"} 
[2026-09-04 23:05:39] local.INFO: GPS Element Parsed {"raw_longitude":757475136,"raw_latitude":113598720,"longitude_deg":75.7475136,"latitude_deg":11.359872,"altitude":21,"angle":140,"satellites":47,"speed":47,"hex_longitude":"2d262740","hex_latitude":"06c56100","is_valid_coordinates":true} 
[2026-09-04 23:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867062272001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398904592378626048,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2741988514710085632,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788543221000,"timestamp_ms":1788543221000,"timestamp_seconds":1788543221,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7bbd08"} 
[2026-09-04 23:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 23:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867062272001,"66":27267,"135":206,"81":20992,"24":47,"16":398904592378626048,"45":2741988514710085632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,81,24,16,45]} 
[2026-09-04 23:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867062272001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:05:39] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-04 23:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398904592378626048,"km_value":398904592378626.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2741988514710085632,"description":"Unknown IO ID 45"} 
[2026-09-04 23:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867062272001,"power":27267,"unknown_135":206,"unknown_81":20992,"ignition":47,"odometer":null,"unknown_45":2741988514710085632}} 
[2026-09-04 23:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":172536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:05:39] local.INFO: GPS data processed {"connection_id":172536,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:05:39] local.INFO: Acknowledgment sent {"connection_id":172536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:05:53] local.INFO: TCP Data received {"connection_id":171129,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:05:53] local.INFO: Processing buffer {"connection_id":171129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:05:53] local.INFO: IMEI packet received {"connection_id":171129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":171129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:05:58] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:05:58] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:05:58] local.INFO: IMEI packet received {"connection_id":172537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":172537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:05:58] local.INFO: TCP Data received {"connection_id":171129,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:05:58] local.INFO: Processing buffer {"connection_id":171129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:05:58] local.INFO: IMEI packet received {"connection_id":171129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":171129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:05:59] local.INFO: TCP Data received {"connection_id":171129,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:05:59] local.INFO: Processing buffer {"connection_id":171129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:05:59] local.INFO: Packet analysis {"connection_id":171129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:05:59] local.INFO: Extracted packet for processing {"connection_id":171129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:05:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866972160001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788543161000,"timestamp_ms":1788543161000,"timestamp_seconds":1788543161,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7ad2a8"} 
[2026-09-04 23:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866972160001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866972160001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:05:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:05:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866972160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":171129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766039,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:06:00] local.INFO: GPS data processed {"connection_id":171129,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:06:00] local.INFO: Acknowledgment sent {"connection_id":171129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:06:00] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:06:00] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:06:00] local.INFO: IMEI packet received {"connection_id":172537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":172537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:06:03] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:06:03] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:06:03] local.INFO: IMEI packet received {"connection_id":172537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":172537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:06:03] local.INFO: TCP Data received {"connection_id":171129,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:06:03] local.INFO: Processing buffer {"connection_id":171129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:06:03] local.INFO: Packet analysis {"connection_id":171129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:06:03] local.INFO: Extracted packet for processing {"connection_id":171129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866972160001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788543161000,"timestamp_ms":1788543161000,"timestamp_seconds":1788543161,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7ad2a8"} 
[2026-09-04 23:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866972160001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866972160001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:06:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:06:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866972160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":171129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766040,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:06:03] local.INFO: GPS data processed {"connection_id":171129,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:06:03] local.INFO: Acknowledgment sent {"connection_id":171129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:06:04] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7cedb8012d270fc006c41940000f009d2e..."} 
[2026-09-04 23:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7cedb8012d270fc006c41940000f009d2e..."} 
[2026-09-04 23:06:04] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7cedb8012d270fc006c41940000f009d2e..."} 
[2026-09-04 23:06:04] local.INFO: Packet analysis {"connection_id":172537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7c"} 
[2026-09-04 23:06:04] local.INFO: Extracted packet for processing {"connection_id":172537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7c"} 
[2026-09-04 23:06:04] local.INFO: GPS Element Parsed {"raw_longitude":757534656,"raw_latitude":113514816,"longitude_deg":75.7534656,"latitude_deg":11.3514816,"altitude":15,"angle":157,"satellites":46,"speed":58,"hex_longitude":"2d270fc0","hex_latitude":"06c41940","is_valid_coordinates":true} 
[2026-09-04 23:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867083008001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398909596015525888,"note":"Value kept but may cause issues"} 
[2026-09-04 23:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2810738777750321152,"note":"Value kept but may cause issues"} 
[2026-09-04 23:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788543299000,"timestamp_ms":1788543299000,"timestamp_seconds":1788543299,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7cedb8"} 
[2026-09-04 23:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 23:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867083008001,"66":26245,"231":206,"81":20992,"24":58,"16":398909596015525888,"45":2810738777750321152},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-04 23:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867083008001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:06:04] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-04 23:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398909596015525888,"km_value":398909596015525.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2810738777750321152,"description":"Unknown IO ID 45"} 
[2026-09-04 23:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867083008001,"power":26245,"unknown_231":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2810738777750321152}} 
[2026-09-04 23:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":172537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:06:04] local.INFO: GPS data processed {"connection_id":172537,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:06:04] local.INFO: Acknowledgment sent {"connection_id":172537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:06:05] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7d0910012d27200006c3f4d00012009b2f..."} 
[2026-09-04 23:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7d0910012d27200006c3f4d00012009b2f..."} 
[2026-09-04 23:06:05] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7d0910012d27200006c3f4d00012009b2f..."} 
[2026-09-04 23:06:05] local.INFO: Packet analysis {"connection_id":172537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7d"} 
[2026-09-04 23:06:05] local.INFO: Extracted packet for processing {"connection_id":172537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7d"} 
[2026-09-04 23:06:05] local.INFO: GPS Element Parsed {"raw_longitude":757538816,"raw_latitude":113505488,"longitude_deg":75.7538816,"latitude_deg":11.3505488,"altitude":18,"angle":155,"satellites":47,"speed":57,"hex_longitude":"2d272000","hex_latitude":"06c3f4d0","is_valid_coordinates":true} 
[2026-09-04 23:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867084544001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398910089936764928,"note":"Value kept but may cause issues"} 
[2026-09-04 23:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2814679427422175232,"note":"Value kept but may cause issues"} 
[2026-09-04 23:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788543306000,"timestamp_ms":1788543306000,"timestamp_seconds":1788543306,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7d0910"} 
[2026-09-04 23:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-04 23:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867084544001,"66":27245,"230":206,"81":20992,"24":57,"16":398910089936764928,"45":2814679427422175232},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-04 23:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867084544001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:06:05] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-04 23:06:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398910089936764928,"km_value":398910089936764.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2814679427422175232,"description":"Unknown IO ID 45"} 
[2026-09-04 23:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867084544001,"power":27245,"unknown_230":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2814679427422175232}} 
[2026-09-04 23:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":172537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:06:05] local.INFO: GPS data processed {"connection_id":172537,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:06:05] local.INFO: Acknowledgment sent {"connection_id":172537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:06:48] local.INFO: TCP Data received {"connection_id":173820,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:06:48] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:06:48] local.INFO: IMEI packet received {"connection_id":173820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":173820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:06:53] local.INFO: TCP Data received {"connection_id":173820,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:06:53] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:06:53] local.INFO: IMEI packet received {"connection_id":173820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":173820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:06:55] local.INFO: TCP Data received {"connection_id":173820,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:06:55] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:06:55] local.INFO: Packet analysis {"connection_id":173820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:06:55] local.INFO: Extracted packet for processing {"connection_id":173820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:06:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866972160001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788543161000,"timestamp_ms":1788543161000,"timestamp_seconds":1788543161,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7ad2a8"} 
[2026-09-04 23:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866972160001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866972160001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:06:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:06:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866972160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":173820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:06:55] local.INFO: GPS data processed {"connection_id":173820,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:06:55] local.INFO: Acknowledgment sent {"connection_id":173820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:06:58] local.INFO: TCP Data received {"connection_id":171429,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:06:58] local.INFO: Processing buffer {"connection_id":171429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:06:58] local.INFO: IMEI packet received {"connection_id":171429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":171429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:07:03] local.INFO: TCP Data received {"connection_id":171429,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:07:03] local.INFO: Processing buffer {"connection_id":171429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:07:03] local.INFO: IMEI packet received {"connection_id":171429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":171429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:07:04] local.INFO: TCP Data received {"connection_id":171429,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7d2468012d27308006c3d1780016009b2f..."} 
[2026-09-04 23:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7d2468012d27308006c3d1780016009b2f..."} 
[2026-09-04 23:07:04] local.INFO: Processing buffer {"connection_id":171429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7d2468012d27308006c3d1780016009b2f..."} 
[2026-09-04 23:07:04] local.INFO: Packet analysis {"connection_id":171429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7d"} 
[2026-09-04 23:07:04] local.INFO: Extracted packet for processing {"connection_id":171429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7d"} 
[2026-09-04 23:07:04] local.INFO: GPS Element Parsed {"raw_longitude":757543040,"raw_latitude":113496440,"longitude_deg":75.754304,"latitude_deg":11.349644,"altitude":22,"angle":155,"satellites":47,"speed":55,"hex_longitude":"2d273080","hex_latitude":"06c3d178","is_valid_coordinates":true} 
[2026-09-04 23:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867086336001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398910570973102080,"note":"Value kept but may cause issues"} 
[2026-09-04 23:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2819253395791335424,"note":"Value kept but may cause issues"} 
[2026-09-04 23:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788543313000,"timestamp_ms":1788543313000,"timestamp_seconds":1788543313,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7d2468"} 
[2026-09-04 23:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 23:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867086336001,"66":27343,"230":206,"81":20992,"24":55,"16":398910570973102080,"45":2819253395791335424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-04 23:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867086336001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:07:04] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-04 23:07:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398910570973102080,"km_value":398910570973102.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2819253395791335424,"description":"Unknown IO ID 45"} 
[2026-09-04 23:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867086336001,"power":27343,"unknown_230":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":2819253395791335424}} 
[2026-09-04 23:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":171429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:07:04] local.INFO: GPS data processed {"connection_id":171429,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:07:04] local.INFO: Acknowledgment sent {"connection_id":171429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:07:27] local.INFO: TCP Data received {"connection_id":173820,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:07:27] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:07:27] local.INFO: Packet analysis {"connection_id":173820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:07:27] local.INFO: Extracted packet for processing {"connection_id":173820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:07:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866972160001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788543161000,"timestamp_ms":1788543161000,"timestamp_seconds":1788543161,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7ad2a8"} 
[2026-09-04 23:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866972160001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866972160001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:07:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:07:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866972160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":173820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766045,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:07:27] local.INFO: GPS data processed {"connection_id":173820,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:07:27] local.INFO: Acknowledgment sent {"connection_id":173820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:07:35] local.INFO: TCP Data received {"connection_id":171429,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7d3fc0012d2740c006c3b030001800992f..."} 
[2026-09-04 23:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7d3fc0012d2740c006c3b030001800992f..."} 
[2026-09-04 23:07:35] local.INFO: Processing buffer {"connection_id":171429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7d3fc0012d2740c006c3b030001800992f..."} 
[2026-09-04 23:07:35] local.INFO: Packet analysis {"connection_id":171429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7d"} 
[2026-09-04 23:07:35] local.INFO: Extracted packet for processing {"connection_id":171429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7d"} 
[2026-09-04 23:07:35] local.INFO: GPS Element Parsed {"raw_longitude":757547200,"raw_latitude":113487920,"longitude_deg":75.75472,"latitude_deg":11.348792,"altitude":24,"angle":153,"satellites":47,"speed":53,"hex_longitude":"2d2740c0","hex_latitude":"06c3b030","is_valid_coordinates":true} 
[2026-09-04 23:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867088128001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398911030534602752,"note":"Value kept but may cause issues"} 
[2026-09-04 23:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2823897732904744960,"note":"Value kept but may cause issues"} 
[2026-09-04 23:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788543320000,"timestamp_ms":1788543320000,"timestamp_seconds":1788543320,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7d3fc0"} 
[2026-09-04 23:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 23:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867088128001,"66":27463,"230":206,"81":20992,"24":53,"16":398911030534602752,"45":2823897732904744960},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-04 23:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867088128001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:07:35] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-04 23:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398911030534602752,"km_value":398911030534602.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2823897732904744960,"description":"Unknown IO ID 45"} 
[2026-09-04 23:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867088128001,"power":27463,"unknown_230":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":2823897732904744960}} 
[2026-09-04 23:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":171429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:07:35] local.INFO: GPS data processed {"connection_id":171429,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:07:35] local.INFO: Acknowledgment sent {"connection_id":171429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:07:48] local.INFO: TCP Data received {"connection_id":172538,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:07:48] local.INFO: Processing buffer {"connection_id":172538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:07:48] local.INFO: IMEI packet received {"connection_id":172538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":172538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:07:53] local.INFO: TCP Data received {"connection_id":172538,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:07:53] local.INFO: Processing buffer {"connection_id":172538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:07:53] local.INFO: IMEI packet received {"connection_id":172538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":172538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:07:54] local.INFO: TCP Data received {"connection_id":172538,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:07:54] local.INFO: Processing buffer {"connection_id":172538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7ad2a8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:07:54] local.INFO: Packet analysis {"connection_id":172538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:07:54] local.INFO: Extracted packet for processing {"connection_id":172538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7a"} 
[2026-09-04 23:07:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457866972160001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788543161000,"timestamp_ms":1788543161000,"timestamp_seconds":1788543161,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7ad2a8"} 
[2026-09-04 23:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457866972160001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457866972160001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:07:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:07:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457866972160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":172538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766047,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:07:54] local.INFO: GPS data processed {"connection_id":172538,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:07:54] local.INFO: Acknowledgment sent {"connection_id":172538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:08:03] local.INFO: TCP Data received {"connection_id":172539,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:08:03] local.INFO: Processing buffer {"connection_id":172539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:08:03] local.INFO: IMEI packet received {"connection_id":172539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":172539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:08:08] local.INFO: TCP Data received {"connection_id":172539,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:08:08] local.INFO: Processing buffer {"connection_id":172539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:08:08] local.INFO: IMEI packet received {"connection_id":172539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":172539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:08:09] local.INFO: TCP Data received {"connection_id":172539,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7e9f50012d27e8c006c24520000d009c2f..."} 
[2026-09-04 23:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7e9f50012d27e8c006c24520000d009c2f..."} 
[2026-09-04 23:08:09] local.INFO: Processing buffer {"connection_id":172539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7e9f50012d27e8c006c24520000d009c2f..."} 
[2026-09-04 23:08:09] local.INFO: Packet analysis {"connection_id":172539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7e"} 
[2026-09-04 23:08:09] local.INFO: Extracted packet for processing {"connection_id":172539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7e"} 
[2026-09-04 23:08:09] local.INFO: GPS Element Parsed {"raw_longitude":757590208,"raw_latitude":113394976,"longitude_deg":75.7590208,"latitude_deg":11.3394976,"altitude":13,"angle":156,"satellites":47,"speed":31,"hex_longitude":"2d27e8c0","hex_latitude":"06c24520","is_valid_coordinates":true} 
[2026-09-04 23:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867109888001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398915978336927744,"note":"Value kept but may cause issues"} 
[2026-09-04 23:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2871396635200794624,"note":"Value kept but may cause issues"} 
[2026-09-04 23:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788543410000,"timestamp_ms":1788543410000,"timestamp_seconds":1788543410,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7e9f50"} 
[2026-09-04 23:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 23:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867109888001,"66":27332,"181":206,"81":20992,"24":31,"16":398915978336927744,"45":2871396635200794624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-04 23:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867109888001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:08:09] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 23:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398915978336927744,"km_value":398915978336927.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2871396635200794624,"description":"Unknown IO ID 45"} 
[2026-09-04 23:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867109888001,"power":27332,"unknown_181":206,"unknown_81":20992,"ignition":31,"odometer":null,"unknown_45":2871396635200794624}} 
[2026-09-04 23:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":172539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:08:09] local.INFO: GPS data processed {"connection_id":172539,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:08:09] local.INFO: Acknowledgment sent {"connection_id":172539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:08:26] local.INFO: TCP Data received {"connection_id":172538,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:08:26] local.INFO: Processing buffer {"connection_id":172538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:08:26] local.INFO: Packet analysis {"connection_id":172538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:08:26] local.INFO: Extracted packet for processing {"connection_id":172538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:08:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867049216001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788543462000,"timestamp_ms":1788543462000,"timestamp_seconds":1788543462,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7f6a70"} 
[2026-09-04 23:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867049216001,"66":25278,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867049216001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:08:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:08:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867049216001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":172538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766049,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:08:26] local.INFO: GPS data processed {"connection_id":172538,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:08:26] local.INFO: Acknowledgment sent {"connection_id":172538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:08:39] local.INFO: TCP Data received {"connection_id":172539,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7ece30012d27f90006c224f8000d00912f..."} 
[2026-09-04 23:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7ece30012d27f90006c224f8000d00912f..."} 
[2026-09-04 23:08:39] local.INFO: Processing buffer {"connection_id":172539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7ece30012d27f90006c224f8000d00912f..."} 
[2026-09-04 23:08:39] local.INFO: Packet analysis {"connection_id":172539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7e"} 
[2026-09-04 23:08:39] local.INFO: Extracted packet for processing {"connection_id":172539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7e"} 
[2026-09-04 23:08:39] local.INFO: GPS Element Parsed {"raw_longitude":757594368,"raw_latitude":113386744,"longitude_deg":75.7594368,"latitude_deg":11.3386744,"altitude":13,"angle":145,"satellites":47,"speed":33,"hex_longitude":"2d27f900","hex_latitude":"06c224f8","is_valid_coordinates":true} 
[2026-09-04 23:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867112960001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398916425013526528,"note":"Value kept but may cause issues"} 
[2026-09-04 23:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2875759497337708544,"note":"Value kept but may cause issues"} 
[2026-09-04 23:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788543422000,"timestamp_ms":1788543422000,"timestamp_seconds":1788543422,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7ece30"} 
[2026-09-04 23:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 23:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867112960001,"66":27343,"181":206,"81":20992,"24":33,"16":398916425013526528,"45":2875759497337708544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-04 23:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867112960001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:08:39] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 23:08:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398916425013526528,"km_value":398916425013526.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2875759497337708544,"description":"Unknown IO ID 45"} 
[2026-09-04 23:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867112960001,"power":27343,"unknown_181":206,"unknown_81":20992,"ignition":33,"odometer":null,"unknown_45":2875759497337708544}} 
[2026-09-04 23:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":172539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:08:39] local.INFO: GPS data processed {"connection_id":172539,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:08:39] local.INFO: Acknowledgment sent {"connection_id":172539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:08:48] local.INFO: TCP Data received {"connection_id":171430,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:08:48] local.INFO: Processing buffer {"connection_id":171430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:08:48] local.INFO: IMEI packet received {"connection_id":171430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":171430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:08:53] local.INFO: TCP Data received {"connection_id":171430,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:08:53] local.INFO: Processing buffer {"connection_id":171430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:08:53] local.INFO: IMEI packet received {"connection_id":171430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":171430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:08:55] local.INFO: TCP Data received {"connection_id":171430,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:08:55] local.INFO: Processing buffer {"connection_id":171430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:08:55] local.INFO: Packet analysis {"connection_id":171430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:08:55] local.INFO: Extracted packet for processing {"connection_id":171430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867049216001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788543462000,"timestamp_ms":1788543462000,"timestamp_seconds":1788543462,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7f6a70"} 
[2026-09-04 23:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867049216001,"66":25278,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867049216001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:08:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867049216001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":171430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766051,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:08:55] local.INFO: GPS data processed {"connection_id":171430,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:08:55] local.INFO: Acknowledgment sent {"connection_id":171430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:08:58] local.INFO: TCP Data received {"connection_id":173821,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:08:58] local.INFO: Processing buffer {"connection_id":173821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:08:58] local.INFO: IMEI packet received {"connection_id":173821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":173821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:09:03] local.INFO: TCP Data received {"connection_id":173821,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:09:03] local.INFO: Processing buffer {"connection_id":173821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:09:03] local.INFO: IMEI packet received {"connection_id":173821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":173821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:09:03] local.INFO: TCP Data received {"connection_id":173821,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7ece30012d27f90006c224f8000d00912f..."} 
[2026-09-04 23:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7ece30012d27f90006c224f8000d00912f..."} 
[2026-09-04 23:09:03] local.INFO: Processing buffer {"connection_id":173821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7ece30012d27f90006c224f8000d00912f..."} 
[2026-09-04 23:09:03] local.INFO: Packet analysis {"connection_id":173821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7e"} 
[2026-09-04 23:09:03] local.INFO: Extracted packet for processing {"connection_id":173821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7e"} 
[2026-09-04 23:09:03] local.INFO: GPS Element Parsed {"raw_longitude":757594368,"raw_latitude":113386744,"longitude_deg":75.7594368,"latitude_deg":11.3386744,"altitude":13,"angle":145,"satellites":47,"speed":33,"hex_longitude":"2d27f900","hex_latitude":"06c224f8","is_valid_coordinates":true} 
[2026-09-04 23:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867116032001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398916425013526528,"note":"Value kept but may cause issues"} 
[2026-09-04 23:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2880333465707149312,"note":"Value kept but may cause issues"} 
[2026-09-04 23:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788543422000,"timestamp_ms":1788543422000,"timestamp_seconds":1788543422,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7ece30"} 
[2026-09-04 23:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 23:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867116032001,"66":27343,"181":206,"81":20992,"24":33,"16":398916425013526528,"45":2880333465707149312},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-04 23:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867116032001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:09:03] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-04 23:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398916425013526528,"km_value":398916425013526.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2880333465707149312,"description":"Unknown IO ID 45"} 
[2026-09-04 23:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867116032001,"power":27343,"unknown_181":206,"unknown_81":20992,"ignition":33,"odometer":null,"unknown_45":2880333465707149312}} 
[2026-09-04 23:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":173821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:09:04] local.INFO: GPS data processed {"connection_id":173821,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:09:04] local.INFO: Acknowledgment sent {"connection_id":173821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:09:27] local.INFO: TCP Data received {"connection_id":171430,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:09:27] local.INFO: Processing buffer {"connection_id":171430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:09:27] local.INFO: Packet analysis {"connection_id":171430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:09:27] local.INFO: Extracted packet for processing {"connection_id":171430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:09:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867049216001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788543462000,"timestamp_ms":1788543462000,"timestamp_seconds":1788543462,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7f6a70"} 
[2026-09-04 23:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867049216001,"66":25278,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867049216001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:09:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:09:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867049216001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":171430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766053,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:09:27] local.INFO: GPS data processed {"connection_id":171430,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:09:27] local.INFO: Acknowledgment sent {"connection_id":171430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:09:34] local.INFO: TCP Data received {"connection_id":173821,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8058b8012d29608006c0af98000900852d..."} 
[2026-09-04 23:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8058b8012d29608006c0af98000900852d..."} 
[2026-09-04 23:09:34] local.INFO: Processing buffer {"connection_id":173821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8058b8012d29608006c0af98000900852d..."} 
[2026-09-04 23:09:34] local.INFO: Packet analysis {"connection_id":173821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d80"} 
[2026-09-04 23:09:34] local.INFO: Extracted packet for processing {"connection_id":173821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d80"} 
[2026-09-04 23:09:34] local.INFO: GPS Element Parsed {"raw_longitude":757686400,"raw_latitude":113291160,"longitude_deg":75.76864,"latitude_deg":11.329116,"altitude":9,"angle":133,"satellites":45,"speed":59,"hex_longitude":"2d296080","hex_latitude":"06c0af98","is_valid_coordinates":true} 
[2026-09-04 23:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867140352001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398922803039961088,"note":"Value kept but may cause issues"} 
[2026-09-04 23:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974486845394010112,"note":"Value kept but may cause issues"} 
[2026-09-04 23:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788543523000,"timestamp_ms":1788543523000,"timestamp_seconds":1788543523,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8058b8"} 
[2026-09-04 23:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 23:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867140352001,"66":27365,"33":206,"81":20992,"24":59,"16":398922803039961088,"45":2974486845394010112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,81,24,16,45]} 
[2026-09-04 23:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867140352001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:09:34] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 23:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398922803039961088,"km_value":398922803039961.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974486845394010112,"description":"Unknown IO ID 45"} 
[2026-09-04 23:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867140352001,"power":27365,"unknown_33":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2974486845394010112}} 
[2026-09-04 23:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":173821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:09:34] local.INFO: GPS data processed {"connection_id":173821,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:09:34] local.INFO: Acknowledgment sent {"connection_id":173821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:09:53] local.INFO: TCP Data received {"connection_id":171130,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:09:53] local.INFO: Processing buffer {"connection_id":171130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:09:53] local.INFO: IMEI packet received {"connection_id":171130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":171130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:09:58] local.INFO: TCP Data received {"connection_id":171130,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:09:58] local.INFO: Processing buffer {"connection_id":171130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:09:58] local.INFO: IMEI packet received {"connection_id":171130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":171130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:09:59] local.INFO: TCP Data received {"connection_id":172540,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:09:59] local.INFO: Processing buffer {"connection_id":172540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:09:59] local.INFO: IMEI packet received {"connection_id":172540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":172540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:09:59] local.INFO: TCP Data received {"connection_id":171130,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:09:59] local.INFO: Processing buffer {"connection_id":171130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:09:59] local.INFO: Packet analysis {"connection_id":171130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:09:59] local.INFO: Extracted packet for processing {"connection_id":171130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867049216001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788543462000,"timestamp_ms":1788543462000,"timestamp_seconds":1788543462,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7f6a70"} 
[2026-09-04 23:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867049216001,"66":25278,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867049216001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:09:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867049216001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":171130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766055,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:09:59] local.INFO: GPS data processed {"connection_id":171130,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:09:59] local.INFO: Acknowledgment sent {"connection_id":171130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:10:03] local.INFO: TCP Data received {"connection_id":172540,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:10:03] local.INFO: Processing buffer {"connection_id":172540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:10:03] local.INFO: IMEI packet received {"connection_id":172540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":172540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:10:06] local.INFO: TCP Data received {"connection_id":172540,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:10:06] local.INFO: Processing buffer {"connection_id":172540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:10:06] local.INFO: IMEI packet received {"connection_id":172540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":172540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:10:07] local.INFO: TCP Data received {"connection_id":172540,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d807028012d297b0006c09830000a00822d..."} 
[2026-09-04 23:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d807028012d297b0006c09830000a00822d..."} 
[2026-09-04 23:10:07] local.INFO: Processing buffer {"connection_id":172540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d807028012d297b0006c09830000a00822d..."} 
[2026-09-04 23:10:07] local.INFO: Packet analysis {"connection_id":172540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d80"} 
[2026-09-04 23:10:07] local.INFO: Extracted packet for processing {"connection_id":172540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d80"} 
[2026-09-04 23:10:07] local.INFO: GPS Element Parsed {"raw_longitude":757693184,"raw_latitude":113285168,"longitude_deg":75.7693184,"latitude_deg":11.3285168,"altitude":10,"angle":130,"satellites":45,"speed":58,"hex_longitude":"2d297b00","hex_latitude":"06c09830","is_valid_coordinates":true} 
[2026-09-04 23:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867141888001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398923236831657984,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2981523719810160640,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788543529000,"timestamp_ms":1788543529000,"timestamp_seconds":1788543529,"priority":1,"record_length":96,"hex_timestamp":"000001a06d807028"} 
[2026-09-04 23:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 23:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867141888001,"66":27376,"33":206,"81":20992,"24":58,"16":398923236831657984,"45":2981523719810160640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,81,24,16,45]} 
[2026-09-04 23:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867141888001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:10:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-04 23:10:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398923236831657984,"km_value":398923236831658.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2981523719810160640,"description":"Unknown IO ID 45"} 
[2026-09-04 23:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867141888001,"power":27376,"unknown_33":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2981523719810160640}} 
[2026-09-04 23:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":172540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:10:07] local.INFO: GPS data processed {"connection_id":172540,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:10:07] local.INFO: Acknowledgment sent {"connection_id":172540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:10:08] local.INFO: TCP Data received {"connection_id":172540,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d808b80012d29994006c07d38000a00872c..."} 
[2026-09-04 23:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d808b80012d29994006c07d38000a00872c..."} 
[2026-09-04 23:10:08] local.INFO: Processing buffer {"connection_id":172540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d808b80012d29994006c07d38000a00872c..."} 
[2026-09-04 23:10:08] local.INFO: Packet analysis {"connection_id":172540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d80"} 
[2026-09-04 23:10:08] local.INFO: Extracted packet for processing {"connection_id":172540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d80"} 
[2026-09-04 23:10:08] local.INFO: GPS Element Parsed {"raw_longitude":757700928,"raw_latitude":113278264,"longitude_deg":75.7700928,"latitude_deg":11.3278264,"altitude":10,"angle":135,"satellites":44,"speed":58,"hex_longitude":"2d299940","hex_latitude":"06c07d38","is_valid_coordinates":true} 
[2026-09-04 23:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867143424001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398923739342831616,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2988982806691459072,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788543536000,"timestamp_ms":1788543536000,"timestamp_seconds":1788543536,"priority":1,"record_length":96,"hex_timestamp":"000001a06d808b80"} 
[2026-09-04 23:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 23:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867143424001,"66":27310,"32":206,"81":20992,"24":58,"16":398923739342831616,"45":2988982806691459072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-04 23:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867143424001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:10:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-04 23:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398923739342831616,"km_value":398923739342831.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2988982806691459072,"description":"Unknown IO ID 45"} 
[2026-09-04 23:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867143424001,"power":27310,"unknown_32":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2988982806691459072}} 
[2026-09-04 23:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":172540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:10:08] local.INFO: GPS data processed {"connection_id":172540,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:10:08] local.INFO: Acknowledgment sent {"connection_id":172540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:10:08] local.INFO: TCP Data received {"connection_id":171130,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:10:08] local.INFO: Processing buffer {"connection_id":171130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:10:08] local.INFO: Packet analysis {"connection_id":171130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:10:08] local.INFO: Extracted packet for processing {"connection_id":171130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867049216001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788543462000,"timestamp_ms":1788543462000,"timestamp_seconds":1788543462,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7f6a70"} 
[2026-09-04 23:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867049216001,"66":25278,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867049216001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:10:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:10:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867049216001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":171130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:10:08] local.INFO: GPS data processed {"connection_id":171130,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:10:08] local.INFO: Acknowledgment sent {"connection_id":171130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:10:45] local.INFO: TCP Data received {"connection_id":172540,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d80a2f0012d29b04006c062e0000a00902f..."} 
[2026-09-04 23:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d80a2f0012d29b04006c062e0000a00902f..."} 
[2026-09-04 23:10:45] local.INFO: Processing buffer {"connection_id":172540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d80a2f0012d29b04006c062e0000a00902f..."} 
[2026-09-04 23:10:45] local.INFO: Packet analysis {"connection_id":172540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d80"} 
[2026-09-04 23:10:45] local.INFO: Extracted packet for processing {"connection_id":172540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d80"} 
[2026-09-04 23:10:45] local.INFO: GPS Element Parsed {"raw_longitude":757706816,"raw_latitude":113271520,"longitude_deg":75.7706816,"latitude_deg":11.327152,"altitude":10,"angle":144,"satellites":47,"speed":59,"hex_longitude":"2d29b040","hex_latitude":"06c062e0","is_valid_coordinates":true} 
[2026-09-04 23:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867145216001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398924168839561216,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2997497424735188992,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788543542000,"timestamp_ms":1788543542000,"timestamp_seconds":1788543542,"priority":1,"record_length":96,"hex_timestamp":"000001a06d80a2f0"} 
[2026-09-04 23:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 23:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867145216001,"66":27332,"32":206,"81":20992,"24":59,"16":398924168839561216,"45":2997497424735188992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-04 23:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867145216001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:10:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-04 23:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398924168839561216,"km_value":398924168839561.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2997497424735188992,"description":"Unknown IO ID 45"} 
[2026-09-04 23:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867145216001,"power":27332,"unknown_32":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2997497424735188992}} 
[2026-09-04 23:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":172540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:10:45] local.INFO: GPS data processed {"connection_id":172540,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:10:45] local.INFO: Acknowledgment sent {"connection_id":172540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:10:48] local.INFO: TCP Data received {"connection_id":173822,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:10:48] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:10:48] local.INFO: IMEI packet received {"connection_id":173822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":173822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:10:53] local.INFO: TCP Data received {"connection_id":173822,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:10:53] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:10:53] local.INFO: IMEI packet received {"connection_id":173822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":173822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:10:54] local.INFO: TCP Data received {"connection_id":173822,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:10:54] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:10:54] local.INFO: Packet analysis {"connection_id":173822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:10:54] local.INFO: Extracted packet for processing {"connection_id":173822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867049216001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788543462000,"timestamp_ms":1788543462000,"timestamp_seconds":1788543462,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7f6a70"} 
[2026-09-04 23:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867049216001,"66":25278,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867049216001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:10:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:10:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867049216001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":173822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766060,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:10:54] local.INFO: GPS data processed {"connection_id":173822,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:10:54] local.INFO: Acknowledgment sent {"connection_id":173822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:10:58] local.INFO: TCP Data received {"connection_id":171131,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:10:58] local.INFO: Processing buffer {"connection_id":171131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:10:58] local.INFO: IMEI packet received {"connection_id":171131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":171131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:11:00] local.INFO: TCP Data received {"connection_id":171131,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:11:00] local.INFO: Processing buffer {"connection_id":171131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:11:00] local.INFO: IMEI packet received {"connection_id":171131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":171131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:11:01] local.INFO: TCP Data received {"connection_id":171131,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d80ba60012d29c3c006c045b8000900922f..."} 
[2026-09-04 23:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d80ba60012d29c3c006c045b8000900922f..."} 
[2026-09-04 23:11:01] local.INFO: Processing buffer {"connection_id":171131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d80ba60012d29c3c006c045b8000900922f..."} 
[2026-09-04 23:11:01] local.INFO: Packet analysis {"connection_id":171131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d80"} 
[2026-09-04 23:11:01] local.INFO: Extracted packet for processing {"connection_id":171131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d80"} 
[2026-09-04 23:11:01] local.INFO: GPS Element Parsed {"raw_longitude":757711808,"raw_latitude":113264056,"longitude_deg":75.7711808,"latitude_deg":11.3264056,"altitude":9,"angle":146,"satellites":47,"speed":59,"hex_longitude":"2d29c3c0","hex_latitude":"06c045b8","is_valid_coordinates":true} 
[2026-09-04 23:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867146752001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398924598336290816,"note":"Value kept but may cause issues"} 
[2026-09-04 23:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3003971349197807616,"note":"Value kept but may cause issues"} 
[2026-09-04 23:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788543548000,"timestamp_ms":1788543548000,"timestamp_seconds":1788543548,"priority":1,"record_length":96,"hex_timestamp":"000001a06d80ba60"} 
[2026-09-04 23:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 23:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867146752001,"66":27376,"32":206,"81":20992,"24":59,"16":398924598336290816,"45":3003971349197807616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-04 23:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867146752001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:11:01] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-04 23:11:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398924598336290816,"km_value":398924598336290.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3003971349197807616,"description":"Unknown IO ID 45"} 
[2026-09-04 23:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867146752001,"power":27376,"unknown_32":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3003971349197807616}} 
[2026-09-04 23:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":171131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:11:01] local.INFO: GPS data processed {"connection_id":171131,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:11:01] local.INFO: Acknowledgment sent {"connection_id":171131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:11:26] local.INFO: TCP Data received {"connection_id":173822,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:11:26] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:11:26] local.INFO: Packet analysis {"connection_id":173822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:11:26] local.INFO: Extracted packet for processing {"connection_id":173822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:11:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867049216001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788543462000,"timestamp_ms":1788543462000,"timestamp_seconds":1788543462,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7f6a70"} 
[2026-09-04 23:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867049216001,"66":25278,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867049216001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:11:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:11:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867049216001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":173822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766062,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:11:26] local.INFO: GPS data processed {"connection_id":173822,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:11:26] local.INFO: Acknowledgment sent {"connection_id":173822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:11:33] local.INFO: TCP Data received {"connection_id":171131,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d821220012d2af18006bebf48000b008c2a..."} 
[2026-09-04 23:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d821220012d2af18006bebf48000b008c2a..."} 
[2026-09-04 23:11:33] local.INFO: Processing buffer {"connection_id":171131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d821220012d2af18006bebf48000b008c2a..."} 
[2026-09-04 23:11:33] local.INFO: Packet analysis {"connection_id":171131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d82"} 
[2026-09-04 23:11:33] local.INFO: Extracted packet for processing {"connection_id":171131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d82"} 
[2026-09-04 23:11:33] local.INFO: GPS Element Parsed {"raw_longitude":757789056,"raw_latitude":113164104,"longitude_deg":75.7789056,"latitude_deg":11.3164104,"altitude":11,"angle":140,"satellites":42,"speed":51,"hex_longitude":"2d2af180","hex_latitude":"06bebf48","is_valid_coordinates":true} 
[2026-09-04 23:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867169024001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398930684304949248,"note":"Value kept but may cause issues"} 
[2026-09-04 23:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3088061998464409600,"note":"Value kept but may cause issues"} 
[2026-09-04 23:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788543636000,"timestamp_ms":1788543636000,"timestamp_seconds":1788543636,"priority":1,"record_length":96,"hex_timestamp":"000001a06d821220"} 
[2026-09-04 23:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 23:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867169024001,"66":27376,"125":206,"81":20992,"24":51,"16":398930684304949248,"45":3088061998464409600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-09-04 23:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867169024001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:11:33] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-09-04 23:11:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398930684304949248,"km_value":398930684304949.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3088061998464409600,"description":"Unknown IO ID 45"} 
[2026-09-04 23:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867169024001,"power":27376,"unknown_125":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":3088061998464409600}} 
[2026-09-04 23:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":171131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:11:33] local.INFO: GPS data processed {"connection_id":171131,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:11:33] local.INFO: Acknowledgment sent {"connection_id":171131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:11:48] local.INFO: TCP Data received {"connection_id":171132,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:11:48] local.INFO: Processing buffer {"connection_id":171132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:11:48] local.INFO: IMEI packet received {"connection_id":171132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":171132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:11:53] local.INFO: TCP Data received {"connection_id":171132,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:11:53] local.INFO: Processing buffer {"connection_id":171132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:11:53] local.INFO: IMEI packet received {"connection_id":171132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":171132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:11:54] local.INFO: TCP Data received {"connection_id":171132,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:11:54] local.INFO: Processing buffer {"connection_id":171132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:11:54] local.INFO: Packet analysis {"connection_id":171132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:11:54] local.INFO: Extracted packet for processing {"connection_id":171132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867049216001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788543462000,"timestamp_ms":1788543462000,"timestamp_seconds":1788543462,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7f6a70"} 
[2026-09-04 23:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867049216001,"66":25278,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867049216001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:11:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:11:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867049216001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":171132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766064,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:11:54] local.INFO: GPS data processed {"connection_id":171132,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:11:54] local.INFO: Acknowledgment sent {"connection_id":171132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:12:08] local.INFO: TCP Data received {"connection_id":171133,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:12:08] local.INFO: Processing buffer {"connection_id":171133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:12:08] local.INFO: IMEI packet received {"connection_id":171133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":171133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:12:08] local.INFO: TCP Data received {"connection_id":171133,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:12:08] local.INFO: Processing buffer {"connection_id":171133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:12:08] local.INFO: IMEI packet received {"connection_id":171133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":171133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:12:13] local.INFO: TCP Data received {"connection_id":171133,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:12:13] local.INFO: Processing buffer {"connection_id":171133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:12:13] local.INFO: IMEI packet received {"connection_id":171133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":171133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:12:14] local.INFO: TCP Data received {"connection_id":171133,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d822d78012d2b084006bea200000b008e2c..."} 
[2026-09-04 23:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d822d78012d2b084006bea200000b008e2c..."} 
[2026-09-04 23:12:14] local.INFO: Processing buffer {"connection_id":171133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d822d78012d2b084006bea200000b008e2c..."} 
[2026-09-04 23:12:14] local.INFO: Packet analysis {"connection_id":171133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d82"} 
[2026-09-04 23:12:14] local.INFO: Extracted packet for processing {"connection_id":171133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d82"} 
[2026-09-04 23:12:14] local.INFO: GPS Element Parsed {"raw_longitude":757794880,"raw_latitude":113156608,"longitude_deg":75.779488,"latitude_deg":11.3156608,"altitude":11,"angle":142,"satellites":44,"speed":55,"hex_longitude":"2d2b0840","hex_latitude":"06bea200","is_valid_coordinates":true} 
[2026-09-04 23:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867170816001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398931143866449920,"note":"Value kept but may cause issues"} 
[2026-09-04 23:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3094395185438607360,"note":"Value kept but may cause issues"} 
[2026-09-04 23:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788543643000,"timestamp_ms":1788543643000,"timestamp_seconds":1788543643,"priority":1,"record_length":96,"hex_timestamp":"000001a06d822d78"} 
[2026-09-04 23:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 23:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867170816001,"66":27267,"125":206,"81":20992,"24":55,"16":398931143866449920,"45":3094395185438607360},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-09-04 23:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867170816001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:12:14] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-09-04 23:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398931143866449920,"km_value":398931143866449.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3094395185438607360,"description":"Unknown IO ID 45"} 
[2026-09-04 23:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867170816001,"power":27267,"unknown_125":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":3094395185438607360}} 
[2026-09-04 23:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":171133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:12:15] local.INFO: GPS data processed {"connection_id":171133,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:12:15] local.INFO: Acknowledgment sent {"connection_id":171133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:12:26] local.INFO: TCP Data received {"connection_id":171132,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:12:26] local.INFO: Processing buffer {"connection_id":171132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:12:26] local.INFO: Packet analysis {"connection_id":171132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:12:26] local.INFO: Extracted packet for processing {"connection_id":171132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:12:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867049216001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788543462000,"timestamp_ms":1788543462000,"timestamp_seconds":1788543462,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7f6a70"} 
[2026-09-04 23:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867049216001,"66":25278,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867049216001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:12:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:12:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867049216001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":171132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766066,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:12:26] local.INFO: GPS data processed {"connection_id":171132,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:12:26] local.INFO: Acknowledgment sent {"connection_id":171132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:12:48] local.INFO: TCP Data received {"connection_id":171431,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:12:48] local.INFO: Processing buffer {"connection_id":171431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:12:48] local.INFO: IMEI packet received {"connection_id":171431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":171431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:12:53] local.INFO: TCP Data received {"connection_id":171431,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:12:53] local.INFO: Processing buffer {"connection_id":171431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:12:53] local.INFO: IMEI packet received {"connection_id":171431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":171431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:12:55] local.INFO: TCP Data received {"connection_id":171431,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:12:55] local.INFO: Processing buffer {"connection_id":171431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d7f6a70012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:12:55] local.INFO: Packet analysis {"connection_id":171431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:12:55] local.INFO: Extracted packet for processing {"connection_id":171431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d7f"} 
[2026-09-04 23:12:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867049216001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788543462000,"timestamp_ms":1788543462000,"timestamp_seconds":1788543462,"priority":1,"record_length":96,"hex_timestamp":"000001a06d7f6a70"} 
[2026-09-04 23:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867049216001,"66":25278,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867049216001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:12:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:12:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867049216001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":171431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:12:56] local.INFO: GPS data processed {"connection_id":171431,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:12:56] local.INFO: Acknowledgment sent {"connection_id":171431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:13:13] local.INFO: TCP Data received {"connection_id":173823,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:13:13] local.INFO: Processing buffer {"connection_id":173823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:13:13] local.INFO: IMEI packet received {"connection_id":173823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":173823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:13:14] local.INFO: TCP Data received {"connection_id":173823,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:13:14] local.INFO: Processing buffer {"connection_id":173823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:13:14] local.INFO: IMEI packet received {"connection_id":173823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":173823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:13:18] local.INFO: TCP Data received {"connection_id":173823,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:13:18] local.INFO: Processing buffer {"connection_id":173823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:13:18] local.INFO: IMEI packet received {"connection_id":173823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":173823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:13:19] local.INFO: TCP Data received {"connection_id":173823,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d834e88012d2c174006bd63000014007f2b..."} 
[2026-09-04 23:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d834e88012d2c174006bd63000014007f2b..."} 
[2026-09-04 23:13:19] local.INFO: Processing buffer {"connection_id":173823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d834e88012d2c174006bd63000014007f2b..."} 
[2026-09-04 23:13:19] local.INFO: Packet analysis {"connection_id":173823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d83"} 
[2026-09-04 23:13:19] local.INFO: Extracted packet for processing {"connection_id":173823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d83"} 
[2026-09-04 23:13:19] local.INFO: GPS Element Parsed {"raw_longitude":757864256,"raw_latitude":113074944,"longitude_deg":75.7864256,"latitude_deg":11.3074944,"altitude":20,"angle":127,"satellites":43,"speed":55,"hex_longitude":"2d2c1740","hex_latitude":"06bd6300","is_valid_coordinates":true} 
[2026-09-04 23:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867189760001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398936306417139712,"note":"Value kept but may cause issues"} 
[2026-09-04 23:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3169267529222512640,"note":"Value kept but may cause issues"} 
[2026-09-04 23:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788543717000,"timestamp_ms":1788543717000,"timestamp_seconds":1788543717,"priority":1,"record_length":96,"hex_timestamp":"000001a06d834e88"} 
[2026-09-04 23:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 23:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867189760001,"66":27343,"20":206,"81":20992,"24":55,"16":398936306417139712,"45":3169267529222512640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,81,24,16,45]} 
[2026-09-04 23:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867189760001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:13:19] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-09-04 23:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398936306417139712,"km_value":398936306417139.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3169267529222512640,"description":"Unknown IO ID 45"} 
[2026-09-04 23:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867189760001,"power":27343,"unknown_20":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":3169267529222512640}} 
[2026-09-04 23:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":173823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:13:19] local.INFO: GPS data processed {"connection_id":173823,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:13:19] local.INFO: Acknowledgment sent {"connection_id":173823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:13:20] local.INFO: TCP Data received {"connection_id":173823,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d834e88012d2c174006bd63000014007f2b..."} 
[2026-09-04 23:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d834e88012d2c174006bd63000014007f2b..."} 
[2026-09-04 23:13:20] local.INFO: Processing buffer {"connection_id":173823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d834e88012d2c174006bd63000014007f2b..."} 
[2026-09-04 23:13:20] local.INFO: Packet analysis {"connection_id":173823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d83"} 
[2026-09-04 23:13:20] local.INFO: Extracted packet for processing {"connection_id":173823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d83"} 
[2026-09-04 23:13:20] local.INFO: GPS Element Parsed {"raw_longitude":757864256,"raw_latitude":113074944,"longitude_deg":75.7864256,"latitude_deg":11.3074944,"altitude":20,"angle":127,"satellites":43,"speed":55,"hex_longitude":"2d2c1740","hex_latitude":"06bd6300","is_valid_coordinates":true} 
[2026-09-04 23:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867191552001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398936306417139712,"note":"Value kept but may cause issues"} 
[2026-09-04 23:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3177078459824537600,"note":"Value kept but may cause issues"} 
[2026-09-04 23:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788543717000,"timestamp_ms":1788543717000,"timestamp_seconds":1788543717,"priority":1,"record_length":96,"hex_timestamp":"000001a06d834e88"} 
[2026-09-04 23:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 23:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867191552001,"66":27343,"20":206,"81":20992,"24":55,"16":398936306417139712,"45":3177078459824537600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,81,24,16,45]} 
[2026-09-04 23:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867191552001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:13:20] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-09-04 23:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398936306417139712,"km_value":398936306417139.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3177078459824537600,"description":"Unknown IO ID 45"} 
[2026-09-04 23:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867191552001,"power":27343,"unknown_20":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":3177078459824537600}} 
[2026-09-04 23:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":173823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:13:20] local.INFO: GPS data processed {"connection_id":173823,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:13:20] local.INFO: Acknowledgment sent {"connection_id":173823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:13:27] local.INFO: TCP Data received {"connection_id":171431,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:13:27] local.INFO: Processing buffer {"connection_id":171431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:13:27] local.INFO: Packet analysis {"connection_id":171431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:13:27] local.INFO: Extracted packet for processing {"connection_id":171431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:13:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867126272001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788543763000,"timestamp_ms":1788543763000,"timestamp_seconds":1788543763,"priority":1,"record_length":96,"hex_timestamp":"000001a06d840238"} 
[2026-09-04 23:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 23:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867126272001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867126272001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:13:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:13:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867126272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":171431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766070,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:13:27] local.INFO: GPS data processed {"connection_id":171431,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:13:27] local.INFO: Acknowledgment sent {"connection_id":171431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:13:53] local.INFO: TCP Data received {"connection_id":171432,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:13:53] local.INFO: Processing buffer {"connection_id":171432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:13:53] local.INFO: IMEI packet received {"connection_id":171432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":171432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:13:58] local.INFO: TCP Data received {"connection_id":171432,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:13:58] local.INFO: Processing buffer {"connection_id":171432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:13:58] local.INFO: IMEI packet received {"connection_id":171432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":171432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:13:59] local.INFO: TCP Data received {"connection_id":171432,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:13:59] local.INFO: Processing buffer {"connection_id":171432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:13:59] local.INFO: Packet analysis {"connection_id":171432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:13:59] local.INFO: Extracted packet for processing {"connection_id":171432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867126272001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788543763000,"timestamp_ms":1788543763000,"timestamp_seconds":1788543763,"priority":1,"record_length":96,"hex_timestamp":"000001a06d840238"} 
[2026-09-04 23:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 23:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867126272001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867126272001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:13:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867126272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":171432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766071,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:13:59] local.INFO: GPS data processed {"connection_id":171432,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:13:59] local.INFO: Acknowledgment sent {"connection_id":171432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:14:03] local.INFO: TCP Data received {"connection_id":171134,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:03] local.INFO: Processing buffer {"connection_id":171134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:03] local.INFO: IMEI packet received {"connection_id":171134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":171134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:14:04] local.INFO: TCP Data received {"connection_id":171432,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:14:04] local.INFO: Processing buffer {"connection_id":171432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:14:04] local.INFO: Packet analysis {"connection_id":171432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:14:04] local.INFO: Extracted packet for processing {"connection_id":171432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867126272001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788543763000,"timestamp_ms":1788543763000,"timestamp_seconds":1788543763,"priority":1,"record_length":96,"hex_timestamp":"000001a06d840238"} 
[2026-09-04 23:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 23:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867126272001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867126272001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:14:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:14:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867126272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":171432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:14:04] local.INFO: GPS data processed {"connection_id":171432,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:14:04] local.INFO: Acknowledgment sent {"connection_id":171432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:14:04] local.INFO: TCP Data received {"connection_id":171134,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:04] local.INFO: Processing buffer {"connection_id":171134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:04] local.INFO: IMEI packet received {"connection_id":171134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":171134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:14:08] local.INFO: TCP Data received {"connection_id":171134,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:08] local.INFO: Processing buffer {"connection_id":171134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:08] local.INFO: IMEI packet received {"connection_id":171134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":171134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:14:09] local.INFO: TCP Data received {"connection_id":171134,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d845c10012d2d2a8006bc41600014008e27..."} 
[2026-09-04 23:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d845c10012d2d2a8006bc41600014008e27..."} 
[2026-09-04 23:14:09] local.INFO: Processing buffer {"connection_id":171134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d845c10012d2d2a8006bc41600014008e27..."} 
[2026-09-04 23:14:09] local.INFO: Packet analysis {"connection_id":171134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:14:09] local.INFO: Extracted packet for processing {"connection_id":171134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:14:09] local.INFO: GPS Element Parsed {"raw_longitude":757934720,"raw_latitude":113000800,"longitude_deg":75.793472,"latitude_deg":11.30008,"altitude":20,"angle":142,"satellites":39,"speed":56,"hex_longitude":"2d2d2a80","hex_latitude":"06bc4160","is_valid_coordinates":true} 
[2026-09-04 23:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867207424001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398941232744628224,"note":"Value kept but may cause issues"} 
[2026-09-04 23:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3247658310217676800,"note":"Value kept but may cause issues"} 
[2026-09-04 23:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788543786000,"timestamp_ms":1788543786000,"timestamp_seconds":1788543786,"priority":1,"record_length":96,"hex_timestamp":"000001a06d845c10"} 
[2026-09-04 23:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 23:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867207424001,"66":27376,"79":206,"81":21760,"24":56,"16":398941232744628224,"45":3247658310217676800},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-04 23:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867207424001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:14:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 23:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-04 23:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398941232744628224,"km_value":398941232744628.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3247658310217676800,"description":"Unknown IO ID 45"} 
[2026-09-04 23:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867207424001,"power":27376,"unknown_79":206,"unknown_81":21760,"ignition":56,"odometer":null,"unknown_45":3247658310217676800}} 
[2026-09-04 23:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":171134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:14:09] local.INFO: GPS data processed {"connection_id":171134,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:14:09] local.INFO: Acknowledgment sent {"connection_id":171134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:14:40] local.INFO: TCP Data received {"connection_id":171134,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d847768012d2d434006bc21580013008d2a..."} 
[2026-09-04 23:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d847768012d2d434006bc21580013008d2a..."} 
[2026-09-04 23:14:40] local.INFO: Processing buffer {"connection_id":171134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d847768012d2d434006bc21580013008d2a..."} 
[2026-09-04 23:14:40] local.INFO: Packet analysis {"connection_id":171134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:14:40] local.INFO: Extracted packet for processing {"connection_id":171134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:14:40] local.INFO: GPS Element Parsed {"raw_longitude":757941056,"raw_latitude":112992600,"longitude_deg":75.7941056,"latitude_deg":11.29926,"altitude":19,"angle":141,"satellites":42,"speed":61,"hex_longitude":"2d2d4340","hex_latitude":"06bc2158","is_valid_coordinates":true} 
[2026-09-04 23:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867209216001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398941730960834560,"note":"Value kept but may cause issues"} 
[2026-09-04 23:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3254554447145164800,"note":"Value kept but may cause issues"} 
[2026-09-04 23:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788543793000,"timestamp_ms":1788543793000,"timestamp_seconds":1788543793,"priority":1,"record_length":96,"hex_timestamp":"000001a06d847768"} 
[2026-09-04 23:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 23:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867209216001,"66":27376,"79":206,"81":21760,"24":61,"16":398941730960834560,"45":3254554447145164800},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-04 23:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867209216001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:14:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-04 23:14:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-04 23:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398941730960834560,"km_value":398941730960834.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3254554447145164800,"description":"Unknown IO ID 45"} 
[2026-09-04 23:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867209216001,"power":27376,"unknown_79":206,"unknown_81":21760,"ignition":61,"odometer":null,"unknown_45":3254554447145164800}} 
[2026-09-04 23:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":171134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:14:40] local.INFO: GPS data processed {"connection_id":171134,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:14:40] local.INFO: Acknowledgment sent {"connection_id":171134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:14:48] local.INFO: TCP Data received {"connection_id":172541,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:14:48] local.INFO: Processing buffer {"connection_id":172541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:14:48] local.INFO: IMEI packet received {"connection_id":172541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":172541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:14:53] local.INFO: TCP Data received {"connection_id":172541,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:14:53] local.INFO: Processing buffer {"connection_id":172541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:14:53] local.INFO: IMEI packet received {"connection_id":172541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":172541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:14:54] local.INFO: TCP Data received {"connection_id":172541,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:14:54] local.INFO: Processing buffer {"connection_id":172541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:14:54] local.INFO: Packet analysis {"connection_id":172541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:14:54] local.INFO: Extracted packet for processing {"connection_id":172541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:14:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867126272001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788543763000,"timestamp_ms":1788543763000,"timestamp_seconds":1788543763,"priority":1,"record_length":96,"hex_timestamp":"000001a06d840238"} 
[2026-09-04 23:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 23:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867126272001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867126272001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:14:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:14:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867126272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":172541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766075,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:14:55] local.INFO: GPS data processed {"connection_id":172541,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:14:55] local.INFO: Acknowledgment sent {"connection_id":172541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:14:58] local.INFO: TCP Data received {"connection_id":171433,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:58] local.INFO: Processing buffer {"connection_id":171433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:58] local.INFO: IMEI packet received {"connection_id":171433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":171433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:14:59] local.INFO: TCP Data received {"connection_id":171433,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:59] local.INFO: Processing buffer {"connection_id":171433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:14:59] local.INFO: IMEI packet received {"connection_id":171433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":171433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:15:03] local.INFO: TCP Data received {"connection_id":171433,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:15:03] local.INFO: Processing buffer {"connection_id":171433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:15:03] local.INFO: IMEI packet received {"connection_id":171433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":171433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:15:04] local.INFO: TCP Data received {"connection_id":171433,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d848ed8012d2d5a0006bc06280012008a2c..."} 
[2026-09-04 23:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d848ed8012d2d5a0006bc06280012008a2c..."} 
[2026-09-04 23:15:04] local.INFO: Processing buffer {"connection_id":171433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d848ed8012d2d5a0006bc06280012008a2c..."} 
[2026-09-04 23:15:04] local.INFO: Packet analysis {"connection_id":171433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:15:04] local.INFO: Extracted packet for processing {"connection_id":171433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:15:04] local.INFO: GPS Element Parsed {"raw_longitude":757946880,"raw_latitude":112985640,"longitude_deg":75.794688,"latitude_deg":11.298564,"altitude":18,"angle":138,"satellites":44,"speed":59,"hex_longitude":"2d2d5a00","hex_latitude":"06bc0628","is_valid_coordinates":true} 
[2026-09-04 23:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867211008001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398942164752531456,"note":"Value kept but may cause issues"} 
[2026-09-04 23:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3261520952816654336,"note":"Value kept but may cause issues"} 
[2026-09-04 23:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788543799000,"timestamp_ms":1788543799000,"timestamp_seconds":1788543799,"priority":1,"record_length":96,"hex_timestamp":"000001a06d848ed8"} 
[2026-09-04 23:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 23:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867211008001,"66":27050,"18":206,"81":20992,"24":59,"16":398942164752531456,"45":3261520952816654336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-04 23:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867211008001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:15:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-04 23:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-04 23:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398942164752531456,"km_value":398942164752531.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3261520952816654336,"description":"Unknown IO ID 45"} 
[2026-09-04 23:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867211008001,"power":27050,"unknown_18":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3261520952816654336}} 
[2026-09-04 23:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":171433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:15:04] local.INFO: GPS data processed {"connection_id":171433,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:15:04] local.INFO: Acknowledgment sent {"connection_id":171433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:15:26] local.INFO: TCP Data received {"connection_id":172541,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:15:26] local.INFO: Processing buffer {"connection_id":172541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:15:26] local.INFO: Packet analysis {"connection_id":172541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:15:26] local.INFO: Extracted packet for processing {"connection_id":172541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:15:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867126272001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788543763000,"timestamp_ms":1788543763000,"timestamp_seconds":1788543763,"priority":1,"record_length":96,"hex_timestamp":"000001a06d840238"} 
[2026-09-04 23:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 23:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867126272001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867126272001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:15:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:15:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867126272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":172541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:15:26] local.INFO: GPS data processed {"connection_id":172541,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:15:26] local.INFO: Acknowledgment sent {"connection_id":172541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:15:35] local.INFO: TCP Data received {"connection_id":171433,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d85d310012d2e3f4006ba66a0001800992a..."} 
[2026-09-04 23:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d85d310012d2e3f4006ba66a0001800992a..."} 
[2026-09-04 23:15:35] local.INFO: Processing buffer {"connection_id":171433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d85d310012d2e3f4006ba66a0001800992a..."} 
[2026-09-04 23:15:35] local.INFO: Packet analysis {"connection_id":171433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d85"} 
[2026-09-04 23:15:35] local.INFO: Extracted packet for processing {"connection_id":171433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d85"} 
[2026-09-04 23:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758005568,"raw_latitude":112879264,"longitude_deg":75.8005568,"latitude_deg":11.2879264,"altitude":24,"angle":153,"satellites":42,"speed":53,"hex_longitude":"2d2e3f40","hex_latitude":"06ba66a0","is_valid_coordinates":true} 
[2026-09-04 23:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867232000001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398948074627530752,"note":"Value kept but may cause issues"} 
[2026-09-04 23:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3328019416037732352,"note":"Value kept but may cause issues"} 
[2026-09-04 23:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788543882000,"timestamp_ms":1788543882000,"timestamp_seconds":1788543882,"priority":1,"record_length":96,"hex_timestamp":"000001a06d85d310"} 
[2026-09-04 23:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 23:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867232000001,"66":27365,"230":206,"81":23552,"24":53,"16":398948074627530752,"45":3328019416037732352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-04 23:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867232000001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:15:35] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-04 23:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398948074627530752,"km_value":398948074627530.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3328019416037732352,"description":"Unknown IO ID 45"} 
[2026-09-04 23:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867232000001,"power":27365,"unknown_230":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3328019416037732352}} 
[2026-09-04 23:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":171433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:15:35] local.INFO: GPS data processed {"connection_id":171433,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:15:35] local.INFO: Acknowledgment sent {"connection_id":171433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:15:49] local.INFO: TCP Data received {"connection_id":171434,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:15:49] local.INFO: Processing buffer {"connection_id":171434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:15:49] local.INFO: IMEI packet received {"connection_id":171434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":171434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:15:53] local.INFO: TCP Data received {"connection_id":171434,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:15:53] local.INFO: Processing buffer {"connection_id":171434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:15:53] local.INFO: IMEI packet received {"connection_id":171434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":171434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:15:54] local.INFO: TCP Data received {"connection_id":171434,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:15:54] local.INFO: Processing buffer {"connection_id":171434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:15:54] local.INFO: Packet analysis {"connection_id":171434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:15:54] local.INFO: Extracted packet for processing {"connection_id":171434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867126272001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788543763000,"timestamp_ms":1788543763000,"timestamp_seconds":1788543763,"priority":1,"record_length":96,"hex_timestamp":"000001a06d840238"} 
[2026-09-04 23:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 23:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867126272001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867126272001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:15:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:15:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867126272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":171434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:15:54] local.INFO: GPS data processed {"connection_id":171434,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:15:54] local.INFO: Acknowledgment sent {"connection_id":171434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:15:58] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:15:58] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:15:58] local.INFO: IMEI packet received {"connection_id":173824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":173824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:16:02] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:16:02] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:16:02] local.INFO: IMEI packet received {"connection_id":173824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":173824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:16:03] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d85ee68012d2e500006ba4670001a009825..."} 
[2026-09-04 23:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d85ee68012d2e500006ba4670001a009825..."} 
[2026-09-04 23:16:03] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d85ee68012d2e500006ba4670001a009825..."} 
[2026-09-04 23:16:03] local.INFO: Packet analysis {"connection_id":173824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d85"} 
[2026-09-04 23:16:03] local.INFO: Extracted packet for processing {"connection_id":173824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d85"} 
[2026-09-04 23:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758009856,"raw_latitude":112871024,"longitude_deg":75.8009856,"latitude_deg":11.2871024,"altitude":26,"angle":152,"satellites":37,"speed":52,"hex_longitude":"2d2e5000","hex_latitude":"06ba4670","is_valid_coordinates":true} 
[2026-09-04 23:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867233792001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398948521304129536,"note":"Value kept but may cause issues"} 
[2026-09-04 23:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3332452646918725632,"note":"Value kept but may cause issues"} 
[2026-09-04 23:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788543889000,"timestamp_ms":1788543889000,"timestamp_seconds":1788543889,"priority":1,"record_length":96,"hex_timestamp":"000001a06d85ee68"} 
[2026-09-04 23:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 23:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867233792001,"66":27234,"230":206,"81":23552,"24":52,"16":398948521304129536,"45":3332452646918725632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-04 23:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867233792001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:16:03] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-04 23:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398948521304129536,"km_value":398948521304129.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3332452646918725632,"description":"Unknown IO ID 45"} 
[2026-09-04 23:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867233792001,"power":27234,"unknown_230":206,"unknown_81":23552,"ignition":52,"odometer":null,"unknown_45":3332452646918725632}} 
[2026-09-04 23:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":173824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:16:03] local.INFO: GPS data processed {"connection_id":173824,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:16:03] local.INFO: Acknowledgment sent {"connection_id":173824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:16:26] local.INFO: TCP Data received {"connection_id":171434,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:16:26] local.INFO: Processing buffer {"connection_id":171434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:16:26] local.INFO: Packet analysis {"connection_id":171434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:16:26] local.INFO: Extracted packet for processing {"connection_id":171434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:16:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867126272001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788543763000,"timestamp_ms":1788543763000,"timestamp_seconds":1788543763,"priority":1,"record_length":96,"hex_timestamp":"000001a06d840238"} 
[2026-09-04 23:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 23:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867126272001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867126272001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:16:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:16:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867126272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":171434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:16:26] local.INFO: GPS data processed {"connection_id":171434,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:16:26] local.INFO: Acknowledgment sent {"connection_id":171434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:16:34] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8609c0012d2e5d8006ba2540001c009e29..."} 
[2026-09-04 23:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8609c0012d2e5d8006ba2540001c009e29..."} 
[2026-09-04 23:16:34] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8609c0012d2e5d8006ba2540001c009e29..."} 
[2026-09-04 23:16:34] local.INFO: Packet analysis {"connection_id":173824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d86"} 
[2026-09-04 23:16:34] local.INFO: Extracted packet for processing {"connection_id":173824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d86"} 
[2026-09-04 23:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758013312,"raw_latitude":112862528,"longitude_deg":75.8013312,"latitude_deg":11.2862528,"altitude":28,"angle":158,"satellites":41,"speed":51,"hex_longitude":"2d2e5d80","hex_latitude":"06ba2540","is_valid_coordinates":true} 
[2026-09-04 23:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867235584001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398948967980728320,"note":"Value kept but may cause issues"} 
[2026-09-04 23:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3337167352776519680,"note":"Value kept but may cause issues"} 
[2026-09-04 23:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788543896000,"timestamp_ms":1788543896000,"timestamp_seconds":1788543896,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8609c0"} 
[2026-09-04 23:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 23:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867235584001,"66":27517,"230":206,"81":23552,"24":51,"16":398948967980728320,"45":3337167352776519680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-04 23:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867235584001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:16:34] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-04 23:16:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398948967980728320,"km_value":398948967980728.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3337167352776519680,"description":"Unknown IO ID 45"} 
[2026-09-04 23:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867235584001,"power":27517,"unknown_230":206,"unknown_81":23552,"ignition":51,"odometer":null,"unknown_45":3337167352776519680}} 
[2026-09-04 23:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":173824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:16:34] local.INFO: GPS data processed {"connection_id":173824,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:16:34] local.INFO: Acknowledgment sent {"connection_id":173824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:16:48] local.INFO: TCP Data received {"connection_id":171135,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:16:48] local.INFO: Processing buffer {"connection_id":171135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:16:48] local.INFO: IMEI packet received {"connection_id":171135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":171135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:16:53] local.INFO: TCP Data received {"connection_id":171135,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:16:53] local.INFO: Processing buffer {"connection_id":171135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:16:53] local.INFO: IMEI packet received {"connection_id":171135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":171135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:16:54] local.INFO: TCP Data received {"connection_id":171135,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:16:54] local.INFO: Processing buffer {"connection_id":171135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:16:54] local.INFO: Packet analysis {"connection_id":171135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:16:54] local.INFO: Extracted packet for processing {"connection_id":171135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:16:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867126272001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788543763000,"timestamp_ms":1788543763000,"timestamp_seconds":1788543763,"priority":1,"record_length":96,"hex_timestamp":"000001a06d840238"} 
[2026-09-04 23:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 23:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867126272001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867126272001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:16:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:16:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867126272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":171135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:16:54] local.INFO: GPS data processed {"connection_id":171135,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:16:54] local.INFO: Acknowledgment sent {"connection_id":171135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:16:58] local.INFO: TCP Data received {"connection_id":171435,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:16:58] local.INFO: Processing buffer {"connection_id":171435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:16:58] local.INFO: IMEI packet received {"connection_id":171435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":171435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:16:58] local.INFO: TCP Data received {"connection_id":171435,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:16:58] local.INFO: Processing buffer {"connection_id":171435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:16:58] local.INFO: IMEI packet received {"connection_id":171435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":171435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:17:03] local.INFO: TCP Data received {"connection_id":171435,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:17:03] local.INFO: Processing buffer {"connection_id":171435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:17:03] local.INFO: IMEI packet received {"connection_id":171435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":171435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:17:04] local.INFO: TCP Data received {"connection_id":171435,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d871b30012d2f20c006b8b758000a00942e..."} 
[2026-09-04 23:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d871b30012d2f20c006b8b758000a00942e..."} 
[2026-09-04 23:17:04] local.INFO: Processing buffer {"connection_id":171435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d871b30012d2f20c006b8b758000a00942e..."} 
[2026-09-04 23:17:04] local.INFO: Packet analysis {"connection_id":171435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d87"} 
[2026-09-04 23:17:04] local.INFO: Extracted packet for processing {"connection_id":171435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d87"} 
[2026-09-04 23:17:04] local.INFO: GPS Element Parsed {"raw_longitude":758063296,"raw_latitude":112768856,"longitude_deg":75.8063296,"latitude_deg":11.2768856,"altitude":10,"angle":148,"satellites":46,"speed":58,"hex_longitude":"2d2f20c0","hex_latitude":"06b8b758","is_valid_coordinates":true} 
[2026-09-04 23:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867253760001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398954100466647040,"note":"Value kept but may cause issues"} 
[2026-09-04 23:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3390717967071531008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788543966000,"timestamp_ms":1788543966000,"timestamp_seconds":1788543966,"priority":1,"record_length":96,"hex_timestamp":"000001a06d871b30"} 
[2026-09-04 23:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 23:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867253760001,"66":27332,"230":206,"81":23552,"24":58,"16":398954100466647040,"45":3390717967071531008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-04 23:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867253760001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:17:04] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-04 23:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398954100466647040,"km_value":398954100466647.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3390717967071531008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867253760001,"power":27332,"unknown_230":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3390717967071531008}} 
[2026-09-04 23:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":171435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:17:04] local.INFO: GPS data processed {"connection_id":171435,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:17:04] local.INFO: Acknowledgment sent {"connection_id":171435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:17:26] local.INFO: TCP Data received {"connection_id":171135,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:17:26] local.INFO: Processing buffer {"connection_id":171135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:17:26] local.INFO: Packet analysis {"connection_id":171135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:17:26] local.INFO: Extracted packet for processing {"connection_id":171135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:17:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867126272001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788543763000,"timestamp_ms":1788543763000,"timestamp_seconds":1788543763,"priority":1,"record_length":96,"hex_timestamp":"000001a06d840238"} 
[2026-09-04 23:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 23:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867126272001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867126272001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:17:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:17:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867126272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":171135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766085,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:17:26] local.INFO: GPS data processed {"connection_id":171135,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:17:26] local.INFO: Acknowledgment sent {"connection_id":171135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:17:35] local.INFO: TCP Data received {"connection_id":171435,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d873688012d2f350006b89648000b00952e..."} 
[2026-09-04 23:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d873688012d2f350006b89648000b00952e..."} 
[2026-09-04 23:17:35] local.INFO: Processing buffer {"connection_id":171435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d873688012d2f350006b89648000b00952e..."} 
[2026-09-04 23:17:35] local.INFO: Packet analysis {"connection_id":171435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d87"} 
[2026-09-04 23:17:35] local.INFO: Extracted packet for processing {"connection_id":171435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d87"} 
[2026-09-04 23:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758068480,"raw_latitude":112760392,"longitude_deg":75.806848,"latitude_deg":11.2760392,"altitude":11,"angle":149,"satellites":46,"speed":54,"hex_longitude":"2d2f3500","hex_latitude":"06b89648","is_valid_coordinates":true} 
[2026-09-04 23:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867255296001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398954581502984192,"note":"Value kept but may cause issues"} 
[2026-09-04 23:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3395925254138714112,"note":"Value kept but may cause issues"} 
[2026-09-04 23:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788543973000,"timestamp_ms":1788543973000,"timestamp_seconds":1788543973,"priority":1,"record_length":96,"hex_timestamp":"000001a06d873688"} 
[2026-09-04 23:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 23:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867255296001,"66":27343,"230":206,"81":23552,"24":54,"16":398954581502984192,"45":3395925254138714112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-04 23:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867255296001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:17:35] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-04 23:17:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398954581502984192,"km_value":398954581502984.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3395925254138714112,"description":"Unknown IO ID 45"} 
[2026-09-04 23:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867255296001,"power":27343,"unknown_230":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3395925254138714112}} 
[2026-09-04 23:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":171435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:17:35] local.INFO: GPS data processed {"connection_id":171435,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:17:35] local.INFO: Acknowledgment sent {"connection_id":171435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:17:48] local.INFO: TCP Data received {"connection_id":171436,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:17:48] local.INFO: Processing buffer {"connection_id":171436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:17:48] local.INFO: IMEI packet received {"connection_id":171436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":171436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:17:53] local.INFO: TCP Data received {"connection_id":171436,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:17:53] local.INFO: Processing buffer {"connection_id":171436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:17:53] local.INFO: IMEI packet received {"connection_id":171436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":171436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:17:54] local.INFO: TCP Data received {"connection_id":171436,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:17:54] local.INFO: Processing buffer {"connection_id":171436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d840238012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:17:54] local.INFO: Packet analysis {"connection_id":171436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:17:54] local.INFO: Extracted packet for processing {"connection_id":171436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d84"} 
[2026-09-04 23:17:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867126272001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788543763000,"timestamp_ms":1788543763000,"timestamp_seconds":1788543763,"priority":1,"record_length":96,"hex_timestamp":"000001a06d840238"} 
[2026-09-04 23:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 23:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867126272001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867126272001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:17:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:17:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867126272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":171436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766087,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:17:54] local.INFO: GPS data processed {"connection_id":171436,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:17:54] local.INFO: Acknowledgment sent {"connection_id":171436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:18:07] local.INFO: TCP Data received {"connection_id":172542,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:07] local.INFO: Processing buffer {"connection_id":172542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:07] local.INFO: IMEI packet received {"connection_id":172542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":172542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:18:08] local.INFO: TCP Data received {"connection_id":172542,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:08] local.INFO: Processing buffer {"connection_id":172542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:08] local.INFO: IMEI packet received {"connection_id":172542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":172542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:18:13] local.INFO: TCP Data received {"connection_id":172542,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:13] local.INFO: Processing buffer {"connection_id":172542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:13] local.INFO: IMEI packet received {"connection_id":172542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":172542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:18:14] local.INFO: TCP Data received {"connection_id":172542,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8751e0012d2f474006b87758000b00962e..."} 
[2026-09-04 23:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8751e0012d2f474006b87758000b00962e..."} 
[2026-09-04 23:18:14] local.INFO: Processing buffer {"connection_id":172542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8751e0012d2f474006b87758000b00962e..."} 
[2026-09-04 23:18:14] local.INFO: Packet analysis {"connection_id":172542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d87"} 
[2026-09-04 23:18:14] local.INFO: Extracted packet for processing {"connection_id":172542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d87"} 
[2026-09-04 23:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758073152,"raw_latitude":112752472,"longitude_deg":75.8073152,"latitude_deg":11.2752472,"altitude":11,"angle":150,"satellites":46,"speed":50,"hex_longitude":"2d2f4740","hex_latitude":"06b87758","is_valid_coordinates":true} 
[2026-09-04 23:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867257088001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398955023884615680,"note":"Value kept but may cause issues"} 
[2026-09-04 23:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3401625122414938112,"note":"Value kept but may cause issues"} 
[2026-09-04 23:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788543980000,"timestamp_ms":1788543980000,"timestamp_seconds":1788543980,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8751e0"} 
[2026-09-04 23:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 23:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867257088001,"66":27267,"230":206,"81":23552,"24":50,"16":398955023884615680,"45":3401625122414938112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-04 23:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867257088001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:18:14] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-04 23:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398955023884615680,"km_value":398955023884615.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3401625122414938112,"description":"Unknown IO ID 45"} 
[2026-09-04 23:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867257088001,"power":27267,"unknown_230":206,"unknown_81":23552,"ignition":50,"odometer":null,"unknown_45":3401625122414938112}} 
[2026-09-04 23:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":172542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:18:14] local.INFO: GPS data processed {"connection_id":172542,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:18:14] local.INFO: Acknowledgment sent {"connection_id":172542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:18:26] local.INFO: TCP Data received {"connection_id":171436,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:18:26] local.INFO: Processing buffer {"connection_id":171436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:18:26] local.INFO: Packet analysis {"connection_id":171436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d88"} 
[2026-09-04 23:18:26] local.INFO: Extracted packet for processing {"connection_id":171436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d88"} 
[2026-09-04 23:18:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867203328001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788544064000,"timestamp_ms":1788544064000,"timestamp_seconds":1788544064,"priority":1,"record_length":96,"hex_timestamp":"000001a06d889a00"} 
[2026-09-04 23:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867203328001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867203328001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:18:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:18:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867203328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":171436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:18:26] local.INFO: GPS data processed {"connection_id":171436,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:18:26] local.INFO: Acknowledgment sent {"connection_id":171436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:18:53] local.INFO: TCP Data received {"connection_id":171136,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:18:53] local.INFO: Processing buffer {"connection_id":171136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:18:53] local.INFO: IMEI packet received {"connection_id":171136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":171136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:18:57] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:57] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:57] local.INFO: IMEI packet received {"connection_id":173825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":173825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:18:58] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:58] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:18:58] local.INFO: IMEI packet received {"connection_id":173825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":173825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:18:58] local.INFO: TCP Data received {"connection_id":171136,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:18:58] local.INFO: Processing buffer {"connection_id":171136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:18:58] local.INFO: IMEI packet received {"connection_id":171136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":171136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:18:59] local.INFO: TCP Data received {"connection_id":171136,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:18:59] local.INFO: Processing buffer {"connection_id":171136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:18:59] local.INFO: Packet analysis {"connection_id":171136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d88"} 
[2026-09-04 23:18:59] local.INFO: Extracted packet for processing {"connection_id":171136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d88"} 
[2026-09-04 23:18:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867203328001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788544064000,"timestamp_ms":1788544064000,"timestamp_seconds":1788544064,"priority":1,"record_length":96,"hex_timestamp":"000001a06d889a00"} 
[2026-09-04 23:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867203328001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867203328001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:18:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:18:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867203328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":171136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:18:59] local.INFO: GPS data processed {"connection_id":171136,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:18:59] local.INFO: Acknowledgment sent {"connection_id":171136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:19:04] local.INFO: TCP Data received {"connection_id":171136,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:19:04] local.INFO: Processing buffer {"connection_id":171136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:19:04] local.INFO: Packet analysis {"connection_id":171136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d88"} 
[2026-09-04 23:19:04] local.INFO: Extracted packet for processing {"connection_id":171136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d88"} 
[2026-09-04 23:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867203328001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788544064000,"timestamp_ms":1788544064000,"timestamp_seconds":1788544064,"priority":1,"record_length":96,"hex_timestamp":"000001a06d889a00"} 
[2026-09-04 23:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867203328001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867203328001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:19:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867203328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":171136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766091,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:19:04] local.INFO: GPS data processed {"connection_id":171136,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:19:04] local.INFO: Acknowledgment sent {"connection_id":171136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:19:09] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:19:09] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:19:09] local.INFO: IMEI packet received {"connection_id":173825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":173825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:19:11] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d88ad88012d300b0006b6cca80013007b2d..."} 
[2026-09-04 23:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d88ad88012d300b0006b6cca80013007b2d..."} 
[2026-09-04 23:19:11] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d88ad88012d300b0006b6cca80013007b2d..."} 
[2026-09-04 23:19:11] local.INFO: Packet analysis {"connection_id":173825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d88"} 
[2026-09-04 23:19:11] local.INFO: Extracted packet for processing {"connection_id":173825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d88"} 
[2026-09-04 23:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758123264,"raw_latitude":112643240,"longitude_deg":75.8123264,"latitude_deg":11.264324,"altitude":19,"angle":123,"satellites":45,"speed":55,"hex_longitude":"2d300b00","hex_latitude":"06b6cca8","is_valid_coordinates":true} 
[2026-09-04 23:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867280128001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398960912284778496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3454894261728737280,"note":"Value kept but may cause issues"} 
[2026-09-04 23:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788544069000,"timestamp_ms":1788544069000,"timestamp_seconds":1788544069,"priority":1,"record_length":96,"hex_timestamp":"000001a06d88ad88"} 
[2026-09-04 23:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 23:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867280128001,"66":27321,"201":206,"81":23552,"24":55,"16":398960912284778496,"45":3454894261728737280},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-04 23:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867280128001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:19:11] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-04 23:19:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398960912284778496,"km_value":398960912284778.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3454894261728737280,"description":"Unknown IO ID 45"} 
[2026-09-04 23:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867280128001,"power":27321,"unknown_201":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3454894261728737280}} 
[2026-09-04 23:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":173825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:19:11] local.INFO: GPS data processed {"connection_id":173825,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:19:11] local.INFO: Acknowledgment sent {"connection_id":173825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:19:43] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d899018012d313d0006b654680017008d29..."} 
[2026-09-04 23:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d899018012d313d0006b654680017008d29..."} 
[2026-09-04 23:19:43] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d899018012d313d0006b654680017008d29..."} 
[2026-09-04 23:19:43] local.INFO: Packet analysis {"connection_id":173825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d89"} 
[2026-09-04 23:19:43] local.INFO: Extracted packet for processing {"connection_id":173825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d89"} 
[2026-09-04 23:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758201600,"raw_latitude":112612456,"longitude_deg":75.82016,"latitude_deg":11.2612456,"altitude":23,"angle":141,"satellites":41,"speed":54,"hex_longitude":"2d313d00","hex_latitude":"06b65468","is_valid_coordinates":true} 
[2026-09-04 23:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867294720001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:19:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398965018273513472,"note":"Value kept but may cause issues"} 
[2026-09-04 23:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3540603392129742848,"note":"Value kept but may cause issues"} 
[2026-09-04 23:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788544127000,"timestamp_ms":1788544127000,"timestamp_seconds":1788544127,"priority":1,"record_length":96,"hex_timestamp":"000001a06d899018"} 
[2026-09-04 23:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 23:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867294720001,"66":27343,"200":0,"81":23552,"24":54,"16":398965018273513472,"45":3540603392129742848},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867294720001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398965018273513472,"km_value":398965018273513.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3540603392129742848,"description":"Unknown IO ID 45"} 
[2026-09-04 23:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867294720001,"power":27343,"gsm_signal":0,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3540603392129742848}} 
[2026-09-04 23:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":173825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:19:43] local.INFO: GPS data processed {"connection_id":173825,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:19:43] local.INFO: Acknowledgment sent {"connection_id":173825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:19:48] local.INFO: TCP Data received {"connection_id":172543,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:19:48] local.INFO: Processing buffer {"connection_id":172543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:19:48] local.INFO: IMEI packet received {"connection_id":172543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":172543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:19:53] local.INFO: TCP Data received {"connection_id":172543,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:19:53] local.INFO: Processing buffer {"connection_id":172543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:19:53] local.INFO: IMEI packet received {"connection_id":172543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":172543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:19:54] local.INFO: TCP Data received {"connection_id":172543,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:19:54] local.INFO: Processing buffer {"connection_id":172543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:19:54] local.INFO: Packet analysis {"connection_id":172543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d88"} 
[2026-09-04 23:19:54] local.INFO: Extracted packet for processing {"connection_id":172543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d88"} 
[2026-09-04 23:19:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867203328001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788544064000,"timestamp_ms":1788544064000,"timestamp_seconds":1788544064,"priority":1,"record_length":96,"hex_timestamp":"000001a06d889a00"} 
[2026-09-04 23:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172543,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172543,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867203328001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867203328001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:19:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:19:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867203328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":172543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766094,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:19:54] local.INFO: GPS data processed {"connection_id":172543,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:19:54] local.INFO: Acknowledgment sent {"connection_id":172543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:20:03] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:20:03] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:20:03] local.INFO: IMEI packet received {"connection_id":173826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":173826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:20:06] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:20:06] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:20:06] local.INFO: IMEI packet received {"connection_id":173826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":173826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:20:08] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:20:08] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:20:08] local.INFO: IMEI packet received {"connection_id":173826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":173826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:20:11] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.106.6.25","data_length":1348,"data_hex":"000000000000030f8e0a000001a06d89ab70012d3151c006b635a0001800942c..."} 
[2026-09-04 23:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a06d89ab70012d3151c006b635a0001800942c..."} 
[2026-09-04 23:20:11] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a06d89ab70012d3151c006b635a0001800942c..."} 
[2026-09-04 23:20:11] local.INFO: Packet analysis {"connection_id":173826,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a06d89"} 
[2026-09-04 23:20:11] local.INFO: Extracted packet for processing {"connection_id":173826,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06d89"} 
[2026-09-04 23:20:11] local.INFO: GPS Element Parsed {"raw_longitude":758206912,"raw_latitude":112604576,"longitude_deg":75.8206912,"latitude_deg":11.2604576,"altitude":24,"angle":148,"satellites":44,"speed":54,"hex_longitude":"2d3151c0","hex_latitude":"06b635a0","is_valid_coordinates":true} 
[2026-09-04 23:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867296512001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398965477835014144,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3547992110266607616,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788544134000,"timestamp_ms":1788544134000,"timestamp_seconds":1788544134,"priority":1,"record_length":96,"hex_timestamp":"000001a06d89ab70"} 
[2026-09-04 23:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 23:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867296512001,"66":27245,"200":0,"81":23552,"24":54,"16":398965477835014144,"45":3547992110266607616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867296512001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:20:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398965477835014144,"km_value":398965477835014.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3547992110266607616,"description":"Unknown IO ID 45"} 
[2026-09-04 23:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867296512001,"power":27245,"gsm_signal":0,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3547992110266607616}} 
[2026-09-04 23:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":173826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:20:11] local.INFO: GPS data processed {"connection_id":173826,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:20:11] local.INFO: Acknowledgment sent {"connection_id":173826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:20:11] local.INFO: Packet analysis {"connection_id":173826,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06d89"} 
[2026-09-04 23:20:11] local.INFO: Incomplete packet, waiting for more data {"connection_id":173826,"needed":795,"available":553} 
[2026-09-04 23:20:12] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.106.6.25","data_length":242,"data_hex":"000000000001a06d893e10012d30ddc006b695e00012006b2c003a0000000a00..."} 
[2026-09-04 23:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":242,"packet_hex":"000000000001a06d893e10012d30ddc006b695e00012006b2c003a0000000a00..."} 
[2026-09-04 23:20:12] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d89c6c8012d31668006b614f0001800942a..."} 
[2026-09-04 23:20:12] local.INFO: Packet analysis {"connection_id":173826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d89"} 
[2026-09-04 23:20:12] local.INFO: Extracted packet for processing {"connection_id":173826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d89"} 
[2026-09-04 23:20:12] local.INFO: GPS Element Parsed {"raw_longitude":758212224,"raw_latitude":112596208,"longitude_deg":75.8212224,"latitude_deg":11.2596208,"altitude":24,"angle":148,"satellites":42,"speed":56,"hex_longitude":"2d316680","hex_latitude":"06b614f0","is_valid_coordinates":true} 
[2026-09-04 23:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867298304001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398965954576384000,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3553832716031336448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788544141000,"timestamp_ms":1788544141000,"timestamp_seconds":1788544141,"priority":1,"record_length":96,"hex_timestamp":"000001a06d89c6c8"} 
[2026-09-04 23:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 23:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867298304001,"66":27300,"170":206,"81":23552,"24":56,"16":398965954576384000,"45":3553832716031336448},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-04 23:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867298304001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:20:12] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-04 23:20:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398965954576384000,"km_value":398965954576384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3553832716031336448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867298304001,"power":27300,"unknown_170":206,"unknown_81":23552,"ignition":56,"odometer":null,"unknown_45":3553832716031336448}} 
[2026-09-04 23:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":173826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:20:12] local.INFO: GPS data processed {"connection_id":173826,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:20:12] local.INFO: Acknowledgment sent {"connection_id":173826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:20:14] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d89de38012d31788006b5f708001800942a..."} 
[2026-09-04 23:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d89de38012d31788006b5f708001800942a..."} 
[2026-09-04 23:20:14] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d89de38012d31788006b5f708001800942a..."} 
[2026-09-04 23:20:14] local.INFO: Packet analysis {"connection_id":173826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d89"} 
[2026-09-04 23:20:14] local.INFO: Extracted packet for processing {"connection_id":173826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d89"} 
[2026-09-04 23:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758216832,"raw_latitude":112588552,"longitude_deg":75.8216832,"latitude_deg":11.2588552,"altitude":24,"angle":148,"satellites":42,"speed":59,"hex_longitude":"2d317880","hex_latitude":"06b5f708","is_valid_coordinates":true} 
[2026-09-04 23:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867300096001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398966388368080896,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3559673321795940352,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788544147000,"timestamp_ms":1788544147000,"timestamp_seconds":1788544147,"priority":1,"record_length":96,"hex_timestamp":"000001a06d89de38"} 
[2026-09-04 23:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 23:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867300096001,"66":27245,"170":206,"81":23552,"24":59,"16":398966388368080896,"45":3559673321795940352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-04 23:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867300096001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:20:14] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-04 23:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398966388368080896,"km_value":398966388368080.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3559673321795940352,"description":"Unknown IO ID 45"} 
[2026-09-04 23:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867300096001,"power":27245,"unknown_170":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3559673321795940352}} 
[2026-09-04 23:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":173826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:20:14] local.INFO: GPS data processed {"connection_id":173826,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:20:14] local.INFO: Acknowledgment sent {"connection_id":173826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:20:26] local.INFO: TCP Data received {"connection_id":172543,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:20:26] local.INFO: Processing buffer {"connection_id":172543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d889a00012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:20:26] local.INFO: Packet analysis {"connection_id":172543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d88"} 
[2026-09-04 23:20:26] local.INFO: Extracted packet for processing {"connection_id":172543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d88"} 
[2026-09-04 23:20:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867203328001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788544064000,"timestamp_ms":1788544064000,"timestamp_seconds":1788544064,"priority":1,"record_length":96,"hex_timestamp":"000001a06d889a00"} 
[2026-09-04 23:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172543,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172543,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867203328001,"66":25321,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867203328001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:20:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:20:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867203328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":172543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766098,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:20:26] local.INFO: GPS data processed {"connection_id":172543,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:20:26] local.INFO: Acknowledgment sent {"connection_id":172543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:20:48] local.INFO: TCP Data received {"connection_id":173827,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:20:48] local.INFO: Processing buffer {"connection_id":173827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:20:48] local.INFO: IMEI packet received {"connection_id":173827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":173827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:20:53] local.INFO: TCP Data received {"connection_id":173827,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:20:53] local.INFO: Processing buffer {"connection_id":173827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:20:53] local.INFO: IMEI packet received {"connection_id":173827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":173827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:20:55] local.INFO: TCP Data received {"connection_id":173827,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8a95d0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8a95d0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:20:55] local.INFO: Processing buffer {"connection_id":173827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8a95d0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:20:55] local.INFO: Packet analysis {"connection_id":173827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8a"} 
[2026-09-04 23:20:55] local.INFO: Extracted packet for processing {"connection_id":173827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8a"} 
[2026-09-04 23:20:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867280384001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788544194000,"timestamp_ms":1788544194000,"timestamp_seconds":1788544194,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8a95d0"} 
[2026-09-04 23:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-04 23:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867280384001,"66":25278,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867280384001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:20:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867280384001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":173827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:20:55] local.INFO: GPS data processed {"connection_id":173827,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:20:55] local.INFO: Acknowledgment sent {"connection_id":173827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:21:00] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:21:00] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:21:00] local.INFO: IMEI packet received {"connection_id":173828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":173828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:21:04] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:21:04] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:21:04] local.INFO: IMEI packet received {"connection_id":173828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":173828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:21:04] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 23:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 23:21:04] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 23:21:04] local.INFO: IMEI packet received {"connection_id":173828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":173828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:21:26] local.INFO: TCP Data received {"connection_id":173827,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8aebc0012d34c40006aa48080009010f28..."} 
[2026-09-04 23:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8aebc0012d34c40006aa48080009010f28..."} 
[2026-09-04 23:21:26] local.INFO: Processing buffer {"connection_id":173827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8aebc0012d34c40006aa48080009010f28..."} 
[2026-09-04 23:21:26] local.INFO: Packet analysis {"connection_id":173827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8a"} 
[2026-09-04 23:21:26] local.INFO: Extracted packet for processing {"connection_id":173827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8a"} 
[2026-09-04 23:21:26] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 23:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867313664001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788544216000,"timestamp_ms":1788544216000,"timestamp_seconds":1788544216,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8aebc0"} 
[2026-09-04 23:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-04 23:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867313664001,"66":27984,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867313664001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:21:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:21:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867313664001,"power":27984,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":173827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766100,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:21:26] local.INFO: GPS data processed {"connection_id":173827,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:21:26] local.INFO: Acknowledgment sent {"connection_id":173827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:21:48] local.INFO: TCP Data received {"connection_id":171137,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:21:48] local.INFO: Processing buffer {"connection_id":171137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:21:48] local.INFO: IMEI packet received {"connection_id":171137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":171137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:21:53] local.INFO: TCP Data received {"connection_id":171137,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:21:53] local.INFO: Processing buffer {"connection_id":171137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:21:53] local.INFO: IMEI packet received {"connection_id":171137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":171137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:21:55] local.INFO: TCP Data received {"connection_id":171137,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8b3dc8012d34c40006aa48080009010f28..."} 
[2026-09-04 23:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8b3dc8012d34c40006aa48080009010f28..."} 
[2026-09-04 23:21:55] local.INFO: Processing buffer {"connection_id":171137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8b3dc8012d34c40006aa48080009010f28..."} 
[2026-09-04 23:21:55] local.INFO: Packet analysis {"connection_id":171137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8b"} 
[2026-09-04 23:21:55] local.INFO: Extracted packet for processing {"connection_id":171137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8b"} 
[2026-09-04 23:21:55] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 23:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867319296001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788544237000,"timestamp_ms":1788544237000,"timestamp_seconds":1788544237,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8b3dc8"} 
[2026-09-04 23:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-04 23:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867319296001,"66":28224,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867319296001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:21:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:21:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867319296001,"power":28224,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":171137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:21:55] local.INFO: GPS data processed {"connection_id":171137,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:21:55] local.INFO: Acknowledgment sent {"connection_id":171137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:22:26] local.INFO: TCP Data received {"connection_id":171137,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8b8fd0012d34c40006aa48080009010f28..."} 
[2026-09-04 23:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8b8fd0012d34c40006aa48080009010f28..."} 
[2026-09-04 23:22:26] local.INFO: Processing buffer {"connection_id":171137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8b8fd0012d34c40006aa48080009010f28..."} 
[2026-09-04 23:22:26] local.INFO: Packet analysis {"connection_id":171137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8b"} 
[2026-09-04 23:22:26] local.INFO: Extracted packet for processing {"connection_id":171137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8b"} 
[2026-09-04 23:22:26] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 23:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867324672001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788544258000,"timestamp_ms":1788544258000,"timestamp_seconds":1788544258,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8b8fd0"} 
[2026-09-04 23:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-04 23:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867324672001,"66":27974,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867324672001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:22:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:22:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867324672001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":171137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766102,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:22:26] local.INFO: GPS data processed {"connection_id":171137,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:22:26] local.INFO: Acknowledgment sent {"connection_id":171137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:22:53] local.INFO: TCP Data received {"connection_id":173829,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:22:53] local.INFO: Processing buffer {"connection_id":173829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:22:53] local.INFO: IMEI packet received {"connection_id":173829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":173829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:22:58] local.INFO: TCP Data received {"connection_id":173829,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:22:58] local.INFO: Processing buffer {"connection_id":173829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:22:58] local.INFO: IMEI packet received {"connection_id":173829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":173829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:22:59] local.INFO: TCP Data received {"connection_id":173829,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8be1d8012d34c40006aa48080009010f28..."} 
[2026-09-04 23:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8be1d8012d34c40006aa48080009010f28..."} 
[2026-09-04 23:22:59] local.INFO: Processing buffer {"connection_id":173829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8be1d8012d34c40006aa48080009010f28..."} 
[2026-09-04 23:22:59] local.INFO: Packet analysis {"connection_id":173829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8b"} 
[2026-09-04 23:22:59] local.INFO: Extracted packet for processing {"connection_id":173829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8b"} 
[2026-09-04 23:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 23:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867330048001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788544279000,"timestamp_ms":1788544279000,"timestamp_seconds":1788544279,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8be1d8"} 
[2026-09-04 23:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-04 23:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867330048001,"66":28028,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867330048001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:22:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867330048001,"power":28028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":173829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:22:59] local.INFO: GPS data processed {"connection_id":173829,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:22:59] local.INFO: Acknowledgment sent {"connection_id":173829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:23:04] local.INFO: TCP Data received {"connection_id":173829,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8c33e0012d34c40006aa48080009010f28..."} 
[2026-09-04 23:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8c33e0012d34c40006aa48080009010f28..."} 
[2026-09-04 23:23:04] local.INFO: Processing buffer {"connection_id":173829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8c33e0012d34c40006aa48080009010f28..."} 
[2026-09-04 23:23:04] local.INFO: Packet analysis {"connection_id":173829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:23:04] local.INFO: Extracted packet for processing {"connection_id":173829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 23:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867335424001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788544300000,"timestamp_ms":1788544300000,"timestamp_seconds":1788544300,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8c33e0"} 
[2026-09-04 23:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-04 23:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867335424001,"66":27908,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867335424001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:23:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:23:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867335424001,"power":27908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":173829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766104,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:23:04] local.INFO: GPS data processed {"connection_id":173829,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:23:04] local.INFO: Acknowledgment sent {"connection_id":173829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:23:48] local.INFO: TCP Data received {"connection_id":172545,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:23:48] local.INFO: Processing buffer {"connection_id":172545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:23:48] local.INFO: IMEI packet received {"connection_id":172545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":172545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:23:53] local.INFO: TCP Data received {"connection_id":172545,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:23:53] local.INFO: Processing buffer {"connection_id":172545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:23:53] local.INFO: IMEI packet received {"connection_id":172545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":172545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:23:55] local.INFO: TCP Data received {"connection_id":172545,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:23:55] local.INFO: Processing buffer {"connection_id":172545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:23:55] local.INFO: Packet analysis {"connection_id":172545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:23:55] local.INFO: Extracted packet for processing {"connection_id":172545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 23:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867340800001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788544303000,"timestamp_ms":1788544303000,"timestamp_seconds":1788544303,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8c3f98"} 
[2026-09-04 23:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 23:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867340800001,"66":28224,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867340800001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:23:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867340800001,"power":28224,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":172545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766105,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:23:55] local.INFO: GPS data processed {"connection_id":172545,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:23:55] local.INFO: Acknowledgment sent {"connection_id":172545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:24:26] local.INFO: TCP Data received {"connection_id":172545,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:24:26] local.INFO: Processing buffer {"connection_id":172545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:24:26] local.INFO: Packet analysis {"connection_id":172545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:24:26] local.INFO: Extracted packet for processing {"connection_id":172545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:24:26] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 23:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867340800001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788544303000,"timestamp_ms":1788544303000,"timestamp_seconds":1788544303,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8c3f98"} 
[2026-09-04 23:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 23:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867340800001,"66":28224,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867340800001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:24:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:24:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867340800001,"power":28224,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":172545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766106,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:24:26] local.INFO: GPS data processed {"connection_id":172545,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:24:26] local.INFO: Acknowledgment sent {"connection_id":172545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:24:48] local.INFO: TCP Data received {"connection_id":173830,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:24:48] local.INFO: Processing buffer {"connection_id":173830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:24:48] local.INFO: IMEI packet received {"connection_id":173830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":173830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:24:53] local.INFO: TCP Data received {"connection_id":173830,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:24:53] local.INFO: Processing buffer {"connection_id":173830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:24:53] local.INFO: IMEI packet received {"connection_id":173830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":173830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:24:54] local.INFO: TCP Data received {"connection_id":173830,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:24:54] local.INFO: Processing buffer {"connection_id":173830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:24:54] local.INFO: Packet analysis {"connection_id":173830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:24:54] local.INFO: Extracted packet for processing {"connection_id":173830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 23:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867340800001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788544303000,"timestamp_ms":1788544303000,"timestamp_seconds":1788544303,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8c3f98"} 
[2026-09-04 23:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 23:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867340800001,"66":28224,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867340800001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:24:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:24:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867340800001,"power":28224,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":173830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766107,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:24:55] local.INFO: GPS data processed {"connection_id":173830,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:24:55] local.INFO: Acknowledgment sent {"connection_id":173830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:25:26] local.INFO: TCP Data received {"connection_id":173830,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:25:26] local.INFO: Processing buffer {"connection_id":173830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:25:26] local.INFO: Packet analysis {"connection_id":173830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:25:26] local.INFO: Extracted packet for processing {"connection_id":173830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:25:26] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 23:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867340800001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788544303000,"timestamp_ms":1788544303000,"timestamp_seconds":1788544303,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8c3f98"} 
[2026-09-04 23:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 23:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867340800001,"66":28224,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867340800001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:25:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:25:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867340800001,"power":28224,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":173830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:25:26] local.INFO: GPS data processed {"connection_id":173830,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:25:26] local.INFO: Acknowledgment sent {"connection_id":173830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:25:48] local.INFO: TCP Data received {"connection_id":172547,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:25:48] local.INFO: Processing buffer {"connection_id":172547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:25:48] local.INFO: IMEI packet received {"connection_id":172547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":172547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:25:54] local.INFO: TCP Data received {"connection_id":172547,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:25:54] local.INFO: Processing buffer {"connection_id":172547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:25:54] local.INFO: IMEI packet received {"connection_id":172547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":172547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:25:55] local.INFO: TCP Data received {"connection_id":172547,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:25:55] local.INFO: Processing buffer {"connection_id":172547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:25:55] local.INFO: Packet analysis {"connection_id":172547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:25:55] local.INFO: Extracted packet for processing {"connection_id":172547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:25:55] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 23:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867340800001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788544303000,"timestamp_ms":1788544303000,"timestamp_seconds":1788544303,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8c3f98"} 
[2026-09-04 23:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 23:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867340800001,"66":28224,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867340800001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:25:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:25:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867340800001,"power":28224,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":172547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:25:55] local.INFO: GPS data processed {"connection_id":172547,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:25:55] local.INFO: Acknowledgment sent {"connection_id":172547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:26:08] local.INFO: TCP Data received {"connection_id":171439,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:26:08] local.INFO: Processing buffer {"connection_id":171439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:26:08] local.INFO: IMEI packet received {"connection_id":171439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":171439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:26:09] local.INFO: TCP Data received {"connection_id":171439,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8d0ea0012d34120006b313e8000e00752a..."} 
[2026-09-04 23:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8d0ea0012d34120006b313e8000e00752a..."} 
[2026-09-04 23:26:09] local.INFO: Processing buffer {"connection_id":171439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8d0ea0012d34120006b313e8000e00752a..."} 
[2026-09-04 23:26:09] local.INFO: Packet analysis {"connection_id":171439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8d"} 
[2026-09-04 23:26:09] local.INFO: Extracted packet for processing {"connection_id":171439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8d"} 
[2026-09-04 23:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758387200,"raw_latitude":112399336,"longitude_deg":75.83872,"latitude_deg":11.2399336,"altitude":14,"angle":117,"satellites":42,"speed":0,"hex_longitude":"2d341200","hex_latitude":"06b313e8","is_valid_coordinates":true} 
[2026-09-04 23:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867349760001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398979556737810432,"note":"Value kept but may cause issues"} 
[2026-09-04 23:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3750020774746380288,"note":"Value kept but may cause issues"} 
[2026-09-04 23:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788544356000,"timestamp_ms":1788544356000,"timestamp_seconds":1788544356,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8d0ea0"} 
[2026-09-04 23:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-09-04 23:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2640,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867349760001,"66":27321,"223":206,"81":23552,"24":0,"16":398979556737810432,"45":3750020774746380288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,81,24,16,45]} 
[2026-09-04 23:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867349760001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:26:09] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-04 23:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398979556737810432,"km_value":398979556737810.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3750020774746380288,"description":"Unknown IO ID 45"} 
[2026-09-04 23:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867349760001,"power":27321,"unknown_223":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3750020774746380288}} 
[2026-09-04 23:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":171439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:26:09] local.INFO: GPS data processed {"connection_id":171439,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:26:09] local.INFO: Acknowledgment sent {"connection_id":171439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:26:27] local.INFO: TCP Data received {"connection_id":172547,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:26:27] local.INFO: Processing buffer {"connection_id":172547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:26:27] local.INFO: Packet analysis {"connection_id":172547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:26:27] local.INFO: Extracted packet for processing {"connection_id":172547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:26:27] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 23:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867340800001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788544303000,"timestamp_ms":1788544303000,"timestamp_seconds":1788544303,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8c3f98"} 
[2026-09-04 23:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 23:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867340800001,"66":28224,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867340800001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:26:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:26:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867340800001,"power":28224,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":172547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766111,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:26:27] local.INFO: GPS data processed {"connection_id":172547,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:26:27] local.INFO: Acknowledgment sent {"connection_id":172547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:26:40] local.INFO: TCP Data received {"connection_id":171439,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8fe148012d34ea4006b27c38000b007a2b..."} 
[2026-09-04 23:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8fe148012d34ea4006b27c38000b007a2b..."} 
[2026-09-04 23:26:40] local.INFO: Processing buffer {"connection_id":171439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8fe148012d34ea4006b27c38000b007a2b..."} 
[2026-09-04 23:26:40] local.INFO: Packet analysis {"connection_id":171439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8f"} 
[2026-09-04 23:26:40] local.INFO: Extracted packet for processing {"connection_id":171439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8f"} 
[2026-09-04 23:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758442560,"raw_latitude":112360504,"longitude_deg":75.844256,"latitude_deg":11.2360504,"altitude":11,"angle":122,"satellites":43,"speed":32,"hex_longitude":"2d34ea40","hex_latitude":"06b27c38","is_valid_coordinates":true} 
[2026-09-04 23:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867399936001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398982803733086208,"note":"Value kept but may cause issues"} 
[2026-09-04 23:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182730975232,"note":"Value kept but may cause issues"} 
[2026-09-04 23:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788544541000,"timestamp_ms":1788544541000,"timestamp_seconds":1788544541,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8fe148"} 
[2026-09-04 23:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-04 23:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867399936001,"66":27376,"224":206,"81":23552,"24":32,"16":398982803733086208,"45":3804486182730975232},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-04 23:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867399936001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:26:40] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 23:26:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398982803733086208,"km_value":398982803733086.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182730975232,"description":"Unknown IO ID 45"} 
[2026-09-04 23:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867399936001,"power":27376,"unknown_224":206,"unknown_81":23552,"ignition":32,"odometer":null,"unknown_45":3804486182730975232}} 
[2026-09-04 23:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":171439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:26:40] local.INFO: GPS data processed {"connection_id":171439,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:26:40] local.INFO: Acknowledgment sent {"connection_id":171439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:26:53] local.INFO: TCP Data received {"connection_id":172548,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:26:53] local.INFO: Processing buffer {"connection_id":172548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:26:53] local.INFO: IMEI packet received {"connection_id":172548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":172548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:26:58] local.INFO: TCP Data received {"connection_id":172548,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:26:58] local.INFO: Processing buffer {"connection_id":172548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:26:58] local.INFO: IMEI packet received {"connection_id":172548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":172548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:26:59] local.INFO: TCP Data received {"connection_id":172548,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:26:59] local.INFO: Processing buffer {"connection_id":172548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:26:59] local.INFO: Packet analysis {"connection_id":172548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:26:59] local.INFO: Extracted packet for processing {"connection_id":172548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 23:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867340800001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788544303000,"timestamp_ms":1788544303000,"timestamp_seconds":1788544303,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8c3f98"} 
[2026-09-04 23:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 23:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867340800001,"66":28224,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867340800001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:26:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867340800001,"power":28224,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":172548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766113,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:26:59] local.INFO: GPS data processed {"connection_id":172548,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:26:59] local.INFO: Acknowledgment sent {"connection_id":172548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:27:03] local.INFO: TCP Data received {"connection_id":171138,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:27:03] local.INFO: Processing buffer {"connection_id":171138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:27:03] local.INFO: IMEI packet received {"connection_id":171138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":171138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:27:04] local.INFO: TCP Data received {"connection_id":172548,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:27:04] local.INFO: Processing buffer {"connection_id":172548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d8c3f98012d34c40006aa48080009010f28..."} 
[2026-09-04 23:27:04] local.INFO: Packet analysis {"connection_id":172548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:27:04] local.INFO: Extracted packet for processing {"connection_id":172548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d8c"} 
[2026-09-04 23:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-09-04 23:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867340800001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788544303000,"timestamp_ms":1788544303000,"timestamp_seconds":1788544303,"priority":1,"record_length":96,"hex_timestamp":"000001a06d8c3f98"} 
[2026-09-04 23:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-04 23:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867340800001,"66":28224,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867340800001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:27:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:27:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867340800001,"power":28224,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":172548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766114,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:27:04] local.INFO: GPS data processed {"connection_id":172548,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:27:04] local.INFO: Acknowledgment sent {"connection_id":172548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:27:05] local.INFO: TCP Data received {"connection_id":171138,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:27:05] local.INFO: Processing buffer {"connection_id":171138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:27:05] local.INFO: IMEI packet received {"connection_id":171138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":171138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:27:10] local.INFO: TCP Data received {"connection_id":171138,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d900470012d34fd0006b27160000b006b2c..."} 
[2026-09-04 23:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d900470012d34fd0006b27160000b006b2c..."} 
[2026-09-04 23:27:10] local.INFO: Processing buffer {"connection_id":171138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d900470012d34fd0006b27160000b006b2c..."} 
[2026-09-04 23:27:10] local.INFO: Packet analysis {"connection_id":171138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:27:10] local.INFO: Extracted packet for processing {"connection_id":171138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758447360,"raw_latitude":112357728,"longitude_deg":75.844736,"latitude_deg":11.2357728,"altitude":11,"angle":107,"satellites":44,"speed":22,"hex_longitude":"2d34fd00","hex_latitude":"06b27160","is_valid_coordinates":true} 
[2026-09-04 23:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867402496001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398983070021058560,"note":"Value kept but may cause issues"} 
[2026-09-04 23:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3812930432031012864,"note":"Value kept but may cause issues"} 
[2026-09-04 23:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788544550000,"timestamp_ms":1788544550000,"timestamp_seconds":1788544550,"priority":1,"record_length":96,"hex_timestamp":"000001a06d900470"} 
[2026-09-04 23:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 23:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867402496001,"66":27365,"224":206,"81":23552,"24":22,"16":398983070021058560,"45":3812930432031012864},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-04 23:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867402496001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:27:10] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 23:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398983070021058560,"km_value":398983070021058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3812930432031012864,"description":"Unknown IO ID 45"} 
[2026-09-04 23:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867402496001,"power":27365,"unknown_224":206,"unknown_81":23552,"ignition":22,"odometer":null,"unknown_45":3812930432031012864}} 
[2026-09-04 23:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":171138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:27:10] local.INFO: GPS data processed {"connection_id":171138,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:27:10] local.INFO: Acknowledgment sent {"connection_id":171138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:27:23] local.INFO: TCP Data received {"connection_id":171138,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d901410012d35058006b26da8000b007c2c..."} 
[2026-09-04 23:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d901410012d35058006b26da8000b007c2c..."} 
[2026-09-04 23:27:23] local.INFO: Processing buffer {"connection_id":171138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d901410012d35058006b26da8000b007c2c..."} 
[2026-09-04 23:27:23] local.INFO: Packet analysis {"connection_id":171138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:27:23] local.INFO: Extracted packet for processing {"connection_id":171138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:27:23] local.INFO: GPS Element Parsed {"raw_longitude":758449536,"raw_latitude":112356776,"longitude_deg":75.8449536,"latitude_deg":11.2356776,"altitude":11,"angle":124,"satellites":44,"speed":25,"hex_longitude":"2d350580","hex_latitude":"06b26da8","is_valid_coordinates":true} 
[2026-09-04 23:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867404800001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398983181690208256,"note":"Value kept but may cause issues"} 
[2026-09-04 23:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3818208087843627008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788544554000,"timestamp_ms":1788544554000,"timestamp_seconds":1788544554,"priority":1,"record_length":96,"hex_timestamp":"000001a06d901410"} 
[2026-09-04 23:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 23:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867404800001,"66":27343,"224":206,"81":23552,"24":25,"16":398983181690208256,"45":3818208087843627008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-04 23:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867404800001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:27:23] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 23:27:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398983181690208256,"km_value":398983181690208.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3818208087843627008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867404800001,"power":27343,"unknown_224":206,"unknown_81":23552,"ignition":25,"odometer":null,"unknown_45":3818208087843627008}} 
[2026-09-04 23:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":171138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:27:23] local.INFO: GPS data processed {"connection_id":171138,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:27:23] local.INFO: Acknowledgment sent {"connection_id":171138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:27:48] local.INFO: TCP Data received {"connection_id":173831,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:27:48] local.INFO: Processing buffer {"connection_id":173831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:27:48] local.INFO: IMEI packet received {"connection_id":173831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":173831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:27:53] local.INFO: TCP Data received {"connection_id":173831,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:27:53] local.INFO: Processing buffer {"connection_id":173831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:27:53] local.INFO: IMEI packet received {"connection_id":173831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":173831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:27:54] local.INFO: TCP Data received {"connection_id":173831,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:27:54] local.INFO: Processing buffer {"connection_id":173831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:27:54] local.INFO: Packet analysis {"connection_id":173831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:27:54] local.INFO: Extracted packet for processing {"connection_id":173831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:27:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867341568001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788544606000,"timestamp_ms":1788544606000,"timestamp_seconds":1788544606,"priority":1,"record_length":96,"hex_timestamp":"000001a06d90df30"} 
[2026-09-04 23:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-04 23:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867341568001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867341568001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:27:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:27:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867341568001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":173831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766117,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:27:54] local.INFO: GPS data processed {"connection_id":173831,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:27:54] local.INFO: Acknowledgment sent {"connection_id":173831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:27:58] local.INFO: TCP Data received {"connection_id":171139,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:27:58] local.INFO: Processing buffer {"connection_id":171139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:27:58] local.INFO: IMEI packet received {"connection_id":171139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":171139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:28:01] local.INFO: TCP Data received {"connection_id":171139,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:28:01] local.INFO: Processing buffer {"connection_id":171139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:28:01] local.INFO: IMEI packet received {"connection_id":171139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":171139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:28:02] local.INFO: TCP Data received {"connection_id":171139,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d903f08012d35254006b25b18000a007929..."} 
[2026-09-04 23:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d903f08012d35254006b25b18000a007929..."} 
[2026-09-04 23:28:02] local.INFO: Processing buffer {"connection_id":171139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d903f08012d35254006b25b18000a007929..."} 
[2026-09-04 23:28:02] local.INFO: Packet analysis {"connection_id":171139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:28:02] local.INFO: Extracted packet for processing {"connection_id":171139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758457664,"raw_latitude":112352024,"longitude_deg":75.8457664,"latitude_deg":11.2352024,"altitude":10,"angle":121,"satellites":41,"speed":41,"hex_longitude":"2d352540","hex_latitude":"06b25b18","is_valid_coordinates":true} 
[2026-09-04 23:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867405824001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398983632661774336,"note":"Value kept but may cause issues"} 
[2026-09-04 23:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3820600625145423872,"note":"Value kept but may cause issues"} 
[2026-09-04 23:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788544565000,"timestamp_ms":1788544565000,"timestamp_seconds":1788544565,"priority":1,"record_length":96,"hex_timestamp":"000001a06d903f08"} 
[2026-09-04 23:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 23:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867405824001,"66":27365,"224":206,"81":23552,"24":41,"16":398983632661774336,"45":3820600625145423872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-04 23:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867405824001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:28:02] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-04 23:28:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398983632661774336,"km_value":398983632661774.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3820600625145423872,"description":"Unknown IO ID 45"} 
[2026-09-04 23:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867405824001,"power":27365,"unknown_224":206,"unknown_81":23552,"ignition":41,"odometer":null,"unknown_45":3820600625145423872}} 
[2026-09-04 23:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":171139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:28:02] local.INFO: GPS data processed {"connection_id":171139,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:28:02] local.INFO: Acknowledgment sent {"connection_id":171139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:28:26] local.INFO: TCP Data received {"connection_id":173831,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:28:26] local.INFO: Processing buffer {"connection_id":173831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:28:26] local.INFO: Packet analysis {"connection_id":173831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:28:26] local.INFO: Extracted packet for processing {"connection_id":173831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:28:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867341568001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788544606000,"timestamp_ms":1788544606000,"timestamp_seconds":1788544606,"priority":1,"record_length":96,"hex_timestamp":"000001a06d90df30"} 
[2026-09-04 23:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-04 23:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867341568001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867341568001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:28:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:28:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867341568001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":173831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:28:26] local.INFO: GPS data processed {"connection_id":173831,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:28:26] local.INFO: Acknowledgment sent {"connection_id":173831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:28:33] local.INFO: TCP Data received {"connection_id":171139,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d91b608012d365e8006b0ea380009009d2d..."} 
[2026-09-04 23:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d91b608012d365e8006b0ea380009009d2d..."} 
[2026-09-04 23:28:33] local.INFO: Processing buffer {"connection_id":171139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d91b608012d365e8006b0ea380009009d2d..."} 
[2026-09-04 23:28:33] local.INFO: Packet analysis {"connection_id":171139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d91"} 
[2026-09-04 23:28:33] local.INFO: Extracted packet for processing {"connection_id":171139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d91"} 
[2026-09-04 23:28:33] local.INFO: GPS Element Parsed {"raw_longitude":758537856,"raw_latitude":112257592,"longitude_deg":75.8537856,"latitude_deg":11.2257592,"altitude":9,"angle":157,"satellites":45,"speed":59,"hex_longitude":"2d365e80","hex_latitude":"06b0ea38","is_valid_coordinates":true} 
[2026-09-04 23:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867431680001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398989843184484352,"note":"Value kept but may cause issues"} 
[2026-09-04 23:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3913839211157538816,"note":"Value kept but may cause issues"} 
[2026-09-04 23:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788544661000,"timestamp_ms":1788544661000,"timestamp_seconds":1788544661,"priority":1,"record_length":96,"hex_timestamp":"000001a06d91b608"} 
[2026-09-04 23:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 23:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867431680001,"66":27300,"119":206,"81":23552,"24":59,"16":398989843184484352,"45":3913839211157538816},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,81,24,16,45]} 
[2026-09-04 23:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867431680001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:28:33] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 23:28:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398989843184484352,"km_value":398989843184484.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3913839211157538816,"description":"Unknown IO ID 45"} 
[2026-09-04 23:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867431680001,"power":27300,"unknown_119":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3913839211157538816}} 
[2026-09-04 23:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":171139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:28:33] local.INFO: GPS data processed {"connection_id":171139,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:28:33] local.INFO: Acknowledgment sent {"connection_id":171139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:28:48] local.INFO: TCP Data received {"connection_id":173832,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:28:48] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:28:48] local.INFO: IMEI packet received {"connection_id":173832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":173832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:28:53] local.INFO: TCP Data received {"connection_id":173832,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:28:53] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:28:53] local.INFO: IMEI packet received {"connection_id":173832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":173832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:28:54] local.INFO: TCP Data received {"connection_id":173832,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:28:54] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:28:54] local.INFO: Packet analysis {"connection_id":173832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:28:54] local.INFO: Extracted packet for processing {"connection_id":173832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:28:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867341568001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788544606000,"timestamp_ms":1788544606000,"timestamp_seconds":1788544606,"priority":1,"record_length":96,"hex_timestamp":"000001a06d90df30"} 
[2026-09-04 23:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-04 23:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867341568001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867341568001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:28:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:28:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867341568001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":173832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:28:54] local.INFO: GPS data processed {"connection_id":173832,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:28:54] local.INFO: Acknowledgment sent {"connection_id":173832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:28:58] local.INFO: TCP Data received {"connection_id":171440,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:28:58] local.INFO: Processing buffer {"connection_id":171440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:28:58] local.INFO: IMEI packet received {"connection_id":171440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":171440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:28:59] local.INFO: TCP Data received {"connection_id":171440,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:28:59] local.INFO: Processing buffer {"connection_id":171440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:28:59] local.INFO: IMEI packet received {"connection_id":171440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":171440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:29:03] local.INFO: TCP Data received {"connection_id":171440,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:29:03] local.INFO: Processing buffer {"connection_id":171440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:29:03] local.INFO: IMEI packet received {"connection_id":171440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":171440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:29:15] local.INFO: TCP Data received {"connection_id":171440,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d91cd78012d366c0006b0ca480009009c2c..."} 
[2026-09-04 23:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d91cd78012d366c0006b0ca480009009c2c..."} 
[2026-09-04 23:29:15] local.INFO: Processing buffer {"connection_id":171440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d91cd78012d366c0006b0ca480009009c2c..."} 
[2026-09-04 23:29:15] local.INFO: Packet analysis {"connection_id":171440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d91"} 
[2026-09-04 23:29:15] local.INFO: Extracted packet for processing {"connection_id":171440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d91"} 
[2026-09-04 23:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758541312,"raw_latitude":112249416,"longitude_deg":75.8541312,"latitude_deg":11.2249416,"altitude":9,"angle":156,"satellites":44,"speed":58,"hex_longitude":"2d366c00","hex_latitude":"06b0ca48","is_valid_coordinates":true} 
[2026-09-04 23:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867433216001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398990272681213952,"note":"Value kept but may cause issues"} 
[2026-09-04 23:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3917709492085209088,"note":"Value kept but may cause issues"} 
[2026-09-04 23:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788544667000,"timestamp_ms":1788544667000,"timestamp_seconds":1788544667,"priority":1,"record_length":96,"hex_timestamp":"000001a06d91cd78"} 
[2026-09-04 23:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 23:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867433216001,"66":27158,"119":206,"81":23552,"24":58,"16":398990272681213952,"45":3917709492085209088},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,81,24,16,45]} 
[2026-09-04 23:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867433216001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:29:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-04 23:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-04 23:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398990272681213952,"km_value":398990272681213.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3917709492085209088,"description":"Unknown IO ID 45"} 
[2026-09-04 23:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867433216001,"power":27158,"unknown_119":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3917709492085209088}} 
[2026-09-04 23:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":171440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:29:15] local.INFO: GPS data processed {"connection_id":171440,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:29:15] local.INFO: Acknowledgment sent {"connection_id":171440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:29:26] local.INFO: TCP Data received {"connection_id":173832,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:29:26] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:29:26] local.INFO: Packet analysis {"connection_id":173832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:29:26] local.INFO: Extracted packet for processing {"connection_id":173832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:29:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867341568001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788544606000,"timestamp_ms":1788544606000,"timestamp_seconds":1788544606,"priority":1,"record_length":96,"hex_timestamp":"000001a06d90df30"} 
[2026-09-04 23:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-04 23:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867341568001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867341568001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:29:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:29:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867341568001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":173832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:29:26] local.INFO: GPS data processed {"connection_id":173832,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:29:26] local.INFO: Acknowledgment sent {"connection_id":173832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:29:48] local.INFO: TCP Data received {"connection_id":171441,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:29:48] local.INFO: Processing buffer {"connection_id":171441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:29:48] local.INFO: IMEI packet received {"connection_id":171441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":171441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:29:53] local.INFO: TCP Data received {"connection_id":171441,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:29:53] local.INFO: Processing buffer {"connection_id":171441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:29:53] local.INFO: IMEI packet received {"connection_id":171441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":171441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:29:54] local.INFO: TCP Data received {"connection_id":171441,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:29:54] local.INFO: Processing buffer {"connection_id":171441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:29:54] local.INFO: Packet analysis {"connection_id":171441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:29:54] local.INFO: Extracted packet for processing {"connection_id":171441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867341568001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788544606000,"timestamp_ms":1788544606000,"timestamp_seconds":1788544606,"priority":1,"record_length":96,"hex_timestamp":"000001a06d90df30"} 
[2026-09-04 23:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-04 23:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867341568001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867341568001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:29:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:29:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867341568001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":171441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766124,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:29:54] local.INFO: GPS data processed {"connection_id":171441,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:29:54] local.INFO: Acknowledgment sent {"connection_id":171441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:29:58] local.INFO: TCP Data received {"connection_id":171140,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:29:58] local.INFO: Processing buffer {"connection_id":171140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:29:58] local.INFO: IMEI packet received {"connection_id":171140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":171140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:30:01] local.INFO: TCP Data received {"connection_id":171140,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:30:01] local.INFO: Processing buffer {"connection_id":171140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:30:01] local.INFO: IMEI packet received {"connection_id":171140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":171140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:30:03] local.INFO: TCP Data received {"connection_id":171140,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:30:03] local.INFO: Processing buffer {"connection_id":171140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:30:03] local.INFO: IMEI packet received {"connection_id":171140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":171140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:30:03] local.INFO: TCP Data received {"connection_id":171140,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d92f658012d37194006af48300011009a2b..."} 
[2026-09-04 23:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d92f658012d37194006af48300011009a2b..."} 
[2026-09-04 23:30:03] local.INFO: Processing buffer {"connection_id":171140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d92f658012d37194006af48300011009a2b..."} 
[2026-09-04 23:30:03] local.INFO: Packet analysis {"connection_id":171140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d92"} 
[2026-09-04 23:30:03] local.INFO: Extracted packet for processing {"connection_id":171140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d92"} 
[2026-09-04 23:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758585664,"raw_latitude":112150576,"longitude_deg":75.8585664,"latitude_deg":11.2150576,"altitude":17,"angle":154,"satellites":43,"speed":55,"hex_longitude":"2d371940","hex_latitude":"06af4830","is_valid_coordinates":true} 
[2026-09-04 23:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867452416001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398995508246347776,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3965771344333398016,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788544743000,"timestamp_ms":1788544743000,"timestamp_seconds":1788544743,"priority":1,"record_length":96,"hex_timestamp":"000001a06d92f658"} 
[2026-09-04 23:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 23:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867452416001,"66":27365,"6":206,"81":49664,"24":55,"16":398995508246347776,"45":3965771344333398016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-04 23:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867452416001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:30:03] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-04 23:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-04 23:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398995508246347776,"km_value":398995508246347.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3965771344333398016,"description":"Unknown IO ID 45"} 
[2026-09-04 23:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867452416001,"power":27365,"unknown_6":206,"unknown_81":49664,"ignition":55,"odometer":null,"unknown_45":3965771344333398016}} 
[2026-09-04 23:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":171140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:30:03] local.INFO: GPS data processed {"connection_id":171140,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:30:03] local.INFO: Acknowledgment sent {"connection_id":171140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:30:08] local.INFO: TCP Data received {"connection_id":171140,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9311b0012d372b4006af2610001000982c..."} 
[2026-09-04 23:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9311b0012d372b4006af2610001000982c..."} 
[2026-09-04 23:30:08] local.INFO: Processing buffer {"connection_id":171140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9311b0012d372b4006af2610001000982c..."} 
[2026-09-04 23:30:08] local.INFO: Packet analysis {"connection_id":171140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d93"} 
[2026-09-04 23:30:08] local.INFO: Extracted packet for processing {"connection_id":171140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d93"} 
[2026-09-04 23:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758590272,"raw_latitude":112141840,"longitude_deg":75.8590272,"latitude_deg":11.214184,"altitude":16,"angle":152,"satellites":44,"speed":56,"hex_longitude":"2d372b40","hex_latitude":"06af2610","is_valid_coordinates":true} 
[2026-09-04 23:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867454208001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398995984987717632,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3970274943958528000,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788544750000,"timestamp_ms":1788544750000,"timestamp_seconds":1788544750,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9311b0"} 
[2026-09-04 23:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 23:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867454208001,"66":27343,"6":206,"81":49664,"24":56,"16":398995984987717632,"45":3970274943958528000},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-04 23:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867454208001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:30:08] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-04 23:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-04 23:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398995984987717632,"km_value":398995984987717.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3970274943958528000,"description":"Unknown IO ID 45"} 
[2026-09-04 23:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867454208001,"power":27343,"unknown_6":206,"unknown_81":49664,"ignition":56,"odometer":null,"unknown_45":3970274943958528000}} 
[2026-09-04 23:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":171140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:30:08] local.INFO: GPS data processed {"connection_id":171140,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:30:08] local.INFO: Acknowledgment sent {"connection_id":171140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:30:26] local.INFO: TCP Data received {"connection_id":171441,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:30:26] local.INFO: Processing buffer {"connection_id":171441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:30:26] local.INFO: Packet analysis {"connection_id":171441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:30:26] local.INFO: Extracted packet for processing {"connection_id":171441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:30:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867341568001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788544606000,"timestamp_ms":1788544606000,"timestamp_seconds":1788544606,"priority":1,"record_length":96,"hex_timestamp":"000001a06d90df30"} 
[2026-09-04 23:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-04 23:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867341568001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867341568001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:30:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:30:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867341568001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":171441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:30:26] local.INFO: GPS data processed {"connection_id":171441,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:30:26] local.INFO: Acknowledgment sent {"connection_id":171441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:30:40] local.INFO: TCP Data received {"connection_id":171140,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d932d08012d373e8006af0358000e00952d..."} 
[2026-09-04 23:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d932d08012d373e8006af0358000e00952d..."} 
[2026-09-04 23:30:40] local.INFO: Processing buffer {"connection_id":171140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d932d08012d373e8006af0358000e00952d..."} 
[2026-09-04 23:30:40] local.INFO: Packet analysis {"connection_id":171140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d93"} 
[2026-09-04 23:30:40] local.INFO: Extracted packet for processing {"connection_id":171140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d93"} 
[2026-09-04 23:30:40] local.INFO: GPS Element Parsed {"raw_longitude":758595200,"raw_latitude":112132952,"longitude_deg":75.85952,"latitude_deg":11.2132952,"altitude":14,"angle":149,"satellites":45,"speed":58,"hex_longitude":"2d373e80","hex_latitude":"06af0358","is_valid_coordinates":true} 
[2026-09-04 23:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867456000001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398996474613989376,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3975341493537083392,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788544757000,"timestamp_ms":1788544757000,"timestamp_seconds":1788544757,"priority":1,"record_length":96,"hex_timestamp":"000001a06d932d08"} 
[2026-09-04 23:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 23:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867456000001,"66":27376,"6":206,"81":49664,"24":58,"16":398996474613989376,"45":3975341493537083392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-04 23:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867456000001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:30:40] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-04 23:30:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-04 23:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398996474613989376,"km_value":398996474613989.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3975341493537083392,"description":"Unknown IO ID 45"} 
[2026-09-04 23:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867456000001,"power":27376,"unknown_6":206,"unknown_81":49664,"ignition":58,"odometer":null,"unknown_45":3975341493537083392}} 
[2026-09-04 23:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":171140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:30:40] local.INFO: GPS data processed {"connection_id":171140,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:30:40] local.INFO: Acknowledgment sent {"connection_id":171140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:30:48] local.INFO: TCP Data received {"connection_id":173833,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:30:48] local.INFO: Processing buffer {"connection_id":173833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:30:48] local.INFO: IMEI packet received {"connection_id":173833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":173833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:30:53] local.INFO: TCP Data received {"connection_id":173833,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:30:53] local.INFO: Processing buffer {"connection_id":173833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:30:53] local.INFO: IMEI packet received {"connection_id":173833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":173833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:30:54] local.INFO: TCP Data received {"connection_id":173833,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:30:54] local.INFO: Processing buffer {"connection_id":173833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:30:54] local.INFO: Packet analysis {"connection_id":173833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:30:54] local.INFO: Extracted packet for processing {"connection_id":173833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:30:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867341568001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788544606000,"timestamp_ms":1788544606000,"timestamp_seconds":1788544606,"priority":1,"record_length":96,"hex_timestamp":"000001a06d90df30"} 
[2026-09-04 23:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-04 23:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867341568001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867341568001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:30:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:30:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867341568001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":173833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766129,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:30:54] local.INFO: GPS data processed {"connection_id":173833,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:30:54] local.INFO: Acknowledgment sent {"connection_id":173833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:31:03] local.INFO: TCP Data received {"connection_id":172549,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:31:03] local.INFO: Processing buffer {"connection_id":172549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:31:03] local.INFO: IMEI packet received {"connection_id":172549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":172549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:31:07] local.INFO: TCP Data received {"connection_id":172549,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:31:07] local.INFO: Processing buffer {"connection_id":172549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:31:07] local.INFO: IMEI packet received {"connection_id":172549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":172549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:31:08] local.INFO: TCP Data received {"connection_id":172549,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d934478012d37514006aee548000e00932d..."} 
[2026-09-04 23:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d934478012d37514006aee548000e00932d..."} 
[2026-09-04 23:31:08] local.INFO: Processing buffer {"connection_id":172549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d934478012d37514006aee548000e00932d..."} 
[2026-09-04 23:31:08] local.INFO: Packet analysis {"connection_id":172549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d93"} 
[2026-09-04 23:31:08] local.INFO: Extracted packet for processing {"connection_id":172549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d93"} 
[2026-09-04 23:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758600000,"raw_latitude":112125256,"longitude_deg":75.86,"latitude_deg":11.2125256,"altitude":14,"angle":147,"satellites":45,"speed":61,"hex_longitude":"2d375140","hex_latitude":"06aee548","is_valid_coordinates":true} 
[2026-09-04 23:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867457792001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":398996912700653568,"note":"Value kept but may cause issues"} 
[2026-09-04 23:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3980759886836488192,"note":"Value kept but may cause issues"} 
[2026-09-04 23:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788544763000,"timestamp_ms":1788544763000,"timestamp_seconds":1788544763,"priority":1,"record_length":96,"hex_timestamp":"000001a06d934478"} 
[2026-09-04 23:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 23:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867457792001,"66":27365,"6":206,"81":49664,"24":61,"16":398996912700653568,"45":3980759886836488192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-04 23:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867457792001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:31:08] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-04 23:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-04 23:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":398996912700653568,"km_value":398996912700653.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3980759886836488192,"description":"Unknown IO ID 45"} 
[2026-09-04 23:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867457792001,"power":27365,"unknown_6":206,"unknown_81":49664,"ignition":61,"odometer":null,"unknown_45":3980759886836488192}} 
[2026-09-04 23:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":172549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:31:08] local.INFO: GPS data processed {"connection_id":172549,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:31:08] local.INFO: Acknowledgment sent {"connection_id":172549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:31:26] local.INFO: TCP Data received {"connection_id":173833,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:31:26] local.INFO: Processing buffer {"connection_id":173833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:31:26] local.INFO: Packet analysis {"connection_id":173833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:31:26] local.INFO: Extracted packet for processing {"connection_id":173833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:31:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867341568001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788544606000,"timestamp_ms":1788544606000,"timestamp_seconds":1788544606,"priority":1,"record_length":96,"hex_timestamp":"000001a06d90df30"} 
[2026-09-04 23:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-04 23:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867341568001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867341568001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:31:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:31:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867341568001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":173833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:31:26] local.INFO: GPS data processed {"connection_id":173833,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:31:26] local.INFO: Acknowledgment sent {"connection_id":173833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:31:40] local.INFO: TCP Data received {"connection_id":172549,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d947910012d38254006ad9670000d00882d..."} 
[2026-09-04 23:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d947910012d38254006ad9670000d00882d..."} 
[2026-09-04 23:31:40] local.INFO: Processing buffer {"connection_id":172549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d947910012d38254006ad9670000d00882d..."} 
[2026-09-04 23:31:40] local.INFO: Packet analysis {"connection_id":172549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d94"} 
[2026-09-04 23:31:40] local.INFO: Extracted packet for processing {"connection_id":172549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d94"} 
[2026-09-04 23:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758654272,"raw_latitude":112039536,"longitude_deg":75.8654272,"latitude_deg":11.2039536,"altitude":13,"angle":136,"satellites":45,"speed":36,"hex_longitude":"2d382540","hex_latitude":"06ad9670","is_valid_coordinates":true} 
[2026-09-04 23:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867478272001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399001808963371008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4042402906713270272,"note":"Value kept but may cause issues"} 
[2026-09-04 23:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788544842000,"timestamp_ms":1788544842000,"timestamp_seconds":1788544842,"priority":1,"record_length":96,"hex_timestamp":"000001a06d947910"} 
[2026-09-04 23:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 23:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867478272001,"66":27463,"185":206,"81":49664,"24":36,"16":399001808963371008,"45":4042402906713270272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-09-04 23:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867478272001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:31:40] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-04 23:31:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-04 23:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399001808963371008,"km_value":399001808963371.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4042402906713270272,"description":"Unknown IO ID 45"} 
[2026-09-04 23:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867478272001,"power":27463,"unknown_185":206,"unknown_81":49664,"ignition":36,"odometer":null,"unknown_45":4042402906713270272}} 
[2026-09-04 23:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":172549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:31:40] local.INFO: GPS data processed {"connection_id":172549,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:31:40] local.INFO: Acknowledgment sent {"connection_id":172549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:31:55] local.INFO: TCP Data received {"connection_id":171141,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:31:55] local.INFO: Processing buffer {"connection_id":171141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:31:55] local.INFO: IMEI packet received {"connection_id":171141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":171141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:31:58] local.INFO: TCP Data received {"connection_id":171141,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:31:58] local.INFO: Processing buffer {"connection_id":171141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:31:58] local.INFO: IMEI packet received {"connection_id":171141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":171141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:31:58] local.INFO: TCP Data received {"connection_id":171142,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:31:58] local.INFO: Processing buffer {"connection_id":171142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:31:58] local.INFO: IMEI packet received {"connection_id":171142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":171142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:31:59] local.INFO: TCP Data received {"connection_id":171141,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:31:59] local.INFO: Processing buffer {"connection_id":171141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:31:59] local.INFO: Packet analysis {"connection_id":171141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:31:59] local.INFO: Extracted packet for processing {"connection_id":171141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867341568001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788544606000,"timestamp_ms":1788544606000,"timestamp_seconds":1788544606,"priority":1,"record_length":96,"hex_timestamp":"000001a06d90df30"} 
[2026-09-04 23:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-04 23:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867341568001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867341568001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:31:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:31:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867341568001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":171141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:31:59] local.INFO: GPS data processed {"connection_id":171141,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:31:59] local.INFO: Acknowledgment sent {"connection_id":171141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:32:04] local.INFO: TCP Data received {"connection_id":171141,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:32:04] local.INFO: Processing buffer {"connection_id":171141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d90df30012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:32:04] local.INFO: Packet analysis {"connection_id":171141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:32:04] local.INFO: Extracted packet for processing {"connection_id":171141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d90"} 
[2026-09-04 23:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867341568001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788544606000,"timestamp_ms":1788544606000,"timestamp_seconds":1788544606,"priority":1,"record_length":96,"hex_timestamp":"000001a06d90df30"} 
[2026-09-04 23:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-04 23:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867341568001,"66":26147,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802164014034192384},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867341568001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:32:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-09-04 23:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867341568001,"power":26147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-09-04 23:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":171141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766134,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:32:04] local.INFO: GPS data processed {"connection_id":171141,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:32:04] local.INFO: Acknowledgment sent {"connection_id":171141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:32:13] local.INFO: TCP Data received {"connection_id":171142,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 23:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171142,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 23:32:13] local.INFO: Processing buffer {"connection_id":171142,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-04 23:32:13] local.INFO: IMEI packet received {"connection_id":171142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":171142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:32:19] local.INFO: TCP Data received {"connection_id":171142,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d949080012d38334006ad8450000e00932d..."} 
[2026-09-04 23:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d949080012d38334006ad8450000e00932d..."} 
[2026-09-04 23:32:19] local.INFO: Processing buffer {"connection_id":171142,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06d..."} 
[2026-09-04 23:32:19] local.INFO: IMEI packet received {"connection_id":171142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":171142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:32:20] local.INFO: TCP Data received {"connection_id":171142,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d94b3a8012d3845c006ad62900010009b2e..."} 
[2026-09-04 23:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d94b3a8012d3845c006ad62900010009b2e..."} 
[2026-09-04 23:32:20] local.INFO: Processing buffer {"connection_id":171142,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06d949080012d38334006ad8450000e00932d..."} 
[2026-09-04 23:32:20] local.INFO: Packet analysis {"connection_id":171142,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06d94"} 
[2026-09-04 23:32:20] local.INFO: Extracted packet for processing {"connection_id":171142,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d94"} 
[2026-09-04 23:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758657856,"raw_latitude":112034896,"longitude_deg":75.8657856,"latitude_deg":11.2034896,"altitude":14,"angle":147,"satellites":45,"speed":40,"hex_longitude":"2d383340","hex_latitude":"06ad8450","is_valid_coordinates":true} 
[2026-09-04 23:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867479552001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399002092431212544,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4045710237688557568,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788544848000,"timestamp_ms":1788544848000,"timestamp_seconds":1788544848,"priority":1,"record_length":96,"hex_timestamp":"000001a06d949080"} 
[2026-09-04 23:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 23:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867479552001,"66":27463,"185":206,"81":49664,"24":40,"16":399002092431212544,"45":4045710237688557568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-09-04 23:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867479552001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:32:20] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-04 23:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-04 23:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399002092431212544,"km_value":399002092431212.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4045710237688557568,"description":"Unknown IO ID 45"} 
[2026-09-04 23:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867479552001,"power":27463,"unknown_185":206,"unknown_81":49664,"ignition":40,"odometer":null,"unknown_45":4045710237688557568}} 
[2026-09-04 23:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":171142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:32:20] local.INFO: GPS data processed {"connection_id":171142,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:32:20] local.INFO: Acknowledgment sent {"connection_id":171142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:32:20] local.INFO: Packet analysis {"connection_id":171142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d94"} 
[2026-09-04 23:32:20] local.INFO: Extracted packet for processing {"connection_id":171142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d94"} 
[2026-09-04 23:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758662592,"raw_latitude":112026256,"longitude_deg":75.8662592,"latitude_deg":11.2026256,"altitude":16,"angle":155,"satellites":46,"speed":44,"hex_longitude":"2d3845c0","hex_latitude":"06ad6290","is_valid_coordinates":true} 
[2026-09-04 23:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867481088001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399002569172582400,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4049650887361318912,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788544857000,"timestamp_ms":1788544857000,"timestamp_seconds":1788544857,"priority":1,"record_length":96,"hex_timestamp":"000001a06d94b3a8"} 
[2026-09-04 23:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 23:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867481088001,"66":27365,"185":206,"81":49664,"24":44,"16":399002569172582400,"45":4049650887361318912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-09-04 23:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867481088001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:32:20] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-04 23:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-04 23:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399002569172582400,"km_value":399002569172582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4049650887361318912,"description":"Unknown IO ID 45"} 
[2026-09-04 23:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867481088001,"power":27365,"unknown_185":206,"unknown_81":49664,"ignition":44,"odometer":null,"unknown_45":4049650887361318912}} 
[2026-09-04 23:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":171142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:32:20] local.INFO: GPS data processed {"connection_id":171142,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:32:20] local.INFO: Acknowledgment sent {"connection_id":171142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:32:21] local.INFO: TCP Data received {"connection_id":171142,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d94d2e8012d3851c006ad4120001200a22d..."} 
[2026-09-04 23:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d94d2e8012d3851c006ad4120001200a22d..."} 
[2026-09-04 23:32:21] local.INFO: Processing buffer {"connection_id":171142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d94d2e8012d3851c006ad4120001200a22d..."} 
[2026-09-04 23:32:21] local.INFO: Packet analysis {"connection_id":171142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d94"} 
[2026-09-04 23:32:21] local.INFO: Extracted packet for processing {"connection_id":171142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d94"} 
[2026-09-04 23:32:21] local.INFO: GPS Element Parsed {"raw_longitude":758665664,"raw_latitude":112017696,"longitude_deg":75.8665664,"latitude_deg":11.2017696,"altitude":18,"angle":162,"satellites":45,"speed":46,"hex_longitude":"2d3851c0","hex_latitude":"06ad4120","is_valid_coordinates":true} 
[2026-09-04 23:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867483392001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399003007259246592,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4054858174428254208,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788544865000,"timestamp_ms":1788544865000,"timestamp_seconds":1788544865,"priority":1,"record_length":96,"hex_timestamp":"000001a06d94d2e8"} 
[2026-09-04 23:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 23:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867483392001,"66":27376,"186":206,"81":49664,"24":46,"16":399003007259246592,"45":4054858174428254208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-04 23:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867483392001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:32:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-04 23:32:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-04 23:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399003007259246592,"km_value":399003007259246.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4054858174428254208,"description":"Unknown IO ID 45"} 
[2026-09-04 23:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867483392001,"power":27376,"unknown_186":206,"unknown_81":49664,"ignition":46,"odometer":null,"unknown_45":4054858174428254208}} 
[2026-09-04 23:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":171142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:32:21] local.INFO: GPS data processed {"connection_id":171142,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:32:21] local.INFO: Acknowledgment sent {"connection_id":171142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:32:48] local.INFO: TCP Data received {"connection_id":171143,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:32:48] local.INFO: Processing buffer {"connection_id":171143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:32:48] local.INFO: IMEI packet received {"connection_id":171143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":171143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:32:53] local.INFO: TCP Data received {"connection_id":171143,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:32:53] local.INFO: Processing buffer {"connection_id":171143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:32:53] local.INFO: IMEI packet received {"connection_id":171143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":171143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:32:54] local.INFO: TCP Data received {"connection_id":171143,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:32:54] local.INFO: Processing buffer {"connection_id":171143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:32:54] local.INFO: Packet analysis {"connection_id":171143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:32:54] local.INFO: Extracted packet for processing {"connection_id":171143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867419136001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788544907000,"timestamp_ms":1788544907000,"timestamp_seconds":1788544907,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9576f8"} 
[2026-09-04 23:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 23:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867419136001,"66":25919,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867419136001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:32:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:32:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867419136001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":171143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766138,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:32:54] local.INFO: GPS data processed {"connection_id":171143,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:32:54] local.INFO: Acknowledgment sent {"connection_id":171143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:32:58] local.INFO: TCP Data received {"connection_id":171442,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:32:58] local.INFO: Processing buffer {"connection_id":171442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:32:58] local.INFO: IMEI packet received {"connection_id":171442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":171442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:32:59] local.INFO: TCP Data received {"connection_id":171442,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:32:59] local.INFO: Processing buffer {"connection_id":171442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:32:59] local.INFO: IMEI packet received {"connection_id":171442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":171442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:33:03] local.INFO: TCP Data received {"connection_id":171442,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:33:03] local.INFO: Processing buffer {"connection_id":171442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:33:03] local.INFO: IMEI packet received {"connection_id":171442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":171442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:33:04] local.INFO: TCP Data received {"connection_id":171442,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06d94f228012d385bc006ad1cf0001200a52d..."} 
[2026-09-04 23:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d94f228012d385bc006ad1cf0001200a52d..."} 
[2026-09-04 23:33:04] local.INFO: Processing buffer {"connection_id":171442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d94f228012d385bc006ad1cf0001200a52d..."} 
[2026-09-04 23:33:04] local.INFO: Packet analysis {"connection_id":171442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d94"} 
[2026-09-04 23:33:04] local.INFO: Extracted packet for processing {"connection_id":171442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d94"} 
[2026-09-04 23:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758668224,"raw_latitude":112008432,"longitude_deg":75.8668224,"latitude_deg":11.2008432,"altitude":18,"angle":165,"satellites":45,"speed":49,"hex_longitude":"2d385bc0","hex_latitude":"06ad1cf0","is_valid_coordinates":true} 
[2026-09-04 23:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867485440001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399003475410681856,"note":"Value kept but may cause issues"} 
[2026-09-04 23:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4058235874146590720,"note":"Value kept but may cause issues"} 
[2026-09-04 23:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788544873000,"timestamp_ms":1788544873000,"timestamp_seconds":1788544873,"priority":1,"record_length":96,"hex_timestamp":"000001a06d94f228"} 
[2026-09-04 23:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 23:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867485440001,"66":27321,"186":206,"81":49664,"24":49,"16":399003475410681856,"45":4058235874146590720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-04 23:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867485440001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:33:04] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-04 23:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-04 23:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399003475410681856,"km_value":399003475410681.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4058235874146590720,"description":"Unknown IO ID 45"} 
[2026-09-04 23:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867485440001,"power":27321,"unknown_186":206,"unknown_81":49664,"ignition":49,"odometer":null,"unknown_45":4058235874146590720}} 
[2026-09-04 23:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":171442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:33:04] local.INFO: GPS data processed {"connection_id":171442,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:33:04] local.INFO: Acknowledgment sent {"connection_id":171442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:33:26] local.INFO: TCP Data received {"connection_id":171143,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:33:26] local.INFO: Processing buffer {"connection_id":171143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:33:26] local.INFO: Packet analysis {"connection_id":171143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:33:26] local.INFO: Extracted packet for processing {"connection_id":171143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:33:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867419136001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788544907000,"timestamp_ms":1788544907000,"timestamp_seconds":1788544907,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9576f8"} 
[2026-09-04 23:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 23:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867419136001,"66":25919,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867419136001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:33:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:33:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867419136001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":171143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:33:26] local.INFO: GPS data processed {"connection_id":171143,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:33:26] local.INFO: Acknowledgment sent {"connection_id":171143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:33:48] local.INFO: TCP Data received {"connection_id":171443,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:33:48] local.INFO: Processing buffer {"connection_id":171443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:33:48] local.INFO: IMEI packet received {"connection_id":171443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":171443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:33:53] local.INFO: TCP Data received {"connection_id":171443,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:33:53] local.INFO: Processing buffer {"connection_id":171443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:33:53] local.INFO: IMEI packet received {"connection_id":171443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":171443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:33:54] local.INFO: TCP Data received {"connection_id":171443,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:33:54] local.INFO: Processing buffer {"connection_id":171443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:33:54] local.INFO: Packet analysis {"connection_id":171443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:33:54] local.INFO: Extracted packet for processing {"connection_id":171443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:33:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867419136001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788544907000,"timestamp_ms":1788544907000,"timestamp_seconds":1788544907,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9576f8"} 
[2026-09-04 23:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 23:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867419136001,"66":25919,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867419136001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:33:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:33:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867419136001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":171443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766141,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:33:54] local.INFO: GPS data processed {"connection_id":171443,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:33:54] local.INFO: Acknowledgment sent {"connection_id":171443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:34:26] local.INFO: TCP Data received {"connection_id":171443,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:34:26] local.INFO: Processing buffer {"connection_id":171443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:34:26] local.INFO: Packet analysis {"connection_id":171443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:34:26] local.INFO: Extracted packet for processing {"connection_id":171443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:34:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867419136001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788544907000,"timestamp_ms":1788544907000,"timestamp_seconds":1788544907,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9576f8"} 
[2026-09-04 23:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 23:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867419136001,"66":25919,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867419136001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:34:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:34:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867419136001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":171443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766142,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:34:26] local.INFO: GPS data processed {"connection_id":171443,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:34:26] local.INFO: Acknowledgment sent {"connection_id":171443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:34:48] local.INFO: TCP Data received {"connection_id":171144,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:34:48] local.INFO: Processing buffer {"connection_id":171144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:34:48] local.INFO: IMEI packet received {"connection_id":171144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":171144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:34:53] local.INFO: TCP Data received {"connection_id":171144,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:34:53] local.INFO: Processing buffer {"connection_id":171144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:34:53] local.INFO: IMEI packet received {"connection_id":171144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":171144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:34:55] local.INFO: TCP Data received {"connection_id":171144,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:34:55] local.INFO: Processing buffer {"connection_id":171144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:34:55] local.INFO: Packet analysis {"connection_id":171144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:34:55] local.INFO: Extracted packet for processing {"connection_id":171144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:34:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867419136001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788544907000,"timestamp_ms":1788544907000,"timestamp_seconds":1788544907,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9576f8"} 
[2026-09-04 23:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 23:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867419136001,"66":25919,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867419136001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:34:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867419136001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":171144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766143,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:34:55] local.INFO: GPS data processed {"connection_id":171144,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:34:55] local.INFO: Acknowledgment sent {"connection_id":171144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:35:08] local.INFO: TCP Data received {"connection_id":171444,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:35:08] local.INFO: Processing buffer {"connection_id":171444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:35:08] local.INFO: IMEI packet received {"connection_id":171444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":171444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:35:13] local.INFO: TCP Data received {"connection_id":171444,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:35:13] local.INFO: Processing buffer {"connection_id":171444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:35:13] local.INFO: IMEI packet received {"connection_id":171444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":171444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:35:14] local.INFO: TCP Data received {"connection_id":171444,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d978650012d39444006a9c6f0000700a52d..."} 
[2026-09-04 23:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d978650012d39444006a9c6f0000700a52d..."} 
[2026-09-04 23:35:14] local.INFO: Processing buffer {"connection_id":171444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d978650012d39444006a9c6f0000700a52d..."} 
[2026-09-04 23:35:14] local.INFO: Packet analysis {"connection_id":171444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d97"} 
[2026-09-04 23:35:14] local.INFO: Extracted packet for processing {"connection_id":171444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d97"} 
[2026-09-04 23:35:14] local.INFO: GPS Element Parsed {"raw_longitude":758727744,"raw_latitude":111789808,"longitude_deg":75.8727744,"latitude_deg":11.1789808,"altitude":7,"angle":165,"satellites":45,"speed":34,"hex_longitude":"2d394440","hex_latitude":"06a9c6f0","is_valid_coordinates":true} 
[2026-09-04 23:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867527680001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399014449052123136,"note":"Value kept but may cause issues"} 
[2026-09-04 23:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4123819543664160768,"note":"Value kept but may cause issues"} 
[2026-09-04 23:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788545042000,"timestamp_ms":1788545042000,"timestamp_seconds":1788545042,"priority":1,"record_length":96,"hex_timestamp":"000001a06d978650"} 
[2026-09-04 23:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 23:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867527680001,"66":27397,"237":206,"81":49664,"24":34,"16":399014449052123136,"45":4123819543664160768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-09-04 23:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867527680001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:35:14] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-04 23:35:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-04 23:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399014449052123136,"km_value":399014449052123.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4123819543664160768,"description":"Unknown IO ID 45"} 
[2026-09-04 23:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867527680001,"power":27397,"unknown_237":206,"unknown_81":49664,"ignition":34,"odometer":null,"unknown_45":4123819543664160768}} 
[2026-09-04 23:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":171444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:35:14] local.INFO: GPS data processed {"connection_id":171444,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:35:14] local.INFO: Acknowledgment sent {"connection_id":171444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:35:26] local.INFO: TCP Data received {"connection_id":171144,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:35:26] local.INFO: Processing buffer {"connection_id":171144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:35:26] local.INFO: Packet analysis {"connection_id":171144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:35:26] local.INFO: Extracted packet for processing {"connection_id":171144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:35:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867419136001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788544907000,"timestamp_ms":1788544907000,"timestamp_seconds":1788544907,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9576f8"} 
[2026-09-04 23:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 23:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867419136001,"66":25919,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867419136001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:35:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:35:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867419136001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":171144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766145,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:35:26] local.INFO: GPS data processed {"connection_id":171144,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:35:26] local.INFO: Acknowledgment sent {"connection_id":171144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:35:48] local.INFO: TCP Data received {"connection_id":173834,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:35:48] local.INFO: Processing buffer {"connection_id":173834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:35:48] local.INFO: IMEI packet received {"connection_id":173834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":173834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:35:53] local.INFO: TCP Data received {"connection_id":173834,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:35:53] local.INFO: Processing buffer {"connection_id":173834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:35:53] local.INFO: IMEI packet received {"connection_id":173834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":173834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:35:54] local.INFO: TCP Data received {"connection_id":173834,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:35:54] local.INFO: Processing buffer {"connection_id":173834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:35:54] local.INFO: Packet analysis {"connection_id":173834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:35:54] local.INFO: Extracted packet for processing {"connection_id":173834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867419136001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788544907000,"timestamp_ms":1788544907000,"timestamp_seconds":1788544907,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9576f8"} 
[2026-09-04 23:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 23:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867419136001,"66":25919,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867419136001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:35:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:35:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867419136001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":173834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766146,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:35:54] local.INFO: GPS data processed {"connection_id":173834,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:35:54] local.INFO: Acknowledgment sent {"connection_id":173834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:35:58] local.INFO: TCP Data received {"connection_id":171145,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:35:58] local.INFO: Processing buffer {"connection_id":171145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:35:58] local.INFO: IMEI packet received {"connection_id":171145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":171145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:36:03] local.INFO: TCP Data received {"connection_id":171145,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:36:03] local.INFO: Processing buffer {"connection_id":171145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:36:03] local.INFO: IMEI packet received {"connection_id":171145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":171145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:36:04] local.INFO: TCP Data received {"connection_id":171145,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d988438012d3955c006a953b8000f012427..."} 
[2026-09-04 23:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d988438012d3955c006a953b8000f012427..."} 
[2026-09-04 23:36:04] local.INFO: Processing buffer {"connection_id":171145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d988438012d3955c006a953b8000f012427..."} 
[2026-09-04 23:36:04] local.INFO: Packet analysis {"connection_id":171145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d98"} 
[2026-09-04 23:36:04] local.INFO: Extracted packet for processing {"connection_id":171145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d98"} 
[2026-09-04 23:36:04] local.INFO: GPS Element Parsed {"raw_longitude":758732224,"raw_latitude":111760312,"longitude_deg":75.8732224,"latitude_deg":11.1760312,"altitude":15,"angle":292,"satellites":39,"speed":8,"hex_longitude":"2d3955c0","hex_latitude":"06a953b8","is_valid_coordinates":true} 
[2026-09-04 23:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867545856001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399016192808845312,"note":"Value kept but may cause issues"} 
[2026-09-04 23:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4132826742908825600,"note":"Value kept but may cause issues"} 
[2026-09-04 23:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788545107000,"timestamp_ms":1788545107000,"timestamp_seconds":1788545107,"priority":1,"record_length":96,"hex_timestamp":"000001a06d988438"} 
[2026-09-04 23:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 23:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867545856001,"66":27300,"91":206,"81":23296,"24":8,"16":399016192808845312,"45":4132826742908825600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-04 23:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867545856001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:36:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 23:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399016192808845312,"km_value":399016192808845.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4132826742908825600,"description":"Unknown IO ID 45"} 
[2026-09-04 23:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867545856001,"power":27300,"unknown_91":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":4132826742908825600}} 
[2026-09-04 23:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":171145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:36:04] local.INFO: GPS data processed {"connection_id":171145,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:36:04] local.INFO: Acknowledgment sent {"connection_id":171145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:36:26] local.INFO: TCP Data received {"connection_id":173834,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:36:26] local.INFO: Processing buffer {"connection_id":173834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:36:26] local.INFO: Packet analysis {"connection_id":173834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:36:26] local.INFO: Extracted packet for processing {"connection_id":173834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:36:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867419136001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788544907000,"timestamp_ms":1788544907000,"timestamp_seconds":1788544907,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9576f8"} 
[2026-09-04 23:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 23:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867419136001,"66":25919,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867419136001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:36:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:36:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867419136001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":173834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766148,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:36:26] local.INFO: GPS data processed {"connection_id":173834,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:36:26] local.INFO: Acknowledgment sent {"connection_id":173834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:36:35] local.INFO: TCP Data received {"connection_id":171145,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d989f90012d394f4006a956e80010013c28..."} 
[2026-09-04 23:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d989f90012d394f4006a956e80010013c28..."} 
[2026-09-04 23:36:35] local.INFO: Processing buffer {"connection_id":171145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d989f90012d394f4006a956e80010013c28..."} 
[2026-09-04 23:36:35] local.INFO: Packet analysis {"connection_id":171145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d98"} 
[2026-09-04 23:36:35] local.INFO: Extracted packet for processing {"connection_id":171145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d98"} 
[2026-09-04 23:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758730560,"raw_latitude":111761128,"longitude_deg":75.873056,"latitude_deg":11.1761128,"altitude":16,"angle":316,"satellites":40,"speed":12,"hex_longitude":"2d394f40","hex_latitude":"06a956e8","is_valid_coordinates":true} 
[2026-09-04 23:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867547392001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399016283003158528,"note":"Value kept but may cause issues"} 
[2026-09-04 23:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131419368025470976,"note":"Value kept but may cause issues"} 
[2026-09-04 23:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788545114000,"timestamp_ms":1788545114000,"timestamp_seconds":1788545114,"priority":1,"record_length":96,"hex_timestamp":"000001a06d989f90"} 
[2026-09-04 23:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 23:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867547392001,"66":27365,"91":206,"81":23296,"24":12,"16":399016283003158528,"45":4131419368025470976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-04 23:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867547392001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:36:35] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 23:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399016283003158528,"km_value":399016283003158.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131419368025470976,"description":"Unknown IO ID 45"} 
[2026-09-04 23:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867547392001,"power":27365,"unknown_91":206,"unknown_81":23296,"ignition":12,"odometer":null,"unknown_45":4131419368025470976}} 
[2026-09-04 23:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":171145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:36:35] local.INFO: GPS data processed {"connection_id":171145,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:36:35] local.INFO: Acknowledgment sent {"connection_id":171145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:36:53] local.INFO: TCP Data received {"connection_id":172550,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:36:53] local.INFO: Processing buffer {"connection_id":172550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:36:53] local.INFO: IMEI packet received {"connection_id":172550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":172550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:36:58] local.INFO: TCP Data received {"connection_id":172550,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:36:58] local.INFO: Processing buffer {"connection_id":172550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:36:58] local.INFO: IMEI packet received {"connection_id":172550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":172550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:36:59] local.INFO: TCP Data received {"connection_id":172550,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:36:59] local.INFO: Processing buffer {"connection_id":172550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9576f8012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:36:59] local.INFO: Packet analysis {"connection_id":172550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:36:59] local.INFO: Extracted packet for processing {"connection_id":172550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d95"} 
[2026-09-04 23:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867419136001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788544907000,"timestamp_ms":1788544907000,"timestamp_seconds":1788544907,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9576f8"} 
[2026-09-04 23:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-04 23:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867419136001,"66":25919,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867419136001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:36:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867419136001,"power":25919,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":172550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:36:59] local.INFO: GPS data processed {"connection_id":172550,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:36:59] local.INFO: Acknowledgment sent {"connection_id":172550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:37:03] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:37:03] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:37:03] local.INFO: IMEI packet received {"connection_id":173835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":173835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:37:06] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:37:06] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:37:06] local.INFO: IMEI packet received {"connection_id":173835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":173835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:37:07] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d98a760012d394d0006a958d00011012f28..."} 
[2026-09-04 23:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d98a760012d394d0006a958d00011012f28..."} 
[2026-09-04 23:37:07] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d98a760012d394d0006a958d00011012f28..."} 
[2026-09-04 23:37:07] local.INFO: Packet analysis {"connection_id":173835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d98"} 
[2026-09-04 23:37:07] local.INFO: Extracted packet for processing {"connection_id":173835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d98"} 
[2026-09-04 23:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758729984,"raw_latitude":111761616,"longitude_deg":75.8729984,"latitude_deg":11.1761616,"altitude":17,"angle":303,"satellites":40,"speed":14,"hex_longitude":"2d394d00","hex_latitude":"06a958d0","is_valid_coordinates":true} 
[2026-09-04 23:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867549184001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399016317362896896,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4129589780677060608,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788545116000,"timestamp_ms":1788545116000,"timestamp_seconds":1788545116,"priority":1,"record_length":96,"hex_timestamp":"000001a06d98a760"} 
[2026-09-04 23:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 23:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867549184001,"66":27376,"91":206,"81":23296,"24":14,"16":399016317362896896,"45":4129589780677060608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-04 23:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867549184001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:37:07] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 23:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399016317362896896,"km_value":399016317362896.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4129589780677060608,"description":"Unknown IO ID 45"} 
[2026-09-04 23:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867549184001,"power":27376,"unknown_91":206,"unknown_81":23296,"ignition":14,"odometer":null,"unknown_45":4129589780677060608}} 
[2026-09-04 23:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":173835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:37:07] local.INFO: GPS data processed {"connection_id":173835,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:37:07] local.INFO: Acknowledgment sent {"connection_id":173835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:37:08] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d98af30012d394a4006a95a400011012327..."} 
[2026-09-04 23:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d98af30012d394a4006a95a400011012327..."} 
[2026-09-04 23:37:08] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d98af30012d394a4006a95a400011012327..."} 
[2026-09-04 23:37:08] local.INFO: Packet analysis {"connection_id":173835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d98"} 
[2026-09-04 23:37:08] local.INFO: Extracted packet for processing {"connection_id":173835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d98"} 
[2026-09-04 23:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758729280,"raw_latitude":111761984,"longitude_deg":75.872928,"latitude_deg":11.1761984,"altitude":17,"angle":291,"satellites":39,"speed":19,"hex_longitude":"2d394a40","hex_latitude":"06a95a40","is_valid_coordinates":true} 
[2026-09-04 23:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867549696001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399016356017602560,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4128956461979586560,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788545118000,"timestamp_ms":1788545118000,"timestamp_seconds":1788545118,"priority":1,"record_length":96,"hex_timestamp":"000001a06d98af30"} 
[2026-09-04 23:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 23:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867549696001,"66":27365,"91":206,"81":23296,"24":19,"16":399016356017602560,"45":4128956461979586560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-04 23:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867549696001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:37:08] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 23:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399016356017602560,"km_value":399016356017602.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4128956461979586560,"description":"Unknown IO ID 45"} 
[2026-09-04 23:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867549696001,"power":27365,"unknown_91":206,"unknown_81":23296,"ignition":19,"odometer":null,"unknown_45":4128956461979586560}} 
[2026-09-04 23:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":173835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:37:08] local.INFO: GPS data processed {"connection_id":173835,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:37:08] local.INFO: Acknowledgment sent {"connection_id":173835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:37:30] local.INFO: TCP Data received {"connection_id":172550,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:37:30] local.INFO: Processing buffer {"connection_id":172550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:37:30] local.INFO: Packet analysis {"connection_id":172550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:37:30] local.INFO: Extracted packet for processing {"connection_id":172550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:37:30] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867496192001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788545208000,"timestamp_ms":1788545208000,"timestamp_seconds":1788545208,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9a0ec0"} 
[2026-09-04 23:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 23:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867496192001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867496192001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:37:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:37:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867496192001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":172550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:37:31] local.INFO: GPS data processed {"connection_id":172550,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:37:31] local.INFO: Acknowledgment sent {"connection_id":172550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:37:40] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d98e9c8012d39274006a964480011011c27..."} 
[2026-09-04 23:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d98e9c8012d39274006a964480011011c27..."} 
[2026-09-04 23:37:40] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d98e9c8012d39274006a964480011011c27..."} 
[2026-09-04 23:37:40] local.INFO: Packet analysis {"connection_id":173835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d98"} 
[2026-09-04 23:37:40] local.INFO: Extracted packet for processing {"connection_id":173835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d98"} 
[2026-09-04 23:37:40] local.INFO: GPS Element Parsed {"raw_longitude":758720320,"raw_latitude":111764552,"longitude_deg":75.872032,"latitude_deg":11.1764552,"altitude":17,"angle":284,"satellites":39,"speed":27,"hex_longitude":"2d392740","hex_latitude":"06a96448","is_valid_coordinates":true} 
[2026-09-04 23:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867550208001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399016802694201344,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4128182405793726464,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788545133000,"timestamp_ms":1788545133000,"timestamp_seconds":1788545133,"priority":1,"record_length":96,"hex_timestamp":"000001a06d98e9c8"} 
[2026-09-04 23:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 23:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867550208001,"66":27332,"91":206,"81":23296,"24":27,"16":399016802694201344,"45":4128182405793726464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-04 23:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867550208001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:37:40] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-04 23:37:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399016802694201344,"km_value":399016802694201.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4128182405793726464,"description":"Unknown IO ID 45"} 
[2026-09-04 23:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867550208001,"power":27332,"unknown_91":206,"unknown_81":23296,"ignition":27,"odometer":null,"unknown_45":4128182405793726464}} 
[2026-09-04 23:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":173835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:37:40] local.INFO: GPS data processed {"connection_id":173835,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:37:40] local.INFO: Acknowledgment sent {"connection_id":173835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:37:48] local.INFO: TCP Data received {"connection_id":173836,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:37:48] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:37:48] local.INFO: IMEI packet received {"connection_id":173836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":173836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:37:53] local.INFO: TCP Data received {"connection_id":173836,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:37:53] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:37:53] local.INFO: IMEI packet received {"connection_id":173836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":173836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:37:54] local.INFO: TCP Data received {"connection_id":173836,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:37:54] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:37:54] local.INFO: Packet analysis {"connection_id":173836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:37:54] local.INFO: Extracted packet for processing {"connection_id":173836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:37:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867496192001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788545208000,"timestamp_ms":1788545208000,"timestamp_seconds":1788545208,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9a0ec0"} 
[2026-09-04 23:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 23:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867496192001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867496192001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:37:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:37:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867496192001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":173836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766155,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:37:54] local.INFO: GPS data processed {"connection_id":173836,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:37:54] local.INFO: Acknowledgment sent {"connection_id":173836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:37:56] local.INFO: TCP Data received {"connection_id":173837,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:37:56] local.INFO: Processing buffer {"connection_id":173837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:37:56] local.INFO: IMEI packet received {"connection_id":173837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":173837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:37:58] local.INFO: TCP Data received {"connection_id":173837,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:37:58] local.INFO: Processing buffer {"connection_id":173837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:37:58] local.INFO: IMEI packet received {"connection_id":173837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":173837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:38:03] local.INFO: TCP Data received {"connection_id":173837,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:38:03] local.INFO: Processing buffer {"connection_id":173837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:38:03] local.INFO: IMEI packet received {"connection_id":173837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":173837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:38:04] local.INFO: TCP Data received {"connection_id":173837,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9918a8012d39030006a96a500011011727..."} 
[2026-09-04 23:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9918a8012d39030006a96a500011011727..."} 
[2026-09-04 23:38:04] local.INFO: Processing buffer {"connection_id":173837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9918a8012d39030006a96a500011011727..."} 
[2026-09-04 23:38:04] local.INFO: Packet analysis {"connection_id":173837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d99"} 
[2026-09-04 23:38:04] local.INFO: Extracted packet for processing {"connection_id":173837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d99"} 
[2026-09-04 23:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758711040,"raw_latitude":111766096,"longitude_deg":75.871104,"latitude_deg":11.1766096,"altitude":17,"angle":279,"satellites":39,"speed":34,"hex_longitude":"2d390300","hex_latitude":"06a96a50","is_valid_coordinates":true} 
[2026-09-04 23:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867554048001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399017249370800128,"note":"Value kept but may cause issues"} 
[2026-09-04 23:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4118330781609510912,"note":"Value kept but may cause issues"} 
[2026-09-04 23:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788545145000,"timestamp_ms":1788545145000,"timestamp_seconds":1788545145,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9918a8"} 
[2026-09-04 23:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-04 23:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867554048001,"66":27289,"46":206,"81":23296,"24":34,"16":399017249370800128,"45":4118330781609510912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-04 23:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867554048001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:38:04] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-04 23:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399017249370800128,"km_value":399017249370800.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4118330781609510912,"description":"Unknown IO ID 45"} 
[2026-09-04 23:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867554048001,"power":27289,"unknown_46":206,"unknown_81":23296,"ignition":34,"odometer":null,"unknown_45":4118330781609510912}} 
[2026-09-04 23:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":173837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:38:04] local.INFO: GPS data processed {"connection_id":173837,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:38:04] local.INFO: Acknowledgment sent {"connection_id":173837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:38:26] local.INFO: TCP Data received {"connection_id":173836,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:38:26] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:38:26] local.INFO: Packet analysis {"connection_id":173836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:38:26] local.INFO: Extracted packet for processing {"connection_id":173836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:38:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867496192001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788545208000,"timestamp_ms":1788545208000,"timestamp_seconds":1788545208,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9a0ec0"} 
[2026-09-04 23:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 23:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867496192001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867496192001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:38:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:38:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867496192001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":173836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:38:26] local.INFO: GPS data processed {"connection_id":173836,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:38:26] local.INFO: Acknowledgment sent {"connection_id":173836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:38:48] local.INFO: TCP Data received {"connection_id":172551,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:38:48] local.INFO: Processing buffer {"connection_id":172551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:38:48] local.INFO: IMEI packet received {"connection_id":172551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":172551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:38:49] local.INFO: TCP Data received {"connection_id":173837,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9ace28012d379b4006a98eb8000a01082a..."} 
[2026-09-04 23:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9ace28012d379b4006a98eb8000a01082a..."} 
[2026-09-04 23:38:49] local.INFO: Processing buffer {"connection_id":173837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9ace28012d379b4006a98eb8000a01082a..."} 
[2026-09-04 23:38:49] local.INFO: Packet analysis {"connection_id":173837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:38:49] local.INFO: Extracted packet for processing {"connection_id":173837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:38:49] local.INFO: GPS Element Parsed {"raw_longitude":758618944,"raw_latitude":111775416,"longitude_deg":75.8618944,"latitude_deg":11.1775416,"altitude":10,"angle":264,"satellites":42,"speed":44,"hex_longitude":"2d379b40","hex_latitude":"06a98eb8","is_valid_coordinates":true} 
[2026-09-04 23:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867583488001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399021698956918784,"note":"Value kept but may cause issues"} 
[2026-09-04 23:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4017703477438443520,"note":"Value kept but may cause issues"} 
[2026-09-04 23:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788545257000,"timestamp_ms":1788545257000,"timestamp_seconds":1788545257,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9ace28"} 
[2026-09-04 23:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 23:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867583488001,"66":27267,"77":206,"81":23296,"24":44,"16":399021698956918784,"45":4017703477438443520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-04 23:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867583488001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:38:49] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-04 23:38:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399021698956918784,"km_value":399021698956918.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4017703477438443520,"description":"Unknown IO ID 45"} 
[2026-09-04 23:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867583488001,"power":27267,"unknown_77":206,"unknown_81":23296,"ignition":44,"odometer":null,"unknown_45":4017703477438443520}} 
[2026-09-04 23:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":173837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:38:49] local.INFO: GPS data processed {"connection_id":173837,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:38:49] local.INFO: Acknowledgment sent {"connection_id":173837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:38:53] local.INFO: TCP Data received {"connection_id":172551,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:38:53] local.INFO: Processing buffer {"connection_id":172551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:38:53] local.INFO: IMEI packet received {"connection_id":172551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":172551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:38:55] local.INFO: TCP Data received {"connection_id":172551,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:38:55] local.INFO: Processing buffer {"connection_id":172551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:38:55] local.INFO: Packet analysis {"connection_id":172551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:38:55] local.INFO: Extracted packet for processing {"connection_id":172551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:38:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867496192001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788545208000,"timestamp_ms":1788545208000,"timestamp_seconds":1788545208,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9a0ec0"} 
[2026-09-04 23:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 23:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867496192001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867496192001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:38:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867496192001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":172551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:38:55] local.INFO: GPS data processed {"connection_id":172551,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:38:55] local.INFO: Acknowledgment sent {"connection_id":172551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:38:56] local.INFO: TCP Data received {"connection_id":171146,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:38:56] local.INFO: Processing buffer {"connection_id":171146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:38:56] local.INFO: IMEI packet received {"connection_id":171146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":171146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:38:58] local.INFO: TCP Data received {"connection_id":171146,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:38:58] local.INFO: Processing buffer {"connection_id":171146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:38:58] local.INFO: IMEI packet received {"connection_id":171146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":171146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:39:03] local.INFO: TCP Data received {"connection_id":171146,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:39:03] local.INFO: Processing buffer {"connection_id":171146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:39:03] local.INFO: IMEI packet received {"connection_id":171146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":171146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:39:04] local.INFO: TCP Data received {"connection_id":171146,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9aed68012d37764006a98ae0000a010829..."} 
[2026-09-04 23:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9aed68012d37764006a98ae0000a010829..."} 
[2026-09-04 23:39:04] local.INFO: Processing buffer {"connection_id":171146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9aed68012d37764006a98ae0000a010829..."} 
[2026-09-04 23:39:04] local.INFO: Packet analysis {"connection_id":171146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:39:04] local.INFO: Extracted packet for processing {"connection_id":171146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758609472,"raw_latitude":111774432,"longitude_deg":75.8609472,"latitude_deg":11.1774432,"altitude":10,"angle":264,"satellites":41,"speed":47,"hex_longitude":"2d377640","hex_latitude":"06a98ae0","is_valid_coordinates":true} 
[2026-09-04 23:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867585792001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399022154223452160,"note":"Value kept but may cause issues"} 
[2026-09-04 23:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4006866690834872320,"note":"Value kept but may cause issues"} 
[2026-09-04 23:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788545265000,"timestamp_ms":1788545265000,"timestamp_seconds":1788545265,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9aed68"} 
[2026-09-04 23:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 23:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867585792001,"66":27300,"77":206,"81":23296,"24":47,"16":399022154223452160,"45":4006866690834872320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-04 23:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867585792001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:39:04] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-04 23:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399022154223452160,"km_value":399022154223452.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4006866690834872320,"description":"Unknown IO ID 45"} 
[2026-09-04 23:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867585792001,"power":27300,"unknown_77":206,"unknown_81":23296,"ignition":47,"odometer":null,"unknown_45":4006866690834872320}} 
[2026-09-04 23:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":171146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:39:04] local.INFO: GPS data processed {"connection_id":171146,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:39:04] local.INFO: Acknowledgment sent {"connection_id":171146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:39:27] local.INFO: TCP Data received {"connection_id":172551,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:39:27] local.INFO: Processing buffer {"connection_id":172551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:39:27] local.INFO: Packet analysis {"connection_id":172551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:39:27] local.INFO: Extracted packet for processing {"connection_id":172551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:39:27] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867496192001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788545208000,"timestamp_ms":1788545208000,"timestamp_seconds":1788545208,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9a0ec0"} 
[2026-09-04 23:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 23:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867496192001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867496192001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:39:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:39:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867496192001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":172551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:39:27] local.INFO: GPS data processed {"connection_id":172551,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:39:27] local.INFO: Acknowledgment sent {"connection_id":172551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:39:36] local.INFO: TCP Data received {"connection_id":171146,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9b04d8012d37584006a98af80008011528..."} 
[2026-09-04 23:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9b04d8012d37584006a98af80008011528..."} 
[2026-09-04 23:39:36] local.INFO: Processing buffer {"connection_id":171146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9b04d8012d37584006a98af80008011528..."} 
[2026-09-04 23:39:36] local.INFO: Packet analysis {"connection_id":171146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9b"} 
[2026-09-04 23:39:36] local.INFO: Extracted packet for processing {"connection_id":171146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9b"} 
[2026-09-04 23:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758601792,"raw_latitude":111774456,"longitude_deg":75.8601792,"latitude_deg":11.1774456,"altitude":8,"angle":277,"satellites":40,"speed":53,"hex_longitude":"2d375840","hex_latitude":"06a98af8","is_valid_coordinates":true} 
[2026-09-04 23:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867587840001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399022519295672320,"note":"Value kept but may cause issues"} 
[2026-09-04 23:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3996452116696326144,"note":"Value kept but may cause issues"} 
[2026-09-04 23:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788545271000,"timestamp_ms":1788545271000,"timestamp_seconds":1788545271,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9b04d8"} 
[2026-09-04 23:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-04 23:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867587840001,"66":27332,"77":206,"81":23296,"24":53,"16":399022519295672320,"45":3996452116696326144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-04 23:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867587840001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:39:36] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-04 23:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399022519295672320,"km_value":399022519295672.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3996452116696326144,"description":"Unknown IO ID 45"} 
[2026-09-04 23:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867587840001,"power":27332,"unknown_77":206,"unknown_81":23296,"ignition":53,"odometer":null,"unknown_45":3996452116696326144}} 
[2026-09-04 23:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":171146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:39:36] local.INFO: GPS data processed {"connection_id":171146,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:39:36] local.INFO: Acknowledgment sent {"connection_id":171146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:39:48] local.INFO: TCP Data received {"connection_id":172552,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:39:48] local.INFO: Processing buffer {"connection_id":172552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:39:48] local.INFO: IMEI packet received {"connection_id":172552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":172552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:39:53] local.INFO: TCP Data received {"connection_id":172552,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:39:53] local.INFO: Processing buffer {"connection_id":172552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:39:53] local.INFO: IMEI packet received {"connection_id":172552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":172552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:39:54] local.INFO: TCP Data received {"connection_id":172552,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:39:54] local.INFO: Processing buffer {"connection_id":172552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:39:54] local.INFO: Packet analysis {"connection_id":172552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:39:54] local.INFO: Extracted packet for processing {"connection_id":172552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:39:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867496192001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788545208000,"timestamp_ms":1788545208000,"timestamp_seconds":1788545208,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9a0ec0"} 
[2026-09-04 23:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 23:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867496192001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867496192001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:39:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:39:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867496192001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":172552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:39:54] local.INFO: GPS data processed {"connection_id":172552,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:39:54] local.INFO: Acknowledgment sent {"connection_id":172552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:39:58] local.INFO: TCP Data received {"connection_id":171445,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:39:58] local.INFO: Processing buffer {"connection_id":171445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:39:58] local.INFO: IMEI packet received {"connection_id":171445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":171445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:40:01] local.INFO: TCP Data received {"connection_id":171445,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:40:01] local.INFO: Processing buffer {"connection_id":171445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:40:01] local.INFO: IMEI packet received {"connection_id":171445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":171445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:40:03] local.INFO: TCP Data received {"connection_id":171445,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9c1a30012d362a0006a9f1300008012128..."} 
[2026-09-04 23:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9c1a30012d362a0006a9f1300008012128..."} 
[2026-09-04 23:40:03] local.INFO: Processing buffer {"connection_id":171445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9c1a30012d362a0006a9f1300008012128..."} 
[2026-09-04 23:40:03] local.INFO: Packet analysis {"connection_id":171445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9c"} 
[2026-09-04 23:40:03] local.INFO: Extracted packet for processing {"connection_id":171445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9c"} 
[2026-09-04 23:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758524416,"raw_latitude":111800624,"longitude_deg":75.8524416,"latitude_deg":11.1800624,"altitude":8,"angle":289,"satellites":40,"speed":58,"hex_longitude":"2d362a00","hex_latitude":"06a9f130","is_valid_coordinates":true} 
[2026-09-04 23:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867606016001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399026474960551936,"note":"Value kept but may cause issues"} 
[2026-09-04 23:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3912361467410024448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788545342000,"timestamp_ms":1788545342000,"timestamp_seconds":1788545342,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9c1a30"} 
[2026-09-04 23:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-04 23:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867606016001,"66":27365,"96":206,"81":23296,"24":58,"16":399026474960551936,"45":3912361467410024448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-04 23:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867606016001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:40:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-04 23:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399026474960551936,"km_value":399026474960551.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3912361467410024448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867606016001,"power":27365,"unknown_96":206,"unknown_81":23296,"ignition":58,"odometer":null,"unknown_45":3912361467410024448}} 
[2026-09-04 23:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":171445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:40:03] local.INFO: GPS data processed {"connection_id":171445,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:40:03] local.INFO: Acknowledgment sent {"connection_id":171445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:40:26] local.INFO: TCP Data received {"connection_id":172552,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:40:26] local.INFO: Processing buffer {"connection_id":172552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:40:26] local.INFO: Packet analysis {"connection_id":172552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:40:26] local.INFO: Extracted packet for processing {"connection_id":172552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:40:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867496192001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788545208000,"timestamp_ms":1788545208000,"timestamp_seconds":1788545208,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9a0ec0"} 
[2026-09-04 23:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 23:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867496192001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867496192001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:40:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:40:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867496192001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":172552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:40:26] local.INFO: GPS data processed {"connection_id":172552,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:40:26] local.INFO: Acknowledgment sent {"connection_id":172552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:40:34] local.INFO: TCP Data received {"connection_id":171445,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9c3588012d3604c006aa00f00009012528..."} 
[2026-09-04 23:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9c3588012d3604c006aa00f00009012528..."} 
[2026-09-04 23:40:34] local.INFO: Processing buffer {"connection_id":171445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9c3588012d3604c006aa00f00009012528..."} 
[2026-09-04 23:40:34] local.INFO: Packet analysis {"connection_id":171445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9c"} 
[2026-09-04 23:40:34] local.INFO: Extracted packet for processing {"connection_id":171445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9c"} 
[2026-09-04 23:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758514880,"raw_latitude":111804656,"longitude_deg":75.851488,"latitude_deg":11.1804656,"altitude":9,"angle":293,"satellites":40,"speed":57,"hex_longitude":"2d3604c0","hex_latitude":"06aa00f0","is_valid_coordinates":true} 
[2026-09-04 23:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867607552001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399026968881790976,"note":"Value kept but may cause issues"} 
[2026-09-04 23:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3902932055690915840,"note":"Value kept but may cause issues"} 
[2026-09-04 23:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788545349000,"timestamp_ms":1788545349000,"timestamp_seconds":1788545349,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9c3588"} 
[2026-09-04 23:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 23:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867607552001,"66":27213,"96":206,"81":23296,"24":57,"16":399026968881790976,"45":3902932055690915840},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-04 23:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867607552001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:40:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-04 23:40:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399026968881790976,"km_value":399026968881791.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3902932055690915840,"description":"Unknown IO ID 45"} 
[2026-09-04 23:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867607552001,"power":27213,"unknown_96":206,"unknown_81":23296,"ignition":57,"odometer":null,"unknown_45":3902932055690915840}} 
[2026-09-04 23:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":171445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:40:34] local.INFO: GPS data processed {"connection_id":171445,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:40:34] local.INFO: Acknowledgment sent {"connection_id":171445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:40:53] local.INFO: TCP Data received {"connection_id":171147,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:40:53] local.INFO: Processing buffer {"connection_id":171147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:40:53] local.INFO: IMEI packet received {"connection_id":171147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":171147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:40:58] local.INFO: TCP Data received {"connection_id":171147,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:40:58] local.INFO: Processing buffer {"connection_id":171147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:40:58] local.INFO: IMEI packet received {"connection_id":171147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":171147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:40:58] local.INFO: TCP Data received {"connection_id":172553,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:40:58] local.INFO: Processing buffer {"connection_id":172553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:40:58] local.INFO: IMEI packet received {"connection_id":172553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":172553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:40:59] local.INFO: TCP Data received {"connection_id":171147,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:40:59] local.INFO: Processing buffer {"connection_id":171147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:40:59] local.INFO: Packet analysis {"connection_id":171147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:40:59] local.INFO: Extracted packet for processing {"connection_id":171147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867496192001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788545208000,"timestamp_ms":1788545208000,"timestamp_seconds":1788545208,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9a0ec0"} 
[2026-09-04 23:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 23:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867496192001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867496192001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:40:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867496192001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":171147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766167,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:40:59] local.INFO: GPS data processed {"connection_id":171147,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:40:59] local.INFO: Acknowledgment sent {"connection_id":171147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:41:02] local.INFO: TCP Data received {"connection_id":172553,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:41:02] local.INFO: Processing buffer {"connection_id":172553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:41:02] local.INFO: IMEI packet received {"connection_id":172553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":172553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:41:03] local.INFO: TCP Data received {"connection_id":172553,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9c50e0012d35e04006aa0fd8000901232b..."} 
[2026-09-04 23:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9c50e0012d35e04006aa0fd8000901232b..."} 
[2026-09-04 23:41:03] local.INFO: Processing buffer {"connection_id":172553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9c50e0012d35e04006aa0fd8000901232b..."} 
[2026-09-04 23:41:03] local.INFO: Packet analysis {"connection_id":172553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9c"} 
[2026-09-04 23:41:03] local.INFO: Extracted packet for processing {"connection_id":172553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9c"} 
[2026-09-04 23:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758505536,"raw_latitude":111808472,"longitude_deg":75.8505536,"latitude_deg":11.1808472,"altitude":9,"angle":291,"satellites":43,"speed":54,"hex_longitude":"2d35e040","hex_latitude":"06aa0fd8","is_valid_coordinates":true} 
[2026-09-04 23:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867609344001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399027445623160832,"note":"Value kept but may cause issues"} 
[2026-09-04 23:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3892447112809476096,"note":"Value kept but may cause issues"} 
[2026-09-04 23:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788545356000,"timestamp_ms":1788545356000,"timestamp_seconds":1788545356,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9c50e0"} 
[2026-09-04 23:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 23:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867609344001,"66":27245,"96":206,"81":23296,"24":54,"16":399027445623160832,"45":3892447112809476096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-04 23:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867609344001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:41:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-04 23:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399027445623160832,"km_value":399027445623160.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3892447112809476096,"description":"Unknown IO ID 45"} 
[2026-09-04 23:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867609344001,"power":27245,"unknown_96":206,"unknown_81":23296,"ignition":54,"odometer":null,"unknown_45":3892447112809476096}} 
[2026-09-04 23:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":172553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:41:03] local.INFO: GPS data processed {"connection_id":172553,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:41:03] local.INFO: Acknowledgment sent {"connection_id":172553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:41:04] local.INFO: TCP Data received {"connection_id":171147,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:41:04] local.INFO: Processing buffer {"connection_id":171147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:41:04] local.INFO: Packet analysis {"connection_id":171147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:41:04] local.INFO: Extracted packet for processing {"connection_id":171147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:41:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867496192001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788545208000,"timestamp_ms":1788545208000,"timestamp_seconds":1788545208,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9a0ec0"} 
[2026-09-04 23:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 23:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867496192001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867496192001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:41:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:41:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867496192001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":171147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:41:04] local.INFO: GPS data processed {"connection_id":171147,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:41:04] local.INFO: Acknowledgment sent {"connection_id":171147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:41:35] local.INFO: TCP Data received {"connection_id":172553,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9d8d48012d34c58006aa5410000700cb28..."} 
[2026-09-04 23:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9d8d48012d34c58006aa5410000700cb28..."} 
[2026-09-04 23:41:35] local.INFO: Processing buffer {"connection_id":172553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9d8d48012d34c58006aa5410000700cb28..."} 
[2026-09-04 23:41:35] local.INFO: Packet analysis {"connection_id":172553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9d"} 
[2026-09-04 23:41:35] local.INFO: Extracted packet for processing {"connection_id":172553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9d"} 
[2026-09-04 23:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111825936,"longitude_deg":75.8433152,"latitude_deg":11.1825936,"altitude":7,"angle":203,"satellites":40,"speed":14,"hex_longitude":"2d34c580","hex_latitude":"06aa5410","is_valid_coordinates":true} 
[2026-09-04 23:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867631616001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031143590002688,"note":"Value kept but may cause issues"} 
[2026-09-04 23:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701476833280,"note":"Value kept but may cause issues"} 
[2026-09-04 23:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788545437000,"timestamp_ms":1788545437000,"timestamp_seconds":1788545437,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9d8d48"} 
[2026-09-04 23:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-04 23:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867631616001,"66":27343,"97":206,"81":23296,"24":14,"16":399031143590002688,"45":3802867701476833280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867631616001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:41:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031143590002688,"km_value":399031143590002.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701476833280,"description":"Unknown IO ID 45"} 
[2026-09-04 23:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867631616001,"power":27343,"unknown_97":206,"unknown_81":23296,"ignition":14,"odometer":null,"unknown_45":3802867701476833280}} 
[2026-09-04 23:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":172553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:41:35] local.INFO: GPS data processed {"connection_id":172553,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:41:35] local.INFO: Acknowledgment sent {"connection_id":172553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:41:48] local.INFO: TCP Data received {"connection_id":172554,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:41:48] local.INFO: Processing buffer {"connection_id":172554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:41:48] local.INFO: IMEI packet received {"connection_id":172554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":172554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:41:53] local.INFO: TCP Data received {"connection_id":172554,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:41:53] local.INFO: Processing buffer {"connection_id":172554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:41:53] local.INFO: IMEI packet received {"connection_id":172554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":172554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:41:54] local.INFO: TCP Data received {"connection_id":172554,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:41:55] local.INFO: Processing buffer {"connection_id":172554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:41:55] local.INFO: Packet analysis {"connection_id":172554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:41:55] local.INFO: Extracted packet for processing {"connection_id":172554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:41:55] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867496192001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788545208000,"timestamp_ms":1788545208000,"timestamp_seconds":1788545208,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9a0ec0"} 
[2026-09-04 23:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 23:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867496192001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867496192001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:41:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867496192001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":172554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:41:55] local.INFO: GPS data processed {"connection_id":172554,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:41:55] local.INFO: Acknowledgment sent {"connection_id":172554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:41:58] local.INFO: TCP Data received {"connection_id":171148,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:41:58] local.INFO: Processing buffer {"connection_id":171148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:41:58] local.INFO: IMEI packet received {"connection_id":171148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":171148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:41:59] local.INFO: TCP Data received {"connection_id":171148,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:41:59] local.INFO: Processing buffer {"connection_id":171148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:41:59] local.INFO: IMEI packet received {"connection_id":171148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":171148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:42:03] local.INFO: TCP Data received {"connection_id":171148,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:42:03] local.INFO: Processing buffer {"connection_id":171148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:42:03] local.INFO: IMEI packet received {"connection_id":171148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":171148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:42:05] local.INFO: TCP Data received {"connection_id":171148,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9d9130012d34c54006aa52b8000700bb2a..."} 
[2026-09-04 23:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9d9130012d34c54006aa52b8000700bb2a..."} 
[2026-09-04 23:42:05] local.INFO: Processing buffer {"connection_id":171148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9d9130012d34c54006aa52b8000700bb2a..."} 
[2026-09-04 23:42:05] local.INFO: Packet analysis {"connection_id":171148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9d"} 
[2026-09-04 23:42:05] local.INFO: Extracted packet for processing {"connection_id":171148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9d"} 
[2026-09-04 23:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825592,"longitude_deg":75.8433088,"latitude_deg":11.1825592,"altitude":7,"angle":187,"satellites":42,"speed":13,"hex_longitude":"2d34c540","hex_latitude":"06aa52b8","is_valid_coordinates":true} 
[2026-09-04 23:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867631872001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031160769871872,"note":"Value kept but may cause issues"} 
[2026-09-04 23:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226500046848,"note":"Value kept but may cause issues"} 
[2026-09-04 23:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788545438000,"timestamp_ms":1788545438000,"timestamp_seconds":1788545438,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9d9130"} 
[2026-09-04 23:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 23:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867631872001,"66":27343,"97":206,"81":23296,"24":13,"16":399031160769871872,"45":3802586226500046848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867631872001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:42:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031160769871872,"km_value":399031160769871.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226500046848,"description":"Unknown IO ID 45"} 
[2026-09-04 23:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867631872001,"power":27343,"unknown_97":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":3802586226500046848}} 
[2026-09-04 23:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":171148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:42:05] local.INFO: GPS data processed {"connection_id":171148,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:42:05] local.INFO: Acknowledgment sent {"connection_id":171148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:42:26] local.INFO: TCP Data received {"connection_id":172554,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:42:26] local.INFO: Processing buffer {"connection_id":172554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9a0ec0012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:42:26] local.INFO: Packet analysis {"connection_id":172554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:42:26] local.INFO: Extracted packet for processing {"connection_id":172554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9a"} 
[2026-09-04 23:42:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867496192001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788545208000,"timestamp_ms":1788545208000,"timestamp_seconds":1788545208,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9a0ec0"} 
[2026-09-04 23:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-04 23:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867496192001,"66":25810,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867496192001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:42:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:42:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867496192001,"power":25810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":172554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:42:26] local.INFO: GPS data processed {"connection_id":172554,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:42:26] local.INFO: Acknowledgment sent {"connection_id":172554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:42:37] local.INFO: TCP Data received {"connection_id":171148,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9d9518012d34c50006aa5198000800ad2b..."} 
[2026-09-04 23:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9d9518012d34c50006aa5198000800ad2b..."} 
[2026-09-04 23:42:37] local.INFO: Processing buffer {"connection_id":171148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9d9518012d34c50006aa5198000800ad2b..."} 
[2026-09-04 23:42:37] local.INFO: Packet analysis {"connection_id":171148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9d"} 
[2026-09-04 23:42:37] local.INFO: Extracted packet for processing {"connection_id":171148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9d"} 
[2026-09-04 23:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825304,"longitude_deg":75.8433024,"latitude_deg":11.1825304,"altitude":8,"angle":173,"satellites":43,"speed":9,"hex_longitude":"2d34c500","hex_latitude":"06aa5198","is_valid_coordinates":true} 
[2026-09-04 23:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867632128001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031173654773760,"note":"Value kept but may cause issues"} 
[2026-09-04 23:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755781120,"note":"Value kept but may cause issues"} 
[2026-09-04 23:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788545439000,"timestamp_ms":1788545439000,"timestamp_seconds":1788545439,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9d9518"} 
[2026-09-04 23:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 23:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867632128001,"66":27234,"97":206,"81":23296,"24":9,"16":399031173654773760,"45":3802515857755781120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867632128001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031173654773760,"km_value":399031173654773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755781120,"description":"Unknown IO ID 45"} 
[2026-09-04 23:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867632128001,"power":27234,"unknown_97":206,"unknown_81":23296,"ignition":9,"odometer":null,"unknown_45":3802515857755781120}} 
[2026-09-04 23:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":171148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:42:37] local.INFO: GPS data processed {"connection_id":171148,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:42:37] local.INFO: Acknowledgment sent {"connection_id":171148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:42:48] local.INFO: TCP Data received {"connection_id":173838,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:42:48] local.INFO: Processing buffer {"connection_id":173838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:42:48] local.INFO: IMEI packet received {"connection_id":173838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":173838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:42:53] local.INFO: TCP Data received {"connection_id":173838,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:42:53] local.INFO: Processing buffer {"connection_id":173838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:42:53] local.INFO: IMEI packet received {"connection_id":173838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":173838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:42:54] local.INFO: TCP Data received {"connection_id":173838,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9ea688012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9ea688012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:42:54] local.INFO: Processing buffer {"connection_id":173838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9ea688012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:42:54] local.INFO: Packet analysis {"connection_id":173838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:42:54] local.INFO: Extracted packet for processing {"connection_id":173838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:42:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867573248001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788545509000,"timestamp_ms":1788545509000,"timestamp_seconds":1788545509,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9ea688"} 
[2026-09-04 23:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-04 23:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867573248001,"66":25462,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867573248001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:42:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:42:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867573248001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":173838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:42:54] local.INFO: GPS data processed {"connection_id":173838,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:42:54] local.INFO: Acknowledgment sent {"connection_id":173838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:42:58] local.INFO: TCP Data received {"connection_id":173839,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:42:58] local.INFO: Processing buffer {"connection_id":173839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:42:58] local.INFO: IMEI packet received {"connection_id":173839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":173839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:43:03] local.INFO: TCP Data received {"connection_id":173839,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:43:03] local.INFO: Processing buffer {"connection_id":173839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:43:03] local.INFO: IMEI packet received {"connection_id":173839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":173839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:43:04] local.INFO: TCP Data received {"connection_id":173839,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9de720012d34c50006aa50b0000800ad2a..."} 
[2026-09-04 23:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9de720012d34c50006aa50b0000800ad2a..."} 
[2026-09-04 23:43:04] local.INFO: Processing buffer {"connection_id":173839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9de720012d34c50006aa50b0000800ad2a..."} 
[2026-09-04 23:43:04] local.INFO: Packet analysis {"connection_id":173839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9d"} 
[2026-09-04 23:43:04] local.INFO: Extracted packet for processing {"connection_id":173839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9d"} 
[2026-09-04 23:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825072,"longitude_deg":75.8433024,"latitude_deg":11.1825072,"altitude":8,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa50b0","is_valid_coordinates":true} 
[2026-09-04 23:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867632384001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031190834642944,"note":"Value kept but may cause issues"} 
[2026-09-04 23:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011529728,"note":"Value kept but may cause issues"} 
[2026-09-04 23:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788545460000,"timestamp_ms":1788545460000,"timestamp_seconds":1788545460,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9de720"} 
[2026-09-04 23:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-04 23:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867632384001,"66":27365,"97":206,"81":23296,"24":0,"16":399031190834642944,"45":3802445489011529728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867632384001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:43:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031190834642944,"km_value":399031190834642.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011529728,"description":"Unknown IO ID 45"} 
[2026-09-04 23:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867632384001,"power":27365,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011529728}} 
[2026-09-04 23:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":173839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:43:04] local.INFO: GPS data processed {"connection_id":173839,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:43:04] local.INFO: Acknowledgment sent {"connection_id":173839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:43:26] local.INFO: TCP Data received {"connection_id":173838,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9ea688012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9ea688012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:43:26] local.INFO: Processing buffer {"connection_id":173838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9ea688012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:43:26] local.INFO: Packet analysis {"connection_id":173838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:43:26] local.INFO: Extracted packet for processing {"connection_id":173838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:43:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867573248001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788545509000,"timestamp_ms":1788545509000,"timestamp_seconds":1788545509,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9ea688"} 
[2026-09-04 23:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-04 23:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867573248001,"66":25462,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867573248001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:43:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:43:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867573248001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":173838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766177,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:43:26] local.INFO: GPS data processed {"connection_id":173838,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:43:26] local.INFO: Acknowledgment sent {"connection_id":173838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:43:35] local.INFO: TCP Data received {"connection_id":173839,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9e3928012d34c48006aa4b00000900aa2c..."} 
[2026-09-04 23:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9e3928012d34c48006aa4b00000900aa2c..."} 
[2026-09-04 23:43:35] local.INFO: Processing buffer {"connection_id":173839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9e3928012d34c48006aa4b00000900aa2c..."} 
[2026-09-04 23:43:35] local.INFO: Packet analysis {"connection_id":173839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:43:35] local.INFO: Extracted packet for processing {"connection_id":173839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823616,"longitude_deg":75.8432896,"latitude_deg":11.1823616,"altitude":9,"angle":170,"satellites":44,"speed":6,"hex_longitude":"2d34c480","hex_latitude":"06aa4b00","is_valid_coordinates":true} 
[2026-09-04 23:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867637760001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031263849086976,"note":"Value kept but may cause issues"} 
[2026-09-04 23:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011470336,"note":"Value kept but may cause issues"} 
[2026-09-04 23:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788545481000,"timestamp_ms":1788545481000,"timestamp_seconds":1788545481,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9e3928"} 
[2026-09-04 23:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-04 23:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867637760001,"66":27397,"97":206,"81":23296,"24":6,"16":399031263849086976,"45":3802445489011470336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867637760001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031263849086976,"km_value":399031263849087.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011470336,"description":"Unknown IO ID 45"} 
[2026-09-04 23:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867637760001,"power":27397,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802445489011470336}} 
[2026-09-04 23:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":173839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:43:35] local.INFO: GPS data processed {"connection_id":173839,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:43:35] local.INFO: Acknowledgment sent {"connection_id":173839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:43:48] local.INFO: TCP Data received {"connection_id":171446,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:43:48] local.INFO: Processing buffer {"connection_id":171446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:43:48] local.INFO: IMEI packet received {"connection_id":171446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":171446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:43:53] local.INFO: TCP Data received {"connection_id":171446,"ip":"117.224.161.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:43:53] local.INFO: Processing buffer {"connection_id":171446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:43:53] local.INFO: IMEI packet received {"connection_id":171446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-04 23:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":171446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:43:54] local.INFO: TCP Data received {"connection_id":171446,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9ea688012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9ea688012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:43:54] local.INFO: Processing buffer {"connection_id":171446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9ea688012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:43:54] local.INFO: Packet analysis {"connection_id":171446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:43:54] local.INFO: Extracted packet for processing {"connection_id":171446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867573248001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788545509000,"timestamp_ms":1788545509000,"timestamp_seconds":1788545509,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9ea688"} 
[2026-09-04 23:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-04 23:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867573248001,"66":25462,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867573248001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:43:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:43:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867573248001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":171446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:43:54] local.INFO: GPS data processed {"connection_id":171446,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:43:54] local.INFO: Acknowledgment sent {"connection_id":171446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:43:58] local.INFO: TCP Data received {"connection_id":173840,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:43:58] local.INFO: Processing buffer {"connection_id":173840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:43:58] local.INFO: IMEI packet received {"connection_id":173840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":173840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:44:03] local.INFO: TCP Data received {"connection_id":173840,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:44:03] local.INFO: Processing buffer {"connection_id":173840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:44:03] local.INFO: IMEI packet received {"connection_id":173840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":173840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:44:04] local.INFO: TCP Data received {"connection_id":173840,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9e6420012d34c60006aa4360000800bd2b..."} 
[2026-09-04 23:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9e6420012d34c60006aa4360000800bd2b..."} 
[2026-09-04 23:44:04] local.INFO: Processing buffer {"connection_id":173840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9e6420012d34c60006aa4360000800bd2b..."} 
[2026-09-04 23:44:04] local.INFO: Packet analysis {"connection_id":173840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:44:04] local.INFO: Extracted packet for processing {"connection_id":173840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111821664,"longitude_deg":75.843328,"latitude_deg":11.1821664,"altitude":8,"angle":189,"satellites":43,"speed":8,"hex_longitude":"2d34c600","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-04 23:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867643136001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031362633334784,"note":"Value kept but may cause issues"} 
[2026-09-04 23:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522742272,"note":"Value kept but may cause issues"} 
[2026-09-04 23:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788545492000,"timestamp_ms":1788545492000,"timestamp_seconds":1788545492,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9e6420"} 
[2026-09-04 23:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-04 23:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867643136001,"66":27484,"97":206,"81":23296,"24":8,"16":399031362633334784,"45":3802304751522742272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867643136001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:44:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:44:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031362633334784,"km_value":399031362633334.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522742272,"description":"Unknown IO ID 45"} 
[2026-09-04 23:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867643136001,"power":27484,"unknown_97":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":3802304751522742272}} 
[2026-09-04 23:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":173840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:44:04] local.INFO: GPS data processed {"connection_id":173840,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:44:04] local.INFO: Acknowledgment sent {"connection_id":173840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:44:26] local.INFO: TCP Data received {"connection_id":171446,"ip":"117.224.161.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9ea688012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9ea688012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:44:26] local.INFO: Processing buffer {"connection_id":171446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9ea688012d34c3c006aa48380009010f28..."} 
[2026-09-04 23:44:26] local.INFO: Packet analysis {"connection_id":171446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:44:26] local.INFO: Extracted packet for processing {"connection_id":171446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:44:26] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822904,"longitude_deg":75.8432704,"latitude_deg":11.1822904,"altitude":9,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4838","is_valid_coordinates":true} 
[2026-09-04 23:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867573248001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467404110954496,"note":"Value kept but may cause issues"} 
[2026-09-04 23:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290027008,"note":"Value kept but may cause issues"} 
[2026-09-04 23:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788545509000,"timestamp_ms":1788545509000,"timestamp_seconds":1788545509,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9ea688"} 
[2026-09-04 23:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-04 23:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-04 23:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.161.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-04 23:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-04 23:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867573248001,"66":25462,"106":206,"28":21760,"24":0,"16":467404110954496,"45":3802093645290027008},"client_ip":"117.224.161.6","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-09-04 23:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-04 23:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-04 23:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867573248001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:44:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-04 23:44:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-04 23:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467404110954496,"km_value":467404110954.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290027008,"description":"Unknown IO ID 45"} 
[2026-09-04 23:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867573248001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290027008}} 
[2026-09-04 23:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":171446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766181,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:44:26] local.INFO: GPS data processed {"connection_id":171446,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:44:26] local.INFO: Acknowledgment sent {"connection_id":171446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:44:35] local.INFO: TCP Data received {"connection_id":173840,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9e6808012d34c5c006aa42a8000800c92b..."} 
[2026-09-04 23:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9e6808012d34c5c006aa42a8000800c92b..."} 
[2026-09-04 23:44:35] local.INFO: Processing buffer {"connection_id":173840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9e6808012d34c5c006aa42a8000800c92b..."} 
[2026-09-04 23:44:35] local.INFO: Packet analysis {"connection_id":173840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:44:35] local.INFO: Extracted packet for processing {"connection_id":173840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111821480,"longitude_deg":75.8433216,"latitude_deg":11.182148,"altitude":8,"angle":201,"satellites":43,"speed":6,"hex_longitude":"2d34c5c0","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867645952001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031371223269376,"note":"Value kept but may cause issues"} 
[2026-09-04 23:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987308544,"note":"Value kept but may cause issues"} 
[2026-09-04 23:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788545493000,"timestamp_ms":1788545493000,"timestamp_seconds":1788545493,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9e6808"} 
[2026-09-04 23:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-04 23:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867645952001,"66":27310,"97":206,"81":23296,"24":6,"16":399031371223269376,"45":3802726963987308544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867645952001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:44:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031371223269376,"km_value":399031371223269.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987308544,"description":"Unknown IO ID 45"} 
[2026-09-04 23:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867645952001,"power":27310,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802726963987308544}} 
[2026-09-04 23:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":173840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:44:35] local.INFO: GPS data processed {"connection_id":173840,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:44:35] local.INFO: Acknowledgment sent {"connection_id":173840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:45:03] local.INFO: TCP Data received {"connection_id":171149,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:45:03] local.INFO: Processing buffer {"connection_id":171149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:45:03] local.INFO: IMEI packet received {"connection_id":171149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":171149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:45:08] local.INFO: TCP Data received {"connection_id":171149,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:45:08] local.INFO: Processing buffer {"connection_id":171149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:45:08] local.INFO: IMEI packet received {"connection_id":171149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":171149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:45:09] local.INFO: TCP Data received {"connection_id":171149,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9e6fd8012d34c58006aa41b0000800df2a..."} 
[2026-09-04 23:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9e6fd8012d34c58006aa41b0000800df2a..."} 
[2026-09-04 23:45:09] local.INFO: Processing buffer {"connection_id":171149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9e6fd8012d34c58006aa41b0000800df2a..."} 
[2026-09-04 23:45:09] local.INFO: Packet analysis {"connection_id":171149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:45:09] local.INFO: Extracted packet for processing {"connection_id":171149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821232,"longitude_deg":75.8433152,"latitude_deg":11.1821232,"altitude":8,"angle":223,"satellites":42,"speed":6,"hex_longitude":"2d34c580","hex_latitude":"06aa41b0","is_valid_coordinates":true} 
[2026-09-04 23:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867646208001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031384108171264,"note":"Value kept but may cause issues"} 
[2026-09-04 23:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243083776,"note":"Value kept but may cause issues"} 
[2026-09-04 23:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788545495000,"timestamp_ms":1788545495000,"timestamp_seconds":1788545495,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9e6fd8"} 
[2026-09-04 23:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-04 23:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867646208001,"66":27213,"97":206,"81":23296,"24":6,"16":399031384108171264,"45":3802656595243083776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867646208001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031384108171264,"km_value":399031384108171.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243083776,"description":"Unknown IO ID 45"} 
[2026-09-04 23:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867646208001,"power":27213,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802656595243083776}} 
[2026-09-04 23:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":171149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:45:09] local.INFO: GPS data processed {"connection_id":171149,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:45:09] local.INFO: Acknowledgment sent {"connection_id":171149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:45:13] local.INFO: TCP Data received {"connection_id":171149,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9e73c0012d34c50006aa4150000800ec2a..."} 
[2026-09-04 23:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9e73c0012d34c50006aa4150000800ec2a..."} 
[2026-09-04 23:45:13] local.INFO: Processing buffer {"connection_id":171149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9e73c0012d34c50006aa4150000800ec2a..."} 
[2026-09-04 23:45:13] local.INFO: Packet analysis {"connection_id":171149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:45:13] local.INFO: Extracted packet for processing {"connection_id":171149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821136,"longitude_deg":75.8433024,"latitude_deg":11.1821136,"altitude":8,"angle":236,"satellites":42,"speed":6,"hex_longitude":"2d34c500","hex_latitude":"06aa4150","is_valid_coordinates":true} 
[2026-09-04 23:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867646720001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031392698105856,"note":"Value kept but may cause issues"} 
[2026-09-04 23:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498842624,"note":"Value kept but may cause issues"} 
[2026-09-04 23:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788545496000,"timestamp_ms":1788545496000,"timestamp_seconds":1788545496,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9e73c0"} 
[2026-09-04 23:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 23:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867646720001,"66":27213,"97":206,"81":23296,"24":6,"16":399031392698105856,"45":3802586226498842624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867646720001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:45:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031392698105856,"km_value":399031392698105.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498842624,"description":"Unknown IO ID 45"} 
[2026-09-04 23:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867646720001,"power":27213,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802586226498842624}} 
[2026-09-04 23:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":171149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:45:13] local.INFO: GPS data processed {"connection_id":171149,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:45:13] local.INFO: Acknowledgment sent {"connection_id":171149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:45:58] local.INFO: TCP Data received {"connection_id":171150,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:45:58] local.INFO: Processing buffer {"connection_id":171150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:45:58] local.INFO: IMEI packet received {"connection_id":171150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":171150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:46:03] local.INFO: TCP Data received {"connection_id":171150,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:46:03] local.INFO: Processing buffer {"connection_id":171150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:46:03] local.INFO: IMEI packet received {"connection_id":171150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":171150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:46:04] local.INFO: TCP Data received {"connection_id":171150,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9e77a8012d34c44006aa40f8000800fb2b..."} 
[2026-09-04 23:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9e77a8012d34c44006aa40f8000800fb2b..."} 
[2026-09-04 23:46:04] local.INFO: Processing buffer {"connection_id":171150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9e77a8012d34c44006aa40f8000800fb2b..."} 
[2026-09-04 23:46:04] local.INFO: Packet analysis {"connection_id":171150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:46:04] local.INFO: Extracted packet for processing {"connection_id":171150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821048,"longitude_deg":75.8432832,"latitude_deg":11.1821048,"altitude":8,"angle":251,"satellites":43,"speed":7,"hex_longitude":"2d34c440","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-04 23:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867646976001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031401288040448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010462720,"note":"Value kept but may cause issues"} 
[2026-09-04 23:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788545497000,"timestamp_ms":1788545497000,"timestamp_seconds":1788545497,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9e77a8"} 
[2026-09-04 23:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-04 23:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867646976001,"66":27441,"97":206,"81":23296,"24":7,"16":399031401288040448,"45":3802445489010462720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867646976001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:46:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031401288040448,"km_value":399031401288040.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010462720,"description":"Unknown IO ID 45"} 
[2026-09-04 23:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867646976001,"power":27441,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3802445489010462720}} 
[2026-09-04 23:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":171150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:46:04] local.INFO: GPS data processed {"connection_id":171150,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:46:04] local.INFO: Acknowledgment sent {"connection_id":171150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:46:35] local.INFO: TCP Data received {"connection_id":171150,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9e7b90012d34c3c006aa40d8000801072b..."} 
[2026-09-04 23:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9e7b90012d34c3c006aa40d8000801072b..."} 
[2026-09-04 23:46:35] local.INFO: Processing buffer {"connection_id":171150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9e7b90012d34c3c006aa40d8000801072b..."} 
[2026-09-04 23:46:35] local.INFO: Packet analysis {"connection_id":171150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:46:35] local.INFO: Extracted packet for processing {"connection_id":171150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821016,"longitude_deg":75.8432704,"latitude_deg":11.1821016,"altitude":8,"angle":263,"satellites":43,"speed":6,"hex_longitude":"2d34c3c0","hex_latitude":"06aa40d8","is_valid_coordinates":true} 
[2026-09-04 23:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867647232001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031409877975040,"note":"Value kept but may cause issues"} 
[2026-09-04 23:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777907200,"note":"Value kept but may cause issues"} 
[2026-09-04 23:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788545498000,"timestamp_ms":1788545498000,"timestamp_seconds":1788545498,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9e7b90"} 
[2026-09-04 23:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-04 23:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867647232001,"66":27441,"97":206,"81":23296,"24":6,"16":399031409877975040,"45":3802234382777907200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867647232001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:46:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031409877975040,"km_value":399031409877975.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777907200,"description":"Unknown IO ID 45"} 
[2026-09-04 23:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867647232001,"power":27441,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802234382777907200}} 
[2026-09-04 23:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":171150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:46:35] local.INFO: GPS data processed {"connection_id":171150,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:46:35] local.INFO: Acknowledgment sent {"connection_id":171150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:46:58] local.INFO: TCP Data received {"connection_id":171447,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:46:58] local.INFO: Processing buffer {"connection_id":171447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:46:58] local.INFO: IMEI packet received {"connection_id":171447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":171447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:47:03] local.INFO: TCP Data received {"connection_id":171447,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:47:03] local.INFO: Processing buffer {"connection_id":171447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:47:03] local.INFO: IMEI packet received {"connection_id":171447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":171447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:47:04] local.INFO: TCP Data received {"connection_id":171447,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9e8360012d34c24006aa41100008011f2b..."} 
[2026-09-04 23:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9e8360012d34c24006aa41100008011f2b..."} 
[2026-09-04 23:47:04] local.INFO: Processing buffer {"connection_id":171447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9e8360012d34c24006aa41100008011f2b..."} 
[2026-09-04 23:47:04] local.INFO: Packet analysis {"connection_id":171447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:47:04] local.INFO: Extracted packet for processing {"connection_id":171447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821072,"longitude_deg":75.843232,"latitude_deg":11.1821072,"altitude":8,"angle":287,"satellites":43,"speed":6,"hex_longitude":"2d34c240","hex_latitude":"06aa4110","is_valid_coordinates":true} 
[2026-09-04 23:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867647488001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031427057844224,"note":"Value kept but may cause issues"} 
[2026-09-04 23:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289543680,"note":"Value kept but may cause issues"} 
[2026-09-04 23:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788545500000,"timestamp_ms":1788545500000,"timestamp_seconds":1788545500,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9e8360"} 
[2026-09-04 23:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-04 23:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867647488001,"66":27463,"97":206,"81":23296,"24":6,"16":399031427057844224,"45":3802093645289543680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867647488001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:47:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031427057844224,"km_value":399031427057844.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289543680,"description":"Unknown IO ID 45"} 
[2026-09-04 23:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867647488001,"power":27463,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802093645289543680}} 
[2026-09-04 23:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":171447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:47:04] local.INFO: GPS data processed {"connection_id":171447,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:47:04] local.INFO: Acknowledgment sent {"connection_id":171447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:47:35] local.INFO: TCP Data received {"connection_id":171447,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9ed568012d34c44006aa42d00007011f2b..."} 
[2026-09-04 23:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9ed568012d34c44006aa42d00007011f2b..."} 
[2026-09-04 23:47:35] local.INFO: Processing buffer {"connection_id":171447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9ed568012d34c44006aa42d00007011f2b..."} 
[2026-09-04 23:47:35] local.INFO: Packet analysis {"connection_id":171447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:47:35] local.INFO: Extracted packet for processing {"connection_id":171447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9e"} 
[2026-09-04 23:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821520,"longitude_deg":75.8432832,"latitude_deg":11.182152,"altitude":7,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa42d0","is_valid_coordinates":true} 
[2026-09-04 23:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867648000001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031482892419072,"note":"Value kept but may cause issues"} 
[2026-09-04 23:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824492032,"note":"Value kept but may cause issues"} 
[2026-09-04 23:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788545521000,"timestamp_ms":1788545521000,"timestamp_seconds":1788545521,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9ed568"} 
[2026-09-04 23:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-04 23:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867648000001,"66":27343,"97":206,"81":23296,"24":0,"16":399031482892419072,"45":3801671432824492032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867648000001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031482892419072,"km_value":399031482892419.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824492032,"description":"Unknown IO ID 45"} 
[2026-09-04 23:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867648000001,"power":27343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824492032}} 
[2026-09-04 23:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":171447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:47:35] local.INFO: GPS data processed {"connection_id":171447,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:47:35] local.INFO: Acknowledgment sent {"connection_id":171447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:47:58] local.INFO: TCP Data received {"connection_id":171448,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:47:58] local.INFO: Processing buffer {"connection_id":171448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:47:58] local.INFO: IMEI packet received {"connection_id":171448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":171448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:47:59] local.INFO: TCP Data received {"connection_id":171448,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:47:59] local.INFO: Processing buffer {"connection_id":171448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:47:59] local.INFO: IMEI packet received {"connection_id":171448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":171448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:48:03] local.INFO: TCP Data received {"connection_id":171448,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:48:03] local.INFO: Processing buffer {"connection_id":171448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:48:03] local.INFO: IMEI packet received {"connection_id":171448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":171448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:48:05] local.INFO: TCP Data received {"connection_id":171448,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06d9f17d0012d34c50006aa42e00007011f2a..."} 
[2026-09-04 23:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06d9f17d0012d34c50006aa42e00007011f2a..."} 
[2026-09-04 23:48:05] local.INFO: Processing buffer {"connection_id":171448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06d9f17d0012d34c50006aa42e00007011f2a..."} 
[2026-09-04 23:48:05] local.INFO: Packet analysis {"connection_id":171448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06d9f"} 
[2026-09-04 23:48:05] local.INFO: Extracted packet for processing {"connection_id":171448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06d9f"} 
[2026-09-04 23:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821536,"longitude_deg":75.8433024,"latitude_deg":11.1821536,"altitude":7,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa42e0","is_valid_coordinates":true} 
[2026-09-04 23:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867653376001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778028032,"note":"Value kept but may cause issues"} 
[2026-09-04 23:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788545538000,"timestamp_ms":1788545538000,"timestamp_seconds":1788545538,"priority":1,"record_length":96,"hex_timestamp":"000001a06d9f17d0"} 
[2026-09-04 23:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-04 23:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-04 23:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867653376001,"66":27767,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802234382778028032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867653376001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:48:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778028032,"description":"Unknown IO ID 45"} 
[2026-09-04 23:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867653376001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382778028032}} 
[2026-09-04 23:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":171448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:48:05] local.INFO: GPS data processed {"connection_id":171448,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:48:05] local.INFO: Acknowledgment sent {"connection_id":171448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:48:36] local.INFO: TCP Data received {"connection_id":171448,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:48:36] local.INFO: Processing buffer {"connection_id":171448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:48:36] local.INFO: Packet analysis {"connection_id":171448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:48:36] local.INFO: Extracted packet for processing {"connection_id":171448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867657728001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:48:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010565120,"note":"Value kept but may cause issues"} 
[2026-09-04 23:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788545845000,"timestamp_ms":1788545845000,"timestamp_seconds":1788545845,"priority":1,"record_length":96,"hex_timestamp":"000001a06da3c708"} 
[2026-09-04 23:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 23:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867657728001,"66":26408,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802445489010565120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867657728001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010565120,"description":"Unknown IO ID 45"} 
[2026-09-04 23:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867657728001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010565120}} 
[2026-09-04 23:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":171448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:48:37] local.INFO: GPS data processed {"connection_id":171448,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:48:37] local.INFO: Acknowledgment sent {"connection_id":171448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:48:58] local.INFO: TCP Data received {"connection_id":171151,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:48:58] local.INFO: Processing buffer {"connection_id":171151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:48:58] local.INFO: IMEI packet received {"connection_id":171151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":171151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:49:03] local.INFO: TCP Data received {"connection_id":171151,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:49:03] local.INFO: Processing buffer {"connection_id":171151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:49:03] local.INFO: IMEI packet received {"connection_id":171151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":171151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:49:04] local.INFO: TCP Data received {"connection_id":171151,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:49:04] local.INFO: Processing buffer {"connection_id":171151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:49:04] local.INFO: Packet analysis {"connection_id":171151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:49:04] local.INFO: Extracted packet for processing {"connection_id":171151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867657728001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:49:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010565120,"note":"Value kept but may cause issues"} 
[2026-09-04 23:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788545845000,"timestamp_ms":1788545845000,"timestamp_seconds":1788545845,"priority":1,"record_length":96,"hex_timestamp":"000001a06da3c708"} 
[2026-09-04 23:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 23:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867657728001,"66":26408,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802445489010565120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867657728001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010565120,"description":"Unknown IO ID 45"} 
[2026-09-04 23:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867657728001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010565120}} 
[2026-09-04 23:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":171151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:49:04] local.INFO: GPS data processed {"connection_id":171151,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:49:04] local.INFO: Acknowledgment sent {"connection_id":171151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:49:35] local.INFO: TCP Data received {"connection_id":171151,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:49:35] local.INFO: Processing buffer {"connection_id":171151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:49:35] local.INFO: Packet analysis {"connection_id":171151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:49:35] local.INFO: Extracted packet for processing {"connection_id":171151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867657728001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:49:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010565120,"note":"Value kept but may cause issues"} 
[2026-09-04 23:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788545845000,"timestamp_ms":1788545845000,"timestamp_seconds":1788545845,"priority":1,"record_length":96,"hex_timestamp":"000001a06da3c708"} 
[2026-09-04 23:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 23:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867657728001,"66":26408,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802445489010565120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867657728001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010565120,"description":"Unknown IO ID 45"} 
[2026-09-04 23:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867657728001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010565120}} 
[2026-09-04 23:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":171151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:49:35] local.INFO: GPS data processed {"connection_id":171151,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:49:35] local.INFO: Acknowledgment sent {"connection_id":171151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:49:48] local.INFO: TCP Data received {"connection_id":171449,"ip":"117.224.154.213","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:49:48] local.INFO: Processing buffer {"connection_id":171449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-04 23:49:48] local.INFO: IMEI packet received {"connection_id":171449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-04 23:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":171449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:50:03] local.INFO: TCP Data received {"connection_id":171152,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:50:03] local.INFO: Processing buffer {"connection_id":171152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:50:03] local.INFO: IMEI packet received {"connection_id":171152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":171152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:50:08] local.INFO: TCP Data received {"connection_id":171152,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:50:08] local.INFO: Processing buffer {"connection_id":171152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:50:08] local.INFO: IMEI packet received {"connection_id":171152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":171152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:50:09] local.INFO: TCP Data received {"connection_id":171152,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:50:09] local.INFO: Processing buffer {"connection_id":171152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:50:09] local.INFO: Packet analysis {"connection_id":171152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:50:09] local.INFO: Extracted packet for processing {"connection_id":171152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867657728001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:50:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010565120,"note":"Value kept but may cause issues"} 
[2026-09-04 23:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788545845000,"timestamp_ms":1788545845000,"timestamp_seconds":1788545845,"priority":1,"record_length":96,"hex_timestamp":"000001a06da3c708"} 
[2026-09-04 23:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 23:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867657728001,"66":26408,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802445489010565120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867657728001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010565120,"description":"Unknown IO ID 45"} 
[2026-09-04 23:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867657728001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010565120}} 
[2026-09-04 23:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":171152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:50:09] local.INFO: GPS data processed {"connection_id":171152,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:50:09] local.INFO: Acknowledgment sent {"connection_id":171152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:50:14] local.INFO: TCP Data received {"connection_id":171152,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:50:14] local.INFO: Processing buffer {"connection_id":171152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:50:14] local.INFO: Packet analysis {"connection_id":171152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:50:14] local.INFO: Extracted packet for processing {"connection_id":171152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867657728001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:50:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010565120,"note":"Value kept but may cause issues"} 
[2026-09-04 23:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788545845000,"timestamp_ms":1788545845000,"timestamp_seconds":1788545845,"priority":1,"record_length":96,"hex_timestamp":"000001a06da3c708"} 
[2026-09-04 23:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 23:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867657728001,"66":26408,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802445489010565120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867657728001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010565120,"description":"Unknown IO ID 45"} 
[2026-09-04 23:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867657728001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010565120}} 
[2026-09-04 23:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":171152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:50:14] local.INFO: GPS data processed {"connection_id":171152,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:50:14] local.INFO: Acknowledgment sent {"connection_id":171152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:50:58] local.INFO: TCP Data received {"connection_id":171450,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:50:58] local.INFO: Processing buffer {"connection_id":171450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:50:58] local.INFO: IMEI packet received {"connection_id":171450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":171450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:51:03] local.INFO: TCP Data received {"connection_id":171450,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:51:03] local.INFO: Processing buffer {"connection_id":171450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:51:03] local.INFO: IMEI packet received {"connection_id":171450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":171450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:51:04] local.INFO: TCP Data received {"connection_id":171450,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:51:04] local.INFO: Processing buffer {"connection_id":171450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:51:04] local.INFO: Packet analysis {"connection_id":171450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:51:04] local.INFO: Extracted packet for processing {"connection_id":171450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867657728001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:51:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010565120,"note":"Value kept but may cause issues"} 
[2026-09-04 23:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788545845000,"timestamp_ms":1788545845000,"timestamp_seconds":1788545845,"priority":1,"record_length":96,"hex_timestamp":"000001a06da3c708"} 
[2026-09-04 23:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 23:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867657728001,"66":26408,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802445489010565120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867657728001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:51:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010565120,"description":"Unknown IO ID 45"} 
[2026-09-04 23:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867657728001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010565120}} 
[2026-09-04 23:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":171450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:51:04] local.INFO: GPS data processed {"connection_id":171450,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:51:04] local.INFO: Acknowledgment sent {"connection_id":171450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:51:09] local.INFO: TCP Data received {"connection_id":171450,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:51:09] local.INFO: Processing buffer {"connection_id":171450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:51:09] local.INFO: Packet analysis {"connection_id":171450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:51:09] local.INFO: Extracted packet for processing {"connection_id":171450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867657728001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:51:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010565120,"note":"Value kept but may cause issues"} 
[2026-09-04 23:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788545845000,"timestamp_ms":1788545845000,"timestamp_seconds":1788545845,"priority":1,"record_length":96,"hex_timestamp":"000001a06da3c708"} 
[2026-09-04 23:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 23:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867657728001,"66":26408,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802445489010565120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867657728001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010565120,"description":"Unknown IO ID 45"} 
[2026-09-04 23:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867657728001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010565120}} 
[2026-09-04 23:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":171450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:51:09] local.INFO: GPS data processed {"connection_id":171450,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:51:09] local.INFO: Acknowledgment sent {"connection_id":171450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:51:40] local.INFO: TCP Data received {"connection_id":171450,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:51:40] local.INFO: Processing buffer {"connection_id":171450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:51:40] local.INFO: Packet analysis {"connection_id":171450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:51:40] local.INFO: Extracted packet for processing {"connection_id":171450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:51:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867657728001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:51:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010565120,"note":"Value kept but may cause issues"} 
[2026-09-04 23:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788545845000,"timestamp_ms":1788545845000,"timestamp_seconds":1788545845,"priority":1,"record_length":96,"hex_timestamp":"000001a06da3c708"} 
[2026-09-04 23:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 23:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867657728001,"66":26408,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802445489010565120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867657728001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:51:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010565120,"description":"Unknown IO ID 45"} 
[2026-09-04 23:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867657728001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010565120}} 
[2026-09-04 23:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":171450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:51:40] local.INFO: GPS data processed {"connection_id":171450,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:51:40] local.INFO: Acknowledgment sent {"connection_id":171450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:52:01] local.INFO: TCP Data received {"connection_id":171451,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:52:01] local.INFO: Processing buffer {"connection_id":171451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:52:01] local.INFO: IMEI packet received {"connection_id":171451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":171451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:52:03] local.INFO: TCP Data received {"connection_id":171451,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:52:03] local.INFO: Processing buffer {"connection_id":171451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:52:03] local.INFO: IMEI packet received {"connection_id":171451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":171451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:52:03] local.INFO: TCP Data received {"connection_id":171451,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:52:03] local.INFO: Processing buffer {"connection_id":171451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:52:03] local.INFO: Packet analysis {"connection_id":171451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:52:03] local.INFO: Extracted packet for processing {"connection_id":171451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867657728001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:52:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010565120,"note":"Value kept but may cause issues"} 
[2026-09-04 23:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788545845000,"timestamp_ms":1788545845000,"timestamp_seconds":1788545845,"priority":1,"record_length":96,"hex_timestamp":"000001a06da3c708"} 
[2026-09-04 23:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 23:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867657728001,"66":26408,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802445489010565120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867657728001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010565120,"description":"Unknown IO ID 45"} 
[2026-09-04 23:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867657728001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010565120}} 
[2026-09-04 23:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":171451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:52:04] local.INFO: GPS data processed {"connection_id":171451,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:52:04] local.INFO: Acknowledgment sent {"connection_id":171451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:52:08] local.INFO: TCP Data received {"connection_id":171451,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:52:08] local.INFO: Processing buffer {"connection_id":171451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:52:08] local.INFO: Packet analysis {"connection_id":171451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:52:08] local.INFO: Extracted packet for processing {"connection_id":171451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867657728001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:52:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010565120,"note":"Value kept but may cause issues"} 
[2026-09-04 23:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788545845000,"timestamp_ms":1788545845000,"timestamp_seconds":1788545845,"priority":1,"record_length":96,"hex_timestamp":"000001a06da3c708"} 
[2026-09-04 23:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 23:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867657728001,"66":26408,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802445489010565120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867657728001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010565120,"description":"Unknown IO ID 45"} 
[2026-09-04 23:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867657728001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010565120}} 
[2026-09-04 23:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":171451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:52:08] local.INFO: GPS data processed {"connection_id":171451,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:52:08] local.INFO: Acknowledgment sent {"connection_id":171451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:52:40] local.INFO: TCP Data received {"connection_id":171451,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:52:40] local.INFO: Processing buffer {"connection_id":171451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da3c708012d34c54006aa42a80009011f21..."} 
[2026-09-04 23:52:40] local.INFO: Packet analysis {"connection_id":171451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:52:40] local.INFO: Extracted packet for processing {"connection_id":171451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da3"} 
[2026-09-04 23:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867657728001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:52:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010565120,"note":"Value kept but may cause issues"} 
[2026-09-04 23:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788545845000,"timestamp_ms":1788545845000,"timestamp_seconds":1788545845,"priority":1,"record_length":96,"hex_timestamp":"000001a06da3c708"} 
[2026-09-04 23:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-04 23:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867657728001,"66":26408,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802445489010565120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867657728001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:52:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010565120,"description":"Unknown IO ID 45"} 
[2026-09-04 23:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867657728001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010565120}} 
[2026-09-04 23:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":171451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:52:40] local.INFO: GPS data processed {"connection_id":171451,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:52:40] local.INFO: Acknowledgment sent {"connection_id":171451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:52:58] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:52:58] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:52:58] local.INFO: IMEI packet received {"connection_id":173841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":173841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:53:00] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:53:00] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:53:00] local.INFO: IMEI packet received {"connection_id":173841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":173841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:53:04] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:53:04] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:53:04] local.INFO: IMEI packet received {"connection_id":173841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":173841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:53:04] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:53:05] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:53:05] local.INFO: Packet analysis {"connection_id":173841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:53:05] local.INFO: Extracted packet for processing {"connection_id":173841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867736320001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:53:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788546149000,"timestamp_ms":1788546149000,"timestamp_seconds":1788546149,"priority":1,"record_length":96,"hex_timestamp":"000001a06da86a88"} 
[2026-09-04 23:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-04 23:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867736320001,"66":26180,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867736320001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867736320001,"power":26180,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":173841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:53:05] local.INFO: GPS data processed {"connection_id":173841,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:53:05] local.INFO: Acknowledgment sent {"connection_id":173841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:53:08] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:53:08] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:53:08] local.INFO: Packet analysis {"connection_id":173841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:53:08] local.INFO: Extracted packet for processing {"connection_id":173841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867736320001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:53:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788546149000,"timestamp_ms":1788546149000,"timestamp_seconds":1788546149,"priority":1,"record_length":96,"hex_timestamp":"000001a06da86a88"} 
[2026-09-04 23:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-04 23:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867736320001,"66":26180,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867736320001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867736320001,"power":26180,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":173841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:53:08] local.INFO: GPS data processed {"connection_id":173841,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:53:08] local.INFO: Acknowledgment sent {"connection_id":173841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:53:40] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:53:40] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:53:40] local.INFO: Packet analysis {"connection_id":173841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:53:40] local.INFO: Extracted packet for processing {"connection_id":173841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:53:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867736320001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:53:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788546149000,"timestamp_ms":1788546149000,"timestamp_seconds":1788546149,"priority":1,"record_length":96,"hex_timestamp":"000001a06da86a88"} 
[2026-09-04 23:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-04 23:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867736320001,"66":26180,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867736320001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:53:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867736320001,"power":26180,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":173841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:53:40] local.INFO: GPS data processed {"connection_id":173841,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:53:40] local.INFO: Acknowledgment sent {"connection_id":173841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:53:58] local.INFO: TCP Data received {"connection_id":171452,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:53:58] local.INFO: Processing buffer {"connection_id":171452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:53:58] local.INFO: IMEI packet received {"connection_id":171452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":171452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:54:03] local.INFO: TCP Data received {"connection_id":171452,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:54:03] local.INFO: Processing buffer {"connection_id":171452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:54:03] local.INFO: IMEI packet received {"connection_id":171452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":171452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:54:04] local.INFO: TCP Data received {"connection_id":171452,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:54:04] local.INFO: Processing buffer {"connection_id":171452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:54:04] local.INFO: Packet analysis {"connection_id":171452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:54:04] local.INFO: Extracted packet for processing {"connection_id":171452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:54:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867736320001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:54:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788546149000,"timestamp_ms":1788546149000,"timestamp_seconds":1788546149,"priority":1,"record_length":96,"hex_timestamp":"000001a06da86a88"} 
[2026-09-04 23:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-04 23:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867736320001,"66":26180,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867736320001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:54:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867736320001,"power":26180,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":171452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:54:04] local.INFO: GPS data processed {"connection_id":171452,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:54:04] local.INFO: Acknowledgment sent {"connection_id":171452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:54:36] local.INFO: TCP Data received {"connection_id":171452,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:54:36] local.INFO: Processing buffer {"connection_id":171452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:54:36] local.INFO: Packet analysis {"connection_id":171452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:54:36] local.INFO: Extracted packet for processing {"connection_id":171452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867736320001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:54:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788546149000,"timestamp_ms":1788546149000,"timestamp_seconds":1788546149,"priority":1,"record_length":96,"hex_timestamp":"000001a06da86a88"} 
[2026-09-04 23:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-04 23:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867736320001,"66":26180,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867736320001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867736320001,"power":26180,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":171452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:54:36] local.INFO: GPS data processed {"connection_id":171452,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:54:36] local.INFO: Acknowledgment sent {"connection_id":171452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:55:03] local.INFO: TCP Data received {"connection_id":171153,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:55:03] local.INFO: Processing buffer {"connection_id":171153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:55:03] local.INFO: IMEI packet received {"connection_id":171153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":171153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:55:08] local.INFO: TCP Data received {"connection_id":171153,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:55:08] local.INFO: Processing buffer {"connection_id":171153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:55:08] local.INFO: IMEI packet received {"connection_id":171153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":171153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:55:09] local.INFO: TCP Data received {"connection_id":171153,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:55:09] local.INFO: Processing buffer {"connection_id":171153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:55:09] local.INFO: Packet analysis {"connection_id":171153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:55:09] local.INFO: Extracted packet for processing {"connection_id":171153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867736320001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:55:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788546149000,"timestamp_ms":1788546149000,"timestamp_seconds":1788546149,"priority":1,"record_length":96,"hex_timestamp":"000001a06da86a88"} 
[2026-09-04 23:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-04 23:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867736320001,"66":26180,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867736320001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867736320001,"power":26180,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":171153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:55:09] local.INFO: GPS data processed {"connection_id":171153,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:55:09] local.INFO: Acknowledgment sent {"connection_id":171153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:55:14] local.INFO: TCP Data received {"connection_id":171153,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:55:14] local.INFO: Processing buffer {"connection_id":171153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:55:14] local.INFO: Packet analysis {"connection_id":171153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:55:14] local.INFO: Extracted packet for processing {"connection_id":171153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867736320001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:55:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788546149000,"timestamp_ms":1788546149000,"timestamp_seconds":1788546149,"priority":1,"record_length":96,"hex_timestamp":"000001a06da86a88"} 
[2026-09-04 23:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-04 23:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867736320001,"66":26180,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867736320001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:55:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867736320001,"power":26180,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":171153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:55:14] local.INFO: GPS data processed {"connection_id":171153,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:55:14] local.INFO: Acknowledgment sent {"connection_id":171153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:55:58] local.INFO: TCP Data received {"connection_id":173842,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:55:58] local.INFO: Processing buffer {"connection_id":173842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:55:58] local.INFO: IMEI packet received {"connection_id":173842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":173842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:56:03] local.INFO: TCP Data received {"connection_id":173842,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:56:03] local.INFO: Processing buffer {"connection_id":173842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:56:03] local.INFO: IMEI packet received {"connection_id":173842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":173842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:56:04] local.INFO: TCP Data received {"connection_id":173842,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:56:04] local.INFO: Processing buffer {"connection_id":173842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:56:04] local.INFO: Packet analysis {"connection_id":173842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:56:04] local.INFO: Extracted packet for processing {"connection_id":173842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867736320001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:56:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788546149000,"timestamp_ms":1788546149000,"timestamp_seconds":1788546149,"priority":1,"record_length":96,"hex_timestamp":"000001a06da86a88"} 
[2026-09-04 23:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-04 23:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867736320001,"66":26180,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867736320001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:56:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867736320001,"power":26180,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":173842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:56:04] local.INFO: GPS data processed {"connection_id":173842,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:56:04] local.INFO: Acknowledgment sent {"connection_id":173842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:56:20] local.INFO: TCP Data received {"connection_id":172555,"ip":"94.26.68.90","data_length":43,"data_hex":"0300002b26e00000000000436f6f6b69653a206d737473686173683d68656c6c..."} 
[2026-09-04 23:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172555,"packet_length":43,"packet_hex":"0300002b26e00000000000436f6f6b69653a206d737473686173683d68656c6c..."} 
[2026-09-04 23:56:20] local.INFO: Processing buffer {"connection_id":172555,"buffer_length":43,"buffer_hex":"0300002b26e00000000000436f6f6b69653a206d737473686173683d68656c6c..."} 
[2026-09-04 23:56:20] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":172555,"buffer_length":43,"first_bytes_hex":"0300002b26e00000000000436f6f6b69"} 
[2026-09-04 23:56:35] local.INFO: TCP Data received {"connection_id":173842,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:56:35] local.INFO: Processing buffer {"connection_id":173842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:56:35] local.INFO: Packet analysis {"connection_id":173842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:56:35] local.INFO: Extracted packet for processing {"connection_id":173842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867736320001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:56:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788546149000,"timestamp_ms":1788546149000,"timestamp_seconds":1788546149,"priority":1,"record_length":96,"hex_timestamp":"000001a06da86a88"} 
[2026-09-04 23:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-04 23:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867736320001,"66":26180,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867736320001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:56:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867736320001,"power":26180,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":173842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:56:35] local.INFO: GPS data processed {"connection_id":173842,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:56:35] local.INFO: Acknowledgment sent {"connection_id":173842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:56:58] local.INFO: TCP Data received {"connection_id":172556,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:56:58] local.INFO: Processing buffer {"connection_id":172556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:56:58] local.INFO: IMEI packet received {"connection_id":172556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":172556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:57:03] local.INFO: TCP Data received {"connection_id":172556,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:57:03] local.INFO: Processing buffer {"connection_id":172556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:57:03] local.INFO: IMEI packet received {"connection_id":172556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":172556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:57:04] local.INFO: TCP Data received {"connection_id":172556,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:57:04] local.INFO: Processing buffer {"connection_id":172556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:57:04] local.INFO: Packet analysis {"connection_id":172556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:57:04] local.INFO: Extracted packet for processing {"connection_id":172556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867736320001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:57:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788546149000,"timestamp_ms":1788546149000,"timestamp_seconds":1788546149,"priority":1,"record_length":96,"hex_timestamp":"000001a06da86a88"} 
[2026-09-04 23:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-04 23:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867736320001,"66":26180,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867736320001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867736320001,"power":26180,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":172556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:57:04] local.INFO: GPS data processed {"connection_id":172556,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:57:04] local.INFO: Acknowledgment sent {"connection_id":172556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:57:35] local.INFO: TCP Data received {"connection_id":172556,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:57:35] local.INFO: Processing buffer {"connection_id":172556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06da86a88012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:57:35] local.INFO: Packet analysis {"connection_id":172556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:57:35] local.INFO: Extracted packet for processing {"connection_id":172556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06da8"} 
[2026-09-04 23:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867736320001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:57:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-04 23:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-04 23:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788546149000,"timestamp_ms":1788546149000,"timestamp_seconds":1788546149,"priority":1,"record_length":96,"hex_timestamp":"000001a06da86a88"} 
[2026-09-04 23:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-04 23:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867736320001,"66":26180,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-04 23:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867736320001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867736320001,"power":26180,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":172556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:57:35] local.INFO: GPS data processed {"connection_id":172556,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:57:35] local.INFO: Acknowledgment sent {"connection_id":172556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:57:58] local.INFO: TCP Data received {"connection_id":173843,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:57:58] local.INFO: Processing buffer {"connection_id":173843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:57:58] local.INFO: IMEI packet received {"connection_id":173843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":173843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:58:01] local.INFO: TCP Data received {"connection_id":173843,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:58:01] local.INFO: Processing buffer {"connection_id":173843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:58:01] local.INFO: IMEI packet received {"connection_id":173843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":173843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:58:01] local.INFO: TCP Data received {"connection_id":173843,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:58:01] local.INFO: Processing buffer {"connection_id":173843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:58:01] local.INFO: Packet analysis {"connection_id":173843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-04 23:58:01] local.INFO: Extracted packet for processing {"connection_id":173843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-04 23:58:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867814144001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788546443000,"timestamp_ms":1788546443000,"timestamp_seconds":1788546443,"priority":1,"record_length":96,"hex_timestamp":"000001a06dace6f8"} 
[2026-09-04 23:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 23:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867814144001,"66":25995,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867814144001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:58:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:58:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867814144001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":173843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:58:01] local.INFO: GPS data processed {"connection_id":173843,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:58:02] local.INFO: Acknowledgment sent {"connection_id":173843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:58:33] local.INFO: TCP Data received {"connection_id":173843,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:58:33] local.INFO: Processing buffer {"connection_id":173843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:58:33] local.INFO: Packet analysis {"connection_id":173843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-04 23:58:33] local.INFO: Extracted packet for processing {"connection_id":173843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-04 23:58:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867814144001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788546443000,"timestamp_ms":1788546443000,"timestamp_seconds":1788546443,"priority":1,"record_length":96,"hex_timestamp":"000001a06dace6f8"} 
[2026-09-04 23:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 23:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867814144001,"66":25995,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867814144001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:58:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:58:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867814144001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":173843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:58:33] local.INFO: GPS data processed {"connection_id":173843,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:58:33] local.INFO: Acknowledgment sent {"connection_id":173843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:58:58] local.INFO: TCP Data received {"connection_id":171154,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:58:58] local.INFO: Processing buffer {"connection_id":171154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:58:58] local.INFO: IMEI packet received {"connection_id":171154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-04 23:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":171154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-04 23:59:03] local.INFO: TCP Data received {"connection_id":171154,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:59:03] local.INFO: Processing buffer {"connection_id":171154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-04 23:59:03] local.INFO: IMEI packet received {"connection_id":171154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-04 23:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":171154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-04 23:59:03] local.INFO: TCP Data received {"connection_id":171154,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:59:03] local.INFO: Processing buffer {"connection_id":171154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:59:03] local.INFO: Packet analysis {"connection_id":171154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-04 23:59:03] local.INFO: Extracted packet for processing {"connection_id":171154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-04 23:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867814144001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788546443000,"timestamp_ms":1788546443000,"timestamp_seconds":1788546443,"priority":1,"record_length":96,"hex_timestamp":"000001a06dace6f8"} 
[2026-09-04 23:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 23:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867814144001,"66":25995,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867814144001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867814144001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":171154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:59:04] local.INFO: GPS data processed {"connection_id":171154,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:59:04] local.INFO: Acknowledgment sent {"connection_id":171154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-04 23:59:35] local.INFO: TCP Data received {"connection_id":171154,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:59:35] local.INFO: Processing buffer {"connection_id":171154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-04 23:59:35] local.INFO: Packet analysis {"connection_id":171154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-04 23:59:35] local.INFO: Extracted packet for processing {"connection_id":171154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-04 23:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-04 23:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-04 23:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867814144001,"note":"Value kept but may cause issues"} 
[2026-09-04 23:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-04 23:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-04 23:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-04 23:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788546443000,"timestamp_ms":1788546443000,"timestamp_seconds":1788546443,"priority":1,"record_length":96,"hex_timestamp":"000001a06dace6f8"} 
[2026-09-04 23:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-04 23:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-04 23:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-04 23:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-04 23:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-04 23:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-04 23:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-04 23:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-04 23:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-04 23:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-04 23:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-04 23:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-04 23:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867814144001,"66":25995,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-04 23:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-04 23:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-04 23:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867814144001,"description":"Unknown IO ID 0"} 
[2026-09-04 23:59:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-04 23:59:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-04 23:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-04 23:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-04 23:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867814144001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-04 23:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":171154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-04 23:59:35] local.INFO: GPS data processed {"connection_id":171154,"processed":1,"errors":0,"total":1} 
[2026-09-04 23:59:35] local.INFO: Acknowledgment sent {"connection_id":171154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
